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
2012-03-13 19:42:42
Haskell: Couldn't match expected type ``Int' with actual type ``Integer'
[ "haskell" ]
[ "Haskell" ]
One of the most frequent compilation error messages that I've been getting while working through the Project Euler problems in Haskell is the following: [source,text] ---- Couldn't match expected type `Int' with actual type `Integer' ---- In http://projecteuler.net/problem=11[problem 11], for example, I define the grid of numbers like so: [source,haskell] ---- grid = [[08,02,22,97,38,15,00,40,00,75,04,05,07,78,52,12,50,77,91,08], [49,49,99,40,17,81,18,57,60,87,17,40,98,43,69,48,04,56,62,00], [81,49,31,73,55,79,14,29,93,71,40,67,53,88,30,03,49,13,36,65], [52,70,95,23,04,60,11,42,69,24,68,56,01,32,56,71,37,02,36,91], [22,31,16,71,51,67,63,89,41,92,36,54,22,40,40,28,66,33,13,80], [24,47,32,60,99,03,45,02,44,75,33,53,78,36,84,20,35,17,12,50], [32,98,81,28,64,23,67,10,26,38,40,67,59,54,70,66,18,38,64,70], [67,26,20,68,02,62,12,20,95,63,94,39,63,08,40,91,66,49,94,21], [24,55,58,05,66,73,99,26,97,17,78,78,96,83,14,88,34,89,63,72], [21,36,23,09,75,00,76,44,20,45,35,14,00,61,33,97,34,31,33,95], [78,17,53,28,22,75,31,67,15,94,03,80,04,62,16,14,09,53,56,92], [16,39,05,42,96,35,31,47,55,58,88,24,00,17,54,24,36,29,85,57], [86,56,00,48,35,71,89,07,05,44,44,37,44,60,21,58,51,54,17,58], [19,80,81,68,05,94,47,69,28,73,92,13,86,52,17,77,04,89,55,40], [04,52,08,83,97,35,99,16,07,97,57,32,16,26,26,79,33,27,98,66], [88,36,68,87,57,62,20,72,03,46,33,67,46,55,12,32,63,93,53,69], [04,42,16,73,38,25,39,11,24,94,72,18,08,46,29,32,40,62,76,36], [20,69,36,41,72,30,23,88,34,62,99,69,82,67,59,85,74,04,36,16], [20,73,35,29,78,31,90,01,74,31,49,71,48,86,81,16,23,57,05,54], [01,70,54,71,83,51,54,69,16,92,33,48,61,43,52,01,89,19,67,48]] ---- Which has the following type: [source,haskell] ---- > :t grid grid :: [[Integer]] ---- The problem is that I wrote some functions to pass the grid to which expect it to be an array of array of +++<cite>+++Ints+++</cite>+++. For example the following function helps find the diagonals left to right from our current position: [source,haskell] ---- -- implementation of findValue and hasItem isn't relevant here... diagonalAt :: Int -> Int -> [[Int]] -> [Int] diagonalAt x y grid = [findValue x y grid z | z <- [0..(length grid)], hasItem grid (x + z), hasItem (grid !! (x + z)) (y + z)] ---- [source,text] ---- > diagonalAt 0 0 grid Couldn't match expected type `Int' with actual type `Integer' Expected type: [[Int]] Actual type: [[Integer]] In the third argument of `diagonalAt', namely `x' In the expression: diagonalAt 0 0 x ---- But if we give a type definition instead of allowing it to be inferred... [source,haskell] ---- grid :: [[Int]] -- definition of grid as before ---- ...then it will be of the type we want: [source,text] ---- > :t grid grid :: [[Int]] ---- Alternatively we can make use of the +++<cite>+++http://www.haskell.org/haskellwiki/Converting_numbers[fromIntegral]+++</cite>+++ function to convert from +++<cite>+++Integer+++</cite>+++ to +++<cite>+++Int+++</cite>+++ which in this situation leads to the following code: [source,haskell] ---- > diagonalAt 0 0 (map (map fromIntegral) grid) [8,49,31,23,51,3,67,20,97,45,3,24,44,52,26,32,40,4,5,48] ----
null
null
[ 0.0010189987951889634, 0.027884339913725853, -0.044110335409641266, 0.043240923434495926, 0.05218597128987312, 0.049050528556108475, 0.0033660565968602896, 0.01190526969730854, 0.008628157898783684, -0.008539173752069473, 0.0016520832432433963, -0.011914459988474846, -0.07361000031232834, 0.02685028873383999, -0.011995489709079266, 0.06889656186103821, 0.0627131536602974, -0.007183588109910488, -0.023099133744835854, 0.02638428658246994, 0.024453897029161453, 0.04632354900240898, -0.01055022794753313, 0.025309007614850998, 0.01624877005815506, 0.004525998141616583, 0.012392069213092327, -0.011974820867180824, -0.03550884127616882, 0.01274511031806469, 0.025405175983905792, 0.03192140534520149, -0.0045956713147461414, -0.021630018949508667, 0.014659270644187927, -0.013770747929811478, -0.0020146325696259737, -0.01331164687871933, -0.01044770423322916, 0.0055093239061534405, -0.04020066559314728, 0.013494662009179592, -0.0006188433617353439, 0.010681851767003536, -0.04248152673244476, 0.010698208585381508, -0.03492222726345062, 0.0005818874342367053, -0.022433103993535042, 0.018002314493060112, -0.040903158485889435, 0.025826988741755486, 0.0037140636704862118, -0.025872478261590004, -0.027581240981817245, 0.048273973166942596, 0.022630663588643074, -0.06888880580663681, 0.054347578436136246, -0.03878176212310791, -0.0022404445335268974, -0.018792372196912766, 0.0024970800150185823, 0.02301892265677452, 0.01663806661963463, -0.019602758809924126, -0.03597883880138397, 0.04122379794716835, -0.042452093213796616, -0.029535098001360893, -0.032044798135757446, 0.02315918542444706, -0.016250483691692352, -0.050173982977867126, 0.023879660293459892, -0.043365515768527985, -0.013829764910042286, 0.06891714036464691, 0.018424591049551964, 0.013965539634227753, -0.02654482237994671, 0.0353715643286705, 0.03756221756339073, 0.01765458658337593, 0.015239152126014233, -0.026398247107863426, -0.028983429074287415, -0.03754141181707382, -0.026373371481895447, 0.04624827951192856, 0.009844432584941387, -0.06454987078905106, 0.001453674049116671, -0.009154272265732288, -0.008241772651672363, -0.00035385272349230945, -0.005090448539704084, -0.012441404163837433, -0.0017903450643643737, -0.0008799097849987447, -0.021349623799324036, -0.04187259450554848, 0.041114453226327896, 0.008023452013731003, -0.07336533069610596, -0.03040357492864132, 0.006264292635023594, -0.014018760994076729, 0.0016581359086558223, 0.01763111539185047, -0.016457172110676765, -0.008677782490849495, -0.01124595757573843, -0.020581211894750595, -0.07480955868959427, 0.06069369986653328, 0.012553185224533081, -0.011186144314706326, 0.009421157650649548, 0.04102570563554764, 0.030017493292689323, 0.015094446018338203, -0.021967722102999687, 0.10836607962846756, 0.017798179760575294, 0.05284838005900383, 0.014992453157901764, 0.066717728972435, -0.02170545607805252, -0.052972208708524704, -0.026504933834075928, 0.09858623892068863, -0.024653995409607887, -0.01885172538459301, 0.00017968431347981095, -0.034031081944704056, -0.049690354615449905, 0.011494318023324013, 0.025592073798179626, 0.04497798904776573, -0.0038933700416237116, -0.03292074054479599, 0.029840659350156784, -0.02394024282693863, 0.012681396678090096, 0.03282332792878151, -0.0073820143006742, -0.017575833946466446, 0.0008116515236906707, 0.008766565471887589, 0.010625619441270828, 0.017820309847593307, 0.05181093513965607, -0.002121881116181612, 0.028411423787474632, 0.06919124722480774, 0.005612158682197332, 0.03843577951192856, -0.027224700897932053, -0.005785989109426737, 0.036604784429073334, 0.030870234593749046, 0.019072869792580605, 0.03879103809595108, -0.007861297577619553, -0.01669822633266449, -0.023054540157318115, 0.04015883430838585, -0.03448139503598213, 0.003845189232379198, -0.041071947664022446, -0.04517936706542969, 0.053128357976675034, -0.013053619302809238, 0.0024885754100978374, -0.008052142336964607, 0.09377069771289825, 0.029628923162817955, 0.06862194091081619, -0.03422119468450546, -0.0725083202123642, -0.0025364782195538282, -0.006543168798089027, 0.05521252751350403, 0.010055479593575, 0.0031166234984993935, 0.03743112087249756, 0.025393007323145866, 0.031886026263237, 0.03599505499005318, -0.027919698506593704, -0.08071401715278625, -0.003095337888225913, -0.03881750628352165, 0.08525314182043076, -0.028322910889983177, 0.009043381549417973, 0.0020678695291280746, -0.009422742761671543, 0.036507368087768555, -0.007850839756429195, -0.004483046010136604, 0.03675662353634834, -0.027479205280542374, -0.033348362892866135, 0.05272137373685837, 0.04554373025894165, 0.0007004933431744576, -0.06543340533971786, 0.00016453508578706533, 0.007173645310103893, -0.004215633030980825, 0.0384967066347599, -0.020814714953303337, 0.030933940783143044, 0.03236110135912895, 0.039261627942323685, -0.004919769242405891, 0.039821501821279526, -0.05898858606815338, 0.036384861916303635, 0.026081817224621773, -0.0008241942850872874, -0.030053025111556053, -0.0226704441010952, 0.13603678345680237, 0.07229659706354141, -0.04350830614566803, -0.009614973329007626, 0.03468868508934975, -0.023899337276816368, -0.023748885840177536, 0.01981031522154808, 0.02914559654891491, -0.028285158798098564, -0.010324489325284958, -0.028955038636922836, -0.03916091471910477, 0.038142506033182144, -0.06038694083690643, -0.037226352840662, 0.09023585170507431, -0.03959238529205322, 0.05093176290392876, 0.01068005058914423, -0.04893318936228752, -0.02614373154938221, -0.024462930858135223, -0.06337780505418777, 0.034675441682338715, 0.0017670540837571025, -0.0008563060546293855, 0.05218138545751572, -0.01758768782019615, -0.06630624830722809, -0.0133852893486619, -0.015421138145029545, 0.02385777048766613, 0.07943953573703766, 0.05251167714595795, -0.025063082575798035, 0.004232429899275303, -0.0058142757043242455, -0.04002981260418892, 0.0075297364965081215, -0.055824462324380875, -0.04256053268909454, -0.018436303362250328, 0.0066485656425356865, 0.017258165404200554, 0.0372421033680439, 0.03199922665953636, 0.013940609060227871, -0.0004405982908792794, 0.029635198414325714, -0.024188315495848656, 0.034750718623399734, -0.0115904426202178, -0.02199793979525566, -0.01615450717508793, -0.023861005902290344, 0.06145969405770302, -0.051642823964357376, -0.01499208528548479, 0.004670434165745974, -0.005857533775269985, 0.050209544599056244, -0.08902281522750854, -0.03860652819275856, -0.005845331586897373, 0.031023643910884857, 0.04118017479777336, -0.052215490490198135, -0.018100282177329063, 0.06311832368373871, -0.011324485763907433, 0.03468756750226021, 0.03943128138780594, 0.012082370929419994, 0.03326297551393509, 0.021210724487900734, 0.05292750895023346, 0.050505053251981735, 0.008966900408267975, -0.01878093183040619, -0.05153384432196617, -0.008510511368513107, -0.025160791352391243, -0.255717009305954, 0.014032034203410149, -0.0016573184402659535, -0.020480230450630188, 0.008002545684576035, -0.021613745018839836, -0.0046117715537548065, -0.0170724056661129, -0.00719267874956131, 0.0020749836694449186, 0.003582034958526492, -0.02916749194264412, -0.045730456709861755, 0.05540253594517708, 0.029229575768113136, 0.002533935708925128, 0.0124686723574996, -0.05784079432487488, -0.0016656023217365146, 0.029008105397224426, -0.013213921338319778, -0.03970670700073242, -0.019111325964331627, 0.052001953125, 0.008123636245727539, 0.05294709652662277, -0.0683707594871521, 0.011876005679368973, -0.08333659917116165, -0.024135153740644455, -0.025551442056894302, -0.03429941460490227, 0.012819363735616207, -0.031248940154910088, -0.006985667161643505, -0.02878859080374241, 0.03183412924408913, -0.015186489559710026, -0.0004318720893934369, 0.05428247153759003, -0.030300119891762733, -0.01770416833460331, 0.02669328823685646, -0.02343994565308094, 0.0682561844587326, -0.010283962823450565, -0.05296613648533821, -0.02369791828095913, -0.032685693353414536, 0.0634140893816948, -0.03869666904211044, 0.006930273491889238, -0.0010098172351717949, 0.04154494032263756, -0.012866069562733173, 0.032907553017139435, -0.010411021299660206, 0.013322090730071068, -0.06259682029485703, 0.0000980900222202763, -0.0013770725345239043, -0.02275559864938259, -0.05670760199427605, -0.037738870829343796, -0.03187469020485878, -0.07358720898628235, -0.07180584967136383, -0.013262768276035786, 0.05801202729344368, -0.0027535525150597095, -0.012709114700555801, -0.017069511115550995, 0.0005859740194864571, -0.09785784780979156, -0.032492246478796005, -0.014639286324381828, -0.029747910797595978, 0.004565572366118431, 0.021401025354862213, 0.03604317829012871, -0.04693792015314102, -0.09323501586914062, 0.03052595816552639, 0.006432227324694395, 0.03711855784058571, 0.0003732612822204828, 0.0033139896113425493, -0.027191361412405968, -0.024483738467097282, -0.014020093716681004, 0.05854747071862221, -0.024866444990038872, -0.013382762670516968, -0.02189560793340206, 0.03150242567062378, 0.04523666575551033, 0.009729478508234024, 0.007293330039829016, 0.0344390906393528, 0.05339116230607033, 0.02015572041273117, -0.04935441538691521, 0.03285158425569534, -0.021094465628266335, -0.015623130835592747, 0.02096000872552395, -0.05517912283539772, 0.036258094012737274, 0.03612833842635155, 0.009429315105080605, 0.007443021517246962, -0.06174921616911888, 0.01044512540102005, -0.05402888357639313, -0.0212057176977396, -0.021138286218047142, 0.04049515351653099, 0.04615539684891701, 0.020467711612582207, 0.018586328253149986, -0.05427718162536621, 0.003284415230154991, 0.0006460489821620286, -0.01576940156519413, -0.0376451201736927, -0.02287142723798752, -0.0276156198233366, -0.0055045634508132935, 0.0023877392522990704, 0.01682269386947155, -0.026537470519542694, 0.06037593632936478, 0.038040950894355774, -0.02674974501132965, 0.0454200804233551, -0.00853827316313982, -0.02916671149432659, -0.011625456623733044, -0.0133133539929986, -0.007857335731387138, 0.010816408321261406, 0.012792923487722874, 0.014047269709408283, 0.021538399159908295, 0.059085410088300705, -0.014552591368556023, 0.04067940264940262, -0.03409973531961441, 0.01269262470304966, 0.022572096437215805, -0.010276040993630886, -0.04251914471387863, 0.048209842294454575, -0.034078389406204224, -0.02880830317735672, 0.018940867856144905, 0.0516679510474205, -0.02810133434832096, -0.039619892835617065, -0.03209523856639862, 0.03633994981646538, -0.03408912941813469, -0.024174708873033524, -0.046164825558662415, 0.008812688291072845, 0.05229030176997185, 0.0037157947663217783, 0.00464690150693059, -0.0344824343919754, 0.02659709006547928, 0.026769766584038734, 0.04292934760451317, -0.01561118382960558, 0.028923653066158295, -0.007355137728154659, -0.018588853999972343, 0.009812005795538425, 0.00020830630091950297, 0.047033827751874924, 0.012109723873436451, -0.04874609783291817, -0.018744202330708504, 0.007414075080305338, 0.015744857490062714, 0.04712200164794922, 0.012255970388650894, 0.0030301448423415422, 0.012522239238023758, -0.014987941831350327, -0.04306992515921593, -0.04485350847244263, -0.017006175592541695, -0.020467091351747513, 0.03159311041235924, -0.05631866678595543, -0.05179762840270996, 0.02024475671350956, 0.016099512577056885, 0.010618225671350956, -0.0020460919477045536, 0.020072313025593758, -0.028713149949908257, -0.02611869014799595, 0.00798767525702715, 0.07533466070890427, -0.0693114697933197, 0.008131071925163269, -0.024370744824409485, 0.03743050619959831, 0.018011964857578278, 0.0291573628783226, -0.06500193476676941, -0.03465374931693077, -0.006974784191697836, 0.006997511722147465, -0.020191185176372528, -0.05626261979341507, -0.0320553258061409, 0.019263889640569687, -0.03020438179373741, -0.022375954315066338, -0.0018211007118225098, 0.0009408824262209237, -0.05423182621598244, -0.007127048913389444, -0.014297316782176495, -0.050249457359313965, -0.02612150087952614, 0.030479449778795242, -0.0013353441609069705, 0.03915315121412277, -0.029997574165463448, 0.018145129084587097, 0.02024085260927677, 0.011226733215153217, -0.006469728425145149, -0.057027965784072876, -0.006922882050275803, -0.016775842756032944, 0.050014182925224304, -0.0018917330307886004, -0.0009314219350926578, 0.0009830133058130741, -0.0074367704801261425, -0.01753007434308529, 0.00847523845732212, 0.04797123372554779, -0.056140072643756866, 0.011577396653592587, -0.0002079394762404263, -0.04186493158340454, 0.021424977108836174, -0.023432210087776184, -0.02211093343794346, 0.059118449687957764, -0.0005911871558055282, 0.004719156306236982, 0.004187790211290121, -0.04078670218586922, 0.034844305366277695, -0.004872391000390053, 0.017525194212794304, -0.04417496547102928, 0.015353321097791195, 0.03888434171676636, 0.051587749272584915, 0.04361952096223831, -0.021586740389466286, 0.01873566210269928, -0.02542903833091259, -0.016278857365250587, -0.06778685748577118, -0.0077370242215693, -0.009357967413961887, -0.012668834999203682, -0.032897792756557465, -0.030211996287107468, -0.002841920591890812, 0.04339514300227165, -0.06769022345542908, -0.024357954040169716, 0.033305589109659195, -0.0008548007463105023, 0.01937141641974449, 0.02782946452498436, -0.023794693872332573, -0.008646361529827118, 0.020670423284173012, -0.027050012722611427, 0.024164492264389992, -0.004219943191856146, 0.055617574602365494, -0.03656194731593132, 0.024857496842741966, 0.009109046310186386, -0.0057555995881557465, 0.04119480028748512, 0.030080212280154228, 0.03274425491690636, 0.07579950988292694, -0.027793196961283684, 0.05315215885639191, 0.017194198444485664, -0.004666294902563095, -0.016021598130464554, 0.024788588285446167, -0.021050607785582542, -0.04936845973134041, 0.007971142418682575, -0.0037737528327852488, -0.013058265671133995, -0.05391284078359604, 0.07759112119674683, 0.025644253939390182, -0.012977365404367447, -0.04170098900794983, 0.04212884232401848, -0.058956850320100784, 0.021414481103420258, -0.013160907663404942, -0.016314731910824776, -0.0400405079126358, 0.06050829589366913, 0.012522703967988491, -0.02805453911423683, 0.05406905710697174, 0.011364568024873734, -0.013814755715429783, 0.021942617371678352, 0.0807725340127945, 0.08937463164329529, 0.033504657447338104, -0.00045941316056996584, 0.06727337092161179, -0.06467948108911514, -0.04214320331811905, 0.02518278732895851, -0.023885928094387054, -0.00158447097055614, -0.01600857824087143, 0.022138969972729683, 0.06829484552145004, -0.01402865257114172, 0.048856548964977264, -0.04687458649277687, 0.028028493747115135, -0.0008346621762029827, 0.010925263166427612, 0.017291992902755737, 0.06568150967359543, 0.004979195073246956, 0.05526868626475334, -0.011603942140936852, -0.03661546856164932, 0.013091645203530788, 0.0010899410117417574, -0.018667148426175117, -0.017969395965337753, 0.0055295731872320175, 0.013416731730103493, 0.03506515920162201, 0.013343453407287598, 0.05757997930049896, -0.027491698041558266, -0.02147647924721241, 0.022335268557071686, 0.050557512789964676, -0.003074719337746501, -0.0035703382454812527, -0.031745102256536484, -0.0332966223359108, -0.01862907037138939, -0.04290984570980072, -0.004159846343100071, -0.03353036940097809, -0.029445502907037735, 0.047147076576948166, -0.03588740527629852, 0.015386698767542839, 0.03093886934220791, -0.02277599647641182, -0.030031375586986542, -0.06177559494972229, -0.027347631752490997, -0.023385200649499893, -0.06267285346984863, 0.05633484199643135, -0.024806726723909378, -0.026934387162327766, -0.006869456730782986, -0.04269750416278839, 0.00544973649084568, -0.04770638048648834, 0.03429829329252243, -0.0502469427883625, -0.04080556333065033, 0.020950976759195328, 0.03209974616765976, 0.008043733425438404, 0.028711868450045586, 0.04810205474495888, -0.014283332042396069, 0.015127204358577728, -0.03357519581913948, -0.011630414985120296, 0.037718068808317184, 0.03026133030653, 0.03561030328273773, -0.07605957239866257, -0.007113734260201454, 0.03273821622133255, 0.015662197023630142, -0.07855784147977829, -0.0004823997151106596, 0.0215101707726717, -0.03524579107761383, 0.015807513147592545, -0.011024661362171173, -0.016897816210985184, -0.03544611483812332, 0.0009572036215104163, -0.02436215430498123, 0.010149307548999786, 0.0609203465282917, -0.062483467161655426, 0.09319059550762177, 0.008111436851322651, -0.05123761668801308, -0.029288453981280327, -0.010592007078230381, -0.038587797433137894, 0.03049878589808941, -0.041171733289957047, -0.03595549240708351, -0.036372147500514984, -0.0759483054280281, 0.025877349078655243, -0.016305631026625633, -0.02820413000881672, -0.03006705828011036, 0.019893845543265343, 0.017503777518868446, -0.08395114541053772, 0.06337262690067291, -0.0436372235417366, 0.023600397631525993, -0.015325880609452724, -0.010108173824846745, 0.015371604822576046, 0.04660319536924362, 0.011334328912198544, -0.011343766003847122, 0.03093038685619831, -0.04567514359951019, 0.028671888634562492, -0.023652222007513046, 0.028779175132513046, 0.014218835160136223, 0.0005177689017727971, 0.05372633785009384 ]
[ -0.09271978586912155, -0.013819396495819092, -0.03970779478549957, 0.003903126111254096, -0.02038518153131008, -0.05523568391799927, -0.005604879464954138, 0.04107898473739624, -0.002648687455803156, -0.05690949782729149, 0.013072116300463676, -0.08919370174407959, 0.007765418849885464, 0.006021495442837477, 0.05854583531618118, 0.031766049563884735, -0.02027210406959057, -0.04577380418777466, -0.03140713647007942, 0.045292358845472336, 0.04364321380853653, -0.03958006948232651, -0.07078702002763748, -0.04428841173648834, -0.003581603057682514, 0.05994138866662979, 0.038176894187927246, -0.04898408055305481, 0.019929904490709305, -0.21307583153247833, -0.03173142299056053, 0.02101723663508892, 0.06776559352874756, -0.05207982659339905, 0.03319709002971649, 0.0209064818918705, -0.03224973380565643, -0.008712386712431908, -0.01317109726369381, 0.04564297944307327, 0.021700501441955566, 0.003001937409862876, -0.025079164654016495, -0.03717290610074997, 0.025508342310786247, 0.0036235861480236053, -0.03554661571979523, -0.002342274645343423, 0.01658468134701252, 0.009110803715884686, -0.0855380967259407, -0.005740161519497633, 0.02468370459973812, 0.0023511219769716263, 0.002328911330550909, 0.04589197784662247, 0.06051246449351311, 0.08458594232797623, 0.004456434864550829, 0.016326576471328735, -0.00863362941890955, -0.015413758344948292, -0.09761747717857361, 0.07680507004261017, 0.03891178220510483, 0.05302056297659874, -0.03718898817896843, -0.06328681111335754, -0.0421169139444828, 0.08320862054824829, 0.01834474690258503, -0.032679323107004166, -0.021584201604127884, 0.07724431902170181, 0.011327717453241348, -0.01017073541879654, -0.014951592311263084, 0.0035809287801384926, 0.05429641902446747, -0.019062083214521408, -0.022676650434732437, -0.05079689994454384, -0.05006364732980728, -0.0347633883357048, -0.015514303930103779, -0.020206967368721962, -0.012267520651221275, 0.08785313367843628, 0.003679012879729271, 0.004587842151522636, -0.008942227810621262, -0.0028791683726012707, -0.010594777762889862, 0.02152576483786106, -0.04231269285082817, -0.003018425079062581, 0.003810382913798094, 0.008356917649507523, -0.046372439712285995, 0.4145701825618744, -0.007924101315438747, -0.02077992632985115, 0.0586804561316967, 0.04178445041179657, -0.012057160027325153, 0.012780759483575821, -0.01736648939549923, -0.07116471230983734, -0.004159542731940746, -0.08435694873332977, -0.014041618444025517, -0.028309058398008347, 0.09504217654466629, -0.052817218005657196, -0.003835139097645879, 0.012800237163901329, 0.07422927767038345, -0.0063747623935341835, 0.02045939490199089, -0.0066763292998075485, 0.01652899943292141, 0.041299063712358475, 0.012751185335218906, -0.009347326122224331, -0.012236430309712887, -0.0005944935837760568, 0.02011617086827755, 0.030993197113275528, 0.006514687556773424, 0.042858801782131195, 0.04023987054824829, -0.02599380724132061, -0.038169220089912415, -0.004001380410045385, -0.009692927822470665, -0.005446244962513447, 0.020624667406082153, -0.01104541402310133, 0.019894426688551903, 0.021620899438858032, -0.005144473630934954, -0.05670108646154404, -0.005983330309391022, 0.026043638586997986, -0.011821961961686611, 0.0964953824877739, -0.009674407541751862, -0.040028367191553116, -0.009674889966845512, -0.04144655540585518, 0.002274968195706606, 0.015417891554534435, -0.009218575432896614, -0.04528697207570076, 0.033497244119644165, 0.013182390481233597, 0.06359598785638809, -0.012387949042022228, -0.06674990803003311, 0.02416600100696087, 0.0036358085926622152, -0.030832285061478615, -0.06036314368247986, 0.05167044699192047, 0.002467188984155655, -0.04086761549115181, -0.03419541195034981, -0.004587892442941666, 0.024717673659324646, -0.10133937746286392, 0.02309582382440567, 0.03770114481449127, -0.014766230247914791, 0.03512047603726387, 0.028166186064481735, -0.03654337674379349, -0.016844848170876503, 0.022726455703377724, 0.03205404430627823, 0.030849546194076538, -0.023320397362113, 0.0175727978348732, -0.05345550924539566, 0.023436548188328743, -0.026032596826553345, -0.06097870320081711, -0.03872823715209961, 0.008517574518918991, -0.002478139940649271, -0.024926908314228058, 0.007699505891650915, 0.012631332501769066, -0.0698760375380516, 0.05308813974261284, -0.024387473240494728, -0.007576352450996637, 0.01957029476761818, -0.010452350601553917, -0.009819486178457737, -0.046042513102293015, 0.013016903772950172, 0.05122975632548332, -0.0017299153842031956, 0.018507197499275208, -0.07807157188653946, 0.023071669042110443, 0.03760043904185295, -0.06601917743682861, 0.05444951727986336, 0.05796821042895317, -0.004951664712280035, -0.019320182502269745, -0.001515869633294642, 0.023799248039722443, 0.0018154720310121775, -0.024624580517411232, 0.00483306497335434, -0.013100950047373772, 0.03127150610089302, 0.028718477115035057, -0.03247620537877083, -0.0458928719162941, -0.07508579641580582, -0.34858080744743347, -0.05713929980993271, -0.005656164605170488, -0.03480517119169235, -0.015428397804498672, -0.08075816929340363, -0.008464036509394646, -0.030184820294380188, -0.03933132439851761, 0.08237230777740479, 0.047367870807647705, 0.012089578434824944, 0.001818282064050436, -0.09721744805574417, -0.006840951275080442, 0.0021800047252327204, -0.023426001891493797, -0.013822349719703197, -0.014223718084394932, 0.02866942621767521, -0.0249624103307724, 0.011528239585459232, -0.050766877830028534, -0.03038897179067135, -0.049592114984989166, -0.04379672929644585, 0.12259715795516968, 0.041297245770692825, 0.0858151838183403, -0.05693612992763519, 0.040287118405103683, -0.014118039980530739, 0.03303278610110283, -0.00992398802191019, 0.011992666870355606, -0.012222368270158768, -0.011093296110630035, 0.000019039271137444302, 0.0522284060716629, -0.04303145036101341, -0.06628315150737762, -0.0028566501569002867, -0.03834258019924164, 0.007406993769109249, -0.026960037648677826, 0.03361387923359871, -0.013656126335263252, -0.08412174880504608, -0.033944178372621536, 0.10100226104259491, 0.019189177080988884, 0.01568850874900818, 0.020202064886689186, 0.040745917707681656, 0.008529203943908215, 0.009466243907809258, -0.07353189587593079, -0.038415562361478806, 0.011045601218938828, -0.0477558858692646, 0.0409187413752079, 0.06923404335975647, 0.08959773182868958, -0.010080303996801376, -0.00763748399913311, 0.03055340237915516, 0.00028412931715138257, 0.00016015740402508527, 0.026456238701939583, 0.026089413091540337, 0.0032456780318170786, 0.10199212282896042, 0.01026161853224039, 0.009592506103217602, -0.004017534665763378, 0.04587690904736519, -0.016562340781092644, 0.046510230749845505, 0.06455815583467484, 0.005172508303076029, 0.03093835525214672, -0.010391741059720516, 0.027375100180506706, -0.04792497307062149, 0.005981756374239922, 0.013376852497458458, -0.035347357392311096, 0.02075066789984703, 0.07136967778205872, 0.018964892253279686, -0.005902883596718311, 0.05196307599544525, 0.007551396265625954, -0.03394715487957001, 0.07385843992233276, 0.019657254219055176, -0.2613680958747864, 0.03896058723330498, 0.05079948902130127, 0.0048289974220097065, -0.01830550655722618, 0.028690090402960777, -0.02053176984190941, -0.03942123427987099, -0.03219253942370415, -0.04850471764802933, 0.03521875664591789, 0.043932728469371796, 0.019981535151600838, 0.014387974515557289, 0.0020915959030389786, -0.021616952493786812, 0.029666906222701073, -0.024030227214097977, 0.012891434133052826, 0.015112742781639099, 0.04028962180018425, 0.01823035255074501, 0.17977051436901093, 0.03510259464383125, -0.013426564633846283, -0.008177113719284534, 0.032389141619205475, 0.033802904188632965, 0.057183537632226944, 0.015523890033364296, -0.04237242788076401, 0.01817997917532921, 0.029768329113721848, 0.000184701377293095, 0.05344850942492485, -0.018872059881687164, 0.0054742093198001385, 0.0277036651968956, 0.026187552139163017, -0.02268952503800392, -0.017296239733695984, 0.02998533844947815, -0.03681030869483948, 0.026135804131627083, 0.051430199295282364, 0.036487508565187454, 0.012808799743652344, -0.01634795218706131, -0.034038037061691284, 0.025404460728168488, 0.0006166000384837389, -0.031003465875983238, -0.007859566248953342, -0.020192470401525497, -0.0180563572794199, 0.06059563159942627, 0.0008448075968772173, -0.020101377740502357, -0.0020991547498852015, -0.003809791523963213, -0.006720756180584431, -0.044767092913389206, 0.10027337819337845, -0.0007141040987335145, 0.00199353345669806 ]
[ -0.011304907500743866, 0.05994352698326111, -0.03625882789492607, 0.018594175577163696, -0.00946100428700447, -0.027380555868148804, 0.007354783359915018, 0.005920093040913343, -0.05189502239227295, 0.0019513702718541026, -0.07351119071245193, -0.006105137523263693, 0.023538606241345406, -0.020349210128188133, -0.01626507006585598, -0.03324545547366142, 0.030268974602222443, -0.0022089765407145023, 0.029065869748592377, -0.03757234290242195, -0.025681892409920692, 0.03672882914543152, 0.025028690695762634, 0.008774423971772194, 0.0206371508538723, 0.007785539608448744, -0.040230680257081985, 0.007811808492988348, 0.05186576023697853, -0.1039402112364769, -0.04062716290354729, -0.02007335238158703, 0.010094809345901012, 0.006621843669563532, 0.008029681630432606, 0.017761128023266792, -0.018628554418683052, -0.014080452732741833, -0.017479784786701202, -0.0008144876337610185, 0.014559510163962841, 0.023215746507048607, -0.002370167523622513, -0.014593413099646568, 0.006020537577569485, -0.01653258129954338, -0.04369092360138893, -0.034741926938295364, 0.0011023969855159521, 0.01588468626141548, -0.03835594654083252, 0.006661528255790472, 0.018775470554828644, 0.01697877049446106, 0.014433707110583782, -0.013572320342063904, -0.030055778101086617, -0.03289475664496422, 0.006994836498051882, 0.0005556916585192084, -0.005331096239387989, 0.021091977134346962, -0.04793845862150192, -0.06286649405956268, 0.002972023095935583, -0.017123350873589516, 0.017551427707076073, -0.03355707228183746, 0.00967878196388483, -0.001533934031613171, 0.013012699782848358, 0.03258684277534485, -0.06391647458076477, -0.007344399578869343, 0.016982052475214005, 0.007741421461105347, 0.01497578527778387, -0.05419130623340607, -0.005926571786403656, 0.02931331843137741, -0.035833295434713364, 0.0011393741006031632, 0.034616075456142426, 0.012332913465797901, 0.013068346306681633, -0.02082439698278904, -0.011148303747177124, 0.04646299406886101, 0.03440083935856819, 0.0015526971546933055, -0.0008776473114266992, -0.004077052231878042, -0.008755487389862537, 0.0619649812579155, -0.05111657455563545, 0.018930666148662567, -0.0016925969393923879, 0.005550880450755358, -0.011210300028324127, 0.8285931348800659, -0.04678315296769142, 0.01587306708097458, 0.051209475845098495, 0.0037644165568053722, -0.02008185349404812, -0.006079910323023796, 0.014420440420508385, 0.0020349135156720877, 0.0033340605441480875, -0.05451565235853195, 0.010870717465877533, -0.03855717554688454, 0.04375006631016731, 0.01582290790975094, 0.017292745411396027, 0.00587169686332345, 0.0027675325982272625, 0.00008028497541090474, -0.00859193503856659, -0.002796922344714403, 0.05082842707633972, 0.014911629259586334, 0.011051191948354244, 0.07543743401765823, 0.020380999892950058, -0.17714819312095642, -0.022964900359511375, -7.781848274892377e-33, 0.03830349072813988, 0.0021019228734076023, 0.015629632398486137, 0.0351480208337307, 0.03206551447510719, 0.0401369147002697, 0.020112430676817894, -0.025530287995934486, -0.0035781851038336754, -0.01883765682578087, 0.029866205528378487, -0.008002763614058495, -0.0033634372521191835, 0.014261738397181034, 0.02677301876246929, -0.0004137284413445741, 0.04197447746992111, 0.04291008785367012, -0.005412861239165068, -0.018015269190073013, 0.025820553302764893, 0.012391233816742897, 0.027268938720226288, -0.008076386526226997, 0.0484323613345623, 0.041918668895959854, 0.011148273944854736, 0.004321973770856857, -0.0007120062364265323, -0.04468175768852234, -0.018582956865429878, 0.03305523097515106, -0.009556027129292488, -0.012245002202689648, 0.04892107844352722, -0.04512925446033478, -0.013936486095190048, 0.003274246584624052, -0.0035929398145526648, -0.010036653839051723, -0.04559960216283798, 0.060207024216651917, -0.020932601764798164, -0.027477307245135307, 0.01844492182135582, -0.054415423423051834, 0.026841670274734497, 0.025958210229873657, 0.03508336469531059, -0.008097924292087555, -0.008918890729546547, 0.01940230280160904, -0.006551128812134266, 0.012480266392230988, 0.003591169137507677, -0.013964050449430943, 0.033534109592437744, 0.0561809316277504, 0.016401926055550575, 0.039143916219472885, 0.0006097883451730013, 0.0007324395701289177, -0.00530221639201045, 0.05070515349507332, 0.02399100735783577, -0.02154482528567314, -0.017096513882279396, 0.012302384711802006, 0.003358455142006278, 0.038055870682001114, -0.043477825820446014, -0.019382920116186142, -0.03397998586297035, -0.002576557919383049, 0.024860810488462448, -0.03441907837986946, -0.049758777022361755, 0.012662999331951141, -0.015872078016400337, 0.004664440639317036, 0.02133958414196968, -0.031844574958086014, 0.015356555581092834, -0.02953970804810524, -0.004907357040792704, -0.042042311280965805, -0.0027564489282667637, 0.03376885876059532, -0.003309075953438878, -0.05179281905293465, 0.014211785979568958, 0.009547300636768341, 0.02685464732348919, 0.023745154961943626, -0.0404081717133522, 7.222041130832341e-33, -0.05838176608085632, -0.012969720177352428, -0.013866807334125042, -0.022485483437776566, -0.01920558698475361, 0.006633283570408821, 0.035903774201869965, -0.020908450707793236, 0.011755714192986488, 0.03385110944509506, 0.005775850731879473, 0.01807849481701851, -0.025369247421622276, 0.01146794855594635, 0.015717780217528343, -0.04361661523580551, -0.01196529995650053, 0.0221717432141304, -0.0031088327523320913, 0.0005256581353023648, -0.011952996253967285, -0.010333728045225143, 0.009464100003242493, -0.002762268763035536, 0.03152342513203621, 0.037573352456092834, 0.01640242524445057, 0.014005040749907494, -0.019084567204117775, -0.00018420154810883105, 0.009478961117565632, -0.018171142786741257, -0.011648381128907204, -0.01781812310218811, 0.019549036398530006, 0.05697746202349663, -0.005201833322644234, -0.014142652973532677, 0.02536807954311371, 0.009595968760550022, 0.03922221437096596, -0.006095428019762039, 0.039701081812381744, -0.014069676399230957, 0.0012445400934666395, -0.024029988795518875, 0.009481011889874935, -0.008243195712566376, -0.005069471895694733, 0.01875278912484646, -0.014711074531078339, 0.02024572156369686, 0.018293138593435287, 0.011123478412628174, 0.018696604296565056, -0.006780374329537153, -0.009531253017485142, 0.021598000079393387, -0.05408933758735657, -0.04106739163398743, -0.040032219141721725, 0.025533435866236687, 0.011215461418032646, 0.008355549536645412, -0.03322125971317291, 0.0017929725581780076, -0.05126292258501053, -0.0673365443944931, 0.013847569935023785, 0.03370673209428787, -0.020709896460175514, 0.003399428678676486, -0.02938859350979328, 0.03609144315123558, -0.028280330821871758, -0.02807351015508175, 0.0021164310164749622, 0.038358788937330246, -0.0020421750377863646, 0.011298014782369137, 0.038262952119112015, -0.010890904814004898, 0.013420900329947472, -0.008764867670834064, 0.008456376381218433, -0.03550680726766586, 0.008928045630455017, 0.02877439372241497, -0.004750325344502926, -0.015834353864192963, 0.025223201140761375, -0.04473280906677246, 0.0036233137361705303, 0.03239515423774719, 0.01585644856095314, -1.300305818574543e-8, -0.0007852059206925333, -0.0019125026883557439, -0.06899642199277878, -0.025218533352017403, 0.01878911629319191, -0.011733919382095337, -0.037830546498298645, -0.027694277465343475, -0.05695037171244621, 0.04635608196258545, 0.04980959743261337, -0.009947224520146847, 0.019124390557408333, 0.01582944765686989, 0.03517771512269974, -0.02979317121207714, 0.021568365395069122, -0.02471254952251911, 0.000942395708989352, -0.05118570849299431, 0.014202920719981194, 0.029613537713885307, 0.031496621668338776, 0.012535477988421917, -0.02133636362850666, -0.043724097311496735, 0.0037919022142887115, -0.06529442965984344, -0.02555496245622635, -0.00798734650015831, -0.00993392150849104, -0.02098320797085762, -0.030419323593378067, 0.008775929920375347, -0.011139672249555588, -0.0023988147731870413, 0.008248066529631615, -0.022224968299269676, 0.038985006511211395, -0.0018213021103292704, -0.021702419966459274, 0.00013187450531404465, -0.014564703218638897, -0.030881835147738457, -0.013403299264609814, -0.018124446272850037, -0.02842249535024166, -0.02248644083738327, 0.024841144680976868, -0.02089507505297661, 0.01202793512493372, 0.030846260488033295, 0.011856277473270893, 0.005709826946258545, 0.02183578722178936, 0.01721157319843769, -0.0022290118504315615, -0.03466739133000374, -0.028426244854927063, -0.0035507329739630222, 0.03273883834481239, -0.0012779472162947059, -0.024666234850883484, -0.018355272710323334 ]
haskell-couldnt-match-expected-type-int-with-actual-type-integer
https://markhneedham.com/blog/2012/03/13/haskell-couldnt-match-expected-type-int-with-actual-type-integer
false
2012-03-13 22:55:10
Functional Programming: Shaping the data to fit a function
[ "functional-programming", "haskell" ]
[ "Haskell" ]
As I mentioned in my last post I've been working on Project Euler problem 11 and one thing I noticed was that I was shaping the data around a +++<cite>+++http://www.markhneedham.com/blog/2012/02/28/haskell-creating-a-sliding-window-over-a-collection/[windowed]+++</cite>+++ function since it seemed to fit the problem quite well. http://projecteuler.net/problem=11[Problem 11] is defined like so: ____ In the 20x20 grid below, four numbers along a diagonal line have been marked in red. image:{{<siteurl>}}/uploads/2012/03/problem_11.gif[Problem 11,483] The product of these numbers is 26 63 78 14 = 1788696. What is the greatest product of four adjacent numbers in any direction (up, down, left, right, or diagonally) in the 20x20 grid? ____ I needed to get all the horizontals, verticals and diagonals into collections that I could then apply the function to and get the four adjacent numbers required by the problem. That was reasonably easy for the horizontals and verticals: [source,haskell] ---- leftToRight = concatMap (windowed 4) grid topToBottom = concatMap (windowed 4) [[row !! (n-1) | row <- grid] | n <- [1..length grid]] ---- [source,haskell] ---- -- shortened for brevity grid :: [[Int]] grid = [[08,02,22,97,38,15,00,40,00,75,04,05,07,78,52,12,50,77,91,08], .... [01,70,54,71,83,51,54,69,16,92,33,48,61,43,52,01,89,19,67,48]] ---- In the first case we're just running a map operation over each row and converting it into groups of 4 adjacent elements. By using +++<cite>+++concatMap+++</cite>+++ we can ensure that the result is flattened back into a single collection. To get the top to bottom values I had to first create a new array of arrays built up using values at the same column index in each row before applying the windowed function. I found it much more difficult to get the diagonals into the right shape but luckily I bumped into https://github.com/uday-rayala[Uday] who helped me figure it out. We started off by working out how to calculate all the numbers diagonally left to right from a specific point which resulted in this function: [source,haskell] ---- diagonalAt :: Int -> Int -> [[Int]] -> [Int] diagonalAt x y grid = [findValue (x+z) (y+z) grid | z <- [0..(length grid)], hasItem grid (x + z) (y + z)] ---- We had to add a +++<cite>+++hasItem+++</cite>+++ function so that we didn't try and call +++<cite>+++findValue+++</cite>+++ on a position which didn't exist on the grid: [source,haskell] ---- hasItemSingle :: [a] -> Int -> Bool hasItemSingle array position = position >= 0 && (length array - 1) >= position hasItem :: [[a]] -> Int -> Int -> Bool hasItem array x y = hasItemSingle array x && hasItemSingle (array !! x) y ---- +++<cite>+++findValue+++</cite>+++ is just used to find the value at an (x,y) location: [source,haskell] ---- findValue :: Int -> Int -> [[Int]] -> Int findValue x y grid = (grid !! x) !! y ---- Now we had the ability to find out one diagonal we needed to find all the diagonals on the grid which we did like this: [source,haskell] ---- diagonals :: [[Int]] -> [[Int]] diagonals grid = filter (\x -> length x > 4) . map (\(x,y) -> diagonalAt x y grid) $ (diagonalPositions grid) diagonalPositions :: [[Int]] -> [(Int, Int)] diagonalPositions grid = [ (x,y) | x <- [0..(length grid)], y <- [0..length $ grid !! 0 ]] diagonalValues = concatMap (windowed 4) (diagonals grid) ---- +++<cite>+++diagonalPositions+++</cite>+++ creates a sequence of pairs which contain all the different positions in the grid where we want to try and find a diagonal from. We then map over that in +++<cite>+++diagonals+++</cite>+++ and find the diagonal from each of those places. We then had to do the same to find diagonals running from right to left: [source,haskell] ---- diagonalUpwaysAt :: Int -> Int -> [[Int]] -> [Int] diagonalUpwaysAt x y grid = [findValue (x+z) (y+(z * (-1))) grid | z <- [0,-1..(length grid * (-1))], hasItem grid (x + z) (y + (z *(-1))) diagonalsUp :: [[Int]] -> [[Int]] diagonalsUp grid = filter (\x -> length x > 4) . map (\(x,y) -> diagonalUpwaysAt x y grid) $ (diagonalPositions grid) diagonalUpValues = concatMap (windowed 4) (diagonalsUp grid) ---- In this case instead of incrementing our position by 1 on the x and y axes we needed to decrement our position on the y axis so it'd find the value one row above us. To find the maximum product of 4 adjacent numbers in the grid we need to do the following: [source,haskell] ---- problem_11 = maximum $ map product $ topToBottom ++ leftToRight ++ diagonalValues ++ diagonalUpValues ---- [source,text] ---- > problem_11 70600674 ---- Obviously there's a lot of duplication in this solution so another exercise for me is to try and make it a bit more concise! I think I picked up this way of solving problems from playing around with clojure last year and it seems quite neat although I'm sure it might not seem that intuitive to someone who hadn't seen it before. The code for the whole solution is https://gist.github.com/2032801[available as a gist].
null
null
[ -0.011610179208219051, 0.018152257427573204, -0.00361557281576097, 0.03613579273223877, 0.05273575335741043, 0.029011225327849388, 0.0035258838906884193, 0.017510170117020607, 0.0010507827391847968, -0.013481123372912407, -0.009820281527936459, -0.026365060359239578, -0.05246220529079437, 0.022501640021800995, -0.007002473808825016, 0.06474470347166061, 0.07652964442968369, -0.01407616026699543, -0.025677166879177094, 0.01641240529716015, 0.018043402582406998, 0.051332201808691025, -0.0034197771456092596, 0.017942821606993675, 0.009729019366204739, -0.014552051201462746, -0.004187272395938635, 0.017832735553383827, -0.03629898652434349, -0.00020865131227765232, 0.028304969891905785, 0.03283825144171715, -0.0028901482000947, -0.025537293404340744, 0.041961364448070526, -0.025967957451939583, -0.021416421979665756, -0.01207050308585167, -0.022216344252228737, -0.0015306492568925023, -0.049859270453453064, 0.008567477576434612, -0.008446110412478447, 0.014463432133197784, -0.04147881269454956, 0.0024327991995960474, -0.03279982507228851, 0.009259306825697422, -0.026415511965751648, 0.0040806992910802364, -0.05239938572049141, 0.015126382932066917, -0.0008814092143438756, -0.007867845706641674, -0.04927528649568558, 0.04682093486189842, 0.01141278725117445, -0.04695679247379303, 0.06182749569416046, -0.03946293517947197, 0.012148227542638779, -0.017630252987146378, 0.007827074266970158, 0.05423561856150627, 0.001978697022423148, -0.022412408143281937, -0.03805433586239815, 0.04335716366767883, -0.04428466409444809, -0.022860901430249214, -0.03660809248685837, 0.023079488426446915, -0.008472496643662453, -0.052347443997859955, -0.005409371107816696, -0.05471691116690636, -0.00379360094666481, 0.048657190054655075, 0.006706228479743004, 0.011389345861971378, -0.024202542379498482, 0.01045391708612442, 0.029978638514876366, 0.031589459627866745, 0.007484950125217438, -0.019593151286244392, -0.04350065439939499, -0.022098509594798088, -0.04807877168059349, 0.05563240498304367, 0.003091336926445365, -0.06313950568437576, -0.0064481706358492374, 0.009737271815538406, 0.0076207853853702545, 0.0033399853855371475, 0.006383843719959259, -0.0018632118590176105, -0.00047579072997905314, -0.011667696759104729, -0.021058062091469765, -0.048354946076869965, 0.03137967735528946, 0.0022246732842177153, -0.07515489310026169, -0.01087786816060543, -0.0033191998954862356, -0.019033920019865036, 0.008045896887779236, 0.018844889476895332, -0.014800420962274075, 0.0006183106452226639, -0.013300124555826187, 0.010304686613380909, -0.06948979198932648, 0.06111526861786842, 0.03127949312329292, 0.006475148256868124, 0.001732265460304916, 0.05812184512615204, 0.03477035462856293, 0.031509317457675934, -0.01872825250029564, 0.09382157772779465, 0.018573738634586334, 0.044933684170246124, 0.006391661241650581, 0.07717068493366241, -0.04851623997092247, -0.07738060504198074, -0.014101783744990826, 0.07463886588811874, -0.03172599524259567, 0.004802226088941097, 0.008428740315139294, -0.040222059935331345, -0.04488319158554077, 0.0010739265708252788, 0.04029807448387146, 0.031625211238861084, 0.010431859642267227, -0.03392905741930008, 0.04152245819568634, -0.03142985329031944, 0.01977716013789177, 0.01717348024249077, -0.00910642184317112, -0.020552661269903183, -0.021711571142077446, 0.008646486327052116, 0.03405867516994476, 0.015707749873399734, 0.041119202971458435, -0.011291010305285454, 0.01976926252245903, 0.0721469447016716, 0.03448355942964554, 0.018708666786551476, -0.008951538242399693, 0.011199736967682838, 0.03215774521231651, 0.020445849746465683, 0.03346938267350197, 0.04952540248632431, -0.04194365069270134, -0.008780217729508877, -0.0011180517030879855, 0.04418068751692772, -0.03373870253562927, -0.02095090039074421, -0.04636672884225845, -0.04419528320431709, 0.051795538514852524, -0.026028674095869064, 0.0016970573924481869, -0.006634268909692764, 0.09286552667617798, 0.03446918725967407, 0.0712919756770134, -0.02147340588271618, -0.09294487535953522, 0.020938636735081673, 0.025375163182616234, 0.05400589108467102, 0.011820113286376, 0.005154457874596119, 0.051645588129758835, 0.04313896223902702, 0.011895117349922657, 0.03386910632252693, -0.03190593793988228, -0.06186237931251526, -0.015192530117928982, -0.03001115471124649, 0.06281300634145737, -0.01798555627465248, 0.014866955578327179, 0.016446344554424286, 0.012394815683364868, 0.029724113643169403, 0.0034038794692605734, 0.003896242706105113, 0.0473409928381443, -0.027137158438563347, -0.04063410311937332, 0.05305638164281845, 0.031061792746186256, 0.004509827587753534, -0.05396497622132301, 0.008591443300247192, -0.00987476110458374, 0.0029592043720185757, 0.03275281935930252, -0.02499188296496868, 0.0395725779235363, 0.02842240408062935, 0.045054808259010315, -0.013356956653296947, 0.0369805246591568, -0.04814852774143219, 0.04688355699181557, 0.026868831366300583, -0.004311921074986458, 0.002856386359781027, -0.004640628583729267, 0.1360062062740326, 0.06337632983922958, -0.052291009575128555, -0.03969627618789673, 0.0429740808904171, -0.009223987348377705, -0.016427548602223396, 0.0112252626568079, 0.014043637551367283, -0.0053603011183440685, 0.002609721850603819, -0.018197227269411087, -0.03171740099787712, 0.04442311450839043, -0.05627664178609848, -0.03289961814880371, 0.08011787384748459, -0.008573662489652634, 0.06345129758119583, -0.0026450813747942448, -0.05592188611626625, -0.015087151899933815, -0.009956893511116505, -0.04696260765194893, -0.011306194588541985, -0.0013776688138023019, 0.00014748729881830513, 0.03710426017642021, -0.04108940437436104, -0.04154736548662186, -0.01340944878757, -0.0032844983506947756, 0.009069213643670082, 0.06122478097677231, 0.07284969091415405, -0.00692790700122714, 0.05791449546813965, 0.02104947529733181, -0.03176392242312431, -0.025415293872356415, -0.040810488164424896, -0.047241076827049255, -0.024118851870298386, 0.016722457483410835, 0.025005005300045013, 0.05218632519245148, 0.01498925406485796, 0.020159311592578888, -0.014225436374545097, 0.0014135729288682342, -0.03187529742717743, 0.02876860834658146, -0.02032073400914669, -0.06284768134355545, -0.0345032662153244, -0.00992240384221077, 0.07569608837366104, -0.032151371240615845, -0.010659800842404366, 0.010437683202326298, -0.0218666885048151, 0.045932378619909286, -0.10033319145441055, -0.025349806994199753, 0.010066810995340347, 0.01824561506509781, 0.034044113010168076, -0.028314324095845222, -0.007995042949914932, 0.04216286167502403, 0.010336406528949738, 0.024397455155849457, 0.015738431364297867, 0.014804895035922527, 0.023888830095529556, -0.018158039078116417, 0.03589446842670441, 0.051221031695604324, -0.0008150506182573736, -0.011982309632003307, -0.07008581608533859, -0.010422210209071636, -0.015011511743068695, -0.28640952706336975, 0.002368164248764515, -0.011692352592945099, -0.013201989233493805, 0.01687994785606861, -0.02545335330069065, -0.0013704057782888412, -0.032735247164964676, -0.02030561864376068, -0.010692213661968708, -0.01196159329265356, -0.03656824678182602, -0.0473644956946373, 0.0511276051402092, 0.03362693637609482, 0.020752618089318275, 0.021420512348413467, -0.036006733775138855, 0.00783975888043642, 0.021911943331360817, -0.02100134827196598, -0.06541421264410019, -0.010752723552286625, 0.05542156100273132, 0.01619710773229599, 0.048306655138731, -0.0858280137181282, 0.017385700717568398, -0.08488244563341141, -0.005648880731314421, -0.005529412999749184, -0.03242708742618561, 0.010307949036359787, -0.014642325229942799, -0.005540201440453529, -0.03141864389181137, 0.028354493901133537, -0.008112058974802494, 0.024831324815750122, 0.03785434737801552, -0.016426658257842064, -0.008994258008897305, 0.015452666208148003, 0.0057654124684631824, 0.06656145304441452, -0.0031323342118412256, -0.03986707329750061, -0.012549402192234993, -0.03635276108980179, 0.06501356512308121, -0.007705044932663441, -0.004728756844997406, -0.013504751026630402, 0.025328943505883217, -0.012138728983700275, -0.011652082204818726, -0.02294517494738102, -0.01630234904587269, -0.04124174639582634, -0.007953180931508541, -0.018607020378112793, -0.0485057570040226, -0.03787527605891228, -0.04457814246416092, -0.0053079454228281975, -0.0676531195640564, -0.0861404612660408, -0.009350666776299477, 0.08058878034353256, 0.011421195231378078, -0.01084819808602333, -0.02164258062839508, -0.0015508217038586736, -0.1138351559638977, -0.013662300072610378, -0.0013987733982503414, -0.025281507521867752, -0.004829843994230032, 0.021916644647717476, 0.034941211342811584, -0.041726429015398026, -0.10164084285497665, 0.04269545152783394, 0.019458476454019547, 0.029555952176451683, -0.0037490963004529476, 0.0022662163246423006, -0.01590019278228283, -0.016746385022997856, -0.004310447257012129, 0.06397226452827454, -0.02696322090923786, -0.018745258450508118, -0.024760998785495758, 0.02210923098027706, 0.02531806007027626, 0.004550287965685129, 0.012080865912139416, 0.03574396297335625, 0.05118339881300926, 0.02656758762896061, -0.06523311883211136, 0.03145000338554382, -0.013943546451628208, -0.036891017109155655, 0.02054806426167488, -0.04078434407711029, 0.038046691566705704, 0.05173400789499283, 0.026202837005257607, -0.015873655676841736, -0.05950390174984932, 0.03230073302984238, -0.04765503108501434, -0.021068638190627098, -0.015044513158500195, 0.030049383640289307, 0.029654989019036293, 0.020625479519367218, -0.0001709193311398849, -0.04401131719350815, 0.008558734320104122, 0.0017706371145322919, -0.016950156539678574, -0.049455344676971436, 0.013253584504127502, -0.0167180635035038, -0.013026210479438305, 0.03607828915119171, 0.028977882117033005, -0.024396898224949837, 0.036023207008838654, 0.027108661830425262, -0.02437504380941391, 0.037924688309431076, -0.018752790987491608, -0.03481147810816765, -0.03308699280023575, -0.018597031012177467, 0.0021037256810814142, 0.020800558850169182, 0.01727144606411457, 0.01818232797086239, 0.03201261907815933, 0.05183902755379677, 0.005159299820661545, 0.034655600786209106, -0.010450830683112144, 0.003947014454752207, 0.024606114253401756, -0.00883595272898674, -0.03332551196217537, 0.02580452151596546, -0.03727952018380165, -0.014695967547595501, 0.013109476305544376, 0.04135175421833992, -0.002963336417451501, -0.03615060821175575, -0.048715509474277496, 0.035619691014289856, -0.0358511358499527, -0.03324277326464653, -0.019532186910510063, -0.0046526468358933926, 0.0661802589893341, -0.024374278262257576, 0.036608681082725525, -0.030046848580241203, 0.02361111529171467, 0.056652553379535675, 0.021092139184474945, -0.028112875297665596, 0.019637206569314003, -0.008183253929018974, 0.00041852143476717174, 0.019133497029542923, 0.007701536174863577, 0.04633345082402229, 0.0027230510022491217, -0.029068024829030037, -0.028123382478952408, 0.0037071434780955315, 0.006279570981860161, 0.042771171778440475, 0.028339514508843422, 0.010929858312010765, 0.008756140246987343, -0.021293874830007553, -0.015861164778470993, -0.03831063583493233, 0.002127896063029766, -0.037292320281267166, 0.029757272452116013, -0.033535998314619064, -0.052592933177948, 0.014594781212508678, 0.010539512149989605, 0.0006647967966273427, 0.0167626291513443, 0.00023657445854041725, -0.019895067438483238, -0.013675477355718613, 0.029290251433849335, 0.0669412761926651, -0.05144105851650238, 0.021835273131728172, -0.011955512687563896, 0.021409908309578896, 0.003931274171918631, 0.037994444370269775, -0.05744948610663414, -0.03192278742790222, -0.00006067334834369831, 0.010927078314125538, -0.02825801819562912, -0.0226601529866457, -0.03778260573744774, 0.02262687496840954, -0.011812474578619003, -0.026488568633794785, -0.0022785458713769913, 0.003967039752751589, -0.04419718682765961, -0.010536367073655128, -0.00524946628138423, -0.05407368764281273, -0.04686947166919708, 0.0265336986631155, -0.026593243703246117, 0.028974758461117744, -0.01956987753510475, 0.014331160113215446, 0.02971923165023327, 0.005328452680259943, -0.016262032091617584, -0.05599715933203697, -0.013177174143493176, -0.0559237115085125, 0.07299140840768814, -0.0053238593973219395, -0.011122824624180794, -0.02243143692612648, 0.005187494680285454, -0.015199926681816578, 0.00692619988694787, 0.024113059043884277, -0.03561924025416374, 0.012975438497960567, 0.014243004843592644, -0.022304633632302284, 0.015645412728190422, -0.021794240921735764, -0.03664872795343399, 0.049321457743644714, -0.012557459995150566, -0.01883433759212494, -0.01779867522418499, -0.03437606617808342, 0.008535933680832386, -0.03049427643418312, 0.02297055907547474, -0.03143059089779854, 0.024732721969485283, 0.04581650719046593, 0.02242586389183998, 0.03262407332658768, -0.009487457573413849, 0.03336844593286514, -0.03132520616054535, 0.0017446652054786682, -0.07183351367712021, -0.006049856543540955, 0.006647875998169184, -0.002913097618147731, -0.00934810284525156, 0.009330911561846733, -0.02961759641766548, 0.058691177517175674, -0.08551882207393646, -0.018134694546461105, 0.04768800362944603, -0.0013112635351717472, 0.010511854663491249, 0.018139617517590523, -0.022510822862386703, 0.0035374462604522705, 0.023510783910751343, -0.013957042247056961, -0.0015309815062209964, -0.024645483121275902, 0.04258672520518303, -0.01823420263826847, 0.02037704549729824, 0.00018820288823917508, 0.0066553205251693726, 0.06083666533231735, 0.015203749760985374, 0.013596070930361748, 0.06088284030556679, -0.011014715768396854, 0.024417055770754814, -0.0007612417102791369, 0.024302992969751358, -0.015138995833694935, 0.041370972990989685, -0.013461994007229805, -0.05278005823493004, 0.011783239431679249, 0.0015201305504888296, -0.014780505560338497, -0.05423149839043617, 0.07207565009593964, 0.0258391872048378, -0.005459552630782127, -0.05935048684477806, 0.058752212673425674, -0.04769992455840111, 0.018987711519002914, -0.005114326719194651, -0.0297071672976017, -0.02897592820227146, 0.05820457264780998, -0.004453704226762056, -0.030851909890770912, 0.061195023357868195, 0.012228552252054214, -0.030751515179872513, 0.014270988292992115, 0.10611075162887573, 0.0931917279958725, 0.06416978687047958, 0.002459509065374732, 0.06177161633968353, -0.059736307710409164, -0.03764393925666809, 0.012196343392133713, -0.019869960844516754, -0.006791311781853437, -0.023988131433725357, 0.036361146718263626, 0.07970473915338516, -0.0313771590590477, 0.05912071838974953, -0.025476951152086258, -0.027812570333480835, 0.005112936720252037, -0.0006257928325794637, -0.0025270157493650913, 0.06269743293523788, 0.022850988432765007, 0.0465799942612648, -0.018427640199661255, -0.042379241436719894, 0.02461911179125309, -0.0009235679754056036, 0.006344377528876066, -0.017751960083842278, 0.012469086796045303, 0.006509056780487299, 0.028553467243909836, 0.02001466602087021, 0.0612671822309494, -0.03796105459332466, -0.02193329483270645, 0.011364415287971497, 0.03348055109381676, -0.01248275674879551, 0.002512149978429079, -0.017292067408561707, -0.013970848172903061, -0.017451098188757896, -0.021815728396177292, -0.01160912774503231, -0.004225300624966621, -0.013411752879619598, 0.022935010492801666, -0.03555360808968544, 0.02492225170135498, 0.025263844057917595, -0.038669053465127945, -0.061963774263858795, -0.07126244157552719, -0.013486108742654324, -0.06196277588605881, -0.0849846675992012, 0.022699756547808647, -0.003407600335776806, -0.047521136701107025, -0.027218565344810486, -0.03612828254699707, -0.014929970726370811, -0.06243341043591499, 0.02295488677918911, -0.030039548873901367, -0.035774584859609604, 0.01506523322314024, 0.024649394676089287, 0.02830113284289837, 0.029828684404492378, 0.056653715670108795, -0.006447605788707733, -0.003788793459534645, -0.041584696620702744, -0.01638307049870491, 0.024326032027602196, 0.04308925196528435, 0.023532411083579063, -0.0736745148897171, 0.017965370789170265, 0.002173127606511116, -0.0042731184512376785, -0.0865878313779831, -0.005590524524450302, 0.03502114862203598, -0.0376950167119503, 0.021594395861029625, -0.014905009418725967, -0.007921459153294563, -0.04367797076702118, 0.002883425448089838, 0.0009381003328599036, -0.006596273276954889, 0.05456503480672836, -0.04571986943483353, 0.07598042488098145, -0.00034058053279295564, -0.030338257551193237, -0.021735168993473053, -0.0038405568338930607, -0.029197052121162415, 0.044752851128578186, -0.05856170877814293, -0.03764820843935013, -0.03465017303824425, -0.08491338789463043, 0.0032733965199440718, -0.023318195715546608, -0.031764108687639236, -0.0322084054350853, 0.021137630566954613, 0.03887144476175308, -0.0635393038392067, 0.07058215141296387, -0.03939191997051239, 0.02747217006981373, -0.030605139210820198, -0.01539226621389389, 0.02458832785487175, 0.051387969404459, 0.022085854783654213, -0.0014721036422997713, 0.022593168541789055, -0.04903955012559891, 0.01987803541123867, -0.019542256370186806, 0.004865026101469994, 0.018675286322832108, 0.016629019752144814, 0.03068375587463379 ]
[ -0.11062773317098618, -0.022046858444809914, -0.028554119169712067, -0.007080545648932457, -0.008678694255650043, -0.026204779744148254, -0.02707734704017639, 0.04535308852791786, 0.002045935019850731, -0.02785494364798069, -0.005800688173621893, -0.06628761440515518, 0.0137397525832057, 0.005138156469911337, 0.05832192674279213, 0.008248013444244862, -0.00948622077703476, -0.018052130937576294, -0.02819894813001156, 0.016532253473997116, 0.021198438480496407, -0.06166243553161621, -0.0605962835252285, -0.055428244173526764, 0.024743620306253433, 0.059666965156793594, 0.01288303080946207, -0.05938657000660896, 0.01633303426206112, -0.23789912462234497, -0.014374295249581337, -0.006968096364289522, 0.04413778707385063, -0.041015625, 0.020551560446619987, 0.028109723702073097, -0.0012638687621802092, 0.018539026379585266, -0.010634955018758774, 0.03213246166706085, 0.02746204473078251, 0.032054703682661057, -0.0362422801554203, -0.02152484655380249, 0.0337444469332695, -0.008966037072241306, -0.043518830090761185, -0.015833212062716484, -0.008264216594398022, 0.02719196118414402, -0.062174469232559204, -0.0036396682262420654, -0.001342763309367001, 0.013844620436429977, 0.002716062357649207, 0.04631158709526062, 0.036428142338991165, 0.05488600209355354, -0.0026772713754326105, 0.020179124549031258, 0.004286485258489847, -0.011132363229990005, -0.12844432890415192, 0.11087606102228165, 0.036377690732479095, 0.03562336415052414, -0.03029930405318737, -0.03515002503991127, -0.02598557062447071, 0.11632242798805237, 0.009984624572098255, -0.039444196969270706, -0.025210104882717133, 0.06000545620918274, 0.03223138675093651, -0.0179914440959692, -0.03866684064269066, 0.023764798417687416, 0.023357771337032318, -0.035441089421510696, -0.03058403544127941, -0.013715030625462532, -0.027421211823821068, -0.028329046443104744, -0.008639387786388397, 0.005910451989620924, -0.007480726111680269, 0.050421494990587234, 0.00832569319754839, 0.003487743902951479, 0.008224483579397202, -0.021638229489326477, -0.010713539086282253, 0.005257592536509037, -0.04995144531130791, -0.007468667812645435, 0.005540477577596903, 0.004583609756082296, -0.02568739652633667, 0.4023115336894989, -0.032536935061216354, -0.009295318275690079, 0.07683183252811432, 0.010020391084253788, -0.024247614666819572, -0.004467403516173363, -0.004059010185301304, -0.05661994218826294, -0.01398479100316763, -0.041254810988903046, -0.011079874821007252, -0.02040034718811512, 0.09195403009653091, -0.04563361406326294, 0.00989407766610384, -0.023096507415175438, 0.05261833965778351, -0.0004161396063864231, 0.019328588619828224, 0.015475230291485786, 0.0020744965877383947, 0.04239070415496826, 0.005129683762788773, 0.007006755564361811, 0.005692361854016781, -0.006880810484290123, 0.005456301849335432, 0.027903679758310318, 0.037026822566986084, 0.037386149168014526, 0.057874470949172974, -0.048233821988105774, -0.04337918385863304, 0.002945892745628953, 0.005826464854180813, 0.015838418155908585, 0.044192876666784286, -0.026767078787088394, 0.01771778054535389, 0.024318022653460503, -0.019289962947368622, -0.01685691438615322, 0.038986507803201675, -0.0011282195337116718, 0.0005341594805940986, 0.1363288015127182, -0.011324292048811913, -0.055898938328027725, -0.012718179263174534, -0.05429144948720932, 0.02053776942193508, 0.02201906591653824, 0.008855822496116161, -0.060383375734090805, 0.020869344472885132, 0.017958972603082657, 0.053987354040145874, 0.015398615039885044, -0.06303129345178604, 0.023510048165917397, -0.017230050638318062, -0.020201116800308228, -0.04302942752838135, 0.08395230025053024, 0.026133092120289803, -0.07474511116743088, -0.025460150092840195, 0.028912505134940147, 0.015499931760132313, -0.09197654575109482, 0.02327978052198887, 0.053610462695360184, -0.03521743789315224, 0.038560401648283005, 0.06527142226696014, -0.02187073789536953, -0.0409240648150444, 0.01042095571756363, 0.03116975724697113, 0.021704131737351418, -0.017003044486045837, 0.008593891747295856, -0.05821000039577484, 0.0021861610002815723, -0.04132602736353874, -0.05632852762937546, -0.05972006544470787, 0.013869892805814743, -0.032885853201150894, -0.021652735769748688, 0.02171320468187332, -0.01824982836842537, -0.06463456898927689, 0.07064969092607498, -0.023415403440594673, -0.023290013894438744, 0.018423615023493767, -0.009077317081391811, -0.004236470442265272, -0.006412730552256107, 0.005244283005595207, 0.02568723075091839, -0.032894816249608994, 0.018986210227012634, -0.043212927877902985, 0.030515944585204124, 0.05607270449399948, -0.05990682914853096, 0.07766634225845337, 0.04409998282790184, -0.0017360992496833205, -0.028587330132722855, -0.015260032378137112, 0.01378893107175827, 0.012173563241958618, -0.022619839757680893, 0.007624756544828415, -0.014334618113934994, 0.012995649129152298, 0.03802407905459404, -0.0006128702079877257, -0.06667923927307129, -0.06032153218984604, -0.35713574290275574, -0.07300183922052383, -0.018133999779820442, -0.014274654909968376, -0.003564503276720643, -0.07392027974128723, -0.007349937688559294, -0.026048196479678154, -0.025541633367538452, 0.026319310069084167, 0.05563998222351074, -0.015032241120934486, 0.0071439314633607864, -0.09475956112146378, -0.004769694060087204, 0.02077380008995533, -0.019797522574663162, -0.015988484025001526, -0.019746797159314156, 0.035484425723552704, -0.012284157797694206, 0.03521844372153282, -0.06165860965847969, -0.051371656358242035, -0.029184581711888313, -0.052450329065322876, 0.12073896825313568, 0.012010777369141579, 0.06926769018173218, -0.03977273777127266, 0.061739932745695114, -0.00911067146807909, -0.007496868725866079, 0.002029689960181713, -0.003532583825290203, -0.021467115730047226, -0.010640058666467667, -0.0018395321676507592, 0.021605346351861954, -0.033588193356990814, -0.06518684327602386, -0.0035883327946066856, -0.03364010900259018, -0.01694430783390999, -0.04746236279606819, 0.036548957228660583, -0.02701779082417488, -0.05949845537543297, -0.0031860072631388903, 0.09801734238862991, 0.00991576723754406, 0.013742448762059212, 0.02598501555621624, 0.021982697769999504, 0.018505843356251717, 0.00523715652525425, -0.04846067726612091, -0.016146527603268623, 0.010365164838731289, -0.03482641652226448, 0.021085185930132866, 0.04622340202331543, 0.054524388164281845, 0.0024834692012518644, -0.005469400901347399, 0.044401220977306366, -0.006280485074967146, -0.0034227536525577307, 0.035562317818403244, 0.0005365042597986758, -0.02180653251707554, 0.07464943826198578, 0.02186509780585766, 0.020298419520258904, 0.009995225816965103, 0.04988960549235344, 0.006321257911622524, 0.0840534195303917, 0.05503265559673309, -0.0028201218228787184, 0.030483582988381386, -0.03291488066315651, 0.026913894340395927, -0.04341023415327072, 0.006102914921939373, -0.00545344827696681, -0.03841844201087952, 0.005597324576228857, 0.03492791950702667, -0.004873163532465696, -0.008235963992774487, 0.05416186526417732, -0.006714438553899527, -0.03937103599309921, 0.05544725060462952, 0.0026410638820379972, -0.27641522884368896, 0.04626339673995972, 0.0586063452064991, 0.02775745838880539, -0.030722394585609436, 0.0024825199507176876, -0.0031846289057284594, -0.03816679120063782, 0.009769641794264317, -0.038245443254709244, 0.0018139478052034974, 0.06594114750623703, 0.017505763098597527, -0.01565660908818245, 0.015139317139983177, -0.021060772240161896, 0.036571942269802094, -0.012235875241458416, 0.027812078595161438, 0.021025018766522408, 0.04833264276385307, 0.002247806638479233, 0.2065533697605133, 0.05210065469145775, 0.01843792013823986, 0.006818381138145924, 0.014921456575393677, -0.0007755309343338013, 0.049864087253808975, 0.025231225416064262, -0.011542950756847858, 0.002329925773665309, 0.04742354527115822, -0.01329622883349657, 0.03986618295311928, -0.04368356615304947, -0.01896308735013008, 0.06649307906627655, 0.013222145847976208, -0.019644368439912796, -0.02563377283513546, 0.021500691771507263, -0.0445566400885582, 0.02558203972876072, 0.07026834040880203, 0.0029748983215540648, 0.016643663868308067, -0.017988936975598335, -0.05786988511681557, 0.010890434496104717, -0.007913604378700256, -0.018095867708325386, -0.006413343362510204, -0.01625197008252144, -0.010261688381433487, 0.0660603940486908, -0.004469386301934719, -0.037613511085510254, -0.002826089970767498, 0.01926225610077381, -0.026017650961875916, -0.0314788892865181, 0.09326059371232986, -0.00838722474873066, 0.05965358018875122 ]
[ 0.004257350694388151, 0.07191392034292221, -0.0452263280749321, -0.007530673872679472, -0.03743710741400719, 0.0038803850766271353, 0.024472085759043694, 0.00971708819270134, -0.03902614861726761, -0.012417273595929146, -0.039039887487888336, -0.00703854626044631, 0.02443392015993595, -0.022642336785793304, -0.021689966320991516, 0.0180775485932827, 0.007963900454342365, 0.03227214887738228, 0.0031758046243339777, -0.030092818662524223, -0.03311227262020111, -0.020155487582087517, 0.007070929277688265, -0.01416692603379488, -0.0006430414505302906, 0.024146242067217827, -0.031526487320661545, -0.017330581322312355, 0.03348926827311516, -0.11519970744848251, -0.023966865614056587, -0.01694164238870144, -0.002264920622110367, 0.006095313001424074, -0.009844020009040833, -0.00379947735927999, -0.0012299430090934038, -0.0109554473310709, 0.017506027594208717, 0.015321087092161179, 0.03632066771388054, -0.008794776163995266, -0.02601839415729046, 0.013283738866448402, 0.0038977491203695536, -0.0117877796292305, -0.008218853734433651, -0.01837194710969925, 0.003415066748857498, 0.013279292732477188, -0.053717486560344696, 0.030463751405477524, -0.006181672681123018, -0.0022485542576760054, 0.015291428193449974, -0.043562036007642746, -0.02208845689892769, -0.03876267746090889, 0.03333773463964462, 0.024033185094594955, 0.0294919665902853, -0.015558852814137936, -0.03808740898966789, -0.03579266369342804, -0.026273712515830994, -0.007347645703703165, -0.0226278193295002, -0.010675272904336452, -0.012537285685539246, -0.006567436270415783, 0.012844870798289776, 0.04614900425076485, -0.030378002673387527, -0.03640923649072647, -0.008930541574954987, -0.015416780486702919, 0.013250822201371193, -0.046280160546302795, 0.0058790589682757854, -0.008251246996223927, 0.016950441524386406, 0.006317776162177324, 0.024479366838932037, 0.010702253319323063, 0.02324691042304039, -0.028617151081562042, -0.007860381156206131, 0.011135957203805447, 0.04514634236693382, -0.002591170836240053, -0.01110658049583435, 0.01029848400503397, 0.02575293928384781, 0.049375616014003754, -0.0762835144996643, 0.01689366064965725, -0.010190390050411224, -0.007445645984262228, -0.0055224960669875145, 0.8506820797920227, -0.029148003086447716, 0.026371048763394356, 0.021712303161621094, 0.007778842933475971, -0.022461550310254097, -0.0019343646708875895, 0.020318597555160522, 0.03148335590958595, -0.0077803065069019794, -0.0498565137386322, 0.0224808007478714, -0.021747544407844543, 0.0310506671667099, 0.0281626395881176, -0.008286924101412296, -0.006650633178651333, 0.013215074315667152, -0.01973755471408367, 0.0017204347532242537, -0.011373760178685188, 0.028691403567790985, 0.029111159965395927, 0.03211098536849022, 0.03809254243969917, 0.024097949266433716, -0.15179139375686646, -0.03242354094982147, -7.047768950535152e-33, 0.041808780282735825, -0.027445048093795776, 0.030634108930826187, 0.016481956467032433, 0.058041177690029144, 0.028596321120858192, 0.010707446373999119, -0.033055778592824936, -0.03198779746890068, -0.007068639155477285, -0.00260632555000484, -0.0077867209911346436, -0.044132575392723083, 0.012715407647192478, 0.028143886476755142, -0.012059899978339672, 0.012835153378546238, 0.02222229540348053, -0.01483624055981636, -0.026498818770051003, 0.011548986658453941, 0.019137170165777206, -0.0028176670894026756, 0.03838186711072922, 0.020702678710222244, 0.021624891087412834, -0.005904959514737129, -0.010449537076056004, 0.028552433475852013, -0.043145861476659775, -0.01769830472767353, 0.02678721398115158, -0.04577746242284775, -0.016715869307518005, 0.019178077578544617, -0.035583458840847015, -0.0042840056121349335, 0.025699755176901817, 0.007336947601288557, -0.01227968093007803, -0.057995546609163284, 0.029099417850375175, -0.01651076041162014, -0.02325788326561451, 0.01613745093345642, -0.030973779037594795, 0.025238363072276115, 0.03689252585172653, -0.013214917853474617, 0.022119995206594467, 0.006532478611916304, 0.040728937834501266, 0.014589976519346237, -0.005916017573326826, -0.014694211073219776, -0.023625509813427925, -0.005056689493358135, 0.02370668575167656, 0.021202342584729195, 0.052428122609853745, -0.007834178395569324, 0.0037948081735521555, -0.010615433566272259, 0.030754681676626205, -0.003288561012595892, -0.002078370423987508, 0.04219445958733559, -0.01569877378642559, -0.00023210502695292234, 0.0311959907412529, -0.04313354939222336, 0.013970469124615192, -0.013437328860163689, -0.03145774453878403, 0.03217330574989319, -0.04366805776953697, -0.035919059067964554, -0.003138602478429675, -0.03338960185647011, 0.012904041446745396, 0.016094569116830826, 0.01836748793721199, 0.010610038414597511, -0.034718114882707596, -0.024949215352535248, -0.009910156950354576, 0.01410562451928854, 0.03583858534693718, -0.016590315848588943, -0.01957431249320507, 0.02458164282143116, 0.02553282305598259, -0.02135624922811985, 0.016668476164340973, -0.017259621992707253, 7.218120857172349e-33, -0.04092348366975784, -0.003953110426664352, -0.006405136082321405, 0.004744746256619692, -0.0014433651231229305, 0.003237611148506403, 0.06069747731089592, -0.010731149464845657, -0.007254570722579956, 0.0292766522616148, 0.030503055080771446, 0.02182770147919655, -0.0130385123193264, 0.043137457221746445, 0.045757655054330826, -0.021518051624298096, -0.006846548058092594, 0.013337837532162666, -0.0037418692372739315, -0.009345056489109993, 0.018230896443128586, 0.0050855837762355804, -0.004104042891412973, 0.02149556204676628, 0.018929043784737587, 0.05083847418427467, 0.019556349143385887, -0.013380245305597782, -0.0009332157205790281, 0.014789950102567673, 0.007839273661375046, -0.03527965024113655, 0.005400886293500662, -0.03525526821613312, 0.009107187390327454, 0.05396561697125435, 0.003344709984958172, 0.0015508835203945637, 0.011811981908977032, -0.00847273226827383, 0.029769746586680412, -0.01687859185039997, 0.03260774165391922, 0.017687639221549034, -0.01062841061502695, 0.001227178960107267, 0.01677248626947403, -0.0035480763763189316, 0.007668689358979464, 0.03836576268076897, -0.006024278234690428, 0.010893693193793297, 0.005128310061991215, 0.004618123173713684, -0.002170461928471923, -0.015580873936414719, -0.015415262430906296, 0.02344755083322525, -0.027974778786301613, -0.023150747641921043, -0.04407065734267235, -0.01390660647302866, 0.00872364453971386, 0.009072310291230679, -0.01063169352710247, 0.03850404918193817, -0.054626818746328354, -0.05199848487973213, -0.007076906971633434, 0.004883611109107733, -0.023798547685146332, 0.009504147805273533, -0.03188561648130417, 0.029216082766652107, -0.023989036679267883, -0.009215145371854305, -0.012548228725790977, 0.015567593276500702, -0.00032031541923061013, 0.02816483937203884, 0.03161248564720154, -0.016785435378551483, 0.05660029873251915, -0.04119603708386421, -0.02296670340001583, -0.026758551597595215, 0.012182400561869144, 0.008995268493890762, 0.01787334494292736, -0.003456296632066369, 0.010007581673562527, -0.034011196345090866, -0.0028817274142056704, 0.033699486404657364, 0.02281167544424534, -1.2812179761567677e-8, -0.036724161356687546, -0.009333333000540733, -0.022231537848711014, -0.014728412963449955, 0.007876108400523663, -0.009177049621939659, -0.027546625584363937, -0.010848592035472393, -0.03036426194012165, -0.025888724252581596, 0.020493222400546074, 0.005496414378285408, 0.00007514825847465545, 0.018992042168974876, 0.022079182788729668, -0.03891946002840996, 0.021723313257098198, -0.06003273278474808, 0.026276856660842896, -0.01714690402150154, -0.003277548821642995, 0.03364323079586029, 0.010603947564959526, 0.03699313476681709, -0.03353564441204071, -0.034222669899463654, 0.020289091393351555, -0.08482903987169266, 0.0041803657077252865, 0.00828413013368845, 0.026175158098340034, -0.02430129610002041, 0.01434310432523489, 0.0397629588842392, -0.026898248121142387, -0.04522935301065445, -0.00020548643078655005, 0.012187912128865719, 0.021895354613661766, -0.0126338554546237, -0.024667497724294662, -0.031117262318730354, -0.010348585434257984, -0.03721265867352486, -0.032388631254434586, -0.00057346245739609, -0.01832827739417553, -0.023491179570555687, 0.02051488868892193, -0.035294968634843826, 0.01841537468135357, -0.00375418271869421, 0.04463401064276695, 0.019577495753765106, 0.025772832334041595, 0.0013533533783629537, 0.02419365756213665, -0.038457222282886505, -0.0010480100754648447, 0.006164268124848604, 0.007952139712870121, 0.010320820845663548, 0.008554631844162941, -0.015659982338547707 ]
functional-programming-shaping-the-data-to-fit-a-function
https://markhneedham.com/blog/2012/03/13/functional-programming-shaping-the-data-to-fit-a-function
false
2012-03-14 21:25:40
Mercurial: hg push to Google Code
[ "mercurial", "hg" ]
[ "Version Control" ]
I wanted to make a change to add +++<cite>+++flatMap+++</cite>+++ to +++<cite>+++Option+++</cite>+++ in https://code.google.com/p/totallylazy/[totallylazy] so I had to https://code.google.com/r/mhneedham-totally-lazy/[clone the repository] and make the change. I thought I'd then be able to just push the change using my Google user name and password but instead ended up with the following error: [source,text] ---- ➜ mhneedham-totally-lazy hg push pushing to https://[email protected]/r/mhneedham-totally-lazy/ searching for changes 1 changesets found http authorization required realm: Google Code hg Repository user: m.h.needham password: abort: HTTP Error 403: Forbidden ---- It turns out that you need to specifically set an option to use your Google account from the https://code.google.com/hosting/settings[settings page]: image::{{<siteurl>}}/uploads/2012/03/googlecode.gif[Googlecode,600] And then it works!
null
null
[ 0.004032272845506668, -0.018253296613693237, -0.018496932461857796, 0.02581719681620598, 0.07350005954504013, 0.006466640625149012, 0.037112653255462646, 0.029480237513780594, 0.012150593101978302, -0.02360931970179081, -0.04049178212881088, -0.02842636965215206, -0.06517791002988815, 0.01363944448530674, -0.014995284378528595, 0.07463626563549042, 0.06411384046077728, -0.0156867653131485, -0.024219132959842682, 0.028870614245533943, 0.045926284044981, 0.07118182629346848, -0.006122157443314791, -0.00408562459051609, 0.022768214344978333, 0.035223666578531265, 0.018763646483421326, 0.006138663738965988, -0.0769948810338974, -0.025707945227622986, 0.06467508524656296, -0.0019081630744040012, 0.03643203526735306, 0.022245466709136963, 0.00532683776691556, -0.02055858075618744, -0.041920509189367294, 0.009767924435436726, 0.011025628075003624, 0.02204011008143425, -0.02630084753036499, -0.0002952998620457947, -0.04111756756901741, -0.0010132818715646863, -0.02001529186964035, -0.00566648505628109, -0.03219981864094734, 0.012073216959834099, -0.054923687130212784, -0.053203582763671875, -0.045930489897727966, 0.02636151760816574, -0.011227120645344257, -0.0037945499643683434, 0.021462954580783844, 0.03157747536897659, 0.005390264093875885, -0.07303093373775482, 0.031297244131565094, -0.03834764286875725, -0.01871386356651783, 0.006118386518210173, 0.011364266276359558, 0.013514204882085323, -0.007977339439094067, -0.01792280003428459, -0.02337362803518772, 0.06503765285015106, -0.04538685083389282, -0.019635923206806183, -0.0011048669693991542, 0.004095361102372408, -0.00005768984919996001, -0.004063398111611605, -0.010372592136263847, -0.047818902879953384, -0.019221674650907516, 0.07243766635656357, 0.008799436502158642, 0.06677592545747757, -0.014362423680722713, -0.005473521538078785, 0.015555615536868572, 0.019510377198457718, -0.015606851316988468, -0.04355142265558243, -0.020168565213680267, -0.019849415868520737, -0.04592673480510712, 0.08754295855760574, -0.008046713657677174, -0.06855759024620056, 0.04421645402908325, 0.04568836838006973, 0.031655870378017426, -0.003171463031321764, 0.006126561667770147, 0.0146056292578578, 0.030340319499373436, 0.018114259466528893, -0.06247621402144432, -0.011966957710683346, 0.005014803726226091, -0.011987363919615746, -0.06615909934043884, 0.03407055884599686, -0.021192187443375587, -0.038355886936187744, -0.019900953397154808, -0.013024697080254555, -0.028573090210556984, 0.03237415850162506, -0.01392368134111166, -0.013042133301496506, -0.0479111410677433, 0.09065352380275726, -0.005540187936276197, -0.0349268838763237, -0.013769022189080715, 0.04482900723814964, 0.043922893702983856, 0.0025989366695284843, 0.0034320089034736156, 0.06380853801965714, 0.04102637618780136, 0.049569807946681976, 0.003114120103418827, 0.022269532084465027, -0.011910312809050083, -0.07035340368747711, -0.002379216253757477, 0.091703861951828, -0.003930536098778248, -0.0003766855807043612, -0.01596110500395298, -0.0005414172192104161, -0.022379567846655846, 0.0069030155427753925, 0.05491530895233154, -0.008013819344341755, -0.035245005041360855, -0.001332008047029376, -0.020306166261434555, -0.01856250688433647, 0.047278959304094315, 0.0369550958275795, 0.028500627726316452, 0.0007937874179333448, -0.061099823564291, -0.00004174329660600051, 0.027783745899796486, 0.02563636004924774, 0.03387320414185524, -0.0277719683945179, -0.008639334701001644, 0.08617880195379257, 0.012895532883703709, 0.020660439506173134, -0.008826560340821743, 0.019649531692266464, 0.034534551203250885, 0.03615909069776535, -0.007209579460322857, 0.0617532953619957, 0.003593994537368417, -0.026589835062623024, 0.0003242641978431493, 0.03574063256382942, 0.00012035506370011717, 0.013075343333184719, -0.06300699710845947, -0.07483122497797012, 0.06706138700246811, -0.006390390917658806, -0.008862665854394436, 0.03015179932117462, 0.09910256415605545, 0.013252302072942257, 0.061948683112859726, 0.004207397811114788, -0.06601498275995255, 0.013432474806904793, 0.048736363649368286, 0.023672455921769142, 0.018600760027766228, 0.00934853870421648, 0.09413228183984756, 0.011508182622492313, 0.054370373487472534, 0.027705736458301544, -0.09078720957040787, -0.04483328387141228, -0.013773578219115734, 0.01281322818249464, 0.07629316300153732, 0.018118157982826233, 0.005478415638208389, 0.09366296976804733, 0.021407518535852432, 0.06696590781211853, 0.04185560718178749, 0.0008150586509145796, 0.0326695442199707, -0.06415198743343353, -0.04191138595342636, 0.006654360797256231, 0.030880669131875038, -0.043123260140419006, -0.03116384707391262, 0.022401900961995125, -0.02719084545969963, 0.013458951376378536, 0.03844413161277771, -0.006374645978212357, 0.025910429656505585, -0.009451174177229404, 0.06455864012241364, -0.007721734698861837, 0.05319592356681824, -0.04419129341840744, 0.032200805842876434, 0.010491731576621532, -0.029543112963438034, 0.0007419746834784746, -0.013250906951725483, 0.10396362096071243, 0.07553186267614365, -0.014430544339120388, -0.032572757452726364, 0.0268558282405138, -0.008252530358731747, -0.019496964290738106, 0.034505631774663925, -0.0006321137771010399, 0.015897998586297035, -0.016255035996437073, 0.013162201270461082, -0.014159335754811764, 0.01327937189489603, -0.03369370102882385, 0.039397694170475006, 0.07570704072713852, 0.008745046332478523, 0.037731658667325974, -0.03477287292480469, -0.011233317665755749, -0.027425946667790413, -0.022841403260827065, -0.07306729257106781, -0.0003778273530770093, 0.02292696014046669, -0.020052211359143257, 0.05261073261499405, -0.031123779714107513, -0.009144311770796776, -0.016166245564818382, -0.041455380618572235, -0.009343927726149559, 0.0036534310784190893, 0.045904092490673065, -0.018350757658481598, 0.057568393647670746, -0.003369372570887208, -0.01792190782725811, -0.022852174937725067, -0.029111048206686974, -0.022900661453604698, -0.026070361956954002, -0.04139866679906845, -0.003651577513664961, 0.041755564510822296, 0.04845957085490227, 0.017098791897296906, -0.0016176672652363777, 0.02553384192287922, 0.009568965062499046, 0.038119830191135406, 0.03392043709754944, 0.004090383183211088, -0.0331292450428009, 0.0197432991117239, 0.03748458996415138, -0.035809699445962906, -0.03933989629149437, 0.01796320639550686, -0.06579243391752243, 0.04766494780778885, -0.07585696130990982, -0.03186257928609848, 0.0037452864926308393, 0.027841439470648766, 0.048842497169971466, -0.013289629481732845, 0.033271674066782, 0.055883701890707016, -0.035712167620658875, 0.0017045841086655855, 0.0032075229100883007, -0.005084161646664143, 0.07795284688472748, 0.004732245579361916, 0.011801011860370636, 0.03740975633263588, -0.02531227469444275, -0.012791099958121777, -0.07156607508659363, 0.02105093188583851, -0.025159351527690887, -0.2658311724662781, 0.0643463283777237, 0.035293880850076675, -0.0329132042825222, 0.0117043973878026, 0.03125057369470596, 0.0030709293205291033, -0.014183319173753262, -0.009652618318796158, 0.028457846492528915, 0.019371910020709038, -0.03914809599518776, -0.012249977327883244, 0.011473439633846283, -0.013231532648205757, 0.04051506519317627, 0.0005192067474126816, -0.04858502745628357, -0.023621847853064537, -0.012163312174379826, -0.03236443176865578, -0.03395981341600418, 0.02319161966443062, 0.03499659523367882, 0.04204689711332321, 0.03602810204029083, -0.060555893927812576, 0.06325358152389526, -0.06563244760036469, -0.02860916033387184, 0.04473848268389702, -0.020454196259379387, -0.005582749377936125, 0.002291184850037098, -0.012266583740711212, 0.006390231661498547, 0.02627589926123619, 0.04893924295902252, -0.00035752044641412795, 0.004693794529885054, -0.006982023827731609, -0.041762351989746094, -0.014900974929332733, -0.008786073885858059, 0.09296195209026337, -0.04308342561125755, -0.09025851637125015, 0.004046253859996796, -0.017499851062893867, 0.06671227514743805, -0.021024085581302643, -0.04127040132880211, -0.01733223907649517, 0.039769385010004044, -0.013507389463484287, 0.0014218359719961882, -0.01609591767191887, -0.007061220705509186, -0.06159968301653862, -0.02069288305938244, 0.011125460267066956, -0.022024238482117653, -0.038770053535699844, -0.03439362347126007, 0.0020879332441836596, -0.0778491348028183, -0.062017228454351425, -0.01809733361005783, 0.07798242568969727, 0.03479527682065964, -0.02358616515994072, 0.01048471312969923, -0.010369784198701382, -0.11101395636796951, -0.03509997949004173, -0.043863534927368164, -0.02916582301259041, 0.008349673822522163, -0.02461390756070614, 0.01936512440443039, -0.07742754369974136, -0.029036466032266617, 0.0160308126360178, 0.016070835292339325, 0.00810210220515728, -0.020672431215643883, 0.027845283970236778, -0.02603454329073429, -0.026711193844676018, 0.0026394063606858253, 0.06473417580127716, -0.04699995741248131, -0.019390711560845375, -0.01313546672463417, -0.014210005290806293, 0.01802660897374153, -0.015790846198797226, 0.011251673102378845, 0.0010279162088409066, 0.03571205958724022, 0.024359192699193954, -0.04073476791381836, 0.03744089975953102, -0.03747863322496414, -0.011009424924850464, 0.0321800522506237, -0.05459621548652649, 0.020952565595507622, 0.01618153043091297, 0.02937549538910389, -0.03445953130722046, 0.004297845996916294, 0.004277731291949749, -0.045607130974531174, -0.06855957210063934, 0.006903700064867735, -0.01111583225429058, 0.012271357700228691, 0.002534557366743684, -0.035045213997364044, -0.043652717024087906, 0.029803816229104996, 0.043542493134737015, -0.0047034695744514465, -0.03454677760601044, 0.011743280105292797, -0.020466534420847893, -0.00601798202842474, 0.04480060562491417, 0.013117841444909573, -0.009671059437096119, 0.00969585683196783, -0.016485394909977913, -0.04683566093444824, -0.0026953215710818768, -0.0331171378493309, -0.003991866949945688, -0.023674603551626205, -0.02829740010201931, 0.012968901544809341, -0.027674037963151932, -0.0004268326156307012, 0.032747335731983185, 0.013701491989195347, 0.06155667454004288, -0.022571736946702003, 0.04698283225297928, 0.009362506680190563, -0.0020246466156095266, 0.01058320701122284, -0.011456996202468872, -0.09054245054721832, 0.02578708343207836, -0.04617145285010338, -0.01615186035633087, -0.011343986727297306, 0.029428595677018166, -0.015274781733751297, -0.0007176151848398149, -0.04784200340509415, -0.02094539999961853, -0.09907307475805283, -0.005320402793586254, 0.021820131689310074, -0.022587934508919716, 0.07241568714380264, 0.001968956785276532, 0.03967373073101044, -0.03156086429953575, -0.026077792048454285, 0.019617835059762, 0.013820650056004524, -0.028701040893793106, -0.004057147074490786, -0.025442728772759438, 0.013888376764953136, -0.019760150462388992, 0.021888738498091698, 0.014070472680032253, 0.012809431180357933, -0.010752104222774506, -0.019481990486383438, 0.0004297436971683055, -0.01605076715350151, 0.0394696481525898, -0.021651897579431534, 0.006302120629698038, 0.008469869382679462, -0.002825720701366663, -0.051576439291238785, -0.004799455404281616, -0.001139580737799406, -0.0015693677123636007, 0.0030525741167366505, 0.0002639457816258073, -0.08242432773113251, 0.03459867462515831, 0.028504589572548866, 0.04147918522357941, 0.019849037751555443, -0.01739693246781826, 0.025700554251670837, -0.057554975152015686, 0.04800772666931152, 0.07303181290626526, -0.04465123638510704, 0.004744767677038908, -0.02510220743715763, 0.0014959165127947927, -0.009892893955111504, -0.007502805907279253, -0.042056743055582047, -0.016458705067634583, -0.01771884225308895, -0.0021707622800022364, -0.01261142734438181, -0.055613063275814056, 0.02201545424759388, -0.006992015056312084, -0.00620974600315094, -0.01896452158689499, 0.01723548397421837, 0.032061994075775146, 0.004748954437673092, -0.06106017529964447, 0.014496849849820137, 0.0039043715223670006, 0.0019700899720191956, 0.03443574905395508, -0.02353965863585472, 0.049420297145843506, -0.009945066645741463, 0.03446491062641144, 0.00894203968346119, -0.002197727095335722, -0.01373573113232851, 0.0021198182366788387, -0.009934505447745323, -0.010206960141658783, 0.03314102813601494, -0.010363471694290638, 0.0011749081313610077, -0.0430125966668129, -0.015797991305589676, -0.015203897841274738, 0.011196543462574482, -0.02913784235715866, -0.01846799999475479, 0.03325172886252403, 0.04493539035320282, 0.02136101946234703, -0.0008521340787410736, 0.011898561380803585, -0.024597959592938423, 0.04594530537724495, -0.07907441258430481, -0.03872587904334068, -0.022886749356985092, -0.025733808055520058, 0.03002755157649517, 0.032910995185375214, 0.02402842789888382, -0.03312721103429794, 0.011888560838997364, 0.023943474516272545, 0.004397139418870211, 0.03834809735417366, -0.030248301103711128, 0.008883953094482422, -0.03052970953285694, -0.016535071656107903, -0.07892195880413055, 0.003895260626450181, -0.015325728803873062, -0.03885066509246826, -0.0006246942793950438, -0.0066372486762702465, -0.07262063771486282, 0.013778015971183777, -0.03773193806409836, -0.037073273211717606, 0.034723710268735886, 0.016694819554686546, -0.027412408962845802, 0.04536495730280876, -0.06148560345172882, 0.029383976012468338, 0.03558938577771187, -0.052366744726896286, -0.02219022624194622, -0.03297498822212219, 0.033803537487983704, 0.005316246300935745, 0.03956141322851181, -0.0402788445353508, -0.02981228567659855, 0.0680546909570694, 0.024121440947055817, 0.020346712321043015, 0.002363796578720212, -0.01515243574976921, 0.010842098854482174, 0.039324190467596054, 0.036193426698446274, 0.0026276162825524807, 0.028951851651072502, -0.013826359063386917, -0.06860078126192093, 0.040616028010845184, -0.024513335898518562, -0.01351015642285347, -0.028223993256688118, 0.06505953520536423, 0.006687156856060028, -0.029164083302021027, -0.036383770406246185, 0.01055446919053793, -0.0629485622048378, -0.06078050658106804, -0.020737316459417343, -0.01664949208498001, -0.01592417061328888, 0.06387388706207275, -0.0022947159595787525, 0.024674853309988976, 0.0443011112511158, -0.0023224051110446453, -0.028058020398020744, 0.007998363114893436, 0.06771955639123917, 0.052999306470155716, 0.008896631188690662, -0.011233854107558727, 0.08287534862756729, 0.03143223002552986, -0.03218161687254906, 0.003378770314157009, -0.022643014788627625, -0.017323078587651253, -0.027523986995220184, -0.0003559772449079901, 0.06577840447425842, -0.04528774321079254, 0.04817548766732216, -0.0020952862687408924, 0.001020809286274016, 0.02009051851928234, 0.014987772330641747, 0.015606881119310856, 0.043564338237047195, 0.022532641887664795, 0.018132079392671585, -0.026999803259968758, -0.02965674176812172, 0.005674587097018957, 0.006520542781800032, -0.0061410157941281796, -0.012059255503118038, -0.02574014849960804, 0.02010105736553669, 0.0033589021768420935, -0.04057539999485016, 0.05305227264761925, -0.009938935749232769, 0.0034746427554637194, -0.01954461634159088, 0.024791521951556206, 0.002969510620459914, 0.0491006039083004, -0.02170528843998909, -0.024427196010947227, -0.004357653204351664, -0.015756098553538322, -0.038252901285886765, 0.02950270101428032, -0.015406903810799122, 0.0342148020863533, -0.021250609308481216, 0.0024882573634386063, -0.017178144305944443, -0.012397579848766327, -0.033978961408138275, 0.004879901651293039, -0.043160878121852875, -0.0627579614520073, -0.03228875622153282, -0.004319651983678341, -0.0041775573045015335, -0.0175213273614645, -0.03813371807336807, -0.01418300997465849, -0.02713938243687153, -0.04101203382015228, 0.00010635787475621328, -0.04945676028728485, -0.018869172781705856, 0.03781433030962944, 0.00892539881169796, 0.013940260745584965, 0.022270577028393745, 0.05209111049771309, 0.013871080242097378, 0.00914794486016035, -0.009288864210247993, -0.0023130527697503567, 0.036326274275779724, 0.0013559611979871988, 0.006840202491730452, -0.06949055194854736, 0.03703758865594864, -0.02611745148897171, 0.0264207124710083, -0.07040616869926453, 0.00658392533659935, 0.0031423389445990324, -0.019358297809958458, 0.08610282838344574, -0.008771148510277271, -0.006473759189248085, -0.004110357724130154, -0.01988748274743557, -0.016279375180602074, -0.015568389557301998, 0.04133625328540802, 0.0011813599849119782, 0.06575630605220795, 0.03443833440542221, -0.044270288199186325, -0.021888865157961845, 0.001116679166443646, -0.018268799409270287, -0.005781424697488546, -0.03872952610254288, -0.03660954535007477, -0.060029178857803345, -0.08826174587011337, -0.0023286635987460613, 0.02654746174812317, -0.04301280900835991, -0.007551812566816807, -0.00875217467546463, 0.01954655721783638, -0.0532904714345932, 0.04955006390810013, -0.0439973846077919, 0.007687715347856283, 0.005636070389300585, -0.0042451778426766396, -0.0026013064198195934, 0.032235823571681976, 0.035609062761068344, 0.018125519156455994, 0.060246046632528305, -0.054098065942525864, 0.028450019657611847, 0.020378123968839645, 0.013647147454321384, 0.021537527441978455, -0.02730652689933777, 0.0297181848436594 ]
[ -0.08105329424142838, -0.034828782081604004, -0.006159285083413124, -0.02606167644262314, 0.02895977348089218, -0.021075986325740814, -0.020451620221138, 0.019231993705034256, -0.032870102673769, -0.006594945210963488, -0.002917812904343009, -0.01690669357776642, 0.01454333309084177, -0.007886857725679874, 0.09649147093296051, 0.043442584574222565, -0.01800890639424324, -0.04383893683552742, -0.05411467328667641, 0.04958193749189377, 0.033991724252700806, 0.004421016667038202, 0.0216645747423172, 0.017473384737968445, -0.005545480642467737, 0.01329957228153944, 0.011228688061237335, -0.00836284551769495, -0.027260860428214073, -0.1791851669549942, 0.014539790339767933, -0.028691167011857033, -0.01798289455473423, 0.003930412232875824, 0.0009299046359956264, 0.041841600090265274, 0.01788918673992157, -0.0049399733543396, 0.007810494862496853, 0.04879084229469299, 0.03540818393230438, 0.013607348315417767, -0.051287464797496796, -0.01834852434694767, 0.036776669323444366, 0.00727394875138998, 0.005145053844898939, 0.00556426215916872, -0.027746371924877167, -0.00014821052900515497, -0.0638742595911026, 0.00024227463291026652, 0.01577189192175865, 0.003427264280617237, -0.007456373423337936, 0.02460603415966034, 0.06569738686084747, 0.09414929896593094, 0.022987568750977516, 0.04025353491306305, 0.042038965970277786, 0.01795448549091816, -0.1607438176870346, 0.11943365633487701, 0.019334161654114723, 0.07111560553312302, -0.03736462444067001, -0.02897486835718155, -0.03305285796523094, 0.08707768470048904, -0.021414829418063164, 0.00945199467241764, -0.08236756920814514, 0.050526946783065796, 0.017286203801631927, 0.009123655036091805, -0.015401662327349186, 0.04415755718946457, 0.017708225175738335, -0.0427885465323925, -0.021077532321214676, -0.02395578846335411, -0.03146616369485855, -0.005506535060703754, -0.0020200444851070642, -0.03280137479305267, 0.0030231631826609373, 0.0438203327357769, 0.015990568324923515, 0.01816578209400177, 0.047759756445884705, -0.06621638685464859, 0.08270024508237839, 0.018370890989899635, -0.09284982830286026, 0.0063201007433235645, -0.01824810914695263, 0.028116989880800247, -0.05011264607310295, 0.41447657346725464, -0.016891267150640488, 0.015087447129189968, 0.0216615442186594, 0.030112827196717262, 0.035784341394901276, -0.01689210720360279, 0.028008876368403435, -0.04649822413921356, 0.014442495070397854, -0.014424510300159454, 0.025392532348632812, 0.010632953606545925, 0.06647419184446335, -0.023148829117417336, 0.01923944056034088, 0.008426707237958908, 0.004809332080185413, 0.023569362238049507, -0.012250952422618866, -0.0015663134399801493, -0.060754869133234024, 0.013799252919852734, 0.022481059655547142, 0.017534730955958366, 0.012889381498098373, 0.010406826622784138, 0.027060654014348984, 0.07893862575292587, 0.04593268409371376, 0.019378257915377617, 0.03302685543894768, -0.01682185009121895, -0.08052737265825272, -0.008403075858950615, -0.019216462969779968, 0.04058158025145531, 0.01493222825229168, -0.03671723231673241, 0.016746005043387413, 0.04038055241107941, -0.03240909054875374, -0.018556080758571625, -0.009675886482000351, 0.004870017524808645, 0.014330578967928886, 0.12088452279567719, -0.02653440833091736, -0.03285941481590271, -0.028076952323317528, -0.04026748985052109, 0.017162606120109558, 0.010259588249027729, 0.010470153763890266, -0.05018042400479317, -0.006526772398501635, -0.007854261435568333, 0.08669044822454453, 0.00467124255374074, -0.009390917606651783, -0.012395141646265984, 0.006038045510649681, -0.028141144663095474, -0.024526098743081093, 0.03213601931929588, 0.060914888978004456, -0.07852549850940704, -0.009782896377146244, -0.01745249517261982, -0.0029685080517083406, -0.05160927399992943, -0.003313960274681449, 0.00555425463244319, -0.028183862566947937, 0.013912721537053585, 0.05715067684650421, -0.02445010095834732, -0.0024208868853747845, 0.012739638797938824, 0.015343647450208664, -0.007472866214811802, -0.014764538034796715, -0.03438189625740051, -0.06096607819199562, 0.009122666902840137, -0.06250739097595215, -0.06636525690555573, -0.05117182433605194, 0.0012026921613141894, -0.003195150988176465, 0.0072851297445595264, -0.0427381731569767, 0.006151291076093912, -0.10787367075681686, 0.016042910516262054, 0.001427487120963633, -0.04192378371953964, -0.022129138931632042, -0.027657274156808853, -0.007964461110532284, -0.045587971806526184, 0.02411949448287487, 0.052633918821811676, -0.03720366209745407, -0.026068713515996933, -0.0494387224316597, 0.023773010820150375, 0.04147031530737877, -0.033374521881341934, 0.08882022649049759, 0.025359289720654488, -0.039169784635305405, 0.003345031989738345, -0.010014691390097141, 0.034630756825208664, 0.0010931581491604447, -0.008168875239789486, -0.014050605706870556, 0.016747238114476204, 0.035691745579242706, 0.0023288088850677013, -0.03061162680387497, -0.01556858979165554, -0.03361104056239128, -0.34329044818878174, -0.06257493793964386, -0.029516255483031273, -0.020722050219774246, -0.003983556292951107, -0.051700323820114136, 0.031778279691934586, -0.02699274569749832, -0.009985383599996567, 0.03798423707485199, 0.12326042354106903, -0.014269309118390083, -0.01354984287172556, -0.03269805386662483, 0.0032500168308615685, 0.00473311822861433, -0.036892566829919815, -0.0015054222894832492, 0.03614668548107147, 0.0022408352233469486, -0.006488984450697899, -0.03139633685350418, 0.0022535461466759443, -0.06825567036867142, -0.005998625420033932, -0.002426011487841606, 0.09737992286682129, 0.08378098905086517, 0.03653676435351372, -0.030173510313034058, 0.056577760726213455, 0.02379174716770649, 0.006774120032787323, -0.16372369229793549, 0.012068744748830795, 0.00024598685558885336, -0.016846895217895508, 0.0228363536298275, 0.02306392788887024, -0.05041123926639557, -0.04637301340699196, 0.02430683933198452, -0.06482722610235214, -0.07089165598154068, -0.011301024816930294, 0.02911304123699665, -0.02700643055140972, -0.041101641952991486, -0.0290672704577446, 0.07908891141414642, -0.010466242209076881, 0.008290057070553303, 0.016785845160484314, 0.04014851525425911, -0.019043561071157455, -0.010065356269478798, -0.03337601199746132, 0.023436972871422768, 0.03614354133605957, 0.006841643247753382, 0.00890547875314951, 0.049779292196035385, 0.05505437031388283, -0.05252761393785477, -0.01761980913579464, -0.021580321714282036, -0.04406529292464256, 0.020151996985077858, 0.02042725309729576, -0.010253733024001122, 0.000004965109837939963, 0.0664045661687851, 0.019222160801291466, 0.04646774381399155, 0.007347004488110542, 0.01906808651983738, -0.02692514657974243, 0.006387747824192047, -0.03935926780104637, -0.04643571376800537, -0.017416348680853844, -0.0009268202702514827, 0.03931739181280136, -0.028069257736206055, -0.047191426157951355, 0.062458544969558716, -0.012999126687645912, -0.03746621683239937, 0.06309445202350616, 0.014346600510179996, -0.03411044552922249, 0.009753657504916191, -0.024688581004738808, -0.05931219831109047, 0.08351487666368484, 0.00164892862085253, -0.25735095143318176, 0.03388269618153572, 0.02851974032819271, 0.062415409833192825, -0.01076691597700119, 0.04675574228167534, 0.06628048419952393, -0.05408056825399399, -0.038375433534383774, 0.0371544249355793, -0.011447347700595856, 0.040317781269550323, -0.02367757447063923, 0.012989053502678871, 0.033625971525907516, -0.017511004582047462, 0.014260509051382542, 0.04150114208459854, -0.02048913761973381, -0.009008407592773438, 0.009044591337442398, -0.02456560544669628, 0.17234192788600922, 0.022493060678243637, -0.014361863024532795, 0.03608332574367523, 0.003807496279478073, 0.05493001267313957, 0.0723797008395195, 0.015505848452448845, -0.039607930928468704, -0.00020274851704016328, 0.028766421601176262, -0.01984402723610401, 0.04698330536484718, -0.07665862888097763, -0.027426153421401978, -0.02230057306587696, 0.02924448996782303, -0.004362103063613176, -0.0394352450966835, 0.022907475009560585, -0.03179259970784187, 0.06834495067596436, 0.08008704334497452, -0.002899070270359516, 0.018359031528234482, 0.011072996072471142, -0.06907931715250015, 0.006394024007022381, -0.029613705351948738, -0.04252283275127411, -0.013849213719367981, 0.04336657002568245, -0.017510050907731056, 0.05385897308588028, 0.022243205457925797, -0.03899938240647316, 0.010519205592572689, 0.003050320316106081, -0.01587122492492199, 0.0002048247988568619, 0.08391250669956207, -0.024225246161222458, 0.0005294977454468608 ]
[ -0.03741079941391945, -0.0013173831393942237, 0.011959941126406193, 0.001901437877677381, -0.013412280939519405, -0.015994198620319366, -0.01267241034656763, 0.003274767892435193, -0.03645922988653183, 0.007141773588955402, 0.03509961813688278, 0.019607802852988243, 0.037920307368040085, -0.05112603306770325, 0.04110366851091385, 0.01964413933455944, 0.014927655458450317, 0.016190487891435623, 0.013661688193678856, -0.008809353224933147, -0.025114746764302254, 0.003039805218577385, 0.04205199331045151, 0.02226005680859089, 0.0005825762054882944, 0.013575315475463867, -0.03658531233668327, -0.011147577315568924, 0.03783455491065979, -0.1354614645242691, -0.0043919887393713, -0.02606920897960663, 0.003898759838193655, 0.009089946746826172, -0.01984623447060585, 0.06099018454551697, -0.014672736637294292, 0.031189369037747383, 0.0040946537628769875, -0.003034747438505292, 0.01682382822036743, -0.03873760998249054, -0.0018566850339993834, -0.011728241108357906, 0.0025826480705291033, -0.01919463649392128, -0.0030029446352273226, -0.02543378435075283, -0.025767361745238304, -0.025288261473178864, -0.01457391120493412, -0.028660999611020088, 0.002811661222949624, -0.017150653526186943, -0.013291970826685429, -0.014057422056794167, -0.027227139100432396, 0.04790518432855606, 0.07023494690656662, 0.019935881718993187, 0.024263400584459305, 0.013332849368453026, -0.05153108388185501, -0.03230266645550728, 0.011726821772754192, 0.011446652933955193, 0.04518711566925049, -0.03689142316579819, -0.018180962651968002, -0.005027208477258682, 0.028372766450047493, 0.011656060814857483, -0.0499064140021801, -0.04101235419511795, -0.022256117314100266, -0.06642476469278336, -0.024686288088560104, 0.0007651090272702277, 0.02593449130654335, 0.003367427969351411, -0.00808180682361126, -0.0027729100547730923, 0.03172577917575836, 0.041337452828884125, -0.028998516499996185, -0.01267364900559187, -0.01364241074770689, 0.044390808790922165, 0.009134549647569656, -0.027435781434178352, 0.024969225749373436, 0.012966143898665905, 0.02931971475481987, -0.003479737788438797, -0.08360494673252106, -0.009040415287017822, -0.030930178239941597, -0.043008457869291306, -0.018722960725426674, 0.8133401274681091, 0.02697090432047844, 0.05228511616587639, 0.014104519039392471, -0.029918920248746872, 0.02440604940056801, 0.0068750097416341305, -0.005411084275692701, 0.025554344058036804, 0.010333633981645107, 0.014472739771008492, 0.05378715321421623, 0.013315961696207523, 0.0262336153537035, 0.020029308274388313, -0.03065033257007599, 0.013969538733363152, -0.018832607194781303, -0.029358604922890663, 0.011623144149780273, 0.037002019584178925, 0.04051714017987251, 0.0068236589431762695, 0.00847670715302229, -0.0027724686078727245, -0.04377810284495354, -0.18507401645183563, -0.02090805396437645, -7.937620378159531e-33, 0.06233908236026764, 0.011240695603191853, 0.025434160605072975, -0.0068371049128472805, -0.022084394469857216, 0.004510954488068819, -0.013015438802540302, 0.0324191078543663, -0.034515250474214554, -0.0479455329477787, 0.03257683664560318, -0.003738055005669594, -0.015010022558271885, 0.012086337432265282, -0.004750516265630722, 0.0014727029483765364, -0.0012770306784659624, 0.03728261590003967, 0.00659558130428195, 0.029924610629677773, -0.031399402767419815, 0.046521756798028946, 0.01988944783806801, -0.01677842251956463, 0.03574749082326889, 0.010366125963628292, 0.009251703508198261, 0.016869347542524338, -0.023764073848724365, -0.04779305309057236, -0.00290347496047616, -0.03696902468800545, -0.01751152239739895, -0.0009437868138775229, 0.0171648021787405, -0.07416974753141403, -0.031834062188863754, 0.007945376448333263, -0.04198675975203514, -0.03541998565196991, -0.01649479568004608, 0.007450975012034178, -0.027076760306954384, -0.034396883100271225, -0.010506588034331799, 0.0061086793430149555, 0.05768416076898575, -0.026645218953490257, 0.017357386648654938, 0.038102004677057266, 0.037565410137176514, 0.0074468813836574554, -0.04693114012479782, -0.006598979700356722, -0.03494428098201752, 0.015911858528852463, -0.0029511370230466127, 0.029176875948905945, -0.016253279522061348, 0.00044093583710491657, 0.039036691188812256, 0.005745098926126957, -0.013995889574289322, 0.025049954652786255, 0.012808041647076607, -0.019968442618846893, -0.022588957101106644, 0.018898185342550278, -0.0014143765438348055, 0.03516228869557381, -0.03569359332323074, -0.007055656518787146, -0.015633221715688705, 0.012099318206310272, 0.015970617532730103, -0.04406047239899635, 0.01513335295021534, 0.06135323643684387, -0.013395654037594795, 0.042401548475027084, 0.029341429471969604, -0.026771850883960724, -0.011608254164457321, -0.004875320475548506, -0.06728405505418777, 0.03371911868453026, 0.048366811126470566, 0.02237151935696602, -0.03497088700532913, 0.010358517058193684, 0.03136936202645302, 0.011332851834595203, -0.023414265364408493, -0.0134113859385252, -0.020121579989790916, 7.447660373741386e-33, -0.027297526597976685, -0.0346662811934948, 0.025490857660770416, 0.00711516197770834, 0.06390583515167236, -0.003983926028013229, 0.03684496879577637, 0.0065690018236637115, -0.017871974036097527, 0.03014521487057209, -0.0013608947629109025, 0.01575314626097679, -0.02390693500638008, 0.03591156750917435, 0.05941963568329811, -0.05073215067386627, -0.021096158772706985, -0.018888838589191437, -0.024395594373345375, 0.011490162461996078, 0.005328132770955563, 0.020490793511271477, 0.020104389637708664, 0.028163207694888115, 0.03380098566412926, 0.04579972103238106, -0.030632317066192627, 0.02277771569788456, 0.022778987884521484, 0.004048036877065897, 0.011292532086372375, 0.00923750177025795, -0.04070235416293144, -0.011252356693148613, 0.006867693737149239, 0.02887745387852192, 0.0010472736321389675, 0.019191797822713852, 0.01403884869068861, -0.019079558551311493, -0.017912598326802254, -0.007644267752766609, 0.027841247618198395, 0.005775902420282364, 0.0321747288107872, -0.010881982743740082, 0.0019414880080148578, -0.03662844002246857, -0.03393002599477768, 0.005701368674635887, 0.0243865717202425, 0.030576197430491447, 0.031805429607629776, -0.007438934873789549, 0.04094713553786278, -0.04628759250044823, -0.04714716598391533, -0.021410400047898293, 0.008773894980549812, -0.045644380152225494, -0.03777385503053665, -0.018062574788928032, 0.016598843038082123, 0.04059727489948273, -0.06291356682777405, 0.0016123681562021375, -0.023369504138827324, -0.011971285566687584, 0.002180433366447687, 0.021053900942206383, -0.0035893539898097515, -0.02996598370373249, 0.007967301644384861, 0.0017896016361191869, 0.0034832097589969635, -0.02719179540872574, -0.0031262224074453115, -0.009558519348502159, -0.005705878604203463, -0.01320507563650608, 0.04400383681058884, 0.02848432958126068, 0.017086826264858246, -0.014707531780004501, -0.0017944773426279426, -0.01824398711323738, -0.019759295508265495, 0.02685394696891308, 0.03285761550068855, -0.02148980274796486, 0.00778748607262969, -0.014491540379822254, -0.005809183698147535, 0.030876003205776215, 0.0033852357883006334, -1.2988827791104995e-8, 0.007929747924208641, 0.017685823142528534, -0.00987252313643694, -0.005072664003819227, 0.04689234867691994, 0.0001544871338410303, -0.025513483211398125, -0.016411200165748596, -0.017706258222460747, -0.010299133136868477, 0.021803781390190125, -0.01005574595183134, 0.020800117403268814, 0.0262630432844162, -0.016133958473801613, -0.03911914676427841, -0.022254742681980133, -0.03820977732539177, 0.04752373322844505, 0.017424216493964195, -0.01567315310239792, 0.0021985548082739115, -0.018925203010439873, -0.020921843126416206, 0.021334923803806305, 0.007793571799993515, 0.02991238422691822, -0.052442025393247604, 0.0020493725314736366, 0.011013318784534931, 0.04037496820092201, -0.0040838164277374744, -0.07793251425027847, -0.005928135011345148, -0.01244843378663063, -0.03219543769955635, 0.012538651004433632, -0.018588827922940254, -0.004390277899801731, 0.0005032109911553562, 0.03032655455172062, 0.013808667659759521, 0.00786819402128458, -0.034843601286411285, -0.04114873707294464, -0.030884386971592903, 0.026895133778452873, 0.019591249525547028, 0.012494383379817009, -0.011195231229066849, 0.007665402255952358, -0.052139218896627426, -0.014363912865519524, 0.047012392431497574, 0.031283993273973465, -0.03199056163430214, 0.030099449679255486, -0.024521686136722565, -0.011687763966619968, -0.03497348353266716, 0.0556369423866272, 0.029439684003591537, -0.006792862433940172, -0.04492335021495819 ]
mercurial-hg-push-to-google-code
https://markhneedham.com/blog/2012/03/14/mercurial-hg-push-to-google-code
false
2012-04-03 21:52:56
Haskell: Print friendly representation of an Array
[ "haskell" ]
[ "Haskell" ]
Quite frequently I play around with 2D arrays in Haskell but I've never quite worked out how to print them in a way that makes it easy to see the contents. I'm using the array from the 'Data.Array' module because it seems to be easier to transform them into a new representation if I want to change a value in one of the cells. The function to create one therefore looks like this: [source,haskell] ---- import Data.Array grid :: Int -> a -> Array(Int, Int) a grid size value = array ((0,0),(size-1,size-1)) [((x,y),value) | x<-[0..size-1], y<-[0..size-1]] ---- Which we can use like this: [source,haskell] ---- > grid 2 0 array ((0,0),(1,1)) [((0,0),0),((0,1),0),((1,0),0),((1,1),0)] ---- I wanted to get the output to read like this: [source,text] ---- 0 0 0 0 ---- I initially tried to override the 'Show' implementation but wasn't very successful in trying to do that - I'm not sure whether that's actually possible but someone on the IRC channel suggested I should probably try and write my own function to print it out. I ended up with the following: [source,haskell] ---- printGrid :: Show a => Array (Int, Int) a -> IO [()] printGrid grid = sequence $ map (putStrLn . textRepresentation) $ toSimpleArray grid toSimpleArray :: Array (Int, Int) a -> [[a]] toSimpleArray grid = [[grid ! (x, y) | x<-[lowx..highx]] | y<-[lowy..highy]] where ((lowx, lowy), (highx, highy)) = bounds grid textRepresentation :: Show a => [a] -> String textRepresentation row = foldl (\acc y -> acc ++ (show y) ++ " ") "" row ---- The +++<cite>+++toSimpleArray+++</cite>+++ function converts the array back into a format which is easier to deal with. So for a simple array: [source,haskell] ---- > toSimpleArray (grid 2 0) [[0,0],[0,0]] ---- We then map over the new array and apply +++<cite>+++textRepresentation+++</cite>+++ over each row to get a text representation. The +++<cite>+++textRepresentation+++</cite>+++ function works like this: [source,haskell] ---- > textRepresentation [1, 2, 3] "1 2 3 " ---- After that we map +++<cite>+++putStrLn+++</cite>+++ over the result which gives us a collection of IO monads. Unfortunately that still doesn't print the array out so we need +++<cite>+++sequence+++</cite>+++ which I came across in the http://learnyouahaskell.com/input-and-output[Learn You A Haskell] tutorial: ____ sequence takes a list of I/O actions and returns an I/O actions that will perform those actions one after the other. The result contained in that I/O action will be a list of the results of all the I/O actions that were performed. ____ And eventually this is how we use +++<cite>+++printGrid+++</cite>+++: [source,haskell] ---- > printGrid $ grid 2 0 0 0 0 0 [(),()] ---- There must be ways to simplify some of that code so if you can see any let me know in the comments!
null
null
[ -0.0321536660194397, 0.015746504068374634, -0.04755684733390808, 0.026172375306487083, 0.020959118381142616, 0.025238333269953728, 0.005111788399517536, -0.004038530867546797, 0.005532305687665939, -0.009359948337078094, 0.004335910081863403, -0.020019425079226494, -0.06214103847742081, 0.03922372683882713, 0.024411935359239578, 0.061180174350738525, 0.06219549849629402, -0.035064395517110825, -0.007603413425385952, 0.05005723237991333, 0.009124992415308952, -0.0022450049873441458, -0.024798111990094185, 0.004789335187524557, 0.03132803365588188, -0.018444592133164406, 0.03616305813193321, 0.03215636685490608, -0.04831378534436226, 0.01631065644323826, 0.0020812549628317356, -0.03778357803821564, 0.022148504853248596, -0.005091181956231594, 0.05683017522096634, -0.004504187032580376, 0.014288843609392643, 0.0026424946263432503, -0.020146023482084274, 0.012744307518005371, -0.042783722281455994, 0.010131463408470154, -0.02362697757780552, 0.010233583860099316, -0.027680842205882072, -0.0019935411401093006, -0.0306316576898098, -0.008104382082819939, -0.028612544760107994, 0.03419340029358864, -0.04928223043680191, 0.03353023901581764, 0.009789089672267437, -0.010136622935533524, -0.02168647199869156, 0.03769355267286301, 0.01806933805346489, -0.05247814953327179, 0.03881718963384628, -0.04371290281414986, 0.020212752744555473, -0.011352544650435448, 0.011043614707887173, 0.06696777045726776, 0.007816639728844166, -0.014914395287632942, -0.021239621564745903, 0.03737383708357811, -0.04043335095047951, -0.021227223798632622, -0.04268741235136986, 0.031072024255990982, -0.008138462901115417, -0.04641351103782654, 0.0028918010648339987, -0.03448016569018364, -0.02018502913415432, 0.06827417016029358, 0.028056496754288673, 0.021617889404296875, -0.011506417766213417, 0.010974126867949963, 0.02721094712615013, 0.011387942358851433, 0.016043636947870255, -0.028610169887542725, -0.05398150905966759, -0.014693735167384148, -0.03551337122917175, 0.03313571959733963, -0.019261717796325684, -0.053443875163793564, -0.009854606352746487, 0.020859308540821075, 0.031180189922451973, 0.01009119488298893, -0.034533560276031494, 0.0030128771904855967, -0.028015170246362686, -0.010849598795175552, -0.046928755939006805, -0.028640102595090866, 0.046041347086429596, -0.0002118153206538409, -0.06986923515796661, -0.005963720381259918, -0.02656256966292858, -0.019466368481516838, 0.008140021935105324, 0.022367777302861214, -0.0277808029204607, -0.047617241740226746, -0.008717750199139118, -0.035325635224580765, -0.06796108186244965, 0.057786669582128525, 0.03366829454898834, 0.01769700087606907, -0.006552048958837986, 0.04103522747755051, 0.03393533080816269, 0.056006114929914474, 0.02449875697493553, 0.10853158682584763, 0.00024551828391849995, 0.0313962958753109, 0.028956567868590355, 0.05786383897066116, -0.03131642937660217, -0.06095877289772034, -0.04460793733596802, 0.06000762805342674, -0.022798791527748108, 0.009484214708209038, 0.01011778973042965, -0.021939894184470177, -0.074534110724926, 0.0050174035131931305, 0.048965852707624435, 0.04752860218286514, 0.02767767384648323, -0.029908083379268646, 0.040535811334848404, -0.04366198554635048, 0.00748966820538044, -0.01139873918145895, -0.00048029713798314333, -0.03593791276216507, -0.028420964255928993, 0.052043329924345016, 0.01346510648727417, 0.031190603971481323, 0.07119537144899368, -0.010096155107021332, 0.03767932206392288, 0.07186032086610794, 0.010536957532167435, 0.05661185830831528, -0.005170293152332306, 0.01109328493475914, 0.006273208186030388, 0.008558334782719612, 0.04713816940784454, -0.004622489679604769, -0.008425350300967693, 0.006963052321225405, 0.009324930608272552, -0.007192389108240604, -0.016496898606419563, -0.060425739735364914, -0.025152744725346565, -0.025349969044327736, 0.03398918733000755, 0.019710546359419823, 0.011360878124833107, -0.03358558192849159, 0.06929952651262283, 0.003300134092569351, 0.05935171619057655, -0.022230716422200203, -0.07201030850410461, -0.0038300976157188416, -0.0019592009484767914, 0.035039931535720825, 0.024329310283064842, 0.0008274222491309047, 0.044133029878139496, 0.039417702704668045, 0.014911302365362644, 0.020616471767425537, -0.038637373596429825, -0.06091811880469322, 0.00244712783023715, -0.033552173525094986, 0.05574877932667732, -0.023626962676644325, -0.005745999049395323, 0.03953562304377556, 0.00714960228651762, 0.026579532772302628, 0.02618652768433094, 0.00475210091099143, 0.022156018763780594, 0.0065627554431557655, -0.03936197981238365, 0.016389913856983185, 0.03531280532479286, -0.005745891481637955, -0.05814075469970703, -0.00015282366075553, 0.005211809184402227, -0.005109865218400955, 0.040252409875392914, 0.00876565184444189, 0.06065671518445015, 0.03441167250275612, 0.023454107344150543, 0.013642776757478714, 0.03117743693292141, -0.05733171105384827, 0.05103978142142296, 0.03480253368616104, 0.0019085230305790901, -0.029245510697364807, -0.02890881709754467, 0.16443265974521637, 0.060506049543619156, -0.02692253142595291, -0.022059403359889984, 0.006488920655101538, -0.03932616487145424, -0.006118140649050474, 0.0365840345621109, 0.004106272477656603, -0.012976855970919132, 0.02137196995317936, 0.00928837712854147, -0.014724130742251873, 0.017557598650455475, -0.031079815700650215, -0.04369456693530083, 0.07852795720100403, -0.023821169510483742, 0.03619756922125816, 0.028663858771324158, -0.03413498401641846, 0.017041770741343498, -0.04198065400123596, -0.028541358187794685, -0.0001859223993960768, 0.01609206385910511, 0.0073989080265164375, 0.07341644167900085, -0.005369368940591812, -0.045594245195388794, 0.008465719409286976, -0.025530721992254257, -0.007933065295219421, 0.06348782032728195, 0.03243555128574371, -0.04472438991069794, 0.01821182481944561, -0.013929227367043495, -0.04619206488132477, -0.025046471506357193, -0.06280501931905746, -0.03199506551027298, -0.009640592150390148, -0.0024695233441889286, 0.013496531173586845, 0.07137259840965271, 0.01322182547301054, -0.008679723367094994, -0.024135977029800415, -0.013454055413603783, -0.05810578539967537, -0.013779481872916222, -0.018133485689759254, -0.014606179669499397, -0.0356462337076664, -0.02210746519267559, 0.10163872689008713, -0.028870007023215294, -0.034169457852840424, 0.015068624168634415, -0.012717911042273045, 0.0380810871720314, -0.07076236605644226, -0.03747117146849632, -0.015093089081346989, 0.022853147238492966, 0.04553942382335663, -0.04647539556026459, -0.020044753327965736, 0.06320034712553024, 0.02917652577161789, 0.026014143601059914, 0.019476307556033134, 0.024101244285702705, 0.03624705597758293, -0.012530365958809853, 0.005860769655555487, 0.02906627766788006, 0.01001316774636507, -0.048463087528944016, -0.05350154638290405, -0.0022218716330826283, -0.042409200221300125, -0.2343285083770752, 0.005544486455619335, -0.06253490597009659, -0.034347474575042725, 0.04891718178987503, -0.04131950065493584, -0.024824347347021103, -0.032543428242206573, 0.018398769199848175, 0.023450586944818497, -0.030374668538570404, -0.03595108911395073, -0.06258521229028702, 0.058788783848285675, 0.03907610848546028, 0.04147300496697426, -0.005023150704801083, -0.01727800816297531, 0.020014794543385506, 0.008929885923862457, -0.002783657517284155, -0.041991110891103745, 0.004883905407041311, 0.06966615468263626, 0.015637148171663284, 0.054119523614645004, -0.07095178216695786, 0.02802932821214199, -0.04004804044961929, -0.035784121602773666, -0.026518864557147026, -0.03519642353057861, -0.0016226205043494701, -0.013096831738948822, -0.020842881873250008, -0.04651212319731712, 0.012887703254818916, -0.005084907170385122, 0.008940789848566055, 0.05726240947842598, -0.043978359550237656, -0.04775151610374451, -0.01536127645522356, -0.03142819553613663, 0.05141794681549072, -0.030116518959403038, -0.03620895743370056, -0.021616054698824883, -0.026528656482696533, 0.06109030917286873, -0.013005190528929234, -0.018918445333838463, -0.008312116377055645, 0.041322480887174606, -0.05203085020184517, -0.003998740576207638, -0.018809642642736435, -0.0003546085790731013, -0.05252671241760254, -0.015731463208794594, -0.019022507593035698, -0.041414663195610046, -0.048926688730716705, -0.0434938445687294, -0.03917733579874039, -0.0429987870156765, -0.0629209652543068, -0.017125047743320465, 0.052434686571359634, 0.030252574011683464, -0.00860975868999958, -0.03796315938234329, -0.014289026148617268, -0.09968937933444977, -0.007739182095974684, -0.0345291905105114, -0.02053518407046795, 0.01153491996228695, 0.023427922278642654, 0.039199549704790115, -0.03575988858938217, -0.08213116973638535, 0.03403707221150398, -0.008389721624553204, 0.03845692425966263, -0.004173866473138332, -0.018627135083079338, -0.03978383168578148, -0.0022413688711822033, -0.052782028913497925, 0.06695135682821274, -0.02149788849055767, 0.04017604887485504, 0.011028401553630829, 0.011169123463332653, 0.04366267845034599, 0.03901229426264763, -0.02306162565946579, 0.031812358647584915, 0.010969560593366623, 0.023367974907159805, -0.045389074832201004, 0.005624912679195404, -0.020173296332359314, -0.018734414130449295, 0.00127938122022897, -0.06763286143541336, 0.015147820115089417, -0.0022439127787947655, -0.02019154094159603, -0.027140406891703606, -0.048188935965299606, -0.014101254753768444, -0.07381834834814072, -0.021667450666427612, -0.02402433007955551, 0.02239242196083069, 0.032169949263334274, 0.03907356038689613, -0.019821718335151672, -0.04785032197833061, -0.013548769988119602, 0.007967012003064156, -0.03441261872649193, -0.023448238149285316, 0.008818848058581352, 0.0005349789280444384, -0.00889449380338192, 0.016909312456846237, 0.03522411361336708, 0.022335926070809364, -0.013866678811609745, 0.028930891305208206, -0.03189234808087349, 0.036570269614458084, -0.0009704602416604757, -0.013501826673746109, -0.036679353564977646, -0.02643481083214283, -0.004428028594702482, 0.06393758952617645, -0.015916364267468452, 0.023659633472561836, 0.0025829453952610493, 0.02933766134083271, -0.030758175998926163, 0.01812111772596836, 0.0054525285959243774, -0.018845174461603165, 0.020201582461595535, 0.005220634397119284, -0.039303261786699295, 0.0102331368252635, -0.01304774358868599, -0.024679772555828094, 0.01169317215681076, 0.0581284761428833, -0.04260331764817238, -0.04885084927082062, -0.060195911675691605, 0.054626911878585815, -0.029596639797091484, -0.04068069905042648, -0.03817408159375191, -0.017007792368531227, 0.042536262422800064, -0.016077803447842598, 0.037579089403152466, -0.00523840356618166, 0.02901453711092472, 0.013709486462175846, -0.008220141753554344, -0.00961077120155096, 0.052809882909059525, 0.0006229877471923828, -0.02996898628771305, 0.03791343420743942, 0.016531245782971382, 0.06223718449473381, 0.022875068709254265, 0.011817339807748795, -0.004452309105545282, 0.006386596709489822, 0.0121406689286232, 0.0435042567551136, 0.0236514825373888, 0.024030819535255432, 0.023297347128391266, -0.0317862294614315, -0.024781960994005203, -0.03848199546337128, 0.001685233786702156, -0.04229409247636795, 0.013945733197033405, -0.026592645794153214, -0.044266439974308014, -0.009905938990414143, 0.019295252859592438, 0.003394953440874815, -0.00994016882032156, -0.0028728835750371218, -0.03774107247591019, -0.02194770984351635, -0.0162398312240839, 0.049922917038202286, -0.05163562670350075, 0.008537128567695618, -0.006768796127289534, 0.03718448430299759, 0.015078704804182053, 0.042127419263124466, -0.05550035834312439, -0.005266993306577206, -0.019375504925847054, -0.0159071646630764, -0.0012860179413110018, -0.025842521339654922, -0.04109286144375801, 0.008962969295680523, -0.015854593366384506, -0.05361320078372955, -0.008294614963233471, 0.015065937303006649, -0.040565215051174164, -0.030903343111276627, 0.010380162857472897, -0.020910434424877167, -0.042393576353788376, 0.04099962115287781, -0.015702711418271065, 0.04919730871915817, -0.016866501420736313, 0.039421942085027695, 0.05210479348897934, 0.001664001028984785, -0.016257788985967636, -0.08232256025075912, 0.04129592701792717, -0.03349748253822327, 0.06895654648542404, 0.010742465034127235, 0.018515460193157196, -0.018822411075234413, 0.016968144103884697, -0.025401078164577484, 0.003884378122165799, 0.02121666446328163, -0.051220204681158066, -0.0028213586192578077, 0.014804871752858162, -0.016069242730736732, 0.011791515164077282, 0.025020815432071686, -0.047765202820301056, 0.04245726764202118, -0.015903877094388008, -0.03985070809721947, 0.03241400048136711, -0.058102913200855255, -0.0001731887023197487, -0.01785607449710369, 0.028887761756777763, -0.03080638498067856, 0.04742284491658211, 0.05848266929388046, 0.05272950977087021, 0.01881607063114643, -0.016122350469231606, 0.029910368844866753, -0.00920896790921688, -0.030773624777793884, -0.0769062265753746, -0.03338189795613289, 0.007048312108963728, 0.01943744160234928, -0.03570401296019554, -0.033600814640522, -0.004179499112069607, 0.06180892139673233, -0.048477306962013245, -0.02001047506928444, 0.041112739592790604, 0.034289583563804626, 0.0027553096879273653, 0.03914498910307884, -0.02690935507416725, -0.004763539414852858, 0.02771829627454281, -0.014375319704413414, -0.00931773241609335, 0.0015139500610530376, 0.010377557016909122, -0.016795285046100616, 0.0028531986754387617, 0.013988422229886055, 0.01627335511147976, 0.0413169339299202, 0.025238050147891045, 0.037264227867126465, 0.05617327615618706, -0.022469457238912582, 0.04195251315832138, -0.002832304686307907, 0.0033113681711256504, -0.028953813016414642, 0.04697177931666374, -0.018013879656791687, -0.0500057078897953, 0.004599076695740223, 0.02690870873630047, -0.0008230907842516899, -0.051742471754550934, 0.07612840831279755, 0.014037968590855598, -0.014137952588498592, -0.039060238748788834, 0.025540541857481003, -0.05756344273686409, 0.03830038756132126, -0.01982134021818638, -0.03707205876708031, -0.05913187935948372, 0.055923670530319214, -0.011283687315881252, -0.017189111560583115, 0.06098390370607376, 0.020989369601011276, 0.0018362437840551138, -0.013356601819396019, 0.09098217636346817, 0.10228387266397476, 0.056228142231702805, -0.008722096681594849, 0.05612897127866745, -0.07716049253940582, -0.03416886180639267, 0.0027111931703984737, -0.014016466215252876, 0.052031077444553375, 0.005731676239520311, 0.03391101583838463, 0.07667075097560883, -0.027053534984588623, 0.046959057450294495, -0.03803564980626106, 0.016222046688199043, -0.0010783661855384707, 0.02933379076421261, 0.01784438081085682, 0.04934874176979065, 0.02045220509171486, 0.08218903839588165, 0.006186084356158972, -0.02755768783390522, 0.014773836359381676, 0.008348858915269375, 0.036086976528167725, -0.017752528190612793, 0.015240917913615704, 0.002235409338027239, 0.0371045358479023, 0.03135424107313156, 0.05581490695476532, 0.006932809948921204, -0.052276670932769775, 0.00894942320883274, 0.03250196948647499, -0.00609816238284111, -0.005132123827934265, -0.025414353236556053, -0.040450915694236755, 0.0020916827488690615, -0.03530510887503624, 0.008020983077585697, -0.031070921570062637, 0.001325504039414227, 0.05268153175711632, -0.013234487734735012, 0.022585462778806686, 0.016528701409697533, 0.0010292493971064687, -0.05792322754859924, -0.053884297609329224, -0.036539264023303986, -0.04472693055868149, -0.08343550562858582, 0.035194411873817444, 0.00043152831494808197, -0.03912351652979851, -0.020243702456355095, -0.05788346752524376, 0.0009692466119304299, -0.004236220382153988, 0.015090339817106724, -0.01611822098493576, -0.015779081732034683, 0.010426991619169712, 0.007628308143466711, 0.027553871273994446, 0.06103813648223877, 0.009519565850496292, -0.006695394404232502, -0.01306984294205904, -0.02069091610610485, -0.006879556458443403, 0.05101680010557175, 0.023666463792324066, -0.007610748056322336, -0.08119022101163864, -0.010935530997812748, 0.0365217924118042, 0.03717488422989845, -0.07636981457471848, -0.01954501122236252, 0.03191303089261055, -0.015641627833247185, 0.010558879002928734, 0.014088425785303116, 0.00369798531755805, 0.011773406527936459, -0.045114751905202866, -0.005801715888082981, 0.03251686319708824, 0.047440968453884125, -0.05023583397269249, 0.07944705337285995, 0.04813617840409279, -0.005413966719061136, 0.0011568425688892603, -0.0228438600897789, -0.03651314601302147, 0.04207571595907211, -0.028182609006762505, -0.04594961553812027, -0.04961855337023735, -0.042199764400720596, -0.0023917665239423513, -0.0264417827129364, -0.014835563488304615, -0.012542463839054108, 0.021113447844982147, 0.05828796699643135, -0.07520164549350739, 0.0713842436671257, -0.04892677441239357, 0.03267282620072365, -0.02324238233268261, -0.050341639667749405, 0.020982956513762474, 0.037148524075746536, 0.015462895855307579, -0.0196533240377903, 0.01642887108027935, -0.05380762740969658, 0.002593245590105653, -0.007679359056055546, 0.014204726554453373, 0.0036036598030477762, -0.023536626249551773, 0.042215362191200256 ]
[ -0.08620895445346832, -0.010269109159708023, -0.02613024041056633, -0.008630680851638317, 0.002790848957374692, -0.02367662824690342, -0.010531929321587086, 0.034948430955410004, 0.005458998028188944, -0.01382055226713419, -0.0011735339649021626, -0.0670616552233696, 0.004613678436726332, 0.004102145787328482, 0.036065902560949326, 0.009667893871665001, -0.052470769733190536, -0.024344539269804955, -0.05710234493017197, 0.03503323718905449, 0.05487997457385063, -0.04225296899676323, -0.051238764077425, -0.07019630819559097, 0.03881589695811272, 0.06949575990438461, 0.001198883866891265, -0.01332190353423357, 0.004564570728689432, -0.22438663244247437, -0.0061152041889727116, -0.011171761900186539, 0.03531605377793312, -0.034779760986566544, 0.0052735223434865475, 0.018732015043497086, -0.00977072399109602, -0.0020534696523100138, -0.011176718398928642, 0.058477286249399185, 0.017459910362958908, 0.015400596894323826, -0.021594766527414322, -0.009456082247197628, 0.0073714302852749825, -0.02358103170990944, -0.04945787414908409, -0.012632511556148529, 0.0330001637339592, 0.03394954279065132, -0.07244010269641876, 0.02529526874423027, -0.004305253271013498, -0.03097834438085556, 0.03674361854791641, 0.036246366798877716, 0.05456026270985603, 0.04655719920992851, 0.014136170037090778, -0.010571608319878578, -0.000760833325330168, -0.021887866780161858, -0.11336897313594818, 0.12559182941913605, 0.019436651840806007, 0.0593249537050724, -0.04050801694393158, -0.010719452984631062, -0.030163155868649483, 0.05995897576212883, 0.01599779538810253, -0.025953559204936028, -0.0003985860093962401, 0.04105442017316818, 0.035631243139505386, -0.09374894946813583, -0.046810079365968704, -0.01075825747102499, 0.0750729963183403, -0.02360023744404316, -0.07770244032144547, -0.045486293733119965, 0.007894843816757202, 0.006123967468738556, -0.014397498220205307, 0.012747525237500668, -0.038995638489723206, 0.05052775517106056, 0.020138418301939964, -0.011628331616520882, 0.004051998723298311, -0.024469900876283646, -0.04151922091841698, 0.027145525440573692, -0.07632764428853989, -0.008887688629329205, -0.010917809791862965, 0.010068659670650959, -0.04473074525594711, 0.34768468141555786, -0.046027328819036484, -0.019450718536973, 0.07120728492736816, 0.057550303637981415, -0.044825777411460876, -0.015655770897865295, -0.020654020830988884, -0.04959120973944664, -0.028427058830857277, -0.056525032967329025, -0.04163386672735214, -0.020980333909392357, 0.06566281616687775, -0.03959416598081589, 0.002037778729572892, -0.005920150317251682, 0.04434473067522049, 0.003962640650570393, 0.014919632114470005, 0.0005544263985939324, 0.005643721669912338, 0.04030907526612282, -0.00010800997551996261, 0.05053265392780304, 0.01762428879737854, 0.02104765921831131, 0.02787639945745468, 0.06336873024702072, 0.026314228773117065, 0.055649902671575546, 0.05945172905921936, -0.021386852487921715, -0.030700230970978737, 0.0139394486322999, -0.003075559390708804, -0.013177699409425259, 0.06214803829789162, -0.006472783628851175, 0.006572641897946596, 0.02664954401552677, -0.0019668664317578077, -0.027388572692871094, 0.03647094592452049, 0.011124389246106148, 0.008725388906896114, 0.10508192330598831, -0.02468722127377987, -0.028596587479114532, -0.03651430457830429, -0.04047810658812523, 0.024318262934684753, 0.06916268914937973, 0.017795247957110405, -0.04986732453107834, 0.029133863747119904, 0.014793353155255318, 0.05428177863359451, -0.021510180085897446, -0.06643597781658173, 0.030296338722109795, -0.051345180720090866, -0.00199136883020401, -0.0498003214597702, 0.04769311845302582, 0.009329386986792088, -0.049819961190223694, -0.04161462187767029, 0.020591430366039276, 0.030991625040769577, -0.10558397322893143, -0.01898428611457348, 0.02949000895023346, -0.026096738874912262, 0.008383156731724739, 0.050810884684324265, -0.038676667958498, -0.0433390736579895, -0.019127551466226578, 0.0672227293252945, 0.026210591197013855, -0.013724923133850098, -0.001718351268209517, -0.02008282206952572, -0.010425885207951069, -0.021394988521933556, -0.07504963129758835, -0.07005501538515091, -0.008089907467365265, -0.025978976860642433, -0.03270971029996872, 0.027611006051301956, -0.0077817258425056934, -0.08566568046808243, 0.06785277277231216, -0.03227744996547699, -0.02671700529754162, 0.03634946048259735, -0.02168523706495762, -0.01214645430445671, -0.013863601721823215, 0.05473301559686661, 0.04760322347283363, -0.01558915339410305, 0.03575139492750168, -0.062091708183288574, -0.02953774482011795, 0.060857608914375305, -0.07626897096633911, 0.05791059881448746, 0.03200208395719528, -0.020591512322425842, 0.005015925504267216, -0.025013890117406845, -0.009513044729828835, -0.008925817906856537, -0.03720249980688095, 0.032432857900857925, 0.018687505275011063, 0.014727591536939144, 0.029810136184096336, -0.0035180053673684597, -0.12436904013156891, -0.053786054253578186, -0.32428693771362305, -0.025058269500732422, 0.00783675815910101, -0.03815040737390518, -0.04055922105908394, -0.08649130910634995, -0.00914690550416708, -0.025283562019467354, -0.03789961710572243, 0.06897207349538803, 0.07532011717557907, -0.02243702858686447, -0.0031245453283190727, -0.11596816033124924, -0.01348842028528452, 0.013020611368119717, 0.0018494412070140243, -0.0347336009144783, 0.01876148395240307, 0.004353935830295086, -0.01041390560567379, 0.02188355103135109, -0.0036752750165760517, -0.051082439720630646, -0.020506279543042183, -0.05403650552034378, 0.1499466747045517, 0.04746618866920471, 0.07800416648387909, -0.05013780668377876, 0.06552384793758392, -0.026636239141225815, -0.037993136793375015, -0.030125640332698822, 0.00031787867192178965, -0.021326148882508278, -0.03836274892091751, 0.03549010679125786, -0.01186427567154169, -0.01742512360215187, -0.02550569735467434, -0.0015293037286028266, -0.0443514920771122, -0.003802403574809432, 0.021634483709931374, 0.0231346245855093, 0.018459076061844826, -0.05660047382116318, -0.005899712443351746, 0.05953175202012062, 0.012814776971936226, -0.00909344106912613, 0.02498030848801136, 0.008376010693609715, 0.01714245043694973, 0.026283711194992065, -0.06864313036203384, -0.02646978385746479, -0.0012809042818844318, -0.052268560975790024, 0.007715028710663319, 0.06305229663848877, 0.03715085610747337, -0.020183641463518143, -0.005709725432097912, 0.040095191448926926, -0.025396497920155525, 0.002464915858581662, 0.013125822879374027, -0.010060541331768036, 0.0013930413406342268, 0.08576612919569016, 0.020322561264038086, 0.0327390693128109, 0.06972801685333252, 0.06960415095090866, -0.002844072412699461, 0.05038866400718689, 0.06522975116968155, 0.00526907155290246, 0.014377884566783905, 0.05079144611954689, 0.03324155882000923, -0.008205035701394081, 0.03326381370425224, 0.023904873058199883, -0.026997769251465797, 0.03582246974110603, 0.028661910444498062, -0.03293449059128761, -0.022396279498934746, 0.043067194521427155, 0.028170792385935783, -0.035595353692770004, 0.05052615702152252, -0.0026148769538849592, -0.26543474197387695, 0.03371677175164223, 0.043612681329250336, 0.030279017984867096, -0.02987806499004364, 0.0036799029912799597, 0.01042859349399805, -0.02604234404861927, -0.016656434163451195, -0.03768260031938553, 0.0006949147209525108, 0.04686949402093887, 0.07456228137016296, 0.007446862291544676, -0.010941450484097004, 0.0015158536843955517, 0.08766274154186249, 0.00033298079506494105, -0.03140014782547951, 0.0022288847249001265, 0.04455018788576126, -0.01849297434091568, 0.2089291363954544, 0.012808580882847309, -0.0022881722543388605, -0.010400302708148956, 0.007796272169798613, -0.01213765237480402, 0.070702463388443, 0.04475302994251251, 0.00999149028211832, 0.007747492752969265, 0.08587654680013657, 0.0010549539001658559, 0.04956114664673805, 0.008834436535835266, -0.0028317184187471867, 0.02906852774322033, 0.022351419553160667, -0.033566150814294815, -0.04470997303724289, 0.03336627408862114, -0.049998797476291656, 0.04877568781375885, 0.03532649204134941, 0.034586772322654724, -0.001961830537766218, -0.04493299126625061, -0.04180684685707092, 0.044797785580158234, -0.03916073963046074, -0.012459930032491684, -0.0016501554055139422, -0.021678229793906212, -0.015059340745210648, 0.057585377246141434, 0.009851725772023201, -0.055130377411842346, -0.002202795585617423, 0.02870727889239788, 0.017094962298870087, -0.041529443114995956, 0.10257365554571152, -0.002237736713141203, 0.02343081682920456 ]
[ 0.026588795706629753, 0.053040653467178345, -0.04426677152514458, 0.03109273687005043, -0.04109540954232216, -0.004968220833688974, 0.01370569784194231, -0.008819645270705223, -0.03150656446814537, -0.027652766555547714, -0.06747585535049438, 0.004304307512938976, 0.008533273823559284, -0.01270788162946701, -0.015766233205795288, 0.010126740671694279, 0.02490794099867344, 0.0011938703246414661, 0.03580716252326965, 0.005536983255296946, -0.015592379495501518, -0.018284792080521584, -0.013110466301441193, -0.016640108078718185, 0.035665079951286316, 0.06438718736171722, -0.012149646878242493, 0.04146583750844002, 0.0028778729028999805, -0.06864140927791595, -0.028510887175798416, -0.011854485608637333, 0.017193205654621124, 0.01878494583070278, -0.0352170392870903, 0.0304827019572258, -0.002949316753074527, 0.020502496510744095, 0.013398492708802223, -0.033366136252880096, 0.02258545532822609, -0.0015996170695871115, -0.01819387823343277, 0.018923085182905197, -0.004213882144540548, -0.0018394681392237544, -0.009614892303943634, -0.03126504644751549, -0.013738930225372314, 0.01908176578581333, -0.07656416296958923, 0.003019316354766488, 0.035402942448854446, 0.009093130938708782, 0.05247814580798149, -0.03199121728539467, -0.023503515869379044, -0.02650199458003044, 0.04145217686891556, -0.014136147685348988, -0.029223451390862465, 0.013730248436331749, -0.06317722052335739, -0.010981585830450058, -0.04100749269127846, -0.016382109373807907, -0.004332211799919605, 0.021710367873311043, 0.03063412383198738, -0.024424029514193535, 0.01921718381345272, 0.031364329159259796, -0.040224481374025345, -0.019747966900467873, -0.023558564484119415, -0.029402123764157295, 0.036638930439949036, -0.06571073085069656, 0.044415343552827835, -0.009292077273130417, -0.0037633369211107492, 0.023973386734724045, 0.028772132471203804, 0.05741780996322632, -0.04145442321896553, 0.0024720386136323214, -0.036335237324237823, 0.027920084074139595, 0.015295928344130516, -0.02552971988916397, 0.017651982605457306, 0.02589183673262596, -0.0018564556958153844, 0.07260650396347046, -0.05692959204316139, -0.005727918352931738, -0.006021585781127214, 0.0047556511126458645, -0.026401901617646217, 0.8050439953804016, -0.012945553287863731, 0.010961255058646202, 0.031666193157434464, 0.028347639366984367, 0.000914779317099601, -0.009810755960643291, 0.04504118487238884, -0.013367684558033943, -0.04650423675775528, -0.02083532325923443, 0.02924535982310772, -0.02386932633817196, 0.049960289150476456, 0.03627173230051994, -0.007823748514056206, 0.004149026237428188, 0.02002537064254284, 0.020421361550688744, 0.006118364166468382, -0.040113016963005066, 0.010937262326478958, -0.03224889561533928, 0.019321871921420097, 0.0414930135011673, 0.037158943712711334, -0.14852692186832428, -0.039958421140909195, -7.108473682863523e-33, 0.03414112702012062, -0.013461355119943619, 0.011600174009799957, 0.022235985845327377, 0.051623113453388214, 0.02261281944811344, 0.041051868349313736, -0.023943979293107986, 0.023749206215143204, 0.01289976853877306, 0.002746348502114415, 0.026765741407871246, -0.040271639823913574, 0.044092677533626556, 0.03668319806456566, -0.014834101311862469, 0.04166575148701668, 0.05580887570977211, -0.04008367657661438, 0.0018429647898301482, 0.013281872496008873, 0.04063008725643158, 0.03706750646233559, -0.011751539073884487, -0.01563885249197483, -0.018177716061472893, 0.0022662002593278885, -0.05764801800251007, 0.009380445815622807, -0.04790971800684929, -0.0029276860877871513, 0.019067013636231422, 0.03838874027132988, -0.05398248881101608, 0.061935458332300186, -0.0680268332362175, -0.006028725299984217, 0.01907038316130638, -0.017535867169499397, 0.025571178644895554, -0.04998290538787842, -0.0007984878029674292, 0.010778690688312054, -0.044328588992357254, 0.014284267090260983, -0.04596422612667084, -0.0038649863563477993, 0.06956740468740463, 0.004339409060776234, 0.005890934728085995, 0.027866920456290245, 0.04895641282200813, -0.01822935789823532, 0.010746547020971775, -0.00995401106774807, 0.0005908238235861063, 0.020759962499141693, 0.03046216070652008, -0.0012395998928695917, 0.045108117163181305, -0.045577701181173325, 0.01825442910194397, 0.005297244992107153, 0.03699461743235588, -0.02774825505912304, -0.007247034460306168, -0.018530001863837242, -0.02342894859611988, -0.007348575163632631, 0.03483215346932411, -0.05182741954922676, -0.000190850390936248, -0.03407638520002365, -0.04367813840508461, 0.0517750009894371, -0.03782086819410324, -0.011995729990303516, -0.05145610496401787, 0.017340535297989845, -0.033307138830423355, 0.02990143746137619, -0.03594556823372841, 0.0018880972638726234, 0.015228291973471642, -0.013471435755491257, -0.018990296870470047, 0.0058938199654221535, -0.010134532116353512, -0.00786257442086935, -0.02903316356241703, -0.01256448496133089, 0.030852068215608597, -0.029456384479999542, -0.028495343402028084, 0.0008758983458392322, 6.684813763883662e-33, -0.0017630336806178093, 0.0022656528744846582, -0.02912529557943344, -0.006846797652542591, -0.023794038221240044, 0.0030711391009390354, 0.0723990947008133, 0.012379776686429977, 0.01016731932759285, 0.051846716552972794, -0.015050817281007767, 0.046569425612688065, -0.020982109010219574, 0.03930330276489258, 0.06454441696405411, -0.015141148120164871, 0.010821671225130558, 0.011696289293467999, -0.013035176321864128, -0.05408433452248573, 0.004840275272727013, -0.003621478332206607, 0.0064280470833182335, 0.047718338668346405, 0.006154715549200773, 0.008759938180446625, 0.013413578271865845, 0.029073191806674004, -0.008293626829981804, 0.014920412562787533, -0.01110950205475092, -0.018081270158290863, 0.04805855453014374, -0.03089081309735775, 0.061457131057977676, 0.013837193138897419, -0.003113647224381566, -0.0314151830971241, -0.005952007137238979, -0.016189370304346085, 0.02045861817896366, -0.009901813231408596, -0.0018581572221592069, 0.011187232099473476, -0.0195152647793293, -0.008515860885381699, -0.0009573523420840502, 0.012100248597562313, 0.03969625383615494, -0.032838374376297, -0.022293873131275177, -0.019745124503970146, -0.002850262215360999, -0.000024885875973268412, 0.015386275015771389, -0.041158054023981094, -0.008886318653821945, 0.006858041975647211, 0.0075747487135231495, -0.06644845008850098, -0.06601003557443619, -0.023112721741199493, 0.009801959618926048, 0.01052412111312151, 0.01738564670085907, 0.029772242531180382, -0.044080983847379684, -0.05593721941113472, -0.00046025848132558167, 0.022417057305574417, -0.0010319972643628716, -0.01841556467115879, -0.02265855111181736, 0.014166807755827904, -0.03977740556001663, -0.013771607540547848, -0.0350424088537693, -0.016665032133460045, 0.00045833727926947176, 0.03343362733721733, 0.04285990819334984, -0.006308706942945719, 0.0351734459400177, -0.003772708587348461, 0.012906057760119438, 0.00019242084817960858, 0.021613821387290955, 0.011291347444057465, -0.004998276941478252, 0.001363860908895731, 0.0282539501786232, 0.0033058770932257175, 0.0010986275738105178, -0.0032274199184030294, 0.011618269607424736, -1.2436718321851004e-8, -0.02327163890004158, -0.02512955851852894, -0.008752865716814995, 0.015461353585124016, -0.0192215945571661, -0.023192109540104866, -0.018342165276408195, -0.03764300048351288, -0.007742070127278566, 0.0034491124097257853, 0.011898973025381565, 0.007422045338898897, -0.0039818501099944115, -0.008071646094322205, 0.03841426968574524, -0.023396093398332596, 0.028532935306429863, -0.056388117372989655, -0.0020484982524067163, -0.019102182239294052, -0.020657053217291832, 0.009097065776586533, -0.021405493840575218, 0.02692342735826969, -0.02834784984588623, -0.046851929277181625, 0.006207754835486412, -0.09062769263982773, 0.03803306445479393, 0.00825071893632412, 0.051582418382167816, -0.02978140488266945, 0.02276093140244484, 0.04838548228144646, -0.02133770100772381, -0.014750233851373196, 0.027559807524085045, 0.022196471691131592, 0.051413629204034805, -0.03346877917647362, -0.05115893483161926, 0.002983429469168186, 0.021615512669086456, -0.046338342130184174, -0.016819873824715614, -0.046152111142873764, -0.021382881328463554, -0.0118095139041543, 0.04299222677946091, -0.03471217304468155, 0.03919205069541931, 0.01028126198798418, 0.003555669216439128, -0.006699409801512957, 0.023281896486878395, 0.0009865396423265338, -0.035298027098178864, -0.009704053401947021, 0.025082480162382126, 0.025326786562800407, 0.014400712214410305, 0.016398686915636063, -0.027422629296779633, -0.023845531046390533 ]
haskell-print-friendly-representation-of-an-array
https://markhneedham.com/blog/2012/04/03/haskell-print-friendly-representation-of-an-array
false
2012-04-20 07:10:57
neo4J: Searching for nodes by name
[ "neo4j", "cypher" ]
[ "Software Development", "neo4j" ]
As I mentioned in a post a few days ago I've been graphing connections between ThoughtWorks people using neo4j and wanted to build auto complete functionality so I can search for the names of people in the graph. The solution I came up was to create a Lucene index with an entry for each node and a common property on each document in the index so that I'd be able to get all the index entries easily. I created the index like this, using the https://github.com/maxdemarzi/neography/blob/master/lib/neography/rest.rb[neography gem]: [source,ruby] ---- Neography::Rest.new.add_node_to_index("people", "type", "person", node) ---- I can then get all the names like this: [source,ruby] ---- all_people = Neography::Rest.new.get_index("people", "type", "person").map { |n| n["data"]["name"] } ---- It seemed like there must be a better way to do this and http://twitter.com/#!/mesirii[Michael Hunger] was kind enough to show me a couple of cleaner solutions. One way is to query the initial index rather than creating a new one: [source,ruby] ---- all_people = Neography::Rest.new.find_node_index("people", "name:*").map { |n| n["data"]["name"] } ---- The 'find_node_index' method allows us to pass in a Lucene query which gets http://docs.neo4j.org/chunked/stable/rest-api-indexes.html#rest-api-find-node-by-query[executed via neo4j's REST API]. In this case we're using a wild card query on the 'name' property so it will return all documents. This way of getting all the names seemed to be much more intensive than my other approach and when I ran it a few times in a row I was getting OutOfMemory errors. My graph only has a few thousand nodes in it so I'm not sure why that is yet. I think it should be possible to query the Lucene index directly with the partial name but I was struggling to get spaces in the search term to encode correctly and was getting back no results. Another approach is to use a cypher query to get a collection of all the nodes: [source,ruby] ---- all_people = Neography::Rest.new.execute_query("start n=node(*) return n")["data"].map { |n| n[0]["data"]["name"] } ---- I imagine this approach wouldn't scale with graph size but for my graph it works just fine.
null
null
[ 0.016939552500844002, -0.017093827947974205, 0.009296904318034649, 0.027358166873455048, 0.0849827378988266, 0.00839459802955389, 0.01401132345199585, 0.032551784068346024, -0.004062844440340996, -0.016410138458013535, -0.04190649092197418, -0.016669349744915962, -0.06393758952617645, 0.022199688479304314, 0.015655269846320152, 0.06635703891515732, 0.0595514215528965, 0.022999601438641548, 0.010776209644973278, -0.03525104373693466, 0.0394570529460907, 0.05419093742966652, 0.009431753307580948, 0.029554782435297966, 0.058113060891628265, 0.0032044663093984127, 0.003558367257937789, 0.01066229585558176, -0.03857826068997383, 0.0002837575739249587, 0.025782300159335136, -0.014117478393018246, 0.027645589783787727, 0.00902424193918705, 0.023155519738793373, -0.0047141918912529945, -0.025986483320593834, 0.004893991630524397, 0.007068632636219263, 0.016454698517918587, -0.07964380830526352, 0.03441944718360901, -0.04146815463900566, 0.025802424177527428, -0.02139742113649845, 0.01971481926739216, -0.07216298580169678, 0.030152015388011932, 0.01847747340798378, 0.016538940370082855, -0.07450831681489944, 0.0021990244276821613, 0.013402465730905533, 0.011944059282541275, -0.010489087551832199, 0.04310031235218048, 0.017650529742240906, -0.07454174757003784, 0.045150816440582275, 0.0018725065747275949, -0.0027637872844934464, -0.014057833701372147, 0.015654733404517174, 0.04298917576670647, -0.0026615250390022993, -0.047759488224983215, -0.0004310659132897854, 0.05852121487259865, -0.05067586898803711, -0.002126530045643449, -0.0003879296127706766, -0.004852627869695425, -0.019825205206871033, -0.0017391582950949669, -0.0015157678863033652, -0.047489650547504425, 0.01631067879498005, 0.06146681308746338, 0.029300561174750328, 0.042549990117549896, -0.036725908517837524, 0.015011932700872421, 0.002822933718562126, 0.038600362837314606, -0.01572960801422596, -0.03015098161995411, -0.02854795753955841, -0.017558852210640907, -0.037745095789432526, 0.02211940474808216, 0.021149400621652603, -0.06433938443660736, -0.02171875350177288, 0.009258327074348927, -0.03185490891337395, 0.010511980392038822, 0.006196834612637758, -0.0035675917752087116, -0.026304682716727257, -0.004823006223887205, -0.03251535817980766, -0.033346936106681824, -0.0014025968266651034, 0.02363281510770321, -0.07740695774555206, -0.026807870715856552, -0.018076766282320023, -0.00820226315408945, -0.0006182634388096631, -0.020432351157069206, -0.0466790571808815, 0.0026214919053018093, -0.034508027136325836, 0.010007833130657673, -0.06472978740930557, 0.05311762914061546, 0.03661900386214256, -0.02185085415840149, -0.019320901483297348, 0.0318431556224823, 0.0452079139649868, 0.04195152595639229, 0.021435987204313278, 0.05839969590306282, -0.04100259765982628, 0.014418955892324448, 0.0009567554225213826, 0.052160561084747314, -0.03673994541168213, -0.04889221489429474, -0.010944243520498276, 0.05456232652068138, -0.0005652879481203854, 0.001171143027022481, 0.008452698588371277, -0.03829973563551903, -0.015087789855897427, 0.00891339872032404, 0.06445697695016861, 0.024589182808995247, 0.007869664579629898, -0.06344348937273026, 0.0028937337920069695, 0.0010828209342435002, 0.03346550464630127, 0.0006939172744750977, -0.007709721103310585, -0.024574048817157745, -0.033017951995134354, 0.013374089263379574, -0.01575506292283535, 0.013120129704475403, 0.05023543909192085, -0.030056513845920563, -0.006680956110358238, 0.10196291655302048, 0.030802560970187187, -0.006425891071557999, 0.0054321023635566235, 0.01673128642141819, 0.025708114728331566, 0.03802613914012909, 0.003582743462175131, 0.04998323693871498, -0.00546598806977272, -0.023962169885635376, -0.0062123616226017475, 0.06310092657804489, -0.002918342361226678, 0.0007756231934763491, -0.028164569288492203, -0.04755119979381561, 0.03943134471774101, -0.03676758334040642, -0.005563588347285986, 0.051940713077783585, 0.08786148577928543, 0.011986208148300648, 0.009746687486767769, 0.012170849367976189, -0.06863335520029068, 0.04260045289993286, -0.013687905855476856, 0.004394993185997009, 0.026756733655929565, 0.0006977765588089824, 0.07395600527524948, 0.04744768887758255, 0.011751722544431686, -0.0023361854255199432, -0.08922777324914932, -0.06994929164648056, -0.00414368137717247, -0.010174970142543316, 0.05802313983440399, -0.03296733647584915, 0.04695257917046547, 0.06728767603635788, -0.0006227116682566702, 0.033832527697086334, 0.01756928861141205, -0.02208484709262848, 0.02839614264667034, -0.04725559428334236, -0.05808652192354202, 0.04240913316607475, 0.031287021934986115, -0.05317526310682297, -0.0296641755849123, 0.01819530501961708, 0.00597354955971241, -0.003501255065202713, 0.032759394496679306, -0.013499045744538307, 0.01800474151968956, 0.031053563579916954, 0.041766900569200516, 0.0021226091776043177, 0.028389180079102516, -0.028894400224089622, 0.06594222038984299, 0.017017243430018425, -0.0012446569744497538, -0.025120461359620094, -0.013221513479948044, 0.13101939857006073, 0.05915668606758118, -0.029504692181944847, -0.06660175323486328, 0.026507167145609856, 0.023852122947573662, -0.04176288843154907, 0.015939699485898018, -0.021393146365880966, -0.02469131536781788, -0.0017100971890613437, -0.0379757359623909, -0.0404818020761013, 0.019307395443320274, -0.04283880442380905, -0.0037646556738764048, 0.04657908156514168, -0.025766974315047264, 0.04661059007048607, 0.03775377571582794, -0.003188350470736623, 0.004398013930767775, -0.026907943189144135, -0.053748153150081635, 0.04383641481399536, 0.0160524845123291, -0.011172394268214703, 0.026125730946660042, -0.017061058431863785, -0.0017983148572966456, -0.03394496440887451, -0.027086609974503517, 0.05459430813789368, 0.05024285614490509, 0.07353710383176804, -0.018570415675640106, 0.05951949208974838, -0.04915640503168106, 0.0145518584176898, -0.00948330294340849, -0.0467853844165802, -0.028007954359054565, -0.028405001387000084, -0.001751717529259622, 0.0018442262662574649, 0.01734193228185177, -0.005787413101643324, 0.03285883367061615, 0.005723613314330578, 0.0059423246420919895, 0.012354638427495956, 0.02449057064950466, 0.009810544550418854, 0.0027055805549025536, -0.031062252819538116, -0.031318116933107376, 0.0576850101351738, -0.042503442615270615, -0.022318311035633087, -0.032634180039167404, -0.0669371634721756, 0.04679257795214653, -0.045798446983098984, -0.025624176487326622, -0.009622124023735523, 0.02371538244187832, 0.03814643993973732, 0.025882666930556297, 0.009729006327688694, 0.06772585213184357, 0.028216224163770676, 0.018332332372665405, 0.008346001617610455, -0.025253303349018097, 0.04815351590514183, -0.03379080444574356, 0.025299906730651855, 0.04465093836188316, -0.027079623192548752, 0.01348432619124651, -0.029902733862400055, 0.0065706465393304825, -0.005443355534225702, -0.28026169538497925, 0.057422421872615814, -0.023207006976008415, -0.05015093460679054, 0.010718005709350109, -0.021819736808538437, 0.007391766179352999, -0.026553291827440262, -0.002384611638262868, 0.0048818704672157764, -0.003919088281691074, -0.014862950891256332, -0.01164509542286396, 0.022205902263522148, 0.005410818383097649, 0.03184995427727699, -0.014331636019051075, -0.034946832805871964, 0.011339540593326092, 0.06547766923904419, 0.010158372111618519, -0.04527847841382027, -0.013427644036710262, 0.03413432091474533, 0.029917433857917786, 0.04136586934328079, -0.08635658770799637, 0.036245714873075485, -0.03624262660741806, -0.016301274299621582, 0.006949929054826498, -0.05441591143608093, 0.01199238933622837, -0.011324994266033173, -0.032220225781202316, -0.04129880294203758, 0.0478670597076416, -0.006388530135154724, 0.020110933110117912, 0.01298427488654852, -0.04614948853850365, -0.041381072252988815, -0.04337010532617569, -0.03579840064048767, 0.06978416442871094, 0.01146087795495987, -0.08557134121656418, -0.006666921079158783, -0.021435821428894997, 0.04289281368255615, -0.034932542592287064, -0.040175359696149826, -0.021534331142902374, 0.021949458867311478, -0.01342765148729086, -0.036687158048152924, -0.039476871490478516, -0.0030868910253047943, -0.06471658498048782, -0.05029885470867157, -0.013704132288694382, -0.02387801744043827, 0.008562959730625153, -0.04243982210755348, -0.035924192517995834, -0.06027158722281456, -0.0649879053235054, -0.02057073637843132, 0.07550905644893646, 0.010379189625382423, -0.025204438716173172, 0.034625206142663956, -0.008919818326830864, -0.10962947458028793, -0.050041936337947845, -0.000967495609074831, -0.02296282909810543, -0.0031624743714928627, -0.037918586283922195, 0.05421169102191925, -0.035628654062747955, -0.04387044161558151, 0.020787013694643974, 0.029508687555789948, 0.01168117020279169, 0.013520238921046257, -0.0015865545719861984, -0.037189800292253494, -0.030466563999652863, 0.011040778830647469, 0.06395748257637024, -0.04020994156599045, -0.03352738171815872, -0.004383590072393417, 0.03002971224486828, 0.039374612271785736, 0.016500279307365417, -0.00895501859486103, 0.030175158753991127, 0.0589827336370945, 0.051653627306222916, -0.032331861555576324, 0.032741181552410126, -0.008033469319343567, -0.01076571550220251, 0.014045213349163532, -0.053007613867521286, 0.022473765537142754, 0.022591393440961838, 0.01787598617374897, -0.013358356431126595, -0.013992399908602238, 0.03022061474621296, -0.044415123760700226, -0.00009332360787084326, -0.012495696544647217, 0.009597478434443474, 0.03030841052532196, 0.03861585631966591, -0.03241543471813202, -0.07216847687959671, 0.011774709448218346, 0.028609534725546837, -0.020328262820839882, -0.06226842477917671, -0.038983769714832306, -0.03155776485800743, -0.034957293421030045, 0.018954260274767876, 0.0240063164383173, -0.016610873863101006, 0.01273419801145792, 0.007030835375189781, -0.024586910381913185, 0.03994983434677124, -0.0499621257185936, -0.03453223407268524, -0.03490116819739342, 0.022510945796966553, 0.005812075454741716, -0.014210956171154976, 0.005181243177503347, -0.018445465713739395, 0.061909615993499756, 0.04750889167189598, 0.01971190609037876, 0.0097894798964262, -0.007574705872684717, 0.0018128586234524846, -0.0032862822990864515, -0.00896355602890253, -0.03303268924355507, 0.005061703734099865, -0.04185349494218826, 0.005411522928625345, -0.03503325581550598, 0.04644429683685303, -0.02892293594777584, -0.020424455404281616, -0.044356148689985275, 0.014702951535582542, -0.04209531843662262, 0.01048428937792778, -0.015815630555152893, 0.004465889185667038, 0.05828218162059784, -0.02392883040010929, 0.04639237001538277, -0.0182893518358469, -0.012810414656996727, 0.02197330631315708, 0.009632103145122528, -0.028092412278056145, -0.00031125571695156395, 0.012094720266759396, 0.003701950889080763, 0.011662757024168968, 0.056980717927217484, 0.021035801619291306, 0.030366502702236176, -0.015893854200839996, -0.010592414997518063, 0.02074400521814823, 0.013030463829636574, 0.049835238605737686, 0.04505721852183342, -0.017974914982914925, -0.0026272886898368597, -0.042995814234018326, -0.013057048432528973, -0.015140744857490063, -0.001524973544292152, -0.02800198271870613, 0.01732141338288784, -0.027269475162029266, -0.06732526421546936, 0.061061155050992966, -0.03461255505681038, 0.012052255682647228, 0.053892940282821655, -0.0022952351719141006, 0.0061401803977787495, -0.023928755894303322, 0.0267829317599535, 0.07047965377569199, -0.031951259821653366, -0.020075583830475807, -0.014178784564137459, -0.02034715935587883, 0.0008227304206229746, 0.012517141178250313, -0.046871840953826904, -0.01605784147977829, -0.006830791477113962, 0.02243957854807377, -0.013455256819725037, -0.034195661544799805, -0.03363828733563423, 0.006854481529444456, -0.012729108333587646, 0.04485583305358887, -0.004335770383477211, -0.0006634974852204323, -0.016702517867088318, 0.01365728210657835, 0.051982663571834564, -0.02375827729701996, -0.03342404216527939, -0.01644291914999485, -0.024415481835603714, 0.006047468166798353, -0.013737404718995094, 0.0422513373196125, 0.02663307450711727, -0.01998421549797058, 0.00918736681342125, -0.03112799860537052, 0.0028279712423682213, 0.01012986060231924, 0.04382393881678581, 0.004515391308814287, -0.01103898510336876, -0.051260121166706085, 0.006112476345151663, -0.03515905141830444, 0.008233058266341686, -0.008826227858662605, -0.0031487999949604273, 0.033146265894174576, 0.03014359064400196, -0.004153651185333729, 0.0358353890478611, -0.014208114705979824, -0.04111659526824951, 0.051318712532520294, -0.035424597561359406, -0.05528564006090164, -0.0339466892182827, -0.06150779128074646, 0.015068419277668, 0.04141010716557503, 0.03891806676983833, -0.029928045347332954, 0.06287673860788345, 0.05565470829606056, 0.01916993409395218, 0.028447432443499565, -0.015476725995540619, 0.043555114418268204, -0.03187141194939613, -0.018425628542900085, -0.07636063545942307, -0.02343682013452053, 0.04348670691251755, -0.007471744902431965, 0.023694127798080444, -0.01758553832769394, -0.032722119241952896, -0.007299021817743778, -0.05204062536358833, -0.02732439711689949, 0.032551079988479614, -0.02546764723956585, 0.030543770641088486, 0.01693080924451351, -0.05996284633874893, 0.006140916608273983, 0.05255293473601341, -0.029989687725901604, -0.03016202338039875, -0.04513486474752426, 0.04849302023649216, -0.025603607296943665, 0.045373447239398956, -0.006583707872778177, -0.015549163334071636, 0.06338408589363098, 0.027861619368195534, 0.015142892487347126, 0.06780625879764557, -0.030938321724534035, 0.031963758170604706, 0.03815649449825287, -0.0024137981235980988, 0.023104650899767876, 0.03710629791021347, -0.02004067786037922, -0.05266660079360008, 0.05227794125676155, -0.0039039943367242813, -0.01775377243757248, -0.04553698003292084, 0.07059022784233093, 0.016558833420276642, -0.04793951287865639, -0.05357643589377403, 0.034710951149463654, -0.03332379460334778, -0.018113788217306137, -0.06679490953683853, 0.007885027676820755, -0.008028605952858925, 0.04464405030012131, -0.03882890194654465, 0.002653987379744649, 0.07298275828361511, -0.015409671701490879, 0.01570376567542553, 0.008488044142723083, 0.07161742448806763, 0.10251092910766602, 0.047217436134815216, 0.005843084771186113, 0.08369380980730057, 0.008737106807529926, -0.03278245031833649, -0.011883157305419445, -0.03336368128657341, -0.013654778711497784, 0.03530355542898178, -0.006033259443938732, 0.05426269769668579, -0.0182847548276186, 0.07440872490406036, -0.026918752118945122, -0.007295362651348114, -0.013443094678223133, 0.004853896796703339, 0.050169747322797775, 0.04139406606554985, -0.002227773191407323, 0.04419804736971855, -0.049317631870508194, -0.04085022583603859, 0.011007888242602348, 0.006036166567355394, -0.03414905071258545, 0.0072577595710754395, -0.02081259712576866, 0.0026532025076448917, -0.0011035565985366702, 0.02980111353099346, 0.08364977687597275, -0.031047523021697998, -0.013135508634150028, -0.004918563645333052, -0.0036539186257869005, -0.02159317024052143, 0.004366513341665268, -0.012072478421032429, 0.002924651373177767, -0.02276523970067501, -0.0333142913877964, -0.012116472236812115, -0.00024116403074003756, -0.03644774109125137, 0.022760367020964622, -0.03491082414984703, -0.0020789136178791523, -0.005566848907619715, 0.012019486166536808, -0.03278134763240814, -0.02696467563509941, -0.05516716092824936, -0.05129608139395714, -0.09101736545562744, 0.029077015817165375, 0.00017491249309387058, 0.035984717309474945, -0.021986141800880432, -0.020586341619491577, -0.0252230167388916, 0.0063966200686991215, 0.03830123320221901, -0.04701307788491249, 0.016606280580163002, -0.014204147271811962, 0.01660933531820774, 0.023334093391895294, 0.030104126781225204, 0.04676827788352966, 0.0045782397501170635, 0.02794656716287136, -0.012811848893761635, 0.01941290870308876, 0.03958925977349281, 0.02125777117908001, -0.013587214052677155, -0.09135469049215317, 0.0014309610705822706, -0.011637559160590172, -0.02962612733244896, -0.057415302842855453, -0.007881837897002697, 0.06186980381608009, 0.015437504276633263, 0.04426188766956329, 0.0031553783919662237, -0.012836878187954426, -0.021328095346689224, 0.009582145139575005, -0.00043048211955465376, -0.0225610863417387, 0.022140949964523315, -0.022439811378717422, 0.0694521889090538, 0.0181165412068367, -0.00829550251364708, -0.01853141002357006, -0.01713554747402668, -0.010214755311608315, 0.00013700382260140032, -0.03940784931182861, -0.04770004749298096, -0.05724167078733444, -0.08993086963891983, -0.04398570582270622, 0.016274044290184975, -0.03620567545294762, -0.036598000675439835, -0.011140448972582817, 0.03008187748491764, -0.03408510982990265, 0.04795153811573982, -0.04430115967988968, 0.046775419265031815, -0.013986861333251, -0.017819149419665337, -0.0311407633125782, -0.0008790871361270547, 0.005717873573303223, 0.01766108348965645, 0.026811012998223305, -0.04060919210314751, 0.004525638651102781, -0.029544882476329803, 0.03825192153453827, 0.025707585737109184, 0.016512975096702576, -0.01853971742093563 ]
[ -0.029807982966303825, -0.008426561951637268, -0.053006917238235474, 0.0170311089605093, 0.06368476897478104, -0.055670738220214844, -0.011803056113421917, 0.008375922217965126, -0.00484465342015028, -0.013479112647473812, 0.03709167614579201, -0.03733779862523079, 0.01939494162797928, -0.017071764916181564, 0.04761338233947754, 0.0131465969607234, -0.00999826192855835, -0.04696160927414894, -0.011695818044245243, 0.03550689294934273, -0.0023406576365232468, -0.026894904673099518, -0.0015944283222779632, -0.03345613554120064, -0.007221627980470657, 0.05144130438566208, 0.05132122337818146, -0.028353208675980568, -0.018853941932320595, -0.201519176363945, 0.0011966946767643094, 0.01600305549800396, 0.0553298257291317, 0.015067812986671925, 0.01895488239824772, 0.030989063903689384, 0.05045725032687187, 0.0008111727074719965, -0.0008335337042808533, 0.033276915550231934, 0.016350412741303444, -0.0036859905812889338, -0.04201548174023628, -0.009278331883251667, 0.058387868106365204, 0.043394580483436584, -0.019281534478068352, -0.0182828176766634, -0.03797277808189392, 0.006418546661734581, -0.046534664928913116, -0.014832119457423687, -0.016880149021744728, -0.006914047524333, 0.005634635221213102, 0.024448053911328316, 0.03645622357726097, 0.04236181452870369, 0.032297950237989426, 0.028985049575567245, 0.03752375394105911, 0.016221607103943825, -0.13203410804271698, 0.06448917090892792, -0.01839958131313324, 0.02480318211019039, -0.0651906356215477, -0.010923432186245918, -0.05402913689613342, 0.03621989116072655, 0.0482352115213871, 0.01693125255405903, -0.0156942717730999, 0.05292745679616928, -0.0032082542311400175, 0.008871990256011486, -0.016413265839219093, 0.010158926248550415, 0.030659161508083344, -0.04725896567106247, -0.07428883761167526, 0.001762403640896082, -0.01986447535455227, -0.03923125937581062, -0.01926913857460022, 0.05000025033950806, -0.020716261118650436, 0.045872267335653305, 0.01317995972931385, 0.055044014006853104, 0.01763884909451008, -0.013444261625409126, 0.035380542278289795, 0.03415655344724655, -0.07999637722969055, -0.04949517548084259, 0.010759618133306503, 0.03983619436621666, 0.016519993543624878, 0.41092509031295776, -0.0028461527545005083, 0.02399708330631256, 0.044245995581150055, 0.05790851265192032, -0.02785331942141056, -0.0333683118224144, -0.014627191238105297, -0.07507132738828659, 0.02110014110803604, -0.019800318405032158, 0.013206373900175095, -0.01972275599837303, 0.03229900822043419, -0.07767779380083084, 0.009562881663441658, 0.004506626632064581, 0.05287441983819008, 0.03333404287695885, -0.010709290392696857, 0.006450383923947811, -0.009181153029203415, 0.007875509560108185, 0.03632431849837303, 0.018001902848482132, 0.025040078908205032, 0.05061116814613342, 0.032360099256038666, 0.036523833870887756, 0.03407115861773491, 0.041358184069395065, 0.03936702758073807, 0.032649926841259, -0.07829965651035309, 0.012577631510794163, -0.008086948655545712, 0.01998528651893139, 0.019693030044436455, -0.051832783967256546, -0.013099394738674164, 0.011206027120351791, 0.0167401060461998, -0.031161723658442497, -0.00512758269906044, 0.01654726080596447, -0.03910597041249275, 0.13554875552654266, -0.031992994248867035, -0.016798997297883034, -0.04055086523294449, -0.049710962921381, 0.014977173879742622, 0.05600966885685921, -0.020426973700523376, -0.05093878507614136, -0.02806708589196205, 0.0297600906342268, 0.09659437835216522, 0.00022522131621371955, -0.08456563204526901, 0.020869456231594086, 0.007015152368694544, -0.01091467123478651, -0.01408885233104229, 0.0762871503829956, 0.024074586108326912, -0.10453051328659058, -0.0356653667986393, 0.028281357139348984, -0.023859765380620956, -0.09106165170669556, 0.02601347118616104, -0.007284531835466623, -0.05205424875020981, -0.0021889840718358755, 0.05692929029464722, 0.010838462971150875, -0.011474772356450558, -0.02699354663491249, 0.029652763158082962, -0.0004129856824874878, -0.021942410618066788, 0.01638537272810936, -0.03700719773769379, -0.02555074542760849, -0.07803444564342499, -0.05280900001525879, -0.06944069266319275, 0.010573708452284336, -0.031016692519187927, -0.025857919827103615, -0.0019824053160846233, 0.020735949277877808, -0.027408793568611145, 0.07501018792390823, -0.042901791632175446, -0.0061839427798986435, -0.030554847791790962, 0.01154938992112875, -0.026917045935988426, -0.030426183715462685, 0.03588166832923889, 0.017951203510165215, -0.004085170570760965, 0.016021331772208214, -0.05269842967391014, 0.004953418392688036, 0.05657308176159859, -0.027501165866851807, 0.073119156062603, -0.014762947335839272, -0.03406040742993355, 0.009578276425600052, -0.01904655620455742, 0.02495354786515236, -0.018787868320941925, -0.04565059766173363, 0.02267223596572876, -0.013221011497080326, 0.03353855013847351, 0.055973853915929794, -0.03112231194972992, -0.05452834442257881, -0.05623171478509903, -0.3556593656539917, -0.045843563973903656, -0.029613345861434937, 0.012807285413146019, 0.018742287531495094, -0.03706039488315582, 0.01973845437169075, 0.008233358152210712, 0.016218269243836403, 0.037421148270368576, 0.07797450572252274, 0.001649551559239626, -0.029423868283629417, -0.07188435643911362, 0.005170901771634817, 0.048194773495197296, -0.005780596286058426, -0.002162350108847022, -0.03500455990433693, -0.008116076700389385, 0.015377657487988472, -0.0330173596739769, -0.008595298044383526, -0.05640530213713646, -0.004426016006618738, 0.002166128484532237, 0.12345704436302185, 0.01733129844069481, -0.020369715988636017, -0.06348050385713577, 0.020634988322854042, -0.012763882987201214, -0.03915465250611305, -0.08518116921186447, -0.002499975962564349, -0.020559808239340782, 0.024797147139906883, 0.04966368526220322, 0.006656749173998833, -0.008077953942120075, -0.03734616935253143, -0.0005944317090325058, -0.0331641361117363, -0.020103801041841507, -0.024045687168836594, 0.03219364956021309, -0.050654735416173935, -0.01750022917985916, 0.020485393702983856, 0.07898690551519394, 0.021010616794228554, 0.037551119923591614, -0.004566613584756851, 0.007076595444232225, -0.013254990801215172, -0.04746289551258087, -0.0795065239071846, -0.06650318950414658, 0.007472855504602194, 0.024312874302268028, 0.006200026720762253, 0.014845632947981358, 0.027110645547509193, -0.08256867527961731, 0.031120317056775093, 0.001703146961517632, -0.03035145066678524, 0.00775582529604435, 0.02219967730343342, -0.0769878402352333, -0.04317993298172951, 0.12516285479068756, -0.001093835337087512, 0.01825733296573162, 0.03750212490558624, 0.06678605824708939, 0.018061108887195587, -0.01162754837423563, 0.05481981113553047, 0.005599771160632372, 0.03174567595124245, -0.032869596034288406, 0.08089780807495117, -0.012233318760991096, -0.0043084570206701756, 0.08338232338428497, 0.016265003010630608, -0.0508594885468483, 0.029680809006094933, 0.007316651288419962, -0.015241696499288082, 0.017525186762213707, -0.020837660878896713, -0.028162116184830666, 0.041228413581848145, -0.015240238979458809, -0.24623094499111176, 0.07025261223316193, 0.018860727548599243, 0.055482760071754456, 0.01924022287130356, 0.011128310114145279, 0.01919717900454998, -0.024979691952466965, 0.031479254364967346, -0.019765006378293037, 0.04482656344771385, 0.06732213497161865, -0.012892589904367924, -0.039354026317596436, -0.02381630428135395, 0.028520971536636353, 0.0256756953895092, 0.03122999332845211, -0.012859798036515713, 0.01736462488770485, 0.03524596989154816, -0.020427944138646126, 0.19538754224777222, 0.030384980142116547, -0.0025322327855974436, 0.02494059130549431, -0.03557728976011276, 0.0050552720203995705, 0.029979510232806206, 0.005753750447183847, 0.0032870187424123287, 0.021389907225966454, -0.0000683092002873309, 0.02368336170911789, 0.03295645862817764, -0.05261121317744255, 0.008998991921544075, 0.016363484784960747, 0.022593194618821144, -0.03635432571172714, 0.0006087346118874848, 0.0029225978069007397, -0.07044048607349396, 0.02323000691831112, 0.08489847183227539, -0.012784038670361042, -0.020567918196320534, 0.021664666011929512, -0.0690528079867363, 0.02092902734875679, -0.06796866655349731, -0.04232674837112427, -0.06913045048713684, -0.0014890366001054645, 0.006239897105842829, 0.05015264078974724, -0.004853032995015383, 0.0037787104956805706, 0.019048718735575676, 0.012149592861533165, -0.04892009496688843, -0.016228267922997475, 0.1001141369342804, -0.012658466584980488, 0.0075735789723694324 ]
[ 0.05434922128915787, 0.06020709499716759, -0.025553036481142044, 0.0659569799900055, -0.026401877403259277, 0.021048778668045998, -0.02345268428325653, -0.014909230172634125, -0.02488786354660988, -0.028659695759415627, -0.04887906834483147, 0.030182238668203354, 0.04867810755968094, -0.016910148784518242, -0.04604705423116684, 0.019892558455467224, -0.0007595489150844514, 0.04209592938423157, 0.040865056216716766, -0.014540462754666805, -0.014336123131215572, -0.00846785493195057, 0.032170768827199936, -0.028659095987677574, -0.03607069328427315, 0.007867110893130302, -0.04278630018234253, -0.026851607486605644, 0.022923748940229416, -0.1125715970993042, -0.031807031482458115, -0.026331795379519463, -0.002782636322081089, 0.04276404529809952, -0.04527170583605766, -0.00884775910526514, 0.04340295493602753, 0.004595484118908644, -0.012368456460535526, 0.04448799416422844, 0.018577728420495987, 0.01670158840715885, -0.060601137578487396, 0.023457253351807594, 0.011663369834423065, -0.027771631255745888, -0.026685478165745735, -0.035407572984695435, 0.029286207631230354, -0.0022560188081115484, -0.05897851660847664, -0.034160297363996506, -0.031178491190075874, -0.008431946858763695, 0.019265657290816307, -0.017065441235899925, -0.04785612225532532, -0.02933337911963463, 0.02435022033751011, -0.0009238022030331194, 0.0748230442404747, -0.016314059495925903, -0.011689024046063423, -0.05565490946173668, -0.007086871191859245, -0.000863009481690824, 0.0020682294853031635, 0.01037631556391716, 0.004666459280997515, -0.002459021983668208, 0.031362488865852356, 0.02020205743610859, -0.10000485181808472, -0.026160206645727158, -0.032923951745033264, 0.014093157835304737, 0.03360852971673012, -0.03203195333480835, -0.014626875519752502, 0.02876555174589157, -0.0010116520570591092, 0.008295825682580471, 0.009278582409024239, 0.011929670348763466, -0.040315933525562286, 0.019158273935317993, -0.009092719294130802, -0.02324637584388256, 0.008228328078985214, 0.008853917010128498, -0.050008077174425125, -0.026578126475214958, -0.02252967841923237, -0.005464333575218916, -0.06752923876047134, 0.009996944107115269, 0.015347777865827084, 0.0172446109354496, -0.013182028196752071, 0.7743100523948669, -0.0071954065933823586, -0.023373913019895554, -0.009781824424862862, 0.009999379515647888, -0.027633968740701675, 0.004103710874915123, 0.02076856978237629, 0.017224078997969627, -0.0353279709815979, 0.014203541912138462, -0.015026592649519444, 0.040116243064403534, 0.005331438034772873, 0.028177687898278236, 0.02559029683470726, 0.018991900607943535, 0.05743568763136864, 0.014460068196058273, 0.009337966330349445, 0.043956272304058075, 0.03351759538054466, 0.06641685217618942, 0.02946232259273529, -0.012811800464987755, 0.008366853930056095, -0.16075588762760162, -0.01875205524265766, -6.885755706949101e-33, 0.07191456854343414, 0.06106767803430557, 0.050672076642513275, 0.019075170159339905, -0.03609444573521614, 0.012680089101195335, 0.004551436752080917, -0.012016129679977894, -0.006975330412387848, -0.03011934831738472, -0.023785525932908058, 0.029426617547869682, 0.012409016489982605, -0.02103589102625847, 0.002418423304334283, -0.010285766795277596, 0.008919667452573776, 0.02181946113705635, 0.018036384135484695, -0.017933446913957596, 0.012333070859313011, 0.02933787927031517, -0.022052036598324776, 0.04736426845192909, -0.02937864512205124, 0.010876358486711979, 0.004192874301224947, -0.023088160902261734, 0.004596612881869078, -0.04632200300693512, -0.04392990842461586, 0.03392494097352028, 0.0592631921172142, -0.024296773597598076, 0.040252648293972015, -0.056180041283369064, -0.019082576036453247, 0.047807782888412476, -0.027219226583838463, -0.05611792206764221, -0.017351550981402397, 0.025552479550242424, -0.027864236384630203, -0.07187281548976898, -0.017811859026551247, -0.013322373852133751, -0.018598319962620735, 0.037478044629096985, 0.002375977113842964, -0.002019080799072981, -0.019821884110569954, 0.014654041267931461, -0.01573588326573372, 0.05024879425764084, -0.02343691699206829, -0.0011666533537209034, 0.017188869416713715, 0.023966185748577118, -0.02429141104221344, -0.0028282897546887398, 0.046521592885255814, -0.03915487229824066, 0.017268450930714607, 0.064588263630867, 0.05387444421648979, -0.0007745869224891067, -0.014930174686014652, 0.048035696148872375, 0.011419916525483131, 0.04107184708118439, -0.033945389091968536, 0.02883225493133068, -0.015947990119457245, -0.0037178699858486652, 0.013879241421818733, -0.0858139842748642, -0.025254443287849426, -0.019198313355445862, -0.007691505365073681, 0.05464038625359535, -0.008913738653063774, -0.016115780919790268, 0.017366694286465645, -0.06234367936849594, 0.013216829858720303, 0.004340300802141428, 0.040149468928575516, 0.01880536787211895, 0.012776478193700314, 0.007273984607309103, 0.05611147731542587, 0.03170206770300865, 0.008189376443624496, -0.033488620072603226, -0.03013879619538784, 6.770212693786932e-33, -0.003980453126132488, -0.03654176741838455, -0.010609284043312073, 0.012845227494835854, 0.027327489107847214, -0.000821707712020725, 0.013252885080873966, -0.00026029569562524557, -0.05012065917253494, 0.06727806478738785, 0.010381202213466167, -0.06894070655107498, 0.0025818259455263615, 0.009046962484717369, 0.04564034566283226, -0.009333630092442036, 0.009713810868561268, -0.06581782549619675, 0.005374348722398281, 0.03371448442339897, -0.05668150633573532, 0.00495525449514389, -0.019560566172003746, 0.02365117147564888, 0.035683564841747284, 0.02184072509407997, -0.011701473966240883, -0.0053829168900847435, -0.021875154227018356, -0.010099198669195175, 0.020985791459679604, -0.06611542403697968, 0.011798296123743057, -0.008474882692098618, -0.021487677469849586, 0.0415445901453495, -0.016588378697633743, 0.00968104600906372, 0.040331315249204636, -0.022820748388767242, 0.019170982763171196, 0.007788630668073893, -0.011303519830107689, 0.04036054387688637, 0.025266926735639572, 0.0035069456789642572, -0.028815070167183876, 0.02868838422000408, 0.017052510753273964, 0.004869217053055763, 0.000821898051071912, -0.0027927029877901077, -0.014091510325670242, -0.00610123947262764, 0.005636750254780054, -0.07267805188894272, 0.012720493599772453, 0.04340380057692528, -0.036104716360569, 0.04793556034564972, -0.029385654255747795, -0.014111180789768696, -0.022654149681329727, 0.04175877571105957, -0.030376242473721504, -0.02124698832631111, -0.03527209907770157, -0.04303279519081116, -0.0013671244960278273, -0.03679070621728897, 0.009776794351637363, -0.014503411017358303, -0.007169509306550026, 0.023756757378578186, 0.04966356232762337, -0.006272473838180304, -0.01614856906235218, 0.013427170924842358, -0.06053802743554115, 0.010632344521582127, -0.022769955918192863, 0.003038556780666113, -0.0004294632817618549, 0.016710463911294937, 0.025287870317697525, -0.005135674960911274, -0.037563156336545944, 0.05255886912345886, -0.03183610737323761, 0.010981639847159386, 0.043290089815855026, -0.017657747492194176, -0.02602175436913967, 0.008852669969201088, -0.03322271630167961, -1.2300143126253715e-8, -0.030089696869254112, 0.018082933500409126, -0.01886279694736004, 0.031826458871364594, 0.003453373210504651, 0.029965221881866455, 0.00920138880610466, 0.012942241504788399, -0.02800222486257553, 0.01822901889681816, 0.03390641510486603, -0.019874630495905876, 0.016015317291021347, -0.006071820855140686, 0.03987139090895653, -0.09064802527427673, 0.030381856486201286, -0.009906516410410404, 0.038206543773412704, -0.003305653342977166, -0.025977592915296555, 0.025720473378896713, -0.004095533862709999, 0.01931983232498169, 0.021904727444052696, -0.029677215963602066, 0.031281664967536926, -0.07405916601419449, -0.006942875683307648, -0.012547736056149006, 0.02023264952003956, -0.022071504965424538, 0.0017613827949389815, 0.008998269215226173, -0.046644408255815506, -0.025417504832148552, 0.022588955238461494, 0.05567517504096031, -0.002820525784045458, 0.03252774477005005, 0.03311091661453247, 0.024599861353635788, -0.010881641879677773, -0.035891320556402206, -0.023796772584319115, -0.007642270997166634, -0.03147651255130768, 0.007271626032888889, 0.07702241837978363, -0.04533086717128754, -0.023737870156764984, -0.02711549960076809, 0.035761915147304535, 0.003973885904997587, 0.03834833577275276, 0.012073486112058163, 0.019020607694983482, -0.002723931334912777, 0.0002873199409805238, -0.016581617295742035, 0.026337897405028343, -0.018454983830451965, -0.055119652301073074, 0.00023667833011131734 ]
neo4j-searching-for-nodes-by-name
https://markhneedham.com/blog/2012/04/20/neo4j-searching-for-nodes-by-name
false
2012-04-29 00:01:07
Haskell: Colour highlighting when writing to the shell
[ "haskell" ]
[ "Haskell" ]
I spent a few hours writing a simple front end on top of the http://www.markhneedham.com/blog/2012/04/25/algorithms-rabin-karp-in-haskell/[Rabin Karp algorithm] so that I could show the line of the first occurrence of a pattern in a piece of text on the shell. I thought it would be quite cool if I could highlight the appropriate text on the line http://www.debian-administration.org/articles/460[like how grep does] when the '--color=auto' flag is supplied. We can make use of http://en.wikipedia.org/wiki/ANSI_escape_code[ANSI escape codes] to do this. We need to construct an escape sequence which starts with the 'ESC' character, represented by decimal value 27 or hexidecimal value 1b, followed by a left bracket ("["): ____ "\x1b[" or "\27[" ____ In the second part of the sequence we can choose http://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes[a variety of different options]. In this case we use the following: ____ CSI n [;k] m SGR -- Select Graphic Rendition Sets SGR parameters, including text color. After CSI can be zero or more parameters separated with ;. With no parameters, CSI m is treated as CSI 0 m (reset / normal), which is typical of most of the ANSI escape sequences. ____ To change the colour of the text we need to set 'k' to one of the following values: * 30 - Black * 31 - Red * 32 - Green * 33 - Yellow * 34 - Blue * 35 - Magenta * 36 - Cyan * 37 - White For example, if we want to print all future text in green then we can use the following escape sequence: [source,haskell] ---- > putStrLn $ "\x1b[32m" ---- image::{{<siteurl>}}/uploads/2012/04/green.jpg[Green,600] Ideally we should then reset the terminal which means passing a 'k' value of 0. So if we just want to highlight one word we'd end up with this: [source,haskell] ---- > putStrLn $ "\x1b[32m" ++ "highlight me" ++ "\x1b[0m" ++ " but not me" ---- image::{{<siteurl>}}/uploads/2012/04/green2.png[Green2,600]
null
null
[ -0.013317851349711418, 0.024945471435785294, -0.031367022544145584, 0.03133292496204376, 0.08651041239500046, 0.005045808851718903, 0.022138802334666252, 0.03163692355155945, 0.0317181758582592, -0.0290652085095644, -0.028891367837786674, -0.0026935692876577377, -0.057033639401197433, 0.004221257288008928, -0.001868993742391467, 0.0653989389538765, 0.056074369698762894, -0.012574771419167519, -0.011827289126813412, 0.0226060152053833, 0.004128339700400829, 0.07342911511659622, 0.015287825837731361, 0.02324729971587658, 0.022060347720980644, 0.013723921962082386, -0.00046776403905823827, 0.027576018124818802, -0.04743100702762604, 0.005977904424071312, 0.03731108829379082, -0.014288216829299927, -0.014665171504020691, -0.0097301434725523, 0.023151574656367302, 0.00620499812066555, -0.024226557463407516, -0.004409552086144686, 0.02188709005713463, 0.015535526908934116, -0.05468747392296791, 0.015641383826732635, -0.022087175399065018, 0.0033792690373957157, -0.04186652973294258, -0.015114287845790386, -0.06947148591279984, 0.02629447542130947, -0.008878388442099094, -0.001303915516473353, -0.05682980641722679, 0.03497804328799248, -0.037630680948495865, -0.015678122639656067, -0.00022912054555490613, 0.03030255436897278, 0.03957531601190567, -0.06141495704650879, 0.029715830460190773, -0.014322016388177872, -0.00006265422416618094, -0.010672632604837418, 0.0038287562783807516, 0.044177375733852386, 0.001961430301889777, -0.021250808611512184, -0.021737445145845413, 0.04105283319950104, -0.03488489240407944, -0.02590077370405197, 0.013529465533792973, 0.03794195130467415, 0.002806365257129073, -0.0128845926374197, 0.012073509395122528, -0.03191179409623146, 0.0020421859808266163, 0.07350242137908936, 0.014199887402355671, 0.04596106708049774, -0.020685290917754173, 0.017126435413956642, 0.032205384224653244, 0.03274879232048988, -0.019588803872466087, -0.041923537850379944, -0.027546487748622894, -0.012661192566156387, -0.03730101138353348, 0.057829294353723526, 0.0014884623233228922, -0.0817621499300003, 0.018519172444939613, 0.019139856100082397, 0.019466878846287727, 0.022349141538143158, 0.018074069172143936, 0.01277649775147438, 0.007377082947641611, 0.0011283651692792773, -0.03862197697162628, -0.02627825178205967, 0.015605783089995384, 0.004480759613215923, -0.09274998307228088, -0.0030793482437729836, -0.035545747727155685, 0.003618803573772311, 0.013437951914966106, 0.028605002909898758, -0.006748294457793236, -0.03353147208690643, 0.0013916698517277837, 0.0028323784936219454, -0.0876610204577446, 0.062687948346138, 0.011653414927423, -0.014548993669450283, 0.017031745985150337, 0.020331496372818947, 0.050920166075229645, 0.026070263236761093, -0.009736750274896622, 0.08636943250894547, 0.030353127047419548, 0.051883719861507416, 0.02923346683382988, 0.0415441058576107, -0.03558197245001793, -0.06243736296892166, -0.015114296227693558, 0.07995634526014328, -0.017082173377275467, 0.0011045094579458237, -0.002682092832401395, -0.007577191106975079, -0.03719067573547363, 0.00040217358036898077, 0.0580364465713501, 0.03217548877000809, 0.0003821162972599268, -0.04378746449947357, 0.01550342794507742, -0.022049609571695328, 0.02803918905556202, -0.025355981662869453, -0.008460949175059795, -0.01564275287091732, -0.03495996445417404, 0.015042616985738277, 0.03054562211036682, -0.027771977707743645, 0.05621699243783951, -0.01864655874669552, 0.001818910357542336, 0.062303684651851654, 0.046417757868766785, 0.03619977459311485, -0.0120305260643363, 0.013554280623793602, 0.04110778868198395, 0.033774346113204956, 0.005034622736275196, 0.04266729578375816, 0.004168493673205376, 0.011219105683267117, -0.023501981049776077, 0.04681432619690895, -0.021114826202392578, -0.00046122021740302444, -0.049050141125917435, -0.04296358674764633, 0.0632748231291771, -0.02505503036081791, -0.01252796035259962, 0.013634777627885342, 0.06346534937620163, 0.013574833981692791, 0.0544976107776165, -0.022700810804963112, -0.08246994018554688, 0.02913115732371807, -0.023227903991937637, 0.0574348047375679, 0.0007332492968998849, -0.03973713889718056, 0.06988745182752609, 0.025175586342811584, 0.0013769962824881077, 0.031273409724235535, -0.07834944128990173, -0.0610971562564373, -0.007503010332584381, -0.02377881109714508, 0.0633133202791214, -0.028769606724381447, 0.01591014303267002, 0.034533895552158356, 0.00936934258788824, 0.055262450128793716, 0.012899876572191715, -0.005765115842223167, 0.04502832144498825, -0.039138875901699066, -0.05044015124440193, 0.04077183082699776, 0.04502883553504944, -0.024627020582556725, -0.03983309119939804, -0.009077353402972221, 0.006860271096229553, 0.03587523102760315, 0.044549185782670975, -0.01098981499671936, 0.04680197685956955, 0.023755863308906555, 0.0229122843593359, -0.021598059684038162, 0.028022602200508118, -0.038375936448574066, 0.013628977350890636, 0.00905600655823946, -0.012950116768479347, 0.0007975147454999387, 0.0005959062837064266, 0.14902696013450623, 0.0675891786813736, -0.04119110852479935, -0.029806386679410934, 0.03792768716812134, -0.003913559950888157, -0.06526583433151245, 0.012895476073026657, 0.0020989032927900553, -0.03560547158122063, -0.005196942947804928, -0.03271973133087158, -0.0029160783160477877, 0.030565045773983, -0.02422070875763893, 0.0005527982721105218, 0.07768641412258148, -0.027403224259614944, 0.05218144506216049, -0.0328066349029541, -0.03168877586722374, -0.027386348694562912, -0.03206963092088699, -0.04494019225239754, -0.0003002841549459845, -0.01808304339647293, 0.00923056248575449, 0.03309277072548866, -0.04245518147945404, -0.0206547100096941, -0.008592270314693451, -0.06341373175382614, 0.006719178985804319, 0.06000284478068352, 0.031283583492040634, -0.023362834006547928, 0.03794300556182861, 0.00022699539840687066, 0.020209845155477524, -0.008502291515469551, -0.03521813452243805, -0.05330025404691696, -0.02929827757179737, -0.0005346404504962265, 0.02888316474854946, 0.0256253182888031, 0.03914286941289902, 0.003095038700848818, -0.012275164015591145, 0.016249801963567734, -0.021631820127367973, 0.007466067560017109, -0.012688813731074333, -0.01640929840505123, 0.0006583648500964046, -0.01606895588338375, 0.07183026522397995, -0.06671818345785141, -0.01096753217279911, -0.01083365734666586, -0.03352460637688637, 0.045679446309804916, -0.0633460134267807, -0.05762375891208649, -0.00039797142380848527, -0.0077430750243365765, 0.05156371742486954, -0.02690889686346054, 0.01598210632801056, 0.048598840832710266, -0.0007880058838054538, 0.005753964651376009, 0.025712095201015472, 0.00893978402018547, 0.04041249677538872, 0.0038622210267931223, 0.017899759113788605, 0.039547860622406006, -0.01007571630179882, -0.023673994466662407, -0.039716240018606186, 0.007207301910966635, -0.02145007811486721, -0.2985493242740631, 0.02386043220758438, -0.02598286233842373, -0.04220040515065193, 0.01777871884405613, -0.01792399398982525, -0.009693674743175507, -0.042014315724372864, 0.013160038739442825, 0.019773172214627266, -0.016014939174056053, -0.04509611800312996, -0.014084815979003906, 0.03912515938282013, 0.007177392486482859, -0.001404364826157689, -0.004209761042147875, -0.047866057604551315, 0.0036651247646659613, 0.03984261676669121, 0.014847571961581707, -0.05683625116944313, 0.02815524861216545, 0.04492012411355972, -0.006275394465774298, 0.0477946437895298, -0.0967155396938324, 0.04249238967895508, -0.05074694752693176, -0.030575688928365707, -0.0062956418842077255, -0.03935859352350235, 0.0010128574213013053, 0.022566363215446472, -0.0205239187926054, -0.00020080395916011184, 0.03392636403441429, -0.009128683246672153, 0.011469868943095207, 0.04481370002031326, -0.023339269682765007, -0.022300101816654205, -0.0015699310461059213, -0.022344442084431648, 0.0856606662273407, -0.02383519522845745, -0.05527718365192413, 0.011465523391962051, -0.00122067891061306, 0.07831205427646637, -0.04744212329387665, -0.02653791569173336, -0.026759644970297813, 0.051504481583833694, -0.023778367787599564, -0.008194824680685997, -0.033629659563302994, -0.03158360719680786, -0.039967965334653854, -0.025934461504220963, -0.0157818291336298, -0.034324269741773605, -0.020992068573832512, -0.05344089865684509, -0.004239974543452263, -0.0670764371752739, -0.06135733053088188, -0.023417402058839798, 0.06800805777311325, 0.02754172682762146, -0.03900400549173355, 0.0017509928438812494, -0.030906986445188522, -0.11770191043615341, -0.021652812138199806, -0.033797487616539, -0.03748907893896103, 0.004725596401840448, 0.017109382897615433, 0.04187268018722534, -0.039385732263326645, -0.07797528058290482, 0.04403700307011604, 0.0034701786935329437, 0.023818813264369965, -0.02609250880777836, 0.016321685165166855, -0.013283003121614456, 0.006148207932710648, -0.02208610624074936, 0.06689371168613434, -0.01168473344296217, -0.03965351730585098, -0.004993216600269079, 0.007518736179918051, 0.008824351243674755, 0.02004052698612213, -0.010014815255999565, 0.02741498500108719, 0.03747175633907318, 0.045348234474658966, -0.06165212765336037, 0.028215741738677025, -0.05704779922962189, -0.025572679936885834, -0.0015272028977051377, -0.037319477647542953, 0.003703797236084938, 0.04220839589834213, 0.0016794379334896803, -0.0366615429520607, -0.05406777560710907, 0.011845121160149574, -0.043214887380599976, -0.02452201396226883, -0.01201314851641655, 0.034295111894607544, 0.01097036898136139, 0.011085405014455318, -0.019563451409339905, -0.024316592141985893, -0.006013772450387478, 0.0005651508690789342, -0.018615420907735825, -0.028279932215809822, -0.006372751668095589, -0.03010854311287403, -0.006142951548099518, 0.03823370859026909, 0.030315805226564407, -0.0009879112476482987, 0.01364685408771038, 0.025204038247466087, -0.017725512385368347, 0.051055923104286194, -0.00913904793560505, -0.050446767359972, -0.024025313556194305, -0.00506808515638113, 0.011595409363508224, 0.00021326253772713244, 0.014190624468028545, 0.0012152057606726885, 0.03835156187415123, 0.04407328739762306, -0.029730506241321564, 0.04583907499909401, -0.027141816914081573, 0.00030679607880301774, 0.005701858550310135, -0.012439471669495106, -0.02871980518102646, 0.01675901748239994, -0.013101943768560886, -0.023805972188711166, -0.01690772920846939, 0.04355452582240105, -0.01057563629001379, -0.06961077451705933, -0.024750351905822754, 0.04796529933810234, -0.038742877542972565, -0.025864195078611374, -0.001281644799746573, -0.0053904918022453785, 0.046430572867393494, -0.010743631049990654, 0.03972611948847771, 0.0044962684623897076, 0.01954836957156658, -0.010601089335978031, 0.02895169146358967, -0.0351705439388752, 0.010867524892091751, -0.020321998745203018, -0.02001599781215191, 0.011184096336364746, 0.020912988111376762, 0.01955101080238819, -0.002363923704251647, -0.006088834255933762, -0.02637292630970478, -0.0066483644768595695, 0.03142152726650238, 0.05211716517806053, 0.02930542267858982, -0.011031202971935272, -0.003963527735322714, -0.03085099346935749, -0.03403128311038017, -0.015493382699787617, -0.014537232927978039, -0.04220539331436157, 0.01059596985578537, -0.044529203325510025, -0.059579405933618546, -0.012650130316615105, 0.01530403271317482, 0.03464513272047043, 0.00902449432760477, 0.026082895696163177, -0.005122452042996883, -0.007982529699802399, 0.012981860898435116, 0.04524441435933113, -0.05643393471837044, 0.004258116241544485, -0.005663365591317415, -0.010736645199358463, 0.002606196328997612, 0.03200520575046539, -0.06748992949724197, 0.0032933002803474665, -0.005737324710935354, -0.006231087725609541, -0.038514815270900726, -0.05060853064060211, -0.019172145053744316, 0.020046649500727654, 0.013546425849199295, -0.017866430804133415, -0.008928578346967697, 0.01708577387034893, -0.00465760100632906, -0.027271606028079987, 0.00463282922282815, -0.005851733032613993, -0.017001258209347725, 0.0763532891869545, -0.0023965935688465834, 0.04750931262969971, -0.015180882066488266, 0.04535069689154625, 0.01606740616261959, 0.004408644512295723, -0.010918482206761837, -0.05258318781852722, 0.002293621888384223, -0.034532904624938965, 0.06828157603740692, 0.013831142336130142, -0.029557883739471436, -0.021479729562997818, 0.003401246154680848, -0.02778828889131546, 0.003549435641616583, 0.0017178785055875778, -0.0219960268586874, 0.01462641917169094, 0.056241199374198914, -0.007326033432036638, 0.021021805703639984, -0.0009090898674912751, -0.05199532210826874, 0.048110052943229675, -0.036728933453559875, -0.03523145616054535, -0.009625669568777084, -0.04538071155548096, 0.026986870914697647, 0.023831214755773544, 0.02369581162929535, -0.03934585303068161, 0.05157027393579483, 0.045566633343696594, 0.026178982108831406, 0.022521667182445526, -0.010305752046406269, 0.040608298033475876, -0.02996068447828293, -0.010975437238812447, -0.10055352002382278, 0.02419796772301197, 0.041997279971838, -0.018047669902443886, -0.019823158159852028, 0.007253197021782398, -0.02268824353814125, 0.017953142523765564, -0.0689149796962738, -0.015207139775156975, 0.019397864118218422, -0.01730484515428543, -0.017598044127225876, 0.022936688736081123, -0.07336580753326416, 0.026984944939613342, 0.025853069499135017, -0.04689674451947212, -0.013433401472866535, -0.016886752098798752, 0.066421739757061, 0.005725324619561434, 0.05599985271692276, -0.010791451670229435, -0.018098236992955208, 0.05819450691342354, 0.03297939896583557, -0.010215261951088905, 0.043319281190633774, -0.0035037982743233442, 0.05340680107474327, 0.017213275656104088, 0.0014449891168624163, 0.002345974324271083, -0.003300051437690854, -0.029312122613191605, -0.0677993968129158, 0.01494523324072361, 0.021839097142219543, -0.013387469574809074, -0.034514788538217545, 0.06936778128147125, 0.01458051335066557, -0.023215401917696, -0.06974790245294571, 0.05932513624429703, -0.048285335302352905, 0.005836663767695427, -0.02163563296198845, 0.027152953669428825, -0.03523480147123337, 0.059370577335357666, 0.003369028912857175, -0.020498137921094894, 0.06158699840307236, -0.006929634138941765, 0.011118662543594837, 0.00781335774809122, 0.08862900733947754, 0.09494878351688385, 0.0392141193151474, 0.015475760214030743, 0.0460733100771904, -0.06648769229650497, -0.04373142868280411, 0.002103465609252453, -0.017088260501623154, 0.008988004177808762, -0.024007584899663925, 0.022409215569496155, 0.0697532370686531, -0.03868968412280083, 0.07046538591384888, 0.0015180240152403712, 0.002528237644582987, 0.005234092939645052, 0.02135395258665085, 0.007699792739003897, 0.052032120525836945, 0.02920130267739296, 0.025372028350830078, -0.0012265396071597934, -0.011015675030648708, 0.04306630417704582, -0.012943128123879433, -0.03490685299038887, -0.0075229136273264885, -0.010900251567363739, 0.004928020294755697, 0.019205572083592415, 0.05211760103702545, 0.09291818737983704, -0.024369385093450546, -0.014953434467315674, 0.018462827429175377, 0.020750919356942177, -0.007314722053706646, 0.04351694881916046, -0.054139479994773865, -0.014849061146378517, -0.014164878986775875, -0.05055854842066765, -0.011601793579757214, -0.012200642377138138, -0.040827907621860504, 0.04921241104602814, -0.011610135436058044, 0.00427820673212409, 0.036493804305791855, -0.019981414079666138, -0.04447593912482262, -0.040174633264541626, -0.04851383715867996, -0.025136113166809082, -0.0696059912443161, -0.017628246918320656, -0.003863360732793808, -0.028664197772741318, -0.028795016929507256, -0.030967960134148598, -0.016335947439074516, -0.03077797405421734, 0.017746221274137497, -0.039603739976882935, -0.037262845784425735, 0.020076891407370567, 0.009492375887930393, -0.003090134123340249, 0.011911184526979923, 0.05580400303006172, 0.0013858912279829383, -0.0005509946495294571, -0.026983117684721947, -0.017626916989684105, 0.04990570247173309, 0.03391071408987045, 0.012968415394425392, -0.0893697515130043, 0.013533136807382107, 0.029911546036601067, 0.0437275730073452, -0.07411359995603561, 0.02732612006366253, -0.013449421152472496, -0.016500357538461685, 0.03566636145114899, -0.019625235348939896, 0.013029596768319607, -0.03369087353348732, -0.013491544872522354, -0.026665840297937393, 0.027661006897687912, 0.05016475170850754, -0.020797323435544968, 0.0857720598578453, 0.03047422133386135, 0.009029950015246868, -0.01279545295983553, -0.010813931003212929, -0.04921732097864151, 0.02219776064157486, -0.010830575600266457, -0.020937973633408546, -0.05603151395916939, -0.084020234644413, -0.02907237783074379, -0.003491426585242152, -0.022113772109150887, -0.03133273124694824, 0.026533134281635284, 0.03101930022239685, -0.02906861901283264, 0.03417464718222618, -0.02731310762465, -0.002632170682772994, -0.025278517976403236, -0.03589455038309097, -0.004227229859679937, 0.0279899500310421, -0.012393878772854805, 0.014555913396179676, 0.031216666102409363, -0.030982496216893196, -0.0002529675839468837, 0.014066101983189583, 0.036302659660577774, 0.01319919154047966, -0.011256294324994087, 0.01961902342736721 ]
[ -0.09530699998140335, -0.03831492364406586, -0.046649228781461716, -0.010604584589600563, 0.0009325293940491974, -0.060687243938446045, 0.011626585386693478, 0.027723785489797592, 0.008497174829244614, -0.03556779399514198, 0.013998753391206264, -0.022439133375883102, -0.024327028542757034, 0.017413530498743057, 0.0536438524723053, -0.007679280359297991, -0.021923713386058807, -0.02736346796154976, -0.04179178923368454, 0.03636760264635086, 0.028097862377762794, -0.0169998612254858, -0.04015059769153595, -0.08408613502979279, 0.007449979428201914, 0.06421013176441193, 0.0386003740131855, -0.05686802789568901, 0.0026819889899343252, -0.2526700496673584, -0.013589276932179928, 0.009054862894117832, 0.03953808173537254, -0.03733447566628456, -0.020506737753748894, 0.06153189763426781, -0.027728747576475143, 0.018585234880447388, -0.047694750130176544, 0.04355614632368088, 0.02254815772175789, 0.015192165039479733, -0.023103678598999977, -0.0022979166824370623, 0.017234530299901962, -0.010109850205481052, -0.027416720986366272, -0.020820491015911102, -0.003781108884140849, 0.005044393707066774, -0.06605809926986694, 0.019582798704504967, 0.0026189684867858887, -0.015352225862443447, -0.004169095307588577, -0.023578951135277748, 0.07173348218202591, 0.05561930313706398, 0.019396845251321793, -0.010308880358934402, -0.0018361966358497739, 0.01978919841349125, -0.14192558825016022, 0.10492417216300964, 0.04005728289484978, 0.040016546845436096, -0.00676752207800746, -0.02041720785200596, -0.02574227564036846, 0.07050824910402298, -0.0121761504560709, -0.03523571044206619, -0.0489172637462616, 0.0622442252933979, 0.011777148582041264, -0.04040391743183136, -0.000998256029561162, 0.005975767970085144, 0.05107792839407921, -0.0510990135371685, -0.04316970705986023, -0.03538532182574272, -0.033963099122047424, -0.008056907914578915, -0.014932671561837196, -0.009578944183886051, -0.05958026275038719, 0.04639342799782753, -0.006803994067013264, 0.019663847982883453, 0.01654614508152008, -0.050851184874773026, 0.04032460227608681, -0.006966441869735718, -0.08767103403806686, 0.014364891685545444, -0.013330908492207527, 0.017109442502260208, 0.0007748955395072699, 0.39892128109931946, -0.0036076202522963285, -0.027190785855054855, 0.021863358095288277, 0.015360811725258827, 0.021305635571479797, 0.002599443541839719, -0.0012433691881597042, -0.029811536893248558, -0.004723232705146074, -0.05522310733795166, 0.024527402594685555, -0.03226839751005173, 0.10674154758453369, -0.05777012184262276, 0.012399126775562763, 0.028437292203307152, 0.01056576520204544, 0.0097269332036376, 0.007382495328783989, 0.03268738090991974, 0.0047539519146084785, -0.011440730653703213, -0.009357246570289135, -0.014254569076001644, 0.03344438225030899, 0.008470602333545685, 0.03233439475297928, 0.0662699043750763, 0.028269173577427864, 0.0669761374592781, 0.056889280676841736, -0.05970151349902153, -0.025088723748922348, 0.012506438419222832, -0.028035873547196388, 0.014646952971816063, 0.02374228462576866, -0.028944242745637894, -0.015214359387755394, -0.039244238287210464, -0.014593152329325676, -0.02776629477739334, 0.027651788666844368, 0.031715020537376404, -0.015154965221881866, 0.07905259728431702, -0.031236449256539345, -0.036598239094018936, -0.019785501062870026, -0.04198043420910835, -0.02496492862701416, 0.03190585598349571, -0.006268721539527178, -0.0615091435611248, -0.03931824117898941, 0.04469496011734009, 0.059074025601148605, 0.011705202981829643, -0.04029174894094467, 0.023012306541204453, -0.029645545408129692, -0.04035591706633568, -0.024488752707839012, 0.06473170220851898, 0.005306186620146036, -0.07317893952131271, -0.029899990186095238, 0.00039839596138335764, 0.038477107882499695, -0.07865439355373383, 0.0070083774626255035, 0.012668310664594173, -0.004945159424096346, -0.010527889244258404, 0.02110959030687809, -0.02651694044470787, -0.047301534563302994, -0.0007137137581594288, 0.056276556104421616, 0.012242291122674942, -0.025178568437695503, -0.012768261134624481, -0.051462288945913315, 0.007873882539570332, -0.007555434945970774, -0.09316425770521164, -0.059055864810943604, 0.030219359323382378, -0.0030439451802521944, -0.010033431462943554, -0.017787426710128784, -0.018314512446522713, -0.06434491276741028, 0.06313245743513107, -0.017526431009173393, -0.0223072599619627, 0.01153535209596157, -0.013544701039791107, -0.0376419797539711, -0.017835069447755814, 0.012819722294807434, 0.02751375362277031, -0.01330585964024067, 0.027722623199224472, -0.056837502866983414, 0.020403385162353516, 0.04550860449671745, -0.04413393884897232, 0.05041084438562393, 0.01714423857629299, 0.00438787741586566, 0.012129201553761959, -0.03038659691810608, 0.018622078001499176, 0.004090181086212397, -0.035594869405031204, -0.0347888357937336, -0.017330249771475792, 0.038715023547410965, 0.010123339481651783, -0.01465634722262621, -0.04652808979153633, -0.04269593209028244, -0.34285590052604675, -0.02500891126692295, 0.012357635423541069, -0.0011910388711839914, 0.020268287509679794, -0.05873392894864082, 0.0023427794221788645, 0.011781539767980576, 0.03486271947622299, -0.0057969181798398495, 0.04887272045016289, -0.004341833293437958, 0.019319957122206688, -0.09510920196771622, 0.026920506730675697, 0.022010700777173042, -0.003035124624148011, -0.024918202310800552, 0.002458535833284259, 0.025656843557953835, -0.016861485317349434, -0.020568648353219032, -0.033446285873651505, -0.033880069851875305, -0.018419137224555016, -0.028037723153829575, 0.10784144699573517, 0.05006241798400879, 0.0919390469789505, -0.05234014242887497, 0.021919816732406616, -0.0064046685583889484, 0.0043897246941924095, -0.03029762953519821, 0.001951696933247149, -0.01631653495132923, -0.0053526838310062885, 0.03210124000906944, 0.047298893332481384, -0.018110888078808784, -0.02495136857032776, 0.005116546526551247, -0.07066015899181366, -0.024792028591036797, -0.01916828379034996, -0.005573073402047157, -0.003357901703566313, -0.04603739082813263, -0.02643566019833088, 0.08395136892795563, 0.05100928992033005, 0.03231372684240341, 0.019564498215913773, 0.025244547054171562, 0.0024522042367607355, -0.015258966013789177, -0.05115009471774101, -0.045062970370054245, 0.016400599852204323, -0.017791016027331352, 0.0735790804028511, 0.053529705852270126, 0.03940356522798538, -0.046670425683259964, -0.0020752809941768646, 0.027577385306358337, 0.006254516076296568, 0.011989111080765724, 0.07635923475027084, -0.026585619896650314, -0.03027184307575226, 0.10724757611751556, 0.027052387595176697, 0.005144893191754818, 0.05154009535908699, 0.058241743594408035, -0.0025321445427834988, 0.031154297292232513, 0.029678260907530785, 0.003520847763866186, 0.043834902346134186, 0.010736726224422455, 0.04634939506649971, -0.04425091668963432, -0.006165798287838697, 0.05173993483185768, 0.005019805394113064, 0.0038783587515354156, 0.08358291536569595, 0.01492150779813528, -0.030665777623653412, 0.018636565655469894, 0.04069613292813301, -0.051044996827840805, 0.0511157251894474, 0.008622380904853344, -0.27750617265701294, 0.03398698940873146, 0.03691328316926956, 0.06536778062582016, -0.012657851912081242, -0.007886365987360477, 0.04674125462770462, -0.07205419987440109, -0.05357833206653595, -0.025562219321727753, -0.013244085945189, 0.04175587743520737, 0.0025878422893583775, 0.005984530784189701, 0.007396485656499863, -0.03453255444765091, 0.0722416341304779, 0.01249316893517971, -0.027399178594350815, -0.039109181612730026, 0.012098751030862331, -0.009900438599288464, 0.19168761372566223, -0.0036213090643286705, -0.0032703974284231663, 0.007435665465891361, 0.026532357558608055, -0.0021389618050307035, 0.06745753437280655, 0.03751044347882271, 0.0375392884016037, 0.014593860134482384, 0.04761311411857605, -0.007734454702585936, 0.059818994253873825, -0.02153775282204151, -0.019676852971315384, 0.07497969269752502, 0.007348944433033466, -0.012148984707891941, 0.0104265958070755, 0.04450298845767975, -0.03295653313398361, 0.025148596614599228, 0.07248617708683014, -0.02450171485543251, -0.017942408099770546, -0.003716367995366454, -0.03182510286569595, 0.02448546513915062, -0.028329594060778618, -0.01822299137711525, -0.030615823343396187, -0.006315272301435471, 0.0008257144945673645, 0.06974221020936966, -0.010158841498196125, -0.02021191641688347, 0.009937074966728687, 0.03324374184012413, -0.015737071633338928, -0.02205883152782917, 0.11898747086524963, 0.030296556651592255, 0.03545384854078293 ]
[ -0.007417786866426468, 0.025169704109430313, -0.022339213639497757, -0.003202618332579732, 0.006535760127007961, -0.02004234492778778, 0.030078638345003128, 0.03496821969747543, -0.004860354121774435, -0.003458259394392371, 0.0029354505240917206, -0.016408231109380722, 0.05506715551018715, -0.009732300415635109, 0.010891342535614967, 0.002896252553910017, 0.003553687362000346, -0.004817985463887453, 0.0048287962563335896, -0.035600658506155014, -0.03369684889912605, -0.0038909532595425844, 0.015814730897545815, -0.012138505466282368, -0.012078606523573399, 0.03589138761162758, -0.014657956548035145, 0.005599020980298519, 0.03721192479133606, -0.13712599873542786, -0.03776105120778084, -0.03600726276636124, 0.007739484775811434, 0.02115044929087162, 0.012597663328051567, 0.02026219852268696, -0.031023172661662102, -0.007116863504052162, -0.025516938418149948, -0.0026015935000032187, -0.0025663755368441343, -0.003110660705715418, 0.015778817236423492, 0.012086846865713596, 0.010375140234827995, -0.00019848482043016702, -0.03150787204504013, -0.0147730503231287, -0.02524637244641781, -0.02248009666800499, -0.028980543836951256, 0.01608286239206791, -0.022934600710868835, 0.04031522944569588, -0.019134216010570526, -0.00331311346963048, -0.021453501656651497, -0.02843374013900757, 0.009454436600208282, -0.01106880884617567, -0.018525151535868645, 0.021941054612398148, -0.053660519421100616, -0.01840844936668873, -0.007726716808974743, 0.00027653295546770096, 0.0023364569060504436, -0.006975612137466669, 0.016198161989450455, 0.009974087588489056, -0.02767164818942547, 0.010912029072642326, -0.0016272246139124036, -0.01134397741407156, 0.002917311154305935, 0.0039024455472826958, 0.03400643914937973, 0.0033708440605551004, 0.0075774467550218105, -0.019792897626757622, -0.003586767241358757, 0.0031413340475410223, 0.029957273975014687, 0.031725816428661346, 0.042233120650053024, 0.028022969141602516, -0.043970830738544464, 0.026150459423661232, 0.0007367776706814766, -0.009185931645333767, 0.0011330831330269575, -0.0013095561880618334, -0.003169235773384571, -0.010906552895903587, -0.07902732491493225, 0.005099401343613863, -0.0079288799315691, -0.016745690256357193, -0.0034862582106143236, 0.8424847722053528, 0.010059930384159088, 0.019892510026693344, 0.02654518559575081, 0.028925495222210884, -0.010014315135776997, -0.04906667768955231, 0.0046507795341312885, 0.02396211214363575, 0.02327144518494606, -0.04671255126595497, 0.030512407422065735, -0.0198214128613472, 0.03444446995854378, -0.008337422274053097, 0.010682065039873123, 0.03924620524048805, -0.0064669460989534855, -0.005563553422689438, -0.000044808111852034926, 0.03973083570599556, 0.016753805801272392, -0.032372668385505676, -0.024727681651711464, 0.032377637922763824, 0.027874812483787537, -0.19634521007537842, 0.03089001774787903, -7.248926156003585e-33, 0.06926865875720978, -0.015270928852260113, -0.008098642341792583, -0.00705384137108922, 0.014838609844446182, 0.019538726657629013, -0.007091161794960499, -0.02602304331958294, -0.049566108733415604, -0.012289289385080338, 0.03899114206433296, -0.01824451982975006, -0.011467126198112965, 0.0006301671965047717, 0.04646119102835655, 0.016561077907681465, 0.01215737871825695, 0.01865016110241413, -0.01620289497077465, -0.002041089814156294, 0.0033029380720108747, 0.01038176380097866, 0.011628723703324795, -0.013221705332398415, 0.0164919625967741, 0.054682377725839615, 0.009739715605974197, -0.005314846057444811, 0.013682769611477852, -0.03954102471470833, -0.025253651663661003, 0.04888288304209709, 0.004177308175712824, 0.005284616723656654, -0.0010988842695951462, -0.04897517338395119, -0.05011972039937973, 0.019299160689115524, 0.0019319400889798999, 0.025505099445581436, -0.045433320105075836, 0.03813404217362404, -0.04041455686092377, -0.011235693469643593, 0.017416033893823624, -0.04060648754239082, 0.021318668499588966, 0.023135168477892876, 0.0036854080390185118, 0.01826048642396927, 0.022954687476158142, 0.027657918632030487, 0.02050812914967537, 0.012552611529827118, 0.01284663937985897, 0.022635916247963905, 0.011661301366984844, 0.0021846804302185774, -0.005735629703849554, 0.03511890023946762, 0.023504622280597687, 0.014857897534966469, 0.0027173799462616444, 0.049362994730472565, 0.010024754330515862, -0.022203432396054268, 0.005893050227314234, -0.008372079581022263, 0.0097429184243083, 0.0506877601146698, -0.06364046782255173, -0.009160692803561687, -0.015329779125750065, -0.03812360763549805, -0.012160067446529865, -0.022960040718317032, -0.002317708684131503, -0.006285265553742647, -0.004077889025211334, 0.04652465879917145, 0.042096082121133804, -0.014863411895930767, 0.009210288524627686, -0.015482540242373943, -0.03391824662685394, -0.016754183918237686, 0.03525311499834061, -0.009703085757791996, -0.04816574230790138, -0.017291594296693802, 0.04233245179057121, 0.0024956229608505964, -0.006377093493938446, -0.02193298377096653, -0.0066342283971607685, 7.629893589529519e-33, 0.03245599940419197, 0.012463793158531189, -0.019754301756620407, 0.016075871884822845, -0.011913246475160122, -0.025488218292593956, 0.04229074344038963, 0.015789279714226723, -0.01830384135246277, 0.03243645653128624, 0.004119274206459522, 0.05751181021332741, -0.03873991221189499, 0.05203733593225479, 0.05757693573832512, -0.004806992597877979, 0.0008970522321760654, 0.05175897106528282, 0.00836603157222271, 0.008470806293189526, -0.021686220541596413, 0.01604762114584446, -0.008172530680894852, 0.010840246453881264, 0.00421696063131094, 0.043397728353738785, -0.01031014509499073, 0.04280035197734833, -0.012082545086741447, -0.02497025579214096, -0.0058151548728346825, -0.010591504164040089, 0.004300343804061413, -0.02480912394821644, 0.006102351006120443, 0.04281291365623474, 0.013668098486959934, -0.008049923926591873, 0.006445272359997034, 0.02514014206826687, 0.03985542804002762, -0.0020388306584209204, -0.0031727843452244997, -0.02235056273639202, -0.02824922278523445, 0.000583323126193136, -0.006445579696446657, 0.009702316485345364, 0.011702009476721287, -0.028592217713594437, 0.003276840550825, -0.008713936433196068, 0.007606320548802614, -0.0008894178899936378, -0.006594120059162378, -0.01975800096988678, -0.030521558597683907, 0.04482075944542885, -0.049776773899793625, -0.0024367549922317266, -0.029051680117845535, 0.02635813131928444, -0.01806526817381382, -0.015900345519185066, -0.022895803675055504, -0.0040472629480063915, -0.021777406334877014, -0.04868144169449806, -0.0013934436719864607, -0.017690835520625114, -0.0044397031888365746, -0.032937776297330856, -0.023126916959881783, 0.04024466499686241, 0.024413900449872017, -0.016981091350317, -0.014176669530570507, 0.018447162583470345, 0.008642397820949554, 0.03434208407998085, 0.02339917980134487, -0.005204677581787109, 0.004204328637570143, 0.023331400007009506, 0.005935679655522108, 0.01899951510131359, -0.035969555377960205, 0.01632620394229889, 0.022593045607209206, -0.06066536903381348, 0.002341865561902523, -0.00936912652105093, 0.00009050875814864412, -0.0034784323070198298, 0.02302398532629013, -1.2868479615235628e-8, 0.009182953275740147, -0.04428408667445183, -0.018707552924752235, 0.01900685578584671, 0.023495487868785858, 0.010459108278155327, -0.004055642522871494, -0.03397698700428009, -0.04045124724507332, 0.017234431579709053, 0.029088299721479416, -0.01109653152525425, -0.0052053555846214294, 0.01941315270960331, -0.004478110931813717, -0.013823219574987888, 0.01779826171696186, -0.024536345154047012, 0.015795838087797165, 0.002364760497584939, -0.01635642535984516, 0.04011216759681702, 0.03661967068910599, -0.034897297620773315, -0.02800634875893593, 0.006473631132394075, 0.024363858625292778, -0.08021300286054611, -0.010721157304942608, 0.040707871317863464, 0.025733763352036476, -0.05061877891421318, -0.0030388946179300547, -0.005690871737897396, -0.021774206310510635, -0.03988733887672424, -0.004795150365680456, 0.0061670150607824326, 0.028887974098324776, -0.008298822678625584, 0.003664277261123061, 0.013670539483428001, -0.013310722075402737, -0.028259672224521637, -0.027449261397123337, -0.013835614547133446, -0.0024451089557260275, -0.014377765357494354, -0.002110219094902277, -0.028597751632332802, -0.005930002778768539, -0.005479964893311262, -0.028201278299093246, 0.03507411479949951, 0.010745584964752197, -0.0485556535422802, 0.03846246004104614, -0.025928938761353493, -0.009743781760334969, 0.025345029309391975, 0.011732793413102627, 0.0018941316520795226, -0.012184638530015945, -0.02705697901546955 ]
haskell-colour-highlighting-when-writing-to-the-shell
https://markhneedham.com/blog/2012/04/29/haskell-colour-highlighting-when-writing-to-the-shell
false
2012-04-28 17:39:54
Haskell: Int and Integer
[ "haskell" ]
[ "Haskell" ]
In my http://www.markhneedham.com/blog/2012/04/25/algorithms-rabin-karp-in-haskell/[last post about the Rabin Karp algorithm] I mentioned that I was having some problems when trying to write a hash function which closely matched its English description. ____ ((rm-1 * ascii char) + (rm-2 * ascii char) + ... (r0 * ascii char)) % q where r = 256, q = 1920475943 ____ This is my current version of the hash function: [source,haskell] ---- hash = hash' globalR globalQ hash' r q string m = foldl (\acc x -> (r * acc + ord x) `mod` q) 0 $ take m string ---- And my initial attempt to write the alternate version was this: [source,haskell] ---- hash2 :: [Char] -> Int -> Int hash2 = hash2' globalR globalQ hash2' r q string m = (flip mod q . sum . map (\(pow, char) -> ord char * (r ^ pow)) . zip [m-1, m-2..0]) string ---- Unfortunately this version breaks down as we try to create hashes for bigger lists of characters: [source,text] ---- > hash "markusaere" 10 849698536 ---- [source,text] ---- > hash2 "markusaere" 10 1239828806 ---- We can see what's going on if we execute the core bit of the hash function in the REPL: [source,haskell] ---- > map (\(pow, char) -> ord char * 256 ^ pow) $ zip [9, 8..0] "markusaere" [0,0,8214565720323784704,30117822508040192,128642860449792,493921239040,1627389952,6619136,29184,101] ---- In this case the hash value for the first character is: [source,haskell] ---- > 256 ^ 9 * ord 'm' 0 ---- Be default if we do calculations on integers the 'http://en.wikibooks.org/wiki/Haskell/A_Miscellany_of_Types#Integers[Int]' type is used: ____ "Int" is the more common 32 or 64 bit integer. Implementations vary, although it is guaranteed to be at least 30 bits. ____ The maximum value a 64 bit Int can hold is 2^63^, a value that we're exceeding with the first two calculations in our list. Since our calculation has exceeded the maximum value of a 64 bit integer we need to http://www.haskell.org/tutorial/numbers.html[coerce] our calculation to use the 'Integer' type which has arbitrary precision up to the limit of the machine's memory. We can use the 'toInteger' function to do this: [source,haskell] ---- > toInteger (256 ^ 9) * toInteger (ord 'm') 514737946632791328292864 ---- We can change the core of the function to use 'toInteger' like so: [source,haskell] ---- > map (\(pow, char) -> toInteger (ord char) * 256 ^ pow) $ zip [9, 8..0] "markusaere" [514737946632791328292864,1789334175149826506752,8214565720323784704,30117822508040192,128642860449792,493921239040,1627389952,6619136,29184,101] ---- We can then change the hash function to read like this: [source,haskell] ---- hash2 :: [Char] -> Int -> Int hash2 value m = fromInteger $ hash2' (toInteger globalR) (toInteger globalQ) value m hash2' :: Integer -> Integer -> [Char] -> Int -> Integer hash2' r q string m = (sum $ map (\(pow, char) -> toInteger (ord char) * toInteger (r ^ pow)) $ zip [m-1, m-2..0] string) `mod` q ---- When we call the function with the original parameters it now returns the correct answer: [source,text] ---- > hash2 "markusaere" 10 849698536 ----
null
null
[ -0.0411706417798996, 0.020910687744617462, -0.03166704624891281, 0.05449901148676872, 0.048159800469875336, 0.012193315662443638, 0.03459243103861809, 0.018204977735877037, 0.015191527083516121, -0.01675330474972725, -0.021757537499070168, -0.037580251693725586, -0.07079243659973145, 0.008578794077038765, 0.0007522862870246172, 0.044489454478025436, 0.07632394880056381, -0.01037624478340149, -0.026195311918854713, 0.024566369131207466, 0.0009557246812619269, 0.06258825957775116, -0.008147509768605232, 0.01529835443943739, 0.011837800033390522, 0.03249667212367058, 0.0004887866671197116, 0.023574771359562874, -0.054641347378492355, -0.026950815692543983, 0.037354134023189545, -0.0008879560045897961, 0.01464049145579338, 0.0050033824518322945, 0.035974495112895966, -0.00015472953964490443, -0.033670198172330856, -0.007732541300356388, 0.03708624839782715, 0.012501474469900131, -0.037949249148368835, 0.010046787559986115, -0.0019436755683273077, 0.013910244219005108, -0.03437545895576477, -0.03421800956130028, -0.05766918137669563, 0.023464500904083252, -0.022438008338212967, -0.01658141426742077, -0.04806714504957199, 0.03944966197013855, -0.0173661969602108, -0.007755860220640898, 0.008237798698246479, 0.03832871839404106, 0.005876649171113968, -0.0813179612159729, 0.055218059569597244, -0.02206934057176113, 0.006061932537704706, -0.021416060626506805, 0.00005666982542607002, 0.013942991383373737, -0.022490331903100014, -0.02917947992682457, -0.027331149205565453, 0.04529424384236336, -0.04520845413208008, -0.04449783265590668, 0.006541983690112829, 0.00018774543423205614, -0.01750835031270981, -0.042631763964891434, 0.006820817943662405, -0.054800957441329956, 0.0043735019862651825, 0.08122076839208603, -0.0022994400933384895, 0.03988638147711754, -0.008135323412716389, 0.01837032474577427, 0.022005906328558922, 0.03402775898575783, -0.009898352436721325, -0.026386117562651634, -0.043242041021585464, -0.010182643309235573, -0.03148419409990311, 0.05907626077532768, -0.014009306207299232, -0.04786424711346626, 0.009163310751318932, 0.018569516018033028, 0.004778086673468351, -0.006404477637261152, -0.016763819381594658, 0.005360314156860113, 0.010524380952119827, -0.004200414288789034, -0.03903482109308243, -0.039509858936071396, 0.019822854548692703, 0.004095885436981916, -0.0799504891037941, 0.0404951348900795, -0.011063638143241405, 0.005197280552238226, 0.011363273486495018, 0.015984369441866875, -0.0003521418257150799, 0.0022379253059625626, 0.010555906221270561, -0.014614020474255085, -0.06463035941123962, 0.04130537435412407, 0.01231564860790968, -0.027184097096323967, -0.0017623937455937266, 0.049912724643945694, 0.047763071954250336, 0.03716601803898811, -0.008097799494862556, 0.08172734081745148, 0.049212101846933365, 0.036455538123846054, 0.022086381912231445, 0.06515808403491974, -0.037762705236673355, -0.06189791113138199, -0.02907567471265793, 0.07364970445632935, 0.013409008271992207, 0.0192352756857872, -0.011824801564216614, -0.018679354339838028, -0.054560597985982895, -0.0023599728010594845, 0.04403630271553993, 0.013714470900595188, -0.0013081289362162352, -0.03952827677130699, 0.03102339617908001, -0.015202384442090988, 0.03362509608268738, 0.025328751653432846, -0.02942405827343464, -0.01389631163328886, -0.0009484735201112926, 0.014326466247439384, 0.0020860268268734217, 0.018480021506547928, 0.07203984260559082, -0.019917797297239304, 0.019389143213629723, 0.0520753338932991, 0.008227940648794174, 0.018689120188355446, -0.02222209796309471, 0.01620013453066349, 0.00346164358779788, 0.004343794193118811, 0.001060894108377397, 0.025822758674621582, -0.004438331816345453, 0.026441695168614388, 0.021805157884955406, 0.04769638925790787, -0.02232879027724266, -0.012390337884426117, -0.041322458535432816, -0.022122129797935486, 0.07146500051021576, -0.021103370934724808, 0.004209048580378294, 0.004803994204849005, 0.058088336139917374, 0.0404801070690155, 0.05041546747088432, -0.011332524009048939, -0.08787790685892105, 0.05385131761431694, 0.008464483544230461, 0.053915489464998245, -0.011146926321089268, -0.004382124170660973, 0.06725950539112091, 0.03843711316585541, 0.0269814133644104, 0.04185028001666069, -0.06840725988149643, -0.04177369922399521, -0.012154247611761093, 0.0015667733969166875, 0.07154225558042526, -0.02045438066124916, -0.0007058391929604113, 0.018292130902409554, 0.03204825893044472, 0.026900075376033783, 0.006360590923577547, -0.015771592035889626, 0.030308540910482407, -0.036914363503456116, -0.036423370242118835, 0.041998546570539474, 0.055651213973760605, -0.015426848083734512, -0.0485319122672081, -0.012697618454694748, -0.007054516114294529, -0.0008270294056273997, 0.033609043806791306, -0.012700743973255157, 0.023803185671567917, 0.026865601539611816, 0.011173363775014877, -0.019037872552871704, 0.04936599358916283, -0.035175297409296036, 0.05316081643104553, 0.018427656963467598, -0.004373750649392605, 0.004320256412029266, -0.006483971606940031, 0.13478778302669525, 0.06804941594600677, -0.024031922221183777, -0.03765631094574928, 0.037398651242256165, -0.005027614999562502, -0.08285816013813019, 0.01864687353372574, 0.022339822724461555, -0.01425212062895298, 0.0238529983907938, -0.04256255924701691, -0.020151959732174873, 0.04262100160121918, -0.03640703111886978, -0.014839261770248413, 0.09550102055072784, -0.003899626201018691, 0.04374696686863899, -0.017412899062037468, -0.030642913654446602, -0.02400491200387478, -0.04157394915819168, -0.02826288901269436, -0.00770833482965827, -0.023700524121522903, -0.0033750811126083136, 0.06233907863497734, -0.040849413722753525, -0.019207755103707314, -0.023665471002459526, 0.00041205453453585505, 0.03583993390202522, 0.048597726970911026, 0.039500147104263306, -0.013069307431578636, 0.049955062568187714, -0.03187940642237663, -0.012239456176757812, -0.04248834028840065, -0.03879991173744202, -0.04524232819676399, -0.011188287287950516, 0.018273331224918365, 0.027325330302119255, 0.04671882092952728, 0.01034700870513916, -0.013403351418673992, -0.01569627784192562, 0.015797266736626625, -0.02859991043806076, 0.03626074269413948, -0.02883686125278473, -0.022768203169107437, -0.025685161352157593, -0.041062310338020325, 0.059403590857982635, -0.06757447123527527, -0.04913745075464249, -0.010279417969286442, -0.03493569418787956, 0.059200722724199295, -0.06672465056180954, -0.03580436110496521, 0.0147176468744874, -0.008505778387188911, 0.03896908089518547, -0.03020600415766239, 0.004861973691731691, 0.08735582232475281, 0.01759583130478859, 0.01989816315472126, 0.037152063101530075, 0.015050035901367664, 0.05399128794670105, -0.01067494135349989, 0.0296012070029974, 0.03936387971043587, 0.01249405462294817, -0.04785515367984772, -0.055800911039114, -0.036928072571754456, -0.005903765093535185, -0.2644864618778229, 0.018909519538283348, -0.05143197253346443, -0.04023050516843796, 0.026018790900707245, 0.00815040897578001, -0.029452823102474213, -0.03351352736353874, -0.013770608231425285, 0.012876434251666069, -0.03448747098445892, -0.03298593685030937, -0.02081942930817604, 0.028815031051635742, 0.0072252084501087666, -0.0047630807384848595, -0.020671889185905457, -0.041796598583459854, -0.01992080733180046, 0.028476553037762642, 0.021244769915938377, -0.08167506009340286, 0.011283599771559238, 0.027221648022532463, -0.002417511772364378, 0.04136425629258156, -0.0672774538397789, 0.029615620151162148, -0.03896855562925339, -0.014652070589363575, -0.03597696125507355, -0.02944047935307026, 0.0230670515447855, 0.007954733446240425, -0.02067200280725956, -0.02246384136378765, -0.007179812528192997, 0.0042297993786633015, 0.020120849832892418, 0.03785537928342819, -0.05112459510564804, -0.031134601682424545, 0.010898970067501068, -0.0023631243966519833, 0.09243237972259521, -0.0031016154680401087, -0.04469672217965126, -0.009563430212438107, -0.03652247413992882, 0.06900029629468918, -0.01175569649785757, -0.05862217769026756, -0.01274777576327324, 0.036625247448682785, -0.007901211269199848, -0.00982164777815342, -0.013565454632043839, -0.008467885665595531, -0.028006771579384804, -0.026175351813435555, 0.010815529152750969, -0.05153139680624008, -0.014372863806784153, -0.046507466584444046, -0.016693774610757828, -0.06364108622074127, -0.04526284709572792, -0.018712181597948074, 0.05700063332915306, 0.0238887220621109, -0.0089084692299366, -0.003011129330843687, -0.031491849571466446, -0.09976217895746231, -0.041945818811655045, -0.02447540871798992, -0.017277350649237633, -0.0015024276217445731, -0.00426146388053894, 0.04572224244475365, -0.0104011669754982, -0.06700120121240616, 0.035134635865688324, -0.016049444675445557, 0.028933273628354073, -0.022278644144535065, -0.014462783932685852, -0.010570578277111053, 0.011846373789012432, -0.018462803214788437, 0.06954363733530045, -0.02524382621049881, -0.016272157430648804, -0.019802263006567955, 0.027123592793941498, 0.008716697804629803, 0.01587682031095028, -0.016471192240715027, 0.01005598809570074, 0.03028557263314724, 0.039824552834033966, -0.05626722797751427, 0.030332639813423157, -0.07320760190486908, -0.03333309292793274, 0.020410187542438507, -0.042005207389593124, 0.03572273254394531, 0.04712396860122681, 0.022307097911834717, -0.04321763664484024, -0.055332668125629425, 0.005722795147448778, -0.05905864015221596, -0.020874598994851112, -0.020164791494607925, 0.020091740414500237, -0.0009515256388112903, 0.021628791466355324, -0.006734470836818218, -0.03231406956911087, 0.012556778267025948, 0.030233236029744148, -0.0316791757941246, -0.03390582650899887, -0.008346714079380035, -0.022189222276210785, -0.009197099134325981, 0.037934742867946625, 0.02547944150865078, -0.0057588908821344376, 0.017683440819382668, 0.01206919364631176, -0.015413363464176655, 0.04971864074468613, 0.02305286005139351, -0.025166861712932587, -0.03225180134177208, -0.015722131356596947, -0.014164436608552933, 0.033123672008514404, 0.009500169195234776, 0.03185252472758293, 0.03451833501458168, 0.039198536425828934, -0.014847390353679657, 0.02774300053715706, -0.03791036829352379, -0.016315704211592674, 0.01753624528646469, 0.01798865757882595, -0.04620660841464996, 0.052295055240392685, -0.01145395077764988, -0.011279472149908543, 0.0084476787596941, 0.04609108343720436, -0.004517242778092623, -0.04364120587706566, -0.03734986484050751, 0.09371189773082733, -0.029501723125576973, -0.0368594191968441, -0.009321516379714012, 0.009961565025150776, 0.05206965282559395, -0.01861635223031044, 0.03755110129714012, -0.018992139026522636, 0.030982650816440582, -0.014961948618292809, 0.019777966663241386, -0.020949911326169968, 0.0070877959951758385, -0.0033381087705492973, -0.01868593506515026, -0.0028552913572639227, 0.019047319889068604, 0.04358510673046112, -0.013666477054357529, 0.0028718116227537394, -0.038995008915662766, -0.011497066356241703, 0.029639555141329765, 0.05592096596956253, 0.029402263462543488, 0.009519591927528381, 0.006107617635279894, -0.024765310809016228, -0.05480120703577995, -0.02232016995549202, -0.0170645322650671, -0.03136111795902252, 0.03860880061984062, -0.03295382857322693, -0.06717251241207123, -0.0035648634657263756, 0.013271131552755833, 0.0073735639452934265, 0.032785747200250626, 0.0397578589618206, -0.010520756244659424, 0.011620858684182167, -0.014428343623876572, 0.07760905474424362, -0.03739485517144203, -0.0015909975627437234, 0.0024745918344706297, -0.0013913426082581282, 0.026646241545677185, 0.051921337842941284, -0.05994663015007973, -0.026240015402436256, 0.004744653590023518, -0.004163514822721481, -0.014970499090850353, -0.04612809792160988, -0.005484587047249079, -0.029148738831281662, 0.009251953102648258, -0.018926488235592842, 0.0052401055581867695, 0.025765318423509598, 0.0009530519600957632, -0.022667454555630684, 0.008973534218966961, -0.022939274087548256, -0.018056096509099007, 0.030800240114331245, -0.027736328542232513, 0.0361999087035656, -0.03843306005001068, 0.05180802941322327, 0.01281779259443283, 0.016029493883252144, -0.024975989013910294, -0.05800686404109001, 0.01316470094025135, -0.04938704892992973, 0.08518384397029877, -0.002762804040685296, -0.010768149979412556, 0.02253611385822296, 0.027424242347478867, -0.03751908987760544, 0.015897946432232857, 0.019821135327219963, -0.022686580196022987, 0.031744830310344696, 0.04754791408777237, -0.02219550870358944, 0.05188213288784027, -0.01290927454829216, -0.04577957093715668, 0.04816242679953575, -0.012566834688186646, -0.0349157452583313, -0.019799139350652695, -0.01923232153058052, 0.02485152892768383, -0.004807164892554283, 0.007302414160221815, -0.045830003917217255, 0.02763073705136776, 0.043108899146318436, 0.032493844628334045, 0.04433920606970787, -0.03221779689192772, 0.022685512900352478, -0.020766042172908783, -0.027571406215429306, -0.08501695096492767, 0.019076306372880936, 0.014586398378014565, -0.01863030530512333, -0.002170109422877431, -0.019541611894965172, -0.022231165319681168, 0.0029834427405148745, -0.056183867156505585, -0.018244441598653793, 0.04002059996128082, -0.0039915828965604305, 0.008806491270661354, 0.013856875710189342, -0.053113438189029694, 0.006443178281188011, 0.004593834280967712, -0.017659591510891914, -0.01752343773841858, -0.032740358263254166, 0.06342610716819763, -0.0037602665834128857, 0.06727179884910583, -0.0002569571661297232, -0.008994014002382755, 0.04241228476166725, 0.037071455270051956, 0.0010193655034527183, 0.06268257647752762, -0.019754506647586823, 0.017514368519186974, 0.018068142235279083, 0.024594072252511978, -0.007815790362656116, 0.028017286211252213, -0.05126820504665375, -0.06597202271223068, 0.01119098998606205, -0.008427201770246029, -0.01222770195454359, -0.029803508892655373, 0.06094961613416672, 0.03416433185338974, -0.028836095705628395, -0.07510533183813095, 0.07339995354413986, -0.04492698237299919, -0.013410300947725773, 0.009456679224967957, -0.007420514710247517, -0.04943937063217163, 0.07329453527927399, 0.01584465801715851, -0.0156529750674963, 0.06855344027280807, -0.014319940470159054, -0.017522603273391724, -0.010237245820462704, 0.09413191676139832, 0.08648838102817535, 0.03545987233519554, 0.007177331950515509, 0.038526926189661026, -0.040154118090867996, -0.05038711428642273, -0.02115486189723015, -0.022745607420802116, -0.008697422221302986, 0.016373712569475174, 0.01416249293833971, 0.07076539099216461, -0.06770803034305573, 0.06256207823753357, -0.015795979648828506, -0.0041055744513869286, 0.006328302435576916, 0.008853503502905369, 0.0058157071471214294, 0.03139929473400116, 0.02846349962055683, 0.025087498128414154, -0.02327634021639824, -0.029739802703261375, 0.034908588975667953, 0.031231645494699478, -0.03458833321928978, 0.020162707194685936, 0.01160257589071989, 0.0054347631521523, 0.025527000427246094, 0.012287079356610775, 0.07352295517921448, -0.017898907884955406, -0.014860146678984165, 0.008208398707211018, 0.013571720570325851, -0.018958937376737595, 0.03910219669342041, -0.03450685366988182, -0.03168034180998802, -0.007457034662365913, -0.051151517778635025, -0.017625367268919945, 0.014290323480963707, -0.04805006459355354, 0.04657996445894241, -0.015580308623611927, 0.007669372949749231, 0.029270388185977936, -0.02710389718413353, -0.061251044273376465, -0.05127172917127609, -0.06780670583248138, -0.035359933972358704, -0.08448930829763412, 0.015736354514956474, -0.021170584484934807, -0.05303572490811348, -0.039190031588077545, -0.02638888917863369, -0.017466112971305847, -0.026269517838954926, 0.034256353974342346, -0.0171187911182642, -0.03417189419269562, -0.0070648896507918835, -0.0003558497119229287, 0.03198448568582535, 0.059193387627601624, 0.05449191853404045, -0.009381459094583988, 0.010652635246515274, -0.016818488016724586, -0.059920042753219604, 0.03510706126689911, 0.028282325714826584, -0.02185012213885784, -0.09813062846660614, 0.010823364369571209, 0.04211333021521568, 0.025534924119710922, -0.07327140867710114, -0.010361398570239544, -0.0035157331731170416, -0.028097255155444145, 0.033006452023983, 0.003941745031625032, 0.0035185327287763357, -0.0329914353787899, -0.02256018854677677, -0.025682885199785233, -0.004388682544231415, 0.060433968901634216, -0.025278078392148018, 0.09612488001585007, 0.01684301160275936, -0.025622736662626266, -0.02846425212919712, -0.007441403344273567, -0.016917185857892036, 0.023446034640073776, -0.008053364232182503, -0.02601546049118042, -0.042117077857255936, -0.060363467782735825, 0.008780897594988346, -0.016188718378543854, -0.03999846428632736, -0.015504008159041405, 0.02967451885342598, 0.03819321468472481, -0.0334506630897522, 0.030800601467490196, -0.020202511921525, 0.03482601419091225, -0.032029666006565094, -0.03269736096262932, -0.02094203047454357, 0.04910348728299141, 0.009689046069979668, -0.009858029894530773, 0.03789718449115753, -0.04395468533039093, 0.05551452934741974, 0.01764947548508644, 0.03518417477607727, -0.008018184453248978, -0.03120316192507744, 0.02110295556485653 ]
[ -0.11028958112001419, -0.014437291771173477, -0.04441601037979126, -0.003357197158038616, -0.060147836804389954, -0.04914611577987671, -0.009246259927749634, 0.020368991419672966, -0.006725675892084837, -0.021847732365131378, 0.041378576308488846, -0.06101180613040924, 0.03625110164284706, 0.01611463725566864, 0.0563674159348011, 0.004423025995492935, -0.04759368300437927, -0.05573338642716408, -0.055841170251369476, 0.027208294719457626, 0.032600220292806625, -0.03374357894062996, 0.0006250657024793327, -0.06702838093042374, 0.0014765701489523053, 0.0684734508395195, 0.009418397210538387, -0.05873555317521095, 0.006428874097764492, -0.2611139714717865, -0.007953249849379063, 0.008100546896457672, 0.027782883495092392, -0.045131176710128784, -0.015620497055351734, 0.04814954102039337, 0.016228919848799706, 0.00812468770891428, -0.041024964302778244, 0.0619337372481823, 0.024611031636595726, 0.028004659339785576, -0.013066682033240795, 0.0019482048228383064, 0.04991297423839569, -0.02651059255003929, -0.061784904450178146, -0.012201603502035141, 0.015629950910806656, 0.014953980222344398, -0.054237738251686096, 0.050059158354997635, 0.01288596447557211, -0.0038364618085324764, 0.028852738440036774, -0.008866805583238602, 0.08327189087867737, 0.10334331542253494, 0.027652157470583916, -0.0036968316417187452, -0.010618582367897034, 0.014813886024057865, -0.10561094433069229, 0.0744268000125885, 0.04052334278821945, 0.055611953139305115, 0.005680776666849852, -0.03855299577116966, -0.03595152497291565, 0.05005384236574173, 0.021118443459272385, -0.0003135708684567362, -0.04198266193270683, 0.08696400374174118, 0.009650499559938908, -0.028793983161449432, -0.02290874347090721, 0.033174432814121246, 0.067186139523983, -0.025006117299199104, -0.04766351729631424, -0.043381113559007645, -0.044468626379966736, -0.008853265084326267, -0.016923924908041954, -0.043019719421863556, -0.03978154435753822, 0.038953278213739395, -0.011578129604458809, -0.02223394811153412, 0.001049346523359418, -0.04617852345108986, 0.04290188476443291, 0.013810211792588234, -0.10255588591098785, 0.007505982648581266, 0.008138880133628845, 0.03542117029428482, -0.026168784126639366, 0.35224291682243347, 0.006179600488394499, -0.015068814158439636, -0.018342575058341026, -0.01411382481455803, -0.006207196973264217, 0.01406426914036274, -0.03368782252073288, -0.039074886590242386, -0.01822430081665516, -0.06247944012284279, 0.006729519926011562, -0.029277781024575233, 0.11863331496715546, -0.05352674424648285, 0.005882566794753075, 0.019816163927316666, 0.016793357208371162, 0.02018272690474987, -0.023016342893242836, 0.04366035759449005, 0.004700955934822559, 0.02559058740735054, 0.009351728484034538, 0.004701640922576189, -0.003125275718048215, 0.028035184368491173, 0.009879479184746742, 0.0609622597694397, 0.016689781099557877, 0.09914493560791016, 0.04292664676904678, -0.04141934961080551, -0.01785806566476822, -0.01152357179671526, 0.007544951047748327, 0.01565142534673214, 0.01026131957769394, -0.03031192533671856, 0.05207618325948715, -0.009332841262221336, -0.0022995853796601295, -0.04953116178512573, -0.022931132465600967, 0.03175940364599228, -0.0002754077722784132, 0.05692682042717934, -0.05560610815882683, -0.05433199554681778, 0.0010160229867324233, -0.02349168248474598, 0.010551070794463158, 0.014451342634856701, -0.0216270349919796, -0.0593583881855011, 0.020227961242198944, 0.04131282866001129, 0.0315292552113533, -0.01650216244161129, -0.05733084678649902, -0.005698178894817829, -0.0490555576980114, -0.02631203643977642, -0.033481206744909286, 0.08216065913438797, -0.010216549038887024, -0.07806994765996933, -0.05155568942427635, -0.01156748365610838, 0.0123500507324934, -0.11080864071846008, 0.05278635397553444, -0.00926369521766901, -0.020990272983908653, 0.04371129348874092, 0.02260417863726616, -0.0498504638671875, -0.057731788605451584, -0.004350074101239443, 0.041990309953689575, 0.00812983326613903, 0.0023368902038782835, -0.007279092445969582, -0.06789955496788025, -0.007068096660077572, -0.022303039208054543, -0.06620994955301285, -0.041097745299339294, 0.036349836736917496, 0.017144301906228065, -0.03594674542546272, -0.046407971531152725, 0.0014334889128804207, -0.07952239364385605, 0.04735160246491432, 0.018521415069699287, -0.02885063923895359, 0.03164984658360481, 0.02162865176796913, -0.01165847945958376, 0.0013764953473582864, 0.042326848953962326, 0.07356419414281845, 0.020027311518788338, -0.004705169703811407, -0.0989856868982315, -0.04472354054450989, 0.04179750010371208, -0.048290885984897614, 0.029987739399075508, 0.036476168781518936, 0.02041686698794365, 0.025615552440285683, -0.08288062363862991, 0.01857749931514263, 0.0006270891171880066, -0.04147041589021683, 0.03065604344010353, -0.04471271485090256, 0.017802894115447998, -0.011024693958461285, -0.04655380919575691, -0.056013915687799454, -0.04666533321142197, -0.32182997465133667, -0.004396747797727585, 0.034790750592947006, -0.02654256671667099, 0.04795917123556137, -0.06430984288454056, 0.00007430275582009926, 0.025086283683776855, 0.007258481811732054, 0.0077280267141759396, 0.034843120723962784, 0.005132800433784723, 0.004775660112500191, -0.06766090542078018, 0.026141077280044556, 0.026008563116192818, 0.027082081884145737, -0.04841652512550354, 0.015226093120872974, 0.03628246486186981, -0.035128988325595856, -0.007059287279844284, -0.016813699156045914, -0.03926386684179306, 0.02266823686659336, -0.04923170059919357, 0.11757458001375198, 0.03745263069868088, 0.03232011944055557, -0.047636453062295914, 0.033021945506334305, 0.0031115564052015543, -0.02388235367834568, -0.07041727006435394, 0.03762064129114151, -0.026682378724217415, 0.00021088020002935082, 0.03372764587402344, 0.06093975156545639, -0.004499261733144522, -0.041493453085422516, -0.012588591314852238, -0.06191588565707207, -0.04574626684188843, 0.010293771512806416, 0.021727003157138824, -0.032181087881326675, -0.03924909234046936, 0.011193666607141495, 0.06337220966815948, 0.009511704556643963, 0.041107919067144394, 0.02043258398771286, 0.009109116159379482, -0.024309691041707993, -0.005360573064535856, -0.02559877559542656, -0.06610426306724548, 0.018794801086187363, -0.0011176905827596784, 0.06753493845462799, 0.014610452577471733, 0.03171144425868988, 0.000820259447209537, 0.015018385834991932, -0.022313589230179787, -0.019025040790438652, 0.034749265760183334, 0.056388575583696365, -0.00015711848391219974, -0.02123902179300785, 0.06116098910570145, 0.01712764799594879, 0.04682396724820137, 0.05332618206739426, 0.03864133358001709, -0.009771494194865227, -0.015216958709061146, 0.052085358649492264, 0.015174472704529762, 0.02187231369316578, 0.00041598230018280447, 0.016532819718122482, -0.02782585285604, 0.02980887144804001, 0.04026168957352638, -0.005404402036219835, 0.04896394535899162, 0.02580423466861248, -0.00377826695330441, -0.036935534328222275, -0.01129410695284605, 0.042737577110528946, -0.04647449404001236, 0.02152683399617672, -0.006929737515747547, -0.2731204628944397, 0.03797200322151184, 0.038759734481573105, 0.058968186378479004, -0.0019965211395174265, 0.012370383366942406, 0.06899059563875198, -0.08221408724784851, -0.05399193987250328, -0.023950589820742607, 0.03522118553519249, 0.06975215673446655, 0.05465158820152283, 0.03649177402257919, 0.016383768990635872, -0.044093649834394455, 0.041258398443460464, 0.006375366356223822, -0.021531647071242332, 0.01589360274374485, 0.041409239172935486, 0.014568801037967205, 0.20457462966442108, 0.0005091344937682152, 0.00848583783954382, 0.0004409081011544913, -0.015224764123558998, -0.021251792088150978, 0.07485774159431458, -0.0020931873004883528, 0.01658398099243641, 0.003392448415979743, 0.09220767766237259, -0.011003025807440281, 0.035412583500146866, -0.00332608912140131, -0.026110799983143806, 0.04900312051177025, -0.003686075797304511, 0.0010485670063644648, -0.017247606068849564, 0.06696420162916183, -0.004931708797812462, 0.0389806367456913, 0.06250923871994019, -0.005317052826285362, -0.021883366629481316, -0.0230183657258749, -0.03534838184714317, -0.0006152617861516774, 0.01369557250291109, -0.018004760146141052, -0.028411827981472015, 0.01674577035009861, -0.00648383516818285, 0.03276025131344795, -0.005597915966063738, -0.07258493453264236, -0.042956411838531494, 0.05578526854515076, 0.034930240362882614, 0.0248080063611269, 0.08858732134103775, 0.004135779105126858, 0.023118600249290466 ]
[ -0.014528345316648483, 0.020632866770029068, -0.01888933964073658, 0.01199605967849493, -0.010758699849247932, -0.007957842200994492, 0.011231283657252789, 0.034180331975221634, -0.011491610668599606, -0.002768757985904813, 0.0035210936330258846, -0.005009428597986698, 0.05034559965133667, 0.0008149207569658756, -0.027982689440250397, 0.00013622018741443753, 0.01257521752268076, 0.019838891923427582, -0.015217882581055164, -0.03874239698052406, -0.01795653998851776, 0.0397685207426548, 0.02136908285319805, 0.017472079023718834, 0.03459003567695618, 0.04052792489528656, -0.03526023402810097, 0.02308003045618534, 0.010254099033772945, -0.12628719210624695, -0.030941303819417953, -0.013179679401218891, 0.006385262589901686, -0.003476845333352685, -0.0019257781095802784, 0.05929718539118767, -0.024849072098731995, 0.02550039067864418, -0.0062059625051915646, -0.035531286150217056, -0.004932819399982691, 0.01921113394200802, -0.01880030147731304, 0.014151879586279392, -0.016717733815312386, 0.01317934226244688, 0.005187863949686289, 0.009235892444849014, 0.0091007174924016, 0.009969689883291721, -0.020344313234090805, 0.025011951103806496, 0.020028524100780487, 0.03822715952992439, -0.014410167001187801, -0.013750961981713772, -0.029002437368035316, -0.046495404094457626, -0.017251484096050262, -0.02900865115225315, -0.033313050866127014, 0.02426811121404171, -0.04921720176935196, -0.0036571442615240812, 0.006932246498763561, 0.005114953499287367, 0.01918364316225052, -0.01832580752670765, -0.007986116223037243, -0.016838157549500465, 0.0068327197805047035, 0.006213858723640442, -0.030464423820376396, 0.0046532051637768745, 0.0056691765785217285, -0.010788184590637684, 0.022107496857643127, -0.0337543860077858, 0.030090859159827232, -0.00013027305249124765, -0.03359993174672127, -0.013434289023280144, 0.06936390697956085, -0.014571687206625938, -0.0003215126635041088, -0.009209352545440197, -0.02982247993350029, 0.012133041396737099, 0.016049271449446678, -0.030010873451828957, 0.007252740208059549, 0.03426765277981758, 0.019276585429906845, -0.0038383016362786293, -0.04881845414638519, -0.011195859871804714, -0.011104192584753036, 0.013580342754721642, -0.010888091288506985, 0.8204424977302551, -0.007824691012501717, 0.03795367106795311, 0.03401267156004906, -0.015332738868892193, 0.007714672479778528, -0.023198382928967476, -0.003633252577856183, -0.017629215493798256, -0.01903495006263256, -0.03132796287536621, 0.0719023272395134, -0.03615059331059456, 0.05482061579823494, -0.010538370348513126, 0.02099548652768135, 0.06639673560857773, 0.015937315300107002, 0.02587880566716194, -0.02341138944029808, 0.006983754690736532, 0.007874898612499237, -0.017133476212620735, -0.0005653317784890532, 0.03676394373178482, 0.015709830448031425, -0.19481897354125977, -0.018209025263786316, -6.93288715294532e-33, 0.04772096872329712, -0.0027188980020582676, -0.016697941347956657, 0.01583905890583992, 0.018945124000310898, 0.014762764796614647, 0.00471144262701273, -0.005505143199115992, -0.02397170104086399, 0.012018810957670212, 0.030415434390306473, -0.020617740228772163, 0.003696107305586338, -0.02055298537015915, 0.05647613853216171, 0.0016950840363278985, 0.01857556588947773, 0.02225189469754696, -0.01986687444150448, 0.008670270442962646, -0.007798813749104738, 0.02596675418317318, 0.022117024287581444, -0.00934689398854971, 0.005827588029205799, 0.04533897340297699, 0.006917273625731468, -0.049615707248449326, 0.019038980826735497, -0.04401575028896332, 0.005698706954717636, 0.05504376068711281, -0.03653038665652275, -0.015394240617752075, -0.004770694766193628, -0.044931113719940186, -0.034455202519893646, 0.024856455624103546, -0.027326909825205803, -0.002865902381017804, -0.00961966160684824, 0.01635795459151268, -0.03413529694080353, -0.05486083775758743, 0.030276980251073837, -0.05232295021414757, 0.025560665875673294, 0.04471427574753761, -0.006482181139290333, 0.042939674109220505, 0.026133056730031967, 0.012014415115118027, 0.012181865982711315, 0.044954538345336914, 0.002877692226320505, 0.012509473599493504, 0.03877406567335129, -0.009316328912973404, -0.012354803271591663, 0.07568567991256714, 0.0059808422811329365, 0.021931366994976997, -0.014417184516787529, 0.04893087223172188, 0.007956107147037983, -0.026122432202100754, 0.014345359988510609, -0.002081013983115554, 0.031557437032461166, 0.0786222591996193, -0.04160042107105255, 0.004234366584569216, -0.0014975311933085322, -0.0004668437468353659, -0.021121397614479065, -0.03033589757978916, -0.022161483764648438, -0.0014361233916133642, -0.009105708450078964, 0.04112842679023743, 0.04117238149046898, -0.002214898820966482, 0.015920372679829597, -0.001100333291105926, -0.021101247519254684, -0.02260740101337433, 0.024726655334234238, -0.039692413061857224, -0.019469914957880974, -0.03273645043373108, -0.0051019578240811825, 0.009885529987514019, -0.0014771437272429466, -0.01168959029018879, -0.02055959962308407, 7.74192113989876e-33, 0.0172705240547657, -0.03210406377911568, -0.0005336457979865372, 0.012747139669954777, -0.003911628387868404, -0.0039276559837162495, 0.05025120824575424, -0.01581788994371891, -0.021233804523944855, 0.021709337830543518, 0.005487627815455198, 0.017277013510465622, 0.01263925526291132, 0.06734929978847504, 0.07288846373558044, -0.005586156155914068, 0.019737834110856056, 0.04916888102889061, 0.017999503761529922, 0.02178058959543705, -0.004349232651293278, 0.01198000367730856, -0.007053884211927652, -0.0007787387003190815, 0.02447587251663208, 0.009617762640118599, -0.014472533017396927, 0.02067812904715538, 0.007732453290373087, -0.010931823402643204, 0.007248489651829004, 0.006272582802921534, 0.001527360174804926, -0.03850560635328293, -0.028137914836406708, 0.035380180925130844, 0.021550385281443596, -0.004669596906751394, 0.0286311823874712, 0.02793005295097828, 0.02257014438509941, -0.011048123240470886, -0.00564663577824831, -0.012380230240523815, -0.026326728984713554, -0.009575489908456802, -0.006128932815045118, 0.0041300286538898945, 0.005888141226023436, -0.03041764348745346, 0.02032003365457058, -0.017841873690485954, 0.01158113218843937, 0.003415788523852825, 0.008630300872027874, 0.006511068902909756, -0.02695937640964985, 0.014558304101228714, -0.05059744417667389, -0.03882228210568428, -0.03725757449865341, 0.011183599010109901, 0.00814811047166586, -0.00393199548125267, -0.032334599643945694, -0.0008713085553608835, -0.02175283245742321, -0.06257843971252441, -0.0033255410380661488, -0.0055329161696136, -0.046830061823129654, -0.05803192779421806, 0.0012135013239458203, 0.03665515035390854, 0.009392425417900085, -0.006801437120884657, -0.016875125467777252, 0.013696882873773575, 0.05933396518230438, 0.009394795633852482, 0.01879751682281494, -0.017130807042121887, -0.00484440615400672, 0.021748490631580353, 0.02181513048708439, -0.00567676592618227, -0.0169491246342659, 0.013670404441654682, 0.03315825015306473, -0.040983788669109344, -0.0011157506378367543, -0.00741460919380188, 0.005487080663442612, -0.0022193370386958122, 0.02492729015648365, -1.2439442365064224e-8, 0.027353769168257713, -0.03392309695482254, -0.0270686075091362, 0.024462595582008362, 0.05179504677653313, 0.04421457648277283, -0.02902137115597725, -0.05182551220059395, -0.051954418420791626, 0.013387246057391167, 0.012764914892613888, 0.023456748574972153, -0.02402108535170555, 0.0010529779829084873, 0.013765358366072178, -0.0023494462948292494, 0.004108151886612177, 0.009330867789685726, 0.023736100643873215, -0.03673709183931351, -0.010054737329483032, 0.05644331872463226, 0.02074490673840046, -0.029868990182876587, -0.04118294641375542, 0.0023899669758975506, 0.024958791211247444, -0.09911554306745529, -0.0192874688655138, 0.00408409908413887, 0.02837398461997509, -0.02330590970814228, -0.01446188148111105, -0.028613891452550888, -0.02764144539833069, -0.035244494676589966, -0.0040677133947610855, 0.012867659330368042, 0.040694013237953186, 0.0008807182312011719, -0.012963002547621727, 0.031181974336504936, -0.019934987649321556, -0.024832330644130707, -0.020197192206978798, -0.02140643820166588, -0.016942007467150688, 0.005715690553188324, -0.01041721273213625, -0.023175468668341637, 0.009797906503081322, 0.017634723335504532, 0.012573800049722195, 0.005781501531600952, 0.03414533659815788, 0.018283622339367867, 0.022531334310770035, -0.08609188348054886, -0.008572908118367195, 0.03252582252025604, 0.020736537873744965, -0.023176653310656548, -0.03536248207092285, -0.05064411833882332 ]
haskell-int-and-integer
https://markhneedham.com/blog/2012/04/28/haskell-int-and-integer
false
2012-04-17 06:54:38
neography/neo4j/Lucene: Getting a list of all the nodes indexed
[ "neo4j", "neography", "lucene" ]
[ "Software Development" ]
I've been playing around with neo4j using the https://github.com/maxdemarzi/neography[neography] gem to create a graph of all the people in ThoughtWorks and the connections between them based on working with each other. I created a UI where you could type in the names of two people and see when they've worked together or the path between the shortest path between them if they haven't. I thought it would be cool to have auto complete functionality when typing in a name but I couldn't figure out how to partially query the index of people's names that I'd created. I have this Lucene index: [source,ruby] ---- @neo = Neography::Rest.new @neo.create_node_index("people", "fulltext", "lucene") ---- Which I add to like this: [source,ruby] ---- node = @neo.create_node("name" => "Mark Needham") @neo.add_node_to_index("people", "name", "Mark Needham", node) ---- [source,text] ---- > @neo.get_index("people", "name", "Mark Needham") => [{"indexed"=>"http://localhost:7474/db/data/index/node/people/name/Mark%20Needham/979", "outgoing_relationships"=>"http://localhost:7474/db/data/node/979/relationships/out", "data"=>{"name"=>"Mark Needham"}, "traverse"=>"http://localhost:7474/db/data/node/979/traverse/{returnType}", "all_typed_relationships"=>"http://localhost:7474/db/data/node/979/relationships/all/{-list|&|types}", "property"=>"http://localhost:7474/db/data/node/979/properties/{key}", "self"=>"http://localhost:7474/db/data/node/979", "properties"=>"http://localhost:7474/db/data/node/979/properties", "outgoing_typed_relationships"=>"http://localhost:7474/db/data/node/979/relationships/out/{-list|&|types}", "incoming_relationships"=>"http://localhost:7474/db/data/node/979/relationships/in", "extensions"=>{}, "create_relationship"=>"http://localhost:7474/db/data/node/979/relationships", "paged_traverse"=>"http://localhost:7474/db/data/node/979/paged/traverse/{returnType}{?pageSize,leaseTime}", "all_relationships"=>"http://localhost:7474/db/data/node/979/relationships/all", "incoming_typed_relationships"=>"http://localhost:7474/db/data/node/979/relationships/in/{-list|&|types}"}] ---- I came across http://www.jguru.com/faq/view.jsp?EID=587213[an old mailing list thread] which suggested the following solution: ____ One solution is to add a field with a known and constant value to each document in the index. Then searching for that field and value will give you all documents in the index. ____ I changed my code to do that: [source,ruby] ---- node = @neo.create_node("name" => "Mark Needham") @neo.add_node_to_index("people", "name", "Mark Needham", node) @neo.add_node_to_index("people", "type", "person", node) ---- From my sinatra web app I then put the names of all the people in an http://stackoverflow.com/questions/5188211/persisting-variables-in-sinatra[application level variable] like so: [source,ruby] ---- configure do set :all_people, Neography::Rest.new.get_index("people", "type", "person").map { |n| n["data"]["name"] } end ---- And then search through that like so: [source,ruby] ---- get '/people' do search_term = params["term"] ||= "" settings.all_people.select { |p| p.downcase.start_with?(search_term.downcase) }.to_json end ---- It works and since there's only one query to get the Lucene index when I first start the web server it's pretty quick but surely there's a less hacky/proper way?
null
null
[ 0.003247929038479924, -0.0033556201960891485, 0.002690608613193035, 0.0341184027493, 0.10099398344755173, -0.010340937413275242, 0.021654218435287476, 0.023907983675599098, 0.010646660812199116, -0.030111821368336678, -0.052623338997364044, -0.010267350822687149, -0.06077387556433678, 0.013582476414740086, 0.023914627730846405, 0.07125986367464066, 0.05861371010541916, 0.027346156537532806, 0.0044863526709377766, -0.054852861911058426, 0.024234477430582047, 0.05588920786976814, 0.0002632072428241372, 0.03377993032336235, 0.04863784834742546, 0.026337571442127228, 0.02449210360646248, 0.002657337114214897, -0.036941610276699066, 0.0023053542245179415, 0.05334106460213661, -0.030166136100888252, 0.030810542404651642, 0.011215480975806713, 0.018288442865014076, -0.015487199649214745, -0.019151410087943077, 0.002867241157218814, -0.001757731311954558, 0.0082161920145154, -0.07451724261045456, 0.037352945655584335, -0.022111134603619576, 0.009711428545415401, -0.030334539711475372, 0.02019607648253441, -0.09116693586111069, 0.030637547373771667, 0.008244424127042294, 0.016438206657767296, -0.06868934631347656, 0.01844947226345539, 0.019264735281467438, 0.014852487482130527, -0.0014526990707963705, 0.05307880416512489, 0.023602526634931564, -0.07831136137247086, 0.05551565811038017, -0.005835472606122494, -0.0019265430746600032, -0.004409488290548325, 0.007272602524608374, 0.03586999699473381, -0.0013022342463955283, -0.06138528138399124, 0.0001802106125978753, 0.04802919924259186, -0.055850815027952194, -0.01083784643560648, 0.0070577082224190235, -0.0030769365839660168, -0.011527961120009422, -0.0037835408002138138, -0.014901154674589634, -0.04152132198214531, -0.0030602796468883753, 0.04955466464161873, 0.029189927503466606, 0.03940826654434204, -0.04522855579853058, 0.024068554863333702, -0.0069737741723656654, 0.02960585430264473, -0.019148098304867744, -0.030957061797380447, -0.039940740913152695, -0.014782574959099293, -0.039960745722055435, 0.02908475697040558, 0.014298662543296814, -0.0676727145910263, -0.016196226701140404, 0.006976827047765255, -0.0271938294172287, 0.003092139260843396, 0.011896619573235512, 0.014447647146880627, 0.01262005977332592, 0.003916009794920683, -0.0274139903485775, -0.04114021360874176, 0.0028840494342148304, 0.016072480008006096, -0.07834925502538681, -0.013010676950216293, -0.029354700818657875, -0.01292981207370758, -0.013620472513139248, -0.0046277656219899654, -0.06692059338092804, -0.0056800879538059235, -0.02585735358297825, 0.026335543021559715, -0.07074848562479019, 0.0615568682551384, 0.02816443145275116, -0.020894981920719147, -0.0009736864012666047, 0.023125184699892998, 0.045323003083467484, 0.01922755502164364, 0.028959713876247406, 0.06759114563465118, -0.03695894777774811, 0.03180323913693428, -0.0014111843192949891, 0.05730118602514267, -0.03100924752652645, -0.054297372698783875, -0.006280823610723019, 0.07687585055828094, -0.01065152045339346, 0.004731661174446344, 0.00034055340802296996, -0.024936968460679054, -0.010409126989543438, 0.019849391654133797, 0.06900449097156525, 0.04261656105518341, 0.005174187943339348, -0.05358567461371422, 0.01891704834997654, -0.009321167133748531, 0.03917641565203667, 0.008840448223054409, -0.010158399119973183, -0.018643874675035477, -0.024681005626916885, 0.01881878636777401, -0.023644395172595978, 0.024475321173667908, 0.04940901696681976, -0.028247693553566933, 0.010199394077062607, 0.11522114276885986, 0.037590913474559784, 0.005730086006224155, -0.005008164793252945, 0.002876909216865897, 0.04165595397353172, 0.04540513455867767, -0.014568821527063847, 0.04868431016802788, 0.007922622375190258, -0.022996891289949417, -0.01404325757175684, 0.0512780025601387, -0.0022833221592009068, 0.0061922199092805386, -0.04116043820977211, -0.04072616249322891, 0.05657263472676277, -0.04579807445406914, -0.01911301352083683, 0.0465569794178009, 0.08701127022504807, 0.004637972451746464, 0.003965314012020826, -0.004259153269231319, -0.0711246207356453, 0.03669748455286026, -0.015299400314688683, -0.009457256644964218, 0.018460258841514587, 0.01914690062403679, 0.06611377000808716, 0.05353981629014015, 0.0014500494580715895, 0.010536126792430878, -0.07595638930797577, -0.07004263252019882, -0.004910924471914768, -0.024013053625822067, 0.050116028636693954, -0.0407567173242569, 0.03320421278476715, 0.0658770203590393, -0.004441368859261274, 0.04020869359374046, 0.02348250336945057, -0.015942417085170746, 0.024654481559991837, -0.04581521078944206, -0.04104126617312431, 0.0478210411965847, 0.009449734352529049, -0.061945945024490356, -0.03368651121854782, 0.017199968919157982, -0.008751126937568188, -0.02592516504228115, 0.04107489064335823, -0.01913013868033886, 0.029144175350666046, 0.027967164292931557, 0.01942928321659565, -0.011412624269723892, 0.015495155937969685, -0.023715607821941376, 0.0671871230006218, 0.026630355045199394, -0.01684628240764141, -0.01573963090777397, -0.013800987042486668, 0.11670191586017609, 0.061455387622117996, -0.02749096229672432, -0.06542881578207016, 0.0440429262816906, 0.016540564596652985, -0.0270230770111084, 0.031006071716547012, -0.022162597626447678, 0.005297024268656969, -0.008251497521996498, -0.0159174595028162, -0.041668057441711426, 0.019970031455159187, -0.037443146109580994, -0.014371726661920547, 0.04674943909049034, -0.0364341214299202, 0.05631592124700546, 0.027408957481384277, -0.014237429015338421, 0.003763404441997409, -0.02828734740614891, -0.04784192889928818, 0.03422299027442932, 0.022381681948900223, -0.015348684042692184, 0.028183698654174805, -0.014764794148504734, 0.011710518039762974, -0.034254930913448334, -0.013728125020861626, 0.05437663942575455, 0.03943147137761116, 0.05329447239637375, -0.02016638219356537, 0.05361490324139595, -0.04036993905901909, 0.0004673872026614845, -0.0003428552590776235, -0.045977912843227386, -0.043910689651966095, -0.04179230332374573, 0.0038605337031185627, -0.00017617242701817304, -0.005816906224936247, -0.011261163279414177, 0.03933669626712799, 0.017150679603219032, 0.013217758387327194, 0.02224193699657917, 0.010039891116321087, 0.01810670644044876, 0.003990113269537687, -0.030985279008746147, -0.04683200269937515, 0.045714013278484344, -0.057385921478271484, -0.0426291786134243, -0.024987071752548218, -0.06455927342176437, 0.06056039780378342, -0.0460248626768589, -0.02664945088326931, -0.017894074320793152, 0.02671785280108452, 0.04100048169493675, 0.013450860977172852, 0.01513650268316269, 0.07791867107152939, 0.0255665872246027, 0.023906921967864037, 0.013653505593538284, -0.022190282121300697, 0.04715745896100998, -0.023610718548297882, 0.02248339168727398, 0.0442020446062088, -0.03145366534590721, 0.012714864686131477, -0.018371185287833214, 0.017713451758027077, -0.02551344595849514, -0.2834363877773285, 0.04878164827823639, -0.032646454870700836, -0.062127526849508286, 0.010920938104391098, -0.019628552719950676, 0.0023860118817538023, -0.017005357891321182, 0.005104622803628445, -0.014524386264383793, -0.01537152100354433, -0.025892039760947227, -0.015735654160380363, 0.025025883689522743, -0.0004920359351672232, 0.03679461404681206, -0.025803562253713608, -0.054473258554935455, 0.0004988720756955445, 0.045099176466464996, -0.003793837735429406, -0.05229199677705765, -0.013364830985665321, 0.03629233315587044, 0.030272778123617172, 0.032053858041763306, -0.0895245149731636, 0.024720951914787292, -0.03206464648246765, -0.013752725906670094, -0.0019163081888109446, -0.0326615646481514, -0.004306442104279995, -0.00839883740991354, -0.02744925022125244, -0.037008900195360184, 0.0448964461684227, -0.002457272494211793, 0.021706854924559593, 0.019842861220240593, -0.05106698349118233, -0.0281232763081789, -0.027581389993429184, -0.03568779304623604, 0.06701295077800751, -0.004483385011553764, -0.07428040355443954, -0.01646442525088787, -0.020181534811854362, 0.05671938508749008, -0.028432205319404602, -0.031557172536849976, 0.009008880704641342, 0.019672401249408722, 0.00951640959829092, -0.04543894901871681, -0.02324672043323517, -0.010416948236525059, -0.06100860983133316, -0.056851577013731, -0.024537546560168266, -0.024703610688447952, 0.00000216425405596965, -0.058395955711603165, -0.014295651577413082, -0.05223698541522026, -0.06677370518445969, -0.020953986793756485, 0.06414853036403656, 0.024307962507009506, -0.02903079427778721, 0.04083773493766785, -0.019568197429180145, -0.1139732077717781, -0.04200049489736557, -0.008900415152311325, -0.010923394933342934, -0.007711044047027826, -0.027821164578199387, 0.04112570732831955, -0.04018547758460045, -0.041928473860025406, 0.007694927044212818, 0.027229933068156242, 0.009719865396618843, 0.003192339790984988, 0.00683715520426631, -0.04321613907814026, -0.04463031515479088, 0.0022073141299188137, 0.05444641783833504, -0.031043678522109985, -0.03528011590242386, -0.020408762618899345, 0.030546315014362335, 0.045720141381025314, 0.013746789656579494, -0.00591110298410058, 0.031014351174235344, 0.05348828062415123, 0.05611418932676315, -0.022635743021965027, 0.036380063742399216, 0.0015683028614148498, -0.0164787694811821, 0.003293379209935665, -0.05283603444695473, 0.02634522318840027, 0.03913664072751999, 0.018885686993598938, -0.03505512326955795, -0.006820198614150286, 0.017312994226813316, -0.03544125333428383, -0.020174559205770493, -0.014328802935779095, 0.010656666941940784, 0.021573996171355247, 0.03708498179912567, -0.021087661385536194, -0.08152634650468826, 0.016165561974048615, 0.03835749626159668, -0.013982645235955715, -0.06890691071748734, -0.035158056765794754, -0.03731488436460495, -0.018899451941251755, 0.03105976991355419, 0.0335339717566967, -0.02162683941423893, 0.016758544370532036, -0.00481462012976408, -0.01337810792028904, 0.05206068232655525, -0.031377654522657394, -0.018569814041256905, -0.028889726847410202, 0.009063659235835075, 0.0016210933681577444, -0.021764671429991722, -0.001489965827204287, 0.002728775842115283, 0.05640644207596779, 0.04883638769388199, 0.010752865113317966, 0.01063703466206789, 0.00210358202457428, 0.007261854130774736, -0.011672566644847393, -0.010876873508095741, -0.026856478303670883, 0.027313901111483574, -0.044988393783569336, 0.0023771245032548904, -0.02878543920814991, 0.03880578652024269, -0.031074101105332375, -0.020556243136525154, -0.05144713819026947, 0.007932865992188454, -0.05722954869270325, 0.0224897563457489, -0.009269500151276588, 0.013511650264263153, 0.060147080570459366, -0.015666848048567772, 0.03873785585165024, -0.02129393257200718, -0.0049973889254033566, 0.011725506745278835, 0.009351675398647785, -0.020115984603762627, -0.013596534729003906, 0.009328250773251057, 0.011133990250527859, 0.003026532009243965, 0.049968961626291275, 0.006646736990660429, 0.036654774099588394, -0.0195910707116127, -0.00976086687296629, 0.00673172902315855, 0.019138449802994728, 0.042332474142313004, 0.04248617962002754, -0.009818973019719124, 0.01885288767516613, -0.03036719374358654, -0.006974308751523495, -0.0028080332558602095, 0.0016449984395876527, -0.036081235855817795, -0.0002697052259463817, -0.02810136042535305, -0.0735456570982933, 0.058589693158864975, -0.029288478195667267, 0.023952854797244072, 0.0363481305539608, 0.005456431303173304, -0.003125046147033572, -0.020352698862552643, 0.033835358917713165, 0.07839290052652359, -0.042790550738573074, -0.002651550807058811, -0.01089190598577261, -0.0063102166168391705, -0.0029437439516186714, 0.00011841444211313501, -0.06542462110519409, -0.017227431759238243, -0.019680609926581383, 0.008797756396234035, -0.003288110252469778, -0.03922497481107712, -0.01263591181486845, -0.005274205468595028, -0.015353205613791943, 0.04294181242585182, 0.010764815844595432, 0.01996736042201519, -0.01582992449402809, 0.003068045014515519, 0.03962428495287895, -0.01971132680773735, -0.021721281111240387, -0.022911513224244118, -0.0058897933922708035, -0.00039472823846153915, -0.0077372463420033455, 0.03347909078001976, 0.010529983788728714, -0.0168896596878767, -0.003667016513645649, -0.03761869668960571, 0.0034495447762310505, 0.010295500047504902, 0.02725660800933838, 0.007036258466541767, -0.012065625749528408, -0.04824810102581978, 0.0029591263737529516, -0.012683866545557976, 0.003424382070079446, -0.0006862952141091228, -0.00930467527359724, 0.01816863939166069, 0.0225352942943573, -0.008900653570890427, 0.0437152124941349, -0.013874831609427929, -0.033962782472372055, 0.043673012405633926, -0.04243374988436699, -0.056325074285268784, -0.005227793473750353, -0.05235551670193672, 0.011377847753465176, 0.029787523671984673, 0.03720076382160187, -0.0260686706751585, 0.05608540400862694, 0.0602443590760231, 0.016866015270352364, 0.02564900554716587, -0.013079742901027203, 0.048368483781814575, -0.03110552951693535, 0.002881663851439953, -0.080716572701931, -0.015806522220373154, 0.02701617032289505, -0.016765102744102478, 0.012289398349821568, -0.009076896123588085, -0.025692516937851906, -0.015176255255937576, -0.052598655223846436, -0.028621725738048553, 0.04490358382463455, -0.02945571020245552, 0.01982232928276062, 0.0187234990298748, -0.07682148367166519, 0.009686782024800777, 0.044130921363830566, -0.024177853018045425, -0.0372193269431591, -0.04446956515312195, 0.04949108511209488, -0.01985153742134571, 0.044741082936525345, -0.008217878639698029, -0.028335949406027794, 0.07116077095270157, 0.0275238286703825, 0.0285947322845459, 0.06193016096949577, -0.021898698061704636, 0.03650599345564842, 0.0361335463821888, 0.009996716864407063, 0.00962905678898096, 0.03411637991666794, -0.014085951261222363, -0.06423451751470566, 0.05697787553071976, 0.007947450503706932, -0.0017262953333556652, -0.040936145931482315, 0.06497429311275482, 0.02825559861958027, -0.040896061807870865, -0.02309907227754593, 0.03841463103890419, -0.02834991179406643, -0.02636636234819889, -0.04365609213709831, 0.016905346885323524, -0.027647579088807106, 0.04298895224928856, -0.042143452912569046, -0.001651966362260282, 0.06378680467605591, -0.01034025102853775, -0.0003559002943802625, 0.001751162693835795, 0.09032753854990005, 0.09921788424253464, 0.04738907516002655, 0.01911516673862934, 0.07890962809324265, 0.00024010286142583936, -0.03537316620349884, -0.008248980157077312, -0.025908393785357475, 0.004397883079946041, 0.03049645945429802, -0.013900265097618103, 0.06274566054344177, -0.017521440982818604, 0.0658455640077591, -0.02522069402039051, 0.0025118922349065542, -0.011122029274702072, 0.006394106429070234, 0.03985431417822838, 0.05096381530165672, 0.009008023887872696, 0.06310038268566132, -0.048877518624067307, -0.03624645248055458, 0.003966905176639557, -0.016430934891104698, -0.02935107983648777, 0.019014524295926094, -0.016480915248394012, -0.002496953820809722, 0.0038935039192438126, 0.05538226664066315, 0.08928859978914261, -0.024665214121341705, -0.016826851293444633, -0.011526198126375675, -0.014621841721236706, -0.022732196375727654, 0.0018287623533979058, -0.00017958773241844028, -0.012821052223443985, -0.02505219168961048, -0.024197332561016083, -0.024923833087086678, -0.008309774100780487, -0.03817848116159439, 0.0161077082157135, -0.013906111940741539, 0.0016255512600764632, 0.012610410340130329, 0.023593297228217125, -0.025187568739056587, -0.02449001371860504, -0.0509326308965683, -0.045147333294153214, -0.07414547353982925, 0.024116137996315956, -0.006614296231418848, 0.031617484986782074, -0.011484424583613873, -0.015180968679487705, -0.017701542004942894, -0.0014986461028456688, 0.035427700728178024, -0.061052821576595306, -0.000633341318462044, -0.021302971988916397, 0.01877005398273468, 0.028251560404896736, 0.026494760066270828, 0.04855330288410187, -0.004645164590328932, 0.03549163416028023, -0.020148925483226776, 0.008065147325396538, 0.04892302304506302, 0.015715595334768295, 0.003195008961483836, -0.07785230129957199, 0.0019390209345147014, -0.01552479900419712, -0.00761773157864809, -0.05873136594891548, 0.0000016666194824210834, 0.05619904398918152, 0.007163653615862131, 0.053818479180336, -0.002985211554914713, -0.0035617416724562645, -0.025657402351498604, 0.012802590616047382, 0.0036226564552634954, -0.017106102779507637, 0.026208043098449707, -0.0289863683283329, 0.06548262387514114, 0.017314918339252472, -0.016088606789708138, -0.011638167314231396, -0.025398852303624153, 0.008222808130085468, -0.009233354590833187, -0.04292690381407738, -0.051588986068964005, -0.04865299165248871, -0.08436024934053421, -0.05354247987270355, 0.012577463872730732, -0.019772844389081, -0.044198185205459595, -0.026784928515553474, 0.022980837151408195, -0.0364641435444355, 0.06333041936159134, -0.0595473013818264, 0.04543130472302437, -0.011757953092455864, -0.02292557992041111, -0.026055175811052322, 0.0032688789069652557, -0.0007654548971913755, 0.021583514288067818, 0.026210453361272812, -0.04570930078625679, -0.009347831830382347, -0.04247421398758888, 0.029321927577257156, 0.0036552762612700462, 0.01986309513449669, -0.013891614973545074 ]
[ -0.030515065416693687, -0.01024780422449112, -0.047191862016916275, 0.0031993831507861614, 0.04496612399816513, -0.048299454152584076, -0.010715278796851635, 0.007886641658842564, 0.007969311438500881, -0.02790987677872181, 0.030449239537119865, -0.02750382013618946, 0.01885368674993515, -0.003364131087437272, 0.06568260490894318, 0.005367209203541279, -0.030603384599089622, -0.043687570840120316, -0.023354696109890938, 0.05498060956597328, -0.014538341201841831, -0.031564079225063324, -0.026993336156010628, -0.027957651764154434, -0.017828574404120445, 0.05970952287316322, 0.06662105768918991, -0.0221223346889019, -0.020935796201229095, -0.1909257173538208, 0.011957596056163311, 0.022667724639177322, 0.03683621063828468, 0.008698191493749619, 0.015502814203500748, 0.02656417526304722, 0.049196429550647736, -0.014164838939905167, 0.012460346333682537, 0.02336493320763111, 0.011635899543762207, -0.006506238132715225, -0.04736403375864029, -0.005618888884782791, 0.057173267006874084, 0.03798454999923706, -0.00930835586041212, -0.011774013750255108, -0.03962438181042671, 0.002370173344388604, -0.042475905269384384, -0.009787507355213165, 0.004569705575704575, -0.019128870218992233, 0.01525262650102377, 0.04397507756948471, 0.04811980202794075, 0.037307221442461014, 0.03098723292350769, 0.055127520114183426, 0.023280512541532516, 0.015365460887551308, -0.12311231344938278, 0.06125641241669655, -0.01261827815324068, 0.019364165142178535, -0.06958913058042526, -0.0103256581351161, -0.04325755685567856, 0.062426842749118805, 0.05330812186002731, -0.0003868450003210455, -0.0310467891395092, 0.06492285430431366, -0.008580882102251053, 0.0013377575669437647, -0.02328426018357277, 0.006404383108019829, 0.025500211864709854, -0.030039377510547638, -0.07788190990686417, 0.007414565421640873, -0.04444810748100281, -0.020955074578523636, -0.029790807515382767, 0.06430459022521973, -0.011674648150801659, 0.03957033157348633, 0.000798357417806983, 0.04393419250845909, 0.016933396458625793, -0.010986792854964733, 0.02439592219889164, 0.019764527678489685, -0.08004528284072876, -0.044265635311603546, 0.010417640209197998, 0.024868398904800415, 0.0024711284786462784, 0.40590235590934753, 0.011674946174025536, 0.008438409306108952, 0.05073075369000435, 0.054048288613557816, -0.024892419576644897, -0.012292777188122272, 0.0020198679994791746, -0.07473743706941605, 0.03339005261659622, -0.016282400116324425, -0.006102667190134525, -0.032804057002067566, 0.032529670745134354, -0.10361894220113754, 0.015845729038119316, 0.01989695243537426, 0.04412076249718666, 0.033989034593105316, -0.006026577204465866, -0.004497700370848179, 0.0030025974847376347, 0.022442106157541275, 0.02906832844018936, 0.021416546776890755, 0.023691298440098763, 0.034464336931705475, 0.027258725836873055, 0.029587730765342712, 0.015743141993880272, 0.03558998927474022, 0.056678663939237595, 0.021364295855164528, -0.06992056220769882, 0.009095225483179092, -0.029547767713665962, 0.01719590649008751, -0.002520201029255986, -0.05237254872918129, -0.01793261058628559, 0.02583053708076477, -0.002312807831913233, -0.037351496517658234, -0.00012302564573474228, 0.01805214025080204, -0.019723206758499146, 0.14004671573638916, -0.02976691722869873, -0.02930883876979351, -0.027521589770913124, -0.04591698944568634, -0.011394239962100983, 0.03210953623056412, -0.01362649817019701, -0.05776200070977211, -0.02640363574028015, 0.025577036663889885, 0.09258946031332016, -0.01465228758752346, -0.07964330166578293, 0.015091806650161743, 0.004040933214128017, -0.017550000920891762, -0.03375083953142166, 0.0850357711315155, 0.04556303471326828, -0.11730241775512695, -0.018161417916417122, 0.033297348767519, -0.005889439024031162, -0.08532792329788208, 0.024516107514500618, -0.003079114481806755, -0.045889806002378464, -0.006680844351649284, 0.07550438493490219, -0.00453139515593648, -0.0027080150321125984, -0.015045247972011566, 0.023729462176561356, 0.005078905262053013, -0.021345479413866997, 0.008402193896472454, -0.03466496616601944, -0.014664819464087486, -0.09457098692655563, -0.05206141993403435, -0.07881105691194534, 0.011224721558392048, -0.05605829879641533, -0.032320450991392136, -0.020792756229639053, 0.02640027366578579, -0.038258571177721024, 0.09891155362129211, -0.04006047546863556, -0.012388559989631176, -0.02198329195380211, 0.013063791207969189, -0.051597241312265396, -0.02858223021030426, 0.037519026547670364, 0.02696692943572998, -0.020159412175416946, 0.021430781111121178, -0.06035132333636284, 0.010642046108841896, 0.06257615983486176, -0.01757781207561493, 0.07741639018058777, 0.004488800186663866, -0.04314430058002472, 0.006831024773418903, -0.004106494598090649, 0.022943345829844475, -0.007210514973849058, -0.03503034636378288, 0.006228707265108824, -0.02069319784641266, 0.03430524468421936, 0.05616895481944084, -0.027422308921813965, -0.022728154435753822, -0.03233693167567253, -0.3494108021259308, -0.03522274270653725, -0.0254499688744545, 0.0019885962828993797, 0.010559299029409885, -0.026630200445652008, 0.03275587037205696, 0.00023838350898586214, 0.007160068489611149, 0.034776367247104645, 0.09530726820230484, 0.005963888950645924, -0.01447397843003273, -0.07548586279153824, -0.006810352206230164, 0.03822313994169235, -0.002917408011853695, 0.0011865678243339062, -0.02770979329943657, 0.0004702199366874993, 0.008064351975917816, -0.043843191117048264, -0.0020341414492577314, -0.06377005577087402, -0.0008210523519665003, 0.00786674302071333, 0.13180114328861237, 0.01966639794409275, 0.0002232179103884846, -0.06409932672977448, 0.030817262828350067, -0.003851168090477586, -0.05140100419521332, -0.08188111335039139, -0.0021622853819280863, -0.014669245108962059, 0.027980679646134377, 0.035235147923231125, -0.003114992519840598, -0.004659467376768589, -0.050136398524045944, -0.02273707278072834, -0.03996357321739197, -0.0368928536772728, -0.01535110455006361, 0.019002443179488182, -0.027295133098959923, -0.007339903619140387, 0.004198231268674135, 0.08195124566555023, 0.020713435485959053, 0.025570524856448174, -0.009065898135304451, 0.022988637909293175, 0.009298838675022125, -0.04270190745592117, -0.08239848911762238, -0.04561778903007507, 0.0033345932606607676, 0.027776163071393967, 0.013811837881803513, 0.04443853721022606, 0.019781246781349182, -0.09316554665565491, 0.02791389264166355, 0.010209200903773308, -0.03502659872174263, 0.010312475264072418, 0.02241874858736992, -0.0415378101170063, -0.027912914752960205, 0.10135883837938309, -0.00005235280332271941, 0.015602592378854752, 0.03453992307186127, 0.05808579921722412, -0.0033194462303072214, 0.00386729440651834, 0.0496336929500103, 0.020648324862122536, 0.02986442856490612, -0.04219486564397812, 0.06627427786588669, -0.004027617629617453, -0.02111120894551277, 0.07364985346794128, 0.03631971776485443, -0.0631452351808548, 0.06402922421693802, 0.006161147728562355, -0.043557219207286835, 0.004689765628427267, -0.028761371970176697, -0.030323265120387077, 0.0339910127222538, -0.04205169528722763, -0.26743584871292114, 0.061166759580373764, 0.01566028967499733, 0.0652039423584938, 0.010697154328227043, -0.0023677516728639603, 0.025571482256054878, -0.024037141352891922, 0.007940325886011124, -0.026463989168405533, 0.03945182263851166, 0.05746893957257271, 0.0028257425874471664, -0.015170521102845669, -0.008776912465691566, 0.023421168327331543, 0.03194674849510193, 0.024353019893169403, -0.008555943146348, 0.016206031665205956, 0.04102074354887009, -0.029766766354441643, 0.18284493684768677, 0.041219182312488556, 0.0052513498812913895, 0.03366641327738762, -0.041221313178539276, 0.005106579978018999, 0.038247447460889816, -0.007356551010161638, -0.002507812110707164, 0.04187513887882233, 0.002885876689106226, 0.024232301861047745, 0.028356609866023064, -0.05633503198623657, 0.005699729081243277, 0.048148013651371, 0.03101278841495514, -0.029467474669218063, -0.011139456182718277, 0.002003780333325267, -0.05428219959139824, 0.01989615708589554, 0.08139629662036896, -0.016258494928479195, -0.016202829778194427, 0.028411926701664925, -0.07738769799470901, -0.00024288349959533662, -0.050898998975753784, -0.016834765672683716, -0.04700639471411705, -0.004663873463869095, 0.008748612366616726, 0.04654236510396004, 0.004888512659817934, -0.007653983775526285, 0.022508978843688965, 0.019897066056728363, -0.0438598170876503, -0.017435304820537567, 0.10374114662408829, -0.03564055636525154, 0.007941704243421555 ]
[ 0.01711163856089115, 0.0246373750269413, -0.019129829481244087, 0.07967448979616165, -0.01968986727297306, 0.002318146638572216, -0.008724548853933811, -0.011234994046390057, -0.020520588383078575, -0.018590448424220085, -0.03474771976470947, 0.022523047402501106, 0.03443194553256035, -0.014381920918822289, -0.03917255625128746, 0.012420597486197948, -0.01995321363210678, 0.030651671811938286, 0.028946775943040848, -0.0064816540107131, -0.017069458961486816, 0.003468775423243642, 0.019351504743099213, -0.021137967705726624, -0.03325913846492767, 0.004712733905762434, -0.04265396669507027, -0.017032036557793617, 0.025794951245188713, -0.10187714546918869, -0.03359825536608696, -0.04558376222848892, -0.01993260346353054, 0.05344564467668533, -0.056527312844991684, 0.007193710654973984, 0.029528338462114334, 0.008541916497051716, -0.011529791168868542, 0.010044804774224758, 0.024221787229180336, 0.006145370192825794, -0.04150150343775749, 0.007693433202803135, -0.006163077428936958, -0.029105188325047493, -0.03860219195485115, -0.04359099641442299, 0.006113599520176649, -0.0017641689628362656, -0.07902143895626068, -0.016703177243471146, 0.0028811388183385134, 0.011075815185904503, 0.01889725774526596, 0.02562708593904972, -0.032438259571790695, -0.014260726049542427, 0.005474457982927561, -0.0027099016588181257, 0.05734559893608093, 0.0021096933633089066, -0.05046815052628517, -0.0410337932407856, -0.0033550169318914413, -0.016907814890146255, -0.021420776844024658, -0.005860098637640476, -0.0013667941093444824, 0.004895716439932585, 0.007680640090256929, 0.03150938078761101, -0.09394998848438263, -0.02808745950460434, -0.014016111381351948, 0.01903361827135086, 0.029167266562581062, -0.01623641699552536, -0.01945987343788147, 0.01443276833742857, -0.0209768395870924, 0.002699238248169422, 0.005657170433551073, 0.03066347911953926, -0.04200110211968422, 0.022145386785268784, -0.004801537375897169, -0.013458448462188244, 0.021503416821360588, 0.002994389971718192, -0.03968173265457153, -0.015049383975565434, -0.022688833996653557, 0.0036761516239494085, -0.06668459624052048, 0.006573851685971022, 0.0026329397223889828, 0.005383347161114216, -0.04088475555181503, 0.8121854066848755, -0.025130636990070343, -0.03151669725775719, -0.004237917251884937, 0.007385680917650461, -0.012949815019965172, 0.005444497801363468, 0.018788611516356468, -0.0027539266739040613, -0.016038762405514717, 0.011251365765929222, 0.008977076038718224, 0.03975282236933708, 0.011839164420962334, 0.02019600383937359, 0.017149792984128, 0.018210336565971375, 0.04908039793372154, -0.007879843935370445, 0.03338075056672096, 0.04497916251420975, 0.033942993730306625, 0.034261371940374374, -0.008100472390651703, 0.00333937956020236, 0.023068031296133995, -0.18618440628051758, -0.00555466627702117, -7.285822719623989e-33, 0.05889817699790001, 0.03387477993965149, 0.037077128887176514, 0.008331465534865856, -0.010568041354417801, 0.0316748172044754, -0.0033633350394666195, -0.01388527825474739, -0.01741357333958149, -0.013365030288696289, -0.011465894058346748, 0.007451149169355631, -0.0015677561750635505, -0.038820553570985794, 0.014378678984940052, -0.019725389778614044, 0.020382637158036232, 0.030169649049639702, 0.0019259275868535042, -0.017819171771407127, 0.028550870716571808, 0.04668300226330757, -0.0171270240098238, 0.04402773454785347, -0.013912697322666645, 0.005230485461652279, -0.0061887530609965324, -0.003187513677403331, -0.007197686471045017, -0.041323043406009674, -0.02821934223175049, 0.030912211164832115, 0.02684626542031765, -0.005194719880819321, 0.01615767925977707, -0.05103135481476784, 0.005814739502966404, 0.03999793156981468, -0.02069704234600067, -0.03833210468292236, -0.009079358540475368, 0.01659988798201084, 0.0005449161981232464, -0.04719396308064461, -0.03325545787811279, -0.01859990879893303, 0.0035628005862236023, 0.048890650272369385, 0.018006743863224983, 0.01940188743174076, -0.006134554278105497, 0.00842968374490738, -0.016406970098614693, 0.036728549748659134, -0.027952726930379868, 0.010962048545479774, -0.003014293732121587, 0.014853529632091522, -0.010061108507215977, 0.017825383692979813, 0.018955856561660767, -0.049987372010946274, 0.008997708559036255, 0.055861447006464005, 0.041212696582078934, -0.00845517311245203, 0.012502473779022694, 0.05044937506318092, 0.019041704013943672, 0.035522472113370895, -0.051334965974092484, 0.045257654041051865, 0.0015531551325693727, -0.010682743042707443, 0.011103187687695026, -0.08217307925224304, -0.027088236063718796, -0.011850304901599884, 0.0091191241517663, 0.04672423377633095, -0.012943877838551998, -0.009798788465559483, -0.005134467035531998, -0.00900791771709919, 0.009239220060408115, -0.0027128825895488262, 0.019232258200645447, 0.025110354647040367, -0.0096448864787817, 0.004669781308621168, 0.053269632160663605, 0.056569792330265045, 0.005255694966763258, -0.031575657427310944, -0.023554911836981773, 7.351672443789115e-33, -0.005631248001009226, -0.043565232306718826, 0.0014290421968325973, 0.0019234890351071954, 0.03974083065986633, -0.013926953077316284, 0.009824193082749844, -0.010910731740295887, -0.032831110060214996, 0.04771530628204346, -0.012413622811436653, -0.030970053747296333, 0.01876365765929222, 0.009293821640312672, 0.020120123401284218, -0.005783211439847946, 0.009514187462627888, -0.06158553436398506, 0.035488806664943695, 0.02805640734732151, -0.03916439041495323, 0.01696792058646679, -0.0449112206697464, 0.026915231719613075, 0.025379570201039314, 0.007338190451264381, -0.01184970885515213, 0.007162036839872599, -0.03060738556087017, 0.005085902288556099, 0.006005533505231142, -0.04412321001291275, 0.0005533384974114597, -0.015523577108979225, -0.01738077960908413, 0.032200589776039124, -0.03216211870312691, 0.00048745889216661453, 0.04910596087574959, -0.00006856432446511462, 0.03618808835744858, -0.004629524424672127, -0.005075739696621895, 0.04567362740635872, 0.024409517645835876, 0.003012049710378051, -0.012799999676644802, 0.012967259623110294, 0.0011649321531876922, 0.011052241548895836, 0.0009117163135670125, 0.00877767987549305, -0.0073808119632303715, 0.029272746294736862, 0.0046275295317173, -0.06836237758398056, 0.002060739556327462, 0.0459672287106514, -0.00999714620411396, 0.032613471150398254, -0.01347299199551344, 0.01644608937203884, -0.02488555759191513, 0.04209354147315025, -0.02229371666908264, -0.02017289586365223, -0.02883443981409073, -0.02119891718029976, 0.018136098980903625, -0.022080140188336372, -0.0022437768056988716, 0.0028050660621374846, -0.003518704092130065, 0.005349458195269108, 0.0586279071867466, -0.037115056067705154, -0.00726508442312479, 0.0038466460537165403, -0.018888261169195175, 0.03501303493976593, 0.0025598148349672556, 0.01789121888577938, 0.015477755106985569, 0.0018481970764696598, 0.016310324892401695, 0.004106403328478336, -0.044188663363456726, 0.04848866164684296, -0.01545708253979683, 0.011773441918194294, 0.019535202533006668, -0.02993709221482277, -0.014199762605130672, 0.018647678196430206, -0.050425175577402115, -1.2674513882870997e-8, -0.007372240070253611, 0.0165144931524992, -0.023426733911037445, 0.010474134236574173, 0.00014311242557596415, 0.01956934668123722, -0.0012299722293391824, 0.018551504239439964, -0.05118635296821594, 0.03039293736219406, 0.027489589527249336, -0.003253170056268573, 0.021411335095763206, 0.022131752222776413, 0.026778489351272583, -0.09067600220441818, 0.039203520864248276, -0.01758413575589657, 0.02836397849023342, 0.008841248229146004, -0.024112170562148094, 0.047109395265579224, -0.013243545778095722, 0.01823502592742443, 0.004820964299142361, -0.029219135642051697, 0.0005174512043595314, -0.08812784403562546, -0.022747119888663292, 0.008530445396900177, 0.01914186030626297, -0.015755709260702133, -0.017564749345183372, 0.01920698955655098, -0.05828060954809189, -0.015431425534188747, 0.009184465743601322, 0.04926515743136406, 0.005018855910748243, 0.027487775310873985, 0.025975769385695457, 0.031276438385248184, -0.004302534740418196, -0.030401652678847313, -0.034927885979413986, 0.006311520934104919, -0.042679477483034134, -0.01343181449919939, 0.08163458108901978, -0.04532569274306297, -0.01121823862195015, -0.025431271642446518, 0.03850174695253372, -0.011598384939134121, 0.029373133555054665, 0.006554419174790382, 0.03624426946043968, -0.002782873110845685, -0.015587196685373783, -0.003937713801860809, 0.030602628365159035, -0.007109847851097584, -0.02472858689725399, -0.013567839749157429 ]
neographyneo4jlucene-getting-a-list-of-all-the-nodes-indexed
https://markhneedham.com/blog/2012/04/17/neographyneo4jlucene-getting-a-list-of-all-the-nodes-indexed
false
2012-04-17 07:22:12
Algorithms: Flood Fill in Haskell - Abstracting the common
[ "haskell", "algorithms" ]
[ "Haskell", "Algorithms" ]
In the comments of http://www.markhneedham.com/blog/2012/04/07/algorithms-flood-fill-in-haskell/[my blog post describing the flood fill algorithm in Haskell] David Turner pointed out that the way I was passing the grid around was quite error prone. [source,haskell] ---- floodFill :: Array (Int, Int) Colour -> (Int, Int) -> Colour -> Colour -> Array (Int, Int) Colour floodFill grid point@(x, y) target replacement = if((not $ inBounds grid point) || grid ! (x,y) /= target) then grid else gridNorth where grid' = replace grid point replacement gridEast = floodFill grid' (x+1, y) target replacement gridWest = floodFill gridEast (x-1, y) target replacement gridSouth = floodFill gridWest (x, y+1) target replacement gridNorth = floodFill gridSouth (x, y-1) target replacement ---- I actually did pass the wrong grid variable around while I was writing it and ended up quite confused as to why it wasn't working as I expected. David's suggestion based on the above version of the algorithm was that I might want to use the state monad to thread state rather than explicitly passing it around like I am here. I had a go at writing the function using the state monad but realised while doing so that rather than doing that I could fold over a cells neighbours rather than using the state monad to thread state. I didn't see the 'neighbours' concept the first time I wrote it but David http://hpaste.org/66803[wrote a version of the algorithm] in which he introduced that. This is the resulting function: [source,haskell] ---- floodFill :: Array (Int, Int) Colour -> (Int, Int) -> Colour -> Colour -> Array (Int, Int) Colour floodFill grid point target replacement = if(target == replacement) then grid else let gridWithSquareReplaced = if onGrid point then grid // [(point, replacement)] else grid validNeighbours = filter (onGrid `and` sameAsTarget) neighbours in foldl (\grid point -> floodFill grid point target replacement) gridWithSquareReplaced validNeighbours where neighbours = let (x,y) = point in [(x+1, y), (x-1, y), (x, y+1), (x, y-1)] sameAsTarget point = grid ! point == target onGrid = inRange $ bounds grid and :: (a -> Bool) -> (a -> Bool) -> a -> Bool and f g x = f x && g x ---- I initially get all of the neighbouring squares but then filter those out if they don't fit on the grid or aren't of the required colour. We can then use 'foldl' to iterate over each neighbour passing the grid along as the accumulator. David also wrote a more succinct function to work out whether or not a value fits on the grid so I've stolen that as well! I'm still not sure I totally understand when I should be using 'let' and 'where' but in this example the functions I've put in the 'where' section are helper functions whereas the values I defined in the 'let' section are domain concepts. Whether that's the correct way to think of the two I'm not sure!
null
null
[ 0.00692577613517642, 0.014570842497050762, -0.023622430860996246, 0.008591067977249622, 0.04893357679247856, 0.03635918349027634, 0.010103744454681873, 0.011819873936474323, -0.002107098000124097, -0.026065025478601456, 0.01560837309807539, -0.03285659849643707, -0.0712059885263443, 0.026951864361763, 0.02659144252538681, 0.06186523661017418, 0.06651975214481354, -0.020332133397459984, 0.00973678007721901, 0.03644482046365738, 0.01783209666609764, 0.03849606215953827, -0.027437755838036537, 0.019557088613510132, 0.03921670839190483, -0.006384345702826977, 0.002311039250344038, 0.01993284747004509, -0.026481760665774345, -0.0018032056977972388, 0.03521936014294624, 0.016677305102348328, -0.0023277809377759695, -0.005786025431007147, 0.01300788577646017, -0.030963581055402756, -0.007040141150355339, 0.0040197428315877914, -0.02239178866147995, 0.03356398269534111, -0.06686379760503769, 0.021709991618990898, -0.013734537176787853, 0.002627461450174451, -0.013490154407918453, 0.01455607172101736, -0.028783190995454788, -0.001221516984514892, -0.010847228579223156, -0.0002568401105236262, -0.08261889219284058, 0.030816318467259407, -0.018701815977692604, -0.038565926253795624, -0.0216379351913929, 0.045993316918611526, 0.03942589834332466, -0.044259071350097656, 0.031315550208091736, -0.025810441002249718, -0.023988770321011543, -0.01946418732404709, -0.010589567013084888, 0.052897293120622635, 0.010483563877642155, 0.01789836585521698, -0.04111792892217636, 0.03935886174440384, -0.026142725721001625, -0.011407552286982536, -0.040772974491119385, 0.029322205111384392, 0.0086068632081151, -0.04492693766951561, -0.027560388669371605, -0.051794081926345825, -0.02545611374080181, 0.0551748089492321, 0.015447135083377361, 0.013652588240802288, -0.02116471156477928, 0.010153042152523994, 0.011291000060737133, 0.0217963308095932, 0.025369733572006226, -0.03742668777704239, -0.037418100982904434, -0.014635782688856125, -0.051755569875240326, 0.06181066110730171, -0.011393525637686253, -0.06308349221944809, 0.01586689054965973, 0.019779492169618607, 0.012516689486801624, -0.009639987722039223, 0.0006879015709273517, 0.01844146102666855, 0.019199615344405174, -0.011704446747899055, -0.04565798118710518, -0.043939847499132156, 0.007753859274089336, 0.02325413003563881, -0.08152821660041809, -0.013914142735302448, -0.04496840015053749, 0.005685637705028057, 0.010683652013540268, 0.010836844332516193, -0.018224913626909256, 0.00513308122754097, 0.022436466068029404, -0.03520573303103447, -0.07536493986845016, 0.029880695044994354, 0.0010711251525208354, 0.02907460369169712, -0.020836181938648224, 0.05492163822054863, 0.036360275000333786, 0.038280170410871506, -0.00196331599727273, 0.09829195588827133, 0.020408473908901215, 0.048687901347875595, 0.008774194866418839, 0.05804538354277611, -0.04205930978059769, -0.0719623938202858, -0.014425817877054214, 0.07738286256790161, -0.01419676560908556, -0.009505529887974262, -0.014052365906536579, -0.01517277117818594, -0.08176807314157486, 0.005730875302106142, 0.04197557270526886, 0.05134441703557968, 0.009986200369894505, -0.03823334723711014, 0.08324508368968964, -0.015820061787962914, 0.024087732657790184, 0.013728451915085316, 0.03227405622601509, -0.03960719704627991, -0.005525827407836914, 0.028488220646977425, 0.04006468877196312, 0.05484187975525856, 0.0315483883023262, -0.013836351223289967, 0.05536322295665741, 0.08408170938491821, 0.0010131420567631721, 0.008535954169929028, -0.032977186143398285, 0.009371082298457623, 0.030108166858553886, 0.06508585065603256, 0.060506708920001984, 0.021758826449513435, 0.007950262166559696, -0.013299732469022274, -0.017880789935588837, 0.03474699705839157, -0.003222620114684105, -0.051342807710170746, -0.02484935335814953, -0.030767058953642845, 0.04686170816421509, -0.008984646759927273, 0.00980451051145792, -0.020750049501657486, 0.07225118577480316, 0.005726518575102091, 0.058821070939302444, -0.010937643237411976, -0.06440278142690659, 0.021474868059158325, -0.011835833080112934, 0.05237777531147003, 0.01362032163888216, 0.0024215816520154476, 0.042803164571523666, 0.029880112037062645, 0.04369555041193962, -0.0021604332141578197, -0.04285728558897972, -0.04745429381728172, -0.03799008950591087, -0.0390523336827755, 0.08450069278478622, -0.02061706967651844, -0.0269276462495327, 0.01882774941623211, 0.026007017120718956, 0.053603652864694595, 0.04202834516763687, -0.006863581016659737, 0.01832657679915428, -0.042896490544080734, -0.06769305467605591, 0.04616396129131317, 0.05330602452158928, -0.010025414638221264, -0.07208260148763657, 0.02670568972826004, 0.007703602313995361, 0.0030681772623211145, 0.008220186457037926, -0.0030121481977403164, 0.05622480437159538, 0.04926605150103569, 0.02691071480512619, -0.006483202800154686, 0.04435126483440399, -0.061976056545972824, 0.0493549220263958, 0.02783796563744545, -0.004102163482457399, 0.01226767711341381, 0.013697434216737747, 0.12134336680173874, 0.07351978123188019, -0.04213797301054001, -0.060021329671144485, 0.0011301081394776702, -0.014029666781425476, 0.0024094637483358383, 0.005758566316217184, 0.014923245646059513, -0.023123158141970634, -0.012393436394631863, 0.024101024493575096, -0.010735458694398403, 0.02231399156153202, -0.021724391728639603, -0.05471499264240265, 0.05549024045467377, -0.0040508415549993515, 0.03976515680551529, -0.0006053348770365119, -0.025663074105978012, -0.01612398959696293, -0.064569853246212, -0.04713452607393265, 0.026387766003608704, 0.016572624444961548, 0.0002493354841135442, 0.08437000960111618, -0.03141589090228081, -0.03282758966088295, -0.019132498651742935, -0.020165015012025833, 0.0016426019137725234, 0.058937348425388336, 0.05056816712021828, -0.023481963202357292, 0.021724050864577293, -0.021462708711624146, -0.03226981684565544, -0.014457889832556248, -0.07420240342617035, -0.02692665345966816, 0.007167588919401169, -0.037649765610694885, 0.04456663876771927, 0.04676280915737152, -0.0075103226117789745, 0.041872166097164154, -0.04495954141020775, -0.010904339142143726, -0.04247185215353966, 0.03156149387359619, -0.015776272863149643, -0.027826085686683655, 0.006395475473254919, -0.017752522602677345, 0.06112796068191528, -0.06223826855421066, -0.007603066973388195, -0.013460173271596432, 0.002336320001631975, 0.037664081901311874, -0.0675995945930481, -0.03880162909626961, 0.0037499091122299433, 0.01945412904024124, 0.005082330666482449, -0.04462585598230362, -0.025822220370173454, 0.05502292141318321, 0.024379601702094078, 0.04221341013908386, 0.025344453752040863, 0.0005869737360626459, 0.023496102541685104, 0.011548155918717384, 0.03622490540146828, 0.040811315178871155, 0.013255628757178783, -0.03124183788895607, -0.040905456990003586, -0.015123170800507069, -0.03035619854927063, -0.2598590552806854, 0.01429263036698103, 0.002495716093108058, -0.006207558326423168, 0.014794250018894672, 0.008542463183403015, 0.012287138029932976, 0.02437325194478035, -0.019780820235610008, 0.037129998207092285, -0.01297717820852995, -0.03610018268227577, -0.04443078860640526, 0.05176167190074921, 0.024489596486091614, -0.025545217096805573, 0.005715800914913416, -0.02547084353864193, 0.003536258125677705, 0.0009866602485999465, -0.034226901829242706, -0.06492800265550613, -0.016348188742995262, 0.033703792840242386, 0.02335975505411625, 0.03203735873103142, -0.0666847825050354, 0.01237704697996378, -0.0486503541469574, -0.020132340490818024, -0.025223448872566223, -0.03419824317097664, 0.01792288012802601, 0.000573753728531301, -0.012747235596179962, -0.01985827460885048, 0.018043408170342445, 0.020244630053639412, 0.025397373363375664, 0.03764781728386879, -0.03933865204453468, -0.04466693103313446, -0.00659086462110281, -0.005339770577847958, 0.06700120121240616, -0.00800455641001463, -0.03776777163147926, -0.007895008660852909, -0.02983485907316208, 0.05297121778130531, -0.03833566606044769, -0.016060788184404373, -0.01370513066649437, 0.042779866605997086, -0.017548605799674988, -0.007546409498900175, 0.021423988044261932, -0.033063437789678574, -0.038380637764930725, -0.006898415274918079, -0.037070132791996, -0.03557334467768669, -0.038804154843091965, -0.033004872500896454, -0.006936825346201658, -0.0577322356402874, -0.0937575250864029, -0.012329439632594585, 0.038981031626462936, 0.005509552080184221, -0.0007295211544260383, -0.01920315809547901, -0.004161047283560038, -0.10681299865245819, -0.03804817795753479, -0.04904405400156975, -0.03312315791845322, -0.016849957406520844, 0.014536356553435326, 0.0146064767614007, -0.05045788362622261, -0.07945124059915543, 0.04131992161273956, -0.005814834497869015, 0.02080903761088848, 0.004188875667750835, -0.0000347289205819834, -0.013036473654210567, -0.019617382436990738, -0.00484417425468564, 0.07164321094751358, -0.011951771564781666, 0.004699221812188625, -0.034205324947834015, 0.017578477039933205, 0.06394927948713303, -0.002476318506523967, -0.004264595452696085, 0.02902005799114704, 0.024139592424035072, 0.04780719801783562, -0.02850775606930256, 0.03989655151963234, -0.024079814553260803, -0.029128843918442726, 0.016935542225837708, -0.03895145282149315, 0.029857464134693146, 0.023827841505408287, -0.0008302656933665276, -0.014545519836246967, -0.04986801743507385, 0.025782449170947075, -0.04783392697572708, -0.0415615551173687, 0.0180446095764637, 0.020980678498744965, 0.006454918999224901, 0.021993571892380714, -0.006876935251057148, -0.05285470932722092, 0.003914620727300644, 0.016123885288834572, -0.00721462769433856, -0.04625656455755234, -0.012251951731741428, -0.01057188119739294, 0.007923287339508533, 0.03735753893852234, 0.04016337916254997, -0.01353101059794426, 0.041557420045137405, 0.010201607830822468, -0.018122052773833275, 0.045567017048597336, -0.010007362812757492, -0.0150735629722476, -0.03712054714560509, -0.010545287281274796, -0.018133027479052544, 0.020010650157928467, -0.008025473915040493, 0.03302301838994026, 0.015154735185205936, 0.047529689967632294, -0.012016837485134602, 0.03614072874188423, -0.005582449957728386, 0.01197172049432993, 0.04131456837058067, -0.029673848301172256, -0.047936584800481796, 0.03126973286271095, -0.06596385687589645, -0.032223183661699295, 0.006628860719501972, 0.044515304267406464, -0.030517349019646645, -0.03819232061505318, -0.05639205127954483, 0.032570820301771164, -0.025995127856731415, -0.03695039823651314, -0.022418463602662086, 0.02373938448727131, 0.05232948437333107, -0.042029764503240585, 0.046621304005384445, -0.0399126373231411, 0.01837950386106968, -0.001697392319329083, 0.009804237633943558, -0.05654705688357353, 0.038332417607307434, -0.031518496572971344, 0.0005907673039473593, 0.02150377258658409, 0.010726221837103367, 0.042913224548101425, 0.014310495927929878, -0.02572537213563919, -0.017524907365441322, -0.003891091328114271, 0.013504710979759693, 0.056412070989608765, -0.011237972415983677, 0.004801409784704447, 0.011537853628396988, -0.038195058703422546, 0.003985813353210688, -0.042885348200798035, -0.005147101823240519, -0.023706357926130295, 0.028938250616192818, -0.01853124611079693, -0.06964333355426788, 0.005431462544947863, -0.0014012620085850358, -0.014072361402213573, 0.01962100900709629, -0.020877614617347717, -0.01096724346280098, -0.002188021782785654, -0.0238881204277277, 0.05420916527509689, -0.0653529018163681, -0.009976751171052456, -0.02046879567205906, 0.012042193673551083, 0.033694878220558167, 0.021897751837968826, -0.03726392239332199, -0.026743445545434952, -0.0026324207428842783, -0.0001935762702487409, -0.03547940030694008, -0.04491659253835678, -0.03797970339655876, 0.015976393595337868, -0.0047752028331160545, -0.031763311475515366, -0.004790921229869127, 0.022052036598324776, -0.05916459485888481, -0.06182105839252472, 0.021120967343449593, -0.046765945851802826, -0.032343920320272446, 0.03841329365968704, -0.016501808539032936, 0.019949669018387794, -0.022524800151586533, 0.012251065112650394, 0.041740402579307556, 0.009179447777569294, 0.0013590629678219557, -0.027594033628702164, 0.015755563974380493, -0.0562470518052578, 0.04290136694908142, 0.014654192142188549, 0.003020537318661809, 0.004604317247867584, -0.008409617468714714, -0.017331060022115707, -0.016626184806227684, 0.013424117118120193, -0.02017526887357235, -0.010265183635056019, 0.03320511803030968, -0.016820140182971954, 0.024834977462887764, -0.0048794676549732685, -0.036613915115594864, 0.038011908531188965, -0.032431162893772125, -0.027637390419840813, -0.027351373806595802, -0.02518114633858204, -0.0054008676670491695, -0.008075064048171043, 0.00530322315171361, -0.05106301233172417, 0.01673126220703125, 0.0585465244948864, 0.025936750695109367, 0.03612576425075531, -0.03390045836567879, 0.034859441220760345, -0.024380454793572426, -0.008140228688716888, -0.09949002414941788, -0.02481461688876152, -0.0007509071729145944, 0.027586260810494423, -0.010566778481006622, -0.02462521195411682, -0.002080795355141163, 0.08223939687013626, -0.05467599630355835, -0.00511291716247797, 0.0662389025092125, 0.0008618779247626662, 0.014176367782056332, 0.046364348381757736, -0.024084392935037613, 0.011624075472354889, 0.01286435779184103, -0.021878918632864952, -0.027106205001473427, -0.0004641063860617578, 0.024458829313516617, -0.024867625907063484, 0.02453560382127762, -0.005180469248443842, 0.0035899190697818995, 0.07231935113668442, 0.027405517175793648, 0.017200801521539688, 0.05934460461139679, -0.012868447229266167, 0.05231751129031181, -0.012796402908861637, 0.05188383162021637, -0.002606881083920598, 0.030270762741565704, -0.030488083139061928, -0.04801314324140549, 0.0420198030769825, 0.016703147441148758, -0.02853640541434288, -0.04724069684743881, 0.04494946449995041, 0.031061610206961632, -0.03675980865955353, -0.04371734336018562, 0.01846298947930336, -0.0340961217880249, 0.0352272130548954, -0.011203065514564514, 0.015694817528128624, -0.04899264872074127, 0.05629701539874077, -0.0013772225938737392, 0.019532859325408936, 0.0870329737663269, 0.02264580875635147, -0.035664696246385574, 0.007623516954481602, 0.10928657650947571, 0.09415757656097412, 0.03565683960914612, -0.010612345300614834, 0.034629203379154205, -0.0694519653916359, -0.02990579791367054, 0.0016765262698754668, -0.029856884852051735, 0.011087157763540745, -0.007790014147758484, 0.011021239683032036, 0.09151444584131241, -0.010452658869326115, 0.05352042615413666, -0.05262841284275055, 0.0009467573836445808, 0.009883937425911427, 0.0291659627109766, 0.022136516869068146, 0.04566637799143791, 0.018748335540294647, 0.04788680747151375, -0.0017766928067430854, -0.06700814515352249, 0.011055201292037964, 0.012966622598469257, -0.003428621916100383, -0.021426929160952568, 0.031772181391716, 0.010041522793471813, 0.027462150901556015, -0.03488551080226898, 0.043080177158117294, -0.006669263355433941, -0.0022569976281374693, -0.011129065416753292, 0.008916772902011871, -0.013652129098773003, -0.005220167804509401, -0.010210252366960049, -0.05068747699260712, -0.000935903110075742, -0.026593906804919243, 0.0017977672396227717, -0.00723657151684165, -0.05142037943005562, 0.022472061216831207, -0.031051406636834145, 0.020511426031589508, 0.02053559198975563, -0.022195657715201378, -0.034290120005607605, -0.05081937834620476, -0.04319891706109047, -0.06365357339382172, -0.0778215080499649, 0.04336739331483841, 0.0033947110641747713, -0.032985586673021317, -0.01726134680211544, -0.04260086268186569, 0.01930699497461319, -0.04206601157784462, 0.05087565630674362, -0.01949155330657959, -0.02690413035452366, -0.006648683454841375, 0.01869538612663746, 0.020285913720726967, 0.04987599700689316, 0.04753123223781586, -0.007454576902091503, 0.005570397712290287, -0.03502044081687927, -0.01599576137959957, 0.03657074272632599, 0.020976463332772255, -0.0008469877648167312, -0.08405827730894089, -0.010189689695835114, 0.04437483847141266, 0.02677217498421669, -0.08187545090913773, -0.0024887938052415848, 0.010954626835882664, -0.016829045489430428, 0.03219125419855118, 0.004033955279737711, -0.01287995744496584, -0.0347883515059948, -0.017228079959750175, -0.0036769125144928694, 0.0006054752739146352, 0.0680481567978859, -0.04419730231165886, 0.06599695980548859, 0.04037484899163246, -0.03645008057355881, -0.006965969689190388, 0.02557375840842724, -0.039256975054740906, 0.012932216748595238, -0.02514766715466976, -0.04324520379304886, -0.05050063878297806, -0.06620489060878754, -0.0031726225279271603, -0.009095056913793087, -0.014036605134606361, -0.03445757180452347, 0.026003742590546608, 0.037549205124378204, -0.05632912367582321, 0.06538597494363785, -0.03779501095414162, 0.05607568472623825, -0.03114287368953228, -0.03396973758935928, 0.026920991018414497, 0.03554553911089897, 0.02170008420944214, 0.00412752153351903, 0.036818977445364, -0.03759274631738663, 0.020409325137734413, -0.01106290053576231, 0.010092651471495628, 0.025921009480953217, -0.006301622372120619, 0.03286358714103699 ]
[ -0.09442107379436493, -0.05615304037928581, -0.018605846911668777, 0.0063958438113331795, 0.008220205083489418, -0.020030377432703972, -0.006494603119790554, 0.003409184981137514, 0.011447908356785774, -0.012646793387830257, -0.004685840103775263, -0.09923261404037476, -0.004269649274647236, -0.015167748555541039, 0.026169126853346825, 0.04272254556417465, -0.03607177734375, -0.005076935980468988, -0.02631463296711445, 0.014943213202059269, 0.02381758764386177, -0.037097763270139694, -0.055888205766677856, -0.0738137811422348, 0.042895764112472534, 0.04932449385523796, 0.033544450998306274, -0.03859224542975426, 0.02702396735548973, -0.26975756883621216, -0.0009619609918445349, 0.0043335664086043835, -0.006972700357437134, -0.03851548209786415, -0.014146325178444386, 0.009841910563409328, 0.006554051768034697, 0.0012889867648482323, -0.015460538677871227, 0.05905511602759361, 0.03551587462425232, 0.04731517285108566, -0.028074730187654495, -0.0061111762188375, -0.008311545476317406, -0.017422545701265335, -0.039845168590545654, -0.022174546495079994, 0.008102109655737877, 0.030362596735358238, -0.030653616413474083, -0.00884520448744297, 0.00925967562943697, 0.00552311772480607, 0.03601391613483429, 0.06103013828396797, 0.045869387686252594, 0.08262361586093903, 0.01318297628313303, 0.012304223142564297, 0.013877304270863533, 0.017703069373965263, -0.11648429930210114, 0.08943027257919312, 0.025937529280781746, 0.041084665805101395, -0.021893952041864395, -0.03366941958665848, -0.017440203577280045, 0.09104414284229279, 0.0007683963049203157, -0.01483531016856432, -0.018293503671884537, 0.03770224004983902, 0.02819710224866867, -0.04705192521214485, -0.019202768802642822, -0.0029920614324510098, 0.04392607882618904, -0.023106135427951813, -0.013012511655688286, -0.02619214355945587, -0.01274353452026844, -0.011825979687273502, -0.008132169023156166, 0.00588091928511858, -0.03615270182490349, 0.04205606132745743, 0.008193579502403736, 0.00841063167899847, 0.01650570146739483, -0.011845017783343792, 0.013557299971580505, 0.015393634326756, -0.06287533044815063, 0.05258886516094208, 0.003886232851073146, 0.0034480374306440353, -0.016767702996730804, 0.4080347418785095, -0.07792680710554123, -0.003983661532402039, 0.05104806646704674, 0.05798507481813431, -0.010652142576873302, -0.03344058245420456, -0.01960761658847332, -0.05402197688817978, -0.020808357745409012, -0.0353909507393837, -0.034266967326402664, -0.05988025665283203, 0.04945393279194832, -0.02393457107245922, -0.006031662225723267, -0.02328811213374138, 0.044708993285894394, 0.013152017258107662, -0.003957704175263643, 0.018697498366236687, 0.0008733082795515656, 0.03269565850496292, 0.023890061303973198, 0.017483601346611977, -0.007208476308733225, 0.023129146546125412, 0.021675970405340195, 0.042523689568042755, 0.016491198912262917, 0.04198097065091133, 0.035950783640146255, -0.04321432113647461, -0.017361285164952278, 0.009350553154945374, 0.029398810118436813, 0.023287687450647354, 0.06758926808834076, -0.04636009782552719, -0.023351116105914116, 0.006677376106381416, -0.0005778790218755603, -0.004286200273782015, 0.04140353947877884, 0.0008414279436692595, 0.029017308726906776, 0.11666359752416611, -0.03971759229898453, -0.01819569431245327, -0.02245994471013546, -0.043628253042697906, -0.01930566318333149, 0.0486135296523571, -0.012842695228755474, -0.07020918279886246, 0.006753483787178993, 0.027566883713006973, 0.03287814185023308, 0.02400541491806507, -0.036106642335653305, 0.030427223071455956, -0.04184194654226303, -0.015369887463748455, -0.044643335044384, 0.05067760497331619, 0.006818648427724838, -0.0655488446354866, -0.03446747362613678, -0.008056193590164185, -0.004003666341304779, -0.05992831662297249, -0.01158631220459938, 0.024586806073784828, 0.02048264816403389, -0.012308408506214619, 0.05128420889377594, -0.011987061239778996, -0.060138117522001266, -0.006282076705247164, 0.03508612513542175, 0.03652513027191162, -0.013934933580458164, -0.003814530558884144, -0.018168902024626732, 0.028429074212908745, -0.02944735251367092, -0.05080467090010643, -0.05551591515541077, 0.012475878931581974, -0.026066584512591362, -0.03474296256899834, 0.014704621396958828, -0.03543907403945923, -0.03413130342960358, 0.0367889478802681, 0.0037874069530516863, -0.007767743431031704, 0.02154690958559513, -0.04456479847431183, 0.01576147973537445, -0.015400087460875511, 0.021856872364878654, 0.007592701818794012, -0.0018601022893562913, -0.005006359424442053, -0.06649693101644516, 0.020247146487236023, 0.04989401623606682, -0.07335253059864044, 0.0403142124414444, 0.08952029049396515, -0.013752300292253494, -0.014205178245902061, -0.05339702591300011, 0.01874961145222187, -0.0033362454269081354, 0.00519968569278717, 0.04171500355005264, -0.004203745163977146, 0.019330255687236786, 0.022942010313272476, 0.008776024915277958, -0.08465323597192764, -0.07589799910783768, -0.32184115052223206, -0.08358186483383179, -0.008669747970998287, -0.015608922578394413, 0.002707881387323141, -0.08598125725984573, -0.021910332143306732, -0.0068589672446250916, -0.042895033955574036, 0.03134414181113243, 0.08560172468423843, -0.010278289206326008, 0.016959933564066887, -0.06711533665657043, 0.03393976762890816, -0.005186339840292931, 0.00012039219291182235, -0.025167224928736687, -0.017388559877872467, 0.01277870312333107, -0.004432776477187872, 0.03344317898154259, -0.002097576856613159, -0.07058560848236084, 0.015880726277828217, -0.05151931196451187, 0.14500842988491058, -0.0016038260655477643, 0.10192258656024933, -0.018411485478281975, 0.03612815588712692, -0.007157614454627037, -0.0022875177673995495, -0.03491031751036644, 0.002390095265582204, 0.013163775205612183, 0.0006090787937864661, -0.010055163875222206, 0.03944500535726547, -0.04569241404533386, -0.03242785111069679, 0.023263804614543915, -0.048461876809597015, -0.043853938579559326, 0.0027308098506182432, 0.02954484336078167, 0.003799538593739271, -0.005232787225395441, -0.027238721027970314, 0.05550036579370499, 0.034813184291124344, -0.010595870204269886, 0.027487313374876976, 0.025036096572875977, 0.023801004514098167, -0.003810509340837598, -0.05512185022234917, -0.023282626643776894, -0.007002565078437328, -0.03334388509392738, 0.015213273465633392, 0.05203496292233467, 0.05868542939424515, -0.03554768115282059, 0.02090258151292801, 0.014303798787295818, -0.01588437147438526, -0.04434927925467491, 0.026505351066589355, -0.019093794748187065, -0.03987905755639076, 0.08568249642848969, -0.017230138182640076, 0.0281086228787899, 0.02992219477891922, 0.06913083791732788, -0.027481498196721077, 0.06995696574449539, 0.04149099066853523, -0.046848878264427185, 0.010243074037134647, -0.007670175284147263, 0.06285122036933899, -0.04891763627529144, -0.02333950065076351, 0.014172553084790707, -0.041885897517204285, 0.052103325724601746, 0.04667838290333748, 0.0248575322329998, -0.027306772768497467, 0.03805558383464813, 0.006401535589247942, -0.02280350588262081, 0.04982667416334152, -0.014090795069932938, -0.2648639678955078, 0.017701443284749985, 0.06662871688604355, 0.032558053731918335, -0.03990351781249046, -0.0057804216630756855, 0.04539340361952782, -0.032720718532800674, 0.0019441575277596712, 0.002435327973216772, -0.020004699006676674, 0.05274016037583351, 0.02369203045964241, 0.03956420719623566, 0.01633605919778347, -0.028418054804205894, 0.027848638594150543, 0.0329432375729084, -0.0018646866083145142, 0.009966881014406681, 0.008402136154472828, 0.01407555490732193, 0.20482882857322693, -0.00999069306999445, 0.017682183533906937, 0.03194117546081543, 0.016642281785607338, -0.023194963112473488, 0.050492528825998306, 0.026914717629551888, 0.0077310409396886826, 0.05138922110199928, 0.06363631039857864, -0.01825667917728424, 0.06517109274864197, -0.0512356273829937, 0.009501774795353413, 0.023690206930041313, 0.023278148844838142, -0.068545401096344, 0.005170854739844799, 0.03434961289167404, -0.02627352811396122, 0.041457489132881165, 0.027331171557307243, 0.022022442892193794, 0.00469675799831748, -0.052260544151067734, -0.050368912518024445, 0.03742007538676262, -0.06876881420612335, -0.021206585690379143, -0.014778682962059975, -0.011217609979212284, -0.010844053700566292, 0.06028153374791145, -0.04063981771469116, -0.0580938421189785, -0.027971571311354637, 0.003957249224185944, 0.04295556992292404, -0.08701668679714203, 0.10453759133815765, -0.03206200525164604, 0.02916792966425419 ]
[ -0.024656018242239952, 0.03492136672139168, 0.016728460788726807, 0.008155175484716892, 0.01762295514345169, -0.036963146179914474, 0.030158119276165962, -0.007032492663711309, 0.001668979530222714, -0.027508502826094627, -0.1007334515452385, -0.01841643638908863, 0.0407378152012825, 0.009810089133679867, -0.018582256510853767, -0.015757858753204346, 0.006362218409776688, -0.020948221907019615, 0.025460772216320038, -0.030724408105015755, -0.019969403743743896, -0.04438444972038269, -0.0363842211663723, -0.04817972332239151, 0.0429212749004364, 0.04612492024898529, -0.019294224679470062, -0.00041133310878649354, 0.012144861742854118, -0.08469893038272858, -0.046268656849861145, -0.04098993167281151, -0.012819400988519192, -0.008068941533565521, -0.015232116915285587, 0.022518618032336235, 0.01833481155335903, 0.01858491450548172, -0.004673749674111605, -0.0014725065557286143, 0.04479110240936279, 0.00012053700629621744, 0.023948075249791145, -0.0014099744148552418, -0.008384387008845806, 0.0507475920021534, 0.0027180800680071115, 0.00374229671433568, -0.02905426360666752, 0.003109666286036372, -0.06238920986652374, -0.007150586228817701, 0.04716607928276062, 0.006791537161916494, 0.06818928569555283, 0.001498621073551476, 0.023973243311047554, -0.038840826600790024, 0.04623650759458542, -0.03006131947040558, -0.027903763577342033, -0.015851275995373726, -0.06718149036169052, 0.0060738977044820786, -0.008974284864962101, -0.04681074991822243, -0.043443650007247925, 0.03189155086874962, 0.024410128593444824, -0.047412801533937454, 0.04108745977282524, 0.05839082971215248, 0.004875145386904478, 0.01686268113553524, -0.004974789451807737, 0.028989968821406364, 0.06768788397312164, -0.029171746224164963, 0.0008636726415716112, -0.035349149256944656, -0.013392255641520023, 0.003865255508571863, 0.040828075259923935, 0.05623539909720421, 0.023805607110261917, 0.00475210091099143, -0.0361800454556942, 0.024469252675771713, 0.02209502086043358, 0.008498307317495346, 0.021462131291627884, 0.051746245473623276, -0.014629519544541836, 0.03023388236761093, -0.07169301807880402, 0.04639149829745293, -0.02335885725915432, -0.051000528037548065, -0.005719288252294064, 0.7639116644859314, -0.042269326746463776, 0.009350916370749474, 0.03497312590479851, 0.0050510079599916935, 0.0409541018307209, -0.040037840604782104, -0.019689783453941345, 0.047219425439834595, -0.02385501004755497, -0.021842265501618385, 0.02948559820652008, -0.06024020537734032, 0.031978342682123184, 0.028769725933670998, 0.007174549158662558, -0.009237295016646385, 0.003951779566705227, -0.031689390540122986, -0.03188109025359154, -0.05897178500890732, 0.01992005668580532, -0.04724124073982239, -0.04355901852250099, 0.017842300236225128, 0.049952562898397446, -0.13209481537342072, -0.004488586448132992, -7.889646984334535e-33, 0.025501856580376625, -0.03408132866024971, 0.015041655860841274, -0.0201568566262722, 0.054860055446624756, 0.03582238405942917, 0.03315482288599014, -0.03102351725101471, 0.006506912410259247, 0.0005938539397902787, -0.022062083706259727, -0.010445383377373219, -0.05010492354631424, 0.018283819779753685, 0.002460817340761423, -0.04940761253237724, 0.04859006032347679, 0.027111593633890152, -0.07071550190448761, 0.003426377195864916, 0.05958037078380585, 0.05042361840605736, 0.016720617190003395, 0.010317044332623482, -0.004900163970887661, -0.014851117506623268, 0.019884824752807617, -0.031566470861434937, 0.04282304644584656, -0.046335041522979736, -0.004542852286249399, 0.024509938433766365, -0.029269112274050713, -0.003407430602237582, 0.003199739148840308, -0.047241710126399994, -0.02533171884715557, -0.007712691556662321, 0.008003432303667068, -0.027112245559692383, -0.03977571427822113, 0.01653037965297699, -0.016810500994324684, 0.027884148061275482, 0.02387014776468277, -0.01154996082186699, 0.010372634045779705, -0.017648588865995407, -0.03724558278918266, 0.023793652653694153, 0.04048178717494011, 0.06503244489431381, -0.02411157265305519, -0.009219940751791, -0.04193459451198578, 0.05357544124126434, 0.011285676620900631, 0.055569808930158615, 0.04129071533679962, 0.008403732441365719, 0.023562535643577576, -0.011196201667189598, -0.01051306538283825, 0.006006381940096617, 0.0525752454996109, -0.022739209234714508, 0.027317579835653305, -0.01831568032503128, -0.0002819903602357954, -0.03852970525622368, -0.032902441918849945, -0.05562753975391388, -0.035380326211452484, -0.008843922056257725, 0.019868893548846245, -0.07463809847831726, 0.020195292308926582, -0.018856720998883247, 0.024763518944382668, -0.02927919663488865, -0.008307062089443207, -0.02413831651210785, -0.021582478657364845, -0.004583505913615227, -0.027691949158906937, 0.008042768575251102, 0.029407745227217674, 0.017994079738855362, -0.05422593653202057, -0.015518361702561378, 0.045969411730766296, 0.01687084138393402, 0.012819148600101471, -0.007134747225791216, -0.04067906737327576, 7.492193977222288e-33, -0.029677128419280052, -0.0008207773789763451, -0.015268603339791298, 0.002717710332944989, -0.005764317698776722, -0.009311458095908165, 0.018701551482081413, 0.007899037562310696, 0.015159186907112598, 0.02753582037985325, -0.016505731269717216, 0.06297062337398529, -0.06372454017400742, 0.07249939441680908, 0.03020544908940792, 0.0034681258257478476, 0.008690220303833485, 0.02711419202387333, -0.05094346031546593, -0.026706570759415627, -0.001995230559259653, 0.011473922058939934, -0.0022707071620970964, 0.04837284982204437, -0.005164525471627712, 0.0638454332947731, 0.012801711447536945, 0.014473981224000454, 0.010282816365361214, 0.012258807197213173, -0.011674666777253151, 0.03157815337181091, -0.0031686678994446993, 0.0018170085968449712, 0.061105407774448395, 0.05508257821202278, 0.036998406052589417, -0.055243637412786484, -0.0357736237347126, 0.03671404719352722, 0.02481244131922722, -0.05704191327095032, -0.014664466492831707, 0.0045425062999129295, -0.02686561830341816, 0.027024399489164352, -0.009527049958705902, 0.01964404061436653, -0.006086600944399834, -0.009002634324133396, -0.04724357649683952, 0.00717485137283802, 0.0006830341299064457, 0.053166866302490234, 0.04305640608072281, -0.06163656711578369, 0.027526970952749252, 0.02634824439883232, -0.02292717806994915, -0.05487470328807831, -0.08032882213592529, -0.013747925870120525, 0.014841455966234207, 0.021610073745250702, -0.0036257896572351456, 0.03571092337369919, -0.014846950769424438, -0.054706279188394547, -0.00024434729130007327, 0.0008038076339289546, 0.0012548676459118724, 0.048601873219013214, -0.012456816621124744, -0.02048017829656601, -0.013281429186463356, -0.04159380868077278, -0.026589341461658478, 0.0003153635188937187, -0.029059678316116333, 0.009725128300487995, 0.02232871763408184, 0.029768606647849083, 0.025775808840990067, 0.005971329286694527, 0.00641422625631094, -0.05780673027038574, 0.044806789606809616, -0.008705525659024715, 0.014000406488776207, 0.0018183125648647547, 0.044314417988061905, -0.0301456768065691, 0.009321660734713078, -0.006408945191651583, -0.002925275592133403, -1.244789604726293e-8, -0.019022569060325623, 0.03188782185316086, -0.002916353289037943, -0.01768466830253601, 0.021829763427376747, -0.04714497551321983, -0.024572396650910378, -0.019651830196380615, -0.043687574565410614, -0.0019167056307196617, 0.01653226651251316, 0.012089811265468597, 0.06376064568758011, 0.0024943994358181953, 0.016559500247240067, -0.01320527121424675, 0.019425394013524055, -0.07875113934278488, 0.009234161116182804, 0.051775410771369934, -0.00802743248641491, 0.03320574387907982, -0.05430762097239494, 0.037436343729496, 0.014837498776614666, 0.017318282276391983, -0.014137650839984417, -0.08755906671285629, 0.026783041656017303, 0.0006800559349358082, 0.04223586246371269, -0.013994727283716202, 0.03552301600575447, 0.0904487818479538, -0.011636512354016304, 0.01309109665453434, 0.010674326680600643, 0.020955737680196762, 0.02300397865474224, 0.012242946773767471, -0.06139020621776581, -0.013521997258067131, 0.018146855756640434, -0.03667041286826134, -0.023655878379940987, -0.005791794508695602, -0.032570358365774155, 0.02183789759874344, -0.016085630282759666, -0.012758820317685604, -0.004466088488698006, 0.00965290330350399, -0.0015074521070346236, 0.011839527636766434, 0.014682667329907417, -0.03704669699072838, -0.019750608131289482, 0.008574395440518856, 0.06372423470020294, 0.02960105426609516, 0.01897256076335907, -0.009059512987732887, -0.030132165178656578, -0.028359487652778625 ]
algorithms-flood-fill-in-haskell-abstracting-the-common
https://markhneedham.com/blog/2012/04/17/algorithms-flood-fill-in-haskell-abstracting-the-common
false
2012-04-07 00:25:34
Algorithms: Flood Fill in Haskell
[ "haskell", "algorithms" ]
[ "Haskell", "Algorithms" ]
http://en.wikipedia.org/wiki/Flood_fill[Flood fill] is an algorithm used to work out which nodes are connected to a certain node in a multi dimensional array. In this case we'll use a two dimensional array. The idea is that we decide that we want to change the colour of one of the cells in the array and have its immediate neighbours who share its initial colour have their colour changed too i.e. the colour floods its way through the grid. The algorithm is described on Wikipedia like so: ____ Flood-fill (node, target-color, replacement-color): . If the color of node is not equal to target-color, return. . Set the color of node to replacement-color. . {blank} ** Perform Flood-fill (one step to the west of node, target-color, replacement-color). ** Perform Flood-fill (one step to the east of node, target-color, replacement-color). ** Perform Flood-fill (one step to the north of node, target-color, replacement-color). ** Perform Flood-fill (one step to the south of node, target-color, replacement-color). . Return.+++<cite>+++replace+++</cite>++++++<cite>+++http://cvs.haskell.org/Hugs/pages/libraries/base/Data-Array.html#v%3Abounds[bounds]+++</cite>++++++<cite>+++toComplexArray+++</cite>+++https://github.com/mneedham/haskell/blob/master/PrintArray.hs[code for that is on github]+++<cite>+++printGrid+++</cite>+++http://www.markhneedham.com/blog/2012/04/03/haskell-print-friendly-representation-of-an-array/[in my last post]https://github.com/mneedham/haskell/blob/master/flood_fill.hs[my github haskell repository] ____
null
null
[ 0.015047199092805386, 0.002960873069241643, -0.025723503902554512, 0.019936444237828255, 0.07547203451395035, 0.03450402989983559, 0.00008443052502116188, 0.036542393267154694, -0.005247785244137049, -0.02358998730778694, -0.006700774189084768, -0.03517703711986542, -0.06890473514795303, 0.01831016130745411, -0.015851305797696114, 0.0794719010591507, 0.06676709651947021, 0.005535699427127838, 0.012609738856554031, 0.012622191570699215, 0.01734757423400879, 0.043337900191545486, -0.009403624571859837, 0.040087033063173294, 0.04744172841310501, -0.009901896119117737, 0.014855531975626945, 0.01523883081972599, -0.029790030792355537, 0.012414406053721905, 0.02359350584447384, 0.0027486400213092566, 0.0024181948974728584, -0.011013418436050415, 0.023990806192159653, -0.01864050142467022, -0.04146527498960495, -0.02145695686340332, -0.015308182686567307, 0.013816332444548607, -0.07613059133291245, 0.03984236717224121, -0.018373778089880943, 0.020405173301696777, -0.012738790363073349, 0.014300585724413395, -0.03982217237353325, 0.01337344292551279, -0.02404145337641239, 0.021135184913873672, -0.08228477090597153, 0.006739893462508917, -0.03618646413087845, -0.01011345349252224, -0.03327864035964012, 0.05030723288655281, 0.021761100739240646, -0.02196989767253399, 0.029680179432034492, -0.03929212689399719, -0.006233823020011187, -0.020079659298062325, 0.007898951880633831, 0.0589599646627903, 0.015528451651334763, -0.0070884451270103455, -0.03553100302815437, 0.057372160255908966, -0.02534513920545578, -0.02019829861819744, -0.0154180359095335, 0.04818904772400856, -0.009330999106168747, -0.026937827467918396, -0.025535335764288902, -0.035148147493600845, -0.016389042139053345, 0.049049798399209976, 0.0135262506082654, 0.037063561379909515, -0.0286471676081419, 0.023541923612356186, 0.02019965648651123, 0.02137458138167858, -0.006429900415241718, -0.03385862335562706, -0.024436568841338158, -0.02531351149082184, -0.06212083250284195, 0.047660913318395615, -0.02295800857245922, -0.04593811184167862, 0.01684286631643772, 0.03512571007013321, 0.0007786884089000523, 0.0032989359460771084, 0.006070449482649565, -0.003532575909048319, 0.011785994283854961, -0.021405372768640518, -0.05084529519081116, -0.03656614571809769, 0.02375282533466816, 0.03133906051516533, -0.101494699716568, -0.0009821123676374555, -0.03192489221692085, 0.0018078534631058574, 0.00827563926577568, 0.012529654428362846, -0.008811214938759804, -0.0022398680448532104, 0.016779351979494095, -0.028409069404006004, -0.07647634297609329, 0.05780414491891861, 0.017203716561198235, 0.020702462643384933, -0.0061058239080011845, 0.04310285672545433, 0.04646505042910576, 0.03763281926512718, 0.006213963031768799, 0.0817519873380661, 0.012633890844881535, 0.03266541287302971, -0.00021637353347614408, 0.041431356221437454, -0.04107024893164635, -0.06186595559120178, -0.008980087004601955, 0.08411337435245514, -0.01266560796648264, -0.012133453041315079, -0.013747390359640121, -0.015252879820764065, -0.04876335710287094, 0.022107360884547234, 0.053516630083322525, 0.050971440970897675, -0.010527156293392181, -0.057409338653087616, 0.042463310062885284, -0.01548472698777914, 0.033480070531368256, -0.02093174308538437, 0.007160924840718508, -0.04684687778353691, -0.02107205241918564, 0.02650582790374756, 0.026326576247811317, 0.025069570168852806, 0.038986943662166595, -0.02134331688284874, 0.036390967667102814, 0.08829712122678757, 0.015117479488253593, 0.014865053817629814, -0.008358243852853775, 0.01796344667673111, 0.035651709884405136, 0.04239986464381218, 0.05800472944974899, 0.02574608474969864, -0.0031990858260542154, 0.000060971615312155336, -0.019924916326999664, 0.052926573902368546, -0.006268278229981661, -0.030290281400084496, -0.04484798014163971, -0.048914577811956406, 0.05788238346576691, -0.018644191324710846, 0.0025799493305385113, 0.014348424971103668, 0.06931941956281662, 0.029139647260308266, 0.03882637992501259, -0.009530880488455296, -0.07462206482887268, 0.03961733356118202, 0.007541231345385313, 0.03572537750005722, 0.007735815830528736, -0.0022418575827032328, 0.056786857545375824, 0.03341103717684746, 0.04586184769868851, 0.004273303784430027, -0.07114170491695404, -0.05136051028966904, -0.028872881084680557, -0.028661414980888367, 0.07317369431257248, -0.026293687522411346, -0.015055519528687, 0.028855640441179276, 0.015236911363899708, 0.05700178071856499, 0.029010586440563202, -0.0026337564922869205, 0.015006594359874725, -0.044057976454496384, -0.08201926201581955, 0.020190102979540825, 0.046966321766376495, -0.02490266226232052, -0.04463467746973038, 0.018459606915712357, 0.0034721207339316607, 0.00224793772213161, 0.0014195645926520228, -0.03693037107586861, 0.05985843390226364, 0.025277849286794662, 0.04442998021841049, -0.011651086620986462, 0.04833066090941429, -0.050216130912303925, 0.028232522308826447, 0.03292088955640793, -0.022471772506833076, 0.010375217534601688, 0.029046708717942238, 0.12641681730747223, 0.06882748752832413, -0.028744107112288475, -0.04573369771242142, 0.020951000973582268, -0.00433322973549366, -0.012752586044371128, 0.00572662940248847, -0.0028306632302701473, -0.025282878428697586, -0.029499400407075882, -0.022375529631972313, -0.00034014065749943256, 0.018183991312980652, -0.031670935451984406, -0.036400727927684784, 0.043403368443250656, -0.006344550289213657, 0.054856665432453156, 0.020453808829188347, -0.0282510444521904, -0.007578319404274225, -0.053856659680604935, -0.056875668466091156, 0.013194223865866661, 0.020567771047353745, -0.0030659723561257124, 0.05114690586924553, -0.03870609030127525, -0.0179608091711998, -0.02931952103972435, -0.03473654389381409, 0.014886951074004173, 0.07333604246377945, 0.05218496173620224, -0.03249293565750122, 0.02784808725118637, -0.020514316856861115, -0.016121599823236465, -0.0181429423391819, -0.05917365849018097, -0.026105718687176704, -0.017569663003087044, -0.008244488388299942, 0.02770647034049034, 0.03928938880562782, 0.006628623232245445, 0.0365428701043129, -0.04033232107758522, 0.011902084574103355, -0.030090240761637688, 0.049560923129320145, -0.017679400742053986, -0.005631711799651384, 0.002099494682624936, -0.024506423622369766, 0.06613077223300934, -0.047217585146427155, -0.02155853807926178, 0.005688922014087439, -0.02789788693189621, 0.05187376216053963, -0.0445772148668766, -0.043915633112192154, -0.003044154727831483, -0.006211209576576948, 0.02420279197394848, -0.015771351754665375, -0.019024088978767395, 0.056472741067409515, 0.022324396297335625, 0.028824660927057266, 0.001971722114831209, 0.0023694238625466824, 0.035724714398384094, -0.01638922095298767, 0.015059676952660084, 0.05882055312395096, -0.004501829389482737, -0.03329866752028465, -0.032677583396434784, 0.015050222165882587, -0.014898953959345818, -0.2749256193637848, 0.0028204370755702257, 0.002231276361271739, -0.023129498586058617, 0.012840218842029572, -0.0014487376902252436, -0.0034658056683838367, -0.00026832896401174366, -0.003387642093002796, 0.017268836498260498, -0.024985872209072113, -0.04861931502819061, -0.042505282908678055, 0.054558683186769485, 0.0382692925632, -0.02989908680319786, 0.001946917618624866, -0.025324149057269096, -0.0003466466732788831, 0.018759017810225487, -0.04612195864319801, -0.053618140518665314, -0.012668305076658726, 0.029015393927693367, 0.01300834771245718, 0.024713730439543724, -0.07245448231697083, 0.018608853220939636, -0.06573513150215149, -0.03710303455591202, -0.011001010425388813, -0.04664172977209091, 0.02617819420993328, -0.0031027395743876696, -0.019058072939515114, -0.0210136566311121, 0.040574148297309875, 0.00624136533588171, 0.01365736685693264, 0.024379897862672806, -0.04723597317934036, -0.049433182924985886, -0.009380385279655457, 0.0072257728315889835, 0.07687677443027496, -0.01582499034702778, -0.05554771050810814, -0.00021797482622787356, -0.01342056691646576, 0.0777379721403122, -0.025626134127378464, -0.017777033150196075, -0.019006069749593735, 0.0486673004925251, -0.02660375088453293, -0.016146302223205566, 0.01826908439397812, -0.03525925055146217, -0.04121093079447746, -0.033158399164676666, -0.03704510256648064, -0.03717825934290886, -0.028192203491926193, -0.03922058641910553, 0.001276449067518115, -0.059865452349185944, -0.09777078777551651, -0.014644385315477848, 0.053444135934114456, 0.013591174967586994, -0.0024210764095187187, 0.004187748301774263, -0.03489011898636818, -0.11550392210483551, -0.04284152388572693, -0.04780416190624237, -0.05793605372309685, -0.007732693571597338, 0.009577691555023193, 0.02903500571846962, -0.057447705417871475, -0.09222586452960968, 0.03384463116526604, -0.0008014789200387895, 0.02843383327126503, -0.017489967867732048, 0.018890220671892166, -0.007620735093951225, -0.026845114305615425, 0.001509350724518299, 0.07850198447704315, 0.005557766649872065, -0.012547018006443977, -0.02671102061867714, 0.01107106264680624, 0.040193166583776474, 0.0034229205921292305, -0.002939518541097641, 0.03512188047170639, 0.042045172303915024, 0.029172450304031372, -0.02420986257493496, 0.031509023159742355, -0.01866307109594345, -0.034836411476135254, -0.0014525013975799084, -0.03883511573076248, 0.025110051035881042, 0.020638123154640198, 0.003917401190847158, -0.001393934478983283, -0.02515844814479351, 0.0552392415702343, -0.05080156773328781, -0.02661028504371643, 0.015395382419228554, 0.031229738146066666, 0.0264664888381958, 0.028497328981757164, -0.011472160927951336, -0.05665118247270584, 0.021533237770199776, 0.008570398204028606, -0.031704142689704895, -0.03821473568677902, 0.00021073329844512045, -0.01687624491751194, -0.0006065680063329637, 0.013759656809270382, 0.03228702396154404, 0.009698605164885521, 0.030358141288161278, 0.022719359025359154, -0.030412746593356133, 0.04436783492565155, -0.010283326730132103, -0.030951539054512978, -0.03460676968097687, 0.000924204767215997, 0.005518150050193071, 0.007314225658774376, 0.015069935470819473, 0.014246204867959023, 0.013492190279066563, 0.051354147493839264, -0.006063953973352909, 0.024331526830792427, -0.005757452920079231, 0.03530864045023918, 0.03749817609786987, -0.037964530289173126, -0.0412239246070385, 0.027119005098938942, -0.04309118911623955, -0.018053723499178886, -0.02157413214445114, 0.02958419919013977, -0.03920796886086464, -0.04483675956726074, -0.0523979477584362, 0.008460680022835732, -0.034542784094810486, -0.01231966633349657, -0.02897665463387966, 0.01321480330079794, 0.04860534518957138, -0.015147270634770393, 0.03402172774076462, -0.02545994147658348, 0.006339059676975012, 0.004417243879288435, 0.010289293713867664, -0.04884048178792, 0.04383654519915581, -0.017720332369208336, -0.012339928187429905, 0.024425191804766655, 0.018979191780090332, 0.043133024126291275, 0.021949946880340576, -0.020170139148831367, -0.0019437888404354453, -0.0025733134243637323, 0.002550450386479497, 0.060070332139730453, 0.027611395344138145, -0.01260477863252163, 0.000935048854444176, -0.03630681335926056, -0.01646687090396881, -0.01557901967316866, -0.00022422528127208352, -0.03413214534521103, -0.004368194378912449, -0.031052183359861374, -0.06509752571582794, 0.006744472309947014, 0.008708218112587929, 0.016841042786836624, 0.016242368146777153, -0.00045942343422211707, 0.016370704397559166, -0.024279769510030746, 0.011168614029884338, 0.0498180091381073, -0.07778210937976837, -0.00002943742038041819, -0.010091498494148254, -0.005539966281503439, 0.011681775562465191, 0.04250110685825348, -0.040959980338811874, -0.012357190251350403, -0.012588845565915108, 0.006792975589632988, -0.029245764017105103, -0.06603839993476868, -0.04739449545741081, 0.019137419760227203, -0.001999136758968234, -0.020702164620161057, 0.0015569598181173205, 0.01158970408141613, -0.045650482177734375, -0.03668804094195366, 0.014545624144375324, -0.034509703516960144, -0.012699509970843792, 0.034491416066884995, -0.013155593536794186, 0.012197840958833694, -0.020647535100579262, 0.021466732025146484, 0.0403016060590744, 0.010166266933083534, 0.008208204060792923, -0.04103652387857437, -0.000603558961302042, -0.03258359432220459, 0.0547487810254097, 0.0072992113418877125, -0.011976666748523712, -0.03344407677650452, 0.010522234253585339, -0.009463956579566002, 0.0010740007273852825, -0.0058403960429131985, -0.03176986798644066, -0.005110244732350111, 0.024794647470116615, 0.00005121316644363105, 0.0025513803120702505, -0.019285032525658607, -0.03566095232963562, 0.052495766431093216, -0.03770951181650162, -0.030607838183641434, -0.015077954158186913, -0.043334368616342545, 0.006648383568972349, 0.005557253025472164, 0.009566616266965866, -0.04775582626461983, 0.03973349556326866, 0.06556285172700882, 0.028595594689249992, 0.02656167559325695, -0.017115894705057144, 0.03688163682818413, -0.010744639672338963, 0.005245640873908997, -0.08928485959768295, -0.027515947818756104, -0.0011287919478490949, 0.009976810775697231, 0.005396998021751642, -0.019017042592167854, -0.03909215331077576, 0.03912154212594032, -0.08266977965831757, -0.008829980157315731, 0.058930687606334686, 0.0015713629545643926, 0.006813401356339455, 0.026905694976449013, -0.046294163912534714, 0.027295000851154327, 0.0385541208088398, -0.027706285938620567, -0.014783195219933987, -0.012949266470968723, 0.048713210970163345, -0.008495153859257698, 0.025713875889778137, 0.007290959823876619, 0.004752971697598696, 0.07906439900398254, 0.0412457212805748, 0.02711651101708412, 0.05560152605175972, -0.020095782354474068, 0.0446186363697052, 0.005473872646689415, 0.00810926966369152, 0.006418509874492884, 0.043195053935050964, -0.02662716992199421, -0.054467327892780304, 0.034253306686878204, 0.010990552604198456, -0.026546712964773178, -0.03334483504295349, 0.05185022950172424, 0.02372700162231922, -0.03416011482477188, -0.05103212594985962, 0.02620101161301136, -0.04820645600557327, 0.028286486864089966, -0.040204934775829315, 0.022701017558574677, -0.07263927906751633, 0.050258755683898926, -0.010582499206066132, -0.00046153998118825257, 0.0907004177570343, 0.0030088266357779503, -0.027512667700648308, 0.024672778323292732, 0.12332111597061157, 0.1044774204492569, 0.04759640619158745, -0.007965072989463806, 0.06840071827173233, -0.040982797741889954, -0.028578607365489006, -0.0024586094077676535, -0.02829059399664402, -0.000555375125259161, -0.0110159395262599, 0.009324000217020512, 0.08023892343044281, -0.006672660820186138, 0.055326346307992935, -0.03272054344415665, -0.01293362956494093, 0.005592996720224619, 0.026581687852740288, 0.01862255111336708, 0.05454077199101448, 0.01699308305978775, 0.03153907135128975, -0.0033803125843405724, -0.04348883777856827, 0.03621818497776985, 0.010906543582677841, -0.0021072817035019398, 0.005487875081598759, 0.014979125931859016, 0.010295551270246506, 0.02235020324587822, 0.017783282324671745, 0.07076580077409744, -0.01775035448372364, -0.012827803380787373, -0.011926529929041862, 0.009420419111847878, -0.011793652549386024, 0.009299076162278652, -0.000576800899580121, -0.03910573571920395, -0.017020173370838165, -0.044133178889751434, -0.012583288364112377, -0.01161990687251091, -0.03464187681674957, 0.02291649580001831, -0.01371360756456852, 0.00930680613964796, 0.01758098043501377, -0.004335063509643078, -0.05251077935099602, -0.04280950874090195, -0.043294209986925125, -0.05173704773187637, -0.07543931156396866, 0.034065186977386475, 0.0173445176333189, -0.010125680826604366, -0.021593216806650162, -0.03658825904130936, 0.004711857996881008, -0.034833334386348724, 0.05311032757163048, -0.044561415910720825, 0.002064730506390333, -0.003034253604710102, 0.04228609427809715, 0.006634634919464588, 0.02464532107114792, 0.06321357935667038, -0.00021066756744403392, 0.00888382364064455, -0.018673457205295563, -0.01567995175719261, 0.04666556790471077, 0.013075712136924267, 0.004930365364998579, -0.09086904674768448, -0.001510807080194354, 0.03455430269241333, -0.0031895535066723824, -0.09125521034002304, 0.007486934307962656, 0.02433559112250805, -0.01734302192926407, 0.03352255001664162, -0.02013920620083809, -0.005002422258257866, -0.04300328716635704, -0.016811346635222435, -0.0074931359849870205, -0.01682158000767231, 0.06608032435178757, -0.04550706595182419, 0.0870257169008255, 0.03789185732603073, -0.018471837043762207, -0.0022357425186783075, -0.00642059650272131, -0.03239048272371292, 0.01857651025056839, -0.04877170920372009, -0.00388273480348289, -0.05293969437479973, -0.10100126266479492, -0.020886989310383797, -0.004618439823389053, -0.03115163743495941, -0.04570268467068672, 0.01654515229165554, 0.02218264527618885, -0.03551008552312851, 0.0302223339676857, -0.028731247410178185, 0.03607138246297836, -0.03277582302689552, -0.0073181381449103355, 0.015701821073889732, 0.028773341327905655, 0.010331576690077782, 0.004049837589263916, 0.03845257684588432, -0.03999481350183487, 0.010241269133985043, -0.016663309186697006, 0.022151611745357513, 0.03270220011472702, -0.0062986258417367935, 0.03183414414525032 ]
[ -0.07786394655704498, -0.06550221890211105, -0.03604995086789131, 0.008534331806004047, 0.02296510897576809, -0.04303383454680443, 0.00690801115706563, -0.009743740782141685, 0.012936551123857498, -0.005729121621698141, -0.006417975295335054, -0.0651770606637001, -0.006877165287733078, -0.028660528361797333, 0.06134206801652908, 0.04546656459569931, -0.01660452038049698, 0.0055810934863984585, -0.0379139669239521, 0.01037523988634348, 0.025766754522919655, -0.02360152080655098, -0.06362974643707275, -0.0698719471693039, 0.02853148803114891, 0.028936849907040596, 0.03772415965795517, -0.04902257025241852, 0.03360942751169205, -0.25227731466293335, 0.008682682178914547, 0.020118510350584984, 0.00014081412518862635, -0.05145367607474327, -0.00025418680161237717, 0.0136400256305933, 0.038968250155448914, 0.004102587699890137, -0.003406170755624771, 0.05125539377331734, 0.011306905187666416, 0.036067862063646317, -0.05795959755778313, -0.000337432196829468, 0.02453836053609848, 0.03073469176888466, -0.019735602661967278, -0.02933845855295658, 0.0003162269131280482, -0.010968223214149475, -0.04215614125132561, -0.03261880576610565, 0.002299549290910363, -0.0116942273452878, 0.04008393734693527, 0.04615157097578049, 0.06431329995393753, 0.06606018543243408, 0.02571028657257557, 0.03244045749306679, 0.02071838267147541, 0.010676084086298943, -0.09370476752519608, 0.09819412231445312, 0.02367822453379631, 0.040862832218408585, -0.04634523764252663, -0.013307904824614525, -0.006226186640560627, 0.09757595509290695, 0.026138141751289368, -0.016209354624152184, -0.019573206081986427, 0.03286221995949745, 0.019620472565293312, -0.040862713009119034, -0.006611349061131477, -0.008052857592701912, 0.05119692161679268, -0.044830746948719025, -0.036053791642189026, -0.023554036393761635, -0.008970852009952068, -0.02904544398188591, -0.0016214788192883134, 0.015649517998099327, -0.0530615970492363, 0.033133216202259064, -0.02036496438086033, 0.015487820841372013, 0.0073299286887049675, 0.0023538980167359114, 0.019748564809560776, 0.0150756211951375, -0.08923988789319992, 0.02301611192524433, -0.000163035758305341, -0.007447503507137299, 0.014745713211596012, 0.4354327619075775, -0.07077303528785706, 0.007968694902956486, 0.07458921521902084, 0.033901147544384, -0.01693200320005417, -0.03471101447939873, 0.004831151571124792, -0.039362262934446335, -0.022939013317227364, -0.02421160414814949, -0.02148205041885376, -0.07679310441017151, 0.03993446007370949, -0.041975945234298706, -0.014032145030796528, -0.012557256035506725, 0.03795691952109337, 0.03004623018205166, 0.0035488626454025507, -0.004426914732903242, 0.009214303456246853, 0.03992176055908203, 0.024484120309352875, 0.020293060690164566, 0.020248442888259888, 0.016160981729626656, 0.0073091317899525166, 0.05242530256509781, 0.03697488456964493, 0.04349976405501366, 0.05012134835124016, -0.02190973423421383, -0.039143823087215424, 0.02777000330388546, -0.01131044328212738, 0.021225860342383385, 0.04611143469810486, -0.06116986274719238, -0.044355545192956924, 0.007666716352105141, 0.0043410323560237885, -0.010244715958833694, 0.04747309908270836, -0.005955374799668789, 0.003960214089602232, 0.12078732997179031, -0.045715898275375366, -0.004537520930171013, -0.0010759781580418348, -0.03361758217215538, -0.02329874224960804, 0.04342387616634369, -0.022880803793668747, -0.05423857271671295, -0.013128891587257385, 0.009069585241377354, 0.04291839525103569, 0.006513690110296011, -0.027572592720389366, 0.036024920642375946, -0.03264143690466881, 0.0035339307505637407, -0.028710773214697838, 0.03338838368654251, 0.04615550488233566, -0.061344508081674576, -0.02708241157233715, -0.022784166038036346, -0.00827157124876976, -0.07948406040668488, -0.020503899082541466, 0.0452568419277668, 0.005083018448203802, -0.010251834988594055, 0.050550296902656555, -0.030445510521531105, -0.05700448900461197, -0.011415637098252773, 0.06700608134269714, -0.005949761252850294, -0.0027908727061003447, -0.013897383585572243, -0.03853250667452812, 0.02539130486547947, -0.018232714384794235, -0.06272649019956589, -0.05109523981809616, 0.03130275011062622, -0.008732522837817669, -0.02243778295814991, 0.01664021983742714, -0.009706743061542511, -0.033458732068538666, 0.019318746402859688, -0.001504262676462531, -0.02205953560769558, 0.011191592551767826, -0.021530356258153915, -0.011855639517307281, -0.023978807032108307, 0.014714035205543041, -0.003778015496209264, -0.015520821325480938, 0.01882460154592991, -0.027175160124897957, 0.036872684955596924, 0.06518948078155518, -0.06152183189988136, 0.05032029375433922, 0.05971305072307587, -0.011408711783587933, -0.02070777863264084, -0.03206637129187584, 0.03200443089008331, 0.006326748989522457, -0.00451482180505991, 0.011080038733780384, -0.021176114678382874, 0.030299654230475426, 0.02954753488302231, 0.02725396491587162, -0.13277076184749603, -0.051466744393110275, -0.32288119196891785, -0.057623255997896194, -0.0092701967805624, -0.0019557075574994087, 0.03461526334285736, -0.040516529232263565, -0.029518716037273407, -0.02044048346579075, -0.022549238055944443, 0.021868674084544182, 0.08410122990608215, -0.01213880255818367, 0.01155228354036808, -0.07552026212215424, 0.02223283052444458, -0.003277694107964635, 0.020387064665555954, -0.010772418230772018, 0.00826332252472639, 0.00376108312048018, 0.000021191277483012527, 0.028460685163736343, 0.0005564961466006935, -0.035864587873220444, 0.0091242091730237, -0.032672736793756485, 0.14010334014892578, 0.0035611020866781473, 0.057090263813734055, -0.024615099653601646, 0.02011040784418583, 0.0031618934590369463, -0.02261822484433651, -0.0290024783462286, -0.013773065060377121, 0.014913443475961685, -0.025975340977311134, 0.016781488433480263, 0.0008190430817194283, -0.053974699229002, -0.052348051220178604, 0.031084559857845306, -0.05190211907029152, -0.061075177043676376, 0.006663350388407707, 0.024036897346377373, -0.0045029823668301105, -0.007344265002757311, -0.009832729585468769, 0.04836130142211914, 0.027729574590921402, 0.010844332166016102, 0.018354112282395363, 0.029744448140263557, 0.01668933406472206, -0.012443008832633495, -0.0540587343275547, -0.01309905294328928, -0.010528274811804295, -0.01972823403775692, 0.0047376430593431, 0.006993473041802645, 0.06449764966964722, -0.0657799243927002, 0.013718162663280964, 0.02104896493256092, 0.0008192200912162662, -0.04555952548980713, 0.028977278620004654, -0.038866546005010605, -0.03480960428714752, 0.11502638459205627, -0.00781747791916132, 0.014303353615105152, 0.05698500573635101, 0.06417744606733322, -0.02187480591237545, 0.0426388755440712, 0.013737441040575504, -0.03963126987218857, 0.009452635422348976, -0.018918504938483238, 0.041513338685035706, -0.042429618537425995, -0.021952155977487564, 0.03047373704612255, -0.04758073389530182, 0.012453856877982616, 0.05369844660162926, 0.03458322212100029, -0.04700874909758568, 0.013776182197034359, 0.026721833273768425, -0.05123518034815788, 0.014481131918728352, -0.0026248828507959843, -0.2719283998012543, 0.03541842848062515, 0.04623182862997055, 0.05034135654568672, -0.030734123662114143, 0.02115810289978981, 0.016928784549236298, -0.0244003813713789, 0.02385333925485611, 0.015907960012555122, -0.02025885321199894, 0.041139476001262665, 0.012110903859138489, 0.020127419382333755, 0.009491588920354843, -0.02704654447734356, 0.08030765503644943, 0.017927076667547226, -0.025581061840057373, 0.01833478733897209, 0.002430228516459465, -0.01174498163163662, 0.20442216098308563, -0.034850720316171646, 0.0013196456711739302, 0.022147823125123978, 0.002202575793489814, 0.00467996671795845, 0.06446945667266846, 0.02534172497689724, 0.0013450916158035398, 0.08636254072189331, 0.05565753951668739, -0.023597341030836105, 0.04432190582156181, -0.04041876271367073, -0.0025892285630106926, 0.04061374440789223, 0.013955280184745789, -0.0473162941634655, 0.016556309536099434, 0.000009148221579380333, -0.052802376449108124, 0.025507144629955292, 0.028555233031511307, 0.010222934186458588, 0.015867719426751137, -0.01021841261535883, -0.04164804518222809, 0.02404138445854187, -0.07237153500318527, -0.011597543023526669, -0.006122891325503588, -0.006378235295414925, -0.01200784370303154, 0.06391583383083344, -0.054936669766902924, -0.04149869829416275, -0.005296207033097744, 0.01435766089707613, 0.00013521646906156093, -0.08747104555368423, 0.10395117849111557, 0.021327922120690346, 0.04648883268237114 ]
[ -0.01963474042713642, 0.029705174267292023, 0.01910254918038845, 0.01273767277598381, 0.02574783004820347, -0.006561812479048967, 0.001052472973242402, 0.002641455503180623, -0.0245889313519001, -0.04221566021442413, -0.10653841495513916, -0.026855837553739548, 0.0636727437376976, -0.003625966142863035, -0.03151014819741249, 0.03526037558913231, -0.03834995627403259, -0.006396000273525715, 0.04034630209207535, -0.059523750096559525, -0.023155583068728447, -0.025409160181879997, -0.012665623798966408, -0.029349137097597122, -0.008574185892939568, 0.08148140460252762, -0.008128820918500423, -0.004707069136202335, 0.025533316656947136, -0.11136194318532944, -0.022845687344670296, -0.05578240379691124, -0.005704706069082022, -0.025830047205090523, -0.0388433076441288, 0.04379638656973839, -0.013173519633710384, 0.011964799836277962, -0.024253876879811287, 0.021298723295331, 0.043080732226371765, 0.01826862059533596, 0.013170030899345875, -0.01740487664937973, 0.015721002593636513, 0.02303014136850834, -0.011443501338362694, 0.008376331068575382, -0.027826769277453423, -0.027363836765289307, -0.022171663120388985, -0.038147322833538055, 0.059781476855278015, 0.01666017808020115, 0.04244628921151161, 0.005133901722729206, -0.012416137382388115, -0.03469594940543175, 0.034297022968530655, -0.016498209908604622, -0.02162502333521843, 0.006963411346077919, -0.061961449682712555, -0.012202931568026543, -0.00559998070821166, -0.00009401307761436328, -0.062265995889902115, 0.029875775799155235, 0.040482327342033386, -0.024498410522937775, 0.06018313392996788, 0.07011481374502182, -0.011298069730401039, -0.011185544542968273, 0.012708019465208054, 0.011723114177584648, 0.057020403444767, 0.018307050690054893, -0.027867021039128304, -0.020964186638593674, -0.015264932066202164, -0.004081482999026775, -0.0075574032962322235, 0.024036958813667297, -0.0013491541612893343, 0.056549072265625, -0.05097529664635658, 0.023061439394950867, -0.01747117191553116, 0.030457131564617157, -0.00045368081191554666, 0.025790488347411156, 0.002916808007284999, 0.029700325801968575, -0.05790172889828682, 0.019551267847418785, -0.015069880522787571, -0.05722682550549507, 0.009972423315048218, 0.7782440185546875, -0.015492635779082775, -0.03645367920398712, 0.031193438917398453, 0.009988508187234402, 0.06457465142011642, -0.06688408553600311, -0.005577011965215206, 0.05667848885059357, -0.025247080251574516, -0.015248851850628853, 0.07102451473474503, -0.006318704225122929, 0.0580303817987442, 0.04405440762639046, -0.010240337811410427, 0.008057763800024986, -0.014638948254287243, -0.0435202494263649, 0.011215739883482456, -0.01875913329422474, 0.0015949790831655264, -0.04810606688261032, -0.03835233300924301, 0.019560564309358597, 0.016963539645075798, -0.16236025094985962, -0.009993269108235836, -8.121139290893876e-33, 0.052860844880342484, -0.047661978751420975, -0.002095515141263604, -0.018046578392386436, 0.041381821036338806, 0.0189756341278553, -0.008174221962690353, -0.01646595634520054, -0.020882293581962585, -0.03452086076140404, 0.021579094231128693, -0.008469603955745697, -0.013363724574446678, 0.021670475602149963, -0.009811257012188435, -0.04699883610010147, 0.04159989580512047, 0.032906051725149155, -0.0538756437599659, -0.00849898997694254, -0.0004795462009496987, 0.029944956302642822, -0.002376572461798787, 0.018714211881160736, -0.022337177768349648, -0.005691626109182835, 0.009118364192545414, -0.028294162824749947, 0.030837660655379295, -0.0492398738861084, -0.035868752747774124, 0.052868980914354324, 0.012585820630192757, 0.0026373532600700855, 0.004528244491666555, -0.041893355548381805, -0.026267200708389282, 0.015069873072206974, -0.021980544552206993, -0.00020387435506563634, -0.04657115042209625, 0.04063228517770767, -0.006284086499363184, 0.004950857255607843, 0.0039867195300757885, -0.01798403263092041, 0.042758192867040634, -0.01991679146885872, -0.009905781596899033, 0.03765931352972984, 0.006346691865473986, 0.042215149849653244, -0.008374729193747044, -0.011909489519894123, -0.024871401488780975, 0.03750113397836685, 0.034732919186353683, 0.0357825793325901, 0.025389498099684715, 0.018689841032028198, 0.011929603293538094, 0.012548421509563923, -0.017795313149690628, 0.0037847815547138453, 0.041302986443042755, -0.00780219491571188, 0.016795391216874123, -0.007679825648665428, 0.019452426582574844, -0.028888124972581863, -0.03382071480154991, 0.011216986924409866, -0.028525574132800102, -0.028050433844327927, 0.006845769006758928, -0.04277509078383446, 0.030791591852903366, -0.03151699900627136, 0.008923565037548542, 0.0038590002804994583, -0.005842534825205803, -0.05653693526983261, -0.004389171954244375, -0.006758623756468296, -0.017552614212036133, 0.025019070133566856, 0.01241670735180378, 0.015497048385441303, -0.07219240814447403, 0.003239674726501107, 0.05167105793952942, 0.05268487706780434, -0.010414645075798035, -0.031241757795214653, -0.01366071030497551, 8.648232427170528e-33, -0.002080446807667613, 0.010701739229261875, -0.00733020668849349, 0.00939996913075447, 0.0424039401113987, -0.0427233949303627, 0.007349303457885981, 0.0207296721637249, 0.013683896511793137, 0.045917194336652756, -0.008781441487371922, 0.09374558180570602, -0.05819255858659744, 0.05505632236599922, 0.060369133949279785, -0.02311684377491474, 0.01815924420952797, 0.025801584124565125, -0.018730420619249344, -0.021081935614347458, -0.029226671904325485, -0.006928413640707731, -0.00857653096318245, -0.004753592889755964, -0.017113685607910156, 0.07045895606279373, -0.009192044846713543, 0.03207001835107803, -0.0010395728750154376, -0.010153738781809807, -0.01499144360423088, 0.006794621702283621, 0.005588354077190161, 0.00618369085714221, 0.05278526246547699, 0.0349590890109539, 0.0450495183467865, -0.03164864331483841, 0.00972230825573206, 0.04123527929186821, 0.00325559894554317, -0.0187727939337492, -0.026510778814554214, -0.014484770596027374, -0.004980289842933416, 0.0431230254471302, 0.006159043405205011, 0.022708356380462646, 0.008030002936720848, -0.019582660868763924, -0.035221341997385025, -0.005372764077037573, 0.019520819187164307, 0.0619535930454731, 0.030277661979198456, -0.09457582980394363, 0.04009082540869713, 0.050462253391742706, -0.007797786500304937, -0.026072164997458458, -0.0431826189160347, -0.011300494894385338, -0.01588783971965313, -0.004841799382120371, -0.047524869441986084, 0.005379132926464081, -0.02552010491490364, -0.033189427107572556, 0.0034217003267258406, 0.01572907529771328, -0.0014044077834114432, 0.026669787243008614, 0.01174178533256054, -0.004538218956440687, -0.0037446944043040276, -0.07565556466579437, -0.040768448263406754, 0.003352784551680088, -0.016566475853323936, 0.019230352714657784, 0.01567046530544758, 0.0550515316426754, 0.03652841970324516, -0.007805372588336468, 0.011928491294384003, -0.0210807453840971, 0.035120148211717606, -0.025630583986639977, 0.006258187349885702, 0.0022283759899437428, 0.022045090794563293, -0.028238985687494278, -0.01817123033106327, 0.003774702548980713, -0.031755127012729645, -1.2872397370244926e-8, -0.01424035057425499, 0.011760113760828972, -0.015681074932217598, -0.023274609819054604, 0.023956263437867165, -0.0005913104396313429, 0.014684021472930908, 0.0037570828571915627, -0.008255699649453163, 0.025171451270580292, 0.0321107842028141, -0.024889817461371422, 0.06429722905158997, -0.004311263561248779, 0.001009922823868692, -0.02620871365070343, -0.005244372878223658, -0.06630052626132965, 0.00932320486754179, 0.0073929438367486, -0.009493204765021801, 0.029154764488339424, -0.027031121775507927, 0.013774335384368896, -0.00006253409810597077, 0.004524937830865383, -0.0013977185590192676, -0.0954422727227211, 0.0416313074529171, -0.015693331137299538, 0.013280272483825684, 0.0011897766962647438, 0.004759993404150009, 0.04909196123480797, 0.012373522855341434, 0.005152591038495302, -0.010328094474971294, 0.022414103150367737, 0.014333296567201614, 0.02953198179602623, -0.009381989017128944, 0.024157991632819176, 0.006178534124046564, -0.026823101565241814, -0.009716667234897614, -0.031857073307037354, 0.013852361589670181, 0.039825715124607086, 0.022164400666952133, -0.03114001266658306, 0.014370586723089218, 0.0010227961465716362, -0.002510796068236232, 0.04565994814038277, 0.023944677785038948, -0.05168228596448898, -0.022703010588884354, -0.01706884056329727, 0.03280722722411156, 0.00724848173558712, 0.023815736174583435, 0.030195485800504684, -0.006504066288471222, -0.01311987079679966 ]
algorithms-flood-fill-in-haskell
https://markhneedham.com/blog/2012/04/07/algorithms-flood-fill-in-haskell
false
2012-04-09 22:45:07
Just Observe
[ "software-development" ]
[ "Software Development" ]
One of the most common instincts of a developer when starting on a new team is to look at the way the application has been designed and find ways that it can be done differently. Most often 'differently' means that a pattern used in a previous project will be favoured and while I think it's good to make use of experience that we've gained, we do miss out on some learning if we write every application the same way. Therefore, unless I see a decision being made which is clearly going to lead to disaster later on, I now prefer to observe the approach being taken and understand its advantages and disadvantages before making a judgement. A few years Jay Fields wrote a post titled 'http://blog.jayfields.com/2009/03/kill-your-darlings.html[Kill Your Darlings]' where he suggested the following: ____ 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. ____ He was talking in a slightly different context but it seems equally applicable here. One example from the current project I'm working on is that we're not using an ORM tool but instead mapping from database queries to domain objects manually. This is being done partly to get around the query optimisation problems we can end up with when using tools like Hibernate but it also means that we design our domain code properly and don't get tempted to make it match the database structure. I initially thought that it was a strange decision to write code to do mapping when you have a tool to do it for you but it hasn't been as bad as I'd imagined although the data access code is pretty messy. On the positive side we can directly measure the performance of each query, make the necessary tweaks, and then re-measure the performance much more easily this way. The application is read only so we wouldn't have got to use the full 'CRUD' repertoire that Hibernate provides anyway. It might not be the right choice for the next application that I work on but I'm glad I got the chance to see what an application written without an ORM looks like. Just observe!
null
null
[ 0.022161519154906273, 0.015438495203852654, 0.01393796131014824, 0.031124349683523178, 0.08797212690114975, 0.006276170257478952, 0.0239736195653677, 0.034677643328905106, 0.022772401571273804, -0.042006175965070724, -0.030839750543236732, -0.012978431768715382, -0.06350183486938477, 0.010592038743197918, -0.027427544817328453, 0.09157154709100723, 0.06480477005243301, -0.014204015955328941, 0.028491713106632233, -0.00005043982673669234, 0.029860137030482292, 0.05764670670032501, -0.012224594131112099, 0.046646106988191605, 0.043722964823246, 0.013635257259011269, 0.004037110600620508, 0.0048821731470525265, -0.058842360973358154, -0.016887623816728592, 0.04563897103071213, -0.01267572958022356, 0.0037807452026754618, -0.003543526865541935, -0.0016838490264490247, -0.01842450350522995, -0.0225389264523983, 0.0234798863530159, 0.004148973152041435, -0.003689454635605216, -0.06252669543027878, 0.05327063426375389, 0.0038094590418040752, 0.02142338827252388, -0.024621382355690002, 0.006547132506966591, -0.061219844967126846, 0.016265200451016426, 0.0007820807513780892, 0.007704121060669422, -0.054744165390729904, 0.042384300380945206, -0.00721408985555172, -0.00772717734798789, -0.02024504728615284, 0.05209128186106682, 0.032818470150232315, -0.07554936408996582, 0.0007941443473100662, -0.0337897390127182, 0.002740481635555625, 0.00045860325917601585, 0.0012363885762169957, 0.04680735617876053, 0.032366037368774414, -0.015377948060631752, -0.013837473466992378, 0.034448783844709396, -0.03517719730734825, 0.00773558858782053, -0.0007336623384617269, -0.0012147723464295268, 0.0051747639663517475, -0.031316157430410385, 0.006343296263366938, -0.029549939557909966, -0.0077817440032958984, 0.05803735554218292, 0.034256283193826675, 0.046808987855911255, -0.02434346079826355, -0.0032919649966061115, 0.005579771939665079, 0.021478476002812386, 0.012797999195754528, -0.04833831265568733, -0.003256565658375621, -0.01818828098475933, -0.05790625140070915, 0.05647328123450279, 0.030065162107348442, -0.06921634078025818, 0.03501496464014053, 0.038893066346645355, -0.002094917232170701, 0.004037030041217804, 0.03871341049671173, 0.0012342619011178613, 0.004622258245944977, -0.01755797676742077, -0.027065642178058624, -0.023944862186908722, 0.0033858201932162046, -0.01709200255572796, -0.08529341965913773, -0.022468863055109978, -0.039794500917196274, -0.015206807292997837, 0.003598195733502507, 0.006012694910168648, -0.03267599269747734, 0.020433776080608368, -0.022214410826563835, 0.003081695642322302, -0.06239767745137215, 0.06266362220048904, -0.0076114824041724205, -0.03809044510126114, -0.007373197469860315, 0.009203833527863026, 0.039176806807518005, 0.010478641837835312, -0.016136061400175095, 0.07449868321418762, -0.010476953350007534, 0.019858399406075478, -0.014972055330872536, 0.05464327335357666, -0.017729226499795914, -0.06776472926139832, -0.007720160763710737, 0.04132712632417679, -0.039201539009809494, -0.005363423377275467, -0.004921065177768469, -0.04241642355918884, -0.009724547155201435, 0.0022761484142392874, 0.027322759851813316, 0.041093893349170685, -0.006348253693431616, -0.05876166746020317, 0.012892847880721092, 0.01629636436700821, 0.02830391749739647, 0.006855142768472433, 0.017524704337120056, -0.025340888649225235, -0.01850300095975399, 0.004829223267734051, 0.016054099425673485, 0.0663069561123848, 0.004267425742000341, -0.03940354660153389, 0.020829904824495316, 0.11160797625780106, 0.015624498017132282, -0.0029124394059181213, 0.002723172539845109, 0.018642637878656387, 0.021080011501908302, 0.013198377564549446, 0.011304885149002075, 0.021699504926800728, 0.025793306529521942, 0.004713297821581364, 0.011737757362425327, 0.0494559146463871, 0.007030104286968708, 0.015354564413428307, -0.07992719858884811, -0.0717225894331932, 0.07247354835271835, -0.06235876679420471, -0.0157992672175169, 0.050348617136478424, 0.06833924353122711, 0.03660780191421509, 0.038746386766433716, 0.0034320615231990814, -0.06966140121221542, 0.016522224992513657, 0.007233146578073502, 0.017073774710297585, 0.03002491220831871, -0.007734743412584066, 0.06422517448663712, 0.02110110968351364, 0.004364039748907089, 0.04756978899240494, -0.08794733136892319, -0.07538828253746033, -0.013467301614582539, -0.01381106860935688, 0.05193133279681206, -0.0451972559094429, 0.01158640906214714, 0.09224000573158264, 0.0027642433997243643, 0.047897521406412125, 0.03212406858801842, 0.008793318644165993, -0.0006340100662782788, -0.047073278576135635, -0.035488810390233994, 0.041072744876146317, 0.04733424261212349, -0.020946063101291656, -0.06009889394044876, 0.01166775356978178, -0.0016497488832101226, -0.022513367235660553, 0.025152577087283134, -0.015807757154107094, 0.045004379004240036, 0.0194857195019722, 0.05886135995388031, -0.045421238988637924, 0.042080108076334, -0.05518811568617821, 0.00399865722283721, 0.017873067408800125, -0.014699536375701427, 0.01150889415293932, 0.025942042469978333, 0.11087494343519211, 0.04609443247318268, -0.05038945749402046, -0.03877414017915726, 0.012146919034421444, 0.03666587546467781, -0.02280266582965851, 0.016001077368855476, -0.014454958960413933, 0.020331071689724922, -0.009740223176777363, -0.051155947148799896, -0.03734422102570534, 0.013127448968589306, -0.025099657475948334, -0.009656514972448349, 0.055415522307157516, -0.03152306377887726, 0.06818505376577377, 0.0017317163292318583, -0.028354736045002937, -0.016709966585040092, -0.03130405396223068, -0.05022665113210678, 0.01755048707127571, 0.0074141304939985275, -0.01314325537532568, 0.052786558866500854, -0.010484709404408932, -0.030622785910964012, -0.049250539392232895, -0.03268485143780708, 0.01693088747560978, 0.01981198415160179, 0.07522641122341156, -0.019234424456954002, 0.062118545174598694, 0.014624037779867649, 0.029005402699112892, 0.004107929766178131, -0.046486448496580124, -0.029455414041876793, -0.014961818233132362, -0.009409510530531406, 0.022591236978769302, -0.0072232577949762344, 0.0053997039794921875, 0.02843162789940834, 0.006302026100456715, -0.031099405139684677, -0.013646597974002361, 0.01915312185883522, -0.011262631043791771, -0.0020286659710109234, -0.030428417026996613, -0.02620859444141388, 0.04426515847444534, -0.0404326356947422, -0.029522672295570374, 0.010633841156959534, -0.060571350157260895, 0.045976292341947556, -0.07762770354747772, -0.0657062754034996, 0.024939510971307755, 0.03282356262207031, 0.05757731571793556, -0.009778877720236778, 0.026595668867230415, 0.0901041105389595, 0.0071266875602304935, 0.010162127204239368, -0.00495685450732708, 0.006357603240758181, 0.045691557228565216, -0.0024180191103368998, 0.0027104918844997883, 0.04087713733315468, -0.004291850607842207, -0.0031393696554005146, -0.05211971700191498, 0.033145856112241745, -0.00241219368763268, -0.2833250164985657, 0.031902484595775604, -0.011984013020992279, -0.036163851618766785, 0.020888620987534523, -0.030836954712867737, 0.005462653003633022, -0.04787318781018257, -0.01718246564269066, 0.015710031613707542, -0.04791254550218582, -0.056183110922575, -0.018860995769500732, 0.044191062450408936, -0.009750974364578724, 0.0441930778324604, 0.017905740067362785, -0.03168037533760071, -0.01189476903527975, 0.04321204870939255, -0.01912183314561844, -0.08257464319467545, 0.004224844742566347, 0.025151461362838745, 0.042270224541425705, 0.061855021864175797, -0.08188354969024658, 0.017022758722305298, -0.046978116035461426, 0.0014192716917023063, 0.030244428664445877, 0.00965831708163023, -0.006354568060487509, -0.02372409962117672, -0.029941292479634285, -0.023669499903917313, 0.02517424151301384, 0.0005385177792049944, 0.021764807403087616, 0.02168814279139042, -0.028874997049570084, -0.03693212941288948, -0.022853588685393333, 0.036066461354494095, 0.05956895276904106, -0.01873588375747204, -0.08774913102388382, 0.0023309490643441677, -0.024141278117895126, 0.06276126205921173, -0.028502434492111206, -0.042853932827711105, 0.007764432579278946, 0.062325239181518555, -0.02012670785188675, -0.029367482289671898, 0.01089455559849739, -0.028727537021040916, -0.0465301088988781, -0.03483552858233452, -0.003862022655084729, -0.05124453827738762, 0.003539192257449031, -0.038454022258520126, 0.009707177057862282, -0.04865278676152229, -0.05867061764001846, -0.018138380721211433, 0.07063380628824234, 0.024085279554128647, -0.032113831490278244, 0.026530075818300247, 0.014509845525026321, -0.109145887196064, -0.020528921857476234, -0.015772880986332893, -0.0016274258960038424, -0.007602001540362835, 0.004107930231839418, 0.02936498634517193, -0.013305054977536201, -0.054629094898700714, 0.025115124881267548, 0.029590100049972534, 0.016837630420923233, -0.01792391575872898, 0.040435824543237686, 0.015386519022285938, -0.012373870238661766, 0.023656494915485382, 0.0719410702586174, -0.013090908527374268, -0.019879227504134178, -0.014642326161265373, 0.014752750284969807, 0.011651016771793365, 0.03384069725871086, -0.01920722797513008, 0.0022267536260187626, 0.02203492633998394, 0.006252425257116556, -0.055496931076049805, 0.02777412161231041, -0.006218621041625738, 0.007960737682878971, -0.0256339181214571, -0.045119915157556534, 0.031463462859392166, 0.033276237547397614, 0.02870877832174301, -0.004231570288538933, -0.03660152852535248, -0.011356952600181103, -0.04010458663105965, -0.04321485757827759, -0.03753053396940231, 0.009766853414475918, 0.030965648591518402, -0.0032877440098673105, -0.017455926164984703, -0.051317304372787476, 0.018368259072303772, 0.010106856934726238, 0.0095292953774333, -0.06412327289581299, -0.018147313967347145, -0.011810768395662308, -0.023455485701560974, 0.0017972734058275819, 0.010967114940285683, -0.012836604379117489, 0.033913593739271164, -0.002146200742572546, -0.03755168616771698, 0.008444739505648613, -0.013484861701726913, -0.03251456469297409, -0.015363954938948154, -0.016749754548072815, -0.01852237991988659, 0.015472865663468838, 0.03246507793664932, 0.026768404990434647, 0.028039921075105667, 0.03380659222602844, 0.0023089596070349216, 0.032507944852113724, -0.012051799334585667, 0.032115139067173004, 0.015639247372746468, -0.011976659297943115, -0.08650659024715424, 0.023967554792761803, -0.06026088073849678, -0.027805790305137634, -0.03301374614238739, 0.027214771136641502, -0.026227664202451706, -0.032513607293367386, -0.024809222668409348, -0.003241049824282527, -0.05435069277882576, -0.04688471928238869, -0.03591875731945038, 0.028224334120750427, 0.06962573528289795, -0.01741572469472885, 0.02908899076282978, -0.02838217094540596, -0.007876797579228878, 0.003826591419056058, 0.014330786652863026, -0.05168597027659416, 0.000912848801817745, 0.001148028066381812, 0.0010603244882076979, -0.006901488173753023, 0.0004378263547550887, 0.05716380476951599, 0.027528677135705948, -0.007021800614893436, 0.013910282403230667, 0.0013788705691695213, 0.03300857916474342, 0.05298446863889694, 0.01109262090176344, -0.020420333370566368, 0.004835084546357393, -0.005019010975956917, -0.025806300342082977, -0.041757237166166306, -0.007060788571834564, -0.0012991480762138963, 0.021041279658675194, -0.02844165824353695, -0.07441282272338867, 0.049611084163188934, 0.025042112916707993, 0.005807590205222368, 0.005866462364792824, 0.005440582986921072, 0.0007482175133191049, -0.024672873318195343, 0.021781068295240402, 0.06466399133205414, -0.06043388321995735, 0.004125002771615982, 0.007812106050550938, -0.019862759858369827, 0.00714654428884387, 0.01031714491546154, -0.03797805309295654, -0.033498600125312805, -0.016369463875889778, 0.001925928401760757, -0.05487048253417015, -0.014150191098451614, -0.0030710953287780285, 0.014262562617659569, -0.0011729799443855882, -0.011839640326797962, -0.018508875742554665, -0.0016107840929180384, -0.0028590280562639236, -0.029941009357571602, 0.007535322569310665, -0.026330789551138878, 0.016898322850465775, 0.010077716782689095, -0.036541152745485306, 0.03708634153008461, -0.03107689507305622, 0.011387934908270836, 0.01787991262972355, -0.011740531772375107, -0.011431275866925716, -0.0367160327732563, 0.017890363931655884, 0.009361577220261097, 0.04117455706000328, -0.014464838430285454, -0.0391642190515995, -0.02513895556330681, -0.008741207420825958, -0.03479393199086189, 0.0011827577836811543, -0.041246239095926285, -0.01457726676017046, -0.006415126845240593, 0.05295664444565773, 0.013814649544656277, 0.032878581434488297, -0.005767910275608301, -0.012833780609071255, 0.04792800173163414, -0.05832220986485481, -0.024485763162374496, -0.039599183946847916, -0.06881081312894821, 0.010484700091183186, 0.017644207924604416, 0.026002302765846252, -0.019978826865553856, 0.031010979786515236, 0.022674288600683212, 0.04000632092356682, 0.03805917128920555, -0.007619999349117279, 0.05632137879729271, -0.047586455941200256, -0.010505170561373234, -0.08052735775709152, 0.01816635951399803, 0.035347916185855865, 0.018883120268583298, -0.009749014861881733, -0.02519439347088337, -0.045191049575805664, 0.04685988649725914, -0.052647918462753296, -0.024749647825956345, 0.02694920264184475, 0.021664736792445183, -0.003021772252395749, 0.016219576820731163, -0.0726735070347786, 0.02754143252968788, 0.03094903752207756, -0.02570956014096737, -0.03954033926129341, -0.018428143113851547, 0.04584384709596634, -0.001564980368129909, 0.029353782534599304, -0.042352110147476196, -0.012494193390011787, 0.07505401223897934, 0.009904714301228523, 0.0063721248880028725, 0.04200655221939087, -0.012764603830873966, 0.05358194559812546, 0.037070613354444504, 0.006744147278368473, 0.0021642278879880905, 0.03110571578145027, -0.007842794992029667, -0.05742686241865158, 0.024582063779234886, 0.022267701104283333, -0.04205318167805672, -0.04540714994072914, 0.07219997048377991, 0.027845649048686028, -0.027365339919924736, -0.03635169193148613, -0.0013093383749946952, -0.06412588804960251, 0.008776364848017693, -0.017951680347323418, -0.020413797348737717, -0.057151906192302704, 0.051875755190849304, 0.00755699397996068, 0.022283997386693954, 0.07340341061353683, 0.012183573096990585, -0.028233587741851807, -0.004386299755424261, 0.08550150692462921, 0.06948628276586533, 0.06782018393278122, 0.006207969505339861, 0.05453137308359146, -0.017933819442987442, -0.029182637110352516, 0.025092249736189842, -0.007940405048429966, -0.022441281005740166, -0.026840656995773315, 0.02506309561431408, 0.05587764456868172, -0.004736181348562241, 0.05977102741599083, -0.012663744390010834, -0.014511498622596264, 0.02231496013700962, 0.020309820771217346, 0.023200087249279022, 0.08606062084436417, -0.0023986741434782743, 0.014179594814777374, -0.02509874850511551, -0.03525703772902489, 0.010812155902385712, -0.030345521867275238, -0.02924049086868763, 0.03781909495592117, 0.005433141719549894, 0.009423401206731796, 0.012391534633934498, 0.019615469500422478, 0.08446705341339111, -0.0443362221121788, -0.0019835939165204763, -0.019310031086206436, 0.04238953813910484, -0.01878201588988304, 0.016412924975156784, -0.013703597709536552, -0.04698815941810608, -0.013369114138185978, -0.02645498886704445, -0.032665934413671494, -0.007877015508711338, -0.028393426910042763, 0.06337951123714447, -0.027334878221154213, -0.014135612174868584, 0.03686303272843361, 0.021286174654960632, -0.03747688606381416, -0.06573587656021118, -0.04515599086880684, -0.030594170093536377, -0.05809537693858147, -0.034314416348934174, 0.02504746802151203, -0.0030608486849814653, -0.021018750965595245, -0.006531165912747383, -0.02536250278353691, -0.01768457144498825, 0.043444473296403885, -0.045168083161115646, -0.03878893330693245, 0.02182304672896862, 0.025329478085041046, 0.047101229429244995, 0.03652992472052574, 0.040272388607263565, -0.03014373779296875, 0.01042681559920311, -0.016124315559864044, 0.002971863839775324, 0.024763822555541992, 0.002909224946051836, 0.011560177430510521, -0.08049939572811127, 0.01663079671561718, 0.028332334011793137, -0.01819688454270363, -0.06427191197872162, 0.02718467079102993, 0.008093247190117836, -0.013090033084154129, 0.053364723920822144, -0.029990943148732185, 0.0018813653150573373, -0.016809644177556038, 0.0018670259742066264, -0.004176939371973276, 0.019581547006964684, 0.03835701197385788, -0.026737947016954422, 0.08126641809940338, 0.030361544340848923, -0.034108616411685944, -0.04165823385119438, -0.005201909691095352, 0.007478848099708557, -0.012131832540035248, -0.02221657708287239, -0.05399748310446739, -0.044469378888607025, -0.07177574932575226, -0.024828670546412468, 0.0228530652821064, -0.03312800079584122, -0.029402416199445724, 0.012530540116131306, 0.048636294901371, -0.028098436072468758, 0.03133668377995491, -0.04880860820412636, 0.05298037454485893, -0.02862291969358921, -0.013068039901554585, -0.012018602341413498, 0.024532832205295563, -0.011768478900194168, 0.015630604699254036, 0.01545302476733923, -0.049889590591192245, 0.0013906497042626143, -0.008423545397818089, 0.034683894366025925, -0.0003859054413624108, 0.0028898094315081835, 0.027028121054172516 ]
[ -0.0882071927189827, -0.025484738871455193, -0.040144432336091995, -0.03454124927520752, 0.04607445374131203, -0.039362091571092606, -0.017604239284992218, 0.006595993880182505, -0.0020120125263929367, -0.0185179952532053, 0.0022215989883989096, -0.00949639268219471, 0.012755691073834896, -0.01012086309492588, 0.06827651709318161, 0.02385319396853447, -0.02519623376429081, -0.05888764560222626, 0.008686281740665436, 0.0212547704577446, -0.005098624620586634, -0.019173309206962585, -0.03180292621254921, -0.027710644528269768, 0.011507513001561165, 0.03850708529353142, 0.021875714883208275, -0.035860076546669006, 0.0015410640044137836, -0.19681642949581146, 0.014120856299996376, 0.014957056380808353, 0.05504806712269783, -0.02508411929011345, 0.008510652929544449, 0.05950906500220299, 0.01729544997215271, 0.02957959473133087, -0.01246090792119503, 0.03406406566500664, 0.02461978606879711, 0.02121915854513645, -0.05068671330809593, -0.025457752868533134, 0.025148792192339897, -0.008136605843901634, -0.0065321424044668674, -0.043981920927762985, -0.04850742593407631, 0.021892715245485306, -0.05417468771338463, -0.026443300768733025, -0.04269969463348389, -0.011594483628869057, -0.005925006233155727, 0.03127426281571388, 0.03474169597029686, 0.08083561062812805, -0.01527380757033825, 0.025012824684381485, 0.025164049118757248, -0.030974965542554855, -0.12913912534713745, 0.0838758572936058, 0.03682053089141846, 0.06010635942220688, -0.0441189669072628, -0.0344335213303566, -0.018134761601686478, 0.10109937936067581, -0.013258890248835087, -0.015171547420322895, -0.014292160049080849, 0.028359035030007362, 0.02673341892659664, 0.0180179663002491, 0.0012152547715231776, 0.028263479471206665, 0.03914504125714302, -0.05214063078165054, -0.04366467148065567, -0.024314556270837784, -0.011829239316284657, -0.007156786508858204, -0.03670719265937805, 0.031367287039756775, -0.013056840747594833, 0.0636473298072815, 0.041985493153333664, 0.02588573284447193, 0.07127510756254196, -0.003329921280965209, 0.031034883111715317, -0.0035599423572421074, -0.060889262706041336, -0.009576787240803242, -0.0041419826447963715, 0.010402113199234009, -0.05577367544174194, 0.44694361090660095, -0.010581805370748043, -0.027170740067958832, 0.051078911870718, 0.02416151762008667, -0.012888316065073013, -0.007673418149352074, 0.006113197188824415, -0.03874644264578819, 0.03744948282837868, -0.003706831717863679, 0.008786192163825035, 0.012732169590890408, 0.03801901265978813, -0.052346598356962204, -0.011725061573088169, 0.025493446737527847, -0.019192220643162727, 0.023230498656630516, -0.008555477485060692, -0.004065029788762331, -0.019255518913269043, 0.009079985320568085, 0.013462460599839687, 0.025109734386205673, -0.00439192121848464, -0.02007548324763775, 0.007853136397898197, 0.05111153423786163, 0.03336697444319725, -0.01078329049050808, 0.05202220380306244, -0.0409889817237854, -0.08031943440437317, 0.0021770403254777193, 0.011826036497950554, -0.0011593817034736276, 0.03200741484761238, -0.030237024649977684, -0.026630474254488945, 0.04212626442313194, -0.011683358810842037, 0.004516038578003645, 0.025230655446648598, -0.012625833041965961, -0.05347922071814537, 0.11861810088157654, 0.02732177823781967, -0.029367374256253242, -0.04299970343708992, -0.02736368216574192, -0.00740756606683135, 0.0369892492890358, -0.0012975992867723107, -0.058903828263282776, 0.002106764819473028, 0.022216692566871643, 0.08810824900865555, -0.01935705915093422, -0.07176878303289413, -0.01728750765323639, -0.011069590225815773, -0.015018829144537449, -0.0625617727637291, 0.051306046545505524, 0.04867783933877945, -0.10885262489318848, -0.013892238028347492, 0.005896517541259527, 0.021772919222712517, -0.04401947930455208, -0.02125556394457817, 0.0023633523378521204, -0.003147982759401202, -0.01550142653286457, 0.03914107382297516, -0.05232192203402519, -0.046245407313108444, -0.009060806594789028, 0.03787621855735779, 0.0055308896116912365, 0.02917627803981304, 0.03406208008527756, -0.019029788672924042, -0.005785253830254078, -0.04253546893596649, -0.10096992552280426, -0.0407489649951458, 0.017352797091007233, -0.04138839617371559, -0.030549995601177216, -0.028700292110443115, -0.013824361376464367, -0.07480408996343613, 0.09310732036828995, -0.025063643231987953, -0.02498849853873253, 0.04891813173890114, -0.0037001247983425856, -0.02105787582695484, -0.022371020168066025, -0.023815346881747246, 0.05943552777171135, -0.015423838049173355, 0.037137556821107864, -0.0639013797044754, 0.04620665684342384, 0.048903003334999084, -0.05309923738241196, 0.06515352427959442, 0.05477457121014595, -0.059367477893829346, -0.029682721942663193, 0.004865316208451986, 0.03629407286643982, -0.012920207343995571, 0.006759041920304298, 0.01340804435312748, 0.048602644354104996, 0.0017948445165529847, 0.03514039143919945, -0.01681981235742569, 0.01908932439982891, 0.014435010962188244, -0.3470422327518463, -0.04841696470975876, -0.032156627625226974, 0.0019274159567430615, -0.017355864867568016, -0.04156898707151413, 0.01884624734520912, -0.02082163281738758, -0.026407849043607712, -0.004161612130701542, 0.08306228369474411, -0.026028046384453773, 0.008634134195744991, -0.04929408058524132, -0.009936864487826824, 0.007109516300261021, -0.045292966067790985, -0.006516702938824892, -0.03328271955251694, -0.01054382137954235, 0.018178625032305717, -0.007168258540332317, 0.002456570975482464, -0.09193325787782669, 0.002713868860155344, -0.02274765819311142, 0.09513663500547409, -0.024342535063624382, 0.09653520584106445, -0.04148494079709053, 0.05835573002696037, -0.028398547321558, 0.01689770631492138, -0.10379798710346222, 0.016752945259213448, -0.024942856281995773, 0.013061036355793476, -0.023860758170485497, 0.001178683596663177, -0.04795825481414795, -0.04251205548644066, 0.00007449956319760531, -0.06490112096071243, -0.05204752832651138, -0.06720291078090668, 0.01515990775078535, -0.03695450350642204, -0.03322289511561394, -0.027277598157525063, 0.08523647487163544, -0.009032870642840862, 0.01139814406633377, 0.03225018456578255, 0.009649197570979595, -0.0026637986302375793, -0.03335781395435333, -0.08384566754102707, 0.026043474674224854, 0.008414668962359428, 0.0038964308332651854, 0.033759985119104385, 0.05124958977103233, 0.014456436038017273, -0.055296704173088074, 0.01911519467830658, -0.014818551950156689, 0.0082715367898345, 0.008029120974242687, 0.059047501534223557, -0.046919938176870346, -0.03420183062553406, 0.09467494487762451, 0.00009037672862177715, -0.010216029360890388, 0.025129100307822227, 0.03122345171868801, -0.011968158185482025, 0.021076388657093048, 0.02003762312233448, 0.00221637194044888, 0.02810485288500786, -0.03660949319601059, 0.04920300468802452, -0.021231545135378838, 0.0004938205820508301, 0.04654058441519737, 0.0024276217445731163, -0.04006281867623329, 0.034522511065006256, 0.01340348832309246, -0.029946917667984962, -0.006844681687653065, -0.04166528955101967, -0.06604333966970444, 0.07318424433469772, -0.017372217029333115, -0.2406773865222931, 0.03051644004881382, 0.06020383909344673, 0.04688083007931709, -0.0012366932351142168, 0.031237265095114708, 0.043254029005765915, -0.03426097333431244, 0.018130622804164886, -0.0036099140997976065, 0.026988821104168892, 0.013132937252521515, -0.0018019982380792499, -0.018419642001390457, 0.05525341257452965, -0.00038025868707336485, 0.066765196621418, 0.0013793593971058726, 0.03611438721418381, -0.011094591580331326, 0.021570531651377678, -0.012585634365677834, 0.1678306758403778, 0.003167417598888278, 0.05531034246087074, 0.03444862738251686, -0.004953381139785051, 0.002334418473765254, 0.0619133822619915, 0.028008632361888885, -0.00007596803334308788, 0.008106546476483345, 0.07110152393579483, 0.009171775542199612, 0.012266753241419792, -0.05516347661614418, -0.009515400044620037, 0.011919809505343437, 0.019311487674713135, 0.005412503145635128, 0.03038412146270275, 0.010753490962088108, -0.016408082097768784, 0.058115068823099136, 0.07804033905267715, 0.01670200750231743, 0.008743120357394218, -0.03862827643752098, -0.0392845943570137, -0.02439134195446968, -0.040039509534835815, -0.037882834672927856, 0.011410542763769627, 0.0027893532533198595, 0.008068772032856941, 0.06348458677530289, 0.03326978161931038, -0.02065243571996689, -0.01770744100213051, 0.019484497606754303, 0.013606810010969639, -0.01043589599430561, 0.10778975486755371, 0.02600105106830597, 0.024635275825858116 ]
[ 0.00804363377392292, 0.008776720613241196, 0.010243084281682968, -0.0077989064157009125, -0.01728155091404915, -0.02510848455131054, 0.00663637463003397, 0.00043589260894805193, -0.014821365475654602, 0.022574640810489655, -0.026959091424942017, 0.016558490693569183, 0.028418321162462234, -0.037137534469366074, 0.0027589937672019005, 0.01501117181032896, 0.0034177855122834444, -0.0038871848955750465, 0.03707391396164894, 0.012075399048626423, -0.012033089995384216, 0.01527982298284769, 0.005349292419850826, -0.006720884703099728, -0.011878474615514278, 0.010626597329974174, -0.007339285686612129, 0.02080649510025978, 0.017487287521362305, -0.1274888962507248, -0.05194038897752762, -0.02165214531123638, -0.005064784549176693, 0.03107435815036297, -0.021202687174081802, -0.015905480831861496, 0.0005666138022206724, 0.0015379473334178329, -0.006268613506108522, -0.0012654722668230534, -0.0026309567037969828, -0.01158512756228447, -0.014426752924919128, 0.031796086579561234, -0.015103599056601524, 0.008188513107597828, -0.03273126855492592, -0.042096592485904694, -0.009931297972798347, -0.015642093494534492, -0.05554646626114845, -0.02747788280248642, -0.006654195487499237, 0.008511431515216827, 0.02279309369623661, -0.0020598154515028, -0.0029314872808754444, -0.015042651444673538, -0.01895219460129738, 0.0024175657890737057, -0.017131181433796883, 0.006704307161271572, -0.031509879976511, -0.020348630845546722, -0.00017590438073966652, -0.03077908232808113, -0.010109353810548782, 0.011767159216105938, -0.022868530824780464, -0.009416391141712666, -0.005828661844134331, 0.01966596208512783, -0.03790932148694992, -0.04434309899806976, -0.009298954159021378, 0.027445698156952858, 0.007812881842255592, -0.009651688858866692, 0.02889680676162243, -0.02922309748828411, -0.021805621683597565, 0.021974433213472366, 0.008434213697910309, 0.006553529761731625, -0.015619771555066109, -0.014834856614470482, 0.022424405440688133, -0.042757365852594376, 0.036051686853170395, -0.015351137146353722, -0.02074674516916275, 0.035314083099365234, 0.010123814456164837, 0.008482695557177067, -0.0971214771270752, 0.0065788147039711475, -0.00292139477096498, -0.014285175129771233, -0.010877788998186588, 0.8798622488975525, -0.00924154557287693, 0.01757226325571537, 0.0025859458837658167, -0.007061236537992954, 0.003494968404993415, 0.008278663270175457, 0.0027262670919299126, 0.007820764556527138, 0.02036406472325325, -0.020422438159585, -0.010788983665406704, 0.012937353923916817, 0.008985106833279133, 0.01252300851047039, 0.021019592881202698, 0.00954961683601141, 0.002546575851738453, 0.00047862849896773696, -0.006240700371563435, -0.0007988775032572448, 0.03404061496257782, -0.002140084281563759, -0.0187983401119709, 0.00506131537258625, 0.015339259058237076, -0.16797006130218506, 0.0008363241795450449, -8.173928538137397e-33, 0.06327633559703827, -0.008321895264089108, 0.005184996407479048, 0.001965821720659733, 0.006130192894488573, 0.01375844981521368, 0.03449780493974686, 0.04101799428462982, -0.010313820093870163, -0.004013035912066698, -0.012016444467008114, -0.0034394855611026287, 0.004933403339236975, -0.02964898943901062, 0.04707274213433266, -0.005358897615224123, 0.004021583124995232, 0.033000171184539795, -0.022525332868099213, 0.023631779477000237, -0.0017229855293408036, 0.030678432434797287, 0.008256074972450733, 0.007728486321866512, 0.03069552406668663, 0.0069955987855792046, -0.009766578674316406, 0.004217827692627907, -0.007308214902877808, -0.04083477333188057, -0.0032057813368737698, 0.0008239868329837918, -0.023029448464512825, -0.006569196004420519, -0.001283396384678781, -0.04776698350906372, 0.0005705961375497282, 0.011046062223613262, -0.019471555948257446, -0.015233035199344158, -0.04769894480705261, 0.010329507291316986, -0.038252558559179306, -0.008090679533779621, -0.010264687240123749, 0.0030171580146998167, 0.0029495060443878174, 0.02285616844892502, 0.01519087515771389, -0.005319794174283743, 0.015721214935183525, -0.00545676052570343, -0.009455057792365551, 0.026526859030127525, -0.02144426852464676, 0.04701303318142891, -0.008302846923470497, 0.0021794913336634636, 0.033022139221429825, 0.005558051634579897, -0.008350584656000137, 0.0034726327285170555, -0.010607623495161533, 0.015944933518767357, -0.020019954070448875, -0.01432698592543602, 0.04403214529156685, -0.0007875543087720871, 0.0395430251955986, -0.01885322667658329, -0.030340097844600677, -0.007538525853306055, -0.025051021948456764, -0.02267972193658352, 0.002715612528845668, -0.020008260384202003, 0.01131264865398407, 0.01692955195903778, 0.009602583944797516, 0.01594301499426365, 0.04142951965332031, 0.01074264943599701, -0.018744485452771187, -0.03198409080505371, -0.008989804424345493, -0.0026489337906241417, 0.013238612562417984, 0.004130560904741287, -0.01879858411848545, 0.0155661441385746, 0.024612514302134514, 0.004113007802516222, 0.0157408956438303, -0.02738889306783676, -0.021235419437289238, 8.433045696625031e-33, 0.008813992142677307, -0.036371760070323944, -0.024419326335191727, -0.001125070033594966, 0.049568966031074524, -0.01628921739757061, 0.019938599318265915, 0.027686243876814842, -0.06157833710312843, 0.029241260141134262, -0.0023182907607406378, 0.011181113310158253, -0.005757495295256376, 0.016254078596830368, 0.014176270924508572, -0.02596496418118477, 0.034189727157354355, -0.018592149019241333, 0.005795175675302744, 0.029134375974535942, 0.012497253715991974, 0.022149020805954933, 0.006559956818819046, -0.005430316552519798, 0.019356226548552513, 0.04695196822285652, -0.02245909348130226, 0.0025504271034151316, -0.0012276716297492385, -0.005657380446791649, 0.010766491293907166, -0.014288020320236683, 0.029352886602282524, -0.007146496791392565, -0.026416126638650894, 0.011076100170612335, -0.006674865260720253, -0.03474511206150055, 0.004511060193181038, 0.004148103762418032, -0.0014711718540638685, 0.0012420283164829016, 0.007322434335947037, 0.011685478501021862, 0.010016330517828465, 0.008317259140312672, 0.0020048220176249743, -0.010261661373078823, -0.01319209672510624, 0.012352773919701576, 0.0014923239359632134, -0.007313723210245371, 0.012649120762944221, 0.000965649844147265, -0.0013121835654601455, -0.03215502202510834, -0.034622035920619965, -0.021666454151272774, -0.004238856956362724, 0.0053479233756661415, 0.013462676666676998, 0.017613310366868973, -0.030344080179929733, 0.01854669488966465, -0.0367436520755291, 0.024112632498145103, -0.011191073805093765, -0.003556168172508478, -0.022751454263925552, -0.025671018287539482, -0.037226367741823196, 0.010395331308245659, 0.012372083030641079, 0.0411461740732193, 0.00889793410897255, -0.022568529471755028, -0.044981084764003754, -0.00858029630035162, -0.014342106878757477, 0.03559213876724243, -0.009577515535056591, -0.0048260618932545185, 0.009537468664348125, 0.02024928107857704, -0.014310747385025024, 0.01100891176611185, -0.015993496403098106, 0.03345824405550957, -0.00640706205740571, -0.01675165630877018, -0.015371564775705338, -0.04411819949746132, 0.006755799986422062, 0.019994599744677544, 0.015429312363266945, -1.3936636733546948e-8, 0.0030047965701669455, 0.02667795680463314, 0.005764867644757032, 0.0008334307349286973, 0.022239523008465767, -0.01205835398286581, -0.007477904204279184, 0.025362495332956314, -0.0011367038823664188, 0.018315186724066734, 0.05874915421009064, 0.005597872659564018, -0.0018995832651853561, 0.013021591119468212, 0.03476622328162193, -0.04765741899609566, 0.02578076533973217, -0.01844378001987934, 0.021678369492292404, -0.006137827876955271, 0.005194065161049366, 0.05346033349633217, -0.01842288114130497, 0.008343718014657497, 0.042423881590366364, 0.01347978413105011, -0.01985752023756504, -0.09127140790224075, -0.014934835955500603, 0.01024989876896143, 0.017114194110035896, -0.031285807490348816, 0.012015057727694511, 0.04845384508371353, -0.005398515611886978, -0.030711129307746887, 0.013367447070777416, 0.018438508734107018, 0.02335723303258419, 0.00417814077809453, -0.02037898637354374, 0.013271073810756207, -0.014179782010614872, -0.023249296471476555, -0.008483960293233395, 0.021442078053951263, 0.004564148373901844, -0.020185360684990883, -0.000630240305326879, -0.03859160840511322, 0.008288503624498844, -0.013223974965512753, 0.015307744964957237, 0.006943099666386843, 0.015076037496328354, 0.009156262502074242, 0.009203312918543816, -0.01016987394541502, -0.02636128105223179, 0.003260381054133177, 0.02876603975892067, 0.026454171165823936, -0.0148636344820261, -0.023804381489753723 ]
just-observe
https://markhneedham.com/blog/2012/04/09/just-observe
false
2012-04-30 22:20:45
gephi: Centring a graph around an individual node
[ "neo4j", "graphs", "gephi" ]
[ "Software Development", "neo4j" ]
I spent some time recently playing around with http://gephi.org/[gephi] - an open source platform for creating visualisations of graphs - to get a bit more insight into the ThoughtWorks graph which I've created in neo4j. I http://maxdemarzi.com/2012/04/12/using-sigma-js-with-neo4j/[followed Max De Marxi's blog post] to create a GEFX (Graph Exchange XML Format) file to use in gephi although I later learned that you can import directly from neo4j into gephi which I haven't tried yet. I loaded it into gephi and this is what it looks like: image::{{<siteurl>}}/uploads/2012/04/full-graph.jpg[Full graph,600] image::{{<siteurl>}}/uploads/2012/04/filter-menu-top.jpg[Filter menu top,270] There are massive numbers of connections between almost every node so it's pretty hard to see what's going on. I wanted to be able to centre the graph around an individual person and see just the links related to them. To do that we need to make use of an 'http://forum.gephi.org/viewtopic.php?t=286[ego] http://blog.ouseful.info/2010/05/10/getting-started-with-gephi-network-visualisation-app-%E2%80%93-my-facebook-network-part-iii-ego-filters-and-simple-network-stats/[filter]' so the first step is to make the filters menu visible by clicking 'Window > Filters'. We can then choose the ego filter which sits under 'Library > Topology' and fill in the ID of the node that we want to centre the graph around as well as choose the depth of the traversal. image::{{<siteurl>}}/uploads/2012/04/filter-menu-bottom.jpg[Filter menu bottom,257] In this case any traversal above 1 will end up traversing the majority of the graph since the average distance between nodes in this graph is just above 2.5. I run the 'Force Atlas' layout algorithm over it and this is what we end up with: image::{{<siteurl>}}/uploads/2012/04/my-graph.jpg[My graph,545] My graph shows some interesting clustering of nodes where the ones on the right are people I worked with in India, top left are people I worked with in Australia, bottom left people in the UK and the ones towards the lower middle are people I went to ThoughtWorks University with. There are a load of other filters to choose from but the ego filter is pretty cool!
null
null
[ 0.015470358543097973, -0.0009158301982097328, 0.008252637460827827, 0.030185000970959663, 0.07457670569419861, -0.005521782208234072, 0.007003642152994871, 0.033797841519117355, 0.009515134617686272, -0.04633679613471031, 0.012208027765154839, -0.023376628756523132, -0.06971947103738785, 0.018323546275496483, 0.039387818425893784, 0.046936582773923874, 0.07055240869522095, 0.013899196870625019, 0.006429439410567284, -0.0027817697264254093, 0.0382026769220829, 0.03405998647212982, -0.0017082835547626019, 0.03166316822171211, 0.02758452668786049, 0.013009618036448956, 0.021793266758322716, 0.016810331493616104, -0.026840336620807648, 0.023850688710808754, 0.04110606759786606, 0.0009859558194875717, 0.029776625335216522, -0.0428345687687397, 0.007205979432910681, -0.013689541257917881, -0.04992244020104408, 0.009688911959528923, 0.011664965189993382, 0.011710753664374352, -0.08444051444530487, 0.04315487667918205, -0.023573730140924454, 0.01699511706829071, -0.0397295318543911, 0.019637087360024452, -0.05037529394030571, 0.041916441172361374, 0.01877421699464321, 0.04269534349441528, -0.0938725620508194, 0.01470279973000288, 0.01008130144327879, 0.01056746020913124, -0.012858095578849316, 0.04355139657855034, 0.011928827501833439, -0.05693066865205765, 0.045649122446775436, -0.00561128742992878, -0.007125337608158588, 0.0006925316411070526, 0.0020236694253981113, 0.05072684586048126, 0.012449145317077637, -0.0503879189491272, -0.0031731179915368557, 0.06576240807771683, -0.023105207830667496, 0.012740462087094784, 0.012019237503409386, 0.0268549844622612, -0.023002084344625473, 0.0064466181211173534, -0.006657597608864307, -0.04071779176592827, -0.0032321708276867867, 0.064588263630867, 0.022263366729021072, 0.033043865114450455, -0.020270878449082375, 0.01820366084575653, 0.012122400104999542, 0.017905782908201218, 0.00704135000705719, -0.03312116116285324, -0.012956432066857815, -0.007669591810554266, -0.060878343880176544, 0.04022976756095886, -0.008244043216109276, -0.08227448910474777, -0.0031130111310631037, -0.005562910810112953, -0.007414376363158226, 0.010483409278094769, 0.008149044588208199, 0.038214560598134995, 0.026745878159999847, -0.024905595928430557, -0.0011814308818429708, -0.04057638719677925, -0.0036529535427689552, 0.02030659280717373, -0.05896499380469322, -0.02394099347293377, -0.026491252705454826, -0.030195333063602448, 0.02614682726562023, -0.0035024022217839956, -0.036869194358587265, -0.007533624302595854, -0.019883370026946068, 0.011667166836559772, -0.09083003550767899, 0.05399641394615173, 0.04115256294608116, -0.03252130001783371, -0.01679539680480957, 0.011675180867314339, 0.06645563989877701, 0.03883277252316475, -0.0034029826056212187, 0.07120779156684875, -0.02078341133892536, 0.022053321823477745, 0.004119847435504198, 0.053452104330062866, -0.02753561921417713, -0.05564140900969505, -0.024139678105711937, 0.05636300891637802, -0.019256461411714554, 0.013056834228336811, -0.005689715966582298, -0.03716770559549332, 0.013202454894781113, 0.0028476188890635967, 0.03779436647891998, -0.0043798573315143585, 0.014527077786624432, -0.06913092732429504, 0.013439103029668331, -0.016522252932190895, 0.0307045616209507, 0.002243119990453124, -0.007965120486915112, -0.04139824956655502, -0.045772746205329895, -0.001011042739264667, 0.007467880845069885, 0.028207194060087204, 0.057418886572122574, -0.03130602464079857, 0.01567678339779377, 0.09670503437519073, 0.03622603416442871, -0.010811841115355492, -0.01221226342022419, 0.006684872787445784, 0.04386138170957565, 0.020733343437314034, 0.010381199419498444, 0.06896078586578369, -0.014357048086822033, -0.033595141023397446, -0.01423648651689291, 0.06602559983730316, -0.008709806017577648, 0.003884279867634177, -0.019849156960844994, -0.05111164227128029, 0.05319918319582939, -0.038751717656850815, -0.0144617585465312, 0.06288982927799225, 0.06680836528539658, 0.011571346782147884, 0.002274916274473071, 0.011265257373452187, -0.0752885565161705, 0.035318054258823395, 0.01565402001142502, 0.01482025533914566, 0.008409925736486912, -0.011332886293530464, 0.05027848482131958, 0.029835421591997147, -0.003378749592229724, 0.03165986016392708, -0.07912501692771912, -0.06198161840438843, -0.040900085121393204, -0.010614410974085331, 0.04591621831059456, -0.007333341054618359, 0.02889828383922577, 0.038045331835746765, 0.03314812108874321, 0.027446404099464417, 0.013605102896690369, -0.023328648880124092, 0.03568119555711746, -0.03587130457162857, -0.06313540041446686, 0.03855288028717041, 0.0028612520545721054, -0.05552048236131668, -0.04471447318792343, 0.02808915078639984, -0.03357158973813057, -0.012844296172261238, 0.04418171942234039, -0.022664643824100494, 0.03240356594324112, 0.033582624047994614, 0.016535434871912003, -0.03598802909255028, 0.018162375316023827, -0.01769770123064518, 0.018412254750728607, 0.00526967691257596, -0.017619989812374115, -0.014002727344632149, -0.020137755200266838, 0.11792940646409988, 0.06881741434335709, -0.02621711790561676, -0.07645662873983383, 0.014953674748539925, 0.010294131934642792, -0.03800806403160095, 0.02559942565858364, -0.03339919447898865, 0.012772561982274055, -0.01600329391658306, -0.0332544706761837, -0.026679573580622673, 0.022417299449443817, -0.025492902845144272, 0.02342628501355648, 0.05095148831605911, -0.011220039799809456, 0.04462583735585213, 0.01967586763203144, 0.012791947461664677, 0.035433605313301086, -0.03430020436644554, -0.043924182653427124, 0.03460835665464401, 0.03929579257965088, 0.010077950544655323, 0.058593083173036575, -0.02236289530992508, -0.010726064443588257, -0.022642342373728752, -0.00104877061676234, 0.02493963949382305, 0.029435375705361366, 0.049875155091285706, 0.04071587696671486, 0.031778473407030106, -0.03722493350505829, 0.028675969690084457, -0.012798449024558067, -0.058469660580158234, -0.046762481331825256, -0.05454811453819275, 0.022083817049860954, 0.025050384923815727, 0.02247149869799614, -0.023020174354314804, 0.02194521203637123, -0.0028106572572141886, 0.00762982526794076, -0.009579876437783241, 0.013480040244758129, 0.01292192842811346, -0.0006675018230453134, -0.04881548136472702, -0.013384922407567501, 0.08218251168727875, -0.04888131469488144, -0.010550637729465961, -0.028022348880767822, -0.0386812649667263, 0.07605019956827164, -0.03956203907728195, -0.003578141564503312, -0.026939302682876587, 0.058830857276916504, 0.04926484450697899, 0.04036368429660797, 0.01162173692137003, 0.05649522319436073, 0.009655352681875229, 0.016780447214841843, 0.006393504329025745, -0.010440506972372532, 0.04124781861901283, 0.002370021305978298, 0.03540567308664322, 0.058555200695991516, -0.018962575122714043, -0.012999718077480793, -0.03197019174695015, 0.012661498039960861, -0.022465253248810768, -0.281708687543869, 0.04872572422027588, -0.004109739791601896, -0.05269589275121689, -0.017820218577980995, -0.03874786198139191, -0.016464674845337868, -0.043651681393384933, -0.025439511984586716, -0.012901321053504944, -0.006621407810598612, -0.01597164385020733, -0.010652962140738964, 0.04582112282514572, -0.00359988771378994, 0.032259587198495865, 0.014429719187319279, -0.041083380579948425, 0.011740310117602348, 0.030282387509942055, -0.0263906791806221, -0.05043194442987442, -0.01551654003560543, 0.029311321675777435, 0.016521107405424118, 0.019203901290893555, -0.0998673290014267, 0.025437630712985992, -0.04587369039654732, -0.021265605464577675, 0.008908826857805252, -0.039818886667490005, -0.010742302983999252, 0.0206748116761446, -0.01275321189314127, -0.02872111275792122, 0.044897183775901794, -0.009948286227881908, -0.004352185875177383, 0.006969916634261608, -0.029964221641421318, -0.02818673849105835, -0.01731831021606922, 0.0015822548884898424, 0.10516083985567093, -0.025740638375282288, -0.06447797268629074, 0.008016014471650124, -0.007656342349946499, 0.06268694251775742, -0.020399047061800957, -0.036689236760139465, 0.0017604243475943804, 0.03512578457593918, -0.014939633198082447, -0.02390158176422119, 0.006837774999439716, -0.00831157248467207, -0.04775741323828697, -0.03299303725361824, -0.018129447475075722, -0.04142218828201294, -0.019750196486711502, -0.057994451373815536, -0.004882447421550751, -0.056242555379867554, -0.06371261924505234, -0.02299678884446621, 0.04326122626662254, 0.0013241912238299847, -0.008752133697271347, 0.017874393612146378, -0.015092604793608189, -0.10673545300960541, -0.03303784877061844, -0.03757667541503906, -0.019173050299286842, 0.016847368329763412, -0.011977370828390121, 0.04121127724647522, -0.050991758704185486, -0.03678283095359802, 0.0085273003205657, 0.008735890500247478, 0.006071693729609251, 0.007487304974347353, 0.014872940257191658, -0.021730856969952583, -0.029326369985938072, 0.006824847776442766, 0.07971235364675522, -0.020719757303595543, -0.02752433344721794, -0.001705638482235372, -0.024559758603572845, 0.02895279973745346, 0.01097778882831335, 0.011716100387275219, 0.024073047563433647, 0.06425509601831436, 0.049999404698610306, -0.019710255786776543, -0.0022289305925369263, 0.01820535957813263, -0.04115094617009163, 0.01275415625423193, -0.027645615860819817, 0.029294243082404137, 0.029770702123641968, 0.0285370871424675, -0.017781779170036316, -0.028142238035798073, 0.028504658490419388, -0.047078292816877365, -0.03205395117402077, -0.004903973080217838, -0.00018272206943947822, 0.007717174012213945, 0.053866222500801086, -0.03290671855211258, -0.03135828301310539, 0.03165137395262718, 0.014394438825547695, 0.0004883370129391551, -0.056282900273799896, -0.0032911787275224924, -0.05564289540052414, -0.044200532138347626, 0.027263930067420006, 0.039751309901475906, -0.022198030725121498, 0.045333635061979294, 0.025004882365465164, -0.03570307046175003, 0.0583893284201622, -0.04623428359627724, -0.03625708073377609, -0.034345705062150955, 0.052034892141819, -0.002126184292137623, -0.0340835303068161, 0.014550678431987762, -0.0016025317599996924, 0.02298825979232788, 0.04055088013410568, 0.016124021261930466, 0.011948051862418652, -0.002960073994472623, 0.020927395671606064, 0.0005738218314945698, 0.01278289407491684, -0.054404184222221375, -0.011455629020929337, -0.025970539078116417, -0.018953412771224976, -0.012723906897008419, 0.026443157345056534, -0.015719061717391014, -0.01735585555434227, -0.03935869783163071, 0.04963137209415436, -0.06941267848014832, -0.009096133522689342, 0.010279769077897072, 0.011083193123340607, 0.058218538761138916, 0.0005733449361287057, 0.005045090336352587, -0.01671471819281578, -0.03601854294538498, 0.024191152304410934, 0.03607610613107681, -0.03713963180780411, -0.014758540317416191, -0.0002468742895871401, 0.02410045452415943, 0.007082751952111721, 0.03165939822793007, 0.021729065105319023, 0.019765539094805717, -0.022604739293456078, -0.027106652036309242, 0.033792346715927124, 0.003383565228432417, 0.03214835375547409, 0.02589344047009945, -0.04527246579527855, 0.026318157091736794, -0.019780607894062996, 0.0046529704704880714, -0.015466561540961266, 0.02707359753549099, -0.05154542624950409, 0.020720206201076508, -0.02836071513593197, -0.07951962202787399, 0.01865890994668007, -0.025055941194295883, -0.0059936936013400555, 0.01811712607741356, -0.009437067434191704, -0.0018359896494075656, -0.012507316656410694, 0.046927303075790405, 0.06780268251895905, -0.046243444085121155, -0.004257580265402794, 0.026369895786046982, -0.00045733124716207385, 0.0030120580922812223, 0.028895610943436623, -0.05661240220069885, -0.04955454543232918, -0.039386965334415436, 0.016208309680223465, -0.04408646002411842, -0.033711545169353485, -0.037562064826488495, -0.01758982613682747, 0.014456234872341156, 0.008733689785003662, 0.01219705119729042, 0.003048099111765623, -0.027194764465093613, -0.016326451674103737, 0.07345721125602722, -0.01659087836742401, -0.021502694115042686, -0.010689221322536469, -0.01787933148443699, -0.014480994082987309, 0.007464822381734848, 0.034705571830272675, 0.01277141273021698, -0.033271778374910355, 0.035921208560466766, -0.05416738614439964, 0.011987948790192604, -0.0074979583732783794, 0.05937197804450989, 0.0016005518846213818, 0.0032461441587656736, -0.058422304689884186, 0.017073161900043488, -0.041317619383335114, 0.017799215391278267, -0.017360061407089233, -0.00055878417333588, 0.01729716919362545, 0.02834445983171463, 0.0013966960832476616, 0.02517586201429367, 0.0004925206885673106, -0.016594935208559036, 0.050908412784338, -0.05716455355286598, -0.03834391385316849, -0.016481174156069756, -0.05973457545042038, -0.00804510060697794, 0.004827855620533228, 0.009917601943016052, -0.038623467087745667, 0.06599994748830795, 0.04438352584838867, -0.003500039456412196, 0.031741123646497726, -0.007176979444921017, 0.012776993215084076, -0.03292989358305931, -0.002717535709962249, -0.08970992267131805, 0.00012644667003769428, 0.025958910584449768, -0.0014851985033601522, -0.024586714804172516, -0.0033708116970956326, -0.02013752982020378, 0.012046265415847301, -0.07832350581884384, -0.02953457087278366, 0.03137963265180588, 0.0007733783568255603, 0.006357337348163128, -0.020506611093878746, -0.043311215937137604, 0.004161736462265253, 0.044126760214567184, -0.04443172365427017, -0.031828004866838455, -0.012029074132442474, 0.040904536843299866, -0.009723802097141743, 0.03287019953131676, 0.0009518185397610068, -0.01840103603899479, 0.08123059570789337, 0.011175937950611115, 0.013572078198194504, 0.04998329281806946, -0.0011827427661046386, 0.043047238141298294, 0.04326494038105011, 0.01742522045969963, 0.014751915819942951, 0.03340870887041092, 0.005255956202745438, -0.04346973076462746, 0.061424337327480316, 0.004146782215684652, 0.012551671825349331, -0.0654769316315651, 0.06905137747526169, 0.012876005843281746, -0.0514349527657032, -0.02347029745578766, 0.04201069101691246, -0.020716991275548935, -0.020545652136206627, -0.06856777518987656, 0.0036361245438456535, -0.018195772543549538, 0.05054008588194847, -0.04245730862021446, -0.023315727710723877, 0.04914618656039238, -0.01798022724688053, -0.00230625132098794, 0.02395239844918251, 0.103631891310215, 0.08313813805580139, 0.062104083597660065, 0.011846750974655151, 0.0783635675907135, -0.011979433707892895, -0.03461569547653198, -0.01239401288330555, -0.02943447232246399, -0.021264970302581787, -0.008938563987612724, 0.01686883345246315, 0.07507205754518509, -0.019784998148679733, 0.08745124936103821, -0.03069695457816124, -0.002430302556604147, -0.013603362254798412, -0.02359199710190296, 0.010324119590222836, 0.056131672114133835, -0.007919409312307835, 0.03739430010318756, -0.049188464879989624, -0.024337884038686752, 0.008697263896465302, -0.011732409708201885, -0.0026613804511725903, 0.04297570139169693, -0.00014320934133138508, 0.0067975930869579315, 0.012395371682941914, 0.044172149151563644, 0.07481496036052704, -0.05087258666753769, -0.008758164942264557, 0.00860185083001852, -0.017004000023007393, -0.014041603542864323, 0.01599578931927681, -0.019192544743418694, -0.01370674092322588, -0.017580974847078323, -0.040015220642089844, -0.019151367247104645, -0.027815300971269608, -0.0032028467394411564, -0.012216181494295597, -0.038883697241544724, -0.011808174662292004, -0.004833113867789507, -0.013851750642061234, -0.034760162234306335, -0.04176289215683937, -0.035558298230171204, -0.0707009881734848, -0.07993663102388382, -0.005812658928334713, 0.012625819072127342, 0.005180885083973408, -0.039295535534620285, -0.025598600506782532, -0.021181847900152206, -0.018058091402053833, 0.042306672781705856, -0.025609830394387245, -0.007572066970169544, 0.008988420478999615, 0.021804332733154297, 0.001859362586401403, 0.012195594608783722, 0.05792669951915741, -0.0001442861248506233, 0.002491518622264266, -0.0434044674038887, 0.03211866691708565, 0.06373324245214462, 0.015925411134958267, 0.0008543382282368839, -0.09186015278100967, -0.020167022943496704, -0.0025289568584412336, -0.019869986921548843, -0.07856788486242294, 0.021494191139936447, 0.06690145283937454, 0.0152617571875453, 0.045533258467912674, 0.013437921181321144, -0.023677781224250793, -0.03371330350637436, 0.00782955251634121, 0.0007555510965175927, -0.016794070601463318, 0.03227418661117554, -0.017507869750261307, 0.08144931495189667, 0.03406887874007225, -0.012708778493106365, 0.0037786823231726885, -0.02379239909350872, -0.0076047019101679325, 0.010574120096862316, -0.04552498832345009, -0.02413555607199669, -0.04034433513879776, -0.091517373919487, -0.01878037303686142, -0.006411009468138218, -0.009237718768417835, -0.02137136086821556, -0.022211533039808273, 0.02918315678834915, -0.032565921545028687, 0.038247741758823395, -0.05392910912632942, 0.012337980791926384, -0.02034078910946846, -0.029572507366538048, -0.011309669353067875, 0.008655132725834846, 0.007974128238856792, 0.010011601261794567, 0.03502872958779335, -0.05297881364822388, -0.026576731353998184, -0.013238529674708843, 0.015975045040249825, 0.02674092911183834, 0.02783483825623989, 0.023446979001164436 ]
[ -0.029396679252386093, 0.00551866739988327, -0.030974075198173523, -0.007978108711540699, 0.062172453850507736, -0.02130253054201603, -0.02132660709321499, 0.032377418130636215, -0.03891000896692276, -0.01894870400428772, -0.013755063526332378, -0.044536180794239044, 0.011385871097445488, 0.009191788733005524, 0.03662710636854172, -0.0011365897953510284, -0.03835856169462204, -0.03850801661610603, -0.030165759846568108, 0.059797003865242004, -0.009677254594862461, -0.059233345091342926, -0.022524792701005936, -0.07430890202522278, -0.016452731564641, 0.03755968436598778, 0.05460311844944954, -0.013832629658281803, 0.007942273281514645, -0.20811827480793, 0.011612516827881336, -0.010222919285297394, 0.03401748836040497, -0.014587677083909512, -0.05968860536813736, 0.02261977642774582, 0.07677625119686127, -0.01003418117761612, 0.002202607924118638, 0.015921201556921005, 0.0000114726144602173, 0.01620861515402794, -0.07968758791685104, 0.015021012164652348, 0.047150470316410065, 0.035232312977313995, -0.011058526113629341, -0.015535172075033188, -0.06575329601764679, -0.018433179706335068, -0.011875532567501068, -0.018855948001146317, -0.0007022360805422068, 0.017818430438637733, -0.010351691395044327, 0.046588823199272156, 0.05499815195798874, 0.018502751365303993, -0.011775162070989609, 0.029936904087662697, 0.00904714222997427, 0.009841617196798325, -0.12664063274860382, 0.06527252495288849, -0.024362625554203987, 0.030016126111149788, -0.029769640415906906, -0.036435067653656006, -0.03829864785075188, 0.07955360412597656, 0.040840551257133484, 0.002031767973676324, -0.046660166233778, 0.01183987595140934, 0.02557995542883873, 0.010373315773904324, 0.007173549849539995, 0.01245174091309309, 0.028414608910679817, -0.046829551458358765, -0.023392662405967712, 0.008388209156692028, -0.009051104076206684, 0.007692246697843075, -0.024767505005002022, 0.05013025179505348, -0.003772150492295623, 0.018160972744226456, -0.01679929718375206, 0.041719790548086166, 0.018348824232816696, -0.01779012195765972, 0.011405355297029018, 0.027511099353432655, -0.04884710907936096, -0.05196263641119003, -0.006637718994170427, 0.025791481137275696, -0.013775189407169819, 0.3962723910808563, 0.012783331796526909, 0.03625477850437164, 0.0642232596874237, 0.0479041151702404, 0.017065394669771194, -0.013399533927440643, -0.0028919880278408527, -0.03170919418334961, 0.03909683600068092, 0.031165122985839844, -0.010424308478832245, -0.06297946721315384, 0.013420648872852325, -0.07436756789684296, 0.002903693588450551, 0.003844510531052947, 0.013091366738080978, 0.004869586322456598, -0.03167599067091942, 0.006924670189619064, 0.004313008394092321, 0.021792441606521606, 0.02530406042933464, -0.02709958516061306, 0.03358030691742897, 0.06848395615816116, -0.024661052972078323, 0.03819475695490837, 0.028139714151620865, 0.019548339769244194, 0.06010744720697403, 0.0036646919324994087, -0.06721542030572891, 0.04928751662373543, 0.000779656576924026, 0.031070543453097343, 0.03439071774482727, -0.021022550761699677, -0.02823699451982975, 0.017097633332014084, 0.010687834583222866, 0.024343185126781464, 0.011698875576257706, -0.011724302545189857, -0.007017942611128092, 0.1297021210193634, -0.022637344896793365, -0.04605213925242424, -0.033498987555503845, -0.04426167905330658, 0.025063229724764824, 0.02774314396083355, -0.00044637644896283746, -0.029197072610259056, -0.0024709657300263643, 0.0070831966586411, 0.07336361706256866, 0.013025626540184021, -0.10628684610128403, 0.0021784650161862373, -0.030640974640846252, -0.03154747933149338, -0.03143054619431496, 0.10117945820093155, 0.09654539078474045, -0.12103547155857086, -0.0370265357196331, 0.03085760772228241, -0.003218316240236163, -0.10532078146934509, 0.0025771805085241795, 0.05134778842329979, -0.033144913613796234, -0.010311911813914776, 0.07603778690099716, -0.018182462081313133, -0.06629481166601181, -0.012510073371231556, 0.02404077537357807, -0.015956368297338486, -0.007778668310493231, -0.02126789093017578, -0.06119867041707039, -0.03545216843485832, -0.07766127586364746, -0.06996850669384003, -0.022915393114089966, 0.02742541767656803, -0.05944863706827164, -0.0031195045448839664, 0.0010524847311899066, -0.0003440710133872926, -0.05795683711767197, 0.07632651180028915, -0.028867101296782494, -0.025642238557338715, -0.025492724031209946, -0.015736166387796402, -0.04994305223226547, -0.002815465210005641, 0.04064689949154854, 0.015241416171193123, -0.0381074883043766, 0.012282204814255238, -0.10274611413478851, 0.0296107679605484, 0.043667424470186234, -0.0019194416236132383, 0.07177717238664627, -0.014655129984021187, -0.06159684434533119, 0.011478710919618607, 0.012609630823135376, 0.030077416449785233, 0.01660311222076416, 0.015041258186101913, 0.0011263771448284388, -0.023540541529655457, -0.004695064388215542, 0.058114878833293915, -0.004678335972130299, -0.04890728369355202, -0.07311153411865234, -0.34731563925743103, -0.02567516453564167, -0.008456352166831493, -0.010435618460178375, 0.056606315076351166, -0.02210349030792713, 0.046589355915784836, -0.0027626066002994776, 0.05316758155822754, -0.0023612927179783583, 0.09117736667394638, 0.014984957873821259, -0.025135809555649757, -0.046123623847961426, -0.014274475164711475, 0.028351347893476486, 0.008823125623166561, -0.013090190477669239, -0.04885389283299446, -0.023837490007281303, 0.0063573457300662994, -0.012906969524919987, -0.0023220814764499664, -0.043503403663635254, -0.01102216076105833, 0.0033535058610141277, 0.1186070591211319, -0.009724942967295647, 0.050625599920749664, -0.05867966264486313, 0.008953993208706379, 0.009667201898992062, -0.029072009027004242, -0.0663096010684967, 0.007250058464705944, 0.011301357299089432, 0.030536411330103874, -0.0031649935990571976, 0.025521716102957726, -0.0494098924100399, -0.03794403746724129, -0.02856438420712948, -0.06682534515857697, -0.054471205919981, -0.006482160650193691, 0.03825760260224342, -0.017290549352765083, 0.009211990050971508, -0.011098659597337246, 0.06367085874080658, 0.025052595883607864, 0.0032206454779952765, 0.0009579237666912377, 0.018082158640027046, 0.006306316237896681, -0.04932437092065811, -0.06682276725769043, -0.05051058158278465, 0.0036904169246554375, 0.02694862149655819, 0.016553489491343498, 0.0670158788561821, 0.011743772774934769, -0.1058516725897789, 0.022927802056074142, 0.01945505291223526, -0.0009564185747876763, -0.017595473676919937, 0.0590953528881073, -0.027570800855755806, 0.00962525513023138, 0.07407237589359283, -0.009619312360882759, 0.017371458932757378, 0.0355164110660553, 0.06326949596405029, -0.005103160627186298, 0.028605083003640175, 0.05852562189102173, 0.03153602406382561, 0.006386376917362213, -0.005784248001873493, 0.050747405737638474, -0.02672668546438217, 0.002194716827943921, 0.04258798062801361, -0.00840403325855732, -0.0707404837012291, 0.03549150377511978, -0.029563311487436295, -0.012221318669617176, 0.019915055483579636, -0.008622628636658192, -0.07617229968309402, 0.05904289707541466, -0.011221328750252724, -0.2481154054403305, 0.04677668586373329, 0.05012538284063339, 0.05744708701968193, -0.02259541116654873, 0.00506990822032094, 0.03265182301402092, -0.03696224093437195, 0.012143367901444435, -0.012246917001903057, 0.020784439519047737, 0.016118748113512993, 0.031205061823129654, 0.01638680137693882, -0.02683977037668228, 0.0014486481668427587, 0.009642335586249828, 0.030060239136219025, 0.021930059418082237, 0.017573323100805283, 0.05504531040787697, -0.029125329107046127, 0.1907777339220047, 0.055486053228378296, 0.014619231224060059, 0.025765899568796158, -0.008627008646726608, -0.0077802627347409725, 0.025565439835190773, 0.049468882381916046, 0.005059951450675726, 0.02653738483786583, -0.009101677685976028, 0.009402813389897346, 0.06502705812454224, -0.044214341789484024, -0.014251114800572395, 0.09072481840848923, 0.04456821084022522, -0.015220125205814838, 0.03801288828253746, -0.00013611555914394557, -0.03611043840646744, 0.012248283252120018, 0.0652722641825676, -0.063176229596138, -0.01795496605336666, 0.02759842947125435, -0.07519479095935822, -0.024674158543348312, -0.047608375549316406, -0.02767031453549862, -0.004045954905450344, -0.014729880727827549, -0.014565303921699524, 0.05583476647734642, 0.04275403916835785, -0.0309927836060524, -0.008169437758624554, -0.006941779982298613, 0.007032879162579775, -0.0003845191386062652, 0.08529727160930634, -0.028834138065576553, 0.023660432547330856 ]
[ 0.023067614063620567, 0.03181084990501404, 0.02276964858174324, 0.035280741751194, 0.014688258059322834, 0.0038045484106987715, 0.00802756566554308, 0.02987126260995865, -0.012642051093280315, -0.007026297505944967, -0.0065205832943320274, 0.02264956571161747, 0.035164255648851395, 0.022659631446003914, 0.005744802765548229, 0.03930143639445305, 0.0011852772440761328, 0.009425663389265537, 0.023235980421304703, -0.0028534242883324623, -0.02323567122220993, -0.02404000796377659, 0.016657663509249687, -0.010564260184764862, 0.010630601085722446, 0.008624105714261532, -0.0370463989675045, -0.02562243677675724, 0.03453197702765465, -0.1291213035583496, -0.0007568289875052869, -0.0625811517238617, -0.025938699021935463, 0.02411373145878315, -0.051270049065351486, 0.008166509680449963, 0.02672056294977665, 0.006020549219101667, 0.0035230638459324837, 0.007451621349900961, 0.01973549649119377, 0.03171699121594429, -0.009016427211463451, 0.0019785899203270674, 0.009589549154043198, 0.003917441237717867, -0.06006322428584099, -0.035234227776527405, 0.014466417022049427, -0.00045591540401801467, -0.050391122698783875, -0.03177809715270996, 0.0017644566250965, -0.015097301453351974, 0.029885951429605484, 0.01695193722844124, -0.04944051802158356, -0.062087513506412506, 0.017524361610412598, -0.001152900280430913, 0.02176995761692524, -0.029058150947093964, -0.030823109671473503, -0.020865587517619133, 0.0083446204662323, 0.01641230285167694, -0.003301034215837717, 0.0023811173159629107, -0.005402139853686094, 0.008071210235357285, -0.013180915266275406, 0.04186376556754112, -0.047389816492795944, -0.01920573227107525, 0.0023165387101471424, 0.02715708129107952, 0.014621301554143429, 0.015644459053874016, -0.002053006086498499, -0.016898831352591515, 0.003144196467474103, 0.030400270596146584, -0.01353029441088438, 0.02438427321612835, -0.012053336948156357, 0.026504358276724815, -0.0005426105344668031, -0.04194072633981705, 0.013648679479956627, -0.0025875503197312355, -0.042578864842653275, 0.03040153719484806, -0.04228072613477707, 0.02009817399084568, -0.08415129780769348, 0.0036648111417889595, -0.030180983245372772, -0.016135120764374733, 0.001550439978018403, 0.8375709056854248, 0.00899803452193737, -0.006481086369603872, 0.02753348834812641, -0.005751464050263166, -0.011865394189953804, 0.0053039900958538055, 0.03819400072097778, 0.021972723305225372, -0.036060769110918045, 0.0024265425745397806, 0.007099765352904797, 0.024437496438622475, 0.022657085210084915, 0.007112609222531319, 0.016387661918997765, 0.015550817362964153, 0.04628390818834305, -0.006175707560032606, 0.008686142973601818, 0.015313589945435524, 0.005534626543521881, 0.04477560147643089, -0.010379910469055176, -0.004918523132801056, 0.010947128757834435, -0.14060741662979126, 0.002547296229749918, -6.89585761152648e-33, 0.01633347198367119, -0.0009713007602840662, 0.025777991861104965, 0.026653258129954338, -0.0003107576339971274, 0.038206808269023895, -0.008167869411408901, -0.03435152769088745, -0.019483201205730438, -0.010699406266212463, -0.03477372229099274, 0.004365015309303999, -0.014397159218788147, -0.007799314334988594, 0.011907119303941727, -0.0013817540602758527, 0.040810197591781616, 0.03359907492995262, -0.0011467747390270233, -0.051762185990810394, 0.02556312084197998, 0.009738879278302193, -0.0024260638747364283, 0.031801242381334305, 0.00232315668836236, 0.0456240139901638, -0.004744032863527536, 0.016046829521656036, -0.020633673295378685, -0.05476711317896843, -0.0017628066707402468, 0.040688082575798035, 0.019713744521141052, 0.03218335285782814, 0.008570321835577488, -0.02785910665988922, -0.015508742071688175, 0.006214960478246212, -0.016023213043808937, -0.04499669745564461, -0.07320096343755722, 0.020614003762602806, -0.015997955575585365, -0.027907829731702805, -0.03788534179329872, -0.01232030801475048, -0.00805679615586996, 0.0034218139480799437, -0.0016741154249757528, 0.0005133897648192942, -0.009565439075231552, 0.016655871644616127, -0.027873612940311432, 0.03700141981244087, -0.017857912927865982, -0.006938081234693527, 0.02106027491390705, 0.005987368058413267, 0.008510113693773746, -0.011698722839355469, 0.007973178289830685, -0.009827450849115849, -0.019550787284970284, 0.03707139194011688, 0.029568340629339218, 0.021725915372371674, -0.0076598129235208035, -0.0035001349169760942, 0.005457111168652773, 0.034309834241867065, -0.042861565947532654, 0.05183796584606171, -0.01776299625635147, 0.012746740132570267, 0.03174078091979027, -0.06277245283126831, -0.03216703608632088, -0.047064777463674545, -0.006003033835440874, 0.06711244583129883, -0.03889591619372368, -0.04242009297013283, -0.022583454847335815, 0.0011137248948216438, 0.009717165492475033, -0.015573779121041298, 0.05808008462190628, 0.005589801352471113, 0.009066510945558548, 0.002432964276522398, 0.05598781257867813, 0.01916022226214409, -0.00397658534348011, 0.00033216841984540224, -0.021725064143538475, 7.363957829123146e-33, 0.001479865750297904, 0.022257329896092415, 0.01680814102292061, 0.003511889139190316, 0.01288688089698553, 0.000721784948837012, 0.021617712453007698, 0.029644131660461426, -0.03750364109873772, 0.046839065849781036, -0.005908147897571325, -0.013398942537605762, -0.00530223036184907, 0.018147582188248634, 0.08096681535243988, -0.016692884266376495, 0.025682734325528145, -0.057565025985240936, 0.0013917403994128108, 0.01798875816166401, -0.0033374889753758907, 0.033363617956638336, -0.017119843512773514, 0.008868725039064884, 0.04746513441205025, 0.04883318021893501, 0.021221524104475975, 0.011036857031285763, -0.009499899111688137, -0.023429380729794502, -0.05060001462697983, -0.020077845081686974, 0.007177033927291632, -0.02686825394630432, 0.04087214544415474, 0.010619064792990685, -0.0010640196269378066, 0.0314897820353508, 0.02755572274327278, -0.03362898528575897, -0.009696443565189838, 0.010226351208984852, -0.034330710768699646, 0.03899405524134636, 0.015071609057486057, 0.02890806831419468, 0.013276908546686172, 0.004949526395648718, -0.007187333423644304, 0.027133865281939507, -0.014010004699230194, -0.008419080637395382, 0.0253157801926136, 0.0008282707422040403, 0.0063484422862529755, -0.04572393000125885, -0.00961971003562212, 0.012406784109771252, -0.004053414799273014, -0.0008742777281440794, -0.0225081704556942, -0.025486374273896217, -0.041235536336898804, 0.008293667808175087, -0.04362168163061142, 0.004274451639503241, -0.037244148552417755, -0.02066160924732685, 0.00279315491206944, 0.013633818365633488, 0.0050130318850278854, 0.01350490190088749, -0.006657046731561422, 0.018019752576947212, 0.0463520772755146, -0.03255964443087578, -0.014203478582203388, 0.031331952661275864, -0.0039048853795975447, 0.01950349472463131, 0.011234014295041561, 0.02037953771650791, 0.0328717865049839, 0.00042294259765185416, 0.01871785894036293, -0.005552201997488737, -0.03715163469314575, 0.0286494642496109, 0.01733110100030899, -0.00002743558980000671, -0.007107940968126059, -0.016035618260502815, -0.02747025527060032, 0.02396268956363201, 0.000259594147792086, -1.270589855550952e-8, -0.04858001321554184, 0.007562483660876751, 0.010166541673243046, -0.019352128729224205, 0.008617040701210499, 0.03568241745233536, 0.005365533754229546, 0.008912726305425167, -0.04032429680228233, 0.045988816767930984, 0.02438627928495407, 0.03422866389155388, -0.009476548060774803, -0.02047708071768284, -0.015718212351202965, -0.0441606231033802, -0.015248125419020653, -0.01649949885904789, 0.033497974276542664, 0.0010457391617819667, -0.01361097302287817, 0.0016224748687818646, -0.006075865589082241, 0.037354059517383575, -0.0048949201591312885, -0.03914058580994606, 0.006515270099043846, -0.0940113365650177, -0.032315127551555634, -0.03805595263838768, -0.000207561140996404, -0.018861349672079086, 0.009488112293183804, 0.036578450351953506, -0.054962217807769775, 0.0013935014139860868, 0.003937114495784044, 0.02894585020840168, -0.004440417047590017, -0.002184998942539096, 0.009623651392757893, 0.009972607716917992, -0.005174816120415926, -0.0390762984752655, -0.04631493613123894, 0.0023156909737735987, -0.014341788366436958, -0.011134146712720394, 0.046373628079891205, -0.02590523101389408, 0.00226913602091372, -0.028706762939691544, 0.026216404512524605, 0.018721317872405052, -0.00046686141286045313, -0.04929651692509651, 0.025487689301371574, -0.03355608880519867, -0.039975110441446304, -0.005745390430092812, 0.02059314399957657, 0.005584841128438711, -0.03205249086022377, -0.025307370349764824 ]
gephi-centring-a-graph-around-an-individual-node
https://markhneedham.com/blog/2012/04/30/gephi-centring-a-graph-around-an-individual-node
false
2012-04-30 21:45:50
Performance: Caching per request
[ "coding", "software-development" ]
[ "Software Development" ]
A couple of years ago I wrote a post describing an approach my then colleague https://twitter.com/#!/christianralph[Christian Blunden] used to help improve the performance of an application where you try to http://www.markhneedham.com/blog/2010/07/10/performance-do-it-less-or-find-another-way/[do expensive things less or find another way to do them]. On the application I'm currently working on we load reference data from an Oracle database into memory based on configurations provided by the user. There are multiple configurations and then multiple ways that those configurations can be priced so we have two nested for loops in which we load data and then perform calculations on it. When profiling the application we realised that some of the database calls being made with the same parameters and were therefore loading back the same reference data that we'd already loaded. The most obvious way to solve this problem would be to move the code out of the loop and make less calls to the database that way but logically the domain is expressed more clearly when it's inside the loop. http://www.linkedin.com/pub/alex-harin/13/40b/716[Alex] therefore came up with an alternative approach where we wrap the database calling code in a caching decorator. The caching decorator is a request scoped object so we're only caching those results for a short amount of time which means that we http://martinfowler.com/bliki/TwoHardThings.html[don't have to worry about cache invalidation] because it's thrown away when the request has been processed. I've previously seen this problem solving by using a Hibernate second level cache which would cache results across requests. In our application there are more likely to be calls to the database with the same parameters within the same request rather than across requests. The load on the system is likely to come from complex requests where many prices needed to be calculated rather than from a huge frequency of requests If that changes then we always have the option of caching at both levels but at the moment our current approach seems to work pretty well.
null
null
[ 0.025556281208992004, 0.021594323217868805, 0.004987648222595453, 0.027178997173905373, 0.08510242402553558, 0.01698680967092514, 0.02592398226261139, 0.021533755585551262, 0.002605691086500883, -0.03296657279133797, -0.008603882044553757, -0.016651257872581482, -0.060349807143211365, 0.006017697975039482, -0.0021373790223151445, 0.0637633204460144, 0.07065647095441818, -0.007533727213740349, 0.025127587839961052, -0.02668626978993416, 0.01780775561928749, 0.08631454408168793, 0.011952342465519905, 0.03847033903002739, 0.024862557649612427, 0.044577110558748245, -0.021012354642152786, 0.01248927228152752, -0.05965638905763626, -0.011376525275409222, 0.03345464915037155, 0.027492588385939598, -0.011657467111945152, -0.00004775872002937831, 0.04104501008987427, -0.014226461760699749, -0.00538437208160758, 0.03063393197953701, -0.009669181890785694, 0.009328256361186504, -0.06175790727138519, 0.04737520217895508, -0.0057616522535681725, 0.021930532529950142, -0.038519419729709625, 0.00695885019376874, -0.022567573934793472, 0.011032749898731709, -0.00012287466961424798, -0.024910809472203255, -0.06652501225471497, 0.03362876549363136, -0.019954774528741837, -0.001429287949576974, -0.006160049699246883, 0.07572780549526215, 0.007802136708050966, -0.07880052924156189, 0.016352158039808273, -0.04496587812900543, -0.001681976136751473, -0.0013186862925067544, 0.0038470616564154625, 0.027025919407606125, 0.031223826110363007, -0.00011265295324847102, -0.005926488898694515, 0.030074968934059143, -0.04382803291082382, -0.009120815433561802, -0.007443378679454327, 0.0024640767369419336, -0.0002035549987340346, 0.004391229245811701, -0.011850401759147644, -0.017871538177132607, -0.0047659785486757755, 0.04253194108605385, 0.025371039286255836, 0.038119010627269745, -0.020580168813467026, -0.006891341879963875, 0.010446364991366863, 0.035714805126190186, 0.00886490661650896, -0.03834563121199608, -0.032398153096437454, -0.025106078013777733, -0.04089855030179024, 0.05850112438201904, 0.02053704485297203, -0.04472159966826439, 0.015094867907464504, 0.02684015966951847, -0.04046843573451042, 0.001264429884031415, 0.018885621801018715, -0.0068039982579648495, 0.004310660529881716, 0.008287476375699043, -0.045340120792388916, -0.025311138480901718, 0.020723430439829826, -0.00693246815353632, -0.07782135158777237, 0.001191375544294715, -0.0557531900703907, -0.001550974091514945, 0.00459296815097332, -0.008803610689938068, -0.03045457787811756, 0.007001887075603008, -0.02456655353307724, 0.00415516272187233, -0.06579748541116714, 0.04447688162326813, -0.006267737131565809, -0.055882278829813004, -0.0179543886333704, 0.013394675217568874, 0.06768167018890381, 0.04534653201699257, 0.0028978544287383556, 0.06471818685531616, 0.0010240906849503517, 0.025256169959902763, 0.003864733735099435, 0.04822216182947159, -0.03237175568938255, -0.07470425218343735, 0.016463959589600563, 0.04064345732331276, -0.005838588811457157, 0.0005049076280556619, -0.013255666941404343, -0.031470488756895065, -0.02041482925415039, 0.012714802287518978, 0.05779360607266426, 0.02709336206316948, 0.0014483394334092736, -0.07007439434528351, 0.009886130690574646, 0.019981052726507187, 0.044660989195108414, 0.00233425828628242, 0.021988509222865105, -0.022604618221521378, 0.004085714463144541, 0.01473039761185646, 0.04111042246222496, 0.05490637198090553, 0.025957686826586723, -0.05250495299696922, 0.032947324216365814, 0.10568463802337646, 0.0025562949012964964, -0.005227789748460054, 0.013315756805241108, 0.021827204152941704, 0.021481482312083244, 0.022507349029183388, -0.016057705506682396, 0.04457122087478638, 0.029493387788534164, -0.0005160770961083472, 0.003073850879445672, 0.06245557963848114, -0.013339685276150703, 0.006888742092996836, -0.08183743804693222, -0.04703628644347191, 0.05232962965965271, -0.04478626325726509, -0.05099809169769287, 0.03975764662027359, 0.07802622020244598, 0.019495628774166107, 0.038404371589422226, -0.01643982157111168, -0.07266966253519058, 0.01896897703409195, 0.013748169876635075, 0.010430320166051388, 0.002555621089413762, 0.011963804252445698, 0.0827166885137558, 0.03838323801755905, -0.00995347648859024, 0.01858367770910263, -0.0810953676700592, -0.05805404484272003, -0.03032870404422283, 0.006163506302982569, 0.061056025326251984, -0.032320864498615265, 0.002889239229261875, 0.08413653075695038, 0.022388281300663948, 0.05044770985841751, 0.03002440743148327, 0.006188568193465471, 0.008609792217612267, -0.046789027750492096, -0.0538998544216156, 0.02392181009054184, 0.03437964990735054, -0.012585700489580631, -0.0490582212805748, 0.012334845028817654, -0.008601348847150803, -0.014292758889496326, 0.01114804670214653, 0.002404687227681279, 0.009368727914988995, 0.015213694423437119, 0.039918627589941025, -0.020602775737643242, 0.05472227931022644, -0.04809730872511864, 0.006164259742945433, 0.007220917381346226, -0.02289355918765068, 0.016462139785289764, 0.01177071500569582, 0.12358558177947998, 0.046526260673999786, -0.04680130258202553, -0.04544587433338165, 0.018605047836899757, 0.037307336926460266, -0.049971118569374084, 0.005066640209406614, -0.020627932623028755, -0.00007679787086090073, 0.015556629747152328, -0.040734656155109406, -0.039896074682474136, 0.01777874119579792, -0.03835022449493408, -0.019180718809366226, 0.06325177103281021, -0.026903294026851654, 0.06076110154390335, -0.0017121720593422651, -0.013617157936096191, -0.02962447516620159, -0.02613416314125061, -0.07269206643104553, 0.009149698540568352, 0.011828189715743065, -0.00994756817817688, 0.038073766976594925, -0.009332272224128246, -0.011605465784668922, -0.049926452338695526, -0.0326492041349411, 0.034644532948732376, 0.003091268939897418, 0.08010976016521454, -0.014252310618758202, 0.07230639457702637, 0.014835774898529053, 0.014130639843642712, -0.01043937262147665, -0.05536944046616554, -0.033121321350336075, -0.042704515159130096, 0.022530516609549522, 0.030070004984736443, 0.023485442623496056, -0.009028707630932331, 0.009271756745874882, 0.01649704948067665, -0.013427872210741043, -0.021604498848319054, 0.021313343197107315, -0.012990964576601982, -0.017456592991948128, -0.042896855622529984, -0.04505006968975067, 0.05783596634864807, -0.045206476002931595, -0.01847325637936592, 0.009288446046411991, -0.06807783991098404, 0.03581289201974869, -0.08750316500663757, -0.06791003793478012, 0.013123667798936367, 0.039780471473932266, 0.02769644558429718, 0.0038602466229349375, 0.002175759756937623, 0.07171700149774551, 0.00866318866610527, 0.013820533640682697, -0.007014497183263302, 0.00009805716399569064, 0.017866753041744232, -0.02608765847980976, -0.027394328266382217, 0.013025815598666668, 0.011578102596104145, 0.005611554719507694, -0.05923169478774071, 0.017482679337263107, 0.004049954004585743, -0.2831254005432129, 0.04177725315093994, 0.023147286847233772, -0.05892244353890419, 0.03656493499875069, -0.011479335837066174, 0.004973015747964382, -0.042396727949380875, -0.013832802884280682, 0.021102076396346092, -0.013320408761501312, -0.026407452300190926, -0.021520258858799934, 0.05934816971421242, -0.005215028766542673, 0.05019787326455116, 0.029348643496632576, -0.008246959187090397, -0.0004615621583070606, 0.04797111079096794, 0.015857934951782227, -0.08066089451313019, -0.011271671392023563, 0.023952119052410126, 0.03651781380176544, 0.04604309797286987, -0.08124060928821564, 0.03486090525984764, -0.04419032484292984, -0.002111556474119425, 0.01825892925262451, -0.00164123869035393, 0.01806732825934887, -0.017825890332460403, -0.02815324068069458, -0.02418137714266777, 0.03237324208021164, 0.02962823212146759, 0.01775205321609974, 0.022796427831053734, -0.03219515085220337, -0.049593064934015274, -0.03253934904932976, 0.01448064111173153, 0.08327468484640121, 0.0053649768233299255, -0.09642130136489868, 0.004284333903342485, -0.0279848650097847, 0.04048031568527222, -0.030984006822109222, -0.05656668543815613, -0.028182078152894974, 0.02762298844754696, -0.02101544663310051, -0.033080123364925385, -0.0027783913537859917, -0.018516816198825836, -0.031781889498233795, -0.06224644556641579, -0.0077009983360767365, -0.03769072890281677, -0.018983572721481323, -0.030881870537996292, 0.00439066207036376, -0.03602229803800583, -0.04657968878746033, 0.0016967958072200418, 0.07657605409622192, 0.030641397461295128, -0.029642175883054733, 0.0035727694630622864, 0.006875401828438044, -0.11022559553384781, -0.006191845051944256, -0.05364987999200821, -0.020394612103700638, -0.002149172592908144, -0.0004788243677467108, 0.04320308566093445, -0.014584197662770748, -0.02755950391292572, 0.010508987121284008, 0.03200404718518257, 0.03746965155005455, -0.03711795434355736, 0.03483414649963379, -0.0030403335113078356, -0.009927078150212765, 0.0010425288928672671, 0.08131195604801178, -0.01189967431128025, -0.024062659591436386, -0.027631649747490883, -0.0011494128266349435, 0.040885135531425476, 0.018699640408158302, -0.015521962195634842, 0.011998366564512253, 0.0422651506960392, 0.0319262333214283, -0.04569745808839798, 0.02432108297944069, -0.02395184151828289, -0.01370931789278984, -0.022632911801338196, -0.0430690161883831, 0.000012181967576907482, 0.0017666628118604422, 0.060517944395542145, -0.02993120439350605, -0.024773573502898216, 0.0032882080413401127, -0.04235973581671715, -0.047658536583185196, -0.011770403012633324, 0.01606888510286808, 0.01924862153828144, -0.021850524470210075, -0.027604468166828156, -0.06623478978872299, 0.029698815196752548, 0.01926896907389164, 0.001574426656588912, -0.05580407381057739, -0.04366971552371979, -0.01658879593014717, -0.01984618976712227, -0.0015356873627752066, 0.030787622556090355, -0.013752954080700874, 0.01855255290865898, 0.0033896763343364, -0.03007538989186287, 0.012783034704625607, -0.011116677895188332, -0.004477077163755894, -0.03579641133546829, -0.0009971363469958305, 0.0006731919711455703, 0.013161675073206425, 0.012830693274736404, 0.009091140702366829, 0.05018278956413269, 0.03604254871606827, 0.03912295028567314, 0.05765834450721741, 0.005279132165014744, 0.01507740467786789, 0.015634384006261826, -0.01342177577316761, -0.0561370775103569, 0.013596301898360252, -0.05133022740483284, -0.034324418753385544, -0.0338498093187809, 0.036461204290390015, -0.014804372563958168, -0.02682572975754738, -0.014268993400037289, 0.006136912386864424, -0.07045928388834, -0.03407130762934685, -0.017071306705474854, -0.020214183256030083, 0.06363291293382645, -0.023282909765839577, 0.03229568153619766, -0.0022629699669778347, -0.00024782304535619915, 0.0008265009964816272, 0.027048030868172646, -0.04938145726919174, 0.03614117205142975, 0.03249642625451088, -0.018307002261281013, -0.007725664880126715, 0.0025918532628566027, 0.03898542374372482, 0.009369482286274433, -0.002019138541072607, 0.0000450830593763385, -0.0057198042050004005, 0.007707021664828062, 0.06357190757989883, 0.0066914944909513, -0.021551739424467087, 0.04056752845644951, -0.000308575457893312, -0.009992776438593864, -0.022934801876544952, -0.0003790214250329882, 0.006086533423513174, 0.02742728218436241, 0.0038706487976014614, -0.08465251326560974, 0.052796509116888046, 0.027208637446165085, -0.004480536095798016, 0.015915529802441597, 0.008993428200483322, 0.0003741923428606242, -0.018958449363708496, 0.0150976637378335, 0.029258156195282936, -0.05773945897817612, 0.0009735152125358582, -0.0020297386217862368, 0.02412712574005127, 0.01290398370474577, 0.015465427190065384, -0.03367729112505913, -0.010707458481192589, 0.002910162089392543, 0.011267065070569515, -0.01942720264196396, -0.01937706023454666, -0.01284573134034872, 0.007210961543023586, -0.011387032456696033, -0.011058029718697071, -0.01737544685602188, 0.0006927532376721501, -0.018792828544974327, -0.02603326365351677, -0.007370461709797382, -0.0016491274582222104, -0.005223936401307583, -0.007406099699437618, -0.02741154655814171, 0.022700052708387375, -0.033685486763715744, 0.008609237149357796, 0.02637060359120369, -0.029630791395902634, -0.0003091108228545636, -0.03437046334147453, 0.020404700189828873, 0.017660072073340416, 0.0282074436545372, -0.022215237841010094, -0.020598599687218666, 0.0004678869154304266, -0.013460068963468075, -0.0352480486035347, 0.02263343334197998, -0.027966029942035675, 0.0012981098843738437, 0.012870087288320065, 0.047087714076042175, 0.009243851527571678, 0.045154109597206116, 0.0021478659473359585, -0.014118867926299572, 0.04594218358397484, -0.07263513654470444, -0.033488087356090546, -0.06049024313688278, -0.06674077361822128, 0.009853909723460674, 0.006882352288812399, 0.017509235069155693, -0.033889591693878174, 0.03943660110235214, 0.02229219488799572, 0.01696143113076687, 0.061659716069698334, 0.009085826575756073, 0.05396950989961624, -0.03679917752742767, 0.004958334378898144, -0.06878228485584259, -0.01166827417910099, 0.04621104523539543, 0.026061754673719406, -0.0036276369355618954, -0.002747294958680868, -0.044027045369148254, 0.053063564002513885, -0.06599300354719162, -0.01120886392891407, 0.029620502144098282, -0.016947198659181595, -0.02534341998398304, 0.002854440361261368, -0.07971002906560898, 0.005284033250063658, 0.006930234842002392, -0.025807280093431473, -0.03505565971136093, -0.030816007405519485, 0.06330019980669022, 0.007447652518749237, 0.012446988373994827, -0.049518883228302, 0.027894429862499237, 0.07268034666776657, 0.018769165500998497, 0.015129797160625458, 0.029310885816812515, -0.021999599412083626, 0.050934430211782455, 0.023885268718004227, 0.006025480572134256, 0.006557567045092583, 0.0029790708795189857, 0.0017618946731090546, -0.06510420143604279, 0.019260339438915253, 0.0026542190462350845, -0.03847689926624298, -0.04955640807747841, 0.06373053044080734, 0.026783384382724762, -0.0012979236198589206, -0.06112300604581833, 0.029124107211828232, -0.04186955466866493, -0.02982206642627716, -0.02770230360329151, 0.028812279924750328, -0.05265708640217781, 0.06565336138010025, 0.01753428392112255, -0.0011735482839867473, 0.06208037957549095, 0.018406538292765617, -0.020073287189006805, -0.018550511449575424, 0.08537442982196808, 0.06917516142129898, 0.054255593568086624, -0.00372289284132421, 0.05991757661104202, 0.005948761478066444, -0.047785643488168716, -0.007263428531587124, -0.012893780134618282, -0.047506511211395264, -0.033259447664022446, 0.036667171865701675, 0.061092451214790344, -0.005922099109739065, 0.06977681815624237, -0.036570265889167786, -0.001818477758206427, 0.004645777866244316, 0.01692979596555233, 0.01389726996421814, 0.0673360824584961, 0.00821799784898758, 0.03872990608215332, -0.04714253917336464, -0.04852794110774994, 0.01937808282673359, -0.02095767855644226, -0.03858482465147972, 0.03177814930677414, 0.002582679968327284, 0.017588188871741295, 0.02507242001593113, 0.009453090839087963, 0.08519245684146881, -0.03458943963050842, -0.001606839126907289, -0.021651210263371468, 0.015495780855417252, -0.01806599274277687, 0.0066161733120679855, -0.010647526942193508, -0.04035062715411186, 0.014244237914681435, -0.0223628431558609, -0.026532921940088272, -0.02211666852235794, -0.02570098452270031, 0.044585444033145905, -0.020311476662755013, -0.0014093996724113822, 0.009865240193903446, 0.0049986084923148155, -0.06388113647699356, -0.06406401842832565, -0.06081745773553848, -0.02865542285144329, -0.07311664521694183, -0.012056625448167324, 0.04208732768893242, 0.006773743312805891, -0.04902692139148712, -0.003584580961614847, -0.026271868497133255, -0.02941742166876793, 0.042272426187992096, -0.029192885383963585, -0.032977111637592316, 0.01096788328140974, 0.014778313226997852, 0.042921777814626694, 0.022795870900154114, 0.0738343596458435, -0.005165846552699804, 0.023899774998426437, -0.005693941377103329, 0.017072029411792755, 0.03872166946530342, 0.002998021198436618, -0.0071968333795666695, -0.09077712148427963, 0.023528914898633957, 0.02577250637114048, -0.02838868461549282, -0.06925124675035477, 0.019747624173760414, 0.028057437390089035, 0.003614662680774927, 0.05185730382800102, -0.03860097378492355, 0.0015666191466152668, -0.020425349473953247, -0.016725242137908936, 0.018247678875923157, 0.036173202097415924, 0.023856204003095627, -0.003954528830945492, 0.06983233243227005, 0.01499478705227375, -0.04886065423488617, -0.03773161768913269, 0.002061815932393074, -0.0074895271100103855, 0.0002784012467600405, -0.015339630655944347, -0.037039246410131454, -0.038389548659324646, -0.07854899019002914, -0.0413905568420887, 0.04190606623888016, -0.01938382349908352, -0.022931115701794624, 0.011631184257566929, 0.03992648050189018, -0.032402653247117996, 0.0030989916995167732, -0.025770947337150574, 0.03673985227942467, -0.03188950568437576, -0.019568951800465584, 0.0006773113855160773, 0.00890424381941557, -0.008095549419522285, -0.016515541821718216, 0.007704615127295256, -0.05027776584029198, -0.016355328261852264, -0.008545865304768085, 0.035599928349256516, 0.03556286543607712, -0.00030055086244829, 0.008952724747359753 ]
[ -0.08878780156373978, -0.007099994458258152, -0.0453421026468277, -0.024149736389517784, 0.012367993593215942, -0.06074471026659012, -0.015072060748934746, -0.01329210214316845, 0.016010552644729614, -0.019873840734362602, -0.010807371698319912, -0.03981330245733261, 0.006606072653084993, 0.027895256876945496, 0.07183396816253662, 0.008927330374717712, -0.0054578715935349464, -0.06798578798770905, -0.0004888561088591814, 0.017976073548197746, 0.017564211040735245, -0.02253578044474125, -0.042807504534721375, -0.02311345562338829, 0.0038178376853466034, 0.02833392284810543, 0.025189179927110672, -0.051310352981090546, -0.010354460217058659, -0.2028346061706543, 0.03911450877785683, -0.03439396992325783, 0.014756846241652966, -0.03399591147899628, 0.0018400519620627165, 0.02030579373240471, 0.035809848457574844, 0.04539864510297775, -0.010734417475759983, 0.062003131955862045, 0.035337697714567184, 0.05153581127524376, -0.09061869978904724, -0.003476249985396862, 0.00677909143269062, 0.01500858273357153, -0.031792059540748596, -0.04082685336470604, 0.010299550369381905, 0.051313526928424835, -0.05110996589064598, 0.019880246371030807, -0.03254856541752815, -0.02843104861676693, -0.010285547934472561, 0.020944952964782715, 0.0542144812643528, 0.09340536594390869, -0.015911944210529327, 0.005262880586087704, 0.0218359287828207, -0.011375234462320805, -0.1160929799079895, 0.0942646786570549, 0.03876286745071411, 0.046942852437496185, -0.01682083122432232, -0.04297589883208275, -0.022742372006177902, 0.09965598583221436, -0.02187495492398739, -0.013889572583138943, -0.02382730506360531, 0.06742122769355774, 0.01898813061416149, -0.01955977827310562, -0.0023555615916848183, 0.05019015446305275, 0.011206312105059624, -0.050551220774650574, -0.06730938702821732, -0.017034560441970825, 0.005377336870878935, -0.01812036894261837, -0.02518608048558235, 0.02723034843802452, -0.017709987238049507, 0.0424448624253273, 0.0591152086853981, 0.014102992601692677, 0.05021122097969055, 0.007983575575053692, 0.042009856551885605, 0.006113248411566019, -0.07847081124782562, 0.0061152176931500435, -0.010393090546131134, 0.057657331228256226, -0.04857921972870827, 0.4097200334072113, 0.0010145209962502122, -0.021884756162762642, 0.05330458655953407, 0.032097671180963516, -0.007983553223311901, -0.01807682029902935, 0.015645872801542282, -0.03630630671977997, 0.0234746802598238, -0.020367546007037163, 0.01194075308740139, -0.023821795359253883, 0.041997626423835754, -0.06022439897060394, 0.009215393103659153, 0.029383698478341103, 0.020742151886224747, 0.008447326719760895, -0.02336183749139309, 0.004513288848102093, -0.0220728050917387, 0.012455418705940247, 0.033940639346838, 0.012105906382203102, 0.017686618492007256, -0.015587614849209785, 0.030777478590607643, 0.05115106701850891, 0.015959247946739197, 0.006246691104024649, 0.03877028077840805, -0.054931219667196274, -0.10336410254240036, -0.01990441232919693, -0.004850719124078751, 0.006954999640583992, 0.017242105677723885, -0.0494978167116642, 0.03232886269688606, 0.02913760580122471, -0.034100182354450226, -0.02025853469967842, 0.03942215070128441, -0.008257742039859295, -0.041893649846315384, 0.12133078277111053, 0.030322149395942688, -0.009284287691116333, -0.06395167857408524, -0.06312774866819382, 0.0026210893411189318, 0.03970872983336449, 0.010768739506602287, -0.08589886128902435, -0.006471103057265282, 0.028865531086921692, 0.059462692588567734, 0.038307320326566696, -0.03887268528342247, -0.04873816668987274, -0.01261831820011139, -0.025052765384316444, -0.060515910387039185, 0.03957380726933479, 0.029164398089051247, -0.1048525720834732, -0.026308393105864525, 0.01278968807309866, 0.005569028202444315, -0.04564661905169487, 0.00541615579277277, 0.034641291946172714, -0.04025137796998024, -0.028114808723330498, 0.06991049647331238, -0.03952012583613396, -0.06755425035953522, -0.008132949471473694, 0.03376738727092743, 0.0036416135262697935, 0.023594768717885017, 0.022990399971604347, -0.048505302518606186, -0.0016679202672094107, -0.044257938861846924, -0.11195340007543564, -0.057503897696733475, 0.032450225204229355, -0.010671515949070454, -0.02795030176639557, -0.06216910853981972, -0.04536256194114685, -0.07585643231868744, 0.08708456158638, -0.020558713003993034, -0.025632547214627266, 0.03642701730132103, 0.025586331263184547, -0.013775547035038471, -0.01658194325864315, 0.044265612959861755, 0.03700882941484451, -0.04429451376199722, 0.061286672949790955, -0.056489232927560806, 0.042891789227724075, 0.0032463993411511183, -0.0435580313205719, 0.07575049251317978, 0.03687361627817154, -0.023846937343478203, -0.010858764871954918, -0.03951065242290497, 0.03686486557126045, -0.021212656050920486, -0.024562537670135498, 0.01724938489496708, 0.013936463743448257, 0.037620168179273605, 0.02454691007733345, 0.003108556382358074, -0.029351208359003067, 0.029169293120503426, -0.35282281041145325, -0.03956703096628189, -0.019113657996058464, 0.00268250098451972, 0.029474450275301933, -0.06129159778356552, 0.03569632023572922, -0.009355620481073856, -0.04492226988077164, -0.007340054959058762, 0.06064677983522415, -0.022255215793848038, 0.007480537053197622, -0.03858870267868042, 0.007035494316369295, 0.003662175266072154, -0.049001019448041916, -0.01706860587000847, -0.04199046641588211, -0.020242417231202126, 0.0036086803302168846, -0.012571705505251884, 0.008986649103462696, -0.09339629113674164, 0.03159278258681297, 0.00310083688236773, 0.108639657497406, -0.04323689267039299, 0.07306771725416183, -0.049267783761024475, 0.06373961269855499, -0.012915576808154583, -0.00025618597283028066, -0.0902785062789917, 0.00802259985357523, -0.015346448868513107, -0.007490206975489855, 0.017412662506103516, 0.037965357303619385, -0.025052474811673164, -0.06543241441249847, 0.011857684701681137, -0.032847680151462555, -0.05141539126634598, -0.020325029268860817, 0.03514424338936806, -0.014438360929489136, -0.03491556644439697, -0.023018784821033478, 0.061116646975278854, 0.0032537486404180527, 0.004069036804139614, 0.003881964599713683, 0.006609269883483648, 0.0395381897687912, -0.03255520015954971, -0.05666225776076317, -0.01644887775182724, -0.015421687625348568, 0.011461521498858929, 0.010571921244263649, 0.04975002631545067, 0.03611278533935547, -0.0339982770383358, 0.017664453014731407, 0.016281962394714355, -0.0018650476122274995, -0.008236286230385303, 0.02573537640273571, -0.046575646847486496, -0.03758569806814194, 0.1030881479382515, -0.02228298969566822, 0.0031476840376853943, 0.04438112676143646, 0.041412271559238434, -0.021215055137872696, 0.015859872102737427, 0.0076784733682870865, 0.01110467966645956, 0.04644560441374779, -0.0316714271903038, 0.0562359094619751, -0.007540241349488497, 0.00027789847808890045, 0.05032987892627716, -0.007737062405794859, 0.006963102146983147, 0.03118637204170227, -0.010199039243161678, -0.020635418593883514, -0.02279040589928627, -0.04099234938621521, -0.06548727303743362, 0.0765913650393486, -0.0037254123017191887, -0.24501843750476837, 0.03047540783882141, 0.05901431292295456, 0.032819993793964386, 0.023238524794578552, 0.02573707140982151, 0.035677216947078705, -0.0007521248771809042, 0.013064194470643997, -0.005519007332623005, 0.01467107143253088, 0.03881370648741722, -0.0022020370233803988, -0.008244665339589119, 0.038065604865550995, 0.013736209832131863, 0.05159314349293709, -0.017964499071240425, -0.0031831657979637384, 0.0002484319848008454, -0.004173720721155405, -0.04352575168013573, 0.16629056632518768, 0.01849585399031639, 0.028272854164242744, 0.02807929366827011, -0.018680451437830925, 0.040545232594013214, 0.08860877901315689, 0.025915034115314484, -0.01573062688112259, 0.0030396231450140476, 0.04002777487039566, 0.0068921372294425964, 0.021848976612091064, -0.055898476392030716, -0.009438948705792427, 0.03236771747469902, 0.030137035995721817, 0.0018326552817597985, 0.014719334430992603, 0.024266667664051056, -0.055806055665016174, 0.03295144811272621, 0.07570574432611465, 0.011730163358151913, -0.0013297810219228268, -0.029502365738153458, -0.02940422296524048, -0.004686411470174789, -0.019136764109134674, -0.04834137111902237, 0.019531777128577232, 0.0011843773536384106, 0.008606985211372375, 0.07784682512283325, -0.01013069599866867, -0.014022158458828926, -0.010619631968438625, 0.0259674284607172, 0.03234246000647545, 0.0282576996833086, 0.11201523244380951, -0.01639663800597191, 0.01895064301788807 ]
[ -0.02181994915008545, 0.031190121546387672, -0.030934806913137436, 0.005299000069499016, -0.03954167664051056, -0.03014792688190937, 0.024166572839021683, 0.016180017963051796, -0.009250077418982983, -0.008586307056248188, -0.033992949873209, -0.010954898782074451, 0.018954964354634285, -0.02721935324370861, 0.036403149366378784, -0.007818982936441898, -0.024427974596619606, 0.02914685197174549, 0.02503865770995617, -0.005107262171804905, 0.005707741715013981, 0.007894972339272499, 0.017243260517716408, -0.002327417256310582, 0.0010009307879954576, 0.02828865684568882, -0.026946760714054108, 0.0034965930972248316, 0.027953289449214935, -0.12297621369361877, -0.0191993098706007, -0.024024134501814842, -0.042925119400024414, 0.003088458674028516, -0.03428289666771889, -0.009503542445600033, -0.0135733587667346, 0.01697833649814129, -0.00046536483569070697, -0.0014086815062910318, 0.029162274673581123, -0.009217745624482632, -0.03225640952587128, 0.009615438058972359, -0.018279993906617165, -0.008371545001864433, 0.004134651739150286, 0.012295607477426529, -0.03641152009367943, -0.010903820395469666, -0.017014119774103165, -0.00007123740942915902, -0.017463408410549164, 0.02485775202512741, -0.0073056407272815704, 0.00939168967306614, 0.01267619151622057, 0.009407819248735905, -0.003769948612898588, -0.013376869261264801, 0.007352950982749462, 0.002460686955600977, -0.02882702648639679, -0.014990956522524357, -0.014445540495216846, -0.014584382064640522, -0.007296096067875624, 0.0002748098340816796, 0.0028703827410936356, 0.0006004535243846476, -0.019479235634207726, 0.011378160677850246, -0.02548389323055744, -0.028193093836307526, 0.011602785438299179, 0.02626863308250904, 0.04815685376524925, -0.02152184210717678, 0.0013108099810779095, -0.02513599768280983, -0.023363102227449417, 0.02079610712826252, 0.028701134026050568, -0.030127817764878273, 0.011459050700068474, -0.045763976871967316, 0.04498317837715149, -0.0267076063901186, 0.04976498708128929, -0.022566059604287148, 0.01579279825091362, 0.01668388769030571, -0.017216956242918968, 0.00884500052779913, -0.10330282151699066, 0.005986285395920277, 0.009777707979083061, -0.018011514097452164, 0.0015621617203578353, 0.8693272471427917, 0.007421975024044514, 0.018421489745378494, 0.03408104181289673, 0.027719272300601006, -0.012860291637480259, -0.01633695513010025, -0.009309130720794201, 0.006632303353399038, 0.005148525349795818, -0.06374738365411758, 0.025990396738052368, 0.027512555941939354, 0.0339076966047287, 0.011766810901463032, 0.0017357111210003495, 0.027470463886857033, 0.0011479203822091222, -0.018891602754592896, -0.007460608612746, -0.0007008376996964216, 0.002100698882713914, -0.012501177377998829, 0.007789075840264559, 0.008279149420559406, 0.01680988259613514, -0.1837257295846939, -0.007206611335277557, -8.306532382433813e-33, 0.020956315100193024, -0.016397815197706223, 0.03585994988679886, 0.005631224252283573, 0.00721702678129077, 0.008649899624288082, 0.004535093903541565, 0.020800504833459854, -0.0004339925944805145, 0.005266481079161167, 0.014964895322918892, -0.02257125824689865, -0.010581634007394314, -0.010278437286615372, 0.044647861272096634, -0.00482572428882122, -0.007294668350368738, 0.018166271969676018, 0.033761851489543915, 0.005103796720504761, 0.01434237789362669, 0.04839500039815903, 0.017652487382292747, 0.0037491251714527607, 0.0207452904433012, 0.024380134418606758, 0.0316261351108551, 0.003748159622773528, -0.004896419122815132, -0.04081534221768379, 0.031497128307819366, -0.01149760652333498, 0.010060922242701054, -0.007403469178825617, 0.029544567689299583, -0.034475188702344894, 0.01416867133229971, 0.02380039170384407, -0.014791167341172695, -0.022248029708862305, -0.027734344825148582, 0.00920777302235365, -0.0024607086088508368, 0.020031003281474113, -0.03190666809678078, -0.003990523982793093, 0.021755389869213104, 0.023614557459950447, 0.0035110514145344496, -0.009703374467790127, -0.006803807336837053, 0.008310738019645214, 0.001763093052431941, 0.029426392167806625, -0.0070948731154203415, 0.002854580758139491, -0.00035354940337128937, -0.02760658971965313, 0.01390712708234787, 0.03055146336555481, 0.013279085047543049, -0.02145836129784584, -0.020451413467526436, 0.01076137088239193, -0.03319893404841423, -0.010370888747274876, 0.049657806754112244, 0.003248294349759817, 0.022102486342191696, -0.008639040403068066, -0.020258920267224312, -0.006732431706041098, 0.0067277089692652225, -0.02040977030992508, 0.013946080580353737, -0.00444372184574604, -0.010455107316374779, 0.01253573875874281, -0.016414422541856766, 0.0267060324549675, 0.04089611396193504, 0.003466446651145816, -0.01146435271948576, -0.027091991156339645, -0.024453848600387573, -0.022466983646154404, 0.008635875768959522, -0.02230486460030079, -0.012235142290592194, 0.002403054852038622, 0.03089204616844654, 0.0554984025657177, 0.029157375916838646, -0.04280488193035126, -0.02132406085729599, 8.897558452399782e-33, -0.010396560654044151, -0.04129183292388916, -0.0035979102831333876, -0.010658885352313519, 0.022766852751374245, -0.005524447653442621, 0.01735655404627323, 0.005386750213801861, -0.051967453211545944, 0.00843415129929781, -0.01794515550136566, 0.023957591503858566, -0.02291216515004635, 0.03856475278735161, 0.020804889500141144, -0.013679957017302513, 0.014601514674723148, -0.025052662938833237, 0.028076687827706337, 0.03702196106314659, 0.02849254570901394, 0.009025507606565952, 0.005527711007744074, 0.019997386261820793, 0.007701277267187834, 0.039005715399980545, -0.030839720740914345, 0.008235436864197254, 0.00404780637472868, -0.005192354787141085, -0.017510464414954185, -0.01590839959681034, 0.025115041062235832, -0.009870787151157856, -0.05028218403458595, 0.018088705837726593, 0.017860420048236847, -0.020300980657339096, -0.003660389222204685, 0.008997066877782345, 0.03308919072151184, -0.003807722358033061, 0.010567277669906616, 0.012663069181144238, 0.008090417832136154, 0.002495045540854335, -0.008418633602559566, 0.0010318938875570893, -0.02261791005730629, 0.006898697465658188, -0.0033224758226424456, -0.0007440886693075299, -0.021728944033384323, 0.007862710393965244, 0.006778341718018055, -0.00021680961071979254, -0.06706176698207855, -0.0009356469381600618, -0.012363938614726067, 0.024831317365169525, 0.012486539781093597, 0.013388234190642834, -0.04296625778079033, 0.01611451618373394, -0.014665838330984116, 0.0276984553784132, -0.00026492035249248147, -0.03925541043281555, -0.0025785716716200113, -0.014884003438055515, -0.028612632304430008, -0.023527152836322784, -0.012594171799719334, 0.03293541818857193, 0.0265414547175169, -0.035777002573013306, -0.015753306448459625, -0.023053670302033424, 0.01661091297864914, 0.008290563710033894, 0.02024354785680771, -0.0169970765709877, -0.001379521214403212, -0.016658280044794083, -0.0021270120050758123, 0.0004580536624416709, -0.019997218623757362, 0.005791105795651674, -0.015618332661688328, -0.015044840052723885, -0.017487473785877228, -0.013417473994195461, 0.027441276237368584, 0.008613848127424717, 0.004787303041666746, -1.378832958920384e-8, 0.009300332516431808, -0.012293880805373192, 0.006392525043338537, 0.004436474293470383, 0.05987132340669632, -0.00007467970135621727, 0.0011348123662173748, -0.0020756206940859556, -0.026165219023823738, 0.023390967398881912, 0.033175721764564514, 0.018522050231695175, 0.003982557449489832, 0.02741703949868679, 0.0036597687285393476, -0.05462071672081947, 0.008647767826914787, -0.02525809034705162, 0.020109832286834717, -0.013111579231917858, 0.006325074005872011, 0.07678613811731339, -0.02437242865562439, -0.00878166314214468, 0.0508790947496891, 0.02044740691781044, 0.0377671904861927, -0.0594177208840847, 0.010375596582889557, 0.009660747833549976, -0.01133598480373621, -0.037117280066013336, -0.008136873133480549, 0.005843807011842728, -0.020097950473427773, -0.021513406187295914, -0.017307281494140625, 0.043308865278959274, 0.020714502781629562, -0.025837015360593796, -0.004912213422358036, -0.01071386318653822, 0.01272448617964983, -0.004983261227607727, -0.0025319582782685757, 0.016904769465327263, -0.0214154664427042, 0.029116559773683548, 0.03517746180295944, -0.04431720823049545, 0.004439135547727346, -0.01467188447713852, 0.020249338820576668, 0.007225563284009695, -0.016108650714159012, -0.020153574645519257, 0.012168877758085728, 0.009137991815805435, -0.015396049246191978, 0.008278625085949898, 0.02518075704574585, -0.0036559272557497025, -0.021403377875685692, -0.02841784432530403 ]
performance-caching-per-request
https://markhneedham.com/blog/2012/04/30/performance-caching-per-request
false
2012-04-08 20:11:57
Haskell: Processing program arguments
[ "haskell" ]
[ "Haskell" ]
My http://getprismatic.com/newsfeed[Prismatic news feed] recently threw up an interesting tutorial titled 'http://yannesposito.com/Scratch/en/blog/Haskell-the-Hard-Way/[Haskell the Hard Way]' which has an excellent and easy to understand section showing how to do IO in Haskell. About half way down the page there's an exercise to write a program which sums all its arguments which I thought I'd have a go at. We need to use the +++<cite>+++http://zvon.org/other/haskell/Outputsystem/getArgs_f.html[System.getArgs]+++</cite>+++ function to get the arguments passed to the program. It has the following signature: [source,haskell] ---- > :t getArgs getArgs :: IO [String] ---- Using that inside a 'do' block means that we can get the list of arguments as a List of String values. We then need to work out how to convert the list of strings into a list of integers so that we can add them together. The way I've done that before is with the +++<cite>+++read+++</cite>+++ function: [source,haskell] ---- > map (\x -> read x :: Int) ["1", "2"] [1,2] ---- That works fine as long as we assume that only numeric values will be passed as arguments but if not then we can end up with an exception: [source,haskell] ---- > map (\x -> read x :: Int) ["1", "2", "blah"] [1,2,*** Exception: Prelude.read: no parse ---- I wanted to try and avoid throwing an exception like that but instead add up any numbers which were provided and ignore everything else. The type signature of the function to process the inputs therefore needed to be: ____ [String] \-> [Maybe Int] ____ With a http://stackoverflow.com/questions/5121371/how-to-catch-a-no-parse-exception-from-the-read-function-in-haskell[bit of help from a Stack Overflow post] I ended up with the following code: [source,haskell] ---- import Data.Maybe intify :: [String] -> [Maybe Int] intify = map maybeRead2 maybeRead2 :: String -> Maybe Int maybeRead2 = fmap fst . listToMaybe . reads ---- +++<cite>+++reads+++</cite>+++ has the following signature: [source,haskell] ---- > :t reads reads :: Read a => ReadS a ---- which initially threw me off as I had no idea what 'ReadS' was. It's actually a synonym: [source,haskell] ---- type ReadS a = String -> [(a,String)] ---- (defined in +++<cite>+++.http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources?redirectedfrom=GhcDarcs[/Text/ParserCombinators/ReadP.hs]+++</cite>+++) In our case I thought it'd do something like this: [source,haskell] ---- > reads "1" [(1, "1")] ---- But defining the following in a file: [source,haskell] ---- a :: [(Int, String)] a = reads "1" ---- suggests that the string version gets lost: [source,haskell] ---- > a [(1,"")] ---- I'm not sure I totally understand how that works! Ether way, we then take the list of tuples and convert it into a Maybe using +++<cite>+++listToMaybe+++</cite>+++. So if we'd just parsed "1" we might end up with this: [source,haskell] ---- > listToMaybe [(1, "")] Just (1,"") ---- I only have a basic understanding of +++<cite>+++fmap+++</cite>+++ yet because I'm not up to that chapter in 'http://learnyouahaskell.com/functors-applicative-functors-and-monoids[Learn Me A Haskell]'. As far as I know it's used to apply a function to a value inside a container type object, i.e. the Maybe in this case, and then return the container type with its new value In our case we start with 'Just(1, "")' and we want to get to 'Just 1' so we use the 'fst' function to help us do that. The main method of the program reads like this to wire it all together: [source,haskell] ---- main = do args <- getArgs print (sum $ map (fromMaybe 0) $ (intify args)) ---- I'm using +++<cite>+++http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Maybe.html[fromMaybe]+++</cite>+++ to set a default value of 0 for any 'Nothing' values in the collection. I compile the code like this: [source,text] ---- > ghc --make learn_haskell_hard_way [1 of 1] Compiling Main ( learn_haskell_hard_way.hs, learn_haskell_hard_way.o ) Linking learn_haskell_hard_way ... ---- And then run it: [source,text] ---- >./learn_haskell_hard_way 1 2 3 4 10 > ./learn_haskell_hard_way 1 2 3 4 mark says hello 5 15 ----
null
null
[ -0.003954004030674696, 0.016173075884580612, -0.02660498209297657, 0.008680637925863266, 0.05670786648988724, 0.031784988939762115, 0.026168931275606155, 0.007110406178981066, 0.0075126164592802525, 0.006658564787358046, 0.006515288259834051, 0.005777318961918354, -0.0783035084605217, 0.019372714683413506, -0.011050079017877579, 0.0650968924164772, 0.07178845256567001, -0.035321373492479324, -0.00037823375896550715, -0.002321516862139106, 0.01922529935836792, 0.06753671169281006, -0.0004846954543609172, -0.0055536567233502865, 0.04105652496218681, 0.004988482221961021, 0.022668875753879547, 0.008418425917625427, -0.03323199599981308, -0.013174307532608509, 0.04155997186899185, 0.021445870399475098, 0.0033876528032124043, -0.03538767248392105, 0.009157928638160229, -0.0008202900644391775, -0.00011695103603415191, -0.03131662681698799, 0.025085370987653732, 0.04671666398644447, -0.04382965341210365, 0.024750765413045883, -0.04199362173676491, 0.03647734224796295, -0.054139360785484314, -0.008310097269713879, -0.036080896854400635, 0.017205290496349335, -0.036232564598321915, 0.005078633315861225, -0.0728430524468422, 0.03362760692834854, -0.024411795660853386, -0.013258512131869793, 0.030285894870758057, 0.034292642027139664, -0.0012331971665844321, -0.0864654928445816, 0.04242781922221184, -0.02362143248319626, -0.015209364704787731, 0.006251220125705004, 0.017158210277557373, 0.026320122182369232, 0.01540439948439598, -0.021510861814022064, -0.02469910867512226, 0.05789697915315628, -0.06881028413772583, -0.01562901958823204, -0.02883663959801197, 0.013746875338256359, -0.03232920169830322, -0.015239247120916843, 0.020918618887662888, -0.04834897443652153, 0.001865638536401093, 0.06106669083237648, 0.020636266097426414, 0.01672961562871933, -0.021111056208610535, 0.018464626744389534, 0.021867508068680763, -0.005799936130642891, 0.013092593289911747, -0.025753222405910492, -0.01929211989045143, 0.00820957776159048, -0.03402844816446304, 0.05245601758360863, 0.01705225743353367, -0.05494182929396629, -0.012662356719374657, 0.011677619069814682, 0.011084620840847492, 0.012208576314151287, -0.00608452595770359, -0.018781349062919617, 0.006970649119466543, 0.03174278885126114, -0.049827493727207184, -0.01855553314089775, 0.03749566152691841, 0.011286471970379353, -0.06445074081420898, -0.01851409673690796, -0.01253670547157526, -0.013217933475971222, 0.004482762888073921, 0.01918717660009861, -0.02088288590312004, 0.004479452036321163, -0.02920565940439701, -0.012702359817922115, -0.06235545128583908, 0.040164846926927567, 0.015760773792862892, -0.00025466419174335897, -0.011770819313824177, 0.04781021177768707, 0.041914843022823334, 0.011633507907390594, 0.007594757247716188, 0.06115928664803505, 0.028516212478280067, 0.024767715483903885, 0.010278885252773762, 0.06173056364059448, -0.02123941108584404, -0.053195539861917496, -0.05318782478570938, 0.06701035052537918, -0.022337688133120537, 0.0150098642334342, -0.017928365617990494, -0.026790542528033257, -0.03098428063094616, 0.028042489662766457, 0.03260863199830055, 0.04451798275113106, -0.001954682869836688, -0.042953673750162125, 0.021139079704880714, -0.023290198296308517, 0.013292261399328709, 0.010257447138428688, 0.012596329674124718, -0.0007545767584815621, -0.022066347301006317, 0.03377415984869003, 0.01816464401781559, 0.04863883927464485, 0.06738275289535522, -0.00588803319260478, 0.01108262687921524, 0.08024031668901443, 0.040878474712371826, 0.03716238588094711, -0.012669285759329796, 0.012328516691923141, 0.03609301522374153, 0.04482019320130348, 0.02622680366039276, 0.03415084630250931, 0.013040351681411266, -0.007215612102299929, -0.05099106207489967, 0.020823819562792778, -0.02977607399225235, -0.03471331298351288, -0.04311605170369148, -0.034748949110507965, 0.0643356442451477, -0.044028300791978836, 0.00460485415533185, -0.005597623996436596, 0.08437837660312653, 0.01238456554710865, 0.09155423194169998, -0.022693483158946037, -0.079600490629673, 0.036906540393829346, -0.016575513407588005, 0.04293496161699295, -0.028446266427636147, 0.015341040678322315, 0.05585554614663124, 0.03052336536347866, 0.017953353002667427, 0.007394023705273867, -0.039355795830488205, -0.08255493640899658, -0.015214850194752216, -0.01954064890742302, 0.0775328055024147, -0.036688800901174545, -0.003995297476649284, 0.0675322413444519, -0.0014837945345789194, 0.02854033373296261, 0.026116548106074333, -0.00762533163651824, 0.022159608080983162, -0.04045989736914635, -0.04381118714809418, 0.050607241690158844, 0.06390193104743958, -0.0011509464820846915, -0.031193437054753304, 0.005320215132087469, -0.018963126465678215, 0.01961122825741768, 0.037343528121709824, -0.03365783020853996, 0.03517443314194679, 0.04933036118745804, 0.03195466473698616, -0.006904785521328449, 0.05609123781323433, -0.05263704061508179, 0.003244390245527029, 0.02237386628985405, 0.019504249095916748, -0.009191414341330528, 0.004408601205796003, 0.134731262922287, 0.06345078349113464, -0.0191500186920166, -0.03582306206226349, -0.0008027521544136107, -0.00768274487927556, -0.03274567797780037, 0.00590895488858223, 0.020472142845392227, -0.03101523593068123, 0.001984895206987858, -0.010723872110247612, -0.0018909543287009, 0.005356484092772007, -0.04862222447991371, -0.0005762078217230737, 0.11088640242815018, -0.027122998610138893, 0.04465257748961449, -0.005440293811261654, -0.042540352791547775, -0.012643611058592796, -0.039263851940631866, -0.03354434296488762, 0.013639532960951328, 0.013409972190856934, -0.013645174913108349, 0.06844574958086014, -0.04923023283481598, -0.05633322149515152, -0.020610975101590157, -0.0408317856490612, 0.005293698515743017, 0.060419365763664246, 0.042933858931064606, -0.028545768931508064, 0.034869685769081116, -0.05031713470816612, 0.008444511331617832, -0.013246556743979454, -0.048110660165548325, -0.04531596601009369, 0.007835875265300274, 0.03209146112203598, 0.029784763231873512, 0.032631322741508484, 0.034363534301519394, 0.015991944819688797, -0.022800780832767487, -0.03624296188354492, -0.011580906808376312, 0.02160046622157097, -0.007058307994157076, -0.04416057467460632, -0.05752928927540779, -0.045567724853754044, 0.08247262984514236, -0.029063517227768898, -0.04054231941699982, -0.014695798978209496, -0.03712516650557518, 0.03806706890463829, -0.07730191946029663, -0.03762132674455643, 0.024433204904198647, 0.023515714332461357, 0.03326386958360672, -0.02803908661007881, -0.0031294727232307196, 0.06769529730081558, 0.012218121439218521, 0.03475169837474823, 0.0177324116230011, 0.01501525565981865, 0.017875738441944122, -0.008268087171018124, 0.0160515159368515, 0.047916676849126816, 0.0323132686316967, 0.011450530029833317, -0.07284502685070038, -0.001019358285702765, -0.013121770694851875, -0.2699406147003174, 0.02524835243821144, -0.03837061673402786, -0.016905460506677628, 0.01456973236054182, -0.017342284321784973, -0.011737750843167305, -0.04860018193721771, -0.006296669133007526, 0.034657713025808334, -0.02515280805528164, -0.0313301607966423, -0.0552804134786129, 0.03357846289873123, 0.024759002029895782, -0.010625694878399372, 0.018019123002886772, -0.054438069462776184, 0.0100965341553092, 0.03329843655228615, -0.004218851216137409, -0.07218695431947708, 0.023790905252099037, 0.07708611339330673, 0.027453260496258736, 0.05107573792338371, -0.06227396801114082, 0.04566068574786186, -0.037334538996219635, -0.004565790295600891, -0.02496524527668953, -0.005918934941291809, 0.0016257670940831304, -0.05140253156423569, -0.013541124761104584, -0.005842838902026415, 0.0046983929350972176, -0.010822748765349388, 0.01045497041195631, 0.04484640434384346, -0.03316381946206093, -0.04277699813246727, 0.021484022960066795, -0.009559455327689648, 0.0657336488366127, -0.02548147179186344, -0.06855934113264084, -0.00539154140278697, -0.034090299159288406, 0.09204775094985962, -0.051191963255405426, -0.012673106044530869, -0.014531810767948627, 0.013785253278911114, 0.002408720552921295, -0.011527900584042072, -0.0018762318650260568, -0.020708439871668816, -0.016665874049067497, -0.01191499549895525, -0.003919272217899561, -0.03240576758980751, -0.01730939745903015, -0.028581682592630386, -0.0427810363471508, -0.04433213919401169, -0.047941796481609344, -0.013052678667008877, 0.061570633202791214, 0.03275081887841225, 0.0027681065257638693, 0.011414908803999424, -0.017738133668899536, -0.11776981502771378, -0.014135178178548813, -0.019092867150902748, -0.05808063969016075, 0.0027434725780040026, 0.006983479019254446, 0.04788830131292343, -0.04326781630516052, -0.05625525489449501, 0.025395888835191727, -0.0053740134462714195, 0.033334869891405106, -0.03672453761100769, -0.008676053024828434, -0.02872207947075367, 0.005136111285537481, -0.006281913723796606, 0.053853776305913925, -0.02230994962155819, 0.018962571397423744, -0.025012170895934105, 0.005515068303793669, 0.04021298140287399, 0.03199268877506256, -0.02987009286880493, 0.04112596809864044, 0.024813257157802582, 0.03482601419091225, -0.03843143582344055, 0.022177450358867645, -0.05215875059366226, -0.01726216822862625, -0.03145792707800865, -0.04801928997039795, 0.029973365366458893, 0.052078209817409515, -0.03343002498149872, -0.0219294223934412, -0.04756119102239609, 0.008361468091607094, -0.060820166021585464, -0.050196338444948196, 0.013568030670285225, 0.009930516593158245, 0.017687853425741196, 0.01684018038213253, -0.03156118094921112, -0.058367203921079636, -0.01764582470059395, 0.017697550356388092, -0.03990788757801056, -0.06919713318347931, -0.018576201051473618, -0.01471037045121193, -0.04852299764752388, 0.007930765859782696, 0.04031883925199509, -0.008543848991394043, 0.01048788521438837, 0.02322176657617092, -0.00873754732310772, 0.005704132840037346, -0.0268494114279747, 0.005782849621027708, -0.012037253007292747, -0.007751187309622765, -0.03214532509446144, 0.021592669188976288, -0.013270344585180283, -0.009107173420488834, 0.03382963687181473, 0.0511893592774868, -0.008818153291940689, 0.016790036112070084, 0.01948818936944008, -0.016958484426140785, 0.03546528518199921, 0.0027979714795947075, -0.045060817152261734, 0.036683663725852966, -0.008273936808109283, -0.04300348833203316, 0.024905525147914886, 0.021930623799562454, -0.03581834211945534, -0.049411214888095856, -0.05356503650546074, 0.01793348602950573, -0.009892760775983334, -0.037853799760341644, -0.03692670911550522, -0.0060468800365924835, 0.04017070680856705, -0.04417235031723976, 0.046981748193502426, -0.03318532556295395, 0.003022013697773218, 0.009779321029782295, 0.017070621252059937, -0.0010920524364337325, 0.04101026430726051, -0.0014362032525241375, -0.04552515968680382, 0.026887914165854454, 0.03773412108421326, 0.04450707510113716, 0.006897485349327326, -0.025091124698519707, -0.030884433537721634, 0.009590120986104012, 0.001478645601309836, 0.03918488696217537, 0.01042578648775816, 0.0012857969850301743, -0.006481034215539694, -0.05075434595346451, -0.01773007959127426, -0.04433034732937813, -0.008788468316197395, -0.01116163656115532, 0.04332497715950012, -0.030938494950532913, -0.053433991968631744, 0.003918937407433987, 0.02134454809129238, 0.002868091221898794, 0.015183407813310623, 0.018191440030932426, -0.023139316588640213, -0.009789553470909595, 0.023549268022179604, 0.057107098400592804, -0.044990792870521545, 0.007309954613447189, 0.014878959394991398, 0.042876772582530975, 0.02687637321650982, 0.0293333288282156, -0.05213060602545738, -0.030571438372135162, 0.00019012100528925657, -0.014916534535586834, -0.035059843212366104, -0.015596338547766209, -0.02542233094573021, -0.00995459035038948, -0.004995234310626984, 0.0034424252808094025, 0.007014306262135506, 0.009706294164061546, -0.03607890382409096, -0.026332419365644455, -0.001858486793935299, -0.033874500542879105, -0.02211574651300907, 0.059778038412332535, -0.033684682101011276, 0.03657277300953865, -0.022014183923602104, 0.029533622786402702, 0.003093633335083723, 0.0025114603340625763, -0.02634911611676216, -0.06537751108407974, 0.035551875829696655, -0.056887056678533554, 0.07949359714984894, -0.007040930911898613, -0.016635991632938385, -0.013300655409693718, 0.0013372540706768632, -0.04456569626927376, -0.019747765734791756, 0.001807433902285993, -0.017512211576104164, 0.00772556709125638, 0.03810109943151474, -0.00023425070685334504, 0.02047155797481537, -0.01564202271401882, -0.04014496132731438, 0.04694245383143425, -0.02961384877562523, -0.046212270855903625, 0.00270827766507864, -0.034378305077552795, 0.02970941737294197, 0.001441153697669506, 0.03114093653857708, -0.034366197884082794, 0.05770770087838173, 0.050387922674417496, 0.03310345113277435, 0.04005490615963936, -0.015902921557426453, 0.01896951161324978, -0.01842481642961502, -0.03551619499921799, -0.09393502026796341, -0.014700224623084068, 0.01519812736660242, 0.007997547276318073, -0.028363334015011787, -0.03734825924038887, -0.01293649710714817, 0.041331831365823746, -0.07236627489328384, -0.028629621490836143, 0.020528683438897133, 0.005939196329563856, 0.01681666262447834, 0.024137912318110466, -0.03599843382835388, -0.0009774643694981933, 0.046144381165504456, 0.0045114546082913876, -0.009612753055989742, -0.04243113100528717, 0.05037108436226845, 0.020885009318590164, 0.028742628172039986, 0.0030211652629077435, -0.007516828365623951, 0.0582263246178627, 0.0311419814825058, 0.007170050870627165, 0.08715394139289856, -0.011958612129092216, 0.023995481431484222, 0.010494114831089973, -0.011178199201822281, -0.005180718842893839, 0.012883271090686321, -0.024460555985569954, -0.06204216554760933, 0.0223858542740345, 0.024959620088338852, -0.03273681551218033, -0.02606073021888733, 0.05401182547211647, 0.015248090028762817, -0.0199014600366354, -0.04116734117269516, 0.03181147947907448, -0.03679537773132324, 0.0018185166409239173, -0.0072082048282027245, -0.006653498392552137, -0.02179759554564953, 0.052494555711746216, -0.03335496410727501, 0.011213106103241444, 0.04552387446165085, 0.005998284090310335, -0.01673327200114727, -0.006213251501321793, 0.08542519807815552, 0.08584044128656387, 0.0419519878923893, 0.0056073772720992565, 0.04737623780965805, -0.03578020632266998, -0.0600939579308033, 0.03205443173646927, -0.05374811589717865, -0.013898788951337337, -0.013815508224070072, 0.021848464384675026, 0.08468558639287949, -0.018008166924118996, 0.03904344141483307, -0.03341781720519066, 0.014336707070469856, -0.010905629955232143, 0.025323275476694107, 0.008522050455212593, 0.03583085164427757, 0.015057800337672234, 0.026481250301003456, -0.0064513711258769035, -0.07783638685941696, 0.02804054506123066, 0.013252854347229004, -0.028028281405568123, -0.0008765817037783563, 0.0010454923612996936, 0.0203641839325428, 0.05862262472510338, 0.040762193500995636, 0.06361296772956848, -0.022258980199694633, -0.0027310324367135763, 0.020978568121790886, 0.04585174098610878, -0.00896498840302229, -0.019184939563274384, -0.00893313717097044, -0.023434670642018318, -0.004687471780925989, -0.005873056128621101, 0.005908211227506399, -0.010266123339533806, -0.055231235921382904, 0.04286251217126846, -0.03548572584986687, -0.016034932807087898, 0.0020657326094806194, -0.04384642094373703, -0.03297869488596916, -0.07665590196847916, -0.02880363166332245, -0.018733687698841095, -0.07112181186676025, 0.02158035896718502, 0.010686328634619713, -0.028273358941078186, -0.020749179646372795, -0.038891054689884186, -0.0014777554897591472, -0.030430056154727936, 0.03334416449069977, -0.014185450039803982, -0.03293764591217041, 0.017780592665076256, 0.018550222739577293, 0.02378254011273384, 0.06710244715213776, 0.019200142472982407, -0.01192485261708498, 0.004686946049332619, -0.012119775637984276, -0.007552981376647949, 0.06326030194759369, 0.03534663841128349, -0.00898787286132574, -0.07748225331306458, -0.012855078093707561, 0.04371403530240059, 0.0297568179666996, -0.07642854750156403, -0.0007681262213736773, 0.031079309061169624, -0.0021087885834276676, 0.04068556800484657, 0.0006884551257826388, -0.006196375470608473, -0.009959298186004162, -0.038273077458143234, 0.001029489329084754, 0.017584284767508507, 0.044958584010601044, -0.01107834279537201, 0.07006090134382248, 0.017236832529306412, -0.042592212557792664, -0.02759682573378086, -0.028157329186797142, -0.024408085271716118, 0.028207555413246155, -0.026507919654250145, -0.028575416654348373, -0.04382752254605293, -0.04175012558698654, -0.014397947117686272, 0.003142872592434287, -0.03203176334500313, -0.016945689916610718, 0.020814556628465652, 0.027335232123732567, -0.06988321244716644, 0.05341159179806709, -0.028546037152409554, 0.03875955194234848, -0.009403213858604431, -0.04021824896335602, 0.0006960785249248147, 0.06385097652673721, 0.0246651079505682, 0.0010442695347592235, 0.0194232314825058, -0.047832172363996506, -0.00227110437117517, 0.006958698388189077, 0.03845414146780968, 0.04590211063623428, -0.04149183630943298, 0.01801704429090023 ]
[ -0.12555168569087982, -0.05204014107584953, -0.031742729246616364, -0.015306376852095127, -0.026721356436610222, -0.03843016177415848, 0.005406281910836697, 0.03805055841803551, -0.0012309348676353693, -0.04571480676531792, -0.014908986166119576, -0.05414402484893799, 0.020759714767336845, -0.01680961437523365, 0.07071327418088913, 0.007522662170231342, -0.026905100792646408, -0.035842299461364746, -0.037610769271850586, 0.01688428595662117, 0.04278932139277458, -0.00882029626518488, -0.03472064062952995, -0.05737500637769699, 0.033853597939014435, 0.06182773411273956, 0.027936220169067383, -0.037752822041511536, -0.004811903461813927, -0.226674422621727, -0.014994153752923012, 0.011141648516058922, 0.03898806497454643, -0.04512271285057068, -0.03233537822961807, 0.05160203203558922, 0.00941440649330616, 0.008854633197188377, -0.005288910586386919, 0.06710659712553024, 0.05529932677745819, 0.033709459006786346, -0.025316471233963966, 0.0035647547338157892, 0.03733007609844208, -0.005336293485015631, -0.025182830169796944, -0.027352629229426384, 0.01614547334611416, 0.016159286722540855, -0.08980213105678558, 0.020212261006236076, 0.0005974415107630193, -0.006424646358937025, 0.00913284346461296, 0.01543432381004095, 0.05261829495429993, 0.09713734686374664, 0.02319183386862278, 0.002382970880717039, 0.0008610313525423408, -0.004864978604018688, -0.1289660781621933, 0.11942856013774872, 0.006577975582331419, 0.03839481994509697, -0.009104304946959019, -0.014683783054351807, -0.024069778621196747, 0.04756252467632294, 0.010155224241316319, -0.021313391625881195, -0.007583713158965111, 0.05674431845545769, 0.0124224117025733, -0.05121185630559921, 0.016101829707622528, 0.012813650071620941, 0.06968044489622116, -0.030911916866898537, -0.05385282635688782, -0.03339112922549248, -0.012048820964992046, 0.004704833496361971, 0.009968251921236515, 0.024088872596621513, -0.04045755788683891, 0.05887436121702194, 0.0408574678003788, -0.01979677379131317, 0.004377839621156454, -0.039687082171440125, 0.0026899753138422966, 0.03178803250193596, -0.034508928656578064, 0.0010961907682940364, 0.015287843532860279, -0.00451485812664032, -0.03125711530447006, 0.3985108435153961, -0.02348264865577221, -0.003316243179142475, 0.05167405307292938, 0.040627580136060715, 0.00048753959708847106, -0.012160900980234146, -0.01888584904372692, -0.0683421716094017, -0.04750143736600876, -0.06326844543218613, -0.03838735818862915, -0.021625610068440437, 0.10414714366197586, -0.07695625722408295, 0.005662363953888416, 0.010445995256304741, 0.056847620755434036, -0.0013387984363362193, 0.017061423510313034, -0.0064325034618377686, 0.0011337250471115112, -0.006538581568747759, -0.005403498653322458, 0.06573071330785751, 0.015214750543236732, -0.008739802986383438, 0.013788505457341671, 0.05807749554514885, 0.04525687173008919, 0.06766444444656372, 0.04318084940314293, -0.050957098603248596, -0.06786670535802841, -0.03488007187843323, 0.020199455320835114, 0.013254939578473568, 0.03237941116094589, -0.03182123228907585, 0.00789027288556099, 0.005433307960629463, 0.0033827845472842455, -0.039922989904880524, 0.02368606999516487, 0.0026857273187488317, 0.011317342519760132, 0.12934327125549316, 0.003076022956520319, -0.033016055822372437, -0.005533521994948387, -0.05755572393536568, 0.0026828704867511988, 0.035872720181941986, -0.005701804533600807, -0.05476545915007591, 0.01513902097940445, 0.02444034442305565, 0.07128212600946426, 0.0012046745978295803, -0.051440026611089706, -0.0024035267997533083, -0.06024913862347603, -0.01426664274185896, -0.03838977962732315, 0.05816148594021797, 0.008253848180174828, -0.044135600328445435, -0.03447043150663376, -0.005903563462197781, -0.007770565804094076, -0.07126956433057785, 0.014393795281648636, -0.012518003582954407, -0.021176829934120178, 0.021539349108934402, 0.054775845259428024, -0.02763979136943817, -0.018652895465493202, -0.03616895526647568, 0.0337572880089283, 0.048783332109451294, -0.0002071852795779705, 0.002544392365962267, -0.05188963934779167, -0.014960317872464657, -0.022820165380835533, -0.05965191498398781, -0.08560656756162643, -0.014169730246067047, -0.014594383537769318, -0.018891965970396996, 0.013880457729101181, 0.005411353427916765, -0.07872629165649414, 0.03882333263754845, -0.03860440477728844, -0.0009900820441544056, 0.048490311950445175, 0.019285211339592934, -0.0034850407391786575, -0.0057262941263616085, 0.024685639888048172, 0.034281983971595764, 0.0011196756968274713, 0.005472990684211254, -0.07633444666862488, -0.016529155895113945, 0.028900479897856712, -0.04431235045194626, 0.06699643284082413, 0.02048301137983799, 0.00014891014143358916, 0.014141000807285309, -0.02518446184694767, 0.03588476404547691, -0.024611253291368484, -0.03685400262475014, 0.0378432422876358, -0.02353079430758953, 0.01981768198311329, 0.024266602471470833, -0.0472111739218235, -0.07844235002994537, -0.055033739656209946, -0.3370021879673004, -0.06318911910057068, -0.0023849590215831995, -0.03177378326654434, 0.002128395950421691, -0.10721947252750397, 0.010064713656902313, -0.005395873449742794, -0.05163022130727768, 0.06107257306575775, 0.08097468316555023, -0.021844305098056793, -0.006442577578127384, -0.09217479825019836, 0.011246852576732635, 0.02093075029551983, -0.021764298900961876, -0.021242111921310425, -0.021637406200170517, 0.0601038932800293, -0.03578878939151764, -0.018725991249084473, -0.01724250428378582, -0.050338100641965866, -0.030796855688095093, -0.055940307676792145, 0.10938964039087296, 0.027009179815649986, 0.09511721134185791, -0.06400687247514725, 0.0516972690820694, -0.014891627244651318, 0.0061346739530563354, -0.05406256765127182, -0.025554105639457703, -0.033747877925634384, -0.014467108063399792, 0.012351995334029198, 0.06312349438667297, -0.030245410278439522, -0.055477578192949295, 0.0034539434127509594, -0.06005564332008362, -0.01135162077844143, 0.0017688993830233812, 0.01976441591978073, -0.009303227998316288, -0.04064526781439781, 0.002126706065610051, 0.07801446318626404, 0.02299884334206581, 0.035545382648706436, 0.012133981101214886, -0.004907178692519665, -0.007612877059727907, -0.016270434483885765, -0.04200638458132744, -0.04991168901324272, 0.01067404542118311, -0.0232631117105484, 0.032307449728250504, 0.070967897772789, 0.04933219403028488, -0.013896271586418152, 0.014000065624713898, 0.010271270759403706, -0.018784109503030777, 0.015551856718957424, 0.026633430272340775, -0.0060879201628267765, -0.016022704541683197, 0.08290406316518784, -0.010741249658167362, 0.006141433492302895, 0.036367204040288925, 0.06327982246875763, -0.012263339012861252, 0.03242960199713707, 0.04412350431084633, -0.0010683145374059677, 0.009452356956899166, 0.0012087025679647923, 0.0063657560385763645, -0.019318511709570885, -0.014988163486123085, 0.04599985480308533, -0.021061889827251434, 0.03147920221090317, 0.020373951643705368, 0.0036988810170441866, -0.01234075054526329, 0.029367417097091675, 0.019964134320616722, -0.021077388897538185, 0.050945211201906204, 0.003217661753296852, -0.2537713944911957, 0.035544149577617645, 0.04192414879798889, 0.014279280789196491, -0.015248672105371952, 0.009857388213276863, 0.05243907868862152, -0.09034578502178192, -0.02507190965116024, -0.012403784319758415, 0.039997074753046036, 0.030184591189026833, 0.013861354440450668, -0.006212415173649788, 0.026232756674289703, -0.013349483720958233, 0.06607061624526978, 0.022366611286997795, 0.0005159354186616838, 0.010632624849677086, 0.04123169556260109, 0.011422209441661835, 0.2092755138874054, 0.002241278300061822, -0.0027477010153234005, 0.02129395678639412, 0.00858143251389265, 0.012735179625451565, 0.08173894137144089, 0.028534188866615295, -0.0020260289311408997, -0.00900891050696373, 0.03789209574460983, -0.008693214505910873, 0.03759436309337616, -0.021578717976808548, -0.00014247522631194443, 0.022833794355392456, -0.004255547188222408, -0.023868059739470482, -0.005217880476266146, 0.033171795308589935, -0.019314834848046303, 0.04470774903893471, 0.04128006100654602, -0.002883938839659095, -0.022634293884038925, -0.03886900097131729, -0.035419538617134094, 0.03822843357920647, -0.03328178450465202, -0.0007764702313579619, -0.00295936013571918, -0.022839784622192383, 0.006842693313956261, 0.04204912856221199, 0.0019838956650346518, -0.018882257863879204, -0.014901340939104557, 0.031504079699516296, 0.009571140632033348, -0.0031119431369006634, 0.11098765581846237, 0.014993302524089813, 0.04522927477955818 ]
[ -0.015272598713636398, 0.01862555742263794, -0.01131272129714489, 0.023381665349006653, 0.008634829893708229, -0.011028938926756382, 0.026850733906030655, 0.022094618529081345, -0.03040231764316559, -0.033448901027441025, -0.06051076203584671, -0.023046163842082024, 0.04993483051657677, -0.05071452260017395, -0.004364101681858301, 0.0021457260008901358, 0.009109712205827236, 0.006549184676259756, 0.02789805829524994, -0.05468175560235977, 0.0006347296293824911, 0.05903300642967224, 0.01970137469470501, 0.01994970627129078, -0.003851771354675293, 0.03329126909375191, -0.05261502042412758, -0.021578894928097725, 0.03503277525305748, -0.12353088706731796, -0.01590188592672348, -0.017250608652830124, 0.022760797291994095, -0.01882627233862877, -0.023098213598132133, 0.026810655370354652, 0.019366197288036346, 0.0003384442825336009, -0.040032319724559784, 0.011925560422241688, -0.008608072996139526, 0.005461827386170626, -0.014498595148324966, -0.01391785778105259, 0.001125908107496798, -0.004278719425201416, 0.01070033386349678, -0.017582260072231293, -0.007999860681593418, 0.01904129795730114, -0.046879369765520096, 0.03040594607591629, -0.0058805206790566444, 0.03074907884001732, 0.009158932603895664, -0.016714410856366158, -0.03404576703906059, -0.04363231360912323, -0.030274206772446632, -0.03139134868979454, -0.0353175550699234, 0.012057612650096416, -0.04571292921900749, -0.013050206005573273, -0.00041827239328995347, 0.019091695547103882, 0.005024854093790054, -0.01810685358941555, 0.017118582502007484, -0.007476516533643007, 0.011022052727639675, 0.020491575822234154, -0.059468526393175125, -0.034776851534843445, 0.0012787363957613707, -0.022755645215511322, 0.06649567186832428, -0.04702459275722504, -0.004062657710164785, -0.015348129905760288, -0.008976291865110397, -0.03555184230208397, 0.03916838392615318, -0.00808001309633255, 0.0001406496303388849, 0.004812788218259811, -0.014926895499229431, 0.04638896510004997, 0.00019741257710848004, -0.013411157764494419, -0.006789219565689564, 0.02403579093515873, 0.0530451163649559, 0.018018925562500954, -0.006517481058835983, 0.02642490155994892, -0.028303300961852074, -0.015641197562217712, -0.025517385452985764, 0.8136245012283325, -0.004885592497885227, 0.03983059898018837, 0.012992189265787601, -0.0036245419178158045, -0.003330488223582506, -0.047363851219415665, -0.01075579784810543, 0.023760858923196793, 0.011288651265203953, -0.037816841155290604, 0.051094524562358856, -0.015309605747461319, 0.06563900411128998, 0.032676007598638535, -0.006513071246445179, 0.02252967096865177, 0.03392525389790535, -0.0003619191120378673, 0.004056575242429972, -0.0025267405435442924, 0.03580544888973236, 0.0034541552886366844, -0.004502377472817898, 0.03374980762600899, 0.010835116729140282, -0.1920587718486786, -0.005541606806218624, -7.650167193661357e-33, 0.026679934933781624, -0.007189683150500059, 0.005040776915848255, -0.005698446650058031, 0.025090748444199562, 0.025909146293997765, 0.031944639980793, 0.011844142340123653, -0.017569754272699356, -0.0043256646022200584, 0.030532974749803543, -0.024594150483608246, -0.020155465230345726, -0.0004217446257825941, 0.04600788280367851, -0.002539395121857524, 0.021866271272301674, 0.03747013583779335, 0.0019045710796490312, -0.012293282896280289, 0.02537362463772297, 0.04748043045401573, 0.013568688184022903, 0.01824646256864071, 0.027136394754052162, 0.05202566832304001, -0.003456217236816883, -0.0007459216867573559, -0.006784502882510424, -0.050225093960762024, -0.016149641945958138, 0.0015294732293114066, -0.02268684096634388, 0.005034029018133879, 0.04897147789597511, -0.049745671451091766, -0.00006846060568932444, 0.022051842883229256, -0.019353099167346954, -0.01912386529147625, -0.0459832027554512, 0.032327570021152496, -0.010623273439705372, -0.02745823934674263, 0.022955836728215218, -0.03969405218958855, 0.02538771741092205, 0.024868788197636604, 0.022265003994107246, 0.02074064128100872, 0.013512928038835526, 0.018906572833657265, -0.01116876769810915, 0.02465311624109745, -0.020890172570943832, 0.0004166839353274554, -0.011008212342858315, 0.02057485841214657, 0.010567359626293182, 0.056320492178201675, -0.02990887686610222, 0.03260640427470207, 0.018810799345374107, 0.0414925180375576, -0.01649107225239277, -0.021543411538004875, -0.014565329998731613, 0.02266719564795494, 0.009949004277586937, 0.0649680569767952, -0.01924174651503563, 0.0020272282417863607, -0.0272701233625412, -0.007655287627130747, 0.010338927619159222, -0.04133424162864685, -0.03705059364438057, -0.05308642238378525, -0.0164023544639349, 0.034805383533239365, 0.05977475270628929, -0.040597688406705856, 0.03208881989121437, 0.026849521324038506, -0.03918787091970444, 0.02355145663022995, 0.02217823453247547, 0.021930301561951637, -0.009246251545846462, -0.02783016674220562, -0.0015206091338768601, 0.04409392178058624, -0.0219400804489851, -0.03145470842719078, -0.0019307505572214723, 7.66567563756855e-33, -0.04522395506501198, -0.03034544363617897, -0.0006568912067450583, 0.027216535061597824, -0.01642746850848198, -0.00031848420621827245, 0.03187736123800278, 0.004900116473436356, -0.0036682116333395243, 0.03847520053386688, 0.004047276917845011, 0.005651264451444149, -0.01661319099366665, 0.006425050552934408, 0.032429978251457214, -0.05165889486670494, 0.010876338928937912, 0.02007153257727623, 0.009960443712770939, 0.009062902070581913, 0.013564548455178738, -0.0014014284824952483, 0.008319627493619919, 0.013643334619700909, 0.022030126303434372, 0.04452880844473839, -0.011887339875102043, 0.007962302304804325, 0.0005289394175633788, -0.0011187519412487745, 0.02240152284502983, -0.020625384524464607, 0.023854902014136314, -0.043435145169496536, 0.005818060599267483, 0.025671569630503654, 0.02437000721693039, 0.011132567189633846, 0.03409683704376221, 0.018459578976035118, 0.0018745532725006342, -0.01841205172240734, 0.04023680090904236, -0.0021684253588318825, -0.0025712938513606787, -0.015049654990434647, -0.002892756136134267, -0.009985638782382011, 0.014098611660301685, -0.006402268074452877, 0.02253788337111473, -0.010202066972851753, -0.0038743780460208654, 0.019980087876319885, 0.007981459610164165, -0.010331603698432446, -0.01068073883652687, 0.01858951337635517, -0.025470608845353127, -0.03184898570179939, -0.03476531058549881, 0.01864546351134777, -0.023963667452335358, -0.009604647755622864, -0.005773196462541819, -0.03381951525807381, -0.047939836978912354, -0.07894290238618851, -0.02010577917098999, 0.02305315062403679, -0.014053930528461933, -0.016928505152463913, -0.006623310502618551, 0.026293165981769562, -0.05244874954223633, 0.00019217135559301823, -0.028757136315107346, 0.019435454159975052, 0.024779338389635086, 0.020478013902902603, 0.027694612741470337, -0.017395203933119774, 0.07020862400531769, 0.0014584888704121113, 0.008374126628041267, -0.04125422611832619, 0.02559743821620941, 0.02246101200580597, 0.035906460136175156, -0.0303626898676157, -0.021943233907222748, -0.009014484472572803, -0.00479982141405344, -0.0010865391232073307, 0.0027299828361719847, -1.3014320288107228e-8, 0.01378483697772026, -0.06528996676206589, -0.07128092646598816, 0.05269021913409233, 0.001608608872629702, 0.026097234338521957, -0.037027131766080856, -0.06413178890943527, -0.018397826701402664, 0.014240540564060211, -0.00879734754562378, -0.010513633489608765, -0.010023797862231731, 0.00402887724339962, 0.029345139861106873, -0.03308510035276413, 0.050997182726860046, -0.04478977248072624, 0.021757302805781364, -0.027151213958859444, 0.008755161426961422, 0.014097929000854492, 0.006483240053057671, -0.026872387155890465, -0.009349123574793339, -0.027079593390226364, 0.038634009659290314, -0.07636483013629913, 0.00735638989135623, -0.01126861572265625, 0.011903551407158375, -0.045313362032175064, -0.01572592370212078, 0.012130466289818287, -0.010734985582530499, -0.023396091535687447, -0.014741980470716953, 0.007462258450686932, 0.02545473538339138, -0.030438749119639397, 0.007115243934094906, 0.008893423713743687, 0.01737055368721485, -0.011396525427699089, -0.01183922030031681, -0.04407978430390358, 0.009802603162825108, -0.024784551933407784, 0.05030643567442894, -0.03568568080663681, 0.03454122319817543, -0.016311004757881165, 0.05617139860987663, 0.0010535670444369316, 0.03741099312901497, 0.02273806743323803, 0.021051276475191116, -0.06735499203205109, -0.029186878353357315, 0.010997451841831207, 0.031498368829488754, 0.0005875806673429906, -0.040684882551431656, -0.02482284978032112 ]
haskell-processing-program-arguments
https://markhneedham.com/blog/2012/04/08/haskell-processing-program-arguments
false
2012-04-24 07:17:24
Algo Class: Start simple and build up
[ "algo-class" ]
[ "Software Development", "Algorithms" ]
Over the last six weeks I've been working through Stanford's https://www.coursera.org/course/algo[Design and Analysis of Algorithms I] class and each week there's been a programming assignment on a specific algorithm for which a huge data set is provided. For the first couple of assignments I tried writing the code for the algorithm and then running it directly against the provided data set. As you might imagine it never worked first time and this approach led to me becoming very frustrated because there's no way of telling what went wrong. By the third week I'd adapted and instead tested my code against a much smaller data set to check that the design of the algorithm was roughly correct. I thought that I would be able to jump straight from the small data set to the huge one but realised that this sometimes didn't work for the following reasons: . An inefficient algorithm will work fine on a small data set but grind to a halt on a larger data set. e.g. my implementation of the http://en.wikipedia.org/wiki/Strongly_connected_component[strongly connected components (SCC)] graph algorithm did a scan of a 5 million element list millions of times. . An incorrect algorithm may still work on a small data set. e.g. my implementation of SCC didn't consider that some vertices wouldn't have forward edges and excluded them. My colleague Seema showed me a better approach where we still use a small data set but think through all the intricacies of the algorithm and make sure our data set covers all of them. For the SCC algorithm this meant creating a graph with 15 vertices where some vertices weren't strongly connected while others were connected to many others. In my initial data set all of the vertices were strongly connected which meant I had missed some edge cases in the design of the algorithm. Taking this approach was very effective for ensuring the correctness of the algorithm but it could still be inefficient. I used http://visualvm.java.net/[Visual VM] to identify where the performance problems were. In one case I ended up running out of memory because I had 3 different representations of the graph and was inadvertently using all of them. I made the stupid mistake of not writing any automated tests for the smaller data sets. They would have been very helpful for ensuring I didn't break the algorithm when performance tuning it. I should really have learnt that lesson by now given that I've been writing code in a test driven style for nearly six years but apparently I'd turned off that part of my brain. Looking forward to Design and Analysis of Algorithms II!
null
null
[ 0.01428469642996788, 0.0008634066907688975, -0.012172188609838486, 0.07255029678344727, 0.07677441835403442, 0.03299480304121971, 0.017656665295362473, 0.04585665836930275, 0.014141373336315155, -0.019018666818737984, 0.009907258674502373, -0.011320456862449646, -0.0685034841299057, 0.0244674663990736, -0.016637491062283516, 0.06346636265516281, 0.07099220156669617, 0.0008823192329145968, 0.018592538312077522, 0.023358136415481567, 0.022614574059844017, 0.045149631798267365, 0.013746814802289009, 0.0388018824160099, 0.023671548813581467, -0.004942205268889666, -0.002632339484989643, -0.0051123048178851604, -0.04195736348628998, 0.01987530291080475, 0.05345788970589638, 0.008898496627807617, 0.0062650032341480255, 0.0023938873782753944, 0.035620685666799545, -0.012952730059623718, -0.046499647200107574, 0.028960727155208588, -0.004910152405500412, 0.024813445284962654, -0.0777776688337326, 0.05259948596358299, -0.02212592400610447, 0.014258700422942638, -0.028180884197354317, 0.011276799254119396, -0.037817247211933136, 0.016350889578461647, 0.016729893162846565, 0.014298206195235252, -0.07781999558210373, 0.03740518540143967, 0.01887757144868374, 0.01221045944839716, -0.03921164572238922, 0.05186648666858673, 0.04033023491501808, -0.05360359698534012, 0.025736570358276367, -0.05237377807497978, -0.005452529527246952, -0.016878783702850342, -0.015373003669083118, 0.03676792234182358, -0.012935594655573368, -0.027010297402739525, 0.01053592935204506, 0.0663711354136467, -0.030953532084822655, 0.0036844732239842415, -0.01504639070481062, 0.015346578322350979, -0.01555951964110136, -0.00254235346801579, -0.0022382086608558893, -0.040006689727306366, 0.00047132675535976887, 0.049970030784606934, 0.012916109524667263, 0.022239645943045616, -0.022776665166020393, 0.024802567437291145, 0.014052441343665123, 0.024408573284745216, 0.006336260586977005, -0.03172086551785469, -0.04889552667737007, -0.04354950413107872, -0.06498367339372635, 0.04308326542377472, 0.013928997330367565, -0.06693601608276367, 0.0018907448975369334, 0.034591373056173325, -0.01829228736460209, 0.0056732152588665485, 0.008853862062096596, -0.021525761112570763, -0.022478900849819183, -0.02876485511660576, -0.023333031684160233, -0.03303825855255127, 0.013702978380024433, 0.03519687056541443, -0.07316821813583374, -0.004542753100395203, -0.016385501250624657, -0.001530658919364214, -0.0022302104625850916, 0.0017123378347605467, -0.034988630563020706, -0.0019723400473594666, -0.027330975979566574, -0.015684593468904495, -0.09681325405836105, 0.06929421424865723, -0.0032447283156216145, -0.03082842379808426, -0.020216790959239006, 0.015571258962154388, 0.03456563130021095, 0.026805466040968895, -0.016266020014882088, 0.08883173018693924, -0.02166133187711239, 0.02782789245247841, 0.01354786567389965, 0.048756781965494156, -0.02441413886845112, -0.06096728891134262, -0.03148927912116051, 0.04975448176264763, -0.003226442961022258, -0.008158829994499683, 0.008472000248730183, -0.02919842302799225, -0.009321759454905987, 0.013004765845835209, 0.02408401295542717, 0.03711036592721939, 0.007611035369336605, -0.04519916698336601, 0.02087499015033245, 0.0035973715130239725, 0.022789735347032547, 0.00046720635145902634, 0.004861386027187109, -0.019161313772201538, -0.0145036019384861, 0.000349644134985283, -0.005768543109297752, 0.04215163365006447, 0.007238027639687061, -0.03612628951668739, 0.015878573060035706, 0.11504059284925461, -0.0037914642598479986, 0.03006059303879738, -0.01011594943702221, 0.028623908758163452, 0.044778916984796524, 0.019781775772571564, 0.014341888017952442, 0.024151241406798363, 0.01464396994560957, -0.009730776771903038, 0.023847859352827072, 0.05603260546922684, -0.04485946521162987, 0.012979486957192421, -0.0571339949965477, -0.04016213119029999, 0.05020429193973541, -0.05316854268312454, -0.025800282135605812, 0.04401949793100357, 0.07953672111034393, 0.022976920008659363, 0.03606283664703369, -0.008986679837107658, -0.07275749742984772, 0.01795930042862892, 0.02358381822705269, 0.02501562237739563, 0.00690854899585247, -0.006982115097343922, 0.0861361175775528, 0.03634687885642052, 0.004410667344927788, 0.011678485199809074, -0.06797392666339874, -0.07284335047006607, -0.00487646646797657, -0.03065125271677971, 0.07259329408407211, -0.019590221345424652, 0.0068063694052398205, 0.03371049836277962, 0.006379406899213791, 0.0477440282702446, 0.037204597145318985, -0.006134139373898506, 0.01544997375458479, -0.052390169352293015, -0.05813984572887421, 0.04497421160340309, 0.04324433580040932, -0.05118444561958313, -0.06707274913787842, 0.01912790723145008, -0.02183220349252224, -0.01998644880950451, 0.0198705792427063, -0.014632219448685646, 0.03866235539317131, 0.005130302626639605, 0.04479087144136429, -0.020082708448171616, 0.06078062951564789, -0.06924811005592346, 0.03597665950655937, -0.005369862075895071, -0.02944243885576725, 0.006117671262472868, 0.005556636955589056, 0.12657667696475983, 0.06988440454006195, -0.03744960203766823, -0.034950580447912216, 0.01856420747935772, 0.007653688080608845, -0.043977100402116776, 0.008323349058628082, -0.01767389290034771, 0.0006927310605533421, 0.004540050867944956, -0.05004501715302467, -0.020914198830723763, 0.057309042662382126, -0.03641534596681595, -0.022108234465122223, 0.0668599084019661, -0.02969532646238804, 0.06235763803124428, 0.004631150513887405, -0.015444308519363403, 0.011813291348516941, -0.022011784836649895, -0.04798256605863571, 0.007837638258934021, -0.0013856444275006652, -0.004710063338279724, 0.0441005565226078, -0.02035347931087017, -0.05878091976046562, -0.032729074358940125, -0.010982629843056202, -0.006842261645942926, 0.054576657712459564, 0.059672195464372635, 0.011505099944770336, 0.039020515978336334, -0.0031312063802033663, -0.003905799239873886, -0.0010519567877054214, -0.07325977087020874, -0.030861949548125267, -0.02796585112810135, 0.023031853139400482, 0.01540100947022438, 0.008658213540911674, -0.001872250926680863, 0.04621834680438042, -0.006808276753872633, -0.011381140910089016, -0.02952062338590622, 0.045027974992990494, -0.011565974913537502, -0.0303073450922966, 0.005069720558822155, 0.004002030938863754, 0.0565483532845974, -0.05200318247079849, -0.013950557447969913, 0.008571488782763481, -0.045464977622032166, 0.061067767441272736, -0.07543573528528214, -0.037958595901727676, 0.006479816045612097, 0.027206210419535637, 0.05045795813202858, -0.04053857922554016, -0.01566409133374691, 0.08860211074352264, -0.006978094577789307, 0.011421876028180122, -0.023907290771603584, 0.004537096247076988, 0.02012370340526104, 0.009824641980230808, 0.03054175153374672, 0.030294030904769897, -0.00002578767634986434, -0.027266694232821465, -0.024393197149038315, 0.02019173465669155, -0.015523913316428661, -0.2796146869659424, 0.020535625517368317, -0.00077313237125054, -0.04101981222629547, 0.0011417386122047901, -0.033864326775074005, 0.012442333623766899, -0.023654306307435036, -0.012472481466829777, -0.0054566641338169575, -0.006889057345688343, -0.024987636134028435, -0.058262091130018234, 0.07654018700122833, 0.02347816526889801, 0.024937886744737625, -0.00039348966674879193, -0.04960081726312637, 0.006797159090638161, 0.050740018486976624, 0.014800775796175003, -0.06152108684182167, -0.004070626106113195, 0.03441377729177475, 0.04484674334526062, 0.05794695019721985, -0.11015628278255463, 0.00897662527859211, -0.04947751387953758, -0.01634110137820244, 0.017120501026511192, -0.020479774102568626, -0.0003125646326225251, -0.02867591194808483, -0.012552127242088318, -0.03686598315834999, 0.01879010535776615, 0.0003398959233891219, -0.0034045628271996975, 0.045360319316387177, -0.01861533895134926, -0.05061516538262367, -0.016897769644856453, 0.02176564186811447, 0.06937740743160248, 0.016541307792067528, -0.07113806903362274, -0.008018046617507935, -0.0008743930957280099, 0.05648515373468399, -0.036386407911777496, -0.020075635984539986, -0.0013337195850908756, 0.050518326461315155, -0.01810026355087757, -0.01943163201212883, 0.008318362757563591, -0.0012589524267241359, -0.06259183585643768, -0.03880418837070465, -0.01041349209845066, -0.04666958749294281, 0.010652311146259308, -0.06372058391571045, -0.019308868795633316, -0.05424881353974342, -0.0615776926279068, -0.012803982943296432, 0.05736783146858215, 0.035269517451524734, -0.0037555277813225985, 0.027541594579815865, 0.012587013654410839, -0.10230904817581177, -0.006658918224275112, -0.0021964439656585455, -0.0033295960165560246, 0.00368432211689651, 0.01623673364520073, 0.05319644883275032, -0.025698576122522354, -0.0562686063349247, 0.022400083020329475, 0.009470466524362564, 0.033008377999067307, -0.048098139464855194, 0.01611919142305851, -0.008234167471528053, -0.006691831164062023, 0.017264243215322495, 0.0823933407664299, -0.0026359076146036386, -0.010465286672115326, -0.04158351570367813, 0.01735546439886093, 0.03686719760298729, 0.02391006611287594, -0.0036701408680528402, -0.0016345714684575796, 0.03727078065276146, 0.011018866673111916, -0.05164552479982376, 0.03656737878918648, -0.015355183742940426, -0.029532337561249733, 0.0012481932062655687, -0.047932419925928116, 0.010911677964031696, 0.03221502527594566, 0.02347230166196823, -0.003285807790234685, -0.0539725236594677, 0.03041119873523712, -0.04587641358375549, -0.021458925679326057, -0.01541723869740963, 0.019368471577763557, 0.02757900021970272, 0.008191803470253944, -0.03294514864683151, -0.06673603504896164, 0.012162264436483383, 0.008434883318841457, -0.0064001502469182014, -0.05535050109028816, -0.027871251106262207, -0.015778619796037674, 0.001362002338282764, -0.00016519534983672202, 0.027652345597743988, -0.029323946684598923, 0.03715284541249275, 0.02018423192203045, -0.03274943679571152, 0.017960479483008385, -0.012477575801312923, -0.037489451467990875, -0.016259608790278435, 0.002876690123230219, 0.00856747291982174, 0.015997717157006264, 0.03619731590151787, 0.012993499636650085, 0.009709966368973255, 0.05868494510650635, 0.02177300862967968, 0.035393036901950836, -0.013533253222703934, 0.02954387664794922, -0.010647508315742016, -0.001261891913600266, -0.05446399375796318, 0.025722892954945564, -0.03905810788273811, -0.01843184046447277, -0.017760582268238068, 0.03895096480846405, -0.03175502270460129, -0.03818622604012489, -0.0004289352218620479, 0.023959897458553314, -0.043560661375522614, -0.029793351888656616, -0.02879231609404087, 0.0045529683120548725, 0.07975760847330093, -0.005129731725901365, 0.02266734279692173, -0.017055606469511986, -0.025539208203554153, 0.014593180269002914, -0.009181587025523186, -0.04061853513121605, 0.01941881887614727, 0.00204748404212296, -0.025770219042897224, 0.01687237247824669, -0.009180702269077301, 0.03448940068483353, 0.010017195716500282, -0.04601641371846199, -0.009628753177821636, -0.0016562778037041426, 0.023230357095599174, 0.05559256300330162, 0.0032682023011147976, -0.02090369164943695, 0.015110496431589127, -0.007221502251923084, -0.004032693803310394, -0.013483005575835705, -0.037825893610715866, -0.00003352774365339428, 0.044472940266132355, -0.011207502335309982, -0.06699573993682861, 0.041522733867168427, 0.019291477277874947, 0.018289292231202126, 0.001536472816951573, -0.011673293076455593, 0.01254701055586338, -0.022678812965750694, 0.03690927475690842, 0.07494322955608368, -0.054754551500082016, 0.0009138957830145955, 0.006813672371208668, 0.02020874060690403, 0.006643813103437424, -0.0019031065749004483, -0.04097418859601021, -0.016862468793988228, -0.010525714606046677, 0.004330320283770561, -0.03941327705979347, -0.030468057841062546, -0.019899459555745125, 0.02161302976310253, -0.003083201125264168, -0.030268365517258644, -0.009707361459732056, -0.0037539394106715918, -0.03785879164934158, -0.002632112940773368, 0.024401159957051277, -0.028505640104413033, -0.002436714945361018, 0.015773365274071693, -0.02552950009703636, 0.010700857266783714, -0.02413729950785637, 0.007221692707389593, 0.030357440933585167, -0.01376691460609436, -0.020523691549897194, -0.052396658807992935, 0.0016489052213728428, 0.030897952616214752, 0.037873610854148865, -0.010494779795408249, -0.02209513448178768, -0.06386154145002365, 0.014715075492858887, -0.025885313749313354, 0.029725613072514534, -0.024685034528374672, -0.009713917970657349, 0.011980516836047173, 0.02254248969256878, 0.002546134637668729, 0.019649764522910118, 0.005569683387875557, -0.0412556417286396, 0.05857010930776596, -0.05049122869968414, -0.006512752268463373, -0.04770436882972717, -0.05484873801469803, 0.008916063234210014, -0.026978112757205963, 0.00473302835598588, -0.0339028537273407, 0.04745693877339363, 0.015979871153831482, 0.030856406316161156, 0.018083717674016953, -0.005722989793866873, 0.03657860308885574, -0.028665969148278236, 0.011231222189962864, -0.08976539224386215, -0.00403341231867671, 0.02347954735159874, 0.00117275130469352, -0.012277226895093918, -0.03239983692765236, -0.025450633838772774, 0.023542476817965508, -0.06835674494504929, -0.012468744069337845, 0.042835772037506104, 0.01144846249371767, -0.02678554318845272, 0.016397086903452873, -0.04095172509551048, 0.04018566012382507, 0.02652626298367977, -0.049162816256284714, -0.019429082050919533, -0.03257831186056137, 0.05419952794909477, -0.0028120463248342276, 0.020062755793333054, -0.028204843401908875, -0.0071443840861320496, 0.0679633766412735, 0.017786521464586258, 0.02291548065841198, 0.048272132873535156, -0.022374169901013374, 0.039056047797203064, 0.04227452352643013, 0.000020048611986567266, -0.016531437635421753, 0.036271870136260986, -0.007974970154464245, -0.05463016778230667, 0.038424860686063766, 0.0001622007548576221, -0.02438085339963436, -0.04964900761842728, 0.07351946085691452, 0.026255184784531593, -0.04045523330569267, -0.05666730925440788, 0.017499279230833054, -0.055750731378793716, 0.018961217254400253, -0.034499380737543106, 0.00042910632328130305, -0.043256260454654694, 0.06411994993686676, -0.033316969871520996, -0.011108585633337498, 0.07909031212329865, 0.018543554469943047, -0.01397952064871788, -0.012940807268023491, 0.10840369015932083, 0.07856197655200958, 0.05182652175426483, 0.016190124675631523, 0.07695025950670242, -0.022443599998950958, -0.016927290707826614, -0.0025026656221598387, -0.025880837813019753, -0.04035409912467003, -0.029090143740177155, 0.03377415984869003, 0.05454390123486519, -0.013987712562084198, 0.07614288479089737, -0.052793607115745544, 0.001572577515617013, 0.031834885478019714, 0.02518257312476635, 0.009474411606788635, 0.06372682750225067, -0.0027258694171905518, 0.02458101138472557, -0.009202607907354832, -0.02629578858613968, 0.00009389511978952214, -0.018025925382971764, -0.01468755304813385, 0.026034073904156685, -0.011869877576828003, 0.01261738408356905, 0.013265077024698257, 0.008410628885030746, 0.08710794895887375, -0.02687242068350315, -0.011166268028318882, -0.00685188639909029, 0.03229238837957382, -0.0022306120954453945, 0.013824570924043655, -0.025690535083413124, -0.030427446588873863, -0.013174409046769142, -0.038273535668849945, -0.01767118088901043, -0.020584717392921448, -0.020480554550886154, 0.011635326780378819, -0.04219646751880646, -0.0022393856197595596, 0.032060932368040085, 0.011763809248805046, -0.05234050005674362, -0.05870775505900383, -0.051875416189432144, -0.04524236544966698, -0.05638843774795532, -0.005937059875577688, 0.010509700514376163, -0.0004197749658487737, -0.03547900170087814, -0.022844474762678146, -0.007828209549188614, -0.004713316448032856, 0.05110008269548416, -0.04729631543159485, -0.012533409520983696, 0.012336375191807747, 0.033219993114471436, 0.039940591901540756, 0.02308809384703636, 0.043763164430856705, -0.029892100021243095, 0.010109883733093739, -0.002402288606390357, -0.016888892278075218, 0.013960285112261772, 0.026449499651789665, 0.019654348492622375, -0.08216429501771927, 0.006206809543073177, -0.006778056267648935, -0.03549576178193092, -0.07077647000551224, 0.016744159162044525, 0.046013686805963516, 0.014872102998197079, 0.05210811272263527, -0.006603082176297903, 0.0014578909613192081, -0.03698943555355072, -0.011546519584953785, -0.02151358872652054, 0.016495592892169952, 0.04525488242506981, -0.013371765613555908, 0.08750254660844803, 0.007058646064251661, -0.019746992737054825, -0.034382957965135574, -0.00825806800276041, -0.012213708832859993, 0.004772495478391647, -0.03795158863067627, -0.029863499104976654, -0.022373061627149582, -0.08715813606977463, -0.010754815302789211, 0.0237895455211401, -0.02997775934636593, -0.0389443039894104, 0.009958566166460514, 0.03935335949063301, -0.039613932371139526, 0.03890209645032883, -0.04435527324676514, 0.03613857552409172, -0.04179508984088898, -0.016060898080468178, 0.01767820119857788, 0.01621021330356598, -0.018715044483542442, 0.02272915281355381, 0.006271852180361748, -0.04422754794359207, -0.007283718790858984, -0.01088146772235632, 0.0334511436522007, 0.030967626720666885, 0.00020801321079488844, 0.005440588109195232 ]
[ -0.08047790825366974, -0.023544054478406906, -0.044816091656684875, -0.029614118859171867, 0.04515869542956352, -0.00927252508699894, -0.030142562463879585, 0.02463805302977562, 0.006743774749338627, -0.010363089852035046, 0.03808007389307022, -0.055123571306467056, 0.014632311649620533, 0.00946214608848095, 0.041899316012859344, 0.02580239810049534, -0.000412496185163036, -0.06423887610435486, 0.025106124579906464, 0.042801517993211746, 0.015599398873746395, -0.02746650204062462, -0.04808194935321808, -0.0651870146393776, 0.030749766156077385, 0.05446841940283775, 0.0400092639029026, -0.07185094058513641, -0.009686260484158993, -0.2360214740037918, 0.0023459556978195906, -0.007151737809181213, 0.07136322557926178, -0.0047001950442790985, 0.004563312977552414, 0.009490731172263622, 0.05694088339805603, 0.056247588247060776, -0.03098500892519951, 0.041106462478637695, 0.013295483775436878, 0.03903800621628761, -0.053081732243299484, -0.024013064801692963, 0.04350036382675171, 0.03670768067240715, -0.0017467569559812546, -0.02199733257293701, -0.0025377878919243813, 0.009723748080432415, -0.03756571561098099, -0.04271824285387993, -0.004677108023315668, 0.00866005290299654, 0.003081332426518202, 0.050574325025081635, 0.04152695834636688, 0.041831668466329575, 0.001262462930753827, 0.028464946895837784, 0.013599205762147903, 0.005484419874846935, -0.13509207963943481, 0.07332868129014969, 0.05794726684689522, 0.05515501648187637, -0.008536712266504765, -0.04051956161856651, 0.006654201075434685, 0.10901394486427307, 0.022256406024098396, -0.013621814548969269, 0.005048118997365236, 0.043262265622615814, 0.026362832635641098, 0.027368396520614624, 0.00026302062906324863, 0.03429228812456131, 0.03252285346388817, -0.05250075086951256, -0.04379831627011299, -0.009578313678503036, -0.026794733479619026, -0.00813208520412445, -0.011048085056245327, 0.0002626590430736542, -0.041309528052806854, 0.053686514496803284, 0.029157264158129692, 0.018728721886873245, 0.06407838314771652, 0.022093243896961212, 0.01655837707221508, -0.005974071100354195, -0.07197345793247223, -0.011796277016401291, -0.0031189804431051016, 0.029410269111394882, -0.0363154411315918, 0.42503592371940613, -0.035173509269952774, -0.021916916593909264, 0.03240101411938667, 0.04452002793550491, -0.03292983025312424, -0.03261823207139969, -0.012623971328139305, -0.04106416180729866, -0.004166165366768837, -0.040773551911115646, 0.0304156132042408, -0.02686353027820587, 0.03977237641811371, -0.024484798312187195, -0.0051245298236608505, -0.023270726203918457, 0.009197050705552101, 0.02612967975437641, 0.007307434920221567, 0.024014059454202652, -0.03858163580298424, 0.027485566213726997, 0.015143702737987041, -0.0011322302743792534, 0.006094341166317463, -0.03605208918452263, 0.00021668855333700776, 0.0661378726363182, 0.010640591382980347, -0.011052391491830349, 0.06477392464876175, -0.019753672182559967, -0.07186277210712433, -0.0004383391351439059, -0.01748690754175186, -0.01365207601338625, 0.048547759652137756, -0.005329623352736235, -0.0021428216714411974, 0.03131917119026184, -0.0037916989531368017, 0.029445739462971687, 0.04280315712094307, 0.00046508043305948377, -0.02168584242463112, 0.11806439608335495, 0.012206550687551498, -0.029339173808693886, -0.01577107235789299, -0.06092886999249458, 0.009001879021525383, 0.010146629065275192, -0.017846645787358284, -0.05613648518919945, -0.005250429268926382, 0.023336801677942276, 0.06388725340366364, -0.005452264100313187, -0.05741553008556366, -0.009238102473318577, -0.03489436209201813, 0.003620426170527935, -0.08758411556482315, 0.06855815649032593, 0.0782175287604332, -0.0802622139453888, -0.0016283770091831684, 0.0054644192568957806, 0.0169842392206192, -0.06472663581371307, 0.011069224216043949, 0.04974574223160744, -0.021811991930007935, 0.010212328284978867, 0.04790668934583664, -0.02962607331573963, -0.06100434064865112, -0.0034984867088496685, 0.031248366460204124, 0.006873128470033407, 0.025792714208364487, 0.007525857537984848, -0.03396207466721535, 0.011033330112695694, -0.0493352934718132, -0.06156202405691147, -0.0639173835515976, 0.013294581323862076, -0.04254506528377533, -0.014957651495933533, -0.040077969431877136, -0.04127950966358185, -0.09079127013683319, 0.06968874484300613, -0.06819311529397964, -0.05100858584046364, 0.04605531692504883, -0.015878234058618546, -0.04862393066287041, -0.009751797653734684, -0.007662737276405096, 0.009809955954551697, 0.006385989487171173, 0.0455903485417366, -0.08239702880382538, 0.0357658788561821, 0.028944194316864014, -0.048031438142061234, 0.0858246311545372, 0.052202627062797546, -0.01629909873008728, -0.05777355283498764, -0.02280341275036335, 0.010786409489810467, -0.00499259028583765, 0.0018361650872975588, 0.025075800716876984, 0.00744827464222908, 0.0017746292287483811, 0.02450946532189846, 0.0073892055079340935, -0.014616496860980988, -0.02670339308679104, -0.3515165150165558, -0.07617556303739548, -0.014758038334548473, 0.020620906725525856, 0.027111463248729706, -0.042565152049064636, 0.009818490594625473, -0.01101837307214737, -0.024795250967144966, 0.02838071994483471, 0.07093416154384613, 0.027800945565104485, -0.009405688382685184, -0.08947007358074188, -0.018706772476434708, -0.0029317918233573437, -0.0412052683532238, -0.012518002651631832, -0.05118100345134735, -0.010269503109157085, -0.026385121047496796, 0.010246174409985542, -0.013637032359838486, -0.06370146572589874, -0.014788824133574963, -0.021228045225143433, 0.12775613367557526, -0.0374738946557045, 0.0800514742732048, -0.039350610226392746, 0.007286346983164549, -0.0218750461935997, 0.007272759452462196, -0.04251258820295334, 0.015348806977272034, -0.011077065020799637, -0.009403088130056858, 0.006777441129088402, 0.01626097410917282, -0.02890286035835743, -0.07786571234464645, -0.004216670989990234, -0.03578514978289604, -0.03981790691614151, -0.05644962191581726, 0.041509632021188736, -0.010152251459658146, -0.031424976885318756, -0.03952271118760109, 0.06669066101312637, 0.028816748410463333, 0.014402265660464764, 0.0320357121527195, 0.011059185490012169, 0.013659047894179821, -0.028440697118639946, -0.09288375824689865, 0.016679752618074417, 0.005792299285531044, 0.004241879563778639, 0.013282288797199726, 0.025084447115659714, 0.03775358945131302, -0.04466662555932999, 0.011471462436020374, 0.022648537531495094, -0.0009147974196821451, -0.014085782691836357, 0.013549048453569412, -0.008733664639294147, -0.012007626704871655, 0.12028592079877853, 0.011282172054052353, -0.017259515821933746, 0.04310719668865204, 0.035144589841365814, 0.005335889291018248, 0.011040176264941692, 0.02677804045379162, 0.004783805459737778, 0.03226436302065849, -0.03516068682074547, 0.03755021467804909, 0.002925099339336157, -0.005127409007400274, 0.026033909991383553, 0.005214570090174675, -0.001406954717822373, 0.025586912408471107, 0.03903811052441597, 0.0025767250917851925, 0.016319386661052704, -0.015261143445968628, -0.03805801644921303, 0.07718630880117416, 0.014948070980608463, -0.25597816705703735, 0.023334456607699394, 0.05509597063064575, 0.05579182505607605, -0.011638453230261803, 0.002497104462236166, 0.04667156562209129, -0.030783051624894142, 0.015828505158424377, 0.0019487838726490736, -0.002408399945124984, 0.027849864214658737, 0.003671478247269988, -0.007236374542117119, 0.027231471613049507, -0.034935593605041504, 0.021543070673942566, -0.002923092572018504, 0.02982838824391365, 0.010828118771314621, 0.029047608375549316, -0.002607861766591668, 0.16712382435798645, -0.002443267498165369, 0.011894249357283115, 0.048423100262880325, -0.02779007889330387, 0.010886197909712791, 0.08912831544876099, -0.007541246712207794, -0.02985670045018196, 0.0023782211355865, 0.037435539066791534, -0.009444206021726131, 0.04444773122668266, -0.034653935581445694, -0.02849435992538929, 0.009834583848714828, 0.029793759807944298, 0.005546496249735355, 0.03909454122185707, -0.0024577060248702765, -0.007723921909928322, 0.03058948740363121, 0.08207350224256516, 0.024177569895982742, 0.004425112158060074, -0.035748109221458435, -0.048604875802993774, -0.012756305746734142, -0.03289829194545746, -0.06913290172815323, -0.003064197488129139, -0.03152652457356453, -0.010460960678756237, 0.07892804592847824, -0.0006867700722068548, -0.0036535081453621387, -0.037908222526311874, -0.010227113030850887, -0.011858118698000908, -0.03335554525256157, 0.07185923308134079, 0.003771429415792227, 0.017548924311995506 ]
[ -0.0015039932914078236, -0.004652133211493492, -0.010886088013648987, 0.02531156875193119, 0.0014190839137881994, -0.014787159860134125, -0.009414267726242542, 0.01193694956600666, -0.05477767065167427, -0.0014323975192382932, -0.007558059878647327, 0.010568531230092049, 0.014213578775525093, -0.02612130343914032, -0.006561816204339266, 0.017097467556595802, 0.030105944722890854, -0.0030340140219777822, 0.03450856730341911, 0.007562031503766775, -0.04075642675161362, 0.011442650109529495, -0.014226228930056095, -0.014068867079913616, 0.004372189287096262, 0.04683106392621994, -0.030097026377916336, -0.01956593245267868, 0.023102616891264915, -0.12431548535823822, -0.012686953879892826, -0.02715468779206276, -0.03690255805850029, 0.021049698814749718, -0.009596687741577625, 0.0016299160197377205, -0.01432706881314516, 0.014393121935427189, -0.005623156204819679, 0.01063233520835638, 0.026238512247800827, 0.01760682836174965, -0.010008547455072403, 0.009511282667517662, -0.012168225832283497, -0.004533762112259865, -0.04471191391348839, -0.01595771126449108, -0.0009962888434529305, -0.02950749546289444, -0.0583144836127758, -0.030997980386018753, -0.010210441425442696, 0.007967954501509666, 0.011516685597598553, -0.020178237929940224, 0.0031982839573174715, -0.0006549378740601242, 0.0072180782444775105, 0.015541354194283485, 0.016299979761242867, -0.022793065756559372, -0.025745555758476257, -0.013517736457288265, -0.019934168085455894, -0.013883408159017563, 0.007858062162995338, 0.011535878293216228, 0.010166667401790619, 0.02310766465961933, -0.0033476019743829966, 0.051108866930007935, -0.03495773300528526, -0.001521250349469483, 0.005126574542373419, 0.010126632638275623, 0.026258409023284912, -0.007786287926137447, 0.005171175114810467, -0.007809793576598167, -0.04668888822197914, 0.03602530062198639, -0.021060911938548088, -0.011392820626497269, -0.01122941542416811, -0.007452437654137611, -0.003476336132735014, -0.0032129772007465363, 0.017750997096300125, 0.00900339800864458, -0.013907979242503643, 0.0338938944041729, -0.01859337091445923, -0.022822163999080658, -0.06659797579050064, 0.01980411261320114, -0.007563753519207239, -0.018477659672498703, -0.0008778417832218111, 0.8620460629463196, 0.00020472193136811256, 0.02852623350918293, 0.020014047622680664, -0.0005809446447528899, 0.010060998611152172, 0.02867564931511879, -0.004735281225293875, 0.02141147293150425, -0.02529541216790676, -0.04065338149666786, 0.005317621398717165, 0.02391679584980011, 0.02920958399772644, 0.009522980079054832, 0.014793191105127335, -0.01074114628136158, -0.005729218013584614, 0.002209683181717992, 0.005231447517871857, 0.01323443092405796, -0.013257316313683987, -0.01369717437773943, 0.016662172973155975, -0.022082511335611343, -0.004720007535070181, -0.18303295969963074, -0.024700460955500603, -8.186476940332425e-33, 0.04465550556778908, -0.047501515597105026, 0.020818695425987244, -0.004520494025200605, 0.017463235184550285, -0.00416288897395134, 0.009591498412191868, 0.01062845904380083, -0.020675646141171455, -0.01352759636938572, -0.011691286228597164, -0.03004632331430912, 0.03351463004946709, -0.00854682270437479, 0.03659126162528992, -0.005265031009912491, 0.006451684050261974, 0.015314118005335331, -0.007119345478713512, -0.0024242105428129435, 0.005577459931373596, 0.020357463508844376, 0.018370041623711586, -0.008612883277237415, -0.0035850678104907274, 0.0063386345282197, 0.009320025332272053, 0.0012926522176712751, 0.0055275531485676765, -0.03715895488858223, -0.04458436369895935, 0.04351957142353058, 0.008061024360358715, -0.003003481775522232, 0.002807330572977662, -0.02750266157090664, -0.004508655983954668, -0.009633744135499, 0.000727771723177284, -0.0327918604016304, 0.009610917419195175, 0.01524460781365633, 0.005147007293999195, -0.0018861963180825114, -0.015444150194525719, 0.02761450596153736, 0.0032696304842829704, 0.032460905611515045, 0.004730661399662495, 0.0017089585307985544, -0.001596081187017262, 0.010739728808403015, -0.012758500874042511, -0.014308602549135685, -0.013516268692910671, 0.028280841186642647, 0.032626405358314514, 0.018929876387119293, -0.00849120132625103, 0.06762836128473282, -0.015631578862667084, 0.003346414538100362, 0.006847981829196215, 0.041135311126708984, -0.023407982662320137, -0.016704460605978966, -0.00908588245511055, -0.018145494163036346, 0.014008944854140282, -0.010133674368262291, -0.05473695322871208, 0.04111462086439133, -0.01224884670227766, -0.017766429111361504, 0.010968571528792381, -0.0344887301325798, 0.005998100154101849, -0.017595838755369186, -0.02822008915245533, 0.024576663970947266, 0.005424113012850285, -0.011358914896845818, -0.010707959532737732, -0.03032725118100643, -0.0006968441302888095, -0.0002584631147328764, 0.036578357219696045, -0.00020176985708530992, 0.0032591507770121098, -0.007139343768358231, 0.031381748616695404, 0.011408701539039612, -0.011981945484876633, -0.01897137239575386, -0.023531729355454445, 8.317479908259815e-33, -0.021834705024957657, 0.0208305474370718, 0.01709093153476715, 0.01697934977710247, 0.011645106598734856, 0.0005234062555246055, 0.027529031038284302, 0.015281816944479942, -0.058562472462654114, 0.06378401070833206, 0.005950400605797768, -0.009546426124870777, -0.01579180918633938, -0.001824455801397562, 0.03484570235013962, -0.02869654819369316, 0.02419963851571083, -0.03469760715961456, 0.0008714087307453156, 0.006580212619155645, 0.030218476429581642, 0.013218941166996956, 0.0073122307658195496, -0.0127633111551404, 0.04923568665981293, 0.043269261717796326, -0.025780877098441124, 0.01477490458637476, -0.019527241587638855, 0.002312895841896534, 0.027542326599359512, -0.018326250836253166, 0.0012402973370626569, -0.012648766860365868, 0.0021934835240244865, 0.030604489147663116, -0.00782334990799427, -0.029229773208498955, 0.011368798092007637, 0.0014021325623616576, 0.026603391394019127, 0.042125534266233444, -0.022677715867757797, 0.04787398502230644, 0.004248888697475195, 0.027433766052126884, -0.031000401824712753, 0.017211999744176865, -0.03240688517689705, 0.008075959049165249, -0.0278383269906044, -0.006440684664994478, 0.028830790892243385, 0.04142065718770027, 0.005711609497666359, -0.017848242074251175, -0.018998073413968086, 0.05380838364362717, -0.031514424830675125, 0.02539312094449997, -0.011874115094542503, -0.026018334552645683, -0.01975213922560215, 0.009423851035535336, -0.014731060713529587, -0.006269381381571293, 0.0083869444206357, -0.02432572841644287, -0.01959589309990406, 0.020437905564904213, -0.03572656214237213, -0.00362201570533216, -0.004982533864676952, 0.03484868258237839, 0.026654256507754326, -0.028805628418922424, -0.028911292552947998, 0.03221099078655243, -0.03141236677765846, 0.056805867701768875, 0.0365910641849041, 0.022850418463349342, -0.0030971358064562082, -0.0025764487218111753, 0.034568578004837036, 0.02023150585591793, -0.0009895830880850554, 0.013422220014035702, 0.007907310500741005, 0.006817939225584269, -0.019655371084809303, -0.019020117819309235, 0.006032322533428669, 0.003773655276745558, 0.004921151325106621, -1.346931099988069e-8, -0.03150865435600281, -0.01631459780037403, 0.0070053040981292725, 0.010008915327489376, 0.05809209868311882, 0.012952129356563091, -0.004642338026314974, 0.014363347552716732, -0.029062164947390556, 0.02921180985867977, 0.05434752628207207, -0.04263962805271149, -0.012152469716966152, 0.00528953829780221, 0.01705229841172695, -0.04652157798409462, -0.005049816332757473, -0.027890680357813835, 0.03668307140469551, -0.013175783678889275, 0.007201710250228643, 0.021036311984062195, -0.009454556740820408, 0.04239437356591225, 0.023654216900467873, -0.040106214582920074, 0.03249161317944527, -0.06342879682779312, -0.025024136528372765, 0.0007474857266061008, -0.03377394750714302, -0.038021981716156006, 0.00777082284912467, 0.03967251628637314, -0.0326545387506485, -0.0010393549455329776, 0.02187963016331196, 0.028961872681975365, 0.021808894351124763, 0.019833136349916458, -0.04285668581724167, 0.014299308881163597, -0.0188134852796793, -0.037319205701351166, -0.017587151378393173, 0.03144439682364464, -0.002344835316762328, 0.01936727575957775, 0.01980813778936863, -0.029091564938426018, -0.0222290251404047, -0.002500926610082388, 0.023743921890854836, -0.0008606871706433594, 0.02069122903048992, -0.018016936257481575, 0.008183300495147705, -0.03464194014668465, -0.027026070281863213, 0.012032450176775455, -0.004257366061210632, 0.013284178450703621, -0.04516587033867836, -0.02904464676976204 ]
algo-class-start-simple-and-build-up
https://markhneedham.com/blog/2012/04/24/algo-class-start-simple-and-build-up
false
2012-04-23 00:20:57
Coding: Is there a name for everything?
[ "coding", "naming" ]
[ "Coding" ]
A month ago I wrote a post describing http://www.markhneedham.com/blog/2012/03/17/coding-wait-for-the-abstractions-to-emerge/[an approach my team has been taking to avoid premature abstractions] whereby we leave code inline until we know enough about the domain to pull out meaningful classes or methods. Since I wrote that post we've come across a couple of examples where there doesn't seem to be a name to describe a data structure. We are building a pricing engine where the input is a set of configurations and the output is a set of pricing rows associated with each configuration. We modelled the problem using a List of http://code.google.com/p/totallylazy/source/browse/src/com/googlecode/totallylazy/Pair.java?r=ddc97667f03784cbf4db4906d2d09777926d0a17[Pairs] of Configuration/PricingItems: [source,java] ---- List<Pair<Configuration, PricingItem>> configurationToPricingItems = buildThoseCombinations(); ---- image::{{<siteurl>}}/uploads/2012/04/configuration-pricingrow.gif[Configuration pricingrow,221] We don't need to do any lookups by Configuration - just show the results to the user - which is why we haven't used a Map. Our object oriented background suggested that there should be a name in the business domain for this but when we spoke to our business analyst and subject matter expert it became clear that they didn't actually have a word. Despite that it still feels strange to have to pass around a List of Pairs but I wonder if that's because in Java we tend to abstract concepts behind classes rather than because it makes sense to do so. If we were using clojure then I don't think we'd feel as uncomfortable about passing around basic data structures because the language and the culture around it encourage this. We should only create a type when it's strictly necessary. In this case it's a data structure to carry those combinations around and we don't actually apply any logic to the data structure as a whole, only to the individual entries. We wrote the code about three weeks ago now and haven't experienced any difficulties in terms of the code being understandable or easy to work with. I'm intrigued as to whether others have noticed a similar thing or if we aren't embracing Domain Driven Design fully and need to dig deeper to find a missing domain concept?
null
null
[ 0.0016837207367643714, -0.0010542076779529452, -0.017783354967832565, 0.03808680921792984, 0.07430023699998856, 0.024510767310857773, 0.027388237416744232, 0.019567951560020447, 0.026383673772215843, -0.015449711121618748, -0.014539546333253384, -0.030591154471039772, -0.06575008481740952, 0.029227590188384056, -0.028042439371347427, 0.06786657869815826, 0.06777466833591461, -0.008981202729046345, 0.02720714546740055, 0.009010953828692436, 0.004828345030546188, 0.04218949005007744, -0.004707530606538057, 0.017422832548618317, 0.02727678418159485, 0.007687007077038288, -0.0010657506063580513, 0.026766009628772736, -0.05462457612156868, -0.011403396725654602, 0.03519884869456291, 0.02775573544204235, 0.0006105294451117516, 0.01039451640099287, 0.012469969689846039, -0.022810712456703186, -0.01850251294672489, -0.000874161662068218, 0.0007544395630247891, 0.025164538994431496, -0.06851077079772949, 0.046007558703422546, -0.001968210330232978, 0.011921362020075321, -0.035797424614429474, -0.022778891026973724, -0.055821217596530914, 0.018300052732229233, -0.02590259723365307, -0.003737022867426276, -0.06359472870826721, 0.006441963836550713, -0.02097330242395401, 0.0140463188290596, -0.02378154918551445, 0.03988415747880936, 0.040221620351076126, -0.08516839146614075, 0.031195487827062607, -0.06082546338438988, 0.016564173623919487, -0.00006001509609632194, 0.0009027998894453049, 0.01726759597659111, 0.005693977698683739, -0.03436467424035072, -0.021018749102950096, 0.0365912988781929, -0.06469912081956863, -0.020130684599280357, 0.0020505734719336033, 0.012769569642841816, 0.01316008996218443, -0.029221201315522194, 0.005984970834106207, -0.029190026223659515, -0.0063451193273067474, 0.04748360812664032, 0.016934745013713837, 0.05418065935373306, -0.04745693504810333, 0.015966713428497314, 0.02450118027627468, 0.031534343957901, 0.02205047942698002, -0.060387495905160904, -0.02594725787639618, -0.013761266134679317, -0.04735200107097626, 0.062466755509376526, 0.00623520091176033, -0.04109681397676468, -0.0032130025792866945, 0.018543962389230728, -0.011245159432291985, 0.005924788303673267, 0.013752063736319542, -0.0057929400354623795, -0.004134660121053457, 0.002324038650840521, -0.05821343511343002, -0.0182495154440403, 0.012236705981194973, -0.004486046265810728, -0.0686163529753685, -0.01721164956688881, -0.03448446840047836, -0.023837847635149956, 0.037713926285505295, 0.01270041149109602, -0.043363574892282486, -0.0015660143690183759, -0.018494971096515656, -0.004731741268187761, -0.059880468994379044, 0.061067599803209305, -0.01249094121158123, -0.04504205659031868, -0.016496770083904266, 0.03228037431836128, 0.022592216730117798, 0.010315680876374245, -0.02191951312124729, 0.07667775452136993, 0.015813492238521576, 0.03779233247041702, -0.0034643649123609066, 0.05169404298067093, -0.03800719231367111, -0.068569615483284, 0.007338270079344511, 0.03853752836585045, -0.021178018301725388, 0.0013919173507019877, -0.003372900653630495, -0.0252492967993021, -0.0015376468654721975, 0.021526819095015526, 0.07039769738912582, 0.03275841474533081, -0.009440804831683636, -0.05614801123738289, 0.002729295287281275, -0.0020937365479767323, 0.03579733520746231, 0.004657717887312174, 0.0032734747510403395, -0.017710022628307343, -0.04799598082900047, 0.013403529301285744, -0.003941566217690706, 0.05484270676970482, 0.016812346875667572, -0.026634981855750084, 0.042325399816036224, 0.08973929286003113, 0.029082538560032845, 0.015474382787942886, 0.003706442192196846, 0.037524230778217316, 0.018791010603308678, 0.018393438309431076, -0.00014009419828653336, 0.024336908012628555, 0.014072244055569172, -0.01687474176287651, 0.011449214071035385, 0.04246996343135834, -0.002995268674567342, -0.02622860111296177, -0.05327359214425087, -0.06449934840202332, 0.05190605670213699, -0.03419629856944084, -0.011096592992544174, 0.046230632811784744, 0.08994171023368835, 0.015159325674176216, 0.07218737155199051, -0.0026686550118029118, -0.07040273398160934, 0.013716214336454868, 0.016660328954458237, 0.011010389775037766, 0.01783374696969986, -0.01703687384724617, 0.07463952153921127, 0.030292246490716934, -0.009542400017380714, 0.0387473963201046, -0.07211631536483765, -0.06582489609718323, -0.02125483751296997, -0.008669823408126831, 0.07121465355157852, -0.022224312648177147, 0.012363297864794731, 0.08949366211891174, 0.0006686122505925596, 0.054923031479120255, 0.027848530560731888, 0.017037853598594666, 0.004727900493890047, -0.04605669155716896, -0.023974930867552757, 0.047687284648418427, 0.05108790099620819, -0.03193226456642151, -0.038260672241449356, 0.0030450529884546995, 0.0019173077307641506, -0.023498598486185074, 0.03692248463630676, -0.021811166778206825, 0.03969161584973335, 0.014191214926540852, 0.062245745211839676, -0.01744568906724453, 0.04392242804169655, -0.050997402518987656, 0.0225258506834507, 0.01587597280740738, -0.024661405012011528, -0.003247722750529647, 0.0065643060952425, 0.13273993134498596, 0.0451103076338768, -0.023791451007127762, -0.048673365265131, 0.023332083597779274, 0.016806257888674736, -0.044162146747112274, 0.016318943351507187, -0.028840363025665283, 0.014014712534844875, 0.009981042705476284, -0.04538629204034805, -0.04445728287100792, 0.010873808525502682, -0.022613007575273514, 0.018251933157444, 0.07026273757219315, -0.04429114609956741, 0.04554767161607742, -0.01501082070171833, -0.012297219596803188, -0.008576702326536179, -0.04136151075363159, -0.0648455023765564, -0.007983514107763767, -0.022321056574583054, -0.0019004102796316147, 0.05088946968317032, -0.027295969426631927, -0.03172297775745392, -0.04034695029258728, -0.039144404232501984, -0.0010682925349101424, 0.013201254419982433, 0.07520255446434021, 0.009134414605796337, 0.07307953387498856, -0.014735297299921513, 0.01779141277074814, 0.005227808840572834, -0.06340567022562027, -0.0249590165913105, 0.0028244752902537584, 0.017755435779690742, 0.054123006761074066, -0.0014757781755179167, 0.014917009510099888, 0.026470733806490898, 0.015793636441230774, 0.002879891311749816, -0.0207158662378788, 0.008095689117908478, -0.007148505188524723, -0.019221527501940727, -0.022515809163451195, -0.0282710213214159, 0.03427873179316521, -0.02292446978390217, -0.02509383298456669, 0.011352344416081905, -0.0526265874505043, 0.05408047139644623, -0.07974697649478912, -0.06378833949565887, -0.00012943794718012214, 0.0430157445371151, 0.03754593804478645, -0.01911775954067707, 0.007893706671893597, 0.09716062992811203, 0.025668539106845856, -0.01936749368906021, -0.011317205615341663, -0.02419450134038925, 0.04490606486797333, -0.023654373362660408, 0.01742374338209629, 0.02884916588664055, 0.006505424156785011, -0.003161750501021743, -0.04511909931898117, 0.031048523262143135, -0.0035373319406062365, -0.2952977418899536, 0.016225630417466164, -0.003785845823585987, -0.03444058075547218, 0.006557863671332598, -0.012368197552859783, 0.006203117314726114, -0.03398517146706581, 0.011226627975702286, 0.011609403416514397, -0.023115405812859535, -0.048936739563941956, -0.03463529422879219, 0.04475058615207672, -0.0024827225133776665, 0.036256734281778336, 0.019486509263515472, -0.013781833462417126, -0.0017812919104471803, 0.03349466621875763, -0.00830276682972908, -0.07078197598457336, 0.01020057499408722, 0.057776447385549545, 0.026492111384868622, 0.03896389529109001, -0.08490065485239029, 0.03835977613925934, -0.03858671709895134, 0.013340262696146965, 0.002680511912330985, -0.00028947379905730486, -0.012694496661424637, -0.020498938858509064, -0.03680988401174545, -0.0332937091588974, 0.02667243406176567, 0.012788618914783001, 0.00023142807185649872, 0.054713599383831024, -0.03554905951023102, -0.03698363155126572, -0.03681320324540138, -0.0075257280841469765, 0.07327240705490112, -0.028569893911480904, -0.08003700524568558, 0.01879575476050377, -0.036835573613643646, 0.06253990530967712, -0.032445378601551056, -0.02895376645028591, -0.0018206257373094559, 0.04487654194235802, -0.005142178386449814, -0.02754107303917408, -0.007540114689618349, -0.01651052199304104, -0.029076945036649704, -0.03855707496404648, -0.0023353854194283485, -0.06214406341314316, -0.0066877505742013454, -0.037767667323350906, -0.0035490181762725115, -0.06403573602437973, -0.06608081609010696, 0.008648252114653587, 0.07205788791179657, 0.03690335899591446, -0.030483709648251534, 0.0321589894592762, 0.010181980207562447, -0.11943546682596207, 0.01917397417128086, -0.021353386342525482, -0.003576417686417699, -0.03367329016327858, 0.008558551780879498, 0.02303191088140011, -0.025845972821116447, -0.04138411581516266, 0.025890745222568512, 0.017465073615312576, 0.017195114865899086, -0.02299904078245163, 0.026634646579623222, -0.0028357559349387884, -0.014946267008781433, 0.005835229996591806, 0.06121353060007095, -0.00131520617287606, -0.020849684253335, -0.03703268617391586, 0.004610105417668819, 0.027891675010323524, 0.029301583766937256, -0.00885773915797472, 0.0011029905872419477, 0.0372019037604332, 0.01799049973487854, -0.054661817848682404, 0.024258818477392197, -0.008566822856664658, 0.003431061515584588, 0.0026375125162303448, -0.03966682404279709, 0.009819907136261463, 0.03797322139143944, 0.02225089631974697, -0.017902955412864685, -0.044128645211458206, -0.009478389285504818, -0.04581143707036972, -0.04575738683342934, -0.03431332856416702, 0.005390136502683163, 0.030160995200276375, 0.004753855988383293, -0.03647441044449806, -0.049561578780412674, 0.01548020914196968, 0.028541788458824158, 0.002343411324545741, -0.06269674003124237, -0.030917026102542877, -0.007026389241218567, -0.025585584342479706, 0.02388192154467106, 0.029399240389466286, -0.005273035261780024, 0.03501676023006439, 0.006972542032599449, -0.04372556135058403, -0.0019520879723131657, -0.016492072492837906, -0.016059448942542076, -0.011382701806724072, -0.030325215309858322, -0.019032608717679977, 0.020387984812259674, 0.008096741512417793, 0.016929173842072487, 0.025911396369338036, 0.053375571966171265, 0.02847186289727688, 0.0450233556330204, 0.0036104379687458277, 0.024338223040103912, -0.0019646999426186085, -0.0031890475656837225, -0.07590298354625702, 0.01501430943608284, -0.042927131056785583, -0.04030487313866615, -0.029904237017035484, 0.03706599771976471, -0.012384036555886269, -0.0557255856692791, -0.017510976642370224, 0.018644357100129128, -0.052896421402692795, -0.01787276193499565, 0.0004560305387713015, 0.013321599923074245, 0.06828847527503967, -0.029734276235103607, 0.054117560386657715, -0.03137095272541046, -0.005306939594447613, 0.03319436311721802, 0.023065879940986633, -0.03557829186320305, 0.014637850224971771, 0.014255532063543797, -0.025254668667912483, 0.016034457832574844, 0.0006455126567743719, 0.039695341140031815, 0.03688496723771095, -0.0006903231842443347, -0.013888050802052021, 0.00855541042983532, 0.025876203551888466, 0.05255597084760666, 0.010730584152042866, 0.0036363285034894943, 0.019549459218978882, -0.01833886094391346, -0.021631797775626183, -0.03663167357444763, -0.02104940265417099, 0.010940590873360634, 0.03790381923317909, -0.018580742180347443, -0.07441800087690353, 0.06668621301651001, 0.014761724509298801, 0.0037881997413933277, 0.010778217576444149, 0.0013602444669231772, -0.005095043685287237, -0.020673276856541634, 0.04708075895905495, 0.06415233016014099, -0.04725300148129463, 0.015881024301052094, -0.0028550003189593554, 0.025309212505817413, 0.02405967377126217, 0.015948917716741562, -0.055984027683734894, -0.025224842131137848, -0.02617594227194786, 0.006448874715715647, -0.05760936439037323, -0.027115611359477043, -0.005230186507105827, 0.02288440801203251, -0.0052748871967196465, -0.0017319777980446815, 0.005965321324765682, 0.013467922806739807, -0.006589009892195463, -0.030929921194911003, 0.0159023255109787, -0.018400054425001144, 0.013834810815751553, 0.01286318339407444, -0.032379399985075, 0.008731869980692863, -0.02660026215016842, 0.0026319974567741156, 0.026280952617526054, -0.02868490293622017, -0.015067812986671925, -0.03439462184906006, 0.012694205157458782, 0.005255925469100475, 0.04949032515287399, 0.005170177202671766, -0.03653017058968544, -0.03497740253806114, -0.007483690977096558, -0.03643207624554634, 0.012081514112651348, -0.04130028188228607, -0.01150961872190237, 0.011320914141833782, 0.04277189448475838, 0.005295800510793924, 0.018580889329314232, -0.022430744022130966, -0.009160691872239113, 0.061164263635873795, -0.05354369804263115, -0.04040681570768356, -0.037798553705215454, -0.07069080322980881, 0.003263861872255802, 0.012165498919785023, 0.02447265386581421, -0.016664844006299973, 0.046005118638277054, 0.03821999579668045, 0.0341726616024971, 0.01148719247430563, -0.000974897644482553, 0.041982781141996384, -0.05882347375154495, -0.0043795108795166016, -0.08549432456493378, 0.005071260500699282, 0.034211207181215286, 0.034229546785354614, -0.023422831669449806, -0.014263448305428028, -0.051863208413124084, 0.03980274125933647, -0.05970945954322815, -0.03492143005132675, 0.03693873807787895, 0.003075296524912119, -0.009037385694682598, 0.0009639686322771013, -0.0471549890935421, 0.005388097837567329, 0.03352938964962959, -0.0381489172577858, -0.0334881991147995, -0.03715973719954491, 0.039188921451568604, 0.014901560731232166, 0.029008064419031143, -0.03832581266760826, -0.009212925098836422, 0.07045085728168488, 0.009444480761885643, 0.008371836505830288, 0.04457266628742218, 0.002172210719436407, 0.032108373939991, 0.036984093487262726, -0.002208370016887784, 0.0005927657475695014, 0.010823005810379982, -0.025920214131474495, -0.0790543183684349, 0.024281807243824005, 0.031302690505981445, -0.047580499202013016, -0.03935851901769638, 0.07111948728561401, 0.021156761795282364, -0.03938236087560654, -0.04862801730632782, 0.015416763722896576, -0.045984018594026566, -0.011927317827939987, -0.026667233556509018, 0.0022724447771906853, -0.023717856034636497, 0.06926173716783524, -0.0009176710736937821, 0.012450184673070908, 0.07536521553993225, 0.014399094507098198, -0.031886305660009384, -0.009390861727297306, 0.08910643309354782, 0.11790334433317184, 0.022794650867581367, 0.002080927835777402, 0.05021293833851814, -0.022863756865262985, -0.043094635009765625, 0.015310927294194698, -0.020005006343126297, -0.017237529158592224, -0.01866425760090351, 0.019398652017116547, 0.055869393050670624, -0.007094736211001873, 0.06903094798326492, -0.03873033449053764, -0.000879606930539012, 0.008665173314511776, 0.03502720594406128, 0.02522214874625206, 0.05554565042257309, 0.005580376833677292, 0.02200673520565033, 0.0024482873268425465, -0.037500906735658646, 0.012160061858594418, -0.014206907711923122, -0.014274957589805126, 0.03297444060444832, 0.01189099159091711, 0.005731887649744749, -0.008117004297673702, 0.04659663885831833, 0.0857834443449974, -0.04906069487333298, -0.013364879414439201, -0.007364344317466021, 0.0169315654784441, 0.010288676247000694, 0.011818752624094486, -0.02288222499191761, -0.02066926099359989, -0.012164144776761532, -0.022110512480139732, -0.026296230033040047, -0.0219024159014225, -0.019246738404035568, 0.05620916560292244, -0.04027726128697395, -0.0004014162113890052, 0.01361077930778265, 0.021053429692983627, -0.0382562093436718, -0.06929760426282883, -0.04312550276517868, -0.007551332004368305, -0.07776755094528198, -0.01513932179659605, 0.029310397803783417, -0.002718917094171047, -0.021492261439561844, -0.018172327429056168, -0.024752791970968246, -0.016731243580579758, 0.05298170819878578, -0.04676159471273422, -0.03143336996436119, 0.01959076151251793, 0.04320065304636955, 0.0396273247897625, 0.0457199364900589, 0.045361850410699844, -0.025942357257008553, -0.003494211472570896, -0.025101931765675545, 0.002272280864417553, 0.028912311419844627, 0.015399156138300896, 0.009165718220174313, -0.073966383934021, 0.012959090061485767, 0.026449982076883316, 0.002436279319226742, -0.07354725897312164, 0.022812770679593086, 0.016253190115094185, -0.000052572955610230565, 0.05271998792886734, -0.0013980510411784053, 0.008323469199240208, -0.020289352163672447, -0.030964456498622894, 0.004315126221626997, 0.0012691935990005732, 0.03991852328181267, -0.003976551815867424, 0.06882607191801071, 0.05103135108947754, -0.03518185392022133, -0.03290746733546257, -0.026709238067269325, -0.00480045098811388, 0.012509806081652641, -0.03361080586910248, -0.04260821267962456, -0.02837861329317093, -0.06130022555589676, -0.030286747962236404, 0.023252097889780998, -0.04305092990398407, -0.021353334188461304, 0.00799552258104086, 0.0489250086247921, -0.04657723009586334, 0.018502909690141678, -0.03444293141365051, 0.02827962301671505, -0.010173877701163292, -0.0163884237408638, -0.020190278068184853, 0.014369244687259197, -0.004682616796344519, 0.007236383389681578, 0.020401794463396072, -0.04372718557715416, -0.009278448298573494, -0.013451656326651573, 0.0328340008854866, 0.018119188025593758, -0.006128031760454178, 0.0055557903833687305 ]
[ -0.07785104215145111, -0.024201875552535057, -0.04982423037290573, -0.018028683960437775, 0.030763236805796623, -0.030116520822048187, -0.022299204021692276, 0.008447655476629734, 0.015808720141649246, -0.016233032569289207, 0.008725350722670555, -0.036947160959243774, -0.00479563744738698, 0.011174378916621208, 0.11523912847042084, 0.01934114471077919, -0.03175680339336395, -0.043799471110105515, 0.00012170754780527204, 0.029507555067539215, 0.03478888049721718, -0.037609897553920746, -0.04823467507958412, -0.02905227616429329, 0.032796941697597504, 0.04433688148856163, 0.04371286928653717, -0.03036651946604252, 0.0026772809214890003, -0.2074267566204071, -0.014690828509628773, 0.008424105122685432, 0.05205860361456871, -0.029108360409736633, -0.005740898195654154, 0.05349913239479065, 0.021391797810792923, 0.02683081477880478, -0.018350275233387947, 0.021241724491119385, 0.011558149009943008, 0.01694873347878456, -0.030877580866217613, -0.008354236371815205, -0.01086901593953371, 0.014378837309777737, -0.006249771919101477, -0.03968886658549309, -0.04918796569108963, 0.004064137581735849, -0.054875656962394714, -0.023062510415911674, -0.01642017439007759, -0.0032911745365709066, 0.00553089426830411, 0.04083286225795746, 0.031170085072517395, 0.07743670046329498, 0.005766858346760273, -0.006154591683298349, 0.012241133488714695, -0.019205840304493904, -0.12196508795022964, 0.09398718923330307, 0.03659170866012573, 0.06322239339351654, -0.015168054960668087, -0.019676826894283295, -0.01868274062871933, 0.08193003386259079, 0.025721129029989243, -0.009517135098576546, -0.028912678360939026, 0.057023417204618454, 0.019025132060050964, -0.05227194353938103, -0.0040655541233718395, 0.019513757899403572, 0.042265597730875015, -0.041778530925512314, -0.06781553477048874, -0.008807830512523651, 0.018554562702775, -0.014552073553204536, -0.042014580219984055, 0.024334803223609924, -0.013998453505337238, 0.03168672323226929, 0.02378406748175621, 0.03398289531469345, 0.03132113069295883, -0.013460366986691952, 0.04771145060658455, 0.0069198645651340485, -0.06271974742412567, 0.026498502120375633, -0.016063407063484192, -0.0011324300430715084, -0.02740645967423916, 0.3945041596889496, -0.04117315635085106, -0.03741008788347244, 0.08015036582946777, 0.0338551327586174, -0.017698831856250763, -0.005974970292299986, -0.013487924821674824, -0.03476099669933319, 0.020857984200119972, -0.045377861708402634, -0.02037785016000271, -0.008146706968545914, 0.04804989695549011, -0.051270801573991776, -0.020307639613747597, -0.017540326341986656, 0.022359397262334824, 0.017759272828698158, 0.0012934746919199824, 0.0009753961348906159, 0.0014328431570902467, -0.004371543414890766, 0.010811053216457367, 0.02634449116885662, -0.0023321991320699453, 0.00433538481593132, 0.003061052178964019, 0.04493560642004013, 0.06634659320116043, 0.025725021958351135, 0.04228910431265831, -0.041418932378292084, -0.07933688163757324, -0.015088752843439579, 0.004027121234685183, 0.02219145931303501, 0.04571268707513809, -0.021624619141221046, 0.02031133510172367, 0.01151666697114706, -0.01952837035059929, -0.005979342386126518, 0.024338964372873306, -0.018949978053569794, -0.051982272416353226, 0.10564586520195007, 0.01576894335448742, -0.019140684977173805, -0.020632503554224968, -0.013071789406239986, -0.014060216955840588, 0.04467141255736351, -0.008540134876966476, -0.06841453909873962, -0.0069983103312551975, 0.032307546585798264, 0.08276578038930893, 0.001166215050034225, -0.06940566748380661, -0.02765655890107155, -0.02482663281261921, -0.012988127768039703, -0.06220744550228119, 0.06917670369148254, 0.022010071203112602, -0.09877606481313705, -0.004602959845215082, 0.01724149100482464, 0.017899058759212494, -0.0488128699362278, -0.022289453074336052, 0.04640873894095421, -0.014377592131495476, 0.014107484370470047, 0.057870443910360336, -0.023432858288288116, -0.04465312883257866, -0.020932720974087715, 0.028037622570991516, 0.03734758123755455, 0.0057488661259412766, 0.017005762085318565, -0.05583546683192253, -0.011796909384429455, -0.007715316955000162, -0.08695591241121292, -0.08901692926883698, 0.008635594509541988, -0.03179551661014557, -0.014343589544296265, -0.05233210325241089, -0.02566409483551979, -0.07969342917203903, 0.09847628325223923, -0.033281393349170685, -0.03573476895689964, 0.05781243368983269, 0.013412963598966599, -0.017380662262439728, -0.01268063485622406, -0.011099538765847683, 0.0728226900100708, -0.016432227566838264, 0.046205900609493256, -0.08917215466499329, 0.04032376781105995, 0.05568595230579376, -0.026521390303969383, 0.06163886934518814, 0.0169626884162426, -0.014965349808335304, -0.013300127349793911, -0.037079449743032455, 0.023860998451709747, -0.006366636138409376, -0.007124477997422218, -0.013256768696010113, 0.013097831048071384, 0.011988386511802673, 0.007776117883622646, -0.04723493009805679, -0.046168383210897446, -0.0043872627429664135, -0.34097611904144287, -0.044103771448135376, -0.00668292073532939, -0.014241738244891167, 0.005449095740914345, -0.05707468464970589, 0.00863485224545002, -0.017056815326213837, -0.053230609744787216, 0.012436844408512115, 0.07426511496305466, -0.02604561112821102, -0.0254207756370306, -0.09549140185117722, -0.0270315483212471, 0.022343993186950684, -0.029605872929096222, -0.043671950697898865, -0.05973263829946518, 0.016677457839250565, -0.003258000360801816, -0.008514473214745522, -0.010461203753948212, -0.07484719902276993, 0.0021902075968682766, -0.020564734935760498, 0.10838063806295395, -0.021159037947654724, 0.0987347811460495, -0.0488157719373703, 0.055048536509275436, 0.005586301442235708, 0.006174273788928986, -0.09327561408281326, 0.004513387568295002, -0.06769245862960815, -0.020071282982826233, -0.00037439362495206296, 0.021793296560645103, -0.025974832475185394, -0.05737508833408356, -0.004276774823665619, -0.05614436790347099, -0.04899247735738754, -0.019853370264172554, 0.021883046254515648, -0.019280478358268738, -0.021502245217561722, -0.01168887224048376, 0.06485013663768768, -0.00868504960089922, -0.010339432395994663, 0.04391434043645859, 0.01178697869181633, 0.010967385023832321, -0.025893637910485268, -0.05814003199338913, -0.02034091018140316, 0.010589474812150002, 0.005254072602838278, 0.04664365202188492, 0.07672682404518127, 0.027125971391797066, -0.02861996367573738, 0.0012592778075486422, -0.015042654238641262, 0.0012616121675819159, -0.009485024958848953, 0.030702542513608932, -0.05716605484485626, -0.03415617346763611, 0.12064802646636963, 0.010433644987642765, -0.02179892733693123, 0.05177873373031616, 0.04751887544989586, -0.031762633472681046, 0.008562334813177586, 0.029219454154372215, 0.025016456842422485, -0.006482886150479317, 0.0038403391372412443, 0.05734691396355629, -0.003642041003331542, 0.019285090267658234, 0.06655745208263397, 0.03801480680704117, -0.0035663233138620853, 0.022412678226828575, 0.0010157594224438071, -0.037532974034547806, -0.004701133351773024, -0.017990626394748688, -0.020959191024303436, 0.09448713809251785, 0.000747769488953054, -0.259044885635376, 0.03168324753642082, 0.06316649168729782, 0.06107510253787041, 0.007482960820198059, 0.02113758586347103, 0.030968833714723587, -0.06235113367438316, 0.004235255066305399, 0.00041673812665976584, 0.036480601876974106, 0.02446378953754902, 0.02959481254220009, -0.017308585345745087, 0.044105011969804764, 0.012874252162873745, 0.047529689967632294, -0.004947455134242773, 0.029009532183408737, 0.00003196552279405296, 0.007674026302993298, -0.025262366980314255, 0.20816995203495026, -0.003791695460677147, 0.031550224870443344, 0.010826533660292625, -0.0017458510119467974, 0.02399212121963501, 0.07293257862329483, 0.05577445775270462, 0.0013280115090310574, 0.010116389952600002, 0.07921162992715836, 0.0007210816838778555, 0.027961015701293945, -0.061526112258434296, 0.006090771872550249, 0.03316620737314224, 0.03903607651591301, -0.013814100064337254, 0.019861748442053795, 0.009215441532433033, -0.03293955698609352, 0.047220196574926376, 0.08184468001127243, 0.03238648921251297, 0.025569016113877296, -0.04953448101878166, -0.0404917411506176, 0.008406796492636204, -0.03580345958471298, -0.045271679759025574, -0.010314718820154667, 0.010505679063498974, 0.0018806075677275658, 0.04892118647694588, 0.005164538975805044, -0.032420139759778976, -0.036359287798404694, 0.01403429452329874, -0.005822692532092333, -0.011834939941763878, 0.08618291467428207, 0.01583016850054264, 0.010509742423892021 ]
[ -0.034134071320295334, 0.03494526073336601, -0.027195153757929802, 0.005583320278674364, -0.015783587470650673, 0.006649704184383154, -0.005986385978758335, 0.007219458930194378, -0.02329646795988083, -0.019741659983992577, -0.024878080934286118, 0.020510168746113777, 0.018801754340529442, -0.04263504967093468, 0.05696966126561165, -0.00916890986263752, 0.011013739742338657, 0.016492357477545738, 0.03247091546654701, -0.0038767133373767138, -0.0230396781116724, 0.009399046190083027, -0.0094596017152071, -0.03427109494805336, 0.011109006591141224, 0.04256304353475571, 0.0054829176515340805, -0.028945891186594963, 0.01287538930773735, -0.1279454231262207, -0.051611386239528656, -0.015387610532343388, -0.003609901061281562, 0.03856809437274933, -0.0016473454888910055, 0.009375167079269886, 0.004198497626930475, 0.023993955925107002, -0.0037619727663695812, -0.01160227507352829, -0.012713709846138954, -0.0060331206768751144, -0.020131420344114304, -0.007398745510727167, -0.0070107001811265945, 0.014324651099741459, -0.012105549685657024, -0.045333538204431534, 0.0012710543815046549, -0.0233656857162714, -0.0547853447496891, 0.0011500633554533124, -0.02008490078151226, -0.013317113742232323, 0.009978106245398521, 0.01670297607779503, -0.03666675090789795, -0.011236987076699734, -0.014592274092137814, -0.02500070072710514, -0.01686878874897957, -0.009056022390723228, -0.029675785452127457, -0.01735416054725647, -0.01807529479265213, -0.006182421464473009, 0.0011620249133557081, 0.023886559531092644, 0.00875675305724144, -0.003426617244258523, 0.003610077081248164, 0.032709524035453796, -0.03095758706331253, -0.030062897130846977, -0.016080129891633987, 0.01031092181801796, 0.022798506543040276, -0.04217742756009102, 0.02805895358324051, -0.03202719986438751, -0.0413237102329731, 0.012699175626039505, 0.014964726753532887, 0.013080990873277187, 0.015829937532544136, -0.021665195003151894, 0.02115851268172264, 0.009440922178328037, 0.03862840682268143, 0.010076348669826984, -0.04449569061398506, 0.024326583370566368, -0.010559126734733582, 0.013790633529424667, -0.08268267661333084, 0.03486791253089905, -0.031381648033857346, -0.0012679704232141376, 0.005019059870392084, 0.8630162477493286, 0.029369065538048744, 0.04063577950000763, 0.027866346761584282, 0.02458631806075573, -0.010391267016530037, -0.0002841870009433478, -0.01090587954968214, 0.02706863172352314, 0.015344335697591305, -0.03780386596918106, 0.0032349026296287775, -0.010304541327059269, 0.035235799849033356, 0.0018426886526867747, -0.010432044044137001, 0.004454388283193111, -0.013381971046328545, -0.007756661623716354, 0.017564808949828148, 0.0032303733751177788, 0.01116994395852089, -0.00879625603556633, 0.007197416853159666, -0.03324680030345917, -0.0014706066576763988, -0.17955099046230316, -0.033470142632722855, -9.113000118282614e-33, 0.022255484014749527, -0.030622432008385658, 0.03122475929558277, -0.009691760875284672, 0.0013918938348069787, 0.028092488646507263, -0.014269942417740822, -0.0075553408823907375, -0.013664006255567074, -0.0023750506807118654, -0.015954913571476936, 0.003024937817826867, -0.014481207355856895, -0.0023306666407734156, 0.029023069888353348, -0.015198849141597748, 0.017780153080821037, 0.017550043761730194, -0.011015838012099266, 0.005222321022301912, 0.034423552453517914, 0.0466565266251564, 0.0006131888367235661, 0.010204292833805084, -0.029282625764608383, 0.016019001603126526, 0.014221925288438797, 0.007221090607345104, -0.005446200259029865, -0.030909759923815727, -0.0005027053412050009, 0.006908709648996592, 0.007498298306018114, 0.0071296668611466885, 0.017418889328837395, -0.027714630588889122, -0.011507716961205006, -0.0048941257409751415, -0.02770587056875229, -0.03626492619514465, -0.04536066949367523, -0.00010391171235824004, -0.019954340532422066, 0.0019206921570003033, -0.025240696966648102, -0.009971752762794495, 0.006188635248690844, 0.03593181446194649, -0.0016871298430487514, 0.026441331952810287, -0.014994136989116669, 0.01127929799258709, -0.011074433103203773, 0.0017164855962619185, -0.02108464576303959, 0.0015230985591188073, -0.011766360141336918, -0.015554234385490417, -0.009918165393173695, 0.050277139991521835, -0.026578867807984352, 0.011135454289615154, 0.007379322312772274, 0.013149642385542393, -0.03546810522675514, 0.013600004836916924, -0.01638411544263363, -0.017553595826029778, -0.006943910848349333, 0.007511944975703955, -0.011797342449426651, 0.017635151743888855, 0.006115207448601723, 0.0007964461692608893, 0.030372725799679756, -0.015502598136663437, 0.022002577781677246, -0.03057384118437767, -0.01294106338173151, 0.03490063175559044, 0.04292036220431328, -0.023999042809009552, 0.0302998386323452, 0.002507832832634449, -0.017608247697353363, -0.001408543554134667, 0.02793755754828453, -0.0124082425609231, 0.00531380670145154, 0.024553917348384857, 0.019499262794852257, 0.047060951590538025, -0.010176092386245728, -0.03228217735886574, -0.004068957641720772, 8.611905243626304e-33, -0.0030043795704841614, 0.0001393120182910934, -0.00034769679768942297, -0.018201572820544243, 0.02854910120368004, -0.010567482560873032, 0.03489559516310692, -0.012982308864593506, -0.028269287198781967, 0.0578324981033802, -0.03625478222966194, -0.013280662707984447, 0.001515231211669743, -0.008364965207874775, 0.063229039311409, -0.024379722774028778, 0.008119628764688969, -0.03443404659628868, 0.012527848593890667, 0.014003897085785866, 0.01719275675714016, -0.0006363516440615058, 0.04000912234187126, 0.030469609424471855, 0.0050975251942873, 0.039519425481557846, -0.02644890919327736, 0.023716727271676064, -0.014897403307259083, 0.0052667646668851376, 0.0124640092253685, -0.013585775159299374, 0.0036024427972733974, -0.021050462499260902, 0.002640713471919298, 0.00866534374654293, -0.013350327499210835, -0.03641262277960777, 0.01709011197090149, -0.008469921536743641, -0.00525281485170126, -0.011482267640531063, -0.01284726057201624, 0.019586613401770592, 0.01902853511273861, -0.008611088618636131, 0.01600722223520279, -0.020131826400756836, 0.015358318574726582, -0.005694439169019461, 0.012157312594354153, 0.031549569219350815, -0.01691463030874729, -0.007339593023061752, -0.004666430409997702, -0.031864333897829056, -0.020501280203461647, 0.03634685277938843, -0.010249318554997444, 0.03867529705166817, -0.0062810746021568775, -0.01822018064558506, 0.004664471838623285, 0.03455306589603424, -0.02889694646000862, -0.010875367559492588, 0.017724085599184036, -0.04760940372943878, 0.0014286055229604244, -0.011882761493325233, -0.034128375351428986, -0.019772330299019814, 0.003650987520813942, 0.03242667391896248, 0.0092012332752347, -0.046859193593263626, -0.049237385392189026, 0.015182116068899632, 0.031929366290569305, 0.025061095133423805, 0.04160530865192413, 0.005862971767783165, 0.028504032641649246, -0.0025333387311547995, 0.027561889961361885, -0.0033379688393324614, -0.004120095632970333, 0.037671059370040894, -0.0048295664601027966, -0.011626002378761768, -0.013416947796940804, -0.03306682035326958, 0.009399469010531902, 0.033684562891721725, -0.02901848591864109, -1.4136499082439968e-8, -0.032862406224012375, 0.0008825977565720677, -0.012808538042008877, -0.00939031783491373, 0.04616996645927429, -0.005901702214032412, 0.01721988432109356, 0.004134746268391609, 0.010437658056616783, 0.003351405495777726, 0.0536251999437809, 0.015136687085032463, -0.003321706550195813, 0.02990507334470749, 0.022883661091327667, -0.03849256411194801, 0.010737788863480091, -0.03622917830944061, 0.022276699542999268, 0.03714899346232414, 0.004252584185451269, 0.041886452585458755, -0.04990082606673241, 0.013167103752493858, 0.014782330021262169, 0.0028475355356931686, 0.033259980380535126, -0.08391707390546799, 0.03024626150727272, 0.018037984147667885, 0.0056561678647994995, -0.035111431032419205, 0.0031644536647945642, -0.0019545031245797873, -0.021313335746526718, -0.034474462270736694, 0.023627007380127907, 0.05046401545405388, 0.01169850304722786, -0.00537013029679656, -0.025671642273664474, -0.008232902735471725, -0.0053308638744056225, -0.008561648428440094, 0.0089883366599679, 0.010306334123015404, -0.014651820063591003, 0.016989529132843018, -0.020321717485785484, -0.010447299107909203, 0.007865031249821186, 0.02148602344095707, 0.006881701294332743, 0.005937686190009117, 0.0240634735673666, -0.0346192866563797, -0.006126218941062689, -0.04021185263991356, -0.010296224616467953, -0.01934448629617691, 0.01020712312310934, 0.010120712220668793, -0.01226398628205061, -0.023313263431191444 ]
coding-is-there-a-name-for-everything
https://markhneedham.com/blog/2012/04/23/coding-is-there-a-name-for-everything
false
2012-04-15 14:22:45
Haskell: A simple parsing example using pattern matching
[ "haskell" ]
[ "Haskell" ]
As part of https://code.google.com/codejam/contest/1460488/dashboard#s=p1[the second question in the Google Code Jam] I needed to be able to parse lines of data which looked like this: [source,text] ---- 3 1 5 15 13 11 ---- where ____ The first integer will be N, the number of Googlers, and the second integer will be S, the number of surprising triplets of scores. The third integer will be p, as described above. Next will be N integers ti: the total points of the Googlers. ____ This seemed like it should be easy to do but my initial search led me to the http://book.realworldhaskell.org/read/using-parsec.html[Parsec chapter] in Real World Haskell which seemed a bit over the top for my problem. All we really need to do is split on a space and then extract the parts of the resulting list. I thought there'd be a 'split' function to do that in the base libraries but if there is I couldn't see it. However, there are a bunch of useful functions in the 'http://hackage.haskell.org/packages/archive/split/0.1.4.2/doc/html/Data-List-Split.html[Data.List.Split]' module which we can install using http://www.haskell.org/cabal/[cabal] - a RubyGems like tool which came with my Haskell installation. Installing the http://hackage.haskell.org/package/split-0.1.4.2[split module] was as simple as: [source,text] ---- cabal update cabal install split ---- There's a list of all the packages available through cabal http://hackage.haskell.org/package/[here]. I needed the +++<cite>+++splitOn+++</cite>+++ function: [source,text] ---- import Data.List.Split > :t splitOn splitOn :: Eq a => [a] -> [a] -> [[a]] ---- We can then split on a space and extract the appropriate values using pattern matching like so: [source,haskell] ---- let (_:surprisingScores:p:googlers) = map (\x -> read x :: Int) $ splitOn " " "3 1 5 15 13 11" ---- [source,text] ---- > surprisingScores 1 ---- [source,text] ---- > p 5 ---- [source,text] ---- > googlers [15,13,11] ----
null
null
[ 0.0052368007600307465, 0.020318225026130676, -0.02357286959886551, 0.04973926767706871, 0.048487164080142975, 0.015504682436585426, 0.03539379686117172, 0.04194458946585655, 0.023451050743460655, -0.009858405217528343, -0.03288516029715538, -0.016738194972276688, -0.09720036387443542, -0.0023988489992916584, 0.004368795547634363, 0.06581401079893112, 0.08445481210947037, -0.03934876620769501, -0.0059666987508535385, -0.0062718698754906654, 0.02898837998509407, 0.05608604848384857, -0.02267887070775032, 0.020157458260655403, 0.015153403393924236, 0.013324497267603874, 0.029485542327165604, 0.0205906443297863, -0.055054545402526855, -0.019134312868118286, 0.05637598782777786, 0.0086123151704669, 0.013536502607166767, -0.03787650913000107, 0.0069740829057991505, -0.014052902348339558, -0.006828705780208111, 0.014076260849833488, 0.02000020258128643, 0.030377060174942017, -0.048713140189647675, 0.01735597848892212, -0.03391720727086067, 0.019778581336140633, -0.051045119762420654, -0.008848775178194046, -0.038799550384283066, 0.027358403429389, -0.03493092954158783, 0.022094611078500748, -0.041868653148412704, 0.026458874344825745, -0.02647271379828453, -0.03255041688680649, -0.0015843240544199944, 0.0500757172703743, 0.01972190849483013, -0.07669740915298462, 0.037505246698856354, -0.03971906378865242, -0.00925081130117178, -0.019583888351917267, 0.004625845700502396, 0.014328173361718655, -0.0036947899498045444, -0.02465389482676983, -0.02708801068365574, 0.06129027158021927, -0.04194648936390877, -0.02103330008685589, -0.004042453598231077, 0.032885853201150894, -0.010047880932688713, -0.03762877359986305, 0.000245034258114174, -0.03952483832836151, -0.01322968676686287, 0.09105594456195831, 0.008688912726938725, 0.01955428719520569, -0.015236981213092804, 0.02992909960448742, 0.0316673144698143, 0.0161590613424778, 0.004385407082736492, -0.034536100924015045, -0.045479919761419296, 0.010738121345639229, -0.05274598300457001, 0.05444536358118057, -0.0029847146943211555, -0.07059440016746521, 0.015271635726094246, 0.012495546601712704, 0.026253435760736465, 0.035330880433321, 0.025803865864872932, -0.028326693922281265, 0.006851594895124435, -0.01928488165140152, -0.030196648091077805, -0.015627169981598854, 0.05631168186664581, -0.023066164925694466, -0.08170292526483536, 0.010334921069443226, -0.02157830446958542, -0.009486823342740536, 0.010886416770517826, -0.0007650773623026907, -0.005344065837562084, -0.009598471224308014, -0.009403232485055923, 0.013467162847518921, -0.07661104947328568, 0.07617232203483582, -0.009216363541781902, -0.020815154537558556, 0.004746157675981522, 0.025390734896063805, 0.03305426985025406, 0.042365912348032, -0.0006094824057072401, 0.08896996080875397, 0.03068409115076065, 0.030841190367937088, -0.006514521781355143, 0.053955767303705215, -0.04227162152528763, -0.04856233671307564, -0.04178256914019585, 0.07308504730463028, -0.019377127289772034, 0.012412987649440765, -0.030115844681859016, -0.03606807067990303, -0.04020215570926666, 0.005711600184440613, 0.06242778152227402, 0.03569358214735985, -0.004646845627576113, -0.03621958941221237, 0.0207683015614748, -0.03818713501095772, 0.03224413841962814, 0.019131259992718697, 0.01523350179195404, 0.0032726183999329805, -0.016913631930947304, 0.04431116580963135, 0.0021859819535166025, 0.038337983191013336, 0.05011606961488724, -0.01801292411983013, 0.030003705993294716, 0.05978962779045105, 0.025418883189558983, 0.033298540860414505, 0.0028397953137755394, 0.027510473504662514, 0.03318404406309128, 0.04356906935572624, 0.006562478840351105, 0.060324303805828094, 0.0009918872965499759, 0.012680086307227612, 0.006083096843212843, 0.009387895464897156, -0.04211770370602608, -0.0036435474175959826, -0.03672622889280319, -0.040610913187265396, 0.0452202633023262, -0.028735831379890442, -0.02048308588564396, 0.024645846337080002, 0.08239533752202988, 0.027700107544660568, 0.0530957356095314, -0.02656729146838188, -0.08553976565599442, 0.015493204817175865, -0.009407632052898407, 0.02468384988605976, 0.010295206680893898, 0.007325778249651194, 0.061529044061899185, 0.013091053813695908, -0.010674497112631798, 0.0011890068417415023, -0.06771261245012283, -0.06000204011797905, -0.010624166578054428, -0.024731099605560303, 0.10027879476547241, -0.03400249406695366, 0.01108065526932478, 0.059604234993457794, 0.015571270138025284, 0.027536658570170403, 0.004089112859219313, 0.019764643162488937, 0.01091270986944437, -0.02789117954671383, -0.036470524966716766, 0.049385230988264084, 0.033961933106184006, -0.014662320725619793, -0.025957543402910233, 0.003481346182525158, -0.013116615824401379, -0.009812417440116405, 0.035268668085336685, -0.020096853375434875, 0.05738780274987221, 0.02944948524236679, 0.037481293082237244, 0.010502404533326626, 0.050762929022312164, -0.05055074021220207, 0.03620878979563713, 0.006761046126484871, -0.018969466909766197, -0.014419051818549633, 0.00557380635291338, 0.11353310197591782, 0.08238833397626877, -0.01842356100678444, -0.05103495717048645, 0.036421969532966614, 0.011832610704004765, -0.021786030381917953, 0.008679436519742012, 0.0099125225096941, -0.022255174815654755, -0.019352518022060394, -0.050175897777080536, -0.01480129174888134, 0.009664281271398067, -0.02259541116654873, -0.011498314328491688, 0.0742420181632042, -0.029467925429344177, 0.04227007180452347, -0.0017270204843953252, -0.03592689335346222, 0.0013288367772474885, -0.04037197679281235, -0.025075336918234825, -0.011835919693112373, -0.0009264372056350112, -0.013593577779829502, 0.03161416947841644, -0.043036166578531265, -0.019933613017201424, 0.0013799585867673159, -0.025686809793114662, 0.029534466564655304, 0.03490869328379631, 0.04465072229504585, 0.005927188787609339, 0.02662014402449131, -0.023907216265797615, -0.011102743446826935, -0.012242740020155907, -0.03351012244820595, -0.0396270677447319, -0.025211088359355927, 0.009000413119792938, 0.044070418924093246, 0.028016921132802963, 0.03872430697083473, -0.005090333055704832, 0.0049007670022547245, 0.019232770428061485, -0.010050242766737938, 0.03259259834885597, -0.01856645941734314, -0.01209620013833046, -0.019974136725068092, -0.034886375069618225, 0.0934152901172638, -0.060167230665683746, 0.001685023307800293, -0.011098339222371578, -0.047122642397880554, 0.07222120463848114, -0.0955839678645134, -0.021791471168398857, -0.0035353039857000113, 0.027774037793278694, 0.06057489663362503, -0.030791835859417915, 0.011139375157654285, 0.05772053450345993, 0.005882358644157648, 0.03831172361969948, 0.033709682524204254, 0.0053023421205580235, 0.036961063742637634, -0.015720002353191376, 0.009273930452764034, 0.02525288239121437, 0.0008525463636033237, -0.015035009942948818, -0.05462869629263878, 0.013351638801395893, -0.004788240417838097, -0.26952317357063293, 0.02245318703353405, -0.037966035306453705, -0.05608448013663292, 0.021792151033878326, -0.022030645981431007, -0.011556529439985752, -0.031370632350444794, 0.0002670499961823225, 0.03356204181909561, -0.02029820717871189, -0.034158043563365936, -0.015412257984280586, 0.043354395776987076, 0.016527017578482628, 0.012403979897499084, -0.029197998344898224, -0.026458701118826866, 0.010236541740596294, 0.04932856187224388, 0.003538786433637142, -0.056699980050325394, -0.006551739759743214, 0.042953528463840485, 0.017882853746414185, 0.05103466287255287, -0.0846652165055275, 0.005166949238628149, -0.043356914073228836, -0.009388236328959465, -0.00032124188146553934, -0.03812195360660553, -0.0011367908446118236, -0.01704568602144718, -0.004407588392496109, -0.013877198100090027, 0.050819024443626404, -0.00975813064724207, -0.003121631685644388, 0.030003391206264496, -0.04007406160235405, -0.0221833698451519, 0.007030571810901165, -0.02643771469593048, 0.11791303008794785, -0.014940418303012848, -0.07161449640989304, -0.023994656279683113, -0.016566289588809013, 0.06852421164512634, -0.04579233005642891, -0.030253281816840172, -0.018924692645668983, 0.044149000197649, -0.03324580565094948, 0.020383305847644806, -0.011331114917993546, -0.007408801931887865, -0.049905337393283844, -0.016532469540834427, -0.0070767635479569435, -0.04507160559296608, -0.033844348043203354, -0.03671693801879883, -0.008901293389499187, -0.07977434247732162, -0.05712294578552246, -0.007743695750832558, 0.05803651362657547, -0.0034821282606571913, -0.03240979462862015, -0.025429872795939445, 0.00044846287346445024, -0.10093970596790314, -0.015367364510893822, -0.032957762479782104, -0.014841863885521889, 0.015899408608675003, 0.016202906146645546, 0.06120295450091362, -0.0530940517783165, -0.06995340436697006, 0.049101732671260834, -0.028125347569584846, 0.0606129951775074, -0.014100724831223488, -0.0007651997148059309, -0.009092357940971851, -0.00796730350703001, -0.016263380646705627, 0.06311672180891037, -0.043832335621118546, -0.0049427580088377, -0.021445637568831444, 0.004797013942152262, 0.02823495678603649, 0.0003279066877439618, 0.01276867464184761, 0.00031950653647072613, 0.06357849389314651, 0.005483069457113743, -0.053206898272037506, 0.022012505680322647, -0.047313347458839417, -0.008928373456001282, -0.013378367759287357, -0.051890257745981216, 0.020189572125673294, 0.031983476132154465, -0.0036198499146848917, -0.013213408179581165, -0.04863998293876648, 0.008895543403923512, -0.05107146129012108, -0.04452227056026459, -0.0024630343541502953, 0.0019434414571151137, 0.010665787383913994, 0.014485221356153488, 0.006768678314983845, -0.05447499081492424, 0.00214038765989244, 0.015053222887217999, -0.029505617916584015, -0.05166490375995636, -0.037369340658187866, -0.04203047230839729, -0.0038483301177620888, 0.03205432742834091, 0.0076290275901556015, -0.030332816764712334, 0.03410906344652176, 0.01884344033896923, -0.03594113886356354, 0.02596045657992363, -0.011960803531110287, -0.03608524799346924, -0.02092467062175274, -0.0069550881162285805, 0.01160574983805418, 0.04033515602350235, -0.007528279908001423, 0.03694276139140129, 0.0358600988984108, 0.02990533784031868, -0.02326621674001217, 0.02317330799996853, 0.0016808930085971951, -0.013256116770207882, 0.014350422658026218, -0.026309331879019737, -0.03696542605757713, 0.045945312827825546, -0.019972221925854683, -0.01890925131738186, -0.006140597630292177, 0.029964014887809753, 0.0063798073679208755, -0.05512195825576782, -0.030646912753582, 0.009051468223333359, -0.03697708249092102, -0.02406885474920273, -0.02219797670841217, -0.007260615471750498, 0.05160985141992569, -0.006155495997518301, 0.0364002026617527, -0.03877239674329758, -0.007729950826615095, 0.012434120289981365, 0.04851694777607918, -0.024805694818496704, 0.004401548765599728, -0.0007334561669267714, -0.021789830178022385, 0.0203458983451128, 0.026435839012265205, 0.023112092167139053, 0.01040156465023756, -0.01649997942149639, -0.01332902256399393, -0.011634078808128834, 0.009492490440607071, 0.046159371733665466, 0.0448046550154686, -0.005859303288161755, 0.009305732324719429, -0.03893871605396271, -0.04609665274620056, -0.013668118044734001, 0.0026160685811191797, -0.02506815455853939, 0.01416232343763113, -0.046037230640649796, -0.08895236998796463, 0.0039736246690154076, 0.0821828618645668, -0.002076507778838277, 0.002272754441946745, 0.020035313442349434, -0.01204835344105959, -0.010046783834695816, 0.010040482506155968, 0.07099269330501556, -0.05275563895702362, 0.007724137045443058, -0.003581426339223981, 0.038320623338222504, 0.003341043833643198, 0.00102896336466074, -0.042218852788209915, -0.029117263853549957, -0.02861262857913971, -0.010856023989617825, -0.00988016091287136, -0.022903138771653175, -0.010931599885225296, 0.0026811929419636726, -0.023006757721304893, -0.014890513382852077, -0.00703688757494092, 0.016948606818914413, -0.017447659745812416, -0.03252842649817467, -0.006943804211914539, 0.012949141673743725, -0.005297540687024593, 0.037379395216703415, -0.03532406687736511, 0.04472729191184044, -0.013265218585729599, 0.02205006405711174, 0.02245165966451168, 0.018218856304883957, -0.00014906244177836925, -0.03879857808351517, -0.012320293113589287, -0.04131690412759781, 0.062062788754701614, -0.01125779002904892, -0.0014882927061989903, 0.003718594554811716, 0.014197131618857384, -0.03675716370344162, 0.0012065507471561432, 0.0027354834601283073, -0.046446047723293304, 0.03963115066289902, 0.03915569558739662, -0.0010466421954333782, 0.0020475706551223993, 0.00948393251746893, -0.04195523262023926, 0.0536307729780674, -0.029915429651737213, -0.06480270624160767, -0.014893360435962677, -0.07665450125932693, 0.0015112145338207483, -0.0003135595179628581, 0.010140540078282356, -0.046202678233385086, 0.03703707456588745, 0.04921882972121239, 0.026228945702314377, 0.027247851714491844, -0.01422213762998581, 0.01828698255121708, -0.04400772973895073, 0.00032380633638240397, -0.07609906047582626, 0.013153469190001488, 0.03251770883798599, -0.021747425198554993, -0.035822149366140366, 0.004788392223417759, -0.03177308663725853, 0.02536352165043354, -0.037833359092473984, -0.04097484424710274, 0.05202021449804306, 0.03584321215748787, 0.00024749591830186546, 0.028827005997300148, -0.052704330533742905, 0.016383305191993713, 0.026588300243020058, -0.014757394790649414, 0.004862133879214525, -0.04962032660841942, 0.06304610520601273, -0.012327117845416069, 0.01150606945157051, 0.004882270470261574, -0.02500850521028042, 0.06317320466041565, 0.03126361593604088, 0.046624887734651566, 0.047877341508865356, 0.013953732326626778, 0.003501111874356866, 0.0030688911210745573, 0.0033121819142252207, -0.02839505486190319, 0.04097764194011688, -0.01628854312002659, -0.04977317154407501, 0.02418120764195919, 0.0175124853849411, -0.017597679048776627, -0.02040819264948368, 0.057218171656131744, 0.032016828656196594, -0.024328291416168213, -0.05600263550877571, 0.035029713064432144, -0.06539636850357056, -0.0030956491827964783, -0.014706036075949669, -0.011408326216042042, -0.026158573105931282, 0.0512223020195961, -0.00494343088939786, 0.014600308611989021, 0.06328564137220383, -0.009017306379973888, -0.02298138290643692, 0.016398750245571136, 0.08508625626564026, 0.08920733630657196, 0.025347614660859108, 0.011643302626907825, 0.052152764052152634, -0.0418858677148819, -0.04664933308959007, 0.021638907492160797, -0.025898654013872147, 0.016451209783554077, -0.006111421622335911, -0.014661524444818497, 0.05758928135037422, -0.01795952208340168, 0.07111237943172455, -0.039936214685440063, 0.008810472674667835, 0.009357555769383907, 0.02075899951159954, 0.03340993449091911, 0.08428832143545151, -0.00233823386952281, 0.017585568130016327, -0.0028967508114874363, -0.032362453639507294, 0.023744503036141396, -0.012979178689420223, -0.026071149855852127, 0.03223004937171936, 0.01796288788318634, 0.016806278377771378, 0.020023394376039505, 0.030608640983700752, 0.06725166738033295, 0.009125830605626106, 0.012854764237999916, -0.005840668920427561, 0.003882762510329485, 0.011506185866892338, -0.012803214602172375, -0.04644732549786568, -0.05009814724326134, -0.020526930689811707, -0.035175248980522156, -0.03774901106953621, -0.017587749287486076, -0.03206385672092438, 0.0458025261759758, -0.029264919459819794, 0.03587183356285095, -0.0036335745826363564, 0.021965406835079193, -0.013345494866371155, -0.052458036690950394, -0.05967571586370468, -0.03525036945939064, -0.08338376134634018, -0.014088858850300312, 0.013540728017687798, -0.01952568255364895, -0.0018105644267052412, -0.02392762526869774, -0.01858922839164734, -0.019569074735045433, 0.015492428094148636, -0.035309452563524246, -0.03129720315337181, 0.0278252474963665, 0.017531994730234146, 0.0072699543088674545, 0.03186378628015518, 0.048075444996356964, -0.004675530828535557, -0.0002427117869956419, -0.016404729336500168, -0.003543135477229953, 0.021857410669326782, 0.029627948999404907, -0.0014071858022361994, -0.0704791396856308, -0.0016997255152091384, 0.002761971903964877, 0.011366822756826878, -0.08799637109041214, 0.00607558386400342, 0.022245479747653008, 0.00757806608453393, 0.03904513642191887, -0.032020922750234604, -0.0010197303490713239, -0.03550497815012932, -0.043263740837574005, -0.003307971404865384, 0.015324031934142113, 0.03811225667595863, -0.022006148472428322, 0.09747989475727081, 0.016087869182229042, -0.03896578028798103, -0.04768139496445656, 0.0017890336457639933, -0.016637012362480164, 0.022293608635663986, -0.020097006112337112, -0.027068963274359703, -0.04074430838227272, -0.0633154883980751, -0.023804999887943268, -0.005667883437126875, -0.05799167603254318, -0.010226095095276833, 0.008762288838624954, 0.03566733002662659, -0.07198753952980042, 0.04736728593707085, -0.024515513330698013, 0.024495819583535194, -0.019289232790470123, -0.047018591314554214, 0.0005734121077693999, 0.1057380884885788, 0.02662847936153412, 0.01566086709499359, 0.034378550946712494, -0.04133731871843338, -0.007910829037427902, 0.011925771832466125, 0.044717371463775635, 0.016336914151906967, -0.0308066438883543, 0.011077303439378738 ]
[ -0.0762343779206276, -0.015534456819295883, -0.0021491912193596363, -0.040774401277303696, 0.03216768056154251, -0.049115221947431564, -0.03563731163740158, 0.028906237334012985, 0.007673894055187702, -0.01864229142665863, 0.020103177055716515, -0.05464309826493263, 0.0038035667967051268, -0.01813500002026558, 0.0689883828163147, 0.015524583868682384, -0.016159484162926674, -0.03617101162672043, -0.05870085209608078, 0.026236647740006447, 0.0421111024916172, -0.03466375544667244, -0.025573451071977615, -0.023855241015553474, 0.039102476090192795, 0.053709857165813446, 0.002681116573512554, -0.07676886022090912, -0.033777907490730286, -0.22575286030769348, 0.011979086324572563, -0.0002127256157109514, 0.06086789071559906, -0.04460766911506653, -0.0320776142179966, 0.054239802062511444, 0.017620762810111046, 0.021711120381951332, -0.00898279994726181, 0.08065436780452728, 0.04284273833036423, 0.004668539389967918, -0.04751669988036156, 0.006386230234056711, 0.014953842386603355, -0.0035917581990361214, -0.06281863898038864, -0.020985761657357216, 0.018688872456550598, 0.000038746773498132825, -0.08644938468933105, 0.04066026955842972, 0.006295135710388422, 0.03516590595245361, 0.0008533389191143215, -0.02529742754995823, 0.03208370879292488, 0.11093021929264069, 0.01814868487417698, 0.025950130075216293, 0.031100384891033173, 0.012563465163111687, -0.12044581770896912, 0.09269529581069946, 0.024427857249975204, 0.05312132090330124, -0.04610634595155716, -0.03947763890028, -0.06605848670005798, 0.0749577209353447, -0.02333245612680912, -0.0172660443931818, -0.03011222369968891, 0.05579708516597748, -0.01764647848904133, -0.041069649159908295, -0.01867811568081379, 0.034206874668598175, 0.04698604345321655, -0.02295847237110138, -0.03889088332653046, -0.03634444251656532, -0.018908802419900894, -0.012026476673781872, -0.0035484046675264835, -0.012236361391842365, -0.021839089691638947, 0.07240521162748337, -0.008366125635802746, -0.011798771098256111, 0.03221382200717926, -0.06030565872788429, 0.0015649921260774136, 0.016656937077641487, -0.07127965986728668, 0.0034645143896341324, -0.03398613631725311, 0.016319019719958305, 0.01615528203547001, 0.39197003841400146, -0.041133277118206024, -0.002645909320563078, 0.0428352952003479, 0.010042634792625904, 0.004209705162793398, -0.026469843462109566, -0.011655045673251152, -0.03951602429151535, 0.020243188366293907, -0.0686732828617096, 0.009912398643791676, -0.0033642842900007963, 0.0866449773311615, -0.05412784591317177, 0.017819397151470184, -0.005857015494257212, 0.008201935328543186, 0.002794734202325344, 0.02622944302856922, -0.008446458727121353, -0.004763251170516014, -0.0036455777008086443, 0.01621377468109131, 0.011089982464909554, 0.005360827315598726, 0.05199410393834114, 0.012270540930330753, 0.03946556895971298, 0.029232656583189964, 0.04755306988954544, 0.06102524697780609, -0.04079098999500275, -0.06593362241983414, -0.0006935099954716861, -0.015176871791481972, 0.005538152996450663, 0.029059723019599915, -0.040815319865942, 0.03811464086174965, -0.007594282738864422, -0.005085615906864405, -0.05080919340252876, 0.034415777772665024, 0.027510395273566246, 0.005726858042180538, 0.09835650026798248, -0.022157080471515656, -0.042834099382162094, -0.02040649950504303, -0.06368135660886765, -0.0015230411663651466, 0.045620258897542953, 0.014751171693205833, -0.06171519309282303, 0.004858678672462702, 0.036925800144672394, 0.08153633773326874, -0.031892478466033936, -0.0573962926864624, -0.002051315037533641, -0.03913583606481552, -0.041688431054353714, -0.024868616834282875, 0.08822659403085709, 0.008838064968585968, -0.06765672564506531, -0.030913997441530228, 0.023208115249872208, 0.001381958369165659, -0.08948182314634323, 0.016806457191705704, 0.013218945823609829, -0.03221661224961281, 0.04198208823800087, 0.028234489262104034, -0.03371036797761917, -0.024369260296225548, 0.003962967079132795, 0.03476329520344734, 0.05070016533136368, -0.020569095388054848, -0.00999448262155056, -0.045581646263599396, 0.026299120858311653, -0.02979484759271145, -0.06542076915502548, -0.07683605700731277, -0.024506570771336555, -0.02087361179292202, -0.027780920267105103, -0.024604875594377518, 0.012349005788564682, -0.08055484294891357, 0.04104112088680267, 0.004147442523390055, 0.004775213077664375, -0.0010179358068853617, -0.01696179062128067, -0.0431184247136116, -0.00575394369661808, 0.03676317259669304, 0.017080815508961678, -0.00963644403964281, 0.016685348004102707, -0.0967218205332756, 0.035909924656152725, 0.06456505507230759, -0.049780018627643585, 0.07372349500656128, 0.025002777576446533, 0.036507878452539444, -0.00463504483923316, -0.0339084193110466, 0.022305548191070557, -0.002300427993759513, -0.04229892045259476, 0.01730392314493656, -0.041005514562129974, 0.01359422318637371, 0.05031489208340645, -0.04861732944846153, -0.07573682069778442, -0.036424826830625534, -0.3447834849357605, -0.0414605587720871, 0.025571396574378014, -0.023417692631483078, 0.008321939036250114, -0.07773622125387192, -0.009885529056191444, 0.0010745467152446508, -0.0021504212636500597, 0.09328670799732208, 0.08551126718521118, -0.000630391004960984, -0.010476736351847649, -0.08430352807044983, -0.016196701675653458, 0.024766016751527786, -0.026602480560541153, -0.002901289379224181, -0.01284428033977747, 0.0470815971493721, 0.008833157829940319, -0.020710047334432602, -0.03611728176474571, -0.04567346349358559, -0.030142076313495636, -0.04453310742974281, 0.1162382960319519, 0.03600504994392395, 0.05682530999183655, -0.06281238794326782, 0.07796907424926758, 0.007977618835866451, -0.018147319555282593, -0.037607841193675995, 0.024988114833831787, -0.05870600789785385, -0.019986746832728386, 0.020575931295752525, 0.02300185151398182, -0.027361949905753136, -0.0704832598567009, -0.021030863747000694, -0.04711242765188217, -0.027345137670636177, 0.008973008953034878, -0.0027992562390863895, -0.015021409839391708, -0.044623807072639465, 0.012887059710919857, 0.06948462873697281, 0.01147607620805502, 0.02523828111588955, 0.03190005198121071, 0.012288935482501984, -0.024678003042936325, -0.002083204220980406, -0.06463030725717545, -0.017822153866291046, -0.02790549211204052, -0.005201861262321472, 0.028001748025417328, 0.0358596034348011, 0.04784243553876877, -0.015723519027233124, -0.004649244248867035, 0.03401710093021393, 0.006279847119003534, -0.0033084603492170572, 0.017236977815628052, -0.005262437276542187, 0.006233687978237867, 0.06633502244949341, 0.0012346748262643814, 0.032066602259874344, 0.015969447791576385, 0.05237723886966705, -0.007961668074131012, 0.008123485371470451, 0.06853888928890228, -0.026739617809653282, -0.0032647510524839163, 0.014425273984670639, 0.0023885220289230347, -0.02774236351251602, 0.01959257386624813, 0.020901553332805634, -0.01962643675506115, 0.05399223417043686, 0.03570916876196861, 0.024796102195978165, -0.0029248096980154514, 0.04255852848291397, 0.017748914659023285, 0.005550635978579521, 0.028824901208281517, 0.02426067553460598, -0.24601247906684875, 0.052681487053632736, 0.02431061863899231, -0.0040552206337451935, 0.029431147500872612, 0.014056752435863018, 0.046294908970594406, -0.07437633723020554, 0.007685603573918343, 0.001054237480275333, 0.05197251960635185, 0.06259539723396301, 0.012468263506889343, -0.01675206795334816, 0.02710391767323017, -0.044333577156066895, 0.05781286582350731, 0.027209945023059845, -0.023782117292284966, 0.029331650584936142, 0.07317789644002914, -0.01179279200732708, 0.19769108295440674, 0.009054545313119888, -0.0023942124098539352, 0.03053998202085495, 0.006719736382365227, 0.0030333867762237787, 0.058259718120098114, 0.03863844275474548, 0.0033805149141699076, -0.0055205076932907104, 0.06403174251317978, -0.02440943568944931, 0.0283949114382267, -0.00341970007866621, 0.02771851234138012, 0.020804058760404587, 0.030293051153421402, -0.004527172539383173, -0.0010672748321667314, 0.0057705966755747795, -0.05509233474731445, 0.04135725274682045, 0.07760331779718399, -0.018042797222733498, -0.005395446438342333, -0.05569532513618469, -0.03985358774662018, 0.005989106837660074, -0.0007607488078065217, -0.02716808393597603, -0.02010785974562168, -0.025846000760793686, -0.016415396705269814, 0.04555082321166992, -0.03033623844385147, -0.007851588539779186, 0.007285982836037874, 0.0031705377623438835, 0.004331507720053196, -0.025193864479660988, 0.12095529586076736, -0.0020319055765867233, -0.003408579621464014 ]
[ -0.04191386327147484, -0.01154025923460722, -0.01116494182497263, -0.015512893907725811, -0.011371093802154064, -0.0028024448547512293, 0.00462162122130394, 0.023627016693353653, -0.046538349241018295, -0.012251311913132668, -0.018051641061902046, -0.009398958645761013, 0.03154630959033966, -0.03850312530994415, 0.03291108086705208, -0.01893794722855091, -0.0007985418778844178, 0.000951227149926126, 0.014028167352080345, -0.06803065538406372, -0.026916714385151863, 0.0194380059838295, 0.014614872634410858, 0.05376136675477028, 0.016009975224733353, 0.031456734985113144, -0.04134153947234154, -0.03794390335679054, 0.021763229742646217, -0.1116071566939354, 0.0020981584675610065, -0.02299734205007553, 0.030439380556344986, 0.00275610713288188, -0.02217448316514492, 0.009654909372329712, -0.014589007012546062, 0.0021443520672619343, -0.03456617519259453, 0.012204086408019066, 0.004054178483784199, -0.01969142258167267, -0.022615160793066025, -0.04647979140281677, 0.030989471822977066, 0.015043128281831741, -0.02258681133389473, -0.02275698073208332, 0.03552823141217232, 0.017901411280035973, -0.036059726029634476, 0.026934200897812843, -0.015570186078548431, 0.04073344171047211, 0.0035886303521692753, -0.0067373597994446754, -0.04611669108271599, -0.045847173780202866, 0.0010875995503738523, -0.006400930695235729, -0.02244466543197632, 0.04491681978106499, -0.04733356833457947, -0.041443463414907455, 0.0025688966270536184, -0.015006821602582932, 0.0026967821177095175, -0.021954664960503578, 0.019863490015268326, 0.009261258877813816, 0.020866254344582558, 0.030473079532384872, -0.048036180436611176, -0.04929327219724655, 0.0054445089772343636, -0.009496706537902355, 0.01835784874856472, -0.025378432124853134, -0.012176609598100185, 0.00790464598685503, -0.01070340070873499, -0.00804001186043024, 0.028383854776620865, 0.021158413961529732, -0.03693034499883652, -0.06632322072982788, -0.019994761794805527, 0.03367093950510025, 0.003131116507574916, -0.014818706549704075, 0.003816095879301429, 0.017748935148119926, 0.035483598709106445, 0.028682462871074677, -0.054602839052677155, 0.024147167801856995, -0.018735814839601517, -0.009364252910017967, 0.015460088849067688, 0.8299350738525391, -0.014766781590878963, 0.04635642096400261, 0.04167395830154419, -0.0015763130504637957, -0.017544062808156013, 0.0026599226985126734, -0.0024470838252454996, -0.009031818248331547, 0.00972119439393282, -0.06081139296293259, 0.04676356166601181, 0.005150895565748215, 0.03931371867656708, 0.024242982268333435, 0.012391455471515656, 0.0016283735167235136, 0.011440400034189224, -0.0010916681494563818, 0.04852455109357834, 0.03531113639473915, 0.00719105638563633, -0.01196956355124712, 0.03242611885070801, 0.03634527325630188, 0.05133609101176262, -0.161237895488739, -0.030429568141698837, -6.803240411625192e-33, 0.025789601728320122, -0.04794665798544884, 0.03806580975651741, -0.0006428708438761532, 0.005869494751095772, 0.042237456887960434, -0.028044406324625015, 0.0056511578150093555, -0.03959396854043007, 0.005018189549446106, 0.022081034258008003, -0.007297986652702093, 0.02013629488646984, -0.003212109673768282, 0.04654686897993088, 0.00981980562210083, 0.004227678757160902, 0.025994274765253067, -0.005145974922925234, -0.02351255528628826, -0.0056416941806674, 0.015080894343554974, 0.033370666205883026, 0.02993261069059372, 0.03155473619699478, 0.024527113884687424, -0.00010357583232689649, -0.03810016065835953, -0.010519668459892273, -0.04589800164103508, -0.01995641365647316, 0.000835397164337337, 0.016465403139591217, 0.012803087942302227, 0.028091100975871086, -0.024811411276459694, -0.025768890976905823, 0.020042074844241142, -0.010840672999620438, -0.013085947372019291, -0.007724851835519075, -0.002846504095941782, -0.002856874605640769, -0.033594973385334015, -0.017975876107811928, 0.009916170500218868, 0.0035572245251387358, 0.03743290156126022, 0.029523763805627823, 0.02624128758907318, 0.028145495802164078, 0.025641251355409622, -0.021427979692816734, -0.009495744481682777, -0.015159012749791145, 0.0049238791689276695, 0.008229532279074192, 0.03548073768615723, 0.029834765940904617, 0.04004671424627304, -0.0415458045899868, 0.03222275897860527, 0.011820672079920769, 0.031651172786951065, -0.013616072945296764, -0.0177012886852026, -0.01006802637130022, 0.01920373924076557, 0.02661958523094654, 0.054343268275260925, -0.05669901892542839, 0.014531564898788929, 0.000681100005749613, -0.006120003759860992, 0.0034118713811039925, -0.05396471545100212, -0.01347927562892437, -0.029171517118811607, -0.006085519213229418, 0.007549557834863663, 0.018158042803406715, -0.04114508628845215, 0.02582170069217682, -0.00793205015361309, -0.02783571183681488, 0.013456223532557487, 0.02817239612340927, -0.010279227048158646, -0.03894142061471939, -0.031499046832323074, 0.005609847139567137, 0.01314020436257124, -0.02036738395690918, -0.008775427006185055, -0.006936062593013048, 6.878562416206038e-33, -0.03038586862385273, -0.017818113788962364, -0.0023419365752488375, -0.011595029383897781, 0.017262421548366547, -0.018676728010177612, 0.023205341771245003, 0.03730586916208267, -0.0022424550261348486, 0.05417075380682945, -0.02081906609237194, 0.02546798624098301, 0.0003224100510124117, 0.014119849540293217, 0.055423296988010406, -0.041137173771858215, 0.013164723291993141, -0.008215464651584625, -0.00123677309602499, 0.008615442551672459, -0.0196530818939209, -0.00014123744040261954, 0.022180793806910515, 0.0027795082423835993, 0.026297615841031075, 0.020115651190280914, 0.009012071415781975, 0.007983291521668434, -0.0039385585114359856, 0.02457408607006073, 0.0027231003623455763, -0.02961196005344391, 0.01595066487789154, -0.005850695539265871, 0.004999891389161348, 0.015192949213087559, -0.016519268974661827, -0.020909257233142853, 0.024490926414728165, 0.030026433989405632, -0.006942237261682749, 0.013642578385770321, 0.005901063792407513, 0.0040498776361346245, -0.0004534267936833203, 0.04243309795856476, 0.0042721922509372234, 0.011448238044977188, -0.008874338120222092, 0.018680285662412643, 0.005938984919339418, 0.014116741716861725, 0.012224423699080944, 0.047985196113586426, 0.012689623050391674, -0.03317295014858246, -0.03490300849080086, 0.012514086440205574, -0.05650295689702034, -0.04921603947877884, -0.0384516716003418, 0.01165330782532692, -0.004893905948847532, 0.010657825507223606, -0.009961404837667942, -0.021652420982718468, -0.05361281335353851, -0.052469052374362946, -0.000378297088900581, 0.029654504731297493, -0.03406727686524391, -0.01644217036664486, 0.015472020953893661, 0.02858627587556839, -0.03420788422226906, 0.0026391232386231422, -0.04326711595058441, 0.03831896185874939, 0.0016372811514884233, 0.02758057788014412, 0.04616280645132065, -0.020900458097457886, 0.05300312861800194, -0.035544898360967636, 0.0012956232530996203, -0.0266193188726902, 0.013903084211051464, 0.03651424124836922, 0.04837856441736221, -0.028797416016459465, 0.0049527836963534355, -0.011403512209653854, 0.01074469555169344, 0.03095463663339615, 0.00729541527107358, -1.251568981786022e-8, -0.012600348331034184, -0.007921319454908371, -0.07354235649108887, 0.054528653621673584, 0.03563222289085388, 0.019352637231349945, -0.028548218309879303, -0.0035248477943241596, -0.03221670165657997, 0.020992109552025795, 0.0364401750266552, -0.03614932298660278, -0.011371846310794353, 0.021757682785391808, 0.027211837470531464, -0.051468826830387115, 0.03900003433227539, -0.0257793627679348, 0.019632279872894287, -0.02049543336033821, -0.015832174569368362, 0.031150082126259804, 0.018455931916832924, 0.003627322381362319, 0.004313068464398384, -0.039557721465826035, 0.013327150605618954, -0.06404159218072891, -0.024313155561685562, -0.007953447289764881, 0.00462914677336812, -0.061236102133989334, -0.014236961491405964, 0.007631756830960512, -0.0021582255139946938, -0.02603624388575554, -0.003108783857896924, 0.020617878064513206, 0.05724015086889267, -0.016039198264479637, -0.008236072026193142, 0.008799932897090912, -0.01691870577633381, -0.031024213880300522, -0.025188526138663292, -0.04651327431201935, -0.007682290393859148, 0.012877549044787884, 0.05261366441845894, -0.0008611326920799911, 0.012813090346753597, -0.011641210876405239, 0.035396263003349304, -0.0029656512197107077, 0.06063130870461464, -0.013198642991483212, 0.0015342871192842722, -0.023266104981303215, -0.0393730029463768, -0.014280357398092747, -0.005747729912400246, 0.00692646624520421, -0.027056019753217697, -0.021017644554376602 ]
haskell-a-simple-parsing-example-using-pattern-matching
https://markhneedham.com/blog/2012/04/15/haskell-a-simple-parsing-example-using-pattern-matching
false
2012-04-15 13:44:09
Haskell: Reading in multiple lines of arguments
[ "haskell" ]
[ "Haskell" ]
I've mostly avoided doing any I/O in Haskell but as https://code.google.com/codejam/contest/1460488/dashboard#s=p1[part of the Google Code Jam] I needed to work out how to read a variable number of lines as specified by the user. The input looks like this: [source,text] ---- 4 3 1 5 15 13 11 3 0 8 23 22 21 2 1 1 8 0 6 2 8 29 20 8 18 18 21 ---- The first line indicates how many lines will follow. In this case we need to read in 4 lines. The function to parse the input needed a type of 'IO [String]'. This was one of my first attempts: [source,haskell] ---- readInput = do line <- getLine let count :: Int count = read line return $ [getLine | x <- [1..count]] ---- Unfortunately that doesn't have the correct signature: [source,text] ---- > :t readInput readInput :: IO [IO String] ---- I thought I might be able to read the value from +++<cite>+++getLine+++</cite>+++ and return a collection of those but that didn't even compile: [source,haskell] ---- readInput = do line <- getLine let count :: Int count = read line return $ [do line <- getLine; line | x <- [1..count]] ---- [source,text] ---- Couldn't match expected type `IO b0' with actual type `[Char]' Expected type: IO b0 Actual type: String In the expression: line In the expression: do { line <- getLine; line } ---- I didn't really understand what the error message was saying so I removed the syntactic sugar that 'do' provides and replaced it with the equivalent function calls. [source,haskell] ---- readInput = do line <- getLine let count :: Int count = read line return $ [getLine >>= \line -> line | x <- [1..count]] ---- [source,text] ---- Couldn't match expected type `IO b0' with actual type `[Char]' Expected type: IO b0 Actual type: String In the expression: line In the second argument of `(>>=)', namely `\ line -> line' ---- +++<cite>+++getLine+++</cite>+++ returns us an IO Monad and '>>=' allows us to read a value from a Monad. However, it expects the function passed as its second argument to return a Monad which leaves us in the same problematic situation! [source,haskell] ---- readInput = do line <- getLine let count :: Int count = read line return $ [getLine >>= \line -> return line | x <- [1..count]] ---- [source,text] ---- > :t readInput readInput :: IO [IO String] ---- I eventually came across http://stackoverflow.com/questions/9666034/haskell-replicatem-io[a StackOverflow post which covered similar ground] and used the +++<cite>+++http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Monad.html#v:replicateM[replicateM]+++</cite>+++ function to solve the problem. [source,text] ---- > :t replicateM replicateM :: Monad m => Int -> m a -> m [a] ---- This is the function I ended up with: [source,haskell] ---- readInput :: IO [String] readInput = do line <- getLine let count :: Int count = read line lines <- replicateM (count) $ do line <- getLine return line return lines ---- If we wanted to print the arguments back to the user we could define our main function like so: [source,haskell] ---- main = do lines <- readInput mapM_ (\(idx, line) -> putStrLn $ "Arg #" ++ show idx ++ " " ++ line) (zip [1..] lines) ---- [source,text] ---- > ./google_code_jam 2 Mark Needham Arg #1 Mark Arg #2 Needham ----
null
null
[ -0.00233841803856194, 0.0030952631495893, -0.04800931736826897, -0.003463661763817072, 0.05808892473578453, 0.05705689266324043, 0.04172481968998909, 0.04095429182052612, 0.02461673505604267, 0.007361019961535931, -0.017814410850405693, -0.005676586180925369, -0.08286821097135544, -0.0027685449458658695, 0.008427450433373451, 0.047606248408555984, 0.08113718032836914, -0.04804402217268944, 0.004553948529064655, 0.004823403898626566, 0.013298049569129944, 0.07262890040874481, -0.023175247013568878, 0.008162811398506165, 0.04310256242752075, -0.007356102112680674, 0.011502309702336788, 0.017662668600678444, -0.04290468618273735, 0.0075057437643408775, 0.057286154478788376, 0.017897969111800194, 0.011288627982139587, -0.026863066479563713, 0.0026881855446845293, -0.006234863307327032, 0.009860246442258358, -0.018179524689912796, 0.012332295067608356, 0.054143983870744705, -0.03475617244839668, 0.012799562886357307, -0.03654082119464874, 0.007863606326282024, -0.04027269780635834, 0.0006534020067192614, -0.04799557104706764, 0.020131241530179977, -0.02821970544755459, 0.009931671433150768, -0.04658861085772514, 0.013154963962733746, -0.034282784909009933, -0.020368436351418495, -0.012812402099370956, 0.03422820568084717, 0.0138366324827075, -0.055389370769262314, 0.034742098301649094, -0.02573968470096588, 0.011852824129164219, -0.027138080447912216, 0.022128179669380188, 0.03103022836148739, 0.0009474864928051829, -0.02797691710293293, -0.03148612007498741, 0.04504023864865303, -0.035622887313365936, -0.013694246299564838, -0.030641742050647736, 0.05469628795981407, -0.021075939759612083, -0.021344231441617012, 0.01152996439486742, -0.04991393908858299, 0.0016730400966480374, 0.05809402838349342, 0.01743878610432148, 0.04406251013278961, -0.01810114085674286, 0.02984558418393135, 0.01505222637206316, -0.0074355220422148705, 0.018451176583766937, -0.01724630780518055, -0.0253441259264946, 0.007259100675582886, -0.04523865133523941, 0.06593085080385208, 0.003312075976282358, -0.06209775060415268, -0.019149212166666985, 0.00885255727916956, 0.020149609073996544, 0.02236664667725563, -0.013591310009360313, -0.01586044393479824, -0.012924293987452984, 0.006375288125127554, -0.06685588508844376, -0.0035571493208408356, 0.06812591850757599, 0.004692683927714825, -0.07388895750045776, -0.011081409640610218, -0.006943969987332821, 0.002243493916466832, 0.015818841755390167, 0.013215815648436546, -0.005358205642551184, -0.026202138513326645, -0.020697230473160744, 0.029165370389819145, -0.08024623990058899, 0.05198425054550171, 0.0028039917815476656, 0.008369759656488895, 0.01167126651853323, 0.048783078789711, 0.035760458558797836, 0.016727354377508163, 0.034564122557640076, 0.06345328688621521, 0.021502984687685966, 0.01847389154136181, 0.01677526719868183, 0.02399824932217598, -0.006098275072872639, -0.057300690561532974, -0.04516676440834999, 0.05991373956203461, -0.03945469111204147, -0.014084127731621265, -0.01778486929833889, -0.02094120904803276, -0.02607581950724125, 0.011694937013089657, 0.04090354964137077, 0.030346108600497246, 0.01147307176142931, -0.04106084257364273, 0.021826934069395065, -0.058481767773628235, 0.019174519926309586, 0.037545058876276016, -0.017833789810538292, -0.013389196246862411, -0.012733408249914646, 0.02140403538942337, 0.02070937678217888, 0.036467719823122025, 0.04535979405045509, -0.024845780804753304, 0.01478530839085579, 0.07862205803394318, 0.005503261927515268, 0.0407707504928112, 0.005617034621536732, 0.00661459332332015, 0.046524833887815475, 0.06052844971418381, 0.02865605242550373, 0.06634628772735596, 0.010847463272511959, 0.00909516029059887, -0.025510022416710854, 0.002512371400371194, -0.0638677105307579, -0.03559934347867966, -0.02548939362168312, -0.020612109452486038, 0.03155739605426788, -0.013795259408652782, 0.012404377572238445, -0.024067126214504242, 0.06636601686477661, 0.005278353113681078, 0.05256903916597366, -0.0036562946625053883, -0.08204598724842072, 0.025320574641227722, -0.011531672440469265, 0.041100431233644485, 0.0020142504945397377, 0.01409388892352581, 0.05916060879826546, 0.033933091908693314, 0.003857027506455779, -0.03146335482597351, -0.053836602717638016, -0.07529536634683609, -0.02347414754331112, -0.005817994475364685, 0.0730859562754631, -0.051172178238630295, 0.005232772324234247, 0.06007694825530052, 0.01643180288374424, 0.02199212834239006, 0.021665804088115692, -0.003658493049442768, 0.04379001259803772, -0.027422910556197166, -0.03719306364655495, 0.031645674258470535, 0.0560024157166481, -0.008967299945652485, -0.033231571316719055, -0.02619677409529686, -0.014519479125738144, 0.01697699911892414, 0.03074767254292965, -0.02300763688981533, 0.040052033960819244, 0.05515654757618904, 0.00015675656322855502, -0.013628818094730377, 0.05314306169748306, -0.07243970036506653, 0.019798219203948975, 0.05428045988082886, -0.0025201733224093914, -0.020921161398291588, -0.020249709486961365, 0.12826500833034515, 0.08490128070116043, -0.020521020516753197, -0.06288935989141464, 0.008818576112389565, -0.03489657863974571, -0.05078805238008499, 0.014987777918577194, 0.007996104657649994, -0.03784440457820892, 0.009540358558297157, -0.012499075382947922, 0.0008650424424558878, -0.011746509000658989, -0.02787378802895546, -0.0174843929708004, 0.06745722889900208, 0.0022758773993700743, 0.034552089869976044, -0.005133930593729019, -0.03727179765701294, -0.003536068834364414, -0.03973804786801338, -0.03705597668886185, 0.022730110213160515, 0.0022863426711410284, 0.0029033368919044733, 0.06685855239629745, -0.04384135827422142, -0.0460519902408123, 0.002896974328905344, -0.048699215054512024, 0.02239992469549179, 0.06282937526702881, 0.04425526410341263, -0.017736045643687248, 0.030403733253479004, -0.004975899588316679, -0.011679454706609249, -0.012163210660219193, -0.03170010820031166, -0.05638326704502106, 0.014539582654833794, -0.0011051450856029987, 0.02574995346367359, 0.05228649079799652, 0.02705494500696659, 0.01449124701321125, -0.016195496544241905, -0.011047661304473877, -0.02146422676742077, 0.04254339262843132, 0.0027243539225310087, -0.03368786349892616, -0.030290042981505394, -0.02744433470070362, 0.06300539523363113, -0.06101379916071892, -0.04054641351103783, -0.012005888856947422, -0.028145145624876022, 0.05750919505953789, -0.044795792549848557, -0.04670814424753189, -0.004913197830319405, 0.013049272820353508, 0.028231732547283173, -0.0466606579720974, 0.0060389721766114235, 0.06372884660959244, 0.005374487955123186, 0.04145653545856476, 0.03733205050230026, 0.030048003420233727, 0.030265534296631813, 0.002662193961441517, 0.014781455509364605, 0.0453622005879879, -0.020347626879811287, -0.028290947899222374, -0.043637972325086594, 0.009216233156621456, -0.01436857134103775, -0.23935307562351227, 0.008556007407605648, -0.030715754255652428, -0.028646143153309822, 0.0281223151832819, -0.024767640978097916, 0.008111396804451942, -0.02046624757349491, -0.00919993594288826, 0.059614021331071854, -0.0021439329721033573, -0.01085730828344822, -0.05358999967575073, 0.05671899393200874, 0.02340351976454258, 0.009414222091436386, -0.005405457690358162, -0.056496746838092804, 0.021586086601018906, 0.054798804223537445, -0.018904099240899086, -0.054060906171798706, -0.0018790450412780046, 0.051210470497608185, 0.010460590943694115, 0.038201458752155304, -0.11078669130802155, 0.02222258225083351, -0.05317895859479904, -0.000028698064852505922, -0.028215952217578888, -0.026285486295819283, -0.010795744135975838, -0.009355707094073296, -0.018624627962708473, -0.013304992578923702, 0.032883308827877045, 0.01690511405467987, 0.008633756078779697, 0.06544610857963562, -0.03345836326479912, -0.04205070808529854, -0.01750539429485798, -0.0628652572631836, 0.06112745776772499, -0.014677811414003372, -0.06119468808174133, -0.01857508346438408, -0.014439582824707031, 0.07138855755329132, -0.06008932739496231, -0.012300945818424225, -0.0186308640986681, 0.030952949076890945, -0.009237583726644516, 0.002676771953701973, -0.009659511968493462, -0.014379257336258888, -0.05580899864435196, -0.02546001598238945, -0.028735261410474777, -0.03833689168095589, -0.02766798622906208, -0.04835488274693489, -0.04764300212264061, -0.05993054062128067, -0.04999201372265816, 0.005143716931343079, 0.06885500997304916, 0.009038482792675495, -0.006494722329080105, -0.00985009130090475, -0.02116832323372364, -0.11226144433021545, -0.03408322483301163, -0.023479659110307693, -0.0165700800716877, 0.0229645948857069, 0.037765223532915115, 0.017656203359365463, -0.04064371809363365, -0.050567276775836945, 0.043365728110075, 0.018179744482040405, 0.052657853811979294, -0.050486043095588684, 0.00542343407869339, -0.043659381568431854, -0.020573915913701057, -0.010151810012757778, 0.051227323710918427, -0.04504368454217911, 0.0005265177460387349, -0.025752009823918343, 0.007941942662000656, 0.02996375598013401, 0.01425128523260355, 0.008686969988048077, 0.005406773183494806, 0.03134547173976898, 0.044611528515815735, -0.02273709326982498, 0.02479618787765503, -0.043430812656879425, 0.0016768076457083225, -0.016431374475359917, -0.06399258226156235, 0.03434980288147926, 0.0407433807849884, -0.0028912739362567663, -0.02548404224216938, -0.03525864705443382, 0.00815780833363533, -0.04805247485637665, -0.03642462193965912, -0.00044053190504200757, -0.005184197332710028, 0.00930208619683981, 0.03924288973212242, -0.004799544811248779, -0.02293575555086136, -0.028474317863583565, 0.0249862652271986, -0.021992554888129234, -0.04917508736252785, -0.02653685212135315, -0.0323437936604023, -0.01204922329634428, 0.010547751560807228, 0.017863387241959572, -0.043371494859457016, 0.02478090487420559, 0.028045088052749634, -0.022085774689912796, 0.005342516582459211, -0.013257980346679688, -0.021501531824469566, 0.00013469006808008999, -0.012889029458165169, 0.006966638378798962, 0.023922111839056015, -0.009387577883899212, 0.025451233610510826, 0.038032300770282745, 0.05469082295894623, -0.027927065268158913, 0.02109665796160698, 0.019661666825413704, -0.04628521203994751, 0.004131719004362822, -0.01138149295002222, -0.036125291138887405, 0.035692520439624786, -0.00846155360341072, -0.04594211280345917, 0.00009146831143880263, 0.04156435653567314, -0.010449286550283432, -0.05095888674259186, -0.04219844937324524, 0.0458599291741848, -0.024735858663916588, -0.01870499923825264, -0.027121422812342644, 0.0021968218497931957, 0.03917223587632179, -0.007716118358075619, 0.046863853931427, -0.022707514464855194, 0.0256525706499815, -0.016355842351913452, 0.015079181641340256, 0.005728207994252443, 0.034745849668979645, -0.020438317209482193, -0.00974256917834282, 0.03430987522006035, 0.030786367133259773, 0.038699567317962646, 0.017071498557925224, -0.023751066997647285, -0.041623447090387344, -0.0035760600585490465, 0.03797284513711929, 0.030701806768774986, 0.009815306402742863, 0.015574919059872627, 0.005680170841515064, -0.013747149147093296, -0.0390377901494503, -0.0332191027700901, -0.013397886417806149, -0.0031609933357685804, 0.03231591358780861, -0.051342759281396866, -0.0690341591835022, 0.013408806174993515, 0.04876894876360893, 0.02769937738776207, 0.008779572322964668, 0.024623919278383255, -0.010171539150178432, -0.02006210759282112, -0.008477713912725449, 0.06751325726509094, -0.03368993103504181, -0.03251693770289421, 0.011109096929430962, 0.040276624262332916, 0.012090676464140415, -0.0070134541019797325, -0.0638524517416954, 0.00020621888688765466, -0.026953214779496193, -0.025156209245324135, -0.0011642579920589924, -0.003674502717331052, -0.033872589468955994, 0.024057753384113312, -0.040805917233228683, -0.014759899117052555, -0.0030533093959093094, -0.012493676505982876, -0.04904177784919739, -0.013149549253284931, -0.01833232492208481, -0.032735973596572876, -0.020728781819343567, 0.06060802564024925, -0.020528506487607956, 0.050166722387075424, -0.023478858172893524, 0.05440284684300423, 0.032211314886808395, 0.013772762380540371, -0.021793678402900696, -0.06770645827054977, 0.018511779606342316, -0.026282625272870064, 0.06589297205209732, 0.005276036448776722, -0.013245887123048306, 0.006458332762122154, -0.009133112616837025, -0.03530142828822136, -0.012185639701783657, -0.00025481186457909644, -0.05682807415723801, 0.0033644484356045723, 0.06685357540845871, -0.021158723160624504, 0.039683692157268524, 0.030592534691095352, -0.04915180429816246, 0.06462693959474564, -0.008433404378592968, -0.03970273211598396, 0.011319819837808609, -0.047449659556150436, 0.027977101504802704, 0.014796295203268528, 0.030664237216114998, -0.02965007908642292, 0.05193827673792839, 0.06709056347608566, 0.05219460278749466, 0.02489802986383438, -0.026481496170163155, 0.03448176756501198, -0.03178272023797035, 0.0002186155179515481, -0.09791900962591171, 0.008732116781175137, 0.022117920219898224, 0.0028767555486410856, -0.026742292568087578, -0.0329110249876976, 0.004464632831513882, 0.04195362329483032, -0.04000355675816536, -0.03400103747844696, 0.025129035115242004, 0.022131435573101044, 0.02447502501308918, 0.048248291015625, -0.04132496565580368, -0.0037140194326639175, 0.06931042671203613, 0.008989086374640465, -0.021614663302898407, -0.047596275806427, 0.04423950985074043, -0.0023864039685577154, 0.021380174905061722, -0.013522421941161156, -0.038663703948259354, 0.03345905616879463, 0.04292186349630356, 0.029022427275776863, 0.06946155428886414, -0.01981424167752266, 0.03318469971418381, -0.007393407169729471, -0.0234946608543396, -0.031328070908784866, 0.049731601029634476, -0.027174631133675575, -0.03677714988589287, 0.0038248607888817787, 0.023359820246696472, -0.03372316434979439, -0.02532014809548855, 0.06258129328489304, 0.014324012212455273, -0.00912080891430378, -0.05906588211655617, 0.01703210547566414, -0.027608001604676247, 0.0028285325970500708, -0.00850696861743927, 0.008944552391767502, -0.039843298494815826, 0.04980336129665375, 0.008076230064034462, 0.003892170963808894, 0.04482357203960419, 0.043700408190488815, -0.019723977893590927, 0.0018549654632806778, 0.08669121563434601, 0.1089182123541832, 0.021388068795204163, 0.005900691729038954, 0.04017603397369385, -0.04594184830784798, -0.022522779181599617, 0.018696170300245285, -0.043950773775577545, -0.005808130372315645, -0.009931058622896671, -0.011979075148701668, 0.06901305168867111, -0.013870630413293839, 0.04910761117935181, -0.04067964106798172, -0.004512281622737646, 0.01581106148660183, 0.026638055220246315, 0.045026879757642746, 0.06767085194587708, -0.006214197725057602, 0.016887325793504715, 0.025589236989617348, -0.03946651518344879, -0.003395137144252658, 0.006597344763576984, -0.04490138962864876, -0.01592196337878704, -0.00490852864459157, -0.025930071249604225, 0.015669532120227814, 0.024640729650855064, 0.06377606093883514, -0.0065699294209480286, 0.0068553234450519085, -0.0146888867020607, 0.026854772120714188, -0.03154459968209267, -0.0076033021323382854, -0.03808916360139847, -0.038692913949489594, -0.009792194701731205, -0.022808190435171127, 0.0018833056092262268, 0.002744837664067745, -0.055670879781246185, 0.002733551198616624, -0.03737180307507515, 0.030003128573298454, 0.01893884874880314, 0.005311531480401754, -0.005847658962011337, -0.04663560912013054, -0.047538090497255325, -0.033636488020420074, -0.06540558487176895, 0.008185276761651039, 0.013228722847998142, -0.04168400168418884, -0.02545004151761532, -0.042322203516960144, -0.01749466545879841, -0.03721567988395691, 0.026463914662599564, -0.018350103870034218, -0.012345707044005394, 0.0013622846454381943, -0.017124515026807785, 0.03006669133901596, 0.048534590750932693, 0.020284537225961685, -0.030546274036169052, 0.0019489487167447805, -0.012665360234677792, -0.007015021052211523, 0.06977087259292603, 0.03588223457336426, -0.008490913547575474, -0.08956586569547653, -0.016588756814599037, 0.03600876405835152, 0.013799373060464859, -0.09441842138767242, -0.025149909779429436, -0.013331823982298374, -0.009279826655983925, 0.02700977399945259, -0.006187914405018091, -0.017536653205752373, -0.02032068558037281, -0.03285837918519974, 0.000394181814044714, 0.01667158119380474, 0.051665350794792175, -0.03759527951478958, 0.0806446522474289, 0.004299798980355263, -0.02812815085053444, -0.02822931855916977, 0.03103826940059662, -0.037060968577861786, 0.041424460709095, -0.01189725287258625, -0.023716896772384644, -0.04680722951889038, -0.04534311220049858, -0.020982759073376656, -0.010440914891660213, -0.007615013513714075, -0.0224453117698431, -0.012211877852678299, 0.06188126280903816, -0.084648996591568, 0.0826001763343811, -0.019961383193731308, 0.027320297434926033, -0.005389625672250986, -0.08216629177331924, 0.0027737347409129143, 0.04957551509141922, 0.01657787524163723, 0.031907688826322556, 0.019993608817458153, -0.02110976167023182, -0.018864933401346207, 0.006521915085613728, 0.021371865645051003, 0.05722183361649513, -0.045418333262205124, 0.034250158816576004 ]
[ -0.10894069820642471, -0.04110068827867508, -0.028171218931674957, -0.017133895307779312, -0.011324543505907059, -0.06259779632091522, 0.014691002666950226, 0.03999278321862221, 0.017651671543717384, -0.04134923964738846, 0.004340789746493101, -0.033589743077754974, 0.016508417204022408, -0.016532015055418015, 0.045365363359451294, -0.023380380123853683, -0.011640094220638275, -0.047741781920194626, -0.05077647790312767, 0.03832235559821129, 0.05239781737327576, -0.03753902018070221, -0.06128303334116936, -0.03895258903503418, 0.0018851198256015778, 0.04630327224731445, 0.0341639369726181, -0.04012947157025337, 0.00727324141189456, -0.22589677572250366, -0.027027832344174385, 0.025021616369485855, 0.0537741556763649, -0.015683038160204887, -0.004189914092421532, 0.04871274158358574, 0.01491619274020195, -0.006673166062682867, 0.00019709020853042603, 0.08143310248851776, 0.02159186080098152, 0.01832086220383644, -0.036110181361436844, -0.004569556564092636, 0.026261569932103157, 0.0004212381027173251, -0.055188775062561035, -0.00806505884975195, 0.03184476122260094, 0.00398900406435132, -0.07872059941291809, 0.019694386050105095, 0.0198411475867033, 0.004367546644061804, 0.012307349592447281, 0.030870703980326653, 0.03786761686205864, 0.10069801658391953, 0.028175054118037224, -0.0059209405444562435, -0.006620222236961126, -0.0037694897036999464, -0.13174910843372345, 0.10718149691820145, 0.02060912363231182, 0.04276519641280174, -0.0466468408703804, -0.024290455505251884, -0.043662697076797485, 0.05622387304902077, -0.008331621997058392, -0.019660113379359245, -0.03252090886235237, 0.06364153325557709, -0.002907593734562397, -0.026080196723341942, 0.015937181189656258, 0.014588991180062294, 0.060012683272361755, -0.03271162882447243, -0.03097780980169773, -0.039943184703588486, -0.02560356818139553, -0.010024486109614372, -0.019268611446022987, 0.008310356177389622, -0.03820495307445526, 0.09490607678890228, 0.029475774616003036, -0.03577539324760437, 0.0037447656504809856, -0.03714173287153244, -0.008296472020447254, 0.033512845635414124, -0.038162633776664734, 0.016488531604409218, -0.0031620573718100786, 0.0037415686529129744, -0.02108008600771427, 0.38720691204071045, -0.021072832867503166, -0.020504731684923172, 0.029926232993602753, 0.05001024529337883, 0.002253127284348011, 0.006200478877872229, -0.009208858013153076, -0.0699707642197609, -0.02466021291911602, -0.06165141612291336, -0.020871175453066826, -0.04978179931640625, 0.08053967356681824, -0.06640911847352982, 0.009408497251570225, 0.027414871379733086, 0.06047254428267479, -0.0046498533338308334, 0.01541907712817192, 0.0017823658417910337, 0.005472706165164709, -0.0005821773083880544, -0.01984761655330658, 0.037672340869903564, -0.00671063968911767, -0.015003621578216553, 0.04783037304878235, 0.06537803262472153, 0.02120225317776203, 0.05771057307720184, 0.06937990337610245, -0.03504887968301773, -0.06405778974294662, -0.019189557060599327, -0.019650785252451897, 0.012469042092561722, 0.023353999480605125, -0.02162669226527214, -0.007690380793064833, 0.0010005678050220013, 0.012762712314724922, -0.041273366659879684, 0.020178528502583504, 0.005388124845921993, -0.009405858814716339, 0.12356019765138626, -0.007622796576470137, -0.023970000445842743, -0.0055062416940927505, -0.06394136697053909, 0.005365492310374975, 0.0450073704123497, -0.01692468486726284, -0.06810391694307327, 0.004297670908272266, 0.028215916827321053, 0.050424426794052124, -0.0025535973254591227, -0.056306805461645126, 0.01601993478834629, -0.032720644026994705, -0.018912848085165024, -0.07337809354066849, 0.041451647877693176, -0.0004054260498378426, -0.015782812610268593, -0.04889122396707535, 0.004863380454480648, 0.009156527929008007, -0.09096424281597137, 0.020590974017977715, -0.02643369324505329, -0.044666241854429245, 0.026683736592531204, 0.05294016748666763, -0.024604029953479767, -0.026050403714179993, -0.011590451933443546, 0.02488628588616848, 0.03837442770600319, -0.023593034595251083, -0.005266997497528791, -0.06040795147418976, 0.001326339552178979, -0.00868129637092352, -0.040756188333034515, -0.05130891129374504, -0.012258592993021011, -0.003790196729823947, 0.0012586105149239302, 0.015062742866575718, -0.003551395842805505, -0.08324305713176727, 0.04564693942666054, -0.0243830606341362, -0.010145590640604496, 0.034781258553266525, 0.021469993516802788, -0.016472822055220604, -0.015042278915643692, 0.029977016150951385, 0.03578025475144386, -0.014316558837890625, 0.022249627858400345, -0.08565277606248856, 0.0004085763357579708, 0.022217432036995888, -0.040915463119745255, 0.05649580806493759, 0.01331340242177248, -0.0024608762469142675, 0.006718114484101534, -0.023177973926067352, 0.029620733112096786, -0.0103653809055686, -0.05388221889734268, 0.024076534435153008, -0.010178239084780216, 0.03491451218724251, 0.010577683337032795, -0.05919841304421425, -0.08103740960359573, -0.06683526188135147, -0.35038721561431885, -0.07733772695064545, 0.006995311938226223, -0.026765204966068268, -0.0057710823602974415, -0.08983884751796722, -0.002970792818814516, 0.004556338768452406, -0.042974669486284256, 0.0664176419377327, 0.052604977041482925, 0.0032602567225694656, -0.005192501470446587, -0.0796152874827385, -0.002641070168465376, 0.03853532299399376, -0.02426736243069172, -0.03598303347826004, -0.025207718834280968, 0.060491111129522324, -0.00499891908839345, 0.007492433302104473, -0.03535958752036095, -0.04290157929062843, -0.019143270328640938, -0.0342082716524601, 0.11402197182178497, 0.014911990612745285, 0.06814803928136826, -0.03738764673471451, 0.06848511844873428, -0.028309177607297897, -0.00008214758418034762, -0.03298535570502281, -0.00515172490850091, -0.015599735081195831, -0.03613574430346489, 0.02138291299343109, 0.029818249866366386, -0.0213346965610981, -0.05548609048128128, -0.019554220139980316, -0.056664589792490005, 0.02217261493206024, -0.02140365168452263, 0.013973507098853588, -0.0007634534849785268, -0.054262712597846985, -0.027388399466872215, 0.07358963042497635, 0.022783296182751656, 0.021247314289212227, 0.0262747909873724, 0.020644953474402428, 0.005743234883993864, 0.002621688414365053, -0.055480629205703735, -0.04016674682497978, 0.002030798466876149, -0.019891837611794472, 0.028834300115704536, 0.08284685015678406, 0.0577327199280262, -0.017201408743858337, -0.013802703469991684, 0.024173036217689514, -0.011512146331369877, 0.01779809780418873, 0.044069960713386536, -0.026425695046782494, -0.008703913539648056, 0.08291882276535034, 0.007239116355776787, 0.01366469357162714, 0.0189892016351223, 0.06226682662963867, -0.012726740911602974, 0.002064571250230074, 0.03328632190823555, 0.02746153622865677, 0.05111411213874817, 0.003931981977075338, 0.022180799394845963, -0.016751738265156746, -0.022793564945459366, 0.05431537330150604, -0.02294808253645897, 0.022751731798052788, 0.038081202656030655, 0.004231423605233431, 0.0013166054850444198, 0.040810901671648026, 0.02442813850939274, -0.06723127514123917, 0.059690896421670914, 0.0013485145755112171, -0.27130454778671265, 0.042063191533088684, 0.04317201301455498, 0.041745252907276154, -0.008816223591566086, 0.02093728631734848, 0.0263698510825634, -0.0733674094080925, -0.02556147612631321, -0.01997220702469349, 0.022499900311231613, 0.030399369075894356, 0.01705595664680004, -0.003284070873633027, 0.027694491669535637, -0.006504434160888195, 0.059776291251182556, 0.0016905847005546093, 0.006738587748259306, 0.029630709439516068, 0.032663241028785706, 0.00824202410876751, 0.19643794000148773, -0.014239247888326645, 0.0026707053184509277, 0.003581635421141982, 0.017465753480792046, 0.035280849784612656, 0.08663100004196167, 0.02369292639195919, -0.009159615263342857, -0.007823901250958443, 0.07554715871810913, -0.010392592288553715, 0.05511191114783287, -0.023832455277442932, 0.005478669889271259, 0.0393025167286396, 0.017235759645700455, -0.020339256152510643, -0.01592242904007435, 0.03360059857368469, -0.04414855316281319, 0.049686431884765625, 0.06733487546443939, 0.03281223773956299, -0.000565551919862628, -0.05967790260910988, -0.0328446626663208, 0.03475898504257202, -0.007722796872258186, -0.00836158636957407, -0.009153219871222973, 0.001771674957126379, 0.020161179825663567, 0.048408977687358856, 0.019244737923145294, -0.014817713759839535, -0.023378008976578712, 0.03308672085404396, 0.017956091091036797, -0.0563010647892952, 0.09839271754026413, 0.016994573175907135, 0.000828344956971705 ]
[ -0.02228359505534172, 0.023248108103871346, -0.006371313706040382, 0.017605062574148178, -0.07087501138448715, -0.009366340935230255, 0.011599204502999783, 0.024333210662007332, -0.02379247173666954, -0.020260820165276527, -0.028481274843215942, -0.03187519684433937, 0.07360289245843887, -0.03146125748753548, -0.011294989846646786, 0.013592498376965523, -0.0016041431808844209, -0.026354560628533363, 0.029591800644993782, -0.02370334416627884, -0.010896744206547737, 0.01588064432144165, 0.019144747406244278, 0.028170131146907806, -0.021351013332605362, 0.022667158395051956, -0.040244705975055695, -0.032080866396427155, 0.02926132082939148, -0.12115274369716644, -0.043061256408691406, 0.006237031426280737, 0.03239918127655983, 0.017955215647816658, -0.013069416396319866, 0.008397948928177357, 0.01595410890877247, 0.007970142178237438, -0.03650657832622528, 0.004940690007060766, -0.03885088488459587, -0.020665641874074936, -0.008852720260620117, -0.0030429265461862087, 0.05707576125860214, -0.013729394413530827, -0.02825007773935795, -0.035425830632448196, 0.01988714560866356, 0.015122178010642529, -0.03736065700650215, 0.03067089058458805, 0.00794339831918478, 0.013525412417948246, 0.03135593235492706, -0.004696723539382219, -0.021363548934459686, -0.03645024448633194, -0.0015609555412083864, 0.007757789921015501, -0.0017104330472648144, 0.02567429281771183, -0.04538632184267044, -0.030377518385648727, -0.03389352932572365, 0.028715169057250023, 0.0008499594405293465, -0.012763021513819695, -0.0044712102971971035, 0.0013676041271537542, 0.008865418843925, 0.012835375033318996, -0.04780134558677673, -0.018235549330711365, -0.022993024438619614, -0.025201646611094475, 0.0296485535800457, -0.027895499020814896, 0.020428311079740524, -0.003174572717398405, -0.005317394621670246, -0.026361318305134773, 0.03321237489581108, 0.012794232927262783, -0.010380532592535019, -0.00805254653096199, -0.0005068380851298571, 0.014747507870197296, 0.04269569367170334, -0.020270036533474922, -0.0065600513480603695, 0.013667125254869461, 0.03179549425840378, 0.02560056746006012, -0.0639793649315834, 0.02057906799018383, -0.03899344429373741, -0.011582212522625923, 0.012177953496575356, 0.8139910101890564, -0.015926746651530266, 0.05167751759290695, 0.0341915488243103, 0.024930384010076523, -0.03811877965927124, 0.009856275282800198, 0.044912055134773254, -0.006285807117819786, -0.022162796929478645, -0.06939718127250671, 0.06851677596569061, -0.03227870911359787, 0.059595007449388504, 0.03650778532028198, 0.0003917597059626132, 0.017733309417963028, 0.008543437346816063, 0.0003913686377927661, 0.012046451680362225, 0.051311612129211426, 0.025825632736086845, -0.008721071295440197, 0.01217745989561081, 0.05641579255461693, 0.04637335240840912, -0.17273257672786713, 0.038366883993148804, -7.033425715403212e-33, 0.04356527328491211, -0.006354440003633499, 0.013630524277687073, -0.0003224506217520684, 0.03634370490908623, 0.022507987916469574, 0.013315188698470592, 0.01630413718521595, -0.061037492007017136, -0.008478650823235512, 0.032990582287311554, -0.037733543664216995, -0.015766985714435577, -0.0007908886764198542, 0.04830196127295494, 0.00900072418153286, 0.01388139370828867, 0.014284748584032059, -0.002724287798628211, 0.018657302483916283, 0.00893385335803032, 0.03303639963269234, 0.02967548742890358, -0.012841607443988323, 0.03865913674235344, 0.05348113924264908, 0.0004917241167277098, -0.00575788039714098, 0.00830499455332756, -0.055802054703235626, -0.0021604641806334257, -0.035285837948322296, 0.0006310511380434036, -0.020488256588578224, 0.005945596378296614, -0.04230038821697235, -0.014077581465244293, 0.023197535425424576, -0.01150548830628395, 0.005293163470923901, -0.029895536601543427, 0.038397807627916336, -0.014928296208381653, -0.02134033851325512, 0.023347916081547737, -0.01983010582625866, 0.018541574478149414, 0.03687480837106705, -0.009267301298677921, 0.043938953429460526, 0.008260036818683147, 0.04533638432621956, -0.0013097698101773858, -0.00128569221124053, 0.009649173356592655, -0.013103961013257504, -0.014571266248822212, 0.011018777266144753, -0.012550190091133118, 0.07147116214036942, -0.0027468877378851175, 0.017643993720412254, 0.0014762013452127576, 0.03828996792435646, 0.012740148231387138, 0.006855168379843235, -0.009043501690030098, 0.008262223564088345, 0.028229014948010445, 0.025940433144569397, -0.05248481407761574, -0.0019586626440286636, -0.019800730049610138, -0.011800019070506096, 0.0054706730879843235, -0.059600476175546646, -0.0552680678665638, -0.03232034295797348, -0.008298016153275967, 0.010727591812610626, 0.028352530673146248, -0.0414404571056366, 0.02741101011633873, 0.011669659987092018, -0.022804923355579376, 0.006644941866397858, 0.03295782953500748, -0.014452889561653137, -0.026851871982216835, -0.014869076199829578, -0.00038278859574347734, 0.005738113075494766, -0.019490519538521767, -0.0162272397428751, -0.013210817240178585, 6.851976407410284e-33, -0.0366644412279129, -0.023749524727463722, 0.004008891526609659, 0.01983671449124813, -0.00556140998378396, 0.0012165787629783154, 0.057325225323438644, -0.00273246131837368, -0.0035894722677767277, 0.05905811861157417, -0.01233260240405798, 0.05493082478642464, 0.002013866091147065, 0.02465560846030712, 0.08885086327791214, -0.005011512897908688, -0.006179405376315117, 0.002426708582788706, -0.009001369588077068, -0.007820404134690762, 0.0020332401618361473, -0.011499131098389626, 0.01725950464606285, 0.02376374788582325, 0.02548029087483883, 0.04992504045367241, 0.008608926087617874, 0.014591634273529053, -0.0018992098048329353, 0.012982075102627277, 0.005022464785724878, -0.024407215416431427, -0.0007411863189190626, -0.03038138709962368, 0.017492160201072693, 0.020367128774523735, 0.020905479788780212, 0.012113439850509167, 0.04103153944015503, 0.008624265901744366, 0.02969314344227314, -0.006463462486863136, 0.03372582048177719, -0.0172174833714962, -0.04868638142943382, 0.02866508439183235, -0.021504312753677368, 0.007931197993457317, 0.01358996331691742, -0.02228049375116825, 0.004584750160574913, -0.014666736125946045, -0.000782053975854069, 0.008826453238725662, -0.007786332163959742, -0.033840782940387726, -0.01582990027964115, 0.001378210261464119, -0.040094807744026184, -0.029039965942502022, -0.03033347800374031, -0.012089727446436882, -0.007183000445365906, 0.023860124871134758, -0.005951506085693836, -0.017577623948454857, -0.045128464698791504, -0.06407167762517929, -0.02467634715139866, 0.020939501002430916, -0.024065732955932617, -0.04333556443452835, -0.03862801194190979, 0.033070534467697144, -0.029046179726719856, 0.02729455567896366, -0.02054034173488617, 0.006542515475302935, 0.004668358713388443, 0.028611427173018456, 0.03236786276102066, -0.015093610621988773, 0.05148490518331528, 0.005879397038370371, 0.018571728840470314, -0.007813393138349056, 0.009866316802799702, 0.022042637690901756, 0.04390285536646843, 0.008793911896646023, -0.003701071720570326, -0.019254684448242188, -0.015856124460697174, -0.027012357488274574, -0.016422409564256668, -1.2431039309035441e-8, -0.012563662603497505, -0.0589364655315876, -0.06344010680913925, 0.03950956091284752, 0.019967738538980484, 0.016162186861038208, -0.03124145232141018, -0.036768339574337006, -0.03230055421590805, 0.0003223889507353306, 0.015815461054444313, -0.007138829678297043, -0.022510560229420662, 0.018928958103060722, 0.038709547370672226, -0.038558751344680786, 0.045988790690898895, -0.0553022176027298, 0.011258842423558235, -0.026520393788814545, 0.0060713267885148525, 0.008437898941338062, -0.006541612092405558, -0.008584514260292053, -0.003271094523370266, -0.035890839993953705, 0.03666127100586891, -0.05336287245154381, -0.00737499725073576, -0.004709864035248756, 0.030648086220026016, -0.03865643963217735, -0.014587241224944592, 0.0009580643964000046, -0.00855387281626463, -0.05933079123497009, 0.025189466774463654, 0.020453548058867455, 0.03757596015930176, -0.020102763548493385, -0.017108865082263947, -0.004335811827331781, -0.005096384324133396, -0.03193657100200653, -0.02129191718995571, -0.06371232867240906, -0.009634727612137794, -0.03607981652021408, 0.04907355085015297, -0.009928935207426548, -0.016919072717428207, -0.02508172020316124, 0.019577616825699806, -0.004739087540656328, 0.02319476567208767, 0.023255789652466774, 0.037564683705568314, -0.050966113805770874, -0.012287501245737076, 0.01000707596540451, 0.01926395483314991, -0.0011796657927334309, -0.010732808150351048, -0.037142135202884674 ]
haskell-reading-in-multiple-lines-of-arguments
https://markhneedham.com/blog/2012/04/15/haskell-reading-in-multiple-lines-of-arguments
false
2012-04-14 10:21:40
Ruby: neo4j gem - LoadError: no such file to load -- active_support/core_ext/class/inheritable_attributes
[ "ruby" ]
[ "Ruby", "neo4j" ]
I've been playing around with neo4j again over the past couple of days using the https://github.com/andreasronge/neo4j[neo4j.rb] gem to build up a graph. I installed the gem but then ended up with the following error when I tried to 'require neo4j' in 'irb': [source,Text] ---- LoadError: no such file to load -- active_support/core_ext/class/inheritable_attributes require at org/jruby/RubyKernel.java:1033 require at /Users/mneedham/.rbenv/versions/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36 (root) at /Users/mneedham/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/neo4j-1.3.1-java/lib/neo4j.rb:9 require at org/jruby/RubyKernel.java:1033 require at /Users/mneedham/.rbenv/versions/jruby-1.6.7/lib/ruby/gems/1.8/gems/neo4j-1.3.1-java/lib/neo4j.rb:59 (root) at src/main/ruby/neo_test.rb:2 ---- It seems a few others https://github.com/andreasronge/neo4j/issues/150[have come across this problem as well] and the problem seems to be that ActiveSupport 3.2 isn't yet supported by the gem so we need to use an earlier version of that. There were a few suggestions in the comments but it was the following that worked for me: [source,text] ---- sudo gem uninstall railties sudo gem install railties --version 3.1 ----
null
null
[ 0.0041016340255737305, -0.02556014060974121, -0.015149387530982494, 0.04964763671159744, 0.09280421584844589, 0.011014602147042751, 0.04387116804718971, -0.01455107145011425, 0.00597345968708396, -0.017335016280412674, -0.044063325971364975, 0.009419102221727371, -0.07405564934015274, 0.026585906744003296, -0.0156320258975029, 0.05226579308509827, 0.06377088278532028, 0.02694728970527649, -0.0007490745629183948, -0.0019184761913493276, 0.03770352900028229, 0.052549753338098526, 0.005978758446872234, 0.02328546717762947, 0.023297160863876343, -0.00391424773260951, 0.03442838042974472, -0.006474134512245655, -0.07279426604509354, -0.019685041159391403, 0.024067161604762077, -0.014864243566989899, 0.029407555237412453, -0.01220724917948246, 0.024846799671649933, 0.026265501976013184, -0.04084332659840584, -0.009039782918989658, 0.002158867660909891, -0.008242132142186165, -0.02410714700818062, 0.05668121576309204, -0.0029705138877034187, 0.02114042453467846, -0.03509100154042244, 0.032364752143621445, -0.030928462743759155, 0.03419877216219902, 0.039084289222955704, -0.00464137177914381, -0.06790857762098312, 0.02722705528140068, 0.003297151066362858, -0.03849371150135994, 0.019839728251099586, 0.02922486513853073, -0.004715437069535255, -0.07182596623897552, 0.05408068746328354, -0.029390618205070496, 0.0036071769427508116, -0.009973481297492981, -0.01747710257768631, 0.016385750845074654, 0.0026606826577335596, -0.039217982441186905, 0.009067880921065807, 0.07281656563282013, -0.05511514097452164, -0.02299566939473152, 0.02582821063697338, -0.004535122774541378, -0.04111741483211517, -0.012263891287147999, 0.02333803102374077, -0.038369130343198776, -0.0024731517769396305, 0.056698333472013474, 0.020989665761590004, 0.06930402666330338, -0.0312671922147274, 0.034339968115091324, -0.010111503303050995, 0.008733639493584633, 0.005197478923946619, -0.04800839722156525, -0.01643804833292961, -0.006620023865252733, -0.05143825337290764, 0.0621042437851429, 0.030028140172362328, -0.044398799538612366, 0.032534584403038025, 0.005582463461905718, -0.02859613671898842, 0.010899387300014496, -0.026699891313910484, 0.014821400865912437, 0.03167952597141266, -0.0013424508506432176, -0.02236827276647091, -0.017031069844961166, -0.013530758209526539, 0.007012059912085533, -0.06945846974849701, 0.005754992365837097, -0.013540021143853664, -0.03534262627363205, -0.018987901508808136, -0.022964654490351677, -0.011450788006186485, 0.03475254401564598, -0.02069076895713806, -0.00010851966362679377, -0.07320594042539597, 0.07464226335287094, 0.00775645999237895, -0.052075307816267014, -0.038616959005594254, 0.016819441691040993, 0.05082879960536957, 0.033602435141801834, -0.008247766643762589, 0.06580629199743271, 0.013924667611718178, 0.046358317136764526, -0.014227237552404404, 0.03864497318863869, -0.0295338723808527, -0.08428677916526794, -0.008944857865571976, 0.06848005205392838, -0.0015060470905154943, 0.015276169404387474, -0.015816735103726387, -0.009163716807961464, 0.0034653563052415848, -0.000831878453027457, 0.05115417763590813, 0.028143934905529022, -0.018676936626434326, -0.025876900181174278, 0.010210852138698101, -0.0035620671696960926, 0.01919257454574108, 0.01540855597704649, -0.014300811104476452, -0.02609534189105034, -0.026408221572637558, 0.006593871861696243, -0.00828575063496828, 0.01430689450353384, 0.04913625121116638, -0.021453192457556725, 0.010225352831184864, 0.10861341655254364, 0.02679762803018093, 0.0031550966668874025, -0.04450222849845886, 0.01323902141302824, 0.022888369858264923, 0.027548689395189285, 0.01872551441192627, 0.0737951323390007, 0.0069566271267831326, -0.0202464796602726, -0.011194076389074326, 0.059507567435503006, 0.003247987013310194, 0.0037838879507035017, -0.04214288666844368, -0.09621942043304443, 0.0686931163072586, -0.03242309391498566, -0.019514605402946472, 0.0327954962849617, 0.09200797230005264, 0.011079895310103893, 0.025755926966667175, -0.016924018040299416, -0.07848284393548965, 0.04992639273405075, 0.01683669723570347, 0.020518679171800613, 0.01023236196488142, -0.0013268811162561178, 0.08638665080070496, 0.015805168077349663, 0.012757701799273491, 0.04261253401637077, -0.09538717567920685, -0.08981113880872726, 0.0010853017447516322, -0.028297187760472298, 0.0723295733332634, -0.018271658569574356, -0.029276609420776367, 0.004943513311445713, -0.0053458246402442455, 0.016906259581446648, 0.016383560374379158, -0.01891971379518509, 0.011903981678187847, -0.047894369810819626, -0.040198273956775665, 0.059610191732645035, 0.023209908977150917, -0.035510916262865067, -0.046888191252946854, 0.009412446059286594, -0.010079776868224144, -0.022078443318605423, 0.0412263385951519, -0.0382903553545475, 0.052046164870262146, 0.02497948706150055, 0.02094024047255516, -0.04272248223423958, 0.01957455649971962, -0.0222630575299263, 0.024243202060461044, -0.010402211919426918, -0.013095046393573284, -0.01436818391084671, 0.004246092867106199, 0.09814196079969406, 0.047575443983078, -0.006980534177273512, -0.06333158910274506, 0.0236956886947155, 0.03121739625930786, -0.046916667371988297, 0.02974683605134487, 0.002344808541238308, 0.01088477112352848, -0.023858144879341125, -0.05528610572218895, -0.04070543497800827, -0.003439780091866851, -0.026026925072073936, -0.0031516950111836195, 0.07714897394180298, -0.027111731469631195, 0.037492379546165466, 0.02330085262656212, -0.011157657951116562, 0.016205422580242157, -0.05251132696866989, -0.07427643984556198, 0.022836267948150635, 0.05123820900917053, -0.0035803818609565496, 0.05202312767505646, -0.011405544355511665, -0.004156178794801235, -0.014403078705072403, -0.01778990402817726, 0.036053065210580826, 0.04318970814347267, 0.05890120565891266, 0.016204018145799637, 0.03767228499054909, -0.07283910363912582, 0.016984116286039352, -0.02878088690340519, -0.03159863129258156, -0.03172701969742775, -0.0335555374622345, 0.015342241153120995, 0.009238777682185173, 0.038159582763910294, -0.007470909971743822, -0.00029944954439997673, 0.01981317810714245, 0.03761006146669388, 0.0036624150816351175, 0.044694654643535614, 0.005490567069500685, 0.0032272259704768658, -0.049395591020584106, -0.021294843405485153, 0.0423952154815197, -0.06346164643764496, -0.013891415670514107, -0.029403675347566605, -0.05328628420829773, 0.06391161680221558, -0.05308637395501137, -0.03434813395142555, -0.016845734789967537, 0.013370783068239689, 0.06246676668524742, 0.027266476303339005, 0.00043280539102852345, 0.07222097367048264, 0.026810843497514725, 0.019987760111689568, 0.02217448689043522, 0.009197192266583443, 0.06747174263000488, -0.010353205725550652, 0.03746218606829643, 0.03753170743584633, -0.01648508943617344, 0.012882428243756294, -0.02236180752515793, -0.006635630503296852, -0.03032960556447506, -0.26514768600463867, 0.0425245426595211, -0.04981100559234619, -0.08443767577409744, 0.028247252106666565, -0.029522491618990898, -0.02512471191585064, -0.026230592280626297, -0.03040909580886364, -0.001721706474199891, -0.015298695303499699, -0.023678267374634743, 0.027441123500466347, 0.039125390350818634, 0.008826078847050667, -0.0010762081947177649, 0.0313919298350811, -0.04538094252347946, 0.010565327480435371, 0.023382015526294708, -0.0049043395556509495, -0.03356971964240074, 0.000058204099332215264, 0.038800131529569626, 0.005193434190005064, 0.049043696373701096, -0.07871943712234497, 0.056074220687150955, -0.05044963210821152, -0.04069548100233078, 0.013881993480026722, -0.03399733081459999, -0.001607252866961062, 0.012417835183441639, -0.006657374557107687, 0.0007208962924778461, 0.023214425891637802, 0.02248580940067768, 0.04326602816581726, -0.0009608236141502857, -0.03451962396502495, -0.058949556201696396, -0.013314962387084961, -0.012248334474861622, 0.08447594195604324, -0.030345257371664047, -0.08449998497962952, -0.019627949222922325, -0.03962990269064903, 0.08455958962440491, -0.044399067759513855, -0.042699433863162994, 0.017928164452314377, 0.029099080711603165, 0.010079784318804741, -0.024431323632597923, -0.01260089036077261, 0.006821541581302881, -0.051087163388729095, -0.04058123752474785, -0.0173643771559, -0.03491859883069992, 0.004016364458948374, -0.03892027214169502, -0.027474673464894295, -0.059804752469062805, -0.05416880175471306, -0.04210980609059334, 0.03823714330792427, 0.015141810290515423, -0.03012113831937313, 0.023966731503605843, -0.018722858279943466, -0.09191498160362244, -0.019712908193469048, -0.023117246106266975, -0.035844121128320694, -0.0035865572281181812, -0.014418961480259895, 0.06281907111406326, -0.04399702697992325, -0.04788926616311073, -0.002573203993961215, 0.014545473270118237, -0.00443746754899621, 0.019464712589979172, 0.02269876003265381, -0.020245078951120377, 0.005503588821738958, 0.01539701223373413, 0.045521773397922516, -0.03842983767390251, -0.03752382844686508, -0.00025860703317448497, 0.0068789077922701836, 0.03426818549633026, 0.001967547694221139, -0.003718150779604912, 0.036826927214860916, 0.07053280621767044, 0.023057114332914352, -0.04559115320444107, 0.023293016478419304, -0.01904531754553318, -0.023377401754260063, -0.0052679735235869884, -0.04670180752873421, 0.01876516453921795, 0.007509217597544193, 0.031549762934446335, -0.008352232165634632, -0.05400989577174187, 0.030432427302002907, -0.04347965493798256, -0.036997608840465546, -0.006956795696169138, 0.011888986453413963, 0.018136318773031235, 0.02438785508275032, 0.027426617220044136, -0.06832271814346313, 0.016964951530098915, 0.03528540953993797, -0.01227444875985384, -0.0633518323302269, 0.004226836375892162, -0.015329228714108467, -0.040115319192409515, -0.012353060767054558, -0.006343249697238207, -0.029189107939600945, 0.019003234803676605, 0.010585358366370201, -0.03237299993634224, 0.028852030634880066, -0.0048987362533807755, -0.05901334434747696, -0.03410789743065834, 0.019557207822799683, -0.026816366240382195, -0.02834385819733143, 0.0039515248499810696, 0.022091152146458626, 0.034802161157131195, 0.05251745879650116, 0.02237553708255291, 0.03370301052927971, 0.02599409781396389, 0.006961097940802574, -0.02659873478114605, -0.011631783097982407, -0.041363123804330826, 0.019678190350532532, -0.04377557709813118, -0.04840453341603279, -0.01973508857190609, 0.05344323813915253, -0.021146558225154877, -0.02216235361993313, -0.016464535146951675, 0.04296154901385307, -0.06589922308921814, 0.01785791665315628, 0.01719564013183117, -0.0002229544334113598, 0.04991665855050087, 0.008304720744490623, -0.010292121209204197, -0.022509852424263954, -0.01065763272345066, 0.010174404829740524, 0.02610146813094616, -0.013021362014114857, -0.003250027308240533, 0.013933596201241016, 0.02268274500966072, -0.0002135293179890141, 0.024940723553299904, 0.07732688635587692, 0.015840204432606697, -0.025708358734846115, -0.03401004150509834, 0.025615256279706955, 0.02817312441766262, 0.025631653144955635, 0.00819831620901823, -0.04695134982466698, 0.011091513559222221, -0.00852324441075325, -0.007850109599530697, 0.0015521346358582377, 0.015763435512781143, -0.011182830668985844, 0.01876267045736313, -0.02257009968161583, -0.08411020040512085, 0.024869026616215706, -0.01251576654613018, 0.016396217048168182, 0.020153045654296875, 0.005121816881000996, -0.00823140051215887, -0.038520634174346924, 0.03759819641709328, 0.0829644650220871, -0.04995923861861229, -0.03631415590643883, 0.006468030158430338, -0.007064899429678917, 0.00609938520938158, 0.014918568544089794, -0.06590647250413895, -0.025977255776524544, 0.0008318157633766532, 0.03176160529255867, -0.02203306369483471, -0.052985724061727524, 0.008689815178513527, -0.009804326109588146, -0.01323846634477377, -0.005592031870037317, 0.0064213392324745655, 0.03851798176765442, -0.014231299981474876, -0.029758084565401077, 0.02369478903710842, -0.0033811493776738644, 0.013561279512941837, -0.03297698497772217, -0.002513582818210125, 0.012128075584769249, -0.013346000574529171, 0.05903990566730499, 0.02841327153146267, 0.002327513648197055, 0.015963073819875717, -0.02090211771428585, 0.009348642081022263, -0.0055726091377437115, 0.01075278501957655, -0.008667077869176865, 0.02774573490023613, -0.02996879629790783, 0.017168458551168442, -0.03860598802566528, -0.008937702514231205, -0.01197502389550209, -0.005622170399874449, 0.002927155001088977, 0.023094791918992996, 0.007190356031060219, 0.031138181686401367, -0.008470096625387669, -0.031569454818964005, 0.03426838666200638, -0.03008751943707466, -0.05761045590043068, 0.0009649345884099603, -0.05136988312005997, 0.0268233809620142, 0.047964390367269516, 0.010953634046018124, -0.04249139502644539, 0.045684799551963806, 0.04954208433628082, -0.009193799458444118, 0.02745184302330017, -0.029727837070822716, 0.02116747573018074, -0.028622902929782867, -0.013332072645425797, -0.06456415355205536, 0.02524351328611374, 0.035876549780368805, -0.03753729164600372, 0.01199574675410986, -0.019376104697585106, -0.02871282398700714, 0.00030991368112154305, -0.04190736263990402, -0.029108580201864243, 0.034357283264398575, -0.03809734806418419, 0.01878148689866066, 0.005296778399497271, -0.058142948895692825, 0.028974032029509544, 0.06006930395960808, -0.04808485135436058, -0.030399369075894356, -0.03651295229792595, 0.04566984996199608, -0.035549260675907135, 0.03685230016708374, -0.02078518085181713, -0.01677628792822361, 0.07319220155477524, 0.013592398725450039, 0.013012883253395557, 0.026450591161847115, -0.011515277437865734, 0.0313955694437027, 0.04150722548365593, 0.02101997472345829, 0.004731952678412199, 0.03655211627483368, -0.006533898413181305, -0.036461323499679565, 0.04533694311976433, -0.003062075935304165, 0.004673287738114595, -0.020176958292722702, 0.060503602027893066, 0.023050887510180473, -0.02420489490032196, -0.038099441677331924, 0.03967262804508209, -0.032019197940826416, -0.01575802080333233, -0.06209202855825424, 0.001766482717357576, -0.03162644803524017, 0.039084292948246, -0.03742392361164093, -0.013397838920354843, 0.0751320943236351, 0.012169690802693367, 0.00009115808643400669, -0.0043668122962117195, 0.08003617078065872, 0.08014853298664093, 0.02407390996813774, 0.025907201692461967, 0.08930317312479019, 0.0024710071738809347, -0.03892172873020172, -0.002810378558933735, -0.04116088151931763, 0.0010905329836532474, 0.002240639179944992, -0.007021167315542698, 0.04065931960940361, -0.03796934336423874, 0.06884462386369705, -0.017641298472881317, 0.0159221850335598, -0.018220877274870872, -0.02655012719333172, 0.02464962564408779, 0.05929438769817352, 0.04276061803102493, 0.05632154643535614, -0.0429847426712513, -0.018750131130218506, 0.00015170281403698027, -0.024945951998233795, -0.017430169507861137, 0.03496783226728439, -0.008028882555663586, 0.010484552010893822, 0.01263634767383337, 0.03362400084733963, 0.06556504964828491, -0.04359719157218933, -0.021659884601831436, -0.01781906932592392, 0.029778888449072838, -0.017056014388799667, 0.013637798838317394, -0.014084534719586372, -0.0316753014922142, -0.024478916078805923, -0.048568058758974075, -0.02037406712770462, -0.00797298178076744, -0.011217869818210602, 0.03092428483068943, -0.023773256689310074, 0.006650329101830721, 0.02060306817293167, -0.011411841958761215, 0.0018457826226949692, -0.04326522722840309, -0.03514540567994118, -0.05889895185828209, -0.06789343059062958, 0.0164418313652277, -0.01153064426034689, 0.00508955167606473, -0.037727903574705124, -0.022044571116566658, -0.007800696883350611, -0.01403736136853695, 0.05299028754234314, -0.07898639142513275, -0.019979700446128845, -0.016390180215239525, 0.009108311496675014, 0.007577633950859308, 0.0523269884288311, 0.06405668705701828, 0.01992110349237919, -0.0185714028775692, -0.002574590966105461, 0.004886510781943798, 0.03762442618608475, 0.02120264805853367, 0.0005003042169846594, -0.07394660264253616, -0.0010142881656065583, 0.016835493966937065, -0.004004809074103832, -0.047878146171569824, -0.005613457411527634, 0.05305291339755058, 0.009952542372047901, 0.05925736203789711, -0.0031336573883891106, -0.016972707584500313, -0.02352171763777733, 0.029767941683530807, -0.017489802092313766, 0.007461355533450842, 0.0012084424961358309, -0.00952304620295763, 0.0961630567908287, 0.03555797412991524, -0.006060351151973009, -0.01602545939385891, -0.028414346277713776, 0.010096200741827488, -0.031063565984368324, -0.013397674076259136, -0.01320993434637785, -0.062127504497766495, -0.10829676687717438, -0.032805897295475006, -0.013889394700527191, -0.029871219769120216, -0.02487187646329403, -0.027001937851309776, 0.0026675614062696695, 0.0008411172311753035, 0.034894365817308426, -0.04591897502541542, 0.018983256071805954, -0.02540043368935585, -0.020304065197706223, -0.011462165042757988, 0.0050536105409264565, 0.017627552151679993, -0.007161250337958336, 0.009987655095756054, -0.02358289435505867, -0.00032033908064477146, -0.04402664676308632, 0.0241398885846138, 0.03523031249642372, 0.019045108929276466, 0.002274986356496811 ]
[ -0.04879862815141678, -0.02127828821539879, -0.04355475306510925, -0.029531776905059814, 0.06031114608049393, -0.024693727493286133, -0.06869032233953476, 0.03020399622619152, -0.014130114577710629, -0.039781004190444946, 0.031929388642311096, -0.05770566314458847, -0.013049520552158356, 0.013659009709954262, 0.08975499123334885, 0.008370872586965561, -0.03184213489294052, -0.031228257343173027, -0.011983109638094902, 0.050909917801618576, -0.023256145417690277, -0.03481777384877205, 0.01023733988404274, -0.04887611046433449, 0.00031391618540510535, 0.0510866753757, 0.03531528264284134, -0.028735851868987083, -0.030116384848952293, -0.1898350864648819, 0.002405870705842972, 0.002194936154410243, 0.027308562770485878, -0.013754994608461857, 0.0016284710727632046, 0.03772631287574768, 0.032021261751651764, -0.01312217116355896, 0.015337374992668629, 0.048012036830186844, -0.012767639011144638, 0.0087194312363863, -0.07870974391698837, -0.017710069194436073, 0.03420356661081314, 0.05023808777332306, -0.010732335038483143, -0.027034414932131767, -0.0009765491704456508, 0.008775481954216957, -0.020622873678803444, 0.01577850803732872, 0.021923130378127098, -0.04057924821972847, -0.0008532106294296682, 0.04157954081892967, 0.04545171931385994, 0.0665074959397316, 0.026959670707583427, 0.04883377254009247, -0.010660775937139988, 0.012949790805578232, -0.14096540212631226, 0.048184722661972046, 0.0060138218104839325, 0.019276157021522522, -0.05332537367939949, -0.016348714008927345, -0.02719799429178238, 0.08397027850151062, -0.004941791761666536, 0.008088652975857258, -0.033566854894161224, 0.0752653032541275, -0.02837992273271084, 0.01896078698337078, 0.005551356356590986, 0.0046333870850503445, 0.04007057100534439, -0.06673016399145126, -0.05573607608675957, 0.006913702469319105, -0.06739156693220139, 0.0021799758542329073, -0.04874188080430031, 0.031887236982584, -0.022346945479512215, 0.04436913877725601, 0.025057783350348473, 0.06602595001459122, 0.02377203479409218, 0.036506835371255875, 0.07095137238502502, 0.04590241238474846, -0.09222191572189331, -0.024722911417484283, 0.006577286869287491, -0.002036867430433631, -0.013624345883727074, 0.3962661325931549, 0.016321783885359764, -0.020870879292488098, 0.025942599400877953, 0.07308846712112427, -0.03275957331061363, -0.012008881196379662, -0.012669214978814125, -0.04806947335600853, 0.05925145372748375, -0.02618209272623062, 0.004758536349982023, -0.051606684923172, 0.05604886636137962, -0.10379736870527267, 0.015504627488553524, -0.01880335994064808, 0.01651935465633869, 0.0041082752868533134, -0.050545185804367065, 0.024833641946315765, -0.0010562583338469267, 0.020039252936840057, 0.05575704574584961, 0.0036698945332318544, 0.013254061341285706, 0.01449714507907629, 0.003658452071249485, 0.03920771926641464, 0.03473983705043793, 0.02999027818441391, 0.028653571382164955, -0.0005099526606500149, -0.0884568840265274, 0.01249158475548029, -0.038381632417440414, 0.033633001148700714, 0.04462253302335739, -0.03230668231844902, -0.019931532442569733, 0.024253377690911293, -0.029370436444878578, -0.04035190865397453, 0.01882607862353325, 0.010762181133031845, -0.028140787035226822, 0.060247521847486496, -0.014663389883935452, -0.011706453748047352, -0.008056428283452988, -0.02750007063150406, -0.007409794721752405, 0.05387979373335838, -0.013515627011656761, -0.024359529837965965, -0.006546946708112955, -0.002508571371436119, 0.04527090862393379, -0.03176450356841087, -0.09825897961854935, 0.018442517146468163, -0.015931494534015656, -0.04897397384047508, -0.024166889488697052, 0.05399269983172417, 0.027274703606963158, -0.08390150964260101, -0.022827785462141037, 0.004597900900989771, 0.029880734160542488, -0.05124693736433983, 0.03750510513782501, 0.03509771078824997, -0.007289052475243807, -0.02527785301208496, 0.07306729257106781, -0.03356883302330971, 0.011065145954489708, -0.02043192647397518, 0.02680613286793232, 0.01485980860888958, 0.018952835351228714, -0.0016102994559332728, -0.02271132916212082, -0.017605869099497795, -0.07650216668844223, -0.05664375051856041, -0.060025084763765335, 0.012751279398798943, -0.0321841798722744, -0.06011316552758217, -0.047592926770448685, 0.023249370977282524, -0.0642034187912941, 0.06533800065517426, -0.016686871647834778, 0.009039174765348434, -0.022781219333410263, 0.004541024100035429, -0.00773675087839365, -0.0384998619556427, 0.028900442644953728, 0.03791869059205055, -0.0003756707883439958, 0.03379043936729431, -0.07664301246404648, 0.0077846781350672245, 0.07235006242990494, -0.027194727212190628, 0.053472597151994705, -0.0073058344423770905, -0.06055914983153343, 0.00017224701878149062, -0.001921377726830542, 0.03672794997692108, -0.017006516456604004, -0.020987926051020622, 0.0012758015654981136, -0.0485285185277462, 0.0374104343354702, 0.0625380128622055, -0.05313493311405182, -0.006795229855924845, -0.0391974076628685, -0.35434937477111816, -0.008381746709346771, -0.028362223878502846, -0.014805051498115063, 0.03525678813457489, -0.011671784333884716, 0.02552921138703823, -0.04113072529435158, -0.019750194624066353, 0.03025580197572708, 0.10071540623903275, -0.000495301908813417, -0.0028706882148981094, -0.09432826191186905, 0.010840196162462234, 0.056377049535512924, -0.019888602197170258, -0.02339611016213894, -0.02910515107214451, -0.001924334210343659, 0.009289521723985672, -0.07894452661275864, 0.007931368425488472, -0.02875499054789543, 0.020870553329586983, -0.01723577454686165, 0.10598370432853699, 0.02291550114750862, 0.01888212561607361, -0.06140856072306633, 0.03972369804978371, 0.03436005860567093, -0.01937553659081459, -0.1157531589269638, 0.006588881369680166, -0.01191968098282814, 0.03667273372411728, 0.037769511342048645, 0.013245360925793648, 0.02492637000977993, -0.018668407574295998, -0.009286039508879185, -0.05997598543763161, -0.04098231717944145, 0.0005991688813082874, 0.021632255986332893, -0.0031996818725019693, 0.01503801066428423, 0.0414007231593132, 0.058645326644182205, 0.011776315979659557, 0.0367155559360981, -0.0020425484981387854, 0.040868934243917465, 0.01090622041374445, -0.025261104106903076, -0.07798650115728378, -0.00480275833979249, 0.048973433673381805, 0.04468907415866852, 0.020130185410380363, 0.06523068249225616, 0.0015585817163810134, -0.08141937106847763, 0.0282132625579834, 0.0316416472196579, -0.03129997104406357, 0.011395792476832867, 0.033176761120557785, -0.018998442217707634, 0.013577287085354328, 0.09863688796758652, 0.006043691188097, 0.021251432597637177, 0.016545597463846207, 0.055993665009737015, 0.004288888070732355, 0.022325361147522926, 0.07667864859104156, 0.013069025240838528, 0.0005973869119770825, -0.035942211747169495, 0.06996815651655197, -0.03302343562245369, -0.04305969923734665, 0.07173314690589905, -0.009107147343456745, -0.050613466650247574, 0.05724143609404564, 0.009574336931109428, -0.03369545936584473, -0.0074741835705935955, -0.01967051811516285, -0.03929377347230911, 0.09402075409889221, -0.0475551076233387, -0.23751048743724823, 0.040603622794151306, 0.05872878059744835, 0.04392756149172783, -0.012065752409398556, 0.0026943618431687355, 0.040621962398290634, -0.023632200434803963, -0.007532613817602396, -0.008138640783727169, 0.03533932939171791, 0.05962490662932396, -0.01272746454924345, -0.0026541247498244047, 0.012072272598743439, -0.031937163323163986, 0.02049248293042183, 0.031037386506795883, 0.02849533222615719, -0.01276849303394556, 0.04889637976884842, -0.017089178785681725, 0.15405571460723877, 0.02313559129834175, -0.03331628069281578, 0.018026461824774742, -0.035862114280462265, 0.0021862080320715904, 0.03446797654032707, -0.022610317915678024, -0.041672129184007645, 0.07437840104103088, 0.0009434408857487142, 0.027034949511289597, 0.011313917115330696, -0.03386747092008591, -0.006913290359079838, 0.05999385192990303, 0.03561246767640114, -0.009017462842166424, -0.04324056953191757, 0.04737043380737305, -0.04660964384675026, 0.034528762102127075, 0.07489387691020966, -0.05127416178584099, -0.006935648154467344, 0.008625647984445095, -0.08084169775247574, -0.02492258884012699, -0.038764726370573044, -0.06020878627896309, -0.03822346404194832, -0.016624361276626587, -0.0033733306918293238, 0.060170870274305344, 0.012401577085256577, -0.037552736699581146, 0.005423542577773333, 0.005993686616420746, 0.004423259291797876, -0.01934843510389328, 0.10842151939868927, -0.02639666199684143, -0.0007911752909421921 ]
[ 0.045825496315956116, 0.016759369522333145, -0.03650761395692825, 0.060240425169467926, -0.023825818672776222, -0.000563823792617768, -0.01583322510123253, 0.02467755228281021, -0.0425553172826767, -0.009274995885789394, -0.026938332244753838, 0.03261202946305275, 0.05242326483130455, 0.037570033222436905, -0.015570838935673237, 0.03224935382604599, 0.020308813080191612, 0.053810540586709976, 0.017198147252202034, -0.002142560901120305, -0.022861815989017487, -0.03396943211555481, 0.03464600443840027, -0.031777169555425644, -0.0002647314977366477, -0.022543327882885933, 0.00265713594853878, -0.012266183272004128, 0.0032767776865512133, -0.13199953734874725, 0.008352527394890785, -0.04735308140516281, 0.013850114308297634, -0.0006702578975819051, -0.015712730586528778, 0.0027897413820028305, 0.024624904617667198, 0.01770848035812378, -0.013962244614958763, 0.04753030091524124, 0.025903647765517235, 0.01724749244749546, -0.03191511332988739, 0.005212091840803623, 0.016936786472797394, -0.019263964146375656, -0.023599235340952873, -0.046099305152893066, 0.030116034671664238, -0.01731455884873867, -0.046699173748493195, 0.00045987064368091524, 0.00929347611963749, -0.021113965660333633, -0.02741270326077938, 0.004784138407558203, 0.012368138879537582, -0.026129664853215218, 0.05025741830468178, 0.0439487099647522, 0.034726932644844055, 0.0017794740851968527, -0.049128081649541855, -0.05318774655461311, -0.03814089670777321, -0.023703739047050476, 0.0048719593323767185, 0.027316216379404068, 0.007709706202149391, 0.016331341117620468, -0.00945638120174408, 0.0632048100233078, -0.0696878507733345, -0.024177147075533867, -0.03957001119852066, 0.0026899930089712143, 0.059793319553136826, -0.008350196294486523, -0.016058776527643204, 0.018409574404358864, -0.05465395748615265, 0.02028188854455948, -0.011106189340353012, -0.020027561113238335, -0.01842763088643551, 0.05641026422381401, -0.01765902154147625, -0.04810809716582298, -0.009670398198068142, 0.053137462586164474, -0.029203929007053375, -0.0173812098801136, -0.013632510788738728, 0.01183207705616951, -0.09290093183517456, -0.044107835739851, 0.03469749167561531, -0.014197828248143196, 0.018218614161014557, 0.7718267440795898, 0.0013770621735602617, 0.003728857496753335, -0.010400609113276005, 0.030365245416760445, -0.019337937235832214, 0.009284716099500656, 0.02664981223642826, 0.04093591123819351, -0.04067061468958855, 0.017339877784252167, 0.008787471801042557, -0.020964372903108597, 0.022111551836133003, 0.009384595789015293, 0.026357386261224747, 0.037620849907398224, 0.01572861336171627, -0.013006552122533321, 0.01352875865995884, 0.03666127100586891, 0.029657935723662376, 0.04842975363135338, 0.013688852079212666, 0.019849322736263275, 0.00945211574435234, -0.16124136745929718, -0.021518774330615997, -6.272315163764859e-33, 0.03345717862248421, 0.021998997777700424, 0.03849278762936592, 0.011912968941032887, -0.04581131041049957, 0.024197127670049667, -0.03328938037157059, -0.0338069312274456, 0.004319528117775917, -0.033253759145736694, 0.00253090332262218, 0.0010394577402621508, 0.008224808610975742, -0.021216997876763344, -0.015919631347060204, -0.021532507613301277, 0.018788639456033707, 0.013299043290317059, -0.015232432633638382, 0.04335514456033707, -0.016283446922898293, 0.045273005962371826, -0.03615390881896019, 0.04619193822145462, -0.011095616035163403, 0.032940059900283813, 0.0402836799621582, -0.007773847319185734, -0.00976206362247467, -0.04297206550836563, -0.024978838860988617, 0.018093056976795197, -0.02133488655090332, -0.008387602865695953, 0.03589537367224693, -0.0578596331179142, -0.030835703015327454, 0.029537437483668327, -0.02462267316877842, -0.08308938890695572, -0.032550446689128876, 0.005614519119262695, -0.017742063850164413, -0.038854293525218964, -0.001206784974783659, -0.016137665137648582, 0.005526538006961346, 0.03754181042313576, -0.02150287851691246, 0.00033781075035221875, -0.023395873606204987, 0.04161839932203293, 0.03147862106561661, 0.041252195835113525, -0.04410681501030922, -0.043628644198179245, -0.003230285830795765, 0.019137177616357803, 0.013196580111980438, -0.019305003806948662, 0.06331752985715866, -0.0033451379276812077, -0.018080564215779305, 0.040903884917497635, 0.03865078091621399, 0.015816232189536095, -0.021115776151418686, 0.009096045047044754, -0.005544022656977177, 0.06516967713832855, -0.03398357704281807, 0.04107801616191864, 0.011012938804924488, -0.010958640836179256, -0.001885998877696693, -0.08652684837579727, -0.01742934249341488, -0.006807080935686827, -0.016339076682925224, 0.026533218100667, -0.04953223466873169, -0.024937624111771584, 0.005223600659519434, -0.018389033153653145, 0.029713906347751617, -0.03117952309548855, 0.0549340583384037, 0.015011298470199108, 0.020903319120407104, 0.04467082396149635, 0.04128420725464821, 0.012005005963146687, -0.04433158040046692, 0.004170267842710018, -0.021549921482801437, 6.821351840835486e-33, 0.019420403987169266, 0.006349177565425634, -0.01653212495148182, 0.019628135487437248, 0.018600361421704292, 0.010569185018539429, 0.014202270656824112, -0.020132318139076233, -0.047394201159477234, 0.02851102501153946, -0.012267224490642548, -0.007929611019790173, 0.011928745545446873, 0.02328602224588394, 0.06267552077770233, 0.0037308381870388985, -0.0028775809332728386, -0.06296168267726898, 0.005512711126357317, 0.009015697985887527, -0.0640915259718895, 0.0243711918592453, -0.008753437548875809, 0.025636494159698486, 0.0506272092461586, 0.0036676269955933094, -0.019956596195697784, 0.019006872549653053, -0.032278161495923996, -0.004282078705728054, 0.018322354182600975, -0.031217632815241814, -0.005715353414416313, -0.004148447886109352, -0.037159115076065063, 0.03080843575298786, -0.004987833555787802, 0.02370801754295826, 0.00713082030415535, 0.007833569310605526, 0.027093136683106422, -0.019264331087470055, -0.03831383213400841, 0.05576164647936821, -0.0006261398666538298, 0.04686683043837547, 0.011920321732759476, 0.02946392260491848, -0.01176080945879221, -0.0017813964514061809, -0.0011391761945560575, 0.009798702783882618, 0.009254531003534794, 0.010722664184868336, 0.023705333471298218, -0.055371884256601334, 0.0035235935356467962, 0.049575287848711014, -0.003945267293602228, 0.036302052438259125, -0.012753616087138653, -0.014536496251821518, 0.0294804647564888, 0.02275984175503254, -0.03906864672899246, -0.03884969651699066, 0.016388170421123505, 0.013310511596500874, -0.013459615409374237, -0.00206433841958642, 0.04197116196155548, 0.040787871927022934, 0.0019730518106371164, 0.024866217747330666, 0.039633069187402725, -0.030038725584745407, -0.032820381224155426, 0.00039936936809681356, -0.08396071195602417, 0.0030380235984921455, -0.005574527662247419, -0.0012721903622150421, -0.00790869165211916, 0.004296053666621447, 0.03717594966292381, 0.03633996099233627, -0.02246561460196972, 0.04453694075345993, -0.049361977726221085, -0.03270971029996872, 0.05160357430577278, -0.004623360000550747, -0.04118606820702553, 0.023104768246412277, -0.046558935195207596, -1.1901188479157554e-8, 0.02008013427257538, 0.017497418448328972, -0.021448595449328423, -0.021714186295866966, -0.016250809654593468, 0.02231370471417904, 0.024196509271860123, 0.031316451728343964, -0.07522235810756683, 0.0540863461792469, 0.027447080239653587, 0.01801002211868763, 0.013014407828450203, -0.0030339150689542294, 0.03359031677246094, -0.039242688566446304, -0.021155765280127525, 0.0087583651766181, 0.02620597369968891, 0.021799376234412193, 0.01372556108981371, 0.03358258679509163, -0.04726974293589592, 0.03761089965701103, -0.03136930614709854, -0.011847416870296001, 0.03760858252644539, -0.08358273655176163, 0.014941096305847168, -0.041761983186006546, 0.04004460945725441, -0.00005732448335038498, -0.003092005383223295, -0.03258834406733513, -0.03516799211502075, -0.010987892746925354, 0.017919806763529778, 0.04623304307460785, 0.026030147448182106, 0.020485617220401764, -0.02739323303103447, 0.01018335111439228, -0.026104144752025604, -0.035797689110040665, -0.06255845725536346, -0.006177424918860197, -0.04499388858675957, -0.026648715138435364, 0.05955565720796585, -0.033292971551418304, -0.033404696732759476, 0.03614251688122749, -0.003809647634625435, 0.03592719882726669, 0.03830134496092796, 0.010946322232484818, 0.009547101333737373, -0.02874596416950226, -0.009643234312534332, -0.02538374438881874, 0.05297604203224182, -0.01427478902041912, -0.07001469284296036, -0.013426674529910088 ]
ruby-neo4j-gem-loaderror-no-such-file-to-load-active_supportcore_extclassinheritable_attributes
https://markhneedham.com/blog/2012/04/14/ruby-neo4j-gem-loaderror-no-such-file-to-load-active_supportcore_extclassinheritable_attributes
false
2012-04-25 21:28:42
Algorithms: Rabin Karp in Haskell
[ "haskell", "algorithms" ]
[ "Haskell", "Algorithms" ]
I recently came across http://java.dzone.com/articles/algorithm-week-rabin-karp[a blog post describing the Rabin Karp algorithm] - an algorithm that uses hashing to find a pattern string in some text - and thought it would be interesting to try and write a version of it in Haskell. This algorithm is typically used when we want to search for multiple pattern strings in a text e.g. when detecting plagiarism or a primitive way of detecting code duplication but my initial version only lets your search for one pattern. ____ For text of length n and p patterns of combined length m, its average and best case running time is O(n+m) in space O(p), but its worst-case time is O(nm) ____ [source,text] ---- function RabinKarp(string s[1..n], string sub[1..m]) hsub := hash(sub[1..m]); hs := hash(s[1..m]) for i from 1 to n-m+1 if hs = hsub if s[i..i+m-1] = sub return i hs := hash(s[i+1..i+m]) return not found ---- On line 2 we compute the initial hash value for the pattern and for the first +++<cite>+++m+++</cite>+++ characters of the text where +++<cite>+++m+++</cite>+++ represents the number of characters in the pattern. We then work through the text comparing the pattern hash with our current version of the text hash each time. If they match then we check that the characters in those positions also match, since two different strings can hash to the same value, and if they do then we're done. Line 7 is the interesting line because if we recalculate the hash from scratch each time then it will take O(m) time which means the whole algorithm will take O(nm) time since it's called in a loop. We therefore need to use a http://en.wikipedia.org/wiki/Rolling_hash[rolling hash] which will allow us to work out the value of the next hash from the current one. For example if we're searching for a three letter pattern in the text 'markus' then on our first iteration of the loop we'll have +++<cite>+++hash("mar")+++</cite>+++ and on the second iteration we need to work out +++<cite>+++hash("ark")+++</cite>+++. The hash of "mar" already contains the hash value of "ar" so we need to remove the hash value of the "m" and then add the hash value of "k" to get our new hash value. I used http://algs4.cs.princeton.edu/53substring/RabinKarp.java.html[this Java version of the algorithm] as a template. This is the main function: [source,haskell] ---- import Data.Char import Data.List import Data.Maybe rabinKarp :: String -> String -> Int rabinKarp text pattern = if pattern == "" then -1 else fromMaybe (-1) $ mapOnMaybe fst $ find matchingString $ zip [0..] $ scanl nextHash (hash text m) $ windowed (m+1) text where n = length text m = length pattern nextHash currentHash chars = reHash currentHash (head chars) (last chars) m matchingString (offset, textHash) = hash2 pattern m == textHash && pattern == subString text offset m ---- I applied the http://www.markhneedham.com/blog/2012/02/28/haskell-creating-a-sliding-window-over-a-collection/[windowed function] to the text to break it down into a collection of smaller strings which included the next character that we would need to look at. e.g. if we were searching for a 3 character pattern in "markusauerelius" then this would be the collection of values we iterate over. [source,haskell] ---- windowed 4 "markusauerelius" ["mark","arku","rkus","kusa","usau","saue","auer","uere","erel","reli","eliu","lius"] ---- I then use scanl to apply a reduction over that collection, passing in the hash of the previous 3 characters each time in this example. I used scanl instead of foldl so that I could see the value of the hash on each iteration rather than only at the end. Next I use a zip to get the indexes of each letter in the text and then I look for the first entry in the collection which matches the pattern hash and has the same sequence of characters. The +++<cite>+++mapToMaybe+++</cite>+++ is used to grab the index of the match and then we return a '-1' if there is no match in the last bit of the line. I'm assuming that scanl is lazily evaluated and in this case will therefore only evaluate up to where a match is found - if that assumption's wrong then this version of Rabin Karp is very inefficient! The +++<cite>+++hash+++</cite>+++ and +++<cite>+++reHash+++</cite>+++ functions referenced above are defined like so: [source,haskell] ---- globalQ = 1920475943 globalR = 256 hash = hash' globalR globalQ hash' r q string m = foldl (\acc x -> (r * acc + ord x) `mod` q) 0 $ take m string ---- [source,haskell] ---- > hash "markusaerelius" 3 7168370 ---- Written in English this is the definition of the hash function: ____ ((r^m-1^ * ascii char) + (r^m-2^ * ascii char) + \... (r^0^ * ascii char)) % q where r = 256, q = 1920475943 ____ Which translates to the following in Haskell: ____ ((256^2^ * ord 'm') + (256^1^ * ord 'a') + (256^0^ * ord 'r')) `mod` 1920475943 ____ I was having trouble with casting bigger values when I wrote a function which described this more explicitly which is why the current 'hash' function applies the modulo function on each iteration. The +++<cite>+++reHash+++</cite>+++ function is defined like this: [source,haskell] ---- reHash = reHash' globalR globalQ reHash' r q existingHash firstChar nextChar m = (takeOffFirstChar `mod` fromIntegral q * fromIntegral r + ord nextChar) `mod` fromIntegral q where rm = if m >0 then (fromIntegral r ^ fromIntegral (m-1)) `mod` fromIntegral q else 0 takeOffFirstChar = existingHash - fromIntegral rm * ord firstChar ---- In English: ____ reHash = ((existingHash - ((r^m-1^ % q) * ascii firstChar)) % q + (r * ascii nextChar)) % q ____ First we remove the hash of the first character - which has a value of 'r^m-1^ * ascii char' from our hash function - and then we multiply the whole thing by 'r' to push each character up by one position e.g. the 2nd character would initially have a hash value of 'r^m-2^ * ascii char'. We multiply by 'r' so it now has a hash value of 'r^m-1^ * ascii char'. Then we add the ascii value of the next character along and we have our new hash value. We can compare the results we get from using +++<cite>+++hash+++</cite>+++ and +++<cite>+++reHash+++</cite>+++ to check it's working: [source,text] ---- > hash "mar" 3 7168370 > hash "ark" 3 6386283 ---- [source,text] ---- > reHash 7168370 'm' 'k' 3 6386283 ---- I hardcoded 'globalQ' to make life a bit easier for myself but in a proper implementation we'd randomly generate it. 'globalR' would be constant and I wanted it to be available to the +++<cite>+++hash+++</cite>+++ and +++<cite>+++reHash+++</cite>+++ functions without needed to be passed explicitly which is why I've partially applied +++<cite>+++hash'+++</cite>+++ and +++<cite>+++reHash'+++</cite>+++ to achieve this. We can then run the algorithm like so: [source,haskell] ---- > rabinKarp "markusaerelius" "sae" 5 ---- [source,haskell] ---- > rabinKarp "markusaerelius" "blah" -1 ---- My whole solution is available on http://hpaste.org/67606[hpaste] and as usual if you see any ways to code this better please let me know.
null
null
[ -0.01124522928148508, 0.024410152807831764, -0.03522858768701553, 0.031060807406902313, 0.06668101996183395, 0.007861071266233921, 0.04297802597284317, 0.0272201094776392, 0.022764770314097404, -0.012298903428018093, -0.017136486247181892, -0.023443223908543587, -0.058022335171699524, 0.005212630145251751, -0.019843796268105507, 0.062453415244817734, 0.0723959282040596, -0.013926230370998383, -0.01319835800677538, 0.011235272511839867, 0.0041916402988135815, 0.08636710792779922, -0.0017110727494582534, 0.026497231796383858, 0.028600038960576057, 0.012805735692381859, 0.007753330282866955, 0.021324923262000084, -0.046740878373384476, 0.005351654253900051, 0.047776348888874054, 0.0006628059782087803, 0.009868822991847992, 0.0010663154534995556, 0.033818040043115616, -0.002581053413450718, -0.01956360973417759, -0.007521892432123423, 0.02560163475573063, 0.012821470387279987, -0.04906819760799408, 0.019467754289507866, -0.017321711406111717, -0.00517992302775383, -0.04906756058335304, -0.005886357743293047, -0.07088559120893478, 0.030547011643648148, -0.008985817432403564, 0.008436091244220734, -0.05700363591313362, 0.040934789925813675, -0.01906568929553032, -0.012836073525249958, -0.010397966019809246, 0.057524535804986954, 0.012130864895880222, -0.06054718792438507, 0.0478653758764267, -0.012041591107845306, -0.004819855093955994, -0.03984764963388443, 0.003481387160718441, 0.04249643161892891, -0.005539021920412779, -0.02768920734524727, -0.021767687052488327, 0.04677871987223625, -0.03153921291232109, -0.02334580384194851, -0.0013256088132038713, 0.008702011778950691, -0.0036980807781219482, -0.015201372094452381, -0.014717339538037777, -0.02575969323515892, -0.0030818383675068617, 0.06683703511953354, -0.004960412159562111, 0.051609814167022705, -0.025954464450478554, 0.02667439728975296, 0.01971181109547615, 0.023320525884628296, 0.0016272329958155751, -0.030089667066931725, -0.061719462275505066, -0.012057913467288017, -0.05022897198796272, 0.057136066257953644, 0.0022819004952907562, -0.04832404851913452, 0.00444710161536932, 0.02292485721409321, -0.0005890476168133318, 0.010475989431142807, 0.00875686202198267, 0.00822282861918211, 0.004082519561052322, -0.003436194034293294, -0.03243059292435646, -0.048805832862854004, 0.028785465285182, 0.0015503084287047386, -0.09123005717992783, 0.0007399956812150776, -0.009797215461730957, 0.01338393148034811, 0.03396314010024071, 0.005640522111207247, -0.02111109346151352, -0.00115191878285259, 0.0022456408478319645, 0.007460242137312889, -0.07172860950231552, 0.0683751255273819, -0.012958279810845852, -0.012189445085823536, -0.0017662885366007686, 0.04069144278764725, 0.03020024113357067, 0.026426896452903748, 0.004406996536999941, 0.08624295890331268, 0.013387717306613922, 0.04044141247868538, 0.036508139222860336, 0.06777801364660263, -0.042814385145902634, -0.06459381431341171, -0.02450953796505928, 0.07042280584573746, -0.007130620535463095, 0.016958177089691162, -0.02845323644578457, -0.019542990252375603, -0.04496626928448677, 0.011630904860794544, 0.0534738264977932, 0.047713421285152435, -0.012731606140732765, -0.05059453845024109, 0.03974379599094391, -0.03270718455314636, 0.023835347965359688, -0.004445765633136034, -0.010861743241548538, -0.01541122142225504, -0.003944019321352243, -0.004986254498362541, 0.013712936080992222, 0.026042688637971878, 0.06180036440491676, -0.02653082273900509, 0.01777658984065056, 0.06820491701364517, 0.0061043016612529755, 0.02445467934012413, -0.00967235304415226, 0.016127372160553932, 0.020820504054427147, 0.029001306742429733, -0.0010533564491197467, 0.03189871832728386, -0.009719202294945717, 0.0021851235069334507, 0.01250520907342434, 0.07559862732887268, -0.02061520144343376, -0.009809823706746101, -0.04977238550782204, -0.011454800143837929, 0.06310831755399704, -0.026522614061832428, 0.009633713401854038, 0.019768022000789642, 0.0513044111430645, 0.020178981125354767, 0.04716526344418526, -0.015397218056023121, -0.0713224932551384, 0.04158470034599304, 0.012851255014538765, 0.04271003231406212, 0.00431126868352294, 0.005038276314735413, 0.0562356673181057, 0.038174428045749664, 0.025375626981258392, 0.018117409199476242, -0.07951651513576508, -0.05282866582274437, -0.0037440170999616385, -0.015462729148566723, 0.06003657728433609, -0.035267435014247894, 0.011514708399772644, 0.030559631064534187, 0.010518260300159454, 0.0463101789355278, 0.03273165598511696, -0.012301708571612835, 0.00800361018627882, -0.04392952099442482, -0.04853928089141846, 0.03379587084054947, 0.027880828827619553, -0.03636205941438675, -0.05881210044026375, -0.029088392853736877, 0.011553484946489334, -0.0073614842258393764, 0.028063837438821793, -0.009382947348058224, 0.02448749914765358, 0.04671322554349899, 0.03152470290660858, -0.007616446819156408, 0.05926890671253204, -0.054451264441013336, 0.03438268229365349, -0.00165890296921134, -0.02048514597117901, -0.008700184524059296, 0.007196702994406223, 0.13258393108844757, 0.05593125522136688, -0.045671720057725906, -0.037932779639959335, 0.03529107943177223, 0.0018619131296873093, -0.0658193901181221, 0.011261501349508762, 0.00762808695435524, -0.02218220755457878, 0.022178485989570618, -0.05209111049771309, -0.01968659646809101, 0.03787532448768616, -0.027291959151625633, -0.015426870435476303, 0.08211103826761246, -0.023015236482024193, 0.04849795252084732, -0.014958840794861317, -0.03320498391985893, -0.02213987335562706, -0.03189849108457565, -0.04199354723095894, 0.009371185675263405, -0.004634890239685774, -0.0071943835355341434, 0.04174758866429329, -0.04773874580860138, -0.03331608325242996, -0.0288322102278471, -0.020309630781412125, 0.041048333048820496, 0.0516650527715683, 0.05153296887874603, -0.0024338855873793364, 0.05533993989229202, -0.006317686755210161, -0.013921341858804226, -0.02582896314561367, -0.0456874780356884, -0.029385386034846306, -0.009172225371003151, 0.009603850543498993, 0.02879474312067032, 0.027642367407679558, 0.024434324353933334, 0.0011302124476060271, -0.0031537271570414305, 0.005635828245431185, -0.03884822502732277, 0.03756893798708916, -0.018619509413838387, -0.03336356207728386, -0.028870776295661926, -0.049768079072237015, 0.06944619119167328, -0.06288882344961166, -0.03478175774216652, -0.00038703257450833917, -0.04825102165341377, 0.06868026405572891, -0.05766983702778816, -0.0443391352891922, 0.02296065352857113, -0.01252007856965065, 0.04757712781429291, -0.03463970124721527, -0.0011212060926482081, 0.07344722747802734, 0.022225553169846535, 0.019061250612139702, 0.022244302555918694, 0.01810259371995926, 0.039215270429849625, -0.002673728158697486, 0.030199607834219933, 0.04096543788909912, 0.0013876431621611118, -0.03169146925210953, -0.04609634727239609, -0.007706404663622379, -0.0006179201300255954, -0.2895748019218445, 0.024192996323108673, -0.03966999053955078, -0.056068338453769684, 0.010471057146787643, -0.0057265558280050755, -0.01978084072470665, -0.03560125082731247, 0.012449502013623714, 0.016302190721035004, -0.033844947814941406, -0.049058277159929276, -0.02372363768517971, 0.04575002193450928, -0.010460824705660343, -0.002199712209403515, -0.020796775817871094, -0.04315697401762009, -0.020720284432172775, 0.04146344214677811, 0.009151138365268707, -0.07719297707080841, 0.007771100848913193, 0.04691493138670921, -0.018218569457530975, 0.06037263199687004, -0.08371516317129135, 0.021375320851802826, -0.04887145012617111, -0.013837951235473156, -0.007578391581773758, -0.02528681792318821, 0.0068958355113863945, -0.008167014457285404, -0.018438920378684998, -0.030169809237122536, 0.016390254721045494, 0.00635646004229784, 0.009253119118511677, 0.06429751962423325, -0.03210550174117088, -0.031661201268434525, -0.014708650298416615, -0.007620916701853275, 0.08130569010972977, 0.008054487407207489, -0.04595333710312843, -0.017988229170441628, -0.022165609523653984, 0.0708855390548706, -0.03444543480873108, -0.050354164093732834, -0.014131734147667885, 0.039856791496276855, -0.033477384597063065, -0.024678202345967293, -0.010356763377785683, -0.02317350171506405, -0.03804248571395874, -0.04473865404725075, -0.017055926844477654, -0.0423123762011528, -0.0017700705211609602, -0.06307903677225113, -0.013591674156486988, -0.0602475181221962, -0.053549639880657196, -0.005889439955353737, 0.06353183835744858, 0.026137836277484894, -0.021260308101773262, 0.002766647841781378, -0.006159475073218346, -0.10376778244972229, -0.04959164187312126, -0.008660290390253067, -0.008330910466611385, -0.012181565165519714, 0.012180617079138756, 0.049161214381456375, -0.018725894391536713, -0.06697622686624527, 0.047614943236112595, -0.005563586950302124, 0.04992824047803879, -0.034209076315164566, -0.009954686276614666, -0.020156623795628548, 0.0019788884092122316, -0.01904108002781868, 0.06533881276845932, -0.014926670119166374, -0.021304825320839882, -0.0105510875582695, 0.02703188546001911, 0.02194824069738388, 0.013076433911919594, -0.015407619066536427, 0.017745019868016243, 0.048875872045755386, 0.030881967395544052, -0.06998643279075623, 0.031824443489313126, -0.04537365213036537, -0.031148741021752357, -0.009732404723763466, -0.05053194239735603, 0.03066946007311344, 0.04329390823841095, 0.0037008789367973804, -0.029493501409888268, -0.04695868864655495, 0.0201422106474638, -0.053554926067590714, -0.015804175287485123, -0.02949596382677555, 0.01644846610724926, 0.003451372729614377, 0.0006966724176891148, 0.011437187902629375, -0.04409687593579292, 0.003953130915760994, 0.007556206081062555, -0.02435004524886608, -0.04942064732313156, -0.04933316633105278, -0.02637568674981594, -0.034270890057086945, 0.030268393456935883, 0.02421363815665245, -0.002118075033649802, 0.024145198985934258, 0.01193335559219122, -0.026201272383332253, 0.04225169122219086, -0.0015861530555412173, -0.024302875623106956, -0.039942409843206406, -0.015883734449744225, -0.00012913458340335637, 0.035760145634412766, 0.0155088622123003, 0.013571072369813919, 0.05074070394039154, 0.0553254708647728, -0.004637143108993769, 0.04395633190870285, -0.03198715299367905, -0.008645483292639256, 0.005560184363275766, -0.012514594942331314, -0.05613107606768608, 0.03587780147790909, -0.015574458055198193, -0.004639058373868465, -0.00034596750629134476, 0.041486695408821106, 0.004368679132312536, -0.06493199616670609, -0.041467711329460144, 0.05192381516098976, -0.01714683510363102, -0.02039160020649433, -0.028857160359621048, 0.0051905568689107895, 0.06424359977245331, -0.04269590601325035, 0.06256895512342453, -0.030622826889157295, 0.01104777306318283, 0.0011056732619181275, 0.007974816486239433, -0.031109003350138664, 0.015556028112769127, -0.010107419453561306, -0.014533725567162037, 0.012281380593776703, 0.032434068620204926, 0.02397332154214382, 0.00334128737449646, -0.02124774269759655, -0.01861554943025112, -0.02346213534474373, 0.03230100870132446, 0.059064723551273346, 0.03801821917295456, -0.007508562877774239, -0.005078121554106474, -0.04867367818951607, -0.029748637229204178, -0.01758139207959175, -0.017882298678159714, -0.033065635710954666, 0.0180043987929821, -0.03418496996164322, -0.08778240531682968, -0.013012993149459362, 0.009887105785310268, 0.023758314549922943, 0.021408522501587868, 0.025623099878430367, -0.0017672315007075667, -0.0084469523280859, -0.006094662472605705, 0.05396341159939766, -0.04436687007546425, 0.0018022189615294337, -0.0036546005867421627, 0.011529161594808102, 0.0260347668081522, 0.04211166128516197, -0.06432036310434341, -0.0035604701843112707, -0.00839340128004551, 0.0011036331998184323, -0.027715668082237244, -0.052426956593990326, -0.021281687542796135, 0.00146641640458256, 0.003317852271720767, -0.012047214433550835, 0.003103779163211584, 0.003088564844802022, 0.0026478918734937906, -0.017910541966557503, 0.012240657582879066, -0.00911504216492176, -0.020933646708726883, 0.043410953134298325, -0.025378117337822914, 0.021953614428639412, -0.03505188599228859, 0.028177788481116295, 0.031196175143122673, -0.0035986865404993296, -0.025193316861987114, -0.053615015000104904, 0.01238192804157734, -0.03196661174297333, 0.0640784502029419, 0.004415484145283699, -0.02145490050315857, -0.00013553148892242461, 0.014044699259102345, -0.04003734886646271, 0.004454788751900196, 0.022491291165351868, -0.03034852258861065, 0.02546614035964012, 0.06437857449054718, -0.009626204147934914, 0.0507117360830307, -0.01173744909465313, -0.04404778406023979, 0.03930281847715378, -0.013223976828157902, -0.019655227661132812, -0.0203393567353487, -0.03330136090517044, 0.034095365554094315, 0.0010615886421874166, 0.005874362774193287, -0.023897957056760788, 0.009437025524675846, 0.04674888029694557, 0.03489703685045242, 0.0354696586728096, -0.021780477836728096, 0.05126260221004486, -0.036952465772628784, -0.02148323319852352, -0.09389335662126541, 0.009851169772446156, 0.02993752434849739, -0.014916838146746159, 0.019346274435520172, -0.029001979157328606, -0.0061630005948245525, 0.01081350538879633, -0.057092878967523575, -0.013298233970999718, 0.02811797522008419, -0.007125916890799999, 0.00391369266435504, 0.013388380408287048, -0.051128171384334564, 0.017303472384810448, 0.021681979298591614, -0.015238054096698761, -0.031968750059604645, -0.026637183502316475, 0.0474972277879715, 0.006585896015167236, 0.043396081775426865, -0.011817863211035728, 0.007167479954659939, 0.05500764027237892, 0.04172242432832718, 0.017909394577145576, 0.0585649237036705, -0.023504165932536125, 0.027158280834555626, 0.019884377717971802, 0.003847265848889947, -0.01168824452906847, 0.018587740138173103, -0.03604089096188545, -0.05204077437520027, 0.037827834486961365, 0.007112053222954273, -0.026282621547579765, -0.024292590096592903, 0.07456828653812408, 0.04117024689912796, -0.029412759467959404, -0.06835953146219254, 0.05601413547992706, -0.026673533022403717, 0.007603359408676624, -0.0165366493165493, -0.016814012080430984, -0.053493913263082504, 0.06555144488811493, 0.007458396255970001, 0.0010783987818285823, 0.07075440883636475, -0.009749776683747768, -0.011670389212667942, 0.004050067160278559, 0.09723787009716034, 0.09143141657114029, 0.052081841975450516, 0.004175468347966671, 0.050414349883794785, -0.013875925913453102, -0.03632662072777748, 0.009504572488367558, -0.028667662292718887, -0.011311919428408146, 0.008853152394294739, 0.03149009123444557, 0.0528387725353241, -0.02838088758289814, 0.05807558819651604, -0.021906981244683266, 0.0026199002750217915, -0.0007836836157366633, 0.021515848115086555, 0.029954608529806137, 0.046606406569480896, 0.025421584025025368, 0.04123670607805252, -0.022918133065104485, -0.02606431394815445, 0.04247162491083145, 0.01618875563144684, -0.029233481734991074, 0.027057139202952385, -0.0037829396314918995, 0.003893966320902109, 0.02525668404996395, 0.03197896480560303, 0.08027246594429016, -0.0053356364369392395, -0.02186914160847664, 0.007480462547391653, 0.021710233762860298, -0.006270083133131266, 0.02192067913711071, -0.026803120970726013, -0.023660028353333473, -0.008590023033320904, -0.038389381021261215, -0.010407091118395329, -0.006904868874698877, -0.04644584655761719, 0.03728406876325607, -0.017210936173796654, 0.01997668296098709, 0.0238548144698143, -0.011256934143602848, -0.05240878090262413, -0.04861140623688698, -0.05691792443394661, -0.03737426921725273, -0.07344712316989899, 0.014751953072845936, 0.006111795082688332, -0.02254534140229225, -0.02829751931130886, -0.013874976895749569, 0.0017630171496421099, -0.03670261427760124, 0.04765588790178299, -0.05351769179105759, -0.015892067924141884, -0.008314375765621662, 0.031580254435539246, 0.03776513412594795, 0.054067160934209824, 0.044956281781196594, -0.01510362233966589, 0.0018799378303810954, -0.015634573996067047, -0.04739806801080704, 0.038046807050704956, 0.032442376017570496, -0.03039705939590931, -0.1023297980427742, -0.011506480164825916, 0.023026274517178535, -0.0026574251241981983, -0.07265111058950424, 0.0012672318844124675, -0.00042209503590129316, -0.010623788461089134, 0.024192366749048233, -0.023740798234939575, -0.014453419484198093, -0.02605568803846836, -0.018353575840592384, -0.017077172175049782, -0.0007244045264087617, 0.048459019511938095, -0.025825370103120804, 0.08835246413946152, 0.012659355066716671, -0.02151075378060341, -0.03394664078950882, 0.00509042339399457, -0.03009214997291565, 0.026296064257621765, -0.021946266293525696, -0.031161565333604813, -0.045108962804079056, -0.06323138624429703, -0.021668964996933937, -0.006577172316610813, -0.033852189779281616, -0.04043051600456238, 0.04272616282105446, 0.0473671555519104, -0.022880245000123978, 0.04640191048383713, -0.025585804134607315, 0.045832473784685135, -0.041043370962142944, -0.015689237043261528, -0.011579452082514763, 0.026460323482751846, -0.033381760120391846, 0.014114250428974628, 0.04431665688753128, -0.022648504003882408, 0.02573128044605255, 0.00577479787170887, 0.03520224988460541, -0.009767754934728146, -0.026801053434610367, -0.007513268385082483 ]
[ -0.10980602353811264, -0.018626803532242775, -0.06433723866939545, -0.0017245810013264418, -0.014561628922820091, -0.0479157492518425, 0.005528720561414957, 0.02562703937292099, 0.004505503457039595, -0.0430050827562809, 0.016358932480216026, -0.039712537080049515, 0.019117560237646103, 0.009835499338805676, 0.0730370357632637, -0.002109037945047021, -0.020256908610463142, -0.03874819725751877, -0.024950340390205383, 0.013126206584274769, 0.05034097656607628, -0.016368862241506577, -0.04619716480374336, -0.08112677186727524, 0.014704236760735512, 0.07834166288375854, 0.02190631814301014, -0.07493344694375992, 0.002823322545737028, -0.24900034070014954, 0.0064127021469175816, -0.005332441534847021, 0.05515165254473686, -0.032787151634693146, -0.009729567915201187, 0.06985723972320557, -0.01103504654020071, 0.047878019511699677, -0.038188520818948746, 0.053978949785232544, 0.006513895932585001, 0.04305988922715187, -0.026904277503490448, -0.0014755746815353632, 0.03503452613949776, 0.003607766004279256, -0.052076272666454315, -0.0060389693826437, -0.008700069971382618, 0.013864482752978802, -0.08425989001989365, 0.005581383127719164, 0.019454656168818474, -0.006094324868172407, 0.02072102017700672, -0.0076977526769042015, 0.05002741143107414, 0.08148346841335297, 0.016905857250094414, -0.00287111708894372, -0.008254379034042358, 0.02229003608226776, -0.11428414285182953, 0.0686856135725975, 0.051789890974760056, 0.04140663519501686, 0.0069386325776577, -0.037482358515262604, -0.010287929326295853, 0.07708373665809631, 0.03606608510017395, 0.010791714303195477, -0.030415594577789307, 0.07279425859451294, 0.01876388117671013, -0.01440903078764677, -0.005342367570847273, 0.00901702232658863, 0.04549751803278923, -0.028206422924995422, -0.07393275201320648, -0.03240879997611046, -0.006588926538825035, 0.0034588549751788378, -0.033377718180418015, -0.01520616002380848, -0.04311022907495499, 0.031837474554777145, 0.001873760367743671, -0.0038202875293791294, 0.022666538134217262, -0.01360267773270607, 0.030215950682759285, -0.0049414606764912605, -0.11180063337087631, 0.002118163974955678, -0.011282788589596748, 0.045374348759651184, 0.003587684826925397, 0.4164085388183594, -0.033039454370737076, -0.012571821920573711, 0.012260080315172672, -0.00904883723706007, -0.0126738166436553, 0.017453951761126518, -0.02349054254591465, -0.059459734708070755, -0.007973309606313705, -0.0659119263291359, 0.029818015173077583, -0.03326477110385895, 0.10071487724781036, -0.04625680297613144, -0.005244629457592964, 0.01751554384827614, 0.03874928876757622, 0.031670067459344864, -0.005316364578902721, 0.022390270605683327, -0.00702127069234848, 0.021036526188254356, -0.0019067471148446202, -0.0014039151137694716, -0.007572725880891085, 0.01856159418821335, 0.005413180682808161, 0.0499422587454319, 0.037768058478832245, 0.07536086440086365, 0.05233817175030708, -0.05624556541442871, -0.03146786987781525, -0.003945285454392433, -0.012678468599915504, 0.021949054673314095, 0.01529453881084919, -0.02651781402528286, 0.011121172457933426, -0.012183178216218948, -0.030674705281853676, -0.02443918213248253, 0.032592128962278366, 0.027334807440638542, -0.02540455013513565, 0.08988139778375626, -0.02431892417371273, -0.031184930354356766, -0.008653325960040092, -0.047347236424684525, -0.007984546013176441, 0.025866232812404633, -0.027757002040743828, -0.08380711823701859, -0.006082896143198013, 0.011487661860883236, 0.04993482679128647, -0.00333247403614223, -0.028335189446806908, 0.005870397202670574, -0.04918237403035164, -0.008131932467222214, -0.043088398873806, 0.07043558359146118, 0.012351137585937977, -0.08321014791727066, -0.01649339683353901, -0.006299621891230345, 0.023425385355949402, -0.09519719332456589, 0.02928256429731846, 0.0034865406341850758, -0.018454046919941902, 0.039158791303634644, 0.004181149881333113, -0.03609858825802803, -0.05619877576828003, -0.00763837993144989, 0.04450182616710663, 0.014273012988269329, 0.0022893736604601145, 0.0044995141215622425, -0.07547111809253693, 0.009077407419681549, -0.007750772405415773, -0.07391081005334854, -0.049841463565826416, 0.02134321816265583, 0.003877685172483325, -0.025104526430368423, -0.049865156412124634, -0.01505210343748331, -0.06238989904522896, 0.050881825387477875, 0.00006782167474739254, -0.04551427811384201, 0.03980611637234688, 0.026758039370179176, -0.023402780294418335, -0.001648547942750156, -0.006833360996097326, 0.06698410958051682, 0.007088702172040939, 0.028265347704291344, -0.06087688356637955, -0.003291010856628418, 0.04027274250984192, -0.049903687089681625, 0.04382162541151047, 0.039868321269750595, 0.0047063641250133514, -0.0001240230049006641, -0.05098087340593338, -0.002525129122659564, 0.0007237085374072194, -0.04935627430677414, 0.005757125560194254, -0.0017390238353982568, 0.02105054073035717, 0.023884447291493416, -0.05526479706168175, -0.06863100081682205, -0.020946238189935684, -0.3126544952392578, -0.035935547202825546, 0.02146209217607975, 0.008715975098311901, 0.03906448557972908, -0.05617441236972809, -0.0005435445928014815, -0.014331020414829254, 0.009136944077908993, 0.014617710374295712, 0.03497098758816719, 0.0023248775396496058, -0.01776667684316635, -0.07686030119657516, 0.017427414655685425, 0.029729248955845833, -0.002401893027126789, -0.024672508239746094, -0.017646213993430138, 0.02014068141579628, -0.02001727558672428, -0.006515142973512411, -0.007102273870259523, -0.054214898496866226, 0.0025148249696940184, -0.03603691980242729, 0.12116863578557968, 0.02854393981397152, 0.03707797825336456, -0.03916710987687111, 0.018955809995532036, -0.03270050510764122, -0.015562556684017181, -0.05362856760621071, 0.02729460969567299, -0.047490742057561874, -0.00021180626936256886, 0.01084224134683609, 0.061091791838407516, -0.025984300300478935, -0.06510404497385025, -0.0047780913300812244, -0.04720956087112427, -0.0450294204056263, -0.020691314712166786, 0.012271471321582794, -0.02076108567416668, -0.08042821288108826, 0.004037303384393454, 0.07425375282764435, 0.042451292276382446, 0.02351316250860691, 0.02323101833462715, -0.000995174515992403, -0.039281461387872696, -0.018594108521938324, -0.050669752061367035, -0.04355616867542267, 0.02077445387840271, -0.01512396614998579, 0.05297766253352165, 0.03121096082031727, 0.02871083840727806, -0.014063520357012749, 0.024222031235694885, -0.0025172580499202013, -0.01170874573290348, 0.041834715753793716, 0.026736143976449966, -0.019660668447613716, -0.012338471598923206, 0.09623586386442184, 0.021667834371328354, 0.01077062264084816, 0.04537481442093849, 0.038890670984983444, -0.007131583988666534, 0.015292973257601261, 0.05146609991788864, 0.03152700141072273, 0.05913185700774193, -0.010004117153584957, 0.02884356491267681, -0.025500761345028877, 0.006130695808678865, 0.04938244819641113, 0.00925982091575861, 0.02579006366431713, 0.05027805268764496, -0.00021724129328504205, -0.022628040984272957, 0.011032274924218655, 0.02922612614929676, -0.04722268506884575, 0.042235057801008224, 0.004221053794026375, -0.28818264603614807, 0.04017360880970955, 0.03583696484565735, 0.06583192944526672, -0.001026298850774765, 0.006515792105346918, 0.05976273864507675, -0.05396571755409241, -0.009959264658391476, -0.04020760580897331, 0.023653194308280945, 0.07541298121213913, 0.0249236598610878, -0.00783674605190754, 0.017158960923552513, -0.028262266889214516, 0.06117343157529831, -0.015006918460130692, -0.022692706435918808, -0.012154367752373219, 0.026193447411060333, 0.014025358483195305, 0.21008862555027008, -0.017245857045054436, 0.028431277722120285, -0.004856610205024481, 0.0002488803584128618, -0.014301728457212448, 0.07103864848613739, 0.0009437755797989666, 0.0059664868749678135, -0.004891343414783478, 0.08851294219493866, 0.0006924878689460456, 0.05187113210558891, -0.025755811482667923, -0.023861756548285484, 0.051524318754673004, -0.008952595293521881, -0.00666316831484437, 0.004265990108251572, 0.019451886415481567, -0.036699432879686356, 0.036094170063734055, 0.05328139290213585, -0.0011487612500786781, -0.015813466161489487, -0.005499322433024645, -0.03634415939450264, 0.01975465565919876, -0.013670628890395164, -0.018226729705929756, -0.04150667414069176, 0.020430399104952812, 0.0003590349806472659, 0.06261234730482101, -0.004168512765318155, -0.03759071230888367, -0.025240622460842133, 0.03025122545659542, 0.0029882246162742376, 0.014814108610153198, 0.09682951122522354, 0.02005067653954029, 0.01883101835846901 ]
[ -0.013346570543944836, 0.014158529229462147, -0.039334267377853394, -0.0018642034847289324, -0.018520601093769073, -0.00416188221424818, -0.0015455872053280473, 0.030614247545599937, -0.022032227367162704, 0.003110267920419574, -0.002422573044896126, 0.023144880309700966, 0.019896868616342545, -0.044127847999334335, 0.00842517614364624, 0.005326733458787203, 0.005346004851162434, 0.029245423153042793, 0.01470991037786007, -0.05375384911894798, -0.026806117966771126, 0.02951788529753685, 0.03707808628678322, 0.015064057894051075, 0.010465679690241814, 0.06904197484254837, -0.014679661020636559, 0.02986774407327175, 0.011899701319634914, -0.12021730840206146, -0.049569763243198395, 0.016167696565389633, 0.00590808130800724, 0.023983445018529892, -0.02812906540930271, 0.014165359549224377, -0.06657392531633377, 0.051857199519872665, 0.0035923407413065434, -0.02415063977241516, 0.012395329773426056, 0.0133108701556921, 0.01650427281856537, 0.022418640553951263, -0.004822935909032822, 0.0034197026398032904, -0.029634475708007812, 0.02145170420408249, -0.004713499918580055, -0.004135762341320515, -0.026640759781003, -0.004985192324966192, 0.010984290391206741, 0.03176222741603851, -0.019133219495415688, -0.044137757271528244, -0.008490286767482758, -0.03566858172416687, 0.004374059848487377, -0.016791975125670433, -0.002768943551927805, 0.003967327997088432, -0.049203064292669296, -0.012299292720854282, 0.0015793821075931191, -0.02515774592757225, 0.023266814649105072, 0.007000260055065155, -0.010703732259571552, 0.004467032849788666, -0.02776677906513214, 0.01222323626279831, -0.029665295034646988, 0.017805788666009903, -0.009220544248819351, -0.0014119885163381696, 0.012822563759982586, -0.021534854546189308, 0.039330653846263885, -0.00511152995750308, -0.030392954126000404, -0.0010369369992986321, 0.057966288179159164, -0.0008172393427230418, -0.017112547531723976, -0.026386279612779617, -0.025867924094200134, 0.01512361504137516, 0.021140767261385918, -0.030919557437300682, -0.0027978653088212013, 0.0366031676530838, 0.027941176667809486, -0.05030639097094536, -0.09739302843809128, 0.023531604558229446, -0.023776782676577568, 0.016016120091080666, 0.006192851345986128, 0.8218067288398743, 0.016171952709555626, 0.05359870195388794, 0.02795266918838024, 0.006632779259234667, 0.0057916464284062386, -0.02331588789820671, -0.01296577975153923, -0.011718816123902798, 0.0029298285953700542, -0.03229834884405136, 0.0525737889111042, -0.024501483887434006, 0.051706645637750626, 0.001137451035901904, 0.028637269511818886, 0.03330157324671745, 0.03984874486923218, 0.002606670605018735, 0.0034014370758086443, 0.013088528998196125, 0.011157432571053505, -0.0059471880085766315, 0.027915986254811287, 0.02636609598994255, -0.003344681579619646, -0.1792648881673813, -0.0021398812532424927, -6.666804455745095e-33, 0.0366828478872776, -0.016494465991854668, 0.005509648472070694, 0.0130539545789361, 0.010002420283854008, -0.01644493080675602, -0.012345606461167336, -0.014883550815284252, -0.026175087317824364, -0.008584495633840561, 0.028117051348090172, -0.002101373625919223, 0.012215299531817436, -0.037897489964962006, 0.03695745766162872, -0.00929937232285738, 0.00726593192666769, 0.021238701418042183, -0.002618637401610613, 0.009312322363257408, -0.00830184854567051, -0.008444302715361118, 0.029045287519693375, -0.005475879181176424, -0.005366883706301451, 0.04041127488017082, 0.011603837832808495, -0.05080168694257736, 0.0074711269699037075, -0.04834836348891258, -0.002867709845304489, 0.05693824961781502, -0.03969337418675423, 0.010789129883050919, 0.011465517804026604, -0.05695970356464386, -0.04350433126091957, 0.008138380013406277, -0.007849179208278656, -0.01908462680876255, -0.04559857398271561, 0.0031206575222313404, -0.021085400134325027, -0.05027548968791962, 0.046528711915016174, -0.021714014932513237, -0.005114965606480837, 0.034701015800237656, 0.004681504797190428, 0.056013163179159164, 0.03820422664284706, 0.005676082335412502, 0.023811137303709984, 0.028261099010705948, 0.006351049989461899, 0.017107095569372177, 0.05669461935758591, 0.0009662526426836848, 0.0016268935287371278, 0.08392316102981567, 0.02321777492761612, 0.021084681153297424, -0.027673762291669846, 0.05697080120444298, 0.01130721066147089, -0.025003915652632713, 0.050364475697278976, 0.004084592219442129, 0.029840946197509766, 0.05801555514335632, -0.0012754357885569334, -0.0007438357570208609, -0.03068436123430729, 0.007208097726106644, -0.009145320393145084, -0.01597595028579235, -0.006974837277084589, 0.03687925636768341, -0.017860542982816696, 0.053920429199934006, 0.03808065503835678, -0.03196892887353897, -0.006129952147603035, -0.03586990758776665, -0.03663283959031105, -0.0040969024412333965, 0.02897600643336773, -0.05903806909918785, -0.024575402960181236, -0.0066138869151473045, 0.016872217878699303, 0.011984349228441715, -0.024065423756837845, 0.0017406719271093607, -0.003235101932659745, 7.06953028970475e-33, 0.020201800391077995, -0.010698046535253525, 0.0024586955551058054, 0.022638555616140366, -0.0050780740566551685, 0.00403400557115674, 0.03004794754087925, 0.019217852503061295, -0.04178117588162422, 0.006515254732221365, 0.0019069185946136713, 0.0073968940414488316, 0.0009424577583558857, 0.04867597296833992, 0.07782930880784988, 0.012558234855532646, 0.013343140482902527, 0.03859609737992287, 0.003694947110489011, 0.017382433637976646, 0.009195924736559391, 0.028811650350689888, -0.017167378216981888, 0.022281834855675697, 0.0010568659054115415, -0.0029941184911876917, -0.031989309936761856, 0.018745601177215576, 0.0025567663833498955, -0.018289346247911453, 0.017063800245523453, -0.006471110042184591, -0.007300815545022488, -0.025769632309675217, -0.04100164398550987, 0.010641967877745628, 0.014851389452815056, 0.0060095349326729774, 0.034638646990060806, 0.014554732479155064, 0.045934826135635376, -0.013714615255594254, -0.018901612609624863, -0.02023474872112274, -0.018187308683991432, -0.002992465626448393, -0.018221711739897728, 0.022482095286250114, 0.020337574183940887, -0.04620807617902756, 0.01529329176992178, -0.010300553403794765, -0.0032997732050716877, -0.016257546842098236, -0.012428165413439274, 0.012676429934799671, -0.04329754784703255, 0.02809842862188816, -0.05796480551362038, -0.004398067947477102, -0.018468167632818222, 0.016948271542787552, 0.005486000794917345, -0.011277935467660427, -0.026897866278886795, -0.01184999942779541, -0.009364647790789604, -0.0453745536506176, -0.0214140173047781, 0.0003936300927307457, -0.04269322007894516, -0.04110012948513031, -0.020293230190873146, 0.026840027421712875, 0.029259784147143364, 0.0003813605580944568, 0.007137441076338291, 0.03324118256568909, 0.014761070720851421, 0.02247721329331398, 0.032517209649086, 0.008632006123661995, -0.024530790746212006, 0.01766866073012352, -0.005861524026840925, -0.007950606755912304, -0.01675199344754219, -0.005943965632468462, 0.03448118641972542, -0.034000299870967865, 0.002933936659246683, 0.0011846356792375445, -0.024817340075969696, -0.006165930535644293, 0.013475393876433372, -1.236463820220024e-8, 0.0026905445847660303, -0.041531335562467575, -0.030901484191417694, 0.008597398176789284, 0.06782180070877075, 0.028438527137041092, -0.016161911189556122, -0.0370955616235733, -0.059640493243932724, 0.01098979078233242, 0.02002612128853798, 0.0010418302845209837, -0.011389002203941345, 0.03754488751292229, 0.005396554246544838, -0.02365049161016941, 0.007028577383607626, -0.015844890847802162, 0.025554295629262924, -0.02627957984805107, 0.031621985137462616, 0.02049587480723858, 0.04018660634756088, -0.02852020598948002, -0.02848825789988041, 0.006310733966529369, 0.011930826120078564, -0.08491331338882446, 0.008881007321178913, -0.012958208099007607, 0.0347227118909359, -0.02901971898972988, -0.0042501175776124, -0.03120456077158451, -0.013499761000275612, -0.04268932715058327, 0.009765063412487507, -0.01729382760822773, 0.04034838825464249, -0.00668466929346323, -0.013440947979688644, 0.01918674260377884, -0.012836745008826256, -0.02343800850212574, -0.03550034388899803, -0.00789744220674038, -0.002563217654824257, -0.0031726816669106483, -0.017317788675427437, -0.048390377312898636, -0.014872957020998001, 0.013795311562716961, 0.03336512669920921, -0.008599788881838322, 0.023519862443208694, -0.01466541737318039, 0.03037230484187603, -0.060767222195863724, 0.009275742806494236, 0.011428278870880604, 0.03497898578643799, -0.03629438206553459, -0.01224598940461874, -0.037997592240571976 ]
algorithms-rabin-karp-in-haskell
https://markhneedham.com/blog/2012/04/25/algorithms-rabin-karp-in-haskell
false
2012-05-05 13:20:41
neo4j: What question do you want to answer?
[ "neo4j" ]
[ "neo4j" ]
Over the past few weeks I've been modelling ThoughtWorks project data in http://neo4j.org/[neo4j] and I realised that the way that I've been doing this is by considering *what question I want to answer* and then building a graph to answer it. When I first started doing this the main question I wanted to answer was 'how connected are people to each other' which led to me modelling the data like this: image::{{<siteurl>}}/uploads/2012/05/initial.png[Initial,413] The 'colleagues with' relationship stored information about the project the two people had worked on together and how long they'd worked together. This design was fine while that was the only question I wanted to answer but after I showed it to a few people it became clear that there were other questions we could ask which would be difficult to answer with it designed this way. e.g. * Which people on project X have I never worked with? * Which person has worked for client X for the longest? * Which people worked together on the same client if not the same project? I therefore need to make 'client' and 'project' first class entities in the graph rather than just being there implicitly which favours a design more along these lines: image::{{<siteurl>}}/uploads/2012/05/initial1.png[Initial,459] It makes it a little more difficult to answer the initial question about connections between people but opens up the answers to other questions such as the ones detailed above. I'm still getting used to this way of modelling data but it feels like you're driven towards designing your data in a way that's useful to you as opposed to the relational approach where you tend to model relations and then work out what you want to do with the data.
null
null
[ 0.03463134169578552, -0.0017806602409109473, 0.0122495973482728, 0.04024319723248482, 0.08589576929807663, 0.007993362843990326, 0.019677327945828438, 0.029434455558657646, 0.02730577439069748, -0.028503598645329475, -0.006744109559804201, -0.010828421451151371, -0.050043735653162, 0.025887509807944298, -0.011399033479392529, 0.05639813840389252, 0.05769529193639755, 0.019619915634393692, 0.0040056961588561535, 0.003653944004327059, 0.0331534780561924, 0.041567884385585785, -0.007201220374554396, 0.03978784382343292, 0.03667442500591278, -0.0032306041102856398, 0.018315941095352173, -0.019985361024737358, -0.030535217374563217, -0.009698941372334957, 0.05196019634604454, -0.0028874699492007494, 0.025905534625053406, -0.024735737591981888, 0.023168161511421204, -0.012716496363282204, -0.04657172039151192, 0.02512551285326481, -0.01071083452552557, -0.012491347268223763, -0.07153530418872833, 0.04800693690776825, -0.007166165392845869, 0.004439870826900005, -0.04382210224866867, 0.009082235395908356, -0.04581058397889137, 0.034853484481573105, 0.02116810902953148, 0.025700364261865616, -0.09382154792547226, 0.017245998606085777, 0.0018301289528608322, 0.02167573757469654, -0.012873772531747818, 0.03982185572385788, 0.03121967986226082, -0.06075292080640793, 0.034222301095724106, -0.036669205874204636, 0.017053941264748573, -0.014194661751389503, 0.009037870913743973, -0.00029386443202383816, 0.012687141075730324, -0.05843808874487877, 0.01031371857970953, 0.04676384851336479, -0.028210725635290146, 0.011936312541365623, -0.010664420202374458, -0.0006293326150625944, 0.0013767207274213433, -0.0018048457568511367, -0.013563413172960281, -0.04396161437034607, 0.009273840114474297, 0.04766786843538284, 0.023017428815364838, 0.03950194641947746, -0.024719925597310066, 0.03445122390985489, 0.00044867771794088185, 0.04146237671375275, -0.0010734224924817681, -0.05028902739286423, -0.004454887472093105, -0.03531312942504883, -0.06199300289154053, 0.05531527101993561, 0.013134904205799103, -0.06571449339389801, 0.012631268240511417, 0.01191719900816679, -0.007627787534147501, 0.014096411876380444, 0.01585479825735092, 0.019683673977851868, 0.0028790272772312164, -0.006410868838429451, -0.005056906491518021, -0.02502063475549221, -0.008446093648672104, 0.011379929259419441, -0.07464133948087692, -0.02973898872733116, 0.0031156991608440876, -0.04560844600200653, -0.029548000544309616, 0.002621482824906707, -0.05354442819952965, 0.001193427830003202, -0.024326052516698837, 0.021101515740156174, -0.07072792202234268, 0.0773591622710228, 0.03003673627972603, -0.02574858069419861, -0.022994086146354675, 0.03713401034474373, 0.026257820427417755, 0.013446534983813763, -0.014809569343924522, 0.08462771773338318, -0.02120698057115078, 0.022969653829932213, -0.019071092829108238, 0.05258379876613617, -0.045271340757608414, -0.06806633621454239, 0.001976930070668459, 0.06915979832410812, -0.039586301892995834, 0.005917161703109741, -0.0023368792608380318, -0.053683165460824966, 0.0014223360922187567, 0.014491499401628971, 0.026377283036708832, 0.023804666474461555, 0.004535198677331209, -0.04122096672654152, 0.03394667059183121, 0.01664452813565731, 0.036922771483659744, 0.004508087877184153, 0.0003104860079474747, -0.02979748509824276, -0.005913652945309877, -0.013736135326325893, 0.003705492476001382, 0.033495236188173294, 0.024200353771448135, -0.03738807886838913, 0.03613089770078659, 0.11128944158554077, 0.04341727867722511, -0.0004109673900529742, 0.0015478410059586167, 0.029627947136759758, 0.02906072326004505, 0.009578805416822433, 0.02157330885529518, 0.05794055387377739, 0.025415243580937386, -0.014229224063456059, -0.006036981474608183, 0.032299578189849854, -0.005267423577606678, 0.0006344825378619134, -0.06221180036664009, -0.05065469071269035, 0.05947527661919594, -0.05887797847390175, -0.019342446699738503, 0.06597642600536346, 0.07874323427677155, 0.014651607722043991, 0.009142023511230946, 0.002775173867121339, -0.08041594922542572, 0.04475370794534683, -0.0076903547160327435, 0.01696147583425045, 0.022878248244524002, -0.009014980867505074, 0.0644412413239479, 0.04514410346746445, -0.010663237422704697, 0.04214455559849739, -0.08240559697151184, -0.07335839420557022, -0.014595112763345242, -0.01511467806994915, 0.0560198538005352, -0.024801719933748245, 0.002099014585837722, 0.05877336487174034, 0.008666603825986385, 0.03578658029437065, 0.015526095405220985, 0.004025689326226711, 0.006559465080499649, -0.042446285486221313, -0.04810512438416481, 0.04935618117451668, 0.04717901721596718, -0.044713523238897324, -0.030210325494408607, 0.029970712959766388, -0.014282667078077793, -0.011547372676432133, 0.038250163197517395, -0.037252407521009445, 0.03435884788632393, -0.0017429516883566976, 0.02520429901778698, -0.009314837865531445, 0.04568178579211235, -0.04326620697975159, 0.04074471443891525, 0.010256078094244003, -0.011928295716643333, -0.0046690297313034534, -0.024252062663435936, 0.10796602815389633, 0.05794796720147133, -0.02985680103302002, -0.044725582003593445, 0.02597963623702526, 0.03136688098311424, -0.008333790116012096, 0.03102262318134308, 0.003663190407678485, 0.02066798508167267, -0.01714072749018669, -0.05056193098425865, -0.022710947319865227, 0.034291669726371765, -0.045947909355163574, 0.010473916307091713, 0.07054939866065979, -0.039080988615751266, 0.05822405591607094, -0.018516909331083298, 0.01746189594268799, -0.013238837942481041, -0.04209030792117119, -0.06869208812713623, 0.05720594525337219, 0.009416917338967323, 0.0025419523008167744, 0.06762287765741348, -0.004753309302031994, -0.0229179747402668, -0.037193413823843, 0.004812920931726694, 0.027398547157645226, 0.043123308569192886, 0.0543036162853241, -0.01768292859196663, 0.04310261830687523, -0.014203629456460476, 0.024353237822651863, -0.006522832438349724, -0.06882105022668839, -0.06070595234632492, -0.04786030948162079, 0.017620014026761055, 0.020171526819467545, 0.040046870708465576, -0.02966662496328354, 0.04302559047937393, 0.010014427825808525, 0.01128802727907896, 0.0043219346553087234, 0.020170902833342552, 0.003730558091774583, 0.007834956049919128, -0.02911553718149662, -0.027065353468060493, 0.052628688514232635, -0.04995885118842125, -0.0478646382689476, 0.022081905975937843, -0.061237484216690063, 0.03935975953936577, -0.05676630884408951, -0.03880862146615982, -0.010138152167201042, 0.05307018756866455, 0.05328061059117317, 0.014410119503736496, -0.01575925201177597, 0.07999559491872787, 0.043991394340991974, 0.01857830211520195, -0.011934861540794373, -0.018229905515909195, 0.0619327537715435, -0.013284793123602867, 0.02285769395530224, 0.04851549118757248, -0.03315122053027153, -0.000563097361009568, -0.02946794591844082, 0.026633108034729958, -0.028080085292458534, -0.291201651096344, 0.02248716913163662, -0.00297163357026875, -0.03884098678827286, 0.008716636337339878, -0.048323843628168106, 0.031823161989450455, -0.017556756734848022, -0.03126375749707222, -0.018579110503196716, -0.004784984514117241, -0.0488920621573925, -0.01808154210448265, 0.054090291261672974, 0.011498194187879562, 0.054433148354291916, -0.004072219133377075, -0.05047735571861267, -0.003746236441656947, 0.04231514036655426, -0.027301078662276268, -0.04381610453128815, -0.042568765580654144, 0.03863705322146416, 0.034575365483760834, 0.0373845212161541, -0.10579030215740204, 0.013034380972385406, -0.052577923983335495, -0.0008840710506774485, 0.009966345503926277, -0.02202894538640976, -0.010901043191552162, 0.004944185726344585, -0.008760851807892323, -0.03663745895028114, 0.03705433011054993, 0.02639041282236576, 0.019565509632229805, 0.0169670432806015, -0.04516461864113808, -0.03967927023768425, -0.01099250465631485, -0.018529102206230164, 0.06290052086114883, -0.0023850344587117434, -0.07597975432872772, -0.00017815022147260606, -0.028109170496463776, 0.05300065502524376, -0.03021642379462719, -0.037629056721925735, -0.0014436482451856136, 0.02187536656856537, -0.020340872928500175, -0.03808457404375076, -0.007499047089368105, -0.005758076906204224, -0.06190679967403412, -0.022689566016197205, -0.03176460415124893, -0.04341064393520355, 0.0048704249784350395, -0.07301834970712662, -0.01110510341823101, -0.054231010377407074, -0.09059716016054153, -0.04169214516878128, 0.060051329433918, 0.017639093101024628, -0.019580040127038956, 0.013809298165142536, -0.006867949850857258, -0.09823022037744522, -0.01570313610136509, -0.026167236268520355, 0.007758740335702896, -0.0025308472104370594, 0.006185280624777079, 0.04830850660800934, 0.004533881787210703, -0.05569513887166977, 0.0016147545538842678, 0.015352130867540836, 0.001265952829271555, 0.025012768805027008, 0.03841979801654816, 0.0002848781005013734, -0.043873343616724014, 0.028833109885454178, 0.05055366829037666, -0.008201786316931248, -0.03514327108860016, -0.018076319247484207, 0.010987728834152222, 0.018154658377170563, 0.015687720850110054, -0.0254354365170002, 0.003995379898697138, 0.04383964464068413, 0.03397630527615547, -0.03981207311153412, 0.003104881849139929, 0.004326240625232458, -0.013732021674513817, -0.01994055137038231, -0.040531836450099945, 0.033572718501091, 0.03277479112148285, 0.01896045170724392, -0.004846805706620216, -0.04455779120326042, 0.004533903207629919, -0.05138386785984039, -0.04697263240814209, -0.031130537390708923, -0.000018787639419315383, 0.04067697003483772, 0.008713274262845516, -0.012473775073885918, -0.037457115948200226, 0.02975546382367611, 0.0312672033905983, 0.006678530015051365, -0.06457443535327911, -0.018526554107666016, -0.027149919420480728, -0.035163335502147675, 0.014501425437629223, 0.03003004379570484, -0.03542204573750496, 0.04195350781083107, 0.006513727363198996, -0.039550624787807465, 0.04206031933426857, 0.0003467134665697813, -0.05939276143908501, -0.02631421945989132, 0.0007915631285868585, -0.003967379219830036, -0.0022298949770629406, 0.018845539540052414, -0.003683193353936076, 0.019561711698770523, 0.045405831187963486, 0.013024178333580494, -0.0003501719911582768, -0.007574769668281078, 0.02507743053138256, -0.014760898426175117, -0.0023485529236495495, -0.04862343892455101, 0.007694185711443424, -0.04392237588763237, -0.015584715642035007, -0.019668079912662506, 0.03557242825627327, -0.032932378351688385, -0.03760581091046333, -0.004262502305209637, 0.023930173367261887, -0.05845467001199722, -0.007149422541260719, -0.02066723443567753, 0.007251770701259375, 0.06312660872936249, -0.02304503507912159, 0.0021308891009539366, -0.019754959270358086, -0.0308041051030159, 0.04066724330186844, 0.03141132742166519, -0.031103098765015602, -0.01122486311942339, 0.013916113413870335, 0.026429830119013786, -0.0018779266392812133, 0.01222696341574192, 0.047374945133924484, 0.0035146523732692003, -0.03349459916353226, 0.005385970696806908, 0.0010478758485987782, 0.0060207718051970005, 0.05243724584579468, 0.04125506803393364, 0.01090133748948574, 0.008614309132099152, -0.010009097866714, 0.005042842123657465, -0.02338685840368271, -0.002216916996985674, -0.011985739693045616, 0.02669360116124153, -0.030876779928803444, -0.0566551610827446, 0.0717901736497879, -0.010546047240495682, 0.02360835112631321, 0.026816461235284805, -0.0010792352259159088, 0.003002404933795333, -0.016489794477820396, 0.04004534333944321, 0.0658489540219307, -0.07099242508411407, 0.0005115526146255434, -0.004941732622683048, -0.01630503684282303, -0.0052033462561666965, 0.002397464355453849, -0.04124971479177475, -0.04105957970023155, -0.0391329862177372, 0.014159459620714188, -0.050779253244400024, -0.04594874754548073, -0.029188944026827812, 0.005431383848190308, 0.018194375559687614, 0.014899967238307, 0.010418846271932125, -0.00011855619959533215, -0.013717756606638432, -0.006961900275200605, 0.026088131591677666, -0.04543450102210045, 0.0009869509376585484, -0.003796889679506421, -0.02926158346235752, 0.009217711165547371, -0.02070564031600952, 0.02168741263449192, 0.0024689617566764355, -0.0333012230694294, -0.013081197626888752, -0.03617795184254646, 0.009004635736346245, 0.023452401161193848, 0.02007056400179863, -0.0027478947304189205, 0.0007201253320090473, -0.04741072282195091, -0.022870978340506554, -0.0007699019042775035, 0.005573837086558342, 0.0024616902228444815, 0.007156940642744303, -0.010743318125605583, 0.0254124253988266, 0.008011244237422943, 0.01558885257691145, -0.015387818217277527, -0.032840367406606674, 0.04241379350423813, -0.03915785998106003, -0.04693186283111572, -0.03074723854660988, -0.05006719380617142, -0.015322654508054256, -0.0027552053797990084, 0.014065626077353954, -0.03619043529033661, 0.05452025681734085, 0.040482137352228165, 0.03937055543065071, 0.0542459674179554, -0.002796355402097106, 0.024196451529860497, -0.03582768887281418, 0.003594303736463189, -0.06366445124149323, 0.004214724525809288, 0.0369357131421566, 0.012965062633156776, 0.0031743980944156647, -0.0049138376489281654, -0.022991811856627464, 0.052067697048187256, -0.07458169758319855, -0.022357800975441933, 0.038481950759887695, 0.005125786643475294, 0.015426729805767536, 0.0029858609195798635, -0.06186622008681297, 0.01805111952126026, 0.020050041377544403, -0.040080901235342026, -0.05041798576712608, -0.032559312880039215, 0.04460133984684944, -0.028136949986219406, 0.04867735132575035, -0.017496252432465553, -0.011138477362692356, 0.05856778472661972, 0.021304113790392876, 0.018365528434515, 0.0506775863468647, -0.014468920417129993, 0.028544818982481956, 0.035649336874485016, 0.013429294340312481, -0.0018634549342095852, 0.0446355864405632, -0.013008886016905308, -0.049567606300115585, 0.05192534625530243, -0.003963890485465527, -0.020183006301522255, -0.0561102069914341, 0.06527625769376755, 0.011158104985952377, -0.04572252184152603, -0.039624325931072235, 0.04066571220755577, -0.03864674270153046, 0.02137354202568531, -0.023062698543071747, -0.0006327253067865968, -0.03833144158124924, 0.03420547768473625, -0.014916711486876011, 0.0021292390301823616, 0.055797431617975235, -0.008084272034466267, -0.012746370397508144, 0.010053768754005432, 0.09326495975255966, 0.09314849972724915, 0.07435711473226547, 0.018648572266101837, 0.0703752413392067, -0.00802301149815321, -0.03746931627392769, -0.01680871471762657, -0.015356377698481083, -0.021733392030000687, 0.025077739730477333, 0.009464678354561329, 0.05772308632731438, -0.01298939436674118, 0.056830622255802155, -0.017612386494874954, -0.003150006290525198, 0.012038900516927242, -0.00011110047489637509, 0.011785986833274364, 0.060149941593408585, 0.018180716782808304, 0.030904188752174377, -0.03247285261750221, -0.033341649919748306, 0.011618099175393581, -0.018868712708353996, -0.014492042362689972, 0.050141945481300354, -0.00877334550023079, -0.019341927021741867, 0.0053534661419689655, 0.03485869616270065, 0.09133390337228775, -0.04338007792830467, -0.022604409605264664, -0.010013784281909466, 0.01056995801627636, -0.009835820645093918, 0.006824286188930273, 0.02431720308959484, -0.021230334416031837, -0.004038050305098295, -0.033690061420202255, -0.03978918120265007, -0.020067453384399414, -0.03402446582913399, 0.011273585259914398, -0.029938580468297005, -0.007768245879560709, 0.00841470155864954, -0.004428582265973091, -0.0289086252450943, -0.04443153366446495, -0.023833245038986206, -0.05160699412226677, -0.07845865190029144, 0.010469607077538967, 0.019113220274448395, -0.026358366012573242, -0.03042888268828392, -0.014071241952478886, -0.02582111954689026, -0.017320048063993454, 0.06711836159229279, -0.06828378885984421, -0.0184647049754858, 0.02302604727447033, 0.01867949217557907, 0.04072194546461105, 0.01824742928147316, 0.05426330119371414, 0.010116126388311386, 0.02048516646027565, -0.029762471094727516, 0.003063067328184843, 0.022122355177998543, 0.027842042967677116, -0.0014246378559619188, -0.08544416725635529, 0.006689827423542738, 0.004488601349294186, -0.044803787022829056, -0.06977736204862595, 0.0034041155595332384, 0.047491442412137985, 0.01150923315435648, 0.049521710723638535, 0.0007175601203925908, -0.008368863724172115, -0.023474158719182014, 0.007122740149497986, 0.005696865729987621, 0.013095404021441936, 0.031547967344522476, -0.030256057158112526, 0.07725872844457626, 0.027313390746712685, -0.03722351789474487, -0.00441392045468092, -0.037729572504758835, 0.011943787336349487, 0.001769671100191772, -0.032191451638936996, -0.0331878662109375, -0.027426423504948616, -0.080218605697155, -0.029384076595306396, 0.0187342818826437, -0.011864890344440937, -0.026573847979307175, 0.0013982263626530766, 0.024036850780248642, -0.03130083531141281, 0.035490814596414566, -0.057269927114248276, 0.022260311990976334, -0.009331735782325268, -0.007190922275185585, -0.028795083984732628, 0.020047690719366074, -0.009818606078624725, 0.0025773392990231514, 0.021725637838244438, -0.0666184201836586, -0.010183176957070827, -0.03562512993812561, 0.020000208169221878, 0.03066759929060936, 0.03133781626820564, 0.005658373236656189 ]
[ -0.03771931305527687, 0.00150424730964005, -0.04485349357128143, -0.025369958952069283, 0.050234355032444, -0.041617412120103836, -0.01643580012023449, 0.01083278562873602, 0.017215309664607048, -0.04407920688390732, 0.02918928489089012, -0.04932759329676628, 0.011273432523012161, 0.0033076710533350706, 0.08168991655111313, 0.015122747980058193, -0.021199464797973633, -0.058228038251399994, -0.003689415752887726, 0.06053445488214493, -0.04825283959507942, -0.06091616302728653, -0.034837085753679276, -0.033059149980545044, 0.010638331063091755, 0.03988420218229294, 0.03912073373794556, -0.0348542146384716, -0.012764669954776764, -0.19070866703987122, 0.012457639910280704, 0.02891223318874836, 0.03850393369793892, 0.011938557028770447, 0.0409526526927948, 0.061823520809412, 0.053252387791872025, 0.00788689311593771, 0.015965953469276428, 0.027755089104175568, 0.005954925902187824, -0.0004700048884842545, -0.030252384021878242, -0.029282422736287117, 0.04571396857500076, 0.02629972994327545, -0.018638217821717262, -0.028456246480345726, -0.04743765667080879, -0.010339131578803062, -0.02967931516468525, -0.050872188061475754, -0.03273962065577507, 0.0016343767056241632, 0.0037659176159650087, 0.05984902381896973, 0.03681950271129608, 0.05046960338950157, 0.01573808677494526, 0.03229799121618271, 0.01578865572810173, -0.0007813384290784597, -0.1403881460428238, 0.09049952030181885, 0.02989305555820465, 0.03694324940443039, -0.06658469140529633, -0.007515597622841597, -0.025669937953352928, 0.08859531581401825, 0.02082742005586624, -0.003541113343089819, -0.029981136322021484, 0.0354733020067215, 0.026920175179839134, 0.0330691821873188, -0.01714722253382206, 0.03509128466248512, 0.03508210554718971, -0.0553046278655529, -0.03302089124917984, 0.0339253731071949, -0.0381777361035347, -0.007090474478900433, -0.043914519250392914, 0.05984068661928177, -0.025225915014743805, 0.031302355229854584, 0.00214123772457242, 0.030949296429753304, 0.018945232033729553, 0.017224129289388657, 0.0042256759479641914, 0.0013988162390887737, -0.06872057914733887, -0.02943805232644081, 0.0035264287143945694, 0.025386705994606018, -0.027339080348610878, 0.41181033849716187, -0.02650103159248829, -0.02432163991034031, 0.08523344248533249, 0.04047819972038269, -0.04672548547387123, -0.00772303668782115, -0.005037277936935425, -0.07222826033830643, 0.04021686688065529, -0.008821485564112663, -0.009429214522242546, -0.014334581792354584, 0.005263511557132006, -0.07668184489011765, 0.02564295008778572, 0.019220596179366112, 0.020715707913041115, 0.027244653552770615, -0.01933787576854229, -0.011817188002169132, -0.019239449873566628, 0.031065093353390694, 0.021221784874796867, 0.006117009557783604, -0.004180177114903927, -0.0002069865440716967, 0.00819286610931158, 0.05013382434844971, 0.018282590433955193, 0.00018661905778571963, 0.06396695971488953, 0.008743631653487682, -0.07605046033859253, 0.01779358834028244, -0.02728966623544693, 0.015898488461971283, 0.03478122502565384, -0.024407126009464264, -0.0304805226624012, 0.04369036853313446, 0.016820212826132774, -0.02578124962747097, 0.016117926687002182, 0.009809632785618305, -0.034613773226737976, 0.14090046286582947, 0.0022582467645406723, -0.026386115700006485, -0.021927345544099808, -0.008373205550014973, -0.00029774781432934105, 0.0405409075319767, -0.011515342630445957, -0.06919349730014801, 0.014013097621500492, 0.02410009875893593, 0.07749634981155396, -0.0162801593542099, -0.08104835450649261, 0.02210204489529133, 0.006260353606194258, -0.02510084956884384, -0.06407336890697479, 0.0644056648015976, 0.056334756314754486, -0.13277894258499146, -0.00032955341157503426, 0.01781340502202511, 0.03630371764302254, -0.0694412812590599, 0.01930980570614338, 0.02362053096294403, -0.026817813515663147, 0.0060465154238045216, 0.05991501361131668, -0.011526009999215603, -0.027168279513716698, -0.004744947887957096, 0.03348568454384804, 0.007233324460685253, -0.004749348387122154, 0.016803288832306862, -0.03435828164219856, -0.0008639824809506536, -0.07713061571121216, -0.07462342828512192, -0.04574873298406601, 0.01817547343671322, -0.06195593625307083, -0.027551492676138878, -0.004160283599048853, 0.00413556070998311, -0.0697387084364891, 0.09564578533172607, -0.045899566262960434, -0.027193408459424973, 0.015546766109764576, -0.011707261204719543, -0.06509052962064743, -0.002946638036519289, -0.015223896130919456, 0.038097549229860306, -0.039787981659173965, 0.01870754547417164, -0.08400165289640427, 0.041579920798540115, 0.06793069839477539, -0.008349930867552757, 0.09529431909322739, 0.030857151374220848, -0.03610558435320854, -0.03047058917582035, -0.02469218149781227, 0.003251512534916401, 0.012177376076579094, 0.008265452459454536, 0.006148554850369692, -0.0017794803716242313, 0.01355487946420908, 0.06687898188829422, -0.020694758743047714, -0.01609114557504654, -0.013770907185971737, -0.34565386176109314, -0.04543955996632576, -0.026392241939902306, -0.010600470006465912, 0.016211489215493202, -0.023987218737602234, 0.032121170312166214, -0.00013460007903631777, -0.024816853925585747, 0.027877725660800934, 0.09250277280807495, 0.013956176117062569, -0.021583184599876404, -0.07288895547389984, -0.0028493539430201054, 0.012260064482688904, -0.009719692170619965, 0.009604847989976406, -0.053739503026008606, -0.01486331969499588, -0.013953011482954025, -0.029834795743227005, -0.00457262247800827, -0.058732904493808746, 0.001149797928519547, -0.022576147690415382, 0.13220013678073883, -0.00540936179459095, 0.005206570494920015, -0.03705979138612747, 0.03075832687318325, 0.0102509381249547, -0.022200852632522583, -0.10754969716072083, 0.022729776799678802, -0.026846585795283318, 0.027232617139816284, 0.008014265447854996, -0.008817418478429317, -0.021579977124929428, -0.04975659400224686, -0.03564568981528282, -0.03146562725305557, -0.02884216606616974, -0.05752861127257347, 0.024388227611780167, -0.029442263767123222, 0.0008932692580856383, -0.030170124024152756, 0.07175873965024948, 0.002997546223923564, 0.023073730990290642, 0.010603228583931923, 0.019776618108153343, -0.014969928190112114, -0.04151886701583862, -0.09555872529745102, 0.016807425767183304, 0.0072954813949763775, 0.030399849638342857, 0.025610435754060745, 0.05821003392338753, 0.005987155716866255, -0.06580079346895218, 0.026192355901002884, -0.011157581582665443, -0.024428049102425575, 0.0173132736235857, 0.020208438858389854, -0.03197731450200081, -0.0018702356610447168, 0.11323372274637222, -0.019101884216070175, 0.023123472929000854, 0.04434672370553017, 0.03851022198796272, -0.024571724236011505, 0.007449138443917036, 0.026144932955503464, 0.022706104442477226, 0.018064968287944794, -0.05026966705918312, 0.03639959543943405, -0.02169336937367916, 0.013852794654667377, 0.04892100393772125, 0.02044656313955784, -0.054060857743024826, 0.06125674769282341, 0.014795477502048016, -0.02391277253627777, -0.000737031630706042, -0.028782028704881668, -0.053865693509578705, 0.05375766381621361, -0.03368948772549629, -0.25361260771751404, 0.03162875026464462, 0.028534935787320137, 0.055610302835702896, -0.021271314471960068, 0.007119260262697935, 0.02255704440176487, 0.00250299577601254, 0.012423760257661343, -0.02081628143787384, 0.04373651742935181, 0.04298299551010132, -0.00045991918887011707, 0.009022792801260948, 0.0032984507270157337, 0.002787527395412326, 0.03586990386247635, -0.0022321196738630533, 0.016638638451695442, -0.00807961355894804, 0.02768874354660511, -0.023652227595448494, 0.1842462420463562, 0.03196032717823982, 0.03576955199241638, 0.009596793912351131, -0.03201311454176903, 0.009490305557847023, 0.04070553183555603, -0.019444312900304794, -0.02733207866549492, 0.03146369382739067, 0.011564729735255241, 0.01618184708058834, 0.01654728874564171, -0.060768574476242065, -0.013677997514605522, 0.02878502756357193, 0.04129992052912712, -0.007542450912296772, 0.02615446224808693, 0.012108882889151573, -0.022924557328224182, 0.022218622267246246, 0.08295798301696777, 0.024228118360042572, 0.0058647748082876205, -0.025548962876200676, -0.07731213420629501, -0.03146738186478615, -0.03637602552771568, -0.04743708670139313, -0.012063848786056042, 0.0037586335092782974, 0.0327320396900177, 0.06591466069221497, 0.0159003883600235, -0.018414951860904694, 0.019664611667394638, 0.01511281169950962, -0.030123354867100716, -0.006968783214688301, 0.10210035741329193, -0.011331361718475819, 0.015045998618006706 ]
[ 0.00004273138620192185, 0.04346765950322151, 0.01796375960111618, 0.0343867763876915, -0.008156944066286087, 0.012455920688807964, -0.020056474953889847, -0.010069960728287697, -0.0005038036033511162, -0.019741283729672432, -0.03643103316426277, 0.03520643711090088, 0.030564147979021072, 0.02846328355371952, 0.016155363991856575, 0.026318246498703957, -0.008470773696899414, -0.021784255281090736, 0.026686163619160652, -0.005045105703175068, -0.021552549675107002, -0.03033251129090786, 0.004586311522871256, -0.02820081263780594, 0.030465291813015938, 0.0027731016743928194, 0.013802966102957726, -0.018858978524804115, 0.019221356138586998, -0.0878867357969284, -0.028292985633015633, -0.039228688925504684, -0.05265401303768158, 0.016863342374563217, 0.002347707049921155, 0.02322583645582199, 0.01702033542096615, 0.04424641653895378, -0.010416131466627121, 0.011239428073167801, 0.0025562483351677656, -0.032983485609292984, -0.006453515030443668, -0.007459069136530161, 0.00922195240855217, 0.009547233581542969, -0.0234129149466753, -0.03583656996488571, 0.012497464194893837, -0.03205608204007149, -0.046747226268053055, -0.05153292790055275, -0.03272870182991028, 0.004811136517673731, 0.03476632013916969, -0.02725129947066307, -0.015312980860471725, -0.01651218719780445, -0.018316874280571938, 0.005379652604460716, 0.02818218618631363, -0.011296299286186695, -0.038614023476839066, -0.029990460723638535, -0.008284369483590126, 0.014088623225688934, -0.0073923696763813496, 0.021799733862280846, -0.03855050355195999, 0.013962708413600922, -0.0238448865711689, 0.04372665286064148, -0.06021781638264656, -0.05217947065830231, -0.01784822903573513, 0.004256563726812601, 0.010226316750049591, -0.011193444952368736, 0.016356172040104866, -0.04161881282925606, 0.022455932572484016, 0.028254304081201553, -0.009533415548503399, 0.04188045114278793, -0.014337115921080112, 0.04400941729545593, -0.0001412994897691533, -0.01621231809258461, 0.006169066298753023, -0.0138856815174222, -0.0384138822555542, 0.03780551254749298, -0.018876299262046814, 0.01848956011235714, -0.0764719545841217, -0.0011640696320682764, -0.012170499190688133, -0.003380898851901293, -0.0023249629884958267, 0.8183556199073792, -0.021254677325487137, -0.02073458768427372, 0.041025929152965546, 0.01206918340176344, -0.0052217114716768265, 0.03326341137290001, 0.008677519857883453, 0.02119550108909607, -0.010793408378958702, 0.013714645989239216, -0.03348997235298157, 0.014275457710027695, -0.020981483161449432, 0.009319906122982502, 0.009107513353228569, -0.01272757351398468, 0.008298292756080627, 0.009183083660900593, -0.03853164613246918, 0.0005447366274893284, 0.018377093598246574, 0.045260608196258545, 0.0015579458558931947, -0.0008706727530807257, -0.004786711186170578, -0.20184414088726044, -0.013131652027368546, -6.59934724305522e-33, 0.07551157474517822, 0.012310628779232502, 0.04693806171417236, 0.026350419968366623, -0.00023175748356152326, 0.02457691729068756, -0.005463453941047192, 0.02184959128499031, -0.038373030722141266, -0.004205827135592699, -0.018462006002664566, 0.0011065296130254865, 0.03493770211935043, -0.01684281975030899, 0.01902458630502224, -0.025999022647738457, -0.002001597546041012, 0.02843860164284706, -0.023433785885572433, 0.004047531634569168, 0.0013880605110898614, 0.022373201325535774, -0.04718097671866417, 0.02595536597073078, 0.005002596881240606, 0.017629362642765045, -0.0010082172229886055, 0.04066171124577522, -0.007036930415779352, -0.05221879482269287, -0.03816802427172661, 0.02091461978852749, -0.014612074941396713, -0.0496949665248394, -0.014778421260416508, -0.0408300943672657, -0.02467353269457817, -0.008383777923882008, -0.04170847684144974, -0.06369925290346146, -0.021155809983611107, 0.020492954179644585, 0.0027251678984612226, -0.023084498941898346, -0.036397114396095276, -0.0039057552348822355, 0.005168574396520853, 0.003270629793405533, -0.021001698449254036, -0.003852487774565816, -0.0005570524372160435, 0.021583102643489838, -0.012111199088394642, 0.06302479654550552, -0.04481995105743408, -0.02787594310939312, 0.0037075139116495848, -0.00374757032841444, -0.01773819327354431, 0.019207343459129333, 0.05162760242819786, 0.004352193791419268, -0.016706334426999092, 0.045530304312705994, 0.027786605060100555, 0.04977700486779213, -0.005406842101365328, -0.0033401045948266983, 0.04564844071865082, 0.03295471891760826, -0.05642670392990112, 0.04672927409410477, -0.0009625673992559314, -0.03314848989248276, 0.017543653026223183, -0.03212447091937065, -0.01900840923190117, 0.010293045081198215, 0.008749661035835743, 0.060077305883169174, -0.03472839668393135, -0.03581732511520386, 0.03104904294013977, -0.020117010921239853, -0.0183615293353796, 0.002136972965672612, 0.04799598455429077, 0.03609022498130798, -0.0019435121212154627, 0.037022914737463, 0.058317746967077255, 0.012452444061636925, 0.009899448603391647, -0.0021288141142576933, 0.004591099917888641, 6.267690328178343e-33, 0.01247157622128725, -0.0019614638295024633, -0.02216583862900734, 0.003833735827356577, 0.060147546231746674, -0.003532096743583679, -0.0004095706681255251, 0.002740170108154416, -0.06767503172159195, 0.053681109100580215, 0.040933553129434586, -0.03859560936689377, -0.008611469529569149, 0.02391398511826992, 0.0668453648686409, -0.005059599410742521, 0.004964780528098345, -0.07999419420957565, 0.0007906224927864969, 0.005181970540434122, -0.0013440402690321207, 0.015153012238442898, -0.0020089109893888235, 0.007569603621959686, 0.043742407113313675, 0.05347730964422226, 0.011845835484564304, -0.015732748433947563, -0.011654194444417953, -0.0047848946414887905, -0.03225596249103546, -0.05188853293657303, -0.017373519018292427, -0.022854046896100044, 0.0024257502518594265, 0.02211986482143402, -0.04317821189761162, -0.016948319971561432, 0.0367860272526741, -0.019329821690917015, 0.017336970195174217, 0.014393894001841545, -0.031554266810417175, 0.08095810562372208, -0.009240278042852879, 0.01625569351017475, -0.0008284912910312414, -0.017156410962343216, -0.01880384050309658, -0.018237441778182983, 0.030532188713550568, 0.017562231048941612, -0.013485768809914589, -0.039838384836912155, 0.02382528781890869, -0.054718948900699615, -0.005293767433613539, 0.027291681617498398, 0.000656365358736366, 0.027748070657253265, -0.0036693820729851723, -0.016309523954987526, -0.004928213078528643, 0.04579339176416397, -0.012592562474310398, -0.006934289820492268, -0.03127944469451904, 0.011177820153534412, 0.017850928008556366, 0.0016121004009619355, -0.017927680164575577, 0.032107457518577576, -0.0065176114439964294, 0.036122892051935196, 0.047087159007787704, -0.0705999881029129, -0.021223103627562523, 0.008143276907503605, -0.014971504919230938, 0.026588093489408493, 0.008419249206781387, 0.021001748740673065, 0.013187171891331673, 0.017996661365032196, -0.009632211178541183, 0.008307437412440777, -0.0010638923849910498, 0.04900757223367691, -0.017356056720018387, -0.003765518544241786, -0.0022607084829360247, -0.011707309633493423, -0.01043793000280857, 0.032674212008714676, -0.029706474393606186, -1.262015292269325e-8, -0.045846182852983475, 0.027401911094784737, -0.013070863671600819, -0.014864083379507065, -0.014748520217835903, 0.01803671568632126, -0.0009790649637579918, 0.026910029351711273, -0.00036961512523703277, 0.03158498555421829, 0.0028652569744735956, -0.0020110730547457933, -0.006891430355608463, 0.009562868624925613, 0.006606954615563154, -0.03614180162549019, 0.017539484426379204, -0.028207067400217056, 0.02957710437476635, 0.005155549384653568, 0.008670283481478691, 0.038006607443094254, -0.07033523917198181, 0.024620698764920235, 0.012586817145347595, -0.009454457089304924, 0.008126542903482914, -0.06956619769334793, -0.0041078305803239346, 0.0053908019326627254, -0.001911394065245986, -0.02157001383602619, -0.029437769204378128, 0.02969028428196907, -0.016203179955482483, -0.029286883771419525, 0.00026783227804116905, 0.024103419855237007, 0.0092057129368186, 0.01584630273282528, -0.004100522957742214, 0.01973198913037777, -0.013530435040593147, -0.02259995974600315, -0.028264127671718597, 0.01692781038582325, -0.0185183547437191, -0.03588616102933884, -0.013642041943967342, -0.048690132796764374, -0.021901113912463188, 0.008823668584227562, 0.006333551835268736, 0.017287027090787888, -0.015898169949650764, -0.012975755147635937, 0.01492397766560316, -0.028156304731965065, -0.027224091812968254, -0.02866022288799286, 0.02746330387890339, -0.015649298205971718, -0.01778946816921234, -0.006559435278177261 ]
neo4j-what-question-do-you-want-to-answer
https://markhneedham.com/blog/2012/05/05/neo4j-what-question-do-you-want-to-answer
false
2012-05-20 19:09:52
Haskell: My first attempt with QuickCheck and HUnit
[ "haskell" ]
[ "Haskell" ]
As I http://www.markhneedham.com/blog/2012/05/16/haskell-writing-a-custom-equality-operator/[mentioned in a blog post a few days] I've started learning QuickCheck with the http://batterseapower.github.com/test-framework/[test-framework] package as suggested by David Turner. I first needed to install test-framework and some dependencies using +++<cite>+++http://www.haskell.org/cabal/[cabal]+++</cite>+++: [source,haskell] ---- > cabal install test-framework > cabal install test-framework-quickcheck > cabal install test-framework-hunit ---- I thought it'd be interesting to try and write some tests around the http://www.markhneedham.com/blog/2012/02/28/haskell-creating-a-sliding-window-over-a-collection/[windowed function that I wrote a few months ago]: +++<cite>+++Windowed.hs+++</cite>+++ [source,haskell] ---- module Windowed (windowed) where windowed :: Int -> [a] -> [[a]] windowed size [] = [] windowed size ls@(x:xs) = if length ls >= size then (take size ls) : windowed size xs else windowed size x ---- I wrote my first property like so: [source,haskell] ---- import Windowed import Test.Framework (defaultMain, testGroup) import Test.Framework.Providers.QuickCheck (testProperty) import Test.QuickCheck main = defaultMain tests tests = [ testGroup "windowed" [ testProperty "should not window if n is bigger than list size" prop_nothing_if_n_too_large ] ] prop_nothing_if_n_too_large n xs = n > length xs ==> windowed n xs == [] ---- And tried to compile the file: [source,text] ---- ghc -package test-framework -package test-framework-quickcheck -threaded WindowedQC.hs -o Windowed ---- Which resulted in this compilation error: [source,text] ---- WindowedQC.hs:16:17: No instance for (QuickCheck-1.2.0.1:Test.QuickCheck.Testable (Gen Prop)) arising from a use of `testProperty' Possible fix: add an instance declaration for (QuickCheck-1.2.0.1:Test.QuickCheck.Testable (Gen Prop)) ---- According to the http://batterseapower.github.com/test-framework/[test-framework home page] this error happens when we have more than one version of QuickCheck installed so we need to tell 'ghc' which one to use: [source,text] ---- ghc -package test-framework -package test-framework-quickcheck -package QuickCheck-1.2.0.1 -threaded WindowedQC.hs -o Windowed ---- That solved the first compilation problem but I still had another: [source,text] ---- WindowedQC.hs:16:17: Ambiguous type variable `a0' in the constraints: (Arbitrary a0) arising from a use of `testProperty' at WindowedQC.hs:12:17-28 (Show a0) arising from a use of `testProperty' at WindowedQC.hs:12:17-28 (Eq a0) arising from a use of `prop_nothing_if_n_too_large' at WindowedQC.hs:12:80-106 Probable fix: add a type signature that fixes these type variable(s) ---- The way to solve this problem is to https://raw.github.com/batterseapower/test-framework/master/example/Test/Framework/Example.lhs[explicitly state which types will be passed to the property] like so: [source,haskell] ---- prop_nothing_if_n_too_large n xs = n > length xs ==> windowed n xs == [] where types = (xs :: [Int], n :: Int) ---- I eventually ended up with the following: +++<cite>+++WindowedQC.hs+++</cite>+++ [source,haskell] ---- import Windowed import Test.Framework (defaultMain, testGroup) import Test.Framework.Providers.QuickCheck (testProperty) import Test.QuickCheck import Test.Framework.Providers.HUnit import Test.HUnit main = defaultMain tests tests = [ testGroup "windowed" [ testProperty "should not window if n is bigger than list size" prop_nothing_if_n_too_large, testProperty "should create sub arrays the size of window" prop_size_of_sub_arrays_is_n, testProperty "should group adjacent items into windows" prop_groups_adjacent_items, testCase "should window a simple list" test_should_window_simple_list ] ] prop_groups_adjacent_items n xs = n < length xs ==> not (null xs) ==> n > 0 ==> (last $ last $ windowed n xs) == last xs where types = (xs :: [Int], n :: Int) prop_nothing_if_n_too_large n xs = n > length xs ==> windowed n xs == [] where types = (xs :: [Int], n :: Int) prop_size_of_sub_arrays_is_n n xs = n > 0 ==> all (\subArray -> length subArray == n) (windowed n xs) where types = (xs :: [Int], n :: Int) test_should_window_simple_list = windowed 2 [1..10] @?= [[1,2], [2,3], [3,4], [4,5], [5,6], [6,7], [7,8], [8,9], [9,10]] ---- I initially only wrote QuickCheck properties but I wasn't satisfied that just passing the properties I've written would guarantee the function is working as expected. The first property does a simple check that the last item from the windowed function is the same as the last item in the list assuming that the list isn't empty, that we're using a positive n value and our window size is smaller than the list size. The second checks that we end up with an empty list if we try to window to a size bigger than the list and the third checks that each of the sub arrays is the correct size. I wasn't sure how to write a QuickCheck property that would test the values of the individual sub arrays so I ended up writing a http://hunit.sourceforge.net/[HUnit] test instead. If you know how I could achieve the same thing using QuickCheck please let me know. We can then run all the tests like so: [source,text] ---- > ./Windowed windowed: should not window if n is bigger than list size: [OK, passed 100 tests] should create sub arrays the size of window: [OK, passed 100 tests] should group adjacent items into windows: [OK, passed 100 tests] should window a simple list: [OK] Properties Test Cases Total Passed 3 1 4 Failed 0 0 0 ----
null
null
[ -0.018006110563874245, 0.009223764762282372, -0.015627769753336906, 0.020985059440135956, 0.07019618153572083, 0.00912956241518259, 0.025719666853547096, 0.038184840232133865, 0.008284586481750011, -0.02946268580853939, -0.01977180503308773, 0.005678034387528896, -0.06923434138298035, -0.016286717727780342, 0.013562126085162163, 0.060310401022434235, 0.07356176525354385, -0.021617092192173004, -0.02376721054315567, 0.0001380088651785627, 0.05200904607772827, 0.07608529180288315, -0.012597325257956982, 0.030263284221291542, 0.031379882246255875, 0.018531249836087227, 0.03602168336510658, 0.00004613084820448421, -0.05274335294961929, -0.005953976884484291, 0.03052239865064621, -0.022733494639396667, -0.014025994576513767, -0.03750837221741676, 0.01809203065931797, 0.012533607892692089, 0.012695877812802792, 0.02257542870938778, 0.0016769770300015807, 0.011213140562176704, -0.038038793951272964, 0.0060255699791014194, -0.002728732768446207, 0.020761067047715187, -0.06257587671279907, 0.0015676887705922127, -0.026855966076254845, 0.008123507723212242, -0.035703375935554504, -0.02135329879820347, -0.05146529898047447, 0.030268000438809395, -0.030691079795360565, -0.016752377152442932, 0.016635984182357788, 0.06233195587992668, 0.005077927373349667, -0.08572950214147568, 0.044086337089538574, -0.03890956565737724, 0.0034355686511844397, -0.015044446103274822, 0.02540019154548645, 0.05886955186724663, 0.02130698226392269, -0.013602925464510918, -0.01637132093310356, 0.03589877486228943, -0.05254648998379707, -0.009024295024573803, -0.014290254563093185, 0.02796044759452343, -0.024885021150112152, -0.01633680798113346, 0.008274110034108162, -0.03614461049437523, -0.027911340817809105, 0.06371746212244034, 0.011898413300514221, 0.011011242866516113, 0.010399838909506798, 0.024294916540384293, 0.04082285612821579, 0.03258060663938522, -0.015530743636190891, -0.01089450716972351, -0.020399905741214752, 0.005007678642868996, -0.05133169889450073, 0.09023074805736542, 0.018055051565170288, -0.042948197573423386, 0.010280407965183258, 0.015070442110300064, 0.0012965421192348003, 0.010625275783240795, 0.013445349410176277, 0.018788471817970276, 0.03401101753115654, 0.005121501162648201, -0.028614945709705353, -0.033417958766222, 0.03910679370164871, -0.01073446124792099, -0.08938933908939362, 0.0026685649063438177, -0.03384721651673317, -0.013855730183422565, -0.011747115291655064, 0.021514151245355606, -0.016132786870002747, 0.030938513576984406, 0.0015689971623942256, 0.018885228782892227, -0.09083517640829086, 0.050979241728782654, 0.01055880356580019, -0.01851421780884266, 0.0084123769775033, 0.03014425002038479, 0.035592738538980484, 0.02354474365711212, -0.000618369784206152, 0.07399463653564453, 0.02828848734498024, 0.06511571258306503, -0.002934355055913329, 0.06732035428285599, -0.010161531157791615, -0.08118299394845963, -0.012052942998707294, 0.0722898617386818, -0.016230450943112373, 0.014849052764475346, -0.0180418249219656, -0.012796502560377121, -0.03374123200774193, -0.0062639107927680016, 0.04712635651230812, 0.05913786590099335, -0.0016874601133167744, -0.055610958486795425, 0.03137100487947464, -0.010348648764193058, 0.008807027712464333, 0.023998770862817764, 0.015198038890957832, -0.009453036822378635, -0.034695062786340714, 0.032404571771621704, 0.011807444505393505, 0.04937896877527237, 0.05767592042684555, -0.016270413994789124, 0.027472862973809242, 0.06558164954185486, 0.03307979181408882, -0.014748858287930489, -0.018193911761045456, 0.005860710982233286, 0.034278951585292816, 0.031338926404714584, 0.027779756113886833, 0.03789403662085533, -0.015704168006777763, 0.014526539482176304, -0.011588004417717457, 0.020156558603048325, -0.007004996296018362, 0.00013285651220940053, -0.0432036891579628, -0.05890704318881035, 0.04274540767073631, -0.015203075483441353, -0.01607072912156582, 0.020455488935112953, 0.08348415046930313, 0.00920791458338499, 0.04429161548614502, 0.011335352435708046, -0.08214195817708969, 0.014149932190775871, 0.006700737867504358, 0.047939497977495193, 0.023460865020751953, -0.014595136977732182, 0.06541668623685837, 0.01951375976204872, -0.02509634755551815, -0.006395183969289064, -0.05064605548977852, -0.05897011235356331, -0.022099073976278305, -0.024378100410103798, 0.07099425047636032, -0.019153127446770668, -0.03897551819682121, 0.08071862906217575, 0.015257301740348339, 0.02209789864718914, 0.027433261275291443, 0.003225326770916581, 0.01811131276190281, -0.045556262135505676, -0.03772292286157608, 0.06181902438402176, 0.01931215636432171, -0.006106900982558727, -0.06984028220176697, -0.010215544141829014, -0.006127806846052408, 0.004120212979614735, 0.04766492545604706, 0.009963329881429672, 0.03643215820193291, 0.032994940876960754, 0.04153851419687271, 0.009600129909813404, 0.07050818204879761, -0.031165627762675285, 0.035244978964328766, 0.008138327859342098, -0.002958412514999509, -0.028220757842063904, -0.02122299000620842, 0.1047995537519455, 0.06673283129930496, -0.06251735985279083, -0.04440431669354439, 0.010542511940002441, 0.00650751730427146, -0.025905495509505272, 0.011675907298922539, 0.027977801859378815, -0.01170932874083519, -0.007081289775669575, -0.007090671453624964, -0.0020308964885771275, 0.016094788908958435, -0.02529299072921276, 0.014676786959171295, 0.06900756061077118, -0.02283916249871254, 0.04901980608701706, 0.00013800087617710233, -0.04776344075798988, 0.00113903998862952, -0.0341993123292923, -0.07027985155582428, -0.010776964016258717, 0.04370211437344551, -0.005900399759411812, 0.056685954332351685, -0.05311314016580582, -0.029148012399673462, -0.0066030374728143215, -0.027226898819208145, 0.035199277102947235, 0.04768706485629082, 0.07006242126226425, -0.017148319631814957, 0.03589741885662079, 0.0029294348787516356, 0.0076503814198076725, -0.0002585368638392538, -0.03719225525856018, -0.02868475206196308, -0.013104268349707127, 0.008768245577812195, 0.028033236041665077, 0.01564953662455082, 0.017444606870412827, -0.0039595612324774265, -0.003742137225344777, 0.010986438021063805, 0.0059267799369990826, 0.02040165290236473, 0.002737152623012662, -0.032349810004234314, -0.051074109971523285, -0.030154142528772354, 0.07333890348672867, -0.028777630999684334, -0.01842469722032547, 0.042065203189849854, -0.04057277739048004, 0.035728152841329575, -0.10220260918140411, -0.03447419032454491, 0.0033951527439057827, 0.013219539076089859, 0.041627321392297745, -0.0194182600826025, 0.013414634391665459, 0.043508488684892654, 0.04208682104945183, 0.024974875152111053, 0.033962320536375046, 0.0012521189637482166, 0.022350775077939034, 0.008551158010959625, 0.028495987877249718, 0.03249545767903328, 0.0005227804067544639, 0.022754915058612823, -0.03662601485848427, -0.019675379619002342, -0.028585020452737808, -0.29966917634010315, 0.04675937071442604, 0.0011019259691238403, -0.038211144506931305, 0.025153953582048416, -0.00900354329496622, 0.004498100373893976, -0.04152930900454521, -0.022018183022737503, 0.05061258375644684, -0.052095308899879456, -0.04506801813840866, -0.029964545741677284, 0.05636267736554146, -0.004289844539016485, 0.030495138838887215, 0.001151295960880816, -0.03477004915475845, 0.005187129136174917, 0.03882263973355293, -0.00026653186068870127, -0.07737571746110916, -0.0048220292665064335, 0.042434293776750565, 0.03243754431605339, 0.0511583611369133, -0.08219154924154282, 0.06815288960933685, -0.0488753579556942, -0.025571390986442566, 0.012350291945040226, -0.027406081557273865, -0.0006533987470902503, -0.018120450899004936, -0.023798072710633278, -0.006202335935086012, 0.015012619085609913, -0.0010783298639580607, 0.00000903965064935619, 0.02154376544058323, -0.02214214578270912, -0.031311288475990295, 0.0010629238095134497, -0.011107994243502617, 0.08848439157009125, -0.00661014998331666, -0.07808113098144531, -0.03689146414399147, -0.044707972556352615, 0.05569097027182579, -0.03784745931625366, -0.04364501312375069, -0.020970171317458153, 0.04356811195611954, -0.012003598734736443, -0.009323212318122387, -0.004916242323815823, -0.030081916600465775, -0.05641806870698929, -0.03645849972963333, -0.03482938930392265, -0.011401745490729809, -0.027923254296183586, -0.03405606374144554, -0.006899666972458363, -0.06164705753326416, -0.0595749206840992, -0.007535731885582209, 0.04516593739390373, -0.004234923515468836, -0.02597576007246971, -0.04813987761735916, -0.010825368575751781, -0.10590210556983948, -0.0332258976995945, -0.037831056863069534, -0.01703057438135147, -0.02673862688243389, -0.0034176676999777555, 0.0487653948366642, -0.04406958073377609, -0.049784157425165176, 0.030585428699851036, -0.02577926032245159, 0.03245600312948227, 0.017306100577116013, -0.004957847762852907, 0.015211885794997215, -0.021922744810581207, -0.009631204418838024, 0.04680078104138374, -0.035216741263866425, -0.018165195360779762, 0.001123347319662571, -0.0017104700673371553, 0.012330322526395321, -0.014534400776028633, -0.01665763556957245, 0.036109331995248795, 0.026429321616888046, 0.026986470445990562, -0.03952230140566826, 0.009649405255913734, -0.05283111333847046, -0.021054277196526527, -0.0011985531309619546, -0.0683988481760025, 0.028369517996907234, 0.038297008723020554, 0.031123222783207893, -0.0221027210354805, -0.022484946995973587, -0.0075943488627672195, -0.059424035251140594, -0.05157606676220894, -0.013011466711759567, 0.0005328295519575477, 0.017046723514795303, -0.017124172300100327, 0.012240787968039513, -0.05098117142915726, -0.008892014622688293, -0.005031206179410219, -0.04035794734954834, -0.05559048801660538, -0.010333307087421417, -0.0029487553983926773, -0.015022358857095242, 0.011988635174930096, 0.021774129942059517, -0.03305693343281746, 0.025738118216395378, 0.039629533886909485, -0.024083364754915237, 0.028768349438905716, -0.03604254499077797, -0.06206073239445686, -0.0056250556372106075, 0.010190161876380444, -0.007516944780945778, -0.014785109087824821, -0.016048243269324303, 0.03598633408546448, 0.01845342293381691, 0.0456044003367424, -0.009090903215110302, 0.017051734030246735, 0.013639891520142555, -0.02141636610031128, 0.017090093344449997, 0.025968799367547035, -0.021642286330461502, 0.035381242632865906, -0.019601382315158844, -0.06016375496983528, 0.004345315042883158, 0.05116280913352966, 0.0052515664137899876, -0.049196597188711166, -0.08066198974847794, -0.00034168094862252474, -0.058185648173093796, -0.03597956523299217, -0.021831519901752472, 0.02332250587642193, 0.08638613671064377, -0.009639391675591469, 0.050983186811208725, -0.03557461127638817, -0.007181187160313129, 0.00041851872811093926, 0.050761397927999496, -0.034156087785959244, 0.01947442628443241, -0.005987470503896475, -0.0028178109787404537, 0.004233419895172119, -0.0011811737203970551, 0.04158225283026695, 0.016739657148718834, 0.0028324713930487633, -0.024452168494462967, 0.014091054908931255, 0.009747788310050964, 0.027993660420179367, 0.015604768879711628, -0.01074716355651617, 0.020897280424833298, -0.037525344640016556, -0.033583346754312515, -0.026237841695547104, 0.018966786563396454, -0.007829437963664532, 0.033729370683431625, -0.03533486649394035, -0.09439919888973236, 0.0014921952970325947, 0.03906421363353729, 0.005593783222138882, 0.014953787438571453, -0.01735752262175083, -0.029388174414634705, -0.013347619213163853, 0.03741240128874779, 0.06387016922235489, -0.05587855726480484, 0.006212675478309393, -0.026059523224830627, 0.022644301876425743, 0.012259175069630146, -0.0002675399009604007, -0.06563101708889008, -0.007997088134288788, -0.008105642162263393, -0.027978843078017235, -0.022043496370315552, -0.01807555928826332, -0.01608511619269848, -0.012926352210342884, -0.02230214513838291, -0.024592304602265358, -0.0002951362985186279, 0.020000813528895378, -0.014194786548614502, -0.022108202800154686, -0.009308175183832645, -0.024214593693614006, -0.025915920734405518, 0.05255318433046341, -0.041166678071022034, 0.039803992956876755, -0.008759591728448868, 0.029036054387688637, 0.04082110896706581, 0.0019713377114385366, -0.0003064471820835024, -0.0498320646584034, -0.0073286606930196285, -0.022666139528155327, 0.019902752712368965, 0.009759116917848587, 0.008630183525383472, 0.0019641409162431955, 0.014413752593100071, -0.062114372849464417, -0.024409538134932518, 0.008717705495655537, -0.027441849932074547, 0.03357541561126709, 0.04001157730817795, -0.056954093277454376, 0.017030326649546623, 0.004475376568734646, -0.020358365029096603, 0.04197357967495918, -0.05250273644924164, -0.029177160933613777, -0.036529529839754105, -0.04332982376217842, 0.02111680805683136, -0.004596908576786518, 0.017115361988544464, -0.05627790093421936, 0.04003037512302399, 0.04410453140735626, 0.03887726739048958, 0.04563237726688385, -0.004467142280191183, 0.02997208572924137, -0.04304555803537369, -0.019656460732221603, -0.09599966555833817, -0.017326977103948593, 0.011281442828476429, -0.028427181765437126, -0.02898581512272358, 0.0003670282894745469, -0.03392186388373375, 0.0833079069852829, -0.038217201828956604, -0.024806726723909378, 0.029863974079489708, 0.014433661475777626, 0.0007039017509669065, 0.014568869024515152, -0.03237731754779816, 0.02538304775953293, 0.02100382000207901, -0.019139552488923073, -0.012102772481739521, -0.025958167389035225, 0.03577938675880432, 0.0016626793658360839, 0.006507437210530043, -0.01906394585967064, -0.004024792928248644, 0.06739608943462372, 0.033446308225393295, 0.05084821209311485, 0.027939826250076294, -0.006051001604646444, 0.011250880546867847, 0.0092488843947649, 0.031611520797014236, -0.0008225072524510324, 0.0015339129604399204, -0.024336930364370346, -0.04753595590591431, 0.03849656134843826, -0.0030708457343280315, 0.00046861579176038504, -0.04660150408744812, 0.027982743456959724, 0.019635625183582306, -0.013898123987019062, -0.043474335223436356, 0.0135860126465559, -0.04256158322095871, -0.00772502226755023, -0.008590198121964931, -0.0036455325316637754, -0.025606639683246613, 0.05298062041401863, -0.005993944592773914, 0.010246113874018192, 0.08051282912492752, -0.016746068373322487, -0.010256917215883732, 0.011471718549728394, 0.0740087702870369, 0.0762096419930458, 0.040478259325027466, 0.006622175220400095, 0.06015860289335251, -0.04458867758512497, -0.05590328946709633, 0.022351961582899094, -0.025809813290834427, 0.004299152176827192, -0.017578495666384697, 0.008240007795393467, 0.08168552815914154, -0.016474321484565735, 0.06300888955593109, -0.013694237917661667, 0.036464624106884, -0.025029517710208893, 0.030534395948052406, 0.028215134516358376, 0.0908762738108635, 0.0015850708587095141, 0.031146900728344917, -0.012851747684180737, -0.060958076268434525, 0.01589180901646614, -0.02138570509850979, 0.013896106742322445, 0.0072234319522976875, -0.006310592405498028, -0.0035535471979528666, 0.036494407802820206, 0.01568937860429287, 0.0594281405210495, -0.0049088080413639545, 0.003755807876586914, 0.01869042031466961, 0.004235091619193554, 0.027849093079566956, -0.027445988729596138, -0.044494617730379105, -0.025111649185419083, -0.013317238539457321, -0.013521739281713963, -0.0008197909919545054, -0.004098150879144669, -0.018711064010858536, 0.028814367949962616, -0.02678462490439415, 0.02370300702750683, 0.020056774839758873, -0.0031868773512542248, -0.023789329454302788, -0.057019419968128204, -0.03977043554186821, -0.037581875920295715, -0.05928202345967293, 0.032297734171152115, -0.025102104991674423, -0.022542273625731468, -0.011721236631274223, -0.02379835955798626, 0.007627787068486214, -0.009303538128733635, 0.022034551948308945, -0.016407784074544907, -0.05555697903037071, 0.004805350210517645, -0.010297263041138649, 0.017102589830756187, 0.03264734894037247, 0.06379161030054092, -0.016530001536011696, 0.005303067155182362, -0.04901428520679474, 0.0013517371844500303, 0.04077265039086342, 0.009904561564326286, 0.04538479447364807, -0.05859687924385071, -0.0013383182231336832, 0.012889618054032326, 0.03459823504090309, -0.07153142988681793, 0.008620146661996841, 0.03588319942355156, -0.01801646500825882, 0.024249188601970673, -0.007960029877722263, 0.022784484550356865, -0.007733902428299189, -0.027401305735111237, 0.019572721794247627, 0.04285702481865883, 0.03971842676401138, -0.017772499471902847, 0.07532858848571777, 0.0007699563284404576, -0.013906431384384632, -0.035740382969379425, -0.002388790249824524, -0.018217504024505615, 0.020865876227617264, -0.024508601054549217, -0.03672798350453377, -0.061340950429439545, -0.05401092395186424, 0.003453379962593317, -0.025865305215120316, -0.041151609271764755, -0.023154351860284805, -0.009419979527592659, 0.02059176377952099, -0.06262175738811493, 0.046209726482629776, -0.05201025307178497, 0.011293333023786545, -0.018893945962190628, -0.04234203323721886, 0.03180772811174393, 0.056212715804576874, 0.02975555695593357, 0.013088181614875793, 0.048858292400836945, -0.05666917562484741, -0.018369581550359726, 0.012622281908988953, 0.02189508266746998, 0.007255847565829754, -0.031181223690509796, -0.0017369636334478855 ]
[ -0.13101793825626373, 0.013525408692657948, -0.018205534666776657, -0.0016858354210853577, -0.008092313073575497, -0.023538440465927124, -0.015832679346203804, 0.025020238012075424, 0.008963617496192455, -0.03673788160085678, -0.0027146872598677874, -0.06061681732535362, 0.005983713082969189, 0.0021690446883440018, 0.08887190371751785, -0.0073712971061468124, -0.0013639975804835558, -0.039684146642684937, -0.037555672228336334, 0.019613998010754585, 0.010324227623641491, -0.026550129055976868, -0.042681735008955, -0.04853704944252968, 0.00611984683200717, 0.05437607690691948, 0.03724805638194084, -0.023131566122174263, 0.0007247905596159399, -0.22885282337665558, -0.01769028976559639, -0.02852734550833702, 0.035861317068338394, -0.060598403215408325, 0.026654528453946114, 0.0540788434445858, -0.029329592362046242, -0.008741410449147224, -0.009739936329424381, 0.042506564408540726, 0.04621630907058716, 0.04705407842993736, -0.02160397730767727, 0.014104088768362999, 0.03576258197426796, -0.0199230145663023, -0.03032945841550827, -0.017772532999515533, -0.022951310500502586, 0.021267475560307503, -0.0754721462726593, -0.02277381345629692, 0.019247697666287422, -0.017381474375724792, -0.0038282640744000673, 0.008937396109104156, 0.06585048139095306, 0.07358607649803162, 0.03240501880645752, 0.001249971566721797, -0.021484404802322388, -0.018391963094472885, -0.1273806393146515, 0.11444857716560364, 0.00008668391092214733, 0.052346449345350266, -0.030581209808588028, -0.05682211369276047, -0.00881841778755188, 0.08983203768730164, 0.02195555530488491, -0.022422557696700096, -0.020937155932188034, 0.07721340656280518, -0.0001353327970718965, -0.02078094705939293, -0.0032328921370208263, 0.026414500549435616, 0.0763426348567009, -0.025042463093996048, -0.03466123342514038, -0.049408208578825, -0.00903484970331192, -0.025770653039216995, -0.021494185552001, 0.007152052596211433, -0.038537316024303436, 0.06482592970132828, 0.03660503774881363, -0.005756287835538387, 0.04217103123664856, -0.03779979795217514, 0.029920129105448723, 0.006071778945624828, -0.07149626314640045, -0.0013892475981265306, 0.0012611609417945147, 0.02473992295563221, -0.06626265496015549, 0.39378657937049866, -0.015180683694779873, 0.009854023344814777, 0.05230550840497017, 0.04803090542554855, -0.008737328462302685, 0.03046403080224991, -0.015328064560890198, -0.04238322004675865, -0.013510598801076412, -0.03974679484963417, -0.013229655101895332, 0.0011027883738279343, 0.0950053483247757, -0.07134553790092468, 0.01589207723736763, -0.017241764813661575, 0.05402453616261482, 0.009516618214547634, 0.012862913310527802, 0.012036439031362534, 0.0005371026927605271, -0.008077417500317097, 0.017100322991609573, 0.00625655148178339, 0.009673351421952248, 0.0005087926401756704, -0.003660075133666396, 0.03385228291153908, -0.007403298746794462, 0.0585709773004055, 0.029060862958431244, -0.033316709101200104, -0.04567969590425491, -0.006656105630099773, 0.01767195574939251, 0.002254226477816701, 0.030521925538778305, -0.020161040127277374, 0.04730873182415962, 0.002409599721431732, -0.025855030864477158, -0.026310618966817856, 0.03928062319755554, 0.02618534490466118, -0.022781087085604668, 0.09208551049232483, 0.0025765709578990936, -0.01026952639222145, -0.023060087114572525, -0.03319147974252701, 0.008145475760102272, 0.04783088341355324, -0.013583183288574219, -0.06283558905124664, 0.03064376674592495, 0.011755385436117649, 0.04344071447849274, -0.004096821881830692, -0.05651511251926422, 0.016067812219262123, -0.03250543773174286, -0.004939721897244453, -0.028673596680164337, 0.01842437870800495, -0.009080151095986366, -0.08168904483318329, -0.044992271810770035, 0.02687165141105652, 0.024962812662124634, -0.07782723754644394, 0.01896807923913002, 0.011059211567044258, -0.06009475886821747, 0.004853617399930954, 0.024257659912109375, -0.02958950772881508, -0.035808492451906204, 0.03438920900225639, 0.0069097960367798805, 0.03532976657152176, 0.02453804574906826, 0.014125370420515537, -0.05902419611811638, 0.018003348261117935, -0.0066849831491708755, -0.06071964651346207, -0.04065359756350517, -0.034357450902462006, 0.00019875804719049484, -0.019642196595668793, -0.003960527945309877, 0.0051063415594398975, -0.08287660032510757, 0.05212071165442467, -0.017734786495566368, -0.01609070412814617, 0.012439393438398838, -0.009185866452753544, -0.021152393892407417, -0.0053196377120912075, 0.025373313575983047, 0.05805276706814766, 0.002192543586716056, 0.019531898200511932, -0.11027567088603973, 0.020813636481761932, 0.035213179886341095, -0.07052140682935715, 0.09509726613759995, 0.01547513622790575, -0.017647314816713333, -0.025341929867863655, -0.039091557264328, 0.02333843521773815, -0.005677469540387392, -0.034918297082185745, -0.01419697143137455, -0.010718777775764465, 0.04218342900276184, 0.02907232940196991, -0.018548626452684402, -0.0380014106631279, -0.04631490260362625, -0.3610509932041168, -0.04906472936272621, -0.04220162704586983, 0.003217320656403899, -0.0013883139472454786, -0.0975048616528511, 0.006990640889853239, 0.02205432765185833, -0.027797525748610497, 0.0358990877866745, 0.08131780475378036, -0.009824632667005062, -0.0015918816206976771, -0.07137157768011093, 0.012212758883833885, 0.018519315868616104, -0.021605413407087326, -0.028857354074716568, -0.02543146163225174, 0.02163691446185112, -0.021839849650859833, -0.004982739221304655, -0.028453197330236435, -0.05928986892104149, 0.007354480680078268, -0.06287916749715805, 0.11177859455347061, -0.003040707902982831, 0.07799503207206726, -0.048962756991386414, 0.07142139971256256, 0.0017440824303776026, 0.017576826736330986, -0.0701403021812439, -0.001954674953594804, -0.010404129512608051, -0.026907972991466522, -0.0023621174041181803, 0.017174459993839264, -0.021982165053486824, -0.024617159739136696, 0.01749228872358799, -0.031389057636260986, -0.058977510780096054, -0.021981602534651756, 0.017962660640478134, -0.017299897968769073, -0.023298848420381546, -0.013220392167568207, 0.06218744441866875, 0.016373412683606148, 0.021667534485459328, 0.008867118507623672, 0.031323935836553574, 0.00009995826985687017, -0.017318448051810265, -0.04702842980623245, -0.028092574328184128, -0.014690397307276726, -0.02943282015621662, 0.06451836973428726, 0.0507284440100193, 0.036327868700027466, -0.03541123867034912, -0.00977419689297676, 0.014248587191104889, -0.005157835781574249, -0.043013643473386765, 0.017103178426623344, 0.010165543295443058, -0.03291076049208641, 0.061727359890937805, -0.025906763970851898, 0.009591142646968365, 0.06061924248933792, 0.06637327373027802, 0.004861703608185053, 0.05699605122208595, 0.06411601603031158, -0.01133236289024353, 0.021663030609488487, 0.0033620684407651424, 0.020074686035513878, -0.03678261861205101, -0.0054558818228542805, 0.02091001346707344, -0.021891115233302116, 0.03202376142144203, 0.060081396251916885, 0.004130138084292412, -0.016010906547307968, 0.06429746747016907, 0.024588987231254578, -0.034249115735292435, 0.05489356443285942, 0.0017380608478561044, -0.25421643257141113, 0.04555528983473778, 0.03400322422385216, 0.008207901380956173, -0.025646336376667023, 0.014585187658667564, 0.008620298467576504, -0.08087677508592606, -0.021850192919373512, -0.031183432787656784, 0.008931026794016361, 0.05782219395041466, 0.04256655275821686, 0.012399442493915558, 0.02885223925113678, -0.023614471778273582, 0.06427767872810364, 0.002394573064520955, 0.01289332564920187, -0.006246954668313265, 0.03569074720144272, -0.019325539469718933, 0.2080458551645279, 0.0127667635679245, -0.0009093839325942099, 0.043352529406547546, 0.00749062979593873, -0.01823364570736885, 0.06804228574037552, 0.014858836308121681, 0.029927143827080727, -0.0022557394113391638, 0.044134799391031265, -0.03331795707345009, 0.03197430074214935, -0.022978777065873146, -0.009187067858874798, 0.005996947642415762, 0.0256717000156641, -0.0014057873049750924, -0.0074554081074893475, 0.005886168219149113, -0.010741683654487133, 0.035130877047777176, 0.06591366976499557, -0.0016590601298958063, 0.02046380005776882, -0.043625302612781525, -0.09136848896741867, 0.025930481031537056, -0.007490475196391344, -0.016919348388910294, -0.003293478861451149, -0.009892656467854977, 0.026507023721933365, 0.04338187724351883, 0.022883325815200806, -0.04265456274151802, -0.0008012783364392817, 0.011027415283024311, 0.0232206042855978, -0.013623757287859917, 0.12364336848258972, 0.014572303742170334, 0.05386319383978844 ]
[ -0.0022323501762002707, 0.0342959389090538, -0.02606935240328312, 0.07252319902181625, -0.020397301763296127, -0.004809202626347542, 0.03482929617166519, 0.030696682631969452, -0.021152066066861153, -0.020261136814951897, -0.004168287385255098, -0.0037521328777074814, 0.027535514906048775, -0.01172692235559225, 0.003807446686550975, -0.00397382490336895, 0.013628294691443443, -0.0032189502380788326, 0.00193764956202358, -0.034597739577293396, -0.02767440304160118, 0.029650261625647545, 0.025931453332304955, 0.04397054389119148, 0.0068793268874287605, 0.007601468358188868, -0.05155024304986, -0.0036179800517857075, 0.024470258504152298, -0.11399000883102417, -0.026973649859428406, -0.0041015297174453735, 0.017519330605864525, -0.02137032523751259, -0.00944565236568451, 0.04939766973257065, 0.025607112795114517, 0.0056218369863927364, -0.02097187377512455, -0.03229533135890961, -0.014980279840528965, -0.010012105107307434, 0.006100188475102186, 0.01016778964549303, -0.030143337324261665, 0.012154524214565754, 0.022852901369333267, 0.004420887678861618, -0.005397702567279339, 0.013932960107922554, -0.05252303183078766, 0.010990520007908344, 0.009365895763039589, 0.0032784235663712025, 0.02119423635303974, -0.0020642762538045645, -0.022997640073299408, -0.04502502456307411, 0.0012149197282269597, 0.00460119778290391, -0.05009526014328003, 0.018017031252384186, -0.06267447769641876, -0.008039814420044422, -0.02662169188261032, 0.013861934654414654, -0.008191663771867752, -0.0003599889751058072, -0.003473122138530016, -0.004782498814165592, -0.01070493459701538, 0.008152652531862259, -0.032021693885326385, -0.012693280354142189, -0.0048981099389493465, 0.0021806806325912476, 0.06165850907564163, 0.000074392395617906, 0.019519321620464325, -0.02834082581102848, -0.0209808386862278, -0.01218730490654707, 0.013823169283568859, 0.047914210706949234, 0.0036372076719999313, -0.003142069559544325, 0.010008681565523148, 0.01662059873342514, 0.031242817640304565, -0.01887507736682892, -0.0049308412708342075, 0.021810024976730347, 0.03782711923122406, 0.020284011960029602, -0.03832673281431198, 0.0156012624502182, 0.006995372474193573, -0.00015565058856736869, -0.0456533282995224, 0.8168734312057495, 0.01123932097107172, 0.047673825174570084, 0.0340564101934433, 0.028171857818961143, -0.0039581856690347195, -0.001865142723545432, -0.0014496000949293375, -0.0024799236562103033, 0.030411427840590477, -0.06656564772129059, 0.035049788653850555, -0.01739608682692051, 0.06559093296527863, 0.021731087937951088, 0.011417576111853123, -0.0027970783412456512, -0.020813243463635445, -0.023507853969931602, -0.010829072445631027, -0.003627748228609562, -0.0055516245774924755, -0.033949680626392365, -0.006655453238636255, 0.0200754776597023, 0.05586015060544014, -0.18215464055538177, -0.014258095994591713, -7.492064672843698e-33, 0.046875111758708954, -0.020945454016327858, 0.02071950025856495, 0.007236415520310402, 0.042677510529756546, 0.017013181000947952, 0.04361945763230324, 0.002294277772307396, -0.0383535735309124, 0.017722010612487793, 0.04104414954781532, -0.0043183970265090466, -0.051545582711696625, -0.006923234090209007, 0.03886047750711441, 0.00020329898688942194, -0.0030670897103846073, 0.025881316512823105, -0.023974979296326637, 0.021664656698703766, -0.01411569956690073, 0.04021574184298515, -0.015397934243083, 0.008613171055912971, 0.01717238314449787, 0.04134772717952728, 0.02450111322104931, 0.01045182067900896, 0.005791883450001478, -0.03842824697494507, -0.06732747703790665, 0.031233996152877808, -0.008036906830966473, -0.005888727493584156, -0.009157823398709297, -0.032684389501810074, -0.0006823923904448748, 0.01160915195941925, -0.010531502775847912, 0.02870408445596695, -0.036849405616521835, 0.016077429056167603, -0.026528500020503998, -0.045115839689970016, -0.012520181015133858, -0.03958897665143013, 0.008614679798483849, 0.031744394451379776, 0.022727910429239273, 0.052380744367837906, 0.04595806822180748, 0.03141903132200241, -0.015337053686380386, 0.01589166931807995, -0.042814359068870544, 0.024625493213534355, -0.013014615513384342, 0.03445602208375931, 0.016847806051373482, 0.058353159576654434, -0.027612118050456047, 0.007766776252537966, 0.000015084596270753536, 0.057258691638708115, -0.017656778916716576, -0.03996748849749565, -0.016961274668574333, -0.043737683445215225, -0.021976258605718613, 0.04986455291509628, -0.04131730645895004, -0.004029654432088137, -0.02171214111149311, -0.03341851010918617, 0.03666960075497627, -0.05936998128890991, -0.02303444594144821, -0.02924378402531147, -0.001771291601471603, 0.015990998595952988, 0.005711196921765804, -0.02420908771455288, 0.014319825917482376, -0.018621433526277542, -0.02215956337749958, -0.030948901548981667, 0.029891598969697952, 0.005002866964787245, -0.032149288803339005, -0.027801331132650375, -0.015201748348772526, 0.028089739382267, 0.025444060564041138, 0.0020246494095772505, 0.0026940633542835712, 7.71925393539506e-33, -0.009038152173161507, -0.04045521467924118, 0.018830986693501472, 0.01948545128107071, -0.01364295557141304, 0.027806347236037254, 0.03509727492928505, -0.012376713566482067, -0.009864509105682373, 0.03449508920311928, -0.0075264279730618, 0.030955316498875618, -0.02857229858636856, 0.019991235807538033, 0.05990453436970711, -0.008507403545081615, 0.017053594812750816, -0.03211357444524765, 0.002895163372159004, -0.010045421309769154, 0.02896958962082863, 0.008360585197806358, 0.006369183771312237, 0.018204666674137115, 0.03534264490008354, 0.02967638149857521, -0.013733395375311375, 0.038908883929252625, 0.013158435933291912, 0.006894941907376051, -0.03050214610993862, -0.012942303903400898, -0.008672342635691166, -0.01955302804708481, 0.023785309866070747, 0.019642187282443047, 0.01623663119971752, 0.010201619006693363, 0.008354541845619678, 0.025408558547496796, 0.010460132732987404, -0.020540649071335793, 0.02698434703052044, 0.02700113132596016, 0.004055017605423927, 0.013971789740025997, -0.01564846560359001, -0.012644841335713863, 0.039339784532785416, 0.040531452745199203, 0.017755959182977676, -0.014662940055131912, 0.0186956524848938, 0.051230091601610184, -0.010000466369092464, -0.023633895441889763, -0.006212419830262661, 0.003533680224791169, -0.03418336063623428, -0.02913484163582325, -0.036656808108091354, -0.0036368113942444324, -0.031026948243379593, -0.005400964990258217, -0.029096465557813644, -0.016546424478292465, -0.06329967826604843, -0.053246624767780304, 0.025281202048063278, -0.008401133120059967, -0.03892732784152031, -0.0353296659886837, -0.01584584452211857, 0.03187301382422447, -0.00888378731906414, 0.005976027809083462, 0.0005309151601977646, -0.026929039508104324, 0.016809793189167976, -0.001696940278634429, 0.03731950372457504, -0.021418998017907143, 0.06944023817777634, -0.03136260434985161, -0.03272123634815216, -0.0050792330875992775, 0.027152247726917267, 0.039335329085588455, 0.044660527259111404, 0.024920517578721046, -0.009138590656220913, -0.034860722720623016, 0.03917727246880531, -0.012756617739796638, -0.008205264806747437, -1.2872506616190549e-8, -0.04720452427864075, -0.04077087715268135, -0.05015935003757477, 0.019506225362420082, -0.03165891766548157, 0.015469036065042019, -0.037419699132442474, -0.03867243975400925, -0.0341072715818882, -0.002272580983117223, 0.0410604327917099, 0.002898144768550992, -0.004574716091156006, 0.017218472436070442, 0.021317102015018463, -0.04342516139149666, 0.026403136551380157, -0.02053404040634632, 0.012146885506808758, 0.008037135004997253, -0.00019147533748764545, 0.016055656597018242, 0.028197359293699265, 0.008190046064555645, -0.03664662688970566, -0.013380922377109528, 0.024692431092262268, -0.10098402202129364, -0.011088467203080654, 0.03322384133934975, -0.023540735244750977, -0.03164754807949066, -0.02437770925462246, 0.012750581838190556, -0.029938094317913055, -0.022841839119791985, 0.026744630187749863, 0.02268325351178646, 0.041980598121881485, -0.00019145439728163183, -0.014061994850635529, -0.011607781052589417, -0.0217661801725626, -0.03174714371562004, -0.03698597848415375, -0.033309612423181534, -0.014476022683084011, -0.035789310932159424, 0.03702900558710098, -0.021013010293245316, 0.03005964495241642, 0.02011778950691223, 0.02722010388970375, -0.02155887335538864, 0.013785072602331638, 0.04689665883779526, 0.023742077872157097, -0.032282762229442596, -0.026111310347914696, -0.014784025959670544, 0.01862609200179577, 0.033402662724256516, 0.007007142528891563, -0.0285815242677927 ]
haskell-my-first-attempt-with-quickcheck-and-hunit
https://markhneedham.com/blog/2012/05/20/haskell-my-first-attempt-with-quickcheck-and-hunit
false
2012-05-27 22:16:38
Haskell: Debugging code
[ "haskell" ]
[ "Haskell" ]
In my http://www.markhneedham.com/blog/2012/05/20/haskell-my-first-attempt-with-quickcheck-and-hunit/[continued attempts to learn QuickCheck], one thing I've been doing is comparing the results of my http://www.markhneedham.com/blog/2012/05/07/haskell-maximum-int-value/[brute force] and http://www.markhneedham.com/blog/2012/05/09/haskell-closest-pairs-algorithm/[divide & conquer versions] of the closest pairs algorithm. I started with this property: [source,haskell] ---- let prop_dc_bf xs = (length xs > 2) ==> (fromJust $ bfClosest xs) == dcClosest xs ---- And then ran it from GHCI, which resulted in the following error: [source,text] ---- > quickCheck (prop_dc_bf :: [(Double, Double)] -> Property) *** Failed! Falsifiable (after 8 tests and 19 shrinks): [(-165.0,8.0),(5.0,47.0),(6.0,0.0),(8.0,0.0),(2.0,1.0),(-129.0,17.0),(-15.0,11.0)] ---- I wasn't really sure where to start to work out what had gone wrong but I eventually came across Debug.Trace which has the 'http://www.haskell.org/ghc/docs/latest/html/libraries/base/Debug-Trace.html#v%3Atrace[trace]' function which I found quite useful. ____ trace :: String \-> a \-> aSource The trace function outputs the trace message given as its first argument, before returning the second argument as its result. For example, this returns the value of f x but first outputs the message. trace ("calling f with x = " ++ show x) (f x) ____ The initial divide and conquer algorithm read like this: [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> Pair a dcClosest pairs | length pairs <= 3 = fromJust $ bfClosest pairs | otherwise = foldl (\closest (p1:p2:_) -> minimumBy (compare `on` distance') [closest, Pair p1 p2]) closestPair (windowed 2 pairsWithinMinimumDelta) where sortedByX = sortBy compare pairs (leftByX:rightByX:_) = chunk (length sortedByX `div` 2) sortedByX closestPair = minimumBy (compare `on` distance') [closestLeftPair, closestRightPair] where closestLeftPair = dcClosest leftByX closestRightPair = dcClosest rightByX pairsWithinMinimumDelta = sortBy (compare `on` snd) $ filter withinMinimumDelta sortedByX where withinMinimumDelta (x, _) = abs (xMidPoint - x) <= distance' closestPair where (xMidPoint, _) = last leftByX ---- So I put a 'trace' before the 'foldl' function to see what was being passed to it: [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> Pair a dcClosest pairs | length pairs <= 3 = fromJust $ bfClosest pairs | otherwise = trace ("passed in the following: " ++ show (windowed 2 pairsWithinMinimumDelta)) foldl (\closest (p1:p2:_) -> minimumBy (compare `on` distance') [closest, Pair p1 p2]) closestPair (windowed 2 pairsWithinMinimumDelta) ... ---- [source,text] ---- > dcClosest [(-165.0,8.0),(5.0,47.0),(6.0,0.0),(8.0,0.0),(2.0,1.0),(-129.0,17.0),(-15.0,11.0)] passed in the following: [] (2.0,1.0) (6.0,0.0) ---- The function still works the same way but it prints out the trace message as well. Having run this a few times I realised that I'd made a mistake with the values that I'd passed to 'foldl' - I was supposed to pass the combination of all the pairs in 'pairsWithinMinimumDelta' but had actually only passed in adjacent ones. The following change needs to be made to fix that: [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> Pair a dcClosest pairs | length pairs <= 3 = fromJust $ bfClosest pairs | otherwise = foldl (\closest (p1, p2) -> minimumBy (compare `on` distance') [closest, Pair p1 p2]) closestPair (combos pairsWithinMinimumDelta) where sortedByX = sortBy compare pairs (leftByX:rightByX:_) = chunk (length sortedByX `div` 2) sortedByX closestPair = minimumBy (compare `on` distance') [closestLeftPair, closestRightPair] where closestLeftPair = dcClosest leftByX closestRightPair = dcClosest rightByX pairsWithinMinimumDelta = sortBy (compare `on` snd) $ filter withinMinimumDelta sortedByX where withinMinimumDelta (x, _) = abs (xMidPoint - x) <= distance' closestPair where (xMidPoint, _) = last leftByX combos :: [a] -> [(a,a)] combos initial = [(initial !! i, initial !! j) | i <- [0..length initial - 1], j <- [i+1..length initial-1 ], i /= j] ---- It's still not perfect because we end up doing too many comparisons in the 'foldl' part of the code. It does now, however, give the same results as the brute force version. [source,text] ---- > quickCheck (prop_dc_bf :: [(Double, Double)] -> Property) +++ OK, passed 100 tests. ----
null
null
[ -0.03886154294013977, 0.016827747225761414, -0.031852010637521744, 0.02135462500154972, 0.04838678240776062, 0.01778169348835945, 0.03236749395728111, 0.010375098325312138, 0.013691027648746967, -0.024128489196300507, 0.003879646537825465, -0.0183881763368845, -0.06069062277674675, 0.018592700362205505, 0.02584846131503582, 0.06048929691314697, 0.05584912747144699, -0.005072819069027901, -0.003245533909648657, 0.009214311838150024, 0.03510084003210068, 0.05386530980467796, -0.052371203899383545, -0.004782402887940407, 0.055273063480854034, 0.027832182124257088, 0.022725919261574745, 0.0009414810338057578, -0.05259527266025543, 0.0009081143070943654, 0.050468139350414276, 0.005723905749619007, -0.0005249876994639635, -0.06446868181228638, 0.03403685986995697, 0.020753586664795876, 0.016415564343333244, -0.0001747888163663447, 0.00534594664350152, 0.026272442191839218, -0.054192956537008286, 0.015162596479058266, -0.04085521772503853, 0.04586232826113701, -0.08375316858291626, 0.019988812506198883, -0.05145900323987007, -0.009852143004536629, -0.014475204050540924, -0.0380873866379261, -0.07672109454870224, 0.046260714530944824, -0.017726054415106773, -0.009711286053061485, -0.02047339454293251, 0.055965080857276917, 0.022515971213579178, -0.10931716859340668, 0.038788240402936935, -0.01107527781277895, -0.002025899477303028, 0.008854638785123825, 0.011338429525494576, 0.056258682161569595, -0.0044453381560742855, -0.02036680094897747, 0.0011293436400592327, 0.05067041888833046, -0.03382042050361633, -0.02213081158697605, -0.001002193079330027, 0.02173956297338009, -0.019751491025090218, -0.02019640989601612, -0.025185056030750275, -0.017815081402659416, -0.023952601477503777, 0.05636743828654289, 0.023408284410834312, 0.0281219519674778, -0.010461628437042236, 0.01031445525586605, 0.010586660355329514, 0.008658470585942268, -0.0043538338504731655, 0.0005367299309000373, -0.012474657036364079, -0.012152384035289288, -0.04971920698881149, 0.05702453851699829, 0.0038543210830539465, -0.08777759224176407, -0.009091167710721493, 0.006878592539578676, 0.016194608062505722, 0.008369085378944874, 0.018395867198705673, 0.029934842139482498, 0.004064120352268219, -0.03327185660600662, -0.03108234331011772, -0.022625137120485306, 0.04143935814499855, 0.029178593307733536, -0.07238923013210297, -0.001432489836588502, -0.03710794821381569, -0.01554859708994627, 0.0327957347035408, 0.008457991294562817, -0.015265758149325848, 0.01954176463186741, -0.0017102636629715562, 0.024598000571131706, -0.08225114643573761, 0.056824348866939545, -0.0331621989607811, -0.036509133875370026, 0.0055282143875956535, 0.03739383444190025, 0.03292640298604965, 0.036970771849155426, 0.0033519365824759007, 0.08909808844327927, 0.023955583572387695, 0.083559550344944, 0.04844650626182556, 0.0575258731842041, -0.024476245045661926, -0.053662143647670746, -0.03756681829690933, 0.07488609105348587, -0.020966170355677605, 0.000260748463915661, -0.005101423244923353, -0.005513763055205345, -0.052251189947128296, -0.013912894763052464, 0.02653447911143303, 0.047263115644454956, 0.04032491147518158, -0.03188532590866089, 0.04538516327738762, -0.026745537295937538, 0.0006494291592389345, 0.01330974418669939, -0.015290910378098488, -0.013168045319616795, -0.019559940323233604, 0.021873168647289276, 0.0108720101416111, 0.046020373702049255, 0.058872025460004807, -0.0015861421125009656, 0.015045184642076492, 0.0636335089802742, 0.034213002771139145, 0.008707500994205475, -0.02918487973511219, 0.02462194859981537, 0.037195056676864624, 0.061477575451135635, -0.010448447428643703, 0.04194428399205208, -0.0020535970106720924, 0.014125611633062363, 0.011843113228678703, 0.03010677732527256, -0.04330304265022278, -0.030190907418727875, -0.03981614485383034, -0.026419302448630333, 0.08492715656757355, -0.0013850015820935369, 0.013678797520697117, 0.022528361529111862, 0.05616821348667145, 0.005196433048695326, 0.035097673535346985, 0.012327312491834164, -0.07079816609621048, 0.02520621009171009, 0.012964538298547268, 0.045579906553030014, 0.0035743718035519123, -0.005251151509582996, 0.05864406004548073, 0.03726616129279137, -0.011074825190007687, 0.0022317515686154366, -0.055678512901067734, -0.05392445623874664, -0.010843436233699322, -0.038015857338905334, 0.0720679834485054, -0.03644620627164841, -0.003918289672583342, 0.03631267696619034, 0.01578620634973049, 0.0323401503264904, 0.023925045505166054, -0.015594030730426311, 0.029382118955254555, -0.019737934693694115, -0.04119197651743889, 0.06994258612394333, 0.03094159997999668, 0.003618293209001422, -0.08844643831253052, -0.00997350737452507, 0.015597857534885406, 0.012195336632430553, 0.01773916557431221, 0.005158496089279652, 0.027767470106482506, 0.03769989311695099, 0.010472373105585575, 0.0007204399444162846, 0.05838204175233841, -0.038742173463106155, 0.03623296320438385, 0.012048117816448212, -0.015219951048493385, -0.003155504120513797, -0.03762125223875046, 0.09830354899168015, 0.10440297424793243, -0.029427628964185715, -0.03092789649963379, 0.01441159937530756, -0.04018133133649826, -0.005891589447855949, -0.01571573130786419, -0.007058409042656422, -0.04862078279256821, -0.014890109188854694, 0.005699490662664175, -0.010059590451419353, 0.04190307855606079, -0.030059313401579857, -0.018867595121264458, 0.06862770020961761, -0.020818602293729782, 0.03281392902135849, -0.020659184083342552, -0.05603935569524765, 0.0008115548407658935, -0.011924774385988712, -0.07236635684967041, -0.003210602095350623, 0.021979300305247307, 0.012535292655229568, 0.06537643074989319, -0.02170380763709545, -0.0460536815226078, -0.01229327917098999, -0.01568913832306862, 0.022196082398295403, 0.071292944252491, 0.05607422813773155, -0.010057679377496243, 0.03266684338450432, -0.004704429768025875, 0.0010104500688612461, 0.004467635415494442, -0.0664200484752655, -0.06550122797489166, 0.01057718601077795, 0.02893306501209736, 0.012318486347794533, 0.03980548307299614, -0.004862431436777115, -0.005483516026288271, -0.0017142653232440352, 0.0015597714809700847, -0.010384732857346535, 0.027731025591492653, -0.0018573809647932649, -0.05521061271429062, -0.022371992468833923, -0.026085831224918365, 0.08192728459835052, -0.06683199852705002, -0.012453120201826096, 0.016270121559500694, -0.030595408752560616, 0.052094269543886185, -0.06650550663471222, -0.024955809116363525, 0.044918306171894073, 0.0009425095049664378, 0.03610250726342201, -0.04076441004872322, 0.00775525625795126, 0.052111752331256866, 0.021185746416449547, 0.04438275471329689, 0.02812904678285122, 0.00926368311047554, 0.013655126094818115, -0.004647089634090662, 0.026919832453131676, 0.03348981589078903, 0.005724631249904633, -0.013835287652909756, -0.05712113156914711, -0.024293242022395134, -0.01488000713288784, -0.27468425035476685, 0.030840039253234863, -0.021806729957461357, -0.019929062575101852, 0.020455382764339447, -0.050504568964242935, -0.019687190651893616, -0.03722850978374481, 0.0028246447909623384, 0.047521017491817474, -0.014197771437466145, -0.046666812151670456, -0.032603051513433456, 0.047849301248788834, -0.019159959629178047, -0.005302596837282181, -0.0008046433213166893, -0.02809147909283638, 0.0035739170853048563, 0.04366428405046463, -0.0066780163906514645, -0.05837605521082878, 0.01089727133512497, 0.04875027388334274, 0.007088713347911835, 0.05143580213189125, -0.07945065200328827, 0.009649361483752728, -0.05530991777777672, -0.021427830681204796, -0.007506558671593666, -0.01568536087870598, -0.006716073025017977, -0.01670893095433712, -0.0029859542846679688, -0.010404147207736969, 0.02437833696603775, -0.00044081208761781454, 0.0221239123493433, 0.055904027074575424, -0.019576221704483032, -0.02694694511592388, 0.014672462828457355, -0.018501482903957367, 0.06138340383768082, 0.0032611617352813482, -0.0415453277528286, -0.011341598816215992, -0.0132377278059721, 0.07050662487745285, -0.04688204824924469, -0.026142869144678116, -0.018698997795581818, 0.027270518243312836, 0.004834026098251343, -0.006359550170600414, 0.0011202512541785836, -0.03341300040483475, -0.04508842155337334, -0.016003688797354698, -0.026076914742588997, -0.012940230779349804, -0.029050935059785843, -0.046437907963991165, -0.010270419530570507, -0.04580315947532654, -0.05363156273961067, -0.011286186054348946, 0.04399527609348297, 0.008717670105397701, 0.0032705108169466257, -0.04128289222717285, -0.017510289326310158, -0.11216995865106583, -0.04851418361067772, -0.02776692807674408, -0.017278430983424187, 0.003531066235154867, 0.029575245454907417, 0.04633726179599762, -0.023326322436332703, -0.06833015382289886, 0.022483032196760178, 0.0011866468703374267, 0.05046451464295387, -0.017043381929397583, -0.012984897010028362, 0.005469057708978653, -0.002844659611582756, -0.011187142692506313, 0.04788260906934738, -0.009505360387265682, -0.015076148323714733, -0.019965002313256264, -0.00867481529712677, 0.02715197578072548, -0.007344267331063747, -0.0022252167109400034, 0.013222812674939632, 0.025381172075867653, 0.04944130778312683, -0.04572039842605591, 0.031545087695121765, -0.08249504119157791, -0.06554211676120758, -0.006765146739780903, -0.03092777356505394, 0.007187994197010994, 0.04842791706323624, -0.0182637982070446, -0.029671605676412582, -0.030150899663567543, 0.005253402981907129, -0.051506951451301575, -0.059070926159620285, -0.002783239120617509, 0.0010650360491126776, -0.009208591654896736, -0.00628195283934474, -0.006101771257817745, -0.04166322201490402, -0.015208414755761623, 0.0031349891796708107, -0.04575371742248535, -0.02923484891653061, -0.010177712887525558, -0.01357276365160942, -0.013553659431636333, 0.020666759461164474, 0.04607836529612541, -0.014605487696826458, 0.032842427492141724, 0.0179092139005661, 0.02111782878637314, 0.05126289278268814, -0.015240593813359737, -0.017850028350949287, 0.0010561002418398857, -0.00010881893831538036, -0.04317522794008255, 0.023774320259690285, -0.0077687958255410194, 0.033461812883615494, 0.03586879372596741, 0.07046660035848618, -0.03298662602901459, 0.003856582334265113, 0.0025689885951578617, -0.0103782182559371, -0.004181699361652136, 0.029777901247143745, -0.03253795579075813, 0.06673730909824371, -0.018104279413819313, -0.002371816895902157, 0.03215199336409569, 0.06223553791642189, -0.004244561307132244, -0.09038443118333817, -0.06398569792509079, 0.04183214157819748, -0.027644682675600052, -0.018173422664403915, -0.018680619075894356, 0.01649676449596882, 0.03049165941774845, -0.02334771119058132, 0.06716915220022202, -0.05430491641163826, 0.007588373031467199, -0.001800611731596291, 0.01994849368929863, -0.023822570219635963, 0.013889409601688385, -0.012050907127559185, 0.002297225408256054, -0.00527985580265522, 0.0233792532235384, 0.02729012258350849, 0.012166249565780163, -0.038244280964136124, -0.04247300699353218, 0.009521346539258957, 0.025094524025917053, 0.030690521001815796, -0.017431005835533142, 0.0029676295816898346, 0.015601282939314842, -0.03514302149415016, 0.007497249636799097, -0.042256083339452744, -0.016913261264562607, -0.021235374733805656, 0.04891945794224739, -0.029673561453819275, -0.06357967853546143, 0.0005904426798224449, 0.014664322137832642, -0.01122490968555212, 0.01188965979963541, 0.0012836151290684938, -0.034273549914360046, 0.009685901924967766, 0.0041235885582864285, 0.061346665024757385, -0.04243247210979462, -0.0006306330906227231, 0.005252724047750235, 0.04306597262620926, 0.026088355109095573, 0.004189599771052599, -0.061136480420827866, -0.01972491666674614, -0.024903563782572746, -0.014489070512354374, -0.02093440853059292, -0.02412898652255535, 0.00581394461914897, 0.027468981221318245, -0.0033445083536207676, -0.03490770608186722, -0.0052081504836678505, -0.0021847395692020655, -0.018795913085341454, -0.043511323630809784, -0.018435737118124962, -0.03243636339902878, -0.010254454798996449, 0.052750363945961, -0.02335776388645172, 0.042571164667606354, -0.02256639488041401, 0.039832230657339096, 0.03729544207453728, 0.023714179173111916, 0.005963255185633898, -0.06532727926969528, 0.006380310747772455, -0.05675797909498215, 0.015234287828207016, -0.006792748812586069, 0.0016835920978337526, 0.024601561948657036, 0.027605650946497917, -0.02944607101380825, 0.0010122936218976974, 0.027581749483942986, -0.04504508152604103, 0.01890368014574051, 0.04420853406190872, -0.06025620177388191, 0.06186006963253021, 0.006161774042993784, -0.022572964429855347, 0.031541723757982254, -0.019276965409517288, -0.013447552919387817, -0.014886627905070782, -0.042777009308338165, 0.031134512275457382, -0.019094716757535934, 0.010526664555072784, -0.030958259478211403, 0.017174649983644485, 0.043471407145261765, 0.04691998288035393, 0.05136210098862648, -0.020649947226047516, 0.010440275073051453, -0.03408127278089523, -0.055601563304662704, -0.10075671225786209, 0.006502114702016115, 0.01488130446523428, -0.03726612403988838, -0.008603756316006184, -0.0057643200270831585, 0.01972765102982521, 0.03532612696290016, -0.03164376690983772, -0.020867276936769485, 0.02010844461619854, 0.00507102906703949, -0.002989359898492694, 0.029402658343315125, -0.040058620274066925, 0.013803267851471901, 0.03790239244699478, -0.014216361567378044, -0.009359176270663738, -0.03247014805674553, 0.020863043144345284, 0.013080761767923832, 0.025590980425477028, -0.006482189055532217, -0.014433608390390873, 0.030901117250323296, 0.052803847938776016, 0.035095226019620895, 0.04500479996204376, -0.014368977397680283, 0.01498069055378437, 0.017798177897930145, 0.009943213313817978, -0.008475461974740028, 0.010150253772735596, -0.05685560405254364, -0.055929332971572876, 0.0575077086687088, 0.00016645828145556152, -0.01685066521167755, -0.020694250240921974, 0.061183396726846695, 0.03659716993570328, -0.03155776485800743, -0.04622091352939606, 0.028938882052898407, -0.04764745011925697, 0.00941547006368637, 0.010028217919170856, 0.011882738210260868, -0.02567722089588642, 0.07639780640602112, 0.00106757041066885, 0.015540078282356262, 0.06636017560958862, -0.014857898466289043, 0.007890741340816021, 0.011656377464532852, 0.08247814327478409, 0.07358937710523605, 0.0335206463932991, 0.019017986953258514, 0.02914400026202202, -0.04496736451983452, -0.0351429283618927, -0.006050508935004473, -0.06378065049648285, -0.01725965365767479, -0.03046114556491375, 0.022080231457948685, 0.08157317340373993, -0.02417943999171257, 0.04656646400690079, -0.05283564701676369, 0.056510768830776215, -0.018666474148631096, 0.008161824196577072, 0.03965316712856293, 0.060321271419525146, 0.0018914976390078664, 0.031969260424375534, -0.013027837499976158, -0.042205557227134705, 0.012683223001658916, 0.0015385444276034832, 0.006639449391514063, 0.015481879934668541, -0.027617381885647774, 0.0063599515706300735, 0.046955712139606476, 0.002269043354317546, 0.05647212639451027, 0.003500857390463352, 0.0005600792355835438, -0.009860681369900703, 0.02692384272813797, 0.023035652935504913, -0.013588054105639458, -0.0066839600913226604, -0.03928305208683014, 0.010929703712463379, -0.03700978308916092, -0.00640596728771925, -0.02629321627318859, -0.056215252727270126, 0.05756087973713875, -0.0357140451669693, 0.007695100270211697, 0.015551744028925896, -0.022285956889390945, -0.029947429895401, -0.053073950111866, -0.04407190531492233, -0.029373396188020706, -0.07916853576898575, 0.014965884387493134, -0.015663910657167435, -0.032760050147771835, -0.031432028859853745, -0.030759604647755623, 0.0043818149715662, -0.006271109916269779, 0.05290200933814049, -0.034178417176008224, -0.0524938739836216, 0.028818989172577858, 0.010347827337682247, 0.012482536025345325, 0.03123195469379425, 0.015497097745537758, -0.015920152887701988, 0.012902864255011082, -0.039433639496564865, -0.019797006621956825, 0.03863563388586044, 0.02815130539238453, 0.020865069702267647, -0.06984623521566391, -0.00866684876382351, 0.02381296269595623, 0.02236238308250904, -0.07212230563163757, 0.0022768951021134853, 0.004828315693885088, -0.005767361726611853, 0.02345939166843891, -0.02117539942264557, -0.013019240461289883, -0.05621106177568436, -0.03968663141131401, 0.005988146644085646, 0.01278682705014944, 0.03782625123858452, -0.0005583480815403163, 0.06698674708604813, 0.01182013563811779, -0.023970680311322212, -0.05324188992381096, 0.0019744012970477343, -0.04146198928356171, 0.027626752853393555, -0.002957268850877881, -0.05088313668966293, -0.042690910398960114, -0.05484896898269653, -0.0009000637219287455, 0.007815034128725529, -0.03133295848965645, -0.033029552549123764, 0.027631057426333427, 0.028078237548470497, -0.05454543977975845, 0.06582388281822205, -0.04029371589422226, 0.018526051193475723, -0.025773558765649796, -0.0592118464410305, -0.009714849293231964, 0.020503239706158638, 0.0387108288705349, 0.01605452410876751, 0.052767593413591385, -0.05380215123295784, -0.014807566069066525, 0.016288671642541885, 0.010496402159333229, -0.022275816649198532, -0.03958017751574516, 0.0345553457736969 ]
[ -0.13448697328567505, -0.002628292189911008, -0.04315531998872757, -0.016994230449199677, -0.01579882577061653, -0.04150974377989769, 0.024130918085575104, 0.02005827985703945, 0.04834853485226631, -0.03700494393706322, 0.02904546819627285, -0.07577138394117355, 0.01711314171552658, 0.017317015677690506, 0.039298899471759796, 0.015325347892940044, -0.015139905735850334, -0.015401291660964489, -0.028345748782157898, 0.016765791922807693, 0.02752496860921383, -0.03730001673102379, -0.05234628543257713, -0.08164480328559875, 0.054992854595184326, 0.07398653030395508, 0.040291927754879, -0.06070633605122566, 0.00851697102189064, -0.24518729746341705, -0.02936624363064766, -0.012845680117607117, 0.030902544036507607, -0.07464586943387985, 0.00345444492995739, 0.0593777634203434, -0.015981048345565796, -0.02805892378091812, 0.0039010883774608374, 0.03470494970679283, 0.0027117538265883923, 0.051581379026174545, -0.012330213561654091, -0.0018382454290986061, 0.00987978931516409, -0.008352641016244888, -0.019194332882761955, -0.0023788565304130316, -0.006201277952641249, 0.004620347172021866, -0.05682969093322754, -0.00398444477468729, 0.040347278118133545, -0.012183107435703278, 0.023951608687639236, 0.024800468236207962, 0.06450431048870087, 0.08211618661880493, -0.0025384463369846344, 0.003464573761448264, 0.02306463196873665, 0.00935317762196064, -0.10704752057790756, 0.08390281349420547, 0.0017359541961923242, 0.05873740464448929, -0.017292650416493416, -0.07698067277669907, -0.03763705492019653, 0.08923231065273285, 0.021455934271216393, -0.023837612941861153, -0.027331819757819176, 0.05249245837330818, 0.02206989750266075, -0.029410501942038536, -0.011892138980329037, 0.01460888609290123, 0.07683365046977997, -0.03367362916469574, -0.062031760811805725, -0.018827324733138084, -0.00047031804569996893, 0.004352622199803591, 0.0013167894212529063, 0.011933375149965286, -0.02902105823159218, 0.04246252030134201, 0.03253339231014252, -0.02200491353869438, 0.03873056545853615, -0.05497721582651138, -0.0005881384713575244, 0.017523057758808136, -0.07259069383144379, 0.02124663069844246, 0.01957719773054123, -0.00004337113568908535, -0.03005010448396206, 0.3900723159313202, -0.013220303691923618, 0.014809155836701393, 0.014649828895926476, 0.03872402384877205, 0.005812612362205982, -0.018448712304234505, -0.041497740894556046, -0.025266340002417564, -0.018922269344329834, -0.0580672025680542, -0.04296530410647392, -0.017047306522727013, 0.10380737483501434, -0.04058169946074486, 0.02788642793893814, 0.01866023987531662, 0.07889798283576965, 0.016270797699689865, 0.022269858047366142, 0.0178980752825737, 0.0031014562118798494, 0.030464360490441322, 0.017252137884497643, 0.02834567241370678, -0.00844851229339838, 0.016442883759737015, 0.004664440639317036, 0.06489483267068863, 0.017859123647212982, 0.058087464421987534, 0.05035043880343437, -0.021146338433027267, -0.0315200574696064, -0.022804556414484978, -0.006085474509745836, 0.0006560377078130841, 0.019961688667535782, -0.010554545558989048, -0.0008562671719118953, 0.003387079806998372, -0.017186414450407028, -0.046423640102148056, 0.018960420042276382, 0.02082880586385727, -0.009981120005249977, 0.10383719950914383, -0.010532906278967857, -0.04239007830619812, -0.011432468891143799, -0.03325451910495758, 0.010786302387714386, -0.006405944004654884, -0.017323333770036697, -0.036401960998773575, 0.022267263382673264, 0.00828288309276104, 0.047344475984573364, 0.024801433086395264, -0.05129200592637062, 0.011265837587416172, -0.04082481190562248, -0.016477221623063087, -0.052963271737098694, 0.06297178566455841, 0.017398672178387642, -0.05310263857245445, -0.028852015733718872, -0.007023304235190153, -0.012981577776372433, -0.1215750053524971, 0.025428950786590576, 0.01269959844648838, -0.032296616584062576, 0.0036974838003516197, 0.002666396088898182, -0.037115756422281265, -0.05201859772205353, -0.010969094932079315, 0.022481750696897507, 0.05633692443370819, -0.022183731198310852, -0.0066881366074085236, -0.07539398223161697, 0.038660433143377304, -0.007632638793438673, -0.049017343670129776, -0.0453316867351532, -0.004634174518287182, -0.01774328388273716, 0.012415751814842224, 0.0014602505834773183, -0.02731693536043167, -0.07400859147310257, 0.05155888944864273, -0.04354460537433624, -0.009358888491988182, 0.013616726733744144, -0.0016080286586657166, -0.03732811287045479, -0.0015869556227698922, 0.033314261585474014, 0.041273631155490875, -0.0003058019501622766, 0.01647474803030491, -0.08980606496334076, -0.03296448662877083, 0.031144194304943085, -0.07791511714458466, 0.07286004722118378, 0.016567790880799294, 0.03143827244639397, 0.0010286332108080387, -0.08360899984836578, 0.007528806570917368, 0.00010649358591763303, -0.03889601305127144, 0.009793208912014961, -0.0026127768214792013, -0.005082620773464441, 0.028327705338597298, -0.02533360756933689, -0.059078726917505264, -0.05126630887389183, -0.3473052382469177, -0.06610289216041565, -0.03737328574061394, 0.02316429279744625, 0.017922671511769295, -0.09149354696273804, -0.013420688919723034, 0.009439157322049141, -0.03528355434536934, 0.05358435586094856, 0.07359643280506134, 0.01540431473404169, -0.044156331568956375, -0.08365040272474289, 0.00515328673645854, 0.017854394391179085, -0.016183573752641678, 0.007219703868031502, -0.007395364344120026, 0.03458508476614952, -0.024680130183696747, 0.002457376103848219, -0.0427093580365181, -0.06984393298625946, 0.005610383115708828, -0.06502170115709305, 0.12345214188098907, 0.009774647653102875, 0.06526772677898407, -0.04132813587784767, 0.04824350029230118, -0.025651544332504272, -0.020844947546720505, -0.014386018738150597, -0.00929681584239006, -0.00767148332670331, -0.0015632833819836378, -0.004868921358138323, 0.06361477077007294, -0.00802044291049242, -0.06104888767004013, -0.030930927023291588, -0.03308103606104851, -0.025096170604228973, 0.003948010969907045, 0.00821376871317625, -0.016266148537397385, -0.05392158403992653, -0.002521866001188755, 0.06983868777751923, 0.03929087519645691, 0.032290466129779816, 0.008962471969425678, -0.0019424225902184844, 0.0039652748964726925, 0.00808767881244421, -0.03124646097421646, -0.04799243435263634, -0.028325026854872704, -0.017201483249664307, 0.05337231606245041, 0.027510516345500946, 0.04381647706031799, -0.0004948362475261092, 0.0016567803686484694, -0.009213067591190338, 0.020766470581293106, -0.016995351761579514, 0.023681819438934326, 0.05243832245469093, 0.0005912432679906487, 0.09728863090276718, -0.02684682235121727, 0.013857437297701836, 0.0392916277050972, 0.0454062893986702, -0.02791423723101616, 0.02076716721057892, 0.04241897910833359, 0.014833913184702396, 0.054377906024456024, 0.008876891806721687, 0.01389733050018549, -0.02606458216905594, -0.010536507703363895, 0.016500219702720642, 0.00862276740372181, 0.0341915488243103, 0.03730147331953049, 0.0059357606805861, -0.013618066906929016, 0.027885988354682922, 0.024424636736512184, -0.04672837629914284, 0.03621862828731537, -0.013986971229314804, -0.250736266374588, 0.027519265189766884, 0.05204025283455849, -0.0030751312151551247, -0.03324020653963089, 0.019070981070399284, 0.039919909089803696, -0.06643108278512955, -0.05629447102546692, -0.033300284296274185, 0.03711239621043205, 0.06790629774332047, 0.04426258057355881, 0.01538502611219883, 0.028369352221488953, -0.003115762025117874, 0.03183213621377945, -0.007528405170887709, -0.04566602408885956, 0.028846245259046555, 0.043062131851911545, -0.008240753784775734, 0.2066757082939148, 0.016170727089047432, 0.0024083189200609922, 0.020763998851180077, -0.008883854374289513, 0.026048356667160988, 0.08143183588981628, -0.000039723203371977434, 0.0057051521725952625, 0.031682901084423065, 0.044183485209941864, -0.018629753962159157, 0.03580603748559952, 0.02785913646221161, 0.002038277219980955, 0.025376170873641968, 0.035029757767915726, -0.0256690364331007, -0.0284107718616724, 0.00039559154538437724, 0.0008158307173289359, 0.04224054515361786, 0.07207027077674866, -0.0053739664144814014, -0.015639295801520348, -0.0343015193939209, -0.04555767774581909, 0.035370197147130966, -0.026404347270727158, -0.01706070266664028, 0.011910129338502884, -0.04679175466299057, 0.02201920747756958, 0.028636721894145012, 0.007446119096130133, -0.025037651881575584, 0.001117220614105463, 0.0012336567742750049, 0.04020678251981735, 0.025152219459414482, 0.10446974635124207, 0.0033988449722528458, 0.03795996680855751 ]
[ -0.022112807258963585, 0.025724250823259354, -0.01112299133092165, 0.027061844244599342, 0.006081406492739916, -0.00007384108903352171, -0.0022240879479795694, 0.019876627251505852, -0.021032698452472687, -0.02514289878308773, 0.01165341679006815, 0.003240542719140649, 0.02054041624069214, -0.026049528270959854, -0.002940000966191292, -0.005722466390579939, 0.00940504390746355, 0.013946754857897758, -0.011362654156982899, -0.021862003952264786, -0.011283925734460354, -0.013875778764486313, -0.011086268350481987, 0.02791721001267433, 0.007033543661236763, 0.006943533197045326, -0.03974296152591705, -0.012512821704149246, 0.023059124127030373, -0.11852528154850006, -0.019837751984596252, -0.023069247603416443, 0.021558908745646477, -0.004984159488230944, -0.029710989445447922, 0.06324643641710281, 0.004174825735390186, 0.01890004426240921, 0.0025233186315745115, -0.028907224535942078, 0.011635278351604939, -0.01968216709792614, 0.02895359881222248, -0.02819492295384407, -0.000994561123661697, -0.012103704735636711, 0.012321646325290203, 0.0015605506487190723, 0.013349639251828194, -0.00008944422734202817, -0.024132931604981422, 0.040404822677373886, -0.020135562866926193, 0.019977234303951263, 0.021423939615488052, 0.019867857918143272, -0.05275741592049599, -0.02473032847046852, -0.019334757700562477, -0.014676664024591446, -0.033665936440229416, 0.011998392641544342, -0.03744940832257271, -0.028286162763834, -0.03328069671988487, 0.014679844491183758, 0.015707826241850853, -0.018897317349910736, 0.011965196579694748, 0.025276662781834602, -0.006269222591072321, 0.05592859536409378, -0.053001608699560165, -0.013850968331098557, -0.007366667035967112, 0.021592825651168823, 0.04791475087404251, -0.017909448593854904, 0.013819067738950253, -0.04181800037622452, -0.023569276556372643, -0.01869489997625351, 0.03134804219007492, 0.02178322523832321, -0.010975017212331295, -0.030515780672430992, -0.021819988265633583, 0.015036054886877537, 0.047061171382665634, -0.021827025339007378, 0.004847213160246611, 0.03125811368227005, -0.014278136193752289, 0.02186034619808197, -0.067723348736763, 0.006566675845533609, -0.011384802870452404, 0.013048765249550343, -0.028765182942152023, 0.8252077698707581, 0.004521658178418875, 0.028287306427955627, 0.026926953345537186, 0.0066877021454274654, -0.008430533111095428, 0.005336816422641277, -0.004197355825453997, 0.010352100245654583, 0.010975907556712627, -0.03939144313335419, 0.033572059124708176, -0.017416726797819138, 0.0520356185734272, 0.006659318692982197, 0.008541245013475418, 0.01578907109797001, -0.00401329854503274, -0.02169642224907875, -0.020987823605537415, 0.005689328070729971, -0.03502831980586052, -0.00893687829375267, 0.00925994198769331, 0.038320932537317276, 0.03527476638555527, -0.2050301432609558, -0.02767207659780979, -6.815412655627957e-33, 0.04957733303308487, 0.010517256334424019, 0.01631408929824829, -0.03859325498342514, 0.006458358373492956, 0.004193133674561977, 0.024110697209835052, -0.029137007892131805, -0.05100957304239273, 0.009212545119225979, 0.028395216912031174, 0.000946581014432013, -0.026802539825439453, -0.03169487416744232, 0.02884424291551113, -0.02057747170329094, 0.03215641900897026, 0.0062836394645273685, -0.03875824064016342, 0.0001982083631446585, -0.0022135262843221426, 0.04299791902303696, -0.009406927973031998, 0.0008618567371740937, 0.019780859351158142, 0.012818972580134869, -0.0020483448170125484, 0.02955971471965313, 0.00585545739158988, -0.04139970615506172, -0.04332992434501648, 0.027534570544958115, -0.011215887032449245, 0.0138283995911479, 0.014745784923434258, -0.026854412630200386, -0.010358958505094051, 0.008954678662121296, -0.025209108367562294, 0.008458989672362804, -0.04099517688155174, 0.0209986362606287, -0.018852995708584785, -0.04697386175394058, 0.017102651298046112, -0.027362214401364326, -0.011072454042732716, 0.06536470353603363, 0.03359415754675865, 0.008757127448916435, 0.035079602152109146, 0.04075675085186958, -0.029535328969359398, 0.022001713514328003, -0.03423069790005684, 0.011900931596755981, 0.0051955776289105415, 0.011381524614989758, -0.022480057552456856, 0.09601689875125885, 0.0076341694220900536, 0.018125759437680244, -0.010598087683320045, 0.020483048632740974, -0.025249645113945007, -0.019125880673527718, -0.006880242843180895, -0.01643197238445282, 0.020648201927542686, 0.055120132863521576, -0.05855916440486908, 0.01279679499566555, -0.004979991354048252, -0.026633713394403458, 0.059728823602199554, -0.02728460542857647, -0.021685494109988213, -0.061654120683670044, 0.020007820799946785, 0.017589787021279335, 0.009366214275360107, -0.033791232854127884, 0.009123435243964195, -0.00854933075606823, -0.04028797149658203, -0.031885869801044464, -0.01640184223651886, -0.004391040652990341, -0.019353656098246574, -0.01028404664248228, -0.025820353999733925, 0.04836858808994293, -0.008306327275931835, -0.002248796634376049, 0.01882542110979557, 6.673273348094464e-33, -0.023302186280488968, -0.036726173013448715, 0.029922740533947945, 0.026195799931883812, -0.005206418223679066, 0.01265952829271555, 0.02364514395594597, -0.00045289259287528694, -0.01480090245604515, 0.05198187381029129, -0.00731953838840127, 0.008887609466910362, -0.02813357301056385, 0.021624669432640076, 0.07619862258434296, -0.016791021451354027, 0.014811926521360874, -0.00231466768309474, 0.036581095308065414, -0.002693663816899061, 0.03127039223909378, 0.005815102718770504, 0.010871640406548977, 0.02165692113339901, 0.031436577439308167, 0.02726138010621071, 0.018004927784204483, 0.019941162317991257, -0.0017219568835571408, -0.014429905451834202, -0.0068342979066073895, -0.02326061762869358, -0.00025143075617961586, -0.020275883376598358, 0.018306992948055267, 0.02137785032391548, 0.001030273037031293, -0.010522310622036457, 0.018187373876571655, -0.020707737654447556, 0.006717342883348465, -0.017466964200139046, 0.0008309829863719642, 0.04088748246431351, -0.010177349671721458, 0.02311621606349945, 0.016512302681803703, -0.003098496003076434, 0.0211977269500494, 0.017344463616609573, 0.02634180337190628, -0.008535288274288177, -0.006892099976539612, 0.02771017514169216, -0.02015823684632778, -0.02581867389380932, -0.01917533576488495, 0.030537841841578484, -0.02266130968928337, 0.0020315612200647593, -0.039615046232938766, -0.031201500445604324, -0.03479648008942604, 0.005379240494221449, -0.012875005602836609, -0.0015434273518621922, -0.026944246143102646, -0.04297736659646034, -0.000402880075853318, 0.03740866482257843, -0.03462335839867592, -0.02398955449461937, 0.0007835346041247249, 0.034733545035123825, -0.004298417828977108, -0.01308032963424921, -0.006128074135631323, -0.008184093981981277, 0.043704479932785034, 0.012955451384186745, 0.03316926211118698, 0.003496627788990736, 0.0545373260974884, -0.004721786826848984, -0.0029304346535354853, -0.005483547225594521, 0.0009230269934050739, 0.03908699005842209, 0.04274321720004082, -0.0005203001201152802, -0.02968953177332878, -0.008533136919140816, 0.04767785593867302, 0.0010011098347604275, -0.03823476284742355, -1.2535883442410523e-8, -0.018686098977923393, -0.03861955925822258, -0.056724827736616135, 0.021499335765838623, -0.014626792632043362, 0.031345296651124954, -0.013276872225105762, -0.029360996559262276, -0.03340770676732063, 0.018540820106863976, -0.010334683582186699, 0.02023680880665779, -0.006264800671488047, 0.002717010909691453, 0.019688980653882027, -0.052814703434705734, 0.03504188358783722, -0.0504508912563324, 0.020445505157113075, -0.017898254096508026, -0.0030417367815971375, 0.03190769627690315, -0.008925044909119606, 0.02208653651177883, -0.024531641975045204, -0.04232149198651314, 0.056260716170072556, -0.08388396352529526, -0.022604258731007576, 0.04594960808753967, -0.021258944645524025, -0.029253121465444565, -0.02197956293821335, 0.02124132588505745, -0.00021909995120950043, -0.008277012966573238, -0.016727441921830177, 0.03316812962293625, 0.05993733927607536, -0.007860827259719372, -0.017527183517813683, 0.019285017624497414, 0.009007043205201626, -0.029799414798617363, 0.012684250250458717, -0.028341032564640045, 0.007357955444604158, -0.019466564059257507, 0.018125174567103386, -0.025763025507330894, 0.03254520893096924, 0.014671774581074715, 0.01793152652680874, -0.0009215871687047184, 0.0022620803210884333, 0.008266037330031395, -0.005722446832805872, -0.06752735376358032, -0.00715497275814414, -0.009476774372160435, 0.011299524456262589, -0.013064345344901085, -0.0051580374129116535, -0.04374906048178673 ]
haskell-debugging-code
https://markhneedham.com/blog/2012/05/27/haskell-debugging-code
false
2012-05-16 13:16:48
Haskell: Writing a custom equality operator
[ "haskell" ]
[ "Haskell" ]
In the comments on my post about http://www.markhneedham.com/blog/2012/05/08/haskell-generating-random-numbers/[generating random numbers] to test a function David Turner suggested that this was exactly the use case for which http://book.realworldhaskell.org/read/testing-and-quality-assurance.html[QuickCheck] was intended for so I've been learning a bit more about that this week. I started with a simple property to check that the brute force (bf) and divide and conquer (dc) versions of the algorithm returned the same result, assuming that there were enough values in the list to have a closest pair: [source,haskell] ---- prop_closest_pairs xs = length xs >= 2 ==> dcClosest xs == (fromJust $ bfClosest xs) ---- I could then run that as follows: [source,haskell] ---- > import QuickCheck.Test > quickCheck(prop_closest_pairs :: [(Double, Double)] -> Property) ---- It failed pretty quickly because the bf and dc versions of the algorithm sometimes return the pairs in a different order. e.g. bf may say the closest pair is (2.0, 0.0), (2.1, 1.1) while dc says it's (2.1, 1.1), (2.0, 0.0) which will lead to the quick check property failing because those values aren't equal: [source,haskell] ---- > ((2.0, 0.0), (2.1, 1.1)) == ((2.1, 1.1), (2.0, 0.0)) False ---- The best way I could think of to get around this problem was to create a type to represent a pair of points and then write a custom equality operator. I initially ended up with the following: [source,haskell] ---- type Point a = (a, a) data Pair a = P (Point a) (Point a) ---- [source,haskell] ---- instance Eq (Pair a) where P a b == P c d = a == c && b == d || a == d && b == c ---- Which didn't actually compile: [source,text] ---- qc_test.hs:41:58: No instance for (Eq a) arising from a use of `==' In the second argument of `(&&)', namely `b == c' In the second argument of `(||)', namely `a == d && b == c' In the expression: a == c && b == d || a == d && b == c ---- The problem is that while we've made Pair an instance of the Equality type class there's no guarantee that the value contained inside it is an instance of the Equality type class which means we might not be able to compare its values. We need to add a class constraint to make sure that http://learnyouahaskell.com/making-our-own-types-and-typeclasses#typeclasses-102[the value inside P is a part of Eq]: [source,haskell] ---- instance (Eq a) => Eq (Pair a) where P a b == P c d = a == c && b == d || a == d && b == c ---- Now we're saying that we want to make Pair an instance of the Equality type class but only when the value that Pair contains is already an instance of the Equality type class. In this case we're just storing pairs of doubles inside the Pair so it will work fine. Now if we compare the two points from above we'll see that they're equal: [source,haskell] ---- > P (2.0, 0.0) (2.1, 1.1) == P (2.1, 1.1) (2.0, 0.0) True ---- I had to go and change the existing code to make use of this new but it didn't take more than 5-10 minutes to do that.
null
null
[ -0.01083299145102501, 0.01810367777943611, -0.030402423813939095, 0.05984077602624893, 0.04117671400308609, 0.04212658107280731, 0.017645422369241714, 0.01135735772550106, 0.0029363567009568214, -0.017529401928186417, -0.019010990858078003, -0.01103172730654478, -0.06617903709411621, 0.009410168044269085, 0.00012310274178162217, 0.07154752314090729, 0.04401160404086113, -0.009191973134875298, -0.007158701773732901, 0.017240218818187714, 0.026490135118365288, 0.07187002152204514, -0.040927719324827194, 0.00467677740380168, 0.04440779983997345, 0.009896235540509224, 0.03142391890287399, 0.002040017629042268, -0.037441205233335495, -0.003858162323012948, 0.04862382262945175, -0.011444104835391045, -0.02234789915382862, -0.0544428825378418, 0.02105354145169258, 0.02684393711388111, 0.0014279157621785998, 0.0022514022421091795, -0.014552896842360497, 0.027864938601851463, -0.047114692628383636, 0.028421316295862198, -0.0000069794377850485034, 0.026294002309441566, -0.08347855508327484, 0.007384818978607655, -0.056373074650764465, 0.014987577684223652, -0.032609082758426666, -0.015077636577188969, -0.07090041041374207, 0.049750007688999176, -0.019249456003308296, 0.0015735499328002334, -0.0014464602572843432, 0.05945208668708801, 0.014458507299423218, -0.09222868829965591, 0.033939529210329056, -0.02583172358572483, 0.00412514666095376, -0.0025297643151134253, 0.01616867259144783, 0.03872809186577797, 0.013702545315027237, -0.01579340361058712, 0.008624245412647724, 0.04705650359392166, -0.0416334867477417, -0.016021257266402245, -0.010760796256363392, 0.013388676568865776, -0.01539664063602686, -0.012108932249248028, -0.0212410856038332, -0.03753243759274483, -0.013245427049696445, 0.0635865107178688, 0.019642053171992302, 0.017594698816537857, 0.006446346174925566, 0.005521256942301989, 0.0011187409982085228, 0.014656465500593185, -0.00013772316742688417, -0.006939773913472891, -0.039736829698085785, -0.018073195591568947, -0.04577047750353813, 0.05703810602426529, 0.0008019697852432728, -0.057640478014945984, 0.010443208739161491, 0.0009084530756808817, 0.013480804860591888, -0.007779689505696297, 0.008611712604761124, 0.000047516638005618006, 0.007336135022342205, -0.013388833962380886, -0.02825365774333477, -0.03341612592339516, 0.030406301841139793, -0.0031173801980912685, -0.08069516718387604, -0.005584368947893381, -0.012443345971405506, -0.015412887558341026, 0.01554859895259142, 0.03072715364396572, -0.034012433141469955, 0.023675940930843353, 0.02169814705848694, 0.020713306963443756, -0.09539520740509033, 0.03470872342586517, -0.005289288237690926, -0.011255557648837566, -0.009437122382223606, 0.03620857372879982, 0.042768362909555435, 0.039874862879514694, -0.020716404542326927, 0.08290499448776245, 0.03507034853100777, 0.06224760413169861, 0.029434962198138237, 0.0617835596203804, -0.02044183574616909, -0.04929773136973381, -0.019070519134402275, 0.07343298196792603, -0.0472089946269989, 0.005607438273727894, -0.000047218436520779505, -0.02191440761089325, -0.04440610110759735, -0.00791179295629263, 0.02558317966759205, 0.056402433663606644, 0.029897846281528473, -0.05025731772184372, 0.04593353718519211, -0.009336705319583416, 0.0007182858535088599, 0.004473304841667414, 0.006735605653375387, -0.006181844975799322, 0.007047461811453104, 0.02817208506166935, 0.008603551425039768, 0.0420856699347496, 0.04711795598268509, -0.02983558364212513, 0.014182453975081444, 0.07410690933465958, 0.040896348655223846, 0.019580049440264702, -0.00798883382230997, 0.014143740758299828, 0.035291969776153564, 0.032208461314439774, -0.0033100717701017857, 0.030873600393533707, 0.008978411555290222, -0.0039244480431079865, -0.005084730219095945, 0.08263074606657028, -0.03400040790438652, -0.019764218479394913, -0.04411866143345833, -0.025547703728079796, 0.0752514898777008, -0.016695136204361916, -0.00436435779556632, 0.02515723742544651, 0.05423182249069214, 0.008859172463417053, 0.0543370246887207, 0.014038097113370895, -0.06972932815551758, 0.012269553728401661, -0.008149005472660065, 0.03910582885146141, 0.009856851771473885, -0.013471988029778004, 0.06429466605186462, 0.03157598897814751, 0.01206172350794077, 0.03225070983171463, -0.05207646265625954, -0.051314577460289, -0.03445282578468323, -0.03707989305257797, 0.07609259337186813, -0.03700155019760132, -0.02131647989153862, 0.050725746899843216, 0.02611183561384678, 0.022325122728943825, 0.02586999535560608, -0.01335378922522068, 0.01766018755733967, -0.029249608516693115, -0.059587009251117706, 0.06346284598112106, 0.035881076008081436, -0.01054350845515728, -0.08122691512107849, -0.019808456301689148, 0.0033551682718098164, 0.00815212819725275, 0.0018353917403146625, -0.01991180144250393, 0.028922731056809425, 0.05371025204658508, 0.010356465354561806, -0.017651911824941635, 0.06010480597615242, -0.043686721473932266, 0.0492926649749279, 0.03975959122180939, -0.0008331093122251332, -0.007287285756319761, 0.0009990090038627386, 0.12392575293779373, 0.09017424285411835, -0.04538941755890846, -0.0360366515815258, 0.03192027658224106, -0.022392302751541138, -0.028040768578648567, -0.021038293838500977, -0.013390679843723774, -0.020676208660006523, 0.0047693876549601555, -0.000029265285775181837, -0.028816664591431618, 0.053745537996292114, -0.018939731642603874, -0.023206466808915138, 0.07412899285554886, -0.03008630871772766, 0.047179628163576126, -0.004796578083187342, -0.040089499205350876, -0.007899080403149128, -0.041222795844078064, -0.07060421258211136, -0.003651750972494483, -0.004926555790007114, 0.005068397149443626, 0.061321958899497986, -0.01331683062016964, -0.02219320833683014, -0.01760738343000412, -0.02314821630716324, 0.035412199795246124, 0.06094548478722572, 0.0433063879609108, -0.019078237935900688, 0.027037363499403, 0.00263649201951921, -0.0042599523440003395, -0.008596619591116905, -0.05692354589700699, -0.058488816022872925, 0.0011797088664025068, 0.01661267876625061, 0.02110004425048828, 0.029111934825778008, 0.009838605299592018, 0.007338438183069229, -0.02424272708594799, -0.023473352193832397, -0.018687181174755096, 0.021862996742129326, 0.012543745338916779, -0.045795366168022156, -0.04375455155968666, -0.027860544621944427, 0.07472627609968185, -0.03963793069124222, -0.015083757229149342, 0.012064109556376934, -0.049347855150699615, 0.042947396636009216, -0.06784001737833023, -0.049117133021354675, 0.02850000374019146, 0.012267830781638622, 0.020457366481423378, -0.028977639973163605, 0.000935371674131602, 0.06205170229077339, 0.025685468688607216, 0.04824288189411163, 0.03556488826870918, 0.015037383884191513, 0.025687990710139275, 0.019088512286543846, 0.050369743257761, 0.03943036496639252, -0.0005481531261466444, -0.008422751910984516, -0.04434087872505188, -0.006506357342004776, -0.011732973158359528, -0.28830981254577637, 0.024348242208361626, -0.022856637835502625, -0.03277163207530975, 0.014769376255571842, -0.03410975635051727, -0.0216879453510046, -0.031893450766801834, -0.0058788126334548, 0.05767132714390755, -0.024189911782741547, -0.05330580472946167, -0.04857641085982323, 0.03500962257385254, -0.0052146390080451965, -0.014050830155611038, 0.005846878979355097, -0.03764963895082474, 0.017683357000350952, 0.050002261996269226, -0.005719698965549469, -0.061520714312791824, 0.008951510302722454, 0.028590703383088112, 0.019798405468463898, 0.06320638209581375, -0.07674200087785721, 0.012530519627034664, -0.047991473227739334, -0.027080321684479713, -0.0039053887594491243, 0.009785464033484459, 0.0009878285927698016, -0.003531787544488907, -0.002452627057209611, -0.007727932650595903, 0.01806861348450184, -0.007162972819060087, 0.008819491602480412, 0.07172272354364395, -0.029099268838763237, -0.014669304713606834, 0.01576288975775242, 0.0029066207353025675, 0.0600079707801342, -0.01108032651245594, -0.040512073785066605, 0.015928659588098526, -0.044261384755373, 0.056431837379932404, -0.038986168801784515, -0.020573854446411133, 0.0006458837888203561, 0.03839040547609329, 0.0010549052385613322, 0.0002168784849345684, -0.002312936820089817, -0.017964521422982216, -0.05074399709701538, -0.011124880984425545, -0.026724660769104958, -0.01596074178814888, -0.015683159232139587, -0.030572161078453064, -0.020180318504571915, -0.053023725748062134, -0.06678730249404907, -0.00560761010274291, 0.04896064102649689, 0.0036203924100846052, -0.004286052659153938, -0.024886099621653557, -0.010300609283149242, -0.10894495993852615, -0.04547008126974106, -0.00028627202846109867, 0.0027122206520289183, -0.012565869837999344, 0.023840948939323425, 0.059970058500766754, -0.02421693690121174, -0.08229465782642365, 0.04488629475235939, 0.021652767434716225, 0.042384952306747437, -0.0070600626058876514, -0.015168048441410065, 0.00006091031900723465, -0.005445946007966995, -0.013584461063146591, 0.06042006239295006, -0.004209539387375116, -0.024816220626235008, -0.013934237882494926, 0.01057420577853918, 0.01897355355322361, -0.0035932327155023813, -0.017413171008229256, 0.010896578431129456, 0.02804504707455635, 0.03265311196446419, -0.032939422875642776, 0.02212778478860855, -0.06550323963165283, -0.043681781738996506, 0.004567443858832121, -0.048801008611917496, 0.04054859280586243, 0.033201392740011215, -0.010358978994190693, -0.031464673578739166, -0.037478189915418625, 0.014132460579276085, -0.05157089605927467, -0.03947461396455765, -0.021119117736816406, 0.012216187082231045, 0.012146268971264362, -0.00994566734880209, 0.017764613032341003, -0.043519191443920135, -0.01262640580534935, 0.0025569177232682705, -0.04928313195705414, -0.06603576242923737, -0.006884876638650894, -0.026827054098248482, -0.009029434062540531, 0.015114957466721535, 0.02395218051970005, -0.02025243081152439, 0.04167582839727402, 0.015678543597459793, 0.011818166822195053, 0.03970235213637352, -0.010872750543057919, -0.009888458997011185, -0.011783873662352562, -0.009327210485935211, -0.025804290547966957, 0.015647409483790398, -0.024964377284049988, 0.0038601818960160017, 0.038718290627002716, 0.06272932142019272, -0.02338317781686783, 0.02467332035303116, -0.004058630205690861, 0.002741154283285141, -0.005182555411010981, 0.005686954129487276, -0.03922135382890701, 0.044574204832315445, -0.028116557747125626, -0.008386431261897087, 0.021844765171408653, 0.046973153948783875, 0.01383974403142929, -0.07835996896028519, -0.07025092095136642, 0.039466578513383865, -0.03488970175385475, -0.026630261912941933, -0.026787875220179558, 0.030919555574655533, 0.0697488784790039, -0.032225508242845535, 0.06188056617975235, -0.05761491879820824, 0.00817256048321724, 0.01779635064303875, 0.020546067506074905, -0.052298787981271744, 0.008953439071774483, -0.012787126004695892, -0.00954463705420494, 0.003134376835078001, 0.010556240566074848, 0.017403051257133484, -0.006750243250280619, -0.02525123581290245, -0.012275372631847858, 0.01594805158674717, 0.026418985798954964, 0.03498247265815735, 0.010614735074341297, 0.009260633960366249, 0.004342918749898672, -0.017842469736933708, -0.02817702665925026, -0.05358294025063515, -0.019294872879981995, -0.004059689585119486, 0.04930301755666733, -0.03281883895397186, -0.06514224410057068, -0.00012007083569187671, -0.004124230705201626, -0.03526834771037102, 0.009797337464988232, -0.006426837295293808, -0.03315078094601631, -0.009757071733474731, -0.009929350577294827, 0.08648707717657089, -0.05141501501202583, 0.014101420529186726, -0.0026396815665066242, -0.00037212856113910675, 0.008460788987576962, 0.013672656379640102, -0.06806778162717819, -0.008960405364632607, -0.0026853077579289675, -0.014433146454393864, -0.035834234207868576, -0.041456159204244614, -0.0001016114983940497, 0.011269213631749153, -0.01302327960729599, -0.022263018414378166, -0.0006029288051649928, 0.00024159399617929012, -0.012960067950189114, -0.021848242729902267, -0.015666697174310684, -0.049797173589468, -0.024008601903915405, 0.04814529791474342, -0.014164086431264877, 0.034287042915821075, -0.0256895050406456, 0.01395002007484436, 0.018640553578734398, 0.006117595359683037, 0.003334724111482501, -0.07733315974473953, 0.00082191894762218, -0.06736162304878235, 0.017752395942807198, -0.0014950367622077465, 0.004092088434845209, 0.007420263718813658, 0.026069732382893562, -0.0384024940431118, -0.010715436190366745, 0.04666716977953911, -0.04696820303797722, 0.022514982149004936, 0.02173609845340252, -0.0690348818898201, 0.05283191055059433, 0.00909226294606924, -0.019271263852715492, 0.051492154598236084, -0.014738167636096478, -0.012053416110575199, -0.029577262699604034, -0.03197331354022026, 0.01643902063369751, -0.026260782033205032, 0.03666224703192711, -0.03391237556934357, 0.019166016951203346, 0.03846583515405655, 0.06078753247857094, 0.05052231624722481, -0.014187143184244633, 0.02893710695207119, -0.038960423320531845, -0.04443388059735298, -0.10347919911146164, -0.006041489541530609, 0.03081810660660267, -0.024836761876940727, -0.018088918179273605, -0.009289432317018509, 0.00835411250591278, 0.038667693734169006, -0.04980362579226494, -0.008659902960062027, 0.0402417816221714, 0.007858249358832836, -0.0025558897759765387, 0.01796117052435875, -0.047719333320856094, 0.01765780709683895, 0.03904477506875992, -0.007920362986624241, 0.0056642796844244, -0.034961797297000885, 0.027929026633501053, 0.006863934453576803, 0.02762899361550808, -0.00345552247017622, 0.0006520579336211085, 0.03112051635980606, 0.044032979756593704, 0.033175185322761536, 0.038868773728609085, -0.022430725395679474, 0.01901176944375038, 0.007238250225782394, 0.016164280474185944, 0.003507746383547783, 0.009989304468035698, -0.0169976856559515, -0.04744843766093254, 0.0581437386572361, -0.011249824427068233, -0.0198815930634737, -0.05169181898236275, 0.0652838945388794, 0.028787434101104736, -0.040885861963033676, -0.05356019362807274, 0.04196758195757866, -0.04688238352537155, 0.0028941321652382612, 0.0026806762907654047, -0.018425872549414635, -0.03149552270770073, 0.057355236262083054, 0.0003908654034603387, 0.00769242225214839, 0.09467754513025284, -0.006083058193325996, -0.015203421004116535, 0.03179873898625374, 0.08501628786325455, 0.08828002214431763, 0.05103163793683052, 0.012686902657151222, 0.04419267922639847, -0.02899545058608055, -0.0493101067841053, 0.02316885069012642, -0.041445422917604446, -0.009772907011210918, -0.03121775947511196, 0.02357771247625351, 0.07763374596834183, -0.02801404520869255, 0.049049414694309235, -0.033212870359420776, 0.028769103810191154, 0.014845840632915497, 0.028329411521553993, 0.03596183657646179, 0.06426346302032471, -0.003591877408325672, 0.037075985223054886, -0.023385250940918922, -0.050100501626729965, 0.024808842688798904, -0.010400236584246159, -0.005924128461629152, -0.01010835450142622, -0.0026034368202090263, -0.002414936665445566, 0.028134038671851158, 0.022206850349903107, 0.05227736756205559, -0.012901658192276955, 0.005865084007382393, 0.006011941935867071, 0.014811868779361248, 0.008580106310546398, -0.02281598187983036, -0.012072859331965446, -0.02452065981924534, 0.0011895596981048584, -0.007182213943451643, -0.002927727298811078, -0.0170997716486454, -0.03484068065881729, 0.0489465706050396, -0.019665883854031563, -0.0002155687689082697, 0.024699687957763672, -0.008812868036329746, -0.02764354646205902, -0.061371903866529465, -0.04049123078584671, -0.03199360519647598, -0.08534232527017593, 0.021650094538927078, -0.013068420812487602, -0.0302114300429821, -0.02873740904033184, -0.015283320099115372, -0.00014199652650859207, -0.017609484493732452, 0.05373028293251991, -0.02548416145145893, -0.05762624740600586, 0.0054957130923867226, 0.02258441224694252, 0.014737688936293125, 0.031064609065651894, 0.04693411663174629, -0.030689286068081856, 0.010427715256810188, -0.03974979743361473, -0.010232877917587757, 0.035130687057971954, 0.04245491698384285, -0.005935825873166323, -0.06963875889778137, -0.025422342121601105, 0.022631429135799408, 0.004387288354337215, -0.07714532315731049, -0.00238241720944643, 0.017288921400904655, 0.004369054920971394, 0.015847228467464447, -0.0168010164052248, 0.005826734472066164, -0.05305285379290581, -0.023017829284071922, 0.00036228643148206174, 0.0002975145180243999, 0.04636431857943535, -0.026161087676882744, 0.0793532207608223, -0.008427856490015984, -0.026374951004981995, -0.0502043291926384, 0.02007092349231243, -0.0161628145724535, 0.03607110679149628, -0.009170319885015488, -0.04175852611660957, -0.0337664969265461, -0.07507238537073135, -0.01741900108754635, 0.005605512764304876, -0.04827997833490372, -0.026014801114797592, 0.02592565305531025, 0.040740832686424255, -0.04936577007174492, 0.07721873372793198, -0.02748257853090763, 0.018664510920643806, -0.028850721195340157, -0.020824283361434937, 0.01757129468023777, 0.018201535567641258, -0.011693828739225864, 0.02010350115597248, 0.04292953759431839, -0.048578083515167236, -0.020457223057746887, -0.005843830294907093, -0.0031039370223879814, -0.015631340444087982, -0.020573250949382782, 0.03701716288924217 ]
[ -0.14089900255203247, -0.015323358587920666, -0.03987938165664673, -0.006605362519621849, -0.030385257676243782, -0.012049524113535881, 0.00421353243291378, 0.005343607161194086, 0.03336425498127937, -0.0410364530980587, 0.007667877245694399, -0.0672057494521141, 0.03687673434615135, 0.012044296599924564, 0.052645232528448105, 0.013041705824434757, -0.03538843244314194, -0.03055451810359955, -0.03434857353568077, 0.03527132049202919, 0.017539354041218758, -0.033014971762895584, -0.05326574668288231, -0.07461876422166824, 0.03420951962471008, 0.05455901101231575, 0.04834790527820587, -0.0549059696495533, 0.012486624531447887, -0.2455427646636963, -0.020875241607427597, -0.012395959347486496, 0.049396026879549026, -0.07230823487043381, -0.005188040900975466, 0.0403379388153553, -0.008846309036016464, -0.008477980270981789, -0.01800866797566414, 0.01967456378042698, 0.013410553336143494, 0.04519950971007347, -0.009380869567394257, -0.010974733158946037, 0.023455698043107986, 0.020001081749796867, -0.0275825597345829, 0.004936329089105129, -0.016743585467338562, 0.018396668136119843, -0.05607895180583, -0.013808767311275005, 0.019495220854878426, 0.009422924369573593, 0.014197876676917076, 0.03358565643429756, 0.053648173809051514, 0.08433637022972107, 0.005205669440329075, 0.02652929723262787, 0.01312647107988596, 0.01083496306091547, -0.09884414821863174, 0.0707387924194336, 0.0020307954400777817, 0.059333015233278275, -0.009203300811350346, -0.08452106267213821, -0.05428724363446236, 0.09478147327899933, 0.0399993360042572, -0.014407922513782978, -0.0046090250834822655, 0.04260506108403206, 0.0075650266371667385, -0.03519009053707123, -0.01804986223578453, 0.01802712492644787, 0.06816371530294418, -0.014298494905233383, -0.06743869185447693, -0.04899684712290764, -0.01297321543097496, 0.01645812578499317, 0.0021632870193570852, 0.008512163534760475, -0.017743276432156563, 0.04675222560763359, 0.03057924285531044, -0.0018251825822517276, 0.03271902725100517, 0.0012753254268318415, -0.0011632341193035245, 0.0075813280418515205, -0.0553220734000206, 0.0072858138009905815, 0.011832174845039845, 0.021688664332032204, -0.03261004760861397, 0.38217559456825256, -0.026175837963819504, 0.038549937307834625, 0.040232330560684204, 0.02604908123612404, -0.019089071080088615, -0.033273134380578995, -0.02331116609275341, -0.05353591963648796, -0.014644104056060314, -0.0788896232843399, -0.0158073790371418, -0.04606587812304497, 0.09527576714754105, -0.05786736682057381, -0.012023757211863995, -0.0005413716426119208, 0.07249949872493744, 0.04386113956570625, 0.040373545140028, -0.0005402032984420657, -0.011692679487168789, 0.030809985473752022, 0.01482229121029377, 0.006358349695801735, -0.0027431845664978027, 0.04017575830221176, -0.00047242690925486386, 0.05571465939283371, 0.015573986805975437, 0.0690474808216095, 0.03797571361064911, -0.04744666442275047, -0.03995756059885025, -0.023933297023177147, -0.005022543948143721, -0.011276822537183762, -0.0026637513656169176, -0.01739012822508812, 0.03507868945598602, 0.0019239111570641398, -0.005643981043249369, -0.028557782992720604, 0.03372421860694885, 0.027281949296593666, -0.004674001596868038, 0.11569123715162277, -0.017451908439397812, -0.018986569717526436, -0.005509030073881149, -0.05096369981765747, -0.0012771380133926868, 0.0025177516508847475, -0.00990118645131588, -0.053049106150865555, 0.03007565625011921, 0.01576199382543564, 0.05620390176773071, -0.0010200828546658158, -0.0422121100127697, 0.022604862228035927, -0.030207853764295578, -0.023555997759103775, -0.041728127747774124, 0.05049626901745796, 0.019652744755148888, -0.07050909101963043, -0.010525159537792206, -0.0003952668921556324, 0.008218348026275635, -0.09062854200601578, 0.02351832203567028, 0.02604023553431034, -0.01823837123811245, 0.011067455634474754, 0.029075736179947853, -0.02462242729961872, -0.05362028628587723, -0.03279893472790718, 0.047260645776987076, 0.034663163125514984, -0.01764010824263096, 0.008694921620190144, -0.06646164506673813, 0.015883294865489006, -0.022869346663355827, -0.0527740903198719, -0.05739639699459076, -0.0003977077140007168, -0.027836007997393608, 0.008281993679702282, 0.017474377527832985, -0.04435158520936966, -0.06464872509241104, 0.07382906228303909, -0.012674077413976192, -0.030033819377422333, 0.015189469791948795, -0.018521199002861977, -0.028886688873171806, -0.005584323778748512, -0.022710079327225685, 0.031212400645017624, 0.01237682718783617, 0.012068752199411392, -0.08364659547805786, -0.007099932059645653, 0.05244779214262962, -0.08694154769182205, 0.07681743800640106, 0.04521219804883003, 0.013569183647632599, -0.015045706182718277, -0.09295178204774857, 0.014302225783467293, -0.010363121517002583, -0.03056138940155506, 0.000920947059057653, -0.01787308044731617, 0.004405062645673752, 0.024035047739744186, -0.0354185476899147, -0.037504419684410095, -0.030268440023064613, -0.3482093811035156, -0.06878963112831116, -0.03333994373679161, 0.013836296275258064, 0.018170541152358055, -0.08611317723989487, -0.02754613198339939, -0.0029875673353672028, -0.05698566138744354, 0.047328948974609375, 0.06651251018047333, -0.0010363331530243158, -0.013238558545708656, -0.06579560041427612, -0.007463248446583748, 0.02821672149002552, -0.01589982956647873, -0.009196734055876732, -0.005412445869296789, 0.03386224806308746, -0.008458901196718216, 0.013567975722253323, -0.022871101275086403, -0.09037002176046371, -0.011347225867211819, -0.05308517441153526, 0.11799581348896027, 0.0004561736132018268, 0.06174328178167343, -0.045546937733888626, 0.03731239587068558, -0.028942400589585304, -0.010238034650683403, -0.00958760641515255, 0.004811500199139118, -0.012688846327364445, -0.0009795583318918943, -0.015278964303433895, 0.054867614060640335, 0.002774613443762064, -0.061525583267211914, -0.00939514022320509, -0.022391512989997864, -0.011769901029765606, -0.027977606281638145, 0.0062994989566504955, -0.01649666391313076, -0.03927258774638176, 0.01559394970536232, 0.09618574380874634, 0.028928473591804504, 0.03438504412770271, 0.030165333300828934, -0.007369813043624163, -0.00864935852587223, -0.017385469749569893, -0.04955540597438812, -0.03885698691010475, -0.019132383167743683, -0.005423166789114475, 0.04507916048169136, 0.02242380939424038, 0.06543510407209396, -0.01058168150484562, -0.009336437098681927, 0.00785981398075819, -0.0017547216266393661, -0.03916115313768387, 0.03047512285411358, 0.029789434745907784, -0.0020935977809131145, 0.0861513540148735, -0.00627162167802453, 0.040622446686029434, 0.04100685566663742, 0.04289546608924866, -0.007895571179687977, 0.03388502448797226, 0.06385577470064163, 0.010082293301820755, 0.04112191125750542, -0.001299051335081458, 0.030650876462459564, -0.02046063542366028, -0.02928095869719982, -0.01668594591319561, 0.02543782629072666, 0.06326110661029816, 0.03792037442326546, 0.017474232241511345, -0.015251250006258488, 0.03128528222441673, 0.016357626765966415, -0.017308548092842102, 0.04596888646483421, -0.004526852630078793, -0.2663536071777344, 0.02333749644458294, 0.031153004616498947, 0.0216604582965374, -0.02102632448077202, 0.008696911856532097, 0.04099039360880852, -0.048292044550180435, -0.052484262734651566, -0.0489000603556633, 0.021799921989440918, 0.06983180344104767, 0.04581695422530174, -0.006869303062558174, 0.005249536130577326, -0.01940050907433033, 0.03747444599866867, -0.02984141930937767, -0.005133932456374168, -0.0016162139363586903, 0.04875042289495468, -0.007400630507618189, 0.222627654671669, 0.02414248324930668, 0.02104640007019043, 0.03431566432118416, 0.01652052439749241, 0.02207556925714016, 0.05900275707244873, 0.02199668437242508, 0.012576736509799957, 0.020516324788331985, 0.049332961440086365, -0.03577838093042374, 0.039186928421258926, 0.023301126435399055, -0.0097850626334548, 0.028705231845378876, 0.03709632530808449, -0.04191083833575249, -0.01231286022812128, -0.010744367726147175, -0.018348928540945053, 0.026720339432358742, 0.084864541888237, 0.02686719410121441, -0.020291421562433243, -0.010744460858404636, -0.04830828681588173, 0.028579361736774445, -0.03744858503341675, -0.02101856656372547, 0.0025492848362773657, -0.050976745784282684, 0.010531960055232048, 0.036787863820791245, -0.009006824344396591, -0.021687885746359825, -0.016481531783938408, 0.0162439476698637, 0.036064520478248596, -0.0018311676103621721, 0.10244062542915344, 0.004091684240847826, 0.034233324229717255 ]
[ -0.024790722876787186, 0.018688015639781952, -0.006536572240293026, 0.025266487151384354, -0.0016659583197906613, 0.004093256779015064, 0.017009608447551727, 0.0038947013672441244, -0.021292265504598618, 0.00006432072405004874, -0.016061386093497276, -0.017435794696211815, 0.045680221170186996, -0.033185023814439774, -0.005886143073439598, -0.013289308175444603, 0.013411419466137886, 0.007706715725362301, 0.027414094656705856, -0.020002350211143494, -0.03355587646365166, 0.0015313912881538272, -0.007833805866539478, 0.02977549284696579, 0.010364898480474949, 0.0077772848308086395, -0.017216628417372704, -0.0021172277629375458, 0.01492080744355917, -0.1253841519355774, -0.031977102160453796, -0.022355688735842705, 0.007434576749801636, -0.018668346107006073, -0.0326823852956295, 0.05701875686645508, -0.0006277103093452752, 0.031541623175144196, -0.0041123731061816216, -0.013058125041425228, 0.0048007657751441, -0.006232630927115679, 0.04462484270334244, 0.0004286518960725516, -0.01543452125042677, 0.02340913750231266, 0.02167866937816143, -0.004936532583087683, -0.010884546674787998, 0.00038977444637566805, -0.02433101087808609, 0.04299135133624077, -0.02071332186460495, 0.01836238242685795, 0.03999296575784683, 0.004282671958208084, -0.03648645803332329, -0.038586851209402084, -0.005462902598083019, -0.01274105440825224, -0.02648264169692993, -0.0014513712376356125, -0.035767458379268646, -0.02829672023653984, -0.02684207633137703, -0.0009885061299428344, 0.008574859239161015, -0.007704760413616896, 0.006236042827367783, -0.012850616127252579, -0.0018402189016342163, 0.0493401363492012, -0.05136223882436752, -0.005327076185494661, 0.02629094570875168, 0.010410749353468418, 0.04764402657747269, -0.04397067427635193, 0.026689492166042328, -0.035264212638139725, -0.011516590602695942, -0.014656390994787216, 0.037192750722169876, 0.015826687216758728, -0.028758708387613297, -0.02901281602680683, 0.010251784697175026, 0.01417392399162054, 0.057535942643880844, -0.03423464670777321, 0.012766348198056221, 0.041754722595214844, 0.004561600275337696, 0.026123110204935074, -0.0553615465760231, 0.016919424757361412, -0.015020690858364105, 0.011955760419368744, -0.0049052913673222065, 0.828920304775238, 0.027567928656935692, 0.04192090407013893, 0.005416033323854208, 0.006141803227365017, 0.0011562290601432323, 0.008494546636939049, 0.010662212036550045, -0.0023388899862766266, 0.01539499219506979, -0.03640051931142807, 0.04108558967709541, -0.016403449699282646, 0.0464983768761158, 0.015097797848284245, -0.0016071167774498463, 0.0016722274012863636, 0.0003809385234490037, -0.0056040300987660885, -0.03156094625592232, -0.004057025071233511, -0.038337912410497665, -0.005134265404194593, 0.029320664703845978, 0.019859565421938896, 0.029260393232107162, -0.19576507806777954, -0.018246324732899666, -7.485738309184366e-33, 0.029925482347607613, -0.015195871703326702, 0.04268575832247734, -0.03729872778058052, 0.014323231764137745, 0.002538998844102025, 0.04178723320364952, -0.03582105413079262, -0.021142590790987015, 0.010721547529101372, 0.023511849343776703, -0.007028310559689999, -0.03372460603713989, -0.005611123982816935, 0.03329717367887497, -0.012582969851791859, 0.014796393923461437, 0.015791352838277817, -0.037430208176374435, 0.017636755481362343, -0.002036794787272811, 0.04195201396942139, -0.007345419377088547, 0.00749529292806983, 0.031583480536937714, 0.02063298597931862, 0.006746338214725256, 0.0065626720897853374, 0.009452661499381065, -0.04227380082011223, -0.05639149248600006, 0.03434814512729645, 0.016858592629432678, 0.02343604527413845, 0.01965039037168026, -0.03008016012609005, 0.007391707506030798, 0.016623495146632195, -0.011720318347215652, -0.008769148960709572, -0.010701078921556473, 0.011792169883847237, -0.016766922548413277, -0.04683817923069, -0.003519723191857338, -0.02252841740846634, 0.020315181463956833, 0.06180663779377937, 0.018698928877711296, 0.031034065410494804, 0.039063602685928345, 0.04267330467700958, -0.030140100046992302, 0.020691657438874245, -0.039048485457897186, 0.010954528115689754, -0.007223314139991999, 0.01554681546986103, 0.0006982136401347816, 0.07640635222196579, -0.02763952501118183, 0.0304164569824934, -0.011388595215976238, 0.015621047466993332, -0.03826689347624779, -0.027919866144657135, 0.0014135944657027721, -0.02400740422308445, 0.016358481720089912, 0.036600735038518906, -0.047871675342321396, -0.018847797065973282, -0.02132345922291279, -0.051814865320920944, 0.032046910375356674, -0.026156989857554436, -0.014239020645618439, -0.051385730504989624, 0.010207680985331535, 0.0314454548060894, 0.01146126352250576, -0.02401767484843731, -0.014325592666864395, 0.004958539269864559, -0.03332340717315674, -0.01681581512093544, 0.01543800625950098, 0.014634654857218266, -0.0293250922113657, -0.025780998170375824, -0.009537833742797375, 0.052978795021772385, -0.012507394887506962, 0.0018991319229826331, -0.017757276073098183, 7.55546275660339e-33, -0.024107366800308228, -0.028982780873775482, 0.010193616151809692, 0.020205745473504066, 0.007859365083277225, -0.004614153876900673, 0.026052067056298256, -0.011070583015680313, -0.007005722727626562, 0.032405365258455276, -0.010316569358110428, -0.00234199152328074, -0.02768363058567047, 0.0064197140745818615, 0.06599811464548111, -0.0344361811876297, 0.03366929292678833, 0.019719090312719345, -0.004059673752635717, 0.0055369241163134575, 0.04739079996943474, 0.011042791418731213, 0.005518135614693165, 0.005620730575174093, 0.03019842505455017, 0.028981156647205353, -0.003482191124930978, 0.022575324401259422, 0.009679251350462437, 0.014451601542532444, -0.0016033918363973498, -0.018106458708643913, 0.017727762460708618, -0.013971321284770966, 0.008989173918962479, 0.018852390348911285, 0.023020364344120026, -0.006276601459830999, 0.0009388562175445259, -0.00603136420249939, 0.012674384750425816, -0.02298368513584137, -0.009733042679727077, 0.03723538666963577, 0.002676675096154213, 0.02051328308880329, -0.001682767760939896, -0.0007169602322392166, 0.028144435957074165, 0.04394962638616562, 0.009408817626535892, 0.014138665050268173, -0.015713123604655266, 0.03017704375088215, -0.014385603368282318, -0.019508540630340576, -0.041252560913562775, 0.022133052349090576, -0.019106652587652206, 0.00014066377480048686, -0.05528498440980911, -0.0276393610984087, -0.024633539840579033, 0.021057361736893654, 0.005516274366527796, 0.007393356878310442, -0.02657613344490528, -0.053348761051893234, -0.004360879771411419, 0.029260538518428802, -0.03539491444826126, -0.006796336732804775, 0.0058146207593381405, 0.020927544683218002, -0.02762901969254017, -0.021736565977334976, -0.01681499183177948, -0.021111220121383667, 0.04612027853727341, 0.01170370914041996, 0.01815660484135151, -0.01088721677660942, 0.06820646673440933, 0.0014896432403475046, -0.01642169989645481, -0.016609283164143562, 0.02815958298742771, 0.027386102825403214, 0.04888419806957245, 0.02099030092358589, -0.02522285468876362, -0.021649088710546494, 0.04171126335859299, -0.008695926517248154, -0.039696238934993744, -1.2934343374126911e-8, -0.03070053644478321, -0.0320366695523262, -0.02805989421904087, 0.027819201350212097, -0.01877547800540924, 0.032762281596660614, -0.02050314098596573, -0.009538410231471062, -0.018530065193772316, 0.0031706809531897306, 0.006439716089516878, 0.006794778164476156, -0.0014316097367554903, 0.024272385984659195, 0.021875912323594093, -0.042378928512334824, 0.04003289341926575, -0.034855037927627563, 0.020655473694205284, -0.022105885669589043, -0.0428478866815567, 0.014020567759871483, -0.0025607352145016193, 0.016115933656692505, -0.036974962800741196, -0.023112189024686813, 0.03936243802309036, -0.10350523144006729, -0.006320775020867586, 0.015054515562951565, -0.030141711235046387, -0.04158623144030571, -0.017612004652619362, 0.018783975392580032, -0.017116418108344078, -0.0028994285967200994, -0.011894728988409042, 0.049114927649497986, 0.0667055994272232, -0.0068198745138943195, -0.03004048764705658, 0.00455003697425127, 0.007584428880363703, -0.021762054413557053, -0.015891237184405327, -0.01547668594866991, -0.012917928397655487, -0.017439039424061775, 0.038781117647886276, -0.040954940021038055, 0.034153521060943604, 0.004126896150410175, 0.008556963875889778, -0.042778756469488144, 0.017328010872006416, 0.022374805063009262, -0.013468998484313488, -0.03364696353673935, 0.013655750080943108, -0.022860242053866386, -0.0034879015292972326, 0.0032408866100013256, -0.030816875398159027, -0.040963392704725266 ]
haskell-writing-a-custom-equality-operator
https://markhneedham.com/blog/2012/05/16/haskell-writing-a-custom-equality-operator
false
2012-05-28 11:18:13
Haskell: Finding the minimum & maximum values of a Foldable in one pass
[ "haskell" ]
[ "Haskell" ]
I recently came across Dan Piponi's blog post 'http://blog.sigfpe.com/2009/01/haskell-monoids-and-their-uses.html[Haskell Monoids & their Uses]' and towards the end of the post he suggests creating monoids to work out the maximum and minimum values of a Foldable value in one pass. ____ The +++<cite>+++http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Data-Foldable.html[Foldable]+++</cite>+++ type class provides a generic approach to walking through a datastructure, accumulating values as we go. The foldMap function applies a function to each element of our structure and then accumulates the return values of each of these applications. ____ A list is one example of a type which implements the Foldable type class like so: [source,haskell] ---- instance Foldable [] where foldr = Prelude.foldr foldl = Prelude.foldl foldl' = List.foldl' foldr1 = Prelude.foldr1 foldl1 = Prelude.foldl1 ---- In this case it delegates all of the Foldable functions to previously defined functions from the Prelude or List modules. The 'foldMap' function mentioned above has the following default implementation: [source,haskell] ---- foldMap :: Monoid m => (a -> m) -> t a -> m foldMap f = foldr (mappend . f) mempty ---- Dan shows an example where we use 'foldMap' to check whether any values in a Foldable have the value 1 by using the 'Any' monoid: [source,haskell] ---- > foldMap (Any . (== 1)) [1..20] Any {getAny = True} ---- I couldn't quite understand how it worked so I expanded the 'foldMap' definition which results in the following: [source,haskell] ---- > Data.Foldable.foldr (\x acc -> acc `mappend` (Any . (== 1)) x) mempty [1..20] Any {getAny = True} ---- So we're folding over the list with an initial seed value of 'Any False' as that's what mempty will evaluate to. For each value we're then calling 'mappend' with two 'Any' values and passing on the result. So in this example it would go like this: [source,haskell] ---- Any False `mappend` (Any . (==1)) 20 => Any False `mappend` Any False => Any False Any False `mappend` (Any . (==1)) 19 => Any False `mappend` Any False => Any False ... Any False `mappend` (Any . (==1)) 1 => Any False `mappend` Any True => Any True ---- In our case we need to define our own monoids to keep track of the maximum value in a Foldable: [source,haskell] ---- import Data.Monoid import Data.Foldable data MaxSoFar a = MaxSoFar { getMaxSoFar :: a } deriving (Eq, Ord, Read, Show, Bounded) instance (Num a, Ord a, Bounded a) => Monoid (MaxSoFar a) where mempty = MaxSoFar (minBound) MaxSoFar x `mappend` MaxSoFar y = MaxSoFar (max x y) ---- We set 'mempty' to the minimum possible Int value so that anything Int value compared to it will automatically become the max value when it gets compared to that. For 'mappend' we take the values stored in the two 'MaxSoFar' instances and then select the maximum and return a new MaxSoFar. We call foldMap like so: [source,haskell] ---- > foldMap (MaxSoFar) ([1..20] :: [Int]) MaxSoFar {getMaxSoFar = 20} ---- MinSoFar is pretty similar in design: [source,haskell] ---- data MinSoFar a = MinSoFar { getMinSoFar :: a } deriving (Eq, Ord, Read, Show, Bounded) instance (Num a, Ord a, Bounded a) => Monoid (MinSoFar a) where mempty = MinSoFar maxBound MinSoFar x `mappend` MinSoFar y = MinSoFar (min x y) ---- And we can then combine them together like this: [source,haskell] ---- > foldMap (\x -> (MaxSoFar x, MinSoFar x)) ([1..20] :: [Int]) (MaxSoFar {getMaxSoFar = 20},MinSoFar {getMinSoFar = 1}) ---- This works because we can make use of what Dan calls the 'Product Monoid', which is a Monoid instance for a tuple: [source,haskell] ---- instance (Monoid a, Monoid b) => Monoid (a,b) where mempty = (mempty, mempty) (a1,b1) `mappend` (a2,b2) = (a1 `mappend` a2, b1 `mappend` b2) ---- So in our example the fold would go like this: [source,haskell] ---- (MaxSoFar -9223372036854775808, MinSoFar 9223372036854775807) `mappend` (MaxSoFar 20, MinSoFar 20) => (MaxSoFar 20, MinSoFar 20) (MaxSoFar 20, MinSoFar 20) `mappend` (MaxSoFar 19, MinSoFar 19) => (MaxSoFar 20, MinSoFar 19) ... (MaxSoFar 20, MinSoFar 2) `mappend` (MaxSoFar 1, MinSoFar 1) => (MaxSoFar 20, MinSoFar 1) ---- We could probably achieve the same thing without using monoids but I think this approach is pretty neat.
null
null
[ -0.028101321309804916, 0.0033823580015450716, -0.031755827367305756, 0.029878756031394005, 0.0467996820807457, 0.03174012899398804, 0.016855504363775253, 0.009124846197664738, 0.013641919009387493, -0.02701536938548088, 0.04091247543692589, -0.011691449210047722, -0.05800219252705574, 0.027293460443615913, -0.007692639250308275, 0.047644730657339096, 0.05846230313181877, -0.02638038992881775, -0.019947566092014313, 0.01282109972089529, 0.009124343283474445, 0.03106902725994587, -0.011774016544222832, 0.015527622774243355, 0.02140991762280464, 0.030139125883579254, 0.025992557406425476, 0.018887149170041084, -0.02421553060412407, 0.004652252420783043, 0.0334649533033371, 0.02018161118030548, 0.0023508428130298853, -0.02896490879356861, 0.02477414533495903, -0.0004285587929189205, 0.00645712623372674, -0.01792709343135357, -0.014153442345559597, 0.010142771527171135, -0.06785735487937927, 0.020422784611582756, 0.01871902495622635, 0.02625737152993679, -0.042884036898612976, -0.012539912946522236, -0.03309479355812073, 0.02343713864684105, -0.042383719235658646, 0.010478970594704151, -0.05144260451197624, 0.027363672852516174, -0.04041305556893349, 0.004276852589100599, -0.02370617352426052, 0.043278615921735764, 0.029858851805329323, -0.10358952730894089, 0.04865429550409317, -0.037414535880088806, -0.0043542468920350075, 0.0046635777689516544, 0.02670861966907978, 0.012405709363520145, -0.0018862809520214796, 0.008329270407557487, -0.03519386053085327, 0.02803346887230873, -0.059083350002765656, -0.028675856068730354, -0.020914878696203232, 0.012927263043820858, -0.030057094991207123, -0.011587204411625862, 0.015283716842532158, -0.039951227605342865, -0.01992342621088028, 0.06952717155218124, 0.015262252651154995, 0.027182769030332565, -0.019891880452632904, 0.00472607184201479, 0.025533784180879593, 0.034591592848300934, 0.0024545909836888313, -0.031513310968875885, -0.03178415820002556, 0.02204754389822483, -0.0442613810300827, 0.04291794076561928, 0.031001990661025047, -0.06545176357030869, -0.01340961642563343, 0.0047475602477788925, 0.013618730939924717, 0.004638402257114649, -0.009484576992690563, 0.007545847911387682, -0.0006009511416777968, -0.0173103678971529, -0.03118842840194702, -0.022698096930980682, 0.009442121721804142, -0.025074798613786697, -0.07527337968349457, -0.0375346802175045, -0.06302445381879807, -0.019200915470719337, 0.021826956421136856, 0.013967707753181458, -0.02045506238937378, -0.008629622869193554, -0.024969305843114853, 0.001096367253921926, -0.0760202705860138, 0.07480978965759277, 0.031444184482097626, 0.0038937197532504797, 0.013587969355285168, 0.027158252894878387, 0.05229276418685913, 0.03362515941262245, -0.008999061770737171, 0.07561531662940979, 0.033635225147008896, 0.03652433678507805, -0.017256734892725945, 0.033834878355264664, -0.02539968118071556, -0.08017127960920334, -0.013607507571578026, 0.04918627068400383, -0.020907655358314514, 0.02560039982199669, -0.007335901726037264, -0.011384046636521816, -0.06155364215373993, 0.006062673404812813, 0.05204588174819946, 0.034594565629959106, 0.003429905278608203, -0.029683172702789307, 0.031911641359329224, -0.03421694412827492, 0.02730698511004448, 0.007101329043507576, 0.0008075540536083281, -0.018045777454972267, -0.049671221524477005, 0.033847734332084656, 0.0223728995770216, 0.027342550456523895, 0.05103016644716263, -0.006855171173810959, 0.05174541100859642, 0.08273304998874664, 0.0360955074429512, 0.008982155472040176, 0.028133420273661613, 0.017136475071310997, 0.031298380345106125, 0.029666179791092873, 0.021907320246100426, 0.020252306014299393, 0.04312595725059509, -0.005363257136195898, -0.0032053173054009676, 0.06450261920690536, -0.006798473186790943, -0.05050065368413925, -0.04374178498983383, -0.05362021550536156, 0.05094020441174507, -0.0344647541642189, 0.01668374054133892, -0.0064366222359240055, 0.07479455322027206, 0.013998311012983322, 0.03926193341612816, -0.015409568324685097, -0.07672160118818283, 0.01290824543684721, 0.007340304087847471, 0.02016657032072544, -0.004183758981525898, 0.0009978655725717545, 0.057713236659765244, 0.0349159799516201, 0.016823722049593925, 0.03674399480223656, -0.05429530888795853, -0.06465223431587219, -0.01838771067559719, -0.03222523629665375, 0.06760542094707489, -0.025510510429739952, -0.025400562211871147, 0.08522544056177139, 0.03533324971795082, 0.017143849283456802, 0.006493489257991314, 0.004097149707376957, 0.016427231952548027, -0.012671955861151218, -0.025650303810834885, 0.0499340295791626, 0.06753476709127426, -0.015476909466087818, -0.03646230697631836, -0.007994488812983036, 0.008947817608714104, -0.012415398843586445, 0.030284622684121132, -0.01787063665688038, 0.038385774940252304, 0.043053966015577316, 0.03077618218958378, -0.013206461444497108, 0.03671755641698837, -0.045471858233213425, 0.053173862397670746, 0.018664421513676643, -0.020211538299918175, -0.0023070729803293943, 0.0016997825587168336, 0.12783712148666382, 0.06171134114265442, -0.04311922565102577, -0.04771360009908676, 0.03793296217918396, 0.007470712531358004, -0.019221382215619087, 0.014366969466209412, -0.0014295910950750113, -0.01715908944606781, -0.030495701357722282, -0.0087504917755723, -0.00466421851888299, 0.03503994643688202, -0.033760398626327515, -0.008624827489256859, 0.07316313683986664, -0.039601486176252365, 0.04810032248497009, 0.007599569857120514, -0.037373580038547516, 0.009391586296260357, -0.02420106530189514, -0.05107386037707329, -0.005724950227886438, 0.012456700205802917, -0.010388748720288277, 0.04288516566157341, -0.033500052988529205, -0.021469445899128914, -0.004379434045404196, -0.019264621660113335, -0.003905738703906536, 0.060380518436431885, 0.07524419575929642, -0.01933716982603073, 0.058763522654771805, -0.03306782990694046, -0.005102645605802536, -0.02721339836716652, -0.06774041801691055, -0.044586431235075, 0.0037012891843914986, 0.02364247292280197, 0.04466155543923378, 0.05707371607422829, -0.0042391312308609486, 0.00848801713436842, -0.011268062517046928, 0.0018055466935038567, -0.009935731068253517, 0.005288153421133757, -0.008565188385546207, -0.07024580985307693, -0.02778276987373829, -0.04955381155014038, 0.08377966284751892, -0.01245952770113945, -0.059234485030174255, -0.005188289098441601, -0.02841540053486824, 0.0543762631714344, -0.07711537927389145, -0.03585754334926605, 0.02113141305744648, 0.04497716575860977, 0.044846311211586, -0.017804954200983047, 0.0034631320741027594, 0.07217738032341003, 0.002924469532445073, 0.015086046420037746, 0.006430679466575384, -0.008916616439819336, 0.03251255303621292, -0.03187789022922516, 0.013142155483365059, 0.04046228900551796, -0.01611063815653324, 0.014697124250233173, -0.03575008362531662, 0.022879919037222862, -0.00674864649772644, -0.28161394596099854, 0.005038992036134005, -0.020329121500253677, -0.029946476221084595, -0.007808984722942114, -0.02582189440727234, -0.01119370199739933, -0.040094297379255295, -0.02456275001168251, 0.002208708319813013, -0.03706603869795799, -0.027103470638394356, -0.04697057604789734, 0.04811251908540726, 0.033657681196928024, 0.014639350585639477, -0.001996604958549142, -0.013126595877110958, 0.002190257189795375, 0.05412224680185318, -0.025827599689364433, -0.07854818552732468, -0.01206165924668312, 0.04203886538743973, -0.008012788370251656, 0.015493345446884632, -0.08928722888231277, 0.02287212386727333, -0.04408227279782295, -0.02891848422586918, -0.013301454484462738, -0.0011857685167342424, 0.0157913975417614, -0.016981128603219986, -0.006445020902901888, -0.02271720953285694, 0.015604299493134022, 0.029091572389006615, 0.026270302012562752, 0.05050337687134743, -0.004671173635870218, -0.0442916564643383, -0.014603833667933941, 0.0039482335560023785, 0.08227722346782684, -0.016745492815971375, -0.06871616840362549, -0.008942036889493465, -0.025542907416820526, 0.07709303498268127, -0.01071846205741167, -0.061708081513643265, -0.02480768784880638, 0.04799060896039009, 0.00819946825504303, 0.001145034795626998, -0.016060875728726387, -0.03415351361036301, -0.051486000418663025, -0.011014603078365326, -0.011103316210210323, -0.04076032340526581, -0.032700926065444946, -0.06020471826195717, -0.023455830290913582, -0.04363023489713669, -0.09474828839302063, -0.007922290824353695, 0.04470892623066902, 0.017071815207600594, -0.014140063896775246, -0.010825732722878456, -0.026075467467308044, -0.12334135174751282, -0.011245920322835445, -0.024938341230154037, -0.02854163385927677, -0.012463489547371864, 0.028672242537140846, 0.08577471971511841, -0.05519542470574379, -0.058574315160512924, 0.03190082311630249, -0.020423153415322304, 0.01835602894425392, -0.012801241129636765, 0.00934781413525343, -0.024894973263144493, -0.0026924333069473505, -0.027944637462496758, 0.04602580890059471, -0.0016941844951361418, -0.011988678947091103, -0.017085837200284004, 0.017572924494743347, 0.008276183158159256, 0.011847208254039288, 0.0017952237976714969, 0.022682489827275276, 0.03901742026209831, 0.022631723433732986, -0.05284291133284569, 0.024702128022909164, -0.017922142520546913, -0.034963712096214294, 0.0007530312286689878, -0.05933962017297745, 0.027308035641908646, 0.04042255878448486, 0.020507903769612312, -0.02173912711441517, -0.04458540305495262, 0.011186186224222183, -0.06089691072702408, -0.0132836252450943, -0.02843317575752735, 0.003781745443120599, 0.04613727331161499, 0.0022892190609127283, -0.015540598891675472, -0.060265909880399704, 0.0015933789545670152, -0.0018467230256646872, -0.011284654960036278, -0.021595381200313568, 0.003397958353161812, -0.02277473732829094, 0.00786465872079134, 0.009510846808552742, 0.02536228485405445, -0.01661045290529728, 0.004426904022693634, 0.011260583996772766, -0.027995454147458076, 0.03514435887336731, -0.00265023042447865, -0.031713515520095825, -0.022972630336880684, -0.03261139616370201, -0.05188034474849701, 0.03354910761117935, -0.017131388187408447, 0.03662751242518425, -0.0046140281483531, 0.05147649347782135, -0.008787460625171661, 0.007274193223565817, 0.049435704946517944, 0.00016671566118020564, 0.018999071791768074, 0.0024029577616602182, -0.046837568283081055, -0.0045301057398319244, -0.020863402634859085, -0.006878910586237907, 0.0038172085769474506, 0.03726905211806297, -0.02414623647928238, -0.030130404978990555, -0.06641016900539398, 0.021082580089569092, -0.022626692429184914, -0.05076688155531883, -0.025533827021718025, 0.01155945099890232, 0.06257994472980499, -0.027242891490459442, 0.045189596712589264, -0.0021857330575585365, -0.007593235932290554, 0.0018662895308807492, 0.011839129962027073, -0.04543651267886162, 0.04064260050654411, -0.010607896372675896, -0.01893533207476139, 0.01048761885613203, 0.033103954046964645, 0.03625715523958206, 0.03196677193045616, 0.003966934513300657, -0.021524867042899132, 0.008475996553897858, 0.012466066516935825, 0.058693788945674896, 0.026520924642682076, -0.0107371611520648, 0.013710116036236286, -0.03724976256489754, -0.021657316014170647, -0.03389798104763031, -0.009366397745907307, -0.02278015948832035, 0.017568809911608696, -0.03544367849826813, -0.061574678868055344, 0.02234322763979435, 0.00417319918051362, 0.005256255157291889, 0.004996045492589474, 0.02196020819246769, -0.029932979494333267, 0.004198064561933279, 0.01585639826953411, 0.07475882768630981, -0.05725467577576637, 0.005242552142590284, 0.013706402853131294, 0.011671436950564384, 0.016221532598137856, 0.04874800518155098, -0.04646611958742142, -0.01758350431919098, -0.005442202556878328, -0.0025709099136292934, -0.024406401440501213, -0.019233951345086098, -0.02600967511534691, 0.008473970927298069, 0.0025500787887722254, -0.030857805162668228, -0.01682569831609726, -0.025794630870223045, -0.02035372704267502, -0.028036823496222496, 0.0026122943963855505, -0.06363952904939651, -0.009811523370444775, 0.05509914085268974, -0.045489899814128876, 0.052598461508750916, -0.026340994983911514, 0.02174326404929161, 0.025718512013554573, -0.020697515457868576, -0.010446986183524132, -0.05465054512023926, 0.030038895085453987, -0.04834587499499321, 0.049463387578725815, -0.007266751956194639, -0.016900045797228813, -0.018966272473335266, 0.006042247172445059, -0.063807912170887, 0.005252750124782324, 0.010672328993678093, -0.03033263422548771, 0.03412887081503868, 0.035779889672994614, -0.014213457703590393, 0.04731820151209831, -0.02096862718462944, -0.019476553425192833, 0.04445002228021622, 0.0007492833537980914, -0.03899247944355011, -0.021007180213928223, -0.04106174409389496, 0.01026575081050396, -0.00009707889694254845, 0.03683457523584366, -0.015366856008768082, 0.04093775525689125, 0.04382403939962387, 0.022183669731020927, 0.04411374405026436, -0.018734291195869446, 0.04412364959716797, -0.026684695854783058, -0.004322805907577276, -0.09062395989894867, -0.008451569825410843, 0.004148848820477724, 0.0006645476678386331, -0.032820168882608414, -0.0021488580387085676, -0.027969811111688614, 0.037266805768013, -0.06451094150543213, -0.023910071700811386, 0.03282421827316284, 0.017691176384687424, 0.01658191904425621, 0.0069024343974888325, -0.04888748750090599, 0.01968824863433838, 0.0028325356543064117, -0.01342319417744875, -0.01988404057919979, -0.011943242512643337, 0.015818871557712555, 0.0018330846214666963, 0.01578410342335701, -0.009464026428759098, 0.023711368441581726, 0.0518697127699852, 0.026283692568540573, 0.015021230094134808, 0.06183445453643799, 0.011131725274026394, 0.033205337822437286, 0.01909017004072666, 0.01550341583788395, -0.007113912608474493, 0.025524700060486794, -0.031082410365343094, -0.06883209943771362, 0.03480420261621475, 0.024721184745430946, -0.041024308651685715, -0.03982197493314743, 0.07511106878519058, 0.028241164982318878, -0.01013350859284401, -0.05663280934095383, 0.02509976737201214, -0.05071185156702995, 0.009910671040415764, -0.008432118222117424, 0.004750798922032118, -0.028723133727908134, 0.0407407321035862, -0.009478477761149406, -0.02348213829100132, 0.05571548268198967, 0.017126906663179398, -0.018028803169727325, -0.012591391801834106, 0.11687812954187393, 0.09037645906209946, 0.06273508071899414, 0.005726259667426348, 0.04225176200270653, -0.05382411926984787, -0.052291348576545715, -0.0052367509342730045, -0.017865823581814766, -0.01730957254767418, -0.024362532421946526, 0.038503143936395645, 0.07964916527271271, -0.038735128939151764, 0.05044978857040405, -0.026990681886672974, -0.012375295162200928, -0.01375302392989397, 0.03280755877494812, 0.016378289088606834, 0.04395712539553642, 0.04351227730512619, 0.036647528409957886, -0.002725698286667466, -0.04013966768980026, 0.0315680131316185, -0.0069892373867332935, -0.023906169459223747, -0.015861885622143745, 0.0124947689473629, 0.013722273521125317, 0.023687077686190605, 0.047675613313913345, 0.055903360247612, -0.022217005491256714, 0.01430854294449091, 0.01785154640674591, 0.0026411735452711582, -0.013991623185575008, 0.012444906868040562, -0.022710219025611877, -0.0398738794028759, 0.009283267892897129, -0.0057592433877289295, -0.0055132959969341755, -0.005864605773240328, -0.038283463567495346, 0.0565185621380806, -0.037629906088113785, -0.015313807874917984, 0.029583700001239777, -0.03237738460302353, -0.06610862165689468, -0.06208069622516632, -0.03520499914884567, -0.01761549897491932, -0.08090876787900925, 0.016186080873012543, 0.015048656612634659, -0.029199469834566116, -0.011669907718896866, -0.047045689076185226, 0.019754542037844658, -0.021372776478528976, 0.057908471673727036, -0.005614828318357468, -0.030820442363619804, 0.008066102862358093, 0.014988712035119534, 0.04139484092593193, 0.04560171440243721, 0.05018103867769241, 0.004258220549672842, 0.009379343129694462, -0.028950707986950874, -0.022778933867812157, 0.02797875367105007, 0.033638373017311096, 0.016698328778147697, -0.07624927163124084, 0.0017499064560979605, 0.03177051246166229, 0.024676688015460968, -0.08903497457504272, 0.006541157606989145, 0.01548841129988432, 0.009032824076712132, 0.041525743901729584, 0.012472378090023994, -0.009413188323378563, -0.02365666814148426, -0.010533466003835201, 0.009114803746342659, 0.011985122226178646, 0.06150634214282036, -0.03448513150215149, 0.089558444917202, 0.012643287889659405, -0.03294521942734718, -0.02464963123202324, 0.009735106490552425, -0.049479249864816666, 0.029862796887755394, -0.0543653704226017, -0.009287734515964985, -0.035480815917253494, -0.04551813006401062, -0.017645971849560738, 0.012231392785906792, -0.047947533428668976, -0.01121215894818306, 0.024547429755330086, 0.06853334605693817, -0.050505802035331726, 0.05496849864721298, -0.039146848022937775, 0.02493075281381607, -0.013750058598816395, -0.026045847684144974, -0.017821289598941803, 0.008785955607891083, 0.001077790162526071, 0.017474567517638206, 0.02371644414961338, -0.03852878510951996, 0.0029100629035383463, -0.002080455655232072, 0.03432047367095947, 0.00682970741763711, -0.0019432147964835167, 0.029005596414208412 ]
[ -0.10400225222110748, -0.04992319643497467, -0.025122301653027534, -0.024223046377301216, -0.021797938272356987, -0.020970717072486877, -0.00026138994144275784, 0.061813004314899445, -0.016533609479665756, -0.0388515368103981, -0.008377935737371445, -0.04150599613785744, 0.005233025643974543, -0.005800510756671429, 0.07936467230319977, 0.004403551109135151, -0.04698984697461128, -0.018706731498241425, -0.043330296874046326, 0.004146544728428125, 0.044245634227991104, -0.04427481070160866, -0.06403562426567078, -0.044721364974975586, 0.0460849404335022, 0.027007674798369408, 0.04429880157113075, -0.037388380616903305, 0.028211504220962524, -0.24721196293830872, -0.01402366254478693, 0.009047144092619419, 0.055298544466495514, -0.05551324412226677, -0.000835080340038985, 0.04274533689022064, 0.018002191558480263, 0.0018978717271238565, -0.037657711654901505, 0.08496348559856415, 0.035963866859674454, 0.0073259915225207806, -0.02112702839076519, 0.007610526401549578, 0.03270184248685837, 0.005252776201814413, -0.05144383758306503, -0.04404667019844055, -0.0004521169466897845, 0.012827436439692974, -0.07406913489103317, 0.028331471607089043, -0.026929181069135666, -0.00807549711316824, 0.0012945197522640228, 0.032421279698610306, 0.025337843224406242, 0.09056366235017776, -0.00392954982817173, 0.028644101694226265, 0.01077874843031168, 0.00461940374225378, -0.09345278143882751, 0.11054015904664993, 0.0014359221095219254, 0.07587048411369324, -0.01617465727031231, -0.03623531758785248, -0.03806246444582939, 0.08616914600133896, 0.03320157155394554, -0.024790935218334198, -0.004863901529461145, 0.03728067874908447, 0.026229389011859894, -0.040973104536533356, -0.009220428764820099, -0.015572634525597095, 0.07451360672712326, -0.023951314389705658, -0.04050566628575325, -0.017296021804213524, 0.008118019439280033, -0.017319247126579285, 0.024410009384155273, 0.01394882146269083, -0.01446037832647562, 0.017637863755226135, 0.014987165108323097, -0.009923246689140797, 0.029315447434782982, -0.025076566264033318, 0.012707185931503773, 0.026027312502264977, -0.09826675057411194, 0.02123151160776615, -0.016117103397846222, 0.019544627517461777, -0.03615455701947212, 0.3736393451690674, -0.0592053197324276, -0.015320800244808197, 0.05300021916627884, 0.01551502849906683, -0.020633075386285782, 0.009964521043002605, -0.023665210232138634, -0.05246647447347641, -0.015871752053499222, -0.05491701140999794, -0.022875629365444183, -0.05379370599985123, 0.06591399759054184, -0.04673859477043152, -0.0068373610265553, -0.014083705842494965, 0.03196762129664421, -0.010693508200347424, 0.01569124311208725, 0.011403512209653854, -0.005322942975908518, 0.030569467693567276, 0.02741885930299759, 0.04024917632341385, 0.010391323827207088, 0.03443072363734245, 0.012924101203680038, 0.051497723907232285, 0.02841314859688282, 0.06964366137981415, 0.04364650696516037, -0.04017525538802147, -0.03662226349115372, -0.02173493430018425, 0.018111150711774826, -0.0032621982973068953, 0.03069496899843216, -0.02704302780330181, 0.03983670100569725, 0.014055552892386913, -0.022435959428548813, -0.01870577596127987, 0.004740867763757706, -0.028134966269135475, -0.04900670796632767, 0.13455693423748016, -0.022848794236779213, -0.015015533193945885, -0.024038001894950867, -0.02036122977733612, 0.010730222798883915, 0.028798222541809082, -0.0017645530169829726, -0.07424773275852203, 0.02208353579044342, 0.05736793950200081, 0.06918950378894806, -0.011639460921287537, -0.07994076609611511, -0.00807134062051773, -0.0442001149058342, 0.00872703269124031, -0.035803720355033875, 0.09419753402471542, 0.011299025267362595, -0.08573903888463974, -0.02573888748884201, 0.002625503111630678, 0.013668998144567013, -0.07599795609712601, -0.01632886566221714, 0.029982151463627815, -0.02311970293521881, 0.002329418668523431, 0.034935131669044495, -0.0017024042317643762, -0.04223429039120674, -0.020761510357260704, 0.04103907570242882, 0.012507427483797073, -0.02751528099179268, 0.004441327881067991, -0.06784478574991226, -0.0007757418788969517, -0.018451279029250145, -0.04312777891755104, -0.05726161226630211, 0.0013221489498391747, -0.016803385689854622, -0.025362899526953697, 0.026170819997787476, -0.0038192018400877714, -0.06229003891348839, 0.03560439497232437, -0.052269306033849716, -0.012049623765051365, 0.04525730013847351, -0.032396864145994186, -0.018027732148766518, -0.003248575609177351, -0.026173049584031105, 0.049760639667510986, 0.012808619998395443, 0.03657187521457672, -0.044094402343034744, -0.0049580736085772514, 0.03570721298456192, -0.049104057252407074, 0.06315616518259048, 0.03616557642817497, 0.010106854140758514, 0.015727102756500244, -0.057241421192884445, 0.007874662056565285, 0.021519597619771957, -0.015951327979564667, 0.02954072132706642, -0.013928227126598358, -0.006793612614274025, 0.010573232546448708, -0.010547776706516743, -0.0683678537607193, -0.05445028096437454, -0.361397922039032, -0.04482121020555496, -0.00360795552842319, -0.03094889409840107, -0.019519466906785965, -0.07883903384208679, -0.001053327927365899, -0.009066998027265072, -0.031283263117074966, 0.006918027065694332, 0.05064830929040909, -0.005022423807531595, -0.02850615791976452, -0.06737478822469711, -0.015075135976076126, 0.04052344337105751, -0.02194381318986416, -0.059526391327381134, -0.01359634194523096, 0.03382374346256256, 0.010693748481571674, 0.017103523015975952, 0.010628195479512215, -0.0817749947309494, 0.0025138419587165117, -0.046393223106861115, 0.11246152222156525, -0.02224491909146309, 0.1162702664732933, -0.013292700052261353, 0.06659974157810211, -0.019196905195713043, -0.015717938542366028, -0.03487947955727577, -0.02100580744445324, -0.040200792253017426, -0.02340550161898136, -0.047808900475502014, 0.041781023144721985, -0.02033020369708538, -0.047877244651317596, 0.0005801511579193175, -0.04051235690712929, -0.05803098902106285, -0.01814076118171215, -0.000702566234394908, -0.002386684762313962, -0.032250769436359406, -0.01644868031144142, 0.09573953598737717, 0.013510847464203835, -0.011228951625525951, 0.019340740516781807, 0.005626910366117954, -0.008216056041419506, -0.02126392535865307, -0.016631532460451126, -0.06854788959026337, -0.021403156220912933, 0.011125587858259678, 0.03188375011086464, 0.06457951664924622, 0.04236091300845146, -0.010653368197381496, 0.004368909168988466, 0.007664750330150127, 0.005013464484363794, -0.017502913251519203, 0.0023247634526342154, -0.06981616467237473, -0.008187157101929188, 0.10079534351825714, -0.006429352797567844, 0.008081384003162384, 0.04629857465624809, 0.052311282604932785, -0.026013102382421494, 0.04649411141872406, 0.05586562305688858, 0.030810879543423653, -0.021157361567020416, 0.04732142388820648, 0.014669559895992279, -0.0613459050655365, -0.005449383053928614, 0.016800401732325554, -0.019208993762731552, 0.01277164462953806, 0.013222966343164444, -0.011398116126656532, 0.003859644290059805, 0.040498875081539154, 0.02787042409181595, -0.057379744946956635, 0.05739154294133186, -0.009061114862561226, -0.23457492887973785, 0.02783861756324768, 0.0558488629758358, 0.03157270699739456, -0.010411442257463932, 0.05259563773870468, 0.03293992206454277, -0.04177039861679077, -0.03076968528330326, -0.02459973841905594, 0.04065631330013275, 0.0658261701464653, 0.04083283245563507, 0.04300731047987938, 0.050543081015348434, -0.02454264834523201, 0.08750727772712708, -0.002358279889449477, 0.02164381928741932, 0.0031270934268832207, 0.04100080579519272, -0.005193330813199282, 0.21412727236747742, 0.002900936873629689, 0.026748165488243103, 0.023683326318860054, 0.015028359368443489, 0.011666838079690933, 0.047821126878261566, 0.01882856898009777, 0.029750000685453415, -0.0010496273171156645, 0.05954042449593544, 0.015256082639098167, 0.03973981365561485, 0.02021476998925209, -0.0025363697204738855, 0.031755056232213974, 0.015222831629216671, -0.00969122163951397, -0.01538318581879139, 0.0027263443917036057, -0.037258245050907135, 0.04770380258560181, 0.06148279458284378, 0.008386556059122086, -0.02187388576567173, -0.041787486523389816, -0.03921660780906677, 0.02766646444797516, 0.006491333246231079, -0.03184295818209648, -0.011608576402068138, -0.011499245651066303, -0.007092648185789585, 0.012200693599879742, 0.01740129478275776, -0.031484730541706085, -0.007815856486558914, 0.025155959650874138, 0.04020644724369049, -0.03128445893526077, 0.06348370015621185, 0.02930406481027603, 0.0728301927447319 ]
[ -0.020133191719651222, 0.023523658514022827, 0.013365978375077248, 0.03454161435365677, -0.03159639611840248, -0.010412458330392838, 0.011035025119781494, 0.06779585033655167, -0.047581981867551804, 0.008477319031953812, -0.013875861652195454, -0.03382999449968338, 0.020479654893279076, -0.015166027471423149, 0.023645490407943726, 0.050597257912158966, -0.0197257399559021, 0.008259976282715797, -0.0017761210910975933, -0.025117451325058937, 0.003153291530907154, 0.005534166004508734, -0.002124841557815671, 0.018056528642773628, -0.0006696616765111685, 0.046511419117450714, -0.05561322346329689, -0.03755133971571922, 0.03144069015979767, -0.09548287838697433, -0.03188339248299599, 0.006251461338251829, 0.033107005059719086, -0.018783900886774063, 0.005509606096893549, 0.08266188949346542, -0.01657753251492977, 0.024436142295598984, -0.02143826335668564, -0.00802832655608654, -0.0071538588963449, 0.007166404277086258, 0.02644890360534191, -0.009491126984357834, -0.0024467771872878075, -0.002515795873478055, 0.020807428285479546, -0.026140471920371056, -0.003809128887951374, 0.05118393898010254, -0.0013960093492642045, 0.06041540950536728, 0.010583939962089062, 0.009422974660992622, -0.015857651829719543, 0.008828630670905113, -0.02774352766573429, -0.053973596543073654, -0.031939148902893066, 0.01888349838554859, -0.04299714043736458, 0.003296253504231572, -0.04302182048559189, -0.023884844034910202, -0.005137111060321331, 0.03019694797694683, 0.013157416135072708, -0.02188858762383461, 0.0044865841045975685, 0.002021860796958208, 0.010342737659811974, 0.01236059982329607, -0.05899583175778389, -0.06706506758928299, 0.01120127271860838, -0.020957540720701218, 0.07267307490110397, -0.07252838462591171, 0.009197833947837353, -0.0012233887100592256, -0.008935262449085712, 0.01277120504528284, 0.032886434346437454, 0.010595458559691906, -0.007946345023810863, -0.032596785575151443, 0.0020704460330307484, 0.001346650067716837, 0.03191691264510155, 0.010886683128774166, 0.0019252733327448368, 0.026187924668192863, 0.014816105365753174, 0.03574594110250473, -0.052461378276348114, 0.04226129129528999, 0.0024838398676365614, 0.00425801333039999, -0.002177855698391795, 0.7983741164207458, -0.0007014008006080985, 0.07319039106369019, 0.040189001709222794, 0.02443835698068142, 0.0007804399938322604, -0.009923417121171951, -0.0038559704553335905, -0.03845465928316116, -0.043947797268629074, -0.03684138506650925, 0.04816628247499466, -0.05092654377222061, 0.06657243520021439, 0.00924411416053772, 0.00032147139427252114, 0.0288888830691576, 0.0008183263125829399, 0.005521737039089203, 0.0012764493003487587, 0.03701793774962425, -0.007615432608872652, -0.0010289497440680861, 0.03535980358719826, 0.02554088830947876, 0.028629755601286888, -0.16705478727817535, -0.051988616585731506, -6.994752685945128e-33, 0.02843356318771839, -0.005219310522079468, 0.022433731704950333, -0.003167462768033147, 0.05166182667016983, -0.014772207476198673, 0.016103768721222878, -0.014091575518250465, -0.07527829706668854, 0.03476549685001373, 0.01068753283470869, 0.021563777700066566, -0.022602738812565804, -0.008559259586036205, 0.047503240406513214, 0.006677500903606415, 0.014827929437160492, 0.029688825830817223, -0.05860674008727074, -0.04096365347504616, -0.014968966133892536, 0.030989335849881172, 0.026096884161233902, -0.000028824304536101408, 0.020537637174129486, 0.0034760774578899145, -0.024007948115468025, 0.014151538722217083, 0.03279663249850273, -0.04857158288359642, -0.057934436947107315, 0.027894333004951477, -0.01095867995172739, -0.016262855380773544, 0.023790284991264343, -0.019155921414494514, -0.040034156292676926, 0.037129610776901245, -0.036186523735523224, 0.028949251398444176, -0.00915917195379734, 0.022398654371500015, -0.02174803614616394, -0.04812045022845268, 0.004934738390147686, -0.040581200271844864, 0.029963074252009392, 0.0650566965341568, -0.000042482326534809545, 0.039153508841991425, 0.056884292513132095, 0.026693468913435936, -0.05414530262351036, 0.006890919059514999, -0.029604608193039894, 0.007112423423677683, -0.0006132757989689708, 0.017713550478219986, 0.007932285778224468, 0.08086446672677994, -0.014211847446858883, 0.022337807342410088, -0.008668210357427597, 0.03299214690923691, -0.036478299647569656, 0.01205782126635313, -0.010076493956148624, -0.017088932916522026, -0.001381554058752954, 0.031410738825798035, -0.0413663387298584, 0.03796779736876488, -0.049859676510095596, -0.007857355289161205, 0.02121865190565586, -0.02582424506545067, 0.006124667823314667, -0.05159248784184456, -0.007856576703488827, 0.007773733697831631, 0.040780290961265564, -0.016427556052803993, 0.014542444609105587, -0.022611668333411217, -0.042673949152231216, -0.002685855608433485, 0.03773953765630722, -0.00015041063306853175, -0.011517558246850967, -0.02943296544253826, -0.01725124567747116, 0.037274088710546494, 0.003705722512677312, -0.02692556567490101, 0.008425085805356503, 7.010354434716417e-33, -0.046606115996837616, -0.03902392089366913, 0.005234411917626858, -0.002437158254906535, -0.008516211993992329, -0.012118421494960785, 0.0414644293487072, 0.013487312942743301, -0.020134752616286278, 0.027755936607718468, -0.0022756473626941442, 0.03327197954058647, -0.00913900975137949, 0.0330018624663353, 0.050366807729005814, -0.04884438216686249, 0.03722311556339264, 0.026999613270163536, -0.0060258954763412476, 0.019104843959212303, -0.0028362891171127558, 0.027403367683291435, -0.008854109793901443, 0.0036305394023656845, 0.021946433931589127, 0.013439998030662537, -0.03224188834428787, 0.015791747719049454, 0.03135368227958679, -0.0058464715257287025, -0.002744899829849601, -0.0404234305024147, 0.019065840169787407, 0.012555536814033985, 0.03328083083033562, 0.020329656079411507, -0.001132172648794949, -0.019213158637285233, 0.02210020273923874, -0.012437538243830204, -0.019085858017206192, 0.0033510285429656506, -0.008971386589109898, 0.010270148515701294, 0.006506049539893866, -0.005920937284827232, -0.039878878742456436, -0.0005391729646362364, 0.030716147273778915, -0.01655307225883007, 0.008479871787130833, -0.023789072409272194, 0.030129428952932358, 0.01551721803843975, -0.002627155976369977, -0.007242841180413961, 0.0001904414384625852, -0.012331023812294006, -0.015534686855971813, -0.04016672819852829, -0.027116181328892708, -0.01737680472433567, -0.03591188043355942, -0.020964251831173897, 0.007579834666103125, -0.023160142824053764, -0.041593752801418304, -0.08378200232982635, -0.04433729499578476, 0.00428373459726572, -0.0168814305216074, -0.017377687618136406, 0.0029816918540745974, 0.0043479339219629765, -0.00983512494713068, 0.029922179877758026, -0.035425566136837006, 0.020269813016057014, 0.050955068320035934, -0.025371963158249855, 0.03499886766076088, -0.029900401830673218, 0.060197941958904266, -0.01408594660460949, -0.03303509205579758, -0.02667863667011261, 0.044615644961595535, 0.0062442924827337265, 0.02941439487040043, 0.024730587378144264, -0.014225720427930355, -0.05361032485961914, 0.003932096064090729, 0.06486489623785019, 0.0005416948697529733, -1.2477888944317783e-8, 0.02318582311272621, -0.0329313762485981, -0.03685756400227547, 0.028973210602998734, 0.0076668220572173595, 0.022223802283406258, -0.0021471944637596607, -0.06708317250013351, -0.007627971936017275, 0.005697245243936777, 0.00024481958826072514, 0.007852761074900627, -0.022744890302419662, 0.010146982967853546, 0.04921843856573105, -0.04011743143200874, 0.038589321076869965, 0.0008777260081842542, 0.02181321755051613, 0.002337517449632287, -0.05784401297569275, -0.01449808944016695, 0.017346372827887535, -0.002047983929514885, -0.03394715115427971, -0.03866886720061302, 0.04221557080745697, -0.09735661745071411, 0.005661842413246632, 0.014322016388177872, 0.007480268366634846, -0.03928229585289955, 0.007631140761077404, 0.029016317799687386, -0.028316671028733253, -0.0330330953001976, 0.006658530794084072, 0.004956334829330444, 0.030423814430832863, 0.018086517229676247, 0.0006063694600015879, -0.0013420450268313289, -0.013008746318519115, -0.03151700645685196, -0.005680996458977461, -0.022695956751704216, 0.006184829864650965, -0.024140818044543266, 0.02242155186831951, -0.0027058462146669626, 0.014905157499015331, -0.0035866431426256895, 0.01847219280898571, 0.01921687461435795, 0.010601544752717018, 0.03322774916887283, 0.037321846932172775, -0.01698102243244648, -0.05233701318502426, -0.00625706696882844, -0.024409184232354164, -0.012070614844560623, -0.006121140904724598, -0.029780356213450432 ]
haskell-finding-the-minimum-maximum-values-of-a-foldable-in-one-pass
https://markhneedham.com/blog/2012/05/28/haskell-finding-the-minimum-maximum-values-of-a-foldable-in-one-pass
false
2012-05-10 07:11:17
Haskell: Explicit type declarations in GHCI
[ "haskell" ]
[ "Haskell" ]
On a few occasions I've wanted to be able to explicitly define the type of something when trying things out in the Haskell REPL (GHCI) but I didn't actually realise this was possible until a couple of days ago. For example say we want to use the +++<cite>+++http://zvon.org/other/haskell/Outputprelude/read_f.html[read]+++</cite>+++ function to parse an input string into an integer. We could do this: [source,haskell] ---- > read "1" :: Int 1 ---- But if we just evaluate the function alone and try and assign the result without casting to a type we get an exception: [source,haskell] ---- > let x = read "1" <interactive>:1:10: Ambiguous type variable `a0' in the constraint: (Read a0) arising from a use of `read' Probable fix: add a type signature that fixes these type variable(s) In the expression: read "1" In an equation for `x': x = read "1" ---- sepp2k shows http://stackoverflow.com/questions/3093133/how-to-provide-explicit-type-declarations-for-functions-when-using-ghci[how we can provide a type declaration in GHCI in his Stack Over Flow answer]: [source,haskell] ---- > let x::Int; x = read "1" > x 1 ---- We can also use it when creating a list of integers to ensure they are of type 'Int' rather than 'Integer' for example: [source,haskell] ---- > let y = [1,2,3] > :t y y :: [Integer] > let y::[Int]; y = [1,2,3] > :t y y :: [Int] ---- It's a pretty simple thing but I didn't know it was even possible!
null
null
[ -0.012142843566834927, 0.040436893701553345, -0.048763081431388855, 0.02975107729434967, 0.03944941610097885, 0.06474338471889496, 0.04065624251961708, -0.0013053228612989187, 0.02571517787873745, 0.0059060584753751755, 0.01588904671370983, -0.0052910116501152515, -0.08559778332710266, 0.02901049330830574, 0.0032753695268183947, 0.04385651275515556, 0.06910981237888336, -0.033460523933172226, -0.030871862545609474, 0.02081342041492462, 0.01552034355700016, 0.060018256306648254, -0.010954841040074825, 0.0022821242455393076, 0.032030507922172546, 0.023800311610102654, 0.014058919623494148, -0.0018002656288444996, -0.035185374319553375, 0.012231171131134033, 0.03883754462003708, 0.02024843357503414, -0.01662573777139187, -0.024372322484850883, -0.007519514765590429, 0.0007762155146338046, 0.026968421414494514, -0.03469441458582878, 0.013561712577939034, 0.030248582363128662, -0.05717204883694649, 0.016943838447332382, -0.01890801638364792, 0.015370859764516354, -0.06617368012666702, 0.004899083636701107, -0.049595292657613754, -0.004041395615786314, -0.05481438338756561, 0.01364021934568882, -0.05947274714708328, 0.031499020755290985, -0.036723680794239044, -0.020523857325315475, 0.0016621387330815196, 0.03333832323551178, 0.02491805888712406, -0.10943519324064255, 0.046440429985523224, -0.036112844944000244, -0.00111179961822927, -0.007257018703967333, 0.02364712581038475, 0.026863357052206993, 0.006176012102514505, -0.011194546706974506, -0.04172533005475998, 0.029946038499474525, -0.06080623343586922, -0.01314523071050644, -0.02394113503396511, 0.022980574518442154, -0.02749192714691162, -0.015812842175364494, 0.022826489061117172, -0.04255154728889465, -0.028872665017843246, 0.05312507227063179, 0.04048282280564308, 0.036104537546634674, 0.0000622141087660566, 0.030622173100709915, 0.01973329484462738, -0.004133315756917, 0.04405723512172699, -0.014329073019325733, -0.011488485150039196, -0.020874716341495514, -0.02639991044998169, 0.050537895411252975, -0.001503143459558487, -0.06588612496852875, -0.022951871156692505, -0.0015413198852911592, 0.03132009878754616, -0.007693666033446789, -0.0037891154643148184, -0.0556078776717186, 0.003573014633730054, 0.013786286115646362, -0.04767810180783272, -0.0230614822357893, 0.018979841843247414, -0.0000152590964717092, -0.06745339930057526, -0.017167624086141586, -0.04843861982226372, -0.014866839163005352, 0.01864817552268505, 0.018652843311429024, -0.0023048880975693464, -0.012349276803433895, -0.01999857649207115, 0.02613726630806923, -0.08010370284318924, 0.04639537259936333, 0.01206142921000719, 0.014873460866510868, 0.01577870361506939, 0.045570362359285355, 0.02588772401213646, 0.022801754996180534, 0.009330914355814457, 0.06997261941432953, 0.036243028938770294, 0.03195193409919739, 0.0017802612856030464, 0.04559597373008728, -0.007512821815907955, -0.07867774367332458, -0.025320034474134445, 0.08462727069854736, -0.025142520666122437, -0.008342397399246693, -0.020399009808897972, -0.012422490864992142, -0.02830207534134388, 0.014870837330818176, 0.04320494830608368, 0.034391555935144424, 0.005363504868000746, -0.05297258496284485, 0.014268397353589535, -0.057312022894620895, 0.02303093485534191, 0.03030438721179962, -0.00036599754821509123, -0.0017728367820382118, -0.0176509041339159, 0.032647013664245605, 0.006630701944231987, 0.051363974809646606, 0.07593704760074615, 0.0041293790563941, 0.025527233257889748, 0.08729971945285797, 0.021733136847615242, 0.026460524648427963, -0.017848100513219833, -0.0020186754409223795, 0.04926564544439316, 0.04515339061617851, 0.013341221958398819, 0.025752751156687737, 0.029222708195447922, 0.003308342769742012, -0.02916349098086357, 0.022117312997579575, -0.039017386734485626, -0.03244466334581375, -0.023354120552539825, -0.0350378043949604, 0.03719159588217735, -0.035911593586206436, 0.025907954201102257, 0.0012549388920888305, 0.09042453020811081, -0.002138695912435651, 0.0776999294757843, -0.01449831947684288, -0.08208036422729492, 0.00012811920896638185, -0.02779221162199974, 0.021425679326057434, 0.008278473280370235, 0.021544940769672394, 0.04321733117103577, 0.03616521880030632, -0.0005236335564404726, 0.009721138514578342, -0.04588184505701065, -0.05747302994132042, -0.03449530154466629, -0.022585425525903702, 0.08093234151601791, -0.06268630176782608, -0.019517920911312103, 0.06438488513231277, 0.003642486874014139, 0.025398926809430122, 0.04309995099902153, -0.01923576556146145, 0.018968766555190086, -0.025994528084993362, -0.03756998851895332, 0.045050546526908875, 0.05436836928129196, 0.022722290828824043, -0.04305601865053177, -0.004706014879047871, -0.00020757481979671866, 0.022361118346452713, 0.019660508260130882, -0.0026157337706536055, 0.029964515939354897, 0.05239693447947502, -0.007969414815306664, -0.011320630088448524, 0.04655677080154419, -0.04765630140900612, 0.052423544228076935, 0.02158370055258274, -0.004751024302095175, -0.04141617938876152, -0.02291884273290634, 0.12202873826026917, 0.0639539510011673, -0.02924579754471779, -0.02277260832488537, 0.024470480158925056, -0.012879785150289536, -0.03525251895189285, 0.012298068031668663, 0.010462949052453041, -0.03058825060725212, 0.006664237007498741, -0.00272211036644876, 0.031461067497730255, 0.01762961968779564, -0.04081011563539505, -0.005883032456040382, 0.09523659199476242, -0.048526085913181305, 0.03389320895075798, -0.019873997196555138, -0.0434664748609066, -0.007710759062319994, -0.019250335171818733, -0.07849550247192383, 0.00400186562910676, 0.020429691299796104, -0.0042627728544175625, 0.05466531962156296, -0.030954375863075256, -0.036353789269924164, -0.010161168873310089, -0.04076889157295227, 0.029080871492624283, 0.052775461226701736, 0.06637230515480042, -0.020732054486870766, 0.012385229580104351, -0.025970177724957466, -0.011654959991574287, -0.026539035141468048, -0.04918165132403374, -0.03547831252217293, 0.01855066791176796, 0.020844491198658943, 0.01929231733083725, 0.020740920677781105, 0.02834269404411316, 0.012417212128639221, 0.001148098148405552, -0.0192915890365839, 0.0007701400318183005, 0.01664985716342926, 0.01547190360724926, -0.032855916768312454, -0.03290833160281181, -0.03918571397662163, 0.05662975087761879, -0.04704632982611656, -0.034015409648418427, -0.02206801250576973, -0.028114626184105873, 0.03495224937796593, -0.08863259106874466, -0.053661953657865524, -0.01615889184176922, 0.03841458261013031, 0.02334401197731495, -0.04199609160423279, -0.007249223534017801, 0.07532361149787903, -0.0002618643338792026, 0.03234926983714104, 0.043716419488191605, 0.023609735071659088, 0.03282326087355614, -0.00251215323805809, 0.032131098210811615, 0.0586499348282814, 0.005719819571822882, -0.0069312662817537785, -0.036332543939352036, 0.026054387912154198, -0.031792059540748596, -0.2722511291503906, -0.005785367917269468, -0.03339330852031708, -0.03811441361904144, -0.010042657144367695, -0.028954632580280304, -0.02092922292649746, -0.030962452292442322, -0.017282675951719284, 0.03536374121904373, -0.012119170278310776, -0.04473595693707466, -0.044807758182287216, 0.05821549519896507, 0.02431327849626541, 0.006215243134647608, 0.015700357034802437, -0.05027604103088379, 0.0006825344753451645, 0.03219844028353691, -0.03256472200155258, -0.04712817072868347, 0.00791323184967041, 0.04807058721780777, 0.021539442241191864, 0.02709284797310829, -0.0868421420454979, 0.02767772600054741, -0.05130663886666298, -0.015831060707569122, -0.04424453526735306, 0.003644500859081745, -0.014398699626326561, -0.013242783024907112, -0.006836489774286747, -0.024002892896533012, 0.019465450197458267, 0.004616802558302879, 0.017269710078835487, 0.04555383697152138, -0.049966443330049515, -0.0347890667617321, 0.01004659291356802, -0.03734062239527702, 0.0661025121808052, -0.04292327165603638, -0.05591262876987457, 0.000014412577002076432, -0.05733093246817589, 0.08058146387338638, -0.058442145586013794, 0.0018545819912105799, -0.009345165453851223, 0.046395666897296906, 0.017085310071706772, -0.0059182848781347275, -0.00443032244220376, -0.023669669404625893, -0.036624569445848465, -0.01950053870677948, -0.01616489700973034, -0.04074438661336899, -0.03937862440943718, -0.027441762387752533, -0.009590769186615944, -0.05136623978614807, -0.05389121174812317, -0.015743110328912735, 0.04372956603765488, 0.023286137729883194, 0.0007856697775423527, -0.02469494380056858, -0.011402005329728127, -0.10793386399745941, -0.017831822857260704, -0.031711433082818985, -0.03709062561392784, 0.0027004899457097054, 0.02764160931110382, 0.05210285261273384, -0.04873225837945938, -0.061144836246967316, 0.015154251828789711, 0.004115674644708633, 0.04381123185157776, -0.003283884609118104, -0.0009515207493677735, -0.04511071369051933, -0.029815303161740303, -0.0022840972524136305, 0.043741051107645035, -0.03917510807514191, 0.003881867276504636, -0.043431300669908524, 0.009354565292596817, 0.012939609587192535, 0.018992528319358826, -0.00313025270588696, 0.0333518385887146, 0.010373985394835472, 0.026719890534877777, -0.026773108169436455, 0.032361239194869995, -0.03275299072265625, -0.01733512431383133, -0.02644072286784649, -0.06397618353366852, 0.031056074425578117, 0.05483994632959366, -0.009888476692140102, -0.03563259541988373, -0.050524722784757614, -0.006664601620286703, -0.05728212743997574, -0.05237438902258873, -0.008096723817288876, 0.009661346673965454, 0.03212909772992134, 0.029864059761166573, 0.0002369850262766704, -0.04913942143321037, -0.018754521384835243, 0.022119691595435143, -0.015608806163072586, -0.04482889920473099, -0.009321128018200397, -0.039812952280044556, -0.010292073711752892, 0.006622436922043562, 0.03742450848221779, -0.031024355441331863, 0.037479203194379807, 0.028879089280962944, -0.022189440205693245, 0.03087036684155464, 0.005846364423632622, 0.01471886970102787, 0.012952341698110104, -0.023599982261657715, -0.036829449236392975, 0.010927964001893997, 0.013195986859500408, 0.018976325169205666, 0.02577590011060238, 0.07063106447458267, -0.01660933718085289, 0.011627323925495148, 0.026827726513147354, -0.046995118260383606, 0.02402392588555813, 0.013960250653326511, -0.044990330934524536, 0.006302592344582081, -0.029479268938302994, -0.010419676080346107, 0.015748323872685432, 0.05034077167510986, -0.020717112347483635, -0.024872509762644768, -0.03546860069036484, 0.032512154430150986, -0.02178920991718769, -0.034000784158706665, -0.040788885205984116, 0.023694630712270737, 0.058806076645851135, -0.02281833253800869, 0.027530217543244362, -0.03188319131731987, 0.019506070762872696, 0.0006401709979400039, 0.030294375494122505, -0.007881048135459423, 0.03194665536284447, -0.006338902283459902, -0.024875327944755554, 0.016561882570385933, 0.03059753216803074, 0.04120859503746033, 0.0080553675070405, -0.01513731386512518, -0.026636779308319092, 0.0032253842800855637, 0.016622457653284073, 0.03484160080552101, -0.005994073580950499, 0.019220959395170212, -0.009154670871794224, -0.024013154208660126, -0.03254120796918869, -0.018221266567707062, -0.0035995254293084145, -0.02875959314405918, 0.03628808632493019, -0.02908092364668846, -0.052932653576135635, 0.004299025982618332, 0.020658178254961967, 0.014094562269747257, -0.009510181844234467, 0.01449468731880188, -0.023273056373000145, -0.007584162522107363, 0.007356551010161638, 0.07403120398521423, -0.04217912629246712, -0.004886053968220949, 0.005386131815612316, 0.034415241330862045, 0.01133603136986494, 0.02681124396622181, -0.06166514754295349, -0.020910318940877914, -0.001869233907200396, -0.027766667306423187, -0.014280266128480434, -0.04527297243475914, -0.008690974675118923, -0.0074950288981199265, -0.01821662113070488, 0.004486505873501301, 0.0003574805159587413, -0.002161553828045726, -0.048258233815431595, -0.007224433124065399, 0.006094784010201693, -0.04700883850455284, 0.010372468270361423, 0.04593927413225174, 0.0016424540663138032, 0.03943857550621033, -0.017703138291835785, 0.04277491196990013, 0.02632136270403862, 0.006493352819234133, -0.026563283056020737, -0.0811116099357605, 0.04123387858271599, -0.054164912551641464, 0.04407519847154617, 0.010371914133429527, -0.014161791652441025, 0.0018334866035729647, -0.0049207210540771484, -0.04976674169301987, 0.008377013728022575, 0.008106403052806854, -0.0316414013504982, -0.00964819174259901, 0.05291474610567093, -0.039593033492565155, 0.03836238384246826, -0.02289588376879692, -0.054776858538389206, 0.04289177805185318, -0.013468454591929913, -0.01563851907849312, 0.027112718671560287, -0.022047312930226326, 0.03139534220099449, 0.021036090329289436, 0.03512154519557953, -0.032484717667102814, 0.04982847347855568, 0.07322666794061661, 0.0509171336889267, 0.008821112103760242, -0.02644304186105728, 0.028393294662237167, -0.015798406675457954, -0.016310084611177444, -0.06572677940130234, -0.01003687921911478, -0.004736579488962889, 0.022945452481508255, -0.04795033484697342, -0.05330895259976387, -0.005335547029972076, 0.046362362802028656, -0.04907270893454552, -0.02559785731136799, 0.03327043727040291, 0.012575514614582062, 0.03655557334423065, 0.015854783356189728, -0.046878162771463394, -0.0020292357075959444, 0.04433589428663254, 0.006411187816411257, -0.03040935844182968, -0.019287986680865288, 0.03935813158750534, 0.0047780550085008144, 0.02120795287191868, 0.00614799652248621, 0.004815699998289347, 0.033564526587724686, 0.0459897480905056, 0.030126797035336494, 0.05169175565242767, -0.029711967334151268, 0.02578798681497574, -0.004756018053740263, 0.004744245670735836, -0.028866631910204887, 0.022928869351744652, -0.024969734251499176, -0.06611774861812592, 0.025360343977808952, 0.013325497508049011, -0.01450719591230154, -0.020974956452846527, 0.0535430982708931, 0.013577347621321678, -0.01164635643362999, -0.0399014987051487, 0.038017962127923965, -0.04352308437228203, -0.0007901007775217295, 0.0072585646994411945, -0.01002870686352253, -0.03505070134997368, 0.0494491383433342, -0.020601514726877213, -0.015867477282881737, 0.05582289397716522, 0.019076678901910782, -0.004563429858535528, -0.0248553603887558, 0.10767564922571182, 0.07688793540000916, 0.011384114623069763, 0.006790016312152147, 0.041353482753038406, -0.035023804754018784, -0.053689125925302505, 0.05817214772105217, -0.018641894683241844, 0.0010846557561308146, -0.020374462008476257, 0.026751426979899406, 0.07052658498287201, -0.022570855915546417, 0.043407730758190155, -0.040516842156648636, 0.021891681477427483, -0.010172804817557335, 0.03800373896956444, 0.025928348302841187, 0.07658462971448898, 0.013751838356256485, 0.024468054994940758, 0.009943153709173203, -0.06114925444126129, -0.01721257157623768, -0.009014404378831387, -0.038162365555763245, -0.026231618598103523, 0.002325198380276561, 0.019879966974258423, 0.032154202461242676, 0.03970275819301605, 0.07907023280858994, -0.03417323902249336, -0.004254345316439867, 0.025098580867052078, 0.05034575238823891, -0.0034118809271603823, 0.0014000472147017717, -0.02615402638912201, -0.03559805452823639, -0.013468456454575062, -0.00438956031575799, 0.003639661241322756, -0.01392526924610138, -0.04744096100330353, 0.05293639376759529, -0.035463493317365646, -0.014978640712797642, 0.009420540183782578, -0.012144284322857857, -0.03405065834522247, -0.06932410597801208, -0.049297306686639786, -0.006824715994298458, -0.06629282236099243, 0.015681857243180275, 0.0010232309577986598, -0.03698006644845009, -0.011971339583396912, -0.0460587702691555, 0.01145682018250227, -0.025374244898557663, 0.03383200243115425, -0.02070346474647522, -0.03534085303544998, 0.017976783215999603, 0.0066090840846300125, 0.00841214507818222, 0.026445750147104263, 0.03009217046201229, -0.014707552269101143, 0.024732084944844246, -0.02855123020708561, -0.0003121278714388609, 0.04107251018285751, 0.02990766242146492, 0.004841168411076069, -0.07455705106258392, -0.03091881051659584, 0.05687008053064346, 0.025713825598359108, -0.08800357580184937, -0.003790114540606737, -0.011274377815425396, -0.006540934555232525, 0.030297940596938133, 0.0058744209818542, 0.00749964639544487, -0.017590343952178955, -0.036804039031267166, 0.01075753103941679, 0.02192273736000061, 0.07249295711517334, -0.013497182168066502, 0.09188976138830185, 0.013975563459098339, -0.024117575958371162, -0.00812206044793129, 0.008812704123556614, -0.04556700587272644, 0.03612212464213371, -0.04012562334537506, -0.02486736699938774, -0.03448759391903877, -0.046449944376945496, -0.015677064657211304, -0.006695900112390518, -0.0460641123354435, 0.008153168484568596, 0.007424436509609222, 0.05971945822238922, -0.04189549386501312, 0.07119393348693848, -0.025078652426600456, 0.02815890498459339, -0.0017811398720368743, -0.04223480820655823, -0.003655483014881611, 0.023659825325012207, 0.021460341289639473, 0.02264738269150257, 0.039903219789266586, -0.043568577617406845, -0.007379201706498861, -0.016535451635718346, 0.02413180097937584, 0.014624811708927155, -0.028141723945736885, 0.03341090679168701 ]
[ -0.09484301507472992, -0.02462569996714592, -0.025962017476558685, -0.001280551659874618, -0.022244105115532875, -0.046684347093105316, 0.02195066772401333, 0.024200566112995148, -0.00342575297690928, -0.049642447382211685, -0.03214901313185692, -0.050118137151002884, 0.01843234710395336, 0.0001905509561765939, 0.07647592574357986, -0.0016044465592131019, -0.01581299491226673, -0.01999526284635067, -0.033816274255514145, 0.010154293850064278, 0.05267498269677162, -0.023225363343954086, -0.06100567430257797, -0.029759593307971954, 0.01239178515970707, 0.04041793942451477, 0.04461272433400154, -0.03540933132171631, 0.02871882915496826, -0.22686274349689484, -0.007086198776960373, 0.03361102193593979, 0.0358995720744133, -0.04545997828245163, -0.022738732397556305, 0.028858263045549393, -0.00375205441378057, -0.0016759064747020602, -0.00965252798050642, 0.07943399995565414, 0.0057371859438717365, 0.01915150322020054, -0.02421841025352478, -0.015710406005382538, 0.03366433084011078, -0.00011641873425105587, -0.03352629020810127, -0.0033134683035314083, -0.014296256005764008, 0.0024925977922976017, -0.08580081909894943, 0.03699903190135956, 0.026404621079564095, 0.022983839735388756, -0.024451887235045433, 0.02302177995443344, 0.06575984507799149, 0.0943182185292244, 0.017545487731695175, -0.01989135704934597, 0.008449871093034744, -0.00550110125914216, -0.10752076655626297, 0.11663374304771423, -0.00005368621714296751, 0.06898078322410583, -0.03439628705382347, -0.04003218561410904, -0.04239368438720703, 0.06849392503499985, 0.024943094700574875, -0.01344264019280672, -0.06269557029008865, 0.04930183291435242, 0.008992277085781097, -0.04429638385772705, 0.0059705134481191635, 0.008338998071849346, 0.06184938922524452, -0.03437262400984764, -0.04118622839450836, -0.02229004167020321, -0.02959503047168255, -0.008992563001811504, -0.01722697541117668, -0.004370418377220631, -0.018577834591269493, 0.07410416007041931, 0.02423604391515255, -0.01779373176395893, 0.012871185317635536, -0.05686401203274727, 0.012210899963974953, 0.036826763302087784, -0.030998017638921738, 0.017953025177121162, -0.0008046788861975074, 0.0021014397498220205, 0.003925658296793699, 0.37454894185066223, -0.03334811329841614, -0.013836526311933994, 0.03612009063363075, 0.03579267859458923, 0.018950123339891434, 0.0025223176926374435, -0.007234750781208277, -0.04982461780309677, -0.026882214471697807, -0.07665619254112244, -0.026510829105973244, -0.028644658625125885, 0.06859881430864334, -0.03860646113753319, -0.010517499409615993, 0.0067270719446241856, 0.05476762354373932, 0.011766226962208748, 0.0036139418371021748, -0.019544966518878937, -0.0007817713776603341, 0.014171920716762543, -0.014024510979652405, 0.03384219482541084, -0.014356032945215702, 0.0020132362842559814, 0.004366734530776739, 0.023559344932436943, 0.013846696354448795, 0.06493236124515533, 0.053149089217185974, -0.03774011880159378, -0.05400633066892624, -0.012160824611783028, 0.0046258349902927876, 0.009624138474464417, 0.014728602953255177, -0.0332360677421093, 0.008037914521992207, 0.005014518741518259, -0.0065402863547205925, -0.027054699137806892, 0.00019638368394225836, 0.022795571014285088, -0.010478454641997814, 0.11348717659711838, -0.010133766569197178, -0.03390122950077057, -0.0022285208106040955, -0.021599799394607544, -0.009413429535925388, 0.03522463142871857, -0.019542774185538292, -0.07476215809583664, 0.028497789055109024, 0.01749163307249546, 0.060818273574113846, -0.0312147606164217, -0.06037173792719841, 0.022387512028217316, -0.04531817510724068, -0.018950173631310463, -0.06951187551021576, 0.058772481977939606, -0.009616164490580559, -0.052308760583400726, -0.04927007481455803, 0.009292112663388252, 0.009093302302062511, -0.08485876023769379, 0.023887060582637787, 0.017374619841575623, -0.015917109325528145, 0.020423416048288345, 0.048600293695926666, -0.020381519570946693, -0.021381555125117302, -0.02984507940709591, 0.039764776825904846, 0.03849949315190315, -0.0005601174780167639, -0.0014884695410728455, -0.06295211613178253, -0.020277921110391617, -0.02016402967274189, -0.05562729388475418, -0.0775187686085701, 0.006737589370459318, -0.0059415241703391075, -0.01378277875483036, 0.03219042718410492, 0.019856326282024384, -0.07476648688316345, 0.0560893677175045, 0.00098344252910465, -0.012791212648153305, 0.036706313490867615, 0.004361805040389299, 0.007499284576624632, -0.0024255646858364344, -0.0016293413937091827, 0.06133127585053444, 0.014756202697753906, 0.03847794607281685, -0.0922171100974083, -0.004958007950335741, 0.04504634439945221, -0.06434757262468338, 0.035238903015851974, 0.03149233013391495, 0.0025376586709171534, 0.005221849773079157, -0.031101234257221222, 0.023261558264493942, -0.01476404257118702, -0.016804855316877365, 0.027320101857185364, -0.01373231690376997, 0.023768236860632896, 0.001892871456220746, -0.0536075085401535, -0.07637228071689606, -0.031197411939501762, -0.3384682536125183, -0.07877785712480545, -0.014192864298820496, -0.037727952003479004, -0.01851683296263218, -0.12462878972291946, -0.00954839400947094, 0.005909045692533255, -0.050582848489284515, 0.04125967249274254, 0.06304323673248291, 0.014026331715285778, -0.04019894823431969, -0.09226587414741516, 0.013307752087712288, 0.040108807384967804, -0.01609211601316929, -0.048937443643808365, -0.025028802454471588, 0.042037662118673325, -0.005658523645251989, 0.012557723559439182, -0.05702430382370949, -0.03793191909790039, -0.010144438594579697, -0.020419934764504433, 0.09709376096725464, 0.010914417915046215, 0.10624906420707703, -0.07003404200077057, 0.05147792026400566, -0.038645077496767044, 0.014821833930909634, -0.0797896459698677, -0.020235123112797737, -0.015157402493059635, -0.04261119291186333, 0.0370023176074028, 0.06909777224063873, -0.028507815673947334, -0.02691134624183178, -0.009274971671402454, -0.06296439468860626, -0.008665421977639198, 0.026180734857916832, 0.01399942021816969, -0.0038516605272889137, -0.03273855894804001, -0.006973015144467354, 0.09993555396795273, 0.005196598824113607, 0.008268210105597973, 0.0034264596179127693, 0.036909785121679306, 0.0070551615208387375, -0.0005419882945716381, -0.0697932094335556, -0.037835743278265, 0.018933648243546486, -0.01432477030903101, 0.04795379191637039, 0.07092811912298203, 0.058509718626737595, -0.020251376554369926, -0.004894144367426634, -0.0027083393651992083, -0.02874574437737465, 0.008549495600163937, 0.03185674175620079, -0.027187783271074295, -0.028992142528295517, 0.11703693866729736, -0.005511978641152382, 0.004453297704458237, 0.025942759588360786, 0.05530088022351265, -0.028018701821565628, 0.013927577994763851, 0.0471135638654232, -0.008846154436469078, -0.009358109906315804, 0.01100600603967905, 0.004590644501149654, -0.007488567382097244, -0.00538294343277812, 0.032086651772260666, -0.02368275262415409, 0.021655388176441193, 0.03583453968167305, -0.011969097889959812, -0.031119266524910927, 0.032252971082925797, 0.007681456860154867, -0.05216870456933975, 0.07496098428964615, 0.004712207242846489, -0.2468869835138321, 0.06655512750148773, 0.07321101427078247, 0.03804462403059006, 0.012576264329254627, 0.01833849772810936, 0.02505374513566494, -0.10662423074245453, -0.06932762265205383, -0.024658624082803726, 0.04007925093173981, 0.03796529024839401, 0.05663001164793968, 0.0501520112156868, 0.02744440920650959, -0.018772242590785027, 0.0714801698923111, -0.008726298809051514, 0.008360794745385647, 0.003943949937820435, 0.04771365225315094, 0.025022340938448906, 0.21032992005348206, 0.00107735360506922, 0.010620741173624992, -0.0005098695401102304, -0.012002217583358288, 0.020125579088926315, 0.07182088494300842, 0.048576079308986664, 0.015361740253865719, 0.002510656602680683, 0.06340453773736954, -0.018883580341935158, 0.028420034795999527, -0.023833997547626495, 0.027906637638807297, 0.03665411099791527, 0.028017280623316765, 0.01026096846908331, -0.0000018633824083735817, 0.021069573238492012, -0.0387452058494091, 0.04693746939301491, 0.06234661862254143, 0.030721036717295647, -0.03631002455949783, -0.048660703003406525, -0.05694139003753662, 0.02152257040143013, -0.022203421220183372, -0.0005025704740546644, -0.013498058542609215, -0.017649328336119652, 0.0045038796961307526, 0.011781207285821438, 0.023058880120515823, -0.009056782349944115, -0.013645241037011147, 0.03093332052230835, 0.01737186685204506, 0.0021296574268490076, 0.08248919248580933, 0.026480475440621376, 0.037827204912900925 ]
[ -0.02317371405661106, -0.01090994756668806, -0.022483017295598984, 0.028586825355887413, -0.011450173333287239, -0.0031943132635205984, 0.01431202795356512, 0.020203309133648872, -0.017524253576993942, -0.047667328268289566, -0.05370189994573593, -0.013636420480906963, 0.02565368078649044, -0.0019823117181658745, -0.01424192450940609, 0.0023441677913069725, 0.026624487712979317, 0.013723127543926239, 0.006013863254338503, -0.0630689263343811, -0.005892960820347071, 0.0287886131554842, 0.011723649688065052, 0.03655640408396721, 0.01080993376672268, -0.029850145801901817, -0.05555557459592819, -0.005723657552152872, 0.024272678419947624, -0.11214697360992432, -0.027846286073327065, -0.021658996120095253, 0.0228465236723423, -0.015844151377677917, -0.028084414079785347, 0.06280899792909622, 0.0005997936823405325, 0.0121162673458457, -0.03151441738009453, -0.01899217814207077, 0.004768223036080599, -0.019702564924955368, 0.02453329972922802, -0.013490590266883373, 0.016370544210076332, 0.000526213669218123, 0.02037697844207287, -0.029185494408011436, -0.00274304929189384, 0.02734430879354477, -0.01647929847240448, 0.017902573570609093, -0.0035322054754942656, 0.014539018273353577, 0.006928922142833471, 0.007311863824725151, -0.03191749006509781, -0.02615247294306755, -0.030736124143004417, -0.04063001647591591, -0.05970519036054611, 0.01791202276945114, -0.04136455059051514, -0.022395024076104164, -0.027104301378130913, 0.04247422143816948, 0.016666393727064133, -0.0024006597232073545, 0.031279440969228745, -0.0035867108963429928, 0.02989373169839382, 0.018837790936231613, -0.045960478484630585, -0.026207055896520615, -0.004761257208883762, -0.02353786490857601, 0.07186193764209747, -0.04195292666554451, 0.043798770755529404, 0.002746329875662923, -0.006948636844754219, -0.006983567029237747, 0.03467309847474098, 0.018387483432888985, -0.006271907594054937, 0.006892865989357233, 0.010063034482300282, 0.0221683569252491, 0.0334954559803009, -0.004271519836038351, -0.0044234576635062695, 0.04012039303779602, 0.021538114175200462, 0.01853867433965206, -0.012605119496583939, 0.017487989738583565, -0.01862904243171215, -0.03854014724493027, -0.0017602278385311365, 0.8181193470954895, -0.00010595990170259029, 0.036173637956380844, 0.05157773569226265, 0.018007924780249596, 0.005135302431881428, -0.02416503243148327, 0.00027974109980277717, 0.015517824329435825, -0.024529360234737396, -0.04295099154114723, 0.05935205519199371, -0.04281681030988693, 0.06525810062885284, 0.02046740986406803, -0.01389952190220356, 0.028509408235549927, 0.009673030115664005, 0.010369138792157173, -0.010399018414318562, -0.017459195107221603, 0.0036926958709955215, -0.020193004980683327, 0.008014806546270847, 0.04391343519091606, 0.02003108337521553, -0.18412458896636963, -0.0029095362406224012, -8.071416614538063e-33, 0.018667275086045265, -0.007385842967778444, 0.0022888467647135258, -0.009372091852128506, 0.017934132367372513, 0.036597199738025665, 0.06653030216693878, -0.0012473792303353548, -0.03486616536974907, -0.006657124496996403, 0.033736277371644974, -0.02004864253103733, -0.02792769856750965, -0.012039546854794025, 0.031995486468076706, 0.024673210456967354, 0.006447662599384785, 0.03742096573114395, -0.035704802721738815, 0.02074417471885681, 0.01815258339047432, 0.039283450692892075, -0.006749799009412527, 0.0034506618976593018, 0.016166027635335922, 0.034240178763866425, 0.0026446690317243338, -0.015120649710297585, -0.006865714211016893, -0.05552104860544205, -0.0037850176449865103, 0.01689293049275875, -0.02469267137348652, -0.0020414646714925766, 0.0385514535009861, -0.04168335720896721, -0.004088243003934622, 0.033273845911026, -0.009403787553310394, -0.011915650218725204, -0.030758028849959373, 0.04720962792634964, -0.03183405101299286, -0.04264295473694801, 0.027635490521788597, -0.027763182297348976, 0.030552055686712265, 0.030506839975714684, -0.0005259753088466823, 0.011562755331397057, 0.017770754173398018, 0.04540805146098137, -0.016973935067653656, -0.0056885480880737305, -0.016082795336842537, -0.011998011730611324, 0.006166973616927862, 0.04459034278988838, 0.0098215751349926, 0.05861862748861313, -0.0062996516935527325, 0.03700510039925575, -0.005889754742383957, 0.04482591897249222, -0.03776875510811806, -0.03472933918237686, -0.04586046189069748, -0.006650080904364586, 0.007273402996361256, 0.05969807505607605, -0.03843320161104202, -0.008452766574919224, -0.0341646745800972, -0.021642696112394333, 0.03791290149092674, -0.03788214176893234, -0.036196403205394745, -0.04408316686749458, -0.011601889505982399, 0.028535855934023857, 0.029512489214539528, -0.0248109083622694, 0.01786094531416893, 0.026139892637729645, -0.03160573169589043, 0.0008832995081320405, 0.011118380352854729, -0.008288769982755184, 0.016075752675533295, -0.0430743582546711, 0.003749252762645483, 0.03288552910089493, -0.002625062596052885, -0.02090245857834816, -0.004094344563782215, 8.0676366655162e-33, -0.05033138021826744, -0.013447798788547516, 0.00008497985982103273, 0.023056993260979652, -0.05869581177830696, -0.01548172440379858, 0.011423873715102673, -0.0016673316713422537, -0.006007597781717777, 0.03894757851958275, 0.010464219376444817, 0.041755445301532745, -0.02370838262140751, 0.0268792062997818, 0.05793748050928116, -0.048802249133586884, -0.021989012137055397, 0.008359532803297043, 0.00741802342236042, 0.018643466755747795, 0.04473496973514557, -0.00014392667799256742, 0.01611257530748844, 0.006068773102015257, 0.041460730135440826, 0.04223300889134407, 0.009687346406280994, 0.031842101365327835, 0.009282296523451805, -0.016418613493442535, -0.001400186331011355, -0.012653158977627754, 0.01638895459473133, -0.03807489573955536, 0.012276655063033104, 0.007136787753552198, 0.01984448730945587, -0.0033811666071414948, 0.03286592662334442, 0.006878507789224386, 0.0013882116181775928, -0.033002741634845734, 0.02542104385793209, 0.0008136006654240191, -0.008598942309617996, -0.0011008938308805227, -0.002440696582198143, -0.006042025983333588, 0.03561854735016823, -0.0050075966864824295, 0.004954278469085693, -0.029707735404372215, 0.010370168834924698, 0.010416644625365734, 0.008804867044091225, -0.013142240233719349, -0.0028254918288439512, 0.02346116304397583, -0.027443626895546913, -0.027757810428738594, -0.034018438309431076, -0.0033598816953599453, -0.01867825537919998, -0.019787447527050972, -0.03103416971862316, -0.030262986198067665, -0.037751734256744385, -0.0791904404759407, -0.014424208551645279, 0.018417194485664368, -0.002874888712540269, -0.029452865943312645, -0.001432877848856151, 0.019330162554979324, -0.03688117861747742, -0.002914449665695429, -0.0172902699559927, 0.008157163858413696, 0.03658772632479668, -0.0036056304816156626, 0.012729653157293797, -0.007099947426468134, 0.0758349671959877, -0.001853769994340837, 0.04097159579396248, -0.014036384411156178, 0.007721418514847755, 0.0465223491191864, 0.015467858873307705, 0.01340543758124113, -0.02562114968895912, -0.0152134383097291, 0.022103482857346535, 0.011857675388455391, -0.02562861144542694, -1.3307828616859751e-8, 0.01429724134504795, -0.04305633157491684, -0.08397495001554489, 0.01965118758380413, -0.017349449917674065, 0.024459781125187874, -0.02307894080877304, -0.0491747185587883, 0.009756726212799549, 0.014161317609250546, 0.009205044247210026, 0.016891999170184135, 0.0013535193866118789, 0.002671003108844161, 0.03975110501050949, -0.002826742362231016, 0.031335536390542984, -0.05372314527630806, 0.003286996390670538, -0.03606092557311058, -0.021098138764500618, 0.02202673815190792, -0.01759788580238819, -0.022925496101379395, -0.01794036291539669, -0.03781908005475998, 0.04489206150174141, -0.0811917707324028, 0.0000929364759940654, 0.002904783235862851, -0.0030612382106482983, -0.030811350792646408, -0.004993700422346592, 0.019417259842157364, 0.0055338675156235695, -0.008854838088154793, 0.003145951312035322, 0.022957351058721542, 0.04899255931377411, -0.0306102205067873, -0.003297843737527728, -0.02985505945980549, 0.02036530151963234, -0.02532157488167286, -0.00778940599411726, -0.039738018065690994, 0.026633579283952713, -0.01431762520223856, 0.01758594624698162, 0.01396575290709734, 0.035433877259492874, -0.0006787758320569992, 0.023232271894812584, 0.014727306552231312, 0.011310013942420483, 0.028914859518408775, 0.01774497702717781, -0.048517581075429916, -0.03081998974084854, -0.0010602276306599379, 0.016586557030677795, -0.001537221483886242, -0.026166735216975212, -0.04016362875699997 ]
haskell-explicit-type-declarations-in-ghci
https://markhneedham.com/blog/2012/05/10/haskell-explicit-type-declarations-in-ghci
false
2012-05-19 20:03:02
Building an API: Test Harness UI
[ "software-development" ]
[ "Software Development" ]
On the project I've been working on we're building an API to be used by other applications in the organisation but when we started none of those applications were ready to integrate with us and therefore http://martinfowler.com/articles/consumerDrivenContracts.html[drive the API design]. Initially we tried driving the API through integration style tests but we realised that taking this approach made it quite difficult for us to imagine how an application would use it. It also meant that we didn't have a good way to show our business stakeholders the work we'd done - showing off pieces of JSON going back and forth probably wouldn't have gone down too well! We therefore decided to create our own test harness UI which we would use to show case what we'd developed so far and also use to help drive the design of the API. Obviously it would be better if we were able to drive the API out from a real application but given that wasn't possible the test harness approach seems to work reasonably well. The main problem that we ran into was not knowing how much effort we should be putting into the test harness UI given that its primary purpose was to show the progress being made on the UI. We started out not writing many tests or paying much attention to how it looked since it was assumed to be a throwaway UI. Over time it's become more complicated and since we use it to display progress to management stakeholders we've spent time making it more presentable. Despite that I'd still say the effort we've put in is worthwhile because it gives us a way to show progress to non technical people. From my experience if you can't do that they'll start to get nervous and wonder if you know what you're doing which isn't a good place to be!
null
null
[ 0.05260533094406128, 0.010604074224829674, 0.0075174360536038876, 0.03939231112599373, 0.07912691682577133, 0.019087016582489014, 0.009657138027250767, 0.052234113216400146, 0.03321157768368721, -0.014457649551331997, -0.006080888211727142, -0.0021598415914922953, -0.0665367841720581, 0.02095169387757778, -0.02252691052854061, 0.062273550778627396, 0.07157251983880997, 0.019812949001789093, 0.023384111002087593, 0.0013565132394433022, 0.027324212715029716, 0.06343269348144531, 0.021008361130952835, 0.038361258804798126, 0.03362330049276352, 0.013699866831302643, 0.00968837458640337, -0.005120588466525078, -0.06444436311721802, -0.010495447553694248, 0.02675436995923519, -0.022104885429143906, 0.0010520470095798373, -0.00900590792298317, -0.00048770842840895057, -0.02209767885506153, -0.022517090663313866, 0.026499342173337936, 0.009129919111728668, 0.010570905171334743, -0.0655980110168457, 0.03623966500163078, -0.016322217881679535, 0.0008888234733603895, -0.031057843938469887, -0.0009429066558368504, -0.04368168115615845, 0.004565509036183357, -0.0015788826858624816, -0.010221541859209538, -0.05555492639541626, 0.025183483958244324, -0.03163105249404907, 0.013729683123528957, 0.00052038294961676, 0.043561194092035294, 0.012427405454218388, -0.0788574069738388, -0.00690143508836627, -0.041050735861063004, -0.004758012481033802, -0.007787633687257767, 0.0031946557573974133, 0.03217390552163124, 0.0440383106470108, -0.035086218267679214, -0.006936070509254932, 0.050687022507190704, -0.04150256887078285, 0.010132563300430775, -0.024641912430524826, -0.0038125240243971348, -0.019887220114469528, -0.019985897466540337, 0.007631268817931414, -0.0524619035422802, 0.011467096395790577, 0.07298000901937485, 0.016970103606581688, 0.031921036541461945, -0.018230829387903214, 0.0444369800388813, 0.018627285957336426, 0.031661257147789, -0.004997890908271074, -0.040099140256643295, -0.008296092972159386, -0.006886725313961506, -0.03482280671596527, 0.04824104905128479, 0.03989715501666069, -0.05864132568240166, 0.023095108568668365, 0.02618805691599846, -0.002820040797814727, 0.00784252304583788, 0.030149253085255623, 0.015385357663035393, -0.01896488294005394, -0.006550882011651993, -0.02561347186565399, -0.005085259210318327, -0.0015621595084667206, 0.019666464999318123, -0.06313768029212952, -0.010072017088532448, -0.010352403856813908, -0.021351873874664307, -0.014760743826627731, 0.0069684553891420364, -0.028212349861860275, 0.03258240967988968, -0.02754339389503002, 0.01863013580441475, -0.05572044104337692, 0.08229231834411621, 0.002095030387863517, -0.05990024283528328, -0.023259107023477554, 0.01184519287198782, 0.05339823663234711, 0.03028777986764908, -0.019715946167707443, 0.054058898240327835, -0.0010865485528483987, 0.038142312318086624, -0.042490776628255844, 0.04782334715127945, 0.0037457209546118975, -0.05209580436348915, -0.01251642033457756, 0.05192115157842636, -0.019264856353402138, -0.0076867323368787766, 0.005494588054716587, -0.021799888461828232, 0.0233499463647604, -0.007142186630517244, 0.03738841786980629, 0.011137302033603191, -0.029787292703986168, -0.050328873097896576, 0.004993930924683809, 0.007324239704757929, 0.015803679823875427, 0.015210256911814213, 0.023852290585637093, -0.014083479531109333, -0.05695751681923866, 0.0016006823861971498, -0.0009442413575015962, 0.03363922983407974, 0.011309049092233181, -0.030840910971164703, 0.019206620752811432, 0.09118735790252686, 0.012517658062279224, -0.004813767969608307, -0.02511342242360115, 0.028647448867559433, 0.032277289777994156, 0.0339844785630703, 0.009310786612331867, 0.0019509770208969712, -0.004718831740319729, -0.012609555386006832, 0.008795622736215591, 0.042287763208150864, 0.0014831067528575659, 0.029724685475230217, -0.0701371282339096, -0.0679660215973854, 0.0443640798330307, -0.037885114550590515, -0.02016696147620678, 0.06782086193561554, 0.090591199696064, 0.028556475415825844, 0.01930352672934532, 0.033642616122961044, -0.07909754663705826, 0.047824349254369736, 0.023738423362374306, 0.007745218463242054, 0.0386965274810791, -0.012019156478345394, 0.07051347941160202, 0.023309169337153435, -0.019002031534910202, 0.007679068949073553, -0.06588242948055267, -0.09635141491889954, -0.03872799128293991, -0.020155783742666245, 0.04586214944720268, -0.029050858691334724, 0.006670536007732153, 0.07240428030490875, 0.009130110964179039, 0.05278431251645088, 0.0054848892614245415, 0.006322248838841915, 0.018903546035289764, -0.07418669760227203, -0.04350960627198219, 0.037261977791786194, 0.055877864360809326, -0.018709110096096992, -0.056464310735464096, 0.0006339398096315563, -0.0207492895424366, -0.021592436358332634, 0.06325731426477432, -0.021806735545396805, 0.03357436880469322, -0.007888519205152988, 0.06552833318710327, -0.029090723022818565, 0.043997623026371, -0.06046122685074806, 0.026177072897553444, -0.00898201297968626, -0.027979929000139236, 0.011790427379310131, -0.009274172596633434, 0.10977456718683243, 0.06972206383943558, -0.05073695629835129, -0.03994472324848175, 0.026459740474820137, 0.012276006862521172, -0.04046275466680527, -0.007302512414753437, -0.02403416857123375, -0.019535336643457413, 0.005379126872867346, -0.06826838850975037, -0.023850077763199806, 0.01981821097433567, -0.047519031912088394, 0.009557113982737064, 0.060319602489471436, -0.04407326504588127, 0.06919634342193604, 0.010657706297934055, -0.009595509618520737, -0.013621057383716106, -0.009199433028697968, -0.06310116499662399, 0.02996618114411831, 0.00137853913474828, -0.0076902443543076515, 0.038829077035188675, -0.006752788554877043, -0.021877499297261238, -0.0302968081086874, -0.01801980659365654, 0.017446080222725868, 0.040095288306474686, 0.0693931132555008, 0.0028722938150167465, 0.055662851780653, -0.016136862337589264, 0.03626955300569534, 0.011680086143314838, -0.03291412442922592, -0.01621238887310028, -0.0067362599074840546, -0.012128124944865704, 0.047614600509405136, 0.020572882145643234, 0.011829177848994732, 0.016939613968133926, 0.005686757620424032, -0.010515190660953522, 0.0018269645515829325, 0.04310908541083336, 0.006802896503359079, 0.005767097231000662, -0.021608097478747368, -0.004741888493299484, 0.04204501211643219, -0.06321390718221664, -0.013523323461413383, 0.027450421825051308, -0.07583686709403992, 0.05984677001833916, -0.060392048209905624, -0.0558486208319664, -0.016180312260985374, 0.031222673133015633, 0.055710531771183014, 0.0031184854451566935, 0.01518135517835617, 0.07945331186056137, 0.019106147810816765, 0.0016003928612917662, -0.0041342428885400295, 0.008691010996699333, 0.032476115971803665, 0.01590908318758011, -0.012329467572271824, 0.0592615008354187, -0.012486439198255539, 0.01772187650203705, -0.0660388171672821, 0.04794275388121605, -0.038767389953136444, -0.30370190739631653, 0.017001433297991753, 0.0279108677059412, -0.014337826520204544, 0.0292796790599823, -0.009280662052333355, -0.006382377818226814, -0.04725705459713936, 0.004306623246520758, 0.03500530496239662, -0.03206489607691765, -0.023881474509835243, -0.02532500959932804, 0.05560881644487381, -0.0027903695590794086, 0.03025643900036812, 0.047572314739227295, -0.035435229539871216, 0.006341287866234779, 0.03931155428290367, -0.025642596185207367, -0.07698820531368256, 0.011247626505792141, 0.021390432491898537, 0.05689079686999321, 0.033616356551647186, -0.08726669102907181, 0.055822376161813736, -0.03756094351410866, -0.011809875257313251, 0.022009149193763733, -0.008889764547348022, -0.003795394441112876, -0.04083390161395073, -0.0075195590034127235, -0.0167497880756855, 0.03685471788048744, 0.008497619070112705, 0.005776453297585249, -0.0033418359234929085, -0.0071648708544671535, -0.037023935467004776, -0.01398157887160778, 0.0222561527043581, 0.0832168310880661, -0.020800987258553505, -0.08300057798624039, -0.013414733111858368, -0.051668982952833176, 0.07388345897197723, -0.03016527183353901, -0.0175025537610054, -0.025346115231513977, 0.05179373547434807, -0.013859742321074009, -0.008333706296980381, -0.000908876012545079, -0.009267160668969154, -0.06259708851575851, -0.004963478539139032, -0.021258503198623657, -0.036280710250139236, -0.03145154193043709, -0.028763500973582268, -0.030190706253051758, -0.06152332201600075, -0.03560732677578926, -0.0234304778277874, 0.06712708622217178, 0.002232672879472375, -0.033964019268751144, 0.015427665784955025, -0.0030376350041478872, -0.10447098314762115, 0.006151669658720493, -0.023779043927788734, -0.014995958656072617, -0.0018124012276530266, -0.01375553384423256, 0.020687013864517212, -0.02655503712594509, -0.057870663702487946, 0.019271135330200195, 0.005025316961109638, 0.011455097235739231, -0.009131786413490772, 0.04906751215457916, -0.0016531533328816295, -0.027933713048696518, 0.028530679643154144, 0.0683353841304779, -0.02388310804963112, -0.03921015188097954, -0.02861584536731243, 0.01480493601411581, 0.0030138352885842323, 0.027096636593341827, -0.005128288175910711, -0.013629891909658909, 0.027079492807388306, 0.0032124354038387537, -0.05535754933953285, 0.013303343206644058, 0.010656116530299187, 0.008872113190591335, -0.024951769039034843, -0.047311753034591675, 0.003579431213438511, 0.038166746497154236, 0.04160965979099274, 0.009975445456802845, -0.02406430058181286, -0.004580116365104914, -0.02999924309551716, -0.0467139407992363, -0.01027020625770092, 0.003988147247582674, 0.04166947305202484, -0.013170629739761353, -0.0057989684864878654, -0.04522077366709709, 0.0029221491422504187, 0.03159322217106819, -0.006913608871400356, -0.05173390358686447, -0.02852378971874714, -0.020330308005213737, -0.005473255645483732, 0.022087231278419495, 0.026851383969187737, 0.002896413905546069, 0.030735766515135765, 0.013057101517915726, -0.051021039485931396, -0.006528597325086594, -0.013776706531643867, -0.04290417581796646, -0.01013186201453209, 0.00299882423132658, -0.01590081863105297, -0.0016059746267274022, 0.02658449299633503, 0.017022598534822464, 0.020886944606900215, 0.026080090552568436, -0.005087343510240316, 0.028041493147611618, -0.01273849606513977, 0.021745121106505394, -0.006002535577863455, 0.010294608771800995, -0.09466461092233658, 0.002002883004024625, -0.04591868445277214, -0.01756437122821808, -0.05605060234665871, 0.022491654381155968, -0.019772397354245186, -0.03273545578122139, -0.034875158220529556, 0.007326437626034021, -0.0770842656493187, -0.054911721497774124, -0.017798949033021927, 0.03267800062894821, 0.06126607954502106, -0.007584557402879, 0.008974922820925713, -0.006207202561199665, -0.01700432598590851, 0.01636059768497944, 0.029737530276179314, -0.030704164877533913, -0.000028084381483495235, -0.01956484094262123, 0.0034474972635507584, -0.013532642275094986, -0.027354223653674126, 0.05261928215622902, -0.006996611598879099, -0.015577810816466808, -0.02197476662695408, 0.030962683260440826, -0.01431137602776289, 0.04797794669866562, 0.0016857064329087734, -0.003660493530333042, 0.0045666685327887535, -0.015220009721815586, -0.01712220348417759, -0.05190400034189224, -0.002075042575597763, 0.00958278588950634, 0.013408486731350422, -0.02182229980826378, -0.08170638978481293, 0.0434853732585907, 0.008347135968506336, 0.015926947817206383, 0.010501139797270298, -0.015028377994894981, 0.014832640066742897, -0.02897798828780651, 0.026578543707728386, 0.058074481785297394, -0.06390262395143509, 0.005020784679800272, 0.0008006907301023602, 0.0006377500831149518, 0.012766136787831783, -0.0007636198424734175, -0.04715569689869881, -0.03747358173131943, -0.020362673327326775, -0.032724231481552124, -0.050538379698991776, -0.022101951763033867, -0.03288968652486801, 0.01743953488767147, 0.007190501317381859, -0.03943676874041557, -0.01291975099593401, -0.037056367844343185, -0.010481753386557102, -0.015032374300062656, 0.011440431699156761, -0.03098038025200367, -0.02116486430168152, 0.0005954172229394317, -0.03828226774930954, -0.010177897289395332, -0.03555910289287567, 0.030052851885557175, 0.026503797620534897, -0.03786224126815796, -0.002532696584239602, -0.043962787836790085, -0.023553412407636642, -0.000613527197856456, 0.06287924200296402, -0.029791001230478287, -0.015528079122304916, -0.04736219346523285, -0.007191898301243782, -0.0318211130797863, 0.018642239272594452, -0.018597520887851715, -0.013870452530682087, 0.012762156315147877, 0.06074129045009613, 0.0027267031837254763, 0.018046647310256958, -0.002539154840633273, -0.011774590238928795, 0.04751588776707649, -0.0726962462067604, -0.005130194593220949, -0.04017878323793411, -0.04794756695628166, -0.0009239601204171777, 0.007176313549280167, 0.025917092338204384, -0.039782825857400894, 0.04681367054581642, 0.01694846898317337, 0.046036623418331146, 0.03945348784327507, -0.007118097972124815, 0.046665214002132416, -0.05018255114555359, 0.0044135600328445435, -0.07357852905988693, 0.01760139688849449, 0.043568022549152374, -0.00432342104613781, -0.017422927543520927, 0.01054528821259737, -0.04592740908265114, 0.08022192865610123, -0.06779415160417557, -0.006586361676454544, 0.054556239396333694, 0.012992830947041512, -0.01838233694434166, 0.001055430737324059, -0.06971852481365204, 0.05803730711340904, 0.03525295853614807, -0.03651399537920952, -0.02446579560637474, 0.005246386397629976, 0.06336633116006851, 0.018587080761790276, 0.022427406162023544, -0.03192949295043945, -0.016831835731863976, 0.08265604078769684, 0.008436323143541813, -0.00027493451489135623, 0.04095522314310074, -0.027305379509925842, 0.02928886003792286, 0.02611367404460907, 0.01068228017538786, -0.009935672394931316, 0.027960477396845818, -0.01669900491833687, -0.05349275469779968, 0.039296604692935944, 0.004529268480837345, -0.006993980146944523, -0.04976627230644226, 0.06281635165214539, 0.02355727180838585, -0.03738020360469818, -0.0525069423019886, 0.026236506178975105, -0.06477365642786026, -0.016310857608914375, -0.0066455090418457985, -0.02065070904791355, -0.03677207604050636, 0.03912816569209099, -0.016419662162661552, 0.0137145034968853, 0.06621549278497696, 0.0003235872427467257, -0.011080964468419552, -0.014948357827961445, 0.0849088728427887, 0.06457266956567764, 0.05126629397273064, 0.01992420293390751, 0.06819482892751694, -0.0015543745830655098, -0.04244894161820412, 0.01080120075494051, -0.01776444911956787, -0.0183578934520483, -0.009994481690227985, 0.019969994202256203, 0.057088859379291534, 0.004433518275618553, 0.0516042523086071, 0.00336087285540998, 0.0018292433815076947, 0.011391807347536087, 0.03465561196208, -0.006569359917193651, 0.07134530693292618, -0.009073227643966675, 0.01719934493303299, -0.000939500576350838, -0.04114298149943352, 0.004444130230695009, -0.030778080224990845, -0.01656900905072689, 0.05217940732836723, -0.016611937433481216, 0.03195509687066078, 0.01460468303412199, 0.03417550399899483, 0.07613770663738251, -0.032901134341955185, 0.006988257635384798, -0.014271988533437252, 0.043951138854026794, 0.005060854833573103, -0.0029765197541564703, -0.025494394823908806, -0.0125614944845438, -0.010134080424904823, -0.02479180134832859, -0.026589103043079376, 0.00028156282496638596, -0.00819585844874382, 0.07364717870950699, -0.024073466658592224, 0.011231714859604836, 0.00674994895234704, 0.006619477178901434, -0.03342827409505844, -0.04121864214539528, -0.06017511337995529, -0.023365624248981476, -0.04454811289906502, -0.03997015208005905, 0.025875872001051903, 0.013533505611121655, -0.038368936628103256, -0.023295944556593895, -0.0035918871872127056, -0.00019075165619142354, 0.03926733136177063, -0.046977102756500244, -0.043513763695955276, 0.02918182499706745, 0.010451373644173145, 0.021301861852407455, -0.013594158925116062, 0.06396603584289551, 0.013336271978914738, -0.003177605802193284, -0.03348803147673607, 0.021092982962727547, 0.022989638149738312, 0.003320846240967512, 0.030919985845685005, -0.07450001686811447, 0.001369986217468977, 0.0042146677151322365, -0.0034518486354500055, -0.06776674836874008, 0.022468654438853264, 0.0092007452622056, -0.0010839345632120967, 0.0717211440205574, -0.016359183937311172, 0.009873167611658573, -0.006263657473027706, -0.02748055011034012, 0.005476238206028938, 0.021763769909739494, 0.038888394832611084, -0.011997639201581478, 0.09976884722709656, 0.01357182115316391, -0.004820068832486868, -0.03225516900420189, 0.0023562461137771606, -0.009526568464934826, 0.004402391146868467, -0.01978856511414051, -0.02662120759487152, -0.033275023102760315, -0.06102124601602554, -0.010760615579783916, 0.006513396743685007, -0.025248762220144272, -0.024333825334906578, 0.00982389785349369, 0.024219663813710213, -0.017736932262778282, 0.013119217939674854, -0.049457307904958725, 0.03543993458151817, -0.00528310751542449, 0.0005561430007219315, 0.013114064931869507, 0.014765863306820393, -0.01499354187399149, -0.0025100810453295708, 0.013931866735219955, -0.04686136543750763, -0.0015609824331477284, -0.006412688177078962, 0.04157723858952522, 0.017191439867019653, -0.020958758890628815, -0.009878383949398994 ]
[ -0.08400793373584747, -0.010489394888281822, -0.026663854718208313, -0.03341837599873543, 0.026818692684173584, -0.035109743475914, -0.01418854109942913, 0.02378169633448124, -0.019832229241728783, -0.03225982189178467, -0.008474909700453281, -0.028954224660992622, -0.009796934202313423, -0.01772337593138218, 0.08662544935941696, 0.0032978917006403208, 0.009356526657938957, -0.09000420570373535, 0.005567543208599091, 0.0335969403386116, 0.006786264944821596, -0.0006471946253441274, -0.03456606715917587, -0.032056499272584915, -0.029940543696284294, 0.048470743000507355, 0.032296545803546906, -0.02301846444606781, 0.01444641686975956, -0.16107705235481262, 0.014540350064635277, -0.01751953735947609, 0.049992211163043976, 0.003420446300879121, 0.015277719125151634, 0.060533590614795685, 0.004668430890887976, 0.018232110887765884, -0.005123766139149666, 0.03519175201654434, 0.0328434593975544, 0.005872173234820366, -0.05370818451046944, -0.03180459141731262, 0.027585482224822044, 0.002178462687879801, -0.01876126229763031, -0.008878827095031738, -0.039260342717170715, 0.01881752721965313, -0.047970179468393326, -0.04348233714699745, -0.0006553969578817487, -0.031860243529081345, -0.011457638815045357, 0.04284277930855751, 0.023975679650902748, 0.08355152606964111, 0.003542935708537698, 0.0321582667529583, 0.019191212952136993, -0.037989016622304916, -0.12911251187324524, 0.0978313460946083, 0.03329089656472206, 0.06406062096357346, -0.0630650445818901, -0.023427924141287804, -0.005382079631090164, 0.08591803908348083, 0.018416963517665863, -0.039815038442611694, -0.020305775105953217, 0.04728950560092926, 0.02020706795156002, 0.017307797446846962, 0.014030009508132935, 0.03438447043299675, 0.046542610973119736, -0.04756752774119377, -0.03956085070967674, 0.004886526148766279, -0.028854023665189743, 0.00905059464275837, -0.02729932963848114, 0.01651817560195923, -0.012789450585842133, 0.07417354732751846, 0.05802500993013382, 0.026705769822001457, 0.06426392495632172, -0.03315551206469536, 0.022530091926455498, -0.013735795393586159, -0.06948232650756836, -0.016466744244098663, -0.008403392508625984, 0.0010659904219210148, -0.06466211378574371, 0.4409821629524231, -0.010461566038429737, -0.01832982338964939, 0.06768125295639038, 0.013058084063231945, -0.0151603352278471, -0.010790897533297539, 0.008312354795634747, -0.02803921513259411, 0.02166200615465641, -0.02169790118932724, 0.02309717796742916, 0.04993714019656181, 0.047899845987558365, -0.04290298372507095, 0.001892311149276793, 0.02335539273917675, -0.032198451459407806, 0.0204223170876503, -0.0018281926168128848, -0.0035470726434141397, -0.01741168089210987, 0.009392744861543179, 0.013336947187781334, 0.006382191553711891, -0.031431201845407486, -0.01857868582010269, 0.05401972681283951, 0.033925097435712814, -0.0075492593459784985, 0.003619975643232465, 0.049634095281362534, -0.047091785818338394, -0.07057428359985352, 0.014669950120151043, -0.009289459325373173, 0.003926220815628767, 0.010217878967523575, -0.005851065274327993, -0.00609093951061368, 0.06882590055465698, -0.006171590182930231, -0.0007051136344671249, 0.015212762169539928, -0.03091577999293804, -0.013213364407420158, 0.10500754415988922, 0.030309852212667465, -0.019831273704767227, -0.015528644435107708, -0.04125482589006424, 0.0069585759192705154, 0.04227326437830925, -0.02055978775024414, -0.05276991054415703, 0.027898795902729034, 0.007024237886071205, 0.09420590102672577, -0.007389354519546032, -0.04403238371014595, 0.02515898086130619, -0.00023573334328830242, -0.054684124886989594, -0.04539903253316879, 0.02122502215206623, 0.04052030295133591, -0.13939134776592255, -0.0054291607812047005, 0.013730784878134727, 0.025056248530745506, -0.05272780358791351, -0.02099725790321827, 0.02664819173514843, -0.025386624038219452, 0.001733641722239554, 0.05400240793824196, -0.03643710911273956, -0.06537412852048874, 0.0591367743909359, 0.02051405794918537, -0.004284523893147707, 0.009561363607645035, -0.010673162527382374, -0.04765153303742409, -0.016928644850850105, -0.04367832839488983, -0.06979458779096603, -0.02385011315345764, -0.021491503342986107, -0.04066931828856468, -0.014043633826076984, -0.023720044642686844, -0.01663864590227604, -0.09335014224052429, 0.09328486770391464, -0.015394236892461777, -0.030222775414586067, 0.02581094391644001, -0.018296975642442703, -0.021800817921757698, -0.015848588198423386, -0.021238096058368683, 0.016045639291405678, -0.023443518206477165, 0.028771106153726578, -0.06999746710062027, 0.05577658861875534, 0.05171031504869461, -0.0478985458612442, 0.10639321804046631, 0.037560295313596725, -0.031213726848363876, -0.021118968725204468, 0.0259732436388731, 0.01658453233540058, 0.023918140679597855, -0.028310712426900864, 0.0012354860082268715, 0.010479363612830639, 0.020262015983462334, 0.029918193817138672, -0.030451931059360504, 0.03696630150079727, -0.009879020042717457, -0.34965723752975464, -0.04402720555663109, -0.04619183763861656, 0.03881027549505234, -0.02749565802514553, -0.060677625238895416, 0.027748193591833115, 0.008587104268372059, -0.025377515703439713, 0.02091347426176071, 0.1137663796544075, 0.00033235625596717, 0.046320840716362, -0.047312796115875244, -0.0038449899293482304, 0.0035293467808514833, -0.04997914656996727, -0.0025871717371046543, -0.036219120025634766, 0.02659609355032444, -0.02391594648361206, -0.01708957552909851, -0.00009115026477957144, -0.050557103008031845, 0.000678841897752136, -0.02005126141011715, 0.1303556114435196, 0.009662516415119171, 0.06723908334970474, -0.04625946283340454, 0.05660155788064003, 0.0036352488677948713, 0.0034124429803341627, -0.11280178278684616, -0.009752489626407623, -0.006174598820507526, -0.002756941132247448, -0.00385583215393126, 0.015680180862545967, -0.037504326552152634, -0.07071999460458755, 0.016872825101017952, -0.03673442825675011, -0.04785607010126114, -0.02550753578543663, 0.01677207462489605, -0.04278534650802612, -0.023871107026934624, -0.057595234364271164, 0.0784347802400589, 0.009630885906517506, -0.00089448963990435, 0.02742774598300457, 0.03208816424012184, -0.011305331252515316, -0.03201461583375931, -0.06526924669742584, 0.026361431926488876, 0.022471269592642784, -0.0033794851042330265, 0.01327955536544323, 0.07954727113246918, 0.04066799581050873, -0.04716978594660759, 0.0018433150835335255, 0.014651268720626831, -0.004473067820072174, 0.01335435826331377, 0.03335396945476532, -0.01927296258509159, -0.03263108432292938, 0.09782247245311737, -0.01333623193204403, -0.003241470083594322, 0.021352672949433327, 0.025493677705526352, -0.024470975622534752, 0.0031349954660981894, 0.039934899657964706, 0.005957586225122213, -0.0055618626065552235, 0.00378983817063272, 0.014807721599936485, -0.020205017179250717, -0.008758564479649067, 0.07130254060029984, -0.009578422643244267, -0.058646902441978455, 0.05034385249018669, -0.006843356415629387, 0.001314266468398273, 0.013099989853799343, -0.023429837077856064, -0.05244327709078789, 0.08300971239805222, 0.005902673117816448, -0.2449839860200882, 0.011786352843046188, 0.06120683252811432, 0.04901629313826561, -0.024493612349033356, 0.018588514998555183, 0.025116655975580215, -0.06294693797826767, 0.0010553391184657812, 0.014014681801199913, 0.01059594564139843, 0.027375781908631325, 0.013977797701954842, -0.02012060023844242, 0.05534563958644867, 0.016180286183953285, 0.0414309985935688, 0.01614340953528881, 0.011840853840112686, -0.01983056031167507, 0.018462402746081352, 0.006536207627505064, 0.1548142284154892, 0.006823984906077385, 0.0010575605556368828, 0.03843206167221069, -0.015856686979532242, 0.025612520053982735, 0.0860954150557518, 0.004320159554481506, -0.0124742416664958, -0.018307659775018692, 0.015923019498586655, 0.007831963710486889, 0.037918951362371445, -0.10285128653049469, -0.017628705129027367, -0.01141536794602871, 0.014347369782626629, 0.0028203572146594524, 0.021716563031077385, 0.016615670174360275, -0.0020564724691212177, 0.01629992201924324, 0.05997493863105774, 0.0021729557774960995, -0.01109370868653059, -0.03251919150352478, -0.051389750093221664, -0.01239133719354868, -0.0426131971180439, -0.08259186148643494, -0.007825757376849651, -0.009523145854473114, 0.012933827005326748, 0.0693589523434639, 0.021689629182219505, -0.026911862194538116, 0.005769438110291958, 0.001429968629963696, -0.000916730728931725, -0.025471996515989304, 0.08286049216985703, 0.015446782112121582, 0.03150813281536102 ]
[ -0.022663196548819542, 0.01679186336696148, -0.01700098253786564, 0.012728103436529636, -0.011793547309935093, 0.0008677599253132939, -0.012819228693842888, 0.01522017177194357, -0.0015388823812827468, -0.011933284811675549, 0.00974561832845211, -0.007721279747784138, 0.019031191244721413, -0.010853930376470089, 0.03077147901058197, -0.03600709140300751, 0.030254753306508064, -0.029621101915836334, 0.03535420447587967, -0.021611422300338745, -0.007462069392204285, 0.023336272686719894, -0.03490793704986572, 0.0006587964599020779, -0.016613557934761047, -0.00011135483509860933, -0.001400228589773178, -0.009150211699306965, 0.027737541124224663, -0.10987652093172073, -0.026507370173931122, -0.07259657233953476, -0.031819846481084824, -0.008350064978003502, -0.00762272858992219, -0.001951906131580472, 0.025739673525094986, -0.015273121185600758, 0.0386589951813221, -0.003981283865869045, 0.03331200033426285, -0.03295173868536949, -0.024175770580768585, -0.0220062006264925, -0.0035075570922344923, -0.019849466159939766, -0.010591438971459866, -0.042357102036476135, -0.015116488561034203, 0.014116636477410793, -0.03919660300016403, -0.0009875032119452953, -0.007069279905408621, -0.005724788177758455, 0.0069364458322525024, -0.02319902740418911, -0.0018530957167968154, 0.011120416224002838, -0.022595126181840897, 0.019181694835424423, 0.027166161686182022, -0.04186370596289635, -0.027055246755480766, 0.0017766773235052824, -0.02827109955251217, 0.009079794399440289, -0.044946666806936264, 0.018587764352560043, -0.029443079605698586, -0.033092744648456573, 0.011377793736755848, -0.02561011165380478, -0.040053270757198334, -0.033009521663188934, 0.026116762310266495, -0.003685805480927229, -0.014838501811027527, -0.006232401821762323, 0.0017878114013001323, -0.02089180052280426, -0.009415462613105774, 0.05390934273600578, -0.010828640311956406, 0.03748608008027077, -0.012062661349773407, 0.05503591522574425, 0.01386930700391531, -0.007610618136823177, -0.02715456858277321, 0.024133823812007904, -0.0013783639296889305, 0.00812989566475153, -0.005644509103149176, 0.0015979582676663995, -0.047576554119586945, -0.0010268313344568014, -0.02643928863108158, -0.012339724227786064, -0.006271397229284048, 0.8694117665290833, 0.005003558471798897, 0.016773516312241554, 0.03445809334516525, 0.017250871285796165, -0.006559558678418398, -0.008949671871960163, 0.005887370556592941, 0.0162873025983572, 0.009632213041186333, -0.004674728028476238, 0.029362093657255173, 0.029745571315288544, 0.02373291738331318, 0.019326427951455116, 0.026724908500909805, 0.021165156736969948, -0.026506828144192696, 0.020123334601521492, 0.0021820319816470146, 0.016978036612272263, 0.03778532147407532, 0.004512010142207146, -0.00417298823595047, -0.019162289798259735, 0.03396628051996231, -0.16768388450145721, 0.029764994978904724, -8.29324121474586e-33, 0.004225040320307016, -0.027911709621548653, 0.02770417183637619, 0.01259678415954113, 0.025659503415226936, -0.005675670225173235, 0.04011967405676842, 0.04007171839475632, 0.022592216730117798, -0.02939085103571415, 0.012549019418656826, -0.002818431705236435, -0.018420793116092682, -0.0035965691786259413, 0.008378345519304276, -0.01762525923550129, -0.009785794652998447, 0.028834251686930656, -0.006080988794565201, -0.000716855691280216, 0.034525975584983826, 0.006911258213222027, 0.014508669264614582, 0.009776921011507511, -0.008801599964499474, 0.010667677037417889, -0.022856108844280243, 0.03553689643740654, -0.017187131568789482, -0.034502334892749786, -0.04116637259721756, 0.007501968182623386, -0.018082888796925545, -0.001985335722565651, -0.005754504818469286, -0.051671046763658524, -0.018200093880295753, -0.032691895961761475, -0.0164730753749609, -0.0011518755927681923, -0.027982844039797783, 0.007590946275740862, -0.05054609477519989, 0.006622021552175283, -0.04338192567229271, 0.01892966404557228, 0.015377074480056763, 0.0009512443793937564, 0.0104301106184721, -0.003403101582080126, 0.004675242118537426, 0.028573479503393173, 0.0249618049710989, -0.022827619686722755, -0.007120534311980009, 0.012714155949652195, -0.018403297290205956, -0.01687460206449032, -0.0007440028130076826, -0.0032292697578668594, -0.003562444355338812, -0.00039027578895911574, -0.011716987937688828, 0.02092793397605419, -0.030897533521056175, -0.008240221999585629, 0.007764782290905714, 0.009313915856182575, 0.008987479843199253, 0.0019632093608379364, -0.01982700638473034, 0.023060908541083336, -0.02361859194934368, -0.026406506076455116, 0.0393264964222908, -0.01907324232161045, 0.010572301223874092, 0.03456268459558487, -0.01326594315469265, 0.013860968872904778, 0.016732310876250267, -0.008302535861730576, 0.005808625370264053, -0.022869907319545746, 0.014089534059166908, 0.02349996380507946, 0.024548668414354324, -0.0009012357331812382, 0.010673734359443188, 0.011485804803669453, 0.024602817371487617, 0.05749287083745003, -0.012798831798136234, -0.00032724515767768025, -0.041951026767492294, 8.313425187433447e-33, 0.006169328931719065, -0.031111953780055046, -0.010878580622375011, -0.009246802888810635, -0.009895218536257744, -0.013354026712477207, 0.007359692361205816, 0.0040699178352952, -0.02645733207464218, 0.06242683157324791, -0.0026140923146158457, 0.00251812138594687, -0.02209913544356823, 0.028267614543437958, 0.03872044384479523, -0.009288864210247993, 0.01647667959332466, -0.022496020421385765, 0.024791033938527107, -0.0290638767182827, 0.019994474947452545, 0.010761801153421402, 0.013176540844142437, -0.029787687584757805, 0.0011743329232558608, 0.039098214358091354, -0.04157128557562828, 0.04219972714781761, -0.008283019065856934, -0.013591467402875423, 0.025729218497872353, -0.0274371188133955, 0.02109774760901928, -0.02563234604895115, -0.004574791993945837, 0.02936173975467682, -0.008859338238835335, 0.003396411193534732, 0.009045439772307873, -0.0035293421242386103, 0.013906973414123058, -0.026094984263181686, 0.017745304852724075, 0.02994740568101406, 0.03993738442659378, -0.014506746083498001, -0.016628727316856384, -0.03340676426887512, -0.016373252496123314, 0.03660108149051666, 0.012919845059514046, 0.03845374286174774, 0.025593595579266548, 0.02013207972049713, -0.04087717458605766, -0.0030949129723012447, -0.012320397421717644, 0.0061589558608829975, -0.009431333281099796, 0.0052465880289673805, -0.00392692256718874, -0.030753983184695244, -0.028298186138272285, 0.009637550450861454, -0.019912710413336754, -0.03256240487098694, 0.004690452944487333, 0.0038667551707476377, 0.02346036769449711, -0.008645230904221535, 0.0031104127410799265, -0.01683012582361698, -0.02686344087123871, 0.014867797493934631, 0.030947262421250343, -0.02086491324007511, 0.007335238624364138, -0.010714960284531116, -0.01689351163804531, 0.02852686308324337, 0.009415026754140854, -0.0027493806555867195, 0.03814028576016426, -0.008021696470677853, -0.015551367774605751, 0.008778572082519531, 0.00575753441080451, 0.025566551834344864, -0.008231422863900661, 0.01314479298889637, -0.006572564132511616, 0.006492292508482933, 0.0025962223298847675, 0.011081185191869736, -0.005767969414591789, -1.3940608667439847e-8, -0.023037824779748917, -0.0012931869132444263, -0.004092016723006964, 0.03643517196178436, -0.0012742410181090236, -0.017208652570843697, -0.03479071706533432, 0.0022460240870714188, -0.018109982833266258, 0.021100973710417747, 0.027189815416932106, -0.035109445452690125, -0.04838285967707634, 0.0280044786632061, 0.008896572515368462, -0.04756733775138855, -0.03571832925081253, 0.005220592487603426, 0.032604195177555084, 0.005342454183846712, 0.018979990854859352, 0.05642935633659363, -0.01586778834462166, 0.007593437563627958, 0.02037779986858368, -0.00394725427031517, 0.013215524144470692, -0.05957944318652153, -0.01840793900191784, 0.014351954683661461, 0.005234415642917156, -0.04508219286799431, -0.03090183064341545, -0.003206710098311305, -0.022865036502480507, -0.03791525587439537, 0.007199222221970558, 0.023313019424676895, 0.015600849874317646, 0.0014333721483126283, 0.02266232855618, 0.0012894639512524009, 0.0018802344566211104, -0.020728712901473045, -0.010015158914029598, 0.007000353187322617, -0.052951157093048096, 0.0012550088576972485, 0.04450545832514763, -0.027826884761452675, -0.014484328217804432, -0.01924212835729122, 0.029759543016552925, 0.02232496067881584, -0.002748269122093916, -0.0324004590511322, 0.019235890358686447, 0.009509121999144554, -0.037307702004909515, -0.00015782820992171764, 0.05421379953622818, 0.06374930590391159, -0.00469173165038228, -0.01661977730691433 ]
building-an-api-test-harness-ui
https://markhneedham.com/blog/2012/05/19/building-an-api-test-harness-ui
false
2012-05-07 09:18:02
Haskell: Maximum Int value
[ "haskell" ]
[ "Haskell" ]
One of the algorithms covered in https://www.coursera.org/course/algo[Algo Class] was the http://en.wikipedia.org/wiki/Closest_pair_of_points_problem[closest pairs algorithm] - an algorithm used to determine which pair of points on a plane are closest to each other based on their http://en.wikipedia.org/wiki/Euclidean_distance[Euclidean distance]. My real interest lies in writing the divide and conquer version of the algorithm but I started with the brute force version so that I'd be able to compare my answers. This is the algorithm: [source,text] ---- minDist = infinity for each p in P: for each q in P: if p ≠ q and dist(p, q) < minDist: minDist = dist(p, q) closestPair = (p, q) return closestPair ---- 'infinity' in this case could be the maximum value that an Int could hold which on a 64 bit architecture would be 2^63^ so I hardcoded that into my implementation: o [source,haskell] ---- bfClosest :: (Ord a, Floating a) => [(a, a)] -> Maybe ((a, a), (a, a)) bfClosest pairs = snd $ foldl (\ acc@(min, soFar) (p1, p2) -> if distance p1 p2 < min then (distance p1 p2, Just(p1, p2)) else acc) (2^63, Nothing) [(pairs !! i, pairs !! j) | i <- [0..length pairs - 1], j <- [0..length pairs-1 ], i /= j] where distance (x1, y1) (x2, y2) = sqrt $ ((x1 - x2) ^ 2) + ((y1 - y2) ^ 2) ---- We're comparing each point with all the others in the list by folding over a collection of all the combinations and then passing the pair with the smallest distance between points as part of our accumulator. More by chance than anything else I was reading http://learnyouahaskell.com/types-and-typeclasses[the Learn You a Haskell chapter on types and type classes] and came across the +++<cite>+++http://zvon.org/other/haskell/Outputprelude/maxBound_f.html[maxBound]+++</cite>+++ function which does exactly what I want: [source,haskell] ---- > 2 ^ 63 9223372036854775808 > maxBound :: Int 9223372036854775807 ---- We can't plug that straight into the function as is because the fold inside 'bfClosest' expects a float and had been automatically coercing 2^63^ into the appropriate type. We therefore use 'fromIntegral' to help us out: [source,haskell] ---- bfClosest :: (Ord a, Floating a) => [(a, a)] -> Maybe ((a, a), (a, a)) bfClosest pairs = snd $ foldl (\ acc@(min, soFar) (p1, p2) -> if distance p1 p2 < min then (distance p1 p2, Just(p1, p2)) else acc) (fromIntegral (maxBound :: Int), Nothing) [(pairs !! i, pairs !! j) | i <- [0..length pairs - 1], j <- [0..length pairs-1 ], i /= j] where distance (x1, y1) (x2, y2) = sqrt $ ((x1 - x2) ^ 2) + ((y1 - y2) ^ 2) ----
null
null
[ -0.005964517127722502, 0.020573589950799942, -0.0037780641578137875, 0.04927116632461548, 0.043490488082170486, 0.04438157379627228, 0.005074779968708754, 0.010903599672019482, 0.016368286684155464, -0.021755602210760117, -0.015558861196041107, -0.029588991776108742, -0.058109086006879807, 0.03189677372574806, -0.019393978640437126, 0.0748283639550209, 0.04641823098063469, 0.010243427008390427, 0.015043258666992188, 0.02483566664159298, 0.028225107118487358, 0.06435716152191162, -0.0027543457690626383, 0.00439872033894062, 0.039060961455106735, 0.019424835219979286, 0.0232104305177927, 0.011587964370846748, -0.02308952435851097, -0.01104237325489521, 0.05191649869084358, -0.005669138394296169, -0.004287512041628361, -0.051869962364435196, 0.032917555421590805, -0.0026008817367255688, -0.014845654368400574, 0.008013329468667507, -0.001420569489710033, 0.03048154152929783, -0.057263582944869995, 0.033304426819086075, 0.0009473323589190841, 0.020379941910505295, -0.04225195571780205, 0.006462253630161285, -0.05105414241552353, 0.03205243498086929, -0.015126940794289112, -0.008564688265323639, -0.053953271359205246, 0.062472451478242874, -0.006605363450944424, 0.005278556142002344, -0.02266423963010311, 0.05877820774912834, 0.046644020825624466, -0.08738799393177032, 0.03868971765041351, -0.04860619828104973, -0.015618611127138138, 0.0055834162048995495, 0.02899545058608055, 0.027363456785678864, -0.009587904438376427, -0.018657740205526352, 0.01909010484814644, 0.053313691169023514, -0.022048315033316612, -0.03149377927184105, 0.002866828115656972, -0.006168875377625227, -0.02130480296909809, -0.023267284035682678, -0.01613861508667469, -0.0016662998823449016, -0.033371299505233765, 0.05006870999932289, 0.03192707896232605, 0.0232935082167387, -0.014177244156599045, 0.00939619168639183, -0.014006652869284153, 0.029773158952593803, -0.011222620494663715, -0.03224325180053711, -0.062196239829063416, -0.04008202627301216, -0.07076012343168259, 0.019750118255615234, -0.0016385786002501845, -0.05301402881741524, -0.007561776787042618, 0.028707601130008698, 0.015355420298874378, 0.012323308736085892, 0.01842399314045906, 0.012133204378187656, -0.00789744034409523, -0.01338138710707426, -0.012186339125037193, -0.023421449586749077, 0.0243154875934124, 0.022673066705465317, -0.04584425687789917, 0.005769039038568735, 0.0024957102723419666, -0.02193324640393257, 0.03336444869637489, 0.0010018439497798681, -0.04750533029437065, -0.011423537507653236, 0.0072920555248856544, 0.0009872569935396314, -0.09813378006219864, 0.053892675787210464, -0.008330261334776878, -0.020309550687670708, -0.02042994648218155, 0.047241561114788055, 0.031368643045425415, 0.046404317021369934, -0.016675589606165886, 0.08616475015878677, -0.008844784460961819, 0.057351380586624146, 0.013720872811973095, 0.059407904744148254, -0.049759868532419205, -0.044436145573854446, -0.02360096387565136, 0.05759647116065025, -0.010644828900694847, -0.003541631391271949, -0.005324934609234333, -0.04377610981464386, -0.04446570202708244, 0.015935029834508896, 0.0473501980304718, 0.05363111197948456, 0.0030526001937687397, -0.030077258124947548, 0.023407040163874626, 0.007718384265899658, 0.006167568266391754, -0.013919996097683907, 0.02566746063530445, -0.008548653684556484, -0.01282521802932024, 0.012597291730344296, -0.00620259391143918, 0.025057023391127586, 0.035407695919275284, -0.03557535260915756, 0.02478363923728466, 0.08757879585027695, 0.024379409849643707, 0.020221466198563576, 0.002195217879489064, 0.01127659808844328, 0.04432656243443489, 0.011581875383853912, -0.016769232228398323, 0.040721770375967026, 0.004887429531663656, -0.021508369594812393, 0.009644630365073681, 0.08944983780384064, -0.02532864734530449, 0.0016797372372820973, -0.052468981593847275, -0.02811773680150509, 0.09040962904691696, -0.04098031669855118, -0.019895190373063087, 0.026089712977409363, 0.0749090313911438, 0.013139895163476467, 0.032363809645175934, 0.02773979678750038, -0.07548905164003372, 0.021343329921364784, 0.017924094572663307, 0.01886744424700737, 0.0175238698720932, -0.010011062026023865, 0.0947316363453865, 0.0395645834505558, 0.009879469871520996, 0.027330391108989716, -0.05950070917606354, -0.06702115386724472, -0.0185114573687315, -0.03857339918613434, 0.07172510027885437, -0.023396693170070648, -0.005003215279430151, 0.020081527531147003, 0.03574836254119873, 0.008768174797296524, -0.0018279135692864656, -0.0036949380300939083, 0.04583606868982315, -0.010144952684640884, -0.07044026255607605, 0.05592495948076248, 0.031054412946105003, -0.02437538467347622, -0.06735910475254059, 0.003895216854289174, -0.010083304718136787, -0.029710525646805763, -0.0002926085435319692, -0.03227927163243294, 0.0442332997918129, 0.018089869990944862, 0.03452088311314583, -0.010611603036522865, 0.07476407289505005, -0.06915250420570374, 0.016798632219433784, 0.023902200162410736, -0.0011877476936206222, -0.019518185406923294, -0.012180052697658539, 0.12745842337608337, 0.06927154213190079, -0.05268466845154762, -0.027696460485458374, 0.03582294285297394, -0.012101845815777779, -0.04793776199221611, 0.00888595636934042, -0.03261915594339371, -0.004182279109954834, 0.0045347814448177814, -0.0028767408803105354, -0.04035375639796257, 0.06039426475763321, -0.03048904985189438, -0.06678430736064911, 0.06515998393297195, -0.020838100463151932, 0.06336729973554611, 0.026720112189650536, -0.030005361884832382, 0.017794867977499962, -0.02961713634431362, -0.06208726018667221, 0.004494065418839455, 0.0027596401050686836, -0.0000972980196820572, 0.024967055767774582, 0.006624571979045868, -0.03932001814246178, -0.030544744804501534, -0.007264613639563322, 0.023447275161743164, 0.08108191937208176, 0.036941975355148315, -0.03555327653884888, 0.0391911044716835, -0.0009280602680519223, -0.004373010713607073, -0.020886696875095367, -0.056019145995378494, -0.05076539143919945, -0.020500818267464638, 0.03349582105875015, 0.002972390502691269, 0.01187389437109232, 0.005033364985138178, 0.013994120992720127, -0.01089272927492857, -0.022039566189050674, -0.017888318747282028, 0.03410038352012634, -0.00921730138361454, -0.042455390095710754, -0.031271301209926605, -0.011658878065645695, 0.0716162696480751, -0.030161330476403236, -0.0322771891951561, 0.014244387857615948, -0.04434429481625557, 0.047666631639003754, -0.08328324556350708, -0.0320155955851078, 0.00954372901469469, 0.049342937767505646, 0.06377392262220383, -0.0395471416413784, -0.026663918048143387, 0.0817122757434845, 0.0035276999697089195, 0.05125971511006355, 0.010751928202807903, -0.0024156738072633743, 0.016374552622437477, 0.008246275596320629, 0.03955843299627304, 0.004691955167800188, -0.011279852129518986, -0.0060826800763607025, -0.029991284012794495, 0.02001161500811577, -0.005117922555655241, -0.2589918375015259, 0.017476869747042656, -0.024981535971164703, -0.04128513112664223, 0.014593557454645634, -0.018693674355745316, -0.021255815401673317, -0.0345877967774868, -0.0013308444758877158, -0.0043426877819001675, -0.019689735025167465, -0.03669774532318115, -0.02657211571931839, 0.05323261767625809, 0.01062123291194439, 0.01194096077233553, -0.036851782351732254, -0.024100465700030327, -0.0030169023666530848, 0.03558461368083954, 0.03163022920489311, -0.06107142195105553, 0.0016553800087422132, 0.031701356172561646, 0.028233932331204414, 0.059584252536296844, -0.07805342227220535, 0.0023425621911883354, -0.050712622702121735, -0.02707763761281967, -0.0025216408539563417, -0.01092425175011158, 0.007467575836926699, -0.013371244072914124, -0.014101867564022541, -0.022829629480838776, 0.04562791809439659, -0.005013026297092438, 0.01531602256000042, 0.06307240575551987, -0.044249217957258224, -0.01397531758993864, 0.021593594923615456, 0.02145477384328842, 0.06991460174322128, -0.014280508272349834, -0.024927105754613876, 0.027509531006217003, -0.02332673966884613, 0.05982271581888199, -0.03169577196240425, -0.020975345745682716, 0.016892625018954277, 0.052375756204128265, -0.014133867807686329, -0.03728198632597923, -0.005617544986307621, -0.016417715698480606, -0.04439186304807663, -0.033620405942201614, -0.01246452797204256, -0.030587757006287575, -0.026388725265860558, -0.0768481120467186, -0.002745678648352623, -0.07187732309103012, -0.056739646941423416, -0.0003710316668730229, 0.04235968366265297, -0.0019256048835814, -0.016924332827329636, -0.004456079099327326, -0.03971729427576065, -0.10019920021295547, -0.02643587440252304, 0.012274542823433876, 0.0004212422645650804, 0.000990452361293137, 0.007895962335169315, 0.0688294842839241, -0.03353029862046242, -0.06365329772233963, 0.03858080506324768, 0.02350863441824913, 0.033474843949079514, -0.02145850844681263, -0.01693931221961975, -0.0021759539376944304, -0.016186615452170372, -0.01734849438071251, 0.0563935749232769, 0.005630382802337408, -0.03907866030931473, -0.016844727098941803, 0.010381227359175682, 0.03546193987131119, 0.0025485865771770477, 0.013474713079631329, -0.0032480042427778244, 0.025493521243333817, 0.011909122578799725, -0.010625612922012806, 0.039516884833574295, -0.02837444841861725, -0.049078334122896194, 0.027495764195919037, -0.033928241580724716, 0.0215448047965765, 0.026326963678002357, 0.006106850225478411, -0.032679203897714615, -0.05127023160457611, 0.03163610026240349, -0.024566225707530975, -0.027278734371066093, -0.02464783377945423, 0.011326278559863567, 0.02023957669734955, -0.0010840200120583177, -0.02892574667930603, -0.06840555369853973, -0.006545766722410917, -0.004263042937964201, -0.038551583886146545, -0.0474347323179245, -0.0008040476823225617, -0.040508270263671875, -0.0061531648971140385, 0.011818367056548595, 0.030648523941636086, -0.020841006189584732, 0.07136687636375427, 0.030981171876192093, -0.00035041282535530627, 0.0503019243478775, -0.023227974772453308, -0.021764595061540604, -0.031630489975214005, 0.011027137748897076, -0.048253245651721954, 0.030408183112740517, 0.004199449438601732, 0.020899564027786255, 0.024469109252095222, 0.030355354771018028, 0.0038122020196169615, 0.03227138891816139, -0.04059072583913803, 0.025680985301733017, -0.009054150432348251, -0.008676454424858093, -0.024813316762447357, 0.024486135691404343, -0.03132152929902077, -0.013598073273897171, -0.002221090253442526, -0.004034281708300114, -0.0049635423347353935, -0.07497823983430862, -0.025452876463532448, 0.040994491428136826, -0.004030014853924513, -0.013732070103287697, -0.03396772965788841, 0.024253996089100838, 0.07321049273014069, 0.0007187787559814751, 0.047337424010038376, -0.0502556748688221, -0.0018945441115647554, 0.03522023186087608, -0.022626180201768875, -0.07073375582695007, 0.0156362634152174, -0.012492467649281025, -0.009647056460380554, 0.025158625096082687, 0.004038501530885696, -0.020970772951841354, -0.014227504841983318, -0.027568411082029343, -0.023511407896876335, 0.009202630259096622, 0.01622777432203293, 0.022482706233859062, 0.011760301887989044, -0.008627240546047688, -0.0008783509838394821, -0.018798062577843666, -0.018846895545721054, -0.04102301597595215, -0.02891254797577858, -0.02521945722401142, 0.04316648468375206, -0.023697560653090477, -0.07554508000612259, 0.01052841916680336, 0.00190137536264956, -0.026810508221387863, 0.01741836592555046, -0.011282882653176785, 0.004458577837795019, -0.023832153528928757, 0.01242115069180727, 0.08968376368284225, -0.045353688299655914, 0.04582229256629944, 0.014427035115659237, 0.027762260288000107, 0.013415954075753689, -0.005756342317909002, -0.04990056902170181, -0.02203456498682499, -0.012707958929240704, 0.022507501766085625, -0.025966018438339233, -0.026277292519807816, 0.018867721781134605, 0.005971378646790981, -0.020224107429385185, -0.004947734531015158, 0.007919292896986008, -0.02726973220705986, -0.048041973263025284, -0.03831808269023895, 0.011340556666254997, -0.018682565540075302, -0.01742612011730671, 0.014632006175816059, -0.014034588821232319, 0.021143220365047455, -0.03019365854561329, 0.01144920289516449, 0.012248307466506958, -0.012375540100038052, 0.009692869149148464, -0.0650286078453064, 0.0003544283099472523, -0.025197744369506836, 0.011301727965474129, 0.012803595513105392, -0.004133571870625019, -0.008960478007793427, 0.01211607176810503, -0.03601750358939171, 0.00544092757627368, 0.030928662046790123, -0.04022665694355965, 0.04152057692408562, 0.010649800300598145, -0.042077720165252686, 0.014818752184510231, -0.011411657556891441, -0.011594085954129696, 0.06257187575101852, 0.0009176224120892584, -0.0360715314745903, -0.010790104046463966, -0.02836213819682598, 0.014554373919963837, -0.019374938681721687, 0.019503407180309296, -0.053836457431316376, 0.03981087729334831, 0.050359319895505905, 0.03850806877017021, 0.05011013150215149, -0.021438293159008026, 0.04655046388506889, -0.025921586900949478, 0.005903557874262333, -0.10147431492805481, -0.0020939360838383436, 0.020439106971025467, -0.020622089505195618, -0.02110631763935089, 0.018961818888783455, 0.005247238092124462, -0.0042929379269480705, -0.07336436212062836, -0.03700163587927818, 0.0357128381729126, 0.01222444698214531, -0.0210718996822834, -0.004554515704512596, -0.03097337856888771, 0.016247065737843513, 0.020957034081220627, -0.039643820375204086, 0.009606778621673584, -0.02189267985522747, 0.01844995655119419, -0.0035758630838245153, 0.010950673371553421, -0.024184955283999443, 0.006299456115812063, 0.03895408660173416, 0.04845235496759415, 0.044441889971494675, 0.046187348663806915, -0.020100858062505722, 0.03512346372008324, 0.024469800293445587, -0.004041856154799461, -0.03434382751584053, 0.022291989997029305, -0.0265833530575037, -0.049104295670986176, 0.07198090106248856, 0.004242601338773966, -0.019365869462490082, -0.03099137917160988, 0.06345601379871368, 0.052175745368003845, -0.04849783331155777, -0.043341122567653656, 0.039501454681158066, -0.04779006168246269, 0.01253742165863514, -0.013491865247488022, -0.03120151348412037, -0.02263026311993599, 0.07235963642597198, -0.015365022234618664, 0.008686705492436886, 0.07452674955129623, 0.007182224187999964, -0.043581247329711914, 0.0038694816175848246, 0.10054630786180496, 0.08846713602542877, 0.043447818607091904, 0.024169927462935448, 0.05770736187696457, -0.02926165796816349, -0.048577405512332916, -0.0037904069758951664, -0.04916997626423836, -0.0223009642213583, -0.015735475346446037, 0.028230009600520134, 0.053366802632808685, -0.015010467730462551, 0.05104115232825279, -0.06649908423423767, 0.03269954398274422, 0.052110858261585236, 0.04612027853727341, 0.036354921758174896, 0.041336238384246826, 0.019462721422314644, 0.042139314115047455, -0.02757132425904274, -0.046387191861867905, 0.036013342440128326, 0.018729837611317635, 0.019275790080428123, -0.006783742923289537, -0.00034551549470052123, 0.01882755570113659, 0.027554668486118317, 0.04871242120862007, 0.06557919830083847, -0.0058748465962708, -0.032189421355724335, 0.0032666486222296953, 0.01218316238373518, -0.011410461738705635, 0.0071859210729599, 0.011573875322937965, -0.03312699496746063, 0.009831941686570644, -0.0219060517847538, -0.01077092532068491, -0.039819106459617615, -0.023800328373908997, 0.015254366211593151, -0.01570267789065838, 0.022876115515828133, 0.030566854402422905, 0.003556428709998727, -0.05504341796040535, -0.04109569266438484, -0.03472782298922539, -0.036791861057281494, -0.06949177384376526, 0.017200522124767303, -0.02477358654141426, -0.015907075256109238, -0.04260993376374245, -0.02959509752690792, -0.003838842734694481, -0.003009132808074355, 0.03968038782477379, -0.05311620235443115, -0.02510250359773636, 0.021688187494874, 0.042539820075035095, 0.019675971940159798, 0.03254919499158859, 0.039090704172849655, -0.021446825936436653, -0.010137067176401615, -0.03379729762673378, -0.009667709469795227, 0.007174852769821882, 0.048787232488393784, 0.016308503225445747, -0.07670008391141891, -0.0243754293769598, 0.026090657338500023, -0.0036644283682107925, -0.07870475202798843, -0.003580582095310092, 0.03324565663933754, 0.013581912964582443, 0.029058298096060753, -0.008570152334868908, -0.006108603440225124, -0.05986220762133598, -0.012940973974764347, -0.004039660561829805, -0.03397253528237343, 0.05568975210189819, -0.0340794138610363, 0.0766996294260025, 0.019753774628043175, -0.005019044037908316, -0.05661950260400772, -0.0010202578268945217, -0.004124622792005539, 0.02570035122334957, -0.04102585092186928, -0.04231127351522446, -0.025077085942029953, -0.08791883289813995, -0.026150761172175407, 0.016973884776234627, -0.04389040544629097, -0.041151318699121475, 0.04229804500937462, 0.044262900948524475, -0.03977407515048981, 0.0668463408946991, -0.044410668313503265, 0.00853849109262228, -0.04334798827767372, -0.029164304956793785, 0.004846579860895872, 0.0407688207924366, 0.0025140075013041496, 0.003010999644175172, 0.029322965070605278, -0.045736219733953476, -0.0011372544104233384, -0.020805856212973595, 0.017922526225447655, -0.0008036021026782691, 0.00463331351056695, 0.0033704035449773073 ]
[ -0.1114855483174324, -0.017478089779615402, -0.04444311186671257, -0.008622925728559494, -0.01950622722506523, -0.016587458550930023, -0.003168676281347871, 0.025507602840662003, 0.040482521057128906, -0.04106326028704643, 0.0020831122528761625, -0.07004176080226898, 0.014341120608150959, 0.03295040503144264, 0.06290809065103531, -0.005505432840436697, -0.027982331812381744, -0.011679540388286114, -0.02745101973414421, 0.03187527880072594, 0.022821053862571716, -0.04133693128824234, -0.04396241530776024, -0.0521431490778923, 0.009280507452785969, 0.08150330185890198, 0.05400431528687477, -0.08058992773294449, 0.02434268780052662, -0.22394779324531555, -0.004728393629193306, -0.008154488168656826, 0.051503799855709076, -0.04412207007408142, -0.019975682720541954, 0.055569663643836975, -0.0015580551698803902, 0.006369827780872583, -0.021054578945040703, 0.00027864714502356946, 0.03515065833926201, 0.04164590686559677, -0.015562348067760468, -0.026746021583676338, 0.026056701317429543, 0.012486036866903305, -0.027703752741217613, -0.0013501294888556004, -0.020751401782035828, -0.0072136977687478065, -0.035896185785532, -0.02579362504184246, -0.02893383428454399, -0.004966967739164829, 0.01941480115056038, 0.05114451050758362, 0.012125465087592602, 0.036840178072452545, -0.007816215977072716, 0.03883245959877968, 0.006185954436659813, 0.008998354896903038, -0.11931260675191879, 0.06076030060648918, 0.009413852356374264, 0.04362518712878227, 0.015882080420851707, -0.05606783553957939, -0.058153264224529266, 0.0975898951292038, 0.04392367601394653, 0.0013244617730379105, 0.01430054847151041, 0.027732841670513153, 0.025035593658685684, -0.019324375316500664, -0.026424013078212738, -0.0034205387346446514, 0.05588066577911377, -0.023090753704309464, -0.02922767773270607, -0.014205298386514187, -0.056712307035923004, 0.010030756704509258, 0.003194003365933895, 0.006361235398799181, -0.009060055948793888, 0.018748054280877113, -0.024569394066929817, -0.005590448621660471, 0.006664767395704985, -0.002355151576921344, 0.0028647969011217356, -0.020506642758846283, -0.056052811443805695, -0.03095821850001812, 0.0015266413101926446, -0.0019017929444089532, -0.0189566221088171, 0.4183569848537445, -0.01322368998080492, 0.03604069724678993, 0.04150709509849548, 0.015285751782357693, -0.013600539416074753, -0.023509787395596504, -0.02312534861266613, -0.04982875660061836, 0.007465318776667118, -0.04165489599108696, -0.0008364154491573572, -0.050955429673194885, 0.06338830292224884, -0.03199247270822525, 0.0015482507878914475, 0.025657283142209053, 0.059585150331258774, 0.050230905413627625, 0.030161626636981964, 0.007768095936626196, -0.04530589282512665, 0.015814168378710747, 0.01045969594269991, 0.004997660405933857, -0.027814580127596855, -0.00010526713595027104, -0.0065056877210736275, 0.04126996546983719, 0.033431366086006165, 0.046057529747486115, 0.07749510556459427, -0.06645970791578293, -0.031737055629491806, -0.03659374639391899, -0.012239905074238777, 0.009096351452171803, 0.015663964673876762, -0.03591906651854515, 0.028790447860956192, 0.026227053254842758, -0.005389857105910778, -0.04423695057630539, 0.07442451268434525, -0.006192599423229694, -0.004254921805113554, 0.12501145899295807, -0.015894418582320213, -0.05767170339822769, -0.012190179899334908, -0.05798764526844025, 0.014636640436947346, -0.029409175738692284, -0.014245579019188881, -0.04825790971517563, 0.017548494040966034, 0.012206506915390491, 0.09895230829715729, 0.0062476410530507565, -0.027180640026926994, 0.028256528079509735, -0.008869701996445656, -0.022595679387450218, -0.04887213930487633, 0.086805060505867, 0.06671086698770523, -0.09951222687959671, 0.0006950650131329894, -0.007944494485855103, -0.005104837939143181, -0.060940563678741455, 0.05149144306778908, 0.022553397342562675, 0.0027401638217270374, 0.0189264677464962, 0.043783485889434814, -0.019967777654528618, -0.05235380679368973, -0.013719798997044563, 0.057348042726516724, 0.02208656072616577, -0.03158855438232422, 0.0005682000773958862, -0.037987951189279556, -0.01751597225666046, -0.015612144023180008, -0.05699171870946884, -0.036412376910448074, 0.0006850381032563746, -0.036218784749507904, -0.006185829173773527, 0.011217852123081684, -0.05641477555036545, -0.0657496452331543, 0.06505328416824341, -0.04110679775476456, -0.0382205955684185, 0.03264852985739708, -0.02146834135055542, -0.038752902299165726, 0.012340500019490719, -0.00770485308021307, 0.014570603147149086, -0.009340258315205574, 0.03148103505373001, -0.02250458486378193, 0.021713797003030777, 0.04348292201757431, -0.05785331502556801, 0.06943972408771515, 0.07143468409776688, 0.0350651852786541, -0.05436447635293007, -0.06024271622300148, -0.008046774193644524, 0.027647806331515312, -0.019374510273337364, 0.015383998863399029, -0.0020643651951104403, -0.023738041520118713, 0.04225607588887215, -0.013814532198011875, -0.05313195288181305, -0.0238670464605093, -0.31882187724113464, -0.0539170540869236, -0.026287807151675224, 0.013883852399885654, 0.05278349667787552, -0.06999924033880234, -0.026511652395129204, -0.005760112777352333, -0.03891287371516228, 0.04765103757381439, 0.06552965193986893, -0.006206913385540247, -0.0007858372991904616, -0.05309624224901199, -0.03216590732336044, 0.054450035095214844, -0.01273159496486187, 0.01748846471309662, -0.024928800761699677, -0.002498560817912221, -0.02628825418651104, 0.04893609508872032, -0.04201439023017883, -0.06787840276956558, -0.02582450956106186, -0.03662915155291557, 0.12918245792388916, 0.010324250906705856, 0.07534167915582657, -0.02987673319876194, 0.008100601844489574, -0.02629264071583748, -0.03048110380768776, -0.007471265736967325, 0.0016353103565052152, -0.02109105885028839, 0.03926532343029976, -0.03598562255501747, 0.04340149462223053, -0.02994195930659771, -0.09930466115474701, 0.006536839529871941, -0.027827098965644836, -0.024530600756406784, -0.059898629784584045, 0.004235345404595137, -0.019707364961504936, -0.03442651405930519, 0.0250094011425972, 0.07125275582075119, 0.027088293805718422, 0.022732585668563843, 0.018706077709794044, -0.055082257837057114, -0.008303733542561531, -0.023299552500247955, -0.06588073074817657, -0.029648659750819206, -0.017798850312829018, 0.021628018468618393, -0.013354688882827759, 0.013735462911427021, 0.044911906123161316, 0.0027786227874457836, 0.003587319515645504, 0.009731367230415344, 0.002997142728418112, -0.008846668526530266, 0.04460681974887848, 0.038027822971343994, 0.0059481835924088955, 0.08289579302072525, 0.012156287208199501, 0.027498675510287285, 0.053712841123342514, -0.013414854183793068, 0.04398725926876068, 0.05831170082092285, 0.06846117228269577, -0.0010476181050762534, 0.04912881553173065, -0.011910642497241497, 0.034465037286281586, -0.03068099543452263, -0.01936468854546547, -0.0002575942489784211, 0.0467999093234539, 0.0177778173238039, 0.0360831543803215, 0.03162578120827675, 0.005918265786021948, -0.00254930485971272, -0.0037345574237406254, -0.0030996371060609818, 0.052792735397815704, -0.016540374606847763, -0.2808668613433838, 0.03626701608300209, 0.049884311854839325, 0.03323636204004288, -0.04410934075713158, 0.010074347257614136, 0.06195172294974327, -0.026726234704256058, -0.018056116998195648, -0.0538090318441391, 0.009283368475735188, 0.07756134122610092, 0.023590248078107834, 0.004438939969986677, 0.007348846644163132, -0.023640334606170654, 0.030646737664937973, -0.004512606654316187, -0.015698717907071114, 0.03050857037305832, 0.016914809122681618, -0.0037545417435467243, 0.1856338083744049, -0.005662895739078522, 0.031904105097055435, -0.0006314638303592801, 0.0010755661642178893, 0.0404130220413208, 0.0435674674808979, -0.007330722641199827, -0.006940048653632402, 0.020173268392682076, 0.011181588284671307, -0.04733264446258545, 0.04894089326262474, 0.049097541719675064, 0.005215801764279604, 0.05964779481291771, 0.05194375663995743, -0.03709378093481064, 0.0014072088524699211, -0.04086364433169365, -0.024391504004597664, 0.0049995011650025845, 0.10212668031454086, 0.032745324075222015, -0.02611563168466091, 0.0029989387840032578, -0.07469389587640762, -0.0038252270314842463, -0.042269494384527206, -0.021880188956856728, 0.00664986576884985, -0.018070247024297714, 0.0016863966593518853, 0.05893508717417717, -0.00927084032446146, -0.04618648812174797, -0.036600179970264435, -0.0038036187179386616, 0.012149919755756855, 0.0037497086450457573, 0.08073507249355316, -0.031895287334918976, 0.06280666589736938 ]
[ -0.000017949259927263483, 0.03387637436389923, -0.03572852909564972, 0.004982851445674896, -0.002937571844086051, 0.005924720782786608, -0.00035590320476330817, -0.04844805225729942, -0.008869159035384655, 0.008333193138241768, -0.021134262904524803, 0.014076468534767628, 0.030352512374520302, 0.006052142940461636, -0.0006415591924451292, 0.02607596293091774, -0.0005170337972231209, 0.0018358639208599925, 0.030216217041015625, 0.023204701021313667, -0.036256905645132065, 0.029578279703855515, 0.01957547292113304, 0.012069464661180973, 0.007153599057346582, 0.03934595733880997, 0.003832846414297819, 0.025049909949302673, 0.029083628207445145, -0.13007831573486328, -0.028690770268440247, -0.026560062542557716, 0.0074289413169026375, 0.02329961769282818, -0.0258138757199049, 0.00795578584074974, -0.013221949338912964, 0.011837638914585114, -0.002868370385840535, -0.030557211488485336, -0.02250140719115734, -0.021683838218450546, -0.011162926442921162, 0.031708668917417526, 0.007526363246142864, 0.02253742143511772, -0.032369695603847504, -0.008190901950001717, 0.021314479410648346, -0.030917542055249214, -0.04514868184924126, 0.02666321210563183, -0.03318638354539871, 0.0034070319961756468, -0.015193930827081203, -0.03568418696522713, -0.010412007570266724, -0.0013692508218809962, -0.03159472346305847, -0.028212135657668114, -0.004244831390678883, -0.021380167454481125, -0.025397146120667458, -0.017831766977906227, -0.02175768092274666, -0.03347114846110344, -0.004633558448404074, -0.004280403722077608, -0.024262486025691032, -0.018208097666502, -0.0010246984893456101, 0.05454397574067116, -0.04355115443468094, 0.0027437203098088503, 0.019194865599274635, 0.0022669825702905655, 0.0142495296895504, -0.040643803775310516, -0.022549565881490707, -0.013797318562865257, -0.0016122389351949096, -0.031470201909542084, 0.0025847069919109344, 0.025477709248661995, 0.008796986192464828, -0.06246239319443703, -0.0018574189161881804, 0.024309128522872925, 0.03704812377691269, -0.04080362617969513, -0.002609384711831808, 0.0225332360714674, -0.00779977859929204, 0.015291783027350903, -0.07355406135320663, 0.002726359758526087, -0.011494161561131477, -0.006059873383492231, -0.007521242834627628, 0.8444391489028931, 0.005890483036637306, 0.02201198786497116, 0.015793025493621826, -0.009945772588253021, 0.015492334961891174, 0.0341615229845047, 0.01499847136437893, -0.00935292337089777, 0.008560008369386196, -0.05584300681948662, -0.003487984649837017, -0.021897394210100174, 0.0360124409198761, 0.03697715699672699, -0.0008214957779273391, 0.039624880999326706, 0.01235915906727314, 0.04287756606936455, 0.011468466371297836, -0.008137320168316364, -0.034820880740880966, 0.026620669290423393, 0.04510800167918205, 0.0444815456867218, 0.024378739297389984, -0.17470407485961914, -0.027449442073702812, -7.390791426416542e-33, 0.04806936904788017, 0.014670377597212791, 0.015309836715459824, -0.015367005951702595, 0.012778837233781815, -0.028344398364424706, 0.0010897846659645438, -0.009338890202343464, -0.03425070270895958, -0.008037823252379894, 0.004767025820910931, -0.02016444131731987, 0.04463360086083412, -0.02377776801586151, 0.0749577209353447, -0.030729014426469803, 0.012728177942335606, 0.0033584856428205967, -0.003275118535384536, 0.02455674670636654, 0.004182939883321524, 0.026660282164812088, -0.0010771662928164005, 0.02556305192410946, 0.008362874388694763, 0.033550411462783813, 0.017940163612365723, 0.003016963368281722, 0.0035722684115171432, -0.05259039252996445, -0.0482894666492939, 0.049344152212142944, -0.019910121336579323, -0.010824418626725674, 0.01783710904419422, -0.021036798134446144, -0.010852095670998096, 0.007619200274348259, -0.019107995554804802, -0.021685956045985222, 0.01318897120654583, 0.01693299412727356, 0.0011456198990345001, -0.02526204288005829, 0.009918945841491222, -0.025315795093774796, 0.04717253893613815, 0.08108056336641312, 0.007275356911122799, 0.012788796797394753, -0.021354878321290016, -0.0007632237393409014, -0.04185103997588158, 0.024258697405457497, -0.01662050560116768, -0.007370437495410442, 0.005380590911954641, 0.020043443888425827, -0.004384154453873634, 0.05879560485482216, 0.010356061160564423, -0.002485945587977767, 0.001585997873917222, 0.016212431713938713, -0.0196185614913702, -0.01603391207754612, -0.003206366440281272, -0.009204721078276634, 0.02434963546693325, 0.0452553927898407, -0.05267628654837608, 0.004262344911694527, -0.0010650960030034184, -0.017864160239696503, 0.025336474180221558, -0.02376856654882431, -0.012932832352817059, -0.03876439481973648, 0.025779780000448227, 0.002147427061572671, 0.024328725412487984, -0.00006133272836450487, -0.003447142196819186, -0.021126912906765938, -0.06035907566547394, -0.013280962593853474, 0.03152642771601677, 0.0017531831981614232, -0.036299873143434525, 0.015461769886314869, 0.022450128570199013, 0.05085645243525505, -0.031752392649650574, -0.009576906450092793, 0.003026222577318549, 6.862127535813604e-33, -0.017596080899238586, -0.01231459155678749, 0.0017221001908183098, 0.0023483512923121452, 0.02557876519858837, -0.01496515516191721, 0.028602804988622665, 0.005280326120555401, -0.028408464044332504, 0.015518566593527794, -0.007032761815935373, -0.0031339270062744617, 0.02040651999413967, -0.015218740329146385, 0.06799724698066711, -0.02302449382841587, 0.020060524344444275, 0.007944080978631973, 0.016617920249700546, 0.006486051715910435, 0.010188058018684387, 0.014279420487582684, 0.04190773889422417, -0.017153345048427582, 0.018308965489268303, 0.02844599448144436, 0.019496994093060493, 0.0049081784673035145, -0.017157098278403282, 0.015036635100841522, 0.025923607870936394, -0.018444227054715157, -0.025356516242027283, -0.01852910965681076, 0.0026799747720360756, 0.041690099984407425, -0.0001319959992542863, -0.003091180697083473, -0.03027839958667755, 0.002782869851216674, 0.016894856467843056, -0.00526395021006465, -0.02917294204235077, 0.016839873045682907, 0.026638098061084747, -0.014085221104323864, -0.011757208965718746, 0.0044539086520671844, -0.039751000702381134, -0.008636532351374626, -0.010701575316488743, 0.02284974418580532, -0.013698764145374298, 0.007602295372635126, 0.03352580964565277, -0.00935647264122963, -0.06469672173261642, 0.011128872632980347, 0.00197630119509995, 0.0021820080000907183, 0.01509532518684864, -0.015705127269029617, -0.05921701341867447, 0.04315889999270439, -0.0010495082242414355, 0.017126768827438354, -0.015597674995660782, 0.017164651304483414, -0.04083505645394325, 0.04953813552856445, -0.03491703048348427, -0.009637895971536636, 0.015592631883919239, 0.03429664298892021, -0.0400831401348114, -0.011943248100578785, -0.03638790547847748, 0.021400274708867073, 0.0140132000669837, 0.015996042639017105, 0.03031896986067295, 0.012956100516021252, 0.013404165394604206, -0.019024407491087914, -0.006333580706268549, 0.008303406648337841, 0.01259466353803873, 0.022457119077444077, -0.009328636340796947, -0.023732349276542664, 0.004365316592156887, 0.0022017357405275106, 0.03847729042172432, 0.00942851323634386, -0.0026853587478399277, -1.2740411392542228e-8, -0.051071472465991974, -0.02975000999867916, 0.003390295896679163, -0.003941795323044062, 0.03553781658411026, 0.01679275929927826, -0.015084898099303246, 0.006995286326855421, -0.03985108435153961, 0.00611612293869257, 0.004481691401451826, 0.005898876115679741, 0.007975158281624317, 0.03395620360970497, 0.017730629071593285, -0.01532245334237814, 0.0333879329264164, -0.026615608483552933, 0.04364165663719177, -0.0016862773336470127, -0.005152331665158272, -0.00236873677931726, -0.01670493744313717, 0.021292662248015404, -0.03492788225412369, -0.006601560860872269, 0.0238496121019125, -0.07043910771608353, 0.02427375689148903, 0.0049978746101260185, -0.02932620793581009, -0.036505065858364105, -0.006525995209813118, 0.01178709790110588, 0.004191872663795948, -0.022095512598752975, -0.01891464740037918, 0.017071319743990898, 0.02560032717883587, 0.005929872393608093, -0.03644666448235512, -0.01245677750557661, -0.017545169219374657, -0.028677906841039658, 0.03460859879851341, 0.01516724843531847, -0.007434413768351078, -0.018422702327370644, -0.00515038101002574, -0.044544514268636703, 0.019181793555617332, 0.01867646537721157, 0.005363689735531807, -0.005861705634742975, 0.036429960280656815, -0.0031698148231953382, -0.03658066689968109, -0.06045487895607948, 0.003756249090656638, -0.008070672862231731, -0.0017445760313421488, 0.005161941051483154, -0.03773389011621475, -0.029131418094038963 ]
haskell-maximum-int-value
https://markhneedham.com/blog/2012/05/07/haskell-maximum-int-value
false
2012-05-09 00:05:56
Haskell: Closest Pairs Algorithm
[ "haskell" ]
[ "Haskell" ]
As I mentioned in http://www.markhneedham.com/blog/2012/05/07/haskell-maximum-int-value/[a post a couple of days ago] I've been writing the closest pairs algorithm in Haskell and while the brute force version works for small numbers of pairs it starts to fall apart as the number of pairs increases: [source,text] ---- time ./closest_pairs 100 bf ./closest_pairs 100 bf 0.01s user 0.00s system 87% cpu 0.016 total time ./closest_pairs 1000 bf ./closest_pairs 1000 bf 3.59s user 0.01s system 99% cpu 3.597 total time ./closest_pairs 5000 bf ./closest_pairs 5000 554.09s user 0.36s system 99% cpu 9:14.46 total ---- Luckily there's a divide and conquer algorithm we can use which brings down the running time from O(n^2^) to O(n log(n)) which is significantly quicker as n increases in size. That http://en.wikipedia.org/wiki/Closest_pair_of_points_problem[algorithm is defined like so]: ____ . Sort points along the x-coordinate . Split the set of points into two equal-sized subsets by a vertical line x = x~mid~ . Solve the problem recursively in the left and right subsets. This will give the left-side and right-side minimal distances d~Lmin~ and d~Rmin~ respectively. . Find the minimal distance d~LRmin~ among the pair of points in which one point lies on the left of the dividing vertical and the second point lies to the right (a split pair). . The final answer is the minimum among d~Lmin~, d~Rmin~, and d~LRmin~. ____ By step 4 in which we'll look for a closest pair where the x and y values are in opposite subsets we don't need to consider the whole list of points again since we already know that the closest pair of points is no further apart than +++<cite>+++dist+++</cite>+++ = min(d~Lmin~, d~Rmin~). We can therefore filter out a lot of the values by only keeping values which are within +++<cite>+++dist+++</cite>+++ of the middle x value. If a point is further away than that then we already know that the distance between it and any point on the other side will be greater than +++<cite>+++dist+++</cite>+++ so there's no point in considering it. I used the http://rosettacode.org/wiki/Closest-pair_problem#C.23[C# version from Rosetta Code] as a template and this is what I ended up with: [source,haskell] ---- import Data.Maybe import Data.List import Data.List.Split import Data.Function dcClosest :: (Ord a, Floating a) => [Point a] -> (Point a, Point a) dcClosest pairs if length pairs <= 3 then = fromJust $ bfClosest pairs else foldl (\closest (p1:p2:_) -> if distance (p1, p2) < distance closest then (p1, p2) else closest) closestPair (windowed 2 pairsWithinMinimumDelta) where sortedByX = sortBy compare pairs (leftByX:rightByX:_) = chunk (length sortedByX `div` 2) sortedByX closestPair = if distance closestLeftPair < distance closestRightPair then closestLeftPair else closestRightPair where closestLeftPair = dcClosest leftByX closestRightPair = dcClosest rightByX pairsWithinMinimumDelta = sortBy (compare `on` snd) $ filter withinMinimumDelta sortedByX where withinMinimumDelta (x, _) = abs (xMidPoint - x) <= distance closestPair where (xMidPoint, _) = last leftByX ---- If the number of pairs is 3 or less then we can just use the brute force algorithm since the whole splitting the list in half thing doesn't work so well with a list of less than 4 items. The main function is a fold which goes over all the pairs of points where we've determined that there might be a closest pair with one point on the left hand side of our 'sorted by x list' and the other on the right hand side. We use the 'http://www.markhneedham.com/blog/2012/02/28/haskell-creating-a-sliding-window-over-a-collection/[windowed]' function to pair up the points which in this case does something like this: [source,haskell] ---- > windowed 2 [(0,0), (1,1), (2,2), (1.1, 1.2)] [[(0.0,0.0),(1.0,1.0)],[(1.0,1.0),(2.0,2.0)],[(2.0,2.0),(1.1,1.2)]] ---- We pass along the closest pair that we've found from pairs of points on the left and right hand sides of the list as our seed value and check whether any of the split pairs are closer together than that one. By the time the fold is finished we will have the closest pair in the list. The code in the where section is used to split the list into two halves, sort it by x and then work out which side of the list has the closest pair. That's all done recursively and then the last bit of code works out which values we need to consider for the split pairs part of the algorithm. I learnt about the 'http://stackoverflow.com/questions/2788195/haskell-sorting[on]' function while writing this algorithm which makes it really easy to pick a function to sort a collection with e.g. 'compare `on` snd' lets us sort a list in ascending order based on the second value in a tuple. One problem with the way I've written this algorithm is that it places a lot of focus on the split pair bit of the code when actually a big part of why it works is that we're sorting it into an order that makes it easier to work with and then dividing the problem by 2 each time. My current thinking is that perhaps I should have had that code in the main body of the function rather than hiding it away in the where section. It isn't actually necessary to execute the foldl all the way through since we'll often know there's not going to be a split pair before we go through all the pairs. I thought it reads pretty nicely as it is thought and it runs pretty quickly as it is anyway! Using the same data set as before (and getting the same answers!): [source,text] ---- > time ./closest_pairs 1000 dc ./closest_pairs 1000 dc 0.02s user 0.00s system 91% cpu 0.024 total > time ./closest_pairs 5000 dc ./closest_pairs 5000 dc 0.11s user 0.01s system 97% cpu 0.118 total ---- I described the code for http://www.markhneedham.com/blog/2012/05/08/haskell-generating-random-numbers/[generating random numbers] in an earlier blog post but I'll include it again to show how the algorithm is wired up: [source,haskell] ---- import Control.Monad.State (State, evalState, get, put) import System.Random (StdGen, mkStdGen, random) import System type R a = State StdGen a rand :: R Double rand = do gen <- get let (r, gen') = random gen put gen' return r randPair :: R (Double, Double) randPair = do x <- rand y <- rand return (x,y) runRandom :: R a -> Int -> a runRandom action seed = evalState action $ mkStdGen seed normals :: R [(Double, Double)] normals = mapM (\_ -> randPair) $ repeat () main = do args <- getArgs let numberOfPairs = read (head args) :: Int if length args > 1 && args !! 1 == "bf" then putStrLn $ show ( (bfClosest $ take numberOfPairs $ runRandom normals 42)) else putStrLn $ show ( (dcClosest $ take numberOfPairs $ runRandom normals 42)) ---- The http://hpaste.org/68299[full code is on hpaste] if anyone has any suggestions for how to improve it.
null
null
[ -0.02152840420603752, 0.018780874088406563, 0.004832082893699408, 0.03539197891950607, 0.04098279029130936, 0.03944578394293785, 0.027841903269290924, 0.009494961239397526, 0.0079939691349864, -0.021695716306567192, -0.011568600311875343, -0.02739446796476841, -0.051298968493938446, 0.02977532520890236, -0.02734418399631977, 0.08063868433237076, 0.03515193611383438, 0.00605264725163579, -0.011883036233484745, 0.02804710529744625, 0.028552444651722908, 0.06079715117812157, -0.017295438796281815, 0.016816889867186546, 0.04874453321099281, 0.028214357793331146, 0.015441563911736012, 0.008654636330902576, -0.011071223765611649, 0.0006952737458050251, 0.041064418852329254, -0.016147157177329063, 0.0018596954178065062, -0.050685662776231766, 0.03032676689326763, -0.004748104140162468, -0.011824804358184338, 0.002919543767347932, 0.014353416860103607, 0.012983636930584908, -0.04555341228842735, 0.05564781278371811, 0.004256897140294313, 0.023993952199816704, -0.04331931099295616, 0.0011431209277361631, -0.05844107270240784, 0.028471609577536583, -0.009763689711689949, -0.019837137311697006, -0.07304221391677856, 0.0499875470995903, -0.0027409042231738567, -0.001318092574365437, -0.02737247385084629, 0.046488966792821884, 0.026636116206645966, -0.07323748618364334, 0.04810521751642227, -0.024388859048485756, -0.007746831979602575, -0.00727961165830493, 0.014987356960773468, 0.027747107669711113, -0.01689453050494194, -0.02464437484741211, 0.010631987825036049, 0.051116202026605606, -0.022677341476082802, -0.01245596818625927, -0.003813112387433648, 0.000517557724379003, -0.019789360463619232, -0.024496804922819138, 0.00031162839150056243, -0.03448013216257095, -0.01293947733938694, 0.05736781284213066, 0.039025142788887024, 0.021660663187503815, -0.007936450652778149, 0.011424540542066097, -0.003710146527737379, 0.01902695558965206, -0.009248727932572365, -0.019620878621935844, -0.039399538189172745, -0.026722734794020653, -0.07511450350284576, 0.043188415467739105, 0.003475534962490201, -0.059980716556310654, 0.0015071120578795671, 0.022794613614678383, 0.004066784866154194, 0.00409640371799469, 0.01567801646888256, 0.015217981301248074, -0.004284373950213194, -0.004901786334812641, -0.00398278096690774, -0.03373340517282486, 0.013908307999372482, 0.010414063930511475, -0.0643472671508789, -0.01279458124190569, -0.007668808568269014, 0.002720022574067116, 0.037938132882118225, -0.004236243199557066, -0.038922280073165894, -0.000970252847764641, 0.0020839034114032984, 0.008174601010978222, -0.09807595610618591, 0.046612996608018875, -0.004209880717098713, -0.006682986859232187, -0.019068647176027298, 0.04417242482304573, 0.044330574572086334, 0.037787728011608124, -0.011186758987605572, 0.08651579916477203, 0.017479274421930313, 0.047706861048936844, 0.015106174163520336, 0.05576310306787491, -0.04644809290766716, -0.045612264424562454, -0.024781757965683937, 0.07156891375780106, -0.021768830716609955, -0.014240147545933723, 0.003968178294599056, -0.036389537155628204, -0.037130240350961685, 0.022633960470557213, 0.04251481592655182, 0.053007762879133224, 0.011974211782217026, -0.03419223800301552, 0.04877404123544693, 0.004628789611160755, 0.022220976650714874, -0.006482158321887255, 0.011622244492173195, -0.011093657463788986, -0.010253285989165306, 0.0083614531904459, 0.0018631966086104512, 0.028464829549193382, 0.021170713007450104, -0.0362752266228199, 0.023202622309327126, 0.10198147594928741, 0.029803359881043434, -0.001904597389511764, -0.013117853552103043, 0.03331151232123375, 0.02833695523440838, 0.025555389001965523, 0.0038901797961443663, 0.03835644572973251, 0.012085072696208954, -0.01010577380657196, -0.0014285123907029629, 0.07353116571903229, -0.02623215690255165, 0.00810245145112276, -0.03414914757013321, -0.019900664687156677, 0.0665559321641922, -0.039290182292461395, -0.029338054358959198, 0.02340632490813732, 0.07027625292539597, 0.01823429949581623, 0.04204839840531349, -0.0021489032078534365, -0.07540290802717209, 0.025548813864588737, 0.0022289406042546034, 0.05088494345545769, -0.0006925758789293468, -0.0006800900446251035, 0.07066898792982101, 0.028354551643133163, 0.008340450935065746, 0.01723022386431694, -0.044144969433546066, -0.061668042093515396, -0.01606564037501812, -0.042700596153736115, 0.0797661766409874, -0.02971528097987175, -0.00549131166189909, 0.023012736812233925, 0.013654705137014389, 0.02350127510726452, 0.011985917575657368, -0.02229713462293148, 0.047768834978342056, -0.03385176137089729, -0.05830346420407295, 0.06683503836393356, 0.03492332622408867, -0.02473375014960766, -0.07473698258399963, -0.002346072578802705, -0.014154009521007538, -0.019025584682822227, 0.01577538438141346, -0.024622732773423195, 0.03461140766739845, 0.02770712412893772, 0.03549409657716751, -0.007273819763213396, 0.06524572521448135, -0.04677699878811836, 0.03148411214351654, 0.026607662439346313, -0.006545031908899546, 0.0071439240127801895, -0.014680210500955582, 0.11636282503604889, 0.08628695458173752, -0.05594572797417641, -0.02262745425105095, 0.036328066140413284, 0.0006337100639939308, -0.03419177606701851, -0.0045533194206655025, 0.014584737829864025, -0.04001600295305252, 0.0028547472320497036, -0.037985909730196, -0.04652680829167366, 0.0522180013358593, -0.026596086099743843, -0.06273149698972702, 0.06511240452528, -0.00918271578848362, 0.075562983751297, -0.003147390903905034, -0.021403638646006584, 0.0021942448802292347, -0.015782630071043968, -0.04487108439207077, -0.005433116108179092, -0.005425104405730963, 0.0018137627048417926, 0.03691031411290169, 0.0036067997571080923, -0.011819698847830296, -0.034083664417266846, -0.011407222598791122, 0.04372859373688698, 0.07054077833890915, 0.05105098336935043, -0.022258587181568146, 0.043785460293293, 0.0015248032286763191, -0.0032489707227796316, -0.021045595407485962, -0.059688299894332886, -0.0505194291472435, -0.015562107786536217, 0.035364728420972824, 0.00625082291662693, 0.014276287518441677, 0.013389592058956623, 0.019308356568217278, -0.01869465596973896, -0.011847012676298618, -0.022728659212589264, 0.037751659750938416, -0.018231535330414772, -0.0393935889005661, -0.041659217327833176, -0.011311899870634079, 0.06793586164712906, -0.047299087047576904, -0.007496092934161425, -0.013836856931447983, -0.032003793865442276, 0.05360755696892738, -0.08516432344913483, -0.034964777529239655, 0.005719682201743126, 0.025346554815769196, 0.03614042326807976, -0.03397536277770996, -0.027568668127059937, 0.06141715496778488, 0.02959970384836197, 0.02495461516082287, 0.03775179758667946, 0.008502419106662273, 0.016748208552598953, 0.024428101256489754, 0.040672771632671356, 0.010891806334257126, -0.016065141186118126, -0.027549460530281067, -0.03280692920088768, 0.019458869472146034, 0.004382080864161253, -0.2885317802429199, 0.020539408549666405, -0.026446284726262093, -0.04337697848677635, 0.016927385702729225, -0.03147508576512337, -0.02418019436299801, -0.038626041263341904, -0.0035421522334218025, 0.04356895387172699, -0.02287287637591362, -0.03312956541776657, -0.037791669368743896, 0.043601930141448975, 0.005721418187022209, -0.006498337723314762, -0.0017923666164278984, -0.030592791736125946, -0.005136886611580849, 0.03619452193379402, 0.01459356676787138, -0.06595674157142639, 0.010745324194431305, 0.030286282300949097, 0.008482523262500763, 0.07922334969043732, -0.06312711536884308, -0.004588220734149218, -0.062347739934921265, -0.01636262610554695, -0.018707405775785446, -0.013406100682914257, 0.006276456173509359, -0.013724877499043941, -0.004510311409831047, -0.03079708106815815, 0.036783281713724136, -0.003151114098727703, 0.015706432983279228, 0.0635545626282692, -0.040767915546894073, -0.022152487188577652, 0.026408284902572632, 0.005661367904394865, 0.0696529895067215, -0.02356390282511711, -0.029551293700933456, 0.01730913668870926, -0.026043109595775604, 0.05175669118762016, -0.02570720575749874, -0.026141513139009476, -0.008272994309663773, 0.021906284615397453, 0.006843804847449064, -0.026336656883358955, -0.002412316156551242, -0.01102286297827959, -0.03228644281625748, -0.014639554545283318, -0.03370412066578865, -0.025732021778821945, -0.026186345145106316, -0.04837670922279358, -0.023611845448613167, -0.05471323803067207, -0.07032576948404312, 0.003719041822478175, 0.054638925939798355, -0.015513254329562187, -0.01079399324953556, -0.014684200286865234, -0.021382134407758713, -0.09506307542324066, -0.042965974658727646, 0.020216139033436775, -0.013542215339839458, 0.014670183882117271, -0.003023978089913726, 0.06891840696334839, -0.04037953540682793, -0.08518396317958832, 0.022772960364818573, 0.00966770201921463, 0.04468133673071861, -0.02291499264538288, -0.008268645964562893, -0.0023058047518134117, -0.0016832484398037195, -0.006624903064221144, 0.05107487738132477, 0.0008123674197122455, -0.02428685873746872, -0.0218009352684021, 0.014793174341320992, 0.0212380513548851, 0.014901715330779552, 0.013014717027544975, -0.0003331612388137728, 0.02213558927178383, 0.011900121346116066, -0.03303789719939232, 0.05287531018257141, -0.03803160414099693, -0.04045208916068077, 0.017676319926977158, -0.03419835492968559, 0.03805525600910187, 0.0459095723927021, 0.015826640650629997, -0.030207419767975807, -0.057797159999608994, 0.011904874816536903, -0.04125453531742096, -0.03429291024804115, -0.01730225794017315, 0.011886476539075375, 0.03133082762360573, 0.0005737888277508318, 0.020031914114952087, -0.07016254216432571, 0.003845778526738286, 0.005805127788335085, -0.021831516176462173, -0.050342295318841934, -0.002261446788907051, -0.050924599170684814, -0.028075285255908966, 0.028391778469085693, 0.025123242288827896, -0.01995808444917202, 0.06735814362764359, 0.037259288132190704, 0.0031299246475100517, 0.044375330209732056, -0.01596694625914097, -0.025706328451633453, -0.026079688221216202, 0.004337466321885586, -0.04972990229725838, 0.03711440786719322, -0.004651900380849838, 0.010378829203546047, 0.04010363668203354, 0.039435695856809616, 0.01723703183233738, 0.03950468450784683, -0.04858555644750595, 0.03262339532375336, 0.0023255599662661552, -0.009541830979287624, -0.04704764857888222, 0.03272470086812973, -0.03513631969690323, -0.01477721519768238, -0.010136252269148827, 0.017352208495140076, 0.011557269841432571, -0.08962953090667725, -0.04794350266456604, 0.030212966725230217, -0.03049163706600666, -0.02595536597073078, -0.03512663021683693, 0.03314339369535446, 0.0802769884467125, -0.01553251314908266, 0.04094989225268364, -0.04749579355120659, 0.007313598413020372, 0.018466448411345482, 0.010747859254479408, -0.07058613747358322, 0.017900895327329636, 0.0002602610911708325, -0.007679404225200415, 0.029284555464982986, 0.015819299966096878, 0.03375561162829399, 0.0002921162231359631, -0.031456638127565384, -0.019468870013952255, -0.001483963686041534, 0.014465387910604477, 0.0325513631105423, 0.005588029511272907, -0.0002992849622387439, -0.005188577808439732, -0.023059692233800888, -0.029614493250846863, -0.030508188530802727, -0.029310759156942368, -0.010983719490468502, 0.03836815431714058, -0.016408909112215042, -0.07958522439002991, 0.013414536602795124, -0.009686351753771305, -0.029203856363892555, 0.041675690561532974, 0.00532912602648139, -0.014738810248672962, -0.009492694400250912, 0.003849337575957179, 0.0896022841334343, -0.05161648616194725, 0.022091148421168327, 0.019279183819890022, 0.008738632313907146, 0.013164335861802101, 0.009974774904549122, -0.038189347833395004, -0.01750999130308628, 0.002842020709067583, 0.017175668850541115, -0.041053660213947296, -0.03464815020561218, 0.004564364440739155, 0.014718220569193363, -0.00868747103959322, -0.030519826337695122, -0.001719840569421649, -0.022013500332832336, -0.04382980242371559, -0.036394570022821426, 0.008304835297167301, -0.024240532889962196, -0.023836029693484306, 0.015454848296940327, -0.026376081630587578, 0.030234649777412415, -0.03661007806658745, 0.020522091537714005, 0.014694004319608212, -0.006667874287813902, 0.03201330825686455, -0.04432325437664986, 0.011303544044494629, -0.04136448726058006, 0.03877997398376465, -0.0030154255218803883, -0.015542934648692608, 0.005364407319575548, 0.006385031621903181, -0.03551888093352318, 0.0015803348505869508, 0.02956772968173027, -0.032610587775707245, 0.027490748092532158, 0.018992632627487183, -0.05408333241939545, -0.0018324279226362705, -0.007381892763078213, -0.032985176891088486, 0.046575456857681274, -0.01832646317780018, -0.03856823220849037, -0.0166082251816988, -0.03629663959145546, 0.02004171349108219, -0.02641049027442932, 0.009469147771596909, -0.026364939287304878, 0.030957233160734177, 0.0439058281481266, 0.06301990151405334, 0.03948329761624336, -0.027686698362231255, 0.03236394375562668, -0.03680940717458725, -0.02926323376595974, -0.10154574364423752, -0.013426068238914013, -0.000358688848791644, -0.01726423390209675, -0.008401230908930302, 0.016440844163298607, 0.016601333394646645, -0.002663796069100499, -0.0777556523680687, -0.019932877272367477, 0.027095414698123932, 0.0059890043921768665, 0.0010136918863281608, 0.013096015900373459, -0.04200936481356621, 0.008912996388971806, 0.016929641366004944, -0.027331547811627388, 0.006643563974648714, -0.028334965929389, 0.037000872194767, -0.00560184707865119, 0.032530490309000015, -0.013293643482029438, 0.00926277507096529, 0.049323152750730515, 0.04101037234067917, 0.00873630028218031, 0.04535553231835365, -0.028219077736139297, 0.02305317483842373, 0.021156111732125282, 0.002729428466409445, -0.034032464027404785, 0.0025172221940010786, -0.022965213283896446, -0.04822129011154175, 0.04663104563951492, 0.01521375309675932, -0.011600143276154995, -0.03235163539648056, 0.07242309302091599, 0.04719260334968567, -0.030703600496053696, -0.04850674048066139, 0.04123948886990547, -0.04886016994714737, 0.01389987487345934, -0.004580535925924778, -0.01291371788829565, -0.029678940773010254, 0.0628306195139885, -0.011316612362861633, -0.0035483648534864187, 0.08793866634368896, 0.0014646081253886223, -0.04446867108345032, 0.013753910548985004, 0.1006268784403801, 0.08926650136709213, 0.044277433305978775, 0.0008302363567054272, 0.07232614606618881, -0.02985062263906002, -0.04626332223415375, 0.017711766064167023, -0.038598645478487015, -0.01903780736029148, -0.02730223909020424, 0.046410273760557175, 0.06585351377725601, -0.03757420554757118, 0.06203358620405197, -0.04496871680021286, 0.022408101707696915, 0.021208548918366432, 0.028922507539391518, 0.0353970006108284, 0.05630434677004814, 0.010913854464888573, 0.04251018911600113, -0.03821843862533569, -0.037738583981990814, 0.017148923128843307, 0.013710049912333488, 0.01186427939683199, -0.006902885157614946, -0.008611670695245266, 0.017723076045513153, 0.039452701807022095, 0.02892308682203293, 0.06395353376865387, -0.02503849007189274, -0.011300722137093544, -0.006551372818648815, 0.02272428758442402, -0.01802671328186989, -0.00983772985637188, -0.000344379513990134, -0.02104424126446247, 0.0005481760599650443, -0.00497271167114377, -0.020127298310399055, -0.017582176253199577, -0.021548565477132797, 0.034448690712451935, -0.018659483641386032, 0.010414286516606808, 0.020976625382900238, -0.010039277374744415, -0.038692884147167206, -0.04361371323466301, -0.037520647048950195, -0.050146158784627914, -0.0809343159198761, 0.030704716220498085, -0.006393065210431814, -0.019414478912949562, -0.01791716367006302, -0.012926707044243813, -0.00026605979655869305, -0.034489624202251434, 0.04682503640651703, -0.04356907308101654, -0.045026376843452454, 0.012956378981471062, 0.02912030555307865, 0.023855533450841904, 0.04570980370044708, 0.04818393290042877, -0.027696704491972923, -0.002079421654343605, -0.025226980447769165, -0.01225515827536583, 0.0321156345307827, 0.051577597856521606, -0.011930721811950207, -0.08543885499238968, -0.028839701786637306, 0.030901502817869186, 0.00370030221529305, -0.07566011697053909, -0.01279482338577509, 0.014137791469693184, 0.013813204132020473, 0.023623120039701462, -0.02392788603901863, -0.003105668816715479, -0.07425098866224289, -0.004945668857544661, -0.011944477446377277, -0.011922059580683708, 0.05085069313645363, -0.030737336724996567, 0.0776040330529213, 0.000017127600585808977, -0.028688210994005203, -0.055650580674409866, 0.0027193843852728605, 0.0030966380145400763, 0.03456735983490944, -0.021317915990948677, -0.04751922935247421, -0.019693532958626747, -0.08978165686130524, -0.03608715534210205, 0.0061322227120399475, -0.03974892199039459, -0.04067916423082352, 0.04711185023188591, 0.03621968999505043, -0.053973037749528885, 0.06368357688188553, -0.026625575497746468, 0.01093109417706728, -0.037358809262514114, -0.028570491820573807, -0.004565163981169462, 0.02944258600473404, -0.009092711843550205, -0.0070520201697945595, 0.04311579838395119, -0.05622229725122452, -0.001342790201306343, 0.00926939956843853, 0.029075095430016518, -0.013569258153438568, -0.00677945651113987, 0.0259722787886858 ]
[ -0.11696363240480423, -0.018160808831453323, -0.024582017213106155, -0.011582981795072556, -0.01670224219560623, -0.020258469507098198, -0.008058042265474796, 0.02841782197356224, 0.06698595732450485, -0.03937877342104912, 0.01881253533065319, -0.07778717577457428, 0.034263066947460175, 0.03819651156663895, 0.06452349573373795, -0.0007978170178830624, -0.024082694202661514, -0.007270365953445435, -0.04307326301932335, 0.024270664900541306, 0.022797735407948494, -0.05240285396575928, -0.032556984573602676, -0.07470309734344482, 0.0304047130048275, 0.061152756214141846, 0.04155663773417473, -0.07027574628591537, 0.024192817509174347, -0.2438436597585678, -0.010729300789535046, 0.004530135076493025, 0.07988147437572479, -0.0637659877538681, -0.02355475351214409, 0.05254153534770012, 0.009865505620837212, -0.010892776772379875, -0.028429580852389336, 0.0045899092219769955, 0.03427403047680855, 0.04304875433444977, -0.0060149310156702995, -0.01887102983891964, 0.009667256847023964, 0.005219479091465473, -0.048590146005153656, -0.017348861321806908, -0.013877466320991516, 0.016150468960404396, -0.037325404584407806, -0.031896088272333145, 0.0018074167892336845, 0.017429474741220474, 0.018943656235933304, 0.056424207985401154, 0.03512954339385033, 0.05446282774209976, -0.005825799889862537, 0.024435076862573624, 0.004931781440973282, 0.002961344551295042, -0.09418798983097076, 0.05103309825062752, 0.020914196968078613, 0.031496234238147736, 0.003725455142557621, -0.06695926934480667, -0.07524390518665314, 0.09489986300468445, 0.02954799495637417, 0.008159379474818707, -0.006720931269228458, 0.019929545000195503, 0.01810273714363575, -0.03776049613952637, -0.021654028445482254, 0.008960955776274204, 0.0683278739452362, -0.022951360791921616, -0.03828730806708336, -0.02718915045261383, -0.024017738178372383, 0.005545616615563631, 0.01670779287815094, -0.010709571652114391, -0.011213916353881359, 0.033474262803792953, -0.010183034464716911, -0.016314975917339325, 0.007581156678497791, -0.0413023941218853, 0.0015372890047729015, -0.01109321042895317, -0.04203503951430321, -0.01720786839723587, 0.005679701920598745, 0.017158573493361473, -0.027930129319429398, 0.40235820412635803, -0.025965018197894096, 0.0331055223941803, 0.018708039075136185, 0.00451747328042984, -0.015609320253133774, -0.013376914896070957, -0.03615925461053848, -0.035813283175230026, -0.01016590278595686, -0.06037278473377228, -0.017515014857053757, -0.05755721405148506, 0.07786799222230911, -0.0348053015768528, 0.012270917184650898, 0.020663827657699585, 0.0795091986656189, 0.0508507564663887, 0.03699076175689697, 0.029759481549263, -0.02188343182206154, 0.03017064556479454, 0.013971483334898949, -0.0038948566652834415, -0.018496882170438766, 0.027216503396630287, -0.024746641516685486, 0.0389421284198761, 0.035122811794281006, 0.06030441075563431, 0.06063612177968025, -0.044603895395994186, -0.01715843193233013, -0.015926942229270935, -0.029539428651332855, 0.001011758460663259, 0.0077806576155126095, -0.03311380743980408, 0.03716013953089714, 0.006719994358718395, -0.00002630367634992581, -0.04956423118710518, 0.06105278059840202, -0.002141569973900914, -0.004020433407276869, 0.14324407279491425, -0.01585961878299713, -0.06383392959833145, -0.0071205077692866325, -0.07955633103847504, 0.014679369516670704, -0.0022006910294294357, -0.020246978849172592, -0.052809637039899826, 0.005130980163812637, 0.014346207492053509, 0.08079670369625092, -0.012184145860373974, -0.05444534868001938, 0.023308217525482178, -0.03140224888920784, -0.033215004950761795, -0.028379423543810844, 0.07282089442014694, 0.04067850485444069, -0.07878834009170532, -0.026386067271232605, -0.005548954475671053, 0.0013855767901986837, -0.045381098985672, 0.03757508844137192, 0.04341261088848114, 0.003926072735339403, 0.03335573896765709, 0.06317519396543503, -0.021419497206807137, -0.04579460248351097, -0.02921534702181816, 0.04479295387864113, 0.040162570774555206, -0.015306001529097557, 0.007503145840018988, -0.03796730563044548, 0.0019534677267074585, -0.01634751632809639, -0.030085260048508644, -0.04548436030745506, 0.009667652659118176, -0.031319573521614075, -0.007716149091720581, 0.010709411464631557, -0.045535873621702194, -0.0655398964881897, 0.05711117386817932, -0.027167469263076782, -0.02611869014799595, 0.03568536043167114, -0.004087239038199186, -0.047797467559576035, 0.006121377926319838, -0.013839486055076122, 0.020769119262695312, 0.004577921237796545, 0.022794373333454132, -0.06357544660568237, -0.0002943980216514319, 0.0526009276509285, -0.06421299278736115, 0.07562588155269623, 0.06168830022215843, 0.037666257470846176, -0.03997446224093437, -0.07224469631910324, -0.01897486485540867, 0.0130888307467103, -0.03962244093418121, 0.021109208464622498, -0.004397522192448378, 0.0010045409435406327, 0.059687476605176926, -0.007271747104823589, -0.03997649624943733, -0.04175296053290367, -0.3319803476333618, -0.05959060415625572, -0.014058842323720455, 0.007671411149203777, 0.014106537215411663, -0.09577399492263794, -0.03313358873128891, -0.012899103574454784, -0.046246618032455444, 0.06593737751245499, 0.061765607446432114, 0.002005788031965494, -0.030114732682704926, -0.08036740124225616, -0.016765007749199867, 0.05295924097299576, 0.0013210868928581476, 0.02416185475885868, -0.030147386714816093, 0.013250719755887985, -0.0005317210452631116, 0.02681739814579487, -0.04793526604771614, -0.05482396110892296, -0.01798785664141178, -0.025328997522592545, 0.12751291692256927, -0.006724474020302296, 0.056545011699199677, -0.04705922678112984, 0.018747059628367424, -0.03347701579332352, -0.04538685083389282, 0.0075255827978253365, -0.0018013084772974253, -0.007289133034646511, 0.034392502158880234, -0.041813645511865616, 0.06891532242298126, -0.01572430320084095, -0.10155864804983139, -0.009786238893866539, -0.022368023172020912, -0.016050629317760468, -0.053284481167793274, -0.006002801936119795, -0.0028991959989070892, -0.053248267620801926, 0.027621064335107803, 0.060534317046403885, 0.025372013449668884, 0.015315524302423, 0.028506476432085037, -0.03075634129345417, -0.0018319514347240329, -0.027104321867227554, -0.043185703456401825, -0.04289655014872551, -0.025507323443889618, -0.0014174125390127301, 0.004100739024579525, 0.018576035276055336, 0.04638242721557617, -0.005235675722360611, -0.011656911112368107, 0.021315740421414375, 0.0028887710068374872, -0.01150672696530819, 0.02291080169379711, 0.03831304609775543, -0.0036496566608548164, 0.0795462504029274, -0.008771752007305622, 0.031687237322330475, 0.03907471522688866, 0.005855212453752756, -0.00026147376047447324, 0.07813213020563126, 0.07385768741369247, -0.015287813730537891, 0.051548223942518234, -0.02437087707221508, 0.028223630040884018, -0.024071261286735535, -0.004407353233546019, 0.010163499973714352, 0.026401937007904053, 0.03933984413743019, 0.020124908536672592, 0.049445174634456635, 0.005877185612916946, 0.004573886748403311, 0.03598630428314209, -0.014440353959798813, 0.04600908234715462, -0.024044083431363106, -0.25691547989845276, 0.03589145839214325, 0.057095836848020554, 0.005688557401299477, -0.03325233235955238, 0.0073581356555223465, 0.054629746824502945, -0.06363758444786072, -0.03240058571100235, -0.045725371688604355, 0.027066461741924286, 0.09707105159759521, 0.035439927130937576, 0.009255175478756428, 0.0024606233928352594, -0.02335095778107643, 0.04470113664865494, -0.004472772125154734, -0.011530354619026184, 0.01374216191470623, 0.026957718655467033, -0.009492825716733932, 0.1948813945055008, -0.006686722859740257, 0.035583700984716415, 0.007898066192865372, -0.0016919223126024008, 0.035427600145339966, 0.034858863800764084, 0.011421707458794117, -0.01556569617241621, 0.028024816885590553, 0.019004393368959427, -0.025713952258229256, 0.05189202353358269, 0.0478132888674736, 0.001137481420300901, 0.04370823875069618, 0.05383932590484619, -0.023590145632624626, -0.012325690127909184, -0.04617120698094368, -0.029997117817401886, 0.013212699443101883, 0.09251327812671661, 0.01993369497358799, -0.019839908927679062, -0.006713957991451025, -0.04564861208200455, 0.014924452640116215, -0.03064735420048237, -0.020950673148036003, 0.015312171541154385, -0.02431393601000309, 0.024468056857585907, 0.057075127959251404, 0.0023448404390364885, -0.03954650089144707, -0.031066017225384712, 0.0005023863632231951, 0.023576973006129265, -0.014056028798222542, 0.055404506623744965, -0.03279972821474075, 0.036781586706638336 ]
[ -0.021159356459975243, 0.023506201803684235, 0.0047675250098109245, 0.005086078774183989, 0.010008672252297401, -0.02264367789030075, 0.01651517115533352, 0.03184840828180313, -0.028181765228509903, -0.029351746663451195, -0.03697383403778076, 0.01575847528874874, 0.040718428790569305, -0.003851747140288353, -0.0015074150869622827, 0.004820860922336578, 0.02588707208633423, 0.006850862875580788, 0.030686231330037117, -0.00850012619048357, -0.05059147626161575, 0.013644746504724026, -0.02167804166674614, 0.02417418174445629, 0.025350654497742653, 0.01871040090918541, 0.0024360644165426493, -0.010758241638541222, 0.019216662272810936, -0.10586313903331757, -0.006992616690695286, -0.0305651742964983, 0.04227154329419136, 0.002719439100474119, -0.03133856877684593, 0.024560781195759773, 0.014429152943193913, -0.008478272706270218, -0.008114224299788475, -0.024754531681537628, -0.010259558446705341, -0.028653962537646294, 0.05116714537143707, -0.0002509808400645852, -0.007823498919606209, 0.0304817333817482, -0.013916141353547573, -0.004726865794509649, 0.004903498105704784, 0.011145501397550106, -0.05451221391558647, 0.019308870658278465, -0.027315407991409302, 0.04243311658501625, 0.0027993032708764076, -0.006839752197265625, -0.00443488173186779, -0.020564181730151176, -0.015757443383336067, 0.012955553829669952, -0.023666275665163994, 0.019632970914244652, -0.0475076325237751, -0.01893826201558113, -0.024321481585502625, -0.007975663058459759, -0.005842616781592369, -0.020023418590426445, -0.004980695433914661, 0.0006493646651506424, 0.029425423592329025, 0.05937255546450615, -0.04946083948016167, -0.013552469201385975, -0.001033862354233861, 0.013958721421658993, 0.031385891139507294, -0.02609698474407196, -0.004168643616139889, -0.035551853477954865, -0.02649213932454586, -0.0023799396585673094, 0.02491450496017933, -0.0031543460208922625, -0.03498765826225281, -0.0683525800704956, -0.013880093581974506, 0.012477940879762173, 0.022054899483919144, -0.03641137853264809, -0.007906834594905376, 0.04633656516671181, -0.009789870120584965, 0.002278823172673583, -0.06261728703975677, 0.00784357450902462, -0.015913479030132294, 0.0208534337580204, -0.004058521706610918, 0.832733154296875, 0.026281459257006645, 0.03090691566467285, 0.0228327214717865, -0.0029454228933900595, 0.020659908652305603, 0.0059784590266644955, 0.03225941210985184, 0.010803267359733582, 0.00275333970785141, -0.04420889541506767, 0.041574206203222275, -0.01800057664513588, 0.06481800973415375, 0.0345645546913147, 0.0033284728415310383, -0.0024350606836378574, -0.0057323649525642395, -0.009206718765199184, -0.01103213895112276, 0.008174733258783817, -0.0263152364641428, 0.005313047673553228, 0.036821149289608, 0.004482026677578688, 0.033964890986680984, -0.17237119376659393, -0.006475298199802637, -7.419514630878885e-33, 0.03690273314714432, -0.012628800235688686, 0.022321045398712158, -0.0266045480966568, 0.0029203167650848627, -0.006121457554399967, -0.024534104391932487, -0.026039574295282364, -0.04934944584965706, 0.010045739822089672, 0.012785236351191998, -0.014049718156456947, 0.022906431928277016, -0.017908431589603424, 0.04876405745744705, -0.04651390016078949, 0.03819882869720459, 0.007641356438398361, -0.018397970125079155, 0.0203383956104517, 0.02342766709625721, 0.04277513921260834, -0.02741941437125206, 0.03227495029568672, 0.031853433698415756, 0.04227939248085022, 0.0045105465687811375, -0.025990694761276245, 0.028564205393195152, -0.044656574726104736, -0.05814596265554428, 0.03360181301832199, -0.01966763101518154, 0.016408510506153107, -0.0020989018958061934, -0.0015137911541387439, 0.0009179559419862926, 0.0013250806368887424, -0.008989376947283745, -0.020558984950184822, -0.007395012304186821, 0.04447426274418831, -0.022692717611789703, -0.0434194952249527, 0.009731546975672245, -0.010685309767723083, 0.03857719525694847, 0.05657842010259628, 0.014432571828365326, -0.012437541037797928, 0.014839272014796734, 0.0029423758387565613, -0.02473204955458641, 0.023318350315093994, -0.012349287047982216, -0.001177375321276486, 0.0004357255238573998, 0.013810617849230766, 0.004407871980220079, 0.08109802007675171, 0.013908610679209232, 0.010655109770596027, -0.0032168396282941103, 0.00843106210231781, -0.02061522752046585, -0.012829885818064213, 0.018025020137429237, -0.03486250713467598, -0.0014868477592244744, 0.055180374532938004, -0.06465239077806473, -0.03041708841919899, 0.01804525963962078, -0.02035498060286045, 0.03867302089929581, -0.015467620454728603, -0.015033530071377754, -0.04295416176319122, -0.011475135572254658, -0.013672958128154278, -0.0018863071454688907, -0.02055235579609871, -0.02707185037434101, -0.007723140064626932, -0.06146763265132904, -0.01100054383277893, 0.034222736954689026, 0.035357702523469925, -0.041991010308265686, 0.00039774153265170753, 0.0004467034013941884, 0.0322805680334568, -0.012819435447454453, 0.0022309916093945503, -0.000281530839856714, 8.189702937641463e-33, -0.04851872846484184, -0.03525996208190918, 0.021059665828943253, -0.005375065375119448, 0.028124243021011353, 0.003933715634047985, 0.06624296307563782, -0.020591730251908302, -0.010583873838186264, 0.05652155354619026, -0.03089476190507412, -0.03131868317723274, 0.005955359898507595, -0.009425869211554527, 0.05813395604491234, 0.008758146315813065, 0.018890921026468277, 0.023815995082259178, 0.007124787196516991, 0.00497788842767477, 0.00931603740900755, 0.01615365408360958, 0.027355097234249115, 0.001739632454700768, 0.03726724907755852, 0.048937343060970306, 0.012738313525915146, 0.00833134725689888, -0.007925482466816902, -0.018719587475061417, -0.0010121752275153995, -0.011387123726308346, -0.01790383830666542, -0.010302520357072353, 0.0013622604310512543, 0.04310189560055733, -0.01618838682770729, -0.008418609388172626, 0.009040722623467445, -0.023532526567578316, 0.02577829547226429, -0.00259993365034461, -0.009889237582683563, 0.019817452877759933, 0.00846391823142767, 0.01775534823536873, -0.022128332406282425, -0.017714908346533775, -0.027895255014300346, -0.008365711197257042, 0.001107351272366941, -0.010885263793170452, -0.010218644514679909, 0.021206911653280258, -0.033180564641952515, -0.044967878609895706, -0.015427968464791775, 0.03868825361132622, -0.015535393729805946, -0.024832677096128464, 0.0037121411878615618, -0.009790563024580479, -0.028539791703224182, 0.048741381615400314, -0.01740674115717411, 0.010674944147467613, -0.013898894190788269, -0.006040435284376144, -0.0061824386939406395, 0.028531435877084732, -0.015435825102031231, 0.009672340005636215, 0.03986141085624695, 0.04228101298213005, -0.027904076501727104, -0.009416130371391773, -0.039794713258743286, -0.0026630708016455173, 0.027765978127717972, 0.02088155597448349, 0.03125857934355736, 0.024670416489243507, 0.0523068904876709, -0.014050096273422241, -0.0119270458817482, 0.014596473425626755, 0.010355571284890175, 0.04575929418206215, -0.0016135020414367318, -0.028225811198353767, -0.01578502170741558, -0.00834652129560709, 0.023495865985751152, -0.007442567031830549, 0.00038219528505578637, -1.2919363356900249e-8, -0.023556865751743317, -0.026279373094439507, -0.03251737356185913, 0.011814910918474197, -0.01508511882275343, 0.02183867059648037, -0.025055963546037674, -0.002160474192351103, -0.011622849851846695, 0.035133980214595795, 0.008627581410109997, -0.033790718764066696, 0.011978755705058575, 0.02419974096119404, 0.02217404544353485, -0.02549571357667446, 0.06768552213907242, -0.04758736491203308, 0.038506437093019485, -0.001871059532277286, -0.0014086045557633042, 0.037933968007564545, -0.005319127347320318, 0.037428662180900574, -0.01249982975423336, 0.0002660957397893071, 0.05082675442099571, -0.07981107383966446, 0.02330303005874157, 0.02072388119995594, -0.031934935599565506, -0.03337903320789337, -0.04751734808087349, 0.01415939163416624, -0.004352174699306488, -0.00051113375229761, -0.008591478690505028, 0.04224209487438202, 0.04228869080543518, 0.0015191647689789534, -0.053139347583055496, -0.013811448588967323, -0.020369453355669975, -0.02674793265759945, 0.0005340156494639814, -0.002562886569648981, 0.01898585632443428, -0.0002274815778946504, 0.0019081548089161515, -0.03955690562725067, 0.030274298042058945, 0.004210667684674263, 0.02267901599407196, -0.009732426144182682, 0.010769165121018887, -0.010408747009932995, -0.019261740148067474, -0.04189806431531906, 0.010723351500928402, -0.028204292058944702, 0.00010715013922890648, 0.027835316956043243, -0.021276824176311493, -0.04367716237902641 ]
haskell-closest-pairs-algorithm
https://markhneedham.com/blog/2012/05/09/haskell-closest-pairs-algorithm
false
2012-05-31 21:52:29
Google Maps without any labels/country names
[ "google-maps" ]
[ "Software Development" ]
I wanted to get a blank version of Google Maps without any of the country names on for a visualisation I'm working on but I'd been led to believe that this wasn't actually possible. In actual fact we do have control over http://stackoverflow.com/questions/3110020/google-maps-api-v3-no-labels[whether the labels are shown] https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map[via the 'styles' option] which we can call on the map. In my case the code looks like this: [source,javascript] ---- var map = new google.maps.Map(document.getElementById("map_canvas"), { zoom: 3, center: new google.maps.LatLng(31.492121, 14.919434), mapTypeId: google.maps.MapTypeId.ROADMAP }); var emptyStyles = [ { featureType: "all", elementType: "labels", stylers: [ { visibility: "off" } ] } ]; map.setOptions({styles: emptyStyles}); ---- And this is the result: image::{{<siteurl>}}/uploads/2012/05/map-no-labels.jpg[Map no labels,600]
null
null
[ -0.015918437391519547, -0.007265250664204359, 0.032297004014253616, 0.0409574918448925, 0.049566153436899185, -0.01259323675185442, 0.005430160090327263, 0.06698674708604813, 0.009692233987152576, -0.025039363652467728, -0.059980228543281555, -0.009456363506615162, -0.08903668820858002, 0.03894146904349327, 0.0021557749714702368, 0.07472486793994904, 0.09598756581544876, 0.01043346244841814, -0.02657577209174633, 0.04087715968489647, 0.03419716656208038, 0.022698525339365005, -0.008381224237382412, 0.0008902035187929869, 0.030531462281942368, -0.003976562526077032, 0.019343998283147812, 0.014467394910752773, -0.09003255516290665, 0.00722849927842617, 0.05031980201601982, 0.015345300547778606, 0.004249445628374815, 0.003279985161498189, 0.004137602634727955, -0.008396502584218979, -0.01938566006720066, -0.013391549699008465, -0.01726956106722355, 0.04096323251724243, -0.07104630023241043, 0.023617921397089958, -0.0077032302506268024, 0.023078834637999535, -0.022680936381220818, 0.018678395077586174, -0.058537840843200684, 0.009153380058705807, -0.041381001472473145, -0.01408917736262083, -0.04135815054178238, 0.022769922390580177, -0.02116905152797699, 0.018332097679376602, -0.02710171788930893, 0.029181381687521935, 0.0067090666852891445, -0.08824493736028671, 0.024220798164606094, -0.05089590325951576, 0.03566687926650047, 0.00526968901976943, -0.00734557444229722, 0.05969623476266861, -0.006612079683691263, -0.023691745474934578, -0.03724055364727974, 0.05664925277233124, -0.03157706558704376, -0.026533083990216255, -0.015526605769991875, 0.02225179225206375, -0.009558971039950848, -0.026743343099951744, -0.006761699449270964, -0.04742347076535225, -0.023936446756124496, 0.06308691203594208, 0.0057600378058850765, 0.04354977235198021, -0.002846706425771117, -0.02867664210498333, 0.05786774680018425, 0.012936856597661972, -0.03028297983109951, -0.02228766866028309, -0.0378674753010273, -0.02824985235929489, -0.024429308250546455, 0.03848530724644661, 0.014930115081369877, -0.04301461577415466, 0.03592682257294655, 0.03139447420835495, 0.01523584220558405, -0.042020078748464584, -0.013544403947889805, 0.014260615222156048, -0.03505340963602066, -0.02297324314713478, -0.020214341580867767, -0.003388772951439023, 0.04351576417684555, 0.004660903010517359, -0.047117654234170914, -0.051682546734809875, -0.008129697293043137, 0.006168379448354244, 0.026723789051175117, 0.035099148750305176, -0.018257765099406242, 0.018851466476917267, -0.011045441962778568, 0.012406816706061363, -0.05898793786764145, 0.04280095174908638, 0.005332587286829948, -0.005375814624130726, 0.003208826994523406, 0.03594370186328888, 0.03602107986807823, 0.05039628595113754, 0.00842889305204153, 0.06392887979745865, 0.005102782975882292, 0.04807988926768303, -0.03521156311035156, 0.0438193716108799, -0.023384107276797295, -0.05908532068133354, -0.005348304286599159, 0.053659647703170776, -0.01760190539062023, -0.0007599020609632134, 0.001779430196620524, 0.00834067165851593, -0.0012860361021012068, -0.013650275766849518, 0.07871491461992264, 0.01824570819735527, -0.03739949315786362, -0.014147763140499592, -0.022648168727755547, 0.030652016401290894, 0.041615940630435944, -0.009401648305356503, -0.011750736273825169, -0.0589468777179718, -0.07195823639631271, 0.026480380445718765, 0.002794775413349271, 0.012018122710287571, 0.08425453305244446, -0.01584029383957386, -0.025011451914906502, 0.09577464312314987, -0.0019128313288092613, 0.003164147026836872, 0.011937765404582024, -0.01689535193145275, 0.03616444766521454, 0.03842249512672424, 0.030894223600625992, 0.06716735661029816, -0.007669228129088879, -0.014545286074280739, 0.01703510619699955, 0.043314892798662186, -0.002262682653963566, -0.034967124462127686, -0.04706401750445366, -0.08074893057346344, 0.05753942206501961, -0.03773888573050499, -0.0007714033126831055, 0.032029613852500916, 0.09491324424743652, 0.026198960840702057, 0.02206898108124733, 0.020060934126377106, -0.07428126037120819, 0.02275973930954933, 0.040892038494348526, -0.015190032310783863, 0.03200121596455574, -0.001674602972343564, 0.07069500535726547, 0.06051114574074745, 0.01309257186949253, 0.024583809077739716, -0.04644672945141792, -0.04973793402314186, -0.02968514710664749, -0.003451760858297348, 0.051053814589977264, -0.060599423944950104, -0.011563451029360294, 0.07800066471099854, 0.032334960997104645, 0.07415589690208435, 0.020060256123542786, -0.013335416093468666, 0.03911072760820389, -0.03367374464869499, -0.05847914516925812, 0.027291374281048775, 0.03610512241721153, -0.04457928612828255, 0.02060919813811779, 0.03564532473683357, -0.032135628163814545, -0.0033619441092014313, 0.026162080466747284, 0.022146249189972878, 0.02676980011165142, 0.006374491844326258, 0.05645609274506569, -0.028115637600421906, 0.06701738387346268, -0.04867690056562424, 0.05088546872138977, 0.03408913314342499, -0.014657896012067795, -0.02155899628996849, 0.0006557718734256923, 0.11928778886795044, 0.05402110517024994, 0.0037518797907978296, -0.041170135140419006, 0.016881680116057396, -0.0019166242564097047, -0.01467499602586031, 0.029969973489642143, -0.017766904085874557, -0.027516797184944153, 0.013725847005844116, 0.01661795563995838, -0.0033497035037726164, -0.00019908831745851785, -0.03886614367365837, -0.01246471144258976, 0.051667988300323486, 0.0059641627594828606, 0.05336681008338928, -0.013090211898088455, -0.017278430983424187, -0.002048107795417309, -0.02154524438083172, -0.03964260220527649, -0.01174756046384573, 0.02776253968477249, -0.002985382918268442, 0.012552696280181408, -0.033207181841135025, -0.009561972692608833, -0.009366429410874844, -0.03411801904439926, -0.0341724157333374, 0.061429545283317566, 0.05698315054178238, -0.021253975108265877, 0.05655648931860924, -0.01243581436574459, 0.008021158166229725, 0.0016753838863223791, -0.04035012423992157, -0.0166354738175869, 0.01277633011341095, 0.017338361591100693, 0.01049102284014225, 0.02392321638762951, 0.02839517407119274, 0.009415694512426853, -0.010409513488411903, 0.021079929545521736, 0.03166572004556656, -0.008846388198435307, 0.040336448699235916, -0.015302807092666626, -0.010911310091614723, -0.0068533895537257195, 0.04559040814638138, -0.0009129998506978154, -0.0426797941327095, -0.01177243608981371, -0.07112696021795273, 0.017907822504639626, -0.06912771612405777, -0.050212595611810684, 0.012389161624014378, 0.02953309938311577, 0.016184572130441666, -0.006222517695277929, 0.020753463730216026, 0.03522595763206482, -0.021940920501947403, 0.021457431837916374, 0.0023423831444233656, -0.044063664972782135, 0.04636649042367935, -0.0015510332304984331, 0.02156468853354454, 0.051953695714473724, -0.038925256580114365, -0.008942678570747375, -0.01660909503698349, 0.03676426410675049, -0.04308587312698364, -0.24412864446640015, 0.04272345080971718, 0.0036540525034070015, -0.046382803469896317, -0.014130217023193836, -0.028702938929200172, 0.015575116500258446, -0.036445844918489456, -0.010068767704069614, 0.024056455120444298, 0.011516022495925426, -0.03436838835477829, -0.042789798229932785, 0.0524204820394516, 0.003947707824409008, -0.006390667986124754, 0.01361251063644886, -0.03240706026554108, 0.020834384486079216, 0.04144573211669922, -0.04679776728153229, -0.07146035879850388, 0.059466827660799026, 0.06984738260507584, 0.009984168224036694, 0.06265459209680557, -0.06039435416460037, 0.04182779788970947, -0.02782401628792286, -0.017883077263832092, 0.010757756419479847, -0.04281819611787796, -0.011309741996228695, -0.008649302646517754, -0.02111702598631382, -0.024459298700094223, 0.012303287163376808, 0.0005308558465912938, -0.005485355854034424, -0.00046404628665186465, -0.03477247804403305, 0.00449347821995616, 0.005974175874143839, 0.010250473394989967, 0.08419055491685867, -0.04274189472198486, -0.06348583847284317, -0.003911406267434359, -0.036275073885917664, 0.06295324862003326, -0.002749721286818385, -0.02574901655316353, -0.023405341431498528, 0.056393563747406006, -0.0422680489718914, -0.00556559395045042, -0.010132528841495514, -0.040129609405994415, -0.050027456134557724, -0.03128066286444664, 0.019520511850714684, -0.03718980774283409, -0.0721215084195137, -0.05456976220011711, 0.040807515382766724, -0.048779211938381195, -0.07486802339553833, 0.013569245114922523, 0.06805603206157684, 0.03589785844087601, -0.016525179147720337, -0.037216346710920334, -0.026866106316447258, -0.08473626524209976, -0.001354716718196869, -0.05366627126932144, -0.03987353295087814, -0.015633463859558105, -0.018986305221915245, 0.015407497994601727, -0.055170491337776184, -0.035646285861730576, 0.05131728574633598, 0.021068939939141273, 0.010639180429279804, -0.0067707751877605915, 0.021099375560879707, 0.022136414423584938, -0.028035463765263557, -0.011509192176163197, 0.07256209850311279, -0.009886128827929497, -0.004688228480517864, -0.02016487717628479, -0.006316254381090403, -0.003091709455475211, 0.041642334312200546, -0.016557158902287483, 0.02888047881424427, 0.03952404111623764, 0.03336802497506142, -0.06255172193050385, 0.020278768613934517, 0.010830821469426155, 0.0035096018109470606, 0.013282513245940208, -0.03864286094903946, 0.03026701509952545, 0.04344562813639641, -0.0226517915725708, -0.018401047214865685, 0.010258354246616364, -0.024248545989394188, -0.04558090493083, -0.04358069598674774, 0.014512897469103336, 0.020118407905101776, -0.006686035078018904, 0.025117557495832443, -0.06653805822134018, -0.020251348614692688, 0.031739071011543274, 0.00234786793589592, 0.03178887814283371, -0.06207379326224327, 0.005522516090422869, -0.027531100437045097, -0.03747554495930672, 0.043726835399866104, 0.011867680586874485, 0.013400386087596416, 0.043464723974466324, 0.020156633108854294, -0.04939660057425499, 0.038505103439092636, -0.03068855218589306, -0.006492860149592161, -0.036062367260456085, -0.022760283201932907, -0.007172193378210068, -0.013944518752396107, -0.005595441907644272, 0.030817285180091858, 0.03357516974210739, 0.028038911521434784, -0.018913790583610535, 0.015387420542538166, 0.00042732860310934484, -0.00950394757091999, -0.02276238426566124, 0.016949409618973732, -0.030870923772454262, -0.0022581289522349834, -0.02935095503926277, 0.004974756855517626, 0.003613427048549056, 0.03177012503147125, -0.028419144451618195, 0.0013464591465890408, -0.040808022022247314, 0.03429226204752922, -0.062456078827381134, -0.03215582296252251, 0.04303038865327835, 0.0013131072046235204, 0.013467960059642792, 0.06100030615925789, 0.031052591279149055, -0.00485092680901289, -0.024367311969399452, 0.022465571761131287, -0.045168276876211166, -0.022337330505251884, -0.02461950108408928, -0.04225132241845131, -0.015948444604873657, 0.001393826212733984, 0.0498780831694603, 0.030838502570986748, 0.034802332520484924, 0.024486778303980827, -0.00618243170902133, 0.03214131295681, -0.030729522928595543, 0.037850040942430496, -0.008220361545681953, -0.004195168148726225, -0.0008085542940534651, -0.017775937914848328, -0.05099932476878166, -0.03172020614147186, 0.0034096953459084034, -0.048530563712120056, 0.004128127358853817, -0.027900448068976402, -0.0727156549692154, -0.015930261462926865, 0.021218042820692062, 0.0421813428401947, 0.03608763590455055, -0.00751874502748251, -0.0008944270084612072, -0.030792994424700737, 0.014485074207186699, 0.07396232336759567, -0.05067289620637894, 0.012737683020532131, 0.011575150303542614, 0.0032534825149923563, 0.018676510080695152, -0.0031539101619273424, -0.08466988056898117, -0.04176885262131691, -0.030605603009462357, 0.028433047235012054, -0.028588181361556053, -0.061193980276584625, -0.03471296280622482, 0.02667985111474991, -0.0002153658278984949, 0.006486302241683006, 0.03017137385904789, -0.03198115900158882, -0.027311643585562706, 0.015897419303655624, 0.011320134624838829, -0.03640001639723778, 0.0003963411436416209, 0.03713104873895645, -0.04459714889526367, 0.023303410038352013, -0.010359465144574642, 0.035483527928590775, 0.04454514756798744, -0.025254173204302788, -0.00042369519360363483, -0.03026505745947361, -0.006622264627367258, 0.008403304032981396, 0.07716228812932968, -0.007919647730886936, -0.008395696058869362, -0.05037341266870499, 0.01129666343331337, 0.01670563593506813, 0.013096677139401436, -0.03471558913588524, -0.02348097786307335, 0.02322014421224594, 0.017473295331001282, 0.00010726442997111008, -0.02105671912431717, -0.01320193987339735, -0.05133455619215965, 0.07152801752090454, -0.046165842562913895, -0.026522627100348473, 0.007746160961687565, -0.03809448704123497, 0.045352790504693985, -0.007606651168316603, 0.023382417857646942, -0.019922295585274696, 0.026215186342597008, 0.019253022968769073, -0.0031388350762426853, -0.011823304928839207, -0.027921240776777267, 0.004767936654388905, -0.02716732583940029, 0.011861278675496578, -0.0875495970249176, 0.014601076021790504, 0.015916630625724792, 0.03182839974761009, -0.05140034109354019, -0.014203297905623913, -0.03332474082708359, 0.01158361416310072, -0.06870933622121811, -0.052011117339134216, 0.04050935432314873, 0.02996709942817688, 0.00538908876478672, 0.013494333252310753, -0.05524871125817299, 0.029372138902544975, 0.054157622158527374, -0.048071082681417465, -0.052656520158052444, -0.0009201350039802492, 0.05647650361061096, 0.014301913790404797, -0.020050443708896637, -0.018947618082165718, 0.02171214483678341, 0.049947116523981094, 0.04330260679125786, 0.03617116063833237, 0.022515110671520233, -0.028689898550510406, 0.060611460357904434, 0.024993859231472015, -0.00047112724860198796, -0.004912460222840309, 0.022391799837350845, 0.014536969363689423, -0.06518740952014923, 0.04594716802239418, -0.001386001007631421, -0.0005148677155375481, -0.05028199404478073, 0.05564939230680466, 0.026896348223090172, -0.045160021632909775, -0.035878442227840424, -0.010359829291701317, -0.04931227117776871, -0.014599052257835865, -0.015611263923346996, 0.0033582099713385105, -0.014844383113086224, 0.044968344271183014, 0.02412250265479088, -0.0029596290551126003, 0.057049915194511414, 0.0059767416678369045, 0.006646018475294113, 0.0023499582894146442, 0.07138534635305405, 0.06766392290592194, 0.034085482358932495, -0.013435962609946728, 0.04790658503770828, -0.025831811130046844, -0.012470786459743977, 0.0024095734115689993, -0.01990712247788906, -0.02274899370968342, -0.04056977853178978, -0.005504163913428783, 0.06946056336164474, -0.029315127059817314, 0.05667538940906525, -0.02710248902440071, -0.005020011682063341, -0.012641231529414654, 0.014113479293882847, -0.00023935933131724596, 0.018908292055130005, 0.022765029221773148, 0.03162265196442604, 0.02141529880464077, -0.0011246129870414734, 0.0077125029638409615, -0.05961812660098076, 0.005002310965210199, 0.010990657843649387, -0.05442100018262863, -0.008830987848341465, 0.0070236376486718655, 0.017801595851778984, 0.07884814590215683, -0.009985139593482018, -0.013793393969535828, 0.016712700948119164, 0.0401945635676384, 0.01277487725019455, 0.03418424353003502, 0.008294513449072838, -0.01833008974790573, -0.023010650649666786, -0.020223654806613922, -0.023313961923122406, -0.018547208979725838, 0.002618886297568679, 0.02751549705862999, -0.017598511651158333, 0.03767526149749756, -0.0034797198604792356, -0.029837798327207565, -0.08229560405015945, -0.043733756989240646, -0.06277640908956528, -0.07886548340320587, -0.08406402915716171, -0.018352346494793892, 0.01080898754298687, -0.017782902345061302, -0.014852273277938366, -0.047119054943323135, -0.004379838239401579, -0.008389038033783436, -0.004273230209946632, -0.03751641511917114, -0.03206411004066467, 0.04537713900208473, 0.013002797029912472, 0.0031989850103855133, 0.02670029178261757, 0.05149247869849205, 0.011218802072107792, 0.012299657799303532, -0.0035305104684084654, 0.009165524505078793, 0.054091982543468475, 0.025875207036733627, 0.045602161437273026, -0.07112617790699005, -0.004168139770627022, -0.019324777647852898, -0.017796043306589127, -0.058885712176561356, -0.0040727648884058, 0.02516920305788517, -0.00642103748396039, 0.04601755365729332, 0.01715226098895073, -0.011654509231448174, -0.026102300733327866, -0.0016006865771487355, 0.010133025236427784, -0.01882138103246689, 0.03170628845691681, -0.04165239259600639, 0.08079911768436432, 0.03054826520383358, 0.009416610933840275, -0.03503696992993355, -0.005656036082655191, -0.03354710713028908, 0.006290835794061422, -0.05176149681210518, -0.06692930310964584, -0.05253469944000244, -0.05843740701675415, -0.019489331170916557, -0.006073784548789263, -0.05419348180294037, -0.017499521374702454, -0.020422665402293205, 0.01875460520386696, -0.03389923647046089, 0.05940913408994675, -0.054192978888750076, 0.02757883444428444, -0.007532735820859671, 0.02039569616317749, -0.009956623427569866, 0.050277821719646454, -0.0015286896377801895, -0.006510606035590172, 0.03875769302248955, -0.03869449347257614, 0.012133313342928886, -0.03539292886853218, 0.0399102084338665, 0.018229462206363678, -0.010513784363865852, 0.03107956238090992 ]
[ -0.0362732820212841, -0.024496670812368393, 0.01929427869617939, -0.021066831424832344, 0.07716508209705353, -0.038034338504076004, 0.0022701716516166925, 0.014257741160690784, -0.051846589893102646, -0.0008952278294600546, -0.021199405193328857, -0.04981093481183052, -0.008407862856984138, 0.010182972997426987, 0.019964609295129776, 0.006005424540489912, -0.0030851915944367647, -0.058423567563295364, -0.05634647607803345, 0.00724162207916379, 0.03989456966519356, -0.0011875178897753358, -0.04321619123220444, 0.019482756033539772, 0.030178790912032127, 0.04386948421597481, 0.038412462919950485, -0.02284112572669983, 0.0011103579308837652, -0.21340486407279968, -0.01461360789835453, -0.04084249958395958, -0.007177020888775587, -0.02497316338121891, -0.027164777740836143, 0.003730335971340537, 0.025120018050074577, 0.0634777694940567, 0.02038855291903019, 0.004229789599776268, 0.06721154600381851, -0.008527790196239948, -0.03559981659054756, -0.04172179475426674, 0.03640995919704437, -0.02001572772860527, -0.007999216206371784, -0.03274903446435928, -0.036016304045915604, -0.0008984070736914873, -0.020259302109479904, -0.012180843390524387, -0.03978784754872322, -0.03731413558125496, -0.01733054220676422, 0.054945435374975204, 0.004134483635425568, 0.05928998067975044, 0.03566062077879906, 0.03428536653518677, 0.033379264175891876, -0.016021525487303734, -0.16273729503154755, 0.09968040138483047, 0.0197286456823349, 0.10715183615684509, -0.03238443657755852, -0.009427173063158989, -0.058903809636831284, 0.0489208810031414, 0.028777875006198883, 0.033076558262109756, -0.010439082980155945, 0.061885133385658264, 0.012118775397539139, -0.038903769105672836, -0.026932401582598686, 0.06607392430305481, 0.026015998795628548, -0.06259588152170181, -0.04778379574418068, 0.004044041968882084, 0.014997712336480618, -0.017090056091547012, 0.03650500625371933, -0.037702687084674835, -0.04827672243118286, 0.060056354850530624, 0.00667221425101161, 0.026832215487957, 0.07249937951564789, -0.07015462964773178, 0.0682428777217865, 0.021227441728115082, -0.07026742398738861, -0.036500997841358185, -0.02281086891889572, 0.042985204607248306, -0.01447171252220869, 0.37969470024108887, -0.07053278386592865, 0.004381061997264624, 0.048068705946207047, 0.04081428796052933, -0.02278665453195572, -0.040305159986019135, -0.01630181260406971, -0.052083320915699005, -0.020853236317634583, -0.0016674093203619123, 0.0015366732841357589, -0.021350570023059845, 0.04441521316766739, -0.046225082129240036, -0.03556476905941963, -0.02087000012397766, 0.048707686364650726, 0.03557485342025757, 0.014283581636846066, -0.01312015950679779, -0.007360593881458044, -0.014452018775045872, 0.005735409911721945, 0.00980700645595789, 0.00505969999358058, 0.05225739628076553, 0.039083756506443024, 0.057161491364240646, 0.08428598195314407, 0.00204176246188581, 0.04184367135167122, -0.06463292986154556, -0.0639464482665062, 0.03683909773826599, -0.008984698913991451, -0.0148998461663723, 0.029743583872914314, 0.0009924995247274637, -0.031115537509322166, 0.009312828071415424, -0.01167377084493637, -0.019433123990893364, 0.009884294122457504, 0.004523267969489098, 0.014283167198300362, 0.09978263825178146, -0.05184691771864891, -0.020445607602596283, -0.04811671003699303, -0.015979282557964325, -0.014548080042004585, 0.020572951063513756, -0.028915822505950928, -0.008781753480434418, -0.023065391927957535, 0.061601899564266205, 0.06873423606157303, -0.03149447962641716, -0.06097268685698509, -0.0017641421873122454, 0.022426646202802658, -0.029845092445611954, 0.009309281595051289, 0.05956127494573593, 0.02508622780442238, -0.09279800951480865, -0.05243327468633652, -0.018145522102713585, 0.00044671783689409494, -0.05899077281355858, -0.045202482491731644, 0.03250007703900337, 0.052125751972198486, -0.00968840904533863, 0.07328097522258759, -0.00034711929038167, -0.03631504625082016, 0.005789386108517647, 0.017043381929397583, -0.012440608814358711, -0.05192269757390022, -0.019169272854924202, -0.01828259602189064, -0.0005375001928769052, -0.021902017295360565, -0.07445790618658066, -0.059458132833242416, 0.0028593596071004868, -0.0017458611400797963, 0.0008498016395606101, 0.006853275466710329, -0.06388236582279205, 0.004115100484341383, 0.03202823922038078, -0.019478561356663704, 0.0049100457690656185, -0.04190763086080551, -0.04365759715437889, 0.03973643109202385, -0.04819353669881821, 0.037681832909584045, 0.025287967175245285, 0.03960295394062996, -0.004128755070269108, -0.0038814919535070658, 0.04240149259567261, 0.08414789289236069, -0.05226944759488106, 0.0468103289604187, 0.052969932556152344, -0.028705276548862457, 0.032131437212228775, -0.013654259964823723, 0.0062043555080890656, 0.026463620364665985, -0.034055422991514206, 0.006471556611359119, -0.007982010021805763, -0.019546067342162132, 0.019660089164972305, -0.0429004468023777, -0.048559438437223434, -0.0604594349861145, -0.33954527974128723, -0.015107505023479462, -0.005599892232567072, 0.01468704454600811, -0.017613915726542473, -0.07905546575784683, -0.001537045231088996, 0.017220931127667427, 0.03145277127623558, 0.03305354714393616, 0.09013684093952179, -0.026700902730226517, -0.04111596569418907, 0.013730725273489952, -0.015773819759488106, 0.05948103591799736, -0.03074103593826294, -0.003624329576268792, -0.010674201883375645, 0.03137680143117905, 0.027554215863347054, 0.009167631156742573, -0.04909934476017952, -0.07189516723155975, 0.02333367057144642, -0.029659118503332138, 0.14570562541484833, -0.0049681589007377625, 0.03577109053730965, -0.07151702046394348, 0.035497672855854034, -0.011631934903562069, -0.011791553348302841, -0.06542552262544632, 0.005027681589126587, -0.03269873559474945, -0.025991166010499, 0.0260547436773777, 0.01641913503408432, -0.01262541301548481, -0.02127818949520588, -0.025818388909101486, -0.028668947517871857, -0.03298487886786461, 0.040720585733652115, 0.006208134349435568, -0.02392999269068241, -0.009187125600874424, -0.027928609400987625, 0.07495911419391632, -0.012857921421527863, 0.009759913198649883, 0.04203424230217934, 0.012904258444905281, 0.015929965302348137, 0.01890505850315094, -0.0702805370092392, -0.030453233048319817, -0.02806711196899414, 0.006832526531070471, -0.008637437596917152, 0.009422030299901962, 0.02786659263074398, -0.0447973757982254, 0.0020155897364020348, 0.050020407885313034, -0.021831121295690536, -0.02405504696071148, 0.06352213770151138, 0.004692265298217535, -0.04976523295044899, 0.11404046416282654, 0.032689113169908524, -0.018318146467208862, 0.04010383412241936, 0.044941727072000504, 0.029281439259648323, 0.03665902838110924, 0.044709790498018265, -0.00414050929248333, -0.022185813635587692, 0.040269721299409866, 0.0634753406047821, -0.0038604906294494867, 0.003557645482942462, 0.10389745980501175, -0.013408049941062927, -0.03339880704879761, 0.017993515357375145, 0.016100428998470306, -0.000059022651839768514, 0.021268531680107117, 0.03825442120432854, -0.09245475381612778, 0.0975375771522522, -0.05106280744075775, -0.23143193125724792, 0.016577305272221565, 0.07532662898302078, 0.043219514191150665, 0.012299569323658943, 0.036388758569955826, 0.03850032389163971, -0.007478785701096058, -0.02873312681913376, 0.023527218028903008, 0.005828572437167168, 0.004630169365555048, 0.025372473523020744, -0.07689037919044495, 0.024896426126360893, -0.009394117631018162, 0.0650554671883583, 0.026946067810058594, 0.06521545350551605, -0.017858825623989105, 0.03856024518609047, -0.01641819253563881, 0.183272585272789, 0.017142081633210182, -0.019727688282728195, 0.03423051908612251, -0.012931983917951584, 0.003544812323525548, 0.04710473120212555, 0.028126325458288193, 0.004239146132022142, -0.013161230832338333, 0.07440313696861267, 0.02158120833337307, 0.026561765000224113, -0.06876428425312042, -0.04435315728187561, -0.007880578748881817, -0.022784417495131493, -0.017761431634426117, -0.026875682175159454, 0.01001330278813839, -0.034536927938461304, 0.010476198047399521, 0.04186684265732765, -0.005606515798717737, -0.017693541944026947, 0.00390285043977201, -0.0731235072016716, 0.007979827001690865, -0.014254381880164146, -0.05148781090974808, -0.0380890779197216, -0.013460823334753513, -0.001873736851848662, 0.05439288169145584, 0.016336435452103615, -0.05265948176383972, 0.0013575267512351274, 0.03269840031862259, 0.02521965093910694, -0.05214758962392807, 0.09385297447443008, -0.02390739507973194, 0.001041271141730249 ]
[ 0.04036723077297211, 0.010971675626933575, 0.0371885821223259, -0.011230170726776123, 0.049517326056957245, 0.007596243172883987, -0.0025540238711982965, -0.06311383843421936, -0.04289939999580383, -0.016211817041039467, 0.02031387947499752, 0.012139965780079365, -0.027525795623660088, -0.061098258942365646, 0.02263888344168663, 0.006857450120151043, 0.019054308533668518, -0.019580602645874023, 0.01981634832918644, -0.0009663714445196092, -0.020822560414671898, 0.017501559108495712, 0.060433607548475266, 0.020731640979647636, 0.037821460515260696, 0.01930362731218338, 0.009295238181948662, -0.03932584449648857, 0.03377395495772362, -0.09368565678596497, -0.04289548099040985, -0.04406224563717842, -0.012341556139290333, 0.008317108266055584, 0.009788558818399906, 0.050001855939626694, -0.027817387133836746, 0.032092925161123276, 0.013402340933680534, 0.05412585660815239, 0.0004053785523865372, -0.008011416532099247, -0.0018458951963111758, -0.01643064245581627, 0.013728134334087372, 0.034983329474925995, 0.01779543049633503, -0.011110668070614338, -0.012829728424549103, 0.03209886699914932, 0.009616616182029247, -0.03460683673620224, -0.04429137706756592, -0.06539634615182877, -0.01980661042034626, 0.02229619398713112, -0.04859227314591408, 0.02421986684203148, -0.0024033256340771914, 0.04720237851142883, -0.04524939879775047, 0.009894230403006077, -0.030023682862520218, -0.026996180415153503, 0.04125767946243286, 0.010398431681096554, 0.02030554972589016, -0.028606189414858818, -0.013390282168984413, 0.007541655097156763, 0.08308178931474686, 0.054382555186748505, -0.0004066208202857524, -0.030888019129633904, -0.06053159758448601, -0.01129332184791565, -0.039779119193553925, 0.022190842777490616, 0.021579379215836525, 0.01832512393593788, -0.006069529801607132, -0.0027625556103885174, 0.011644771322607994, 0.06707282364368439, -0.03564026951789856, -0.04673703759908676, -0.03245703876018524, -0.015624565072357655, 0.014507472515106201, -0.004099620506167412, -0.08132848143577576, 0.00432741641998291, 0.03471436724066734, 0.05954284220933914, -0.048816412687301636, 0.007679719012230635, 0.043624844402074814, -0.03774604573845863, -0.017661727964878082, 0.7593656182289124, 0.02000410668551922, -0.025399213656783104, 0.027723848819732666, -0.024205025285482407, -0.0005385003751143813, 0.028000030666589737, -0.03028380125761032, -0.009843933396041393, -0.04499121382832527, 0.037875015288591385, 0.04093845933675766, 0.01730460301041603, 0.013314529322087765, 0.030922025442123413, -0.04983513429760933, -0.018375584855675697, 0.024178337305784225, -0.04778211563825607, 0.04513723775744438, 0.050395667552948, 0.00694961566478014, -0.016695372760295868, 0.002766092773526907, -0.030059248208999634, -0.02891184389591217, -0.15510864555835724, -0.01932334154844284, -8.235441422831958e-33, 0.022250354290008545, -0.013687781989574432, 0.06555168330669403, -0.007088275160640478, -0.001162657281383872, 0.010938693769276142, -0.05293791741132736, -0.054495446383953094, -0.05459032952785492, -0.022183526307344437, 0.016992229968309402, 0.030356070026755333, -0.006165757309645414, 0.01105524878948927, 0.022920764982700348, 0.05240954831242561, 0.018176306039094925, 0.027156250551342964, -0.014520113356411457, -0.005728950258344412, -0.018213123083114624, 0.009014264680445194, 0.005267119966447353, 0.007258649915456772, 0.023791855201125145, 0.01885317638516426, -0.01988232135772705, 0.0365581288933754, -0.03668152913451195, -0.05544659495353699, 0.005453995428979397, -0.02484402060508728, 0.0221838541328907, -0.01603839546442032, 0.040323592722415924, -0.03137136623263359, -0.06470275670289993, -0.0017462910618633032, -0.03859975188970566, 0.034275367856025696, -0.037911538034677505, -0.03181404992938042, -0.04338478296995163, -0.05608610436320305, 0.013561687432229519, 0.017076674848794937, 0.05113927274942398, -0.03441008925437927, 0.008537033572793007, 0.04717162251472473, 0.055360861122608185, 0.016317147761583328, -0.04964093118906021, 0.002891676966100931, -0.006397038232535124, 0.002063640858978033, -0.003042652504518628, 0.03304090350866318, -0.0022753607481718063, -0.03349185362458229, 0.03270785138010979, -0.0038635653909295797, 0.029531873762607574, 0.030046287924051285, 0.003134391736239195, 0.0037011958193033934, 0.01955658197402954, 0.04776271432638168, -0.022067563608288765, -0.050225742161273956, -0.023611556738615036, -0.01422590110450983, -0.006027507595717907, 0.024304954335093498, 0.048823773860931396, -0.01142534427344799, -0.010827957652509212, -0.006077065598219633, -0.0011713020503520966, -0.0015664412640035152, 0.0039053582586348057, -0.05993559956550598, 0.011186646297574043, -0.006306979805231094, -0.011460430920124054, 0.004826163873076439, 0.03688419237732887, 0.0015746462158858776, 0.02739986591041088, 0.030343813821673393, -0.003889826126396656, 0.003720914712175727, -0.04517875984311104, -0.01858048141002655, -0.021095070987939835, 7.496838649275975e-33, -0.033149681985378265, -0.019528767094016075, 0.006818360183387995, 0.005000647157430649, -0.03525105118751526, -0.03751017525792122, 0.10849890857934952, 0.05108463019132614, 0.0042914715595543385, 0.07637250423431396, -0.013613143004477024, -0.018919754773378372, 0.040674012154340744, 0.05846506357192993, 0.058325957506895065, -0.020672986283898354, 0.0004755529516842216, -0.021625734865665436, -0.00037854010588489473, 0.005855599883943796, 0.019555022940039635, 0.008192982524633408, 0.008280600421130657, -0.0010999918449670076, -0.02747071534395218, 0.056183237582445145, -0.020595073699951172, 0.011088686995208263, -0.03115033730864525, 0.014622807502746582, -0.003820196958258748, -0.03133973106741905, 0.033381760120391846, -0.021606000140309334, 0.024637553840875626, 0.02242196351289749, 0.029091916978359222, 0.009067974053323269, 0.05854605883359909, -0.009615680202841759, -0.07624833285808563, -0.046953026205301285, 0.01980680041015148, -0.020572908222675323, -0.0264856219291687, 0.006691377609968185, 0.021656638011336327, 0.016786204650998116, -0.01691761612892151, -0.06112869828939438, 0.01872311905026436, 0.042162273079156876, -0.02583206817507744, 0.013605880551040173, 0.04839358851313591, -0.036516785621643066, -0.06245248764753342, 0.003812380600720644, 0.025149337947368622, -0.037362996488809586, -0.027330460026860237, -0.0613851472735405, -0.0011849133297801018, 0.016324413940310478, -0.018523331731557846, -0.008896834217011929, -0.03908529877662659, -0.016514142975211143, 0.0654224157333374, 0.015345406718552113, 0.0013264542212709785, 0.005703697446733713, -0.010291515849530697, 0.011899827048182487, 0.013298161327838898, 0.038933683186769485, 0.02564118802547455, 0.018268590793013573, 0.020366422832012177, -0.013796010985970497, 0.05618640407919884, 0.0030094485264271498, -0.004776310175657272, 0.0037737288512289524, 0.042932767421007156, 0.07555600255727768, -0.025507191196084023, -0.0065816668793559074, -0.0055390940979123116, -0.03306826204061508, -0.0032411948777735233, 0.025567106902599335, -0.07145194709300995, 0.03619421273469925, -0.06362909823656082, -1.2440051655460138e-8, -0.01656530424952507, 0.06340625137090683, -0.010633973404765129, 0.016009779646992683, -0.022737424820661545, -0.0037124960217624903, 0.02097494900226593, 0.025294020771980286, -0.006593002937734127, 0.021574219688773155, 0.019722795113921165, -0.02403157204389572, -0.019440628588199615, -0.00543899554759264, 0.007318166084587574, -0.02361716888844967, -0.03094889223575592, 0.027214787900447845, 0.023192567750811577, 0.049170587211847305, -0.03722922131419182, 0.04061040282249451, 0.015020575374364853, 0.0007039756746962667, 0.04216844215989113, -0.03000055067241192, 0.03206685930490494, -0.08105284720659256, 0.03538697212934494, 0.0036932146176695824, 0.022403791546821594, -0.023572109639644623, -0.030180837959051132, -0.006451400462538004, -0.02574177086353302, -0.07026798278093338, -0.01596827059984207, -0.008351460099220276, 0.0023490602616220713, -0.006569231860339642, -0.011532600037753582, 0.03365224227309227, 0.017731711268424988, -0.018803564831614494, -0.01673288457095623, -0.006900078617036343, 0.01882029138505459, -0.004369349684566259, 0.004022715613245964, 0.016926446929574013, -0.07123638689517975, -0.017770368605852127, -0.0526946596801281, 0.07261545956134796, 0.03526126965880394, -0.048910368233919144, 0.019153499975800514, -0.007173515390604734, -0.04249422252178192, 0.0004116198397241533, -0.0082577895373106, 0.022502020001411438, -0.036851659417152405, -0.027132678776979446 ]
google-maps-without-any-labelscountry-names
https://markhneedham.com/blog/2012/05/31/google-maps-without-any-labelscountry-names
false
2012-05-30 11:10:15
Haskell: Java Style Enums
[ "haskell" ]
[ "Haskell" ]
I've been playing around with http://projecteuler.net/problem=31[problem 31 of Project Euler] which is defined as follows: ____ In England the currency is made up of pound, £, and pence, p, and there are eight coins in general circulation: 1p, 2p, 5p, 10p, 20p, 50p, £1 (100p) and £2 (200p). It is possible to make £2 in the following way: 1 £1 + 150p + 220p + 15p + 12p + 31p How many different ways can £2 be made using any number of coins? ____ Having coded way too much in Java my first thought was that the coins could be represented as an Enum but I wasn't sure how to do that in Haskell. As it turns out http://stackoverflow.com/questions/6000511/better-way-to-define-an-enum-in-haskell[the question has been asked on Stack Overflow] and there's an Enum type class we can implement to achieve the same thing. In this case: [source,haskell] ---- data UKCoin = OnePence | TwoPence | FivePence | TenPence | TwentyPence | FiftyPence | OnePound | TwoPounds deriving (Eq, Show) ---- [source,haskell] ---- instance Enum UKCoin where fromEnum = fromJust . flip lookup table toEnum = fromJust . flip lookup (map swap table) table = [(OnePence, 1), (TwoPence, 2), (FivePence, 5), (TenPence, 10), (TwentyPence, 20), (FiftyPence, 50), (OnePound, 100), (TwoPounds, 200)] ---- If we want to get the monetary value of a coin we use 'fromEnum': [source,haskell] ---- > fromEnum TwoPounds 200 ---- And if we wanted to go back to the enum value we'd do this: [source,haskell] ---- > (toEnum 200) :: UKCoin TwoPounds ---- If we want to get a list of all the instances of 'UKCoin' we can just do a map over 'table': [source,haskell] ---- > let ukCoins = map fst table > ukCoins [OnePence,TwoPence,FivePence,TenPence,TwentyPence,FiftyPence,OnePound,TwoPounds] ----
null
null
[ -0.008167291060090065, -0.0013100544456392527, -0.0011060457909479737, 0.029802432283759117, 0.060201819986104965, 0.053477268666028976, 0.005176734644919634, 0.032467808574438095, 0.0047172303311526775, -0.0017913419287651777, 0.0015679814387112856, -0.018386872485280037, -0.04874511808156967, 0.03462010994553566, -0.01993143931031227, 0.041808415204286575, 0.0730145126581192, -0.00907383393496275, 0.007490189746022224, 0.008569026365876198, 0.02580529823899269, 0.0718940943479538, 0.006753469351679087, 0.009016327559947968, 0.0036327794659882784, 0.012137657031416893, 0.0073849656619131565, -0.016758108511567116, -0.048135820776224136, -0.03958776593208313, 0.049214061349630356, 0.0388040728867054, -0.010764569975435734, -0.006018958054482937, 0.02047097496688366, -0.030516965314745903, -0.011977668851613998, -0.009777997620403767, -0.007174255326390266, -0.021901028230786324, -0.034116148948669434, 0.0022622791584581137, 0.0022160254884511232, 0.011858554556965828, -0.06153090298175812, -0.032770153135061264, -0.02765798568725586, 0.007684305775910616, -0.03380899876356125, 0.005668797064572573, -0.05022202804684639, 0.030595427379012108, -0.014743377454578876, -0.010019350796937943, -0.020446620881557465, 0.0342143252491951, -0.009667018428444862, -0.05052674561738968, 0.028201770037412643, -0.04827200621366501, 0.029156586155295372, -0.004023484420031309, -0.00285521917976439, 0.00887577049434185, 0.016007116064429283, -0.04843410849571228, -0.02783273346722126, 0.04342147707939148, -0.03359055519104004, -0.03748473897576332, -0.019129006192088127, -0.015791069716215134, -0.035416945815086365, -0.024372747167944908, 0.027130328118801117, -0.05721434950828552, -0.0017248360672965646, 0.059939272701740265, 0.006568097043782473, 0.04903974384069443, -0.015177018940448761, 0.016610532999038696, 0.049393098801374435, 0.03974825143814087, 0.014718824066221714, -0.03532875329256058, -0.01244520116597414, -0.015040295198559761, -0.0300458911806345, 0.07319161295890808, 0.010647271759808064, -0.043968480080366135, 0.0012377548264339566, 0.019798610359430313, -0.008849237114191055, -0.02309235744178295, 0.03546612337231636, 0.005499221384525299, 0.026969660073518753, -0.006601602304726839, -0.0044677844271063805, -0.0629018247127533, 0.04091227427124977, -0.006165302358567715, -0.05105723813176155, 0.016765953972935677, -0.014126844704151154, -0.04012171924114227, 0.027051616460084915, 0.0001957987406058237, -0.01448063924908638, -0.014037073589861393, -0.014264746569097042, 0.022333072498440742, -0.056633494794368744, 0.05515086278319359, 0.02667950838804245, -0.022506233304739, -0.026530198752880096, 0.033194851130247116, 0.034363824874162674, 0.02290712110698223, -0.01830887980759144, 0.0835190936923027, 0.04849638044834137, 0.020925987511873245, -0.015788443386554718, 0.0721970945596695, -0.01712178625166416, -0.07889822870492935, 0.01604698970913887, 0.08362094312906265, -0.023170847445726395, -0.006442018318921328, -0.011286839842796326, -0.044579241424798965, -0.031364601105451584, -0.005431925877928734, 0.06797503679990768, 0.047985855489969254, 0.0015533312689512968, -0.013442893512547016, 0.01657077856361866, -0.001282736542634666, 0.01015525497496128, 0.018829412758350372, -0.021957790479063988, -0.025510529056191444, -0.00951000489294529, 0.012265327386558056, 0.006995517294853926, 0.007650947663933039, 0.06231134012341499, -0.009088048711419106, 0.018286703154444695, 0.06148979067802429, 0.004962229169905186, 0.022698303684592247, -0.032679442316293716, 0.017530087381601334, 0.035756323486566544, 0.003911339212208986, 0.038536325097084045, 0.05770430341362953, -0.001751515083014965, 0.005507266148924828, 0.013219164684414864, 0.06463763862848282, -0.05632754787802696, -0.003394142258912325, -0.05903558060526848, -0.049688637256622314, 0.08029908686876297, -0.060113586485385895, 0.0058526829816401005, 0.022105347365140915, 0.06870270520448685, 0.042807240039110184, 0.0635107085108757, -0.0036785330157727003, -0.08388958126306534, 0.013936632312834263, 0.016500195488333702, 0.04576743021607399, 0.02056015282869339, -0.018694110214710236, 0.04328944534063339, 0.04617937281727791, -0.005588393192738295, 0.03530401363968849, -0.04877466335892677, -0.04147908091545105, -0.02879355475306511, -0.011600828729569912, 0.06871502101421356, -0.03052615188062191, 0.00860547460615635, 0.019563930109143257, 0.020421376451849937, 0.02331981062889099, -0.016587335616350174, -0.0016304540913552046, 0.044804275035858154, -0.036433298140764236, -0.031412702053785324, 0.04573588818311691, 0.05336522310972214, 0.010265148244798183, -0.01038212701678276, -0.009720735251903534, -0.005788454785943031, -0.010411683470010757, 0.013945112936198711, -0.02071717567741871, -0.0036760526709258556, 0.009113258682191372, 0.017965370789170265, -0.02934892848134041, 0.04268471524119377, -0.03542289510369301, 0.018365882337093353, 0.047423649579286575, 0.021924130618572235, -0.012110704556107521, -0.007291856221854687, 0.1211220920085907, 0.031951263546943665, -0.05072638764977455, -0.030713343992829323, 0.028215518221259117, -0.0019168221624568105, -0.04136817902326584, 0.02508152648806572, -0.015474707819521427, 0.016403473913669586, -0.0005263860803097486, -0.06674674898386002, -0.030712690204381943, 0.04157733544707298, -0.047530628740787506, -0.008663387037813663, 0.08434457331895828, -0.04544607922434807, 0.06392581760883331, -0.022325770929455757, -0.01566253788769245, -0.012500219978392124, -0.01041498500853777, -0.06384164839982986, -0.0061349342577159405, -0.006625289563089609, 0.0003186484391335398, 0.024365907534956932, -0.021027078852057457, -0.03393465653061867, -0.031806573271751404, -0.015072428621351719, 0.036101751029491425, 0.04114827513694763, 0.06063074991106987, -0.046923160552978516, 0.05346430465579033, 0.0046119410544633865, -0.012140638194978237, -0.03624585270881653, -0.03774113953113556, -0.06204936280846596, -0.019980570301413536, 0.02307598665356636, 0.00283176451921463, 0.060830049216747284, 0.010110809467732906, 0.02202105149626732, 0.01268825028091669, 0.034294918179512024, -0.031352389603853226, 0.027300942689180374, -0.008589890785515308, -0.03184080868959427, -0.037731338292360306, -0.027887385338544846, 0.06968734413385391, -0.041266851127147675, -0.015870090574026108, 0.034212227910757065, -0.049937307834625244, 0.04588649421930313, -0.06831827759742737, -0.035180192440748215, 0.008783443830907345, 0.04540799558162689, 0.035151656717061996, -0.02152281627058983, 0.0008210098021663725, 0.055118534713983536, -0.004233781713992357, 0.026693351566791534, 0.03340872749686241, 0.01407675165683031, 0.053847264498472214, 0.0016350897494703531, 0.03353704512119293, 0.031751662492752075, 0.01682450994849205, 0.004067670553922653, -0.07490313053131104, 0.030670201405882835, -0.035644467920064926, -0.2657028138637543, 0.011810588650405407, -0.029224112629890442, -0.03376542404294014, 0.026768149808049202, 0.0003850511566270143, 0.0039067016914486885, -0.018437430262565613, -0.03810533136129379, 0.011254663579165936, -0.0031060900073498487, -0.058438051491975784, -0.04182417690753937, 0.029438011348247528, 0.04479331523180008, 0.004349910654127598, 0.01985281892120838, -0.03515705466270447, -0.014177128672599792, 0.054787784814834595, -0.020895639434456825, -0.06129758432507515, 0.006870620418339968, 0.08908580243587494, 0.00620896415784955, 0.0493537075817585, -0.0769587829709053, 0.006754311732947826, -0.0514896996319294, 0.0018443826120346785, -0.014903773553669453, -0.014283522963523865, 0.027813605964183807, -0.03695216774940491, -0.008678389713168144, -0.03002997301518917, -0.0014969328185543418, -0.02121531404554844, 0.011375750415027142, 0.034472718834877014, -0.051162462681531906, -0.03092602826654911, 0.04118047282099724, 0.029126644134521484, 0.06105722859501839, -0.022772589698433876, -0.04596420377492905, -0.018153520300984383, -0.044881001114845276, 0.07698037475347519, -0.039735764265060425, -0.02729025110602379, -0.007611848879605532, 0.0003159629995934665, -0.05103561282157898, 0.0014999191043898463, -0.035467665642499924, 0.019173596054315567, -0.048071954399347305, -0.0025552455335855484, -0.01848623715341091, -0.043265264481306076, -0.04248671606183052, -0.030380770564079285, -0.007469911128282547, -0.07667819410562515, -0.07120482623577118, 0.021090639755129814, 0.08006030321121216, 0.023730095475912094, -0.022815749049186707, -0.023607390001416206, -0.01563282124698162, -0.1001870259642601, -0.0032269852235913277, -0.013030769303441048, 0.008382349275052547, 0.019972380250692368, 0.0013597008073702455, 0.0347161628305912, -0.02767903544008732, -0.048727553337812424, 0.04182377830147743, 0.020046619698405266, 0.028834940865635872, -0.032251548022031784, -0.021542444825172424, -0.014423723332583904, -0.01799684204161167, 0.00996127538383007, 0.042807552963495255, -0.013008912093937397, -0.027823401615023613, -0.047679487615823746, 0.019478317350149155, 0.008422552607953548, 0.008847549557685852, -0.011265148408710957, -0.003252969356253743, 0.04116995632648468, 0.04123072698712349, -0.03909778967499733, 0.03894971311092377, -0.025250988081097603, -0.03665997087955475, -0.007188689894974232, -0.029698777943849564, 0.04958224669098854, 0.03968444839119911, 0.01559408474713564, -0.02331828698515892, -0.04701753705739975, 0.005718559492379427, -0.048411399126052856, -0.05728605017066002, -0.020137865096330643, 0.022956419736146927, 0.01259115245193243, 0.027117017656564713, -0.013733383268117905, -0.03307966887950897, 0.01645135134458542, 0.003260302357375622, -0.02927229180932045, -0.05311582237482071, -0.0038337053265422583, -0.05139380320906639, -0.02776867151260376, -0.0028512822464108467, 0.011400492861866951, -0.0028402828611433506, 0.041620559990406036, 0.0010126146953552961, -0.029692837968468666, 0.023175062611699104, 0.002136089839041233, -0.037166401743888855, -0.015256516635417938, -0.010056461207568645, -0.012100882828235626, 0.03911144286394119, -0.005264604464173317, 0.04976540431380272, 0.052672095596790314, 0.03415213152766228, -0.02006455697119236, 0.03346562013030052, -0.01606656424701214, -0.0005670609534718096, 0.03195512667298317, -0.00151222909335047, -0.03678189218044281, 0.022090520709753036, -0.039106495678424835, -0.012553567998111248, 0.000006224299795576371, 0.023288855329155922, -0.026840079575777054, -0.021292762830853462, -0.038758303970098495, 0.036577481776475906, -0.03562155365943909, -0.0345333106815815, -0.015363695099949837, 0.031297557055950165, 0.06796804070472717, -0.008542563766241074, 0.03980444371700287, -0.023474272340536118, 0.023808706551790237, 0.029719142243266106, 0.015184436924755573, -0.04581213742494583, 0.006243486423045397, 0.009900903329253197, -0.015871332958340645, -0.019848639145493507, 0.0000927845758269541, 0.03236563876271248, -0.018935730680823326, 0.0017834792379289865, 0.010165749117732048, 0.010232049971818924, -0.008881205692887306, 0.05209163576364517, 0.024120694026350975, -0.001315613742917776, 0.017502186819911003, -0.0016581990057602525, -0.03618205711245537, -0.03743644431233406, -0.0019182008691132069, -0.032731425017118454, 0.03627752140164375, -0.05885077640414238, -0.07096187770366669, -0.016717730090022087, 0.04986284673213959, 0.03020179457962513, 0.008931325748562813, 0.037078607827425, -0.029257096350193024, -0.020177340134978294, 0.007375552784651518, 0.08098800480365753, -0.06544613838195801, 0.027485854923725128, -0.0058882636949419975, 0.010544807650148869, 0.024667169898748398, 0.016868241131305695, -0.053779199719429016, -0.02410658821463585, 0.004733654670417309, 0.013373367488384247, -0.026729177683591843, -0.024678610265254974, -0.030921125784516335, 0.006579222157597542, -0.02743465080857277, 0.0025794031098484993, 0.02179829031229019, -0.01689971797168255, -0.032302338629961014, -0.007112820167094469, -0.03641865402460098, -0.028457356616854668, -0.007820340804755688, 0.0475170873105526, -0.0055016325786709785, 0.014778007753193378, -0.05079571157693863, 0.017074543982744217, 0.017492936924099922, -0.0002897507802117616, 0.005314715206623077, -0.0303102545440197, -0.020739220082759857, -0.024237308651208878, 0.0551353320479393, -0.007167745381593704, -0.01524058636277914, -0.011307905428111553, -0.004938590805977583, -0.037527453154325485, 0.031398408114910126, 0.031535468995571136, -0.012591925449669361, 0.009614805690944195, 0.05766277015209198, -0.015887441113591194, 0.003118860302492976, -0.0025621382519602776, -0.00969121977686882, 0.051523637026548386, -0.03332289680838585, -0.006701443810015917, -0.0006075230776332319, -0.05073123425245285, 0.009755718521773815, 0.00042062383727170527, 0.009789988398551941, -0.05491257458925247, 0.007321018259972334, 0.02809079736471176, 0.040853843092918396, 0.023165801540017128, -0.02805408649146557, 0.023614713922142982, -0.0388130359351635, 0.009164679795503616, -0.10012791305780411, -0.0038556167855858803, 0.011075888760387897, 0.015121121890842915, -0.00956680253148079, 0.0128866508603096, -0.05685098469257355, 0.02060970664024353, -0.06734924018383026, -0.02129216119647026, 0.05125455930829048, 0.01893225498497486, 0.03269124776124954, 0.04481784999370575, -0.04310433566570282, -0.006495490670204163, 0.012652195058763027, -0.022449839860200882, -0.026935908943414688, -0.014879033900797367, 0.044023383408784866, 0.023004768416285515, 0.03460507467389107, -0.0225265733897686, 0.03723243251442909, 0.05779784545302391, 0.022362342104315758, 0.022444061934947968, 0.05158123001456261, -0.021875999867916107, 0.05567461997270584, 0.012442952953279018, 0.012675153091549873, -0.008569699712097645, 0.02758135087788105, -0.034228648990392685, -0.05733398348093033, 0.019449548795819283, -0.03237525001168251, -0.029794346541166306, -0.058766596019268036, 0.059726156294345856, 0.015584765933454037, -0.011409321799874306, -0.07273473590612411, 0.04393836110830307, -0.04288297891616821, -0.022936131805181503, 0.011430040001869202, -0.013869994319975376, -0.03581517934799194, 0.057125963270664215, 0.008857055567204952, 0.014035504311323166, 0.051101457327604294, 0.008778432384133339, -0.0159087423235178, 0.0030414981301873922, 0.10729984194040298, 0.05919232591986656, 0.05179807171225548, -0.0019508486147969961, 0.06343439221382141, -0.03207023814320564, -0.04444503411650658, 0.009660010226070881, -0.015685340389609337, -0.016930725425481796, -0.019063569605350494, 0.0007348849903792143, 0.04002385586500168, -0.02967330627143383, 0.06387079507112503, -0.008924652822315693, -0.016339188441634178, 0.022297194227576256, -0.000379791745217517, 0.030269330367445946, 0.07783974707126617, 0.05010285973548889, 0.03630121797323227, -0.014407377690076828, -0.04287080466747284, 0.029464302584528923, -0.007815232500433922, -0.03163696825504303, 0.003245122032240033, -0.023346982896327972, 0.021367134526371956, 0.033304668962955475, 0.03276142477989197, 0.07582192122936249, -0.025169439613819122, -0.020282961428165436, 0.010428360663354397, -0.0040656644850969315, 0.013908334076404572, -0.0005395609186962247, -0.006817853543907404, 0.0010282048024237156, -0.016303682699799538, -0.010402344167232513, -0.005891459062695503, -0.016648078337311745, -0.04908496513962746, 0.015797972679138184, -0.008112507872283459, 0.03152446821331978, 0.013992242515087128, -0.014866743236780167, -0.06284305453300476, -0.07139578461647034, -0.062343817204236984, -0.0414234921336174, -0.08837661147117615, 0.02915414609014988, 0.010623442940413952, -0.05113787576556206, -0.031769704073667526, -0.02455103024840355, -0.01231371983885765, -0.0586424395442009, -0.00031787899206392467, -0.0729786679148674, -0.06862533837556839, 0.05078219994902611, 0.00441968347877264, -0.0059244148433208466, 0.02582942508161068, 0.06739673018455505, -0.026289567351341248, -0.00009427394979866222, -0.02054463140666485, 0.0028038450982421637, 0.038358792662620544, 0.04453907161951065, 0.026270557194948196, -0.08635958284139633, 0.024982446804642677, 0.053596433252096176, -0.01658659614622593, -0.06633707880973816, -0.007763316854834557, -0.015122465789318085, -0.04121602699160576, 0.04606185108423233, 0.016527002677321434, 0.0008354356978088617, -0.035550810396671295, -0.0039003544952720404, 0.011756264604628086, 0.008585101924836636, 0.04425140097737312, -0.0414099395275116, 0.09928947687149048, 0.010298768989741802, -0.02431364543735981, -0.042650073766708374, 0.009493183344602585, -0.05690253525972366, 0.00039872253546491265, -0.034718044102191925, -0.040549565106630325, -0.018029294908046722, -0.0696595087647438, -0.0004532478633336723, -0.005432984791696072, -0.06931763142347336, -0.012616865336894989, 0.030366133898496628, 0.04337827116250992, -0.03394146263599396, 0.03315595164895058, -0.019695637747645378, 0.04089338704943657, -0.00171073863748461, -0.01631910912692547, -0.022870270535349846, 0.04556594043970108, 0.012290377169847488, 0.0019450716208666563, 0.030279703438282013, -0.04343019053339958, 0.011055191047489643, -0.014760518446564674, 0.024639969691634178, 0.03835955262184143, 0.01601341925561428, 0.034895434975624084 ]
[ -0.07889950275421143, -0.0323188491165638, -0.055571261793375015, -0.036719370633363724, 0.012654982507228851, -0.03822943940758705, -0.013618518598377705, 0.01927756704390049, 0.005820452701300383, -0.011966070160269737, -0.0069596185348927975, -0.0913623496890068, -0.0006959082675166428, -0.028696956112980843, 0.07837606966495514, -0.022126322612166405, -0.052613288164138794, -0.09110123664140701, -0.05924012511968613, 0.06296493113040924, 0.06088857352733612, -0.056236740201711655, -0.04040289297699928, -0.0596090629696846, 0.05421917513012886, 0.03873928636312485, 0.05234473943710327, -0.03709520772099495, 0.018551791086792946, -0.2254784107208252, 0.037067241966724396, -0.004001137800514698, 0.02190238982439041, -0.03745651617646217, 0.016569899395108223, 0.023886781185865402, 0.015697717666625977, 0.010244169272482395, 0.00453242938965559, 0.057125452905893326, 0.02215188927948475, 0.03547479584813118, -0.018863970413804054, -0.044665172696113586, 0.05587026849389076, 0.020518921315670013, -0.036382466554641724, -0.007432710379362106, 0.008674201555550098, 0.03433094918727875, -0.008426417596638203, 0.033452458679676056, 0.011489280499517918, -0.011396806687116623, -0.007979181595146656, 0.02424447238445282, 0.026654332876205444, 0.1016470193862915, 0.008432847447693348, 0.0067324028350412846, 0.005355799105018377, -0.010580857284367085, -0.1231045350432396, 0.09349440038204193, -0.0016276051755994558, 0.04858752340078354, 0.0006632310687564313, -0.016311854124069214, -0.04666811227798462, 0.08081578463315964, 0.03631189838051796, -0.04301789030432701, -0.02536883018910885, 0.04762062057852745, 0.004568898119032383, -0.0246641393750906, -0.004593362100422382, 0.012240069918334484, 0.025004135444760323, -0.010323774069547653, -0.05022461712360382, -0.0006607131217606366, -0.02243989333510399, -0.005895351525396109, -0.012625130824744701, -0.030121464282274246, -0.031795743852853775, 0.059557244181632996, 0.014427867718040943, -0.015241466462612152, 0.03486054018139839, 0.014585715718567371, -0.018835198134183884, 0.03069302625954151, -0.03987675532698631, -0.0019262487767264247, 0.008327625691890717, 0.024983884766697884, -0.0398271270096302, 0.39328786730766296, 0.031009122729301453, -0.002087568398565054, 0.04417940229177475, -0.00043590617133304477, 0.023875484243035316, -0.012582920491695404, -0.017888439819216728, -0.0360347144305706, -0.0008231139509007335, -0.05329304561018944, -0.012589652091264725, -0.009401225484907627, 0.06429721415042877, -0.07695135474205017, -0.04438377916812897, -0.026370657607913017, 0.015017458237707615, -0.01171627826988697, 0.014517989940941334, 0.032060302793979645, 0.019436558708548546, 0.03442525118589401, -0.00899075623601675, -0.017904363572597504, -0.04878641664981842, 0.010754815302789211, 0.017374461516737938, 0.04189251735806465, -0.01921474002301693, 0.0663062185049057, 0.03898334503173828, -0.059164855629205704, -0.06438175588846207, -0.01166352815926075, 0.003364717122167349, -0.0015066077467054129, 0.04611660912632942, -0.010011189617216587, 0.04089741036295891, 0.03694888576865196, -0.015132403001189232, -0.037221942096948624, 0.004991821479052305, -0.02229984663426876, -0.02504606358706951, 0.080320343375206, 0.02736164629459381, -0.04300887882709503, -0.002657740144059062, -0.041150886565446854, -0.0266360305249691, 0.005377160385251045, -0.002119967248290777, -0.07096327096223831, 0.01729005016386509, 0.037732355296611786, 0.09088147431612015, -0.009041471406817436, -0.045123182237148285, 0.003621840849518776, -0.01737765595316887, -0.027758866548538208, -0.06235112249851227, 0.08090312033891678, 0.02996015176177025, -0.10128594934940338, -0.03018012084066868, -0.01565418392419815, 0.010421376675367355, -0.1279483139514923, 0.0026346694212406874, 0.0523093044757843, -0.05495421588420868, 0.029408156871795654, 0.11262843757867813, -0.006393973715603352, -0.0165400430560112, -0.007897031493484974, 0.028011472895741463, 0.026690997183322906, -0.024170279502868652, 0.0015762721886858344, -0.05604422092437744, -0.015308886766433716, -0.055718254297971725, -0.05136604979634285, -0.05296725034713745, -0.00047694784007035196, -0.027901289984583855, -0.004805393051356077, 0.013783037662506104, 0.03642226383090019, -0.09877938777208328, 0.07422875612974167, -0.027553776279091835, -0.03078584186732769, -0.011517679318785667, 0.020813992246985435, -0.0158151313662529, 0.03302418813109398, 0.007560196332633495, 0.03763408958911896, -0.02410503476858139, 0.04294343665242195, -0.04724671319127083, 0.02624472975730896, 0.08084934949874878, -0.04414743557572365, 0.08613751083612442, 0.028609590604901314, -0.00506270956248045, -0.004273571539670229, -0.026315972208976746, 0.006811309605836868, -0.007777790538966656, -0.01482646819204092, 0.032551608979701996, -0.015582533553242683, 0.026108790189027786, -0.010392551310360432, -0.009607555344700813, -0.09086361527442932, -0.036766115576028824, -0.3677853047847748, -0.06403135508298874, -0.0064567388035357, -0.0091299619525671, 0.0699668824672699, -0.06647459417581558, 0.013038345612585545, -0.04511813074350357, -0.02738070860505104, 0.0401255339384079, 0.06033433601260185, -0.01904142089188099, -0.02394178695976734, -0.0731860101222992, -0.024648722261190414, 0.026530031114816666, -0.032407429069280624, -0.03802487254142761, 0.005767595022916794, 0.07570035010576248, -0.02159755304455757, -0.013954825699329376, -0.029437122866511345, -0.04372182488441467, -0.018046129494905472, -0.036446984857320786, 0.13225220143795013, -0.028779659420251846, 0.018020352348685265, -0.032392892986536026, 0.03205877169966698, 0.005606228485703468, 0.00026878115022554994, -0.04018207639455795, 0.00705111725255847, -0.029971996322274208, -0.009944421239197254, 0.016336865723133087, 0.009211419150233269, -0.017685672268271446, -0.05059386417269707, 0.00025623402325436473, -0.053455524146556854, -0.02125868946313858, -0.007256323006004095, 0.03522829711437225, -0.010333294048905373, -0.051747534424066544, 0.02558419480919838, 0.07717760652303696, 0.031013913452625275, 0.04609599709510803, 0.01844201050698757, 0.015406224876642227, -0.009903288446366787, -0.02242661453783512, -0.026050768792629242, -0.02050856500864029, 0.024621635675430298, 0.023080917075276375, 0.0033339110668748617, 0.03365055099129677, 0.05417703464627266, 0.00450562359765172, 0.007039883639663458, 0.008633596822619438, -0.0024464812595397234, -0.015193060040473938, 0.0228219386190176, -0.030327141284942627, 0.01822807267308235, 0.10610257089138031, 0.0009605733212083578, -0.0229998379945755, 0.02027171477675438, 0.06780341267585754, -0.000488060963107273, 0.07180836796760559, 0.035944391041994095, 0.03145264834165573, 0.0013124955585226417, 0.000023475544367101975, 0.03425871953368187, 0.0021993282716721296, -0.020712796598672867, 0.05098094046115875, -0.0019542521331459284, 0.015606277622282505, 0.03692404553294182, 0.005361103918403387, -0.04730391129851341, 0.00812478642910719, -0.017989780753850937, -0.0008975195814855397, 0.00936038512736559, 0.017456110566854477, -0.2405112087726593, 0.030067117884755135, 0.030463365837931633, 0.04556569457054138, 0.028800535947084427, 0.024090010672807693, 0.026202451437711716, -0.017776886001229286, -0.029573136940598488, -0.019259149208664894, 0.040943343192338943, 0.03846573084592819, 0.03564339876174927, -0.017952805384993553, 0.036162227392196655, -0.03626242280006409, 0.033214159309864044, -0.03509585186839104, -0.006949952803552151, 0.030717935413122177, 0.060789261013269424, 0.004222842399030924, 0.19192713499069214, 0.0187554769217968, 0.011780556291341782, -0.00766615429893136, -0.0017315304139629006, 0.04121129587292671, 0.08923328667879105, 0.0220397487282753, 0.00039815917261876166, 0.004316492471843958, 0.028615590184926987, -0.028440309688448906, 0.017014019191265106, -0.0328604057431221, -0.04797493666410446, 0.017834531143307686, 0.015039186924695969, -0.0023802390787750483, -0.02205703966319561, 0.030482761561870575, -0.04709525406360626, 0.00005153860547579825, 0.06768887490034103, 0.02165685035288334, 0.0014502413105219603, -0.06209978833794594, -0.015954941511154175, -0.015945209190249443, -0.019050098955631256, -0.019282305613160133, 0.0017450365703552961, -0.0009475179249420762, 0.009941481053829193, 0.06389043480157852, 0.0024706318508833647, -0.028510302305221558, 0.002678463701158762, 0.034899648278951645, -0.04208218678832054, -0.0040093399584293365, 0.06062646582722664, 0.00530664250254631, 0.018941979855298996 ]
[ 0.02101168967783451, 0.028332818299531937, -0.009870786219835281, -0.019104352220892906, -0.020800860598683357, -0.03786075487732887, 0.03356720507144928, -0.0019817424472421408, -0.018405647948384285, 0.009973770938813686, -0.016045231372117996, -0.0475936122238636, 0.01579912379384041, -0.030762242153286934, 0.050290852785110474, -0.01838688552379608, 0.0021608974784612656, -0.005609252955764532, 0.012751970440149307, 0.003629158716648817, 0.010211757384240627, -0.03008469007909298, -0.008357856422662735, 0.01604536361992359, 0.008618367835879326, 0.09355134516954422, 0.007562418468296528, 0.00526141282171011, -0.0006497487775050104, -0.10808870196342468, -0.03923949971795082, -0.01341889426112175, -0.0044023715890944, -0.017552075907588005, -0.015070991590619087, -0.019564609974622726, -0.0077876257710158825, 0.05021558329463005, 0.0021154573187232018, -0.02977561578154564, -0.05973544716835022, -0.04955599457025528, 0.001002255012281239, -0.031089024618268013, 0.02319159545004368, 0.008082414045929909, 0.024915313348174095, 0.019721010699868202, -0.0006344796856865287, 0.0020310499239712954, 0.06033569574356079, 0.005050627049058676, 0.0168586615473032, -0.021928703412413597, 0.022997867316007614, -0.032388877123594284, -0.02438325248658657, -0.0062841568142175674, 0.0006901118322275579, -0.024278683587908745, 0.003641462652012706, 0.06227026879787445, -0.050462398678064346, -0.0032779478933662176, 0.004341983702033758, -0.004582960624247789, 0.014291968196630478, -0.0327688530087471, -0.057853344827890396, -0.011777497828006744, 0.04047501087188721, -0.05295250564813614, -0.021779630333185196, -0.03425934910774231, -0.007510497700423002, 0.0039423988200724125, 0.07085190713405609, -0.04677089303731918, -0.0328763984143734, -0.02579035796225071, -0.014695472083985806, 0.010878389701247215, 0.05154593661427498, 0.010778102092444897, 0.03995145484805107, -0.06407178193330765, 0.011376050300896168, 0.014938177540898323, 0.035214249044656754, -0.019528202712535858, -0.01039586029946804, 0.012279992923140526, 0.02025003172457218, 0.03792603313922882, -0.03158605098724365, -0.007926927879452705, 0.007858894765377045, 0.023114677518606186, -0.010782256722450256, 0.7820320129394531, 0.028871003538370132, 0.05105709284543991, -0.00126539112534374, 0.022405218333005905, 0.01028898824006319, 0.0055385068990290165, 0.0017359860939905047, 0.029773635789752007, 0.050792306661605835, -0.08212894946336746, 0.03142102062702179, -0.004831126891076565, 0.031157441437244415, -0.0034781047143042088, -0.028063545003533363, 0.013043607585132122, -0.03562092036008835, -0.018192557618021965, -0.012927459552884102, 0.022151414304971695, 0.06931152194738388, 0.02676582708954811, -0.03977746516466141, 0.004941258113831282, 0.005103197880089283, -0.1535719484090805, -0.016010738909244537, -6.246087680746106e-33, -0.0463731475174427, -0.03344699740409851, 0.015405693091452122, 0.009782977402210236, 0.030073802918195724, 0.07403997331857681, 0.023256316781044006, 0.04369005933403969, -0.021955205127596855, -0.011779611930251122, 0.019843487069010735, 0.009701961651444435, 0.0031537513714283705, 0.005456141661852598, 0.01170768029987812, -0.015815531834959984, -0.017428960651159286, 0.028688859194517136, 0.03238413855433464, 0.013252372853457928, 0.0174003466963768, 0.0069953678175807, 0.031508833169937134, -0.016906579956412315, -0.011083445511758327, 0.048705410212278366, -0.0034749021288007498, -0.0350215919315815, 0.07002586126327515, -0.025827744975686073, 0.008795835077762604, 0.0005857459618709981, -0.01419935841113329, -0.04292375221848488, -0.028853699564933777, -0.03365950658917427, 0.033743131905794144, 0.026782458648085594, -0.01841595582664013, -0.047920774668455124, -0.019407154992222786, 0.04083146154880524, -0.008427301421761513, -0.010783446952700615, -0.008851512335240841, 0.017594248056411743, 0.07750045508146286, 0.05052144452929497, 0.0172199048101902, -0.02372204139828682, -0.011596716940402985, -0.02256786823272705, -0.03972039371728897, -0.003962203394621611, 0.0011047420557588339, -0.03376535326242447, 0.009991290047764778, 0.042521290481090546, -0.033160045742988586, 0.03808846324682236, 0.016842057928442955, 0.05136147513985634, -0.011342886835336685, 0.004745408892631531, -0.061397094279527664, 0.048809003084897995, 0.0011701518669724464, -0.031360745429992676, -0.04061766341328621, 0.022104717791080475, -0.06514143943786621, 0.055422861129045486, 0.008410402573645115, 0.0027365682180970907, 0.028150608763098717, -0.02583542838692665, -0.008744175545871258, -0.011368423700332642, -0.0340782031416893, 0.03861080855131149, -0.008228076621890068, -0.002944129053503275, 0.024062547832727432, -0.022315707057714462, -0.02390681765973568, 0.001961102709174156, 0.0011416393099352717, 0.02965709939599037, 0.009387821890413761, -0.023391038179397583, 0.042102519422769547, -0.0448388010263443, -0.0026223505847156048, -0.05387728661298752, -0.012819469906389713, 5.9660764775145906e-33, -0.0783529281616211, -0.019506804645061493, -0.015429673716425896, 0.019880391657352448, 0.009476039558649063, 0.01616177149116993, 0.045403506606817245, -0.006479744799435139, -0.004622188862413168, 0.03357238322496414, 0.0031259211245924234, 0.005989179015159607, -0.007170167285948992, 0.04893096536397934, 0.052507661283016205, -0.05601584538817406, -0.005211641546338797, 0.04937128350138664, 0.017117207869887352, -0.006074664182960987, 0.004295835737138987, -0.011899080127477646, 0.010742496699094772, -0.0028024010825902224, 0.005361876450479031, 0.05084596574306488, -0.05127250403165817, -0.02887280099093914, -0.003943914547562599, 0.012684903107583523, -0.0010119900107383728, 0.0046129412949085236, -0.010275615379214287, -0.005638292990624905, -0.031057240441441536, 0.026182878762483597, 0.0018480679718777537, -0.051455117762088776, 0.004709659144282341, 0.022931132465600967, -0.04191124439239502, -0.05252537503838539, -0.0015636642929166555, 0.01779496669769287, 0.0032026537228375673, -0.0295272096991539, -0.011823267675936222, 0.002025244291871786, 0.016814159229397774, 0.02893385849893093, 0.048963762819767, -0.013258411549031734, -0.01956292614340782, -0.017620686441659927, -0.01722182147204876, -0.004424425773322582, -0.0497695691883564, -0.008010207675397396, -0.001676747458986938, -0.04825727641582489, -0.023345185443758965, 0.04639501869678497, 0.018856018781661987, 0.03295229747891426, -0.026209622621536255, 0.016752086579799652, -0.020671676844358444, -0.009232833981513977, 0.011681635864078999, 0.0059479097835719585, -0.07025163620710373, -0.011892419308423996, 0.012500947341322899, 0.026955926790833473, 0.008968643844127655, 0.0476650632917881, -0.019651474431157112, 0.005934450775384903, 0.07916884869337082, 0.005633803550153971, 0.0029445020481944084, -0.02061896212399006, 0.03597833961248398, -0.03027426451444626, 0.013755074702203274, -0.013971230015158653, -0.0017986469902098179, 0.0019408761290833354, 0.0020427571143954992, -0.01915554329752922, -0.0008571253856644034, -0.039505038410425186, 0.024210507050156593, 0.015235201455652714, 0.03280263394117355, -1.2024788276221443e-8, -0.02762877196073532, -0.06137675419449806, -0.02558494359254837, 0.026405859738588333, 0.051464617252349854, 0.0006162186618894339, -0.003943745046854019, -0.01531006395816803, -0.00012552599946502596, -0.01690044067800045, 0.03232177346944809, 0.03281872719526291, -0.001577190705575049, -0.012564478442072868, -0.0006007197080180049, -0.02316470630466938, 0.04341365024447441, -0.0416228361427784, 0.01737767830491066, 0.0028127338737249374, 0.02083423361182213, 0.027287298813462257, -0.004016384948045015, -0.026053836569190025, 0.012405981309711933, -0.05464722216129303, 0.04081903025507927, -0.046320363879203796, 0.010583099909126759, -0.01655120775103569, -0.002965702675282955, -0.05783756822347641, -0.02628660947084427, 0.02464146725833416, 0.00911981612443924, -0.026247208938002586, -0.03050067089498043, 0.07636604458093643, -0.0015623639337718487, 0.008255000226199627, -0.04401448741555214, -0.0502505749464035, -0.0640171691775322, -0.02190263755619526, 0.004627739079296589, -0.011501994915306568, -0.054733313620090485, 0.006854942999780178, -0.005933431908488274, -0.09828262776136398, -0.01182703860104084, -0.019354095682501793, 0.06555978953838348, 0.04970787838101387, 0.051306210458278656, 0.025250259786844254, -0.011225185357034206, -0.057859186083078384, 0.003892285516485572, 0.005750968586653471, -0.012152198702096939, 0.019812511280179024, 0.0014428100548684597, -0.027327032759785652 ]
haskell-java-style-enums
https://markhneedham.com/blog/2012/05/30/haskell-java-style-enums
false
2012-05-30 12:08:25
Haskell: Using type classes to generify Project Euler #31
[ "haskell" ]
[ "Haskell" ]
As I mentioned in my previous post I've been working on http://www.markhneedham.com/blog/2012/05/30/haskell-java-style-enums/[Project Euler #31] and initially wasn't sure how to write the algorithm. I came across http://stackoverflow.com/questions/1106929/find-all-combinations-of-coins-when-given-some-dollar-value[a post on StackOverflow which explained it in more detail] but unfortunately the example used US coins rather than UK ones like in the Project Euler problem. To start with I created two versions of the function - one for US coins and one for UK coins: [source,haskell] ---- combinations :: Int -> [USCoin] -> [USCoin] -> [[USCoin]] combinations 0 current _ = [current] combinations _ current [] = [] combinations total p (c:cs) = concatMap (\ times -> combinations (total - (times * fromEnum c)) (p ++ replicate times c) cs) [0,1..(total `div` fromEnum c)] ---- [source,haskell] ---- combinationsUK :: Int -> [UKCoin] -> [UKCoin] -> [[UKCoin]] combinationsUK 0 current _ = [current] combinationsUK _ current [] = [] combinationsUK total p (c:cs) = concatMap (\ times -> combinationsUK (total - (times * fromEnum c)) (p ++ replicate times c) cs) [0,1..(total `div` fromEnum c)] ---- As we can see the only difference between the two functions is the type being passed around and they are almost identical as well: [source,haskell] ---- data USCoin = Quarter | Dime | Nickel | Penny deriving (Eq, Show) ---- [source,haskell] ---- instance Enum USCoin where fromEnum = fromJust . flip lookup usTable toEnum = fromJust . flip lookup (map swap usTable) usTable = [(Quarter, 25), (Dime, 10), (Nickel, 5), (Penny, 1)] ---- [source,haskell] ---- data UKCoin = OnePence | TwoPence | FivePence | TenPence | TwentyPence | FiftyPence | OnePound | TwoPounds deriving (Eq, Show) ---- [source,haskell] ---- instance Enum UKCoin where fromEnum = fromJust . flip lookup ukTable toEnum = fromJust . flip lookup (map swap ukTable) ukTable = [(OnePence, 1), (TwoPence, 2), (FivePence, 5), (TenPence, 10), (TwentyPence, 20), (FiftyPence, 50), (OnePound, 100), (TwoPounds, 200)] ---- We can run those two functions like this: [source,haskell] ---- > length $ combinations 200 [] (reverse $ map fst usTable) 1463 > length $ combinationsUK 200 [] (reverse $ map fst ukTable) 73682 ---- After spending a lot of the past week reading about type classes I figured we could probably make use of one here so I created a 'Coin' type class: [source,haskell] ---- class Coin a where value :: a -> Int ---- And then implemented that with 'USCoin' and 'UKCoin': [source,haskell] ---- instance Coin USCoin where value coin = fromEnum coin instance Coin UKCoin where value coin = fromEnum coin ---- Then we need to make some small adjustments to 'combinations' to make it work with 'Coin' instead: [source,haskell] ---- combinations :: (Coin a) => Int -> [a] -> [a] -> [[a]] combinations 0 current _ = [current] combinations _ current [] = [] combinations total p (c:cs) = concatMap (\ times -> combinations (total - (times * value c)) (p ++ replicate times c) cs) [0,1..(total `div` value c)] ---- Instead of calling 'fromEnum' we call 'value' and the function can now be used with any types which implement the Coin type class should we wish to do that. We can actually go even further and get rid of our Enum type class instances and just put that code onto the Coin type class: [source,haskell] ---- class Eq a => Coin a where table :: [(a, Int)] value :: a -> Int value = fromJust . flip lookup table ---- [source,haskell] ---- instance Coin USCoin where table = [(Quarter, 25), (Dime, 10), (Nickel, 5), (Penny, 1)] instance Coin UKCoin where table = [(OnePence, 1), (TwoPence, 2), (FivePence, 5), (TenPence, 10), (TwentyPence, 20), (FiftyPence, 50), (OnePound, 100), (TwoPounds, 200)] ---- We can then call the function with either of those coins: [source,haskell] ---- > length $ combinations 200 [] (reverse $ map fst (table :: [(USCoin, Int)])) 1463 > length $ combinations 200 [] (reverse $ map fst (table :: [(UKCoin, Int)])) 73682 ----
null
null
[ -0.005769646260887384, 0.01608365587890148, -0.017232589423656464, 0.04479062929749489, 0.06780559569597244, 0.05292182415723801, 0.003916351590305567, 0.0199092086404562, 0.010165645740926266, -0.012936843559145927, 0.02381710708141327, -0.014627240598201752, -0.05653172358870506, 0.04560288041830063, -0.0007253677467815578, 0.04798226058483124, 0.057778775691986084, -0.015339403413236141, -0.017527053132653236, 0.021503128111362457, 0.009513696655631065, 0.07659774273633957, 0.0010015126317739487, 0.003489103866741061, -0.005799504462629557, 0.02387901581823826, -0.0027175338473170996, -0.02927284687757492, -0.04397723451256752, -0.01990686170756817, 0.043987542390823364, 0.023780474439263344, -0.008306915871798992, -0.012267463840544224, 0.015226054936647415, -0.035049598664045334, -0.014134061522781849, -0.023377463221549988, -0.006799370516091585, -0.004698499571532011, -0.03649769350886345, -0.01216257456690073, -0.009709673002362251, 0.011200645938515663, -0.07090084999799728, -0.020182013511657715, -0.031177107244729996, -0.005268799606710672, -0.0352281779050827, -0.014197551645338535, -0.046397797763347626, 0.005891074892133474, 0.005534798372536898, 0.0012479756260290742, -0.021595556288957596, 0.05637840926647186, 0.016466209664940834, -0.04850155487656593, 0.037024009972810745, -0.0383143313229084, 0.01654706336557865, 0.007805200293660164, 0.009543017484247684, 0.022672446444630623, -0.0026591443456709385, -0.030774559825658798, -0.004059714265167713, 0.05045580491423607, -0.03641904518008232, -0.009298142045736313, -0.024771280586719513, -0.0057648299261927605, -0.0037644170224666595, -0.028385328128933907, 0.012913146987557411, -0.04170466586947441, -0.010736091062426567, 0.0776301845908165, 0.006753269117325544, 0.029305048286914825, -0.011345588602125645, 0.022004546597599983, 0.048378102481365204, 0.024345101788640022, 0.01657060533761978, -0.03651367127895355, -0.040142472833395004, 0.0035948941949754953, -0.028497835621237755, 0.0801539346575737, -0.0055349743925035, -0.0526268295943737, -0.005081919487565756, 0.014138472266495228, 0.009757748804986477, -0.02527293562889099, 0.026537876576185226, 0.01051205676048994, 0.01179279200732708, -0.013799521140754223, -0.020984193310141563, -0.058763645589351654, 0.025798723101615906, -0.0058221034705638885, -0.05399090424180031, 0.008107420988380909, -0.016016189008951187, -0.039744965732097626, 0.027227280661463737, 0.0041999719105660915, -0.015108087100088596, -0.006520883645862341, -0.0014614578103646636, 0.022340448573231697, -0.07064846903085709, 0.0641685277223587, 0.00755695067346096, -0.019757434725761414, -0.01530073955655098, 0.03186465799808502, 0.04121750593185425, 0.02404019795358181, -0.027631424367427826, 0.07831531763076782, 0.06186693161725998, 0.05914971977472305, 0.019163919612765312, 0.07566802948713303, -0.024000411853194237, -0.08262404054403305, -0.001342538627795875, 0.06459419429302216, -0.031096557155251503, -0.0003764594148378819, -0.010589306242763996, -0.04769081249833107, -0.06313081830739975, 0.007134948391467333, 0.06673754006624222, 0.05256422981619835, 0.013260964304208755, -0.03039424680173397, 0.026805080473423004, -0.004026944749057293, 0.00007642105629201978, 0.017519736662507057, -0.020429100841283798, -0.009672103449702263, -0.01198873482644558, 0.025731120258569717, 0.01254148781299591, 0.0048800986260175705, 0.04608669504523277, -0.024146005511283875, 0.01256636530160904, 0.06818489730358124, 0.003743792651221156, 0.02458374761044979, -0.03383283689618111, 0.02458128333091736, 0.02503249980509281, 0.023120470345020294, 0.027384895831346512, 0.04058315232396126, -0.013949023559689522, 0.00743847293779254, 0.01867649331688881, 0.0779208391904831, -0.04360668361186981, -0.013272956945002079, -0.05088583007454872, -0.02219725027680397, 0.05715978890657425, -0.034387264400720596, 0.020994698628783226, 0.0019408171065151691, 0.05136609077453613, 0.02861926518380642, 0.07045291364192963, -0.009768446907401085, -0.0788070484995842, 0.008535308763384819, 0.02589919976890087, 0.03588969632983208, 0.006018669810146093, -0.015568151138722897, 0.042362280189991, 0.04190808907151222, 0.015599874779582024, 0.023441633209586143, -0.04976033419370651, -0.0507633350789547, -0.02629244513809681, -0.015428523533046246, 0.07760926336050034, -0.008288029581308365, -0.009483631700277328, 0.010734930634498596, 0.011360474862158298, 0.014104357920587063, 0.007005510851740837, -0.02261626347899437, 0.029507720842957497, -0.02868075668811798, -0.038993749767541885, 0.05618660897016525, 0.04715685918927193, -0.021970665082335472, -0.024953654035925865, -0.02265048585832119, -0.0012041189474985003, -0.006079322192817926, 0.01477578654885292, -0.011928378604352474, 0.0114090321585536, 0.04145115241408348, 0.026967652142047882, -0.018443847075104713, 0.048832330852746964, -0.03808974847197533, 0.054324306547641754, 0.0381750725209713, 0.025138724595308304, -0.010398373007774353, 0.024008169770240784, 0.13330122828483582, 0.04656209424138069, -0.07239636033773422, -0.03067251294851303, 0.052961863577365875, -0.004965124186128378, -0.04224006086587906, 0.014035593718290329, -0.0008805407560430467, 0.004855351056903601, -0.005515187978744507, -0.04092505946755409, -0.028374826535582542, 0.0425308495759964, -0.03463046997785568, -0.015706973150372505, 0.08505865931510925, -0.045937053859233856, 0.06738695502281189, -0.02018006704747677, -0.02528425119817257, -0.0339525081217289, -0.01161094382405281, -0.057641394436359406, 0.008000139147043228, -0.002109205350279808, 0.0013778975699096918, 0.06429199129343033, -0.023834479972720146, -0.028420085087418556, -0.018078282475471497, -0.016524598002433777, 0.02979050762951374, 0.049403075128793716, 0.04520948976278305, -0.037601593881845474, 0.059280529618263245, -0.00443195179104805, -0.021416405215859413, -0.025492150336503983, -0.04056362807750702, -0.06499853730201721, -0.0075911968015134335, 0.021794751286506653, 0.009182672947645187, 0.05641168728470802, 0.007988115772604942, 0.025924617424607277, 0.0038941798266023397, 0.018323533236980438, -0.03181559592485428, 0.02396829053759575, -0.017931802198290825, -0.045002296566963196, -0.030570436269044876, -0.031721681356430054, 0.06529232114553452, -0.038810715079307556, -0.024847112596035004, 0.006753918249160051, -0.03639154136180878, 0.05616835877299309, -0.07938656955957413, -0.0498858280479908, 0.025087861344218254, 0.024865470826625824, 0.034242916852235794, -0.046289119869470596, 0.0086753461509943, 0.06309191882610321, 0.012670300900936127, 0.01249658316373825, 0.032763026654720306, 0.017228424549102783, 0.03952515870332718, -0.0031248691957443953, 0.01880326308310032, 0.048479728400707245, -0.006033097393810749, -0.006424422841519117, -0.06939084082841873, 0.01191015262156725, -0.022741535678505898, -0.27213022112846375, 0.01169654168188572, -0.04442205652594566, -0.009770159609615803, 0.013563857413828373, -0.015031913295388222, -0.005933290813118219, -0.030505556613206863, -0.004038897342979908, 0.029901057481765747, -0.0200815387070179, -0.04075218737125397, -0.05700109899044037, 0.03965405374765396, 0.03883228823542595, 0.013003126718103886, 0.009979606606066227, -0.04449291154742241, -0.020547043532133102, 0.05910411477088928, 0.0038328873924911022, -0.06600366532802582, -0.00029441333026625216, 0.06659328937530518, -0.0050398726016283035, 0.04302353411912918, -0.0817987248301506, 0.016395896673202515, -0.05667131021618843, -0.012722676619887352, -0.029615335166454315, -0.005333361681550741, 0.011758292093873024, -0.04362444579601288, 0.0004210219194646925, -0.02807185985147953, 0.0006141284829936922, -0.014624295756220818, 0.020142875611782074, 0.05548570305109024, -0.03439492732286453, -0.036692552268505096, 0.027411017566919327, 0.01124543882906437, 0.0770016461610794, -0.014535519294440746, -0.0504932776093483, -0.02019994519650936, -0.050349220633506775, 0.07652974873781204, -0.024523165076971054, -0.008958380669355392, -0.0061715939082205296, 0.032884061336517334, -0.04491983726620674, -0.02098599448800087, -0.03342730924487114, 0.010512151755392551, -0.030423037707805634, -0.0023950280155986547, 0.0019663821440190077, -0.04786664620041847, -0.01484249159693718, -0.03973149135708809, -0.008752464316785336, -0.06573020666837692, -0.07919259369373322, 0.01132961641997099, 0.06430627405643463, 0.012833243235945702, -0.024786803871393204, -0.01325348112732172, -0.017332902178168297, -0.09964718669652939, -0.027265865355730057, -0.02440974861383438, 0.005778126418590546, 0.0025589766446501017, 0.0005300398916006088, 0.048869211226701736, -0.017517518252134323, -0.06106391176581383, 0.05199240893125534, 0.02282540686428547, 0.03609675541520119, -0.021563131362199783, -0.0334894172847271, -0.008737091906368732, -0.020308708772063255, 0.006396974436938763, 0.060689527541399, -0.00037472249823622406, -0.018093477934598923, -0.04914646968245506, 0.024410219863057137, 0.020691243931651115, 0.009516756981611252, -0.004345491994172335, 0.013160367496311665, 0.04013434424996376, 0.05316342040896416, -0.04975627735257149, 0.05047379434108734, -0.0341443233191967, -0.042318787425756454, 0.006723011378198862, -0.027876844629645348, 0.027846580371260643, 0.05066370591521263, 0.019438045099377632, -0.02365109510719776, -0.05717958137392998, 0.007387850433588028, -0.047002919018268585, -0.038919247686862946, -0.014412645250558853, 0.03536468371748924, 0.0038972822949290276, 0.02356327883899212, 0.0008712499984540045, -0.05026144161820412, 0.011503343470394611, -0.0010944112436845899, -0.03464490547776222, -0.04531717300415039, -0.0223007183521986, -0.05930549278855324, -0.02784220688045025, 0.006504928693175316, 0.03687286376953125, -0.014144647866487503, 0.03714364394545555, 0.00976912397891283, -0.027127927169203758, 0.021506449207663536, 0.004391483496874571, -0.025551676750183105, -0.01805257797241211, -0.019820677116513252, -0.01346004381775856, 0.05318432301282883, -0.013834858313202858, 0.04959540441632271, 0.04413803294301033, 0.03161479905247688, -0.01635712757706642, 0.02574200928211212, -0.016904477030038834, -0.013156329281628132, 0.02655479870736599, -0.0029585405718535185, -0.03353408724069595, 0.02939479611814022, -0.04672003537416458, -0.003173902165144682, 0.007566811516880989, 0.0297172199934721, -0.0167534276843071, -0.038784392178058624, -0.047295622527599335, 0.04099948704242706, -0.043653350323438644, -0.01761237345635891, -0.03773793578147888, 0.011910014785826206, 0.07439388334751129, -0.02006692625582218, 0.05530649423599243, -0.031237788498401642, 0.04180452227592468, 0.027111724019050598, 0.014903432689607143, -0.04929623752832413, 0.008257169276475906, -0.0044618528336286545, -0.007654843386262655, 0.009270175360143185, -0.0016407842049375176, 0.04476267844438553, -0.030907196924090385, -0.025782175362110138, -0.010012699291110039, 0.007680915296077728, -0.006097645964473486, 0.0443183034658432, 0.016000688076019287, -0.0019346423214301467, 0.011096738278865814, -0.01321476325392723, -0.03159833326935768, -0.029813216999173164, -0.009295712225139141, -0.03478165343403816, 0.027599042281508446, -0.038704801350831985, -0.0624924935400486, -0.01802881993353367, 0.047381915152072906, 0.010830103419721127, 0.0028192868921905756, 0.023634102195501328, -0.03226900100708008, -0.0027923949528485537, -0.005734262056648731, 0.08296369016170502, -0.07023996114730835, 0.02904851920902729, -0.010082973167300224, 0.003683923278003931, 0.021904367953538895, 0.026574550196528435, -0.05511239171028137, -0.03335992619395256, -0.007834913209080696, 0.008625914342701435, -0.01943286322057247, -0.0328056626021862, -0.018831172958016396, 0.007878949865698814, -0.014865892939269543, -0.006390799302607775, 0.02170804888010025, 0.0007571401656605303, -0.017432762309908867, -0.017116745933890343, -0.014162621460855007, -0.05317816883325577, -0.02475859597325325, 0.03344088792800903, -0.007615715730935335, 0.011604568921029568, -0.03732304647564888, 0.013044867664575577, 0.010860242880880833, 0.0006798113463446498, -0.006176681257784367, -0.03592630475759506, -0.00407599750906229, -0.04981239512562752, 0.06677639484405518, -0.012345481663942337, -0.012677147053182125, -0.02429857663810253, -0.002041286090388894, -0.044583071023225784, 0.02686874195933342, 0.04793626815080643, -0.023053722456097603, 0.02717730402946472, 0.05485596880316734, -0.03260362893342972, 0.01796126365661621, -0.012054193764925003, -0.016921067610383034, 0.04313555359840393, -0.017639823257923126, -0.016132039949297905, -0.020951109007000923, -0.044544074684381485, 0.005200013052672148, -0.02909252420067787, 0.015412299893796444, -0.04734201356768608, 0.004122032318264246, 0.04105668142437935, 0.04124065116047859, 0.0202808678150177, -0.023066947236657143, 0.010358442552387714, -0.03518925979733467, 0.029623040929436684, -0.08948143571615219, 0.0016611759783700109, 0.011934258975088596, 0.0005463679553940892, -0.0010754256509244442, 0.003391372738406062, -0.021816637367010117, 0.03859052434563637, -0.07098712772130966, -0.015872323885560036, 0.04417968541383743, 0.009893964976072311, 0.035325970500707626, 0.02851937897503376, -0.02950623258948326, -0.008025947026908398, 0.01726488582789898, -0.01324976235628128, -0.01982051506638527, -0.0431777685880661, 0.059989552944898605, 0.023102162405848503, 0.04371924325823784, -0.0016880710609257221, 0.03701582923531532, 0.0473303385078907, 0.031289663165807724, 0.03664771467447281, 0.052571479231119156, -0.009906569495797157, 0.03657017648220062, 0.011181904003024101, 0.02380242943763733, -0.022562365978956223, 0.01494317315518856, -0.03454069048166275, -0.05601239949464798, 0.0204314012080431, -0.02926194854080677, -0.028223112225532532, -0.051601529121398926, 0.06531886756420135, 0.01801380328834057, -0.019051477313041687, -0.08127428591251373, 0.04033619537949562, -0.05154542252421379, -0.0015517714200541377, 0.01431585568934679, -0.007683393079787493, -0.02600906230509281, 0.07143557816743851, -0.008353137411177158, 0.00014961596752982587, 0.06629949063062668, 0.012873665429651737, -0.018316218629479408, 0.01393998321145773, 0.10049792379140854, 0.06651274859905243, 0.04295274242758751, -0.01354963332414627, 0.06093262508511543, -0.016202906146645546, -0.045403823256492615, -0.008910730481147766, -0.014927854761481285, -0.01074558962136507, -0.01912965439260006, 0.02934465929865837, 0.04961017146706581, -0.03719646856188774, 0.0551861897110939, -0.011807428672909737, -0.014220154844224453, 0.018094265833497047, 0.011516672559082508, 0.012999365106225014, 0.0723930299282074, 0.03996359184384346, 0.03928403928875923, -0.018534669652581215, -0.048778485506772995, 0.042131368070840836, -0.019421439617872238, -0.03723203390836716, 0.00202314555644989, -0.00013770090299658477, 0.026755649596452713, 0.039643295109272, 0.0343429297208786, 0.0747058168053627, -0.03740866482257843, -0.008213388733565807, 0.008426412008702755, 0.010396294295787811, 0.02147708460688591, -0.015348393470048904, -0.014130739495158195, -0.018276631832122803, -0.02399873547255993, -0.01367558166384697, -0.0013892926508560777, -0.004810668062418699, -0.04018682986497879, 0.030258772894740105, -0.00758668826892972, 0.017223717644810677, 0.018315861001610756, -0.0269934069365263, -0.05818704888224602, -0.06640292704105377, -0.048399098217487335, -0.0561407133936882, -0.09441716969013214, 0.03513510525226593, 0.0038891213480383158, -0.03111579641699791, -0.04202115908265114, -0.013936415314674377, 0.001669173827394843, -0.03594252094626427, 0.025240393355488777, -0.040008872747421265, -0.04894953966140747, 0.03019585646688938, 0.0015155933797359467, 0.014700688421726227, 0.029320774599909782, 0.05261982977390289, -0.02494215965270996, 0.009965933859348297, -0.026445288211107254, -0.01640319637954235, 0.03883317485451698, 0.03831862285733223, 0.021167227998375893, -0.07072711735963821, 0.019120872020721436, 0.02879963256418705, -0.0008094942313618958, -0.08604732900857925, -0.014548107981681824, -0.010044211521744728, -0.03126891702413559, 0.05966644361615181, -0.005345373414456844, -0.03190602734684944, -0.026203308254480362, -0.0021683431696146727, 0.011641079559922218, 0.0037269718013703823, 0.044514257460832596, -0.034825168550014496, 0.08612288534641266, -0.007950099185109138, -0.028308240696787834, -0.035573720932006836, 0.005867390427738428, -0.0380275659263134, -0.0017403208184987307, -0.01547909528017044, -0.04266688600182533, -0.03105374053120613, -0.06296558678150177, -0.014346922747790813, -0.0010779484873637557, -0.05828415974974632, -0.010417618788778782, 0.02384258434176445, 0.0491664782166481, -0.060798171907663345, 0.0430900976061821, -0.027009252458810806, 0.0383748859167099, -0.02353394590318203, -0.0045433929190039635, -0.0078022293746471405, 0.026096921414136887, 0.0037513345014303923, 0.006136453710496426, 0.020817136391997337, -0.0418725349009037, 0.006356546655297279, -0.019407818093895912, 0.030641568824648857, 0.01948501728475094, 0.008578531444072723, 0.038804955780506134 ]
[ -0.09750773012638092, -0.03328589349985123, -0.03952345624566078, -0.024347303435206413, 0.00024132510588970035, -0.028290336951613426, -0.016946006566286087, 0.031888145953416824, 0.02870953269302845, -0.0021385434083640575, 0.010442586615681648, -0.07702191174030304, 0.04220666363835335, -0.01950175315141678, 0.06610357016324997, -0.005345962010324001, -0.0669165626168251, -0.05066242814064026, -0.06655042618513107, 0.03193337097764015, 0.04549982026219368, -0.04764673113822937, -0.06024473160505295, -0.07017487287521362, 0.045316439121961594, 0.06707233190536499, 0.04408889636397362, -0.046003516763448715, 0.008853570558130741, -0.2569030523300171, 0.006848662625998259, 0.021570773795247078, 0.0267470795661211, -0.053757768124341965, 0.015772491693496704, 0.017737191170454025, 0.023757629096508026, 0.02434574067592621, -0.0011223054025322199, 0.025933178141713142, 0.023157436400651932, 0.03997651860117912, -0.008758448995649815, -0.029509419575333595, 0.04202331230044365, -0.0013474776642397046, -0.04498464614152908, 0.0016074046725407243, 0.002759381663054228, 0.05602049455046654, 0.008326209150254726, 0.006875816732645035, 0.02114456333220005, -0.00854716170579195, 0.019967680796980858, 0.03641362115740776, 0.04777250811457634, 0.09849049150943756, 0.004687131382524967, 0.008085626177489758, -0.003020026721060276, 0.02318042330443859, -0.13939258456230164, 0.09337640553712845, 0.007478594779968262, 0.052494823932647705, -0.0014429559232667089, -0.02981382980942726, -0.04029471427202225, 0.07466388493776321, 0.046047426760196686, -0.011799730360507965, -0.04562075063586235, 0.05887662619352341, 0.0021568730007857084, -0.008646554313600063, -0.018673110753297806, 0.0077688307501375675, 0.0373411700129509, 0.009250015020370483, -0.05485362932085991, 0.01620754785835743, -0.035254787653684616, -0.018331194296479225, -0.00017904031847137958, -0.026192208752036095, -0.018373588100075722, 0.047553349286317825, -0.0011415166081860662, -0.03528177738189697, 0.023138929158449173, 0.020530495792627335, -0.014505293220281601, 0.02226744405925274, -0.0589200034737587, 0.00016020654584281147, 0.008106444031000137, 0.01059181708842516, -0.020046349614858627, 0.35739144682884216, 0.04096410796046257, 0.013451600447297096, 0.03736385703086853, -0.0039548566564917564, -0.010055714286863804, -0.03714551776647568, -0.014894850552082062, -0.04992099851369858, -0.004234554711729288, -0.06518740952014923, -0.02403653785586357, -0.009857642464339733, 0.08407312631607056, -0.086365707218647, -0.04352853074669838, -0.012631612829864025, 0.02362748049199581, 0.0011612799717113376, 0.05165015161037445, 0.024152182042598724, 0.029481591656804085, 0.009043755009770393, 0.0013206133153289557, -0.004684868734329939, -0.06171926483511925, 0.016410166397690773, 0.007105894386768341, 0.060150161385536194, -0.0036733397282660007, 0.051961202174425125, 0.061832308769226074, -0.045082565397024155, -0.06549263745546341, -0.03631516173481941, -0.007546731270849705, 0.005357345566153526, 0.0089021697640419, -0.03888662904500961, 0.03488287702202797, 0.008060471154749393, -0.022620446979999542, -0.036888428032398224, 0.028470776975154877, -0.01847861334681511, -0.0035440614446997643, 0.07994440943002701, 0.018300360068678856, -0.0440630279481411, 0.00015002307191025466, -0.06560278683900833, -0.029183242470026016, -0.003549114568158984, 0.026850877329707146, -0.056747350841760635, 0.014934035018086433, 0.047702133655548096, 0.08377955853939056, -0.018392007797956467, -0.04475610330700874, 0.0197609793394804, -0.02057715877890587, -0.022257987409830093, -0.05119900032877922, 0.13252979516983032, 0.00496369693428278, -0.09508246928453445, -0.02599613182246685, -0.015253942459821701, 0.015259609557688236, -0.12604838609695435, 0.017071714624762535, 0.05851643159985542, -0.03825000673532486, 0.042798515409231186, 0.09673410654067993, -0.001571332337334752, -0.02176799438893795, 0.005687838885933161, 0.03569024056196213, 0.02418767474591732, -0.03641299530863762, -0.005563907325267792, -0.0630204975605011, 0.008752359077334404, -0.048302192240953445, -0.04260653629899025, -0.04529498517513275, 0.022597918286919594, -0.021197982132434845, -0.020798474550247192, -0.002107473323121667, 0.0005581502919085324, -0.08439476042985916, 0.07789438217878342, -0.023465262725949287, -0.03122836910188198, -0.01289372518658638, -0.006293675396591425, 0.019344357773661613, 0.02144835703074932, 0.01142123993486166, 0.06829153746366501, -0.003911660052835941, 0.032177358865737915, -0.02344628982245922, 0.02542193979024887, 0.05921942740678787, -0.06599067896604538, 0.08165601640939713, 0.019949419423937798, -0.0018103797920048237, 0.014779089018702507, -0.04284127056598663, 0.00653814896941185, 0.010640175081789494, -0.02221362479031086, 0.022061504423618317, -0.02880396507680416, 0.017483046278357506, 0.024740630760788918, -0.010840704664587975, -0.057389166206121445, -0.04670676216483116, -0.3393462598323822, -0.05926898494362831, -0.0025324795860797167, 0.019636571407318115, 0.03114572912454605, -0.05176373943686485, -0.02212022989988327, -0.03781083971261978, -0.01648843102157116, 0.04883388802409172, 0.03847452625632286, -0.014388409443199635, -0.026040947064757347, -0.0734705775976181, -0.003993047866970301, 0.015312894247472286, -0.0367615632712841, -0.026758363470435143, -0.0006907999631948769, 0.08708327263593674, -0.02098127268254757, -0.01666935533285141, -0.007541046943515539, -0.0551069900393486, -0.015340256504714489, -0.023204023018479347, 0.122979536652565, -0.018096262589097023, 0.005110521335154772, -0.040341589599847794, 0.012617195025086403, 0.0005816484335809946, -0.01955815590918064, 0.011646316386759281, -0.0003901328891515732, -0.006522770971059799, 0.018674178048968315, 0.007332002744078636, 0.034378621727228165, -0.012990428134799004, -0.06807959079742432, -0.0229883324354887, -0.046261195093393326, -0.01949022151529789, 0.0025117406621575356, 0.021780192852020264, -0.011094084940850735, -0.05429430678486824, 0.01295119896531105, 0.0649905726313591, 0.02413744479417801, 0.04252088814973831, 0.04106713458895683, -0.00041203846922144294, -0.0097022894769907, -0.011824172921478748, -0.013967908918857574, -0.04062052071094513, 0.017266355454921722, 0.006106005050241947, 0.007445207331329584, 0.017358124256134033, 0.0638718381524086, 0.015155098401010036, 0.00892265047878027, 0.008204437792301178, -0.0056212726049125195, -0.013977400958538055, 0.010529677383601665, -0.019476408138871193, 0.007737989071756601, 0.06873415410518646, 0.01402351912111044, 0.011767170391976833, 0.01915031298995018, 0.03995553404092789, 0.005648061167448759, 0.05243096873164177, 0.05517146736383438, 0.02241024747490883, 0.009700766764581203, -0.011305133812129498, 0.024826450273394585, -0.016136333346366882, -0.018056169152259827, 0.04428571090102196, 0.007391315884888172, 0.046974651515483856, 0.05128553882241249, 0.01502498984336853, -0.05175411328673363, 0.00865189079195261, 0.004992636386305094, 0.016933491453528404, -0.01715807057917118, 0.007406941149383783, -0.2742440402507782, 0.046086907386779785, 0.01221619825810194, 0.024481575936079025, 0.02121926099061966, 0.00783147569745779, 0.03982880339026451, -0.0363180972635746, -0.025868333876132965, -0.04921918734908104, 0.016998449340462685, 0.04071974381804466, 0.0493694506585598, -0.027196383103728294, 0.022251715883612633, -0.018491018563508987, 0.015819905325770378, -0.030518271028995514, 0.000731090025510639, 0.02951013669371605, 0.08760660886764526, 0.010720300488173962, 0.22719381749629974, 0.0040581366047263145, 0.006453509442508221, 0.010014347732067108, 0.01955515891313553, 0.015959907323122025, 0.09879735112190247, 0.010919474996626377, 0.003691661637276411, -0.010285705327987671, 0.028334584087133408, -0.016158469021320343, 0.025108790025115013, -0.010897166095674038, -0.02294907532632351, 0.04124844819307327, -0.010071031749248505, -0.024909349158406258, -0.06647656112909317, 0.021138982847332954, -0.020847223699092865, -0.0075292387045919895, 0.1021382212638855, 0.017675213515758514, 0.007960110902786255, -0.0706116333603859, -0.01548080239444971, -0.00722177978605032, -0.018911736086010933, -0.037159524857997894, -0.023792440071702003, -0.02497914433479309, 0.0019535389728844166, 0.06932156533002853, -0.017690658569335938, -0.04222631826996803, -0.011731603182852268, 0.01896437257528305, -0.015086209401488304, -0.015412385575473309, 0.06488154083490372, -0.033899202942848206, 0.01675686240196228 ]
[ 0.02788449078798294, 0.033835601061582565, -0.017146039754152298, -0.028089918196201324, -0.023045141249895096, -0.028910016641020775, 0.02682577259838581, -0.0024504191242158413, -0.012307452037930489, -0.014041705057024956, -0.024583961814641953, -0.024716529995203018, 0.02915155328810215, -0.042732059955596924, 0.0203603133559227, -0.013986588455736637, 0.005252076778560877, 0.01170341670513153, 0.014678103849291801, -0.006912499200552702, -0.029498061165213585, -0.0194889884442091, 0.007666521240025759, 0.004337763879448175, 0.005137723404914141, 0.0734177678823471, 0.0042800297960639, 0.01389284897595644, 0.006170003674924374, -0.11740130186080933, -0.047673892229795456, -0.019751664251089096, 0.016789298504590988, -0.025612855330109596, -0.01005646027624607, 0.005307168234139681, -0.04285019636154175, 0.015087178908288479, 0.010163167491555214, -0.04516765847802162, -0.04313468560576439, -0.020344777032732964, 0.022521840408444405, 0.001357245841063559, 0.017249030992388725, 0.033066630363464355, -0.0059189023450016975, 0.05000733584165573, 0.0024605179205536842, 0.014511993154883385, 0.02654084376990795, 0.048942968249320984, 0.03220350667834282, -0.02710665762424469, 0.013598303310573101, -0.017181789502501488, -0.026591302827000618, -0.004518314264714718, 0.018844561651349068, -0.03728333115577698, -0.007407564204186201, 0.03917579725384712, -0.028046902269124985, -0.00234445882961154, 0.00423350790515542, -0.02251863293349743, 0.00931379571557045, -0.021119099110364914, -0.01515636034309864, -0.009529368951916695, 0.036190617829561234, -0.008482187055051327, -0.0386551171541214, -0.014981537126004696, -0.013628710061311722, 0.0129371527582407, 0.07549116015434265, -0.04014076292514801, -0.022822298109531403, -0.03023526258766651, -0.039360493421554565, 0.008365868590772152, 0.053626012057065964, 0.00024127872893586755, 0.011001206934452057, -0.04098249226808548, 0.007307429797947407, 0.015420325100421906, 0.04478376358747482, -0.034562040120363235, -0.030539097264409065, 0.004831255879253149, 0.0033422100823372602, -0.012503090314567089, -0.04837176203727722, -0.016548268496990204, 0.007305993232876062, 0.0199654009193182, -0.016212157905101776, 0.8201811909675598, 0.030998487025499344, 0.024234017357230186, -0.0035673286765813828, 0.02300295978784561, -0.013321412727236748, -0.0011532386997714639, 0.014942427165806293, 0.01061320398002863, 0.031991422176361084, -0.034373074769973755, 0.027865085750818253, 0.005521873943507671, 0.0283688735216856, 0.0031448809895664454, -0.03437409549951553, -0.016519352793693542, -0.01163681223988533, -0.015418173745274544, -0.026515448465943336, -0.002804478397592902, 0.05578631907701492, 0.03745189309120178, -0.0491238534450531, -0.006507141049951315, 0.00258991913869977, -0.16555730998516083, -0.01068369671702385, -7.612480844773995e-33, -0.04032892361283302, -0.020028214901685715, 0.04481732100248337, -0.010286422446370125, 0.0458025299012661, 0.05961604043841362, 0.037665750831365585, 0.007483999244868755, -0.0414387546479702, 0.0010782997123897076, -0.002024715766310692, -0.0017927770968526602, 0.009280789643526077, 0.007599470671266317, 0.01648395135998726, -0.016840385273098946, -0.0014300666516646743, 0.02073025144636631, 0.014260540716350079, -0.0012003383599221706, 0.03243700787425041, 0.019402602687478065, 0.01206362433731556, 0.036947499960660934, -0.012667235918343067, 0.031081296503543854, -0.012517999857664108, -0.010998565703630447, 0.04392156004905701, -0.03491264954209328, -0.02647189050912857, 0.030978204682469368, -0.03398359566926956, -0.03477291017770767, 0.007342766970396042, -0.027125684544444084, -0.00034650054294615984, 0.015358914621174335, -0.006857212167233229, -0.015542058274149895, -0.03642529249191284, 0.033449362963438034, -0.03184118866920471, -0.010784134268760681, -0.006443502847105265, 0.0024740404915064573, 0.07036200165748596, 0.06848848611116409, 0.009450048208236694, -0.0040143635123968124, -0.014498925767838955, -0.014869295991957188, -0.010645103640854359, -0.016360459849238396, -0.010503757745027542, 0.00171214051079005, 0.004781401250511408, 0.015628168359398842, -0.018402261659502983, 0.054270923137664795, 0.01611180603504181, 0.037483297288417816, -0.0132344551384449, 0.029996762052178383, -0.05076226964592934, 0.03377287834882736, 0.012624953873455524, -0.0009922601748257875, -0.026259645819664, 0.02184767834842205, -0.06315639615058899, 0.02201378531754017, 0.0009176237508654594, 0.02883344702422619, 0.02000858262181282, -0.0065564680844545364, 0.004073779564350843, -0.024020005017518997, -0.014863808639347553, 0.008301225490868092, -0.017817258834838867, -0.020475268363952637, 0.004675546195358038, -0.012394459918141365, -0.015671560540795326, 0.00634158868342638, 0.007652449421584606, 0.024985559284687042, 0.015078364871442318, 0.004656434059143066, 0.025178954005241394, -0.0245593823492527, 0.002129541477188468, -0.025965537875890732, -0.027777764946222305, 6.994184775236887e-33, -0.07465441524982452, -0.024593321606516838, 0.008208059705793858, 0.036719124764204025, 0.036863259971141815, -0.00580023555085063, 0.039709873497486115, -0.002893240423873067, -0.003964086528867483, 0.014791005291044712, 0.0017965668812394142, -0.0018510494846850634, -0.015634959563612938, 0.044307198375463486, 0.051980581134557724, -0.015275011770427227, -0.005586943123489618, 0.06204552203416824, 0.018987692892551422, 0.017214428633451462, 0.008731476031243801, -0.004366955254226923, -0.013728153891861439, -0.008426917716860771, 0.0012365455040708184, 0.047597192227840424, -0.041471727192401886, -0.025025518611073494, 0.026282379403710365, 0.011798929423093796, -0.01796852797269821, 0.004699373152107, -0.012007186189293861, -0.0013755105901509523, 0.00739023694768548, 0.027571627870202065, 0.021135861054062843, -0.014837564900517464, 0.021827097982168198, 0.007894471287727356, -0.030261650681495667, -0.054855674505233765, -0.015104725025594234, 0.03662537410855293, 0.013688049279153347, 0.012858190573751926, -0.006071348674595356, -0.007751253433525562, 0.0007212932105176151, 0.03183275833725929, 0.016531968489289284, 0.0027903865557163954, -0.013685835525393486, 0.008253341540694237, -0.02271164022386074, -0.007276829797774553, -0.028954194858670235, -0.005701401270925999, -0.004410008899867535, -0.039668008685112, -0.04203180968761444, 0.033556342124938965, 0.026450946927070618, 0.03333960473537445, -0.026121413335204124, -0.01301311794668436, -0.018867334350943565, -0.00404226453974843, 0.009209594689309597, 0.00127952650655061, -0.050185952335596085, -0.007477761246263981, 0.015002069994807243, 0.011084341444075108, -0.01573058031499386, 0.034458059817552567, -0.04977940022945404, 0.005550917703658342, 0.07015210390090942, 0.02728659100830555, 0.010177451185882092, 0.00020920371753163636, 0.02736431546509266, -0.013076844625175, 0.005267856176942587, 0.02884613908827305, 0.0010335893603041768, -0.0005046198493801057, 0.010237185284495354, -0.004375299904495478, -0.010237163864076138, -0.03640872240066528, -0.00614661630243063, 0.002281294437125325, -0.010661009699106216, -1.2735509535843903e-8, 0.004576604813337326, -0.0519585944712162, -0.034547075629234314, 0.0014110804768279195, 0.037850312888622284, 0.02281835861504078, -0.01936941221356392, -0.017382053658366203, -0.03550494462251663, -0.007231238763779402, 0.03024407848715782, 0.025330953299999237, -0.006497321650385857, -0.034360576421022415, -0.0017342811916023493, -0.006509431637823582, 0.04402934014797211, -0.015363631770014763, 0.017905650660395622, 0.019424114376306534, -0.012820720672607422, 0.06339579820632935, 0.00515631353482604, -0.03857139125466347, 0.010893256403505802, -0.025478161871433258, 0.030469778925180435, -0.07424255460500717, -0.012623891234397888, -0.01740199327468872, 0.008046806789934635, -0.05898104980587959, -0.03180322423577309, 0.01791136898100376, -0.004353361204266548, -0.0646287202835083, -0.013862374238669872, 0.03735926002264023, 0.01864166371524334, -0.01520376093685627, -0.032402172684669495, -0.02912025898694992, -0.046718697994947433, -0.015554524026811123, -0.015978867188096046, -0.02616036683320999, -0.052664145827293396, 0.0043654427863657475, -0.017701344564557076, -0.07773799449205399, 0.007291191257536411, -0.0335596427321434, 0.035197652876377106, 0.03867357596755028, 0.0801917240023613, 0.05055646970868111, -0.002500827657058835, -0.0724845752120018, 0.012214652262628078, -0.00958973728120327, -0.03170895203948021, 0.0208408422768116, 0.02498926781117916, -0.03225719556212425 ]
haskell-using-type-classes-to-generify-project-euler-31
https://markhneedham.com/blog/2012/05/30/haskell-using-type-classes-to-generify-project-euler-31
false
2012-05-08 22:09:17
Haskell: Generating random numbers
[ "haskell" ]
[ "Haskell" ]
As I http://www.markhneedham.com/blog/2012/05/07/haskell-maximum-int-value/[mentioned in my last post] I've been coding the closest pairs algorithm in Haskell and needed to create some pairs of coordinates to test it against. I've tried to work out how to create lists of random numbers in Haskell before and always ended up giving up because it seemed way more difficult than it should be but this time I came across a http://stackoverflow.com/questions/2110535/sampling-sequences-of-random-numbers-in-haskell[really good explanation of how to do it by jrockway on Stack Overflow]. I thought it'd be interesting to work up to his answer by first looking at the functions available to help us generate random numbers. http://hackage.haskell.org/packages/archive/random/latest/doc/html/System-Random.html#v:mkStdGen[mkStdGen] is a function which creates a random number generator for a given seed value and seems like a good place to start. ____ mkStdGen :: Int \-> StdGen The function mkStdGen provides an alternative way of producing an initial generator, by mapping an Int into a generator. Again, distinct arguments should be likely to produce distinct generators. ____ We can combine that with 'randomR' to give us a random value in a range that we choose or with 'random' to get a random value in a default range. ____ randomR :: RandomGen g \=> (a, a) \-> g \-> (a, g) Takes a range (lo,hi) and a random number generator g, and returns a random value uniformly distributed in the closed interval [lo,hi], together with a new generator. It is unspecified what happens if lo>hi. For continuous types there is no requirement that the values lo and hi are ever produced, but they may be, depending on the implementation and the interval. ____ [source,haskell] ---- > fst $ randomR (1,10) (mkStdGen 66) 8 ---- [source,haskell] ---- > let randomNumber :: Int; x = fst $ random (mkStdGen 66) > randomNumber -4755267682593970340 ---- For now I'm ignoring the new random generator that is provided as the second part of the tuple that these two functions return. If we want to create an infinite list of random numbers then something like this will do the trick: [source,haskell] ---- let values :: [Int]; values = map fst $ scanl (\(r, gen) _ -> random gen) (random (mkStdGen 1)) $ repeat () ---- We use the 'repeat' function to create an infinite sequence of nothing then run a scanl across that infinite sequence, called 'random' with a new instance of the random number generator each time: [source,haskell] ---- > take 10 values [7917908265643496962,-1017158127812413512,-1196564839808993555,128524678767915218,3573078269730797745,-2026762924287790163,-5402471397730582264,-8620480566299071809,5987841344909700899,1198540087579679591] it :: [Int] ---- In this version we're passing the next generator along as part of the accumulator of the 'scanl' function but another way to do that would be to encapsulate it inside a State monad: Using the State monad our random number function would read like this: [source,haskell] ---- myRand :: State StdGen Int myRand = do gen <- get let (r, nextGen) = random gen put nextGen return r ---- The state monad contains some state (the random number generator) and creates values (the random numbers). Line 3 gets the current generator. Line 4 creates a new number and generator which it assigns to 'r' and 'nextGen' Line 5 updates the State monad with the new generator Line 6 returns the value that was created. We change 'values' to read like this: [source,haskell] ---- let values = mapM (\_ -> myRand) $ repeat () ---- 'mapM (_ \-> myRand)' is http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Control-Monad.html#v%3Asequence[the same as] doing 'sequence $ map (_ \-> myRand)' and we need to do that because we want to return a State Monad with an array of Ints rather than an array of State Monads each with an Int. In order to evaluate those values we call 'evalState' which returns the final result from the State monad i.e. the random value created: [source,haskell] ---- > evalState values $ mkStdGen 1 [7917908265643496962,-1017158127812413512,-1196564839808993555,128524678767915218,3573078269730797745,-2026762924287790163,-5402471397730582264,-8620480566299071809,5987841344909700899,1198540087579679591,5081506216124746781,-2413363174299075397,-6804412472718217891,4559850124463334118,-362777938400029309,-23100237439495333,-2426472460098089322,...] ---- In our case we want to get an infinite sequence of pairs to represent the coordinates on a plane so we need to have a random function that creates those: [source,haskell] ---- myRandPair :: State StdGen (Int, Int) myRandPair = do x <- myRand y <- myRand return (x, y) ---- We then change 'values' accordingly: [source,haskell] ---- > let values = mapM (\_ -> myRandPair) $ repeat () > evalState values $ mkStdGen 1 [(7917908265643496962,-1017158127812413512),(-1196564839808993555,128524678767915218),(3573078269730797745,-2026762924287790163),(-5402471397730582264,-8620480566299071809),(5987841344909700899,1198540087579679591),(5081506216124746781,-2413363174299075397),(-6804412472718217891,4559850124463334118),(-362777938400029309,-23100237439495333)...] ---- If we want to get back some different pairs then we just need to change the initial seed value that we pass to 'mkStdGen'. http://stackoverflow.com/questions/2110535/sampling-sequences-of-random-numbers-in-haskell[jrockway explains this in more detail in his post] in which he also wraps the State monad inside an alias to make the code easier to understand.
null
null
[ 0.00108348170761019, 0.02606276050209999, -0.027499813586473465, 0.06625852733850479, 0.04484697803854942, 0.025957666337490082, 0.013019345700740814, 0.01630645990371704, 0.019435707479715347, -0.02721693553030491, -0.007327761501073837, -0.031813476234674454, -0.05313769727945328, 0.026341188699007034, 0.011255968362092972, 0.052397143095731735, 0.05932852253317833, -0.021067051216959953, -0.0256316177546978, 0.029746070504188538, -0.006567821837961674, 0.05468451976776123, -0.024313591420650482, 0.013398525305092335, 0.032565128058195114, 0.009664885699748993, 0.023327693343162537, 0.0019458770984783769, -0.011266710236668587, 0.017236825078725815, 0.034051112830638885, 0.0019462265772745013, -0.011985723860561848, -0.02056262269616127, 0.014488577842712402, -0.010251379571855068, 0.005177849438041449, -0.01484587974846363, 0.013628850691020489, 0.01846734806895256, -0.03925696760416031, 0.024785971269011497, 0.01820966601371765, 0.025313084945082664, -0.06360505521297455, -0.012650222517549992, -0.03577117994427681, 0.023455219343304634, -0.010223019868135452, 0.03397081047296524, -0.05467529222369194, 0.03135195001959801, -0.01130948681384325, -0.028983822092413902, 0.0052074552513659, 0.04691936448216438, 0.029874753206968307, -0.06261402368545532, 0.04136677458882332, -0.03185449168086052, 0.008342362940311432, -0.021405911073088646, 0.012580808252096176, 0.045079201459884644, -0.012622511014342308, -0.021840810775756836, -0.006625670474022627, 0.05124092102050781, -0.02098194882273674, -0.027171730995178223, -0.0280437171459198, 0.019245313480496407, -0.00868060253560543, -0.033318210393190384, -0.011583474464714527, -0.06340353190898895, -0.00612633628770709, 0.08293874561786652, 0.02000381238758564, 0.0367392860352993, -0.00620682630687952, 0.007402297109365463, 0.03794638812541962, 0.02732812985777855, 0.0019429231761023402, -0.023232560604810715, -0.040661945939064026, -0.009549746289849281, -0.05546589940786362, 0.05472932755947113, -0.00810645055025816, -0.07723857462406158, 0.01582014374434948, -0.007804824039340019, 0.00225796177983284, -0.009703070856630802, -0.0006011485238559544, -0.003730196040123701, -0.001716328551992774, -0.0026121106930077076, -0.031700119376182556, 0.0000037641009384969948, 0.02183106169104576, -0.007328352890908718, -0.08334231376647949, -0.0016658698441460729, -0.012769042514264584, -0.03369693085551262, -0.0021997999865561724, 0.027100346982479095, -0.025833934545516968, 0.0027532235253602266, 0.008362440392374992, 0.012299062684178352, -0.08813468366861343, 0.028295285999774933, 0.004131888970732689, -0.015013698488473892, -0.009545577690005302, 0.024297397583723068, 0.05610227957367897, 0.0218626968562603, -0.022067232057452202, 0.08665679395198822, 0.03088959865272045, 0.0318082831799984, 0.031220007687807083, 0.05345890671014786, -0.016234371811151505, -0.05769358202815056, -0.020538846030831337, 0.07572329044342041, -0.03775518015027046, 0.00458474550396204, 0.008350440301001072, -0.015623060055077076, -0.056634947657585144, -0.004446397069841623, 0.05049934238195419, 0.04618752747774124, 0.02759263850748539, -0.043461382389068604, 0.04314412176609039, -0.022699816152453423, 0.003198212245479226, 0.015968766063451767, 0.014628497883677483, -0.018039699643850327, -0.018003875389695168, 0.03970630466938019, 0.03164563328027725, 0.035830363631248474, 0.06440146267414093, -0.02358558028936386, 0.017536228522658348, 0.08108001947402954, 0.028169594705104828, 0.026786120608448982, -0.014427891001105309, 0.029463857412338257, 0.019318560138344765, 0.03132671117782593, 0.021224692463874817, 0.01862752065062523, 0.006348938215523958, -0.026691364124417305, 0.017954133450984955, 0.07100860029459, -0.03452655300498009, -0.017413433641195297, -0.044141024351119995, -0.01731620728969574, 0.05242520570755005, -0.038650382310152054, -0.006462153047323227, 0.006043217610567808, 0.050592873245477676, -0.0018240982899442315, 0.06831683963537216, 0.008273112587630749, -0.07087310403585434, 0.005536337848752737, -0.002013007178902626, 0.032539911568164825, 0.00663297064602375, 0.008476320654153824, 0.05943131074309349, 0.041260648518800735, -0.009339342825114727, 0.02058512531220913, -0.051242366433143616, -0.06385881453752518, -0.035238128155469894, -0.029749741777777672, 0.07196738570928574, -0.05214780196547508, 0.015758775174617767, 0.04319090023636818, 0.036912571638822556, 0.020713595673441887, 0.027798499912023544, -0.01899670995771885, 0.021742863580584526, -0.02803840860724449, -0.04966379702091217, 0.05637609586119652, 0.052502188831567764, -0.008561286143958569, -0.053177788853645325, -0.00899813324213028, 0.00937383808195591, 0.01053906511515379, 0.039440982043743134, -0.02535690926015377, 0.03688544034957886, 0.04451891407370567, 0.024152779951691628, -0.010347066447138786, 0.043037623167037964, -0.022826403379440308, 0.0336589552462101, 0.0346497967839241, 0.013279137201607227, 0.0002134837704943493, 0.005384182557463646, 0.13643190264701843, 0.06769067049026489, -0.026158517226576805, -0.022383810952305794, 0.029626375064253807, -0.016885939985513687, -0.009373683482408524, 0.005851083900779486, 0.04854145273566246, -0.026412958279252052, 0.008521107956767082, -0.006334847770631313, -0.028042970225214958, 0.04039997607469559, -0.04821021482348442, -0.03788793087005615, 0.09482552856206894, -0.03490233048796654, 0.04535791650414467, -0.008143258281052113, -0.046119529753923416, -0.03835374489426613, -0.03213542699813843, -0.055055223405361176, -0.004723810125142336, -0.0029548725578933954, -0.0010212467750534415, 0.05671076104044914, -0.015314201824367046, -0.029353469610214233, -0.021345634013414383, -0.019451944157481194, 0.05029814690351486, 0.07327594608068466, 0.05872334539890289, -0.00502692861482501, 0.018213775008916855, 0.01979692466557026, -0.015116731636226177, -0.033871203660964966, -0.06061127781867981, -0.05248316377401352, -0.023804601281881332, 0.0112636499106884, 0.03356531262397766, 0.03369526565074921, 0.01786685548722744, 0.02099020406603813, -0.008852084167301655, -0.01668788120150566, -0.014416012912988663, 0.004847405012696981, 0.00612710602581501, -0.034002676606178284, -0.036462049931287766, -0.03056182526051998, 0.08645924180746078, -0.024754812940955162, -0.001918360940180719, -0.0049980110488832, -0.031771570444107056, 0.04076679050922394, -0.0818323940038681, -0.03657009080052376, 0.001229707500897348, -0.00011942737910430878, 0.04098045825958252, -0.029801020398736, 0.0036467539612203836, 0.06698498874902725, 0.012416080571711063, 0.030344031751155853, 0.04501238465309143, 0.0000830641292850487, 0.01887419819831848, 0.018182117491960526, 0.0051200720481574535, 0.028732694685459137, -0.014130146242678165, -0.030029164627194405, -0.03195171058177948, 0.02009282074868679, -0.014542564749717712, -0.2895137369632721, -0.006906670052558184, -0.013156156986951828, -0.02470007725059986, -0.0029696954879909754, -0.021194273605942726, 0.004897800274193287, -0.045526519417762756, 0.0027723312377929688, 0.03433455899357796, -0.04555344954133034, -0.04238210991024971, -0.054356884211301804, 0.05108381435275078, 0.013822434470057487, -0.005892258137464523, 0.006173505913466215, -0.01853700913488865, 0.024925250560045242, 0.04335369914770126, 0.0025027215015143156, -0.073612280189991, -0.016336364671587944, 0.07445161044597626, 0.012256032787263393, 0.03142784163355827, -0.05257224291563034, 0.018208082765340805, -0.07739903032779694, -0.0005979994311928749, -0.05359640344977379, -0.016392264515161514, -0.00037590565625578165, -0.007094658445566893, -0.017874695360660553, -0.004676301963627338, 0.026505446061491966, -0.004732195753604174, 0.012124545872211456, 0.0452195443212986, -0.03162859380245209, 0.006700301542878151, 0.02220599353313446, -0.006444737780839205, 0.07066401839256287, -0.012328476645052433, -0.04690045490860939, 0.0017568648327142, -0.04976561665534973, 0.05938340350985527, -0.04487542808055878, -0.00891952309757471, -0.007431991398334503, 0.023497706279158592, -0.002750593703240156, 0.0033607978839427233, -0.015083907172083855, -0.01584201492369175, -0.023099036887288094, -0.017000192776322365, -0.025374911725521088, -0.03221545368432999, -0.02341754175722599, -0.02125808410346508, -0.00048607756616547704, -0.059116706252098083, -0.07348155975341797, -0.009348093532025814, 0.04934791103005409, -0.005711473058909178, -0.008296250365674496, -0.040697649121284485, -0.02353307045996189, -0.10801839083433151, -0.05031880736351013, -0.006270759738981724, -0.01670054905116558, 0.012753265909850597, 0.005807066801935434, 0.08294973522424698, -0.027726832777261734, -0.08860262483358383, 0.04155037924647331, 0.006402506027370691, 0.04125439003109932, -0.009641521610319614, 0.02192738652229309, -0.020239301025867462, -0.006553951185196638, -0.02432461641728878, 0.06285878270864487, -0.000507397809997201, -0.010244019329547882, -0.019509389996528625, 0.03490300849080086, 0.041874222457408905, -0.007870398461818695, -0.027597105130553246, 0.019400591030716896, 0.02038857340812683, 0.05251438543200493, -0.046322986483573914, 0.027275824919342995, -0.04967966675758362, -0.043674636632204056, 0.021681860089302063, -0.04951445013284683, 0.025684334337711334, 0.015747739002108574, -0.00540104741230607, -0.03182178735733032, -0.07288403809070587, -0.0102015295997262, -0.03479551523923874, -0.03847303241491318, -0.011634336784482002, 0.00944160483777523, 0.02051381580531597, 0.0037210634909570217, 0.00973671767860651, -0.07125663757324219, -0.0011100948322564363, -0.01725594513118267, -0.0395522341132164, -0.0335623174905777, -0.006459330208599567, -0.03760442137718201, -0.01793987676501274, 0.024876313284039497, 0.02090742066502571, -0.019226230680942535, 0.044938310980796814, 0.03299267962574959, -0.006830745842307806, 0.02005034312605858, 0.004051905125379562, -0.026121940463781357, -0.015034526586532593, -0.003243007231503725, -0.020554734393954277, 0.010670692659914494, 0.0012847788166254759, 0.021045206114649773, 0.02294652722775936, 0.0490720272064209, -0.016854962334036827, 0.046176254749298096, -0.005428226199001074, -0.00209069368429482, 0.001844613580033183, -0.005988751072436571, -0.058486390858888626, 0.051546093076467514, -0.0373799167573452, -0.019681597128510475, 0.0045279148034751415, 0.03319009393453598, 0.007977848872542381, -0.08184022456407547, -0.051079776138067245, 0.024539915844798088, -0.023249613121151924, -0.03706968203186989, -0.032070085406303406, 0.022671187296509743, 0.07137427479028702, -0.031073452904820442, 0.04130564630031586, -0.017469113692641258, 0.019274741411209106, 0.025901969522237778, 0.013027291744947433, -0.024315865710377693, 0.009869355708360672, -0.008537305518984795, -0.01817965880036354, 0.010429587215185165, 0.006859190296381712, 0.006981840822845697, -0.014538413845002651, -0.025951532647013664, 0.010693431831896305, -0.014404910616576672, -0.0024751212913542986, 0.053870733827352524, 0.013043008744716644, 0.005171129945665598, 0.007806829176843166, -0.027084052562713623, -0.023029111325740814, -0.05296372249722481, -0.0002445964782964438, -0.017162930220365524, 0.028134729713201523, -0.025334401056170464, -0.03844522684812546, 0.013852104544639587, 0.0012593244900926948, -0.006946401204913855, 0.010432390496134758, 0.02817660942673683, -0.034268949180841446, -0.002914444776251912, 0.009135893546044827, 0.07418133318424225, -0.0509328693151474, 0.009932531975209713, -0.008315217681229115, 0.018014131113886833, 0.012448441237211227, 0.01824641227722168, -0.05329170078039169, 0.0005770660354755819, -0.012106409296393394, -0.0024312851019203663, -0.040159426629543304, -0.04715734347701073, -0.0192432701587677, -0.007823264226317406, -0.017524870112538338, -0.01289290003478527, 0.013849006965756416, 0.019482221454381943, -0.04787725582718849, -0.05074238404631615, -0.020743710920214653, -0.060684386640787125, -0.032526981085538864, 0.03959571197628975, -0.03189500421285629, 0.0479000099003315, -0.024243952706456184, 0.03345225378870964, 0.014173327945172787, -0.0010068799601867795, -0.008107023313641548, -0.0701824426651001, 0.001052156905643642, -0.048760317265987396, 0.048148367553949356, -0.014192696660757065, 0.00596595648676157, -0.028801104053854942, -0.0001031471838359721, -0.041597794741392136, -0.00536660710349679, 0.011463690549135208, -0.03177841752767563, 0.031570643186569214, 0.038073744624853134, -0.031524043530225754, 0.03754459694027901, -0.009027846157550812, -0.02324412763118744, 0.0452684722840786, -0.017164308577775955, -0.011407711543142796, -0.011227485723793507, -0.019838137552142143, 0.02039482071995735, -0.007675648666918278, 0.027050793170928955, -0.04699620231986046, 0.02182598039507866, 0.029858987778425217, 0.05324745178222656, 0.02836371585726738, -0.01312686875462532, 0.013885474763810635, -0.027278508991003036, -0.013841531239449978, -0.10033852607011795, -0.025601306930184364, 0.0023930734023451805, 0.01338064856827259, -0.01928943768143654, -0.008921165950596333, -0.013585002161562443, 0.012366710230708122, -0.07664601504802704, -0.009121067821979523, 0.050935473293066025, 0.026073189452290535, 0.003319909330457449, 0.012881000526249409, -0.04587988555431366, -0.004963987041264772, 0.026065150275826454, -0.012481619603931904, -0.004037368576973677, -0.009529250673949718, 0.039709486067295074, 0.003600257681682706, 0.043985676020383835, -0.002792696701362729, 0.016001509502530098, 0.06044160947203636, 0.03893684968352318, 0.024315811693668365, 0.05357279255986214, -0.010465334169566631, 0.032843124121427536, -0.004826680291444063, 0.009233998134732246, -0.018213948234915733, 0.000950550427660346, -0.009019598364830017, -0.06233001872897148, 0.041551340371370316, -0.0022982805967330933, -0.006527290213853121, -0.05416610464453697, 0.06919930130243301, 0.0232198815792799, -0.044985897839069366, -0.055497992783784866, 0.04816235229372978, -0.059043999761343, 0.0167783685028553, 0.0016627259319648147, -0.007798315957188606, -0.017787940800189972, 0.06458975374698639, -0.002108932938426733, -0.007329302374273539, 0.06611314415931702, -0.019522517919540405, -0.011742723174393177, 0.03871982544660568, 0.09299246221780777, 0.0897575095295906, 0.04728885740041733, -0.011640321463346481, 0.0781237781047821, -0.03881644085049629, -0.03828443959355354, 0.01121402159333229, -0.04628170654177666, -0.00926807802170515, -0.04428187385201454, 0.04018288478255272, 0.06783102452754974, -0.027875088155269623, 0.06655369699001312, -0.014788158237934113, 0.028572075068950653, 0.032178256660699844, 0.01500552799552679, 0.02580144628882408, 0.06260956078767776, 0.001835052971728146, 0.013708754442632198, -0.014439312741160393, -0.06218525394797325, 0.038690235465765, -0.0038291860837489367, -0.020098203793168068, 0.00863660778850317, 0.006430266425013542, -0.0016962236259132624, 0.029400311410427094, 0.03072718158364296, 0.052439846098423004, -0.027263931930065155, 0.008756949566304684, 0.02717447653412819, 0.03920358791947365, -0.008613220416009426, 0.006381073035299778, -0.00696484325453639, -0.025748612359166145, -0.010202827863395214, -0.029448578134179115, -0.02071375586092472, -0.03606770187616348, -0.041356880217790604, 0.03217469900846481, -0.009064292535185814, 0.0005948313046246767, 0.018645519390702248, -0.03149513900279999, -0.028430774807929993, -0.04487386718392372, -0.025166627019643784, -0.033270835876464844, -0.0931730791926384, 0.012771569192409515, -0.00236739544197917, -0.04143353924155235, -0.0075537716038525105, -0.022836538031697273, -0.0021597009617835283, -0.022516591474413872, 0.026221873238682747, -0.01942799612879753, -0.05349646881222725, 0.014051541686058044, 0.002303001470863819, 0.013702687807381153, 0.032035887241363525, 0.03914749622344971, -0.021072007715702057, -0.0015924794133752584, -0.03317664936184883, -0.01280340924859047, 0.03384242579340935, 0.04778532683849335, -0.002547930460423231, -0.06996564567089081, 0.0020439757499843836, 0.04820186272263527, 0.019922316074371338, -0.06242780759930611, 0.0017915534554049373, 0.022451043128967285, 0.003989112563431263, 0.03443402424454689, -0.02077471651136875, -0.01353431586176157, -0.05656411126255989, -0.026274431496858597, -0.004012844059616327, 0.00181718566454947, 0.062088001519441605, -0.04249964654445648, 0.08685937523841858, 0.0015106912469491363, -0.03573916107416153, -0.043270692229270935, 0.0045748078264296055, -0.017218228429555893, 0.030058003962039948, -0.012549448758363724, -0.051605474203825, -0.03606328368186951, -0.07590484619140625, -0.006526324898004532, 0.013221163302659988, -0.0260536577552557, -0.002886906499043107, 0.0287993885576725, 0.03995729982852936, -0.05884246528148651, 0.08106338977813721, -0.03961483761668205, 0.024085503071546555, -0.03762493282556534, -0.019827671349048615, -0.009392933920025826, 0.052453506737947464, -0.025311114266514778, 0.008459357544779778, 0.04826267808675766, -0.06693799793720245, -0.02004414051771164, -0.009647553786635399, 0.019037431105971336, -0.004608720075339079, -0.04657335579395294, 0.02493739314377308 ]
[ -0.11629996448755264, -0.038114890456199646, -0.0397140234708786, -0.02056002989411354, -0.009834018535912037, -0.011178955435752869, -0.020478591322898865, 0.021306103095412254, 0.03655993193387985, -0.0419408418238163, 0.021716386079788208, -0.06145757436752319, 0.028855998069047928, 0.028111228719353676, 0.05521676316857338, 0.02303767018020153, -0.03483760356903076, -0.0513000562787056, -0.06578836590051651, 0.002335332101210952, 0.04384827986359596, -0.04066608101129532, -0.0482289157807827, -0.09714595228433609, 0.02708987519145012, 0.031861964613199234, 0.04266172647476196, -0.04569898173213005, 0.031721144914627075, -0.22775323688983917, -0.005062030162662268, 0.006929762661457062, 0.060635875910520554, -0.06614100188016891, -0.0440550297498703, 0.019571926444768906, -0.010386011563241482, -0.0009685855475254357, -0.01946384832262993, 0.05670720711350441, 0.03753215819597244, 0.037829216569662094, -0.022592445835471153, -0.025748660787940025, 0.04012620449066162, 0.0020888580475002527, -0.03689666464924812, -0.02560858242213726, -0.008536865934729576, 0.02419256791472435, -0.07997076213359833, -0.00016316125402227044, 0.004405320156365633, 0.014843073673546314, 0.005401411559432745, 0.008382555097341537, 0.043084077537059784, 0.07229194790124893, 0.007036447525024414, 0.03488102927803993, 0.008957960642874241, 0.01099569071084261, -0.10998589545488358, 0.07995819300413132, 0.00018373697821516544, 0.05982297658920288, -0.03251200169324875, -0.04863688349723816, -0.046729762107133865, 0.0644482746720314, 0.04272066429257393, -0.006908126175403595, -0.004800965078175068, 0.04201975464820862, 0.025575729086995125, -0.06542560458183289, -0.024109216406941414, 0.02596605382859707, 0.06160830333828926, -0.0009687883430160582, -0.041392602026462555, -0.04858468472957611, -0.007811211980879307, 0.013279253616929054, 0.015505907125771046, -0.010021479800343513, -0.0027735158801078796, 0.04150869697332382, 0.01148392353206873, 0.0007791614625602961, 0.015063564293086529, -0.00505045847967267, -0.01854569837450981, 0.013057689182460308, -0.023346759378910065, 0.021030845120549202, 0.024770822376012802, 0.009175737388432026, -0.02538963221013546, 0.37838634848594666, -0.024224037304520607, -0.00785224698483944, 0.020466409623622894, 0.044008661061525345, -0.029002711176872253, 0.011940956115722656, -0.058234501630067825, -0.043192505836486816, -0.012842314317822456, -0.06785425543785095, -0.02551926113665104, -0.046274375170469284, 0.07491300255060196, -0.06566809862852097, 0.005385276861488819, -0.017287442460656166, 0.06793539226055145, 0.03585761412978172, 0.03457511588931084, -0.01572953164577484, -0.0043252008035779, 0.05356527492403984, 0.009139174595475197, 0.005181068554520607, 0.03399628773331642, 0.06511909514665604, -0.015549475327134132, 0.05751350522041321, 0.043349992483854294, 0.07062654197216034, 0.044921115040779114, -0.03312615305185318, -0.044879358261823654, -0.012120749801397324, 0.002358773024752736, -0.02944495901465416, 0.004655093420296907, -0.029869571328163147, 0.02635854296386242, -0.0039994982071220875, 0.01211230643093586, -0.02887754514813423, 0.02994634211063385, -0.00914224423468113, -0.003337837988510728, 0.08258315175771713, -0.014464198611676693, -0.006673268508166075, 0.009690632112324238, -0.05430123582482338, 0.0012681790394708514, 0.017766589298844337, 0.011593296192586422, -0.07117167860269547, 0.043205101042985916, 0.023510485887527466, 0.09102103114128113, -0.00928451307117939, -0.05365745350718498, 0.028601719066500664, -0.06541300565004349, -0.020300298929214478, -0.01795213855803013, 0.07918622344732285, 0.011262331157922745, -0.0645413026213646, -0.01858094334602356, 0.020023245364427567, -0.005571339279413223, -0.07293139398097992, 0.01724870130419731, 0.038552090525627136, -0.007658164016902447, 0.055961500853300095, 0.058195337653160095, -0.026585834100842476, -0.06937401741743088, -0.010677218437194824, 0.04666707292199135, 0.04440578445792198, -0.03043230064213276, 0.011057506315410137, -0.05655921250581741, 0.010348995216190815, -0.0410209558904171, -0.07717107236385345, -0.043337833136320114, 0.01999524049460888, -0.03284363076090813, 0.0019804337061941624, 0.007676105014979839, -0.02148354798555374, -0.0611988864839077, 0.06003015488386154, -0.0181922297924757, -0.04130915179848671, 0.024398203939199448, -0.003762757172808051, -0.01269673090428114, -0.008864765986800194, -0.03524059057235718, 0.021114476025104523, 0.009824425913393497, 0.02672411873936653, -0.10737301409244537, -0.010214905254542828, 0.07114949822425842, -0.09318210929632187, 0.08077888190746307, 0.03844531998038292, 0.029409706592559814, -0.011036268435418606, -0.04191279783844948, 0.006841555237770081, -0.036642156541347504, -0.03600917011499405, -0.009570018388330936, -0.0038174246437847614, 0.023326711729168892, 0.015003460459411144, -0.0194792989641428, -0.060523901134729385, -0.05426187440752983, -0.3549821972846985, -0.048204340040683746, 0.0014709595125168562, 0.0002892317424993962, 0.021749820560216904, -0.10521550476551056, -0.02959686703979969, -0.022503294050693512, -0.040174420922994614, 0.04164187237620354, 0.05589905008673668, -0.023675426840782166, -0.009272792376577854, -0.09700104594230652, -0.0011409675935283303, 0.013094215653836727, -0.0297391377389431, -0.042362213134765625, 0.0003569574619177729, 0.03722195327281952, 0.0007950067520141602, 0.009865936823189259, -0.016634885221719742, -0.08391164988279343, -0.02877584844827652, -0.06488320976495743, 0.12330444157123566, 0.004390398971736431, 0.0722663551568985, -0.059280429035425186, 0.0599810965359211, -0.024991633370518684, -0.012081306427717209, -0.003651101840659976, -0.005118193570524454, -0.027328668162226677, -0.003788937581703067, 0.010265215300023556, 0.055810101330280304, -0.010443450883030891, -0.06456924229860306, 0.007580505684018135, -0.026617033407092094, -0.008942238055169582, -0.03715222701430321, -0.029298460111021996, -0.02463565580546856, -0.019465532153844833, 0.016454335302114487, 0.07487960159778595, -0.0013514143647626042, 0.009411673992872238, 0.029185332357883453, -0.026923222467303276, 0.007375303655862808, -0.013926155865192413, -0.0427989736199379, -0.03941813483834267, -0.015205173753201962, -0.010453465394675732, 0.029834989458322525, 0.04242069274187088, 0.06086321175098419, -0.004150524735450745, -0.0166496392339468, 0.01661742478609085, 0.01261055190116167, -0.007943712174892426, 0.024205496534705162, 0.0030786930583417416, 0.007973084226250648, 0.10483619570732117, 0.007142013404518366, 0.04051393270492554, 0.05710187554359436, 0.04328044503927231, -0.03071758523583412, 0.03667742386460304, 0.0481618233025074, 0.01888751983642578, 0.009675739333033562, -0.004629682283848524, 0.021616557613015175, -0.0030092443339526653, -0.007906348444521427, 0.01050698384642601, -0.009633096866309643, 0.0684676244854927, 0.010140595026314259, 0.03470747545361519, -0.0012880394933745265, 0.032942142337560654, 0.04648835211992264, -0.013743576593697071, 0.03153402730822563, -0.008685911074280739, -0.23237694799900055, 0.030365461483597755, 0.02667493000626564, 0.03189217671751976, -0.004091250244528055, 0.013220202177762985, 0.04948469623923302, -0.05822370573878288, -0.029304152354598045, -0.007806146517395973, 0.031380876898765564, 0.06043410673737526, 0.056418806314468384, -0.0013660049298778176, 0.022604720667004585, -0.0005262537742964923, 0.0320676788687706, -0.010081279091536999, -0.009990743361413479, 0.0028571407310664654, 0.055801089853048325, -0.011511653661727905, 0.21776975691318512, 0.006245305296033621, 0.004668117966502905, 0.008782421238720417, 0.01130666397511959, 0.039067577570676804, 0.04953174293041229, -0.00521082803606987, 0.011128720827400684, 0.03675131872296333, 0.04400782287120819, -0.032701894640922546, 0.04885653778910637, 0.01990238018333912, 0.005580436903983355, 0.029753100126981735, 0.024278979748487473, -0.03628997504711151, -0.03884191811084747, -0.004503631964325905, -0.012043529190123081, 0.007883792743086815, 0.09296821802854538, 0.014328429475426674, -0.010220070369541645, -0.04673250392079353, -0.03158384561538696, 0.043281275779008865, -0.06082001328468323, -0.03104064054787159, -0.002666698070243001, -0.036373671144247055, 0.013446461409330368, 0.02770083025097847, 0.015217308886349201, -0.0382380336523056, -0.023454422131180763, 0.028752369806170464, 0.0440872386097908, 0.0006420529680326581, 0.09205113351345062, -0.00912903156131506, -0.0006820507114753127 ]
[ -0.025502383708953857, 0.0006625464302487671, -0.00917429942637682, -0.006891604047268629, -0.002044031396508217, 0.0012503752950578928, 0.04074927791953087, 0.015271447598934174, -0.04538692161440849, -0.037946589291095734, -0.05864614620804787, 0.015193612314760685, 0.02961646020412445, -0.021045714616775513, -0.0034832770470529795, -0.019650578498840332, 0.03413134813308716, 0.026323815807700157, -0.005682002753019333, -0.034021224826574326, -0.031120216473937035, 0.022736871615052223, 0.03164053335785866, 0.0327007882297039, 0.02563018538057804, -0.03296537324786186, -0.006379603408277035, 0.009840845130383968, 0.03252987936139107, -0.12744490802288055, -0.004182963632047176, -0.02430034801363945, 0.03912779688835144, -0.03479420021176338, -0.020074227824807167, 0.04172287881374359, -0.021789900958538055, -0.017621034756302834, -0.02069222182035446, 0.0021337750367820263, -0.004706969950348139, -0.0018753045005723834, 0.029810117557644844, 0.021568944677710533, 0.017415408045053482, 0.03128473833203316, 0.018524017184972763, -0.020413296297192574, 0.006444978062063456, 0.051199913024902344, -0.03658133000135422, 0.04854098707437515, 0.007901692762970924, 0.007180359214544296, 0.0012769661843776703, 0.007906201295554638, -0.029100021347403526, -0.05592457950115204, -0.018185948953032494, -0.013156457804143429, -0.03295636922121048, 0.01821707934141159, -0.04742533713579178, -0.020635785534977913, -0.03428925946354866, -0.009802356362342834, 0.012566913850605488, 0.002179373987019062, 0.02878211997449398, -0.010521426796913147, 0.023869775235652924, 0.035026781260967255, -0.04663699120283127, -0.008697716519236565, 0.029885414987802505, -0.006199232768267393, 0.004617785103619099, -0.03536082059144974, 0.017858732491731644, -0.005028679501265287, -0.021535588428378105, -0.02613077126443386, 0.07154636830091476, -0.01869039423763752, -0.03429870307445526, -0.035770829766988754, 0.021948251873254776, 0.04756150767207146, 0.023660199716687202, 0.0032993024215102196, -0.012792108580470085, 0.07788649201393127, -0.011206141673028469, 0.030695145949721336, -0.0613788403570652, 0.03614442050457001, 0.007004697807133198, -0.022321972995996475, 0.010861325077712536, 0.812459409236908, 0.0036664269864559174, 0.00422452250495553, 0.04256361350417137, 0.02683941461145878, 0.022773928940296173, -0.016525058075785637, -0.005801999010145664, -0.014199520461261272, -0.006877390202134848, -0.04887423664331436, 0.07121983170509338, -0.027737479656934738, 0.05982217565178871, 0.043792080134153366, 0.010911434888839722, 0.00810811948031187, -0.02305842936038971, 0.01150264497846365, -0.004689130466431379, -0.00754553871229291, 0.017100023105740547, -0.016733791679143906, 0.006487073842436075, 0.040700070559978485, 0.009350509382784367, -0.15443824231624603, 0.011813300661742687, -8.089371556062904e-33, 0.048962123692035675, -0.05354568734765053, 0.020585959777235985, -0.008459781296551228, 0.04699641838669777, 0.020476501435041428, 0.04471367970108986, 0.00027039932319894433, -0.018152927979826927, 0.004108242690563202, 0.029636306688189507, -0.010522349737584591, -0.013459074310958385, -0.017506996169686317, 0.04409489780664444, 0.005817941389977932, 0.01428824383765459, 0.0278947576880455, -0.017955418676137924, -0.006419361103326082, 0.015538527630269527, 0.0503864623606205, -0.0008165671024471521, 0.013936513103544712, 0.04700075834989548, 0.06040721386671066, 0.003802285064011812, -0.011234169825911522, -0.000042668198148021474, -0.038163747638463974, -0.019382089376449585, 0.029403120279312134, -0.0012582625495269895, 0.00036409153835847974, 0.045186929404735565, -0.015699490904808044, -0.006378738209605217, 0.014096109196543694, -0.0388420894742012, -0.018285313621163368, 0.02236642688512802, 0.017778964713215828, -0.024155881255865097, -0.04089246690273285, 0.024054860696196556, -0.01354505680501461, 0.0531775988638401, 0.0518820695579052, 0.0211632139980793, 0.014372390694916248, 0.03721900284290314, 0.024544429033994675, -0.009412119165062904, -0.011044656857848167, -0.0027697961777448654, 0.014811251312494278, 0.01254365686327219, 0.04101080819964409, -0.009579653851687908, 0.0900987982749939, -0.04504425823688507, 0.023823536932468414, 0.005476020276546478, 0.04354154318571091, -0.015497206710278988, -0.04819127917289734, -0.017338458448648453, -0.02554628625512123, 0.03668742999434471, 0.04655393213033676, -0.00914733111858368, -0.02351287752389908, -0.021216142922639847, 0.0010919987689703703, -0.016857467591762543, -0.0190761536359787, -0.009381224401295185, -0.021940797567367554, -0.00540595967322588, 0.017503397539258003, 0.039002321660518646, -0.020811447873711586, -0.009022189304232597, 0.003136049024760723, -0.04063801094889641, 0.0069910199381411076, 0.0054820445366203785, -0.016232820227742195, -0.0077182454988360405, -0.035476312041282654, -0.0008669978706166148, 0.028766347095370293, 0.020775865763425827, -0.013997831381857395, -0.020411690697073936, 8.4156402987092e-33, -0.05564039945602417, -0.007657444570213556, 0.008496519178152084, 0.023905687034130096, -0.054373402148485184, 0.011326043866574764, 0.04760969430208206, -0.027162466198205948, 0.006446333136409521, 0.03592439368367195, -0.033825185149908066, 0.013506780378520489, 0.021032584831118584, -0.010861101560294628, 0.05042055994272232, -0.05324413999915123, 0.022922784090042114, 0.02599615603685379, 0.007151191588491201, 0.0005411117454059422, 0.016855111345648766, 0.022690661251544952, 0.012864531017839909, -0.001675041625276208, 0.024092786014080048, 0.031936515122652054, 0.009111967869102955, 0.026203563436865807, 0.008456898853182793, -0.009066925384104252, 0.011473841033875942, -0.008547560311853886, 0.02266816981136799, -0.013558335602283478, 0.0010035980958491564, -0.01071053184568882, 0.03590655326843262, -0.02408379316329956, 0.016349202021956444, -0.002038331236690283, -0.0024015915114432573, -0.039001692086458206, 0.02471400797367096, -0.012331238947808743, 0.009426356293261051, 0.012525037862360477, -0.013086633756756783, -0.0027749715372920036, 0.0234405305236578, 0.005667068529874086, 0.004096234682947397, -0.011530198156833649, -0.046707313507795334, 0.013531357049942017, -0.02615278773009777, -0.014811387285590172, -0.05283977836370468, 0.038695093244314194, 0.0030513587407767773, -0.006563185714185238, -0.01858200505375862, -0.009600792080163956, -0.004352060612291098, 0.005999451037496328, -0.004899745807051659, 0.0015003927983343601, -0.05016963556408882, -0.06392387300729752, -0.008513049222528934, -0.01269871648401022, -0.031729284673929214, -0.02471904829144478, 0.019782617688179016, 0.023607641458511353, -0.055848799645900726, -0.027501866221427917, -0.004864919930696487, -0.02050270140171051, 0.030808478593826294, -0.018277540802955627, 0.02391887456178665, -0.015102559700608253, 0.033663153648376465, 0.0019933755975216627, 0.0166324395686388, -0.009666834957897663, 0.010660253465175629, 0.020830629393458366, 0.07322917878627777, 0.0003073069965466857, -0.015080525539815426, 0.009890728630125523, 0.01844523474574089, -0.004520501010119915, -0.010329009965062141, -1.3054262559819563e-8, 0.025758890435099602, -0.022250128909945488, -0.06463444232940674, 0.008674935437738895, 0.008407015353441238, 0.03178689628839493, -0.021326715126633644, -0.02491268888115883, -0.007896771654486656, -0.0076140593737363815, 0.015990890562534332, -0.0194401852786541, -0.012781579047441483, 0.006810999941080809, 0.034205496311187744, -0.03533634915947914, 0.038223233073949814, -0.04205009713768959, 0.010773940943181515, 0.0013015946606174111, -0.03976093977689743, 0.04507245868444443, -0.003272395581007004, -0.003919666633009911, -0.048658452928066254, -0.025188621133565903, 0.053022194653749466, -0.08590468019247055, 0.032625991851091385, 0.0048243203200399876, -0.016085587441921234, -0.05350412055850029, -0.0019794749096035957, 0.017684929072856903, -0.037414949387311935, -0.014111611060798168, -0.016469506546854973, 0.030609074980020523, 0.0479542501270771, -0.048055488616228104, -0.018699243664741516, -0.05392620339989662, 0.0215827114880085, -0.029683619737625122, -0.04933164268732071, -0.04407712072134018, 0.0007491906289942563, 0.006102756131440401, 0.04058312624692917, -0.0005881499382667243, 0.003701000940054655, 0.0023406697437167168, 0.024064330384135246, -0.011665822938084602, 0.03449425846338272, -0.0028798456769436598, 0.008860801346600056, -0.03387710079550743, -0.016611667349934578, -0.00272774463519454, 0.015329091809689999, -0.01873163692653179, -0.04652860015630722, -0.029903121292591095 ]
haskell-generating-random-numbers
https://markhneedham.com/blog/2012/05/08/haskell-generating-random-numbers
false
2012-05-23 06:44:41
Haskell: Using monoids when sorting by multiple parameters
[ "haskell" ]
[ "Haskell" ]
On the project I've been working on we had a requirement to sort a collection of rows by 4 different criteria such that if two items matched for the first criteria we should consider the second criteria and so on. If we wrote that code in Haskell it would read a bit like this: [source,haskell] ---- data Row = Row { shortListed :: Bool, cost :: Float, distance1 :: Int, distance2 :: Int } deriving (Show, Eq) ---- [source,haskell] ---- import Data.Ord import Data.List compareRow :: Row -> Row -> Ordering compareRow x y = if comparing (not . shortListed) x y == EQ then if comparing cost x y == EQ then if comparing distance1 x y == EQ then comparing distance2 x y else comparing distance1 x y else comparing cost x y else comparing (not . shortListed) x y ---- We can then sort a list of rows like this: [source,haskell] ---- > let shortListedRow = Row {shortListed = True, cost = 10.0, distance1 = 20, distance2 = 30 } > let nonShortListedRow = Row {shortListed = False, cost = 10.0, distance1 = 20, distance2 = 30 } > sortBy compareRow [nonShortListedRow, shortListedRow] [Row {shortListed = True, cost = 10.0, distance1 = 20, distance2 = 30}, Row {shortListed = False, cost = 10.0, distance1 = 20, distance2 = 30}] ---- It works but it's messy and we couldn't see what abstraction we should be using to simplify the code. I was continuing with my reading of http://learnyouahaskell.com/functors-applicative-functors-and-monoids[Functors, Applicative Functors and Monoids] yesterday and got to the section on Monoids which showed an example for simplifying this type of code. The definition of a Monoid from the Haskell source code is: ____ Types with an associative binary operation that has an identity ____ But I prefer http://blog.sigfpe.com/2009/01/haskell-monoids-and-their-uses.html[Dan Piponi's definition]: ____ In Haskell, a monoid is a type with a rule for how two elements of that type can be combined to make another element of the same type. To be a monoid there also needs to be an element that you can think of as representing 'nothing' in the sense that when it's combined with other elements it leaves the other element unchanged. ____ In our case we have a bunch of things of type 'Ordering' and we want to combine them all together and end up with a final 'Ordering' which takes them all into account. For example if we were comparing the following two rows: [source,haskell] ---- > let row1 = Row {shortListed = True, cost = 10.0, distance1 = 1, distance2 = 30 } > let row2 = Row {shortListed = True, cost = 10.0, distance1 = 100, distance2 = 30 } > compareRow row1 row2 LT ---- When we compare their shortListed value we get back 'EQ', so we compare their cost value and get back 'EQ' and finally we compare their distance1 value which gives back 'LT' which is our final value. We can make use of the Ordering Monoid to do this rather than all the nested if statements. Monoid is a http://www.markhneedham.com/blog/2012/05/22/scalahaskell-a-simple-example-of-type-classes/[type class] defined like so: [source,haskell] ---- class Monoid a where mempty :: a mappend :: a -> a -> a mconcat :: [a] -> a mconcat = foldr mappend mempty ---- 'mempty' represents the identity value for a monoid i.e. the 'nothing' in Dan Piponi's definition. If we combine anything with this then we should get that thing back. The most interesting function here is 'mappend' which we use to combine together two elements of a type. Each instance of Monoid needs to define this function for themselves. The Ordering Monoid is defined like so: [source,haskell] ---- instance Monoid Ordering where mempty = EQ LT `mappend` _ = LT EQ `mappend` y = y GT `mappend` _ = GT ---- What makes this work for us is that we always keep the value on the left unless it's 'EQ' in which case we take the value on the right. Therefore as soon as one of our comparisons returns a non 'EQ' value that will be the value that eventually gets returned. e.g. [source,text] ---- > GT `mappend` LT `mappend` EQ GT ---- Our 'row1'/'row2' comparison would look like this using 'mappend': [source,text] ---- > EQ `mappend` EQ `mappend` LT LT ---- We can then change our 'compareRow' function: [source,haskell] ---- compareRow x y = comparing (not . shortListed) x y `mappend` comparing cost x y `mappend` comparing distance1 x y `mappend` comparing distance2 x y ---- We can simplify this further by making use of 'mconcat' which folds over a list of monoids applying 'mappend' each time. For example we could replace our 'row1'/'row2' comparison with the following: [source,text] ---- > mconcat [EQ, EQ, LT] LT ---- And 'compareRow' now reads like this: [source,haskell] ---- compareRow x y = mconcat [comparing (not . shortListed) x y, comparing cost x y, comparing distance1 x y, comparing distance2 x y] ---- We're still repeating the 'comparing' bit of code every time so I extracted that into a function: [source,haskell] ---- by :: Ord a => (b -> a) -> b -> b -> Ordering by fn x y = comparing fn x y ---- We then need to apply those functions to x and y to get our collection of monoids we can pass to mconcat: [source,haskell] ---- compareRow x y = mconcat $ map (\fn -> fn x y) [by (not . shortListed), by cost, by distance1, by distance2] ---- [.line-through]#One problem with this code is that we're now comparing by all the parameters when we can actually stop once we've found a non equality.# [.line-through]#I'm sure there's a clever way to short circuit this but I'm not sure what it is at the moment!# As BeRewt points out in the comments what I wrote here is not actually the case, it is lazily evaluated!
null
null
[ -0.01773051731288433, 0.013055297546088696, -0.03524666279554367, 0.022481190040707588, 0.04365897551178932, 0.03425828367471695, -0.011299658566713333, 0.0011683907359838486, 0.010834936983883381, -0.02277740091085434, 0.019264234229922295, 0.0029150713235139847, -0.07956670969724655, 0.021561283618211746, 0.013499763794243336, 0.057645004242658615, 0.051078397780656815, -0.0010105615947395563, -0.012230533175170422, -0.0022107348777353764, 0.014404971152544022, 0.06691718101501465, -0.04334072768688202, 0.020045461133122444, 0.053739774972200394, 0.02645084634423256, 0.028055021539330482, 0.012658055871725082, -0.02728150598704815, 0.013095805421471596, 0.04757419601082802, 0.016029691323637962, -0.004651046358048916, -0.021693892776966095, 0.018761664628982544, -0.0054370323196053505, 0.012700925581157207, -0.008492602966725826, -0.007155754137784243, -0.003023352473974228, -0.07130376249551773, 0.0421527661383152, 0.0014156063552945852, 0.000855857681017369, -0.058543018996715546, 0.006012256257236004, -0.07080111652612686, 0.0072977785021066666, -0.05125725641846657, 0.02348250336945057, -0.05934006720781326, 0.0029009650461375713, -0.040616992861032486, -0.019401516765356064, -0.00798938050866127, 0.05969710275530815, 0.01788066141307354, -0.06842777878046036, 0.03601481020450592, -0.01683150604367256, 0.009303011000156403, -0.010351628996431828, 0.017236841842532158, 0.009882116690278053, 0.03468337282538414, -0.01716339774429798, -0.03722047433257103, 0.03674478828907013, -0.04272700473666191, 0.00134597800206393, -0.009671105071902275, 0.0077990260906517506, -0.005407997407019138, 0.0015519654843956232, -0.010056575760245323, -0.025479095056653023, 0.007830721326172352, 0.06161557883024216, 0.013267585076391697, 0.03738259896636009, -0.010753375478088856, 0.011840214021503925, -0.0009659779025241733, 0.03523586690425873, 0.03454669564962387, -0.008871389552950859, -0.07551037520170212, 0.005963632836937904, -0.049477718770504, 0.04353063181042671, 0.00008990364585770294, -0.035082198679447174, -0.009381578303873539, 0.0030906761530786753, -0.02393621951341629, 0.008679449558258057, 0.0035378600005060434, 0.008173073641955853, 0.008820374496281147, -0.002807517070323229, -0.058062594383955, -0.041812919080257416, 0.0705920159816742, -0.02111131139099598, -0.06047551706433296, 0.001345822005532682, -0.045928653329610825, -0.010777154006063938, 0.037308305501937866, 0.016289927065372467, -0.039008479565382004, -0.018437255173921585, -0.003934191539883614, 0.02921881712973118, -0.08553750813007355, 0.07686816155910492, 0.01766812428832054, -0.006361884996294975, 0.004940392449498177, 0.041061557829380035, 0.05237244442105293, -0.0010756503324955702, -0.016236862167716026, 0.087304025888443, 0.008392120711505413, 0.03762427344918251, -0.02482495829463005, 0.06633663177490234, -0.03500678390264511, -0.06924889236688614, -0.031309567391872406, 0.06792088598012924, -0.03519574552774429, 0.0042457678355276585, -0.038830239325761795, -0.020640363916754723, -0.049935027956962585, 0.01098902802914381, 0.05153325945138931, 0.040626607835292816, 0.013850427232682705, -0.045691486448049545, 0.028974346816539764, -0.027682675048708916, 0.03334975615143776, -0.024194611236453056, 0.00012053766113240272, -0.010811119340360165, -0.0000624004314886406, 0.019764959812164307, 0.005333552602678537, 0.03681142255663872, 0.03496779501438141, -0.02849067747592926, 0.03199634328484535, 0.088075190782547, 0.03877344727516174, 0.01692339964210987, 0.0034802784211933613, 0.000978856231085956, 0.006599252112209797, 0.043635107576847076, 0.020446820184588432, 0.02707763947546482, 0.021930474787950516, -0.0029747262597084045, -0.02876056358218193, 0.062179118394851685, -0.03095785155892372, -0.019876629114151, -0.03468732163310051, -0.04027920961380005, 0.06144433096051216, -0.024869689717888832, 0.012623356655240059, 0.011619669385254383, 0.07248463481664658, 0.03565673530101776, 0.069680355489254, -0.02051275409758091, -0.06263551861047745, 0.03421511501073837, -0.013276482932269573, 0.03983704000711441, 0.014174045994877815, 0.019699882715940475, 0.05425778031349182, 0.017895523458719254, 0.01586305722594261, 0.039039477705955505, -0.05695329234004021, -0.07652556151151657, -0.009631754830479622, -0.03449001908302307, 0.06043233349919319, -0.024808544665575027, -0.01820552349090576, 0.06896008551120758, 0.0021027112379670143, 0.047809600830078125, -0.004266588017344475, -0.0036644339561462402, 0.036712661385536194, -0.02675166353583336, -0.02234247699379921, 0.0566970631480217, 0.04699339717626572, -0.01479521207511425, -0.04736808314919472, -0.002387543208897114, 0.0025254280772060156, -0.018848737701773643, 0.01903480850160122, -0.020633189007639885, 0.06180935353040695, 0.050130948424339294, 0.05113445967435837, -0.01512638758867979, 0.02356567792594433, -0.0789937674999237, 0.07028007507324219, 0.033587485551834106, -0.007695759646594524, -0.03928084298968315, -0.015561569482088089, 0.11942216008901596, 0.07255956530570984, -0.05138751491904259, -0.050950970500707626, 0.02739035338163376, -0.01585114374756813, 0.0116644985973835, 0.019339410588145256, -0.010166419669985771, -0.02322869561612606, -0.02262607030570507, -0.02364359050989151, -0.006629704497754574, 0.033457085490226746, -0.02026740275323391, -0.02692282944917679, 0.054055552929639816, -0.021406924352049828, 0.0549943782389164, 0.008312627673149109, -0.02695607766509056, 0.006030193530023098, -0.01342721190303564, -0.052738483995199203, 0.00794694572687149, 0.029393156990408897, -0.005976860411465168, 0.055631063878536224, -0.0171140618622303, -0.013049250468611717, -0.017905887216329575, -0.013001976534724236, 0.026575516909360886, 0.05622490867972374, 0.04484131559729576, -0.023263994604349136, 0.03488745167851448, -0.011553717777132988, -0.03237030655145645, -0.018891721963882446, -0.04776635393500328, -0.05057462304830551, -0.0010548824211582541, 0.004968589171767235, 0.03561020269989967, 0.05206016078591347, -0.001903530559502542, 0.02282334491610527, -0.009700251743197441, -0.02111155539751053, -0.014782858081161976, 0.021066635847091675, -0.02352120541036129, -0.03345886990427971, -0.04100813716650009, -0.032872915267944336, 0.05316973105072975, -0.03637278079986572, -0.034138113260269165, 0.02170879952609539, -0.03970395028591156, 0.05979343503713608, -0.07457378506660461, -0.023266516625881195, 0.015712695196270943, 0.04126666486263275, 0.040738191455602646, -0.0275252852588892, -0.0334382988512516, 0.06932428479194641, -0.011038202792406082, 0.028278851881623268, 0.01027370523661375, 0.012359085492789745, 0.022387390956282616, -0.0016276165843009949, 0.04356776177883148, 0.051911819726228714, -0.008212417364120483, -0.0022337513510137796, -0.038823142647743225, -0.0058311051689088345, 0.004936272278428078, -0.25146710872650146, 0.011434109881520271, -0.03607121482491493, -0.018079163506627083, 0.018724674358963966, -0.045679379254579544, -0.01924399472773075, -0.022153032943606377, -0.010691770352423191, -0.006649394519627094, -0.03370925039052963, -0.018632875755429268, -0.03648236766457558, 0.06660521030426025, 0.02706112153828144, 0.044512104243040085, -0.027945274487137794, -0.03615899384021759, -0.0012090852251276374, 0.060859378427267075, -0.01730206608772278, -0.03807274252176285, -0.022636935114860535, 0.04519912600517273, 0.009358331561088562, 0.047786299139261246, -0.07852866500616074, 0.007010574918240309, -0.0659312829375267, -0.06370540708303452, 0.0008913970086723566, 0.0017715785652399063, -0.002887439215555787, -0.034019358456134796, 0.002543118316680193, -0.04627503454685211, 0.023786135017871857, 0.00852758064866066, 0.012600752525031567, 0.06322541832923889, -0.0116841746494174, -0.035426393151283264, 0.012629772536456585, -0.0036415508948266506, 0.07740766555070877, -0.019043512642383575, -0.06589975208044052, 0.0006917982827872038, -0.019000107422471046, 0.05999533832073212, -0.01727987267076969, -0.02418169192969799, -0.023366568610072136, 0.042746733874082565, -0.010833928361535072, 0.016535364091396332, 0.008274397812783718, -0.014910221099853516, -0.06142209842801094, -0.005216148216277361, -0.04212880879640579, -0.04690280556678772, -0.026467714458703995, -0.06876084953546524, -0.0446741096675396, -0.05829022824764252, -0.07981105148792267, 0.015122720040380955, 0.028903333470225334, 0.0035439617931842804, -0.021732915192842484, -0.02297191508114338, -0.01392298098653555, -0.11499179154634476, -0.024563781917095184, -0.010722201317548752, -0.016814805567264557, -0.009204878471791744, 0.03222370892763138, 0.053571656346321106, -0.04939411208033562, -0.0808401107788086, 0.0352306105196476, 0.012462536804378033, 0.01193398330360651, -0.012889903970062733, 0.02205996960401535, -0.008343737572431564, -0.017635995522141457, -0.007768957410007715, 0.054418034851551056, -0.004628709051758051, -0.01852545328438282, -0.018642818555235863, -0.0024384029675275087, 0.024139737710356712, 0.0032364134676754475, -0.026640092954039574, 0.014183297753334045, 0.029185673221945763, -0.004571821074932814, -0.036900218576192856, 0.0077451057732105255, -0.008712869137525558, -0.029875267297029495, -0.0017302815103903413, -0.0760686844587326, 0.059073369950056076, 0.03375944495201111, 0.02946297824382782, -0.005783552769571543, -0.03798118606209755, 0.029680784791707993, -0.07556189596652985, -0.02411133237183094, -0.026176773011684418, 0.004209761507809162, 0.03434089198708534, 0.015062756836414337, 0.02575395442545414, -0.06998356431722641, -0.01306819822639227, -0.0029529654420912266, -0.006597801111638546, -0.057923465967178345, -0.02068685181438923, -0.019763832911849022, -0.007717416156083345, -0.020172173157334328, 0.022208435460925102, -0.026811666786670685, 0.029837610200047493, 0.011494908481836319, -0.008533546701073647, 0.024684220552444458, -0.014295309782028198, -0.031123319640755653, -0.023324579000473022, -0.03827011585235596, -0.030081860721111298, 0.040384817868471146, -0.026341872289776802, 0.037498559802770615, 0.0266326405107975, 0.05433858931064606, -0.009537572972476482, 0.01181202195584774, 0.019530879333615303, 0.02136721834540367, 0.029839210212230682, -0.04638553783297539, -0.03636898845434189, 0.009174386970698833, -0.031712837517261505, -0.031756117939949036, -0.0048889354802668095, 0.041406139731407166, -0.002478411654010415, -0.051726605743169785, -0.0629274994134903, 0.03651147708296776, -0.026199975982308388, -0.042556390166282654, -0.046849898993968964, 0.01313005480915308, 0.06019150838255882, -0.019842982292175293, 0.03485669940710068, -0.03553887456655502, 0.002843077527359128, -0.008328108116984367, 0.02756667695939541, -0.027058549225330353, 0.042403530329465866, -0.012762045487761497, -0.018260888755321503, 0.030526280403137207, 0.021588465198874474, 0.023399973288178444, 0.025259418413043022, -0.021715354174375534, -0.038087937980890274, -0.009777835570275784, 0.009042434394359589, 0.04863249510526657, 0.019667597487568855, 0.015779562294483185, 0.01892850548028946, -0.005100022070109844, -0.04050334542989731, -0.03652722388505936, -0.024329867213964462, -0.028779486194252968, 0.016446927562355995, -0.030256111174821854, -0.06592220067977905, 0.025355322286486626, -0.002102901227772236, -0.0018585424404591322, 0.001275597489438951, 0.009322097525000572, -0.0069511085748672485, -0.016160152852535248, -0.007318114396184683, 0.06841425597667694, -0.07026264816522598, 0.002755687804892659, 0.003745696507394314, 0.010926013812422752, 0.024653051048517227, 0.034331198781728745, -0.0892525240778923, -0.018674004822969437, 0.011195671744644642, -0.014969876036047935, -0.002054135547950864, -0.04613832011818886, -0.019650429487228394, -0.013357052579522133, -0.04227643832564354, -0.020037144422531128, -0.02123516984283924, -0.0007846674998290837, -0.025217531248927116, -0.03067813627421856, 0.026261739432811737, -0.03886358439922333, -0.03701397031545639, 0.02928658202290535, -0.017123743891716003, 0.020882178097963333, -0.002104799496009946, 0.023275448009371758, 0.01927449181675911, -0.0026791647542268038, -0.009988469071686268, -0.061580590903759, 0.009343837387859821, -0.028040597215294838, 0.039461731910705566, 0.012418310157954693, 0.007926762104034424, 0.014540962874889374, -0.016492275521159172, -0.04871757701039314, 0.019612880423665047, 0.027403218671679497, -0.03205399587750435, 0.007523984182626009, 0.0286326315253973, -0.047616396099328995, 0.045794617384672165, 0.004379818215966225, -0.02651996724307537, 0.04626837745308876, -0.011061680503189564, -0.019057651981711388, -0.006545007228851318, -0.0437905453145504, 0.029986029490828514, -0.007513277232646942, 0.04452430084347725, -0.014359568245708942, 0.01976812072098255, 0.05476933717727661, 0.05981571599841118, 0.06733355671167374, -0.0019409125670790672, 0.05107651650905609, -0.03365476429462433, -0.0040452140383422375, -0.08945190906524658, -0.02725825272500515, 0.007297838572412729, -0.007144497707486153, -0.026475680992007256, -0.026838606223464012, -0.0020781413186341524, 0.030054422095417976, -0.038112279027700424, -0.01701381988823414, 0.011760642752051353, 0.005070683546364307, 0.00442476337775588, 0.027174463495612144, -0.03817920759320259, 0.02768203802406788, 0.030046483501791954, -0.01597900688648224, 0.0008002290851436555, -0.012721709907054901, 0.03313158452510834, -0.007131202146410942, 0.04214675351977348, -0.02950802631676197, -0.03525415062904358, 0.053401459008455276, 0.05069941282272339, 0.01813686452805996, 0.0479063056409359, -0.028853651136159897, 0.030696213245391846, -0.0009852750226855278, -0.023546241223812103, -0.0127201396971941, 0.06542280316352844, -0.023877734318375587, -0.042625222355127335, 0.018824271857738495, 0.03840305283665657, -0.03125172480940819, -0.05751246586441994, 0.0767449215054512, 0.02186433970928192, -0.015916217118501663, -0.041017454117536545, 0.02483774535357952, -0.06534891575574875, 0.020045556128025055, -0.016776010394096375, -0.0017840864602476358, -0.0628974661231041, 0.04714587703347206, 0.012179111130535603, -0.02385185845196247, 0.06009368970990181, 0.004257749766111374, -0.0012489354703575373, 0.012884656898677349, 0.1036444678902626, 0.08436768501996994, 0.07092025876045227, -0.02688666246831417, 0.055258024483919144, -0.04679621383547783, -0.028827179223299026, -0.005498130805790424, -0.058777544647455215, 0.005129076540470123, -0.004625160712748766, 0.025376157835125923, 0.08012402802705765, -0.03151793032884598, 0.0417201966047287, -0.04181298986077309, 0.025417333468794823, 0.0009696137858554721, 0.020458340644836426, 0.026880577206611633, 0.06628745794296265, 0.02934039570391178, 0.0596170611679554, 0.0018505731131881475, -0.0394582562148571, -0.0013530486030504107, 0.00960379559546709, -0.009690598584711552, -0.00868329219520092, -0.0012038160348311067, 0.016941770911216736, 0.016459191218018532, 0.05187206342816353, 0.06144781783223152, -0.02140122838318348, -0.011203193105757236, -0.015036149881780148, 0.026005400344729424, -0.02390003204345703, -0.012747103348374367, -0.004548371769487858, -0.04230879247188568, 0.004608029033988714, -0.018627896904945374, -0.01989695429801941, 0.003182068234309554, -0.020297914743423462, 0.03485077992081642, -0.01296367309987545, 0.011995131149888039, 0.03831461817026138, 0.0053592249751091, -0.013681518845260143, -0.03388979285955429, -0.02865603007376194, -0.01982964761555195, -0.066535584628582, 0.022108666598796844, 0.00662536546587944, -0.022711768746376038, 0.002556480700150132, -0.045187752693891525, 0.005572983995079994, -0.013390561565756798, 0.04696834087371826, -0.01808832213282585, -0.0130772665143013, -0.0013090461725369096, 0.02355671301484108, 0.031141657382249832, 0.015108749270439148, 0.04726949334144592, -0.00007201790140243247, 0.007734130136668682, -0.024616148322820663, -0.01661751978099346, 0.04553657025098801, 0.04363369941711426, -0.0035479776561260223, -0.07667509466409683, -0.031212370842695236, 0.007531187031418085, 0.029414527118206024, -0.08346378058195114, 0.0002844860136974603, 0.0032782808411866426, 0.008360563777387142, 0.036545827984809875, 0.00398431159555912, -0.01528406236320734, -0.001765348599292338, -0.008423631079494953, 0.009584972634911537, 0.02482336014509201, 0.0439748577773571, -0.050113577395677567, 0.08296255022287369, 0.012346859090030193, -0.01627321168780327, -0.030409209430217743, 0.02551509067416191, -0.04766405373811722, 0.03715978190302849, -0.05059776455163956, -0.038541387766599655, -0.03862025961279869, -0.05816894397139549, -0.01624210737645626, 0.011285332962870598, -0.03440660983324051, -0.032261863350868225, 0.020759342238307, 0.05836344137787819, -0.055849574506282806, 0.06872326135635376, -0.043435171246528625, 0.027212921530008316, -0.026687463745474815, -0.04742316156625748, -0.003234469098970294, 0.020002825185656548, -0.014126021414995193, 0.014352192170917988, 0.017136968672275543, -0.03288066387176514, 0.015073573216795921, -0.0043428996577858925, 0.008519659750163555, 0.019704634323716164, -0.015667753294110298, 0.028853030875325203 ]
[ -0.0995660349726677, -0.022418083623051643, -0.03090094029903412, -0.01398328598588705, 0.005917991045862436, -0.023535313084721565, 0.02180948294699192, 0.016917789354920387, 0.04635206609964371, -0.031757328659296036, -0.011870654299855232, -0.05420651286840439, 0.007422222290188074, 0.02336667664349079, 0.0687229260802269, -0.010973500087857246, -0.005126100964844227, -0.017874807119369507, -0.05880683287978172, 0.01642630062997341, 0.006357813719660044, -0.032365936785936356, -0.07258974015712738, -0.07157128304243088, 0.03426850959658623, 0.07309320569038391, 0.03987015783786774, -0.05763208121061325, 0.0073265801183879375, -0.23262137174606323, -0.031895287334918976, -0.01303152460604906, 0.06924580782651901, -0.048610176891088486, 0.019049379974603653, 0.012960989028215408, -0.001296745496802032, -0.004295663442462683, -0.0253911055624485, 0.05057619884610176, 0.018242105841636658, 0.027951017022132874, -0.04611491411924362, -0.009819846600294113, 0.03215891495347023, -0.0023393300361931324, -0.057323139160871506, -0.01181759126484394, -0.0201274324208498, 0.0154591528698802, -0.06752539426088333, -0.028871849179267883, -0.030297042801976204, -0.019409814849495888, 0.008402321487665176, 0.03951943293213844, 0.04213118180632591, 0.07453997433185577, -0.0010554094333201647, 0.011467589996755123, 0.03325089067220688, 0.0040762280113995075, -0.10897637903690338, 0.10315371304750443, 0.023306965827941895, 0.027150984853506088, -0.0487787127494812, -0.04395855590701103, -0.05715474486351013, 0.09320583939552307, -0.010123993270099163, -0.027068881317973137, -0.000028805148758692667, 0.07958979159593582, 0.010068868286907673, -0.0729757696390152, -0.009291192516684532, -0.0236530601978302, 0.06306557357311249, -0.01052576769143343, -0.05328527092933655, -0.017557037994265556, -0.03327588737010956, -0.0292314812541008, 0.033690787851810455, 0.03461678698658943, -0.019562605768442154, 0.038664985448122025, 0.02429921180009842, -0.01977977715432644, 0.028772152960300446, -0.004161371849477291, -0.02484910376369953, 0.022591186687350273, -0.04814525693655014, -0.004785868804901838, -0.04907293617725372, 0.013595721684396267, -0.014210499823093414, 0.39303088188171387, -0.021520914509892464, 0.029282907024025917, 0.022425604984164238, 0.030925581231713295, -0.014146841131150723, -0.009131653234362602, -0.020128685981035233, -0.08170165866613388, -0.011314772069454193, -0.061706412583589554, -0.014889017678797245, -0.01927332766354084, 0.08674050122499466, -0.07176049798727036, -0.009539637714624405, 0.0004789873491972685, 0.04313202574849129, 0.003765503643080592, 0.038591571152210236, 0.0037895352579653263, -0.004108909983187914, -0.012864295393228531, 0.023843180388212204, -0.007771835662424564, -0.024156766012310982, 0.022198224440217018, 0.04654787480831146, 0.044939856976270676, 0.02546904981136322, 0.053576331585645676, 0.06452097743749619, -0.06030571460723877, -0.0703807845711708, 0.002303201938048005, -0.00036239888868294656, 0.020365729928016663, 0.04413904622197151, -0.013051746413111687, 0.0029541286639869213, 0.007092781364917755, -0.012620699591934681, -0.05152023211121559, 0.0246365275233984, 0.0034343013539910316, -0.01837615855038166, 0.14473849534988403, -0.032285742461681366, -0.03245386481285095, -0.05010119825601578, -0.053857240825891495, -0.007335980888456106, 0.01121229026466608, 0.025307798758149147, -0.08348263800144196, -0.0015399999683722854, 0.014309290796518326, 0.06352676451206207, -0.028511226177215576, -0.05399549379944801, 0.008373832330107689, -0.027885740622878075, -0.041302621364593506, -0.038397274911403656, 0.07412315905094147, 0.003969923593103886, -0.06981005519628525, -0.03787517547607422, 0.007149951998144388, 0.026349611580371857, -0.052261002361774445, 0.019930049777030945, 0.04608554393053055, -0.029902702197432518, 0.036689888685941696, 0.04384947940707207, -0.029753807932138443, -0.025648940354585648, -0.0011737170862033963, 0.06900987029075623, 0.0016219542594626546, 0.020353715866804123, -0.009941021911799908, -0.05896681547164917, 0.0046284873969852924, -0.011464831419289112, -0.03714155778288841, -0.07536055147647858, -0.00025068779359571636, -0.021619359031319618, -0.009720993228256702, 0.026688387617468834, -0.026683051139116287, -0.024034712463617325, 0.04991099238395691, -0.029044250026345253, -0.028624795377254486, 0.0512872114777565, 0.001429175492376089, -0.007135448977351189, -0.0038985349237918854, 0.0034320566337555647, 0.032017942517995834, 0.009607312269508839, 0.027624135836958885, -0.062396448105573654, -0.02549063041806221, 0.0421593077480793, -0.07091736793518066, 0.0926065593957901, 0.024417269974946976, -0.02370614930987358, 0.009626820683479309, -0.027968527749180794, -0.0023616075050085783, 0.03359781950712204, -0.04053596407175064, 0.028568968176841736, -0.0070750960148870945, 0.04294271394610405, 0.031894534826278687, -0.030615950003266335, -0.08064703643321991, -0.0016045032534748316, -0.3439291715621948, -0.056538455188274384, -0.009615957736968994, -0.007293140981346369, -0.02025303989648819, -0.06519504636526108, -0.013155108317732811, -0.017342673614621162, -0.07300987839698792, 0.0677097886800766, 0.08905835449695587, 0.018321998417377472, 0.018188601359725, -0.05659875646233559, -0.009264802560210228, 0.029181038960814476, -0.02681862935423851, -0.020512491464614868, -0.020169313997030258, 0.005227303132414818, 0.006884750910103321, 0.03212573751807213, 0.01009435672312975, -0.07684116810560226, -0.01935662515461445, -0.03667953982949257, 0.1330733448266983, 0.0005143852322362363, 0.060071222484111786, -0.01809609867632389, 0.05571336671710014, -0.009685294702649117, -0.009884318336844444, -0.014884063974022865, 0.0032226431649178267, -0.031662292778491974, -0.05629663169384003, -0.02665267325937748, 0.009062970988452435, -0.030254485085606575, -0.06353200227022171, 0.0022658989764750004, -0.022117258980870247, -0.01270153559744358, 0.00034746620804071426, -0.0061490945518016815, 0.004246988799422979, -0.030489549040794373, 0.018104761838912964, 0.07628323137760162, 0.015519129112362862, -0.008769863285124302, 0.039588890969753265, 0.033089395612478256, -0.008878667838871479, -0.005539366044104099, -0.03723445534706116, -0.05527579411864281, -0.015564791858196259, -0.016531310975551605, 0.025628739967942238, 0.04625314474105835, 0.06643452495336533, -0.008089537732303143, -0.031015358865261078, -0.011053944937884808, -0.000853125296998769, 0.002760453848168254, 0.004805041942745447, -0.030799655243754387, -0.025560807436704636, 0.06249150261282921, 0.0008320214110426605, 0.015372189693152905, 0.02846330776810646, 0.056575383991003036, -0.019623491913080215, 0.07759397476911545, 0.06101585179567337, 0.00794871337711811, 0.021801859140396118, 0.016322441399097443, 0.018979275599122047, -0.027046149596571922, 0.012439863756299019, 0.035957351326942444, 0.03299659490585327, 0.055168792605400085, 0.03216236084699631, 0.027107389643788338, -0.009329533204436302, 0.02962080016732216, -0.0013557279016822577, -0.010500136762857437, 0.05607466772198677, -0.015776798129081726, -0.243982195854187, 0.04990258440375328, 0.03878066688776016, 0.04398232325911522, 0.001256513991393149, 0.013002840802073479, 0.019844282418489456, -0.049210503697395325, -0.023147691041231155, -0.04698824882507324, 0.03602495789527893, 0.059798967093229294, 0.055271148681640625, -0.00227511883713305, -0.005226022098213434, -0.0031544743105769157, 0.074522003531456, -0.01693631149828434, 0.005574143026024103, 0.03789885714650154, 0.014881874434649944, -0.015308946371078491, 0.1988285779953003, 0.010304371826350689, 0.004895386286079884, -0.007536220829933882, 0.00801576767116785, 0.019222328439354897, 0.03905932232737541, 0.03588208183646202, 0.011945043690502644, -0.009093849919736385, 0.057592254132032394, -0.011038622818887234, 0.04659094288945198, 0.029577849432826042, 0.013730564154684544, 0.06461010873317719, 0.04461991414427757, -0.015346581116318703, -0.049132637679576874, 0.02956043742597103, -0.05601411312818527, 0.02537526562809944, 0.06849974393844604, 0.027478573843836784, -0.03713047504425049, -0.059224970638751984, -0.07402513921260834, 0.032154180109500885, -0.02084476128220558, -0.010971423238515854, -0.016391370445489883, -0.013343537226319313, 0.0009576559532433748, 0.042863018810749054, 0.009268500842154026, -0.01464381255209446, 0.00496130483224988, -0.006929547991603613, 0.010586115531623363, -0.03236449509859085, 0.0842713713645935, 0.009975505992770195, 0.04071369767189026 ]
[ -0.01784849725663662, 0.021993355825543404, -0.014687974937260151, 0.022157808765769005, -0.025076430290937424, -0.007888845168054104, 0.003479152685031295, -0.023636510595679283, -0.04742150753736496, 0.01613573543727398, -0.023739438503980637, -0.024472743272781372, 0.03172948956489563, 0.009249381721019745, -0.004403700586408377, 0.02742779068648815, 0.03853142261505127, 0.010043558664619923, 0.03100801259279251, -0.014966401271522045, -0.0339735671877861, 0.0073251016438007355, 0.006941857282072306, 0.00016862328629940748, -0.0008908786112442613, 0.03140934929251671, -0.019559701904654503, 0.009231568314135075, -0.0003687553689815104, -0.09017670899629593, -0.049321673810482025, -0.02357037179172039, 0.008922882378101349, 0.03755360469222069, -0.048601362854242325, -0.01394276600331068, -0.009652500040829182, -0.00839734822511673, 0.00968789029866457, -0.0020854626782238483, -0.038838792592287064, -0.0031848216895014048, 0.013600682839751244, -0.036138102412223816, -0.01532938051968813, 0.018247829750180244, 0.0037317604292184114, -0.03456658869981766, 0.03214520588517189, -0.009034916758537292, -0.04527842253446579, 0.02184542641043663, -0.01088445819914341, -0.008434221148490906, 0.02918761596083641, 0.03281102329492569, 0.004667436238378286, -0.045651912689208984, -0.060255274176597595, -0.007808472495526075, -0.01291423849761486, -0.00035507805296219885, -0.07156845927238464, 0.0035662404261529446, -0.02022721990942955, -0.006119453348219395, -0.06597694009542465, 0.007571171969175339, -0.017527760937809944, -0.007616434711962938, 0.03979991003870964, 0.0128066036850214, -0.05486636236310005, -0.03223713859915733, -0.009844503365457058, -0.02633272297680378, 0.09513188153505325, -0.04535640403628349, 0.0275080818682909, 0.01774907484650612, -0.05582714453339577, 0.018849395215511322, 0.008846878074109554, 0.030540088191628456, 0.020182142034173012, -0.0226763729006052, 0.014197340235114098, 0.0036113406531512737, 0.019684208557009697, -0.013042123056948185, -0.006089338567107916, 0.029047692194581032, 0.020741630345582962, 0.028751932084560394, -0.023505743592977524, 0.02385411411523819, -0.008268537931144238, 0.00761118158698082, 0.0037588730920106173, 0.8170491456985474, -0.0011069379979744554, 0.030235962942242622, -0.016125984489917755, 0.06383545696735382, 0.013312650844454765, 0.0016853008419275284, 0.012420570477843285, 0.011119292117655277, 0.004701249301433563, -0.05396653711795807, 0.02534140832722187, -0.04067327082157135, 0.033971481025218964, 0.042094532400369644, -0.05939257889986038, 0.034956373274326324, -0.01211502030491829, 0.007360415533185005, -0.006180325988680124, -0.019618401303887367, -0.007883437909185886, -0.01121179573237896, 0.016272280365228653, 0.006572337821125984, 0.03921971842646599, -0.15725332498550415, -0.003745676949620247, -7.722540911473547e-33, 0.015054355375468731, -0.05597754567861557, 0.04642936587333679, -0.01748230867087841, 0.03159847855567932, 0.007122769486159086, 0.03459685295820236, 0.0005965650198049843, -0.020297512412071228, 0.009156123735010624, 0.02114461548626423, 0.031191689893603325, -0.01856621913611889, -0.002695022616535425, 0.03971485048532486, -0.02983003668487072, 0.01623493619263172, 0.022122710943222046, -0.011650441214442253, -0.01635703071951866, 0.007895104587078094, 0.02610911801457405, 0.010917313396930695, 0.03421246260404587, 0.0002976409741677344, -0.02630692534148693, -0.01741195097565651, -0.01535368338227272, 0.054333724081516266, -0.03957062214612961, -0.05316672474145889, 0.036216527223587036, -0.036804184317588806, -0.006901543587446213, -0.007844088599085808, -0.03667660430073738, -0.005695810075849295, 0.021246720105409622, -0.006873351521790028, 0.027226997539401054, -0.011409327387809753, 0.018086442723870277, -0.022945286706089973, -0.03996887803077698, 0.010395391844213009, -0.0030738937202841043, 0.05813538655638695, 0.06420877575874329, 0.0036156538408249617, 0.04868965595960617, 0.019637299701571465, 0.029385535046458244, -0.012475957162678242, 0.02161090075969696, -0.013517453335225582, -0.03211699053645134, -0.0011144098825752735, 0.023367958143353462, -0.0015255962498486042, 0.062250539660453796, -0.0453774519264698, 0.012931788340210915, 0.010339752770960331, 0.052363358438014984, -0.0194822046905756, 0.004333205055445433, 0.005114593077450991, -0.07096341997385025, -0.005831500515341759, 0.05429631099104881, -0.031949643045663834, -0.019491303712129593, -0.008251522667706013, -0.03595748543739319, 0.04619182273745537, -0.043144822120666504, -0.019749188795685768, -0.04037477821111679, 0.013784687966108322, -0.019969474524259567, 0.022202985361218452, 0.03143645450472832, -0.00004669960617320612, -0.0014095493825152516, -0.03013763017952442, 0.005497875157743692, 0.02793259173631668, 0.004811923950910568, -0.009955565445125103, 0.0020317810121923685, -0.006454159505665302, 0.03324996307492256, -0.023880314081907272, -0.0039750984869897366, 0.036084964871406555, 7.505689387053697e-33, -0.03941204771399498, 0.0030425027944147587, -0.009880119934678078, -0.009152262471616268, -0.0009678392088972032, -0.03769109025597572, 0.060586970299482346, -0.01138291135430336, 0.00942960288375616, 0.038469769060611725, -0.009107437916100025, 0.013579790480434895, -0.011683193035423756, 0.00582592748105526, 0.058555252850055695, -0.00949353538453579, 0.002985450206324458, -0.0002735152665991336, -0.04392296448349953, -0.004793400410562754, 0.04159916937351227, 0.004774666391313076, 0.0110508156940341, -0.01944826915860176, 0.012907778844237328, 0.017694618552923203, 0.025766709819436073, 0.006122119724750519, -0.007494276389479637, -0.015015197917819023, 0.008283243514597416, -0.018931949511170387, -0.004658608231693506, -0.005303085781633854, 0.01409112848341465, 0.026364369317889214, 0.0002926347660832107, -0.03631793335080147, -0.007024270016700029, 0.0007438104366883636, -0.0259841475635767, -0.008609256707131863, 0.012969494797289371, 0.029609620571136475, 0.0006941935862414539, 0.0033832925837486982, -0.0358165018260479, -0.013310791924595833, 0.0002883343549910933, -0.03125748783349991, 0.009273480623960495, 0.021706975996494293, 0.01941058412194252, 0.024708259850740433, 0.004793915897607803, -0.038165442645549774, -0.025855720043182373, 0.03599117323756218, -0.010464901104569435, -0.02462349459528923, 0.0032558892853558064, 0.02488134056329727, 0.0016515925526618958, 0.01785317063331604, -0.009032778441905975, -0.0029572381172329187, -0.011532386764883995, -0.0491156205534935, -0.03155950456857681, 0.029292374849319458, -0.04706883803009987, -0.044275395572185516, 0.004864236805588007, 0.006110380869358778, -0.04500706493854523, -0.0044234031811356544, -0.03929374739527702, 0.012648587115108967, 0.014640937559306622, 0.04216321185231209, 0.03776386380195618, -0.0029609594494104385, 0.0700325295329094, -0.011913527734577656, -0.007242718245834112, -0.0035878224298357964, 0.029171328991651535, 0.02527610771358013, 0.0013903710059821606, 0.04470977187156677, -0.007000820245593786, -0.06943969428539276, 0.02513444982469082, 0.009396144188940525, -0.012837937101721764, -1.2867443999198258e-8, -0.04833848029375076, -0.03893012925982475, -0.023598244413733482, 0.004294347483664751, 0.013256432488560677, -0.0008228463702835143, 0.016343098133802414, 0.005709868390113115, -0.00750329252332449, 0.014071594923734665, 0.03968285769224167, 0.020775550976395607, 0.004921553656458855, 0.030892634764313698, 0.021224528551101685, -0.044497665017843246, 0.0317000076174736, -0.058873020112514496, 0.019336534664034843, -0.022614045068621635, -0.04116898775100708, 0.0310659296810627, -0.03278011456131935, 0.010394478216767311, -0.04308854416012764, -0.0018451091600582004, 0.0189308300614357, -0.08797821402549744, 0.04350358247756958, 0.05237569287419319, -0.020179729908704758, -0.04375738278031349, 0.05510776862502098, 0.016998888924717903, -0.010652663186192513, -0.03300149366259575, 0.024481313303112984, 0.05125343054533005, 0.0377052016556263, -0.002198915695771575, -0.02748504839837551, -0.034447576850652695, -0.0013507400872185826, -0.021394848823547363, 0.002789827296510339, -0.007075898349285126, -0.012630282901227474, -0.0010282286675646901, 0.017273452132940292, -0.03862910717725754, 0.046198487281799316, -0.026318076997995377, 0.018272435292601585, 0.016886021941900253, 0.023017285391688347, 0.04045901820063591, -0.01827204041182995, -0.0572323240339756, -0.011193951591849327, 0.0012485188199207187, 0.012473572976887226, 0.020625250414013863, -0.017299098894000053, -0.010265883058309555 ]
haskell-using-monoids-when-sorting-by-multiple-parameters
https://markhneedham.com/blog/2012/05/23/haskell-using-monoids-when-sorting-by-multiple-parameters
false
2012-05-12 15:46:31
Haskell: Removing if statements
[ "haskell" ]
[ "Haskell" ]
When I was looking over http://www.markhneedham.com/blog/2012/05/09/haskell-closest-pairs-algorithm/[my solution to the closest pairs algorithm] which I wrote last week I realised there there were quite a few if statements, something I haven't seen in other Haskell code I've read. This is the initial version that I wrote: [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> (Point a, Point a) dcClosest pairs if length pairs <= 3 then = fromJust $ bfClosest pairs else foldl (\closest (p1:p2:_) -> if distance (p1, p2) < distance closest then (p1, p2) else closest) closestPair (windowed 2 pairsWithinMinimumDelta) where sortedByX = sortBy compare pairs (leftByX:rightByX:_) = chunk (length sortedByX `div` 2) sortedByX closestPair = if distance closestLeftPair < distance closestRightPair then closestLeftPair else closestRightPair where closestLeftPair = dcClosest leftByX closestRightPair = dcClosest rightByX pairsWithinMinimumDelta = sortBy (compare `on` snd) $ filter withinMinimumDelta sortedByX where withinMinimumDelta (x, _) = abs (xMidPoint - x) <= distance closestPair where (xMidPoint, _) = last leftByX ---- We can remove the first if statement which checks the length of the list and replace it with pattern matching code like so: [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> (Point a, Point a) dcClosest pairs | length pairs <= 3 = fromJust $ bfClosest pairs | otherwise = foldl (\closest (p1:p2:_) -> if distance (p1, p2) < distance closest then (p1, p2) else closest) closestPair (windowed 2 pairsWithinMinimumDelta) ... ---- We can also get rid of the if statement inside the first argument passed to 'foldl' and replace it with a call to 'minimumBy': [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> (Point a, Point a) dcClosest pairs | length pairs <= 3 = fromJust $ bfClosest pairs | otherwise = foldl (\closest (p1:p2:_) -> minimumBy (compare `on` distance) [closest, (p1, p2)]) closestPair (windowed 2 pairsWithinMinimumDelta) ... ---- We can do the same to replace the if statement where we work out the closestPair which results in this final version of the code: [source,haskell] ---- dcClosest :: (Ord a, Floating a) => [Point a] -> (Point a, Point a) dcClosest pairs | length pairs <= 3 = fromJust $ bfClosest pairs | otherwise = foldl (\closest (p1:p2:_) -> minimumBy (compare `on` distance) [closest, (p1, p2)]) closestPair (windowed 2 pairsWithinMinimumDelta) where sortedByX = sortBy compare pairs (leftByX:rightByX:_) = chunk (length sortedByX `div` 2) sortedByX closestPair = minimumBy (compare `on` distance) [closestLeftPair, closestRightPair] where closestLeftPair = dcClosest leftByX closestRightPair = dcClosest rightByX pairsWithinMinimumDelta = sortBy (compare `on` snd) $ filter withinMinimumDelta sortedByX where withinMinimumDelta (x, _) = abs (xMidPoint - x) <= distance closestPair where (xMidPoint, _) = last leftByX ---- It takes up marginally less space and I think the change to use pattern matching on the length of 'pairs' makes the biggest difference as the code is now lined up at the same level of indentation. The other changes would have more of an impact if there were more than 2 things being compared - right now I think either of the versions of the code are equally readable.
null
null
[ -0.010845132172107697, 0.017673179507255554, -0.007042819634079933, 0.028576068580150604, 0.051184870302677155, 0.025288229808211327, 0.002750375075265765, -0.0021315962076187134, -0.005590816959738731, -0.031088098883628845, -0.03855716809630394, -0.023173654451966286, -0.06808963418006897, 0.01601015403866768, 0.015087885782122612, 0.05519970506429672, 0.045178040862083435, -0.009083431214094162, -0.015965202823281288, 0.03249850496649742, 0.016889965161681175, 0.06903594732284546, -0.056463539600372314, -0.011569776572287083, 0.05597225949168205, 0.04206579551100731, 0.030376750975847244, 0.029311712831258774, -0.03413011506199837, 0.003956201486289501, 0.05154116079211235, 0.00998588278889656, -0.00802576169371605, -0.0518614798784256, 0.03181324899196625, -0.00926530547440052, 0.0028287493623793125, -0.010666265152394772, -0.020098406821489334, 0.027976812794804573, -0.06765492260456085, 0.039390332996845245, 0.014272945001721382, 0.007907393388450146, -0.052330151200294495, 0.0062627000734210014, -0.054441891610622406, 0.02843908965587616, -0.026950392872095108, -0.007939700037240982, -0.06534537672996521, 0.03253869712352753, -0.030858663842082024, -0.0015060936566442251, -0.0055394526571035385, 0.062379177659749985, 0.027732722461223602, -0.08929528295993805, 0.03799893707036972, -0.03409883379936218, -0.01310929749161005, -0.01423464436084032, 0.014912355691194534, 0.05163809284567833, 0.010087251663208008, -0.02793048322200775, 0.003077323315665126, 0.033306825906038284, -0.03287426009774208, -0.03191549703478813, 0.0071602193638682365, 0.012955259531736374, -0.001978954067453742, -0.00391567125916481, -0.004015462473034859, -0.009115563705563545, -0.027280058711767197, 0.05579828470945358, 0.025386394932866096, 0.019784273579716682, 0.004769674967974424, 0.01864277943968773, -0.016415704041719437, 0.027875680476427078, 0.000908634508959949, -0.022304367274045944, -0.03106934390962124, -0.018950702622532845, -0.03915831819176674, 0.04085523635149002, -0.027797961607575417, -0.038562968373298645, 0.0015087313950061798, 0.00444322545081377, 0.027580618858337402, 0.0077366819605231285, 0.006341908127069473, 0.019893737509846687, 0.006154084578156471, -0.005785997491329908, -0.03093244880437851, -0.03971850126981735, 0.019194092601537704, 0.012070071883499622, -0.06589221209287643, -0.0213945135474205, -0.021247481927275658, -0.007249708287417889, 0.02755879797041416, 0.011002860963344574, -0.03200146555900574, 0.004294758662581444, 0.034914445132017136, 0.016134580597281456, -0.0894981399178505, 0.04762396961450577, -0.007194699719548225, 0.00024242191284429282, -0.02383505366742611, 0.04123838245868683, 0.0438455305993557, 0.0402035266160965, -0.0057061584666371346, 0.08460117876529694, 0.01019555889070034, 0.05900218337774277, 0.006845086347311735, 0.06936265528202057, -0.05384880676865578, -0.05754239857196808, -0.044109612703323364, 0.06628904491662979, -0.04343342408537865, 0.0011474458733573556, -0.0005388690624386072, -0.023557310923933983, -0.0502549409866333, 0.005900995340198278, 0.049026813358068466, 0.03641960769891739, 0.02812965027987957, -0.03165208920836449, 0.026266004890203476, -0.01500765886157751, 0.007438207510858774, -0.0013319456484168768, 0.016408566385507584, -0.003942408598959446, -0.0012005926109850407, 0.03942542150616646, -0.01031501591205597, 0.02289513126015663, 0.0427594818174839, -0.03827710077166557, 0.008765353821218014, 0.0686134546995163, 0.024998579174280167, 0.017739638686180115, -0.01128418743610382, 0.012590299360454082, 0.03851975500583649, 0.04389498755335808, -0.004513224586844444, 0.04787958413362503, 0.02033979631960392, -0.0003198788035660982, -0.016745230183005333, 0.07262451946735382, -0.0065185073763132095, -0.010056935250759125, -0.02530871331691742, -0.018332872539758682, 0.08683684468269348, -0.014784163795411587, 0.015628164634108543, 0.004785230383276939, 0.05550379678606987, 0.004682076163589954, 0.03184282407164574, 0.010930709540843964, -0.06363075971603394, 0.019882729277014732, -0.009727497585117817, 0.03874724358320236, 0.004769282415509224, 0.0022693572100251913, 0.08579245954751968, 0.026683194562792778, -0.005360755603760481, 0.017672941088676453, -0.055465832352638245, -0.07550418376922607, -0.02613636665046215, -0.045507751405239105, 0.05546463280916214, -0.02651195041835308, -0.03476916253566742, 0.04048919305205345, 0.025324223563075066, 0.025359533727169037, 0.01139748189598322, -0.005721627734601498, 0.047532450407743454, -0.02334180288016796, -0.056118689477443695, 0.06871726363897324, 0.032006386667490005, -0.012828847393393517, -0.07712892442941666, 0.0011878956574946642, -0.008827262558043003, -0.013262062333524227, 0.013577333651483059, -0.003135157050564885, 0.05169280618429184, 0.03859115019440651, 0.03882211819291115, -0.01759558543562889, 0.06311056017875671, -0.04416178911924362, 0.04811416566371918, 0.02947845868766308, 0.00045348951243795455, -0.016503188759088516, -0.019498782232403755, 0.09545854479074478, 0.08942314982414246, -0.05945959687232971, -0.03175497427582741, 0.024779973551630974, -0.02039601095020771, -0.018513232469558716, -0.004820957314223051, -0.019745884463191032, -0.021995633840560913, -0.00785856880247593, -0.0006805637385696173, -0.04117901623249054, 0.04911554232239723, -0.0163566954433918, -0.044278841465711594, 0.06726539134979248, -0.012635036371648312, 0.05897628888487816, -0.0024045847821980715, -0.023968294262886047, 0.0024317491333931684, -0.003779992926865816, -0.06166234239935875, 0.014227524399757385, 0.007069856394082308, -0.000748713209759444, 0.0505693145096302, 0.005169828422367573, -0.03255642205476761, -0.012319734320044518, -0.014487397857010365, 0.03791361302137375, 0.08223052322864532, 0.040862590074539185, -0.01851593516767025, 0.045573752373456955, 0.010364800691604614, -0.01741436868906021, -0.026612423360347748, -0.05920257419347763, -0.047966424375772476, 0.022654322907328606, 0.027016829699277878, 0.021155696362257004, 0.02367786504328251, 0.02006697468459606, 0.02572186477482319, -0.028873885050415993, -0.02984611876308918, -0.03160860016942024, 0.02019714005291462, 0.010183910839259624, -0.058811090886592865, -0.05428434908390045, -0.028356516733765602, 0.05638236552476883, -0.05033227428793907, -0.017788255587220192, 0.005746337119489908, -0.017461096867918968, 0.06094751134514809, -0.06366800516843796, -0.04500947520136833, 0.03330539911985397, 0.05552235618233681, 0.02670152671635151, -0.03876207396388054, -0.01017677690833807, 0.06872426718473434, -0.0033301974181085825, 0.028499683365225792, 0.03388708084821701, -0.0038756499998271465, 0.035115547478199005, 0.016099900007247925, 0.05343082174658775, 0.02856653928756714, -0.014686021022498608, -0.0285654254257679, -0.01980443485081196, -0.01303117536008358, -0.0047288211062550545, -0.26773393154144287, 0.0009506865753792226, -0.03352884203195572, -0.04894408583641052, 0.02262907847762108, -0.034701377153396606, -0.006737063638865948, -0.04132553189992905, -0.006957700941711664, 0.016492461785674095, -0.013516516424715519, -0.025087811052799225, -0.03338330239057541, 0.027440723031759262, -0.00039688186370767653, -0.0003511275863274932, -0.051534928381443024, -0.0366814099252224, -0.0017411494627594948, 0.02462819777429104, 0.00047666937462054193, -0.055729713290929794, 0.002238356275483966, 0.03167848289012909, -0.0034716473892331123, 0.058175064623355865, -0.07237515598535538, 0.013101372867822647, -0.060870461165905, -0.04879750311374664, -0.0033379739616066217, -0.004819473251700401, -0.008587107993662357, -0.008108760230243206, -0.00899218488484621, -0.011846562847495079, 0.022683141753077507, 0.018254723399877548, 0.026110051199793816, 0.07862868905067444, -0.029593106359243393, -0.03276295214891434, 0.036384161561727524, -0.004752884153276682, 0.0709182620048523, -0.01966477744281292, -0.016749830916523933, 0.017209602519869804, -0.02196158468723297, 0.06360191851854324, -0.013369445689022541, -0.019193582236766815, 0.010861902497708797, 0.041226767003536224, -0.007302104029804468, -0.01913890428841114, -0.0003642317606136203, -0.017377234995365143, -0.0628838986158371, -0.0062964679673314095, -0.035966649651527405, -0.014563500881195068, -0.03655566647648811, -0.062481317669153214, -0.014876682311296463, -0.048351455479860306, -0.054097723215818405, 0.01722768135368824, 0.035399142652750015, -0.010764960199594498, -0.009906962513923645, -0.017448173835873604, -0.012151920236647129, -0.10688918828964233, -0.05105726420879364, -0.002471847692504525, -0.010328038595616817, -0.014947702176868916, 0.016276467591524124, 0.03698720037937164, -0.02926800213754177, -0.07643642276525497, 0.0526546835899353, 0.0326932892203331, 0.018367314711213112, -0.030857237055897713, -0.004713446367532015, 0.009736968204379082, -0.020860256627202034, -0.03771727904677391, 0.04516001045703888, 0.006054539233446121, -0.05305058881640434, 0.01031235046684742, -0.01826634630560875, 0.037143006920814514, 0.0020413638558238745, -0.025745965540409088, -0.00407175999134779, 0.02677329070866108, 0.02624453604221344, -0.026652323082089424, 0.03181532025337219, -0.04833298176527023, -0.05159098282456398, 0.018026934936642647, -0.06539609283208847, 0.03570224344730377, 0.02928435243666172, 0.011239709332585335, -0.008415808901190758, -0.0536634624004364, 0.013607886619865894, -0.05898035690188408, -0.03299891948699951, -0.019527530297636986, 0.011701872572302818, 0.009779784828424454, -0.010811553336679935, 0.016322296112775803, -0.04187953099608421, -0.013113929890096188, -0.010773763060569763, -0.019810423254966736, -0.050283338874578476, 0.003373662242665887, -0.034330885857343674, -0.0036889181938022375, 0.013326133601367474, 0.03695569932460785, -0.02940051630139351, 0.045623358339071274, 0.027324896305799484, -0.011659035459160805, 0.05756022781133652, 0.002857527229934931, -0.03468307480216026, -0.014361758716404438, 0.00677177170291543, -0.04933477193117142, 0.015301547013223171, -0.015038051642477512, 0.02443636953830719, 0.022044073790311813, 0.05824315547943115, -0.01281314343214035, 0.02472793124616146, -0.021678393706679344, 0.017880938947200775, 0.0032397331669926643, 0.002960490295663476, -0.03026854246854782, 0.02748773619532585, -0.04484185576438904, -0.03728056699037552, 0.004729445092380047, 0.04324501380324364, 0.005588682834059, -0.07410243153572083, -0.06790385395288467, 0.03650028258562088, -0.016548193991184235, -0.02769877389073372, -0.03114892542362213, 0.054246094077825546, 0.08182843029499054, -0.03661120682954788, 0.06450660526752472, -0.04976293817162514, 0.006055016536265612, -0.012806450016796589, 0.009459560737013817, -0.07197177410125732, 0.03560006618499756, 0.0034423123579472303, -0.005246103275567293, 0.018627146258950233, 0.026993781328201294, -0.009263291023671627, 0.0035848768893629313, -0.017665768042206764, -0.023197801783680916, 0.014326565898954868, 0.031703557819128036, 0.024515142664313316, 0.0027857727836817503, 0.00983713660389185, 0.003962574992328882, 0.0036421616096049547, -0.028705479577183723, -0.043056946247816086, -0.02254350297152996, -0.019626259803771973, 0.05536769703030586, -0.03962579742074013, -0.07913262397050858, 0.008968627080321312, -0.012750153429806232, -0.03860807791352272, 0.031221788376569748, -0.011620570905506611, -0.019083967432379723, -0.023634063079953194, -0.019417595118284225, 0.08424799889326096, -0.04799897223711014, 0.03561393544077873, 0.023330774158239365, -0.014368878677487373, 0.024828093126416206, 0.01680859737098217, -0.07020571827888489, -0.008394795469939709, 0.005480504594743252, 0.0026173978112637997, -0.031692247837781906, -0.04372522979974747, 0.007189207710325718, 0.008888233453035355, -0.03522026166319847, -0.019205154851078987, 0.010282575152814388, -0.0021252131555229425, -0.038704823702573776, -0.021979205310344696, 0.003611686872318387, -0.027460400015115738, -0.02386036515235901, 0.029328711330890656, -0.015931185334920883, 0.013388315215706825, -0.013772849924862385, 0.022084306925535202, 0.017176959663629532, -0.018604641780257225, 0.01374752726405859, -0.05971897765994072, 0.0073769595474004745, -0.043209854513406754, 0.021890752017498016, 0.034091826528310776, 0.009261627681553364, 0.023750508204102516, -0.019607068970799446, -0.05208141729235649, 0.01355658657848835, 0.042156461626291275, -0.04360775277018547, 0.011602070182561874, 0.018491292372345924, -0.083366759121418, 0.023659471422433853, -0.010357962921261787, -0.019477101042866707, 0.053378522396087646, 0.02318827249109745, -0.03994210064411163, -0.0184945035725832, -0.02647491730749607, 0.028069673106074333, -0.000013533755009120796, 0.02549697272479534, -0.02318667620420456, 0.017663897946476936, 0.04790841042995453, 0.06365817785263062, 0.05963476747274399, -0.008021403104066849, 0.04724686220288277, -0.04256113991141319, -0.008876926265656948, -0.0849757269024849, -0.0080966642126441, 0.0018151469994336367, -0.02344161458313465, -0.016481103375554085, 0.0025922355707734823, 0.03686915338039398, 0.025901811197400093, -0.05581264942884445, -0.006478366907685995, 0.02386096492409706, 0.009708970785140991, 0.010228587314486504, 0.022393561899662018, -0.03447641804814339, 0.009852400049567223, 0.04345586523413658, -0.013647615909576416, 0.0031160181388258934, -0.019757378846406937, 0.02306806854903698, -0.016833623871207237, 0.03784514218568802, -0.020205602049827576, 0.0025092775467783213, 0.04865949600934982, 0.05260759964585304, 0.016017062589526176, 0.040271222591400146, -0.029233386740088463, 0.024029938504099846, 0.015971045941114426, 0.011758391745388508, -0.05843815580010414, 0.017612922936677933, -0.018238762393593788, -0.04862144961953163, 0.05565645173192024, 0.018083622679114342, -0.01106271892786026, -0.03340640291571617, 0.06809498369693756, 0.03526897355914116, -0.025402536615729332, -0.02040221355855465, 0.031992167234420776, -0.05935598164796829, 0.013807373121380806, -0.0051434896886348724, -0.0036030826158821583, -0.030989976599812508, 0.060819853097200394, 0.0006584586808457971, -0.019252052530646324, 0.095840685069561, -0.01795591041445732, -0.007406157907098532, 0.011935289017856121, 0.0926017239689827, 0.08544119447469711, 0.03561200946569443, 0.001359721994958818, 0.05214187130331993, -0.05146508663892746, -0.026840921491384506, 0.00040905317291617393, -0.06831187009811401, -0.010125862434506416, -0.03869152441620827, 0.03510294482111931, 0.07679102569818497, -0.03457517921924591, 0.05373939499258995, -0.04632740095257759, 0.019982391968369484, 0.012507998384535313, 0.031374286860227585, 0.039131246507167816, 0.041736651211977005, 0.016849538311362267, 0.04565694183111191, -0.01980259083211422, -0.044012997299432755, 0.035896677523851395, 0.00791033823043108, 0.011072149500250816, -0.030621971935033798, 0.0020915023051202297, 0.005195584148168564, 0.018592923879623413, 0.030761152505874634, 0.05313485488295555, 0.006016302388161421, -0.010852674953639507, -0.02026590146124363, 0.030936235561966896, 0.009630745276808739, 0.005700469017028809, 0.0025617664214223623, -0.0061233569867908955, 0.016573911532759666, -0.01691870018839836, -0.034949690103530884, -0.019653160125017166, -0.038316771388053894, 0.03074941784143448, -0.003954173531383276, 0.00913530495017767, 0.027483263984322548, -0.010706392116844654, -0.03738915175199509, -0.05314131826162338, -0.038256336003541946, -0.04842730611562729, -0.07607915252447128, 0.019167302176356316, -0.026217399165034294, -0.026042532175779343, -0.03204195201396942, -0.018065571784973145, -0.007569530978798866, -0.023918531835079193, 0.05275359004735947, -0.025212178006768227, -0.03801460564136505, 0.015871286392211914, 0.046649299561977386, 0.02849600836634636, 0.040265604853630066, 0.0458105094730854, -0.033460285514593124, -0.007913431152701378, -0.02906937710940838, 0.0018141057807952166, 0.04956573620438576, 0.04761363938450813, 0.0075871567241847515, -0.07446681708097458, -0.025067033246159554, 0.01289425604045391, 0.03424180671572685, -0.07731139659881592, -0.005143721122294664, 0.009524879045784473, 0.002635433105751872, 0.013309160247445107, -0.01620645634829998, -0.0006776049267500639, -0.024896306917071342, -0.014744452200829983, -0.009034107439219952, -0.013373932801187038, 0.05633522942662239, -0.029456937685608864, 0.06765685230493546, 0.0196656733751297, -0.007327668834477663, -0.05040064826607704, 0.007913416251540184, -0.022467903792858124, 0.03040402941405773, -0.02062918432056904, -0.046466391533613205, -0.03589855879545212, -0.0655214861035347, -0.019659683108329773, 0.008833481930196285, -0.02236122451722622, -0.03932478651404381, 0.033529408276081085, 0.049092698842287064, -0.055893927812576294, 0.07557772845029831, -0.03650961443781853, 0.010780149139463902, -0.04940935596823692, -0.04204338788986206, -0.007001638878136873, 0.00806872732937336, -0.0012446637265384197, 0.0004519610956776887, 0.035552017390728, -0.049625903367996216, -0.005612412467598915, -0.00868232175707817, -0.0017277138540521264, -0.009698748588562012, -0.030762750655412674, 0.045733753591775894 ]
[ -0.13748736679553986, -0.020923633128404617, -0.047103580087423325, -0.003100080881267786, -0.024289077147841454, -0.018936030566692352, -0.010329159907996655, 0.04005052521824837, 0.0631290078163147, -0.05239932984113693, 0.015214285813272, -0.06755010038614273, 0.03568309545516968, 0.02700906991958618, 0.04436633735895157, -0.0034484073985368013, -0.036142498254776, 0.002389059867709875, -0.06067601963877678, 0.019184935837984085, 0.03881131485104561, -0.015107528306543827, -0.04939691349864006, -0.06895763427019119, 0.021183939650654793, 0.10912918299436569, 0.05391312763094902, -0.06655429303646088, 0.01508942898362875, -0.21752150356769562, -0.033108264207839966, -0.0017195891123265028, 0.07269353419542313, -0.057788997888565063, -0.009991507045924664, 0.04019257053732872, -0.013070604763925076, -0.029531773179769516, -0.029707154259085655, 0.013087108731269836, 0.021666862070560455, 0.0331849604845047, 0.023252127692103386, -0.0037595813628286123, 0.0015882750740274787, -0.00832396186888218, -0.03777335211634636, -0.017686648294329643, -0.028890978544950485, 0.006685191299766302, -0.041668787598609924, -0.042594749480485916, -0.005667158868163824, -0.003955220803618431, 0.018743902444839478, 0.05219035595655441, 0.039086226373910904, 0.09405332803726196, -0.016374601051211357, 0.013965037651360035, 0.029040740802884102, 0.028769467025995255, -0.0822414755821228, 0.06972328573465347, -0.018364528194069862, 0.04836667701601982, -0.010606941767036915, -0.07236552238464355, -0.05763315409421921, 0.09318145364522934, 0.028578253462910652, -0.002577038947492838, -0.007405691314488649, 0.052176233381032944, 0.007981104776263237, -0.052789974957704544, -0.014833515509963036, -0.01453009620308876, 0.05720600485801697, 0.010755794122815132, -0.042942531406879425, -0.03374651074409485, -0.018336651846766472, 0.008730171248316765, 0.0015942465979605913, -0.0042400602251291275, -0.01933264546096325, 0.025721626356244087, -0.007561155129224062, -0.0527789331972599, -0.03164229542016983, -0.04033494368195534, 0.005718980450183153, -0.0049759382382035255, -0.0767633318901062, 0.002871309407055378, 0.01915043033659458, 0.012543358840048313, -0.03436541557312012, 0.3968406319618225, -0.02118421159684658, 0.04562009871006012, -0.0004389884998090565, -0.008907821960747242, -0.005377179477363825, -0.04321186989545822, -0.02188311517238617, -0.000311989919282496, 0.011991599574685097, -0.07659716159105301, -0.04499192163348198, -0.05460565909743309, 0.07967740297317505, -0.03512188047170639, 0.0022902698256075382, 0.0499044768512249, 0.08861648291349411, 0.03526129573583603, 0.04384428262710571, 0.02783789485692978, -0.04886164516210556, 0.006806128658354282, -0.0067136287689208984, -0.032936882227659225, -0.022811099886894226, 0.02842927724123001, 0.0036733371671289206, 0.0633060485124588, 0.017048541456460953, 0.0730840265750885, 0.07381945103406906, -0.0509876012802124, -0.004061461426317692, -0.04330009967088699, -0.02680801972746849, 0.003522497834637761, 0.0038151924964040518, -0.029297711327672005, 0.014515543356537819, -0.018627909943461418, -0.009256202727556229, -0.06983218342065811, 0.029769008979201317, 0.005554365925490856, -0.010132979601621628, 0.1274443119764328, -0.04008284583687782, -0.04268897324800491, -0.0385061539709568, -0.05965999886393547, 0.02526359260082245, 0.018069684505462646, 0.00042815518099814653, -0.04035874828696251, 0.031759634613990784, 0.008755412884056568, 0.07904548197984695, -0.03175428882241249, -0.02599429152905941, 0.02627437375485897, 0.016301153227686882, -0.034336965531110764, -0.03015637956559658, 0.06845857203006744, 0.008954870514571667, -0.06250497698783875, -0.04943789169192314, -0.023128408938646317, 0.029592514038085938, -0.05370742082595825, 0.041783466935157776, 0.024975484237074852, -0.004941510036587715, 0.01965494267642498, 0.005033405497670174, -0.017056068405508995, -0.04858936369419098, -0.0320068784058094, 0.042337268590927124, 0.041127558797597885, -0.024438653141260147, 0.015687571838498116, -0.03166874125599861, 0.017979871481657028, -0.007278296630829573, -0.022763758897781372, -0.06038399413228035, 0.006745964754372835, -0.01654670573771, -0.006175248418003321, -0.006703895982354879, -0.060264937579631805, -0.03844062611460686, 0.036538686603307724, -0.017375478520989418, -0.02249903418123722, 0.026044432073831558, -0.027420412749052048, -0.047348443418741226, -0.0035360369365662336, 0.023082317784428596, 0.039585698395967484, 0.018620111048221588, 0.01309217419475317, -0.07307621091604233, -0.010243323631584644, 0.060629408806562424, -0.06820540130138397, 0.08084814250469208, 0.029596932232379913, 0.014676910825073719, -0.015101681463420391, -0.06669352203607559, -0.020466119050979614, 0.015969473868608475, -0.058596476912498474, 0.006579892244189978, 0.006711151916533709, 0.009822282940149307, 0.05386613309383392, -0.016683753579854965, -0.02062213607132435, -0.010097403079271317, -0.30867186188697815, -0.02386205643415451, 0.02189819887280464, 0.01595042273402214, 0.021064089611172676, -0.08113693445920944, -0.02402765303850174, -0.005715996026992798, -0.061812907457351685, 0.06344235688447952, 0.05388563498854637, 0.004795565735548735, -0.009070453234016895, -0.06404156982898712, -0.029848551377654076, 0.05003922060132027, 0.03806837648153305, 0.013994971290230751, -0.0178900845348835, 0.017081409692764282, -0.01781035028398037, 0.02056927978992462, -0.006562983617186546, -0.07832067459821701, -0.006878395099192858, -0.03200186789035797, 0.12080454081296921, 0.015610960312187672, 0.05498931556940079, -0.013314160518348217, 0.03526156768202782, -0.017994074150919914, -0.0503958985209465, -0.013357250019907951, 0.015676049515604973, 0.0060808779671788216, -0.004318412393331528, -0.03947878256440163, 0.05985076725482941, 0.011924096383154392, -0.04802631214261055, -0.004543263465166092, -0.034777503460645676, -0.004414035938680172, -0.025590887293219566, -0.019650759175419807, -0.017232820391654968, -0.05299121141433716, 0.029522322118282318, 0.05631878972053528, 0.02554282173514366, 0.009895932860672474, 0.035058747977018356, -0.016097864136099815, -0.021370334550738335, -0.0036610786337405443, -0.052475783973932266, -0.0615139976143837, -0.03279051557183266, -0.007764635607600212, -0.00992314051836729, 0.02245112881064415, 0.04623638093471527, 0.004356180317699909, -0.032491929829120636, -0.011599604971706867, -0.0041948845610022545, -0.018117006868124008, 0.012161013670265675, 0.03888660669326782, -0.01951846294105053, 0.07799212634563446, -0.01454981416463852, 0.04146431386470795, 0.03366745635867119, 0.02139599621295929, -0.013437032699584961, 0.04920820891857147, 0.07054976373910904, -0.0010480089113116264, 0.05384082347154617, 0.002013525227084756, 0.059831276535987854, -0.025393009185791016, -0.005162632092833519, -0.003141464199870825, 0.04640016332268715, 0.06299987435340881, 0.04634212702512741, 0.01688237674534321, 0.014203685335814953, -0.002717847703024745, 0.022461215034127235, -0.015402689576148987, 0.03438067436218262, -0.03819628804922104, -0.26370689272880554, 0.04149351641535759, 0.037185028195381165, 0.02770707942545414, -0.044633377343416214, 0.02722141146659851, 0.037260375916957855, -0.051625899970531464, -0.04586002975702286, -0.058777496218681335, 0.014525721780955791, 0.103446826338768, 0.0461430661380291, 0.002300836378708482, -0.005085393786430359, -0.01609097793698311, 0.04968505725264549, -0.022631775587797165, -0.02345259115099907, 0.025213956832885742, 0.04673868790268898, -0.027901897206902504, 0.20527972280979156, 0.01190467830747366, 0.04174121096730232, 0.006683313753455877, 0.03859751299023628, 0.009128717705607414, 0.04613141715526581, 0.03161268308758736, -0.005809718742966652, 0.03580997511744499, 0.007718744222074747, -0.04047781229019165, 0.0362495593726635, 0.027898263186216354, 0.015233181416988373, 0.07346697896718979, 0.04177889972925186, -0.03411532938480377, -0.023893725126981735, -0.030968187376856804, -0.011430573649704456, -0.014830424450337887, 0.08056636899709702, 0.06354180723428726, -0.03299405798316002, -0.00763199245557189, -0.05412775278091431, 0.01578604057431221, -0.024234803393483162, -0.012868686579167843, 0.009084844961762428, -0.04242569953203201, 0.029581567272543907, 0.04180939123034477, -0.010061533190310001, -0.037421610206365585, -0.04116698354482651, -0.006637440994381905, 0.04770732298493385, -0.023724865168333054, 0.09201721101999283, -0.006711518857628107, 0.06029810756444931 ]
[ -0.032562967389822006, -0.0012073046527802944, -0.016656529158353806, 0.013961322605609894, -0.008492465130984783, 0.011805376037955284, 0.003911532461643219, 0.008210028521716595, -0.024153776466846466, -0.006857127882540226, -0.007501484360545874, -0.009085876867175102, 0.0231952965259552, 0.015353666618466377, -0.0016087640542536974, 0.015144997276365757, 0.008782916702330112, -0.0011447889264672995, 0.019624141976237297, 0.0019129537977278233, -0.04363847151398659, 0.02357497252523899, -0.01166142150759697, 0.012842153199017048, 0.0030523943714797497, 0.031163690611720085, 0.0023889325093477964, -0.0019803529139608145, 0.012967889197170734, -0.0938933864235878, -0.04942294955253601, -0.04017738625407219, -0.0031336210668087006, 0.0011983680306002498, -0.02616533450782299, 0.020342815667390823, -0.02535364218056202, 0.0018359654350206256, 0.0038755028508603573, -0.049138788133859634, -0.01708432473242283, -0.04491494223475456, 0.025904204696416855, 0.002550906501710415, -0.02385574020445347, 0.03389887511730194, -0.03468567505478859, -0.0067652203142642975, -0.0018031353829428554, -0.007996933534741402, -0.06202685832977295, 0.040600311011075974, -0.0262347050011158, 0.00916129257529974, 0.009629057720303535, 0.01846659928560257, -0.035452280193567276, -0.056718017905950546, -0.016333648934960365, 0.004303311929106712, 0.006225760094821453, 0.013828606344759464, -0.0538356751203537, 0.001125604030676186, -0.03917394205927849, 0.0024360409006476402, -0.024556878954172134, -0.015352180227637291, 0.011000754311680794, 0.002777254907414317, -0.023340918123722076, 0.07309532165527344, -0.05467185750603676, 0.0017736528534442186, 0.0034461496397852898, 0.00025999301578849554, 0.07796001434326172, -0.039322637021541595, 0.000927913875784725, -0.0502510629594326, -0.014884155243635178, -0.025820398703217506, 0.04035276174545288, 0.05972219258546829, -0.0039134263060987, -0.04394318163394928, 0.00021459984418470412, 0.030557315796613693, 0.020434414967894554, -0.047399669885635376, -0.031294841319322586, 0.03351155295968056, -0.009628857485949993, 0.010849514044821262, -0.059907399117946625, 0.014484154060482979, -0.01368021685630083, 0.01826290227472782, -0.011738327331840992, 0.7972140908241272, 0.029452210292220116, 0.05930833891034126, 0.027478249743580818, 0.018535993993282318, -0.0049131810665130615, 0.010684593580663204, 0.020296726375818253, -0.004192198161035776, 0.0329335480928421, -0.04089991748332977, 0.02557513304054737, -0.0520494244992733, 0.04230144992470741, 0.01757742464542389, -0.0402136966586113, 0.01693326234817505, 0.0003544106148183346, 0.014540547505021095, 0.011511222459375858, -0.004676763899624348, -0.05117668956518173, -0.021323146298527718, 0.023234978318214417, 0.010888791643083096, 0.0573379285633564, -0.21052734553813934, 0.0007155556231737137, -7.10419488342653e-33, 0.036256853491067886, -0.012419632636010647, 0.011820560321211815, -0.05113348737359047, 0.025673726573586464, -0.008669167757034302, -0.026340628042817116, -0.03419375419616699, -0.050971198827028275, 0.0074066887609660625, -0.006531328894197941, -0.02108018845319748, 0.0031847793143242598, -0.04290595278143883, 0.05454521253705025, -0.025772342458367348, 0.0320717878639698, 0.02355148456990719, -0.05738949030637741, 0.009663487784564495, 0.003162412205711007, 0.046087123453617096, 0.009439799934625626, 0.012514877133071423, 0.009278868325054646, 0.028592338785529137, -0.0008983432780951262, -0.0010973121970891953, 0.026627033948898315, -0.042963843792676926, -0.023849064484238625, 0.033331334590911865, -0.028977209702134132, 0.009679393842816353, 0.011994210071861744, 0.0013104357058182359, -0.018637092784047127, -0.006799692753702402, -0.008155354298651218, 0.025559496134519577, 0.0036027119494974613, 0.035584986209869385, -0.012255710549652576, -0.0480106957256794, 0.020580805838108063, -0.019956082105636597, 0.030522357672452927, 0.07515476644039154, -0.004268245305866003, 0.025648007169365883, 0.03897622600197792, 0.03177106752991676, -0.05195675417780876, 0.03985029458999634, -0.003934384323656559, -0.002776018576696515, -0.008280239999294281, 0.033637043088674545, -0.009967087768018246, 0.09128296375274658, 0.012640458531677723, -0.008766932412981987, 0.0029368821997195482, 0.016000205650925636, -0.015979839488863945, -0.015383289195597172, 0.018753664568066597, -0.019602477550506592, -0.0037384412717074156, 0.03826306387782097, -0.05204548314213753, -0.017066514119505882, -0.0004795050190296024, -0.04045955091714859, 0.03189181908965111, -0.031533241271972656, -0.005880152340978384, -0.04865337163209915, 0.04525201395153999, -0.001689924392849207, 0.012387104332447052, -0.0023519943933933973, -0.012289577163755894, 0.0002369463472859934, -0.0684829130768776, -0.02466721646487713, 0.0417892225086689, 0.010155025869607925, -0.059277769178152084, 0.013689831830561161, -0.008598321117460728, 0.05737967789173126, -0.03014024719595909, 0.00017463017138652503, 0.011050591245293617, 6.792210601194633e-33, -0.032013703137636185, -0.0014594183303415775, 0.014419459737837315, 0.008105059154331684, 0.009378477931022644, 0.005887420382350683, 0.06284911930561066, 0.001961579080671072, -0.010898350737988949, 0.03610721975564957, -0.012194495648145676, 0.0025785653851926327, 0.0047875819727778435, -0.024973999708890915, 0.06934361159801483, 0.010017545893788338, 0.057406868785619736, 0.005678921472281218, 0.0005500685656443238, 0.005130968987941742, 0.06639072299003601, 0.00559546984732151, 0.020915856584906578, 0.01427775900810957, 0.024829400703310966, 0.04776455834507942, 0.04083302989602089, -0.0056127142161130905, -0.024294158443808556, 0.00020305586804170161, 0.013088226318359375, 0.020159846171736717, 0.0011016983771696687, -0.0210435688495636, 0.023494044318795204, 0.0510631762444973, -0.012945708818733692, -0.00851096399128437, -0.01593734510242939, -0.018386127427220345, 0.014475793577730656, 0.011889937333762646, -0.007469088304787874, 0.01583166979253292, -0.0062510790303349495, 0.023654066026210785, -0.020718099549412727, -0.00488783186301589, -0.0024149257224053144, 0.007045746315270662, 0.011014298535883427, -0.004861474968492985, -0.02733227238059044, -0.0027742143720388412, -0.009024687111377716, -0.020254753530025482, -0.022686978802084923, 0.039087891578674316, -0.02256113663315773, -0.026575744152069092, -0.0038930089212954044, -0.019773852080106735, -0.016627904027700424, 0.02471701055765152, 0.00889820046722889, 0.033572688698768616, -0.04113342985510826, -0.030237434431910515, -0.027777234092354774, 0.0249906238168478, -0.04494844004511833, -0.013951667584478855, 0.006643728818744421, 0.01591242104768753, -0.028135839849710464, -0.016815144568681717, -0.02217775397002697, -0.01921578124165535, 0.029020903632044792, 0.02786288782954216, 0.030963310971856117, 0.011857505887746811, 0.06423777341842651, 0.021151483058929443, -0.011599509976804256, 0.01752375066280365, 0.01934870332479477, 0.01634431816637516, 0.018730025738477707, 0.002432571491226554, -0.017069829627871513, -0.004869900643825531, 0.036975257098674774, -0.019451018422842026, -0.002624613931402564, -1.2221318179683749e-8, -0.04152252897620201, -0.04659833759069443, -0.04343046620488167, 0.004390675108879805, -0.023959863930940628, 0.03790433332324028, 0.005867358297109604, -0.002015115460380912, -0.025392601266503334, 0.000528636621311307, 0.004578429274260998, -0.008498340845108032, 0.022052612155675888, 0.04934990778565407, 0.03989586606621742, -0.02831740491092205, 0.05907346308231354, -0.06187485158443451, 0.022870933637022972, -0.00662807235494256, -0.04610176756978035, 0.00048682730994187295, 0.007744089234620333, 0.03700337931513786, -0.031206723302602768, 0.0007013290887698531, 0.03785417601466179, -0.10667750239372253, 0.02171848528087139, 0.0009235453326255083, -0.015832027420401573, -0.045832011848688126, -0.00442217942327261, 0.037234097719192505, -0.018462326377630234, -0.005905268248170614, -0.006180102471262217, 0.049674008041620255, 0.04602818563580513, 0.01852627471089363, -0.04560516029596329, -0.006213019602000713, -0.005067416001111269, -0.0003066305653192103, 0.018982505425810814, 0.008930540643632412, 0.019389722496271133, -0.005567630752921104, -0.01920115202665329, -0.06731709837913513, 0.02780788391828537, -0.004038134124130011, 0.013682187534868717, -0.034418340772390366, 0.020455770194530487, 0.007810002192854881, -0.010141915641725063, -0.040686532855033875, 0.01776892878115177, -0.015864942222833633, -0.023558884859085083, -0.00005696004882338457, -0.01935267448425293, -0.02964143082499504 ]
haskell-removing-if-statements
https://markhneedham.com/blog/2012/05/12/haskell-removing-if-statements
false
2012-05-12 14:55:30
neo4j/Cypher: Finding the shortest path between two nodes while applying predicates
[ "neo4j", "cypher" ]
[ "neo4j" ]
As I http://www.markhneedham.com/blog/2012/05/05/neo4j-what-question-do-you-want-to-answer/[mentioned in a blog post about a week ago] I decided to restructure the ThoughtWorks graph I've modelled in neo4j so that I could explicitly model projects and clients. As a result I had to update a traversal I'd written for finding the shortest path between two people in the graph. The original traversal query I had was really simple because I had a direct connection between the people nodes: image::{{<siteurl>}}/uploads/2012/05/initial.png[] [source,ruby] ---- neo = Neography::Rest.new paths = neo.get_paths(start_node, destination_node, { "type" => "colleagues" }, depth = 3, algorithm = "shortestPath") .map { |x| x["nodes"] } .uniq paths.map { |p| p.map { |node| neo.get_node_properties(node, "name")["name"] } } ---- I changed the way the graph was modelled so that you needed to follow a 'worked_on' relationship to a project in order to go between people: image::{{<siteurl>}}/uploads/2012/05/v2.png[V2,576] In the first version I'd written some pre processing code in Ruby to check whether or not people worked on the project at the same time before creating the relationship between the nodes. It wasn't possible to do that with the new structure since I was working out if there was a colleagues relationship dynamically. I therefore added a 'start_date' and 'end_date' property to the 'worked_on' relationship between a person node and project node so that I'd be able to take it into account when traversing the graph.] I initially thought it would be possible to do this using cypher and wrote the following query: [source,ruby] ---- start_node_id = neo.send(:get_id, start_node) destination_node_id = neo.send(:get_id, destination_node) query = " START a=node(#{start_node_id}), x=node(#{destination_node_id})" query << " MATCH p = allShortestPaths( a-[:worked_on*]-x )" query << " RETURN p, extract(person in nodes(p) : person.name)" paths = neo.execute_query(query) ---- I wasn't sure how to do the filtering on 'start_date' and 'end_date' and https://groups.google.com/forum/?fromgroups#!topic/neo4j/t0UMIqqpZA4[Andres pointed out] that it's not actually currently possible to take relationship properties into account when traversing a graph with https://github.com/neo4j/community/tree/master/cypher[cypher] so we need to do the filtering on 'start_date' and 'end_date' in code. My first attempt to do that looked like this: [source,ruby] ---- paths = neo.get_paths(node1, node2, { "type" => "worked_on", "direction" => "all" }, depth = 5, algorithm = "shortestPath").uniq matching = paths.select do |row| relationshipPairs = row["relationships"].each_slice(2).to_a relationshipPairs.all? do |pair| r1 = neo.get_relationship(pair[0])["data"] r2 = neo.get_relationship(pair[1])["data"] r1["start_date"] <= r2["end_date"] && r1["end_date"] >= r2["start_date"] end end ---- The problem with this approach is that it's really slow due to the fact that I'm pulling back every relationship back in order to check the start and end dates. Michael Hunger https://groups.google.com/forum/?fromgroups#!topic/neo4j/H1HRTVZp1ls[suggested an alternative approach] where I still used a cypher query but returned the relationships instead of just the nodes: [source,ruby] ---- start_node_id = neo.send(:get_id, start_node) destination_node_id = neo.send(:get_id, destination_node) query = " START a=node(#{start_node_id}), x=node(#{destination_node_id})" query << " MATCH p = allShortestPaths( a-[:worked_on*]-x )" query << " RETURN p, rels(p), extract(person in nodes(p) : person.name)" paths = neo.execute_query(query) matching = paths["data"].select do |row| relationship_pairs = row[1].each_slice(2).to_a relationship_pairs.all? do |pair| r1 = pair[0]["data"] r2 = pair[1]["data"] r1["start_date"] <= r2["end_date"] && r1["end_date"] >= r2["start_date"] end end matching.map { |x| x[2].each_with_index.select { |x,idx| idx.even? }.map(&:first) }.uniq ---- This approach mostly works although it runs into problems in the scenario where two people have worked on the same project but not at the same time. In that scenario the above code will return the relationship between them but it will then be filtered out by the start date/end date logic which means we won't see a shortest path between those nodes. I'm not sure how to solve that problem so for the moment I'm going to take the http://www.markhneedham.com/blog/2012/05/05/neo4j-what-question-do-you-want-to-answer/#comment-520250796[Josh Adell's suggestion to keep the 'colleagues' relationship between nodes] and use that relationship for the shortest path traversal. The 'worked_on' relationship is still useful for other things that I want to do but not this particular one.
null
null
[ 0.0038079156074672937, -0.012621794827282429, 0.005101500079035759, 0.04374668747186661, 0.09430205076932907, -0.012152190320193768, 0.03524252772331238, 0.03922640532255173, 0.010606168769299984, -0.03797290474176407, -0.022045189514756203, -0.02895582653582096, -0.06230736896395683, 0.022655906155705452, 0.006198070012032986, 0.06504827737808228, 0.055780407041311264, 0.0017713303677737713, 0.012916842475533485, -0.026936732232570648, 0.04028123989701271, 0.057873789221048355, -0.009394904598593712, 0.026427512988448143, 0.05757179856300354, -0.01089053601026535, 0.006823158822953701, -0.0010759409051388502, -0.05190576985478401, -0.008499043993651867, 0.04629623144865036, -0.01588989607989788, 0.027455342933535576, -0.015864025801420212, 0.017657484859228134, 0.004780014511197805, -0.04520757123827934, 0.0020870754960924387, -0.012828614562749863, -0.005412967875599861, -0.06438616663217545, 0.061702389270067215, -0.017314087599515915, 0.016937896609306335, -0.0299467071890831, 0.021411174908280373, -0.05344323441386223, 0.035508040338754654, 0.02669844776391983, 0.003813322400674224, -0.08722208440303802, 0.011564328335225582, 0.012068993411958218, 0.01872219145298004, -0.006632945500314236, 0.04711194708943367, 0.024207795038819313, -0.07092352956533432, 0.045373231172561646, -0.02546844072639942, 0.006635110825300217, -0.0023700629826635122, 0.00651714438572526, 0.034576572477817535, -0.003718156833201647, -0.06334534287452698, 0.021534690633416176, 0.057561781257390976, -0.03488505631685257, -0.01647110842168331, 0.007960784249007702, 0.003799475496634841, 0.011039281263947487, 0.0042730369605124, -0.011621132493019104, -0.03277076408267021, -0.005767737980931997, 0.053737033158540726, 0.015506855212152004, 0.028825175017118454, -0.020394867286086082, 0.032153598964214325, -0.00714525394141674, 0.03220205754041672, 0.011859890073537827, -0.02851937711238861, -0.021721942350268364, -0.02885352075099945, -0.052840013056993484, 0.04674453288316727, 0.011330947279930115, -0.07279404997825623, -0.002965311985462904, 0.017142510041594505, -0.014241945929825306, 0.010125959292054176, -0.011573578231036663, 0.034589845687150955, 0.01528471615165472, -0.027222124859690666, -0.00683312863111496, -0.02107234299182892, -0.009285747073590755, -0.0025662174448370934, -0.06852486729621887, -0.03176038712263107, -0.015778610482811928, -0.02754494920372963, 0.0038294207770377398, -0.016140637919306755, -0.056838490068912506, 0.006758352275937796, -0.021898401901125908, 0.027227003127336502, -0.07852766662836075, 0.06706709414720535, 0.022331874817609787, -0.02470243163406849, -0.03920911252498627, 0.012608103454113007, 0.04270754009485245, 0.004260594956576824, 0.0027727941051125526, 0.07629489153623581, -0.005889446008950472, 0.05622761324048042, -0.003861167235299945, 0.041282929480075836, -0.04445910081267357, -0.04984643682837486, -0.004488074220716953, 0.0696277990937233, -0.012859245762228966, 0.007705249357968569, -0.029445333406329155, -0.03337305784225464, 0.0005721654160879552, 0.012964820489287376, 0.042952679097652435, 0.02944386750459671, 0.00324914394877851, -0.04573740437626839, 0.04592097923159599, 0.012488177977502346, 0.02276427671313286, 0.012939105741679668, -0.0021472214721143246, -0.026137836277484894, -0.02848343551158905, 0.0019406337523832917, -0.02018415369093418, 0.020819148048758507, 0.03809225559234619, -0.041797295212745667, 0.01922709122300148, 0.11098141968250275, 0.038379985839128494, 0.015347651205956936, -0.027730757370591164, 0.012362788431346416, 0.04218658432364464, 0.021028665825724602, 0.013294587843120098, 0.06165514886379242, 0.015135267749428749, -0.016223900020122528, -0.0018713015597313643, 0.04363499581813812, -0.002217331901192665, -0.00883618276566267, -0.0505300797522068, -0.06102953851222992, 0.05188267305493355, -0.059564895927906036, -0.01601371169090271, 0.054168809205293655, 0.06627409160137177, -0.0012459447607398033, -0.008189595304429531, -0.008553924039006233, -0.07483577728271484, 0.06731195002794266, -0.0066295494325459, 0.005564299412071705, 0.002202759962528944, -0.0031195422634482384, 0.08348555862903595, 0.04411880299448967, -0.020794790238142014, 0.026387512683868408, -0.09674877673387527, -0.06943656504154205, -0.022393150255084038, -0.01889433152973652, 0.06613142043352127, -0.008493544533848763, 0.0133480504155159, 0.030156953260302544, -0.008942708373069763, 0.04663040116429329, 0.03217018023133278, -0.01849505305290222, 0.023305878043174744, -0.04113384336233139, -0.05864543095231056, 0.06866127252578735, 0.031104739755392075, -0.04833643510937691, -0.04583036154508591, 0.042526185512542725, -0.015179210342466831, -0.008665865287184715, 0.02199610508978367, -0.02329290099442005, 0.03294357657432556, 0.028363214805722237, 0.01608264073729515, -0.019255273044109344, 0.04409155994653702, -0.03443014621734619, 0.03148800507187843, 0.02786712720990181, -0.007034167181700468, -0.023402569815516472, -0.010219402611255646, 0.10381685197353363, 0.0524083748459816, -0.010731187649071217, -0.06935717165470123, 0.028584102168679237, 0.015290545299649239, -0.0191641952842474, 0.007714411709457636, -0.00930749624967575, 0.006457430310547352, -0.006853420287370682, -0.026287749409675598, -0.024345943704247475, -0.002287480980157852, -0.03561646118760109, 0.010091535747051239, 0.056856125593185425, -0.018714429810643196, 0.055596064776182175, 0.00012471921218093485, -0.0024319379590451717, 0.003244728548452258, -0.05377168208360672, -0.04392342269420624, 0.05324293300509453, 0.0049133445136249065, -0.0068429154343903065, 0.06648917496204376, -0.003175732446834445, -0.016922708600759506, -0.018231142312288284, -0.005835845600813627, 0.025301821529865265, 0.06060302257537842, 0.06311458349227905, -0.008268502540886402, 0.054248616099357605, -0.02776130847632885, 0.011185129173099995, -0.021931199356913567, -0.0471772700548172, -0.053436800837516785, -0.038362666964530945, 0.0312486682087183, 0.010643561370670795, 0.01841185800731182, -0.04014398902654648, 0.041937455534935, 0.014162243343889713, -0.0034694820642471313, -0.010646045207977295, 0.023223280906677246, 0.008613993413746357, 0.008304739370942116, -0.03038392774760723, -0.0455029122531414, 0.045572418719530106, -0.06691310554742813, -0.03193849325180054, -0.003140215529128909, -0.05213647335767746, 0.056002482771873474, -0.03538895025849342, -0.014522314071655273, -0.004477879963815212, 0.0365135632455349, 0.04937123879790306, 0.016711894422769547, -0.010553603991866112, 0.0819026380777359, 0.03742722421884537, 0.03752259165048599, -0.006927857641130686, -0.013224313035607338, 0.05080614611506462, -0.006005055271089077, 0.03233078122138977, 0.05262085050344467, -0.027923623099923134, 0.00281538930721581, -0.012868248857557774, 0.01705080270767212, -0.01625536009669304, -0.2807515561580658, 0.05236870422959328, -0.0389021635055542, -0.05426425114274025, 0.02258955128490925, -0.01873987354338169, 0.0019951339345425367, -0.023656127974390984, -0.024262288585305214, 0.014725308865308762, -0.014452354982495308, -0.040380947291851044, -0.017390362918376923, 0.037682801485061646, 0.003959573805332184, 0.012882078997790813, -0.018465794622898102, -0.056788306683301926, 0.0017428677529096603, 0.026735998690128326, -0.0030656589660793543, -0.05066319927573204, -0.016118498519062996, 0.013542150147259235, 0.028825167566537857, 0.04748201742768288, -0.09397700428962708, 0.03501021862030029, -0.047229766845703125, -0.022025689482688904, -0.0029779518954455853, -0.02640671655535698, 0.013196879997849464, -0.00021314538025762886, -0.005115646868944168, -0.033959515392780304, 0.05459706857800484, 0.021121835336089134, 0.03959835693240166, 0.010024468414485455, -0.06876006722450256, -0.03428618609905243, -0.007592433597892523, -0.011394642293453217, 0.08786765486001968, 0.0031786176841706038, -0.07607864588499069, -0.009349443949759007, -0.02404150739312172, 0.06399231404066086, -0.025038449093699455, -0.032487012445926666, 0.009916340932250023, 0.011009637266397476, -0.02146645449101925, -0.03769845515489578, 0.005804433953016996, -0.02394668385386467, -0.05643390119075775, -0.04465022310614586, -0.0022856767755001783, -0.024458076804876328, 0.013245503418147564, -0.05451875180006027, -0.003094416344538331, -0.03479074314236641, -0.0801125094294548, -0.016977444291114807, 0.0467214472591877, 0.008451797999441624, -0.02256113849580288, 0.027688810601830482, -0.02776615135371685, -0.10936925560235977, -0.038348663598299026, -0.02270563133060932, -0.0032453585881739855, -0.011679715476930141, -0.027107715606689453, 0.03234625980257988, -0.026065394282341003, -0.0413542315363884, 0.001223820261657238, 0.026234915480017662, 0.010072087869048119, 0.03172872215509415, 0.022877350449562073, -0.009188388474285603, -0.04161868989467621, 0.012407159432768822, 0.05831107497215271, -0.0006982543272897601, -0.037361420691013336, -0.010789225809276104, 0.012408729642629623, 0.03361501172184944, 0.014259801246225834, -0.004051069263368845, 0.009282724931836128, 0.04645242914557457, 0.05012110620737076, -0.025393109768629074, 0.014923096634447575, 0.0028147597331553698, -0.03315142169594765, 0.0034091961570084095, -0.03362337872385979, 0.04019005596637726, 0.013026322238147259, 0.04392023757100105, -0.02177552320063114, -0.029613832011818886, 0.017888832837343216, -0.053683552891016006, -0.034007370471954346, -0.009470300748944283, 0.008438522927463055, 0.013835370540618896, 0.01495909783989191, -0.019615354016423225, -0.06678775697946548, 0.026227252557873726, 0.031690798699855804, 0.014547484926879406, -0.07169417291879654, -0.03264806047081947, -0.033408768475055695, -0.014302208088338375, 0.008161969482898712, 0.028470344841480255, -0.026317469775676727, 0.04133739322423935, 0.006373845972120762, -0.026179196313023567, 0.030677590519189835, -0.016714302822947502, -0.036203816533088684, -0.030127163976430893, 0.004904432222247124, -0.01131377462297678, -0.01567179150879383, -0.00003516817378113046, 0.009019977413117886, 0.024178018793463707, 0.046148497611284256, 0.007198715582489967, 0.0025658058002591133, -0.00332967028953135, 0.03223392739892006, -0.01617817021906376, -0.03248732537031174, -0.04195471107959747, 0.014766615815460682, -0.04670434072613716, -0.0024597723968327045, -0.022301727905869484, 0.034828901290893555, -0.03800847381353378, -0.027144258841872215, -0.015260620042681694, 0.02289571985602379, -0.07518608123064041, 0.018274646252393723, -0.006690778769552708, 0.004714172799140215, 0.06261586397886276, -0.010771293193101883, 0.004525837488472462, -0.041202884167432785, -0.03334066644310951, 0.0067153265699744225, 0.010108000598847866, -0.034950364381074905, -0.0020307821687310934, 0.003426952753216028, 0.028250645846128464, 0.017042314633727074, 0.040169112384319305, 0.025526482611894608, 0.007555783726274967, -0.01671617478132248, -0.003379832487553358, 0.014757469296455383, 0.01676299422979355, 0.03563791513442993, 0.027531633153557777, -0.01654626615345478, 0.023945055902004242, -0.03133947402238846, 0.010823855176568031, -0.008876022882759571, 0.005345488432794809, -0.05086726322770119, 0.0288003608584404, -0.026628196239471436, -0.057892780750989914, 0.0416281633079052, -0.025964075699448586, 0.026916569098830223, 0.042419347912073135, 0.004276587627828121, -0.008057846687734127, 0.008810516446828842, 0.04165183752775192, 0.08116598427295685, -0.05086449533700943, -0.020475758239626884, 0.025932520627975464, -0.014590517617762089, -0.010452959686517715, 0.030871616676449776, -0.049889348447322845, -0.026667362079024315, -0.023125240579247475, 0.0016732846852391958, -0.027202000841498375, -0.047436393797397614, -0.0264451801776886, -0.019842030480504036, 0.010246426798403263, 0.028802212327718735, 0.0020536778029054403, 0.005767690017819405, -0.010112674906849861, -0.01136578805744648, 0.04636220633983612, -0.03229936212301254, -0.02877991646528244, -0.0025465090293437243, -0.014738550409674644, 0.010226914659142494, -0.012446421198546886, 0.03809140622615814, 0.004816087894141674, -0.006497505120933056, 0.004044028464704752, -0.046296462416648865, 0.005696413107216358, -0.011470944620668888, 0.0430399514734745, -0.0024789650924503803, -0.0018083287868648767, -0.031373824924230576, -0.01036754623055458, -0.004429631866514683, -0.0001749451766954735, -0.009075981564819813, -0.0069138784892857075, 0.02646426111459732, 0.0033075090032070875, 0.0019237889209762216, 0.040598273277282715, -0.006151205860078335, -0.03612688556313515, 0.0399407334625721, -0.04788563400506973, -0.062436312437057495, -0.014765705913305283, -0.04751807451248169, -0.00802708975970745, 0.011454279534518719, 0.006833857391029596, -0.04746859893202782, 0.06441020220518112, 0.05711785703897476, 0.03129187971353531, 0.05434013158082962, -0.01920747570693493, 0.014016348868608475, -0.03819965943694115, -0.004824709612876177, -0.07861965894699097, 0.002398458542302251, 0.03606889396905899, -0.005541054531931877, 0.006831751670688391, -0.01413087360560894, -0.014037292450666428, 0.007327731233090162, -0.07007205486297607, -0.027287961915135384, 0.03631039708852768, -0.02223346009850502, 0.019469382241368294, 0.006290585733950138, -0.0593593567609787, 0.033302515745162964, 0.04576012119650841, -0.02507067658007145, -0.02992929145693779, -0.03401147201657295, 0.03539535775780678, -0.0272758100181818, 0.05887451767921448, -0.014022517949342728, -0.02862580679357052, 0.05813390389084816, 0.022595928981900215, 0.01818501204252243, 0.05460035055875778, -0.02462282031774521, 0.025876717641949654, 0.04309729486703873, 0.011219969019293785, -0.0005573639646172523, 0.051612239331007004, -0.01861938275396824, -0.04804680496454239, 0.07061130553483963, 0.013925802893936634, -0.012648487463593483, -0.044664088636636734, 0.06858021020889282, 0.012566971592605114, -0.04776347428560257, -0.035753943026065826, 0.03122909925878048, -0.034485433250665665, -0.013070191256701946, -0.0253086369484663, 0.0017458408838137984, -0.015180932357907295, 0.03895418345928192, -0.026148289442062378, -0.005176411010324955, 0.0678081065416336, 0.01284527126699686, -0.010241874493658543, -0.009843934327363968, 0.08567307144403458, 0.09601382166147232, 0.0632956475019455, 0.023052742704749107, 0.08439409732818604, -0.003402338596060872, -0.028963176533579826, -0.019465524703264236, -0.04052775725722313, -0.00820283405482769, 0.022765828296542168, 0.011517314240336418, 0.06238401308655739, -0.03514294698834419, 0.06290443241596222, -0.0329149030148983, 0.010128545574843884, 0.006147912237793207, -0.022390419617295265, 0.01651928387582302, 0.06789462268352509, 0.02717510238289833, 0.04878949001431465, -0.046452321112155914, -0.032680317759513855, 0.005352319218218327, -0.012396260164678097, -0.00828859955072403, 0.05233428627252579, -0.005677755922079086, -0.0176862683147192, 0.009272399358451366, 0.032877303659915924, 0.09553566575050354, -0.05715956166386604, -0.005287196487188339, -0.025972379371523857, 0.006597478408366442, -0.01632017269730568, -0.0004518189816735685, 0.007989346981048584, -0.010041805915534496, -0.0021353980991989374, -0.04681795835494995, -0.045422375202178955, -0.006920065730810165, -0.02843443490564823, 0.015236455015838146, -0.02727796882390976, 0.005469535477459431, 0.0021258671768009663, -0.01566561684012413, -0.02842290699481964, -0.025674276053905487, -0.03929753601551056, -0.0795300155878067, -0.08100476861000061, 0.01132978405803442, 0.0029470163863152266, -0.0015993233537301421, -0.029726266860961914, -0.011747456155717373, -0.02454664371907711, -0.021199174225330353, 0.06431154161691666, -0.03950699791312218, 0.0008965479792095721, 0.0017943133134394884, 0.019823992624878883, 0.014805729500949383, 0.033417608588933945, 0.057725951075553894, -0.008141733705997467, 0.033680301159620285, -0.037920594215393066, 0.0018760833190754056, 0.045836079865694046, 0.02268180437386036, -0.013106687925755978, -0.07273223996162415, -0.007213495671749115, 0.0043508498929440975, -0.026282746344804764, -0.07028388231992722, -0.013797115534543991, 0.0353173092007637, 0.015972185879945755, 0.051606036722660065, 0.003862712299451232, -0.008183094672858715, -0.019851628690958023, 0.0019087876426056027, 0.010972419753670692, -0.016873493790626526, 0.018075836822390556, -0.035100001841783524, 0.07408501952886581, 0.029446106404066086, -0.016783110797405243, 0.0013479269109666348, -0.03508203849196434, 0.022744741290807724, -0.02055348828434944, -0.05137527734041214, -0.02850210666656494, -0.03481566160917282, -0.07615159451961517, -0.043192408978939056, 0.005758197512477636, -0.0017102229176089168, -0.035143643617630005, -0.0022979145869612694, 0.03152880445122719, -0.02347513474524021, 0.051547128707170486, -0.059088099747896194, 0.04361393675208092, -0.0002675731375347823, -0.026856200769543648, -0.02246253751218319, 0.0016423467313870788, 0.003636375069618225, 0.020365791395306587, 0.025361694395542145, -0.06308091431856155, -0.00044542792602442205, -0.04046295955777168, 0.020180830731987953, 0.006218330003321171, 0.019811324775218964, 0.004956881050020456 ]
[ -0.054617851972579956, -0.010697518475353718, -0.0431126244366169, -0.010859760455787182, 0.03351408988237381, -0.05073610320687294, -0.02465904876589775, -0.00131983810570091, 0.007095852866768837, -0.023548223078250885, 0.03646453469991684, -0.04006090387701988, 0.025934353470802307, 0.0006558193126693368, 0.0569356307387352, -0.008343481458723545, -0.02792917564511299, -0.02964368835091591, -0.0050913006998598576, 0.053246449679136276, -0.04875118285417557, -0.049503520131111145, -0.00708384532481432, -0.021693982183933258, 0.023472696542739868, 0.07053320109844208, 0.03711020201444626, -0.016861476004123688, -0.011309070512652397, -0.1953757107257843, 0.0008678612648509443, 0.007993508130311966, 0.0011791619472205639, 0.008999418467283249, 0.0325423926115036, 0.05171509087085724, 0.06417348980903625, -0.02715703658759594, 0.023559659719467163, 0.020016804337501526, 0.03199884667992592, 0.032713741064071655, -0.03080608882009983, -0.014403026551008224, 0.029616553336381912, 0.03270914405584335, -0.006702829618006945, -0.03516239672899246, -0.05509839579463005, -0.01640167087316513, -0.008991729468107224, -0.03681572526693344, -0.003959997091442347, -0.0032301817554980516, 0.01031633373349905, 0.07329429686069489, 0.04581776633858681, 0.07391532510519028, 0.02737448178231716, 0.050462909042835236, 0.024644145742058754, 0.00010872177517740056, -0.14227035641670227, 0.05445694923400879, 0.025653041899204254, 0.006900090258568525, -0.08378321677446365, -0.019447099417448044, -0.045781850814819336, 0.10962214320898056, 0.03942401334643364, 0.00782291404902935, -0.0574728287756443, 0.030626436695456505, 0.033918388187885284, 0.02747843600809574, -0.020314374938607216, 0.041411079466342926, 0.052495621144771576, -0.03775663301348686, -0.06196369230747223, 0.01617371290922165, -0.03315889090299606, -0.00003099102832493372, -0.020749574527144432, 0.058725446462631226, -0.041202958673238754, 0.028091156855225563, 0.0012585533550009131, 0.03772126883268356, 0.020807037129998207, -0.010497542098164558, 0.009718485176563263, 0.020393753424286842, -0.08009690046310425, -0.03315151855349541, 0.011730841360986233, 0.01025888416916132, -0.005205473862588406, 0.39733925461769104, -0.01417346391826868, 0.013043219223618507, 0.054765116423368454, 0.07404772937297821, -0.053193721920251846, -0.020949937403202057, -0.0053938888013362885, -0.06566552817821503, 0.03582439199090004, 0.009588322602212429, -0.007443869020789862, -0.02259625308215618, 0.02896278165280819, -0.09904717653989792, 0.01813615672290325, 0.03442889451980591, 0.031641893088817596, 0.059844158589839935, -0.028520353138446808, 0.01523375604301691, -0.016000384464859962, 0.013874266296625137, 0.04097842052578926, 0.008011787198483944, -0.007583814673125744, 0.04673820734024048, 0.02388148196041584, 0.03705187886953354, 0.018972178921103477, 0.02725660800933838, 0.07068052142858505, 0.0009882072918117046, -0.06246466934680939, 0.02107703499495983, -0.023872176185250282, 0.024797918274998665, 0.01652812771499157, -0.040355682373046875, -0.03171604499220848, -0.0019652002956718206, 0.013486502692103386, -0.02140548825263977, 0.02566886693239212, 0.0007575273630209267, -0.0476989671587944, 0.136221244931221, -0.022637397050857544, -0.038176633417606354, -0.020463503897190094, -0.021013807505369186, -0.008755074813961983, 0.02443792298436165, -0.010149066336452961, -0.05696729198098183, -0.019579481333494186, 0.020362088456749916, 0.07263818383216858, -0.016334161162376404, -0.07729854434728622, 0.06170886754989624, -0.0026606388855725527, -0.03478945791721344, -0.04387255758047104, 0.04986599087715149, 0.06018155813217163, -0.1395513117313385, 0.016727440059185028, 0.017970772460103035, 0.014756864868104458, -0.08693847060203552, 0.01004063431173563, 0.023146281018853188, -0.011615386232733727, -0.02661459892988205, 0.059716369956731796, -0.0025047974195331335, -0.016260666772723198, -0.022650152444839478, 0.030035417526960373, -0.0007960736402310431, 0.002379670040681958, 0.01136007346212864, -0.029629675671458244, -0.023650258779525757, -0.06571193784475327, -0.035938892513513565, -0.04990248382091522, 0.022194325923919678, -0.04021620750427246, -0.04125048965215683, -0.008434632793068886, 0.006297025363892317, -0.03923914581537247, 0.08589482307434082, -0.032655514776706696, -0.013632643036544323, -0.0401192270219326, -0.006958069279789925, -0.05520056560635567, 0.015570960938930511, 0.01697201281785965, 0.04340473935008049, -0.02210841327905655, -0.0026771139819175005, -0.10089708119630814, -0.007532937917858362, 0.0662757158279419, -0.030036097392439842, 0.05083593726158142, 0.013231957331299782, -0.055484525859355927, -0.020436188206076622, -0.029045991599559784, 0.013342833146452904, 0.013236008584499359, 0.00013839556777384132, 0.0029532311018556356, -0.0035163462162017822, 0.008318725042045116, 0.06173164024949074, -0.02873716875910759, -0.007702180650085211, -0.0008054270292632282, -0.3466862440109253, -0.052315853536129, -0.022370945662260056, 0.012627760879695415, 0.027033895254135132, -0.027653289958834648, 0.019500302150845528, -0.014526663348078728, -0.015124515630304813, 0.005596009083092213, 0.12353399395942688, -0.006371405441313982, -0.02872525528073311, -0.06072189286351204, 0.009947698563337326, 0.03807138651609421, -0.015393223613500595, 0.004128339234739542, -0.0612725131213665, -0.010424531996250153, 0.015536121092736721, -0.05129067227244377, -0.015780624002218246, -0.07505054771900177, -0.010930835269391537, -0.0028896385338157415, 0.12860539555549622, -0.042611390352249146, 0.0046449643559753895, -0.041320040822029114, 0.013393884524703026, 0.00905761681497097, -0.03298935666680336, -0.09096276760101318, 0.01010877639055252, -0.02964317798614502, 0.044065944850444794, -0.011211269535124302, -0.015680450946092606, -0.011315909214317799, -0.03386329114437103, -0.01942271739244461, -0.02938445471227169, -0.0422508679330349, -0.03765197470784187, 0.0192730575799942, -0.03872574120759964, -0.02343028225004673, 0.020357506349682808, 0.0594043992459774, -0.000026722624170361087, 0.03248855844140053, -0.003176466329023242, 0.012915782630443573, -0.013971512205898762, -0.05183226615190506, -0.07280255854129791, -0.006580650806427002, 0.003566446015611291, 0.034881215542554855, -0.006905931979417801, 0.027606967836618423, 0.00023607020557392389, -0.053708333522081375, 0.05163465067744255, -0.01644098199903965, 0.0004113162576686591, 0.004941760562360287, 0.02745898999273777, -0.030044184997677803, 0.012753271497786045, 0.09326948970556259, 0.015766780823469162, 0.02042987011373043, 0.04240105673670769, 0.04983450099825859, -0.02569854073226452, 0.032290175557136536, 0.02698313444852829, 0.014352021738886833, 0.003477818798273802, -0.05355532839894295, 0.06567061692476273, 0.0032419590279459953, -0.01951955072581768, 0.04942302778363228, 0.014018811285495758, -0.059051159769296646, 0.055685609579086304, 0.0015033431118354201, -0.031208980828523636, -0.011018970049917698, -0.0370783768594265, -0.036264605820178986, 0.062338583171367645, -0.03388066217303276, -0.24541866779327393, 0.03969073295593262, 0.019353965297341347, 0.023651782423257828, -0.0075757852755486965, 0.024429086595773697, 0.0524408258497715, -0.002268599346280098, 0.017871258780360222, -0.027514073997735977, 0.05021190270781517, 0.0549999475479126, 0.01924147456884384, -0.011505994014441967, 0.006582007743418217, 0.015514364466071129, 0.055515799671411514, 0.01443967130035162, 0.0019436245784163475, -0.004636505153030157, 0.05246917903423309, -0.014087453484535217, 0.18951989710330963, 0.023777121677994728, 0.039027873426675797, 0.022939283400774002, -0.0472315214574337, -0.013692451640963554, 0.03463011234998703, -0.006497987546026707, -0.023672988638281822, 0.04218563064932823, 0.021897654980421066, 0.016872640699148178, 0.012732206843793392, -0.06139018386602402, -0.007068141829222441, 0.05127565190196037, 0.024012891575694084, -0.04175504297018051, 0.00502394326031208, 0.00023556829546578228, -0.022084370255470276, 0.014870488084852695, 0.09909126162528992, -0.005903767887502909, -0.03273162618279457, 0.007763976696878672, -0.06925828754901886, -0.01802641525864601, -0.0328880175948143, -0.03928883746266365, -0.016417810693383217, 0.0011771336430683732, 0.039666831493377686, 0.06858406960964203, 0.01635877974331379, -0.013774369843304157, -0.021850986406207085, 0.005812740419059992, -0.02017444558441639, 0.001024375087581575, 0.12476444244384766, -0.02889437787234783, 0.033824753016233444 ]
[ 0.023386826738715172, 0.04176416993141174, 0.004700386431068182, 0.06359808146953583, -0.0030870388727635145, 0.005696674808859825, -0.04717433825135231, -0.00010154501796932891, -0.012138091959059238, -0.021455539390444756, -0.022363780066370964, 0.02588607370853424, 0.04547307267785072, 0.0060363514348864555, -0.014535130001604557, 0.028726786375045776, 0.0023984084837138653, 0.03203657642006874, 0.03800323233008385, -0.018875202164053917, -0.03554297238588333, -0.008868829347193241, 0.03392976149916649, -0.015291373245418072, -0.004203749820590019, -0.005288042593747377, -0.027428464964032173, -0.021383274346590042, 0.028493007645010948, -0.11150063574314117, -0.01319414284080267, -0.029307883232831955, -0.026094114407896996, 0.00963740237057209, -0.02669832669198513, 0.02389516495168209, 0.05054139345884323, 0.0015697054332122207, 0.00844237208366394, 0.01185873243957758, 0.018301861360669136, 0.003106267424300313, -0.01868313178420067, -0.0059166569262743, 0.001437581842765212, -0.013491499237716198, -0.0012222036020830274, -0.028427869081497192, -0.0036418819800019264, -0.03129780665040016, -0.042171042412519455, -0.043065451085567474, -0.028670605272054672, -0.008978776633739471, 0.024528590962290764, -0.016602981835603714, -0.017173510044813156, -0.017186803743243217, 0.0021490599028766155, -0.008036419749259949, 0.04632827639579773, -0.02806621789932251, -0.031981874257326126, -0.03645708039402962, 0.0149428965523839, -0.003779563819989562, -0.02472466230392456, 0.0093972347676754, -0.00868091732263565, -0.001212019007652998, 0.004148551728576422, 0.030020006000995636, -0.07522696256637573, -0.02099005877971649, -0.02349030412733555, 0.009627578780055046, 0.0561349019408226, -0.00353856454603374, -0.007247606758028269, -0.023809684440493584, -0.0007167499279603362, 0.004708500578999519, -0.03259030357003212, 0.02754039317369461, -0.03428131714463234, 0.015773510560393333, -0.006317537743598223, -0.002638755366206169, 0.01909029670059681, -0.015911264345049858, -0.0350581519305706, 0.00006232492887647822, -0.026100333780050278, 0.006602953188121319, -0.08336775749921799, -0.02042715810239315, -0.006004717666655779, -0.009521836414933205, 0.006289133336395025, 0.8122899532318115, 0.005789416376501322, -0.019823847338557243, 0.014153137803077698, 0.00038729902007617056, 0.01490122638642788, 0.04494145140051842, 0.018682898953557014, 0.013300109654664993, -0.024186287075281143, 0.013598142191767693, -0.002748148748651147, 0.017945604398846626, 0.004747406579554081, 0.03743424639105797, 0.015587134286761284, 0.009748846292495728, 0.015752913430333138, 0.00936180166900158, -0.010705637745559216, 0.031275659799575806, 0.017710762098431587, 0.03601846471428871, 0.012986353598535061, -0.022497447207570076, -0.0056671928614377975, -0.21868732571601868, -0.0021300523076206446, -6.923777806410417e-33, 0.05625784769654274, 0.02577393501996994, 0.05464944243431091, 0.006644779816269875, 0.0169229693710804, 0.018827227875590324, 0.00650884211063385, -0.0196269191801548, -0.01376694068312645, -0.024338526651263237, -0.03407200053334236, 0.0088887894526124, 0.004111981485038996, -0.030293496325612068, 0.008980384096503258, -0.015985896810889244, 0.0016452537383884192, 0.02334517613053322, 0.0008947488968260586, 0.006894929800182581, 0.02223283238708973, 0.003936604131013155, -0.05438677966594696, 0.03651469573378563, 0.005214651580899954, 0.0005906548467464745, 0.00744667137041688, 0.005253081675618887, -0.0006243482348509133, -0.05227404087781906, -0.040020912885665894, 0.04129183292388916, 0.002666694112122059, -0.02213164232671261, -0.0002988174674101174, -0.0404679961502552, -0.022578954696655273, 0.01616312935948372, -0.03147917240858078, -0.05755465850234032, -0.029734935611486435, 0.001866775332018733, -0.003155904356390238, -0.03525599464774132, -0.04285949841141701, -0.014357595704495907, -0.009312018752098083, 0.021960394456982613, -0.012516049668192863, 0.012018885463476181, -0.002094430848956108, 0.009715321473777294, -0.0014209956862032413, 0.027091555297374725, -0.04168948158621788, -0.02818318083882332, 0.008341395296156406, 0.00976797379553318, -0.008041050285100937, 0.010518771596252918, 0.055385787039995193, -0.0005104891606606543, -0.012072276324033737, 0.04189823940396309, 0.035766661167144775, 0.011506641283631325, -0.012356918305158615, 0.012465468607842922, 0.019643403589725494, 0.0607406385242939, -0.06006268411874771, 0.06320205330848694, -0.01333618350327015, -0.016852794215083122, 0.03288182616233826, -0.06597120314836502, -0.027371995151042938, -0.029414145275950432, 0.018961653113365173, 0.06342443823814392, -0.04127064719796181, -0.03184150904417038, -0.010855373926460743, -0.03064798377454281, 0.00486657815054059, -0.00010821077012224123, 0.040193822234869, 0.029523661360144615, -0.010555327869951725, 0.0327470600605011, 0.04911085590720177, 0.03645746037364006, 0.0016936080064624548, 0.001479506492614746, 0.011893251910805702, 6.995330882228939e-33, -0.0035880340728908777, 0.005399505142122507, 0.0040007466450333595, 0.015966253355145454, 0.04501461237668991, -0.0076768421567976475, 0.025088317692279816, 0.009291067719459534, -0.04647958278656006, 0.05414406955242157, -0.00038245844189077616, -0.040250781923532486, -0.005544703919440508, 0.022723304107785225, 0.0958268865942955, -0.02737468294799328, 0.012489649467170238, -0.07788829505443573, 0.009813503362238407, 0.003437536070123315, -0.03128102049231529, 0.023354262113571167, -0.02354089915752411, 0.011930763721466064, 0.04269632697105408, 0.048672549426555634, 0.014990931376814842, 0.007209261413663626, -0.01721075549721718, -0.007545818574726582, -0.02056596614420414, -0.06131749600172043, -0.009370465762913227, -0.027950217947363853, 0.007180527318269014, 0.03429880738258362, -0.02295159175992012, -0.006951082032173872, 0.04149819537997246, -0.02005956880748272, 0.013408028520643711, 0.015238555148243904, -0.01791004277765751, 0.0811012014746666, -0.000995549140498042, 0.02374313957989216, -0.005675820168107748, 0.004933400545269251, 0.0007670829072594643, 0.008123666979372501, 0.018839295953512192, 0.00916549563407898, -0.025045910850167274, 0.0017455974593758583, 0.03735500946640968, -0.040849484503269196, -0.01976873353123665, 0.03735006973147392, -0.0055810133926570415, 0.01756907068192959, -0.013562036678195, -0.020423725247383118, -0.01831626705825329, 0.04345371946692467, -0.022228341549634933, -0.03461402282118797, -0.020267074927687645, -0.018445061519742012, 0.007097197230905294, -0.0016871222760528326, -0.0025454896967858076, 0.03171619400382042, 0.0015210466226562858, 0.032567098736763, 0.04605495184659958, -0.03698279708623886, -0.013636250980198383, 0.00578769575804472, -0.03731856495141983, -0.00591091625392437, 0.004195348359644413, 0.008188641630113125, 0.01407554093748331, 0.020784785971045494, 0.00820882711559534, 0.002578731859102845, -0.022712593898177147, 0.034057166427373886, -0.010487951338291168, -0.008131313137710094, 0.01669299043715, -0.016108278185129166, -0.023625236004590988, 0.028863582760095596, -0.04284913092851639, -1.2602984433840447e-8, -0.05082505941390991, 0.014556669630110264, -0.0024611589033156633, 0.006067057140171528, 0.007460523396730423, 0.03290671482682228, 0.027899188920855522, 0.009697126224637032, -0.0007145747658796608, 0.01920120045542717, 0.021807961165905, -0.015648746863007545, 0.021644487977027893, 0.009980264119803905, 0.009413146413862705, -0.055805981159210205, -0.002894009929150343, -0.021136417984962463, 0.03999903053045273, 0.017411263659596443, -0.0043838126584887505, 0.010326911695301533, -0.04916538670659065, 0.024569591507315636, -0.0007510203868150711, -0.023655788972973824, 0.024949626997113228, -0.07785413414239883, 0.0007493298617191613, -0.026320522651076317, 0.019668063148856163, -0.01960824616253376, -0.0160677433013916, 0.029261967167258263, -0.05581280589103699, -0.016967155039310455, 0.015533986501395702, 0.045442137867212296, 0.0024570031091570854, 0.03839823976159096, 0.01633772812783718, 0.01502198725938797, -0.021838899701833725, -0.027687320485711098, -0.038800954818725586, -0.013140308670699596, -0.014133297838270664, -0.006951437797397375, 0.028961658477783203, -0.03107680194079876, -0.008945731446146965, -0.02582923322916031, 0.029628245159983635, 0.004081732127815485, 0.038882359862327576, -0.005537334363907576, 0.029202541336417198, -0.03927086666226387, -0.025872400030493736, -0.007407317869365215, 0.04264397546648979, 0.001962459646165371, -0.02283361367881298, -0.019771357998251915 ]
neo4jcypher-finding-the-shortest-path-between-two-nodes-while-applying-predicates
https://markhneedham.com/blog/2012/05/12/neo4jcypher-finding-the-shortest-path-between-two-nodes-while-applying-predicates
false
2012-05-22 10:26:49
Scala/Haskell: A simple example of type classes
[ "scala", "haskell" ]
[ "Scala", "Haskell" ]
I never really understood type classes when I was working with Scala but I recently came across http://marakana.com/s/scala_typeclasses,1117/index.html[a video where Dan Rosen explains them pretty well]. Since the last time I worked in Scala I've been playing around with Haskell where type classes are much more common - for example if we want to compare two values we need to make sure that their type extends the 'Eq' type class. http://learnyouahaskell.com/making-our-own-types-and-typeclasses[Learn Me a Haskell's chapter on type classes] defines them like so: ____ Typeclasses are like interfaces. A typeclass defines some behaviour (like comparing for equality, comparing for ordering, enumeration) and then types that can behave in that way are made instances of that typeclass. The behaviour of typeclasses is achieved by defining functions or just type declarations that we then implement. So when we say that a type is an instance of a typeclass, we mean that we can use the functions that the typeclass defines with that type. ____ In that chapter we then go on http://learnyouahaskell.com/making-our-own-types-and-typeclasses#a-yes-no-typeclass[to create a 'YesNo' type class] which defines Boolean semantics for all different types. We start by defining the type class like so: [source,haskell] ---- class YesNo a where yesno :: a -> Bool ---- Any type which extends that type class can call this 'yesno' function and find out the truthyness of its value. e.g. [source,haskell] ---- instance YesNo Int where yesno 0 = False yesno _ = True ---- If we call that: [source,haskell] ---- > yesno (0 :: Int) False > yesno (1 :: Int) True ---- We get the expected result, but if we try to call it for a type which hasn't defined an instance of 'YesNo': [source,haskell] ---- > yesno "mark" No instance for (YesNo [Char]) arising from a use of `yesno' Possible fix: add an instance declaration for (YesNo [Char]) In the expression: yesno "mark" In an equation for `it': it = yesno "mark" ---- In Scala we can use traits and implicits to achieve the same effect. First we define the 'YesNo' trait: [source,scala] ---- trait YesNo[A] { def yesno(value:A) : Boolean } ---- Then we define an implicit value in a companion object which creates an instance of the 'YesNo' type class for Ints: [source,scala] ---- object YesNo { implicit val intYesNo = new YesNo[Int] { def yesno(value:Int) = value match { case 0 => false; case _ => true } } } ---- We then need to call our 'yesno' function and the idea is that if we've defined a type class instance for the type we call it with it will return us a boolean value and if not then we'll get a compilation error. [source,scala] ---- object YesNoWriter { def write[A](value:A)(implicit conv: YesNo[A]) : Boolean = { conv.yesno(value) } } ---- If we call that: [source,text] ---- > YesNoWriter.write(1) res1: Boolean = true > YesNoWriter.write(0) res2: Boolean = false ---- It works as expected, but if we try to call it with a type which wasn't defined for the 'YesNo' type class we run into trouble: [source,text] ---- > YesNoWriter.write("mark") :10: error: could not find implicit value for parameter conv: YesNo[java.lang.String] YesNoWriter.write("mark") ---- We can also define YesNoWriter like this by making use of http://stackoverflow.com/questions/3855595/scala-identifier-implicitly[context bounds]: [source,scala] ---- object YesNoWriter { def write[A:YesNo](value:A) : Boolean = { implicitly[YesNo[A]].yesno(value) } } ---- I think this pattern is preferred when we might just be tunnelling the implicit parameter through to another method but we can still use it here and use the 'implicitly' method to get access to the implicit value. I'm still not entirely sure about the use of implicits but in this case they provide another way to implement polymorphism without having to use inheritance. http://marakana.com/s/scala_typeclasses,1117/index.html[Dan Rosen goes into much more detail about type classes and implicits] and I http://www.markhneedham.com/blog/2011/07/19/scala-rolling-with-implicit/[wrote about how we were using them on a project I worked on last year in an earlier blog post] if you want to learn more.
null
null
[ 0.0000016976758843156858, -0.011922175996005535, -0.006711549125611782, 0.023847317323088646, 0.050069957971572876, 0.020486216992139816, 0.022321734577417374, -0.010179270058870316, -0.004160584416240454, -0.013676741160452366, -0.0158077422529459, 0.016892412677407265, -0.06254932284355164, 0.04275265336036682, -0.014493404887616634, 0.05142102763056755, 0.07193433493375778, -0.011153217405080795, -0.020673150196671486, 0.028036026284098625, 0.03204582631587982, 0.06283427029848099, -0.016877729445695877, 0.038375165313482285, 0.012994730845093727, 0.003108886070549488, 0.03041885793209076, 0.02744157612323761, -0.030179200693964958, 0.002713465364649892, 0.04933991655707359, 0.002412518486380577, -0.030633745715022087, -0.008333245292305946, -0.009882086887955666, 0.011949735693633556, 0.04084941744804382, -0.011683915741741657, 0.00659804604947567, 0.017035063356161118, -0.045563578605651855, 0.016162173822522163, 0.013715761713683605, 0.01695735566318035, -0.07131819427013397, -0.007989299483597279, -0.06761365383863449, -0.009499491192400455, -0.026221878826618195, 0.020694389939308167, -0.03699873387813568, 0.01746012456715107, -0.019562581554055214, -0.00393475778400898, -0.01320916973054409, 0.05752454325556755, -0.0018825322622433305, -0.10162337124347687, 0.04408370703458786, -0.052225109189748764, 0.012038523331284523, -0.01019221916794777, -0.004642537795007229, 0.007571511901915073, 0.01257574837654829, -0.0018782863626256585, -0.02823890745639801, 0.03978997841477394, -0.05906447395682335, -0.021671311929821968, -0.014938317239284515, 0.01694609597325325, -0.00704174442216754, 0.005614660680294037, -0.013358555734157562, -0.020504621788859367, -0.022219570353627205, 0.0591701939702034, 0.006732454523444176, 0.010691748932003975, -0.009279349818825722, 0.020884737372398376, 0.04971996322274208, 0.024857139214873314, 0.039751388132572174, -0.023025985807180405, -0.03054010681807995, -0.000717517570592463, -0.03261828050017357, 0.07112561166286469, -0.000996091985143721, -0.061742786318063736, 0.0056623658165335655, 0.012822228483855724, 0.027349039912223816, 0.003956667147576809, 0.02084244415163994, -0.03426077961921692, 0.020152069628238678, -0.01869049482047558, -0.06570099294185638, -0.021794971078634262, 0.025128046050667763, 0.0018644892843440175, -0.04095418006181717, -0.012490440160036087, -0.01420703623443842, -0.005892321467399597, -0.0019456712761893868, 0.04690807685256004, -0.044790469110012054, -0.032655052840709686, -0.02567044459283352, 0.015080003067851067, -0.0814431831240654, 0.05902855843305588, 0.00606019701808691, -0.022578198462724686, -0.006967167370021343, 0.04128272458910942, 0.02346903085708618, 0.006968240719288588, -0.01842213049530983, 0.07569638639688492, 0.041922252625226974, 0.02667389065027237, -0.0042420122772455215, 0.0712348222732544, 0.0014610178768634796, -0.06871377676725388, -0.003818958532065153, 0.0709989070892334, -0.020414484664797783, 0.026786906644701958, -0.005160818807780743, -0.0050551919266581535, -0.04253172501921654, 0.012253668159246445, 0.021469078958034515, 0.057265352457761765, 0.007625950034707785, -0.030877165496349335, 0.028493141755461693, -0.011725378222763538, 0.02807183749973774, -0.0059355804696679115, -0.02445884980261326, -0.02295013889670372, 0.011650689877569675, 0.004487211816012859, -0.01156784500926733, 0.04844115301966667, 0.06188547983765602, -0.0459618903696537, 0.016826238483190536, 0.06818106025457382, 0.011692759580910206, 0.02529713325202465, -0.0065571581944823265, 0.000009505001798970625, 0.03182143718004227, 0.015093768015503883, 0.0338403582572937, 0.0045886714942753315, 0.03524184226989746, 0.006059537176042795, -0.035542991012334824, 0.06782423704862595, -0.004244509618729353, -0.007057507056742907, -0.05187318101525307, -0.07334193587303162, 0.05202096328139305, -0.03642476350069046, 0.013249500654637814, 0.014385771937668324, 0.08028532564640045, 0.004522097762674093, 0.05579901486635208, -0.02684176340699196, -0.07834423333406448, 0.0019198606023564935, -0.018867269158363342, 0.007257852703332901, 0.03177882358431816, 0.006131671369075775, 0.03979407250881195, 0.04278411343693733, 0.030865777283906937, 0.020655367523431778, -0.03984787315130234, -0.06391769647598267, 0.0016002588672563434, -0.013353806920349598, 0.07487870007753372, -0.053024157881736755, -0.024960383772850037, 0.04639173299074173, -0.00756506621837616, 0.026906127110123634, 0.012024558149278164, -0.010323656722903252, -0.0039694830775260925, -0.008570089004933834, -0.005671133287250996, 0.06410301476716995, 0.015446540899574757, -0.01032104343175888, -0.01570613868534565, -0.002238344866782427, 0.009378049522638321, -0.021343732252717018, 0.03913351148366928, 0.0013886734377592802, 0.048130959272384644, 0.044225674122571945, 0.00796873215585947, -0.04920865222811699, 0.0564119815826416, -0.07194709777832031, 0.06292618066072464, 0.021606987342238426, -0.014872937463223934, -0.03736951947212219, -0.0022246174048632383, 0.11962566524744034, 0.05562490224838257, -0.04498409852385521, -0.02310113050043583, 0.006085386034101248, 0.016357149928808212, -0.034169137477874756, 0.010641787201166153, 0.024117683991789818, -0.014053668826818466, -0.0063558523543179035, 0.002121898578479886, -0.005687534809112549, 0.018511461094021797, -0.03366762772202492, -0.010756999254226685, 0.08941188454627991, -0.06630823016166687, 0.05037849396467209, -0.011888384819030762, -0.04513070732355118, 0.02558695711195469, -0.003775564953684807, -0.06897862255573273, 0.008930225856602192, 0.026149963960051537, -0.016197407618165016, 0.05351372808218002, -0.034645795822143555, -0.03748912736773491, -0.03863196074962616, -0.05776365101337433, 0.026878494769334793, 0.05283033847808838, 0.04436707869172096, -0.022290432825684547, -0.006871610414236784, -0.011510784737765789, -0.005414340645074844, -0.0027393389027565718, -0.04975564405322075, -0.03992576524615288, 0.0032362863421440125, 0.030838558450341225, 0.020839478820562363, 0.011082894168794155, 0.03574506193399429, 0.03596971929073334, -0.004328408744186163, -0.014062373898923397, 0.00957813672721386, 0.004044684115797281, -0.0006449417560361326, -0.0027248747646808624, -0.032011933624744415, -0.05633925646543503, 0.07579833269119263, -0.03687626123428345, -0.04394024610519409, 0.010436467826366425, -0.04432310163974762, 0.043313417583703995, -0.06999654322862625, -0.0471755787730217, 0.028796860948204994, 0.06497379392385483, 0.04145364835858345, -0.02245176024734974, -0.028908032923936844, 0.06380344182252884, 0.006182347424328327, 0.022732827812433243, 0.03617199882864952, -0.013324128463864326, 0.054877869784832, -0.015506922267377377, 0.03189624473452568, 0.06512613594532013, 0.029400330036878586, -0.0016902220668271184, -0.0074224104173481464, 0.012893367558717728, -0.013757994398474693, -0.23566673696041107, 0.003270330373197794, -0.018377581611275673, -0.022925592958927155, -0.002289593918249011, -0.035937320441007614, -0.006153455935418606, -0.03801373019814491, -0.02120731770992279, 0.04650694876909256, -0.04577946662902832, -0.027702977880835533, -0.07023411244153976, 0.0611959733068943, -0.0010115057229995728, 0.028595447540283203, -0.019311953336000443, -0.03191433846950531, -0.021447479724884033, 0.06517896801233292, -0.025365861132740974, -0.0505121648311615, -0.015536181628704071, 0.09221027791500092, 0.0032847346737980843, 0.03375544026494026, -0.10317286849021912, 0.019328545778989792, -0.04269019514322281, -0.010784469544887543, -0.008065295405685902, -0.02975362539291382, -0.037636641412973404, -0.005759186577051878, 0.0017382778460159898, -0.023110123351216316, 0.03558515012264252, 0.012719250284135342, -0.004338088445365429, 0.035392310470342636, -0.04402998089790344, -0.033748142421245575, -0.01239692885428667, -0.002020953455939889, 0.06845632940530777, -0.0328725166618824, -0.08047285676002502, 0.004850971978157759, -0.03499151021242142, 0.06546521931886673, -0.06567119807004929, -0.04123456031084061, -0.00884018000215292, 0.04076717793941498, 0.009602888487279415, -0.006333435885608196, 0.0032442957162857056, -0.021398209035396576, -0.032343100756406784, -0.023061010986566544, -0.03193734213709831, -0.033606499433517456, -0.0440886989235878, -0.044614698737859726, -0.017103128135204315, -0.04625031352043152, -0.08401381969451904, 0.034678876399993896, 0.0332694873213768, 0.02180509641766548, -0.032150138169527054, -0.03653530403971672, -0.03354142606258392, -0.10768217593431473, 0.001206981367431581, -0.016010446473956108, -0.010657005943357944, -0.028017930686473846, 0.0408254936337471, 0.07022030651569366, -0.011890922673046589, -0.054341092705726624, 0.05287676304578781, -0.017653726041316986, 0.0389106310904026, 0.012382062152028084, 0.01670757681131363, -0.03447899967432022, 0.007314273156225681, 0.002377808792516589, 0.042011864483356476, -0.004601922817528248, 0.0034632282331585884, -0.033050328493118286, 0.011156353168189526, 0.029954850673675537, 0.026670236140489578, -0.010098961181938648, 0.024863332509994507, 0.02292136661708355, 0.019123636186122894, -0.04100170359015465, -0.017341090366244316, -0.0040580714121460915, -0.015327935107052326, 0.003654214320704341, -0.0666193813085556, 0.03549525514245033, 0.05327277630567551, -0.01177994068711996, -0.017463363707065582, -0.05627065524458885, -0.01972128450870514, -0.03570528328418732, -0.034362781792879105, -0.017959635704755783, -0.017506584525108337, 0.03661194071173668, 0.01845364458858967, 0.01672416366636753, -0.04737785458564758, -0.014067144133150578, -0.017229462042450905, -0.030545376241207123, -0.07886116951704025, -0.016841689124703407, -0.038907527923583984, 0.009536811150610447, -0.0321832075715065, 0.01265118271112442, -0.02540282905101776, 0.0018013713415712118, 0.02320345677435398, -0.013211406767368317, 0.04395224153995514, -0.0026443421375006437, -0.02403891272842884, -0.0003890935331583023, -0.035171106457710266, -0.03836727514863014, 0.013315065763890743, -0.008945290930569172, 0.0355873741209507, 0.06187106668949127, 0.04911414906382561, 0.0038661882281303406, -0.007611931301653385, 0.010361111722886562, -0.007435103878378868, 0.02701822854578495, 0.04782608151435852, -0.04152140021324158, -0.004624852444976568, -0.025248106569051743, -0.023229511454701424, -0.0012394454097375274, 0.04393177852034569, 0.016791371628642082, -0.043854959309101105, -0.016648685559630394, 0.02194354124367237, -0.024637440219521523, -0.04567727446556091, -0.04393525421619415, 0.009349128231406212, 0.06649760156869888, -0.030615685507655144, 0.006706411484628916, -0.044642794877290726, -0.0029269661754369736, -0.003442385233938694, 0.04364859312772751, 0.004151220433413982, 0.03360999375581741, 0.012546982616186142, -0.032169125974178314, 0.005295332055538893, 0.027132028713822365, 0.02236037887632847, 0.0061141555197536945, 0.01522766426205635, 0.004993950482457876, -0.0038283090107142925, -0.0016644992865622044, 0.035592492669820786, 0.004527028184384108, 0.005620838142931461, -0.002361082239076495, -0.02476283721625805, -0.03456363081932068, -0.041682321578264236, -0.0015416055684909225, -0.04041460156440735, 0.0406508594751358, -0.036617252975702286, -0.07768784463405609, 0.010535324923694134, 0.021680794656276703, 0.003807896049693227, -0.029106508940458298, 0.022754628211259842, 0.001987345516681671, -0.0003756898222491145, -0.02480735071003437, 0.07917911559343338, -0.05500691756606102, 0.03511397913098335, -0.006203523837029934, 0.00046745475265197456, 0.014047800563275814, 0.03720161318778992, -0.08106443285942078, -0.004328420851379633, -0.0156017504632473, -0.041564833372831345, -0.04095221683382988, -0.04750150814652443, -0.01532649528235197, -0.017030484974384308, -0.017256999388337135, 0.000336445402354002, 0.019837455824017525, 0.006036805454641581, -0.03288464993238449, -0.03821481019258499, -0.01932540349662304, -0.0434376485645771, 0.02753368951380253, 0.06075338274240494, -0.03651152551174164, 0.046269383281469345, -0.027299530804157257, 0.016868265345692635, 0.016674067825078964, 0.001847973559051752, -0.009236671030521393, -0.0720023661851883, 0.020778898149728775, -0.003994278609752655, 0.04742903634905815, 0.012706064619123936, 0.010603955015540123, 0.0012058992870151997, -0.0017313207499682903, -0.05055845528841019, 0.02488735131919384, 0.018183860927820206, -0.026203999295830727, 0.009731492958962917, 0.04597300663590431, -0.048361264169216156, 0.047040946781635284, -0.015104974620044231, -0.012662072665989399, 0.04305087774991989, -0.03461150825023651, -0.023347096517682076, 0.013555404730141163, -0.05606900155544281, 0.037187784910202026, 0.010731752030551434, 0.03556008264422417, -0.041806284338235855, 0.03755392134189606, 0.05244782939553261, 0.0402802899479866, 0.044239044189453125, -0.0162949338555336, 0.044289667159318924, -0.02627643384039402, -0.020872408524155617, -0.09532753378152847, -0.0015197042375802994, 0.01859738491475582, 0.045505642890930176, -0.032532867044210434, -0.06869826465845108, 0.00020682021568063647, 0.045880407094955444, -0.04763359948992729, -0.010421399027109146, 0.016711942851543427, -0.0021911943331360817, 0.015375717543065548, 0.0030935010872781277, -0.06540609896183014, 0.0300742257386446, 0.014814169146120548, -0.03373017534613609, -0.004315968602895737, -0.03670673444867134, 0.031346678733825684, 0.01285090483725071, 0.013765832409262657, 0.011361030861735344, 0.013620193116366863, 0.03907656669616699, 0.0006975402357056737, 0.03241061791777611, 0.05699960142374039, -0.024386441335082054, 0.04691975191235542, 0.00960568804293871, 0.012221002019941807, -0.0017282299231737852, 0.02455829828977585, -0.020113714039325714, -0.06624671071767807, 0.04622066766023636, 0.01942470856010914, -0.033115848898887634, -0.057171355932950974, 0.02791818045079708, 0.02023511938750744, 0.0032941969111561775, -0.008273462764918804, 0.02572728507220745, -0.046623241156339645, -0.014834261499345303, -0.014247757382690907, 0.005328063853085041, -0.042058590799570084, 0.052746277302503586, -0.0159384123980999, -0.018464792519807816, 0.05664339289069176, -0.013866783119738102, -0.022303812205791473, -0.006082295440137386, 0.09698167443275452, 0.062303073704242706, 0.030060889199376106, -0.018088825047016144, 0.06012343987822533, -0.037107810378074646, -0.03501466289162636, 0.01893381029367447, -0.011194208636879921, -0.005483615677803755, 0.005316052585840225, 0.055328208953142166, 0.05266505852341652, -0.02079537697136402, 0.0640840232372284, -0.051058653742074966, 0.016409961506724358, -0.006069531664252281, 0.01811065524816513, 0.026767151430249214, 0.0573105551302433, 0.020120752975344658, 0.06094878911972046, -0.0022100857459008694, -0.05638335272669792, -0.008991721086204052, -0.01630156673491001, -0.02081318572163582, -0.010089647024869919, -0.010721530765295029, 0.0005487307789735496, 0.03694823011755943, 0.039599355310201645, 0.07154589891433716, -0.021015184000134468, -0.01620478369295597, 0.042921282351017, -0.004488765262067318, 0.0031724500004202127, -0.013215405866503716, -0.02290305308997631, -0.05533929541707039, -0.0022815344855189323, -0.020051458850502968, -0.014282086864113808, -0.024991147220134735, -0.03764687851071358, 0.0349455252289772, -0.023203061893582344, -0.0019876225851476192, 0.010482322424650192, -0.012673781253397465, -0.03497422859072685, -0.07036292552947998, -0.039387673139572144, 0.0329587385058403, -0.08488944917917252, 0.02828753925859928, 0.016445886343717575, -0.043655283749103546, -0.017204079777002335, -0.04775269702076912, 0.007118524517863989, 0.0026012498419731855, 0.06473825126886368, -0.052219636738300323, -0.052659641951322556, 0.012957514263689518, 0.030495237559080124, 0.0416349321603775, 0.01852794550359249, 0.06422782689332962, -0.03772904723882675, 0.006532446481287479, -0.0448276586830616, -0.03766578808426857, 0.01992332749068737, 0.030523091554641724, 0.024863211438059807, -0.06285329908132553, -0.023174867033958435, 0.04936225712299347, 0.0389372855424881, -0.07007201015949249, -0.012256821617484093, 0.011086029931902885, 0.03146122395992279, 0.028579438105225563, -0.003272572997957468, 0.005437510088086128, -0.010801203548908234, -0.02659076824784279, -0.009390922263264656, 0.03758527338504791, 0.04048427194356918, -0.024063704535365105, 0.08824339509010315, 0.010027945041656494, -0.018734272569417953, -0.010605781339108944, 0.008194333873689175, -0.04643956199288368, 0.02554209530353546, -0.032773859798908234, -0.031366124749183655, -0.006910073570907116, -0.028855085372924805, -0.04233774542808533, 0.0014320152113214135, -0.0404040589928627, -0.013861633837223053, 0.00535252969712019, 0.05697816610336304, -0.030232354998588562, 0.060989104211330414, -0.038356803357601166, 0.032646603882312775, -0.024038216099143028, -0.029954956844449043, 0.01728132553398609, 0.016164280474185944, -0.018774844706058502, 0.011795951053500175, 0.032396577298641205, -0.035762637853622437, -0.022472558543086052, -0.0038840125780552626, 0.03718065097928047, 0.033905353397130966, -0.012193289585411549, 0.020254258066415787 ]
[ -0.09070254862308502, -0.032014377415180206, -0.05400792136788368, -0.013293294236063957, 0.02085810899734497, -0.04475361853837967, 0.019665585830807686, 0.023767845705151558, 0.001426398055627942, -0.04604462534189224, -0.048284366726875305, -0.0683029294013977, -0.005302064120769501, 0.001386888325214386, 0.1095295324921608, -0.020334258675575256, -0.01655844785273075, -0.05290137603878975, -0.03324627876281738, 0.012514007277786732, 0.05370890721678734, -0.02208278328180313, -0.07028830051422119, -0.032555218786001205, 0.06298677623271942, 0.047322094440460205, 0.05502128228545189, -0.03586815670132637, 0.03135077655315399, -0.21042145788669586, -0.015721190720796585, -0.0014436071505770087, 0.026201393455266953, -0.021794434636831284, -0.02137959934771061, 0.028518937528133392, 0.02075844071805477, 0.003662314498797059, -0.021324247121810913, 0.06396500021219254, 0.03327512741088867, 0.015566100366413593, -0.041049838066101074, -0.06373085826635361, 0.03557400405406952, 0.017121242359280586, -0.011738711036741734, -0.023270195350050926, -0.02684072218835354, -0.036900028586387634, -0.07675638794898987, -0.014589876867830753, -0.016855033114552498, 0.00311001343652606, -0.007661408744752407, 0.02438647486269474, 0.06796444952487946, 0.09693602472543716, 0.015452053397893906, 0.0055330428294837475, 0.0069530741311609745, -0.020220579579472542, -0.10396335273981094, 0.10538052767515182, -0.03369676321744919, 0.08273211121559143, -0.020727891474962234, -0.03178626671433449, -0.021995004266500473, 0.04754763841629028, 0.018349941819906235, -0.038261737674474716, -0.009844476357102394, 0.06844067573547363, 0.00896768644452095, -0.05265047401189804, 0.011787268333137035, 0.0016358500579372048, 0.06307829916477203, -0.05628640949726105, -0.052054841071367264, -0.031738560646772385, 0.003448973409831524, 0.0019338068086653948, 0.005642553325742483, 0.02027060277760029, -0.007813606411218643, 0.0480441078543663, 0.04503776505589485, 0.012750333175063133, 0.0329967737197876, -0.013194628991186619, 0.018807178363204002, 0.03341849148273468, -0.01210726797580719, 0.026404256001114845, -0.021108806133270264, -0.014750578440725803, -0.009427308104932308, 0.3806529641151428, -0.051010552793741226, -0.027945540845394135, 0.056479569524526596, 0.024622196331620216, 0.004619603976607323, 0.010039007291197777, -0.008990545757114887, -0.061226025223731995, 0.00870758481323719, -0.06823711842298508, -0.034513771533966064, -0.04595140367746353, 0.047027744352817535, -0.057048991322517395, -0.04864073172211647, -0.03457852080464363, 0.044262759387493134, -0.003938228357583284, 0.019395416602492332, 0.013735134154558182, -0.02405545860528946, 0.020811857655644417, 0.014212160371243954, -0.0004614252829924226, 0.017941271886229515, 0.01561712846159935, 0.02032177709043026, 0.020037496462464333, 0.031369682401418686, 0.03271106630563736, 0.017540860921144485, -0.015863468870520592, -0.07118399441242218, -0.028384502977132797, 0.007671070750802755, 0.02358683943748474, 0.012116788886487484, -0.030624352395534515, 0.015184749849140644, -0.00589176407083869, -0.01663745753467083, -0.04951336607336998, 0.0326835922896862, -0.0008986878674477339, -0.05887768790125847, 0.09927929937839508, -0.01571512036025524, -0.01716546155512333, 0.003630806226283312, 0.00005759121268056333, -0.024304693564772606, 0.04102296382188797, -0.02665085531771183, -0.06931430846452713, 0.017636362463235855, 0.036695629358291626, 0.059231266379356384, -0.007717315573245287, -0.08757903426885605, -0.04342294856905937, -0.05448434129357338, 0.0020822142250835896, -0.0392703153192997, 0.03251471742987633, -0.002798528643324971, -0.05593758448958397, -0.00280571635812521, 0.010117916390299797, 0.022410305216908455, -0.07022581994533539, 0.010031366720795631, 0.037529610097408295, -0.031928759068250656, 0.010608050040900707, 0.07588355243206024, -0.027401644736528397, -0.02196086198091507, -0.03873037174344063, 0.023594357073307037, 0.020974455401301384, 0.009099219925701618, 0.030773760750889778, -0.049899108707904816, -0.003889720421284437, -0.010699857957661152, -0.03285149484872818, -0.05814981088042259, -0.016474220901727676, -0.006810440681874752, 0.0031361684668809175, 0.02659670077264309, 0.021127458661794662, -0.057983603328466415, 0.03539513424038887, -0.021126266568899155, -0.004536260850727558, 0.05524679645895958, 0.030918050557374954, -0.005331076215952635, 0.018558155745267868, -0.01889812760055065, 0.10611454397439957, 0.018170101568102837, 0.015109517611563206, -0.09394928812980652, 0.02549080178141594, 0.030980797484517097, -0.04555963724851608, 0.053256817162036896, 0.027655595913529396, -0.03841366991400719, -0.007624336518347263, -0.03278602659702301, 0.023500408977270126, 0.001998665975406766, -0.02167612314224243, -0.0008467633742839098, 0.009916506707668304, -0.00280124694108963, 0.009171254932880402, -0.0258936770260334, -0.07555029541254044, -0.03460007533431053, -0.34026703238487244, -0.03616372123360634, 0.01796659640967846, -0.04533330723643303, -0.0023579730186611414, -0.1025402769446373, 0.014669772237539291, -0.0061338297091424465, -0.02776634879410267, 0.0036766566336154938, 0.0814942717552185, 0.017361633479595184, -0.037460532039403915, -0.11468691378831863, 0.002380987396463752, 0.04324242100119591, -0.01799953542649746, -0.04840265214443207, -0.059619393199682236, -0.004129525274038315, 0.00002738358307396993, 0.02019820734858513, -0.00815593171864748, -0.07586540281772614, 0.023368317633867264, -0.03097141720354557, 0.10859126597642899, -0.04070369526743889, 0.1066977009177208, -0.051236219704151154, 0.05056602880358696, -0.039560046046972275, -0.0032104412093758583, -0.04994947090744972, 0.026549113914370537, -0.03803637996315956, -0.008801912888884544, 0.0003926144854631275, 0.06956389546394348, -0.03315471112728119, -0.0371423177421093, 0.015665581449866295, -0.07815191894769669, -0.01941559463739395, -0.01437640842050314, 0.01413574256002903, 0.00601318571716547, -0.04320771247148514, -0.016810405999422073, 0.10004349797964096, -0.010250180959701538, 0.03762701526284218, 0.017988495528697968, 0.05395962670445442, -0.02022840641438961, -0.014224301092326641, -0.07581757754087448, -0.014477691613137722, 0.01571626588702202, 0.022331602871418, 0.047697167843580246, 0.09277239441871643, 0.042148906737565994, -0.024099035188555717, -0.0013810646487399936, 0.0008737684693187475, -0.026527132838964462, -0.007395255845040083, 0.01415690965950489, -0.04204822704195976, -0.03009924665093422, 0.12181369215250015, -0.02091042511165142, 0.00039332627784460783, 0.04016793146729469, 0.06567197293043137, 0.0033625897485762835, 0.040484532713890076, 0.05270010605454445, 0.03132398799061775, 0.0026459668297320604, -0.020556779578328133, 0.0057345121167600155, -0.017131593078374863, -0.005191712640225887, 0.023291129618883133, 0.00928697269409895, 0.01417165994644165, 0.014832624234259129, -0.006339856423437595, -0.018466055393218994, 0.0248059444129467, 0.01616930030286312, -0.04511650279164314, 0.053100697696208954, -0.010055565275251865, -0.23777073621749878, 0.022176921367645264, 0.05554112419486046, 0.05614776164293289, 0.01969054900109768, 0.04432373866438866, 0.0007936804322525859, -0.07238536328077316, -0.026511412113904953, -0.05072449892759323, 0.0560244582593441, 0.048128969967365265, 0.06504321843385696, 0.05146121233701706, 0.0013524695532396436, -0.010853685438632965, 0.08559302240610123, -0.027904808521270752, 0.04124079644680023, -0.011636682786047459, 0.02881399542093277, -0.013594447635114193, 0.172281876206398, -0.026380006223917007, 0.06113552674651146, -0.015184451825916767, -0.003357967361807823, 0.020447077229619026, 0.04702826961874962, 0.0336441732943058, 0.011050025001168251, 0.01561870239675045, 0.09655682742595673, 0.011738711968064308, 0.017208026722073555, -0.03017723560333252, 0.0013379942392930388, 0.027672642841935158, 0.03831679746508598, 0.00445674080401659, 0.03015270084142685, 0.011416228488087654, -0.06318792700767517, 0.013236716389656067, 0.07169447839260101, 0.01560650672763586, -0.014991997741162777, -0.058348193764686584, -0.03344906121492386, 0.003899628296494484, 0.007672354578971863, 0.000638359400909394, -0.016104644164443016, 0.008870948106050491, -0.011143605224788189, 0.015323488973081112, 0.018179118633270264, 0.004343064036220312, -0.04333551228046417, 0.01732507161796093, 0.01620839349925518, -0.018426882103085518, 0.0858742743730545, 0.05340494588017464, 0.03265898674726486 ]
[ 0.003651393810287118, -0.0016256814124062657, 0.0074511440470814705, 0.02424817532300949, -0.020409289747476578, -0.007852936163544655, 0.01952209323644638, -0.0030017553362995386, -0.04148337244987488, -0.03322729468345642, -0.03890962153673172, 0.00255763647146523, -0.0034853010438382626, 0.0031167601700872183, -0.019629407674074173, -0.02424023300409317, 0.03866419568657875, 0.03165101259946823, 0.02141100913286209, 0.0024704495444893837, -0.005184331443160772, 0.027626072987914085, 0.007247536443173885, 0.023106662556529045, -0.020209845155477524, 0.008358554914593697, -0.021385004743933678, -0.011464172042906284, 0.031004810705780983, -0.1512715369462967, -0.07345789670944214, -0.014992373995482922, 0.003479739185422659, 0.019917480647563934, -0.0722285658121109, 0.00471869483590126, 0.011005017906427383, 0.007724202703684568, -0.028345080092549324, 0.010181201621890068, -0.037127573043107986, -0.010694165714085102, 0.03074764832854271, 0.01855982281267643, 0.02513945661485195, -0.006746720522642136, -0.029078304767608643, -0.030376184731721878, 0.003675278276205063, -0.03658332675695419, -0.028123291209340096, 0.03973664343357086, -0.004143626894801855, 0.00822210032492876, 0.008683371357619762, 0.02129535563290119, -0.01590682752430439, -0.0632895976305008, -0.037775877863168716, -0.016579395160079002, -0.04650433734059334, 0.009547719731926918, -0.009508339688181877, -0.02953519858419895, -0.02161511220037937, 0.020879395306110382, 0.00984965916723013, -0.002139872871339321, 0.006649293936789036, -0.005806498695164919, 0.0008521081181243062, 0.02317439764738083, -0.04008856788277626, -0.026958387345075607, 0.011772396974265575, -0.012379973195493221, 0.07178600132465363, 0.02754943259060383, 0.03872150555253029, 0.027940277010202408, -0.020977366715669632, 0.000146343678352423, 0.014226115308701992, 0.025060588493943214, -0.007933109998703003, -0.04086900129914284, -0.00769285811111331, 0.01198682002723217, 0.04272201284766197, 0.027222346514463425, -0.017218446359038353, 0.04526657238602638, 0.0012628341792151332, -0.006253724917769432, -0.053263936191797256, 0.022546378895640373, -0.0406704917550087, 0.00034486103686504066, 0.00910232588648796, 0.8160267472267151, -0.019695764407515526, 0.04448303207755089, 0.021225078031420708, 0.03961971029639244, -0.007469483185559511, 0.024613238871097565, -0.020195255056023598, -0.022815082222223282, -0.0012784145073965192, -0.05542786046862602, 0.030118118971586227, -0.034292273223400116, 0.04783342406153679, 0.005352089647203684, -0.010951177217066288, 0.00987739022821188, 0.01711221970617771, 0.011505178175866604, 0.00629497179761529, 0.0004276561667211354, 0.005537926219403744, -0.008288406766951084, 0.012024142779409885, 0.02861187607049942, 0.02151823602616787, -0.18009914457798004, -0.04139906167984009, -8.713331304319067e-33, 0.042135290801525116, 0.002880191896110773, 0.003220333019271493, -0.009082386270165443, 0.03140045702457428, 0.0137015450745821, 0.05637931823730469, 0.016878478229045868, -0.018043989315629005, -0.030452029779553413, 0.002420995384454727, 0.004191265441477299, -0.02565709687769413, -0.025388013571500778, 0.05850978568196297, 0.03203651309013367, 0.00851611141115427, 0.01449153758585453, -0.04102030023932457, -0.0055178869515657425, 0.033810168504714966, 0.056926995515823364, -0.00013663100253324956, 0.023204756900668144, 0.012481195852160454, 0.0631578266620636, 0.0196219552308321, -0.010725225321948528, 0.009236529469490051, -0.049763355404138565, -0.021331243216991425, -0.005720901302993298, 0.029205260798335075, -0.0008070358890108764, 0.04340938851237297, -0.035392679274082184, -0.022545039653778076, 0.04938589408993721, 0.0020246696658432484, -0.018331369385123253, -0.02741062082350254, 0.0237180907279253, -0.022612351924180984, -0.023823190480470657, -0.008457559160888195, -0.03684268519282341, 0.03729001060128212, 0.05942758545279503, 0.008584138937294483, 0.014962313696742058, 0.02665983885526657, 0.007041227538138628, -0.011809615418314934, 0.01849961280822754, -0.012317323125898838, -0.0026889569126069546, 0.005220445804297924, 0.034710027277469635, 0.0061852047219872475, 0.025623328983783722, 0.010760179720818996, -0.011190412566065788, -0.006565614603459835, 0.04343743994832039, -0.03273463994264603, -0.002747610444203019, -0.026970498263835907, 0.002282157074660063, 0.022561589255928993, 0.056717462837696075, -0.011215182021260262, -0.011987654492259026, -0.03881018981337547, -0.005689474754035473, 0.02190580405294895, -0.0287117101252079, -0.049186863005161285, -0.0441281758248806, -0.01461044792085886, 0.02388538047671318, 0.052033405750989914, -0.036052726209163666, 0.032553382217884064, -0.002549269935116172, -0.00625880341976881, -0.02756723016500473, 0.045269809663295746, -0.005721892695873976, 0.04740957170724869, -0.018339799717068672, 0.006365813780575991, 0.03230246901512146, 0.026150213554501534, -0.04300431162118912, 0.018980326130986214, 8.340123602876499e-33, 0.018346983939409256, -0.025433938950300217, -0.03164393827319145, 0.022903595119714737, -0.05278145521879196, -0.008045591413974762, 0.010131597518920898, 0.015613949857652187, -0.02854313887655735, 0.05998172610998154, -0.014678473584353924, 0.011535101570189, 0.009304117411375046, -0.02734111249446869, 0.043925102800130844, -0.033445753157138824, 0.011085160076618195, 0.013189914636313915, -0.008698833175003529, -0.002567700343206525, -0.007087592501193285, 0.01579407975077629, 0.03316141292452812, 0.006864805240184069, 0.028031112626194954, 0.04283031448721886, -0.004524052143096924, 0.04342865198850632, -0.019779106602072716, 0.011134881526231766, -0.0002448607992846519, -0.037815771996974945, 0.01346594374626875, -0.010659895837306976, 0.011348831467330456, 0.02562555857002735, 0.0312616340816021, -0.004612020682543516, 0.03503471985459328, 0.01123899593949318, 0.012777435593307018, -0.053743768483400345, 0.030165858566761017, 0.0029311582911759615, -0.031532470136880875, -0.0016105548711493611, -0.018319174647331238, 0.00988795142620802, 0.033059585839509964, -0.02857508882880211, 0.022025512531399727, -0.0076195839792490005, 0.010375754907727242, 0.03501221165060997, -0.020423205569386482, 0.00376151199452579, -0.004992451518774033, 0.01688380166888237, -0.03932800516486168, 0.029774125665426254, -0.007568616885691881, -0.03800249844789505, -0.04567839950323105, -0.011764619499444962, -0.030367964878678322, -0.027737131342291832, -0.02259781025350094, -0.05460258945822716, -0.0295163132250309, -0.017590994015336037, -0.0720004290342331, 0.0106618357822299, 0.006782393902540207, 0.02965775690972805, -0.010331518016755581, -0.0022604302503168583, -0.027315448969602585, 0.000349896406987682, 0.028968844562768936, -0.0008324396330863237, 0.007268175017088652, -0.0456407256424427, 0.033023737370967865, 0.011717037297785282, 0.010783389210700989, -0.013982121832668781, 0.013197925873100758, 0.05208312347531319, -0.00040192625601775944, 0.011388753540813923, -0.018969936296343803, -0.005218100268393755, -0.012764650397002697, 0.017307361587882042, -0.00994559470564127, -1.3494569905958542e-8, 0.005140714813023806, -0.03949522227048874, -0.059513192623853683, 0.024801213294267654, 0.006571154110133648, 0.03952496498823166, -0.019076505675911903, -0.039708398282527924, -0.02067708596587181, 0.017532970756292343, 0.00584664661437273, 0.009476698935031891, 0.006960997823625803, -0.001641734503209591, 0.04796130210161209, -0.040772873908281326, 0.016995007172226906, -0.0248819962143898, 0.009733740240335464, -0.011707116849720478, -0.009410372003912926, -0.0015933759277686477, -0.022932322695851326, 0.005779127590358257, -0.030933927744627, -0.03519410640001297, 0.03525157272815704, -0.0929223895072937, 0.009158376604318619, 0.002575742779299617, -0.01870967447757721, -0.04605608433485031, -0.015185417607426643, 0.01240581925958395, -0.030567198991775513, -0.011896546930074692, 0.017283746972680092, 0.026126060634851456, 0.04796086251735687, -0.00831681489944458, -0.03066699579358101, -0.017065100371837616, -0.027629151940345764, -0.016814619302749634, 0.012683487497270107, -0.02136809565126896, -0.007633358705788851, -0.0049115451984107494, 0.034004319459199905, 0.03620022535324097, 0.026482077315449715, 0.03537536785006523, 0.009963066317141056, 0.020041225478053093, -0.0038647486362606287, 0.0014007543213665485, 0.03268466144800186, -0.029795654118061066, -0.02997044287621975, 0.01212367508560419, 0.04082752764225006, -0.0031974532175809145, -0.028586840257048607, -0.014335905201733112 ]
scalahaskell-a-simple-example-of-type-classes
https://markhneedham.com/blog/2012/05/22/scalahaskell-a-simple-example-of-type-classes
false
2012-02-05 21:40:33
Scala: Converting a scala collection to java.util.List
[ "scala" ]
[ "Scala" ]
I've been playing around a little with https://github.com/jiminoc/goose[Goose] - a library for extracting the main body of text from web pages - and I thought I'd try converting some of the code to be more scala-esque in style. The API of the various classes/methods is designed so it's interoperable with Java code but in order to use functions like map/filter we need the collection to be a Scala one. That's achieved by importing 'scala.collections.JavaConversions._' which will apply an implicit conversion to convert the Java collection into a Scala one. I needed to go back to the Java one again which can be achieved with the following code: [source,scala] ---- import scala.collection.JavaConversions._ val javaCollection = seqAsJavaList(Seq("abc")) ---- I also used that function in the https://github.com/mneedham/goose/blob/94da6fffc30db17a0a7e2060a46fc3317420a83e/src/main/scala/com/gravity/goose/text/StopWords.scala[StopWords.scala] object in Goose. There are a load of other functions available in https://github.com/scala/scala/blob/master/src/library/scala/collection/JavaConversions.scala[JavaConversions] as well for going to a Dictionary, Map, Set and so on.
null
null
[ -0.010318847373127937, -0.05446567013859749, -0.013251030817627907, -0.004060157109051943, 0.08508245646953583, -0.010774746537208557, 0.0241030715405941, 0.014907308854162693, -0.012319523841142654, -0.03149975463747978, -0.010826566256582737, -0.02996092289686203, -0.07245922833681107, 0.019891930744051933, -0.054048456251621246, 0.0636957436800003, 0.05363427847623825, -0.04257269203662872, 0.02575848065316677, -0.007394502870738506, 0.0313955657184124, 0.05772077292203903, 0.003190735587850213, 0.03761765733361244, 0.0008868208969943225, 0.003649007063359022, 0.0021779718808829784, 0.004731748718768358, -0.03701039031147957, -0.006294356193393469, 0.05332942306995392, 0.023305024951696396, -0.018053367733955383, -0.026472249999642372, -0.019377131015062332, -0.0060774460434913635, 0.006367741618305445, 0.004822606220841408, -0.0002780356735456735, 0.0214074719697237, -0.025393284857273102, 0.029590332880616188, -0.00580583093687892, 0.02140071988105774, -0.05331166088581085, 0.02423219382762909, -0.047604694962501526, 0.03360491991043091, -0.02495298907160759, -0.014392118901014328, -0.03722956404089928, 0.01637003757059574, -0.03236624225974083, -0.007621363271027803, -0.019221460446715355, 0.061144739389419556, 0.004810352809727192, -0.0814170092344284, 0.04191814735531807, -0.05248153582215309, 0.0010986985871568322, 0.004170331172645092, 0.0015589097747579217, 0.007852419279515743, 0.02711101621389389, -0.020305389538407326, -0.03655296936631203, 0.05670388042926788, -0.06093114614486694, -0.033735305070877075, 0.023083534091711044, 0.032813962548971176, -0.03815474361181259, 0.008029494434595108, 0.023416688665747643, -0.03603329136967659, -0.007870114408433437, 0.07839538902044296, -0.003310698550194502, 0.02294374443590641, -0.024708908051252365, -0.012871024198830128, 0.03464408591389656, 0.021646615117788315, 0.05116378888487816, -0.019511178135871887, -0.049498237669467926, -0.000010267076504533179, -0.06981214880943298, 0.06292334198951721, 0.00489198649302125, -0.07599116861820221, -0.002690737135708332, 0.007750008255243301, 0.001865528291091323, 0.02409275993704796, 0.020961828529834747, -0.0034166050609201193, 0.021516764536499977, -0.009889448992908001, -0.06387626379728317, -0.020990224555134773, 0.05897793173789978, -0.01600334234535694, -0.06749953329563141, -0.03593142330646515, -0.0033951755613088608, -0.02411113679409027, 0.0033216322772204876, 0.00035286726779304445, -0.029896801337599754, 0.0016358108259737492, -0.0672006607055664, 0.0025482738856226206, -0.05220550298690796, 0.06091173738241196, 0.00292833405546844, -0.041723791509866714, -0.035941436886787415, 0.06032789871096611, 0.07255575060844421, 0.02114148810505867, -0.008008475415408611, 0.07051827758550644, 0.008545282296836376, 0.029709482565522194, -0.00624516187235713, 0.08086713403463364, 0.011936032213270664, -0.08079273253679276, -0.014985240064561367, 0.050593044608831406, -0.03822778910398483, -0.014837068505585194, 0.0029507025610655546, -0.030419103801250458, -0.01684878021478653, -0.008928464725613594, 0.03756861388683319, 0.02050897851586342, -0.006426144856959581, -0.026463352143764496, -0.018021775409579277, -0.04313948005437851, 0.037051767110824585, 0.02331823855638504, -0.01828964613378048, -0.00864452589303255, -0.021462436765432358, 0.008630055002868176, 0.009626127779483795, 0.03463283181190491, 0.058648597449064255, -0.006811852101236582, 0.013980475254356861, 0.07149066776037216, 0.0010430398397147655, 0.031117601320147514, 0.004690159577876329, 0.018711751326918602, 0.05907193571329117, 0.01477859541773796, -0.014011678285896778, 0.0016135991318151355, 0.021965479478240013, -0.010412689298391342, 0.011224054731428623, 0.048118699342012405, -0.02946649119257927, -0.02810538187623024, -0.04843425750732422, -0.06700117886066437, 0.056240007281303406, -0.03158525377511978, -0.017288975417613983, 0.01839468814432621, 0.06181829422712326, 0.011356464587152004, 0.0703883096575737, -0.005919231101870537, -0.06695041060447693, 0.028412561863660812, 0.013729682192206383, -0.003320001531392336, 0.038138847798109055, 0.0026303764898329973, 0.07674364000558853, 0.017671633511781693, 0.010364402085542679, 0.02140907756984234, -0.06969930976629257, -0.08528213948011398, -0.01736784726381302, 0.004934785421937704, 0.07079555839300156, -0.022467710077762604, -0.0028388090431690216, 0.07314401119947433, 0.014254232868552208, 0.02464655414223671, 0.008014741353690624, -0.010458284988999367, 0.027688711881637573, -0.022114450111985207, 0.011493817903101444, 0.04047537222504616, 0.02207428589463234, -0.01825805939733982, -0.014285437762737274, -0.0024405685253441334, -0.0012189085828140378, 0.003367106895893812, 0.039189551025629044, -0.026013679802417755, 0.0568038709461689, 0.04404483735561371, 0.010109958238899708, -0.013688401319086552, 0.05210919305682182, -0.06845337152481079, 0.054340384900569916, 0.017567096278071404, -0.024048807099461555, -0.024837205186486244, 0.013900874182581902, 0.13144461810588837, 0.059572044759988785, -0.02098643220961094, -0.04516201093792915, 0.02144586481153965, 0.0024811120238155127, -0.05677875131368637, 0.0017579181585460901, -0.0070772659964859486, -0.004176858812570572, 0.00304227601736784, 0.002489930484443903, -0.0018168073147535324, 0.032132700085639954, -0.01344442181289196, -0.028738277032971382, 0.0856194943189621, -0.03461518511176109, 0.04858080670237541, 0.0062933810986578465, -0.022970285266637802, -0.010278454050421715, -0.031087614595890045, -0.06594380736351013, -0.010775900445878506, 0.03586016222834587, 0.00412467448040843, 0.042904529720544815, -0.05726155266165733, -0.02969386987388134, -0.022198058664798737, -0.04799674451351166, 0.015780571848154068, 0.04354863613843918, 0.05733691155910492, -0.013753727078437805, 0.025111248716711998, -0.012876996770501137, -0.006575712934136391, -0.03756365552544594, -0.0344797819852829, -0.037314869463443756, -0.011471076868474483, 0.010673957876861095, 0.027746155858039856, 0.04553509131073952, 0.054337725043296814, 0.024132341146469116, 0.02846960723400116, -0.029589882120490074, 0.02007134258747101, 0.024361835792660713, -0.024005226790905, -0.014338742941617966, -0.042697325348854065, -0.028503768146038055, 0.04972050338983536, -0.02295147068798542, -0.03409183770418167, -0.007705968338996172, -0.06590153276920319, 0.07990139722824097, -0.05145561322569847, -0.021006664261221886, 0.024661628529429436, 0.09452039748430252, 0.06529200077056885, -0.009074379689991474, -0.0038220705464482307, 0.030897634103894234, -0.0029533819761127234, 0.016075817868113518, 0.025642655789852142, 0.007797677535563707, 0.021811995655298233, -0.02414054051041603, 0.01657472923398018, 0.053761955350637436, 0.02928280085325241, -0.020919883623719215, -0.026464596390724182, -0.01520479191094637, -0.003039054572582245, -0.2798210084438324, 0.03274363651871681, -0.025264857336878777, -0.013261907733976841, 0.00695518683642149, -0.0354493111371994, -0.012319246307015419, -0.04953264072537422, -0.02286454476416111, 0.03515608608722687, 0.006200084462761879, -0.0410613939166069, -0.032549142837524414, 0.0663188025355339, -0.013104208745062351, -0.007083959877490997, -0.01320626214146614, -0.026751205325126648, -0.021068327128887177, 0.06832516938447952, -0.01443115621805191, -0.044961560517549515, 0.007724677678197622, 0.07944899797439575, 0.015886081382632256, 0.046266842633485794, -0.08426511287689209, 0.0029327573720365763, -0.05055902153253555, -0.015560952015221119, 0.026676783338189125, -0.022630199790000916, -0.013462846167385578, -0.034116897732019424, -0.0026379437185823917, -0.013867031782865524, 0.02417982928454876, 0.045726411044597626, 0.024360312148928642, 0.019503580406308174, -0.019758177921175957, -0.04668812081217766, -0.04527399316430092, -0.012383372522890568, 0.07556832581758499, -0.03449190407991409, -0.0792023092508316, 0.003435225458815694, -0.02884751930832863, 0.07068528980016708, -0.03905952349305153, -0.022533224895596504, -0.013336993753910065, 0.04420848935842514, 0.007043008226901293, -0.03063495270907879, -0.008993986994028091, -0.006318457890301943, -0.036860331892967224, -0.003777696518227458, 0.0161651112139225, -0.0586063452064991, -0.03123260848224163, -0.03135155886411667, -0.028860095888376236, -0.06377892941236496, -0.05847170576453209, 0.018833758309483528, 0.04449312016367912, 0.030601441860198975, -0.009839123114943504, -0.005369842983782291, 0.007731427904218435, -0.11598476767539978, -0.0014136155368760228, -0.07171425223350525, -0.026126593351364136, -0.0443645678460598, -0.0026576376985758543, 0.04220694303512573, -0.04893096163868904, -0.04701777547597885, -0.00015841559797991067, 0.01035153865814209, 0.03924155607819557, -0.00851372815668583, -0.008310413919389248, -0.050371989607810974, -0.03601101413369179, -0.007333897054195404, 0.04451626166701317, -0.02914842590689659, 0.0037271850742399693, -0.023799274116754532, -0.02167293056845665, 0.05152849107980728, 0.022942733019590378, 0.018754715099930763, 0.011965187266469002, 0.0441916324198246, 0.046449605375528336, -0.06275871396064758, -0.013173151761293411, 0.004728004336357117, -0.014728236012160778, 0.011343891732394695, -0.05104238539934158, 0.016927558928728104, 0.05482809990644455, 0.025544917210936546, -0.04167930781841278, -0.04432597756385803, 0.029951749369502068, -0.042914293706417084, -0.05941255763173103, -0.01996467635035515, -0.006590738892555237, 0.01879013143479824, 0.04713185876607895, -0.018452707678079605, -0.03440091758966446, 0.01391622330993414, 0.02241320163011551, -0.04203585535287857, -0.08468638360500336, -0.024350985884666443, -0.016852084547281265, -0.001579937874339521, -0.00402853824198246, -0.02095046639442444, -0.01890796422958374, 0.010476264171302319, 0.009333784691989422, -0.010216787457466125, 0.01660114899277687, -0.002473734086379409, -0.033262476325035095, -0.056381143629550934, -0.015413768589496613, -0.006054626312106848, 0.017780348658561707, -0.017476340755820274, 0.026592282578349113, 0.036354612559080124, 0.01623617857694626, 0.018840402364730835, 0.024854330345988274, 0.01032960880547762, 0.013043548911809921, 0.01814248599112034, 0.030728431418538094, -0.03344707936048508, -0.0073272958397865295, -0.02771122008562088, -0.018581891432404518, -0.007468655705451965, 0.023612163960933685, -0.01327010802924633, 0.01632673479616642, -0.03681795671582222, 0.03595929220318794, -0.03557685390114784, -0.027781028300523758, -0.008130805566906929, -0.03330312296748161, 0.04398161545395851, -0.018420586362481117, 0.034638769924640656, -0.00526072783395648, -0.02013326995074749, -0.013899879530072212, 0.0027759603690356016, 0.020695142447948456, 0.029703592881560326, -0.008189493790268898, 0.007239358499646187, -0.00501409312710166, 0.029596906155347824, 0.016538528725504875, 0.03372415900230408, 0.003519205143675208, -0.020442308858036995, 0.02178855426609516, 0.005374182481318712, 0.03802294656634331, 0.013975076377391815, 0.02479954995214939, 0.00408495357260108, -0.03374068811535835, -0.03083827532827854, -0.03430331125855446, -0.0033017946407198906, -0.011711040511727333, 0.02272244729101658, -0.03163054585456848, -0.0997491255402565, 0.016025220975279808, 0.03640218824148178, 0.013057474978268147, -0.019252751022577286, 0.02326817624270916, 0.006625359412282705, -0.03400436416268349, 0.0036242699716240168, 0.026628313586115837, -0.07791560888290405, 0.012843398377299309, -0.013255116529762745, 0.019494017586112022, 0.029231775552034378, 0.015926530584692955, -0.0717504471540451, -0.012897651642560959, -0.019353894516825676, 0.005846303887665272, -0.00038768048398196697, -0.024841826409101486, -0.030228860676288605, 0.01232399232685566, -0.004687411244958639, 0.008377050049602985, -0.0061852289363741875, 0.0003685722767841071, -0.010857934132218361, 0.0061018518172204494, 0.010728804394602776, -0.03621028736233711, 0.015164804644882679, 0.028132207691669464, -0.03483477607369423, 0.06162204220890999, -0.03643655404448509, 0.033283449709415436, 0.0198838971555233, -0.0255587175488472, 0.03427776321768761, -0.02472824603319168, -0.0010547431884333491, 0.013740204274654388, 0.060267817229032516, 0.009295736439526081, 0.008483774960041046, -0.024615254253149033, 0.00899374671280384, -0.0427846796810627, 0.00990897323936224, -0.00888644065707922, -0.01058579608798027, 0.0031594792380928993, 0.03719558194279671, 0.021795915439724922, 0.04861725866794586, 0.002319044666364789, -0.000504604890011251, 0.07738668471574783, -0.02847123332321644, -0.01909165270626545, -0.014438970945775509, -0.02730495110154152, 0.009626667015254498, 0.024005845189094543, 0.04826189577579498, -0.02429906837642193, 0.05488108843564987, 0.046078160405159, -0.01216041948646307, 0.051300160586833954, 0.0025477581657469273, 0.03997613117098808, -0.019329126924276352, -0.005976617801934481, -0.07592684775590897, -0.0218343548476696, 0.03885166719555855, 0.01355530135333538, -0.030188383534550667, -0.028374213725328445, -0.04301189258694649, 0.01693163439631462, -0.06043163686990738, -0.020677989348769188, 0.025200294330716133, -0.01152070052921772, 0.021129930391907692, -0.030098924413323402, -0.05696425959467888, 0.04010564461350441, 0.03582300618290901, -0.02780229225754738, -0.04271377623081207, -0.04184698686003685, 0.051704347133636475, 0.01444519404321909, 0.007880808785557747, -0.012008121237158775, 0.010367056354880333, 0.04288917034864426, -0.0016191186150535941, 0.035420823842287064, 0.03963528573513031, -0.023499978706240654, 0.027079399675130844, 0.03198202699422836, 0.0021424638107419014, -0.009333798661828041, 0.028977299109101295, -0.01849985495209694, -0.06637860834598541, 0.03400973975658417, 0.009116421453654766, -0.011618632823228836, -0.06076575443148613, 0.05099422112107277, 0.01795300655066967, -0.021846098825335503, -0.013473376631736755, 0.004647883586585522, -0.03173093870282173, -0.01784111186861992, -0.015416011214256287, 0.005861327517777681, -0.04831797629594803, 0.05660220608115196, -0.002460465067997575, 0.027248460799455643, 0.05693182349205017, 0.006451582536101341, -0.02053207904100418, -0.002213439205661416, 0.07422476261854172, 0.054555244743824005, 0.0363006554543972, -0.010370464995503426, 0.040080662816762924, 0.002264618407934904, -0.04319651797413826, 0.04319322481751442, 0.004113209433853626, -0.03243960440158844, -0.027582811191678047, 0.010654893703758717, 0.07411103695631027, -0.025172889232635498, 0.07018603384494781, -0.03534480184316635, -0.030996965244412422, -0.01885049231350422, 0.014467946253716946, 0.021305784583091736, 0.05683445557951927, -0.011519343592226505, 0.0691453292965889, -0.03864559531211853, -0.04064058139920235, 0.03433385118842125, -0.015224354341626167, -0.017043959349393845, 0.020754553377628326, -0.019586559385061264, 0.02439226396381855, 0.03278452903032303, 0.04007064923644066, 0.07102645188570023, -0.019652357324957848, -0.026675621047616005, 0.02489343471825123, -0.030097967013716698, 0.01122892927378416, 0.005606330931186676, -0.01677042432129383, -0.05486394092440605, -0.00038598771789111197, -0.045915473252534866, 0.0035140980035066605, 0.01873205415904522, -0.02025514841079712, 0.016975106671452522, -0.009413362480700016, 0.012245443649590015, -0.00039811100577935576, -0.005738209001719952, -0.033683229237794876, -0.0703851729631424, -0.0536414235830307, -0.03373302146792412, -0.07985357940196991, -0.0203105378895998, -0.0008143564919009805, -0.027311664074659348, -0.01779530756175518, -0.03228331357240677, -0.015359585173428059, -0.012372973375022411, 0.06215798854827881, -0.030914530158042908, -0.0512101948261261, 0.03267497196793556, 0.03310611471533775, 0.01888735219836235, 0.03775012493133545, 0.06526127457618713, -0.0272586178034544, 0.021343296393752098, -0.024782540276646614, 0.007259628735482693, 0.04651300981640816, 0.04085381701588631, 0.03697245940566063, -0.06376294046640396, 0.0030896265525370836, 0.01924881339073181, 0.006416438613086939, -0.07657809555530548, 0.008241720497608185, 0.03882797062397003, -0.017831983044743538, 0.03912369906902313, -0.006616062950342894, -0.014540712349116802, -0.003286106511950493, -0.01989119127392769, -0.0010351684177294374, 0.022683218121528625, 0.042202506214380264, -0.03676963225007057, 0.07357414066791534, 0.035220660269260406, -0.01858372613787651, -0.028903217986226082, -0.014010949991643429, 0.007088451646268368, 0.010014839470386505, -0.03917459398508072, -0.03164661303162575, -0.054821670055389404, -0.03475286811590195, -0.014353207312524319, 0.0077632516622543335, -0.051479753106832504, -0.017011025920510292, 0.003375028492882848, 0.04765781760215759, -0.009642737917602062, 0.04871438071131706, -0.038440123200416565, 0.006549688056111336, 0.010022870264947414, -0.028811341151595116, -0.01993825100362301, 0.0308427345007658, -0.004525233991444111, 0.02620106190443039, 0.04634254798293114, -0.03686211630702019, 0.0007579383091069758, 0.0061356667429208755, 0.009862739592790604, 0.021491004154086113, -0.023305170238018036, 0.018832258880138397 ]
[ -0.05279437080025673, -0.05765678733587265, -0.06665348261594772, -0.02720686048269272, 0.047908443957567215, -0.05665004998445511, -0.021712368354201317, 0.026330644264817238, -0.01695631630718708, -0.009416604414582253, -0.06297086924314499, -0.08334429562091827, 0.0012344615533947945, -0.009178787469863892, 0.08649101108312607, -0.006060219835489988, -0.009599234908819199, -0.050811830908060074, -0.06269161403179169, 0.06617008149623871, 0.004918935243040323, 0.009384488686919212, -0.035236965864896774, -0.03731277957558632, 0.04591081291437149, 0.019133659079670906, 0.03295586258172989, -0.031125659123063087, 0.021406076848506927, -0.17763453722000122, -0.015717096626758575, -0.056479256600141525, 0.030745748430490494, -0.009187443181872368, -0.04139389097690582, 0.05646341294050217, 0.0186992846429348, 0.011358591727912426, -0.005126523319631815, 0.037786222994327545, 0.05093691498041153, -0.008609703741967678, -0.0906001552939415, -0.02630857191979885, 0.05105099827051163, -0.0031349051278084517, -0.00992653053253889, -0.024409467354416847, -0.0432361364364624, -0.0042446209117770195, -0.09833429008722305, 0.004427092615514994, 0.011767145246267319, -0.03315804898738861, -0.0006653469172306359, 0.03940427675843239, 0.030980397015810013, 0.06722959131002426, 0.03800733759999275, 0.012598393484950066, -0.004786224570125341, -0.032993558794260025, -0.1410955935716629, 0.10716031491756439, -0.042622461915016174, 0.09076347202062607, -0.014440096914768219, -0.014874999411404133, -0.0034260244574397802, 0.062120936810970306, 0.016478512436151505, -0.014527693390846252, -0.022282708436250687, 0.06564170867204666, 0.004629990551620722, -0.03348010033369064, -0.021039411425590515, 0.03472462296485901, 0.02395274117588997, -0.02163832075893879, -0.03780845180153847, -0.014142815954983234, -0.006743071600794792, 0.0025902471970766783, -0.015434503555297852, -0.0014445522101595998, 0.015351390466094017, 0.050918567925691605, 0.04969389736652374, 0.02583371289074421, 0.030130824074149132, -0.030560776591300964, 0.043973229825496674, 0.032587744295597076, -0.08724876493215561, -0.005179895553737879, -0.019456932321190834, 0.011586428619921207, 0.007979221642017365, 0.4022034704685211, -0.023088011890649796, 0.0033332279417663813, 0.02238348498940468, -0.01586379110813141, -0.0005396081833168864, -0.004173721186816692, -0.022744761779904366, -0.05219292268157005, 0.024409303441643715, -0.040213458240032196, -0.013643980957567692, -0.04612453281879425, 0.04273676872253418, -0.03948463499546051, -0.021866127848625183, -0.0013034279691055417, 0.029175102710723877, 0.014515431597828865, -0.026838714256882668, 0.004514343570917845, -0.01142678502947092, 0.013489830307662487, 0.006605652626603842, 0.02727385424077511, 0.039831239730119705, 0.031715136021375656, 0.02975687012076378, 0.03776799514889717, 0.06537920236587524, 0.009561081416904926, 0.04546797275543213, -0.01740727573633194, -0.09251794219017029, -0.032973624765872955, 0.005376465152949095, 0.036288242787122726, 0.02589055895805359, -0.022664619609713554, 0.008406425826251507, 0.032179221510887146, -0.027343744412064552, -0.02746179886162281, 0.03435656055808067, 0.020274849608540535, -0.05054401978850365, 0.09274069964885712, 0.03230612352490425, -0.052243053913116455, -0.04267529770731926, -0.05233518034219742, -0.004664580337703228, 0.03613981232047081, 0.02803925983607769, -0.04374609887599945, 0.0292561836540699, 0.03120270185172558, 0.08029555529356003, -0.011952642351388931, -0.07006148993968964, -0.02067442052066326, -0.012564177624881268, -0.022632025182247162, -0.05393999442458153, 0.013592574745416641, 0.030926411971449852, -0.09637569636106491, -0.024447647854685783, 0.009488040581345558, -0.007309927139431238, -0.05346696451306343, -0.006282041314989328, 0.017542902380228043, -0.03515472263097763, 0.028178134933114052, 0.06580003350973129, -0.03123808652162552, -0.03535214811563492, -0.013034016825258732, 0.016862280666828156, 0.010992835275828838, -0.005372396670281887, -0.008097809739410877, -0.04244957119226456, 0.011616806499660015, -0.032137855887413025, -0.08407045155763626, -0.05298028886318207, -0.016869109123945236, -0.0017684841295704246, -0.008241629227995872, -0.015109273605048656, 0.012760286219418049, -0.009142580442130566, 0.03267059475183487, 0.0008961274288594723, -0.01645602658390999, 0.03391959145665169, 0.03516604006290436, 0.0327720008790493, -0.0016538825584575534, 0.022117936983704567, 0.07067613303661346, -0.0018013097578659654, 0.0008497019298374653, -0.04062320291996002, 0.032102566212415695, 0.033293139189481735, -0.06749535351991653, 0.03311486914753914, 0.034059301018714905, -0.0390741340816021, -0.007137028966099024, -0.024454129859805107, 0.019148236140608788, -0.030571917071938515, -0.012884287163615227, 0.0004400372854433954, -0.005047302693128586, 0.0157253947108984, 0.05287832394242287, -0.032000936567783356, -0.09050949662923813, -0.01755930297076702, -0.36004939675331116, -0.007230354938656092, 0.00392652815207839, -0.04308471083641052, 0.018055522814393044, -0.06431333720684052, -0.003460799576714635, -0.011184071190655231, 0.006006403360515833, 0.05971892178058624, 0.09040479362010956, -0.016470255330204964, 0.01239604689180851, -0.07689594477415085, 0.010982790030539036, 0.04648948460817337, -0.006611457094550133, -0.04115834832191467, -0.03693154454231262, 0.003846743842586875, 0.006921486463397741, -0.020420055836439133, -0.06491890549659729, -0.05747858062386513, 0.0008159883436746895, -0.01575225405395031, 0.12350961565971375, 0.01676715910434723, 0.08111639320850372, -0.066768579185009, 0.05135386064648628, -0.0021608283277601004, 0.018611038103699684, -0.055446870625019073, 0.02968451753258705, -0.0356716550886631, -0.012881696224212646, 0.01928013749420643, 0.049889445304870605, -0.029249947518110275, -0.018276019021868706, 0.029188552871346474, -0.04558985307812691, -0.03471376374363899, -0.020519312471151352, 0.0062693334184587, -0.014217118732631207, -0.060232315212488174, -0.004246245138347149, 0.08338228613138199, 0.0031480637844651937, 0.033962432295084, 0.019338956102728844, 0.045065682381391525, -0.00037883740151301026, -0.003241123165935278, -0.07127395272254944, 0.010783152654767036, 0.048908885568380356, -0.013818357139825821, 0.041002944111824036, 0.0693432092666626, 0.023151274770498276, -0.0396801196038723, 0.007792903576046228, 0.017633652314543724, 0.0041955444030463696, 0.025626016780734062, 0.025900956243276596, -0.0385173000395298, -0.04155576974153519, 0.0755763053894043, -0.011822243221104145, 0.029813416302204132, 0.04008632153272629, 0.08263006061315536, -0.00709798838943243, 0.03345341607928276, 0.029559701681137085, 0.017342744395136833, 0.007861233316361904, -0.004749685525894165, 0.030619986355304718, -0.024621358141303062, -0.019752856343984604, 0.06071426346898079, -0.010064913891255856, -0.038477007299661636, 0.029914095997810364, 0.011420346796512604, -0.010740421712398529, -0.01624399609863758, -0.00942574255168438, -0.05425261706113815, 0.061770565807819366, 0.009317811578512192, -0.2494770586490631, 0.009911442175507545, 0.07776697725057602, 0.04234486445784569, -0.0009852770017459989, 0.0051334323361516, 0.024895792827010155, -0.08314229547977448, -0.024681905284523964, -0.0027710963040590286, -0.004825792275369167, 0.03986175358295441, 0.00995158776640892, -0.0049759275279939175, 0.03866005688905716, -0.017278684303164482, 0.05112401768565178, 0.011277447454631329, 0.036141980439424515, -0.0335141196846962, 0.012795640155673027, -0.023533137515187263, 0.20065216720104218, 0.02530604973435402, -0.008313707076013088, 0.02292800135910511, 0.016349665820598602, -0.0191201139241457, 0.08434128761291504, 0.014722133986651897, 0.020882686600089073, -0.012190192006528378, 0.1025698259472847, -0.005261593963950872, 0.04413450509309769, -0.03769944608211517, -0.04600752890110016, 0.03234773129224777, 0.007022243924438953, -0.03071560151875019, 0.01041378639638424, 0.057478126138448715, -0.05031254515051842, 0.013818584382534027, 0.04796898737549782, -0.0032741420436650515, 0.006461546290665865, -0.013707850128412247, -0.07575485855340958, -0.014777733944356441, -0.005951876752078533, -0.000918499834369868, -0.007813850417733192, -0.04061175137758255, 0.028397932648658752, 0.06390772759914398, 0.0012095160782337189, -0.002433531451970339, -0.03463828191161156, 0.024739157408475876, 0.01933814212679863, -0.03166354075074196, 0.06258750706911087, 0.035922516137361526, 0.03880484774708748 ]
[ -0.003010234795510769, 0.014402065426111221, -0.035516295582056046, 0.0007349234074354172, -0.007643966004252434, 0.021297326311469078, -0.016424348577857018, -0.015569094568490982, -0.020283300429582596, -0.06805384159088135, -0.004673191346228123, 0.01723215915262699, -0.035272128880023956, -0.004844226874411106, -0.0027590126264840364, -0.05695533752441406, 0.0065333168022334576, 0.04408944025635719, 0.01958811655640602, 0.01669328100979328, -0.03632492199540138, 0.06351720541715622, 0.05948289483785629, 0.022494276985526085, -0.03083956614136696, 0.034447081387043, -0.022745978087186813, -0.022880682721734047, 0.016833700239658356, -0.13331075012683868, 0.002050727838650346, -0.02625933848321438, 0.007558056153357029, 0.0056946477852761745, -0.011810270138084888, 0.0011568368645384908, 0.015137797221541405, 0.024513591080904007, 0.006451118271797895, -0.019625380635261536, -0.04179710894823074, -0.0032654444221407175, -0.021331286057829857, 0.012008302845060825, 0.005959237925708294, -0.03439720720052719, -0.04426068812608719, -0.05422651767730713, -0.0054787686094641685, 0.02476576156914234, -0.03917466104030609, -0.00024433451471850276, -0.009365453384816647, 0.013608436100184917, 0.015758763998746872, 0.039201490581035614, -0.017991578206419945, -0.0026154012884944677, -0.021678365767002106, -0.04232587292790413, -0.04268687218427658, -0.02028830721974373, -0.019468102604150772, -0.029153065755963326, -0.028975393623113632, -0.04136842116713524, 0.01779911108314991, 0.0019578069914132357, -0.026222901418805122, -0.00018935273692477494, -0.011382373981177807, 0.0450967475771904, -0.009458876214921474, -0.05278269946575165, 0.010475237853825092, 0.014678863808512688, 0.001966913463547826, -0.014319565147161484, 0.06683605909347534, 0.04501764476299286, -0.006504065822809935, -0.01299241092056036, -0.04071151465177536, 0.04242093488574028, -0.02424798533320427, -0.033255383372306824, -0.018122516572475433, 0.002906138775870204, 0.041361864656209946, 0.07072236388921738, -0.01018755417317152, 0.005495972000062466, 0.05011959746479988, 0.003356898669153452, -0.057481084018945694, 0.02187921293079853, -0.05031392350792885, 0.018584484234452248, 0.02787492796778679, 0.7997502684593201, -0.016837026923894882, 0.037079717963933945, 0.05619940906763077, 0.0197177492082119, -0.007945839315652847, -0.0004641412233468145, -0.06587065011262894, -0.02574971131980419, 0.03827622905373573, -0.058448776602745056, 0.022560501471161842, -0.027052881196141243, 0.022800840437412262, -0.009744715876877308, 0.01639200747013092, 0.014281935058534145, 0.06628850847482681, 0.015117182396352291, 0.025258587673306465, 0.003106111427769065, 0.0362670011818409, -0.020353110507130623, 0.05971311777830124, -0.007798217236995697, 0.007908848114311695, -0.11826792359352112, -0.0698322281241417, -7.378910117265606e-33, 0.08985214680433273, -0.031083889305591583, 0.010932587087154388, 0.025036724284291267, -0.021935611963272095, 0.005376379005610943, -0.01481572538614273, 0.0124968895688653, -0.05014312267303467, -0.0438179075717926, 0.013509844429790974, 0.01882503181695938, -0.006331037264317274, -0.002753236098214984, 0.05008053034543991, 0.0023650643415749073, 0.03451002389192581, 0.0072068264707922935, -0.011937044560909271, -0.02469404973089695, 0.04488445073366165, 0.016539273783564568, 0.0097671402618289, -0.017948275431990623, -0.029147842898964882, 0.009381488896906376, 0.029338831081986427, 0.019725758582353592, -0.05187361314892769, -0.030282622203230858, -0.013677306473255157, -0.03045552782714367, 0.030204560607671738, 0.00903780572116375, 0.05246160179376602, -0.030351614579558372, -0.007763855159282684, 0.004244266543537378, 0.011689061298966408, -0.03168109431862831, -0.03145202249288559, -0.02611505053937435, -0.009561418555676937, 0.005721274297684431, -0.038560669869184494, -0.058480046689510345, 0.007523339707404375, 0.03237714618444443, 0.012563192285597324, 0.06872513890266418, 0.02384250983595848, -0.00895629171282053, -0.005950259976089001, 0.02515149489045143, 0.009726060554385185, 0.017187660560011864, -0.025393139570951462, 0.017660073935985565, 0.007566107902675867, 0.03420540317893028, -0.04199443757534027, 0.02062784880399704, 0.02945868857204914, 0.023061081767082214, 0.019544105976819992, -0.0191879291087389, -0.02211572974920273, 0.024976255372166634, -0.05914972350001335, 0.04049370810389519, 0.015394672751426697, -0.003615183290094137, -0.018741877749562263, -0.03848404064774513, 0.01885387860238552, -0.05046379938721657, 0.03122195415198803, -0.002000303938984871, 0.010572015307843685, 0.003995873499661684, 0.027908261865377426, -0.011136757209897041, 0.04172620177268982, -0.013848047703504562, -0.04950452223420143, 0.0009906240738928318, 0.03389965370297432, 0.02001497894525528, 0.04163748398423195, 0.012381338514387608, -0.011708092875778675, 0.05668671801686287, 0.03383752703666687, -0.01595013402402401, -0.02370050549507141, 7.15617597830386e-33, 0.00791818555444479, -0.02604878880083561, -0.03588956221938133, -0.0010691172210499644, -0.009076508693397045, -0.02441180869936943, 0.05661436542868614, 0.028901398181915283, -0.018985332921147346, 0.03131496161222458, -0.0939587652683258, -0.023216335102915764, -0.023333152756094933, -0.014303259551525116, 0.052160583436489105, -0.00880478322505951, 0.014524087309837341, -0.04741446673870087, -0.007318070624023676, -0.020406512543559074, -0.025183241814374924, 0.0018186281668022275, 0.03471403941512108, 0.022577576339244843, 0.018963325768709183, -0.0033741642255336046, 0.002022971399128437, 0.0006085350760258734, -0.056641172617673874, 0.01862143911421299, 0.05848773568868637, -0.024995196610689163, 0.01593579724431038, 0.020560579374432564, -0.04103264957666397, 0.03375161066651344, 0.019469698891043663, -0.006927946116775274, 0.015747584402561188, 0.02950112149119377, -0.004925247747451067, -0.028180401772260666, 0.002774739870801568, 0.00006206316902535036, -0.0027505753096193075, 0.008481291122734547, 0.002451520413160324, 0.03791794925928116, 0.01023442205041647, 0.009293310344219208, -0.03393629938364029, 0.022030118852853775, 0.024605117738246918, 0.08431486785411835, -0.0014128091279417276, -0.020993158221244812, -0.027696795761585236, 0.017411500215530396, -0.021368976682424545, 0.020751917734742165, -0.0033843647688627243, -0.06234511733055115, -0.04409916698932648, 0.00808725506067276, 0.010079218074679375, -0.04729699715971947, 0.00526242284104228, -0.020922835916280746, -0.024255644530057907, -0.023274611681699753, -0.031814586371183395, -0.0033103979658335447, -0.03473398834466934, 0.021328266710042953, 0.01883889175951481, -0.03383120149374008, -0.037189073860645294, -0.01203190814703703, 0.025567682459950447, 0.013550098985433578, 0.0398828387260437, -0.00462129432708025, -0.015575727447867393, -0.01578943058848381, 0.027046049013733864, -0.023150088265538216, -0.017642434686422348, 0.011076049879193306, -0.024654245004057884, -0.029418759047985077, -0.021098727360367775, -0.010529851540923119, 0.009340410120785236, 0.020723793655633926, 0.024356598034501076, -1.2602201948652691e-8, -0.03189758211374283, 0.0006415655952878296, -0.033427126705646515, 0.02502770908176899, 0.04415348917245865, 0.030935179442167282, -0.018876120448112488, -0.0036906669847667217, -0.006467319093644619, 0.02513592690229416, -0.020687038078904152, -0.005347456317394972, 0.022596299648284912, 0.018880775198340416, -0.004613438155502081, -0.026797646656632423, -0.00035182901774533093, 0.058428797870874405, 0.01487478893250227, 0.005932575091719627, 0.020506083965301514, 0.030667327344417572, -0.01646420732140541, -0.01369516272097826, -0.02604386769235134, -0.025719603523612022, 0.04462096840143204, -0.04953807592391968, 0.022279998287558556, 0.003594262758269906, -0.04338344931602478, -0.031966377049684525, -0.015847962349653244, -0.023994116112589836, -0.03080611862242222, -0.019969232380390167, 0.02715156599879265, 0.017865099012851715, 0.009156306274235249, 0.029434699565172195, -0.03808586299419403, 0.00415276363492012, -0.04621070995926857, -0.030670898035168648, -0.03140841796994209, 0.007393497508019209, -0.004131840076297522, 0.024698831140995026, -0.015813780948519707, 0.06409293413162231, 0.03418704867362976, 0.027423899620771408, 0.04186911880970001, 0.03961700201034546, 0.02150038443505764, -0.005255574826151133, 0.03912673518061638, -0.007009134162217379, 0.009733030572533607, 0.025135871022939682, 0.0348484106361866, 0.001439572311937809, -0.031297072768211365, -0.015557801350951195 ]
scala-converting-a-scala-collection-to-java-util-list
https://markhneedham.com/blog/2012/02/05/scala-converting-a-scala-collection-to-java-util-list
false
2012-02-20 21:54:55
Coding: Packaging by vertical slice
[ "coding" ]
[ "Coding" ]
On most of the applications I've worked on we've tended to organise/package classes by the function that they have or the layer that they fit in. A typical package structure might therefore end up looking like this: * com.awesome.project ** common *** StringUtils ** controllers *** LocationController *** PricingController ** domain *** Address *** Cost *** CostFactory *** Location *** Price ** repositories *** LocationRepository *** PriceRepository ** services *** LocationService This works reasonably well and allows you to find code which is similar in function but I find that more often than not a lot of the code that lives immediately around where you currently are isn't actually relevant at the time. On the last couple of applications that I've worked on we've been trying to group code around a domain concept or vertical slice of functionality. Therefore instead of the above code we'd end up with something more like this: * com.awesome.project ** location *** Address *** Location *** LocationController *** LocationRepository *** LocationService ** platform *** StringUtils ** price *** Cost *** CostFactory *** Distance *** Price *** PriceController *** PriceRepository We were having a discussion about grouping code like this last week and I was struggling to describe what I prefer about the latter approach. In the code base that I'm currently working on, which provides an API for other systems to do stuff with, it seems to lead to a design where we have created lots of potential http://2012.33degree.org/talk/show/67[micro services] which could be deployed separately if we wanted. That possibility wasn't as clear to me until we started grouping code this way. Another cool thing is that it's made us think about the domain of the code more and whether the grouping of classes actually makes sense. We can also see which classes fall inside an aggregate root. In the above example under 'pricing' we can tell that +++<cite>+++Price+++</cite>+++ is an aggregate root because it has a repository which allows us to get one and we can also tell that +++<cite>+++Cost+++</cite>+++ is probably contained by +++<cite>+++Price+++</cite>+++ since we don't have a way of directly getting a +++<cite>+++Cost+++</cite>+++. We stop thinking about the domain classes as a whole, instead we think about them in their groups and how their aggregate roots might interact with each other if at all. One disadvantage of grouping code like this is that if we're writing a new repository, for example, we've got further to navigate to find another one to base ours on. On the other hand you could argue that if we're doing that then perhaps there's an abstraction we can pull out to remove the problem. It's an interesting approach to grouping code and one thing we've started noticing is that we end up with some packages which have a lot of classes in them and others which have very few. We're not sure whether this is a symptom of us not breaking down those particular packages enough or if there are just some areas of the domain that are bigger than others. These are just some of my early observations so it'd be interesting to hear other's thoughts on whether this is a good/bad idea.
null
null
[ 0.007844139821827412, 0.0015526788774877787, 0.000493524014018476, 0.055266931653022766, 0.08095905184745789, 0.02294209413230419, 0.02059846743941307, 0.030237801373004913, 0.007217782083898783, -0.014803825877606869, -0.016697833314538002, -0.031850531697273254, -0.0565805658698082, 0.028795301914215088, -0.03614969924092293, 0.05933815613389015, 0.06581544876098633, -0.011394413188099861, 0.0032958525698632, 0.02266773022711277, 0.02034774050116539, 0.060504596680402756, -0.01965564303100109, 0.028050245717167854, 0.010101129300892353, 0.025329096242785454, 0.02101302705705166, 0.017765043303370476, -0.053999099880456924, -0.009847119450569153, 0.024642840027809143, 0.016271812841296196, 0.019544895738363266, 0.0058905514888465405, 0.013963845558464527, -0.013119629584252834, -0.023415489122271538, 0.021458245813846588, 0.02326255291700363, -0.0070378039963543415, -0.06397734582424164, 0.03162556514143944, -0.002449705498293042, -0.008412253111600876, -0.05380438640713692, 0.0029838155023753643, -0.07097805291414261, 0.005890433210879564, -0.0343882292509079, 0.005738629959523678, -0.059434566646814346, 0.02713167294859886, -0.035540077835321426, -0.0251618679612875, -0.01522713154554367, 0.03493224084377289, 0.01880209520459175, -0.08968087285757065, 0.015516305342316628, -0.05860277637839317, -0.012196816504001617, 0.010517464019358158, 0.017774591222405434, 0.011518273502588272, 0.017800450325012207, -0.020824600011110306, -0.03259134292602539, 0.025643691420555115, -0.0379045307636261, -0.02222522534430027, 0.010485479608178139, 0.0002884246641770005, -0.00884372740983963, 0.0012537518050521612, 0.0029141101986169815, -0.050485964864492416, -0.009015652351081371, 0.06524244695901871, 0.0009735732455737889, 0.06374728679656982, -0.03965342044830322, 0.007101847790181637, 0.014763349667191505, 0.017124980688095093, 0.03179076313972473, -0.027930160984396935, -0.04644258692860603, -0.005156630650162697, -0.040386687964200974, 0.05809953436255455, 0.012678462080657482, -0.04666006565093994, 0.009709218516945839, 0.042069412767887115, 0.00366021366789937, 0.009390315972268581, 0.014468388631939888, 0.0033390240278095007, 0.011859012767672539, 0.011077596805989742, -0.03579968586564064, 0.008187666535377502, 0.018267905339598656, -0.0030394818168133497, -0.06205643713474274, -0.002711797133088112, -0.022963061928749084, -0.03954734653234482, 0.0020804451778531075, -0.017060957849025726, -0.03963513299822807, 0.014489617198705673, -0.037913039326667786, 0.020268384367227554, -0.05398521199822426, 0.08240547776222229, -0.002585333539173007, -0.054458074271678925, -0.008905574679374695, -0.0014666339848190546, 0.052889954298734665, 0.01978323608636856, -0.025061355903744698, 0.0708477795124054, -0.0005413078470155597, 0.03138255700469017, -0.03851553425192833, 0.036964140832424164, -0.018091244623064995, -0.06712772697210312, -0.01480226032435894, 0.03729450702667236, -0.018484190106391907, 0.006941889878362417, -0.005358344875276089, -0.018433354794979095, -0.00850607454776764, 0.005415240302681923, 0.07041643559932709, 0.006122938357293606, -0.028335103765130043, -0.02844339981675148, -0.00821881927549839, -0.01775248534977436, 0.029920950531959534, 0.004191817715764046, -0.005027789622545242, -0.04732298105955124, -0.03409165143966675, 0.011661632917821407, 0.00855225045233965, 0.04621710628271103, 0.0215339045971632, -0.03722817450761795, 0.016812391579151154, 0.11223912984132767, 0.03590310364961624, 0.0276553463190794, -0.007478143088519573, 0.010366647504270077, 0.010699212551116943, 0.021655568853020668, 0.004881902132183313, 0.036318499594926834, 0.014195357449352741, -0.014256022870540619, -0.006145469378679991, 0.054495688527822495, 0.018412472680211067, 0.0026367271784693003, -0.07090149074792862, -0.08483275026082993, 0.05369000881910324, -0.060317512601614, -0.006087136454880238, 0.018626609817147255, 0.08488020300865173, 0.03567476198077202, 0.02930796891450882, 0.002635121811181307, -0.07610306888818741, 0.016218936070799828, 0.008597994223237038, 0.0076080383732914925, 0.025153009220957756, -0.027808059006929398, 0.07862108200788498, 0.011528435163199902, 0.000509928329847753, 0.039352383464574814, -0.08771707862615585, -0.08804445713758469, -0.011896041221916676, -0.00898432731628418, 0.05737229809165001, -0.007885277271270752, -0.007877117954194546, 0.057658687233924866, 0.018705101683735847, 0.03784789890050888, 0.014177522622048855, 0.029019728302955627, 0.017229242250323296, -0.03809136897325516, -0.0256185382604599, 0.03249475359916687, 0.04474913328886032, -0.009231679141521454, -0.0157946664839983, 0.003610234474763274, -0.004315279424190521, -0.02313995733857155, 0.054322175681591034, -0.046014297753572464, 0.0488276407122612, 0.003129219403490424, 0.038652438670396805, -0.017709115520119667, 0.05414283275604248, -0.06635099649429321, -0.0048572104424238205, -0.005779109429568052, -0.032928433269262314, -0.009785297326743603, -0.015046987682580948, 0.0993661880493164, 0.0554313063621521, -0.03420233726501465, -0.0036795933265239, 0.02041465789079666, 0.03517383337020874, -0.05952461063861847, -0.00736670708283782, -0.028854593634605408, 0.008973373100161552, 0.006260281894356012, -0.045338284224271774, -0.033577751368284225, 0.008503507822751999, -0.03611661493778229, 0.013914419338107109, 0.07026068866252899, -0.032708022743463516, 0.04406144097447395, -0.004906922113150358, -0.027433477342128754, 0.00769478315487504, -0.03895498812198639, -0.07372269034385681, 0.00595238758251071, 0.013363598845899105, -0.0015859524719417095, 0.03367525711655617, -0.02054206281900406, -0.016569972038269043, -0.019803352653980255, -0.02070865035057068, 0.025197211652994156, 0.02309284918010235, 0.06172462925314903, 0.0018935867119580507, 0.06851565837860107, -0.02183755673468113, 0.032063353806734085, -0.010081714019179344, -0.04788988083600998, -0.039816878736019135, -0.0030568549409508705, 0.0006665651453658938, 0.040509723126888275, 0.026892030611634254, 0.011015885509550571, 0.018721839413046837, -0.013109428808093071, -0.010238511487841606, -0.03820231556892395, 0.020803721621632576, -0.002143035177141428, -0.03359920531511307, -0.05232356861233711, -0.03551609441637993, 0.04020266234874725, -0.03074418194591999, -0.021423816680908203, 0.014704586938023567, -0.07340491563081741, 0.07817983627319336, -0.06728437542915344, -0.05271338298916817, -0.0032951615285128355, 0.06248358264565468, 0.04569179564714432, -0.010273137129843235, 0.031308699399232864, 0.0895027369260788, 0.028575852513313293, 0.0016090507851913571, 0.009665558114647865, 0.00915910117328167, 0.009306108579039574, -0.02305627055466175, -0.009446830488741398, 0.0353882759809494, -0.008666404522955418, -0.006923234090209007, -0.05641323700547218, 0.03496012091636658, -0.008360663428902626, -0.27628573775291443, 0.011225392110645771, -0.02880367822945118, -0.042945630848407745, 0.02246527373790741, -0.018246060237288475, -0.012172841466963291, -0.05191021040081978, -0.01165070477873087, 0.0074951075948774815, -0.03339720517396927, -0.05747391656041145, 0.021412057802081108, 0.035927027463912964, -0.001940478920005262, 0.04725087061524391, 0.015065773390233517, -0.012133151292800903, -0.00039469587500207126, 0.03355460613965988, -0.006102033890783787, -0.07854997366666794, 0.02611732855439186, 0.0386812649667263, 0.025563230738043785, 0.05725055932998657, -0.08597483485937119, 0.06319580972194672, -0.045559898018836975, -0.02179320529103279, 0.020771745592355728, -0.008082782849669456, -0.02787165343761444, -0.017682461068034172, -0.021618366241455078, -0.02779083326458931, 0.004441643133759499, 0.021393727511167526, -0.0037333450745791197, 0.015608051791787148, -0.004595598205924034, -0.015556647442281246, -0.0020611758809536695, 0.00029023890965618193, 0.0827053040266037, -0.02265041321516037, -0.08876193314790726, 0.007618634030222893, -0.04781022295355797, 0.09574582427740097, -0.005174888297915459, -0.027605809271335602, 0.02022930420935154, 0.04157004505395889, -0.02328515611588955, -0.05472932383418083, 0.0071546770632267, 0.0023776537273079157, -0.031113075092434883, -0.024313293397426605, -0.0012057337444275618, -0.05629638582468033, -0.01128922775387764, -0.055535636842250824, -0.005368055310100317, -0.04474354162812233, -0.06514549255371094, 0.00387058244086802, 0.06577985733747482, 0.018247252330183983, -0.03874082863330841, -0.0047775087878108025, -0.017303869128227234, -0.10945424437522888, -0.009060120210051537, -0.03657206892967224, -0.01943805068731308, -0.03625321760773659, 0.0114864157512784, 0.046451713889837265, -0.011077465489506721, -0.04018775373697281, 0.023343946784734726, 0.01938888616859913, -0.007467613089829683, -0.008350415155291557, 0.01488483976572752, 0.003673035418614745, -0.018313761800527573, 0.008319848217070103, 0.05243305116891861, -0.02304721064865589, -0.029377173632383347, -0.029280832037329674, 0.008818889036774635, 0.003989190794527531, 0.016001494601368904, -0.009083217009902, -0.0011212917743250728, 0.03893733024597168, 0.011166376993060112, -0.05978769063949585, 0.02623661980032921, -0.006121198181062937, -0.0048696063458919525, -0.03151654452085495, -0.04179001599550247, 0.020349398255348206, 0.04444904997944832, 0.05001487582921982, -0.0028143818490207195, -0.026710936799645424, 0.004802543204277754, -0.07988356798887253, -0.037544507533311844, -0.022162359207868576, -0.014228747226297855, 0.047081686556339264, 0.008288378827273846, -0.0032658500131219625, -0.05002342164516449, 0.009651917964220047, 0.02548356167972088, 0.0036895337980240583, -0.05422152951359749, -0.025718217715620995, -0.029345495626330376, -0.009780199266970158, 0.026423130184412003, 0.01723157800734043, -0.003754659555852413, 0.031282488256692886, 0.025841135531663895, -0.061967745423316956, -0.0005453262128867209, -0.002727021463215351, -0.041836611926555634, -0.0286600012332201, -0.00823275651782751, -0.021808063611388206, -0.0005645199562422931, 0.013300687074661255, 0.016292503103613853, 0.03996141627430916, 0.03730267658829689, -0.0005716943414881825, 0.029593514278531075, 0.009956229478120804, 0.02211007848381996, -0.017696568742394447, 0.007601257413625717, -0.07232748717069626, 0.020889708772301674, -0.03777894750237465, -0.03031538613140583, -0.06797882169485092, 0.019464116543531418, -0.005087265744805336, -0.03290879726409912, -0.015400527976453304, 0.021728714928030968, -0.05639732629060745, -0.038086988031864166, -0.012515830807387829, 0.0032643929589539766, 0.07614809274673462, -0.021130818873643875, 0.014775379560887814, -0.04743820056319237, -0.023229073733091354, 0.02098078280687332, 0.03210768103599548, -0.020533736795186996, 0.011872906237840652, -0.005185222718864679, 0.00490548275411129, 0.012882876209914684, 0.0035748339723795652, 0.04950656369328499, 0.021916834637522697, 0.01612503081560135, -0.013240905478596687, 0.021062329411506653, 0.007844331674277782, 0.052763644605875015, 0.0301293283700943, -0.02125011757016182, 0.007659220602363348, -0.006495388224720955, -0.025681057944893837, -0.03501107171177864, -0.007632671855390072, -0.014958718791604042, 0.020068572834134102, -0.035670362412929535, -0.08786895871162415, 0.019244391471147537, 0.03192831948399544, 0.0011743726208806038, -0.0166611485183239, -0.005804469343274832, 0.012181808240711689, -0.04523836821317673, 0.035495247691869736, 0.06511338800191879, -0.041730284690856934, 0.025715697556734085, 0.01585773006081581, 0.02754473127424717, 0.0030462415888905525, 0.010965515859425068, -0.047687675803899765, -0.027662957087159157, -0.017180532217025757, 0.007295462768524885, -0.04954889789223671, -0.018622368574142456, -0.02864106558263302, -0.010634598322212696, 0.019123436883091927, -0.011020644567906857, 0.0050374907441437244, -0.00762668251991272, -0.011482598260045052, -0.02932247705757618, 0.02972637303173542, -0.004913025069981813, -0.0015570147661492229, 0.000008826428711472545, -0.024019313976168633, 0.019135991111397743, -0.023525811731815338, 0.02024521678686142, 0.006942934822291136, -0.022374536842107773, 0.011253406293690205, -0.03696708008646965, 0.0035192384384572506, -0.008372065611183643, 0.0374663770198822, -0.01603977382183075, -0.01780717447400093, -0.004295551683753729, -0.005451544653624296, -0.050382327288389206, 0.006997768301516771, -0.009772452525794506, -0.013521267101168633, -0.013927827589213848, 0.06492482870817184, 0.020508330315351486, 0.025884456932544708, -0.0257518719881773, 0.011955038644373417, 0.07169218361377716, -0.0530773401260376, -0.05875041335821152, -0.047613028436899185, -0.05332493409514427, -0.0020573779474943876, -0.003744532121345401, 0.02367798425257206, -0.011291218921542168, 0.05592532083392143, 0.03867588937282562, 0.026814356446266174, 0.04055573418736458, 0.001037898939102888, 0.04453856125473976, -0.06837716698646545, 0.004887963645160198, -0.08173040300607681, 0.03621867299079895, 0.03518174588680267, 0.023144591599702835, -0.023492006585001945, 0.00640871049836278, -0.05548292025923729, 0.062249403446912766, -0.06317722797393799, -0.03020757995545864, 0.020437926054000854, 0.011999905109405518, 0.005373414605855942, 0.005583746358752251, -0.07453645020723343, 0.012390069663524628, 0.0501154288649559, -0.047080542892217636, -0.005881939548999071, -0.030570387840270996, 0.05180027708411217, 0.013738114386796951, 0.021795544773340225, -0.03179006278514862, -0.004385507199913263, 0.07558862864971161, -0.008103454485535622, 0.01927255466580391, 0.058638446033000946, -0.006878306157886982, 0.03739866614341736, 0.03747732937335968, -0.009358106181025505, -0.0087784044444561, 0.007590360939502716, 0.012348857708275318, -0.04378288984298706, 0.030434804037213326, 0.011037847958505154, -0.008601519279181957, -0.037781499326229095, 0.06678366661071777, 0.021867942065000534, -0.02494148351252079, -0.0402526892721653, 0.0394446961581707, -0.04769280552864075, -0.013129119761288166, -0.010315611958503723, -0.013344360515475273, -0.01906978338956833, 0.0726182609796524, 0.00704074976965785, 0.02439245395362377, 0.07326608896255493, 0.0063967094756662846, -0.025256482884287834, 0.0002981948491651565, 0.07111366093158722, 0.08479921519756317, 0.03995608165860176, 0.003172479569911957, 0.05957986041903496, -0.03665731102228165, -0.042656950652599335, 0.011798262596130371, -0.028488928452134132, -0.034451913088560104, -0.017463617026805878, 0.012040202505886555, 0.0693182572722435, -0.008902222849428654, 0.06935684382915497, -0.038223057985305786, 0.012034864164888859, -0.007610690779983997, 0.011163771152496338, 0.0380585640668869, 0.06007137522101402, 0.0037010142114013433, 0.04064255580306053, -0.0031432416290044785, -0.021470297127962112, 0.013165871612727642, -0.015211822465062141, -0.013008642010390759, 0.03526393696665764, 0.012495480477809906, 0.011563523672521114, 0.004590331111103296, 0.045759156346321106, 0.07061612606048584, -0.028790060430765152, -0.017080694437026978, -0.01390688307583332, 0.02939421497285366, 0.004103705286979675, -0.0005488491151481867, -0.020020004361867905, -0.017771461978554726, 0.0015434192027896643, -0.03156290203332901, -0.027409616857767105, -0.007568091154098511, -0.006824907846748829, 0.07877631485462189, -0.0052419682033360004, 0.013677386566996574, 0.02079084888100624, 0.011480608023703098, -0.022944940254092216, -0.04959260672330856, -0.04257017374038696, -0.007766184397041798, -0.058831848204135895, -0.014872124418616295, 0.04459219425916672, -0.014101788401603699, -0.019149215891957283, -0.0033165300264954567, -0.011801021173596382, -0.0030386100988835096, 0.03400295227766037, -0.04053626209497452, -0.02193685807287693, 0.012318330816924572, 0.017553383484482765, 0.04859108477830887, 0.008746682666242123, 0.05128047987818718, -0.001759701524861157, 0.0003871694498229772, -0.026735465973615646, 0.022493289783596992, 0.04043111950159073, 0.025147343054413795, 0.020616400986909866, -0.07769946753978729, 0.04165293276309967, 0.03108334355056286, 0.015574359335005283, -0.08059361577033997, 0.0029231419321149588, 0.012534317560493946, -0.02158418297767639, 0.05742231383919716, -0.020362554118037224, 0.005006218794733286, -0.026792103424668312, -0.00923140812665224, 0.003755672136321664, 0.03311420604586601, 0.04037000983953476, -0.018835855647921562, 0.08752913773059845, 0.038242146372795105, -0.014981399290263653, -0.05678418278694153, -0.005659832619130611, 0.009490517899394035, -0.007675859611481428, -0.035213496536016464, -0.03169430419802666, -0.02341824769973755, -0.06273608654737473, -0.052249740809202194, 0.01789967156946659, -0.051487039774656296, -0.04326038062572479, -0.006335671059787273, 0.033048782497644424, -0.04348231479525566, -0.010613379068672657, -0.026726678013801575, 0.053733404725790024, -0.016872256994247437, -0.018791187554597855, -0.01266296487301588, 0.010515950620174408, -0.010071779601275921, -0.0003598408366087824, 0.03362394869327545, -0.040165990591049194, -0.013256460428237915, -0.0018502046586945653, 0.04382573813199997, 0.059466276317834854, 0.022906936705112457, 0.0386442206799984 ]
[ -0.05628485232591629, -0.04902636259794235, -0.0235282052308321, -0.042894937098026276, 0.06480428576469421, -0.05905334651470184, -0.02402321621775627, 0.0077150859870016575, -0.0022915287408977747, -0.03757800534367561, -0.009556052275002003, -0.00047390820691362023, 0.01546658854931593, 0.00004370852548163384, 0.08627700060606003, -0.012484568171203136, -0.012703698128461838, -0.02340693585574627, 0.02178557962179184, 0.003990506753325462, 0.03656696528196335, -0.03265361860394478, -0.050436146557331085, -0.01561826467514038, 0.01075812242925167, 0.05930372327566147, 0.02453446201980114, -0.03888712078332901, 0.0050865281373262405, -0.2167189121246338, 0.00910919439047575, 0.04609476402401924, 0.053336258977651596, -0.00486470852047205, -0.004566636402159929, 0.06269016861915588, 0.02830703742802143, 0.020185934379696846, -0.014561234042048454, 0.04939964413642883, 0.011010517366230488, 0.022136956453323364, -0.03784212842583656, -0.01668703369796276, 0.0012678008060902357, -0.0355757400393486, -0.032640744000673294, -0.03341584652662277, -0.029366057366132736, 0.010869324207305908, -0.009366690181195736, -0.019231200218200684, -0.03661184385418892, 0.029810328036546707, -0.0428643599152565, 0.04348382353782654, 0.018405016511678696, 0.054527778178453445, -0.007848122157156467, 0.013427344150841236, 0.025637097656726837, -0.04084087163209915, -0.13326719403266907, 0.10115720331668854, 0.03493986278772354, 0.029900718480348587, -0.021724987775087357, -0.017297131940722466, -0.01502973586320877, 0.11595382541418076, 0.007195161189883947, 0.0021776084322482347, -0.03234231472015381, 0.047288183122873306, 0.03826098144054413, -0.03575313091278076, 0.013394002802670002, 0.023314889520406723, 0.05059128999710083, -0.05464889109134674, -0.029887042939662933, -0.03371470421552658, -0.029375620186328888, 0.01132564339786768, -0.016550680622458458, -0.008846696466207504, 0.022016558796167374, 0.04064852371811867, 0.04161457344889641, 0.02884577587246895, 0.0408906564116478, -0.024025624617934227, 0.005333473905920982, 0.010660390369594097, -0.09268560260534286, 0.0023753310088068247, -0.006315187551081181, -0.01575576886534691, -0.03838903456926346, 0.4162326455116272, -0.0262692142277956, -0.029610376805067062, 0.047707244753837585, 0.02239907905459404, -0.024957971647381783, 0.009612939320504665, 0.0008723519276827574, -0.04168374463915825, 0.012990868650376797, -0.03094053827226162, -0.020790433511137962, 0.023604227229952812, 0.03024877980351448, -0.0797652080655098, 0.004907925147563219, -0.020550508052110672, -0.009660618379712105, 0.01248761173337698, 0.003511838847771287, -0.013952245004475117, 0.008087828755378723, -0.023461736738681793, 0.029398445039987564, 0.0485210046172142, -0.005812148097902536, -0.001961484318599105, 0.02272486872971058, 0.06230152025818825, 0.058560386300086975, 0.012878683395683765, 0.05889960750937462, -0.0005361521616578102, -0.06900729984045029, -0.0016432326519861817, 0.019961878657341003, 0.04033779725432396, 0.04488405957818031, 0.009855556301772594, -0.017447330057621002, 0.039191585034132004, -0.035472508519887924, 0.03871624171733856, 0.05239685997366905, -0.022500675171613693, -0.06353812664747238, 0.12288214266300201, -0.01489340327680111, -0.013807001523673534, -0.021564746275544167, -0.015960292890667915, -0.0018348017474636436, 0.027897659689188004, 0.01125515066087246, -0.04092076048254967, -0.012317819520831108, 0.0043231104500591755, 0.0675342008471489, -0.04255887120962143, -0.05527994781732559, -0.02763553522527218, -0.046156611293554306, -0.001466700341552496, -0.03796716406941414, 0.11428545415401459, 0.02740420028567314, -0.13150905072689056, -0.017004000023007393, 0.013036335818469524, 0.019846821203827858, -0.08038727194070816, -0.015134605579078197, 0.028455713763833046, 0.020853010937571526, 0.01300305500626564, 0.0515892431139946, -0.016849186271429062, -0.038710545748472214, 0.016261175274848938, 0.04154644533991814, 0.008784541860222816, 0.019911186769604683, 0.037262577563524246, -0.0712415874004364, -0.025104084983468056, -0.0013186510186642408, -0.07999363541603088, -0.07403085380792618, 0.003368210745975375, -0.03438214957714081, -0.0225417111068964, -0.07025498151779175, -0.01604451611638069, -0.07261274009943008, 0.055867794901132584, -0.03488488495349884, -0.03412584960460663, 0.04803520068526268, -0.0085256677120924, 0.008904552087187767, -0.0040557049214839935, 0.009375141002237797, 0.06814944744110107, -0.021775618195533752, 0.021876133978366852, -0.03819696605205536, 0.047288112342357635, 0.0594852976500988, -0.017511140555143356, 0.010865396820008755, 0.008717686869204044, -0.025615934282541275, 0.0030435824301093817, 0.03414776548743248, 0.012905222363770008, -0.007838391698896885, -0.04146987944841385, 0.006255171727389097, 0.04158274456858635, -0.01064685545861721, 0.03495650365948677, -0.040470805019140244, -0.02967297099530697, 0.01781739667057991, -0.3469708263874054, -0.017282120883464813, 0.011778575368225574, 0.005910943727940321, 0.008411942981183529, -0.05909321829676628, 0.01958496682345867, -0.01448280643671751, -0.04669104516506195, 0.007900345139205456, 0.10667217522859573, -0.028900528326630592, 0.007228237111121416, -0.05654776468873024, -0.018589984625577927, 0.02409551292657852, -0.013026232831180096, -0.0539574958384037, -0.043082159012556076, -0.0010924370726570487, 0.0164507944136858, -0.02459743805229664, -0.00180137122515589, -0.05183502659201622, 0.016012785956263542, -0.01584666036069393, 0.09359568357467651, -0.04296240210533142, 0.09151017665863037, -0.03741408511996269, 0.07085539400577545, -0.00912225991487503, 0.031486399471759796, -0.06634265929460526, 0.013011882081627846, -0.03099275752902031, 0.01896137185394764, -0.010688711889088154, 0.043635785579681396, -0.013562371022999287, -0.038497090339660645, 0.012878594920039177, -0.040335848927497864, -0.04628269001841545, 0.002443083096295595, -0.0069107357412576675, -0.03596063330769539, -0.03481531888246536, -0.008160730823874474, 0.03544234856963158, -0.02321852184832096, -0.05622449517250061, 0.022581804543733597, 0.018932698294520378, -0.0074713099747896194, -0.00045964596210978925, -0.04636288434267044, -0.009575379081070423, 0.0036195695865899324, 0.015772167593240738, 0.04371196776628494, 0.05521361157298088, 0.027015309780836105, -0.030348705127835274, 0.026992710307240486, -0.02367676980793476, 0.005549553316086531, 0.00012149477697676048, 0.02997356653213501, -0.02610839158296585, -0.007466560695320368, 0.09800545126199722, -0.02274981699883938, -0.014593152329325676, 0.0220722034573555, 0.008682084269821644, -0.00228122784756124, 0.04430139437317848, 0.02951967529952526, -0.012342785485088825, 0.019437769427895546, 0.012557550333440304, 0.020636456087231636, -0.03804852440953255, 0.017919011414051056, 0.03808659687638283, 0.004397254902869463, -0.025272808969020844, 0.022372985258698463, 0.003217460587620735, -0.03439270332455635, -0.015403185039758682, -0.012214036658406258, -0.020872781053185463, 0.07541099935770035, 0.0012903650058433414, -0.2666201889514923, 0.032249122858047485, 0.08943787962198257, 0.047926537692546844, 0.0038927902933210135, 0.022825956344604492, 0.04159152880311012, -0.059967465698719025, 0.0038866607937961817, -0.02101009152829647, 0.05369331315159798, 0.019818462431430817, 0.030269572511315346, -0.02663501538336277, 0.03706849738955498, -0.011208019219338894, 0.07853168994188309, -0.0257912315428257, 0.017816483974456787, -0.00251181167550385, 0.023847224190831184, -0.019369497895240784, 0.18636256456375122, -0.016793427988886833, 0.026676198467612267, 0.005447874311357737, -0.012669825926423073, 0.021393466740846634, 0.06668417155742645, 0.04648568853735924, 0.008629299700260162, -0.014984598383307457, 0.06795741617679596, -0.016305014491081238, 0.009820476174354553, -0.04969795048236847, 0.024441497400403023, 0.015655003488063812, 0.021585537120699883, 0.030791612342000008, -0.021000083535909653, -0.020745571702718735, -0.07632814347743988, 0.030103597790002823, 0.04118965193629265, -0.001066627912223339, -0.001979677937924862, -0.06651073694229126, -0.0295614805072546, -0.0009318120428360999, -0.025190703570842743, -0.04655914753675461, -0.04260805994272232, -0.022052528336644173, 0.016351670026779175, 0.04938967153429985, 0.0017558803083375096, -0.029834555462002754, -0.05835716798901558, 0.019444989040493965, -0.00438916077837348, -0.04178711771965027, 0.10019928216934204, 0.03425568342208862, 0.02593645639717579 ]
[ -0.02431170828640461, 0.010061056353151798, -0.025255708023905754, 0.007039710879325867, 0.0010054835584014654, 0.0012994102435186505, -0.008664380759000778, 0.037139419466257095, 0.010682609863579273, 0.034569866955280304, 0.024148622527718544, 0.033589646220207214, 0.011350022628903389, -0.010943588800728321, 0.018146075308322906, -0.006996292620897293, 0.0223943330347538, -0.004756101872771978, 0.025974221527576447, 0.013862721621990204, 0.023200172930955887, 0.029573624953627586, 0.0019536232575774193, 0.006254007574170828, -0.0022404748015105724, 0.034122008830308914, -0.020437980070710182, 0.01776311546564102, 0.022408142685890198, -0.11336811631917953, -0.0011113289510831237, -0.016285521909594536, 0.02560671977698803, -0.0034317588433623314, 0.028793975710868835, 0.017807502299547195, 0.007910684682428837, -0.010033190250396729, 0.006642608903348446, -0.02122514694929123, 0.01738915592432022, -0.005997705738991499, 0.011593920178711414, -0.013421210460364819, 0.007234291173517704, -0.031934961676597595, -0.003291991539299488, -0.02184189483523369, 0.01350489817559719, -0.023201333358883858, 0.015812654048204422, -0.013196990825235844, -0.020171169191598892, -0.010672338306903839, 0.014305776916444302, 0.006900074426084757, -0.03087051399052143, -0.01650618202984333, 0.004885552451014519, -0.01886874996125698, 0.0005430429591797292, -0.00513563584536314, -0.03400140255689621, -0.022060386836528778, 0.016413645818829536, -0.015937626361846924, -0.025478430092334747, 0.00265958602540195, -0.027740109711885452, -0.04765317961573601, 0.02731003426015377, 0.0065719690173864365, -0.015579642727971077, -0.004923966247588396, 0.047588154673576355, 0.016615038737654686, 0.010679613798856735, 0.007681601215153933, 0.03154129907488823, -0.026011690497398376, -0.009379790164530277, 0.015832696110010147, -0.006014127284288406, -0.0050100162625312805, -0.010217580012977123, -0.02282104268670082, 0.0018026026664301753, 0.008919433690607548, 0.034138258546590805, -0.0551539808511734, 0.020898200571537018, 0.006433749105781317, 0.0021749399602413177, -0.008500169031322002, -0.06360843032598495, -0.020859960466623306, -0.03825334087014198, -0.045252829790115356, -0.005827146582305431, 0.8644024133682251, -0.0012120705796405673, 0.004430148284882307, 0.005528027191758156, 0.0047272383235394955, -0.013830965384840965, -0.0022951436694711447, -0.008142191916704178, 0.07133115828037262, 0.0010953639866784215, -0.025188371539115906, 0.00896185077726841, 0.00046562624629586935, -0.005664145108312368, 0.016700945794582367, -0.005921213421970606, 0.011574764735996723, 0.03763037547469139, -0.024455305188894272, -0.014427254907786846, -0.02212214656174183, 0.02019777148962021, -0.016340598464012146, -0.017849383875727654, -0.02815413847565651, 0.027892887592315674, -0.16051837801933289, 0.023413002490997314, -8.242613407739913e-33, 0.021285424008965492, -0.018639415502548218, -0.01119592972099781, 0.00886604841798544, 0.012885204516351223, 0.022798985242843628, 0.02454330213367939, 0.05285787954926491, -0.008474411442875862, 0.0044119576923549175, 0.007755019702017307, 0.006923682056367397, 0.0016872957348823547, -0.0016203293344005942, 0.023218581452965736, -0.03404873237013817, -0.010359342209994793, 0.009475038386881351, 0.041339583694934845, 0.005409016739577055, 0.007593662478029728, 0.009474762715399265, 0.0018362768460065126, -0.015993203967809677, 0.04863417521119118, 0.04253358021378517, 0.027643738314509392, -0.01630418375134468, 0.013763513416051865, -0.04138835147023201, 0.022646548226475716, -0.017800960689783096, -0.024070806801319122, 0.005945749115198851, -0.008695701137185097, -0.00786810927093029, -0.023684998974204063, -0.011461183428764343, -0.04384583234786987, -0.009611929766833782, -0.05907443165779114, -0.017703117802739143, -0.03619217500090599, 0.015162358060479164, -0.007194205652922392, 0.026680167764425278, 0.011902299709618092, -0.002207620535045862, -0.0033651678822934628, 0.017246780917048454, -0.034281175583601, 0.024974917992949486, 0.0029888374265283346, 0.019901584833860397, -0.03668447211384773, -0.0027200293261557817, -0.005684351082891226, -0.015610548667609692, -0.006867806427180767, -0.03809863701462746, -0.029103010892868042, -0.024520540609955788, -0.017238933593034744, 0.004753843415528536, -0.03208816424012184, 0.010781302116811275, -0.034080199897289276, -0.0038239611312747, 0.031176945194602013, 0.02833022177219391, -0.018668310716748238, 0.012127380818128586, 0.014438435435295105, 0.005608309060335159, 0.0010553800966590643, -0.00013368330837693065, -0.0024936054833233356, 0.05108124390244484, -0.03176303952932358, 0.012645839713513851, 0.005991080775856972, -0.02869395725429058, 0.02423967979848385, 0.05381949618458748, -0.0027480467688292265, 0.03414526954293251, 0.019617581740021706, -0.033517252653837204, 0.009841378778219223, 0.006509363651275635, 0.00806889683008194, 0.016289956867694855, -0.024949083104729652, -0.0005627837963402271, -0.005387692712247372, 8.348864872742801e-33, -0.0029673241078853607, -0.010165522806346416, -0.0025210105814039707, -0.005254240240901709, -0.021140677854418755, -0.04121892899274826, -0.0013549126451835036, -0.001989888958632946, -0.05099717155098915, 0.02080456353724003, -0.04486978426575661, 0.023464355617761612, -0.028983399271965027, 0.00951432716101408, 0.034435372799634933, -0.016473347321152687, 0.01366028655320406, -0.03480304032564163, 0.06697247922420502, 0.037375569343566895, -0.013815421611070633, 0.02072804421186447, 0.027571415528655052, 0.008593890815973282, -0.005052753258496523, 0.04733109101653099, -0.02527136728167534, 0.002484484575688839, -0.005584178492426872, -0.007475811988115311, -0.0033964309841394424, -0.024356689304113388, 0.007888801395893097, -0.0216202549636364, -0.04325622692704201, 0.051855359226465225, -0.020606383681297302, -0.004580786917358637, 0.012486766092479229, 0.004141639918088913, 0.02540847659111023, -0.053200770169496536, 0.024045033380389214, 0.01146453246474266, 0.014483780600130558, -0.0475955605506897, 0.0196660365909338, -0.022787921130657196, 0.021779678761959076, 0.010945440270006657, 0.0042263902723789215, 0.01821274496614933, -0.021247927099466324, 0.03190286085009575, -0.010275453329086304, -0.01102953776717186, 0.016065996140241623, 0.001795310527086258, 0.014459299854934216, 0.010144353844225407, 0.009790098294615746, 0.027140073478221893, -0.005200558807700872, 0.03152938559651375, -0.014594042673707008, -0.0032871905714273453, 0.011390174739062786, -0.03232211992144585, 0.02110023982822895, -0.00769688468426466, -0.023568829521536827, -0.05190387740731239, -0.0070024458691477776, 0.03161349892616272, 0.0047081331722438335, -0.031833846122026443, 0.0015497852582484484, 0.023522494360804558, 0.016488948836922646, 0.006631124764680862, -0.0049237883649766445, -0.01793280616402626, 0.03321204334497452, 0.023105429485440254, -0.016568558290600777, 0.0029585380107164383, -0.015091569162905216, 0.01376844011247158, 0.004978266544640064, 0.002317780628800392, -0.0403728149831295, 0.02880975417792797, 0.016939988359808922, 0.0008470438770018518, -0.05575742572546005, -1.3732574188907165e-8, -0.01449054479598999, 0.03008873574435711, -0.02436862327158451, 0.02919766679406166, 0.010414356365799904, -0.039927851408720016, -0.006141793914139271, -0.008491409942507744, -0.03955918177962303, 0.026796836405992508, 0.010053322650492191, 0.0121826296672225, -0.053942788392305374, 0.015143675729632378, 0.007633280009031296, -0.008014891296625137, -0.03295927494764328, -0.005916029680520296, 0.021639764308929443, 0.04100039601325989, 0.0021990961395204067, 0.05843057483434677, 0.004078312776982784, -0.005095282103866339, 0.020560884848237038, 0.008852516300976276, 0.013765906915068626, -0.06512653082609177, 0.06466951966285706, 0.03616901859641075, 0.015909753739833832, 0.008237786591053009, -0.05062234774231911, 0.020724395290017128, -0.010782481171190739, -0.011469883844256401, 0.0061711519956588745, 0.021850548684597015, 0.00722154788672924, 0.002619850682094693, -0.03685317188501358, -0.0011349280830472708, -0.008831246756017208, -0.011925623752176762, -0.0033075541723519564, -0.012613504193723202, -0.025470910593867302, 0.006462824996560812, 0.04955664649605751, -0.005405826959758997, -0.022978318855166435, -0.019720740616321564, -0.025831880047917366, 0.01561143808066845, 0.004141296725720167, -0.040137384086847305, 0.005626199766993523, -0.0794684886932373, -0.006412787362933159, 0.003613455919548869, 0.010037887841463089, -0.007821978069841862, -0.024394003674387932, -0.022717036306858063 ]
coding-packaging-by-vertical-slice
https://markhneedham.com/blog/2012/02/20/coding-packaging-by-vertical-slice
false
2012-02-18 01:31:09
Tech Leads & The Progress Principle
[ "software-development", "leadership" ]
[ "Software Development" ]
I've been reading http://www.amazon.co.uk/Progress-Principle-Ignite-Engagement-Creativity/dp/142219857X/ref=sr_1_1?ie=UTF8&qid=1329528627&sr=8-1[The Progress Principle] on and off for the last couple of months and one of my favourite quotes from the book is the following: ____ Truly effective video game designers know how to create a sense of progress for players within all stages of a game. Truly effective managers know how to do the same for their subordinates. ____ While a tech lead might not like to be referred to as a manager I think part of the role does involve *helping developers to make progress* and the best ones I've worked with seem to do that instinctively. They're able to see when someone has got very stuck with what they're doing and can then work out whether they just need to provide some advice on how they can move forward or if that's not working they can come and work together on the problem. ____ Work progress and setbacks matter so much because work matters so much. It's simply part of being human ____ For the last couple of weeks a colleague and I have been trying to work out how to migrate reference data from an existing application for an application which we're rewriting. We've run into problems along the way such as looking at a test database which we didn't realise was a couple of years out of date and therefore didn't have the data in the right format to trying to link up data from tables which weren't meant to be linked. On each setback the tech lead (Alex) helped us progress first by recognising that the test and production databases might not be synced up and giving us other ideas about table design based on his greater knowledge of the whole system. On this occasion although we were making some progress we couldn't quite figure out how to get the data into the shape we wanted which was becoming increasingly frustrating. ____ The effect of setbacks on emotions is stronger than the effect of progress\...the power of setbacks to diminish happiness is more than twice as strong as the power of progress to boost happiness. ____ Eventually Alex came and paired on the problem and was able to see something that we'd missed which allowed us to solve the problem. I think the balance of initially allowing us to try and solve it ourselves and giving advice before taking a more hands on approach matches up fairly closely with what the authors of The Progress Principle suggest. It's certainly been an interesting book to read and one which I think is very applicable to people working in software teams.
null
null
[ 0.02479865774512291, 0.023132845759391785, 0.0017252292018383741, 0.04458830505609512, 0.08762158453464508, 0.02135366015136242, 0.01974446140229702, 0.040286220610141754, 0.017205657437443733, -0.026031041517853737, -0.030116654932498932, 0.005279650911688805, -0.03907814994454384, 0.02718448080122471, -0.033082716166973114, 0.0698731541633606, 0.06502991914749146, 0.002155045745894313, 0.009781375527381897, 0.006498015020042658, 0.013324927538633347, 0.08002228289842606, 0.033009469509124756, 0.05397329479455948, 0.03487557917833328, -0.010170952416956425, 0.03421831876039505, -0.01579090766608715, -0.04609941691160202, 0.00769438361749053, 0.030430763959884644, -0.016121286898851395, 0.008310019038617611, -0.017899075523018837, 0.016400203108787537, -0.021458618342876434, -0.025117555633187294, 0.0456707701086998, 0.019119668751955032, -0.005149167031049728, -0.07764215022325516, 0.040350671857595444, -0.03581661731004715, 0.006940624210983515, -0.02484245039522648, 0.010900084860622883, -0.043030206114053726, 0.013542973436415195, 0.007065765094012022, 0.004270337987691164, -0.06207181513309479, 0.06091424450278282, 0.012440379709005356, -0.0066718291491270065, -0.011905861087143421, 0.0503201000392437, 0.0002574951504357159, -0.04808761179447174, -0.00964378658682108, -0.060653120279312134, 0.0016340005677193403, -0.03545517846941948, -0.018575109541416168, 0.011977911926805973, 0.03929981216788292, -0.041132405400276184, 0.010761816054582596, 0.041481975466012955, -0.012974749319255352, 0.019823769107460976, -0.046433910727500916, 0.002336763311177492, -0.015446150675415993, -0.011859026737511158, -0.003919706679880619, -0.0542505718767643, 0.010688833892345428, 0.0478789284825325, 0.015476813539862633, 0.033906009048223495, -0.020291509106755257, 0.012638785876333714, 0.023572850972414017, 0.02291468344628811, -0.03146800026297569, -0.04460780695080757, 0.020661447197198868, -0.02584039978682995, -0.06497081369161606, 0.06038413196802139, 0.01783657632768154, -0.047943342477083206, 0.020462581887841225, 0.04082745686173439, -0.012668473646044731, -0.010387010872364044, 0.03584735468029976, -0.0029179148841649294, -0.019603367894887924, -0.024945849552750587, -0.01604386791586876, -0.029688837006688118, -0.0001965669944183901, 0.0035955351777374744, -0.07160472124814987, -0.008142774924635887, -0.005987982265651226, -0.021784523501992226, -0.005546503700315952, 0.006851542741060257, -0.03845035284757614, 0.016207152977585793, -0.017768889665603638, 0.020034659653902054, -0.06247073411941528, 0.07762052118778229, 0.03290387988090515, -0.03605741634964943, -0.0037600225768983364, 0.023637639358639717, 0.05828617513179779, 0.00004703940430772491, 0.0040526799857616425, 0.06003439053893089, -0.006861488800495863, 0.00855213776230812, -0.04142412543296814, 0.04445496201515198, -0.011001171544194221, -0.05452750250697136, -0.013259394094347954, 0.0630105510354042, -0.04254421964287758, -0.015413648448884487, 0.003995767328888178, -0.04255451261997223, 0.006234664469957352, -0.011550462804734707, 0.009674698114395142, 0.048332758247852325, -0.003517966018989682, -0.030114861205220222, 0.025303907692432404, 0.00869719311594963, 0.03564954549074173, -0.0016992369201034307, 0.004155526868999004, -0.014250469394028187, -0.06768722087144852, -0.011569864116609097, 0.006059696897864342, 0.020111126825213432, 0.02186501957476139, -0.02889423258602619, 0.024087555706501007, 0.0868147686123848, 0.031917717307806015, 0.02539430931210518, -0.017993612214922905, 0.029678646475076675, 0.038461700081825256, 0.03850415349006653, 0.019582482054829597, 0.016296204179525375, 0.02194318361580372, 0.0011758763575926423, 0.014117644168436527, 0.05027961730957031, -0.008586197160184383, 0.003562498139217496, -0.06623281538486481, -0.03506053611636162, 0.04760829359292984, -0.03665033355355263, -0.018483193591237068, 0.04070448502898216, 0.07340832054615021, 0.05484044551849365, 0.02506089210510254, -0.0054785097017884254, -0.08257589489221573, 0.03176874667406082, 0.02174074947834015, 0.031478576362133026, 0.028200015425682068, -0.036887314170598984, 0.045514170080423355, 0.020716315135359764, 0.01553939189761877, 0.04887321591377258, -0.08139423280954361, -0.07754833251237869, -0.01414364855736494, -0.008873517625033855, 0.04886992275714874, -0.03532874584197998, 0.014928799122571945, 0.07696313410997391, 0.0074282619170844555, 0.05655267462134361, 0.013036268763244152, -0.01388610526919365, 0.01174879539757967, -0.041297685354948044, -0.04397857189178467, 0.0517171248793602, 0.024830544367432594, 0.019684413447976112, -0.053869664669036865, 0.010103785432875156, -0.03252507746219635, -0.021698186174035072, 0.044507138431072235, -0.009871681220829487, 0.03771404176950455, -0.010900250636041164, 0.051635224372148514, -0.04054080694913864, 0.031464140862226486, -0.04650690034031868, 0.001995288534089923, 0.005653888452798128, -0.019657569006085396, 0.021809354424476624, 0.005890514701604843, 0.10674389451742172, 0.05669339373707771, -0.04414159059524536, -0.047322697937488556, 0.04458202049136162, 0.011716051958501339, -0.03847172111272812, 0.00621225917711854, 0.002726897830143571, 0.007289857603609562, 0.0012561589246615767, -0.056786518543958664, -0.04351364076137543, 0.024116668850183487, -0.060389161109924316, 0.0022864355705678463, 0.03705756366252899, -0.0051549868658185005, 0.0677032619714737, 0.0017348629189655185, 0.007152173202484846, -0.011035289615392685, -0.006375201977789402, -0.06925274431705475, 0.018609652295708656, -0.004316072911024094, -0.02767261490225792, 0.04276026785373688, 0.014420829713344574, -0.041715823113918304, -0.03397068753838539, -0.05073432996869087, 0.013143117539584637, 0.055255454033613205, 0.057512104511260986, -0.005936916917562485, 0.038673363626003265, -0.013243237510323524, 0.0423160120844841, 0.004901576787233353, -0.05286196246743202, -0.05236247181892395, -0.05649174749851227, -0.0015167107339948416, 0.03517056629061699, 0.014098450541496277, -0.0032023752573877573, 0.004209201782941818, 0.011117357760667801, -0.02033538743853569, -0.024420278146862984, 0.04876427724957466, -0.008722834289073944, 0.002184718381613493, -0.028132958337664604, 0.0025687520392239094, 0.06425599008798599, -0.04518575221300125, -0.0013462110655382276, 0.029329942539334297, -0.09890522062778473, 0.04498452693223953, -0.0484558641910553, -0.025858130306005478, -0.005255474243313074, 0.012137923389673233, 0.04921713471412659, 0.032907020300626755, 0.012297802604734898, 0.07335272431373596, 0.0338362455368042, 0.0063856723718345165, -0.0037397451233118773, 0.018284019082784653, 0.052786149084568024, 0.003763000015169382, -0.026670532301068306, 0.05296826362609863, 0.00021409230248536915, -0.005199213046580553, -0.05422235652804375, 0.05127536132931709, -0.022624315693974495, -0.2711239457130432, 0.037250395864248276, 0.020493406802415848, -0.047685470432043076, 0.028878720477223396, -0.01567542366683483, 0.00009669415885582566, -0.042552750557661057, -0.03610016033053398, 0.009260954335331917, -0.03630802407860756, -0.03307598829269409, -0.008373664692044258, 0.06130827218294144, 0.0143424766138196, 0.026264062151312828, 0.0252122450619936, -0.03552035987377167, -0.00406501442193985, 0.05127352476119995, -0.011291549541056156, -0.07205725461244583, -0.013415081426501274, 0.04309610277414322, 0.05358383432030678, 0.04832468554377556, -0.0675262063741684, 0.019365623593330383, -0.05592882260680199, -0.0004927561967633665, 0.01989736407995224, 0.010199780575931072, 0.014664823189377785, -0.03613002225756645, 0.0047350614331662655, -0.02573109045624733, 0.03888987377285957, 0.012006108649075031, 0.003707073861733079, 0.010537225753068924, -0.014116402715444565, -0.015755528584122658, 0.007184640970081091, 0.03603069856762886, 0.0753658264875412, 0.005387310869991779, -0.08474911749362946, -0.0068517751060426235, -0.033578213304281235, 0.07232078164815903, -0.020232735201716423, -0.02312135510146618, -0.014065275900065899, 0.03400269150733948, -0.003697084030136466, 0.005646257195621729, 0.005625513382256031, -0.02497655712068081, -0.04230565205216408, -0.05893931910395622, -0.018294598907232285, -0.02288088947534561, -0.0010156697826460004, -0.03819620981812477, -0.00790335237979889, -0.06566928327083588, -0.07044044137001038, -0.026586288586258888, 0.06023354455828667, 0.024229267612099648, -0.02350509539246559, -0.004591809120029211, -0.012932629324495792, -0.10677239298820496, -0.03141326457262039, -0.005547684617340565, -0.02085242234170437, 0.01914772391319275, 0.005141283385455608, 0.028013337403535843, -0.01579747162759304, -0.0604151226580143, 0.017835820093750954, 0.01189142931252718, 0.03313053399324417, -0.013297355733811855, 0.0609336756169796, 0.004316403996199369, -0.016486620530486107, 0.005314775742590427, 0.06934463232755661, -0.028007905930280685, -0.03710009902715683, -0.032862212508916855, 0.01890932023525238, -0.019227538257837296, 0.01066625863313675, -0.0073365275748074055, -0.0032041396480053663, 0.021797120571136475, -0.007744770497083664, -0.07108264416456223, 0.01959569938480854, -0.015975432470440865, -0.009088708087801933, -0.025072915479540825, -0.03791986405849457, 0.02064567431807518, 0.03808705881237984, 0.023234033957123756, 0.020853370428085327, -0.021405532956123352, 0.027628928422927856, -0.031046831980347633, -0.01501188799738884, -0.03955170884728432, 0.0066251326352357864, 0.048818010836839676, -0.014277749694883823, 0.0034434841945767403, -0.07389406859874725, 0.006906674709171057, -0.02506961114704609, -0.013575034216046333, -0.04930296540260315, -0.007442309055477381, -0.005158178973942995, -0.02897247113287449, 0.018979940563440323, 0.005423328839242458, -0.010048529133200645, 0.014363727532327175, 0.03336033225059509, -0.02455993928015232, 0.003132828278467059, -0.042800355702638626, -0.07070654630661011, -0.041123002767562866, 0.0007649590843357146, -0.004915200639516115, -0.021145373582839966, 0.02114182524383068, -0.000049294143536826596, 0.002416989067569375, 0.04780982807278633, -0.0006170655833557248, 0.023123977705836296, -0.017375005409121513, 0.028036409988999367, 0.012219801545143127, 0.007749453186988831, -0.05648135021328926, 0.05407344549894333, -0.0404910072684288, -0.012923330068588257, -0.03308140113949776, 0.020286036655306816, -0.022632621228694916, -0.005211335606873035, -0.02009137161076069, 0.004547377582639456, -0.054099664092063904, -0.05627484992146492, -0.04219217598438263, 0.019163258373737335, 0.05098136141896248, -0.0019592447206377983, -0.006852956023067236, 0.0059081208892166615, -0.007823570631444454, 0.03415139019489288, 0.0008729288238100708, -0.03308740630745888, -0.004885932896286249, -0.018752893432974815, -0.011532421223819256, -0.0040826997719705105, -0.019912170246243477, 0.03850090876221657, -0.0006915387348271906, -0.023115506395697594, -0.036552466452121735, -0.001339155132882297, 0.00930030271410942, 0.04275509715080261, 0.04754982516169548, 0.0006527394871227443, 0.007859972305595875, -0.007985228672623634, -0.03392241895198822, -0.026998156681656837, -0.020043935626745224, -0.015755580738186836, 0.003518542042002082, -0.04505806788802147, -0.05443878099322319, 0.056492406874895096, 0.006740670185536146, 0.01604514569044113, 0.013209146447479725, -0.013812449760735035, -0.0013052516151219606, -0.03801961615681648, 0.02084990218281746, 0.08728858828544617, -0.07628842443227768, -0.002293303608894348, -0.0029550082981586456, 0.0035850568674504757, 0.018945906311273575, -0.01402862835675478, -0.02316374145448208, -0.011676265858113766, -0.028585845604538918, 0.005377753172069788, -0.09162221103906631, -0.008446193300187588, -0.04462658241391182, 0.00402839994058013, 0.008580473251640797, 0.006110738031566143, -0.028864633291959763, -0.02471035160124302, -0.01643536426126957, -0.015735946595668793, -0.02029874175786972, -0.03512991592288017, 0.004723846446722746, 0.03060186468064785, -0.03826170042157173, -0.02098793163895607, -0.014179651625454426, 0.016103679314255714, 0.010891939513385296, -0.03117976523935795, -0.0116837527602911, -0.028694022446870804, 0.00625742319971323, 0.011649212799966335, 0.026746340095996857, -0.03373429551720619, -0.04743652790784836, -0.02943992242217064, -0.019455162808299065, -0.023065760731697083, 0.014503543265163898, -0.028158752247691154, -0.004312356002628803, 0.03631388768553734, 0.06645266711711884, 0.011013444513082504, 0.004628842230886221, -0.02438722737133503, -0.018346866592764854, 0.034907881170511246, -0.06148642674088478, -0.004167639650404453, -0.009370229206979275, -0.0546906478703022, 0.007141739130020142, 0.011974247172474861, 0.014049177058041096, -0.05194028094410896, 0.03646498918533325, 0.023637842386960983, 0.039530958980321884, 0.0559631809592247, 0.028875568881630898, 0.031560271978378296, -0.0491933599114418, -0.008061516098678112, -0.0887424498796463, -0.002643280429765582, 0.010311783291399479, 0.0007655000081285834, -0.00800542626529932, 0.01084851287305355, -0.019036876037716866, 0.03763789311051369, -0.09153223782777786, -0.02374974638223648, 0.06175413355231285, -0.0025857933796942234, -0.01898219808936119, 0.03449548780918121, -0.07907765358686447, 0.03517831116914749, 0.005454081576317549, -0.042312223464250565, -0.023228444159030914, -0.026514790952205658, 0.059019915759563446, 0.011481990106403828, 0.014090973883867264, -0.03448202461004257, -0.010232529602944851, 0.08773406594991684, 0.00897155050188303, 0.019281797111034393, 0.05788133293390274, -0.013334001414477825, 0.049904417246580124, 0.04002123698592186, 0.03196277096867561, -0.005400993395596743, 0.017573731020092964, -0.005344179924577475, -0.04481722414493561, 0.019725080579519272, 0.018122181296348572, -0.02609875798225403, -0.03880927339196205, 0.05907221883535385, 0.009472394362092018, -0.021797433495521545, -0.062479645013809204, 0.006933404132723808, -0.04257010295987129, 0.0021925668697804213, 0.0014197638956829906, -0.015999315306544304, -0.037068210542201996, 0.04547187685966492, 0.006684938445687294, 0.026132861152291298, 0.05346754193305969, 0.0049639251083135605, -0.022672776132822037, -0.008796965703368187, 0.10835074633359909, 0.0809851735830307, 0.05632229894399643, 0.016783470287919044, 0.08049434423446655, -0.00464410986751318, -0.04956872761249542, 0.021380294114351273, 0.0010324986651539803, -0.01738012209534645, -0.025735365226864815, 0.03134649991989136, 0.061782997101545334, -0.013370221480727196, 0.06525375694036484, -0.014646473340690136, -0.036636244505643845, -0.00882776826620102, 0.04611664265394211, -0.0008057139348238707, 0.07223634421825409, 0.010545636527240276, 0.025549277663230896, -0.0061344364657998085, -0.061023492366075516, 0.03278680518269539, -0.03332054987549782, -0.0059205819852650166, 0.03162200003862381, -0.000821743393316865, 0.035133711993694305, 0.01924430951476097, 0.017821716144680977, 0.08291754871606827, -0.044362153857946396, 0.03394202142953873, -0.003371154423803091, 0.03954879939556122, -0.023437481373548508, 0.008029988966882229, -0.019433489069342613, -0.0020431210286915302, -0.008016745559871197, -0.013096023350954056, -0.027535714209079742, -0.01978711225092411, -0.014813578687608242, 0.045093927532434464, -0.03548157587647438, -0.0024480135180056095, 0.04362254589796066, 0.003704122733324766, -0.03481392562389374, -0.04789786785840988, -0.04231507331132889, -0.035537783056497574, -0.06138768047094345, 0.0007667781901545823, 0.02908582240343094, -0.010245809331536293, -0.03795994818210602, -0.020126597955822945, -0.0020919537637382746, -0.03218327462673187, 0.019376901909708977, -0.05974019318819046, -0.023773476481437683, 0.02588082104921341, 0.024860257282853127, 0.02922656014561653, 0.01561912801116705, 0.04732305929064751, -0.0012198053300380707, -0.009760645218193531, -0.026755664497613907, 0.04404702037572861, 0.021622180938720703, -0.010135053656995296, 0.01179612148553133, -0.07726019620895386, 0.021372325718402863, 0.028728000819683075, -0.026425801217556, -0.0716390386223793, 0.030492160469293594, 0.024133361876010895, -0.005602682009339333, 0.046749457716941833, -0.020919524133205414, 0.009382548741996288, -0.05797423794865608, 0.000008433675247943029, -0.021809211000800133, 0.0012900667497888207, 0.04571015387773514, -0.03316866233944893, 0.08633195608854294, 0.006429346743971109, -0.010114720091223717, -0.03520887345075607, -0.005080694332718849, -0.00096600700635463, 0.009802528657019138, -0.013371515087783337, -0.02201380580663681, -0.016788862645626068, -0.09424450248479843, -0.026355953887104988, 0.03238759562373161, -0.03927084431052208, -0.03742607310414314, 0.011690426617860794, 0.03288774937391281, -0.005471189972013235, 0.015764418989419937, -0.04596085101366043, 0.028139853850007057, -0.035030387341976166, -0.008481626398861408, 0.0009183549555018544, 0.014145152643322945, -0.013001772575080395, 0.015625521540641785, 0.029446905478835106, -0.03485748544335365, 0.01712987758219242, -0.006297662854194641, 0.01799103245139122, 0.04089212417602539, 0.0030963087920099497, -0.014582544565200806 ]
[ -0.1052444577217102, 0.020441634580492973, 0.020666522905230522, -0.018854618072509766, 0.020213983952999115, -0.018387600779533386, 0.007686059921979904, 0.005577452015131712, 0.0006359954131767154, -0.023437801748514175, -0.009724395349621773, -0.017560841515660286, -0.015396242961287498, -0.015378965996205807, 0.046161528676748276, 0.02043323591351509, -0.0275497417896986, -0.053232062608003616, 0.0013148371363058686, 0.032229553908109665, 0.0039759851060807705, -0.048101622611284256, -0.014539534226059914, -0.027256447821855545, 0.013237802311778069, -0.0030235101003199816, 0.011192544363439083, -0.038537707179784775, -0.010882074944674969, -0.17319810390472412, -0.01602824404835701, -0.0011324177030473948, 0.03199709206819534, -0.010087443515658379, -0.011269745416939259, 0.0758800283074379, 0.009031924419105053, 0.013530123978853226, -0.012496639043092728, 0.018744440749287605, 0.019620299339294434, 0.021461475640535355, -0.02633601799607277, -0.019060425460338593, 0.024270063266158104, 0.01534087024629116, 0.008010324090719223, -0.0472661517560482, -0.02998911589384079, -0.0006236759363673627, -0.03928273916244507, -0.0008619914879091084, -0.03790109604597092, 0.0018300121882930398, 0.00745359156280756, 0.03437502682209015, 0.040584828704595566, 0.05949542298913002, 0.023702606558799744, 0.03519338369369507, 0.016208140179514885, -0.03915925696492195, -0.1762617826461792, 0.07686326652765274, 0.05234778672456741, 0.05675048381090164, -0.0725763738155365, -0.029116906225681305, -0.04549092426896095, 0.09812209755182266, -0.0015493493992835283, -0.024678686633706093, 0.017497310414910316, 0.03556208312511444, 0.0487850047647953, 0.009099784307181835, 0.011902262456715107, 0.005365065298974514, 0.020049596205353737, -0.03411875292658806, 0.009109145030379295, -0.009696738794445992, -0.03654338791966438, -0.0039114439859986305, -0.04217403754591942, 0.037430290132761, -0.026626864448189735, 0.04746679216623306, 0.03723976016044617, 0.06678549200296402, 0.054492030292749405, 0.008582091890275478, 0.04281264543533325, -0.0056225392036139965, -0.08067331463098526, -0.022834260016679764, -0.01771753840148449, 0.029516084119677544, -0.05452258139848709, 0.4220241606235504, -0.009488494135439396, -0.0070563252083957195, 0.02958707883954048, 0.06700591742992401, 0.0155510064214468, 0.02513715624809265, 0.03194230794906616, -0.05011696368455887, 0.022942038252949715, 0.008598723448812962, 0.012706093490123749, 0.0349922738969326, 0.05323299765586853, -0.034462153911590576, 0.0216013565659523, 0.05662411451339722, -0.006561385001987219, 0.007023076992481947, -0.018556086346507072, -0.01086107175797224, 0.0016561445081606507, 0.05726907402276993, 0.021338744089007378, -0.017041875049471855, -0.0183035247027874, -0.04086201265454292, 0.03053240478038788, 0.06354331225156784, 0.039657436311244965, -0.027880247682332993, 0.04640870541334152, -0.0409737303853035, -0.06908725947141647, 0.006837897468358278, -0.01528785191476345, 0.015080723911523819, 0.04344470798969269, -0.011756041087210178, 0.009951677173376083, 0.05264981463551521, 0.015977749601006508, -0.003907151985913515, 0.0014706819783896208, -0.04571762681007385, -0.043416984379291534, 0.1214299127459526, 0.06517507880926132, -0.03805917128920555, -0.021840620785951614, 0.0097117330878973, -0.008128388784825802, 0.02602650411427021, 0.019305843859910965, -0.04072356969118118, 0.007709568366408348, 0.001748914597555995, 0.07723741233348846, 0.00969893392175436, -0.07171572744846344, -0.02708996646106243, -0.004445147700607777, -0.025241874158382416, -0.037590596824884415, 0.026722805574536324, 0.06852492690086365, -0.07727915048599243, -0.026111293584108353, 0.014892809092998505, 0.02498333901166916, -0.07940874248743057, -0.022033585235476494, 0.004005966242402792, -0.058894820511341095, -0.015689851716160774, 0.08171171694993973, -0.056638509035110474, -0.03054427169263363, 0.013851233758032322, 0.04132029786705971, 0.04758189618587494, 0.05032313987612724, 0.008242752403020859, -0.012616431340575218, -0.004787580110132694, -0.049119673669338226, -0.08037503808736801, -0.007405542302876711, -0.017053522169589996, -0.04663020372390747, 0.010966241359710693, -0.003677544416859746, -0.000404134567361325, -0.09848982840776443, 0.1027579978108406, -0.005516762379556894, -0.026850854977965355, 0.004562195856124163, -0.024487536400556564, -0.05426287651062012, -0.016231099143624306, -0.0966537594795227, 0.0018139596795663238, -0.034323930740356445, 0.031798332929611206, -0.062398761510849, 0.05069862678647041, 0.05366217717528343, -0.052883654832839966, 0.11516568064689636, 0.042938072234392166, -0.05110853165388107, -0.04335595294833183, -0.008649074472486973, 0.03583991155028343, -0.003838106757029891, 0.02307763136923313, 0.03983865678310394, -0.0035035188775509596, -0.01985941268503666, 0.028729349374771118, -0.014790146611630917, 0.02483045496046543, -0.03194461390376091, -0.3406798541545868, -0.02466522715985775, -0.06992936134338379, -0.02400076575577259, 0.004225294571369886, -0.006933005526661873, 0.015629561617970467, -0.015169774182140827, -0.004549120087176561, 0.0006606040988117456, 0.08669554442167282, -0.022614648565649986, 0.012306035496294498, -0.07565878331661224, 0.010015744715929031, -0.01696982979774475, -0.04546087980270386, -0.009167620912194252, -0.0453236885368824, -0.005434371531009674, 0.015626130625605583, -0.015471501275897026, -0.06423652917146683, -0.050266191363334656, -0.018902497366070747, -0.0320659801363945, 0.10343479365110397, -0.0056050741113722324, 0.0286710262298584, -0.02444596402347088, 0.016478830948472023, 0.028258899226784706, 0.016911311075091362, -0.10507255047559738, 0.04182041436433792, -0.03753776475787163, -0.0029886539559811354, -0.04012293368577957, -0.028945215046405792, -0.02975039929151535, -0.05218719318509102, 0.04403003305196762, -0.07003778219223022, -0.01412583515048027, -0.09015662223100662, 0.01474105566740036, -0.022239873185753822, -0.023337647318840027, -0.022028004750609398, 0.05793639272451401, 0.002752319211140275, 0.007531964685767889, 0.012827514670789242, -0.008182681165635586, -0.008374975062906742, -0.027475252747535706, -0.10739587247371674, 0.05806073173880577, 0.00013125680561643094, 0.007551785558462143, 0.012468474917113781, 0.06206957995891571, 0.013128007762134075, -0.017507633194327354, 0.013902479782700539, -0.010520052164793015, 0.01442024763673544, 0.008951134979724884, 0.06545926630496979, -0.011534233577549458, 0.006228528451174498, 0.04862983897328377, -0.006375845521688461, -0.04739051312208176, 0.02484261617064476, 0.017291493713855743, -0.02994326688349247, 0.01738738641142845, 0.002857015933841467, 0.0013169745216146111, 0.01506116334348917, -0.024278849363327026, 0.034015435725450516, -0.00015489205543417484, 0.004466518294066191, -0.009050285443663597, -0.01002071239054203, -0.058908164501190186, 0.0678197517991066, 0.034799713641405106, -0.027204297482967377, 0.04568983241915703, -0.02836313284933567, -0.0703013688325882, 0.0696433037519455, 0.030237354338169098, -0.2486768215894699, 0.034316662698984146, 0.04752528667449951, 0.01850796863436699, -0.012121329084038734, 0.02768414281308651, 0.013901593163609505, -0.0050927116535604, 0.015774108469486237, 0.013215465471148491, 0.03179306164383888, 0.027564890682697296, -0.03229488432407379, -0.010247476398944855, 0.014870364218950272, -0.035088855773210526, 0.05563913285732269, 0.0021643342915922403, 0.0572286993265152, -0.01808476448059082, 0.028660189360380173, 0.00013655395014211535, 0.1544433832168579, -0.001731989672407508, 0.03625016286969185, 0.024107465520501137, -0.0009367528255097568, 0.007878161035478115, 0.029187126085162163, 0.009679926559329033, -0.01248170342296362, 0.008551646023988724, 0.018418336287140846, 0.0389002300798893, 0.027230195701122284, -0.06151784583926201, -0.03132273256778717, 0.05308067426085472, -0.01018538884818554, 0.02072928100824356, 0.0022058335598558187, 0.008821656927466393, -0.0042725238017737865, 0.04331088438630104, 0.0872856006026268, 0.0063224551267921925, -0.028276652097702026, -0.02671424113214016, -0.06237507611513138, -0.02609412930905819, -0.06719136238098145, -0.027674967423081398, 0.020350834354758263, -0.011562181636691093, 0.003369217738509178, 0.06992802023887634, 0.04817570373415947, -0.01568957418203354, 0.0076370807364583015, -0.004545117728412151, -0.03536438196897507, 0.024826517328619957, 0.10799513757228851, 0.035944294184446335, 0.03967146575450897 ]
[ 0.010041103698313236, -0.0050836848095059395, -0.0020598392002284527, 0.006280375644564629, 0.014291399158537388, 0.017520125955343246, 0.014330514706671238, -0.005104531068354845, -0.01319807767868042, 0.04625358432531357, -0.023676229640841484, 0.013761862181127071, 0.016851646825671196, -0.024084435775876045, 0.024785347282886505, -0.002957435790449381, -0.0000789946352597326, -0.012945909053087234, 0.02164401486515999, 0.004129893146455288, -0.010953632183372974, -0.0021379769314080477, -0.02054150216281414, 0.006164452061057091, -0.024738214910030365, 0.008895471692085266, -0.008206675760447979, 0.03532247617840767, 0.022566083818674088, -0.130301833152771, -0.0346250981092453, -0.044866226613521576, -0.03318985179066658, 0.0352952815592289, -0.030088799074292183, -0.010612960904836655, 0.004835010040551424, 0.006593703757971525, -0.01956566795706749, -0.0004383994673844427, -0.009744077920913696, -0.03373749554157257, -0.0005674756248481572, 0.005533620249480009, -0.025826070457696915, -0.003541278652846813, 0.009062512777745724, -0.061065878719091415, -0.016250910237431526, -0.015188340097665787, -0.047408055514097214, -0.034856535494327545, -0.0026295639108866453, 0.006307925097644329, 0.04058888182044029, 0.020183289423584938, 0.05170445144176483, -0.008138936944305897, -0.0002881277760025114, 0.000531450379639864, 0.01242140494287014, -0.0337442122399807, -0.023561915382742882, -0.02417650632560253, -0.03652466833591461, -0.011479413136839867, -0.021042468026280403, -0.008527780883014202, -0.03108862414956093, 0.009943985380232334, -0.005973564926534891, -0.026056813076138496, -0.043355200439691544, -0.0445069894194603, 0.002481604926288128, 0.028412653133273125, 0.002360820770263672, -0.0013924970990046859, 0.012830973602831364, -0.009849963709712029, -0.01910186931490898, 0.01712094061076641, -0.011295204982161522, 0.01590762846171856, -0.03359387442469597, -0.032002419233322144, 0.023520037531852722, -0.025902073830366135, -0.006883407477289438, 0.012196483090519905, -0.02190147154033184, 0.015202908776700497, 0.04685988277196884, 0.007793544791638851, -0.08745673298835754, -0.017404332756996155, 0.0035214873496443033, -0.034481316804885864, -0.01919323392212391, 0.8447344899177551, -0.013215268030762672, 0.05122474953532219, 0.01185589749366045, 0.02679155021905899, -0.012308424338698387, -0.009066304191946983, -0.0035331330727785826, 0.0193637665361166, -0.005932607222348452, -0.036022115498781204, -0.011590001173317432, 0.014583147130906582, -0.00022801701561547816, 0.019906342029571533, 0.030427029356360435, 0.006557141430675983, -0.032316289842128754, 0.02041907049715519, -0.00376993790268898, 0.0024136065039783716, 0.07313094288110733, 0.024425342679023743, 0.01250678300857544, 0.010572733357548714, 0.02346624806523323, -0.17170970141887665, 0.0072288671508431435, -7.76317113902575e-33, 0.05627414584159851, 0.014559569768607616, -0.0026504136621952057, 0.021070217713713646, 0.02981322817504406, 0.031407300382852554, 0.0334889180958271, 0.059633057564496994, -0.0021949049551039934, -0.0185343436896801, -0.008588254451751709, -0.01342110987752676, -0.009832551702857018, -0.00942669715732336, 0.010139914229512215, -0.021979019045829773, 0.005528596695512533, 0.03567064553499222, -0.03782873973250389, 0.023463157936930656, 0.04615292325615883, 0.029788628220558167, -0.0023282726760953665, 0.008312377147376537, 0.006497801747173071, 0.004832862410694361, -0.046882014721632004, -0.007640609052032232, 0.009536189027130604, -0.038390833884477615, -0.012933111749589443, 0.018191877752542496, -0.030411018058657646, -0.0336182527244091, -0.018726302310824394, -0.059163980185985565, -0.0459446907043457, 0.004600279498845339, -0.01587984897196293, -0.013233786448836327, -0.03777288645505905, 0.028403447940945625, -0.017213648185133934, -0.01525086723268032, -0.014013836160302162, 0.018581794574856758, 0.018102778121829033, 0.002933147130534053, 0.016034893691539764, 0.0197652168571949, -0.014273790642619133, 0.00785985216498375, 0.030766567215323448, 0.012190040200948715, 0.01792307198047638, -0.00007039883348625153, -0.012684538029134274, 0.014021188020706177, 0.009382374584674835, 0.014248307794332504, 0.03461490198969841, 0.0012276238994672894, -0.009557226672768593, 0.03413056954741478, -0.025337764993309975, 0.012517011724412441, 0.03004339709877968, -0.020456742495298386, 0.055450569838285446, -0.018671438097953796, -0.049923375248909, 0.046161241829395294, 0.025281092151999474, -0.023175464943051338, -0.003474943805485964, -0.031955890357494354, -0.0495712086558342, 0.022485947236418724, -0.030168306082487106, 0.022201979532837868, -0.01856343261897564, -0.003955051768571138, -0.047420915216207504, -0.039783772081136703, -0.0046834442764520645, -0.004147868603467941, 0.018682988360524178, -0.009324422106146812, -0.027069834992289543, 0.029091766104102135, 0.010243114084005356, 0.0056074922904372215, -0.014912055805325508, -0.02157490700483322, -0.011924121528863907, 8.033994017195666e-33, 0.017177758738398552, -0.03326815739274025, -0.017423249781131744, 0.01153724268078804, 0.07716481387615204, -0.0015130304964259267, 0.0021876287646591663, 0.003770597744733095, -0.0658140778541565, 0.022644061595201492, -0.0015421021962538362, -0.013607677072286606, -0.04347977414727211, -0.007832441478967667, 0.007940239273011684, -0.02830544486641884, 0.03626880422234535, -0.05990607663989067, 0.01273809839040041, 0.01280440017580986, 0.013997599482536316, 0.00990255642682314, -0.012156288139522076, 0.007885808125138283, 0.024759260937571526, 0.03382576256990433, -0.014898194000124931, 0.00548316678032279, -0.003226750995963812, 0.00584688363596797, 0.014656421728432178, 0.0094817029312253, -0.001146135851740837, -0.02572263777256012, -0.026955196633934975, 0.0032612804789096117, -0.019643032923340797, -0.006372163072228432, -0.017503894865512848, 0.022371450439095497, 0.020605014637112617, 0.03179258108139038, 0.020919524133205414, 0.034803833812475204, 0.024014059454202652, 0.05097773298621178, -0.0032489197328686714, -0.03177497908473015, -0.024793971329927444, 0.030648205429315567, 0.02104167267680168, -0.006506747100502253, -0.016029080376029015, -0.010283756069839, 0.021090790629386902, -0.005477761384099722, -0.02975640445947647, 0.013168430887162685, -0.0060553946532309055, 0.018495691940188408, 0.008541825227439404, 0.0116430027410388, 0.015245080925524235, 0.00904928706586361, -0.05059456452727318, 0.02189633622765541, 0.009590151719748974, 0.030876226723194122, 0.011745231226086617, 0.011842675507068634, -0.024157727137207985, 0.004739280324429274, 0.012203766033053398, 0.04699677973985672, 0.01017764676362276, -0.0026336393784731627, -0.051196955144405365, -0.011839071288704872, -0.01812737062573433, 0.017190726473927498, -0.006755913142114878, -0.00042985775507986546, 0.02925102412700653, -0.0022587880957871675, -0.014811758883297443, 0.03896680474281311, 0.009825944900512695, 0.024073921144008636, -0.009819033555686474, -0.012288703583180904, -0.006138239521533251, -0.039669524878263474, -0.012533304281532764, -0.003961624577641487, 0.0007866957457736135, -1.3487864158889806e-8, -0.01093237940222025, -0.0076096816919744015, -0.005124771501868963, 0.021642500534653664, 0.020921653136610985, -0.00264930771663785, -0.0007821095641702414, 0.008944284170866013, 0.004814899060875177, 0.004000930581241846, 0.02847892977297306, -0.03841205686330795, 0.014750072732567787, 0.02649325132369995, 0.026741517707705498, -0.04138575866818428, 0.032256755977869034, 0.015955982729792595, 0.02275419794023037, 0.011308728717267513, -0.0012995434226468205, 0.06481435149908066, -0.031421635299921036, -0.000009044899343280122, 0.015472056344151497, 0.01979488506913185, -0.022607894614338875, -0.07661633938550949, -0.022223949432373047, 0.04098854213953018, 0.0584358274936676, -0.026125144213438034, -0.0034051029942929745, 0.027190685272216797, 0.0028862154576927423, -0.059993963688611984, 0.032472506165504456, 0.010129991918802261, 0.013072789646685123, -0.025209257379174232, -0.0034306065645068884, -0.015128049999475479, -0.010711665265262127, -0.02110225148499012, 0.0019374246476218104, 0.019899222999811172, -0.04131780564785004, 0.0016590348677709699, -0.011878278106451035, -0.041102051734924316, 0.024000590667128563, -0.023642104119062424, 0.023673593997955322, 0.0332917645573616, 0.04008403420448303, -0.0011425797129049897, 0.013586548157036304, -0.008525070734322071, -0.053132474422454834, 0.008170778863132, 0.02030246891081333, -0.0021426198072731495, -0.005234334152191877, -0.016217822209000587 ]
tech-leads-the-progress-principle
https://markhneedham.com/blog/2012/02/18/tech-leads-the-progress-principle
false
2012-02-11 10:29:15
Java: Fooled by java.util.Arrays.asList
[ "java" ]
[ "Java" ]
I've been playing around with the http://code.google.com/p/boilerpipe/[boilerpipe] code base by writing some tests around it to check my understanding but ran into an interesting problem using +++<cite>+++java.util.Arrays.asList+++</cite>+++ to pass a list into one of the functions. I was testing the +++<cite>+++https://github.com/mneedham/boilerpipe/blob/master/src/main/de/l3s/boilerpipe/filters/heuristics/BlockProximityFusion.java[BlockProximityFusion]+++</cite>+++ class which is used to merge together adjacent text blocks. I started off calling that class like this: [source,java] ---- import static java.util.Arrays.asList; @Test public void willCallBlockProximityFustion() throws Exception { TextDocument document = new TextDocument(asList(contentBlock("some words"), contentBlock("followed by more words"))); BlockProximityFusion.MAX_DISTANCE_1.process(document); } private TextBlock contentBlock(String words) { TextBlock textBlock = new TextBlock(words, new BitSet(), wordCount(words), 0, 0, 0, 0); textBlock.setIsContent(true); return textBlock; } ---- Which blows up like this: [source,java] ---- java.lang.UnsupportedOperationException at java.util.AbstractList.remove(AbstractList.java:144) at java.util.AbstractList$Itr.remove(AbstractList.java:360) at de.l3s.boilerpipe.filters.heuristics.BlockProximityFusion.process(BlockProximityFusion.java:115) at de.l3s.boilerpipe.filters.heuristics.BlockProximityFusionTest.willCallBlockProximityFustion(BlockProximityFusionTest.java:63) ---- The code around that area is trying to remove an element from an iterator... [source,java] ---- if (ok) { prevBlock.mergeNext(block); it.remove(); changes = true; } else { ---- ...which was created from the list that we passed into the constructor of +++<cite>+++TextDocument+++</cite>+++: [source,java] ---- for (Iterator<TextBlock> it = textBlocks.listIterator(offset); it ---- The +++<cite>+++remove+++</cite>+++ method is not implemented on the list created by 'Arrays.asList' which is weird since I thought it created an +++<cite>+++ArrayList+++</cite>+++ which does implement +++<cite>+++remove+++</cite>+++! I've now learnt that the +++<cite>+++ArrayList+++</cite>+++ created by 'Arrays.asList' is actually a private inner class of +++<cite>+++Arrays+++</cite>+++ and doesn't implement the +++<cite>+++remove+++</cite>+++ method! Who knew...
null
null
[ 0.009357845410704613, 0.007618305739015341, -0.037604108452796936, 0.038209158927202225, 0.07685790210962296, 0.003827787237241864, 0.03656891733407974, -0.0034419659059494734, 0.010860986076295376, -0.025798602029681206, -0.010828740894794464, -0.014601623639464378, -0.0610889233648777, 0.006319303065538406, -0.010437583550810814, 0.07313264161348343, 0.07967443019151688, -0.0021906967740505934, 0.04593580588698387, -0.031552668660879135, 0.02925683557987213, 0.07270541042089462, 0.010211034677922726, 0.009422187693417072, 0.01995902508497238, 0.02068525366485119, -0.0005075866938568652, 0.006505381315946579, -0.06774352490901947, -0.006313026882708073, 0.047006454318761826, 0.026999277994036674, -0.0027620838955044746, -0.019249504432082176, 0.03655792772769928, -0.021427851170301437, -0.02885143645107746, 0.014493283815681934, 0.014280414208769798, 0.025555092841386795, -0.04945822432637215, 0.03819744661450386, -0.04057401791214943, -0.0017477598739787936, -0.05408801510930061, -0.007565534207969904, -0.01603538915514946, -0.0027904051821678877, -0.041899170726537704, -0.03222082927823067, -0.08017434924840927, 0.027546482160687447, -0.010598530061542988, -0.019219009205698967, 0.015449070371687412, 0.04579884186387062, 0.007887626066803932, -0.06128942593932152, 0.05703463777899742, -0.04246308282017708, -0.0035687661729753017, -0.01383574865758419, -0.0022301648277789354, 0.029163967818021774, 0.013641595840454102, -0.04613705351948738, -0.013525556772947311, 0.04257821664214134, -0.04782048985362053, -0.025767363607883453, 0.014151782728731632, 0.011099823750555515, -0.014128152281045914, -0.00727153941988945, -0.020144008100032806, -0.02843564562499523, -0.04040297493338585, 0.04033946618437767, 0.004582243040204048, 0.05569016933441162, 0.0038350496906787157, 0.003875312628224492, 0.030786776915192604, 0.010716425254940987, 0.021977417171001434, -0.04042135551571846, -0.04435614123940468, -0.009777098894119263, -0.01998482644557953, 0.04031853377819061, 0.0024139501620084047, -0.025082113221287727, -0.0070610567927360535, 0.01748441532254219, -0.005350862629711628, -0.011228353716433048, -0.005081462673842907, 0.0022524395026266575, 0.01036775577813387, 0.0011971381027251482, -0.0620187371969223, -0.04984430596232414, 0.03220396861433983, 0.022000471130013466, -0.07509403675794601, -0.006867950316518545, -0.0031043682247400284, -0.024217411875724792, 0.022348131984472275, -0.0055664158426225185, -0.015593810938298702, 0.008943372406065464, -0.024476490914821625, -0.010449221357703209, -0.06334508955478668, 0.07452276349067688, 0.021092934533953667, 0.002030685544013977, 0.012380692176520824, 0.029803741723299026, 0.025091582909226418, 0.03155387192964554, -0.010721464641392231, 0.09755853563547134, 0.010594873689115047, 0.05859915167093277, -0.006308346521109343, 0.03388681262731552, -0.025976069271564484, -0.059255387634038925, -0.009571419097483158, 0.05444525554776192, 0.014650681056082249, -0.007832671515643597, -0.014132894575595856, -0.016961829736828804, -0.026229253038764, 0.003062278963625431, 0.04396938160061836, 0.019229793921113014, -0.007408852223306894, -0.027656272053718567, -0.006373608019202948, -0.02775598131120205, 0.026180721819400787, -0.013395453803241253, -0.0020979102700948715, -0.018963592126965523, 0.025993144139647484, 0.04888944327831268, -0.0034608799032866955, 0.04534796625375748, 0.04562932997941971, -0.020424386486411095, 0.01776980236172676, 0.08665301650762558, 0.024395814165472984, 0.02815232053399086, -0.032021161168813705, 0.02035711705684662, 0.018699537962675095, 0.02828231081366539, 0.0017463546246290207, 0.0473719984292984, 0.008086071349680424, 0.004764408338814974, 0.0027092911768704653, 0.044984448701143265, -0.023599708452820778, 0.015882886946201324, -0.04517041891813278, -0.07991335541009903, 0.032607339322566986, -0.022955724969506264, -0.00512012979015708, -0.003001156961545348, 0.07758839428424835, 0.001567821716889739, 0.06700298935174942, 0.013815573416650295, -0.0633787214756012, 0.02699880860745907, -0.007454185280948877, 0.03111470863223076, 0.007467692252248526, 0.010751058347523212, 0.06941305845975876, 0.029477691277861595, 0.0022855328861624002, 0.01654183492064476, -0.08275968581438065, -0.07391107082366943, -0.041709206998348236, 0.002741496777161956, 0.07494792342185974, -0.04396560415625572, 0.005300614051520824, -0.005686416290700436, 0.03413962572813034, 0.02000785432755947, 0.05861922353506088, -0.0234164260327816, 0.0002824909461196512, -0.02039530873298645, -0.05075440555810928, 0.03218512982130051, 0.035691406577825546, -0.034118134528398514, -0.037022896111011505, 0.01839517243206501, -0.014778628014028072, 0.02716205082833767, 0.032972902059555054, -0.010785072110593319, 0.03508729487657547, 0.021097349002957344, 0.05704911798238754, -0.04023542255163193, 0.0835670754313469, -0.06965945661067963, 0.039221908897161484, -0.018471060320734978, -0.006472209934145212, 0.0041300104930996895, -0.008711992762982845, 0.11988756060600281, 0.04604300856590271, -0.029565198346972466, -0.057200100272893906, 0.020836876705288887, -0.002491192426532507, -0.061362918466329575, 0.020605353638529778, -0.02214435115456581, 0.0018308424623683095, 0.0014417469501495361, -0.019694196060299873, -0.0032738635782152414, 0.018410127609968185, -0.05202341824769974, -0.024816248565912247, 0.08019163459539413, -0.025630414485931396, 0.0603797510266304, 0.03125859051942825, -0.030877623707056046, 0.0010446292581036687, -0.02646644227206707, -0.02352052368223667, 0.012327463366091251, 0.03674129769206047, -0.0192982479929924, 0.03455716371536255, -0.06192149966955185, -0.03284437209367752, -0.028995832428336143, -0.03640521317720413, -0.0049678608775138855, 0.055612243711948395, 0.05229649692773819, -0.039405860006809235, 0.04025481268763542, -0.009503056295216084, 0.002794180065393448, -0.016954947263002396, -0.05113895237445831, -0.00139342388138175, -0.02764056622982025, -0.0037454161792993546, 0.04360112547874451, -0.026917466893792152, -0.006500059273093939, 0.025772564113140106, -0.001654904568567872, -0.028906922787427902, -0.01255838479846716, 0.019217366352677345, 0.008079346269369125, -0.02353755384683609, -0.04730822145938873, -0.007468938361853361, 0.045020073652267456, -0.021257251501083374, -0.05143846571445465, 0.004604576621204615, -0.05745161324739456, 0.08915209025144577, -0.04600648581981659, -0.05695344880223274, 0.013433692045509815, 0.028508896008133888, 0.017799386754631996, -0.034537605941295624, 0.010822116397321224, 0.08391410857439041, 0.01748640649020672, 0.01077684573829174, 0.006820798385888338, 0.018726248294115067, 0.03094020113348961, -0.010999098420143127, 0.002934425137937069, 0.0004245351883582771, 0.0045092483051121235, -0.012702376581728458, -0.05580414459109306, 0.013038483448326588, -0.0026070631574839354, -0.271206259727478, 0.04428809508681297, -0.016943510621786118, -0.0341995507478714, 0.01813668943941593, -0.008413249626755714, -0.0016930000856518745, -0.04124874621629715, -0.0005077880923636258, 0.019197087734937668, -0.027712391689419746, -0.022041235119104385, -0.006260223686695099, 0.045200951397418976, -0.030773350968956947, -0.016382990404963493, -0.012062376365065575, -0.0486297532916069, -0.010455782525241375, 0.03594941273331642, 0.013543284498155117, -0.06441392004489899, 0.011529856361448765, 0.04165889322757721, 0.04410654306411743, 0.034827325493097305, -0.07344616949558258, 0.07652968168258667, -0.02657186985015869, -0.02671661227941513, 0.018094096332788467, -0.01298990473151207, 0.004304930567741394, -0.029232347384095192, -0.027028564363718033, -0.006420115474611521, 0.012756616808474064, 0.042380448430776596, -0.022797351703047752, 0.042588479816913605, -0.03567824140191078, -0.061874594539403915, -0.013637256808578968, -0.02160169743001461, 0.05638971924781799, -0.015303187072277069, -0.029844731092453003, -0.018365370109677315, -0.03982282057404518, 0.060931943356990814, -0.03799600899219513, -0.025436347350478172, 0.00864926353096962, 0.04374955967068672, -0.02299574948847294, -0.0024279258213937283, -0.012085264548659325, -0.0307038314640522, -0.044927626848220825, -0.028419652953743935, -0.0365460067987442, -0.04654040187597275, 0.0002788557030726224, -0.037075065076351166, -0.018633347004652023, -0.07238463312387466, -0.04827941581606865, -0.004459028132259846, 0.071046382188797, 0.009546360932290554, -0.02483157068490982, 0.03404327109456062, 0.02014787308871746, -0.12717700004577637, -0.02344917692244053, -0.028906255960464478, -0.02441306971013546, -0.01798948645591736, -0.027621595188975334, 0.025896331295371056, -0.07016567140817642, -0.03737808018922806, 0.03986501693725586, 0.02217148058116436, 0.03495587781071663, -0.040471795946359634, 0.00002292289173055906, -0.007251616567373276, -0.014563895761966705, -0.03032870963215828, 0.09479806572198868, -0.009697262197732925, -0.025187790393829346, -0.023406101390719414, 0.009335901588201523, 0.0328608863055706, 0.01042882725596428, 0.022625412791967392, 0.027799157425761223, 0.03240985423326492, 0.033998481929302216, -0.05318290367722511, 0.015885092318058014, -0.035659223794937134, -0.0046955435536801815, -0.0068261041305959225, -0.07034861296415329, 0.02409873716533184, 0.03815655782818794, 0.0030270887073129416, -0.02319553680717945, 0.009720077738165855, 0.04217700660228729, -0.03767288848757744, -0.049674369394779205, -0.017448727041482925, -0.004913846962153912, 0.025705622509121895, 0.02029521018266678, -0.043454308062791824, -0.05107346922159195, 0.025249887257814407, 0.016902679577469826, -0.03552982956171036, -0.032437313348054886, -0.04390725865960121, -0.031302787363529205, -0.019703179597854614, 0.010850799269974232, 0.028444388881325722, -0.02505294419825077, 0.028583191335201263, -0.001768062124028802, 0.00491527933627367, 0.0014709039824083447, -0.05822101980447769, -0.005957611370831728, -0.012988155707716942, -0.015271363779902458, -0.009114313870668411, 0.01875011995434761, -0.0034167564008384943, -0.008857310749590397, 0.009990906342864037, 0.05629195645451546, -0.004747994709759951, 0.03347931429743767, 0.00937057938426733, -0.02685682289302349, 0.028612472116947174, 0.0009119504829868674, -0.032715607434511185, 0.0013969934079796076, -0.035142071545124054, -0.03889450430870056, -0.011396505869925022, 0.03281245008111, -0.020846519619226456, -0.014606758020818233, -0.04871194064617157, 0.016140969470143318, -0.036671992391347885, 0.018695833161473274, -0.021122803911566734, -0.003954108338803053, 0.03625267744064331, -0.026253873482346535, 0.05440462753176689, -0.03720251843333244, -0.025173192843794823, 0.026827484369277954, -0.0011908338638022542, -0.00860520452260971, 0.0412532314658165, 0.0007577018695883453, -0.013111031614243984, 0.01552251260727644, 0.020274752750992775, -0.009888102300465107, 0.024156169965863228, 0.008591926656663418, -0.02870691567659378, 0.036743056029081345, 0.02061053365468979, 0.04635905846953392, 0.016284814104437828, 0.009146985597908497, -0.013586021959781647, -0.02373998425900936, -0.04332277178764343, -0.04999720677733421, -0.018339889124035835, 0.012864822521805763, 0.022948170080780983, -0.034623682498931885, -0.09331074357032776, 0.007984703406691551, 0.026349987834692, 0.018409786745905876, 0.012415450997650623, -0.026855193078517914, 0.029212575405836105, -0.01712462678551674, 0.04814806580543518, 0.030880272388458252, -0.05877602472901344, 0.0364774651825428, -0.016675205901265144, 0.013899188488721848, 0.0032780941110104322, 0.013484155759215355, -0.03737548738718033, -0.02393064834177494, -0.0019089109264314175, -0.009192169643938541, -0.014515004120767117, -0.03637872636318207, -0.02369123324751854, 0.010902496054768562, -0.018579332157969475, 0.01838742196559906, -0.008694819174706936, 0.030906137079000473, -0.0315626785159111, -0.02610120363533497, 0.02081940323114395, -0.02933390997350216, -0.018710972741246223, 0.05434024706482887, -0.031474754214286804, 0.029922056943178177, -0.019337419420480728, 0.02956192009150982, 0.029144616797566414, 0.02217116951942444, -0.03451532870531082, -0.027424899861216545, -0.001538632670417428, -0.009300542064011097, 0.05286819115281105, 0.00814245454967022, -0.019400427117943764, -0.017993105575442314, -0.023403631523251534, -0.038976021111011505, 0.026343628764152527, 0.00331112090498209, -0.010029402561485767, -0.0068265777081251144, 0.06751468777656555, 0.03412647172808647, 0.07676853239536285, -0.019513845443725586, 0.004730654414743185, 0.08122633397579193, -0.038822028785943985, -0.03191296011209488, -0.007154623977839947, -0.05903271585702896, 0.016624748706817627, 0.033711619675159454, 0.03660505264997482, -0.037303030490875244, 0.04546048492193222, 0.0566256009042263, 0.013712793588638306, 0.030005602166056633, -0.004298947751522064, 0.023425282910466194, -0.0366397500038147, -0.009845199063420296, -0.09179672598838806, -0.03713737428188324, 0.0015377317322418094, 0.019923387095332146, -0.011713643558323383, -0.039221491664648056, -0.04206455871462822, -0.0031438819132745266, -0.062324848026037216, -0.027528323233127594, 0.05091952160000801, -0.015571224503219128, -0.0007495293393731117, 0.051205944269895554, -0.03729570284485817, 0.012937338091433048, 0.0076098814606666565, -0.06059057638049126, -0.019723346456885338, -0.03687163442373276, 0.04459041357040405, -0.017690224573016167, 0.00836215727031231, -0.012303286232054234, -0.00513664772734046, 0.05269252136349678, 0.02592906355857849, 0.03318745270371437, 0.057354897260665894, -0.023420197889208794, 0.031805504113435745, 0.028390582650899887, 0.02299443632364273, -0.03099273331463337, 0.023928362876176834, -0.002565844217315316, -0.06309714913368225, 0.043345674872398376, -0.004754628986120224, -0.04348842054605484, -0.042385283857584, 0.04814112186431885, 0.0143800163641572, -0.03349229693412781, -0.03284289687871933, 0.012447521090507507, -0.04775563254952431, 0.00004630060357158072, -0.04994390159845352, 0.007464297581464052, -0.045398350805044174, 0.07143678516149521, -0.027595384046435356, 0.006697964388877153, 0.07089312374591827, -0.028444599360227585, -0.022155649960041046, -0.0018125541973859072, 0.09618740528821945, 0.07369428128004074, 0.005554927513003349, 0.0036122172605246305, 0.042093802243471146, -0.006134386174380779, -0.04699409753084183, 0.013665924780070782, -0.026050250977277756, -0.006910896394401789, 0.017454730346798897, 0.0018472832161933184, 0.07687246054410934, -0.008349841460585594, 0.058715011924505234, -0.022661447525024414, 0.013716377317905426, -0.004952472634613514, 0.038019876927137375, 0.02771737053990364, 0.04408005252480507, -0.008249888196587563, 0.05268605798482895, -0.03853593394160271, -0.0447462797164917, 0.04447001963853836, 0.011103701777756214, -0.005743829067796469, 0.0006117095472291112, 0.01976432278752327, 0.004805732052773237, 0.04209686815738678, 0.02519448846578598, 0.06473013013601303, -0.013605966232717037, -0.0022738114930689335, -0.009177474305033684, 0.01597752422094345, 0.01689428649842739, 0.00031197990756481886, 0.015963276848196983, -0.019625166431069374, -0.01870962791144848, -0.029052436351776123, -0.02951665036380291, -0.030913956463336945, -0.004767236765474081, 0.050670575350522995, -0.023576706647872925, 0.0621618889272213, 0.012502782046794891, 0.04746745899319649, -0.05994928255677223, -0.05566626042127609, -0.05621309578418732, -0.06157509982585907, -0.06732010841369629, -0.010725380852818489, 0.015841428190469742, -0.0010336670093238354, -0.04587084427475929, -0.034894831478595734, -0.007820249535143375, -0.01921982318162918, 0.012047864496707916, -0.047834962606430054, -0.041449274867773056, 0.0003056602436117828, 0.030361831188201904, 0.0361999087035656, 0.04721516743302345, 0.04869689419865608, -0.021387705579400063, 0.0020366439130157232, -0.0017974245129153132, -0.021737180650234222, 0.055440567433834076, 0.02072848193347454, 0.004969276487827301, -0.08241826295852661, 0.01979163847863674, 0.006152956280857325, 0.02179568260908127, -0.06728040426969528, 0.026250289753079414, 0.04111206531524658, -0.042663004249334335, 0.05896852910518646, -0.004813889507204294, 0.009076345711946487, -0.02652362547814846, -0.027778372168540955, 0.017446648329496384, -0.009213226847350597, 0.04536397382616997, -0.0294440109282732, 0.08228831738233566, 0.03653707727789879, -0.014280562289059162, -0.03953578323125839, 0.011754419654607773, 0.014212002977728844, 0.008034160360693932, -0.04570294916629791, -0.02628936991095543, -0.05392778292298317, -0.057073924690485, 0.01483854465186596, 0.024306032806634903, -0.011623186990618706, -0.035115040838718414, 0.008151954971253872, 0.047071345150470734, -0.04952250048518181, 0.04980862885713577, -0.030058030039072037, 0.03769182786345482, -0.04270147159695625, -0.003418923122808337, 0.015518885105848312, 0.03119758516550064, 0.020615175366401672, 0.038661010563373566, 0.024276133626699448, -0.021327022463083267, 0.01717040129005909, 0.015048873610794544, 0.02223622053861618, 0.026659682393074036, -0.01911471039056778, 0.011138387024402618 ]
[ -0.0781446322798729, -0.027831850573420525, -0.016246672719717026, -0.0357540026307106, 0.03728099539875984, -0.06530901044607162, -0.0008285596850328147, 0.05263817310333252, -0.007346919272094965, -0.008844424039125443, -0.023262107744812965, -0.02316872589290142, 0.015452198684215546, -0.014171185903251171, 0.06673924624919891, 0.018103109672665596, -0.053559765219688416, -0.006354627665132284, -0.021436404436826706, -0.018304452300071716, 0.06457491964101791, -0.0053650252521038055, -0.030541736632585526, -0.03507525101304054, 0.0376376211643219, 0.04239752143621445, 0.013529231771826744, -0.04052364453673363, 0.03361234813928604, -0.20778051018714905, 0.011079325340688229, -0.02317926660180092, 0.01252363808453083, -0.009647325612604618, -0.026376597583293915, 0.05530435964465141, 0.022225571796298027, 0.043301839381456375, -0.0022391686215996742, 0.05976344272494316, 0.009195628575980663, 0.0275588259100914, -0.07403463125228882, -0.014513391070067883, 0.017713239416480064, -0.0028837136924266815, -0.02904183231294155, -0.031427811831235886, 0.011621902696788311, -0.013395008631050587, -0.07521793246269226, 0.0003565357474144548, 0.001558388932608068, -0.0005926928133703768, -0.00021466756879817694, 0.0036075743846595287, 0.05988622084259987, 0.08935210108757019, 0.0067578633315861225, 0.040727902203798294, 0.01083921454846859, -0.024316560477018356, -0.15978126227855682, 0.12414056807756424, 0.02353205718100071, 0.03052745945751667, -0.012596789747476578, -0.03544776141643524, 0.0063860854133963585, 0.0922943726181984, 0.024256903678178787, -0.005650918930768967, -0.01228159386664629, 0.08294592052698135, 0.004211351275444031, -0.0020444360561668873, -0.0004344283079262823, 0.012421095743775368, 0.02578241378068924, -0.016605418175458908, -0.059157393872737885, -0.07015158236026764, -0.012821157462894917, -0.01897779107093811, -0.03164317086338997, 0.01649715006351471, 0.0006423917366191745, 0.02903834357857704, 0.042454347014427185, 0.01268487237393856, 0.03262903913855553, -0.01453674491494894, 0.05701691657304764, 0.018041333183646202, -0.061509858816862106, 0.012265932746231556, -0.0012065720511600375, -0.006641755346208811, -0.01901841349899769, 0.3835080564022064, -0.03459225594997406, -0.017215287312865257, -0.002028975635766983, 0.007392280735075474, 0.016308719292283058, 0.003145397175103426, -0.022688964381814003, -0.07750904560089111, -0.016911929473280907, -0.04106749966740608, 0.025538422167301178, -0.010647944174706936, 0.06302311271429062, -0.04581670090556145, 0.00624722009524703, -0.00773319136351347, 0.05343840643763542, 0.00630576629191637, -0.05226731300354004, 0.02951601892709732, -0.031180957332253456, -0.004929216578602791, -0.002365821972489357, 0.046821825206279755, 0.018272915855050087, -0.020076453685760498, 0.006485787685960531, 0.06252452731132507, 0.013160535134375095, 0.009109655395150185, 0.03049648553133011, -0.029007408767938614, -0.053164128214120865, -0.04430212825536728, -0.0010393521515652537, 0.0418015755712986, 0.03990650922060013, -0.036324746906757355, 0.02320539951324463, 0.017546774819493294, 0.024600980803370476, -0.024852169677615166, -0.0011080108815804124, -0.01303735002875328, -0.040130071341991425, 0.11486328393220901, -0.029786089435219765, -0.01574060693383217, -0.025984792038798332, -0.04858031123876572, 0.004661701153963804, 0.04521525278687477, 0.0004331809759605676, -0.03538735583424568, 0.036500439047813416, 0.020205356180667877, 0.049746956676244736, 0.03319970518350601, -0.016436396166682243, 0.0015768475132063031, -0.01579682156443596, -0.0268511064350605, -0.051799990236759186, 0.06312922388315201, 0.06938814371824265, -0.04425125569105148, -0.01855475828051567, 0.0056856293231248856, -0.01744399033486843, -0.04423864558339119, -0.021796898916363716, 0.012420342303812504, -0.03989911824464798, 0.0032429134007543325, 0.02945374697446823, -0.01793169230222702, 0.008624772541224957, -0.006185601465404034, 0.05427328124642372, 0.04405767098069191, -0.0075026280246675014, 0.006211929954588413, -0.06796302646398544, -0.014908107928931713, 0.00852823443710804, -0.08180756121873856, -0.08647208660840988, -0.031662341207265854, -0.015440122224390507, -0.006493643391877413, -0.0878293588757515, 0.013200354762375355, -0.05153629183769226, 0.06884340941905975, -0.02566433511674404, 0.0020311642438173294, 0.03884228318929672, -0.03118175081908703, -0.01378657016903162, -0.015017706900835037, 0.053420208394527435, 0.05782288685441017, -0.00688632158562541, -0.01267656683921814, -0.06322741508483887, 0.0343816801905632, 0.0583803690969944, -0.026510674506425858, 0.037873659282922745, 0.013348071835935116, -0.049267999827861786, -0.028465228155255318, -0.02259768731892109, 0.04295043647289276, -0.011625691317021847, -0.05280046537518501, 0.0035102106630802155, 0.009121373295783997, 0.01852579414844513, 0.017439333721995354, -0.04644426330924034, -0.04024400934576988, -0.030505871400237083, -0.34729981422424316, -0.028461752459406853, 0.0070997243747115135, -0.012138701044023037, 0.011319108307361603, -0.042826827615499496, -0.019384639337658882, -0.04705827310681343, -0.0371832400560379, 0.028686031699180603, 0.07014736533164978, -0.004799836315214634, -0.007521262392401695, -0.0838124230504036, -0.0033903238363564014, -0.009556129574775696, -0.021589575335383415, -0.022893516346812248, -0.035765402019023895, 0.06396714597940445, 0.0026624968741089106, -0.03228001669049263, -0.031351834535598755, -0.0533505417406559, -0.020364010706543922, -0.045326460152864456, 0.10175678133964539, -0.0018704109825193882, 0.07869581878185272, -0.03391719609498978, 0.04113713279366493, 0.038909800350666046, 0.015464629046618938, -0.0889764204621315, -0.02066601812839508, -0.03255044296383858, -0.044018711894750595, 0.01475703064352274, 0.04142666980624199, -0.007860415615141392, -0.060917288064956665, 0.03463749960064888, -0.07159150391817093, -0.06799132376909256, 0.01263286080211401, -0.013188962824642658, -0.032129380851984024, -0.05528223514556885, 0.025166325271129608, 0.06234847009181976, 0.028682436794042587, 0.0243986789137125, 0.023675089702010155, 0.04612954333424568, 0.02234370820224285, -0.009865885600447655, -0.04236819967627525, -0.0020913579501211643, 0.02818381041288376, -0.05190344527363777, 0.04823140427470207, 0.08766596019268036, 0.05279183387756348, -0.035217300057411194, -0.012694574892520905, 0.013806244358420372, 0.002052856842055917, 0.04222985729575157, 0.02371523529291153, -0.025548523291945457, -0.021226344630122185, 0.087956003844738, 0.012422516942024231, 0.016964653506875038, -0.0024332592729479074, 0.04980126768350601, -0.0039551761001348495, 0.004435591399669647, 0.0037973341532051563, 0.018536606803536415, 0.004562505055218935, -0.007285141386091709, 0.056999459862709045, -0.0016931772697716951, -0.036035582423210144, 0.0704747810959816, -0.025137154385447502, -0.017893990501761436, 0.06417947262525558, 0.004927169997245073, -0.03622855991125107, 0.011758067645132542, -0.013603498227894306, -0.028659820556640625, 0.06407938152551651, -0.009090662002563477, -0.27755215764045715, 0.004358738195151091, 0.05842802673578262, 0.049053892493247986, -0.028328094631433487, 0.02752865105867386, 0.042794179171323776, -0.058421649038791656, 0.011379048228263855, 0.013874545693397522, -0.02160169929265976, 0.0420578271150589, -0.007010130677372217, -0.04403433948755264, 0.030942954123020172, -0.017314694821834564, 0.04857753962278366, 0.02821032516658306, 0.0161699578166008, 0.0198410265147686, 0.009591476991772652, -0.03116516023874283, 0.18926604092121124, 0.00603132601827383, 0.02723422273993492, 0.023225771263241768, -0.019039848819375038, 0.0025316989049315453, 0.0914868414402008, 0.022907249629497528, 0.025920772925019264, 0.00934387557208538, 0.12053433805704117, -0.019226213917136192, 0.03649957478046417, -0.06021985039114952, 0.004582221154123545, 0.033493444323539734, 0.0203016959130764, -0.04537539929151535, -0.042459744960069656, 0.03246163949370384, -0.0449574775993824, 0.009174659848213196, 0.06454533338546753, 0.012203548103570938, -0.021609973162412643, -0.02717101387679577, -0.03907923027873039, 0.019383685663342476, -0.01658470742404461, -0.009457164444029331, -0.018931888043880463, 0.010923436842858791, 0.02759820781648159, 0.07182081788778305, 0.01633119210600853, -0.03599497675895691, -0.05372793599963188, -0.008876473642885685, 0.003637799760326743, -0.013279588893055916, 0.09204647690057755, 0.03157362714409828, 0.03784540668129921 ]
[ -0.04751959070563316, 0.00943401362746954, -0.0017284012865275145, 0.01573522761464119, 0.010660301893949509, 0.017489375546574593, 0.008209450170397758, 0.06852627545595169, -0.02495725452899933, -0.03474677354097366, -0.0330934040248394, 0.014007439836859703, 0.019953420385718346, -0.026220347732305527, 0.007806296460330486, 0.005639974493533373, -0.02433525025844574, -0.002864876063540578, 0.01586044393479824, -0.06988805532455444, -0.0066925641149282455, 0.014341847971081734, 0.005785152781754732, 0.000867660972289741, 0.04035409539937973, 0.06779957562685013, -0.06351922452449799, -0.02281068079173565, 0.02558131143450737, -0.10657723993062973, -0.021061193197965622, -0.04066719114780426, -0.007560522761195898, 0.01438688300549984, -0.009782923385500908, -0.010235191322863102, 0.02354220487177372, 0.03544749692082405, -0.01583998277783394, 0.012674014084041119, 0.0174088254570961, -0.02115335874259472, -0.04282928258180618, -0.011589880101382732, -0.011751341633498669, 0.008230294100940228, -0.05026600509881973, -0.06652127206325531, -0.006511134561151266, 0.0015240218490362167, -0.06149197369813919, -0.0385776087641716, 0.016073567792773247, 0.02545161359012127, 0.02040846459567547, -0.03130665421485901, -0.0006436484982259572, 0.0022085101809352636, 0.012715543620288372, 0.02225562185049057, -0.0029690959490835667, -0.011972957290709019, -0.03800465539097786, 0.010115939192473888, 0.012984979897737503, -0.0026001688092947006, -0.005162936169654131, 0.02420983836054802, 0.011684563010931015, 0.0016927077667787671, -0.005427726078778505, 0.02738356404006481, -0.03627525269985199, -0.00886142160743475, 0.014409397728741169, 0.03732037916779518, -0.002916841534897685, 0.05080617591738701, -0.017372475937008858, -0.017238231375813484, -0.03559119999408722, 0.010173562914133072, -0.0184364914894104, 0.028974758461117744, -0.05416151136159897, 0.013798199594020844, -0.003689106088131666, 0.0120851406827569, 0.05342215299606323, 0.012270030565559864, -0.07148174196481705, 0.0033769747242331505, 0.02683817222714424, 0.01956735923886299, -0.06335502117872238, -0.01228521391749382, 0.030607737600803375, 0.0038275353144854307, -0.009640084579586983, 0.820404589176178, -0.008838730864226818, 0.07265923172235489, -0.00008944721048464999, -0.009011692367494106, -0.011281803250312805, -0.0012929318472743034, -0.008043687790632248, -0.002234827261418104, 0.02915412001311779, -0.09518181532621384, 0.04476660117506981, 0.012258109636604786, 0.05102161690592766, -0.014126393012702465, 0.011805076152086258, -0.029554083943367004, 0.04220900312066078, -0.03920683637261391, -0.006772346328943968, 0.04904661700129509, 0.011299856938421726, -0.03376607224345207, 0.019206998869776726, -0.005060735624283552, -0.008456515148282051, -0.15014559030532837, -0.02290688082575798, -6.5385815319574e-33, 0.03435545042157173, -0.008580870926380157, 0.006256828550249338, 0.023701032623648643, 0.03045560233294964, 0.010953814722597599, -0.003587258979678154, 0.01274826843291521, -0.02880765311419964, -0.0021589354146271944, 0.035015858709812164, -0.02372361160814762, -0.007745341397821903, -0.0044178138487041, 0.006297240033745766, -0.02284276857972145, 0.02467712201178074, 0.055919915437698364, -0.016640378162264824, -0.0003290741879027337, 0.02010563760995865, 0.025090204551815987, 0.01891220174729824, -0.0206069964915514, -0.02846754901111126, 0.03630179166793823, 0.03411497175693512, 0.005906709004193544, -0.04317710921168327, -0.039498232305049896, -0.008778009563684464, 0.012687082402408123, 0.010981742292642593, 0.005075134336948395, -0.005518904887139797, -0.028052452951669693, -0.03372440114617348, -0.021133286878466606, -0.008662790060043335, -0.018256165087223053, -0.03465323522686958, 0.027619728818535805, -0.029628384858369827, 0.0291142500936985, -0.013569753617048264, -0.035218462347984314, -0.04755222052335739, -0.0013024164363741875, 0.01654702238738537, 0.028518497943878174, 0.00487572280690074, 0.05987241119146347, 0.006886876653879881, -0.0007755809929221869, -0.005094617139548063, -0.003621001960709691, 0.005057140253484249, 0.039430465549230576, -0.004804110154509544, 0.015271463431417942, -0.007867364212870598, 0.03843599185347557, -0.018880359828472137, 0.04937487468123436, 0.026964496821165085, -0.002191663719713688, -0.03034350834786892, 0.009839479811489582, 0.035009339451789856, -0.000660004501696676, -0.050810493528842926, 0.019045719876885414, -0.008255037479102612, 0.00952207949012518, 0.015150940045714378, -0.060212571173906326, 0.0060091824270784855, -0.03876340761780739, -0.02450953982770443, 0.00022126594558358192, -0.0019187384750694036, -0.050647176802158356, 0.008320589549839497, -0.0001166197907878086, -0.034549959003925323, 0.00526220491155982, 0.009919421747326851, -0.006202213000506163, -0.04740408435463905, 0.03595414757728577, 0.00741511071100831, 0.040031589567661285, 0.03402520716190338, 0.005605581682175398, -0.005646672565490007, 7.208087278204111e-33, 0.021773479878902435, 0.013676122762262821, -0.02814311347901821, 0.0016454389551654458, 0.015823040157556534, -0.02452799305319786, 0.04070371016860008, 0.017994234338402748, -0.023262115195393562, 0.03952286019921303, -0.03568287938833237, 0.05563013255596161, -0.009990345686674118, 0.04149378463625908, 0.0600215382874012, 0.011980189941823483, 0.03761540353298187, -0.04399599879980087, 0.011247582733631134, -0.01344881858676672, 0.006112664472311735, 0.0008829373400658369, -0.007177466526627541, 0.01187031902372837, -0.016512343659996986, 0.0733400210738182, -0.04898715391755104, 0.001649930258281529, 0.010439095087349415, -0.023971494287252426, 0.03172554820775986, 0.0219532772898674, 0.0040131802670657635, -0.03944358229637146, 0.012580223381519318, 0.003761483123525977, 0.0019280100241303444, 0.03402780741453171, 0.04710293933749199, -0.008103395812213421, 0.043768372386693954, -0.044183824211359024, -0.014084408059716225, -0.001433644792996347, 0.009223727509379387, 0.013836098834872246, 0.008086453191936016, -0.014964792877435684, 0.004571318626403809, 0.03871774673461914, 0.0055057452991604805, 0.010636531747877598, -0.02292059361934662, 0.03745958209037781, 0.03547191619873047, -0.022557927295565605, 0.000015832385543035343, 0.0130502600222826, -0.04845164343714714, 0.0035805371589958668, 0.030996501445770264, 0.006007147021591663, 0.041167695075273514, 0.002039361046627164, -0.018758097663521767, -0.034886810928583145, -0.021700186654925346, -0.017283912748098373, -0.004940441809594631, -0.01384785771369934, -0.0010680851992219687, -0.01016222219914198, -0.007717459462583065, 0.0497719869017601, 0.02130524255335331, -0.024046260863542557, 0.003722436260432005, 0.040466390550136566, 0.01289073470979929, 0.029018918052315712, -0.005648455116897821, 0.042321864515542984, -0.015186548233032227, -0.012355543673038483, 0.04007789492607117, -0.02922883629798889, -0.008309202268719673, 0.01253143884241581, 0.02571849524974823, -0.02243778109550476, -0.016418425366282463, -0.010737653821706772, -0.026909779757261276, -0.03742358833551407, 0.026580512523651123, -1.2319247844061465e-8, -0.00990594644099474, -0.025187745690345764, -0.030220013111829758, 0.051211997866630554, -0.011995058506727219, -0.003853368107229471, -0.04400790110230446, -0.0018136491999030113, -0.03425588458776474, 0.009194700047373772, 0.05484479293227196, -0.0010619593085721135, 0.03421492874622345, 0.021356236189603806, 0.023478370159864426, -0.06506729125976562, -0.0030839131213724613, 0.002398775890469551, 0.010387230664491653, 0.02178242616355419, -0.02955567091703415, -0.011637347750365734, -0.01116352528333664, 0.0009188968106172979, -0.03146481141448021, -0.06294821202754974, 0.05053484067320824, -0.05283904820680618, -0.008168150670826435, -0.014411022886633873, -0.017076630145311356, -0.022214176133275032, -0.03411286324262619, 0.0037454506382346153, 0.01103964913636446, 0.0289872158318758, 0.005308658350259066, 0.009252582676708698, 0.008112050592899323, -0.0103312311694026, -0.04097415506839752, 0.0006064720219001174, -0.0007944211829453707, -0.009613548405468464, -0.010637789964675903, -0.032677192240953445, -0.019934287294745445, 0.020710209384560585, 0.017439115792512894, 0.010859335772693157, -0.001498185796663165, -0.012290259823203087, 0.04842022433876991, 0.009764978662133217, 0.020496459677815437, -0.004676481243222952, 0.04092772305011749, -0.040233999490737915, -0.019223781302571297, -0.01080241147428751, 0.04729713499546051, 0.017119789496064186, -0.02071036770939827, -0.05163644626736641 ]
java-fooled-by-java-util-arrays-aslist
https://markhneedham.com/blog/2012/02/11/java-fooled-by-java-util-arrays-aslist
false
2012-02-11 10:55:58
Oracle Spatial: java.sql.SQLRecoverableException: No more data to read from socket
[ "oracle" ]
[ "Software Development" ]
We're using Oracle Spatial on my current project so that we can locate points within geographical regions and decided earlier in the week to rename the table where we store the http://docs.oracle.com/cd/B19306_01/appdev.102/b14255/sdo_objrelschema.htm#i1004087[SDO_GEOMETRY] objects for each region. We did that by using a normal table alter statement but then started seeing the following error when we tried to insert test data in that column which takes an SDO_GEOMETRY object: [source,text] ---- org.hibernate.exception.JDBCConnectionException: could not execute native bulk manipulation query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:219) at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310) at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396) at $Proxy53.insertTariffZone(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:71) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: java.sql.SQLRecoverableException: No more data to read from socket at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1157) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:290) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3665) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1352) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105) at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210) ... 39 more ---- We couldn't see anything particularly wrong in what we'd done and none of the error messages we got were being particularly helpful. Eventually we asked the DBA on our team to help out and he showed us how to look up the Oracle system logs which in our case were located at: [source,text] ---- /u01/app/oracle/diag/rdbms/orcl/orcl/trace ---- We ran the query again and noticed new files were being written to that location, one of which had the following error message: [source,text] ---- Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x40] [PC:0x2FDAE7D, mdidxid()+2563] [flags: 0x0, count: 1] DDE: Problem Key 'ORA 7445 [mdidxid()+2563]' was flood controlled (0x2) (incident: 3851) ORA-07445: exception encountered: core dump [mdidxid()+2563] [SIGSEGV] [ADDR:0x40] [PC:0x2FDAE7D] [Address not mapped to object] [] ORA-13203: failed to read USER_SDO_GEOM_METADATA view ssexhd: crashing the process... Shadow_Core_Dump = PARTIAL ---- We'd forgotten to rename the table in the USER_SDO_GEOM_METADATA view, exactly as the message says! Running the following statement sorted us out: [source,text] ---- UPDATE user_sdo_geom_metadata SET table_name = 'NEW_NAME' where table_name = 'OLD_NAME'; ----
null
null
[ -0.002957346383482218, 0.009992525912821293, -0.04408510401844978, 0.04491996020078659, 0.09271024167537689, 0.004828888922929764, 0.020832747220993042, 0.018618833273649216, 0.0049209874123334885, -0.04168766736984253, -0.01282872911542654, -0.0234560314565897, -0.06556908786296844, 0.014623553492128849, -0.011314903385937214, 0.06588660925626755, 0.06118032708764076, -0.016187826171517372, 0.025992050766944885, 0.014548751525580883, 0.02548956498503685, 0.03589615970849991, -0.016238555312156677, 0.022553790360689163, 0.027217227965593338, 0.05282049626111984, 0.0031592389568686485, 0.0063011120073497295, -0.05807199701666832, -0.02523612603545189, 0.015022764913737774, -0.0005129500641487539, 0.012192890048027039, -0.009724623523652554, 0.025309111922979355, -0.003407791955396533, -0.028071658685803413, 0.0033118438441306353, -0.015067106112837791, 0.018473690375685692, -0.06735698878765106, 0.012653314508497715, 0.00020601431606337428, 0.014435865916311741, 0.016535863280296326, -0.005618722643703222, -0.05094139277935028, 0.012016462162137032, -0.0009247526759281754, -0.0120705496519804, -0.06169884651899338, 0.05395888537168503, -0.06060691922903061, -0.007788054179400206, 0.011988994665443897, 0.04889466241002083, 0.00700018834322691, -0.08756984770298004, 0.035650912672281265, -0.041961751878261566, 0.018093451857566833, -0.012310267426073551, -0.030368566513061523, 0.02178901992738247, 0.041418980807065964, 0.009205378592014313, 0.0121543537825346, 0.04453161358833313, -0.04612315818667412, 0.00467084301635623, -0.027618134394288063, -0.016496041789650917, 0.008778717368841171, 0.009007682092487812, 0.016209011897444725, -0.03143385425209999, -0.01303496491163969, 0.05338292941451073, 0.02082567848265171, 0.051256198436021805, -0.0029405965469777584, -0.040400199592113495, 0.01549734640866518, 0.0029814892914146185, 0.04500005394220352, -0.04484611377120018, -0.04827132076025009, -0.035429906100034714, -0.015053226612508297, 0.05299793928861618, 0.0023707286454737186, -0.02208404801785946, 0.0009722792892716825, 0.029849687591195107, -0.03713732585310936, -0.004757183603942394, 0.008416137658059597, -0.003319649025797844, -0.004402610473334789, -0.019904252141714096, -0.04157291352748871, 0.00035095243947580457, 0.05069319158792496, 0.04214445501565933, -0.06911033391952515, -0.015297366306185722, -0.03891044855117798, -0.030985994264483452, 0.010183201171457767, -0.012665541842579842, -0.03167217597365379, 0.03453861176967621, -0.001896631089039147, -0.016764147207140923, -0.06839810311794281, 0.06110415607690811, 0.03654809668660164, 0.002928381785750389, 0.024841424077749252, 0.009422531351447105, 0.06738503277301788, 0.03315896540880203, -0.01826423592865467, 0.08268686383962631, -0.011700017377734184, 0.049628689885139465, -0.04237833991646767, 0.02433394454419613, -0.009815279394388199, -0.09621389955282211, -0.010647301562130451, 0.03568157181143761, 0.036593616008758545, 0.009272007271647453, 0.013397791422903538, -0.017365366220474243, -0.003958945162594318, -0.02223975583910942, 0.07730769366025925, 0.007393079809844494, -0.01725664734840393, -0.029747003689408302, 0.0030467468313872814, 0.01748751848936081, 0.04008924216032028, 0.042086951434612274, 0.029960433021187782, -0.05764993280172348, -0.03929493948817253, 0.02411695383489132, 0.029481761157512665, 0.06708452105522156, 0.06544951349496841, -0.039068013429641724, 0.0007745382026769221, 0.1311677098274231, -0.018058985471725464, 0.01589125767350197, -0.011160571128129959, 0.02106591686606407, 0.03679981455206871, 0.0067504774779081345, 0.004972824826836586, 0.0321531817317009, 0.031616128981113434, -0.0013222780544310808, 0.028071150183677673, 0.037191279232501984, -0.002303382847458124, 0.003958247136324644, -0.07704029232263565, -0.10366745293140411, 0.031798429787158966, -0.06876613944768906, -0.025924785062670708, 0.02174152433872223, 0.05935690179467201, 0.024935118854045868, 0.03587058186531067, 0.012022239156067371, -0.06966636329889297, -0.007291604299098253, -0.021226773038506508, 0.006322348956018686, 0.012249267660081387, 0.00768902525305748, 0.062094077467918396, 0.02380284294486046, -0.00923920702189207, 0.045413121581077576, -0.07283519953489304, -0.09629581868648529, -0.00461813248693943, 0.0032169802580028772, 0.04707783833146095, -0.014366556890308857, -0.002128763124346733, 0.07243112474679947, 0.0158926360309124, 0.007494169753044844, 0.0018624818185344338, 0.03225364163517952, 0.02046598307788372, -0.047020841389894485, -0.029812559485435486, 0.001579965464770794, 0.019482143223285675, 0.009841830469667912, -0.02489129826426506, 0.02278502844274044, -0.017003966495394707, -0.021657736971974373, 0.015268039889633656, 0.015221343375742435, 0.07905501872301102, 0.009576450102031231, 0.02878745272755623, -0.011777720414102077, 0.06628374755382538, -0.04445847123861313, 0.017028700560331345, 0.03492714464664459, -0.04651273041963577, -0.024503741413354874, 0.011351590044796467, 0.11929496377706528, 0.03569294139742851, -0.0027287856210023165, -0.05950959026813507, 0.04695536196231842, 0.028831040486693382, -0.05272599682211876, 0.01973988488316536, -0.05420602113008499, 0.03253071755170822, 0.011172590777277946, 0.005234943702816963, -0.05206640064716339, 0.011035739444196224, -0.01615753024816513, -0.013990289531648159, 0.05078887566924095, -0.00850889552384615, 0.06087254732847214, 0.03426738083362579, -0.013118911534547806, -0.002231585793197155, -0.03056236542761326, -0.030827274546027184, -0.02184537798166275, 0.019662970677018166, -0.022656992077827454, 0.023564135655760765, -0.011597256176173687, -0.025507910177111626, -0.02290804497897625, -0.031153850257396698, 0.0009142648195847869, 0.02980707585811615, 0.03497400879859924, -0.03259268403053284, 0.07018835097551346, -0.010907736606895924, -0.01937401108443737, -0.040660057216882706, -0.044836122542619705, -0.00014191371155902743, 0.0015517427818849683, -0.016597436740994453, 0.021231848746538162, 0.021864645183086395, -0.007768020499497652, 0.012061676010489464, -0.01458557415753603, -0.022707952186465263, -0.0024513229727745056, 0.00954381562769413, 0.0043065957725048065, -0.023783277720212936, -0.02320588193833828, -0.015107319690287113, 0.01214034203439951, -0.054461218416690826, -0.02517644129693508, 0.015283185057342052, -0.04967932403087616, 0.022891128435730934, -0.07443705946207047, -0.0688985139131546, 0.03145262971520424, 0.043111223727464676, 0.041152894496917725, -0.003927131183445454, -0.021142631769180298, 0.0836610272526741, -0.003099474823102355, -0.001590489293448627, -0.005354160908609629, 0.00036244213697500527, 0.02094479463994503, -0.014457556419074535, 0.009156844578683376, -0.002308556344360113, -0.025345411151647568, -0.00907332543283701, -0.04035979509353638, 0.009400852024555206, -0.010655835270881653, -0.2523914575576782, 0.019821075722575188, -0.040101923048496246, -0.027402181178331375, 0.028332484886050224, -0.013176046311855316, 0.012375100515782833, -0.04184189811348915, -0.03399631381034851, 0.03280448541045189, -0.012458587996661663, -0.04087664932012558, 0.0006374635268002748, 0.04097755625844002, 0.0027362769469618797, 0.04853285476565361, -0.0007466445676982403, -0.03632982075214386, -0.0008639423176646233, 0.038679301738739014, 0.007208365015685558, -0.056740015745162964, 0.02530570700764656, 0.0353088304400444, 0.0293032918125391, 0.08008146286010742, -0.06462129205465317, 0.03571343049407005, -0.0022369155194610357, -0.030455289408564568, 0.022090500220656395, -0.03126576170325279, 0.008282755501568317, -0.003241398371756077, -0.046923380345106125, -0.0088806776329875, 0.001038521877489984, 0.02878824807703495, 0.0022676477674394846, 0.0037159358616918325, -0.04105304181575775, -0.06875548511743546, -0.013804272748529911, 0.036174625158309937, 0.0714663714170456, -0.010318324901163578, -0.06530971080064774, 0.013391532935202122, -0.01580032892525196, 0.038313478231430054, -0.010546954348683357, -0.015186941251158714, -0.006655749399214983, 0.03073539398610592, -0.031152239069342613, 0.0032796203158795834, -0.004267606884241104, -0.009971179068088531, -0.07399634271860123, -0.014164455235004425, 0.021872514858841896, -0.07307145744562149, -0.012642611749470234, -0.04535086452960968, -0.016685251146554947, -0.06988536566495895, -0.05558400601148605, 0.01618690975010395, 0.05543132126331329, 0.0444231815636158, -0.022408798336982727, 0.027922816574573517, 0.00426328182220459, -0.11242157965898514, -0.02761097438633442, -0.04867018759250641, -0.02044731006026268, -0.043617695569992065, -0.0457584522664547, 0.03864690288901329, -0.020296303555369377, 0.0042734211310744286, 0.01437648106366396, 0.03661195933818817, 0.00791812315583229, -0.027680564671754837, 0.029652893543243408, -0.0035011230502277613, -0.025697415694594383, 0.0067803142592310905, 0.05856253206729889, -0.04122201353311539, -0.008477599360048771, -0.0206434428691864, -0.0094771021977067, 0.03679480776190758, 0.01143734436482191, -0.01558853592723608, 0.02093016542494297, -0.0015676097245886922, 0.005111895967274904, -0.041201405227184296, 0.017404830083251, -0.036668501794338226, -0.004760955926030874, -0.00981774553656578, -0.05585088953375816, 0.024084100499749184, 0.007229076698422432, 0.0208257045596838, -0.0006488139042630792, -0.0015718837967142463, 0.042854905128479004, -0.06011521443724632, -0.042191095650196075, -0.03167198970913887, 0.0002677626034710556, 0.04088957980275154, 0.020430225878953934, -0.0511743500828743, -0.07374633848667145, 0.017456425353884697, 0.017934998497366905, -0.033334434032440186, -0.016249878332018852, -0.026234637945890427, -0.031289324164390564, 0.012110108509659767, -0.014345711097121239, 0.00947015080600977, -0.007524282671511173, 0.020281296223402023, 0.03901851922273636, 0.01568358577787876, 0.016291948035359383, -0.004407697357237339, -0.03624342381954193, -0.023201508447527885, -0.01022451650351286, 0.024362467229366302, 0.0011038652155548334, -0.012682313099503517, -0.005472659133374691, 0.021611301228404045, 0.03396345302462578, -0.011085412465035915, 0.01615321636199951, 0.019143512472510338, 0.019830571487545967, 0.0403735414147377, -0.010016890242695808, -0.05506477132439613, 0.024392077699303627, -0.0394977405667305, -0.024943450465798378, -0.02058160863816738, 0.036010660231113434, -0.04715956002473831, 0.01704694889485836, -0.033654555678367615, 0.0007178623345680535, -0.03339279815554619, -0.029150910675525665, -0.005246116779744625, -0.0394228994846344, 0.04560484364628792, -0.014318450354039669, 0.02835359238088131, -0.0018480095313861966, -0.022934550419449806, 0.0110300462692976, -0.05208541080355644, -0.028069863095879555, 0.03912709653377533, -0.0008617684943601489, 0.012642168439924717, 0.02549949288368225, 0.013883665204048157, 0.041263919323682785, 0.00030609179520979524, -0.0009130407124757767, -0.019389068707823753, 0.012680846266448498, -0.003771443385630846, 0.04884159192442894, -0.003002805868163705, -0.03255979344248772, -0.02096121944487095, 0.008518440648913383, -0.048306889832019806, -0.028066232800483704, 0.01642935909330845, -0.020992375910282135, 0.04136006534099579, -0.019909989088773727, -0.05793497711420059, 0.03183163329958916, 0.024034112691879272, -0.02070695348083973, 0.01715533621609211, 0.012070356868207455, -0.01104323286563158, -0.03210810199379921, 0.023971013724803925, 0.05598858371376991, -0.06053640693426132, 0.024031996726989746, 0.0018043385352939367, -0.03845280408859253, 0.0024997650180011988, -0.014633452519774437, -0.03001111000776291, 0.002848805394023657, -0.013126601465046406, 0.001938189147040248, 0.003095536259934306, -0.002842805813997984, -0.02973569743335247, 0.013748221099376678, 0.00911717303097248, -0.0014596735127270222, 0.0178811177611351, -0.010056714527308941, -0.018320780247449875, -0.0022585163824260235, 0.024572933092713356, -0.030103415250778198, 0.0014830946456640959, 0.05053763836622238, -0.004933814983814955, 0.019864659756422043, -0.02792336232960224, 0.006828904151916504, 0.013787810690701008, 0.003889842890202999, -0.018634459003806114, -0.02640107460319996, 0.007291243877261877, 0.049586787819862366, 0.05436601862311363, 0.025914359837770462, 0.0000215954478335334, 0.009527457877993584, 0.010242688469588757, -0.03434257581830025, 0.020939962938427925, -0.01714945025742054, -0.013032795861363411, 0.0217015128582716, 0.04332033172249794, 0.034435562789440155, 0.021562425419688225, -0.016242027282714844, -0.014241890981793404, 0.06922955811023712, -0.06822598725557327, -0.0018963066395372152, -0.019901860505342484, -0.08860306441783905, 0.020192060619592667, 0.006902799475938082, 0.02388714626431465, -0.029293714091181755, 0.04682520031929016, 0.034052398055791855, -0.0013780901208519936, 0.054976217448711395, -0.006042759865522385, 0.039247628301382065, -0.035965800285339355, -0.028083838522434235, -0.07913699001073837, -0.0036088423803448677, 0.005684415344148874, 0.001953577157109976, -0.04182541370391846, -0.01318785548210144, -0.04145234078168869, 0.015731513500213623, -0.0808551236987114, -0.03312567621469498, 0.013898579403758049, 0.0010426088701933622, -0.010939419269561768, 0.0240032896399498, -0.02920737862586975, 0.015362105332314968, 0.013475117273628712, -0.029839854687452316, -0.046305835247039795, -0.00884018000215292, 0.036517348140478134, 0.010511009022593498, -0.0057290466502308846, -0.05968179181218147, 0.024471227079629898, 0.08572225272655487, 0.02516002766788006, 0.00974105205386877, 0.05716351047158241, -0.027760012075304985, 0.0660637766122818, 0.006098790094256401, 0.007980906404554844, -0.0012618997134268284, -0.002498398767784238, 0.01147743035107851, -0.06364607065916061, 0.022311732172966003, 0.04748076573014259, 0.010205377824604511, -0.03668889403343201, 0.059667862951755524, 0.019201207906007767, -0.026162156835198402, -0.049904122948646545, -0.0013280768180266023, -0.04586871713399887, -0.014390604570508003, -0.04202677309513092, -0.017916027456521988, -0.028021126985549927, 0.08861953020095825, -0.02767963893711567, 0.02547163888812065, 0.06531733274459839, 0.009626897051930428, -0.011093012988567352, -0.003837919095531106, 0.07629099488258362, 0.07108020037412643, -0.004209420178085566, 0.01616647094488144, 0.04262126609683037, -0.026801621541380882, -0.035940270870923996, 0.015067299827933311, -0.05014630779623985, -0.025077471509575844, -0.042804162949323654, 0.009507195092737675, 0.08751633018255234, -0.0241593848913908, 0.058205392211675644, -0.03634927049279213, -0.002248957520350814, 0.008068321272730827, 0.0154697485268116, 0.021631713956594467, 0.016274267807602882, 0.005937496665865183, 0.036726806312799454, -0.019203176721930504, -0.03430533409118652, 0.010833068750798702, 0.008224780671298504, -0.029362397268414497, 0.02842474728822708, 0.005301979370415211, 0.03533371537923813, 0.03626035526394844, 0.0032421911600977182, 0.07834609597921371, -0.0073744310066103935, 0.0037468618247658014, -0.010601972229778767, 0.0357847660779953, 0.004440343007445335, 0.02125808410346508, -0.022806793451309204, -0.04106956347823143, 0.012104053050279617, -0.0462399497628212, -0.042242858558893204, 0.018453937023878098, -0.037560876458883286, 0.016117382794618607, -0.03178180381655693, 0.05187084153294563, 0.033125877380371094, 0.0176254715770483, -0.08487451076507568, -0.06302906572818756, -0.08063799142837524, -0.00619406346231699, -0.0455411858856678, 0.018601011484861374, 0.018677012994885445, -0.020039027556777, -0.046776194125413895, -0.010834092274308205, -0.02853054739534855, 0.02354603074491024, 0.014980526641011238, -0.019550858065485954, -0.04724038392305374, 0.021391067653894424, 0.0130561962723732, 0.0179732758551836, 0.028819940984249115, 0.07918127626180649, -0.02632579579949379, 0.046216122806072235, -0.02625504694879055, -0.01853940822184086, 0.05294487252831459, -0.003920380491763353, 0.038766007870435715, -0.09245580434799194, 0.01752522587776184, 0.006883761379867792, 0.011273455806076527, -0.04405587166547775, -0.0031929833348840475, 0.04111861810088158, -0.0025561971124261618, 0.04939805343747139, 0.013096591457724571, 0.020554862916469574, -0.009395024739205837, -0.04715379700064659, 0.027867095544934273, 0.004365919623523951, 0.02788800187408924, -0.03515646979212761, 0.06825461238622665, 0.08111030608415604, -0.05174586549401283, -0.015658559277653694, 0.020121915265917778, 0.03445395454764366, -0.009652240201830864, -0.053721122443675995, -0.03513011336326599, -0.054222650825977325, -0.08475463837385178, 0.012459158897399902, 0.0328887440264225, -0.03549811616539955, -0.028720572590827942, -0.021490737795829773, 0.0529739186167717, -0.0779789537191391, 0.03913607448339462, -0.031063850969076157, 0.04682692140340805, -0.0595153346657753, -0.047858186066150665, -0.010857963003218174, 0.015274608507752419, 0.013243931345641613, 0.013231534510850906, 0.022075779736042023, -0.02551504410803318, 0.019747020676732063, -0.016666950657963753, 0.03830671310424805, 0.012290379032492638, 0.008831572718918324, 0.024669906124472618 ]
[ -0.06593961268663406, -0.029910674318671227, -0.010338649153709412, -0.04040055721998215, 0.015421516261994839, -0.07958220690488815, -0.006968082394450903, 0.009895228780806065, 0.038975734263658524, 0.00361974467523396, 0.009386599995195866, -0.04460129514336586, -0.020134082064032555, 0.0008621671004220843, 0.03495208919048309, -0.004394812043756247, -0.03434760868549347, -0.027770839631557465, -0.000056804314226610586, 0.014921427704393864, 0.011557819321751595, -0.04105571284890175, -0.04004538431763649, -0.03875665366649628, 0.0056559983640909195, 0.07676629722118378, 0.031454987823963165, -0.05472541227936745, -0.013445869088172913, -0.2096807211637497, 0.019040819257497787, 0.006583529058843851, -0.01015970017760992, -0.01994902640581131, -0.007531707175076008, 0.030598260462284088, -0.007047982886433601, 0.0391777865588665, -0.004751152358949184, 0.04058684781193733, 0.003744663204997778, 0.023200737312436104, -0.056423112750053406, -0.026032723486423492, 0.019663074985146523, -0.011314726434648037, 0.004285824950784445, -0.015661070123314857, 0.016088325530290604, 0.03596267104148865, -0.07515466958284378, 0.0014431074960157275, 0.009700226597487926, 0.013119897805154324, 0.017452672123908997, 0.0236960519105196, 0.0803149938583374, 0.08086735755205154, 0.00019836875435430557, 0.026389528065919876, 0.03979345038533211, -0.00997859612107277, -0.13873831927776337, 0.10841327905654907, -0.007635228801518679, 0.03341351076960564, -0.006210926454514265, -0.031823690980672836, -0.019934771582484245, 0.06702767312526703, 0.025555245578289032, -0.01321470271795988, -0.010836665518581867, 0.0840863436460495, 0.05426688864827156, -0.015427062287926674, -0.02027476765215397, 0.019785240292549133, 0.02848406508564949, -0.04469563439488411, -0.06971605867147446, -0.01594674400985241, -0.04005655646324158, -0.02564915083348751, -0.044908445328474045, 0.03129623085260391, -0.015972279012203217, 0.05086618289351463, 0.030742330476641655, 0.021766891703009605, 0.05347193405032158, 0.013643800280988216, 0.035737182945013046, 0.018509671092033386, -0.0831863209605217, -0.01178210973739624, -0.027930831536650658, 0.0023508218582719564, -0.0020664746407419443, 0.41188257932662964, 0.00463762367144227, -0.0027801666874438524, 0.007078350521624088, 0.04839611425995827, -0.004316885024309158, -0.016094282269477844, -0.014991995878517628, -0.05795176327228546, 0.00752628268674016, -0.012776566669344902, 0.004589988850057125, -0.013110854662954807, 0.047480061650276184, -0.06051410734653473, -0.010249700397253036, 0.02854134328663349, 0.05456412211060524, 0.007620328571647406, -0.06600632518529892, 0.009086673147976398, -0.04901209846138954, 0.016626732423901558, -0.017509421333670616, 0.02864997647702694, -0.008292485028505325, -0.034255627542734146, 0.011591882444918156, 0.050951022654771805, 0.032644107937812805, -0.020674778148531914, 0.040114860981702805, -0.03507959842681885, -0.1209532842040062, -0.013100644573569298, 0.023705076426267624, 0.012371537275612354, 0.04478646442294121, -0.04757999628782272, -0.0331096425652504, 0.02735639549791813, -0.03681178018450737, -0.047205761075019836, 0.037591222673654556, 0.003871599677950144, -0.027528101578354836, 0.1443002074956894, -0.002836956875398755, -0.023780161514878273, -0.024022694677114487, -0.05344098433852196, -0.011312964372336864, 0.03939369320869446, -0.01758578047156334, -0.0469500906765461, -0.018272535875439644, 0.014213857240974903, 0.055037032812833786, 0.018039213493466377, -0.10031682252883911, -0.04105585068464279, 0.019294757395982742, -0.028104044497013092, -0.03399103134870529, 0.10855912417173386, 0.04800238832831383, -0.10010228306055069, -0.06140121445059776, 0.03764142468571663, 0.031904831528663635, -0.0200100876390934, 0.010877343825995922, 0.03914483264088631, -0.03204890340566635, -0.006936782039701939, 0.052383702248334885, -0.010914962738752365, -0.013509037904441357, -0.004141762387007475, 0.016235195100307465, 0.0015332174953073263, 0.02760676108300686, 0.014561154879629612, -0.029107067734003067, -0.0238882377743721, -0.036003489047288895, -0.12121103703975677, -0.07089018076658249, 0.020466838032007217, 0.007967229932546616, -0.05623830109834671, -0.020813871175050735, 0.004255231935530901, -0.05519095063209534, 0.10762952268123627, -0.013648560270667076, -0.04446475952863693, 0.01779424026608467, -0.010735954158008099, 0.020842937752604485, -0.029162561520934105, 0.051881350576877594, 0.056665681302547455, -0.026132622733712196, 0.04022834450006485, -0.019081825390458107, 0.008172474801540375, 0.04145669564604759, -0.03984544798731804, 0.03596791625022888, 0.03223443031311035, -0.005589885637164116, 0.016895301640033722, 0.004949669353663921, 0.04013378918170929, 0.017134850844740868, -0.011846105568110943, -0.023333953693509102, 0.015006598085165024, 0.03120574913918972, 0.001978003652766347, -0.02470414526760578, 0.024455280974507332, 0.03043477237224579, -0.3722245395183563, -0.0375099703669548, -0.017405133694410324, -0.0170061606913805, -0.059968966990709305, -0.0052747842855751514, 0.00021530210506170988, -0.019411258399486542, 0.02458205446600914, -0.0017922503175213933, 0.041041888296604156, -0.024407144635915756, 0.006971233990043402, -0.02380562573671341, -0.012623606249690056, 0.0069254543632268906, -0.05123893544077873, 0.021938925608992577, -0.02057150937616825, -0.036123063415288925, 0.014377739280462265, 0.00007404958887491375, -0.05472738295793533, -0.04192998632788658, 0.0298107098788023, 0.014821786433458328, 0.10337219387292862, -0.0038340173196047544, 0.05421729013323784, -0.06677012145519257, 0.05967666208744049, 0.0004467454564291984, 0.02161974087357521, -0.10807548463344574, 0.010327116586267948, -0.036324210464954376, -0.03742785379290581, 0.016304414719343185, 0.003668504999950528, -0.0149979367852211, -0.06724442541599274, -0.0012559866299852729, -0.05007484555244446, -0.030353695154190063, 0.01666925847530365, 0.0017389428103342652, -0.010288798250257969, -0.0021387722808867693, 0.005828745663166046, 0.09017054736614227, 0.00025363557506352663, -0.006215832661837339, 0.03483208268880844, 0.06159990653395653, 0.039794884622097015, -0.028054961934685707, -0.07221659272909164, -0.015281050466001034, 0.025229142978787422, -0.018630284816026688, 0.041967667639255524, 0.041541993618011475, 0.05100725218653679, -0.02353539690375328, 0.016536714509129524, -0.0024879034608602524, 0.005060321185737848, 0.0008093578508123755, 0.04168776050209999, -0.058364175260066986, -0.06407445669174194, 0.07172031700611115, -0.0021963452454656363, -0.02602524124085903, 0.03441491723060608, 0.02503686025738716, 0.024526555091142654, 0.025067966431379318, 0.024997927248477936, -0.008919386193156242, 0.030178401619195938, -0.005374528467655182, 0.0622321255505085, 0.0028161853551864624, -0.003786324290558696, 0.08052542805671692, 0.03590717166662216, -0.0034678259398788214, 0.036411114037036896, -0.03890315070748329, -0.027046268805861473, 0.010233293287456036, -0.030080707743763924, -0.04845838248729706, 0.053142715245485306, -0.005081935785710812, -0.2584226727485657, 0.04649375379085541, 0.03309335187077522, 0.0655055046081543, -0.009288642555475235, 0.00594685971736908, 0.01214731577783823, -0.01884629763662815, -0.001809392124414444, -0.01177094504237175, 0.018979614600539207, -0.007478252984583378, 0.012654743157327175, -0.030159082263708115, 0.020366089418530464, -0.011535844765603542, 0.029383547604084015, 0.03471618890762329, 0.05148186907172203, -0.0017959821270778775, 0.005137708969414234, 0.0010846543591469526, 0.15216463804244995, 0.033647652715444565, 0.019555306062102318, 0.010400244034826756, 0.0054029179736971855, 0.020760580897331238, 0.05780160799622536, 0.03816714137792587, 0.006105064880102873, 0.0009975831490010023, 0.0365576334297657, 0.01596694253385067, 0.04427583888173103, -0.05323657765984535, 0.009899446740746498, 0.03727993369102478, 0.008344060741364956, 0.001340865041129291, -0.024486642330884933, 0.017600109800696373, -0.047989435493946075, 0.05024900287389755, 0.0749722495675087, 0.007507180329412222, 0.0032502643298357725, -0.007630091160535812, -0.03780926764011383, 0.007221330888569355, -0.012585585936903954, -0.04664461687207222, -0.011423638090491295, -0.030162600800395012, -0.030145300552248955, 0.03373169153928757, 0.025037702172994614, -0.03326854482293129, -0.026867536827921867, 0.0002719929034356028, 0.03139089047908783, -0.03671468049287796, 0.08369341492652893, -0.014940449967980385, -0.012775995768606663 ]
[ 0.04673140123486519, -0.0006246037082746625, -0.014663183130323887, -0.005213614087551832, -0.014049871824681759, -0.03543533757328987, 0.011358962394297123, 0.022650668397545815, -0.02830790914595127, -0.015160477720201015, -0.010132426396012306, -0.03487309440970421, -0.01993146538734436, -0.017566228285431862, 0.029876865446567535, -0.0211227685213089, 0.029796328395605087, 0.0006326676812022924, 0.04687626287341118, 0.03739800676703453, -0.009597528725862503, 0.005704587325453758, 0.013176755048334599, -0.031198088079690933, 0.0418141707777977, 0.024418555200099945, 0.000565317168366164, 0.019101016223430634, 0.01942812092602253, -0.12992364168167114, -0.028824571520090103, -0.0022446075454354286, -0.03367532417178154, 0.01125911995768547, 0.013751442544162273, -0.017692280933260918, -0.013153815641999245, 0.000039769336581230164, -0.017461104318499565, -0.011752408929169178, 0.006121794227510691, -0.03672217205166817, -0.019598012790083885, 0.03912812098860741, -0.05151455104351044, -0.036376021802425385, -0.02086660824716091, -0.021586943417787552, -0.006706913001835346, -0.005329327657818794, -0.01876799389719963, 0.00114991154987365, -0.007587714586406946, 0.009097271598875523, 0.034447602927684784, 0.02460392937064171, -0.004554773215204477, 0.04093986749649048, 0.03738751262426376, -0.011676231399178505, -0.015558757819235325, -0.01232275739312172, 0.004732376895844936, -0.015288631431758404, -0.015480314381420612, -0.04306021332740784, -0.016008837148547173, -0.02098160795867443, -0.008650539442896843, -0.018812676891684532, -0.007869887165725231, 0.047495272010564804, -0.01755974441766739, 0.0010887995595112443, -0.02217843197286129, 0.04444919526576996, 0.03788308799266815, 0.0235062874853611, 0.015460506081581116, -0.042892321944236755, -0.03245794400572777, 0.033770203590393066, -0.028594162315130234, 0.0058552916161715984, -0.013230280950665474, -0.005538961384445429, 0.009636368602514267, 0.0021231048740446568, 0.060765914618968964, -0.0005621885065920651, 0.00685584032908082, 0.027214443311095238, -0.00853879563510418, -0.014443072490394115, -0.12195317447185516, -0.03719242289662361, -0.010165478102862835, -0.031244490295648575, 0.016445524990558624, 0.8332792520523071, 0.04036765545606613, 0.025213666260242462, 0.009472794830799103, 0.058910246938467026, -0.04000352323055267, 0.008556585758924484, -0.016001012176275253, -0.016239145770668983, -0.01301291212439537, -0.013937941752374172, 0.02596915327012539, 0.021657278761267662, 0.044556815177202225, 0.011923341080546379, -0.000015539937521680258, 0.0036679832264781, 0.0024452025536447763, -0.009823061525821686, -0.0016743382439017296, 0.017176419496536255, -0.007559356279671192, -0.03810157626867294, -0.030428079888224602, -0.0006635489407926798, 0.010242714546620846, -0.13701896369457245, 0.014389017596840858, -6.72293431099686e-33, 0.058787573128938675, -0.022509220987558365, 0.035079505294561386, -0.007393694017082453, 0.020567206665873528, -0.011331604793667793, -0.007151035126298666, 0.03017258271574974, 0.0207701213657856, -0.03994196280837059, -0.038686782121658325, -0.015449641272425652, 0.0006293055485002697, -0.04386882856488228, 0.043034180998802185, 0.028311965987086296, 0.003383349860087037, 0.036898039281368256, -0.03678818792104721, 0.02890228107571602, -0.027206003665924072, 0.032511260360479355, -0.024868248030543327, -0.0334346704185009, -0.00033835796057246625, 0.03129681199789047, 0.02252661995589733, -0.013819906860589981, -0.011657197028398514, -0.018677497282624245, -0.026836631819605827, -0.05821028724312782, -0.017880834639072418, 0.010881466791033745, 0.02129349112510681, -0.05807219445705414, -0.005550199653953314, 0.013333420269191265, -0.016807690262794495, -0.033905696123838425, -0.03642222285270691, 0.020413273945450783, -0.038237832486629486, 0.01465415209531784, 0.007524836342781782, 0.007969977334141731, 0.02733691781759262, 0.05365675315260887, -0.012949058786034584, -0.018672088161110878, -0.010674004442989826, 0.015152138657867908, 0.00936095416545868, -0.02402755804359913, 0.016941988840699196, 0.02589666284620762, 0.0023466777056455612, 0.011608853936195374, 0.02859930880367756, 0.03889862447977066, -0.0195040013641119, -0.03345357999205589, -0.03316055238246918, 0.039893437176942825, 0.00702290004119277, 0.0037326510064303875, -0.006988639943301678, -0.02523072436451912, -0.005474091973155737, -0.014356725849211216, -0.03200458362698555, -0.028442518785595894, 0.021346090361475945, 0.00420348672196269, -0.006597721949219704, -0.04355977848172188, 0.011300798505544662, -0.01302354596555233, 0.012403560802340508, 0.011242338456213474, 0.00855235569179058, -0.01302040833979845, -0.03539480268955231, -0.05627657473087311, -0.025693807750940323, -0.015655696392059326, -0.0014439764199778438, -0.02364623174071312, -0.01115034893155098, 0.015276891179382801, 0.054687876254320145, 0.005522764287889004, 0.03711491823196411, -0.030197307467460632, -0.02113860845565796, 6.992246678925969e-33, -0.01565554551780224, -0.014353306964039803, -0.03279974311590195, -0.030034257099032402, 0.011850190348923206, -0.0063947211019694805, 0.021134119480848312, 0.060006916522979736, -0.06759362667798996, -0.015778208151459694, -0.06924654543399811, 0.002727815415710211, -0.008188044652342796, 0.027337517589330673, 0.04004373028874397, 0.010540383867919445, 0.05347722768783569, 0.018170513212680817, -0.019352983683347702, 0.05192206799983978, 0.04200413450598717, 0.020975029096007347, 0.021056881174445152, 0.03290664777159691, 0.04322243481874466, 0.024896210059523582, -0.015482715331017971, 0.0044090962037444115, -0.013965925201773643, 0.0006113898125477135, 0.013230291195213795, -0.015215528197586536, -0.0061471774242818356, -0.02216275967657566, -0.031777262687683105, -0.0062544215470552444, 0.01689695380628109, -0.015384728088974953, -0.019987573847174644, -0.010646414943039417, -0.006271208170801401, -0.04114079847931862, -0.0002916710218414664, 0.03801736980676651, -0.006971439346671104, 0.038725338876247406, 0.0021359026432037354, 0.031956564635038376, -0.03994999825954437, -0.0036674807779490948, -0.03382369130849838, 0.0015134639106690884, -0.017954085022211075, 0.020428847521543503, 0.006125892046838999, 0.000657462514936924, -0.038773536682128906, 0.012557970359921455, -0.01386045478284359, -0.011576165445148945, -0.006455055437982082, 0.01879722811281681, 0.012771660462021828, 0.03321881592273712, 0.005435457453131676, 0.02645118162035942, 0.021996648982167244, -0.00039128775824792683, -0.03371703624725342, -0.019648291170597076, -0.027282927185297012, -0.02042265236377716, -0.03168144449591637, 0.04297224432229996, 0.0506114698946476, 0.005016398150473833, -0.004590767435729504, -0.005954741965979338, -0.028704723343253136, 0.008848700672388077, 0.00927575584501028, 0.008663855493068695, -0.005431375931948423, -0.006076545920222998, 0.024664519354701042, 0.038140106946229935, -0.050821930170059204, 0.007772569078952074, -0.02736780047416687, 0.010863566771149635, -0.03522815182805061, 0.014917842112481594, -0.04560893401503563, 0.02409953437745571, -0.017078692093491554, -1.239828417709532e-8, 0.028766166418790817, -0.02987147681415081, -0.015077347867190838, 0.02776952274143696, 0.02726336196064949, -0.019064510241150856, -0.010480563156306744, 0.03398452326655388, -0.0013721698196604848, 0.02272363193333149, 0.00416105892509222, 0.017975084483623505, 0.026333075016736984, 0.019574390724301338, 0.027329357340931892, -0.02418006956577301, 0.04642698913812637, 0.008842394687235355, 0.0008328122785314918, 0.006886729039251804, 0.01668069325387478, 0.05653906986117363, 0.00739376712590456, 0.00692626740783453, 0.033778510987758636, 0.016688121482729912, 0.023028405383229256, -0.04453570395708084, 0.03288683667778969, 0.004794630687683821, 0.028362346813082695, -0.021555671468377113, -0.010635580867528915, 0.03408357501029968, -0.02810315601527691, 0.022771084681153297, 0.037435952574014664, 0.05226772278547287, 0.028203504160046577, -0.019046073779463768, -0.04147720709443092, 0.018217340111732483, -0.017475862056016922, -0.00783733744174242, -0.022379238158464432, 0.026339177042245865, -0.03844469413161278, 0.02811562269926071, 0.020257456228137016, -0.04170296713709831, -0.05088479071855545, -0.017389874905347824, -0.02370661310851574, 0.005851069465279579, -0.0005223889602348208, 0.022448156028985977, 0.0039016378577798605, -0.0018008847255259752, 0.008669744245707989, 0.014559284783899784, 0.05306526646018028, 0.0055762347765266895, -0.027897706255316734, -0.01980981044471264 ]
oracle-spatial-java-sql-sqlrecoverableexception-no-more-data-to-read-from-socket
https://markhneedham.com/blog/2012/02/11/oracle-spatial-java-sql-sqlrecoverableexception-no-more-data-to-read-from-socket
false
2012-02-11 10:02:09
Downloading the JDK 6 source code
[ "software-development" ]
[ "Software Development" ]
Every now and then I want to get the JDK source code onto a new machine and it always seems to take me longer than I expect it to so this post is an attempt to help future me! Googling for this takes me to http://download.java.net/jdk6/6u23/promoted/latest/[this page] and I always think I'll just checkout the http://java.net/projects/jdk-jrl-sources/[SVN repository] and hook that up but it doesn't seem to be available. [source,text] ---- $ wget -S http://java.net/projects/jdk-jrl-sources/ --2012-02-11 09:51:34-- http://java.net/projects/jdk-jrl-sources/ Resolving java.net (java.net)... 192.9.164.103 Connecting to java.net (java.net)|192.9.164.103|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 404 Not Found Date: Sat, 11 Feb 2012 09:51:34 GMT ---- The alternative is therefore to download the jar provided which we can do like this: [source,text] ---- wget http://www.java.net/download/jdk6/6u23/promoted/b05/jdk-6u23-fcs-src-b05-jrl-12_nov_2010.jar ---- The next step is then to execute the jar which I somehow didn't realise until I unpacked it and had a look at the README: [source,text] ---- java -jar jdk-6u23-fcs-src-b05-jrl-12_nov_2010.jar ---- You get asked to choose a folder location for the sources and then the code is under 'src/share/classes'. So for me I need to give IntelliJ a source path of : [source,text] ---- /Users/mneedham/github/j2se/src/share/classes ---- You can browse the different versions of the source code by changing the version number at the end of URLs like http://download.java.net/jdk6/6u23/[this one]. At the moment version 23 is the latest one available.
null
null
[ -0.006334346253424883, -0.02006886899471283, -0.02873155102133751, 0.03578118234872818, 0.05709546431899071, 0.010765026323497295, 0.04010368883609772, 0.028667932376265526, 0.011475972831249237, -0.026041721925139427, -0.03674384951591492, -0.005922984331846237, -0.05531499534845352, 0.027740852907299995, -0.04463628679513931, 0.06085074320435524, 0.0643095076084137, -0.007467716466635466, 0.03100181557238102, 0.012789723463356495, -0.007552601862698793, 0.04648435860872269, -0.02973625436425209, 0.03442234545946121, 0.012002493254840374, 0.020993035286664963, 0.004512685351073742, 0.01019024197012186, -0.06880960613489151, -0.05411522835493088, 0.0424942709505558, -0.002882815431803465, 0.016562264412641525, -0.0010127801215276122, -0.0044206278398633, -0.002949794754385948, -0.025839298963546753, 0.009050221182405949, 0.019096260890364647, 0.04230877384543419, -0.03144124522805214, 0.04371524602174759, 0.023779859766364098, 0.04498188570141792, -0.039684049785137177, 0.02886805683374405, -0.04496040940284729, 0.006418750621378422, 0.00044560679816640913, 0.00307350791990757, -0.04578300938010216, 0.007440825458616018, -0.03743642941117287, -0.00903666764497757, 0.015439717099070549, 0.03628741204738617, 0.03922778367996216, -0.08178051561117172, 0.04210025444626808, -0.04839571937918663, 0.02853783592581749, -0.02440454438328743, -0.001517253927886486, 0.05232638493180275, -0.011361506767570972, -0.03550533577799797, -0.0055937254801392555, 0.08068660646677017, -0.034208543598651886, -0.030251868069171906, -0.018507160246372223, 0.018600326031446457, -0.023514438420534134, 0.011792376637458801, 0.02435402013361454, -0.017784491181373596, -0.010406238958239555, 0.04835790768265724, 0.013590301387012005, 0.07678808271884918, -0.049322690814733505, 0.010350363329052925, 0.022631078958511353, 0.0354897677898407, 0.022620851173996925, -0.01808317005634308, -0.038606878370046616, -0.005997532978653908, -0.02641538716852665, 0.03636328503489494, 0.01095660962164402, -0.046854253858327866, 0.007427233271300793, 0.023854095488786697, 0.0006664818502031267, -0.018942411988973618, 0.024227777495980263, -0.0008529405458830297, 0.014543561264872551, -0.009957797825336456, -0.0426560714840889, 0.011676177382469177, -0.005069983657449484, 0.026287386193871498, -0.03950047120451927, 0.014541284181177616, -0.00842348113656044, -0.01834855228662491, -0.008356738835573196, -0.0141413863748312, -0.015438193455338478, 0.046497177332639694, -0.0314752534031868, 0.013715092092752457, -0.050254274159669876, 0.06302743405103683, 0.003543999046087265, -0.07028442621231079, -0.04187066853046417, 0.028547966852784157, 0.026504211127758026, 0.03912637010216713, -0.03603819012641907, 0.0829530879855156, 0.007757415529340506, 0.06641744077205658, -0.02680143341422081, 0.022027935832738876, -0.007045300677418709, -0.07706736773252487, 0.03349551558494568, 0.04024552181363106, 0.013111114501953125, 0.00013115420006215572, 0.0065214685164391994, 0.0058205826207995415, -0.005221137311309576, 0.02113443799316883, 0.05782575160264969, 0.010931151919066906, -0.021726179867982864, -0.029507284983992577, -0.024617690593004227, 0.0038512421306222677, 0.021122025325894356, 0.025955822318792343, -0.05616094544529915, -0.03954783454537392, -0.03981883451342583, 0.032702092081308365, 0.011883106082677841, 0.05657145753502846, 0.04410627856850624, -0.03847706317901611, 0.0023825443349778652, 0.12286942452192307, 0.028763212263584137, 0.02782348543405533, -0.04152720794081688, 0.004947333596646786, 0.0047166608273983, 0.08210325986146927, -0.01177301350980997, 0.04590117558836937, -0.020091067999601364, -0.059540506452322006, 0.026019858196377754, 0.046092960983514786, -0.004674672149121761, -0.010600632056593895, -0.07005652040243149, -0.062225278466939926, 0.06328734010457993, -0.04526980593800545, -0.0004368856025394052, 0.007260206155478954, 0.09514325857162476, 0.025424374267458916, 0.0480528324842453, -0.007767215371131897, -0.06023324653506279, 0.022225838154554367, 0.022454485297203064, -0.018185554072260857, 0.032679587602615356, -0.02700965665280819, 0.06737080961465836, 0.0061073037795722485, -0.04679330438375473, 0.026838310062885284, -0.08326604962348938, -0.0570005364716053, -0.03645114600658417, 0.0011516653466969728, 0.058522339910268784, -0.03142163157463074, -0.010643407702445984, 0.0518781952559948, 0.02000078558921814, 0.02548476867377758, 0.028955798596143723, 0.009174583479762077, 0.007605728227645159, -0.08590295910835266, -0.05821921303868294, 0.043082453310489655, 0.03616612032055855, -0.011805001646280289, -0.039024654775857925, -0.0049832346849143505, -0.01615486666560173, 0.012751247733831406, 0.008392632938921452, -0.033543799072504044, 0.04678378626704216, 0.03883804753422737, 0.0002756787580437958, -0.04545314237475395, 0.06744800508022308, -0.06162363290786743, 0.027957262471318245, 0.019030246883630753, -0.013053616508841515, -0.0064251418225467205, 0.019764138385653496, 0.09521571546792984, 0.06200720742344856, -0.017428532242774963, -0.05359773337841034, 0.05507759377360344, 0.0007745206821709871, -0.03626974672079086, -0.020853236317634583, -0.018751218914985657, -0.0027761878445744514, -0.00521875498816371, -0.0567023903131485, -0.03331035003066063, -0.01755550317466259, -0.025518637150526047, 0.01956619694828987, 0.08196957409381866, -0.028629451990127563, 0.04472767189145088, 0.02312542125582695, -0.04025380313396454, 0.009696749038994312, -0.06395260244607925, -0.0627734586596489, 0.002032569143921137, 0.004587119445204735, 0.0013373346300795674, 0.04434797167778015, -0.04460736736655235, -0.026465825736522675, -0.014443237334489822, -0.06054865941405296, 0.006858748383820057, 0.015139816328883171, 0.0886751189827919, 0.02814432419836521, 0.0040243249386549, 0.0017386628314852715, 0.01820831000804901, -0.01614861935377121, -0.02367667853832245, -0.019316041842103004, -0.014443701133131981, 0.023302070796489716, 0.04224228858947754, -0.01249634474515915, 0.024726761505007744, 0.005571744404733181, -0.0029656821861863136, -0.013876556418836117, 0.00104499829467386, 0.028647560626268387, -0.011442217044532299, 0.01212705671787262, -0.04190773144364357, -0.017614232376217842, 0.020802004262804985, -0.027947070077061653, -0.020254524424672127, -0.0028846883215010166, -0.051141656935214996, 0.03208811581134796, -0.08025083690881729, -0.022154778242111206, -0.0014019542140886188, 0.010075193829834461, 0.026279442012310028, -0.00240896875038743, 0.03138574957847595, 0.09584394842386246, -0.008007966913282871, 0.025074196979403496, 0.0010719172423705459, 0.0214633047580719, 0.0270795039832592, 0.00796430092304945, 0.024449031800031662, 0.021477987989783287, 0.0014387123519554734, -0.011382580734789371, -0.050037406384944916, 0.024726074188947678, -0.025516444817185402, -0.25076955556869507, 0.028056714683771133, -0.015560954809188843, -0.0752580389380455, 0.037085581570863724, -0.02865501679480076, 0.003245667787268758, -0.054809391498565674, -0.039369817823171616, 0.02459140494465828, -0.026951128616929054, -0.01379857026040554, 0.0014190832152962685, 0.047030456364154816, -0.03453228622674942, -0.01319020614027977, 0.02114008739590645, -0.00840067770332098, -0.012123476713895798, 0.014485938474535942, -0.0064824530854821205, -0.04696689918637276, 0.016299420967698097, 0.04142959415912628, 0.055233344435691833, 0.06443624198436737, -0.09734302014112473, 0.0458640456199646, -0.023282242938876152, 0.023046225309371948, 0.008948913775384426, -0.02401578426361084, -0.02986578270792961, -0.023289477452635765, -0.043460775166749954, -0.026295991614460945, 0.014168759807944298, 0.006797501351684332, -0.026126179844141006, 0.027075979858636856, -0.03459446132183075, -0.03388499841094017, -0.03888124227523804, -0.005049458239227533, 0.06003672257065773, -0.016909712925553322, -0.09963671118021011, -0.021724317222833633, -0.01892421767115593, 0.08926908671855927, -0.04185428470373154, -0.03369142860174179, -0.012604298070073128, 0.0028256219811737537, -0.002462613396346569, -0.03321220725774765, -0.008122758939862251, -0.0005364684038795531, -0.028591783717274666, -0.021430298686027527, 0.01824963092803955, -0.049200013279914856, -0.026677293702960014, -0.043191686272621155, -0.007304785773158073, -0.06754031032323837, -0.036590155214071274, -0.012599246576428413, 0.0606992207467556, -0.00039438880048692226, -0.03697165474295616, -0.020221533253788948, -0.010864716954529285, -0.11193304508924484, -0.0054127005860209465, -0.016469184309244156, -0.0660916343331337, 0.006373437121510506, -0.007320166565477848, 0.07905523478984833, -0.03241566941142082, 0.002652699826285243, -0.0060643889009952545, 0.027676647529006004, 0.008420548401772976, -0.007205471396446228, 0.03482848033308983, 0.00008341572538483888, 0.0173388309776783, -0.01514428947120905, 0.0539935827255249, -0.06358655542135239, -0.018876606598496437, -0.06592265516519547, 0.0013121770462021232, 0.02384824864566326, 0.030479831621050835, 0.005213912110775709, 0.03129630535840988, 0.022406255826354027, 0.03357831761240959, -0.0383080318570137, 0.005371226463466883, 0.0009003276354633272, 0.0008353042067028582, -0.015873249620199203, -0.04280273988842964, 0.017519943416118622, 0.009636792354285717, 0.05984146147966385, -0.008098211139440536, -0.07508125901222229, 0.007665050216019154, -0.04846236854791641, -0.0639815405011177, -0.03933455049991608, -0.00982228945940733, 0.020587947219610214, 0.009114843793213367, -0.018363887444138527, -0.030225079506635666, 0.01873650774359703, 0.010484577156603336, 0.006108571775257587, -0.03758663684129715, 0.010607250966131687, 0.0033821547403931618, -0.027560079470276833, 0.005016459617763758, 0.02094889059662819, -0.009315823204815388, 0.042263213545084, 0.035895030945539474, -0.0044580139219760895, -0.02363055758178234, -0.03223360329866409, 0.0062529402785003185, -0.01900295354425907, -0.00262279505841434, -0.004807697143405676, -0.04161759838461876, 0.018042640760540962, -0.00884812418371439, 0.030414219945669174, 0.056177541613578796, 0.02939063496887684, 0.05168724060058594, 0.01083406899124384, 0.007317544426769018, -0.05144541338086128, 0.015538042411208153, -0.05623962730169296, 0.025493131950497627, -0.02617061510682106, -0.04095941036939621, -0.02080553211271763, 0.007974856533110142, 0.00921416562050581, -0.031064126640558243, -0.01135525107383728, 0.041203051805496216, -0.0791151374578476, 0.012385339476168156, 0.028594788163900375, -0.04642748087644577, 0.061683375388383865, -0.003244061954319477, 0.06188090518116951, -0.029878251254558563, -0.021735798567533493, 0.0029175286181271076, 0.009519359096884727, 0.007944537326693535, 0.004262647591531277, 0.02601536549627781, 0.0280781053006649, 0.02332063391804695, 0.0347726047039032, 0.03926314413547516, 0.012337742373347282, -0.00008505745063303038, -0.0045847212895751, 0.02292872965335846, 0.008742133155465126, 0.018450038507580757, -0.04176228865981102, -0.006105673499405384, -0.01692814938724041, -0.0107778524979949, -0.02792351134121418, -0.002309013856574893, -0.0007873771828599274, -0.006515165790915489, 0.029223835095763206, -0.0031332902144640684, -0.11283800005912781, 0.0044203451834619045, 0.03340095654129982, 0.009103902615606785, 0.015524261631071568, -0.02444688230752945, 0.003890759078785777, -0.035863179713487625, 0.038327716290950775, 0.04110703244805336, -0.03627945855259895, 0.008696501143276691, 0.027453288435935974, 0.01604554057121277, -0.005056833382695913, -0.002038924489170313, -0.08013898879289627, -0.015278935432434082, 0.007429163902997971, 0.005458904430270195, -0.042035121470689774, -0.04214881360530853, -0.031012358143925667, 0.025596288964152336, -0.022229915484786034, -0.00507011404260993, 0.00829020980745554, -0.008593027479946613, 0.02506202645599842, -0.0015208703698590398, 0.026586415246129036, -0.006993222050368786, -0.004490880761295557, -0.016102029010653496, -0.028850184753537178, 0.02858661860227585, -0.041235461831092834, 0.038192570209503174, 0.015801681205630302, -0.0031962923239916563, 0.0069349477998912334, -0.00038911669980734587, 0.005007170606404543, 0.019854575395584106, 0.05573320761322975, 0.0045600999146699905, 0.015679052099585533, -0.012365457601845264, -0.0010719200363382697, -0.04639460891485214, -0.003279279451817274, -0.035061076283454895, 0.0007129866280592978, 0.0048177167773246765, 0.0324496254324913, 0.006334451027214527, 0.00993199273943901, 0.0031988241244107485, -0.044806867837905884, 0.06723450124263763, -0.05126615986227989, -0.05413501337170601, -0.009992438368499279, -0.05555017292499542, 0.010598594322800636, 0.0380670465528965, 0.0208954606205225, -0.03889105096459389, 0.04635209962725639, 0.024208353832364082, -0.018316833302378654, 0.03947972133755684, -0.005242779850959778, 0.011060168966650963, -0.03988106921315193, -0.02862364612519741, -0.08944452553987503, 0.0034293229691684246, 0.06680865585803986, 0.01464110892266035, -0.023206496611237526, -0.014420810155570507, -0.03410733491182327, 0.02168799377977848, -0.06893070787191391, -0.01893366500735283, 0.02038613334298134, -0.025396881625056267, -0.0017685655038803816, 0.039667561650276184, -0.04715579375624657, 0.013204625807702541, 0.018818620592355728, -0.0462806336581707, -0.023821786046028137, -0.039982132613658905, 0.0457998663187027, 0.0401076078414917, 0.02224838361144066, -0.022196518257260323, 0.004931216593831778, 0.07067927718162537, 0.00803458783775568, 0.022563206031918526, 0.03735531121492386, 0.007498177699744701, 0.021768249571323395, 0.0422787182033062, -0.029704727232456207, -0.00855160877108574, 0.03922341763973236, -0.012184853665530682, -0.040155768394470215, 0.017743350937962532, 0.008073074743151665, 0.0009012598893605173, -0.05536903813481331, 0.06758728623390198, 0.04056462645530701, -0.030533090233802795, -0.020849179476499557, 0.016127776354551315, -0.06325898319482803, -0.017487630248069763, -0.03876494616270065, 0.003553226124495268, -0.053731486201286316, 0.056945741176605225, 0.0030138366855680943, -0.0020453743636608124, 0.05129874497652054, 0.022127341479063034, 0.009538624435663223, 0.011604787781834602, 0.06088585406541824, 0.09713338315486908, -0.016668464988470078, 0.00773199088871479, 0.046475525945425034, 0.008470050990581512, -0.01634247973561287, 0.0026134797371923923, -0.042285870760679245, -0.01571723073720932, -0.010120250284671783, -0.021016797050833702, 0.04083088040351868, 0.024092109873890877, 0.04977854713797569, -0.03645272180438042, -0.004936129320412874, 0.019998906180262566, 0.002863849513232708, 0.016842683777213097, 0.040929604321718216, 0.001346902223303914, 0.0353793129324913, -0.03048907406628132, 0.0013536533806473017, 0.0124990688636899, -0.027859270572662354, -0.00789798516780138, 0.01838228665292263, -0.00623187143355608, 0.0023732043337076902, 0.02687741257250309, 0.01999918930232525, 0.07084646821022034, 0.00027253388543613255, -0.009462093003094196, -0.035447992384433746, 0.025421086698770523, 0.015538183972239494, 0.008342313580214977, -0.006010021548718214, -0.005676987115293741, -0.01168008241802454, -0.0225419569760561, -0.016516027972102165, -0.002492202678695321, 0.022901492193341255, 0.026632359251379967, -0.02170068584382534, 0.010869240388274193, 0.021569307893514633, -0.009216171689331532, -0.04889380559325218, -0.04830086603760719, -0.025409577414393425, -0.036642078310251236, -0.009999137371778488, -0.033815257251262665, 0.03627283126115799, 0.008870388381183147, -0.042644280940294266, -0.01110213715583086, -0.03052765130996704, -0.004206957761198282, 0.008661707863211632, -0.07247758656740189, -0.028255382552742958, 0.047215722501277924, 0.01089178491383791, 0.025363165885210037, 0.020260220393538475, 0.07026424258947372, -0.016971232369542122, -0.02317230775952339, -0.035001859068870544, -0.006356817204505205, 0.04711455479264259, 0.022007612511515617, 0.03702239319682121, -0.04858694598078728, 0.05089656636118889, 0.018857592716813087, -0.009201881475746632, -0.04654885455965996, 0.008473554626107216, 0.034308288246393204, -0.0004202639975119382, 0.06577935814857483, 0.01047192420810461, 0.023387815803289413, -0.00004939501013723202, -0.010227606631815434, 0.0024756393395364285, 0.014185271225869656, 0.03900494799017906, -0.012904797680675983, 0.09870447963476181, 0.0502980574965477, -0.022114265710115433, -0.037424225360155106, -0.015705453231930733, -0.024477191269397736, -0.004499977454543114, -0.036591578274965286, -0.022193456068634987, -0.05357827618718147, -0.10177195072174072, -0.0277347844094038, 0.00036100298166275024, -0.007504504639655352, -0.046656157821416855, 0.015172996558248997, 0.010841021314263344, -0.06255610287189484, 0.023911932483315468, -0.04912402108311653, 0.009680531919002533, 0.0024729224387556314, -0.049503784626722336, 0.01180882379412651, 0.012938967905938625, 0.02256622351706028, -0.012483235448598862, 0.031253181397914886, -0.019965041428804398, -0.006326320115476847, 0.004573708400130272, 0.029666569083929062, 0.10822881758213043, 0.002566029317677021, -0.06519900262355804 ]
[ -0.08079756051301956, -0.007565501611679792, -0.0411672480404377, -0.0501355417072773, 0.04360072687268257, -0.0353316068649292, -0.07241981476545334, 0.028241971507668495, -0.02633010596036911, -0.05325179919600487, 0.009762920439243317, -0.028172094374895096, 0.009458445012569427, -0.008872518315911293, 0.09697988629341125, 0.012401409447193146, 0.0005562290898524225, -0.04948309436440468, -0.019377902150154114, -0.0018587822560220957, 0.019559532403945923, -0.012129303999245167, -0.0011332028079777956, -0.06061697006225586, 0.021384146064519882, 0.05746059864759445, 0.0688774585723877, -0.05407483130693436, -0.0195261649787426, -0.16112513840198517, 0.0016798399155959487, -0.01867111772298813, 0.0343787707388401, -0.014513815753161907, -0.019355010241270065, 0.03237312659621239, 0.011561776511371136, 0.029733173549175262, -0.004919739440083504, 0.01601114682853222, 0.04022564738988876, 0.032125070691108704, -0.04761633649468422, -0.026821477338671684, 0.0001521138328826055, -0.01892785355448723, 0.006939380895346403, -0.013491916470229626, 0.05484113097190857, -0.016826210543513298, -0.08578667044639587, 0.029598835855722427, 0.05644765868782997, -0.03425506874918938, 0.014392198994755745, -0.0004447679966688156, 0.06079263985157013, 0.08391908556222916, 0.002064299304038286, 0.0038679740391671658, -0.029033780097961426, -0.028915805742144585, -0.1349959373474121, 0.09525461494922638, 0.020306793972849846, 0.026128064841032028, 0.022963637486100197, -0.02796006016433239, 0.009749067947268486, 0.04371805489063263, -0.011089750565588474, 0.010989201255142689, -0.026825325563549995, 0.05017763003706932, -0.0182336438447237, -0.023789187893271446, 0.029610242694616318, 0.033116720616817474, 0.053995124995708466, -0.048390842974185944, -0.062072012573480606, -0.024691302329301834, -0.021258734166622162, -0.036623597145080566, -0.04137929901480675, 0.025787727907299995, 0.004882353823632002, 0.05195384472608566, 0.020585384219884872, 0.05685952678322792, 0.023641755804419518, -0.006402428261935711, 0.05365845933556557, 0.008973315358161926, -0.11122073978185654, -0.017514722421765327, -0.06028760224580765, 0.006597904954105616, -0.020256930962204933, 0.3648771345615387, -0.014376543462276459, -0.03274035453796387, 0.0750923752784729, 0.015421606600284576, -0.008854158222675323, -0.00495651550590992, -0.031735215336084366, -0.02460850588977337, 0.05378114804625511, -0.05290532112121582, -0.019020671024918556, 0.008790958672761917, 0.0622674934566021, -0.030440352857112885, 0.027637584134936333, -0.009240420535206795, 0.06343430280685425, 0.018788129091262817, -0.060170162469148636, 0.01652970351278782, 0.004719495307654142, -0.006748190615326166, 0.008458910509943962, 0.009277242235839367, 0.02180718258023262, -0.027960430830717087, -0.041797321289777756, 0.014162938110530376, 0.06240518391132355, -0.020069172605872154, 0.019073402509093285, -0.07322459667921066, -0.08754926919937134, -0.0321415476500988, 0.006110403686761856, 0.03421911597251892, 0.018887411803007126, -0.05918215960264206, -0.009873935021460056, 0.014242678880691528, -0.026014728471636772, -0.05232170969247818, 0.012794452719390392, -0.03375062346458435, -0.08916056156158447, 0.0818261206150055, 0.016321897506713867, -0.01661054417490959, 0.007390322629362345, -0.0312045868486166, -0.026677357032895088, 0.04641382396221161, 0.007991448044776917, -0.03655433654785156, 0.0389825738966465, 0.028608500957489014, 0.06805287301540375, -0.00034890472306869924, -0.07343056797981262, -0.028478385880589485, -0.011070393957197666, -0.03237925097346306, -0.03028176724910736, 0.07282517105340958, 0.06061096861958504, -0.07745625823736191, -0.015605930238962173, 0.0037940070033073425, 0.033661630004644394, -0.04342722147703171, -0.005489422474056482, 0.05807941406965256, 0.0008078937535174191, 0.006671551149338484, 0.0395122691988945, -0.015154416672885418, 0.005290621425956488, 0.03672937676310539, 0.06031898781657219, 0.04682736471295357, 0.021627815440297127, 0.005751912947744131, -0.05673651397228241, 0.019732510671019554, -0.005491212941706181, -0.10283860564231873, -0.04886462166905403, 0.013075195252895355, -0.0345330610871315, -0.011888498440384865, -0.05654478818178177, 0.0062294951640069485, -0.0468783974647522, 0.06294238567352295, 0.041603341698646545, -0.032700467854738235, -0.004833686631172895, 0.0051030442118644714, 0.029311025515198708, -0.05589096620678902, 0.028700711205601692, 0.05675528198480606, -0.01927059143781662, 0.02512415684759617, -0.07858193665742874, 0.0317126028239727, 0.06733954697847366, -0.047712963074445724, 0.057429056614637375, 0.02015073224902153, -0.07445544749498367, -0.040471576154232025, 0.016774464398622513, 0.012042773887515068, -0.03874431923031807, -0.013206870295107365, 0.015637576580047607, 0.023725461214780807, 0.03941832110285759, 0.018987637013196945, -0.061983585357666016, -0.043149419128894806, 0.017536776140332222, -0.337762713432312, 0.013676500879228115, -0.011091381311416626, -0.02757236175239086, 0.03455376625061035, -0.03751428797841072, 0.025105414912104607, -0.06901417672634125, 0.0037676875945180655, 0.009970483370125294, 0.12128035724163055, -0.025642044842243195, 0.01216896716505289, -0.07511851191520691, 0.003793006995692849, 0.03441055864095688, -0.022123411297798157, -0.009699681773781776, -0.003379752393811941, -0.01080127153545618, 0.0057943882420659065, -0.0332053005695343, -0.014988112263381481, -0.042904723435640335, -0.013094255700707436, -0.02599719539284706, 0.06761255115270615, 0.0008744963561184704, 0.08682344853878021, -0.1148059144616127, 0.07009097188711166, 0.029002994298934937, 0.0018293778412044048, -0.1173894926905632, -0.023131171241402626, -0.02495105005800724, -0.028574088588356972, 0.02353341318666935, 0.003188386559486389, -0.005471921060234308, -0.04424444958567619, 0.004742932040244341, -0.03802190348505974, -0.0404709130525589, -0.006281012203544378, 0.002626781351864338, -0.010930263437330723, -0.05246686190366745, 0.01180257461965084, 0.04189261049032211, -0.03532892093062401, 0.007271702867001295, 0.04009528458118439, 0.019965074956417084, 0.020987121388316154, -0.006165708880871534, -0.020568033680319786, -0.00692865950986743, 0.016766056418418884, 0.02230924367904663, 0.058949943631887436, 0.11306657642126083, 0.02540379948914051, -0.021804818883538246, -0.0059932079166173935, 0.015563122928142548, -0.0060654557310044765, 0.06689184159040451, 0.06349080801010132, -0.030752025544643402, -0.05661526694893837, 0.07082461565732956, -0.01668717712163925, 0.03489874675869942, 0.01851930469274521, 0.031001487746834755, 0.0020508409943431616, -0.010415267199277878, 0.04268483817577362, -0.013226055540144444, -0.001434640376828611, 0.013124766759574413, 0.03481670469045639, -0.005746692419052124, -0.02895750105381012, 0.10463900864124298, -0.014728143811225891, -0.02609161287546158, 0.034892573952674866, 0.014452705159783363, -0.04106474667787552, -0.015396568924188614, 0.021217677742242813, -0.06239035725593567, 0.07638654112815857, -0.001279982621781528, -0.2355668991804123, 0.0525972843170166, 0.0470280721783638, 0.042099639773368835, -0.03873789682984352, 0.0019042222993448377, 0.056130971759557724, -0.0673813745379448, 0.004037756938487291, 0.0110759437084198, 0.042288489639759064, 0.036512672901153564, -0.03464638441801071, -0.020389260724186897, 0.08585341274738312, -0.0022495680022984743, 0.055595818907022476, 0.04030395671725273, 0.030174443498253822, -0.003315502544865012, -0.009504858404397964, -0.03199270740151405, 0.12801390886306763, 0.009173340164124966, 0.020447812974452972, 0.03364444151520729, 0.006962249521166086, 0.009464460425078869, 0.07499215751886368, 0.0006368993781507015, 0.02512490004301071, 0.013404675759375095, 0.07414161413908005, -0.0002640131860971451, 0.013550976291298866, -0.078678198158741, -0.0023179410491138697, 0.051791075617074966, 0.0038288470823317766, -0.010086632333695889, -0.00041996021172963083, 0.0394308939576149, -0.05967186763882637, 0.02632528729736805, 0.09269998967647552, -0.0006832408835180104, -0.0062231565825641155, -0.03389832749962807, -0.08305662125349045, -0.00019711939967237413, -0.005041527096182108, -0.037755824625492096, 0.004892531782388687, -0.013720553368330002, -0.00020882081298623234, 0.060850393027067184, 0.022068478167057037, -0.041951652616262436, -0.06813685595989227, 0.0038090350572019815, 0.01678072288632393, -0.06619871407747269, 0.13058096170425415, 0.0034603376407176256, 0.007711799815297127 ]
[ -0.040486399084329605, 0.021361732855439186, -0.01524206530302763, 0.0003730222233571112, 0.025092793628573418, 0.00859643705189228, 0.00531586492434144, 0.031528498977422714, 0.010635227896273136, -0.02962583117187023, 0.011062775738537312, 0.008461725898087025, 0.014791068620979786, -0.02185886725783348, 0.016237357631325722, -0.04572950303554535, -0.013880462385714054, 0.06622911989688873, 0.01800086535513401, -0.019062263891100883, -0.0204884335398674, 0.0173207875341177, 0.06579890102148056, -0.05658549815416336, 0.017241429537534714, 0.04746338352560997, 0.012904437258839607, -0.00292121060192585, 0.009715687483549118, -0.141257181763649, -0.03412472456693649, -0.005561119876801968, -0.019276544451713562, -0.017669709399342537, -0.019498532637953758, 0.01872563175857067, -0.0018887851620092988, 0.04306855797767639, 0.012599959038197994, -0.0027499094139784575, -0.005162091460078955, 0.0016954494640231133, 0.006871167104691267, -0.006278757471591234, -0.02923170104622841, -0.059891801327466965, -0.03184685483574867, -0.04080118611454964, -0.0038082762621343136, 0.005150204058736563, -0.04853881150484085, -0.023457592353224754, -0.0019114309689030051, 0.00047538397484458983, 0.03768222779035568, -0.02731701172888279, 0.007663100492209196, 0.026976609602570534, -0.00887343380600214, -0.027361592277884483, 0.007399480789899826, -0.010282889008522034, -0.04065748676657677, -0.04116082936525345, -0.019015828147530556, -0.03494904190301895, 0.01529493648558855, 0.018808716908097267, 0.01164492778480053, 0.018379993736743927, -0.05444538593292236, 0.05850938335061073, -0.03824114799499512, -0.024472203105688095, -0.02273540012538433, 0.02527376264333725, 0.021831586956977844, 0.03727605938911438, 0.050623685121536255, -0.013859440572559834, -0.021097036078572273, 0.020469315350055695, 0.0033474124502390623, -0.0030938354320824146, -0.024027027189731598, 0.0026229366194456816, 0.0024910157080739737, 0.018067749217152596, 0.03986571356654167, 0.03320348262786865, -0.023297684267163277, 0.0009047627099789679, 0.012126866728067398, 0.0007593753398396075, -0.0965789407491684, 0.008329800330102444, -0.026994507759809494, -0.003802121616899967, 0.021382784470915794, 0.8219994902610779, 0.001084249117411673, 0.026257356628775597, 0.03335525467991829, 0.009803677909076214, 0.023688795045018196, 0.01928645744919777, -0.042562611401081085, 0.01147396955639124, 0.041826050728559494, -0.041094549000263214, 0.006871145684272051, -0.017263680696487427, 0.015638362616300583, 0.006927561480551958, 0.013919004239141941, 0.0064520337618887424, 0.05887601897120476, 0.018996868282556534, -0.011773381382226944, 0.008965997956693172, 0.029445506632328033, -0.014056948013603687, 0.005229926202446222, -0.017163995653390884, -0.01896699145436287, -0.1517011672258377, -0.022536158561706543, -7.775754071367333e-33, 0.05234605073928833, -0.02578260377049446, 0.019754601642489433, 0.000995745649561286, -0.0026065201964229345, -0.02462879754602909, 0.018807506188750267, 0.037349700927734375, -0.016715912148356438, -0.03604786843061447, -0.022572588175535202, -0.023663049563765526, -0.019434884190559387, -0.02740466594696045, 0.011096484959125519, -0.020029405131936073, -0.003828697605058551, 0.026473134756088257, -0.028363222256302834, 0.02120130881667137, 0.0013462811475619674, 0.009459033608436584, 0.002881019376218319, -0.025998931378126144, 0.012819516472518444, 0.02178516611456871, 0.04600795730948448, 0.014896291308104992, -0.013475553132593632, -0.04019341990351677, 0.016373498365283012, -0.014067590236663818, -0.014386082999408245, -0.029290681704878807, 0.05226960405707359, -0.06331779807806015, -0.021073341369628906, 0.012630052864551544, -0.0035398933105170727, -0.033051278442144394, -0.04201987758278847, -0.005346757359802723, -0.016751231625676155, 0.03527276962995529, -0.02124917507171631, -0.024987028911709785, -0.005935085471719503, 0.03560767322778702, -0.004499437287449837, 0.043477486819028854, -0.0012493596877902746, 0.016835419461131096, 0.022400271147489548, 0.004079281352460384, 0.0037782068829983473, 0.03555111959576607, 0.019395112991333008, 0.04661114141345024, -0.009621309116482735, 0.02641294151544571, -0.019610034301877022, 0.008295840583741665, -0.020321806892752647, 0.050814319401979446, 0.004966104868799448, 0.05006599798798561, -0.0381857305765152, -0.017090896144509315, 0.002778236987069249, 0.06352275609970093, -0.03161099925637245, 0.01424228586256504, 0.00447060028091073, 0.006487433332949877, 0.008773935958743095, -0.014850863255560398, -0.00625638710334897, -0.0014273116830736399, 0.014382974244654179, 0.04066847264766693, 0.018870266154408455, -0.022015215829014778, -0.012562566436827183, -0.03948330506682396, -0.03304128348827362, 0.01359464693814516, -0.01718921586871147, -0.024029480293393135, 0.03708405792713165, 0.02178630419075489, 0.0724659413099289, 0.05216819420456886, -0.014578166417777538, 0.0000370337838830892, -0.0234063770622015, 7.739686965948228e-33, 0.012616478838026524, 0.016028327867388725, -0.03698771446943283, -0.01647169329226017, -0.000621773477178067, 0.008166083134710789, -0.0010231108171865344, 0.009830901399254799, -0.06512778252363205, 0.03767696022987366, -0.03315155208110809, 0.036481596529483795, -0.023421846330165863, 0.009246652945876122, 0.05274137482047081, -0.027603253722190857, 0.03047987073659897, 0.001333787222392857, 0.02443421632051468, 0.003593911649659276, 0.02761980891227722, 0.005807248409837484, 0.014778630807995796, 0.005371447652578354, 0.033857014030218124, 0.024099048227071762, -0.02174088917672634, 0.04671449214220047, -0.026638800278306007, 0.002171983476728201, 0.04319895803928375, -0.03966895118355751, -0.020507853478193283, -0.0714014321565628, -0.0076112886890769005, 0.01857335865497589, -0.0014707199297845364, -0.0005029821768403053, 0.01004995871335268, -0.0023071032483130693, 0.009277945384383202, -0.052271388471126556, 0.010370951145887375, 0.03683418408036232, 0.020604098215699196, 0.008459492586553097, 0.010978024452924728, 0.027891654521226883, -0.010194441303610802, 0.013407179154455662, -0.009090909734368324, 0.024542275816202164, 0.007220628205686808, 0.012354012578725815, 0.020426802337169647, -0.012945139780640602, -0.04571577161550522, 0.0347500815987587, -0.0035227995831519365, 0.05739258602261543, -0.0000061837649809604045, -0.06790240108966827, -0.021196572110056877, 0.040603045374155045, -0.03965494781732559, -0.005875710863620043, 0.022429117932915688, 0.03252847492694855, -0.015755005180835724, -0.013095391914248466, 0.025811675935983658, -0.009009645320475101, -0.011333012022078037, 0.0337841734290123, 0.05432508885860443, -0.058438740670681, 0.006635393016040325, 0.023071128875017166, -0.03134220466017723, 0.030585631728172302, 0.01230195164680481, 0.023350819945335388, -0.03821343928575516, -0.026750678196549416, 0.011008091270923615, 0.00367628107778728, -0.020053699612617493, 0.012918916530907154, 0.009336619637906551, -0.05301139876246452, -0.005068433471024036, 0.0006046927301213145, -0.0231862124055624, 0.021066782996058464, -0.0004810949321836233, -1.2768812673868979e-8, 0.008397381752729416, -0.017371362075209618, -0.012515626847743988, -0.007510150782763958, 0.036528632044792175, 0.01663987524807453, -0.04318524897098541, -0.0036938018165528774, -0.03767240419983864, 0.020708395168185234, 0.02298588491976261, 0.026873473078012466, 0.010531150735914707, 0.036127280443906784, -0.028783932328224182, -0.03508232533931732, 0.0062657734379172325, -0.0007899019401520491, 0.028149420395493507, -0.0015414117369800806, 0.016409117728471756, 0.01656198501586914, 0.0033162699546664953, 0.010199159383773804, -0.013704212382435799, -0.040684886276721954, 0.05024079605937004, -0.054028622806072235, 0.0013852529227733612, 0.006592252757400274, -0.017624439671635628, 0.0010410185204818845, -0.042490847408771515, 0.014892155304551125, -0.027204396203160286, -0.03267960622906685, -0.020116835832595825, 0.030364513397216797, 0.004108047112822533, 0.03158670291304588, -0.03184131532907486, -0.006555603817105293, -0.015236681327223778, -0.01618458889424801, -0.025769969448447227, 0.026278669014573097, -0.02999478206038475, 0.014753961004316807, -0.012554063461720943, -0.039520420134067535, 0.005971468519419432, 0.000525408424437046, 0.019521264359354973, -0.00597608694806695, 0.011189006268978119, -0.003124619834125042, 0.03641194850206375, -0.02049247734248638, -0.042009975761175156, 0.013392721302807331, 0.050165727734565735, -0.007406337186694145, -0.02330094948410988, -0.040325090289115906 ]
downloading-the-jdk-6-source-code
https://markhneedham.com/blog/2012/02/11/downloading-the-jdk-6-source-code
false
2012-02-28 00:21:59
Haskell: Creating a sliding window over a collection
[ "haskell" ]
[ "Haskell" ]
A couple of years ago when I was playing around with F# I came across the +++<cite>+++http://msdn.microsoft.com/en-us/library/ee340420.aspx[Seq.windowed]+++</cite>+++ function which allows you to http://www.markhneedham.com/blog/2010/01/14/f-refactoring-to-sequencefor-expressions/[create a sliding window of a specific size over a collection]. Taking an example from the F# documentation page: [source,ocaml] ---- let seqNumbers = [ 1.0; 1.5; 2.0; 1.5; 1.0; 1.5 ] :> seq<float> let seqWindows = Seq.windowed 3 seqNumbers ---- We end up with this: [source,text] ---- Initial sequence: 1.0 1.5 2.0 1.5 1.0 1.5 Windows of length 3: [|1.0; 1.5; 2.0|] [|1.5; 2.0; 1.5|] [|2.0; 1.5; 1.0|] [|1.5; 1.0; 1.5|] ---- Problem 8 of Project Euler is defined like so: ____ Find the greatest product of five consecutive digits in the 1000-digit number. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 62229893423380308135336276614282806444486645238749 30358907296290491560440772390713810515859307960866 70172427121883998797908792274921901699720888093776 65727333001053367881220235421809751254540594752243 52584907711670556013604839586446706324415722155397 53697817977846174064955149290862569321978468622482 83972241375657056057490261407972968652414535100474 82166370484403199890008895243450658541227588666881 16427171479924442928230863465674813919123162824586 17866458359124566529476545682848912883142607690042 24219022671055626321111109370544217506941658960408 07198403850962455444362981230987879927244284909188 84580156166097919133875499200524063689912560717606 05886116467109405077541002256983155200055935729725 71636269561882670428252483600823257530420752963450 ____ In order to do that I need to convert that number into arrays of size 5 which first involves converting the number into an array of the individual digits: [source,haskell] ---- charToArray :: [Char] -> [Int] charToArray [] = [] charToArray (x:xs) = (read [x]::Int) : (charToArray xs) number = "7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450" ---- As far as I know there isn't a +++<cite>+++windowed+++</cite>+++ function in Haskell so I wrote the following one to get the arrays of 5 consecutive elements: [source,haskell] ---- windowed :: Int -> [a] -> [[a]] windowed size ls = (case ls of [] -> [] x:xs -> if length ls >= size then (take size ls) : windowed size xs else windowed size xs) ---- We can then use it like this: [source,haskell] ---- *Main> maximum (map (\ls -> foldl (*) 1 ls) (windowed 5 (charToArray number))) 40824 ----
null
null
[ -0.015326068736612797, 0.006219795439392328, -0.017574623227119446, 0.028713058680295944, 0.07261642813682556, 0.02328546531498432, 0.014593824744224548, 0.03789740055799484, 0.00008028934826143086, -0.00869890209287405, -0.004588826093822718, -0.00332456361502409, -0.06620140373706818, 0.00170590088237077, 0.01359179150313139, 0.05965996906161308, 0.07586243003606796, -0.03211567923426628, 0.014867776073515415, 0.003886364633217454, 0.014164229854941368, 0.055754002183675766, 0.014315172098577023, 0.01029386930167675, 0.008807120844721794, 0.0075509436428546906, -0.0089701097458601, -0.019016612321138382, -0.055604491382837296, 0.017217477783560753, 0.03292985260486603, 0.021096844226121902, -0.016524169594049454, -0.03523736074566841, 0.03476162627339363, -0.016363706439733505, -0.03515017777681351, -0.011298231780529022, -0.009505233727395535, 0.009353864006698132, -0.05587570369243622, -0.0160320196300745, -0.013090072199702263, 0.008221170864999294, -0.06192086264491081, 0.008526066318154335, -0.056649185717105865, -0.01509958878159523, -0.040176503360271454, 0.009636558592319489, -0.06299153715372086, 0.01407090574502945, 0.008478453382849693, -0.024398956447839737, 0.0076730563305318356, 0.05088946968317032, 0.005153539590537548, -0.034729473292827606, 0.03780718892812729, -0.05241398885846138, 0.041167158633470535, -0.0248836949467659, 0.02984095923602581, 0.051571641117334366, 0.015859153121709824, -0.00952333677560091, -0.003148204181343317, 0.04395436495542526, -0.03974853828549385, -0.019724737852811813, -0.013539397157728672, 0.0006855977699160576, -0.034502770751714706, -0.034550078213214874, -0.0000945598803809844, -0.05040736496448517, -0.01169460266828537, 0.05238955095410347, 0.025193456560373306, 0.056456901133060455, -0.002272998448461294, 0.06030002608895302, 0.0499393567442894, 0.03293829783797264, -0.008761310018599033, 0.0046280063688755035, -0.023614095523953438, -0.011199714615941048, -0.04926597326993942, 0.04797233268618584, -0.007689703721553087, -0.051973409950733185, 0.013558878563344479, 0.014623699709773064, 0.001270738779567182, -0.00007470156560884789, 0.009753025136888027, 0.014798004180192947, 0.003675758605822921, 0.011140583083033562, -0.041682783514261246, -0.05572328343987465, 0.03811972588300705, 0.0018339853268116713, -0.07915391027927399, 0.004171776585280895, -0.012231689877808094, -0.005132464226335287, 0.02518676035106182, 0.015836872160434723, -0.0347914919257164, 0.008455869741737843, -0.026872972026467323, 0.013910215348005295, -0.08691190928220749, 0.04324227198958397, 0.006274499464780092, 0.00229789805598557, 0.0061009046621620655, 0.008055676706135273, 0.024293189868330956, 0.024660658091306686, 0.005383813753724098, 0.06489440053701401, -0.006851349491626024, 0.03472264111042023, 0.0030912701040506363, 0.08077983558177948, -0.02967960014939308, -0.08752448856830597, -0.033738162368535995, 0.07737503200769424, -0.035873740911483765, -0.0053945910185575485, 0.007188851945102215, -0.02587299980223179, -0.042081788182258606, 0.0008306493400596082, 0.028985757380723953, 0.02746371552348137, 0.02232447639107704, -0.05682012811303139, 0.010406751185655594, -0.050718627870082855, 0.0016816506395116448, 0.02272031456232071, -0.013493604958057404, -0.00101588130928576, -0.04201330989599228, 0.0028843265026807785, 0.018086863681674004, 0.02120085433125496, 0.06478763371706009, -0.03773066774010658, 0.016968505457043648, 0.05575873330235481, 0.02886972390115261, 0.0057785650715231895, -0.022960593923926353, 0.012208488769829273, 0.041231848299503326, 0.0077794259414076805, 0.0029905412811785936, 0.059372562915086746, -0.015726733952760696, 0.019949108362197876, 0.041214823722839355, 0.054022110998630524, -0.04756053537130356, -0.009587201289832592, -0.037810005247592926, -0.019214501604437828, 0.04962316155433655, -0.01508739311248064, -0.018530262634158134, 0.019714346155524254, 0.08527478575706482, 0.00875499751418829, 0.06841830909252167, -0.013997928239405155, -0.08555891364812851, 0.010253364220261574, 0.02254714071750641, 0.04727949947118759, -0.0034797515254467726, -0.013865089043974876, 0.07434288412332535, 0.034673646092414856, 0.000534051563590765, 0.018547747284173965, -0.057820387184619904, -0.0695057064294815, -0.046048060059547424, -0.031026380136609077, 0.07207747548818588, -0.016305794939398766, 0.01256594993174076, 0.01752549782395363, 0.014759386889636517, 0.04595949128270149, 0.025910532101988792, 0.006462812889367342, 0.043891482055187225, -0.008439193479716778, -0.04380099102854729, 0.05800958350300789, 0.036841489374637604, -0.0015356602380052209, -0.05508916452527046, 0.017124099656939507, -0.008430097252130508, 0.017857246100902557, 0.03991575911641121, -0.022580169141292572, 0.029658854007720947, 0.018629547208547592, 0.04481132701039314, -0.037651993334293365, 0.024570755660533905, -0.06064850836992264, -0.004944516811519861, -0.006149560213088989, -0.006664973217993975, -0.0059755234979093075, 0.0014960307162255049, 0.12925554811954498, 0.07098881900310516, -0.052782874554395676, -0.02747488208115101, -0.006219244562089443, 0.012279742397367954, -0.039380136877298355, 0.004746037535369396, -0.00435640849173069, 0.013258444145321846, 0.01007807720452547, -0.03580590710043907, -0.002247847616672516, 0.026792461052536964, -0.04450878128409386, 0.01489917654544115, 0.06707664579153061, -0.02086840756237507, 0.0443742573261261, 0.014387749135494232, -0.05355711281299591, 0.009396682493388653, -0.010948963463306427, -0.052568744868040085, -0.002358810743317008, 0.024168720468878746, -0.0015062472084537148, 0.04496597871184349, -0.03220503032207489, -0.04344175383448601, -0.000792468199506402, -0.015012044459581375, 0.012699880637228489, 0.0536220520734787, 0.06413362920284271, -0.008386329747736454, 0.04392768442630768, -0.0038572922348976135, -0.02029368281364441, -0.027139786630868912, -0.06165150925517082, -0.03193167597055435, -0.00907113216817379, 0.03604567050933838, 0.040803566575050354, -0.008400560356676579, 0.035632967948913574, 0.018209775909781456, 0.01426845882087946, -0.0029038942884653807, -0.020413093268871307, 0.05308529734611511, -0.021657759323716164, -0.07592370361089706, -0.05290504917502403, -0.019675645977258682, 0.06270209699869156, -0.040244314819574356, -0.03759700804948807, -0.006702486891299486, -0.03810349851846695, 0.043259140104055405, -0.0878102257847786, -0.02722836658358574, -0.004284341353923082, -0.010789464227855206, 0.02796064130961895, -0.04715171828866005, 0.03874145820736885, 0.061323132365942, -0.002262089168652892, 0.026179062202572823, 0.02228148654103279, 0.017630094662308693, 0.032313715666532516, -0.004226354416459799, 0.02507440187036991, 0.0471312552690506, -0.013965805992484093, -0.011460336856544018, -0.0524778738617897, 0.012850480154156685, -0.007557499222457409, -0.26873067021369934, 0.03020031936466694, -0.02796318009495735, -0.03918008506298065, 0.020313069224357605, -0.006224642973393202, 0.031224558129906654, -0.047661613672971725, -0.020933635532855988, 0.015813009813427925, -0.012771645560860634, -0.029521329328417778, -0.026461588218808174, 0.04377793148159981, 0.012980787083506584, 0.006319570355117321, 0.017160987481474876, -0.047593165189027786, 0.002545339986681938, 0.05172811821103096, 0.004518647212535143, -0.06967074424028397, -0.0025448810774832964, 0.05947278067469597, 0.019724858924746513, 0.03054952807724476, -0.07816817611455917, 0.025435129180550575, -0.057362642139196396, -0.018638592213392258, -0.015826039016246796, -0.004309261683374643, 0.016740312799811363, -0.02778337523341179, -0.026413116604089737, -0.05260062962770462, 0.01593792252242565, -0.006936743855476379, 0.006270436570048332, 0.008644147776067257, -0.012979025021195412, -0.04914708063006401, 0.040416181087493896, 0.006451919674873352, 0.08265021443367004, 0.024966061115264893, -0.03350627422332764, -0.013431275263428688, -0.03193468227982521, 0.0629609152674675, -0.023097055032849312, -0.017819661647081375, -0.02178899571299553, 0.051559314131736755, 0.0009405106538906693, -0.044909484684467316, -0.0035034907050430775, -0.009205013513565063, -0.03295842185616493, -0.013436105102300644, -0.006041856948286295, -0.049033671617507935, -0.007795410230755806, -0.048959895968437195, -0.010112963616847992, -0.07842094451189041, -0.07521793246269226, -0.010048791766166687, 0.05509454384446144, 0.008812293410301208, -0.007908008061349392, -0.007215374615043402, 0.00689662154763937, -0.1076161339879036, -0.04077441617846489, -0.018660861998796463, -0.022676918655633926, 0.008063794113695621, 0.007950013503432274, 0.03431824594736099, -0.05009074881672859, -0.0626169741153717, 0.01906312070786953, 0.03544685244560242, 0.04295889660716057, -0.01608116365969181, 0.003152079414576292, -0.010448729619383812, -0.017808586359024048, -0.01636369898915291, 0.06420059502124786, -0.006325447931885719, -0.021582692861557007, -0.029765188694000244, 0.027950439602136612, -0.022553909569978714, 0.012377802282571793, 0.03392505645751953, 0.0477135069668293, 0.024364709854125977, 0.06166522577404976, -0.04037099704146385, 0.02402513474225998, -0.061220332980155945, -0.03936634212732315, 0.004365014377981424, -0.04767422378063202, 0.012745002284646034, 0.03499215841293335, 0.02379995584487915, -0.023648574948310852, -0.02932901121675968, 0.016455698758363724, -0.03655504807829857, -0.020492279902100563, -0.012215918861329556, 0.03133213147521019, 0.024062836542725563, 0.023439716547727585, -0.013174490071833134, -0.048537228256464005, 0.022326258942484856, -0.0027589937672019005, -0.010569342412054539, -0.05198526382446289, 0.003431956982240081, -0.017809418961405754, -0.006426072679460049, 0.004551175981760025, 0.02818073146045208, -0.026071032509207726, 0.046347178518772125, 0.00046443389146588743, -0.026493016630411148, 0.035593338310718536, 0.007290874142199755, -0.016408169642090797, -0.028205372393131256, -0.003380324225872755, 0.002174508525058627, 0.002575861057266593, 0.03122875839471817, 0.03661784529685974, 0.027521269395947456, 0.03890697658061981, 0.03162948042154312, 0.0480232909321785, -0.018202198669314384, -0.006834452040493488, 0.02541985549032688, 0.013681072741746902, -0.05457919090986252, 0.05117378756403923, -0.033937692642211914, -0.014637528918683529, -0.0037275562062859535, 0.05183882266283035, -0.022190162912011147, -0.05022946372628212, -0.05445105582475662, 0.0388319194316864, -0.016378574073314667, -0.02131940983235836, -0.046727731823921204, 0.01257232204079628, 0.0630180761218071, -0.039238449186086655, 0.052550699561834335, -0.005265142768621445, 0.02262282185256481, 0.04028497636318207, 0.02848997712135315, -0.024893514811992645, 0.02964477241039276, -0.013440216891467571, -0.007205340079963207, -0.015161166898906231, 0.007891135290265083, 0.021817483007907867, 0.006945110857486725, 0.002621700754389167, -0.03666387125849724, 0.006557254586368799, -0.003167624119669199, 0.04674962908029556, 0.025651071220636368, -0.002740334952250123, 0.007433540187776089, -0.039048776030540466, -0.024485912173986435, -0.01757773384451866, 0.0008086371817626059, -0.04380994290113449, 0.023694278672337532, -0.05446432903409004, -0.05928327143192291, -0.0037898614536970854, 0.06309759616851807, -0.0038026263937354088, -0.007085764314979315, -0.011825568042695522, 0.0035388043615967035, -0.013550500385463238, 0.03488019481301308, 0.06235214322805405, -0.04384813830256462, 0.026507414877414703, -0.018420614302158356, 0.03301538899540901, 0.021146129816770554, 0.02511242777109146, -0.024914244189858437, -0.02704545296728611, -0.015733370557427406, 0.003522224025800824, -0.013215974904596806, -0.02473360486328602, -0.019762026146054268, -0.006193715613335371, -0.02145005203783512, 0.0034252877812832594, -0.020007072016596794, 0.016384750604629517, -0.04415855184197426, -0.011903918348252773, -0.010228358209133148, -0.07735083997249603, -0.012984802946448326, 0.045704398304224014, -0.025102049112319946, 0.01570369489490986, -0.03886813670396805, 0.03367774188518524, 0.024340270087122917, -0.01382269337773323, -0.01672767661511898, -0.07235515117645264, 0.006284107454121113, -0.04659024253487587, 0.04765402153134346, -0.003872576169669628, -0.0384167805314064, -0.020549830049276352, 0.00787864625453949, -0.026236558333039284, 0.006977949757128954, 0.0016996590420603752, -0.05415054038167, 0.008823690935969353, 0.044948551803827286, -0.03428621590137482, 0.04893331229686737, -0.009127249009907246, -0.01600411906838417, 0.06290138512849808, -0.0400395430624485, 0.0022602463141083717, -0.03581487759947777, -0.046059153974056244, 0.0014615172985941172, -0.020031295716762543, 0.0085105886682868, -0.04315175488591194, 0.060667332261800766, 0.07321900129318237, 0.033820752054452896, 0.04841199517250061, 0.017729157581925392, 0.04162689298391342, -0.012700045481324196, 0.009835552424192429, -0.08844868093729019, 0.01589028164744377, 0.025215955451130867, 0.021152479574084282, -0.01858316920697689, 0.006337675265967846, -0.007467837538570166, 0.022790316492319107, -0.07446819543838501, -0.023164520040154457, 0.009291638620197773, 0.009524676017463207, -0.015959639102220535, 0.024705421179533005, -0.013422064483165741, -0.0077161299996078014, 0.03362150117754936, -0.02475612796843052, -0.01671259105205536, -0.021084295585751534, 0.05162867158651352, -0.021802259609103203, 0.023259099572896957, -0.03554835915565491, 0.004704138729721308, 0.055031973868608475, 0.026405848562717438, 0.023316161707043648, 0.05208398029208183, -0.007451806217432022, 0.03156092390418053, 0.006079791579395533, -0.008170036599040031, -0.018009604886174202, -0.0023475398775190115, -0.018523115664720535, -0.039815619587898254, 0.016126977279782295, -0.00382687384262681, -0.01488764863461256, -0.05107003450393677, 0.055631838738918304, 0.029727177694439888, 0.0020374178420752287, -0.05187232792377472, 0.010123577900230885, -0.03728392720222473, -0.0128717552870512, -0.019695237278938293, -0.00361449527554214, -0.02743716351687908, 0.07958453893661499, -0.0012295162305235863, -0.030279673635959625, 0.06675463169813156, 0.016740702092647552, -0.008672322146594524, 0.004892953671514988, 0.08667278289794922, 0.09143920242786407, 0.057399045675992966, 0.0021538478322327137, 0.05840679630637169, -0.043385569006204605, -0.05629346892237663, 0.000009696056622487959, -0.03457900881767273, -0.005313938483595848, -0.029838193207979202, 0.03527478128671646, 0.08619844913482666, -0.01454219315201044, 0.05717220902442932, -0.054102689027786255, -0.005839346908032894, -0.02130860462784767, 0.01841966062784195, 0.03660077229142189, 0.07716034352779388, 0.01824970915913582, 0.018775735050439835, -0.011001487262547016, -0.05243710055947304, 0.055211447179317474, -0.012183078564703465, 0.009855511598289013, -0.02445521578192711, 0.029304783791303635, 0.013899029232561588, -0.0005901434342376888, 0.02742793969810009, 0.07611764222383499, -0.04666970670223236, -0.030197707936167717, 0.015713686123490334, 0.025902273133397102, 0.02578560821712017, -0.0026779458858072758, -0.04093805328011513, -0.0033020428381860256, -0.010049188509583473, 0.004371649120002985, -0.017843540757894516, -0.016764050349593163, -0.014990781433880329, 0.013150382786989212, -0.042307399213314056, 0.011581066064536572, 0.010740143246948719, -0.024772442877292633, -0.052750907838344574, -0.047882284969091415, -0.04097939655184746, -0.04463712126016617, -0.07098040729761124, 0.008658023551106453, -0.010361053049564362, -0.029649710282683372, -0.02868042141199112, -0.013461561873555183, -0.01676485501229763, -0.0379110649228096, 0.018035974353551865, -0.03067346289753914, -0.03472977131605148, 0.016436055302619934, 0.023787442594766617, 0.02419542707502842, 0.02754194103181362, 0.05696387588977814, -0.03258613497018814, -0.004267209675163031, -0.03636835142970085, -0.007916592992842197, 0.04642204940319061, 0.031166430562734604, 0.0028682416304945946, -0.07523806393146515, 0.027750739827752113, 0.030724581331014633, 0.001112543628551066, -0.09966259449720383, -0.005288739688694477, 0.012869251891970634, -0.040361128747463226, 0.01815338246524334, -0.01663721539080143, -0.005015289410948753, -0.04683006554841995, 0.0023470320738852024, 0.013566364534199238, -0.021748442202806473, 0.048094335943460464, -0.04129743576049805, 0.059367600828409195, 0.0005939186085015535, 0.0021428740583360195, -0.006662872154265642, -0.007128212600946426, -0.025782013311982155, 0.03020855411887169, -0.040389519184827805, -0.02712726965546608, -0.04438646882772446, -0.07524100691080093, 0.036840569227933884, -0.008084757253527641, -0.032495949417352676, -0.04442007839679718, 0.029717763885855675, 0.037678178399801254, -0.05770299211144447, 0.04931121692061424, -0.04513362795114517, 0.0032123231794685125, -0.011714557185769081, -0.03337181732058525, 0.02009321190416813, 0.043104205280542374, 0.03641711175441742, 0.028944574296474457, 0.03102659061551094, -0.02559446357190609, -0.0020340424962341785, 0.0005553283262997866, 0.011054092086851597, 0.03469003736972809, 0.01471707597374916, 0.048090506345033646 ]
[ -0.12942925095558167, -0.020045412704348564, -0.05048619210720062, -0.0027899746783077717, 0.012206438928842545, -0.006563366390764713, -0.030253469944000244, 0.031178193166851997, 0.02074608765542507, 0.010744855739176273, -0.012461799196898937, -0.03237905725836754, -0.01172606460750103, -0.013482128269970417, 0.03822369873523712, -0.016650905832648277, -0.026778418570756912, -0.045260705053806305, -0.026506369933485985, 0.016546789556741714, 0.049552593380212784, -0.03975781798362732, -0.05029608681797981, -0.03693990409374237, -0.006894839461892843, 0.04581884667277336, 0.007428396958857775, -0.052227932959795, 0.007044992409646511, -0.22514638304710388, -0.002490488113835454, 0.018848225474357605, 0.05034569650888443, -0.025680799037218094, -0.002605059649795294, 0.008637681603431702, -0.0028705925215035677, 0.020281275734305382, -0.008330614306032658, 0.05205389857292175, 0.01740013249218464, 0.02697550691664219, -0.045606356114149094, -0.014917387627065182, 0.03777509182691574, -0.011426441371440887, -0.035674646496772766, -0.02798163704574108, 0.0037344724405556917, 0.0089027751237154, -0.08209851384162903, -0.00030488334596157074, -0.018055792897939682, 0.014615915715694427, -0.005893785040825605, 0.0327439159154892, 0.05467712879180908, 0.03761334344744682, 0.009107277728617191, 0.029228592291474342, 0.02158275432884693, -0.026278048753738403, -0.12584136426448822, 0.10652933269739151, 0.02171415649354458, 0.0467216819524765, -0.01606561988592148, -0.041887469589710236, -0.021820422261953354, 0.11982903629541397, -0.0034308203030377626, -0.02962866984307766, -0.05866127833724022, 0.07324609160423279, 0.031578898429870605, -0.007073038257658482, -0.014091938734054565, 0.029441790655255318, 0.027480171993374825, -0.01354331336915493, -0.02011358179152012, -0.020289143547415733, -0.013550203293561935, -0.04815201088786125, -0.031260665506124496, -0.0042846850119531155, -0.0022052861750125885, 0.04180068522691727, 0.021564090624451637, 0.009818772785365582, 0.03041919879615307, -0.007079307921230793, 0.030697179958224297, 0.01541701890528202, -0.06653514504432678, -0.025779806077480316, 0.01423805020749569, 0.0007472981233149767, 0.0008897713851183653, 0.3939100503921509, -0.01798568293452263, 0.0032496964558959007, 0.04350334033370018, 0.015366165898740292, 0.0020843851380050182, -0.0030818507075309753, 0.0168303232640028, -0.05662180110812187, -0.002912584925070405, -0.06157076358795166, -0.011932295747101307, 0.015613446943461895, 0.09775020182132721, -0.06203656271100044, 0.010866427794098854, 0.004044123459607363, 0.031921230256557465, -0.017758598551154137, 0.013478986918926239, 0.016089553013443947, -0.007212931290268898, 0.03409853205084801, -0.0011695961002260447, 0.010272316634654999, 0.03452162444591522, -0.040649350732564926, 0.010011294856667519, 0.04475494846701622, 0.032911788672208786, 0.018880173563957214, 0.06807181984186172, -0.034307871013879776, -0.07057895511388779, -0.007075938396155834, -0.00010944124369416386, 0.036000579595565796, 0.01375120785087347, -0.02571209892630577, 0.007360158488154411, 0.012799181044101715, -0.01915348321199417, -0.034336403012275696, 0.027850251644849777, 0.0013609272427856922, -0.04080332815647125, 0.14331001043319702, -0.00551473256200552, -0.04839443042874336, -0.04104779288172722, -0.040932781994342804, 0.02006707713007927, 0.039217785000801086, 0.0023352070711553097, -0.055267948657274246, 0.040567755699157715, 0.033786024898290634, 0.0906364768743515, 0.005835363175719976, -0.07791083306074142, -0.007032387424260378, -0.021785009652376175, -0.0027574070263653994, -0.03161708638072014, 0.07258597761392593, 0.04692009091377258, -0.07396050542593002, -0.032056182622909546, 0.011458302848041058, 0.021770520135760307, -0.08904051780700684, 0.03149501234292984, -0.006873982958495617, -0.07466508448123932, 0.02330165170133114, 0.0604754202067852, -0.014073919504880905, -0.004333024378865957, 0.018259143456816673, 0.04191529005765915, 0.010659078136086464, -0.03673709183931351, -0.012685000896453857, -0.04726458713412285, 0.006251189392060041, -0.05129185691475868, -0.07828792929649353, -0.05819491669535637, 0.021493716165423393, -0.024278266355395317, -0.0026936496142297983, 0.006783070042729378, 0.0020392409060150385, -0.059552066028118134, 0.09656079858541489, -0.051336053758859634, -0.06092020496726036, 0.013015582226216793, 0.03536014258861542, -0.018455687910318375, -0.042147114872932434, 0.03467497602105141, 0.02130022831261158, -0.012171037495136261, 0.038407836109399796, -0.040336012840270996, 0.026238562539219856, 0.0369180329144001, -0.04148397967219353, 0.06083090975880623, 0.04010295867919922, -0.03150561451911926, -0.021176183596253395, -0.009438294917345047, 0.029595794156193733, 0.000636200828012079, -0.025397999212145805, -0.014901638962328434, -0.009374040178954601, 0.015076704323291779, 0.005660494789481163, -0.003708409145474434, -0.05436849966645241, -0.03677327558398247, -0.36997395753860474, -0.041159119457006454, -0.036926787346601486, -0.02949863113462925, 0.013939755037426949, -0.046308670192956924, -0.008133135735988617, -0.03612295910716057, -0.017241431400179863, 0.02475590445101261, 0.0315522626042366, -0.00789558608084917, -0.0004451206768862903, -0.07487386465072632, -0.027432486414909363, 0.027408583089709282, -0.03085671365261078, -0.05811207368969917, -0.014376470819115639, 0.029555559158325195, -0.0028814314864575863, 0.02878887765109539, -0.06829152256250381, -0.029767442494630814, -0.00551478611305356, -0.042040880769491196, 0.0898355022072792, 0.008440284989774227, 0.08532197028398514, -0.02318662963807583, 0.06385762244462967, 0.020276527851819992, 0.007439029403030872, -0.013130941428244114, 0.0032615759409964085, -0.030776789411902428, -0.015183054842054844, 0.03263245150446892, 0.024179324507713318, -0.03159785270690918, -0.049783047288656235, 0.008859898895025253, -0.04600749537348747, -0.02289492078125477, -0.05358737334609032, 0.018249303102493286, -0.012366699986159801, -0.06502499431371689, 0.011369847692549229, 0.12182319909334183, 0.004205137956887484, -0.006172350142151117, 0.016522638499736786, 0.031221292912960052, 0.02118513733148575, -0.0030800842214375734, -0.06375319510698318, -0.006477427668869495, -0.003957027569413185, -0.057633671909570694, 0.04509790614247322, 0.034064773470163345, 0.04161183536052704, -0.016485387459397316, -0.0005945330485701561, 0.007275470066815615, -0.009504912421107292, -0.006546621676534414, 0.06313317269086838, -0.02719835750758648, -0.026310240849852562, 0.07599814981222153, 0.014747840352356434, 0.023471489548683167, 0.02239138074219227, 0.04154585301876068, 0.016615139320492744, 0.0032462812960147858, -0.006385787855833769, -0.016516437754034996, 0.049334559589624405, -0.0241744052618742, 0.026537256315350533, -0.04203178733587265, -0.001011404674500227, 0.009153577499091625, -0.003226316999644041, 0.0056440215557813644, 0.0421612523496151, -0.004951860290020704, -0.017762472853064537, -0.00027826163568533957, -0.0063625238835811615, -0.06788605451583862, 0.07107870280742645, 0.009201841428875923, -0.2680709660053253, 0.031260956078767776, 0.07047382742166519, 0.0462491437792778, -0.012436064891517162, 0.026497408747673035, 0.01839418150484562, -0.06810213625431061, 0.014622741378843784, 0.006083558779209852, -0.023983171209692955, 0.05023692920804024, 0.017094116657972336, -0.01018578838557005, 0.0208427757024765, -0.01935650035738945, 0.018185976892709732, -0.004033099859952927, 0.03452572971582413, 0.017282184213399887, 0.03884674236178398, 0.01178957149386406, 0.18562686443328857, 0.021302800625562668, 0.011905227787792683, 0.010054090060293674, 0.012602992355823517, 0.024842403829097748, 0.0766388475894928, 0.010592518374323845, 0.023512063547968864, -0.0019722783472388983, 0.05316898971796036, -0.0009654961177147925, 0.018563298508524895, -0.06048076972365379, -0.013805757276713848, 0.08434534817934036, 0.02515515126287937, 0.006348535884171724, -0.013609600253403187, 0.01506457757204771, -0.024211499840021133, 0.013817195780575275, 0.0864715427160263, 0.005516240373253822, 0.014690288342535496, -0.01953844353556633, -0.03728055581450462, 0.0037911003455519676, -0.035549603402614594, 0.0005865275161340833, 0.03279777243733406, -0.0260249525308609, 0.004042585380375385, 0.06083868816494942, 0.02098689414560795, -0.03889628127217293, 0.0010165702551603317, 0.028984570875763893, -0.04007251560688019, -0.02937583439052105, 0.09374924749135971, 0.04519002512097359, 0.030079388990998268 ]
[ -0.01594351790845394, 0.030870255082845688, -0.02411196380853653, 0.04101463034749031, -0.002189398044720292, -0.013674075715243816, 0.02488858811557293, 0.0125813577324152, 0.010848596692085266, -0.008755086921155453, -0.04305761680006981, -0.00001032405452860985, 0.00973829347640276, -0.015678223222494125, -0.015355768613517284, 0.00449057063087821, -0.019168924540281296, -0.013615395873785019, 0.01182975247502327, -0.00670371949672699, -0.025253871455788612, 0.02410198003053665, -0.0011607239721342921, 0.0002740158815868199, 0.009288971312344074, 0.009086575359106064, -0.02776297740638256, 0.003974150400608778, 0.03564256429672241, -0.11306032538414001, -0.027491554617881775, -0.02351958304643631, 0.00041958410292863846, 0.002638230798766017, 0.0023650615476071835, -0.03163715824484825, 0.02504117414355278, -0.014888244681060314, -0.0249184463173151, 0.005967501550912857, -0.025739111006259918, 0.0022548881825059652, -0.03326096758246422, -0.011277583427727222, -0.017116287723183632, -0.023729700595140457, -0.0218302384018898, -0.02058718539774418, -0.017889225855469704, 0.04022063687443733, -0.039413247257471085, 0.02291944995522499, -0.04911867529153824, -0.006124426610767841, 0.009256542660295963, -0.02308204025030136, -0.013881278224289417, -0.021288573741912842, 0.002706250874325633, -0.0010559611255303025, 0.024521058425307274, -0.0035287030041217804, -0.05606167018413544, -0.029341695830225945, 0.01597636379301548, -0.004572385456413031, -0.02361634001135826, -0.007586777210235596, -0.0148983895778656, 0.006767277140170336, -0.009540951810777187, 0.004720890894532204, -0.006735118106007576, -0.027847273275256157, 0.015219839289784431, 0.0037043497432023287, -0.010746877640485764, -0.011591375805437565, 0.0012901978334411979, -0.012961020693182945, -0.007862389087677002, -0.00722770718857646, -0.008627068251371384, 0.0011437108041718602, 0.011949448846280575, 0.009305842220783234, -0.010492799803614616, 0.03926771134138107, 0.02466745302081108, -0.0002743373916018754, -0.027268631383776665, -0.015667272731661797, 0.013293525204062462, 0.02937237359583378, -0.04813898354768753, -0.003852236084640026, -0.00742295989766717, 0.0032527379225939512, 0.018153052777051926, 0.8508154153823853, -0.029914334416389465, 0.04691410809755325, 0.05233455076813698, 0.009104774333536625, 0.0058655161410570145, -0.0229659266769886, 0.006508365739136934, 0.014080053195357323, 0.018032459542155266, -0.08738395571708679, 0.038565028458833694, -0.005635167006403208, 0.05824396014213562, 0.002557559171691537, 0.01758662611246109, 0.002471927320584655, 0.02207018807530403, -0.003991522826254368, -0.0043744370341300964, 0.012951603159308434, 0.052427761256694794, 0.028027735650539398, -0.012145031243562698, 0.02498306892812252, -0.005361096002161503, -0.14859534800052643, -0.03148289769887924, -7.283332875652154e-33, 0.05218162015080452, -0.004776009824126959, 0.016271570697426796, -0.002410472836345434, 0.028716618195176125, 0.03811323642730713, 0.024127289652824402, 0.013556893914937973, -0.025365497916936874, -0.01649957336485386, 0.01893538422882557, -0.011455295607447624, 0.0013314407551661134, -0.027137629687786102, 0.052324362099170685, -0.041555535048246384, -0.0023065346758812666, 0.03351463004946709, -0.02004888840019703, -0.013323308899998665, 0.03163585811853409, -0.001782087842002511, 0.0028535372111946344, 0.01106830220669508, 0.027698533609509468, 0.042972978204488754, -0.013186812400817871, 0.03034118562936783, -0.00838081818073988, -0.040643010288476944, -0.024269606918096542, 0.037482764571905136, -0.06066339462995529, -0.04459434002637863, 0.031458403915166855, -0.038543377071619034, -0.0129152312874794, 0.010033981874585152, 0.027344534173607826, -0.048892561346292496, -0.0350467711687088, 0.027425220236182213, -0.0211557075381279, -0.011828112415969372, -0.016402717679739, -0.027652651071548462, 0.022386042401194572, 0.041744016110897064, 0.026143062859773636, 0.0001790674723451957, -0.008450553752481937, 0.006038390100002289, -0.029491478577256203, -0.00973145104944706, -0.010788073763251305, 0.008437242358922958, 0.017565593123435974, 0.056688420474529266, 0.007779355626553297, 0.053194671869277954, -0.0011160748545080423, -0.014239241369068623, -0.029525935649871826, 0.02704348787665367, -0.00911067333072424, 0.006319208536297083, 0.01833297684788704, 0.028918113559484482, -0.0009633258450776339, 0.004788571503013372, -0.024723244830965996, 0.030212141573429108, -0.023547349497675896, -0.018257247284054756, 0.0036258138716220856, -0.02385038696229458, -0.03168462589383125, 0.017298586666584015, -0.031198721379041672, 0.051722846925258636, -0.0030997954308986664, 0.0050965240225195885, 0.003125811228528619, -0.04514912888407707, -0.04046911001205444, -0.009998840279877186, -0.005269088316708803, 0.02835434302687645, -0.00637007923796773, -0.023669252172112465, 0.032211557030677795, 0.010142974555492401, 0.0024999782908707857, 0.004423295613378286, -0.03477466106414795, 7.244664988981854e-33, -0.028995271772146225, -0.03946893289685249, 0.0023975486401468515, -0.008431357331573963, 0.012190242297947407, 0.031607113778591156, -0.003205861197784543, -0.009289981797337532, -0.022924872115254402, 0.027746886014938354, -0.020403869450092316, 0.038671959191560745, -0.009657252579927444, 0.023934904485940933, 0.04210341349244118, -0.03275585174560547, 0.023872382938861847, 0.0060627637431025505, 0.0142296701669693, 0.024730363860726357, 0.0328088253736496, -0.003295961068943143, -0.001998486928641796, 0.00463598407804966, 0.0438578836619854, 0.06268645077943802, 0.005325524136424065, -0.022515924647450447, 0.009620631113648415, 0.032554760575294495, 0.02561369352042675, -0.01468390692025423, -0.024685736745595932, -0.05365472286939621, 0.0045577147975564, 0.03477364405989647, 0.024954482913017273, 0.0018623516662046313, -0.007238338701426983, -0.006827849429100752, 0.019493766129016876, 0.011774205602705479, 0.023241322487592697, 0.02452586591243744, 0.028546404093503952, 0.011649289168417454, 0.0172647126019001, -0.0032898811623454094, -0.01387674082070589, 0.03782786801457405, 0.006555324420332909, -0.0006452208617702127, -0.028407014906406403, 0.0008677232544869184, -0.02990056201815605, -0.03545653074979782, 0.001781402388587594, -0.0032639612909406424, -0.05419466644525528, -0.020652197301387787, -0.015018577687442303, 0.020657099783420563, -0.026540037244558334, 0.001504025887697935, -0.03417770937085152, 0.007081136107444763, -0.022453080862760544, -0.021366752684116364, 0.009344694204628468, -0.024115024134516716, -0.013086286373436451, -0.0027314794715493917, -0.019487468525767326, 0.035137537866830826, -0.02535971626639366, -0.026924438774585724, 0.011307399719953537, 0.028342220932245255, -0.005358530208468437, 0.047768108546733856, 0.038094520568847656, -0.00034493865678086877, 0.036358542740345, -0.016329942271113396, -0.019949335604906082, -0.019824258983135223, -0.01919035241007805, 0.013992796652019024, -0.026526784524321556, -0.03381892666220665, -0.012202869169414043, -0.03530250862240791, 0.002721184864640236, 0.0371868871152401, 0.03713282197713852, -1.2788324177392951e-8, -0.03409717604517937, 0.003946893382817507, -0.020439356565475464, -0.0005566775798797607, 0.010363027453422546, 0.0032543125562369823, -0.029803626239299774, 0.006741291377693415, -0.01874600537121296, -0.013283598236739635, 0.025234412401914597, -0.02681669592857361, 0.03125870227813721, 0.013762267306447029, 0.011623358353972435, -0.03953352943062782, 0.036318399012088776, -0.02167125977575779, 0.0418848991394043, 0.01261190790683031, 0.02542976289987564, 0.040819596499204636, 0.03830784931778908, 0.010805977508425713, -0.001389026758261025, -0.035376355051994324, -0.004270173609256744, -0.0770234540104866, 0.009584253653883934, 0.016372479498386383, 0.010462596081197262, -0.02558363415300846, -0.023759979754686356, 0.04827827960252762, -0.03157808631658554, -0.04094655439257622, 0.006896472070366144, 0.02164307050406933, -0.0007172267651185393, 0.02550191804766655, -0.01927393116056919, -0.0012104358756914735, -0.012458289973437786, -0.03231872618198395, -0.03137167915701866, -0.016228850930929184, -0.030794162303209305, -0.025303741917014122, 0.0068879458121955395, -0.06017111986875534, 0.028784137219190598, -0.006072652526199818, 0.053961481899023056, 0.04393145442008972, 0.01812904141843319, 0.02141280472278595, 0.02347441390156746, -0.037005823105573654, -0.013047927990555763, 0.026135500520467758, 0.013431903906166553, 0.004068864043802023, -0.016061367467045784, -0.0009945399360731244 ]
haskell-creating-a-sliding-window-over-a-collection
https://markhneedham.com/blog/2012/02/28/haskell-creating-a-sliding-window-over-a-collection
false
2012-02-28 00:02:21
Haskell: Getting the nth element in a list
[ "haskell" ]
[ "Haskell" ]
I started trying to solve some of the http://projecteuler.net/problems[Project Euler problems] as a way to learn a bit of Haskell and http://projecteuler.net/problem=7[problem 7] is defined like so: ____ By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number? ____ I read that the http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes[Sieve of Eratosthenes] is a useful algorithm for working out all the prime numbers and there's http://en.literateprograms.org/Sieve_of_Eratosthenes_(Haskell)#chunk use:primes_naive[a page on the Literate Programs wiki explaining how to derive them using it]. The most naive implementation of all the primes ends up reading like this: [source,haskell] ---- primes = 2 : sieve [3,5..] where sieve [] = [] sieve (p:xs) = p : sieve (xs `minus` [p,p+2*p..]) ---- That gives an infinite sequence of all the prime numbers but I wanted to be able to specifically pick the 10,001st prime number which I assumed would be named 'nth' or something like that. As it turns out we actually need to use the '!!' operator which I found out from http://scienceblogs.com/goodmath/2009/11/writing_basic_functions_in_has.php[Mark Chu-Carroll's blog post]: [source,haskell] ---- *Main> :t (!!) (!!) :: [a] -> Int -> a ---- [source,haskell] ---- problem_7 = primes !! 10000 -- 0 indexed so we need to get the position one before 10,001 ---- It takes a while to run but we end up with the answer: [source,haskell] ---- *Main> problem_7 104743 ----
null
null
[ -0.01304925698786974, 0.025764495134353638, -0.0186688881367445, 0.03363671153783798, 0.059670861810445786, 0.044197600334882736, 0.010217132978141308, 0.02589392103254795, -0.017511144280433655, -0.012665440328419209, 0.010677567683160305, -0.026965340599417686, -0.047112636268138885, 0.027322029694914818, -0.016466693952679634, 0.060777001082897186, 0.06924764811992645, -0.02057729661464691, -0.021957753226161003, 0.02774761989712715, 0.005620124284178019, 0.05072419345378876, 0.007234137039631605, 0.01991117373108864, 0.013203010894358158, 0.0002589437644928694, 0.011757013387978077, -0.006096681579947472, -0.03055298514664173, -0.016055433079600334, 0.03253740072250366, -0.010401593521237373, 0.012258840724825859, -0.04399392753839493, 0.016598593443632126, -0.015365717001259327, 0.009251400828361511, -0.013554275035858154, 0.011999344453215599, 0.040065184235572815, -0.05075255036354065, 0.0048569305799901485, -0.025310447439551353, 0.005316191352903843, -0.05093061923980713, -0.0035028269048780203, -0.03407561033964157, 0.0030105055775493383, -0.022992778569459915, 0.011978738009929657, -0.04661562666296959, 0.02270803600549698, 0.011495696380734444, -0.029335126280784607, -0.013746838085353374, 0.04033401235938072, -0.0009345097350887954, -0.06555530428886414, 0.021384624764323235, -0.01499879453331232, 0.024356938898563385, -0.0033047404140233994, 0.008381896652281284, 0.025718310847878456, 0.014842040836811066, -0.044638361781835556, -0.018046434968709946, 0.06848850846290588, -0.034918367862701416, -0.009771855548024178, -0.02466975525021553, -0.003302261233329773, -0.022261349484324455, -0.028753608465194702, 0.020512068644165993, -0.029811808839440346, 0.020122434943914413, 0.08474855870008469, 0.03476307541131973, 0.06477729231119156, -0.039067670702934265, 0.04510592669248581, 0.030380306765437126, 0.044618040323257446, 0.009517560712993145, 0.009892912581562996, -0.0369378924369812, -0.015416712500154972, -0.006816504523158073, 0.04037446901202202, 0.010306071490049362, -0.07515793293714523, 0.002395999152213335, -0.009642884135246277, -0.0009004183229990304, 0.007733485195785761, 0.03514567390084267, -0.011277822777628899, -0.003707563504576683, 0.00622169952839613, -0.049752045422792435, -0.04482664912939072, 0.07003985345363617, -0.0005064571159891784, -0.06141437590122223, 0.0032666793558746576, 0.003935475833714008, -0.012101556174457073, 0.007514638360589743, -0.005663592834025621, -0.011300938203930855, 0.0021586385555565357, -0.01951024867594242, -0.004261509981006384, -0.06583576649427414, 0.043437302112579346, 0.005454757250845432, -0.022826120257377625, 0.00903953518718481, 0.037032417953014374, 0.028877515345811844, 0.03535108640789986, -0.004832151345908642, 0.0698929876089096, 0.008343509398400784, 0.02866850607097149, 0.027037393301725388, 0.05926987901329994, -0.015853697434067726, -0.06762164831161499, -0.02439660020172596, 0.059889473021030426, -0.005856925621628761, -0.0019601131789386272, -0.02486618421971798, -0.027057873085141182, -0.05405748635530472, 0.026961691677570343, 0.04418284818530083, 0.016599392518401146, 0.010317585431039333, -0.021981526166200638, 0.03778089955449104, -0.04664650559425354, 0.0013125132536515594, -0.0037471859250217676, 0.017508216202259064, 0.013176125474274158, -0.025549013167619705, 0.023701589554548264, 0.02010098658502102, 0.04490974172949791, 0.05257416516542435, -0.028322329744696617, 0.012624570168554783, 0.04777834936976433, 0.04443088918924332, 0.010378247126936913, -0.022646354511380196, 0.011226234957575798, 0.0470726452767849, 0.008935784921050072, 0.03907688334584236, 0.04780294746160507, -0.01591278426349163, -0.0066106850281357765, 0.016938770189881325, 0.06535465270280838, -0.03478284925222397, -0.0015672817826271057, -0.04915213957428932, -0.050535257905721664, 0.07321223616600037, -0.032782576978206635, -0.002402143320068717, 0.007270351517945528, 0.07855037599802017, 0.030296148732304573, 0.06342776119709015, -0.032876353710889816, -0.08066488802433014, 0.01593738980591297, -0.029267016798257828, 0.058660101145505905, 0.00845563318580389, -0.023517688736319542, 0.05355377867817879, 0.05018093064427376, 0.01750720664858818, 0.009690726175904274, -0.0423707589507103, -0.06927990913391113, -0.0158986933529377, -0.037470538169145584, 0.06337865442037582, -0.010781457647681236, 0.0031569148413836956, 0.014117534272372723, 0.017921097576618195, 0.04050222784280777, 0.0017382529331371188, 0.026274794712662697, 0.018011445179581642, -0.04910649359226227, -0.04163677990436554, 0.03842705115675926, 0.030050884932279587, 0.013546167872846127, -0.05807241424918175, 0.004876870661973953, -0.0022866197396069765, 0.011086723767220974, 0.023281337693333626, -0.024040451273322105, 0.009734144434332848, 0.045214392244815826, 0.005042061675339937, -0.021481256932020187, 0.03207061439752579, -0.033487170934677124, 0.02111893892288208, 0.033376917243003845, 0.006472411565482616, -0.025195643305778503, -0.015111168846487999, 0.12328536063432693, 0.0659637525677681, -0.05268677696585655, -0.03819003328680992, 0.05073124170303345, 0.00799812376499176, -0.0177667997777462, 0.00830361433327198, -0.01123126782476902, 0.0019075397867709398, -0.025855910032987595, -0.04557669162750244, -0.03113400936126709, 0.037143122404813766, -0.027977503836154938, -0.012249077670276165, 0.09753327071666718, -0.04364616051316261, 0.033202312886714935, 0.002559481654316187, -0.04002850502729416, -0.01964353211224079, -0.026782000437378883, -0.06224934011697769, 0.013613451272249222, -0.03692824766039848, -0.01027611829340458, 0.03003079444169998, -0.036190442740917206, -0.04855538159608841, -0.007289736066013575, -0.04030127450823784, 0.06362734735012054, 0.06162398308515549, 0.05151829123497009, -0.0050516570918262005, 0.0360947921872139, -0.014366856776177883, -0.019940294325351715, -0.013247492723166943, -0.04488573595881462, -0.03717321902513504, -0.02487679198384285, 0.01553687360137701, 0.017034368589520454, 0.03734749183058739, 0.02123127318918705, 0.02265799604356289, -0.0026121370028704405, 0.03521326929330826, -0.06050089746713638, 0.020347267389297485, -0.006196631118655205, -0.026933643966913223, -0.05370655283331871, -0.006016823463141918, 0.07382813096046448, -0.05413844808936119, -0.020049141719937325, -0.022249268367886543, -0.013782489113509655, 0.06027885898947716, -0.07371251285076141, -0.009750563651323318, 0.012063770554959774, 0.035185158252716064, 0.02710484154522419, -0.01741699129343033, -0.0031344513408839703, 0.07386361807584763, 0.005240659229457378, 0.025770142674446106, 0.03712664544582367, 0.021387288346886635, 0.016628967598080635, -0.007718625478446484, 0.023676777258515358, 0.05134551227092743, 0.016831200569868088, -0.02206571027636528, -0.05441996455192566, 0.027306921780109406, -0.014625931158661842, -0.2736867666244507, 0.002203279407694936, -0.05105216056108475, -0.033448684960603714, -0.00010721389116952196, -0.020289694890379906, -0.018723154440522194, -0.022296462208032608, 0.005786989815533161, 0.019427204504609108, -0.0007967454148456454, -0.04633231833577156, -0.022294795140624046, 0.04868461564183235, -0.007250090595334768, -0.001554604503326118, 0.010801868513226509, -0.05239734798669815, 0.003828285029157996, 0.022959820926189423, -0.005623963195830584, -0.06215900555253029, 0.01125352829694748, 0.058156609535217285, 0.024105312302708626, 0.05526653304696083, -0.09755177795886993, 0.021023601293563843, -0.08271290361881256, -0.02338092215359211, -0.0028898618184030056, -0.02801431156694889, -0.0005979008856229484, -0.024296803399920464, -0.013969557359814644, -0.007327271159738302, 0.024804074317216873, -0.013406971469521523, 0.0021844932343810797, 0.04975736513733864, -0.03802972286939621, -0.026263698935508728, 0.0183592326939106, -0.006368714850395918, 0.07000985741615295, -0.0020336585585027933, -0.027143463492393494, -0.02891618013381958, -0.013206349685788155, 0.06696250289678574, -0.04720979556441307, -0.01591348461806774, -0.0017839937936514616, 0.019869614392518997, 0.011271758936345577, -0.0009446503827348351, -0.011781319044530392, -0.027292951941490173, -0.023143071681261063, -0.018868161365389824, 0.004405490588396788, -0.02143256925046444, -0.008817068301141262, -0.048299748450517654, -0.03004496730864048, -0.07098417729139328, -0.04449909180402756, 0.008648959919810295, 0.05222019553184509, -0.009226543828845024, 0.002055875724181533, -0.025899963453412056, -0.02645009569823742, -0.10846976190805435, -0.048920437693595886, -0.023287368938326836, -0.025369025766849518, 0.018200742080807686, -0.01875530555844307, 0.03111192211508751, -0.048031408339738846, -0.07373178005218506, 0.019778544083237648, 0.012029707431793213, 0.04043262451887131, -0.0078060743398964405, -0.006233380641788244, -0.036816179752349854, 0.007852498441934586, -0.005954202730208635, 0.06874774396419525, -0.02625405788421631, -0.01295615453273058, -0.01960037089884281, 0.03093341924250126, 0.029153984040021896, 0.00007781302701914683, 0.02540072426199913, 0.020446058362722397, 0.03276893496513367, 0.02878556028008461, -0.026641232892870903, 0.05425645038485527, 0.0036796252243220806, -0.01648762822151184, 0.008667943067848682, -0.019809255376458168, 0.04359293356537819, 0.02504190057516098, 0.002943258499726653, -0.030938835814595222, -0.0830824077129364, 0.014913521707057953, -0.026843398809432983, -0.008860969915986061, -0.0009839576669037342, 0.03603013977408409, 0.020457465201616287, 0.016232222318649292, -0.002703804289922118, -0.07017228752374649, 0.019832003861665726, -0.028400203213095665, -0.027362292632460594, -0.050764743238687515, -0.012112820520997047, -0.02324199490249157, -0.01604805700480938, 0.011977285146713257, 0.02931355871260166, -0.025440562516450882, 0.06645122170448303, 0.00202092994004488, -0.020899148657917976, 0.043246883898973465, -0.013905489817261696, -0.01745695061981678, -0.023745423182845116, -0.01944120042026043, 0.004938820376992226, 0.009689342230558395, 0.0029044505208730698, 0.011885776184499264, 0.04331456869840622, 0.058657675981521606, -0.0010548883583396673, 0.045067545026540756, -0.02933320216834545, -0.012401058338582516, 0.01842065341770649, 0.023368818685412407, -0.056414321064949036, 0.05348418653011322, -0.04654787480831146, -0.02589503489434719, -0.017916131764650345, 0.029336821287870407, -0.011882558465003967, -0.11064499616622925, -0.02352908067405224, 0.022592715919017792, -0.03217893838882446, -0.02067984826862812, -0.03533302992582321, 0.014499933458864689, 0.05352064222097397, -0.02770042233169079, 0.02504323609173298, -0.017816860228776932, 0.014276397414505482, 0.014210225082933903, 0.041927553713321686, -0.026406304910779, 0.018103402107954025, 0.0029094181954860687, -0.028151560574769974, 0.005354488734155893, 0.01907031238079071, 0.019731000065803528, -0.013130898587405682, -0.026694858446717262, -0.003666575765237212, -0.0019864721689373255, 0.03765057027339935, 0.05820292606949806, 0.04232297092676163, -0.0062833684496581554, -0.003310789819806814, -0.04255708307027817, -0.03108755126595497, -0.02957737259566784, 0.0024333649780601263, -0.029557403177022934, 0.025970185175538063, -0.043410636484622955, -0.05140623822808266, -0.0009763924172148108, 0.03992440178990364, -0.00952939037233591, 0.023746827617287636, 0.03395988047122955, -0.03192785382270813, -0.016260799020528793, 0.043150611221790314, 0.0758829116821289, -0.058862268924713135, 0.034533288329839706, -0.0021283316891640425, 0.02420322597026825, 0.03618209809064865, 0.049647245556116104, -0.04238639026880264, -0.014322333037853241, -0.012647779658436775, 0.0009487064089626074, -0.020359713584184647, -0.031863220036029816, -0.005300631280988455, 0.0233593937009573, -0.018789706751704216, -0.006223469041287899, 0.007822414860129356, 0.01083244290202856, -0.04718112200498581, -0.014301927760243416, -0.017252149060368538, -0.004341561812907457, -0.02699914574623108, 0.03572554141283035, -0.02364298142492771, 0.030040500685572624, -0.029445594176650047, 0.02522103674709797, -0.015217846259474754, 0.005005789455026388, -0.011000081896781921, -0.04774276912212372, -0.005160178989171982, -0.039694447070360184, 0.06786075979471207, -0.01895442046225071, -0.018770141527056694, -0.009398958645761013, 0.0029913485050201416, -0.05121556296944618, 0.009861884638667107, 0.02885601297020912, -0.06761916726827621, 0.050418317317962646, 0.030634988099336624, -0.05065484344959259, 0.016461875289678574, -0.01522467564791441, -0.02409883588552475, 0.022820785641670227, -0.007898163981735706, -0.015027809888124466, -0.01630094274878502, -0.058366332203149796, 0.02250116877257824, 0.012486760504543781, 0.010532821528613567, -0.05918535590171814, 0.032132573425769806, 0.04341709986329079, 0.04807504639029503, 0.024793408811092377, -0.008775254711508751, 0.032941121608018875, -0.018132284283638, -0.015938719734549522, -0.09260668605566025, -0.007706327363848686, 0.010617919266223907, -0.016375597566366196, -0.012832832522690296, 0.01907760091125965, -0.020342668518424034, 0.012042826041579247, -0.08786924183368683, -0.028588425368070602, 0.03991636261343956, 0.018254593014717102, 0.023859253153204918, -0.002612125128507614, -0.03290446102619171, 0.01731896959245205, 0.019143424928188324, -0.03372960165143013, 0.02140355482697487, -0.024224918335676193, 0.04128248617053032, 0.012993238866329193, 0.021802576258778572, 0.0013090264983475208, 0.00541374646127224, 0.060676585882902145, 0.029208704829216003, 0.017720047384500504, 0.04879256710410118, -0.00026366524980403483, 0.01885250210762024, -0.003947055898606777, 0.007059520110487938, -0.014084023423492908, 0.027356984093785286, -0.044165924191474915, -0.04867539182305336, 0.013546175323426723, -0.007855339907109737, -0.013233027420938015, -0.04902813583612442, 0.06207244098186493, 0.04372953251004219, -0.028420012444257736, -0.0637223944067955, 0.055622540414333344, -0.04044197499752045, -0.018911581486463547, -0.0212022103369236, -0.009926313534379005, -0.019731586799025536, 0.04496774077415466, -0.0029695439152419567, -0.014831961132586002, 0.05467982962727547, 0.0047705210745334625, -0.013117402791976929, 0.033093616366386414, 0.09492911398410797, 0.09909182786941528, 0.036060065031051636, -0.014194514602422714, 0.05186732858419418, -0.05070330947637558, -0.0372181199491024, -0.0006462298333644867, -0.05191795900464058, -0.005892640445381403, -0.03941146284341812, 0.040126409381628036, 0.061136338859796524, -0.037148185074329376, 0.049972135573625565, -0.02369067817926407, 0.021007874980568886, 0.01311926357448101, 0.010139713063836098, 0.04095934331417084, 0.08225848525762558, 0.03800979629158974, 0.032836753875017166, 0.004849151708185673, -0.03607494756579399, 0.018086770549416542, 0.02356191724538803, -0.02537158876657486, 0.0141189806163311, 0.013516667298972607, 0.023244451731443405, 0.03984912857413292, 0.02706393040716648, 0.07317991554737091, 0.003657492808997631, -0.033130135387182236, 0.01923941634595394, 0.01189445797353983, -0.007626799400895834, 0.000602284970227629, -0.05478717014193535, -0.03601330518722534, -0.007760699838399887, -0.03502490371465683, 0.005560914520174265, -0.017919769510626793, -0.04543706402182579, 0.03891148045659065, -0.025635506957769394, -0.005345712415874004, 0.012526337057352066, -0.027231818065047264, -0.0549783781170845, -0.047187481075525284, -0.030015097931027412, -0.03808685019612312, -0.07915112376213074, 0.019890572875738144, -0.009439198300242424, -0.04013121500611305, -0.016430340707302094, -0.04042140394449234, -0.010911617428064346, -0.04957788065075874, 0.030372196808457375, -0.051560480147600174, -0.05605655163526535, 0.004757019691169262, 0.012769907712936401, 0.008940179832279682, 0.025468094274401665, 0.051363877952098846, -0.0035147625021636486, 0.01658608391880989, -0.034537173807621, -0.01573612540960312, 0.03849154710769653, 0.04316047206521034, 0.012904186733067036, -0.07274873554706573, 0.0024732714518904686, 0.03004217892885208, 0.004809749778360128, -0.07654266059398651, -0.011326132342219353, 0.01975189335644245, -0.000638709170743823, 0.01779087446630001, -0.02011493779718876, 0.013137821108102798, -0.02373671345412731, -0.023369621485471725, 0.003931610379368067, -0.007087570149451494, 0.06801852583885193, -0.03462108224630356, 0.10064753890037537, 0.011879457160830498, -0.019300375133752823, -0.022816888988018036, -0.0006839094567112625, -0.06206980347633362, 0.05005064979195595, -0.04658561572432518, -0.024376647546887398, -0.03950842469930649, -0.07853391766548157, -0.00023762951605021954, -0.024852273985743523, -0.03951099514961243, -0.04461595043540001, 0.02184823900461197, 0.040455061942338943, -0.06896287947893143, 0.06042461842298508, -0.048330798745155334, 0.01415354572236538, -0.017478398978710175, -0.02610912173986435, 0.00915505737066269, 0.04232583940029144, 0.013336354866623878, -0.0010048879776149988, 0.02552914433181286, -0.032496653497219086, 0.014571646228432655, -0.017807453870773315, 0.048590369522571564, 0.012345308437943459, 0.022450797259807587, 0.00909881666302681 ]
[ -0.09926498681306839, -0.009528067894279957, -0.037137433886528015, -0.032391082495450974, -0.02405892312526703, -0.018853258341550827, -0.004602654837071896, 0.04637115076184273, 0.011998106725513935, -0.03166721761226654, 0.02809903211891651, -0.060871437191963196, 0.003209264250472188, 0.0014649974182248116, 0.0676066055893898, 0.007990914396941662, -0.021767698228359222, -0.015003085136413574, -0.036790888756513596, 0.016143951565027237, 0.08481307327747345, -0.06146543100476265, -0.060420844703912735, -0.06635323911905289, 0.006272496655583382, 0.07519804686307907, 0.04851562902331352, -0.04188048094511032, -0.008624456822872162, -0.2329501509666443, -0.01897355727851391, -0.011140137910842896, 0.08952531963586807, -0.04635634273290634, 0.006681052967905998, 0.019455891102552414, 0.015220031142234802, 0.01600349321961403, -0.026995206251740456, 0.06491155922412872, 0.03735712543129921, 0.02615990675985813, -0.03262211009860039, -0.01974722184240818, 0.031960684806108475, -0.007122857496142387, -0.04677010327577591, -0.015676943585276604, 0.001004945719614625, 0.019386013969779015, -0.05766519159078598, 0.003907397855073214, 0.012101355940103531, 0.018332967534661293, -0.007230676710605621, 0.008724197745323181, 0.05057738721370697, 0.05455920100212097, 0.04355541244149208, 0.006422081962227821, 0.0027908836491405964, -0.019623640924692154, -0.13001421093940735, 0.09722888469696045, 0.03302294388413429, 0.044067297130823135, -0.0174773707985878, -0.05218667909502983, -0.06588956713676453, 0.07494480907917023, 0.019901055842638016, 0.01145691517740488, -0.01461881399154663, 0.06505770236253738, 0.02182045578956604, -0.04163513705134392, -0.014272327534854412, 0.013552074320614338, 0.0646091178059578, -0.02911996841430664, -0.04334300011396408, -0.03431466594338417, -0.02868126705288887, -0.02099781110882759, 0.002875812351703644, -0.00495382072404027, -0.020946137607097626, 0.07235110551118851, 0.004613213706761599, -0.021242136135697365, 0.0021496741101145744, 0.0002442513359710574, -0.017215119674801826, 0.006012514233589172, -0.03299688547849655, -0.0014351813588291407, -0.003934852313250303, 0.0094266002997756, -0.009495528414845467, 0.385303258895874, -0.016539573669433594, 0.00516710476949811, 0.03981189802289009, 0.004381319973617792, -0.02045038342475891, 0.005083282012492418, -0.017889773473143578, -0.05671275407075882, -0.0075188688933849335, -0.07523959130048752, -0.02833888866007328, -0.02641203999519348, 0.11441272497177124, -0.07786185294389725, 0.008885725401341915, -0.029794489964842796, 0.06588182598352432, 0.002455023117363453, 0.016298111528158188, 0.02211432158946991, 0.03790931776165962, 0.03815442696213722, -0.0007501180516555905, -0.0076689086854457855, 0.00637004105374217, 0.010263619013130665, -0.008504343219101429, 0.033207427710294724, 0.034344110637903214, 0.07521986216306686, 0.06127387285232544, -0.04926406964659691, -0.03632853552699089, -0.013535848818719387, 0.0058319238014519215, 0.014020322822034359, 0.011085846461355686, -0.03622023016214371, 0.018996434286236763, -0.0092903021723032, -0.016840646043419838, -0.04498104006052017, 0.023716464638710022, 0.010556940920650959, 0.005259155295789242, 0.10115404427051544, -0.016688654199242592, -0.05144626647233963, -0.0056341891176998615, -0.037427257746458054, -0.023141812533140182, 0.019173534587025642, -0.009335994720458984, -0.06407613307237625, 0.02728172019124031, 0.0077568404376506805, 0.04845388978719711, -0.006779745686799288, -0.08152500540018082, 0.0012521586613729596, -0.046178754419088364, -0.008056443184614182, -0.037245139479637146, 0.07399950176477432, 0.038080208003520966, -0.05728812515735626, -0.022234801203012466, 0.0011883542174473405, 0.03082478791475296, -0.1000589057803154, 0.010534417815506458, 0.05373266339302063, -0.02861442230641842, 0.0240023136138916, 0.05382193997502327, -0.024082403630018234, -0.017159992828965187, -0.0023350524716079235, 0.05129687860608101, 0.03493957221508026, -0.010360946878790855, -0.007496665231883526, -0.023739583790302277, 0.023124024271965027, -0.03560526296496391, -0.06744314730167389, -0.044875215739011765, 0.000532985373865813, -0.016566969454288483, -0.022699525579810143, 0.030403846874833107, 0.017629271373152733, -0.09906016290187836, 0.08088511228561401, -0.03875694051384926, -0.017267310991883278, 0.014841005206108093, 0.004876090679317713, -0.016514895483851433, -0.003487743204459548, 0.0010310180950909853, 0.03020070493221283, -0.0021869693882763386, 0.020028559491038322, -0.0770542323589325, 0.024571361020207405, 0.037633780390024185, -0.06581739336252213, 0.0816345065832138, 0.05832843855023384, -0.003955398220568895, 0.008108238689601421, -0.05028069019317627, 0.002957788063213229, -0.0005638764705508947, -0.05159103497862816, -0.007517924997955561, -0.028357679024338722, 0.010185156017541885, 0.01192362979054451, -0.01928594894707203, -0.050707995891571045, -0.03823463246226311, -0.34014058113098145, -0.06748218089342117, 0.005002189427614212, -0.03782423213124275, 0.016271905973553658, -0.08014821261167526, -0.01995030604302883, -0.03211810067296028, -0.01930985227227211, 0.035353049635887146, 0.0640692189335823, -0.035330064594745636, -0.02325986698269844, -0.08859050273895264, -0.01421699021011591, 0.03240713104605675, -0.026397140696644783, -0.03951394185423851, -0.018049748614430428, 0.04155575856566429, -0.014233793132007122, 0.0024777266662567854, -0.018057184293866158, -0.0636431947350502, -0.039185333997011185, -0.034845981746912, 0.08729934692382812, 0.02944454923272133, 0.06533023715019226, -0.06685240566730499, 0.04651077091693878, -0.03519105911254883, -0.024551719427108765, -0.012029449455440044, -0.018994679674506187, -0.05035116523504257, -0.01601971499621868, -0.0014913702616468072, 0.06658273935317993, -0.05564754083752632, -0.05399428308010101, 0.014370772056281567, -0.03910556435585022, 0.02138235606253147, -0.03349069878458977, 0.05403650924563408, -0.008201992139220238, -0.04532801732420921, 0.022965865209698677, 0.09186757355928421, 0.024879757314920425, 0.04484663903713226, 0.010122820734977722, 0.006353162694722414, 0.005087319761514664, -0.013348054140806198, -0.026310861110687256, -0.05019528418779373, 0.0026950803585350513, 0.018362773582339287, 0.03469830006361008, 0.04329270124435425, 0.04973800852894783, 0.004154768772423267, -0.005336771719157696, 0.039450086653232574, -0.001782499602995813, -0.014205843210220337, 0.05100268870592117, -0.030252601951360703, -0.0023105377331376076, 0.11520332098007202, -0.0010452928254380822, 0.0003651024308055639, 0.011753346771001816, 0.05333505570888519, 0.00942621473222971, 0.059470176696777344, 0.054927241057157516, 0.014458512887358665, 0.039847180247306824, -0.013785016722977161, 0.012575274333357811, -0.03543931990861893, -0.011506822891533375, 0.004933660384267569, 0.004426419734954834, 0.07857107371091843, 0.013726508244872093, 0.006466680206358433, -0.030778566375374794, 0.08336705714464188, 0.02604917623102665, -0.02476363815367222, 0.047186244279146194, -0.013274889439344406, -0.2516252398490906, 0.0690755546092987, 0.04765738174319267, 0.01007109321653843, 0.013317855075001717, 0.011598271317780018, 0.004138484597206116, -0.053792186081409454, -0.0007656561210751534, -0.033294811844825745, 0.05391666665673256, 0.051254794001579285, 0.02005241997539997, 0.005112558137625456, 0.00735466880723834, -0.033669549971818924, 0.016951091587543488, 0.012924856506288052, 0.002655802993103862, 0.011394057422876358, 0.0662372037768364, 0.0006374476361088455, 0.19603535532951355, -0.005348800215870142, -0.017032403498888016, 0.0006769358878955245, 0.0031733433715999126, 0.03644875809550285, 0.056049082428216934, 0.028694363310933113, -0.016167182475328445, 0.007550422567874193, 0.039332155138254166, -0.019901461899280548, 0.01339030358940363, -0.026547998189926147, -0.005525710992515087, 0.05080956965684891, 0.012605501338839531, -0.019483817741274834, -0.01685894839465618, -0.00498235784471035, -0.048423126339912415, 0.009975298307836056, 0.09497632831335068, 0.006231952458620071, 0.0009409853373654187, -0.022153569385409355, -0.017769869416952133, 0.027680154889822006, -0.018815336748957634, -0.025545304641127586, 0.010558126494288445, -0.023213393986225128, -0.010662296786904335, 0.049338601529598236, -0.004223353695124388, -0.03886094316840172, -0.021010316908359528, 0.0026843061204999685, -0.009185650385916233, -0.013807873241603374, 0.11462482810020447, 0.002778903115540743, 0.04034924507141113 ]
[ 0.0072043961845338345, 0.014003497548401356, -0.01702405884861946, 0.007312797475606203, 0.015302908606827259, -0.005183395929634571, 0.025322718545794487, 0.06196831911802292, -0.050119031220674515, -0.031396057456731796, -0.04639783874154091, 0.024351196363568306, 0.0282665453851223, -0.013670005835592747, -0.0079176751896739, -0.055770546197891235, -0.014325708150863647, -0.0037630670703947544, 0.020216671749949455, -0.012487661093473434, -0.010225076228380203, 0.015680065378546715, 0.008229627273976803, 0.010577166453003883, -0.017028821632266045, 0.011859443970024586, 0.005778822116553783, -0.018573958426713943, 0.012626918032765388, -0.12845243513584137, -0.011801941320300102, -0.014383617788553238, 0.020023740828037262, 0.010924153961241245, 0.021933799609541893, 0.0006097701261751354, -0.006614849902689457, -0.0004229655605740845, -0.04121607169508934, 0.006562667433172464, 0.02311561442911625, -0.033208392560482025, 0.00018102501053363085, -0.01773224212229252, -0.005845858249813318, 0.011814641766250134, -0.0004047826223541051, 0.014195443131029606, 0.013816123828291893, 0.05447398126125336, -0.04116073623299599, 0.006611586548388004, -0.03452524170279503, 0.03911461681127548, 0.005915423389524221, -0.029579918831586838, -0.000767375691793859, -0.06906592845916748, -0.04422822222113609, -0.04306300729513168, -0.04007183015346527, 0.061097484081983566, -0.05724607780575752, -0.0023222360759973526, -0.022904114797711372, 0.022021383047103882, 0.01230161264538765, -0.013755925931036472, 0.002398367505520582, -0.023608174175024033, 0.03404642641544342, 0.02128630504012108, -0.024335326626896858, -0.004088475368916988, -0.012638314627110958, 0.0020087824668735266, 0.04976889491081238, -0.05538356304168701, -0.018378447741270065, -0.006255544256418943, -0.017770763486623764, -0.000679310061968863, 0.02518751099705696, -0.032175879925489426, -0.02302071638405323, 0.0037339269183576107, -0.023675337433815002, 0.054001014679670334, -0.003534510266035795, -0.055952101945877075, 0.005205092485994101, 0.0020327160600572824, 0.03343772515654564, 0.016240697354078293, -0.03859104961156845, 0.035149261355400085, -0.012926233932375908, -0.0012536827707663178, -0.0010704499436542392, 0.8047617673873901, -0.021840892732143402, 0.06417462229728699, -0.027984358370304108, 0.0027702359948307276, -0.003590899985283613, 0.014979163184762001, -0.01409158855676651, 0.022561997175216675, 0.022267550230026245, -0.04391738772392273, 0.02831503003835678, -0.04412170127034187, 0.05413186550140381, 0.019353795796632767, 0.004635200835764408, 0.0013965113321319222, 0.00011035826901206747, 0.03239358961582184, -0.012489271350204945, -0.01888134703040123, 0.05891716107726097, 0.008747226558625698, -0.014712061733007431, 0.04549247771501541, 0.016036637127399445, -0.1524389684200287, 0.0020644329488277435, -7.766707172969817e-33, 0.020116928964853287, -0.023701125755906105, 0.018553098663687706, -0.01946238987147808, 0.029379762709140778, 0.013613182120025158, 0.020804692059755325, 0.03227398172020912, -0.015307244844734669, -0.014589093625545502, 0.01641172356903553, -0.04725368320941925, -0.014356101863086224, -0.035741664469242096, 0.04873262345790863, -0.006760088726878166, 0.0036272588185966015, 0.02030760422348976, 0.003168361494317651, 0.030376536771655083, -0.008238114416599274, 0.03551873192191124, -0.013052431866526604, 0.009085824713110924, 0.030906300991773605, 0.09912900626659393, -0.013766721822321415, 0.015045169740915298, -0.007861219346523285, -0.04346809163689613, -0.02718271128833294, 0.041345033794641495, -0.02305109240114689, -0.01075753103941679, 0.04939426854252815, -0.04222523793578148, -0.019091404974460602, 0.0050206310115754604, -0.0018508464563637972, 0.010582479648292065, -0.06669929623603821, 0.01706443727016449, -0.030820375308394432, -0.024339966475963593, 0.0430447980761528, -0.05037298426032066, 0.05213572457432747, 0.056742798537015915, 0.013099059462547302, -0.021835608407855034, 0.02651015669107437, 0.008108819834887981, 0.0041424850933253765, -0.015296576544642448, 0.012896676547825336, -0.008380400016903877, 0.020316287875175476, 0.008640812709927559, 0.027851976454257965, 0.028403673321008682, 0.06488007307052612, -0.012024576775729656, -0.008648846298456192, 0.06111966818571091, -0.005069081671535969, -0.02065163664519787, -0.012060223147273064, 0.05394996330142021, 0.027469394728541374, 0.0801573172211647, -0.03542402759194374, 0.01735076867043972, -0.013741757720708847, -0.01813390851020813, -0.015595633536577225, -0.027606617659330368, -0.015806108713150024, -0.02606506273150444, -0.03249165415763855, 0.03143033757805824, 0.053173281252384186, -0.017414864152669907, 0.007008811924606562, 0.018605085089802742, -0.020909614861011505, 0.018082046881318092, 0.011791431345045567, 0.04815201088786125, -0.001249671564437449, -0.05658205226063728, 0.030948085710406303, -0.019184758886694908, -0.005312194116413593, -0.01329872664064169, -0.04368964955210686, 8.163157336464019e-33, -0.030725201591849327, -0.01072535291314125, -0.017950333654880524, 0.005729130934923887, -0.03158988431096077, 0.021120579913258553, 0.04434453323483467, -0.008268136531114578, -0.0497777983546257, 0.053179603070020676, 0.014994587749242783, 0.023472066968679428, -0.0033780396915972233, -0.018604164943099022, 0.023699790239334106, -0.029687702655792236, 0.000877809536177665, 0.0475919283926487, -0.0021766338031738997, 0.0038115449715405703, 0.00787846278399229, -0.010766986757516861, -0.030502239242196083, -0.041753046214580536, 0.025467297062277794, 0.03696506842970848, -0.015820279717445374, 0.023886756971478462, -0.006966761779040098, 0.026983248069882393, -0.006218288093805313, -0.02773389220237732, -0.01734083890914917, -0.0493738017976284, 0.0015314107295125723, 0.04000714048743248, 0.030351372435688972, -0.019219523295760155, 0.03003302402794361, -0.009006403386592865, -0.02107658050954342, -0.0028974555898457766, 0.02544342167675495, -0.01458063255995512, 0.010554876178503036, 0.04831862077116966, 0.0009447457268834114, -0.02034415677189827, 0.027394628152251244, 0.026718463748693466, 0.007537430617958307, 0.002350105904042721, 0.0007599976961500943, 0.013116423040628433, 0.0006243565585464239, -0.037480153143405914, -0.016176005825400352, 0.014229128137230873, -0.013913853093981743, -0.06118715927004814, -0.03346579894423485, 0.037525441497564316, 0.015276982448995113, 0.011732208542525768, -0.03165854141116142, 0.008442976512014866, -0.04443897679448128, -0.024044416844844818, -0.018808068707585335, 0.004179307259619236, -0.025644665583968163, -0.00780733535066247, -0.006574926432222128, 0.06309619545936584, -0.05444533750414848, 0.0020547951571643353, -0.03780532628297806, 0.041069988161325455, -0.007504450157284737, 0.03772588446736336, 0.026896893978118896, -0.035215891897678375, -0.02636963129043579, 0.018803540617227554, -0.011376573704183102, 0.04049248248338699, 0.01790495589375496, 0.03177598863840103, 0.018981602042913437, -0.023785002529621124, -0.01294864434748888, -0.0018781390972435474, 0.012073442339897156, 0.008804663084447384, 0.03487059101462364, -1.3083970351601693e-8, 0.008589566685259342, -0.041826315224170685, -0.03224898874759674, -0.01302003487944603, 0.007589477114379406, 0.006064383313059807, -0.021155310794711113, -0.01631738990545273, -0.054710861295461655, -0.005524995271116495, 0.04087712615728378, -0.0021771162282675505, 0.004930067341774702, 0.005679018329828978, 0.03332909941673279, -0.02173272892832756, 0.05391911417245865, -0.04798857122659683, 0.015351700596511364, -0.004809763748198748, -0.014754221774637699, 0.06931406259536743, 0.02765631303191185, -0.039736032485961914, -0.010361445136368275, -0.02940727211534977, 0.012162525206804276, -0.044216759502887726, 0.003309660591185093, -0.005616180133074522, -0.029833810403943062, -0.04380109906196594, -0.03928165137767792, 0.019164472818374634, 0.0023355900775641203, -0.018496714532375336, -0.010588716715574265, 0.018481645733118057, 0.03314422816038132, -0.02528848685324192, -0.00604122132062912, -0.009042425081133842, -0.0005214508273638785, -0.012421472929418087, -0.01622958667576313, -0.04709737002849579, -0.002853571902960539, -0.0012634411687031388, 0.01181879360228777, -0.01411404274404049, 0.004990886896848679, 0.006494300439953804, 0.02551863342523575, 0.004704304505139589, 0.058477889746427536, 0.0022481472697108984, 0.0006002700538374484, -0.08219082653522491, -0.049797214567661285, 0.03947737067937851, 0.037677787244319916, 0.040226273238658905, -0.016837863251566887, -0.011542822234332561 ]
haskell-getting-the-nth-element-in-a-list
https://markhneedham.com/blog/2012/02/28/haskell-getting-the-nth-element-in-a-list
false
2012-02-26 00:09:03
Java: Faking a closure with a factory to create a domain object
[ "java" ]
[ "Java" ]
Recently we wanted to create a domain object which needed to have an external dependency in order to do a calculation and we wanted to be able to stub out that dependency in our tests. Originally we were just new'ing up the dependency inside the domain class but that makes it impossible to control it's value in a test. Equally it didn't seem like we should be passing that dependency into the constructor of the domain object since it's not a piece of state which defines the object, just something that it uses. We ended up with something similar to the following code where we have our domain object as an inner class: [source,java] ---- public class FooFactory { private final RandomService randomService; public FooFactory(RandomService randomService) { this.randomService = randomService; } public Foo createFoo(String bar, int baz) { return new Foo(bar, baz); } class Foo { private String bar; private int baz; public Foo(String bar, int baz) { this.bar = bar; this.baz = baz; } public int awesomeStuff() { int random = randomService.random(bar, baz); return random * 3; } } } ---- A test on that code could then read like this: [source,java] ---- public class FooFactoryTest { @Test public void createsAFoo() { RandomService randomService = mock(RandomService.class); when(randomService.random("bar", 12)).thenReturn(13); FooFactory.Foo foo = new FooFactory(randomService).createFoo("bar", 12); assertThat(foo.awesomeStuff(), equalTo(39)); } } ---- It's a bit of a verbose way of getting around the problem but it seems to work reasonably well.
null
null
[ 0.0058353799395263195, -0.0037933855783194304, -0.03182164952158928, 0.05818908289074898, 0.07856199890375137, -0.0018432073993608356, 0.05093832686543465, -0.009321737103164196, 0.006248547695577145, -0.008374742232263088, -0.02628346160054207, 0.0048225075006484985, -0.06658540666103363, 0.031496766954660416, -0.010689910501241684, 0.059734296053647995, 0.0887339636683464, -0.034081216901540756, 0.038588959723711014, -0.004383797757327557, 0.007790651172399521, 0.03515080735087395, -0.019159620627760887, 0.035185307264328, 0.041373152285814285, 0.02705455757677555, 0.015136796049773693, 0.03437570855021477, -0.02967241406440735, -0.014153369702398777, 0.029798246920108795, -0.003060262417420745, -0.009478074498474598, 0.01228440459817648, -0.007068933919072151, 0.0013618484372273088, -0.005851689726114273, -0.039187729358673096, 0.0037324978038668633, 0.028772437945008278, -0.046496354043483734, 0.006967143155634403, -0.002025430090725422, 0.0051139905117452145, -0.07931645214557648, -0.007863680832087994, -0.04346726834774017, 0.026139728724956512, -0.01839192397892475, 0.020640259608626366, -0.08151161670684814, 0.019537005573511124, -0.026200491935014725, -0.003363371826708317, -0.004745266400277615, 0.03720866143703461, 0.04476733133196831, -0.1092209443449974, 0.04128007963299751, -0.07265999913215637, 0.010679313912987709, -0.0007683467119932175, -0.016804425045847893, 0.011904067359864712, -0.014941495843231678, -0.017445800825953484, 0.016175420954823494, 0.039338573813438416, -0.058198682963848114, -0.03372563049197197, -0.039635639637708664, -0.017952237278223038, -0.007821567356586456, -0.023753030225634575, -0.0026787291280925274, -0.04527920112013817, -0.011067411862313747, 0.03650561347603798, -0.014158489182591438, 0.0389137901365757, -0.043223462998867035, -0.028005696833133698, 0.015671424567699432, -0.010223944671452045, 0.007446876727044582, -0.03911982849240303, -0.061109758913517, -0.01745610497891903, -0.03547624126076698, 0.06573835760354996, 0.0069929808378219604, -0.039768628776073456, -0.019087497144937515, 0.02411039173603058, 0.00026198619161732495, -0.01084023155272007, 0.03737294673919678, -0.00315412157215178, 0.017973320558667183, 0.011670489795506, -0.010682597756385803, 0.0034485512878745794, 0.026128171011805534, 0.025712870061397552, -0.05407741665840149, -0.02144600637257099, -0.009676835499703884, -0.06267397850751877, -0.0199398435652256, 0.014762163162231445, -0.04774487763643265, 0.0315435416996479, -0.008088704198598862, 0.020750844851136208, -0.06672493368387222, 0.04835706576704979, -0.004516261164098978, -0.014353230595588684, -0.002718286355957389, 0.052211079746484756, 0.028278760612010956, 0.002456601709127426, -0.05814401060342789, 0.07419741898775101, 0.003742797300219536, 0.0348779633641243, -0.04088922217488289, 0.07506366074085236, 0.002864731475710869, -0.06446247547864914, 0.011587674729526043, 0.02345988154411316, 0.0032961859833449125, 0.02628052793443203, 0.009961257688701153, -0.041763417422771454, -0.022748924791812897, -0.029200904071331024, 0.04649927467107773, 0.026271672919392586, -0.022781768813729286, -0.045204587280750275, -0.006667538546025753, -0.023091468960046768, 0.014456379227340221, 0.008113416843116283, 0.026608986780047417, -0.024916740134358406, 0.00176244939211756, 0.037846196442842484, 0.016314199194312096, 0.05662068352103233, 0.07441054284572601, -0.02250870317220688, -0.002408099826425314, 0.07937416434288025, 0.0018595230067148805, 0.04364577680826187, -0.0031888592056930065, 0.038525067269802094, 0.03383181616663933, 0.01600313000380993, -0.013418801128864288, 0.06051430478692055, 0.03257899358868599, -0.020709993317723274, 0.02261454425752163, 0.060158196836709976, -0.02257167361676693, -0.020848827436566353, -0.08045899868011475, -0.08811703324317932, 0.04587801545858383, -0.03742538392543793, -0.03836563229560852, 0.026481788605451584, 0.0689174085855484, -0.009116137400269508, 0.08305247873067856, -0.0015966515056788921, -0.06827412545681, -0.015405557118356228, 0.017781365662813187, 0.029624363407492638, 0.0014024089323356748, 0.012786992825567722, 0.03471006825566292, 0.0025781216099858284, -0.02951790578663349, 0.05348741263151169, -0.059351690113544464, -0.07540056854486465, -0.008463380858302116, -0.01425014529377222, 0.052030034363269806, -0.019681870937347412, -0.013161564245820045, 0.07775584608316422, 0.03627927228808403, 0.009282932616770267, 0.02885323204100132, -0.015643781051039696, 0.008625802583992481, -0.029710931703448296, -0.016201458871364594, 0.036237139254808426, 0.04941319674253464, 0.018492408096790314, -0.05258913338184357, -0.007617221213877201, -0.025249624624848366, 0.007771417964249849, 0.03153648227453232, -0.01222627330571413, 0.037161685526371, -0.00002442372715449892, 0.018179770559072495, -0.011111085303127766, 0.031039191409945488, -0.06106269359588623, 0.01642775535583496, 0.016840051859617233, -0.03235667198896408, 0.0014308319659903646, 0.0026126480661332607, 0.1284792125225067, 0.03494129329919815, -0.0016978072235360742, -0.06089073419570923, 0.04392717778682709, 0.018205421045422554, -0.0566745325922966, 0.02617979794740677, -0.01295567862689495, 0.01594647392630577, 0.0413554348051548, -0.010858564637601376, 0.0008907557930797338, 0.028390368446707726, -0.028535466641187668, 0.0031182379461824894, 0.07323773950338364, -0.04067990183830261, 0.03946077078580856, -0.0005775431054644287, -0.019924454391002655, 0.0008301592315547168, -0.04127492010593414, -0.055456921458244324, -0.004741851706057787, 0.011793815530836582, -0.018977992236614227, 0.06950494647026062, -0.010992031544446945, -0.027250604704022408, -0.01307789795100689, -0.05221416428685188, 0.015907248482108116, -0.003427938325330615, 0.05230618640780449, -0.028373325243592262, 0.04885749891400337, -0.019797800108790398, 0.0038581774570047855, -0.033666905015707016, -0.05308199301362038, 0.008680935017764568, 0.045723311603069305, -0.017342304810881615, 0.04009106010198593, 0.012592162936925888, -0.015689391642808914, 0.061180293560028076, 0.017601387575268745, -0.033249977976083755, 0.0010123110841959715, 0.013615716248750687, 0.017612596973776817, -0.010114762932062149, -0.032386574894189835, -0.03248549625277519, 0.023741452023386955, -0.03761611506342888, -0.023487567901611328, 0.0059353625401854515, -0.10162853449583054, 0.03407575562596321, -0.07921642065048218, -0.07573624700307846, 0.015185099095106125, 0.046379927545785904, 0.02320292219519615, 0.009366251528263092, 0.02822033129632473, 0.06097400188446045, 0.0017236038111150265, -0.0009670935105532408, 0.015747657045722008, 0.02976260706782341, 0.019551120698451996, -0.004290852230042219, 0.033042289316654205, 0.021008267998695374, 0.01724562980234623, 0.005907861515879631, -0.05221728980541229, 0.012037523090839386, -0.009636223316192627, -0.2712726294994354, -0.0036870623007416725, -0.0020204700995236635, -0.027950070798397064, 0.0427655391395092, -0.04007911682128906, 0.035906385630369186, -0.04806913435459137, -0.043451644480228424, 0.06800229847431183, -0.01586790196597576, -0.056355420500040054, 0.010955318808555603, 0.06869257986545563, -0.033308275043964386, -0.0046274601481854916, 0.03168240934610367, -0.03356208652257919, 0.025214843451976776, 0.03656391054391861, -0.02620641142129898, -0.06001582369208336, 0.00126177491620183, 0.03531808778643608, 0.02913735620677471, 0.04412508010864258, -0.07394292205572128, 0.035968415439128876, -0.022323688492178917, 0.016973910853266716, 0.00715616624802351, -0.027394980192184448, -0.008912253193557262, -0.009787878952920437, -0.02289869636297226, -0.016671722754836082, 0.0035211953800171614, 0.015771111473441124, -0.011562323197722435, 0.035278357565402985, -0.029349740594625473, -0.06347019970417023, -0.02083495818078518, 0.0045013148337602615, 0.04224756360054016, -0.022876137867569923, -0.03684229776263237, -0.008349657990038395, -0.06075041741132736, 0.08340145647525787, -0.06454002857208252, -0.013999665156006813, -0.000025821349481702782, 0.006935310550034046, -0.011228449642658234, 0.0007190906908363104, -0.0016123104142025113, -0.012880834750831127, -0.06959342956542969, -0.020518697798252106, -0.025182245299220085, -0.04373781383037567, -0.022485626861453056, -0.020694764330983162, -0.023774784058332443, -0.04812777414917946, -0.04765884578227997, -0.0008891420438885689, 0.05394841358065605, 0.01924508810043335, -0.045546919107437134, 0.005906508769840002, 0.009680502116680145, -0.11860513687133789, 0.03912201523780823, -0.033872175961732864, 0.0019262497080489993, -0.020561696961522102, -0.0071308971382677555, 0.03519841283559799, -0.021488558501005173, -0.02574191428720951, 0.011746460571885109, 0.046505022794008255, 0.0028626120183616877, -0.01423910353332758, 0.028612259775400162, -0.0048546562902629375, -0.037592798471450806, 0.004382624756544828, 0.09459792077541351, 0.00560479611158371, 0.019162625074386597, -0.05827341973781586, 0.014288710430264473, 0.0683056116104126, 0.012048252858221531, 0.000545669230632484, 0.005625547841191292, 0.009968739002943039, 0.041459355503320694, -0.04094469174742699, 0.005122418515384197, 0.003544590901583433, 0.006758223753422499, -0.017880484461784363, -0.07139353454113007, 0.045722369104623795, -0.003174508223310113, 0.011855656281113625, -0.02314896509051323, -0.016680719330906868, -0.02017263136804104, -0.025291625410318375, -0.06816305965185165, -0.04697728902101517, -0.020883802324533463, 0.029821300879120827, -0.012246252968907356, -0.006800376810133457, -0.02573845162987709, -0.0008314912556670606, 0.04126974567770958, -0.02949461154639721, -0.04714399203658104, -0.03645409643650055, -0.02499624341726303, 0.0007878775359131396, 0.002575857797637582, -0.020661883056163788, -0.006706060841679573, 0.02781989984214306, 0.021861448884010315, -0.010785192251205444, -0.003082460490986705, 0.003326385049149394, -0.02482927218079567, -0.027165863662958145, -0.020425861701369286, -0.02212749980390072, 0.019247500225901604, -0.02714860811829567, -0.00020900642266497016, 0.00006205883983056992, 0.06062440574169159, -0.027409739792346954, 0.06171984598040581, 0.009934763424098492, -0.012583870440721512, -0.024845803156495094, 0.024872446432709694, -0.07732751220464706, 0.025996331125497818, -0.03964311629533768, -0.04659425839781761, -0.020175326615571976, 0.04348573088645935, -0.0066729276441037655, -0.020752999931573868, -0.02980942651629448, 0.023538382723927498, -0.06083862856030464, 0.007435846608132124, -0.016896286979317665, 0.014839977025985718, 0.06562066078186035, -0.060950867831707, 0.045571181923151016, -0.01970915123820305, -0.03931979835033417, 0.009489713236689568, -0.009327948093414307, -0.017610296607017517, 0.052473053336143494, 0.002261980203911662, 0.02706434763967991, 0.007001232355833054, 0.016049794852733612, 0.03752638399600983, 0.0498286709189415, 0.01505195815116167, 0.006239824462682009, 0.01445695385336876, -0.012929746881127357, 0.057423315942287445, -0.008165990002453327, -0.011968300677835941, 0.0032897712662816048, -0.0010168381268158555, -0.01469279546290636, -0.040206290781497955, -0.0355764701962471, -0.0015683311503380537, 0.04617190361022949, -0.025071188807487488, -0.08343327790498734, 0.02335534803569317, 0.029309462755918503, 0.002353992313146591, -0.006749087478965521, 0.041367556899785995, 0.018700022250413895, -0.04886529967188835, 0.03152952715754509, 0.05371326208114624, -0.042247671633958817, 0.0267229825258255, 0.004583313129842281, 0.04405224323272705, 0.019067268818616867, 0.003036115551367402, -0.05178326368331909, -0.016626134514808655, -0.012845275923609734, -0.029091252014040947, -0.045758362859487534, -0.04710284247994423, -0.011737077496945858, 0.023482905700802803, 0.006053422577679157, 0.0009559692698530853, -0.0015024907188490033, 0.02124202251434326, -0.019761627539992332, -0.030331885442137718, 0.02394988387823105, -0.025217153131961823, -0.0017509381286799908, 0.027023013681173325, -0.037717316299676895, 0.030489390715956688, -0.000761760922614485, 0.03829202428460121, 0.016260238364338875, -0.004142829682677984, -0.03890477865934372, -0.033072520047426224, 0.020941592752933502, -0.0027728464920073748, 0.026070982217788696, 0.04154842719435692, 0.02396397851407528, -0.013251176103949547, 0.00397090706974268, -0.023602239787578583, 0.014571469277143478, -0.009672068059444427, -0.007679942529648542, 0.014044729992747307, 0.04648102819919586, 0.011476929299533367, 0.054359320551157, 0.003493281314149499, 0.020422855392098427, 0.09836916625499725, -0.053137630224227905, -0.022287053987383842, -0.018387671560049057, -0.07908552139997482, 0.015597015619277954, 0.03159100189805031, 0.03851539269089699, -0.015095061622560024, 0.039295125752687454, 0.054883621633052826, 0.010045457631349564, 0.020039506256580353, -0.000831238052342087, 0.052752990275621414, -0.06050970032811165, -0.00866476260125637, -0.06505271047353745, 0.0282489825040102, 0.0677163153886795, 0.020964989438652992, -0.020855169743299484, -0.05891227349638939, -0.03240460157394409, 0.04568607360124588, -0.03730684891343117, -0.006558544468134642, 0.0297012310475111, -0.001892301021143794, -0.015503588132560253, 0.0005507704336196184, -0.06566064804792404, -0.004735818598419428, 0.03477447107434273, -0.015601621940732002, -0.030537199229002, -0.013369180262088776, 0.03820812702178955, 0.04282693564891815, -0.009388786740601063, -0.030179446563124657, 0.012241557240486145, 0.06267843395471573, 0.006256286054849625, 0.03254489228129387, 0.028113776817917824, -0.025849180296063423, 0.04040246829390526, 0.018516046926379204, -0.03704744204878807, -0.008557240478694439, 0.007708148565143347, 0.001409226329997182, -0.08122608065605164, -0.003525684354826808, -0.023618580773472786, -0.012856864370405674, -0.06200109049677849, 0.046170998364686966, 0.013758241198956966, -0.04218287393450737, -0.02718009054660797, 0.04229119047522545, -0.021740350872278214, -0.05340292677283287, -0.010709641501307487, -0.03367272764444351, -0.030055569484829903, 0.06686723977327347, 0.005820830352604389, 0.004420144017785788, 0.07125487178564072, -0.0005033016204833984, -0.025061318650841713, -0.012841739691793919, 0.07314544171094894, 0.0752159059047699, 0.002188462298363447, 0.022074835374951363, 0.054112691432237625, -0.003317243419587612, -0.05970695987343788, 0.036190133541822433, -0.01888737827539444, -0.025330927222967148, 0.0016370334196835756, -0.004647659603506327, 0.07163465768098831, -0.0026063895784318447, 0.042038023471832275, -0.0043671028688549995, 0.00019822710601147264, 0.028654057532548904, 0.013038978911936283, 0.035711441189050674, 0.03878943994641304, 0.008682250045239925, -0.0012312917970120907, 0.01909976825118065, -0.031441766768693924, 0.0004161465913057327, -0.023978210985660553, -0.00556929362937808, 0.012650898657739162, -0.0011652852408587933, -0.007048280909657478, 0.008004371076822281, -0.0020683296024799347, 0.06415385007858276, -0.01169099472463131, -0.014800353907048702, 0.007750833407044411, 0.013416984118521214, 0.019559072330594063, -0.008370794355869293, 0.012145484797656536, -0.024453915655612946, -0.01141090877354145, -0.025893114507198334, -0.03500077500939369, -0.013105392456054688, -0.009790545329451561, 0.036662641912698746, 0.001777933444827795, 0.024915162473917007, 0.006548850331455469, 0.009052406065165997, -0.037992943078279495, -0.06740602850914001, -0.03962871432304382, -0.008800162002444267, -0.04255734011530876, -0.02473584935069084, 0.029085511341691017, -0.008029581047594547, -0.02121182158589363, 0.0011586607433855534, -0.03110731765627861, -0.0013275757664814591, 0.048474885523319244, -0.03925946354866028, -0.026892654597759247, 0.051328983157873154, 0.003554418683052063, 0.03679351508617401, -0.005857851356267929, 0.047384824603796005, -0.00020529134781099856, -0.0007145277340896428, -0.04087480902671814, -0.007143946830183268, 0.02948961965739727, 0.011676669120788574, 0.003280480159446597, -0.0686851367354393, 0.0022197486832737923, 0.029051531106233597, -0.01938595250248909, -0.06781456619501114, 0.01959645375609398, 0.014558891765773296, -0.012389109469950199, 0.025731639936566353, -0.013630727306008339, -0.013898544944822788, 0.009769747033715248, -0.026003044098615646, 0.0366995669901371, 0.03553571179509163, 0.058669790625572205, -0.011480335146188736, 0.08121782541275024, 0.060462892055511475, -0.03523549064993858, -0.03435048088431358, 0.019344516098499298, -0.02457863837480545, 0.011187746189534664, -0.036071714013814926, -0.03449428454041481, -0.03905290365219116, -0.06331793963909149, -0.017816463485360146, 0.022502562031149864, -0.050333864986896515, -0.02535742148756981, -0.0016976865008473396, 0.02625812403857708, -0.03417551517486572, 0.03104601427912712, -0.02816608175635338, 0.02240825444459915, -0.03708447888493538, -0.006206379272043705, 0.02399381808936596, 0.021932801231741905, -0.011410079896450043, 0.026997249573469162, 0.024665288627147675, -0.028893446549773216, -0.03721100091934204, -0.003785434179008007, 0.03530322015285492, 0.047335151582956314, -0.010735049843788147, 0.02979975938796997 ]
[ -0.0807894766330719, 0.005779952276498079, -0.04146964102983475, -0.06957743316888809, 0.027826253324747086, -0.04707857966423035, 0.023247694596648216, 0.04270833358168602, 0.003705026116222143, -0.028070811182260513, -0.016431914642453194, -0.05029534548521042, 0.0018994722049683332, -0.01416765060275793, 0.08243953436613083, 0.0029703276231884956, -0.0471586138010025, -0.029429450631141663, 0.013429014012217522, 0.025542063638567924, 0.07864884287118912, -0.02827727235853672, -0.040428437292575836, -0.055490024387836456, 0.012483946979045868, 0.05560939759016037, 0.05227480083703995, -0.014656716026365757, 0.013591509312391281, -0.19633828103542328, 0.026003263890743256, -0.023713618516921997, -0.008457525633275509, -0.03182417154312134, -0.020757470279932022, 0.047322843223810196, 0.0028881540056318045, 0.01771971397101879, 0.00810739491134882, 0.06446152925491333, 0.01192225981503725, 0.03677118569612503, -0.054878588765859604, -0.04710553586483002, 0.016756433993577957, -0.015677139163017273, -0.0017967300955206156, -0.03158409520983696, 0.0066991932690143585, 0.005951428320258856, -0.06662628054618835, -0.015421450138092041, 0.014782765880227089, -0.03378766402602196, -0.02025621570646763, 0.00680065480992198, 0.06548959761857986, 0.06153610348701477, 0.010947946459054947, 0.029574234038591385, -0.0006067219655960798, -0.01748579740524292, -0.12245717644691467, 0.09336540102958679, 0.02850538305938244, 0.05159720405936241, -0.019320398569107056, -0.03163938596844673, -0.00784146599471569, 0.09750396013259888, 0.03273196890950203, 0.008488515391945839, -0.00878959707915783, 0.07350100576877594, 0.0008669758681207895, 0.0034296391531825066, 0.009329530410468578, -0.006293907295912504, 0.055682308971881866, -0.04190968722105026, -0.06569037586450577, -0.032166462391614914, 0.0032059759832918644, 0.022033119574189186, -0.03963851556181908, 0.04157577082514763, 0.014833100140094757, 0.017630506306886673, 0.07507592439651489, 0.06198624148964882, 0.024129686877131462, -0.01997152529656887, 0.015223605558276176, -0.0028962953947484493, -0.08091946691274643, 0.021377377212047577, -0.02434070222079754, -0.035597119480371475, -0.03437366709113121, 0.4147491753101349, -0.02389507368206978, -0.04673108085989952, 0.019500764086842537, 0.028709881007671356, -0.010160926729440689, 0.02416071854531765, -0.006360422819852829, -0.062043435871601105, 0.031619854271411896, -0.03641296178102493, 0.0013368150684982538, -0.001768499962054193, 0.020830295979976654, -0.05818333849310875, -0.03641500696539879, -0.017233368009328842, 0.010408629663288593, -0.00023262022295966744, -0.03821258619427681, -0.002265376504510641, 0.00027509446954354644, 0.0047032181173563, 0.005782424006611109, 0.02831895276904106, -0.00107427011243999, -0.02835182286798954, 0.003921844065189362, 0.05513492971658707, 0.01371463481336832, 0.017417719587683678, 0.01995372772216797, -0.084355428814888, -0.07290476560592651, -0.02678564377129078, 0.02930309996008873, 0.02254186011850834, 0.019192714244127274, -0.02305801585316658, -0.008757364936172962, 0.037369415163993835, -0.009088975377380848, -0.010927747003734112, 0.015320305712521076, -0.025566402822732925, -0.06841248273849487, 0.07308037579059601, 0.004053139127790928, -0.0023647805210202932, -0.010497909039258957, -0.015863047912716866, -0.006183523219078779, 0.06344231218099594, -0.02128767967224121, -0.06309083104133606, 0.0178975909948349, -0.005735704675316811, 0.05917476490139961, -0.0030171824619174004, -0.019819587469100952, -0.02709032967686653, -0.018597353249788284, -0.007509712129831314, -0.023655841127038002, 0.0495004765689373, 0.02675030753016472, -0.054399579763412476, -0.03000236488878727, 0.025507962331175804, 0.023888729512691498, -0.06123160570859909, -0.02630881778895855, 0.025619568303227425, -0.026298869401216507, -0.01378057524561882, 0.04717179387807846, -0.018151111900806427, -0.017910843715071678, 0.03623165190219879, 0.033426061272621155, 0.046521395444869995, 0.02481037937104702, 0.011740158312022686, -0.06536827981472015, 0.012010056525468826, -0.005019061733037233, -0.10317926853895187, -0.051891740411520004, -0.01139106135815382, -0.046508073806762695, -0.027906592935323715, -0.0690803974866867, 0.0221435334533453, -0.10289378464221954, 0.08547616004943848, -0.005473673809319735, -0.028858261182904243, 0.028974972665309906, -2.881036493818101e-7, 0.020114758983254433, -0.011157951317727566, 0.0329095721244812, 0.08736754208803177, 0.0036412570625543594, 0.039177000522613525, -0.10192803293466568, 0.05366367846727371, 0.07114977389574051, -0.029584819450974464, 0.02768775075674057, 0.028943195939064026, -0.05320478230714798, -0.018430259078741074, -0.0028583279345184565, 0.043619200587272644, -0.01732579991221428, -0.0006820618873462081, 0.003140615066513419, 0.03148379921913147, 0.03883804380893707, -0.01276039332151413, -0.03080563433468342, -0.018773730844259262, 0.009313682094216347, -0.34496551752090454, -0.03953886777162552, -0.007423349656164646, -0.030205102637410164, 0.014425825327634811, -0.030457397922873497, 0.014962567016482353, -0.0015610014088451862, -0.01189457532018423, -0.03954676166176796, 0.07314058393239975, -0.05114239454269409, 0.008151094429194927, -0.056085020303726196, -0.030386097729206085, -0.004907824564725161, -0.0420503243803978, -0.04479601979255676, -0.027528995648026466, 0.015763087198138237, -0.014034613035619259, -0.01761457324028015, 0.033905014395713806, -0.06232199817895889, 0.02813585288822651, -0.053861696273088455, 0.102762870490551, -0.020573299378156662, 0.08383677899837494, -0.06524226814508438, 0.05835532024502754, 0.021057182922959328, 0.022892719134688377, -0.09104526042938232, -0.009943545795977116, -0.035503089427948, -0.052751027047634125, 0.0048158918507397175, 0.0234064944088459, -0.0013840062310919166, -0.015767047181725502, 0.026554696261882782, -0.038931041955947876, -0.05304418504238129, -0.0017851017182692885, -0.014614427462220192, -0.027923258021473885, -0.046381574124097824, -0.0062617151997983456, 0.08608025312423706, -0.010503625497221947, -0.03276625648140907, 0.021022042259573936, 0.03150230646133423, 0.0034378243144601583, -0.028989076614379883, -0.045689906924963, 0.004332255106419325, 0.034552011638879776, 0.005240047816187143, 0.05752342566847801, 0.08831048011779785, 0.022781018167734146, -0.05430766940116882, -0.0039007856976240873, -0.009202322922647, -0.004925928078591824, -0.011618143878877163, 0.050809070467948914, -0.05737762153148651, -0.021524110808968544, 0.08716130256652832, 0.015344199724495411, 0.0005984143353998661, 0.038236770778894424, 0.0204453282058239, 0.0056974031031131744, 0.006329882889986038, 0.016332948580384254, 0.021873880177736282, 0.016108104959130287, -0.0007507260888814926, 0.03704801946878433, -0.017336269840598106, -0.01946314238011837, 0.057274919003248215, 0.013489759527146816, -0.003423286834731698, 0.05419310927391052, -0.00819435529410839, -0.042084239423274994, 0.010987162590026855, 0.0003465943445917219, -0.03167680278420448, 0.06243711709976196, -0.012359604239463806, -0.27571341395378113, 0.0028490566182881594, 0.05829257145524025, 0.061662815511226654, 0.01921413093805313, 0.02941977232694626, 0.04110634699463844, -0.027733031660318375, -0.0008373254677280784, 0.013798552565276623, 0.04476470127701759, -0.008257848210632801, 0.032006386667490005, -0.0015360272955149412, 0.04455123841762543, 0.002697697374969721, 0.03624359518289566, -0.00365334190428257, 0.0267365463078022, -0.057235147804021835, 0.0035976674407720566, -0.01841522939503193, 0.17698711156845093, -0.009769595228135586, 0.05027393251657486, 0.018060393631458282, 0.020477838814258575, 0.014022738672792912, 0.0575384795665741, 0.024512624368071556, 0.02374919503927231, 0.002023083157837391, 0.10762624442577362, -0.01802176609635353, 0.025324029847979546, -0.05923162400722504, -0.00006481198943220079, 0.003979850094765425, 0.008177673444151878, 0.0012236660113558173, 0.008206785656511784, -0.001656873500905931, -0.03197324275970459, 0.050532758235931396, 0.06133262440562248, 0.0346008837223053, -0.015779636800289154, -0.049519896507263184, -0.04343362897634506, 0.002027631038799882, -0.02247844822704792, -0.050380025058984756, 0.006580591667443514, -0.004713343922048807, -0.007774285972118378, 0.05328037589788437, 0.024581342935562134, -0.025913361459970474, -0.05588275194168091, -0.004007790703326464, 0.012137065641582012, 0.013589531183242798, 0.09781064838171005, 0.03666438162326813, 0.012543227523565292 ]
[ -0.0470270998775959, -0.006905152928084135, -0.012452464550733566, -0.01940520852804184, -0.015960073098540306, -0.006815362721681595, 0.018560146912932396, 0.002429488580673933, 0.01361999474465847, 0.011274399235844612, -0.010638788342475891, 0.010534542612731457, -0.01510347705334425, -0.005783895030617714, 0.05403224006295204, -0.03155631199479103, 0.035199347883462906, -0.019906364381313324, -0.004674823023378849, 0.003979590721428394, 0.01005532220005989, 0.012922583147883415, 0.00817103497684002, -0.0274051520973444, -0.009384104050695896, -0.01598631963133812, 0.019993863999843597, -0.011949606239795685, 0.018349096179008484, -0.12025380879640579, 0.006956863217055798, -0.033731475472450256, -0.02534988895058632, -0.03745351359248161, -0.022433631122112274, 0.002512251026928425, 0.0183173306286335, 0.015416238456964493, 0.015399669297039509, -0.015717634931206703, 0.016013815999031067, -0.008012265898287296, 0.03223493695259094, 0.0053650750778615475, 0.01260310783982277, -0.020425740629434586, 0.0115619832649827, -0.027624761685729027, 0.013684261590242386, -0.013781559653580189, -0.010406406596302986, -0.021461019292473793, 0.0052382005378603935, 0.02071348950266838, 0.024360517039895058, 0.012335225939750671, -0.014878806658089161, 0.007740299683064222, -0.04137306660413742, 0.011050627566874027, -0.01300368458032608, 0.002828880213201046, -0.00837070681154728, -0.024256344884634018, 0.013657710514962673, -0.041938528418540955, 0.0069813719019293785, 0.029237300157546997, -0.02898140251636505, -0.004038393031805754, -0.03679245710372925, 0.020644385367631912, 0.027483362704515457, 0.02947411872446537, 0.01811247691512108, 0.03946439176797867, -0.00578262796625495, 0.010664346627891064, 0.05247481167316437, -0.033173054456710815, -0.006163719575852156, 0.02169429510831833, 0.031314656138420105, 0.02258269675076008, -0.01645018346607685, 0.005352956708520651, 0.023315591737627983, -0.00941834319382906, 0.02570842206478119, 0.023911435157060623, -0.015359063632786274, 0.01924838498234749, -0.015083770267665386, 0.01853795535862446, -0.0670141875743866, 0.006077499594539404, -0.015604132786393166, -0.06440715491771698, 0.00840576458722353, 0.84823077917099, -0.013189002871513367, 0.038449887186288834, 0.06007068604230881, 0.020207330584526062, 0.004267022479325533, -0.0032211332581937313, -0.03485937789082527, 0.005085291340947151, 0.04466385394334793, -0.014641410671174526, 0.03183210641145706, 0.008404891937971115, 0.01032041572034359, 0.018419595435261726, -0.02914397232234478, -0.006497111637145281, 0.023771466687321663, -0.026790272444486618, 0.00534437270835042, -0.005782650783658028, -0.017168540507555008, 0.0021476680412888527, -0.0037577913608402014, -0.024175826460123062, 0.009618625976145267, -0.14302107691764832, 0.018342286348342896, -9.074313129829114e-33, 0.05263889580965042, -0.03232043236494064, 0.01758868247270584, 0.014621433801949024, 0.010770071297883987, 0.009365616366267204, 0.03928571194410324, 0.02667556330561638, 0.02233918383717537, -0.03422791138291359, 0.02339266985654831, -0.020200209692120552, 0.019945822656154633, -0.040095433592796326, 0.040705300867557526, -0.010311008431017399, -0.02453230880200863, 0.0023904817644506693, 0.015876663848757744, 0.015702277421951294, 0.007876443676650524, 0.053189024329185486, -0.011220350861549377, -0.03808197006583214, 0.03646289184689522, 0.007981233298778534, 0.042516399174928665, 0.01287885196506977, -0.017723841592669487, -0.032135993242263794, 0.027635537087917328, -0.00960421934723854, -0.031495798379182816, -0.003546534338966012, 0.03104410506784916, -0.027300920337438583, -0.0033491007052361965, 0.012318341061472893, -0.04723073169589043, -0.0984240397810936, 0.023523768410086632, -0.03541756048798561, -0.028057271614670753, 0.05092780664563179, -0.02936186082661152, -0.03345169499516487, 0.018886012956500053, -0.021053891628980637, 0.048213373869657516, -0.007842250168323517, 0.033341456204652786, 0.02501361258327961, -0.005933243781328201, -0.027717428281903267, -0.004621079657226801, 0.03677462786436081, -0.006840262096375227, 0.04069572314620018, -0.006635159254074097, 0.012712129391729832, -0.03357771784067154, -0.03033076971769333, -0.024078330025076866, 0.05161591246724129, -0.011847344227135181, -0.017305666580796242, -0.02577253244817257, -0.05673385411500931, 0.017933132126927376, 0.004102220758795738, 0.002565802773460746, -0.023736396804451942, -0.028514433652162552, -0.0068558077327907085, 0.004289718344807625, 0.014878337271511555, -0.009081864729523659, 0.008302070200443268, -0.01734178513288498, 0.01212045457214117, 0.016343960538506508, 0.00456775538623333, -0.008481675758957863, -0.0015534621197730303, -0.017957555130124092, 0.0038179976399987936, -0.004743705503642559, -0.024369575083255768, 0.025717899203300476, -0.0077513158321380615, 0.020232701674103737, 0.03151578828692436, -0.012270859442651272, 0.012366496957838535, -0.02591763809323311, 8.439289040995836e-33, -0.03147449344396591, 0.02421511709690094, -0.014271602034568787, 0.002918151207268238, 0.00505544850602746, -0.016167860478162766, 0.022454801946878433, 0.012569816783070564, -0.05914033576846123, 0.008943402208387852, -0.052067361772060394, 0.046669963747262955, 0.015780139714479446, 0.026616644114255905, 0.06174265220761299, -0.03536084294319153, 0.03260883688926697, -0.0014029996236786246, 0.02802320383489132, 0.006730244029313326, 0.030030708760023117, 0.024314863607287407, 0.047184038907289505, 0.004241916351020336, 0.0048952726647257805, 0.04290871322154999, -0.02939235046505928, 0.019158348441123962, -0.005705641116946936, -0.02118607424199581, -0.0017415133770555258, 0.002503605093806982, 0.011392812244594097, -0.03541696071624756, -0.03646179288625717, -0.016040079295635223, 0.002688605571165681, -0.017554201185703278, 0.014480785466730595, -0.021020660176873207, 0.0013621397083625197, -0.06923342496156693, -0.015229495242238045, 0.025175733491778374, 0.007232825271785259, -0.010860010981559753, -0.016193445771932602, -0.017217330634593964, 0.025569448247551918, 0.03760944679379463, -0.007507137954235077, -0.016954580321907997, -0.004570046905428171, 0.03953731432557106, 0.010057836771011353, -0.020058946684002876, -0.061605263501405716, 0.0007363920449279249, 0.02837377041578293, 0.032980453222990036, 0.006500355899333954, -0.014704336412250996, -0.008450286462903023, 0.04533898085355759, -0.013195181265473366, 0.007393698673695326, -0.0013458147877827287, -0.019690178334712982, 0.013465900905430317, -0.0007011848501861095, -0.032859425991773605, -0.0006399318226613104, -0.032525260001420975, 0.015916038304567337, 0.03351631015539169, -0.03010956570506096, 0.03762080892920494, -0.03252817317843437, -0.001364398398436606, -0.003637220012024045, 0.017367281019687653, -0.041937630623579025, 0.008126894012093544, -0.023244870826601982, 0.012658567167818546, -0.020598096773028374, -0.00564645417034626, -0.03100091964006424, 0.0038035514298826456, 0.006255387328565121, -0.021252600476145744, 0.014955449849367142, -0.012563224881887436, -0.00604325532913208, 0.0010198281379416585, -1.3755729000308747e-8, 0.025233982130885124, 0.030954398214817047, -0.006947586312890053, 0.02829131670296192, 0.0069965156726539135, -0.02071504481136799, -0.041549716144800186, -0.023678544908761978, -0.0007247855537571013, 0.0052260058000683784, 0.0007733084494248033, -0.0034216882195323706, 0.00820682942867279, 0.02394682727754116, 0.013452387414872646, -0.05181754007935524, -0.045414265245199203, -0.018008403480052948, 0.01104544848203659, 0.02897329069674015, -0.0006582943606190383, 0.03110584057867527, 0.012993772514164448, 0.0008074190118350089, -0.016904380172491074, -0.0008235685527324677, 0.019981395453214645, -0.0871548280119896, 0.04476485401391983, 0.03404901921749115, -0.020978592336177826, -0.00024619512259960175, -0.02275455743074417, -0.008981691673398018, -0.05660845339298248, 0.00909794494509697, -0.006628313101828098, 0.005004792474210262, 0.04725005850195885, 0.016465259715914726, 0.013286743313074112, 0.011964717879891396, 0.01777416095137596, -0.005006359424442053, -0.017424991354346275, -0.008479118347167969, -0.010476122610270977, 0.035277143120765686, 0.02627350389957428, -0.029216043651103973, -0.036251384764909744, 0.015705164521932602, -0.008712541311979294, -0.035811107605695724, -0.0014984888257458806, -0.0004381031321827322, 0.02018808387219906, -0.021025696769356728, -0.026845864951610565, 0.016792122274637222, 0.04046184569597244, -0.006939136888831854, -0.040483854711055756, -0.03655976802110672 ]
java-faking-a-closure-with-a-factory-to-create-a-domain-object
https://markhneedham.com/blog/2012/02/26/java-faking-a-closure-with-a-factory-to-create-a-domain-object
false
2012-02-21 22:21:43
Optimising for typing
[ "software-development" ]
[ "Software Development" ]
My colleague Ola Bini recently wrote a post describing http://olabini.com/blog/2012/02/notes-on-syntax/[his thoughts on the syntax of programming languages] and while the post in general is interesting the bit that most resonates with me at the moment is the following: ____ Typing fewer characters doesn't actually optimize for writing either - the intuition behind that statement is quite easy: imagine you had to write a book. However, instead of writing it in English, you just wrote the gzipped version of the book directly. You would definitely have to type much less - but would that in any way help you write the book? No, probably it would make it harder. So *typing I definitely don't want to optimize*. ____ On the application I'm currently working on we have a full time DBA on the team who favours a much more concise style of naming in tables than most developers would be used to. image::{{<siteurl>}}/uploads/2012/02/acronyms.gif[Acronyms,325] We have an acronym for each table and if there's a foreign key reference to a field in that table elsewhere then we'll use the acronym as part of the column name in the other table. For example if we had a reference to a table called +++<cite>+++Person+++</cite>+++ then our foreign key column name might be +++<cite>+++per_id+++</cite>+++. One of the problems we were trying to overcome is that from what I understand https://forums.oracle.com/forums/thread.jspa?threadID=2141234[Oracle has a field name limit of 30 characters] so we would eventually exceed that if our naming was too verbose. By using acronyms we can keep a more consistent style of naming rather than having some names being spelt out fully and others being abbreviated. The other argument used for the more concise naming convention is that it's *much quicker to type* columns named in this way and we don't have auto complete functionality available in sqlplus as we do in most IDEs. The disadvantage of the approach is that it's now very difficult to understand what data is being stored in a table just by looking at it - you need to first learn all the acronyms and then do the translations in your head. If you're working with the tables all day long then it becomes second nature but if your use of them is more sporadic it takes a bit longer. We're trying to keep interactions with the database reasonably minimal so hopefully we won't need to do any really complex queries with joins in which would be truly difficult to understand when we come back to them!
null
null
[ 0.019411994144320488, 0.03761427477002144, 0.0087820403277874, 0.02193991094827652, 0.08218733221292496, 0.004614837933331728, 0.0038487864658236504, 0.02826949581503868, 0.010687850415706635, -0.01295627560466528, -0.003161594970151782, -0.001010246342048049, -0.07582789659500122, 0.008336861617863178, -0.005290353670716286, 0.07483607530593872, 0.05592823401093483, 0.018857527524232864, 0.019591299816966057, -0.023551803082227707, 0.02242877148091793, 0.06323216110467911, 0.03513599559664726, 0.04183633252978325, 0.03443443402647972, 0.043271519243717194, -0.019719542935490608, -0.002464570105075836, -0.051449164748191833, -0.022932644933462143, 0.040319573134183884, -0.008050404489040375, -0.0032307757064700127, 0.0005525531596504152, 0.035523246973752975, -0.006671562325209379, -0.02277470752596855, 0.02822958305478096, 0.016375577077269554, 0.018566079437732697, -0.0897248238325119, 0.04354894161224365, 0.003267550840973854, 0.02571781724691391, -0.009643486700952053, -0.02111874707043171, -0.07582355290651321, 0.0037874809931963682, -0.02112393081188202, 0.006139683071523905, -0.0594724602997303, 0.026363475248217583, -0.007248797919601202, 0.007887199521064758, 0.008893019519746304, 0.049805235117673874, 0.03465128690004349, -0.04263259470462799, 0.005964409094303846, -0.04671192541718483, 0.013441271148622036, -0.01789616420865059, -0.005277808289974928, 0.024841535836458206, 0.035481810569763184, -0.011153637431561947, -0.01233911607414484, 0.03115963004529476, -0.05283314734697342, 0.03189559653401375, -0.005636280868202448, -0.00001912056904984638, -0.01349536795169115, -0.025338632985949516, 0.008674153126776218, -0.030299201607704163, -0.003765346249565482, 0.06155143305659294, 0.042795583605766296, 0.0511615127325058, -0.028933126479387283, 0.0029164438601583242, -0.004729113541543484, 0.009480505250394344, -0.009402544237673283, -0.02871379256248474, -0.006939074490219355, -0.03499939665198326, -0.021650921553373337, 0.04282551258802414, -0.003304569749161601, -0.053549837321043015, -0.004102777689695358, 0.011869598180055618, -0.02360694296658039, -0.003031408181414008, 0.026867469772696495, 0.004135975614190102, -0.011668005958199501, 0.0015407479368150234, -0.04752607271075249, -0.0345420241355896, 0.014727002941071987, 0.018582792952656746, -0.0825202688574791, -0.0193833876401186, -0.04813293367624283, 0.01585136540234089, 0.04516128450632095, 0.013461163267493248, -0.013158618472516537, 0.010866955853998661, -0.007442180532962084, -0.03174733743071556, -0.06935147941112518, 0.0516192689538002, 0.007243500556796789, -0.022262265905737877, 0.0004557377251330763, -0.0046878536231815815, 0.05464284494519234, 0.046423330903053284, 0.003476937999948859, 0.0664701908826828, 0.006046380382031202, 0.011869475245475769, -0.022922316566109657, 0.040027812123298645, -0.031472451984882355, -0.061038367450237274, -0.003085523843765259, 0.03696725517511368, -0.016867661848664284, 0.005711910780519247, 0.012109479866921902, -0.017641305923461914, -0.015559293329715729, 0.01578405126929283, 0.0567014105618, 0.031929876655340195, 0.005181049462407827, -0.046440575271844864, -0.014375900849699974, 0.007086885627359152, 0.032862044870853424, 0.003283704398199916, 0.01368880458176136, -0.03600827977061272, -0.027793606743216515, -0.017987528815865517, 0.019288381561636925, 0.032029807567596436, 0.044455282390117645, -0.03283148258924484, 0.01779407262802124, 0.10106934607028961, 0.01990620791912079, -0.0018206039676442742, 0.008918706327676773, 0.025790011510252953, 0.03548194468021393, 0.008338836953043938, -0.0018027155892923474, 0.03640257939696312, 0.020413076505064964, -0.0010671989293769002, 0.01793357916176319, 0.05560256540775299, 0.005062962882220745, 0.029586175456643105, -0.049109481275081635, -0.03763249143958092, 0.05649290233850479, -0.05102505162358284, -0.014186825603246689, 0.05196491628885269, 0.08078670501708984, 0.04740981385111809, 0.045553501695394516, 0.008508928120136261, -0.08405239880084991, 0.04726148396730423, -0.016575820744037628, 0.005698022898286581, 0.02651555836200714, -0.011708704754710197, 0.06924222409725189, 0.030849000439047813, 0.0023750944528728724, 0.036217425018548965, -0.03522635996341705, -0.09097113460302353, -0.0008381305378861725, -0.014655492268502712, 0.04944341629743576, -0.0539885014295578, 0.00886429101228714, 0.10668522864580154, 0.0041109477169811726, 0.0266032163053751, 0.0153731070458889, 0.02522246167063713, 0.006650453899055719, -0.06132405996322632, -0.0269895251840353, 0.04842369630932808, 0.02349245361983776, -0.010337796993553638, -0.045514822006225586, 0.014002947136759758, 0.004161382094025612, -0.01424521766602993, 0.024810882285237312, -0.006679020822048187, 0.037543926388025284, 0.017049560323357582, 0.07016333192586899, 0.0024744239635765553, 0.04058263823390007, -0.037538159638643265, 0.008299428969621658, 0.014227393083274364, -0.02897907979786396, 0.024153171107172966, 0.010045213624835014, 0.12720133364200592, 0.044074028730392456, -0.019200390204787254, -0.0488092340528965, 0.03157491609454155, 0.028822319582104683, -0.06915266066789627, 0.02567139081656933, -0.009018048644065857, 0.0018455245299264789, -0.012924988754093647, -0.05888628959655762, -0.03613736107945442, 0.022522782906889915, -0.013076302595436573, -0.00463388254866004, 0.07482194900512695, -0.03466295823454857, 0.05686404928565025, 0.004906520713120699, -0.02504393644630909, -0.012355182319879532, -0.039509449154138565, -0.04041965678334236, 0.006218826863914728, -0.004043850582093, -0.011344910599291325, 0.038150131702423096, -0.01425196509808302, -0.026991629973053932, -0.012099784798920155, -0.04576941207051277, 0.04624262824654579, 0.04090230539441109, 0.04544047266244888, -0.02787023037672043, 0.07168559730052948, -0.00823226384818554, 0.023316750302910805, -0.017116690054535866, -0.0547306165099144, -0.015380376018583775, -0.029018644243478775, -0.021799741312861443, 0.03097604215145111, -0.0030780318193137646, 0.049187228083610535, -0.008096788078546524, -0.002415385330095887, -0.007191885728389025, 0.025271544232964516, 0.012099768966436386, -0.005786119494587183, -0.037205398082733154, -0.029130497947335243, -0.04100793972611427, 0.04497823119163513, -0.031494345515966415, -0.04285924881696701, -0.005722985137254, -0.05744640529155731, 0.014454745687544346, -0.0983845591545105, -0.07205308228731155, -0.0014678738079965115, -0.0024810468312352896, 0.014489272609353065, -0.0017354157753288746, -0.013692272827029228, 0.08121857792139053, -0.0017145921010524035, -0.019536705687642097, -0.002343018539249897, -0.0012002566363662481, 0.028697382658720016, 0.009107384830713272, -0.007785669062286615, 0.045576877892017365, 0.00558744091540575, -0.0014039118541404605, -0.032818038016557693, 0.011803776025772095, 0.004488925915211439, -0.2809349000453949, 0.04697291925549507, -0.035547371953725815, -0.04362235218286514, 0.014711461029946804, -0.00578791880980134, 0.0004232259816490114, -0.05442190542817116, -0.026907965540885925, 0.01798039861023426, -0.03476595878601074, -0.028003254905343056, -0.004674316383898258, 0.05256392061710358, -0.01104423776268959, 0.05140553414821625, 0.022450605407357216, -0.04342411085963249, -0.0275627039372921, 0.04983299598097801, 0.02556953951716423, -0.07013377547264099, -0.005926946643739939, 0.04990150406956673, 0.046077609062194824, 0.06848253309726715, -0.09361335635185242, 0.026358501985669136, -0.03930942341685295, 0.00685032457113266, 0.002635140437632799, 0.02059728093445301, 0.005003975238651037, -0.02047930657863617, -0.03895113617181778, -0.02640223689377308, 0.021948378533124924, 0.003390280297026038, 0.014888579025864601, 0.011476836167275906, -0.03337504342198372, -0.0463593527674675, -0.017127294093370438, 0.0007933748420327902, 0.06258923560380936, 0.013055358082056046, -0.09283778816461563, 0.0035848512779921293, -0.017695976421236992, 0.05191660672426224, -0.030157336965203285, -0.053265657275915146, -0.02466985397040844, 0.05411434918642044, -0.0026542209088802338, -0.024776499718427658, -0.008605672046542168, -0.03174153342843056, -0.017780117690563202, -0.058643095195293427, -0.006276434753090143, -0.05310110002756119, 0.017413051798939705, -0.03354997560381889, -0.011164498515427113, -0.05954300984740257, -0.0596141442656517, -0.007126473356038332, 0.0921543538570404, 0.05346143990755081, -0.034350018948316574, 0.032476842403411865, -0.01411337312310934, -0.10044509917497635, -0.017795003950595856, -0.036010269075632095, -0.019452901557087898, 0.00022436282597482204, -0.025277409702539444, 0.0533435121178627, -0.0037885699421167374, -0.030632412061095238, 0.00255641620606184, 0.025678133592009544, 0.025635194033384323, -0.03910916671156883, 0.02568989060819149, 0.032903533428907394, -0.018731510266661644, 0.015289399772882462, 0.06696213781833649, -0.005094266962260008, -0.023746149614453316, -0.0037310447078198195, 0.0010086975526064634, 0.003997657913714647, 0.02816569060087204, -0.00956545490771532, 0.01831522211432457, -0.0034925523214042187, 0.02603977359831333, -0.06945084035396576, 0.016759872436523438, -0.04250602424144745, -0.006319174077361822, -0.025711864233016968, -0.057065729051828384, -0.004236551001667976, 0.029401661828160286, 0.011324360966682434, -0.02379010058939457, -0.04093661904335022, 0.025040650740265846, -0.06824063509702682, -0.058759186416864395, -0.01960359327495098, 0.03325130045413971, 0.025312235578894615, -0.018207984045147896, -0.02368244156241417, -0.06521761417388916, 0.040523406118154526, 0.010888275690376759, -0.04504279047250748, -0.05314755067229271, -0.006444948259741068, -0.02757818065583706, -0.02778947725892067, -0.007264743559062481, 0.028390241786837578, -0.005356473848223686, 0.00781791191548109, 0.02632254734635353, -0.026913072913885117, 0.028302455320954323, -0.014840363524854183, -0.04797288775444031, -0.01844877377152443, -0.008736780844628811, -0.008331742137670517, 0.003943426068872213, 0.01664056070148945, -0.004205621778964996, 0.02701515704393387, 0.04214005544781685, 0.0068774535320699215, 0.04014391452074051, 0.013004799373447895, 0.03623373061418533, 0.04890039563179016, 0.007785151246935129, -0.046730369329452515, 0.004746296908706427, -0.0477149561047554, -0.013541913591325283, -0.024903535842895508, 0.04428255930542946, 0.0016444723587483168, -0.04152722284197807, -0.016595514491200447, 0.012386909686028957, -0.06767695397138596, -0.02130788564682007, -0.016317415982484818, 0.01164703443646431, 0.05655467510223389, -0.010219884105026722, 0.047027766704559326, -0.0021258594933897257, 0.01976272091269493, 0.016651248559355736, 0.0393579825758934, -0.04319489002227783, 0.007772837765514851, 0.024655302986502647, -0.01893373765051365, -0.005783519707620144, 0.01391439139842987, 0.07629376649856567, 0.008024184964597225, -0.00971260666847229, -0.023080630227923393, 0.0009153960272669792, 0.025324951857328415, 0.050717029720544815, 0.015839312225580215, -0.00874289683997631, -0.020175494253635406, -0.0315319187939167, -0.03869349882006645, -0.010383504442870617, -0.002903216052800417, 0.00985301285982132, 0.013736231252551079, -0.016817709431052208, -0.0653291866183281, 0.05710457265377045, 0.040837544947862625, -0.021535076200962067, 0.03998003900051117, 0.013465863652527332, 0.0011380750220268965, -0.03416363522410393, 0.022752171382308006, 0.03253280371427536, -0.05861228331923485, 0.02553238905966282, -0.024334706366062164, -0.010802067816257477, 0.010146602056920528, 0.013423293828964233, -0.019677771255373955, -0.042085662484169006, -0.012658335268497467, 0.0219840370118618, -0.02184237539768219, -0.026566192507743835, -0.00757911242544651, 0.0011212052777409554, 0.0015135491266846657, -0.012087726034224033, -0.02058062143623829, -0.00810295157134533, -0.002047116868197918, -0.015120435506105423, 0.04853943735361099, -0.022861165925860405, 0.010369239374995232, 0.01968890056014061, -0.021626075729727745, 0.011536948382854462, -0.03664441406726837, 0.0066075255163013935, 0.02431405521929264, -0.022467155009508133, -0.007452146615833044, -0.04685238003730774, -0.012440401129424572, -0.006433011963963509, 0.06572034955024719, -0.0015724457334727049, -0.03680942580103874, -0.023821203038096428, -0.011233438737690449, -0.06885480880737305, 0.010055878199636936, -0.02547514997422695, -0.03138182684779167, 0.011630902998149395, 0.05350672826170921, 0.03892519325017929, 0.001662680646404624, -0.03223419189453125, -0.03597474843263626, 0.047959066927433014, -0.06628552079200745, -0.004596336279064417, -0.03147007152438164, -0.06905960291624069, 0.02092406339943409, 0.01834830455482006, 0.016047032549977303, -0.03233937919139862, 0.052962858229875565, 0.04288017749786377, 0.036107711493968964, 0.024606619030237198, -0.0008566190372221172, 0.03470424562692642, -0.024161091074347496, -0.022938568145036697, -0.08303660154342651, 0.010984953492879868, 0.016974283382296562, 0.032741107046604156, -0.03783974424004555, 0.003589918604120612, -0.046433381736278534, 0.04364531859755516, -0.06367775052785873, -0.013770261779427528, 0.01723569445312023, -0.0030708075501024723, 0.003788695437833667, 0.0028988621197640896, -0.07574231922626495, -0.009333598427474499, 0.020771924406290054, -0.023685233667492867, -0.043857134878635406, -0.031411562114953995, 0.07841295003890991, 0.002215066459029913, 0.02711504139006138, -0.04225735366344452, -0.011930159293115139, 0.0846090242266655, 0.024175073951482773, -0.024517986923456192, 0.03157506510615349, -0.024856293573975563, 0.045073501765728, 0.030231963843107224, 0.01372492779046297, 0.006146732252091169, -0.005322324112057686, -0.03795386478304863, -0.05039414390921593, 0.006048510782420635, 0.023510782048106194, -0.016243595629930496, -0.04350503906607628, 0.06799659878015518, 0.006757021881639957, -0.02602614089846611, -0.07541030645370483, 0.008780314587056637, -0.026113096624612808, -0.008631817065179348, -0.03874162584543228, 0.017095234245061874, -0.05105750635266304, 0.056932561099529266, -0.002131091430783272, 0.002712989691644907, 0.06983332335948944, 0.005653717089444399, -0.017475809901952744, -0.0363818034529686, 0.0750935822725296, 0.09625405073165894, 0.05623265728354454, 0.0060304636135697365, 0.03681304305791855, -0.02143161930143833, -0.0605146661400795, 0.017416052520275116, -0.014065835624933243, -0.001406349241733551, -0.005306664854288101, 0.012273895554244518, 0.0567513071000576, -0.02135072462260723, 0.06977023184299469, 0.00040842118323780596, -0.02651752158999443, -0.0026020582299679518, 0.00825596321374178, -0.004093759227544069, 0.045246344059705734, 0.00653574476018548, 0.024743013083934784, -0.028634583577513695, -0.03827362880110741, 0.030121060088276863, -0.024814534932374954, -0.01928745023906231, 0.016506973654031754, 0.004224030300974846, 0.02362118475139141, 0.012070037424564362, 0.03755288943648338, 0.0896044597029686, -0.041135478764772415, 0.012885792180895805, 0.018053362146019936, 0.02992331050336361, -0.01910838671028614, 0.04751991853117943, -0.004757039714604616, -0.02531995065510273, -0.013678726740181446, -0.025837823748588562, -0.012172526679933071, -0.006101202219724655, -0.02599070593714714, 0.04482337087392807, -0.029187923297286034, 0.006674332078546286, 0.03362494334578514, 0.010912229306995869, -0.036601465195417404, -0.07199221849441528, -0.04485122486948967, -0.0074858227744698524, -0.07362083345651627, -0.013787353411316872, 0.018355518579483032, -0.015842972323298454, -0.045923806726932526, -0.008386327885091305, -0.03254309296607971, -0.02007547952234745, 0.0017712838016450405, -0.025217995047569275, -0.046784862875938416, 0.01580815762281418, 0.022453704848885536, 0.00896504893898964, 0.028643371537327766, 0.03751402348279953, -0.021543927490711212, 0.030879586935043335, 0.002282884903252125, 0.001270491979084909, 0.034841425716876984, 0.002228913363069296, 0.0010003028437495232, -0.08231096714735031, 0.010168748907744884, 0.012543789111077785, -0.011663747020065784, -0.06946396082639694, 0.03708435595035553, 0.007796882651746273, 0.004259285517036915, 0.051013749092817307, -0.02489238791167736, 0.02767779305577278, -0.019853349775075912, -0.028065169230103493, 0.009736972860991955, 0.023518139496445656, 0.034734491258859634, -0.010706711560487747, 0.08164186030626297, 0.05049733445048332, -0.016214080154895782, -0.034279003739356995, -0.030238641425967216, -0.0013767865020781755, -0.00839704368263483, -0.020141329616308212, -0.029317883774638176, -0.040465448051691055, -0.08376502990722656, -0.006967480760067701, 0.03278444707393646, -0.03965055197477341, -0.022118575870990753, 0.02462238259613514, 0.031692180782556534, -0.023336462676525116, 0.009308136999607086, -0.015209601260721684, 0.022286344319581985, -0.040448371320962906, -0.023347757756710052, -0.003498389618471265, 0.017743322998285294, 0.00282375980168581, -0.026882164180278778, 0.007076796144247055, -0.04604217782616615, 0.010839074850082397, -0.004735590424388647, 0.01803813874721527, 0.023606745526194572, 0.010371833108365536, 0.02874203771352768 ]
[ -0.09333976358175278, 0.001349643338471651, -0.02465682476758957, -0.02939549833536148, 0.009395412169396877, -0.025387343019247055, -0.010097231715917587, 0.001000887481495738, 0.03190748766064644, -0.033811479806900024, -0.021015532314777374, -0.013727821409702301, -0.005122260190546513, -0.027965400367975235, 0.07453739643096924, -0.012838766910135746, -0.0046154712326824665, -0.06415681540966034, -0.0008743773796595633, 0.014426433481276035, 0.006762261968106031, -0.021343549713492393, -0.03143981844186783, -0.03799882531166077, -0.0056781587190926075, 0.02822849340736866, 0.023484496399760246, -0.04240905120968819, -0.005261165089905262, -0.22416721284389496, 0.004357034340500832, 0.06466083973646164, 0.034678149968385696, -0.014572893269360065, -0.031227754428982735, 0.02594943530857563, 0.012543994002044201, 0.03733357787132263, -0.015943221747875214, 0.022632863372564316, 0.00870196521282196, 0.013638092204928398, -0.026541853323578835, 0.004776326008141041, 0.035208262503147125, -0.00632849195972085, -0.02355874516069889, -0.04665691778063774, -0.048523373901844025, 0.05151263624429703, -0.07749921828508377, 0.0025563559029251337, -0.005692776292562485, 0.009797599166631699, 0.00433513754978776, 0.021019984036684036, 0.04302648454904556, 0.07520635426044464, -0.02635665237903595, 0.0013958390336483717, 0.021514203399419785, -0.01785365678369999, -0.1316959261894226, 0.12875880300998688, 0.0030279906932264566, 0.027568737044930458, -0.020486921072006226, -0.018192676827311516, -0.03194804489612579, 0.09606029838323593, 0.002204618649557233, -0.011562519706785679, -0.0394141748547554, 0.09167993068695068, 0.023727769032120705, -0.00987747311592102, -0.01703035458922386, -0.0004697584081441164, 0.04383334144949913, -0.06354905664920807, -0.03160395845770836, -0.002973776776343584, -0.03764577582478523, -0.028030293062329292, -0.049982279539108276, 0.01394599862396717, -0.030602524057030678, 0.02924106828868389, 0.016927039250731468, -0.008093073032796383, 0.0542009100317955, -0.03942232206463814, 0.0530504509806633, 0.006052923388779163, -0.05016046017408371, -0.01644878275692463, -0.025385674089193344, 0.017382657155394554, -0.06385178864002228, 0.4254536032676697, -0.03411746770143509, -0.006486072670668364, 0.03744693845510483, 0.016962355002760887, 0.020584264770150185, 0.008766579441726208, 0.03172111138701439, -0.08064927160739899, 0.005802435334771872, -0.03937169909477234, -0.0010759886354207993, 0.0025848569348454475, 0.04445452615618706, -0.03314966335892677, 0.012729338370263577, 0.017546221613883972, 0.051318421959877014, 0.02123119868338108, -0.006347963586449623, -0.0031864766497164965, -0.017730237916111946, 0.02019612118601799, -0.029637504369020462, 0.017362458631396294, 0.0042435526847839355, -0.02339966781437397, 0.005044753663241863, 0.04798051714897156, 0.027876731008291245, 0.026527004316449165, 0.06618740409612656, -0.033468134701251984, -0.05128096416592598, -0.016085803508758545, 0.020590340718626976, -0.010835040360689163, 0.005076875910162926, -0.017079466953873634, -0.018189702183008194, 0.03054484911262989, 0.0060644992627203465, -0.014205913059413433, 0.02050851844251156, 0.030389981344342232, -0.030611617490649223, 0.14605003595352173, -0.011953567154705524, -0.04285677894949913, -0.021518966183066368, -0.035646166652441025, 0.024543721228837967, 0.023561853915452957, -0.011466993018984795, -0.06932525336742401, -0.02469598315656185, 0.014385533519089222, 0.06786499172449112, 0.0016711810603737831, -0.08391445130109787, -0.04728724807500839, -0.002746458165347576, -0.03923720866441727, -0.04387804493308067, 0.04879524186253548, 0.029713671654462814, -0.09273380041122437, -0.0494098961353302, 0.010240832343697548, 0.001285636448301375, -0.06377782672643661, 0.03163689374923706, -0.017922885715961456, -0.056496065109968185, 0.026898089796304703, 0.04987585172057152, -0.026761624962091446, -0.014219474978744984, -0.013616250827908516, 0.04930616170167923, 0.009490794502198696, 0.06434455513954163, 0.026207512244582176, -0.033213838934898376, -0.027706442400813103, -0.0499471016228199, -0.07182140648365021, -0.06270789355039597, 0.006512016989290714, -0.007895218208432198, -0.018198935315012932, 0.011455030180513859, 0.0042970869690179825, -0.06837310642004013, 0.0797942727804184, -0.04387605935335159, -0.0204375758767128, 0.047508757561445236, -0.002955193165689707, -0.014464893378317356, -0.03789359703660011, -0.005571292247623205, 0.05444441735744476, -0.023179996758699417, 0.039509426802396774, -0.007057020906358957, 0.009004129096865654, 0.08218715339899063, -0.06362169235944748, 0.0735570564866066, 0.02931140549480915, -0.03356807306408882, -0.015242096036672592, 0.0080486461520195, 0.016163578256964684, -0.0019522386137396097, -0.004264527000486851, 0.002864045789465308, 0.024088216945528984, 0.014687779359519482, -0.008211440406739712, -0.014707529917359352, -0.01088909525424242, -0.009951923042535782, -0.33680251240730286, -0.028582539409399033, -0.008475185371935368, -0.02630985714495182, 0.0014024319825693965, -0.05838837847113609, 0.00908349733799696, 0.007362416014075279, 0.004032932221889496, 0.009741391986608505, 0.03774823620915413, -0.017820365726947784, -0.016321543604135513, -0.05451691523194313, -0.03893675655126572, 0.043392982333898544, -0.030599838122725487, -0.02204136550426483, -0.009766949340701103, 0.013163064606487751, 0.00466550700366497, 0.022081375122070312, -0.023181786760687828, -0.06518525630235672, -0.0059775663539767265, 0.0048214709386229515, 0.09902744740247726, -0.013422736898064613, 0.10062321275472641, -0.05683085694909096, 0.05629010498523712, 0.012471958063542843, 0.02308269776403904, -0.09357541054487228, 0.02409191057085991, 0.004734549671411514, -0.03673428297042847, -0.017216552048921585, -0.006812855135649443, -0.02519678696990013, -0.03014684095978737, -0.0007081212825141847, -0.057105306535959244, -0.029530972242355347, -0.035526204854249954, 0.01549525000154972, -0.0120865972712636, -0.06297668069601059, -0.026604147627949715, 0.10706150531768799, 0.005635551642626524, 0.03384486958384514, 0.019627206027507782, 0.049276046454906464, 0.018603717908263206, -0.02638794481754303, -0.07818347215652466, -0.005122729577124119, 0.00592392822727561, 0.003739833366125822, 0.04314485192298889, 0.009412110783159733, 0.037428610026836395, -0.042569756507873535, -0.010477312840521336, 0.008296140469610691, -0.023101141676306725, 0.011127293109893799, 0.05656213313341141, -0.014483851380646229, -0.05643531307578087, 0.13707393407821655, -0.020558705553412437, -0.02898181974887848, 0.049386847764253616, 0.041757553815841675, -0.02071799710392952, 0.02505582757294178, 0.007662639021873474, -0.02238050475716591, 0.02531271241605282, -0.004351342096924782, 0.07606429606676102, -0.025401663035154343, 0.009405606426298618, 0.037298623472452164, 0.023889219388365746, -0.017744775861501694, 0.035069677978754044, 0.000168147700605914, -0.03490768000483513, 0.017361829057335854, -0.009197902865707874, -0.046001411974430084, 0.06726063787937164, -0.011952197179198265, -0.267835795879364, 0.04716416820883751, 0.08112651854753494, 0.06229950860142708, 0.026346905156970024, 0.052683036774396896, 0.011171451769769192, -0.0578312948346138, -0.005134957376867533, 0.01882205903530121, 0.030606433749198914, 0.011249087750911713, -0.003952971193939447, -0.02038881927728653, 0.0043843649327754974, -0.008763180114328861, 0.05173732712864876, -0.02887684665620327, 0.0006533237756229937, 0.0346563346683979, 0.025632496923208237, -0.016054600477218628, 0.1724667251110077, -0.0031574065797030926, 0.01611301302909851, -0.0038178751710802317, 0.027904056012630463, 0.046667300164699554, 0.05418253690004349, 0.030420925468206406, 0.031946901232004166, -0.005880157463252544, 0.04450199753046036, 0.02669871598482132, 0.03163390979170799, -0.04771759361028671, -0.0333864763379097, 0.03223825991153717, 0.040147729218006134, -0.0025437171570956707, 0.022870808839797974, 0.0029687616042792797, -0.053643304854631424, 0.024791406467556953, 0.051566772162914276, 0.012673827819526196, -0.0015979026211425662, -0.012114107608795166, -0.03844504803419113, -0.00722618168219924, -0.024142837151885033, -0.02299809828400612, -0.008877325803041458, 0.01804964803159237, 0.0031053703278303146, 0.003906972240656614, 0.02981681004166603, -0.02533819153904915, 0.009607525542378426, 0.025872012600302696, -0.027948059141635895, -0.01571492850780487, 0.09684110432863235, 0.05213366076350212, 0.033032242208719254 ]
[ 0.007519824896007776, 0.005268016364425421, -0.06967674195766449, 0.004077620804309845, -0.023455172777175903, -0.009370870888233185, 0.02702074870467186, 0.014260378666222095, -0.0017947606975212693, 0.019892383366823196, -0.01317557692527771, 0.019762398675084114, 0.020853489637374878, -0.021127963438630104, 0.005164573900401592, -0.004941130988299847, -0.004088577348738909, -0.02053801342844963, 0.002616283716633916, -0.031887635588645935, -0.04559729993343353, 0.013866047374904156, 0.03634580969810486, -0.0058660064823925495, -0.00040656773489899933, 0.01631285436451435, -0.03519679978489876, 0.0012572247069329023, 0.021012110635638237, -0.1065881997346878, -0.03333442285656929, -0.0015615869779139757, -0.012043654918670654, 0.021072324365377426, -0.00468081422150135, -0.01629854179918766, -0.011320898309350014, 0.0144931236281991, 0.02271915413439274, -0.002915743738412857, -0.019432472065091133, -0.043703533709049225, -0.02501833252608776, 0.04276435077190399, -0.006435675546526909, -0.028634309768676758, -0.04182073846459389, -0.010979986749589443, 0.00022883208293933421, 0.01822087913751602, -0.045878276228904724, 0.01693577691912651, -0.05281528830528259, -0.016122791916131973, 0.041699353605508804, -0.016072457656264305, -0.026766905561089516, -0.0006878307904116809, 0.008300184272229671, 0.006086036097258329, -0.035856693983078, 0.015825970098376274, -0.013166083954274654, -0.007345414254814386, -0.028794292360544205, -0.008906222879886627, -0.014449725858867168, -0.006305119022727013, -0.001650662743486464, -0.017540570348501205, -0.02088477835059166, 0.0036378756631165743, -0.030984072014689445, 0.00007519607606809586, -0.03701772168278694, 0.01260314229875803, 0.024978743866086006, -0.014847906306385994, 0.01122294832020998, -0.016447987407445908, -0.025634191930294037, 0.043907955288887024, 0.01651630364358425, -0.005012837704271078, -0.00817124079912901, -0.020839421078562737, 0.0255162063986063, -0.05417855829000473, 0.02377801015973091, -0.012671698816120625, 0.023659054189920425, -0.0047879829071462154, 0.030066316947340965, -0.022763190791010857, -0.07690998166799545, -0.020515313372015953, 0.022156445309519768, -0.03610387071967125, -0.01654832437634468, 0.8492684364318848, 0.009325376711785793, 0.031669024378061295, 0.015549342148005962, 0.01503930427134037, -0.037772681564092636, -0.010284287855029106, 0.03841649740934372, -0.015224226750433445, -0.0017182835144922137, -0.017648227512836456, 0.00509301945567131, 0.01839284598827362, 0.028874628245830536, -0.03786628320813179, 0.009847487322986126, 0.054434724152088165, -0.019202977418899536, -0.032252728939056396, 0.035560138523578644, -0.0016388674266636372, -0.020679187029600143, -0.024854792281985283, -0.02067822962999344, 0.021865136921405792, -0.00013178760127630085, -0.15340928733348846, 0.02580738440155983, -7.603693289817629e-33, 0.0495784692466259, 0.024736648425459862, 0.018043730407953262, -0.015098430216312408, 0.02667882852256298, -0.010694257915019989, 0.008066216483712196, -0.010642223991453648, -0.0186347384005785, -0.004596326034516096, -0.010663273744285107, 0.033420924097299576, -0.01897892914712429, -0.01980757713317871, 0.03825361281633377, 0.030428284779191017, 0.0036828143056482077, 0.04198403283953667, -0.0507672019302845, 0.01670144870877266, 0.016969341784715652, 0.027928944677114487, 0.02495766244828701, -0.010739430785179138, 0.0377519354224205, 0.02573409304022789, 0.003911089617758989, -0.021903177723288536, 0.0023468502331525087, -0.039563264697790146, -0.009106706827878952, -0.009558465331792831, -0.034237880259752274, -0.04551861807703972, -0.0071529545821249485, -0.06742941588163376, -0.028225352987647057, 0.02037835493683815, -0.01110106986016035, -0.03473230451345444, -0.031642623245716095, 0.029469173401594162, -0.04530036076903343, -0.016424058005213737, 0.0031618094071745872, 0.02049645408987999, 0.0555136576294899, 0.039222460240125656, -0.026439480483531952, -0.017859118059277534, 0.029121896252036095, -0.00974641926586628, -0.028308231383562088, 0.07968338578939438, 0.03184013068675995, 0.028884461149573326, -0.016961073502898216, -0.0313531868159771, 0.04108279570937157, 0.03801627457141876, 0.011214480735361576, -0.00894730444997549, -0.010809890925884247, 0.02415980026125908, 0.010908813215792179, -0.007196115795522928, -0.01185560878366232, 0.018335524946451187, 0.03360791131854057, -0.00421259505674243, -0.02242898754775524, -0.0123342489823699, 0.0007029152475297451, -0.013534418307244778, 0.02299061045050621, -0.016511674970388412, 0.00598134147003293, -0.010002446360886097, 0.0024971221573650837, 0.034233205020427704, 0.005622949916869402, 0.03862695395946503, -0.011652299202978611, -0.04022671654820442, -0.04307493194937706, -0.010264787822961807, 0.02372565120458603, -0.01883871480822563, -0.039885275065898895, -0.03187873959541321, 0.05692102387547493, -0.008728274144232273, 0.010397300124168396, -0.036702711135149, -0.02227909117937088, 7.05182293667755e-33, 0.011982008814811707, -0.029642771929502487, -0.02306298352777958, -0.027071386575698853, 0.0066349622793495655, -0.03726089000701904, 0.035765308886766434, 0.01980152726173401, -0.04815448075532913, 0.03028060682117939, -0.00354672665707767, 0.013206826522946358, 0.01115843839943409, 0.038600824773311615, 0.04452724754810333, -0.03291255608201027, 0.010483305901288986, 0.01371807511895895, -0.0022567403502762318, 0.06301001459360123, 0.03337701037526131, -0.008704169653356075, 0.017115430906414986, 0.01571045257151127, 0.03975459560751915, 0.023717405274510384, -0.007574743591248989, -0.009775509126484394, -0.026179663836956024, -0.021182339638471603, 0.001522547798231244, 0.02641410194337368, -0.019673366099596024, -0.017335256561636925, -0.036824747920036316, 0.021893739700317383, -0.00809391401708126, -0.012503881007432938, -0.014059136621654034, -0.0070952605456113815, 0.025829743593931198, 0.006766063626855612, -0.008887561969459057, 0.018451925367116928, 0.006293850019574165, 0.01712716743350029, -0.016768768429756165, 0.0021221921779215336, -0.007712238002568483, -0.022577252238988876, 0.010270385071635246, -0.003957945387810469, 0.013333065435290337, 0.012344702146947384, 0.028364304453134537, -0.013850419782102108, -0.018834467977285385, -0.0036818375810980797, -0.040383271872997284, -0.009824570268392563, -0.007993185892701149, 0.03807218372821808, 0.003142714034765959, 0.0029581356793642044, -0.01758982241153717, -0.03388798609375954, -0.014083834365010262, 0.0064123934134840965, 0.00015807340969331563, -0.02678174339234829, -0.02197057567536831, -0.027239425107836723, 0.021829970180988312, 0.03203420341014862, 0.04434460029006004, 0.005691108293831348, -0.02148366905748844, -0.005800952203571796, -0.008792601525783539, 0.015603684820234776, 0.018938777968287468, 0.016436995938420296, 0.014082105830311775, -0.014220728538930416, -0.030020130798220634, 0.049201998859643936, -0.01773732528090477, 0.009988322854042053, -0.016933348029851913, 0.03823019191622734, -0.016416361555457115, -0.03269148990511894, -0.00207670615054667, 0.03512950614094734, -0.008218432776629925, -1.308140262779034e-8, -0.044820304960012436, 0.03631947189569473, -0.014723396860063076, -0.01146994810551405, 0.04641646146774292, 0.007503214292228222, -0.026012873277068138, 0.021252168342471123, 0.0116460295394063, -0.011928091756999493, 0.020126907154917717, 0.01409245003014803, 0.014431964606046677, 0.0231727696955204, -0.0016663408605381846, 0.0066646006889641285, 0.016879472881555557, -0.04398953914642334, 0.026649534702301025, -0.01561516709625721, 0.014221025630831718, 0.04575241357088089, -0.00968760997056961, 0.0035658215638250113, 0.00953077431768179, 0.012100297026336193, 0.012680310755968094, -0.07023605704307556, -0.015112431719899178, 0.023860353976488113, 0.03390016034245491, -0.015171865932643414, -0.020411506295204163, 0.0019762988667935133, 0.017754942178726196, -0.02874615043401718, 0.0612177737057209, 0.03409575670957565, -0.026411525905132294, -0.013685603626072407, -0.016510171815752983, -0.02971321903169155, -0.0054099708795547485, -0.03830915689468384, -0.020002340897917747, 0.028860395774245262, -0.037902720272541046, 0.021893417462706566, 0.011516064405441284, -0.03233031928539276, 0.019389331340789795, -0.038876477628946304, 0.022123124450445175, 0.0316162072122097, 0.02019629441201687, -0.011613811366260052, -0.02852596528828144, 0.027330750599503517, 0.001612695399671793, -0.013865024782717228, -0.006692484021186829, 0.009044873528182507, 0.0016841869801282883, -0.0002208366640843451 ]
optimising-for-typing
https://markhneedham.com/blog/2012/02/21/optimising-for-typing
false
2012-02-08 22:34:02
Delivery approach and constraints
[ "software-development" ]
[ "Software Development" ]
In my latest post I described an approach we'd been taking when analysing how to rewrite part of an existing system so that we could http://www.markhneedham.com/blog/2012/02/06/looking-for-the-seam/[build the new version in an incremental way]. Towards the end I pointed out that we weren't actually going to be using an incremental approach as we'd initially thought which was due to a couple of constraints that we have to work under. == Hardware provisioning One of the main reasons that we favoured an incremental approach is that we'd be able to deploy to production early which would allow us to show a quicker return on investment. Unfortunately we later on came to learn that it takes *around 6-9 months to provision production hardware*. It therefore didn't make a lot of sense to take an approach where we tried to integrate into the existing system since we wouldn't be able to deploy that work. We're working under the assumption that in 6-9 months we'll probably be able to rewrite the whole thing and can therefore avoid the need to write the code which would allow us to integrate into the existing version. We couldn't see any value in writing bridging code between the existing and new versions of the application if it never sees production - we'd put in all the effort for no reward. == Running two systems side by side Even if we had been able to provision hardware in time to release incrementally we came to learn that *the business would be uncomfortable with having two versions of the same application in production at the same time*. The application is used to do pricing and the worry was that the different versions might produce different results for the same inputs. It's arguably something we may have been able to overcome if we could prove that the new version worked exactly the same as the existing one by running both applications against a set of scenarios and checking that they returned the same results. Theoretically I suppose the first problem could also be overcome but it's a battle we've chosen to leave alone for the moment. What I found interesting in the discussions about the way we should deliver our solution was that I'd worked under the assumption that an incremental approach was always a better approach but with these constraints it isn't.
null
null
[ 0.01929955743253231, 0.0005748188123106956, 0.012777118012309074, 0.042139455676078796, 0.10465698689222336, 0.04694492742419243, 0.017616279423236847, 0.03934786468744278, 0.00513150030747056, -0.02731236442923546, -0.016610361635684967, -0.013220448046922684, -0.06383269280195236, 0.016086583957076073, -0.034488189965486526, 0.0684550330042839, 0.0655212327837944, -0.001833841553889215, 0.021438665688037872, 0.021351924166083336, 0.01941663958132267, 0.08522752672433853, 0.021972360089421272, 0.029646286740899086, 0.019540704786777496, -0.0022355341352522373, 0.01707482524216175, -0.02083696611225605, -0.0681028813123703, -0.022691408172249794, 0.03925800696015358, -0.01603812165558338, -0.00853826105594635, -0.003132436191663146, 0.01830464042723179, -0.014474785886704922, -0.035910021513700485, 0.020877385511994362, -0.0218548271805048, -0.021182773634791374, -0.0587601512670517, 0.05814465507864952, -0.00504686776548624, 0.003676042426377535, -0.04395836591720581, 0.015101909637451172, -0.03416670858860016, -0.0169944129884243, 0.009615558199584484, -0.022976912558078766, -0.07481586933135986, 0.006644252687692642, -0.01224515214562416, -0.011755909770727158, -0.0011494162026792765, 0.049824733287096024, 0.014081748202443123, -0.0642162635922432, 0.002853321610018611, -0.023793525993824005, 0.005808234214782715, -0.014768991619348526, -0.016111567616462708, 0.03739015385508537, 0.012587185017764568, -0.04366866499185562, 0.01887637935578823, 0.04060421139001846, -0.03483716771006584, -0.0018678564811125398, -0.007829857058823109, 0.0010063543450087309, 0.002532297046855092, -0.0068343463353812695, 0.01723611354827881, -0.047635167837142944, 0.00223630852997303, 0.06708356738090515, 0.03226161748170853, 0.03010646253824234, -0.015836497768759727, 0.02313796989619732, -0.0009198801126331091, 0.017005637288093567, -0.012257199734449387, -0.03277049958705902, 0.0010256466921418905, -0.014871815219521523, -0.06652309000492096, 0.06616514921188354, 0.030139358714222908, -0.046519745141267776, 0.03490632399916649, 0.03559991344809532, 0.0013877992751076818, -0.011961693875491619, -0.0012677659979090095, 0.00819176435470581, 0.002898911479860544, 0.005845694802701473, -0.0193428136408329, -0.0007248964393511415, -0.014415586367249489, -0.004559106659144163, -0.06952057778835297, -0.0012333588674664497, -0.03925645723938942, 0.007872918620705605, -0.0048387800343334675, -0.009989842772483826, -0.024870997294783592, 0.03747591748833656, -0.012825964018702507, 0.02811860293149948, -0.07498428970575333, 0.06256762146949768, -0.023667382076382637, -0.05374179780483246, -0.019254647195339203, 0.006412193179130554, 0.05188446864485741, 0.037670254707336426, -0.021448276937007904, 0.07341141253709793, 0.005136984866112471, 0.028853725641965866, -0.011222057044506073, 0.04358959197998047, -0.04812055826187134, -0.0715436041355133, -0.0018682515947148204, 0.05350799113512039, -0.017636992037296295, -0.0036121835000813007, -0.0028035244904458523, -0.016902925446629524, 0.010521159507334232, -0.0012488458305597305, 0.04607425630092621, 0.017623811960220337, -0.020089447498321533, -0.039777111262083054, 0.02903723157942295, 0.03601554036140442, 0.02335502952337265, 0.009775166399776936, 0.018499817699193954, -0.022932367399334908, -0.049481213092803955, -0.021947430446743965, -0.0054453471675515175, 0.03594600781798363, 0.017358575016260147, -0.05221101641654968, 0.036283254623413086, 0.10101862996816635, 0.028252260759472847, 0.011991281993687153, -0.029063332825899124, 0.02650129795074463, 0.025237130001187325, 0.03997413069009781, 0.025401227176189423, 0.0028405303601175547, 0.018469518050551414, 0.0012023637536913157, 0.013034418225288391, 0.02767971158027649, 0.01310227531939745, 0.0020496821962296963, -0.05941849946975708, -0.06926026940345764, 0.05281184986233711, -0.046913594007492065, -0.026261724531650543, 0.0482829250395298, 0.10106873512268066, 0.04568061977624893, 0.035133156925439835, 0.011834313161671162, -0.08187048137187958, 0.03330506384372711, 0.01339823380112648, 0.028172442689538002, 0.021579859778285027, -0.026749158278107643, 0.0562720000743866, 0.026781270280480385, 0.000992478453554213, 0.009629824198782444, -0.07816007733345032, -0.08573924750089645, -0.008648151531815529, -0.022389646619558334, 0.049214206635951996, -0.00466522853821516, 0.00439432542771101, 0.057934731245040894, 0.007313542068004608, 0.05910180136561394, 0.038610417395830154, -0.002661393489688635, -0.0011998586123809218, -0.07265070080757141, -0.04253663867712021, 0.051444459706544876, 0.036300819367170334, -0.015135888010263443, -0.047635629773139954, 0.014756294898688793, -0.028481176123023033, -0.01536513864994049, 0.03871194273233414, -0.024684306234121323, 0.05099773779511452, 0.017130983993411064, 0.04606806859374046, -0.05203409120440483, 0.05514340475201607, -0.044136885553598404, 0.01535139698535204, -0.001049146056175232, -0.005705211777240038, 0.018641002476215363, 0.011244510300457478, 0.09493260085582733, 0.05108857527375221, -0.06920132786035538, -0.05646173283457756, 0.014579170383512974, 0.03337748348712921, -0.04445236548781395, -0.029084259644150734, -0.022239401936531067, 0.021373171359300613, 0.007667253725230694, -0.06935837864875793, -0.023056544363498688, 0.00892890989780426, -0.0425976999104023, 0.013425366021692753, 0.06597267091274261, -0.023246202617883682, 0.05068377032876015, -0.007245322223752737, -0.00042258528992533684, -0.03210556507110596, -0.02875356189906597, -0.07269999384880066, 0.006384251639246941, -0.013841965235769749, -0.02177697792649269, 0.04629995673894882, -0.00561463413760066, -0.03493783622980118, -0.04306526482105255, -0.045568011701107025, 0.005982468370348215, 0.016255907714366913, 0.07925926893949509, -0.015899259597063065, 0.0579134076833725, 0.00727510591968894, 0.03193109109997749, -0.01492389291524887, -0.03341139480471611, -0.04081520438194275, -0.011384338140487671, -0.010817422531545162, 0.0459832064807415, -0.009955680929124355, -0.004272092133760452, -0.0031380122527480125, 0.008213633671402931, -0.012670827098190784, -0.027922024950385094, 0.04505069553852081, -0.009036952629685402, -0.008467287756502628, -0.027955684810876846, -0.013476783409714699, 0.04140668734908104, -0.04685409739613533, -0.02522667683660984, 0.017662817612290382, -0.06496743112802505, 0.04508427530527115, -0.08288496732711792, -0.0320931114256382, -0.001692070160061121, 0.01324436254799366, 0.039786580950021744, -0.008597338572144508, 0.02894977480173111, 0.0941341370344162, 0.022887397557497025, 0.0030372824985533953, -0.001692968886345625, 0.023173289373517036, 0.02026466652750969, 0.0060643041506409645, -0.011161045171320438, 0.04074941948056221, 0.018227584660053253, -0.007593574468046427, -0.06030619889497757, 0.04950687661767006, -0.03295056149363518, -0.3004499673843384, 0.023632414638996124, 0.0062446896918118, -0.06625428795814514, 0.021679630503058434, -0.003848681692034006, 0.0071662417612969875, -0.04030866175889969, -0.014979529194533825, 0.031005583703517914, -0.015591463074088097, -0.04296692833304405, -0.007491121534258127, 0.03841754049062729, 0.0034095088485628366, 0.03460162878036499, 0.050639476627111435, -0.017953958362340927, -0.006002054084092379, 0.03844146803021431, -0.008925258181989193, -0.10224182158708572, 0.027168607339262962, 0.031900614500045776, 0.036138150840997696, 0.05997942015528679, -0.06276924908161163, 0.04269276186823845, -0.055766183882951736, 0.006050442811101675, -0.01640821248292923, 0.00028781991568394005, 0.017381902784109116, -0.03644094243645668, -0.029176663607358932, -0.010936995036900043, 0.03129736706614494, 0.012499161064624786, 0.024498315528035164, -0.008760180324316025, 0.002124411053955555, -0.01927168481051922, -0.003996147308498621, 0.03663282468914986, 0.06371975690126419, -0.012191475369036198, -0.09394514560699463, 0.003148213494569063, -0.03232332691550255, 0.07898689061403275, -0.021647825837135315, -0.02547951228916645, -0.009034469723701477, 0.036933038383722305, -0.005288023967295885, -0.01771804504096508, -0.011683612130582333, -0.01569865457713604, -0.03376680612564087, -0.010166335850954056, -0.020044490694999695, -0.029602425172924995, -0.026542935520410538, -0.038509562611579895, 0.0037402273155748844, -0.04931684210896492, -0.05440480634570122, -0.02208683267235756, 0.07452951371669769, 0.014276828616857529, -0.022608954459428787, 0.020026201382279396, 0.012693933211266994, -0.10066183656454086, 0.00485645467415452, -0.026716940104961395, -0.037743303924798965, 0.0008993924711830914, 0.0066674635745584965, 0.03430759161710739, -0.01411574799567461, -0.04676319658756256, 0.012318289838731289, 0.006655008066445589, 0.03686600178480148, -0.001588380429893732, 0.018118124455213547, 0.0078207328915596, -0.010625825263559818, 0.03490785136818886, 0.0650663748383522, -0.00742872292175889, -0.018387392163276672, -0.036074113100767136, 0.030890878289937973, 0.002887329086661339, 0.008750959299504757, -0.0138085363432765, -0.004720109514892101, 0.034954264760017395, 0.015253385528922081, -0.0498163215816021, 0.042656686156988144, -0.03172101080417633, -0.019371047616004944, -0.006637261249125004, -0.05136227235198021, -0.00210144673474133, 0.03975149989128113, 0.04452428221702576, -0.009582942351698875, -0.04806209355592728, 0.0066861240193247795, -0.04820128157734871, -0.05425059050321579, 0.004130704328417778, -0.005910639651119709, 0.04385426267981529, -0.026614850386977196, -0.009682494215667248, -0.050418999046087265, 0.0098028052598238, 0.00804953183978796, 0.0019175553461536765, -0.0570346899330616, -0.027100076898932457, -0.006676703691482544, 0.016576245427131653, 0.013914631679654121, 0.0347357876598835, -0.019372116774320602, 0.02156675234436989, 0.006381425075232983, -0.05848117917776108, -0.008425695821642876, -0.0018253409070894122, -0.02707037329673767, -0.02407686598598957, 0.0036891577765345573, 0.008189410902559757, 0.0006028078496456146, 0.030562758445739746, 0.013453003019094467, 0.017895042896270752, 0.025954343378543854, 0.004674532916396856, 0.057295892387628555, -0.018039822578430176, 0.02920549362897873, -0.0012691882438957691, 0.010601161047816277, -0.08368802070617676, 0.020039087161421776, -0.047129157930612564, -0.01917007379233837, -0.026874646544456482, 0.02062736451625824, -0.03153213858604431, -0.018266141414642334, -0.013930581510066986, 0.022853076457977295, -0.04753149673342705, -0.05031090974807739, -0.01135557796806097, 0.0363718643784523, 0.06672926992177963, -0.02745210751891136, 0.015834866091609, -0.007686470169574022, 0.006651399191468954, 0.014429803937673569, 0.019032614305615425, -0.05438685417175293, 0.0065581314265728, 0.021945880725979805, 0.006317375227808952, 0.0026073171757161617, -0.016107317060232162, 0.04967174306511879, 0.007041146978735924, -0.009103704243898392, -0.03835231438279152, 0.006096258759498596, 0.010505619458854198, 0.04322097450494766, -0.012423950247466564, 0.00540941022336483, 0.013076052069664001, -0.003993462771177292, -0.024512074887752533, -0.03897447884082794, -0.007689762860536575, 0.02515503764152527, 0.012014464475214481, -0.027286432683467865, -0.06751136481761932, 0.05805586650967598, 0.015727492049336433, 0.018529042601585388, 0.009686654433608055, -0.012411154806613922, 0.010211330838501453, -0.01803254708647728, 0.03081679530441761, 0.08534255623817444, -0.050634611397981644, 0.0011955357622355223, -0.003772513009607792, 0.021793317049741745, 0.013343578204512596, 0.0015293146716430783, -0.042375121265649796, -0.039124976843595505, -0.006594481877982616, 0.017535725608468056, -0.05907856673002243, -0.013821225613355637, -0.012476668693125248, 0.0011667575454339385, 0.0025500596966594458, 0.0008497844683006406, -0.012344179674983025, 0.0007825701031833887, -0.010505320504307747, -0.042793117463588715, 0.01063291821628809, -0.023058626800775528, -0.0012700571678578854, 0.007583159953355789, -0.046735458076000214, -0.003168645780533552, -0.051468539983034134, 0.011939090676605701, 0.014601991511881351, -0.015008028596639633, -0.0030599175952374935, -0.044965554028749466, 0.009099280461668968, -0.017051367089152336, 0.02856803871691227, -0.026939818635582924, -0.01994471810758114, -0.012171206064522266, -0.027442771941423416, -0.03857343643903732, 0.009983213618397713, -0.0236338023096323, 0.00025971262948587537, 0.005682280287146568, 0.05821818858385086, -0.007007901556789875, 0.03325720876455307, -0.01777196116745472, -0.022547945380210876, 0.05616551265120506, -0.07091106474399567, -0.012574170716106892, -0.045860081911087036, -0.0722443014383316, 0.010139604099094868, -0.004200208466500044, 0.01805477775633335, -0.044068846851587296, 0.0330774262547493, 0.037247464060783386, 0.03159381449222565, 0.038166340440511703, 0.004432742018252611, 0.042301807552576065, -0.05339088290929794, -0.007771058473736048, -0.07450279593467712, 0.001835199655033648, 0.027954142540693283, 0.02436712384223938, 0.004959954414516687, 0.014895941130816936, -0.03735918179154396, 0.05112120881676674, -0.06657947599887848, -0.015471842139959335, 0.04194404557347298, -0.023539405316114426, -0.01090771984308958, 0.011241656728088856, -0.06907118856906891, 0.023373354226350784, 0.010940606705844402, -0.03522513434290886, -0.01916651614010334, -0.009782352484762669, 0.05993450805544853, 0.010008398443460464, 0.03264642879366875, -0.028235500678420067, -0.01213492639362812, 0.06158823147416115, 0.002443908713757992, -0.002154410118237138, 0.0359434150159359, -0.006640648003667593, 0.03669615462422371, 0.022974150255322456, 0.019175177440047264, -0.010637901723384857, 0.022696584463119507, -0.004083596169948578, -0.041089653968811035, 0.029899094253778458, 0.013920965604484081, -0.027261974290013313, -0.014610923826694489, 0.06124795600771904, 0.01996244676411152, -0.016970692202448845, -0.06836676597595215, 0.018660953268408775, -0.068309485912323, -0.02984512411057949, -0.00914713554084301, 0.0021041580475866795, -0.039391178637742996, 0.05413836985826492, -0.008624392561614513, 0.009526224806904793, 0.062326401472091675, 0.025484154000878334, -0.011989555321633816, -0.012568755075335503, 0.08102534711360931, 0.0704159289598465, 0.05942222848534584, 0.012008189223706722, 0.057162605226039886, -0.014864376746118069, -0.032858096063137054, 0.01690703257918358, -0.015674205496907234, -0.037157315760850906, -0.019951066002249718, 0.03921203315258026, 0.05924099311232567, -0.009210110642015934, 0.076071597635746, -0.012164569459855556, -0.004209441598504782, 0.006977817974984646, 0.03594245761632919, 0.016715414822101593, 0.06531558930873871, 0.008235332556068897, -0.0031031446997076273, -0.015166903845965862, -0.05722222477197647, 0.006743487901985645, -0.04056842625141144, -0.012329845689237118, 0.04958690330386162, 0.016021816059947014, 0.01926611177623272, -0.010237684473395348, 0.02441871352493763, 0.08550926297903061, -0.04349849373102188, 0.030382471159100533, -0.03034611977636814, 0.030360331758856773, 0.0031437776051461697, 0.01753954030573368, -0.02157050557434559, -0.004166156053543091, 0.0036818766966462135, -0.02853955514729023, -0.03330887109041214, -0.0005433462793007493, 0.0007660190458409488, 0.03865133598446846, -0.021724898368120193, -0.00010359762381995097, 0.023451052606105804, 0.0014829867286607623, -0.043012503534555435, -0.04190857335925102, -0.0422125905752182, -0.050625625997781754, -0.048273853957653046, -0.0046342601999640465, 0.029565267264842987, 0.0000874817997100763, -0.032863497734069824, -0.01889878325164318, -0.023041747510433197, -0.03830869495868683, 0.04898127540946007, -0.051831942051649094, -0.024025794118642807, 0.0022597911302000284, 0.012142723426222801, 0.013487680815160275, 0.030354594811797142, 0.06193147227168083, -0.019996123388409615, 0.0006583392387256026, -0.02040247805416584, 0.05032937601208687, 0.019019510596990585, 0.0032322974875569344, 0.0019157539354637265, -0.09233197569847107, 0.026029452681541443, 0.03378733620047569, -0.011006209999322891, -0.05786798894405365, 0.016004009172320366, 0.012074628844857216, -0.01985994167625904, 0.07042073458433151, -0.028947172686457634, 0.01604231260716915, -0.03402954339981079, -0.01083188597112894, -0.01814928464591503, 0.0009926831116899848, 0.041825760155916214, -0.002670269925147295, 0.08731994032859802, 0.03324390575289726, -0.008183796890079975, -0.02942330576479435, 0.0051787314005196095, 0.01706618256866932, 0.0040787598118186, 0.0021467457991093397, -0.0361173078417778, -0.03691456839442253, -0.07830432802438736, -0.035986900329589844, 0.0015395341906696558, -0.030449217185378075, -0.042216211557388306, 0.023923451080918312, 0.023735355585813522, -0.034974053502082825, 0.012768936343491077, -0.03677985817193985, 0.04053854942321777, -0.02343601919710636, -0.003711637342348695, -0.0034732420463114977, 0.00336358230561018, 0.0024885230232030153, -0.004471977241337299, 0.013705779798328876, -0.04856855422258377, 0.006596600636839867, -0.003850496606901288, 0.047108836472034454, 0.028506381437182426, 0.015890460461378098, -0.016119593754410744 ]
[ -0.10538403689861298, -0.015927698463201523, -0.020580096170306206, -0.03017631731927395, 0.024777337908744812, -0.03202268108725548, -0.07563894242048264, -0.004886270966380835, -0.0028507858514785767, 0.0005288376123644412, 0.01722125895321369, -0.020187171176075935, -0.01132548600435257, -0.04025537148118019, 0.10410895198583603, 0.007726765237748623, -0.013554396107792854, -0.09986389428377151, 0.02826559729874134, 0.022127138450741768, 0.012018761597573757, -0.07595174014568329, -0.04416679963469505, -0.0355919785797596, 0.018576309084892273, 0.024940835312008858, 0.0211570356041193, -0.017567584291100502, 0.023847730830311775, -0.19972899556159973, 0.017998557537794113, 0.02693808451294899, 0.019960418343544006, -0.03155688941478729, 0.01970863901078701, 0.030510179698467255, 0.00782904215157032, 0.026868702843785286, -0.011380644515156746, 0.05169558897614479, 0.014315426349639893, 0.04679286479949951, -0.04803963378071785, -0.034766267985105515, 0.022888634353876114, 0.02515486814081669, -0.01934811845421791, -0.0418175645172596, -0.0070200832560658455, 0.03044823184609413, -0.022991688922047615, -0.015943283215165138, -0.014917009510099888, -0.028588101267814636, -0.020148223266005516, 0.04765189811587334, 0.006312647834420204, 0.08178813010454178, 0.01520778052508831, 0.019717339426279068, 0.02434874139726162, -0.023693645372986794, -0.1465303897857666, 0.08946928381919861, 0.06266766786575317, 0.039830051362514496, -0.04500078037381172, -0.05081748589873314, -0.017463086172938347, 0.11328504979610443, 0.0029796878807246685, -0.022103331983089447, -0.008572603575885296, 0.034367553889751434, 0.011087770573794842, 0.014081976376473904, 0.02294204570353031, 0.029610177502036095, 0.023402247577905655, -0.03284704312682152, 0.003276675706729293, -0.0014268308877944946, -0.03782348334789276, 0.013315537944436073, -0.04706062749028206, 0.0062913792207837105, -0.010107876732945442, 0.06989647448062897, 0.04070793837308884, 0.03347111865878105, 0.048769038170576096, -0.008230805397033691, 0.04025166109204292, -0.01738578826189041, -0.08762699365615845, 0.00820270087569952, 0.006656088400632143, 0.006295947358012199, -0.052942417562007904, 0.42449280619621277, 0.008353356271982193, -0.028582070022821426, 0.08321071416139603, 0.05046939104795456, 0.000706193211954087, -0.0050347535870969296, -0.028373269364237785, -0.01572013460099697, 0.016389232128858566, -0.02222462184727192, 0.020529599860310555, 0.01879948377609253, 0.0763242244720459, -0.0275033600628376, 0.01211865060031414, 0.016886092722415924, -0.011860285885632038, 0.009050951339304447, 0.0414600744843483, -0.01026340015232563, -0.015047977678477764, 0.009821012616157532, 0.012263757176697254, -0.008444629609584808, -0.037027377635240555, -0.02525211311876774, 0.04544772207736969, 0.054447948932647705, 0.010241329669952393, -0.02037898637354374, 0.05227925628423691, -0.0772842988371849, -0.05605309084057808, 0.012048328295350075, 0.017809005454182625, 0.031292758882045746, 0.0166130680590868, -0.02362615056335926, 0.016734592616558075, 0.052907053381204605, -0.023263217881321907, 0.00025176379131153226, 0.027983810752630234, -0.029493264853954315, -0.022956669330596924, 0.11666978150606155, 0.054279111325740814, -0.02849944308400154, -0.027041329070925713, -0.033737581223249435, -0.0008271311526186764, 0.023838983848690987, 0.017486244440078735, -0.07301554083824158, 0.024559633806347847, 0.014166430570185184, 0.05869372561573982, -0.020945532247424126, -0.08029469102621078, -0.00418696366250515, -0.008418180048465729, -0.008478466421365738, -0.08175404369831085, 0.0528271310031414, 0.06866373121738434, -0.11281945556402206, -0.005254817195236683, 0.00015925642219372094, 0.058727845549583435, -0.04422537237405777, -0.023907748982310295, 0.013793238438665867, -0.002558203414082527, -0.03581545129418373, 0.05480384826660156, -0.025709733366966248, -0.05603550001978874, 0.005315354559570551, 0.040555816143751144, 0.02923290617763996, 0.02751290239393711, 0.006078668870031834, -0.04147353768348694, -0.015606488101184368, -0.03209378942847252, -0.12610532343387604, -0.02762441523373127, 0.009164572693407536, -0.05650685355067253, 0.0014031814644113183, -0.04646603763103485, -0.006736075039952993, -0.07298114150762558, 0.10885085165500641, -0.008703158237040043, -0.025950932875275612, 0.005498342681676149, -0.004938020370900631, -0.009458791464567184, -0.050526734441518784, -0.010087573900818825, 0.03156876936554909, -0.03094624914228916, 0.018215997144579887, -0.06186598911881447, 0.052171170711517334, 0.04086662828922272, -0.04967065528035164, 0.07520486414432526, 0.06474039703607559, -0.021527281031012535, -0.01932721957564354, 0.012583057396113873, 0.03575728461146355, 0.015246022492647171, -0.006827136501669884, -0.018000716343522072, 0.02526088058948517, 0.012060146778821945, 0.02303147502243519, -0.02258577197790146, 0.025859864428639412, 0.02403370290994644, -0.3534241318702698, -0.043978773057460785, -0.020285088568925858, -0.005637988448143005, 0.016780097037553787, -0.06956341117620468, 0.009904241189360619, -0.03068677894771099, -0.039982229471206665, -0.00620862515643239, 0.07775883376598358, -0.005168316885828972, 0.013456559740006924, -0.04770095273852348, 0.007107678335160017, -0.010982969775795937, -0.024745147675275803, -0.014430571347475052, -0.024439621716737747, 0.008355624973773956, -0.023852931335568428, 0.016409857198596, -0.014819334261119366, -0.0675337165594101, 0.006356521509587765, -0.03600931912660599, 0.1060844212770462, -0.03206932917237282, 0.09502916038036346, -0.02832607738673687, 0.030016593635082245, 0.026677630841732025, 0.007108130492269993, -0.09390862286090851, -0.006248350255191326, 0.019540732726454735, 0.036826103925704956, -0.013291964307427406, 0.02533644251525402, -0.02395845390856266, -0.04384218901395798, 0.010942625813186169, -0.06039181724190712, -0.0416838638484478, -0.048474159091711044, 0.022211644798517227, -0.05280199274420738, -0.005068312864750624, -0.031878937035799026, 0.08370727300643921, 0.0004026227106805891, -0.0021733420435339212, 0.012292035855352879, -0.005210736766457558, 0.010907822288572788, -0.027729541063308716, -0.09069662541151047, 0.0481005534529686, 0.028950974345207214, 0.014793343842029572, 0.03210626170039177, 0.06789148598909378, 0.01735188439488411, -0.043744657188653946, 0.031645964831113815, 0.0030593008268624544, 0.012838870286941528, -0.012886847369372845, 0.029813554137945175, -0.014862366952002048, 0.008061855100095272, 0.08227314054965973, -0.0177525095641613, -0.01074342243373394, 0.030152693390846252, 0.026946641504764557, -0.011795200407505035, 0.028995729982852936, 0.013473235070705414, -0.008289608173072338, 0.0001633084611967206, -0.025712771341204643, 0.0006253044703043997, -0.013134002685546875, -0.007419538218528032, 0.03834889456629753, -0.014610524289309978, -0.02670619636774063, 0.03282778337597847, 0.02952714078128338, -0.035025905817747116, -0.008635999634861946, -0.043298643082380295, -0.06808099895715714, 0.05702102556824684, -0.007272281218320131, -0.24080005288124084, 0.006388249807059765, 0.0773439034819603, 0.02567806839942932, -0.011294117197394371, 0.024036830291152, 0.027798695489764214, -0.016283003613352776, 0.005415193736553192, 0.03286728262901306, -0.006536711473017931, 0.011001075617969036, 0.0011465920833870769, 0.014780901372432709, 0.062157031148672104, -0.027665484696626663, 0.05149628967046738, -0.009078663773834705, 0.006174189504235983, -0.024540508165955544, 0.019706793129444122, -0.012555181048810482, 0.15723916888237, -0.0037332179490476847, 0.01188220176845789, 0.008990081027150154, -0.00733056478202343, 0.0430913083255291, 0.057516422122716904, -0.0010714982636272907, -0.03389246389269829, -0.008349929936230183, 0.016622789204120636, -0.01661616936326027, 0.008776215836405754, -0.05789622664451599, -0.029035620391368866, 0.02776692993938923, 0.02493576519191265, 0.013042772188782692, 0.0053672194480896, -0.0003380649723112583, -0.013921719044446945, 0.03609725832939148, 0.069818414747715, 0.014707461930811405, -0.008924005553126335, -0.012273862957954407, -0.052827347069978714, -0.0209275521337986, -0.04322989284992218, -0.04518627002835274, 0.024069448933005333, -0.004433915950357914, 0.022039765492081642, 0.05886879190802574, 0.010642439126968384, -0.03220153599977493, -0.006156072951853275, 0.0076949717476964, 0.021360086277127266, -0.033645693212747574, 0.08549948781728745, 0.02045186050236225, 0.027445398271083832 ]
[ -0.033236920833587646, 0.020415611565113068, 0.005990560166537762, -0.026375235989689827, -0.00590893579646945, -0.0287943072617054, -0.013093422167003155, 0.033119529485702515, -0.031291522085666656, 0.01864505000412464, -0.012720109894871712, 0.01350625790655613, 0.0053420290350914, -0.030016671866178513, 0.017107155174016953, -0.021990016102790833, -0.0026641127187758684, -0.005601180717349052, 0.02534407004714012, -0.0033227407839149237, -0.01919102855026722, 0.004540801513940096, -0.021406831219792366, -0.003712156554684043, -0.006177172530442476, 0.02930811233818531, 0.0010141164530068636, 0.010712123475968838, 0.02519841678440571, -0.13076622784137726, -0.012010756880044937, -0.02162071503698826, -0.009753057733178139, 0.01630684919655323, 0.02055814489722252, 0.008897147141397, 0.002435758477076888, -0.032712265849113464, -0.028620339930057526, -0.015396134927868843, 0.010165591724216938, -0.04181014373898506, 0.0011382225202396512, 0.007410315331071615, 0.018905479460954666, -0.020640507340431213, -0.0266617052257061, -0.03500388190150261, -0.005914116278290749, -0.021596556529402733, -0.017069337889552116, 0.006093520205467939, 0.003271459136158228, 0.0013896249001845717, 0.01844620890915394, -0.012483700178563595, 0.012404820881783962, -0.009608445689082146, 0.012068556621670723, -0.012180503457784653, 0.0010052681900560856, -0.014411582611501217, -0.04498176649212837, -0.014917481690645218, -0.020909463986754417, -0.007805574219673872, 0.02890636771917343, 0.02217918634414673, -0.022965973243117332, -0.010257165879011154, 0.004563626833260059, 0.033905863761901855, -0.010184035636484623, -0.03407220169901848, 0.0038279930595308542, -0.0017827132251113653, 0.021079502999782562, -0.010013891384005547, 0.016776055097579956, -0.01338037010282278, -0.03928118199110031, 0.015276467427611351, -0.012484326958656311, -0.017996322363615036, -0.015667105093598366, -0.015358520671725273, -0.002893297001719475, -0.00019651460752356797, 0.024504372850060463, -0.018344799056649208, -0.015521327033638954, 0.028207702562212944, -0.018606234341859818, -0.002829605480656028, -0.050935469567775726, 0.010417417623102665, -0.020397843793034554, -0.0224679596722126, -0.002769249491393566, 0.8644577860832214, 0.0005452601471915841, 0.020773038268089294, 0.05088826268911362, 0.05259508639574051, 0.019886380061507225, -0.0032844464294612408, -0.037509992718696594, 0.045784689486026764, -0.016626887023448944, -0.06660202145576477, 0.01955200545489788, 0.038022711873054504, 0.029377823695540428, 0.0408133789896965, 0.020003389567136765, 0.015027351677417755, -0.005034282803535461, 0.021003112196922302, 0.006635122932493687, -0.00003393444058019668, 0.024826684966683388, -0.008456849493086338, 0.006931213196367025, 0.016152899712324142, 0.0021559156011790037, -0.19068700075149536, 0.025658385828137398, -8.849677628754913e-33, 0.01920231245458126, -0.029752053320407867, -0.003618919290602207, -0.016637282446026802, 0.03404304012656212, 0.026079589501023293, 0.030190981924533844, 0.054163094609975815, -0.012206299230456352, -0.032139167189598083, -0.013202005997300148, -0.01129112858325243, -0.005290900822728872, -0.0018011393258348107, 0.05523749440908432, -0.03374488651752472, -0.02307742089033127, 0.05748394504189491, -0.005224105902016163, 0.034038443118333817, 0.03293757140636444, 0.011443316005170345, -0.003306312719359994, 0.010189471766352654, 0.017732717096805573, 0.027387259528040886, 0.010629610158503056, 0.0041081844829022884, -0.008480390533804893, -0.0403483510017395, -0.0271996408700943, 0.024690799415111542, 0.009134478867053986, -0.019167732447385788, -0.002504697535187006, -0.03248254209756851, -0.020082687959074974, 0.0049950131215155125, -0.028886133804917336, -0.0011912311892956495, -0.020455941557884216, -0.010275855660438538, -0.02655639685690403, -0.005039904732257128, -0.0380309633910656, -0.009295549243688583, 0.012812825851142406, 0.010518849827349186, 0.024666210636496544, -0.02163366973400116, 0.005709037184715271, 0.03828578069806099, 0.011252411641180515, -0.02785167284309864, -0.003591766580939293, -0.011741082184016705, 0.00446173083037138, -0.011845105327665806, 0.014030104503035545, 0.028220077976584435, -0.01697179488837719, 0.0011404403485357761, -0.024518100544810295, 0.03912080079317093, -0.03135697543621063, -0.018002726137638092, 0.0494682639837265, 0.025421231985092163, 0.012333800084888935, -0.0041652861982584, -0.04479709267616272, -0.04617812857031822, -0.026946406811475754, -0.004494615364819765, 0.025247609242796898, 0.010165675543248653, -0.002234134590253234, 0.016191920265555382, -0.03563163802027702, 0.02373688854277134, 0.005901424679905176, 0.026174897328019142, -0.025600770488381386, -0.014368657022714615, -0.013133153319358826, 0.0083931190893054, -0.02461857907474041, -0.007881798781454563, -0.0005840934463776648, -0.01643403246998787, 0.021459534764289856, -0.006683100014925003, 0.01155895460397005, -0.019394325092434883, -0.013530503027141094, 8.681223410810325e-33, -0.004739697556942701, -0.009543840773403645, -0.02460581064224243, 0.008938862942159176, 0.00556369312107563, -0.010535158216953278, 0.02858990803360939, 0.011152991093695164, -0.03932325914502144, 0.02583887241780758, -0.0062467786483466625, 0.036563970148563385, -0.04074905812740326, -0.0001025058954837732, -0.0046135964803397655, -0.018052319064736366, 0.011849538423120975, 0.0034730660263448954, 0.04958990961313248, 0.021616404876112938, 0.043320514261722565, 0.00894130114465952, 0.005576008465141058, -0.042546071112155914, 0.04109538346529007, 0.06472838670015335, -0.0102766714990139, 0.03945527970790863, -0.015524438582360744, -0.020732130855321884, 0.020431682467460632, -0.026218527927994728, 0.008429075591266155, -0.010713135823607445, -0.001640370232053101, 0.01682331971824169, 0.010351879522204399, -0.007614537142217159, 0.007381956093013287, -0.010266819037497044, 0.0383681058883667, -0.029348967596888542, 0.018055714666843414, 0.03910915181040764, 0.020337913185358047, -0.023079978302121162, -0.006806733552366495, -0.030020778998732567, -0.006699054967612028, 0.00464974669739604, -0.003900121431797743, 0.018892865628004074, 0.022373141720891, 0.000011713869753293693, -0.03084133379161358, -0.02547110803425312, -0.042307477444410324, 0.02251305617392063, -0.006154346279799938, 0.007281790487468243, 0.020389392971992493, 0.0013599537778645754, -0.005021996796131134, 0.01187943946570158, -0.03642162308096886, 0.003564703743904829, 0.01591433212161064, -0.004898037761449814, -0.011650520376861095, -0.017382951453328133, -0.03172954544425011, 0.017201276496052742, -0.012983012944459915, 0.046642377972602844, -0.005319733172655106, -0.01998761110007763, -0.021608855575323105, -0.014895802363753319, 0.007827327586710453, 0.025423593819141388, -0.00917384959757328, -0.0059759053401649, 0.013396522961556911, 0.006991980597376823, -0.03973427787423134, 0.0072645628824830055, -0.008151659741997719, 0.03501800820231438, 0.004386451095342636, -0.02181881293654442, -0.027472078800201416, -0.01437443494796753, -0.02602698653936386, 0.019457051530480385, -0.016513703390955925, -1.396079607474121e-8, 0.038314249366521835, 0.013467340730130672, -0.0009364004363305867, 0.014510109089314938, 0.02104305475950241, -0.012030549347400665, -0.00627630390226841, 0.0006068912916816771, -0.005397306755185127, -0.007833385840058327, 0.010111754760146141, -0.0325186625123024, -0.0049361903220415115, 0.015090038068592548, -0.0012015679385513067, -0.03046472556889057, -0.015707185491919518, -0.0005408511497080326, 0.01399687584489584, -0.002695620059967041, 0.022596726194024086, 0.08042722195386887, 0.031094113364815712, 0.006322941277176142, 0.01951160654425621, -0.007099224254488945, 0.02247037924826145, -0.06759242713451385, 0.028759967535734177, 0.023307261988520622, -0.017605401575565338, -0.02262113429605961, -0.02233862690627575, 0.031449466943740845, 0.011165553703904152, -0.042168278247117996, 0.03363320976495743, 0.042852699756622314, 0.028821077197790146, -0.007097752299159765, -0.03057497926056385, 0.02195684053003788, -0.004816519562155008, -0.022679952904582024, -0.001509063527919352, 0.0013909123372286558, -0.04327600076794624, 0.008702034130692482, 0.0003367631870787591, -0.01611682027578354, 0.02171136997640133, -0.002866692142561078, 0.01398047711700201, 0.01828484795987606, 0.018766693770885468, -0.018394993618130684, -0.011230613104999065, -0.029617346823215485, -0.020203936845064163, 0.02664538100361824, 0.01964592933654785, 0.007628018502146006, -0.00697381142526865, -0.016954809427261353 ]
delivery-approach-and-constraints
https://markhneedham.com/blog/2012/02/08/delivery-approach-and-constraints
false
2012-02-06 22:22:16
Looking for the seam
[ "software-development" ]
[ "Software Development" ]
During December/early January we spent some time analysing an existing system which we were looking to rewrite and our approach was to look for how we could do this in an incremental way. In order to do that we needed to look for what Michael Feathers refers to as a http://www.markhneedham.com/blog/2009/06/21/seams-some-thoughts/[seam]: ____ A seam is a place where you can alter behaviour in your program without editing in that place ____ On previous times when I've been thinking about seams it's been at a code level inside a single application but this time there were more than one pieces interacting. image::{{<siteurl>}}/uploads/2012/02/seam.gif[Seam,253] We knew that there was a web application where the user could request a quote which would be calculated offline and then an email sent to them when it was ready to view. That led us to believe that there was probably some sort of queue being used to store the outstanding requests and there'd probably be some sort of application processing the requests. As it turned out the design of the system actually looked like the diagram on the right with the database effectively as a queue. We then needed to work out which tables we had to read from/write to so that we'd be able to just replace the 'polling application' and leave the 'web application' alone. We were then able to come up with a design whereby we isolated any interaction with the database into a 'bridging application' which then farmed requests out to a new application which we could scale horizontally. It could also take care of writing the quotes back into the database so the existing application could read them back onto the screen. Although we ended up not using this architecture for other reasons I think it's a neat way of looking at systems to work out how we can change them with minimal impact.
null
null
[ 0.026562295854091644, 0.007528186310082674, 0.00344796827994287, 0.034381166100502014, 0.09920510649681091, 0.01250644214451313, 0.014448046684265137, 0.05747656151652336, 0.011729859746992588, -0.035895708948373795, -0.03695058822631836, -0.02667647786438465, -0.07479991763830185, 0.00033482376602478325, -0.01682671345770359, 0.06993553042411804, 0.05853758752346039, 0.0025539088528603315, 0.04077748954296112, -0.0008950638584792614, 0.025512969121336937, 0.08252926170825958, -0.010013606399297714, 0.031074319034814835, 0.029287761077284813, 0.01689831353724003, 0.00957260001450777, -0.012095604091882706, -0.055125098675489426, -0.0020389838609844446, 0.045885924249887466, -0.009418259374797344, -0.008665594272315502, -0.012859487906098366, 0.023965444415807724, -0.024786487221717834, -0.033580221235752106, 0.04851964861154556, -0.006758169271051884, 0.005078044254332781, -0.05564294010400772, 0.05534377694129944, 0.008825714699923992, 0.004406793043017387, -0.04573016241192818, 0.0048251706175506115, -0.0314757265150547, 0.015501759946346283, 0.008478899486362934, -0.007429053075611591, -0.08611112833023071, 0.04995175823569298, -0.014210151508450508, -0.006866219453513622, -0.012370439246296883, 0.04631856828927994, 0.020330578088760376, -0.05449642613530159, 0.014407636597752571, -0.037574443966150284, 0.008903101086616516, -0.01785966008901596, 0.007750385906547308, 0.03233256936073303, 0.008366139605641365, -0.03197178244590759, 0.016488222405314445, 0.04057196155190468, -0.020286880433559418, -0.0005235663265921175, 0.010240246541798115, 0.008386272937059402, -0.014848138205707073, -0.006425661966204643, 0.01514386385679245, -0.03794869780540466, 0.005863559897989035, 0.0727272555232048, 0.011545294895768166, 0.04049742966890335, -0.027167804539203644, 0.026247376576066017, 0.027460847049951553, 0.04323071613907814, -0.015225938521325588, -0.036453042179346085, -0.03522498160600662, 0.0002504537405911833, -0.059029411524534225, 0.05695350468158722, 0.030706454068422318, -0.06798626482486725, 0.04797925427556038, 0.038082581013441086, -0.014663275331258774, 0.012749150395393372, 0.013019561767578125, 0.029696756973862648, -0.0034955020528286695, -0.027754437178373337, -0.029525352641940117, -0.014865381643176079, 0.012766167521476746, 0.001819784170947969, -0.0746527910232544, -0.00012081331806257367, -0.032340943813323975, -0.011643079109489918, -0.013265098445117474, -0.013019644655287266, -0.0007727333577349782, 0.00883100088685751, -0.022263482213020325, 0.02443256601691246, -0.07802455872297287, 0.07235824316740036, -0.0040451823733747005, -0.05729561671614647, -0.011238441802561283, 0.008120574988424778, 0.05180099233984947, 0.021479403600096703, 0.0039910487830638885, 0.07188595831394196, 0.00729869632050395, 0.016644159331917763, 0.0041818637400865555, 0.03774635121226311, -0.039067722856998444, -0.07116921991109848, 2.111791808090402e-8, 0.066098652780056, -0.01939268782734871, 0.000672576017677784, -0.012259597890079021, -0.01157598476856947, 0.0053955805487930775, -0.014077752828598022, 0.037331368774175644, 0.03903980180621147, -0.015456918627023697, -0.04827318713068962, 0.016021909192204475, 0.007849087938666344, 0.021479610353708267, 0.014593562111258507, 0.022180180996656418, -0.02961571328341961, -0.045314591377973557, -0.013175835832953453, 0.013667522929608822, 0.009172526188194752, 0.0158845204859972, -0.03936970233917236, 0.016339151188731194, 0.10260533541440964, 0.024083638563752174, 0.010185140185058117, -0.007935912348330021, 0.005161923356354237, 0.03772708401083946, 0.03919513151049614, 0.0010133760515600443, 0.01483502984046936, 0.011671997606754303, 0.016117358580231667, -0.008579308167099953, 0.0320298969745636, 0.01860332489013672, 0.014269517734646797, -0.05905233696103096, -0.05659801512956619, 0.060608457773923874, -0.03714507818222046, -0.03812031075358391, 0.05124850943684578, 0.09033235162496567, 0.02212628163397312, 0.025868646800518036, 0.015810277312994003, -0.07408710569143295, 0.02174515277147293, -0.001256168819963932, 0.02815338224172592, 0.03176824375987053, -0.02599310129880905, 0.07685252279043198, 0.031340599060058594, -0.009815486147999763, 0.015863405540585518, -0.09203249961137772, -0.08951963484287262, -0.03675338625907898, -0.004851887933909893, 0.04938190057873726, -0.02675587683916092, 0.00521693704649806, 0.08238844573497772, 0.02177729271352291, 0.060723286122083664, 0.03239298239350319, 0.007474242243915796, 0.02295996993780136, -0.06499011814594269, -0.049887921661138535, 0.023232849314808846, 0.022819770500063896, -0.009973510168492794, -0.06992979347705841, 0.010022214613854885, -0.025325028225779533, -0.013273291289806366, 0.03268876671791077, -0.03508113697171211, 0.041991740465164185, 0.0214692410081625, 0.05875033140182495, -0.06047492101788521, 0.03839090093970299, -0.05863530561327934, 0.015333634801208973, 0.0014384696260094643, -0.011859562247991562, 0.01763278618454933, 0.0235625971108675, 0.10367364436388016, 0.05947175249457359, -0.04614170268177986, -0.037499941885471344, 0.016075676307082176, 0.022877346724271774, -0.05611584335565567, -0.01027052104473114, -0.0320698544383049, 0.0075684804469347, 0.01736070029437542, -0.05168350040912628, -0.026269681751728058, 0.01884136162698269, -0.04499945044517517, 0.01566200517117977, 0.06246195733547211, -0.003936325665563345, 0.044633619487285614, 0.001960625173524022, -0.0326206237077713, 0.0010739366989582777, -0.024806780740618706, -0.03623175621032715, 0.015240111388266087, 0.0019305504392832518, -0.007660722825676203, 0.031569547951221466, -0.027339907363057137, -0.019069386646151543, -0.024493908509612083, -0.015982357785105705, 0.01695547066628933, 0.019243750721216202, 0.06867047399282455, -0.02248818799853325, 0.04560783877968788, 0.005742914043366909, 0.038730718195438385, -0.007762869819998741, -0.03666245937347412, -0.04525431990623474, -0.03399638459086418, -0.005793546326458454, 0.03853977099061012, 0.024716496467590332, 0.0012900758301839232, 0.03217799961566925, 0.0178180281072855, 0.003320147516205907, -0.020502686500549316, 0.0478350855410099, -0.0034632396418601274, -0.008245126344263554, -0.025083502754569054, -0.01922057941555977, 0.03921472281217575, -0.060822878032922745, -0.026030229404568672, 0.0230705589056015, -0.06753967702388763, 0.05446232110261917, -0.07411609590053558, -0.05073193460702896, 0.0026939394883811474, 0.03174218162894249, 0.0471365787088871, 0.020373016595840454, 0.010850207880139351, 0.08792458474636078, 0.014239171519875526, 0.009447673335671425, 0.00464532570913434, 0.02256438508629799, 0.03286740183830261, -0.0005001823883503675, -0.0008038599626161158, 0.04175812751054764, -0.013228429481387138, -0.00688033876940608, -0.07607440650463104, 0.0369853638112545, -0.03619733080267906, -0.2948721647262573, 0.031050385907292366, 0.02665870264172554, -0.0590921975672245, 0.03224784880876541, 0.00720247020944953, 0.00855936948210001, -0.04335395619273186, -0.011556870304048061, 0.009951714426279068, -0.020964881405234337, -0.05458761379122734, -0.027015995234251022, 0.04480690881609917, 0.008511751890182495, 0.038944780826568604, 0.03072195313870907, -0.04226822406053543, 0.006808432284742594, 0.024119744077324867, -0.01038371305912733, -0.07933462411165237, 0.01165170781314373, 0.019388671964406967, 0.026920320466160774, 0.05066631734371185, -0.07635146379470825, 0.02473500557243824, -0.03910433128476143, 0.008865626528859138, 0.02280540205538273, 0.0032793830614537, 0.014251631684601307, -0.013831514865159988, -0.03719210624694824, -0.019718000665307045, 0.04407409206032753, 0.00071793730603531, 0.02124689146876335, 0.001926728175021708, -0.014240066520869732, -0.026581138372421265, -0.028795598074793816, 0.02582489140331745, 0.06302671134471893, -0.010527937673032284, -0.0686790868639946, -0.004637789446860552, -0.026089418679475784, 0.07311221957206726, -0.032300498336553574, -0.02444596216082573, -0.00907323881983757, 0.04668514430522919, -0.010547607205808163, -0.024367276579141617, -0.0278752613812685, 0.003000182332471013, -0.05235530436038971, -0.03954124078154564, -0.005956720560789108, -0.03351220488548279, -0.006933288183063269, -0.05735871195793152, 0.017827408388257027, -0.05388147383928299, -0.04246658459305763, -0.014115767553448677, 0.08546483516693115, 0.03191111981868744, 0.0005774657474830747, 0.024492301046848297, 0.0028141348157078028, -0.10823901742696762, 0.0023724159691482782, -0.02480529062449932, -0.021733371540904045, 0.00439027976244688, 0.005200697109103203, 0.026449566707015038, -0.023236438632011414, -0.041684601455926895, 0.01774693839251995, 0.0002580213767942041, 0.035292189568281174, -0.03364497423171997, 0.0420403778553009, 0.006952155847102404, -0.02514827810227871, 0.00997821893543005, 0.07989977300167084, -0.02226497419178486, -0.026854263618588448, -0.021000506356358528, 0.018139906227588654, 0.013063563965260983, 0.010907860472798347, -0.010571455582976341, -0.0006854350212961435, 0.03420098498463631, 0.009311343543231487, -0.06569919735193253, 0.02112339809536934, -0.01158373337239027, -0.005760340020060539, -0.013548492453992367, -0.03374938294291496, 0.002271380042657256, 0.03865184634923935, 0.06076858192682266, -0.021203339099884033, -0.05682545527815819, -0.0019267718307673931, -0.053118746727705, -0.05149058625102043, -0.01110848318785429, 0.023059451952576637, 0.025786153972148895, -0.029171137139201164, -0.017025010660290718, -0.047949641942977905, 0.013706295751035213, 0.034264784306287766, 0.015615319833159447, -0.06041606888175011, -0.028278281912207603, -0.010248985141515732, -0.015047842636704445, 0.028357617557048798, 0.014771971851587296, -0.008261293172836304, 0.0272273737937212, -0.000278783671092242, -0.032801199704408646, 0.021971141919493675, 0.003486829111352563, -0.03926234692335129, -0.048937320709228516, 0.00046244042459875345, 0.012838762253522873, -0.010530686937272549, 0.026202205568552017, 0.011233844794332981, 0.02335660345852375, 0.04580110311508179, 0.01580967754125595, 0.03483041003346443, 0.0011016965145245194, 0.0368412546813488, 0.014856192283332348, -0.023931428790092468, -0.08829989284276962, 0.0024862573482096195, -0.0479549914598465, -0.045953419059515, -0.037468407303094864, 0.039936188608407974, -0.02034715563058853, -0.02847265638411045, -0.016399376094341278, 0.013801822438836098, -0.058517348021268845, -0.044088367372751236, -0.005929282866418362, 0.0035049745347350836, 0.06352479010820389, -0.022308925166726112, 0.01750791259109974, 0.002554870443418622, -0.00903503317385912, 0.002374553820118308, 0.015393241308629513, -0.04157918319106102, 0.013942750170826912, -0.001867074752226472, 0.0003694149199873209, -0.011381191201508045, 0.003110196441411972, 0.0413009449839592, 0.030672986060380936, -0.010139664635062218, -0.017858067527413368, 0.007312468718737364, 0.03519909828901291, 0.05138854309916496, 0.014991052448749542, -0.014981227926909924, 0.019096896052360535, -0.011232499033212662, -0.02687232941389084, -0.024106351658701897, -0.00862936396151781, -0.00186250195838511, -0.005809355992823839, -0.02615802362561226, -0.07878672331571579, 0.03911052271723747, -0.0077790766954422, 0.018999721854925156, 0.007238469552248716, -0.001060571987181902, 0.01448662020266056, -0.02200707048177719, 0.04950867220759392, 0.03548094630241394, -0.06601952016353607, 0.001273010391741991, -0.0038032219745218754, 0.010467203333973885, 0.012933374382555485, 0.004881749395281076, -0.03431759402155876, -0.014860764145851135, -0.004467141814529896, 0.01432197354733944, -0.04557941481471062, -0.02719295769929886, -0.00925302691757679, 0.008319886401295662, -0.00005733333819080144, -0.016871627420186996, -0.008811188861727715, -0.001343938522040844, -0.0018044111784547567, -0.03441246971487999, 0.003596198046579957, -0.019694527611136436, -0.015322067774832249, 0.010960361920297146, -0.03419811278581619, -0.003221310907974839, -0.024841928854584694, 0.020479634404182434, 0.017378099262714386, -0.025571906939148903, -0.002997687319293618, -0.03693185746669769, -0.004744498524814844, 0.015620199032127857, 0.04588169604539871, -0.03198743239045143, -0.02625521644949913, -0.03717711567878723, -0.021028032526373863, -0.02862503193318844, 0.035959940403699875, -0.017446596175432205, 0.004229963757097721, 0.03645447641611099, 0.05481843650341034, -0.0027103761676698923, 0.02983560599386692, -0.008627164177596569, -0.036534737795591354, 0.040962714701890945, -0.06905464082956314, -0.016763536259531975, -0.03984755277633667, -0.05945563316345215, -0.004412868991494179, -0.009471346624195576, 0.019246738404035568, -0.04778699576854706, 0.026688547804951668, 0.023731470108032227, 0.025746500119566917, 0.04906763136386871, 0.013960219919681549, 0.054369326680898666, -0.047700993716716766, -0.0010608045849949121, -0.07387982308864594, -0.010105758905410767, 0.04394722729921341, 0.025424769148230553, 0.006740373559296131, 0.01177408080548048, -0.03628143295645714, 0.05064726248383522, -0.05216166377067566, -0.03174643963575363, 0.03375206142663956, -0.0050534154288470745, -0.011143779382109642, 0.026254169642925262, -0.07032708823680878, 0.0454523041844368, 0.025138188153505325, -0.03938201069831848, -0.03227813541889191, -0.005793506279587746, 0.06805822998285294, 0.004843143746256828, 0.028711136430501938, -0.04781067371368408, -0.0118746068328619, 0.06604164093732834, 0.009942158125340939, 0.0010858268942683935, 0.04673406109213829, -0.016757117584347725, 0.0284014493227005, 0.013550637289881706, 0.011829402297735214, -0.012611908838152885, 0.011656472459435463, -0.01268087886273861, -0.05360567197203636, 0.029944902285933495, -0.004322042688727379, -0.02168813906610012, -0.037670716643333435, 0.07244489341974258, 0.018548008054494858, -0.042960382997989655, -0.05004299804568291, 0.02183385007083416, -0.06074851378798485, -0.009938259609043598, -0.021492989733815193, -0.0016298254486173391, -0.050965920090675354, 0.05900648981332779, 0.0050005302764475346, 0.015381215140223503, 0.07644597440958023, 0.0016460276674479246, 0.0023946401197463274, -0.024136526510119438, 0.08767787367105484, 0.07904496043920517, 0.05487598851323128, 0.024575183168053627, 0.04813714697957039, -0.008175643160939217, -0.047181326895952225, 0.011253817938268185, -0.019420962780714035, -0.034557145088911057, -0.026155654340982437, 0.022966744378209114, 0.06129373982548714, -0.02307938225567341, 0.07004591822624207, -0.012627972289919853, -0.006829073652625084, 0.009102214127779007, 0.034058406949043274, 0.02349824272096157, 0.0648418590426445, -0.003522386308759451, 0.01094832457602024, -0.019680321216583252, -0.03915201872587204, 0.027939001098275185, -0.03599468991160393, -0.025353962555527687, 0.06158028542995453, 0.010413710959255695, 0.04054150730371475, -0.005815737880766392, 0.04432995617389679, 0.08748380094766617, -0.033024903386831284, -0.005725712049752474, -0.0034040086902678013, 0.0050645326264202595, -0.01407141424715519, 0.027277229353785515, -0.029669689014554024, -0.006978444755077362, -0.005452456884086132, -0.031427547335624695, -0.03978430852293968, -0.009343848563730717, -0.023252513259649277, 0.04197491332888603, -0.010551722720265388, 0.001563336350955069, 0.010036157444119453, 0.014159876853227615, -0.03868355602025986, -0.0404621921479702, -0.06008930504322052, -0.028570199385285378, -0.049126602709293365, -0.029649652540683746, 0.04283417388796806, -0.0010007619857788086, -0.037947267293930054, -0.020903145894408226, -0.023126423358917236, -0.018143577501177788, 0.046635497361421585, -0.039387982338666916, -0.03192891925573349, 0.015617264434695244, 0.023312583565711975, 0.02398553490638733, 0.009151057340204716, 0.06355611234903336, -0.017954576760530472, -0.004816388711333275, -0.05769249051809311, 0.018677132204174995, 0.028429582715034485, -0.0020711433608084917, 0.010207493789494038, -0.08427108824253082, 0.019127611070871353, 0.01441626250743866, -0.015774408355355263, -0.06441961228847504, 0.010124689899384975, 0.015023358166217804, -0.0024708895944058895, 0.05080537870526314, -0.04248230531811714, -0.003846562933176756, -0.028539268299937248, -0.011527974158525467, -0.02328546531498432, 0.011138437315821648, 0.0321178063750267, -0.0038961993996053934, 0.09082074463367462, 0.019707657396793365, -0.028273912146687508, -0.02546427771449089, 0.009473136626183987, 0.019410429522395134, 0.009141393005847931, -0.01341200526803732, -0.03290876746177673, -0.030973263084888458, -0.073936328291893, -0.036508701741695404, 0.027006782591342926, -0.031673431396484375, -0.04604281857609749, 0.02546817995607853, 0.01928349770605564, -0.025662994012236595, -0.00451774662360549, -0.04125770926475525, 0.011523517780005932, -0.031599875539541245, -0.022743074223399162, -0.009904362261295319, 0.0051454827189445496, 0.004495362751185894, 0.006934743374586105, 0.006096110213547945, -0.028524313122034073, -0.019681155681610107, -0.011128981597721577, 0.012788597494363785, 0.02968020550906658, 0.005929158069193363, 0.0018515436677262187 ]
[ -0.10333357751369476, -0.027192015200853348, -0.023316068574786186, -0.04553782194852829, 0.01990087330341339, -0.025955481454730034, -0.03668362647294998, 0.00589926540851593, 0.0009492686949670315, -0.012325380928814411, -0.0009808280738070607, 0.017224980518221855, -0.0014419186627492309, 0.003548222128301859, 0.09092584997415543, 0.014781349338591099, -0.0038150264881551266, -0.06000650301575661, 0.012922385707497597, 0.03211687505245209, 0.014006029814481735, -0.028828710317611694, -0.06627194583415985, -0.03100270964205265, -0.011425318196415901, 0.026478996500372887, 0.029679439961910248, -0.049804288893938065, 0.0031757806427776814, -0.18762293457984924, 0.026918260380625725, -0.006670469418168068, 0.004035722464323044, -0.028044650331139565, 0.015753449872136116, 0.024032559245824814, 0.029482176527380943, 0.006117315497249365, -0.00855953898280859, 0.032452501356601715, 0.01603754423558712, 0.05329824984073639, -0.07882678508758545, -0.01751599833369255, 0.023037079721689224, -0.0009898212738335133, 0.007645402103662491, -0.020857876166701317, -0.024642109870910645, 0.03276019170880318, -0.05013704672455788, -0.0032373794820159674, -0.011873134411871433, -0.020602412521839142, -0.007692647632211447, 0.030723318457603455, 0.03159540146589279, 0.07756588608026505, -0.00904473103582859, 0.021213050931692123, 0.013393768109381199, -0.01818321831524372, -0.11283345520496368, 0.10105706751346588, 0.03828191012144089, 0.04961618408560753, -0.044619206339120865, -0.0385444276034832, -0.003464053152129054, 0.1154291108250618, -0.0226637814193964, -0.026174340397119522, -0.04871765896677971, 0.04606771841645241, 0.022422682493925095, -0.019625987857580185, 0.00009141584450844675, 0.027630921453237534, 0.01742297224700451, -0.04341573640704155, -0.04742898419499397, -0.020317528396844864, 0.009656895883381367, -0.0002442709810566157, -0.04893767088651657, 0.016938738524913788, -0.015939829871058464, 0.05819318816065788, 0.0353524349629879, 0.012223021127283573, 0.04149036481976509, -0.007296083960682154, 0.056261900812387466, -0.021198222413659096, -0.07159491628408432, -0.0006150500848889351, -0.01911228522658348, 0.0420568622648716, -0.017013156786561012, 0.4380953311920166, -0.021352292969822884, -0.025352658703923225, 0.07473050057888031, 0.03788064792752266, -0.005653210449963808, 0.006866428069770336, 0.008062672801315784, -0.028894612565636635, 0.02582908235490322, -0.008691275492310524, 0.010968029499053955, -0.00047577673103660345, 0.07617228478193283, -0.03588234633207321, -0.00008653534314362332, -0.004184077959507704, -0.005269043147563934, 0.015114770270884037, 0.022979851812124252, -0.00751462671905756, -0.03121446631848812, 0.022055229172110558, 0.016840828582644463, 0.010785899125039577, 0.01121197734028101, -0.012213686481118202, 0.046512212604284286, 0.055975496768951416, 0.018385278061032295, 0.01806497387588024, 0.04891762137413025, -0.0465778224170208, -0.0563758909702301, -0.00007009701221249998, 0.0022359206341207027, 0.006867845077067614, 0.03393686190247536, -0.02744314633309841, -0.0010140452068299055, 0.03154886141419411, -0.01665065437555313, -0.007953345775604248, 0.02606632560491562, -0.013380623422563076, -0.03375948220491409, 0.1286999136209488, 0.02945620007812977, -0.03549604490399361, -0.04343317449092865, -0.04560811445116997, -0.016895685344934464, 0.03671220317482948, -0.01793062686920166, -0.07487504929304123, 0.00798863172531128, 0.0216657891869545, 0.06305433064699173, -0.005273471586406231, -0.05919870361685753, -0.009041011333465576, -0.014509712345898151, -0.02566836215555668, -0.054707348346710205, 0.05855243280529976, 0.05350523069500923, -0.1383044421672821, -0.019319240003824234, 0.014643666334450245, 0.032004307955503464, -0.041963618248701096, -0.021203510463237762, 0.017060281708836555, -0.0417352169752121, -0.015355669893324375, 0.037334855645895004, -0.016878928989171982, -0.04030880331993103, -0.004419645760208368, 0.0454353503882885, 0.005945665296167135, 0.0387190505862236, 0.005892847198992968, -0.04494374617934227, -0.007877536118030548, -0.06183413043618202, -0.09749270230531693, -0.041622478514909744, 0.009351289831101894, -0.011484009213745594, -0.01303433533757925, -0.04632838815450668, -0.02151101641356945, -0.055205076932907104, 0.07986585050821304, -0.01587238349020481, -0.029032710939645767, 0.02766146883368492, 0.005600003991276026, -0.029189087450504303, -0.04078749194741249, 0.004398393910378218, 0.02458157204091549, -0.04039716720581055, 0.04273606464266777, -0.05235617980360985, 0.058155979961156845, 0.040821634232997894, -0.03461698070168495, 0.08680771291255951, 0.05208118259906769, -0.022908300161361694, -0.01790449768304825, -0.0009838177356868982, 0.019523661583662033, -0.002018027240410447, -0.028097325935959816, 0.007054805289953947, 0.013620197772979736, 0.02795647829771042, 0.02170454151928425, -0.029272759333252907, -0.0067970603704452515, -0.011520588770508766, -0.34245726466178894, -0.030644170939922333, -0.025482576340436935, 0.01742667518556118, 0.0030763340182602406, -0.052381809800863266, 0.031967438757419586, -0.017241811379790306, -0.019644586369395256, 0.005546868778765202, 0.088615782558918, -0.007287084124982357, 0.009187798015773296, -0.06778118759393692, -0.011193130165338516, -0.01729549467563629, -0.04132673144340515, -0.02152002975344658, -0.05917562544345856, 0.0071391211822628975, 0.008006179705262184, 0.017781207337975502, -0.0034486993681639433, -0.08804403245449066, -0.00728849321603775, -0.026531919836997986, 0.10628226399421692, -0.03064068593084812, 0.09917595237493515, -0.07426648586988449, 0.05526619032025337, -0.01718515157699585, 0.01209882739931345, -0.1135711520910263, 0.005207211244851351, 0.014292392879724503, 0.003437984036281705, -0.011559008620679379, 0.035217221826314926, -0.03696000203490257, -0.08273211121559143, 0.012465261854231358, -0.04758081212639809, -0.06129040941596031, -0.03172481805086136, 0.03659452870488167, -0.003865286009386182, -0.05664880573749542, -0.031152216717600822, 0.07552514225244522, -0.0022581019438803196, -0.018102841451764107, 0.02635684609413147, 0.01872723549604416, 0.007353803608566523, -0.03329358994960785, -0.07383707910776138, 0.00953412614762783, 0.012845934368669987, 0.01274810079485178, 0.031252846121788025, 0.05273986607789993, 0.021497873589396477, -0.06164582446217537, 0.018824057653546333, 0.024182099848985672, 0.014203136786818504, -0.015028714202344418, 0.042967479676008224, -0.04423925280570984, -0.04010647162795067, 0.09494291990995407, -0.009525519795715809, -0.018090594559907913, 0.02059476263821125, 0.04191180691123009, -0.019885696470737457, 0.042011793702840805, 0.004379807505756617, -0.025105521082878113, 0.040451571345329285, -0.032047782093286514, 0.030246740207076073, -0.03065628558397293, 0.0019083647057414055, 0.06920285522937775, -0.021904319524765015, -0.0451437309384346, 0.049094974994659424, 0.007078222464770079, -0.0179364625364542, -0.01479366421699524, -0.04098915308713913, -0.06346409022808075, 0.06661392003297806, -0.012349816970527172, -0.2538994550704956, 0.03178638219833374, 0.05346546694636345, 0.04434986412525177, 0.001403765520080924, 0.034523993730545044, 0.03541908785700798, -0.019770080223679543, 0.029630057513713837, -0.006297197658568621, 0.031354762613773346, 0.0126008540391922, 0.006379618309438229, -0.012084420770406723, 0.04215657338500023, 0.00016726322064641863, 0.04494849219918251, 0.008323430083692074, -0.0011875064810737967, 0.006279360502958298, 0.009225171990692616, -0.012734324671328068, 0.16571727395057678, 0.01893158070743084, 0.043761491775512695, 0.01928144320845604, 0.00998174212872982, 0.013514350168406963, 0.059105828404426575, 0.012551854364573956, -0.008178148418664932, -0.0062883514910936356, 0.043088845908641815, -0.007424341049045324, 0.01592230051755905, -0.0837860256433487, -0.016739049926400185, 0.05274403840303421, 0.028707683086395264, 0.005917785223573446, -0.0034962177742272615, 0.013092952780425549, -0.012445014901459217, 0.05752532184123993, 0.05545526742935181, 0.039476826786994934, 0.00960607547312975, -0.013423028402030468, -0.012713873758912086, 0.0007585690473206341, -0.028798511251807213, -0.03618906810879707, -0.00644740229472518, -0.0036437397357076406, 0.008246202021837234, 0.07591482996940613, 0.00835451390594244, -0.009503236040472984, -0.010776412673294544, 0.03439341112971306, 0.006252615712583065, -0.008081686682999134, 0.11642744392156601, -0.0029640919528901577, 0.0028458621818572283 ]
[ -0.054031673818826675, 0.0260377898812294, 0.01811841130256653, -0.014069373719394207, 0.008457472547888756, -0.019267398864030838, 0.0008559154230169952, 0.03129253536462784, -0.011267127469182014, 0.018233880400657654, -0.052137818187475204, -0.0035283330362290144, 0.03044348582625389, -0.00630149245262146, 0.04677293449640274, 0.032502077519893646, -0.003160848282277584, -0.005657033063471317, 0.013017136603593826, 0.014403827488422394, -0.0464579276740551, -0.0031168987043201923, 0.0011824689572677016, 0.0036169677041471004, 0.0065447306260466576, 0.014773343689739704, -0.03987060487270355, 0.00774053018540144, 0.0164498221129179, -0.11290242522954941, -0.012274544686079025, -0.0022242851555347443, -0.025212442502379417, 0.021919814869761467, -0.009288779459893703, 0.027778420597314835, 0.028310805559158325, -0.010748451575636864, -0.009977921843528748, -0.008332221768796444, 0.0037298251409083605, -0.025251111015677452, -0.014233642257750034, 0.042251214385032654, 0.01229984499514103, 0.01513462420552969, -0.024065522477030754, 0.008641279302537441, -0.016699383035302162, 0.01805756986141205, -0.03187740594148636, 0.012564143165946007, 0.0007847729721106589, 0.029326122254133224, -0.012162938714027405, -0.007957319729030132, -0.01350698247551918, 0.004619316663593054, -0.01435384526848793, 0.027402430772781372, -0.018926924094557762, 0.004423737060278654, -0.029332390055060387, -0.0019367269705981016, -0.008082631975412369, -0.010551969520747662, -0.00028683891287073493, 0.015266235917806625, -0.00035600512637756765, -0.004183954559266567, -0.018983637914061546, 0.03442205861210823, -0.0466456264257431, -0.022802848368883133, 0.0036283647641539574, -0.040802132338285446, 0.026094043627381325, 0.00398977380245924, -0.029760409146547318, 0.0322587713599205, -0.058462511748075485, -0.0017474821070209146, 0.003618658985942602, 0.017908653244376183, 0.005442173220217228, -0.026925455778837204, -0.0006945964996702969, -0.01087422575801611, 0.024555431678891182, -0.016825251281261444, -0.024100298061966896, 0.039036378264427185, -0.006136435549706221, 0.017436964437365532, -0.047305744141340256, 0.021959859877824783, -0.014181817881762981, 0.024430688470602036, -0.004132482688874006, 0.8360620737075806, 0.015515859238803387, -0.004170672502368689, 0.01761092245578766, 0.01986452378332615, 0.03437979146838188, -0.05343734472990036, -0.01445120107382536, 0.03722620755434036, 0.009948010556399822, -0.02660604566335678, 0.030442610383033752, -0.003955835942178965, 0.04960155114531517, -0.007771231699734926, 0.0017465491546317935, 0.00967129785567522, -0.03246502950787544, 0.001726406393572688, 0.0028996479231864214, 0.045477285981178284, 0.04516485705971718, 0.03167638182640076, -0.027346862480044365, 0.0012725808192044497, -0.00991799309849739, -0.17452338337898254, 0.04150451719760895, -7.842116604943005e-33, 0.0242303479462862, -0.012664531357586384, 0.045005496591329575, -0.010970249772071838, 0.03562132641673088, 0.03356681019067764, -0.0012670058058574796, 0.007731165271252394, 0.00009728261647978798, -0.022035354748368263, -0.03631560131907463, -0.0034759899135679007, 0.014645911753177643, -0.003125627525150776, 0.045754484832286835, -0.013911780901253223, -0.0036846152506768703, 0.036733031272888184, 0.005486373323947191, 0.01804671809077263, 0.02201198972761631, -0.007073407992720604, 0.013180804438889027, -0.0002044335415121168, -0.04651336371898651, 0.030817771330475807, 0.02368243783712387, 0.021846966817975044, 0.0008107790490612388, -0.02365746535360813, 0.0053036632016301155, -0.001036164816468954, -0.020265894010663033, -0.004519886802881956, 0.002520539565011859, -0.04754425212740898, -0.05369159206748009, 0.03476491943001747, -0.04544663056731224, -0.013713759370148182, -0.03337256982922554, -0.0072677237913012505, -0.027718858793377876, -0.011662835255265236, -0.037787530571222305, -0.047142721712589264, 0.012753132730722427, 0.018392030149698257, 0.01468060351908207, -0.01833336055278778, 0.03402884304523468, 0.007141052279621363, -0.023309500887989998, 0.01592051424086094, -0.033981792628765106, 0.02472868748009205, -0.0024655042216181755, -0.01808587834239006, -0.010219590738415718, 0.028454670682549477, -0.012511271052062511, -0.011667744256556034, 0.002752394415438175, 0.016526637598872185, 0.015874922275543213, -0.01704034022986889, 0.03273967280983925, 0.016253631561994553, 0.04217671602964401, -0.024966534227132797, -0.022986872121691704, 0.010629474185407162, -0.00710316514596343, -0.006146476604044437, -0.0053814067505300045, -0.030833279713988304, 0.0036574515979737043, 0.024363987147808075, 0.021749883890151978, 0.04660199582576752, 0.019934101030230522, -0.010101725347340107, -0.011312998831272125, -0.010825714096426964, -0.030352581292390823, -0.043318573385477066, -0.02336321771144867, 0.021387847140431404, -0.04460940137505531, 0.011531772091984749, 0.04586201533675194, 0.0030740255024284124, 0.027885079383850098, -0.05190557241439819, 0.0008009129669517279, 8.010499558542575e-33, 0.017235340550541878, -0.001468608039431274, -0.038494955748319626, -0.008298742584884167, 0.02968672849237919, 0.012403080239892006, 0.04267880693078041, 0.044596705585718155, -0.04227711632847786, 0.02840607799589634, 0.01672476902604103, 0.043844353407621384, -0.02673499844968319, 0.04277704283595085, -0.01842915453016758, -0.0043282462283968925, 0.06806512176990509, -0.019622648134827614, 0.0140135632827878, 0.020693650469183922, 0.036117151379585266, -0.007169709540903568, -0.022950870916247368, 0.0010520535288378596, 0.04319841042160988, 0.03254340589046478, -0.020490549504756927, -0.026718003675341606, -0.0031991167925298214, 0.0022377711720764637, -0.0005061840638518333, -0.02506270632147789, 0.003654597094282508, -0.0071591585874557495, -0.011165938340127468, -0.0010676054516807199, -0.012347388081252575, -0.0025504843797534704, 0.007399543188512325, -0.02249302715063095, 0.03471933677792549, 0.01938791759312153, 0.022291317582130432, 0.018454615026712418, 0.02235357090830803, 0.04385444149374962, -0.052229221910238266, 0.0002720153715927154, -0.042597994208335876, 0.005249923560768366, -0.02509181946516037, 0.06496144831180573, 0.010049546137452126, -0.034154847264289856, 0.01420719362795353, -0.015269200317561626, -0.08640958368778229, 0.024196526035666466, -0.03799387812614441, 0.031367674469947815, 0.02083468809723854, 0.030387945473194122, -0.02372703328728676, -0.03176293894648552, -0.0006847868207842112, -0.026273764669895172, -0.0793958231806755, -0.02641543559730053, -0.01130305603146553, -0.03448180481791496, 0.002410384127870202, 0.011995824985206127, -0.04185532405972481, 0.005690055899322033, 0.04851897805929184, -0.036574069410562515, -0.03250410035252571, -0.001445926376618445, 0.006343786604702473, 0.03763972967863083, 0.008662156760692596, -0.01948469504714012, -0.0011354336747899652, 0.006126344669610262, -0.021444812417030334, -0.02740386128425598, -0.03170986846089363, 0.013234596699476242, 0.01494961604475975, -0.011914429254829884, -0.02947482094168663, -0.01166723296046257, -0.03980165347456932, 0.008105423301458359, -0.013213345780968666, -1.3137346321911991e-8, 0.005245564039796591, -0.0016611621249467134, -0.01021470595151186, -0.018552543595433235, 0.033956896513700485, 0.02690783329308033, -0.013289167545735836, 0.03237190470099449, -0.027418233454227448, 0.01623462326824665, 0.03301504999399185, -0.026964008808135986, -0.010294127278029919, 0.02279815450310707, 0.0036329065915197134, -0.0606859028339386, 0.023638760671019554, -0.024667009711265564, 0.007504397537559271, -0.008141846396028996, 0.048758503049612045, 0.06247461214661598, -0.016085729002952576, 0.013521376065909863, 0.042444176971912384, -0.026958230882883072, -0.005188108421862125, -0.05485313758254051, -0.015219131484627724, -0.0046280608512461185, -0.011240476742386818, -0.023174814879894257, -0.028273258358240128, -0.0018733700271695852, -0.04313935711979866, -0.03450854495167732, 0.004270732868462801, 0.03158487379550934, 0.020555775612592697, -0.017794521525502205, -0.0009767257142812014, 0.027587998658418655, 0.011424661614000797, -0.02191106043756008, 0.004493815824389458, 0.008854520507156849, 0.029433678835630417, 0.0172579325735569, -0.014978419989347458, -0.03802647441625595, 0.038289498537778854, -0.014815815724432468, 0.005574092268943787, 0.05872136726975441, 0.024761943146586418, 0.015504426322877407, 0.027773188427090645, -0.05421915277838707, -0.023472793400287628, 0.031045453622937202, 0.01755485124886036, 0.020879488438367844, -0.026408854871988297, -0.005712154787033796 ]
looking-for-the-seam
https://markhneedham.com/blog/2012/02/06/looking-for-the-seam
false
2012-02-24 02:03:34
Thou shalt storm
[ "software-development", "teams" ]
[ "Software Development" ]
On the majority of the teams that I've worked on there's been a time where everyone seems to be disagreeing with each other about almost everything and the whole situation becomes pretty tense for all involved. The first time I came across this it seemed quite dysfunctional but I was introduced to http://en.wikipedia.org/wiki/Tuckman's_stages_of_group_development[Bruce Tuckman's model of group development] which helps to explain what's going on. Tuckman outlines four stages which teams tend to go through - *forming, storming, norming and performing*. The forming stage tends to be fairly nice because people have mostly just met each other and don't want to cause any conflict but eventually we move into the storming stage which is where it gets interesting: ____ The team addresses issues such as what problems they are really supposed to solve, how they will function independently and together and what leadership model they will accept. Team members open up to each other and confront each other's ideas and perspectives. The storming stage is necessary to the growth of the team. It can be contentious, unpleasant and even painful to members of the team who are averse to conflict. Tolerance of each team member and their differences should be emphasized. Without tolerance and patience the team will fail. ____ In agile teams this conflict often tends to rear its head in a retrospective and people will tend to go away from it feeling pretty bad about the whole thing and wishing they could work on another team! In reality it's just a stage that the team is going through and as long as team members address the differences of opinion they have rather than hiding from that conversation then the team can move on to being more productive. One cool thing I've noticed is that if people have worked with each other before then they've probably already previously got over this hurdle and can therefore either skip/spend much less time on the storming stage. A colleague of mine pointed out that we *shouldn't be alarmed* at the way people interact with each other in the storming stage but we *should be aware* when we're in it which I think is a pretty good way of looking at it. Gina Abudi has http://www.pmhut.com/the-five-stages-of-project-team-development[an article from a couple of years ago] which goes through the storming stage and all the other ones in more detail.
null
null
[ -0.0003391035133972764, -0.007322269957512617, -0.023040741682052612, 0.02013108879327774, 0.06346318125724792, -0.006283903494477272, 0.02715996280312538, 0.03917897120118141, 0.03150211647152901, -0.018911687657237053, -0.004995731636881828, 0.005987321026623249, -0.058420710265636444, 0.02643342688679695, -0.037212878465652466, 0.08680177479982376, 0.03830147907137871, 0.006303939037024975, 0.015525206923484802, -0.002411058871075511, 0.06479427218437195, 0.06575652211904526, 0.03618869185447693, 0.04914331063628197, 0.0782369002699852, -0.013930484652519226, 0.048772938549518585, -0.007185768336057663, -0.02809782326221466, 0.005045537371188402, 0.03083967976272106, -0.007366575300693512, 0.015482564456760883, -0.008174264803528786, 0.034408632665872574, -0.02969854511320591, -0.000285029731458053, 0.049638744443655014, 0.017964398488402367, -0.015151829458773136, -0.07073651254177094, 0.04531053453683853, -0.03624219819903374, 0.005020759999752045, -0.023659512400627136, 0.035390011966228485, -0.021115316078066826, 0.02011004276573658, -0.006747426465153694, -0.017554929479956627, -0.0654541552066803, 0.028218857944011688, 0.02883964404463768, 0.005304867401719093, -0.0067684282548725605, 0.01292310282588005, -0.014096632599830627, -0.044036537408828735, 0.008719110861420631, -0.047516245394945145, -0.03591497242450714, -0.016887027770280838, 0.0032902981620281935, 0.02582438290119171, 0.03808790445327759, -0.012052602134644985, 0.009509523399174213, 0.0199623741209507, -0.041314732283353806, 0.007121780421584845, -0.023715248331427574, 0.0032015745528042316, -0.012670887634158134, 0.010457228869199753, -0.0013112765736877918, -0.056568246334791183, 0.016468428075313568, 0.058244600892066956, 0.022068161517381668, 0.048881568014621735, -0.014518790878355503, -0.003506443463265896, -0.008305163122713566, 0.021201008930802345, -0.021525543183088303, -0.04558170214295387, 0.04346559941768646, -0.0071756839752197266, -0.07177368551492691, 0.05976452678442001, 0.014072727411985397, -0.06280195713043213, -0.004978441167622805, 0.046999603509902954, 0.009441186673939228, -0.006151809822767973, 0.03452444449067116, 0.008140078745782375, -0.010842000134289265, -0.029013872146606445, -0.02343202941119671, -0.012204272672533989, -0.021284567192196846, 0.025104952976107597, -0.08814601600170135, -0.004755393601953983, 0.006417538039386272, -0.011135273613035679, -0.022885514423251152, 0.011519186198711395, -0.029092563316226006, 0.027111336588859558, -0.01510654017329216, -0.0031650278251618147, -0.0688091367483139, 0.06470496207475662, 0.013089504092931747, -0.029748398810625076, -0.011648215353488922, -0.006022672168910503, 0.03141643851995468, 0.017271360382437706, -0.01948099583387375, 0.08110976219177246, -0.018132710829377174, 0.023305552080273628, -0.03914359211921692, 0.06198146939277649, -0.007829819805920124, -0.045094773173332214, -0.028599843382835388, 0.0648064985871315, -0.051035236567258835, -0.004261181224137545, -0.009639340452849865, -0.05855850502848625, -0.005013312678784132, 0.013534964062273502, 0.02715139091014862, 0.07575230300426483, -0.007039041258394718, -0.018699457868933678, 0.019609903916716576, 0.019205743446946144, 0.019610796123743057, -0.015427492558956146, -0.02827790379524231, -0.04704669117927551, -0.037659551948308945, -0.015751510858535767, 0.0037463470362126827, -0.0191964004188776, 0.026958338916301727, -0.038191426545381546, 0.036833252757787704, 0.09270639717578888, 0.06896553188562393, -0.0037517636083066463, -0.025259600952267647, 0.042046163231134415, 0.039775487035512924, 0.032642912119627, 0.02207309380173683, 0.04106082022190094, 0.017176806926727295, -0.017309347167611122, -0.016737299039959908, 0.02248954586684704, 0.004438785836100578, 0.008892412297427654, -0.044162362813949585, -0.041483402252197266, 0.03153550624847412, -0.0290505550801754, -0.007741948124021292, 0.04892845079302788, 0.06553530693054199, 0.04736317694187164, 0.027423959225416183, -0.004566114861518145, -0.06598906964063644, 0.02390260063111782, 0.003539535216987133, 0.038888152688741684, 0.053891826421022415, -0.016944365575909615, 0.03630528226494789, 0.027458643540740013, -0.010137299075722694, 0.060467109084129333, -0.06573685258626938, -0.08098935335874557, -0.010095813311636448, 0.0049708252772688866, 0.04513391852378845, -0.05975006893277168, 0.01958882436156273, 0.07877357304096222, 0.018265951424837112, 0.05223460495471954, 0.0388764850795269, 0.011467952281236649, 0.0041168755851686, -0.028535308316349983, -0.04717908054590225, 0.08097794651985168, 0.019831668585538864, 0.01237473264336586, -0.03909002244472504, 0.0407579243183136, -0.009378140792250633, -0.006248729769140482, 0.03181099891662598, -0.009798085317015648, 0.04830979183316231, -0.025205954909324646, 0.05206308141350746, -0.03884704038500786, 0.05183297395706177, -0.04157092794775963, 0.012528203427791595, -0.018531352281570435, -0.02282203733921051, 0.002743564313277602, -0.012513476423919201, 0.08679458498954773, 0.04438238590955734, -0.04179656133055687, -0.04928869009017944, 0.034675441682338715, 0.039486076682806015, -0.02130931243300438, -0.001450330251827836, 0.005555466283112764, 0.016074256971478462, -0.006264153402298689, -0.05471592769026756, -0.03196793422102928, 0.010136960074305534, -0.06562890857458115, -0.0169023759663105, 0.039597287774086, 0.004989662207663059, 0.07447311282157898, -0.02448582835495472, -0.02404264360666275, -0.007409549318253994, -0.008140608668327332, -0.03888333961367607, 0.018062226474285126, 0.012913494370877743, -0.021718302741646767, 0.047745656222105026, -0.02934342436492443, -0.04231571406126022, -0.03195636346936226, -0.01690186932682991, 0.019820505753159523, 0.07008907198905945, 0.05545290559530258, -0.019267907366156578, 0.04879256710410118, -0.027683071792125702, 0.010045238770544529, 0.0018996025901287794, -0.03501882776618004, -0.05337391421198845, -0.02736165188252926, -0.013734106905758381, -0.002821968635544181, -0.0037486508954316378, 0.00863328855484724, 0.009939568117260933, 0.022449105978012085, -0.016765709966421127, 0.0006962163024581969, 0.020312204957008362, -0.0014278892194852233, 0.01073380932211876, -0.018336137756705284, -0.0008013095357455313, 0.043620139360427856, -0.010250675491988659, -0.015223265625536442, 0.015943052247166634, -0.09883023798465729, 0.035563379526138306, -0.06628689914941788, -0.0434674508869648, -0.0022514474112540483, 0.01348668523132801, 0.04443718492984772, 0.031725943088531494, 0.006956577301025391, 0.056674692779779434, 0.009560585021972656, 0.019383566454052925, 0.02124844677746296, -0.005686415359377861, 0.05301845446228981, 0.00738365575671196, -0.024951832368969917, 0.03302960842847824, -0.031315501779317856, 0.003314355155453086, -0.048377424478530884, 0.03790688514709473, -0.05532011389732361, -0.28572219610214233, 0.03271307051181793, 0.013150613754987717, -0.03264760598540306, 0.02278457023203373, -0.05693706125020981, 0.024741344153881073, -0.042151305824518204, -0.03496059775352478, 0.008388386107981205, -0.050322525203228, -0.04501161724328995, -0.01611049473285675, 0.037257175892591476, -0.007162509020417929, 0.01005302369594574, 0.03115651197731495, -0.03345409780740738, 0.013230154290795326, 0.057383157312870026, -0.01311243325471878, -0.06268095225095749, -0.04086263105273247, 0.020157713443040848, 0.04341726005077362, 0.062778539955616, -0.04408354312181473, 0.03252480551600456, -0.06059546396136284, 0.0072666374035179615, 0.008190996944904327, -0.0069847810082137585, 0.0049376110546290874, -0.027325762435793877, 0.000652913935482502, -0.032007962465286255, 0.04500032216310501, -0.005022370722144842, -0.01775532029569149, -0.021378671750426292, -0.030598793178796768, -0.056486476212739944, 0.01533376146107912, 0.012738186866044998, 0.06885065138339996, 0.03703747317194939, -0.06988517194986343, -0.014396107755601406, -0.04047048091888428, 0.09876374155282974, -0.03162328153848648, -0.018412219360470772, -0.00685269758105278, 0.023506587371230125, -0.0068650017492473125, -0.009967072866857052, -0.00401208084076643, -0.05001606419682503, -0.034575335681438446, -0.038840703666210175, -0.036174286156892776, -0.03879984840750694, -0.0022442115005105734, -0.0340091772377491, -0.005054086446762085, -0.05432133749127388, -0.06726089119911194, -0.003263656282797456, 0.0378553606569767, -0.023008285090327263, -0.015888892114162445, 0.004713304806500673, -0.011720598675310612, -0.09252741932868958, -0.012703071348369122, -0.0009423024603165686, -0.027792327105998993, -0.006020987872034311, 0.02247658185660839, 0.04234553501009941, -0.0356166698038578, -0.05916845425963402, 0.0252850204706192, -0.02344537526369095, 0.03691278025507927, 0.01577013172209263, 0.05796518549323082, 0.043268993496894836, -0.03667290136218071, 0.018110185861587524, 0.050453148782253265, 0.02052334137260914, -0.03700023517012596, -0.0127837173640728, 0.03308725357055664, -0.01065398845821619, -0.020085522904992104, -0.013145622797310352, 0.014503168873488903, 0.004138996824622154, 0.0041144308634102345, -0.04414077475667, 0.018638167530298233, 0.007039002608507872, -0.021795211359858513, -0.0064694080501794815, -0.04454633221030235, 0.012746288441121578, 0.05450795590877533, 0.015707610175013542, 0.041162051260471344, -0.03179510310292244, 0.031707290560007095, -0.043483421206474304, 0.0016737212426960468, -0.010561306960880756, 0.015027300454676151, 0.0673217922449112, 0.01534998882561922, 0.001970825018361211, -0.0668603852391243, 0.014428272843360901, -0.02515142410993576, 0.005345681682229042, -0.07135996222496033, -0.0033956500701606274, -0.02034149505198002, -0.041157569736242294, 0.020748022943735123, 0.018224814906716347, -0.025387637317180634, -0.004683486185967922, 0.05448279529809952, -0.03261607512831688, 0.0203678160905838, -0.038605835288763046, -0.08693483471870422, -0.036902621388435364, -0.01932619698345661, -0.006776696536689997, -0.006996670737862587, 0.043776851147413254, -0.020596737042069435, 0.0060186306945979595, 0.028312120586633682, 0.016206957399845123, -0.007564694155007601, -0.023507580161094666, 0.02478897199034691, 0.04446181654930115, 0.02852478437125683, -0.029778368771076202, 0.002348208101466298, -0.03419585898518562, -0.013720322400331497, -0.001949595520272851, 0.03722028806805611, -0.007391270715743303, -0.040759261697530746, -0.01629130356013775, 0.011032277718186378, -0.04215020686388016, -0.036552608013153076, -0.03624103218317032, 0.03926572576165199, 0.04872382432222366, -0.00636335788294673, -0.021301617845892906, -0.01983880065381527, -0.006973891984671354, -0.007964161224663258, 0.0023140087723731995, -0.04810841754078865, 0.0005174357211217284, -0.004202750511467457, 0.01567729189991951, 0.021214205771684647, 0.011525110341608524, 0.049206867814064026, 0.012876050546765327, -0.009565667249262333, -0.02398000843822956, -0.00001805046122171916, 0.005676519591361284, 0.0466458834707737, 0.056201014667749405, -0.00320237479172647, -0.008015802130103111, -0.004037058912217617, -0.013665402308106422, -0.028476299718022346, -0.015172421000897884, -0.031913209706544876, 0.009488650597631931, -0.0320465974509716, -0.0648755133152008, 0.05258875712752342, 0.006334897130727768, 0.023672902956604958, 0.0029658498242497444, 0.00024809426395222545, 0.020958872511982918, -0.02296515740454197, 0.031190715730190277, 0.05092620849609375, -0.0627267137169838, 0.003753598313778639, -0.019581172615289688, -0.010448477230966091, 0.026455648243427277, -0.014246986247599125, -0.027450675144791603, -0.0230448916554451, -0.019383562728762627, 0.029844990000128746, -0.10218610614538193, -0.02433556690812111, -0.04678535461425781, 0.025565562769770622, 0.03303093835711479, -0.005671541206538677, -0.052712827920913696, -0.0011364083038643003, -0.0014261683681979775, -0.043134719133377075, 0.02649458684027195, -0.047829609364271164, 0.013743902556598186, 0.006365260574966669, -0.02636435627937317, -0.0068404339253902435, -0.018466563895344734, 0.02525145560503006, 0.002131326822564006, -0.02552231214940548, -0.0037521664053201675, -0.04401569068431854, -0.01718326099216938, 0.008781533688306808, 0.03306042402982712, -0.02999775856733322, -0.05406704917550087, -0.02810872159898281, -0.009721407666802406, -0.0331743061542511, -0.0159036535769701, -0.02308364398777485, -0.014080769382417202, 0.0380217544734478, 0.05811198800802231, 0.035090066492557526, 0.027968840673565865, -0.011488690041005611, -0.020896825939416885, 0.047452181577682495, -0.06310534477233887, -0.038759030401706696, -0.025874488055706024, -0.03847481310367584, 0.0013245971640571952, 0.02698504365980625, 0.003007714869454503, -0.06631232053041458, 0.02678917907178402, 0.03141683712601662, 0.02784370444715023, 0.03603844717144966, 0.0024727671407163143, 0.024107884615659714, -0.04684804752469063, -0.027370644733309746, -0.07239045947790146, -0.001979108667001128, 0.024402130395174026, 0.0026758252643048763, 0.013230251148343086, -0.008184434846043587, -0.05088774487376213, 0.0508887879550457, -0.0700758770108223, -0.020238731056451797, 0.045242615044116974, -0.008346104063093662, -0.0023254845291376114, 0.03072105161845684, -0.08754370361566544, -0.00044362680637277663, 0.008428381755948067, -0.051036980003118515, -0.0012580981710925698, -0.00895577110350132, 0.06310347467660904, -0.016300437971949577, 0.004460908006876707, -0.03992141783237457, -0.01900244876742363, 0.08740931004285812, 0.005074294749647379, 0.006668523885309696, 0.07539255917072296, -0.026738762855529785, 0.04268782213330269, 0.028174523264169693, 0.01826075091958046, -0.014899704605340958, 0.01743222400546074, -0.01390760112553835, -0.04639869183301926, 0.04888145998120308, 0.009516037069261074, -0.03721897304058075, -0.028224831447005272, 0.06629684567451477, 0.0038322561886161566, -0.04173097014427185, -0.03168527036905289, -0.00696359109133482, -0.05509350448846817, -0.008075306192040443, -0.029502274468541145, 0.00944336224347353, -0.04175599664449692, 0.03553309291601181, -0.01028529368340969, 0.03566892817616463, 0.06845908612012863, 0.005783562082797289, -0.007983078248798847, -0.020840909332036972, 0.08072657138109207, 0.072530597448349, 0.06309983134269714, -0.0003263238468207419, 0.05901117995381355, 0.0002434936905046925, -0.04941800609230995, 0.0328986719250679, 0.0123782679438591, -0.0049465009942650795, 0.0017298797611147165, 0.027975551784038544, 0.03987150639295578, -0.016426824033260345, 0.055210571736097336, 0.010334600694477558, -0.037890542298555374, 0.009662031196057796, 0.03199182450771332, 0.01597483642399311, 0.08233113586902618, -0.007678610272705555, 0.03320688009262085, -0.0035762314219027758, -0.05947645381093025, 0.029927536845207214, -0.023004213348031044, -0.015364712104201317, 0.02252083458006382, -0.004311301279813051, 0.03324561193585396, 0.03270851820707321, 0.00795977283269167, 0.07636193931102753, -0.03927015885710716, -0.003911320120096207, -0.012505346909165382, 0.021409979090094566, -0.03698652982711792, 0.007093789055943489, -0.007512651849538088, -0.0229937806725502, 0.006184577941894531, -0.042955588549375534, -0.046093277633190155, -0.013147136196494102, -0.03099166229367256, 0.0522712841629982, -0.0318249836564064, 0.024876153096556664, 0.018048783764243126, 0.009647089056670666, -0.026761654764413834, -0.05997567996382713, -0.04343283548951149, -0.04629462957382202, -0.03706151247024536, 0.01985074393451214, 0.024081002920866013, 0.0064670126885175705, -0.014301851391792297, 0.015155450440943241, -0.01039790827780962, -0.049209114164114, 0.045493174344301224, -0.03020462766289711, -0.010116863064467907, 0.008045642636716366, 0.039839982986450195, 0.0395469069480896, 0.009367451071739197, 0.0507332980632782, 0.00609374325722456, 0.01588350161910057, 0.006720779929310083, 0.026705903932452202, 0.007311386056244373, -0.011583876796066761, -0.009805183857679367, -0.08573352545499802, -0.004475932102650404, 0.04041646048426628, -0.025021351873874664, -0.06423663347959518, 0.04531804099678993, -0.007408711593598127, -0.005344925448298454, 0.046690933406353, 0.0016732568619772792, 0.012485058978199959, -0.06482508033514023, 0.007379276677966118, -0.018306715413928032, 0.007527389097958803, 0.059698861092329025, -0.020093722268939018, 0.07081520557403564, 0.013121598400175571, -0.023629531264305115, -0.02982727624475956, -0.013649754226207733, 0.009018358774483204, 0.006731164176017046, -0.013609297573566437, -0.01695144921541214, -0.019420532509684563, -0.08159048110246658, -0.028379835188388824, 0.026071256026625633, -0.006639109458774328, -0.016084138303995132, 0.03231639042496681, -0.010064384900033474, -0.04069913178682327, 0.017160583287477493, -0.04590915888547897, 0.040616121143102646, -0.02017883211374283, -0.006262083072215319, 0.017001938074827194, 0.0354345478117466, 0.004198781214654446, 0.001967471558600664, 0.022037405520677567, -0.041336700320243835, 0.017863918095827103, -0.008461201563477516, -0.011081291362643242, 0.05412882938981056, -0.01391825545579195, -0.004254939965903759 ]
[ -0.08851105719804764, 0.0139683922752738, -0.010093298740684986, -0.016158508136868477, 0.04620876535773277, -0.008283521048724651, 0.015485716983675957, -0.0057036918587982655, -0.005495866760611534, -0.026965098455548286, 0.01895018108189106, -0.02242441102862358, 0.02103474922478199, -0.0336645245552063, 0.04587400704622269, 0.0027357148937880993, -0.04166229069232941, -0.04727699235081673, -0.010142089799046516, 0.02545464038848877, -0.060859229415655136, -0.03689488396048546, -0.01748082786798477, 0.0020601493306457996, 0.04654498025774956, 0.04165441915392876, 0.014407935552299023, -0.025809913873672485, -0.00803694874048233, -0.18526235222816467, 0.004096494056284428, 0.013399982824921608, 0.032504189759492874, -0.02454371564090252, -0.014601731672883034, 0.0844733938574791, 0.019606556743383408, 0.016103047877550125, 0.004317543003708124, 0.04186514765024185, 0.025489162653684616, 0.046734847128391266, -0.03830990940332413, -0.04924781993031502, 0.021115772426128387, 0.016678689047694206, -0.0030215932056307793, -0.029480885714292526, -0.02295290119946003, 0.013246838934719563, -0.03638473153114319, -0.05551006272435188, -0.022774985060095787, -0.006479029078036547, -0.022096823900938034, 0.039960846304893494, 0.03725690767168999, 0.04245932772755623, 0.026643188670277596, 0.022764526307582855, 0.018655845895409584, -0.02994709648191929, -0.14337627589702606, 0.07097961008548737, 0.04672947898507118, 0.06079520285129547, -0.04767414927482605, 0.008777519688010216, -0.024023519828915596, 0.07763784378767014, 0.0013648984022438526, -0.042396530508995056, 0.01963396556675434, 0.00924195908010006, 0.04574437066912651, 0.029319193214178085, 0.0014407731359824538, 0.02397923544049263, 0.04088746756315231, -0.04905920848250389, -0.036457259207963943, 0.009973941370844841, -0.04557418078184128, -0.028576361015439034, -0.026338689029216766, -0.004244341980665922, 0.005757012404501438, 0.04785667359828949, 0.00348639115691185, 0.040098417550325394, 0.04726306349039078, 0.00935638789087534, 0.026537036523222923, -0.0025186112616211176, -0.08523394167423248, -0.024298643693327904, -0.019312715157866478, -0.0099719800055027, -0.06344622373580933, 0.4451620578765869, -0.016213638707995415, -0.005907292012125254, 0.08668149262666702, 0.06517721712589264, -0.01918206363916397, 0.007810771465301514, 0.010535412468016148, -0.06869058310985565, 0.02378000319004059, 0.017384028062224388, 0.035104308277368546, 0.0104069784283638, 0.053503841161727905, -0.05234045907855034, 0.01941300928592682, 0.0191023088991642, 0.019947698339819908, 0.022257881239056587, -0.04005218669772148, 0.0019985190592706203, 0.01681029610335827, 0.018354611471295357, 0.0013886827509850264, 0.038664426654577255, -0.008122353814542294, -0.03694942221045494, 0.0012498386204242706, 0.04606395959854126, 0.07405569404363632, -0.07330598682165146, 0.05714763328433037, -0.03243660926818848, -0.039366304874420166, 0.005718393716961145, -0.0033046877942979336, -0.0045678322203457355, 0.013081473298370838, -0.02836447022855282, -0.01621975004673004, 0.04308078810572624, 0.04042881354689598, -0.05724446475505829, 0.030145704746246338, -0.06570269912481308, -0.05035453289747238, 0.12475880980491638, 0.019730761647224426, -0.03811972215771675, -0.01092851534485817, -0.0021431560162454844, -0.01936914585530758, -0.00018176982121076435, 0.01793459989130497, -0.038123659789562225, 0.01434047520160675, -0.0007589860470034182, 0.058069054037332535, 0.01329610962420702, -0.04554104059934616, -0.0038123158738017082, 0.0041332487016916275, -0.006875183898955584, -0.05384064093232155, 0.04710915684700012, 0.10301625728607178, -0.08229020237922668, -0.023844249546527863, -0.007151338271796703, 0.0357392244040966, -0.07955755293369293, -0.03185068070888519, 0.022539954632520676, -0.010445868596434593, 0.012769912369549274, 0.044144582003355026, -0.031742967665195465, -0.02472686395049095, -0.004138152115046978, 0.04211268946528435, 0.018026750534772873, 0.05553073436021805, 0.03576110303401947, -0.010628676041960716, -0.00461099948734045, -0.01252846047282219, -0.05371985211968422, -0.048351552337408066, -0.027890462428331375, -0.027400732040405273, -0.015165932476520538, -0.014282443560659885, -0.022097308188676834, -0.08030971139669418, 0.11458119750022888, -0.028375176712870598, -0.0352080799639225, 0.02838110364973545, -0.05335580185055733, -0.05059736222028732, 0.0027928503695875406, -0.11892176419496536, 0.03807378187775612, -0.039414182305336, 0.038772448897361755, -0.05850762501358986, 0.0670773833990097, 0.048725783824920654, -0.05259031802415848, 0.07686670124530792, 0.02293652854859829, -0.03948678821325302, -0.03844791650772095, -0.011746088042855263, 0.00511268712580204, 0.018654724583029747, 0.036134328693151474, 0.03345441818237305, 0.022410735487937927, -0.030149832367897034, 0.03203943744301796, -0.00442790612578392, 0.05562680587172508, -0.006609117146581411, -0.33349746465682983, -0.03479430451989174, -0.025908997282385826, -0.010934125632047653, 0.005258920136839151, 0.008898334577679634, 0.01789473183453083, -0.017313174903392792, -0.01701832003891468, 0.020147424191236496, 0.0967831090092659, -0.00035765039501711726, -0.009620189666748047, -0.07939641922712326, 0.0027986515779048204, 0.014976821839809418, -0.07748494297266006, 0.017059877514839172, -0.0337178073823452, 0.020644253119826317, 0.024760909378528595, 0.03817008435726166, -0.04157494753599167, -0.034468863159418106, -0.016297342255711555, -0.014187058433890343, 0.07702700048685074, 0.0063209934160113335, 0.04685618355870247, -0.02266220562160015, 0.038557931780815125, 0.022728703916072845, 0.026460589841008186, -0.07892496138811111, 0.006082634441554546, -0.027221275493502617, 0.0007474515587091446, -0.08513138443231583, 0.028679274022579193, -0.03608477860689163, -0.04442612826824188, 0.03857799991965294, -0.08813147246837616, -0.04871923848986626, -0.0725235641002655, 0.00939594954252243, -0.020523587241768837, -0.010713689960539341, -0.03502650186419487, 0.04404373839497566, 0.007434846367686987, -0.00582069531083107, 0.04469973221421242, -0.0010518956696614623, -0.01889204792678356, -0.03341091051697731, -0.10299096256494522, 0.04061434790492058, -0.004707220010459423, -0.027968937531113625, 0.01965494640171528, 0.08121995627880096, 0.014208382926881313, -0.02529255673289299, 0.008459150791168213, 0.007512783631682396, 0.002107137581333518, 0.010463543236255646, 0.038031525909900665, -0.013778844848275185, -0.01762811280786991, 0.07229623198509216, 0.002906618406996131, -0.050814803689718246, 0.018739700317382812, 0.028620315715670586, -0.03415093943476677, 0.0025342004373669624, -0.019996047019958496, -0.000025223349439329468, 0.03472389653325081, -0.06863251328468323, 0.01287382747977972, -0.026917437091469765, -0.006154580041766167, 0.005915050860494375, -0.040358833968639374, -0.04553044214844704, 0.0896516665816307, 0.01088952086865902, 0.010538823902606964, 0.022374648600816727, -0.04697762802243233, -0.03366030007600784, 0.05355052277445793, 0.006911841221153736, -0.245335191488266, 0.02406575344502926, 0.050246745347976685, 0.04348475858569145, -0.014990102499723434, 0.055588819086551666, 0.01418239064514637, -0.018917445093393326, 0.0004014353617094457, 0.016916733235120773, 0.06289845705032349, 0.025460191071033478, -0.007375587243586779, -0.0020395691972225904, 0.03425099328160286, 0.008482404984533787, 0.07174357771873474, -0.02615584246814251, 0.03329493850469589, 0.0059294747188687325, 0.004652856849133968, -0.015955861657857895, 0.13346508145332336, -0.0038189669139683247, 0.058021072298288345, 0.02007269486784935, -0.00468813069164753, 0.0031076360028237104, 0.01705087348818779, -0.007357429247349501, -0.0017533805221319199, 0.0031826698686927557, 0.022499850019812584, 0.008850984275341034, 0.011432502418756485, -0.07545468211174011, 0.005796548444777727, 0.019663142040371895, 0.0036637296434491873, 0.0159196425229311, 0.0013141328236088157, 0.008913672529160976, 0.028118731454014778, 0.03048723004758358, 0.08914632350206375, -0.0029948733281344175, -0.0018767605070024729, -0.059482380747795105, -0.04232804477214813, -0.02542726695537567, -0.07057551294565201, -0.021371304988861084, -0.004684621933847666, 0.00421055918559432, 0.01639373041689396, 0.06316603720188141, 0.04056302458047867, -0.01832399144768715, 0.01771640032529831, -0.00476290425285697, -0.04910755529999733, -0.006567401811480522, 0.07624496519565582, 0.010860921815037727, 0.05607317015528679 ]
[ -0.004828849341720343, 0.03302410989999771, 0.020191920921206474, 0.03164813667535782, 0.005985846742987633, 0.006872810889035463, -0.025284476578235626, -0.0016763731837272644, 0.022602688521146774, -0.00582471676170826, -0.02885598875582218, 0.01628965511918068, 0.04587326943874359, 0.0007569140871055424, 0.0058612036518752575, -0.014194300398230553, -0.013479788787662983, -0.01742657646536827, 0.020791511982679367, -0.03586575388908386, -0.025396086275577545, -0.008604412898421288, -0.025463193655014038, 0.032222993671894073, 0.0022563007660210133, 0.004688885994255543, -0.03610864281654358, 0.03154975548386574, 0.01923222839832306, -0.12336184829473495, -0.03264515846967697, -0.028766797855496407, -0.021932581439614296, 0.03636327385902405, 0.012222867459058762, -0.017949631437659264, 0.027209699153900146, 0.05310794711112976, -0.01939612440764904, 0.033248305320739746, 0.019494233652949333, -0.01978258043527603, 0.019870109856128693, -0.03998680040240288, 0.02186662144958973, 0.03800336644053459, -0.016153937205672264, -0.0163058340549469, -0.02274850755929947, 0.008870341815054417, -0.018722498789429665, -0.04612196981906891, -0.007100350689142942, 0.03085578978061676, 0.04004206508398056, 0.02257482521235943, 0.03136734664440155, -0.04513302817940712, 0.014542689546942711, -0.004769200924783945, 0.020924879238009453, 0.01639062911272049, -0.08622125536203384, -0.00833065714687109, -0.016788922250270844, 0.007411045953631401, 0.020461590960621834, 0.03982749208807945, -0.02367371879518032, 0.011402174830436707, -0.004467999096959829, 0.010043079033493996, -0.0037415153346955776, -0.014224634505808353, 0.016353707760572433, 0.0381309799849987, 0.01704779826104641, 0.021642353385686874, 0.01576811634004116, -0.017513137310743332, -0.041585832834243774, 0.05174250528216362, -0.0018758857622742653, -0.010195586830377579, -0.013995092362165451, -0.007432696875184774, 0.03693725913763046, -0.026556212455034256, 0.03992205113172531, 0.012836549431085587, -0.04145776852965355, 0.04044315218925476, -0.007521228864789009, 0.03532220423221588, -0.08894876390695572, 0.02338077500462532, 0.015037637203931808, -0.010117735713720322, -0.024656469002366066, 0.8106168508529663, -0.03685782477259636, -0.019749373197555542, 0.06305287033319473, -0.028547292575240135, -0.01624608412384987, -0.006596031598746777, 0.015439284034073353, -0.02641107700765133, -0.016674289479851723, -0.010834241285920143, 0.004732087720185518, 0.02869327925145626, 0.010674010962247849, -0.005177246406674385, 0.05793216824531555, -0.015580708160996437, 0.010489447042346, -0.005514328833669424, -0.026506798341870308, 0.016512908041477203, 0.04466668888926506, -0.013670669868588448, 0.02932112105190754, 0.021964266896247864, 0.029514309018850327, -0.1545240432024002, -0.021476654335856438, -7.418898231028672e-33, 0.05558247119188309, -0.0011556027457118034, 0.004298202693462372, 0.01030813716351986, 0.02621138095855713, -0.007161835674196482, 0.018600286915898323, 0.013407004997134209, -0.014407620765268803, -0.010042055509984493, -0.03566993027925491, -0.04014386236667633, 0.033078745007514954, -0.01860606111586094, 0.049905259162187576, -0.05656655505299568, -0.0021325373090803623, 0.006383669096976519, -0.040868233889341354, 0.01644817925989628, 0.020160987973213196, 0.012883870862424374, -0.015416343696415424, -0.019932974129915237, -0.0003286187711637467, 0.004291601944714785, 0.020212998613715172, -0.01704481989145279, 0.02061196230351925, -0.03370063751935959, -0.0027626282535493374, 0.07285387814044952, 0.01674572564661503, 0.003198891179636121, -0.029926160350441933, -0.02604939229786396, -0.03057362511754036, 0.003935214597731829, 0.028308497741818428, -0.0508047416806221, -0.01737027056515217, -0.013259009458124638, -0.08163633197546005, -0.020463593304157257, -0.0030148739460855722, -0.02717609703540802, 0.015521778725087643, -0.02607990801334381, 0.02420194447040558, -0.03688916936516762, 0.03345460444688797, 0.02950889803469181, 0.006430140696465969, 0.007181777153164148, 0.008580210618674755, 0.021370800212025642, 0.004202281590551138, 0.01877940632402897, 0.004735623486340046, -0.009167629294097424, -0.014329028315842152, 0.0190340057015419, -0.022260110825300217, 0.026770135387778282, 0.0011087371967732906, 0.005880535580217838, 0.024889247491955757, -0.0023873550817370415, 0.03734995052218437, -0.07492373138666153, -0.05980363115668297, -0.03555581346154213, 0.006465465296059847, 0.009829610586166382, 0.0005870962049812078, -0.04522361233830452, 0.0066371518187224865, 0.07591408491134644, 0.014026901684701443, 0.026346225291490555, -0.023173004388809204, -0.010606110095977783, -0.0036862792912870646, -0.006203674245625734, -0.021363910287618637, -0.016276951879262924, 0.03704540804028511, 0.022149071097373962, -0.040246568620204926, 0.053397610783576965, 0.011501770466566086, -0.006884557660669088, 0.045719098299741745, 0.037030577659606934, 0.0012104925699532032, 7.681482363167263e-33, 0.009241914376616478, -0.02338067814707756, -0.05051017925143242, -0.006000584457069635, 0.054742880165576935, -0.012876230292022228, 0.0003957962617278099, -0.02234497293829918, -0.059289801865816116, 0.021396175026893616, -0.011422463692724705, 0.007296910043805838, -0.04317089915275574, 0.031663138419389725, 0.036395151168107986, -0.01958213560283184, 0.04978599026799202, -0.03211943060159683, 0.020022211596369743, -0.0016525222454220057, 0.05366015061736107, -0.038727134466171265, -0.03579811751842499, 0.0007552875904366374, 0.04758787527680397, 0.05292196944355965, 0.012718706391751766, 0.03226914256811142, 0.007534695323556662, -0.024877501651644707, 0.010372326709330082, 0.01911436766386032, -0.004197029396891594, -0.025306154042482376, -0.0009911720408126712, 0.009763139300048351, -0.028135191649198532, -0.0007963226526044309, -0.0013330511283129454, -0.013238142244517803, 0.009705116972327232, 0.0007297837291844189, 0.006276756525039673, 0.0113515080884099, 0.019609196111559868, 0.026739994063973427, 0.03526218235492706, -0.048409637063741684, -0.03614237159490585, -0.024821093305945396, 0.030759962275624275, -0.009230894036591053, 0.027403848245739937, -0.0076698968186974525, 0.013808061368763447, -0.021268542855978012, -0.006862711161375046, -0.07412084192037582, -0.014617009088397026, -0.001912908279336989, -0.0066013028845191, 0.017422987148165703, -0.01965232379734516, -0.03331749513745308, -0.038945749402046204, -0.021834243088960648, -0.031446684151887894, -0.03133654594421387, -0.038473132997751236, 0.03871266543865204, -0.012164095416665077, -0.007020706310868263, 0.021735012531280518, 0.03027595393359661, 0.04026911035180092, -0.020588528364896774, -0.030465031042695045, 0.013607224449515343, -0.04434655234217644, 0.012572702020406723, -0.011331180110573769, 0.008275102823972702, -0.04185595363378525, -0.008696034550666809, -0.031078414991497993, 0.04130185768008232, 0.01835302636027336, 0.045139290392398834, -0.0016625233693048358, 0.004151186905801296, 0.012174839153885841, -0.06811840832233429, 0.004089297726750374, -0.005707630421966314, 0.022718088701367378, -1.3142437360613712e-8, 0.02375827729701996, 0.028414731845259666, -0.027050213888287544, 0.0010744355386123061, -0.040095359086990356, 0.005025820340961218, 0.017127571627497673, 0.008702742867171764, 0.018367690965533257, 0.009381876327097416, 0.057081494480371475, -0.020006803795695305, 0.020544182509183884, 0.03457067906856537, -0.00409743981435895, -0.027980908751487732, -0.034456003457307816, -0.02872377075254917, 0.019640736281871796, -0.007656873669475317, 0.0492718368768692, 0.04070260375738144, -0.05267712473869324, 0.02157408371567726, 0.01834031380712986, -0.0019338898127898574, -0.009632019326090813, -0.06465157866477966, -0.03340601548552513, -0.01336589828133583, 0.004272825550287962, -0.012017840519547462, -0.050770729780197144, 0.0314241461455822, -0.01761644519865513, 0.0027774847112596035, 0.06467023491859436, -0.016987310722470284, 0.036131683737039566, 0.017677949741482735, 0.017410095781087875, 0.006917478982359171, 0.008628007024526596, -0.028018485754728317, -0.028235696256160736, 0.02726089023053646, -0.04745056852698326, -0.01664462871849537, 0.0030644796788692474, -0.06439893692731857, 0.01635774038732052, -0.01773763634264469, -0.016031408682465553, 0.01935356669127941, -0.02629813738167286, 0.02817004919052124, 0.00867378618568182, -0.026574868708848953, -0.027337215840816498, -0.018686184659600258, -0.0075212158262729645, 0.010938108898699284, -0.019031040370464325, -0.01578650251030922 ]
thou-shalt-storm
https://markhneedham.com/blog/2012/02/24/thou-shalt-storm
false
2012-02-13 21:16:24
Reading Code: boilerpipe
[ "reading-code" ]
[ "Reading Code" ]
I'm a big fan of the iPad application http://flipboard.com/[Flipboard], especially it's ability to filter out the non important content on web pages and just show me the main content so I've been looking around at open source libraries which provide that facility. I came across http://www.quora.com/How-do-Read-It-Later-Instapaper-Flipboard-etc-extract-articles-from-a-page[a quora page where someone had asked how this was done] and the suggested libraries were http://code.google.com/p/arc90labs-readability/downloads/detail?name=readability.js&can=2&q=[readability], https://github.com/jiminoc/goose[Goose] and http://code.google.com/p/boilerpipe/[boilerpipe]. boilerpipe was written by Christian Kohlschütter and has a corresponding http://www.l3s.de/~kohlschuetter/boilerplate/[paper] and http://videolectures.net/wsdm2010_kohlschutter_bdu/[video] as well. At a very high level this is my understanding of what the code is doing: image::{{<siteurl>}}/uploads/2012/02/boilerpipe_highlevel.gif[Boilerpipe highlevel,467] It is based around a pipes/filters architectural style whereby a +++<cite>+++TextDocument+++</cite>+++ is passed through filters which perform transformations on it. After they've all been applied we can retrieve the main content of the article via a method call. I've used the pipes/filters approach when playing around with clojure/F# but the problems I was working on were much smaller than this. In the code there around about 7 or 8 fields being manipulated so I did sometimes find it difficult to know how fields could end up with certain values which often involved looking at other filters and seeing what they did to the document. I always thought it should be possible to *view each filter completely independently but when there's state manipulation involved that doesn't seem to be the case*. Luckily Christian has comments in his code which explain how you might compose the different filters again and why certain filters don't make sense on their own, only if they're combined with others. For example the +++<cite>+++BlockProximityFusion+++</cite>+++ class, which is used to merge together adjacent text blocks, contains the following comment: ____ Fuses adjacent blocks if their distance (in blocks) does not exceed a certain limit. This probably makes sense only in cases where an upstream filter already has removed some blocks. ____ I suppose the same thing could also have been achieved with some automated tests showing scenarios where different filters are composed. [cols=2*] |=== | Christian makes use of the logical OR (" | ") operator throughout the code base to ensure that all the filters get executed even if a previous one has successfully made changes to the document. |=== For example the main entry point into the code is +++<cite>+++ArticleExtractor+++</cite>+++ which reads like this: [source,java] ---- public final class ArticleExtractor extends ExtractorBase { public static final ArticleExtractor INSTANCE = new ArticleExtractor(); public static ArticleExtractor getInstance() { return INSTANCE; } public boolean process(TextDocument doc) throws BoilerpipeProcessingException { return TerminatingBlocksFinder.INSTANCE.process(doc) | new DocumentTitleMatchClassifier(doc.getTitle()).process(doc) | NumWordsRulesClassifier.INSTANCE.process(doc) // cut for brevity | ExpandTitleToContentFilter.INSTANCE.process(doc); } } ---- I http://www.markhneedham.com/blog/2010/03/28/reading-code-underscore-js/[noticed a similar thing in the underscore.js code] but in that case the '&&' operator was used to execute code on the right hand side only if the expression on the left had been successful. If we're not using any libraries that simulate first class collections in Java (http://code.google.com/p/totallylazy/[totallylazy]/http://code.google.com/p/guava-libraries/[Guava] for example) then something like this could also work: [source,java] ---- public final class ArticleExtractor extends ExtractorBase { ... public boolean process(TextDocument doc) throws BoilerpipeProcessingException { List<BoilerpipeFilter> filters = asList(TerminatingBlocksFinder.INSTANCE, new DocumentTitleMatchClassifier(doc.getTitle()), ExpandTitleToContentFilter.INSTANCE); boolean result = true; for (BoilerpipeFilter filter : filters) { result = result | filter.process(doc); } return result; } } ---- I originally started just browsing the code and thought I roughly understood it before realising I couldn't explain what it actually did. I therefore changed my approach and started https://github.com/mneedham/boilerpipe[writing some unit tests around it] to see what the current behaviour was. From what I can tell the main algorithm in the code is contained inside +++<cite>+++NumWordsRulesClassifier+++</cite>+++ where each text block in the document is classified as being either content or non content. I wrote tests covering all the scenarios in this class and then refactored the code to see if I could make it a bit more expressive. I ended up with https://github.com/mneedham/boilerpipe/blob/master/src/main/de/l3s/boilerpipe/filters/english/NumWordsRulesClassifier.java[this]: [source,java] ---- private boolean currentBlockHasContent(final TextBlock prev, final TextBlock curr, final TextBlock next) { if (fewLinksInCurrentBlock(curr)) { if (fewLinksInPreviousBlock(prev)) { return curr.getNumWords() > 16 || next.getNumWords() > 15 || prev.getNumWords() > 4; } else { return curr.getNumWords() > 40 || next.getNumWords() > 17; } } return false; } private boolean fewLinksInCurrentBlock(TextBlock curr) { return curr.getLinkDensity() <= 0.333333; } private boolean fewLinksInPreviousBlock(TextBlock prev) { return prev.getLinkDensity() <= 0.555556; } ---- The logic is all based around examining the text blocks immediately before and after the current one to work out whether or not it's likely to be boiler plate content. The logic around the next/previous text blocks is written quite imperatively and feels like it could be made more concise by using something like http://www.markhneedham.com/blog/2010/01/14/f-refactoring-to-sequencefor-expressions/[F#'s 'Seq.windowed' over the collection] but I can't quite see how at the moment! You can read more about the algorithm on pages 4-7 of http://www.l3s.de/~kohlschuetter/publications/wsdm187-kohlschuetter.pdf[the paper]. From running the code against a few articles I've got saved to http://readitlaterlist.com/l[ReadItLater] it does seem to work reasonably well. == Overall\... I haven't read every single bit of the code base but from what I have read I think boilerpipe is a pretty cool library and the approach to filtering content is neat. I found it especially useful to be able to read parts of the paper and then go and look at the corresponding code. Often that type of thing remains up to the imagination of the reader from my experience!
null
null
[ 0.004259401932358742, 0.019259553402662277, 0.0010157674551010132, 0.032950419932603836, 0.0949547067284584, -0.021250106394290924, 0.011478896252810955, 0.035570044070482254, 0.010817076079547405, -0.031220996752381325, -0.020855050534009933, -0.03462783247232437, -0.06474252790212631, 0.009252461604773998, 0.028942568227648735, 0.06757958233356476, 0.07686378061771393, -0.01065702736377716, 0.04482749104499817, 0.009002762846648693, 0.04040680080652237, 0.04908517003059387, -0.005629164632409811, 0.01925104856491089, 0.027185354381799698, 0.008053401485085487, 0.015415452420711517, 0.032415684312582016, -0.05186966061592102, 0.02484988607466221, 0.04076231271028519, 0.012195322662591934, 0.0019892272539436817, -0.03443855792284012, 0.009083211421966553, -0.013221497647464275, -0.02999710664153099, 0.026857510209083557, 0.006269464734941721, 0.011857636272907257, -0.047789476811885834, 0.03167359530925751, 0.00024209669209085405, -0.005725680850446224, -0.045023854821920395, 0.013408105820417404, -0.021032264456152916, 0.04306117817759514, -0.008062144741415977, 0.0071845692582428455, -0.06748923659324646, 0.0444403700530529, -0.00758156506344676, -0.011194643564522266, -0.001792709343135357, 0.055672064423561096, 0.015921762213110924, -0.04039960727095604, 0.0402291864156723, -0.040487103164196014, 0.0005354796885512769, -0.008337970823049545, 0.009216745384037495, 0.04138511046767235, 0.01580060087144375, -0.04889737814664841, -0.06642360985279083, 0.04636434465646744, -0.02805962599813938, 0.0073727951385080814, 0.015799475833773613, 0.028633296489715576, -0.034473877400159836, -0.018391570076346397, 0.046273380517959595, -0.020787430927157402, 0.009608322754502296, 0.07547375559806824, 0.0048728459514677525, 0.04593617096543312, 0.006348904222249985, -0.0010449629044160247, 0.021160393953323364, 0.04054463282227516, 0.0009344032732769847, -0.03366807848215103, -0.032888226211071014, 0.001259869197383523, -0.07691121846437454, 0.04108062759041786, 0.011922168545424938, -0.05312914028763771, 0.012702997773885727, 0.02025274746119976, 0.017147181555628777, 0.00001890271778393071, 0.02158316969871521, 0.021077649667859077, 0.022886434569954872, -0.022474857047200203, -0.029001319780945778, -0.0067273774184286594, 0.04801404848694801, 0.02502523921430111, -0.06478923559188843, -0.014394664205610752, -0.004601346328854561, -0.04297235235571861, 0.02565770596265793, 0.012544680386781693, 0.014111923985183239, 0.0204455703496933, -0.03735749423503876, -0.00046344916336238384, -0.08397258818149567, 0.06314411014318466, 0.002928300527855754, -0.0029611438512802124, 0.0036840755492448807, 0.04725804179906845, 0.009479002095758915, 0.023820292204618454, -0.000832697784062475, 0.07529047876596451, -0.013591757975518703, 0.005935680586844683, -0.003097697626799345, 0.055828340351581573, -0.009457393549382687, -0.057968784123659134, -0.02452634647488594, 0.05258558318018913, -0.0025018504820764065, 0.007539980113506317, -0.022495048120617867, -0.004023154266178608, -0.0031104020308703184, -0.020399045199155807, 0.04804668575525284, 0.039566297084093094, -0.022060688585042953, -0.05824445188045502, -0.011136384680867195, -0.05477913096547127, 0.026265734806656837, 0.009015671908855438, -0.010816612280905247, -0.013248906470835209, -0.03377760574221611, -0.012111610732972622, 0.03473695367574692, 0.008768470026552677, 0.051568157970905304, -0.03211277350783348, 0.007738030049949884, 0.05758711323142052, 0.029869191348552704, 0.011834973469376564, 0.00844491831958294, -0.021336302161216736, 0.009973570704460144, 0.027879172936081886, 0.016135279089212418, 0.012190788984298706, 0.01384909451007843, -0.01710612140595913, 0.00952941831201315, 0.04532388970255852, -0.008495503105223179, -0.0028809490613639355, -0.05701606348156929, -0.04041821509599686, 0.07166057825088501, -0.03147413209080696, -0.004575266502797604, 0.019087957218289375, 0.060787737369537354, 0.021557025611400604, 0.03918607532978058, 0.021725064143538475, -0.06870140880346298, 0.03458461910486221, 0.017051804810762405, 0.010192695073783398, 0.005966794211417437, -0.028620297089219093, 0.0970693826675415, 0.009972441010177135, 0.007550700567662716, 0.029051953926682472, -0.056865252554416656, -0.0523991733789444, -0.05109548196196556, 0.018780717626214027, 0.07678917050361633, -0.010721947066485882, 0.010374022647738457, 0.0673317015171051, 0.0667276456952095, 0.058801814913749695, 0.04876113682985306, -0.0019698210526257753, 0.025135621428489685, -0.052528027445077896, -0.0741676613688469, -0.007784427143633366, 0.0326521098613739, -0.05328170582652092, -0.009198197163641453, -0.011808309704065323, -0.044336363673210144, -0.0027238347101956606, 0.04949912428855896, -0.015190484002232552, 0.01213917601853609, 0.018781054764986038, 0.026513976976275444, -0.02430816739797592, 0.03867969289422035, -0.04915058612823486, 0.012147395871579647, -0.013622362166643143, 0.011143769137561321, -0.011301771737635136, -0.011343737132847309, 0.13534419238567352, 0.0352030023932457, -0.017108110710978508, -0.07160550355911255, 0.025814678519964218, 0.011626272462308407, -0.0473422035574913, -0.014905274845659733, -0.04666987061500549, 0.02263093926012516, -0.003717561950907111, -0.026484401896595955, 0.013362775556743145, 0.06679173558950424, -0.019437095150351524, -0.012602804228663445, 0.06810419261455536, 0.003548357170075178, 0.0165681354701519, 0.029008276760578156, -0.04533029720187187, -0.004252787679433823, -0.026999348774552345, -0.053678326308727264, 0.0027662022039294243, 0.028819432482123375, 0.011458022519946098, 0.021043770015239716, -0.07882434129714966, -0.028688054531812668, -0.0109187550842762, -0.03879920393228531, 0.04172929376363754, 0.03816203400492668, 0.048081543296575546, -0.013240592554211617, 0.04522169008851051, 0.0005847361171618104, 0.011849211528897285, -0.00011678968439809978, -0.04300227388739586, -0.03125160187482834, -0.0490480475127697, -0.01771082729101181, 0.03623634949326515, 0.025175953283905983, 0.03447078913450241, 0.029093772172927856, 0.014449270442128181, -0.007863825187087059, 0.00938638485968113, 0.03384426236152649, 0.02857903204858303, -0.0008881325484253466, -0.03447302430868149, -0.020088568329811096, 0.08111948519945145, -0.02218826860189438, -0.03641122952103615, -0.013995708897709846, -0.07339823991060257, 0.04954742640256882, -0.013073746114969254, -0.03235430270433426, -0.0025432584807276726, 0.040427763015031815, 0.02961362898349762, 0.022191036492586136, 0.017980599775910378, 0.05731514096260071, 0.006041649729013443, 0.0001475017488701269, 0.005765056703239679, -0.003213078947737813, 0.03709337115287781, -0.019208163022994995, 0.003813712392002344, 0.05915338918566704, -0.004344632383435965, 0.011774328537285328, -0.03550148755311966, 0.018303707242012024, -0.0586254820227623, -0.29192349314689636, 0.024221034720540047, 0.004537821281701326, -0.040283650159835815, 0.011808005161583424, -0.016968872398138046, -0.022385844960808754, -0.04531049355864525, -0.004706753417849541, 0.04354099929332733, 0.0052034598775208, -0.016314098611474037, -0.03285171836614609, 0.03689649701118469, -0.007924779318273067, 0.010771113447844982, 0.00819623563438654, -0.043419234454631805, -0.003259672550484538, 0.0005625284975394607, -0.014788596890866756, -0.06744389235973358, 0.0028763741720467806, 0.04510875418782234, 0.02008780837059021, 0.00476236455142498, -0.07081712782382965, 0.01704534888267517, -0.030934713780879974, -0.012894591316580772, 0.02207004837691784, -0.037145111709833145, -0.00890157837420702, 0.0074638319201767445, -0.008336636237800121, -0.040239185094833374, 0.024340273812413216, 0.03391292691230774, 0.019276930019259453, 0.0353165827691555, -0.018041132017970085, -0.017875589430332184, -0.033267680555582047, -0.005038943141698837, 0.08332061767578125, -0.015055553056299686, -0.07157900929450989, -0.037440646439790726, -0.026021281257271767, 0.07813777029514313, -0.02770017832517624, -0.05372093617916107, 0.012133283540606499, 0.05911409482359886, -0.01793290488421917, -0.021103590726852417, 0.011855525895953178, -0.037042293697595596, -0.06718059629201889, -0.043742891401052475, -0.013761610724031925, -0.01763029582798481, -0.04538453742861748, -0.05339866131544113, 0.000328507594531402, -0.08205652236938477, -0.04698224738240242, -0.00027114959084428847, 0.06111758202314377, 0.012563248164951801, -0.034558702260255814, 0.022898882627487183, 0.008912567980587482, -0.11788427084684372, 0.002635648474097252, -0.0490448921918869, -0.005844421684741974, 0.01156401727348566, -0.004419081844389439, 0.033951058983802795, -0.044812873005867004, -0.029153835028409958, 0.02195783704519272, 0.02694283425807953, 0.03942888230085373, -0.042249321937561035, -0.008409205824136734, 0.02555071748793125, -0.006656311452388763, -0.014641332440078259, 0.08744510263204575, -0.025810955092310905, -0.018182849511504173, -0.01169312372803688, -0.0030843112617731094, 0.049232274293899536, 0.0059615736827254295, 0.01214025542140007, 0.01281033642590046, 0.05088376998901367, 0.02809387631714344, -0.030000897124409676, -0.0066825514659285545, -0.011335950344800949, -0.012531502172350883, 0.009260174818336964, -0.05636202543973923, 0.009469320066273212, 0.041129980236291885, -0.001226440304890275, -0.06556177884340286, -0.0318380631506443, 0.016533393412828445, -0.03452463075518608, -0.06096591427922249, -0.008894645608961582, -0.014006458222866058, 0.010510086081922054, 0.021038925275206566, -0.03647087514400482, -0.00977730005979538, 0.030417151749134064, -0.015517361462116241, -0.013616004027426243, -0.06729892641305923, -0.021520905196666718, -0.008623323403298855, 0.0013902731006965041, 0.009346378967165947, 0.01652546226978302, 0.0033004451543092728, 0.0023751596454530954, -0.017569376155734062, 0.00039150056545622647, 0.009534620679914951, -0.03542354330420494, -0.016882650554180145, -0.04519485682249069, 0.00675745727494359, 0.007959659211337566, -0.005965689662843943, 0.007934040389955044, 0.03487302362918854, 0.031048057600855827, 0.06477511674165726, -0.008917883969843388, 0.0401177778840065, 0.013934960588812828, -0.011435119435191154, -0.0008593297679908574, 0.0013725168537348509, -0.06778600066900253, 0.005732356104999781, -0.03693411871790886, -0.02599196881055832, 0.0009116679430007935, 0.035368479788303375, 0.009479900822043419, -0.007539455313235521, -0.05439338833093643, 0.046762049198150635, -0.022773565724492073, -0.029271632432937622, -0.02122657001018524, 0.0009125808719545603, 0.04766913130879402, -0.005792972166091204, 0.04933271184563637, 0.0019071920542046428, -0.03439033031463623, -0.01184672862291336, 0.018575696274638176, -0.007857950404286385, 0.01972556859254837, 0.005579317919909954, 0.019410425797104836, 0.02470516599714756, 0.01943937875330448, 0.028374413028359413, 0.03085879608988762, -0.005360692739486694, -0.05496948957443237, 0.048887718468904495, 0.03317342326045036, 0.01144073624163866, 0.028905188664793968, -0.022786131128668785, 0.01844535395503044, -0.03005935437977314, -0.02993590757250786, -0.017563963308930397, 0.009065534919500351, -0.03920024633407593, 0.005873214919120073, -0.0378112718462944, -0.10538309067487717, 0.004145415965467691, 0.007293489761650562, -0.0037664598785340786, -0.013835955411195755, -0.015331389382481575, 0.027315033599734306, -0.03195733204483986, 0.006692447699606419, 0.016330627724528313, -0.06658792495727539, 0.005583729594945908, 0.023324735462665558, -0.005878840573132038, 0.042402930557727814, 0.00853183027356863, -0.07020921260118484, -0.015861714258790016, -0.03367050364613533, -0.00813223049044609, -0.054019294679164886, -0.011510373093187809, -0.027202287688851357, 0.008581322617828846, 0.005693341605365276, 0.014354106038808823, -0.02066826820373535, -0.02471883036196232, -0.009222231805324554, -0.005303082522004843, 0.01795966364443302, -0.029090620577335358, -0.03036004863679409, 0.038643717765808105, -0.049569182097911835, 0.01319118682295084, -0.010311158373951912, 0.019182579591870308, 0.020052604377269745, -0.033619675785303116, -0.008939460851252079, -0.06408538669347763, 0.006712069734930992, -0.022527677938342094, 0.06308405101299286, 0.005700163543224335, -0.022342192009091377, -0.029395848512649536, 0.006178705021739006, -0.01702752709388733, 0.003924226388335228, 0.006067197769880295, 0.0005914033390581608, 0.017090043053030968, 0.04458589106798172, 0.026509316638112068, 0.028752025216817856, -0.023447204381227493, -0.012622205540537834, 0.07755009084939957, -0.049858029931783676, 0.000954486895352602, -0.02225043810904026, -0.03026813082396984, 0.02048196643590927, 0.009028601460158825, 0.03644665330648422, -0.04547323286533356, 0.029024776071310043, 0.0396796315908432, 0.013082167133688927, -0.012615272775292397, -0.021282358095049858, 0.036211952567100525, -0.017036322504281998, -0.00980631448328495, -0.0818905383348465, -0.013331536203622818, 0.015734829008579254, 0.0035977165680378675, 0.01765737496316433, -0.0033027739264070988, -0.011072208173573017, 0.0779387429356575, -0.046995390206575394, -0.026745915412902832, 0.04655830189585686, 0.00827357079833746, -0.01824299618601799, 0.005049270577728748, -0.036332402378320694, 0.009851137176156044, 0.04061203822493553, -0.041059710085392, -0.04399620369076729, -0.018314843997359276, 0.0513119101524353, -0.023891085758805275, 0.002678412012755871, 0.006018813233822584, -0.022275583818554878, 0.060166943818330765, 0.021016394719481468, 0.014547440223395824, 0.04318970441818237, -0.004058098886162043, 0.0038634773809462786, 0.03967416286468506, 0.02591537870466709, -0.006982939317822456, 0.025893663987517357, 0.0014943204587325454, -0.052361730486154556, 0.05735107511281967, -0.03643600642681122, -0.04305076599121094, -0.05445168539881706, 0.07501447945833206, 0.013509397394955158, -0.004813532344996929, -0.03741731494665146, 0.028307735919952393, -0.014223963022232056, -0.00939730554819107, -0.023715117946267128, 0.003254836890846491, -0.06060342490673065, 0.05825948715209961, -0.007311389781534672, 0.017888514325022697, 0.04932618513703346, 0.008970039896667004, -0.0138120511546731, -0.008613735437393188, 0.09782803058624268, 0.08106827735900879, 0.04628917574882507, -0.023705050349235535, 0.05919598042964935, -0.014509077183902264, -0.040360067039728165, -0.0032860939390957355, 0.01037580706179142, -0.005159023217856884, -0.046003226190805435, 5.560050908570702e-7, 0.0722944587469101, -0.014113717712461948, 0.06732485443353653, -0.007006376050412655, -0.0035827031824737787, 0.000186078148544766, 0.017699383199214935, 0.01680786907672882, 0.03328438475728035, -0.010875649750232697, 0.03288044035434723, -0.04284447431564331, -0.03330792859196663, 0.025057800114154816, -0.026356464251875877, -0.01629527285695076, 0.04497135430574417, 0.027606096118688583, 0.03741703927516937, -0.015293990261852741, 0.03772730380296707, 0.06096579134464264, -0.048295024782419205, -0.025968095287680626, 0.011893101967871189, 0.006230876315385103, 0.01716339774429798, 0.021221181377768517, -0.029312407597899437, -0.02618410810828209, -0.02435237355530262, -0.044491980224847794, -0.007502126973122358, 0.006070317700505257, -0.0057415710762143135, 0.027452489361166954, -0.054596222937107086, 0.029749173671007156, 0.01159081980586052, 0.02610219083726406, -0.05554958060383797, -0.06331092864274979, -0.07422743737697601, -0.045522771775722504, -0.047591570764780045, -0.0417354442179203, -0.010586210526525974, -0.002599592786282301, -0.028583228588104248, -0.07740911841392517, -0.010125642642378807, -0.01731562241911888, 0.05088483914732933, -0.041765034198760986, -0.05634762719273567, 0.0029197288677096367, 0.012321933172643185, -0.007632632274180651, 0.02051406539976597, 0.06957969814538956, -0.01854780688881874, 0.0040978360921144485, -0.03548664227128029, -0.016120199114084244, 0.06555506587028503, 0.03238610923290253, 0.019423993304371834, -0.1020202711224556, -0.009462962858378887, 0.015579979866743088, 0.02343774028122425, -0.06462094932794571, 0.0036886606831103563, -0.005881372839212418, -0.03158478066325188, 0.06754985451698303, -0.015928827226161957, -0.0026722203474491835, -0.008803648874163628, -0.031236592680215836, 0.006057871505618095, 0.006102606654167175, 0.0376894474029541, -0.031937748193740845, 0.09819593280553818, 0.006772604770958424, -0.0138213150203228, -0.029395816847682, -0.003218033816665411, -0.01483594998717308, 0.028981998562812805, -0.07231175154447556, -0.01926649920642376, -0.02331240102648735, -0.04091377928853035, -0.02168361097574234, 0.034874338656663895, -0.03397343307733536, -0.036602724343538284, 0.02226611226797104, 0.024782635271549225, -0.004372091498225927, -0.009812738746404648, -0.055181071162223816, 0.0059469277039170265, -0.020909558981657028, -0.0014222823083400726, 0.008755907416343689, 0.03627680242061615, 0.0033392563927918673, 0.016222646459937096, 0.00908427033573389, -0.039489660412073135, 0.004964021034538746, -0.028149140998721123, 0.0028607449494302273, 0.042647190392017365, -0.011115048080682755, -0.009030668996274471 ]
[ -0.07458889484405518, -0.02142629213631153, -0.02972841076552868, -0.04519210755825043, 0.043903905898332596, -0.0398767851293087, -0.0016094343736767769, 0.02889026142656803, -0.03127994015812874, 0.008078262209892273, -0.03826829046010971, -0.03161917254328728, 0.005866483319550753, 0.005616034381091595, 0.07519391924142838, 0.00444871885702014, -0.004518949892371893, -0.06962066143751144, -0.019646845757961273, 0.029016172513365746, 0.054133471101522446, -0.01913348026573658, -0.0228899959474802, -0.022157324478030205, -0.005295718088746071, 0.0030280728824436665, 0.03884436935186386, -0.026865316554903984, 0.02567998319864273, -0.19907109439373016, -0.010976947844028473, 0.001496543874964118, 0.039498332887887955, -0.0075995344668626785, 0.011642108671367168, 0.03774949535727501, 0.015351014211773872, 0.01963474601507187, 0.037680868059396744, 0.015995532274246216, -0.0037609217688441277, 0.006851882673799992, -0.04936348274350166, -0.009897127747535706, 0.05662062391638756, 0.002892012009397149, -0.005054677836596966, -0.03791636601090431, -0.0026594491209834814, -0.002617363352328539, -0.041461508721113205, -0.009742680937051773, 0.009314569644629955, -0.012757747434079647, -0.00007213096978375688, 0.03087296523153782, 0.012927315197885036, 0.08599598705768585, 0.015587911941111088, 0.040181439369916916, 0.012688879854977131, 0.01417184341698885, -0.14976173639297485, 0.15289175510406494, 0.013869482092559338, 0.0615260973572731, -0.017471855506300926, -0.0310760997235775, -0.0016318617854267359, 0.03578906133770943, 0.026568029075860977, -0.007168432231992483, -0.008654942736029625, 0.028889983892440796, 0.013584419153630733, -0.021616825833916664, -0.012109135277569294, 0.036286741495132446, -0.01179740484803915, -0.048923879861831665, -0.002678933087736368, 0.0026803244836628437, -0.014973148703575134, -0.011485193856060505, -0.04230266436934471, 0.033050257712602615, -0.024941641837358475, 0.019951460883021355, 0.030872978270053864, 0.00281725637614727, 0.029590798541903496, -0.01084640622138977, 0.05590368062257767, 0.019270600751042366, -0.09995702654123306, -0.018252070993185043, -0.010328607633709908, 0.025936130434274673, -0.014179494231939316, 0.4106024205684662, 0.002298226347193122, -0.019144799560308456, 0.0751783698797226, 0.017996814101934433, -0.0030366620048880577, -0.0044609555043280125, 0.002479237737134099, -0.07036550343036652, 0.008756578899919987, -0.008870776742696762, 0.02053997479379177, -0.005368187557905912, 0.06565564125776291, -0.042074017226696014, 0.027958834543824196, 0.00481497123837471, 0.05718880891799927, 0.018218638375401497, 0.02042437344789505, -0.00751328282058239, -0.04837106168270111, 0.0010005808435380459, 0.02253340184688568, 0.0031284233555197716, 0.006476289127022028, -0.013400688767433167, 0.05539494380354881, 0.0479431077837944, 0.024402454495429993, 0.02049826644361019, 0.0320235900580883, -0.03836231306195259, -0.07253312319517136, -0.021534359082579613, -0.0006751734181307256, 0.004220318514853716, 0.031059719622135162, -0.04013391584157944, 0.012308304198086262, 0.026369718834757805, -0.01650378853082657, 0.011891493573784828, 0.04729931801557541, 0.014678040519356728, -0.03282338008284569, 0.104855477809906, 0.029788007959723473, -0.04934556409716606, -0.047357767820358276, -0.0481545589864254, -0.004693614784628153, 0.060113854706287384, -0.01486611645668745, -0.03620890900492668, 0.023337505757808685, 0.022375546395778656, 0.06012720614671707, -0.0001986879069590941, -0.05506971478462219, -0.012684042565524578, -0.006883677560836077, -0.013528089039027691, -0.06266214698553085, 0.03595806285738945, 0.06363517791032791, -0.10213426500558853, -0.010866190306842327, 0.030474483966827393, -0.011480802670121193, -0.05341951549053192, -0.0029891030862927437, 0.004939804784953594, -0.02269361913204193, 0.01102922111749649, 0.022558990865945816, -0.019267084077000618, -0.03476351127028465, 0.030137134715914726, 0.05310898274183273, -0.012354059144854546, -0.022312546148896217, -0.010287199169397354, -0.044070448726415634, 0.015150751918554306, -0.028996463865041733, -0.06840113550424576, -0.03972726687788963, -0.01846705935895443, 0.005116418469697237, 0.02780631184577942, -0.03820750117301941, -0.019072281196713448, -0.11962947994470596, 0.10877213627099991, -0.039626095443964005, -0.016880225390195847, 0.025335779413580894, -0.010683078318834305, -0.04158998653292656, -0.01759509928524494, -0.021339643746614456, 0.037743885070085526, -0.01998167671263218, 0.03267323598265648, -0.038470327854156494, 0.030939728021621704, 0.015278942883014679, -0.02518605813384056, 0.08375906944274902, 0.027998793870210648, -0.02876141481101513, 0.005616607144474983, -0.03330934792757034, -0.010845709592103958, 0.0011288056848570704, -0.062159616500139236, -0.004346139263361692, -0.007235607597976923, 0.011019145138561726, 0.020104076713323593, -0.0233320239931345, -0.05509507656097412, -0.02193375676870346, -0.3639012277126312, -0.04354192316532135, -0.03740853816270828, 0.011435612104833126, 0.05549686774611473, -0.08045761287212372, -0.0021275870967656374, -0.03153402358293533, -0.00076062954030931, 0.04002954810857773, 0.07484737038612366, 0.005258864723145962, -0.003566255560144782, -0.0595763623714447, 0.013224726542830467, 0.027069630101323128, -0.008820788003504276, -0.0379544198513031, -0.05306786671280861, 0.037578221410512924, 0.009840290062129498, -0.011230128817260265, -0.038818564265966415, -0.06385742127895355, -0.008717227727174759, -0.04035557061433792, 0.09725513309240341, 0.011668986640870571, 0.07691547274589539, -0.009175616316497326, 0.0467408187687397, -0.001665809191763401, 0.004854459781199694, -0.08396163582801819, -0.013921649195253849, 0.00047591235488653183, -0.007442824076861143, 0.013946098275482655, -0.0007361912867054343, -0.02819942496716976, -0.048399053514003754, 0.02827557362616062, -0.052793461829423904, -0.06739722192287445, -0.03999343886971474, 0.013348431326448917, -0.03672710433602333, -0.02396373264491558, -0.017490791156888008, 0.05192125588655472, 0.010725331492722034, -0.01769929938018322, 0.01221043337136507, 0.030893400311470032, 0.008405300788581371, -0.007917617447674274, -0.06484634429216385, 0.002550658769905567, -0.01889360137283802, -0.024232374504208565, 0.027336828410625458, 0.0911870077252388, 0.04347902908921242, -0.08434547483921051, -0.006868506781756878, 0.03610859811306, -0.013314511626958847, 0.024705197662115097, 0.033674806356430054, -0.039067137986421585, -0.016540255397558212, 0.08930753916501999, -0.01074528694152832, 0.05051477625966072, 0.02545616589486599, 0.04848755896091461, 0.009177380241453648, 0.03253916651010513, 0.022109048441052437, 0.0302140973508358, 0.014718413352966309, 0.00705290911719203, 0.05006340891122818, -0.0349806509912014, -0.009247099049389362, 0.058285005390644073, -0.019657636061310768, -0.06409823894500732, 0.05128522962331772, 0.005269689951092005, -0.03473157808184624, 0.016267383471131325, -0.02096790447831154, -0.06433461606502533, 0.07836832106113434, -0.02333664894104004, -0.27082496881484985, 0.006150294095277786, 0.06892022490501404, 0.08178427815437317, 0.0025764440651983023, 0.003475226229056716, 0.023930927738547325, -0.04247768595814705, 0.03324328362941742, 0.021232668310403824, -0.022139500826597214, 0.0450410321354866, -0.017636990174651146, -0.060280267149209976, 0.03171317279338837, -0.012746492400765419, 0.0635078102350235, -0.013825914822518826, 0.02111293561756611, -0.015368111431598663, 0.033383503556251526, -0.04229944571852684, 0.1739257425069809, 0.024635251611471176, -0.01878509111702442, -0.01375221461057663, -0.0058054146356880665, -0.005514152813702822, 0.04139917716383934, 0.002751106396317482, 0.03228682279586792, -0.021624693647027016, 0.04418713599443436, 0.029070401564240456, 0.06012018024921417, -0.04598100855946541, -0.03110525943338871, 0.056641798466444016, 0.012422997504472733, -0.03712579235434532, 0.008782305754721165, 0.028383294120430946, -0.06561475992202759, 0.006299116183072329, 0.03879261016845703, -0.007080078590661287, -0.04371168091893196, -0.002678829710930586, 0.005119898356497288, -0.004013278055936098, 0.007742028683423996, -0.042520783841609955, -0.004039990250021219, -0.009318515658378601, 0.011480841785669327, 0.050638630986213684, 0.015786750242114067, -0.02273457497358322, 0.002821963047608733, 0.022974232211709023, 0.004535069223493338, -0.02055344358086586, 0.09237825870513916, 0.02383122593164444, 0.07623904943466187 ]
[ -0.013640052638947964, -0.0016773740062490106, -0.008312638849020004, -0.00696638273075223, 0.015112815424799919, 0.014027674682438374, 0.01171366311609745, 0.0358409583568573, 0.0028880967292934656, -0.04751884192228317, -0.029910292476415634, 0.017040522769093513, 0.012956148944795132, -0.025732355192303658, 0.008256903849542141, 0.010912681929767132, -0.017123520374298096, -0.009261946193873882, 0.00995172094553709, -0.02843470685184002, -0.017355216667056084, 0.011735429987311363, 0.009944531135261059, -0.011693992651998997, -0.011092515662312508, 0.05818895623087883, -0.04957162216305733, -0.03250008076429367, 0.028072265908122063, -0.12309114634990692, -0.0003221628430765122, -0.03447406366467476, -0.01078577060252428, 0.017080023884773254, -0.027460791170597076, -0.01064363494515419, -0.010535890236496925, 0.006014177575707436, -0.0002785181568469852, -0.007379757706075907, -0.004657138139009476, -0.006153773050755262, -0.004786165896803141, 0.03342961519956589, 0.0138479545712471, 0.014137755148112774, -0.057489991188049316, -0.045382361859083176, -0.0028800407890230417, 0.017240043729543686, -0.05133341625332832, -0.030376072973012924, -0.022380925714969635, 0.024794071912765503, 0.00411433819681406, -0.0165683813393116, -0.014492377638816833, -0.006046622525900602, 0.058725371956825256, -0.011505715548992157, -0.009985608980059624, 0.008085621520876884, -0.012724265456199646, 0.0008148120250552893, 0.019084405153989792, 0.0034749305341392756, -0.027058353647589684, -0.018033113330602646, 0.003069408470764756, 0.00915668997913599, -0.011876177042722702, 0.022341396659612656, -0.019310230389237404, -0.03252774477005005, 0.00003943622868973762, -0.02650882862508297, -0.005313785281032324, 0.006411598529666662, -0.01889846846461296, -0.0032187111210078, -0.018557755276560783, -0.0032764836214482784, 0.021425796672701836, 0.0322466641664505, -0.004565756767988205, -0.009324586018919945, -0.023013165220618248, -0.00365671725012362, 0.03447602316737175, -0.0006221855874173343, -0.034818246960639954, 0.003629902843385935, 0.03318071365356445, 0.02069956064224243, -0.07993516325950623, -0.01724015548825264, -0.000621832616161555, -0.007924022153019905, -0.013597576878964901, 0.8686180710792542, -0.0007752641104161739, 0.029704662039875984, 0.031303536146879196, 0.017684483900666237, -0.011809425428509712, -0.033250778913497925, 0.019326401874423027, 0.020158404484391212, -0.0009845877066254616, -0.04781210795044899, 0.03365467116236687, 0.023532509803771973, 0.04878493770956993, -0.002897451864555478, 0.030927298590540886, -0.00283225835300982, 0.055880967527627945, -0.03642919659614563, 0.0037181286606937647, 0.025986503809690475, 0.015435729175806046, 0.013469161465764046, 0.008389418944716454, 0.015268105082213879, -0.023414824157953262, -0.15952777862548828, -0.010312838479876518, -6.616887088137427e-33, 0.049476198852062225, 0.0042519159615039825, -0.0013704017037525773, -0.01308654248714447, 0.004466950427740812, -0.018485108390450478, 0.021149490028619766, -0.002190950559452176, -0.018823323771357536, 0.009547987021505833, 0.021254822611808777, 0.018639342859387398, -0.005157534033060074, -0.008795997127890587, 0.01607484184205532, -0.01095866970717907, 0.001457898411899805, 0.033896178007125854, 0.013498983345925808, -0.011472503654658794, 0.02650299295783043, 0.018218770623207092, 0.02971288561820984, -0.0005880931275896728, -0.0070359958335757256, 0.026450583711266518, 0.006545122247189283, 0.0010246708989143372, -0.02187582664191723, -0.05385158956050873, 0.0034318624529987574, 0.004971599206328392, -0.00650202389806509, -0.030711369588971138, 0.014299551956355572, -0.044420573860406876, -0.009002423845231533, 0.008721776306629181, -0.021759137511253357, -0.007863153703510761, -0.03876161947846413, -0.0035790803376585245, -0.02706199511885643, 0.0019640156533569098, -0.006944591179490089, -0.03294576331973076, -0.029546035453677177, 0.031015779823064804, -0.005698982626199722, -0.0013529800344258547, 0.009976725094020367, 0.011588264256715775, 0.002843901515007019, -0.014013238251209259, -0.008415799587965012, 0.010569935664534569, -0.008279262110590935, 0.000023615421014255844, 0.0059039415791630745, 0.02215558849275112, 0.01618274115025997, -0.004654422402381897, -0.008867193944752216, 0.02623777836561203, -0.019301515072584152, 0.0034627330023795366, 0.01160577405244112, 0.008393840864300728, 0.03017951361835003, -0.015896759927272797, -0.04598333314061165, 0.031006382778286934, -0.026893792673945427, -0.022225381806492805, 0.031190885230898857, -0.035018835216760635, -0.0018372641643509269, -0.02329397015273571, -0.006324386689811945, 0.026434239000082016, 0.006344551220536232, -0.031022023409605026, 0.014152444899082184, -0.003014913061633706, -0.015565751120448112, 0.010059043765068054, 0.004920343402773142, -0.01559460163116455, -0.04511367529630661, 0.029287191107869148, 0.025654016062617302, 0.0363818034529686, -0.0005207112990319729, -0.016707774251699448, 0.0032246559858322144, 6.998356310814368e-33, -0.0020765799563378096, -0.017725136131048203, -0.03848893940448761, 0.013482016511261463, 0.006527620833367109, -0.036473918706178665, 0.029389357194304466, 0.020701531320810318, -0.021435363218188286, 0.0163215771317482, -0.010595699772238731, 0.02731681428849697, -0.0261232927441597, 0.026304692029953003, 0.03921671211719513, 0.00687097804620862, 0.001323091797530651, -0.03059483878314495, -0.000410050677601248, 0.000614674761891365, 0.011568312533199787, 0.01944577693939209, -0.0015777439111843705, 0.022410444915294647, -0.012799112126231194, 0.07643771171569824, -0.025531571358442307, 0.0002420909731881693, 0.027172798290848732, -0.010578015819191933, -0.016645492985844612, -0.00910347793251276, 0.016171172261238098, -0.010604947805404663, -0.02324816584587097, 0.03969935327768326, -0.009045055136084557, 0.022883960977196693, 0.02871815301477909, -0.0033716729376465082, 0.03293168917298317, 0.008581915870308876, -0.016607845202088356, 0.0014201622689142823, -0.023996220901608467, 0.04550538584589958, 0.01014698762446642, 0.004146449267864227, -0.006256550084799528, 0.007957945577800274, -0.010668020695447922, 0.00969962403178215, -0.011747948825359344, 0.01912909559905529, -0.00914995837956667, -0.00911774206906557, 0.0022552195005118847, 0.009436224587261677, -0.058007411658763885, -0.00013256094825919718, 0.00042996727279387414, 0.021106328815221786, -0.008073882199823856, -0.01674097403883934, -0.019204920157790184, -0.012617133557796478, -0.0444604717195034, -0.023090818896889687, 0.02148873545229435, 0.002738236216828227, -0.023979870602488518, -0.025104692205786705, 0.002478740643709898, 0.02250361256301403, 0.011814547702670097, -0.018092168495059013, 0.009809242561459541, 0.045139752328395844, 0.010746249929070473, 0.04131855070590973, 0.0051606628112494946, 0.04366832971572876, 0.021057140082120895, -0.015173853375017643, 0.038853488862514496, 0.008226567879319191, -0.037712953984737396, -0.0024461427237838507, 0.01995791681110859, -0.02023123763501644, -0.008403755724430084, -0.0280988197773695, -0.015325633808970451, -0.0066014681942760944, 0.015665458515286446, -1.2762077616912393e-8, -0.022875003516674042, 0.020865509286522865, -0.009837139397859573, 0.021861035376787186, -0.0034572328440845013, 0.028061559423804283, -0.0015251756412908435, -0.00724458834156394, -0.0439804270863533, -0.0017929752357304096, 0.030883075669407845, -0.0007128447759896517, 0.007037125062197447, 0.01849938929080963, 0.0035534296184778214, -0.030102144926786423, 0.01636791229248047, 0.0014052338665351272, 0.029100561514496803, -0.004156789276748896, 0.01872456632554531, -0.0025549624115228653, 0.007454988546669483, 0.007030317559838295, -0.012385059148073196, -0.019172973930835724, 0.008200759999454021, -0.08778077363967896, -0.02217024378478527, 0.013208749704062939, -0.01615770161151886, -0.025695951655507088, -0.014930116012692451, -0.021515825763344765, 0.01216830126941204, -0.0033974761608988047, 0.02183915302157402, -0.033564917743206024, -0.010738609358668327, -0.042927615344524384, -0.013614154420793056, 0.007824739441275597, -0.02669580653309822, -0.024812281131744385, -0.019160253927111626, -0.020875606685876846, 0.023538224399089813, -0.00044168983004055917, 0.039542801678180695, -0.00066982681164518, 0.04134787991642952, -0.03730131685733795, 0.04358820244669914, 0.05245640501379967, 0.02762637659907341, 0.005687105935066938, 0.05416285619139671, -0.027829816564917564, -0.02135518379509449, 0.010546117089688778, 0.031675491482019424, 0.03254811093211174, -0.00784910749644041, -0.029670318588614464 ]
reading-code-boilerpipe
https://markhneedham.com/blog/2012/02/13/reading-code-boilerpipe
false
2012-02-25 23:40:07
Haskell: Viewing the steps of a reduce
[ "haskell" ]
[ "Haskell" ]
I've been playing around with Haskell a bit over the last week and in the bit of code I was working on I wanted to fold over a collection but see the state of the fold after each step. I remembered Don Syme showing me how to do something similar during the F# Exchange last year while we were http://fssnip.net/8R[writing some code to score a tennis game] by using +++<cite>+++http://msdn.microsoft.com/en-us/library/ee340364.aspx[Seq.scan]+++</cite>+++. I didn't realise there was also a scan function in Haskell which could be defined in terms of +++<cite>+++foldl+++</cite>+++ if we wanted to: [source,haskell] ---- foldscanl :: (a -> b -> a) -> a -> [b] -> [a] foldscanl fn acc ls = foldl (\ x y -> x ++ [fn (last x) y]) [acc] ls ---- [source,haskell] ---- *Main> foldscanl (+) 0 [1..10] [0,1,3,6,10,15,21,28,36,45,55] ---- The http://hackage.haskell.org/packages/archive/base/latest/doc/html/src/GHC-List.html#scanl[actual function is defined like so]: [source,haskell] ---- scanl :: (a -> b -> a) -> a -> [b] -> [a] scanl f q ls = q : (case ls of [] -> [] x:xs -> scanl f (f q x) xs) ---- [source,haskell] ---- *Main> scanl (*) 1 [1..10] [1,1,2,6,24,120,720,5040,40320,362880,3628800] ---- I've been finding +++<cite>+++scanl+++</cite>+++ particularly useful for working out whether the function I'm using to fold over the collection is actually working correctly. There's also a +++<cite>+++scanr+++</cite>+++ if we want to fold over the collection from the right hand side.
null
null
[ -0.030744552612304688, 0.012646997347474098, -0.024394722655415535, 0.03351772576570511, 0.07037290185689926, 0.021848969161510468, -0.006239066831767559, 0.017007092013955116, 0.025139763951301575, -0.029449766501784325, 0.005878455936908722, -0.00019261274428572506, -0.04424581676721573, 0.000018387150703347288, -0.0050261905416846275, 0.0631856769323349, 0.053752601146698, -0.030304647982120514, -0.007910769432783127, -0.00025311566423624754, 0.013213040307164192, 0.048110734671354294, 0.02157367765903473, 0.007918442599475384, 0.03305128961801529, -0.0021583992056548595, 0.01787102036178112, -0.009674779139459133, -0.04927665367722511, 0.01451864093542099, 0.04459220543503761, -0.013743383809924126, -0.0017584558809176087, -0.03683801740407944, 0.012937269173562527, -0.016978278756141663, -0.006234580650925636, 0.003232118207961321, -0.0016938606277108192, 0.00946512259542942, -0.05426152050495148, 0.00324371550232172, -0.008061009459197521, 0.013624601997435093, -0.0539327897131443, -0.003596201306208968, -0.05135528743267059, 0.012534351088106632, -0.04689902812242508, -0.010807816870510578, -0.049932774156332016, 0.02593611367046833, -0.030868899077177048, -0.019975559785962105, -0.027363553643226624, 0.06281343847513199, 0.021287772804498672, -0.07201983779668808, 0.03903556987643242, -0.0485619492828846, 0.0027887802571058273, -0.024289598688483238, 0.039688047021627426, 0.04190531745553017, 0.016203654929995537, -0.012769222259521484, -0.03617943823337555, 0.049053970724344254, -0.03899319842457771, -0.019056616351008415, -0.010694612748920918, 0.035359177738428116, -0.023074258118867874, -0.038753487169742584, 0.028080333024263382, -0.029080530628561974, -0.009297065436840057, 0.0692867711186409, 0.02093646489083767, 0.021719416603446007, -0.008333870209753513, 0.047134123742580414, 0.009839137084782124, 0.038265783339738846, -0.007504425477236509, -0.03574451804161072, -0.04032269865274429, 0.005086935590952635, -0.04545924812555313, 0.06343986839056015, 0.03376048803329468, -0.06897739320993423, -0.0034060131292790174, 0.016856124624609947, 0.020844371989369392, 0.014956227503716946, 0.007222525775432587, 0.0013207064475864172, 0.018430054187774658, -0.00435836985707283, -0.034343693405389786, -0.033785734325647354, 0.019195646047592163, -0.010332179255783558, -0.07866422086954117, -0.0006444919272325933, -0.026839841157197952, -0.01029039453715086, 0.010973209515213966, -0.0011363535886630416, -0.013373689725995064, -0.003414164762943983, -0.023853177204728127, 0.02223953790962696, -0.09219512343406677, 0.04518294334411621, 0.03685608133673668, 0.0032008287962526083, 0.001840704819187522, 0.020765239372849464, 0.03938638046383858, 0.002318436047062278, -0.002163597149774432, 0.0819578543305397, 0.05037916824221611, 0.03551764413714409, 0.006182016339153051, 0.05666179209947586, -0.025671035051345825, -0.08306030929088593, -0.015699846670031548, 0.07001631706953049, -0.03704186901450157, 0.01016897801309824, -0.01188806351274252, -0.03064531274139881, -0.039507344365119934, 0.009588324464857578, 0.039240512996912, 0.0453701950609684, 0.015195141546428204, -0.027678130194544792, 0.01727956160902977, -0.05287189409136772, 0.018898634240031242, 0.00011998493573628366, -0.017628686502575874, -0.013407493941485882, -0.04206695035099983, 0.030718527734279633, 0.03399112820625305, 0.013561156578361988, 0.029585085809230804, -0.020863788202404976, 0.04102306813001633, 0.0882658064365387, 0.020089570432901382, 0.006628445815294981, -0.008575613610446453, 0.004178218077868223, 0.032909441739320755, 0.026875119656324387, 0.005745384842157364, 0.04612857103347778, 0.011514139361679554, 0.017015179619193077, -0.01887347735464573, 0.04045800864696503, -0.012054425664246082, -0.01798524521291256, -0.05396733805537224, -0.025794321671128273, 0.06173361837863922, -0.027239453047513962, -0.005724893882870674, 0.015127514488995075, 0.08623264729976654, 0.01540321670472622, 0.031856995075941086, -0.002493147039785981, -0.08025549352169037, 0.007093215361237526, 0.014130049385130405, 0.034141264855861664, -0.01346152275800705, 0.0041961753740906715, 0.07007651031017303, 0.05307134613394737, 0.02448326349258423, 0.026398591697216034, -0.06936629861593246, -0.07297206670045853, -0.03221729025244713, -0.016948295757174492, 0.07032231241464615, -0.020505020394921303, -0.006665223743766546, 0.07671087235212326, -0.015037684701383114, 0.024000661447644234, 0.03558436408638954, 0.006428931839764118, 0.031724750995635986, -0.012393413111567497, -0.044376056641340256, 0.06434592604637146, 0.03953630104660988, 0.0015995028661563993, -0.048026520758867264, 0.000766502576880157, 0.006090087816119194, 0.004305292386561632, 0.03733329474925995, -0.009934495203197002, 0.05644341930747032, 0.035651374608278275, 0.030275272205471992, -0.01850271411240101, 0.040579237043857574, -0.05664610490202904, 0.044705554842948914, 0.037495486438274384, -0.0136185297742486, -0.009549971669912338, -0.017287958413362503, 0.11703784018754959, 0.08469197154045105, -0.053419627249240875, -0.026361504569649696, 0.01573142409324646, -0.006817406974732876, -0.0531349815428257, 0.0005255024880170822, 0.011588426306843758, 0.006965779233723879, -0.03389371186494827, -0.007902784273028374, 0.01426494400948286, 0.012085623107850552, -0.03178330138325691, -0.005891562905162573, 0.07028337568044662, -0.002627406269311905, 0.04203367233276367, 0.012964814901351929, -0.05614075809717178, -0.004697639960795641, -0.009539688006043434, -0.05861527845263481, 0.011173267848789692, 0.03924928233027458, 0.0005891394685022533, 0.053758129477500916, -0.04514648765325546, -0.03973841667175293, -0.019820570945739746, -0.008940582163631916, 0.025591859593987465, 0.0760265439748764, 0.059620652347803116, -0.03143111616373062, 0.021203866228461266, -0.02037808857858181, 0.005584327038377523, -0.012358852662146091, -0.0469345860183239, -0.06072498857975006, -0.019415857270359993, 0.02483517676591873, 0.01456766203045845, 0.04008811339735985, 0.0222124345600605, 0.00885876826941967, -0.004362954758107662, 0.009027732536196709, -0.036422520875930786, 0.027194691821932793, -0.004052481614053249, -0.06480617821216583, -0.03316580876708031, -0.02946688048541546, 0.0813731923699379, -0.03393317013978958, -0.04586553946137428, 0.0007780356099829078, -0.03127993270754814, 0.07874908298254013, -0.06726245582103729, -0.028593968600034714, 0.009839467704296112, 0.028303086757659912, 0.0368758849799633, -0.030399305745959282, 0.012255779467523098, 0.06109083816409111, 0.003693500766530633, 0.03436221554875374, 0.041284821927547455, 0.01807088404893875, 0.021045655012130737, -0.018475206568837166, 0.004870973993092775, 0.036634258925914764, -0.005467032082378864, -0.0011571150971576571, -0.04659152403473854, 0.010422625578939915, -0.03388532996177673, -0.27416011691093445, 0.002411206718534231, -0.00931294821202755, -0.03285752609372139, 0.01810295879840851, -0.012926312163472176, -0.012186862528324127, -0.04727517440915108, -0.01757967844605446, 0.019179433584213257, -0.01111559011042118, -0.02374020777642727, -0.047178056091070175, 0.041821617633104324, 0.05002623051404953, 0.036559656262397766, -0.0024866443127393723, -0.04804784804582596, 0.010693664662539959, 0.04662342369556427, -0.0110436687245965, -0.07026764750480652, 0.011483734473586082, 0.031885720789432526, 0.01312393881380558, 0.040975283831357956, -0.09171919524669647, 0.022448914125561714, -0.034312520176172256, -0.02598617970943451, -0.028800558298826218, -0.0007338961586356163, 0.005690005142241716, -0.007482985965907574, -0.02043759822845459, -0.02042519301176071, 0.02463705651462078, 0.010256623849272728, 0.0077193002216517925, 0.0424298495054245, -0.014095718041062355, -0.02170039899647236, 0.003594377776607871, -0.004273116588592529, 0.0804021880030632, -0.017344806343317032, -0.06287907809019089, -0.02708013541996479, -0.03898150846362114, 0.07015147060155869, -0.039489515125751495, -0.033777136355638504, -0.01419631578028202, 0.056127406656742096, 0.0016570428851991892, -0.028737831860780716, -0.03178012743592262, -0.009839976206421852, -0.04933386668562889, -0.02250852808356285, -0.02923312783241272, -0.04201054945588112, -0.01754961535334587, -0.07952278107404709, -0.011917632073163986, -0.0619686096906662, -0.06438421458005905, 0.004531392361968756, 0.06692075729370117, 0.016804972663521767, -0.006903141271322966, -0.020642155781388283, -0.017793821170926094, -0.11738155037164688, -0.044895246624946594, -0.024014005437493324, -0.03738962858915329, -0.01778850331902504, 0.035033274441957474, 0.04222302883863449, -0.043762389570474625, -0.06742119789123535, 0.029466833919286728, -0.004010580014437437, 0.03242679685354233, -0.0303372573107481, -0.004292668774724007, 0.006478288676589727, -0.018385399132966995, -0.010423673316836357, 0.048155978322029114, -0.008459621109068394, -0.003353582927957177, -0.03648178279399872, 0.01397829782217741, 0.00733761815354228, 0.014147677458822727, -0.010172726586461067, 0.030673310160636902, 0.0571516677737236, 0.02994651347398758, -0.05160527676343918, 0.02848115749657154, -0.033105358481407166, -0.04337363317608833, -0.006777937524020672, -0.05341055616736412, 0.022663090378046036, 0.052756357938051224, 0.019962331280112267, -0.02100212872028351, -0.04975151643157005, 0.011646750383079052, -0.05056053400039673, -0.0303345900028944, 0.0012205974198877811, 0.017112061381340027, 0.022133328020572662, 0.010413553565740585, -0.015399981290102005, -0.050358422100543976, -0.013538852334022522, -0.0011088491883128881, -0.0313081294298172, -0.04868593066930771, -0.007228087168186903, -0.03693395480513573, -0.003222382627427578, -0.0021515621338039637, 0.03208605572581291, -0.025988902896642685, 0.016082828864455223, 0.01821993850171566, -0.028318164870142937, 0.05509535223245621, 0.0215559434145689, -0.02648892067372799, -0.01781974360346794, -0.02653142437338829, -0.049429215490818024, -0.006788863334804773, -0.0002201098104706034, 0.041478145867586136, 0.04291281849145889, 0.033756956458091736, -0.019605061039328575, 0.013644305057823658, 0.0037169617135077715, -0.008690987713634968, 0.03212377056479454, -0.0324118435382843, -0.026698369532823563, 0.03305532783269882, -0.02575172297656536, -0.016087181866168976, 0.02298310212790966, 0.0437118262052536, -0.039859138429164886, -0.051231350749731064, -0.05191277712583542, 0.030278490856289864, -0.013308641500771046, -0.03834780678153038, -0.023767264559864998, -0.005498391576111317, 0.05624076724052429, -0.015565956942737103, 0.0367722287774086, -0.02234126813709736, 0.022390838712453842, -0.008211353793740273, 0.024304987862706184, -0.032647740095853806, 0.026381589472293854, -0.02574627660214901, -0.0017259184969589114, -0.005485850386321545, 0.006524240598082542, 0.053167250007390976, 0.009768424555659294, -0.014199009165167809, -0.018364092335104942, -0.002498585032299161, 0.013704529963433743, 0.038307350128889084, 0.017635980620980263, 0.005443017929792404, 0.01367019210010767, -0.03679526597261429, -0.039495620876550674, -0.013783633708953857, -0.006500547751784325, -0.03926496207714081, 0.04314916580915451, -0.0350412093102932, -0.058206770569086075, 0.02236531488597393, 0.023425236344337463, 0.0031855665147304535, 0.0077425213530659676, 0.016703085973858833, -0.015223566442728043, 0.0044396729208528996, 0.015046732500195503, 0.07094454020261765, -0.04648774117231369, 0.007221587933599949, -0.004358040168881416, 0.022173011675477028, 0.00726923905313015, 0.005975758656859398, -0.043292731046676636, -0.026792660355567932, -0.009880765341222286, 0.0038948291912674904, -0.007186312694102526, -0.014443017542362213, -0.011119303293526173, 0.005226558540016413, -0.007819147780537605, -0.03372165933251381, -0.01105151791125536, -0.01365839783102274, -0.014392309822142124, -0.029855241999030113, -0.015143472701311111, -0.06630662083625793, -0.008894574828445911, 0.054543424397706985, -0.021998794749379158, 0.04182766005396843, -0.043978072702884674, 0.047458987683057785, 0.01358067337423563, 0.009605159051716328, -0.0003618943737819791, -0.06314190477132797, 0.01354307122528553, -0.0523456372320652, 0.04299675673246384, 0.001502479426562786, -0.009239948354661465, 0.0026790692936629057, 0.007828430272638798, -0.056961528956890106, 0.003100054571405053, 0.03686429560184479, -0.04339301958680153, 0.02953687682747841, 0.051912855356931686, -0.04486505687236786, 0.04974038526415825, -0.007796998135745525, -0.015071782283484936, 0.04744898900389671, -0.026675907894968987, -0.030749408528208733, -0.001062009367160499, -0.034828875213861465, 0.01867469772696495, -0.003857756033539772, 0.021762065589427948, -0.05558304861187935, 0.03732594847679138, 0.062108661979436874, 0.039893124252557755, 0.041123464703559875, -0.02200654149055481, 0.05230114981532097, -0.018259122967720032, -0.028590785339474678, -0.07659050077199936, 0.0022677863016724586, 0.007632008753716946, 0.003940485417842865, -0.025376198813319206, 0.01795387826859951, -0.0026230195071548223, 0.025746449828147888, -0.05478374660015106, -0.027205174788832664, 0.026780955493450165, 0.0061701275408267975, 0.01097152940928936, 0.02127794548869133, -0.03916977718472481, 0.002834186889231205, 0.04396330565214157, -0.012738694436848164, 0.01104621309787035, -0.015874849632382393, 0.045151177793741226, -0.016934610903263092, 0.024778736755251884, -0.008753168396651745, -0.011002945713698864, 0.042282864451408386, 0.03957383334636688, 0.002193909604102373, 0.06033749133348465, -0.002823501592501998, 0.010082424618303776, 0.02688068151473999, 0.006861213594675064, -0.0009836630197241902, 0.018381206318736076, -0.04904727265238762, -0.03502664342522621, 0.022931000217795372, 0.013817491009831429, -0.029201045632362366, -0.04189276695251465, 0.057802964001894, 0.027704358100891113, -0.01440782193094492, -0.04771270602941513, 0.03437738120555878, -0.07258008420467377, -0.00011896331125171855, -0.009341779164969921, -0.002293619327247143, -0.0453604981303215, 0.038989972323179245, -0.00759468087926507, -0.020986871793866158, 0.07339587807655334, 0.004292085766792297, -0.04013942554593086, 0.008924382738769054, 0.10078005492687225, 0.08128423243761063, 0.06609363108873367, 0.009397022426128387, 0.05883520096540451, -0.05795598402619362, -0.04726569354534149, -0.012397157959640026, -0.0010911092394962907, 0.008949099108576775, -0.016996748745441437, 0.03816724941134453, 0.08056149631738663, -0.0200654286891222, 0.04897666722536087, -0.031311601400375366, -0.014489782974123955, 0.0036855265498161316, 0.017835378646850586, 0.013683794066309929, 0.07306507229804993, 0.029518255963921547, 0.03605059161782265, 0.0014694592682644725, -0.040713921189308167, 0.031192230060696602, -0.00365150417201221, -0.015788471326231956, -0.009799892082810402, -0.006652975454926491, 0.01095693837851286, 0.022749342024326324, 0.059682492166757584, 0.0695621520280838, -0.01365874707698822, 0.0151753481477499, 0.009510926902294159, 0.022061297670006752, 0.02040802128612995, -0.008157745935022831, -0.04949263110756874, -0.03666004538536072, 0.015635725110769272, -0.027106327936053276, -0.014420217834413052, 0.001810031826607883, -0.04501480236649513, 0.0353398434817791, -0.02571600303053856, -0.007022623438388109, 0.04439874365925789, -0.012843041680753231, -0.048716310411691666, -0.06844393908977509, -0.05301212891936302, -0.028367742896080017, -0.061864133924245834, 0.019008435308933258, -0.001841939752921462, -0.021954573690891266, -0.0178668349981308, -0.02705666795372963, -0.005268631502985954, -0.02850823663175106, 0.04286876693367958, -0.015376678667962551, -0.03972092643380165, -0.001696985331363976, 0.015082661993801594, 0.01648021675646305, 0.022315863519906998, 0.05892078951001167, -0.019217533990740776, 0.0006269812001846731, -0.03282659500837326, -0.024346156045794487, 0.03356034681200981, 0.021976284682750702, 0.03231353685259819, -0.08594270050525665, 0.017631959170103073, 0.032987724989652634, 0.0320785790681839, -0.09201477468013763, 0.006891129072755575, -0.007454070262610912, -0.033508338034152985, 0.014567199163138866, -0.02499871328473091, -0.0048872181214392185, -0.024905744940042496, -0.0006466215127147734, 0.013205687515437603, 0.0380217619240284, 0.05650639906525612, -0.03799358010292053, 0.09943567216396332, 0.0016418786253780127, -0.008717311546206474, -0.04806598648428917, -0.00997881032526493, -0.031721483916044235, 0.02854100801050663, -0.026355750858783722, -0.02014235220849514, -0.043067269027233124, -0.04934323579072952, -0.019221099093556404, -0.023485258221626282, -0.03327467292547226, -0.025945069268345833, 0.010461518540978432, 0.0429413802921772, -0.05114887282252312, 0.042795341461896896, -0.024359624832868576, 0.008483624085783958, -0.02585778944194317, -0.04331502318382263, 0.022888794541358948, 0.028107916936278343, 0.02537122182548046, 0.03207699954509735, 0.03779677301645279, -0.05549704656004906, 0.005811009556055069, 0.005114121362566948, 0.014406885951757431, 0.013367225416004658, 0.005804662127047777, 0.026698630303144455 ]
[ -0.11341696232557297, -0.017049798741936684, -0.0280369371175766, 0.016935663297772408, -0.005303837824612856, -0.025735821574926376, -0.01780729368329048, 0.040892329066991806, -0.008405150845646858, -0.048387933522462845, -0.01527249626815319, -0.058909814804792404, -0.00161564105655998, 0.011013302020728588, 0.06546755880117416, 0.003172121709212661, -0.03513529524207115, -0.02021348662674427, -0.026229029521346092, 0.006668862421065569, 0.03268776461482048, -0.017108719795942307, -0.05384036898612976, -0.04618477076292038, 0.01795099303126335, 0.06317387521266937, 0.03611832857131958, -0.045026734471321106, 0.018087496981024742, -0.22038953006267548, -0.015038564801216125, 0.027063753455877304, 0.046001534909009933, -0.030636489391326904, 0.007066384889185429, 0.04361838847398758, -0.011871466413140297, -0.001079162466339767, -0.02715051732957363, 0.07579591125249863, 0.03753675892949104, 0.023127418011426926, -0.030336622148752213, -0.021836841478943825, 0.03364180400967598, -0.0015283545944839716, -0.025844860821962357, -0.02325439266860485, 0.014344792813062668, 0.020529741421341896, -0.09136452525854111, 0.014378615655004978, 0.00716716144233942, -0.005865470971912146, -0.012801937758922577, 0.029155142605304718, 0.06812084466218948, 0.08302856236696243, 0.0016669748583808541, 0.016145525500178337, 0.02127370983362198, 0.0023884729016572237, -0.11280219256877899, 0.10577074438333511, 0.021190114319324493, 0.06734335422515869, -0.035397063940763474, -0.03203202784061432, -0.013997684232890606, 0.11027990281581879, 0.028510097414255142, -0.0370672345161438, -0.05034014582633972, 0.060616884380578995, 0.03753696754574776, -0.05947963520884514, -0.006823129951953888, 0.000278574792901054, 0.05395530164241791, -0.031499747186899185, -0.04550191015005112, -0.035873688757419586, -0.012524617835879326, -0.026062622666358948, -0.025274327024817467, 0.009003473445773125, -0.03503933548927307, 0.0498003251850605, 0.02191774919629097, 0.0044174534268677235, 0.03989375755190849, -0.023212101310491562, 0.0035703780595213175, 0.0280609093606472, -0.10380305349826813, -0.01355994027107954, -0.005237060599029064, 0.049540240317583084, -0.020081806927919388, 0.39698314666748047, -0.04536624997854233, 0.007906273007392883, 0.0596810057759285, 0.023070503026247025, -0.024874959141016006, -0.007900671102106571, 0.0006353121134452522, -0.046945247799158096, -0.014151428826153278, -0.08041542768478394, -0.03656422346830368, -0.036084119230508804, 0.10673534125089645, -0.04981096833944321, 0.01286279410123825, 0.008599510416388512, 0.0580916553735733, 0.010351239703595638, 0.019138095900416374, -0.008475038222968578, 0.006169682834297419, 0.03530437499284744, 0.022280661389231682, 0.019077174365520477, -0.017536848783493042, 0.0068789394572377205, 0.03990374132990837, 0.03405993431806564, 0.03041553497314453, 0.04357949271798134, 0.05476894602179527, -0.027058567851781845, -0.04394325986504555, -0.009663937613368034, -0.003048710757866502, 0.01928166300058365, 0.01714503951370716, -0.029680922627449036, 0.019081905484199524, 0.02317221276462078, -0.026064584031701088, -0.025642795488238335, 0.03160789981484413, 0.012185046449303627, -0.014379771426320076, 0.10624232888221741, 0.003928501624614, -0.03987627103924751, -0.009248265996575356, -0.049753837287425995, 0.004602600820362568, 0.045086171478033066, 0.01780085638165474, -0.0623093917965889, 0.025781085714697838, 0.018021991476416588, 0.0751878097653389, -0.020078925415873528, -0.07993211597204208, 0.011325066909193993, -0.05455271154642105, -0.0208047516644001, -0.055930543690919876, 0.06769458204507828, 0.005482297390699387, -0.04184439405798912, -0.030441317707300186, -0.008524454198777676, 0.008902153931558132, -0.09346604347229004, 0.014745542779564857, 0.015420021489262581, -0.054465945810079575, 0.020647529512643814, 0.03292377293109894, -0.013125414960086346, -0.03900401294231415, -0.007971047423779964, 0.02523178420960903, 0.017165064811706543, -0.02384883537888527, -0.011801458895206451, -0.07344720512628555, 0.026251090690493584, -0.03137650713324547, -0.07485927641391754, -0.06360512226819992, 0.00787260476499796, -0.0035866042599081993, -0.02276899665594101, 0.014822613447904587, -0.013877758756279945, -0.06209671124815941, 0.06101363152265549, -0.03706081211566925, -0.02239092066884041, 0.027709538117051125, 0.0015489625511690974, -0.022008689120411873, -0.0066965133883059025, -0.013907555490732193, 0.05723828449845314, -0.0024477136321365833, 0.032727401703596115, -0.06166991591453552, 0.012835754081606865, 0.04675630107522011, -0.06101159378886223, 0.06565267592668533, 0.029917610809206963, 0.006730289198458195, 0.016202086582779884, -0.03602354973554611, 0.03027266450226307, 0.012817288748919964, -0.04950591176748276, 0.01929483748972416, -0.04022374004125595, -0.0009446615586057305, 0.020626250654459, -0.026060454547405243, -0.07957218587398529, -0.027796829119324684, -0.33705171942710876, -0.03900506719946861, -0.015557701699435711, -0.013014811091125011, 0.01712183468043804, -0.08736319094896317, -0.000767944089602679, -0.013909373432397842, -0.033620789647102356, 0.013303129002451897, 0.04599503055214882, -0.00022298689873423427, -0.013323059305548668, -0.07888064533472061, 0.00038489417056553066, 0.033374812453985214, -0.01154613308608532, -0.032527364790439606, -0.037121228873729706, 0.029591433703899384, -0.023264557123184204, -0.001984670991078019, -0.023593375459313393, -0.07807838171720505, -0.0059039234183728695, -0.039095088839530945, 0.1259855329990387, 0.017786327749490738, 0.0790661871433258, -0.026917409151792526, 0.05738092213869095, -0.029810559004545212, -0.01780753582715988, -0.04772141948342323, -0.011971245519816875, -0.017630526795983315, -0.008070477284491062, -0.019395241513848305, 0.05248624086380005, -0.025977151468396187, -0.0500810369849205, -0.002029988681897521, -0.050992451608181, -0.029624054208397865, -0.038427408784627914, 0.03154279664158821, -0.01679353229701519, -0.04763893038034439, -0.004887355491518974, 0.09721964597702026, 0.021456582471728325, -0.014655817300081253, 0.010067165829241276, 0.022359786555171013, -0.021329132840037346, -0.015229039825499058, -0.04529498890042305, -0.07876834273338318, -0.004652105271816254, -0.031008757650852203, 0.03506787493824959, 0.0845574215054512, 0.050404418259859085, -0.014812684617936611, -0.004324407782405615, 0.02560824155807495, -0.010038146749138832, -0.009714990854263306, 0.007681107148528099, -0.0195205919444561, -0.017929911613464355, 0.06735607236623764, -0.001304181874729693, 0.0010138708166778088, 0.005200304090976715, 0.08788607269525528, -0.006781761534512043, 0.05544925481081009, 0.04725995659828186, 0.01830209232866764, 0.008920809254050255, 0.006159767508506775, 0.003767921356484294, -0.03867873549461365, -0.019985763356089592, 0.030396055430173874, -0.026063501834869385, -0.003068873891606927, 0.059918779879808426, 0.012124954722821712, -0.016192391514778137, 0.05251029133796692, 0.02075989544391632, -0.05268579348921776, 0.07106859982013702, 0.021542927250266075, -0.2571602463722229, 0.04679341986775398, 0.064848393201828, 0.03596547991037369, -0.006531200371682644, 0.03719032555818558, 0.02607806958258152, -0.049788374453783035, -0.016848398372530937, -0.014382168650627136, 0.04495342820882797, 0.05707613006234169, 0.027813753113150597, 0.022783828899264336, 0.018593473359942436, -0.027597831562161446, 0.0741955041885376, 0.0003850568027701229, 0.015848420560359955, -0.004920440260320902, 0.026001421734690666, 0.012415298260748386, 0.20283597707748413, 0.02234576642513275, 0.020740482956171036, 0.011885574087500572, -0.0031752577051520348, 0.019064180552959442, 0.06107581779360771, 0.024709785357117653, 0.00805684644728899, 0.00796382874250412, 0.024556446820497513, -0.006584164686501026, 0.046828389167785645, -0.008969546295702457, -0.007738902699202299, 0.06237068027257919, 0.021011827513575554, -0.005827673245221376, -0.017036952078342438, 0.016596050933003426, -0.043013159185647964, 0.03783051297068596, 0.051514822989702225, 0.014962793327867985, -0.019628241658210754, -0.019123654812574387, -0.048616938292980194, 0.01721280626952648, -0.006553479004651308, -0.012851344421505928, -0.02862442284822464, -0.031986530870199203, -0.003606911050155759, 0.033818431198596954, 0.0216683279722929, -0.017777934670448303, -0.005823116283863783, 0.029571931809186935, 0.00340168084949255, -0.03924323618412018, 0.09352224320173264, 0.0011504810536280274, 0.037368517369031906 ]
[ -0.03482874110341072, 0.01892263814806938, -0.038909975439310074, 0.015433837659657001, -0.025566237047314644, 0.006198656279593706, 0.026927126571536064, 0.021888000890612602, -0.03219045326113701, 0.004153075627982616, -0.02822011336684227, -0.004806156735867262, 0.04960550367832184, -0.015364759601652622, -0.005446570459753275, 0.023716410622000694, -0.05410412326455116, -0.0033328707795590162, 0.009167826734483242, -0.03298396244645119, 0.000908506044652313, -0.0021831088233739138, 0.009436613880097866, 0.008068330585956573, -0.012340468354523182, 0.025723818689584732, -0.044925183057785034, -0.039115313440561295, 0.01158823724836111, -0.1141977608203888, -0.017620382830500603, -0.00793518591672182, 0.03974578529596329, -0.012626106850802898, -0.005658376961946487, 0.05934004858136177, -0.026263564825057983, 0.015511913225054741, -0.043785687536001205, -0.015267769806087017, -0.026097090914845467, 0.011757731437683105, 0.020873267203569412, -0.007070213556289673, -0.013513890095055103, -0.0057476358488202095, -0.00007974999607540667, -0.014905372634530067, 0.028306297957897186, 0.057632748037576675, -0.006815253756940365, 0.036574143916368484, -0.0018204391235485673, 0.027949217706918716, -0.0037590614520013332, -0.014545992016792297, -0.04096483439207077, -0.03880641609430313, -0.043556563556194305, 0.013505768962204456, -0.03539368137717247, 0.019214287400245667, -0.08403629064559937, -0.025143645703792572, -0.005828998517245054, 0.023118581622838974, 0.0046161869540810585, -0.01982070878148079, -0.00802760198712349, 0.01673276163637638, 0.003076081397011876, 0.029540566727519035, -0.03285626694560051, -0.06089457869529724, 0.030904561281204224, -0.015645714476704597, 0.050501152873039246, -0.060294054448604584, -0.009748771786689758, 0.0002627073845360428, -0.015776587650179863, -0.0033235882874578238, 0.025631412863731384, 0.001408977434039116, -0.020808152854442596, -0.0343034490942955, -0.012287980876863003, 0.006727381143718958, 0.0364394374191761, -0.02134941890835762, 0.006586959585547447, 0.034212492406368256, -0.0049048131331801414, 0.02244727499783039, -0.03106253780424595, 0.021852223202586174, 0.008684840984642506, 0.0035404046066105366, -0.01891489140689373, 0.8116844296455383, 0.010936811566352844, 0.07272988557815552, 0.04229129105806351, -0.003830858040601015, -0.00793234258890152, -0.0035844563972204924, 0.020507318899035454, 0.005170685239136219, -0.018863674253225327, -0.06923830509185791, 0.04959167540073395, -0.02257424034178257, 0.07068122178316116, 0.001955672400072217, -0.00837093498557806, 0.04802003502845764, 0.02260836958885193, -0.008517791517078876, -0.00346737471409142, 0.01197229977697134, 0.022993287071585655, 0.009229077026247978, 0.028242556378245354, 0.04429741948843002, 0.027415787801146507, -0.16002044081687927, -0.04669485241174698, -7.104792181493541e-33, 0.03650759905576706, 0.013340680859982967, -0.013743421994149685, -0.004303108900785446, 0.01802525669336319, 0.011487268842756748, 0.026635676622390747, -0.013817652128636837, -0.07570348680019379, 0.023123975843191147, 0.023412391543388367, 0.008895178325474262, -0.011782946065068245, -0.02207889035344124, 0.05113304778933525, -0.00278639979660511, 0.02616044506430626, 0.03260118514299393, -0.02994675375521183, -0.0282183438539505, -0.013999422080814838, 0.030692273750901222, 0.040907226502895355, 0.015652474015951157, 0.01719009131193161, 0.04477005451917648, -0.014710469171404839, 0.005448820535093546, 0.005623839795589447, -0.05155622959136963, -0.01988590881228447, 0.05332345515489578, -0.043924640864133835, -0.012862826697528362, 0.036815375089645386, -0.007738601416349411, -0.024433696642518044, 0.02801024354994297, -0.008167494088411331, 0.012487591244280338, -0.0009125411161221564, 0.022799335420131683, -0.024239487946033478, -0.037636786699295044, 0.009874667972326279, -0.048553723841905594, 0.021647730842232704, 0.018612246960401535, -0.0077726999297738075, 0.06385534256696701, 0.0429082065820694, 0.014259511604905128, -0.03512828052043915, -0.016555484384298325, -0.02810703217983246, 0.02262832783162594, 0.02084110863506794, 0.04062899947166443, -0.0028707492165267467, 0.09372574090957642, 0.009006339125335217, 0.01586487889289856, 0.0042152246460318565, 0.03469754755496979, -0.032096102833747864, -0.027424169704318047, 0.0031245481222867966, -0.0017747372621670365, -0.0038550894241780043, 0.057053953409194946, -0.049423135817050934, 0.04509793594479561, -0.02310498245060444, -0.009905936196446419, 0.040578488260507584, -0.01801520586013794, -0.020166529342532158, -0.0422353632748127, -0.008298988454043865, 0.009067067876458168, 0.06051696836948395, -0.03468155860900879, 0.007974841631948948, -0.02449987083673477, -0.04853568226099014, -0.0026559149846434593, 0.01242486946284771, -0.018239911645650864, -0.004775157198309898, -0.02987230010330677, -0.023502720519900322, 0.01808350533246994, -0.004206748679280281, -0.0077050598338246346, -0.000575072190258652, 6.764703298701422e-33, -0.05924985930323601, -0.043403543531894684, 0.006652915384620428, 0.008529836311936378, -0.01992853358387947, -0.02254783734679222, 0.04299433156847954, 0.0038446879480034113, -0.03012894093990326, 0.04094308987259865, 0.0010900833876803517, 0.03604939207434654, 0.00142701028380543, 0.025707343593239784, 0.06197267770767212, -0.04460620507597923, 0.02274005487561226, 0.03405814990401268, 0.015345793217420578, 0.03458621725440025, 0.002696146722882986, 0.01305015105754137, -0.017356520518660545, 0.012325678952038288, 0.035124726593494415, 0.02976205013692379, -0.012111219577491283, 0.01000240445137024, 0.028616541996598244, -0.004547775723040104, 0.020602045580744743, -0.03572159633040428, 0.028005817905068398, -0.007469104137271643, 0.001149056595750153, 0.032696474343538284, 0.010938110761344433, -0.011637864634394646, 0.04458596557378769, -0.00969020463526249, 0.022799570113420486, 0.008197275921702385, 0.009312653914093971, 0.019063912332057953, 0.0066919028759002686, -0.008294300176203251, -0.022003505378961563, 0.018847087398171425, 0.027742233127355576, 0.006094784941524267, -0.00917180348187685, -0.0361797995865345, 0.008235760033130646, 0.008595617488026619, -0.02306208573281765, -0.01828690990805626, -0.011398405767977238, -0.0004495115717872977, -0.044980764389038086, -0.034215833991765976, -0.046410612761974335, 0.006471014581620693, -0.05019165948033333, -0.018737809732556343, 0.00018724455730989575, -0.010939153842628002, -0.01865684799849987, -0.0741509348154068, -0.015270445495843887, 0.02702999860048294, -0.009738105349242687, -0.03096669167280197, -0.011705892160534859, 0.022990265861153603, -0.0031622210517525673, 0.012148363515734673, -0.019813498482108116, 0.03265107795596123, 0.026770474389195442, 0.011095662601292133, 0.02530946396291256, -0.02857879363000393, 0.03868478164076805, -0.03157352656126022, -0.008237590081989765, 0.0011316424934193492, 0.016129881143569946, 0.006868500728160143, 0.0017591422656551003, -0.034582268446683884, 0.014949594624340534, -0.02595553547143936, 0.022378066554665565, 0.036486443132162094, 0.003550701541826129, -1.2480202649101102e-8, 0.012655017897486687, -0.014197370037436485, -0.056886687874794006, 0.02434983104467392, 0.011723591946065426, 0.007416188716888428, -0.00472969701513648, -0.05673706904053688, -0.017751818522810936, 0.015977874398231506, -0.005479853134602308, -0.00999723095446825, 0.0047328658401966095, 0.0012373421341180801, 0.025288142263889313, -0.031211428344249725, 0.026660947129130363, -0.009706937707960606, 0.017220275476574898, 0.013861444778740406, -0.015708204358816147, 0.005490235053002834, 0.018382374197244644, -0.010419987142086029, -0.039711304008960724, -0.04822057485580444, 0.03286806493997574, -0.09355028718709946, -0.015265542082488537, 0.013669492676854134, 0.013725491240620613, -0.022711070254445076, -0.0034226616844534874, 0.006356142461299896, -0.021548060700297356, -0.021056819707155228, 0.016663044691085815, -0.009320925921201706, 0.04926377162337303, 0.01921822503209114, -0.020493680611252785, 0.006121604237705469, -0.007794649340212345, -0.035546522587537766, -0.03152243793010712, -0.052216727286577225, 0.006139403209090233, -0.034918103367090225, 0.02259756810963154, -0.02553870528936386, 0.02910987101495266, -0.022261207923293114, 0.04268874228000641, 0.013608475215733051, 0.02168130688369274, 0.039855826646089554, 0.038971029222011566, -0.03201739117503166, 0.0022357217967510223, 0.017495300620794296, -0.01895565167069435, -0.016924014315009117, -0.023916402831673622, -0.027589190751314163 ]
haskell-viewing-the-steps-of-a-reduce
https://markhneedham.com/blog/2012/02/25/haskell-viewing-the-steps-of-a-reduce
false
2012-11-29 17:09:29
Kaggle Digit Recognizer: Weka AdaBoost attempt
[ "machine-learning-2", "kaggle" ]
[ "Machine Learning" ]
In our latest attempt at http://www.kaggle.com/c/digit-recognizer[Kaggle's Digit Recognizer] http://twitter.com/jennifersmithco[Jen] and I decided to try out http://en.wikipedia.org/wiki/Boosting_(machine_learning)[boosting] on our random forest algorithm, an approach that Jen had come across in a talk at the http://clojure-conj.org/[Clojure Conj]. We couldn't find any documentation that it was possible to apply boosting to Mahout's random forest algorithm but we knew it was possible with http://www.cs.waikato.ac.nz/ml/weka/[Weka] so we decided to use that instead! As I understand it the way that boosting works in the context of random forests is that each of the trees in the forest will be assigned a weight based on how accurately it's able to classify the data set and these weights are then used in the voting stage. There's a more detailed explanation of the algorithm in http://e-research.csm.vu.edu.au/files/xu/04634231.pdf[this paper]. We had the following code to train the random forest: [source,java] ---- public class WekaAdaBoostRandomForest { public static void main(String[] args) { FastVector attributes = attributes(); Instances instances = new Instances("digit recognizer", attributes, 40000); instances.setClassIndex(0); String[] trainingDataValues = KaggleInputReader.fileAsStringArray("data/train.csv"); for (String trainingDataValue : trainingDataValues) { Instance instance = createInstance(trainingDataValue); instances.add(instance); } Classifier classifier = buildClassifier(instances); } private static Classifier buildClassifier(Instances instances) throws Exception { RandomForest randomForest = new RandomForest(); randomForest.setNumTrees(200); MultiBoostAB multiBoostAB = new MultiBoostAB(); multiBoostAB.setClassifier(randomForest); multiBoostAB.buildClassifier(instances); return multiBoostAB; } private static FastVector attributes() { FastVector attributes = new FastVector(); attributes.addElement(digit()); for (int i = 0; i <= 783; i++) { attributes.addElement(new Attribute("pixel" + i)); } return attributes; } private static Attribute digit() { FastVector possibleClasses = new FastVector(10); possibleClasses.addElement("0"); possibleClasses.addElement("1"); possibleClasses.addElement("2"); possibleClasses.addElement("3"); possibleClasses.addElement("4"); possibleClasses.addElement("5"); possibleClasses.addElement("6"); possibleClasses.addElement("7"); possibleClasses.addElement("8"); possibleClasses.addElement("9"); return new Attribute("label", possibleClasses, 0); } } ---- The code in the +++<cite>+++KaggleInputReader+++</cite>+++ is used to process the CSV file and is the same as that included http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-mahout-random-forest-attempt/[in a previous post] so I won't bother including it in this post. The Weka API is slightly different to the Mahout one in that we have to tell it the names of all the labels that a combination of features belong to whereas with Mahout it seems to work it out for you. Wf use the +++<cite>+++RandomForest+++</cite>+++ class to build up our trees and then wrap it in the +++<cite>+++MultiBoostAB+++</cite>+++ class to apply the boosting. There is another class we could use to do this called +++<cite>+++AdaBoostM1+++</cite>+++ but they both seem to give similar results so we stuck with this one. Once we'd trained the classifier up we ran it against our test data set like so: [source,java] ---- public class WekaAdaBoostRandomForest { public static void main(String[] args) { ... String[] testDataValues = KaggleInputReader.fileAsStringArray("data/test.csv"); FileWriter fileWriter = new FileWriter("weka-attempts/out-" + System.currentTimeMillis() + ".txt"); PrintWriter out = new PrintWriter(fileWriter); for (String testDataValue : testDataValues) { Iteration iterate = iterate(testDataValue, classifier, instances); out.println((int) iterate.getPrediction()); System.out.println("Actual: " + iterate.getActual() + ", Prediction: " + iterate.getPrediction()); } out.close(); } private static Iteration iterate(String testDataValue, Classifier classifier, Instances instances) throws Exception { Instance predictMe = createTestDataBasedInstanceToPredict(testDataValue, instances); double prediction = classifier.classifyInstance(predictMe); return new Iteration(new Double(testDataValue.split(",")[0]), prediction); } private static Instance createTestDataBasedInstanceToPredict(String testDataValue, Instances instances) { String[] columns = testDataValue.split(","); Instance instance = new Instance(785); for (int i = 0; i < columns.length; i++) { instance.setValue(new Attribute("pixel" + i, i+1), new Double(columns[i])); } instance.setDataset(instances); return instance; } } ---- We got an accuracy of 96.529% with this code which is 0.2% higher than we managed with the Mahout Random forest without any boosting. The https://github.com/jennifersmith/machinenursery/blob/master/src/main/java/WekaPlaybox.java[full code for this solution is on github] as always! We still haven't managed to get an accuracy higher than the default solution provided by Kaggle so any suggestions about what else to try are welcome! We've been playing around with neural networks using http://www.heatonresearch.com/encog[encog] but they seem a bit magical and the moment and it's difficult to work out why they don't work when you don't get the result you expect!
null
null
[ 0.0035146677400916815, -0.030463913455605507, -0.023270979523658752, 0.03981420025229454, 0.06379035860300064, 0.02083202265202999, 0.03421417251229286, 0.011009983718395233, -0.010431088507175446, -0.006848199293017387, -0.008615406230092049, -0.015969906002283096, -0.06451056152582169, 0.005020880606025457, -0.03031717613339424, 0.055251672863960266, 0.0712917149066925, 0.017226917669177055, 0.022017501294612885, 0.014468546956777573, 0.011190880089998245, 0.04556681588292122, 0.023460054770112038, 0.03702043741941452, 0.04271521791815758, 0.015750907361507416, 0.025793693959712982, 0.008259989321231842, -0.05147887393832207, -0.006733831483870745, 0.04540551081299782, 0.029935454949736595, 0.006278093438595533, -0.013025088235735893, 0.035273320972919464, 0.0052478257566690445, -0.030017804354429245, 0.013292388990521431, 0.03176421299576759, 0.027394279837608337, -0.054860617965459824, 0.04045199602842331, -0.010237226262688637, 0.039781469851732254, -0.04668056592345238, 0.023161575198173523, -0.0739152804017067, 0.010502828285098076, 0.027915170416235924, 0.002958375960588455, -0.0696757510304451, 0.030142175033688545, -0.011555282399058342, -0.0010618859669193625, 0.02509429305791855, 0.05620260536670685, 0.03734435886144638, -0.06303240358829498, 0.07072722911834717, -0.044675905257463455, -0.020358126610517502, -0.01350887306034565, -0.006679114419966936, 0.026247259229421616, -0.022973908111453056, -0.03531771898269653, -0.016388289630413055, 0.042188696563243866, -0.038826651871204376, -0.02130325324833393, -0.011644802056252956, -0.008909293450415134, 0.00008785754471318796, -0.006036850158125162, 0.01869504153728485, -0.04523150995373726, -0.009430080652236938, 0.06708182394504547, 0.01924864947795868, 0.02603807859122753, -0.0170193612575531, -0.019858913496136665, 0.05489553511142731, 0.02186720445752144, -0.008992249146103859, -0.01869231089949608, -0.04037250950932503, -0.03846895322203636, -0.05699005350470543, 0.04930376261472702, 0.017152410000562668, -0.03351742401719093, -0.006681925151497126, 0.017138468101620674, -0.005008171312510967, 0.02107660472393036, 0.01086982898414135, -0.03023034892976284, -0.004657797981053591, -0.014984331093728542, -0.02902081049978733, -0.026701178401708603, 0.01804497465491295, 0.02197575941681862, -0.10606895387172699, -0.001111396006308496, -0.005979064851999283, -0.010920269414782524, -0.005105405580252409, 0.0034016924910247326, -0.04270032420754433, 0.007799243554472923, -0.00383317400701344, -0.0038920938968658447, -0.08296900242567062, 0.05776581913232803, -0.0019081805367022753, -0.01686803251504898, -0.01756945811212063, 0.03085891157388687, 0.057569850236177444, 0.048688773065805435, -0.006579334381967783, 0.07542064785957336, -0.03883001580834389, 0.023322492837905884, 0.031019728630781174, 0.05500493943691254, 0.0006601659115403891, -0.06375642120838165, -0.012411010451614857, 0.03877194598317146, 0.002305320929735899, 0.039990853518247604, -0.010914793238043785, -0.023222221061587334, -0.025797558948397636, 0.010373836383223534, 0.06724632531404495, 0.018669700250029564, -0.0068307314068078995, -0.03719266504049301, 0.02032778598368168, -0.011760346591472626, 0.018284589052200317, 0.008771346881985664, -0.014943383634090424, -0.02142375521361828, -0.04652542993426323, 0.02051864191889763, 0.02150687202811241, 0.02514203079044819, 0.05405151844024658, -0.03745237737894058, -0.009502324275672436, 0.10381167382001877, -0.0012878654524683952, 0.005649990402162075, 0.007050235755741596, 0.026228105649352074, 0.019723212346434593, 0.020353011786937714, 0.008260422386229038, 0.04669617861509323, -0.00021990526875015348, -0.005504532717168331, 0.03676973655819893, 0.05559979006648064, -0.03127208352088928, 0.013662436045706272, -0.04167057201266289, -0.05343012139201164, 0.0268641859292984, -0.057073067873716354, -0.001652746694162488, 0.028234271332621574, 0.06156754866242409, 0.009158764965832233, 0.046707428991794586, 0.027115652337670326, -0.06963104754686356, 0.040852535516023636, 0.026673629879951477, 0.025240737944841385, 0.012333620339632034, 0.008574292995035648, 0.09219414740800858, 0.018138308078050613, 0.03580256551504135, 0.04534776881337166, -0.06995712220668793, -0.04800083488225937, -0.023953918367624283, -0.0169225987046957, 0.0837288573384285, -0.017494967207312584, 0.0155213363468647, 0.04179581627249718, 0.023015137761831284, 0.03445635363459587, 0.05190546065568924, -0.041173599660396576, 0.0038133475463837385, -0.03782345727086067, -0.07246772944927216, 0.028507011011242867, 0.02058074064552784, -0.05813726782798767, -0.04135880991816521, 0.002926205052062869, -0.004841074347496033, 0.00809364765882492, 0.004598189610987902, -0.014024315401911736, 0.03651263564825058, 0.05199802666902542, 0.030632425099611282, -0.027078421786427498, 0.048497993499040604, -0.0383010171353817, 0.0006300819222815335, -0.0015499794390052557, -0.019685156643390656, -0.008413094095885754, 0.04967121407389641, 0.13155269622802734, 0.04023953154683113, -0.011331594549119473, -0.04829559475183487, 0.015636304393410683, -0.004007497802376747, -0.05307517945766449, 0.011689641512930393, -0.01650361344218254, 0.012523193843662739, -0.006187995430082083, -0.03890727087855339, -0.04690304026007652, 0.03546277806162834, -0.02795085497200489, -0.016042178496718407, 0.08897184580564499, -0.055196553468704224, 0.036059316247701645, 0.03438970819115639, -0.02245991677045822, 0.008428491652011871, -0.01971885934472084, -0.056819383054971695, 0.0013046879321336746, 0.011491925455629826, -0.006912345066666603, 0.024172073230147362, -0.028632542118430138, -0.030192092061042786, -0.01586555689573288, -0.028334397822618484, 0.016760582104325294, 0.057361502200365067, 0.06618739664554596, 0.03100547380745411, 0.023493638262152672, -0.050203125923871994, -0.00950897391885519, -0.011753047816455364, -0.05429063364863396, -0.00668700784444809, -0.02630286104977131, 0.024257715791463852, 0.03343099355697632, -0.004589076619595289, -0.021186891943216324, 0.05675840377807617, 0.003051060950383544, -0.006437433883547783, -0.016641680151224136, 0.02970552071928978, 0.03299463167786598, -0.02384185418486595, -0.04461200162768364, -0.04692353680729866, 0.035111621022224426, -0.015907175838947296, -0.016696540638804436, 0.0066438112407922745, -0.05911422520875931, 0.02751440368592739, -0.07002320140600204, -0.06325211375951767, 0.01946931518614292, 0.01623944565653801, 0.04424609988927841, 0.005531818140298128, 0.007928497157990932, 0.06464960426092148, 0.005571042653173208, -0.0005810282309539616, 0.03664730116724968, -0.00251197861507535, 0.05073213204741478, -0.00648888386785984, 0.026655536144971848, 0.02715434692800045, -0.022862955927848816, -0.019392086192965508, -0.024080032482743263, 0.013043491169810295, -0.017075277864933014, -0.2813107967376709, 0.032609615474939346, 0.001746850204654038, -0.05043911188840866, -0.009949488565325737, -0.026540027931332588, 0.01476268284022808, -0.036892104893922806, -0.0067212264984846115, 0.031411733478307724, -0.036728739738464355, -0.014867408201098442, -0.034851688891649246, 0.0457209013402462, -0.005049244966357946, -0.00811230018734932, 0.00867969635874033, -0.025549137964844704, 0.017791304737329483, 0.06158215552568436, -0.0028562755323946476, -0.05090315267443657, -0.007659213151782751, 0.040288154035806656, 0.01374159287661314, 0.06376727670431137, -0.07703260332345963, 0.01674160547554493, -0.01912633702158928, -0.022268936038017273, 0.021088356152176857, -0.027815280482172966, 0.016018783673644066, -0.00510975020006299, -0.017619822174310684, -0.03183107450604439, 0.029948215931653976, 0.03241395577788353, -0.009161172434687614, 0.029863089323043823, -0.01778915338218212, -0.06033015251159668, -0.004834075458347797, 0.002794480649754405, 0.08773340284824371, 0.021335788071155548, -0.07712488621473312, -0.002231427002698183, -0.04252321273088455, 0.07754646986722946, -0.019973047077655792, -0.03770299628376961, -0.005970422178506851, 0.0381806381046772, -0.0009781819535419345, -0.014307071454823017, 0.01988975703716278, -0.004169736057519913, -0.05418175831437111, -0.04788626357913017, -0.02809746004641056, -0.03406698256731033, -0.0013754887040704489, -0.07968386262655258, -0.018360352143645287, -0.08479206264019012, -0.06905471533536911, 0.003330655861645937, 0.07725296169519424, 0.010102271102368832, -0.02319958433508873, 0.002383058425039053, -0.009791813790798187, -0.1095871850848198, -0.011405558325350285, -0.04819882661104202, -0.017919473350048065, -0.01171046867966652, -0.02008330449461937, 0.10012948513031006, -0.048102255910634995, -0.053310055285692215, 0.03948017954826355, -0.0018283829558640718, 0.028896721079945564, -0.006759104318916798, 0.008571104146540165, 0.021096741780638695, 0.017010986804962158, -0.005717036314308643, 0.05846251919865608, 0.004274651408195496, -0.03455420210957527, -0.024831537157297134, 0.025799527764320374, 0.05783110484480858, 0.027802659198641777, -0.016517093405127525, 0.03312758356332779, 0.024153536185622215, 0.020772209390997887, -0.03445414453744888, 0.015521138906478882, -0.023127185180783272, -0.02041495218873024, -0.013916388154029846, -0.06931904703378677, -0.007499098777770996, 0.02867806702852249, 0.014832773245871067, -0.018218977376818657, -0.050610221922397614, 0.01564168557524681, -0.050570983439683914, -0.02682037465274334, 0.00883437693119049, 0.001300109433941543, 0.0006746719591319561, 0.007321963552385569, -0.0282820463180542, -0.04274223372340202, 0.01900094375014305, 0.0005825289990752935, -0.056379519402980804, -0.034963253885507584, -0.030868826434016228, -0.006238388363271952, -0.013303111307322979, -0.03479688614606857, -0.021316928789019585, -0.006816535722464323, 0.038102585822343826, 0.013232944533228874, -0.008800904266536236, 0.014044965617358685, 0.0060357400216162205, -0.011879569850862026, -0.04355355352163315, 0.04071406275033951, -0.00507343327626586, -0.01020076870918274, -0.022020477801561356, 0.013902350328862667, 0.01970973238348961, 0.06196935847401619, -0.015873877331614494, 0.020982641726732254, 0.002562692854553461, -0.005711780861020088, -0.03297262638807297, 0.023881789296865463, -0.04062006250023842, 0.014236715622246265, -0.03759687766432762, -0.030642922967672348, -0.00782301276922226, 0.04025106504559517, 0.002135898917913437, -0.027695100754499435, -0.07524508982896805, 0.04655122756958008, -0.024429822340607643, 0.01995488442480564, -0.041208017617464066, 0.028283191844820976, 0.06509435176849365, -0.01243722252547741, 0.040307167917490005, -0.009684734046459198, -0.023741858080029488, 0.01741407811641693, -0.018197502940893173, -0.06669684499502182, 0.0304731372743845, -0.019891245290637016, -0.008847985416650772, 0.016232406720519066, 0.019242433831095695, 0.02323509193956852, 0.018605107441544533, -0.024358542636036873, 0.0006786445737816393, -0.008087447844445705, -0.015825923532247543, 0.06834886968135834, 0.039247721433639526, -0.02328280359506607, 0.02382265403866768, -0.01517278142273426, -0.013681445270776749, -0.019989242777228355, -0.008622448891401291, -0.006419421639293432, 0.011294594965875149, -0.020196551457047462, -0.061815593391656876, -0.015099325217306614, 0.0039286683313548565, -0.006600061897188425, 0.016636481508612633, -0.02839392051100731, 0.004131724126636982, -0.016681507229804993, 0.0329773984849453, 0.06893648207187653, -0.07543573528528214, 0.0011969325132668018, 0.00606574909761548, -0.02456478588283062, 0.019913066178560257, 0.006307163741439581, -0.06860563158988953, -0.004128690809011459, -0.015998536720871925, 0.0025215765926986933, -0.05311095714569092, -0.058745451271533966, -0.014042696915566921, 0.019452834501862526, -0.019532596692442894, -0.007788751740008593, -0.008825979195535183, -0.00792517140507698, -0.027134042233228683, -0.0018663075752556324, 0.01083521917462349, 0.014390218071639538, -0.014756514690816402, 0.017953433096408844, -0.03541085124015808, 0.0044583966955542564, -0.021317239850759506, 0.012594792060554028, 0.04175092279911041, -0.01426265574991703, -0.0002997844130732119, -0.05167710408568382, 0.03389665484428406, 0.03366725146770477, 0.056317783892154694, 0.011328548192977905, 0.019472859799861908, -0.044411756098270416, 0.01335527841001749, -0.03293057903647423, 0.006332291290163994, -0.01190229319036007, -0.018305189907550812, 0.021360216662287712, 0.030160801485180855, -0.013722819276154041, 0.03812376782298088, -0.021004701033234596, -0.005428478587418795, 0.069248728454113, -0.043103840202093124, -0.04691578075289726, -0.00894082523882389, -0.040985357016325, 0.022089539095759392, 0.014873002655804157, 0.02979823760688305, -0.015012918040156364, 0.054942693561315536, 0.03056749328970909, -0.001885408302769065, -0.01666487753391266, 0.0027656301390379667, 0.02957114577293396, -0.028736993670463562, -0.015603023581206799, -0.09269076585769653, -0.016644980758428574, 0.06046300753951073, 0.0013880899641662836, -0.002438564319163561, -0.03863276168704033, -0.027410045266151428, 0.0036954896058887243, -0.06702671945095062, -0.0019724208395928144, 0.05669138580560684, -0.016085309907794, -0.000820657704025507, -0.004459073767066002, -0.029568102210760117, 0.048648983240127563, 0.016823656857013702, -0.02968183159828186, -0.021568603813648224, -0.03990877419710159, 0.06074528768658638, 0.004180420655757189, 0.017415881156921387, -0.017738666385412216, -0.004555207211524248, 0.06321907043457031, 0.008640259504318237, 0.032481808215379715, 0.03578546643257141, -0.022596325725317, 0.054074618965387344, 0.036277443170547485, -0.017669716849923134, -0.013127445243299007, 0.02984539605677128, -0.0017457220237702131, -0.06266515702009201, 0.03866463527083397, -0.004413684364408255, -0.018145713955163956, -0.05126168206334114, 0.058440499007701874, 0.036997754126787186, -0.037503357976675034, -0.043109700083732605, 0.03511325269937515, -0.04830685257911682, -0.003551902947947383, -0.030835608020424843, 0.004838563501834869, -0.05176052451133728, 0.061384908854961395, -0.006588871590793133, 0.0014745737425982952, 0.0620730035007, 0.002712385496124625, -0.01076039019972086, 0.015018641948699951, 0.08461692929267883, 0.07034046947956085, 0.03523337468504906, 0.023890510201454163, 0.06424178928136826, -0.01801401376724243, -0.05491121485829353, -0.00013611550093628466, -0.003258681623265147, -0.01920395903289318, -0.03639524057507515, 0.023831471800804138, 0.066892609000206, 0.004533194936811924, 0.08318032324314117, -0.03736144304275513, 0.007483500987291336, 0.022637097164988518, 0.022216742858290672, 0.03031771443784237, 0.03775757551193237, -0.0000432899541920051, 0.03220457583665848, -0.034001853317022324, -0.026385212317109108, 0.021202974021434784, -0.0010342462919652462, -0.02107221819460392, 0.013876617886126041, -0.01704614982008934, 0.027371693402528763, 0.00972752645611763, 0.05335313826799393, 0.07751686125993729, -0.024765050038695335, -0.008337966166436672, -0.003974441438913345, 0.04308413714170456, 0.026518793776631355, 0.014612972736358643, -0.026802891865372658, -0.011668773368000984, -0.024119090288877487, -0.012573322281241417, -0.00013958224735688418, -0.027876675128936768, -0.008417055010795593, -0.004426883067935705, -0.034063782542943954, 0.004223340190947056, 0.02274654246866703, 0.009215107187628746, -0.033104002475738525, -0.03920137509703636, -0.025240153074264526, -0.037614606320858, -0.07516857236623764, -0.025252651423215866, 0.010432198643684387, 0.005720504559576511, -0.010629178024828434, -0.011862946674227715, -0.016372492536902428, -0.011805880814790726, 0.02877897024154663, -0.050783175975084305, -0.017232712358236313, 0.020154330879449844, 0.026201646775007248, 0.019579870626330376, 0.02805604599416256, 0.04298735409975052, 0.0050631435588002205, -0.011157154105603695, -0.014867584221065044, 0.0009582981001585722, 0.05219956859946251, 0.02103267051279545, -0.00725269690155983, -0.07483193278312683, 0.011014765128493309, 0.017339443787932396, -0.025131119415163994, -0.0649307519197464, 0.0023827184922993183, 0.03081589937210083, 0.0036436268128454685, 0.04431925714015961, 0.014477645978331566, -0.032366007566452026, -0.048874255269765854, -0.03259564936161041, -0.009534304030239582, 0.0008842842653393745, 0.03439553454518318, 0.007375346031039953, 0.09713052213191986, 0.030061084777116776, -0.026885543018579483, -0.05302179604768753, -0.03183517977595329, -0.008525996468961239, 0.007360619958490133, -0.05282292142510414, -0.03415888920426369, -0.05164313316345215, -0.07498442381620407, -0.009917933493852615, 0.029550131410360336, -0.041408129036426544, -0.028980176895856857, -0.01750366948544979, 0.022509491071105003, -0.003388176904991269, 0.014923769980669022, -0.03636664152145386, 0.021597974002361298, -0.027676666155457497, -0.01554542500525713, -0.02189897932112217, 0.011792868375778198, -0.051549334079027176, 0.008609621785581112, 0.024068325757980347, -0.040328025817871094, 0.004660557024180889, -0.026410439983010292, 0.028014561161398888, 0.03967699408531189, -0.01580500602722168, -0.03556698188185692 ]
[ -0.10345911234617233, -0.023707568645477295, -0.04070141911506653, -0.01911442168056965, 0.04976470395922661, -0.013832050375640392, -0.0012327294098213315, 0.002706131199374795, -0.006277155131101608, -0.0010311047080904245, 0.046076953411102295, -0.08058701455593109, -0.024426797404885292, -0.011251973919570446, 0.10598018020391464, 0.04634495824575424, 0.015862494707107544, -0.037168823182582855, -0.023636726662516594, 0.015719950199127197, 0.019946353510022163, -0.022334499284625053, -0.037225138396024704, -0.06579724699258804, 0.02031542733311653, -0.01655753329396248, 0.03967016562819481, -0.050408609211444855, -0.0005465540452860296, -0.21399091184139252, 0.03757043927907944, -0.023701023310422897, 0.08280744403600693, -0.02145599201321602, -0.007090569473803043, 0.05346400663256645, 0.02827557921409607, 0.037801072001457214, -0.024115102365612984, 0.03175428882241249, 0.0029795116279274225, 0.008376117795705795, -0.05245969071984291, -0.04253599792718887, 0.041602905839681625, -0.006866742391139269, -0.0070587643422186375, -0.019930990412831306, -0.07912259548902512, 0.01325115654617548, -0.04707135632634163, -0.013652848079800606, 0.011038347147405148, -0.008387160487473011, 0.007228740956634283, 0.013137610629200935, 0.050614554435014725, 0.07521119713783264, 0.03088884800672531, 0.027993030846118927, 0.009692673571407795, 0.013217171654105186, -0.13706760108470917, 0.05471663177013397, 0.01861293613910675, 0.040080852806568146, -0.020212026312947273, -0.048960454761981964, -0.02180425450205803, 0.08768632262945175, 0.07044583559036255, 0.0077545493841171265, -0.018970081582665443, 0.012312867678701878, 0.018602197989821434, 0.010237760841846466, 0.011431257240474224, 0.011400867253541946, 0.04820328205823898, -0.017252424731850624, -0.04115360975265503, 0.0018933176761493087, -0.037602994590997696, -0.003683281596750021, -0.00740077905356884, 0.015259643085300922, -0.0231438297778368, 0.017325984314084053, 0.00931581761687994, 0.04736112803220749, 0.01981101557612419, 0.02349255234003067, 0.017263969406485558, -0.008106803521513939, -0.07686236500740051, -0.0019310464849695563, -0.0040261815302073956, 0.017898760735988617, -0.03711768239736557, 0.42921003699302673, -0.0243956558406353, 0.012929832562804222, 0.031215254217386246, 0.018945658579468727, -0.010622587986290455, -0.028006641194224358, -0.010817776434123516, -0.04117298498749733, 0.00852927379310131, -0.045954324305057526, 0.029617996886372566, -0.011021126993000507, 0.029502002522349358, -0.01051296666264534, -0.025509480386972427, -0.011880961246788502, 0.03482585772871971, 0.05840964615345001, 0.005808958783745766, 0.023618273437023163, -0.03833899646997452, 0.007667258847504854, 0.02132231369614601, -0.025536268949508667, 0.025240937247872353, 0.005109330639243126, 0.019542193040251732, 0.07072589546442032, 0.05513348430395126, 0.017635338008403778, 0.04287395626306534, -0.059076350182294846, -0.09246170520782471, -0.017046120017766953, 0.004329518415033817, -0.024737585335969925, 0.04703842103481293, -0.006677946541458368, -0.013459783978760242, 0.03033965267241001, -0.0062451716512441635, 0.026276735588908195, 0.06790298968553543, -0.015187704935669899, -0.05752912908792496, 0.1069476380944252, -0.0076709529384970665, -0.019113663583993912, -0.013315865769982338, -0.07154438644647598, 0.01721016690135002, 0.014850163832306862, -0.014593319036066532, -0.06782913208007812, 0.04252723976969719, 0.029602281749248505, 0.08518412709236145, -0.034028999507427216, -0.05503212660551071, -0.0004365467466413975, -0.03351220488548279, -0.013329565525054932, 0.0007984481053426862, 0.019276386126875877, 0.07258176803588867, -0.09655502438545227, -0.02273605391383171, 0.0018846786115318537, 0.014791280962526798, -0.05704084038734436, 0.01549459621310234, 0.03231675550341606, -0.007954420521855354, 0.025679459795355797, 0.03439769521355629, -0.044698093086481094, -0.05129203572869301, -0.007802361622452736, 0.02883416786789894, -0.002415580442175269, 0.012191484682261944, -0.012801075354218483, -0.03042849339544773, -0.0003712536708917469, -0.04058345779776573, -0.04555412381887436, -0.04679840803146362, -0.02531859464943409, -0.023030908778309822, 0.010231627151370049, -0.00546104833483696, -0.02292557619512081, -0.06851298362016678, 0.05472692474722862, -0.0015607464592903852, -0.04089181497693062, 0.016753319650888443, -0.007655065041035414, -0.01648855395615101, -0.030640913173556328, -0.06146867945790291, 0.04040475934743881, -0.00958519522100687, -0.007089697290211916, -0.05881346017122269, 0.026761190965771675, 0.046187642961740494, -0.04860101640224457, 0.0879853218793869, 0.027632225304841995, -0.0014807147672399879, -0.03685881942510605, -0.011828536167740822, 0.033661507070064545, -0.023985618725419044, 0.006902633234858513, 0.0025905990041792393, 0.016489868983626366, -0.0013549233553931117, 0.03346271812915802, -0.0194559246301651, 0.0002521514252293855, -0.041317135095596313, -0.3594854772090912, -0.0413484089076519, 0.024421559646725655, 0.004475147929042578, -0.0021771914325654507, -0.07099785655736923, 0.007481354288756847, -0.003400913206860423, 0.004615537356585264, 0.016737226396799088, 0.09134266525506973, -0.01106266025453806, -0.0018968555377796292, -0.05040968954563141, -0.003655669977888465, 0.03930632397532463, -0.032011039555072784, -0.04989928379654884, -0.022027749568223953, 0.0018223095685243607, 0.0038661917205899954, 0.027976032346487045, 0.024842508137226105, -0.06488803029060364, 0.012026221491396427, -0.03092186525464058, 0.0993141159415245, 0.024805523455142975, 0.06644455343484879, -0.024851102381944656, 0.0497775599360466, -0.005050331819802523, -0.022889764979481697, -0.06882328540086746, 0.04651512950658798, -0.05772040784358978, 0.0005747156101278961, -0.016153020784258842, 0.014031456783413887, -0.005776274483650923, -0.06130599603056908, 0.05137941986322403, -0.034016091376543045, -0.05611211434006691, -0.05660829693078995, 0.02213919721543789, -0.04749125987291336, -0.03057340905070305, -0.02377045340836048, 0.04569428414106369, 0.0021969149820506573, 0.02265055850148201, 0.045487333089113235, -0.002859095809981227, 0.00451493076980114, -0.04493086412549019, -0.09041924774646759, 0.013437650166451931, -0.007003021892160177, -0.01565844938158989, 0.044415369629859924, -0.002383122919127345, 0.011893212795257568, -0.09619719535112381, 0.021176189184188843, -0.0022048582322895527, -0.029924701899290085, 0.01591717079281807, 0.02714965119957924, -0.03151291236281395, -0.014781483449041843, 0.11116472631692886, 0.0176224485039711, 0.023205989971756935, 0.0695795789361, 0.02466050162911415, 0.003779809921979904, -0.00815180316567421, 0.016994299367070198, 0.02562326192855835, 0.03465509042143822, -0.009105420671403408, 0.04156472533941269, -0.025851262733340263, -0.0018127375515177846, 0.008781543001532555, 0.015519353561103344, -0.01381651684641838, 0.05788329616189003, 0.0545593798160553, -0.0013183113187551498, 0.005813836585730314, -0.007718217559158802, -0.051341306418180466, 0.08151023089885712, 0.007004216313362122, -0.2533429265022278, 0.020590268075466156, 0.0481288768351078, 0.07233158499002457, -0.006042949855327606, 0.011279423721134663, 0.04714542627334595, -0.06475988775491714, 0.01454806700348854, 0.0007866049418225884, -0.005718700587749481, 0.04650590568780899, 0.03491634875535965, -0.002759175840765238, 0.025902235880494118, -0.006569729186594486, 0.0224168561398983, 0.0013600707752630115, 0.03153249993920326, -0.038471970707178116, 0.03556840121746063, -0.01989900879561901, 0.17608295381069183, -0.00046275719068944454, 0.0063433172181248665, 0.024787040427327156, -0.045225296169519424, -0.03862253576517105, 0.07787327468395233, -0.027421999722719193, 0.009759058244526386, 0.02082858234643936, 0.07137657701969147, 0.012241528369486332, 0.0507674366235733, -0.0067187040112912655, -0.0035580105613917112, -0.0020808717235922813, 0.01393134519457817, -0.02717684768140316, 0.0305168554186821, 0.014958717860281467, -0.030909085646271706, 0.015584970824420452, 0.06742236018180847, -0.03226601704955101, 0.02097160741686821, -0.03629354014992714, -0.05602557212114334, 0.0077408915385603905, -0.009138557128608227, -0.05006970465183258, -0.018770191818475723, -0.016337910667061806, 0.009132382459938526, 0.07644956558942795, 0.015490804798901081, -0.034333642572164536, -0.036954883486032486, -0.004089356400072575, -0.010586941614747047, -0.02925519272685051, 0.06181987747550011, 0.0012665980029851198, 0.025314215570688248 ]
[ -0.03234671801328659, 0.009783144108951092, -0.056780263781547546, 0.03355010226368904, 0.009361430071294308, 0.022187691181898117, 0.017264779657125473, 0.006817962042987347, -0.025706468150019646, -0.004333015531301498, -0.022406797856092453, 0.011025101877748966, 0.01061253435909748, -0.03889556974172592, -0.009082960896193981, 0.001492478884756565, -0.028648681938648224, 0.0310202706605196, 0.026315955445170403, -0.008867648430168629, -0.015811100602149963, 0.019618671387434006, 0.005029695574194193, 0.016290294006466866, 0.00185208220500499, -0.029237445443868637, -0.046551577746868134, -0.0005178674473427236, 0.031853485852479935, -0.11662165075540543, -0.04751007258892059, -0.060647595673799515, 0.0033213552087545395, 0.01281709223985672, -0.04598913714289665, -0.02218516357243061, -0.02185862511396408, 0.009399720467627048, -0.03649250045418739, 0.026084819808602333, 0.001394299790263176, -0.011709803715348244, -0.006091797724366188, -0.00278598559089005, -0.0022394859697669744, 0.013022590428590775, -0.034735631197690964, -0.013826747424900532, -0.03679273650050163, -0.011489680968225002, -0.0427168607711792, -0.04059039056301117, -0.013578033074736595, 0.03053879365324974, -0.020474812015891075, -0.030082479119300842, -0.011618560180068016, 0.013289320282638073, 0.028511084616184235, 0.0019812090322375298, 0.03099430538713932, -0.00509765325114131, 0.004906628280878067, -0.030015738680958748, 0.0051531135104596615, -0.030784396454691887, -0.04449324309825897, -0.00006791836494812742, 0.011816881597042084, -0.007800481282174587, 0.023555787280201912, 0.018568333238363266, -0.00019928191613871604, -0.013022851198911667, 0.018649375066161156, 0.019148143008351326, -0.008404087275266647, 0.02975650504231453, 0.0416451096534729, -0.0050445739179849625, -0.03887022286653519, 0.018122931942343712, 0.003789870534092188, -0.008539515547454357, 0.006117123179137707, -0.006917146500200033, -0.01268782839179039, 0.0326404944062233, -0.034656133502721786, 0.00933006964623928, -0.008150595240294933, 0.029835201799869537, -0.02621614560484886, 0.034511130303144455, -0.09876075387001038, 0.031271468847990036, -0.009360679425299168, -0.006921971216797829, 0.0005153528181836009, 0.8388041853904724, -0.012335501611232758, 0.05000272020697594, 0.0449843555688858, 0.031215837225317955, 0.013496466912329197, -0.01531604491174221, -0.022450191900134087, -0.02728591486811638, 0.040855683386325836, -0.019141044467687607, 0.0033016514498740435, 0.016767673194408417, 0.016768954694271088, 0.04700629040598869, 0.020591039210557938, 0.004518344532698393, -0.007964988239109516, 0.013860364444553852, 0.004005607683211565, 0.030711909756064415, -0.028782811015844345, -0.029410600662231445, -0.01440160721540451, -0.018013060092926025, 0.023056572303175926, -0.15157262980937958, 0.0003219611826352775, -7.52204639094539e-33, 0.0645885318517685, -0.0040588234551250935, 0.0265771746635437, -0.0063207875937223434, 0.01804424077272415, -0.03397155925631523, -0.006114011164754629, -0.020021425560116768, -0.03437437489628792, -0.007756989449262619, -0.03120063617825508, 0.005247022490948439, 0.031032582744956017, -0.015033802948892117, 0.037166304886341095, 0.005967006087303162, -0.02621776983141899, 0.003513287054374814, 0.02432103641331196, -0.006254053208976984, 0.06340418010950089, 0.02342677116394043, -0.01686314307153225, 0.02453741990029812, 0.029751893132925034, 0.023200903087854385, 0.024802129715681076, 0.0023735659196972847, -0.010866357013583183, -0.03450048342347145, -0.015757961198687553, 0.0027325076516717672, -0.004890440031886101, -0.05696086212992668, 0.00958448275923729, -0.06133563816547394, 0.009254397824406624, 0.022036265581846237, -0.031955040991306305, -0.04543828219175339, 0.0059062400832772255, -0.026947958394885063, -0.004608233459293842, -0.013642100617289543, -0.032504573464393616, 0.030389301478862762, 0.041492268443107605, 0.019894201308488846, -0.024230165407061577, -0.00891696847975254, -0.008324029855430126, 0.004763353615999222, 0.02154655009508133, 0.009547559544444084, -0.026931384578347206, 0.043287355452775955, -0.004943716339766979, 0.028008367866277695, 0.008683656342327595, 0.018446676433086395, 0.013943646103143692, -0.032502181828022, 0.003297162242233753, 0.0031700418330729008, -0.03627174720168114, -0.042179521173238754, 0.030629517510533333, -0.04988878220319748, 0.01875481568276882, 0.00551288016140461, -0.007350843399763107, -0.02265743911266327, -0.03756831958889961, -0.027072856202721596, -0.012120801955461502, -0.0197736993432045, 0.03761409595608711, 0.02544444054365158, -0.02183949016034603, 0.04196106269955635, 0.014780711382627487, -0.004751816391944885, 0.01940727047622204, -0.01668979413807392, 0.014193697832524776, -0.013693208806216717, 0.009369568899273872, -0.02741256169974804, 0.04218053072690964, 0.025228358805179596, 0.03396940603852272, 0.044200241565704346, 0.0008060354739427567, -0.017352784052491188, -0.010509122163057327, 7.842188603971993e-33, -0.0025545465759932995, -0.02665802463889122, -0.0023848817218095064, 0.002295582089573145, 0.02488190121948719, 0.012042559683322906, -0.016738664358854294, 0.006940476130694151, -0.05278097093105316, 0.007243703585118055, -0.012667751871049404, -0.005168054718524218, -0.021323060616850853, 0.007354704197496176, 0.05203769728541374, -0.01570788584649563, 0.00944481324404478, 0.046308793127536774, 0.016569169238209724, 0.015980932861566544, 0.054920099675655365, 0.034783799201250076, -0.00047685543540865183, 0.017040450125932693, 0.003095197258517146, 0.04064258188009262, -0.012549024075269699, 0.045196741819381714, -0.004940520506352186, 0.019610462710261345, 0.010894727893173695, -0.033282164484262466, -0.004277458880096674, -0.02117602527141571, -0.07692211866378784, -0.009815778583288193, 0.0066912234760820866, -0.04127087444067001, 0.024812564253807068, 0.03982876241207123, 0.00927117932587862, -0.005770982708781958, -0.03851772099733353, 0.018833409994840622, 0.01937071606516838, -0.006616637576371431, 0.008911501616239548, 0.027028584852814674, 0.00825369730591774, 0.011358109302818775, 0.01106850616633892, 0.016035201027989388, -0.012195901945233345, 0.05665438249707222, 0.000941832026001066, 0.002826853422448039, -0.032578110694885254, 0.027751529589295387, -0.022709744051098824, 0.019504472613334656, -0.03047572821378708, -0.010615111328661442, -0.0230212714523077, -0.021016204729676247, -0.02391144260764122, -0.009562097489833832, 0.0310658011585474, -0.04110320284962654, 0.017011672258377075, -0.01485944353044033, -0.037686947733163834, 0.01705119013786316, 0.014835355803370476, 0.06766058504581451, 0.004680482670664787, -0.014853986911475658, -0.023501042276620865, 0.021897057071328163, -0.012343770824372768, 0.010652908124029636, 0.023081287741661072, 0.00618903199210763, 0.033517833799123764, -0.0019251990597695112, 0.0444452203810215, 0.040082450956106186, 0.017872905358672142, 0.015050336718559265, 0.018145831301808357, -0.061035409569740295, -0.0021473001688718796, 0.02580348774790764, 0.0075444490648806095, 0.03230058774352074, -0.024718765169382095, -1.2922104275503443e-8, -0.009893135167658329, 0.03667740523815155, -0.017732257023453712, 0.008296933956444263, 0.031960561871528625, 0.024448199197649956, 0.0008582393638789654, 0.02711140550673008, -0.041049543768167496, -0.0191635824739933, 0.046048957854509354, -0.015111773274838924, -0.007967966608703136, -0.0015287058195099235, 0.029103683307766914, -0.04271239787340164, -0.0011276513105258346, 0.009754138998687267, 0.022724701091647148, 0.03705327585339546, 0.014272207394242287, 0.038779616355895996, 0.0010995636694133282, 0.0038650252390652895, 0.010625542141497135, -0.034134186804294586, 0.013339381664991379, -0.05442328751087189, 0.024909699335694313, 0.008749348111450672, -0.03483417257666588, -0.02192467264831066, -0.015968598425388336, 0.006197397131472826, -0.018113598227500916, 0.024103421717882156, 0.007888484746217728, -0.017203355208039284, 0.011123526841402054, -0.00032460808870382607, 0.013231009244918823, -0.028511032462120056, -0.03343578428030014, -0.03989987075328827, -0.03738778457045555, 0.005246120970696211, -0.023935869336128235, 0.004833004903048277, 0.008419740945100784, -0.029157623648643494, -0.007931464351713657, -0.015426017343997955, 0.0189516544342041, 0.033975183963775635, 0.03603462874889374, -0.032645922154188156, 0.003975415602326393, -0.04130520671606064, -0.012653548270463943, 0.02762492187321186, 0.04657965898513794, -0.037865594029426575, -0.03476492688059807, -0.02771417610347271 ]
kaggle-digit-recognizer-weka-adaboost-attempt
https://markhneedham.com/blog/2012/11/29/kaggle-digit-recognizer-weka-adaboost-attempt
false
2012-11-28 06:03:55
Jersey: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class [...] and MIME media type application/json was not found
[ "java", "jersey" ]
[ "Java" ]
We've used the http://jersey.java.net/[Jersey] library on the last couple of Java based applications that I've worked on and one thing we've done on both of them is write services that communicate with each other using JSON. On both occasions we didn't quite setup the Jersey client correctly and ended up with an error along these lines when making a call to an end point: [source,java] ---- com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class java.util.ArrayList, and Java type java.util.ArrayList<com.blah.Message>, and MIME media type application/json was not found ! at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:561) ! at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:535) ! at com.sun.jersey.api.client.WebResource.handle(WebResource.java:696) ! at com.sun.jersey.api.client.WebResource.access$300(WebResource.java:74) ! at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:512) ... ! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ! at java.lang.reflect.Method.invoke(Method.java:601) ! at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ! at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) ! at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ! at com.yammer.metrics.jersey.InstrumentedResourceMethodDispatchProvider$TimedRequestDispatcher.dispatch(InstrumentedResourceMethodDispatchProvider.java:34) ! at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ! at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ! at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100) ! at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ! at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesR ---- To get around this problem we need to make sure we've added the 'JacksonJsonProvider' to the Jersey client config like so: [source,java] ---- DefaultClientConfig defaultClientConfig = new DefaultClientConfig(); defaultClientConfig.getClasses().add(JacksonJsonProvider.class); Client client = Client.create(defaultClientConfig); ---- I'm pretty sure that's documented somewhere in the depths of the Jersey wiki but since we've now ended up debugging this problem twice I thought it was worth writing down!
null
null
[ -0.016573863103985786, -0.045045383274555206, -0.03777529299259186, 0.013149398379027843, 0.07012117654085159, -0.0025481090415269136, 0.04348594322800636, 0.03408176824450493, -0.0033544073812663555, -0.03745182603597641, 0.008190477266907692, 0.0008298578904941678, -0.07742372155189514, 0.014930839650332928, -0.032359518110752106, 0.06096769496798515, 0.06745678186416626, 0.011694435030221939, 0.041151393204927444, -0.0009792735800147057, 0.004917259328067303, 0.06452333182096481, -0.005786985158920288, 0.03268129378557205, 0.022075828164815903, 0.03167668357491493, -0.01349953655153513, 0.003821962745860219, -0.06238117069005966, -0.025310374796390533, 0.033604416996240616, 0.005029893945902586, -0.01299577672034502, -0.004830432124435902, 0.004907714203000069, -0.036263927817344666, -0.008919543586671352, 0.007395790424197912, 0.0071804760955274105, 0.018747227266430855, -0.054053835570812225, 0.033603865653276443, -0.002178327413275838, 0.026501348242163658, -0.006557114887982607, 0.028361055999994278, -0.0263388492166996, 0.006692065391689539, -0.006324635352939367, -0.00896835420280695, -0.06637325882911682, 0.015321390703320503, -0.06824193894863129, 0.03396090120077133, 0.01458874810487032, 0.0237279012799263, -0.0006940123275853693, -0.08981532603502274, 0.03928692266345024, -0.0500655397772789, 0.0021502708550542593, -0.015926731750369072, 0.009154499508440495, 0.000585026282351464, 0.009050439111888409, 0.004271167796105146, 0.009741896763443947, 0.0642360970377922, -0.034477755427360535, -0.03607552871108055, -0.005752332508563995, 0.0023872125893831253, -0.017915191128849983, -0.007755058351904154, 0.04742380604147911, -0.05109531059861183, -0.005241238046437502, 0.05154963582754135, 0.011624256148934364, 0.03947707265615463, -0.029954755678772926, 0.013325127772986889, 0.03673576936125755, 0.013347123749554157, 0.014927132055163383, -0.054551124572753906, -0.018353110179305077, 0.009984789416193962, -0.01541811041533947, 0.06701768189668655, 0.04623083025217056, -0.025242693722248077, -0.013114161789417267, 0.02146453969180584, -0.01232039462774992, -0.0002456612710375339, -0.007380836643278599, -0.010790767148137093, -0.0037959597539156675, -0.004320685286074877, -0.0391458235681057, 0.019164254888892174, 0.026156099513173103, 0.026406561955809593, -0.06213844195008278, -0.020158614963293076, -0.009938121773302555, 0.008115500211715698, -0.01721264235675335, 0.005092956591397524, -0.022468026727437973, 0.013120360672473907, -0.0037860902957618237, -0.012773687019944191, -0.05515586957335472, 0.07370992749929428, -0.001841744757257402, -0.05385326221585274, -0.02344498038291931, 0.048594679683446884, 0.04896149784326553, 0.02998398058116436, -0.022102421149611473, 0.07501799613237381, 0.00887164007872343, 0.048341553658246994, -0.022159695625305176, 0.05645084008574486, 0.0017359922640025616, -0.07238765805959702, -0.019148563966155052, 0.051476337015628815, -0.00254054949618876, 0.028678229078650475, 0.007265016436576843, -0.016611265018582344, 0.013305884785950184, -0.003019926603883505, 0.05441640689969063, 0.031192516908049583, -0.047567613422870636, -0.014388049952685833, -0.008497433736920357, 0.03093925677239895, 0.04194085672497749, 0.034297920763492584, 0.0005223165499046445, -0.03914947435259819, 0.0001297863491345197, 0.057438451796770096, 0.01670350693166256, 0.026165170595049858, 0.04540656879544258, -0.012355267070233822, -0.024842560291290283, 0.08733159303665161, 0.020546643063426018, 0.030590998008847237, -0.038775183260440826, 0.007199535612016916, 0.02792198210954666, 0.034958332777023315, 0.007941458374261856, 0.04684177786111832, 0.0031975924503058195, 0.010221791453659534, 0.012697655707597733, 0.041752807796001434, 0.031254660338163376, -0.005331952590495348, -0.06629854440689087, -0.10961318016052246, 0.03797353431582451, -0.04597737640142441, -0.015555866993963718, 0.027930278331041336, 0.08287857472896576, 0.010200534015893936, 0.042924899607896805, 0.011244161985814571, -0.07206705957651138, 0.028050681576132774, 0.01828157529234886, 0.024062832817435265, 0.02513102814555168, 0.0003587892570067197, 0.070712611079216, 0.024053320288658142, -0.031609974801540375, 0.04209544509649277, -0.062240540981292725, -0.07408961653709412, -0.012703589163720608, 0.005707771982997656, 0.0676596388220787, -0.027116835117340088, -0.030829377472400665, 0.049347538501024246, 0.040173325687646866, 0.007997069507837296, 0.031908877193927765, -0.014952272176742554, 0.01753031648695469, -0.049577079713344574, -0.05523979663848877, 0.04090413451194763, 0.06077049300074577, -0.002514101564884186, -0.05229649320244789, -0.006977802142500877, -0.015637023374438286, -0.025252195075154305, 0.01911519095301628, -0.006542062386870384, 0.037783246487379074, 0.012913539074361324, 0.0376829132437706, -0.04286365211009979, 0.08232652395963669, -0.07009803503751755, 0.02734270691871643, -0.004618757404386997, 0.01384048443287611, -0.017151949927210808, -0.0025507337413728237, 0.12408757209777832, 0.03187107667326927, -0.011771637946367264, -0.03789772838354111, 0.04488261789083481, 0.02012471668422222, -0.04767448455095291, -0.018707556650042534, -0.03267841786146164, -0.022597510367631912, 0.006397617515176535, -0.06760092824697495, -0.04578348249197006, -0.0025582576636224985, -0.016376571729779243, -0.0056535336188972, 0.07261933386325836, -0.05189351737499237, 0.04187241196632385, 0.0388372540473938, -0.022420156747102737, -0.023497449234128, -0.03835904598236084, -0.025677476078271866, 0.014013184234499931, 0.007848210632801056, -0.018297679722309113, 0.04490688443183899, -0.012961957603693008, -0.03162772208452225, -0.012671294622123241, -0.03400801122188568, 0.026898475363850594, 0.024850066751241684, 0.07090077549219131, -0.021191880106925964, 0.03769988194108009, -0.02574501745402813, 0.008362976834177971, -0.01941429264843464, -0.03937923535704613, 0.008867409080266953, 0.021688159555196762, 0.012237374670803547, 0.02165588177740574, 0.028686249628663063, 0.012253581546247005, 0.01806945912539959, -0.0011229777010157704, -0.012176587246358395, 0.022573165595531464, 0.029182126745581627, -0.012721084989607334, -0.000715233909431845, -0.029000386595726013, -0.026592999696731567, 0.030172541737556458, -0.032859936356544495, -0.04341774061322212, 0.02553587779402733, -0.08324721455574036, 0.02934921160340309, -0.07060780376195908, -0.049787767231464386, -0.026805100962519646, 0.021188346669077873, 0.03551068529486656, 0.004993736743927002, 0.02468600682914257, 0.0638524517416954, -0.004140709526836872, 0.005451546516269445, 0.04201367869973183, -0.013232888653874397, 0.03525751829147339, -0.014873409643769264, 0.01298483181744814, 0.0441763773560524, -0.015234989114105701, 0.0050079780630767345, -0.04702436551451683, 0.01340391580015421, -0.023026136681437492, -0.28395962715148926, 0.037365324795246124, 0.031353916972875595, -0.044769369065761566, 0.05033660680055618, -0.005089449696242809, 0.0162877906113863, -0.07306098937988281, 0.0038757973816245794, 0.028692511841654778, -0.020897384732961655, -0.03625458851456642, -0.02096015214920044, 0.02670438401401043, -0.009001282975077629, -0.0029069925658404827, -0.0003774391079787165, -0.027726080268621445, 0.020663121715188026, 0.021174227818846703, -0.002700579119846225, -0.07024307548999786, 0.01863258145749569, 0.029830606654286385, 0.017064623534679413, 0.07375183701515198, -0.05501187592744827, 0.05383244529366493, -0.0225365050137043, 0.005909813567996025, 0.013205398805439472, -0.04015890508890152, 0.010151432827115059, -0.022424116730690002, -0.03483455628156662, -0.03293292224407196, 0.031720902770757675, 0.013580430299043655, -0.017202014103531837, -0.012553795240819454, -0.028160836547613144, -0.07679067552089691, -0.02406601421535015, -0.009099404327571392, 0.07139264792203903, 0.007320161908864975, -0.08145150542259216, -0.009939666837453842, -0.04860369861125946, 0.0805281326174736, -0.032927315682172775, -0.03704775124788284, -0.003988480195403099, 0.016904164105653763, 0.0026646009646356106, -0.030779020860791206, -0.032037876546382904, 0.0031040608882904053, -0.04325137287378311, -0.02522742748260498, 0.020727956667542458, -0.0501929447054863, -0.05102601647377014, -0.03850367292761803, -0.02385248988866806, -0.06119772791862488, -0.048009492456912994, 0.004361072555184364, 0.0863032415509224, 0.01227311696857214, -0.027770105749368668, 0.002640897175297141, 0.024448303505778313, -0.09566076099872589, 0.03311913087964058, -0.04105279967188835, -0.061533257365226746, -0.018053792417049408, -0.016426976770162582, 0.04182223975658417, -0.022983526811003685, -0.029406234622001648, -0.005445052403956652, 0.014315166510641575, 0.007763135712593794, -0.004624608904123306, 0.027635488659143448, -0.014152273535728455, 0.000182006333488971, 0.007423415780067444, 0.07893198728561401, -0.02400713600218296, -0.02083989977836609, -0.027075959369540215, 0.0033850278705358505, 0.05015282332897186, 0.012100793421268463, 0.0015261357184499502, -0.00033706557587720454, 0.03314867988228798, 0.031194420531392097, -0.040820080786943436, 0.023754047229886055, -0.0001248704211320728, 0.016478396952152252, -0.010186411440372467, -0.06872305274009705, 0.0044917156919837, 0.0182188767939806, 0.03047822415828705, -0.0029707124922424555, -0.04502910375595093, -0.0030963155440986156, -0.05948200821876526, -0.024649659171700478, -0.007091045379638672, 0.0012257653288543224, 0.051406487822532654, 0.04430926963686943, -0.034575968980789185, -0.05881054699420929, 0.01991068385541439, 0.04784362390637398, -0.025431137531995773, -0.033823929727077484, -0.044519536197185516, -0.040768660604953766, -0.008613964542746544, 0.005099018104374409, 0.008916766382753849, -0.0105910524725914, 0.022440264001488686, 0.028423432260751724, 0.007226069923490286, -0.007333757355809212, -0.00018119733431376517, -0.051797863095998764, -0.040331725031137466, 0.005138338543474674, -0.015290455892682076, 0.00892107468098402, -0.012773480266332626, 0.0018338129157200456, 0.018913762643933296, 0.05408986657857895, 0.0011836241465061903, 0.03380487859249115, -0.012461335398256779, 0.004732571076601744, 0.00805943924933672, 0.0027136672288179398, -0.07604148238897324, -0.0021990337409079075, -0.034460149705410004, -0.028899291530251503, 0.004513639956712723, 0.043995171785354614, -0.019849585369229317, -0.030476246029138565, -0.022599121555685997, 0.038662903010845184, -0.06493119895458221, -0.02801182121038437, -0.004445042461156845, -0.03523193299770355, 0.03806815668940544, 0.000737092865165323, 0.02295064739882946, -0.01466239895671606, -0.03427576273679733, 0.010619685985147953, -0.01349625177681446, 0.006259493995457888, 0.042963530868291855, -0.004422664642333984, 0.011818042024970055, 0.018951473757624626, 0.03208411484956741, 0.04351875185966492, 0.01776554435491562, 0.01823091320693493, -0.02270585484802723, 0.02136227861046791, 0.013714922592043877, 0.04252655431628227, -0.010918190702795982, -0.03437751904129982, -0.0030333977192640305, -0.02173449471592903, -0.020466851070523262, -0.008837582543492317, 0.010788217186927795, -0.016301246359944344, 0.017197538167238235, -0.008540830574929714, -0.093826062977314, 0.025947047397494316, 0.005104808136820793, 0.02705497480928898, 0.0013688826002180576, 0.015871237963438034, 0.019322192296385765, -0.0258469320833683, 0.03352624922990799, 0.030292866751551628, -0.04051049426198006, -0.008114825002849102, -0.005513107404112816, -0.004606594797223806, 0.019435208290815353, 0.0022233016788959503, -0.041885074228048325, 0.005427967291325331, -0.01001979410648346, 0.0009499361040070653, -0.05552380904555321, -0.059358131140470505, -0.018176749348640442, 0.017440827563405037, -0.005085006821900606, 0.00220905477181077, -0.01573312096297741, -0.008849619887769222, -0.0402550995349884, -0.028514059260487556, 0.00273231347091496, -0.04532591626048088, 0.008223600685596466, -0.0069444733671844006, -0.007195764221251011, 0.03899751231074333, -0.04522702842950821, 0.04507654160261154, 0.02498125098645687, 0.002772079547867179, -0.009663684293627739, -0.05264170095324516, 0.00445586908608675, 0.032306183129549026, 0.08230473846197128, 0.005528932902961969, 0.0005539137637242675, -0.03816522657871246, -0.01881564036011696, -0.01988500915467739, 0.025786245241761208, -0.010829242877662182, 0.009655428119003773, 0.011304453015327454, 0.0413927398622036, 0.005586421582847834, 0.03388036787509918, -0.0019526948453858495, -0.013348160311579704, 0.09208788722753525, -0.06240968406200409, -0.025183726102113724, -0.011245541274547577, -0.06451718509197235, 0.009485422633588314, 0.037312109023332596, 0.01993672363460064, -0.03664707392454147, 0.06337142735719681, 0.04354332387447357, -0.001245961058884859, 0.03803885355591774, -0.005220009014010429, 0.0293543990701437, -0.02062823437154293, -0.02965492755174637, -0.10538756847381592, 0.0063465959392488, 0.04022594168782234, -0.026559246703982353, -0.04427526891231537, -0.023182185366749763, -0.043528810143470764, 0.03504427894949913, -0.05468273162841797, -0.019624067470431328, 0.015531922690570354, -0.014380098320543766, -0.008267490193247795, 0.01737547293305397, -0.060393765568733215, 0.06347565352916718, 0.03781786188483238, -0.04301884025335312, -0.009834840893745422, -0.017907265573740005, 0.049389101564884186, 0.030626332387328148, 0.03292965888977051, -0.024809377267956734, 0.007740774191915989, 0.06217218190431595, 0.015684813261032104, 0.00831225048750639, 0.048746488988399506, -0.035024676471948624, 0.052268531173467636, 0.03181413188576698, -0.02089887112379074, 0.01914609968662262, 0.019733410328626633, -0.01819133572280407, -0.06801781058311462, 0.01924862526357174, -0.001252386369742453, -0.022105345502495766, -0.04461274296045303, 0.060505229979753494, 0.022732757031917572, -0.029485950246453285, -0.03878875449299812, 0.007479125168174505, -0.04336803779006004, -0.036428097635507584, -0.023664195090532303, 0.024212706834077835, -0.036893002688884735, 0.05173666775226593, -0.01950175315141678, 0.014391032978892326, 0.07431081682443619, 0.012487033382058144, -0.007655142806470394, 0.007391142658889294, 0.06144494563341141, 0.06632673740386963, -0.020150423049926758, 0.02057589776813984, 0.059295766055583954, -0.0019282703287899494, -0.04694545269012451, 0.01443917490541935, -0.01780295930802822, -0.0364866703748703, 0.00440961541607976, 0.011213317513465881, 0.06732513010501862, 0.0007433031569235027, 0.06473102420568466, -0.03618887439370155, -0.00576518289744854, 0.005319420248270035, 0.030669599771499634, 0.024689344689249992, -0.010642480105161667, -0.00482598040252924, 0.019451500847935677, 0.00484069250524044, -0.024670053273439407, 0.013672259636223316, -0.0077855889685451984, -0.03835717961192131, 0.0247352235019207, -0.01719835214316845, 0.02034016326069832, 0.013198668137192726, 0.0010499689960852265, 0.06983749568462372, -0.016176436096429825, -0.006808735430240631, 0.010099236853420734, 0.028155921027064323, 0.008472018875181675, -0.014213340356945992, -0.022998731583356857, -0.035864658653736115, 0.0006403630832210183, -0.03277095407247543, -0.02000444568693638, -0.02477331832051277, -0.029411492869257927, 0.028996596112847328, -0.0005590104265138507, 0.0453031025826931, 0.026122234761714935, 0.011322238482534885, -0.04967646673321724, -0.06291153281927109, -0.08584011346101761, -0.022850321605801582, -0.050543494522571564, -0.019021671265363693, 0.02482120506465435, 0.0003423245216254145, -0.03764397278428078, -0.011252675205469131, -0.014680691063404083, 0.022448208183050156, 0.02965645119547844, -0.02889353223145008, -0.029628535732626915, 0.034831538796424866, 0.009071256034076214, 0.02634609304368496, 0.01383963692933321, 0.0634022057056427, -0.02200285531580448, -0.003703383030369878, -0.042444828897714615, -0.022175366058945656, 0.035694900900125504, 0.012891601771116257, 0.04013132303953171, -0.081211619079113, 0.01584956794977188, 0.04022619128227234, 0.013327058404684067, -0.045421525835990906, -0.02761235274374485, 0.02880934439599514, -0.010503293946385384, 0.06047060340642929, -0.0069663203321397305, 0.004767489153891802, -0.029599452391266823, -0.020510254427790642, -0.0015216970350593328, 0.023007020354270935, 0.04916685074567795, -0.00306805782020092, 0.08935679495334625, 0.04872942715883255, -0.00952216051518917, -0.04407180845737457, 0.01716969721019268, 0.009934340603649616, -0.007175859063863754, -0.05364876985549927, 0.011165022850036621, -0.05170006677508354, -0.05999407917261124, -0.029724998399615288, -0.0029003822710365057, -0.03934716433286667, -0.02974509447813034, 0.01327969878911972, 0.02953520603477955, -0.0619443878531456, 0.02055293694138527, -0.0489192008972168, 0.007862726226449013, -0.008900345303118229, -0.022346850484609604, -0.013895680196583271, 0.007472138851881027, 0.03437655791640282, -0.03604979068040848, 0.026139868423342705, -0.03870587423443794, 0.01590464822947979, 0.005481492727994919, 0.02360440231859684, 0.05955340713262558, -0.015293639153242111, -0.021316027268767357 ]
[ -0.09003575146198273, 0.017688555642962456, -0.04182412102818489, -0.05818987637758255, 0.04472436010837555, -0.051568109542131424, 0.005323069170117378, 0.0621277280151844, 0.012149695307016373, -0.033596813678741455, 0.008710741065442562, -0.042428117245435715, -0.010378510691225529, 0.019677158445119858, 0.09377492964267731, -0.008422723039984703, -0.016031363978981972, -0.0555499866604805, -0.03742697462439537, 0.03158286586403847, 0.02496197074651718, -0.009182794019579887, -0.00797297153621912, -0.055415548384189606, 0.027653491124510765, 0.028622983023524284, 0.05398770794272423, -0.008625473827123642, -0.007685566321015358, -0.1661287397146225, -0.008125589229166508, -0.006145177874714136, 0.011195938102900982, 0.009638954885303974, -0.017606304958462715, 0.044547028839588165, -0.020079897716641426, 0.020543433725833893, 0.026654183864593506, 0.06645675748586655, 0.014424476772546768, 0.036422938108444214, -0.0628613531589508, -0.03699593245983124, 0.02602292411029339, -0.028615428134799004, -0.003405811032280326, 0.0020708292722702026, 0.008062484674155712, -0.009544401429593563, -0.059699926525354385, -0.0030720483046025038, 0.057502806186676025, -0.023082181811332703, 0.005673315841704607, 0.0483853705227375, 0.042508870363235474, 0.09977807849645615, 0.009046711027622223, 0.05885361135005951, 0.00481970002874732, -0.0361572727560997, -0.1389022022485733, 0.09681496024131775, 0.008180661126971245, 0.04345516860485077, -0.02429935708642006, 0.013478375039994717, -0.026016708463430405, 0.03641212359070778, 0.008519059978425503, -0.014414221979677677, -0.01595594547688961, 0.058131929486989975, 0.00959725584834814, 0.01764492504298687, 0.004540550988167524, 0.0071000284515321255, 0.05909127742052078, -0.040914908051490784, -0.07171556353569031, -0.06749318540096283, -0.012536255642771721, -0.029667917639017105, -0.019727472215890884, 0.036412313580513, -0.02489081211388111, 0.07136490195989609, 0.03275034576654434, 0.02595919743180275, -0.001800687750801444, 0.00294870650395751, 0.06177643686532974, 0.022564342245459557, -0.13876675069332123, 0.008906595408916473, -0.0264287106692791, 0.0059609441086649895, -0.043723221868276596, 0.42456111311912537, 0.007407939061522484, -0.04226365312933922, 0.053910031914711, 0.01333632878959179, -0.0027112201787531376, -0.018190540373325348, -0.03345276042819023, -0.05836658924818039, 0.022125983610749245, -0.03169791400432587, -0.03385690599679947, 0.003344043390825391, 0.014920411631464958, -0.027740193530917168, -0.012435320764780045, 0.035310182720422745, 0.018780644983053207, 0.03874063119292259, -0.03060401789844036, 0.024179527536034584, -0.009617463685572147, -0.018548088148236275, -0.0018520709127187729, 0.022514866665005684, -0.011890980415046215, -0.016070954501628876, 0.01543500367552042, 0.038059063255786896, 0.03164443001151085, 0.0017464675474911928, 0.03295843303203583, -0.03726409748196602, -0.07791007310152054, -0.011820903979241848, 0.029866380617022514, 0.02717752195894718, 0.03207777813076973, -0.0572960339486599, -0.020812751725316048, 0.032168805599212646, 0.005736212246119976, -0.07862051576375961, -0.00021261766960378736, -0.02975732460618019, -0.06231888383626938, 0.10275167226791382, 0.00454702228307724, -0.009959768503904343, 0.02065901644527912, -0.04108848795294762, -0.016619358211755753, 0.08627151697874069, -0.010947410017251968, -0.014471900649368763, 0.004536644089967012, 0.02591467835009098, 0.03410756587982178, -0.02583843655884266, -0.034901127219200134, -0.026444589719176292, 0.008957072161138058, -0.015569509007036686, -0.010160093195736408, 0.04630737379193306, 0.05417614057660103, -0.0964231789112091, -0.024634037166833878, 0.01416864525526762, -0.01645922102034092, -0.0660492479801178, -0.03985723853111267, 0.05857528746128082, -0.011686703190207481, -0.007145161274820566, 0.021225115284323692, -0.015565430745482445, -0.014405892230570316, 0.000518521701451391, 0.02959216944873333, -0.009181734174489975, -0.016074197366833687, 0.03053770773112774, -0.05128752440214157, -0.007868664339184761, -0.004632903262972832, -0.06470479816198349, -0.04992147907614708, -0.011077219620347023, 0.001217029057443142, -0.025228915736079216, -0.053911805152893066, -0.011198312975466251, -0.05515274032950401, 0.07572878152132034, 0.00925790797919035, 0.021307604387402534, 0.0054556927643716335, -0.04018431529402733, 0.03882123902440071, -0.05633550509810448, 0.05019013583660126, 0.06816139072179794, 0.044978998601436615, 0.04499119892716408, -0.058957744389772415, 0.03798192739486694, 0.05801175534725189, -0.04283016175031662, 0.047611843794584274, -0.018766237422823906, -0.06005004420876503, 0.0012925785267725587, -0.006497029680758715, 0.014369342476129532, -0.01196986809372902, -0.015435649082064629, -0.013396179303526878, 0.043510016053915024, 0.05091425031423569, 0.012270144186913967, -0.07296895980834961, 0.002700149780139327, -0.016907215118408203, -0.3358529806137085, -0.028955982998013496, 0.019205242395401, -0.011013618670403957, -0.03679795190691948, -0.015551691874861717, 0.007787544280290604, -0.03704938292503357, 0.020307796075940132, 0.029640354216098785, 0.08264908939599991, -0.013548790477216244, -0.003923836164176464, -0.08798478543758392, 0.0014445516280829906, 0.02029089629650116, -0.03055063635110855, -0.0033296640031039715, -0.022043906152248383, 0.01525887381285429, -0.0048535605892539024, -0.02820451930165291, -0.02839128114283085, 0.012103681452572346, 0.006805203855037689, -0.024626106023788452, 0.07800182700157166, 0.04384389519691467, 0.03774930164217949, -0.08868102729320526, 0.06259892135858536, 0.014755395241081715, 0.027634354308247566, -0.07369212061166763, -0.038031402975320816, -0.04555291682481766, -0.017102068290114403, 0.017274778336286545, 0.03244183212518692, -0.012036411091685295, -0.06760790944099426, 0.0019240514375269413, -0.05102916434407234, -0.04774344339966774, 0.0016780465375632048, 0.011187024414539337, -0.015010738745331764, -0.04487169533967972, -0.0030816656071692705, 0.053912483155727386, -0.009108263067901134, 0.01584174856543541, 0.05207396671175957, 0.039421793073415756, 0.02183813787996769, -0.021734142675995827, -0.06835802644491196, -0.029368501156568527, 0.017806414514780045, -0.018100475892424583, 0.04386046528816223, 0.07476967573165894, 0.04125986248254776, -0.0381208099424839, 0.006397633347660303, 0.002505722688511014, 0.013572996482253075, 0.020816558972001076, 0.031958576291799545, -0.04588811472058296, -0.050095535814762115, 0.08188646286725998, 0.02574884332716465, 0.03598951920866966, 0.023837503045797348, 0.0488993376493454, 0.01545969769358635, -0.028790563344955444, 0.047408152371644974, 0.019783267751336098, 0.019403237849473953, 0.024706529453396797, 0.05205472931265831, -0.034910399466753006, -0.014125287532806396, 0.0819535180926323, -0.013195632956922054, -0.0034553101286292076, 0.03773986175656319, -0.012484687380492687, -0.03507076948881149, 0.011884702369570732, -0.011859910562634468, -0.040277834981679916, 0.049708448350429535, -0.018787529319524765, -0.2633926570415497, 0.02145541086792946, 0.037050072103738785, 0.05094251409173012, -0.009717956185340881, 0.01886620931327343, 0.018624957650899887, -0.04566016420722008, -0.03585090860724449, 0.04929888993501663, 0.04966412112116814, -0.00012939050793647766, 0.012934167869389057, -0.014288081787526608, 0.0416598804295063, 0.004662112332880497, 0.028615236282348633, 0.03211160749197006, 0.04318688064813614, -0.016187025234103203, 0.02974328212440014, -0.029737723991274834, 0.16637453436851501, -0.005964310839772224, 0.02902890183031559, 0.07249034941196442, -0.006003499962389469, 0.04030223935842514, 0.07676226645708084, 0.009713049978017807, -0.02187609300017357, -0.0023822651710361242, 0.06945322453975677, 0.029723579064011574, 0.011751659214496613, -0.09074309468269348, 0.012287951074540615, 0.019970711320638657, -0.005462906789034605, -0.03432445228099823, -0.04539410024881363, 0.04344144091010094, -0.02775365486741066, 0.028364619240164757, 0.06585977226495743, 0.019730499014258385, -0.0325947031378746, -0.03251956030726433, -0.04006413370370865, -0.005972080398350954, -0.06448964029550552, -0.08817914873361588, -0.0038551045581698418, -0.02625243365764618, -0.030440358445048332, 0.03597303479909897, 0.019170278683304787, -0.06755692511796951, -0.02923072688281536, 0.027086686342954636, 0.02595890685915947, -0.02056678757071495, 0.07750096917152405, 0.005786004941910505, -0.0057971905916929245 ]
[ -0.028538916260004044, 0.052310653030872345, 0.03363194316625595, -0.026633454486727715, 0.02051233872771263, -0.022453701123595238, 0.013667508959770203, 0.0074328468181192875, -0.004759964533150196, 0.004871704149991274, -0.011162235401570797, -0.004896888509392738, 0.050144296139478683, 0.028100397437810898, 0.03724724426865578, -0.03735494986176491, 0.014642786234617233, 0.003372608218342066, 0.039462070912122726, 0.038650993257761, 0.019847741350531578, 0.033968668431043625, -0.008393489755690098, -0.06446274369955063, 0.029567044228315353, 0.06159837916493416, 0.023358523845672607, 0.010456052608788013, -0.005871427711099386, -0.10390187054872513, -0.04469021037220955, -0.017533423379063606, -0.013655520975589752, -0.04000646620988846, 0.0001170277246274054, 0.018796617165207863, -0.00815863348543644, 0.011938600800931454, -0.01508247759193182, 0.030853357166051865, -0.02998565509915352, -0.019683152437210083, -0.02037268504500389, -0.009003235027194023, -0.029126595705747604, -0.0385252945125103, -0.018817201256752014, -0.012928638607263565, -0.02440452389419079, 0.01567021571099758, -0.021371301263570786, -0.023555954918265343, 0.05632169544696808, 0.008431078866124153, 0.010094448924064636, -0.020071106031537056, -0.09146349877119064, 0.057582058012485504, 0.007610019762068987, -0.023804038763046265, 0.028656337410211563, -0.016570720821619034, -0.054403483867645264, -0.02785051055252552, 0.009401830844581127, -0.017726309597492218, 0.00011663752957247198, -0.0019012608099728823, -0.028086677193641663, -0.026537589728832245, 0.00011384177196305245, 0.028358761221170425, -0.02492806501686573, 0.022085003554821014, -0.020725594833493233, 0.02185082621872425, 0.030169056728482246, 0.005261580925434828, 0.007074721623212099, -0.01496549230068922, -0.01709437184035778, -0.0021775260102003813, -0.01166700478643179, 0.022871220484375954, -0.00024480000138282776, 0.03829776495695114, -0.01370896864682436, 0.018309367820620537, 0.028111498802900314, 0.055533941835165024, -0.03575805947184563, 0.0008768606930971146, 0.017105678096413612, -0.00211953348480165, -0.09334228932857513, -0.0006096120923757553, -0.04009465128183365, -0.007168178912252188, -0.02269900217652321, 0.790280282497406, 0.040973298251628876, 0.021987726911902428, 0.05416222661733627, 0.05315028131008148, 0.028183039277791977, -0.009436849504709244, -0.026380440220236778, 0.0309856366366148, 0.012036547996103764, 0.004299959633499384, -0.030398137867450714, 0.04226481541991234, -0.0019180935341864824, 0.04206561669707298, 0.01828310266137123, 0.026217544451355934, 0.10047563910484314, 0.01331903226673603, -0.01298628281801939, 0.03468819707632065, 0.04244194179773331, -0.04307456687092781, -0.029282568022608757, 0.00492821354418993, 0.04011606425046921, -0.12122750282287598, -0.007855737581849098, -7.058119178294142e-33, 0.04027232527732849, 0.024288345128297806, 0.03216755762696266, 0.01262502372264862, 0.015622892417013645, -0.019304122775793076, 0.013025842607021332, 0.0477602444589138, -0.0073536415584385395, -0.0629086121916771, -0.035425808280706406, -0.02063518762588501, 0.02737477235496044, -0.018792998045682907, 0.01660996861755848, -0.014379682019352913, -0.005809100344777107, 0.04163898155093193, 0.003743654116988182, 0.001558093004859984, 0.00940912589430809, 0.02711101993918419, 0.022832002490758896, -0.013311357237398624, -0.04769565165042877, 0.02717326208949089, 0.02751685306429863, 0.015439240261912346, -0.046616580337285995, -0.03374090790748596, -0.00018434350204188377, -0.03591329976916313, 0.00042154555558227, -0.011196870356798172, 0.02556467242538929, -0.04294730722904205, -0.04141516238451004, -0.03204693645238876, -0.021927127614617348, -0.081221804022789, -0.03271808847784996, -0.00015601633640471846, -0.05400096997618675, 0.07329467684030533, -0.04153485223650932, -0.03725404292345047, -0.009703969582915306, 0.00881161168217659, -0.0032456349581480026, 0.0211736299097538, 0.007951253093779087, 0.015118543058633804, -0.0051232133992016315, -0.006494984496384859, -0.024516228586435318, 0.04614108428359032, 0.053907863795757294, 0.04754605516791344, -0.019086802378296852, 0.006794178858399391, -0.008865834213793278, -0.02223682589828968, -0.02569025568664074, 0.06129346415400505, 0.010560888797044754, 0.0071490006521344185, -0.03794266656041145, 0.009521343745291233, -0.029881024733185768, -0.009532349184155464, -0.023701079189777374, -0.00920116901397705, 0.029343342408537865, 0.011624651029706001, 0.04340522736310959, -0.0019468130776658654, 0.01084533054381609, 0.0033880656119436026, -0.015701955184340477, 0.010014291852712631, 0.023415859788656235, -0.022346042096614838, -0.01658201776444912, -0.022859422490000725, -0.0010417947778478265, -0.004269646015018225, 0.03654976934194565, -0.0144642423838377, 0.04369852691888809, 0.023007813841104507, 0.0791633129119873, 0.03175187483429909, -0.023621628060936928, -0.021424775943160057, -0.04128103703260422, 7.221560647516442e-33, -0.03790219500660896, 0.005773785524070263, -0.03597031533718109, -0.021956278011202812, -0.01569763384759426, -0.04140889272093773, 0.03457223251461983, 0.04383069649338722, -0.06387627124786377, 0.011964521370828152, -0.029161375015974045, -0.004682985134422779, -0.009516027756035328, 0.044693924486637115, -0.0037917126901447773, 0.016393816098570824, 0.04944714531302452, -0.024136384949088097, 0.06005489453673363, -0.01672115921974182, 0.019116122275590897, -0.02654348872601986, 0.020465098321437836, 0.019078614190220833, -0.020913194864988327, 0.032567624002695084, -0.01526873279362917, 0.00932426005601883, -0.031815651804208755, -0.036967676132917404, 0.023618964478373528, 0.0008682500920258462, 0.033952172845602036, -0.06592678278684616, -0.007712084800004959, -0.008717015385627747, -0.03286478668451309, 0.012616602703928947, 0.030936039984226227, -0.05144661292433739, -0.037846408784389496, -0.1054178923368454, -0.004129501990973949, 0.031392358243465424, 0.020594101399183273, -0.02754770778119564, -0.00257750297896564, -0.006952300202101469, -0.022376641631126404, 0.009628658182919025, -0.006697840057313442, 0.055150676518678665, 0.026011209934949875, 0.03667304292321205, 0.026942992582917213, -0.01589355431497097, -0.00017728506645653397, 0.02378750964999199, 0.024571837857365608, 0.02060452662408352, 0.027630174532532692, -0.04021921008825302, -0.013299773447215557, 0.049950823187828064, 0.02200481668114662, -0.03610837832093239, 0.029224684461951256, -0.008056891150772572, -0.033845894038677216, 0.020953772589564323, -0.02321474626660347, -0.019458070397377014, -0.01685563661158085, 0.017488323152065277, 0.06370551884174347, -0.03584309294819832, 0.013133430853486061, 0.008317065425217152, -0.06034914404153824, 0.015327297151088715, -0.019130727276206017, -0.005943091120570898, -0.035855259746313095, -0.01835409738123417, 0.020818959921598434, -0.018710417672991753, -0.019154826179146767, 0.008688725531101227, -0.03777860477566719, -0.02729097567498684, -0.015317831188440323, 0.04416028410196304, -0.038298264145851135, -0.0010586115531623363, 0.00449459720402956, -1.2259213200138674e-8, 0.008486018516123295, -0.03421207517385483, -0.002658811630681157, -0.004570882301777601, -0.002344093518331647, 0.016668716445565224, -0.03831777721643448, 0.001964017516002059, -0.0007923882803879678, 0.02793923020362854, 0.020671050995588303, 0.027499347925186157, 0.040208544582128525, 0.01515978667885065, 0.044396791607141495, -0.03363092243671417, 0.013223967514932156, -0.0003612589789554477, 0.018800213932991028, 0.016954058781266212, 0.02045929618179798, 0.04753139987587929, 0.00014493716298602521, -0.020125851035118103, 0.0509972907602787, -0.030504999682307243, 0.029378099367022514, -0.0203702375292778, -0.002845522714778781, -0.04248729348182678, -0.033661190420389175, 0.004739237017929554, -0.02654794417321682, -0.01904165931046009, -0.05820083990693092, 0.0050720940344035625, 0.005782342050224543, 0.008390084840357304, 0.0019403115147724748, 0.009005223400890827, -0.014242324978113174, 0.046894341707229614, -0.04879132658243179, 0.004667231813073158, 0.02114429511129856, 0.025705410167574883, -0.02957279048860073, 0.03931799903512001, 0.009598380886018276, -0.05488017201423645, -0.04265381395816803, -0.008706962689757347, -0.005939343944191933, -0.04778382182121277, 0.02051972970366478, 0.0064118183217942715, -0.01030549593269825, -0.01497502438724041, 0.012435795739293098, 0.03767077624797821, 0.04192274436354637, 0.033596381545066833, -0.046692922711372375, -0.03585442528128624 ]
jersey-com-sun-jersey-api-client-clienthandlerexception-a-message-body-reader-for-java-class-and-mime-media-type-applicationjson-was-not-found
https://markhneedham.com/blog/2012/11/28/jersey-com-sun-jersey-api-client-clienthandlerexception-a-message-body-reader-for-java-class-and-mime-media-type-applicationjson-was-not-found
false
2012-11-28 08:11:04
Micro Services: The curse of code 'duplication'
[ "software-development" ]
[ "Micro Services" ]
A common approach we've been taking on some of the applications I've worked on recently is to decompose the system we're building into smaller http://2012.33degree.org/talk/show/67[micro services] which are independently deployable and communicate with each other over HTTP. An advantage of decomposing systems like that is that we could have separate teams working on each service and then make use of a http://martinfowler.com/articles/consumerDrivenContracts.html[consumer driven contract] as a way of ensuring the contract between them is correct. Often what actually happens is that we have one team working on all of the services which can lead to the a mentality where we treat start treating the comunication between services as if it's happening in process. One of the earliest lessons I learnt when writing code is that you should http://en.wikipedia.org/wiki/Don't_repeat_yourself[avoid repeating yourself] in code - if you have two identical bits of code then look to extract that into a method somewhere and then call it from both locations. This lesson often ends up getting applied across micro service boundaries when we have the same team working on both sides. For example if we have a customer that we're sending between two services then in Java land we might create a +++<cite>+++CustomerDTO+++</cite>+++ in both services to marshall JSON to/from the wire. We now have two versions of the 'same' object although that isn't necessarily the case because the client might not actually care about some of the fields that get sent because its definition of a customer is different than the provider's. Nevertheless if we're used to being able to working with tools like http://www.jetbrains.com/idea/[IntelliJ] which let us make a change and see it reflected everywhere we'll end up driving towards a design where the +++<cite>+++CustomerDTO+++</cite>+++ is shared between the services. This can be done via a JAR dependency or using something like http://git-scm.com/book/en/Git-Tools-Submodules[git sub modules] but in both cases we've now coupled the two services on their shared message format. I think the 'duplication' thing might be less of an issue if you're using a language like Clojure where you could work with maps/lists without transforming them into objects but I haven't built anything web related with Clojure so I'm not sure. As I understand it when we go down the micro services route we're trading off the ease of working with everything in one process/solution for the benefits of being able to deploy, scale and maintain parts of it independently. Perhaps the problem I've described is just about getting used to this trade off rather than holding onto the idea that we can still treat it as a single application. I'd be curious to hear others' experiences but I've seen this same pattern happen two or three times so I imagine it may well be common.
null
null
[ 0.027469607070088387, 0.0045117647387087345, -0.01665356010198593, 0.045731496065855026, 0.08988450467586517, 0.023478355258703232, 0.04020477831363678, 0.03516971692442894, 0.024011213332414627, -0.03188444301486015, -0.006703485734760761, -0.010223818942904472, -0.07944443821907043, 0.023683618754148483, -0.0462779775261879, 0.05700132995843887, 0.08112353086471558, -0.016270115971565247, 0.021291986107826233, 0.0017561463173478842, 0.015342392027378082, 0.08364534378051758, 0.027261145412921906, 0.034242041409015656, 0.02988036908209324, 0.024515654891729355, 0.02736852318048477, 0.0004312882956583053, -0.04378100857138634, -0.011994299478828907, 0.048678282648324966, -0.005453936755657196, 0.004131544381380081, 0.00405881367623806, 0.009918301366269588, -0.032661426812410355, -0.02896953374147415, 0.022216159850358963, 0.0155147984623909, -0.0035457753110677004, -0.05159226059913635, 0.05438048392534256, -0.007179745007306337, -0.0064582498744130135, -0.05474165081977844, 0.006003704387694597, -0.047811634838581085, 0.017096715047955513, -0.015203915536403656, -0.009732692502439022, -0.0741443783044815, 0.006604691967368126, -0.038551829755306244, 0.01603258028626442, -0.025503825396299362, 0.03630412742495537, 0.020120251923799515, -0.07281199097633362, 0.008513790555298328, -0.03965116664767265, -0.007624366320669651, -0.02461104653775692, 0.018683653324842453, 0.018476344645023346, 0.02090998739004135, -0.02653898485004902, 0.0021693632006645203, 0.051437173038721085, -0.0401814766228199, -0.008413477800786495, 0.006802423857152462, -0.0050435299053788185, -0.009113041684031487, -0.0032147886231541634, -0.006584158632904291, -0.04895105957984924, 0.00826114322990179, 0.057552456855773926, -0.0020322215277701616, 0.059210214763879776, -0.02881157398223877, 0.02037941850721836, -0.0025432484690099955, 0.008507870137691498, 0.012449958361685276, -0.05405177175998688, -0.015576453879475594, 0.0009796932572498918, -0.07465535402297974, 0.07009507715702057, 0.017873164266347885, -0.05008843541145325, -0.0018762957770377398, 0.031722817569971085, 0.006214425899088383, 0.014360450208187103, 0.03307081758975983, 0.009373371489346027, 0.010720881633460522, -0.012507184408605099, -0.024948392063379288, 0.027651742100715637, -0.00001023042932501994, 0.0007663635187782347, -0.07892013341188431, -0.021228602156043053, -0.014139862731099129, -0.020395824685692787, 0.005755490157753229, -0.0197663102298975, -0.027812626212835312, 0.0021845330484211445, -0.021431939676404, 0.013763848692178726, -0.07522337138652802, 0.08465594053268433, -0.0071325176395475864, -0.04611441120505333, -0.00006974732968956232, 0.019220396876335144, 0.058993805199861526, 0.030689187347888947, -0.01654529571533203, 0.07820746302604675, 0.012096908874809742, 0.0046708425506949425, -0.033638712018728256, 0.05021145939826965, -0.03715449571609497, -0.07071778923273087, 0.001242540660314262, 0.04370730742812157, -0.025074781849980354, -0.0020114441867917776, -0.011489189229905605, -0.024338213726878166, 0.02075633592903614, 0.0015158160822466016, 0.02809428609907627, 0.012850753031671047, -0.020229240879416466, -0.03257017955183983, 0.00790460780262947, 0.005553571041673422, 0.024710500612854958, 0.010279408656060696, -0.0067556253634393215, -0.04252248629927635, -0.027432851493358612, 0.01152053102850914, -0.016742553561925888, 0.0357506088912487, 0.03311440721154213, -0.04247085377573967, 0.025292053818702698, 0.10433346778154373, 0.032004695385694504, 0.03533725067973137, -0.02200283668935299, 0.025222472846508026, 0.01440697442740202, 0.02422337420284748, 0.013266575522720814, 0.020965058356523514, 0.01122130174189806, -0.012357990257441998, -0.007104088552296162, 0.03808191791176796, 0.020238425582647324, -0.003339442191645503, -0.06945988535881042, -0.06952998787164688, 0.05894522741436958, -0.04404767230153084, 0.0085080461576581, 0.03902939707040787, 0.09506320208311081, 0.0386691689491272, 0.024893492460250854, 0.007522409316152334, -0.08119358867406845, 0.027558987960219383, 0.022505516186356544, -0.0061872415244579315, 0.03452976047992706, -0.018007032573223114, 0.04863543435931206, 0.03334145247936249, -0.015739357098937035, 0.02783898450434208, -0.07879447937011719, -0.08277260512113571, -0.020851384848356247, -0.006123680621385574, 0.049444783478975296, -0.020682981237769127, -0.005997978616505861, 0.07504551857709885, 0.01386104803532362, 0.0277505274862051, 0.021800801157951355, -0.006653378251940012, 0.009263032115995884, -0.02655780501663685, -0.03233014792203903, 0.05386824533343315, 0.02762659639120102, -0.01448015682399273, -0.03993282839655876, 0.01245675329118967, -0.008569189347326756, -0.016851862892508507, 0.04213215038180351, -0.026178084313869476, 0.050561320036649704, -0.005582825746387243, 0.04652275890111923, -0.034192342311143875, 0.0637354925274849, -0.05409349128603935, 0.0124051533639431, -0.005403616931289434, -0.027435308322310448, 0.02746734581887722, -0.0014944442082196474, 0.118134044110775, 0.04455302283167839, -0.04960805922746658, -0.037113968282938004, 0.04153984412550926, 0.018962763249874115, -0.06758566945791245, -0.0192014891654253, -0.01646125689148903, 0.026473933830857277, 0.002375449985265732, -0.0661294087767601, -0.0060288626700639725, 0.0052887266501784325, -0.04649095982313156, -0.0008689328678883612, 0.07178210467100143, -0.05076386407017708, 0.06273525208234787, 0.009693526662886143, -0.0002543519949540496, -0.02107943966984749, -0.03479264676570892, -0.046916596591472626, 0.016124121844768524, 0.006330110132694244, -0.014582568779587746, 0.06410174071788788, -0.034163426607847214, -0.02825949154794216, -0.043205615133047104, -0.03041171468794346, 0.03899820148944855, 0.02390398271381855, 0.059279702603816986, -0.026768743991851807, 0.06651394069194794, -0.0031807096675038338, 0.039140988141298294, -0.01495034247636795, -0.041846588253974915, -0.015515295788645744, -0.004474929999560118, 0.008431114256381989, 0.022963523864746094, 0.016862651333212852, 0.023188341408967972, 0.03436897322535515, 0.0010253667132928967, -0.008758327923715115, -0.005955358501523733, 0.029015110805630684, -0.008724541403353214, -0.006111564580351114, -0.02601955272257328, -0.014184536412358284, 0.04821068048477173, -0.047754935920238495, -0.047799259424209595, 0.013133061118423939, -0.08322178572416306, 0.06102880835533142, -0.07927890121936798, -0.05102890357375145, -0.01659100502729416, 0.026637744158506393, 0.04909086227416992, -0.005575526040047407, 0.01459972932934761, 0.05662846937775612, 0.03349069133400917, -0.0014061375986784697, 0.014606960117816925, 0.015197805128991604, 0.018084676936268806, -0.010636631399393082, 0.003020123578608036, 0.04377606511116028, -0.0022668868768960238, 0.004457644186913967, -0.06136325001716614, 0.037411294877529144, -0.0071870931424200535, -0.27162182331085205, 0.008958500809967518, 0.002052907831966877, -0.04014793410897255, 0.04551086202263832, -0.021520448848605156, 0.01101179514080286, -0.05843375250697136, -0.004604736343026161, 0.023154914379119873, -0.015866581350564957, -0.05194062739610672, 0.0014153225347399712, 0.03358931466937065, 0.00022810882364865392, 0.028292955830693245, 0.00032325249048881233, -0.022951330989599228, 0.013231019489467144, 0.04397527500987053, -0.013073690235614777, -0.08070723712444305, 0.003064834512770176, 0.025572316721081734, 0.028657052665948868, 0.05471957102417946, -0.09239184111356735, 0.04234098270535469, -0.04602634534239769, -0.01916019804775715, 0.007839697413146496, -0.013482758775353432, -0.014586619101464748, -0.02476552315056324, -0.01501318160444498, -0.011327890679240227, 0.024984823539853096, 0.028775127604603767, 0.002301345579326153, 0.007325889077037573, -0.019342642277479172, -0.03741841018199921, -0.010455655865371227, -0.009948596358299255, 0.07265394926071167, -0.00043002262827940285, -0.07779829949140549, -0.005887473933398724, -0.044117338955402374, 0.0972156897187233, -0.03191691264510155, -0.021944187581539154, 0.0069231633096933365, 0.03942374885082245, -0.02196120098233223, -0.01842370629310608, -0.027364877983927727, -0.01167626865208149, -0.037293169647455215, -0.018760014325380325, -0.010350157506763935, -0.040427159518003464, -0.02476053684949875, -0.05895066633820534, 0.0012093954719603062, -0.06021539121866226, -0.06352441757917404, -0.016383923590183258, 0.07702286541461945, -0.005283709615468979, -0.03623469918966293, 0.008496128022670746, 0.0040360488928854465, -0.11186321824789047, 0.01817633956670761, -0.0452299602329731, -0.0305335633456707, -0.01865716464817524, 0.027257511392235756, 0.04772112891077995, -0.003441594308242202, -0.05136805400252342, 0.011340707540512085, 0.0033329480793327093, 0.02130168303847313, -0.016610480844974518, 0.03413604944944382, 0.003156115533784032, -0.03329193964600563, 0.008065772242844105, 0.06291060149669647, -0.013707400299608707, -0.023034382611513138, -0.026662299409508705, 0.026006631553173065, 0.01191872637718916, 0.006875894498080015, -0.005286028143018484, -0.00806514360010624, 0.039549872279167175, 0.018420374020934105, -0.060020118951797485, 0.022256795316934586, -0.014475969597697258, -0.0031742765568196774, -0.018484944477677345, -0.052269741892814636, 0.031784843653440475, 0.040341816842556, 0.04092085361480713, -0.0019020243780687451, -0.02716485969722271, 0.012416299432516098, -0.06817927956581116, -0.04788435623049736, -0.01000518724322319, -0.021179888397455215, 0.05336262658238411, 0.007337186951190233, -0.021053818985819817, -0.03950461745262146, 0.019217489287257195, 0.030919305980205536, -0.002745692152529955, -0.049735963344573975, -0.03470967337489128, -0.02950119413435459, 0.005136613734066486, 0.014542732387781143, 0.01758810319006443, -0.018073149025440216, 0.020609216764569283, 0.019230863079428673, -0.05186979100108147, 0.01743970438838005, -0.014740210957825184, -0.06586354225873947, -0.033719252794981, -0.008236683905124664, -0.0052058822475373745, 0.010666390880942345, 0.021043892949819565, 0.012150296941399574, 0.0007216256344690919, 0.031368184834718704, -0.007850994355976582, 0.03749791160225868, -0.0030136550776660442, 0.03229591250419617, 0.0024668460246175528, 0.013301399536430836, -0.06817107647657394, 0.012907568365335464, -0.024301111698150635, -0.030888689681887627, -0.03766308352351189, 0.022463154047727585, -0.01648721471428871, -0.039556704461574554, -0.0079717468470335, 0.0027630121912807226, -0.06501596421003342, -0.032905545085668564, -0.027598794549703598, 0.018555736169219017, 0.06943826377391815, -0.01904095709323883, -0.0028623449616134167, -0.0319039449095726, -0.02355238050222397, 0.00751556595787406, 0.008060086518526077, -0.04963042214512825, 0.019665280357003212, 0.014053776860237122, 0.026108773425221443, 0.00007991391612449661, 0.008315736427903175, 0.05628404766321182, 0.021271152421832085, 0.00623671431094408, -0.015510333701968193, -0.0003323425189591944, -0.0013969425344839692, 0.04346652701497078, 0.022279690951108932, 0.0001190642433357425, 0.007811235263943672, -0.015711558982729912, -0.031234001740813255, -0.008674238808453083, -0.004030311945825815, -0.015491938218474388, 0.011127054691314697, -0.026460053399205208, -0.08462589979171753, 0.043013639748096466, 0.03173188120126724, 0.030187087133526802, 0.01972239650785923, -0.002595197409391403, 0.03714532405138016, -0.028881751000881195, 0.028964458033442497, 0.04686189070343971, -0.06473389267921448, 0.013547508046030998, -0.005944894626736641, 0.011277611367404461, 0.008842192590236664, -0.010341000743210316, -0.03277134522795677, -0.028073593974113464, -0.012343856506049633, -0.004910868592560291, -0.06993113458156586, -0.01216538343578577, -0.015479535795748234, 0.015551644377410412, -0.0007935768226161599, -0.006200998555868864, -0.020265763625502586, -0.0200448390096426, -0.020077286288142204, -0.02679874747991562, 0.04672253131866455, -0.04589329659938812, 0.024655869230628014, 0.013281461782753468, -0.02598482556641102, 0.009820661507546902, -0.033118609338998795, 0.012669414281845093, 0.020251929759979248, -0.006474877707660198, -0.0023438027128577232, -0.0236866045743227, -0.006601163651794195, -0.009710975922644138, 0.02916383184492588, 0.002013637451454997, -0.009192564524710178, -0.030964652076363564, -0.014208996668457985, -0.03199094533920288, 0.025004148483276367, -0.025203125551342964, -0.009065184742212296, 0.012629731558263302, 0.06558547914028168, 0.006511514075100422, 0.029449330642819405, -0.01853746548295021, -0.0019730515778064728, 0.06929106265306473, -0.057322610169649124, -0.047918133437633514, -0.04644198343157768, -0.053061433136463165, -0.013984457589685917, 0.013078373856842518, 0.01625291258096695, -0.025182439014315605, 0.04480734467506409, 0.04978630319237709, 0.02133135311305523, 0.03184760361909866, -0.0014441456878557801, 0.024499697610735893, -0.05720824748277664, 0.02073361724615097, -0.07674502581357956, 0.0245664082467556, 0.03863698989152908, 0.023397402837872505, 0.006105803418904543, -0.004383530933409929, -0.043316468596458435, 0.04313376545906067, -0.05058842524886131, -0.016777267679572105, 0.030530385673046112, -0.012265682220458984, -0.00593236880376935, 0.014589894562959671, -0.0849679559469223, 0.022712429985404015, 0.022904139012098312, -0.043003592640161514, -0.013192490674555302, -0.05248737335205078, 0.05413108319044113, 0.01782357506453991, 0.03231407701969147, -0.03938804194331169, -0.011706643737852573, 0.067908376455307, -0.0005135880201123655, 0.013542234897613525, 0.052336789667606354, -0.0005575818940997124, 0.03277447447180748, 0.028164826333522797, -0.0216318741440773, 0.006546522490680218, 0.020007571205496788, -0.014104627072811127, -0.04354412853717804, 0.05163978040218353, 0.011440104804933071, -0.03134742006659508, -0.03114612214267254, 0.0644330382347107, 0.016621574759483337, -0.04620380699634552, -0.056767068803310394, 0.025942759588360786, -0.07066689431667328, -0.004451005253940821, -0.011608039028942585, 0.001730563584715128, -0.044802822172641754, 0.05268136411905289, -0.017537349835038185, 0.01545464713126421, 0.07942674309015274, 0.013850899413228035, -0.04263265058398247, -0.017876509577035904, 0.08327433466911316, 0.07553303986787796, 0.049296848475933075, 0.008247315883636475, 0.05178441107273102, 0.014870105311274529, -0.02878144010901451, 0.022021472454071045, -0.004338044673204422, -0.018562082201242447, -0.00013585864508058876, 0.018224740400910378, 0.059271764010190964, -0.007773912977427244, 0.07258335500955582, -0.012868998572230339, -0.01947772689163685, -0.0005090489867143333, 0.044561345130205154, 0.04103260859847069, 0.050980761647224426, 0.01982869766652584, 0.029060980305075645, 0.0011537220561876893, -0.03429289534687996, 0.018040409311652184, -0.018497120589017868, -0.018470432609319687, 0.029805555939674377, 0.0025307524483650923, 0.025733230635523796, 0.0284176766872406, 0.03876487910747528, 0.06869044154882431, -0.04062105715274811, 0.023158948868513107, -0.013292220421135426, 0.020363569259643555, 0.0035411715507507324, -0.0051571219228208065, -0.02311033569276333, -0.02863980270922184, 0.0070738340727984905, -0.04528883844614029, -0.02134527452290058, 0.0007856598240323365, 0.00040434731636196375, 0.041359782218933105, 0.0007466016104444861, 0.015801923349499702, 0.01944059692323208, 0.02762613259255886, -0.027320418506860733, -0.04199596866965294, -0.0653272494673729, -0.04044254124164581, -0.03464469313621521, -0.01932668499648571, 0.022481383755803108, -0.011895761825144291, -0.05206148698925972, -0.016376806423068047, -0.025531619787216187, -0.030092529952526093, 0.05011499300599098, -0.058476418256759644, -0.002533456776291132, 0.017289796844124794, 0.016129137948155403, 0.028041217476129532, 0.004748445004224777, 0.06328405439853668, -0.004185427445918322, -0.007401331793516874, -0.036798641085624695, 0.011594523675739765, 0.022630132734775543, 0.011838909238576889, 0.017633257433772087, -0.07285803556442261, 0.023936334997415543, 0.017211128026247025, 0.0010993726318702102, -0.07703161239624023, 0.000971887493506074, 0.011136139743030071, -0.014770084992051125, 0.05264695733785629, -0.029529327526688576, 0.0018606610829010606, -0.027629882097244263, 0.0016925110248848796, 0.005240333266556263, 0.02987484447658062, 0.034601978957653046, -0.0035202738363295794, 0.08791297674179077, 0.04568999633193016, -0.02267862856388092, -0.04490364342927933, 0.018131520599126816, -0.004727648105472326, -0.0058259908109903336, -0.018704010173678398, -0.03845375403761864, -0.02100354991853237, -0.08650333434343338, -0.04911751300096512, 0.006863471586257219, -0.021412137895822525, -0.031593404710292816, 0.01983870193362236, 0.023059599101543427, -0.03668292239308357, 0.00464446609839797, -0.04760930314660072, 0.03618479520082474, -0.03667382150888443, -0.01725897192955017, -0.010399410501122475, 0.03189833462238312, 0.00031765428138896823, 0.0033027995377779007, 0.013162840157747269, -0.04485413804650307, -0.0008548586047254503, 0.011010568588972092, 0.03397446498274803, 0.05099578946828842, 0.012502958066761494, -0.009669053368270397 ]
[ -0.06687121093273163, -0.016346510499715805, -0.042535796761512756, -0.0343034565448761, 0.027814878150820732, -0.05701710283756256, -0.007767009548842907, 0.017721986398100853, 0.02044534683227539, -0.04731062427163124, -0.01780611462891102, -0.018142804503440857, -0.0014611959923058748, -0.02201605774462223, 0.13198618590831757, -0.028043553233146667, 0.0009471623925492167, -0.03862941265106201, 0.006777327042073011, 0.02634619176387787, 0.028469599783420563, -0.05272716283798218, -0.06003764644265175, -0.010494329035282135, 0.040902331471443176, 0.02466908097267151, 0.03193621337413788, -0.032789990305900574, 0.00864759273827076, -0.1769394427537918, 0.022974709048867226, 0.019653059542179108, 0.02172526903450489, -0.005918323993682861, 0.00583647983148694, 0.04576589912176132, 0.04530366510152817, 0.003319275565445423, -0.0020358285401016474, 0.02966790273785591, 0.004968500230461359, 0.022615106776356697, -0.04102889448404312, -0.023689808323979378, -0.026782000437378883, 0.0009502280154265463, -0.003004890400916338, -0.012681328691542149, -0.016803255304694176, -0.023684490472078323, -0.02663866989314556, 0.0025087781250476837, -0.022846870124340057, 0.012552250176668167, -0.001325832330621779, 0.027736833319067955, 0.04686587303876877, 0.07733405381441116, -0.006465722806751728, 0.034826815128326416, 0.00882622692734003, -0.04461568966507912, -0.14101873338222504, 0.11237508058547974, 0.05062152072787285, 0.041190255433321, -0.02132350765168667, -0.0013528692070394754, -0.0403207466006279, 0.08222151547670364, -0.0006745014106854796, -0.019972573965787888, -0.03784031420946121, 0.06317898631095886, 0.013245392590761185, 0.0010087091941386461, 0.018047379329800606, 0.0343480221927166, 0.025703905150294304, -0.023115862160921097, -0.05251502990722656, -0.04340847581624985, -0.012097758240997791, 0.013915804214775562, -0.07158304005861282, 0.033253949135541916, -0.014672601595520973, 0.037100650370121, 0.016004148870706558, 0.014148440212011337, 0.02465716190636158, -0.00014930355246178806, 0.029408888891339302, -0.033790767192840576, -0.08980146050453186, -0.007299101445823908, -0.023184701800346375, -0.01038371305912733, -0.025951111689209938, 0.4027903974056244, -0.00006660018698312342, -0.03861474618315697, 0.06724107265472412, -0.0026460886001586914, -0.01239163987338543, 0.001644410309381783, -0.033958323299884796, -0.045658521354198456, 0.041969627141952515, -0.011684838682413101, -0.027946773916482925, 0.004630392417311668, 0.05012130364775658, -0.02407030388712883, 0.00008692363917361945, 0.04555128887295723, 0.016522863879799843, 0.03333275392651558, 0.03838362172245979, 0.008268728852272034, -0.012870095670223236, -0.011684635654091835, 0.030786147341132164, 0.01930812932550907, -0.019099213182926178, -0.02292368747293949, 0.03856377303600311, 0.03979112580418587, 0.001284523052163422, -0.010088479146361351, 0.037237927317619324, -0.04965989664196968, -0.049590326845645905, -0.015710869804024696, 0.011242995038628578, 0.026006417348980904, 0.0014700440224260092, -0.023208005353808403, -0.010338199324905872, 0.07481116056442261, 0.016185669228434563, -0.017799152061343193, 0.030207835137844086, -0.0626673549413681, -0.02295577898621559, 0.1267118752002716, 0.04850946366786957, -0.009925289079546928, -0.009603842161595821, -0.042898595333099365, 0.0033906546887010336, 0.07213413715362549, 0.012434085831046104, -0.05215324088931084, 0.007260010577738285, 0.041950106620788574, 0.09402189403772354, -0.012803909368813038, -0.03929002583026886, 0.012940753251314163, 0.017750466242432594, -0.008880426175892353, -0.05470031872391701, 0.07773686200380325, 0.06889530271291733, -0.13212834298610687, 0.006934919394552708, 0.013779341243207455, 0.018190063536167145, -0.05349135398864746, -0.03211275488138199, 0.03306899592280388, 0.011437257751822472, -0.010317620821297169, 0.027553793042898178, -0.03944172337651253, -0.052200477570295334, 0.017977699637413025, 0.014547444880008698, 0.013142617419362068, -0.006716158241033554, 0.047258127480745316, -0.030777132138609886, -0.012984279543161392, -0.006443435791879892, -0.09949322044849396, -0.0403362512588501, 0.0071387747302651405, -0.0573294498026371, -0.02615196444094181, -0.04003336280584335, -0.011609318666160107, -0.05794467777013779, 0.09063780307769775, 0.011495056562125683, -0.028925446793437004, 0.021184343844652176, -0.018745029345154762, -0.024964017793536186, -0.007205652073025703, -0.02042391523718834, 0.07509925216436386, -0.06422314047813416, 0.01792129874229431, -0.08351320028305054, 0.037334125488996506, 0.05491209402680397, -0.0319979302585125, 0.058045852929353714, 0.018576819449663162, -0.004162991419434547, -0.005165716167539358, 0.014640904031693935, 0.056091442704200745, 0.0003220756771042943, -0.030948011204600334, 0.01552528515458107, 0.06631738692522049, 0.0051391166634857655, 0.026006225496530533, -0.028221698477864265, 0.004798512440174818, 0.005376388318836689, -0.3542344272136688, -0.0508757084608078, -0.005470255855470896, -0.01926244981586933, -0.0010603169212117791, -0.034937962889671326, 0.040885452181100845, -0.02534380368888378, -0.0402529314160347, 0.009361958131194115, 0.11657429486513138, -0.015751810744404793, -0.01071356050670147, -0.07917630672454834, -0.004504977725446224, 0.047519028186798096, -0.04859384149312973, 0.007108074147254229, -0.035733480006456375, 0.009932687506079674, 0.003928930498659611, 0.009179790504276752, 0.02361483685672283, -0.05212509259581566, 0.03165356069803238, 0.0028519879560917616, 0.08606430888175964, -0.03496439754962921, 0.08353554457426071, -0.057107292115688324, 0.043606773018836975, -0.004167481325566769, 0.013262730091810226, -0.08935145288705826, -0.008210256695747375, -0.012225177139043808, 0.006590420380234718, -0.01769796572625637, 0.028248842805624008, -0.024260705336928368, -0.0747222900390625, 0.012651883997023106, -0.06227390468120575, -0.04573753848671913, -0.04939207434654236, -0.006550612859427929, -0.05185916647315025, -0.031888846307992935, -0.00841173529624939, 0.04423590749502182, -0.03899898752570152, -0.026980485767126083, -0.005219914484769106, -0.001999553060159087, -0.00809963047504425, -0.03386307507753372, -0.0494711697101593, 0.006658573169261217, 0.007132660131901503, -0.036755647510290146, 0.02395027130842209, 0.08286686986684799, 0.030856003984808922, -0.042199842631816864, 0.04688876122236252, -0.0029969250317662954, 0.00384328281506896, 0.03268790245056152, 0.021995464339852333, -0.028602512553334236, -0.033116452395915985, 0.09213552623987198, -0.019119923934340477, -0.014410152100026608, 0.02456291764974594, 0.0392456017434597, 0.014126618392765522, 0.0016773396637290716, -0.026004904881119728, -0.021092185750603676, 0.04154447838664055, -0.0230549406260252, 0.050072863698005676, -0.018283840268850327, -0.016007225960493088, 0.04641582816839218, -0.010029817000031471, -0.02203919179737568, 0.037344805896282196, -0.03449508547782898, -0.02296881377696991, -0.009774817153811455, -0.04873096942901611, -0.024458879604935646, 0.040211305022239685, -0.009510478936135769, -0.24305690824985504, 0.009802977554500103, 0.03286297619342804, 0.044320523738861084, -0.04055026173591614, 0.02087504416704178, 0.022099515423178673, -0.03426027670502663, 0.003580913646146655, 0.015348738059401512, 0.04115990549325943, 0.007300448138266802, 0.03242902457714081, 0.025530846789479256, 0.06773126125335693, 0.034768979996442795, 0.06704776734113693, 0.013187224045395851, -0.001241895486600697, -0.019588682800531387, 0.010368173010647297, -0.02534743770956993, 0.1884111613035202, -0.001419130596332252, 0.051279984414577484, 0.054869405925273895, 0.02126818709075451, 0.0464731864631176, 0.05994966998696327, 0.03671245649456978, -0.007381883915513754, 0.0012285064440220594, 0.05457129329442978, -0.01853880099952221, 0.023339824751019478, -0.10275398939847946, -0.008840410970151424, 0.021547432988882065, 0.03584287315607071, 0.024828555062413216, -0.0007181176915764809, 0.010749975219368935, -0.015341018326580524, -0.011540883220732212, 0.09779810160398483, 0.018076354637742043, -0.02942943200469017, -0.059029027819633484, -0.0547294020652771, -0.019587870687246323, -0.03094555251300335, -0.057636622339487076, 0.0025192012544721365, -0.01842247135937214, 0.028989339247345924, 0.035970404744148254, -0.02477295510470867, -0.04956072196364403, -0.0490419864654541, 0.02071751281619072, 0.022714674472808838, -0.0172816701233387, 0.07547467947006226, 0.0031565027311444283, 0.035966549068689346 ]
[ -0.04677468165755272, -0.0032164035364985466, -0.004242383874952793, 0.011180726811289787, -0.015736348927021027, -0.013882755301892757, 0.005820376332849264, 0.03393762186169624, -0.012142838910222054, -0.022300828248262405, 0.015850266441702843, 0.02552994340658188, 0.029667682945728302, -0.0019038605969399214, 0.04412217438220978, -0.049265697598457336, 0.03192105144262314, 0.02295566163957119, 0.035902924835681915, 0.0002447189181111753, -0.016439536586403847, 0.03935107961297035, -0.006711762864142656, -0.030865972861647606, -0.008175299502909184, 0.025503940880298615, -0.00005695485378964804, 0.0076246680691838264, 0.0056435223668813705, -0.1245613545179367, 0.019678523764014244, -0.011838831007480621, 0.005818625446408987, 0.011658555828034878, 0.013883710838854313, -0.0015870633069425821, 0.01337537169456482, -0.01650598645210266, 0.020031874999403954, 0.008345486596226692, 0.018396923318505287, -0.04238587245345116, -0.0016802632017061114, -0.0016744560562074184, -0.003501321654766798, -0.02711145207285881, -0.03313459828495979, -0.010144578292965889, 0.0013496337924152613, 0.014948749914765358, -0.04146916791796684, -0.01454644463956356, 0.0093361372128129, 0.038780756294727325, 0.053801290690898895, -0.032118070870637894, -0.011099345050752163, -0.004654392600059509, -0.012281670235097408, -0.006618179380893707, 0.005789797753095627, 0.007567455060780048, -0.038016680628061295, -0.004239619709551334, -0.021252315491437912, -0.010592269711196423, 0.003218759084120393, -0.00875031016767025, -0.041632454842329025, -0.016679193824529648, -0.00896786991506815, 0.019042322412133217, -0.034547530114650726, -0.014369149692356586, 0.009977847337722778, 0.022729286924004555, 0.03806917741894722, 0.004019934684038162, 0.020166311413049698, -0.024155110120773315, -0.03708789497613907, 0.011188110336661339, 0.003864919301122427, 0.02017766796052456, -0.05491066351532936, -0.011913311667740345, 0.017558347433805466, -0.018093861639499664, 0.009071999229490757, 0.009100747294723988, -0.013791801407933235, 0.03237280622124672, 0.0008935030200518668, -0.014473559334874153, -0.09300649911165237, -0.023469693958759308, -0.03719586133956909, -0.012789965607225895, 0.0007805434288457036, 0.8625155091285706, -0.0038637560792267323, 0.0158801581710577, 0.044331375509500504, 0.03723437711596489, -0.007412839215248823, -0.03411898389458656, -0.009265229105949402, 0.0471167117357254, 0.01977071538567543, -0.018051505088806152, -0.0023187934421002865, 0.005095509346574545, 0.00633641891181469, 0.01935664191842079, 0.0027119172737002373, 0.0105980159714818, 0.06222333014011383, 0.018324853852391243, 0.011872677132487297, 0.009543722495436668, 0.013938154093921185, -0.010625474154949188, -0.015267538838088512, -0.027565935626626015, 0.022610759362578392, -0.1331721693277359, 0.01314998883754015, -8.425144905219567e-33, 0.018582206219434738, -0.014915591105818748, -0.0014374344609677792, 0.01870489865541458, 0.029759839177131653, 0.005490174517035484, 0.0026365856174379587, 0.008157306350767612, 0.008253087289631367, -0.0035338911693543196, -0.026323508471250534, -0.0056448280811309814, 0.00802837498486042, -0.017359871417284012, 0.013255303725600243, -0.03908294066786766, 0.00001561720455356408, 0.0035572820343077183, 0.008957326412200928, 0.006600292399525642, 0.012305301614105701, 0.03168448433279991, 0.023305846378207207, 0.01364054623991251, 0.018954742699861526, -0.007003766484558582, -0.005506851244717836, 0.0024979098234325647, 0.038107771426439285, -0.033645499497652054, 0.029603688046336174, -0.0013919773045927286, -0.017521940171718597, 0.010834080167114735, -0.014149845577776432, -0.042454369366168976, -0.036399729549884796, -0.012775178998708725, -0.06131134554743767, -0.027869263663887978, -0.039025940001010895, 0.004409462679177523, -0.041981324553489685, 0.031060175970196724, -0.013057298958301544, -0.01946811005473137, -0.012037049978971481, -0.0008106300956569612, 0.02275892160832882, 0.026334451511502266, 0.013576957397162914, 0.013129263184964657, 0.0058827754110097885, 0.027037106454372406, -0.023785730823874474, 0.04459121450781822, -0.005427878350019455, -0.000348466302966699, 0.022788021713495255, -0.027406344190239906, -0.027359724044799805, -0.03140176087617874, -0.016006547957658768, 0.00459732860326767, 0.005769738461822271, 0.00481815729290247, -0.002324087545275688, -0.004816768690943718, -0.006682089064270258, 0.018069637939333916, -0.01629701815545559, 0.015460008755326271, -0.021199136972427368, 0.013662941753864288, -0.007750698830932379, -0.0362345352768898, 0.005570388864725828, 0.010731657966971397, -0.0006090414826758206, 0.000634663796517998, 0.0029538546223193407, 0.01276725810021162, 0.026552714407444, 0.0029049343429505825, -0.02591942436993122, 0.038335658609867096, 0.0345165953040123, 0.004807626362890005, -0.00824526883661747, 0.03025299310684204, 0.03028619848191738, 0.06825830787420273, 0.007088639307767153, -0.025587769225239754, 0.006403831765055656, 8.471346975994668e-33, -0.02036767080426216, -0.007576210889965296, -0.01922023482620716, 0.01719210483133793, -0.020315157249569893, -0.008713615126907825, 0.013395496644079685, 0.00114387774374336, -0.0640534907579422, 0.041598640382289886, -0.002592904958873987, 0.01916366256773472, -0.018559111282229424, 0.014655441977083683, 0.0447712317109108, -0.011634180322289467, 0.03357919678092003, -0.04357564449310303, 0.037882931530475616, 0.04003363475203514, 0.039420779794454575, -0.007677357643842697, 0.011107757687568665, 0.026881707832217216, -0.011112912558019161, 0.03101733699440956, -0.04381575435400009, 0.020807428285479546, -0.033865321427583694, -0.06266334652900696, 0.017859255895018578, -0.028807776048779488, 0.022047007456421852, -0.03161538392305374, 0.01811155676841736, 0.008980067446827888, -0.017669357359409332, 0.021785635501146317, 0.032325271517038345, -0.006017567589879036, 0.03513643145561218, -0.05396731570363045, -0.005147574003785849, 0.025222955271601677, -0.0013779840664938092, -0.016864605247974396, 0.011871371418237686, -0.038018323481082916, -0.009775816462934017, 0.023993704468011856, -0.011964809149503708, 0.016261378303170204, -0.002647546585649252, 0.023342987522482872, -0.02310413494706154, -0.008874649181962013, 0.018138084560632706, 0.026333967223763466, 0.015135756693780422, 0.029667802155017853, 0.02172689698636532, -0.009128715842962265, -0.017265284433960915, 0.028085442259907722, -0.019868046045303345, -0.022426510229706764, 0.002237475709989667, -0.025463543832302094, 0.007419054862111807, -0.0160933006554842, -0.01811702363193035, -0.016240276396274567, -0.03540237620472908, 0.01014643907546997, 0.0353781133890152, -0.06163584813475609, -0.02428933046758175, 0.005393671803176403, -0.023504899814724922, 0.014929935336112976, 0.02430257946252823, 0.0009617916657589376, -0.01506124995648861, -0.00968352984637022, -0.007257037330418825, -0.029908711090683937, -0.0010701402788981795, 0.02213023230433464, 0.003446886083111167, -0.001894426066428423, -0.04039399325847626, -0.011509129777550697, -0.002425289014354348, -0.00904314499348402, 0.00033170092501677573, -1.3784141827954954e-8, -0.024242928251624107, -0.009927136823534966, -0.016558999195694923, 0.0387541800737381, 0.01980309560894966, -0.038871049880981445, -0.028002973645925522, -0.015350406989455223, -0.016407690942287445, 0.007820785976946354, 0.03770855441689491, 0.01862148568034172, -0.021711256355047226, 0.04882587119936943, 0.029699595645070076, -0.028946779668331146, -0.0088232746347785, -0.04998711869120598, 0.018389709293842316, 0.027262592688202858, 0.027108317241072655, 0.036261264234781265, -0.000004604240075423149, 0.00045264081563800573, 0.01050642877817154, 0.02861618623137474, 0.012490179389715195, -0.0600157156586647, -0.001287762075662613, -0.017406072467565536, -0.018816418945789337, -0.015402993187308311, -0.06220351159572601, 0.015770426020026207, -0.03427086025476456, -0.021346038207411766, -0.0023273879196494818, 0.016329482197761536, 0.014607034623622894, 0.0015023412415757775, 0.014174813404679298, 0.016551990061998367, -0.01302473433315754, -0.016553567722439766, 0.002789673861116171, 0.027382120490074158, 0.0005130917998030782, 0.024611610919237137, 0.0031267572194337845, -0.01728418841958046, -0.006111507769674063, 0.00970251765102148, 0.02904367633163929, 0.02290515974164009, -0.021960029378533363, -0.043517015874385834, 0.048440199345350266, -0.02913801185786724, 0.0005119386478327215, 0.032078053802251816, -0.005041180178523064, 0.012895396910607815, -0.031259551644325256, -0.03656353801488876 ]
micro-services-the-curse-of-code-duplication
https://markhneedham.com/blog/2012/11/28/micro-services-the-curse-of-code-duplication
false
2012-11-17 16:56:28
Buy vs Build: Driving from the problem
[ "software-development" ]
[ "Software Development" ]
My colleague https://twitter.com/erikdoe[Erik Doernenburg] has written a couple of articles recently discussing the reasons http://erik.doernenburg.com/2012/09/buy-vs-build-shift-part-1/[why people buy] and http://erik.doernenburg.com/2012/11/buy-vs-build-shift-part-2-and-3/[build IT solutions] and one part in particular resonated with me: ____ it is also possible, and not uncommon, that the software package does not do exactly what the business needs, leading to decreased productivity and lost opportunities. ____ I feel like there's a mindset change once you start thinking which package you could buy to solve your problem whereby *you stop solving the problem you actually have and focus instead on what features the package offers*. Package software almost by definition tends to be written for a generic case of a problem and as Erik points out might not solve the problem that a business has. In addition it will probably solve problems which they don't have. This leads to a tendency to believe that the alternative to buying a package is to match that package feature for feature with a custom built solution. If you look at things from that perspective it's easy to see why buying would be preferred since the build approach is going to cost at least as much and you'd have to wait for it to be built as opposed to having it straight away. However, when you start from the mindset of solving the problem in front of you - which is the mindset that building something leads you towards - then *you may actually find that you can get away with a much simpler implementation than previously seemed possible*. By making use of prioritised iterative delivery we can then ensure that the most important/highest priority features are built first and if at any stage it doesn't make sense to build the next feature you can stop. I'm curious whether there's some middle ground where you could still drive your solution from the problem and then pick and choose buy/build wherever it made sense. We do actually take a variation of that approach in most applications I've worked on where we make use of open source libraries rather than writing everything from scratch. In order for that approach to work with package software the package would need to be written more as a library that solves a specific problem rather than a framework which you need to use to solve every possible problem you have. I don't really have a good conclusion to this but Erik covers this point and more in his http://erik.doernenburg.com/2012/09/buy-vs-build-shift-part-1/[two] http://erik.doernenburg.com/2012/11/buy-vs-build-shift-part-2-and-3/[posts] so go and read those if you find it interesting!
null
null
[ 0.022550834342837334, 0.012725520879030228, 0.007328954059630632, 0.04055694490671158, 0.10325737297534943, 0.046572089195251465, 0.03206867724657059, 0.03972698375582695, 0.019821397960186005, -0.02454458363354206, -0.02761816792190075, -0.002736307680606842, -0.07225678116083145, 0.02326216921210289, -0.0586983896791935, 0.06939363479614258, 0.08240868896245956, 0.01661783456802368, 0.008618471212685108, 0.018541164696216583, 0.029905835166573524, 0.0719272568821907, 0.019396275281906128, 0.032048363238573074, 0.01942645199596882, -0.0028672069311141968, 0.0016760971629992127, -0.011493398807942867, -0.06554418057203293, -0.023041626438498497, 0.04196074977517128, -0.005685207433998585, -0.0072979386895895, -0.01753469929099083, 0.007513132877647877, 0.006753180641680956, -0.02450316585600376, 0.022453196346759796, 0.004701719153672457, -0.0045774406753480434, -0.07595150172710419, 0.046906400471925735, -0.015544491820037365, -0.0011022260878235102, -0.05377890542149544, 0.011439026333391666, -0.05502614751458168, -0.002028872724622488, -0.01944916881620884, -0.034123726189136505, -0.052418481558561325, 0.03952668979763985, -0.022260867059230804, -0.007486007642000914, 0.0027037400286644697, 0.05086549371480942, 0.01096291746944189, -0.05554113909602165, 0.018011489883065224, -0.039532262831926346, 0.010410884395241737, -0.008254487998783588, -0.0014642092864960432, 0.03316415846347809, 0.021281270310282707, -0.024394622072577477, -0.006679164245724678, 0.04822351410984993, -0.03162234276533127, 0.002739076502621174, -0.03506838157773018, -0.000840518856421113, -0.022288285195827484, -0.019945506006479263, 0.013435892760753632, -0.046206869184970856, 0.00422977888956666, 0.06779581308364868, 0.018696406856179237, 0.03177325055003166, -0.033304985612630844, 0.03598077967762947, -0.003891249652951956, 0.020200612023472786, -0.004376344382762909, -0.03992670029401779, 0.01373959705233574, -0.008254104293882847, -0.07099050283432007, 0.06027359142899513, 0.0219009630382061, -0.05437770113348961, 0.014921879395842552, 0.04260680451989174, 0.0023599150590598583, -0.0071975612081587315, 0.018199928104877472, 0.013452600687742233, -0.00014080437540542334, 0.014594804495573044, -0.029079146683216095, -0.017838135361671448, -0.00300390413030982, 0.0004719907883554697, -0.068843312561512, -0.009442049078643322, -0.0005883325356990099, -0.005075140856206417, -0.024090932682156563, 0.00359803787432611, -0.03539609909057617, 0.009118039160966873, -0.02561202086508274, 0.009188557043671608, -0.06940252333879471, 0.0765661895275116, -0.006621448788791895, -0.04391932487487793, -0.026202145963907242, 0.015224907547235489, 0.04057716578245163, 0.028715405613183975, -0.02095068246126175, 0.07603389769792557, 0.017558524385094643, 0.013118128292262554, -0.0313551165163517, 0.05298867076635361, -0.017358016222715378, -0.06615054607391357, 0.007241720333695412, 0.05997837334871292, -0.029626796022057533, -0.011464559473097324, -0.005609650630503893, -0.003116988344117999, 0.029269546270370483, 0.005288238171488047, 0.028010046109557152, 0.02094745635986328, -0.0168948695063591, -0.03566961735486984, 0.022093091160058975, 0.03669489175081253, 0.011973549611866474, -0.010804644785821438, 0.011267478577792645, -0.019661124795675278, -0.05523762106895447, -0.002019606065005064, 0.01920550875365734, 0.039421431720256805, 0.028313497081398964, -0.04461675137281418, 0.034769222140312195, 0.0926918014883995, 0.05084136873483658, 0.0016107734991237521, -0.019611110910773277, 0.013659633696079254, 0.033585745841264725, 0.02640344575047493, 0.028644569218158722, 0.019707156345248222, 0.008453655987977982, -0.013435366563498974, 0.0022695160005241632, 0.027126196771860123, 0.0030969895888119936, -0.0015171439154073596, -0.051367077976465225, -0.055805329233407974, 0.03484151139855385, -0.0343194380402565, -0.001187379821203649, 0.04547590762376785, 0.08470246195793152, 0.05110762640833855, 0.033828526735305786, 0.007733582053333521, -0.08648495376110077, 0.04204938933253288, 0.011582056060433388, 0.007157786749303341, 0.029090099036693573, -0.029248332604765892, 0.0559803768992424, 0.04035359248518944, -0.00035703802132047713, 0.029564369469881058, -0.08055561780929565, -0.10649328678846359, -0.009058988653123379, -0.01340816356241703, 0.03584880381822586, -0.02907169610261917, -0.016748400405049324, 0.06378836929798126, 0.010337753221392632, 0.04614485427737236, 0.01211569830775261, 0.005697534419596195, 0.0031376478727906942, -0.06256601214408875, -0.05199962854385376, 0.05635874345898628, 0.044324371963739395, 0.005261615850031376, -0.031654857099056244, 0.014399584382772446, 0.0076902927830815315, -0.025125501677393913, 0.03548780083656311, -0.03234078735113144, 0.042232614010572433, 0.004998804535716772, 0.0581556111574173, -0.027358081191778183, 0.053131282329559326, -0.04049987345933914, -0.005191706586629152, 0.005066453479230404, -0.0205688513815403, 0.02221631444990635, -0.0055623771622776985, 0.10406886041164398, 0.05399681627750397, -0.06879495084285736, -0.03868706896901131, 0.03614844009280205, 0.020044170320034027, -0.043164756149053574, -0.012203305959701538, -0.010852115228772163, 0.0180662889033556, 0.0009304667473770678, -0.06960152089595795, -0.02195756696164608, 0.0193974357098341, -0.046835318207740784, 0.010286110453307629, 0.059219956398010254, -0.019240686669945717, 0.0578007847070694, -0.004058419726788998, -0.011077615432441235, -0.026101864874362946, -0.031151341274380684, -0.07945918291807175, 0.01020850334316492, 0.0029077637009322643, -0.012103714048862457, 0.038285303860902786, -0.017989886924624443, -0.02457161620259285, -0.03729550912976265, -0.04901547357439995, 0.027271738275885582, 0.04966592416167259, 0.07312910258769989, -0.029083097353577614, 0.05523810535669327, -0.013808820396661758, 0.04758480563759804, 0.004887192975729704, -0.04582991078495979, -0.036844704300165176, -0.028356654569506645, -0.00029939107480458915, 0.013440792448818684, -0.00012939388398081064, 0.003251701360568404, -0.005128068849444389, -0.005601484794169664, -0.013278602622449398, -0.021377943456172943, 0.02344699203968048, 0.00040088366949930787, -0.004944093059748411, -0.05105377733707428, 0.007524927146732807, 0.059093669056892395, -0.022228194400668144, -0.02035016193985939, 0.010314848273992538, -0.07642990350723267, 0.04951498284935951, -0.07183022052049637, -0.034464266151189804, -0.007619648240506649, 0.03161141276359558, 0.036104556173086166, 0.013556021265685558, 0.03890812024474144, 0.06981909275054932, 0.030797170475125313, 0.001378722139634192, 0.008641259744763374, 0.014079965651035309, 0.039727333933115005, 0.03304140269756317, -0.015086498111486435, 0.04416389763355255, -0.0035764994099736214, -0.007273795548826456, -0.05359221622347832, 0.0489153116941452, -0.044310037046670914, -0.2830277383327484, 0.03213561698794365, 0.00019027975213248283, -0.05461708828806877, 0.02259385772049427, -0.02241094782948494, 0.005640620365738869, -0.055311448872089386, -0.015881149098277092, 0.022496720775961876, -0.03976136073470116, -0.05204182490706444, -0.0021479041315615177, 0.038706544786691666, 0.010806352831423283, 0.023739591240882874, 0.050113484263420105, -0.01982055976986885, 0.0006436012918129563, 0.051562655717134476, -0.0032779474277049303, -0.07439186424016953, 0.012476762756705284, 0.024907751008868217, 0.04815387353301048, 0.06439550966024399, -0.07428378611803055, 0.06255601346492767, -0.056333307176828384, -0.012222890742123127, -0.013930759392678738, -0.0008195389527827501, -0.01668430306017399, 0.002283587120473385, -0.01629636064171791, -0.014772007241845131, 0.042412109673023224, 0.013707602396607399, 0.000012752020666084718, 0.017751026898622513, -0.010176118463277817, 0.0008290516561828554, 0.011281333863735199, 0.016648396849632263, 0.06872337311506271, -0.010835363529622555, -0.09652484953403473, -0.006185953039675951, -0.0548289529979229, 0.08646806329488754, -0.016031408682465553, -0.03821883723139763, -0.006987074855715036, 0.02150459960103035, -0.011501188389956951, -0.008710368536412716, -0.008423824794590473, -0.023298654705286026, -0.018074117600917816, -0.017545729875564575, -0.009036284871399403, -0.016999641433358192, -0.022607963532209396, -0.02751786820590496, 0.0017078266246244311, -0.060433246195316315, -0.049898598343133926, -0.02264602668583393, 0.07883396744728088, 0.003598019713535905, -0.035404641181230545, 0.012136987410485744, 0.007328005973249674, -0.1021672785282135, 0.00883079506456852, -0.024731740355491638, -0.039872657507658005, -0.001032710075378418, 0.007549874018877745, 0.03991962969303131, -0.01661648415029049, -0.04620471969246864, 0.03419011831283569, 0.01772543042898178, 0.03198616951704025, 0.004116852302104235, 0.016234349459409714, 0.03548942133784294, -0.02614959329366684, 0.0195078793913126, 0.05563921481370926, -0.009596743620932102, -0.03519990295171738, -0.036868419498205185, 0.012438055127859116, 0.004756487440317869, -0.002568915719166398, -0.023039426654577255, 0.013628354296088219, 0.02365460805594921, 0.0039002294652163982, -0.06830345094203949, 0.0127220144495368, -0.005792737472802401, -0.008089856244623661, -0.018638670444488525, -0.05556940659880638, -0.0004998046206310391, 0.06173514947295189, 0.03856651857495308, -0.009312834590673447, -0.020334448665380478, 0.0058139353059232235, -0.04111909866333008, -0.03813474625349045, -0.009111534804105759, 0.0007683809963054955, 0.04037611186504364, -0.015281781554222107, -0.011942350305616856, -0.05120273679494858, 0.007584003731608391, -0.012997682206332684, -0.01946783997118473, -0.07261102646589279, 0.007332724053412676, -0.016071798279881477, -0.017187396064400673, 0.018449097871780396, 0.04189252853393555, -0.026045911014080048, 0.028580477461218834, 0.040769729763269424, -0.05520426481962204, 0.010782130062580109, -0.024466926231980324, -0.042781926691532135, -0.03160323202610016, -0.019916342571377754, -0.008275894448161125, -0.009520167484879494, 0.02675417996942997, 0.021470382809638977, 0.008325411938130856, 0.0475895032286644, 0.01882995292544365, 0.0328303799033165, -0.0006603200454264879, 0.009734014049172401, 0.0062376814894378185, 0.0010794101981446147, -0.0650595873594284, 0.017811819911003113, -0.04311245679855347, -0.01756022311747074, -0.046420350670814514, 0.02488352730870247, -0.02137760818004608, -0.026918165385723114, -0.00707718450576067, 0.006947898305952549, -0.047195129096508026, -0.04242156073451042, -0.019014261662960052, 0.025953158736228943, 0.07301560789346695, -0.007737315259873867, 0.002382609760388732, -0.04481637850403786, 0.00024403999850619584, 0.03262702748179436, 0.011115066707134247, -0.06055941432714462, -0.000007749827091174666, 0.02072759158909321, -0.005813885945826769, 0.003142821602523327, -0.0141439288854599, 0.052215199917554855, 0.00003108553573838435, -0.018903149291872978, -0.007048578001558781, -0.00007333858957281336, -0.012274052016437054, 0.03682933375239372, 0.007791996467858553, -0.008702624589204788, -0.0056166620925068855, -0.028040999546647072, -0.011363164521753788, -0.030572596937417984, -0.009394305758178234, 0.0028910222463309765, 0.025093775242567062, -0.030867038294672966, -0.0774933323264122, 0.05111408233642578, 0.020521223545074463, 0.008915258571505547, 0.011356555856764317, -0.023668238893151283, -0.0009442535229027271, -0.025397012010216713, 0.043315473943948746, 0.09558418393135071, -0.07222773879766464, 0.006168205291032791, 0.0007219423423521221, 0.018400004133582115, 0.03133223578333855, 0.0036785455886274576, -0.026151010766625404, -0.01496171485632658, -0.02103857696056366, 0.0056642587296664715, -0.06336291879415512, -0.013124718330800533, -0.02358420193195343, 0.01982112042605877, -0.007544982247054577, 0.005531818140298128, -0.03010759875178337, -0.016680506989359856, -0.021930783987045288, -0.03377029672265053, 0.01688282936811447, -0.030751174315810204, -0.011830203235149384, 0.02444091998040676, -0.043782368302345276, 0.007229291368275881, -0.04110648110508919, 0.004061415325850248, 0.018660137429833412, -0.021801983937621117, -0.00025476457085460424, -0.033017780631780624, 0.005317310336977243, -0.004861991386860609, 0.02782377041876316, -0.015806542709469795, -0.019273683428764343, -0.03651893138885498, -0.023735972121357918, -0.054187361150979996, -0.011702409945428371, -0.01652846299111843, -0.01218212116509676, 0.0038011998403817415, 0.06516668200492859, -0.012812536209821701, 0.012360271997749805, -0.008930752985179424, -0.0011860949452966452, 0.052627477794885635, -0.0552234873175621, -0.0465131439268589, -0.01389044988900423, -0.053232647478580475, 0.004664500709623098, 0.0023711074609309435, 0.018845191225409508, -0.04317594692111015, 0.06123347952961922, 0.04208994284272194, 0.03162393718957901, 0.029452916234731674, 0.003981409128755331, 0.024249792098999023, -0.049976225942373276, -0.017085468396544456, -0.0812617689371109, 0.021360298618674278, 0.011672352440655231, 0.01904616691172123, 0.010132024064660072, 0.00992580782622099, -0.04081849008798599, 0.044365838170051575, -0.0806892067193985, -0.02464486099779606, 0.02189473807811737, -0.00832624826580286, 0.0007131246384233236, -0.0014260344905778766, -0.06622973084449768, 0.015128398314118385, 0.016644053161144257, -0.04550767317414284, -0.011808628216385841, -0.030561363324522972, 0.051138605922460556, 0.0011733741266652942, 0.040208280086517334, -0.03136942535638809, -0.015183201059699059, 0.06431655585765839, -0.0044073243625462055, 0.01342687290161848, 0.03195057436823845, -0.005427025258541107, 0.03892916440963745, 0.04866848886013031, 0.0319213941693306, -0.009126081131398678, 0.02084781415760517, -0.01862555369734764, -0.04766329377889633, 0.04594112187623978, 0.003347259946167469, -0.02697530947625637, -0.02851974405348301, 0.044435981661081314, 0.01999058574438095, -0.022556936368346214, -0.048203449696302414, 0.028946654871106148, -0.05093090236186981, 0.0027327812276780605, -0.011108702048659325, -0.022329125553369522, -0.04679669439792633, 0.043312083929777145, -0.0049695600755512714, 0.015566191636025906, 0.0651995837688446, 0.005401027854532003, -0.02235972136259079, -0.010615727864205837, 0.08791622519493103, 0.06895704567432404, 0.05942368879914284, 0.020617637783288956, 0.07247578352689743, -0.02001005969941616, -0.03602704033255577, 0.03731023147702217, -0.025109736248850822, -0.032280582934617996, -0.029577655717730522, 0.017560208216309547, 0.04524926096200943, -0.005486444570124149, 0.057739946991205215, -0.028536640107631683, -0.0005504839937202632, 0.0032455602195113897, 0.04128866642713547, 0.005133071914315224, 0.07888170331716537, 0.006618005223572254, 0.014771473594009876, -0.021383218467235565, -0.056708790361881256, 0.012862257659435272, -0.032539933919906616, -0.015818234533071518, 0.041941575706005096, -0.008016146719455719, 0.007383372634649277, 0.03042801097035408, 0.0177738256752491, 0.10149981081485748, -0.04793898016214371, -0.0021954935509711504, -0.008257283829152584, 0.033183880150318146, 0.00962650217115879, 0.003133087418973446, -0.016097383573651314, -0.02452978864312172, 0.0006462138844653964, -0.02194397523999214, 0.00106522545684129, -0.004825673531740904, 0.0027809503953903913, 0.04435821995139122, -0.01850135065615177, 0.009952623397111893, 0.04412095248699188, 0.002533108927309513, -0.03819037601351738, -0.04500626400113106, -0.02737543173134327, -0.039375048130750656, -0.05563236027956009, -0.015602661296725273, 0.012112137861549854, -0.019578373059630394, -0.04076272249221802, -0.031866539269685745, -0.00003716963328770362, -0.04671384394168854, 0.04043861851096153, -0.05591673031449318, -0.03921433165669441, -0.0006092340918257833, 0.02929464355111122, 0.017549952492117882, 0.007594909518957138, 0.0652870386838913, -0.00511578842997551, -0.013144840486347675, -0.010214230976998806, 0.04908758029341698, 0.008327140472829342, 0.004970912355929613, 0.031654346734285355, -0.07223743945360184, 0.048403527587652206, 0.02258867397904396, -0.012466237880289555, -0.06746405363082886, 0.007706994190812111, 0.023210255429148674, -0.002276884624734521, 0.05135049670934677, -0.010171203874051571, 0.015050962567329407, -0.03256602957844734, 0.015209074132144451, -0.0007557297358289361, 0.011424677446484566, 0.03465241566300392, -0.02371220290660858, 0.08339588344097137, 0.022586742416024208, -0.0082544619217515, -0.05270963907241821, -0.01715616136789322, 0.012670367956161499, -0.001760408515110612, -0.009934180416166782, -0.013971869833767414, -0.01573549583554268, -0.09102533012628555, -0.028966883197426796, 0.012943093664944172, -0.01860062964260578, -0.033532362431287766, 0.03371211513876915, 0.023727042600512505, -0.037324607372283936, 0.01778598129749298, -0.04208051785826683, 0.03019011951982975, -0.009497128427028656, -0.007522915955632925, 0.0033353085163980722, 0.03559589013457298, 0.008580873720347881, -0.0035458223428577185, 0.030591506510972977, -0.04805913195014, 0.0011168763739988208, 0.0008734668954275548, 0.031425006687641144, 0.047096140682697296, 0.01692807860672474, -0.01528186071664095 ]
[ -0.08355993032455444, -0.007953350432217121, -0.013412781059741974, -0.03587004914879799, 0.04531332850456238, -0.042664237320423126, -0.017499707639217377, 0.035041943192481995, -0.032070524990558624, -0.03299403563141823, -0.008070983923971653, -0.0023119559045881033, 0.0001846624509198591, -0.046458907425403595, 0.06826300173997879, 0.011233293451368809, 0.019037505611777306, -0.11043138802051544, 0.030294038355350494, 0.018510937690734863, -0.013110718689858913, -0.052921127527952194, -0.04258850961923599, -0.03282393515110016, 0.03162974864244461, -0.0059064156375825405, 0.0432070717215538, -0.012251995503902435, 0.00591151462867856, -0.16817700862884521, 0.0025058132596313953, 0.04140311852097511, 0.054897502064704895, -0.02629696950316429, 0.028159605339169502, 0.05755013972520828, 0.007961291819810867, 0.017825396731495857, -0.0015916870906949043, 0.016493864357471466, -0.01063684280961752, 0.03249691426753998, -0.044711366295814514, -0.03346730023622513, 0.010060169734060764, 0.022097749635577202, 0.022593863308429718, -0.0288680586963892, -0.008513001725077629, 0.013607876375317574, -0.0554780550301075, -0.020557204261422157, -0.023266270756721497, -0.024939343333244324, -0.025783538818359375, 0.03931133821606636, 0.012017049826681614, 0.07573485374450684, 0.015029363334178925, 0.02567838691174984, 0.0528387688100338, -0.03271414712071419, -0.1444784700870514, 0.10140196233987808, 0.02514924854040146, 0.0490071102976799, -0.048136938363313675, -0.018881283700466156, -0.034702543169260025, 0.10936987400054932, 0.01126217469573021, -0.02613981068134308, -0.023220084607601166, 0.018627159297466278, 0.04023946821689606, 0.0018939783331006765, 0.02547193318605423, 0.04463369399309158, 0.018955929204821587, -0.04625842347741127, -0.028410663828253746, 0.02461247146129608, -0.03203485533595085, -0.006855090614408255, -0.05910578370094299, 0.023114247247576714, 0.011765544302761555, 0.042860809713602066, 0.07333849370479584, 0.02601802535355091, 0.034865852445364, 0.002028879476711154, 0.02331392653286457, -0.015197336673736572, -0.08253732323646545, -0.02278108336031437, -0.008787136524915695, 0.009348047897219658, -0.07196164131164551, 0.4239429235458374, -0.03433588147163391, -0.027781883254647255, 0.080948106944561, 0.017672354355454445, -0.013464491814374924, -0.009201552718877792, -0.003970676567405462, -0.03094867430627346, 0.006933921482414007, -0.034091077744960785, 0.01237733755260706, 0.04378332942724228, 0.05621453747153282, -0.03112993948161602, -0.003085176460444927, 0.017829934135079384, -0.015951650217175484, 0.007846463471651077, 0.03294233977794647, -0.03141214698553085, -0.026440221816301346, 0.009627618826925755, 0.035578448325395584, 0.014109637588262558, -0.044802360236644745, -0.04627878963947296, 0.04813879355788231, 0.03789357468485832, 0.018086005002260208, -0.013850592076778412, 0.0303652361035347, -0.06696946173906326, -0.05272601917386055, 0.017755748704075813, 0.024624086916446686, 0.028816979378461838, 0.009638454765081406, -0.0004539614310488105, -0.015155690722167492, 0.06248759478330612, -0.016372067853808403, 0.04164427891373634, 0.03005608357489109, -0.029705123975872993, -0.03557613119482994, 0.10748086869716644, 0.05806254968047142, -0.029179353266954422, -0.02182375267148018, -0.04058351740241051, 0.01787819154560566, 0.024043014273047447, 0.02714480087161064, -0.059955891221761703, 0.02889990620315075, 0.018274512141942978, 0.09675315767526627, -0.013447840698063374, -0.08729733526706696, -0.007547651417553425, 0.0041756718419492245, -0.007249986752867699, -0.06416375190019608, 0.03500036150217056, 0.0473773218691349, -0.11662977188825607, -0.020633529871702194, 0.006224882788956165, 0.022219132632017136, -0.05912397429347038, -0.02967199683189392, 0.04183034226298332, -0.009812597185373306, -0.003919210284948349, 0.07504893094301224, -0.027150673791766167, -0.06260906904935837, -0.010525365360081196, 0.02839864045381546, 0.007284958381205797, 0.04828813299536705, 0.027291474863886833, -0.03209726884961128, -0.04110528156161308, -0.028653860092163086, -0.08953294903039932, -0.024982254952192307, 0.010852810926735401, -0.032254308462142944, -0.02691514417529106, -0.0120546855032444, 0.006565775256603956, -0.06364866346120834, 0.11630689352750778, -0.028764789924025536, -0.015651991590857506, -0.02335779182612896, 0.01721988245844841, -0.01315950695425272, -0.009651469998061657, -0.03193548694252968, 0.007820273749530315, -0.03207021951675415, 0.011970527470111847, -0.05474529042840004, 0.06687698513269424, 0.0587017759680748, -0.06455552577972412, 0.09317498654127121, 0.03526319935917854, -0.0192804466933012, -0.0037502506747841835, 0.018236994743347168, 0.04747622087597847, 0.008840333670377731, -0.00770645821467042, 0.007851675152778625, 0.036014024168252945, 0.011105586774647236, 0.027748262509703636, -0.03188851475715637, 0.017873257398605347, -0.00315288919955492, -0.3467485308647156, -0.036285217851400375, -0.04771383851766586, 0.02191382274031639, 0.011877698823809624, -0.05522051453590393, -0.004468606319278479, -0.023954808712005615, -0.042813029140233994, 0.03726387396454811, 0.09740985929965973, -0.030084261670708656, 0.011160586029291153, -0.06540265679359436, 0.005446650553494692, -0.004276684485375881, -0.04171069711446762, -0.023465201258659363, -0.045259542763233185, -0.009737285785377026, -0.03756503015756607, -0.00772136589512229, -0.03085511177778244, -0.06487122178077698, 0.008616995066404343, -0.027093783020973206, 0.0906713679432869, -0.020235806703567505, 0.08347319811582565, -0.03673309460282326, 0.05531700327992439, 0.008289300836622715, 0.0121937720105052, -0.10017349570989609, 0.010360940359532833, 0.015534884296357632, 0.021440748125314713, -0.04745558649301529, 0.009722456336021423, -0.02391233667731285, -0.059167083352804184, 0.028110813349485397, -0.07351908087730408, -0.027450058609247208, -0.06664200127124786, 0.016586605459451675, -0.04213283583521843, 0.01138619240373373, -0.02318006381392479, 0.10361409932374954, -0.007901311852037907, 0.010893119499087334, 0.019359735772013664, 0.011037502437829971, 0.01748116873204708, -0.04957390949130058, -0.07204121351242065, 0.030169880017638206, 0.019513899460434914, -0.011463391594588757, 0.02333720214664936, 0.054041095077991486, 0.03708020597696304, -0.04977421835064888, 0.0024531821254640818, -0.003932710271328688, -0.0004186346777714789, 0.006176580209285021, 0.0026644233148545027, 0.007842477411031723, 0.01789061911404133, 0.10384915769100189, -0.035945452749729156, -0.008633503690361977, 0.02191128395497799, 0.04742621257901192, 0.010186338797211647, 0.029271695762872696, 0.027867749333381653, -0.013921566307544708, -0.0040649729780852795, 0.004820754285901785, 0.0240688044577837, -0.012763871811330318, -0.0008913910714909434, 0.03349003195762634, -0.020418178290128708, -0.05207213759422302, 0.03318753093481064, 0.008494946174323559, -0.03001006878912449, -0.0039845178835093975, -0.006472769659012556, -0.07098690420389175, 0.1076435074210167, -0.007296333555132151, -0.21164844930171967, 0.010130061767995358, 0.05808278173208237, 0.028661783784627914, -0.026070134714245796, 0.03871913254261017, 0.020335519686341286, -0.03197062015533447, 0.01844903826713562, 0.005096970591694117, 0.012188225984573364, 0.024445854127407074, -0.007699550595134497, -0.0025741979479789734, 0.07503541558980942, -0.047557663172483444, 0.08230297267436981, -0.007833345793187618, 0.04015181213617325, -0.0063916584476828575, 0.005762462504208088, -0.0157343577593565, 0.15005739033222198, 0.010177595540881157, 0.020319830626249313, 0.001613130560144782, -0.022031307220458984, 0.034135397523641586, 0.0516040064394474, 0.018716758117079735, 0.001146060647442937, -0.007983559742569923, 0.019100625067949295, 0.005393552128225565, 0.018332984298467636, -0.07500158995389938, -0.025945404544472694, 0.014559932984411716, 0.02666449174284935, 0.022752542048692703, 0.013712561689317226, -0.018892215564846992, -0.038033902645111084, 0.033338114619255066, 0.07123704999685287, -0.015491711907088757, -0.02243966795504093, -0.047617703676223755, -0.05903385579586029, -0.03392454981803894, -0.022832747548818588, -0.04051467031240463, 0.0030503245070576668, -0.011929252184927464, 0.019373932853341103, 0.04442737624049187, 0.02705608680844307, -0.03289998322725296, -0.0004719009739346802, 0.01748640090227127, 0.005454454571008682, -0.034177109599113464, 0.0765594020485878, 0.04265871271491051, 0.06947772949934006 ]
[ -0.03453966975212097, 0.022286878898739815, 0.014561290852725506, -0.02660774625837803, 0.021216418594121933, -0.010892393067479134, 0.004801388829946518, 0.05017064884305, -0.024790432304143906, 0.023560890927910805, -0.005142288748174906, 0.007919268682599068, 0.002588295843452215, -0.023029452189803123, 0.049472782760858536, -0.013657965697348118, 0.005167911294847727, -0.00595054030418396, 0.04090147092938423, -0.007990393787622452, -0.03994617238640785, 0.0320977047085762, -0.02304685115814209, 0.015364343300461769, -0.007870933040976524, 0.037362392991781235, -0.019595982506871223, -0.018246592953801155, 0.029712319374084473, -0.10899928957223892, -0.01462797075510025, 0.00664151506498456, 0.032540302723646164, 0.015271151438355446, -0.0007614727364853024, 0.034109652042388916, -0.01334373839199543, -0.024368025362491608, 0.007023969665169716, -0.02161610871553421, 0.0032873982563614845, -0.023147206753492355, -0.013300850987434387, 0.012064240872859955, -0.0492989718914032, -0.014189102686941624, 0.002639051293954253, -0.023017877712845802, 0.0029625878669321537, -0.03290699049830437, -0.02376560866832733, 0.011466888710856438, -0.04095500335097313, -0.0037989120464771986, 0.008842319250106812, 0.0049025192856788635, 0.028706137090921402, -0.013767247088253498, -0.00001538961259939242, -0.0016254459042102098, 0.024103201925754547, -0.02273375727236271, -0.056651417165994644, -0.015007482841610909, -0.03195492923259735, 0.012148240581154823, -0.013188151642680168, -0.0052854022942483425, -0.03798375278711319, 0.003577358555048704, 0.00873623974621296, 0.04418707638978958, -0.01926765963435173, -0.02577860653400421, 0.028972437605261803, 0.008074495010077953, 0.02641833759844303, -0.001112571801058948, 0.0441146120429039, -0.007614514324814081, -0.037730615586042404, 0.04612172767519951, -0.004119849763810635, -0.015647761523723602, -0.023096153512597084, 0.0104700131341815, 0.034389931708574295, -0.0011899347882717848, 0.005856214091181755, 0.006476500537246466, 0.010825295932590961, 0.014640428125858307, -0.004016065504401922, 0.007795846555382013, -0.08330392092466354, -0.0032177430111914873, 0.004268921911716461, -0.0285514947026968, -0.019245045259594917, 0.8575621247291565, -0.018943293020129204, 0.03195352107286453, 0.0455315038561821, -0.009413650259375572, 0.0047760880552232265, -0.008658813312649727, -0.03590192273259163, -0.007496182806789875, 0.004158056806772947, -0.03916168212890625, -0.012504582293331623, -0.005301675759255886, 0.02809438668191433, -0.001800174592062831, -0.008157625794410706, 0.022161928936839104, -0.001792157650925219, -0.0011708936654031277, 0.008994718082249165, -0.02387516014277935, 0.054012760519981384, 0.029407210648059845, 0.014122002758085728, -0.014884690754115582, 0.0004792369727510959, -0.16941313445568085, 0.02865891344845295, -8.963887190512868e-33, 0.005542212165892124, -0.001561494660563767, -0.046496037393808365, 0.0007000125478953123, 0.009915906004607677, 0.004854313563555479, 0.04797252640128136, 0.0421161986887455, -0.02708839625120163, -0.013514653779566288, -0.020537443459033966, -0.03709482401609421, -0.02418459765613079, 0.023927180096507072, 0.045785121619701385, -0.022767486050724983, -0.01565876416862011, 0.04434199631214142, 0.010524162091314793, 0.02052721567451954, 0.031283456832170486, 0.0017018003854900599, 0.014524496160447598, 0.0133253438398242, 0.036904674023389816, 0.01309271901845932, 0.03578004613518715, -0.0008647743379697204, 0.0010788225336000323, -0.05664771422743797, -0.01300433836877346, 0.05076070874929428, -0.01341989915817976, 0.0025699667166918516, -0.0016994425095617771, -0.02202509343624115, -0.04355980083346367, -0.022800005972385406, -0.03659683093428612, -0.012908556498587132, -0.02338535338640213, 0.020285455510020256, -0.03592062368988991, 0.044222015887498856, -0.007025507278740406, 0.018530016764998436, 0.017435405403375626, -0.006468906532973051, 0.027090253308415413, -0.026151644065976143, 0.008840681985020638, 0.03044634871184826, 0.0066049410961568356, 0.01676308549940586, -0.012767612002789974, -0.04374954476952553, 0.001457143109291792, -0.01562439277768135, 0.024720503017306328, -0.03316596895456314, -0.007612055167555809, -0.021858682855963707, 0.012393447570502758, 0.04063347354531288, -0.01651889458298683, -0.0048554386012256145, -0.02761422097682953, -0.005474891513586044, 0.029698072001338005, 0.017493879422545433, -0.026104658842086792, -0.027552952989935875, -0.011213917285203934, -0.03720210865139961, 0.018112080171704292, 0.020101796835660934, -0.019636541604995728, 0.03703514114022255, -0.005745323840528727, 0.004142739810049534, 0.0039044073782861233, 0.014175099320709705, 0.040560781955718994, -0.01906081847846508, 0.0019374903058633208, 0.02696974016726017, 0.003395432373508811, -0.003917819354683161, -0.007846140302717686, 0.00478849932551384, 0.02899273857474327, -0.008007919415831566, -0.0002786864642985165, -0.010795988142490387, -0.011958596296608448, 8.78483368694371e-33, 0.001047754194587469, -0.03352007269859314, -0.011159929446876049, 0.010891292244195938, -0.011218837462365627, 0.009715089574456215, 0.012705598026514053, -0.0017551323398947716, -0.0460628941655159, 0.04454857110977173, 0.009108801372349262, 0.003332599299028516, -0.016121093183755875, 0.0047826808877289295, 0.008013858459889889, -0.030740948393940926, 0.043656155467033386, -0.032747600227594376, 0.04889190196990967, -0.0032979564275592566, -0.0016174991615116596, 0.004528895951807499, -0.010746285319328308, -0.010316058062016964, 0.0006755031063221395, 0.029108604416251183, -0.010392524302005768, -0.001489819958806038, -0.0028321610298007727, -0.029966918751597404, 0.008428920991718769, -0.008618257008492947, -0.006605416536331177, 0.008702105842530727, 0.005483703687787056, 0.043300241231918335, -0.04329325631260872, -0.009763346053659916, 0.03757769241929054, -0.0006006663315929472, 0.03131398558616638, -0.022509630769491196, 0.02313149906694889, 0.024632595479488373, 0.004681637976318598, -0.04775647819042206, -0.0005145571776665747, -0.03286340832710266, 0.015417472459375858, 0.008442478254437447, -0.016041750088334084, 0.03311016038060188, 0.03811044618487358, -0.02092035859823227, -0.0200433861464262, -0.0017475617351010442, -0.035983067005872726, -0.0029999560210853815, 0.006813079118728638, 0.011106906458735466, 0.007484756410121918, 0.03296840935945511, 0.02567601203918457, 0.00036764988908544183, -0.045633476227521896, -0.0013803389156237245, -0.002858862280845642, -0.023146171122789383, -0.004997788462787867, -0.006696612574160099, -0.0074141439981758595, 0.00259903515689075, 0.0048681143671274185, 0.025531573221087456, 0.016727635636925697, -0.036797892302274704, -0.017014125362038612, 0.01846642792224884, -0.03394508734345436, 0.007521981839090586, 0.006736789830029011, 0.00613326346501708, 0.01821179874241352, 0.024204028770327568, -0.057098791003227234, 0.020495519042015076, -0.0031545741949230433, -0.0008088970789685845, 0.0013706990284845233, -0.01226163748651743, -0.024036388844251633, 0.004668278619647026, -0.028166944161057472, 0.019582323729991913, 0.01032284740358591, -1.4126642078338136e-8, -0.0017673516413196921, 0.015214604325592518, -0.005473366007208824, -0.003034475026652217, 0.03544515371322632, -0.002865309128537774, 0.005073122214525938, 0.026130536571145058, -0.04425428807735443, 0.029188036918640137, 0.003585710423067212, -0.011289764195680618, -0.043960731476545334, 0.043511439114809036, -0.014939743094146252, -0.03257777914404869, -0.01683981716632843, 0.01696637272834778, 0.01580069586634636, -0.009266332723200321, 0.02733425423502922, 0.04765075072646141, 0.038437146693468094, -0.0010094852186739445, 0.003344939788803458, -0.0014124864246696234, 0.012539947405457497, -0.07842981815338135, 0.060800474137067795, 0.032846078276634216, 0.0027066736947745085, -0.01667153090238571, -0.015729641541838646, 0.037062156945466995, 0.030961057171225548, -0.03616318851709366, 0.013546383939683437, 0.04548061266541481, 0.010199961252510548, 0.002500282134860754, -0.03270729258656502, 0.014943411573767662, 0.0032636469695717096, -0.01962636411190033, -0.03545721247792244, -0.01451199036091566, -0.050500188022851944, 0.014904404990375042, 0.015747426077723503, -0.005965546704828739, 0.04317056015133858, 0.0017319245962426066, -0.015863625332713127, 0.012444243766367435, 0.017541926354169846, -0.0282612144947052, -0.007482846733182669, -0.04216548427939415, -0.029108496382832527, -0.023445194587111473, -0.029837971553206444, -0.007230769377201796, 0.00015429708582814783, -0.014503072947263718 ]
buy-vs-build-driving-from-the-problem
https://markhneedham.com/blog/2012/11/17/buy-vs-build-driving-from-the-problem
false
2012-11-10 16:30:48
Unix: Counting the number of commas on a line
[ "unix" ]
[ "Shell Scripting" ]
A few weeks ago I was playing around with some data stored in a CSV file and wanted to do a simple check on the quality of the data by making sure that http://unix.stackexchange.com/questions/18736/how-to-count-the-number-of-a-specific-character-in-each-line[each line had the same number of fields]. One way this can be done is with +++<cite>+++awk+++</cite>+++: [source,text] ---- awk -F "," ' { print NF-1 } ' file.csv ---- Here we're specifying the file separator +++<cite>+++-F+++</cite>+++ as ',' and then using the +++<cite>+++NF+++</cite>+++ (number of fields) variable to print how many commas there are on the line. Another slightly more complicated way is to combine +++<cite>+++tr+++</cite>+++ and +++<cite>+++awk+++</cite>+++ like so: [source,text] ---- tr -d -c ",\n" < file.csv | awk ' { print length } ' ---- Here we're telling +++<cite>+++tr+++</cite>+++ to delete any characters except for a comma or new line. If we pass just a comma to the '-d' option like so... [source,text] ---- tr -d "," < file.csv ---- ...that would delete all the commas from a line but we can use the '-c' option to complement the comma i.e. delete everything except for the comma. [source,text] ---- tr -d -c "," < file.csv ---- Unfortunately that puts all the commas onto the same line so we need to complement the new line character as well: [source,text] ---- tr -d -c ",\n" < file.csv ---- We can then use the +++<cite>+++length+++</cite>+++ variable of awk to print out the number of commas on each line. We can achieve the same thing by making use of +++<cite>+++sed+++</cite>+++ instead of +++<cite>+++tr+++</cite>+++ like so: [source,text] ---- sed 's/[^,]//g' file.csv | awk ' { print length } ' ---- Since sed operates on a line by line basis we just need to tell it to substitute anything which isn't a comma with nothing and then pipe the output of that into awk and use the +++<cite>+++length+++</cite>+++ variable again. I thought it might be possible to solve this problem using +++<cite>+++cut+++</cite>+++ as well but I can't see any way to get it to output the total number of fields. If anyone knows any other cool ways to do the same thing let me know in the comments - it's always interesting to see how different people wield the unix tools!
null
null
[ 0.0031044648494571447, -0.01065843552350998, -0.027163013815879822, 0.02079237997531891, 0.0984901413321495, 0.013826674781739712, -0.01198372058570385, 0.037093572318553925, 0.0030396869406104088, -0.0018620542250573635, -0.018561741337180138, 0.025588344782590866, -0.05740742012858391, 0.015567784197628498, -0.026747485622763634, 0.08342307060956955, 0.049523890018463135, 0.020498760044574738, -0.004339453764259815, -0.02789628505706787, 0.02526000887155533, 0.0453975647687912, 0.0018647146644070745, 0.020273657515645027, 0.010900013148784637, -0.006539709400385618, -0.0005393326282501221, 0.017464743927121162, -0.02856305055320263, 0.020822342485189438, 0.03951781988143921, 0.012265563942492008, 0.007448604796081781, -0.020189369097352028, 0.00852140225470066, -0.01526235044002533, -0.031347326934337616, 0.008500698022544384, -0.0029952963814139366, 0.008074549958109856, -0.07785388082265854, 0.02052249014377594, -0.03953314572572708, -0.004274341277778149, -0.03529747575521469, 0.0016445203218609095, -0.029409104958176613, 0.0027822237461805344, -0.03928905352950096, -0.0005577211850322783, -0.0446145236492157, 0.026017673313617706, -0.0216232817620039, -0.03966784104704857, 0.006115881260484457, 0.04890630021691322, 0.029683377593755722, -0.05778641626238823, 0.03471754118800163, -0.018005769699811935, -0.007413695100694895, -0.02421966940164566, -0.0026594698429107666, 0.05080237239599228, 0.018862778320908546, -0.0187765434384346, -0.0034803764428943396, 0.048206910490989685, -0.0505264587700367, -0.010917799547314644, -0.009138198569417, 0.02442280761897564, -0.04616019129753113, -0.016229946166276932, 0.002785568358376622, -0.038213614374399185, 0.00009245867113349959, 0.025410354137420654, 0.01581471785902977, 0.07322543859481812, -0.04404674470424652, 0.017360299825668335, -0.020009875297546387, 0.0025553067680448294, 0.03373105451464653, -0.03165757656097412, -0.027061311528086662, -0.017111940309405327, -0.05263166502118111, 0.042548611760139465, 0.027566833421587944, -0.014542180113494396, -0.031007742509245872, 0.012012617662549019, -0.01388653926551342, 0.016695134341716766, -0.005700548645108938, -0.01059116143733263, -0.003400344168767333, -0.010277964174747467, -0.07140052318572998, -0.01764058507978916, 0.02297634445130825, 0.03676053509116173, -0.09898786246776581, 0.006799172610044479, -0.006716746371239424, -0.005818069912493229, 0.06108648702502251, 0.03326631709933281, -0.02433113195002079, -0.022901514545083046, -0.027667135000228882, -0.009336966089904308, -0.11088191717863083, 0.03408921882510185, 0.025552943348884583, -0.015301953069865704, 0.02631877176463604, 0.02395009808242321, 0.043283961713314056, 0.029541250318288803, 0.020963994786143303, 0.06940191984176636, 0.002353324554860592, 0.00317017687484622, 0.03268187493085861, 0.0632983148097992, -0.014322981238365173, -0.08746717125177383, -0.038192883133888245, 0.05784790590405464, -0.034712325781583786, 0.016146324574947357, 0.011568357236683369, -0.012196145951747894, -0.028459424152970314, -0.00003206327528459951, 0.034626685082912445, 0.009240041486918926, 0.033541906625032425, -0.028541235253214836, -0.02114260382950306, -0.00761831272393465, 0.030868444591760635, 0.021521104499697685, -0.030275490134954453, -0.021748101338744164, -0.014995473437011242, 0.01301858015358448, 0.040255121886730194, 0.01991092599928379, 0.09409558773040771, -0.03856130689382553, 0.004332864657044411, 0.08637683093547821, 0.031040377914905548, 0.03529844060540199, -0.024958858266472816, 0.014542407356202602, 0.04912937059998512, 0.05262710154056549, 0.0028510659467428923, 0.03777391090989113, -0.019875163212418556, -0.031681131571531296, -0.0009965549688786268, 0.013794190250337124, -0.03033255599439144, 0.010801846161484718, -0.04377666488289833, -0.0295849796384573, 0.05840238928794861, -0.028696781024336815, 0.022157609462738037, 0.022414226084947586, 0.07219573855400085, 0.06712056696414948, 0.04867902398109436, 0.002049385104328394, -0.08749426156282425, 0.056107837706804276, -0.02303052507340908, 0.03023453801870346, 0.03416384384036064, -0.016556449234485626, 0.05173522233963013, 0.04403191804885864, 0.013164748437702656, 0.018707124516367912, -0.052796728909015656, -0.0763159915804863, -0.019926108419895172, -0.0060961199924349785, 0.05843544751405716, -0.05407454073429108, -0.010639162734150887, 0.061182860285043716, 0.020105348899960518, 0.01900625042617321, -0.01996930129826069, 0.0016958039486780763, 0.04419515281915665, -0.03983134776353836, -0.059046920388936996, 0.04269174113869667, 0.008500573225319386, 0.0066716959699988365, -0.015064633451402187, -0.0017697156872600317, -0.01897256076335907, 0.040797315537929535, 0.017554396763443947, -0.006238603964447975, 0.026434902101755142, 0.02489461377263069, 0.036794982850551605, -0.008454589173197746, 0.04045257717370987, -0.07660065591335297, 0.010738473385572433, 0.01249679271131754, -0.025005431845784187, 0.013476821593940258, -0.0046960352919995785, 0.13077835738658905, 0.05108063668012619, -0.004008509684354067, -0.05214034765958786, 0.024276329204440117, -0.02290407009422779, -0.061276085674762726, 0.021640511229634285, -0.0080478610470891, -0.022300181910395622, 0.02415057271718979, -0.050277095288038254, -0.00940969679504633, 0.022986501455307007, -0.021180331707000732, -0.020075777545571327, 0.05368155613541603, 0.003848570166155696, 0.052691541612148285, -0.00006962777115404606, -0.03385624662041664, -0.0008365426328964531, -0.006002238020300865, -0.06161022186279297, -0.015364982187747955, 0.03499004989862442, -0.009621080942451954, 0.038017790764570236, -0.0496077798306942, -0.04334412142634392, -0.020883698016405106, -0.048738595098257065, 0.025972740724682808, 0.04626841098070145, 0.04577368497848511, -0.03645428270101547, 0.06725773960351944, -0.012637931853532791, 0.01573193445801735, -0.04353053495287895, -0.034416314214468, -0.0369720496237278, 0.008902586065232754, 0.0065004113130271435, -0.011074927635490894, 0.009174725972115993, 0.045264873653650284, 0.007282496429979801, -0.024323681369423866, 0.020961808040738106, -0.0019060547929257154, 0.03596644103527069, -0.022110432386398315, -0.02180950529873371, -0.03120845928788185, -0.005809727590531111, 0.039803747087717056, -0.05311020091176033, -0.03148530796170235, 0.04860049858689308, -0.04575255513191223, 0.04121021926403046, -0.04448315501213074, -0.06435925513505936, -0.03539968654513359, -0.02023581974208355, 0.0358835831284523, 0.010644083842635155, -0.005485255736857653, 0.044670384377241135, 0.022909391671419144, -0.0012306863209232688, -0.0036083669401705265, 0.05471610277891159, 0.02616170607507229, -0.000578233681153506, -0.009977455250918865, 0.08868054300546646, 0.0006650004652328789, -0.015178173780441284, -0.050833508372306824, -0.01014145091176033, -0.010284420102834702, -0.26466336846351624, 0.044183287769556046, -0.03990921005606651, -0.019271230325102806, 0.019868483766913414, -0.044645458459854126, 0.018711060285568237, -0.05516459047794342, -0.02291899174451828, -0.0025190773885697126, -0.03964519128203392, -0.024076929315924644, -0.018887918442487717, 0.04953745752573013, -0.004524626303464174, 0.040525902062654495, 0.03449028357863426, -0.05038001015782356, 0.0018933311803266406, 0.05102844908833504, 0.026396924629807472, -0.035324517637491226, -0.002176211215555668, 0.061494555324316025, 0.0238064993172884, 0.07378236949443817, -0.08897746354341507, 0.05504953861236572, -0.04250110313296318, -0.031818754971027374, 0.006418806500732899, -0.02726818062365055, -0.0021199090406298637, -0.016688736155629158, -0.011909444816410542, -0.020315762609243393, 0.04072083160281181, 0.015918780118227005, -0.004473434295505285, 0.013719351030886173, -0.011424561962485313, -0.03368888795375824, -0.018487369641661644, -0.01519006583839655, 0.050953205674886703, 0.0021012136712670326, -0.02849719487130642, -0.005992255639284849, 0.005655783228576183, 0.07565497606992722, -0.017168622463941574, -0.023355256766080856, -0.010896886698901653, 0.032198209315538406, -0.01698693446815014, -0.009885397739708424, -0.012600506655871868, -0.009517254307866096, -0.03140338137745857, -0.03330220654606819, 0.002022307366132736, -0.07053034007549286, 0.01264951378107071, -0.060410503298044205, -0.01535619143396616, -0.05349375680088997, -0.056271836161613464, -0.03681923449039459, 0.08895793557167053, 0.0412931814789772, -0.052109066396951675, -0.0117378244176507, -0.01728752814233303, -0.0811859667301178, -0.004422689788043499, -0.041783735156059265, -0.032481204718351364, -0.01715039275586605, -0.01248752512037754, 0.03657504916191101, -0.03978108614683151, -0.030545126646757126, 0.05001314729452133, 0.018919428810477257, 0.017367221415042877, -0.06324297934770584, 0.023140979930758476, 0.012176153250038624, -0.02546471357345581, -0.029273414984345436, 0.07025229185819626, -0.027259180322289467, 0.008275388740003109, -0.011076071299612522, 0.00020700476306956261, 0.021042311564087868, 0.022747356444597244, 0.0008542572031728923, 0.022884683683514595, 0.029654260724782944, 0.051617205142974854, -0.058969173580408096, 0.014211984351277351, -0.09637525677680969, -0.034706905484199524, -0.035036757588386536, -0.04246282950043678, 0.02235535718500614, 0.006121494807302952, 0.02641589194536209, -0.00948321633040905, -0.016909096390008926, 0.03471465781331062, -0.05281248688697815, -0.03565456345677376, -0.000564879272133112, 0.015134464018046856, 0.015016459859907627, 0.03870384395122528, -0.016130931675434113, -0.020740147680044174, 0.0030515992548316717, -0.0006505941855721176, -0.0321260541677475, -0.021693650633096695, -0.042483408004045486, 0.02134537138044834, -0.01664920523762703, -0.03684939444065094, 0.0201214961707592, -0.03062519244849682, 0.0006199063500389457, 0.0387396477162838, -0.03697708249092102, 0.029029350727796555, -0.022655749693512917, -0.056241072714328766, -0.012445664033293724, -0.014360305853188038, 0.03502592816948891, -0.014826277270913124, 0.003960861824452877, -0.01741957664489746, 0.05697907879948616, 0.024789905175566673, -0.009044239297509193, 0.029911356046795845, 0.005177862010896206, 0.013446393422782421, 0.0229522492736578, 0.006284712348133326, -0.004205274861305952, 0.022014489397406578, -0.0029210271313786507, -0.06902366876602173, 0.0030827042646706104, 0.04673455283045769, -0.01748918928205967, -0.021327130496501923, -0.015588113106787205, 0.001940160640515387, -0.007442832458764315, -0.011466417461633682, -0.033416952937841415, -0.004167047329246998, 0.026756135746836662, -0.023172786459326744, 0.04136345908045769, 0.005779039114713669, 0.04460694268345833, 0.00025495202862657607, 0.047612667083740234, -0.03815639391541481, -0.010008566081523895, 0.004513828083872795, -0.02479647472500801, 0.061999205499887466, 0.03654461354017258, 0.028852667659521103, 0.019744014367461205, 0.010371401906013489, -0.021176084876060486, 0.01453994121402502, 0.023506900295615196, 0.03512333706021309, 0.012666769325733185, -0.01902119629085064, -0.008522948250174522, -0.03533114120364189, -0.036255452781915665, -0.0059290435165166855, -0.02734920009970665, -0.020685434341430664, -0.010834059678018093, -0.03748411312699318, -0.047739651054143906, 0.0094137629494071, 0.06236199662089348, -0.015807930380105972, 0.024117082357406616, -0.005224124062806368, 0.005709473975002766, -0.023068256676197052, 0.0033383609261363745, 0.010558717884123325, -0.05586748197674751, 0.023516302928328514, -0.040294747799634933, -0.019526438787579536, 0.013606922701001167, -0.007410788908600807, -0.06271757930517197, -0.005416794214397669, -0.01820486970245838, 0.0463966503739357, -0.011468741111457348, -0.017462726682424545, -0.038447603583335876, -0.004241568502038717, -0.039125483483076096, 0.002288712188601494, -0.015935862436890602, 0.03463772311806679, -0.005454187747091055, -0.022512486204504967, 0.013142865151166916, -0.010106544941663742, -0.009892848320305347, 0.05241944268345833, -0.02934776246547699, 0.00823020190000534, -0.03694908693432808, 0.027568945661187172, 0.027048185467720032, -0.02742515690624714, -0.055994126945734024, -0.045946598052978516, 0.003867687191814184, -0.03422313556075096, 0.03999147191643715, 0.02310548722743988, -0.02688547782599926, -0.014168325811624527, 0.0061321198008954525, -0.01941479556262493, -0.015923328697681427, -0.020232681185007095, -0.017755571752786636, 0.0012461425503715873, 0.06771929562091827, 0.014390434138476849, 0.02438371442258358, -0.03389088436961174, -0.04529307410120964, 0.05966801941394806, -0.007612972520291805, -0.03016497939825058, -0.010640803724527359, -0.05837227404117584, 0.05812752619385719, 0.0266558974981308, 0.02644476480782032, -0.0709979385137558, 0.05140814185142517, 0.046151213347911835, 0.01014829520136118, 0.0325644351541996, 0.004733181558549404, 0.01346968300640583, -0.02394079975783825, -0.030426934361457825, -0.09980795532464981, 0.022343413904309273, 0.04946114495396614, -0.01385511551052332, -0.006183427292853594, -0.008908168412744999, -0.020462188869714737, 0.05561767518520355, -0.05668715015053749, -0.02615414187312126, 0.020641913637518883, -0.015754474326968193, 0.019754793494939804, 0.033028896898031235, -0.03876989707350731, 0.033429764211177826, 0.07609446346759796, -0.05599052459001541, -0.001668767537921667, -0.0489555224776268, 0.06300921738147736, 0.002416974864900112, 0.02924194745719433, -0.004309619776904583, -0.030135534703731537, 0.05692059546709061, 0.02535433880984783, -0.004177034366875887, 0.029621094465255737, -0.01806754805147648, 0.03110685385763645, 0.036590199917554855, -0.04591871052980423, 0.01947653293609619, 0.018086234107613564, -0.033710576593875885, -0.026438483968377113, -0.019848467782139778, 0.05465959385037422, 0.009713095612823963, -0.02405143901705742, 0.05222601443529129, 0.0171230249106884, -0.028496870771050453, -0.0633811503648758, 0.02798878215253353, -0.022035224363207817, 0.02250588871538639, -0.04597757011651993, 0.008627448230981827, -0.05280939117074013, 0.0426342710852623, -0.007869178429245949, -0.0005539515987038612, 0.07569580525159836, -0.023892134428024292, -0.020060017704963684, -0.005699106492102146, 0.058709874749183655, 0.09739428758621216, 0.05347002297639847, 0.05171866714954376, 0.020343387499451637, -0.01793769933283329, -0.05359896644949913, -0.0065966518595814705, 0.009229828603565693, 0.030002202838659286, 0.0005240709288045764, -0.004280333407223225, 0.07231587171554565, 0.006113315932452679, 0.06805845350027084, 0.012296753004193306, -0.020185325294733047, -0.03161595016717911, 0.017137983813881874, 0.013799433596432209, 0.03874918818473816, 0.019053969532251358, 0.008741535246372223, 0.005265022162348032, -0.019361937418580055, 0.04031490907073021, 0.03453594073653221, -0.0159299373626709, 0.025015223771333694, 0.02178175374865532, 0.012614150531589985, -0.003709337906911969, 0.07431294023990631, 0.07964906096458435, -0.032637860625982285, 0.0065354336984455585, 0.00431085703894496, 0.055936574935913086, -0.016524169594049454, 0.024035044014453888, 0.004152616951614618, -0.01685376465320587, -0.026157116517424583, -0.03890242427587509, -0.0318688340485096, -0.011330992914736271, -0.009280414320528507, -0.0004564023984130472, -0.013058220036327839, -0.00807005725800991, 0.06611265242099762, 0.004000603221356869, -0.04909878224134445, -0.0692041888833046, -0.0487666130065918, -0.0391525961458683, -0.061896249651908875, -0.011635459028184414, 0.011392547748982906, 0.00869461614638567, -0.029712732881307602, -0.021357035264372826, -0.07432372868061066, -0.015942653641104698, -0.01588507927954197, -0.028538580983877182, -0.025482119992375374, 0.0008046533912420273, 0.026126904413104057, 0.03176969289779663, 0.02290802076458931, 0.044987648725509644, 0.007248619571328163, -0.007135305553674698, 0.01970653608441353, 0.000342781946528703, 0.03591786324977875, 0.01113666221499443, -0.004284800961613655, -0.06430882960557938, 0.020808087661862373, -0.008142320439219475, 0.006238809321075678, -0.08717632293701172, 0.020203769207000732, 0.0234631709754467, -0.02066480740904808, 0.042063772678375244, -0.03231402859091759, 0.020264768972992897, -0.03181304410099983, -0.034443147480487823, -0.028165889903903008, -0.004117920994758606, 0.05782728269696236, 0.00540023110806942, 0.06663389503955841, 0.03467392921447754, 0.004450677428394556, -0.03766963258385658, -0.007052712142467499, -0.022616878151893616, 0.03599284216761589, -0.0380399152636528, -0.035350002348423004, -0.056571561843156815, -0.06325919926166534, -0.017212966457009315, -0.0007002221536822617, -0.03604700788855553, -0.02486538514494896, -0.012109775096178055, 0.03163911774754524, -0.04547910392284393, -0.01257280446588993, -0.027751069515943527, -0.008108499459922314, -0.04175932705402374, -0.015640631318092346, -0.03498849645256996, 0.03500570356845856, 0.020122956484556198, 0.012805178761482239, 0.007046794518828392, -0.003378136083483696, 0.021051285788416862, -0.011172362603247166, 0.002242399612441659, 0.07614628225564957, 0.016753794625401497, 0.01772214099764824 ]
[ -0.0848359689116478, -0.007590957451611757, -0.027097396552562714, -0.038796864449977875, 0.06766825914382935, -0.07502757012844086, -0.019393881782889366, 0.006643120665103197, 0.007154262624680996, 0.00900061335414648, 0.0007510501891374588, -0.02677707001566887, -0.013372885063290596, -0.050872258841991425, 0.028065161779522896, -0.03459956869482994, -0.013818019069731236, -0.025785423815250397, -0.004552546888589859, 0.05367809906601906, -0.009612099267542362, -0.03269851580262184, -0.041284579783678055, -0.03525739535689354, 0.024638140574097633, 0.019478144124150276, 0.031911928206682205, -0.053331125527620316, -0.018745437264442444, -0.2365766316652298, -0.004153258167207241, 0.01236857008188963, 0.035253800451755524, -0.011187984608113766, 0.03180018067359924, 0.028901688754558563, 0.04214410483837128, 0.004500113427639008, -0.006340011954307556, 0.054604846984148026, 0.017815858125686646, 0.010266932658851147, -0.04208534583449364, -0.015827538445591927, 0.01121489331126213, 0.005930598359555006, -0.03155788034200668, -0.037881918251514435, 0.02060425840318203, 0.03651975095272064, -0.0640491172671318, -0.015918491408228874, -0.024446766823530197, 0.0015378460520878434, -0.014420942403376102, 0.037176813930273056, 0.05597837269306183, 0.061342205852270126, -0.012707375921308994, -0.01904996670782566, -0.008666693232953548, -0.006984004285186529, -0.14938759803771973, 0.1113620400428772, 0.028551315888762474, 0.033547692000865936, -0.03142787888646126, -0.004195954650640488, -0.04090353474020958, 0.1121855080127716, -0.030097000300884247, -0.021298212930560112, -0.06970608979463577, 0.09275273233652115, -0.0006508201477117836, -0.03340993821620941, -0.017370134592056274, 0.01227559708058834, 0.02509067952632904, -0.031971078366041183, -0.06652173399925232, 0.0020246251951903105, -0.0011901953257620335, -0.038039810955524445, -0.04146324098110199, 0.007115326356142759, -0.023503471165895462, 0.05504930019378662, 0.015866898000240326, -0.00048492252244614065, 0.0691438764333725, -0.034589167684316635, 0.058699604123830795, 0.018809719011187553, -0.09176266193389893, -0.04290924593806267, 0.009309409186244011, 0.025270553305745125, 0.016188975423574448, 0.40213993191719055, -0.06672672927379608, -0.04103295877575874, 0.026015717536211014, 0.0004408068780321628, 0.024036407470703125, 0.021484743803739548, 0.0118641946464777, -0.01715264469385147, 0.028996331617236137, -0.05126189813017845, 0.012711922638118267, -0.006815690081566572, 0.054927561432123184, -0.0545010082423687, 0.02172524854540825, 0.0237434022128582, 0.05147816240787506, 0.0007951207226142287, -0.002797442954033613, 0.014449612237513065, -0.0009050282533280551, -0.023864390328526497, 0.01026941742748022, 0.03536740690469742, 0.03967101499438286, -0.013409408740699291, 0.04286374896764755, 0.06325837224721909, 0.04761328548192978, 0.03102578967809677, 0.040870752185583115, -0.03784674033522606, -0.0530444011092186, -0.005209626629948616, -0.013888482935726643, 0.010754278860986233, 0.0022005855571478605, -0.02731575258076191, -0.017656266689300537, -0.00004625263682100922, -0.0009308282169513404, -0.061958521604537964, 0.0034903748892247677, 0.007244069594889879, -0.03064405731856823, 0.13834276795387268, -0.021586209535598755, -0.03475150093436241, -0.016258498653769493, -0.07479900866746902, 0.026606686413288116, 0.0375622995197773, 0.009589130990207195, -0.06815176457166672, 0.018080860376358032, 0.009062696248292923, 0.09206518530845642, -0.0173612292855978, -0.07615132629871368, -0.00020084105199202895, -0.018527019768953323, -0.030712570995092392, -0.04346702620387077, 0.07045841217041016, 0.060540810227394104, -0.04197627678513527, -0.03439183905720711, 0.017475945875048637, 0.008072972297668457, -0.05929166078567505, 0.047347553074359894, -0.044207073748111725, -0.05240736901760101, 0.009973498061299324, 0.04510747268795967, -0.0337633416056633, -0.007514008786529303, 0.02706349454820156, 0.06743130832910538, 0.0011135281529277563, 0.010088372975587845, 0.03686986863613129, -0.06300968676805496, 0.061150193214416504, -0.041771646589040756, -0.08249655365943909, -0.07899049669504166, 0.015495837666094303, 0.002264090348035097, 0.015736958011984825, -0.001164879184216261, -0.0005043116980232298, -0.04350391775369644, 0.033753857016563416, -0.05541159585118294, 0.0007401090697385371, 0.013571099378168583, 0.017696557566523552, -0.01124934945255518, -0.058949172496795654, 0.020279638469219208, 0.02752239629626274, -0.03281724452972412, -0.0004766202182509005, -0.018626460805535316, 0.011759702116250992, 0.05641042813658714, -0.027520153671503067, 0.07560567557811737, 0.022588998079299927, -0.012638791464269161, -0.008920661173760891, -0.011641168966889381, -0.026777097955346107, 0.006696723867207766, -0.0289986040443182, 0.017445659264922142, -0.008182911202311516, 0.027237197384238243, 0.03751982003450394, -0.027224412187933922, -0.07735001295804977, -0.030076708644628525, -0.3506186902523041, -0.03550935164093971, 0.0024960001464933157, -0.00762407248839736, 0.050070974975824356, -0.049583788961172104, -0.0012317236978560686, -0.01156928576529026, -0.010650428012013435, 0.032114606350660324, 0.03998088464140892, -0.02426101826131344, -0.007427208125591278, -0.09110607951879501, 0.008420227095484734, 0.03809014707803726, -0.014671108685433865, -0.03362467512488365, -0.003964476753026247, 0.03537209331989288, 0.016430264338850975, -0.006124229170382023, -0.03362619876861572, -0.012630684301257133, 0.01597648113965988, -0.054457664489746094, 0.07599994540214539, 0.021367842331528664, 0.06134997680783272, -0.03121466189622879, 0.05086066573858261, 0.019734537228941917, 0.0017267689108848572, -0.09116823226213455, -0.012196958065032959, 0.0032050039153546095, -0.04971395060420036, 0.02086387202143669, -0.0026797144673764706, 0.013449708931148052, -0.014364509843289852, 0.004980052821338177, -0.04395270720124245, -0.00403042184188962, -0.0237879678606987, 0.007714240346103907, -0.0033258232288062572, -0.031615592539310455, -0.015924129635095596, 0.0913061797618866, 0.012349425815045834, 0.014601236209273338, 0.006488516461104155, 0.04358001425862312, 0.030590176582336426, -0.02573557198047638, -0.06250786781311035, -0.010925265960395336, 0.02015629969537258, -0.044750407338142395, 0.027757655829191208, 0.006555913016200066, 0.05005991458892822, -0.03628332540392876, -0.01628953404724598, 0.029860656708478928, -0.013571719639003277, 0.028575528413057327, 0.040651094168424606, -0.0074843247421085835, -0.046034075319767, 0.0883396789431572, -0.007444190792739391, -0.008595677092671394, 0.00039021982229314744, 0.0493057444691658, -0.015111701563000679, 0.00705353356897831, 0.008781196549534798, -0.026516268029808998, 0.07458188384771347, -0.015857303515076637, 0.013476047664880753, -0.013339579105377197, 0.011407957412302494, 0.05716228485107422, 0.010685092769563198, -0.004189956933259964, 0.06350929290056229, 0.009779493324458599, -0.006698438432067633, -0.01786630041897297, 0.013775300234556198, -0.04481067135930061, 0.06951522827148438, 0.018411453813314438, -0.2687346637248993, 0.022030793130397797, 0.031809817999601364, 0.0638396292924881, 0.03658213093876839, 0.020415687933564186, 0.015470553189516068, -0.051203805953264236, 0.02007852867245674, 0.0193488709628582, 0.003420100314542651, 0.04895544797182083, -0.023503882810473442, -0.04758131876587868, -0.01221548393368721, -0.02622774988412857, 0.06478530168533325, -0.018585726618766785, 0.02676619216799736, 0.02857588604092598, -0.0002655702701304108, -0.04248679056763649, 0.170691579580307, -0.017151789739727974, 0.022944530472159386, -0.01673199236392975, 0.011921091936528683, 0.03713301196694374, 0.07600309699773788, 0.02914815954864025, 0.03295890614390373, -0.00768979312852025, 0.0544780008494854, 0.0038311306852847338, 0.033549949526786804, -0.014929025433957577, -0.02766232006251812, 0.064608633518219, 0.006102326791733503, -0.026441877707839012, -0.021959155797958374, 0.0384867861866951, -0.03744456544518471, 0.012318714521825314, 0.05806582421064377, 0.010953381657600403, -0.0040418775752186775, -0.03176024183630943, -0.02766045555472374, -0.016340089961886406, -0.025088438764214516, -0.004553703591227531, -0.021119099110364914, -0.030645232647657394, 0.03088412806391716, 0.05992092937231064, 0.02425283007323742, -0.024046842008829117, 0.02030402049422264, 0.019262295216321945, -0.045463331043720245, -0.04497528076171875, 0.10168825089931488, 0.04576064646244049, 0.012755915522575378 ]
[ 0.00547029310837388, 0.0574650838971138, -0.04689464718103409, 0.029013093560934067, -0.015692107379436493, -0.043916940689086914, -0.008482586592435837, 0.023113666102290154, 0.0032063168473541737, 0.02285340242087841, -0.002256853971630335, -0.030111365020275116, 0.0375666469335556, -0.08625493943691254, 0.015033092349767685, -0.010347298346459866, -0.04962225258350372, -0.007407751400023699, 0.025003712624311447, -0.024409746751189232, -0.03972097113728523, 0.02564839832484722, 0.008364135399460793, -0.0020618585404008627, -0.022948026657104492, 0.03557603433728218, -0.03686046600341797, 0.012916993349790573, -0.008808697573840618, -0.11894182860851288, -0.059449419379234314, 0.012661511078476906, 0.032733719795942307, 0.04200801998376846, -0.009405975230038166, -0.005781013052910566, 0.013062098994851112, 0.04236537963151932, -0.004096508026123047, 0.01973801478743553, -0.0382564514875412, 0.013803256675601006, 0.022129489108920097, 0.01730472594499588, 0.02890590764582157, -0.005001257639378309, -0.047230396419763565, 0.02405054308474064, -0.015406510792672634, 0.031973946839571, -0.06526512652635574, 0.04024530202150345, -0.01410722453147173, 0.0006350667681545019, 0.03929496183991432, -0.04596104100346565, 0.0016020924085751176, -0.02487969398498535, 0.0064643374644219875, -0.02598641812801361, 0.01157232467085123, -0.010333790443837643, -0.03569725528359413, -0.02382000908255577, 0.02760440669953823, -0.0473441556096077, -0.023592431098222733, 0.024586282670497894, 0.035245735198259354, -0.009066889993846416, -0.048396624624729156, 0.010479173623025417, -0.05157320573925972, -0.002033947966992855, -0.03655547276139259, 0.032917190343141556, -0.007549894042313099, -0.018220962956547737, 0.024468088522553444, -0.015594717115163803, -0.03605692461133003, -0.025160809978842735, 0.02889089845120907, 0.008932777680456638, -0.04896795377135277, -0.02427147701382637, -0.03846695274114609, 0.0016453162534162402, -0.03334040567278862, -0.02543519251048565, 0.032011404633522034, -0.00019293489458505064, 0.030383208766579628, -0.0020843290258198977, -0.07610315084457397, 0.014183763414621353, -0.019074369221925735, -0.009348338469862938, -0.010210840962827206, 0.7870527505874634, 0.013995622284710407, 0.04023609310388565, 0.04749615117907524, -0.01325926836580038, -0.04346213489770889, -0.011932186782360077, 0.0588001050055027, 0.01260665338486433, 0.023980025202035904, -0.06780242174863815, 0.06819060444831848, -0.016894642263650894, 0.02010941505432129, -0.017334233969449997, 0.00803807657212019, 0.05556251108646393, 0.006317696999758482, 0.016356738284230232, 0.022824715822935104, 0.016712332144379616, 0.0026114066131412983, -0.023977352306246758, -0.02283705770969391, -0.0012574874563142657, -0.006559997331351042, -0.15045832097530365, 0.05151901766657829, -7.758798300040691e-33, 0.008957559242844582, -0.010593162849545479, 0.007506431080400944, -0.0021532555110752583, 0.05624803528189659, 0.00009608878463041037, -0.005951378028839827, 0.030254248529672623, -0.02831055410206318, -0.024687334895133972, 0.033358100801706314, -0.015190187841653824, -0.0045987810008227825, 0.0051863533444702625, 0.03491615876555443, -0.021107377484440804, -0.01984613575041294, 0.015957731753587723, -0.005295281298458576, -0.027528710663318634, 0.04866398125886917, 0.007079241331666708, 0.06326793134212494, 0.012635847553610802, 0.06657454371452332, 0.013521301560103893, -0.018467897549271584, -0.010080915875732899, -0.01514305267482996, -0.049189209938049316, -0.017144497483968735, 0.04916501045227051, 0.027684660628437996, -0.034763675183057785, 0.044748302549123764, -0.06210057809948921, -0.002573564648628235, 0.035611025989055634, 0.0005810874863527715, -0.0038500195369124413, -0.06002156436443329, -0.0023509697057306767, 0.005284053273499012, 0.015619173645973206, -0.008851844817399979, -0.024495551362633705, -0.002335997996851802, 0.03682723268866539, -0.0016915036831051111, 0.0454045794904232, 0.03172795847058296, 0.01272172387689352, 0.019294461235404015, 0.025463372468948364, 0.016148341819643974, 0.012289077043533325, -0.007416881155222654, -0.013306334614753723, -0.00982056837528944, 0.013214046135544777, 0.01603284664452076, 0.029862970113754272, -0.005977469030767679, 0.036608677357435226, 0.012394285760819912, 0.027445215731859207, 0.06868470460176468, 0.053031474351882935, 0.02225366421043873, 0.02087453193962574, -0.026844775304198265, 0.03851526975631714, 0.012007229030132294, -0.040877435356378555, -0.012549315579235554, 0.0017034354386851192, -0.027310611680150032, 0.0000596141726418864, 0.011476078070700169, 0.026159776374697685, 0.02526676282286644, -0.02024230733513832, -0.022296933457255363, -0.012510997243225574, -0.03215828165411949, 0.0151220066472888, 0.013094154186546803, 0.0009090002859011292, -0.028021719306707382, -0.01610346883535385, 0.03077090159058571, 0.04672737419605255, -0.028156204149127007, -0.03362082690000534, -0.01454405952244997, 7.479398721213588e-33, 0.02422313392162323, -0.015156244859099388, 0.0012893881648778915, 0.009042994119226933, 0.008278756402432919, -0.0000862298984429799, 0.022732313722372055, -0.024995023384690285, -0.030443262308835983, 0.008304950781166553, 0.01640235260128975, 0.01613011583685875, -0.007765555288642645, 0.01906667649745941, 0.054956600069999695, 0.005333844572305679, -0.029402920976281166, 0.052122414112091064, -0.02955319546163082, -0.013424620032310486, 0.028211403638124466, -0.02584310993552208, 0.03255338594317436, 0.023676510900259018, 0.05442018806934357, -0.004007716663181782, -0.05229467526078224, -0.027280492708086967, 0.011473887600004673, 0.007272825110703707, -0.0070786746218800545, 0.013828148134052753, 0.006261925678700209, -0.038001708686351776, -0.025049732998013496, 0.03565649315714836, 0.012532255612313747, 0.04323916882276535, 0.06015487015247345, 0.005902107339352369, 0.0262619461864233, 0.029415346682071686, 0.001307660131715238, -0.024671532213687897, 0.024541163817048073, 0.027432728558778763, 0.014853361062705517, 0.00962783768773079, -0.014956118538975716, -0.002390568144619465, 0.007494250312447548, 0.0035538622178137302, 0.0002771064464468509, 0.013064160011708736, 0.04442385211586952, 0.010059986263513565, -0.0318358913064003, 0.007891683839261532, -0.06527149677276611, -0.03341358155012131, -0.06330806016921997, 0.007713629864156246, -0.0297915767878294, -0.0007593235350213945, -0.018231790512800217, 0.010027585551142693, -0.06007152050733566, 0.005909031722694635, 0.010323704220354557, 0.006290482357144356, -0.008101439103484154, -0.034327905625104904, -0.039454784244298935, 0.017091209068894386, -0.056532565504312515, 0.018375419080257416, -0.02478991448879242, 0.01443681214004755, -0.03488583117723465, 0.04572160542011261, 0.03861887753009796, -0.0024416500236839056, 0.04339328408241272, 0.03283926472067833, -0.00856338907033205, 0.017515525221824646, -0.039423491805791855, -0.06295275688171387, 0.03703871741890907, 0.05122129246592522, -0.03337676450610161, -0.044853225350379944, 0.0020935244392603636, -0.018233707174658775, -0.0223594568669796, -1.2727467080253518e-8, -0.03416053578257561, 0.00255660736002028, -0.045590076595544815, 0.006076314486563206, 0.06399393826723099, 0.0494479164481163, -0.047115638852119446, -0.027386590838432312, -0.013378756120800972, 0.005764418747276068, 0.0023290137760341167, -0.047296375036239624, -0.0008206058409996331, 0.025423496961593628, 0.011746212840080261, -0.03318782523274422, 0.04438517242670059, -0.04927259311079979, 0.03062458150088787, 0.005002020858228207, 0.01483118161559105, 0.01772504486143589, 0.011951811611652374, 0.031188122928142548, 0.02086971327662468, -0.030178355053067207, -0.0007468282128684223, -0.07360267639160156, 0.01751370169222355, 0.011391296982765198, 0.04336065798997879, -0.050890836864709854, -0.03234763443470001, -0.019697779789566994, 0.019445622339844704, -0.05637074634432793, -0.0012130088871344924, -0.0015272083692252636, -0.015259736217558384, 0.02154506742954254, -0.019866758957505226, 0.0021614502184093, -0.043322864919900894, -0.029127441346645355, -0.005177956540137529, -0.08665124326944351, -0.045692987740039825, -0.009974838234484196, -0.0016855284338817, -0.0354573130607605, 0.036119554191827774, -0.03317437693476677, 0.034031376242637634, 0.01734529808163643, 0.04442655295133591, 0.026428934186697006, 0.02681742236018181, 0.022638697177171707, -0.023983703926205635, 0.0054221386089921, 0.04333510249853134, 0.011326134204864502, -0.01908763311803341, -0.04011945053935051 ]
unix-counting-the-number-of-commas-on-a-line
https://markhneedham.com/blog/2012/11/10/unix-counting-the-number-of-commas-on-a-line
false
2012-11-19 08:50:07
Incremental/iterative development: Breaking down work
[ "software-development" ]
[ "Software Development" ]
Over the past couple of years I've worked on several different applications and one thing they had in common was that they had a huge feature which would take a few months to complete and initially seemed difficult to break down. Since we favoured an incremental/iterative approach to building these features and wanted to add value in short feedback cycles we needed to find a way to break them down. I thought I'd record the ways that we came up with for doing that. == Complexity of markup On one of the projects that I worked we were building a publishing platform and needed to publish some documents which had varying degrees of complexity in their XML markup. Trying to get all the combinations of markup working at once was a non starter - there were way too many different ways that a document could be marked up just from a quick glance. We would later also find other ways that we didn't know about at the start. Instead we decided to start with the simplest markup and then as part of our data ingestion process we excluded any documents which had too much complexity through a sequence of rules. We slowly relaxed those rules as we played the stories to introduce the more complex markup until eventually we'd imported and were showing all of the documents. == Simplicity of rules On another project we were writing a pricing engine which needed to come up with prices for connecting a network between various locations that a customer could specify. The end goal was that you'd be able to price a network regardless of which locations the customer suggested but we realised early on that there were some very different rules for pricing the USA compared to the rest of the world. Since the rules for the USA were a bit more complicated and we didn't understand them as well as the other rules we were able to first get our algorithm working for the rest of the world and then move onto the USA. On another project we needed to work out the shipping costs and the calculation differed in complexity depending on where you were in the country so we started with the simple areas first and built on that! == Dependency Chain On my most recent project we needed to do the initial release of all our applications into the production environment but there were quite a few moving parts involved in doing that. To break this problem down we wrote each application on a card, stuck them all up on the wall and worked out the dependencies between them. We first focused on deploying the ones which had no dependencies and then worked out from there. == Workflow A couple of years ago I worked on an insurance application where we were building an application which would be used by sales representatives when renewing a customer's home insurance. It was based around a workflow that the client wanted the sales representatives to follow whereby they could over the customer varying incentives to renew which increased in actual value as you went down the work flow. There were various calculations at each stage which were somewhat inter-mingled but the approach that made most sense here was to drive out the solution starting with the early parts of the workflow and continuing from there. We had to do a little bit of rework of existing calculations as we added a new step to the application but in general it seemed to work reasonably well. I'm sure there are other ways of breaking down work but this is how we did it - I'd be interested in learning any other tricks/techniques people have for figuring out how to do this.
null
null
[ 0.018849628046154976, 0.007977533154189587, 0.005202273838222027, 0.03653215989470482, 0.10173530876636505, 0.010283011943101883, -0.00814300961792469, 0.03887053579092026, 0.0184785109013319, -0.009406977333128452, -0.023133400827646255, 0.006397014018148184, -0.05224241316318512, 0.023540208116173744, -0.02753130905330181, 0.061945099383592606, 0.058271899819374084, 0.0031880398746579885, 0.01568312756717205, -0.019379327073693275, 0.007067297585308552, 0.0807366892695427, 0.020356839522719383, 0.03502444177865982, 0.030674995854496956, 0.008948981761932373, 0.003311456646770239, -0.012968122959136963, -0.07143749296665192, 0.008172864094376564, 0.04797021299600601, -0.02441699057817459, -0.0064611309207975864, 0.009714221581816673, 0.009863845072686672, -0.02927565388381481, -0.023187940940260887, 0.03243555873632431, -0.019639570266008377, -0.02773384004831314, -0.05657312646508217, 0.05432943254709244, -0.012317180633544922, 0.0085922721773386, -0.036088623106479645, -0.002654243027791381, -0.045139625668525696, 0.0004843130591325462, -0.016023783013224602, -0.018217476084828377, -0.09707877784967422, 0.02403334528207779, -0.020235776901245117, -0.005365814082324505, -0.030971823260188103, 0.0660032257437706, 0.015145489946007729, -0.06131337955594063, 0.010791200213134289, -0.02659067139029503, -0.0060979039408266544, -0.011418342590332031, -0.00023112657072488219, 0.03906649351119995, 0.027026254683732986, -0.026493681594729424, -0.0030159978196024895, 0.04046935215592384, -0.03487912565469742, -0.008423530496656895, -0.022599367424845695, -0.004276442341506481, -0.028290310874581337, -0.025384362787008286, 0.00685809925198555, -0.044509753584861755, 0.002053264994174242, 0.052709583193063736, 0.0006321034743450582, 0.04859387129545212, -0.040133286267519, 0.038843464106321335, 0.015124182216823101, 0.016377249732613564, 0.005451996810734272, -0.05297726020216942, -0.009754907339811325, -0.013996481895446777, -0.05415309593081474, 0.05023882910609245, 0.06452676653862, -0.06841030716896057, 0.014970829710364342, 0.03780533745884895, 0.0019353372044861317, -0.00786808505654335, 0.010983407497406006, 0.010083848610520363, -0.009425691328942776, 0.007902932353317738, -0.01178143359720707, 0.010281309485435486, 0.014755038544535637, 0.00034260787651874125, -0.08469933271408081, 0.00753036281093955, -0.017914872616529465, 0.0025290476623922586, 0.016021210700273514, -0.006864539813250303, -0.012937991879880428, -0.001540769124403596, -0.03973575308918953, 0.02811981923878193, -0.07130081206560135, 0.06628517806529999, 0.002503711497411132, -0.037235550582408905, -0.007902456447482109, -0.01152049656957388, 0.0508631095290184, 0.021152473986148834, -0.013744748197495937, 0.07725180685520172, -0.030177157372236252, 0.019416071474552155, -0.02914273738861084, 0.06412702798843384, -0.031057855114340782, -0.05992177501320839, -0.022280532866716385, 0.0459718257188797, -0.02723178081214428, -0.003946303855627775, 0.006022720132023096, -0.011723905801773071, 0.009001588448882103, 0.010651804506778717, 0.04276026412844658, 0.008764288388192654, -0.014957874082028866, -0.0312182754278183, 0.014580490067601204, 0.017546793445944786, 0.015082735568284988, -0.0038033430464565754, 0.016360202804207802, -0.037594202905893326, -0.04792770370841026, -0.00872056558728218, -0.01849740743637085, 0.0139781404286623, 0.02049992047250271, -0.021517256274819374, 0.038377027958631516, 0.10863025486469269, 0.008367447182536125, 0.003781030885875225, -0.012916036881506443, 0.0015684119425714016, 0.020726820454001427, 0.024018947035074234, 0.01710505224764347, 0.009732159785926342, -0.006264273077249527, -0.017388474196195602, 0.0017464151605963707, 0.04680125415325165, -0.004308626987040043, 0.011251269839704037, -0.0650118887424469, -0.03952641785144806, 0.04817632585763931, -0.03153342753648758, -0.027361273765563965, 0.057778630405664444, 0.08431202173233032, 0.055257201194763184, 0.026264453306794167, 0.029346760362386703, -0.07668673992156982, 0.038245584815740585, 0.013547789305448532, 0.006949964910745621, 0.03358735516667366, -0.017068902030587196, 0.061760447919368744, 0.03800727427005768, -0.00186934694647789, 0.004579608328640461, -0.07938603311777115, -0.09896194934844971, -0.02568437159061432, -0.018552225083112717, 0.038599442690610886, -0.0158514566719532, -0.0007854500436224043, 0.08838988095521927, 0.008392374962568283, 0.04139256849884987, 0.028707120567560196, 0.01888241246342659, 0.023967977613210678, -0.05265403166413307, -0.048981308937072754, 0.039911527186632156, 0.04789925366640091, -0.012778405100107193, -0.04435179382562637, -0.007732896599918604, -0.03311483934521675, -0.009169626981019974, 0.05398602411150932, -0.00302154291421175, 0.02848031371831894, 0.018960287794470787, 0.05303521826863289, -0.031117815524339676, 0.04102207347750664, -0.041760433465242386, 0.02423570491373539, -0.011839069426059723, -0.01990715228021145, 0.01559804379940033, -0.027788100764155388, 0.11182103306055069, 0.04383537918329239, -0.047392114996910095, -0.028542552143335342, 0.0246425811201334, 0.00013014009164180607, -0.05899021774530411, 0.01933443918824196, -0.03883654996752739, 0.01772529073059559, 0.008735112845897675, -0.07731851190328598, -0.02781374566257, 0.015141184441745281, -0.04287669435143471, 0.008084233850240707, 0.04320211708545685, -0.03573651984333992, 0.0746980533003807, 0.031507015228271484, -0.006269778124988079, -0.01431297417730093, -0.00449250265955925, -0.06181413680315018, 0.023666242137551308, 0.013895787298679352, -0.017829999327659607, 0.02629564143717289, -0.00632699066773057, -0.04498695582151413, -0.042109664529561996, -0.03458317369222641, 0.012820110656321049, 0.032874319702386856, 0.06634388864040375, -0.004504740238189697, 0.059114232659339905, 0.0027338708750903606, 0.024121880531311035, 0.007893999107182026, -0.046591538935899734, -0.036893561482429504, -0.021719397976994514, 0.001395461498759687, 0.033982448279857635, 0.02028273232281208, 0.005639946088194847, 0.041095759719610214, 0.005850056651979685, -0.006795529741793871, -0.04450396075844765, 0.05908709391951561, -0.027077671140432358, -0.015818921849131584, -0.0379599891602993, -0.009671488776803017, 0.046728260815143585, -0.03990937024354935, -0.04074115678668022, 0.02794230915606022, -0.07218533754348755, 0.05136774480342865, -0.07797717303037643, -0.03969253599643707, -0.005292218178510666, 0.0022039092145860195, 0.05647056922316551, -0.0002805786207318306, 0.015094582922756672, 0.0846027061343193, 0.01765625737607479, 0.0005367649719119072, 0.00035667174961417913, 0.016860827803611755, 0.030564773827791214, 0.004198004491627216, -0.015898464247584343, 0.037177883088588715, 0.004492302890866995, -0.0019244815921410918, -0.05820825695991516, 0.040395088493824005, -0.042123161256313324, -0.2739504277706146, 0.029468802735209465, 0.002904316410422325, -0.05393564701080322, 0.016045384109020233, -0.030963612720370293, 0.01433268841356039, -0.0460001640021801, -0.00795593298971653, 0.0027524547185748816, -0.03562331199645996, -0.03431100398302078, -0.017203716561198235, 0.047076787799596786, 0.004059505183249712, 0.04995425418019295, 0.03326224908232689, -0.019167205318808556, 0.01692148670554161, 0.06125606223940849, -0.02265048958361149, -0.0808739885687828, 0.03085457719862461, 0.01787320151925087, 0.035581398755311966, 0.04580709710717201, -0.06758325546979904, 0.04743136838078499, -0.042151473462581635, -0.024943746626377106, 0.020125551149249077, -0.023748280480504036, -0.0020642788149416447, -0.03475077077746391, -0.014178699813783169, -0.03809138759970665, 0.055133529007434845, 0.02545809932053089, 0.013122212141752243, 0.004117313772439957, 0.0045071193017065525, -0.027006881311535835, -0.011059981770813465, 0.010464970022439957, 0.07035885751247406, -0.02650739997625351, -0.07708307355642319, -0.02084505185484886, -0.03769112378358841, 0.08444685488939285, -0.010916056111454964, -0.03312904015183449, 0.0015738096553832293, 0.047044817358255386, 0.0022120147477835417, -0.0200045146048069, -0.00159901671577245, -0.021585358306765556, -0.063566654920578, -0.02355252578854561, -0.006959191057831049, -0.058423276990652084, -0.008003175258636475, -0.047393593937158585, 0.02230205573141575, -0.05826427787542343, -0.06137609854340553, -0.03059702180325985, 0.06665710359811783, 0.03703584149479866, -0.020152484998106956, 0.023559965193271637, 0.02221323363482952, -0.09623768925666809, 0.005225081462413073, -0.03716149926185608, -0.00528250215575099, 0.00568369822576642, -0.0009603430517017841, 0.018126854673027992, -0.019079532474279404, -0.04849610850214958, 0.020041609182953835, -0.0021315403282642365, 0.02262905053794384, -0.03015202097594738, 0.03284585848450661, 0.030612368136644363, -0.04945014417171478, 0.01763044111430645, 0.0688551738858223, 0.015298676677048206, -0.036442242562770844, -0.030441775918006897, 0.018407799303531647, -0.011472098529338837, 0.01533883810043335, -0.0019076676107943058, -0.003263413207605481, 0.023036053404211998, 0.0143545251339674, -0.0391952283680439, 0.02751895785331726, -0.010699043050408363, -0.013154074549674988, 0.0021312981843948364, -0.06740232557058334, 0.009736370295286179, 0.04586896672844887, 0.03181568905711174, -0.01552477478981018, -0.020114466547966003, 0.0013850574614480138, -0.05302317440509796, -0.040813665837049484, -0.010187077336013317, 0.003239256562665105, 0.038155462592840195, -0.012810112908482552, -0.02003948949277401, -0.03276308253407478, 0.02005741186439991, 0.0358315147459507, -0.007655595429241657, -0.054996341466903687, -0.02479814738035202, -0.015441715717315674, -0.016282426193356514, 0.025584779679775238, 0.025652626529335976, -0.01619124598801136, 0.010903953574597836, 0.01735568791627884, -0.05967899039387703, -0.0001295294496230781, -0.002071511000394821, -0.06197775527834892, -0.030345404520630836, 0.002612731419503689, -0.007734904531389475, -0.016238342970609665, 0.036940883845090866, 0.015046057291328907, 0.012984147295355797, 0.05244608595967293, -0.008659271523356438, 0.016748035326600075, -0.0015690653817728162, 0.031344857066869736, -0.008638094179332256, -0.003951284568756819, -0.06713195145130157, 0.00010213744826614857, -0.037416767328977585, -0.019152387976646423, -0.03585193306207657, 0.03146500512957573, -0.03857098147273064, -0.022219659760594368, -0.01213329378515482, 0.016310956329107285, -0.05906806141138077, -0.0435701422393322, -0.02428022027015686, 0.03290032222867012, 0.04786153510212898, -0.012430607341229916, 0.031002800911664963, -0.014482581056654453, -0.00015159504255279899, 0.02786291018128395, 0.0143703892827034, -0.04631979763507843, 0.006405355408787727, 0.0023848756682127714, -0.003287425497546792, 0.00012736079224850982, -0.0060364375822246075, 0.05266157537698746, 0.03147824481129646, -0.009750734083354473, -0.02432130090892315, 0.02385641820728779, 0.003960905596613884, 0.05212599039077759, 0.013386345468461514, -0.01578161120414734, 0.0278001818805933, -0.024041706696152687, -0.012468535453081131, -0.02526148594915867, -0.001299808849580586, -0.0018013033550232649, 0.009535740129649639, -0.02850421518087387, -0.08274734020233154, 0.04288281500339508, 0.031789086759090424, 0.025673942640423775, 0.005537360906600952, -0.012025960721075535, 0.003638009773567319, -0.03827860206365585, 0.026668550446629524, 0.06441064924001694, -0.05678000673651695, -0.009320313110947609, -0.020880671218037605, 0.021503152325749397, 0.018617982044816017, -0.003688661614432931, -0.04123840853571892, -0.03706461191177368, -0.008495799265801907, 0.009348584339022636, -0.050676602870225906, -0.011136157438158989, -0.03108385019004345, 0.017223918810486794, -0.009346485137939453, 0.005605647806078196, -0.015889108180999756, -0.025250986218452454, -0.02261641062796116, -0.016163602471351624, 0.024850059300661087, -0.034046754240989685, -0.0007209245814010501, -0.005348966922610998, -0.039213813841342926, -0.007704122457653284, -0.025133434683084488, 0.029709141701459885, 0.025726765394210815, -0.013089812360703945, 0.0011240142630413175, -0.039594538509845734, 0.011278832331299782, 0.026174446567893028, 0.04263046756386757, -0.020366083830595016, -0.009070233441889286, -0.030949262902140617, -0.002019314793869853, -0.0176533330231905, 0.029796268790960312, -0.031742677092552185, -0.0206913985311985, 0.001812698203139007, 0.043378181755542755, -0.008729158900678158, 0.03168730065226555, 0.0019506396492943168, -0.032751619815826416, 0.072282575070858, -0.05242689326405525, -0.01933117024600506, -0.03333468362689018, -0.07729943841695786, 0.01819397695362568, 0.011153705418109894, 0.026026243343949318, -0.030382635071873665, 0.03457609936594963, 0.05883527919650078, 0.04188036173582077, 0.010026072151958942, 0.005022149998694658, 0.042093101888895035, -0.0389912910759449, -0.0028491022530943155, -0.08348765969276428, 0.02029017172753811, 0.04187852516770363, -0.0007779187289997935, -0.00006358268001349643, -0.01572725735604763, -0.036261919885873795, 0.049351587891578674, -0.05655379965901375, -0.023388445377349854, 0.04137040302157402, 0.008057472296059132, 0.00485033355653286, 0.014901715330779552, -0.07016225159168243, 0.03059661202132702, 0.03059632144868374, -0.05992032214999199, -0.010688002221286297, -0.02955777198076248, 0.07337439060211182, 0.0030708354897797108, 0.026692183688282967, -0.032535821199417114, -0.020886661484837532, 0.08036879450082779, 0.014760024845600128, 0.02102235145866871, 0.05986893177032471, -0.022873131558299065, 0.04202505573630333, 0.03471152484416962, -0.004491313826292753, -0.007165473885834217, 0.031124768778681755, -0.01766825281083584, -0.052320946007966995, 0.041468601673841476, -0.008024193346500397, -0.02882080152630806, -0.0393124483525753, 0.06256382912397385, 0.027841102331876755, -0.014835577458143234, -0.07713329046964645, 0.032915156334638596, -0.07677660137414932, 0.007950859144330025, -0.008975382894277573, 0.009475786238908768, -0.05804005637764931, 0.047376811504364014, -0.02229151874780655, 0.00964845810085535, 0.09039901942014694, -0.011265495792031288, -0.0009597123716957867, -0.01650339551270008, 0.07479751855134964, 0.06879815459251404, 0.07880523055791855, 0.015345058403909206, 0.05762016400694847, -0.007690975442528725, -0.0388127826154232, 0.002173496875911951, -0.0021562769543379545, -0.015170050784945488, -0.012300273403525352, 0.02511342242360115, 0.05017589032649994, 0.008585399948060513, 0.07459735870361328, -0.004431887064129114, -0.019485339522361755, 0.022477755323052406, 0.03753284364938736, 0.02964833751320839, 0.06558024883270264, 0.019935242831707, 0.00035141519038006663, 0.008918951265513897, -0.04397719353437424, 0.007623893208801746, -0.0403372123837471, -0.02409013733267784, 0.044544320553541183, -0.01299675926566124, 0.024070285260677338, 0.006547370459884405, 0.049346983432769775, 0.08476760983467102, -0.023741699755191803, -0.0010146587155759335, -0.010670827701687813, 0.04718906059861183, -0.005623875185847282, 0.012014664709568024, -0.028701404109597206, -0.026139579713344574, -0.00808112695813179, -0.02826174907386303, -0.022406868636608124, -0.010248793289065361, -0.007831960916519165, 0.03623384237289429, -0.026052244007587433, 0.001918833702802658, 0.029614673927426338, 0.014349021017551422, -0.05459550768136978, -0.048888951539993286, -0.03472064062952995, -0.03891637921333313, -0.05432341247797012, -0.011222785338759422, 0.009160329587757587, 0.010955226607620716, -0.033685434609651566, -0.007806418463587761, -0.03651494160294533, -0.01707611419260502, 0.0486682690680027, -0.05781613290309906, 0.005073619075119495, -0.002227677730843425, 0.0238360483199358, 0.014048476703464985, -0.0014917812077328563, 0.039784323424100876, -0.01877349242568016, 0.0035448826383799314, -0.008376313373446465, 0.022645188495516777, 0.019886627793312073, -0.0017377407057210803, 0.026143401861190796, -0.0771997794508934, 0.017597293481230736, 0.02463405951857567, -0.021800292655825615, -0.06974516063928604, 0.02691107615828514, 0.01970568671822548, -0.021227294579148293, 0.06419394165277481, -0.014637677930295467, 0.009421439841389656, -0.03868231922388077, -0.009542746469378471, -0.016919562593102455, 0.029373575001955032, 0.03710050880908966, -0.02270825020968914, 0.08024950325489044, 0.025305183604359627, -0.0006776463706046343, -0.045355502516031265, 0.0020348713733255863, -0.017439980059862137, 0.006466018036007881, -0.015163426287472248, -0.018484266474843025, -0.031082451343536377, -0.06053636595606804, -0.04112095385789871, 0.01352500170469284, -0.02611846849322319, -0.0335799977183342, 0.012065400369465351, 0.048513248562812805, -0.03381335735321045, 0.014406627975404263, -0.051625508815050125, 0.03084160014986992, -0.023298779502511024, -0.013329905457794666, -0.0031431997194886208, 0.0022387735079973936, 0.003130353754386306, -0.012149808928370476, 0.01667504943907261, -0.043100710958242416, 0.003499274607747793, 0.006940500810742378, 0.03430643305182457, 0.021044477820396423, 0.017022477462887764, -0.00657441234216094 ]
[ -0.07985007762908936, -0.002049553208053112, -0.03455240651965141, -0.033762287348508835, 0.04285111650824547, -0.04730619490146637, -0.041801195591688156, 0.02677563764154911, -0.008337984792888165, -0.027345461770892143, 0.009943121112883091, -0.0022809584625065327, -0.01022358052432537, -0.023224418982863426, 0.07553644478321075, 0.000599933322519064, -0.01690853387117386, -0.0852067843079567, 0.01271802932024002, 0.02737260051071644, 0.04154173284769058, -0.03814294934272766, -0.05667690560221672, -0.04059130698442459, 0.025186393409967422, 0.04913453757762909, 0.043284568935632706, -0.033124521374702454, 0.01574704796075821, -0.20902663469314575, 0.018306070938706398, -0.0037084210198372602, 0.03648928180336952, -0.009541800245642662, 0.05039340257644653, 0.055779390037059784, -0.009887363761663437, 0.02662074565887451, -0.00539441267028451, 0.021944597363471985, 0.020952289924025536, 0.033866193145513535, -0.042002446949481964, -0.03499620407819748, 0.015926359221339226, -0.005655476823449135, -0.01567569561302662, -0.011101453565061092, -0.02563740313053131, 0.028327342122793198, -0.04683326184749603, -0.02191954478621483, -0.0037273704074323177, -0.02156006544828415, -0.01657893881201744, 0.03736954927444458, 0.03691382333636284, 0.06093144416809082, -0.0013072614092379808, 0.01428956538438797, -0.0008492149063386023, -0.013919522054493427, -0.14783403277397156, 0.0945931226015091, 0.06416481733322144, 0.05322379991412163, -0.0643339529633522, -0.0071510570123791695, -0.024236075580120087, 0.12772084772586823, 0.02985382080078125, -0.027497457340359688, -0.0278314258903265, 0.05113425850868225, 0.03766220435500145, 0.02329952083528042, 0.0014998888364061713, 0.0048854900524020195, 0.018862280994653702, -0.053956929594278336, -0.02288585901260376, 0.004133090376853943, -0.024216139689087868, 0.018178215250372887, -0.044569406658411026, 0.016703123226761818, -0.005685123149305582, 0.06682955473661423, 0.05062028765678406, 0.008210614323616028, 0.06108752265572548, -0.006998206488788128, 0.03139708191156387, -0.014575576409697533, -0.08876929432153702, -0.03855177387595177, 0.006201042328029871, 0.01856381818652153, -0.04557463154196739, 0.4371408224105835, 0.00046658050268888474, -0.018744565546512604, 0.08938099443912506, 0.025863949209451675, -0.003246795618906617, 0.016528388485312462, 0.0042544277384877205, -0.028251897543668747, 0.010361606255173683, -0.04066300019621849, -0.005120559595525265, 0.032561272382736206, 0.06608056277036667, -0.06508271396160126, 0.0065821632742881775, 0.003715322120115161, -0.03252776339650154, 0.009151007048785686, 0.016627615317702293, -0.024672703817486763, -0.002806618344038725, 0.02400190196931362, 0.006651134695857763, 0.018251914530992508, -0.049986179918050766, -0.029469795525074005, 0.05203160271048546, 0.044326696544885635, 0.00963685754686594, -0.009695352986454964, 0.040171582251787186, -0.05243474990129471, -0.06892318278551102, 0.016175154596567154, 0.016898246482014656, 0.003160115797072649, 0.009193048812448978, -0.021597638726234436, -0.021656857803463936, 0.047286197543144226, -0.017798379063606262, 0.03451080992817879, 0.0137234628200531, -0.027958117425441742, -0.049552980810403824, 0.1266966462135315, 0.04363443702459335, -0.020076952874660492, -0.014034301973879337, -0.04075057804584503, -0.0006892678793519735, 0.017847400158643723, 0.00029099505627527833, -0.0679619312286377, 0.013145112432539463, -0.00035734751145355403, 0.08983392268419266, -0.030945857986807823, -0.05798589065670967, -0.008491826243698597, -0.006692257709801197, -0.03290779888629913, -0.06416282802820206, 0.07123071700334549, 0.06167235225439072, -0.12320788949728012, -0.006877501495182514, 0.00245302845723927, 0.02156112529337406, -0.05831817165017128, -0.009005465544760227, 0.03182905912399292, -0.017003314569592476, -0.0008859863737598062, 0.042623329907655716, -0.042233821004629135, -0.04783119633793831, 0.03940609470009804, 0.03421121463179588, -0.006430359557271004, 0.022791771218180656, 0.0004694489180110395, -0.037569861859083176, 0.0021391501650214195, -0.03734469413757324, -0.09026620537042618, -0.04922809824347496, 0.0052561271004378796, -0.04159010574221611, -0.004807638935744762, -0.010423480533063412, -0.011565216816961765, -0.08244386315345764, 0.10290322452783585, -0.03982851281762123, -0.02173072285950184, 0.016338296234607697, 0.007188917137682438, -0.025714565068483353, -0.033483006060123444, -0.01493628229945898, 0.02688494324684143, -0.013041079044342041, 0.026365170255303383, -0.05116359516978264, 0.0526665598154068, 0.06494329124689102, -0.030186902731657028, 0.08806763589382172, 0.06820155680179596, -0.01296269055455923, 0.0012217028997838497, 0.030403226613998413, 0.011632136069238186, 0.021643538028001785, 0.004448580089956522, 0.005220277700573206, 0.019341107457876205, 0.015972375869750977, 0.04037268087267876, -0.027909405529499054, -0.014390823431313038, -0.005256162025034428, -0.34992876648902893, -0.05308936536312103, -0.03212882950901985, 0.011203418485820293, 0.00981070101261139, -0.044931646436452866, 0.02261747606098652, -0.01626896671950817, -0.033232249319553375, 0.020170651376247406, 0.06084904819726944, -0.025091778486967087, 0.001999117434024811, -0.06525959819555283, -0.010749204084277153, -0.008479008451104164, -0.03507443517446518, 0.003356620902195573, -0.016926074400544167, 0.023483622819185257, -0.007799546234309673, -0.016789888963103294, -0.018716149032115936, -0.059369780123233795, 0.010878429748117924, -0.02935015968978405, 0.1275710016489029, -0.03664444759488106, 0.051065120846033096, -0.04709099605679512, 0.05310957133769989, 0.004087363835424185, 0.012654602527618408, -0.0870080515742302, -0.0057773408479988575, 0.000845054630190134, 0.021865442395210266, -0.022069312632083893, 0.017226777970790863, -0.03479849547147751, -0.04125119000673294, -0.0013259222032502294, -0.04921422153711319, -0.013518749736249447, -0.03827115148305893, 0.022223209962248802, -0.04730227589607239, -0.03167944774031639, -0.02943996526300907, 0.08273056894540787, 0.012897364795207977, -0.008073138073086739, 0.009777640923857689, 0.005666816141456366, -0.013505304232239723, -0.026349514722824097, -0.0654166042804718, 0.03676112741231918, 0.014632480219006538, -0.006210325751453638, 0.031930435448884964, 0.02845904976129532, 0.03337312117218971, -0.02097531594336033, 0.007071657106280327, -0.0013439474860206246, -0.0021062411833554506, 0.00263621611520648, 0.012512118555605412, -0.016963614150881767, -0.021139146760106087, 0.09505454450845718, -0.005803194362670183, -0.04520629718899727, 0.012411568313837051, 0.044828105717897415, -0.017027420923113823, 0.03736113756895065, 0.03363492712378502, 0.003224592888727784, 0.027716007083654404, -0.006910969968885183, 0.029411761090159416, -0.03144298866391182, -0.022758960723876953, 0.06069660559296608, 0.0008599027059972286, -0.06288094818592072, 0.039775967597961426, 0.025647098198533058, -0.015992803499102592, -0.011241852305829525, -0.00504020182415843, -0.028726639226078987, 0.07689141482114792, -0.01666727103292942, -0.24949942529201508, 0.02304784394800663, 0.06008052080869675, 0.05635056272149086, -0.006857686210423708, 0.021117331460118294, 0.03225051239132881, -0.008570482023060322, 0.0357801653444767, 0.010123947635293007, -0.0026573718059808016, -0.010420949198305607, 0.012791373766958714, -0.044547997415065765, 0.05032378435134888, -0.026427650824189186, 0.04177994281053543, -0.006920204032212496, 0.03998967632651329, 0.01124839298427105, 0.018671907484531403, -0.005133447702974081, 0.16683045029640198, 0.004025623667985201, 0.011174884624779224, -0.00018789096793625504, -0.019649740308523178, 0.03711064159870148, 0.08779153227806091, 0.020552342757582664, -0.002262780210003257, -0.004540224093943834, 0.025472231209278107, -0.01103161834180355, 0.013116407208144665, -0.05823127180337906, -0.01682639867067337, 0.023548580706119537, 0.01001645065844059, 0.02002420648932457, 0.006788994651287794, -0.007827287539839745, -0.020801514387130737, 0.016862578690052032, 0.05230090767145157, 0.009661979041993618, -0.008041460067033768, -0.04382088780403137, -0.04440443217754364, -0.003725992050021887, -0.0510995015501976, -0.04378942772746086, -0.003142125438898802, 0.0008952125790528953, -0.005713708698749542, 0.06554608047008514, -0.0016306277830153704, -0.01781829632818699, -0.023894913494586945, -0.000727811420802027, -0.023006105795502663, -0.011731494218111038, 0.07629133760929108, 0.012004779651761055, 0.035282060503959656 ]
[ 0.03110138326883316, 0.027971725910902023, 0.02095310389995575, 0.013177882879972458, 0.023472996428608894, -0.027898121625185013, -0.019505813717842102, 0.0017475760541856289, -0.03690553829073906, -0.0006479231524281204, -0.001208174042403698, 0.0039031687192618847, -0.004642161540687084, -0.025554921478033066, 0.028312379494309425, -0.018054313957691193, 0.03036891110241413, -0.021068330854177475, 0.041116323322057724, 0.03608548641204834, -0.025929637253284454, 0.012952577322721481, -0.027768049389123917, -0.025797368958592415, -0.006087529473006725, 0.018447190523147583, -0.028270065784454346, -0.016190115362405777, 0.04749100282788277, -0.12698328495025635, -0.02316831797361374, -0.021280992776155472, 0.0009859686251729727, 0.018089095130562782, 0.029714446514844894, 0.005805202294141054, 0.022348258644342422, -0.03486333042383194, 0.012899518944323063, -0.004693564493209124, 0.016692334786057472, -0.014981266111135483, -0.012689231894910336, 0.02548823319375515, -0.006730989553034306, -0.01903354935348034, 0.005686622578650713, 0.003438226180151105, -0.015412244014441967, 0.005297437775880098, -0.013918383978307247, 0.00903876032680273, -0.005298917181789875, -0.0014125603483989835, 0.02647159807384014, -0.004160735290497541, -0.010500517673790455, -0.0037658661603927612, -0.015005572699010372, -0.040754470974206924, -0.02910303883254528, -0.028759533539414406, -0.02746729739010334, 0.00471755163744092, 0.019828258082270622, -0.0016751254443079233, -0.04654791206121445, 0.006884628441184759, -0.019820071756839752, -0.008228786289691925, -0.004221645183861256, 0.019930994138121605, -0.00588369183242321, 0.008572024293243885, 0.01134860422462225, 0.0233068335801363, 0.022720826789736748, -0.004499258007854223, 0.005926220677793026, -0.018346089869737625, -0.04092779755592346, 0.006268231198191643, -0.0028420500457286835, 0.004893340636044741, -0.0460696704685688, -0.04052423685789108, 0.03135804086923599, -0.0067253983579576015, 0.02911156788468361, 0.002944512292742729, -0.011356908828020096, 0.014940096065402031, 0.0002820312511175871, 0.011798867955803871, -0.1013660877943039, -0.008974849246442318, 0.000251483783358708, -0.019613739103078842, -0.017361558973789215, 0.8660256266593933, 0.02426476590335369, 0.008236962370574474, 0.031180057674646378, -0.009282740764319897, -0.00006602703797398135, 0.0051460182294249535, -0.035510994493961334, 0.01049765944480896, -0.015012694522738457, -0.044499948620796204, 0.007271192502230406, 0.023509154096245766, -0.007505116052925587, 0.012778816744685173, 0.036533206701278687, -0.013768977485597134, 0.03919409215450287, -0.02534288913011551, 0.007962930016219616, -0.03783390298485756, 0.020417962223291397, 0.0034913013223558664, -0.01516385842114687, -0.006558092776685953, 0.006906784139573574, -0.17192640900611877, 0.015919435769319534, -8.54439733774255e-33, 0.01164852175861597, -0.013377594761550426, -0.021787097677588463, -0.015808023512363434, 0.05405005067586899, 0.029422152787446976, 0.005538429599255323, 0.025056099519133568, -0.03089933656156063, -0.017444856464862823, -0.003473109332844615, 0.00007663074211450294, -0.011356165632605553, -0.01089225709438324, 0.044405415654182434, -0.024234088137745857, 0.000991254928521812, 0.04070046916604042, 0.014050361700356007, 0.01015891321003437, 0.028018560260534286, -0.007350150495767593, 0.028200119733810425, 0.000864790752530098, -0.006404343526810408, 0.030941961333155632, -0.0013223490677773952, -0.018329892307519913, 0.003367508063092828, -0.06327604502439499, -0.004426362458616495, 0.03323376178741455, 0.008248732425272465, 0.015896735712885857, -0.05243946984410286, -0.031255196779966354, -0.01583971083164215, -0.003588031977415085, -0.004802185110747814, -0.003835915355011821, -0.06115865334868431, 0.015561648644506931, -0.01256030984222889, 0.003546824911609292, -0.00880388729274273, 0.03570413589477539, 0.0027681284118443727, 0.016986405476927757, 0.0141768092289567, -0.0008811792940832675, -0.003191094845533371, -0.001825825311243534, 0.0017871381714940071, -0.02617371641099453, -0.007176749408245087, -0.017102858051657677, -0.004064464941620827, -0.019086817279458046, 0.0246428232640028, 0.005381468683481216, -0.0245466697961092, -0.016364268958568573, -0.011819059029221535, 0.03906533494591713, -0.050711214542388916, 0.010665599256753922, 0.019358979538083076, 0.009472592733800411, -0.00598869938403368, -0.016024455428123474, -0.06431526690721512, -0.005578839220106602, 0.0005808321293443441, 0.016755398362874985, 0.04694483429193497, -0.0006777273374609649, -0.020141856744885445, -0.017826391384005547, -0.022309808060526848, 0.03321472927927971, -0.04156728833913803, 0.024789517745375633, -0.017185425385832787, -0.024598829448223114, -0.023385852575302124, 0.02081959694623947, 0.008370144292712212, -0.00434135552495718, 0.004759817849844694, 0.008986684493720531, 0.028936238959431648, 0.013915298506617546, 0.007385056000202894, -0.027321208268404007, -0.0019233113853260875, 8.323845944853487e-33, -0.02832467295229435, -0.021777279675006866, -0.03966902941465378, 0.011607781983911991, -0.006498136557638645, -0.028454555198550224, 0.018367843702435493, 0.017946891486644745, -0.025705832988023758, 0.028373926877975464, -0.009763037785887718, 0.003464990761131048, -0.03183336183428764, 0.03353957086801529, -0.0034606775734573603, -0.013255967758595943, 0.026752421632409096, 0.0014804023085162044, 0.04337722063064575, -0.006089040078222752, 0.0156771931797266, 0.0032992849592119455, -0.01602979004383087, 0.0047367289662361145, 0.008247226476669312, 0.057153139263391495, -0.01554059237241745, 0.000006448345175158465, -0.00003065555574721657, -0.036314234137535095, -0.004342365078628063, 0.0014307450037449598, 0.022764870896935463, 0.01344484742730856, -0.019804760813713074, 0.03577805683016777, -0.030134929344058037, 0.0059328582137823105, 0.03397919982671738, 0.009444786235690117, 0.023017095401883125, -0.017460543662309647, -0.006488657556474209, 0.024475084617733955, -0.014368082396686077, -0.023444896563887596, -0.00563422916457057, -0.023080067709088326, -0.0020836610347032547, 0.021191470324993134, -0.018939103931188583, 0.007426792755723, 0.0036992637906223536, -0.0036969331558793783, -0.02256583608686924, 0.01071274746209383, -0.03968609496951103, 0.018912607803940773, -0.003080553375184536, 0.027588175609707832, -0.014028291217982769, 0.029712142422795296, 0.0024385263677686453, 0.029223335906863213, -0.03362661227583885, 0.01006555650383234, 0.02772490680217743, -0.014845220372080803, -0.006515114102512598, 0.011651634238660336, -0.01631525345146656, 0.025465356186032295, -0.024952078238129616, 0.038208525627851486, 0.041900817304849625, -0.013532961718738079, -0.034392885863780975, 0.004408948123455048, -0.015796305611729622, 0.01726262830197811, 0.009489929303526878, 0.035578612238168716, 0.004665922839194536, -0.011867829598486423, -0.01375360693782568, 0.019058959558606148, -0.01788930967450142, 0.030393587425351143, 0.0012981831096112728, -0.006617595907300711, -0.020833667367696762, 0.020870350301265717, -0.010957855731248856, 0.013646502047777176, -0.04170049726963043, -1.4015308913428726e-8, -0.0497928261756897, -0.0038323558401316404, -0.006800579838454723, 0.024832434952259064, 0.01590132899582386, 0.006026502698659897, 0.02261437103152275, 0.02558174729347229, -0.017189109697937965, -0.01012045331299305, 0.028691526502370834, -0.021614359691739082, -0.05185508728027344, 0.0346413254737854, -0.0012252808082848787, -0.02247302420437336, 0.0005371039151214063, 0.0031399873550981283, 0.02464635670185089, 0.013137133792042732, 0.02659318782389164, 0.07517091184854507, 0.002623813459649682, 0.018423741683363914, 0.03305993974208832, -0.001604094635695219, 0.0030120776500552893, -0.05598927289247513, 0.02491356059908867, 0.009208072908222675, 0.025514375418424606, -0.027672935277223587, -0.020191587507724762, 0.021491846069693565, -0.006378074176609516, -0.018017688766121864, 0.013711542822420597, 0.03383170813322067, -0.003672791877761483, 0.004168224986642599, -0.026981646195054054, 0.011656709015369415, 0.002914188429713249, -0.03575718030333519, -0.0019527728436514735, -0.010038681328296661, -0.046066369861364365, 0.007989146746695042, 0.038202159106731415, -0.021761571988463402, -0.0026361062191426754, -0.039584867656230927, 0.020962337031960487, -0.004052991047501564, 0.03439104184508324, -0.04228242486715317, 0.003668827936053276, -0.017749743536114693, -0.002051224233582616, 0.024690188467502594, 0.009534887969493866, 0.019553299993276596, 0.0014297312591224909, -0.00855550728738308 ]
incrementaliterative-development-breaking-down-work
https://markhneedham.com/blog/2012/11/19/incrementaliterative-development-breaking-down-work
false
2012-11-19 13:31:49
Learning: Switching between theory and practice
[ "learning" ]
[ "Learning", "Machine Learning" ]
In one of my first ever blog posts I wrote about the differences I'd experienced http://www.markhneedham.com/blog/2008/02/09/learning-theory-first/[in learning the theory about a topic and then seeing it in practice]. The way I remember learning at school and university was that you learn all the theory first and then put it into practice but I typically don't find myself doing this whenever I learn something new. I spent a bit of time over the weekend learning more about neural networks as my colleague https://twitter.com/jennifersmithco[Jen Smith] suggested https://twitter.com/JenniferSmithCo/status/269167128672890880[this might be a more effective technique for getting a higher accuracy score] on the http://www.kaggle.com/c/digit-recognizer[Kaggle Digit Recogniser] problem. I first came across neural networks during https://www.coursera.org/course/ml[Machine Learning Class] about a year ago but I didn't put any of that knowledge into practice and as a result it's mostly been forgotten so my first step was to go back and watch the videos again. Having got a high level understanding of how they work I thought I'd try and find a Neural Networks implementation in http://mahout.apache.org/[Mahout] since Jen and I have been hacking with that so I have a reasonable level of familiarity with it. I could only find people talking about writing an implementation rather than any suggestion that there was one so I turned to google and came across https://github.com/nickewing/netz[netz] - a Clojure implementation of neural networks. On its project page there were links to several 'production ready' Java frameworks for building neural networks including http://neuroph.sourceforge.net/documentation.html[neuroph], http://www.heatonresearch.com/encog[encog] and http://leenissen.dk/fann/wp/[FANN]. I spent a few hours playing around with some of the encog examples and trying to see whether or not we'd be able to plug the Digit Recogniser problem into it. To refresh, the digit recogniser problem is a *multi class classification problem* where we train a classifier with series of 784 pixel brightness values where we know which digit they refer to. We should then be able to feed it any new set of 784 pixel brightness values and it will tell us which digit that is most likely to be. I realised that the https://github.com/mneedham/encog-examples-3.1.0/blob/master/src/main/java/org/encog/examples/neural/gui/ocr/OCR.java[OCR encog example] wouldn't quite work because it assumed that you'd only have one training example for each class! ____ https://github.com/encog/encog-java-core/blob/master/src/main/java/org/encog/neural/som/training/clustercopy/SOMClusterCopyTraining.java[SOMClusterCopyTraining.java] * For now, this trainer will only work if you have equal or fewer training elements * to the number of output neurons. ____ I was pretty sure that I didn't want to have 40,000 output neurons but I thought I better switch back to theory and make sure I understood how neural networks were supposed to work by reading the slides from an http://www2.econ.iastate.edu/tesfatsi/NeuralNetworks.CheungCannonNotes.pdf[introductory talk]. Now that I've read those I'm ready to go back into the practical side again and try and build up a network a bit more manually than I imagined the previous time by using the https://github.com/encog/encog-java-core/blob/master/src/main/java/org/encog/neural/networks/BasicNetwork.java[BasicNetwork] class. I'm sure as I do that I'll have to switch back to theory again and read a bit more, then code a bit more and so the cycle goes on!
null
null
[ 0.015309719368815422, -0.004916215315461159, 0.0007073936285451055, 0.03456256911158562, 0.09620535373687744, 0.04061681777238846, 0.013051271438598633, 0.02634097822010517, 0.006496458314359188, -0.0022434217389672995, 0.017844371497631073, 0.011143884621560574, -0.029651010408997536, 0.00606190599501133, -0.029783157631754875, 0.055801112204790115, 0.06506863236427307, 0.0029406563844531775, 0.029930830001831055, 0.017919983714818954, 0.019723912701010704, 0.04197930917143822, 0.03657782822847366, 0.030503029003739357, 0.03706788644194603, -0.013185293413698673, 0.017142808064818382, -0.004590122494846582, -0.02998792752623558, -0.0013154821936041117, 0.04147418960928917, -0.00007574097980977967, -0.0035136588849127293, -0.010108868591487408, 0.04071062058210373, 0.019642891362309456, -0.030463505536317825, 0.02859441377222538, -0.001461371430195868, 0.021606367081403732, -0.09276304394006729, 0.04319171607494354, -0.04266594722867012, 0.03669663518667221, -0.06814976781606674, 0.01803870126605034, -0.04972651228308678, -0.004775598645210266, 0.0315830335021019, -0.009109772741794586, -0.08221489191055298, 0.031561605632305145, 0.029760705307126045, -0.017004745081067085, -0.02210940420627594, 0.046571679413318634, 0.02973744086921215, -0.07204320281744003, 0.02125471830368042, -0.022334987297654152, -0.0032689636573195457, -0.0061380257830023766, -0.007264315616339445, 0.02851833589375019, 0.013195362873375416, -0.036086563020944595, 0.0017538422252982855, 0.0498286634683609, -0.05555041506886482, 0.021881381049752235, -0.013424243777990341, 0.024227028712630272, -0.010006379336118698, -0.0023697325959801674, -0.0001258023694390431, -0.04467332735657692, 0.017268378287553787, 0.041903428733348846, 0.04377960413694382, 0.016541343182325363, -0.018314676359295845, 0.01356605812907219, 0.04104304686188698, 0.02410189062356949, 0.001138655818067491, -0.02804969809949398, -0.008449611254036427, -0.035471588373184204, -0.07932067662477493, 0.04650833457708359, -0.002290647942572832, -0.0412508100271225, 0.0002826963027473539, 0.030134515836834908, -0.010474699549376965, 0.020480291917920113, 0.031380947679281235, -0.0094126146286726, -0.008402887731790543, -0.03208586201071739, -0.012250463478267193, -0.02627786248922348, 0.0008265986107289791, 0.018317151814699173, -0.07311420142650604, -0.01807987131178379, -0.014766170643270016, -0.012143097817897797, -0.011352312751114368, 0.0020626732148230076, -0.03847605735063553, 0.026474501937627792, -0.011653517372906208, 0.0032548177987337112, -0.08825790882110596, 0.04389755055308342, -0.0071155717596411705, -0.04225046932697296, -0.03585657849907875, 0.002623881446197629, 0.03306182101368904, 0.015325010754168034, -0.017991438508033752, 0.067693792283535, -0.008077145554125309, 0.02565263956785202, -0.017634140327572823, 0.050166644155979156, -0.02699526585638523, -0.053938161581754684, -0.02010691724717617, 0.04616118222475052, -0.008700244128704071, 0.014290155842900276, 0.005277981515973806, -0.05464772880077362, -0.00280792941339314, 0.01095663383603096, 0.04082289710640907, 0.0702834501862526, 0.018753666430711746, -0.04912244528532028, 0.021715538576245308, 0.0007734773680567741, 0.030493129044771194, -0.006585015915334225, -0.002513196552172303, -0.007432759739458561, -0.03914467617869377, -0.017988473176956177, -0.019469542428851128, 0.0034596736077219248, 0.010792913846671581, -0.03729894757270813, 0.016445381566882133, 0.084987111389637, 0.02289433777332306, 0.02964978665113449, -0.0034646852873265743, 0.029886394739151, 0.04149886965751648, 0.02093060500919819, 0.0009228639537468553, 0.03517786040902138, 0.007470330223441124, -0.062346167862415314, 0.010404386557638645, 0.06289847195148468, -0.020896311849355698, 0.02713070809841156, -0.03895740211009979, -0.059802304953336716, 0.04611566290259361, -0.04182953014969826, -0.04624219611287117, 0.045014847069978714, 0.057843007147312164, 0.02999507449567318, 0.03576619550585747, 0.012934335507452488, -0.07211493700742722, 0.053483542054891586, 0.03678399696946144, 0.03685125336050987, 0.013488169759511948, -0.03406792879104614, 0.06841735541820526, 0.021390525624155998, 0.018206972628831863, 0.03859849274158478, -0.046293705701828, -0.06345564872026443, -0.022798560559749603, -0.022089548408985138, 0.07248114049434662, 0.005749442148953676, 0.027741771191358566, 0.06275656819343567, -0.0031185043044388294, 0.054114341735839844, 0.050737038254737854, -0.02929571270942688, 0.022354694083333015, -0.03550872206687927, -0.042962245643138885, 0.051706306636333466, 0.02400483936071396, -0.05517538636922836, -0.03975586220622063, -0.0006239225622266531, -0.01779009960591793, -0.02480425126850605, 0.018450329080224037, -0.013115121982991695, 0.02755788154900074, 0.027830161154270172, 0.04951053112745285, -0.033821944147348404, 0.05289815366268158, -0.020996248349547386, 0.0033797179348766804, -0.006192373111844063, -0.0019648196175694466, -0.0004052701115142554, 0.025554459542036057, 0.13382624089717865, 0.05217543989419937, -0.05051412805914879, -0.05056488513946533, 0.017526498064398766, 0.01295657642185688, -0.04100717604160309, 0.014509188011288643, 0.011460947804152966, 0.010363695211708546, -0.005825512111186981, -0.04882078245282173, -0.03864395618438721, 0.01972615346312523, -0.054206814616918564, -0.0033204464707523584, 0.07488982379436493, -0.04083063080906868, 0.07165347039699554, -0.023047247901558876, 0.0036841777618974447, -0.005403958261013031, -0.032124683260917664, -0.05950673669576645, 0.008993846364319324, 0.007587937172502279, -0.009424462914466858, 0.03463630750775337, -0.014629000797867775, -0.03890858590602875, -0.052096057683229446, -0.06552600115537643, 0.0024273411836475134, 0.06969686597585678, 0.05508280172944069, 0.005011698231101036, 0.062111400067806244, -0.026842568069696426, 0.0423961840569973, -0.00730989221483469, -0.06199990212917328, -0.03223607689142227, -0.05961206927895546, 0.011870134621858597, 0.03953101113438606, 0.023622259497642517, 0.012628639116883278, 0.04010717570781708, 0.007755558006465435, -0.010406196117401123, -0.03871586173772812, 0.036063916981220245, -0.004648178815841675, -0.01798163540661335, -0.03944489359855652, -0.02844017930328846, 0.07043767720460892, -0.030513284727931023, -0.0069648390635848045, 0.01887267269194126, -0.08604968339204788, 0.019411763176321983, -0.0503484383225441, -0.034953512251377106, 0.0173348318785429, 0.00871829129755497, 0.04734550788998604, 0.019822468981146812, -0.004349064081907272, 0.05924993380904198, 0.02340785600244999, 0.01891118474304676, 0.00807526707649231, -0.00014621630543842912, 0.04769869148731232, -0.03914842754602432, 0.009773343801498413, 0.03694666922092438, 0.02070244774222374, -0.0018408331088721752, -0.04285740479826927, 0.03962968289852142, -0.03294653072953224, -0.2801694869995117, 0.034891579300165176, 0.017536353319883347, -0.03398468717932701, 0.022601572796702385, -0.04202303662896156, 0.005921469070017338, -0.03915078938007355, -0.01864825002849102, -0.00023196970869321376, -0.025557197630405426, -0.018525240942835808, -0.04810177907347679, 0.034136753529310226, -0.0175833310931921, -0.00827183946967125, 0.01221547368913889, -0.03003041073679924, 0.005604812875390053, 0.07999396324157715, 0.003317012684419751, -0.050626158714294434, -0.019541215151548386, 0.058579180389642715, 0.020309995859861374, 0.07585849612951279, -0.10646858811378479, 0.032329246401786804, -0.06916720420122147, -0.002440155018121004, 0.003800163744017482, -0.02161475643515587, -0.016844557598233223, 0.009485207498073578, -0.0044234334491193295, -0.017346175387501717, 0.0425652451813221, -0.0017827623523771763, -0.009481173008680344, 0.01560777984559536, -0.031051773577928543, -0.02676764503121376, -0.00921798124909401, 0.028695615008473396, 0.07872922718524933, 0.0030860742554068565, -0.09101521223783493, -0.002338545396924019, -0.017264671623706818, 0.06120651215314865, -0.07231426239013672, -0.03213195502758026, -0.013191547244787216, 0.03740972280502319, -0.02141190879046917, -0.009426337666809559, -0.006874876096844673, -0.012809984385967255, -0.03361756354570389, -0.0530499704182148, -0.011837058700621128, -0.04785527288913727, -0.0032754328567534685, -0.07503760606050491, 0.00041507030255161226, -0.05765637010335922, -0.0660691037774086, -0.01014571264386177, 0.08373090624809265, 0.022085901349782944, -0.02379419282078743, 0.01624440774321556, -0.03896361216902733, -0.09810495376586914, 0.0044099376536905766, -0.020268268883228302, -0.030085941776633263, 0.008845983073115349, 0.028236912563443184, 0.06314757466316223, -0.02089838683605194, -0.05075390264391899, 0.03534415736794472, 0.012770612724125385, 0.016935620456933975, -0.005638305097818375, 0.03648585081100464, 0.00509587163105607, -0.0029076039791107178, 0.010482987388968468, 0.06738080084323883, 0.014666908420622349, -0.008487650193274021, -0.053167231380939484, 0.019043195992708206, 0.03799907863140106, 0.02875577285885811, 0.0002908138558268547, 0.005964911077171564, 0.027509236708283424, 0.022390689700841904, -0.040015365928411484, 0.016537345945835114, -0.027471283450722694, -0.026481041684746742, 0.0003243542741984129, -0.036151010543107986, 0.02321578748524189, 0.028077829629182816, -0.0031590384896844625, -0.03958979249000549, -0.060567524284124374, 0.019424812868237495, -0.014203893020749092, -0.0432000607252121, -0.005359729751944542, -0.0029866336844861507, 0.02020278386771679, 0.011045287363231182, -0.024543415755033493, -0.03405739367008209, 0.016259558498859406, -0.00911631528288126, -0.016288356855511665, -0.024089723825454712, -0.034042466431856155, -0.006568206939846277, -0.042255766689777374, 0.0053225173614919186, 0.01575513929128647, 0.0014795793686062098, 0.018297981470823288, 0.01671462319791317, -0.007760409731417894, 0.02671992965042591, -0.013523553498089314, -0.03850141167640686, -0.02021057903766632, 0.015901288017630577, 0.002906810725107789, 0.0016943418886512518, 0.023349780589342117, 0.004992934875190258, 0.014883223921060562, 0.024663981050252914, 0.01680988073348999, 0.011113221757113934, -0.025469481945037842, 0.012983441352844238, 0.0012712645111605525, 0.034573424607515335, -0.04894029349088669, 0.01351090520620346, -0.028725888580083847, -0.009784119203686714, 0.008729483000934124, 0.05054844170808792, -0.0166286900639534, -0.020305553451180458, -0.01335889007896185, 0.041162196546792984, -0.039765529334545135, -0.025091607123613358, -0.03237729147076607, 0.0048533957451581955, 0.049133773893117905, -0.017182858660817146, 0.021990686655044556, 0.009073350578546524, -0.02521335706114769, 0.02672749012708664, 0.0036264348309487104, -0.04795743525028229, 0.01725807785987854, 0.0071461936458945274, -0.0026887315325438976, 0.015268776565790176, 0.004640161991119385, 0.04570735618472099, 0.005995446350425482, -0.021245596930384636, -0.02053064852952957, 0.004587764851748943, 0.03307591751217842, 0.051930248737335205, 0.035907991230487823, -0.015818417072296143, 0.01787198707461357, -0.023688729852437973, 0.0029349583201110363, -0.033677659928798676, -0.01693861559033394, -0.000012628152944671456, 0.02730855904519558, -0.037106145173311234, -0.045195192098617554, 0.028905771672725677, 0.010913935489952564, 0.011810836382210255, 0.0195060633122921, -0.019931307062506676, 0.00007368078513536602, -0.038194894790649414, 0.03979281336069107, 0.06511042267084122, -0.07553408294916153, -0.003007153980433941, -0.013703849166631699, -0.010234199464321136, 0.0010225172154605389, 0.009757183492183685, -0.02903304249048233, -0.01866786740720272, -0.02537999488413334, 0.02007531374692917, -0.04981011152267456, -0.03644082322716713, -0.02221779339015484, 0.02867802232503891, 0.012849111109972, 0.005966454744338989, -0.013652250170707703, -0.009383591823279858, -0.015907565131783485, -0.016975371167063713, 0.02490508370101452, -0.02317081391811371, 0.03675083443522453, 0.008424113504588604, -0.02779385820031166, 0.01141289621591568, -0.02720339410007, 0.02879991941154003, 0.027064239606261253, -0.015259739011526108, -0.01870815083384514, -0.029723502695560455, 0.015558604151010513, 0.008591357618570328, 0.04378427565097809, 0.008334221318364143, 0.00010731912334449589, -0.08266310393810272, 0.019872644916176796, -0.04127172753214836, 0.020710820332169533, -0.010071595199406147, 0.008969321846961975, 0.02935350127518177, 0.033670905977487564, 0.03626680001616478, 0.022288218140602112, -0.042095597833395004, -0.02371734380722046, 0.05083731189370155, -0.05574853718280792, -0.027740783989429474, -0.05452752858400345, -0.05113787576556206, 0.008778098970651627, 0.01319050695747137, 0.015986334532499313, -0.04742845147848129, 0.04651302471756935, 0.01411474496126175, 0.01657940074801445, 0.0035269614309072495, -0.00036347779678180814, 0.021209878847002983, -0.04994294047355652, -0.0041586351580917835, -0.07904012501239777, -0.033952176570892334, 0.060471102595329285, 0.0092888493090868, 0.014478081837296486, -0.0008750989800319076, -0.02501559443771839, 0.04326373711228371, -0.08891090750694275, -0.006103731691837311, 0.03470485284924507, -0.01634848304092884, -0.03315148502588272, 0.0063391015864908695, -0.052157893776893616, 0.021688269451260567, 0.006978091783821583, -0.05354098603129387, -0.017520250752568245, -0.03341582044959068, 0.05933792144060135, -0.007149779703468084, 0.011788194999098778, 0.016562120988965034, 0.004802900832146406, 0.06768207252025604, 0.03204164281487465, 0.0284540057182312, 0.03730250522494316, -0.015546180307865143, 0.041810642927885056, 0.04494186118245125, 0.03393508121371269, -0.0030083097517490387, 0.01767025515437126, -0.012742527760565281, -0.07690981775522232, 0.05157945677638054, 0.010194883681833744, -0.04087395966053009, -0.05976160615682602, 0.04630376398563385, 0.027034763246774673, -0.023821771144866943, -0.06582445651292801, 0.025745319202542305, -0.077880859375, -0.0074857245199382305, -0.016820818185806274, 0.004193241707980633, -0.03813586011528969, 0.051732487976551056, -0.005694270133972168, 0.0031924862414598465, 0.06112154200673103, -0.0101750073954463, -0.01660936325788498, 0.014443906024098396, 0.09177053719758987, 0.0584508441388607, 0.058451130986213684, 0.012633454985916615, 0.07554329186677933, -0.006057003978639841, -0.04686284437775612, 0.016801850870251656, 0.00036867137532681227, -0.01700088568031788, -0.036023903638124466, 0.03873822093009949, 0.06131808087229729, -0.016897987574338913, 0.07509982585906982, -0.010532878339290619, -0.006516693159937859, 0.013161084614694118, 0.031210478395223618, 0.004405110143125057, 0.033049967139959335, 0.004677277989685535, 0.01603633351624012, -0.015394388698041439, -0.044994715601205826, 0.0030971625819802284, -0.023426350206136703, -0.0060456013306975365, 0.026554126292467117, -0.03299873322248459, 0.039734937250614166, 0.01613249070942402, 0.054564718157052994, 0.09466651827096939, -0.049435533583164215, -0.0006660461076535285, 0.0028637375216931105, 0.02078019641339779, 0.0006906195776537061, 0.007347298786044121, -0.01065318938344717, -0.015574190765619278, -0.024371642619371414, -0.029542580246925354, -0.009052346460521221, -0.018256401643157005, -0.0245676152408123, 0.0009765593567863107, -0.047291409224271774, -0.03551681339740753, 0.008159428834915161, 0.0075438423082232475, -0.019144900143146515, -0.06382600218057632, -0.026808401569724083, -0.04006475582718849, -0.06674354523420334, -0.02867787517607212, 0.013642384670674801, -0.00249157240614295, -0.029211407527327538, -0.03497181087732315, -0.04331491142511368, -0.02519606053829193, 0.040413569658994675, -0.049016471952199936, 0.003837074851617217, 0.005729814060032368, 0.019403556361794472, 0.015628192573785782, 0.011983715929090977, 0.04386112838983536, 0.014013218693435192, 0.0020714369602501392, 0.029010038822889328, -0.012564082629978657, 0.018156422302126884, 0.012393863871693611, 0.03571287915110588, -0.08368603885173798, -0.0027948585338890553, 0.011045215651392937, -0.031936272978782654, -0.06401311606168747, 0.02231576479971409, 0.030509471893310547, 0.003351414343342185, 0.0495036318898201, -0.013044348917901516, -0.007232264615595341, -0.04201143980026245, -0.01672813482582569, -0.034589171409606934, 0.013340980745851994, 0.03278804197907448, -0.004699120298027992, 0.08391610532999039, 0.030253101140260696, -0.013762912712991238, -0.028321659192442894, -0.026081224903464317, -0.003997107967734337, 0.008446846157312393, -0.03581976890563965, -0.042775124311447144, -0.02559943124651909, -0.09797067940235138, -0.019613275304436684, 0.026636667549610138, -0.03793834149837494, -0.03134937584400177, 0.015087577514350414, -0.0032480712980031967, 0.00077289022738114, 0.0317581482231617, -0.0436776764690876, -0.00845584087073803, -0.011695320717990398, -0.0062748948112130165, -0.006489909719675779, 0.004419171251356602, -0.014441968873143196, 0.028052974492311478, 0.005823447834700346, -0.056948255747556686, -0.0262612272053957, -0.0022163819521665573, 0.04578167200088501, 0.017183030024170876, -0.0029403665103018284, -0.006690644659101963 ]
[ -0.08689700067043304, -0.0354921817779541, -0.04438827931880951, -0.012287655845284462, 0.026389285922050476, -0.003085897071287036, 0.002528723329305649, 0.03486036881804466, 0.004998683929443359, -0.037115033715963364, 0.0030420704279094934, -0.06305178254842758, -0.020568883046507835, 0.014567451551556587, 0.08588731288909912, 0.0060629225336015224, -0.012223097495734692, -0.08707797527313232, 0.010582948103547096, 0.013591720722615719, -0.0009523116168566048, -0.020447712391614914, -0.0266680046916008, -0.02738267555832863, 0.015087355859577656, 0.013520977459847927, 0.06190665066242218, -0.029918089509010315, 0.011356181465089321, -0.19003376364707947, 0.007657466921955347, 0.02228674106299877, 0.06673262268304825, -0.01809241808950901, -0.020934050902724266, 0.058676961809396744, 0.016451116651296616, 0.005908680614084005, -0.013581212610006332, 0.02852133847773075, 0.016716737300157547, -0.00045320537174120545, -0.034621644765138626, -0.04997666925191879, 0.06669014692306519, 0.01667977310717106, 0.03113367408514023, -0.03524099662899971, -0.008080431260168552, -0.014319065026938915, -0.04662246257066727, -0.04122823849320412, 0.0020203441381454468, -0.008499332703649998, 0.013498676009476185, 0.03420541062951088, 0.029096266254782677, 0.07128681987524033, 0.02082844078540802, 0.020156683400273323, 0.00447394885122776, 0.012791650369763374, -0.14022324979305267, 0.09949337691068649, 0.011476302519440651, 0.05159607157111168, -0.011950545944273472, -0.025998111814260483, 0.00593901751562953, 0.07760326564311981, 0.03079121932387352, -0.01621026173233986, -0.03549293056130409, 0.038880378007888794, 0.003063593991100788, 0.008400194346904755, 0.01836537756025791, 0.004513143096119165, 0.03375464305281639, -0.04817310720682144, 0.01649998500943184, 0.021097492426633835, -0.008586132898926735, -0.03880692645907402, -0.024251634255051613, 0.025564510375261307, -0.026010146364569664, 0.03640943020582199, -0.017121298238635063, 0.0049172667786479, 0.030795572325587273, 0.006291892845183611, -0.0012824581936001778, 0.00949809979647398, -0.0637393519282341, -0.02757287584245205, 0.01566150411963463, 0.021829193457961082, -0.039702415466308594, 0.4284234642982483, -0.019710078835487366, -0.009597371332347393, 0.08643439412117004, 0.04175056144595146, -0.009144038893282413, -0.017920231446623802, -0.005170713644474745, -0.051692456007003784, 0.016516800969839096, -0.03604249656200409, 0.013154975138604641, -0.009268542751669884, 0.05018533393740654, -0.021820995956659317, -0.001716761733405292, -0.0007754017715342343, 0.055461570620536804, 0.012828157283365726, 0.04208940640091896, -0.02007095143198967, -0.023293111473321915, -0.0033006228040903807, 0.015978820621967316, -0.029867151752114296, -0.01398853212594986, -0.06438973546028137, -0.008661648258566856, 0.05313210189342499, 0.026524977758526802, 0.006403507199138403, 0.05648920312523842, -0.04231937974691391, -0.06825252622365952, 0.010233449749648571, 0.015756556764245033, 0.01042085699737072, 0.04023271054029465, -0.01879003457725048, -0.002571752993389964, 0.041487693786621094, -0.014585191383957863, -0.017208894714713097, 0.059592586010694504, -0.00026524090208113194, -0.06880706548690796, 0.10502878576517105, 0.004888042341917753, -0.04552808031439781, -0.0001478171907365322, -0.04816896840929985, 0.0010543925454840064, 0.02012844756245613, -0.031075773760676384, -0.05322784185409546, 0.031077470630407333, 0.03657669574022293, 0.11374950408935547, -0.0280650295317173, -0.07977369427680969, -0.003901831805706024, -0.04794437065720558, -0.028820089995861053, -0.0631679818034172, 0.03647642582654953, 0.08985099196434021, -0.08198042213916779, 0.00007946413825266063, -0.00481822295114398, 0.03971865400671959, -0.07951916009187698, 0.02296086773276329, 0.02276548556983471, -0.005438586231321096, -0.005682408809661865, 0.03549741953611374, -0.029578903689980507, -0.04084857553243637, -0.0012959123123437166, 0.01751045137643814, 0.015829918906092644, 0.022520393133163452, -0.027826795354485512, -0.02033328451216221, 0.024816054850816727, -0.03477617725729942, -0.06359726190567017, -0.0297175794839859, -0.028516368940472603, -0.026990855112671852, 0.016409117728471756, -0.014665978029370308, 0.00015599092876072973, -0.0875384509563446, 0.05550394207239151, -0.04453149065375328, -0.024355195462703705, 0.024128945544362068, 0.003164476715028286, -0.018951518461108208, -0.019638504832983017, -0.06307612359523773, 0.01881641522049904, -0.028941860422492027, 0.024227794259786606, -0.08268116414546967, 0.058490488678216934, 0.06781335175037384, -0.03939655050635338, 0.10562784224748611, 0.05924820899963379, -0.022243207320570946, -0.04139500483870506, 0.011954528279602528, -0.001614424167200923, 0.011589346453547478, -0.007268841378390789, 0.0010624113492667675, 0.005337712820619345, -0.008307586424052715, 0.021481160074472427, -0.015363520942628384, -0.03694447875022888, -0.06388862431049347, -0.3336925208568573, -0.050179049372673035, -0.0004923281958326697, -0.001191982300952077, 0.05292433127760887, -0.07766053825616837, 0.03329197317361832, -0.01713278330862522, -0.007667438592761755, -0.003087918506935239, 0.05738515406847, 0.008826871402561665, 0.011859734542667866, -0.10726852715015411, 0.0012077906867489219, 0.023541204631328583, 0.018041690811514854, -0.021654481068253517, -0.03426927328109741, 0.009727327153086662, -0.023627854883670807, 0.005909343250095844, 0.0027395603246986866, -0.07617943733930588, -0.01646498404443264, -0.041767753660678864, 0.09932417422533035, 0.02248506434261799, 0.11009469628334045, -0.023247048258781433, 0.022403815761208534, -0.011943927966058254, 0.024722782894968987, -0.08439021557569504, 0.014577171765267849, -0.026360325515270233, 0.03069232404232025, -0.007886678911745548, 0.01566213183104992, -0.05245775729417801, -0.056623607873916626, 0.01869269832968712, -0.05588945746421814, -0.027748985216021538, -0.08751169592142105, 0.04922468587756157, -0.02748570777475834, -0.01810864359140396, -0.031123949214816093, 0.0576448030769825, 0.031917210668325424, -0.0012366606388241053, 0.008165290579199791, -0.0028789108619093895, -0.021365271881222725, -0.014687905088067055, -0.09998404234647751, 0.014182526618242264, -0.017258504405617714, 0.011877981014549732, 0.023773804306983948, 0.04533791542053223, 0.02431894838809967, -0.10661518573760986, 0.0012132716365158558, 0.023729771375656128, -0.01920362189412117, 0.006563423201441765, 0.0435648187994957, -0.0007543214596807957, -0.030673542991280556, 0.11426149308681488, 0.021310999989509583, -0.0007694968371652067, 0.03387363255023956, 0.043067239224910736, -0.0030991530511528254, 0.00740263843908906, 0.009900183416903019, 0.032918743789196014, 0.03594294562935829, -0.040912095457315445, 0.03411231189966202, -0.012948617339134216, -0.007057425566017628, 0.009331833571195602, 0.003094065235927701, -0.04735640063881874, 0.04923931509256363, 0.04368529096245766, -0.023135466501116753, 0.02033437415957451, -0.014831580221652985, -0.06499979645013809, 0.0915815681219101, 0.005121326074004173, -0.22576552629470825, 0.04842951521277428, 0.08654765784740448, 0.08422313630580902, 0.012801464647054672, 0.030859578400850296, 0.026435764506459236, -0.0663466602563858, 0.011050407774746418, -0.008176220580935478, 0.022082732990384102, 0.0027860996779054403, 0.0167342871427536, 0.013441485352814198, 0.001788604655303061, -0.0017982105491682887, 0.021728165447711945, -0.012512952089309692, 0.01616995967924595, 0.009772039949893951, 0.01818186603486538, 0.022197870537638664, 0.14629994332790375, 0.00557298818603158, -0.000013347987078304868, -0.014231431297957897, -0.01500795315951109, 0.0036702051293104887, 0.067400261759758, -0.012288248166441917, 0.005841321311891079, 0.01350838877260685, 0.011918507516384125, 0.00933124404400587, 0.028404168784618378, -0.035196591168642044, -0.044541940093040466, 0.018479211255908012, 0.03873136639595032, -0.013537867926061153, 0.044241830706596375, 0.0013964858371764421, -0.055605869740247726, 0.017513250932097435, 0.060672253370285034, 0.022760868072509766, 0.049232449382543564, -0.05369701236486435, -0.06858550012111664, -0.010205384343862534, -0.01218322291970253, -0.036962419748306274, 0.020607128739356995, 0.014749694615602493, 0.003872663015499711, 0.07169687002897263, 0.02315858192741871, -0.04999560862779617, -0.01614890620112419, -0.004793886095285416, 0.0029740373138338327, -0.053172819316387177, 0.11091593652963638, 0.022561026737093925, 0.005711507983505726 ]
[ -0.03860770910978317, -0.0275573693215847, -0.017543788999319077, -0.03859693557024002, -0.03313245624303818, 0.02821558155119419, 0.010709513910114765, 0.01379266008734703, -0.017869137227535248, -0.025306588038802147, 0.009991400875151157, 0.055601611733436584, 0.0191018208861351, -0.0020367896649986506, -0.03596176207065582, -0.030702296644449234, -0.014301016926765442, 0.017403731122612953, 0.02083057351410389, 0.00995451956987381, -0.020223762840032578, 0.008547092787921429, 0.021554460749030113, -0.030163977295160294, -0.00012876797700300813, 0.023225292563438416, 0.004159938544034958, -0.025463856756687164, 0.03671657666563988, -0.11373265087604523, -0.04646884649991989, -0.026232236996293068, -0.021439433097839355, 0.03049616329371929, -0.042834725230932236, -0.027703288942575455, -0.014425409026443958, 0.024876724928617477, -0.025227151811122894, 0.009945823810994625, -0.007179091684520245, -0.010912715457379818, 0.03766656666994095, 0.010147694498300552, 0.03391588106751442, 0.023726049810647964, -0.0032484866678714752, -0.026988327503204346, -0.0097295381128788, -0.03164638578891754, -0.029468240216374397, -0.009202677756547928, 0.00015270036237780005, 0.03550245240330696, -0.01135367713868618, -0.007729747798293829, -0.024858854711055756, 0.016102714464068413, -0.008477428928017616, 0.011416709050536156, 0.007567625492811203, 0.0005575798568315804, -0.02633276768028736, -0.031504057347774506, 0.0018248631386086345, -0.02066790871322155, 0.005376643501222134, -0.0008525107987225056, 0.014145918190479279, -0.006363612599670887, 0.042851004749536514, 0.044033244252204895, -0.031131822615861893, -0.023428743705153465, 0.0087734404951334, -0.0021074910182505846, 0.010030792094767094, -0.008962815627455711, 0.020780140534043312, -0.001298433868214488, -0.013323911465704441, 0.02528388798236847, 0.05403079092502594, -0.007162814028561115, 0.022781560197472572, -0.029583999887108803, -0.013520891778171062, 0.015438400208950043, -0.030941886827349663, -0.0019429739331826568, -0.042811453342437744, 0.012205115519464016, -0.04768318682909012, 0.0007718411507084966, -0.10343138873577118, 0.012120856903493404, -0.006519217509776354, 0.00846801046282053, -0.013964020647108555, 0.8444039821624756, -0.01489245519042015, 0.01920447126030922, 0.013015510514378548, 0.0040106140077114105, 0.03336126729846001, 0.05268934369087219, -0.008940567262470722, -0.0077832527458667755, 0.05459873005747795, -0.049846768379211426, 0.007608828134834766, 0.004203262738883495, 0.0028971212450414896, 0.027511032298207283, 0.02335560880601406, -0.027007047086954117, 0.033757537603378296, 0.04575663432478905, 0.023823285475373268, 0.024186817929148674, -0.029435228556394577, -0.004230455495417118, -0.03196065127849579, -0.003501080209389329, -0.002907924586907029, -0.13761574029922485, -0.042928297072649, -8.051648472977078e-33, 0.010023724287748337, 0.0033816660288721323, 0.01852082461118698, -0.003364254254847765, -0.0048177349381148815, -0.01960417442023754, 0.026519587263464928, 0.011831325478851795, -0.012272698804736137, -0.020459167659282684, -0.02564707212150097, -0.00241345283575356, 0.009977851063013077, -0.009075743146240711, 0.04074936732649803, -0.018617553636431694, -0.008718926459550858, -0.0011564772576093674, 0.0016828883672133088, -0.0008688773377798498, 0.03596661239862442, -0.0018280831864103675, 0.0037693309132009745, 0.001102045993320644, 0.012305285781621933, 0.012744864448904991, -0.0011295843869447708, 0.0036590746603906155, -0.002518713939934969, -0.049665216356515884, -0.015954041853547096, 0.020853037014603615, -0.0017897839425131679, -0.04644502326846123, 0.008988786488771439, -0.03311920166015625, 0.016573850065469742, 0.016335153952240944, 0.0014805365353822708, -0.07034144550561905, -0.034417953342199326, -0.014942803420126438, -0.023265143856406212, -0.0012867265613749623, -0.02110612392425537, -0.029057295992970467, 0.023463908582925797, 0.037906888872385025, 0.020250434055924416, -0.020427465438842773, -0.011388774029910564, -0.02406144142150879, -0.0006945644272491336, -0.023738127201795578, -0.0073476494289934635, 0.01630222797393799, 0.016259415075182915, 0.02701488696038723, 0.026815658435225487, 0.02454044669866562, 0.006750633008778095, -0.004021255765110254, -0.024832982569932938, 0.007124146446585655, -0.018258536234498024, -0.029348213225603104, 0.02677902951836586, -0.012745464220643044, 0.014367405325174332, 0.0007471892167814076, -0.03387918323278427, 0.008296407759189606, -0.01778986118733883, -0.01881314255297184, 0.011261679232120514, 0.00515903253108263, 0.00842593889683485, -0.0006102146580815315, -0.023250557482242584, 0.03714311867952347, 0.02548554725944996, 0.001295821857638657, 0.017473585903644562, -0.01401817798614502, 0.012551371939480305, 0.026257378980517387, 0.03975681588053703, -0.03188926354050636, 0.021362880244851112, 0.02409396320581436, 0.06534060835838318, 0.047255657613277435, 0.015346124768257141, -0.023990677669644356, -0.02413247525691986, 8.036321496010294e-33, -0.024190541356801987, 0.01585327833890915, -0.04725987836718559, 0.003915457986295223, -0.000926899432670325, 0.005566080566495657, 0.015674876049160957, 0.020234765484929085, -0.05652958154678345, 0.029251154512166977, 0.0014859708026051521, -0.01611662283539772, 0.008086765184998512, -0.014291353523731232, 0.040393535047769547, -0.028638577088713646, -0.04138590767979622, 0.025952793657779694, 0.04373094439506531, -0.002879976062104106, 0.02964785136282444, 0.023252513259649277, -0.011925382539629936, -0.003535929601639509, 0.020834065973758698, 0.04329684004187584, -0.013324404135346413, 0.04845097288489342, -0.006486550439149141, 0.03376695513725281, -0.011298407800495625, -0.01948150061070919, -0.005049994681030512, 0.011612748727202415, -0.01096347812563181, 0.02708824910223484, 0.018888503313064575, -0.04588375240564346, 0.019269781187176704, 0.015649577602744102, 0.013895642943680286, -0.010832719504833221, -0.031958065927028656, 0.014297650195658207, 0.005979750771075487, -0.011879215948283672, 0.013296990655362606, 0.016462579369544983, -0.015483343042433262, -0.002560516819357872, 0.007434598635882139, 0.013553217053413391, -0.013516277074813843, 0.010801488533616066, -0.0067594717256724834, 0.01250055804848671, -0.03370688855648041, 0.014553840272128582, 0.0014845026889815927, 0.019806742668151855, -0.02167355641722679, -0.05383595451712608, -0.026369094848632812, 0.005641786381602287, -0.028458204120397568, 0.0011503167916089296, 0.0032570466864854097, 0.015052284114062786, 0.009914499707520008, -0.020511124283075333, -0.058293476700782776, 0.05089586600661278, 0.03986693546175957, 0.036615367978811264, 0.0037268740125000477, -0.046015456318855286, -0.043737538158893585, 0.027203496545553207, -0.028498277068138123, 0.027420883998274803, 0.037928346544504166, 0.010217821225523949, -0.0225466750562191, 0.014641144312918186, 0.03606312721967697, 0.019698970019817352, 0.025150058791041374, 0.035049375146627426, -0.028714008629322052, -0.05030272901058197, 0.0020748975221067667, 0.04457320645451546, 0.01443640049546957, 0.024043302983045578, 0.001296692411415279, -1.3340665461214485e-8, 0.0051181078888475895, 0.02294856123626232, 0.0060290321707725525, -0.04270524904131889, 0.045375075191259384, 0.019840029999613762, -0.0036894436925649643, 0.005147210787981749, -0.0530780628323555, 0.0038900957442820072, 0.06712017953395844, -0.010562027804553509, -0.01729585975408554, -0.008505571633577347, 0.01202370971441269, -0.014910159632563591, -0.0008214720292016864, -0.024637050926685333, 0.034141410142183304, 0.040352895855903625, 0.03360501304268837, 0.0665745958685875, -0.0017839162610471249, -0.010952677577733994, 0.013805964961647987, -0.04285337030887604, -0.004317521117627621, -0.0322025790810585, -0.02579992637038231, -0.023320304229855537, -0.033371713012456894, -0.03519872575998306, 0.004796224646270275, 0.011415433138608932, -0.018759455531835556, -0.03260922059416771, 0.0091429203748703, -0.0006908669602125883, -0.011153141967952251, -0.004354560747742653, -0.017246508970856667, -0.005350963212549686, -0.05019509047269821, -0.025938333943486214, -0.025910302996635437, -0.019523732364177704, 0.015643756836652756, -0.023367920890450478, -0.0075403316877782345, 0.00033352483296766877, 0.009827452711760998, 0.020408503711223602, 0.038696613162755966, 0.03559572622179985, 0.03619757294654846, -0.03765719383955002, 0.009171194396913052, -0.05083954334259033, -0.04109516367316246, 0.048552267253398895, 0.005538914818316698, 0.05919536203145981, -0.03925943747162819, -0.016875842586159706 ]
learning-switching-between-theory-and-practice
https://markhneedham.com/blog/2012/11/19/learning-switching-between-theory-and-practice
false
2012-11-26 04:28:22
IntelliJ Debug Mode: Viewing beyond 100 frames/items in an array
[ "software-development", "intellij" ]
[ "Software Development" ]
In my continued attempts at the link:[Kaggle Digit Recognizer] problem I've been playing around with the http://www.heatonresearch.com/wiki/Encog_Java_Examples[encog] library to try and build a neural networks solution to the problem. Unfortunately it's not quite working at the moment so I wanted to debug the code and see whether the input parameters were being correctly translated from the CSV file. Each input is an array containing 784 values but by default IntelliJ restricts you to seeing 100 elements which wasn't helpful in my case since the early values tend to all be 0 and it's not until you get half way through that you see different values: image::{{<siteurl>}}/uploads/2012/11/100limit.jpg[100limit,171] It's http://blogs.jetbrains.com/idea/2011/09/debugger-working-with-sub-ranges-for-arrays-and-lists/[actually relatively easy] to see the other values by right clicking on the array in question and clicking 'Adjust Range': image::{{<siteurl>}}/uploads/2012/11/Screen-shot-2012-11-25-at-22.59.42.jpeg[Screen shot 2012 11 25 at 22 59 42,307] Then I type in the end index of the array and we're done! image::{{<siteurl>}}/uploads/2012/11/Screen-shot-2012-11-25-at-23.00.44.jpeg[Screen shot 2012 11 25 at 23 00 44,388]
null
null
[ -0.03081499971449375, -0.016681553795933723, -0.02656514197587967, 0.027293704450130463, 0.07496817409992218, 0.042996883392333984, 0.03473281115293503, 0.03263505920767784, 0.007693380583077669, -0.022798961028456688, -0.009865243919193745, -0.011609316803514957, -0.05666698142886162, 0.009834980592131615, -0.022590216249227524, 0.08401242643594742, 0.06837553530931473, 0.020449897274374962, 0.04050976410508156, 0.00879068672657013, 0.03139186650514603, 0.014333287253975868, 0.014102978631854057, 0.017130190506577492, 0.008074263110756874, 0.015895899385213852, -0.0063119386322796345, 0.0074577550403773785, -0.05987240746617317, -0.0037576023023575544, 0.004375364165753126, 0.010855169966816902, -0.002191005041822791, -0.0025568336714059114, 0.029856646433472633, -0.0019075460731983185, -0.04630844295024872, 0.023162920027971268, 0.018350474536418915, 0.030154485255479813, -0.04337665066123009, 0.000038532205508090556, -0.02616795152425766, 0.029885588213801384, -0.04171871021389961, 0.012674381956458092, -0.05226719006896019, -0.013718628324568272, 0.012267056852579117, 0.011244471184909344, -0.047903724014759064, 0.029891282320022583, -0.020541492849588394, -0.010032659396529198, 0.03213423490524292, 0.0661398395895958, 0.024689992889761925, -0.05766407027840614, 0.03348156809806824, -0.035475317388772964, 0.010341680608689785, -0.013779793865978718, -0.0015798016684129834, 0.018039578571915627, 0.012284408323466778, -0.025707043707370758, -0.00044439651537686586, 0.06250477582216263, -0.027508622035384178, -0.026546461507678032, -0.01403174176812172, 0.040020909160375595, -0.004355443641543388, -0.01648903451859951, 0.010589879006147385, -0.04151006042957306, -0.04109374061226845, 0.04029176011681557, 0.020179767161607742, 0.03992794081568718, -0.030189039185643196, 0.0068675498478114605, 0.04954823479056358, 0.011745847761631012, 0.022140763700008392, -0.03009086847305298, -0.05051227658987045, -0.03053715080022812, -0.052642758935689926, 0.024231722578406334, 0.012091916985809803, -0.05843617767095566, 0.013021411374211311, 0.015347300097346306, -0.0019969260320067406, -0.000566696806345135, -0.024398278445005417, -0.0025886178482323885, -0.011085832491517067, 0.020306671038269997, -0.02742706798017025, 0.012109304778277874, 0.03693052753806114, 0.031254008412361145, -0.07003461569547653, -0.03143015131354332, 0.0045798891223967075, -0.02320190519094467, 0.01824025996029377, 0.015467764809727669, -0.038519468158483505, -0.00014739218750037253, -0.03542023524641991, -0.005307518411427736, -0.0957525297999382, 0.05531175434589386, -0.00021696167823392898, -0.02941099926829338, -0.011714208871126175, 0.03435620665550232, 0.04353199899196625, 0.042439863085746765, -0.0065987869165837765, 0.0842694491147995, -0.016701217740774155, 0.022812634706497192, 0.021774832159280777, 0.0494907908141613, -0.017230790108442307, -0.06925038993358612, -0.029550576582551003, 0.04270080476999283, -0.004245245363563299, -0.006069595459848642, 0.01664261519908905, -0.020460063591599464, -0.026086507365107536, -0.004462467972189188, 0.04357742518186569, 0.02487904578447342, 0.01635907031595707, -0.07263260334730148, 0.002145061967894435, -0.0332227423787117, 0.02834642119705677, 0.014652554877102375, -0.019216733053326607, -0.053095486015081406, -0.01867564208805561, 0.011125775054097176, -0.006817403249442577, -0.005292993038892746, 0.07318753004074097, -0.026609115302562714, 0.007692191284149885, 0.08674178272485733, 0.023142332211136818, 0.012289834208786488, -0.009912845678627491, 0.007232463452965021, 0.045500628650188446, 0.03740405663847923, -0.006396547891199589, 0.04488039016723633, 0.007807594258338213, -0.020368067547678947, -0.0004634698561858386, 0.06023349240422249, -0.04145132005214691, 0.001865774393081665, -0.048777129501104355, -0.041064005345106125, 0.05693674832582474, -0.026826977729797363, -0.04106604680418968, -0.006669235415756702, 0.07363684475421906, 0.03416357934474945, 0.0483136922121048, 0.004789001774042845, -0.07277879863977432, 0.017703350633382797, -0.006143068429082632, 0.025866499170660973, 0.02270040661096573, -0.01829712465405464, 0.0767156109213829, 0.0119563527405262, 0.00048376640188507736, 0.012209839187562466, -0.05672523379325867, -0.07001756131649017, -0.016740038990974426, -0.008982566185295582, 0.04811258986592293, -0.05241212621331215, 0.002843501977622509, 0.053626999258995056, 0.04282408207654953, 0.031137969344854355, 0.028851641342043877, -0.029983535408973694, 0.04852771386504173, -0.033829256892204285, -0.05381844937801361, 0.03145240247249603, 0.028057575225830078, -0.03130600228905678, -0.025223616510629654, 0.02627994678914547, -0.03137953206896782, 0.004686835687607527, 0.012549176812171936, -0.006830473430454731, 0.022207407280802727, 0.03223439306020737, 0.03273923695087433, -0.04077504202723503, 0.043997857719659805, -0.06457056850194931, 0.022407351061701775, 0.020997269079089165, -0.008540315553545952, -0.00521969236433506, -0.014795242808759212, 0.14695344865322113, 0.052549395710229874, -0.02591758966445923, -0.04832075163722038, 0.004513062536716461, 0.0030707367695868015, -0.04133465141057968, 0.037490520626306534, 0.00392517214640975, -0.008519738912582397, -0.019570045173168182, -0.037794217467308044, -0.034791361540555954, 0.0365431122481823, -0.04627996310591698, -0.007051907014101744, 0.08494505286216736, -0.02553335763514042, 0.033073581755161285, -0.0076018706895411015, -0.016041208058595657, 0.025579679757356644, -0.013323678635060787, -0.06150401383638382, -0.00935511477291584, 0.02156819961965084, 0.010174957104027271, 0.02979377843439579, -0.041348956525325775, -0.04041817784309387, -0.015127475373446941, -0.03837985545396805, -0.026040220633149147, 0.05518407002091408, 0.04490232840180397, 0.03481001779437065, 0.03686489164829254, -0.002321826061233878, 0.0075636920519173145, 0.0036984910257160664, -0.03081747330725193, -0.03308958187699318, -0.020271748304367065, -0.007160170469433069, 0.02623412385582924, 0.03192572295665741, 0.04293772205710411, 0.008204487152397633, 0.005721129942685366, 0.01369540486484766, -0.033745504915714264, 0.021009279415011406, -0.006485337857156992, -0.020850885659456253, -0.01126012858003378, -0.012411559000611305, 0.05174641311168671, -0.03691279515624046, -0.019119903445243835, 0.009266027249395847, -0.06795338541269302, 0.016339793801307678, -0.07257316261529922, -0.0664123147726059, 0.011765635572373867, 0.03623297065496445, 0.0399259552359581, -0.015115424990653992, 0.005414372310042381, 0.0783303827047348, -0.015319805592298508, 0.01788957044482231, 0.03820966184139252, 0.016879700124263763, 0.021653493866324425, -0.008890644647181034, 0.010694371536374092, 0.05189326032996178, -0.01641838438808918, -0.046323467046022415, -0.062247976660728455, 0.004559490364044905, -0.04197189211845398, -0.2852672040462494, 0.05917214974761009, -0.027079731225967407, -0.04039385914802551, 0.013048630207777023, -0.03885376453399658, 0.022988971322774887, -0.03733670338988304, -0.006546247284859419, 0.010124759748578072, 0.001239171833731234, -0.07132487744092941, -0.032749906182289124, 0.0525268130004406, -0.0026866376865655184, -0.007936496287584305, -0.0012779660755768418, -0.019235318526625633, 0.0014199141878634691, 0.03210488334298134, 0.013616634532809258, -0.050514306873083115, 0.004838367458432913, 0.10350102931261063, 0.010861597023904324, 0.0509953647851944, -0.07999780029058456, 0.009423980489373207, -0.024642769247293472, 0.003354700282216072, 0.02038349024951458, -0.03114035539329052, -0.022201403975486755, 0.005102089606225491, -0.03573077172040939, -0.0145673006772995, 0.02026405930519104, -0.019135260954499245, -0.007470113690942526, 0.011109826155006886, -0.03215160220861435, -0.027308955788612366, 0.005420413799583912, -0.010798649862408638, 0.04432922974228859, -0.024506017565727234, -0.05882211774587631, -0.004996208008378744, -0.03399175405502319, 0.06085575744509697, -0.03127816319465637, -0.016584761440753937, -0.015618921257555485, 0.06546348333358765, -0.023175541311502457, -0.01879218965768814, 0.006246947683393955, 0.00588844483718276, -0.038265909999608994, -0.015496307983994484, 0.009350352920591831, -0.04679502174258232, -0.026861120015382767, -0.06827128678560257, -0.02473975531756878, -0.059584181755781174, -0.057231537997722626, -0.01697135902941227, 0.060930028557777405, 0.0205354206264019, -0.046105630695819855, 0.010630616918206215, -0.014874495565891266, -0.11888272315263748, 0.01030511874705553, -0.03709009662270546, -0.01887473650276661, 0.025633787736296654, -0.00923689641058445, 0.06473981589078903, -0.04400172829627991, -0.037680190056562424, 0.04921744391322136, 0.015296011231839657, 0.014937547035515308, -0.04800628498196602, 0.004778767470270395, -0.013798896223306656, 0.021892251446843147, -0.013304559513926506, 0.08594384789466858, -0.026537105441093445, 0.0027888009790331125, -0.05675676837563515, 0.014551619067788124, 0.04137500375509262, 0.019580988213419914, 0.008761052042245865, 0.009008057415485382, 0.05349433049559593, 0.04177669808268547, -0.06091522425413132, -0.009158439002931118, -0.04579535871744156, -0.029414968565106392, -0.0019308339105919003, -0.024392038583755493, 0.033878304064273834, 0.027413547039031982, -0.012936375103890896, -0.03216419368982315, -0.059436552226543427, 0.01786222867667675, -0.03745543584227562, -0.03278818726539612, 0.006044906098395586, 0.02225988171994686, 0.02425578609108925, 0.02534332498908043, -0.03734057769179344, -0.031531818211078644, 0.017467904835939407, 0.0037914717104285955, -0.017164956778287888, -0.010278522968292236, -0.020004188641905785, -0.02353084832429886, -0.00020580402633640915, 0.006047378294169903, -0.003842762438580394, -0.015525810420513153, 0.04912238568067551, 0.01020383182913065, 0.007045022211968899, 0.01106702908873558, -0.021959776058793068, -0.00004896324026049115, -0.01895199902355671, 0.011346785351634026, 0.008526487275958061, 0.0032124784775078297, 0.00344729027710855, 0.006562454625964165, 0.029356829822063446, 0.01615055277943611, 0.010355695150792599, 0.06366300582885742, -0.013496399857103825, -0.014547675848007202, -0.00413301307708025, 0.019281698390841484, -0.05170458182692528, 0.021714527159929276, -0.022922756150364876, -0.06413622200489044, 0.0075386338867247105, 0.031131232157349586, 0.012140440754592419, -0.025304758921265602, -0.03917388990521431, 0.06057010218501091, -0.017541490495204926, -0.010965750552713871, -0.0038794265128672123, -0.022847549989819527, 0.05005701258778572, 0.014670570380985737, 0.01952197775244713, -0.012576106935739517, 0.015201275236904621, -0.0003254760813433677, -0.0019202586263418198, 0.005019649863243103, 0.015372897498309612, 0.00581197626888752, -0.007950033992528915, 0.024813665077090263, 0.006222305353730917, 0.04367317631840706, 0.021935511380434036, -0.0038897660560905933, -0.008536766283214092, 0.007938440889120102, 0.03703264519572258, 0.05216160789132118, 0.016805488616228104, -0.039233505725860596, 0.0010918133193627, -0.016628891229629517, -0.033695582300424576, -0.04390277713537216, -0.02990872785449028, -0.00907829124480486, 0.004090156406164169, -0.018425574526190758, -0.05725327879190445, 0.03142276033759117, 0.03072386234998703, 0.0022051294799894094, 0.005587069317698479, -0.013034728355705738, 0.009786715731024742, -0.04206519573926926, 0.02306184731423855, 0.04646747559309006, -0.06990274041891098, 0.014271770603954792, -0.020151488482952118, 0.0027528570499271154, 0.010013545863330364, 0.0007609638851135969, -0.0858258605003357, -0.01712079346179962, -0.0340651236474514, 0.03746894747018814, -0.03884647786617279, -0.04354934021830559, -0.031987667083740234, 0.029901131987571716, -0.023810554295778275, -0.020200785249471664, 0.0038688264321535826, 0.017894327640533447, -0.004600679036229849, -0.028003374114632607, -0.0018429425545036793, -0.020380010828375816, 0.020966066047549248, 0.03297613188624382, -0.015641001984477043, 0.028731346130371094, -0.02016591839492321, 0.048844922333955765, 0.05963551998138428, -0.004071662202477455, -0.018285753205418587, -0.029654743149876595, 0.01843334175646305, 0.014738716185092926, 0.055041518062353134, 0.008729019202291965, -0.02596532367169857, -0.03767888993024826, 0.04766598343849182, -0.004582664929330349, 0.024927331134676933, -0.022165531292557716, -0.039846938103437424, 0.015158580616116524, 0.056035757064819336, 0.02044072560966015, 0.006168215069919825, -0.014160330407321453, -0.023023921996355057, 0.04397764429450035, -0.04462716728448868, 0.011773589998483658, -0.0010300062131136656, -0.05703677982091904, 0.017280658707022667, 0.026593312621116638, 0.018179021775722504, -0.0406692735850811, 0.05637963116168976, 0.03405577689409256, 0.024061456322669983, -0.0007444671355187893, -0.02343810349702835, 0.030711397528648376, -0.017633138224482536, -0.009811833500862122, -0.105034239590168, -0.01989465393126011, 0.03593058884143829, 0.01288659032434225, -0.007770251482725143, -0.009595702402293682, -0.020901212468743324, 0.026608694344758987, -0.09789540618658066, -0.027201445773243904, 0.04387599229812622, -0.02836310677230358, -0.020050598308444023, 0.015001579187810421, -0.03660023957490921, 0.0072883618995547295, 0.014757070690393448, -0.07134362310171127, -0.03207031264901161, -0.02031838893890381, 0.06776570528745651, -0.0012844001175835729, 0.016002655029296875, 0.000053295825637178496, 0.010966106317937374, 0.07760286331176758, 0.021873651072382927, 0.04946628585457802, 0.021059812977910042, -0.0042244913056492805, 0.05183450132608414, 0.031132718548178673, 0.003514410462230444, -0.040071647614240646, 0.016193652525544167, 0.004587552975863218, -0.06180648133158684, 0.020702097564935684, 0.03395324945449829, -0.03788264840841293, -0.06365938484668732, 0.08470343053340912, 0.02699338085949421, -0.020707683637738228, -0.04472183436155319, 0.03157566487789154, -0.04294303432106972, -0.01677938550710678, -0.025260699912905693, -0.014663178473711014, -0.040400680154561996, 0.06454497575759888, -0.0006593211437575519, -0.02210633084177971, 0.05684325844049454, 0.00583683792501688, -0.003211118746548891, 0.003486305009573698, 0.09316438436508179, 0.06183478981256485, 0.03173493593931198, 0.04073674604296684, 0.0650695338845253, -0.0248144268989563, -0.039294466376304626, 0.0017013306496664882, -0.011090213432908058, 0.004979029763489962, -0.027579717338085175, -0.030048001557588577, 0.05921837314963341, -0.005110594909638166, 0.08012491464614868, -0.038662269711494446, 0.007264075335115194, 0.009042201563715935, 0.016188517212867737, 0.02916950173676014, 0.04000646248459816, -0.0044900886714458466, 0.012191812507808208, -0.03715982288122177, -0.003658471629023552, 0.016545092687010765, -0.007484886329621077, -0.03308327496051788, 0.04437871277332306, -0.0042159040458500385, 0.027017660439014435, 0.010074400343000889, 0.04649756848812103, 0.09009197354316711, -0.038770098239183426, -0.035197239369153976, 0.0043872324749827385, 0.02983831614255905, 0.007685414515435696, 0.010447409935295582, -0.007747708819806576, -0.025573275983333588, -0.00988676305860281, -0.03167852759361267, -0.015353517606854439, -0.044435519725084305, -0.03419427573680878, 0.007262588478624821, -0.01955733448266983, 0.018360204994678497, 0.04020961374044418, 0.016939569264650345, -0.03515692055225372, -0.043384529650211334, -0.04704659432172775, -0.05569147691130638, -0.05018704757094383, -0.010551617480814457, 0.022074492648243904, 0.002696611452847719, -0.0025958495680242777, -0.024099044501781464, -0.02332368493080139, 0.0010863690404221416, 0.03290271386504173, -0.06851759552955627, -0.025784596800804138, 0.02509131282567978, 0.02453707344830036, 0.03034338168799877, 0.04214954376220703, 0.05581953749060631, -0.01621980406343937, -0.007676261011511087, -0.007317753974348307, 0.018790721893310547, 0.04088127240538597, 0.02269899845123291, 0.013033018447458744, -0.07317565381526947, -0.003334755077958107, 0.019187213853001595, -0.02898082137107849, -0.056487612426280975, 0.028698928654193878, 0.018340809270739555, -0.001968224300071597, 0.0749715268611908, 0.0048521519638597965, -0.014380959793925285, -0.06149439886212349, -0.020543359220027924, -0.033918775618076324, -0.009351625107228756, 0.040697697550058365, -0.013254254125058651, 0.0930100828409195, 0.0479288324713707, -0.0006631428259424865, -0.014948327094316483, -0.023475851863622665, 0.0031124535016715527, 0.03672447055578232, -0.0350646935403347, -0.022763067856431007, -0.0939946100115776, -0.07554485648870468, -0.000035394183214521036, 0.021022893488407135, -0.010499509051442146, -0.02961704321205616, 0.003391812089830637, 0.04131954163312912, -0.04515537619590759, 0.007041551638394594, -0.028331132605671883, 0.0030448180623352528, -0.026119405403733253, -0.03154776990413666, 0.0009888135828077793, 0.03526411950588226, -0.010052536614239216, 0.024520687758922577, 0.021128805354237556, -0.050624553114175797, 0.004846475552767515, -0.013142338953912258, 0.020177623257040977, 0.034000009298324585, -0.009213054552674294, -0.020476605743169785 ]
[ -0.08897558599710464, -0.042521823197603226, -0.043301526457071304, -0.02715538628399372, 0.05579066649079323, -0.013452183455228806, 0.009045985527336597, 0.032755374908447266, -0.004517168737947941, -0.014439866878092289, 0.04603690654039383, -0.05833858251571655, -0.011727781966328621, 0.013252628035843372, 0.07069302350282669, 0.0098934480920434, -0.006783059798181057, -0.06587710976600647, -0.0198968593031168, 0.047796912491321564, 0.02146178111433983, -0.023543817922472954, -0.03320811316370964, -0.060806237161159515, -0.007579623721539974, 0.015011879615485668, 0.054095011204481125, -0.05933108925819397, 0.004298221319913864, -0.2403241991996765, 0.010575054213404655, -0.01754150539636612, 0.06399610638618469, -0.042189717292785645, -0.012265379540622234, 0.0068421815522015095, 0.00011482924310257658, 0.017605111002922058, -0.005894657224416733, 0.022764036431908607, 0.014658249914646149, 0.011471872217953205, -0.03918296843767166, -0.066144198179245, 0.028571903705596924, -0.0006095239077694714, -0.014541435986757278, -0.020952802151441574, 0.0027844097930938005, 0.007798669394105673, -0.06648293882608414, -0.0037454385310411453, 0.003769062226638198, -0.0015486784977838397, 0.0035175580997020006, 0.018428437411785126, 0.0434078574180603, 0.06785647571086884, 0.03726556524634361, 0.004357011057436466, 0.009618978016078472, -0.007508550304919481, -0.1444656103849411, 0.0895044356584549, 0.014075910672545433, 0.03469088673591614, -0.0028133955784142017, -0.05769344046711922, -0.027636714279651642, 0.05675899609923363, 0.04257258400321007, -0.01022646389901638, -0.028473857790231705, 0.04219890758395195, 0.01106252707540989, -0.026421619579195976, -0.009616963565349579, 0.026421844959259033, 0.02706628106534481, -0.017817610874772072, -0.04681766778230667, -0.014742839150130749, -0.001578155206516385, -0.03852096199989319, -0.02548237517476082, 0.01314062625169754, -0.01966742053627968, 0.02667425200343132, 0.0013098043855279684, 0.011280381120741367, 0.027260059490799904, 0.019324028864502907, -0.010377297177910805, 0.00452674413099885, -0.08960331976413727, -0.007336783222854137, 0.013476262800395489, 0.023893583565950394, -0.02703278884291649, 0.4287148714065552, -0.0012687142007052898, -0.028392836451530457, 0.05196034163236618, 0.013350732624530792, -0.0032667634077370167, -0.014516799710690975, -0.022057440131902695, -0.03959772363305092, 0.0053514945320785046, -0.03292626515030861, 0.007528908550739288, -0.02909672260284424, 0.06197274476289749, -0.027001425623893738, -0.0027141801547259092, 0.018203170970082283, 0.03879951313138008, 0.010637201368808746, 0.02906769886612892, 0.004347046837210655, -0.013698660768568516, 0.003950655460357666, 0.018743818625807762, 0.0071160211227834225, 0.01732124574482441, -0.014187399297952652, -0.013866053894162178, 0.08334141969680786, 0.03998497501015663, 0.03255255147814751, 0.06645886600017548, -0.04421832039952278, -0.07339737564325333, -0.01376337930560112, 0.0030698110349476337, 0.020526623353362083, 0.0634416937828064, -0.0215552169829607, -0.009560566395521164, 0.03097783587872982, -0.02354045771062374, -0.008105095475912094, 0.06245863437652588, 0.00012779993994627148, -0.016397247090935707, 0.12001828104257584, -0.03676467761397362, -0.033164702355861664, 0.021062342450022697, -0.05641438439488411, 0.013652857393026352, 0.025715433061122894, -0.02731749787926674, -0.042587604373693466, -0.008791242726147175, 0.05225777626037598, 0.05721452832221985, -0.04799747094511986, -0.07787568867206573, -0.006316696293652058, -0.031159911304712296, -0.028221169486641884, -0.04454715549945831, 0.033343605697155, 0.046014126390218735, -0.06930280476808548, -0.023944048210978508, -0.012576299719512463, 0.019581647589802742, -0.07477281987667084, 0.009953915141522884, 0.03070218116044998, -0.02319040708243847, -0.012032395228743553, 0.032906100153923035, -0.013142846524715424, -0.03987734019756317, 0.03229589760303497, 0.018868202343583107, 0.015943137928843498, -0.025560734793543816, 0.005784241016954184, -0.02946046181023121, 0.008442362770438194, -0.02413368783891201, -0.08510413765907288, -0.04661281406879425, -0.015641899779438972, -0.007985975593328476, -0.0015349237946793437, -0.0369684174656868, -0.04110722616314888, -0.0966385155916214, 0.0709037333726883, -0.023112773895263672, -0.03562730550765991, 0.028263458982110023, 0.01785881258547306, -0.0012055328115820885, -0.048825331032276154, 0.03788834065198898, 0.023995868861675262, 0.005957914981991053, 0.03872322291135788, -0.059303805232048035, 0.05161005258560181, 0.058653511106967926, -0.034618884325027466, 0.07084821164608002, 0.03317669779062271, -0.020915186032652855, -0.04459023103117943, -0.005252598784863949, -0.002802046947181225, -0.013146485202014446, -0.024903511628508568, -0.01424221321940422, 0.0027545734774321318, 0.02104293555021286, 0.0446903221309185, -0.0017850908916443586, -0.0714767724275589, -0.026278914883732796, -0.3594072461128235, -0.03046596236526966, 0.0081150121986866, -0.013119467534124851, 0.036481644958257675, -0.05145625025033951, 0.01775398850440979, -0.02159665711224079, 0.03257123380899429, 0.016381990164518356, 0.0608564130961895, 0.007550139911472797, 0.009391501545906067, -0.09622962027788162, -0.020560577511787415, 0.02003716304898262, -0.02865583449602127, -0.019054079428315163, -0.027966724708676338, 0.013761501759290695, -0.01544063538312912, 0.02057192660868168, -0.01829574815928936, -0.04984761029481888, -0.0014624051982536912, -0.03966938704252243, 0.11086704581975937, 0.03391113132238388, 0.08329808712005615, -0.04727648198604584, 0.0359727218747139, 0.007325259502977133, -0.01539489347487688, -0.042110078036785126, 0.0430150032043457, -0.030337100848555565, -0.013359393924474716, 0.0271306149661541, 0.02160612680017948, -0.007910286076366901, -0.0680246502161026, 0.019713914021849632, -0.029181616380810738, -0.034812964498996735, -0.024874748662114143, 0.025665046647191048, -0.009119541384279728, -0.03211916610598564, 0.00230656866915524, 0.04761683940887451, 0.010973113588988781, -0.001567225786857307, 0.0007709934725426137, 0.017837103456258774, 0.020628752186894417, -0.02047969028353691, -0.07020112127065659, 0.00019413292466197163, -0.0031467541120946407, -0.003969857469201088, 0.031033990904688835, 0.01896018162369728, 0.03554427623748779, -0.07253793627023697, 0.003804092528298497, 0.03178032115101814, -0.014670283533632755, 0.0037740811239928007, 0.04618804529309273, -0.004738176707178354, -0.00697295693680644, 0.11058060824871063, 0.032248031347990036, 0.028403297066688538, 0.03953327238559723, 0.058100804686546326, -0.0010661128908395767, 0.005685677286237478, 0.014474271796643734, 0.03317717835307121, 0.03482901304960251, 0.027993129566311836, 0.029046790674328804, -0.00872491579502821, 0.022483251988887787, 0.024373693391680717, 0.009794559329748154, -0.021161826327443123, 0.05452810600399971, -0.0037990293931216, -0.013532496988773346, -0.001602241420187056, -0.013410520739853382, -0.053324054926633835, 0.08211610466241837, -0.0009123480995185673, -0.27116093039512634, 0.050351690500974655, 0.0449712797999382, 0.054737821221351624, -0.0027460618875920773, 0.03362042084336281, 0.029118847101926804, -0.07016446441411972, -0.029527440667152405, -0.0001888161204988137, -0.0243404358625412, 0.024186421185731888, 0.020035548135638237, -0.020580662414431572, 0.00706087052822113, -0.012930412776768208, 0.00439666910097003, -0.0004436974704731256, 0.04973461106419563, 0.002103666076436639, 0.03603588789701462, -0.011989985592663288, 0.17388953268527985, 0.009329245425760746, -0.010704557411372662, 0.007365659810602665, -0.00939776748418808, -0.00311441533267498, 0.09516290575265884, 0.021408433094620705, 0.002006048569455743, 0.008509584702551365, 0.05509424954652786, 0.01864384301006794, 0.05208239704370499, -0.020025156438350677, -0.03970402106642723, 0.0329231359064579, 0.010549725964665413, -0.01685839705169201, 0.007898329757153988, 0.027018213644623756, -0.06714516878128052, 0.0014932980993762612, 0.07418359816074371, 0.011643322184681892, 0.013792543672025204, -0.01835869438946247, -0.05688601732254028, -0.02408486232161522, 0.013347476720809937, -0.04621487855911255, 0.011797902174293995, -0.013441057875752449, 0.005490916781127453, 0.07808060199022293, 0.008938252925872803, -0.03469051793217659, -0.023632101714611053, 0.01564587838947773, 0.015035263262689114, -0.05724906921386719, 0.11396875977516174, 0.0028422975447028875, -0.010732673108577728 ]
[ -0.021614570170640945, 0.0482519306242466, -0.016416199505329132, 0.020445046946406364, -0.0033589769154787064, 0.02548488974571228, 0.01681734248995781, 0.006253199186176062, -0.015734238550066948, -0.044364504516124725, -0.010188831016421318, 0.014894271269440651, 0.021746691316366196, 0.01897435076534748, 0.006022279616445303, -0.042215678840875626, -0.03326384350657463, 0.029689904302358627, 0.011062955483794212, -0.024877270683646202, -0.029744131490588188, -0.003558528143912554, 0.0165689866989851, -0.032159753143787384, 0.01245924923568964, 0.03560621291399002, 0.0010766376508399844, 0.0031338557600975037, 0.025401785969734192, -0.09813234210014343, -0.01580827683210373, -0.052665017545223236, -0.04175550118088722, 0.008700832724571228, -0.008911190554499626, -0.021959291771054268, -0.032741937786340714, 0.01964038610458374, -0.0137785654515028, 0.01311900932341814, -0.004723966121673584, -0.006229204125702381, 0.00591060658916831, 0.012789257802069187, 0.011736060492694378, -0.019774237647652626, -0.032389722764492035, -0.01632392778992653, -0.019267240539193153, -0.012626463547348976, -0.0579928457736969, -0.01470918208360672, -0.01332876831293106, 0.027091624215245247, 0.027649642899632454, -0.043417494744062424, -0.05251535400748253, 0.010902454145252705, 0.026746181771159172, 0.008699757046997547, 0.022261083126068115, -0.003400243818759918, -0.028002483770251274, -0.01909649930894375, -0.018361756578087807, -0.00600060960277915, -0.008440154604613781, 0.0081116808578372, 0.016566528007388115, -0.010892095975577831, 0.02138330228626728, 0.04333973303437233, -0.011977894231677055, -0.015241480432450771, -0.01094184909015894, -0.028586899861693382, 0.0038912000600248575, -0.021131334826350212, 0.019970018416643143, -0.03127848356962204, 0.004408857319504023, -0.0026171968784183264, 0.019605165347456932, -0.005150201730430126, 0.004691701848059893, -0.03216797485947609, -0.024427564814686775, 0.02982911467552185, -0.009635144844651222, 0.01990976557135582, -0.017776109278202057, -0.004412026144564152, -0.028816012665629387, 0.028742868453264236, -0.06634117662906647, 0.014237496070563793, -0.0075609819032251835, -0.0042866300791502, -0.014843130484223366, 0.8637059330940247, -0.015569270588457584, -0.005675064399838448, 0.03422541171312332, 0.027114730328321457, 0.017520207911729813, 0.003187740920111537, 0.03252308815717697, 0.013467247597873211, -0.017661090940237045, -0.0414397194981575, -0.009660879150032997, 0.035756003111600876, 0.01731126382946968, 0.007635190151631832, 0.026615845039486885, -0.024165386334061623, 0.010290604084730148, 0.007916932925581932, 0.00110655277967453, 0.005920515861362219, -0.009688054211437702, 0.008892101235687733, -0.018135040998458862, 0.02152499184012413, 0.02569933794438839, -0.15236735343933105, -0.03521940857172012, -6.56357401122382e-33, 0.06571157276630402, -0.005724680610001087, 0.037807196378707886, -0.0019238382810726762, -0.006270616315305233, -0.011801698245108128, -0.024617306888103485, 0.008970997296273708, -0.019070671871304512, -0.013892251998186111, -0.014668606221675873, -0.009821385145187378, -0.011014807038009167, 0.01722986437380314, 0.04015853628516197, -0.0216513741761446, 0.007413132581859827, 0.02692604437470436, 0.010116501711308956, -0.002813450526446104, 0.013718616217374802, -0.0010597516084089875, 0.01118196826428175, 0.01279770489782095, -0.022233108058571815, 0.04671047627925873, 0.00482571916654706, 0.01817695051431656, -0.022883377969264984, -0.04214474931359291, -0.00136723299510777, 0.020102350041270256, 0.0037377430126070976, -0.058100566267967224, 0.024753661826252937, -0.05344073846936226, -0.0007046957616694272, 0.016928894445300102, -0.03345648571848869, -0.006218122784048319, -0.039687905460596085, 0.012085536494851112, -0.03434348106384277, 0.017830101773142815, -0.024968968704342842, -0.012260520830750465, 0.012759029865264893, 0.03542782738804817, -0.01488220039755106, 0.025347605347633362, -0.030765164643526077, 0.02305617742240429, -0.005720517598092556, -0.03258262947201729, 0.0004498245834838599, 0.02870509959757328, 0.024585247039794922, -0.009612511843442917, -0.008717508986592293, -0.0072377705946564674, 0.0411125011742115, -0.0009815605590119958, -0.013198350556194782, 0.04099441319704056, -0.0033560344018042088, 0.00824716966599226, 0.03251294419169426, -0.013660559430718422, 0.010571246966719627, 0.02761029452085495, -0.04932146146893501, 0.028926193714141846, -0.016463812440633774, -0.04145793989300728, 0.04613947495818138, -0.03294985741376877, 0.008603418245911598, -0.009631399996578693, -0.015982501208782196, 0.01518996711820364, -0.00429652351886034, -0.02005682699382305, 0.04304361343383789, -0.015188506804406643, -0.020801883190870285, 0.006874070502817631, 0.014791829511523247, -0.0017803141381591558, 0.004915551748126745, 0.018202928826212883, 0.024675868451595306, 0.06365814059972763, -0.0009669912979006767, -0.022197233512997627, -0.019385652616620064, 6.642079401443487e-33, 0.029939105734229088, 0.01620900258421898, -0.03729727491736412, 0.00035924778785556555, -0.019434498623013496, -0.0033962205052375793, 0.04149717465043068, 0.031191285699605942, -0.0060004922561347485, 0.03688337653875351, 0.0019249109318479896, -0.014184894040226936, -0.03876417130231857, -0.022080468013882637, 0.05256268382072449, -0.014663340523838997, -0.005402632523328066, -0.019783122465014458, 0.022681385278701782, -0.01663321629166603, -0.0018414045916870236, 0.023725135251879692, 0.006178327836096287, 0.021316001191735268, 0.011167183518409729, 0.032966505736112595, -0.0011339769698679447, 0.022618496790528297, -0.024949634447693825, 0.007231856696307659, -0.0008313243160955608, -0.05852851644158363, 0.005799779202789068, -0.002856726059690118, -0.002706721890717745, 0.03331296145915985, 0.008664489723742008, -0.018284115940332413, -0.0034703451674431562, 0.037812624126672745, 0.05888783559203148, 0.004407248459756374, -0.028065519407391548, 0.039192017167806625, -0.011288067325949669, 0.004594556987285614, 0.028899604454636574, 0.0247210580855608, 0.0016505346866324544, -0.030519025400280952, 0.0009404222946614027, -0.0126308873295784, -0.02932824194431305, -0.0012408469337970018, 0.011197652667760849, -0.01766568049788475, -0.024877497926354408, 0.012305805459618568, 0.0005577161791734397, 0.007503164000809193, -0.02827335149049759, -0.046041328459978104, -0.00342032453045249, -0.0011195604456588626, -0.019563045352697372, 0.010893714614212513, -0.025727342814207077, -0.0001610837207408622, 0.02099849097430706, -0.023749595507979393, 0.0012530121020972729, -0.016408629715442657, 0.0011510453186929226, 0.03623386099934578, -0.017857292667031288, -0.05804623290896416, -0.03283865749835968, 0.029445471242070198, 0.010523699223995209, 0.02068500965833664, 0.053668905049562454, 0.0002915034128818661, -0.017557205632328987, 0.0009344329009763896, 0.02935951203107834, 0.0425688661634922, -0.034321654587984085, 0.005547513719648123, 0.018606554716825485, -0.035682305693626404, -0.013155686669051647, 0.008186014369130135, 0.02326761931180954, 0.00411564065143466, -0.009416785091161728, -1.257626003337009e-8, -0.024028802290558815, 0.02908891625702381, 0.015367849729955196, 0.0077041215263307095, 0.00503955315798521, 0.003176157595589757, -0.016265414655208588, 0.001373099978081882, 0.005489136558026075, 0.017558107152581215, 0.04970763996243477, 0.00014900328824296594, 0.012795335613191128, 0.02459052950143814, -0.012571170926094055, -0.045282721519470215, 0.004517583642154932, 0.00945252738893032, 0.036523256450891495, 0.03072545677423477, -0.002324388362467289, 0.029208173975348473, -0.02044466696679592, -0.03302263468503952, -0.00026864613755606115, -0.007163786329329014, -0.011079403571784496, -0.06944619864225388, 0.02269693836569786, 0.0014226929051801562, 0.0036256182938814163, -0.024541880935430527, -0.00814133882522583, 0.007568818517029285, -0.006679558660835028, -0.029065553098917007, 0.0016617095097899437, 0.00437771575525403, 0.010841046459972858, 0.008131736889481544, -0.013567589223384857, -0.008979453705251217, -0.012909607030451298, -0.039787400513887405, -0.036251507699489594, -0.004561640787869692, -0.00020518855308182538, 0.0095839723944664, -0.003387530567124486, -0.01878981851041317, 0.016234317794442177, -0.0010182345286011696, 0.01334983017295599, 0.041037529706954956, 0.014366548508405685, -0.04310281202197075, 0.04310513660311699, -0.035488247871398926, -0.0189700648188591, 0.038767486810684204, 0.030590884387493134, 0.010364607907831669, -0.057747941464185715, -0.006171191576868296 ]
intellij-debug-mode-viewing-beyond-100-framesitems-in-an-array
https://markhneedham.com/blog/2012/11/26/intellij-debug-mode-viewing-beyond-100-framesitems-in-an-array
false
2012-11-21 19:42:15
Looking inside the black box
[ "software-development" ]
[ "Software Development" ]
I recently came across a http://angeleah.com/blog/2012/11/02/black-box-abstraction.html[really interesting post about black box abstraction] by Angeleah where she talks about developers desire to know how things work and the need to understand when and when not to follow that instinct. Angeleah defines black box abstraction like so: ____ It is a technique for controlling complexity and abstracting detail. The point of doing this is to allow you to to build bigger things. Hopefully bigger boxes. This is done all the time in methods or functions, in gems, in frameworks. ____ We have to be particularly careful about knowing how far to look inside the black box when working with new systems that we know nothing about. About a year ago my colleague http://www.linkedin.com/pub/alex-harin/13/40b/716[Alex Harin] and I were looking through the code of a pricing engine of one of our clients and our goal was to try and work out how we'd be able to wire in a replacement for some parts of it. In Michael Feathers' terminology we were looking for the http://www.markhneedham.com/blog/2009/06/21/seams-some-thoughts/[application's seams]. We knew that configurations weren't being priced in real time because we'd watched a training video explaining that. We were therefore led to believe that the application had some mechanism for queuing up configurations and then pricing them. We worked out an entry point into the application and then started drilling down to figure out how exactly this was being done. After a little bit of time it became clear that when Alex was driving we were starting to understand how the application was designed and when I was driving we were going down a lot of black holes. When I asked him to explain to me what he was doing he explained that he was http://www.markhneedham.com/blog/2011/12/29/reading-code-know-what-youre-looking-for/[pattern matching the code against application design patterns that he'd seen previously] and was therefore quickly able to rule out bits of code that were irrelevant. This is a skill which obviously improves with experience but it's still something to keep in mind even if you've only programmed for a few years as you are bound to have come across a range of different designs either at work or in open source software - knowledge which can be used when looking at new systems. In Angeleah's post she suggests the following technique to work out when we're going down the rabbit hole which seems very sensible: ____ you should ask yourself to what level you need to know that information and if knowing it at this point in time will truly help you with what you are working on. ____ I think it's especially difficult to know the answer to this question when you're less experienced and I'm certain that I spent much more time going down black box dead ends a few years ago than now. If you *can't remember why you're in a specific bit of code anymore* then it's a good sign that you've strayed off the path and would be better off stepping a few levels up the stack to check whether the current black box expedition is worthwhile. Having said that, when you do decide you want to go and look inside the black box I find that while it's important to keep the big picture in mind *sometimes it is necessary to carefully read each line of code rather than skimming over it*. This is something that http://twitter.com/jennifersmithco[Jen] and I have found particularly true when looking at the implementations of machine learning algorithms in http://mahout.apache.org/[Mahout]. In that case we've been switching between the code and a textual description of what the algorithm is actually supposed to do to check our understanding. Looking back at this post I realise that while there are a couple of techniques here that can help us to reflect on what we're doing it does seem to be one of those areas of software development that is based on gut feel more than anything else.
null
null
[ 0.01864800788462162, 0.01612836681306362, -0.0029775688890367746, 0.03621915355324745, 0.08663065731525421, 0.028835853561758995, 0.02137998305261135, 0.021856648847460747, 0.022378847002983093, -0.01438453420996666, -0.024956876412034035, -0.0009193044970743358, -0.06547395139932632, 0.01886117458343506, -0.026247939094901085, 0.07018224149942398, 0.05729007348418236, 0.00022564087703358382, 0.01881558634340763, 0.009082214906811714, 0.030362144112586975, 0.0798390582203865, 0.011821381747722626, 0.027289671823382378, 0.03079427219927311, 0.021073682233691216, 0.014912760816514492, 0.0024934164248406887, -0.054496049880981445, 0.001237640855833888, 0.0515870600938797, 0.0056669823825359344, 0.005706223659217358, -0.01818600483238697, 0.0078608188778162, -0.015614318661391735, -0.028537552803754807, 0.019925540313124657, -0.004720951430499554, 0.019890813156962395, -0.06974142789840698, 0.06288649141788483, 0.009886396117508411, 0.021531086415052414, -0.03197111189365387, -0.008578324690461159, -0.044672686606645584, -0.01956234499812126, -0.0053733293898403645, -0.00987807847559452, -0.06587615609169006, 0.02453906089067459, -0.016471490263938904, 0.02102675847709179, -0.00595424510538578, 0.05930205434560776, 0.018890248611569405, -0.06314156204462051, 0.0029895822517573833, -0.04856615513563156, 0.0023731845431029797, -0.0005993813392706215, 0.003931368701159954, 0.02906586229801178, 0.02773430198431015, -0.00840731244534254, -0.014581352472305298, 0.034756194800138474, -0.037581320852041245, 0.0019361440790817142, -0.004610615316778421, 0.010605363175272942, -0.006537937559187412, -0.02158830687403679, 0.010784188285470009, -0.023147068917751312, 0.002520210575312376, 0.05094580352306366, 0.02349192090332508, 0.035141389816999435, -0.024322744458913803, 0.03171315789222717, 0.02557738684117794, 0.02506577968597412, 0.01665414683520794, -0.045085810124874115, -0.012077792547643185, -0.0018931841477751732, -0.04827060177922249, 0.07668009400367737, 0.02436455897986889, -0.06405234336853027, 0.025073697790503502, 0.04422614723443985, -0.014479213394224644, 0.02840791456401348, 0.03048769384622574, -0.007905113510787487, -0.009515502490103245, -0.004707160405814648, -0.028051909059286118, -0.025686031207442284, -0.00007793203985784203, -0.005439691711217165, -0.08618645370006561, 0.0047408719547092915, -0.035731472074985504, -0.020815087482333183, -0.0032445015385746956, 0.005209818482398987, -0.03228052705526352, 0.022096173837780952, -0.016736604273319244, 0.0008141600410453975, -0.06304538995027542, 0.05327597260475159, -0.008570445701479912, -0.03860544413328171, 0.00645078020170331, 0.008502339012920856, 0.05736460164189339, 0.02079939842224121, -0.027180274948477745, 0.08147073537111282, 0.032629113644361496, 0.009206808172166348, -0.01288810558617115, 0.06600669771432877, -0.025274494662880898, -0.0666898638010025, 0.00024611924891360104, 0.06347495317459106, -0.02387753315269947, -0.016340410336852074, 0.005674260668456554, -0.031688667833805084, -0.014565310440957546, 0.001381227164529264, 0.027683835476636887, 0.046939291059970856, -0.009600449353456497, -0.047102414071559906, 0.020239846780896187, -0.006928897462785244, 0.009738476946949959, 0.0006132049020379782, 0.005381687078624964, -0.0177886001765728, -0.03904080018401146, -0.006371575407683849, 0.00048230832908302546, 0.03265909105539322, -0.006627852097153664, -0.042559485882520676, 0.039248280227184296, 0.07387339323759079, 0.027014104649424553, -0.012263892218470573, -0.014883586205542088, 0.01894916221499443, 0.042752381414175034, 0.03040921874344349, 0.018422996625304222, 0.02799983136355877, 0.018133405596017838, -0.01249061431735754, 0.014089075848460197, 0.058054108172655106, -0.0015161603223532438, 0.010911375284194946, -0.06305210292339325, -0.03066801093518734, 0.06162344291806221, -0.03800090774893761, -0.037915170192718506, 0.04851634055376053, 0.09580682218074799, 0.014139662496745586, 0.04231194406747818, -0.0015735768247395754, -0.07865392416715622, 0.011339842341840267, 0.013712838292121887, 0.036731865257024765, 0.011975829489529133, -0.0389951653778553, 0.06804236024618149, 0.029745498672127724, 0.001546444371342659, 0.03073919750750065, -0.07045674324035645, -0.07214153558015823, -0.020446430891752243, -0.025848347693681717, 0.061610378324985504, -0.012128707952797413, 0.010038748383522034, 0.07851920276880264, 0.01889677904546261, 0.03984373062849045, 0.04216231033205986, 0.003690470941364765, -0.00947397481650114, -0.04978419467806816, -0.0325288288295269, 0.037906717509031296, 0.06359469890594482, -0.033552758395671844, -0.07149810343980789, 0.004107065498828888, -0.0009618505137041211, -0.024129824712872505, 0.04106372967362404, -0.028272375464439392, 0.05262139439582825, 0.018682405352592468, 0.05054417625069618, -0.02298593521118164, 0.05084015429019928, -0.046141188591718674, -0.0016959839267656207, 0.0020777080208063126, -0.017799250781536102, 0.014029924757778645, -0.0018496240954846144, 0.11158724874258041, 0.05566425621509552, -0.06720998138189316, -0.033273182809352875, -0.004232022445648909, 0.027745123952627182, -0.04965737462043762, -0.010321110486984253, -0.0342157706618309, 0.009778131730854511, 0.002305432688444853, -0.06687813997268677, -0.03348657488822937, 0.027081847190856934, -0.0401923842728138, 0.01065072976052761, 0.06138787418603897, -0.037012215703725815, 0.04004162549972534, -0.017319858074188232, -0.016914373263716698, -0.01628776453435421, -0.022141925990581512, -0.07676204293966293, 0.02689516171813011, -0.005690739955753088, -0.017557738348841667, 0.04532080516219139, -0.03148725628852844, -0.0177798792719841, -0.026060571894049644, -0.04598208889365196, 0.006880308035761118, 0.03628366068005562, 0.07713168859481812, 0.0019457455491647124, 0.06735144555568695, -0.004200986120849848, 0.028631623834371567, 0.0061737229116261005, -0.058592233806848526, -0.03576995059847832, -0.03128119930624962, 0.019889697432518005, 0.049281761050224304, 0.0006504299235530198, 0.013662959448993206, 0.021948598325252533, 0.01087699830532074, 0.01948229782283306, -0.03256300091743469, 0.029790977016091347, 0.025580335408449173, -0.030505916103720665, -0.01877054013311863, -0.025413867086172104, 0.0401955246925354, -0.036428842693567276, -0.0040474520064890385, 0.0028312832582741976, -0.06381255388259888, 0.06582419574260712, -0.0698823630809784, -0.04815471172332764, 0.002085757441818714, 0.02312176674604416, 0.039907388389110565, 0.002121093450114131, 0.026075975969433784, 0.08199844509363174, 0.022522544488310814, -0.013454989530146122, -0.006673222873359919, 0.005854588467627764, 0.02601758763194084, 0.004077770747244358, -0.0001233713555848226, 0.02537165954709053, 0.0024219013284891844, -0.0044902111403644085, -0.034545090049505234, 0.04274056479334831, -0.01347639225423336, -0.2913537919521332, 0.032569173723459244, 0.015247385948896408, -0.043767668306827545, 0.0041816625744104385, -0.0028883584309369326, -0.013678127899765968, -0.047030236572027206, -0.0008792406297288835, 0.008613718673586845, -0.03572741895914078, -0.06056000664830208, -0.016667073592543602, 0.03439894691109657, -0.009999747388064861, 0.01740637607872486, 0.009245052002370358, -0.04675888270139694, 0.00897823367267847, 0.040239498019218445, -0.021175604313611984, -0.08890308439731598, 0.0072205550968647, 0.02376963570713997, 0.029498524963855743, 0.04899025335907936, -0.10592455416917801, 0.023418745025992393, -0.0431213453412056, 0.009969200938940048, -0.013965405523777008, -0.008026334457099438, -0.014420736581087112, -0.024237966164946556, -0.02616586908698082, -0.01545560173690319, 0.028744036331772804, 0.0030301937367767096, 0.008205699734389782, 0.028692053630948067, -0.02078959532082081, -0.01841646060347557, -0.018696144223213196, 0.029021253809332848, 0.07907063513994217, -0.020301958546042442, -0.07339981943368912, -0.007596257608383894, -0.025671670213341713, 0.06331620365381241, -0.04227465018630028, -0.02570359967648983, -0.0012119824532419443, 0.04816112294793129, -0.007490701042115688, -0.026499565690755844, -0.02006032131612301, -0.0384882315993309, -0.022705508396029472, -0.03586306422948837, -0.004500141367316246, -0.032075185328722, -0.011495642364025116, -0.036464449018239975, 0.020358901470899582, -0.05666913464665413, -0.06542258709669113, -0.007974588312208652, 0.07928234338760376, 0.03847018629312515, -0.0036854532081633806, 0.037277720868587494, 0.00728929229080677, -0.10647156834602356, 0.004296388942748308, -0.007839152589440346, -0.00626860186457634, -0.01695823110640049, 0.0302419476211071, 0.036074936389923096, -0.02081332542002201, -0.05574708431959152, 0.03173394873738289, -0.002251067664474249, 0.02523498237133026, -0.02495799958705902, 0.021556532010436058, 0.027501363307237625, -0.02627219632267952, 0.019838670268654823, 0.07717583328485489, -0.007704488933086395, -0.044405125081539154, -0.0352863110601902, 0.03873034194111824, 0.0114533556625247, 0.05053231492638588, -0.021872641518712044, 0.004696594551205635, 0.03742433339357376, 0.0014379567001014948, -0.05189988389611244, 0.03150953724980354, -0.030140595510601997, -0.013091159984469414, -0.010699024423956871, -0.0248993132263422, 0.011516653001308441, 0.04562501236796379, 0.022916899994015694, -0.021540239453315735, -0.042148664593696594, 0.008318377658724785, -0.04737606644630432, -0.027149595320224762, -0.01958409510552883, 0.0018026463221758604, 0.038788169622421265, -0.007215915713459253, -0.029687469825148582, -0.04989686235785484, -0.006498496513813734, 0.008516248315572739, -0.0009990721009671688, -0.05239664763212204, -0.03256930783390999, -0.025992587208747864, -0.005309754516929388, 0.027859076857566833, 0.022833041846752167, -0.007985481061041355, 0.030120849609375, 0.011254549026489258, -0.04640526324510574, 0.01325284969061613, -0.006497228052467108, -0.03254871815443039, -0.026539113372564316, 0.012883706949651241, -0.01549278199672699, 0.014436597935855389, 0.0410040058195591, 0.015587987378239632, 0.02531585469841957, 0.036652497947216034, 0.01172727346420288, 0.023355728015303612, -0.010909782722592354, 0.021535910665988922, -0.01131040696054697, 0.007275228854268789, -0.0813952311873436, 0.03282906860113144, -0.048845816403627396, -0.03464915603399277, -0.03317891061306, 0.04734998941421509, -0.023164695128798485, -0.031072301790118217, -0.015784967690706253, 0.030729716643691063, -0.040224168449640274, -0.05657964199781418, -0.02702861651778221, 0.029620833694934845, 0.07532481104135513, -0.020411653444170952, 0.02435833215713501, -0.01367192156612873, -0.011770808137953281, -0.0023052687756717205, 0.017862599343061447, -0.041451118886470795, -0.0006583433714695275, 0.012486018240451813, -0.012533020228147507, -0.01642138697206974, -0.028337517753243446, 0.024228105321526527, 0.016235260292887688, -0.0020506351720541716, -0.03432610630989075, 0.017536072060465813, 0.007202292792499065, 0.04933569207787514, 0.02720886841416359, 0.0012639057822525501, 0.019079264253377914, -0.00922979786992073, -0.009354996494948864, -0.044735319912433624, -0.006791255436837673, 0.0006846610922366381, 0.03301464766263962, -0.04417705908417702, -0.09024973213672638, 0.049143243581056595, 0.01760716550052166, 0.012203275226056576, 0.00449861865490675, 0.0021616641897708178, 0.0031522426288574934, -0.01936153694987297, 0.04904363304376602, 0.07027436792850494, -0.053112953901290894, 0.018145475536584854, 0.013256782665848732, 0.019304515793919563, 0.009452850557863712, 0.007598449010401964, -0.04099408537149429, -0.03068692609667778, -0.03417033329606056, 0.0027193650603294373, -0.04724844545125961, -0.024722887203097343, -0.019435271620750427, 0.0014579356648027897, 0.005015057045966387, -0.010539785958826542, -0.006749947089701891, -0.002275261329486966, -0.011275471188127995, -0.029745478183031082, 0.016287654638290405, -0.031526122242212296, 0.0002970679197460413, -0.0022191640455275774, -0.034031279385089874, -0.011331731453537941, -0.0032500652596354485, 0.009819517843425274, 0.023789452388882637, -0.03167387843132019, -0.013400744646787643, -0.03838149085640907, 0.012611769139766693, -0.014196133241057396, 0.039146989583969116, -0.017116833478212357, -0.04019757732748985, -0.024984538555145264, -0.011015763506293297, -0.04948374629020691, 0.014079272747039795, -0.03910568729043007, -0.00836233515292406, 0.025780897587537766, 0.040076661854982376, -0.0006393567309714854, 0.03772542625665665, -0.004787815269082785, -0.013331938534975052, 0.045648667961359024, -0.06490007787942886, -0.00492980657145381, -0.02605459652841091, -0.06807997822761536, -0.0048465062864124775, -0.005914466455578804, 0.028330106288194656, -0.0343286395072937, 0.03765903040766716, 0.02849910967051983, 0.035088423639535904, 0.01960756629705429, 0.006173885893076658, 0.04147189110517502, -0.05998785048723221, 0.021283546462655067, -0.08669210225343704, 0.01342000998556614, 0.019745856523513794, 0.012517319992184639, -0.004500787239521742, -0.0021226140670478344, -0.054335787892341614, 0.03418770059943199, -0.061703745275735855, -0.022601615637540817, 0.03680671006441116, 0.008699535392224789, -0.024243872612714767, 0.02577693946659565, -0.06621900945901871, 0.025353265926241875, 0.02428796887397766, -0.028821606189012527, -0.02789732627570629, -0.022774966433644295, 0.04520009830594063, 0.0062296693213284016, 0.019776975736021996, -0.02321186289191246, -0.010523597709834576, 0.0670599639415741, 0.01117418147623539, 0.038692716509103775, 0.03674459829926491, 0.0027678790502250195, 0.026820208877325058, 0.03166213259100914, 0.01887696236371994, -0.005461316555738449, 0.0012210543500259519, -0.0040827179327607155, -0.06234656646847725, 0.03890443220734596, 0.006247233599424362, -0.049222394824028015, -0.024602210149168968, 0.04575478658080101, 0.03313354775309563, -0.027252012863755226, -0.04177387058734894, 0.004246299620717764, -0.07236569374799728, -0.0017064465209841728, -0.010135985910892487, -0.0005021748365834355, -0.017134031280875206, 0.056521736085414886, -0.012633628211915493, -0.006489183288067579, 0.07326937466859818, 0.004209856037050486, -0.028929000720381737, -0.012283041141927242, 0.08026517927646637, 0.08147895336151123, 0.06037043035030365, 0.0017322717467322946, 0.05886392667889595, -0.04251398518681526, -0.042271703481674194, 0.02367519401013851, -0.021287593990564346, -0.016000835224986076, -0.024488871917128563, 0.0262441486120224, 0.0642884224653244, -0.0032336043659597635, 0.06924453377723694, -0.027360258623957634, 0.0019417735747992992, 0.009758700616657734, 0.0344267264008522, 0.0044280122965574265, 0.08827764540910721, 0.012131075374782085, -0.005857929587364197, -0.008424170315265656, -0.06282899528741837, 0.01857566274702549, -0.03131132572889328, 0.0010533524909988046, 0.034443389624357224, 0.0008697545272298157, 0.00862529780715704, -0.00286833755671978, 0.03528058901429176, 0.08002258092164993, -0.03759181872010231, 0.023074710741639137, 0.01340670045465231, 0.022610561922192574, -0.0007057330803945661, -0.0026132420171052217, -0.04578273743391037, -0.02588258497416973, -0.008435689844191074, -0.012516239657998085, -0.028932446613907814, -0.02601569890975952, -0.01165381632745266, 0.05428643897175789, -0.019408654421567917, -0.014302203431725502, 0.03506067767739296, 0.030135732144117355, -0.030109748244285583, -0.07275660336017609, -0.051975831389427185, -0.03372189775109291, -0.05484551563858986, -0.03590632230043411, 0.015609427355229855, -0.00012345380673650652, -0.039628446102142334, -0.024986451491713524, -0.016561396420001984, -0.014611170627176762, 0.06258881092071533, -0.0523659884929657, -0.023140931501984596, 0.007430428639054298, 0.02934424951672554, 0.03583262860774994, 0.028133893385529518, 0.030255524441599846, 0.002756848931312561, -0.006905010435730219, -0.03822809457778931, 0.0001852197601692751, 0.023271743208169937, 0.02035592682659626, 0.01595657877624035, -0.09339536726474762, 0.020357290282845497, 0.03594118356704712, 0.004009219817817211, -0.0649554431438446, 0.018016096204519272, 0.00022237439407035708, 0.004688141867518425, 0.07713416963815689, -0.018866494297981262, 0.021358568221330643, -0.02780802547931671, -0.0055444189347326756, -0.009343861602246761, 0.013522406108677387, 0.03731513023376465, -0.01618916541337967, 0.0821489468216896, 0.021671820431947708, -0.014224163256585598, -0.03447699174284935, 0.0006894737016409636, 0.00196847808547318, 0.0032352900598198175, -0.022814301773905754, -0.027832472696900368, -0.02008993551135063, -0.08824513107538223, -0.017038870602846146, 0.015946494415402412, -0.010994932614266872, -0.049741487950086594, 0.02761198580265045, 0.05088721588253975, -0.04360337182879448, 0.01670718938112259, -0.055748436599969864, 0.03569277375936508, -0.025765428319573402, -0.015798835083842278, 0.003048605052754283, 0.010570583865046501, -0.021529635414481163, -0.011708922684192657, 0.006385749205946922, -0.04981044679880142, -0.02412337251007557, 0.0023816488683223724, 0.04673542082309723, 0.007936694659292698, 0.0022539333440363407, -0.0024027028121054173 ]
[ -0.0778404176235199, -0.009742422960698605, -0.04256504774093628, -0.01983390748500824, 0.027253853157162666, -0.03613514080643654, -0.014501841738820076, 0.003667171811684966, -0.008250949904322624, -0.014970303513109684, -0.015514894388616085, -0.029900893568992615, -0.02854727953672409, 0.007437617518007755, 0.0803079754114151, 0.01107776165008545, -0.0019860623870044947, -0.04366554692387581, 0.01949365809559822, 0.009409227408468723, 0.03561459854245186, -0.055300600826740265, -0.031010564416646957, -0.024521244689822197, 0.011355254799127579, 0.016852619126439095, 0.024659547954797745, -0.019037451595067978, 0.012473232112824917, -0.19503915309906006, -0.0004607105511240661, 0.03622831776738167, 0.05733709782361984, -0.033980537205934525, 0.020125549286603928, 0.04621594771742821, 0.011976349167525768, 0.046204689890146255, -0.025521444156765938, 0.03583585470914841, 0.014620725065469742, 0.018091587349772453, -0.04396216198801994, -0.027326276525855064, 0.03516500070691109, -0.0022176906932145357, 0.017482206225395203, -0.04751366749405861, -0.03912953659892082, -0.003771248972043395, -0.04909662902355194, -0.03671002760529518, -0.02679355815052986, -0.011866576038300991, 0.0003869547799695283, 0.032136742025613785, 0.04210878908634186, 0.06885528564453125, -0.007292852271348238, 0.012281720526516438, 0.014545868150889874, -0.005081293638795614, -0.10591042041778564, 0.09753460437059402, 0.059686630964279175, 0.05757682025432587, -0.046323180198669434, -0.060945458710193634, -0.009484147652983665, 0.10639512538909912, 0.02267368882894516, -0.042771752923727036, -0.00851371418684721, 0.034369926899671555, 0.027246834710240364, -0.01289281900972128, 0.006908264942467213, 0.015565309673547745, 0.0239432193338871, -0.030883753672242165, -0.03082449547946453, 0.00363837368786335, -0.02535051666200161, -0.007132819853723049, -0.058403123170137405, 0.02894635871052742, -0.021237825974822044, 0.05420320853590965, 0.032478250563144684, 0.029522748664021492, 0.05913412198424339, -0.007637109141796827, 0.014790480025112629, -0.034163184463977814, -0.06503111869096756, -0.030693022534251213, -0.009204846806824207, -0.0004274602688383311, -0.042790066450834274, 0.4336676597595215, -0.015589643269777298, -0.04880335554480553, 0.08865837007761002, 0.02935037389397621, -0.019498063251376152, 0.0072328983806073666, 0.012293735519051552, -0.032150451093912125, 0.0007378734298981726, -0.010363060981035233, -0.013431387022137642, -0.0015604248037561774, 0.05817823484539986, -0.03525593504309654, 0.012950756587088108, 0.013640430755913258, -0.005030824337154627, 0.003790823509916663, 0.02548595890402794, -0.012015293352305889, -0.021346205845475197, 0.026050176471471786, 0.03965190052986145, 0.002736545167863369, -0.028966031968593597, -0.029476730152964592, -0.0016630683094263077, 0.06984096765518188, 0.01350313425064087, 0.024012966081500053, 0.04594389721751213, -0.02631772682070732, -0.057694535702466965, 0.0025958791375160217, 0.0090500358492136, 0.015888573601841927, 0.04471192508935928, -0.007606159895658493, 0.004375196062028408, 0.044451285153627396, -0.0229807086288929, 0.03865939751267433, 0.01980050466954708, -0.0012437188997864723, -0.04066448286175728, 0.08661278337240219, 0.009943990968167782, -0.04505927115678787, -0.01800835132598877, -0.036697570234537125, 0.005219191312789917, 0.014634243212640285, -0.010257911868393421, -0.05332507565617561, 0.02963249385356903, -0.004840878304094076, 0.0829242691397667, 0.011947725899517536, -0.07087146490812302, -0.0025868797674775124, -0.0214740838855505, -0.03355837240815163, -0.032531075179576874, 0.07030964642763138, 0.04378166049718857, -0.09164458513259888, -0.02348514087498188, -0.016233140602707863, 0.033248189836740494, -0.06835734099149704, -0.0279556792229414, 0.014027174562215805, -0.042591702193021774, -0.009244104847311974, 0.05434190854430199, -0.04583851248025894, -0.05552471801638603, -0.014804433099925518, 0.0427817702293396, 0.014752119779586792, 0.012757891789078712, -0.010601527988910675, -0.039271727204322815, 0.011773895472288132, -0.03958700969815254, -0.11546848714351654, -0.02822636067867279, -0.005070572253316641, -0.053706925362348557, 0.013501178473234177, -0.03826925903558731, -0.00023306309594772756, -0.09587337076663971, 0.11195335537195206, -0.016613474115729332, -0.01240231841802597, 0.03372819721698761, -0.01705460250377655, -0.04745013639330864, -0.030485058203339577, -0.039982520043849945, 0.02339351549744606, -0.07476972043514252, 0.034016869962215424, -0.06547699868679047, 0.05377659201622009, 0.046955548226833344, -0.042136527597904205, 0.0892966091632843, 0.05479208007454872, -0.029530789703130722, -0.030243899673223495, 0.006402710918337107, 0.022287869825959206, 0.035364992916584015, 0.0029820017516613007, -0.002238066401332617, 0.004238419234752655, 0.002287833485752344, 0.008013447746634483, -0.025082075968384743, -0.01222581509500742, -0.02562342770397663, -0.3508830666542053, -0.028225606307387352, -0.03439288213849068, -0.01989828236401081, 0.020977722480893135, -0.05691952630877495, 0.02135598100721836, -0.012562255375087261, -0.017642801627516747, -0.002763172145932913, 0.06817786395549774, -0.030400924384593964, 0.008187070488929749, -0.09036371856927872, -0.006327376700937748, 0.03136737272143364, -0.026351438835263252, -0.031163295730948448, -0.04989463835954666, 0.03022739104926586, -0.011086576618254185, 0.017640771344304085, -0.0002880259125959128, -0.07230004668235779, -0.016910234466195107, -0.028682217001914978, 0.1023428738117218, -0.015114353969693184, 0.1079876571893692, -0.02379387803375721, 0.03711533918976784, -0.012445118278265, 0.018603693693876266, -0.10080401599407196, -0.0006964239291846752, -0.016165299341082573, 0.0080508878454566, -0.006159561686217785, 0.033187251538038254, -0.009283887222409248, -0.06266067177057266, 0.008599313907325268, -0.04958203807473183, -0.047564342617988586, -0.06499885022640228, 0.030411742627620697, -0.005877555347979069, -0.02555137686431408, -0.03995128720998764, 0.07264229655265808, 0.019076606258749962, 0.015278619714081287, 0.013722961768507957, 0.02167292684316635, 0.002904394641518593, -0.021345049142837524, -0.060578327625989914, 0.0017437677597627044, 0.03075897879898548, 0.04117302596569061, 0.031603191047906876, 0.05989111214876175, 0.019858824089169502, -0.051946014165878296, 0.007446118630468845, 0.010836421512067318, 0.01097007654607296, 0.00019000994507223368, 0.05899325758218765, -0.032491471618413925, 0.0009248877759091556, 0.12360657751560211, 0.012912033125758171, -0.04286636412143707, 0.03882874175906181, 0.03291691094636917, 0.017354167997837067, 0.02876879833638668, 0.022060059010982513, -0.005024015437811613, -0.007247371133416891, -0.02687540277838707, 0.03435586392879486, -0.024805771186947823, -0.010477029718458652, 0.04220476746559143, 0.00167652138043195, -0.04881275072693825, 0.05232205241918564, 0.01849289983510971, -0.030696360394358635, 0.02838762477040291, -0.03190075233578682, -0.07077585905790329, 0.06690481305122375, 0.005459425039589405, -0.23575672507286072, 0.022059977054595947, 0.07619316875934601, 0.07003001123666763, -0.036965262144804, 0.027617070823907852, 0.04963904991745949, -0.03705810010433197, 0.037362825125455856, 0.01679276116192341, -0.020605502650141716, 0.005068473517894745, 0.016077760607004166, 0.013499299995601177, 0.0369139239192009, -0.012575740925967693, 0.06266554445028305, -0.018174434080719948, 0.013504951260983944, 0.010257364250719547, -0.005478590726852417, -0.006914588622748852, 0.17426641285419464, -0.019004536792635918, 0.02747173048555851, 0.009184704162180424, -0.004827224183827639, 0.006277456413954496, 0.06571106612682343, 0.008644216693937778, 0.013602242805063725, 0.00008793370943749323, 0.03899376466870308, -0.00351768103428185, 0.04109831526875496, -0.07237615436315536, -0.00934521947056055, 0.02990061417222023, 0.04130040481686592, 0.007094286382198334, 0.025052320212125778, -0.013092456385493279, -0.014383962377905846, 0.04963141307234764, 0.03995399922132492, 0.016360905021429062, -0.014355692081153393, -0.016877416521310806, -0.04272463917732239, -0.024133583530783653, -0.03701745718717575, -0.03622922673821449, 0.02638002671301365, -0.01119658537209034, 0.013395482674241066, 0.08438439667224884, 0.012625271454453468, -0.033642422407865524, -0.028946617618203163, 0.01872442476451397, -0.014046807773411274, -0.02448505349457264, 0.09230463206768036, 0.013791962526738644, 0.0592072494328022 ]
[ 0.006792502012103796, 0.014869452454149723, -0.014545472338795662, 0.0507693886756897, -0.012749472633004189, 0.0006423559971153736, -0.013797053135931492, 0.011113476939499378, -0.00884841289371252, -0.008272791281342506, -0.029250945895910263, 0.03117675706744194, 0.00006722743273712695, -0.014997775666415691, -0.01280903909355402, 0.00021753375767730176, 0.02028176747262478, 0.005240119528025389, 0.022835874930024147, 0.019382059574127197, -0.017090845853090286, 0.028329208493232727, -0.027771491557359695, -0.004370472859591246, -0.020621730014681816, 0.029312051832675934, -0.01285978127270937, 0.0028726612217724323, 0.04136323183774948, -0.1352340131998062, -0.015481372363865376, -0.016414234414696693, -0.003066468518227339, 0.025440188124775887, -0.014734110794961452, 0.03183918818831444, -0.01117214746773243, -0.013637440279126167, -0.008955761790275574, -0.02946372516453266, -0.009306184016168118, 0.0024725564289838076, -0.020328806713223457, 0.01917913742363453, -0.005363032687455416, 0.000053391493565868586, 0.012398382648825645, -0.04428953677415848, -0.000299639388686046, -0.05937328189611435, -0.033149342983961105, 0.0009548292146064341, -0.010948719456791878, 0.009983413852751255, -0.00018250526045449078, -0.007911701686680317, 0.007148851174861193, -0.004754641093313694, -0.010026260279119015, -0.017648078501224518, -0.0056368145160377026, 0.011760731227695942, -0.025385139510035515, -0.015990588814020157, -0.010036306455731392, 0.020439540967345238, -0.026524130254983902, 0.012460530735552311, -0.037905074656009674, -0.011580253951251507, 0.016433654353022575, 0.045662544667720795, -0.0401071272790432, -0.03818102553486824, 0.032108280807733536, -0.005471228156238794, 0.019377948716282845, -0.018589463084936142, 0.007876971736550331, 0.009747951291501522, -0.04151570051908493, 0.028417102992534637, 0.001223927247337997, 0.021426472812891006, -0.006154745351523161, 0.0039026460144668818, -0.002044637454673648, 0.03540486842393875, 0.010728652589023113, 0.003336798632517457, -0.015205482952296734, 0.014403213746845722, -0.024101601913571358, 0.014751125127077103, -0.07228953391313553, -0.019879743456840515, -0.022125419229269028, -0.017121663317084312, -0.002929638372734189, 0.8592243194580078, -0.01400743704289198, -0.022786755114793777, 0.02371085248887539, 0.019518593326210976, 0.0168362557888031, 0.01774553954601288, 0.014646384865045547, 0.030656054615974426, 0.022109216079115868, -0.03872906044125557, 0.012189080007374287, -0.01875249855220318, 0.030400758609175682, 0.02073226124048233, 0.012994606979191303, 0.009559327736496925, -0.01569676771759987, -0.01110590249300003, 0.01018327847123146, 0.03746511787176132, 0.02725275792181492, 0.0037073243875056505, 0.0036082351580262184, 0.0005546850734390318, -0.013964545913040638, -0.17255103588104248, 0.009945303201675415, -9.100949097134778e-33, 0.011872817762196064, -0.015048799104988575, -0.0015442246804013848, 0.017306597903370857, 0.029072675853967667, 0.02749151550233364, -0.001501743565313518, 0.027293572202324867, 0.02076755464076996, -0.0032760438043624163, -0.009674218483269215, -0.00861675851047039, -0.019203130155801773, -0.017727646976709366, 0.04494297131896019, -0.016934247687458992, -0.030640408396720886, 0.027142342180013657, 0.02082626335322857, 0.035444024950265884, 0.03094731830060482, 0.004313786514103413, -0.02309492975473404, 0.00880606472492218, -0.022254645824432373, 0.03363924100995064, 0.03480254486203194, 0.002148184459656477, 0.0036118249408900738, -0.04142075031995773, -0.012480978854000568, 0.03711104765534401, -0.012464436702430248, -0.005962126888334751, -0.00971645675599575, -0.027797341346740723, -0.032267261296510696, 0.007466701325029135, -0.01893153414130211, 0.022967875003814697, -0.003519164863973856, -0.04594119265675545, -0.04108643904328346, -0.01732746511697769, -0.0016171368770301342, 0.010094335302710533, 0.033707406371831894, 0.019589949399232864, 0.0057027400471270084, -0.014756389893591404, -0.004436441231518984, 0.01090883556753397, 0.013662075623869896, 0.0032733853440731764, 0.009670145809650421, 0.005420875735580921, -0.024906788021326065, -0.0003866976476274431, 0.04089563712477684, 0.036611706018447876, 0.02261410281062126, -0.028067490085959435, -0.019314084202051163, 0.013389023952186108, -0.04074516519904137, -0.0013873904244974256, -0.0002045888832071796, 0.016300693154335022, -0.021594693884253502, -0.0032776938751339912, -0.04453471675515175, 0.005084035452455282, -0.016498876735568047, 0.008887135423719883, 0.005090401042252779, -0.010685712099075317, 0.02362261340022087, 0.025643806904554367, 0.02232537418603897, 0.010635368525981903, -0.00847641285508871, 0.026191346347332, 0.027881572023034096, -0.05234372988343239, -0.019085703417658806, -0.0026520153041929007, 0.02352532185614109, 0.007356349378824234, -0.02161354012787342, -0.017146702855825424, 0.0072629875503480434, -0.007577904500067234, -0.014244446530938148, -0.0225813090801239, -0.006924276240170002, 8.553571336466748e-33, 0.007090320810675621, -0.04696132615208626, -0.014570408500730991, -0.014680104330182076, 0.021824242547154427, 0.01055024191737175, 0.03341470658779144, -0.012348874472081661, -0.033334046602249146, 0.035400666296482086, -0.014475300908088684, 0.0030907897744327784, -0.016350481659173965, 0.014022254385054111, 0.0344114787876606, -0.03936704620718956, 0.009345035068690777, -0.049990203231573105, 0.04351118579506874, 0.009945412166416645, 0.011295318603515625, 0.019050417467951775, -0.019680321216583252, -0.009467619471251965, -0.02874341420829296, 0.031520891934633255, -0.008746569976210594, 0.04988566413521767, 0.011424753814935684, 0.02111492119729519, 0.026394538581371307, -0.02221536822617054, 0.014288719743490219, 0.01087311003357172, -0.028353389352560043, 0.062198907136917114, 0.009141871705651283, -0.014532296918332577, -0.027570143342018127, -0.010839752852916718, 0.04510432109236717, -0.002777455374598503, -0.019270753487944603, 0.008879776112735271, 0.005371284205466509, 0.03243343159556389, -0.01826457865536213, -0.029024995863437653, 0.011399039067327976, -0.007980342954397202, -0.002665542531758547, 0.0058649578131735325, 0.005656082183122635, 0.010332881473004818, -0.045161567628383636, -0.005135196726769209, -0.04072568565607071, 0.022780193015933037, 0.010385489091277122, 0.025589536875486374, -0.01258663646876812, 0.014860177412629128, -0.011153800413012505, -0.002851769793778658, -0.045554500073194504, -0.03492391109466553, 0.009290597401559353, -0.0190346110612154, 0.031485527753829956, -0.04220705106854439, -0.023104354739189148, 0.008102905936539173, -0.005546885076910257, 0.04706917703151703, 0.007601321674883366, -0.041095685213804245, -0.024596964940428734, -0.01553757768124342, 0.005690178833901882, 0.01028729509562254, 0.013390472158789635, 0.020378075540065765, 0.02235294319689274, 0.029983220621943474, -0.007359685841947794, 0.027991019189357758, -0.011368928477168083, 0.01869785040616989, -0.01290827989578247, -0.021078042685985565, -0.03399697691202164, 0.011478208005428314, -0.008982889354228973, 0.009974838234484196, -0.025338977575302124, -1.4078425536467876e-8, -0.001216832548379898, 0.05322933942079544, 0.006349514704197645, -0.014698083512485027, 0.014797486364841461, -0.008451202884316444, 0.004831208381801844, 0.02544199675321579, -0.04571082070469856, 0.01221292745321989, 0.050621528178453445, -0.0491943284869194, -0.03311712294816971, 0.010388021357357502, -0.0020066448487341404, -0.008959547616541386, -0.03255661204457283, -0.007642990443855524, 0.042090728878974915, 0.010801768861711025, 0.042896296828985214, 0.049910854548215866, 0.015878144651651382, 0.0144845861941576, 0.007086893077939749, -0.015767011791467667, 0.008748563937842846, -0.08407498896121979, 0.004712018184363842, 0.005508068948984146, -0.02724301815032959, -0.01917427033185959, 0.024752575904130936, 0.02627040073275566, -0.010569117963314056, -0.02385576441884041, -0.007523776032030582, 0.03291549161076546, 0.008807842619717121, 0.0014193496899679303, 0.0038199282716959715, -0.011147563345730305, -0.0004200842522550374, -0.05055813863873482, -0.015270854346454144, -0.007076887879520655, -0.04288233071565628, -0.003233101451769471, 0.023295123130083084, -0.016575191169977188, 0.04030866548418999, 0.013836828991770744, -0.004229607060551643, 0.061612553894519806, 0.042415473610162735, -0.03945150971412659, -0.004789394326508045, -0.04367221146821976, -0.0355442613363266, -0.002534015802666545, 0.005757339298725128, 0.029236838221549988, -0.027375411242246628, -0.023490559309720993 ]
looking-inside-the-black-box
https://markhneedham.com/blog/2012/11/21/looking-inside-the-black-box
false
2012-11-30 16:56:16
There's No such thing as a 'DevOps Team': Some thoughts
[ "devops-2" ]
[ "DevOps" ]
A few weeks ago http://jezhumble.net/[Jez Humble] wrote a blog post titled "http://continuousdelivery.com/2012/10/theres-no-such-thing-as-a-devops-team/[There's no such thing as a 'DevOps team']" where he explains what DevOps is actually supposed to be about and describes a model of how developers and operations folk can work together. Jez's suggestion is for developers to take responsibility for the systems they create but he notes that: ____ [\...] they need support from operations to understand how to build reliable software that can be continuous deployed to an unreliable platform that scales horizontally. They need to be able to self-service environments and deployments. They need to understand how to write testable, maintainable code. They need to know how to do packaging, deployment, and post-deployment support. ____ His suggestions sound reasonably similar to the way https://dl.dropbox.com/u/1018963/Articles/SpotifyScaling.pdf[Spotify have their teams setup] whereby product teams own their product from idea to production but can get help from an operations team to make this happen. ____ At Spotify there is a separate operations team, but their job is not to make releases for the squads - their job is to give the squads the support they need to release code themselves; support in the form of infrastructure, scripts, and routines. They are, in a sense, "`building the road to production`". It's an informal but effective collaboration, based on face-to-face communication rather than detailed process documentation. ____ On a few of projects that I've worked on in the last 18 months or so we've tried to roughly replicate this model but there are a few challenges in doing so. == Silo Mentality In a number of the organisations that I've worked at there is a mentality that people should only take responsibility for 'their bit' which in this case means developers code the application and operations deploy it. This manifests itself when you hear comments such as "it must be an application problem" when something isn't working rather than working together to solve the problem. There's also a more subtle version of this when we get into the belief that developers are only responsible for putting points on the board therefore they shouldn't spend time doing operations-y work. == Release Pressure Even if we've got beyond the idea that people should only be responsible for their silo and have operations and developers working closely together it can still end up reverting back to type when people are under pressure. When a big release is coming up there'll often be a push to ensure that the expected features have been completed and this leads us back towards the silo mentality, at least temporarily. Presumably with a more frequent release schedule this becomes less of an issue but I haven't worked for long enough in that way to say for sure. == Security Concerns In some environments there is often quite tight security around who is allowed to push into production and this would typically be folks in the operations team. Obviously this means that the product team can't actually push their own changes unless they arrange to work together with one of the operations folks to do so. We still don't have the 'throw it over the wall' mentality in this setup but it does create more of a bottle neck in the system than we'd have otherwise. == In Summary These are just some of the obstacles that I've seen that can get in the way of our optimal setup. I'm sure there are others that I haven't come across yet but the nice thing is that two of these are more a mindset thing than anything else so that can be fixed over time.
null
null
[ 0.03477777913212776, 0.0000621718427282758, -0.008902722038328648, 0.03556408733129501, 0.093864805996418, 0.02904883585870266, 0.016502272337675095, 0.054955027997493744, 0.00029394845478236675, -0.03148304671049118, -0.052777331322431564, -0.015138410963118076, -0.06005239859223366, 0.01090372633188963, -0.05525822564959526, 0.0827542170882225, 0.06042857468128204, -0.00044146637083031237, 0.02101367898285389, 0.01634141616523266, 0.047063056379556656, 0.07899925112724304, 0.012948742136359215, 0.029773889109492302, 0.02810787782073021, -0.0005188871291466057, 0.016013553366065025, -0.0014269358944147825, -0.057113125920295715, -0.016702063381671906, 0.03324022889137268, 0.012454360723495483, 0.015033680945634842, -0.013458481058478355, 0.008137060329318047, -0.01118241436779499, -0.03370693698525429, 0.03837046027183533, -0.0001535147166578099, -0.013949382118880749, -0.06195688247680664, 0.037153106182813644, -0.004837231244891882, 0.008887238800525665, -0.04108370095491409, 0.008340070955455303, -0.04662659764289856, 0.017150938510894775, 0.0005593686364591122, -0.022029956802725792, -0.05879581347107887, 0.020683130249381065, -0.02356843650341034, -0.02439182996749878, -0.0026088810991495848, 0.03783667832612991, 0.009572233073413372, -0.05479736626148224, -0.0079038692638278, -0.03472371771931648, -0.0037885878700762987, -0.014951242133975029, 0.00833927746862173, 0.02575576677918434, 0.03768899664282799, -0.04044085368514061, -0.0027375114150345325, 0.03800259530544281, -0.03832688555121422, 0.0008505562436766922, -0.0076391869224607944, 0.010156204923987389, -0.010771065019071102, -0.00420064153149724, 0.0019945059902966022, -0.06238333880901337, 0.013125871308147907, 0.07027849555015564, 0.025160789489746094, 0.050392016768455505, -0.02247435972094536, 0.005033805500715971, -0.0042048003524541855, 0.02433726005256176, -0.04168974980711937, -0.03452057018876076, 0.011653617955744267, -0.009816640987992287, -0.07847614586353302, 0.06294016540050507, 0.035556644201278687, -0.04732336103916168, 0.05015973746776581, 0.0408223420381546, 0.007233993615955114, 0.029260363429784775, 0.027694538235664368, 0.022808263078331947, 0.0014038842637091875, -0.004643529187887907, -0.032546285539865494, -0.005086367949843407, -0.011833717115223408, 0.002405510051175952, -0.07669268548488617, -0.016412924975156784, -0.017155742272734642, 0.007414604537189007, -0.02073514275252819, -0.002314592944458127, -0.015743311494588852, 0.032725583761930466, -0.01135291252285242, 0.019993070513010025, -0.06841308623552322, 0.0685882717370987, -0.011298232711851597, -0.052149150520563126, 0.015471919439733028, -0.002189188962802291, 0.04892180487513542, 0.03800230473279953, -0.016610657796263695, 0.08043302595615387, 0.010707312263548374, 0.015134424902498722, -0.04226187616586685, 0.04547669366002083, -0.012742874212563038, -0.0528111457824707, -0.010563395917415619, 0.05518582835793495, -0.04182334616780281, -0.014924162067472935, 0.004916325211524963, -0.012485641986131668, 0.001836910261772573, 0.004410059656947851, 0.022077729925513268, 0.057898398488759995, -0.026172613725066185, -0.03452293947339058, 0.015671076253056526, 0.01665942370891571, 0.0323297493159771, 0.006156439892947674, -0.00026300078025087714, -0.0387023389339447, -0.05728735402226448, -0.005208644084632397, 0.004598121624439955, 0.005428556352853775, -0.0006491197855211794, -0.051812466233968735, 0.03578200563788414, 0.08033062517642975, 0.04813030734658241, 0.0083299670368433, -0.015304259955883026, 0.032260164618492126, 0.04632897302508354, 0.045207250863313675, 0.02404920570552349, 0.027660198509693146, 0.02000989206135273, -0.021064365282654762, -0.007264213636517525, 0.03941071406006813, 0.010284509509801865, 0.005016676615923643, -0.04954579472541809, -0.05254470556974411, 0.04827484115958214, -0.025182334706187248, -0.009428037330508232, 0.04543260857462883, 0.08212093263864517, 0.046945903450250626, 0.03298173099756241, 0.014069082215428352, -0.07924880087375641, 0.03804484382271767, 0.014872310683131218, 0.029678218066692352, 0.023034673184156418, -0.02637665905058384, 0.05821705982089043, 0.016328124329447746, 0.012314156629145145, 0.03508884832262993, -0.09622319787740707, -0.10134079307317734, -0.012054127641022205, -0.004281305242329836, 0.04138268530368805, -0.032221365720033646, -0.005528686102479696, 0.06208597868680954, 0.00405812868848443, 0.05779026076197624, 0.022605115547776222, 0.013033846393227577, -0.010255488567054272, -0.053110573440790176, -0.05307348072528839, 0.070322684943676, 0.028226381167769432, -0.00810564961284399, -0.06671526283025742, 0.01837615855038166, -0.013448516838252544, -0.014809447340667248, 0.040370091795921326, -0.03509996831417084, 0.05749202147126198, 0.000412613881053403, 0.06365831196308136, -0.036504581570625305, 0.04057924821972847, -0.04652296379208565, -0.010076997801661491, -0.0021257689222693443, -0.02052394114434719, 0.0296875461935997, 0.005213928874582052, 0.08967223763465881, 0.06363864988088608, -0.045070599764585495, -0.03640535846352577, 0.019175078719854355, 0.02111371047794819, -0.03327568247914314, -0.0315689891576767, -0.010988284833729267, -0.00656385812908411, 0.012964089401066303, -0.05390259623527527, -0.03067644312977791, -0.013425157405436039, -0.0379282608628273, 0.004665118642151356, 0.04679179564118385, -0.008309738710522652, 0.0549330860376358, -0.020649507641792297, -0.013164175674319267, -0.011427855119109154, -0.025131817907094955, -0.051391810178756714, 0.0032878839410841465, -0.0024146793875843287, -0.022564245387911797, 0.055375829339027405, -0.030098730698227882, -0.03543949872255325, -0.03912241756916046, -0.03525442257523537, 0.03140556439757347, 0.03679431974887848, 0.06182245537638664, -0.04684740677475929, 0.05310672149062157, -0.022587548941373825, 0.038016803562641144, 0.009266933426260948, -0.04540666565299034, -0.04976880922913551, -0.012098303064703941, 0.0044745029881596565, 0.026466431096196175, 0.004063470754772425, 0.016395995393395424, 0.013835779391229153, -0.008019284345209599, 0.0023337113671004772, -0.009530184790492058, 0.02762441337108612, 0.007547273300588131, 0.008364287205040455, -0.04745808243751526, -0.007717904169112444, 0.04839204624295235, -0.023381073027849197, -0.000591454969253391, 0.010045346803963184, -0.08712112158536911, 0.056194864213466644, -0.07889150828123093, -0.02734866552054882, -0.005756882019340992, 0.003525262698531151, 0.03409425541758537, 0.020270168781280518, 0.02565276250243187, 0.07195589691400528, 0.016769858077168465, 0.016026513651013374, 0.0038406499661505222, 0.0045873550698161125, 0.03589346632361412, 0.0017146810423582792, 0.004015068989247084, 0.04233728349208832, -0.0075813340954482555, 0.004119960591197014, -0.06333223730325699, 0.056633830070495605, -0.02003960683941841, -0.2727730870246887, 0.03429410979151726, 0.0170994084328413, -0.05905548483133316, 0.027828257530927658, -0.00937900971621275, 0.017195353284478188, -0.053323034197092056, -0.021469485014677048, 0.015853941440582275, -0.04900519549846649, -0.04075775668025017, -0.008554544299840927, 0.030965754762291908, 0.002152739092707634, 0.020214032381772995, 0.038272421807050705, -0.036943238228559494, 0.01710372604429722, 0.04088057205080986, -0.025787778198719025, -0.0787636786699295, 0.012900193221867085, 0.022146647796034813, 0.04644700139760971, 0.05578460171818733, -0.06233920529484749, 0.054857175797224045, -0.06376225501298904, -0.015090047381818295, 3.1759267926645407e-7, -0.005699771922081709, 0.002029655035585165, -0.012272913940250874, -0.0286918543279171, -0.02030525542795658, 0.0358930379152298, -0.0009127561934292316, 0.004566241055727005, -0.0037602623924613, -0.021697092801332474, -0.037795525044202805, 0.0008404958061873913, 0.0029135497752577066, 0.06024523079395294, 0.009486319497227669, -0.09561548382043839, -0.009610366076231003, -0.030553817749023438, 0.07417593896389008, -0.02379315346479416, -0.042963020503520966, 0.004246801137924194, 0.027259334921836853, -0.019640816375613213, -0.012779981829226017, -0.01275987084954977, -0.02426978386938572, -0.037468209862709045, -0.02119104564189911, -0.015423497185111046, -0.026740392670035362, -0.01757061295211315, -0.044197890907526016, 0.008220861665904522, -0.05957939475774765, -0.0593281127512455, -0.014661652967333794, 0.0763271376490593, 0.009221069514751434, -0.03886174038052559, 0.010548846796154976, -0.007402144372463226, -0.10788984596729279, 0.0007722374866716564, -0.01514231413602829, -0.035119492560625076, -0.0032302101608365774, 0.025192219763994217, 0.037552766501903534, -0.03515992313623428, -0.053686778992414474, 0.02008555643260479, -0.006578456144779921, 0.02468113973736763, -0.008824232965707779, 0.05178958550095558, 0.02995077148079872, -0.02178351581096649, 0.01529696211218834, 0.05674882233142853, -0.015376965515315533, -0.010774374939501286, -0.005496121942996979, 0.020179608836770058, -0.0063332850113511086, 0.026154447346925735, 0.014298991300165653, -0.01160200871527195, 0.03802580386400223, -0.01568947359919548, -0.05787722393870354, 0.03666175901889801, -0.0182279571890831, -0.003171633230522275, -0.014299293048679829, -0.04899074137210846, 0.0010167525615543127, 0.04188309982419014, 0.042419981211423874, 0.011623252183198929, -0.031344275921583176, 0.02854701317846775, -0.06931330263614655, -0.033819664269685745, 0.003474555676802993, 0.01267455704510212, 0.04353124275803566, -0.00767180323600769, -0.00724507961422205, -0.05181872472167015, 0.01727890595793724, -0.006681368686258793, 0.0072382246144115925, -0.06094735115766525, -0.015363591723144054, -0.01698964834213257, -0.005794145632535219, 0.03843765705823898, 0.01786217838525772, -0.014660187065601349, 0.030343683436512947, 0.021985864266753197, -0.038674987852573395, 0.008288084529340267, -0.045632753521203995, -0.06344650685787201, -0.038670819252729416, 0.010718089528381824, 0.0003848561900667846, -0.006651080679148436, 0.02549985609948635, -0.002580429194495082, 0.014571517705917358, 0.04028816521167755, 0.017142144963145256, 0.029183614999055862, -0.015147145837545395, 0.04669293388724327, 0.014976839534938335, 0.002561722183600068, -0.05781956762075424, 0.013776207342743874, -0.0426676906645298, -0.032518286257982254, -0.025287361815571785, 0.044209495186805725, -0.017416054382920265, -0.04206543415784836, -0.012352087534964085, 0.011061077937483788, -0.04572959989309311, -0.03447332605719566, -0.018706347793340683, 0.01789080910384655, 0.059024911373853683, -0.014859583228826523, 0.0012602139031514525, -0.020711351186037064, -0.006697219330817461, -0.0014015294145792723, 0.01801149919629097, -0.04710794985294342, 0.010321822948753834, -0.005956593435257673, 0.011807361617684364, 0.006632485892623663, 0.006555760744959116, 0.04894305020570755, 0.01988202892243862, 0.004756103735417128, -0.007452463265508413, -0.001780503080226481, 0.023705674335360527, 0.028417283669114113, 0.034184493124485016, 0.007437101099640131, -0.003951305523514748, -0.021545233204960823, -0.02407042682170868, -0.05674726516008377, -0.007995367050170898, -0.011111468076705933, 0.019164804369211197, -0.028839007019996643, -0.06505412608385086, 0.06489057838916779, 0.017735743895173073, 0.013792010955512524, 0.019751017913222313, -0.01973303221166134, 0.006564191542565823, -0.02804374136030674, 0.033447910100221634, 0.07544977217912674, -0.07199795544147491, 0.007421609479933977, 0.00793960876762867, 0.0053377775475382805, -0.004176246002316475, -0.0220511294901371, -0.03811837360262871, -0.03364252671599388, -0.03365123271942139, 0.015228955075144768, -0.08251925557851791, -0.010482018813490868, -0.018582986667752266, 0.009477377869188786, -0.006849233526736498, -0.010522766038775444, -0.012385619804263115, -0.0065452358685433865, -0.01173114962875843, -0.025471776723861694, 0.01286554615944624, -0.024466602131724358, -0.0019299042178317904, 0.013683033175766468, -0.04180224612355232, -0.00031894483254291117, -0.022847425192594528, 0.0031135068275034428, 0.010550019331276417, -0.02650986984372139, 0.007430763449519873, -0.024727491661906242, -0.016010066494345665, 0.005952388513833284, 0.040073078125715256, -0.01677279733121395, -0.039570000022649765, -0.031732700765132904, -0.03152332827448845, -0.029740627855062485, -0.010078311897814274, -0.018843498080968857, 0.013344935141503811, 0.02303359843790531, 0.06481711566448212, 0.031923141330480576, 0.021601203829050064, -0.024561762809753418, -0.006524351891130209, 0.05470004305243492, -0.08001526445150375, -0.034898098558187485, -0.02805199846625328, -0.05763423442840576, -0.007891475223004818, 0.007008469197899103, 0.01839921437203884, -0.03399762883782387, 0.04315796494483948, 0.035129718482494354, 0.019369173794984818, 0.039898622781038284, -0.004252048209309578, 0.01850072480738163, -0.057038430124521255, -0.003735475242137909, -0.06891942024230957, 0.00516935670748353, 0.03623035550117493, -0.0019685605075210333, 0.008668961003422737, 0.03370605781674385, -0.05139007419347763, 0.03884981945157051, -0.05416519567370415, -0.030293738469481468, 0.04024967923760414, -0.008855583146214485, -0.014022892341017723, 0.031982749700546265, -0.08560031652450562, 0.04026467725634575, 0.02262352779507637, -0.03575824573636055, -0.024491051211953163, 0.0033825444988906384, 0.060268376022577286, -0.0035181799903512, 0.03271796926856041, -0.03827371448278427, -0.030749069526791573, 0.071565181016922, -0.006829094607383013, 0.011041270568966866, 0.0488065630197525, -0.014221678487956524, 0.04334525763988495, 0.01613236963748932, 0.014672892168164253, -0.019498925656080246, 0.022092759609222412, -0.011322356760501862, -0.05143936350941658, 0.019212281331419945, 0.016263669356703758, -0.0385068915784359, -0.01437945943325758, 0.06188410520553589, 0.019329490140080452, -0.028529830276966095, -0.046471573412418365, -0.004477686248719692, -0.057575296610593796, 0.00031606806442141533, -0.03112381510436535, -0.01008002832531929, -0.06049073860049248, 0.04064997285604477, 0.020503582432866096, 0.013586576096713543, 0.07695041596889496, 0.01824931800365448, -0.038041483610868454, 0.003402264788746834, 0.07673601806163788, 0.0909862294793129, 0.052878059446811676, 0.014818676747381687, 0.054443154484033585, -0.02238360606133938, -0.04214408993721008, 0.026735495775938034, 0.00684268306940794, -0.006052913144230843, -0.020528048276901245, 0.0017672752728685737, 0.05736280232667923, 0.01110043190419674, 0.07289265096187592, -0.002805942203849554, -0.01707221381366253, -0.00022456166334450245, 0.02843160554766655, 0.008786942809820175, 0.080059714615345, 0.0029820867348462343, 0.019408660009503365, -0.008970832452178001, -0.04495682567358017, 0.01921454630792141, -0.05027545243501663, -0.02271302416920662, 0.03684506192803383, 0.0036410007160156965, 0.013945680111646652, -0.01218679640442133, 0.01814158447086811, 0.0789732113480568, -0.0336538664996624, 0.023361334577202797, -0.009525461122393608, 0.033562012016773224, -0.03526885062456131, 0.03142111003398895, -0.040190331637859344, -0.011334339156746864, 0.0076093608513474464, -0.027518881484866142, -0.02382642775774002, -0.019401108846068382, -0.029064994305372238, 0.05326465144753456, -0.012852776795625687, 0.0007686058524996042, 0.019986866042017937, 0.013589359819889069, -0.01906653866171837, -0.04636717215180397, -0.03466705605387688, -0.035890862345695496, -0.053458236157894135, -0.024993421509861946, 0.032746944576501846, 0.005350174847990274, -0.02494768053293228, -0.0002092974173137918, -0.029271641746163368, -0.054774291813373566, 0.03288211300969124, -0.035812679678201675, -0.017353840172290802, 0.005826093256473541, 0.02928941138088703, 0.020796237513422966, 0.020509464666247368, 0.059282343834638596, -0.007501443848013878, -0.009840497747063637, -0.026158154010772705, 0.03622414916753769, 0.021899551153182983, -0.0005632527754642069, -0.001623311429284513, -0.07848255336284637, 0.02733531966805458, 0.04381824657320976, -0.00878774281591177, -0.062813900411129, 0.03291570395231247, 0.013944528996944427, -0.001272121793590486, 0.05486777797341347, -0.032446373254060745, 0.025848597288131714, -0.05782262235879898, 0.0003901796299032867, -0.023933669552206993, 0.008129122667014599, 0.04223277419805527, -0.005039176903665066, 0.08828962594270706, 0.04118119925260544, -0.0032308101654052734, -0.04280361905694008, -0.008551607839763165, 0.00486236484721303, 0.009308412671089172, -0.0188580434769392, -0.02131367102265358, -0.0350961834192276, -0.09024488180875778, -0.02226429060101509, 0.02282625623047352, -0.02518477663397789, -0.048971027135849, 0.026693275198340416, 0.0009093416156247258, -0.042375728487968445, 0.001670507830567658, -0.045671842992305756, 0.03529469296336174, -0.019169015809893608, -0.0007151218596845865, -0.004257407039403915, 0.02765701152384281, 0.0074088433757424355, 0.00021644697699230164, 0.02077106386423111, -0.050582773983478546, 0.000006307901458058041, 0.007983067072927952, 0.025989538058638573, 0.07095775008201599, 0.020375574007630348, 0.007731963414698839 ]
[ -0.07392002642154694, -0.033026061952114105, -0.006843376439064741, -0.058765631169080734, 0.0594186894595623, -0.047726940363645554, -0.01323071587830782, -0.0007760464795865119, -0.006346993613988161, -0.02372029423713684, 0.012839341536164284, -0.006394956260919571, 0.009302307851612568, -0.04071717709302902, 0.09167200326919556, 0.018973300233483315, -0.005687210243195295, -0.09501629322767258, 0.01706533506512642, -0.0024122062604874372, 0.021822810173034668, -0.03130524605512619, -0.056989848613739014, -0.005549984518438578, -0.004866847302764654, 0.017536219209432602, 0.00661222729831934, -0.007213998585939407, -0.009234488010406494, -0.15151970088481903, -0.012488647364079952, 0.01889636553823948, 0.07975947111845016, -0.021519063040614128, 0.03397554159164429, 0.07642306387424469, 0.026428045704960823, 0.014001098461449146, -0.036858685314655304, 0.02622040919959545, 0.02220248244702816, 0.018192622810602188, -0.06245002895593643, -0.03614003583788872, 0.02749771811068058, 0.016664735972881317, -0.007361119147390127, -0.05817543342709541, -0.04979030042886734, 0.010955668054521084, -0.023055503144860268, -0.02039708010852337, -0.023144619539380074, -0.026377176865935326, -0.020405104383826256, 0.033931534737348557, 0.020180635154247284, 0.06652744859457016, 0.021819112822413445, 0.009800289757549763, 0.044637154787778854, -0.06681331247091293, -0.10684530436992645, 0.06543152779340744, 0.051985323429107666, 0.03029327653348446, -0.0381474606692791, -0.05126649886369705, -0.03120889514684677, 0.06572207063436508, 0.014037161134183407, -0.028862658888101578, 0.011376412585377693, 0.018060170114040375, 0.015722988173365593, 0.023005718365311623, 0.030964577570557594, 0.03768111392855644, 0.007731409277766943, -0.04637565091252327, -0.02611723355948925, -0.015631267800927162, -0.03408065438270569, 0.0027482444420456886, -0.04802493378520012, 0.007052472326904535, 0.010746163316071033, 0.07148411124944687, 0.03883048892021179, 0.05552225559949875, 0.05441349372267723, 0.0221604872494936, 0.07233260571956635, -0.022786280140280724, -0.060740575194358826, -0.0069220042787492275, -0.010488503612577915, -0.01862650364637375, -0.07754547894001007, 0.4514610767364502, 0.001250222441740334, -0.017943471670150757, 0.08307722955942154, 0.023675311356782913, -0.001905009150505066, 0.0040585664100945, 0.012058710679411888, -0.02240516059100628, 0.03954634070396423, -0.0049363854341208935, -0.0009691842133179307, 0.03046148456633091, 0.0602545328438282, -0.05606050416827202, 0.005990330129861832, 0.010114233940839767, -0.039783041924238205, 0.03731768950819969, -0.0008759411284700036, 0.0008773297886364162, 0.018746759742498398, -0.0008128654444590211, 0.01871098205447197, 0.03606007993221283, -0.007658679503947496, -0.008449789136648178, 0.020302843302488327, 0.04057267680764198, 0.051162514835596085, -0.000023624726964044385, 0.03858485817909241, -0.028404708951711655, -0.0495014525949955, -0.0027080453000962734, -0.0008238219888880849, -0.007990092039108276, 0.0018846571911126375, -0.022508684545755386, -0.04648107290267944, 0.05714365094900131, 0.019420076161623, -0.016252731904387474, 0.04461776465177536, -0.04973505809903145, -0.007182895205914974, 0.1288413405418396, 0.0328960157930851, -0.012462252750992775, -0.034669920802116394, -0.04145592078566551, -0.04128580167889595, 0.024852128699421883, 0.023661188781261444, -0.036824993789196014, 0.02882724441587925, 0.01523899007588625, 0.09371061623096466, -0.04695697873830795, -0.07610230892896652, 0.026252610608935356, 0.01507345587015152, -0.03236638382077217, -0.04562744125723839, 0.048242900520563126, 0.056696534156799316, -0.0963660180568695, -0.03153405338525772, 0.008116480894386768, 0.03107341378927231, -0.04417417198419571, -0.06186695769429207, -0.014287763275206089, 0.004218484275043011, -0.019586514681577682, 0.04896039515733719, -0.049254074692726135, -0.03541098162531853, 0.02095111459493637, 0.042644187808036804, 0.020353369414806366, 0.030866358429193497, 0.021537980064749718, -0.00519090611487627, -0.007166845258325338, -0.034502651542425156, -0.08729515969753265, -0.033016327768564224, -0.02213430404663086, -0.05465948209166527, 0.0049812630750238895, -0.03304312378168106, -0.0028898443561047316, -0.06166170910000801, 0.10267680883407593, -0.004582150373607874, -0.020485714077949524, 0.025591615587472916, -0.029325829818844795, -0.030904531478881836, -0.01573645882308483, -0.0452963151037693, 0.029408730566501617, -0.05095488578081131, 0.0166807658970356, -0.08377233147621155, 0.037550028413534164, 0.04913264513015747, -0.032884322106838226, 0.050096478313207626, 0.03385685756802559, -0.03613455966114998, -0.030406678095459938, 0.005927829071879387, 0.04036349803209305, 0.007684450596570969, 0.00085917126853019, -0.008110967464745045, 0.03873412311077118, -0.011512181721627712, 0.030676430091261864, -0.018327275291085243, 0.041479602456092834, -0.029283834621310234, -0.32527869939804077, -0.03217077627778053, -0.02580318972468376, -0.0009330795728601515, -0.011389637365937233, -0.02579472027719021, 0.02961879037320614, -0.00962854828685522, -0.03517594560980797, 0.029431503266096115, 0.11817837506532669, -0.028016554191708565, 0.022080285474658012, -0.06285881251096725, -0.0031769569031894207, 0.01168547011911869, -0.040770817548036575, -0.012094931676983833, -0.0325000062584877, -0.006289315409958363, 0.006253404542803764, -0.016117960214614868, -0.03501472249627113, -0.045781396329402924, 0.0035682551097124815, -0.030213117599487305, 0.09166821092367172, 0.03454382345080376, 0.09566415101289749, -0.04360272362828255, 0.0436173677444458, 0.023002460598945618, 0.02143205888569355, -0.13667665421962738, 0.005852234549820423, 0.0017936286749318242, 0.022008907049894333, -0.04509998485445976, 0.007269304245710373, -0.030220864340662956, -0.06865787506103516, 0.028846608474850655, -0.07546234875917435, -0.036407750099897385, -0.036832403391599655, 0.010744166560471058, -0.06295491755008698, -0.002321469597518444, -0.03676566109061241, 0.057131897658109665, -0.01252111978828907, -0.002648442517966032, 0.024414509534835815, 0.009574111551046371, 0.021126048639416695, -0.03624880313873291, -0.05747567117214203, 0.03793046995997429, 0.017946546897292137, -0.003983032424002886, 0.037328097969293594, 0.056330565363168716, 0.012158399447798729, -0.040231794118881226, 0.03157394006848335, 0.0005059956456534564, 0.001693734317086637, 0.01938038505613804, 0.049598436802625656, -0.03340059518814087, -0.003126900177448988, 0.0951661616563797, -0.01993274688720703, -0.0042772842571139336, 0.030016550794243813, -0.007327965926378965, -0.014459466561675072, -0.0418870784342289, 0.027696391567587852, -0.03285537287592888, 0.023874808102846146, -0.010848856531083584, 0.02092454582452774, -0.02409767359495163, 0.014000443741679192, 0.05264633521437645, -0.0025699010584503412, -0.050426483154296875, 0.060366690158843994, 0.005331707652658224, -0.008782695978879929, 0.003712243400514126, -0.02117607742547989, -0.06160607561469078, 0.09457441419363022, 0.0034710955806076527, -0.24268922209739685, 0.009060705080628395, 0.06602302938699722, 0.02708512730896473, -0.022720463573932648, 0.03076346404850483, 0.014948315918445587, -0.027966778725385666, -0.022876525297760963, 0.04155518114566803, 0.005592794623225927, 0.015584615990519524, -0.02671661227941513, -0.008161716163158417, 0.05439923331141472, 0.018895212560892105, 0.07206857204437256, -0.02962302602827549, 0.021533140912652016, -0.03597300872206688, 0.0034310445189476013, -0.013749945908784866, 0.14934328198432922, -0.0034846204798668623, 0.013771235942840576, 0.028978735208511353, -0.002851263154298067, 0.022945484146475792, 0.05290772020816803, 0.02197279781103134, 0.0034160176292061806, 0.010880015790462494, 0.03113897517323494, 0.006766865029931068, -0.0036141921300441027, -0.07917556911706924, -0.0024483567103743553, 0.02249809540808201, 0.003414978040382266, 0.020766522735357285, 0.009763874113559723, -0.02965167537331581, 0.01908857189118862, 0.04560372978448868, 0.06905188411474228, -0.022350305691361427, 0.0005290621775202453, -0.0568024143576622, -0.05726519227027893, -0.018832791596651077, -0.059701740741729736, -0.0492110475897789, 0.024320265278220177, -0.0015979963354766369, 0.0173152144998312, 0.07838848233222961, 0.02110842429101467, -0.04075833410024643, 0.009716380387544632, 0.013854306191205978, -0.006118105724453926, -0.06072148680686951, 0.09882191568613052, 0.049559347331523895, 0.040512844920158386 ]
[ -0.007410751190036535, 0.005429987795650959, 0.003383752889931202, -0.004375583492219448, 0.0046371035277843475, -0.03277530521154404, 0.009098722599446774, 0.02154161036014557, -0.008710465393960476, 0.010808137245476246, -0.02270231582224369, 0.013807236216962337, 0.026362275704741478, -0.007817994803190231, 0.026218172162771225, -0.012202071025967598, 0.016899539157748222, -0.016890186816453934, 0.02575155347585678, -0.03313412517309189, -0.004031833726912737, 0.02856534719467163, -0.007414691615849733, -0.0085899094119668, -0.005047746002674103, -0.013500978238880634, -0.05920491740107536, 0.032913897186517715, 0.02589109167456627, -0.12430267035961151, -0.019091540947556496, -0.01423304807394743, -0.0010882719652727246, 0.007094115484505892, 0.04220421612262726, 0.032494284212589264, 0.004133916925638914, -0.019504040479660034, -0.023171858862042427, 0.02484547719359398, 0.023837421089410782, -0.019030528143048286, -0.013363335281610489, -0.015261346474289894, 0.013724780641496181, -0.012644389644265175, -0.017170459032058716, -0.06221138313412666, -0.015318618156015873, -0.01229839026927948, -0.028901072219014168, -0.032870542258024216, 0.007867654785513878, -0.002470803214237094, 0.028410151600837708, -0.00161328527610749, 0.03191114962100983, 0.01317170076072216, 0.007992186583578587, 0.000030061390134505928, 0.02347809635102749, -0.004022030159831047, -0.04763263836503029, -0.03166176751255989, -0.017208930104970932, 0.008017037063837051, 0.01888413168489933, 0.0037241189274936914, -0.04796099662780762, 0.011904371902346611, -0.02421056479215622, 0.035220131278038025, -0.024405846372246742, -0.032746899873018265, -0.014144986867904663, 0.019692283123731613, 0.003493556519970298, 0.00033305850229226053, 0.017114687711000443, -0.003973008599132299, -0.030474575236439705, 0.0307643823325634, -0.0029474059119820595, 0.008965029381215572, -0.04505247622728348, 0.010527359321713448, 0.027946919202804565, 0.012252629734575748, 0.02919342927634716, 0.024250075221061707, -0.03556642308831215, 0.02389247715473175, 0.014598150737583637, -0.0043617612682282925, -0.09415964037179947, -0.008587130345404148, -0.016606448218226433, -0.03394610434770584, -0.00458525400608778, 0.8529513478279114, -0.008639889769256115, 0.007541727740317583, 0.0316733680665493, -0.0073333606123924255, 0.011745009571313858, 0.014992067590355873, -0.031439680606126785, 0.020130809396505356, 0.009741412475705147, -0.026480382308363914, -0.003661408554762602, 0.021297501400113106, 0.006849564146250486, -0.003972986713051796, 0.009443288668990135, 0.010492573492228985, -0.00883728452026844, -0.014460335485637188, 0.00775021081790328, -0.006555936299264431, 0.04688730090856552, 0.013665447011590004, 0.013864176347851753, 0.0014620799338445067, 0.024611102417111397, -0.14901414513587952, 0.01984548382461071, -9.181558622242416e-33, 0.03698066994547844, -0.01871083304286003, -0.026626763865351677, 0.009533550590276718, 0.043523237109184265, -0.009026804007589817, 0.01236086804419756, 0.012113811448216438, -0.02480901964008808, -0.028738295659422874, -0.02218681387603283, -0.03376032039523125, 0.020480668172240257, -0.030208880081772804, 0.030432119965553284, -0.045387767255306244, 0.008582646027207375, 0.04609711095690727, -0.00033862097188830376, 0.010592043399810791, 0.04103640839457512, 0.008959758095443249, -0.05280981585383415, -0.002544175600633025, 0.04200677201151848, 0.00635514734312892, 0.0017572786891832948, 0.027090249583125114, -0.0034142585936933756, -0.04598106071352959, -0.02078092284500599, 0.06197750195860863, 0.005640266928821802, -0.03286690637469292, -0.0029319431632757187, -0.05939636006951332, -0.03648639842867851, -0.0029601403512060642, -0.023329582065343857, -0.045286547392606735, -0.02077750489115715, 0.005944917909801006, -0.04303897172212601, 0.014592193998396397, 0.00309873279184103, -0.003709416138008237, 0.003980353474617004, 0.0042221518233418465, 0.05247803032398224, -0.019799651578068733, 0.012800212018191814, 0.03348471596837044, 0.031242121011018753, 0.014225651510059834, 0.004377862438559532, 0.017780965194106102, 0.01375710777938366, -0.02260609343647957, 0.0005163672030903399, 0.02085075154900551, 0.007264241110533476, -0.009679828770458698, -0.025425424799323082, 0.03482158109545708, -0.012771708890795708, -0.01182352565228939, 0.02138863131403923, 0.02806648053228855, 0.021581308916211128, 0.011760029941797256, -0.06374020129442215, -0.0032995163928717375, -0.0071253408677875996, -0.03107275441288948, -0.015515352599322796, -0.02203093282878399, -0.006061093881726265, 0.027493547648191452, -0.03607185184955597, 0.039558593183755875, 0.009222765453159809, -0.004973625764250755, -0.03938709944486618, -0.028898563235998154, -0.018423421308398247, 0.01780611276626587, -0.0042329635471105576, 0.006178546696901321, -0.01753387041389942, 0.01866234466433525, 0.03371124342083931, -0.015672562643885612, 0.008959092199802399, -0.026364240795373917, -0.02811058796942234, 9.49115003878642e-33, -0.004871146287769079, 0.008490144275128841, -0.04296059533953667, 0.007215708494186401, 0.04164393991231918, -0.023095646873116493, 0.036775704473257065, -0.007181480061262846, -0.05233193188905716, 0.045038435608148575, -0.02440544031560421, 0.01668311096727848, -0.04245791956782341, 0.007650670595467091, -0.011370017193257809, -0.035041771829128265, 0.014900858514010906, -0.02701900340616703, 0.04594143480062485, 0.013965383172035217, 0.0011007749708369374, 0.0005920911789871752, 0.010460141114890575, 0.0034797699190676212, 0.021618058905005455, 0.05263134464621544, -0.032830964773893356, 0.025124909356236458, -0.007799671031534672, -0.011937384493649006, 0.042345672845840454, -0.029686318710446358, 0.00593049731105566, -0.041712500154972076, -0.0019871233962476254, 0.000915777578484267, -0.04195912554860115, -0.007041057106107473, 0.030477996915578842, -0.015990128740668297, 0.02700052224099636, -0.01037315372377634, 0.012333085760474205, 0.03224068135023117, 0.001090944278985262, 0.025386199355125427, 0.0006791111663915217, -0.03783451393246651, -0.02141072228550911, 0.010663643479347229, -0.006528211757540703, 0.020556442439556122, 0.014262184500694275, -0.0037128659896552563, -0.008501428179442883, -0.008474152535200119, -0.043176405131816864, -0.014988581649959087, -0.04640130698680878, 0.031076354905962944, 0.02099485695362091, -0.0014934883220121264, 0.026025019586086273, 0.021554624661803246, -0.04145987331867218, 0.017204439267516136, -0.0003697082865983248, 0.025526855140924454, -0.017286164686083794, 0.03471456468105316, -0.021535305306315422, 0.030694328248500824, -0.014666607603430748, 0.04577556625008583, -0.012833358719944954, -0.04348049685359001, -0.04370555654168129, 0.015920335426926613, -0.03551141172647476, 0.02784014493227005, 0.00037369129131548107, 0.022701900452375412, -0.014751874841749668, 0.014296678826212883, -0.02812148444354534, -0.007446004543453455, -0.01749933511018753, 0.044336430728435516, 0.00970932375639677, 0.006254122126847506, -0.014692922122776508, -0.03554612770676613, -0.023758888244628906, 0.00540729146450758, -0.01297142542898655, -1.4392538716379022e-8, 0.003603610210120678, 0.042827412486076355, -0.014354575425386429, 0.012391134165227413, -0.0015918868593871593, -0.014374504797160625, 0.010500743053853512, -0.0017099855467677116, 0.015040304511785507, 0.03079184517264366, 0.019728219136595726, -0.019914833828806877, -0.02236693724989891, 0.031902845948934555, 0.010343706235289574, -0.019988110288977623, -0.014020079746842384, 0.0033373876940459013, 0.02482193522155285, 0.0017660368466749787, 0.027052665129303932, 0.057515647262334824, -0.01945049874484539, 0.01438377145677805, -0.006001279689371586, 0.0016197878867387772, -0.00216163182631135, -0.051190316677093506, 0.006470397114753723, 0.03148539736866951, 0.03329896554350853, -0.015352445654571056, -0.035575829446315765, 0.03733547776937485, 0.005873544607311487, -0.023274578154087067, 0.016916660591959953, 0.016194846481084824, 0.02856222540140152, 0.006393212825059891, -0.016524534672498703, 0.02586793527007103, 0.010898811742663383, -0.016139231622219086, -0.013401763513684273, 0.008934303186833858, -0.04048550873994827, 0.004150453954935074, 0.006943002808839083, -0.04461938887834549, 0.03369617462158203, -0.006480627227574587, -0.018366124480962753, 0.058689992874860764, 0.039567168802022934, -0.003096295055001974, 0.007350161671638489, -0.026393743231892586, -0.003703078953549266, 0.048518553376197815, 0.014103676192462444, 0.01227662991732359, 0.025714820250868797, -0.00827896036207676 ]
theres-no-such-thing-as-a-devops-team-some-thoughts
https://markhneedham.com/blog/2012/11/30/theres-no-such-thing-as-a-devops-team-some-thoughts
false
2012-11-06 12:42:36
Clojure: Thread last (->>) vs Thread first (\->)
[ "clojure" ]
[ "Clojure" ]
In many of the Clojure examples that I've come across the http://clojuredocs.org/clojure_core/clojure.core/-%3E%3E[thread last (->>)] macro is used to make it easier (for people from a non lispy background!) to see the transformations that the initial data structure is going through. In one of my recent posts I showed how http://www.markhneedham.com/blog/2012/10/30/clojure-mahouts-entropy-function/[Jen & I had rewritten Mahout's entropy function in Clojure]: [source,lisp] ---- (defn calculate-entropy [counts data-size] (->> counts (remove #{0}) (map (partial individual-entropy data-size)) (reduce +))) ---- Here we are using the thread last operator to first pass +++<cite>+++counts+++</cite>+++ as the last argument of the +++<cite>+++remove+++</cite>+++ function on the next line, then to pass the result of that to the +++<cite>+++map+++</cite>+++ function on the next line and so on. The function expands out like this: [source,lisp] ---- (remove #{0} counts) ---- [source,lisp] ---- (map (partial individual-entropy data-size) (remove #{0} counts)) ---- [source,lisp] ---- (reduce + (map (partial individual-entropy data-size) (remove #{0} counts))) ---- We can also use +++<cite>+++clojure.walk/macroexpand-all+++</cite>+++ to see the expanded form of this function: [source,lisp] ---- user> (use 'clojure.walk) user> (macroexpand-all '(->> counts (remove #{0}) (map (partial individual-entropy data-size)) (reduce +))) (reduce + (map (partial individual-entropy data-size) (remove #{0} counts))) ---- I recently came across the http://clojuredocs.org/clojure_core/clojure.core/-%3E[thread first (\->)] macro while http://blog.jayfields.com/2012/09/clojure-refactoring-from-thread-last-to.html[reading one of Jay Fields' blog posts] and thought I'd have a play around with it. The thread first (\->) macro is similar but it passes its first argument as the first argument to the next form, then passes the result of that as the first argument to the next form and so on. It's pointless to convert this function to use +++<cite>+++\->+++</cite>+++ because all the functions take the previous result as their last argument but just in case we wanted to the equivalent function would look like this: [source,lisp] ---- (defn calculate-entropy [counts data-size] (-> counts (->> (remove #{0})) (->> (map (partial individual-entropy data-size))) (->> (reduce +)))) ---- As you can see we end up using ->> to pass +++<cite>+++counts+++</cite>+++ as the last argument to +++<cite>+++remove+++</cite>+++, then +++<cite>+++map+++</cite>+++ and then +++<cite>+++reduce+++</cite>+++. The function would expand out like this: [source,lisp] ---- (->> counts (remove #{0})) ---- [source,lisp] ---- (->> (->> counts (remove #{0})) (map (partial individual-entropy data-size))) ---- [source,lisp] ---- (->> (->> (->> counts (remove #{0})) (map (partial individual-entropy data-size))) (reduce +)) ---- If we then evaluate the +++<cite>+++->>+++</cite>+++ macro we end up with the nested form: [source,lisp] ---- (->> (->> (remove #{0} counts) (map (partial individual-entropy data-size))) (reduce +)) ---- [source,lisp] ---- (->> (map (partial individual-entropy data-size) (remove #{0} counts)) (reduce +)) ---- [source,lisp] ---- (reduce + (map (partial individual-entropy data-size) (remove #{0} counts))) ---- I haven't written enough Clojure to come across a real use for the thread first macro but Jay has http://blog.jayfields.com/2012/09/clojure-refactoring-from-thread-last-to.html[an example on his blog showing how he refactored some code which was initially using the thread last macro to use thread first instead].
null
null
[ -0.004765957593917847, 0.008215764537453651, -0.01090505626052618, -0.031008971855044365, 0.06847422569990158, 0.0018898164853453636, 0.0119647067040205, -0.003083536634221673, -0.014124748297035694, -0.013373440131545067, -0.010666128247976303, -0.019561147317290306, -0.05726350471377373, 0.028697729110717773, 0.03305225819349289, 0.049947381019592285, 0.06653816252946854, -0.021782727912068367, 0.03546455502510071, 0.024573491886258125, 0.049624331295490265, 0.06115056574344635, -0.0014391967561095953, 0.005486402660608292, 0.028267137706279755, -0.008440719917416573, 0.011455467902123928, 0.010287652723491192, -0.05908920243382454, 0.008581872098147869, 0.029456930235028267, -0.006613643374294043, -0.013016795739531517, 0.00004643311331165023, 0.04417025297880173, -0.0035623598378151655, -0.02051321417093277, -0.0026252001989632845, -0.02170630544424057, 0.025296319276094437, -0.06523095816373825, 0.010681909509003162, -0.02192935347557068, 0.009014114737510681, -0.04430250823497772, 0.012254864908754826, -0.06975515931844711, 0.019032428041100502, -0.04110367223620415, 0.006220797076821327, -0.06501800566911697, -0.009417105466127396, 0.005769728217273951, 0.011330007575452328, -0.00043798997648991644, 0.028982460498809814, 0.011738528497517109, -0.06807828694581985, 0.05650482326745987, -0.019547538831830025, 0.019976221024990082, 0.008789865300059319, 0.020193999633193016, 0.03767276555299759, 0.0011630762601271272, -0.03874269127845764, -0.019274262711405754, 0.042705319821834564, -0.07384569942951202, -0.011692146770656109, 0.0012469298671931028, 0.0053859069012105465, -0.025528622791171074, 0.002618317026644945, 0.0031830724328756332, -0.033059921115636826, 0.0038561252877116203, 0.051034584641456604, -0.014007540419697762, 0.05559157580137253, -0.023576868698000908, 0.01819716952741146, 0.041535913944244385, 0.026689397171139717, 0.033435843884944916, -0.010611003264784813, -0.05053433030843735, 0.02177770435810089, -0.04221724718809128, 0.055710434913635254, -0.028900017961859703, -0.03692001849412918, -0.007196823135018349, 0.006016119848936796, 0.014264107681810856, -0.007222435902804136, -0.0058389948680996895, 0.015668168663978577, -0.01814732700586319, -0.0288090743124485, -0.02259014919400215, -0.039611417800188065, -0.004884789697825909, 0.011304615065455437, -0.10295731574296951, -0.0259279515594244, -0.01617581956088543, -0.0058222669176757336, 0.022203821688890457, -0.011247944086790085, -0.030232220888137817, -0.004222892690449953, -0.030124789103865623, 0.012238259427249432, -0.06592632830142975, 0.049069829285144806, -0.0023556528612971306, -0.03223353624343872, 0.006062690168619156, 0.03767456114292145, 0.03351634740829468, 0.02081788331270218, 0.041256412863731384, 0.06013621389865875, -0.002221397589892149, 0.016849545761942863, -0.00202143844217062, 0.06020798161625862, 0.004031674470752478, -0.05601853132247925, -0.004090716131031513, 0.07384109497070312, -0.01093942392617464, -0.010729245841503143, 0.00041678291745483875, -0.04957309365272522, -0.03963971883058548, -0.002057737670838833, 0.04104788973927498, 0.03267557546496391, 0.029169486835598946, -0.009721746668219566, -0.006632277276366949, 0.004942500032484531, 0.04249333217740059, 0.016147544607520103, -0.0338163860142231, -0.010241459123790264, -0.01950857974588871, 0.036381933838129044, 0.03901425749063492, 0.04488108679652214, 0.0648171529173851, -0.010965347290039062, 0.04339168220758438, 0.07133685797452927, 0.0008329360862262547, 0.01972474344074726, -0.007062763907015324, 0.013525054790079594, 0.023326778784394264, 0.022474756464362144, 0.01652449555695057, 0.04290269687771797, 0.0038089449517428875, -0.022649405524134636, 0.009988746605813503, 0.05677096173167229, 0.004375155549496412, -0.02421039156615734, -0.039323244243860245, -0.04963857680559158, 0.06290043145418167, 0.002498858142644167, -0.017603425309062004, 0.039167795330286026, 0.10467072576284409, 0.038300227373838425, 0.07516255974769592, -0.005437458399683237, -0.06555135548114777, 0.03929942846298218, 0.029769601300358772, 0.0163866113871336, 0.01572614721953869, -0.022891471162438393, 0.07178294658660889, 0.012308279983699322, 0.037727274000644684, 0.0034141570795327425, -0.044108305126428604, -0.03686561435461044, -0.012133484706282616, -0.006731780711561441, 0.07021058350801468, -0.03807363659143448, 0.017020823433995247, 0.06471122801303864, 0.008124441839754581, 0.04097415506839752, 0.012460434809327126, 0.008666927926242352, 0.03983325883746147, -0.06341461092233658, -0.04930316284298897, 0.03660750389099121, 0.020641488954424858, -0.03525292128324509, -0.05464482679963112, 0.03035868890583515, 0.0005272288108244538, 0.02448686771094799, 0.013699396513402462, -0.017048083245754242, 0.033624373376369476, 0.021969882771372795, 0.0356312058866024, -0.032526180148124695, 0.026432344689965248, -0.01937532052397728, 0.008812467567622662, 0.018357479944825172, 0.001731816795654595, 0.00935577042400837, 0.01686295121908188, 0.1165325939655304, 0.06469842046499252, -0.008943561464548111, -0.06391005963087082, 0.030545692890882492, 0.0055175707675516605, -0.05014560744166374, -0.021251987665891647, 0.006671990267932415, 0.01857021450996399, -0.009288381785154343, -0.004321384709328413, 0.014020927250385284, 0.003471479518339038, -0.04852300137281418, -0.017110494896769524, 0.07615993916988373, -0.003419515211135149, 0.06713705509901047, 0.04283424839377403, -0.006119153928011656, 0.012231636792421341, -0.05041414126753807, -0.08004841953516006, 0.010181766003370285, -0.016106143593788147, -0.02919408679008484, 0.08947136253118515, -0.03947168588638306, -0.04064085707068443, -0.031483933329582214, -0.05368691310286522, 0.024798711761832237, 0.042881060391664505, 0.06404934078454971, -0.008274382911622524, 0.031101850792765617, -0.04420674592256546, -0.001259521348401904, -0.05150897428393364, -0.06755925714969635, -0.017246605828404427, -0.018696067854762077, -0.00830664113163948, 0.01311800628900528, 0.004920479375869036, 0.007845032960176468, 0.034657739102840424, -0.015308650210499763, -0.0005930108018219471, -0.03323627635836601, 0.004606466740369797, 0.009892424568533897, -0.036193590611219406, -0.023425674065947533, -0.022477101534605026, 0.0632481500506401, -0.013038923032581806, -0.035205770283937454, 0.007003705948591232, -0.031780537217855453, 0.04638396576046944, -0.07539191842079163, -0.021343551576137543, 0.009620795026421547, 0.020229319110512733, 0.008962668478488922, -0.03363824263215065, 0.022829771041870117, 0.06095997989177704, 0.016109369695186615, -0.002476708497852087, -0.007273718249052763, 0.01609385944902897, 0.03395448997616768, -0.014175801537930965, 0.005746250040829182, 0.028130222111940384, 0.013802393339574337, -0.005263492465019226, -0.04715168848633766, -0.0014998710248619318, 0.013644726946949959, -0.2608494460582733, 0.05233268812298775, -0.02812618389725685, -0.024574188515543938, -0.000046549135731766, 0.006494481582194567, -0.000886556226760149, -0.046405892819166183, -0.02745937928557396, -0.014467645436525345, -0.017939437180757523, -0.023062562569975853, -0.022984841838479042, 0.060153380036354065, 0.004901167470961809, 0.01997983641922474, 0.02139168418943882, -0.025986216962337494, -0.009691976010799408, 0.056426361203193665, 0.027073396369814873, -0.06498486548662186, -0.008665407076478004, 0.033906470984220505, 0.0034779924899339676, 0.008082710206508636, -0.09597034007310867, 0.03328591212630272, -0.039014898240566254, -0.02213665097951889, -0.002807391807436943, -0.01672247238457203, 0.011075591668486595, -0.027825985103845596, -0.01806008629500866, -0.016398491337895393, 0.015464307740330696, 0.02297351509332657, 0.030071305111050606, 0.022001268342137337, -0.004365264438092709, -0.033343326300382614, 0.019179167225956917, -0.024330919608473778, 0.06482095271348953, 0.013804415240883827, -0.08367576450109482, -0.006429382599890232, -0.0179256834089756, 0.07650014013051987, -0.02360966056585312, -0.05719851329922676, -0.034970466047525406, 0.055505670607089996, -0.007696976885199547, -0.029063556343317032, -0.028062423691153526, -0.03525492176413536, -0.043719708919525146, -0.03168546408414841, -0.02614978887140751, -0.0694517120718956, 0.002134908689185977, -0.0565183125436306, -0.026450758799910545, -0.04306918382644653, -0.09539399296045303, 0.010370465926826, 0.060140736401081085, 0.014622562564909458, -0.027793191373348236, -0.010577080771327019, -0.0397065095603466, -0.10541566461324692, -0.04018019884824753, -0.07019855827093124, -0.03899362310767174, -0.01010079775005579, 0.000233445709454827, 0.05981123447418213, -0.045058511197566986, -0.0409834086894989, 0.021911218762397766, 0.05005943030118942, 0.03265996277332306, -0.033417556434869766, -0.002717354567721486, -0.02211887575685978, -0.02898442931473255, -0.022247206419706345, 0.043344203382730484, -0.013782443478703499, -0.04304291307926178, -0.03888004273176193, 0.011591385118663311, -0.004097799304872751, 0.026941627264022827, -0.0016057980246841908, 0.02746553346514702, 0.03667539358139038, 0.042419735342264175, -0.04998008534312248, 0.01350350771099329, -0.020215632393956184, -0.014577419497072697, 0.017064981162548065, -0.05021291971206665, 0.02812652848660946, 0.023422950878739357, -0.011129586026072502, -0.0382169708609581, -0.04007479175925255, 0.006215050350874662, -0.06830350309610367, -0.029355350881814957, 0.0009490629890933633, -0.004046295769512653, 0.018243802711367607, 0.06247931718826294, -0.019960178062319756, -0.07535295933485031, 0.0242458563297987, -0.01875162497162819, -0.07127713412046432, -0.05211501568555832, -0.033606868237257004, -0.01858067885041237, -0.02899332530796528, 0.0267354566603899, 0.0388389490544796, -0.020960478112101555, 0.020702200010418892, 0.016554320231080055, -0.03650284931063652, 0.04341250658035278, -0.020899174734950066, -0.017365148290991783, -0.02897021360695362, -0.02329954318702221, -0.005923286080360413, 0.006496676709502935, -0.012737489305436611, 0.04012397304177284, 0.026058172807097435, 0.009914637543261051, 0.031166331842541695, 0.03712386637926102, -0.000059469708503456786, -0.010489783249795437, 0.027444979175925255, 0.0380803644657135, -0.02244049496948719, 0.0562695749104023, -0.03169931471347809, 0.019824152812361717, 0.0014047174481675029, 0.04615579545497894, -0.021915651857852936, -0.04034470394253731, -0.053246352821588516, 0.033010758459568024, -0.011974642984569073, -0.019997399300336838, -0.015225966461002827, -0.0233597531914711, 0.042163144797086716, -0.02254134602844715, 0.05590128153562546, 0.009918107651174068, 0.00020652056264225394, 0.0037312214262783527, -0.009260496124625206, -0.06501182168722153, 0.023870669305324554, -0.0029211905784904957, 0.0029767740052193403, 0.01676172949373722, 0.01966547779738903, 0.0211877953261137, 0.00042014202335849404, -0.0013713983353227377, 0.0008601132431067526, 0.0401681624352932, 0.027310505509376526, 0.03039991296827793, 0.009990060701966286, 0.000879460945725441, 0.01983499713242054, -0.028706390410661697, -0.02218596264719963, -0.004362721927464008, -0.00494189839810133, -0.028022531419992447, -0.01657085493206978, -0.03510234132409096, -0.06903340667486191, 0.012457738630473614, 0.06812435388565063, -0.018686817958950996, -0.002211007522419095, 0.011304116807878017, 0.0016500313067808747, -0.023775586858391762, 0.0035820845514535904, 0.06274837255477905, -0.04294179007411003, 0.01073506660759449, -0.003768855705857277, 0.008213212713599205, 0.02869538590312004, 0.003918193746358156, -0.044590651988983154, -0.014008105732500553, -0.008227541111409664, -0.005716340150684118, -0.018544649705290794, -0.028994785621762276, -0.01023979764431715, 0.004008457530289888, -0.011686393991112709, -0.006763321813195944, -0.012750498950481415, -0.006373689975589514, -0.012360377237200737, -0.017961740493774414, -0.009055232629179955, -0.013567516580224037, 0.03081079199910164, 0.03200424090027809, -0.02493962086737156, 0.023854190483689308, -0.03813519328832626, 0.04266674444079399, 0.008761350996792316, -0.00180557812564075, -0.03216301277279854, -0.04118199273943901, 0.038835156708955765, -0.02581595629453659, 0.06117287278175354, -0.012920979410409927, -0.0006348603637889028, -0.03961322456598282, 0.001835258794017136, -0.02507723867893219, -0.014140711165964603, -0.01108307484537363, -0.026059024035930634, 0.020895853638648987, 0.052975546568632126, -0.02659926936030388, 0.04827556014060974, -0.041696131229400635, -0.03717133402824402, 0.05911099165678024, -0.017504965886473656, -0.0653974786400795, -0.026697739958763123, -0.024223871529102325, 0.004979800432920456, 0.008972421288490295, 0.02164604887366295, -0.05286393687129021, 0.03225709870457649, 0.034001100808382034, 0.019535280764102936, 0.013069575652480125, -0.009544999338686466, 0.00699169235303998, -0.046079400926828384, 0.003029764164239168, -0.10613970458507538, 0.0036462852731347084, 0.04718079790472984, 0.020797614008188248, -0.003878226736560464, 0.0008874356281012297, -0.031516656279563904, 0.06006138026714325, -0.06834478676319122, 0.004361825529485941, 0.03722736984491348, 0.008338874205946922, 0.01162668876349926, 0.04967335984110832, -0.042025599628686905, 0.009045012295246124, 0.03820996731519699, -0.022060083225369453, 0.0016246938612312078, -0.04899701476097107, 0.03454270958900452, -0.00018134953279513866, 0.027180280536413193, -0.009014053270220757, 0.018207401037216187, 0.058868587017059326, 0.033355824649333954, 0.004825811367481947, 0.051900289952754974, -0.013273406773805618, 0.009742419235408306, 0.04880863055586815, -0.01344322506338358, -0.01379912905395031, 0.021657174453139305, -0.03761504590511322, -0.04937433451414108, 0.027668358758091927, 0.023748043924570084, -0.016580821946263313, -0.04347080737352371, 0.08646783232688904, 0.03572136536240578, -0.02728112041950226, -0.05687492713332176, 0.03303275257349014, -0.07340622693300247, 0.021160444244742393, -0.024598319083452225, 0.004138334188610315, -0.03665726259350777, 0.04984701797366142, -0.0127470837906003, 0.029154425486922264, 0.06696179509162903, 0.012800836004316807, -0.0253523588180542, -0.008549204096198082, 0.07390382885932922, 0.08619064092636108, 0.06870114803314209, 0.0008392403833568096, 0.03217410296201706, -0.03633524477481842, -0.026130566373467445, -0.013100610114634037, 0.00818672589957714, 0.002142735058441758, 0.0021345485001802444, 0.05452675744891167, 0.08503863960504532, -0.04079902544617653, 0.09087876230478287, -0.020933441817760468, -0.024205217137932777, -0.025259600952267647, 0.013157389126718044, 0.05933903157711029, 0.055369481444358826, 0.0038644536398351192, 0.022134805098176003, 0.00044279100256972015, -0.03286432474851608, 0.05033768713474274, 0.0035023195669054985, -0.021890437230467796, -0.01444653607904911, 0.01157581340521574, 0.024108633399009705, 0.03971579670906067, 0.05886314809322357, 0.08405961096286774, -0.04735523462295532, 0.0009653778397478163, 0.030990920960903168, 0.021127164363861084, 0.018033958971500397, -0.0012908922508358955, -0.008027173578739166, -0.021375812590122223, 0.00192037143278867, -0.03280932456254959, -0.02462279424071312, -0.03144528344273567, -0.06421753019094467, 0.011044259183108807, -0.016595369204878807, -0.047546565532684326, 0.0041062799282372, 0.008623423054814339, -0.03515583276748657, -0.05402207374572754, -0.039468035101890564, -0.04429049417376518, -0.0790485218167305, -0.0010710896458476782, -0.0019270391203463078, -0.038549210876226425, -0.03327035531401634, -0.0058296420611441135, -0.001737254555337131, 0.0021752221509814262, 0.04424230009317398, -0.025516770780086517, -0.012521727941930294, 0.01720592938363552, 0.012314170598983765, 0.050058458000421524, -0.007665230426937342, 0.046359460800886154, 0.0033099381253123283, -0.003517239587381482, -0.0033207321539521217, -0.0016084247035905719, 0.05459631234407425, 0.01388961635529995, -0.018949517980217934, -0.08520789444446564, 0.017770588397979736, 0.02461954765021801, 0.010781078599393368, -0.09079289436340332, 0.014860770665109158, 0.004420914221554995, -0.007467406801879406, 0.054344773292541504, -0.013443478383123875, -0.022954821586608887, -0.053938426077365875, -0.012034962885081768, 0.0028174982871860266, 0.03237411379814148, 0.020424768328666687, -0.011094015091657639, 0.07627737522125244, 0.033989064395427704, -0.03469908982515335, -0.004456530325114727, -0.030332455411553383, -0.03829573094844818, -0.007101398892700672, -0.03508475795388222, -0.007277877535670996, -0.027089033275842667, -0.06739978492259979, -0.0025494827423244715, 0.04219576716423035, -0.06558721512556076, -0.02754504233598709, -0.015494329854846, 0.038436032831668854, -0.014213413931429386, 0.04585031792521477, -0.028816064819693565, 0.036103762686252594, -0.01907569356262684, -0.02803206257522106, -0.021568458527326584, 0.016632331535220146, 0.018156467005610466, 0.02176608331501484, 0.019801944494247437, -0.0326571986079216, 0.008431129157543182, -0.02768784388899803, 0.0031305125448852777, 0.022567149251699448, -0.0284014530479908, 0.00948651134967804 ]
[ -0.09380576759576797, -0.026999928057193756, 0.00013203716662246734, -0.025655953213572502, -0.0026181426364928484, -0.02754039689898491, 0.03129570186138153, 0.0033819088712334633, 0.020566295832395554, -0.02030491642653942, -0.0023768728133291006, -0.04740200191736221, 0.012376541271805763, -0.011017248034477234, 0.10440174490213394, -0.004293657839298248, -0.03715163841843605, 0.007238638587296009, -0.06201408803462982, -0.028024891391396523, 0.03563643991947174, -0.07360965758562088, -0.03281509876251221, -0.05337778851389885, 0.04028090834617615, 0.04249543324112892, 0.049728039652109146, -0.03685513511300087, -0.000023399041310767643, -0.23574203252792358, 0.0073021408170461655, 0.0018507603090256453, 0.0498807318508625, -0.03532176464796066, 0.0015428592450916767, 0.040655434131622314, 0.021077845245599747, 0.03006262704730034, -0.04388056695461273, 0.045750707387924194, 0.04092880338430405, 0.03359542042016983, -0.030444275587797165, -0.05403010919690132, 0.050647132098674774, -0.013293169438838959, 0.022576922550797462, 0.016886334866285324, -0.043441955000162125, 0.026342185214161873, -0.06942025572061539, -0.0029752645641565323, 0.027150193229317665, 0.012875533662736416, 0.04326063394546509, 0.05082385987043381, 0.042789436876773834, 0.058346472680568695, 0.05442320182919502, 0.024652376770973206, 0.007686753291636705, 0.00746673671528697, -0.1433822363615036, 0.07307645678520203, 0.02436220273375511, 0.04053257405757904, -0.006816572044044733, -0.031008124351501465, -0.050847746431827545, 0.09045450389385223, 0.005437287501990795, -0.0015716400230303407, -0.0225016251206398, 0.0675782561302185, 0.003922352567315102, -0.03589150309562683, -0.022000741213560104, -0.0022504066582769156, 0.017870284616947174, -0.024701513350009918, -0.043197151273489, -0.010950975120067596, -0.018114158883690834, -0.008586903102695942, -0.008033460937440395, 0.018027450889348984, -0.014540943317115307, 0.039126522839069366, 0.020753324031829834, -0.018142100423574448, 0.024273190647363663, -0.01547552365809679, 0.06690045446157455, 0.032061830163002014, -0.08511334657669067, 0.003760230727493763, 0.004065689630806446, 0.03444220498204231, -0.01810005120933056, 0.39102664589881897, -0.04611419513821602, -0.003039364702999592, 0.04987894743680954, 0.027978332713246346, 0.012195873074233532, -0.0007894732989370823, 0.012800903990864754, -0.030235879123210907, 0.02176782116293907, -0.028265906497836113, -0.027951722964644432, -0.02509520761668682, 0.05425700172781944, -0.04712564870715141, 0.0061663552187383175, -0.009448854252696037, 0.08576817065477371, 0.016664914786815643, -0.014917926862835884, 0.014316669665277004, 0.027108049020171165, 0.007897603325545788, 0.033529214560985565, 0.015331619419157505, 0.04156500846147537, 0.02632122114300728, 0.008801562711596489, 0.06909996271133423, 0.047364212572574615, 0.016053253784775734, 0.01890263520181179, -0.0010184128768742085, -0.058456901460886, 0.008565300144255161, -0.00011272610572632402, -0.012686352245509624, 0.010769189335405827, -0.06734458357095718, 0.002973612630739808, 0.03759424015879631, -0.004519286565482616, 0.027749333530664444, 0.03191172331571579, -0.025681782513856888, -0.037624530494213104, 0.12064856290817261, -0.006524654105305672, -0.040027063339948654, -0.020072786137461662, -0.03650562837719917, 0.0029688358772546053, 0.040128227323293686, -0.01399525348097086, -0.07232446223497391, 0.04171852767467499, 0.04736051335930824, 0.05477128177881241, -0.005411702673882246, -0.08622292429208755, 0.00860796868801117, -0.054995015263557434, -0.010970219038426876, -0.028065690770745277, 0.0600501149892807, 0.004276447929441929, -0.04457765817642212, 0.018351303413510323, 0.015763573348522186, 0.008667835965752602, -0.07601598650217056, 0.009120361879467964, -0.002606538124382496, -0.03996298834681511, -0.002577058970928192, 0.07105005532503128, -0.023010678589344025, -0.04450245946645737, -0.05179707333445549, 0.06013771891593933, 0.020323019474744797, -0.030829114839434624, -0.013633054681122303, -0.05190129578113556, 0.02173749916255474, -0.025174500420689583, -0.051356058567762375, -0.034737929701805115, 0.002078448887914419, -0.03747712820768356, 0.041904717683792114, -0.014664183370769024, -0.005632844753563404, -0.01454020943492651, 0.05798674374818802, -0.05636751651763916, -0.03972000628709793, -0.010809975676238537, 0.002912716707214713, -0.04808962717652321, -0.043110255151987076, -0.013162617571651936, 0.06131887063384056, -0.021444160491228104, -0.00599430687725544, -0.06807520240545273, 0.01913212612271309, 0.029229342937469482, -0.055185724049806595, 0.0640256404876709, 0.02535274624824524, -0.022738635540008545, 0.009018794633448124, -0.02236345410346985, 0.03233270347118378, -0.005807738751173019, -0.005441430956125259, -0.018359288573265076, -0.04187311232089996, 0.014017700217664242, -0.012749395333230495, -0.05562599375844002, -0.06841064989566803, -0.07058455049991608, -0.35325103998184204, -0.04756736755371094, -0.0052167619578540325, -0.0202170442789793, 0.05337747931480408, -0.11358131468296051, 0.02232782170176506, -0.01219586655497551, -0.015961820259690285, -0.01479724608361721, 0.07038044184446335, -0.03500458225607872, -0.058978356420993805, -0.06462512910366058, 0.011602025479078293, 0.030237913131713867, 0.016160475090146065, -0.048440396785736084, -0.07925619930028915, 0.03229083865880966, 0.02662602812051773, -0.003371615195646882, -0.0026816860772669315, -0.06780274212360382, -0.02908247523009777, -0.03171936050057411, 0.07817000150680542, 0.0008786901016719639, 0.08659607172012329, -0.02718868851661682, 0.04007204249501228, -0.009770320728421211, -0.030429359525442123, -0.06423195451498032, -0.012358307838439941, -0.042729176580905914, 0.010068913921713829, -0.009448395110666752, 0.003562447614967823, -0.013924146071076393, -0.02256348542869091, 0.035347286611795425, -0.06948432326316833, -0.02304341457784176, -0.041684314608573914, 0.02927972935140133, -0.013764401897788048, -0.028569405898451805, -0.0320187546312809, 0.04505373537540436, 0.00574836228042841, 0.011304761283099651, 0.012042027898132801, 0.018728209659457207, 0.016294056549668312, -0.006829672027379274, -0.031025491654872894, -0.060335103422403336, -0.0030787279829382896, 0.0010518801864236593, 0.020658284425735474, 0.04309738054871559, 0.035639651119709015, -0.06754235923290253, -0.022331733256578445, -0.005393462721258402, 0.023371640592813492, -0.010320191271603107, 0.020852455869317055, -0.04134761914610863, -0.049225740134716034, 0.09739844501018524, 0.026828214526176453, -0.009567102417349815, 0.049544960260391235, 0.04895710572600365, 0.0014975297963246703, 0.02100592479109764, -0.00920010358095169, 0.012169905006885529, 0.03841680288314819, 0.01019980013370514, 0.03020191192626953, -0.027010919526219368, -0.0189684871584177, 0.03335578739643097, 0.0019167319405823946, -0.02898740954697132, 0.010839693248271942, 0.010664306581020355, -0.03940088674426079, 0.010256954468786716, 0.027193382382392883, -0.03760084509849548, 0.0862819105386734, 0.011796146631240845, -0.2573530972003937, 0.05521111562848091, 0.05173186957836151, 0.0650063082575798, -0.006536802276968956, 0.019231749698519707, 0.04693480581045151, -0.07472094893455505, -0.007452064193785191, 0.01715247705578804, 0.010014522820711136, 0.061321184039115906, 0.035445038229227066, 0.00980404857546091, 0.036145951598882675, -0.015267695300281048, 0.04495861008763313, -0.012787333689630032, 0.04029146581888199, 0.014609464444220066, 0.027754390612244606, -0.026928920298814774, 0.20486658811569214, 0.0026218299753963947, 0.017301741987466812, 0.022689325734972954, 0.0031844493933022022, 0.005026600323617458, 0.059457674622535706, 0.00010354394908063114, 0.006693188101053238, 0.028434189036488533, 0.03923638537526131, 0.017058279365301132, 0.034973666071891785, -0.01125609315931797, -0.029990609735250473, 0.03616795316338539, 0.0362151637673378, -0.01637587510049343, 0.02009394019842148, 0.009181450121104717, -0.02359538897871971, 0.029588250443339348, 0.08381077647209167, 0.00909363105893135, 0.014112439006567001, -0.025857696309685707, -0.04007833078503609, 0.01379406824707985, -0.009469078853726387, -0.02405029907822609, -0.001936502754688263, 0.018248314037919044, 0.016778921708464622, 0.06790579110383987, -0.00986488163471222, -0.03810298815369606, -0.003361597191542387, 0.0160916019231081, 0.013801433145999908, -0.0392511710524559, 0.10335477441549301, -0.033337075263261795, -0.008165622130036354 ]
[ 0.008958399295806885, 0.01733657903969288, 0.021454252302646637, 0.016954738646745682, 0.03269089758396149, -0.010527914389967918, 0.00808869581669569, 0.015008104965090752, 0.009223291650414467, -0.021073821932077408, 0.003151120152324438, -0.013163398951292038, 0.027805760502815247, -0.025837169960141182, -0.01207039412111044, 0.002326474990695715, -0.018900614231824875, 0.040619030594825745, 0.01989508606493473, 0.025980491191148758, 0.009146112948656082, 0.03509907051920891, 0.0349564366042614, 0.006768533494323492, -0.0014328223187476397, 0.022554153576493263, -0.013368305750191212, -0.020120160654187202, 0.03830168396234512, -0.12342173606157303, -0.029227325692772865, -0.006472310982644558, 0.025622304528951645, 0.027378281578421593, -0.008317428641021252, 0.04045616462826729, -0.024891206994652748, 0.004486130550503731, -0.027158018201589584, 0.0063622137531638145, 0.011424518190324306, 0.006921002175658941, 0.00043938899761997163, -0.014184081926941872, 0.008584028109908104, 0.04403897002339363, -0.020129619166254997, -0.06409802287817001, -0.009353965520858765, 0.03402384743094444, -0.026257453486323357, 0.04112090542912483, 0.02692498080432415, 0.011798537336289883, 0.04009804502129555, -0.02860627882182598, -0.03904423862695694, -0.022302718833088875, 0.010559814982116222, -0.03226914256811142, 0.010983855463564396, 0.01883750967681408, -0.06144527345895767, -0.013073363341391087, 0.018150022253394127, -0.06493198871612549, 0.019548475742340088, 0.03026840277016163, 0.014483150094747543, 0.000514159444719553, 0.013435868546366692, 0.026649562641978264, -0.012867331504821777, -0.057721350342035294, 0.0034428376238793135, 0.031009510159492493, -0.0051187630742788315, -0.041738566011190414, -0.025846993550658226, -0.0242256298661232, -0.007971973158419132, -0.008960326202213764, 0.048958051949739456, 0.009980486705899239, 0.006616147700697184, -0.04032258689403534, 0.014426297508180141, -0.01897396706044674, 0.03897137939929962, 0.011323971673846245, -0.02563462406396866, 0.03740748018026352, 0.009452893398702145, 0.003134714439511299, -0.06945838779211044, 0.02164168655872345, -0.024513771757483482, 0.009320412762463093, 0.006356320809572935, 0.8319724202156067, 0.0036171383690088987, 0.05169566348195076, 0.022525014355778694, 0.00849141739308834, -0.006509099621325731, -0.02152245305478573, 0.004771189298480749, -0.010672717355191708, 0.011056724935770035, 0.0363025888800621, 0.038847122341394424, 0.013634826056659222, 0.06072413921356201, -0.002953238319605589, 0.038793276995420456, 0.006766373757272959, 0.036327313631772995, 0.009997237473726273, 0.021340038627386093, 0.05867305397987366, 0.03333814814686775, 0.013420941308140755, 0.0009597425232641399, -0.022461598739027977, -0.009390008635818958, -0.14796167612075806, -0.003355927299708128, -6.296554591962784e-33, 0.01827320270240307, 0.004647955298423767, 0.025905247777700424, -0.02208406664431095, 0.0019559410866349936, -0.0017723782220855355, -0.014524392783641815, -0.04574786499142647, -0.0336061529815197, -0.017423806712031364, -0.01745891384780407, 0.03334851935505867, -0.010367387905716896, -0.0076336306519806385, 0.00122750923037529, -0.01500236801803112, 0.014686734415590763, 0.04541672393679619, 0.011761793866753578, -0.0036063974257558584, -0.0030407120939344168, 0.013695400208234787, 0.012120910920202732, 0.0037150068674236536, 0.027154069393873215, 0.014461117796599865, 0.04193385690450668, -0.0065568359568715096, -0.01408841647207737, -0.044257938861846924, -0.024136021733283997, -0.00926551315933466, 0.004105121362954378, -0.018887123093008995, 0.019309502094984055, -0.04655132442712784, -0.017047759145498276, 0.010422158055007458, -0.04771668091416359, -0.06029050797224045, -0.006173500791192055, -0.006819333415478468, -0.029139624908566475, -0.0337521918118, -0.034437764436006546, -0.012790105305612087, 0.020046884194016457, 0.0380542054772377, -0.0004513403691817075, 0.03652127459645271, 0.04196436330676079, -0.017100052908062935, -0.0038374762516468763, -0.019226865842938423, -0.019739672541618347, -0.006772964261472225, -0.030097980052232742, -0.026106329634785652, -0.0186979528516531, 0.034692879766225815, -0.011938321404159069, 0.02023443765938282, 0.005327760241925716, 0.013932140544056892, 0.01843365654349327, -0.03022930398583412, -0.03091401793062687, 0.003172884229570627, 0.033621758222579956, 0.007517610676586628, -0.03812170401215553, 0.00024103822943288833, -0.004242721013724804, 0.012546305544674397, 0.029177313670516014, -0.025763988494873047, -0.030884886160492897, -0.06054312735795975, -0.025259196758270264, 0.05930072069168091, -0.006456158123910427, -0.05223974213004112, 0.011894911527633667, -0.003313052002340555, -0.010792775079607964, 0.012851713225245476, -0.015739846974611282, 0.019454682245850563, -0.02169729210436344, 0.0007863283390179276, 0.0398658849298954, -0.023162303492426872, 0.049831125885248184, -0.005559754557907581, -0.07870686799287796, 6.565467291812614e-33, -0.06291463971138, -0.0014129338087514043, 0.019626434892416, 0.005325881764292717, -0.012966596521437168, -0.018806131556630135, 0.03743740916252136, -0.019268393516540527, -0.021872039884328842, 0.026752930134534836, -0.03354298323392868, -0.03082972951233387, 0.012095414102077484, 0.017428908497095108, 0.06632128357887268, 0.035102419555187225, -0.0050121876411139965, -0.013388436287641525, -0.00796706322580576, 0.023073280230164528, 0.008202193304896355, 0.029017699882388115, -0.029143091291189194, 0.014315630309283733, 0.009042144753038883, 0.05436444655060768, -0.009387636557221413, 0.02519790269434452, 0.006652534008026123, -0.005354547873139381, 0.003194133983924985, -0.03593415021896362, -0.013998611830174923, 0.010477246716618538, 0.0010740983998402953, 0.01632024347782135, -0.012689494527876377, -0.005818197038024664, 0.028111964464187622, 0.014208630658686161, -0.007470692507922649, -0.0191235039383173, -0.02776809222996235, -0.011181914247572422, 0.026140503585338593, -0.007401131093502045, 0.005731657613068819, -0.007858661003410816, 0.03883525729179382, -0.008610201068222523, -0.0006136825541034341, 0.03526167571544647, -0.017705699428915977, 0.01801890879869461, -0.0058927456848323345, -0.03679331764578819, -0.043237145990133286, 0.015927588567137718, -0.05576770752668381, -0.012814154848456383, -0.03907999023795128, -0.04095594584941864, 0.0353945828974247, 0.018425488844513893, -0.020146774128079414, -0.006459502037614584, 0.002984442515298724, -0.02097599394619465, -0.03649386018514633, -0.01526904758065939, -0.014049878343939781, 0.009212277829647064, -0.006158601026982069, 0.03845008462667465, 0.040629662573337555, 0.0013145261909812689, 0.003367864526808262, 0.0036094682291150093, 0.01853284426033497, 0.009757859632372856, 0.00637501897290349, 0.005380338989198208, 0.021454762667417526, 0.013383264653384686, 0.034424591809511185, -0.023376625031232834, -0.01909792423248291, -0.04086214303970337, 0.03376276418566704, -0.01329920906573534, 0.018441569060087204, -0.038446757942438126, 0.0009080066229216754, 0.03308416157960892, -0.033144865185022354, -1.2275230609759546e-8, 0.022197814658284187, -0.027257192879915237, -0.00021326237765606493, 0.025046715512871742, 0.050246499478816986, 0.015878692269325256, -0.03391251713037491, 0.0007642001728527248, -0.04337570443749428, 0.00007609506428707391, 0.03670574352145195, 0.024180086329579353, 0.020431917160749435, 0.02226865477859974, 0.05911829322576523, -0.04730358347296715, 0.03538031876087189, 0.00036604577326215804, 0.018625138327479362, -0.03255194425582886, -0.009999099187552929, 0.027513032779097557, -0.02571171708405018, 0.006876827217638493, -0.003387420205399394, -0.025147154927253723, 0.022875379770994186, -0.08791434019804001, -0.000829459575470537, -0.05493933707475662, 0.017559809610247612, -0.025862781330943108, -0.032778505235910416, 0.010609672404825687, -0.01629617065191269, -0.026496881619095802, 0.02241946943104267, 0.015856536105275154, 0.003838006407022476, 0.006542540155351162, -0.0022713076323270798, 0.026669245213270187, 0.002199858892709017, -0.030134139582514763, -0.0352468341588974, -0.03454070910811424, -0.03933938965201378, -0.008333040401339531, 0.023149779066443443, 0.014475424773991108, 0.037485141307115555, -0.003628923324868083, 0.028696909546852112, 0.03751537948846817, 0.03020482137799263, -0.018659070134162903, -0.0018063454190269113, -0.04642622917890549, -0.04074706509709358, -0.000773258856497705, 0.00763818621635437, 0.008147257380187511, -0.04069262370467186, -0.03534938395023346 ]
clojure-thread-last-vs-thread-first
https://markhneedham.com/blog/2012/11/06/clojure-thread-last-vs-thread-first
false
2012-11-24 08:49:28
Java: java.lang.UnsupportedClassVersionError - Unsupported major.minor version 51.0
[ "java" ]
[ "Java" ]
On my current project we've spent the last day or so setting up an environment where we can deploy a couple of micro services to. Although the machines are Windows based we're deploying the application onto a http://vagrantup.com/[vagrant] managed VM since the production environment will be a flavour of Linux. Initially I was getting quite confused about whether or not we were in the VM or not and ended up with this error when trying to run the compiled JAR: [source,text] ---- Exception in thread "main" java.lang.UnsupportedClassVersionError: com/whatever/SomeService : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: com/whatever/SomeService. Program will exit. ---- These error means that you http://stackoverflow.com/questions/11239086/java-lang-unsupportedclassversionerror-unsupported-major-minor-version-51-0[compiled the code with a higher JDK than the one you're now trying to run it against]. Since I was accidentally trying to run the JAR against our Windows environment's 1.6 JDK rather than the VM's 1.7 JDK this is exactly what I was doing! Muppet!
null
null
[ 0.007562397513538599, -0.016304776072502136, -0.034904561936855316, 0.035730648785829544, 0.07986743748188019, 0.01903962902724743, 0.05631348118185997, 0.020830366760492325, -0.02098727412521839, -0.016825802624225616, -0.05425715446472168, 0.0008237159927375615, -0.050170961767435074, 0.05049945414066315, -0.004260603338479996, 0.053537946194410324, 0.08861126750707626, -0.004756223876029253, 0.017978761345148087, 0.024977153167128563, 0.011053468100726604, 0.064283087849617, -0.00753009831532836, 0.020995233207941055, -0.0026568551547825336, 0.004553862381726503, 0.0212858859449625, 0.003432524623349309, -0.07859361916780472, -0.017438694834709167, 0.023476101458072662, 0.019238706678152084, 0.00909202080219984, 0.0023348580580204725, 0.025662539526820183, 0.001777525758370757, -0.010741722770035267, -0.0020049680024385452, 0.002859477186575532, 0.03882063552737236, -0.04533587023615837, 0.03912140801548958, 0.006368082948029041, 0.022323554381728172, -0.04395419731736183, 0.009709948673844337, -0.006456459406763315, -0.0011475642677396536, -0.007249386981129646, -0.025308968499302864, -0.06315278261899948, 0.01735745184123516, -0.0288150105625391, -0.01875116117298603, 0.021463925018906593, 0.017141135409474373, 0.02190696820616722, -0.09740542620420456, 0.03519589826464653, -0.049944713711738586, 0.0047385054640471935, -0.015051278285682201, -0.018204238265752792, 0.022769972681999207, 0.005527041386812925, -0.011764165945351124, 0.003172471886500716, 0.044493939727544785, -0.07228776067495346, -0.030913125723600388, -0.00109992572106421, -0.004141721408814192, -0.03133804351091385, -0.02123403176665306, 0.021231215447187424, -0.0477554053068161, -0.004211510997265577, 0.032924097031354904, -0.008426209911704063, 0.05279591679573059, -0.036094795912504196, -0.01089442241936922, 0.06396287679672241, 0.011754674836993217, 0.03132525458931923, -0.03910621255636215, -0.05073421448469162, -0.0187632255256176, -0.033285390585660934, 0.048643793910741806, 0.04848867654800415, -0.013018311001360416, 0.002000921405851841, 0.03155817091464996, 0.0009679423528723419, 0.017762398347258568, 0.01932121254503727, -0.03185347095131874, -0.0011022099060937762, -0.01791309379041195, -0.05150565877556801, 0.02213532291352749, -0.0035167282912880182, 0.06300342082977295, -0.06306780129671097, -0.012416909448802471, -0.010796247981488705, -0.01470890175551176, -0.02248583547770977, -0.015712713822722435, -0.009094935841858387, 0.05904543399810791, -0.015657270327210426, 0.001869387342594564, -0.0635969489812851, 0.07682714611291885, 0.013809307478368282, -0.0556209571659565, 0.02244875393807888, 0.051848944276571274, 0.0297445897012949, 0.05114886537194252, -0.046587057411670685, 0.08388718217611313, -0.023254824802279472, 0.028148721903562546, -0.04030243307352066, 0.034950412809848785, -0.0039050234481692314, -0.07201752066612244, 0.001655756845138967, 0.06295789033174515, 0.027729811146855354, 0.039454247802495956, -0.024972066283226013, -0.003377232700586319, 0.008425615727901459, 0.002251668367534876, 0.052732378244400024, 0.014988460578024387, -0.030231883749365807, -0.02794087678194046, -0.010300932452082634, 0.028311708942055702, 0.013250118121504784, 0.004151063039898872, 0.001689135911874473, -0.05165728181600571, -0.022745219990611076, 0.014748120680451393, -0.006149487569928169, 0.051417410373687744, 0.058449823409318924, -0.030651874840259552, 0.006435625720769167, 0.09877189248800278, 0.013190197758376598, 0.026777122169733047, -0.03736100718379021, 0.003366283141076565, 0.018052050843834877, 0.06175372004508972, -0.0061651477590203285, 0.053952209651470184, 0.0017854443285614252, -0.013167656026780605, -0.003576647723093629, 0.05362967774271965, 0.01933768391609192, 0.003264174796640873, -0.0813169851899147, -0.12202724814414978, 0.05388977751135826, -0.057321179658174515, 0.006312892306596041, 0.012269767932593822, 0.09075924754142761, 0.029941782355308533, 0.06638995558023453, 0.0031509925611317158, -0.06654984503984451, 0.003357639303430915, 0.015498146414756775, 0.01119751576334238, 0.028728654608130455, 0.00041711764060892165, 0.04503687098622322, 0.02008175477385521, -0.004554928280413151, 0.027448831126093864, -0.0718899816274643, -0.07168707996606827, -0.02857258729636669, 0.005130639299750328, 0.03907020762562752, -0.005245651584118605, -0.011425173841416836, 0.0430699922144413, 0.007935686968266964, 0.02693609893321991, 0.042732808738946915, 0.01738894358277321, 0.011399981565773487, -0.05193530395627022, -0.06448128819465637, 0.03772770240902901, 0.04496190696954727, -0.0023808523546904325, -0.038429707288742065, 0.007824448868632317, -0.04013469070196152, -0.0010146194836124778, 0.023819388821721077, -0.007155594881623983, 0.07445722073316574, 0.02217029221355915, -0.003096454543992877, -0.06524990499019623, 0.05425437539815903, -0.04507742449641228, 0.0025172075256705284, -0.010327800177037716, -0.008526365272700787, -0.02288091368973255, 0.0249817855656147, 0.09641736000776291, 0.029691951349377632, -0.020884737372398376, -0.03497004508972168, 0.01613161340355873, 0.04878974333405495, -0.07848760485649109, -0.007778762374073267, -0.031299661844968796, -0.002587222261354327, 0.021951865404844284, -0.023548943921923637, -0.04632746800780296, 0.023691199719905853, -0.045494213700294495, -0.011960423551499844, 0.0751999020576477, -0.021331435069441795, 0.0630287304520607, 0.015712494030594826, -0.054924819618463516, 0.01970098167657852, -0.050289880484342575, -0.06646515429019928, -0.008138949051499367, 0.04440216347575188, -0.009172126650810242, 0.04600704833865166, -0.023298446089029312, -0.06483962386846542, -0.038929831236600876, -0.06500088423490524, 0.009326853789389133, 0.020523127168416977, 0.05653928592801094, -0.013112848624587059, 0.05555488541722298, -0.01045586820691824, 0.005413620732724667, -0.025140834972262383, -0.029043812304735184, -0.004832020495086908, 0.018613943830132484, 0.013374514877796173, 0.020096704363822937, 0.005753956735134125, 0.0009992141276597977, 0.014372247271239758, -0.014967227354645729, 0.016065848991274834, -0.010359887033700943, 0.02734769508242607, 0.012469370849430561, -0.010724836029112339, -0.031326837837696075, -0.014439172111451626, 0.02225347049534321, -0.04110867530107498, -0.024825584143400192, 0.023981008678674698, -0.08039384335279465, 0.03019907884299755, -0.06447698920965195, -0.06071525439620018, -0.008824585936963558, 0.04354444891214371, 0.02745000831782818, 0.016448434442281723, 0.0002842685498762876, 0.07256161421537399, 0.0039099170826375484, 0.02111857570707798, 0.018360085785388947, 0.016047270968556404, 0.0555940680205822, -0.01627541519701481, 0.032016877084970474, 0.007460538297891617, 0.00024416111409664154, -0.008379112929105759, -0.05488734319806099, 0.005637785419821739, -0.045553624629974365, -0.26294443011283875, 0.024218600243330002, -0.0013709304621443152, -0.038284048438072205, 0.02723713032901287, -0.016833875328302383, 0.007396806497126818, -0.03758964687585831, -0.02878154069185257, 0.015247557312250137, -0.011853666044771671, -0.01612621359527111, 0.0016514742746949196, 0.039625756442546844, -0.03037533350288868, 0.00940063875168562, 0.02417100965976715, -0.034381527453660965, -0.002969505498185754, -0.007508263923227787, -0.027216505259275436, -0.03542690351605415, 0.03884909674525261, 0.05517090484499931, 0.030703503638505936, 0.04786576330661774, -0.06274205446243286, 0.049153801053762436, -0.030509021133184433, -0.0195178035646677, 0.0342915914952755, -0.03662821650505066, -0.022548679262399673, -0.016809415072202682, -0.0406741239130497, -0.0031643856782466173, 0.010828030295670033, 0.0303021352738142, 0.015420501120388508, 0.038200896233320236, -0.04209207370877266, -0.07146530598402023, -0.020943351089954376, -0.0009563147905282676, 0.044081076979637146, -0.016205664724111557, -0.10477879643440247, -0.01446488592773676, -0.036999259144067764, 0.08736380189657211, -0.05007041618227959, -0.026965556666254997, 0.009239486418664455, 0.05001333728432655, -0.016816701740026474, -0.015934033319354057, -0.007678200025111437, 0.0013254584046080709, -0.03964516520500183, -0.04545506089925766, 0.014268090948462486, -0.057163335382938385, -0.04056300222873688, -0.05466867610812187, -0.012521045282483101, -0.05857134982943535, -0.04098784923553467, -0.004511554725468159, 0.07264390587806702, -0.0055373599752783775, -0.044488340616226196, -0.008159630931913853, 0.004956529475748539, -0.10523766279220581, 0.02145136520266533, -0.04285412281751633, -0.04330404847860336, -0.01800883561372757, -0.017305467277765274, 0.03429250046610832, -0.027800830081105232, -0.014820889569818974, 0.02404119446873665, 0.004475378897041082, 0.005164826288819313, -0.025887388736009598, 0.017082758247852325, -0.01905132457613945, 0.004419301636517048, -0.011072766035795212, 0.06641397625207901, -0.017998307943344116, -0.022754628211259842, -0.04287611320614815, -0.002851129276677966, 0.03210879862308502, 0.00771385757252574, 0.02738061361014843, 0.009758629836142063, 0.05186714231967926, 0.022444922477006912, -0.059503454715013504, 0.008609105832874775, 0.004123849794268608, 0.017932791262865067, 0.0033030794002115726, -0.04131512716412544, 0.02255062200129032, 0.051428768783807755, 0.04028989374637604, 0.0038894228637218475, -0.03449685871601105, 0.020573114976286888, -0.04474443942308426, -0.03882528841495514, -0.022040337324142456, -0.0031140916980803013, 0.038672056049108505, 0.031100694090127945, -0.018425360321998596, -0.055098917335271835, 0.014055902138352394, 0.02195310778915882, -0.01948162354528904, -0.03966933488845825, -0.005075477529317141, 0.01231037825345993, 0.005907808896154165, -0.033167265355587006, -0.005278198514133692, -0.04928874596953392, 0.02515949308872223, 0.06357304751873016, -0.029288707301020622, -0.002655778545886278, -0.021962791681289673, -0.02601027302443981, -0.02873195894062519, -0.0036609284579753876, 0.0013996894704177976, -0.025266636162996292, -0.002313536824658513, -0.010819265618920326, 0.023973993957042694, 0.04695969820022583, 0.0016220329562202096, 0.057282667607069016, -0.00507675064727664, 0.008228656835854053, -0.027088170871138573, 0.008500893600285053, -0.05885486677289009, 0.045278482139110565, -0.015527020208537579, -0.04322018474340439, -0.019160207360982895, 0.027308017015457153, -0.0016361187444999814, -0.020634589716792107, -0.005820451769977808, 0.031907133758068085, -0.07355351001024246, -0.025769876316189766, 0.0015331297181546688, -0.030186666175723076, 0.059979844838380814, 0.018745798617601395, -0.0019235111540183425, -0.015507969073951244, -0.015861336141824722, 0.008240241557359695, -0.009805552661418915, -0.029524540528655052, 0.028013143688440323, 0.005687301978468895, 0.006556338630616665, 0.013667330145835876, 0.03491738438606262, 0.012959631159901619, 0.02903766930103302, 0.01576654240489006, -0.0017866919515654445, 0.03731938824057579, 0.005703975446522236, 0.03794154152274132, 0.012399655766785145, -0.020069539546966553, 0.001876681111752987, -0.003839609446004033, -0.02993716485798359, -0.009559053927659988, 0.00991720613092184, -0.013265308924019337, 0.022230155766010284, -0.012234238907694817, -0.10159249603748322, 0.0018634342122823, 0.020889990031719208, 0.03372718393802643, -0.02572905458509922, -0.010481983423233032, 0.012016773223876953, -0.031217357143759727, 0.04212157428264618, 0.06981924921274185, -0.05992807820439339, 0.02271842770278454, 0.0067428057081997395, 0.022161496803164482, 0.020567351952195168, -0.014005999080836773, -0.05471393093466759, -0.004506045486778021, -0.01471453346312046, -0.006768496241420507, -0.06239963695406914, -0.034602392464876175, 0.0007746503106318414, 0.022757304832339287, -0.015832113102078438, -0.022676492109894753, 0.018392380326986313, -0.002713688649237156, -0.017422085627913475, -0.018450792878866196, 0.005084990058094263, -0.012141670100390911, 0.005857760552316904, -0.004840336740016937, -0.009106365032494068, 0.014570405706763268, -0.04264220967888832, 0.03859785199165344, 0.014340444467961788, -0.014651509001851082, -0.019166860729455948, -0.02530493400990963, -0.006537170615047216, 0.009216305799782276, 0.03525896370410919, 0.019152740016579628, 0.0002765895624179393, -0.013721390627324581, -0.011270039714872837, -0.020074570551514626, 0.016489384695887566, -0.03156533092260361, -0.0006977894227020442, 0.0013395140413194895, 0.030468294396996498, 0.0059999036602675915, 0.028654487803578377, 0.001293435343541205, -0.020539211109280586, 0.08352652192115784, -0.05208171159029007, -0.04615360125899315, 0.00589840579777956, -0.05609864741563797, 0.0027786896098405123, 0.01604287326335907, 0.010358341969549656, -0.049601756036281586, 0.0517028346657753, 0.04534083977341652, -0.013834252022206783, 0.0433298796415329, -0.0021018153056502342, 0.03266462683677673, -0.052775390446186066, -0.009337924420833588, -0.08763022720813751, 0.014667928218841553, 0.05186356231570244, 0.021628379821777344, -0.013766628690063953, -0.050869569182395935, -0.049174923449754715, 0.01706676371395588, -0.06700455397367477, -0.026404142379760742, -0.0020194733515381813, -0.015603575855493546, -0.013043179176747799, 0.03141620010137558, -0.04333602637052536, 0.04859801381826401, 0.0014222662430256605, -0.03898220136761665, -0.04488230124115944, -0.03479853272438049, 0.04792321100831032, 0.03368239477276802, 0.023048151284456253, -0.04121996462345123, 0.014000277034938335, 0.08517437428236008, 0.006089675240218639, 0.031197305768728256, 0.034676242619752884, -0.007098367903381586, 0.042198821902275085, 0.05824402719736099, -0.01842464506626129, 0.0004758183204103261, 0.019587665796279907, -0.012772236950695515, -0.06295282393693924, 0.021326327696442604, 0.016281334683299065, -0.006037553772330284, -0.039646148681640625, 0.04708385095000267, 0.014615030027925968, -0.017479663714766502, -0.018201041966676712, 0.00421482976526022, -0.05012121424078941, -0.0012124973582103848, -0.0655672699213028, 0.006867650896310806, -0.03674006089568138, 0.0711180791258812, -0.0013237418606877327, 0.017591632902622223, 0.07028234004974365, 0.025974731892347336, 0.0016686634626239538, 0.008553225547075272, 0.07182618975639343, 0.06492001563310623, -0.0028134766034781933, 0.004139598459005356, 0.047963399440050125, -0.017879799008369446, -0.0359276682138443, 0.002338885562494397, -0.061987537890672684, -0.038415662944316864, -0.021155042573809624, 0.029110558331012726, 0.06559433043003082, 0.04302569851279259, 0.0537831075489521, -0.019268585368990898, 0.006893058307468891, 0.015078636817634106, 0.033328406512737274, 0.03220488131046295, 0.030887290835380554, 0.012624632567167282, 0.03301849588751793, 0.01716719940304756, -0.037615809589624405, -0.003625515615567565, -0.017399027943611145, -0.02496703527867794, 0.012066115625202656, 0.0034421333111822605, -0.005086610559374094, 0.02682969532907009, 0.00015047505439724773, 0.07240952551364899, -0.0032745867501944304, -0.010863380506634712, -0.011459773406386375, 0.042503438889980316, 0.00037267449079081416, 0.009068362414836884, -0.019213421270251274, -0.026277871802449226, -0.03046557307243347, -0.0378008633852005, -0.00812814012169838, 0.007888182997703552, 0.0013418688904494047, 0.029579274356365204, -0.020932255312800407, 0.03134526312351227, 0.03737885504961014, 0.017221400514245033, -0.03640775382518768, -0.03411741554737091, -0.05149393901228905, -0.013205830939114094, -0.0310065895318985, -0.022365916520357132, 0.02423693612217903, 0.0047128163278102875, -0.04781728237867355, -0.0026294353883713484, -0.024551844224333763, -0.002746524754911661, 0.030383532866835594, -0.0813620463013649, -0.0234669242054224, 0.017690926790237427, 0.024258460849523544, 0.03703245148062706, 0.018210677430033684, 0.054223958402872086, -0.03613952174782753, -0.02093672752380371, -0.024249689653515816, -0.0009221290820278227, 0.03936136141419411, -0.001015430549159646, 0.017569174990057945, -0.0758257508277893, 0.05799325928092003, 0.04294223710894585, -0.020905887708067894, -0.04295777529478073, -0.0043265968561172485, 0.048710428178310394, -0.004774985834956169, 0.06695111840963364, 0.01829449087381363, 0.00433834595605731, -0.038433678448200226, -0.03058711253106594, -0.004596428479999304, 0.015594935975968838, 0.04113093018531799, -0.004136723466217518, 0.0783986747264862, 0.04152987152338028, -0.001953408122062683, -0.03343043476343155, 0.0005750003620050848, -0.006980166770517826, -0.018047358840703964, -0.054377470165491104, -0.019806375727057457, -0.027739085257053375, -0.0703771784901619, 0.02239672839641571, 0.0149313909932971, -0.03336897864937782, -0.032593145966529846, 0.004070763476192951, 0.023522553965449333, -0.04008462652564049, 0.011234385892748833, -0.04811818152666092, 0.020266413688659668, -0.030788490548729897, -0.018639110028743744, 0.0068278079852461815, 0.01534442137926817, 0.008112487383186817, -0.02095077931880951, 0.024067264050245285, -0.0034699265379458666, -0.015537619590759277, -0.01940787024796009, 0.06362854689359665, 0.06423276662826538, -0.0026116257067769766, -0.009506438858807087 ]
[ -0.07880344986915588, -0.033308710902929306, -0.014866062439978123, -0.056908801198005676, 0.05782970413565636, -0.08047217130661011, -0.0591948963701725, 0.018225224688649178, 0.000001753589344843931, -0.01948270946741104, 0.04349568858742714, -0.04155930131673813, 0.0011935734655708075, -0.017078720033168793, 0.1045849546790123, 0.008014004677534103, -0.02301124669611454, -0.028449682518839836, 0.02673136070370674, -0.0031887819059193134, 0.03932688757777214, -0.029079411178827286, -0.0033907569013535976, -0.06492792814970016, -0.017720408737659454, 0.06086042523384094, 0.048083238303661346, -0.03166477009654045, -0.005588417407125235, -0.17131619155406952, 0.021930841729044914, -0.025327179580926895, 0.027018258348107338, -0.02179241180419922, 0.012100564315915108, 0.059812936931848526, 0.015404774807393551, 0.025425225496292114, 0.0018748671282082796, 0.03904104232788086, -0.0056311460211873055, 0.017697257921099663, -0.0739082619547844, -0.03668403998017311, 0.009537526406347752, -0.03701280802488327, -0.004880539141595364, -0.02001228556036949, 0.015039359219372272, -0.03533050790429115, -0.030439192429184914, 0.01927027478814125, 0.010294834151864052, -0.01654133014380932, -0.008039581589400768, -0.012837066315114498, 0.07862202078104019, 0.058915041387081146, 0.007801375351846218, 0.02324662171304226, -0.03234761953353882, -0.022214889526367188, -0.16740591824054718, 0.08505789190530777, -0.0006362541462294757, 0.016844764351844788, 0.00174014235381037, -0.04272769019007683, -0.013547447510063648, 0.05332786589860916, -0.005913160275667906, 0.0077446517534554005, -0.007330919615924358, 0.07023826241493225, 0.006811282131820917, 0.006213621702045202, 0.021751487627625465, 0.015303651802241802, 0.040951311588287354, -0.04800525680184364, -0.05657225102186203, -0.038777049630880356, -0.025321152061223984, -0.0027710958383977413, -0.038719292730093, 0.03288989141583443, 0.003241846803575754, 0.08012538403272629, 0.05900071933865547, 0.037583690136671066, 0.004314985126256943, -0.014863233081996441, 0.05890610069036484, 0.013717263005673885, -0.07828540354967117, 0.014890475198626518, -0.014751993119716644, 0.01045936904847622, -0.04588842764496803, 0.41748717427253723, -0.01511070691049099, -0.054631557315588, 0.050668902695178986, 0.006123972125351429, 0.004149056971073151, 0.015520436689257622, -0.031941547989845276, -0.029878657311201096, 0.011615727096796036, -0.019772455096244812, -0.004985523410141468, 0.005591098219156265, 0.04799070581793785, -0.0459720715880394, -0.007990089245140553, -0.0007384273922070861, 0.02282956801354885, -0.014138643629848957, -0.05518939346075058, 0.0448918454349041, 0.003905935911461711, -0.029137451201677322, 0.026425860822200775, -0.01213233545422554, 0.03426484391093254, -0.04843223839998245, -0.013698841445147991, 0.053428370505571365, 0.02336057275533676, -0.0050261132419109344, 0.007909100502729416, -0.064332015812397, -0.08159004151821136, -0.05058979615569115, 0.02295801043510437, 0.03393984213471413, 0.028507087379693985, -0.029028909280896187, 0.0019117612391710281, 0.038681402802467346, -0.041694436222314835, -0.035911835730075836, 0.006362271029502153, -0.01370335090905428, -0.070872962474823, 0.0858202651143074, 0.03294543921947479, 0.015889767557382584, -0.0050593167543411255, -0.03464730083942413, -0.017960628494620323, 0.04766261577606201, -0.012286758050322533, -0.039240069687366486, 0.04282093793153763, -0.003940007649362087, 0.05802460387349129, 0.03222108632326126, -0.06357688456773758, -0.04100140184164047, 0.009210513904690742, -0.04607130214571953, -0.03131157159805298, 0.057109635323286057, 0.03791854530572891, -0.06754297018051147, -0.024477101862430573, 0.025774259120225906, 0.030444582924246788, -0.0347440280020237, -0.043015651404857635, 0.06212453544139862, -0.00044250491191633046, -0.0057867346331477165, 0.04440401867032051, -0.034724850207567215, 0.001593907130882144, 0.026165809482336044, 0.020609719678759575, 0.03843041881918907, 0.01937510073184967, 0.008293412625789642, -0.04484163969755173, -0.012299913913011551, 0.013640488497912884, -0.08993205428123474, -0.04623387008905411, 0.009459377266466618, -0.019468460232019424, -0.03471451252698898, -0.07305493950843811, -0.0011372463777661324, -0.06884882599115372, 0.026276374235749245, 0.031139306724071503, -0.0012912024976685643, -0.006326368544250727, -0.007511705160140991, 0.03721484914422035, -0.03425607457756996, 0.023115897551178932, 0.09859710931777954, -0.008381168358027935, 0.024180583655834198, -0.09246900677680969, 0.033098869025707245, 0.04288328438997269, -0.03559992089867592, 0.04565427824854851, 0.03443783149123192, -0.05276559665799141, -0.025076303631067276, 0.013557910919189453, 0.028547612950205803, -0.01896553486585617, -0.01615048758685589, -0.015718283131718636, 0.04638872668147087, 0.0451587438583374, 0.016793806105852127, -0.03627333790063858, -0.0074469163082540035, -0.0313168503344059, -0.359614759683609, -0.015622470527887344, -0.012214935384690762, -0.024668747559189796, -0.02935374714434147, -0.006183820776641369, 0.014707083813846111, -0.04450291767716408, -0.008833283558487892, -0.013596169650554657, 0.09941253811120987, -0.037239182740449905, 0.028143474832177162, -0.03206564113497734, 0.014667889103293419, 0.012113941833376884, -0.038787420839071274, -0.01807073876261711, -0.012663922272622585, -0.006911710370332003, 0.007140675093978643, -0.04421749338507652, 0.005482967011630535, -0.042219776660203934, -0.018829546868801117, -0.007139306515455246, 0.09118673950433731, 0.0015814932994544506, 0.07236877828836441, -0.07426023483276367, 0.07021301239728928, 0.02292049117386341, 0.012674260884523392, -0.11419530212879181, -0.0026947706937789917, -0.03220793604850769, -0.0016783314058557153, 0.014603943563997746, 0.02053178660571575, 0.030385058373212814, -0.04868386685848236, 0.012791171669960022, -0.05829281732439995, -0.045886944979429245, -0.003846111474558711, -0.01583958975970745, -0.01526685245335102, -0.03839203715324402, -0.0020541485864669085, 0.05303262174129486, -0.009506665170192719, 0.019740112125873566, 0.033671554177999496, 0.02236821874976158, 0.012421895749866962, -0.009236820042133331, -0.04582258313894272, 0.014264609664678574, 0.05460941046476364, 0.0025840038433670998, 0.06788487732410431, 0.09030209481716156, 0.03352952003479004, -0.04496462643146515, -0.000897852354682982, -0.014292591251432896, -0.006580110639333725, 0.029067980125546455, 0.07506811618804932, -0.05580698698759079, -0.05010654404759407, 0.09221450984477997, 0.012446090579032898, 0.007248447276651859, 0.02136220410466194, 0.014618814922869205, 0.0059784576296806335, 0.01613798178732395, 0.02063729427754879, -0.005252986680716276, 0.013233925215899944, 0.0004671544302254915, 0.03964575380086899, -0.04975609853863716, -0.015952693298459053, 0.055946480482816696, -0.015673477202653885, 0.013926227577030659, 0.03649931773543358, 0.002476621652022004, -0.042475685477256775, 0.0032136186491698027, -0.007364131510257721, -0.04231477156281471, 0.0790548324584961, -0.007849365472793579, -0.24507993459701538, 0.012575574219226837, 0.061870984733104706, 0.05301712080836296, -0.01562534272670746, -0.00867181271314621, 0.023381058126688004, -0.040166884660720825, -0.0008474214118905365, -0.007066366728395224, 0.04590661823749542, 0.0028338327538222075, -0.010408987291157246, -0.0007000851328484714, 0.05363818630576134, -0.00540466234087944, 0.06048322096467018, 0.01500164158642292, 0.049437858164310455, -0.010290057398378849, 0.011204843409359455, -0.022517520934343338, 0.14691123366355896, 0.002371839713305235, 0.012436047196388245, 0.02733992226421833, -0.014220371842384338, 0.03034277632832527, 0.0556967668235302, 0.013449287042021751, -0.016950029879808426, -0.0037977434694767, 0.1032477393746376, -0.017768437042832375, 0.019250938668847084, -0.060626525431871414, 0.014305837452411652, 0.015407253056764603, 0.020733635872602463, 0.007663483265787363, -0.013983608223497868, 0.02934923768043518, -0.028965210542082787, 0.03753924369812012, 0.07442350685596466, -0.025675011798739433, 0.03708517923951149, -0.020920507609844208, -0.049391474574804306, -0.029702994972467422, -0.02251460775732994, -0.05432909354567528, -0.0013552618911489844, 0.034613579511642456, 0.025243477895855904, 0.06224892660975456, 0.006973526906222105, -0.08596014231443405, -0.045929279178380966, 0.0034899357706308365, 0.027095768600702286, -0.021845955401659012, 0.13511918485164642, -0.013159958645701408, 0.011305793188512325 ]
[ -0.0005725219962187111, 0.024019373580813408, 0.01336961705237627, -0.010609661228954792, 0.024077722802758217, -0.004747087135910988, -0.01043577678501606, 0.009633364155888557, -0.037349142134189606, 0.012285808101296425, 0.04717647284269333, -0.0012666864786297083, -0.028662145137786865, 0.0035836328752338886, 0.034290652722120285, -0.04287990555167198, 0.06044090539216995, 0.08399047702550888, 0.029145214706659317, 0.03537655994296074, -0.0035696052946150303, 0.055860016494989395, 0.02004535309970379, -0.05868219956755638, 0.0004282227309886366, 0.03356287255883217, -0.0708361268043518, 0.03679937124252319, 0.011768629774451256, -0.13352380692958832, -0.03912702202796936, -0.0006956797442398965, -0.013202613219618797, 0.0013866547960788012, 0.03138527646660805, 0.023294633254408836, -0.009964733384549618, 0.014402407221496105, -0.020826049149036407, 0.004553887527436018, -0.018370315432548523, -0.015868812799453735, -0.011628090403974056, 0.009044737555086613, -0.048816848546266556, -0.0158171858638525, 0.006818361114710569, -0.030321989208459854, -0.006636505946516991, -0.010593499056994915, -0.01842140406370163, 0.007197710685431957, 0.029320884495973587, 0.011862775310873985, -0.04154696315526962, -0.05226125568151474, 0.004592112731188536, 0.014276516623795033, -0.004279480315744877, -0.0352848544716835, -0.008515678346157074, -0.0007041820790618658, -0.010923540219664574, -0.02203172817826271, -0.01757035404443741, -0.04322110116481781, 0.01764727383852005, -0.005893748719245195, -0.01797642931342125, -0.02912079356610775, -0.03869729861617088, 0.04494836926460266, -0.033394914120435715, 0.004759256727993488, -0.05771857500076294, 0.022672833874821663, 0.01255495660007, 0.03647381439805031, 0.07473897933959961, 0.004461999516934156, -0.037720758467912674, 0.01734931394457817, -0.03836808726191521, 0.022647615522146225, -0.018002381548285484, 0.011137126013636589, -0.0012965826317667961, 0.011916919611394405, 0.05034969374537468, 0.027289463207125664, -0.03859233856201172, 0.01624292880296707, 0.024357186630368233, 0.014711612835526466, -0.06317633390426636, -0.020839042961597443, -0.028270654380321503, -0.04884191229939461, 0.019625773653388023, 0.7843536138534546, -0.02253703773021698, 0.022186117246747017, 0.0429329015314579, 0.02508738450706005, 0.035393618047237396, 0.019207637757062912, -0.054635241627693176, 0.023190459236502647, 0.03823161870241165, -0.037990693002939224, 0.012381505221128464, -0.01090655755251646, 0.03720107302069664, 0.006007050629705191, 0.013885804452002048, 0.003941666800528765, 0.04843896999955177, 0.02345985360443592, 0.0007641729316674173, 0.004423146136105061, 0.02480129525065422, -0.05543394014239311, -0.03175032511353493, -0.04690546542406082, -0.029390960931777954, -0.16839538514614105, 0.02549014240503311, -8.137961349738112e-33, -0.004952091723680496, -0.02482418902218342, 0.018911756575107574, 0.03521529212594032, 0.04041127860546112, -0.0008781624492257833, 0.006967378314584494, 0.03869442269206047, 0.0017807265976443887, -0.05225829780101776, -0.03970342129468918, -0.038999345153570175, 0.02727849781513214, -0.013157541863620281, 0.001475549302995205, -0.015615693293511868, 0.008106440305709839, 0.0190262608230114, 0.000034353557566646487, 0.007526068016886711, 0.01637883111834526, 0.00012179464101791382, 0.011868142522871494, -0.03996708244085312, -0.014964328147470951, -0.008017691783607006, 0.04832166060805321, 0.0006348443566821516, 0.002412498462945223, -0.04317780211567879, -0.005034721922129393, -0.024103211238980293, -0.002840788336470723, -0.026248203590512276, 0.001101394067518413, -0.058901265263557434, -0.011262768879532814, -0.011816855520009995, -0.04460027068853378, -0.014973609708249569, -0.04239228367805481, 0.015219098888337612, -0.014821797609329224, 0.03144567087292671, -0.02128990739583969, 0.0034104748629033566, -0.005869009997695684, 0.026370419189333916, 0.008876950480043888, 0.0038716266863048077, -0.008658487349748611, -0.0103934770449996, -0.005718254018574953, 0.005449201911687851, 0.01324483659118414, 0.04100858047604561, 0.032308243215084076, 0.05061662197113037, -0.061257798224687576, -0.019245875999331474, -0.0084069287404418, -0.016345586627721786, -0.015393687412142754, 0.03482090309262276, -0.003543199272826314, -0.008502292446792126, -0.04198208451271057, -0.01038698572665453, -0.017941446974873543, 0.06068089231848717, -0.048947688192129135, 0.015056266449391842, -0.012009542435407639, -0.009035773575305939, 0.01972902938723564, -0.05067116394639015, 0.06347295641899109, -0.010507735423743725, -0.014345846138894558, 0.0029718007426708937, 0.020013557747006416, -0.006478969007730484, -0.007354979403316975, -0.0387844443321228, -0.04637473076581955, -0.00047150038881227374, -0.0037937904708087444, -0.0040718792006373405, 0.04591117799282074, -0.0077280327677726746, 0.035696033388376236, 0.016118774190545082, 0.015595369040966034, 0.007502583786845207, -0.04155941307544708, 7.54122972406684e-33, -0.017759419977664948, 0.04354483634233475, -0.009972156956791878, 0.018317071720957756, 0.029931532219052315, 0.04010866582393646, 0.03068898804485798, -0.0030809452291578054, -0.08719806373119354, -0.0032541474793106318, -0.06798776239156723, 0.046691685914993286, -0.017310023307800293, 0.04681780934333801, 0.02962726168334484, 0.022798513993620872, 0.06631720811128616, 0.0036100735887885094, 0.08131757378578186, 0.015532766468822956, -0.02050158381462097, 0.033463217318058014, 0.04283495992422104, 0.011855106800794601, 0.0031020704191178083, 0.0001827310916269198, -0.040774211287498474, 0.016401581466197968, -0.021461913362145424, 0.017078515142202377, 0.09437666833400726, -0.022849928587675095, -0.0006042521563358605, -0.03247204050421715, 0.011046324856579304, -0.01246290747076273, 0.010009555146098137, -0.007165106013417244, 0.01579802855849266, 0.02256009541451931, -0.000045484899601433426, -0.09988344460725784, -0.034497134387493134, -0.005696700420230627, 0.033304400742053986, 0.009615723975002766, -0.009953076019883156, 0.030050642788410187, -0.0271433237940073, 0.014571817591786385, -0.02850843034684658, 0.015902211889624596, -0.009163254871964455, 0.035210415720939636, 0.003635068191215396, 0.0048166364431381226, -0.032943081110715866, 0.053912170231342316, 0.020426258444786072, 0.03470105677843094, 0.037474922835826874, -0.010375446639955044, 0.0030292770825326443, 0.0335436649620533, -0.044054847210645676, 0.009118450805544853, 0.025494839996099472, 0.025128312408924103, -0.044960591942071915, -0.018742036074399948, -0.004987061023712158, -0.020358676090836525, -0.007462992798537016, 0.01880578324198723, 0.03489851951599121, -0.023310672491788864, 0.02474546805024147, -0.00472690025344491, -0.07205316424369812, -0.0029736761935055256, 0.018392372876405716, -0.0036579417064785957, -0.02828005887567997, -0.00994834117591381, 0.021421238780021667, 0.015940899029374123, -0.036307789385318756, 0.014028294943273067, 0.011332491412758827, 0.0020041782408952713, -0.022452885285019875, -0.028767872601747513, -0.011808480136096478, 0.02884104661643505, 0.0007988339639268816, -1.2666634852109837e-8, 0.032708682119846344, -0.018597478047013283, -0.0035699994768947363, -0.02691148966550827, 0.02935953438282013, 0.01649784855544567, -0.03216692805290222, 0.013840541243553162, -0.0018911772640421987, 0.0427849143743515, 0.007094398606568575, -0.003846255596727133, 0.009262501262128353, 0.0666208490729332, 0.05249081552028656, 0.023378590121865273, -0.01188472006469965, 0.03226882219314575, 0.027783816680312157, 0.019786717370152473, 0.022211739793419838, 0.02769419364631176, 0.00936130341142416, 0.0035918813664466143, 0.0031972562428563833, -0.0019677537493407726, 0.030650105327367783, -0.08279115706682205, 0.0021531281527131796, 0.001198295154608786, -0.03629424422979355, 0.009467569179832935, -0.04975837469100952, 0.013286810368299484, -0.08588431775569916, 0.03510485962033272, -0.028346067294478416, 0.03913719579577446, 0.014997380785644054, 0.012286930344998837, -0.006492811255156994, -0.017185034230351448, -0.00010877331078518182, -0.028557226061820984, -0.003946489654481411, 0.031373146921396255, -0.0034947714302688837, 0.017922580242156982, -0.033111006021499634, -0.025066295638680458, -0.01931752637028694, 0.03477257117629051, -0.000585829489864409, 0.009744246490299702, -0.007033174857497215, -0.008953005075454712, 0.012130110524594784, -0.040024712681770325, -0.003418756416067481, -0.030390100553631783, 0.04564959555864334, -0.015907268971204758, -0.04271172732114792, -0.04098297655582428 ]
java-java-lang-unsupportedclassversionerror-unsupported-major-minor-version-51-0
https://markhneedham.com/blog/2012/11/24/java-java-lang-unsupportedclassversionerror-unsupported-major-minor-version-51-0
false
2012-11-24 12:44:03
Core Competency
[ "software-development" ]
[ "Software Development" ]
For at least the last few years I've heard colleagues talk about working out the core competency of our clients businesses and I'd confused myself into thinking that the software we helped them build was the core competency. I think Martin Fowler best explains how technology and business core competences work in his post about http://martinfowler.com/bliki/UtilityVsStrategicDichotomy.html[utility and strategic projects] where he describes the difference between these like so: ____ So what is the distinguishing factor between utility and strategic projects? To my mind it's all about whether the underlying business function is a differentiator or not. *If how you do this function is a crucial part of what makes you better than the competition, then the software that supports this function needs to be as good as you can make it*. Note that this distinction isn't about the software, but the business function. ____ The thing I'd be getting confused about was thinking that the software *is* the core competency but as Martin points out the software is actually there to *support* the core competency. I thought it'd be interesting to think through some of the most recent things I've worked on and think through how software was helping support their core competencies. == Publishing houses As I see it their core competency is being able to get content that their customers will want to buy in the form of articles, journals and books and each publisher tends to focus on doing that for specific industries. As the internet becomes a more popular channel for serving content the publishing houses have had to make their content accessible online rather than relying on offline channels. One way software can help here is by making it possible for their customers to quickly find and download the content that they're interested in. When you break that down further you'd end up thinking about how we can write software which makes it possible to get new content in front of customers quickly. We might also start thinking of ways we can get customers interested in content that they didn't initially think would be interesting to them, which might involve some analysis of our data to build a http://www.quantisan.com/recommendation-discovery-via-graph-traversal/[recommendations engine]. == Telecommunications companies Telecommunications companies tend to be massive organisations so I wouldn't claim that I know all their different core competencies. For the part I worked in I'd say their core competency was being able to offer competitive prices to global customers who wanted to buy various products to allow their staff in different locations communicate with each other. The way software could help in this instance was by making it possible for the telco's sales people to quickly and easily get a range of different options accurately priced for their customers. This involved calculating thousands of variations of network combinations and then narrowing those down to the options which were best value for the customer. In this case a non performant software solution would actually make life worse for the sales people because they'd have to find a way to manually get the quotes they needed rather than relying on the software. == Retailers Although again retailers have many key differentiators I think one of them is the ability to set the prices of their products so that people will buy them but also so they won't lose money. The way software can help in this instance would be in codifying the logic that the people who are setting the prices have in their heads. Obviously there will still be some part of setting prices which is gut feel/intuitive but a reasonable amount is going to be a person following some sort of http://en.wikipedia.org/wiki/Decision_tree[decision tree] in their head. There are a lot of commercial packages for this type of thing since it's a fairly common problem but if you use of those then you're giving away one of your differentiators since your competition may well be using a package as well. == In Summary I'm still trying to understand exactly how this core competency thing works so if I haven't quite understood it please feel free to let me know. I think my colleague Erik Doernenburg has a slightly different take on this where he considers whether http://erik.doernenburg.com/2012/09/buy-vs-build-shift-part-1/[software development as a concept is a core competency] and explains how for publishing companies it now needs to be one.
null
null
[ 0.017374346032738686, -0.001914988737553358, 0.02547878585755825, 0.033992063254117966, 0.09735897928476334, 0.0304841510951519, 0.01791028305888176, 0.04322560131549835, 0.025204041972756386, -0.007327946834266186, -0.03740254044532776, 0.007229229900985956, -0.028632018715143204, 0.022307809442281723, -0.03865816444158554, 0.08641746640205383, 0.06962551176548004, 0.007660761475563049, 0.03789583966135979, -0.01253300067037344, 0.019438637420535088, 0.09248469024896622, 0.03443071246147156, 0.035403624176979065, 0.03633234649896622, -0.01305756438523531, 0.020969444885849953, 0.019153915345668793, -0.04130689799785614, -0.02289576269686222, 0.034567296504974365, -0.009171531535685062, 0.0022102133370935917, -0.0013566003181040287, 0.02034055069088936, -0.000170417784829624, 0.030205801129341125, 0.029783593490719795, -0.007961751893162727, -0.011219439096748829, -0.08260452002286911, 0.06414370238780975, -0.01743917725980282, 0.02277584932744503, -0.05233096331357956, 0.00844164565205574, -0.05434831604361534, -0.005140052642673254, 0.013349081389605999, -0.0026240854058414698, -0.06264291703701019, 0.04543991759419441, -0.036965262144804, 0.00853982288390398, -0.0156677458435297, 0.05893198400735855, 0.0023123901337385178, -0.04345529153943062, -0.006895238067954779, -0.03712005913257599, -0.00507080415263772, -0.028152920305728912, -0.00598678644746542, 0.02976086176931858, 0.03321285918354988, -0.023725667968392372, -0.007178911939263344, 0.03399805724620819, -0.03610089421272278, 0.014590329490602016, -0.0179935023188591, 0.0018191398121416569, -0.008119747042655945, -0.013085519894957542, -0.0007255645468831062, -0.050184186547994614, -0.010072118602693081, 0.058567628264427185, 0.01307890098541975, 0.027841543778777122, -0.022453371435403824, 0.04827004298567772, -0.0014355836901813745, 0.02493215538561344, -0.020470798015594482, -0.0468694232404232, 0.019631344825029373, -0.011790027841925621, -0.06639803946018219, 0.06659959256649017, 0.0014897360233590007, -0.054817985743284225, 0.015907978639006615, 0.032753270119428635, -0.002526345429942012, 0.008142185397446156, 0.029614632949233055, -0.0011169861536473036, -0.0035680681467056274, -0.019816823303699493, -0.028322827070951462, -0.019685009494423866, -0.00011126039316877723, 0.01091644074767828, -0.08792988955974579, 0.0032221784349530935, 0.006480162963271141, -0.01664324291050434, -0.01621493697166443, 0.01997193694114685, -0.04149603843688965, -0.002025236841291189, -0.04077482223510742, 0.026144159957766533, -0.06846053153276443, 0.0694710910320282, 0.02123301848769188, -0.038085129112005234, -0.008395224809646606, 0.00938680674880743, 0.05905849486589432, 0.015171083621680737, -0.03260233998298645, 0.06748327612876892, 0.017609059810638428, -0.0022366116754710674, -0.04057369753718376, 0.05778389424085617, 0.0021939354483038187, -0.05112003907561302, 0.0058881607837975025, 0.043712977319955826, -0.0408562570810318, -0.012397089041769505, -0.005024205893278122, -0.019944850355386734, 0.03610045462846756, -0.010131623595952988, 0.02255023643374443, 0.031107058748602867, 0.011007299646735191, -0.05207560583949089, -0.004033333156257868, 0.014930367469787598, 0.03701365739107132, -0.03307031840085983, -0.0008010476594790816, -0.012190201319754124, -0.039613399654626846, -0.026238122954964638, 0.014664249494671822, 0.02508607506752014, 0.03808088228106499, -0.025048764422535896, 0.02346010133624077, 0.08744561672210693, 0.06320798397064209, 0.011764062568545341, -0.019634472206234932, 0.03547681123018265, 0.028526216745376587, 0.024212779477238655, 0.022194936871528625, 0.016747472807765007, 0.017436301335692406, -0.01935832016170025, -0.010954365134239197, 0.05437227711081505, -0.004673204384744167, 0.00677349790930748, -0.04944663494825363, -0.04144353047013283, 0.03653523698449135, -0.05460523068904877, -0.025818897411227226, 0.05764565244317055, 0.07706798613071442, 0.0586688406765461, 0.01950686424970627, 0.00046515485155396163, -0.08038805425167084, 0.055666737258434296, 0.0071380059234797955, 0.007856233976781368, 0.04452997446060181, -0.010338016785681248, 0.0684424415230751, 0.035403572022914886, 0.0017397296614944935, 0.044756870716810226, -0.06259571760892868, -0.1067209243774414, -0.04079873114824295, -0.01695522479712963, 0.03412100300192833, -0.034861959517002106, 0.01839875616133213, 0.0671096220612526, 0.004437623545527458, 0.028935784474015236, -0.005191733129322529, -0.007492969743907452, 0.018401121720671654, -0.0346609465777874, -0.05093226209282875, 0.056426383554935455, 0.04211777076125145, -0.007255904376506805, -0.029258619993925095, 0.00634129298850894, -0.01048427727073431, -0.023537011817097664, 0.04241904243826866, -0.029114963486790657, 0.03083951212465763, 0.013824129477143288, 0.05498366057872772, -0.0313548669219017, 0.049402691423892975, -0.0416949987411499, 0.022485170513391495, 0.018240371719002724, -0.020169513300061226, 0.03922070190310478, 0.009481815621256828, 0.12557069957256317, 0.06520350277423859, -0.03700052201747894, -0.04851050302386284, 0.04503326117992401, 0.019505832344293594, -0.030021987855434418, 0.014051288366317749, -0.012717374600470066, 0.015017954632639885, -0.0051785302348434925, -0.07506073266267776, -0.03402522951364517, 0.012385817244648933, -0.06081883981823921, 0.004043281078338623, 0.05331762880086899, -0.018243785947561264, 0.06027644872665405, 0.00968683511018753, 0.0051967971958220005, -0.021287772804498672, -0.013002099469304085, -0.06393928080797195, 0.0017185063334181905, -0.0036511020734906197, -0.01092598121613264, 0.03523527830839157, -0.01843162439763546, -0.025712965056300163, -0.0325770303606987, -0.04420064389705658, 0.04072170704603195, 0.061101242899894714, 0.04232097789645195, -0.010870729573071003, 0.050189368426799774, -0.023933319374918938, 0.053771983832120895, 0.005679181776940823, -0.04282471537590027, -0.027294877916574478, -0.06487283110618591, 0.0073819891549646854, 0.019729137420654297, 0.010484672151505947, -0.007837681099772453, 0.01549671683460474, 0.013441788032650948, 0.0006055566482245922, -0.01936895027756691, 0.043795958161354065, -0.01085729617625475, 0.004898477345705032, -0.028569083660840988, -0.010250610299408436, 0.056609511375427246, -0.026527075096964836, -0.03709452599287033, -0.008061178028583527, -0.07427502423524857, 0.04006459563970566, -0.06278952211141586, -0.030078042298555374, -0.00864914245903492, 0.015087264589965343, 0.02897552400827408, 0.0251611415296793, 0.014250051230192184, 0.055440403521060944, 0.04757785052061081, 0.02112892083823681, 0.008153857663273811, -0.014828357845544815, 0.033037710934877396, 0.006223665084689856, -0.011587275192141533, 0.05603519454598427, 0.005701006855815649, 0.00498811062425375, -0.05904049053788185, 0.049653053283691406, -0.03989288583397865, -0.28474900126457214, 0.01541072130203247, 0.017508037388324738, -0.035803940147161484, 0.017462976276874542, -0.0408354178071022, -0.013923035934567451, -0.04072467237710953, -0.02260095626115799, 0.00938770454376936, -0.029806645587086678, -0.03773112967610359, -0.0191697645932436, 0.040337882936000824, 0.0023443358950316906, 0.01910737343132496, 0.03533327206969261, -0.013857215642929077, 0.005400802940130234, 0.05707838013768196, -0.008978202939033508, -0.0824868306517601, 0.0070754289627075195, 0.031455062329769135, 0.05096951499581337, 0.055516317486763, -0.08472512662410736, 0.04635937139391899, -0.05796394869685173, -0.018130118027329445, -0.008385399356484413, 0.00629869569092989, -0.018156301230192184, -0.00011402396921766922, -0.011789390817284584, -0.006856171414256096, 0.05791601911187172, 0.021062742918729782, 0.006251002196222544, 0.002226280514150858, -0.025275088846683502, -0.018933583050966263, 0.00000387421960112988, 0.018224719911813736, 0.07879813015460968, -0.01782756857573986, -0.08279822766780853, -0.0051444824784994125, -0.049187153577804565, 0.07272869348526001, -0.03403220325708389, -0.03576478734612465, -0.022940509021282196, 0.03983205556869507, -0.02477646805346012, -0.02763599157333374, -0.017680209130048752, -0.036797311156988144, -0.03137553483247757, -0.019229058176279068, -0.011434687301516533, -0.018320901319384575, -0.012292672879993916, -0.05223745107650757, -0.01993364840745926, -0.05766875296831131, -0.0859566405415535, -0.015061604790389538, 0.07797679305076599, 0.004842859227210283, -0.03562955930829048, 0.010971272364258766, -0.005203500855714083, -0.09488692134618759, 0.0035919530782848597, -0.030731339007616043, -0.02180335484445095, 0.000595594581682235, 0.023673495277762413, 0.04139430448412895, -0.00013866602967027575, -0.05152957886457443, 0.01730663701891899, 0.015142401680350304, 0.0462675578892231, -0.02373892068862915, 0.03644199296832085, 0.03379179164767265, -0.016737356781959534, 0.010735593736171722, 0.06978077441453934, -0.008978599682450294, -0.021345099434256554, -0.0026182844303548336, 0.012204823084175587, 0.006584387272596359, 0.0022525552194565535, -0.00869270134717226, -0.00024416681844741106, 0.023027518764138222, -0.010108287446200848, -0.03902440890669823, 0.006422624457627535, -0.017704246565699577, 0.010575249791145325, -0.017063234001398087, -0.03866508975625038, 0.01314137876033783, 0.038380298763513565, 0.0027781606186181307, -0.015285410918295383, -0.023062758147716522, -0.006074225530028343, -0.02986523136496544, -0.05323384702205658, -0.02034938894212246, -0.013717745430767536, 0.03094547614455223, 0.01841137930750847, -0.0013170756865292788, -0.040969014167785645, 0.021504465490579605, 0.009402168914675713, -0.015149501152336597, -0.07607477158308029, -0.03226187080144882, -0.031386636197566986, -0.006753169931471348, 0.0129751181229949, 0.04155547916889191, -0.0001012638458632864, 0.004616282880306244, 0.0292010810226202, -0.05716433376073837, 0.019249262288212776, -0.02622903883457184, -0.056971799582242966, -0.024094056338071823, -0.0013241944834589958, -0.01749528758227825, 0.005076627712696791, 0.03101353533565998, 0.013880065642297268, 0.015068207867443562, 0.04749806970357895, 0.007190268952399492, 0.00540592335164547, -0.005476093385368586, 0.02956630475819111, 0.020931433886289597, -0.010821393691003323, -0.06323761492967606, 0.0012658430496230721, -0.025643140077590942, -0.02762744389474392, -0.051039136946201324, 0.027952231466770172, -0.02407393604516983, -0.03406555950641632, -0.003156582359224558, 0.01017460972070694, -0.06526965647935867, -0.06028394028544426, -0.02555139549076557, 0.07147569209337234, 0.05142906308174133, -0.0294321458786726, 0.013337807729840279, -0.006372894626110792, -0.0004891501739621162, 0.020178718492388725, 0.014447725377976894, -0.03524424880743027, -0.005887493956834078, -0.006404384039342403, 0.013985671103000641, 0.003654162399470806, -0.004526081960648298, 0.06254176795482635, -0.001623600604943931, 0.005283732432872057, -0.034177206456661224, 0.01799466460943222, 0.02159264124929905, 0.037724994122982025, 0.050445277243852615, -0.014663844369351864, -0.010608278214931488, -0.027834050357341766, -0.012503690086305141, -0.03465849161148071, -0.013771789148449898, -0.010143520310521126, 0.0253108162432909, -0.023470327258110046, -0.0653100535273552, 0.050334103405475616, -0.0023740092292428017, 0.012514741159975529, 0.021164357662200928, -0.018401145935058594, 0.0013995729386806488, -0.021737540140748024, 0.037859585136175156, 0.052480485290288925, -0.061386898159980774, 0.0032280527520924807, -0.005936288740485907, -0.01151428371667862, 0.022523099556565285, -0.0022441972978413105, -0.015259968116879463, -0.014542153105139732, -0.02518954686820507, 0.006946135777980089, -0.06764025241136551, -0.013012568466365337, -0.03330645337700844, -0.004555762279778719, 0.014295605011284351, 0.005385897122323513, -0.028642071411013603, -0.03683217614889145, -0.03760134428739548, -0.025116685777902603, 0.03434623032808304, -0.013981526717543602, -0.005273732356727123, 0.008832857012748718, -0.05263809487223625, -0.01460336335003376, -0.03321466222405434, 0.003990292549133301, 0.017097173258662224, -0.023823831230401993, 0.01898445561528206, -0.03667634353041649, 0.0010878812754526734, 0.0036215155851095915, 0.04884643480181694, -0.017879968509078026, -0.023803146556019783, -0.03431909903883934, -0.010357762686908245, -0.049884241074323654, -0.010489653795957565, -0.006848061457276344, -0.0027075717225670815, 0.0054845805279910564, 0.06734328716993332, 0.0009708860889077187, 0.010581117123365402, -0.00692815613001585, -0.004134673625230789, 0.0526433028280735, -0.042092613875865936, -0.02679434046149254, -0.018989237025380135, -0.06488662213087082, -0.0032332001719623804, 0.01033575925976038, 0.0019438808085396886, -0.04218648001551628, 0.041677337139844894, 0.03333215415477753, 0.040179602801799774, 0.008495408110320568, 0.01083979569375515, 0.033594194799661636, -0.050465177744627, 0.006739113479852676, -0.07816290855407715, -0.005677861161530018, 0.024573326110839844, 0.026227016001939774, -0.01749027706682682, 0.025402165949344635, -0.03728597238659859, 0.04407143220305443, -0.08266685158014297, -0.03326684609055519, 0.0436837263405323, -0.004001001827418804, -0.01955563575029373, 0.007076549809426069, -0.08724945783615112, 0.022869659587740898, 0.03271125629544258, -0.05329994857311249, -0.03472175821661949, -0.022413097321987152, 0.05124770477414131, -0.0032589475158602, 0.0246035885065794, -0.03580109402537346, -0.0189937986433506, 0.057046953588724136, -0.0011328677646815777, 0.01895187981426716, 0.05235141143202782, 0.006598398555070162, 0.025789665058255196, 0.04265668988227844, 0.012061681598424911, -0.004442170262336731, 0.024451032280921936, -0.009362208656966686, -0.0569286122918129, 0.036915797740221024, -0.000725531775970012, -0.014274212531745434, -0.04236125946044922, 0.04970584437251091, 0.00600405503064394, -0.02594670280814171, -0.05794770270586014, 0.02467934787273407, -0.04423009231686592, -0.0002508488832972944, -0.015342064201831818, -0.0172595027834177, -0.04302752763032913, 0.04646710678935051, -0.00319098262116313, 0.010980399325489998, 0.08286118507385254, -0.003040058072656393, -0.02593720518052578, 0.010471466928720474, 0.0961967185139656, 0.08270952850580215, 0.05314420536160469, 0.00394369987770915, 0.08068528771400452, -0.012921747751533985, -0.045315518975257874, 0.019388360902667046, 0.006121807266026735, -0.011447468772530556, -0.014416439458727837, 0.015439939685165882, 0.053502973169088364, -0.00966000184416771, 0.0639430359005928, -0.026513447985053062, -0.01249249279499054, -0.006475567352026701, 0.0306062214076519, 0.012119932100176811, 0.05906900390982628, -0.00036299441126175225, 0.025332752615213394, -0.025561412796378136, -0.035099536180496216, 0.014684278517961502, -0.023674512282013893, -0.02722085267305374, 0.0407029464840889, 0.004087210167199373, 0.01666250452399254, 0.003988431766629219, 0.031719472259283066, 0.0848095640540123, -0.04468963295221329, 0.010597201064229012, 0.0006015651160851121, 0.03641144558787346, -0.0049911849200725555, 0.018097402527928352, -0.012769300490617752, -0.0240608099848032, -0.028995875269174576, -0.02054002694785595, -0.02465870976448059, -0.024056008085608482, -0.013858607038855553, 0.018361374735832214, -0.03709699213504791, -0.0026917567010968924, 0.031902581453323364, -0.0015022424049675465, -0.04881368950009346, -0.054140057414770126, -0.029659634456038475, -0.03593580424785614, -0.06411614269018173, -0.024159187451004982, 0.02703188546001911, -0.005022818688303232, -0.045767270028591156, -0.035839423537254333, -0.007245088927447796, -0.03377361223101616, 0.04331764951348305, -0.05289554223418236, -0.03076987713575363, -0.005738652311265469, 0.009335902519524097, 0.023108137771487236, 0.006730764172971249, 0.04839467629790306, -0.010734578594565392, -0.011658146046102047, -0.006804374512284994, 0.002887662034481764, 0.02173694036900997, 0.020782379433512688, 0.03945159539580345, -0.0719727873802185, 0.005274367518723011, 0.028254084289073944, -0.012236268259584904, -0.07061003893613815, 0.014729967340826988, 0.03672506660223007, 0.007430612575262785, 0.05170014500617981, -0.005680786911398172, 0.007691828068345785, -0.04146252200007439, -0.006309742107987404, -0.0037558090407401323, 0.014206756837666035, 0.0438130758702755, -0.018263956531882286, 0.0905303806066513, 0.027773715555667877, 0.008873730897903442, -0.04574192315340042, -0.002296668477356434, -0.0034525429364293814, -0.006808596197515726, -0.030476219952106476, -0.015578887425363064, -0.010334826074540615, -0.08962204307317734, -0.04233909025788307, 0.027753643691539764, -0.01891816221177578, -0.03326135501265526, 0.014010501094162464, 0.034265242516994476, -0.008245732635259628, 0.01577361859381199, -0.03740290552377701, 0.025839420035481453, 0.002619628794491291, 0.0023671023081988096, 0.00408034585416317, 0.019408902153372765, -0.009015601128339767, -0.011156419292092323, 0.030004048720002174, -0.060374703258275986, 0.0007680689450353384, -0.002971986075863242, 0.025614658370614052, 0.03926623612642288, 0.01797131448984146, -0.0023533604107797146 ]
[ -0.07657007873058319, -0.004542259033769369, -0.04163459315896034, -0.0523822084069252, 0.029212871566414833, -0.027893057093024254, 0.010401587001979351, 0.04674815386533737, -0.02385701984167099, -0.03170178085565567, -0.00761027168482542, -0.0026272935792803764, 0.0004245783784426749, -0.058383017778396606, 0.07801655679941177, 0.0074272542260587215, 0.04163571447134018, -0.08226771652698517, 0.03302048146724701, 0.03834865242242813, 0.002895592013373971, -0.057388320565223694, -0.039318185299634933, -0.01928316242992878, 0.03405684605240822, -0.007218361832201481, 0.01790669560432434, -0.01763911359012127, -0.0062453108839690685, -0.15574578940868378, 0.0017910850001499057, 0.004172207321971655, 0.05020459368824959, -0.0027007304597646, 0.014697290025651455, 0.05021132156252861, 0.020757261663675308, 0.0022243696730583906, -0.013015738688409328, 0.02857961319386959, 0.006851546466350555, -0.0004408951208461076, -0.03537153825163841, -0.0024734530597925186, 0.03322739526629448, 0.014863266609609127, 0.011036871001124382, -0.03027704730629921, -0.028812408447265625, -0.005399324931204319, -0.054983340203762054, -0.02597113884985447, -0.03608975186944008, -0.012113543227314949, -0.02860397659242153, 0.04193994402885437, 0.01756245456635952, 0.08274933695793152, -0.006203990895301104, 0.03947628661990166, 0.021467026323080063, -0.01717999391257763, -0.16427040100097656, 0.10724406689405441, 0.04384118318557739, 0.05378976836800575, -0.06627888232469559, -0.006442349869757891, -0.043929778039455414, 0.07688084989786148, 0.019182071089744568, -0.028977565467357635, -0.031150594353675842, 0.011805401183664799, 0.02640334516763687, 0.028195826336741447, -0.006374751683324575, 0.02311232127249241, 0.009966478683054447, -0.059089574962854385, 0.004675185773521662, 0.011584490537643433, -0.03825370967388153, -0.016103094443678856, -0.04695596173405647, 0.0455297976732254, -0.0029612574726343155, 0.02269083447754383, 0.04185250774025917, 0.013343065045773983, 0.02575891651213169, 0.004634026437997818, 0.03049231693148613, -0.020854510366916656, -0.07254612445831299, -0.04481309652328491, 0.003066126024350524, 0.005664119031280279, -0.05060798302292824, 0.4020315408706665, 0.0018503874307498336, -0.035099320113658905, 0.08880995959043503, 0.0007172865443862975, 0.0010298547567799687, 0.004344292916357517, 0.01186621654778719, -0.023854289203882217, 0.03822591155767441, -0.007117099594324827, 0.03595234453678131, 0.045449912548065186, 0.050400085747241974, -0.03366764634847641, 0.009558280929923058, 0.04257483780384064, -0.01792740449309349, 0.00279171671718359, 0.02746291272342205, -0.03590938076376915, -0.02239842899143696, 0.024234594777226448, 0.012170110829174519, 0.03198689967393875, -0.03480425104498863, -0.04311992973089218, 0.04300932213664055, 0.0492805540561676, 0.007495864760130644, -0.02129543200135231, 0.052457500249147415, -0.053280722349882126, -0.05778730288147926, 0.00985634420067072, 0.017955848947167397, 0.018975764513015747, 0.006578157655894756, -0.02159278839826584, -0.005823468789458275, 0.07633377611637115, 0.004449428524821997, 0.01537261251360178, 0.036324452608823776, -0.03292855620384216, -0.032537154853343964, 0.12584565579891205, 0.07850899547338486, -0.038816992193460464, -0.025592602789402008, -0.029706208035349846, 0.002612426644191146, 0.031697049736976624, 0.030119795352220535, -0.04887460917234421, 0.01967805251479149, 0.020428048446774483, 0.10609354078769684, -0.013105494901537895, -0.07972762733697891, -0.040729161351919174, -0.02214553952217102, -0.00823646504431963, -0.04731176793575287, 0.07825136184692383, 0.0734277218580246, -0.11497136950492859, -0.0013610260793939233, 0.023732731118798256, -0.001776676275767386, -0.055004850029945374, -0.017794892191886902, 0.022953880950808525, -0.04063679650425911, 0.007249359041452408, 0.06735750287771225, -0.04476218670606613, -0.07538886368274689, 0.0028438314329832792, 0.05250190198421478, -0.007557692471891642, 0.04575584456324577, 0.003438983578234911, -0.020981671288609505, -0.00878837238997221, -0.04902299866080284, -0.07239735871553421, -0.035873617976903915, -0.014454021118581295, -0.02205413021147251, -0.006276135332882404, -0.025519421324133873, 0.00591613631695509, -0.09327366948127747, 0.10382736474275589, -0.038374077528715134, -0.010673114098608494, 0.00041146675357595086, -0.013520058244466782, -0.016714012250304222, -0.0013815161073580384, -0.07635147124528885, 0.030827278271317482, -0.051851894706487656, 0.008643543347716331, -0.07550042867660522, 0.04716334491968155, 0.051922183483839035, -0.04877491295337677, 0.12503322958946228, 0.036471955478191376, -0.00938649196177721, -0.009866524487733841, -0.004446428269147873, 0.008208628743886948, 0.0150430453941226, -0.011602356098592281, 0.022169629111886024, 0.024203013628721237, -0.002919696271419525, 0.0410301573574543, -0.008584481664001942, 0.03507182002067566, -0.02288781851530075, -0.3609107732772827, -0.041595667600631714, -0.05745275318622589, 0.017547084018588066, 0.021545102819800377, -0.047235578298568726, 0.020899346098303795, 0.007026068400591612, -0.045808736234903336, 0.002682916820049286, 0.08053332567214966, -0.009077300317585468, 0.01029212772846222, -0.08433719724416733, 0.007566722109913826, -0.009897776879370213, -0.017010847106575966, -0.03809572756290436, -0.03290730342268944, -0.009949604980647564, 0.013209323398768902, 0.01550967711955309, -0.015170362778007984, -0.04600750282406807, -0.0027416867669671774, -0.04236734285950661, 0.06748887151479721, -0.02333109825849533, 0.09046004712581635, -0.02460453100502491, 0.04315676912665367, 0.008899504318833351, 0.004926804918795824, -0.0932462215423584, 0.0052319541573524475, -0.02065407857298851, 0.024727236479520798, -0.023480180650949478, -0.018670963123440742, -0.030357932671904564, -0.05210256576538086, 0.023306993767619133, -0.059785276651382446, -0.013243884779512882, -0.0735095739364624, 0.025236651301383972, -0.03297052159905434, 0.002345726126804948, -0.04426662623882294, 0.09442128986120224, 0.001465111505240202, 0.0029057632200419903, -0.0005705963703803718, 0.027651701122522354, -0.005927909165620804, -0.04071187227964401, -0.09228166192770004, 0.0391104631125927, 0.007630879525095224, 0.0033292793668806553, 0.02532927505671978, 0.045841287821531296, 0.03977768123149872, -0.045474473387002945, 0.011706439778208733, 0.000246152892941609, 0.005629901774227619, 0.02212708629667759, 0.042317211627960205, -0.03397047892212868, -0.0070005739107728004, 0.07994329184293747, -0.028866294771432877, -0.01691288873553276, 0.005565748084336519, 0.04009535163640976, 0.026956699788570404, 0.029827728867530823, 0.028868863359093666, 0.007188993971794844, 0.02213834971189499, -0.01271792408078909, 0.0349850058555603, -0.011778819374740124, 0.007387551013380289, 0.012602897360920906, 0.005703925155103207, -0.06760839372873306, 0.045360613614320755, 0.030261917039752007, -0.0333811417222023, 0.015339924022555351, -0.03891320154070854, -0.0654960498213768, 0.07390119135379791, 0.013902107253670692, -0.23928077518939972, 0.02073512226343155, 0.06508903205394745, 0.03577631711959839, -0.011681868694722652, 0.011415963992476463, 0.0192818995565176, -0.0477016344666481, 0.012021208181977272, 0.03927608206868172, 0.06034126132726669, -0.015518750995397568, -0.013472111895680428, -0.01908045820891857, 0.027064040303230286, -0.008838735520839691, 0.07733700424432755, -0.008260997012257576, 0.02324935793876648, 0.010421916842460632, 0.03110652230679989, 0.008706437423825264, 0.15257775783538818, 0.0010799458250403404, 0.007438824977725744, -0.0012271491577848792, -0.007956779561936855, 0.017775602638721466, 0.06623513251543045, 0.010238073766231537, 0.040577564388513565, -0.009721007198095322, 0.03972460702061653, 0.0010096250334754586, -0.009733968414366245, -0.07112028449773788, -0.021062511950731277, 0.020741775631904602, 0.018772169947624207, 0.002337398938834667, 0.0019930689595639706, -0.02427489124238491, -0.035254016518592834, 0.031500667333602905, 0.06767831742763519, 0.014590641483664513, -0.0010971714509651065, -0.05840396136045456, -0.038934167474508286, -0.025099284946918488, -0.04813472926616669, -0.05278947204351425, 0.02639487199485302, -0.01411389745771885, 0.017251551151275635, 0.04873819649219513, 0.03468698263168335, -0.0400172621011734, -0.01099560596048832, -0.008236360736191273, -0.012413142248988152, -0.007979719899594784, 0.06766228377819061, 0.06161578372120857, 0.06310046464204788 ]
[ -0.00012246954429429024, -0.010388970375061035, -0.017148759216070175, -0.032581549137830734, -0.005971958860754967, 0.006971235852688551, 0.013369264081120491, 0.04065558686852455, -0.02620566077530384, 0.009470685385167599, -0.005861358251422644, 0.009862590581178665, 0.022200020030140877, -0.02052149549126625, 0.045029670000076294, -0.015496019273996353, 0.038123104721307755, -0.032266028225421906, 0.032027143985033035, -0.00013752059021499008, -0.003399547189474106, 0.029869481921195984, -0.0333353690803051, -0.0202865581959486, -0.0021318006329238415, 0.0017808660631999373, -0.01584070920944214, -0.007559910416603088, 0.02445661649107933, -0.13995829224586487, -0.011894983239471912, -0.020157471299171448, 0.0166009608656168, 0.03777552396059036, 0.02776700258255005, -0.0013942354125902057, -0.015241287648677826, -0.015099390409886837, 0.021568404510617256, -0.008401361294090748, 0.011631165631115437, -0.02902643196284771, -0.04203181341290474, 0.030124804005026817, 0.0027747482527047396, -0.008791813626885414, -0.009488841518759727, 0.008247952908277512, 0.0018091908423230052, 0.005336873698979616, -0.06420711427927017, -0.00901416689157486, -0.03895207494497299, 0.02166980877518654, 0.020154163241386414, 0.027639472857117653, 0.0013577600475400686, -0.014223097823560238, 0.02151050977408886, -0.012815099209547043, 0.03648589923977852, -0.03202476352453232, -0.04442272335290909, -0.009660126641392708, -0.0072549921460449696, -0.016699980944395065, -0.018909279257059097, 0.012232339009642601, -0.06158778816461563, -0.015780828893184662, 0.029477210715413094, -0.018773160874843597, -0.04154053330421448, -0.02650616317987442, 0.013627897948026657, -0.0017576556419953704, -0.009687962010502815, -0.032240867614746094, 0.0007683542207814753, -0.01783626340329647, -0.030517637729644775, 0.0411188118159771, -0.009929354302585125, 0.0032117648515850306, -0.03314866125583649, 0.005725426599383354, 0.031481336802244186, -0.018539803102612495, -0.001814591814763844, -0.007767541334033012, -0.0076543958857655525, 0.021492917090654373, 0.006978990975767374, -0.008483120240271091, -0.09506873041391373, -0.017051465809345245, -0.029174573719501495, -0.0329081267118454, 0.004424555227160454, 0.870899498462677, -0.006827044300734997, 0.013482654467225075, 0.03212711587548256, 0.007982860319316387, -0.03487200289964676, -0.028888145461678505, 0.012026431038975716, 0.024111108854413033, 0.012398822233080864, -0.02648603543639183, -0.007390639279037714, 0.03213472664356232, 0.004827435128390789, 0.007072489708662033, 0.007420014590024948, 0.03011762723326683, 0.02833402529358864, 0.02642129175364971, 0.011904357932507992, 0.010551407001912594, 0.025083491578698158, 0.04034824296832085, -0.0007100115180946887, -0.034490715712308884, -0.008910389617085457, -0.14334364235401154, 0.024067189544439316, -8.218454794778607e-33, 0.016484959051012993, -0.005455402657389641, 0.003604455851018429, 0.004973726347088814, -0.012451178394258022, 0.008404912427067757, 0.026913225650787354, -0.005098497029393911, -0.026522047817707062, -0.011553517542779446, -0.024514522403478622, 0.0031972022261470556, 0.0030428264290094376, -0.021746288985013962, 0.03344358131289482, -0.009553720243275166, -0.0032103615812957287, 0.019225841388106346, 0.02703714556992054, -0.020424755290150642, 0.041425589472055435, 0.024356460198760033, -0.015760570764541626, 0.020960215479135513, 0.008904330432415009, 0.006849583238363266, -0.004508797079324722, -0.014804258942604065, 0.021872419863939285, -0.04200257360935211, -0.017487341538071632, 0.012032353319227695, 0.01189397182315588, -0.008555091917514801, -0.03028472140431404, -0.030526956543326378, -0.03464994579553604, -0.011089900508522987, 0.008514190092682838, -0.025386735796928406, -0.05447458475828171, 0.012668666429817677, -0.006287628784775734, -0.01312226802110672, -0.026303963735699654, 0.017619747668504715, 0.005413023754954338, -0.004370053764432669, -0.00897273886948824, 0.007850063033401966, 0.026721572503447533, -0.014952256344258785, 0.027633601799607277, 0.017679013311862946, -0.01780862919986248, 0.007791722193360329, -0.00009986747318180278, -0.007612868677824736, 0.00782378576695919, -0.017334168776869774, 0.021545633673667908, -0.026015350595116615, -0.004200558178126812, -0.005595555994659662, 0.001344977761618793, 0.012633929960429668, 0.013347023166716099, 0.006598603446036577, 0.020650876685976982, 0.0012827685568481684, -0.060893964022397995, -0.006455680355429649, -0.007263762876391411, -0.026548540219664574, -0.0007995642954483628, -0.011932261288166046, -0.03832804411649704, 0.026401272043585777, -0.01943214423954487, 0.032729338854551315, 0.006402123719453812, 0.03620505332946777, 0.01697203703224659, -0.02775903046131134, 0.00268183765001595, 0.010159572586417198, 0.02807815931737423, -0.016185132786631584, -0.0015116153517737985, 0.013208243064582348, 0.02087009698152542, 0.03684570640325546, -0.016016392037272453, 0.023086322471499443, -0.01765909045934677, 8.485775434467042e-33, -0.008586928248405457, -0.01915818639099598, 0.0034913094714283943, 0.028951121494174004, 0.022437382489442825, -0.012944838032126427, 0.01223412249237299, -0.014326338656246662, -0.07372148334980011, 0.018024669960141182, -0.018250010907649994, -0.01717539131641388, -0.024775616824626923, 0.022078171372413635, 0.019385676831007004, -0.0018852872308343649, 0.0309749823063612, -0.028165943920612335, 0.0015352426562458277, 0.016980819404125214, 0.03271549195051193, 0.011039425618946552, -0.002294922946020961, 0.003838205710053444, 0.021894583478569984, 0.030890678986907005, -0.0020302217453718185, 0.002408268628641963, 0.013289542868733406, -0.008956869132816792, 0.023185137659311295, -0.005163248162716627, 0.0034431980457156897, -0.004827112890779972, -0.010209284722805023, 0.03216540068387985, -0.013320398516952991, -0.016714131459593773, 0.013347719796001911, -0.0032960770186036825, 0.026418369263410568, -0.0013895591255277395, 0.009519360028207302, 0.023866603150963783, 0.004064538516104221, -0.005872801411896944, 0.022359123453497887, -0.05157871171832085, -0.0006888299831189215, 0.02253635786473751, 0.018000828102231026, 0.01703791879117489, 0.002869808115065098, 0.020770084112882614, -0.013276487588882446, -0.009990858845412731, -0.003273103153333068, 0.013824568130075932, -0.009885428473353386, -0.0017297468148171902, -0.006629034876823425, 0.014259186573326588, -0.011219779960811138, 0.010574673302471638, -0.002086796099320054, 0.010941390879452229, 0.010760200209915638, -0.0030653050635010004, -0.002715415321290493, -0.022220507264137268, -0.032292284071445465, -0.018348626792430878, 0.0026501750107854605, 0.009567031636834145, -0.02048393338918686, -0.01802424155175686, -0.018288323655724525, 0.031620241701602936, -0.02701733633875847, 0.021688135340809822, 0.008970222435891628, 0.04119902849197388, 0.014746198430657387, 0.02176063135266304, -0.007986783981323242, 0.02480272203683853, -0.005004978273063898, -0.02257329598069191, -0.013724138960242271, -0.0043103331699967384, -0.015344129875302315, -0.028554070740938187, 0.004403708968311548, 0.02014795131981373, -0.021163128316402435, -1.4005222759294611e-8, -0.03230373561382294, 0.0056485263630747795, 0.0006459248252213001, 0.022233059629797935, 0.033801544457674026, -0.007557464763522148, 0.009087986312806606, -0.0059492033906280994, 0.0029064551927149296, 0.02123364247381687, 0.020634468644857407, -0.06714803725481033, -0.013554276898503304, 0.04086420685052872, 0.029290035367012024, -0.03750089928507805, 0.025925399735569954, -0.00572331203147769, 0.031009243801236153, 0.019523244351148605, 0.04703889787197113, 0.06352885067462921, 0.020913152024149895, 0.020157834514975548, 0.007793591823428869, 0.006363613996654749, -0.030655980110168457, -0.08473753929138184, 0.046444639563560486, 0.04806970804929733, 0.012586918659508228, -0.03915185108780861, -0.015104741789400578, 0.009831034578382969, -0.016072560101747513, -0.026830390095710754, 0.0039826552383601665, 0.018862741068005562, -0.013586564920842648, 0.004281412344425917, -0.006450882647186518, -0.009856566786766052, -0.01342795230448246, -0.026228947564959526, -0.011487332172691822, -0.011353998444974422, -0.0444522388279438, 0.004730673506855965, 0.033110782504081726, -0.0272018164396286, -0.0051436517387628555, -0.03572629764676094, 0.03722986578941345, 0.014041472226381302, 0.029288455843925476, -0.015031793154776096, 0.037130579352378845, -0.023021511733531952, -0.02517746575176716, -0.011358743533492088, 0.0004488129634410143, 0.005102456081658602, -0.014007486402988434, 0.002878929488360882 ]
core-competency
https://markhneedham.com/blog/2012/11/24/core-competency
false
2012-11-24 09:04:17
Windows line endings: Exception in thread 'main' java.io.FileNotFoundException /opt/app/config.yml{caret}M (no such file or directory)
[ "software-development" ]
[ "Software Development" ]
As I http://www.markhneedham.com/blog/2012/11/24/java-java-lang-unsupportedclassversionerror-unsupported-major-minor-version-51-0/[mentioned in my previous post] we've been making it possible to deploy our application to a new environment and as part of this we defined an http://upstart.ubuntu.com/[upstart] script which would run the JAR. We tend to edit code on Windows and then test it out on the vagrant VM afterwards. The end of our upstart script looked a bit like this: [source,text] ---- script cd /opt/app java -jar /opt/app/app.jar /opt/app/config.yml end script ---- Unfortunately when we tried to launch the application using 'start app' we got this error: [source,text] ---- Exception in thread "main" java.io.FileNotFoundException /opt/app/config.yml^M (no such file or directory) ---- We were trying to load the configuration file in the program which was failing because of the Windows line ending just after the file name. That was being read in as part of our config file name argument. I tried change the upstart script to have the name in quotes (which in hindsight makes no sense) but that made no difference but eventually I realised we could http://sourceforge.net/p/notepad-plus/discussion/331754/thread/ac70ed25[make the file have UNIX line endings] and solve our problem. Using notepad++: [source,text] ---- Edit > EOL Conversions > Unix Format ---- And all was well with the world.
null
null
[ -0.022721249610185623, -0.009884378872811794, -0.03236696124076843, 0.018020791932940483, 0.10794933885335922, 0.010125446133315563, 0.05411936342716217, 0.029038142412900925, 0.002863088855519891, -0.027525896206498146, -0.019144682213664055, 0.017770633101463318, -0.07335864007472992, 0.029018722474575043, -0.017195792868733406, 0.040850698947906494, 0.1008845791220665, 0.0058054085820913315, 0.01765364408493042, 0.005860338918864727, 0.02149312011897564, 0.05837370827794075, -0.018197158351540565, 0.01801208406686783, 0.012342618778347969, 0.009125787764787674, -0.015992101281881332, -0.02236483432352543, -0.0934530645608902, -0.002395709278061986, 0.020291974768042564, 0.013129168190062046, 0.004526415839791298, -0.02626691199839115, 0.02174519933760166, -0.013119928538799286, -0.028483381494879723, 0.0205136239528656, -0.010218576528131962, 0.03848116844892502, -0.03977476432919502, 0.0442984402179718, -0.009155058301985264, 0.009488551877439022, -0.02822295017540455, 0.014847896993160248, -0.03555990010499954, 0.004953091964125633, -0.0004937646444886923, -0.03131623566150665, -0.04422738403081894, 0.014107700437307358, -0.00973450392484665, -0.034614529460668564, 0.017175456508994102, 0.04227391257882118, 0.040058884769678116, -0.08923093229532242, 0.040027305483818054, -0.03878665715456009, -0.003921073861420155, -0.004623878747224808, -0.010530060157179832, 0.03589576110243797, 0.02053402177989483, -0.028971483930945396, -0.012681246735155582, 0.04991023987531662, -0.04830172285437584, -0.045871589332818985, 0.01944272220134735, 0.007077222689986229, -0.04288084805011749, -0.01872503012418747, 0.03589022532105446, -0.026953374966979027, -0.006429800298064947, 0.042647529393434525, 0.0023656825069338083, 0.06046557426452637, -0.03882106766104698, 0.005067333113402128, 0.07006637752056122, 0.01779858209192753, 0.005203393287956715, -0.03755433112382889, -0.028211263939738274, -0.011139310896396637, -0.021235274150967598, 0.053672488778829575, 0.06948275864124298, -0.03619367629289627, 0.01128335203975439, 0.0342542938888073, -0.01382194273173809, -0.005062486976385117, -0.0027763359248638153, -0.016280587762594223, -0.004365015774965286, -0.009958624839782715, -0.0752919614315033, 0.031220724806189537, 0.0019163473043590784, 0.023758122697472572, -0.05854833126068115, 0.002123545855283737, -0.03602674975991249, -0.01384646724909544, 0.002024732530117035, -0.02401372790336609, -0.02014685980975628, 0.05496690049767494, 0.0033634118735790253, 0.006561556365340948, -0.07568362355232239, 0.08416596055030823, -0.0009080648887902498, -0.06571093201637268, 0.014144409447908401, 0.03223424404859543, 0.04489455744624138, 0.04418841376900673, -0.018022004514932632, 0.09733889251947403, -0.019546031951904297, 0.04125738516449928, 0.001518692821264267, 0.03947044909000397, -0.035771261900663376, -0.062378447502851486, -0.01683035120368004, 0.06592463701963425, 0.01262810081243515, 0.0317004919052124, -0.006441088858991861, 0.026420844718813896, 0.00725196860730648, -0.008661249652504921, 0.07049606740474701, 0.03308722376823425, -0.0246319230645895, -0.013323660008609295, -0.001986126182600856, 0.01478432584553957, 0.012277855537831783, 0.015024598687887192, -0.0012143243802711368, -0.03485874459147453, -0.06527141481637955, 0.006983271799981594, 0.007415808737277985, 0.03765102103352547, 0.051411550492048264, -0.007800981402397156, 0.01253537554293871, 0.10711298137903214, 0.03099076822400093, 0.01786491461098194, -0.03137819468975067, 0.004412684589624405, 0.01748276688158512, 0.046203598380088806, 0.017034953460097313, 0.034530092030763626, 0.002054554410278797, -0.01397769432514906, 0.00865566823631525, 0.03209315612912178, -0.008381938561797142, -0.0027623430360108614, -0.05182723328471184, -0.10124050825834274, 0.06866591423749924, -0.06131661683320999, 0.0034139417111873627, 0.002455740701407194, 0.09708714485168457, 0.04222181439399719, 0.03703786060214043, 0.0001952959573827684, -0.07596161961555481, 0.019522281363606453, 0.01588314399123192, 0.02312488481402397, 0.04325222969055176, 0.0009072031243704259, 0.038356706500053406, 0.03301379084587097, 0.003551676869392395, 0.011616276577115059, -0.06710803508758545, -0.08570068329572678, -0.016933200880885124, -0.005417847074568272, 0.04846454784274101, -0.0026199836283922195, -0.008484359830617905, 0.04173935949802399, 0.01629994623363018, 0.0393194817006588, 0.042243316769599915, 0.006911924574524164, 0.0023357649333775043, -0.06869050115346909, -0.05493474379181862, 0.027381092309951782, 0.0503448024392128, -0.017101330682635307, -0.034830085933208466, 0.030327944085001945, -0.03203492611646652, 0.006994526367634535, 0.03434246778488159, -0.012732915580272675, 0.07208654284477234, 0.03813617303967476, 0.02243051864206791, -0.056789182126522064, 0.05701340734958649, -0.046257782727479935, 0.0043199327774345875, -0.00963146798312664, -0.017704948782920837, -0.020303910598158836, 0.030769038945436478, 0.10976988077163696, 0.04619547352194786, -0.0322137251496315, -0.050094518810510635, 0.013072170317173004, 0.026363950222730637, -0.08203583210706711, -0.0183302890509367, -0.016225790604948997, -0.014473029412329197, 0.018644820898771286, -0.011575678363442421, -0.038080789148807526, 0.021249977871775627, -0.02071337215602398, 0.019588341936469078, 0.08763952553272247, -0.044278621673583984, 0.05657212436199188, 0.003262193873524666, -0.03330656513571739, 0.021125469356775284, -0.04382173344492912, -0.06566613912582397, -0.003608721075579524, 0.021229056641459465, 0.0025618881918489933, 0.05104687437415123, -0.015877241268754005, -0.06440801918506622, -0.004819823428988457, -0.05774426832795143, 0.010514688678085804, 0.03618841618299484, 0.058638546615839005, -0.018639257177710533, 0.06149328500032425, -0.010496917180716991, 0.0024652075953781605, 0.00041491963202133775, -0.01895259879529476, -0.02978402189910412, 0.009478124789893627, -0.02078365720808506, 0.025118442252278328, -0.015352229587733746, 0.02753819152712822, -0.011378318071365356, -0.004403892904520035, 0.01681809313595295, -0.0017859198851510882, 0.025023801252245903, 0.004942626226693392, -0.016080733388662338, -0.004321341868489981, -0.003453584387898445, 0.004372854251414537, -0.04802330210804939, -0.002765567507594824, 0.014911549165844917, -0.06626734137535095, 0.027208438143134117, -0.058089252561330795, -0.05224688723683357, -0.0038650750648230314, 0.03905893489718437, 0.028577763587236404, 0.0030486625619232655, 0.009636588394641876, 0.0791613757610321, 0.00025297890533693135, 0.022539718076586723, 0.020759079605340958, 0.01308654248714447, 0.07490602880716324, 0.008104506880044937, 0.007096467074006796, 0.017743350937962532, -0.012553847394883633, -0.00642490154132247, -0.0154799185693264, 0.0029291396494954824, -0.02988557703793049, -0.2740717828273773, 0.0653601810336113, -0.0027255015447735786, -0.024134213104844093, 0.04004114121198654, -0.00953150074928999, -0.005955343134701252, -0.06504670530557632, -0.03440839424729347, 0.0313970148563385, -0.031924761831760406, -0.04199158772826195, -0.01563662476837635, 0.023588113486766815, -0.01880241557955742, 0.02307255193591118, 0.02654063142836094, -0.029312973842024803, 0.001663336530327797, -0.009967020712792873, -0.020223602652549744, -0.04072200879454613, 0.028301050886511803, 0.06732922792434692, 0.03576607257127762, 0.06479021161794662, -0.05258089676499367, 0.042914874851703644, -0.021407535299658775, -0.021695679053664207, 0.023022804409265518, -0.02116568386554718, 0.01661689206957817, 0.02034131996333599, -0.02792182005941868, -0.0064836908131837845, 0.0035866578109562397, 0.027165167033672333, 0.021475769579410553, 0.02085273340344429, -0.02256651222705841, -0.05495021119713783, -0.021019628271460533, 0.01619812659919262, 0.0354832224547863, -0.029645385220646858, -0.10160298645496368, -0.007107583340257406, -0.035860344767570496, 0.07038937509059906, -0.026941543444991112, -0.03175019100308418, -0.019803829491138458, 0.035437267273664474, 0.019302446395158768, -0.005833422765135765, 0.008936814032495022, -0.010271373204886913, -0.018294770270586014, -0.03891162946820259, -0.004246413707733154, -0.047146473079919815, -0.03626742213964462, -0.03021574579179287, -0.01131428498774767, -0.05052616074681282, -0.05881239101290703, -0.00898580253124237, 0.0782199427485466, 0.00973229669034481, -0.025562455877661705, -0.0005770346033386886, 0.038236405700445175, -0.10564465820789337, 0.01647157408297062, -0.03500279784202576, -0.06291513890028, -0.02034985087811947, -0.049451492726802826, 0.01918026991188526, -0.03768089786171913, -0.0035148444585502148, 0.02613539807498455, -0.007534599397331476, 0.010645472444593906, -0.03577667102217674, 0.033619724214076996, -0.0163598470389843, -0.006924937944859266, -0.004385617095977068, 0.051325395703315735, -0.04598408192396164, -0.04051721841096878, -0.01963775046169758, 0.0032749318052083254, 0.036458976566791534, 0.016090920194983482, 0.012301535345613956, 0.013326279819011688, 0.03973817080259323, 0.042332760989665985, -0.05589583143591881, 0.018618252128362656, -0.016381148248910904, 0.010330942459404469, 0.008032270707190037, -0.048850588500499725, 0.008235535584390163, 0.05024654045701027, 0.04819564148783684, 0.004061689600348473, -0.06251402944326401, 0.02523242123425007, -0.06294108182191849, -0.030286213383078575, -0.02611243724822998, 0.00312046124599874, 0.03005502186715603, 0.04189422354102135, -0.018760783597826958, -0.05746515095233917, 0.013343533501029015, 0.006623770110309124, -0.012126351706683636, -0.04691066965460777, -0.013391566462814808, 0.004212335217744112, 0.014628451317548752, -0.010225757956504822, -0.023378876969218254, -0.04132692143321037, 0.020852334797382355, 0.03859280049800873, -0.010090397670865059, -0.02256881073117256, -0.03303462266921997, -0.037344735115766525, -0.05287935584783554, -0.014399608597159386, -0.003292276058346033, -0.026988308876752853, 0.011503329500555992, 0.00047988578444346786, 0.0061549716629087925, 0.04171624779701233, -0.010200172662734985, 0.0812346413731575, -0.012144348584115505, 0.004035815596580505, -0.008614283986389637, 0.007214668672531843, -0.06318946182727814, 0.0313413068652153, -0.0306145828217268, -0.061607636511325836, -0.0059469519183039665, 0.016372546553611755, -0.0024689207784831524, -0.020060045644640923, -0.027062343433499336, 0.022084293887019157, -0.08533433079719543, -0.03975081816315651, -0.0043714893981814384, -0.0342501662671566, 0.044208377599716187, 0.03727097436785698, 0.03231208026409149, -0.0375281386077404, -0.012143864296376705, 0.02116440236568451, 0.012130720540881157, -0.037333570420742035, -0.01571681722998619, 0.009442362003028393, 0.00015940307639539242, 0.020682504400610924, 0.014153131283819675, 0.017947779968380928, 0.014305374585092068, 0.007773831486701965, -0.021041126921772957, 0.010729270987212658, 0.021189097315073013, 0.01640966720879078, -0.020361168310046196, -0.01304276380687952, -0.00389394024387002, -0.01522697601467371, -0.025569116696715355, -0.023040471598505974, 0.03194913640618324, 0.0031896126456558704, 0.0075676622800529, -0.026243645697832108, -0.08332949131727219, 0.0015005214372649789, 0.01732778362929821, 0.025309205055236816, -0.0052225105464458466, -0.01426653191447258, 0.010449088178575039, -0.06012732908129692, 0.011318369768559933, 0.0658983364701271, -0.054686691612005234, 0.01632467657327652, -0.015718704089522362, 0.02663324400782585, 0.005069421138614416, 0.006871278863400221, -0.05796061083674431, -0.00775653962045908, -0.03858460858464241, 0.006725977174937725, -0.05029211938381195, -0.03650086745619774, -0.02273775450885296, 0.01476339902728796, -0.0210519228130579, -0.015209960751235485, 0.00916003342717886, 0.02552655339241028, 0.0019094955641776323, -0.01834099367260933, -0.0028159446083009243, -0.026399776339530945, -0.010708017274737358, 0.019840294495224953, -0.018989572301506996, 0.028408115729689598, -0.034728121012449265, 0.016094014048576355, 0.004271423444151878, -0.005315063521265984, -0.028126757591962814, -0.036610960960388184, -0.023982711136341095, 0.009626924060285091, 0.05950719863176346, 0.004737177863717079, -0.0030282242223620415, -0.029753167182207108, 0.00137032731436193, -0.030406305566430092, 0.020429464057087898, -0.060295168310403824, -0.01871318183839321, -0.011492259800434113, 0.04786107689142227, 0.02038256824016571, 0.026539651677012444, -0.03143211081624031, -0.028190644457936287, 0.058112651109695435, -0.05271073803305626, -0.044699154794216156, -0.005979630164802074, -0.0670049861073494, 0.0224738921970129, 0.024911800399422646, 0.02583586797118187, -0.07030494511127472, 0.05578264966607094, 0.0490294024348259, -0.00832688994705677, 0.04832235351204872, -0.020008986815810204, 0.021381238475441933, -0.05728147178888321, -0.011638297699391842, -0.09094015508890152, 0.021300112828612328, 0.02011040411889553, 0.022370174527168274, -0.011707269586622715, -0.019846893846988678, -0.022797834128141403, 0.03330002725124359, -0.04574776440858841, -0.024029215797781944, 0.01920291595160961, -0.012486201710999012, 0.014914221130311489, 0.02448778972029686, -0.03925096616148949, 0.03166056424379349, 0.004136383067816496, -0.04037436097860336, -0.04348231852054596, -0.015148739330470562, 0.043350446969270706, 0.03063233382999897, 0.021771090105175972, -0.036019936203956604, 0.0066804601810872555, 0.08136808127164841, -0.007980472408235073, 0.010397941805422306, 0.025855571031570435, 0.00011941923730773851, 0.038902319967746735, 0.07091902196407318, 0.00006413707160390913, -0.002499873051419854, 0.02042854018509388, -0.018921228125691414, -0.0635930523276329, -0.01102569978684187, 0.0340055450797081, -0.005234238691627979, -0.0247349850833416, 0.04700135067105293, 0.020233510062098503, -0.028447164222598076, -0.017280247062444687, 0.000892604177352041, -0.052895329892635345, 0.013790706172585487, -0.044225357472896576, 0.007826750166714191, -0.009048611856997013, 0.060314759612083435, -0.020600575953722, 0.018070947378873825, 0.06019490212202072, 0.03046031855046749, 0.014493487775325775, 0.007708343677222729, 0.0494469553232193, 0.0728769451379776, -0.0024502950254827738, 0.016026437282562256, 0.04368899390101433, -0.0236623827368021, -0.039103809744119644, -0.004083000589162111, -0.05962006747722626, -0.025272903963923454, -0.039316460490226746, 0.02207205630838871, 0.0769786536693573, -0.0024968942161649466, 0.06157563626766205, -0.0023126571904867887, 0.00040425671613775194, -0.0038610135670751333, 0.028508605435490608, 0.017532028257846832, 0.04449894651770592, 0.017653867602348328, 0.025121578946709633, -0.009611032903194427, -0.023199699819087982, 0.011032378301024437, -0.03172675892710686, -0.020307626575231552, 0.018205199390649796, 0.011357792653143406, 0.018111541867256165, 0.006805345416069031, 0.03272567316889763, 0.06329513341188431, -0.030013233423233032, 0.004432244226336479, 0.006524956319481134, 0.029330389574170113, -0.005036292131990194, 0.027355890721082687, -0.01730458438396454, -0.010203843005001545, -0.008023659698665142, -0.014250501058995724, -0.025403276085853577, 0.018346793949604034, -0.0007525106775574386, 0.058763694018125534, -0.033225640654563904, 0.027215393260121346, 0.013876707293093204, -0.0006760228425264359, -0.023088976740837097, -0.05009644478559494, -0.03890874609351158, -0.03249409422278404, -0.047619644552469254, -0.025883972644805908, 0.0028854473493993282, -0.0010575229534879327, -0.033269498497247696, -0.0170478243380785, -0.028834575787186623, 0.000026749687094707042, 0.015272089280188084, -0.059085238724946976, -0.018688097596168518, 0.023340243846178055, 0.01333258580416441, 0.026742376387119293, 0.03271187096834183, 0.03187359496951103, -0.01968381181359291, -0.021117229014635086, -0.019461216405034065, -0.0006524769123643637, 0.042831987142562866, -0.018398579210042953, 0.028089214116334915, -0.06852583587169647, 0.060129981487989426, 0.037703558802604675, 0.00485176732763648, -0.04212510958313942, 0.01600947417318821, 0.03161688148975372, -0.021933425217866898, 0.08140622079372406, 0.015064802952110767, 0.0076792617328464985, -0.027051538228988647, -0.015631316229701042, -0.020458266139030457, -0.019764117896556854, 0.02212820015847683, 0.003062552073970437, 0.08837564289569855, 0.05808181315660477, 0.004286928102374077, -0.04973670840263367, -0.011137307621538639, 0.019149135798215866, -0.005720413289964199, -0.04062200337648392, -0.026777196675539017, -0.022678161039948463, -0.06534258276224136, 0.012072260491549969, 0.019217610359191895, -0.03937138244509697, -0.05207965895533562, 0.019779758527874947, 0.017369892448186874, -0.04924389719963074, 0.027203084900975227, -0.04134255275130272, -0.004494970664381981, -0.008758513256907463, -0.029074829071760178, 0.0055079092271625996, 0.0035357631277292967, 0.013614821247756481, -0.013925701379776001, -0.0044872271828353405, -0.018241263926029205, -0.013546757400035858, 0.0033769728615880013, 0.03952749818563461, 0.058725785464048386, -0.00353038078173995, -0.002126165200024843 ]
[ -0.10737331956624985, -0.03278953954577446, -0.0032298280857503414, -0.06378791481256485, 0.040946196764707565, -0.07979541271924973, -0.06601408123970032, 0.02088077925145626, -0.025116685777902603, -0.03186238184571266, 0.041902199387550354, -0.052722763270139694, -0.00860079936683178, -0.020044658333063126, 0.10316620767116547, 0.015410954132676125, -0.010427908040583134, -0.05273829400539398, -0.003921321127563715, 0.008057782426476479, 0.015111993998289108, 0.007294415030628443, 0.011524192988872528, -0.06743888556957245, -0.005756750702857971, 0.06254024058580399, 0.04276898503303528, -0.02188822254538536, -0.009275303222239017, -0.1716233640909195, 0.006680691614747047, -0.012593393214046955, 0.0029332300182431936, -0.03653166815638542, 0.028132924810051918, 0.08098021894693375, 0.004367219749838114, 0.0035205839667469263, -0.00989067554473877, 0.010878510773181915, 0.01271079108119011, 0.029374772682785988, -0.06165396049618721, -0.017726343125104904, 0.012109579518437386, -0.024328619241714478, -0.001724620466120541, -0.019991500303149223, -0.007068592123687267, -0.004259901586920023, -0.02471606433391571, 0.019630301743745804, 0.01060242485255003, -0.04944128170609474, -0.02937372215092182, 0.0012031308142468333, 0.043310556560754776, 0.07843873649835587, -0.003382850671187043, 0.03288942202925682, -0.04081864282488823, 0.001277667935937643, -0.1567034125328064, 0.08395455777645111, 0.027605708688497543, 0.00575281074270606, 0.0059011853300035, -0.041873276233673096, -0.016095802187919617, 0.07085435092449188, -0.031939659267663956, -0.002580245491117239, -0.013434898108243942, 0.07365487515926361, -0.005535658914595842, -0.0212608203291893, 0.038085900247097015, 0.014199653640389442, 0.03294277936220169, -0.034425441175699234, -0.04784175381064415, -0.018989238888025284, -0.018448906019330025, 0.003976574633270502, -0.03703533113002777, 0.02193094976246357, -0.002659166231751442, 0.07825068384408951, 0.020080111920833588, 0.047382812947034836, 0.029132243245840073, -0.028245996683835983, 0.06640789657831192, -0.007022038102149963, -0.07312444597482681, 0.011046910658478737, -0.031120426952838898, 0.010060684755444527, -0.03584757447242737, 0.40031400322914124, -0.011498220264911652, -0.03218722343444824, 0.04302363842725754, 0.023055600002408028, 0.0004328977665863931, 0.005624881014227867, 0.0018940041773021221, -0.00020306260557845235, 0.02551945485174656, -0.0077796196565032005, -0.004408820532262325, -0.0054050832986831665, 0.06899970769882202, -0.05117896571755409, -0.014648200012743473, -0.013199913315474987, 0.013077042996883392, -0.012163754552602768, -0.03909464180469513, 0.045876871794462204, 0.017506727948784828, -0.0038218724075704813, 0.01737985759973526, -0.01625054143369198, -0.004337863996624947, -0.022609028965234756, 0.009137943387031555, 0.02746322937309742, 0.024867096915841103, -0.000004188665570836747, 0.03293880075216293, -0.06799916923046112, -0.07560744881629944, -0.044872209429740906, 0.0016405537026003003, 0.046740803867578506, 0.02895498462021351, -0.011346974410116673, 0.014154456555843353, 0.02058938518166542, -0.019475331529974937, -0.03315934166312218, 0.01713431626558304, -0.004817173816263676, -0.04908173158764839, 0.07688815146684647, 0.01897146925330162, 0.02660997398197651, -0.0038437601178884506, -0.01359053235501051, -0.03438418731093407, 0.012714632786810398, -0.02341628633439541, -0.07134254276752472, 0.032119471579790115, 0.011663373559713364, 0.07590750604867935, 0.0016937177861109376, -0.06467855721712112, -0.014023460447788239, -0.004032852128148079, -0.0406445749104023, -0.043848078697919846, 0.02303287945687771, 0.03172040730714798, -0.08831676840782166, -0.02720722183585167, 0.01674932800233364, 0.025748826563358307, -0.0240358654409647, -0.02991129271686077, 0.034631047397851944, 0.003908172715455294, -0.028144529089331627, 0.04420293867588043, -0.029050687327980995, 0.017907489091157913, 0.012293831445276737, 0.05282266438007355, 0.03330821171402931, 0.0421905554831028, -0.015495548956096172, -0.04363572224974632, -0.004909677896648645, -0.02297361195087433, -0.09117521345615387, -0.05374358966946602, 0.009802612476050854, -0.001398026361130178, -0.02041315846145153, -0.05727990344166756, -0.03485352545976639, -0.09165013581514359, 0.03367837518453598, 0.015943344682455063, -0.0026742927730083466, -0.004733267705887556, -0.0027103933971375227, 0.024596208706498146, -0.04885667562484741, 0.03170843794941902, 0.07861711829900742, -0.014105691574513912, 0.0237701628357172, -0.0826229527592659, 0.05550896003842354, 0.04875018447637558, -0.04376921430230141, 0.06172946095466614, 0.012454839423298836, -0.06532720476388931, -0.008203086443245411, 0.01636376790702343, 0.02826962247490883, -0.021934431046247482, -0.002035822020843625, -0.03779755160212517, 0.024296486750245094, 0.05562703683972359, 0.03270871192216873, -0.025763189420104027, -0.02544488199055195, -0.013821141794323921, -0.34650719165802, -0.02753833495080471, -0.006813641171902418, -0.0175151489675045, -0.03327438607811928, -0.022081617265939713, 0.009120751172304153, -0.02124384604394436, 0.0018036458641290665, -0.0031221159733831882, 0.1190287321805954, -0.04382586479187012, 0.03376614302396774, -0.04250337928533554, 0.0227168258279562, -0.00021856797684449703, -0.051545411348342896, -0.0330716036260128, 0.0028543099761009216, 0.01015480700880289, 0.0029401492793112993, -0.05125059559941292, -0.026105502620339394, -0.04114772751927376, -0.01678619720041752, -0.022783106192946434, 0.08728551119565964, 0.04625827446579933, 0.08232918381690979, -0.08912716805934906, 0.061457470059394836, 0.03892296180129051, 0.01849479228258133, -0.11569046974182129, 0.009014729410409927, -0.017564434558153152, -0.0015671469736844301, -0.0004892604774795473, 0.013661236502230167, 0.01639668457210064, -0.03884875401854515, 0.004499017260968685, -0.050532016903162, -0.06502591818571091, -0.014488630928099155, 0.012299826368689537, -0.0108391884714365, -0.005128809716552496, 0.023676805198192596, 0.04900475591421127, -0.009974423795938492, 0.04094729572534561, 0.026091700419783592, 0.01775006391108036, 0.027667803689837456, -0.016567470505833626, -0.06177310273051262, 0.02969227358698845, 0.07846341282129288, -0.006248300429433584, 0.07783721387386322, 0.09496921300888062, 0.03042411617934704, -0.03708605840802193, -0.0098330769687891, -0.00812629796564579, -0.0035054348409175873, 0.007018495351076126, 0.07585509866476059, -0.023451197892427444, -0.0387403778731823, 0.10015895217657089, -0.02110777050256729, 0.026127846911549568, 0.015049170702695847, 0.026443658396601677, 0.007640085183084011, -0.002273610094562173, -0.005459599196910858, -0.023474223911762238, -0.008661278523504734, 0.005459266249090433, 0.05617280304431915, -0.06765908747911453, -0.023619387298822403, 0.06219972297549248, -0.019618527963757515, -0.0016091462457552552, 0.050735872238874435, 0.007032897789031267, -0.027778206393122673, 0.0024371976032853127, -0.019427672028541565, -0.033763330429792404, 0.08791691809892654, 0.013189556077122688, -0.25033673644065857, -0.00026526834699325264, 0.07089713215827942, 0.06385026127099991, -0.017849141731858253, -0.011674636974930763, 0.05582171678543091, -0.04391930252313614, -0.0004811729595530778, 0.014554520137608051, 0.010127858258783817, 0.004672153852880001, -0.01770736277103424, -0.0065869116224348545, 0.05108264088630676, -0.0007771200034767389, 0.038297008723020554, 0.03149644657969475, 0.05195705592632294, -0.03125564754009247, 0.016091538593173027, -0.018994539976119995, 0.15773531794548035, -0.009339514188468456, -0.00021185068180784583, 0.03308674320578575, -0.0013844422064721584, 0.05440383404493332, 0.05956627056002617, 0.007571063004434109, -0.037250664085149765, 0.00879786815494299, 0.06269288063049316, -0.018915165215730667, 0.03492547571659088, -0.06586483120918274, 0.0034297346137464046, 0.012795004062354565, 0.008630020543932915, -0.00616206182166934, -0.01577528938651085, 0.04379183053970337, -0.017604688182473183, 0.03269045427441597, 0.07216785848140717, -0.04077695682644844, 0.021037429571151733, 0.010841001756489277, -0.06525973230600357, -0.011529861949384212, -0.03454386442899704, -0.059245504438877106, -0.020929034799337387, 0.023180680349469185, 0.012878176756203175, 0.07093636691570282, 0.008640398271381855, -0.05345383286476135, -0.023660143837332726, 0.024082092568278313, 0.010597208514809608, -0.03132127597928047, 0.15850785374641418, 0.0014205388724803925, 0.028645504266023636 ]
[ -0.009000496938824654, 0.02098766900599003, -0.01286819577217102, -0.032721832394599915, 0.03991507738828659, 0.010975673794746399, -0.010322782211005688, 0.033834122121334076, -0.037398193031549454, 0.024112937971949577, 0.047684114426374435, 0.008193700574338436, -0.007514466531574726, -0.012811234220862389, 0.04765179380774498, -0.028423061594367027, 0.021078594028949738, 0.043612074106931686, 0.032268255949020386, 0.003969019744545221, -0.03476634994149208, 0.048622433096170425, 0.034056805074214935, -0.05512320250272751, 0.021414687857031822, 0.04913021996617317, -0.048391375690698624, 0.022262845188379288, 0.01590857282280922, -0.11411288380622864, -0.03372492641210556, -0.023784706369042397, -0.012616835534572601, -0.004785615019500256, 0.028156407177448273, 0.022263547405600548, -0.007448605727404356, 0.02518369071185589, -0.012106076814234257, -0.0074399360455572605, -0.026669591665267944, -0.0023286438081413507, -0.00978538766503334, 0.01843648962676525, -0.015090246684849262, -0.039391327649354935, -0.008934919722378254, -0.027341295033693314, -0.01038515754044056, 0.005880741868168116, -0.01714196614921093, 0.030831214040517807, 0.018086696043610573, -0.016978323459625244, -0.013920818455517292, -0.026959002017974854, 0.011517810635268688, 0.021490031853318214, -0.0018298227805644274, -0.022247403860092163, -0.009382396936416626, -0.004737528972327709, -0.014745613560080528, -0.04465368390083313, -0.008078689686954021, -0.03852677345275879, 0.013117900118231773, -0.007856862619519234, 0.008330886252224445, -0.020685482770204544, -0.03336019068956375, 0.031171511858701706, -0.016274338588118553, -0.018910137936472893, -0.05307380482554436, 0.007736374624073505, 0.0023273194674402475, 0.04403826594352722, 0.03802339732646942, -0.010810446925461292, -0.02135639451444149, 0.029840346425771713, -0.020463330671191216, 0.023510295897722244, -0.02831006608903408, -0.007193965837359428, 0.006633227691054344, 0.021149851381778717, 0.0462992861866951, 0.04517368599772453, -0.04320899769663811, 0.00004611473923432641, 0.016757989302277565, 0.019553177058696747, -0.08636017888784409, 0.012286859564483166, -0.04511402174830437, -0.034063756465911865, 0.014922624453902245, 0.8240090012550354, -0.008529003709554672, 0.02583354525268078, 0.046071261167526245, 0.023761877790093422, 0.03209967911243439, 0.0027860149275511503, -0.012895175255835056, 0.009834274649620056, 0.027174191549420357, -0.052872978150844574, 0.008737151511013508, -0.024369167163968086, 0.02950359508395195, 0.013185312040150166, 0.02788739837706089, 0.003131626406684518, 0.042370326817035675, 0.024961033836007118, -0.01105594728142023, 0.00604030629619956, 0.05242994800209999, -0.038746584206819534, -0.0028807169292122126, -0.0007214086945168674, -0.01884305104613304, -0.1674179881811142, -0.00011010039452230558, -7.896834397605844e-33, 0.0026997155509889126, -0.026241237297654152, 0.026988819241523743, 0.01803690195083618, 0.023941878229379654, -0.0006112339906394482, -0.02235466241836548, 0.04396894946694374, -0.012898418121039867, -0.04834709316492081, -0.02180374413728714, -0.050520382821559906, 0.0014672292163595557, -0.012968181632459164, -0.004488238133490086, -0.044802695512771606, -0.020813437178730965, 0.0240423996001482, -0.012158991768956184, 0.014288386330008507, 0.03577379509806633, -0.007717178203165531, -0.0033540462609380484, -0.009444242343306541, -0.013694009743630886, -0.00582533935084939, 0.02792147547006607, 0.02057524211704731, -0.007425311021506786, -0.047008734196424484, -0.0165635384619236, -0.010763800702989101, -0.010011578910052776, -0.03839593380689621, -0.016738159582018852, -0.07212300598621368, -0.012860924936830997, -0.012365194968879223, -0.031396184116601944, -0.017637288197875023, -0.06957618147134781, 0.02079637721180916, -0.010984325781464577, 0.012720858678221703, -0.018248610198497772, -0.008269802667200565, -0.02465096116065979, 0.04326605796813965, -0.0011379625648260117, 0.01464685145765543, -0.021557483822107315, 0.009321155957877636, -0.0004107744316570461, -0.009232993237674236, 0.0037524718791246414, 0.022503258660435677, -0.006967208348214626, 0.03624124825000763, -0.04182874411344528, -0.030679041519761086, 0.012672971934080124, -0.002155963098630309, -0.02009418047964573, 0.013589867390692234, -0.014097409322857857, -0.019136251881718636, -0.02165038511157036, -0.038492411375045776, -0.0077272760681807995, 0.047115471214056015, -0.05721941962838173, -0.0013887285022065043, -0.011413035914301872, 0.0045913951471447945, 0.028628181666135788, -0.040198348462581635, 0.05203262344002724, 0.03024318814277649, 0.01143613737076521, 0.012572451494634151, 0.0031181613449007273, -0.01720222271978855, -0.0018894870299845934, -0.055352311581373215, -0.028473172336816788, -0.014052798971533775, -0.015757951885461807, -0.010162188671529293, 0.0342005230486393, -0.024573158472776413, 0.04178620129823685, 0.026031631976366043, 0.008184308186173439, -0.0069773937575519085, -0.038257889449596405, 7.466885583849085e-33, -0.0017680908786132932, 0.019678689539432526, -0.016798775643110275, 0.0010818442096933722, 0.013234566897153854, 0.025977807119488716, 0.014177273958921432, 0.009261447936296463, -0.06360891461372375, 0.014177931472659111, -0.05804211273789406, 0.03855833783745766, -0.01635100692510605, 0.03447607904672623, 0.040177054703235626, -0.0006954939453862607, 0.03776958957314491, 0.021523216739296913, 0.07093829661607742, 0.00488215871155262, -0.0003851678338833153, 0.01873728446662426, 0.045119624584913254, 0.013302450068295002, 0.02840523235499859, 0.01869296096265316, -0.03702273964881897, 0.02840689942240715, -0.04316378012299538, -0.002504322212189436, 0.07402496039867401, -0.0010643244022503495, -0.012651074677705765, -0.022942738607525826, -0.0057721976190805435, -0.009959906339645386, 0.0036900138948112726, -0.02088724821805954, 0.002229537582024932, 0.013578716665506363, 0.001488198759034276, -0.05546747148036957, 0.011755499988794327, -0.0013620859244838357, 0.013652306981384754, 0.023024914786219597, 0.014442223124206066, 0.026789410039782524, -0.030018266290426254, -0.013980748131871223, -0.014520043507218361, 0.056158676743507385, 0.011513320729136467, 0.01825924590229988, 0.022616256028413773, -0.003328208578750491, -0.024991342797875404, 0.04279316961765289, -0.007274671457707882, 0.04312683641910553, 0.019391657784581184, -0.021326245740056038, 0.023206103593111038, 0.008693664334714413, -0.0348275750875473, -0.02573508769273758, 0.0002081056882161647, 0.03992757201194763, -0.020137352868914604, -0.026023555546998978, 0.003479934763163328, -0.031344398856163025, -0.01449266541749239, 0.032807622104883194, 0.035930342972278595, -0.02570516988635063, 0.01174204982817173, -0.01649574190378189, -0.056380826979875565, -0.004726616200059652, 0.01027083769440651, 0.016592074185609818, -0.023276684805750847, 0.005988420452922583, 0.011169142089784145, 0.030968833714723587, -0.0420672707259655, 0.011926443316042423, 0.026463981717824936, -0.009191208519041538, -0.011975829489529133, -0.006019555032253265, 0.0027495119720697403, 0.037385907024145126, -0.011634270660579205, -1.2964903817191953e-8, 0.004539537709206343, 0.00088840676471591, -0.012447753921151161, -0.03583056107163429, 0.0261920727789402, 0.02423926442861557, -0.03741619735956192, 0.009972860105335712, 0.00831338856369257, 0.01369807031005621, 0.013014484196901321, -0.008774789981544018, -0.008029807358980179, 0.06832283735275269, 0.02497328631579876, 0.0007724076276645064, -0.0073105995543301105, 0.07450085878372192, 0.030438605695962906, 0.03093607909977436, 0.002322680316865444, 0.0481017604470253, -0.019104234874248505, 0.008805490098893642, 0.0038100138772279024, 0.0019410286331549287, 0.042541008442640305, -0.09130234271287918, -0.007198540028184652, 0.01931445486843586, -0.02768838219344616, -0.0001157187798526138, -0.03929692134261131, 0.01249327789992094, -0.06339551508426666, -0.0026088550221174955, 0.018357615917921066, 0.02068306691944599, -0.017838675528764725, -0.0034585807006806135, 0.00942284520715475, -0.014278076589107513, -0.020140867680311203, -0.033955980092287064, 0.0014924852875992656, 0.016357939690351486, 0.0027352366596460342, 0.022695355117321014, -0.03576519340276718, -0.02884456142783165, 0.005660918541252613, 0.020208965986967087, 0.013012401759624481, 0.0008712948765605688, 0.004382330924272537, -0.010025452822446823, -0.022276630625128746, -0.02321341075003147, 0.005150989163666964, -0.01621122471988201, 0.038184087723493576, -0.0016486343229189515, -0.0158810093998909, -0.01387966051697731 ]
windows-line-endings-exception-in-thread-main-java-io-filenotfoundexception-optappconfig-ymlm-no-such-file-or-directory
https://markhneedham.com/blog/2012/11/24/windows-line-endings-exception-in-thread-main-java-io-filenotfoundexception-optappconfig-ymlm-no-such-file-or-directory
false
2012-11-24 19:43:32
A first failed attempt at Natural Language Processing
[ "machine-learning-2" ]
[ "Machine Learning" ]
One of the things I find fascinating about dating websites is that the profiles of people are almost identical so I thought it would be an interesting exercise to grab some of the free text that people write about themselves and prove the similarity. I'd been talking to https://twitter.com/mattb[Matt Biddulph] about some Natural Language Processing (NLP) stuff he'd been working on and he wrote up a https://gist.github.com/3888345[bunch of libraries, articles and books that he'd found useful]. I started out by plugging the text into one of the many NLP libraries that Matt listed with the vague idea that it would come back with something useful. I'm not sure exactly what I was expecting the result to be but after 5/6 hours of playing around with different libraries I'd got nowhere and parked the problem not really knowing where I'd gone wrong. Last week I came across a paper titled "http://people.cs.umass.edu/~brun/pubs/pubs/Kiddon11.pdf[That's What She Said: Double Entendre Identification]" whose authors wanted to work out when a sentence could legitimately be followed by the phrase "that's what she said". While the subject matter is a bit risque I found that reading about the way the authors went about solving their problem was very interesting and it allowed me to see some mistakes I'd made. == Vague problem statement Unfortunately I didn't do a good job of working out exactly what problem I wanted to solve - my problem statement was too general. In the paper the authors narrowed down their problem space by focusing on a specific set of words which are typically used as double entendres and then worked out the sentence structure that the targeted sentences were likely to have. Instead of defining my problem more specifically I plugged the text into http://mallet.cs.umass.edu/topics-devel.php[Mallet], http://mvnrepository.com/artifact/edu.washington.cs.knowitall/morpha-stemmer[morpha-stemmer] and https://github.com/louismullie/stanford-core-nlp[Stanford Core NLP] and tried to cluster the most popular words. That didn't really work because people use slightly different words to describe the same thing so I ended up looking at http://www.yawni.org/wiki/Main/WhatsWordNet[Yawni] - a wrapper around http://wordnet.princeton.edu/[WordNet] which groups sets of words into cognitive synonyms. In hindsight a more successful approach might have been to find the common words that people tend to use in these types of profiles and then work from there. == No Theory I recently wrote about how I've been http://www.markhneedham.com/blog/2012/11/19/learning-switching-between-theory-and-practice/[learning about neural networks by switching in between theory and practice] but with NLP I didn't bother reading any of the theory and thought I could get away with plugging some data into one of the libraries. I now realise that was a mistake as I didn't know what to do when the libraries didn't work as I'd hoped because I wasn't sure what they were supposed to be doing in the first place! My next step should probably be to understand http://en.wikipedia.org/wiki/Vector_space_model[how text gets converted into vectors], then move onto http://en.wikipedia.org/wiki/Tf%E2%80%93idf[tf-idf] and see if I have a better idea of how to solve my problem.
null
null
[ 0.00774659588932991, 0.013183160685002804, -0.022202862426638603, 0.06091621518135071, 0.08074253797531128, 0.03574343025684357, 0.032011084258556366, 0.04410933703184128, 0.024227319285273552, 0.0005884527927264571, -0.016660407185554504, 0.003428518772125244, -0.05248400196433067, -0.009606464765965939, -0.034450605511665344, 0.0659220963716507, 0.0452142171561718, 0.0014443234540522099, 0.02676125429570675, 0.006153451278805733, 0.011654645204544067, 0.06811068952083588, 0.02730930596590042, 0.03024791181087494, 0.041906535625457764, -0.001236679032444954, 0.006342026870697737, 0.0047456263564527035, -0.042030222713947296, 0.021492743864655495, 0.04019729793071747, 0.0021664018277078867, -0.0007715842220932245, -0.02267230674624443, 0.012903738766908646, -0.011933228932321072, -0.02413037419319153, 0.033450596034526825, 0.023933276534080505, 0.02682656981050968, -0.07656048238277435, 0.0397079698741436, -0.03736264631152153, -0.009918282739818096, -0.052508916705846786, 0.007521134801208973, -0.06403537839651108, 0.004809245001524687, -0.007282191887497902, -0.004899723455309868, -0.07050491869449615, 0.023457789793610573, 0.004453618079423904, -0.009630724787712097, -0.015922468155622482, 0.07185983657836914, 0.016530543565750122, -0.07867008447647095, 0.021480172872543335, -0.03297751769423485, -0.014207882806658745, -0.00508755911141634, -0.009527012705802917, 0.03073941357433796, 0.012603146024048328, 0.00006246296834433451, -0.001119199558161199, 0.015311717987060547, -0.04172496870160103, 0.002161957323551178, -0.005767833907157183, 0.027467722073197365, -0.008189848624169827, -0.01770671457052231, 0.0013279055710881948, -0.025219237431883812, -0.0007185486610978842, 0.06792319566011429, 0.008770599961280823, 0.031189803034067154, -0.04377511516213417, 0.03703606501221657, 0.011051909998059273, 0.028827937319874763, -0.01123816892504692, -0.03864152356982231, -0.0027263551019132137, -0.011904919520020485, -0.07190749794244766, 0.041403498500585556, 0.00789833627641201, -0.05481652170419693, 0.022932395339012146, 0.01817220263183117, 0.01874369941651821, 0.026876846328377724, 0.052607208490371704, 0.01285808626562357, -0.03384886682033539, -0.02231258898973465, -0.03625251352787018, -0.026470443233847618, 0.010801567696034908, 0.02176062762737274, -0.08089036494493484, -0.015159521251916885, -0.005790254566818476, -0.0025830615777522326, 0.010966368950903416, -0.0032086337450891733, -0.01615159772336483, 0.020514385774731636, -0.019318023696541786, 0.01391410082578659, -0.0868067815899849, 0.07580075412988663, 0.01125301606953144, -0.02660485729575157, -0.0015755458734929562, 0.00681401789188385, 0.019986022263765335, 0.015489868819713593, 0.006571921985596418, 0.07476142793893814, -0.007712229620665312, 0.029898082837462425, 0.008115891367197037, 0.03793870285153389, -0.02305147983133793, -0.04798959195613861, -0.007844776846468449, 0.03655686229467392, -0.0138224633410573, 0.01586746796965599, 0.019848229363560677, -0.040762219578027725, 0.00003661909795482643, 0.0092386519536376, 0.06422983855009079, 0.054125040769577026, -0.0017920829122886062, -0.040832750499248505, -0.009703368879854679, 0.005441797897219658, 0.0279226154088974, -0.002421685727313161, 0.011255484074354172, 0.0014605390606448054, -0.02034473977982998, 0.00016235338989645243, 0.007383665535598993, 0.005367019213736057, 0.03396149352192879, -0.04045509174466133, 0.0366547666490078, 0.09137410670518875, 0.04026614874601364, 0.025781948119401932, -0.008962169289588928, 0.0392693392932415, 0.0485970713198185, 0.052931610494852066, -0.03276894614100456, 0.021380871534347534, 0.006064245942980051, -0.04756911098957062, -0.009901603683829308, 0.046844661235809326, -0.021203430369496346, 0.020669415593147278, -0.042958687990903854, -0.045528631657361984, 0.05530206486582756, -0.04283982515335083, -0.03618088737130165, 0.03564039245247841, 0.06862104684114456, 0.03580360859632492, 0.032637350261211395, 0.018065594136714935, -0.07109569758176804, 0.04393121600151062, 0.022746117785573006, 0.025789767503738403, -0.007867210544645786, -0.012715699151158333, 0.07293275743722916, 0.037699099630117416, 0.00562757533043623, 0.04584189131855965, -0.07553225010633469, -0.08728769421577454, -0.012969743460416794, 0.00500662624835968, 0.06030996888875961, -0.03425492346286774, 0.0048957462422549725, 0.08539625257253647, 0.004931038245558739, 0.04304993525147438, 0.0020735326688736677, 0.004064408130943775, 0.021391507238149643, -0.02969888038933277, -0.056336909532547, 0.02983071282505989, 0.01788954623043537, -0.01704372838139534, -0.039095789194107056, 0.004541117697954178, -0.012321104295551777, -0.004410217981785536, 0.03629611060023308, -0.038084764033555984, -0.00004100482692592777, 0.02570287697017193, 0.0615575835108757, -0.02485261857509613, 0.03001498058438301, -0.04496648162603378, 0.038527075201272964, -0.015975136309862137, -0.011259823106229305, -0.02319467067718506, 0.012306438758969307, 0.1288355141878128, 0.050309233367443085, -0.03349447250366211, -0.02455298602581024, 0.01347824465483427, 0.012270568870007992, -0.016615083441138268, 0.030114896595478058, -0.0076803723350167274, -0.022905290126800537, 0.0006386369932442904, -0.050357330590486526, -0.036367591470479965, 0.03590133786201477, -0.03591740131378174, -0.01381747703999281, 0.07258857041597366, -0.026269230991601944, 0.05694003030657768, -0.04181127995252609, 0.010675858706235886, -0.03706949204206467, -0.031196817755699158, -0.04088667035102844, -0.00048667078954167664, 0.01413467526435852, -0.0034808055497705936, -0.002960826037451625, -0.007277416530996561, -0.020991478115320206, -0.01763291470706463, -0.043177396059036255, 0.019071148708462715, 0.07140093296766281, 0.04762042686343193, -0.00442140456289053, 0.060583118349313736, -0.016027282923460007, 0.029437722638249397, -0.007184440270066261, -0.045751556754112244, -0.025078343227505684, -0.03759557008743286, -0.014440366998314857, 0.030058907344937325, 0.026708165183663368, 0.017009513452649117, -0.008100996725261211, 0.016814304515719414, 0.006053526885807514, -0.0218674149364233, 0.044321175664663315, -0.022700363770127296, -0.023521985858678818, -0.03335428982973099, -0.037145908921957016, 0.044089775532484055, -0.04973236843943596, -0.005979401059448719, 0.02675916999578476, -0.07847505807876587, 0.03465326875448227, -0.025549212470650673, -0.036781445145606995, 0.01569204404950142, 0.009209685027599335, 0.03398081660270691, 0.03656192496418953, -0.008189335465431213, 0.07058428227901459, 0.012111539021134377, 0.020461825653910637, 0.0003481631283648312, 0.0014323856448754668, 0.046382710337638855, -0.0073661888018250465, 0.020056143403053284, 0.043709754943847656, 0.0034045230131596327, 0.005628413055092096, -0.03170660883188248, 0.027874914929270744, -0.016001364216208458, -0.293464720249176, 0.0344524085521698, 0.016338950023055077, -0.03580745682120323, -0.00417416961863637, -0.03683988004922867, 0.014624294824898243, -0.03780229762196541, -0.018165970221161842, -0.00009753402991918847, -0.03507373481988907, -0.03439738601446152, -0.037313226610422134, 0.04236586391925812, 0.021210338920354843, -0.00017343096260447055, 0.007701815105974674, -0.045273613184690475, -0.008452359586954117, 0.05876558646559715, -0.017314700409770012, -0.047882821410894394, -0.006285097915679216, 0.055861297994852066, 0.0410318598151207, 0.06320347636938095, -0.062362994998693466, 0.02722637914121151, -0.054178111255168915, -0.016631629317998886, 0.009553242474794388, -0.003626020858064294, 0.001549441716633737, -0.014413315802812576, -0.027596542611718178, -0.022938646376132965, 0.055307094007730484, 0.02250579372048378, 0.005650326143950224, 0.03786040470004082, -0.014331554993987083, -0.028632668778300285, -0.01770194247364998, -0.0042082276195287704, 0.08855973929166794, -0.006943286396563053, -0.06832375377416611, -0.003836359130218625, -0.01885271444916725, 0.052961315959692, -0.048611294478178024, -0.04498109966516495, -0.021133992820978165, 0.05079527571797371, 0.014494966715574265, -0.008821605704724789, 0.01003712136298418, -0.02990720421075821, -0.05058838427066803, -0.034520432353019714, -0.010098589584231377, -0.017964068800210953, -0.01865149475634098, -0.048748355358839035, 0.00364253344014287, -0.07044587284326553, -0.07066824287176132, -0.023248042911291122, 0.07213646918535233, 0.027550002560019493, -0.048964884132146835, 0.0016499878838658333, -0.01623927429318428, -0.10682269185781479, -0.025409149006009102, -0.0126184718683362, -0.028155094012618065, 0.012421642430126667, 0.007063192315399647, 0.02589469403028488, -0.05385367199778557, -0.06115330383181572, 0.009085375815629959, 0.012156467884778976, 0.018345946446061134, -0.03590316325426102, 0.007281116675585508, 0.0019360912265256047, -0.027844130992889404, -0.006644591223448515, 0.07794024795293808, 0.017518820241093636, -0.028870265930891037, -0.013051955960690975, 0.025072798132896423, 0.028275376185774803, 0.009609710425138474, 0.0111781544983387, 0.004783886484801769, 0.045182738453149796, 0.005067944061011076, -0.06652899831533432, 0.004616499878466129, -0.024048345163464546, -0.026005735620856285, 0.012000984512269497, -0.061956532299518585, 0.010721766389906406, 0.028140928596258163, 0.006086559500545263, -0.018182704225182533, -0.030916735529899597, 0.02409236691892147, -0.041127558797597885, -0.04748609662055969, -0.012910978868603706, 0.016284896060824394, 0.02624688111245632, -0.01602737046778202, -0.0015570394461974502, -0.05811508744955063, 0.014395897276699543, -0.006403433158993721, -0.03192150965332985, -0.044506948441267014, -0.04646510258316994, -0.017778612673282623, -0.021161966025829315, -0.018767759203910828, 0.016710512340068817, -0.025956589728593826, 0.02442772313952446, 0.027177290990948677, -0.04479626193642616, 0.03713729605078697, -0.03342786431312561, -0.027774661779403687, -0.03374354541301727, -0.005667949095368385, 0.013832997530698776, 0.01863420009613037, 0.004346300847828388, -0.015185861848294735, 0.03740628436207771, 0.06789576262235641, -0.01509975828230381, 0.007769640069454908, -0.020270971581339836, 0.014736293815076351, 0.012520224787294865, -0.017454445362091064, -0.05853484198451042, 0.013991511426866055, -0.029582753777503967, -0.02361900359392166, -0.01757545955479145, 0.027884433045983315, 0.023444578051567078, -0.04576405510306358, -0.001770644448697567, 0.005023017525672913, -0.04448697343468666, -0.006324366666376591, -0.03387480974197388, 0.00376647780649364, 0.05958041176199913, -0.034039318561553955, 0.03658217936754227, -0.01982029899954796, -0.006526049226522446, 0.018466293811798096, 0.017226392403244972, -0.033969152718782425, -0.0011639227159321308, -0.018667662516236305, 0.014822537079453468, 0.017056411132216454, 0.007275577634572983, 0.028371276333928108, 0.012791571207344532, -0.032409269362688065, -0.036185793578624725, 0.02582724764943123, 0.04698571562767029, 0.0738438293337822, 0.03238357603549957, 0.003722783410921693, -0.006140226032584906, -0.030778104439377785, -0.020076636224985123, -0.040966201573610306, -0.02337530069053173, -0.0041586365550756454, 0.016464635729789734, -0.04804951697587967, -0.07250824570655823, 0.03764643147587776, 0.0034911392722278833, 0.012047012336552143, 0.021030232310295105, 0.00409825099632144, -0.00907940324395895, -0.035893186926841736, 0.030915331095457077, 0.07355526834726334, -0.0743984803557396, 0.01727110520005226, -0.04052196070551872, -0.005039724987000227, 0.026888076215982437, 0.017164602875709534, -0.04507250338792801, -0.015430260449647903, -0.03088734671473503, 0.021004879847168922, -0.0540597103536129, -0.04304441437125206, -0.03318700194358826, -0.009300519712269306, -0.003576317336410284, 0.008863738738000393, -0.012124761007726192, -0.008285335265100002, 0.006729509681463242, -0.046833593398332596, 0.025059916079044342, -0.03073393739759922, 0.0008457704680040479, 0.011246003210544586, -0.04252571612596512, 0.02840910106897354, -0.04214883968234062, 0.0297548808157444, 0.011253518052399158, -0.01953229121863842, -0.013902410864830017, -0.04670308902859688, -0.006725698709487915, 0.006021867040544748, 0.03427828848361969, 0.005466748494654894, -0.051993586122989655, -0.05139915645122528, 0.00939804594963789, -0.028606455773115158, 0.029849229380488396, 0.003772533033043146, -0.01818319968879223, 0.023587524890899658, 0.0336027517914772, 0.012581664137542248, 0.011951523832976818, -0.03629876673221588, -0.006407550536096096, 0.039437856525182724, -0.03193964436650276, -0.0347660668194294, -0.04330241307616234, -0.048813968896865845, 0.02071407064795494, 0.01755974069237709, 0.016455773264169693, -0.05376864969730377, 0.04045393317937851, 0.0191427543759346, 0.027287259697914124, 0.04682674631476402, 0.01503052283078432, 0.029426373541355133, -0.029446706175804138, 0.004705379717051983, -0.11221200227737427, -0.03200661763548851, 0.021352168172597885, -0.024588242173194885, -0.01572665572166443, -0.00363391381688416, -0.025812992826104164, 0.03984357789158821, -0.07817249000072479, -0.015154457651078701, 0.04067413508892059, -0.010276795364916325, -0.0028015743009746075, 0.02352009527385235, -0.04369547590613365, 0.02507210150361061, 0.012660304084420204, -0.05310354009270668, -0.03131646290421486, -0.021552884951233864, 0.06668943166732788, -0.007732876110821962, 0.007989129982888699, 0.0031763699371367693, -0.001791412360034883, 0.0533977635204792, 0.028484923765063286, 0.026393959298729897, 0.04156923294067383, -0.014577804133296013, 0.0246792770922184, 0.05932469293475151, 0.00768475653603673, 0.007495644968003035, 0.014386062510311604, -0.027305779978632927, -0.06491941958665848, 0.0419364832341671, 0.004113534931093454, -0.024338753893971443, -0.023024454712867737, 0.06913289427757263, 0.011687587946653366, -0.02332746796309948, -0.07557844370603561, 0.030717959627509117, -0.042613133788108826, 0.009860537946224213, -0.030987540259957314, 0.003392182057723403, -0.02415883168578148, 0.055496323853731155, 0.011328124441206455, 0.010610380209982395, 0.07745343446731567, -0.009156784974038601, -0.00811068620532751, -0.003171889577060938, 0.10266275703907013, 0.09014417976140976, 0.04999702796339989, 0.015477092936635017, 0.07787850499153137, -0.01675574667751789, -0.0611848346889019, 0.02962586097419262, -0.0008026100695133209, -0.02021510899066925, -0.02409771829843521, 0.008468316867947578, 0.05907829478383064, -0.025147192180156708, 0.061671480536460876, -0.024764003232121468, -0.0014333352446556091, 0.01163303293287754, 0.050858478993177414, 0.03547004237771034, 0.06801395118236542, -0.00048618900473229587, 0.04228636994957924, -0.024166420102119446, -0.04175708815455437, 0.034481022506952286, -0.04534676671028137, -0.022173453122377396, 0.004276860039681196, -0.027016079053282738, 0.025056812912225723, -0.030346054583787918, 0.05993901565670967, 0.07916116714477539, -0.022309375926852226, 0.004496722016483545, -0.0017035326454788446, 0.033195771276950836, 0.01746814325451851, 0.06589654088020325, 0.0015215275343507528, -0.0026227522175759077, -0.021039990708231926, -0.040609560906887054, -0.021708950400352478, -0.023728137835860252, -0.022674506530165672, 0.0362112894654274, -0.062406886368989944, -0.005733727477490902, -0.0036593349650502205, 0.004894598852843046, -0.03741775080561638, -0.05612790212035179, -0.013385701924562454, -0.026087630540132523, -0.05788172408938408, -0.007365276571363211, 0.0199106577783823, 0.01031765528023243, -0.0444730743765831, -0.0029547542799264193, -0.020751135423779488, 0.0006132412818260491, 0.045524876564741135, -0.06263047456741333, 0.016850395128130913, -0.0020556473173201084, 0.026965035125613213, 0.00686522014439106, 0.013619243167340755, 0.03826837241649628, -0.006173430941998959, -0.00027291884180158377, 0.01162636373192072, -0.008705906569957733, 0.033834345638751984, 0.019463220611214638, 0.01687181368470192, -0.07613895833492279, 0.001668460899963975, 0.0030257345642894506, -0.0195477157831192, -0.07087350636720657, 0.033532485365867615, 0.03456241264939308, 0.016159888356924057, 0.0436028316617012, 0.007004520855844021, -0.013739070855081081, -0.027687083929777145, -0.006125771906226873, -0.010530651547014713, 0.0041146413423120975, 0.03966713696718216, -0.01871870458126068, 0.08725807070732117, 0.014178218320012093, -0.018099835142493248, -0.03829067200422287, -0.03671476989984512, 0.012054117396473885, 0.006121539510786533, -0.03437105938792229, -0.030225468799471855, -0.019614238291978836, -0.07804608345031738, -0.02556428499519825, 0.04142335429787636, -0.04459276795387268, -0.0180683471262455, 0.03836124762892723, 0.003072212217375636, -0.04069293662905693, 0.042842116206884384, -0.03567558154463768, 0.019769061356782913, -0.01268834713846445, 0.004847823642194271, -0.02029130607843399, -0.008272412233054638, -0.007404916454106569, -0.0016949726268649101, 0.020308801904320717, -0.05376266688108444, -0.0181417278945446, 0.005413863807916641, 0.032493624836206436, 0.014724526554346085, 0.002335379598662257, 0.00348519254475832 ]
[ -0.06350816041231155, 0.015567660331726074, -0.032196659594774246, -0.010380007326602936, 0.013137498870491982, -0.02684694342315197, -0.0009769212920218706, 0.013510179705917835, -0.001094955368898809, -0.06444930285215378, 0.03044210933148861, -0.029712636023759842, 0.0177314355969429, -0.02308516576886177, 0.07436776906251907, 0.04066011682152748, 0.01998632587492466, -0.08644963055849075, -0.011169548146426678, 0.06490066647529602, 0.017072424292564392, -0.02404974214732647, -0.04737398028373718, -0.005255631636828184, -0.009446906857192516, 0.011608109809458256, 0.034830983728170395, -0.034294791519641876, 0.0031351991929113865, -0.15591725707054138, 0.012298312038183212, 0.03593869507312775, 0.05876084789633751, 0.01315847598016262, 0.009097526781260967, 0.031739842146635056, 0.020690742880105972, 0.002179049188271165, 0.002243857830762863, 0.015066675841808319, 0.006335400510579348, -0.02726060524582863, -0.0028049000538885593, -0.019278202205896378, 0.06189519539475441, 0.020324481651186943, -0.03316737711429596, 0.0036699704360216856, -0.033466387540102005, -0.018507206812500954, -0.06283378601074219, -0.05424543842673302, -0.015577543526887894, -0.012294474057853222, -0.022820692509412766, 0.04177079722285271, 0.053102537989616394, 0.04669836908578873, -0.02882300689816475, 0.008436188101768494, -0.008952649310231209, -0.011303022503852844, -0.11747082322835922, 0.10075845569372177, 0.004961946979165077, 0.045424677431583405, -0.053164463490247726, -0.014756247401237488, 0.0005652080290019512, 0.09233495593070984, 0.04635462909936905, 0.0004746610939037055, -0.031772397458553314, 0.029516827315092087, 0.030465083196759224, 0.008219847455620766, -0.004345794674009085, 0.02276063710451126, 0.01936563476920128, -0.00216010888107121, -0.02462625876069069, 0.02310970611870289, 0.021303024142980576, -0.016621775925159454, -0.05005888268351555, -0.01989942230284214, 0.009935331530869007, 0.04254000633955002, -0.002001881832256913, -0.001409588847309351, 0.047498662024736404, -0.03355027735233307, 0.0040875826962292194, -0.00930803269147873, -0.08032514899969101, -0.015053719282150269, -0.014124816283583641, 0.020009269937872887, -0.024648001417517662, 0.4574419856071472, -0.025273779407143593, -0.0026241904124617577, 0.0706319510936737, 0.0005914650391787291, -0.026565419510006905, 0.01085087563842535, -0.005186074413359165, -0.09063022583723068, 0.012013561092317104, -0.02913825586438179, 0.008330017328262329, -0.015057762153446674, 0.04002103954553604, -0.048552006483078, 0.021242590621113777, 0.010180634446442127, 0.07344577461481094, 0.010314534418284893, 0.00027654445148073137, -0.03575637564063072, -0.03019634634256363, 0.002765337470918894, 0.006991061381995678, 0.009329351596534252, -0.010682778432965279, -0.06765265017747879, 0.03125287592411041, 0.04305611178278923, 0.01487481314688921, -0.015416156500577927, 0.0657375380396843, -0.018932463601231575, -0.04516802728176117, 0.01684129796922207, -0.025560181587934494, -0.012974949553608894, -0.0011170835932716727, -0.010621589608490467, 0.01615174300968647, 0.02246963605284691, -0.005823103245347738, -0.04100143909454346, 0.011434628628194332, 0.007814089767634869, -0.04177439957857132, 0.16033907234668732, 0.017013825476169586, -0.029450755566358566, -0.0038243448361754417, 0.0002811040903907269, 0.03470355272293091, 0.0244364682585001, -0.0274207666516304, -0.06911544501781464, 0.025548284873366356, 0.0003189330454915762, 0.09537822008132935, -0.04344792664051056, -0.08010350912809372, 0.01158292405307293, 0.03794558718800545, -0.007178489118814468, -0.0603584349155426, 0.010402662679553032, 0.07474854588508606, -0.12666113674640656, -0.017224900424480438, 0.01635104976594448, 0.02037939429283142, -0.0828966349363327, 0.03738650679588318, 0.00336585845798254, -0.020213622599840164, 0.01988019049167633, 0.0000085267683971324, -0.01864829659461975, -0.02943839505314827, 0.01637566089630127, 0.03500288724899292, 0.016663698479533195, -0.005297621246427298, 0.014001726172864437, -0.049359507858753204, 0.03488829359412193, -0.0679674744606018, -0.09080029278993607, -0.045884329825639725, -0.007207245100289583, 0.028256982564926147, 0.015109427273273468, -0.02109428681433201, -0.038038767874240875, -0.0581362247467041, 0.05314646288752556, -0.058312270790338516, -0.01719297654926777, 0.03834979608654976, -0.008626049384474754, -0.04217004403471947, -0.01067416276782751, -0.045926544815301895, 0.025609215721488, -0.015992652624845505, 0.01904730498790741, -0.034765057265758514, 0.04918162524700165, 0.059526681900024414, -0.07014551758766174, 0.1114516630768776, 0.046841930598020554, -0.021644067019224167, -0.011386516503989697, -0.009693900123238564, -0.006333258002996445, 0.008337914012372494, -0.04807507246732712, 0.034782350063323975, -0.016851535066962242, 0.03002658672630787, 0.04942009225487709, -0.03365159407258034, -0.01726306974887848, -0.0203318502753973, -0.3165094554424286, -0.05132748931646347, -0.02830478549003601, 0.0198427252471447, 0.019066372886300087, -0.07366655021905899, 0.03217054158449173, -0.0165608748793602, 0.015881294384598732, 0.07238145917654037, 0.022950978949666023, -0.017482202500104904, -0.02014174498617649, -0.0492718480527401, 0.004742430988699198, 0.020553825423121452, -0.007877877913415432, -0.02327120490372181, -0.008075540885329247, 0.013780026696622372, -0.013119570910930634, -0.01920965313911438, -0.016018865630030632, -0.08319563418626785, -0.0016908944817259908, -0.04521544277667999, 0.1028023511171341, 0.08677048981189728, 0.032704662531614304, -0.03553833067417145, 0.04879919812083244, -0.022551532834768295, 0.027986690402030945, -0.1129668802022934, 0.038216881453990936, -0.012906331568956375, 0.02205842174589634, -0.061948440968990326, 0.04745495319366455, -0.0392858125269413, -0.07557955384254456, 0.000012851671272073872, -0.019542640075087547, -0.02335461974143982, -0.09696213155984879, 0.018539410084486008, -0.002430953085422516, -0.02693290449678898, -0.03536032885313034, 0.10991059243679047, 0.004411974456161261, -0.009298674762248993, -0.0005381464143283665, 0.011634082533419132, -0.02210243046283722, -0.013227390125393867, -0.09636761993169785, 0.0022888181265443563, -0.0002785138494800776, -0.006144989747554064, 0.029531212523579597, 0.05637620389461517, 0.04939104989171028, -0.049888115376234055, 0.0009723989060148597, 0.0018525433260947466, -0.01734195463359356, 0.020410755649209023, 0.022603729739785194, -0.006451406050473452, -0.021260183304548264, 0.09793047606945038, -0.03253224864602089, 0.009553318843245506, 0.0022039818577468395, 0.02280743420124054, -0.05014387518167496, 0.028970394283533096, 0.013587586581707, -0.01689358614385128, 0.04931509494781494, -0.02715061604976654, 0.05131227895617485, -0.033957790583372116, 0.008912565186619759, 0.028626669198274612, 0.007220642175525427, -0.049217626452445984, 0.06675358861684799, 0.028244387358427048, -0.00830171536654234, -0.000059339316067053005, -0.017678096890449524, -0.052239689975976944, 0.06198616698384285, -0.018763408064842224, -0.25668632984161377, 0.013267912901937962, 0.039066050201654434, 0.07723400741815567, 0.011511796154081821, 0.015287076123058796, 0.00949165504425764, -0.01864117756485939, 0.017268534749746323, 0.03187324106693268, 0.04136655107140541, 0.03359777480363846, -0.022352907806634903, -0.02341262623667717, 0.006296960636973381, -0.003091063816100359, -0.007910194806754589, 0.007370199076831341, -0.0261074211448431, 0.032701972872018814, 0.035753894597291946, -0.02786581590771675, 0.1500093638896942, 0.020166348665952682, 0.004067670088261366, 0.020988520234823227, 0.024711057543754578, 0.013442585244774818, 0.06410614401102066, -0.022783812135457993, -0.022047141566872597, 0.005898216273635626, 0.003497218480333686, 0.012536176480352879, 0.021236898377537727, -0.0446578674018383, -0.011301803402602673, 0.01134512946009636, 0.06950680166482925, 0.00557361776009202, 0.014046176336705685, 0.01219833455979824, -0.02163846604526043, 0.03229682520031929, 0.04580862075090408, 0.02535029873251915, 0.040670402348041534, -0.012982293032109737, -0.05461450666189194, -0.000024863940780051053, -0.024887176230549812, -0.044028814882040024, 0.009060111828148365, 0.004140378441661596, 0.033545736223459244, 0.06119470298290253, 0.016184832900762558, -0.039089303463697433, 0.01086250226944685, 0.015282223001122475, -0.039923496544361115, -0.0015203922521322966, 0.09934893995523453, 0.028615564107894897, 0.02480809949338436 ]
[ -0.0028386861085891724, -0.03409150615334511, 0.059195905923843384, 0.01667802222073078, -0.01484826859086752, 0.02053021267056465, -0.0024459201376885176, 0.02859947830438614, -0.019858969375491142, -0.020816458389163017, 0.013590477406978607, 0.023388449102640152, 0.006307757459580898, -0.03006565198302269, 0.012959904968738556, 0.015296483412384987, -0.0065003191120922565, -0.009434732608497143, 0.027275050058960915, 0.012923180125653744, -0.018457502126693726, 0.02819429151713848, 0.008248747326433659, -0.0368492417037487, -0.02680080011487007, 0.009246816858649254, -0.029093699529767036, -0.022329920902848244, 0.014049787074327469, -0.08330493420362473, -0.0029879652429372072, 0.02324826829135418, -0.013007137924432755, 0.012161606922745705, 0.001610766164958477, -0.0016142346430569887, 0.0011113481596112251, 0.022675883024930954, 0.006785714067518711, -0.004581936635077, -0.034970350563526154, -0.04417446255683899, 0.014719439670443535, 0.05210734158754349, -0.04022091627120972, -0.007934946566820145, -0.023770730942487717, -0.008260468952357769, -0.028072278946638107, -0.03779735788702965, -0.02570408023893833, -0.0347391813993454, -0.010141173377633095, 0.03366492688655853, 0.03171573206782341, 0.018115753307938576, 0.012750696390867233, -0.010218256153166294, -0.0013044265797361732, -0.01435656938701868, -0.0020766204688698053, 0.014180348254740238, -0.06788290292024612, -0.02241612784564495, -0.013327841646969318, 0.0021843279246240854, -0.06437395513057709, 0.018453793600201607, -0.010535898618400097, 0.03501640260219574, -0.01016678661108017, 0.04214119166135788, -0.04967290535569191, 0.004780951421707869, 0.01213357038795948, -0.010469669476151466, 0.0022593208122998476, -0.027970880270004272, 0.028296634554862976, -0.02468748204410076, -0.05563666671514511, -0.010897500440478325, 0.030883662402629852, 0.005411491263657808, 0.012210254557430744, -0.017931055277585983, 0.010429298505187035, -0.010124225169420242, 0.012672270648181438, -0.0028125776443630457, -0.04378547519445419, 0.003420598339289427, 0.02702820487320423, 0.005105119664222002, -0.11510215699672699, -0.007252841256558895, -0.028830476105213165, -0.001992680598050356, -0.00747951352968812, 0.8406139016151428, 0.001460459316149354, 0.032355599105358124, 0.02485186979174614, 0.009981688112020493, -0.010580274276435375, 0.012106663547456264, -0.016633138060569763, -0.021516645327210426, 0.008785158395767212, -0.04461747035384178, 0.03797189146280289, 0.002515838947147131, 0.007335197180509567, 0.06367042660713196, 0.05211222916841507, -0.010744883678853512, 0.0636424869298935, -0.0045210374519228935, 0.0009709976147860289, 0.01821930520236492, -0.03883812949061394, -0.00785557646304369, 0.024850333109498024, 0.013293324038386345, -0.04205821454524994, -0.18838737905025482, 0.035445764660835266, -7.672235630730107e-33, 0.037736184895038605, 0.009362871758639812, -0.0014022273244336247, -0.014940273016691208, -0.007861515507102013, -0.0006171430577524006, -0.0099755534902215, -0.002854275284335017, -0.049477871507406235, -0.025460699573159218, 0.02809205651283264, 0.0026390596758574247, 0.008606625720858574, 0.0002847266150638461, 0.02883812040090561, 0.0002034322387771681, 0.005454324651509523, 0.04684758186340332, 0.010932483710348606, 0.027710461989045143, 0.013104881159961224, 0.032909419387578964, -0.0040483614429831505, -0.009615028277039528, 0.0003634971217252314, -0.008599990978837013, 0.0094553641974926, -0.007144857197999954, -0.0010559691581875086, -0.05365508049726486, -0.05709587037563324, 0.06126560643315315, 0.012677553109824657, -0.012869086116552353, 0.006041121203452349, -0.014307280071079731, -0.004134616814553738, 0.027967410162091255, -0.03202362358570099, -0.0032893444877117872, -0.031663812696933746, 0.022175054997205734, 0.013304054737091064, -0.05236228182911873, -0.0034347556065768003, 0.01720215193927288, -0.010926191695034504, 0.004498445428907871, 0.032752625644207, -0.009366040118038654, -0.0006857829284854233, 0.017400752753019333, -0.01740812137722969, 0.031059598550200462, 0.004624821711331606, -0.011548265814781189, -0.00870251189917326, -0.003507693763822317, 0.019800977781414986, 0.042369648814201355, 0.05764489993453026, -0.022053133696317673, 0.004580222070217133, 0.0008486327715218067, -0.014408190734684467, -0.034882597625255585, 0.016159353777766228, -0.022664450109004974, 0.0191296748816967, 0.02269466407597065, -0.044689543545246124, 0.014238434843719006, 0.006612435448914766, -0.006516944617033005, -0.018291955813765526, 0.0062166908755898476, 0.01868858002126217, -0.012887537479400635, 0.00006835716339992359, 0.03243575245141983, 0.006285725627094507, -0.007508457638323307, -0.0005147625342942774, -0.04074043780565262, -0.030730674043297768, -0.03386498615145683, -0.027284331619739532, -0.01144621055573225, -0.006968226283788681, 0.01961788535118103, 0.04087004065513611, 0.01373349316418171, -0.02023485116660595, -0.020743506029248238, -0.010672109201550484, 7.12744101889801e-33, 0.009726074524223804, -0.02401501126587391, -0.04558780789375305, -0.01524371188133955, 0.07002024352550507, -0.004687463399022818, 0.016598163172602654, 0.019891461357474327, -0.044368915259838104, 0.01500594150274992, -0.02833126299083233, 0.0013522402150556445, 0.0020626881159842014, 0.045854151248931885, 0.07193617522716522, -0.03423616662621498, 0.02224152348935604, -0.024463282898068428, 0.0013170993188396096, 0.01901278831064701, 0.029352346435189247, 0.010884284973144531, -0.00843670405447483, 0.010988322086632252, 0.03402094542980194, 0.0412290096282959, -0.014122840948402882, 0.022851107642054558, -0.009739949367940426, -0.013629559427499771, -0.006823925767093897, -0.012037592008709908, -0.0059901936911046505, -0.03156493231654167, 0.008694707415997982, 0.02503199875354767, -0.03604680672287941, -0.02046475186944008, 0.020756665617227554, -0.00979221984744072, -0.0048597888089716434, 0.06858313828706741, -0.03366350382566452, 0.03708736225962639, -0.002351239090785384, 0.02263329178094864, 0.012950696982443333, -0.046961069107055664, -0.0003437348932493478, 0.0008356570615433156, 0.004880982916802168, 0.003975692670792341, -0.004111082758754492, -0.02102944813668728, -0.029108144342899323, -0.03912867605686188, 0.015541395172476768, 0.02979077398777008, -0.018192972987890244, 0.03907238692045212, -0.025615451857447624, 0.004732207860797644, -0.00454931752756238, -0.007662242278456688, -0.035586100071668625, -0.04650130867958069, -0.04020683094859123, 0.011202137917280197, -0.04234541207551956, 0.0030976724810898304, -0.04434706270694733, -0.011311858892440796, 0.02395244687795639, 0.02768252231180668, 0.021971378475427628, -0.025901442393660545, -0.0031374457757920027, 0.0044541251845657825, -0.028301076963543892, 0.012733091600239277, 0.02071544900536537, 0.05517898499965668, 0.02423572726547718, 0.023287180811166763, -0.0352289117872715, 0.030609898269176483, -0.014149942435324192, 0.03399483114480972, -0.006229867227375507, -0.020970147103071213, -0.007872815243899822, -0.03340134769678116, -0.03353101387619972, 0.02457684837281704, -0.020083509385585785, -1.3277260180188932e-8, -0.056469179689884186, 0.019301583990454674, -0.04057767987251282, 0.013913895934820175, -0.012673253193497658, -0.007647173013538122, -0.004813369829207659, 0.003342291573062539, -0.011939959600567818, -0.014024978503584862, 0.03583375737071037, -0.0019183403346687555, 0.019535884261131287, 0.00847767386585474, 0.04000300168991089, -0.029620081186294556, 0.0006848875200375915, -0.025905784219503403, 0.010342812165617943, -0.0014050643658265471, 0.041319746524095535, 0.04328228905797005, -0.012204738333821297, 0.04400245100259781, -0.011236711405217648, 0.0313573032617569, -0.003072888357564807, -0.05344197154045105, -0.0074979886412620544, -0.011059083044528961, 0.011902525089681149, -0.02658168040215969, -0.02748795598745346, 0.00793981458991766, 0.01728794537484646, -0.00021218562324065715, -0.007559414952993393, 0.005456191953271627, -0.013720056973397732, 0.003997270483523607, -0.0074902987107634544, -0.005386581644415855, 0.0015824167057871819, -0.0026798523031175137, -0.002794346772134304, 0.035743940621614456, 0.010451669804751873, -0.030510185286402702, 0.0074387285858392715, 0.0148226423189044, -0.02684788592159748, 0.009683665819466114, 0.021535580977797508, 0.013191575184464455, 0.016731897369027138, -0.0013811050448566675, -0.009644563309848309, -0.0024223465006798506, -0.02912697196006775, -0.034606561064720154, -0.00033407469163648784, 0.027745818719267845, -0.0033250616397708654, -0.020399371162056923 ]
a-first-failed-attempt-at-natural-language-processing
https://markhneedham.com/blog/2012/11/24/a-first-failed-attempt-at-natural-language-processing
false
2012-11-13 12:19:30
Web Operations: Feature flags to turn off failing parts of infrastructure
[ "devops-2" ]
[ "DevOps" ]
On most of the projects I've worked on over the last couple of years we've made use of http://martinfowler.com/bliki/FeatureToggle.html[feature toggles] that we used to turn pending features on and off while they were still being built but while reading http://www.amazon.co.uk/Web-Operations-Keeping-Data-ebook/dp/B0043M4Z34/ref=sr_1_2?ie=UTF8&qid=1352804969&sr=8-2[Web Operations] I came across another usage. In the chapter titled 'Dev and Ops Collaboration and Cooperation' https://twitter.com/ph[Paul Hammond] suggests the following: ____ Eventually some of your infrastructure will fail in an unexpected way. When that happens, you'll want the ability to disable just the features that rely on it, and keep the rest of the site running. Feature flags make this possible. ____ We'd mainly use this approach to disable peripheral functionality such as the ability to comment on a site whose main purpose is to deliver news. From what I understand this means we'd permanently have if statements (or some equivalent) in the appropriate places in our code base which could be dynamically toggled if we start experiencing problems. This differs slightly from the feature toggle approach we've used because those toggles would eventually be removed when the feature was running successfully in production. Hammond goes on to suggest using feature flags for any external services that we rely on e.g. Flickr relies on the Yahoo address book, del.icio.us and last.fm but can gracefully disable that functionality if needs be. He also points out that it's useful to think hard about what features are absolutely core to serving your site e.g. Flickr can disable photo uploads but still allow people to continue viewing photos. Overall this sounds like a pretty neat idea and apart from the slight complexity of having the conditionals in the code I can't really think of any reasons why you wouldn't want to do it. Happy to hear opposing views though!
null
null
[ 0.03091377206146717, -0.007546622306108475, 0.006655034143477678, 0.03002084046602249, 0.0910331979393959, 0.0005570782232098281, 0.019162431359291077, 0.03903023898601532, 0.003385742660611868, -0.029454292729496956, -0.02429884672164917, -0.006583014037460089, -0.07252685725688934, 0.034235063940286636, -0.01575838401913643, 0.06563273072242737, 0.0754474401473999, 0.012005667202174664, 0.01640605926513672, 0.03450794890522957, 0.01895514875650406, 0.06922635436058044, -0.009480960667133331, 0.009493617340922356, 0.012673302553594112, 0.012281970120966434, 0.023483172059059143, -0.026140205562114716, -0.06073440611362457, -0.020655864849686623, 0.04055483266711235, 0.006339250598102808, -0.014198643155395985, 0.006945250555872917, 0.008877851068973541, -0.028851015493273735, -0.022279217839241028, 0.018299121409654617, -0.0032242138404399157, 0.01368523295968771, -0.08510994166135788, 0.03576705977320671, 0.006679955869913101, -0.005805181339383125, -0.052267950028181076, -0.0015982732875272632, -0.04141685739159584, 0.020786521956324577, 0.013040907680988312, -0.021242551505565643, -0.06591935455799103, 0.04409576207399368, -0.025249330326914787, 0.007853611372411251, 0.015979358926415443, 0.051299843937158585, -0.01627318002283573, -0.047705281525850296, 0.002179872477427125, -0.04115350916981697, -0.002237816574051976, -0.01934380643069744, 0.0016384198097512126, 0.030884653329849243, 0.009395476430654526, -0.04244374483823776, -0.010076956823468208, 0.06444013118743896, -0.02517569810152054, -0.01592770591378212, -0.004363891668617725, 0.014757531695067883, -0.005949612706899643, -0.0028267253655940294, 0.020312711596488953, -0.02409290336072445, -0.008425363339483738, 0.06263341009616852, 0.01023360900580883, 0.04723738506436348, -0.025691235437989235, 0.01518560852855444, 0.03779759630560875, 0.02140032686293125, -0.016859116032719612, -0.04409188777208328, -0.008764627389609814, -0.004820722155272961, -0.05472973361611366, 0.053129732608795166, 0.04141039773821831, -0.07334621250629425, 0.040754012763500214, 0.024609893560409546, 0.012803635559976101, 0.005648557562381029, 0.011477704159915447, 0.00853800494223833, -0.001813374925404787, -0.0033263934310525656, -0.022342674434185028, -0.010148398578166962, -0.016818618401885033, -0.005045889876782894, -0.08151441812515259, -0.02387443743646145, -0.010817933827638626, -0.004588087555021048, 0.0048341634683310986, 0.008980460464954376, -0.01841857098042965, 0.02767300233244896, -0.0160470362752676, -0.0030621797777712345, -0.08681897073984146, 0.07361830770969391, -0.018641430884599686, -0.023746617138385773, 0.01174804475158453, 0.0006606809911318123, 0.06081438064575195, 0.03287046030163765, -0.03821537271142006, 0.0508195124566555, 0.0019019423052668571, 0.0075195529498159885, -0.01694617234170437, 0.026542771607637405, -0.0146424425765872, -0.07273584604263306, 0.0007095241453498602, 0.04039035364985466, -0.032396167516708374, -0.015185256488621235, -0.00002314127777935937, -0.001931705977767706, -0.005442566238343716, -0.005452527664601803, 0.059778422117233276, 0.018494753167033195, -0.012549754232168198, -0.04394887387752533, -0.013527016155421734, 0.02344381995499134, 0.028388172388076782, -0.002085493179038167, 0.017722398042678833, -0.01595940999686718, -0.038646794855594635, -0.0041206153109669685, 0.011613315902650356, -0.006130263675004244, 0.04215530306100845, -0.0567234642803669, 0.008018056862056255, 0.09543071687221527, 0.06945066899061203, -0.024375276640057564, 0.011955300346016884, 0.02709014154970646, 0.05479418858885765, 0.02957426942884922, 0.0015825810842216015, 0.02459830418229103, 0.022926660254597664, -0.020366614684462547, -0.01265521440654993, 0.06920772045850754, 0.035496216267347336, -0.0017907981527969241, -0.04535485431551933, -0.04897086322307587, 0.06523821502923965, -0.03462260589003563, 0.023282432928681374, 0.058060422539711, 0.07320389151573181, 0.021866820752620697, 0.01305957231670618, 0.02004527673125267, -0.08066728711128235, 0.01238080020993948, 0.008967292495071888, 0.025259660556912422, 0.02361261658370495, -0.00993357039988041, 0.06650924682617188, 0.029833387583494186, 0.028684208169579506, 0.019145803526043892, -0.08602472394704819, -0.08989253640174866, -0.01761360466480255, 0.01308528147637844, 0.06167294830083847, -0.028887420892715454, -0.013558473438024521, 0.08375047147274017, 0.01859041303396225, 0.061550647020339966, 0.014921958558261395, -0.014255606569349766, 0.03014063462615013, -0.03393982723355293, -0.06672975420951843, 0.031198542565107346, 0.03678400442004204, -0.01348278857767582, -0.02913338877260685, 0.01011365745216608, -0.006900735665112734, -0.00017027488502208143, 0.03733864054083824, -0.00847148522734642, 0.05234208330512047, 0.015432968735694885, 0.061180517077445984, -0.048874903470277786, 0.02983287163078785, -0.03799275681376457, 0.007527731824666262, 0.018640073016285896, -0.011098962277173996, 0.00970916822552681, 0.014162213541567326, 0.10488376766443253, 0.05563628673553467, -0.026894425973296165, -0.019828855991363525, 0.026614654809236526, 0.005359588656574488, -0.046254921704530716, 0.007723113521933556, -0.008757834322750568, 0.020664501935243607, 0.0070738536305725574, -0.032816193997859955, -0.01861313357949257, 0.0034191731829196215, -0.03911742568016052, 0.01583823189139366, 0.05041328817605972, -0.042712122201919556, 0.05674633011221886, -0.01398682314902544, -0.003831100184470415, 0.0006247342680580914, -0.007492618169635534, -0.057483404874801636, 0.0063623287715017796, 0.03542127087712288, 0.00023384115775115788, 0.049806829541921616, -0.028480978682637215, 0.006393635179847479, -0.03148556500673294, -0.02003287710249424, 0.029085587710142136, 0.029382891952991486, 0.05074160173535347, -0.011097757145762444, 0.05207619071006775, -0.023253293707966805, 0.015424423851072788, -0.003072386374697089, -0.035781342536211014, -0.026005301624536514, -0.04243374615907669, -0.00419627083465457, 0.03344267979264259, 0.015981219708919525, 0.022974126040935516, 0.01052754558622837, -0.01440566498786211, 0.013568917289376259, -0.009202104061841965, 0.015709519386291504, -0.0012504786718636751, 0.015117766335606575, -0.028584161773324013, -0.009630334563553333, 0.04130323603749275, -0.01769048161804676, -0.033133797347545624, -0.026325488463044167, -0.057261545211076736, 0.06279733777046204, -0.08520784974098206, -0.061584439128637314, -0.007758072577416897, 0.011468044482171535, 0.031238829717040062, 0.03514648228883743, 0.05368458852171898, 0.049366842955350876, 0.009534182958304882, -0.008176463656127453, 0.007320834323763847, -0.01230761967599392, 0.0547197088599205, 0.0047939131036400795, -0.013733615167438984, 0.09148120880126953, -0.04497521370649338, -0.00006048093200661242, -0.060347896069288254, 0.04926178231835365, -0.03553955629467964, -0.3041384816169739, 0.04259936511516571, 0.020847827196121216, -0.07515556365251541, 0.009165279567241669, -0.02360215224325657, 0.017269577831029892, -0.0502450168132782, -0.006762456148862839, 0.03256037086248398, -0.017885742709040642, -0.04811932146549225, -0.02273164689540863, 0.03593996912240982, -0.008201727643609047, 0.023735351860523224, 0.01832394301891327, -0.012583916075527668, -0.014029046520590782, 0.03235303610563278, -0.030715955421328545, -0.05763275921344757, 0.02621348947286606, 0.00966960471123457, 0.016759786754846573, 0.04188276827335358, -0.05603186413645744, 0.04541326314210892, -0.05442456528544426, -0.001189671689644456, 0.015421945601701736, 0.0076226345263421535, -0.0005451418692246079, -0.014768959954380989, -0.021791303530335426, -0.02312416583299637, 0.033827174454927444, 0.004645294975489378, 0.004893666133284569, 0.012956340797245502, -0.016225317493081093, -0.013559246435761452, 0.023734992370009422, -0.0016795769333839417, 0.061684489250183105, -0.011357289738953114, -0.08782889693975449, -0.0031301421113312244, -0.06283142417669296, 0.07549108564853668, 0.004345176741480827, -0.050824448466300964, -0.020820697769522667, 0.05448117107152939, -0.01362560410052538, -0.012007176876068115, -0.01988372579216957, -0.015607121400535107, -0.03989623114466667, -0.022866636514663696, -0.017568767070770264, -0.03773714601993561, -0.016127455979585648, -0.03135876730084419, 0.01270587183535099, -0.06657061725854874, -0.0703049898147583, -0.01229116041213274, 0.08618932217359543, 0.016023622825741768, -0.02829068899154663, 0.03495384007692337, 0.004004238173365593, -0.10766646265983582, -0.008423682302236557, -0.010924235917627811, -0.04152577742934227, 0.0028548771515488625, 0.017059512436389923, 0.04522797837853432, -0.03806736320257187, -0.04070141538977623, 0.056129101663827896, 0.014992393553256989, 0.0014877190114930272, -0.02720545046031475, 0.0414363294839859, 0.016678640618920326, -0.003908661659806967, -0.0020495273638516665, 0.08354080468416214, -0.011622143909335136, -0.021829985082149506, -0.03821779787540436, 0.008700262755155563, 0.002718693343922496, 0.027779558673501015, -0.018714459612965584, -0.004287547431886196, 0.04651506990194321, 0.016286727041006088, -0.04455402120947838, 0.017067978158593178, -0.008259564638137817, -0.007119224406778812, 0.014055264182388783, -0.04812914878129959, 0.007217626087367535, 0.030191080644726753, 0.018474258482456207, -0.016312280669808388, -0.039124179631471634, 0.010622923262417316, -0.03815557435154915, -0.03599049523472786, -0.002004089066758752, 0.02519005350768566, 0.024021074175834656, 0.004592132288962603, -0.024604715406894684, -0.052217479795217514, 0.018208323046565056, 0.01424494944512844, 0.000382675469154492, -0.04721437767148018, -0.02790765091776848, -0.027234980836510658, -0.012935786508023739, 0.0272370632737875, 0.0006523558986373246, -0.023196760565042496, 0.023935873061418533, 0.0009337991941720247, -0.04553540050983429, 0.03991510346531868, -0.0311447624117136, -0.030643727630376816, -0.03813108801841736, 0.010721391998231411, 0.008681043982505798, -0.02013688161969185, 0.01510535180568695, -0.016482187435030937, 0.014964183792471886, 0.05374154821038246, 0.017099907621741295, 0.018612312152981758, 0.020130937919020653, 0.03514932841062546, 0.007412683218717575, -0.008787045255303383, -0.06738054007291794, -0.015244681388139725, -0.04355486482381821, -0.02214718796312809, -0.02636677585542202, 0.03466036170721054, -0.003954957704991102, -0.0260086078196764, -0.02472062222659588, 0.010542291216552258, -0.052177488803863525, -0.013004901818931103, -0.011408008635044098, 0.024293994531035423, 0.05531100928783417, -0.008911103941500187, 0.001370857236906886, 0.011506962589919567, 0.0034979297779500484, -0.0030190888792276382, 0.01729094609618187, -0.05879075452685356, -0.003930962178856134, 0.0077565205283463, -0.0030752888415008783, -0.014532903209328651, -0.007797398138791323, 0.03798620402812958, 0.023109592497348785, -0.0061903223395347595, -0.00005055745714344084, 0.013329239562153816, 0.027222678065299988, 0.03833184763789177, -0.004526932258158922, -0.023730071261525154, -0.004739539232105017, -0.018525078892707825, -0.011399347335100174, -0.0513998344540596, 0.006868254393339157, -0.023795422166585922, 0.0026091060135513544, -0.01787273958325386, -0.07470180094242096, 0.020308179780840874, 0.00011351772991474718, 0.024494009092450142, 0.005068365018814802, -0.039500486105680466, -0.014543628320097923, -0.024441463872790337, 0.029090076684951782, 0.0657656341791153, -0.05578421428799629, 0.011963319033384323, 0.012490951456129551, -0.03010118566453457, 0.023977912962436676, 0.011982353404164314, -0.07905494421720505, -0.034860000014305115, -0.01912461407482624, 0.018842797726392746, -0.06432142108678818, -0.037297118455171585, -0.033786654472351074, 0.016270756721496582, -0.008588563650846481, 0.009131800383329391, -0.018333328887820244, -0.00978513341397047, 0.005762553308159113, -0.024537356570363045, 0.015565034002065659, -0.015475981868803501, 0.014466875232756138, 0.04383178800344467, -0.04276157170534134, 0.013622825965285301, -0.034671567380428314, 0.03193983808159828, 0.03140823543071747, -0.050585824996232986, -0.0035850212443619967, -0.02957574836909771, 0.0054558757692575455, 0.0029824762605130672, 0.05116157606244087, -0.010312738828361034, -0.0077879601158201694, -0.045332469046115875, 0.0001359891175525263, -0.033906757831573486, 0.025212151929736137, -0.03291766345500946, -0.013696731999516487, 0.005717754829674959, 0.07257850468158722, -0.00895258504897356, 0.009952417574822903, -0.010808994993567467, -0.0223502479493618, 0.02660406567156315, -0.07032861560583115, -0.014071919955313206, -0.021735796704888344, -0.037266917526721954, 0.01714061200618744, 0.004918935243040323, 0.0350249744951725, -0.027432482689619064, 0.003106090473011136, 0.03500103950500488, 0.03408704325556755, 0.018704120069742203, -0.005202595144510269, 0.03215901181101799, -0.018300695344805717, -0.004280717112123966, -0.07594531774520874, 0.009723729453980923, 0.008421373553574085, 0.006142232567071915, 0.0038762972690165043, 0.00494477478787303, -0.017464954406023026, 0.029722725972533226, -0.06088918074965477, -0.03207144886255264, 0.03881976008415222, 0.006543143652379513, -0.027253644540905952, 0.021302344277501106, -0.07856306433677673, 0.032168034464120865, 0.01598620042204857, -0.032041020691394806, -0.023895686492323875, -0.049407925456762314, 0.051243800669908524, -0.009247065521776676, -0.0008820837247185409, -0.052630290389060974, -0.025812534615397453, 0.05501189082860947, 0.010350859723985195, -0.030262893065810204, 0.03973321616649628, -0.0011410582810640335, 0.03792678192257881, 0.03457507863640785, 0.03561882674694061, -0.010982024483382702, 0.017057258635759354, -0.0026306849904358387, -0.07524368911981583, 0.04663139581680298, 0.006464884150773287, -0.014931602403521538, -0.03898882865905762, 0.06320435553789139, 0.012098231352865696, -0.018712498247623444, -0.045890141278505325, 0.034492552280426025, -0.0386674664914608, -0.019938889890909195, -0.03280496224761009, -0.01680169068276882, -0.04611517861485481, 0.04749689996242523, -0.015352688729763031, -0.010904219001531601, 0.07844565808773041, -0.006529211066663265, 0.014577526599168777, 0.0016330735525116324, 0.08885350823402405, 0.0797199010848999, 0.08116181194782257, 0.023202551528811455, 0.07337892800569534, -0.00882724579423666, -0.06363321840763092, 0.018400341272354126, -0.024803295731544495, -0.027040980756282806, -0.04581228643655777, 0.019567780196666718, 0.041157979518175125, -0.015968162566423416, 0.0740000531077385, -0.023931246250867844, 0.0017340949270874262, -0.021006867289543152, 0.03958680480718613, 0.001963535323739052, 0.06856506317853928, 0.0435669831931591, 0.012998731806874275, -0.029579468071460724, -0.010309601202607155, 0.0298448633402586, -0.052122812718153, -0.023617621511220932, 0.027140267193317413, -0.0007539343205280602, 0.01788966730237007, 0.018316349014639854, 0.047609537839889526, 0.06594789773225784, -0.03574378043413162, 0.007731067948043346, 0.010315844789147377, 0.03483867272734642, 0.0005314151640050113, 0.053037118166685104, -0.006664523389190435, 0.013645829632878304, 0.022053703665733337, -0.012494063004851341, -0.023208195343613625, -0.00019323949527461082, -0.02304387465119362, 0.061023637652397156, -0.019897952675819397, 0.011630212888121605, 0.028085703030228615, -0.010957994498312473, -0.035577911883592606, -0.0400165319442749, -0.04328112676739693, -0.053446412086486816, -0.07030564546585083, -0.030125385150313377, 0.012549227103590965, 0.01027455274015665, -0.04351279139518738, -0.05209670588374138, -0.025659354403614998, -0.025794658809900284, 0.04369403421878815, -0.06636737287044525, -0.04738127440214157, 0.026976965367794037, 0.028250504285097122, 0.024819612503051758, 0.02971470169723034, 0.0567278116941452, 0.01062027644366026, -0.016218531876802444, -0.024594515562057495, 0.039185285568237305, 0.0494113564491272, 0.01601683720946312, 0.010580445639789104, -0.056717026978731155, 0.01827917993068695, -0.011538809165358543, -0.013676535338163376, -0.06106541305780411, 0.021291527897119522, 0.0351545624434948, -0.01908113993704319, 0.05059784650802612, -0.0413096621632576, -0.0014763097278773785, -0.05623435974121094, 0.024337423965334892, -0.03154217451810837, -0.008683307096362114, 0.038389891386032104, -0.013676905073225498, 0.07789221405982971, 0.021465729922056198, -0.022731568664312363, -0.03205156326293945, -0.005728838033974171, -0.01947731524705887, -0.0027339765802025795, -0.02825012616813183, -0.035548146814107895, -0.04723275080323219, -0.08384756743907928, -0.045069482177495956, 0.03391598165035248, -0.011487066745758057, -0.021351072937250137, 0.007476669270545244, 0.03648911789059639, -0.03454839438199997, 0.01209291908890009, -0.0327925868332386, -0.0006094388081692159, -0.01902620494365692, -0.0011644368059933186, -0.010433884337544441, 0.014823263511061668, -0.0001229664048878476, -0.004400783218443394, 0.026191318407654762, -0.03371456637978554, 0.020626423880457878, -0.03811882436275482, 0.018008189275860786, 0.03366214781999588, 0.010479873977601528, 0.003187056165188551 ]
[ -0.09389787167310715, -0.03268152102828026, -0.005447582341730595, -0.003955741412937641, 0.056090857833623886, -0.020633935928344727, 0.00935326423496008, 0.014894888736307621, -0.03993021696805954, 0.0024278589989989996, -0.008022280409932137, 0.017549164593219757, 0.00031933121499605477, 0.015067359432578087, 0.08840897679328918, 0.01693025417625904, 0.01403470803052187, -0.06786026060581207, 0.009182151407003403, 0.015352902002632618, 0.0363030843436718, -0.029460880905389786, -0.03832407668232918, -0.005560674238950014, -0.031675975769758224, -0.0019188717706128955, 0.025761283934116364, -0.005219577345997095, -0.008689052425324917, -0.18728508055210114, 0.02359292469918728, -0.02668776735663414, 0.005758007988333702, -0.030712326988577843, -0.0016019893810153008, 0.00997355580329895, 0.024614665657281876, 0.009833361022174358, -0.011941025964915752, 0.03221068158745766, -0.000978146563284099, 0.01801595278084278, -0.041925858706235886, -0.034287359565496445, -0.011433091014623642, 0.007698745932430029, 0.004381305538117886, -0.04762829467654228, -0.052420902997255325, 0.042884863913059235, -0.034127041697502136, -0.017084797844290733, -0.015553065575659275, -0.018537690863013268, -0.022460877895355225, 0.033137306571006775, -0.0045186541974544525, 0.08393311500549316, 0.005541326943784952, 0.02974281832575798, 0.024464966729283333, -0.0026917133945971727, -0.1232854500412941, 0.08472761511802673, -0.01292684767395258, 0.06675763428211212, -0.04720470681786537, -0.020732345059514046, -0.015160704031586647, 0.1012502908706665, 0.0013167894212529063, 0.006010213866829872, -0.05823748558759689, 0.027105508372187614, 0.010691532865166664, 0.0005277111777104437, 0.018223000690340996, 0.06626023352146149, 0.0032860394567251205, -0.04044174402952194, -0.009756126441061497, -0.017490746453404427, -0.01791740395128727, -0.011488412506878376, -0.020343810319900513, -0.01724947616457939, 0.02041490748524666, 0.04030653461813927, 0.027459094300866127, 0.024565162137150764, 0.03149380162358284, -0.04762709140777588, 0.06382744759321213, -0.024201365187764168, -0.08557993173599243, -0.003293632762506604, -0.0021858843974769115, 0.011823522858321667, -0.03510894998908043, 0.47508350014686584, -0.02375294454395771, -0.028375329449772835, 0.06146671250462532, 0.0020883854012936354, 0.02194722555577755, -0.02582923322916031, 0.026957351714372635, -0.01650095358490944, 0.011770864948630333, -0.01744656451046467, 0.009158698841929436, 0.012726961635053158, 0.051066622138023376, -0.03695981949567795, 0.0034255909267812967, 0.014267155900597572, -0.004061662591993809, 0.039125245064496994, 0.037090882658958435, -0.021306579932570457, -0.015314997173845768, 0.013931581750512123, 0.04117443412542343, 0.0033597610890865326, -0.011615870520472527, -0.0024271768052130938, 0.044331081211566925, 0.06619303673505783, 0.02483365312218666, 0.049875274300575256, 0.04117495194077492, -0.0521882139146328, -0.04665540158748627, 0.018047835677862167, 0.003754081903025508, 0.018697431311011314, 0.013977065682411194, -0.014237022027373314, -0.014337316155433655, 0.013784606009721756, -0.031071580946445465, 0.0036899507977068424, 0.050170689821243286, -0.015359723940491676, -0.0027685000095516443, 0.11875101923942566, 0.0010646531591191888, -0.0244308952242136, -0.016677141189575195, -0.06762735545635223, -0.012475247494876385, 0.026705816388130188, 0.026008566841483116, -0.07475968450307846, -0.016580650582909584, 0.013751487247645855, 0.047368284314870834, -0.03109416924417019, -0.051764413714408875, -0.02486380934715271, 0.0031919549219310284, -0.024171801283955574, -0.03035363182425499, 0.011171885766088963, 0.02472904697060585, -0.12624940276145935, 0.00015238042396958917, 0.005577248055487871, 0.003234676318243146, -0.03051486611366272, -0.02478077821433544, 0.011211537756025791, 0.007083046715706587, -0.06103605404496193, 0.05073733255267143, -0.009781505912542343, -0.046960849314928055, 0.02564893662929535, 0.019757680594921112, 0.008509122766554356, -0.0062927547842264175, -0.010343124158680439, -0.03499773517251015, -0.03576855733990669, -0.069874107837677, -0.07407979667186737, -0.024706462398171425, 0.007089241873472929, -0.006068427115678787, 0.0066280965693295, -0.021315017715096474, -0.08398877829313278, -0.0621488057076931, 0.043906889855861664, 0.016809411346912384, -0.016389716416597366, -0.02080928161740303, -0.009335530921816826, -0.0204461682587862, -0.039702240377664566, 0.0032470100559294224, -0.0009858255507424474, -0.02186541073024273, 0.016589008271694183, -0.04797765612602234, 0.05945442616939545, 0.04531538113951683, -0.04766976833343506, 0.08499005436897278, 0.01356788631528616, -0.022661376744508743, -0.02241777814924717, -0.004174950998276472, 0.008788719773292542, 0.030153857544064522, -0.011777885258197784, -0.00548015721142292, 0.03338542580604553, -0.003264804370701313, 0.05390806123614311, -0.007295782677829266, 0.02116210199892521, -0.009050159715116024, -0.3334331512451172, -0.0647357627749443, -0.030153192579746246, 0.018760863691568375, -0.001538691925816238, -0.10128945112228394, 0.007322000805288553, 0.011119821108877659, 0.004346137400716543, 0.027615215629339218, 0.10348555445671082, -0.015555033460259438, -0.007285560481250286, -0.07182611525058746, 0.0052159372717142105, -0.0010098101338371634, -0.01644248142838478, -0.03603122755885124, -0.03209669515490532, 0.001100751687772572, 0.006875935476273298, -0.002178404713049531, -0.00995886791497469, -0.0977402999997139, 0.0108775170519948, -0.024160221219062805, 0.09021297842264175, 0.02693428285419941, 0.07614511251449585, -0.04086009040474892, 0.04624709486961365, 0.02376626990735531, -0.003408373799175024, -0.09926290065050125, 0.006171104032546282, 0.03207072243094444, -0.004933192394673824, -0.004685467574745417, 0.014428106136620045, -0.01735316962003708, -0.034202154725790024, 0.045711640268564224, -0.05130859464406967, -0.08365053683519363, -0.0213003046810627, 0.0035313640255481005, -0.03907869756221771, -0.0032862254884094, -0.03939306363463402, 0.04278291389346123, 0.00814567506313324, -0.02953641675412655, -0.0016764603788033128, 0.05444728955626488, 0.01845678873360157, -0.02986067160964012, -0.05172180011868477, 0.0010711487848311663, -0.003576862858608365, 0.000182000279892236, 0.006750397849828005, 0.019049348309636116, 0.029809342697262764, -0.06944245845079422, 0.000008035977771214675, -0.002616558689624071, -0.013707511126995087, -0.005167472641915083, 0.028262875974178314, -0.008146976120769978, -0.024993542581796646, 0.13866740465164185, -0.012398278340697289, 0.04382029548287392, 0.014771486632525921, 0.027060119435191154, 0.019770078361034393, 0.021473338827490807, 0.0024574357084929943, -0.021059196442365646, 0.047809865325689316, 0.02037687785923481, 0.024792132899165154, -0.03655112907290459, -0.00003856284456560388, 0.03532203286886215, -0.014137220568954945, -0.06323958933353424, 0.057006556540727615, 0.040819644927978516, -0.03823457285761833, -0.016517456620931625, -0.013715813867747784, -0.06921100616455078, 0.09807199239730835, -0.00815900880843401, -0.23766471445560455, -0.017430908977985382, 0.05761924758553505, 0.07291808724403381, 0.007876653224229813, 0.05786757543683052, 0.05159888043999672, -0.021781418472528458, -0.026582978665828705, -0.0009945951169356704, -0.007149635348469019, 0.04878917708992958, 0.0032844278030097485, -0.03214018791913986, 0.037211764603853226, 0.005381615832448006, 0.030418697744607925, 0.009043230675160885, 0.03275255858898163, -0.00960817001760006, 0.035688936710357666, -0.02766176499426365, 0.18365223705768585, 0.02598738484084606, 0.02212820015847683, 0.0250313188880682, -0.009701311588287354, 0.008317179046571255, 0.02106456086039543, 0.0275298859924078, 0.01698393188416958, -0.0028103413060307503, 0.02860075607895851, -0.010172421112656593, 0.017324628308415413, -0.06501283496618271, -0.037025321274995804, 0.03638919070363045, -0.0089873680844903, -0.00832580216228962, -0.0012494379188865423, 0.02548820897936821, -0.023235097527503967, 0.021370328962802887, 0.06423525512218475, -0.00485750287771225, -0.003842903533950448, 0.011072560213506222, -0.060445599257946014, -0.018439004197716713, -0.015960291028022766, -0.04939474165439606, -0.02259163185954094, 0.0017406154656782746, 0.026416055858135223, 0.08099818974733353, 0.04833699390292168, -0.01682359166443348, 0.0057594352401793, 0.04093097522854805, 0.01917494274675846, -0.03065432980656624, 0.12393012642860413, 0.028244856745004654, 0.041771821677684784 ]
[ -0.01937420666217804, 0.004323113709688187, -0.007437790744006634, 0.013561764732003212, 0.025471581146121025, 0.0025738594122231007, 0.020639020949602127, -0.01203354261815548, -0.017966285347938538, 0.01117160078138113, 0.0045982953161001205, 0.020502394065260887, 0.008897516876459122, -0.010221989825367928, 0.03911774605512619, -0.0021008308976888657, -0.0018211922142654657, -0.03155027702450752, 0.007629281375557184, -0.03984073922038078, -0.016876639798283577, 0.004526618868112564, -0.00037019848241470754, -0.015889080241322517, -0.006469879299402237, 0.004797112196683884, -0.029277285560965538, -0.0013853403506800532, 0.030016696080565453, -0.13853105902671814, -0.016509518027305603, -0.026879724115133286, -0.017157860100269318, -0.002883034525439143, -0.0010291105136275291, -0.001970695098862052, -0.005255799740552902, -0.030040154233574867, 0.004785488359630108, 0.011787859722971916, -0.02822813391685486, -0.03316653519868851, -0.017392773181200027, -0.012583155184984207, -0.022990744560956955, 0.009186229668557644, -0.013608628883957863, -0.006284717936068773, -0.018861398100852966, -0.026863031089305878, -0.0038193741347640753, -0.00005619926014333032, -0.003272315254434943, 0.002713180147111416, 0.023927664384245872, 0.0011809403076767921, -0.02447602152824402, 0.0029261468444019556, 0.029535841196775436, -0.018692966550588608, 0.009265800006687641, -0.01627645641565323, -0.007637912407517433, -0.014919767156243324, 0.010787585750222206, -0.012068447656929493, -0.012465424835681915, -0.012009495869278908, -0.026009541004896164, 0.008476716466248035, -0.036621786653995514, 0.020877227187156677, -0.021405590698122978, 0.010301671922206879, -0.006015589460730553, -0.011950026266276836, 0.02146945334970951, -0.01604459248483181, 0.011593541130423546, -0.0006696097552776337, -0.0031261825934052467, 0.02144591137766838, 0.03481339290738106, 0.015163702890276909, -0.006967936642467976, -0.01731850393116474, 0.01616443693637848, -0.017728449776768684, 0.020373782142996788, -0.004592966288328171, -0.02868661656975746, 0.012415792793035507, 0.01724868454039097, 0.008231709711253643, -0.09284030646085739, -0.017759505659341812, -0.026876850053668022, -0.02843041718006134, -0.02186969295144081, 0.8741448521614075, 0.0046260785311460495, 0.014626972377300262, 0.02826239913702011, 0.02702173963189125, 0.014001261442899704, -0.013016920536756516, 0.021193375810980797, 0.033176157623529434, 0.0034512823913246393, -0.00033502455335110426, 0.011896669864654541, 0.02365460805594921, -0.0009221872896887362, -0.021548498421907425, 0.0027152972761541605, -0.007829437963664532, 0.004129954148083925, 0.026117520406842232, 0.024702953174710274, 0.005353353451937437, 0.0484161339700222, 0.02372749149799347, 0.0033135181292891502, -0.012105444446206093, 0.041750468313694, -0.14822901785373688, 0.013230615295469761, -8.104720573548766e-33, 0.07189910113811493, 0.008045965805649757, -0.036755140870809555, -0.009507393464446068, 0.024879006668925285, 0.01012736838310957, 0.03137468919157982, 0.038698531687259674, -0.02560565248131752, -0.028613295406103134, -0.022065341472625732, -0.024553027004003525, 0.005688252858817577, -0.02497423253953457, 0.047293730080127716, -0.007646059151738882, 0.012612546794116497, 0.027061961591243744, 0.02419971488416195, 0.010761339217424393, 0.028522459790110588, 0.018730197101831436, 0.004373366013169289, 0.03185602277517319, 0.030626067891716957, 0.018533168360590935, -0.01383497379720211, -0.002697036834433675, 0.010996086522936821, -0.037727031856775284, -0.004858698230236769, 0.03373649716377258, -0.028396785259246826, -0.025013340637087822, 0.005397309083491564, -0.06280429661273956, -0.036577481776475906, -0.006796652916818857, -0.02109086513519287, -0.0274430550634861, -0.05061030015349388, -0.004176831338554621, -0.05346251651644707, -0.028280429542064667, -0.030099425464868546, 0.0034873562399297953, 0.016750464215874672, 0.00384482997469604, 0.014913867227733135, -0.01983911357820034, 0.03086289018392563, -0.010808509774506092, 0.007429559249430895, -0.006878352258354425, 0.0013512191362679005, 0.002598181366920471, -0.03662010654807091, -0.032500434666872025, 0.012720916420221329, -0.003569871885702014, 0.040933430194854736, -0.013951160944998264, -0.012058370746672153, 0.007079857401549816, 0.008012811653316021, -0.020296063274145126, 0.04737906530499458, 0.026304876431822777, -0.018425701186060905, -0.01845819130539894, -0.05180325731635094, -0.0024340550880879164, 0.000016540727301617153, -0.0163129810243845, -0.006542148534208536, -0.005950361490249634, 0.009450065903365612, -0.0026699204463511705, 0.01487785391509533, 0.040058963000774384, 0.021299080923199654, 0.007828336209058762, 0.02906237542629242, -0.0328659787774086, -0.025167735293507576, -0.002232039114460349, 0.04812603071331978, 0.0018114516278728843, -0.02901862934231758, 0.03082622028887272, 0.030084090307354927, 0.04924830049276352, -0.00855360459536314, -0.02942429669201374, -0.02600752003490925, 7.852865031413337e-33, 0.009446484968066216, -0.00737743079662323, -0.03404674306511879, 0.009424404241144657, -0.0011236976133659482, -0.0041763512417674065, 0.030902190133929253, -0.012639430351555347, -0.03661048784852028, 0.029975391924381256, 0.01119525358080864, -0.01686495915055275, -0.04301447793841362, -0.019488897174596786, 0.03714856132864952, -0.045015979558229446, -0.013774472288787365, -0.027437131851911545, 0.02519802935421467, 0.028667936101555824, 0.005119244568049908, 0.009164711460471153, 0.0008124451269395649, 0.006057183723896742, 0.019893072545528412, 0.03741299360990524, -0.018426254391670227, 0.006171898916363716, 0.011036756448447704, -0.00919805932790041, 0.022968294098973274, -0.012388240545988083, 0.0021035231184214354, -0.015027661807835102, -0.03048788383603096, 0.014598671346902847, -0.03226340934634209, -0.0024225448723882437, 0.04097291827201843, -0.01218676008284092, 0.04573937878012657, 0.0009667208651080728, 0.004673935938626528, 0.03472680598497391, 0.005097428802400827, 0.010456969030201435, -0.004249767400324345, -0.0163204837590456, -0.017852120101451874, 0.005818963050842285, -0.00232633575797081, -0.0018623435171321034, -0.002572552068158984, -0.007087546866387129, -0.02431955374777317, -0.009195002727210522, -0.01886695623397827, -0.01623362861573696, -0.008372461423277855, 0.015507237985730171, 0.011101257987320423, -0.00936635211110115, -0.007656937465071678, 0.03293692320585251, -0.0325620137155056, 0.012602314352989197, 0.004581186454743147, 0.036492250859737396, 0.017375197261571884, 0.006383835803717375, 0.0017282954649999738, -0.02295316942036152, -0.00584084028378129, 0.00788432452827692, 0.004727351479232311, -0.010603982023894787, -0.010184402577579021, -0.0017725632060319185, -0.038723282516002655, 0.020395683124661446, 0.0002480620169080794, 0.025819607079029083, 0.010985031723976135, -0.022026721388101578, -0.012210823595523834, 0.03419750556349754, -0.018772220239043236, 0.016899336129426956, 0.0035515124909579754, -0.006874776445329189, -0.017716359347105026, -0.04843540117144585, 0.004563893657177687, 0.006828266195952892, -0.006221279036253691, -1.3674602783453338e-8, -0.018464623019099236, 0.017355507239699364, -0.004829464480280876, 0.0012614174047484994, 0.03352055698633194, 0.01064465381205082, -0.0029551712796092033, -0.0034049751702696085, 0.006045760121196508, 0.005834968760609627, 0.022931745275855064, -0.016509680077433586, -0.007484941277652979, 0.026092199608683586, 0.044492971152067184, -0.03003968484699726, -0.026180647313594818, 0.0036311233416199684, 0.03166012838482857, 0.02213566191494465, 0.0312952846288681, 0.02632727287709713, -0.020619643852114677, -0.015501528978347778, 0.023227714002132416, 0.03206010162830353, 0.003988638520240784, -0.08010408282279968, -0.0025536625180393457, 0.032365232706069946, 0.013537700287997723, -0.0226111002266407, -0.02697068639099598, 0.023349909111857414, 0.00012886703188996762, -0.049241773784160614, 0.003135792212560773, -0.009491530247032642, -0.007015138864517212, -0.015915434807538986, 0.02910349890589714, 0.029189959168434143, -0.017803769558668137, -0.005808880552649498, -0.02051752433180809, 0.004907824099063873, -0.03051813319325447, 0.003838291857391596, 0.018476027995347977, -0.033609725534915924, 0.007481453940272331, -0.01601625420153141, 0.0014554108493030071, 0.06274374574422836, 0.015680020675063133, -0.021829580888152122, 0.025394883006811142, -0.022270500659942627, -0.017685243859887123, 0.005372425075620413, 0.00981896836310625, 0.002898543607443571, -0.03952736407518387, -0.014139319770038128 ]
web-operations-feature-flags-to-turn-off-failing-parts-of-infrastructure
https://markhneedham.com/blog/2012/11/13/web-operations-feature-flags-to-turn-off-failing-parts-of-infrastructure
false
2012-10-03 06:46:13
Strata Conf London: Day 2 Wrap Up
[ "data-science-2", "strataconf", "bigdata" ]
[ "Data Science" ]
Yesterday I attended the second day of http://strataconf.com/strataeu/public/schedule/grid/public-grid/2012-10-02[Strata Conf London] and these are the some of the things I learned from the talks I attended: * http://twitter.com/jgrahamc[John Graham Cunningham] opened the series of keynotes with a talk describing the problems British Rail had in 1955 when trying to calculate the distances between all train stations and comparing them to the problems we have today. British Rail were trying to solve a graph problem when people didn't know about graphs and *Dijkstra's algorithm hadn't been invented* and it was effectively invented on this project but never publicised. John's suggestion here was that we need to *share the stuff that we're doing so that people don't re-invent the wheel*. He then covered the ways they simplified the problem by dumping partial results to punch cards, partitioning the data & writing really tight code - all things we do today when working with data that's too big to fit in memory. Our one advantage is that we have lots of computers that we can get to do our work - something that wasn't the case in 1955. There is a book titled 'http://www.amazon.co.uk/Computer-Called-LEO-worlds-computer/dp/1841151866/ref=sr_1_1?ie=UTF8&qid=1349167393&sr=8-1[A Computer called LEO: Lyons Tea Shops and the world's first office computer]' which was recommended by one of the attendees and covers some of the things from the talk. The http://blog.jgc.org/2012/10/the-great-railway-caper-big-data-in-1955.html[talk is online] and worth a watch, he's pretty entertaining as well as informative! * Next up was https://twitter.com/aallan[Alasdair Allan] who gave a talk showing some of the applications of different data sources that he's managed to hack together. For example he showed an application which keeps track of where his credit card is being used via his bank's transaction record and it sends those details to his phone and compares it to his current GPS coordinates. If they differ then the card is being used by someone else, and he was actually able to *detect fraudulent use of his card more quickly than his bank* on one occasion! He also got access to the data on an RFID chip of his hotel room swipe card and was able to chart the times at which people went into/came out of the room and make inferences about why some times were more popular than others. The final topic covered was how we leak our location too easily on social media platforms - he referenced a paper by some guys at the University of Rochester titled 'http://www.cs.rochester.edu/~sadilek/publications/Sadilek-Kautz-Bigham_Finding-Your-Friends-and-Following-Them-to-Where-You-Are_WSDM-12.pdf[Following your friends and following them to where you are]' in which the authors showed that it's quite easy to work out your location just by looking at where your friends currently are. * http://www.badscience.net/[Ben Goldacre] did the last keynote in which he http://www.ted.com/talks/ben_goldacre_what_doctors_don_t_know_about_the_drugs_they_prescribe.html[covered similar ground as in his TED talk] about pharmaceuticals not releasing the results of failed trials. I didn't write down anything from the talk because it takes all your concentration to keep up with him but he's well worth watching if you get the chance! * I attended a panel about how journalists use data and an interesting point was made about *being sceptical about data* and finding out how the data was actually collected rather than just trusting it. Another topic discussed was whether the open data movement might be harmed if people come up with misleading data visualisations - something which is very easy to do. If the data is released and people cause harm by making cause/effect claims that don't actually exist then people might be less inclined to make their data open in the first place. We were encouraged to think about where the gaps are in what's being reported. What isn't being reported but perhaps should be? * The coolest thing I saw at Strata was the stuff that http://www.narrativescience.com/[Narrative Science] are doing - they have developed some software which is able to *take in a load of data and convert it into an article describing the data.* We were showing examples of this being done for football matches, company reports and even giving feedback on your performance in an exam and suggesting areas in which you need to focus your future study. http://www.wired.com/gadgetlab/2012/04/can-an-algorithm-write-a-better-news-story-than-a-human-reporter/all/[Wired had an article a few months ago where they interviewed Kristian Hammond], one of the co founders and the guy who gave this talk. I have no idea how they're doing what they're doing but it's very very clever! * I'd heard about http://datasift.com/[DataSift] before coming to Strata - they are one of the few companies that has access to the twitter fire hose and have http://highscalability.com/blog/2011/11/29/datasift-architecture-realtime-datamining-at-120000-tweets-p.html[previously been written up on the High Scalability blog] - but I still wanted to see it in action! The talk was focused around five challenges DataSift have had: ** Digging through unstructured data volumes - they take tweets and convert them into 94 different files using some http://en.wikipedia.org/wiki/Natural_language_processing[NLP] wizardry. They use http://www.lexalytics.com/technical-info/salience-engine[Lexalytics Salience Engine] to help them do this. ** Filtering - separating the signal from the noise. http://blog.ouseful.info/2012/10/01/strataconf-dreamcatcher/[Popular hash tags end up getting massively spammed] so those tweets need to be excluded. ** Analysing - real time filtering and tagging of data. They use the http://www.cloudera.com/company/press-center/releases/cloudera-and-datasift-partner-to-deliver-big-data-insights-from-social-data/[cloudera Hadoop distribution]. ** Variety - integrating data from different sources. e.g. showing the http://mashable.com/2012/05/19/facebook-ipo-twitter-prediction/[Facebook stock price vs the twitter sentiment analysis] of the company. ** Make it work 24/7 + There was a very meta demo where the presenter showed DataSift's analysis of the +++<cite>+++strataconf+++</cite>+++ hash tag which suggested that 60% of tweets showed no emotion but 15% were extremely enthusiastic -'that must be the Americans'. * I then went to watch another talk by Alasdair Allan - this time pairing with a colleague of his, http://twitter.com/zenamwood[Zena Wood], talking about the work they're doing at the University of Exeter. It mostly focused on tracking movement around the campus based on which wifi mast your mobile phone was currently closest to and allowed them to make some fascinating observations. e.g. Alasdair often took a different route out of the campus which was apparently because that route was more scenic. However, he would only take it if it was sunny! They discussed some of the questions they want to answer with the work they're doing such as: ** Do people go to lectures if they're on the other side of the campus? ** How does the campus develop? Are new buildings helping build the social network of students? ** Is there a way to stop freshers' flu from spreading? * The last talk I went to was by http://twitter.com/thomaslevine[Thomas Levine] of https://scraperwiki.com/[ScraperWiki] talking about different tools he uses to clean up the data he's working with. There were references to 'head', 'tail', 'tr' and a few other Unix tools and a Python library called http://pypi.python.org/pypi/Unidecode[unidecode] which is able to convert Unicode data into ASCII. He then moved onto tools for converting PDFs into something more digestible and mentioned http://pdftohtml.sourceforge.net/[pdftohtml], http://en.wikipedia.org/wiki/Pdftotext[pdftotext] and http://inkscape.org/[inkscape]. He suggested saving any data you're working with into a database rather than working with raw files - http://couchdb.apache.org/[CouchDB] was his preference and he's also written a document like interface over SQLite called http://linux.softpedia.com/get/Database/Administrative-frontents/DumpTruck-84416.shtml[DumpTruck]. In the discussion afterwards someone mentioned http://tika.apache.org/[Apache Tika] which is a tool for extracting meta data using parser libraries. It looks neat as well. * A general trend at this conference was that some of the talks ended up feeling quite salesy and *some presenters would only describe what they were doing up to a certain point* at which the rest effectively became 'magic'. I found this quite strange because in software conferences that I've attended people are happy to explain everything to you but I think here the 'magic' is actually how people are making money so it doesn't make sense to expose it. </ul> Overall it was an enjoyable couple of days and it was especially fascinating to see the different ways that people have come up with for exploring and visualising data and creating useful applications on top of that.
null
null
[ 0.019901571795344353, 0.0002612554235383868, 0.008073930628597736, 0.05947166308760643, 0.0825689360499382, 0.02690134570002556, 0.01606469415128231, 0.03615626320242882, 0.01466862577944994, -0.02755814604461193, -0.010785309597849846, -0.00488522183150053, -0.054461777210235596, 0.042428527027368546, -0.02862648479640484, 0.07409056276082993, 0.04597368463873863, -0.021131101995706558, -0.004390801768749952, 0.004864932503551245, 0.055804379284381866, 0.059422727674245834, 0.04078005254268646, 0.0439085029065609, 0.021566521376371384, -0.023115161806344986, 0.024976348504424095, 0.007540078368037939, -0.031970228999853134, 0.0011207923525944352, 0.0398545116186142, 0.006093240808695555, 0.017476724460721016, 0.023048503324389458, 0.027172552421689034, -0.0158248208463192, -0.020289165899157524, 0.0024400551337748766, -0.00929686427116394, -0.001206754706799984, -0.06507454067468643, 0.06258037686347961, -0.037683986127376556, 0.03888912498950958, -0.04504901543259621, 0.02438727393746376, -0.0359182246029377, 0.00917077250778675, 0.01810244470834732, -0.0025563377421349287, -0.07021428644657135, 0.034763481467962265, -0.0015758828958496451, 0.003593969391658902, -0.04394706338644028, 0.039379365742206573, 0.0077455234713852406, -0.0643644779920578, 0.03075549751520157, -0.029286378994584084, 0.009306938387453556, -0.005386789795011282, -0.00797246117144823, 0.012502936646342278, 0.030621977522969246, -0.030622132122516632, -0.016681717708706856, 0.028181126341223717, -0.01617778092622757, 0.0032511460594832897, -0.023048028349876404, 0.01535947434604168, 0.020105136558413506, 0.015584610402584076, 0.0009730563615448773, -0.059426307678222656, 0.006254461128264666, 0.05933427810668945, 0.022042253986001015, 0.02446872740983963, -0.032002758234739304, -0.0006810423219576478, 0.004990404937416315, 0.043904874473810196, 0.0034563965164124966, -0.022061102092266083, -0.036426205188035965, -0.022412674501538277, -0.09065669775009155, 0.06541814655065536, 0.01596316508948803, -0.03541538864374161, 0.017156880348920822, 0.029007641598582268, -0.015004722401499748, -0.004934253171086311, 0.026349417865276337, -0.021254941821098328, -0.025683527812361717, -0.051031239330768585, -0.01899191364645958, -0.024761255830526352, 0.017715465277433395, 0.02464384399354458, -0.07292164862155914, -0.018842674791812897, -0.03061404824256897, 0.01513688638806343, 0.01936045102775097, -0.015001954510807991, -0.026734869927167892, -0.005778550170361996, -0.02248641848564148, 0.011052662506699562, -0.07011168450117111, 0.05167703330516815, 0.019131721928715706, -0.056593045592308044, 0.0010105033870786428, -0.006646361202001572, 0.042330462485551834, 0.028721673414111137, 0.004560038447380066, 0.06312405318021774, 0.005724453832954168, 0.01386995054781437, -0.009359272196888924, 0.03369929641485214, -0.021536629647016525, -0.0354619137942791, -0.01904105581343174, 0.07657647132873535, -0.016630981117486954, -0.011915966868400574, -0.00006165128434076905, -0.03291540965437889, -0.01811581291258335, 0.004137562122195959, 0.025422513484954834, 0.058057982474565506, 0.00364095252007246, -0.04469618201255798, 0.06078527495265007, 0.006537221372127533, 0.010358434170484543, 0.003380879294127226, -0.011511021293699741, -0.024330846965312958, -0.038947269320487976, -0.016327042132616043, 0.0022731127683073282, 0.0011313268914818764, 0.016106313094496727, -0.05056830868124962, 0.012703659944236279, 0.07683071494102478, 0.028736542910337448, 0.009953038766980171, -0.015955200418829918, 0.03741633519530296, 0.023506412282586098, 0.030071547254920006, 0.01552522275596857, 0.005637636873871088, -0.009770839475095272, -0.015066658146679401, 0.0017906250432133675, 0.057426489889621735, -0.018300479277968407, -0.004186486825346947, -0.047359589487314224, -0.06445763260126114, 0.05938973277807236, -0.03940768167376518, -0.028058046475052834, 0.02930622734129429, 0.0731784999370575, 0.04336734861135483, 0.017193861305713654, -0.017313111573457718, -0.08417882025241852, 0.02516803704202175, 0.018626533448696136, 0.0492817685008049, 0.04591571167111397, -0.029242824763059616, 0.060334596782922745, 0.034108955413103104, 0.02047528326511383, 0.036940399557352066, -0.053575534373521805, -0.08088543266057968, -0.02219267375767231, -0.02986862324178219, 0.05728846415877342, -0.020650528371334076, 0.030545014888048172, 0.014123816043138504, -0.005745694972574711, 0.06273690611124039, 0.022400222718715668, -0.009622358717024326, 0.035903748124837875, -0.03948786482214928, -0.05710294842720032, 0.060413338243961334, 0.03156358748674393, -0.017037799581885338, -0.037793777883052826, 0.019119130447506905, -0.026634350419044495, -0.034809742122888565, 0.03590761497616768, -0.011596200987696648, 0.03436257317662239, 0.005025857128202915, 0.06120619550347328, -0.03785216063261032, 0.038379866629838943, -0.03354811295866966, 0.006647586822509766, 0.01850452832877636, -0.030862117186188698, 0.02172865718603134, 0.0027606431394815445, 0.12984170019626617, 0.061072081327438354, -0.007140811067074537, -0.03129164129495621, 0.009597500786185265, 0.005874968133866787, -0.05340533331036568, -0.0054586525075137615, -0.015478101558983326, 0.024000244215130806, 0.0046237800270318985, -0.05727403983473778, -0.04526977986097336, 0.023773811757564545, -0.04056127741932869, 0.006334872916340828, 0.044185820966959, -0.001146799768321216, 0.07437607645988464, -0.004964892286807299, 0.013227294199168682, 0.006009499542415142, -0.02038721740245819, -0.05944501981139183, -0.025977157056331635, -0.0004331071104388684, 0.0010702501749619842, 0.023020340129733086, 0.008703082799911499, -0.0331093855202198, -0.05215180665254593, -0.002428501844406128, 0.002378626726567745, 0.05699390172958374, 0.08465935289859772, 0.005827874410897493, 0.04689573124051094, -0.03528755530714989, 0.0480806790292263, -0.016848571598529816, -0.05530590936541557, -0.05245344713330269, -0.05834462121129036, 0.01881473697721958, 0.036776427179574966, 0.03317154571413994, 0.005876258481293917, 0.03833986818790436, 0.006096683442592621, 0.01563713699579239, -0.019009308889508247, 0.03986206650733948, 0.01661231555044651, -0.012179774232208729, -0.008557738736271858, -0.03252163156867027, 0.06346924602985382, -0.04462502524256706, 0.014058641158044338, 0.039624787867069244, -0.07468932867050171, 0.05032104626297951, -0.05034012719988823, -0.015513211488723755, 0.001580963609740138, 0.009791489690542221, 0.03684545308351517, 0.018513506278395653, -0.01234983280301094, 0.03862372785806656, 0.0326203927397728, 0.014125777408480644, -0.02702528052031994, -0.0021301619708538055, 0.02266422100365162, -0.027789616957306862, 0.008153577335178852, 0.039715029299259186, 0.017399558797478676, -0.004673087038099766, -0.0456543043255806, 0.029228555038571358, -0.02895553782582283, -0.2736620604991913, 0.02524738758802414, 0.006466626189649105, -0.054086148738861084, 0.01887369714677334, 0.004049527924507856, -0.00014107830065768212, -0.044247571378946304, -0.03874151408672333, -0.0024115864653140306, -0.014315863139927387, -0.0314188227057457, -0.029732637107372284, 0.02112957090139389, 0.01871507242321968, 0.015604439191520214, 0.017743820324540138, -0.05800263583660126, 0.026429656893014908, 0.0431152768433094, 0.0018968506483361125, -0.08046382665634155, -0.0002009731251746416, 0.06644201278686523, 0.0312623493373394, 0.06970706582069397, -0.09595151245594025, 0.003957281354814768, -0.04922958090901375, -0.0028024925850331783, 0.029410814866423607, -0.022006671875715256, 0.023878930136561394, -0.028145601972937584, -0.006883630529046059, -0.04165971651673317, 0.03092377446591854, 0.018903004005551338, 0.0010521045187488198, 0.00001753916330926586, -0.014783804304897785, 0.010780539363622665, -0.018556181341409683, 0.009035907685756683, 0.0749722495675087, 0.01617663912475109, -0.06385301798582077, 0.013756752014160156, -0.009919948875904083, 0.05829927697777748, -0.029103433713316917, 0.01943683810532093, -0.000631351547781378, 0.01968962699174881, -0.033087000250816345, -0.004294437821954489, -0.03337172046303749, -0.023023830726742744, -0.04125574603676796, -0.02982187829911709, 0.0022420906461775303, -0.035219818353652954, -0.01118563488125801, -0.047487299889326096, -0.014817850664258003, -0.06415653228759766, -0.08441521972417831, -0.010597736574709415, 0.07944533228874207, -0.008432310074567795, -0.020690277218818665, 0.02440452016890049, 0.011250187642872334, -0.09698857367038727, -0.02309224009513855, 0.011228261515498161, -0.032971322536468506, 0.008568581193685532, 0.04679908603429794, 0.029215313494205475, -0.0409187488257885, -0.07634755969047546, 0.03735274076461792, 0.010653692297637463, 0.03962421417236328, -0.019498562440276146, -0.0046486621722579, 0.02268058992922306, -0.008132530376315117, -0.008406085893511772, 0.06097780913114548, -0.011998358182609081, -0.03679070249199867, -0.014501258730888367, 0.019072582945227623, -0.0075505636632442474, 0.014258465729653835, 0.030875446274876595, 0.017933016642928123, 0.04104941338300705, -0.028625503182411194, -0.05880836397409439, 0.02513936348259449, -0.026980863884091377, -0.024552548304200172, -0.006446151062846184, -0.024917390197515488, 0.02612985670566559, 0.03040490299463272, 0.02547266334295273, 0.00844084843993187, -0.04694921523332596, 0.026720132678747177, -0.06788277626037598, -0.027791094034910202, -0.017758477479219437, 0.012142532505095005, 0.05501880124211311, 0.025881124660372734, -0.012687839567661285, -0.042223911732435226, 0.029422195628285408, -0.004300254862755537, -0.0003674767795018852, -0.04870858043432236, -0.007443010341376066, -0.0013978908536955714, -0.006657271645963192, 0.013861379586160183, 0.022313425317406654, -0.035175200551748276, 0.023504892364144325, 0.0182222630828619, -0.04726079851388931, 0.004355942830443382, -0.029693400487303734, -0.07545476406812668, -0.0539049468934536, 0.03223723918199539, 0.02304898016154766, -0.0066651455126702785, 0.02168947644531727, 0.007390652783215046, 0.006058643106371164, 0.03757493197917938, 0.01210709661245346, 0.021365106105804443, 0.006388850510120392, 0.0639842227101326, -0.0037069395184516907, -0.013844425790011883, -0.05195176228880882, 0.023258019238710403, -0.02677321247756481, 0.002331166062504053, -0.011487354524433613, 0.046028636395931244, -0.0255727618932724, -0.021015265956521034, -0.011000493541359901, 0.026854345574975014, -0.04261239990592003, -0.035786643624305725, -0.027323147282004356, 0.021809857338666916, 0.06108859181404114, -0.020048141479492188, 0.0014437931822612882, 0.01267009973526001, -0.01009933091700077, 0.014815649017691612, -0.007610619533807039, -0.028721947222948074, 0.019995754584670067, -0.0066881622187793255, 0.0086184898391366, -0.01162664033472538, -0.010618623346090317, 0.05209873616695404, 0.003413957776501775, -0.02655719220638275, -0.008283346891403198, 0.0016424671048298478, 0.028543392196297646, 0.042372457683086395, 0.020919213071465492, -0.009381495416164398, 0.01795210875570774, 0.010039111599326134, -0.018133826553821564, -0.03835771232843399, -0.011757424101233482, -0.020619824528694153, -0.006455392111092806, -0.039101626724004745, -0.07423702627420425, 0.04242483526468277, -0.015446743927896023, 0.017624512314796448, 0.012009029276669025, -0.014292060397565365, -0.0049845147877931595, -0.026303019374608994, 0.010038166306912899, 0.04564889892935753, -0.06294267624616623, -0.007425755262374878, -0.005600467789918184, -0.00007661870040465146, 0.013048320077359676, -0.016682550311088562, -0.029560336843132973, -0.020341714844107628, -0.005968392360955477, 0.01143522560596466, -0.0419342964887619, -0.03699663653969765, -0.03351639583706856, 0.008975849486887455, -0.008381804451346397, -0.0022292202338576317, 0.005155155900865793, -0.0178226325660944, -0.025473887100815773, -0.03276421129703522, 0.028280002996325493, -0.03430727496743202, -0.01701573096215725, 0.007143138907849789, -0.03830120712518692, -0.03339003399014473, -0.026401158422231674, 0.01091178972274065, 0.04551919922232628, -0.006239846348762512, 0.019241536036133766, -0.026459533721208572, -0.025172768160700798, -0.0047303177416324615, 0.04294891282916069, -0.009135079570114613, -0.00934852659702301, -0.053366877138614655, -0.014728926122188568, -0.022885773330926895, 0.04409819096326828, -0.0021810668986290693, 0.006798367481678724, 0.022525478154420853, 0.01390094868838787, 0.023732833564281464, 0.01649436354637146, -0.04265468940138817, -0.0253347959369421, 0.02568233758211136, -0.05598610267043114, -0.033635545521974564, -0.00699978694319725, -0.06488547474145889, 0.0004968737484887242, -0.0395486019551754, 0.013703346252441406, -0.023107413202524185, 0.03898051753640175, 0.025436919182538986, 0.027362467721104622, 0.032526057213544846, -0.0007658766699023545, 0.011204113252460957, -0.05700521543622017, 0.01805007830262184, -0.09055142849683762, 0.012379596941173077, 0.012542938813567162, 0.020804060623049736, -0.014074587263166904, 0.015907196328043938, -0.021467717364430428, 0.04646364226937294, -0.07852711528539658, -0.03544411063194275, 0.04831822216510773, -0.006237560883164406, -0.017738014459609985, 0.01101401075720787, -0.0646190345287323, 0.03692931309342384, 0.026445450261235237, -0.05093449354171753, -0.009531831368803978, -0.023185335099697113, 0.03227842599153519, -0.014108588919043541, 0.03499842807650566, -0.009171302430331707, -0.01448315940797329, 0.06169911101460457, 0.018673744052648544, 0.012469573877751827, 0.06146233156323433, -0.027945879846811295, 0.0656292662024498, 0.018156643956899643, -0.004876286722719669, -0.013387535698711872, 0.036269333213567734, -0.0015300862723961473, -0.061368800699710846, 0.04265836998820305, -0.005139000713825226, -0.010949470102787018, -0.03719622641801834, 0.055096887052059174, 0.039601318538188934, -0.020831596106290817, -0.06554920971393585, 0.02775643579661846, -0.06624562293291092, -0.004764860961586237, -0.021896377205848694, 0.0039737531915307045, -0.017434468492865562, 0.04749210551381111, -0.001481974613852799, 0.01542091928422451, 0.08797501027584076, 0.010082047432661057, -0.020113660022616386, -0.017364438623189926, 0.11662404984235764, 0.07365952432155609, 0.06453581899404526, -0.0046957493759691715, 0.07707176357507706, -0.02011108212172985, -0.040734853595495224, 0.020185129716992378, 0.0014811991713941097, 0.00654299883171916, -0.036641910672187805, 0.025907408446073532, 0.06364776939153671, -0.04700297489762306, 0.07994311302900314, -0.03031233698129654, -0.004856122191995382, 0.0001143687914009206, 0.026140565052628517, 0.00894905161112547, 0.06316225230693817, 0.004436819348484278, 0.04913925379514694, -0.026500282809138298, -0.05447331443428993, 0.04384131357073784, -0.0072530945762991905, -0.018856899812817574, 0.0373116172850132, -0.012677272781729698, 0.01454161386936903, 0.0031977228354662657, 0.044568564742803574, 0.07362169772386551, -0.059721339493989944, 0.011857678182423115, -0.004248656798154116, 0.03774883598089218, -0.021579023450613022, 0.026383675634860992, -0.001189681002870202, -0.00024362135445699096, -0.019859623163938522, -0.0394788421690464, -0.043634336441755295, -0.023561928421258926, -0.007180596236139536, 0.037617020308971405, -0.01694832555949688, 0.013701878488063812, 0.023936094716191292, -0.011340401135385036, -0.009806934744119644, -0.06748132407665253, -0.043398283421993256, -0.03022005595266819, -0.0858892947435379, -0.01744830794632435, 0.019211089238524437, -0.022883344441652298, -0.04443054646253586, -0.029881509020924568, -0.013051643036305904, -0.04514554515480995, 0.02112448215484619, -0.05862520635128021, -0.03080689162015915, 0.014867347665131092, 0.0047425776720047, 0.00017696373106446117, 0.01803119294345379, 0.04327689856290817, 0.012033487670123577, 0.0019791636150330305, -0.028258364647626877, 0.03545057773590088, 0.03408901020884514, 0.006016193889081478, -0.0002753142034634948, -0.08646075427532196, 0.021203717216849327, 0.025488242506980896, -0.041107177734375, -0.08171200752258301, 0.015095379203557968, 0.022060751914978027, 0.007958436384797096, 0.03687484934926033, -0.007561291567981243, -0.007204572670161724, -0.037783943116664886, -0.005166876595467329, -0.013645295053720474, 0.0013362880563363433, 0.028957363218069077, -0.03360213711857796, 0.08343961834907532, 0.032578423619270325, -0.0034811915829777718, -0.04048994183540344, 0.0005505016888491809, 0.015386389568448067, 0.0019075463060289621, -0.034395650029182434, -0.06919946521520615, -0.016443146392703056, -0.10020402818918228, -0.030327122658491135, 0.021597739309072495, -0.03234631568193436, -0.03643747419118881, 0.03213891014456749, 0.029747260734438896, 0.01614522561430931, 0.024758173152804375, -0.04239249974489212, 0.015177098102867603, -0.030390838161110878, -0.01302771270275116, -0.019517172127962112, 0.04240139201283455, 0.010001461021602154, 0.02036488614976406, 0.0057750181294977665, -0.037138935178518295, 0.022301314398646355, -0.04379251226782799, 0.02995646931231022, 0.02354934997856617, 0.020741388201713562, -0.015502339228987694 ]
[ -0.06771566718816757, 0.00720880925655365, -0.006773295346647501, -0.02696138806641102, 0.04580582305788994, -0.02595752291381359, -0.014959393069148064, 0.02552812546491623, -0.03519037365913391, -0.03688238188624382, -0.007723718415945768, -0.04786965996026993, 0.0042808870784938335, 0.00997920148074627, 0.04444030299782753, 0.028227681294083595, -0.016962865367531776, -0.09814600646495819, 0.013495096005499363, 0.038326445966959, -0.0008767028339207172, -0.05795096978545189, -0.05891009047627449, -0.024270199239253998, 0.0021124675404280424, 0.016962364315986633, 0.06234737113118172, -0.0403532013297081, 0.008577173575758934, -0.18346986174583435, 0.015750542283058167, -0.010374804958701134, 0.03339716047048569, -0.005165247246623039, 0.004706027917563915, 0.00918739102780819, 0.04886233061552048, 0.012205642648041248, 0.0035518123768270016, 0.03976154699921608, 0.00144939252641052, -0.02001621387898922, -0.020502036437392235, -0.0003405528550501913, 0.05417819693684578, 0.019302651286125183, 0.01312168687582016, -0.0014006164856255054, -0.013230616226792336, 0.0016001459443941712, -0.0547502264380455, -0.0022939022164791822, 0.002057386562228203, -0.04907528683543205, 0.006656291428953409, 0.030189307406544685, 0.0196997057646513, 0.04589550569653511, 0.019445303827524185, 0.017011502757668495, -0.0028888715896755457, -0.0033758024219423532, -0.15872722864151, 0.06899876892566681, 0.0416366346180439, 0.021571394056081772, -0.03686508908867836, -0.033430688083171844, 0.008705409243702888, 0.08006808161735535, 0.02441924624145031, -0.0307049248367548, -0.004282903391867876, 0.0064842537976801395, 0.005723525304347277, -0.008787505328655243, -0.021239949390292168, 0.04396001994609833, -0.03300996124744415, -0.05914689600467682, 0.026072416454553604, 0.015297203324735165, -0.02073505148291588, -0.013149430975317955, -0.04519817605614662, 0.0156844649463892, -0.02620946429669857, 0.0520956814289093, -0.017480777576565742, 0.021029869094491005, 0.029020171612501144, 0.02016766183078289, 0.03786424547433853, 0.0009257168276235461, -0.06154583767056465, -0.05262506380677223, 0.016291894018650055, 0.04824519157409668, -0.016268877312541008, 0.45096907019615173, -0.00011920119868591428, 0.005508445203304291, 0.07734216004610062, 0.07239457964897156, -0.012311097234487534, -0.01666225679218769, -0.007385241333395243, -0.054174382239580154, 0.027621690183877945, -0.023839162662625313, 0.06486563384532928, -0.0013075497699901462, 0.0803745687007904, -0.0008685107459314167, 0.03655857592821121, 0.020188909024000168, 0.04703870788216591, 0.005115805193781853, -0.024608852341771126, -0.007218345068395138, -0.030784277245402336, 0.043676283210515976, 0.020961321890354156, -0.020360631868243217, -0.015292510390281677, -0.03622167184948921, 0.06069960072636604, 0.06687325984239578, 0.002291795564815402, -0.00899867806583643, 0.02815111167728901, -0.057399384677410126, -0.057737238705158234, 0.027288775891065598, -0.00011058075324399397, -0.01322556659579277, 0.042429547756910324, -0.03857217729091644, 0.01940387487411499, 0.061249393969774246, -0.012014688923954964, -0.010008313693106174, 0.00933506153523922, -0.025550145655870438, -0.03548978641629219, 0.0981048196554184, 0.043849844485521317, -0.04774762690067291, -0.001549862907268107, -0.036156874150037766, 0.026314234361052513, -0.0162064041942358, 0.049483440816402435, -0.08663544058799744, 0.02649403177201748, 0.011228359304368496, 0.11757207661867142, 0.02494794689118862, -0.054787155240774155, 0.012267602607607841, -0.01150769554078579, -0.0018359243404120207, -0.06345980614423752, 0.061408162117004395, 0.08876435458660126, -0.1279047578573227, -0.02986820787191391, -0.0021776058711111546, 0.04516298696398735, -0.07408946752548218, 0.006189281586557627, 0.04457926005125046, -0.018448274582624435, -0.005747514311224222, 0.05985692888498306, -0.027787353843450546, -0.0341532826423645, 0.026242073625326157, 0.013931087218225002, -0.004920168314129114, -0.004911669064313173, -0.04626891762018204, -0.03061050735414028, -0.016978289932012558, -0.06759016960859299, -0.045609910041093826, -0.0549103245139122, 0.004500232636928558, -0.039018161594867706, 0.018620053306221962, 0.0009469978394918144, 0.02694794535636902, -0.07852703332901001, 0.07440246641635895, -0.05890299379825592, -0.04732867330312729, -0.015786413103342056, -0.0045532179065048695, -0.0430772565305233, -0.02627713792026043, -0.06907449662685394, -0.04660779982805252, -0.06174531206488609, 0.04183334857225418, -0.049625493586063385, 0.05377839133143425, 0.02906518429517746, -0.027481501922011375, 0.09510625898838043, 0.063832126557827, 0.021410305052995682, -0.0662907063961029, 0.02452920377254486, 0.012809866108000278, 0.0005013268091715872, -0.02635079436004162, 0.02537555620074272, 0.006239985581487417, -0.006865645758807659, 0.019067035987973213, 0.008490222506225109, 0.011175700463354588, -0.058322418481111526, -0.3481978178024292, -0.05179949849843979, -0.03601986914873123, 0.0014671949902549386, 0.041537925601005554, -0.0563734769821167, 0.01935601234436035, -0.003011933295056224, -0.010662415064871311, 0.04499312490224838, 0.04680414870381355, -0.008898397907614708, 0.027253391221165657, -0.07735462486743927, -0.01668068952858448, -0.003995401319116354, -0.03768959641456604, -0.0007255225791595876, -0.026158634573221207, 0.0077779232524335384, -0.0018068772042170167, 0.045761141926050186, -0.05970281362533569, -0.054543353617191315, -0.03643334284424782, -0.048538558185100555, 0.11819037795066833, 0.0020484458655118942, 0.05711621791124344, -0.02089688926935196, 0.01745295710861683, -0.025424474850296974, 0.033642034977674484, -0.08278502523899078, 0.015096178278326988, -0.0031080006156116724, 0.028587790206074715, 0.012956148944795132, 0.006232928950339556, -0.020045587792992592, -0.05568978562951088, 0.010432502254843712, -0.015678975731134415, -0.019511142745614052, -0.07429295778274536, 0.023052159696817398, -0.024834733456373215, -0.04632175713777542, -0.02548709325492382, 0.04261811077594757, 0.03066493198275566, -0.005455259699374437, 0.01072168443351984, -0.010404695756733418, 0.016714654862880707, -0.04367288202047348, -0.07539264112710953, 0.017012841999530792, -0.020433133468031883, 0.023108376190066338, -0.018804503604769707, 0.057318393141031265, 0.00012283709656912833, -0.03577053174376488, 0.012645255774259567, 0.0336165726184845, 0.002873712219297886, 0.01743386499583721, 0.021573476493358612, 0.024029197171330452, -0.0020166607573628426, 0.09952399134635925, 0.003842804813757539, -0.04036755487322807, 0.003760367166250944, 0.025912610813975334, 0.01698155887424946, 0.055892858654260635, 0.0284280888736248, 0.001272651948966086, 0.03688690811395645, -0.016568806022405624, 0.039935167878866196, 0.009045865386724472, -0.0032998467795550823, -0.007890504784882069, 0.02777104638516903, -0.031380925327539444, 0.04087740555405617, 0.04262935370206833, -0.019325338304042816, -0.0062922644428908825, -0.029171478003263474, -0.06716388463973999, 0.09406468272209167, -0.011753340251743793, -0.24872846901416779, 0.019515035673975945, 0.05518403649330139, 0.018576698377728462, -0.015320003032684326, 0.008099117316305637, 0.031130444258451462, -0.0003417634579818696, 0.0432734452188015, 0.019687596708536148, 0.024846989661455154, 0.015753744170069695, 0.023323047906160355, -0.004127101972699165, 0.01877119205892086, -0.008606662973761559, 0.016261538490653038, 0.007829420268535614, -0.02066652663052082, 0.028590712696313858, 0.026483628898859024, 0.018277186900377274, 0.11109106242656708, 0.02901083044707775, 0.03895646333694458, 0.040069591253995895, -0.019261132925748825, 0.023985877633094788, 0.04723554849624634, -0.014570989646017551, -0.007593909278512001, -0.044964540749788284, -0.010386478155851364, -0.018978651612997055, 0.0065368181094527245, -0.03383803740143776, -0.018486887216567993, 0.048371728509664536, 0.02213970012962818, 0.008907950483262539, -0.01897359825670719, 0.004902993328869343, -0.01673521101474762, 0.0005694734863936901, 0.05172821134328842, 0.035195913165807724, 0.0030131852254271507, -0.05497860535979271, -0.016396163031458855, -0.018245354294776917, -0.03244764357805252, -0.049929697066545486, 0.008013725280761719, 0.005861552897840738, -0.0010631850454956293, 0.11485163122415543, 0.005956928711384535, -0.037365108728408813, 0.017758449539542198, -0.002851544413715601, -0.030691752210259438, -0.03696765750646591, 0.08105678111314774, -0.01955297589302063, 0.03840908780694008 ]
[ -0.01831641048192978, 0.02015049383044243, -0.014201185666024685, 0.004274097271263599, -0.023220298811793327, -0.0023164628073573112, -0.007810473442077637, 0.0318949818611145, -0.06842923909425735, 0.009864481166005135, -0.01415068469941616, 0.024190621450543404, 0.008870745077729225, 0.003337697358801961, 0.01200377568602562, 0.013895242474973202, 0.010399309918284416, -0.011788390576839447, 0.03681411221623421, 0.0030441656708717346, -0.026401709765195847, -0.04187621548771858, -0.0037352852523326874, 0.00880589708685875, -0.014122220687568188, 0.04990464821457863, -0.006042582914233208, -0.0007430933183059096, 0.013104956597089767, -0.13484890758991241, -0.03166745975613594, -0.01713496632874012, 0.0066278413869440556, 0.03165770322084427, -0.007392541971057653, -0.014630084857344627, 0.017223279923200607, 0.008150055073201656, -0.004486485850065947, -0.017586424946784973, 0.008128154091536999, -0.01512769516557455, -0.019391365349292755, 0.053403884172439575, 0.009363356046378613, -0.0015992276603356004, -0.0016824910417199135, 0.004916760139167309, -0.022759635001420975, -0.004559857305139303, -0.05650194734334946, 0.0030934412498027086, -0.022400224581360817, -0.013495814055204391, 0.01737009361386299, -0.0027800395619124174, 0.017595170065760612, 0.018315648660063744, 0.03145551681518555, 0.006069120019674301, -0.018553638830780983, -0.0008482111734338105, -0.05232648178935051, -0.019019944593310356, -0.010936439037322998, -0.019994450733065605, -0.032906919717788696, 0.036765873432159424, 0.005500155966728926, 0.007189811673015356, 0.010145031847059727, 0.014049883000552654, -0.038421954959630966, -0.018143776804208755, 0.012803910300135612, -0.0002945964806713164, -0.004603968467563391, 0.005486245267093182, -0.021984966471791267, -0.01019904762506485, -0.04300259053707123, -0.0029480268713086843, -0.0016445210203528404, -0.013591828756034374, 0.0034078003372997046, -0.035800959914922714, -0.009783276356756687, 0.015930302441120148, 0.024900412186980247, -0.04279644042253494, 0.014324786141514778, 0.031625427305698395, -0.023475229740142822, 0.05312197655439377, -0.07928311079740524, -0.019994640722870827, 0.005045023746788502, 0.0013254578225314617, -0.004437185358256102, 0.8553919196128845, 0.02427917905151844, 0.051480770111083984, 0.005898633971810341, 0.028076715767383575, -0.018314383924007416, 0.0043874504044651985, -0.007945549674332142, 0.010237566195428371, 0.0011638629948720336, -0.06520568579435349, 0.029455088078975677, 0.014823280274868011, 0.016511600464582443, 0.005908213090151548, 0.0026035725604742765, 0.0055911242961883545, -0.024366701021790504, 0.009693634696304798, 0.0028356602415442467, 0.027509653940796852, 0.004609178751707077, 0.013520118780434132, 0.015407256782054901, 0.01980527490377426, -0.006320199463516474, -0.17008575797080994, 0.02493155561387539, -7.682246434495297e-33, 0.008262302726507187, 0.010992859490215778, 0.0029938574880361557, -0.0161808542907238, 0.0035963132977485657, -0.006943834014236927, -0.03451968729496002, 0.014409083873033524, 0.011084637604653835, 0.015688320621848106, -0.008523315191268921, 0.007998636923730373, 0.01756703108549118, -0.012945476919412613, 0.05187985301017761, -0.016243645921349525, 0.00587892672047019, 0.03346126154065132, -0.0038013053126633167, 0.014755547977983952, 0.04076072946190834, 0.023472007364034653, 0.007876562885940075, -0.01956081949174404, 0.04744669422507286, 0.04442478343844414, -0.000628597685135901, -0.010522035881876945, 0.015873264521360397, -0.0323711559176445, 0.00009359037358080968, 0.007293015718460083, 0.0003927728394046426, -0.008925795555114746, 0.002005062997341156, -0.02783641405403614, -0.03212494030594826, -0.010459616780281067, -0.010527788661420345, -0.022191090509295464, -0.021472502499818802, -0.015704136341810226, -0.023030737414956093, -0.03466120734810829, -0.01158058550208807, -0.009873445145785809, 0.02415260300040245, -0.01765681430697441, -0.007098250091075897, 0.013780772686004639, 0.0004060088540427387, -0.020242609083652496, -0.011146081611514091, 0.005713793449103832, -0.013186860829591751, -0.0024325093254446983, 0.01205550879240036, 0.007341779302805662, 0.03577091544866562, 0.022367721423506737, 0.03533356636762619, -0.009764011017978191, 0.004300923552364111, 0.01573915034532547, 0.0014898099470883608, -0.03790713846683502, 0.004374772775918245, -0.014248846098780632, -0.004385299980640411, 0.015743669122457504, -0.06807219237089157, 0.012857365421950817, 0.015241838991641998, -0.01303513441234827, 0.020459754392504692, -0.031245896592736244, -0.01983124576508999, 0.04618196561932564, -0.024027211591601372, 0.016417602077126503, -0.0315941721200943, -0.03588534891605377, -0.007748618256300688, -0.04007745534181595, 0.00940469279885292, 0.0215130802243948, 0.04869920015335083, -0.006107106804847717, -0.01442947518080473, 0.030521858483552933, -0.0013816819991916418, 0.017972026020288467, -0.014610043726861477, -0.019351046532392502, 0.017668813467025757, 8.042850632445143e-33, -0.006980747915804386, 0.0031862675677984953, 0.00393019849434495, 0.0150119224563241, -0.025561543181538582, -0.015054156072437763, 0.04404517635703087, 0.013198443688452244, -0.046853262931108475, 0.05524960532784462, -0.0304789450019598, -0.025199588388204575, 0.012418841943144798, 0.026078199967741966, 0.05072363466024399, -0.0038772346451878548, 0.027105217799544334, 0.009654891677200794, -0.006813897285610437, 0.015117678791284561, 0.013153797946870327, -0.015283823013305664, -0.013462246395647526, 0.014755901880562305, 0.039620425552129745, 0.05072285234928131, 0.00015326520951930434, -0.011761730536818504, 0.008687403984367847, 0.006507546175271273, -0.03120799921452999, 0.00734598096460104, 0.0028362483717501163, -0.015554429031908512, -0.01363457553088665, 0.030881278216838837, 0.016322044655680656, 0.005371128208935261, 0.006609361618757248, -0.007538228761404753, 0.027506038546562195, 0.024990417063236237, -0.005269898101687431, 0.014726231805980206, 0.014444699510931969, 0.012486619874835014, -0.00821550190448761, 0.014410562813282013, -0.03399199619889259, 0.019190136343240738, -0.008692157454788685, 0.04128004610538483, 0.007355285808444023, 0.003773841541260481, 0.019257668405771255, -0.014005035161972046, -0.0039914436638355255, 0.005539306439459324, -0.013687836937606335, -0.02683510258793831, -0.01726648584008217, -0.0025321035645902157, -0.020288415253162384, -0.01095785666257143, 0.008874088525772095, -0.013749725185334682, -0.010652565397322178, -0.005450619850307703, 0.002982165664434433, 0.0014049684396013618, -0.01254905853420496, 0.01842981018126011, 0.017007365822792053, 0.036406345665454865, -0.02064623311161995, 0.0005757707403972745, -0.0304204523563385, 0.034474290907382965, -0.026365838944911957, 0.01797821931540966, 0.028192928060889244, -0.0008149852510541677, 0.03647628054022789, -0.0015136470319703221, -0.019213935360312462, 0.03420390188694, -0.01448045950382948, 0.008946025744080544, 0.0001536082854727283, -0.03351682424545288, -0.010030029341578484, -0.04751906543970108, -0.009970146231353283, 0.01479356363415718, -0.023247387260198593, -1.3212527072425928e-8, -0.05496230721473694, 0.009264174848794937, -0.022132689133286476, 0.003379890462383628, 0.026522042229771614, 0.003790217451751232, -0.00953776203095913, 0.0046806675381958485, -0.040703631937503815, 0.012449691072106361, 0.08080228418111801, -0.016022495925426483, -0.01499246247112751, 0.0344264879822731, -0.007572098169475794, -0.04603627324104309, -0.015369237400591373, -0.026827314868569374, 0.031171854585409164, 0.04669465869665146, 0.03088112734258175, 0.0434652715921402, 0.011934123933315277, 0.03565488010644913, 0.01015657652169466, 0.005196932703256607, 0.016063958406448364, -0.060951706022024155, 0.039730992168188095, -0.012941325083374977, -0.002499355934560299, -0.03326910734176636, 0.0347524955868721, 0.04951195791363716, -0.01772785745561123, -0.02389761433005333, 0.03709210455417633, 0.04746255278587341, 0.01050346065312624, -0.005861292127519846, -0.03747064992785454, -0.05048610270023346, -0.03413502871990204, -0.030696816742420197, -0.018938085064291954, -0.01579693891108036, -0.024379229173064232, -0.01697005145251751, 0.002303832210600376, -0.04011503979563713, -0.012918999418616295, -0.011964060366153717, 0.03844452276825905, 0.027302466332912445, 0.049690790474414825, 0.004118147771805525, -0.015347655862569809, -0.050504766404628754, -0.004021433647722006, -0.005991172976791859, -0.009337984956800938, 0.025316759943962097, -0.032333966344594955, -0.023364191874861717 ]
strata-conf-london-day-2-wrap-up
https://markhneedham.com/blog/2012/10/03/strata-conf-london-day-2-wrap-up
false
2012-10-02 23:42:58
Strata Conf London: Day 1 Wrap Up
[ "data-science-2" ]
[ "Data Science" ]
For the past couple of days I attended the http://strataconf.com/strataeu[first Strata Conf to be held in London] - a conference which seems to *bring together people from the data science and big data worlds* to talk about the stuff they're doing. Since I've been playing around with a couple of different things in this area over the last 4/5 months I thought it'd be interesting to come along and see what people much more experienced in this area had to say! * My favourite talk of the morning was by http://jakeporway.com/[Jake Porway] talking about his company http://datakind.org/[DataKind] - "an organisation that matches data from non-profit and government organisations with data scientists". In particular he focused on *data dive* - weekend events DataKind run where they bring together NGOs who have data they want to explore and data scientists/data hackers/statisticians who can help them find some insight in the data. There was http://datakind.org/events/londondatadive/[an event in London last weekend] and there's http://www.shareable.net/blog/datakinds-vision-of-a-data-driven-social-change-movement[an extensive write up on one that was held in Chicago] earlier in the year. Jake also had some good tips for working with data which he shared: ** Start with a question not with the data ** Team up with someone who knows the story of the data ** Visualisation is a process not an end - need tools that allow you to explore the data ** You don't need big data to have big insights + Most of those tie up with what https://twitter.com/a5hok[Ashok] and I have been learning in the stuff we've been working on but Jake put it much better than I could! * https://twitter.com/jenit[Jeni Tennison] gave an interesting talk about the http://www.theodi.org/about[Open Data Institute] - an organisation that I hadn't heard about until the talk. Their goal is to help people find value from the Open Government Data that's now being made available. There's an http://www.theodi.org/events/open-data-hack-days[Open Data Hack Day] in London on October 25th/26th being run by these guys which sounds like it could be pretty cool. Jeni had another talk on the second day where I believe she went into more detail about how they are going about making government data publicly available, including the data of http://data.gov.uk/blog/legislationgovuk-api[legislation.gov.uk]. * https://twitter.com/smfrogers[Simon Rogers] of the Guardian and Kathryn Hurley of Google gave a talk about the http://www.guardian.co.uk/data[Guardian Data blog] where Kathyrn had recently spent a week working. Simon started out by talking about the importance of knowing what stories matter to you and your audience before Kathryn rattled through a bunch of useful tools for doing this type of work. Some of the ones I hadn't heard of were http://code.google.com/p/google-refine/[Google Refine] and http://vis.stanford.edu/wrangler/[Data Wrangler] for cleaning up data, http://www.google.com/publicdata/directory[Google Data Explorer] for finding interesting data sets to work with and finally http://cartodb.com/[CartoDB], http://datawrapper.de/[DataWrapper] and http://www.tableausoftware.com/[Tableau] for creating data visualisations. * In the afternoon I saw a very cool presentation demonstrating http://www.emoto2012.org/#home//2012-07-27/[Emoto 2012] - a bunch of visualisations done using London 2012 Olympics data. It particularly focused around sentiment analysis - working out the positive/negative sentiment of tweets - which the guys used http://www.lexalytics.com/technical-info/salience-engine-for-text-analysis[Lexalytics Salience Engine] to do. One of the more amusing examples showed the emotion of tweets about Ryan Lochte suddenly going very negative when he admitted to http://www.usmagazine.com/celebrity-news/news/ryan-lochte-admits-to-peeing-in-pool-at-olympics-201258[peeing in the pool]. * https://twitter.com/noelwelsh[Noel Welsh] gave a talk titled 'Making Big Data Small' in which he ran through different streaming/online algorithms which we can use to work out things like the most frequent items or to learn classifiers/recommendation systems. It moved pretty quickly so I didn't follow everything but he did talk about Hash functions, referencing the https://sites.google.com/site/murmurhash/[Murmur Hash 3 algorithm] and also talked about the https://github.com/clearspring/stream-lib[stream-lib] library which has some of the other algorithms mentioned. http://alex.smola.org/[Alex Smola's blog] was suggested as a good resource for learning more about this topic as well. * https://twitter.com/edmundjackson[Edmund Jackson] then gave an interesting talk about using *clojure to do everything you'd want to do in the data science arena* from quickly hacking something to building a production ready piece of machine learning code. He spent a bit of time at the start of the talk explaining the *mathematical and platform problems* that we face when working in this area and suggested that clojure sits nicely on the intersection. If we need to do anything statistics related we can use http://incanter.org/[incanter], http://www.cs.waikato.ac.nz/ml/weka/[weka] and http://mahout.apache.org/[Mahout] give us machine learning algorithms, we can use http://jblas.org/[JBLAS] to do linear algebra and https://github.com/nathanmarz/cascalog/wiki[cascalog] is available to run queries on top of Hadoop. On top of that if we want to try some code out on a bit of data we have an easily accessible REPL and if we later need to make our code run in parallel it should be reasonably easy to do. * Jason McFall gave a talk about http://strataconf.com/strataeu/public/schedule/detail/25895[establishing cause and effect from data] which was a good refresher in statistics for me and covered similar ground to some of the https://www.coursera.org/course/stats1[Statistics One] course on coursera. In particular he talked about the *danger of going on a fishing expedition* where we decide what it is we want to conclude from our data and then go in search of things to support that conclusion. We also need to make sure we connect all the data sets - sometimes we can make wrong conclusions about something but when we have all the data that conclusion no longer makes sense. http://www.greenteapress.com/thinkstats/[Think Stats] was suggested as a good book for learning more in this area. * The last talk I saw was by http://www.maxgadney.com/[Max Gadney] talking about the work he's done for the Government Digital Service (GDS) building a dashboard for departmental data & for uefa providing insight to users about what's happening in a match. I'd seen some of the GDS stuff before but http://aftertheflood.co/government-digital-service-dashboard-tool/[Max has written it up pretty extensively on his blog as well] so it was the uefa stuff that intrigued me more! In particular he developed http://aftertheflood.co/uefa-com-pitch-view-application/[an 'attacking algorithm'] which filtered through the masses of data they had and was able to determine which team had the attacking momentum - it was especially interesting to see how much Real Madrid dominated against Manchester City when they played each other a couple of weeks ago. + </ul>
null
null
[ 0.015679381787776947, -0.03206009417772293, 0.008566864766180515, 0.061893679201602936, 0.08300850540399551, 0.030184796079993248, 0.01190768089145422, 0.036192089319229126, 0.013823620043694973, -0.004826180171221495, -0.0212758406996727, -0.014374293386936188, -0.05312790349125862, 0.02685311622917652, -0.022606534883379936, 0.06129346415400505, 0.0628957524895668, -0.007302320562303066, 0.018202457576990128, 0.013908814638853073, 0.034951768815517426, 0.044647395610809326, 0.01198143046349287, 0.056397970765829086, 0.02057868055999279, -0.009697125293314457, 0.03361842781305313, -0.0006585350492969155, -0.04010791704058647, -0.007751367054879665, 0.025079919025301933, -0.0007231055642478168, 0.014424280263483524, 0.021134531125426292, 0.027308152988553047, 0.005557457450777292, -0.010724742896854877, 0.02248602733016014, 0.003833944210782647, 0.01249655894935131, -0.07947620749473572, 0.04839254170656204, -0.02296365797519684, 0.02065078541636467, -0.0382651761174202, 0.004746363498270512, -0.03803268074989319, 0.010021104477345943, 0.016840042546391487, 0.028131796047091484, -0.05798317864537239, 0.018577786162495613, 0.016256066039204597, 0.001473240670748055, -0.018419547006487846, 0.036437276750802994, 0.006170895416289568, -0.058030277490615845, 0.005756522994488478, -0.04669393599033356, -0.008387784473598003, -0.023822598159313202, -0.023183822631835938, 0.008113430812954903, 0.04243893176317215, -0.026701701804995537, -0.013517743907868862, 0.03742086514830589, -0.027995828539133072, 0.015607611276209354, -0.011041815392673016, 0.01601315848529339, -0.006816210690885782, -0.002560653490945697, -0.015213850885629654, -0.06749118119478226, 0.01006135530769825, 0.05350985378026962, 0.03325153514742851, 0.031525157392024994, -0.025561992079019547, 0.00013392425898928195, -0.004253994207829237, 0.03584589436650276, -0.0037028563674539328, -0.04557199776172638, -0.02184930257499218, -0.03808121010661125, -0.09103531390428543, 0.0574583001434803, -0.00198212917894125, -0.05015025660395622, 0.01731215976178646, 0.03108222410082817, 0.008386431261897087, 0.0305239986628294, 0.030067143961787224, -0.03557922691106796, -0.029244914650917053, -0.04515565186738968, -0.031660012900829315, -0.013262046501040459, -0.0012842676369473338, 0.02000051736831665, -0.08102257549762726, 0.0020617805421352386, -0.03727949038147926, -0.001549112144857645, 0.0026295760180801153, 0.008523638360202312, -0.012653459794819355, 0.009117666631937027, -0.008584213443100452, 0.007294950075447559, -0.0712272897362709, 0.05974587798118591, 0.03250167891383171, -0.048078034073114395, -0.005125734955072403, -0.01661108247935772, 0.04752350226044655, 0.037943411618471146, -0.006299448199570179, 0.06583286821842194, 0.007370194885879755, 0.010028411634266376, -0.017845170572400093, 0.048612356185913086, -0.00505027873441577, -0.05107174813747406, 0.003640641923993826, 0.04067783057689667, -0.020422261208295822, -0.016590869054198265, 0.008134555071592331, -0.03716732934117317, -0.009617363102734089, 0.01713966205716133, 0.042450495064258575, 0.043642353266477585, 0.025904212146997452, -0.04816566780209541, 0.009591422975063324, 0.01662994548678398, 0.022660737857222557, -0.011197532527148724, -0.018726080656051636, -0.025072598829865456, -0.051461052149534225, -0.014325802214443684, 0.015680920332670212, 0.021623259410262108, 0.014607847668230534, -0.06015581637620926, 0.03500095009803772, 0.0956413596868515, 0.03867919743061066, 0.018084926530718803, 0.00040035502752289176, 0.045874807983636856, 0.0370420478284359, 0.03185199201107025, 0.018350226804614067, 0.0071234977804124355, 0.0007927007391117513, -0.025472307577729225, -0.0024989095982164145, 0.03638812527060509, -0.014638043940067291, 0.016865074634552002, -0.05467740073800087, -0.04386616498231888, 0.04952772706747055, -0.02684675343334675, -0.016699858009815216, 0.04456246644258499, 0.08221211284399033, 0.05185387283563614, 0.013902906328439713, 0.00226872437633574, -0.08555898815393448, 0.014808816835284233, 0.005433881655335426, 0.03475634381175041, 0.03949670493602753, -0.03000321425497532, 0.06547164916992188, 0.028329530730843544, 0.015321748331189156, 0.07162351906299591, -0.07379049062728882, -0.07885786890983582, -0.012908215634524822, -0.017774755135178566, 0.03379720076918602, -0.030229482799768448, 0.03476130589842796, 0.06013503670692444, -0.016635293141007423, 0.05656049773097038, 0.008046310395002365, -0.006649003364145756, 0.027268752455711365, -0.03386245295405388, -0.05094561725854874, 0.06016525998711586, 0.03941739350557327, -0.02058444730937481, -0.03632508963346481, 0.005037629511207342, -0.018612544983625412, -0.02912856638431549, 0.02647639624774456, -0.014199129305779934, 0.035421594977378845, 0.014128490351140499, 0.04138080030679703, -0.026745323091745377, 0.028047675266861916, -0.02127266488969326, 0.02344679646193981, -0.005287775304168463, -0.020958829671144485, -0.0008630608208477497, 0.02345307543873787, 0.11966318637132645, 0.06484033912420273, -0.022549452260136604, -0.02640623413026333, 0.035635896027088165, 0.008693422190845013, -0.029749924317002296, 0.005007605999708176, -0.01319501269608736, 0.020022228360176086, -0.003721026936545968, -0.04436159133911133, -0.04662217199802399, 0.03043537400662899, -0.045896317809820175, 0.011448979377746582, 0.0497906394302845, -0.011754839681088924, 0.07176374644041061, -0.01600474864244461, 0.006479164585471153, 0.005918718874454498, -0.04718691483139992, -0.05589216202497482, -0.013388034887611866, 0.005671745166182518, -0.0009677342604845762, 0.024469224736094475, -0.003194812685251236, -0.012649742886424065, -0.04270457103848457, -0.022217832505702972, 0.03291375935077667, 0.06531652063131332, 0.06316099315881729, -0.002358352532610297, 0.05506684258580208, -0.039425816386938095, 0.04329850897192955, 0.004325902555137873, -0.04619554430246353, -0.04663287103176117, -0.0418965145945549, -0.0035321039613336325, 0.019358733668923378, 0.03783923387527466, 0.006995644420385361, 0.02592414617538452, 0.0025473469868302345, -0.006028969306498766, -0.030136074870824814, 0.03355325385928154, 0.012429987080395222, -0.01350343506783247, -0.03672746196389198, -0.031985629349946976, 0.06912539899349213, -0.034250061959028244, 0.002126325387507677, 0.01307657640427351, -0.06766023486852646, 0.03785014897584915, -0.04863492399454117, -0.037783458828926086, -0.01258225366473198, 0.018380891531705856, 0.022646775469183922, 0.0362091027200222, -0.013189448043704033, 0.054564859718084335, 0.023356406018137932, 0.008554980158805847, -0.013853147625923157, -0.026392299681901932, 0.03703290596604347, -0.010750040411949158, 0.005488479509949684, 0.058301106095314026, 0.009019107557833195, -0.009997591376304626, -0.05345815420150757, 0.05073777958750725, -0.03591779246926308, -0.28404733538627625, 0.009223722852766514, -0.005525096319615841, -0.033015988767147064, 0.013804011978209019, -0.039458855986595154, 0.004914870020002127, -0.024373561143875122, -0.0416811965405941, -0.027054229751229286, -0.027158817276358604, -0.0335736945271492, -0.030341193079948425, 0.03791560232639313, 0.01709592714905739, 0.04283088073134422, 0.013440506532788277, -0.034650061279535294, 0.02307388372719288, 0.05254783481359482, -0.019684309139847755, -0.05870138481259346, -0.007633391302078962, 0.05955446511507034, 0.05159931257367134, 0.05073254555463791, -0.08066477626562119, 0.006462608464062214, -0.0634860247373581, -0.014683427289128304, 0.026493286713957787, -0.013078741729259491, 0.008374419063329697, -0.018987661227583885, 0.0036477388348430395, -0.008170033805072308, 0.06640275567770004, 0.019221369177103043, -0.02013786882162094, -0.020386867225170135, -0.014314284548163414, -0.0267486609518528, -0.02673998661339283, 0.018825821578502655, 0.08219193667173386, 0.015717078000307083, -0.08569496124982834, 0.016938813030719757, -0.025436565279960632, 0.04338500648736954, -0.04318251833319664, -0.010805976577103138, -0.05207005515694618, 0.027335379272699356, -0.03322437405586243, 0.006386580877006054, -0.02802669256925583, -0.01237201876938343, -0.04054441303014755, -0.03530982881784439, -0.009460747241973877, -0.043804362416267395, 0.006895292550325394, -0.0641695111989975, 0.0009501909371465445, -0.06448719650506973, -0.08345983177423477, -0.024093300104141235, 0.08101174980401993, 0.012117071077227592, -0.023906085640192032, 0.012163463979959488, -0.0064534470438957214, -0.10298975557088852, -0.0069123138673603535, -0.004657972138375044, -0.006131661590188742, -0.0017204770119860768, 0.04483875632286072, 0.05918850004673004, -0.03530853986740112, -0.07931908220052719, 0.03786913678050041, 0.0008353436132892966, 0.028601890429854393, -0.02159440517425537, 0.03825861215591431, 0.007644071243703365, -0.018780678510665894, 0.00525748310610652, 0.04531868174672127, -0.02460908144712448, -0.028605235740542412, -0.002559133805334568, 0.006731077563017607, -0.005399012938141823, 0.01340397261083126, 0.01385901216417551, 0.0005703980568796396, 0.034628670662641525, -0.01883454993367195, -0.06612234562635422, 0.0038905402179807425, -0.03845278546214104, 0.011783767491579056, -0.00579008599743247, -0.024711973965168, 0.015532641671597958, 0.04198560118675232, 0.009273422881960869, 0.02493871934711933, -0.028047354891896248, 0.024365203455090523, -0.06786854565143585, -0.02098778448998928, -0.011888965032994747, 0.01672275736927986, 0.040695201605558395, 0.027885761111974716, -0.006462938617914915, -0.04506697878241539, -0.0016997087514027953, 0.014820309355854988, 0.007140667177736759, -0.04813476651906967, -0.013535509817302227, -0.019786041229963303, -0.019676143303513527, 0.002808943158015609, 0.011506225913763046, -0.015232160687446594, 0.006135022267699242, 0.02871374599635601, -0.04898804798722267, 0.0075135016813874245, -0.03778184577822685, -0.076446034014225, -0.035651348531246185, 0.01305314525961876, 0.013567734509706497, -0.008604089729487896, 0.031118694692850113, 0.0035417587496340275, 0.023964161053299904, 0.043329160660505295, 0.025272373110055923, -0.0016712095821276307, 0.010577754117548466, 0.04212459549307823, 0.013948017731308937, 0.003376738866791129, -0.05523126572370529, 0.027975091710686684, -0.0301678404211998, -0.0043808878399431705, -0.022899789735674858, 0.06780712306499481, -0.02332543395459652, -0.01644950732588768, -0.02259812131524086, -0.007564575411379337, -0.05699960142374039, -0.04774944856762886, -0.01676412858068943, 0.03880952298641205, 0.053174134343862534, -0.0311453677713871, 0.002845223294571042, 0.0205690860748291, -0.014561343006789684, 0.009124906733632088, 0.011834302917122841, -0.021235449239611626, 0.005175988655537367, -0.009112568572163582, -0.013929473236203194, 0.002501350361853838, 0.005260436329990625, 0.048279017210006714, 0.010481525212526321, -0.013254380784928799, -0.014416624791920185, -0.021731756627559662, 0.023673946037888527, 0.06585115939378738, 0.0578647218644619, -0.010575380176305771, -0.00364952371455729, -0.00024309026775881648, -0.01538151502609253, -0.039081424474716187, -0.004697121679782867, -0.01579166017472744, 0.015044101513922215, -0.02378450706601143, -0.07350372523069382, 0.06663855165243149, -0.00883434433490038, 0.0012782629346475005, 0.01647644117474556, -0.007135575171560049, -0.022601140663027763, -0.013943836092948914, 0.022232526913285255, 0.042781103402376175, -0.0690116435289383, -0.008571645244956017, 0.002230677753686905, -0.023440679535269737, 0.002099571516737342, 0.00381861231289804, -0.017544042319059372, -0.012188531458377838, -0.016457371413707733, 0.020124413073062897, -0.05725066736340523, -0.017066704109311104, -0.026916349306702614, 0.01713336817920208, -0.0008624614565633237, 0.01090426929295063, 0.0021314749028533697, -0.020116684958338737, -0.0013062830548733473, -0.02425595186650753, 0.03292668238282204, -0.03127335384488106, -0.0024439054541289806, -0.004067744594067335, -0.042905427515506744, -0.017957746982574463, -0.026135092601180077, -0.013135522603988647, 0.026614181697368622, -0.030380697920918465, 0.03211446851491928, -0.012435933575034142, 0.002843004185706377, -0.0040002018213272095, 0.05649275705218315, -0.01999584026634693, -0.03778495639562607, -0.06004386395215988, -0.02062941901385784, -0.039996806532144547, 0.036622002720832825, -0.03878096863627434, 0.03681447356939316, 0.028369491919875145, 0.033216748386621475, 0.018096573650836945, 0.02211160399019718, -0.022936560213565826, -0.03317057341337204, 0.03647869825363159, -0.0527343824505806, -0.021991891786456108, -0.04233718290925026, -0.06357598304748535, -0.023410959169268608, -0.0034920277539640665, -0.009613602422177792, -0.024949729442596436, 0.04228813946247101, 0.012522763572633266, 0.011974520981311798, 0.030368119478225708, -0.0012831261847168207, 0.023254098370671272, -0.046816594898700714, -0.003714688355103135, -0.0685749351978302, -0.014524601399898529, 0.018211781978607178, 0.00033705311943776906, -0.01888231374323368, 0.019242720678448677, -0.03374088928103447, 0.048643432557582855, -0.08624207973480225, -0.03615704923868179, 0.04809972271323204, -0.008888168260455132, -0.00821660179644823, -0.005531451664865017, -0.06633491069078445, 0.024264441803097725, 0.04106313735246658, -0.03931281343102455, -0.016954882070422173, -0.018608545884490013, 0.03930646553635597, -0.009118282236158848, 0.0286113154143095, -0.010627321898937225, -0.03166116774082184, 0.07316847890615463, 0.0013132963795214891, 0.011096712201833725, 0.055374160408973694, -0.015629027038812637, 0.04709614813327789, 0.01181347481906414, -0.006007598713040352, -0.0035615181550383568, 0.017337346449494362, 0.009574323892593384, -0.05639047920703888, 0.03565462678670883, 0.008079227060079575, -0.0004844726645387709, -0.024461016058921814, 0.06501838564872742, 0.0261848084628582, -0.0389375165104866, -0.04845336079597473, 0.029596645385026932, -0.05809300020337105, 0.004337814170867205, -0.02391776256263256, -0.002872111275792122, -0.03020496852695942, 0.043959639966487885, 0.023105042055249214, 0.024310428649187088, 0.07136224955320358, 0.023119790479540825, -0.011777847073972225, -0.005901671480387449, 0.097945436835289, 0.08040949702262878, 0.06693501770496368, 0.0037220956292003393, 0.07151826471090317, -0.03449385240674019, -0.04977574199438095, 0.023652750998735428, 0.0018885344034060836, -0.021735992282629013, -0.024094177410006523, 0.03827379271388054, 0.08830572664737701, -0.030302880331873894, 0.0705292746424675, -0.02754596248269081, -0.008130000904202461, -0.0015865180175751448, 0.02949097566306591, 0.037643883377313614, 0.052971575409173965, -0.00168194982688874, 0.02995343692600727, -0.021107802167534828, -0.05381990224123001, 0.03265245258808136, -0.03746965900063515, -0.020624224096536636, 0.03583560883998871, 0.0037221454549580812, 0.02287028729915619, 0.013565165922045708, 0.05116058513522148, 0.07792933285236359, -0.03215518221259117, 0.023563750088214874, -0.023255523294210434, 0.027377070859074593, -0.012762852944433689, 0.039733145385980606, -0.029241761192679405, 0.00872807577252388, -0.005779752042144537, -0.054092731326818466, -0.04261147603392601, -0.02055169641971588, -0.026571543887257576, 0.03004082292318344, -0.05012618377804756, -0.0033917916007339954, 0.029480135068297386, -0.009855931624770164, -0.005174584221094847, -0.05820704996585846, -0.04414331167936325, -0.010363035835325718, -0.07235779613256454, -0.018599526956677437, 0.032800693064928055, -0.007898576557636261, -0.01608259044587612, -0.01971823163330555, -0.029592610895633698, -0.029994886368513107, 0.025152219459414482, -0.06559459865093231, -0.039246879518032074, 0.015978893265128136, -0.00018318403454031795, 0.01839805394411087, 0.03261125832796097, 0.04115184769034386, 0.016406388953328133, -0.000681459263432771, -0.03281555697321892, 0.04180866479873657, 0.02083420939743519, 0.01978190429508686, -0.012862617149949074, -0.08410458266735077, 0.0319625586271286, 0.019523249939084053, -0.034023869782686234, -0.08146470040082932, 0.026148470118641853, 0.03400685638189316, 0.03629693388938904, 0.043519265949726105, 0.0003860286087729037, -0.004551065620034933, -0.022237559780478477, -0.026338232681155205, -0.028554612770676613, -0.00020392668375279754, 0.05431479588150978, -0.016243834048509598, 0.08698378503322601, 0.045035719871520996, 0.000191842918866314, -0.04092682525515556, -0.017964722588658333, 0.008287486620247364, -0.0038734381087124348, -0.02599007822573185, -0.04278784245252609, -0.02653106302022934, -0.0831129401922226, -0.03222385048866272, 0.027338212355971336, -0.03144431486725807, -0.032125480473041534, 0.014421263709664345, 0.019252194091677666, -0.0003123324131593108, 0.019762014970183372, -0.037160225212574005, 0.029771294444799423, -0.019349010661244392, -0.01566891185939312, -0.025866953656077385, 0.0326145701110363, -0.006498293019831181, 0.011285480111837387, 0.004952262621372938, -0.049764178693294525, -0.002443348290398717, -0.02734297141432762, 0.03691631928086281, 0.027145296335220337, 0.01836460828781128, -0.0031416716519743204 ]
[ -0.04403983801603317, -0.015895802527666092, -0.0405578650534153, -0.026195276528596878, 0.08401785045862198, -0.007244816515594721, -0.01442762091755867, 0.026818562299013138, -0.015260145999491215, -0.025779642164707184, 0.009580515325069427, -0.02901747263967991, 0.011568579822778702, -0.002735125832259655, 0.07877237349748611, 0.026892662048339844, 0.005478201899677515, -0.12627507746219635, 0.002033144235610962, 0.060905180871486664, -0.0027825452852994204, -0.053471822291612625, -0.04255525395274162, -0.033817537128925323, -0.008700446225702763, 0.016887877136468887, 0.03094988688826561, -0.060900505632162094, 0.0001717775157885626, -0.17393015325069427, 0.006219828967005014, -0.0018325806595385075, 0.05858803540468216, 0.004583034664392471, 0.006659094709903002, 0.04285581409931183, 0.0739484652876854, 0.01857968606054783, -0.00924196932464838, 0.049164704978466034, 0.015197379514575005, -0.020530913025140762, -0.025146501138806343, -0.0010813474655151367, 0.036604370921850204, 0.01238385308533907, 0.012268557213246822, -0.004355974495410919, -0.06055031344294548, 0.020252715796232224, -0.05972987040877342, -0.02382414974272251, -0.02697092853486538, -0.011617930606007576, 0.002683997619897127, 0.03540248051285744, 0.031135791912674904, 0.035892121493816376, 0.0033335613552480936, 0.010317624546587467, 0.032126035541296005, 0.008746380917727947, -0.13359230756759644, 0.08969638496637344, 0.028657300397753716, 0.02356942556798458, -0.0334281399846077, -0.02320125885307789, -0.011562260799109936, 0.0419861301779747, 0.04332899674773216, -0.034429918974637985, -0.0030850402545183897, 0.012639567255973816, 0.015562246553599834, 0.004821022506803274, -0.005924139637500048, 0.03053957037627697, 0.009604740887880325, -0.05562208592891693, 0.0006351939518935978, 0.038345932960510254, -0.023167306557297707, -0.016268817707896233, -0.040860939770936966, 0.010172536596655846, -0.03110530972480774, 0.057309605181217194, -0.009070184081792831, 0.009896933101117611, 0.03749765455722809, 0.033350441604852676, 0.029208002611994743, -0.01502711046487093, -0.06761722266674042, -0.05697156488895416, 0.021942762657999992, 0.04493441805243492, -0.005919535644352436, 0.45953816175460815, -0.026755033060908318, 0.0018878525588661432, 0.06390789151191711, 0.053174782544374466, -0.018196741119027138, -0.023172298446297646, -0.0006191267166286707, -0.06440122425556183, 0.046079378575086594, -0.011509609408676624, 0.0453912690281868, -0.001288663363084197, 0.059805020689964294, -0.038030218333005905, 0.03826456516981125, 0.011317097581923008, 0.03001113049685955, 0.018522290512919426, -0.00666514877229929, -0.006077208090573549, -0.036185670644044876, 0.024825867265462875, 0.031724002212285995, -0.011238998733460903, 0.0052867429330945015, -0.011811666190624237, 0.04691488295793533, 0.06610802561044693, 0.031687039881944656, 0.00415863748639822, 0.04435821995139122, -0.024029674008488655, -0.1056380346417427, -0.002282516099512577, -0.016959544271230698, -0.01276499591767788, 0.04303540289402008, -0.03703312948346138, 0.006586074363440275, 0.05209406837821007, 0.015056168660521507, -0.00535212829709053, 0.007030514068901539, -0.0149654196575284, -0.024593109264969826, 0.13127610087394714, 0.03160509094595909, -0.033464960753917694, -0.0123241962864995, -0.054494358599185944, 0.024103060364723206, 0.017218470573425293, 0.016369089484214783, -0.07491408288478851, 0.026812266558408737, 0.020350763574242592, 0.11339062452316284, -0.000953706621658057, -0.039470840245485306, 0.00299880956299603, -0.014461657963693142, -0.020128721371293068, -0.039953362196683884, 0.06142696738243103, 0.06318995356559753, -0.13903608918190002, -0.02409004606306553, 0.012785217724740505, 0.03693241626024246, -0.05522443354129791, 0.019244017079472542, 0.021980641409754753, -0.018788883462548256, 0.011140549555420876, 0.06066517159342766, -0.036857228726148605, -0.04441516846418381, 0.015591335482895374, 0.019152557477355003, 0.00026955356588587165, 0.003737462218850851, -0.034258246421813965, -0.02908153086900711, 0.0003733424819074571, -0.08804408460855484, -0.0673498809337616, -0.03757474198937416, 0.015648048371076584, -0.041129957884550095, 0.0038177312817424536, -0.016677599400281906, -0.005524904932826757, -0.08962396532297134, 0.07648230344057083, -0.05255671963095665, -0.043474312871694565, 0.01507863774895668, 0.0020442786626517773, -0.0363767072558403, -0.025660863146185875, -0.0587228499352932, -0.015327108092606068, -0.05230667442083359, 0.04603368416428566, -0.056187182664871216, 0.0261155404150486, 0.04142565280199051, -0.021534740924835205, 0.10941494256258011, 0.03730965778231621, 0.015865828841924667, -0.047363147139549255, 0.01825234666466713, 0.023002827540040016, -0.004504130221903324, -0.021285776048898697, 0.03273474797606468, -0.020483210682868958, -0.018865041434764862, 0.03233450651168823, -0.0013370354427024722, 0.0071359844878315926, -0.04232108220458031, -0.3645784854888916, -0.04926077276468277, -0.03496704250574112, 0.006655477918684483, 0.00895286537706852, -0.03992192819714546, 0.042126379907131195, 0.007880081422626972, -0.011736685410141945, 0.060924604535102844, 0.057828593999147415, 0.004836379550397396, 0.015799514949321747, -0.06337612867355347, -0.0021087867207825184, 0.005837544798851013, -0.024679528549313545, -0.010125068947672844, -0.023093145340681076, -0.023307116702198982, -0.012782102450728416, 0.012461129575967789, -0.03880206495523453, -0.04390770569443703, 0.001304411212913692, -0.03185976296663284, 0.09605208039283752, 0.01979670114815235, 0.04064519330859184, -0.025886518880724907, 0.016206398606300354, -0.008331402204930782, -0.0012265038676559925, -0.12829697132110596, 0.01715124025940895, -0.018702127039432526, 0.03313156217336655, 0.014028073288500309, -0.02300158515572548, -0.049247514456510544, -0.03877061605453491, 0.01939566247165203, -0.029947860166430473, -0.03215862065553665, -0.06339455395936966, 0.027179386466741562, -0.018776165321469307, -0.017437942326068878, -0.03799387067556381, 0.06410078704357147, 0.0005983541486784816, -0.0156474057585001, 0.050904471427202225, 0.030181152746081352, -0.004693576600402594, -0.02917824126780033, -0.07824905961751938, 0.02309870533645153, -0.010576545260846615, 0.016618458554148674, 0.01754114404320717, 0.05200003832578659, 0.021121324971318245, -0.06947007775306702, 0.0015166975790634751, -0.0012922025052830577, -0.011837534606456757, 0.014970495365560055, 0.029067758470773697, -0.0080709932371974, -0.020380953326821327, 0.07437936216592789, -0.02870011143386364, -0.004881457891315222, 0.016724281013011932, 0.022662336006760597, -0.018631387501955032, 0.007280800025910139, 0.015766145661473274, 0.021877482533454895, 0.05466899648308754, -0.014327396638691425, 0.025318661704659462, 0.0027389570605009794, 0.0024710434954613447, 0.028507297858595848, 0.02397327497601509, -0.040135402232408524, 0.04988133907318115, 0.029490862041711807, 0.0017786120297387242, -0.012668527662754059, -0.03318624943494797, -0.07189048081636429, 0.06243860721588135, -0.0016499696066603065, -0.25607332587242126, 0.03015894629061222, 0.038670286536216736, 0.02425108104944229, 0.0005355853936634958, 0.018934138119220734, 0.031119240447878838, -0.01867222599685192, 0.032865870743989944, 0.022221630439162254, 0.026991378515958786, 0.01621927320957184, 0.00798339955508709, -0.0074642314575612545, 0.013172931037843227, 0.00846240483224392, 0.013864964246749878, 0.011370247229933739, -0.011168789118528366, 0.016927173361182213, 0.02647259458899498, 0.0036800068337470293, 0.12260666489601135, 0.02488779090344906, 0.024260101839900017, 0.03280758485198021, -0.01712990179657936, 0.012044183909893036, 0.04150157794356346, -0.019028548151254654, -0.0010250805644318461, -0.03693820908665657, -0.008046455681324005, -0.015748916193842888, 0.008436927571892738, -0.03972109779715538, -0.04005396366119385, 0.03747137635946274, 0.03276156261563301, 0.005601757206022739, 0.027957012876868248, 0.014079424552619457, -0.019070006906986237, 0.05108589679002762, 0.04549479857087135, 0.029281258583068848, 0.035829782485961914, -0.06329081952571869, -0.040201544761657715, -0.010053743608295918, -0.04174549877643585, -0.0519532635807991, -0.011367513798177242, -0.018045682460069656, -0.00881305430084467, 0.09269949793815613, 0.025431137531995773, -0.01158074289560318, 0.03894072398543358, -0.023728618398308754, -0.033675748854875565, -0.03510281443595886, 0.04704472795128822, -0.010251817293465137, 0.02813182771205902 ]
[ -0.01724824495613575, -0.004250662866979837, 0.0030147270299494267, 0.00858298595994711, 0.017312422394752502, -0.023280026391148567, -0.005370348691940308, -0.005351434461772442, -0.037859994918107986, 0.03370257094502449, 0.0011711041443049908, 0.005317263305187225, -0.004917251877486706, -0.017410699278116226, 0.03036360628902912, 0.035057954490184784, -0.0018330656457692385, -0.04107310250401497, 0.016637595370411873, -0.011561412364244461, -0.022504404187202454, -0.046184465289115906, -0.010712110437452793, -0.007297554984688759, 0.003965916112065315, 0.05160210654139519, -0.03545583412051201, -0.006963266059756279, 0.035474225878715515, -0.11226293444633484, -0.011282837018370628, -0.0224174614995718, -0.01446999330073595, 0.031596601009368896, 0.030474606901407242, -0.00018489634385332465, 0.014990015886723995, 0.010876608081161976, -0.015145504847168922, 0.036999039351940155, 0.007921063341200352, -0.03560783714056015, -0.01154038030654192, -0.0019260365515947342, -0.015037795528769493, 0.0036473094951361418, 0.0021838010288774967, -0.001142409397289157, -0.007585264276713133, 0.0030394194182008505, -0.05031144991517067, -0.02391778863966465, -0.03167951852083206, 0.011650138534605503, 0.026595009490847588, -0.006875692866742611, 0.005933120381087065, 0.011918719857931137, 0.00032867860863916576, -0.008249687030911446, 0.007691345643252134, -0.01445679645985365, -0.03432560712099075, -0.007377713918685913, -0.007495537865906954, -0.005883228499442339, -0.027942348271608353, 0.033779218792915344, -0.00849029328674078, -0.025540350005030632, 0.011144737713038921, 0.0190629493445158, -0.016331110149621964, -0.03898600861430168, 0.01855103112757206, -0.00864622462540865, -0.0026811701245605946, -0.011470787227153778, 0.008208381943404675, -0.025815462693572044, -0.021924935281276703, 0.035845182836055756, -0.016789378598332405, 0.0012628892436623573, -0.0013855255674570799, -0.0166278388351202, -0.01890328899025917, 0.01692890003323555, 0.010104869492352009, -0.015420378185808659, -0.008066294714808464, 0.01967860758304596, -0.00815300177782774, 0.03991943970322609, -0.09019728004932404, -0.021833186969161034, -0.02435648813843727, -0.015408709645271301, 0.006407852750271559, 0.8381311893463135, -0.02128775045275688, 0.02926810458302498, -0.0016760050784796476, 0.021620802581310272, -0.023278530687093735, -0.048079714179039, -0.022183455526828766, 0.02592391148209572, -0.01230400800704956, -0.01734914444386959, 0.013573745265603065, 0.03353402018547058, 0.03590499237179756, -0.013377887196838856, -0.003792399074882269, -0.0026625122409313917, -0.05032876506447792, 0.011111377738416195, -0.00845216866582632, 0.007454515900462866, 0.04231991991400719, 0.04455415531992912, -0.018482867628335953, 0.012276550754904747, 0.015868140384554863, -0.16316772997379303, 0.0004389426903799176, -8.852598732216707e-33, 0.06410562992095947, 0.01778772473335266, 0.022319935262203217, 0.001786678098142147, -0.008418010547757149, -0.0029023513197898865, -0.012689465656876564, 0.007274912670254707, -0.009367180988192558, 0.020812559872865677, -0.02401992492377758, 0.01581152155995369, 0.031274668872356415, -0.03089495189487934, 0.04161016270518303, -0.01977306604385376, 0.0009755321079865098, 0.013971568085253239, -0.025994746014475822, 0.010664294473826885, 0.03748997673392296, 0.06442753225564957, 0.003577878000214696, 0.017870517447590828, 0.03180976212024689, 0.01946055330336094, 0.014352998696267605, 0.009373901411890984, -0.001819464610889554, -0.03433797508478165, -0.030236203223466873, 0.016442062333226204, -0.0012048801872879267, 0.007068136241286993, 0.03617240488529205, -0.029379216954112053, -0.02151758037507534, -0.0010128625435754657, 0.004545455798506737, -0.019367270171642303, -0.021363621577620506, 0.01898711733520031, -0.0078877042979002, -0.024156603962183, -0.026354560628533363, -0.010380717925727367, 0.05088130757212639, -0.018863167613744736, -0.0027704560197889805, -0.017606161534786224, 0.041858598589897156, -0.03277263790369034, -0.0076050045900046825, 0.018562842160463333, -0.01549807470291853, 0.02412833645939827, -0.01330280676484108, -0.015881985425949097, 0.02446836233139038, 0.0132489874958992, 0.016404185444116592, -0.012463215738534927, -0.02649811841547489, 0.014524509198963642, -0.04570164903998375, -0.0036212208215147257, 0.003862280398607254, -0.007911093533039093, 0.038429196923971176, -0.017664894461631775, -0.04962582513689995, 0.03810867667198181, -0.004417023155838251, -0.015021071769297123, 0.027479933574795723, -0.004913979209959507, -0.014675453305244446, 0.04436369240283966, -0.023698652163147926, 0.035650499165058136, 0.020903289318084717, -0.01944884844124317, 0.02788509614765644, -0.04874784126877785, -0.010917134582996368, 0.014644574373960495, 0.0252140611410141, 0.02843019738793373, -0.0016764455940574408, 0.001919215894304216, 0.0021924215834587812, -0.00709445308893919, -0.018180949613451958, -0.04574732482433319, 0.0036269917618483305, 8.803254418105064e-33, 0.006009052041918039, -0.03384939581155777, 0.014064905233681202, -0.007343956269323826, 0.05144699290394783, 0.006963883060961962, 0.034817926585674286, 0.00452412897720933, -0.05123308673501015, 0.04180436581373215, -0.0026536290533840656, -0.019180361181497574, 0.009645451791584492, 0.029185563325881958, 0.037877898663282394, -0.014203968457877636, 0.01604049652814865, -0.02362879179418087, -0.009498546831309795, 0.01619548164308071, -0.007305589038878679, -0.007019640412181616, 0.0007653488428331912, 0.02855842374265194, 0.04074971750378609, 0.0551297552883625, -0.021887507289648056, -0.020105479285120964, 0.05590548738837242, -0.008706450462341309, -0.006936441175639629, -0.022726332768797874, -0.01619051769375801, -0.004202165640890598, -0.013216848485171795, 0.019827216863632202, 0.002805425086989999, -0.02921741083264351, -0.01626175455749035, -0.017713503912091255, 0.006086099427193403, 0.018437229096889496, -0.01355142705142498, 0.021479731425642967, -0.0036872162017971277, 0.046390652656555176, -0.014701343141496181, 0.009570369496941566, -0.03680138662457466, -0.024512434378266335, -0.020435219630599022, 0.04603958874940872, 0.02815522812306881, 0.000143540688441135, 0.02967550978064537, -0.03923695906996727, -0.011617750860750675, 0.0009435861138626933, -0.03210682049393654, -0.0014382586814463139, 0.016733281314373016, 0.02420608513057232, -0.03061220608651638, 0.020002199336886406, -0.016753772273659706, -0.015984991565346718, -0.021135659888386726, -0.01863963156938553, -0.017710983753204346, -0.01728632301092148, -0.014817721210420132, -0.020468508824706078, 0.0011871574679389596, -0.0056587145663797855, 0.017463568598031998, -0.04056112840771675, -0.060342937707901, 0.028520265594124794, 0.014746837317943573, 0.050753962248563766, 0.0333639420568943, -0.008219455368816853, 0.035556942224502563, 0.014251219108700752, 0.027686534449458122, 0.042091261595487595, 0.006139939650893211, 0.0049914210103452206, 0.009868526831269264, -0.0011056559160351753, -0.06152886524796486, -0.08092611283063889, -0.012018022127449512, 0.04343060031533241, 0.03800303488969803, -1.3832536893687575e-8, -0.014326721429824829, 0.01262756995856762, -0.006434485781937838, -0.01776142418384552, 0.02088525891304016, -0.0170439463108778, -0.018923841416835785, 0.02205103635787964, 0.015835434198379517, 0.015881415456533432, 0.07291229814291, -0.016514373943209648, -0.020630070939660072, -0.013378274627029896, -0.017442693933844566, -0.05347207188606262, 0.026934519410133362, -0.05043916031718254, 0.05325198173522949, 0.06027340143918991, 0.0473833866417408, 0.04086735099554062, -0.050016939640045166, -0.006901117507368326, 0.030520761385560036, 0.026521338149905205, -0.023594696074724197, -0.07931429892778397, 0.013947492465376854, -0.012188510037958622, -0.0036768680438399315, -0.036448247730731964, -0.005457855761051178, 0.021788019686937332, -0.02134317345917225, -0.02618190459907055, 0.04060301557183266, 0.03705805167555809, 0.04290604218840599, -0.01758543960750103, 0.02374524064362049, -0.003143914742395282, -0.0289621539413929, -0.03274202346801758, -0.025936199352145195, 0.036108583211898804, 0.002242736052721739, -0.01548199076205492, -0.0042142742313444614, -0.05686807632446289, -0.00619867630302906, -0.030856307595968246, 0.011611574329435825, 0.05624951794743538, 0.03281243517994881, -0.005885090213268995, 0.005059491377323866, -0.005534207448363304, -0.02731979265809059, -0.0010470554698258638, -0.0006197149050422013, -0.0178116112947464, -0.034127090126276016, -0.01137431152164936 ]
strata-conf-london-day-1-wrap-up
https://markhneedham.com/blog/2012/10/02/strata-conf-london-day-1-wrap-up
false
2012-10-27 20:24:48
Kaggle Digit Recognizer: Mahout Random Forest attempt
[ "machine-learning-2" ]
[ "Machine Learning" ]
I've written previously about the http://www.markhneedham.com/blog/2012/10/23/kaggle-digit-recognizer-a-k-means-attempt/[K-means] http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-k-means-optimisation-attempt/[approach] that http://twitter.com/jennifersmithco[Jen] and I took when trying to solve http://www.kaggle.com/c/digit-recognizer[Kaggle's Digit Recognizer] and having stalled at about 80% accuracy we decided to try one of the algorithms suggested in the http://www.kaggle.com/c/digit-recognizer/details/tutorial[tutorials section] - the https://www.kaggle.com/wiki/RandomForests[random forest]! We initially used a https://github.com/eandrejko/random-forests-clj[clojure random forests library] but struggled to build the random forest from the training set data in a reasonable amount of time so we switched to https://cwiki.apache.org/MAHOUT/breiman-example.html[Mahout's version] which is based on Leo Breiman's http://oz.berkeley.edu/users/breiman/randomforest2001.pdf[random forests] paper. There's http://blog.factual.com/the-wisdom-of-crowds[a really good example explaining how ensembles work on the Factual blog] which we found quite useful in helping us understand how random forests are supposed to work. ____ One of the most powerful Machine Learning techniques we turn to is ensembling. Ensemble methods build surprisingly strong models out of a collection of weak models called base learners, and typically require far less tuning when compared to models like Support Vector Machines. Most ensemble methods use decision trees as base learners and many ensembling techniques, like Random Forests and Adaboost, are specific to tree ensembles. ____ We were able to adapt the +++<cite>+++https://github.com/apache/mahout/blob/trunk/examples/src/main/java/org/apache/mahout/classifier/df/BreimanExample.java[BreimanExample]+++</cite>+++ included in the examples section of the Mahout repository to do what we wanted. To start with we wrote the following code to build the random forest: [source,java] ---- public class MahoutKaggleDigitRecognizer { public static void main(String[] args) throws Exception { String descriptor = "L N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N "; String[] trainDataValues = fileAsStringArray("data/train.csv"); Data data = DataLoader.loadData(DataLoader.generateDataset(descriptor, false, trainDataValues), trainDataValues); int numberOfTrees = 100; DecisionForest forest = buildForest(numberOfTrees, data); } private static DecisionForest buildForest(int numberOfTrees, Data data) { int m = (int) Math.floor(Maths.log(2, data.getDataset().nbAttributes()) + 1); DefaultTreeBuilder treeBuilder = new DefaultTreeBuilder(); treeBuilder.setM(m); return new SequentialBuilder(RandomUtils.getRandom(), treeBuilder, data.clone()).build(numberOfTrees); } private static String[] fileAsStringArray(String file) throws Exception { ArrayList<String> list = new ArrayList<String>(); DataInputStream in = new DataInputStream(new FileInputStream(file)); BufferedReader br = new BufferedReader(new InputStreamReader(in)); String strLine; br.readLine(); // discard top one (header) while ((strLine = br.readLine()) != null) { list.add(strLine); } in.close(); return list.toArray(new String[list.size()]); } } ---- The training data file looks a bit like this: [source,text] ---- label,pixel0,pixel1,pixel2,pixel3,pixel4,pixel5,pixel6,pixel7,pixel8...,pixel783 1,0,0,0,0,0,0,...,0 0,0,0,0,0,0,0,...,0 ---- So in this case the label is in the first column which is represented as an +++<cite>+++L+++</cite>+++ in the descriptor and the next 784 columns are the numerical value of the pixels in the image (hence the 784 +++<cite>+++N+++</cite>+++'s in the descriptor). We're telling it to create a random forest which contains 100 trees and since we have a finite number of categories that an entry can be classified as we pass +++<cite>+++false+++</cite>+++ as the 2nd argument (regression) of +++<cite>+++https://github.com/apache/mahout/blob/trunk/core/src/main/java/org/apache/mahout/classifier/df/data/DataLoader.java#L184[DataLoader.generateDataSet]+++</cite>+++. The +++<cite>+++m+++</cite>+++ value determines how many attributes (pixel values in this case) are used to construct each tree and supposedly +++<cite>+++log~2~(number_of_attributes) + 1+++</cite>+++ is the optimal value for that! We then wrote the following code to predict the labels of the test data set: [source,java] ---- public class MahoutKaggleDigitRecognizer { public static void main(String[] args) throws Exception { ... String[] testDataValues = testFileAsStringArray("data/test.csv"); Data test = DataLoader.loadData(data.getDataset(), testDataValues); Random rng = RandomUtils.getRandom(); for (int i = 0; i < test.size(); i++) { Instance oneSample = test.get(i); double classify = forest.classify(test.getDataset(), rng, oneSample); int label = data.getDataset().valueOf(0, String.valueOf((int) classify)); System.out.println("Label: " + label); } private static String[] testFileAsStringArray(String file) throws Exception { ArrayList<String> list = new ArrayList<String>(); DataInputStream in = new DataInputStream(new FileInputStream(file)); BufferedReader br = new BufferedReader(new InputStreamReader(in)); String strLine; br.readLine(); // discard top one (header) while ((strLine = br.readLine()) != null) { list.add("-," + strLine); } in.close(); return list.toArray(new String[list.size()]); } } ---- There were a couple of things that we found confusing when working out how to do this: . The format of the test data needs to be identical to that of the training data which consisted of a label followed by 784 numerical values. Obviously with the test data we don't have a label so Mahout excepts us to pass a '-' where the label would go otherwise it will throw an exception, which explains the '-' on the +++<cite>+++list.add+++</cite>+++ line. . We initially thought the value returned by +++<cite>+++https://github.com/apache/mahout/blob/trunk/core/src/main/java/org/apache/mahout/classifier/df/DecisionForest.java#L90[forest.classify]+++</cite>+++ was the prediction but in actual fact it's an index which we then need to look up on the data set. When we ran this algorithm against the test data set with 10 trees we got an accuracy of 83.8%, with 50 trees we got 84.4%, with 100 trees we got 96.28% and with 200 trees we got 96.33% which is where we've currently peaked. The amount of time it's taking to build the forests as we increase the number of trees is also starting to become a problem so our next step is either to look at a way to parallelise the creation of the forest or do some sort of http://www.kaggle.com/c/digit-recognizer/forums/t/2308/feature-extraction-technique[feature extraction]to try and improve the accuracy. The https://github.com/jennifersmith/machinenursery/blob/master/src/main/java/MahoutPlaybox.java[code is on github] if you're interested in playing with it or have any suggestions on how to improve it.
null
null
[ 0.005337959621101618, -0.007447848096489906, -0.007696215994656086, 0.05921483039855957, 0.06506301462650299, 0.03724268451333046, 0.04066397622227669, 0.01126676145941019, 0.000641087768599391, -0.018840797245502472, -0.016143126413226128, -0.00891597755253315, -0.05216453596949577, -0.012698245234787464, -0.055270686745643616, 0.06833302974700928, 0.05926902964711189, 0.0038984427228569984, 0.02491607330739498, 0.025365883484482765, 0.014920894056558609, 0.03020494431257248, 0.04493822529911995, 0.033239174634218216, 0.04559038579463959, 0.004142274148762226, 0.0180068276822567, 0.006348562426865101, -0.025646012276411057, -0.008852465078234673, 0.03301222249865532, 0.02391381375491619, -0.007345179561525583, -0.006734388880431652, 0.035154927521944046, 0.009728570468723774, -0.05020371451973915, 0.010440340265631676, 0.02896943688392639, 0.03175519406795502, -0.04860769957304001, 0.039350539445877075, -0.01812589354813099, 0.043665945529937744, -0.048778437077999115, -0.004750634077936411, -0.07389014959335327, 0.02398538403213024, 0.030387647449970245, -0.009246163070201874, -0.07319184392690659, 0.045468445867300034, -0.011564154177904129, -0.012029655277729034, -0.0038952711038291454, 0.048330098390579224, 0.03180226311087608, -0.06787819415330887, 0.03613809496164322, -0.026329947635531425, -0.022583527490496635, 0.00739592220634222, -0.005548389162868261, 0.012395286932587624, -0.003915080800652504, -0.027536148205399513, 0.004417715594172478, 0.036961790174245834, -0.028095733374357224, -0.0069506303407251835, -0.021595682948827744, 0.015751034021377563, 0.002244745846837759, 0.005044045392423868, 0.000021672323782695457, -0.04718247428536415, 0.022643238306045532, 0.056410130113363266, 0.03874814510345459, 0.009028640575706959, -0.007893087342381477, -0.011974302120506763, 0.0345504991710186, 0.025531627237796783, -0.02299230545759201, -0.035162653774023056, -0.022465726360678673, -0.03812044858932495, -0.08938327431678772, 0.05479847267270088, -0.0014673020923510194, -0.06834626942873001, 0.015714798122644424, 0.02492731809616089, -0.019930461421608925, 0.01717606745660305, 0.031187035143375397, -0.01459495723247528, -0.0200729351490736, -0.007365008350461721, -0.021511618047952652, -0.007825820706784725, 0.016320431604981422, 0.008269895799458027, -0.09472058713436127, -0.015989596024155617, -0.012792958877980709, 0.013905884698033333, -0.021111901849508286, -0.0003358825633767992, -0.02222614176571369, 0.020127927884459496, -0.006526823155581951, -0.015067106112837791, -0.07921601831912994, 0.0496005043387413, 0.00854612234979868, -0.039766646921634674, -0.012143181636929512, 0.013439248315989971, 0.06867357343435287, 0.06055140122771263, -0.035657525062561035, 0.07320085912942886, -0.0025468121748417616, 0.019090300425887108, 0.015377148985862732, 0.05313587561249733, -0.01223017182201147, -0.043021973222494125, -0.005785247776657343, 0.03977218642830849, -0.00984964519739151, 0.010376826860010624, 0.003495536744594574, -0.028553567826747894, -0.011191570200026035, 0.024874312803149223, 0.05982326716184616, 0.02980286255478859, 0.005882809404283762, -0.04014952480792999, 0.019765572622418404, 0.021202703937888145, 0.0221412293612957, -0.007767658680677414, -0.0024806433357298374, -0.011731063015758991, -0.035952743142843246, -0.011490178294479847, 0.004488956183195114, -0.003962104674428701, 0.023149874061346054, -0.04913115128874779, 0.01379181258380413, 0.10546033829450607, 0.009253909811377525, 0.000318217440508306, 0.02370269224047661, 0.0213204026222229, 0.03136945515871048, 0.030157238245010376, -0.00044934471952728927, 0.013286825269460678, -0.00899889413267374, -0.04057822749018669, 0.014699537307024002, 0.09353671967983246, -0.018675146624445915, 0.025193510577082634, -0.033385589718818665, -0.0589330680668354, 0.03546922281384468, -0.05385224148631096, -0.03342070057988167, 0.04090467095375061, 0.06713145971298218, 0.04411274939775467, 0.048276834189891815, 0.024802615866065025, -0.07540355622768402, 0.04797114431858063, 0.03395560756325722, 0.01237895805388689, 0.019296977669000626, -0.0025081122294068336, 0.10770601034164429, 0.022524932399392128, 0.03447512537240982, 0.03308599814772606, -0.06233217939734459, -0.05644620209932327, -0.012414221651852131, -0.011713371612131596, 0.07454356551170349, -0.013376276940107346, 0.03166081756353378, 0.06077877804636955, 0.01585908606648445, 0.029043573886156082, 0.044501662254333496, -0.03074069321155548, 0.01422856654971838, -0.028218766674399376, -0.061319947242736816, 0.03762789070606232, 0.024256333708763123, -0.05819673836231232, -0.02755642682313919, -0.002696920419111848, -0.009630107320845127, -0.03117399290204048, 0.010154087096452713, -0.025342123582959175, 0.02889632061123848, 0.03442695364356041, 0.062086015939712524, -0.030999109148979187, 0.041942473500967026, -0.029063904657959938, -0.011590083129703999, -0.0014497213996946812, -0.02778170071542263, 0.015787942335009575, 0.03373702988028526, 0.12502823770046234, 0.08041125535964966, -0.02213458903133869, -0.029375093057751656, -0.0037042000330984592, -0.001113618491217494, -0.07743339240550995, 0.009841905906796455, -0.003639260306954384, 0.0027711177244782448, -0.0007596677169203758, -0.053217872977256775, -0.052998561412096024, 0.032289788126945496, -0.04472391679883003, -0.01557688694447279, 0.05569043010473251, -0.040260206907987595, 0.043702661991119385, 0.02419707179069519, -0.021369360387325287, -0.004901305306702852, -0.00821153074502945, -0.04841770604252815, 0.0007896456518210471, -0.0070513105019927025, -0.005120269022881985, 0.005517247132956982, -0.032223012298345566, -0.008863277733325958, -0.04102141410112381, -0.01964104175567627, 0.012428386136889458, 0.07044631987810135, 0.06198501214385033, 0.007874323055148125, 0.04733118787407875, -0.029729312285780907, 0.008454089052975178, -0.0005369179416447878, -0.06410037726163864, -0.049718890339136124, -0.042380835860967636, 0.011024344712495804, 0.038228340446949005, 0.023696905001997948, -0.004523394163697958, 0.0486738458275795, 0.018946534022688866, 0.005602031014859676, -0.023413559421896935, 0.05288286507129669, 0.030016908422112465, -0.029042696580290794, -0.014752840623259544, -0.02331394888460636, 0.05021986365318298, -0.007752787321805954, -0.013865029439330101, -0.013772957026958466, -0.06933726370334625, 0.04271276295185089, -0.05449037626385689, -0.04224643483757973, 0.018992044031620026, 0.018236646428704262, 0.051605984568595886, 0.030228223651647568, -0.005256324540823698, 0.0321047380566597, 0.012256097048521042, -0.0007949232822284102, 0.024771085008978844, -0.008281140588223934, 0.03699390962719917, -0.006699785124510527, 0.03347838670015335, 0.01831365004181862, -0.0015262088272720575, -0.025075633078813553, -0.038501445204019547, 0.034315574914216995, -0.021962853148579597, -0.2978350520133972, 0.029028194025158882, 0.04336422681808472, -0.03625357896089554, -0.008037928491830826, -0.02155698835849762, 0.016032055020332336, -0.03698180988430977, -0.030864108353853226, 0.015598949044942856, -0.01558014191687107, -0.016021518036723137, -0.05064612627029419, 0.030186934396624565, 0.005123418290168047, -0.006454666145145893, 0.009804774075746536, -0.031158819794654846, 0.0341343991458416, 0.07063432037830353, -0.0044409302063286304, -0.06426145136356354, -0.005894533358514309, 0.03329509496688843, 0.003622489981353283, 0.053871724754571915, -0.07442937046289444, -0.003091079881414771, -0.052960339933633804, -0.011028692126274109, 0.003093937411904335, -0.015173162333667278, 0.00033893127692863345, 0.0075511448085308075, -0.0009394718799740076, -0.02054114080965519, 0.033944666385650635, 0.020975640043616295, -0.019532585516572, 0.04082367941737175, -0.0008026154828257859, -0.0251872967928648, -0.00017262034816667438, 0.020390236750245094, 0.09058002382516861, 0.03426637873053551, -0.05904669687151909, -0.003351204562932253, -0.03863257169723511, 0.06300932168960571, -0.03387976065278053, -0.034280721098184586, -0.008828270249068737, 0.03318209946155548, 0.0008305796654894948, -0.012283209711313248, 0.0029392994474619627, -0.00563726807013154, -0.03555721789598465, -0.023637665435671806, -0.00585884740576148, -0.026439471170306206, 0.010872439481317997, -0.06552708148956299, -0.013947267085313797, -0.05709556117653847, -0.06816986948251724, -0.015463057905435562, 0.07396549731492996, 0.01701187901198864, -0.044292692095041275, 0.014143284410238266, -0.018674448132514954, -0.10271008312702179, -0.010761025361716747, -0.014441348612308502, -0.01054872665554285, 0.005646839737892151, 0.0203196182847023, 0.08723588287830353, -0.05315509811043739, -0.07024671882390976, 0.027579521760344505, -0.003997276537120342, 0.014028090983629227, -0.016892896965146065, 0.005963827483355999, 0.02263432741165161, 0.013216128572821617, 0.010374979116022587, 0.04869632050395012, 0.03173300623893738, -0.014352498576045036, -0.013628419488668442, 0.027663275599479675, 0.03683445230126381, 0.04215668886899948, -0.00933923851698637, 0.014372202567756176, 0.040959592908620834, 0.006280932575464249, -0.04528188705444336, 0.018142960965633392, -0.02609245479106903, -0.03449885547161102, 0.01667742058634758, -0.06498055160045624, -0.0025132244918495417, 0.039143938571214676, -0.000099078708444722, -0.016339726746082306, -0.04807215556502342, 0.029188241809606552, -0.03161957114934921, -0.01675119809806347, -0.01974247209727764, 0.006916052661836147, 0.025722648948431015, 0.015750674530863762, -0.023473789915442467, -0.043173741549253464, 0.022877583280205727, -0.009604334831237793, -0.02314075455069542, -0.025421909987926483, -0.03686564788222313, -0.029736390337347984, -0.003817269578576088, -0.018601445481181145, -0.02281721867620945, 0.010900117456912994, 0.036549925804138184, 0.03342621028423309, -0.011397356167435646, 0.02658931165933609, -0.0031257953960448503, -0.04186650738120079, -0.03774105757474899, 0.03413380682468414, -0.008093991316854954, -0.01437003631144762, -0.011502278968691826, 0.010702034458518028, 0.015410049818456173, 0.047330766916275024, 0.0016867818776518106, 0.017486488446593285, -0.014083095826208591, 0.013723458163440228, -0.018940413370728493, 0.002800185699015856, -0.03694569319486618, 0.008793247863650322, -0.025291379541158676, -0.017213966697454453, -0.0025283328723162413, 0.03750402852892876, 0.011657015420496464, -0.006499894894659519, -0.053374238312244415, 0.05521094799041748, -0.011823835782706738, -0.018408823758363724, -0.05195518583059311, 0.01454929355531931, 0.06271704286336899, -0.019345905631780624, 0.004862024914473295, -0.00328223779797554, -0.006277960725128651, 0.026851849630475044, -0.0037150399293750525, -0.05268748477101326, 0.01949017308652401, -0.007840348407626152, 0.008060243912041187, 0.01107330247759819, 0.011153334751725197, 0.012100220657885075, 0.008958182297647, -0.028996994718909264, -0.00036734313471242785, -0.011068250983953476, 0.00514927739277482, 0.07240435481071472, 0.0355881005525589, -0.03007817640900612, -0.0033534516114741564, -0.019973158836364746, -0.010126885026693344, -0.03344915062189102, -0.011636325158178806, 0.007758170831948519, 0.006213183514773846, -0.024509834125638008, -0.0594710074365139, 0.016798846423625946, -0.0008901955443434417, -0.02245434932410717, 0.016727400943636894, -0.009382378309965134, -0.0060030389577150345, -0.01953369565308094, 0.025316381826996803, 0.07531463354825974, -0.07898475229740143, -0.005194290075451136, 0.0064735752530395985, -0.0362187884747982, -0.0024899495765566826, 0.0010735586984083056, -0.05845125764608383, -0.015566203743219376, -0.03712804988026619, 0.021100051701068878, -0.06337977945804596, -0.06917962431907654, -0.03175302594900131, 0.032138533890247345, 0.006018908228725195, -0.005995661951601505, -0.014783751219511032, -0.012402418069541454, -0.01428871788084507, -0.028432538732886314, 0.020034724846482277, -0.000888361653778702, 0.014329531230032444, 0.008639231324195862, -0.04853963851928711, 0.009417331777513027, -0.034080732613801956, 0.008204540237784386, 0.0434437021613121, -0.022417912259697914, 0.00922573171555996, -0.044044915586709976, 0.016995957121253014, 0.018555378541350365, 0.05241645127534866, 0.0026933709159493446, 0.02053876966238022, -0.05752892419695854, 0.01276042778044939, -0.03847651183605194, 0.01807081140577793, -0.013510340824723244, -0.017046833410859108, 0.019680509343743324, 0.03433310613036156, -0.004860566463321447, 0.03381283953785896, -0.02090371958911419, 0.01123310998082161, 0.0680474266409874, -0.03615551441907883, -0.038861509412527084, -0.045918453484773636, -0.03181307762861252, 0.020188214257359505, 0.003612047526985407, 0.026624547317624092, -0.00011523414286784828, 0.03942210227251053, 0.011717314831912518, 0.008017296902835369, 0.008493064902722836, 0.0034426471684128046, 0.024676816537976265, -0.03401373326778412, -0.007004735060036182, -0.07480525970458984, -0.029476208612322807, 0.05272487550973892, 0.0037208038847893476, -0.007464632857590914, -0.003511290531605482, -0.025627275928854942, 0.012605162337422371, -0.07410767674446106, -0.007643189746886492, 0.038375407457351685, -0.013018203899264336, -0.007991460151970387, -0.007690899074077606, -0.04307696595788002, 0.038868192583322525, 0.011286894790828228, -0.04848076403141022, -0.010957292281091213, -0.03210796043276787, 0.06513860821723938, -0.014240465126931667, 0.03309426084160805, 0.008921419270336628, -0.008454548195004463, 0.0560862272977829, 0.023780936375260353, 0.024803495034575462, 0.03613972291350365, -0.018538502976298332, 0.04911286383867264, 0.035060640424489975, 0.0005193979013711214, -0.005339496769011021, 0.006233529653400183, 0.008135066367685795, -0.09167850762605667, 0.053264591842889786, -0.015744132921099663, -0.023409899324178696, -0.04550148546695709, 0.06100945919752121, 0.03699447214603424, -0.03777502104640007, -0.0560455396771431, 0.02759965881705284, -0.05636301636695862, 0.007586915511637926, -0.007561852224171162, -0.007280210964381695, -0.04408703371882439, 0.04509991779923439, -0.01741481013596058, -0.010770962573587894, 0.07133360207080841, -0.03028692491352558, -0.02466406486928463, 0.01967860385775566, 0.08749057352542877, 0.09379786252975464, 0.05671025067567825, 0.012904663570225239, 0.08238666504621506, -0.02547520585358143, -0.04929564893245697, 0.008118951693177223, 0.00850706361234188, -0.03041011467576027, -0.05900095775723457, 0.032842058688402176, 0.05135473981499672, -0.017088070511817932, 0.07050429284572601, -0.04958239570260048, 0.0009340682881884277, 0.012968331575393677, 0.024160483852028847, 0.004893468227237463, 0.06505550444126129, -0.014279051683843136, 0.014228901825845242, -0.04661599546670914, -0.025435522198677063, 0.03178040683269501, 0.002942435210570693, -0.022741323336958885, 0.020218463614583015, -0.027451125904917717, 0.023467540740966797, 0.0143639100715518, 0.051858481019735336, 0.07072658091783524, -0.03867881000041962, -0.021884944289922714, -0.0037232525646686554, 0.04596226289868355, 0.009198693558573723, 0.03507127985358238, -0.02026703767478466, -0.019074762240052223, -0.004673077259212732, -0.01850138045847416, -0.007280598394572735, -0.023717006668448448, -0.018357805907726288, 0.001569558633491397, -0.04403750225901604, -0.020269248634576797, 0.01743215322494507, 0.0020074662752449512, -0.029863324016332626, -0.030697748064994812, -0.018049439415335655, -0.038643836975097656, -0.053672708570957184, -0.028972331434488297, 0.012044542469084263, 0.0071325283497571945, -0.030592434108257294, -0.025152426213026047, -0.025440070778131485, -0.0328679122030735, 0.04111792519688606, -0.05903494730591774, -0.01386052556335926, -0.0020101284608244896, 0.029973195865750313, 0.0035683291498571634, 0.013027653098106384, 0.048341136425733566, 0.0057235341519117355, -0.01660470850765705, 0.003238820703700185, 0.009826482273638248, 0.0473523773252964, 0.03218412771821022, -0.0006363412248902023, -0.07008528709411621, 0.009410419501364231, 0.02414579875767231, -0.022789999842643738, -0.08056049048900604, 0.01776355877518654, 0.02980615198612213, 0.00571070471778512, 0.03643226996064186, -0.006898302119225264, -0.013293283991515636, -0.06454947590827942, -0.017196686938405037, -0.03579224273562431, 0.01270410418510437, 0.03172696754336357, -0.004601973574608564, 0.09399845451116562, 0.021264098584651947, -0.01603018492460251, -0.06442540884017944, -0.023833919316530228, 0.007923012599349022, 0.004174495581537485, -0.042901936918497086, -0.03022335283458233, -0.037894148379564285, -0.09152992069721222, -0.037129487842321396, 0.0383441187441349, -0.026139110326766968, -0.03957420587539673, 0.020816940814256668, -0.0014991122297942638, -0.012352067977190018, 0.036785874515771866, -0.04242464154958725, -0.0018541770987212658, -0.026231912896037102, -0.006459049880504608, -0.0279630646109581, 0.021288812160491943, -0.04572688415646553, 0.0074198003858327866, -0.001694476930424571, -0.05618366599082947, -0.009239636361598969, -0.002062198705971241, 0.022730804979801178, 0.036086034029722214, -0.007383582182228565, -0.01969638466835022 ]
[ -0.08324572443962097, -0.023275593295693398, -0.033907756209373474, -0.007867015898227692, 0.06495627015829086, -0.006256347522139549, 0.02187427692115307, 0.003995385020971298, -0.023664940148591995, -0.019552066922187805, 0.03924880921840668, -0.06297873705625534, -0.02607056312263012, -0.011021957732737064, 0.09381935745477676, 0.03352467715740204, 0.03117235004901886, -0.05627045780420303, -0.013294135220348835, 0.009381856769323349, 0.017749952152371407, -0.022168166935443878, -0.046631574630737305, -0.04456084594130516, -0.012122427113354206, 0.006230625323951244, 0.05064389109611511, -0.05900884047150612, -0.0002988862688653171, -0.2188795506954193, 0.018461022526025772, -0.007663847412914038, 0.08628785610198975, -0.02781943418085575, -0.008988208137452602, 0.05533457547426224, 0.02573970891535282, 0.02892071008682251, -0.01613597199320793, 0.015445562079548836, 0.007322503719478846, -0.0013502883957698941, -0.020622005686163902, -0.03337046131491661, 0.07490323483943939, -0.0017599795246496797, -0.011571872979402542, -0.019208965823054314, -0.07963163405656815, 0.013280429877340794, -0.052251964807510376, -0.029057910665869713, -0.0008218284929171205, -0.009808436036109924, -0.00181039038579911, 0.030722858384251595, 0.023910636082291603, 0.07308025658130646, 0.03479888662695885, 0.012821471318602562, 0.026057178154587746, -0.0010948413982987404, -0.13441690802574158, 0.06797529011964798, 0.011142542585730553, 0.040721550583839417, -0.015210538171231747, -0.05098922550678253, -0.020318180322647095, 0.08119591325521469, 0.05553613603115082, -0.011531505733728409, -0.0015950946835801005, 0.021673018112778664, 0.013966633938252926, 0.0023122422862797976, 0.0020391796715557575, 0.015419045463204384, 0.03204316645860672, -0.023530548438429832, -0.013048711232841015, 0.02581944316625595, -0.019710872322320938, -0.0180288664996624, -0.025661826133728027, 0.01019215676933527, -0.022600723430514336, 0.017684318125247955, 0.0012077400460839272, 0.04215572774410248, 0.039991073310375214, 0.034892529249191284, 0.015650777146220207, -0.015195559710264206, -0.07070423662662506, -0.015654176473617554, 0.0029855926986783743, 0.008607596158981323, -0.002619256731122732, 0.42248621582984924, -0.013303514569997787, 0.003724484471604228, 0.04897546395659447, 0.03877026215195656, -0.029696019366383553, -0.058895718306303024, -0.01803894340991974, -0.06502918154001236, 0.021225780248641968, -0.02357563190162182, 0.030044494196772575, -0.008671751245856285, 0.059139184653759, -0.01421075128018856, -0.01613530144095421, -0.0388394296169281, 0.058605656027793884, 0.05315631628036499, 0.033508896827697754, 0.0001729041978251189, -0.025608045980334282, 0.0033981718588620424, 0.015271048061549664, -0.03570694103837013, 0.020460987463593483, 0.001972779631614685, 0.003515669610351324, 0.06812141090631485, 0.059532079845666885, 0.00798917468637228, 0.04167143628001213, -0.028728315606713295, -0.10270652920007706, -0.01329016126692295, -0.0095223905518651, -0.02533540688455105, 0.04610200226306915, -0.004944139160215855, 0.004842238500714302, 0.0021086193155497313, 0.010515847243368626, 0.014003886841237545, 0.05636252835392952, 0.0003596524184104055, -0.04275834932923317, 0.14668138325214386, -0.02266627736389637, -0.030375050380825996, -0.018906719982624054, -0.07669185101985931, 0.039770808070898056, 0.018562426790595055, -0.036275170743465424, -0.05290192365646362, 0.024192331358790398, 0.03304017335176468, 0.09469791501760483, -0.03894602879881859, -0.058462969958782196, 0.005970240570604801, -0.02559698559343815, -0.019939802587032318, -0.013447633944451809, 0.022858876734972, 0.05567203834652901, -0.08772768080234528, 0.002678711898624897, -0.011763086542487144, 0.011990625411272049, -0.07145202904939651, 0.023522960022091866, 0.03091508522629738, 0.0005103473667986691, 0.05044371634721756, 0.0005236555589362979, -0.04146184027194977, -0.04943652078509331, 0.014309816062450409, 0.04143112525343895, -0.018724435940384865, 0.0007859358447603881, 0.0013262431602925062, -0.04288116842508316, 0.0249044056981802, -0.03891070932149887, -0.049590032547712326, -0.05032483860850334, -0.026250209659337997, -0.021494261920452118, 0.04160241037607193, -0.011302807368338108, -0.01724330335855484, -0.04498259723186493, 0.06685831397771835, -0.026097111403942108, -0.013353796675801277, 0.013023472391068935, -0.005209251772612333, -0.031139705330133438, -0.030339449644088745, -0.06744794547557831, 0.04047548770904541, -0.022194402292370796, -0.00406166585162282, -0.06272582709789276, 0.04083869233727455, 0.06427383422851562, -0.05231163278222084, 0.10433053225278854, 0.025254322215914726, -0.0011058613890781999, -0.04502958059310913, -0.043106988072395325, 0.0064679584465920925, -0.022804871201515198, 0.008859026245772839, -0.00028536305762827396, 0.01179516315460205, -0.011596880853176117, 0.03361508622765541, -0.017559241503477097, -0.01655670441687107, -0.06540890783071518, -0.3610619306564331, -0.04027215391397476, 0.017132388427853584, 0.013523760251700878, 0.024444883689284325, -0.06684374809265137, 0.0050320690497756, -0.004866262432187796, 0.015021019615232944, 0.03911186382174492, 0.04060889035463333, 0.005545932333916426, 0.0096418596804142, -0.04374852403998375, 0.004502574447542429, 0.04764721915125847, -0.02712894044816494, -0.032719340175390244, -0.03570644557476044, 0.003862406127154827, -0.00430737528949976, 0.030256783589720726, -0.005536355543881655, -0.041477564722299576, -0.038410332053899765, -0.025269700214266777, 0.09115822613239288, 0.04129037633538246, 0.061861906200647354, -0.011924722231924534, 0.026149144396185875, 0.02901294082403183, -0.003153001656755805, -0.07621023058891296, 0.03931662440299988, -0.023817600682377815, 0.012067483738064766, -0.006403974257409573, 0.013258447870612144, -0.038635704666376114, -0.04188050702214241, 0.04760511964559555, -0.021594101563096046, -0.04441610351204872, -0.08664996922016144, 0.052821192890405655, -0.032892271876335144, -0.03580870106816292, -0.03492884337902069, 0.03725701943039894, 0.008731362409889698, 0.017080554738640785, 0.05050277337431908, -0.0022749181371182203, -0.02478601038455963, -0.023816723376512527, -0.10088492929935455, -0.006143155507743359, -0.010118265636265278, 0.000010366536116634961, 0.04039984196424484, 0.01991468295454979, 0.017350973561406136, -0.09257159382104874, -0.0022031960543245077, 0.005491366144269705, -0.035376157611608505, 0.004864523187279701, 0.0303431935608387, -0.03160456568002701, -0.010445970110595226, 0.12105458974838257, 0.006013022735714912, -0.0011561891296878457, 0.06678341329097748, 0.041470255702733994, 0.01823774352669716, -0.005956102162599564, 0.018889576196670532, 0.027989840134978294, 0.06061166152358055, -0.0019077167380601168, 0.02565208077430725, -0.03591799736022949, 0.022895799949765205, 0.02939549833536148, 0.022710494697093964, -0.027955636382102966, 0.0401621051132679, 0.03744354099035263, 0.0027546919882297516, 0.005826170556247234, -0.012900186702609062, -0.055587608367204666, 0.07615961879491806, 0.018930289894342422, -0.24554210901260376, 0.02764679118990898, 0.06525629758834839, 0.07824351638555527, 0.009639634750783443, 0.016499916091561317, 0.020100152119994164, -0.07560773938894272, 0.01686958409845829, -0.006782269570976496, -0.008073954842984676, 0.0383622981607914, 0.03386858105659485, -0.013030655682086945, 0.001570805092342198, -0.004512961953878403, 0.05187072977423668, -0.025247368961572647, 0.03161415830254555, -0.026893774047493935, 0.042993154376745224, -0.014989826828241348, 0.1621968001127243, -0.005467730574309826, -0.00723016494885087, 0.03118896484375, -0.013594464398920536, -0.02120986208319664, 0.04423771798610687, -0.04203356057405472, 0.017071185633540154, -0.011033950373530388, 0.05111558362841606, 0.01095416210591793, 0.04799463599920273, -0.037774719297885895, -0.031969744712114334, 0.0030366943683475256, 0.01392312441021204, -0.01718737557530403, 0.02421729266643524, 0.0032207316253334284, -0.030209312215447426, 0.008265282958745956, 0.07080429792404175, -0.006573415361344814, 0.02909000590443611, -0.05663331598043442, -0.04650579392910004, -0.006480565760284662, -0.006841219495981932, -0.04094225913286209, -0.026249080896377563, -0.015037677250802517, 0.00809222087264061, 0.08855099976062775, 0.008198038674890995, -0.015775062143802643, -0.016940465196967125, -0.0009129962418228388, -0.01942599192261696, -0.04870997741818428, 0.05492964759469032, 0.01503133587539196, 0.010346724651753902 ]
[ -0.003865378675982356, -0.009724232368171215, -0.03605017811059952, -0.013016371056437492, -0.004186081700026989, 0.013055178336799145, 0.0274132639169693, 0.005304883234202862, -0.020491184666752815, 0.010586554184556007, -0.02866915427148342, 0.04243270307779312, 0.005246729589998722, -0.019282151013612747, -0.04370484501123428, -0.014766440726816654, -0.011817213147878647, 0.016843222081661224, 0.03158165514469147, 0.009293140843510628, -0.014714890159666538, 0.01914026401937008, 0.023360855877399445, 0.013515926897525787, -0.012401017360389233, -0.022051265463232994, -0.02354888804256916, -0.016026338562369347, 0.03709167242050171, -0.0818556621670723, -0.06682626157999039, -0.03599417954683304, 0.031134985387325287, 0.026558661833405495, -0.025661030784249306, -0.030638741329312325, -0.02288280986249447, 0.013524917885661125, -0.042404498904943466, 0.02903575263917446, -0.018381789326667786, -0.015797683969140053, -0.0008970143389888108, 0.022112460806965828, 0.0013105467660352588, 0.016817573457956314, -0.020850591361522675, -0.0055482895113527775, -0.01869933307170868, 0.00636401679366827, -0.0032474251929670572, -0.018530577421188354, -0.029680972918868065, -0.0006186183891259134, -0.014318958856165409, -0.027454711496829987, -0.031467240303754807, 0.012234408408403397, 0.03493281826376915, -0.007102607749402523, 0.053883146494627, -0.00012798966781701893, -0.01331187691539526, -0.027727322652935982, 0.0016745555913075805, -0.026362646371126175, -0.01444711908698082, 0.019055813550949097, 0.004269709344953299, -0.011209298856556416, 0.04476090148091316, 0.02522463910281658, -0.008337642066180706, -0.03542439639568329, 0.05110166221857071, 0.008640507236123085, -0.019318291917443275, -0.01313791237771511, 0.009675309993326664, -0.011961863376200199, -0.030375340953469276, 0.027394890785217285, 0.05194281414151192, -0.026657888665795326, 0.015932492911815643, -0.02602550759911537, 0.0009660886134952307, 0.024939797818660736, -0.029982609674334526, -0.029204584658145905, -0.029223093762993813, 0.013794558122754097, -0.015291459858417511, -0.013419494032859802, -0.10230005532503128, 0.011093446984887123, 0.03246740624308586, 0.004426788538694382, -0.009559612721204758, 0.8356597423553467, -0.02563609555363655, 0.036749422550201416, 0.01259591057896614, -0.0054135071113705635, 0.011710899882018566, 0.0015603211941197515, -0.018703492358326912, -0.03607294708490372, 0.03334948420524597, -0.03427056223154068, 0.019297590479254723, 0.022431988269090652, 0.00013619121455121785, 0.05228773131966591, 0.02755938470363617, -0.025013457983732224, -0.002329961396753788, 0.03228120133280754, 0.022613517940044403, 0.026503538712859154, -0.024505095556378365, 0.00019348385103512555, -0.03474242240190506, 0.0232311449944973, 0.01014286931604147, -0.12014301866292953, 0.006311164703220129, -7.70234518384245e-33, 0.045342378318309784, -0.007628567982465029, 0.017164291813969612, -0.007803162559866905, 0.025477342307567596, -0.032679155468940735, 0.0047679864801466465, -0.015684617683291435, -0.009219213388860226, 0.00018213721341453493, -0.011129233986139297, 0.017768042162060738, 0.03511885926127434, -0.019342929124832153, 0.0659509152173996, 0.03239631652832031, -0.03586774319410324, 0.0005994365783408284, 0.011706494726240635, -0.0037484883796423674, 0.04062284529209137, 0.010776042006909847, -0.012131479568779469, 0.01859649270772934, 0.035560913383960724, 0.021396106109023094, -0.012383283115923405, -0.00032117703813128173, 0.014854997396469116, -0.03871066868305206, -0.020517434924840927, 0.039866335690021515, 0.015667490661144257, -0.03721505030989647, -0.015748314559459686, -0.04709785804152489, 0.02553880214691162, 0.023043673485517502, -0.03770912066102028, -0.09297465533018112, -0.004160819575190544, -0.010241454467177391, -0.043065764009952545, -0.04719027504324913, 0.0012537240982055664, 0.008032645098865032, 0.05830980837345123, 0.05099476873874664, -0.00433910358697176, -0.01797098107635975, -0.024596335366368294, -0.027745505794882774, -0.00844621006399393, 0.0036667040549218655, 0.0010075619211420417, 0.04189639538526535, 0.03451663628220558, 0.005292997695505619, 0.031586818397045135, 0.026437219232320786, 0.006863815244287252, -0.018929926678538322, 0.011577541939914227, 0.010540888644754887, -0.018065469339489937, -0.03130774945020676, 0.0371897928416729, -0.034162331372499466, 0.02233167178928852, 0.010519983246922493, -0.03124297596514225, -0.0029991327319294214, -0.04170854762196541, -0.01081950031220913, -0.01581920124590397, -0.020920706912875175, 0.03943270072340965, 0.017427628859877586, -0.06074007973074913, 0.053048986941576004, 0.04023628681898117, -0.005163790658116341, -0.005974386818706989, -0.032657887786626816, 0.014960343018174171, 0.009548787027597427, 0.0105717359110713, -0.03679642453789711, -0.0014512896304950118, 0.025613658130168915, 0.0391000397503376, 0.03851256147027016, 0.005779128521680832, -0.02702847681939602, -0.02498425357043743, 7.728763684693212e-33, -0.007478904910385609, -0.009375345893204212, -0.003134277882054448, 0.015511990524828434, 0.0006443319143727422, 0.020928164944052696, -0.0037472809199243784, 0.0002535791718401015, -0.04912908375263214, 0.010727458633482456, -0.008816449902951717, -0.023598868399858475, -0.012182636186480522, -0.001872001332230866, 0.03470967710018158, -0.03711850196123123, 0.00802463199943304, 0.06120012328028679, 0.019725285470485687, 0.023058384656906128, 0.03601234033703804, 0.033241380006074905, 0.0023089307360351086, -0.0004366593493614346, 0.011907662265002728, 0.034410204738378525, -0.026968294754624367, 0.04348595812916756, -0.012338725849986076, 0.0009218148770742118, 0.004141461104154587, -0.023761790245771408, -0.004403144586831331, 0.01758314110338688, -0.07141608744859695, -0.004042632412165403, 0.01899491436779499, -0.040911439806222916, 0.009182121604681015, 0.018149524927139282, 0.0164411049336195, 0.014580143615603447, -0.03705594316124916, 0.014554405584931374, 0.013740808703005314, -0.012308427132666111, 0.02327902242541313, 0.014905907213687897, -0.010934091173112392, -0.03425268083810806, 0.024903304874897003, 0.006416399031877518, -0.028730396181344986, 0.02586629055440426, -0.027206433936953545, 0.027437129989266396, -0.04714922606945038, 0.02426554635167122, 0.002551840618252754, 0.02146359346807003, -0.025892330333590508, -0.015708668157458305, -0.02303345501422882, -0.012098056264221668, -0.03470923751592636, -0.03973819687962532, -0.0100266607478261, -0.004959649406373501, 0.02011733129620552, -0.022483346983790398, -0.03612489625811577, 0.01975778490304947, 0.031415242701768875, 0.05342131853103638, -0.015077268704771996, -0.026089398190379143, -0.04330253228545189, 0.025962749496102333, -0.015628216788172722, 0.016147319227457047, 0.044565971940755844, 0.012611029669642448, 0.0024740775115787983, 0.00621871929615736, 0.0388665646314621, 0.041793160140514374, 0.026449350640177727, 0.019909976050257683, 0.002351640723645687, -0.029926639050245285, -0.010915989056229591, 0.043502792716026306, 0.03705204278230667, 0.04471703618764877, -0.0008232363034039736, -1.3000684973007992e-8, 0.011022334918379784, 0.041091546416282654, -0.007698302622884512, -0.03833520784974098, 0.03397432714700699, 0.022626735270023346, -0.0028747557662427425, 0.04311899095773697, -0.07433958351612091, -0.026641104370355606, 0.05440806224942207, -0.021535728126764297, -0.023451320827007294, 0.012325693853199482, 0.029578346759080887, -0.03127186745405197, 0.009342598728835583, -0.01135922595858574, 0.02035372331738472, 0.0446978323161602, 0.014865417964756489, 0.03571276366710663, 0.01050244178622961, -0.00175190600566566, -0.002091025933623314, -0.013392984867095947, 0.024984711781144142, -0.06266678124666214, -0.005427224095910788, -0.004696700256317854, -0.03660115599632263, -0.03907954320311546, 0.0021866927854716778, 0.033900678157806396, -0.01554066315293312, -0.00502478051930666, -0.0013056553434580564, 0.020356198772788048, 0.003414164064452052, -0.015705406665802002, 0.007605231367051601, -0.04420465603470802, -0.05941931903362274, -0.04616343975067139, -0.052170198410749435, 0.0005655132117681205, 0.016865545883774757, -0.00953396875411272, 0.002741198055446148, -0.015341361984610558, 0.014348172582685947, -0.021788181737065315, 0.011432956904172897, 0.02689102292060852, 0.025071674957871437, -0.03236698731780052, 0.004079814534634352, -0.050970617681741714, -0.011883985251188278, 0.02022058703005314, 0.007285590283572674, -0.0012824159348383546, -0.028842339292168617, -0.015270757488906384 ]
kaggle-digit-recognizer-mahout-random-forest-attempt
https://markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-mahout-random-forest-attempt
false
2012-10-27 22:03:30
Mahout: Using a saved Random Forest/DecisionTree
[ "machine-learning-2", "mahout" ]
[ "Machine Learning" ]
One of the things that I wanted to do while http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-mahout-random-forest-attempt/[playing around with random forests] using http://mahout.apache.org/[Mahout] was to save the random forest and then use use it again which is something Mahout does cater for. It was actually much easier to do this than I'd expected and assuming that we already have a +++<cite>+++https://github.com/apache/mahout/blob/trunk/core/src/main/java/org/apache/mahout/classifier/df/DecisionForest.java[DecisionForest]+++</cite>+++ built we'd just need the following code to save it to disc: [source,java] ---- int numberOfTrees = 1; Data data = loadData(...); DecisionForest forest = buildForest(numberOfTrees, data); String path = "saved-trees/" + numberOfTrees + "-trees.txt"; DataOutputStream dos = new DataOutputStream(new FileOutputStream(path)); forest.write(dos); ---- When I was looking through the API for how to load that file back into memory again it seemed like all the public methods required you to be using Hadoop in some way which I thought was going to be a problem as I'm not using it. For example the signature for +++<cite>+++DecisionForest.load+++</cite>+++ reads like this: [source,java] ---- import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; public static DecisionForest load(Configuration conf, Path forestPath) throws IOException { } ---- As it turns out though you can just pass an empty configuration and a normal file system path and the forest shall be loaded: [source,java] ---- int numberOfTrees = 1; Configuration config = new Configuration(); Path path = new Path("saved-trees/" + numberOfTrees + "-trees.txt"); DecisionForest forest = DecisionForest.load(config, path); ---- Much easier than expected!
null
null
[ 0.007569319102913141, -0.023579079657793045, -0.03370056301355362, 0.047163452953100204, 0.07765156030654907, 0.020424455404281616, 0.02534596621990204, 0.01715814135968685, -0.004601478110998869, -0.016734613105654716, -0.00670516537502408, -0.019846824929118156, -0.09064235538244247, 0.004949529655277729, -0.03276611492037773, 0.06155185028910637, 0.07146251201629639, -0.01655355840921402, 0.01970417983829975, 0.00275740516372025, 0.003085534321144223, 0.04116049036383629, -0.0048085954040288925, 0.04701019451022148, 0.039083756506443024, 0.011405189521610737, -0.01283977646380663, 0.008441186510026455, -0.04219401627779007, -0.007116192951798439, 0.04174746945500374, 0.001493876101449132, 0.017184415832161903, -0.008784002624452114, 0.00137094606179744, -0.004939455538988113, -0.029645508155226707, -0.014859057031571865, 0.028565850108861923, 0.04444177821278572, -0.047076549381017685, 0.039748501032590866, -0.02362695150077343, 0.020140517503023148, -0.03992604464292526, 0.006047528702765703, -0.004961377941071987, 0.008442739024758339, -0.0012507151113823056, 0.011065816506743431, -0.06742282211780548, 0.034431155771017075, -0.014900973066687584, -0.01132360938936472, 0.021298345178365707, 0.05355618894100189, 0.03447294980287552, -0.06361645460128784, 0.053936488926410675, -0.029564645141363144, -0.004382308106869459, -0.01856619492173195, 0.015018859878182411, 0.041303202509880066, -0.02247283048927784, -0.048952337354421616, -0.024931201711297035, 0.03965633362531662, -0.044771745800971985, -0.008198557421565056, -0.013113860040903091, 0.004090575501322746, -0.020547131076455116, -0.013830738142132759, 0.004319704137742519, -0.05761849507689476, -0.0056188455782830715, 0.061235956847667694, -0.004465539939701557, 0.04910419508814812, -0.03220038488507271, -0.01413782685995102, 0.0217873677611351, 0.005462664179503918, 0.012681166641414165, -0.043278247117996216, -0.01681322231888771, -0.03292926028370857, -0.056617703288793564, 0.05430341511964798, -0.0031298992689698935, -0.04924999922513962, -0.014150422066450119, 0.003259137971326709, 0.0038995847571641207, 0.02122984454035759, 0.01760885864496231, -0.014743813313543797, 0.011546153575181961, 0.010213634930551052, -0.050849128514528275, 0.002164818113669753, 0.012434592470526695, 0.04288238286972046, -0.0759517252445221, -0.0008889429154805839, -0.036445219069719315, -0.03548673167824745, 0.002842721063643694, -0.010983429849147797, -0.012391077354550362, 0.011323316022753716, -0.01237521506845951, -0.01980574056506157, -0.06576690822839737, 0.0654248297214508, 0.02350502833724022, -0.03273416683077812, -0.010627045296132565, 0.050822287797927856, 0.0513199120759964, 0.04637036845088005, 0.010255921632051468, 0.07481903582811356, -0.0040735467337071896, 0.005672855768352747, 0.014896748587489128, 0.038863033056259155, -0.0290069580078125, -0.08160963654518127, 0.012634132988750935, 0.039156198501586914, 0.0004652935895137489, -0.005605986807495356, -0.01004732958972454, -0.004890089388936758, -0.008620682172477245, 0.016285555437207222, 0.06292864680290222, -0.004553812090307474, -0.030077693983912468, -0.03322625160217285, -0.00885334424674511, -0.013143729418516159, 0.02145765721797943, 0.020226996392011642, -0.0006510222447104752, -0.03682927414774895, -0.03427020460367203, 0.031647875905036926, 0.00861951895058155, 0.06056249514222145, 0.07006819546222687, -0.039263248443603516, -0.009495005942881107, 0.12066101282835007, 0.030394863337278366, 0.007408998906612396, -0.007472698576748371, 0.03323880955576897, 0.04025541618466377, 0.05191074311733246, 0.015878908336162567, 0.023663872852921486, -0.01500927098095417, -0.018225014209747314, 0.013763184659183025, 0.026374632492661476, -0.008847163058817387, 0.030095292255282402, -0.03880147635936737, -0.08493395894765854, 0.04553448408842087, -0.05091148614883423, -0.001722289132885635, 0.02887963503599167, 0.05810506269335747, 0.007082206662744284, 0.03981808200478554, 0.012564033269882202, -0.06790299713611603, 0.027952171862125397, 0.014104973524808884, 0.025452086701989174, 0.0032079736702144146, 0.011647289618849754, 0.06962890177965164, 0.03739608824253082, 0.020228063687682152, 0.007939466275274754, -0.06643156707286835, -0.08455824106931686, -0.012929520569741726, -0.004241929389536381, 0.06735184043645859, -0.010721413418650627, 0.005282547324895859, 0.06048581749200821, 0.0175271425396204, 0.03172501176595688, 0.027231624349951744, -0.016431929543614388, 0.015972625464200974, -0.09007120132446289, -0.05739159509539604, 0.039601851254701614, 0.0342908576130867, -0.039817869663238525, -0.027998903766274452, -0.009070266969501972, -0.019191376864910126, 0.012778065167367458, 0.02151249349117279, -0.003927428275346756, 0.04033641517162323, 0.04156319424510002, 0.017971860244870186, -0.019793394953012466, 0.055152494460344315, -0.03779491409659386, 0.02437000349164009, 0.0067815943621098995, -0.02919934131205082, -0.0156748928129673, 0.018191248178482056, 0.12320749461650848, 0.04372590035200119, -0.005752891767770052, -0.035864632576704025, 0.0340857170522213, -0.037455666810274124, -0.059942007064819336, -0.0026162154972553253, 0.005539332516491413, 0.01653245836496353, -0.0004377898294478655, -0.04540875554084778, -0.018539464101195335, 0.019175121560692787, -0.02441638708114624, 0.028732767328619957, 0.07028526067733765, -0.047958821058273315, 0.02361014485359192, 0.03290918841958046, -0.049713365733623505, 0.00045091044739820063, -0.02049250528216362, -0.053795233368873596, -0.01539978664368391, 0.0039419205859303474, -0.005336223170161247, 0.05359451845288277, -0.020804673433303833, -0.04153353348374367, -0.029262444004416466, -0.03564196825027466, 0.0204839576035738, 0.040487974882125854, 0.06930047273635864, 0.004363532643765211, 0.03626557067036629, -0.036616161465644836, -0.003510676324367523, -0.01804986596107483, -0.038873594254255295, -0.005180877633392811, -0.0016255300724878907, 0.014558029361069202, 0.0656149759888649, 0.006085879635065794, -0.0024791934993118048, 0.052061114460229874, 0.01716344803571701, -0.00580037385225296, -0.01763569749891758, 0.042837321758270264, 0.024258209392428398, -0.027282919734716415, -0.028822192922234535, -0.00755150755867362, 0.02656301110982895, -0.02955830842256546, -0.03205901011824608, 0.018695037811994553, -0.03501981869339943, 0.05056294426321983, -0.043174199759960175, -0.0533004067838192, 0.00939044076949358, 0.04073048010468483, 0.04274401813745499, -0.00126513687428087, 0.015079501084983349, 0.08249355852603912, 0.0077123926021158695, -0.006092851981520653, 0.023713571950793266, 0.027238158509135246, 0.06090642511844635, 0.010470107197761536, 0.011479411274194717, 0.051982052624225616, -0.01616017334163189, -0.027278827503323555, -0.011173699982464314, -0.0007405554060824215, -0.0033355229534208775, -0.27040529251098633, 0.018798794597387314, -0.0005291986162774265, -0.04979690536856651, -0.0008521974668838084, 0.0020896224305033684, 0.011167674325406551, -0.02871127240359783, -0.017823658883571625, 0.026726387441158295, -0.02535664476454258, -0.03897187113761902, -0.03111119382083416, 0.0531877800822258, -0.0051455749198794365, 0.014744131825864315, 0.013931005261838436, -0.028901826590299606, 0.018752144649624825, 0.04500143602490425, -0.015637677162885666, -0.04493806138634682, -0.0055692302994430065, 0.04199770465493202, 0.029690109193325043, 0.04488041251897812, -0.08705715835094452, 0.06195659935474396, -0.04026063531637192, -0.008405325002968311, 0.02136870101094246, -0.046826619654893875, 0.01941750757396221, -0.0014199932338669896, -0.015258114784955978, -0.02414722368121147, 0.03499966114759445, 0.037402234971523285, -0.014367812313139439, 0.026738759130239487, -0.027179615572094917, -0.06749402731657028, -0.03820565715432167, -0.015779908746480942, 0.07178855687379837, -0.01755821891129017, -0.08497069776058197, -0.003314379835501313, -0.021429944783449173, 0.059810563921928406, -0.02926783636212349, -0.0364324152469635, -0.00993554200977087, 0.019779685884714127, -0.012467162683606148, -0.025230014696717262, 0.027658605948090553, 0.01240613404661417, -0.02957753650844097, -0.026737816631793976, 0.01059316098690033, -0.04395407438278198, 0.0024546687491238117, -0.052907127887010574, -0.014002247713506222, -0.07747703045606613, -0.047809965908527374, 0.012953851372003555, 0.07399813830852509, 0.028096970170736313, -0.026236427947878838, 0.01727641001343727, 0.012334436178207397, -0.10364647209644318, -0.014024955220520496, -0.05185365304350853, -0.04717810079455376, -0.023834839463233948, -0.02196316421031952, 0.04597338289022446, -0.037836119532585144, -0.029451819136738777, 0.03631597384810448, -0.005484938621520996, 0.01004063617438078, -0.023874901235103607, 0.020533861592411995, -0.007461141794919968, 0.003927863668650389, 0.012608460150659084, 0.05055054649710655, -0.018213830888271332, -0.01875448226928711, -0.03325764089822769, 0.01570560410618782, 0.03479979932308197, 0.020944468677043915, -0.012465056031942368, 0.02810644917190075, 0.03720239922404289, 0.023768140003085136, -0.023385852575302124, 0.010164028964936733, -0.024887854233384132, -0.013091114349663258, 0.002670574001967907, -0.06800352036952972, 0.03459744155406952, 0.023036470636725426, 0.05701117217540741, 0.010390291921794415, 0.0008765910752117634, 0.029057495296001434, -0.03264706954360008, -0.03990897163748741, -0.002363073406741023, 0.003101381938904524, 0.0032468829303979874, 0.029675155878067017, -0.019629009068012238, -0.043124642223119736, 0.00039159905281849205, 0.02608618699014187, -0.06428048014640808, -0.019576935097575188, -0.01691674068570137, -0.020633123815059662, -0.020830651745200157, -0.024123981595039368, -0.008331234566867352, -0.01681646704673767, 0.029856542125344276, 0.04500678926706314, -0.016401413828134537, -0.00624041398987174, -0.053207892924547195, -0.026766790077090263, -0.032213784754276276, 0.026851054280996323, -0.012881358154118061, -0.01801224984228611, -0.0079088369384408, 0.008309299126267433, 0.026958899572491646, 0.061284612864255905, -0.01305667869746685, 0.022855566814541817, 0.010451052337884903, 0.010428149253129959, -0.0449758805334568, 0.012789616361260414, -0.05289658159017563, 0.02079002372920513, -0.03769059106707573, -0.06210148707032204, -0.024981310591101646, 0.02658241242170334, -0.031160438433289528, -0.015894806012511253, -0.04190652817487717, 0.0452474020421505, -0.06047886237502098, -0.015454542823135853, -0.027334382757544518, -0.004931841045618057, 0.06556013226509094, -0.018841655924916267, 0.04758826270699501, -0.016976287588477135, -0.015504051931202412, 0.03937814384698868, -0.011018035002052784, -0.050788942724466324, 0.020271845161914825, -0.01859203726053238, 0.002331441268324852, 0.025427641347050667, 0.015688175335526466, 0.023033514618873596, 0.02393304742872715, -0.033893145620822906, 0.003890392603352666, -0.0004390760441310704, -0.01760547049343586, 0.06988535076379776, 0.002254675840958953, -0.02422584407031536, 0.010906296782195568, -0.012963148765265942, -0.022763986140489578, -0.017631875351071358, 0.00011844567052321509, 0.012347358278930187, 0.04701552912592888, -0.016608059406280518, -0.08489017933607101, 0.023336252197623253, -0.03049394115805626, 0.00884011760354042, 0.031051112338900566, -0.023224014788866043, -0.010843215510249138, -0.02735702507197857, 0.03696288540959358, 0.057353902608156204, -0.05100217089056969, -0.0027988918591290712, 0.022909559309482574, 0.01140535157173872, -0.00037221197271719575, -0.023177502676844597, -0.055691178888082504, -0.022172993049025536, -0.03476015105843544, 0.017097173258662224, -0.04797802120447159, -0.03507206216454506, -0.015708403661847115, 0.00884455069899559, -0.0029045483097434044, 0.004567649215459824, 0.007621070835739374, -0.010649537667632103, -0.03977067768573761, -0.025915805250406265, 0.03558386489748955, 0.01425609178841114, -0.0025430393870919943, 0.018816519528627396, -0.017995784059166908, 0.004915759898722172, -0.023822207003831863, 0.03255094587802887, 0.03464541211724281, -0.014909965917468071, -0.0019976655021309853, -0.02595747448503971, 0.03255144879221916, 0.018680481240153313, 0.0681542232632637, 0.015772562474012375, 0.02991429716348648, -0.03373618423938751, -0.03126511722803116, -0.026362188160419464, 0.002344117034226656, -0.04844221472740173, -0.021874358877539635, 0.021546678617596626, 0.06068617105484009, -0.015155913308262825, 0.0251955296844244, -0.006367823109030724, -0.005974980071187019, 0.07793381065130234, -0.011479176580905914, -0.07480011135339737, -0.012827198021113873, -0.044659193605184555, 0.01759991981089115, 0.027481859549880028, 0.024993229657411575, -0.04535010829567909, 0.05228826031088829, 0.04257429018616676, -0.005649035330861807, 0.01981615088880062, -0.025675851851701736, 0.044148027896881104, -0.04954224079847336, -0.036385904997587204, -0.08837667852640152, -0.02023124322295189, 0.05133219063282013, 0.003584290388971567, -0.028198471292853355, -0.042448364198207855, -0.042567767202854156, 0.023685898631811142, -0.077571801841259, -0.03979574143886566, 0.04399588704109192, -0.0068034338764846325, 0.013176991604268551, 0.002335451077669859, -0.03132304921746254, 0.035982754081487656, 0.057909660041332245, -0.035237159579992294, -0.02693226747214794, -0.04644365981221199, 0.054379407316446304, 0.03289351239800453, 0.02637515589594841, 0.0015744606498628855, -0.01591867208480835, 0.07116057723760605, 0.0037802427541464567, 0.03546726703643799, 0.026807578280568123, -0.01710863597691059, 0.050397858023643494, 0.04052367061376572, -0.020110348239541054, -0.010062218643724918, 0.011797494255006313, -0.0017838168423622847, -0.054883237928152084, 0.01333668828010559, -0.004236867651343346, 0.008591876365244389, -0.020544925704598427, 0.04719791188836098, 0.035108890384435654, -0.04914790019392967, -0.04591568559408188, 0.021750053390860558, -0.047773104161024094, 0.000939912919420749, -0.019288260489702225, 0.010919380933046341, -0.045051686465740204, 0.05520201846957207, -0.0024817234370857477, 0.01976158656179905, 0.08606233447790146, -0.0037745179142802954, -0.02648240514099598, 0.02026837319135666, 0.07283556461334229, 0.0872955247759819, 0.005607543047517538, 0.014133010990917683, 0.054186876863241196, -0.012109914794564247, -0.04177332669496536, -0.007436910178512335, -0.022306133061647415, -0.03062119148671627, -0.03742241859436035, 0.03315431624650955, 0.07182309031486511, 0.0071365912444889545, 0.06877452880144119, -0.04107112064957619, 0.007748926989734173, 0.029828082770109177, 0.03310232236981392, 0.01924964226782322, 0.032262105494737625, -0.006187319289892912, 0.022250596433877945, -0.02726762928068638, -0.03632567450404167, 0.014164554886519909, 0.031028512865304947, -0.00780639611184597, 0.03978561609983444, -0.00959732849150896, 0.002511553931981325, 0.044803593307733536, 0.04292086884379387, 0.06381542235612869, -0.019059713929891586, -0.008063901215791702, -0.01616019569337368, 0.04299715906381607, 0.005442192777991295, 0.0242761317640543, -0.020969592034816742, -0.013923048041760921, 0.00870676152408123, -0.0411481149494648, -0.01715311035513878, -0.005345840472728014, -0.007020376622676849, 0.0030140478629618883, -0.04640151560306549, 0.024666467681527138, 0.024102846160531044, -0.007175534963607788, -0.05473192036151886, -0.03453086316585541, -0.02595917321741581, -0.04019860923290253, -0.07040302455425262, 0.0002663568884599954, 0.0006323236739262938, -0.012233796529471874, -0.029822202399373055, -0.018582336604595184, -0.04475543648004532, -0.013893951661884785, 0.018129467964172363, -0.05350160598754883, -0.024652305990457535, 0.020235344767570496, 0.025698667392134666, 0.020259404554963112, 0.01671629771590233, 0.042261507362127304, 0.0023266959469765425, -0.029975133016705513, -0.02299300581216812, 0.0010582043323665857, 0.05710795894265175, 0.005523156374692917, -0.01983525976538658, -0.08234930783510208, 0.04055451974272728, 0.021124139428138733, 0.0013868658570572734, -0.0624975822865963, 0.0010610832832753658, 0.04850657284259796, -0.032057397067546844, 0.050282083451747894, -0.0002408008585916832, -0.0216777753084898, -0.03232070058584213, -0.037896882742643356, -0.019536087289452553, -0.005461591295897961, 0.07677613198757172, -0.0021852983627468348, 0.07922995835542679, 0.032411158084869385, -0.027248160913586617, -0.05624900013208389, -0.020470552146434784, 0.00832471251487732, 0.011673985980451107, -0.053008124232292175, -0.03791804239153862, -0.04705143719911575, -0.08202964812517166, -0.004243430215865374, 0.02012207731604576, -0.03395964577794075, -0.0280373003333807, -0.02990432269871235, 0.016715845093131065, -0.050056036561727524, 0.017172524705529213, -0.05231423303484917, 0.017432881519198418, -0.019980330020189285, -0.0408310703933239, -0.011330345645546913, 0.036328960210084915, 0.01128273457288742, -0.0014783093938603997, 0.028166398406028748, -0.044461317360401154, -0.010147054679691792, 0.005197076592594385, 0.022659199312329292, 0.062422510236501694, -0.0076879034750163555, -0.029395055025815964 ]
[ -0.08594046533107758, -0.04069185629487038, -0.03022473119199276, -0.04094700515270233, 0.06084437295794487, -0.03494198992848396, -0.036976758390665054, 0.005207777488976717, -0.006769762374460697, -0.004228669684380293, 0.01948471926152706, -0.05454622954130173, -0.004664120730012655, -0.0348888523876667, 0.08933373540639877, 0.04188444837927818, -0.003135482780635357, -0.028439290821552277, -0.037018995732069016, 0.030512625351548195, 0.03206910938024521, -0.02666941098868847, -0.04168199375271797, -0.05751478299498558, 0.009665115736424923, 0.013589777052402496, 0.022232256829738617, -0.037019554525613785, -0.03618570789694786, -0.2092828005552292, 0.03297356516122818, -0.03471962735056877, 0.05365921929478645, -0.018381722271442413, -0.02100716345012188, 0.032135628163814545, 0.049259960651397705, 0.024063989520072937, -0.019187193363904953, 0.037888817489147186, 0.016326291486620903, 0.008075781166553497, -0.03728184849023819, -0.020993856713175774, 0.02605418488383293, -0.014733142219483852, 0.004241695627570152, -0.02991572767496109, -0.010729868896305561, 0.017343372106552124, -0.057445868849754333, -0.024973969906568527, -0.012478201650083065, -0.03187451884150505, 0.00716850021854043, 0.03199685737490654, 0.05245207995176315, 0.0657477155327797, 0.03198825567960739, 0.020073087885975838, 0.0436302125453949, -0.000516430358402431, -0.14725123345851898, 0.060645606368780136, 0.026235047727823257, 0.044511307030916214, -0.025793783366680145, -0.053128618746995926, -0.005131001118570566, 0.08095868676900864, -0.004934809170663357, 0.01811162941157818, -0.046882402151823044, 0.05021388828754425, 0.013488804921507835, -0.028719283640384674, 0.012038893066346645, 0.038299866020679474, 0.03940611332654953, -0.011758696287870407, -0.0755908340215683, -0.014273728244006634, -0.034748319536447525, 0.014362535439431667, -0.054851654917001724, 0.008250724524259567, -0.04335036873817444, 0.03079540655016899, 0.017908066511154175, 0.037156786769628525, 0.060756999999284744, -0.004201778210699558, 0.04107851907610893, 0.0016011018306016922, -0.0951143428683281, 0.017146022990345955, 0.013528930954635143, 0.020916761830449104, -0.023139145225286484, 0.41024285554885864, -0.047201670706272125, -0.033146414905786514, 0.04066945239901543, 0.0006012643571011722, -0.03449101001024246, -0.013218514621257782, -0.02629435807466507, -0.03940968960523605, 0.00504602026194334, -0.017114827409386635, 0.04437187686562538, -0.0477236844599247, 0.0673491358757019, -0.015817617997527122, -0.0036399010568857193, 0.003521557664498687, 0.024451617151498795, 0.0483318492770195, -0.03990546241402626, 0.044459763914346695, -0.023536235094070435, 0.008339116349816322, 0.03566910699009895, -0.0013187328586354852, 0.06726346909999847, 0.005456084385514259, 0.02364952489733696, 0.05160022899508476, 0.07109895348548889, 0.032637063413858414, 0.02873898297548294, -0.07325226068496704, -0.07695227861404419, -0.01937219128012657, 0.010541289113461971, -0.023479290306568146, 0.047041233628988266, -0.008341284468770027, -0.0010654894867911935, 0.005359831731766462, -0.0012832758948206902, 0.02897743694484234, 0.0450221449136734, -0.0045418706722557545, -0.0470271036028862, 0.11661810427904129, 0.016816452145576477, -0.025001130998134613, -0.016011908650398254, -0.06588532775640488, 0.03146897628903389, 0.022831005975604057, -0.01469277124851942, -0.06422167271375656, 0.02163054794073105, 0.028893405571579933, 0.06245386227965355, -0.019115593284368515, -0.04435103386640549, 0.005563580431044102, -0.010691655799746513, -0.031991809606552124, 0.010767795145511627, 0.01075349748134613, 0.028695199638605118, -0.07728040218353271, -0.014181663282215595, -0.000009685858458396979, 0.005391672719269991, -0.033835962414741516, -0.001113374251872301, 0.009091907180845737, 0.022918641567230225, 0.005227998830378056, 0.022547418251633644, -0.06680430471897125, -0.027863331139087677, -0.005530784372240305, 0.015916017815470695, 0.004825899843126535, -0.02385490946471691, 0.018260512501001358, -0.008778039366006851, -0.017898302525281906, -0.017958901822566986, -0.07865745574235916, -0.07865381240844727, 0.023748204112052917, -0.037534818053245544, -0.0029015925247222185, -0.029845772311091423, -0.043990395963191986, -0.014090164564549923, 0.04736284911632538, 0.006334124598652124, -0.021828459575772285, 0.033440157771110535, 0.0006566758966073394, -0.006407005712389946, -0.03847813233733177, -0.02188749425113201, 0.038318436592817307, -0.0331604927778244, -0.008316047489643097, -0.05249986797571182, 0.006070583593100309, 0.05040151625871658, -0.052459876984357834, 0.07080734521150589, 0.00850671250373125, -0.01113150641322136, -0.021604526787996292, -0.014354566112160683, 0.0470716767013073, -0.05302710086107254, 0.007843952625989914, -0.013216684572398663, -0.007599874399602413, 0.0394475981593132, 0.03782225400209427, -0.034462686628103256, -0.05733653903007507, -0.016395630314946175, -0.3520374894142151, -0.05462111905217171, -0.003435477614402771, -0.01585294120013714, 0.004925562534481287, -0.0675622969865799, -0.0046539283357560635, -0.01155160740017891, -0.026289884001016617, 0.00849867518991232, 0.11578555405139923, -0.06059371680021286, 0.02583296038210392, -0.03647226095199585, -0.007024229038506746, 0.041130807250738144, -0.02448267862200737, -0.03728681057691574, -0.03625938296318054, 0.028419286012649536, 0.006358782760798931, 0.0012326340656727552, 0.031840723007917404, -0.06763575226068497, -0.01029080431908369, -0.03064020164310932, 0.10235848277807236, 0.013101160526275635, 0.07649461179971695, -0.04085840284824371, 0.0421418659389019, 0.017821677029132843, -0.01979869045317173, -0.09581426531076431, 0.0018053592648357153, -0.05669660493731499, -0.03501385450363159, 0.023470822721719742, -0.00261318264529109, -0.0015927464701235294, -0.019870290532708168, 0.04609629511833191, -0.04904487729072571, -0.0492580384016037, -0.03411494195461273, 0.006023058667778969, -0.0473480150103569, -0.022899676114320755, -0.028692692518234253, 0.018019767478108406, -0.03131277859210968, 0.02768867276608944, 0.03802464157342911, 0.008616872131824493, 0.01587650366127491, -0.02533615194261074, -0.04551218822598457, -0.0035273998510092497, 0.017232198268175125, -0.01222978439182043, 0.041635993868112564, 0.02047687955200672, 0.024412162601947784, -0.0802895799279213, -0.003897553076967597, -0.014005235396325588, -0.026673832908272743, 0.009448975324630737, 0.050689492374658585, -0.047242481261491776, 0.0007152853067964315, 0.0769866406917572, -0.005564686376601458, 0.011461076326668262, 0.06900482624769211, 0.05404113978147507, 0.00601466977968812, 0.0010617990046739578, 0.01565886102616787, -0.0022310810163617134, 0.05703458935022354, -0.015991277992725372, 0.038314156234264374, 0.00017810604185797274, 0.015426825731992722, 0.08719242364168167, 0.00727980537340045, -0.002744310302659869, 0.05337259918451309, 0.011782966554164886, -0.0020735955331474543, -0.00979550089687109, 0.018806539475917816, -0.04716777801513672, 0.09760674834251404, -0.008115052245557308, -0.25329479575157166, 0.040475837886333466, 0.05337393283843994, 0.05626223236322403, 0.002972962334752083, 0.010152735747396946, 0.03281168267130852, -0.026245934888720512, 0.044080354273319244, 0.014784636907279491, -0.004646725952625275, 0.04744303598999977, 0.021213727071881294, -0.019249215722084045, 0.05178363248705864, -0.005240707658231258, 0.011945972219109535, 0.0395650789141655, 0.041127853095531464, -0.02660437487065792, 0.005974710453301668, -0.041025467216968536, 0.16207224130630493, 0.0062468769028782845, -0.014243843033909798, 0.05917372927069664, -0.008698010817170143, 0.0008533907821401954, 0.08053289353847504, 0.01406556274741888, 0.038836557418107986, 0.01051807589828968, 0.08480948954820633, -0.020731916651129723, 0.05161143094301224, -0.0412365086376667, -0.000025524972443236038, 0.034251514822244644, 0.03194136545062065, -0.014763153158128262, -0.006485765799880028, -0.0014218989526852965, -0.025733212009072304, 0.030451146885752678, 0.08262327313423157, -0.03393501415848732, 0.015408449806272984, -0.04511287063360214, -0.07075826823711395, 0.03469430282711983, -0.015227078460156918, -0.049565959721803665, -0.01984596811234951, -0.02407700940966606, -0.00039529064088128507, 0.09718747437000275, 0.03107466921210289, -0.0259886272251606, -0.05680171027779579, 0.003134111175313592, 0.01692151091992855, -0.03865330293774605, 0.10731737315654755, -0.030867930501699448, 0.030472401529550552 ]
[ 0.0018808216555044055, 0.022042589262127876, -0.018153727054595947, 0.032359231263399124, 0.010130957700312138, -0.011134698055684566, -0.018499214202165604, 0.008427522145211697, -0.004698824603110552, 0.03961252421140671, -0.01924668624997139, 0.012506905011832714, 0.03296506404876709, -0.04501500353217125, -0.02382323332130909, -0.005246629007160664, -0.0264213215559721, 0.033158328384160995, 0.03579059615731239, 0.00008889190939953551, -0.014830805361270905, 0.054787978529930115, 0.009560754522681236, -0.028698554262518883, -0.01466284692287445, -0.013459810987114906, -0.05362065136432648, 0.006304474081844091, 0.004597709514200687, -0.1312815248966217, -0.02755599096417427, -0.014763740822672844, 0.022520551458001137, -0.00791682954877615, -0.028808798640966415, 0.0029229994397610426, -0.009304586797952652, 0.01006237231194973, -0.03405305743217468, 0.0168645977973938, 0.018973100930452347, -0.025122778490185738, 0.0320817232131958, -0.02123063988983631, -0.040535010397434235, -0.014096077531576157, -0.050462186336517334, 0.00014631496742367744, -0.006740270648151636, 0.017374679446220398, -0.0447002574801445, -0.03354774788022041, 0.0016411463730037212, -0.020244861021637917, 0.010014249943196774, -0.022573119029402733, 0.018940163776278496, 0.019413460046052933, -0.008007800206542015, -0.02603672631084919, 0.04713638126850128, 0.027483604848384857, -0.03318434953689575, -0.03931485861539841, 0.0026750683318823576, -0.037315405905246735, -0.001319045084528625, 0.00915007945150137, 0.05466335266828537, -0.006984406150877476, 0.008431762456893921, 0.040784236043691635, -0.006217595189809799, -0.02972216159105301, 0.0016225961735472083, 0.017336517572402954, -0.00660735135897994, 0.023471839725971222, 0.029840312898159027, -0.007887027226388454, -0.033691659569740295, 0.021367277950048447, -0.019413569942116737, -0.022712431848049164, 0.0022477218881249428, 0.00032216651015914977, -0.02071881853044033, 0.03909972310066223, 0.012110969983041286, -0.03175630792975426, -0.009906993247568607, -0.003932157531380653, -0.02635219879448414, 0.035961300134658813, -0.11185000091791153, 0.03172162175178528, 0.028868313878774643, 0.007437025662511587, -0.009555531665682793, 0.8057963848114014, -0.02739744260907173, 0.004205242730677128, 0.03854164108633995, 0.009744840674102306, 0.001953639555722475, -0.021563231945037842, -0.04268624633550644, -0.028176093474030495, 0.02735586278140545, -0.03159363195300102, 0.019306741654872894, 0.0005128023913130164, 0.024900473654270172, 0.06571369618177414, 0.04402672499418259, -0.0031140330247581005, 0.01658565178513527, -0.01757338084280491, -0.02431425452232361, 0.018216943368315697, -0.021067991852760315, -0.0200071781873703, -0.0018739050719887018, -0.006916189566254616, 0.029437167569994926, -0.1406409591436386, 0.004586652386933565, -7.001563941024174e-33, 0.05959444120526314, -0.04089180380105972, 0.0333578884601593, 0.01990506425499916, 0.0427069365978241, -0.04230557009577751, -0.0046767559833824635, -0.00841598305851221, 0.011380537413060665, -0.03188951686024666, -0.024680793285369873, -0.023005114868283272, 0.01846146397292614, -0.04445423558354378, 0.046394504606723785, -0.024171950295567513, -0.006146368570625782, -0.00256686401553452, 0.027580173686146736, 0.006092108320444822, 0.014417991042137146, 0.04400986060500145, -0.04292743653059006, 0.019566252827644348, 0.04151547700166702, 0.033189669251441956, 0.04063461720943451, -0.032338716089725494, 0.010285907424986362, -0.02490655519068241, 0.005305901635438204, 0.0036118614953011274, 0.002651148708537221, -0.056080013513565063, 0.011759717017412186, -0.058162227272987366, -0.05253973975777626, 0.01618262007832527, -0.06252141296863556, -0.0759381353855133, -0.031940724700689316, -0.01079361792653799, -0.012536764144897461, 0.002306311624124646, -0.04020804911851883, 0.017001856118440628, 0.014880222268402576, 0.06957699358463287, -0.009551094844937325, 0.033472031354904175, 0.007403078489005566, 0.015211280435323715, 0.02762816846370697, -0.005877806339412928, -0.01754181832075119, 0.05380178615450859, 0.0006220957147888839, 0.009689869359135628, -0.010682189837098122, 0.0524306558072567, -0.01362563669681549, -0.010036229155957699, 0.007997258566319942, 0.03374113515019417, -0.017506135627627373, 0.0006444377941079438, 0.03233212232589722, -0.04369613528251648, 0.04684166610240936, 0.03513206169009209, -0.01589842699468136, -0.0023753871209919453, -0.007358452305197716, -0.012033214792609215, -0.013277425430715084, -0.028493184596300125, 0.0545353926718235, 0.003168930998072028, -0.0180642232298851, 0.025312310084700584, 0.0268334299325943, -0.006152257788926363, -0.012338999658823013, -0.03771499544382095, 0.01746528409421444, 0.007323161233216524, 0.01012361515313387, -0.015535096637904644, 0.018068213015794754, 0.01822660118341446, 0.035413313657045364, 0.04842192679643631, -0.009230811148881912, -0.03599121421575546, -0.0005613943212665617, 7.020936087925726e-33, -0.026730310171842575, -0.027383409440517426, 0.021433735266327858, 0.00864740926772356, 0.02994810976088047, 0.016607485711574554, -0.011158986948430538, 0.004336007405072451, -0.04501931741833687, -0.005689989309757948, -0.05090486630797386, 0.05611683428287506, -0.021679313853383064, 0.00011872102186316624, 0.05868057906627655, -0.02106231451034546, 0.01682914048433304, -0.002808661898598075, 0.023736799135804176, 0.052021998912096024, 0.040853772312402725, 0.007304068189114332, -0.0007136250496841967, 0.007572486065328121, 0.03803163394331932, 0.023429807275533676, -0.03205253928899765, 0.0202580988407135, -0.0012487382628023624, -0.010133901610970497, 0.04218095913529396, -0.026803098618984222, -0.029050692915916443, -0.02861461043357849, -0.05387536808848381, -0.026535071432590485, 0.001290466170758009, -0.03197285160422325, 0.001110331853851676, 0.05535604804754257, 0.019605103880167007, -0.007532577496021986, -0.024981731548905373, 0.012950815260410309, 0.008239643648266792, 0.012102490290999413, 0.020854966714978218, 0.035321835428476334, -0.009482301771640778, 0.00048764661187306046, 0.005329754203557968, -0.005121937487274408, -0.024238882586359978, 0.02967401221394539, 0.027712203562259674, 0.008263807743787766, -0.026755429804325104, 0.057298194617033005, -0.002935955999419093, 0.030991850420832634, -0.036568984389305115, 0.004205456003546715, -0.045225974172353745, 0.0047880252823233604, -0.052466802299022675, -0.014434238895773888, 0.00033093226375058293, -0.046497490257024765, -0.036385636776685715, -0.01750287041068077, -0.004593281541019678, -0.006643829867243767, 0.000818010710645467, 0.04484741762280464, 0.050640903413295746, -0.040885258466005325, -0.04487442225217819, 0.03446007892489433, -0.0387117899954319, 0.03379031643271446, 0.005840252619236708, 0.03489568829536438, 0.007010967005044222, -0.010913459584116936, 0.052730072289705276, 0.007092456799000502, -0.021386466920375824, 0.0032496911007910967, 0.026214148849248886, -0.014325257390737534, -0.007533506024628878, 0.027255158871412277, 0.007067038211971521, 0.03386273607611656, -0.012808477506041527, -1.2372478153110933e-8, 0.004551600199192762, 0.0024149769451469183, -0.012826167047023773, -0.003540621604770422, 0.033357493579387665, 0.010108568705618382, -0.036808814853429794, 0.03619660064578056, -0.05836312100291252, 0.004681189078837633, 0.07498977333307266, -0.00666108587756753, -0.04156729206442833, 0.03657180443406105, 0.01931840553879738, -0.05392703786492348, 0.029670337215065956, -0.02587243728339672, 0.006421219557523727, 0.042800333350896835, 0.012101566419005394, 0.021278999745845795, -0.014531953260302544, 0.022757409140467644, 0.012654488906264305, -0.0296233631670475, 0.041721951216459274, -0.08988092839717865, -0.01379949226975441, 0.009326611645519733, -0.008055873215198517, -0.007223499473184347, -0.026452090591192245, 0.029557136818766594, -0.0497470498085022, 0.0005528013571165502, 0.021134480834007263, 0.032387956976890564, 0.027926579117774963, 0.014419443905353546, 0.009327936917543411, -0.0036707939580082893, -0.011427503079175949, -0.025715626776218414, -0.03550497442483902, 0.012272344902157784, -0.011701144278049469, 0.00453494256362319, 0.020699601620435715, -0.031214280053973198, -0.04217563942074776, -0.019411006942391396, -0.0005504958098754287, -0.00294473092071712, 0.034700118005275726, -0.033487483859062195, 0.02609422616660595, -0.029352812096476555, -0.012636696919798851, 0.029836440458893776, 0.059281155467033386, -0.03562939912080765, -0.006404076237231493, -0.03251006081700325 ]
mahout-using-a-saved-random-forestdecisiontree
https://markhneedham.com/blog/2012/10/27/mahout-using-a-saved-random-forestdecisiontree
false
2012-10-27 12:27:10
Kaggle Digit Recognizer: K-means optimisation attempt
[ "machine-learning-2", "kaggle" ]
[ "Machine Learning" ]
I recently wrote a blog post explaining how https://twitter.com/jennifersmithco[Jen] and I http://www.markhneedham.com/blog/2012/10/23/kaggle-digit-recognizer-a-k-means-attempt/[used the K-means algorithm] to classify digits in http://www.kaggle.com/c/digit-recognizer[Kaggle's Digit Recognizer problem] and one of the things we'd read was that with this algorithm you often end up with situations where it's difficult to classify a new item because if falls between two labels. We decided to have a look at the output of our classifier function to see whether or not that was the case. As a refresher, this was our original function to determine the label for a new test data row... [source,lisp] ---- (defn which-am-i [unranked-value] (let [all-the-gaps (map #(find-gap %1 unranked-value) all-the-averages)] [(ffirst (sort-by second all-the-gaps)) all-the-gaps])) ---- ...and that would return a result like this: [source,lisp] ---- user> (which-am-i (first test-data)) [0 ([0 1763.5688862988827] [1 2768.1143197890624] [2 2393.9091578180937] [3 2598.4629450761286] [4 2615.1233720558307] [5 2287.1791665580586] [6 2470.096959417967] [7 2406.0132574502527] [8 2489.3635108564304] [9 2558.0054056506265])] ---- We first changed the function to return another entry in the vector representing the top two picks: [source,lisp] ---- (defn which-am-i [unranked-value] (let [all-the-gaps (map #(find-gap %1 unranked-value) all-the-averages) top-two (take 2 (sort-by second all-the-gaps))] [(ffirst (sort-by second all-the-gaps)) top-two all-the-gaps])) ---- If we run that: [source,lisp] ---- user> (which-am-i (first test-data)) [2 ([2 1855.3605185002546] [0 2233.654619238101]) ([0 2233.654619238101] [1 2661.7148686603714] [2 1855.3605185002546] [3 2512.429018687221] [4 2357.637631775974] [5 2457.9850052966344] [6 2243.724487123002] [7 2554.1158473740174] [8 2317.567588716217] [9 2520.667565741239])] ---- In this case the difference between the top 2 labels is about 400 but we next changed the function to output the actual difference so we could see how close the top 2 were over the whole test set: [source,lisp] ---- (defn which-am-i [unranked-value] (let [all-the-gaps (map #(find-gap %1 unranked-value) all-the-averages) top-two (take 2 (sort-by second all-the-gaps)) difference-between-top-two (Math/abs (apply - (map second top-two)))] [(ffirst (sort-by second all-the-gaps)) top-two difference-between-top-two all-the-gaps])) ---- We then ran it like this, taking just the first 10 differences on this occasion: [source,lisp] ---- user> (take 10 (->> test-data (map which-am-i) (map #(nth % 2)))) (378.2941007378465 523.6102802591759 73.57510749262792 3.8557350283749656 5.806672422475231 183.90928740097775 713.1626629833258 335.38646365464047 538.6191727330108 161.68429111785372) ---- From visually looking at this over a larger subset we noticed that there seemed to be a significant number of top twos within a distance of 50. We therefore changed the function to use http://clojuredocs.org/clojure_core/1.2.0/clojure.core/shuffle[shuffle] to randomly pick between those two labels when the distance was that small. [source,lisp] ---- (defn which-am-i [unranked-value] (let [all-the-gaps (map #(find-gap %1 unranked-value) all-the-averages) top-two (take 2 (sort-by second all-the-gaps)) difference-between-top-two (Math/abs (apply - (map second top-two))) very-close (< difference-between-top-two 50) best-one (if very-close (ffirst (shuffle top-two)) (ffirst top-two))] [best-one top-two all-the-gaps])) ---- Our assumption was that this might marginally improve the performance of the algorithm but it actually made it marginally worse, with a new accuracy of 79.3% At this point we weren't really sure what we should be doing to try and improve the algorithm's performance so we moved onto random forests but it's interesting that you can get a reasonable accuracy even with such a simple approach!
null
null
[ -0.016772378236055374, -0.00802758801728487, 0.0016880071489140391, 0.04952038452029228, 0.08065465837717056, 0.020232409238815308, 0.03528473898768425, 0.019790057092905045, -0.0038837098982185125, 0.006748350337147713, -0.004643892403692007, -0.01495226938277483, -0.05543700233101845, 0.008871359750628471, -0.02408137358725071, 0.07242291420698166, 0.07188618183135986, 0.009693697094917297, 0.02257354184985161, 0.03713497146964073, 0.021239526569843292, 0.03230096772313118, 0.017064008861780167, 0.015323500148952007, 0.024191964417696, 0.0017823271919041872, 0.005071868654340506, 0.016745170578360558, -0.04013466089963913, -0.0042630573734641075, 0.045822542160749435, 0.03021959960460663, 0.006950901355594397, -0.01023359689861536, 0.03611443191766739, -0.013318002223968506, -0.03022880107164383, -0.003679912071675062, 0.01764650084078312, 0.028828658163547516, -0.06470790505409241, 0.028628695756196976, -0.031565405428409576, 0.025829121470451355, -0.05901020020246506, -0.011584466323256493, -0.09474612772464752, 0.005004839971661568, 0.0034312880598008633, 0.006215534172952175, -0.07049155980348587, 0.029495276510715485, -0.002847536699846387, -0.006596230901777744, -0.02398558519780636, 0.04830117151141167, 0.028461577370762825, -0.05541056767106056, 0.043186038732528687, -0.014347463846206665, 0.0015206130919978023, -0.013060216791927814, 0.010854348540306091, 0.01726488582789898, -0.011220776475965977, -0.029531825333833694, -0.006196639966219664, 0.048545241355895996, -0.03655325993895531, -0.01995408535003662, -0.01692677102982998, 0.01752600632607937, 0.006742436438798904, -0.019827770069241524, -0.012533600442111492, -0.043964412063360214, 0.00889681652188301, 0.06536169350147247, 0.022313764318823814, 0.014707970432937145, -0.027971511706709862, 0.015582533553242683, 0.0362028107047081, 0.034666020423173904, -0.02597971260547638, -0.041960760951042175, -0.04760250449180603, -0.035609111189842224, -0.06306175142526627, 0.04691348597407341, -0.0007182565168477595, -0.05840029940009117, 0.028569072484970093, 0.03080335259437561, -0.010027232579886913, -0.0061239274218678474, 0.017451295629143715, -0.022573573514819145, -0.014391626231372356, -0.02895570918917656, -0.027641018852591515, -0.03610953688621521, 0.03408915176987648, 0.01781485229730606, -0.0697256475687027, -0.01870381273329258, 0.001790507696568966, 0.005305591970682144, -0.01481595542281866, 0.013184476643800735, -0.023047378286719322, 0.014633155427873135, -0.010439672507345676, 0.0028352669905871153, -0.07811841368675232, 0.055267877876758575, 0.011324381455779076, -0.045754291117191315, 0.0031880810856819153, 0.019354842603206635, 0.051856547594070435, 0.04729378595948219, -0.02123606950044632, 0.08148184418678284, 0.012804382480680943, 0.042815010994672775, 0.006987915839999914, 0.05863169580698013, -0.028402060270309448, -0.027491793036460876, -0.019339868798851967, 0.04301449656486511, -0.008412022143602371, 0.014214861206710339, 0.0067057483829557896, -0.038608770817518234, -0.021261606365442276, 0.020388709381222725, 0.06353937089443207, 0.036722779273986816, 0.014849396422505379, -0.039809320122003555, 0.0011862554820254445, 0.0014461956452578306, 0.010640361346304417, 0.0009695458575151861, 0.0029404019005596638, -0.005405250936746597, -0.036185573786497116, -0.00022783745953347534, 0.009365314617753029, 0.011222582310438156, 0.028646379709243774, -0.032239556312561035, 0.01262280996888876, 0.06349178403615952, -0.00034931444679386914, 0.005786695517599583, 0.009421479888260365, 0.031172912567853928, 0.028119495138525963, 0.012715307995676994, -0.0039679729379713535, 0.04252123832702637, 0.014784063212573528, -0.026275694370269775, 0.03732427954673767, 0.08592026680707932, -0.024356944486498833, 0.00448151770979166, -0.027644088491797447, -0.03364035487174988, 0.0603821761906147, -0.024540001526474953, -0.0138583118095994, 0.03334803506731987, 0.0728585496544838, 0.04041392356157303, 0.04946254938840866, -0.001719716121442616, -0.08185578137636185, 0.0577022023499012, 0.027871839702129364, 0.0387919619679451, 0.005453993566334248, -0.007034499663859606, 0.09144078195095062, 0.03531944379210472, 0.0156894288957119, 0.023870669305324554, -0.06163513660430908, -0.06630820780992508, -0.019085319712758064, -0.025724373757839203, 0.0822262093424797, -0.02431960217654705, 0.02004055306315422, 0.04611733928322792, 0.003067496931180358, 0.043277814984321594, 0.023512130603194237, -0.0053582387045025826, 0.02749781683087349, -0.027562571689486504, -0.04331066831946373, 0.057721368968486786, 0.025440365076065063, -0.05061357840895653, -0.025475338101387024, 0.02348293364048004, -0.018778741359710693, -0.019207390025258064, 0.019510695710778236, -0.03369852527976036, 0.03553875908255577, 0.039597027003765106, 0.07072196900844574, -0.019889770075678825, 0.04926328733563423, -0.02770175039768219, 0.01033446379005909, 0.004426219966262579, -0.025995036587119102, -0.0019154768669977784, 0.029237542301416397, 0.1368783563375473, 0.08077545464038849, -0.020993895828723907, -0.03384207561612129, -0.00003371027924004011, -0.006677322555333376, -0.03680245950818062, 0.02250455878674984, -0.01876703090965748, -0.024146368727087975, -0.0009314778144471347, -0.043931011110544205, -0.04520879685878754, 0.04760894924402237, -0.0523904487490654, -0.018673237413167953, 0.07897210121154785, -0.011340592056512833, 0.059218112379312515, 0.013148770667612553, 0.000020471465177251957, -0.006902469787746668, -0.021671559661626816, -0.040480565279722214, -0.01754830777645111, 0.0011088908649981022, -0.0010917409090325236, 0.024648714810609818, -0.02825063280761242, -0.021702555939555168, -0.026522714644670486, -0.02170759066939354, 0.007524064742028713, 0.0726776048541069, 0.06455599516630173, 0.0082181291654706, 0.06845635175704956, -0.02181681990623474, -0.006686346605420113, -0.002367118839174509, -0.052503801882267, -0.058290161192417145, -0.0333581380546093, 0.017111022025346756, 0.044347476214170456, 0.02469036728143692, 0.018865905702114105, 0.026709407567977905, 0.0010383351473137736, 0.015791213139891624, -0.013843774795532227, 0.033818215131759644, 0.013268863782286644, -0.02713920548558235, -0.004865605849772692, -0.026016442105174065, 0.05594642832875252, -0.028763500973582268, -0.023988230153918266, 0.002196118701249361, -0.07571201771497726, 0.042041148990392685, -0.06300348043441772, -0.04182200878858566, 0.02535381354391575, 0.0023430653382092714, 0.036204904317855835, -0.01894940808415413, 0.013459631241858006, 0.04979395866394043, -0.002666001906618476, 0.011216291226446629, 0.025653405115008354, -0.00646677752956748, 0.03219281882047653, -0.0005151496734470129, 0.04582413658499718, 0.0427776537835598, -0.0011554575758054852, -0.02190420962870121, -0.0529954619705677, -0.007246892433613539, -0.031503114849328995, -0.2993389964103699, 0.02919360063970089, 0.004319983534514904, -0.02107062190771103, 0.006468040402978659, -0.04462909325957298, 0.01921815425157547, -0.025102445855736732, -0.006705069914460182, 0.009865375235676765, -0.0007776761776767671, -0.009481420740485191, -0.04575750231742859, 0.042029134929180145, 0.013264567591249943, -0.005454137921333313, -0.0019190554739907384, -0.045458730310201645, 0.013692103326320648, 0.060184866189956665, 0.01073239091783762, -0.06486990302801132, -0.023647164925932884, 0.04938720539212227, 0.004401257261633873, 0.07215889543294907, -0.05740514025092125, 0.003854550188407302, -0.07092680782079697, -0.02420373074710369, -0.0143699636682868, -0.015162762254476547, -0.02005118317902088, -0.011992177926003933, 0.010343171656131744, -0.028008999302983284, 0.017094718292355537, -0.015201564878225327, -0.009998616762459278, 0.03851540759205818, -0.010499686934053898, -0.014925460331141949, 0.022748371586203575, 0.02342994324862957, 0.0830395519733429, 0.03665613383054733, -0.06262889504432678, -0.008504491299390793, -0.03655563294887543, 0.06711612641811371, -0.0036851451732218266, -0.034805651754140854, -0.03777443617582321, 0.026386050507426262, -0.021221617236733437, -0.010857476852834225, -0.004425905644893646, -0.01795300468802452, -0.027891159057617188, -0.04223425313830376, -0.016767991706728935, -0.030582856386899948, -0.0025060297921299934, -0.06595874577760696, -0.015478380024433136, -0.0714288279414177, -0.0740191712975502, -0.01183856651186943, 0.06653761118650436, 0.004952218849211931, -0.049830030649900436, -0.010405043140053749, -0.018756600096821785, -0.10312411189079285, -0.019619829952716827, -0.007153899408876896, -0.015083352103829384, 0.022003723308444023, 0.018402952700853348, 0.04478975012898445, -0.06414534151554108, -0.07064130157232285, 0.033857718110084534, 0.01583775319159031, 0.013695254921913147, -0.03915674611926079, 0.0038579385727643967, 0.0220048651099205, 0.005017142277210951, 0.0014791915891692042, 0.05542429909110069, 0.008225365541875362, -0.03109166957437992, -0.013045293278992176, 0.004370442125946283, 0.04161588102579117, 0.02380703017115593, -0.004196172580122948, 0.007653944659978151, 0.04051760584115982, 0.024832220748066902, -0.07458940893411636, 0.016181252896785736, -0.04597419127821922, -0.037053946405649185, 0.027807338163256645, -0.05614723637700081, -0.0012536881258711219, 0.0401289276778698, -0.032604798674583435, -0.022111985832452774, -0.07124520093202591, 0.016584224998950958, -0.058555811643600464, -0.007488447241485119, -0.016623064875602722, 0.027606286108493805, 0.019169291481375694, 0.01879655197262764, -0.019730016589164734, -0.045797549188137054, 0.03502887859940529, -0.000266536429990083, -0.011696924455463886, -0.044530101120471954, -0.047329749912023544, -0.03628222271800041, -0.015498533844947815, 0.03126237541437149, 0.012321358546614647, 0.0013188174925744534, 0.03785020112991333, 0.02162867970764637, -0.033894941210746765, 0.03169604018330574, -0.015295788645744324, -0.014738917350769043, -0.04192465543746948, 0.0020080222748219967, -0.0026399248745292425, 0.0013902786886319518, -0.005137942731380463, 0.030303040519356728, 0.006649591960012913, 0.05005809664726257, 0.00039870079490356147, 0.02653317153453827, -0.01756490021944046, 0.005919098388403654, 0.01141100749373436, -0.005866652354598045, -0.03169074282050133, 0.02729225344955921, -0.029901256784796715, 0.00916010607033968, 0.0026350992266088724, 0.05328212305903435, -0.01170292217284441, -0.04465881735086441, -0.026241440325975418, 0.031467586755752563, -0.021958861500024796, -0.016397804021835327, -0.03430696949362755, -0.0011612705420702696, 0.05981569364666939, -0.016778282821178436, 0.03448211029171944, 0.016189446672797203, 0.011824587360024452, 0.017681878060102463, -0.019926531240344048, -0.023615343496203423, 0.01212321873754263, -0.005844666622579098, -0.011236616410315037, 0.008207941427826881, 0.02610105834901333, 0.002118182834237814, -0.005249947775155306, -0.02229595184326172, -0.027341244742274284, -0.00860087014734745, 0.016227668151259422, 0.05738417059183121, 0.05288206785917282, -0.005878242664039135, -0.004196998663246632, -0.027986016124486923, -0.010939178988337517, -0.028333604335784912, -0.005574094131588936, -0.0162969920784235, 0.006195871625095606, -0.03920347988605499, -0.06511379778385162, 0.010339688509702682, 0.029322829097509384, -0.001472832285799086, 0.017921151593327522, -0.02554331347346306, 0.0033075737301260233, -0.024542029947042465, 0.019993143156170845, 0.08073846250772476, -0.07188350707292557, 0.03195323422551155, -0.005867394153028727, -0.013604473322629929, -0.002272604964673519, 0.002000640146434307, -0.06611980497837067, -0.00972170289605856, -0.020938673987984657, 0.020207133144140244, -0.04108443111181259, -0.05449216440320015, -0.02513602375984192, 0.038973018527030945, 0.000642191618680954, -0.0016229799948632717, -0.005207981914281845, -0.007367304060608149, -0.008561857044696808, -0.02031046897172928, 0.014044776558876038, -0.021734418347477913, -0.01174882985651493, 0.028850039467215538, -0.03326505795121193, 0.03416357561945915, -0.038358256220817566, 0.03375668823719025, 0.04864901676774025, -0.015971463173627853, 0.00891423411667347, -0.0559246689081192, 0.0014355555176734924, -0.008834186010062695, 0.0631474032998085, -0.004868322983384132, -0.039725832641124725, -0.04212101176381111, 0.01904984563589096, -0.02022390067577362, 0.02458220161497593, -0.008863049559295177, -0.035650718957185745, 0.021916905418038368, 0.04858863726258278, -0.006606006063520908, 0.03201594576239586, -0.022095104679465294, -0.025039132684469223, 0.059762995690107346, -0.028266333043575287, -0.032564230263233185, -0.02637093886733055, -0.031407617032527924, 0.024268852546811104, -0.012758971191942692, 0.005553455092012882, -0.00914844311773777, 0.04229825362563133, 0.01343239564448595, 0.02847454324364662, 0.03126157075166702, 0.010583317838609219, 0.02162349782884121, -0.03837588429450989, 0.005199080798774958, -0.09463946521282196, -0.007742991205304861, 0.0420694425702095, -0.008067809045314789, -0.006907702423632145, -0.005954498425126076, -0.026445971801877022, 0.005599317140877247, -0.06500528007745743, -0.025719154626131058, 0.03790074959397316, -0.0031630960293114185, -0.01114346832036972, 0.014084139838814735, -0.02560446225106716, 0.02489982359111309, 0.01678679883480072, -0.04765411093831062, -0.012625636532902718, -0.00927557609975338, 0.072241872549057, -0.01403722446411848, 0.02975826896727085, -0.00892467238008976, -0.007796579040586948, 0.061740364879369736, 0.046557214111089706, 0.024463186040520668, 0.0496155321598053, -0.022604314610362053, 0.05349816009402275, 0.028330707922577858, -0.0024387678131461143, -0.01829315721988678, 0.02012432925403118, -0.0061415983363986015, -0.08262498676776886, 0.0350407138466835, 0.01166191603988409, -0.02827315963804722, -0.04306754469871521, 0.07448416203260422, 0.03599032014608383, -0.025866573676466942, -0.056518301367759705, 0.04157150536775589, -0.052834488451480865, 0.0017919654492288828, -0.00535593880340457, -0.008952701464295387, -0.041146036237478256, 0.06510520726442337, -0.000613182142842561, -0.013498553074896336, 0.06160334125161171, 0.001218395191244781, -0.012460420839488506, 0.018590154126286507, 0.09193453192710876, 0.09982839226722717, 0.053863681852817535, 0.02106601558625698, 0.0630246177315712, -0.02793130651116371, -0.030693162232637405, 0.014488495886325836, -0.012521985918283463, -0.022090435028076172, -0.011855806224048138, 0.011885346844792366, 0.0752578005194664, -0.03305709362030029, 0.06513121724128723, -0.05280744656920433, 0.00039899570401757956, 0.009782223030924797, 0.0022669448517262936, 0.010999049991369247, 0.05520631745457649, -0.004389103967696428, 0.03302647918462753, -0.032092176377773285, -0.02432866208255291, 0.029536036774516106, -0.0073922500014305115, -0.017360515892505646, -0.0009859604761004448, -0.031303491443395615, 0.02266712114214897, -0.0020160679705441, 0.037302784621715546, 0.07073433697223663, -0.04021421819925308, -0.02559833601117134, -0.00006764093996025622, 0.044789426028728485, 0.006054875440895557, 0.0365324504673481, -0.013636949472129345, -0.009406291879713535, -0.012574350461363792, 0.008031732402741909, 0.004798029083758593, -0.019778117537498474, -0.022850554436445236, 0.022277846932411194, -0.039603862911462784, -0.011739012785255909, 0.025740938261151314, -0.0015264973044395447, -0.026370950043201447, -0.051563560962677, -0.030270203948020935, -0.05051276460289955, -0.07901165634393692, -0.01762637309730053, 0.015103094279766083, -0.013724214397370815, -0.03637290745973587, -0.015812328085303307, -0.020284490659832954, -0.02977473847568035, 0.020117176696658134, -0.06111188605427742, -0.008423018269240856, 0.017505094408988953, 0.03758077695965767, 0.016974950209259987, 0.018871715292334557, 0.0413023978471756, -0.00964108482003212, 0.001337171532213688, 0.00018906254263129085, -0.013343559578061104, 0.047962237149477005, 0.024754000827670097, 0.006188935600221157, -0.0862373486161232, -0.004171603824943304, 0.004593708552420139, -0.0133166229352355, -0.08761747181415558, 0.01372405607253313, 0.021888641640543938, 0.005800081416964531, 0.03717318922281265, -0.010734699666500092, -0.025065606459975243, -0.0711248442530632, -0.009907334111630917, -0.03343398869037628, -0.004644547123461962, 0.03573739528656006, -0.02528434805572033, 0.0851849764585495, 0.01722109317779541, -0.005737136583775282, -0.05229055881500244, -0.028409546241164207, -0.006452715024352074, 0.0050085666589438915, -0.04934742674231529, -0.046507880091667175, -0.03205275908112526, -0.08830933272838593, -0.03172580152750015, 0.02454579621553421, -0.025623176246881485, -0.047575756907463074, 0.03671666234731674, 0.0027329891454428434, -0.01658954843878746, 0.03525206446647644, -0.03095250576734543, 0.01450164895504713, -0.04460277035832405, -0.0014078315580263734, -0.022724414244294167, 0.0370057076215744, -0.02372700348496437, 0.006361186504364014, 0.004786422476172447, -0.042891975492239, 0.0034081588964909315, -0.02066466584801674, 0.012488383799791336, 0.01748833991587162, -0.006275745574384928, -0.00832618959248066 ]
[ -0.09182331711053848, -0.023896295577287674, -0.03241010010242462, -0.0067350128665566444, 0.03734214976429939, -0.03196150064468384, 0.04772547632455826, 0.029490208253264427, 0.0015775637002661824, -0.030782463029026985, 0.022914772853255272, -0.056748729199171066, -0.008653607219457626, -0.00875298772007227, 0.08047419786453247, -0.005860232748091221, 0.015237054787576199, -0.044023774564266205, -0.036102838814258575, 0.007484630215913057, 0.033857014030218124, -0.013463018462061882, -0.052047792822122574, -0.04744470492005348, 0.0047829668037593365, 0.05010243132710457, 0.03817727416753769, -0.06969363987445831, 0.012144441716372967, -0.22982199490070343, 0.014724441803991795, -0.004552219528704882, 0.0777074545621872, -0.04541719704866409, 0.0012459659483283758, 0.02624986506998539, 0.0018842867575585842, 0.03526664897799492, -0.011234347708523273, 0.007951882667839527, 0.008200987242162228, -0.002029392635449767, -0.029073096811771393, -0.03371701017022133, 0.04111707955598831, -0.0016211746260523796, -0.017819760367274284, -0.034273192286491394, -0.04251231625676155, 0.00846023764461279, -0.073109470307827, -0.021457746624946594, 0.00027717588818632066, -0.0034406010527163744, 0.0005324087105691433, 0.0345022939145565, 0.04475821182131767, 0.054069049656391144, 0.04168912023305893, 0.037607427686452866, 0.02315274253487587, -0.003714341903105378, -0.13142536580562592, 0.06084676831960678, 0.016845203936100006, 0.02833465300500393, -0.028030171990394592, -0.060480426996946335, -0.028261110186576843, 0.10951126366853714, 0.05138125643134117, -0.008202631026506424, -0.03945392370223999, 0.05891883373260498, -0.001593625987879932, -0.015251223929226398, -0.004734048154205084, 0.0022596826311200857, 0.03493664786219597, -0.016008052974939346, -0.026276452466845512, 0.02127045951783657, -0.027732472866773605, -0.03409678488969803, -0.017629902809858322, -0.005798954050987959, -0.031087979674339294, 0.018698005005717278, 0.00913749448955059, 0.024460984393954277, 0.05152124911546707, 0.020644018426537514, 0.01590551994740963, 0.0005897519295103848, -0.07989344745874405, -0.027042923495173454, -0.016711058095097542, 0.02365501970052719, -0.03527383878827095, 0.4109594523906708, -0.02145734429359436, -0.000454080494819209, 0.037315331399440765, 0.01622835360467434, -0.022087715566158295, -0.033388249576091766, 0.0009477677522227168, -0.07385072112083435, -0.01681189052760601, -0.06326653063297272, 0.028523758053779602, -0.008539305068552494, 0.05950626730918884, -0.03732947260141373, -0.015195373445749283, 0.0094715915620327, 0.05921700969338417, 0.03565564006567001, 0.04865920916199684, 0.002589750336483121, -0.019842537119984627, 0.004377014935016632, -0.009688757359981537, -0.018486106768250465, 0.023647774010896683, 0.025408867746591568, 0.03578001633286476, 0.06789901107549667, 0.02200986258685589, 0.025437718257308006, 0.04524455964565277, -0.05443991720676422, -0.08266489952802658, 0.016805756837129593, -0.007804871071130037, -0.008342512883245945, 0.03125498443841934, 0.00533478194847703, 0.0012306758435443044, 0.021424029022455215, -0.011873677372932434, 0.0042551439255476, 0.06182786822319031, 0.016246747225522995, -0.01438064593821764, 0.15429861843585968, -0.04521685838699341, -0.041398920118808746, -0.0022334828972816467, -0.05713452398777008, 0.02138022892177105, 0.011111954227089882, -0.028652803972363472, -0.06060408428311348, 0.017621122300624847, 0.022980302572250366, 0.08888344466686249, -0.03114061802625656, -0.06786221265792847, 0.005886788945645094, 0.0010242692660540342, -0.0451216958463192, -0.045773960649967194, 0.04460200294852257, 0.05540120601654053, -0.08352454006671906, -0.008450228720903397, -0.018628330901265144, 0.006849449593573809, -0.0736890360713005, 0.036558907479047775, 0.04468323662877083, -0.009931218810379505, 0.0116149066016078, 0.005356466863304377, -0.024474607780575752, -0.043771885335445404, 0.024430282413959503, 0.035001158714294434, -0.0059492080472409725, -0.014508749358355999, 0.010397903621196747, -0.05065232887864113, 0.0036369534209370613, -0.031157827004790306, -0.0849836990237236, -0.052354924380779266, -0.009844348765909672, -0.007229931186884642, 0.006410164292901754, -0.014908010140061378, -0.03755022585391998, -0.053470026701688766, 0.05283970758318901, -0.04862678050994873, -0.04681314527988434, 0.017431966960430145, 0.004785493947565556, -0.023225300014019012, -0.035992346704006195, -0.002258316846564412, 0.049547743052244186, 0.016711028292775154, 0.018122028559446335, -0.053757552057504654, 0.05002216622233391, 0.061255838721990585, -0.061386123299598694, 0.0843852311372757, 0.034415263682603836, 0.01187670137733221, -0.03698943555355072, -0.028987346217036247, 0.016359727829694748, 0.00952010229229927, -0.019218256697058678, 0.011995392851531506, 0.013919024728238583, 0.00002171464620914776, 0.03521044924855232, -0.011947562918066978, 0.0034416187554597855, -0.03248780593276024, -0.3572883903980255, -0.041223496198654175, -0.0019754120148718357, 0.0182133000344038, 0.015171500854194164, -0.07505019754171371, 0.005443811882287264, 0.006587074603885412, -0.008127037435770035, 0.016917068511247635, 0.06767187267541885, 0.026006177067756653, -0.003983085975050926, -0.0637916773557663, -0.014718419872224331, 0.025769762694835663, -0.02333686500787735, -0.033698320388793945, -0.012987028807401657, 0.021681789308786392, -0.008914444595575333, 0.020853063091635704, 0.005973380524665117, -0.04970943555235863, -0.010822407901287079, -0.043378688395023346, 0.10824386775493622, 0.040613867342472076, 0.08019071817398071, -0.03847549855709076, 0.026461519300937653, -0.0020727619994431734, -0.00944624375551939, -0.0451684333384037, 0.061588723212480545, -0.03435686603188515, -0.028238344937562943, -0.010547597892582417, -0.007951691746711731, -0.04038144648075104, -0.0559002086520195, 0.027187593281269073, -0.019147969782352448, -0.03378051519393921, -0.029799822717905045, 0.03484107926487923, -0.017188817262649536, -0.02757374383509159, -0.005222106818109751, 0.0841870903968811, 0.01209108904004097, 0.006231086794286966, 0.028282130137085915, 0.009096823632717133, 0.015381397679448128, -0.018227187916636467, -0.08609381318092346, -0.017116181552410126, -0.01724555902183056, -0.02547064609825611, 0.03196681663393974, 0.03937241807579994, 0.033495545387268066, -0.06998497247695923, -0.003592663910239935, 0.031123166903853416, -0.030316922813653946, -0.0008699156460352242, 0.04100882261991501, -0.015923043712973595, -0.0226293858140707, 0.10908632725477219, 0.012398507446050644, -0.0020398925989866257, 0.04639682173728943, 0.04829614236950874, 0.001035689259879291, 0.006318503990769386, 0.020945293828845024, 0.021621590480208397, 0.0605909526348114, 0.0012412453070282936, 0.037287693470716476, -0.04361487552523613, 0.030926963314414024, 0.009710486978292465, 0.028771067038178444, -0.01139318197965622, 0.05537430942058563, 0.013877538964152336, -0.006344565190374851, 0.005044075660407543, 0.013165883719921112, -0.06501514464616776, 0.09191012382507324, -0.008328220807015896, -0.25491923093795776, 0.03394877910614014, 0.05338016152381897, 0.06404536217451096, -0.0005839979276061058, 0.029815517365932465, 0.042953066527843475, -0.05653659626841545, -0.00977767538279295, -0.00380177004262805, -0.026935752481222153, 0.05837639421224594, 0.0065795788541436195, -0.018501747399568558, -0.0019767240155488253, -0.007861018180847168, 0.0364590547978878, -0.024099351838231087, 0.026704492047429085, -0.0025476557202637196, 0.05048288032412529, -0.005611525848507881, 0.16793379187583923, -0.014598875306546688, 0.0033923170994967222, 0.005160246975719929, -0.006291540339589119, -0.004083678591996431, 0.06821590662002563, -0.002724700141698122, 0.01741483435034752, -0.006777432281523943, 0.04637111723423004, -0.0011538515100255609, 0.02607143111526966, -0.010679296217858791, -0.03614569827914238, 0.01879875548183918, 0.0238991379737854, -0.02024128846824169, 0.03424932807683945, 0.0047225686721503735, -0.08606120944023132, 0.0008354568271897733, 0.08663761615753174, 0.013727832585573196, 0.013473248109221458, -0.04290809482336044, -0.054491233080625534, -0.01406142022460699, -0.007874885573983192, -0.03389284387230873, -0.009618387557566166, 0.0008567036129534245, 0.0010167602449655533, 0.07405901700258255, -0.006109028588980436, -0.03498653322458267, -0.006950221490114927, -0.017190121114253998, -0.002056086901575327, -0.05067002773284912, 0.1118994727730751, 0.009412155486643314, 0.012656775303184986 ]
[ -0.03738195821642876, 0.002353726653382182, -0.016364486888051033, 0.003184187924489379, -0.00046370565542019904, 0.015977686271071434, -0.003590259701013565, -0.0011996532557532191, -0.019893111661076546, -0.02025497704744339, -0.0021397219970822334, 0.0040783388540148735, -0.011320742778480053, -0.03890181705355644, -0.008955820463597775, -0.015755049884319305, 0.0033701560460031033, 0.007818094454705715, 0.017439622431993484, -0.016778504475951195, -0.026801329106092453, 0.03278491273522377, 0.030960990116000175, -0.012482774443924427, -0.00921646412461996, 0.05792107433080673, -0.023788178339600563, -0.012025291100144386, 0.050408996641635895, -0.12112241238355637, -0.02023342438042164, -0.021228250116109848, -0.026449229568243027, 0.025723107159137726, -0.030353190377354622, -0.024210941046476364, -0.02885146625339985, 0.0448017381131649, -0.004682436585426331, 0.009118502028286457, 0.017264045774936676, -0.03790977969765663, -0.00813817698508501, 0.00888785533607006, -0.0023987796157598495, 0.013987194746732712, -0.010123595595359802, -0.03835887461900711, -0.025919975712895393, -0.010201115161180496, -0.020324505865573883, 0.024839993566274643, -0.034068476408720016, 0.026342974975705147, -0.012482017278671265, -0.03694205358624458, 0.0007113011670298874, 0.011845671571791172, 0.010731958784162998, 0.0033531642984598875, 0.00423257565125823, 0.009371810592710972, -0.014289251528680325, -0.010453899390995502, 0.009879780001938343, -0.012225518934428692, -0.010869195684790611, -0.00900879967957735, -0.006019404157996178, 0.004562221933156252, 0.03797241300344467, 0.02456049993634224, -0.0065756794065237045, -0.029898308217525482, 0.024496043100953102, -0.005805543623864651, 0.011929232627153397, -0.02058880589902401, -0.010163357481360435, -0.003499446902424097, 0.005901050288230181, 0.02287074737250805, 0.020353518426418304, 0.013867511413991451, 0.015019359067082405, -0.06080839782953262, 0.004421267192810774, 0.014011292718350887, 0.005730942357331514, -0.006331644486635923, -0.034064117819070816, 0.026148026809096336, -0.025656070560216904, 0.005337859969586134, -0.08980001509189606, 0.021868407726287842, -0.01995440013706684, 0.02703113853931427, -0.011621572077274323, 0.8700135350227356, -0.015540169551968575, 0.03565517067909241, 0.02094193361699581, -0.0044862376525998116, 0.004537126049399376, -0.010439174249768257, -0.011884909123182297, -0.032263390719890594, 0.01769009605050087, -0.01614006981253624, 0.040813274681568146, 0.005264902953058481, 0.029257243499159813, 0.034688908606767654, 0.013851070776581764, -0.011548250913619995, 0.025207197293639183, 0.003070154692977667, 0.029869845137000084, 0.029320523142814636, -0.00882601086050272, 0.016616487875580788, 0.018010541796684265, 0.027777893468737602, 0.008413270115852356, -0.1653144806623459, -0.013969418592751026, -7.67857081059707e-33, 0.015571787022054195, -0.012602165341377258, 0.0013670381158590317, -0.022029737010598183, 0.0017532923957332969, -0.02522803470492363, -0.01420921366661787, -0.030638540163636208, -0.017001675441861153, -0.00872139073908329, 0.018509117886424065, 0.011919533833861351, 0.0047274064272642136, -0.006265802308917046, 0.05248768627643585, 0.011012042872607708, 0.006164326798170805, 0.023437565192580223, -0.004572261590510607, -0.024439334869384766, 0.025442516431212425, -0.0048104203306138515, 0.022683478891849518, 0.007195028942078352, -0.0057714954018592834, 0.028216827660799026, -0.0011119910050183535, -0.012559710070490837, 0.010259169153869152, -0.05605684593319893, -0.02055605873465538, 0.026348164305090904, 0.02914292924106121, -0.016065390780568123, 0.015892622992396355, -0.04440346360206604, -0.014437241479754448, 0.021713433787226677, -0.011425728909671307, -0.06186428293585777, -0.03400755673646927, 0.01074032112956047, -0.02060251496732235, -0.024593008682131767, -0.01299053430557251, -0.042138952761888504, 0.013812445104122162, 0.036031316965818405, 0.000568460556678474, 0.010568037629127502, 0.005362403113394976, -0.03824509680271149, -0.015407243743538857, 0.01657736301422119, -0.007710592355579138, 0.01991787552833557, -0.0004192373307887465, 0.018695184960961342, 0.001959120389074087, 0.025246132165193558, 0.027816077694296837, 0.005300004035234451, 0.00510029261931777, 0.045600034296512604, -0.016758624464273453, -0.02277497760951519, 0.015778491273522377, -0.006721295416355133, 0.043819572776556015, 0.026704560965299606, -0.049956612288951874, -0.004308683332055807, -0.026683520525693893, -0.010524746961891651, 0.021824760362505913, -0.013020671904087067, 0.0014126438181847334, -0.012628576718270779, -0.02131013758480549, 0.03098074533045292, 0.04165024682879448, -0.03741258755326271, -0.0015505702467635274, -0.007760972250252962, -0.013725785538554192, -0.01981762796640396, 0.0011743551585823298, -0.01700475439429283, -0.004405807703733444, 0.0014600054128095508, 0.006829177029430866, 0.04264228418469429, -0.01959603652358055, -0.010881701484322548, 0.0013678191462531686, 7.602509713943144e-33, 0.0049990518018603325, 0.0007059361669234931, -0.011768775060772896, 0.005423406604677439, 0.021817894652485847, -0.008077794685959816, 0.042201947420835495, 0.027628641575574875, -0.02616056613624096, 0.04157514125108719, -0.006169375963509083, -0.025577450171113014, 0.0017704585334286094, 0.00547721516340971, 0.03655039146542549, -0.012504559010267258, -0.0007682795985601842, 0.03611386939883232, 0.031102191656827927, 0.004480546340346336, 0.01578589342534542, 0.0243209358304739, 0.0003109124372713268, 0.016485387459397316, -0.006457800045609474, 0.037282541394233704, -0.003721855813637376, 0.01869301125407219, -0.01900530233979225, 0.005895480513572693, 0.004253664519637823, -0.04259996861219406, -0.0036794717889279127, -0.021228425204753876, -0.010953417979180813, 0.022051217034459114, 0.01715533807873726, -0.04002496972680092, -0.0028124614618718624, 0.017833717167377472, 0.025997893884778023, 0.01223528292030096, -0.03336574509739876, -0.0049559324979782104, 0.0026101625990122557, -0.018175147473812103, 0.009425273165106773, 0.001932843355461955, 0.015055134892463684, -0.03264093026518822, 0.0034003639593720436, 0.01992623135447502, -0.0289984829723835, 0.031243465840816498, -0.016781486570835114, 0.005475901998579502, -0.036543529480695724, 0.023850910365581512, -0.039833929389715195, 0.0016365317860618234, -0.01798788085579872, -0.0024059079587459564, 0.008214764297008514, -0.012373439036309719, -0.009573838673532009, -0.010711980052292347, -0.006000666879117489, -0.0246566291898489, -0.014978189952671528, 0.019988156855106354, -0.02405005320906639, 0.005921880714595318, 0.003962572198361158, 0.02687215246260166, 0.0033383534755557775, -0.024125071242451668, -0.022633470594882965, 0.000003036247562704375, 0.02122357487678528, 0.008463944308459759, 0.05300014466047287, -0.02944035269320011, 0.002303444081917405, 0.019924413412809372, 0.020611971616744995, 0.005177242681384087, 0.019514217972755432, 0.013333884999155998, 0.02465207315981388, -0.06092923879623413, 0.02770979329943657, -0.009499679319560528, -0.01261164341121912, 0.01960091106593609, -0.02167038433253765, -1.331494026146629e-8, -0.011610989458858967, 0.010563306510448456, -0.011217696592211723, 0.04025034233927727, 0.03415979817509651, 0.0019608468282967806, -0.0007793938857503235, -0.012665663845837116, -0.046202391386032104, -0.008785568177700043, 0.032078053802251816, -0.012408643960952759, -0.019674915820360184, 0.004141364246606827, 0.031831786036491394, -0.051825281232595444, 0.008088097907602787, 0.009284916333854198, 0.04063298553228378, 0.01134131383150816, 0.004572998266667128, 0.030139528214931488, -0.002551138633862138, -0.019711369648575783, -0.01755916327238083, -0.009106743149459362, 0.018623918294906616, -0.10210487991571426, 0.026437943801283836, -0.00056336639681831, 0.02064119651913643, -0.029689500108361244, 0.016100550070405006, 0.0067382394336164, -0.014304393902420998, -0.01874086819589138, -0.010302071459591389, 0.0030826202128082514, 0.018586713820695877, 0.0023831224534660578, -0.013338472694158554, 0.012931999750435352, -0.010761446319520473, -0.03874458000063896, -0.027438735589385033, 0.02504546567797661, 0.0072713918052613735, -0.014268158003687859, 0.012980489060282707, 0.0004384617495816201, 0.03393891453742981, -0.012302085757255554, 0.006781133357435465, 0.016633741557598114, 0.029860086739063263, -0.022383838891983032, 0.01925242692232132, -0.039362676441669464, -0.031159916892647743, -0.004552807658910751, 0.03139808028936386, 0.017893653362989426, -0.021323038265109062, -0.0219139251857996 ]
kaggle-digit-recognizer-k-means-optimisation-attempt
https://markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-k-means-optimisation-attempt
false
2012-10-27 18:21:57
Retrospectives: An alternative safety check
[ "retrospectives" ]
[ "Agile" ]
At the start of most of the retrospectives I've been part of we've followed the safety check ritual whereby each person participating has to write a number from 1-5 on a sticky describing how they'll be participating in the retrospective. 1 means you'll probably keep quiet and not say much, 5 means you're perfectly comfortable saying anything and the other numbers fall in between those two extremes. In my experiences it's a bit of a fruitless exercise because its viewed that a higher number is 'better' and therefore the minimum people will tend to write down is '3' because they don't want to stand out or cause a problem. I've been in retrospectives where the majority of people were a '4' but then when it came to a contentious topic only 1 or 2 people contributed so I've become a bit sceptical of this safety check approach! Before a retrospective I was facilitating a couple of months ago https://twitter.com/philandstuff[Phil] told me about an alternative that he preferred called ESVP which is described in http://www.amazon.co.uk/Agile-Retrospectives-Making-Pragmatic-Programmers/dp/0977616649/ref=sr_1_1?ie=UTF8&qid=1351360514&sr=8-1[Agile Retrospectives] like so: * **E**xplorers are eager to discover new ideas and insights. They want to learn everything they can about the iteration/release/project. * **S**hoppers will look over all the available information, and will be happy to go home with one useful new idea. * **V**acationers aren't interested in the work of the retrospective, but are happy to be away from the daily grind. They may pay attention some of the time, but are mostly glad to be out of the office. * **P**risoners feel that they've been forced to attend and would rather be doing something else. Phil pointed out that in this case each of the possible categories describes how people will contribute to the retrospective whereas the traditional safety check is more about their degree of comfort with the environment. I don't have enough data points to declare that this is better than the 1-5 approach but from my experiences it seems that there's less pressure on people to fit in one of the categories since none is 'better' than the other, just different. In a recent retrospective where we used this it led to a conversation where people explained why they had chosen a particular category, which I thought was quite fascinating and something I haven't seen happen with the numbers approach. My instinct is that if someone actually felt like a 'Prisoner' then they might not actually categorise themselves as that but I haven't seen this approach used enough to say that for certain!
null
null
[ 0.028506729751825333, 0.005212253425270319, -0.004171986598521471, 0.023371273651719093, 0.07373232394456863, 0.0034160763025283813, 0.011598872020840645, 0.021298328414559364, 0.006804287433624268, -0.0239613838493824, -0.00608409196138382, 0.00859751645475626, -0.04683574661612511, 0.018389027565717697, -0.037292830646038055, 0.0715254694223404, 0.06109391897916794, 0.003028319915756583, 0.015430329367518425, 0.004953357856720686, 0.04261898249387741, 0.07623225450515747, 0.021190477535128593, 0.023162787780165672, 0.03737242519855499, 0.025781186297535896, 0.0255732424557209, -0.01789429783821106, -0.057488106191158295, -0.005556952208280563, 0.030112987384200096, 0.004720821511000395, 0.0021737508941441774, 0.019075358286499977, 0.027956610545516014, -0.005083110649138689, -0.002351699396967888, 0.028253551572561264, 0.015051182359457016, 0.009260215796530247, -0.061469852924346924, 0.033271048218011856, -0.0269829910248518, -0.012740880250930786, -0.04460445046424866, 0.020946798846125603, -0.012954546138644218, -0.010864942334592342, 0.005972843151539564, -0.00929630734026432, -0.05887623876333237, 0.03074399009346962, -0.006922634318470955, 0.0019307741895318031, -0.01801123283803463, 0.025221312418580055, -0.0001611842162674293, -0.06783778965473175, -0.0009436641703359783, -0.029711315408349037, -0.017712365835905075, -0.0013118884526193142, -0.002142819343134761, 0.0478278249502182, 0.03685744106769562, -0.0239880308508873, -0.0004582103865686804, 0.044232357293367386, -0.019672177731990814, 0.019154410809278488, -0.017357833683490753, 0.0169654730707407, -0.006984611973166466, -0.013331517577171326, -0.007499064784497023, -0.05648576095700264, 0.0074211410246789455, 0.06620582193136215, 0.011185738258063793, 0.03499845415353775, -0.02188723348081112, 0.009182238951325417, 0.014165650121867657, 0.028655298054218292, -0.015026692301034927, -0.037468235939741135, 0.0037528311368077993, -0.020342808216810226, -0.061194438487291336, 0.05557313561439514, 0.005664462689310312, -0.06710553169250488, 0.025624161586165428, 0.03281556814908981, -0.005748833529651165, 0.008299422450363636, 0.02785756252706051, -0.005454888567328453, -0.003746567526832223, -0.03149782493710518, -0.025899117812514305, -0.0199897438287735, -0.002259449567645788, 0.01097815576940775, -0.09612282365560532, -0.0019884933717548847, -0.022515075281262398, 0.005850635468959808, -0.014615470543503761, -0.0025244855787605047, -0.036521799862384796, 0.040992144495248795, -0.028004571795463562, 0.023033224046230316, -0.07800699770450592, 0.0646945983171463, 0.006871034856885672, -0.06682056188583374, 0.0032894271425902843, -0.029431425034999847, 0.030732324346899986, 0.018204402178525925, -0.0033262644428759813, 0.07840700447559357, -0.014961892738938332, 0.024311725050210953, -0.012945827096700668, 0.0615365169942379, -0.005216960795223713, -0.05497228354215622, -0.03264794871211052, 0.06128936633467674, -0.04270553961396217, -0.01078654546290636, -0.013689844869077206, -0.023523565381765366, -0.00917284470051527, -0.00156376080121845, 0.031373120844364166, 0.055244605988264084, 0.019536258652806282, -0.038756173104047775, 0.013742391020059586, 0.018898237496614456, 0.03738377243280411, -0.017420580610632896, -0.012929487973451614, -0.0239166971296072, -0.060406651347875595, -0.016855573281645775, 0.015475143678486347, 0.011056719347834587, 0.02248416282236576, -0.05285530909895897, 0.024526311084628105, 0.074077308177948, 0.056657541543245316, 0.0010982899693772197, -0.005423405673354864, 0.019543103873729706, 0.0337488017976284, 0.01732775941491127, 0.0028050311375409365, 0.025264404714107513, 0.016452977433800697, 0.0031083666253834963, -0.017164696007966995, 0.04282183200120926, -0.00016749254427850246, 0.006997960153967142, -0.05472181364893913, -0.04855191707611084, 0.030444348230957985, -0.0425611287355423, -0.02452448569238186, 0.05882008373737335, 0.07094669342041016, 0.048125579953193665, 0.034379176795482635, 0.012920581735670567, -0.08144107460975647, 0.01993427239358425, 0.011321191675961018, 0.033899854868650436, 0.03496769070625305, -0.03194946423172951, 0.056670356541872025, 0.03117436356842518, -0.004719011951237917, 0.048360977321863174, -0.08524905145168304, -0.08674820512533188, -0.005323924124240875, -0.026145918294787407, 0.030541175976395607, -0.04926943778991699, 0.03899168223142624, 0.08825139701366425, -0.000037848425563424826, 0.06613124161958694, 0.021435176953673363, 0.01650906912982464, 0.007194201927632093, -0.045765843242406845, -0.04781172797083855, 0.07699732482433319, 0.026542823761701584, 0.010538425296545029, -0.05907943844795227, 0.007112160325050354, -0.005571965593844652, 0.014737574383616447, 0.03196464851498604, -0.009536501951515675, 0.03917587175965309, 0.01077769510447979, 0.07498964667320251, -0.018373649567365646, 0.051573481410741806, -0.041996266692876816, 0.005434539169073105, 0.008488709107041359, -0.006819406524300575, 0.019541600719094276, -0.008493462577462196, 0.10756320506334305, 0.0795382410287857, -0.048833996057510376, -0.0542277991771698, 0.009233150631189346, 0.03633048012852669, -0.053459879010915756, -0.005190862342715263, 0.011043300852179527, 0.014301546849310398, 0.017135128378868103, -0.04544251412153244, -0.03235245496034622, 0.017368720844388008, -0.058291640132665634, 0.0012126120273023844, 0.05739510804414749, -0.004043459892272949, 0.0668516457080841, -0.006369065959006548, -0.016849543899297714, -0.013484790921211243, -0.000682693556882441, -0.06673581153154373, 0.025288080796599388, 0.001493810792453587, -0.021662022918462753, 0.055800218135118484, -0.016421984881162643, -0.03239501267671585, -0.025610201060771942, -0.025906961411237717, 0.022315679118037224, 0.04454860836267471, 0.07334261387586594, -0.0033034877851605415, 0.050312988460063934, -0.009869588539004326, 0.03849021717905998, 0.0024623568169772625, -0.030852114781737328, -0.04687943309545517, -0.0335787758231163, -0.011232362128794193, 0.0232950858771801, 0.0036175819113850594, 0.01668957620859146, 0.026285920292139053, 0.024923376739025116, 0.0014018411748111248, -0.01676432229578495, 0.033140867948532104, 0.011257550679147243, -0.008250814862549305, -0.008880889974534512, -0.025177523493766785, 0.040887605398893356, -0.021876135841012, -0.009961862117052078, 0.025769533589482307, -0.07689826190471649, 0.055741578340530396, -0.0668339654803276, -0.05306317284703255, 0.0045350464060902596, 0.022002968937158585, 0.03361240401864052, 0.025719735771417618, 0.02067701891064644, 0.06562507897615433, -0.015410767868161201, 0.02217067778110504, 0.022792134433984756, -0.002397630363702774, 0.04096876457333565, 0.010547158308327198, -0.0292739886790514, 0.06681700050830841, -0.0039027880411595106, -0.0036193402484059334, -0.061771899461746216, 0.05551408603787422, -0.04764731228351593, -0.30199286341667175, 0.03197036683559418, 0.01239773165434599, -0.043210718780756, 0.00788116455078125, 0.0033814513590186834, 0.011342248879373074, -0.05316750332713127, -0.027793319895863533, 0.017887882888317108, -0.016844570636749268, -0.034505125135183334, 0.004606318194419146, 0.0531705878674984, 0.022414956241846085, 0.038168732076883316, 0.03102784976363182, -0.022860698401927948, 0.0014126694295555353, 0.05026453733444214, -0.011075956746935844, -0.08013583719730377, -0.01416690368205309, 0.04396705701947212, 0.024759208783507347, 0.052083250135183334, -0.07547248899936676, 0.051273003220558167, -0.06272291392087936, -0.009087229147553444, 0.034170202910900116, 0.007695200853049755, 0.010224585421383381, -0.026968469843268394, -0.010989470407366753, -0.018976572901010513, 0.03410225734114647, 0.004955661483108997, -0.005156350787729025, -0.022659393027424812, -0.012857932597398758, -0.049035534262657166, -0.007414819207042456, 0.04010733217000961, 0.06429300457239151, 0.016680428758263588, -0.07425464689731598, 0.002237472916021943, -0.008611011318862438, 0.06878083199262619, -0.04689261317253113, -0.029671939089894295, -0.021054735407233238, 0.04339086636900902, -0.020155956968665123, -0.02310005947947502, -0.008596820756793022, -0.012248245067894459, -0.043558090925216675, -0.033130522817373276, -0.03296749293804169, -0.013375130482017994, -0.0024612140841782093, -0.0397239625453949, -0.01651679538190365, -0.06711048632860184, -0.06487607955932617, -0.004434673581272364, 0.05348633602261543, -0.025819240137934685, -0.03995587304234505, 0.007068251259624958, -0.01995421200990677, -0.10515983402729034, -0.013396910391747952, -0.0097662303596735, -0.034644581377506256, 0.01846276968717575, 0.019897419959306717, 0.0543534941971302, -0.030895298346877098, -0.06539636850357056, 0.033721208572387695, 0.01389180589467287, 0.024727607145905495, 0.0024283204693347216, 0.06433429569005966, 0.02771769091486931, -0.03580354526638985, -0.0135422358289361, 0.05232914909720421, 0.022244326770305634, -0.03706025704741478, -0.0070087299682199955, 0.01957911066710949, 0.020665235817432404, 0.019461344927549362, -0.010920015163719654, 0.024278629571199417, 0.02057996205985546, 0.006904668174684048, -0.051519569009542465, 0.01634499803185463, -0.0413583479821682, -0.022214584052562714, -0.010410328395664692, -0.04894131422042847, 0.02280469983816147, 0.04408623278141022, 0.017542719841003418, 0.00794692151248455, -0.0039681680500507355, 0.03761180117726326, -0.044994205236434937, -0.019309358671307564, -0.016294369474053383, 0.006809999700635672, 0.032611966133117676, -0.009112315252423286, -0.004203899297863245, -0.060009635984897614, 0.001542682875879109, -0.030746474862098694, -0.0044836606830358505, -0.0476483590900898, -0.03401957452297211, -0.01707298308610916, -0.01469404250383377, 0.010858111083507538, 0.017781976610422134, -0.012278090231120586, 0.03329863026738167, 0.04069643095135689, -0.04257677495479584, 0.03503742814064026, -0.026132600381970406, -0.06540177017450333, -0.011979464441537857, 0.00152920454274863, 0.004812654573470354, -0.013351740315556526, 0.015744781121611595, -0.007371561136096716, 0.0294408667832613, 0.035471417009830475, 0.01528748869895935, 0.02292417176067829, -0.022196907550096512, 0.02447298727929592, 0.013081280514597893, 0.01753622107207775, -0.06697417050600052, 0.0029969539027661085, -0.044139448553323746, -0.024834662675857544, 0.007018585689365864, 0.03518777713179588, -0.02462557889521122, -0.03263627365231514, -0.01963629014790058, -0.008354868739843369, -0.04579131305217743, -0.03268631920218468, -0.046940531581640244, 0.03375862538814545, 0.04433155432343483, -0.01998666301369667, 0.010370317846536636, -0.027248336002230644, -0.0015525654889643192, -0.0044379765167832375, 0.009604032151401043, -0.04814518615603447, 0.007631771266460419, 0.017262235283851624, 0.00992206484079361, -0.01249026134610176, 0.002855782862752676, 0.03525630012154579, -0.008251415565609932, -0.005061216186732054, -0.009001124650239944, -0.003994516097009182, 0.015341755002737045, 0.04407969117164612, 0.01456005871295929, -0.012199071235954762, -0.013852406293153763, -0.014182872138917446, -0.036727260798215866, -0.040904607623815536, -0.018186772242188454, 0.002196886111050844, 0.022481560707092285, -0.0231543630361557, -0.07764708250761032, 0.055186927318573, 0.012691778130829334, 0.010704567655920982, 0.006345417816191912, 0.006018632557243109, -0.015422841534018517, 0.0015545773785561323, 0.017151495441794395, 0.04310997948050499, -0.05560022592544556, -0.0032677543349564075, -0.005131845828145742, -0.004146030638366938, 0.006948147434741259, -0.018006185069680214, -0.03306244686245918, -0.028042398393154144, -0.02842828631401062, 0.0003375816158950329, -0.07321261614561081, -0.026325255632400513, -0.02761695347726345, 0.01694445125758648, 0.008242848329246044, -0.005300340708345175, -0.028543034568428993, -0.019517578184604645, -0.0077082146890461445, -0.033344291150569916, 0.017057890072464943, -0.041687678545713425, 0.0018383862916380167, 0.02551770582795143, -0.0317789763212204, -0.013930058106780052, -0.0389193519949913, 0.019100246950984, 0.001159174833446741, -0.05005304887890816, -0.004687801469117403, -0.04177311435341835, 0.0008839100482873619, 0.008702384307980537, 0.053343821316957474, -0.03944665938615799, -0.017492538318037987, -0.030039772391319275, -0.018912795931100845, -0.043414246290922165, -0.021516891196370125, -0.02396235428750515, -0.0027622540947049856, 0.029324620962142944, 0.07245982438325882, 0.021719053387641907, 0.025298308581113815, -0.010243921540677547, -0.026607006788253784, 0.054055072367191315, -0.052666980773210526, -0.017289843410253525, -0.05587661266326904, -0.04177022725343704, 0.0032449618447571993, 0.01361581776291132, 0.014534409157931805, -0.027388092130422592, 0.02203245647251606, 0.002184951910749078, 0.03907100483775139, 0.04357059672474861, -0.0005651306710205972, 0.017900338396430016, -0.0555495023727417, 0.005635635461658239, -0.07682924717664719, 0.0007103992393240333, 0.032017529010772705, -0.008108058013021946, -0.010152095928788185, -0.0030174446292221546, -0.04395517706871033, 0.03466392308473587, -0.07450151443481445, -0.014031841419637203, 0.030375992879271507, -0.010918216779828072, -0.009741397574543953, 0.020595528185367584, -0.07410681247711182, 0.021779276430606842, 0.025012405589222908, -0.05092949420213699, 0.004692138638347387, -0.018796132877469063, 0.05533115565776825, -0.009467300027608871, 0.03595733270049095, -0.035020146518945694, -0.007384934928268194, 0.07680273801088333, 0.02661917358636856, -0.011472726240754128, 0.06382619589567184, 0.0005932642379775643, 0.02997152879834175, 0.034266047179698944, 0.011668949387967587, -0.019943509250879288, 0.013541905209422112, -0.002050417009741068, -0.05094166472554207, 0.02726677432656288, 0.02029068022966385, -0.04306767135858536, -0.022689420729875565, 0.06598591804504395, 0.02552010677754879, -0.037299592047929764, -0.06033939868211746, 0.013176069594919682, -0.06228563189506531, -0.017362358048558235, -0.02639363519847393, -0.006788098253309727, -0.059306081384420395, 0.05108729377388954, -0.004050151444971561, 0.025355827063322067, 0.07699625939130783, -0.016734717413783073, -0.008631899021565914, -0.007297910749912262, 0.09858132153749466, 0.08525305986404419, 0.09166816622018814, 0.008121781051158905, 0.07857688516378403, -0.03642771765589714, -0.040568143129348755, 0.008716313168406487, -0.009151114150881767, -0.013873022049665451, -0.031445059925317764, 0.017755599692463875, 0.04604007676243782, -0.012869910337030888, 0.0691034272313118, -0.008331630378961563, -0.01278043631464243, 0.004647076595574617, 0.04265196993947029, 0.016056573018431664, 0.06750480085611343, -0.006094907410442829, -0.009373720735311508, -0.020366245880723, -0.04075899347662926, 0.03411024808883667, -0.023050572723150253, -0.030395889654755592, 0.03946829214692116, -0.01961895264685154, 0.0457070991396904, 0.028606779873371124, 0.014055290259420872, 0.07241293787956238, -0.03025861084461212, 0.016531208530068398, -0.032615069299936295, 0.027744878083467484, -0.009452135302126408, 0.00403530802577734, -0.012351001612842083, -0.019188812002539635, 0.01582428440451622, -0.043186090886592865, -0.013255007565021515, -0.01571323350071907, -0.04164908453822136, 0.04848308488726616, -0.015377807430922985, -0.0005682390183210373, 0.03891882300376892, -0.012369194068014622, -0.029341712594032288, -0.05338011309504509, -0.0336003415286541, -0.018534550443291664, -0.047240227460861206, 0.00802379660308361, 0.024570316076278687, -0.019829096272587776, -0.025567185133695602, 0.0007209987961687148, -0.006771659944206476, -0.03470006585121155, 0.0353616364300251, -0.05035991594195366, -0.04153793677687645, 0.012777517549693584, 0.009911879897117615, 0.03757743537425995, 0.00980004295706749, 0.03511641174554825, -0.0063605415634810925, -0.004362631589174271, -0.019051413983106613, 0.032571617513895035, 0.04474452883005142, -0.002376096323132515, 0.0066557154059410095, -0.07344473898410797, 0.008893630467355251, 0.030738119035959244, -0.008779417723417282, -0.06830774992704391, 0.025990040972828865, -0.0014805987011641264, -0.008439617231488228, 0.05988754332065582, -0.009758568368852139, -0.0047851912677288055, -0.05737680569291115, 0.00010603033297229558, -0.015934031456708908, 0.027961986139416695, 0.036575797945261, -0.03172297775745392, 0.08319434523582458, 0.04136420413851738, -0.02074277214705944, -0.029583510011434555, -0.013590703718364239, 0.003931805491447449, -0.024719426408410072, -0.012677176855504513, -0.037424881011247635, -0.04025890305638313, -0.06910602748394012, -0.01484330277889967, 0.026366300880908966, -0.01055806502699852, -0.011168223805725574, 0.022977139800786972, 0.014959217980504036, -0.017590917646884918, 0.014567558653652668, -0.044189807027578354, 0.053586602210998535, -0.015273325145244598, -0.014807603321969509, -0.009002692066133022, 0.02676294557750225, -0.0029176988173276186, 0.0046487473882734776, 0.010956312529742718, -0.04397901892662048, 0.015228855423629284, -0.007275952957570553, 0.029934680089354515, 0.029565149918198586, 0.014529903419315815, -0.002598213730379939 ]
[ -0.07910294830799103, 0.02135809138417244, -0.007774493657052517, -0.019669532775878906, 0.03865040838718414, -0.019869009032845497, 0.005683451890945435, 0.02033776417374611, -0.003536661621183157, -0.0226290263235569, 0.004012881312519312, 0.009651281870901585, -0.008344723843038082, -0.021023007109761238, 0.025597499683499336, 0.013342129066586494, 0.016792109236121178, -0.095631904900074, 0.04366939142346382, 0.0450492687523365, 0.006171413231641054, -0.025330597534775734, -0.022665442898869514, -0.00402785325422883, 0.01814880780875683, 0.03210131451487541, 0.022941550239920616, -0.027920864522457123, -0.004268558230251074, -0.17022165656089783, -0.017200857400894165, 0.01701316423714161, 0.046069346368312836, -0.021757440641522408, 0.002716301241889596, 0.06572908908128738, 0.014295137487351894, 0.04112881049513817, 0.005737419240176678, 0.056914523243904114, 0.0067059979774057865, 0.005720740649849176, -0.041946522891521454, -0.033894848078489304, 0.019032875075936317, 0.023330511525273323, 0.023017415776848793, -0.06100841984152794, -0.014472052454948425, 0.022346923127770424, -0.039216574281454086, -0.03218092396855354, -0.012366066686809063, -0.018477080389857292, -0.03352067992091179, 0.029529593884944916, 0.03314821794629097, 0.029812321066856384, -0.028323229402303696, 0.00401582196354866, 0.029514886438846588, -0.03130501136183739, -0.13633513450622559, 0.06525413691997528, 0.025905024260282516, 0.04466220363974571, -0.06297368556261063, -0.01622365415096283, -0.03459804877638817, 0.09095095843076706, 0.008900823071599007, -0.04492940753698349, -0.022119177505373955, 0.0366278775036335, 0.021033046767115593, 0.017300192266702652, 0.010710407048463821, 0.01242754328995943, 0.004128984175622463, -0.05089410021901131, -0.012792319059371948, 0.0003723509144037962, -0.03065369836986065, -0.03665975481271744, -0.021071674302220345, -0.004137847572565079, -0.003701025852933526, 0.05404828116297722, 0.038559116423130035, 0.03247955068945885, 0.05575847998261452, 0.0004619589599315077, 0.04073759913444519, -0.011829727329313755, -0.07225830107927322, -0.040042027831077576, 0.0065221162512898445, 0.030053529888391495, -0.0504799410700798, 0.484622061252594, -0.02318900264799595, 0.019880041480064392, 0.0718657448887825, 0.04824147745966911, -0.007489592302590609, -0.003611977444961667, 0.01658244989812374, -0.05686531588435173, 0.015323970466852188, -0.0571260079741478, 0.046903420239686966, 0.038901638239622116, 0.09838972240686417, -0.04297948256134987, 0.015727831050753593, 0.04897323623299599, 0.04004914313554764, 0.030598681420087814, 0.021787172183394432, -0.034800365567207336, -0.00029353995341807604, -0.0021672919392585754, 0.03869412839412689, -0.013002723455429077, -0.0390460379421711, -0.052538223564624786, 0.02911831997334957, 0.05024632439017296, 0.024901075288653374, -0.0000400820754293818, 0.03885635733604431, -0.05638457462191582, -0.06430301815271378, 0.0005725141963921487, -0.016797242686152458, -0.006862633395940065, 0.03752916678786278, -0.009616727009415627, 0.027694107964634895, 0.04388875514268875, 0.029526319354772568, -0.020557930693030357, 0.017723433673381805, -0.016573401167988777, -0.05090010166168213, 0.13009701669216156, -0.00517812417820096, -0.030014274641871452, -0.01634318381547928, -0.03785193711519241, 0.0010429685935378075, 0.01777821220457554, 0.0024745019618421793, -0.04631892219185829, 0.042426448315382004, 0.0026006572879850864, 0.07321209460496902, -0.006961360108107328, -0.06595337390899658, 0.008834642358124256, 0.023119844496250153, -0.044203195720911026, -0.060663651674985886, 0.030617432668805122, 0.06881650537252426, -0.0955546498298645, -0.010189671069383621, -0.012001384980976582, 0.0273954626172781, -0.07234954088926315, 0.0028895277064293623, 0.005775518249720335, -0.013793068006634712, 0.01710546761751175, 0.057921264320611954, -0.01944771036505699, -0.01026996411383152, 0.01504762563854456, 0.03125380352139473, 0.01616392657160759, 0.031165145337581635, 0.01660154014825821, -0.036306846886873245, 0.012745204381644726, -0.028349848464131355, -0.06566593050956726, -0.05101243779063225, -0.016048161312937737, -0.01661100424826145, 0.006744818761944771, -0.0293149221688509, -0.03140311315655708, -0.07147704064846039, 0.11328999698162079, -0.04629947990179062, -0.0030000130645930767, 0.007055181544274092, 0.004314524121582508, -0.029351424425840378, -0.036701228469610214, -0.061654750257730484, 0.005092085339128971, -0.035536766052246094, 0.04662993550300598, -0.05526212602853775, 0.05693211033940315, 0.03752286732196808, -0.045355889946222305, 0.10416865348815918, 0.06261327117681503, -0.040922150015830994, -0.051180530339479446, 0.035927481949329376, 0.02816028520464897, 0.01910235732793808, -0.015910152345895767, -0.002922382205724716, 0.026414593681693077, 0.01936001516878605, -0.0022781926672905684, 0.0003064037882722914, 0.0352892130613327, -0.027018951252102852, -0.34895768761634827, -0.0334060974419117, -0.01780453696846962, 0.013361935503780842, 0.02068338915705681, -0.02707081474363804, 0.028131946921348572, -0.03391400724649429, -0.03929204121232033, -0.0026272761169821024, 0.025963475927710533, -0.02751694619655609, -0.005233806557953358, -0.0854421854019165, 0.005685480311512947, 0.026583142578601837, -0.06309305131435394, -0.025667058303952217, -0.009772276505827904, 0.006802261807024479, 0.015970230102539062, -0.00415215827524662, -0.03527409955859184, -0.03729595988988876, -0.007910038344562054, -0.05820976197719574, 0.08068952709436417, 0.0041282568126916885, 0.04694126546382904, -0.0309598371386528, 0.00870223343372345, -0.003115226747468114, 0.043269068002700806, -0.10159323364496231, 0.023600392043590546, -0.025729460641741753, -0.015427549369633198, -0.022631311789155006, 0.003859516466036439, -0.05592116340994835, -0.04678264632821083, 0.029401835054159164, -0.07785829901695251, -0.01993543468415737, -0.07485435158014297, -0.02157890610396862, -0.0407673604786396, -0.021007653325796127, -0.031121497973799706, 0.0722951665520668, 0.02120264060795307, 0.0011189375072717667, 0.021270178258419037, 0.008353477343916893, 0.021873800083994865, -0.04856313019990921, -0.0917830690741539, 0.0023934098426252604, -0.008780601434409618, -0.003115537343546748, 0.01284906268119812, 0.05993414297699928, 0.04141607880592346, -0.05353138595819473, -0.005548803135752678, 0.007443624082952738, -0.013466252945363522, 0.008910879492759705, 0.039278700947761536, -0.027673080563545227, -0.0012395278317853808, 0.09436473250389099, 0.0035973868798464537, -0.04578632116317749, 0.01054702140390873, 0.05106062442064285, -0.04023262858390808, 0.015417182818055153, 0.01532905362546444, -0.022424789145588875, 0.011637941002845764, -0.02487281896173954, 0.021392105147242546, -0.012245537713170052, -0.008712122216820717, 0.03848094120621681, -0.021191734820604324, -0.031215159222483635, 0.0635727122426033, 0.012804890982806683, -0.013918247073888779, 0.006040030624717474, -0.01535897608846426, -0.037364959716796875, 0.0910298153758049, 0.013476046733558178, -0.22286945581436157, 0.018860241398215294, 0.04939396306872368, 0.04670543223619461, -0.0037159475032240152, 0.05126927047967911, -0.0008352615404874086, -0.06206638738512993, 0.031814590096473694, 0.017007870599627495, 0.02587323822081089, 0.025535305961966515, 0.006586517672985792, -0.014897064305841923, 0.02937847189605236, -0.0029283093754202127, 0.03346739336848259, -0.020675763487815857, 0.01371864601969719, -0.004130990710109472, 0.0018464310560375452, 0.0036994724068790674, 0.12101342529058456, 0.013253100216388702, 0.02050510048866272, 0.008906863629817963, 0.001331391162239015, 0.023316696286201477, 0.06909333169460297, -0.000005940222308709053, 0.009156976826488972, -0.048911843448877335, 0.021347438916563988, 0.0015810532495379448, 0.0076365103013813496, -0.080201655626297, -0.02238755114376545, 0.008216007612645626, 0.024107156321406364, 0.01183044258505106, 0.02632669173181057, -0.016961850225925446, -0.014037336222827435, 0.03556602820754051, 0.061490852385759354, 0.013465802185237408, 0.006464967504143715, -0.04001244157552719, -0.05998874455690384, -0.015449789352715015, -0.015395180322229862, -0.026607263833284378, -0.0064311157912015915, -0.0031334240920841694, 0.020546069368720055, 0.07609979063272476, 0.04827127978205681, -0.013752155005931854, 0.012332551181316376, -0.005148166790604591, -0.04577505961060524, 0.005959082394838333, 0.11201441287994385, 0.05320558324456215, 0.033904433250427246 ]
[ 0.02206004597246647, 0.012653094716370106, 0.005221663974225521, -0.021623527631163597, 0.024486519396305084, 0.019146310165524483, -0.019037557765841484, 0.002854994498193264, 0.0026363995857536793, 0.03483099862933159, -0.007171588484197855, -0.009290371090173721, 0.012206988409161568, -0.011529418639838696, -0.000186664896318689, -0.021859366446733475, 0.02327878214418888, -0.01720261573791504, 0.02339385449886322, 0.014860933646559715, -0.0054029012098908424, 0.005002135876566172, 0.017634009942412376, 0.0017133938381448388, -0.02486742101609707, 0.010435644537210464, -0.029434487223625183, 0.0031524833757430315, 0.031934693455696106, -0.1362309604883194, -0.002402340294793248, -0.02047361433506012, -0.0007981735398061574, 0.003405924653634429, 0.015140367671847343, -0.0003742649860214442, -0.030116157606244087, 0.02628549188375473, -0.022075610235333443, 0.02542477659881115, -0.02590365707874298, -0.022347399964928627, -0.01048661395907402, -0.011637795716524124, 0.021045761182904243, -0.007973291911184788, -0.0155711704865098, -0.047982849180698395, -0.0046409727074205875, -0.02458459511399269, 0.006782423704862595, -0.007238255348056555, -0.009226166643202305, 0.0029464580584317446, -0.010343056172132492, -0.027936819940805435, 0.033160462975502014, -0.030125748366117477, -0.020047973841428757, -0.009147197008132935, 0.017429053783416748, 0.01303496491163969, -0.042654987424612045, -0.04771081730723381, -0.020008869469165802, 0.014420490711927414, -0.012419426813721657, -0.002458197996020317, -0.004365384578704834, 0.02017276920378208, -0.031748827546834946, 0.01154349371790886, -0.0003995972510892898, -0.02003036066889763, -0.018473681062459946, 0.001787064946256578, 0.021523896604776382, -0.006932741031050682, 0.011230479925870895, -0.014488210901618004, -0.009414435364305973, 0.013481341302394867, -0.004020985681563616, -0.02087513916194439, -0.01005683932453394, -0.014907167293131351, -0.0011942475102841854, -0.009531497955322266, 0.02045281045138836, 0.01248729508370161, -0.0075931488536298275, 0.01550369244068861, 0.03518028184771538, 0.020504022017121315, -0.08122231811285019, 0.009508353658020496, -0.03610799461603165, -0.005819056183099747, 0.014289733953773975, 0.8569454550743103, -0.0065610371530056, 0.018548203632235527, 0.013107758946716785, 0.020492706447839737, 0.008780462667346, -0.003036722308024764, 0.018320251256227493, -0.0141218863427639, -0.03471065312623978, -0.0217019971460104, 0.004774321801960468, 0.012940673157572746, 0.02999555692076683, -0.0015537028666585684, 0.029224567115306854, 0.012862211093306541, -0.01581699401140213, 0.007820251397788525, -0.0010125349508598447, 0.006349548697471619, 0.06283871084451675, 0.0042068492621183395, 0.04165436699986458, -0.014867575839161873, -0.0014784381492063403, -0.16924944519996643, 0.03310780972242355, -7.738039804489139e-33, 0.0717502236366272, -0.009765202179551125, -0.013308596797287464, 0.01868760958313942, 0.010382680222392082, 0.0035042492672801018, 0.0012879353016614914, 0.011944279074668884, 0.014761588536202908, -0.026573242619633675, 0.02953518182039261, -0.02532942406833172, 0.037972353398799896, -0.023813068866729736, 0.0410727933049202, -0.02667386084794998, -0.014574226923286915, 0.04119217023253441, -0.039584141224622726, -0.004415956325829029, 0.00823528878390789, -0.01144197303801775, -0.009772556833922863, 0.0036093771923333406, 0.011483339592814445, 0.04816126823425293, 0.006028395611792803, -0.0088783148676157, -0.0023585467133671045, -0.038858141750097275, -0.028372516855597496, 0.03910170495510101, -0.015002925880253315, -0.017372047528624535, 0.015988130122423172, -0.029392801225185394, -0.041144959628582, 0.014929358847439289, 0.0027664920780807734, -0.03414538502693176, -0.052883438766002655, 0.012154720723628998, -0.005544274114072323, 0.003129652002826333, 0.008686148561537266, 0.015401393175125122, 0.002478070557117462, 0.003089191857725382, 0.0013369997031986713, -0.01044569630175829, -0.0028355650138109922, 0.009071738459169865, 0.001698918640613556, -0.019953494891524315, -0.031958941370248795, 0.00441115302965045, 0.010742436163127422, 0.032195910811424255, -0.015391888096928596, -0.013127055950462818, 0.016232749447226524, 0.013165963813662529, -0.015280107036232948, 0.018488701432943344, -0.003222590545192361, -0.015603100880980492, 0.014207984320819378, -0.0025242180563509464, 0.04739007353782654, -0.0032097555231302977, -0.0805836021900177, 0.02247622422873974, 0.008776970207691193, -0.017480693757534027, -0.02358352579176426, 0.005176084116101265, 0.008181426674127579, 0.03019534796476364, -0.037949830293655396, 0.02680319733917713, -0.0196443609893322, 0.014370650053024292, -0.02635231614112854, -0.02912573330104351, 0.010434044525027275, 0.0046757543459534645, 0.006162362173199654, 0.03437364101409912, -0.0011407762067392468, 0.011141123250126839, 0.04010191559791565, -0.012825186364352703, 0.024323146790266037, 0.018532663583755493, -0.0420333631336689, 8.123687909583253e-33, 0.006287361029535532, -0.011983308009803295, -0.026255924254655838, 0.0037838576827198267, 0.015671662986278534, -0.0067599001340568066, -0.008085562847554684, -0.007007081527262926, -0.06375893950462341, 0.027489054948091507, -0.01532453577965498, -0.003834319766610861, -0.03247593343257904, 0.05791958048939705, 0.0493883341550827, -0.03461673855781555, 0.017442910000681877, -0.007565596140921116, -0.001377440756186843, 0.011849410831928253, 0.047493401914834976, 0.010057061910629272, -0.0392715260386467, 0.00030644822982139885, 0.03506363928318024, 0.05775800719857216, -0.007554461248219013, -0.01635078154504299, 0.003420600900426507, -0.009455464780330658, -0.017697308212518692, -0.0006190340500324965, 0.023813767358660698, 0.010075637139379978, -0.0052762930281460285, -0.0011835535988211632, 0.008954610675573349, -0.02557109296321869, -0.03574436157941818, -0.016915438696742058, 0.0029923811089247465, 0.04288517311215401, 0.0010179734090343118, 0.006017664913088083, 0.006235398817807436, -0.0005749950069002807, 0.011505160480737686, 0.006015555001795292, -0.024815460667014122, 0.018103357404470444, -0.005991553422063589, -0.014041942544281483, -0.004911766853183508, 0.0008281094487756491, 0.037995774298906326, -0.0317634642124176, -0.016867099329829216, -0.04045560583472252, 0.001265740254893899, 0.005844153929501772, -0.006071385461837053, 0.034163326025009155, -0.016948450356721878, -0.0003535167779773474, -0.007560709025710821, 0.009511986747384071, -0.033706508576869965, -0.02826589345932007, -0.035984791815280914, -0.00818639900535345, -0.007911354303359985, -0.003060620976611972, 0.005325336009263992, 0.03316500037908554, 0.02813575603067875, -0.0290629081428051, -0.04014349356293678, 0.008230986073613167, -0.03884388878941536, 0.02755516581237316, -0.020915815606713295, -0.015002164989709854, 0.013055471703410149, 0.032864537090063095, -0.016867825761437416, -0.0005456256913021207, 0.0008284702780656517, 0.015482494607567787, 0.011493753641843796, -0.006660838611423969, -0.016062133014202118, -0.04380907118320465, 0.010585349053144455, -0.0074640437960624695, 0.00446598744019866, -1.3440954127474924e-8, 0.0012678381754085422, 0.027767663821578026, -0.030948033556342125, 0.018506893888115883, 0.03784642741084099, -0.012860271148383617, -0.02645687758922577, -0.010437528602778912, -0.014042750000953674, 0.02936507761478424, 0.049049217253923416, -0.02188638411462307, 0.01709672063589096, -0.01278422586619854, 0.04465774446725845, -0.02165227010846138, -0.01197907142341137, 0.023227594792842865, 0.020310910418629646, 0.02182483859360218, 0.026034599170088768, 0.06316711008548737, -0.012708613649010658, 0.02159726619720459, 0.02959568426012993, 0.023365400731563568, 0.011762364767491817, -0.08322085440158844, 0.0025258264504373074, 0.001140144420787692, 0.00703148590400815, -0.016891036182641983, -0.004482225514948368, 0.020167067646980286, -0.029849231243133545, -0.02771904319524765, 0.0410124771296978, 0.017684990540146828, 0.021572578698396683, 0.0190652534365654, -0.005726974457502365, -0.0225625392049551, -0.009860041551291943, -0.02619125321507454, -0.0131903775036335, 0.028294483199715614, -0.05255541950464249, -0.0377141498029232, -0.021998029202222824, -0.04741092026233673, -0.022910449653863907, -0.03673408180475235, 0.0517236590385437, 0.08464934676885605, 0.015402673743665218, -0.015038586221635342, 0.01438633631914854, -0.005175606347620487, -0.0018419589614495635, -0.006160376127809286, 0.028192240744829178, 0.021745892241597176, 0.011241246946156025, -0.015082322992384434 ]
retrospectives-an-alternative-safety-check
https://markhneedham.com/blog/2012/10/27/retrospectives-an-alternative-safety-check
false
2012-10-10 23:28:40
Varnish: Purging the cache
[ "software-development", "varnish" ]
[ "Software Development" ]
We're using https://www.varnish-cache.org/[varnish] to cache all the requests that come through our web servers and especially in our pre-production environments we deploy quite frequently and want to see the changes that we've made. This means that we need to purge the pages we're accessing from varnish so that it will actually pass the request through to the application server and serve up the latest version of the page. For some reason my google-fu when trying to remember/work out how to do this has always been weak but my colleague http://www.linkedin.com/pub/shodhan-sheth/2/277/287[Shodhan] helped me understand how to do this today so I thought I better record it so I don't forget! The way we've configured varnish to allow us to purge entries is similar to that described on the https://www.varnish-cache.org/docs/trunk/users-guide/purging.html[purging and banning page]. We have the following code in our +++<cite>+++/etc/varnish/default.vcl+++</cite>+++: [source,text] ---- acl purge_acl { "localhost"; } # purge individual URLs from the cache if(req.request == "PURGE") { if(!client.ip ~ purge_acl) { error 405 "Not allowed"; } else { purge("req.url == " req.url); error 200 "Purged"; } } ---- We only allow purging to be done if you're on the machine i.e. your IP needs to be localhost and if you pass a request method of 'PURGE' that will remove that specific URL from varnish. Any requests made will go first through nginx before being passed onto varnish. If we start off with a URL which is already cached: [source,text] ---- $ curl --insecure -I -H "Host: www.realhostgoeshere.com" https://localhost HTTP/1.1 200 OK Server: nginx Date: Wed, 10 Oct 2012 23:21:36 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12929 Connection: keep-alive Vary: Accept-Encoding Vary: Accept-Encoding Vary: Accept-Encoding Status: 200 OK Cache-Control: max-age=1800, public X-UA-Compatible: IE=Edge,chrome=1 ETag: "9b2569322b89a71aca8c67f5f2b3a873" X-Request-Id: 9c783ff4386fa9a7937f31d22854dcc8 X-Varnish: 1045982044 1045982042 Via: 1.1 varnish age: 0 X-Cache: HIT Strict-Transport-Security: max-age=2419200 ---- We can see that we got a varnish cache hit based on the 'X-Cache' header returned on the second last line. To purge the cache for the root URL we'd do this: [source,text] ---- $ curl --insecure -I -H "Host: www.realhostgoeshere.com" https://localhost -X PURGE HTTP/1.1 200 Purged Server: nginx Date: Wed, 10 Oct 2012 23:22:46 GMT Content-Type: text/html; charset=utf-8 Content-Length: 449 Connection: keep-alive Vary: Accept-Encoding Retry-After: 0 X-Varnish: 1045982047 Age: 0 Via: 1.1 varnish X-Cache: MISS Strict-Transport-Security: max-age=2419200 ---- The 200 response code tells us that we were successful with our purging although from my brief experiments it seems like you would get that response code even if you purged a URL that didn't exist! If we hit that URL again: [source,text] ---- curl --insecure -I -H "Host: www.realhostgoeshere.com" https://localhost HTTP/1.1 200 OK Server: nginx Date: Wed, 10 Oct 2012 23:23:17 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12929 Connection: keep-alive Vary: Accept-Encoding Vary: Accept-Encoding Vary: Accept-Encoding Status: 200 OK Cache-Control: max-age=1800, public X-UA-Compatible: IE=Edge,chrome=1 ETag: "9b2569322b89a71aca8c67f5f2b3a873" X-Request-Id: bfcf1568382ce42ee0f9d4245b23f5cd X-Varnish: 1045982048 Via: 1.1 varnish age: 0 X-Cache: MISS Strict-Transport-Security: max-age=2419200 ---- We can see that it's been purge and varnish therefore had to go and request the page from the application server. If we hit it one more time we can see that it's now cached again! [source,text] ---- curl --insecure -I -H "Host: www.realhostgoeshere.com" https://localhost HTTP/1.1 200 OK Server: nginx Date: Wed, 10 Oct 2012 23:26:43 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12929 Connection: keep-alive Vary: Accept-Encoding Vary: Accept-Encoding Vary: Accept-Encoding Status: 200 OK Cache-Control: max-age=1800, public X-UA-Compatible: IE=Edge,chrome=1 ETag: "9b2569322b89a71aca8c67f5f2b3a873" X-Request-Id: bfcf1568382ce42ee0f9d4245b23f5cd X-Varnish: 1045982050 1045982048 Via: 1.1 varnish age: 0 X-Cache: HIT Strict-Transport-Security: max-age=2419200 ----
null
null
[ 0.020989950746297836, -0.003970693331211805, 0.00302920863032341, 0.018621893599629402, 0.07480373233556747, -0.03365647792816162, 0.03418680652976036, 0.03865097835659981, 0.005242238752543926, -0.014506771229207516, -0.023796847090125084, -0.00994014646857977, -0.059404946863651276, 0.027545597404241562, 0.007571536116302013, 0.05937995761632919, 0.06415566802024841, -0.004195566289126873, 0.022266384214162827, -0.0069447779096663, 0.03642677888274193, 0.05115580931305885, 0.009234074503183365, 0.040720824152231216, 0.03026728890836239, 0.04694656282663345, 0.0003741811669897288, 0.010728936642408371, -0.07120941579341888, -0.0161250289529562, 0.05213876813650131, -0.010340430773794651, 0.023432796820998192, -0.012288701720535755, 0.04054566100239754, -0.010052423924207687, -0.0009302702383138239, 0.0038504016119986773, -0.00844651274383068, 0.04682126268744469, -0.0765383169054985, 0.022417031228542328, -0.022925278171896935, -0.009987276047468185, -0.023448502644896507, 0.010910679586231709, 0.000468853599159047, 0.011870001442730427, 0.010137549601495266, -0.025620926171541214, -0.07104437053203583, 0.032607726752758026, 0.0019272310892120004, -0.0028952816501259804, -0.013297352939844131, 0.043797414749860764, 0.0069246431812644005, -0.04768991097807884, 0.02362925373017788, -0.04294659197330475, -0.018459757789969444, 0.003836377989500761, 0.004932970739901066, 0.03989646956324577, 0.017388859763741493, 0.0017127860337495804, 0.014209449291229248, 0.055804237723350525, -0.03639505058526993, -0.019806377589702606, 0.03224354609847069, -0.0018885565223172307, -0.0350152924656868, 0.02437417209148407, 0.010016045533120632, 0.0030609925743192434, 0.003488476388156414, 0.03421642258763313, -0.0004714005335699767, 0.07834547013044357, -0.02749125473201275, -0.009871994145214558, 0.012536128982901573, 0.03528035432100296, -0.007135613355785608, -0.05031199008226395, -0.05782202631235123, 0.01658816635608673, -0.0166818555444479, 0.04534406214952469, 0.031461283564567566, -0.03741121664643288, 0.025221051648259163, 0.008278974331915379, 0.001810775836929679, -0.027499455958604813, 0.038368966430425644, -0.006794719025492668, 0.010344902984797955, 0.0026053099427372217, -0.027666574344038963, -0.02336742915213108, 0.01021511759608984, 0.02120812050998211, -0.06720448285341263, 0.025501307100057602, -0.04398621246218681, -0.007796466816216707, -0.016025491058826447, -0.03703220933675766, -0.006831374950706959, 0.02848726138472557, -0.03165903687477112, 0.02083669789135456, -0.06893127411603928, 0.08193153142929077, -0.0025280253030359745, -0.04625888913869858, 0.04012734070420265, 0.02930319309234619, 0.048228707164525986, 0.02867266722023487, -0.022573720663785934, 0.06742177903652191, 0.013722795061767101, 0.019593076780438423, 0.04063507169485092, 0.04897908866405487, -0.025626711547374725, -0.0804734006524086, 0.011011685244739056, 0.055284108966588974, 0.018702032044529915, 0.008061811327934265, -0.03381090238690376, -0.028752781450748444, -0.036278001964092255, -0.014661994762718678, 0.0800413191318512, 0.015742836520075798, -0.027478408068418503, -0.026565641164779663, -0.015979724004864693, -0.012165517546236515, 0.05899467691779137, -0.019321586936712265, 0.01174957025796175, -0.04273776337504387, -0.031002143397927284, 0.00012603073264472187, 0.03552302345633507, 0.0344405323266983, 0.05156000703573227, -0.0668194368481636, 0.0066483463160693645, 0.07448883354663849, 0.025791138410568237, 0.02553008496761322, -0.02994798682630062, -0.008845869451761246, 0.016724348068237305, 0.05429677292704582, -0.020847827196121216, 0.079770527780056, -0.003445310052484274, 0.007943584583699703, -0.045274488627910614, 0.060701820999383926, 0.029948296025395393, -0.02358131669461727, -0.08540086448192596, -0.03447800129652023, 0.07681253552436829, -0.05470419302582741, -0.00902960728853941, 0.05696086958050728, 0.06101372092962265, 0.03386728838086128, 0.02710392139852047, -0.00391786964610219, -0.07098984718322754, 0.026988038793206215, 0.009755861014127731, 0.02645532228052616, 0.00760994479060173, -0.014378986321389675, 0.08395083993673325, 0.04958813264966011, 0.047153133898973465, 0.04874509945511818, -0.10101725906133652, -0.034861281514167786, -0.04076766595244408, 0.017197955399751663, 0.045574866235256195, 0.001995319500565529, -0.001373868784867227, 0.09875072538852692, 0.022244086489081383, 0.06166655197739601, 0.009355556219816208, 0.013263450004160404, 0.03141523525118828, -0.0788465216755867, -0.07616842538118362, 0.031115293502807617, 0.0024934581015259027, -0.0222130436450243, -0.014181268401443958, 0.009378757327795029, -0.026451099663972855, 0.003369520651176572, 0.016369210556149483, -0.023113328963518143, 0.005787682253867388, -0.008778848685324192, 0.013506186194717884, -0.03189365193247795, 0.07363549619913101, -0.04680537432432175, 0.044156353920698166, 0.0022427255753427744, -0.014759764075279236, 0.017052117735147476, 0.0030469344928860664, 0.09825081378221512, 0.05258600413799286, -0.009330027736723423, -0.024718180298805237, 0.00976234395056963, 0.013994697481393814, -0.050399232655763626, -0.023747233673930168, -0.017446652054786682, -0.006198788061738014, 0.03070194460451603, -0.028566446155309677, -0.008023100905120373, 0.02204960584640503, -0.04153106361627579, -0.0018380527617409825, 0.06368754804134369, 0.011831779964268208, 0.059331703931093216, 0.015837354585528374, -0.017363794147968292, -0.021651379764080048, -0.0319683700799942, -0.04609106108546257, 0.007689640391618013, 0.04156725853681564, -0.008058307692408562, 0.010373382829129696, -0.03837139904499054, -0.014917774125933647, -0.03199142590165138, -0.060126788914203644, 0.036283109337091446, 0.021719763055443764, 0.04847509786486626, -0.019453437998890877, 0.0693058893084526, -0.010041499510407448, 0.006216963287442923, 0.0034800320863723755, -0.04014602303504944, -0.040446724742650986, -0.021140143275260925, 0.02088240347802639, 0.01184684969484806, 0.019379163160920143, -0.013697166927158833, 0.0085030198097229, -0.005998572800308466, 0.004088078159838915, -0.03210939094424248, 0.02956397272646427, 0.005288196727633476, 0.010992409661412239, -0.013356223702430725, -0.02740732952952385, 0.025012973695993423, -0.05324919521808624, -0.030587447807192802, -0.02738252282142639, -0.08891967684030533, 0.06881102919578552, -0.038937438279390335, -0.07729379087686539, -0.008923528715968132, 0.031797684729099274, 0.015751050785183907, 0.00968494825065136, 0.02614358253777027, 0.05782733112573624, -0.0013393787667155266, -0.004148901905864477, 0.006199430674314499, 0.03108060732483864, 0.016319289803504944, -0.026576248928904533, -0.019693875685334206, 0.0041488842107355595, -0.018483318388462067, -0.03342168778181076, -0.0822906643152237, -0.006334570702165365, -0.050774212926626205, -0.279368132352829, 0.0549546517431736, 0.018281549215316772, -0.03948225453495979, 0.0330524779856205, -0.00226109242066741, 0.007192044053226709, -0.04952187463641167, -0.03244229406118393, 0.019043222069740295, -0.001416240120306611, -0.028799718245863914, 0.026363706216216087, 0.03673558309674263, -0.020889749750494957, 0.03720530867576599, 0.01677335985004902, -0.037158459424972534, 0.014540457166731358, -0.010319165885448456, -0.014070381410419941, -0.06231106072664261, 0.012248057872056961, -0.0027237969916313887, 0.023908784613013268, 0.08003569394350052, -0.04850419983267784, 0.05587485805153847, -0.03541449084877968, -0.008921775035560131, 0.03353530168533325, -0.01762532815337181, 0.01604965329170227, -0.0025130596477538347, -0.039292238652706146, -0.013630121946334839, 0.05070457234978676, 0.0086509445682168, 0.013400188647210598, -0.013879195787012577, -0.026422329246997833, -0.03538919985294342, -0.02033253014087677, 0.010954206809401512, 0.08279464393854141, -0.0023691412061452866, -0.06449630856513977, -0.01820708066225052, -0.007731173653155565, 0.06060049682855606, -0.030412958934903145, -0.05967005342245102, -0.00356216705404222, 0.047506775707006454, -0.03265538439154625, -0.01589268632233143, -0.01609368436038494, -0.01711326278746128, -0.04447782784700394, -0.04155919328331947, -0.0034277045633643866, -0.01771622709929943, -0.02066732384264469, -0.06677631288766861, 0.00017339402984362096, -0.04240414872765541, -0.03338801860809326, -0.037333302199840546, 0.08804498612880707, 0.01691415347158909, -0.009650361724197865, 0.013137707486748695, -0.02400750108063221, -0.1038704663515091, -0.004587575327605009, -0.051929302513599396, -0.056245334446430206, 0.029492687433958054, -0.020630886778235435, 0.03683217614889145, -0.03734968230128288, -0.0174051895737648, 0.00665613217279315, 0.01941351592540741, 0.018603501841425896, -0.039250023663043976, 0.03723037987947464, -0.012287463992834091, -0.029423968866467476, -0.004437971394509077, 0.09354940801858902, -0.001482287305407226, -0.03599414601922035, -0.03315386176109314, -0.006872956641018391, 0.022947663441300392, -0.0015588755486533046, 0.011208569630980492, 0.01178084034472704, 0.046719666570425034, 0.06568737328052521, -0.054659854620695114, 0.03744719922542572, -0.03397092968225479, -0.0034911346156150103, 0.018195923417806625, -0.01419330108910799, 0.03673170134425163, 0.02374299429357052, 0.008448625914752483, -0.014690697193145752, -0.023850688710808754, 0.022038033232092857, -0.04446716234087944, -0.051521189510822296, 0.002802537987008691, 0.021683478727936745, 0.015008104965090752, 0.024185117334127426, -0.048209480941295624, -0.04483448341488838, 0.013592734932899475, 0.037243425846099854, 0.002536920364946127, -0.021317943930625916, -0.04037107527256012, 0.022498974576592445, 0.019440706819295883, 0.0503232404589653, 0.040059734135866165, -0.006270579528063536, 0.0014091511256992817, 0.013233908452093601, -0.063041552901268, 0.0195911955088377, -0.01469353400170803, -0.022668257355690002, -0.03557460010051727, 0.016902951523661613, 0.014659974724054337, -0.01626112498342991, 0.00035167159512639046, 0.013590415939688683, 0.04269317910075188, 0.06128808483481407, 0.008284689858555794, 0.04154765233397484, -0.028336863964796066, 0.007461945526301861, 0.0029093693010509014, -0.004282043315470219, -0.04080089554190636, 0.00690211309120059, -0.031205035746097565, -0.011347333900630474, -0.03722834959626198, 0.02051294967532158, -0.011679048649966717, -0.0363900400698185, -0.014479242265224457, -0.009639846161007881, -0.08301427215337753, -0.04483982175588608, -0.0044750855304300785, -0.0609285868704319, 0.014731655828654766, -0.023697232827544212, 0.021098732948303223, 0.011033368296921253, -0.0007438883185386658, 0.01604299619793892, 0.033711060881614685, -0.03269762918353081, 0.0004359291633591056, 0.01188875362277031, -0.008031714707612991, -0.004071015398949385, 0.043923985213041306, 0.00860863458365202, 0.00952825602144003, 0.0036478727124631405, -0.0023935844656080008, 0.02361786924302578, 0.013198694214224815, 0.04047252610325813, -0.012803152203559875, -0.02314080111682415, 0.018559018149971962, -0.021745063364505768, 0.008377539925277233, -0.016636501997709274, -0.025129280984401703, -0.023949604481458664, -0.01168021373450756, 0.009247067384421825, -0.09307992458343506, 0.03643879294395447, 0.022654563188552856, 0.005315948743373156, 0.01626621186733246, 0.018930617719888687, 0.012648066505789757, -0.03402978181838989, 0.022989919409155846, 0.006190750747919083, -0.050412096083164215, 0.022675389423966408, 0.0030369090382009745, 0.006535664666444063, 0.01275189220905304, 0.01590350642800331, -0.04061095416545868, 0.0024032897781580687, 0.005525672342628241, 0.048298198729753494, -0.03233763575553894, -0.05726826190948486, -0.011734582483768463, 0.024023165926337242, 0.0054112887009978294, 0.022611752152442932, 0.00038579158717766404, -0.009099956601858139, 0.023102669045329094, -0.03751063719391823, 0.025647368282079697, -0.020416192710399628, -0.0356004573404789, 0.0035028760321438313, -0.035281188786029816, 0.012961646541953087, -0.022757714614272118, 0.039429325610399246, -0.0019251980120316148, -0.011989113874733448, -0.00309286848641932, -0.0027993221301585436, 0.007415184751152992, -0.01829744502902031, 0.046422798186540604, -0.018396414816379547, 0.0008349312702193856, -0.0345425084233284, -0.01053318940103054, 0.0041761938482522964, 0.014065086841583252, -0.020631836727261543, -0.011983953416347504, 0.04172514006495476, 0.06303374469280243, 0.014669226482510567, 0.013261083513498306, 0.009181685745716095, -0.04463666304945946, 0.06343764066696167, -0.05947070196270943, -0.0360632948577404, -0.025882117450237274, -0.03496721386909485, 0.043669216334819794, 0.015931064262986183, 0.023496275767683983, -0.05031643807888031, 0.017855916172266006, 0.03493591025471687, 0.002458669478073716, 0.029238520190119743, -0.0078066750429570675, 0.02413449063897133, -0.027411768212914467, -0.022760314866900444, -0.09845101088285446, 0.031105589121580124, 0.015263022854924202, -0.029159924015402794, 0.0043248375877738, 0.012042734771966934, -0.03576792776584625, 0.03320780396461487, -0.06645969301462173, -0.03960515558719635, 0.014221151359379292, -0.002479712711647153, -0.01818470098078251, 0.03795568272471428, -0.06468982249498367, 0.011827952228486538, 0.018203411251306534, -0.0535496361553669, -0.010100327432155609, -0.048314373940229416, 0.05604314059019089, 0.03163657709956169, 0.01614963635802269, -0.05330057442188263, -0.006233641877770424, 0.06695164740085602, 0.020102553069591522, -0.007455181330442429, 0.062311671674251556, -0.0005555277457460761, 0.005039455369114876, 0.01135301124304533, -0.018848879262804985, 0.011349780485033989, 0.018381740897893906, -0.008788663893938065, -0.04451129958033562, 0.030718490481376648, -0.022837212309241295, -0.028067126870155334, -0.04089898616075516, 0.058253344148397446, -0.011956706643104553, -0.025256332010030746, -0.06987336277961731, 0.03614130616188049, -0.039742931723594666, -0.0491633303463459, -0.027125820517539978, 0.03111417591571808, -0.032568152993917465, 0.0751929059624672, 0.0031197022181004286, 0.02807602845132351, 0.05762707069516182, -0.023318981751799583, -0.006971788126975298, -0.0035985750146210194, 0.061861857771873474, 0.07903776317834854, 0.01715804636478424, 0.0061377533711493015, 0.060904596000909805, 0.0013072285801172256, -0.02485390566289425, -0.027580970898270607, -0.04896579682826996, -0.04635298252105713, -0.01412703562527895, 0.009817447513341904, 0.06850496679544449, -0.025307072326540947, 0.05086855590343475, -0.021008167415857315, 0.0028759941924363375, 0.004390290938317776, 0.014661739580333233, 0.05055442452430725, 0.04070378467440605, 0.009165311232209206, 0.02296554110944271, 0.010994397103786469, -0.029338885098695755, 0.033014316111803055, 0.020656442269682884, -0.0412537045776844, 0.011029962450265884, -0.0006561068003065884, 0.010647254064679146, 0.034858670085668564, -0.01820240542292595, 0.05561452731490135, 0.0033107437193393707, -0.01326226070523262, -0.024174638092517853, 0.0010783494217321277, 0.007604334969073534, 0.004743680823594332, -0.021533193066716194, -0.027342073619365692, 0.0076635475270450115, -0.02973219007253647, -0.038949526846408844, -0.0017978050746023655, -0.031102139502763748, 0.03621231019496918, 0.00510918814688921, -0.0065038856118917465, 0.01865054853260517, 0.013798472471535206, -0.04341508820652962, -0.023241832852363586, -0.09301485866308212, -0.03572975844144821, -0.034794241189956665, -0.014834280125796795, 0.016295209527015686, 0.018530499190092087, -0.04348389804363251, -0.022815024480223656, 0.010720566846430302, -0.02475661225616932, 0.04678056016564369, -0.04223483055830002, -0.032198403030633926, 0.018146833404898643, 0.017443733289837837, 0.0328008234500885, 0.00199753581546247, 0.03923942521214485, -0.008545313961803913, 0.007772135082632303, -0.02470836602151394, -0.014101143926382065, 0.052779585123062134, -0.019108135253190994, 0.009740836918354034, -0.07045631110668182, 0.020436439663171768, -0.005397201050072908, -0.0035418798215687275, -0.07597564905881882, -0.006849032826721668, -0.0037081786431372166, -0.03886491432785988, 0.06011363863945007, -0.04241251200437546, 0.0023564654402434826, -0.04671569913625717, -0.016167551279067993, -0.0008604487520642579, 0.026401763781905174, 0.042145561426877975, 0.00971599854528904, 0.08259154111146927, 0.04490284621715546, -0.018313730135560036, -0.04596010595560074, -0.006356780882924795, -0.023632073774933815, 0.02439017966389656, -0.03813080117106438, -0.011928107589483261, -0.043360501527786255, -0.08195982873439789, -0.05511970445513725, 0.020070189610123634, -0.01316806674003601, -0.04092765599489212, 0.01344681903719902, -0.004949342925101519, -0.05968257784843445, -0.018646763637661934, -0.02667614445090294, 0.02690059319138527, -0.018463004380464554, -0.018342606723308563, -0.0040253205224871635, 0.03274795785546303, 0.016803810372948647, -0.01924567110836506, 0.06498140841722488, -0.020529352128505707, -0.0028118258342146873, -0.005267227999866009, 0.025177599862217903, 0.0573907345533371, -0.01832778938114643, 0.023977436125278473 ]
[ -0.06498225778341293, -0.020265094935894012, -0.005368770100176334, 0.001054974040016532, 0.07319474965333939, -0.07848195731639862, -0.0026069493032991886, -0.020879480987787247, -0.010069471783936024, -0.026493921875953674, -0.0014026231365278363, -0.022804945707321167, 0.01885685883462429, 0.023435277864336967, 0.07018337398767471, 0.021454930305480957, -0.029210081323981285, -0.015374221839010715, -0.05304281413555145, 0.03374281898140907, 0.04011571407318115, -0.025423020124435425, -0.03859619051218033, -0.045675452798604965, -0.0011627915082499385, -0.0015094034606590867, 0.045126646757125854, -0.029837632551789284, 0.0018164636567234993, -0.17655311524868011, 0.01512441411614418, -0.07241331785917282, -0.018689215183258057, -0.022594504058361053, 0.018101483583450317, 0.030483346432447433, 0.020457426086068153, -0.0005962604191154242, 0.016879504546523094, 0.06900674104690552, 0.04943651333451271, 0.04519199952483177, -0.10806695371866226, -0.034835346043109894, 0.02977994829416275, -0.003208202077075839, -0.0031552850268781185, -0.013133175671100616, 0.015768829733133316, 0.02833302691578865, -0.040667686611413956, 0.009774724952876568, -0.007011869456619024, -0.003313882276415825, 0.0016840085154399276, 0.01400038693100214, 0.059665706008672714, 0.04904284328222275, -0.0033123278990387917, 0.04196364805102348, 0.04398007318377495, -0.027134902775287628, -0.1343769133090973, 0.10801424086093903, 0.021003078669309616, 0.051372215151786804, -0.01751059666275978, -0.020618444308638573, -0.032917965203523636, 0.061704717576503754, -0.009334237314760685, 0.006798287853598595, -0.08230400085449219, 0.06828668713569641, 0.025085367262363434, -0.013524445705115795, -0.0034865750931203365, 0.039998944848775864, 0.013912335969507694, -0.043650347739458084, -0.058736227452754974, -0.003716774983331561, 0.010722617618739605, -0.005460073240101337, -0.04689130187034607, 0.015908459201455116, -0.00950584001839161, 0.056160472333431244, 0.040963076055049896, 0.016595982015132904, 0.06898029148578644, -0.016469895839691162, 0.07079910486936569, 0.008159431628882885, -0.09554947912693024, -0.009974616579711437, -0.006273262202739716, 0.08333965390920639, -0.050983015447854996, 0.41018784046173096, -0.01626676321029663, -0.01661544293165207, 0.04179074987769127, -0.02396189421415329, 0.019630424678325653, 0.01028888113796711, 0.018382109701633453, -0.03482305258512497, -0.0044397818855941296, -0.021196585148572922, 0.017155304551124573, -0.017039036378264427, 0.009420369751751423, -0.05704395845532417, 0.020717421546578407, 0.022120382636785507, 0.031054895371198654, 0.0218194667249918, -0.03152443468570709, -0.0011128763435408473, -0.017543084919452667, -0.00299934227950871, 0.037569209933280945, 0.02217204123735428, 0.034284766763448715, 0.00607465161010623, 0.037063390016555786, 0.05934897065162659, 0.021789781749248505, 0.040245428681373596, 0.002883162349462509, -0.04059816151857376, -0.025966854766011238, -0.0018647699616849422, -0.019182901829481125, 0.017067966982722282, 0.020214708521962166, -0.03922751918435097, 0.012388311326503754, 0.015597761608660221, -0.04572928696870804, -0.012882644310593605, 0.013540364801883698, -0.0183275043964386, 0.004240787122398615, 0.09921342134475708, 0.03921135514974594, -0.0582970529794693, -0.028274375945329666, -0.06428789347410202, 0.009460288099944592, 0.05844953656196594, -0.01021807175129652, -0.045830823481082916, 0.010334237478673458, -0.015591156668961048, 0.029551653191447258, 0.005836534313857555, -0.01990884356200695, -0.039304256439208984, -0.009322859346866608, -0.04906241223216057, -0.04070454463362694, 0.015348472632467747, 0.057932984083890915, -0.09516251087188721, -0.04849809780716896, 0.03731829300522804, -0.005944464355707169, -0.05681103840470314, -0.025723228231072426, 0.0007191490149125457, -0.06380511820316315, -0.01808004453778267, 0.05107259377837181, -0.015564939938485622, -0.013987286016345024, -0.004467584192752838, 0.014163699001073837, 0.008046629838645458, -0.034712355583906174, 0.010942031629383564, -0.047225892543792725, 0.023316122591495514, -0.02863794006407261, -0.08373305201530457, -0.024195870384573936, 0.011720452457666397, -0.0012862257426604629, 0.00476981932297349, -0.07580200582742691, -0.04581618309020996, -0.0614132396876812, 0.056412357836961746, 0.027448678389191628, 0.010107981972396374, -0.020216308534145355, -0.0015499457949772477, 0.00045959523413330317, -0.03288653492927551, 0.06173084303736687, 0.025713486596941948, -0.044050637632608414, 0.0365288145840168, -0.04913818836212158, 0.03555327281355858, 0.01248680055141449, -0.032745543867349625, 0.06294087320566177, 0.06260059028863907, -0.052422236651182175, 0.018115023151040077, -0.029977118596434593, 0.02527897246181965, 0.03403675556182861, -0.024056419730186462, 0.0016340635484084487, 0.002091178437694907, 0.03778672218322754, 0.03352922946214676, 0.020031223073601723, -0.031038107350468636, -0.047521162778139114, -0.34014344215393066, -0.009653966873884201, -0.025004127994179726, -0.007504146546125412, 0.06011045724153519, -0.06426307559013367, 0.026675084605813026, -0.01842174492776394, -0.04352961853146553, 0.015325566753745079, 0.07017865777015686, -0.010989729315042496, 0.038599129766225815, -0.05359431728720665, 0.018584227189421654, 0.007254210766404867, -0.0031624059192836285, -0.03146436810493469, -0.022724244743585587, -0.024517398327589035, 0.010758014395833015, -0.06410833448171616, -0.0029648845084011555, -0.06903815269470215, 0.0490618497133255, 0.007024955935776234, 0.11798801273107529, 0.007514330092817545, 0.062066659331321716, -0.061906374990940094, 0.06008955091238022, -0.003610149957239628, 0.0009430631180293858, -0.12365763634443283, -0.01025732234120369, 0.01209196075797081, 0.00782142486423254, 0.010583173483610153, 0.03537401184439659, -0.03800068795681, -0.062316250056028366, 0.006328503135591745, -0.03787774220108986, -0.07200297713279724, -0.0026233778335154057, 0.018149256706237793, -0.030090605840086937, -0.01887500286102295, -0.02814171276986599, 0.051149338483810425, 0.04093867912888527, 0.03375044837594032, 0.013314887881278992, 0.050874095410108566, -0.008346078917384148, -0.025098811835050583, -0.02794853039085865, -0.04562360420823097, 0.016656003892421722, -0.005114130210131407, 0.033293940126895905, 0.044923603534698486, 0.03844815865159035, -0.06753073632717133, 0.022039242088794708, 0.018236763775348663, -0.006700545083731413, 0.017414256930351257, 0.05412788316607475, -0.04383409023284912, -0.055847711861133575, 0.10398466885089874, 0.0013765913899987936, 0.0030235915910452604, -0.024517428129911423, 0.05428969860076904, -0.06549438834190369, 0.025782015174627304, -0.007553845643997192, -0.017950259149074554, 0.04935276880860329, -0.03011305257678032, 0.03777579963207245, -0.029623858630657196, -0.011548717506229877, 0.06875164806842804, -0.07478632777929306, -0.04332664981484413, 0.06311929225921631, 0.026428142562508583, -0.022191353142261505, -0.002981342375278473, -0.04002758115530014, -0.09424741566181183, 0.06403888016939163, 0.015137762762606144, -0.25028106570243835, 0.008780529722571373, 0.08727575838565826, 0.08675114810466766, 0.01873519830405712, 0.009406493976712227, 0.027643296867609024, 0.00291546736843884, 0.041288286447525024, 0.041671451181173325, 0.03550862893462181, 0.03696597367525101, -0.02775736153125763, -0.001361041096970439, 0.03565738722681999, -0.023952605202794075, 0.044530533254146576, 0.0013278921833261847, -0.02291778102517128, 0.01105516403913498, 0.018104637041687965, -0.06692325323820114, 0.16606773436069489, 0.04386438801884651, -0.003963043913245201, -0.00027827834128402174, -0.009616555646061897, 0.02228877879679203, 0.06013336405158043, 0.0008877862128429115, -0.02072018012404442, -0.007294045761227608, 0.019089357927441597, 0.0047700428403913975, 0.039652157574892044, -0.058238495141267776, -0.02274617739021778, 0.036173079162836075, 0.022243967279791832, -0.02955644391477108, -0.04792885482311249, 0.015399795956909657, -0.05274452269077301, 0.06574033945798874, 0.06022488325834274, -0.043884262442588806, 0.004173227120190859, -0.028287498280405998, -0.012360687367618084, -0.004648116882890463, -0.0025092274881899357, -0.021743442863225937, -0.007487230468541384, 0.010914021171629429, 0.029049815610051155, 0.06944823265075684, 0.0101432204246521, -0.04552176967263222, 0.00718105211853981, 0.04936710000038147, 0.005415643099695444, -0.0055887652561068535, 0.07854503393173218, -0.02512691356241703, 0.0222783163189888 ]
[ -0.014310238882899284, 0.03600415587425232, 0.039701297879219055, -0.005211533047258854, -0.02240394428372383, 0.016859637573361397, -0.012961656786501408, -0.027277851477265358, 0.017488349229097366, -0.019713228568434715, -0.02377907745540142, 0.010904708877205849, 0.017705606296658516, -0.015611675567924976, -0.006659284699708223, -0.008838910609483719, 0.016670603305101395, 0.015479364432394505, 0.03256046026945114, -0.012045285664498806, 0.00027269995189271867, 0.050447728484869, 0.004244174342602491, -0.008663831278681755, -0.04157070070505142, -0.0037026377394795418, -0.06359539926052094, 0.008424021303653717, 0.04400750622153282, -0.1205209493637085, -0.02899187244474888, -0.04793086275458336, -0.02815067768096924, 0.024077249690890312, -0.06874452531337738, 0.016322508454322815, -0.020003989338874817, 0.007014875300228596, -0.0030628489330410957, 0.039002276957035065, 0.013425085693597794, -0.010740524157881737, -0.012378737330436707, -0.03918684273958206, 0.03494877368211746, 0.013319984078407288, -0.04185451194643974, -0.00518089858815074, -0.0514446496963501, -0.025507278740406036, -0.007651760708540678, -0.0030509873759001493, -0.012650934047996998, 0.018988972529768944, -0.03681115061044693, -0.0038283183239400387, -0.03542141243815422, -0.02009173482656479, -0.015148450620472431, 0.027835246175527573, 0.0242044385522604, 0.00313795474357903, -0.008891532197594643, -0.04489767551422119, -0.009183741174638271, -0.0261424221098423, 0.0026462068781256676, -0.003402725560590625, -0.014137142337858677, 0.027386484667658806, -0.018286874517798424, 0.024470867589116096, -0.031770553439855576, 0.01218418125063181, 0.01770922727882862, 0.012908595614135265, -0.000681661069393158, -0.0325871966779232, -0.020396731793880463, -0.03174901008605957, -0.022940633818507195, -0.03341715782880783, 0.024565355852246284, 0.014593102037906647, -0.015635868534445763, -0.019169345498085022, 0.024035468697547913, -0.009177406318485737, 0.03351135179400444, -0.018143637105822563, -0.009415417909622192, -0.0029153041541576385, 0.03556983545422554, 0.023616982623934746, -0.06917957961559296, -0.005170959979295731, 0.010440574958920479, 0.006427185609936714, -0.012425180524587631, 0.8129909634590149, -0.010282477363944054, 0.01283083762973547, 0.018496450036764145, 0.008522674441337585, -0.01933969371020794, -0.0017071584006771445, 0.006483240518718958, 0.010885396040976048, 0.005695585161447525, -0.04985352233052254, -0.024057617411017418, 0.010126274079084396, -0.009619639255106449, -0.020973870530724525, -0.03346840292215347, 0.007106300443410873, 0.035482749342918396, -0.039068687707185745, -0.051783692091703415, 0.02923228032886982, 0.019790157675743103, -0.021925434470176697, -0.0100404042750597, 0.03906627744436264, -0.03613718971610069, -0.18269844353199005, 0.07910272479057312, -7.651666683642625e-33, 0.04995819553732872, 0.008034701459109783, -0.001435080193914473, 0.007248404435813427, 0.039818283170461655, -0.003217438468709588, 0.04160457104444504, 0.029560619965195656, -0.0226982980966568, -0.021976403892040253, 0.018874729052186012, -0.01441896241158247, -0.021507343277335167, -0.01510750874876976, 0.02551690675318241, 0.016984567046165466, 0.006514844950288534, 0.05041413754224777, 0.051344163715839386, -0.018393266946077347, 0.03305960074067116, 0.0496288500726223, 0.05173265188932419, 0.016566772013902664, -0.0012865924509242177, -0.0034516495652496815, 0.019168714061379433, 0.00792661216109991, -0.04071127250790596, -0.06567920744419098, 0.06628979742527008, 0.0039017763920128345, -0.0020575490780174732, -0.04088826850056648, 0.012311464175581932, -0.030162423849105835, 0.013022096827626228, 0.031025737524032593, -0.024473877623677254, -0.01094178669154644, -0.01712139882147312, 0.0009595421724952757, -0.02665194869041443, 0.00779614457860589, -0.04554615914821625, -0.028145737946033478, -0.0010004279902204871, -0.009945759549736977, 0.021912042051553726, 0.027463426813483238, 0.03103417530655861, 0.057084642350673676, 0.004641653969883919, 0.0412333644926548, -0.008145247586071491, 0.0005823623505420983, 0.02505541406571865, 0.02799309231340885, 0.007463839836418629, -0.036635711789131165, 0.005794110242277384, -0.0052338275127112865, -0.019131870940327644, 0.025728553533554077, -0.013321260921657085, 0.004390615038573742, 0.08227042853832245, 0.04750986769795418, 0.00609783036634326, -0.019028805196285248, -0.03838162496685982, 0.02238493598997593, -0.0166881512850523, -0.02785007283091545, 0.00018716006889007986, -0.01308747474104166, -0.014901365153491497, 0.014645524322986603, 0.009215202182531357, 0.022176913917064667, 0.019742004573345184, 0.02580597624182701, -0.010112679563462734, 0.02302681840956211, -0.05273746699094772, 0.01560036838054657, 0.06218869239091873, 0.006874788552522659, 0.01006876677274704, 0.008852971717715263, 0.031137092038989067, 0.021067043766379356, 0.05280565470457077, -0.01517989207059145, -0.018955830484628677, 7.711243676078175e-33, 0.014316446147859097, -0.0034405705519020557, -0.042704153805971146, 0.028968149796128273, 0.01635444164276123, -0.043586086481809616, -0.000025269640900660306, 0.044832196086645126, -0.045504868030548096, 0.00885432306677103, 0.006067541893571615, 0.011521042324602604, -0.0069061387330293655, 0.0380830243229866, -0.011627302505075932, -0.010498006828129292, -0.0008747748215682805, -0.026238389313220978, 0.0065950979478657246, -0.004548208322376013, 0.0002539066772442311, 0.011882306076586246, -0.008813845925033092, 0.02844080701470375, -0.04220902919769287, 0.06887732446193695, 0.020853104069828987, -0.0114159369841218, -0.044283319264650345, -0.026580534875392914, 0.0184637438505888, -0.008989637717604637, 0.023321084678173065, -0.02975291945040226, -0.02526448294520378, 0.0273346658796072, 0.018803821876645088, 0.043322302401065826, 0.012178082019090652, -0.020802557468414307, 0.059067219495773315, 0.008591239340603352, -0.02451850287616253, 0.009611043147742748, 0.019550900906324387, 0.029621750116348267, 0.014910629950463772, -0.016247514635324478, -0.006053184159100056, 0.01791471801698208, 0.01943654753267765, -0.0005151064833626151, 0.005055198445916176, -0.03531273081898689, 0.047447338700294495, -0.013548505492508411, -0.084287129342556, 0.008462224155664444, -0.011326420120894909, 0.0296262726187706, 0.0060308463871479034, 0.021969635039567947, -0.04423133283853531, 0.029513414949178696, -0.03707028925418854, 0.01351857092231512, -0.042890165001153946, -0.032827336341142654, 0.015542399138212204, -0.022302165627479553, -0.028982168063521385, 0.027743209153413773, -0.026074538007378578, 0.017030838876962662, 0.027032600715756416, -0.025012247264385223, 0.04134092852473259, 0.006342862732708454, 0.013611256144940853, 0.04614126682281494, -0.011268849484622478, -0.006640261504799128, 0.00920942798256874, -0.04375270754098892, 0.03569828346371651, 0.016705917194485664, -0.0730612501502037, 0.020444022491574287, 0.0299230869859457, -0.027096940204501152, -0.03157939016819, -0.018833309412002563, -0.00260614394210279, -0.041218820959329605, -0.005669943057000637, -1.2858388132030996e-8, 0.03848528116941452, -0.00841603334993124, 0.011356399394571781, 0.048246119171381, 0.0022787274792790413, -0.007451570592820644, 0.017331484705209732, 0.005482897628098726, 0.0017965186852961779, 0.007478718180209398, 0.011259032413363457, -0.01870371401309967, 0.028601760044693947, 0.012056299485266209, 0.005275338888168335, -0.03557049483060837, -0.006238672416657209, -0.009667332284152508, 0.02385193109512329, -0.05167931318283081, -0.015508223325014114, 0.03524750843644142, 0.03717254102230072, -0.013678759336471558, 0.044172946363687515, -0.02723568305373192, 0.03507956489920616, -0.059802185744047165, -0.04582148417830467, -0.005049234256148338, -0.0021364910062402487, -0.04385131597518921, -0.014890891499817371, -0.024853713810443878, 0.023967918008565903, -0.02537265233695507, -0.03302452340722084, 0.01512915175408125, 0.003440853441134095, -0.013464865274727345, -0.0015588917303830385, 0.01129179261624813, -0.004020954482257366, -0.012262662872672081, 0.01739589497447014, -0.007904396392405033, -0.022799452766776085, 0.030212918296456337, 0.027295764535665512, -0.026160338893532753, 0.011812027543783188, -0.04708614572882652, 0.04622841626405716, 0.016364365816116333, -0.008040118031203747, -0.006548204459249973, 0.05296652764081955, -0.029198545962572098, -0.020265890285372734, -0.024330852553248405, 0.02993984892964363, -0.018452951684594154, -0.029485782608389854, -0.03554153069853783 ]
varnish-purging-the-cache
https://markhneedham.com/blog/2012/10/10/varnish-purging-the-cache
false
2012-10-10 00:00:36
Nygard Big Data Model: The Investigation Stage
[ "data-science-2" ]
[ "Data Science" ]
Earlier this year http://thinkrelevance.com/blog/2012/04/04/big-data-reference-model[Michael Nygard wrote an extremely detailed post about his experiences in the world of big data projects] and included in the post was the following diagram which I've found very useful. image::{{<siteurl>}}/uploads/2012/10/nygard.png[Nygard,600] _Nygard's Big Data Model (shamelessly borrowed by me because it's awesome)_ https://twitter.com/a5hok[Ashok] and I have been doing some work in this area helping one of our clients make sense of and visualise some of their data and we realised retrospectively that *we were very acting very much in the investigation stage of the model*. In particular Nygard makes the following suggestions about the way that we work when we're in this mode: ____ We *don't want to invest in fully automated machine learning and feedback*. That will follow once we validate a hypothesis and want to integrate it into our routine operation. Ad-hoc analysis refers to human-based data exploration. This can be as simple as spreadsheets with line graphs\...the key aspect is that most of the tools are interactive. Questions are expressed as code, but that *code is usually just "one shot"* and is not meant for production operations. ____ In our case we weren't doing anything as complicated as machine learning - most of our work was working out the relationships between things, how best to model those and what visualisations would best describe what we were seeing. We didn't TDD any of the code, we copy/pasted a lot and when we had a longer running query we didn't try and optimise it there and then, instead we ran it once, saved the results to a file and then used the file to load it onto the UI. We were able to work in iterations of 2/3 hours during which we tried to http://www.markhneedham.com/blog/2012/05/05/neo4j-what-question-do-you-want-to-answer/[answer a question] (or more than one if we had time) and then showed our client what we'd managed to do and then decided where we wanted to go next. To start with we did all this with a subset of the actual data set and then once we were on the right track we loaded in the rest of the data. We can easily get *distracted by the difficulties of loading large amounts of data before checking whether what we're doing makes sense*. We iterated 4 or 5 different ideas before we got to one that allowed us to explore an area which hadn't previously been explored. Now that we've done that we're rewriting the application from scratch, still using the same ideas as from the initial prototype, but this time making sure the queries can run on the fly and making the code a bit closer to production quality! We've *moved into the implementation stage of the model* for this avenue although if I understand the model correctly, it would be ok to go back into investigation mode if we want to do some discovery work with others parts of the data. I'm probably quoting this model way too much to people that I talk to about this type of work but I think it's really good so nice work Mr Nygard!
null
null
[ 0.028099950402975082, -0.011812237091362476, 0.0036938097327947617, 0.05173462629318237, 0.09127084910869598, 0.020569004118442535, 0.024559782817959785, 0.03332946076989174, 0.017490817233920097, -0.016624687239527702, -0.008627597242593765, -0.018140964210033417, -0.04909985139966011, 0.020251428708434105, -0.02529250457882881, 0.061591047793626785, 0.05780842527747154, 0.006883873138576746, 0.027346564456820488, 0.0171820018440485, 0.022067608311772346, 0.046991486102342606, 0.01879156194627285, 0.02768802084028721, 0.023791687563061714, -0.00583287188783288, 0.015505600720643997, -0.007260543759912252, -0.050578679889440536, -0.005788156762719154, 0.031173912808299065, -0.006964255124330521, 0.0046396139077842236, 0.009312399663031101, 0.014224165119230747, 0.009434041567146778, -0.036350905895233154, 0.02399473451077938, 0.0012739318190142512, 0.005705047864466906, -0.07806265354156494, 0.058121033012866974, -0.019124284386634827, 0.022134767845273018, -0.047488775104284286, -0.00776495598256588, -0.05353930592536926, 0.024773946031928062, 0.02115924283862114, 0.012488584965467453, -0.07357268780469894, 0.03143422305583954, -0.009693584404885769, 0.005392545368522406, -0.03243417292833328, 0.05195152014493942, 0.026440434157848358, -0.07441259175539017, 0.013737598434090614, -0.03826671466231346, 0.00811857357621193, -0.024596046656370163, 0.006937101949006319, 0.02760939858853817, 0.022434407845139503, -0.04910292476415634, 0.004157690797001123, 0.051725227385759354, -0.033417899161577225, 0.016369163990020752, -0.018398497253656387, 0.01444308366626501, -0.007746178191155195, -0.00622020848095417, -0.016134386882185936, -0.05029166862368584, 0.006684840656816959, 0.0663386657834053, 0.01190930511802435, 0.030362091958522797, -0.04253046214580536, 0.01692960597574711, 0.021302886307239532, 0.023246120661497116, -0.021229354664683342, -0.04153215512633324, -0.004322842229157686, -0.04676835983991623, -0.07256661355495453, 0.057388391345739365, 0.007648783270269632, -0.05038781091570854, 0.0152243971824646, 0.04250228777527809, -0.005816924851387739, 0.027832873165607452, 0.024221375584602356, 0.00943609606474638, -0.023042215034365654, -0.02629563771188259, -0.033684201538562775, -0.03987985476851463, 0.01706358790397644, 0.022240208461880684, -0.08065923303365707, -0.022639017552137375, -0.002587443683296442, -0.013784975744783878, -0.01075547281652689, 0.007124054245650768, -0.014966562390327454, 0.007135846186429262, -0.02684350311756134, 0.006984855979681015, -0.07285725325345993, 0.06621472537517548, 0.025109034031629562, -0.042526718229055405, -0.011461070738732815, 0.013280287384986877, 0.048236072063446045, 0.019842591136693954, -0.008848187513649464, 0.0828808844089508, -0.0026306004729121923, 0.022642312571406364, -0.01089655514806509, 0.041902631521224976, -0.024577369913458824, -0.05756380409002304, -0.0045186597853899, 0.049520913511514664, -0.0426659993827343, -0.0047367108054459095, 0.004286725074052811, -0.037560299038887024, -0.0011656881542876363, 0.009257066063582897, 0.03760647773742676, 0.05208352208137512, 0.013916278257966042, -0.05723564699292183, 0.03164593130350113, 0.014177645556628704, 0.03137411177158356, 0.0031311155762523413, 0.00004142259422224015, -0.020480461418628693, -0.046429239213466644, -0.01863422989845276, 0.004218068905174732, 0.043889012187719345, 0.005733184050768614, -0.03361275792121887, 0.05083050951361656, 0.10857463628053665, 0.028815755620598793, 0.007642430253326893, 0.0035924699623137712, 0.03417084366083145, 0.05132663622498512, 0.03470505774021149, 0.020892025902867317, 0.032609716057777405, -0.00035264910547994077, -0.023685546591877937, 0.010192019864916801, 0.0396229587495327, -0.012032750062644482, 0.008837293833494186, -0.04319652169942856, -0.06141280010342598, 0.0593397431075573, -0.03591100871562958, -0.021231429651379585, 0.0786648765206337, 0.08769985288381577, 0.03843897581100464, 0.030812513083219528, 0.007647179998457432, -0.08917801827192307, 0.04117480665445328, 0.024855971336364746, 0.00705182459205389, 0.030101142823696136, -0.02694796957075596, 0.07624344527721405, 0.024760449305176735, 0.015828438103199005, 0.036961957812309265, -0.07000428438186646, -0.08751200139522552, -0.014014261774718761, -0.01934039779007435, 0.04896720498800278, -0.029488421976566315, 0.0157171580940485, 0.07164816558361053, -0.0012946462957188487, 0.05142712593078613, 0.02314147539436817, 0.00038319246959872544, 0.021884772926568985, -0.05558038130402565, -0.0427737794816494, 0.039461541920900345, 0.03808829188346863, -0.04944402724504471, -0.05046049505472183, 0.018297765403985977, -0.021537279710173607, -0.021054966375231743, 0.025390436872839928, -0.0378047414124012, 0.04984374716877937, 0.02357499860227108, 0.06800500303506851, -0.006476191338151693, 0.043304093182086945, -0.04441699758172035, 0.038621269166469574, 0.005863548722118139, -0.015655042603611946, -0.00704646622762084, 0.020986013114452362, 0.11209665238857269, 0.0763343945145607, -0.032575346529483795, -0.05097284913063049, 0.012383333407342434, 0.025444479659199715, -0.032453618943691254, 0.0008310395642183721, -0.012481837533414364, -0.008318383246660233, -0.00047047456610016525, -0.051947686821222305, -0.02304326370358467, 0.022865572944283485, -0.047986652702093124, 0.002919452730566263, 0.058305367827415466, -0.030259564518928528, 0.06258060038089752, 0.009433935396373272, -0.0034242356196045876, -0.0060368929989635944, -0.028279302641749382, -0.06732725352048874, 0.015710731968283653, -0.00045672038686461747, -0.007296795025467873, 0.050925567746162415, -0.015941644087433815, -0.02799661085009575, -0.03011387400329113, -0.04060500115156174, 0.013737469911575317, 0.05694419518113136, 0.0709492564201355, -0.011908883228898048, 0.0409511923789978, -0.02276693470776081, 0.026323210448026657, 0.023161858320236206, -0.050135768949985504, -0.058762531727552414, -0.06358201056718826, 0.02186981402337551, 0.02599567174911499, 0.025111302733421326, 0.0011256129946559668, 0.028542539104819298, 0.011723834089934826, 0.009916138835251331, -0.025097522884607315, 0.03976387158036232, 0.014889068901538849, -0.016751397401094437, -0.019507650285959244, -0.02020604908466339, 0.05890558287501335, -0.03005814738571644, -0.015233191661536694, 0.020934635773301125, -0.0719771683216095, 0.03987693041563034, -0.06769376993179321, -0.025694364681839943, -0.00016400078311562538, 0.013319849967956543, 0.047248486429452896, 0.012164515443146229, -0.02174254320561886, 0.061584148555994034, 0.02613278664648533, 0.008181551471352577, -0.022999249398708344, -0.005818508565425873, 0.05508716031908989, -0.017680682241916656, 0.015492436476051807, 0.05057331919670105, -0.00978959258645773, 0.00453956238925457, -0.03363696113228798, 0.039129722863435745, -0.02644769847393036, -0.28766337037086487, 0.017000826075673103, -0.0012341042747721076, -0.0400715246796608, 0.007834313437342644, -0.04481032118201256, 0.0037122361827641726, -0.029655227437615395, -0.02377663180232048, -0.000541149580385536, -0.010257984511554241, -0.039841391146183014, -0.03560516610741615, 0.05870240554213524, 0.017983868718147278, 0.041404690593481064, 0.02483559213578701, -0.038710664957761765, 0.014920259825885296, 0.05217316746711731, -0.010993754491209984, -0.052093032747507095, -0.009309903718531132, 0.05580952763557434, 0.030771976336836815, 0.062510646879673, -0.08768826723098755, 0.024971645325422287, -0.06949928402900696, -0.02185416966676712, 0.016029736027121544, -0.022408463060855865, -0.0047745429910719395, -0.005074842367321253, -0.005528933834284544, -0.02420668676495552, 0.05032221972942352, 0.014395751990377903, 0.011600401252508163, 0.014551933854818344, -0.013400733470916748, -0.0273490771651268, -0.01936076581478119, 0.009414716623723507, 0.07365042716264725, -0.0026797184254974127, -0.07793192565441132, -0.00027251397841610014, -0.023753155022859573, 0.05866245925426483, -0.03559096157550812, -0.013707100413739681, -0.023434869945049286, 0.026903651654720306, -0.015973489731550217, -0.023975063115358353, -0.0035834808368235826, -0.0073785362765192986, -0.048563405871391296, -0.03148788958787918, -0.028214817866683006, -0.04303697124123573, 0.0003267823485657573, -0.062130216509103775, -0.02212570235133171, -0.05945722758769989, -0.0722062736749649, -0.02644781954586506, 0.0730576366186142, 0.038340527564287186, -0.028088198974728584, 0.026933079585433006, 0.0020424467511475086, -0.0998120829463005, -0.00986860878765583, -0.02469520829617977, 0.005211534444242716, 0.006677567958831787, 0.020561419427394867, 0.055079519748687744, -0.025606583803892136, -0.08003667742013931, 0.02799619548022747, 0.005242228042334318, 0.03022191673517227, -0.020054373890161514, 0.02528873272240162, 0.002113285008817911, -0.025904536247253418, 0.015810905024409294, 0.05310128256678581, -0.013458074070513248, -0.0167545098811388, -0.010562046431005001, 0.0023941246327012777, 0.01750539429485798, 0.018039226531982422, -0.009976214729249477, 0.0011924657737836242, 0.049256179481744766, -0.007988892495632172, -0.05673915892839432, 0.031707655638456345, -0.02463355101644993, -0.024140767753124237, -0.018690556287765503, -0.036870796233415604, 0.014580548740923405, 0.028330719098448753, 0.013463861308991909, 0.0018429348710924387, -0.037714410573244095, 0.013785772025585175, -0.043627943843603134, -0.040262557566165924, -0.014187301509082317, 0.010365800932049751, 0.038989268243312836, 0.012947763316333294, -0.02325262501835823, -0.05773092061281204, 0.010760286822915077, 0.009244771674275398, -0.004333700984716415, -0.054601240903139114, -0.030307402834296227, -0.001121662906371057, -0.019985243678092957, 0.013810594566166401, 0.01880018599331379, -0.020309576764702797, 0.020128779113292694, 0.017854878678917885, -0.0300811268389225, 0.03513573482632637, -0.0195698831230402, -0.053522638976573944, -0.0315859355032444, 0.012400089763104916, 0.00898677110671997, -0.006650689523667097, 0.023740286007523537, 0.0021270900033414364, 0.018665703013539314, 0.03603130206465721, 0.012530449777841568, 0.01454379502683878, -0.002642023842781782, 0.034360017627477646, -0.0006290484452620149, -0.014840022660791874, -0.051438458263874054, 0.00831714365631342, -0.04700931906700134, -0.014968723990023136, -0.018206274136900902, 0.04982711747288704, -0.02967800758779049, -0.02848837710916996, -0.028187548741698265, 0.008877378888428211, -0.05087246000766754, -0.03996187821030617, -0.013229423202574253, 0.005940415896475315, 0.05883236601948738, -0.01611984521150589, 0.007847675122320652, -0.0032136773224920034, 0.0020763601642102003, 0.032805830240249634, 0.01043724361807108, -0.03429443761706352, -0.01241719163954258, -0.0032624872401356697, -0.003829552559182048, 0.023448800668120384, 0.004886601120233536, 0.03848981112241745, 0.025770265609025955, -0.01914229243993759, -0.02687356248497963, -0.010558843612670898, 0.017930585891008377, 0.0505484901368618, 0.05143332853913307, -0.0009238908533006907, 0.014345470815896988, -0.013463080860674381, -0.013374685309827328, -0.03877532109618187, -0.01336764171719551, 0.0012469037901610136, 0.017454229295253754, -0.023657599464058876, -0.061508506536483765, 0.0730397030711174, 0.0012120509054511786, 0.018060626462101936, 0.02329605259001255, 0.0032124859280884266, 0.0032186321914196014, -0.01689315401017666, 0.03154607117176056, 0.054939184337854385, -0.07175366580486298, -0.0037508804816752672, 0.011640516109764576, -0.003257693024352193, 0.002426872029900551, -0.0050505949184298515, -0.03512449562549591, -0.041280198842287064, -0.03800050914287567, 0.014722722582519054, -0.052286747843027115, -0.021675944328308105, -0.0237418282777071, 0.004808248020708561, -0.009455418214201927, -0.0033026854507625103, 0.007184240035712719, -0.011718889698386192, -0.013670173473656178, -0.0065917083993554115, 0.016260327771306038, -0.026920301839709282, 0.003496105084195733, 0.007466382812708616, -0.04619075357913971, 0.007083545438945293, -0.021851154044270515, -0.015010856091976166, 0.023621920496225357, -0.020316924899816513, 0.005623919423669577, -0.022440461441874504, 0.021375233307480812, 0.016746249049901962, 0.04948120191693306, -0.013130837120115757, -0.015561345964670181, -0.04677356034517288, -0.0014317389577627182, -0.014400050044059753, 0.013285700231790543, -0.029421834275126457, 0.009745628573000431, 0.030144711956381798, 0.0407884381711483, 0.012892094440758228, 0.0187706109136343, -0.012135745026171207, -0.041311848908662796, 0.05200079083442688, -0.050542715936899185, -0.02183685638010502, -0.055070240050554276, -0.05650763586163521, 0.0032517185900360346, -0.015182314440608025, 0.01402460876852274, -0.02613445185124874, 0.048052508383989334, 0.027940399944782257, 0.04082619398832321, 0.03270874544978142, 0.012801499105989933, 0.042277976870536804, -0.056995686143636703, 0.01223477628082037, -0.07955452054738998, -0.023265302181243896, 0.03167325258255005, 0.0023245757911354303, -0.01276481058448553, 0.01470914389938116, -0.038473453372716904, 0.04381923750042915, -0.06491745263338089, -0.03301814943552017, 0.041845329105854034, -0.0025697066448628902, -0.011642825789749622, 0.00703174713999033, -0.05560433492064476, 0.030015811324119568, 0.026336386799812317, -0.04127585142850876, -0.03323787823319435, -0.024512846022844315, 0.04539765790104866, -0.015410885214805603, 0.024813462048768997, -0.03326171636581421, 0.0035230766516178846, 0.07079243659973145, 0.012508749030530453, 0.019577287137508392, 0.0427679643034935, -0.00915372371673584, 0.04566185548901558, 0.02183401770889759, -0.006369178649038076, -0.011041932739317417, 0.031213046982884407, -0.016436593607068062, -0.051035456359386444, 0.03036099299788475, 0.007334405090659857, -0.0252851452678442, -0.03180815652012825, 0.07697763293981552, 0.03387189283967018, -0.03411183878779411, -0.04978480190038681, 0.006456939037889242, -0.05330945551395416, 0.00782402791082859, -0.027586722746491432, -0.011227898299694061, -0.030145758762955666, 0.04457051306962967, -0.013275478966534138, 0.0015917581040412188, 0.06886163353919983, -0.001686364528723061, -0.012890282087028027, -0.0009774821810424328, 0.08971928060054779, 0.08940938115119934, 0.06754329055547714, 0.010410661809146404, 0.07171228528022766, -0.025836367160081863, -0.030773334205150604, 0.010606897063553333, -0.006203133147209883, -0.019593415781855583, -0.030840586870908737, 0.029726892709732056, 0.06407728046178818, -0.02025449089705944, 0.06344675272703171, -0.028293414041399956, -0.015989959239959717, 0.00218031438998878, 0.01745341531932354, 0.017027921974658966, 0.06832902133464813, -0.006509779952466488, 0.01608130894601345, -0.032950207591056824, -0.05276740342378616, 0.023389633744955063, -0.030012255534529686, -0.015419657342135906, 0.04632522165775299, 0.00015467389312107116, -0.006360887084156275, -0.001308885170146823, 0.051256291568279266, 0.08844070136547089, -0.045885130763053894, 0.008431353606283665, -0.0052585359662771225, 0.031552206724882126, -0.008400806225836277, 0.014973592944443226, -0.03479433432221413, -0.016511667519807816, -0.005716594401746988, -0.024774707853794098, -0.029189281165599823, -0.0065630278550088406, -0.029709966853260994, 0.018558615818619728, -0.04509918391704559, -0.029280688613653183, 0.029220877215266228, -0.009979893453419209, -0.027783788740634918, -0.05168433487415314, -0.028800178319215775, -0.040993425995111465, -0.07107847183942795, -0.005716381128877401, 0.014719286933541298, -0.005218910984694958, -0.03297579661011696, -0.010659742169082165, -0.03351505845785141, -0.026772616431117058, 0.0547085776925087, -0.05071304365992546, -0.013579217717051506, 0.011615931056439877, 0.022694533690810204, 0.014661182649433613, 0.02537453919649124, 0.04147321358323097, 0.0014189574867486954, 0.012736459262669086, -0.01859430782496929, 0.02746976725757122, 0.017090631648898125, 0.024068709462881088, 0.01603592373430729, -0.07713744044303894, -0.005182291846722364, 0.013056057505309582, -0.044400978833436966, -0.07663314044475555, 0.0215015672147274, 0.029824325814843178, 0.008928821422159672, 0.04490705952048302, -0.009184523485600948, -0.003558005439117551, -0.033668480813503265, -0.015745623037219048, -0.028005782514810562, 0.017054975032806396, 0.028603149577975273, -0.02302887849509716, 0.09236709028482437, 0.036590825766325, -0.020222533494234085, -0.02979969047009945, -0.023131540045142174, 0.003442133776843548, -0.0019336433615535498, -0.03905929997563362, -0.04464181140065193, -0.01979137398302555, -0.0915621891617775, -0.020820971578359604, 0.022876523435115814, -0.03112589567899704, -0.04864693805575371, 0.011330883018672466, 0.02816799469292164, -0.032528460025787354, 0.02904314547777176, -0.0402003712952137, 0.02545064687728882, -0.01636887528002262, -0.017577603459358215, -0.00791889801621437, 0.024260252714157104, -0.009054357185959816, 0.019442062824964523, 0.006835075095295906, -0.06470826268196106, -0.006529201753437519, -0.004104671534150839, 0.023437336087226868, 0.01909145712852478, 0.025272458791732788, -0.009106650948524475 ]
[ -0.047328442335128784, -0.010149885900318623, -0.0301568154245615, -0.03418833389878273, 0.08075719326734543, -0.028185861185193062, -0.018952900543808937, 0.0244436152279377, -0.0032794554717838764, -0.027113521471619606, 0.01918884366750717, -0.042665254324674606, -0.00012742729450110346, -0.008568882942199707, 0.0706312358379364, 0.01306915283203125, 0.007329198066145182, -0.08810994029045105, 0.021587518975138664, 0.029723018407821655, -0.0042318012565374374, -0.026681803166866302, -0.04096033051609993, -0.029015129432082176, 0.01240389235317707, 0.01950683258473873, 0.02915852516889572, -0.05119087174534798, -0.008873063139617443, -0.20273837447166443, 0.015122650191187859, 0.00727121951058507, 0.0757066011428833, -0.006959106773138046, 0.005248671863228083, 0.04840848967432976, 0.041247136890888214, 0.004883295390754938, 0.019950393587350845, 0.04347364977002144, 0.005243806634098291, 0.0026918952353298664, -0.028339188545942307, -0.007513715419918299, 0.04316287860274315, 0.024263089522719383, -0.0031199080403894186, -0.023100471124053, -0.045365240424871445, 0.010855271480977535, -0.05613676458597183, -0.042256131768226624, -0.04340622201561928, 0.008934316225349903, 0.007462254259735346, 0.02787785977125168, 0.03781094402074814, 0.07670213282108307, 0.0017545470036566257, 0.01095722895115614, 0.02506803348660469, 0.004660251084715128, -0.13985969126224518, 0.07682659476995468, 0.030257903039455414, 0.04949885606765747, -0.032081134617328644, -0.02930411882698536, -0.020078251138329506, 0.08067288994789124, 0.009618215262889862, -0.03417572006583214, -0.021184980869293213, 0.027609433978796005, 0.005583236925303936, 0.025972338393330574, -0.0003828401677310467, 0.018080564215779305, 0.024007201194763184, -0.04325471818447113, -0.000090866866230499, 0.04421420767903328, -0.025820760056376457, 0.00046980881597846746, -0.05362418666481972, 0.025057002902030945, -0.03805273026227951, 0.053916528820991516, 0.01982986181974411, 0.011829059571027756, 0.04576354846358299, 0.017775889486074448, 0.017343880608677864, -0.006011116784065962, -0.06193647161126137, -0.02544981800019741, 0.02289356291294098, 0.01969248056411743, -0.03375877067446709, 0.4336435794830322, -0.021123215556144714, -0.026221266016364098, 0.06444364786148071, 0.033935025334358215, -0.025002488866448402, -0.024203011766076088, -0.00757625000551343, -0.05002486705780029, 0.034367579966783524, -0.0013346730265766382, 0.014976754784584045, 0.004906908608973026, 0.052583761513233185, -0.04488595202565193, 0.024204155430197716, -0.008796900510787964, 0.0017489382298663259, 0.014598241075873375, 0.003443659981712699, -0.015162887051701546, -0.04295605048537254, 0.0267290398478508, 0.03605915606021881, -0.012153766117990017, 0.0004722275771200657, -0.02598336897790432, 0.03229985013604164, 0.08290756493806839, 0.03880630061030388, 0.009394316002726555, 0.047993600368499756, -0.008531132712960243, -0.09976309537887573, 0.018650414422154427, -0.0024504007305949926, -0.009080723859369755, 0.039998218417167664, -0.0082748644053936, 0.004901921842247248, 0.04749918356537819, 0.009893775917589664, 0.006289120297878981, 0.010127796791493893, -0.01136763859540224, -0.050218500196933746, 0.13547037541866302, 0.03547050431370735, -0.029683366417884827, -0.023322012275457382, -0.058712441474199295, 0.029614772647619247, 0.0600755549967289, -0.0033896686509251595, -0.06865789741277695, 0.018210025504231453, 0.026055606082081795, 0.09167715162038803, -0.017836494371294975, -0.07851377874612808, 0.002360729267820716, -0.032513927668333054, -0.030361810699105263, -0.059328846633434296, 0.04235176742076874, 0.046491432934999466, -0.12070992588996887, -0.0132702412083745, 0.008061166852712631, 0.042361173778772354, -0.06097567826509476, 0.009137307293713093, 0.01038031280040741, -0.020062122493982315, 0.015667423605918884, 0.06010682135820389, -0.03637333959341049, -0.05195460468530655, 0.0003584407386370003, 0.01633925922214985, 0.012183413840830326, 0.005399536807090044, -0.02114129066467285, -0.026901360601186752, -0.0015891657676547766, -0.0595843605697155, -0.05558409541845322, -0.039629269391298294, 0.004135448485612869, -0.04496615007519722, 0.012315026484429836, -0.011915460228919983, 0.007211027666926384, -0.09002289175987244, 0.07519223541021347, -0.04488160088658333, -0.04034245014190674, 0.005022742319852114, 0.0077527472749352455, -0.033781997859478, -0.02312174066901207, -0.04920818284153938, 0.02403411641716957, -0.04499221593141556, 0.019145511090755463, -0.0773148313164711, 0.04471980407834053, 0.04660363495349884, -0.02837265469133854, 0.0931168645620346, 0.04135371372103691, -0.00481752585619688, -0.03564336895942688, -0.01350738201290369, 0.03501030430197716, 0.002609899966046214, 0.012703225016593933, 0.016507627442479134, -0.009199005551636219, -0.017192883417010307, 0.03320395573973656, 0.0005855589988641441, 0.006324391346424818, -0.021013299003243446, -0.36213502287864685, -0.056173115968704224, -0.025619151070713997, 0.017477145418524742, -0.0004096289339940995, -0.06228479743003845, 0.02852005884051323, -0.016328129917383194, -0.024013306945562363, 0.038279954344034195, 0.07956459373235703, 0.013893315568566322, -0.009797489270567894, -0.08932235836982727, -0.025649074465036392, 0.013209184631705284, -0.027732450515031815, 0.0007197734084911644, -0.07533977180719376, -0.002923825988546014, -0.014982737600803375, -0.0052565704099833965, -0.005151133518666029, -0.05962209403514862, -0.000056605396821396425, -0.03271861746907234, 0.10938487946987152, -0.015840327367186546, 0.056341059505939484, -0.004557193722575903, 0.029323210939764977, -0.009284654632210732, 0.009459434077143669, -0.10620268434286118, 0.014916508458554745, -0.014584564603865147, 0.025756139308214188, 0.02980019710958004, -0.02015378139913082, -0.039275191724300385, -0.05713214352726936, 0.011562786065042019, -0.03605261072516441, -0.03932962566614151, -0.0516921728849411, 0.039612043648958206, -0.024030715227127075, -0.020384037867188454, -0.04955081269145012, 0.06332013756036758, 0.0051592011004686356, -0.011926556937396526, 0.03769925236701965, -0.0016861527692526579, -0.03814985603094101, -0.03499165549874306, -0.08363892883062363, 0.021482469514012337, -0.008990449830889702, 0.008281413465738297, 0.010298480279743671, 0.02942015416920185, 0.0034139195922762156, -0.06526485830545425, 0.006502240896224976, -0.01853119768202305, -0.01010066270828247, 0.010984132066369057, 0.023435940966010094, -0.021967636421322823, -0.008165980689227581, 0.12187003344297409, -0.011572841554880142, 0.011405414901673794, 0.044184837490320206, 0.048476822674274445, -0.005563166458159685, -0.009403056465089321, 0.005314085632562637, 0.02890629507601261, 0.04501670226454735, -0.03125535696744919, 0.03641209006309509, -0.0027965926565229893, 0.01775660552084446, 0.0398315005004406, 0.004141070414334536, -0.05917901545763016, 0.04904470592737198, 0.043338168412446976, -0.013097384944558144, -0.01796841435134411, -0.04909399151802063, -0.0746915191411972, 0.06504547595977783, 0.014507945626974106, -0.245643749833107, 0.02684643864631653, 0.050134122371673584, 0.057270511984825134, -0.010525470599532127, 0.009170623496174812, 0.02185065858066082, -0.03463158383965492, 0.044583387672901154, 0.012517325580120087, 0.011773640289902687, 0.013268089853227139, 0.03628414124250412, -0.009321884252130985, 0.027981726452708244, -0.022939713671803474, 0.045640554279088974, -0.0036268688272684813, 0.027404379099607468, 0.004142119083553553, 0.027799582108855247, -0.012066780589520931, 0.1510249823331833, 0.009716928005218506, 0.014336908236145973, 0.03269181773066521, -0.010085648857057095, -0.00257208407856524, 0.062335774302482605, 0.008149581030011177, 0.00250239041633904, 0.0030891424976289272, 0.020204292610287666, 0.0034052871633321047, 0.01975572668015957, -0.04130558297038078, -0.04344942048192024, 0.034856297075748444, 0.029059289023280144, 0.01054598018527031, 0.02917351759970188, -0.002682884456589818, -0.006756164133548737, 0.040453821420669556, 0.06518471986055374, 0.03044900670647621, 0.02612684853374958, -0.057110417634248734, -0.06653939187526703, -0.017734874039888382, -0.0343003012239933, -0.05125265568494797, -0.0064765396527945995, -0.0011350007262080908, 0.014284771867096424, 0.07620915025472641, 0.02032039500772953, -0.001012684078887105, 0.013200814835727215, -0.01585778221487999, -0.022591587156057358, -0.02166982740163803, 0.08089098334312439, 0.018379833549261093, 0.023746240884065628 ]
[ 0.00375228188931942, 0.0063970983028411865, 0.015848815441131592, 0.031422413885593414, 0.010919036343693733, -0.03520243242383003, -0.01315805222839117, 0.024357596412301064, -0.027807021513581276, 0.00875526200979948, -0.026952046900987625, 0.0225683581084013, -0.00498445937409997, -0.018038790673017502, 0.004178633447736502, 0.018182791769504547, 0.017323516309261322, -0.016085892915725708, 0.02352547086775303, -0.005156465340405703, -0.00673128804191947, -0.011301171034574509, -0.01927059143781662, -0.013298108242452145, 0.007763978559523821, 0.007495848461985588, -0.021178122609853745, -0.020311133936047554, 0.03170987218618393, -0.1306018829345703, -0.049498945474624634, -0.039236508309841156, -0.031925346702337265, 0.02331472560763359, -0.007410772610455751, 0.02190939337015152, 0.0029564741998910904, 0.015308478847146034, 0.0023851750884205103, -0.005675780586898327, 0.02117864415049553, -0.018367348238825798, -0.009449547156691551, -0.022451207041740417, 0.022426128387451172, -0.005882739555090666, -0.02587810344994068, -0.04599357396364212, 0.0031294291839003563, 0.012216633185744286, -0.08264147490262985, -0.020977668464183807, -0.03340896591544151, 0.01662871614098549, 0.013378389179706573, -0.024227844551205635, 0.023269105702638626, -0.02039969339966774, 0.0004015206650365144, 0.014215955510735512, -0.0025844161864370108, -0.0035677680280059576, -0.03717811405658722, -0.005037034396082163, -0.0061225551180541515, -0.0016756531549617648, -0.0064448700286448, 0.006063105538487434, -0.009223097935318947, -0.0036890506744384766, 0.008351361379027367, 0.036261312663555145, -0.02290060929954052, -0.024651814252138138, -0.015581672079861164, 0.004260189365595579, -0.01735549233853817, -0.030487675219774246, 0.011836337856948376, -0.023684799671173096, -0.01881534233689308, 0.03223777934908867, 0.004336809739470482, 0.008361184038221836, -0.01424447726458311, 0.018439266830682755, -0.011098598130047321, 0.002117306459695101, 0.0038896827027201653, -0.02589315176010132, -0.015113120898604393, 0.015014668926596642, -0.03214998170733452, 0.020439570769667625, -0.09922640025615692, -0.015006058849394321, 0.009500245563685894, -0.003685138886794448, -0.01392846554517746, 0.853493332862854, -0.016175614669919014, 0.00819152407348156, 0.04507429525256157, 0.007234402932226658, -0.007223936729133129, -0.012723023071885109, 0.031202269718050957, 0.010376106016337872, 0.014122797176241875, -0.029901569709181786, -0.006730855908244848, 0.031251925975084305, 0.028752362355589867, 0.019299054518342018, 0.023466018959879875, -0.002854740945622325, -0.032134875655174255, 0.0012055811239406466, 0.0033994733821600676, 0.009575208649039268, 0.01349920779466629, 0.014327979646623135, -0.009985760785639286, 0.018854809924960136, 0.025820419192314148, -0.18587593734264374, 0.0042689344845712185, -7.648288606751949e-33, 0.05003494396805763, -0.026669150218367577, 0.02424108423292637, 0.011488198302686214, 0.007047413382679224, 0.0047598048113286495, 0.015195728279650211, -0.00482015497982502, -0.0006574026774615049, 0.004635188728570938, -0.02689535543322563, -0.016617663204669952, -0.0155552439391613, 0.005815261974930763, 0.032939158380031586, -0.025767605751752853, 0.0136331208050251, 0.03568258881568909, -0.008183064870536327, 0.016953956335783005, 0.032406896352767944, 0.018828008323907852, -0.03820832446217537, 0.039872679859399796, 0.014009670354425907, 0.0126742422580719, 0.030310211703181267, 0.03284076228737831, -0.023948900401592255, -0.023029208183288574, -0.03796831890940666, 0.019221272319555283, -0.003478899598121643, -0.009004211984574795, 0.007880187593400478, -0.050357427448034286, -0.028126025572419167, 0.005976852495223284, 0.00007029010157566518, -0.017748234793543816, -0.02208905667066574, 0.006096042692661285, -0.0418969988822937, -0.021774867549538612, -0.031024299561977386, 0.014725771732628345, -0.01379414927214384, 0.029827948659658432, -0.012484895065426826, -0.00018842649296857417, 0.029572784900665283, 0.00797821581363678, -0.001132752513512969, 0.004452406894415617, -0.014782099984586239, 0.013996249064803123, 0.01030504796653986, -0.014886119402945042, 0.023614296689629555, 0.06437067687511444, 0.010217278264462948, -0.004292136989533901, -0.007034334819763899, 0.03412957489490509, -0.02496495097875595, -0.0014068621676415205, 0.03007950820028782, -0.011337559670209885, 0.024495383724570274, 0.0005530814523808658, -0.06392469257116318, 0.033193331211805344, 0.004141675308346748, -0.006179377902299166, 0.029759526252746582, -0.04187978431582451, 0.001315540517680347, 0.047724828124046326, -0.0055859568528831005, 0.02645723894238472, -0.001274044974707067, -0.012892828322947025, -0.005001808516681194, -0.04657681658864021, -0.01195257157087326, -0.01587177813053131, 0.026014110073447227, 0.01959657110273838, -0.03447253629565239, 0.009365939535200596, 0.03871883824467659, 0.01116191502660513, -0.01678553968667984, -0.030715033411979675, -0.02779134176671505, 7.682837120406585e-33, 0.013880247250199318, -0.019036464393138885, -0.00910288654267788, -0.00405723275616765, 0.011375874280929565, -0.0031444192864000797, 0.012181835249066353, 0.023529166355729103, -0.05573533475399017, 0.030247831717133522, -0.005627661943435669, 0.004165124148130417, 0.0015114105772227049, 0.02858126163482666, 0.030416328459978104, -0.02558179385960102, 0.02244693785905838, -0.03109784983098507, -0.00903379637748003, 0.01825883612036705, 0.0120437853038311, 0.004028808791190386, 0.004069863352924585, 0.0033744224347174168, 0.03718290850520134, 0.05632476508617401, -0.029693592339754105, 0.023340439423918724, -0.010401370003819466, 0.018293749541044235, -0.009484541602432728, -0.026375291869044304, 0.018940038979053497, -0.01733776181936264, 0.0035549993626773357, 0.019909288734197617, 0.00908245611935854, -0.036694128066301346, -0.001404029899276793, 0.011793307028710842, 0.04686877876520157, 0.0059300633147358894, -0.01853163167834282, 0.0439675971865654, 0.016551509499549866, 0.016606442630290985, 0.0010036819148808718, -0.016401715576648712, -0.01033937931060791, -0.004433659370988607, 0.0028432407416403294, 0.006510931067168713, 0.008901570923626423, -0.018439244478940964, -0.016100116074085236, -0.03913071006536484, -0.02294253557920456, 0.012617820873856544, -0.0347323901951313, -0.009680917486548424, -0.021223338320851326, -0.006899070926010609, -0.007845579646527767, 0.017361197620630264, -0.028094055131077766, 0.007147553376853466, 0.019777856767177582, -0.0323590487241745, -0.0022574197500944138, 0.0004292455269023776, -0.01683327555656433, 0.00520196883007884, -0.00024220647173933685, 0.053734421730041504, 0.013094959780573845, -0.04007982090115547, -0.03410174697637558, 0.02586684376001358, -0.0027879357803612947, 0.03745117411017418, 0.017423775047063828, 0.016412733122706413, 0.04175284132361412, 0.02881428226828575, 0.007982859387993813, 0.037507861852645874, -0.023859495297074318, 0.042023591697216034, -0.02387748658657074, -0.0161830335855484, -0.018051503226161003, -0.01891370490193367, -0.01379864476621151, 0.02669367752969265, 0.025387998670339584, -1.3254861208622515e-8, -0.0215211920440197, 0.036566682159900665, 0.021511318162083626, 0.01553239207714796, 0.042862605303525925, 0.014627904631197453, -0.0172890555113554, 0.030453110113739967, -0.005856479983776808, 0.01831895485520363, 0.03999766707420349, 0.0008612137171439826, -0.03192083165049553, 0.00821843184530735, -0.0018553446279838681, -0.048176463693380356, -0.0027601229958236217, -0.04490140452980995, 0.027040449902415276, 0.016889680176973343, 0.027100855484604836, 0.04549223184585571, -0.028538689017295837, 0.008989986032247543, 0.02117985486984253, -0.0038839485496282578, 0.004482921212911606, -0.06061866879463196, -0.02067556604743004, -0.010245275683701038, 0.010004973970353603, -0.04233435541391373, -0.04114234447479248, 0.02866358682513237, -0.003062464063987136, -0.053622517734766006, 0.026368800550699234, 0.014071786776185036, 0.043336715549230576, -0.010388494469225407, -0.025834405794739723, 0.013314507901668549, 0.014495852403342724, -0.030122775584459305, -0.01590084657073021, 0.03253086656332016, -0.032337918877601624, -0.04240363836288452, -0.0014832994202151895, -0.02769119292497635, -0.011518705636262894, -0.02147308737039566, 0.016160104423761368, 0.040353789925575256, -0.0015517587307840586, -0.012706876732409, 0.011200989596545696, -0.021603798493742943, -0.049357425421476364, 0.014739061705768108, 0.041220445185899734, 0.012504001148045063, -0.02020133100450039, -0.011772279627621174 ]
nygard-big-data-model-the-investigation-stage
https://markhneedham.com/blog/2012/10/10/nygard-big-data-model-the-investigation-stage
false
2012-10-21 23:08:01
How we're using story points
[ "agile" ]
[ "Agile" ]
A couple of weeks ago Joshua Kerievsky wrote a post http://www.industriallogic.com/blog/stop-using-story-points/[describing how he and his teams don't use story points anymore] because of the problems they'd had with them which included: * Story Point Inflation - inflating estimates of stories so that the velocity for an iteration is higher * Comparing teams by points - judging comparative performance of teams by how many points they're able to complete On the team I'm currently working on we still estimate the relative size of stories using points but we don't use velocity per iteration to keep score - most of the time it's barely even mentioned. Instead for the past couple of months we've just been *using the velocity to see whether or not we were going to achieve the minimum viable infrastructure (MVI)* that we needed to have done before launch. The nice thing on this occasion was that the MVI was actually reasonably flexible and there were bits of it which were 'nice to have' if we had the time and would make our life easier but didn't have to be there to launch. As it turned out we ended up finishing the cards required for the MVI a couple of weeks early which left us some flexibility/time to do things which had been forgotten or cropped up late on because something else didn't work. We did have a few weeks where our velocity fluctuated massively but an interesting observation which https://twitter.com/philandstuff[Phil] made at the time was that despite the points totals being different we'd actually completed roughly the same number of cards. Joshua describes the same thing in his post when detailing an email sent to the Extreme Programming list by Don Wells: ____ We have been counting items done. Each week we just choose the most important items and sign up for them up to the number from last week. It turns out that we get about the same number of them done regardless of estimated effort ____ This approach was described to me a few years ago by http://blog.rufiao.com/about/[Julio Maia] but as I understand it works on the assumption that we can break the work down into chunks which are roughly the same size which in my experience is very difficult to do. Whatever approach we end up using I think it's important that we *don't praise or criticise the team based on the velocity achieved that week*. I've worked on numerous teams where the project manager will praise the team in the standup for achieving a velocity higher than normal even though nothing has changed which would account for the increase. In fact the change in velocity can probably be accounted for by normal variance. If we don't do that and just use the story points as a tool for roughly judging how much work we can complete in a time period then they're not so horrendous. Easier said than done of course!
null
null
[ 0.00456639239564538, -0.006056611426174641, 0.02066849358379841, 0.04373200982809067, 0.06780431419610977, 0.010658982209861279, 0.0154309943318367, 0.030929816886782646, 0.014003591611981392, -0.009750672616064548, -0.005072387866675854, -0.005300854332745075, -0.04855542257428169, 0.02514311671257019, -0.026686768978834152, 0.0701596811413765, 0.021451085805892944, 0.013003736734390259, 0.019694406539201736, 0.004094529896974564, 0.02747887372970581, 0.05901983380317688, 0.04539042338728905, 0.03556052967905998, 0.02645842358469963, -0.012842780910432339, 0.025100087746977806, -0.006538058631122112, -0.03259176388382912, 0.0038183266296982765, 0.01123168133199215, -0.012395772151648998, -0.001067094854079187, -0.006788112688809633, 0.01971990242600441, -0.030398713424801826, -0.008008857257664204, 0.04404723644256592, 0.008237751200795174, -0.008281758986413479, -0.07056079804897308, 0.04862343519926071, -0.04489147290587425, -0.0030767612624913454, -0.02464873343706131, -0.0036842834670096636, -0.031662821769714355, -0.010025616735219955, -0.006431802175939083, 0.006612010300159454, -0.06611856818199158, 0.03732357174158096, -0.007306881248950958, 0.004029356874525547, -0.03082980029284954, 0.03300129994750023, -0.007944375276565552, -0.06045785918831825, -0.005217577796429396, -0.03492047265172005, -0.010263650678098202, -0.020890919491648674, 0.007506583817303181, 0.04199007898569107, 0.029184238985180855, -0.04415441304445267, 0.018313948065042496, 0.03412747010588646, -0.022829031571745872, 0.015165676362812519, -0.021116962656378746, 0.0025987750850617886, -0.00003747047594515607, -0.016325322911143303, 0.008207234553992748, -0.06409676373004913, 0.021709708496928215, 0.07826440036296844, 0.0270314309746027, 0.036732688546180725, -0.018284982070326805, 0.020865783095359802, 0.005874698981642723, 0.03309733793139458, -0.02939665876328945, -0.03733250871300697, 0.022671904414892197, -0.050396744161844254, -0.04785102978348732, 0.0675751194357872, 0.004881222732365131, -0.05796092003583908, 0.026704061776399612, 0.021986383944749832, -0.0013460147893056273, -0.0032374823931604624, 0.01603238843381405, 0.017447946593165398, -0.010215774178504944, -0.04274990037083626, -0.03269173204898834, -0.019063346087932587, -0.0017538447864353657, 0.03366398438811302, -0.07722994685173035, -0.01134623121470213, -0.005885360762476921, -0.0004573098849505186, -0.005902393255382776, 0.012247302569448948, -0.02943306230008602, -0.0034934752620756626, -0.011627842672169209, 0.004464673809707165, -0.08280487358570099, 0.05021654814481735, 0.01284712553024292, -0.040184035897254944, -0.021721921861171722, -0.0003771997580770403, 0.04468577727675438, 0.03584231436252594, -0.002895109821110964, 0.0640719085931778, -0.010608476586639881, 0.028818905353546143, -0.01076158694922924, 0.044442594051361084, -0.012146549299359322, -0.055649422109127045, 0.0037206148263067007, 0.056833576411008835, -0.041509244590997696, -0.0035755194257944822, 0.020158467814326286, -0.052889395505189896, -0.00043124795774929225, -0.006017165258526802, 0.04235786572098732, 0.03909394517540932, -0.013486657291650772, -0.03402427211403847, 0.010552410036325455, 0.03330192714929581, 0.023910684511065483, -0.012984640896320343, 0.0027652063872665167, -0.03669428080320358, -0.06002973020076752, -0.0312289297580719, 0.011030229739844799, 0.005881391000002623, 0.01361117698252201, -0.030495308339595795, 0.030404049903154373, 0.0713670626282692, 0.0307034719735384, 0.000789077952504158, -0.018876057118177414, 0.0505368672311306, 0.038583580404520035, 0.042821403592824936, 0.03681644797325134, 0.029727568849921227, 0.007964074611663818, -0.0176304392516613, 0.021416567265987396, 0.036910295486450195, -0.011583090759813786, -0.009078538976609707, -0.04104682803153992, -0.04634501785039902, 0.06009773910045624, -0.02576102688908577, -0.029279401525855064, 0.04934166744351387, 0.08115140348672867, 0.04598337784409523, 0.03461599722504616, 0.013802601024508476, -0.07894223928451538, 0.038540203124284744, 0.021680505946278572, 0.02004850097000599, 0.035641491413116455, -0.034195426851511, 0.05330629274249077, 0.02271921932697296, 0.004349568858742714, 0.018830904737114906, -0.05797577276825905, -0.06880087405443192, -0.009607946500182152, -0.010059061460196972, 0.04794270172715187, -0.03454659506678581, 0.02429887279868126, 0.08884977549314499, 0.030686676502227783, 0.03956369310617447, 0.030522944405674934, 0.0120976772159338, 0.038734108209609985, -0.04603071138262749, -0.03829411789774895, 0.055211085826158524, 0.02513532154262066, -0.013393155299127102, -0.06650567054748535, 0.026992518454790115, -0.035753924399614334, -0.00456677470356226, 0.030500032007694244, -0.016408510506153107, 0.030752675607800484, 0.01319983322173357, 0.05485912784934044, -0.025435997173190117, 0.041083697229623795, -0.051389824599027634, 0.021927494555711746, 0.00380631722509861, -0.01914815977215767, 0.007271721493452787, -0.007967398501932621, 0.1176198422908783, 0.0418575145304203, -0.05085587501525879, -0.06169856712222099, 0.019059935584664345, 0.017007075250148773, -0.03246941417455673, -0.006503140553832054, -0.020051924511790276, 0.0031667472794651985, -0.0016197834629565477, -0.06424116343259811, -0.038319364190101624, 0.03188818693161011, -0.0370749793946743, 0.015818467363715172, 0.04440033435821533, 0.017268195748329163, 0.08219615370035172, 0.0029381602071225643, 0.02191905863583088, -0.015606523491442204, -0.019619574770331383, -0.05883317440748215, -0.007063976023346186, -0.008110148832201958, -0.020432710647583008, 0.04291976988315582, -0.02170349657535553, -0.029723163694143295, -0.025218535214662552, -0.04980618506669998, 0.00858970545232296, 0.05102457106113434, 0.07526189833879471, 0.008494251407682896, 0.06906106323003769, -0.02430725283920765, 0.018942955881357193, 0.007950732484459877, -0.05142566189169884, -0.05928937718272209, -0.027679797261953354, -0.004172225948423147, 0.03900628536939621, 0.04055725410580635, 0.0025588630232959986, 0.011365313082933426, -0.005030330736190081, -0.004812612663954496, -0.002393931383267045, 0.029017169028520584, -0.0177621990442276, -0.01824651099741459, -0.012095768935978413, -0.02625904232263565, 0.05264719948172569, -0.03518851846456528, -0.0029727406799793243, 0.022585198283195496, -0.06364863365888596, 0.03431476280093193, -0.06113032251596451, -0.015606802888214588, -0.0009229229181073606, 0.00295439874753356, 0.039801642298698425, 0.013217109255492687, 0.019531600177288055, 0.067688949406147, 0.02616964839398861, 0.007436806336045265, 0.006532878614962101, 0.0022894800640642643, 0.03798709437251091, -0.005607611034065485, -0.014099611900746822, 0.04447612538933754, -0.012167500331997871, -0.005825137719511986, -0.07051566243171692, 0.04681500419974327, -0.022207576781511307, -0.3176437318325043, 0.0212702676653862, -0.016563890501856804, -0.03456126153469086, 0.006349232047796249, -0.01840316131711006, 0.002757383743301034, -0.033646322786808014, -0.0350736640393734, 0.011952655389904976, -0.03225794434547424, -0.021519215777516365, -0.02039657160639763, 0.032452452927827835, 0.021358782425522804, 0.02627658285200596, 0.0423404797911644, -0.028310421854257584, 0.014112234115600586, 0.052693553268909454, -0.014131629839539528, -0.08436499536037445, -0.020538605749607086, 0.035405613481998444, 0.028778962790966034, 0.08026021718978882, -0.05960618704557419, 0.037605807185173035, -0.0641651600599289, -0.00154094398021698, 0.007447589188814163, -0.010842693038284779, 0.015605700202286243, -0.025276822969317436, -0.0006545216892845929, -0.04946327954530716, 0.024145999923348427, -0.012437357567250729, -0.0024324797559529543, -0.0075147212482988834, -0.014601517468690872, -0.03849157691001892, -0.0191293153911829, 0.032080236822366714, 0.05631091445684433, 0.011049875989556313, -0.07567896693944931, 0.027137858793139458, -0.013092448003590107, 0.06298397481441498, 0.00037000063457526267, -0.031440190970897675, -0.02629995159804821, 0.029946310445666313, -0.023823218420147896, -0.04959617927670479, -0.01942463591694832, -0.03684993460774422, -0.04380379244685173, -0.017219118773937225, -0.01789271831512451, -0.03505359962582588, -0.004496771842241287, -0.026406943798065186, -0.022236162796616554, -0.05643398314714432, -0.0558687299489975, 0.00009029743523569778, 0.0551232248544693, -0.011971529573202133, -0.022064676508307457, 0.02299593761563301, -0.0025533572770655155, -0.09812819957733154, -0.010695832781493664, 0.007015204522758722, -0.027544725686311722, 0.038511477410793304, -0.004342538770288229, 0.04990527778863907, -0.03341493010520935, -0.0565413236618042, 0.004272520542144775, -0.008340961299836636, 0.02818680927157402, -0.025602303445339203, 0.04900382086634636, 0.028325270861387253, -0.01487295888364315, 0.020194856449961662, 0.05868077278137207, -0.02141505852341652, -0.009287715889513493, 0.0023137081880122423, 0.011014249175786972, -0.0030130932573229074, 0.02317836694419384, -0.0014837360940873623, -0.0032201556023210287, 0.05610183626413345, -0.01332137268036604, -0.052777353674173355, 0.03034386597573757, -0.03845473751425743, -0.016106413677334785, -0.003160183085128665, -0.02461850270628929, -0.001975692342966795, 0.03398726135492325, 0.019687019288539886, 0.01219173427671194, -0.04433683305978775, 0.014822021126747131, -0.04479961469769478, -0.007903850637376308, -0.0008719159523025155, 0.02743094600737095, 0.05368299409747124, -0.012022571638226509, -0.0016757911071181297, -0.059412166476249695, 0.007450202014297247, -0.007892624475061893, -0.003986187279224396, -0.0469612218439579, -0.020888565108180046, -0.018108613789081573, -0.025779964402318, 0.026623154059052467, 0.008712796494364738, -0.020463326945900917, 0.009926033206284046, 0.03152821958065033, -0.02989945374429226, 0.03421977907419205, -0.03137591853737831, -0.061584893614053726, -0.032818280160427094, 0.025833899155259132, -0.007363555952906609, -0.0063329520635306835, 0.049496594816446304, -0.0015432324726134539, 0.0291980542242527, 0.026853322982788086, 0.0011304125655442476, 0.011414910666644573, -0.019613798707723618, 0.008666453883051872, 0.007550008594989777, -0.001347827143035829, -0.07303030043840408, 0.012403449043631554, -0.025300337001681328, -0.013262116350233555, -0.012961234897375107, 0.03812514618039131, -0.017911873757839203, -0.016344645991921425, -0.023424921557307243, 0.025354348123073578, -0.044711243361234665, -0.0435311496257782, -0.01860428787767887, 0.02934654988348484, 0.05013525113463402, -0.02081473357975483, 0.011988061480224133, 0.02125479094684124, -0.012528925202786922, 0.01174068171530962, -0.005577868781983852, -0.04311174899339676, 0.011646891944110394, -0.007148622535169125, -0.008085026405751705, 0.008303954266011715, 0.003966057673096657, 0.043846096843481064, -0.005501407198607922, -0.010969219729304314, -0.03440888598561287, 0.01694485731422901, 0.03370523080229759, 0.042881276458501816, 0.06005540117621422, 0.011117509566247463, 0.010613756254315376, -0.02004743553698063, -0.006078711710870266, -0.041872959583997726, -0.0015711806481704116, -0.0012718336656689644, 0.002030961448326707, -0.0318014994263649, -0.06928231567144394, 0.06513340771198273, 0.011462110094726086, 0.010369575582444668, 0.019323600456118584, -0.00971877109259367, 0.0035478221252560616, -0.027736572548747063, 0.006127644330263138, 0.06653648614883423, -0.0462874174118042, -0.003104452509433031, -0.014543723315000534, 0.007085396908223629, 0.0062711201608181, 0.0043127406388521194, -0.04102997109293938, -0.02319657802581787, -0.0055220103822648525, 0.03635358065366745, -0.0863703265786171, -0.008935127407312393, -0.0471305176615715, 0.003613059176132083, 0.020270895212888718, 0.0024077303241938353, -0.02024412900209427, -0.034643787890672684, -0.027890274301171303, -0.03360353037714958, 0.023290950804948807, -0.030654456466436386, -0.025090748444199562, 0.0003846354957204312, -0.05542909726500511, -0.0005850030574947596, -0.04250936955213547, 0.018712904304265976, 0.03491538390517235, -0.03286956623196602, 0.04239390790462494, -0.04509703442454338, 0.02909150905907154, -0.003685670904815197, 0.05673125758767128, -0.028078030794858932, -0.040617089718580246, -0.018022488802671432, -0.00042823090916499496, -0.03154737874865532, 0.0030860924161970615, -0.01175712700933218, 0.007596032693982124, 0.029010338708758354, 0.06901150196790695, 0.02525431290268898, 0.010403730906546116, -0.020949747413396835, -0.028681861236691475, 0.047690339386463165, -0.058178890496492386, -0.013166342861950397, -0.03142516687512398, -0.059752464294433594, 0.006415215786546469, 0.004000415559858084, 0.020416783168911934, -0.049543507397174835, 0.0424426905810833, 0.01401025615632534, 0.042266108095645905, 0.03871804475784302, 0.012226298451423645, 0.018748268485069275, -0.04683511331677437, -0.013219534419476986, -0.10396495461463928, -0.010604562237858772, 0.05575975403189659, -0.00020532304188236594, 0.02521182782948017, 0.023717591539025307, -0.041603073477745056, 0.051454175263643265, -0.07583314180374146, -0.032033488154411316, 0.04206737130880356, -0.028923971578478813, -0.010551239363849163, 0.024778012186288834, -0.06841444969177246, 0.008345378562808037, 0.03125695884227753, -0.029239783063530922, -0.00601192144677043, -0.01429856289178133, 0.0559033565223217, -0.011254535987973213, 0.017840979620814323, -0.031099362298846245, -0.02111777290701866, 0.07904144376516342, 0.008533436805009842, -0.0032387464307248592, 0.06408865004777908, -0.002820424037054181, 0.04100705310702324, 0.02367336116731167, 0.004251497332006693, 0.009873115457594395, -0.0016759253339841962, -0.01285719033330679, -0.05110788717865944, 0.04392334073781967, 0.004553338047116995, -0.03192143887281418, -0.03335690125823021, 0.06452687829732895, 0.010245725512504578, -0.01644250936806202, -0.07380781322717667, 0.018802784383296967, -0.03533502295613289, -0.010700087994337082, -0.02181260660290718, -0.004664440173655748, -0.049915604293346405, 0.03638710826635361, -0.010512677021324635, 0.004107722081243992, 0.06258858740329742, 0.0010710539063438773, -0.017139850184321404, -0.021760784089565277, 0.07931970804929733, 0.09982608258724213, 0.07751549780368805, 0.0002989289059769362, 0.06911510229110718, -0.013342546299099922, -0.06318704038858414, 0.003923384007066488, -0.006052093580365181, -0.01139072235673666, -0.013557860627770424, 0.03169509768486023, 0.06374319642782211, -0.01721002161502838, 0.07106292247772217, -0.010699707083404064, -0.027719421312212944, 0.0030817219521850348, 0.04624571278691292, 0.0032864862587302923, 0.06207282841205597, 0.000897941121365875, 0.011583254672586918, -0.029353471472859383, -0.058162085711956024, 0.021011246368288994, -0.03975528106093407, -0.004549532663077116, 0.03510380908846855, -0.0018901852890849113, 0.041780825704336166, -0.0025065389927476645, 0.028197338804602623, 0.07554509490728378, -0.07005712389945984, 0.016634562984108925, -0.006483558099716902, 0.03182799369096756, -0.00664275698363781, 0.02352122589945793, -0.014325213618576527, -0.002522687893360853, 0.01094949059188366, -0.028468383476138115, -0.013901956379413605, -0.027384787797927856, -0.019805047661066055, 0.02984224259853363, -0.03961049020290375, -0.01807527244091034, 0.02738037332892418, 0.0013264411827549338, -0.05037878453731537, -0.05390264093875885, -0.007950610481202602, -0.0348447747528553, -0.07388952374458313, -0.01312866061925888, 0.03552958369255066, 0.022076508030295372, -0.034624405205249786, -0.009233899414539337, -0.03759053722023964, -0.03413786739110947, 0.048589352518320084, -0.034891702234745026, -0.003747906070202589, 0.00624607689678669, 0.017642289400100708, 0.0026978147216141224, 0.033654503524303436, 0.04780286177992821, -0.01801147498190403, -0.009265467524528503, -0.006788518745452166, 0.03110435977578163, 0.0331607386469841, 0.010484484024345875, 0.002328845439478755, -0.09093558043241501, 0.01288518961519003, 0.05013372749090195, -0.01835414208471775, -0.0709763839840889, 0.02702908404171467, 0.00513102114200592, -0.022888492792844772, 0.057612039148807526, -0.021903827786445618, 0.019448172301054, -0.06836061179637909, -0.001239866716787219, -0.02085776999592781, -0.0012488779611885548, 0.03324529156088829, -0.018442347645759583, 0.09125412255525589, 0.023594040423631668, -0.028137898072600365, -0.023737961426377296, -0.01082731131464243, 0.013163798488676548, 0.0004083884123247117, -0.021199090406298637, -0.03922922536730766, -0.02673889696598053, -0.08200204372406006, -0.018296001479029655, 0.04101364314556122, -0.012681347317993641, -0.03659569472074509, 0.04734404385089874, 0.009106832556426525, -0.034266166388988495, 0.0009032495436258614, -0.025520993396639824, 0.05079619213938713, -0.0224657841026783, -0.010441157966852188, -0.008893867023289204, 0.010732859373092651, -0.007191019132733345, 0.011251397430896759, -0.002870862605050206, -0.04595174267888069, 0.012542223557829857, 0.0026031890884041786, 0.0032115925569087267, 0.041820116341114044, 0.01956288516521454, -0.008551347069442272 ]
[ -0.09301630407571793, -0.006559602450579405, -0.02383645810186863, 0.0046651773154735565, 0.022678587585687637, -0.01941770873963833, -0.03993019089102745, 0.03764542192220688, 0.01800531893968582, -0.002035953802987933, 0.013866773806512356, -0.00882462877780199, -0.01777677610516548, 0.0021292867604643106, 0.03750760853290558, -0.0003167589311487973, -0.0176665261387825, -0.08402073383331299, 0.01759212277829647, 0.029221633449196815, 0.0010431865230202675, -0.04800329729914665, -0.00553641514852643, -0.015335552394390106, 0.027178756892681122, 0.03388563543558121, 0.012786474078893661, -0.04616022855043411, -0.004941370338201523, -0.20720936357975006, -0.00547744007781148, 0.006568494252860546, 0.04342936724424362, -0.014218771830201149, -0.011065063066780567, 0.04940001666545868, 0.004205815028399229, 0.03713901713490486, 0.01245836727321148, 0.04422266408801079, 0.020192451775074005, 0.02286383882164955, -0.03248988837003708, -0.04124898836016655, 0.05661759525537491, 0.000550903263501823, -0.015022792853415012, -0.01125448476523161, 0.0077118100598454475, 0.038107313215732574, -0.04982759431004524, -0.024732524529099464, -0.017528556287288666, -0.007508984766900539, -0.002755700144916773, 0.05267796665430069, 0.021845031529664993, 0.04772597923874855, 0.019680676981806755, 0.011161244474351406, 0.02513672411441803, -0.0175611712038517, -0.14640916883945465, 0.04723319411277771, 0.025217143818736076, 0.040905583649873734, -0.04289286583662033, -0.02078765258193016, -0.0185250211507082, 0.09559047967195511, -0.013828291557729244, -0.02493065781891346, -0.007004696410149336, 0.016658926382660866, 0.027716372162103653, 0.01785057596862316, 0.016129830852150917, 0.026550402864813805, 0.01967882178723812, -0.03942887485027313, -0.023977266624569893, -0.012475711293518543, -0.03893738240003586, -0.013757376931607723, -0.03883406147360802, 0.026913339272141457, -0.004835441708564758, 0.07118071615695953, 0.027247965335845947, 0.02837928757071495, 0.07574836909770966, 0.010211016051471233, 0.029635002836585045, 0.01158023439347744, -0.09755305200815201, -0.03512503206729889, -0.0036259142216295004, 0.02246866002678871, -0.04648112133145332, 0.48043331503868103, 0.01376859936863184, -0.017222832888364792, 0.05966106429696083, 0.0553588792681694, -0.009233538992702961, -0.00037418381543830037, -0.01061328500509262, -0.05447570979595184, 0.014775373041629791, -0.02287621609866619, 0.01552088838070631, 0.020988410338759422, 0.07589028775691986, -0.03933372348546982, 0.036795474588871, 0.05424075573682785, 0.011017600074410439, 0.026652473956346512, -0.009708852507174015, -0.006405290216207504, -0.0032109960447996855, 0.033315014094114304, 0.008404101245105267, 0.0035687496419996023, -0.04428116977214813, -0.03204275295138359, 0.037934545427560806, 0.05286770313978195, 0.02721790038049221, -0.008910294622182846, 0.0427791103720665, -0.06053581461310387, -0.09151025116443634, 0.007682615425437689, -0.0051587242633104324, -0.004140797071158886, 0.04128756374120712, -0.02600223757326603, 0.021383870393037796, 0.041836149990558624, -0.004411932080984116, 0.011769535951316357, -0.00022701667330693454, -0.03888712078332901, -0.04989313706755638, 0.13297457993030548, 0.047640059143304825, -0.04738224670290947, 0.01915581338107586, -0.04567919299006462, 0.0004842514172196388, 0.018969418480992317, -0.0026512264739722013, -0.05116911232471466, 0.008390730246901512, -0.0028867048677057028, 0.061984527856111526, -0.012761905789375305, -0.08084703236818314, 0.004974059294909239, -0.011651874519884586, -0.027268867939710617, -0.043042030185461044, 0.03896745666861534, 0.07633769512176514, -0.09489333629608154, -0.019793299958109856, 0.014024817384779453, 0.01984444446861744, -0.06255151331424713, -0.02783864736557007, 0.006866661366075277, -0.022100700065493584, -0.009172606281936169, 0.06497500091791153, -0.03256361186504364, -0.04743945598602295, 0.017320899292826653, 0.05275348946452141, 0.023032091557979584, 0.004036548547446728, 0.010813524015247822, -0.020698577165603638, 0.005648414604365826, -0.03530200570821762, -0.08964620530605316, -0.06337467581033707, -0.01684439182281494, -0.03037167340517044, -0.017803456634283066, -0.01684642769396305, -0.02955552563071251, -0.07565080374479294, 0.12765131890773773, -0.020718393847346306, -0.03574700653553009, 0.030775373801589012, -0.0027794023044407368, -0.02175956405699253, -0.04414263367652893, -0.07242635637521744, -0.012307669967412949, -0.0199955515563488, 0.045153576880693436, -0.06721720844507217, 0.0585906021296978, 0.025998832657933235, -0.053070202469825745, 0.07203102111816406, 0.04733995720744133, -0.031077655032277107, -0.06164254993200302, -0.009391688741743565, 0.03685079887509346, -0.017157146707177162, 0.018254201859235764, 0.008701778948307037, 0.00033032719511538744, -0.026521136984229088, 0.01651168055832386, -0.004865061026066542, 0.029295772314071655, -0.0017619130667299032, -0.3388991057872772, -0.04878469556570053, -0.04132393002510071, -0.012351494282484055, 0.0016850209794938564, -0.05890144407749176, 0.004769215360283852, -0.0002516470558475703, -0.014830464497208595, 0.032887112349271774, 0.0645456314086914, -0.025722013786435127, 0.0020479520317167044, -0.09655594080686569, 0.011051234789192677, -0.0024646983947604895, -0.06677880138158798, -0.005692706443369389, -0.014571298845112324, 0.014551914297044277, 0.016377748921513557, 0.010710381902754307, -0.047864340245723724, -0.041369952261447906, 0.0004893001751042902, -0.025026997551321983, 0.11577512323856354, 0.025660760700702667, 0.04941784217953682, -0.026662277057766914, 0.01397641934454441, 0.0185078214854002, 0.015306193381547928, -0.05543337017297745, 0.004312252160161734, -0.02322692610323429, 0.03294183686375618, -0.033570680767297745, 0.008435283787548542, -0.040960852056741714, -0.06135009974241257, 0.02459743618965149, -0.04111504554748535, -0.03572818636894226, -0.06589522957801819, 0.019859785214066505, -0.02524559013545513, -0.02021992765367031, -0.01880820468068123, 0.0782003179192543, 0.02789929322898388, -0.015473224222660065, 0.028320904821157455, -0.02421730011701584, 0.009007960557937622, -0.021017009392380714, -0.07791423052549362, 0.0234247874468565, 0.004206059500575066, 0.003507144981995225, 0.011789382435381413, 0.05611248314380646, 0.03368155658245087, -0.03189711272716522, 0.013944847509264946, 0.016525540500879288, 0.0029450966976583004, 0.0008187456405721605, 0.040650125592947006, -0.003337062196806073, -0.013566635549068451, 0.07767712324857712, 0.0011649866355583072, -0.013825824484229088, 0.044353190809488297, 0.033038459718227386, 0.0008158298442140222, 0.024206040427088737, 0.03370712697505951, 0.0007926590042188764, 0.03281561657786369, -0.02190546505153179, 0.02449481375515461, -0.008581209927797318, -0.013632697984576225, 0.03482015058398247, -0.0047674099914729595, -0.04489108920097351, 0.042184844613075256, 0.03404712304472923, -0.016907326877117157, 0.02468777820467949, -0.03444892540574074, -0.03722112253308296, 0.05210456624627113, -0.0012177005410194397, -0.2467327117919922, 0.018247287720441818, 0.07566563785076141, 0.012002922594547272, 0.010657625272870064, 0.010002688504755497, 0.020120719447731972, -0.03826475515961647, 0.02599019557237625, 0.021420646458864212, 0.012554115615785122, 0.040487922728061676, -0.003208932001143694, -0.008967805653810501, 0.015488777309656143, -0.014851802960038185, 0.022584592923521996, -0.004511326085776091, 0.04810492694377899, 0.0028562808874994516, 0.017323922365903854, 0.0018374175997450948, 0.16181546449661255, 0.021044878289103508, -0.007061213254928589, 0.005414596758782864, -0.007149831857532263, -0.007154788356274366, 0.038310855627059937, 0.006141301244497299, -0.01201662514358759, -0.003910084255039692, 0.013636728748679161, 0.031778376549482346, 0.018824588507413864, -0.05609085038304329, -0.0023550265468657017, 0.04844950884580612, 0.0171720702201128, 0.013256357982754707, 0.01855294220149517, 0.018865346908569336, 0.003786708926782012, 0.0037818853743374348, 0.04753776639699936, 0.020603813230991364, -0.01720018871128559, -0.03234477341175079, -0.07839422672986984, -0.019327443093061447, -0.04624905809760094, -0.05734173208475113, 0.020069345831871033, -0.013434985652565956, 0.005160641390830278, 0.08979737758636475, 0.0016868638340383768, -0.044544149190187454, 0.02955859899520874, 0.003230696776881814, -0.03360268846154213, -0.010614831000566483, 0.06926721334457397, 0.009631309658288956, 0.027593839913606644 ]
[ 0.0081449244171381, 0.021159671247005463, 0.0037575529422611, 0.04873679205775261, 0.012811887077987194, 0.006496736314147711, -0.03496990352869034, 0.010821896605193615, 0.017489813268184662, -0.019857874140143394, -0.04042600840330124, 0.017037613317370415, -0.006497825495898724, -0.0029097397346049547, 0.023521754890680313, -0.026749389246106148, -0.0061255209147930145, -0.01754443533718586, 0.03466103971004486, 0.025971094146370888, 0.00002528238110244274, 0.018625950440764427, -0.028494661673903465, 0.030626242980360985, -0.017102185636758804, 0.013836964964866638, -0.04976095259189606, 0.00861779972910881, 0.009908845648169518, -0.15882264077663422, -0.021839335560798645, -0.025757916271686554, -0.011067337356507778, 0.01643163524568081, 0.026260651648044586, -0.012657658196985722, 0.02228608727455139, 0.028202159330248833, 0.010057398118078709, -0.005321541801095009, -0.01567118614912033, -0.03609463945031166, 0.007664801552891731, 0.01631140150129795, 0.029907219111919403, 0.026399685069918633, -0.0035178696271032095, -0.013802438043057919, -0.021223532035946846, 0.03895467519760132, -0.05325144901871681, -0.004568389151245356, -0.013240213505923748, -0.005243886262178421, 0.030545586720108986, 0.013592250645160675, 0.013317300006747246, -0.033271513879299164, 0.016009829938411713, -0.0595097690820694, 0.008096372708678246, -0.01575789600610733, -0.0494254007935524, -0.002759403083473444, -0.051676832139492035, -0.050205379724502563, 0.01730751059949398, 0.02016502059996128, -0.027554163709282875, -0.003772198688238859, 0.03810573369264603, 0.02515089325606823, -0.01011400856077671, -0.02873012237250805, 0.014265095815062523, 0.025623146444559097, 0.005129963159561157, -0.03807033225893974, 0.010803216136991978, -0.009538871236145496, -0.01867176592350006, 0.015319054014980793, -0.027285447344183922, -0.01755503937602043, -0.01777360960841179, 0.0028161618392914534, 0.021447326987981796, 0.008193280547857285, 0.03698223456740379, 0.004244872834533453, -0.0021544895134866238, 0.004439729265868664, 0.004191083367913961, 0.007380078546702862, -0.06214161962270737, -0.00519785238429904, -0.06251654028892517, -0.018476050347089767, -0.011297792196273804, 0.8342036604881287, 0.002089467365294695, 0.0043823919259011745, 0.021876581013202667, 0.026982810348272324, 0.026535099372267723, 0.0012906169285997748, -0.0049462453462183475, 0.01789887621998787, 0.0016827423823997378, -0.022986160591244698, 0.04732000082731247, 0.047953397035598755, 0.013865209184587002, 0.007426551077514887, 0.015318802557885647, 0.011982330121099949, -0.028842955827713013, -0.011514302343130112, -0.0391237698495388, 0.006258236709982157, 0.030660266056656837, 0.004236908629536629, 0.012116859667003155, 0.013001907616853714, 0.032963499426841736, -0.14904962480068207, 0.033968500792980194, -7.374261037108104e-33, 0.025813572108745575, -0.006025015376508236, 0.0041726878844201565, -0.010423452593386173, 0.0128715131431818, 0.003714913735166192, 0.0047808075323700905, 0.012495433911681175, -0.012176966294646263, -0.027880022302269936, -0.03212164342403412, 0.004021532833576202, 0.013370812870562077, -0.01705849915742874, 0.03248297795653343, -0.05837313458323479, -0.012843482196331024, 0.023704281076788902, 0.01108546182513237, 0.019138053059577942, 0.05692629516124725, -0.0030752636957913637, -0.0354544073343277, -0.002329285489395261, -0.01799965649843216, 0.04294364154338837, 0.00025536312023177743, -0.014144030399620533, -0.003241154598072171, -0.029124466702342033, -0.004980582743883133, 0.012527398765087128, -0.02129494957625866, -0.01735331490635872, -0.0037678636144846678, -0.030270695686340332, -0.035693712532520294, -0.010427823290228844, 0.0031902433838695288, 0.002923333551734686, -0.038111183792352676, 0.012225106358528137, -0.09295369684696198, -0.02756928652524948, -0.027427883818745613, 0.007901359349489212, 0.036371443420648575, 0.04100152105093002, -0.010613753460347652, -0.029314136132597923, 0.0182788148522377, -0.01156782265752554, 0.019834004342556, -0.008327868767082691, 0.008140995167195797, 0.013762777671217918, 0.029679134488105774, -0.005189662333577871, 0.015509136021137238, 0.02076329104602337, 0.014176112599670887, 0.00182684778701514, -0.017030425369739532, 0.0055358088575303555, 0.003992634825408459, 0.018043020740151405, 0.008229222148656845, 0.0007329368963837624, 0.022488633170723915, -0.00040065994835458696, -0.03429194167256355, -0.029966652393341064, 0.002561915433034301, -0.0023168688639998436, 0.006310237571597099, -0.020117290318012238, -0.02470853552222252, 0.05964861810207367, -0.02399049885571003, 0.04433992877602577, -0.032981254160404205, -0.002575390273705125, -0.029551899060606956, -0.03293671831488609, -0.0005017687217332423, 0.007157321088016033, 0.023624535650014877, 0.003218236844986677, -0.03901064023375511, -0.02992268092930317, 0.026316294446587563, 0.02289397083222866, 0.006434489041566849, 0.007427523843944073, -0.008287976495921612, 8.052034182060942e-33, -0.021406197920441628, -0.0027118928264826536, -0.00936159398406744, 0.02109670080244541, 0.03790104389190674, -0.024326076731085777, 0.019274529069662094, -0.0017360895872116089, -0.04445035383105278, 0.014681804925203323, -0.031269654631614685, -0.01234748587012291, -0.05178287997841835, 0.014694050885736942, 0.04694902151823044, -0.013357985764741898, 0.04779569432139397, -0.03991008177399635, -0.0038672282826155424, 0.0005830514710396528, 0.03687332198023796, -0.012599513866007328, -0.021861057728528976, 0.012208713218569756, 0.06682742387056351, 0.042750634253025055, -0.00974537804722786, -0.0272283423691988, -0.011602550745010376, -0.017904816195368767, 0.019275182858109474, -0.012053318321704865, 0.014753637835383415, -0.006639349274337292, 0.0026916558854281902, 0.023238949477672577, -0.011972537264227867, 0.02469109557569027, 0.0000935927964746952, 0.011812536977231503, 0.04036000743508339, 0.018882660195231438, 0.004240232054144144, 0.04129791632294655, 0.00048404745757579803, 0.03386155888438225, 0.01689494214951992, -0.035633429884910583, -0.008575371466577053, 0.026714429259300232, -0.008649967610836029, -0.022697048261761665, 0.012212231755256653, 0.02965649403631687, -0.031713154166936874, -0.0016782511956989765, -0.008334625512361526, -0.016589883714914322, 0.02130700834095478, -0.009368403814733028, 0.013906260952353477, 0.04122519493103027, -0.015864219516515732, 0.03517681732773781, -0.027526963502168655, -0.02547893300652504, 0.010853931307792664, -0.016562195494771004, -0.04449141025543213, -0.0029621387366205454, -0.04137104004621506, 0.030617572367191315, 0.008730794303119183, 0.053248003125190735, -0.0011797765037044883, -0.02027447707951069, -0.04351074993610382, 0.0004754300171043724, -0.03353867679834366, 0.011720438487827778, -0.0007346275961026549, 0.01553056389093399, 0.026604996994137764, 0.02912190742790699, -0.028060292825102806, 0.03738454356789589, -0.015237401239573956, 0.035199716687202454, 0.026643913239240646, 0.01149610336869955, -0.019937213510274887, -0.03929830715060234, 0.036230117082595825, 0.01615099422633648, -0.024291662499308586, -1.3314965130462042e-8, -0.039791304618120193, -0.0131868626922369, -0.022141937166452408, 0.029540905728936195, -0.012881173752248287, 0.02609855681657791, -0.011418869718909264, 0.04472776874899864, 0.010243461467325687, 0.010480789467692375, 0.05160173773765564, -0.045236486941576004, -0.025409182533621788, 0.026776768267154694, 0.02512981928884983, -0.03182300180196762, 0.018967963755130768, 0.003273752750828862, 0.027546269819140434, -0.002527861623093486, 0.0576324500143528, 0.06582468748092651, -0.0039245979860424995, 0.002938011894002557, 0.02559039555490017, -0.006715244147926569, -0.04186549037694931, -0.0906452089548111, -0.0025545128155499697, -0.01869288459420204, 0.006686507724225521, -0.012149297632277012, -0.03586316853761673, 0.03445319086313248, -0.005614484194666147, -0.016932720318436623, 0.03298710659146309, 0.054806921631097794, -0.00944103579968214, 0.013599303551018238, -0.022266162559390068, 0.0018441334832459688, -0.0005031768232584, -0.03618669509887695, -0.00043277128133922815, 0.006781502161175013, -0.06160280108451843, -0.021299725398421288, 0.009644669480621815, -0.05381815880537033, 0.012395166791975498, 0.0009457729174755514, 0.012624543160200119, 0.053307756781578064, 0.0029371660202741623, 0.011102226562798023, -0.023579398170113564, -0.0337725393474102, -0.02709556184709072, -0.04858803004026413, 0.0058251842856407166, 0.008268071338534355, 0.0029292842373251915, -0.009221375919878483 ]
how-were-using-story-points
https://markhneedham.com/blog/2012/10/21/how-were-using-story-points
false
2012-10-21 21:35:35
Do the simple thing
[ "software-development", "simplicity" ]
[ "Software Development" ]
One of the most unexpected things that I picked up while pairing with https://twitter.com/a5hok[Ashok] for a few days in August/September is his ability to *pick the simplest solution* when confronted with a problem. On numerous occasions we'd be trying to do something and I'd end up on a yak shaving mission trying to get a complicated approach to work while he watched on with bemusement. I thought I'd actually learnt this lesson from working with Ashok but on a couple of occasions over the last week I've caught myself doing the same thing again! A couple of days ago I wanted to send a photo taken on my phone to someone but the photo was about 2MB in size, I couldn't get the wireless network in the office to work and attempting to send it via 3G was totally failing. I somehow found myself trying to debug the problem with the wireless network when http://www.linkedin.com/pub/shodhan-sheth/2/277/287[Shodhan] pointed out that I could just transfer the file via USB to my machine and then email it from there. To add to my shame, earlier this evening I was trying to help my mum get a song from a CD onto the hard drive and somehow found myself trying to compile http://ffmpeg.org/download.html[ffmeg] so that I could convert an AIFF file into an MP3 on my Mac. In actual fact all I needed to do was rip the CD using Windows Media Player which somehow had completely skipped by mind until https://twitter.com/jennifersmithco[Jen] and http://www.youtube.com/watch?v=rV2wkX0InBk[YouTube] led me to that solution at the same time. In retrospect I can't believe I actually believed that what I was doing was a good solution to the problem but some part of my brain clearly though it was! Although both this examples are on the periphery of software development I think it's very easy to fall into the same trap there - *we want to use things that we've learned to come up with clever solutions* but that cleverness isn't always useful!
null
null
[ 0.020658422261476517, -0.00842355377972126, 0.020808622241020203, 0.05655002221465111, 0.10087420791387558, 0.03208472207188606, 0.007566759362816811, 0.03332598879933357, 0.023503588512539864, -0.014388173818588257, -0.00706301536411047, 0.013584503903985023, -0.060887839645147324, 0.014156957156956196, -0.05088221654295921, 0.07051996886730194, 0.05998508632183075, 0.01969095692038536, 0.022385334596037865, 0.008902222849428654, 0.04486455023288727, 0.07789013534784317, 0.016300039365887642, 0.030535168945789337, 0.01972351036965847, 0.00493621826171875, 0.008995024487376213, -0.01078900694847107, -0.05242960527539253, -0.023384004831314087, 0.05846274271607399, -0.008850349113345146, 0.0129507165402174, -0.027490263804793358, 0.028228970244526863, -0.020413804799318314, -0.02483324147760868, 0.025074193254113197, -0.020908938720822334, 0.010133514180779457, -0.06157964468002319, 0.06188482418656349, -0.023063940927386284, 0.012343266047537327, -0.0397457629442215, 0.008208662271499634, -0.027831541374325752, 0.012741471640765667, 0.008746362291276455, -0.0026117360685020685, -0.07067348808050156, 0.03060891479253769, 0.009513446129858494, 0.00652519054710865, -0.002369549125432968, 0.05785719305276871, 0.01726168766617775, -0.06796205043792725, 0.017670094966888428, -0.02515820786356926, -0.0035463108215481043, -0.008373788557946682, -0.010951834730803967, 0.02041410095989704, 0.005184793844819069, -0.03833683207631111, 0.030266303569078445, 0.0563119575381279, -0.037376388907432556, 0.01141834445297718, -0.002618286292999983, 0.018412165343761444, -0.011661309748888016, -0.024099813774228096, 0.010997571051120758, -0.04688173159956932, 0.010633725672960281, 0.06020275503396988, 0.03385451063513756, 0.03168956935405731, -0.046722788363695145, 0.012969237752258778, -0.009121504612267017, 0.03095507249236107, -0.0130446907132864, -0.05625151842832565, -0.01520828902721405, 0.01253806333988905, -0.07779017090797424, 0.06297986209392548, 0.020710274577140808, -0.049166277050971985, 0.03345097228884697, 0.025756334885954857, -0.007989062927663326, -0.0012371571501716971, 0.010078751482069492, -0.019269997254014015, -0.0007408048841170967, -0.005957162007689476, -0.013352968730032444, -0.02237735502421856, -0.010959153063595295, 0.00295535521581769, -0.07920904457569122, 0.01279053371399641, -0.013510077260434628, -0.004564120899885893, -0.0016930033452808857, -0.01004838291555643, -0.001525188679806888, 0.02729124203324318, -0.004948371089994907, 0.006828187499195337, -0.07918436825275421, 0.06516238301992416, 0.016447274014353752, -0.0405745655298233, -0.03443419560790062, 0.02540195733308792, 0.04421845078468323, 0.03950978443026543, -0.026306990534067154, 0.07154106348752975, 0.034518852829933167, 0.006847156211733818, -0.011854725889861584, 0.046863019466400146, 0.00020156223035883158, -0.05948050320148468, -0.013756225816905499, 0.06706628948450089, -0.0005387015407904983, -0.008816901594400406, 0.01371101662516594, -0.015940619632601738, 0.01572849228978157, -0.00798728410154581, 0.024827683344483376, 0.029083603993058205, -0.01013865601271391, -0.02371419407427311, 0.00016258274263236672, 0.045114971697330475, 0.021473731845617294, 0.01796419359743595, -0.015243422240018845, -0.015416703186929226, -0.035789765417575836, -0.017122477293014526, -0.010637064464390278, -0.0045958529226481915, 0.025426097214221954, -0.05397394299507141, 0.007633725646883249, 0.0842159241437912, 0.03195373713970184, 0.019102588295936584, -0.034600742161273956, 0.027203146368265152, 0.021355003118515015, 0.03344353288412094, -0.0032075687777251005, 0.020461801439523697, -0.006494730710983276, -0.03819764778017998, 0.015010213479399681, 0.05956701934337616, 0.012312917970120907, 0.027200568467378616, -0.05279535427689552, -0.049768541008234024, 0.0543462298810482, -0.027932265773415565, -0.05087415501475334, 0.0716242864727974, 0.08896253257989883, 0.02597515657544136, 0.023475678637623787, 0.013995024375617504, -0.08629349619150162, 0.046334054321050644, 0.009578782133758068, 0.03993277624249458, 0.027209632098674774, -0.0014760397607460618, 0.061117734760046005, 0.025240734219551086, -0.008639615029096603, 0.04610465466976166, -0.07623545825481415, -0.10200721770524979, -0.023694712668657303, -0.01597224362194538, 0.05219264328479767, -0.006678924895823002, 0.015210326761007309, 0.044899336993694305, 0.02193240448832512, 0.04282965138554573, 0.02302403748035431, -0.008192549459636211, 0.021886276081204414, -0.048959579318761826, -0.07044219970703125, 0.049963101744651794, 0.02778911218047142, -0.012754811905324459, -0.027285858988761902, 0.00993677880614996, -0.020063837990164757, -0.02593957632780075, 0.04982608184218407, -0.04068922623991966, 0.032680753618478775, 0.023268884047865868, 0.041447412222623825, -0.04351324588060379, 0.025990476831793785, -0.02935580536723137, -0.014077835716307163, 0.010340126231312752, -0.018396761268377304, 0.042106397449970245, 0.014332985505461693, 0.11942189931869507, 0.05648573860526085, -0.0424564927816391, -0.04623425379395485, 0.016589432954788208, 0.00814788043498993, -0.069212406873703, -0.019348541274666786, -0.01552035566419363, -0.017358241602778435, 0.025043802335858345, -0.07488146424293518, -0.0411623939871788, 0.014469530433416367, -0.03977866470813751, 0.021693537011742592, 0.059024643152952194, -0.008935092017054558, 0.04655398428440094, -0.01632430963218212, 0.010553794912993908, -0.023944469168782234, -0.03495830297470093, -0.0254830289632082, 0.00881174672394991, 0.01917499490082264, -0.003779195947572589, 0.02832886390388012, -0.009261355735361576, 0.0031870154198259115, -0.04899227246642113, -0.027932457625865936, 0.018298862501978874, 0.05186553671956062, 0.0828029066324234, -0.0046722483821213245, 0.06842184066772461, -0.009243044070899487, 0.03284817561507225, -0.022305704653263092, -0.0437641479074955, -0.02820519171655178, -0.03411446884274483, -0.007478158455342054, 0.02399362064898014, 0.0049758171662688255, 0.009098338894546032, 0.013479089364409447, 0.012222683057188988, 0.033468279987573624, -0.02190825343132019, 0.026115044951438904, 0.011604249477386475, -0.006930631119757891, -0.03759242966771126, -0.0036185267381370068, 0.07061260938644409, -0.04450488090515137, -0.008094873279333115, 0.006945549976080656, -0.0746874064207077, 0.04876788333058357, -0.06024735048413277, -0.02999114617705345, -0.012856570072472095, 0.006362783256918192, 0.004521412309259176, 0.015852870419621468, 0.011934126727283001, 0.04314526170492172, -0.005153218284249306, 0.026044756174087524, -0.0011146083706989884, -0.009713029488921165, 0.04380001127719879, 0.013635455630719662, 0.01561160571873188, 0.017139509320259094, -0.004929359070956707, -0.011366842314600945, -0.05825917795300484, 0.03625110909342766, -0.04399516433477402, -0.29965463280677795, 0.04254905879497528, 0.03446309641003609, -0.042225081473588943, 0.015414816327393055, -0.03009198047220707, 0.014858504757285118, -0.060228753834962845, -0.012531347572803497, 0.022752119228243828, -0.03017081692814827, -0.04216287285089493, -0.017122741788625717, 0.005613307934254408, 0.011134770698845387, -0.00570750143378973, 0.01680365949869156, -0.041109707206487656, 0.021029990166425705, 0.024420861154794693, -0.03139693662524223, -0.05480552092194557, 0.01759990304708481, 0.03264613822102547, 0.036096058785915375, 0.05797983705997467, -0.05411685258150101, 0.02245432324707508, -0.04545805975794792, -0.005918635055422783, -0.0014142092550173402, -0.008838423527777195, 0.0015834876103326678, 0.013741517439484596, -0.023171648383140564, -0.007621374912559986, 0.07370657473802567, 0.004051774740219116, 0.0038558293599635363, -0.013306781649589539, 0.009222053922712803, -0.02899421751499176, 0.0023495641071349382, 0.032268621027469635, 0.0769771933555603, -0.005898613482713699, -0.07480988651514053, -0.01807812601327896, -0.02966008335351944, 0.07121546566486359, -0.02911415323615074, -0.019889630377292633, -0.023886369541287422, 0.031270649284124374, -0.006677126046270132, 0.0027193056885153055, -0.01845327392220497, -0.007836902514100075, -0.04045529663562775, -0.04040966182947159, -0.0024880950804799795, -0.02906625345349312, -0.030806269496679306, -0.03900383785367012, 0.015351294539868832, -0.05324450880289078, -0.057506006211042404, -0.02500293403863907, 0.08255479484796524, 0.021419506520032883, -0.03969123959541321, 0.01901792362332344, 0.026723282411694527, -0.1066569834947586, 0.013809596188366413, 0.006067562848329544, -0.049902088940143585, 0.031663473695516586, 0.022045817226171494, 0.045575883239507675, -0.0475192591547966, -0.04653652384877205, 0.015461563132703304, 0.0036504955496639013, 0.010540422983467579, -0.026334190741181374, 0.02713777683675289, 0.0098084956407547, 0.00454089418053627, 0.02710367925465107, 0.07343587279319763, -0.019179875031113625, -0.04225750267505646, -0.006930364761501551, 0.02820623479783535, 0.005847353488206863, 0.00738781550899148, 0.003327474696561694, 0.00776102626696229, 0.0315743088722229, 0.00048245940706692636, -0.04370100796222687, 0.03342786058783531, -0.04319306090474129, 0.00968053750693798, -0.001936130691319704, -0.050701480358839035, -0.00480405380949378, 0.016698921099305153, 0.011432761326432228, -0.008224261924624443, -0.03561583533883095, 0.016117138788104057, -0.061061132699251175, -0.03330087289214134, 0.007836135104298592, 0.003349554492160678, 0.046635761857032776, 0.013713146559894085, -0.029203446581959724, -0.04321548715233803, 0.0074392338283360004, 0.02696368098258972, -0.007372055668383837, -0.07083477824926376, -0.013973142951726913, -0.021009108051657677, -0.00661441870033741, 0.004531308077275753, 0.012484105303883553, -0.02499539591372013, 0.005702023860067129, 0.028296906501054764, -0.04303182289004326, 0.016657890751957893, -0.029668737202882767, -0.05319955572485924, -0.042766183614730835, 0.020840873941779137, -0.007564844097942114, -0.01826501078903675, 0.028400342911481857, -0.010861603543162346, 0.024129563942551613, 0.04359599947929382, 0.005918033421039581, 0.01824796013534069, -0.014992267824709415, 0.021911878138780594, -0.0019072368741035461, -0.016721073538064957, -0.08411568403244019, 0.014394080266356468, -0.024199604988098145, -0.020124178379774094, -0.01139595452696085, 0.04425398260354996, -0.02138335444033146, -0.029485130682587624, 0.006324203219264746, 0.009450117126107216, -0.046813443303108215, -0.02414841577410698, -0.0027174679562449455, 0.011800706386566162, 0.05775769427418709, -0.032754406332969666, -0.006293990649282932, 0.008269581012427807, -0.0036830937024205923, 0.01572522148489952, 0.016441043466329575, -0.02793811820447445, 0.01458416786044836, 0.015149095095694065, 0.025563860312104225, -0.0031185378320515156, -0.0037141679786145687, 0.06030192971229553, 0.03326600044965744, -0.012847146019339561, -0.06964182108640671, -0.0036827477160841227, -0.0015403613215312362, 0.05836034566164017, 0.01539306528866291, -0.01905786246061325, 0.0019314407836645842, -0.023492194712162018, 0.00040730531327426434, -0.037558380514383316, 0.0147011186927557, 0.007451483979821205, 0.01361898984760046, -0.027077460661530495, -0.08852759003639221, 0.06009335815906525, 0.010805097408592701, 0.013226160779595375, 0.027829190716147423, -0.033337075263261795, 0.009753919206559658, -0.0201729629188776, 0.048616185784339905, 0.04936297982931137, -0.06869117170572281, -0.011920773424208164, 0.007963422685861588, -0.003279657568782568, 0.00873811636120081, -0.006144603714346886, -0.03742333874106407, -0.012921871617436409, -0.03539571166038513, 0.03020825795829296, -0.05874069780111313, -0.03472704067826271, -0.00731186056509614, 0.03458930179476738, -0.00044488333514891565, -0.025596274062991142, -0.001990863587707281, -0.01682915911078453, -0.0055825053714215755, -0.02956695482134819, 0.01109891477972269, -0.032396350055933, 0.000565467809792608, -0.0043062190525233746, -0.030077753588557243, -0.00861563440412283, -0.036130111664533615, 0.011218315921723843, 0.04388967528939247, -0.018531765788793564, 0.0070697539485991, -0.028009872883558273, 0.014157792553305626, -0.0054981885477900505, 0.05346331000328064, 0.0006345881847664714, -0.03301076591014862, -0.05336179956793785, -0.004182541277259588, -0.027702299878001213, 0.02354665845632553, -0.021459706127643585, -0.003956344444304705, 0.023476913571357727, 0.04294900968670845, 0.026895178481936455, 0.04094173014163971, -0.032339274883270264, -0.010613327845931053, 0.05043158680200577, -0.07330776005983353, -0.02152382954955101, -0.013485731557011604, -0.047169554978609085, 0.006567666307091713, -0.010836280882358551, 0.013295554555952549, -0.025618162006139755, 0.04375864937901497, 0.025164956226944923, 0.004026587586849928, 0.02834378369152546, -0.0003517354198265821, 0.027563126757740974, -0.05512312427163124, -0.0055866786278784275, -0.07653359323740005, 0.0018743200926110148, 0.012236406095325947, -0.018101323395967484, -0.0106538450345397, 0.02574922889471054, -0.03664287179708481, 0.019537588581442833, -0.08456739038228989, -0.030172495171427727, 0.025490805506706238, -0.012471158988773823, -0.014054774306714535, 0.0012707564746960998, -0.0661940649151802, 0.030145935714244843, 0.028271028771996498, -0.03901399299502373, -0.014635836705565453, -0.014453143812716007, 0.06844266504049301, 0.011860158294439316, 0.03221294656395912, -0.011325357481837273, -0.021902086213231087, 0.0628962516784668, -0.0009636957547627389, -0.005977535154670477, 0.020480582490563393, -0.003982825204730034, 0.021128898486495018, 0.02240741066634655, -0.0070772492326796055, 0.003528008470311761, 0.024748947471380234, -0.009912560693919659, -0.07506245374679565, 0.010071157477796078, -0.004788646008819342, -0.018477076664566994, -0.029407663270831108, 0.0412079393863678, 0.029313134029507637, -0.018631702288985252, -0.04771742224693298, 0.033771540969610214, -0.05513996630907059, -0.01831929013133049, -0.004115715157240629, 0.006755319889634848, -0.04108520969748497, 0.04312070831656456, -0.0081765316426754, 0.013822766952216625, 0.09655503928661346, 0.0251908078789711, -0.002542705275118351, -0.012249632738530636, 0.0990731343626976, 0.07330857962369919, 0.038033999502658844, 0.014712357893586159, 0.07576581090688705, -0.009174888953566551, -0.038019679486751556, 0.006311954464763403, -0.0006191008724272251, -0.027346039190888405, -0.016975918784737587, 0.022511158138513565, 0.08252980560064316, -0.027343492954969406, 0.07782436907291412, -0.03183415159583092, -0.012249910272657871, 0.00022941928182262927, 0.03341521695256233, 0.011093049310147762, 0.028745876625180244, 0.01592196151614189, 0.0260769110172987, -0.027010872960090637, -0.0506063774228096, 0.0289591196924448, -0.02160290628671646, -0.007061966694891453, 0.024925226345658302, -0.009074448607861996, 0.03031303361058235, -0.0076665934175252914, 0.022525604814291, 0.0651441141963005, -0.03962467610836029, 0.0300541240721941, 0.00010531738371355459, 0.03824808821082115, -0.0007430739933624864, 0.0423198938369751, -0.02556932531297207, 0.009188223630189896, -0.0012115401914343238, -0.01880527473986149, -0.031586337834596634, -0.03355240076780319, 0.005823444575071335, 0.020806916058063507, -0.018416190519928932, -0.003671367885544896, 0.01592385582625866, -0.013934518210589886, -0.02723223902285099, -0.0567610003054142, -0.03603244200348854, -0.060081616044044495, -0.06819329410791397, -0.03365173935890198, 0.029347971081733704, 0.007810457609593868, -0.05489836260676384, -0.0035812477581202984, -0.050765812397003174, -0.022913170978426933, 0.05755004659295082, -0.05574341490864754, -0.025594552978873253, 0.0005835779593326151, 0.012846533209085464, 0.00828633364289999, 0.00412997929379344, 0.05324958264827728, 0.011424808762967587, -0.018667513504624367, -0.04245099052786827, 0.013226313516497612, 0.03271607682108879, -0.007330390624701977, -0.005218463018536568, -0.09257035702466965, 0.02063446305692196, 0.02410644106566906, -0.008683394640684128, -0.06215400993824005, 0.0021002208814024925, 0.03550706058740616, 0.014511408284306526, 0.07075751572847366, -0.023821551352739334, -0.013187410309910774, -0.04667867347598076, 0.00456633185967803, -0.01771685853600502, 0.0008622271125204861, 0.04686138033866882, -0.007133494131267071, 0.09182612597942352, 0.03889801725745201, 0.00503497663885355, -0.058593377470970154, 0.009471639059484005, 0.012413117103278637, 0.01746160164475441, -0.01798195391893387, -0.03538144379854202, -0.01577034778892994, -0.08084052056074142, -0.05274364352226257, 0.001602801843546331, -0.027150046080350876, -0.03941505029797554, 0.039848312735557556, 0.006600727792829275, -0.013275998644530773, 0.030707111582159996, -0.07523922622203827, 0.013365145772695541, -0.013665265403687954, -0.007041321136057377, -0.01352524571120739, 0.0025611359160393476, -0.017517823725938797, -0.01243986003100872, 0.031114816665649414, -0.05673322454094887, -0.002639073645696044, 0.006257201544940472, 0.01762826181948185, 0.02228115312755108, 0.008178777992725372, -0.010234062559902668 ]
[ -0.1044783964753151, -0.016661444678902626, -0.005063153337687254, -0.045355621725320816, 0.011501104570925236, -0.07206431776285172, 0.009833338670432568, 0.02127911150455475, -0.019169442355632782, -0.02619481459259987, 0.014108863659203053, -0.021617203950881958, 0.03513472527265549, -0.025569716468453407, 0.08747448027133942, 0.034777894616127014, 0.04334896430373192, -0.10354376584291458, -0.0018980918684974313, 0.03049851953983307, -0.008806371130049229, -0.03473552316427231, -0.05540848895907402, -0.021841298788785934, -0.001770365983247757, 0.002959038130939007, 0.05821817368268967, -0.04484359174966812, 0.0009026774205267429, -0.1776275932788849, 0.022514160722494125, 0.024084504693746567, 0.028422795236110687, -0.001089003519155085, 0.016831858083605766, 0.028907323256134987, 0.016795704141259193, 0.001220768433995545, -0.018910204991698265, 0.00807555578649044, -0.0018770579481497407, 0.021682707592844963, -0.05230121687054634, -0.02714262530207634, 0.022162411361932755, -0.003486980451270938, 0.004104651976376772, -0.023941529914736748, 0.023361168801784515, -0.014118255116045475, -0.05829564481973648, 0.01878117211163044, -0.013119337148964405, -0.03060721606016159, -0.02647930569946766, 0.03487810119986534, 0.04758768156170845, 0.069083571434021, 0.02168748714029789, 0.03311355784535408, 0.025290923193097115, -0.00238437601365149, -0.08886393159627914, 0.09610509127378464, 0.05919237062335014, 0.03102714568376541, -0.013186860829591751, -0.031468477100133896, -0.024961449205875397, 0.10479120165109634, -0.0025556718464940786, -0.014915606938302517, -0.028520755469799042, 0.05370858684182167, 0.011977613903582096, 0.0009136035805568099, 0.01232510432600975, 0.03492073342204094, -0.03170611336827278, -0.03574412316083908, -0.020407531410455704, 0.00048790083383210003, -0.01713675633072853, -0.016115549951791763, -0.05959677696228027, 0.007651533931493759, -0.014270374551415443, 0.038809020072221756, 0.0017143781296908855, 0.006984703708440065, 0.02828107960522175, 0.006913794670253992, 0.02564959228038788, 0.003118103137239814, -0.09995162487030029, -0.02630547061562538, 0.000985841266810894, 0.031076330691576004, -0.06130590662360191, 0.470638245344162, -0.014592447318136692, -0.026945417746901512, 0.1096271425485611, 0.023827794939279556, -0.008315274491906166, -0.01530439406633377, -0.004350584000349045, -0.036247119307518005, -0.01131906732916832, -0.010477806441485882, 0.027985213324427605, -0.000009479484106122982, 0.06866137683391571, -0.01641540229320526, 0.05244038254022598, 0.038350243121385574, -0.00029551025363616645, 0.02346506528556347, 0.00716586085036397, -0.023549092933535576, -0.03450729325413704, 0.0038448164705187082, 0.030835457146167755, -0.0023783110082149506, -0.01359551027417183, -0.09116412699222565, 0.017630290240049362, 0.03843572363257408, 0.011543577536940575, 0.0035173906944692135, 0.02547561377286911, -0.06599918752908707, -0.05017843469977379, 0.010155965574085712, -0.008050684817135334, 0.022040942683815956, 0.02870281971991062, -0.031087860465049744, -0.00259049772284925, 0.03952721506357193, 0.01398757565766573, -0.020795149728655815, 0.041340626776218414, -0.0017648047069087625, -0.028041260316967964, 0.09709638357162476, 0.03495802357792854, -0.028275812044739723, -0.0013814601115882397, -0.04167123883962631, 0.006067769601941109, 0.01700921729207039, 0.011466688476502895, -0.04788406565785408, 0.035833269357681274, -0.0021709061693400145, 0.10421395301818848, -0.009261210449039936, -0.06727384030818939, 0.025394946336746216, -0.0019806090276688337, -0.035914044827222824, -0.04739848151803017, 0.02288111113011837, 0.058722566813230515, -0.10793621838092804, -0.002474921988323331, 0.0016684926813468337, 0.01729544997215271, -0.06186111271381378, -0.02656823769211769, 0.013834103010594845, -0.03802790865302086, -0.028050340712070465, 0.009413805790245533, -0.036738134920597076, -0.04460429400205612, 0.012948743999004364, 0.02842971868813038, -0.0021261267829686403, -0.02547910250723362, -0.007110564038157463, -0.002367276232689619, -0.01698439009487629, -0.02388812229037285, -0.0884750634431839, -0.017032939940690994, 0.021442830562591553, -0.010345636866986752, -0.01584191806614399, -0.014631135389208794, -0.03236956149339676, -0.08424589782953262, 0.07918350398540497, -0.02969338744878769, -0.039965033531188965, 0.002239616820588708, -0.010150445625185966, -0.015914440155029297, -0.022332655265927315, -0.032610248774290085, -0.031112639233469963, -0.03602706640958786, 0.02009422704577446, -0.06018226221203804, 0.04833333566784859, 0.039336759597063065, -0.05152416601777077, 0.0828639343380928, 0.049693312495946884, -0.00012636635801754892, -0.032224368304014206, 0.025011975318193436, 0.03369221091270447, -0.00961389672011137, -0.036775119602680206, -0.011992981657385826, 0.03605302795767784, 0.03382391110062599, 0.028875866904854774, -0.03145907074213028, -0.025901079177856445, -0.02353159710764885, -0.32648226618766785, -0.0458754301071167, -0.03324861079454422, -0.000041002735088113695, 0.018068945035338402, -0.07145053148269653, 0.03852282837033272, -0.022152064368128777, 0.0038248570635914803, -0.005321752279996872, 0.06974361836910248, -0.025504112243652344, 0.025178398936986923, -0.08716051280498505, 0.006779508199542761, -0.007978874258697033, -0.030769342556595802, -0.00081717997090891, 0.0005090656923130155, 0.023262033239006996, -0.029184948652982712, -0.0018763644620776176, -0.031038248911499977, -0.04425135627388954, -0.012052886188030243, -0.019123626872897148, 0.11242324113845825, 0.03613616153597832, 0.09423067420721054, -0.02504786290228367, 0.048408713191747665, 0.030288517475128174, 0.012977434322237968, -0.09826581925153732, -0.016382791101932526, 0.008573352359235287, 0.03327803686261177, -0.035676468163728714, 0.033107493072748184, -0.03797655180096626, -0.0789991170167923, 0.02806924842298031, -0.04155157506465912, -0.044234853237867355, -0.06484951078891754, 0.030902903527021408, -0.03348682448267937, -0.007517469115555286, -0.02652307227253914, 0.0789218470454216, 0.011660958640277386, -0.007206228096038103, -0.010544923134148121, -0.007950120605528355, 0.022732555866241455, -0.026979172602295876, -0.06053412705659866, 0.020771335810422897, 0.028808463364839554, -0.032970793545246124, 0.025185206905007362, 0.05618647113442421, 0.036791782826185226, -0.08926418423652649, -0.007874568924307823, 0.012673730961978436, 0.006489293184131384, 0.015361392870545387, 0.03994182124733925, 0.008603427559137344, 0.004534438252449036, 0.10918255895376205, -0.008104449138045311, 0.03019719384610653, 0.01795230060815811, 0.027649248018860817, 0.02710701711475849, 0.01176642905920744, 0.008895792998373508, -0.026464486494660378, 0.022170471027493477, -0.0006766736623831093, 0.036846671253442764, -0.03511471673846245, -0.02887794002890587, 0.03767439350485802, 0.003167324000969529, -0.04598575457930565, 0.0684814304113388, -0.0029244390316307545, -0.01203023362904787, 0.005171970929950476, -0.005739380605518818, -0.07215190678834915, 0.08436942100524902, -0.008742221631109715, -0.22640323638916016, 0.011298715136945248, 0.05505770817399025, 0.05924861133098602, -0.03822021186351776, 0.0338805727660656, 0.0277604591101408, -0.020214172080159187, 0.005629260558634996, 0.044858168810606, 0.010619289241731167, 0.0029864858370274305, -0.020791979506611824, -0.007355577778071165, 0.04667801409959793, -0.013738675974309444, 0.021108478307724, 0.01819155178964138, -0.0018615804146975279, 0.009233050979673862, 0.0009373296634294093, -0.00970251951366663, 0.12858492136001587, 0.001142954919487238, -0.00962353590875864, 0.03137630596756935, 0.007604733109474182, 0.0387885607779026, 0.05956711992621422, -0.007951047271490097, -0.014556333422660828, -0.002312676515430212, -0.0209671538323164, 0.002259426051750779, 0.04029886797070503, -0.10250380635261536, -0.017068250104784966, 0.03412579372525215, 0.03650686889886856, 0.025239108130335808, -0.005182969383895397, 0.015444782562553883, -0.033795181661844254, 0.028554586693644524, 0.05980316549539566, 0.014803508296608925, 0.014967037364840508, -0.010762347839772701, -0.06559309363365173, 0.006097493693232536, -0.010472155176103115, -0.06340279430150986, 0.023889673873782158, 0.00242608692497015, 0.024819280952215195, 0.0867210179567337, -0.006750908680260181, -0.02964448742568493, 0.0058548846282064915, 0.021803393959999084, 0.016199560835957527, -0.02209705486893654, 0.14083363115787506, 0.024954156950116158, 0.04726694896817207 ]
[ -0.008732978254556656, 0.00833662785589695, 0.012345001101493835, -0.012203803285956383, 0.027937624603509903, -0.0258671585470438, -0.010328265838325024, 0.01596691831946373, 0.013993601314723492, 0.004548664670437574, 0.022779207676649094, 0.02785700373351574, 0.003448635572567582, -0.024693870916962624, 0.028804613277316093, -0.03239329159259796, -0.0008145479951053858, 0.0028091061394661665, 0.008659877814352512, 0.005199643783271313, -0.03706284612417221, -0.019563645124435425, 0.012077589519321918, -0.01437891460955143, -0.0016498540062457323, 0.003606196027249098, 0.005254716146737337, 0.008884657174348831, 0.006914270110428333, -0.13228854537010193, 0.013136966153979301, -0.016974253579974174, -0.016710959374904633, 0.0025798098649829626, -0.014597225934267044, -0.016897911205887794, 0.01729324460029602, 0.016329238191246986, -0.04230988025665283, -0.028005454689264297, -0.005090512800961733, -0.02986046113073826, 0.022564398124814034, 0.026326743885874748, -0.04898256063461304, -0.0338640995323658, -0.0012636773753911257, -0.0074256123043596745, -0.02334657683968544, -0.03951113671064377, -0.016459666192531586, 0.033867087215185165, -0.05184240639209747, 0.05182502046227455, -0.03628651797771454, -0.02192823216319084, -0.013152919709682465, 0.04281157627701759, 0.03187231719493866, 0.022644618526101112, -0.016770774498581886, -0.02631271444261074, -0.05328966677188873, -0.033294372260570526, 0.01716700941324234, -0.004587129224091768, -0.015468639321625233, -0.005519967060536146, -0.020909428596496582, 0.041657231748104095, -0.03617556020617485, 0.029451051726937294, -0.03676298260688782, 0.019793162122368813, 0.008448172360658646, -0.019911447539925575, 0.002512906678020954, -0.00047114735934883356, -0.01973693259060383, 0.000018593365894048475, -0.005193023942410946, 0.006673763040453196, 0.05250119790434837, 0.018477413803339005, 0.026722168549895287, -0.009668990969657898, -0.049250051379203796, 0.02888190560042858, -0.0752357766032219, -0.0318271666765213, -0.046509675681591034, 0.04725266993045807, -0.0319625660777092, 0.043260958045721054, -0.09360251575708389, -0.01081958506256342, -0.030966050922870636, -0.018599431961774826, -0.03124719113111496, 0.8115618824958801, 0.018891802057623863, 0.00054056296357885, 0.02866196073591709, -0.01280160341411829, 0.016659460961818695, -0.006560270208865404, -0.0012339551467448473, 0.01013135351240635, -0.008344105444848537, -0.047228842973709106, 0.01777169294655323, -0.040669139474630356, -0.012216716073453426, 0.009997998364269733, 0.024670785292983055, 0.04153057560324669, -0.035628970712423325, 0.07207771390676498, 0.0008386200643144548, -0.003416671883314848, -0.036804214119911194, -0.023068256676197052, 0.007921060547232628, -0.014222855679690838, 0.0017507578013464808, -0.16725146770477295, 0.03647055849432945, -6.338039256971241e-33, -0.0057191746309399605, 0.017627740278840065, -0.0017628438072279096, 0.02087996155023575, 0.0008790498832240701, -0.03779967501759529, 0.013779939152300358, 0.023609694093465805, -0.018376410007476807, -0.032001230865716934, 0.0004744871403090656, -0.019337035715579987, -0.007639087270945311, -0.039603639394044876, 0.018246421590447426, -0.030338358134031296, -0.024605123326182365, 0.01712534949183464, -0.016327936202287674, 0.04730973020195961, 0.0410974845290184, 0.023591244593262672, 0.025146430358290672, -0.011663117446005344, 0.020434949547052383, 0.02192625403404236, 0.0005539536941796541, -0.0220370851457119, 0.045582354068756104, -0.04175468534231186, -0.055455923080444336, 0.021817676723003387, -0.0010742712765932083, -0.05763290822505951, 0.017935235053300858, -0.02000923454761505, -0.03641563281416893, -0.0023156143724918365, -0.040524668991565704, 0.01472549606114626, -0.027235625311732292, -0.00881100818514824, -0.024756722152233124, -0.0032980104442685843, -0.0420830138027668, 0.012258989736437798, 0.0015924746403470635, 0.03865831345319748, -0.009251096285879612, 0.02562825195491314, 0.018799493089318275, -0.026541979983448982, -0.006877318490296602, 0.008890584111213684, 0.000039428563468391076, 0.02909029647707939, 0.026456482708454132, 0.02507137507200241, 0.02850417047739029, 0.00517955981194973, 0.03269615396857262, -0.011522059328854084, 0.008430047892034054, -0.001224025501869619, -0.0189023669809103, -0.009259500540792942, 0.046603716909885406, 0.005680745001882315, 0.020323118194937706, 0.02723267674446106, -0.06427929550409317, 0.04034876823425293, -0.005247118417173624, -0.020324427634477615, 0.030505811795592308, 0.03396155685186386, -0.011006240732967854, 0.009783297777175903, 0.002346430206671357, 0.0392073318362236, -0.029652105644345284, 0.003539368277415633, 0.018789751455187798, -0.020765183493494987, -0.030706210061907768, -0.002610351424664259, -0.0034084066282957792, -0.045894064009189606, -0.06737323850393295, 0.06944110244512558, 0.04481940716505051, 0.05604337900876999, -0.022621363401412964, -0.003302507335320115, -0.010194281116127968, 6.897971297306052e-33, 0.019116681069135666, 0.015543544664978981, -0.005814600735902786, -0.002582625485956669, 0.05600998178124428, -0.004723216872662306, 0.0353877991437912, 0.036676231771707535, -0.028442250564694405, 0.02330750972032547, 0.012837774120271206, -0.022291187196969986, -0.012124664150178432, -0.01272205077111721, 0.05782995745539665, -0.06727361679077148, 0.02400977350771427, -0.018484652042388916, 0.030490823090076447, -0.006390904542058706, 0.010561801493167877, -0.00019200467795599252, 0.04977128654718399, 0.013458927161991596, 0.02303297631442547, 0.06303088366985321, 0.014610813930630684, 0.012838357128202915, 0.010943185538053513, -0.013774668797850609, 0.024126099422574043, -0.011138715781271458, 0.011477838270366192, -0.023731406778097153, 0.04300825670361519, 0.05604449659585953, 0.03544420003890991, -0.0003078504523728043, -0.016560479998588562, -0.0000804096125648357, 0.0475505031645298, 0.06106017902493477, -0.016815172508358955, 0.022060342133045197, 0.028958553448319435, -0.028160417452454567, -0.009983621537685394, 0.017416756600141525, -0.03594478592276573, 0.029542554169893265, 0.03535450994968414, 0.009716912172734737, -0.00482196407392621, -0.008978835307061672, 0.00141491973772645, -0.019852353259921074, -0.01601399853825569, 0.013604429550468922, -0.00041470828000456095, 0.03394176810979843, -0.015767458826303482, -0.037348177284002304, -0.014639375731348991, 0.02376805804669857, -0.036666642874479294, 0.03566215559840202, 0.007997836917638779, 0.03210226073861122, 0.01615222916007042, 0.06076507270336151, 0.0059960102662444115, -0.04217454418540001, 0.01634312979876995, 0.052145157009363174, 0.02636576257646084, -0.02864021435379982, -0.006791286636143923, 0.02554837428033352, -0.036796439439058304, 0.03243345394730568, 0.01425913255661726, 0.065446637570858, -0.016606448218226433, 0.009659157134592533, -0.0057599712163209915, 0.03617151454091072, -0.008931750431656837, -0.00031041185138747096, -0.003840524470433593, -0.035216644406318665, -0.0004675100208260119, 0.012284512631595135, 0.004020415246486664, 0.021267157047986984, -0.010940924286842346, -1.2191229359359568e-8, -0.03763396292924881, -0.011514156125485897, 0.0064905607141554356, -0.014439219608902931, 0.009153376333415508, 0.019820766523480415, 0.0022989483550190926, -0.0069234478287398815, 0.012157049961388111, -0.004061829764395952, 0.04316471144556999, -0.062463510781526566, -0.011903399601578712, 0.03166959434747696, -0.009505570866167545, -0.03033636324107647, 0.009749863296747208, -0.039569247514009476, 0.028177933767437935, -0.004564608447253704, 0.0014226090861484408, 0.05888037383556366, -0.012129080481827259, 0.002910159295424819, 0.03321102261543274, 0.03806887939572334, -0.029721248894929886, -0.07035521417856216, 0.03018566593527794, 0.01315661333501339, -0.014110942371189594, -0.03705708682537079, -0.04596186429262161, 0.03701968491077423, -0.030781643465161324, -0.04837698116898537, -0.029804054647684097, -0.000498799723573029, -0.005108552519232035, 0.013410104438662529, 0.01732047088444233, 0.023408913984894753, 0.004249672405421734, -0.03804149106144905, -0.009120949544012547, -0.01100987195968628, -0.0001301105075981468, 0.020709862932562828, -0.04569094628095627, -0.028223702684044838, -0.021827850490808487, -0.0026577115058898926, -0.0071476418524980545, 0.024604415521025658, 0.0011261501349508762, -0.056800711899995804, 0.015834691002964973, -0.024810679256916046, -0.006128949113190174, -0.017732352018356323, -0.005947994999587536, 0.011913718655705452, -0.03230664134025574, 0.010013519786298275 ]
do-the-simple-thing
https://markhneedham.com/blog/2012/10/21/do-the-simple-thing
false
2012-10-07 10:43:46
Mac OS X: Removing Byte Order Mark with an editor
[ "macosx" ]
[ "Software Development" ]
About a month ago I wrote about http://www.markhneedham.com/blog/2012/09/03/a-rogue-357273277-utf-8-byte-order-mark/[some problems I was having working with Windows generated CSV files] which had a Byte Order Mark (BOM) at the beginning of the file and I described a way to get rid of it using awk. It's a bit of a long winded process though and I always forget what the parameters I need to pass to awk are so I thought it would probably be quicker if I could just work out a way to get rid of the BOM using an editor. I'm using a Mac so the most popular hex editor on that platform seems to be http://ridiculousfish.com/hexfiend/[HexFiend]. If we open the problematic file with that it's reasonably easy to see where the BOM is and we can then manually remove it. image::{{<siteurl>}}/uploads/2012/10/bom.jpg[Bom,600] There is a http://stackoverflow.com/questions/2160405/hex-editor-for-mac-osx[list of other hex editors for the Mac on this Stack Overflow thread]. I figured there was probably a way to do this using emacs and indeed there is! One way is to open the file using 'Meta-X find-file-literally' which displays all non ASCII characters so that you can delete them if you want: image::{{<siteurl>}}/uploads/2012/10/bom-2.jpg[Bom 2,600] I also http://stackoverflow.com/questions/3859274/removing-byte-order-marks-boms-using-emacs[learnt about another way] which is to first open the file using 'Ctrl X Ctrl F' and then run 'Meta-X set-buffer-file-encoding-system' and enter 'utf-8' before saving the file. The BOM will now be deleted! This is perhaps a bit simpler since you don't need to delete the characters manually. There is a http://unix.stackexchange.com/questions/39786/in-emacs-or-other-editor-how-to-display-the-byte-offset-of-the-cursor[third way where you open the file using 'Meta X hexl-find-file'] but it seems more difficult to use than the other two options!
null
null
[ -0.012192875146865845, 0.022180158644914627, -0.010887314565479755, 0.02752893604338169, 0.08911310136318207, 0.002310760086402297, 0.015329337678849697, 0.057906374335289, -0.001261876430362463, -0.01681358739733696, -0.02077239751815796, -0.00016999391664285213, -0.04918589070439339, 0.003015002468600869, -0.027872592210769653, 0.052970435470342636, 0.04778745770454407, -0.007038296200335026, 0.029356103390455246, -0.015841694548726082, 0.02481759339570999, 0.010882127098739147, -0.005817714612931013, 0.01855400949716568, 0.0000412669287470635, -0.004059049766510725, -0.014948990195989609, 0.0044020614586770535, -0.07326105237007141, 0.0076086390763521194, 0.0632978156208992, -0.013846511021256447, 0.021042464300990105, -0.016039328649640083, 0.030318723991513252, -0.0024132817052304745, -0.062092479318380356, 0.022227689623832703, 0.005023166071623564, 0.0384337417781353, -0.07234612107276917, 0.041307155042886734, -0.016101013869047165, 0.027018938213586807, -0.032781004905700684, -0.01510720606893301, -0.055764567106962204, -0.004126470535993576, -0.03762109577655792, -0.0013758637942373753, -0.05168289318680763, 0.039686717092990875, -0.018209971487522125, -0.03660692274570465, 0.028667369857430458, 0.06972391903400421, 0.015090608969330788, -0.044223468750715256, 0.03100367821753025, -0.01578405313193798, 0.004473855718970299, -0.06219930574297905, 0.017803281545639038, 0.04882409796118736, -0.00048361741937696934, -0.03701682761311531, -0.018656738102436066, 0.03239662945270538, -0.04332727938890457, -0.024205975234508514, 0.013867721892893314, 0.014577672816812992, -0.02192644588649273, -0.04546406492590904, 0.05794516205787659, -0.02865878865122795, -0.006851769983768463, 0.03379673883318901, 0.010880773887038231, 0.06457774341106415, -0.024252524599432945, 0.030079226940870285, 0.012967221438884735, 0.035094376653432846, 0.00907220970839262, -0.03906318172812462, -0.01243983581662178, 0.005529358517378569, -0.03843948617577553, 0.0561097115278244, 0.04528696462512016, -0.04418289661407471, 0.002153826644644141, 0.019051069393754005, -0.013463367708027363, -0.01825905032455921, 0.0021688384003937244, 0.019225573167204857, -0.0015709473518654704, -0.004400963429361582, -0.05281389132142067, -0.019287550821900368, 0.016420289874076843, 0.03341960534453392, -0.06229540333151817, -0.0137935196980834, -0.027321873232722282, 0.01032912265509367, 0.057934198528528214, -0.007487809285521507, 0.008905780501663685, 0.013760327361524105, -0.009119419381022453, -0.019396420568227768, -0.08543223142623901, 0.03633632883429527, 0.00785340927541256, -0.052227649837732315, 0.028786737471818924, 0.03302235156297684, 0.05817069113254547, 0.05308521166443825, -0.016912048682570457, 0.0711883082985878, 0.04614033177495003, -0.02532971277832985, 0.018313312903046608, 0.05966087430715561, -0.04868307709693909, -0.06351490318775177, -0.02023501507937908, 0.07185908406972885, -0.009925665333867073, 0.00010582697723293677, 0.017352502793073654, 0.01664881967008114, -0.031186167150735855, -0.014980929903686047, 0.03218759223818779, 0.030223578214645386, 0.00030176964355632663, -0.04521487280726433, -0.0025349073112010956, 0.006979523692280054, 0.0176309272646904, 0.022661935538053513, -0.01876118779182434, -0.028424173593521118, -0.04222637787461281, 0.0414634607732296, 0.037441402673721313, 0.009692392311990261, 0.06039313226938248, -0.03874276578426361, -0.0038742166943848133, 0.09943907707929611, 0.011531571857631207, 0.015670504420995712, -0.017612410709261894, 0.011375045403838158, 0.03877586871385574, 0.04440298303961754, -0.012309062294661999, 0.0098216338083148, -0.006794006563723087, 0.00446991017088294, 0.02079233154654503, 0.018921606242656708, -0.03640333190560341, 0.013450762256979942, -0.04288136586546898, -0.0509561188519001, 0.07257471978664398, -0.026869527995586395, -0.004251349251717329, 0.023175083100795746, 0.07679961621761322, 0.06426998972892761, 0.047318924218416214, 0.022345682606101036, -0.0752318948507309, 0.04883033037185669, -0.008369463495910168, 0.052094317972660065, 0.041122034192085266, -0.008187099359929562, 0.055334486067295074, 0.03383311629295349, -0.002324925269931555, 0.027179555967450142, -0.07434865087270737, -0.07117973268032074, -0.03992481529712677, 0.008626185357570648, 0.056836530566215515, -0.02063855528831482, -0.000858789891935885, 0.06246977299451828, 0.024578988552093506, 0.048280008137226105, -0.0027543199248611927, -0.008167387917637825, 0.010900781489908695, -0.05870705097913742, -0.05774097517132759, 0.047528620809316635, 0.05045409873127937, -0.0022690733894705772, 0.007690296042710543, 0.038170091807842255, -0.020520852878689766, 0.014620513655245304, 0.041186559945344925, -0.0032565928995609283, 0.028650283813476562, 0.024376235902309418, 0.032279886305332184, -0.03542390838265419, 0.03425100818276405, -0.06373821943998337, -0.005639102775603533, 0.005982996895909309, -0.03002743050456047, -0.009001079015433788, 0.015302696265280247, 0.13066743314266205, 0.0466625802218914, -0.017724627628922462, -0.020781703293323517, -0.008014054037630558, 0.01824193075299263, -0.048614632338285446, -0.0009124439675360918, -0.0005382748786360025, 0.0016414168057963252, -0.010398122482001781, -0.04886048287153244, -0.02613796852529049, 0.014545309357345104, -0.01889629103243351, -0.007139050867408514, 0.057161252945661545, 0.005103734787553549, 0.03281068801879883, -0.00046783708967268467, -0.022302336990833282, 0.020721156150102615, -0.03493998199701309, -0.06842926144599915, 0.007892562076449394, 0.032671008259058, 0.012901611626148224, 0.0301669929176569, -0.04246089980006218, -0.01723920926451683, -0.008863826282322407, -0.04485730081796646, -0.012893210165202618, 0.020891331136226654, 0.04711016267538071, -0.02497878670692444, 0.04968148097395897, -0.023670414462685585, 0.002420795615762472, -0.022341789677739143, -0.03089640662074089, -0.07572364062070847, 0.005851261783391237, 0.007023023907095194, 0.009795395657420158, -0.029917720705270767, 0.040286120027303696, -0.015747852623462677, -0.009091840125620365, 0.005345385055989027, -0.0067217289470136166, 0.05927877500653267, -0.009216341190040112, -0.01162173692137003, -0.01465318538248539, -0.0406486839056015, 0.04826134443283081, -0.05925793945789337, -0.01176926027983427, 0.02609872631728649, -0.0520419105887413, 0.03196440264582634, -0.05826869606971741, -0.048684172332286835, -0.019109103828668594, -0.016500422731041908, 0.031650152057409286, 0.0035567402373999357, 0.025978105142712593, 0.05919164419174194, 0.014006788842380047, 0.005316686816513538, 0.004688479006290436, 0.013999777846038342, 0.049766793847084045, 0.03548706695437431, 0.003631721017882228, 0.06784573942422867, -0.03984125703573227, -0.011828798800706863, -0.032073456794023514, 0.006875303108245134, -0.0226748026907444, -0.2675526440143585, 0.06262747198343277, -0.027911897748708725, -0.056799642741680145, 0.018647564575076103, -0.007561097852885723, 0.0030788590665906668, -0.04836492985486984, -0.04006389528512955, 0.0002196537534473464, -0.025289563462138176, -0.018885448575019836, 0.005319403950124979, 0.00446713762357831, 0.0007643556455150247, 0.021128395572304726, 0.014347250573337078, -0.05504312366247177, 0.013793475925922394, 0.035745736211538315, 0.013025028631091118, -0.05039672553539276, 0.017667489126324654, 0.06724274903535843, 0.03474294766783714, 0.05699208751320839, -0.07050292938947678, 0.04808759316802025, -0.021331973373889923, -0.020684421062469482, 0.01910354755818844, -0.022011425346136093, 0.02048577181994915, 0.006717062555253506, 0.006170322652906179, -0.011694882996380329, 0.056507423520088196, 0.0033820411190390587, 0.0062444438226521015, 0.028038032352924347, 0.004899198189377785, -0.02047482319176197, -0.02055300772190094, -0.00014896511856932193, 0.0622396245598793, -0.007630317937582731, -0.029564913362264633, -0.02662617713212967, -0.007916389033198357, 0.07550496608018875, -0.030055467039346695, -0.04342367500066757, -0.016257038339972496, 0.06019018217921257, 0.013233637437224388, 0.006841039750725031, -0.02309960313141346, -0.016134846955537796, -0.022272374480962753, -0.05151456966996193, -0.023854155093431473, -0.053483884781599045, -0.0018340026726946235, -0.042394183576107025, 0.0025181290693581104, -0.07613743096590042, -0.05237835645675659, -0.018758902326226234, 0.08951856195926666, 0.0352911539375782, -0.022269494831562042, 0.000015324652849812992, -0.0018708029529079795, -0.09939601272344589, -0.0020850144792348146, -0.008518250659108162, -0.043872397392988205, 0.018277274444699287, -0.010086668655276299, 0.03444167971611023, -0.03718998655676842, -0.028463462367653847, 0.06275902688503265, 0.030861899256706238, 0.006971044931560755, -0.07262460887432098, 0.024616898968815804, -0.010986019857227802, -0.026596620678901672, -0.03741873428225517, 0.06207873299717903, -0.008342075161635876, -0.029554612934589386, -0.031681571155786514, 0.005859000608325005, -0.0015329093439504504, 0.007159937638789415, -0.00942272413522005, 0.03372335806488991, 0.024995440617203712, 0.03673412278294563, -0.056798238307237625, 0.011944293975830078, -0.06749886274337769, -0.0191762987524271, -0.0010671369964256883, -0.019072920083999634, 0.013852243311703205, 0.015180554240942001, 0.02341894991695881, -0.01111004501581192, -0.05434408783912659, 0.023499172180891037, -0.0523633174598217, -0.049786776304244995, 0.0035537623334676027, 0.017947273328900337, 0.016366904601454735, 0.03347080945968628, -0.018016992136836052, -0.0005776790203526616, 0.03270325809717178, 0.007150227669626474, -0.016392523422837257, -0.04676622152328491, -0.029488593339920044, -0.015244558453559875, 0.02698018215596676, 0.0026439926587045193, 0.01110073458403349, -0.015661289915442467, 0.024998055770993233, -0.00010625070717651397, -0.029135974124073982, 0.04666251316666603, -0.016514895483851433, -0.05314420908689499, -0.031648751348257065, -0.01881878450512886, 0.00295695336535573, 0.005181200802326202, 0.0008478907984681427, 0.021675175055861473, 0.032322198152542114, 0.03294166177511215, 0.014343084767460823, 0.058219946920871735, -0.013504378497600555, 0.03625480458140373, 0.014938249252736568, -0.0016420874744653702, -0.06857947260141373, 0.03236772492527962, -0.02563421055674553, -0.03569965064525604, 0.004660150967538357, 0.04188983514904976, 0.015379526652395725, -0.023096701130270958, -0.02527293935418129, 0.01907128095626831, -0.02240227907896042, -0.008712602779269218, -0.03571011871099472, -0.005900583229959011, 0.039483875036239624, -0.00270094838924706, 0.0494452565908432, -0.016864538192749023, 0.022039029747247696, 0.012083294801414013, 0.06154860183596611, -0.05186285823583603, 0.005242423620074987, 0.00271888286806643, -0.016405440866947174, 0.009054607711732388, 0.015468635596334934, 0.039028674364089966, 0.018626317381858826, -0.01024985034018755, -0.04216586798429489, 0.019314469769597054, 0.03136686980724335, 0.04624084755778313, 0.023310819640755653, -0.027442490682005882, 0.006136327050626278, -0.02575022540986538, -0.014102621003985405, -0.03860681131482124, -0.013065514154732227, 0.0023926745634526014, 0.006780282594263554, -0.03667603060603142, -0.06521086394786835, 0.03061106987297535, 0.022013377398252487, 0.00024578056763857603, 0.03389093652367592, 0.01599421352148056, 0.0043350206688046455, -0.02386167086660862, -0.001472926465794444, 0.031022068113088608, -0.04925938695669174, 0.009683281183242798, -0.011232741177082062, -0.009314402937889099, 0.01619473472237587, 0.03836546838283539, -0.03673146665096283, -0.04575629532337189, -0.01074185874313116, 0.03158067166805267, -0.04031931981444359, 0.000021959931473247707, -0.022294213995337486, 0.009687780402600765, -0.030836736783385277, -0.014908858574926853, 0.006375365890562534, 0.0043578254990279675, 0.04123440384864807, -0.038366496562957764, 0.009836471639573574, -0.013392338529229164, 0.0015557982260361314, 0.051232967525720596, -0.003853898961097002, 0.02935909666121006, -0.023488614708185196, 0.02555200643837452, 0.04716186225414276, -0.01386407483369112, -0.016562897711992264, -0.040319230407476425, -0.01738831214606762, -0.006604097783565521, 0.04555077850818634, 0.028952594846487045, -0.018353793770074844, -0.021991616114974022, 0.02452404610812664, -0.03997320681810379, 0.002897755242884159, -0.03193691745400429, -0.02134791947901249, 0.01693085767328739, 0.06904689222574234, 0.0031616007909178734, 0.03202684596180916, -0.022420208901166916, -0.037144411355257034, 0.038320813328027725, -0.05386381968855858, -0.03375997021794319, -0.026283856481313705, -0.07945386320352554, 0.05037045106291771, 0.03338051587343216, 0.03120727278292179, -0.06382514536380768, 0.030460335314273834, 0.04286335036158562, 0.0032851253636181355, 0.02582063153386116, 0.025334874168038368, 0.02414681762456894, -0.02880016528069973, -0.012704892084002495, -0.09695518761873245, 0.032506562769412994, 0.04501917585730553, -0.014276466332376003, -0.021324770525097847, -0.016892580315470695, -0.050239451229572296, 0.009688216261565685, -0.05688132345676422, -0.0370359942317009, 0.027403244748711586, -0.0035395848099142313, -0.012134242802858353, 0.009369677864015102, -0.056401435285806656, 0.03742425516247749, 0.012500160373747349, -0.03482693061232567, -0.0203490499407053, -0.045139458030462265, 0.07411612570285797, -0.001035454566590488, 0.036735665053129196, -0.024006642401218414, -0.039311058819293976, 0.06517555564641953, 0.013944876380264759, 0.007178011350333691, 0.0005202285829000175, -0.030416568741202354, 0.04125313088297844, 0.027631012722849846, -0.006830534897744656, 0.027996575459837914, -0.02591390162706375, -0.035495586693286896, -0.03392190858721733, -0.0016159729566425085, 0.03600332513451576, -0.006318329833447933, -0.027263309806585312, 0.05189424753189087, 0.01883293315768242, -0.0035314590204507113, -0.06348416209220886, 0.03781396523118019, -0.04693641513586044, -0.014407574199140072, -0.04920617863535881, 0.03469942882657051, -0.035837527364492416, 0.02485165186226368, 0.00984806939959526, 0.017820537090301514, 0.08493755757808685, -0.014178791083395481, 0.0018991648685187101, -0.006276859901845455, 0.08677275478839874, 0.08974133431911469, 0.044212114065885544, 0.017749343067407608, 0.03498788923025131, -0.049689002335071564, -0.051205869764089584, -0.022266902029514313, 0.002090235473588109, -0.005588695406913757, -0.005359295755624771, -0.018571864813566208, 0.06210518255829811, -0.0562136173248291, 0.08245669305324554, -0.0005053562927059829, -0.013846121728420258, -0.01157537940889597, 0.0007142755202949047, 0.0038949139416217804, 0.023032214492559433, 0.0007889987900853157, 0.0041074687615036964, -0.01281970739364624, -0.04332961142063141, 0.03209865465760231, 0.005240872967988253, -0.03953123092651367, 0.01566379889845848, -0.011980842798948288, -0.010530448518693447, -0.025527914986014366, 0.041539616882801056, 0.06387960910797119, -0.031204290688037872, 0.027890298515558243, 0.017509164288640022, 0.026535069569945335, -0.023098286241292953, 0.03823797032237053, -0.026244282722473145, -0.02071591652929783, -0.00006236496119527146, -0.01011786051094532, 0.0031435699202120304, -0.016136903315782547, -0.01773705892264843, 0.041303735226392746, -0.03309830278158188, -0.008887700736522675, 0.03302670270204544, -0.0048941983841359615, -0.039637111127376556, -0.06363443285226822, -0.07651135325431824, -0.03909648209810257, -0.06780802458524704, -0.015258592553436756, 0.01698930934071541, -0.004418363329023123, -0.03719804435968399, -0.03487010300159454, -0.06111918389797211, -0.044748883694410324, 0.004098155535757542, -0.06489480286836624, -0.03626464679837227, 0.01774006523191929, 0.011603758670389652, -0.013865313492715359, 0.03894004225730896, 0.03657543286681175, -0.02723073959350586, -0.005720591172575951, -0.004360813181847334, -0.006575251463800669, 0.020317809656262398, -0.00887962244451046, 0.0025774664245545864, -0.09750553965568542, 0.04981169477105141, 0.03392902389168739, -0.002529418095946312, -0.06581603735685349, 0.03788747638463974, 0.03039347566664219, -0.04124072939157486, 0.060569945722818375, -0.031765781342983246, 0.03489811345934868, -0.01726633682847023, -0.00979671347886324, -0.06364358961582184, -0.01835876889526844, 0.06381609290838242, 0.008957370184361935, 0.07895807921886444, 0.045412082225084305, -0.01290983147919178, -0.05403464287519455, -0.007517216261476278, -0.01194952242076397, 0.025101395323872566, -0.015113456174731255, -0.017058683559298515, -0.051206402480602264, -0.0570024736225605, -0.013141530565917492, 0.036062005907297134, -0.042486004531383514, -0.03889823704957962, 0.011953530833125114, 0.009235757403075695, -0.043454524129629135, 0.01767834834754467, -0.028523441404104233, -0.02115171030163765, -0.02144886925816536, -0.053169526159763336, -0.04192924126982689, 0.024659767746925354, 0.029797591269016266, -0.019022991880774498, 0.00479729101061821, -0.017702393233776093, 0.020050959661602974, 0.005134167615324259, 0.0016955184983089566, 0.05957870930433273, 0.022420285269618034, 0.009861206635832787 ]
[ -0.07953011989593506, -0.002289058407768607, -0.021802179515361786, -0.03375539928674698, 0.050767723470926285, -0.05465836822986603, -0.04729748144745827, 0.004894168581813574, -0.009131059050559998, -0.012565732933580875, 0.03143922612071037, -0.06470967084169388, 0.00005993470404064283, -0.03263607993721962, 0.06795153766870499, -0.025094645097851753, -0.0034218435175716877, -0.04765067249536514, -0.015154864639043808, 0.03875722363591194, 0.00039938135887496173, -0.030565716326236725, -0.035906754434108734, -0.04140136390924454, 0.007403755560517311, 0.011566076427698135, 0.004789730533957481, -0.003439878346398473, -0.019856000319123268, -0.2331937700510025, 0.012082912027835846, 0.01772092841565609, 0.06366107612848282, -0.04626713693141937, 0.043982479721307755, 0.028601394966244698, 0.02346193604171276, 0.0034943525679409504, -0.02269567921757698, 0.009998033754527569, 0.04533315822482109, 0.01906130462884903, -0.02485143579542637, -0.00952004361897707, 0.03488766402006149, 0.02235349826514721, -0.004262774717062712, -0.03362390026450157, 0.050796978175640106, 0.051212627440690994, -0.05716271325945854, -0.00407258840277791, 0.0025215409696102142, -0.015949543565511703, 0.0030832639895379543, -0.003618051065132022, 0.04113275557756424, 0.04108092561364174, -0.02098875865340233, 0.007477905135601759, -0.0029599694535136223, 0.01891537941992283, -0.1164170429110527, 0.11577072739601135, 0.02995009534060955, 0.06521404534578323, 0.025417188182473183, -0.04307524487376213, -0.017674261704087257, 0.06494776904582977, -0.06061268225312233, -0.023509211838245392, -0.059679064899683, 0.07948905229568481, 0.000570400501601398, -0.03523877263069153, 0.016987904906272888, 0.0049269613809883595, 0.018395720049738884, -0.05152461305260658, -0.09376701712608337, -0.02033851481974125, 0.013849636539816856, -0.05453132465481758, -0.030286259949207306, -0.02095611020922661, -0.019711827859282494, 0.04406645894050598, 0.028771255165338516, 0.014492811635136604, 0.03910266235470772, -0.03263326361775398, 0.04722720757126808, 0.03132199868559837, -0.08038398623466492, -0.009568659588694572, -0.007604335434734821, 0.04769894480705261, -0.011167268268764019, 0.4137982130050659, -0.045713141560554504, -0.04065365344285965, 0.041601575911045074, -0.01271576713770628, 0.04753385856747627, 0.01617228426039219, -0.0010655224323272705, 0.0065227472223341465, 0.015568231232464314, -0.032916806638240814, 0.0033036537934094667, -0.02211863547563553, 0.06493260711431503, -0.041537970304489136, 0.04514491558074951, 0.024303697049617767, 0.03685455769300461, 0.0262213796377182, -0.006494735833257437, 0.01973254606127739, -0.020114263519644737, -0.001979357795789838, 0.01527540385723114, 0.01944475993514061, 0.04026775807142258, -0.031443435698747635, 0.0025446657091379166, 0.06252234429121017, 0.06397683918476105, 0.01042925100773573, 0.027151474729180336, -0.07015562057495117, -0.05661075562238693, -0.03077465482056141, -0.01056060753762722, 0.02310326136648655, -0.00542379030957818, -0.05715459957718849, 0.0016595522174611688, -0.033607594668865204, 0.0021592038683593273, -0.040411241352558136, 0.005519581958651543, 0.012824836187064648, -0.025185085833072662, 0.07933392375707626, -0.019285112619400024, -0.047871630638837814, -0.026992864906787872, -0.06495954841375351, 0.008750195614993572, 0.03768845647573471, -0.016911594197154045, -0.029711803421378136, 0.017923472449183464, 0.019900407642126083, 0.08142278343439102, -0.0003514725249260664, -0.06516747921705246, -0.015184665098786354, -0.02929689548909664, -0.06290967762470245, -0.044580210000276566, 0.05260533466935158, 0.023488780483603477, -0.052106548100709915, -0.0428316593170166, 0.033752042800188065, 0.01766924560070038, -0.042414069175720215, 0.005890077445656061, -0.0031913602724671364, -0.020272349938750267, 0.004633891861885786, 0.0338485911488533, -0.03601721301674843, -0.006189105100929737, -0.01649574004113674, 0.047254111617803574, -0.011580013670027256, -0.017247885465621948, 0.013928589411079884, -0.021698346361517906, 0.015482724644243717, -0.030319107696413994, -0.07967665791511536, -0.05900217220187187, 0.017785223200917244, 0.02448275126516819, -0.008171589113771915, -0.008706383407115936, 0.013034719973802567, -0.034794095903635025, 0.030721599236130714, -0.022929897531867027, -0.005730302073061466, -0.01889687404036522, 0.027732932940125465, 0.01036665216088295, -0.057841382920742035, 0.05907679349184036, 0.04295814782381058, -0.025992000475525856, 0.01606118492782116, -0.04974241554737091, 0.017784301191568375, 0.05591174587607384, -0.05477101728320122, 0.06725354492664337, 0.030120445415377617, -0.0026122659910470247, -0.00460787583142519, -0.027557814493775368, -0.024732418358325958, -0.012111066840589046, -0.06453762203454971, 0.012519706971943378, -0.0007499146740883589, 0.024102764204144478, 0.021216385066509247, -0.018173756077885628, -0.04243529960513115, -0.04560159891843796, -0.34077662229537964, 0.01382138766348362, -0.022066064178943634, -0.015188757330179214, 0.04433257132768631, -0.08910239487886429, 0.004473721142858267, 0.009349069558084011, 0.025684118270874023, 0.03722260519862175, 0.0390586331486702, -0.031802210956811905, 0.007611603941768408, -0.112328439950943, -0.03207721933722496, 0.02749837189912796, 0.0014613192761316895, -0.0434795618057251, 0.01926621049642563, 0.031225966289639473, -0.014458946883678436, -0.011687397956848145, -0.05880196765065193, 0.0031162539962679148, 0.007951444946229458, -0.04572527855634689, 0.0891331285238266, 0.028629574924707413, 0.11678105592727661, -0.032790012657642365, 0.05272996798157692, 0.02488386444747448, 0.03078547865152359, -0.08710716664791107, -0.04620596021413803, 0.006116901990026236, -0.017811788246035576, 0.014507998712360859, 0.05828282609581947, 0.016734132543206215, -0.04679090902209282, -0.027600431814789772, -0.03934875503182411, -0.06180302053689957, 0.01706499047577381, 0.01084701158106327, 0.0224909670650959, -0.031918857246637344, -0.006954653654247522, 0.07643190026283264, 0.016188396140933037, 0.010863345116376877, 0.004121104720979929, 0.04793263599276543, 0.026579299941658974, -0.03141973912715912, -0.039888326078653336, -0.018250301480293274, 0.020091798156499863, -0.04343508183956146, 0.055546488612890244, 0.01836802251636982, 0.03941681981086731, -0.048661258071660995, -0.009858808480203152, 0.02441319450736046, -0.00971235055476427, 0.01340450905263424, 0.06712062656879425, -0.02294563502073288, 0.0017520058900117874, 0.12111110985279083, -0.015290089882910252, -0.0029753439594060183, 0.01922301948070526, 0.06660842895507812, -0.02126203291118145, 0.002935872646048665, -0.019733326509594917, -0.022196093574166298, 0.058207474648952484, 0.011082787066698074, 0.051560498774051666, -0.02762274444103241, 0.014157821424305439, 0.04697328060865402, -0.021983055397868156, 0.004844155162572861, 0.021103808656334877, 0.020820848643779755, -0.005479066167026758, -0.03241973742842674, -0.0010261284187436104, -0.05218988656997681, 0.06104878708720207, -0.011259164661169052, -0.2500329613685608, 0.02957739494740963, 0.05150836706161499, 0.08975503593683243, 0.0037164604291319847, 0.02460344508290291, 0.015437552705407143, -0.08411222696304321, -0.024410640820860863, 0.05772090330719948, -0.016059624031186104, 0.02452799119055271, -0.014363703317940235, -0.04751809686422348, 0.030984731391072273, -0.04021146520972252, 0.03993107005953789, -0.013675743713974953, 0.010200117714703083, 0.03061523847281933, -0.016825230792164803, -0.031137095764279366, 0.17731955647468567, 0.015494444407522678, -0.011399248614907265, -0.011255277320742607, 0.008574558421969414, 0.0526302270591259, 0.09505993127822876, 0.012458986602723598, 0.039951566606760025, 0.026751013472676277, -0.0006387769826687872, 0.014990372583270073, 0.027228623628616333, -0.05993732064962387, -0.0231038685888052, 0.04594495892524719, 0.01988021470606327, -0.02077944576740265, -0.02504776231944561, 0.07263109087944031, -0.06972972303628922, -0.0193442702293396, 0.06425395607948303, 0.004503700416535139, -0.018541106954216957, 0.0186111181974411, 0.006230773404240608, -0.035573672503232956, -0.0072523923590779305, -0.02273828536272049, 0.0034710208419710398, 0.004989420063793659, 0.03187287226319313, 0.07224868983030319, -0.0025138536002486944, -0.037883490324020386, 0.010220211930572987, 0.042351461946964264, 0.007567397318780422, -0.061165712773799896, 0.08609571307897568, 0.028012415394186974, 0.0201441440731287 ]
[ 0.02605796419084072, 0.02243439294397831, -0.014367540366947651, 0.014479435980319977, 0.012235618196427822, -0.02170584537088871, 0.021645227447152138, 0.02772025763988495, -0.012375226244330406, -0.029232552275061607, -0.0037779253907501698, 0.004529162310063839, 0.05327257141470909, -0.03173451870679855, 0.01140203233808279, -0.022827567532658577, -0.009616697207093239, -0.011724453419446945, 0.004767782986164093, -0.0003483391192276031, -0.016090111806988716, 0.020420676097273827, 0.017984485253691673, 0.002525096759200096, -0.0006314838537946343, 0.02322414703667164, -0.011735247448086739, 0.03598477691411972, 0.009267200715839863, -0.15512675046920776, -0.00247060414403677, -0.01782752387225628, 0.014680922962725163, -0.030652480199933052, 0.03432612493634224, 0.014124068431556225, 0.017498524859547615, -0.014820553362369537, -0.05391618236899376, -0.021355263888835907, 0.004568246193230152, 0.007689872290939093, -0.006293271202594042, 0.025125127285718918, 0.03053932450711727, -0.005963043309748173, 0.005058186128735542, -0.00754316383972764, -0.0031705170404165983, 0.022688567638397217, -0.040304169058799744, -0.012418854981660843, -0.0197733324021101, 0.027984801679849625, -0.016403181478381157, -0.016030721366405487, -0.04471137374639511, -0.020442718639969826, -0.002377441618591547, -0.03282954916357994, -0.026514992117881775, 0.012893052771687508, -0.019613170996308327, -0.026686854660511017, 0.00017161462164949626, 0.009617424570024014, 0.010632909834384918, 0.0095907524228096, -0.013262450695037842, 0.0034073430579155684, -0.014039605855941772, 0.0056236484088003635, -0.029729606583714485, 0.02493545599281788, -0.006594779435545206, 0.012074210681021214, 0.024378597736358643, -0.019942454993724823, 0.026111599057912827, -0.0327908955514431, -0.01505295280367136, -0.020801763981580734, 0.02333800494670868, 0.0034195103216916323, 0.01589418202638626, 0.007491675205528736, -0.015294235199689865, -0.011218048632144928, 0.011410322040319443, 0.048652272671461105, -0.0008148479973897338, 0.029974745586514473, -0.008875316940248013, -0.027510562911629677, -0.08674389123916626, -0.020474087446928024, 0.035933542996644974, 0.040826041251420975, -0.0037676580250263214, 0.8366844058036804, 0.006168428808450699, -0.009781093336641788, 0.026564521715044975, 0.02183980494737625, 0.016241949051618576, -0.01970481500029564, 0.015618511475622654, 0.036196015775203705, 0.029255084693431854, -0.06057363003492355, 0.03090045414865017, -0.03953991457819939, 0.020868152379989624, -0.04262334480881691, 0.029949095100164413, 0.02817724645137787, -0.0011697992449626327, -0.008843254297971725, -0.006075350567698479, -0.004879407584667206, 0.004823262803256512, -0.00443226657807827, 0.007923558354377747, 0.023623954504728317, 0.015725191682577133, -0.16723796725273132, 0.006221697200089693, -6.104737423795603e-33, 0.037959709763526917, -0.023343045264482498, 0.0186468493193388, 0.010203804820775986, 0.013741947710514069, -0.0399092435836792, 0.00604460621252656, 0.02602081000804901, -0.025355981662869453, -0.020313087850809097, 0.006480195559561253, -0.043032195419073105, 0.014555332250893116, -0.0015568272210657597, 0.062109608203172684, -0.019525500014424324, 0.007459984160959721, 0.028997493907809258, -0.006019357591867447, 0.03162378445267677, 0.016966339200735092, 0.03486074507236481, 0.012255800887942314, -0.008720975369215012, 0.0017825113609433174, 0.04086284339427948, 0.013567688874900341, 0.00034802022855728865, 0.024638792499899864, -0.049749866127967834, -0.016707247123122215, 0.014169769361615181, 0.02753131091594696, -0.03767900541424751, -0.018191970884799957, -0.07148075103759766, -0.05286170169711113, 0.0030009783804416656, -0.02449902892112732, -0.0059173693880438805, 0.009867189452052116, -0.01129758171737194, -0.03551759570837021, -0.003212227253243327, 0.0011078956304118037, -0.03567202389240265, -0.0071878256276249886, 0.0027619637548923492, 0.009287573397159576, -0.028719821944832802, 0.027027156203985214, 0.03182505443692207, 0.015484187752008438, 0.032504934817552567, 0.0058939759619534016, 0.029759051278233528, 0.0136905862018466, -0.0020693314727395773, -0.005795758683234453, 0.006014599930495024, 0.037932414561510086, 0.02121952548623085, -0.0120526859536767, 0.049889106303453445, 0.007690302096307278, -0.007401785347610712, 0.057913172990083694, 0.018699809908866882, -0.03906147554516792, 0.01637631468474865, -0.06790845096111298, 0.008019736967980862, -0.020564453676342964, -0.025577150285243988, -0.004893145058304071, -0.015871452167630196, -0.011534816585481167, -0.004334758501499891, 0.0007250865455716848, 0.026605017483234406, 0.007473055738955736, -0.02915216237306595, 0.015629252418875694, -0.013190213590860367, -0.055560402572155, 0.0155040193349123, 0.049646951258182526, -0.018293902277946472, -0.014192558825016022, 0.01771864853799343, 0.041233327239751816, 0.010497157461941242, 0.0007315708207897842, -0.02221575938165188, -0.020739516243338585, 7.061221014012375e-33, 0.0120614692568779, 0.017164597287774086, -0.010482033714652061, 0.02504953369498253, -0.026254523545503616, 0.026285037398338318, 0.0296955443918705, 0.0321749709546566, -0.0403912216424942, -0.0025976276956498623, 0.008299387991428375, 0.03974352777004242, -0.026627374812960625, -0.006552487146109343, 0.048957932740449905, -0.01159619353711605, 0.0008359720231965184, 0.007522939704358578, -0.027552936226129532, -0.029572006314992905, 0.020628415048122406, 0.001132781500928104, 0.05306391045451164, 0.012278931215405464, 0.021974163129925728, 0.03177381306886673, -0.0013207292649894953, 0.020695067942142487, -0.012821316719055176, 0.0187026709318161, -0.02364901639521122, -0.003866006387397647, 0.013130897656083107, -0.023426881060004234, -0.019942674785852432, 0.03326694667339325, 0.032344624400138855, 0.01863270439207554, 0.00817305687814951, 0.027890749275684357, 0.01513827033340931, 0.005719187669456005, -0.02583925426006317, -0.002533579710870981, -0.005094459746032953, 0.04168100655078888, -0.017906149849295616, 0.02895716018974781, -0.0004619114624802023, 0.030447479337453842, 0.007964910939335823, 0.024903887882828712, 0.0070814210921525955, -0.025525659322738647, -0.003012100700289011, -0.03178199380636215, -0.02779587171971798, 0.013101882301270962, -0.006075986661016941, -0.007764394395053387, -0.02974032424390316, 0.014747424982488155, -0.008414141833782196, -0.029866546392440796, -0.022699499502778053, 0.019858503714203835, -0.05867982655763626, -0.009210856631398201, -0.009446573443710804, -0.022262707352638245, -0.02386128157377243, -0.01515151746571064, -0.017144493758678436, 0.058140289038419724, 0.022854899987578392, 0.002330383285880089, -0.0019504742231220007, -0.008742828853428364, -0.010023333132266998, 0.031031830236315727, 0.013172823004424572, 0.02050534449517727, -0.02301149256527424, 0.04450172930955887, -0.005231380928307772, 0.031044084578752518, -0.05180370435118675, 0.014324160292744637, 0.004639205522835255, -0.022130755707621574, -0.00418954947963357, -0.04499402642250061, 0.014344875700771809, -0.011142509989440441, -0.011682208627462387, -1.2303458696294456e-8, -0.05019693076610565, -0.031340599060058594, -0.014364009723067284, -0.0026454671751707792, 0.030321629717946053, 0.032531701028347015, -0.04881541430950165, -0.02005581185221672, 0.03848399966955185, -0.015514007769525051, 0.0530518963932991, -0.01776033826172352, -0.0383976548910141, 0.0012019186979159713, -0.016315551474690437, -0.05114099755883217, 0.035982657223939896, -0.017644230276346207, 0.0026074699126183987, -0.07067948579788208, -0.003600743366405368, 0.0390809141099453, 0.020726380869746208, 0.00018300970259588212, 0.03172345086932182, -0.004107867833226919, 0.017289407551288605, -0.03974871337413788, -0.008198177441954613, 0.03619041666388512, 0.012104569002985954, -0.04448690265417099, -0.016929665580391884, 0.03177426755428314, -0.0016718065598979592, -0.016965622082352638, -0.009904741309583187, 0.06004292145371437, 0.0020529075991362333, 0.0021547472570091486, 0.010065263137221336, -0.026492847129702568, -0.0061153843998909, -0.03181822970509529, -0.023127296939492226, -0.013425418175756931, -0.00646751094609499, 0.015121477656066418, 0.0023191689979285, -0.058060698211193085, 0.026737868785858154, -0.005428231321275234, 0.023338278755545616, 0.044003937393426895, -0.01266519632190466, -0.03324168920516968, 0.05656912922859192, -0.033659208565950394, 0.012131581082940102, 0.0394829660654068, 0.03819112107157707, -0.01429623831063509, -0.011401375755667686, -0.008378579281270504 ]
mac-os-x-removing-byte-order-mark-with-an-editor
https://markhneedham.com/blog/2012/10/07/mac-os-x-removing-byte-order-mark-with-an-editor
false
2012-10-31 08:41:09
Emacs/Clojure: Starting out with paredit
[ "clojure", "emacs", "paredit" ]
[ "Clojure" ]
I've been complaining recently to https://twitter.com/jennifersmithco[Jen] and https://twitter.com/otfrom[Bruce] about the lack of a beginner's guide to http://emacswiki.org/emacs/ParEdit[emacs paredit mode] which seems to be the defacto approach for people working with Clojure and both pointed me to the http://emacswiki.org/emacs/PareditCheatsheet[paredit cheat sheet]. While it's very comprehensive, I found that it's a little overwhelming for a complete newbie like myself. I therefore thought it'd be useful to write a bit about a couple of things that I've picked up from pairing with Jen on little bits of Clojure over the last couple of months. Let's say we start with a simple function to add two numbers together: image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.16.18.jpeg[Screen shot 2012 10 31 at 08 16 18,124] And say for example we decide that we want to add 5 to the result so the function adds the two numbers together and then adds 5. Jen showed me that the best way to do this is to go beyond the furthest bracket to the left and start typing there: image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.23.15.jpeg[Screen shot 2012 10 31 at 08 23 15,122] The brackets are now a bit misaligned. We need the ')' where the cursor currently is to go to the end of the line. One way to do this is to move the cursor in front of the '(' of the second '+' on the line and press 'Ctrl + K' which in emacs means 'kill line to end' but in this case kills to the end of the expression that we're at the beginning of: image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.25.16.jpeg[Screen shot 2012 10 31 at 08 25 16,118] We then move the cursor back to just after the '5' and press 'Ctrl + Y' which in emacs means re-insert the last text that was killed: image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.26.04.jpeg[Screen shot 2012 10 31 at 08 26 04,129] This works but it's a little bit long winded and Jen showed me a quicker way. If we go back to the position where we had just inserted the '+ 5' and place our cursor just in front of the ')': image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.23.15.jpeg[Screen shot 2012 10 31 at 08 23 15,122] We can then press 'Ctrl + Shift + Right Arrow' to push the right bracket to the end of the line: image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.32.07.jpeg[Screen shot 2012 10 31 at 08 32 07,121] From what I can tell, this can also be achieved by pressing 'Meta + X' followed by 'paredit-forward-slurp-sexp' or 'Meta + Shift + )'. We have to be a little bit careful about where we position the cursor because if we put it after the bracket then we can end up bringing another function into our one by mistake! For example say just below our 'add' function we have a subtract one: image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.34.31.jpeg[Screen shot 2012 10 31 at 08 34 31,153] And we put our cursor just after the ')' of the '+ 5' bit of code and press 'Ctrl + Shift + RIght Arrow': image::{{<siteurl>}}/uploads/2012/10/Screen-shot-2012-10-31-at-08.35.24.jpeg[Screen shot 2012 10 31 at 08 35 24,164] We now have a bizarre looking function 'add' which has the 'subtract' function contained inside it! At the moment this is the main paredit shortcut I know and it seems to work reasonably well. I also find myself using 'Ctrl + Shift + -' which allows me to undo any mistakes I make! Now to learn my next command! Any suggestions?
null
null
[ 0.01004006341099739, 0.021154865622520447, -0.04044143855571747, 0.004674900323152542, 0.07172351330518723, 0.017105910927057266, 0.031344301998615265, 0.03104817494750023, 0.009823162108659744, -0.019213153049349785, -0.022334348410367966, -0.01910286583006382, -0.049652229994535446, -0.0009130149846896529, -0.01390908844769001, 0.06386028230190277, 0.06871523708105087, -0.009402142837643623, 0.0294856708496809, 0.015201814472675323, 0.04375153407454491, 0.05239484831690788, 0.025715133175253868, -0.00873502716422081, 0.005021130666136742, -0.01630057394504547, 0.014824519865214825, 0.003777132835239172, -0.06844029575586319, -0.01375625655055046, 0.026519326493144035, 0.008008535951375961, -0.008568491786718369, -0.037821248173713684, 0.028816483914852142, -0.004918420687317848, -0.02531580626964569, 0.007068089209496975, 0.018812555819749832, 0.03883872181177139, -0.06755998730659485, 0.022053934633731842, -0.016054006293416023, 0.0025713981594890356, -0.03370707482099533, 0.0033560283482074738, -0.049933578819036484, 0.021246185526251793, 0.0004061857471242547, 0.005579504184424877, -0.056343335658311844, 0.03146962448954582, 0.0032928986474871635, -0.011716182343661785, 0.003970456309616566, 0.04688774421811104, 0.03573917597532272, -0.06096305325627327, 0.043014511466026306, -0.004284970927983522, -0.007415862288326025, 0.0040701706893742085, 0.014958641491830349, 0.05129315331578255, -0.010411497205495834, -0.02407314069569111, -0.034383624792099, 0.038830190896987915, -0.0628037229180336, -0.028209470212459564, 0.009037163108587265, 0.03023768588900566, -0.012203603982925415, -0.038565706461668015, 0.052951402962207794, -0.03392847254872322, -0.0030865303706377745, 0.053118083626031876, 0.009644709527492523, 0.05257164686918259, -0.01834953762590885, 0.008398467674851418, 0.022977083921432495, 0.039454955607652664, 0.0016413881676271558, -0.014016097411513329, -0.04798482730984688, 0.010632586665451527, -0.04239292070269585, 0.04802367836236954, 0.013752128928899765, -0.06547144800424576, 0.017494693398475647, 0.014583293348550797, 0.014533912762999535, 0.0050387210212647915, 0.001738612656481564, 0.01846657507121563, 0.010912790894508362, 0.00479743629693985, -0.04626302421092987, -0.03304180130362511, 0.006165157537907362, 0.015463639982044697, -0.10023878514766693, -0.02495592087507248, -0.02482055313885212, -0.006774591747671366, 0.031862255185842514, -0.004823877476155758, -0.00794927403330803, 0.007786408998072147, -0.012700756080448627, 0.00446354178711772, -0.0736200362443924, 0.05491732433438301, -0.010031354613602161, -0.04220609366893768, -0.026471396908164024, 0.014990103431046009, 0.034766558557748795, 0.03565099462866783, 0.013169313780963421, 0.07941403985023499, 0.012944191694259644, 0.030408062040805817, 0.00037907337537035346, 0.03692970797419548, -0.016349369660019875, -0.045225538313388824, -0.017883505672216415, 0.07472449541091919, -0.018586155027151108, -0.009810526855289936, 0.005707562435418367, -0.015377318486571312, -0.010498500429093838, -0.013751106336712837, 0.06606204062700272, 0.02804608643054962, -0.003015147987753153, -0.02269817516207695, -0.017720729112625122, -0.012226779945194721, 0.03815946355462074, 0.002972832415252924, -0.008854606188833714, 0.0009755102801136672, -0.040222618728876114, 0.03240782022476196, 0.02723999135196209, -0.01653069071471691, 0.05627353861927986, -0.035893455147743225, 0.026562657207250595, 0.06545232981443405, 0.04202252998948097, 0.019238121807575226, -0.029158994555473328, 0.017578477039933205, 0.04783337935805321, 0.04473848268389702, -0.0048265899531543255, 0.037843912839889526, 0.0001591040927451104, -0.02275639958679676, -0.005974846426397562, 0.036548882722854614, 0.010321833193302155, -0.02271735668182373, -0.05633193626999855, -0.018977394327521324, 0.08010417968034744, -0.022776557132601738, -0.014353016391396523, 0.04266001656651497, 0.0988532230257988, 0.029776329174637794, 0.04796329513192177, 0.005944737233221531, -0.07938440889120102, 0.050913006067276, 0.012993349693715572, 0.04830453544855118, 0.014970079995691776, -0.017436200752854347, 0.06563397496938705, 0.015482391230762005, -0.0004953935858793557, 0.028798891231417656, -0.07178844511508942, -0.08729715645313263, -0.017741627991199493, -0.033066436648368835, 0.07473435252904892, -0.03160126507282257, 0.011668822728097439, 0.06753655523061752, 0.026400335133075714, 0.043508097529411316, -0.004127828869968653, 0.0013296672841534019, 0.03177371993660927, -0.06526385992765427, -0.05204389989376068, 0.04351261630654335, 0.009274045936763287, -0.023506944999098778, -0.021017950028181076, 0.03470829129219055, -0.006912387441843748, 0.01302131824195385, 0.04840364679694176, -0.01682824082672596, 0.025179320946335793, 0.027059754356741905, 0.04945026710629463, -0.05611465126276016, 0.0006806860910728574, -0.03928834944963455, -0.005583610851317644, 0.029056262224912643, -0.011082889512181282, 0.01715441420674324, 0.009769609197974205, 0.13409794867038727, 0.06538497656583786, -0.024698682129383087, -0.0376775786280632, -0.0015029694186523557, -0.008045781403779984, -0.04392051696777344, -0.015275254845619202, -0.0112352529540658, -0.0002658741141203791, -0.012966425158083439, -0.03840583190321922, -0.016565265133976936, 0.0210567656904459, -0.042488209903240204, 0.0034758062101900578, 0.09035836905241013, 0.007990877144038677, 0.042004846036434174, -0.00526786781847477, -0.017820406705141068, -0.0059146820567548275, -0.020315568894147873, -0.09433026611804962, 0.028365368023514748, 0.01365998201072216, -0.02324397675693035, 0.03382808715105057, -0.04780833423137665, -0.0217885784804821, 0.001539435237646103, -0.038547661155462265, 0.006755151320248842, 0.03160807862877846, 0.04816840961575508, 0.0038939248770475388, 0.03992943465709686, -0.016690781340003014, -0.002856037812307477, -0.012095130980014801, -0.04392584413290024, -0.04771886765956879, -0.008757730945944786, -0.0018616770394146442, 0.03211265429854393, 0.0013595451600849628, 0.02088800072669983, 0.011355678550899029, -0.011416195891797543, -0.009977477602660656, -0.01823960803449154, 0.022975049912929535, 0.007137097883969545, -0.023477252572774887, -0.02570357918739319, -0.03213358297944069, 0.07052580267190933, -0.022709330543875694, -0.008801034651696682, -0.00136966269928962, -0.021221118047833443, 0.049070023000240326, -0.08015691488981247, -0.0515604205429554, -0.009509573690593243, 0.012528051622211933, 0.02936866320669651, -0.03850892186164856, 0.03244006261229515, 0.06310443580150604, -0.005803841166198254, 0.016966376453638077, 0.003410948906093836, -0.01565493270754814, 0.02811623364686966, 0.03462317958474159, 0.00922294333577156, 0.04431937634944916, -0.006907288450747728, -0.009694458916783333, -0.021240847185254097, 0.013910584151744843, -0.02531067654490471, -0.2820267677307129, 0.04820791631937027, -0.0104030417278409, -0.017076026648283005, -0.0009854764211922884, -0.021527377888560295, -0.010430615395307541, -0.04746921360492706, -0.008459221571683884, -0.011323605664074421, -0.017228657379746437, -0.01868538185954094, -0.01709357462823391, 0.02095050923526287, -0.006362931802868843, -0.002894515171647072, 0.003532934933900833, -0.05823700129985809, 0.00012908404460176826, 0.04019560292363167, 0.021445440128445625, -0.06101525202393532, 0.006598529871553183, 0.05759583041071892, 0.028727803379297256, 0.02484103851020336, -0.05809719115495682, 0.014815613627433777, -0.02232949435710907, -0.027084672823548317, 0.033792734146118164, -0.023168910294771194, 0.008606955409049988, -0.012004758231341839, -0.024835528805851936, -0.008259191177785397, 0.05866118520498276, -0.005424509756267071, 0.04332313686609268, 0.013518674299120903, -0.0070303357206285, -0.009288272820413113, 0.004060518927872181, -0.0230662003159523, 0.0698157250881195, -0.030209386721253395, -0.06170972064137459, -0.024917028844356537, -0.04284398630261421, 0.09195861965417862, 0.0054387496784329414, -0.07019291073083878, -0.0060602822341024876, 0.07623375207185745, 0.028410112485289574, -0.018582766875624657, -0.03471338748931885, -0.014735329896211624, -0.023237459361553192, -0.04565918445587158, -0.02526945434510708, -0.04732314124703407, -0.035177670419216156, -0.05367472395300865, -0.0037453307304531336, -0.08405716717243195, -0.06598160415887833, -0.004283472429960966, 0.07667198032140732, 0.01827583834528923, -0.031274743378162384, -0.000954559538513422, -0.02970772050321102, -0.10556022822856903, -0.029971400275826454, -0.02967911958694458, -0.03895964100956917, 0.020414205268025398, 0.02163999155163765, 0.039163339883089066, -0.03995567932724953, -0.05135644972324371, 0.05470756068825722, 0.03981819748878479, 0.026648638769984245, -0.05484697222709656, 0.014394303783774376, 0.005105253774672747, 0.017719460651278496, -0.011936775408685207, 0.0621071420609951, -0.02857658453285694, -0.06974782794713974, -0.01861262321472168, -0.012756348587572575, 0.005585526581853628, 0.028372451663017273, -0.0027494237292557955, 0.032511793076992035, 0.04961361363530159, 0.01937299221754074, -0.038645755499601364, 0.015999753028154373, -0.021777084097266197, -0.015679487958550453, 0.0030576176941394806, -0.05401891469955444, 0.01496454980224371, 0.021636761724948883, 0.0015153513522818685, -0.04648492485284805, -0.06238889694213867, -0.008734307251870632, -0.05555412918329239, -0.040266700088977814, 0.0023264701012521982, 0.010776657611131668, 0.014109469950199127, 0.031591761857271194, -0.023714648559689522, -0.05881861224770546, 0.014252815395593643, -0.014372332021594048, -0.018885156139731407, -0.04270501807332039, -0.01306426152586937, -0.0162491537630558, 0.0005432600737549365, 0.0357816182076931, 0.01582491584122181, -0.0271365474909544, 0.02216140367090702, -0.0054272813722491264, -0.0358484610915184, 0.028637604787945747, -0.02752826176583767, -0.01220786478370428, -0.005101754795759916, -0.02092205360531807, 0.002158540301024914, 0.0016248608008027077, 0.009535877034068108, -0.0027841373812407255, 0.019751401618123055, 0.03160347416996956, 0.006140816491097212, 0.046323809772729874, 0.0048796734772622585, -0.02674245461821556, 0.007274530362337828, 0.009232109412550926, -0.04313350468873978, 0.03861646726727486, -0.029038166627287865, -0.01148751936852932, 0.012826697900891304, 0.026911571621894836, -0.006277469452470541, -0.030298355966806412, -0.023340456187725067, 0.010152464732527733, -0.0182118508964777, 0.003899704897776246, -0.01619342342019081, -0.018606513738632202, 0.05450837314128876, 0.008586880750954151, 0.027329688891768456, -0.015508714132010937, -0.02115020900964737, -0.00928590353578329, 0.04182082414627075, -0.04065227508544922, 0.0028761241119354963, 0.005672134924679995, -0.008811814710497856, -0.002349390648305416, 0.012797875329852104, 0.03656458854675293, 0.015332859940826893, -0.016030460596084595, -0.03213292360305786, 0.05029471963644028, 0.03783750534057617, 0.04069344699382782, 0.006443595979362726, -0.017652254551649094, 0.01716420240700245, -0.026687202975153923, -0.03053007461130619, -0.01962267793715, -0.012381410226225853, -0.00257640378549695, -0.014256864786148071, -0.037120088934898376, -0.07562600076198578, 0.012666832655668259, 0.0676688626408577, 0.006660168524831533, 0.008666750974953175, -0.007265844848006964, 0.017239389941096306, -0.03931356593966484, 0.04411400854587555, 0.07061690092086792, -0.059362150728702545, 0.013559483923017979, 0.0011501143453642726, 0.016449155285954475, -0.003124939277768135, 0.010411111637949944, -0.04374086856842041, -0.01277138665318489, -0.026685306802392006, 0.01238960400223732, -0.03605775535106659, -0.013731751590967178, -0.01764979213476181, 0.018126102164387703, -0.03503653034567833, -0.015508962795138359, -0.014174864627420902, -0.014214467257261276, 0.008245040662586689, -0.04575353115797043, -0.008473670110106468, -0.010366256348788738, 0.006461082026362419, 0.03588273748755455, -0.005665344651788473, 0.0491468608379364, -0.02936175838112831, 0.05029447004199028, 0.02558806538581848, -0.02636774256825447, -0.03326857462525368, -0.049891866743564606, 0.007627070881426334, -0.02831871621310711, 0.052792370319366455, 0.012457374483346939, -0.02818496711552143, -0.049018360674381256, 0.04890035465359688, -0.03594744950532913, -0.011730768717825413, -0.026779508218169212, -0.03024483658373356, 0.012885935604572296, 0.05361849442124367, -0.012472263537347317, 0.05853639543056488, -0.027225326746702194, -0.007636494468897581, 0.02899164706468582, -0.053390420973300934, -0.03482768312096596, -0.0038371651899069548, -0.05031212791800499, 0.034781426191329956, 0.023744195699691772, 0.04435582458972931, -0.052386876195669174, 0.05576314032077789, 0.027764203026890755, 0.009776011109352112, 0.010405558161437511, -0.019969535991549492, 0.011083068326115608, -0.03223276510834694, -0.011443794704973698, -0.10286690294742584, 0.02427702397108078, 0.026985324919223785, 0.009940329007804394, -0.025814903900027275, 0.0035779073368757963, -0.022091008722782135, 0.035779356956481934, -0.05917179957032204, 0.0015202041249722242, 0.058442261070013046, -0.016431095078587532, 0.010455070994794369, 0.034793369472026825, -0.05979350954294205, 0.03125443682074547, 0.03280554339289665, -0.0406077578663826, -0.01939929835498333, -0.029668698087334633, 0.06822530180215836, 0.001726655405946076, 0.03952698037028313, -0.001015026238746941, -0.018771475180983543, 0.07851085066795349, 0.014204665087163448, -0.008001799695193768, 0.02900674007833004, -0.0013763386523351073, 0.01082923635840416, 0.0360867902636528, 0.010923455469310284, -0.01665293052792549, 0.01812223717570305, -0.03874348849058151, -0.04275016486644745, 0.02326001040637493, 0.052242960780858994, -0.027451543137431145, -0.02751489169895649, 0.08677593618631363, 0.02417396754026413, -0.017018958926200867, -0.06391977518796921, 0.05519391968846321, -0.06729710847139359, 0.0012158588506281376, -0.0384436659514904, -0.012224121019244194, -0.049250032752752304, 0.030636411160230637, 0.007488801144063473, 0.0003257935750298202, 0.07352206110954285, 0.02108270302414894, 0.0044294786639511585, -0.0009432899532839656, 0.07917425036430359, 0.07754238694906235, 0.07000697404146194, 0.02501203492283821, 0.054821744561195374, -0.016129544004797935, -0.04588731750845909, -0.004655144177377224, 0.004765912424772978, 0.014591822400689125, -0.03342786803841591, 0.008720280602574348, 0.07341019064188004, -0.04345383867621422, 0.08571624755859375, -0.01815909333527088, -0.028288856148719788, -0.01322383712977171, -0.005059964023530483, 0.032624535262584686, 0.06300278007984161, 0.017980331555008888, 0.0009962577605620027, -0.00908525101840496, -0.029085924848914146, 0.042310189455747604, -0.02636076882481575, -0.02400149591267109, 0.011456193402409554, -0.002279625739902258, 0.03966221585869789, -0.018635034561157227, 0.038578033447265625, 0.06442446261644363, -0.027965493500232697, -0.0015293644974008203, 0.008183850906789303, 0.05158434435725212, 0.0073922802694141865, 0.038195833563804626, -0.03233163431286812, -0.015052346512675285, -0.0017371487338095903, -0.009719975292682648, -0.00008452194015262648, -0.04205252602696419, -0.04639250412583351, 0.043843578547239304, -0.03331904485821724, -0.014415823854506016, 0.0383487194776535, -0.011598877608776093, -0.02194783091545105, -0.05295225977897644, -0.028631454333662987, -0.05954621359705925, -0.05888361111283302, -0.014793699607253075, -0.0004350171366240829, -0.007235201075673103, -0.04138188809156418, -0.03235982358455658, -0.032911498099565506, 0.008450561203062534, 0.019506921991705894, -0.037326715886592865, -0.03298347443342209, 0.012437195517122746, 0.008358647115528584, 0.004850529134273529, 0.02755351923406124, 0.04110442101955414, 0.0025131108704954386, -0.031995296478271484, -0.0036500960122793913, 0.014229832217097282, 0.051251184195280075, 0.008469062857329845, -0.02636919729411602, -0.09347902238368988, 0.021861696615815163, 0.031538065522909164, 0.01100999116897583, -0.06584873795509338, 0.03668729215860367, 0.01973109133541584, -0.007503475993871689, 0.05288432538509369, -0.03729373589158058, 0.0022765996400266886, -0.03788788989186287, -0.001244623912498355, -0.03351890295743942, 0.017659060657024384, 0.03047999180853367, 0.002733322326093912, 0.09404771775007248, 0.0037093358114361763, -0.011317966505885124, -0.02043851837515831, -0.029994510114192963, -0.0349176861345768, 0.02185230515897274, -0.014686099253594875, -0.02683175913989544, -0.06715723127126694, -0.06989135593175888, -0.04074375331401825, 0.015656158328056335, -0.03757089376449585, -0.033439751714468, -0.013415265828371048, 0.03278820961713791, -0.02260606735944748, 0.05565108731389046, -0.035506684333086014, 0.01812981255352497, -0.031924620270729065, -0.022950883954763412, -0.021080540493130684, -0.003647266188636422, 0.01182069256901741, -0.0010522055672481656, 0.017252519726753235, -0.023432008922100067, 0.0063277557492256165, -0.01890639029443264, 0.011369017884135246, 0.038730353116989136, -0.001884831697680056, 0.008128847926855087 ]
[ -0.11596608906984329, -0.047584813088178635, -0.019309625029563904, -0.031145289540290833, -0.01080166082829237, -0.027658747509121895, -0.032040245831012726, 0.006811355706304312, 0.010240871459245682, -0.006058951374143362, 0.014221789315342903, -0.06577769666910172, 0.016767295077443123, -0.01990843378007412, 0.12599873542785645, -0.0018211340066045523, -0.00564327510073781, -0.046242017298936844, -0.033246394246816635, 0.010402257554233074, 0.015056975185871124, -0.03516202047467232, -0.04385197162628174, -0.05168136954307556, 0.024531932547688484, 0.013475676067173481, 0.05349100008606911, -0.037635717540979385, -0.008897879160940647, -0.2234555184841156, -0.0009690450388006866, 0.012527612037956715, 0.0479234978556633, -0.046763163059949875, -0.005610316060483456, 0.05896870791912079, 0.005543787498027086, 0.01652292162179947, -0.01173887774348259, 0.02035161480307579, 0.041073817759752274, 0.033220741897821426, -0.036374785006046295, -0.05563393980264664, 0.057397373020648956, -0.019023777917027473, 0.00801998283714056, -0.026523960754275322, -0.02886013872921467, 0.02118748240172863, -0.07549586892127991, -0.015011033043265343, 0.012237556278705597, -0.021529609337449074, 0.009387841448187828, 0.05172364041209221, 0.017228536307811737, 0.0808744952082634, 0.030757997184991837, 0.028865011408925056, -0.0015536797000095248, 0.005567013751715422, -0.126460000872612, 0.11105439066886902, 0.03756820410490036, 0.03425898775458336, 0.005591965280473232, -0.010968132875859737, -0.025375355035066605, 0.09315565973520279, 0.013074999675154686, -0.018787270411849022, -0.033978190273046494, 0.07358476519584656, 0.005439607426524162, -0.05531400069594383, -0.0025184042751789093, 0.03439962863922119, 0.00899903941899538, -0.040617410093545914, -0.04540998861193657, 0.0003818145196419209, 0.008978860452771187, -0.013583862222731113, -0.019126983359456062, -0.0029732459224760532, -0.02533815987408161, 0.040940817445516586, 0.018260089680552483, 0.006935963872820139, 0.030951546505093575, -0.025757672265172005, 0.04316115379333496, 0.004495006054639816, -0.11237554997205734, -0.010755256749689579, -0.007035250775516033, 0.019432803615927696, -0.03227078542113304, 0.4132492244243622, -0.028079645708203316, -0.024634404107928276, 0.07174225151538849, 0.021899526938796043, 0.0072890883311629295, -0.01339573785662651, 0.029242893680930138, -0.029177630320191383, 0.01807069033384323, -0.048398539423942566, -0.018583975732326508, -0.007313954643905163, 0.0541902519762516, -0.04989036172628403, 0.011075234971940517, 0.023076137527823448, 0.04320432245731354, 0.014392532408237457, -0.0001222585269715637, 0.004714468959718943, 0.011109085753560066, -0.007737241685390472, -0.0007909218547865748, 0.0008764421218074858, 0.013777718879282475, 0.000689553446136415, 0.016808701679110527, 0.04101137816905975, 0.0677373856306076, 0.034110236912965775, 0.040810685604810715, 0.0001681757130427286, -0.05205089598894119, 0.02220771089196205, -0.0030484164599329233, 0.03337199613451958, 0.013821929693222046, -0.05971905589103699, 0.028474336490035057, -0.004803180694580078, -0.015442943200469017, -0.022532625123858452, 0.041704390197992325, 0.0006669611902907491, -0.0033450748305767775, 0.09140076488256454, -0.0070076375268399715, -0.04052431881427765, 0.009734438732266426, -0.045020941644907, -0.021722976118326187, 0.026126902550458908, -0.018793869763612747, -0.05445309728384018, 0.013981601223349571, 0.030390368774533272, 0.08947426080703735, -0.03608376160264015, -0.06366564333438873, -0.005200115963816643, -0.023062560707330704, -0.04860879108309746, -0.0671628937125206, 0.039806488901376724, 0.01663077622652054, -0.07332482188940048, -0.009686445817351341, 0.01294656191021204, 0.008170460350811481, -0.07259750366210938, -0.004543114919215441, 0.012238951399922371, -0.012643097899854183, 0.00779721001163125, 0.04326268285512924, -0.027098430320620537, -0.03420303761959076, -0.013485695235431194, 0.06478888541460037, 0.02792314998805523, -0.029530242085456848, 0.007287371903657913, -0.03207109868526459, 0.03251282125711441, -0.028132423758506775, -0.06776370108127594, -0.03255598992109299, -0.03022397868335247, 0.00023672300449106842, 0.011433986015617847, 0.013499991036951542, -0.007233348209410906, -0.07183227688074112, 0.06689482182264328, -0.04850020632147789, 0.0007334279362112284, 0.011635756120085716, 0.0008014760096557438, -0.009100619703531265, -0.03944170102477074, 0.0115209324285388, 0.05685550719499588, -0.03947226703166962, 0.023137588053941727, -0.07741867005825043, 0.023591311648488045, 0.050589315593242645, -0.04948141425848007, 0.08578508347272873, 0.03174826502799988, -0.045780353248119354, 0.01026605349034071, 0.0011156023247167468, -0.00005447373041533865, -0.0002694450959097594, 0.0018630913691595197, -0.027093641459941864, -0.017282020300626755, 0.03668957203626633, 0.026402480900287628, -0.043626900762319565, -0.04688335582613945, -0.0374358631670475, -0.34103670716285706, -0.04172482714056969, 0.009537717327475548, -0.020725257694721222, 0.031018314883112907, -0.11968056112527847, 0.02053253725171089, 0.0044088237918913364, -0.0166130680590868, 0.004964184481650591, 0.08813655376434326, -0.040101926773786545, -0.006753578316420317, -0.09640587866306305, 0.010663921944797039, 0.04017817974090576, -0.0023027255665510893, -0.04579753801226616, -0.005273420829325914, 0.0488482266664505, 0.003412895370274782, -0.003408147254958749, -0.04014834016561508, -0.02625301480293274, 0.0012186222011223435, -0.024638080969452858, 0.08161650598049164, 0.05053729563951492, 0.10182555764913559, -0.03233132138848305, 0.05223649740219116, 0.027070706710219383, -0.02453521266579628, -0.08660504966974258, -0.020731043070554733, -0.007876161485910416, 0.020386897027492523, -0.022126002237200737, 0.023210953921079636, -0.01802528090775013, -0.042451292276382446, 0.018877923488616943, -0.056424759328365326, -0.06369262933731079, -0.04321293532848358, 0.03810702636837959, -0.021419933065772057, -0.003943160641938448, -0.023865139111876488, 0.049672894179821014, 0.004674980882555246, 0.018607402220368385, 0.0010066251270473003, 0.005186532624065876, 0.017382338643074036, 0.0005569388158619404, -0.06745952367782593, -0.029900681227445602, 0.00562859233468771, -0.01603473536670208, 0.041580233722925186, 0.060410644859075546, 0.04429785534739494, -0.07844337075948715, -0.014078332111239433, 0.03801046311855316, -0.006212789565324783, -0.01628533937036991, 0.033137354999780655, -0.015797587111592293, -0.029157977551221848, 0.10353540629148483, 0.0005981248687021434, 0.04391457885503769, 0.05052543431520462, 0.05477221682667732, -0.020979641005396843, 0.027183230966329575, 0.007649684324860573, 0.00863283034414053, 0.014217110350728035, -0.01747075654566288, 0.03350920230150223, -0.04190555587410927, -0.025971222668886185, 0.029986590147018433, 0.0018936906708404422, -0.027797289192676544, 0.04675848409533501, 0.002710654167458415, -0.03470563143491745, -0.009333215653896332, -0.01015746220946312, -0.018553361296653748, 0.058596719056367874, 0.00667811231687665, -0.25993335247039795, 0.027383705601096153, 0.050878722220659256, 0.057878587394952774, 0.0037703567650169134, 0.024932939559221268, 0.03663330897688866, -0.07596921175718307, -0.031314585357904434, 0.030973365530371666, -0.006116198375821114, 0.05454260855913162, 0.01667754538357258, -0.012992069125175476, 0.0279991552233696, -0.02599240280687809, 0.021859152242541313, 0.007494119927287102, 0.015336153097450733, 0.0007393225678242743, 0.027035878971219063, -0.025525758042931557, 0.18235273659229279, 0.0019073921721428633, -0.009517194703221321, 0.0026532562915235758, 0.01015510968863964, 0.006014658138155937, 0.07897520065307617, 0.01075854990631342, -0.0171736441552639, 0.021766705438494682, 0.029314571991562843, 0.029641522094607353, 0.039030522108078, -0.063499815762043, -0.032715339213609695, 0.04134019836783409, 0.014525010250508785, -0.022155623883008957, 0.00332171400077641, 0.030614566057920456, -0.03315753862261772, 0.027354629710316658, 0.05554398149251938, -0.02176669053733349, 0.006645574700087309, -0.0002241478650830686, -0.0317915678024292, 0.0005113489460200071, -0.002901969477534294, -0.03832142800092697, -0.010658063925802708, 0.011166160926222801, -0.0036415120121091604, 0.06477607041597366, 0.013554948382079601, -0.019945377483963966, 0.014049170538783073, 0.04140341281890869, 0.011606009677052498, -0.031744301319122314, 0.12391729652881622, 0.012331387028098106, 0.02141145057976246 ]
[ -0.033305130898952484, 0.03417126089334488, 0.01743064820766449, -0.0250988956540823, 0.004864965565502644, -0.015744348987936974, 0.01149789523333311, 0.02378385327756405, 0.0056481207720935345, 0.006477664690464735, 0.0017950496403500438, -0.005949478596448898, 0.035234514623880386, 0.001366183627396822, 0.02706178091466427, -0.019364960491657257, -0.03004744090139866, 0.02573394402861595, 0.019953347742557526, 0.0019889448303729296, -0.019688216969370842, -0.017008107155561447, 0.005701866000890732, -0.021469995379447937, 0.0007123437826521695, 0.019953474402427673, -0.01952526718378067, -0.01851210556924343, 0.01905767247080803, -0.13439659774303436, -0.03334804251790047, -0.037673626095056534, -0.007497271057218313, -0.0016952954465523362, -0.040428802371025085, 0.0018996587023139, 0.003393403021618724, 0.007351858541369438, -0.002827672054991126, -0.0010270543862134218, -0.009936713613569736, -0.022399095818400383, -0.007689511403441429, 0.0023078685626387596, 0.03072914108633995, -0.022540871053934097, -0.02045961655676365, -0.030977604910731316, -0.02796998620033264, 0.0029744445346295834, -0.05374312028288841, 0.00882041361182928, -0.028741396963596344, 0.014461755752563477, 0.020010843873023987, -0.02323702909052372, -0.02886802889406681, 0.01238251756876707, 0.04079366847872734, -0.029146621003746986, 0.019042015075683594, -0.001785012544132769, -0.05582042038440704, -0.029288748279213905, 0.0020155904348939657, -0.025722961872816086, -0.00652025081217289, -0.0031389405485242605, -0.015464355237782001, 0.00575103098526597, -0.020981935784220695, 0.022411387413740158, -0.005401657894253731, -0.008621799759566784, -0.03139587864279747, 0.005930869374424219, 0.01151231024414301, -0.03912431746721268, -0.010701796039938927, -0.024345625191926956, 0.014050054363906384, -0.019933387637138367, 0.029760558158159256, 0.042843617498874664, 0.026676813140511513, 0.005462820176035166, -0.004731433466076851, -0.005039281211793423, 0.005131618119776249, 0.013328338973224163, -0.006547542288899422, 0.038187507539987564, 0.018477099016308784, 0.015680737793445587, -0.0869973823428154, 0.014563475735485554, -0.04296864941716194, -0.01648709923028946, -0.029167555272579193, 0.86081463098526, -0.01656149886548519, 0.02444252371788025, 0.04005628451704979, 0.0031343987211585045, 0.028415268287062645, -0.01594158075749874, 0.016692275181412697, -0.005830072332173586, 0.024959703907370567, -0.012951613403856754, 0.011937065050005913, 0.012929191812872887, 0.002974854316562414, -0.0014495768118649721, 0.015359022654592991, 0.023449420928955078, 0.020893527194857597, 0.006631378550082445, 0.040022239089012146, -0.005245947744697332, 0.017345288768410683, 0.03456178680062294, -0.016551654785871506, -0.004042674321681261, 0.023109596222639084, -0.16333125531673431, 0.017383653670549393, -6.434166042193703e-33, 0.030633559450507164, -0.0231048371642828, 0.0021655517630279064, 0.00796241220086813, 0.023276733234524727, 0.013073110021650791, -0.008654172532260418, 0.00034040375612676144, -0.04733754321932793, -0.02839687652885914, -0.013636499643325806, -0.02647806704044342, -0.010812046937644482, 0.004383293446153402, 0.018087809905409813, -0.016029657796025276, 0.004880825057625771, 0.029404601082205772, 0.004231419879943132, 0.0010854820720851421, 0.02765989489853382, 0.020962456241250038, 0.009290206246078014, -0.0152321457862854, 0.01996539533138275, 0.038617946207523346, 0.014765707775950432, 0.002300985623151064, -0.013593079522252083, -0.046107031404972076, -0.00835213903337717, 0.019669752568006516, 0.013883289881050587, -0.03058946132659912, 0.04273110255599022, -0.04135054722428322, 0.030492885038256645, 0.0178767628967762, -0.025665298104286194, -0.030011285096406937, -0.04940290376543999, 0.015250854194164276, -0.05630942061543465, -0.003994808532297611, -0.019268561154603958, -0.0420946404337883, -0.011754276230931282, 0.019501622766256332, 0.012286849319934845, 0.007566483691334724, -0.015243513509631157, 0.0005807756679132581, -0.01957646943628788, -0.014166112057864666, -0.01876058056950569, 0.022140080109238625, -0.02739471010863781, -0.02996743470430374, 0.015811922028660774, 0.011577826924622059, 0.043695203959941864, 0.01580927148461342, -0.020816931501030922, 0.0267325509339571, -0.0347992405295372, -0.0012498742435127497, 0.003940929193049669, -0.008260118775069714, 0.026138562709093094, 0.025562522932887077, -0.04387160763144493, 0.04172476753592491, -0.004261750262230635, -0.03566578030586243, 0.04252293333411217, -0.030141621828079224, -0.006211963482201099, -0.006362679414451122, -0.009891933761537075, 0.05291511490941048, 0.00940156914293766, -0.04735469073057175, 0.023218559101223946, -0.0032549791503697634, -0.028999678790569305, 0.017273548990488052, 0.02710585482418537, 0.0038710979279130697, -0.023129763081669807, 0.04041086509823799, 0.05455772578716278, 0.022100185975432396, 0.0019068133551627398, -0.019590388983488083, -0.02155088447034359, 6.768516308501902e-33, -0.0029809658881276846, -0.00023717455042060465, -0.005381625611335039, 0.003548486391082406, 0.022882429882884026, -0.011987962760031223, 0.03801211342215538, -0.016213221475481987, -0.009508124552667141, 0.027012929320335388, -0.0009555260185152292, 0.015436070039868355, -0.03995170816779137, -0.00846016127616167, 0.05810999870300293, -0.020150072872638702, -0.007341585587710142, -0.010646235197782516, 0.003320645075291395, -0.019914910197257996, 0.0009444655734114349, -0.005936569534242153, 0.03342045098543167, 0.018934110179543495, 0.05079500749707222, 0.058081936091184616, 0.013121058233082294, 0.026014728471636772, -0.023335905745625496, -0.00653774244710803, -0.02263760007917881, -0.03381847217679024, 0.011442233808338642, -0.008262692019343376, 0.004803051240742207, 0.05634741857647896, -0.01591401919722557, -0.0018300381489098072, 0.0160127691924572, -0.009771340526640415, 0.034581176936626434, -0.0017318327445536852, -0.020565954968333244, 0.0284521896392107, -0.005733958911150694, 0.011042755097150803, 0.016890473663806915, 0.0017148007173091173, -0.006919521372765303, -0.0022722401190549135, 0.029405489563941956, 0.018571870401501656, -0.003689858131110668, 0.003593594301491976, -0.014158166013658047, -0.034782763570547104, 0.0020996113307774067, 0.024600204080343246, -0.024814939126372337, 0.018191177397966385, -0.00997668132185936, -0.0244902316480875, -0.019081491976976395, 0.003906119614839554, -0.01748344674706459, -0.006481818854808807, -0.044637780636548996, -0.005798098165541887, -0.0009585923980921507, 0.006632865872234106, 0.001486287103034556, -0.00964315328747034, 0.02045506052672863, 0.02384745515882969, 0.005545973777770996, -0.03792659193277359, -0.0064569017849862576, 0.03551849350333214, 0.025014452636241913, 0.036857206374406815, 0.02064109593629837, 0.031659532338380814, -0.010050686076283455, 0.012274702079594135, -0.01586625911295414, 0.017215700820088387, -0.009587529115378857, 0.023237966001033783, 0.02219241112470627, -0.029625821858644485, -0.024513157084584236, -0.008197855204343796, -0.003951640333980322, 0.011936678551137447, 0.023079678416252136, -1.2665578807968814e-8, -0.03257519006729126, -0.019567789509892464, -0.032061606645584106, -0.0060246228240430355, 0.01302017830312252, 0.024095319211483, -0.026241658255457878, 0.0010635271901264787, 0.011468403041362762, -0.0031815243419259787, 0.05520027130842209, 0.02966446429491043, 0.008823397569358349, 0.04030153900384903, 0.010695021599531174, -0.03570184484124184, 0.024599991738796234, -0.018936291337013245, 0.024362236261367798, 0.018820594996213913, -0.011458630673587322, 0.0463196337223053, -0.011611388996243477, -0.017350204288959503, 0.000045573764509754255, -0.02513621188700199, -0.022968951612710953, -0.0868012011051178, -0.020441856235265732, -0.0050874389708042145, 0.018051933497190475, -0.0406104251742363, -0.01022662315517664, 0.021766098216176033, -0.01439556386321783, -0.01039146352559328, -0.006720163859426975, 0.0066665587946772575, -0.004714888986200094, 0.000831976649351418, 0.009975367225706577, -0.008823508396744728, 0.006190611980855465, -0.03563692048192024, -0.02022351697087288, -0.0023224460892379284, -0.0016831523971632123, -0.0002709741238504648, -0.004334789700806141, -0.04119435325264931, 0.0259806327521801, -0.009044828824698925, 0.014086687937378883, 0.015842659398913383, 0.016018137335777283, -0.04896194115281105, 0.03624894842505455, -0.04216316342353821, 0.0030511291697621346, 0.027346376329660416, 0.026048768311738968, 0.004409846384078264, -0.02155880630016327, -0.0073621501214802265 ]
emacsclojure-starting-out-with-paredit
https://markhneedham.com/blog/2012/10/31/emacsclojure-starting-out-with-paredit
false
2012-10-30 22:46:34
Clojure: Mahout's 'entropy' function
[ "clojure", "mahout" ]
[ "Clojure" ]
As I http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-mahout-random-forest-attempt/[mentioned in a couple] http://www.markhneedham.com/blog/2012/10/27/mahout-using-a-saved-random-forestdecisiontree/[of previous posts] https://twitter.com/jennifersmithco[Jen] and I have been playing around with https://cwiki.apache.org/MAHOUT/random-forests.html[Mahout random forests] and for a few hours last week we spent some time looking through the code to see how it worked. In particular we came across an entropy function which is used to determine how good a particular 'split' point in a decision tree is going to be. I http://computersciencesource.wordpress.com/2010/01/28/year-2-machine-learning-decision-trees-and-entropy/[quite like the following definition]: ____ The level of certainty of a particular decision can be measured as a number from 1 (completely uncertain) to 0 (completely certain). Information Theory (developed by Claude Shannon 1948) defines this value of uncertainty as entropy, a probability-based measure used to calculate the amount of uncertainty. For example, if an event has a 50/50 probability, the entropy is 1. If the probability is 25/75 then the entropy is a little lower. The goal in machine learning is to get a very low entropy in order to make the most accurate decisions and classifications. ____ The function reads like this: [source,java] ---- private static double entropy(int[] counts, int dataSize) { if (dataSize == 0) { return 0.0; } double entropy = 0.0; double invDataSize = 1.0 / dataSize; for (int count : counts) { if (count == 0) { continue; // otherwise we get a NaN } double p = count * invDataSize; entropy += -p * Math.log(p) / LOG2; } return entropy; } ---- We decided to see what the function would look like it was written in Clojure and it was clear from looking at how the +++<cite>+++entropy+++</cite>+++ variable is being mutated that we'll need to do a +++<cite>+++reduce+++</cite>+++ over a collection to get our final result. In my first attempt at writing this function I started with the call to reduce and then worked out from there: [source,lisp] ---- (defn individual-entropy [x data-size] (let [p (float (/ x data-size))] (/ (* (* -1 p) (Math/log p)) (Math/log 2.0)))) (defn calculate-entropy [counts data-size] (if (= 0 data-size) 0.0 (reduce (fn [entropy x] (+ entropy (individual-entropy x data-size))) 0 (remove (fn [count] (= 0 count)) counts)))) ---- Jen was pretty much watching on with horror the whole time I wrote this function but I was keen to see how our approaches differed so I insisted she allow me to finish! We then moved onto Jen's version where instead of writing the code all in one go like I did, we would try to reduce the problem to the point where we wouldn't need to pass a custom anonymous function to +++<cite>+++reduce+++</cite>+++ but could instead pass a +++<cite>+++++++</cite>+++. This meant we'd need to run a +++<cite>+++map+++</cite>+++ over the +++<cite>+++counts+++</cite>+++ collection to get the individual entropy values first and then add them all together. [source,lisp] ---- (defn calculate-entropy [counts data-size] (->> counts (remove #(= 0 %)) (map #(individual-entropy % data-size)) (reduce +))) ---- Here we're using the http://emacswiki.org/emacs/ThreadMacroFromClojure[threading operator] to make the code a bit easier rather than nesting functions as I had done. Jen also showed me a neat way of rewriting the line with the +++<cite>+++remove+++</cite>+++ function to use a set instead: [source,lisp] ---- (defn calculate-entropy [counts data-size] (->> counts (remove #{0}) (map #(individual-entropy % data-size)) (reduce +))) ---- I hadn't seen this before although http://blog.jayfields.com/2010/08/clojure-using-sets-and-maps-as.html[Jay Fields has a post showing a bunch of examples of using sets and maps as functions]. In this case if the set is applied to 0 the value will be returned: [source,lisp] ---- user> (#{0} 0) 0 ---- But if the set is applied to a non 0 value we'll get a nil back: [source,lisp] ---- user> (#{0} 2) nil ---- So if we apply that to a collection of values we'd see the 0s removed: [source,lisp] ---- user> (remove #{0} [1 2 3 4 5 6 0]) (1 2 3 4 5 6) ---- I http://www.markhneedham.com/blog/2012/03/19/functional-programming-one-function-at-a-time/[wrote a similar post earlier in the year] where another colleague showed me his way of breaking down a problem but clearly I still haven't quite got into the mindset so I thought it was worth writing up.
null
null
[ 0.014233325608074665, 0.011592477560043335, -0.012083003297448158, 0.03428998962044716, 0.06993643939495087, 0.04976082965731621, 0.032345812767744064, 0.00669511454179883, -0.016267554834485054, -0.022609369829297066, -0.012770770117640495, -0.004950751084834337, -0.05359043926000595, 0.004301610868424177, -0.012443878687918186, 0.07121912389993668, 0.07644513249397278, -0.003525583306327462, 0.03829637169837952, 0.014365272596478462, 0.006764995865523815, 0.05517316237092018, -0.0036998747382313013, 0.04116831719875336, 0.051732346415519714, 0.02301153913140297, 0.006856853608042002, 0.0075132474303245544, -0.035097651183605194, 0.0032126563601195812, 0.050869353115558624, 0.029989665374159813, 0.0033263282384723425, -0.0113738514482975, 0.029354147613048553, 0.023655658587813377, -0.04511168226599693, 0.01464046724140644, 0.01433498039841652, 0.045301198959350586, -0.04985134303569794, 0.045561470091342926, -0.02594681829214096, 0.03394776210188866, -0.05736301839351654, -0.0035371100530028343, -0.03935140371322632, 0.0019933085422962904, 0.008233287371695042, 0.019229067489504814, -0.06523483991622925, 0.04408979043364525, -0.027883993461728096, 0.011569011025130749, -0.027503885328769684, 0.05152079835534096, 0.02430039644241333, -0.04656903073191643, 0.030983906239271164, -0.034571465104818344, 0.021143849939107895, -0.03162448853254318, -0.011068657971918583, 0.016452660784125328, -0.016561679542064667, -0.037492528557777405, -0.0008957645040936768, 0.05219607055187225, -0.035624708980321884, 0.016948997974395752, -0.037569738924503326, 0.012060420587658882, -0.017671093344688416, 0.007362194824963808, -0.01009542029350996, -0.058564987033605576, 0.004186709877103567, 0.056131426244974136, 0.002487619873136282, 0.03281013295054436, -0.021976083517074585, 0.0020210351794958115, 0.05109519511461258, 0.024008063599467278, -0.010936199687421322, -0.035289134830236435, -0.01869688369333744, -0.039756353944540024, -0.06925974041223526, 0.05149306729435921, -0.0028111455030739307, -0.058477047830820084, 0.02219364605844021, 0.012527565471827984, -0.010714993812143803, -0.005500245839357376, 0.0227450430393219, -0.020538395270705223, -0.033613838255405426, -0.02777709998190403, -0.03666013851761818, -0.01663997769355774, 0.017969248816370964, 0.022390024736523628, -0.09755201637744904, 0.002861397573724389, -0.012090581469237804, -0.0012185025261715055, 0.003990736324340105, -0.002408213447779417, -0.013651705347001553, 0.017742188647389412, -0.0010594824561849236, -0.013071722351014614, -0.0836183950304985, 0.04220142588019371, 0.013584338128566742, -0.04867256060242653, 0.018516400828957558, 0.028242675587534904, 0.07119428366422653, 0.03600194677710533, -0.019590729847550392, 0.07769761234521866, 0.0010856714798137546, -0.012273399159312248, 0.03215186670422554, 0.04659568518400192, -0.01517033576965332, -0.06266022473573685, 0.006758213974535465, 0.04557085782289505, -0.014351599849760532, -0.012031509540975094, -0.0006130645633675158, -0.011654991656541824, -0.011756805703043938, 0.0209307000041008, 0.04798881709575653, 0.01280884351581335, 0.0037890877574682236, -0.06495494395494461, 0.007001467980444431, 0.015283009968698025, 0.01867693103849888, -0.012681595049798489, -0.009465320035815239, -0.023470599204301834, -0.03146969527006149, -0.007064542733132839, -0.0029828979168087244, 0.027868380770087242, 0.04446868970990181, -0.042745329439640045, -0.001538209617137909, 0.08049669116735458, 0.0074954284355044365, 0.003260949859395623, 0.01606014184653759, 0.025989782065153122, 0.02861025743186474, 0.012570643797516823, 0.028234470635652542, 0.02264222875237465, -0.00546369468793273, -0.028470443561673164, 0.033392876386642456, 0.08944865316152573, -0.02689145877957344, 0.015239755623042583, -0.04880823567509651, -0.0518873855471611, 0.048284970223903656, -0.04144633561372757, -0.03845006600022316, 0.043068598955869675, 0.06798616051673889, 0.0345630869269371, 0.04604695737361908, 0.0012231051223352551, -0.07394445687532425, 0.021703271195292473, 0.02250080555677414, 0.027750611305236816, 0.02162257209420204, -0.013318818993866444, 0.08969362825155258, 0.028434207662940025, 0.043781403452157974, 0.01627310737967491, -0.05336666852235794, -0.048285383731126785, -0.021144254133105278, -0.01735778898000717, 0.06463645398616791, -0.021806010976433754, 0.03660702332854271, 0.05629922077059746, 0.010477133095264435, 0.030164653435349464, 0.011074257083237171, -0.013211780227720737, 0.022084709256887436, -0.03922070562839508, -0.04793090000748634, 0.037998270243406296, 0.03213190659880638, -0.036322955042123795, -0.036677271127700806, -0.01242098119109869, 0.0005961945280432701, -0.015126945450901985, 0.011762445792555809, -0.03022126853466034, 0.018263675272464752, 0.033075496554374695, 0.05092976987361908, -0.024758227169513702, 0.04548876732587814, -0.029748938977718353, -0.004574080929160118, 0.010478029027581215, -0.01947656460106373, 0.0032078069634735584, 0.042714253067970276, 0.13863375782966614, 0.08244533091783524, -0.01414751261472702, -0.042215730994939804, 0.020486164838075638, -0.021033212542533875, -0.07938851416110992, -0.008663354441523552, 0.01450863853096962, -0.00027558155125007033, 0.004046573769301176, -0.03941582515835762, -0.04356018826365471, 0.037700653076171875, -0.050304070115089417, -0.002389944391325116, 0.05137280002236366, -0.03193093463778496, 0.045032139867544174, 0.0035992295015603304, -0.031931184232234955, 0.006338229402899742, -0.014559928327798843, -0.03780810534954071, -0.0013750720536336303, -0.023626690730452538, 0.0018277188064530492, 0.04172467067837715, -0.01604265533387661, -0.032587554305791855, -0.043429646641016006, -0.03072958253324032, 0.044412821531295776, 0.07360593229532242, 0.05125559866428375, 0.01838839240372181, 0.021996259689331055, 0.007519065868109465, -0.006994899362325668, -0.012612640857696533, -0.07035013288259506, -0.04064755514264107, -0.02855265885591507, -0.003506145440042019, 0.04257601872086525, 0.02186356671154499, 0.006409696768969297, 0.05093662068247795, 0.011310571804642677, 0.0003884162870235741, -0.04019295796751976, 0.06203853338956833, 0.0252657700330019, -0.030137816444039345, -0.007695645093917847, -0.018133753910660744, 0.04634391516447067, -0.015086044557392597, -0.02507505752146244, 0.0034114120062440634, -0.051378875970840454, 0.04056347906589508, -0.06323409080505371, -0.03387574478983879, 0.015590909868478775, 0.012269477359950542, 0.04173104092478752, 0.025601211935281754, 0.017910124734044075, 0.06086541339755058, 0.006686358712613583, 0.0014386093243956566, 0.01142805628478527, 0.017567873001098633, 0.04380856454372406, 0.006460740230977535, 0.0020126481540501118, 0.03128061071038246, 0.000060891623434145004, -0.021098798140883446, -0.033448103815317154, 0.026865758001804352, 0.0075066289864480495, -0.281328409910202, 0.036994725465774536, 0.024981867522001266, -0.04469479247927666, -0.0089408615604043, -0.0021865754388272762, 0.006808930076658726, -0.037030067294836044, -0.02689574472606182, 0.018059363588690758, -0.021048201248049736, -0.05011184886097908, -0.03636283427476883, 0.07552013546228409, 0.017003292217850685, -0.0031050527468323708, 0.011022285558283329, -0.009226313792169094, 0.021552706137299538, 0.05424021556973457, -0.0025468103121966124, -0.051071178168058395, -0.007518331054598093, 0.029472140595316887, 0.037936076521873474, 0.04448387399315834, -0.07968876510858536, 0.010573486797511578, -0.06557618826627731, 0.014542157761752605, -0.020877260714769363, -0.011736736632883549, 0.011016977950930595, -0.010591824539005756, -0.0002623848558869213, -0.02433669939637184, 0.027466777712106705, 0.011466150172054768, -0.027378762140870094, 0.04653451219201088, -0.014781149104237556, -0.03556861728429794, -0.0023607411421835423, 0.009359818883240223, 0.07122699916362762, 0.0375370979309082, -0.06516806036233902, -0.00959271751344204, -0.016600923612713814, 0.05646265670657158, -0.022901158779859543, -0.035409584641456604, -0.02186545543372631, 0.038005564361810684, -0.0071054063737392426, -0.019977765157818794, 0.0021240597125142813, -0.007002918981015682, -0.04332837089896202, -0.04767528548836708, 0.005533984396606684, -0.027848979458212852, 0.009075290523469448, -0.04504600167274475, 0.003836846211925149, -0.07141131162643433, -0.07278309017419815, -0.023067656904459, 0.10026908665895462, 0.014453363604843616, -0.022034112364053726, -0.012530564330518246, -0.01460212841629982, -0.10625950247049332, -0.020440179854631424, -0.032757215201854706, -0.025072995573282242, -0.00027930038049817085, 0.009457962587475777, 0.07352767139673233, -0.04343024641275406, -0.05547070503234863, 0.03016822598874569, 0.011951208114624023, 0.017393050715327263, -0.023784596472978592, 0.016947206109762192, 0.008005602285265923, -0.011543972417712212, 0.006209952291101217, 0.06593413650989532, 0.017015894874930382, -0.040998347103595734, -0.03368980437517166, 0.020121756941080093, 0.018379010260105133, 0.0229965690523386, 0.0020530777983367443, 0.010586041025817394, 0.03324912488460541, 0.01833655685186386, -0.047002967447042465, 0.02162274718284607, -0.04302404820919037, -0.03100738115608692, 0.0022114338353276253, -0.03057929500937462, 0.010199569165706635, 0.0447440966963768, 0.014607587829232216, -0.00896026473492384, -0.02703588642179966, 0.03351800888776779, -0.039625056087970734, -0.013126999139785767, -0.021813973784446716, -0.010490255430340767, 0.010297122411429882, 0.008433067239820957, -0.04259759932756424, -0.03284110501408577, 0.007862572558224201, -0.012419575825333595, -0.0528627410531044, -0.027708368375897408, -0.02882152423262596, -0.023103784769773483, -0.0360092930495739, -0.01369332056492567, -0.004249132238328457, -0.0037158564664423466, 0.04422694072127342, 0.03665653243660927, -0.01157470978796482, 0.011191642843186855, -0.008223445154726505, -0.03994625434279442, -0.02642557956278324, 0.026647528633475304, -0.024769125506281853, 0.012673746794462204, 0.0038228470366448164, 0.019715743139386177, 0.015796609222888947, 0.04916176572442055, 0.0038825611118227243, 0.02331901527941227, -0.026293113827705383, 0.023317359387874603, -0.026514416560530663, 0.00803798995912075, -0.05396583303809166, 0.03828214854001999, -0.045743487775325775, -0.022785358130931854, -0.018953688442707062, 0.04863244295120239, -0.006770753301680088, -0.027011577039957047, -0.048018164932727814, 0.0388653539121151, -0.03237193450331688, -0.037962108850479126, -0.05856635794043541, 0.028086090460419655, 0.05056857317686081, -0.01923062652349472, 0.04331042617559433, 0.0008395302575081587, 0.008911055512726307, 0.023760966956615448, -0.00959759671241045, -0.05542435124516487, 0.023293927311897278, -0.01184654887765646, -0.01148622389882803, 0.02049708366394043, -0.012446264736354351, 0.0033337424974888563, 0.011775626800954342, -0.020116429775953293, -0.015781687572598457, -0.0033092598896473646, 0.008710953406989574, 0.05760284885764122, 0.03503970801830292, -0.02606816217303276, -0.009407872334122658, -0.021738825365900993, -0.00310806673951447, -0.03364606574177742, -0.006360733415931463, -0.005677365232259035, 0.025230195373296738, -0.03169378638267517, -0.06481000036001205, 0.016084522008895874, -0.0045813461765646935, 0.00845088716596365, 0.02307790331542492, 0.012779045850038528, -0.007816244848072529, -0.004528697580099106, 0.027138851583003998, 0.05982459709048271, -0.061492886394262314, 0.005171388853341341, 0.018892068415880203, -0.006303380709141493, 0.013942043296992779, -0.01834140159189701, -0.03846726566553116, -0.01862013339996338, -0.04093677178025246, 0.02815422974526882, -0.03877968341112137, -0.03888438642024994, -0.015896642580628395, 0.0036995280534029007, -0.014639168977737427, 0.010468047112226486, -0.005454832222312689, -0.008665262721478939, -0.03573233634233475, -0.008241084404289722, 0.040093112736940384, -0.005604878067970276, 0.01048427727073431, 0.022728772833943367, -0.039157889783382416, -0.007050233893096447, -0.015355716459453106, -0.010247140191495419, 0.02924560382962227, -0.017960218712687492, -0.02175561897456646, -0.044480085372924805, 0.027692200616002083, -0.005055033136159182, 0.06609700620174408, -0.01750471442937851, 0.01858152262866497, -0.047659557312726974, -0.011945384554564953, -0.02775145322084427, 0.021262187510728836, -0.028335005044937134, -0.03633145987987518, 0.038429029285907745, 0.04022790119051933, -0.02791210636496544, 0.0022980819921940565, -0.033771954476833344, -0.01731969229876995, 0.06777910143136978, -0.008856152184307575, -0.038237545639276505, -0.03352421522140503, -0.041228942573070526, 0.021537363529205322, -0.0025052290875464678, 0.014668691903352737, -0.01502327248454094, 0.043024711310863495, 0.01940339431166649, 0.02605239301919937, -0.00830521248281002, -0.0023699081502854824, 0.014871740713715553, -0.06394018977880478, -0.005169253330677748, -0.09279274195432663, -0.01965767703950405, 0.045323073863983154, 0.00857999362051487, -0.018152885138988495, -0.016639569774270058, -0.041348885744810104, 0.02184648998081684, -0.08880843222141266, -0.002967655658721924, 0.05462835356593132, 0.0033731041476130486, 0.0004307814233470708, 0.01810866966843605, -0.05251306667923927, 0.0038525641430169344, 0.01596594974398613, -0.03804172948002815, -0.005139784887433052, -0.03495480492711067, 0.05414664000272751, 0.012116555124521255, 0.0002835202612914145, -0.012862357310950756, 0.0063209570944309235, 0.0677720233798027, 0.016386134549975395, 0.03790312632918358, 0.04296727105975151, -0.030567912384867668, 0.05311770364642143, 0.04192814230918884, 0.01238041277974844, -0.0083774384111166, -0.0042372290045022964, 0.0023523992858827114, -0.06648380309343338, 0.016474978998303413, -0.013936693780124187, -0.011172984726727009, -0.03919725865125656, 0.06629602611064911, 0.032208401709795, -0.040980130434036255, -0.05928584188222885, 0.0219268798828125, -0.05626645311713219, 0.013126131147146225, 0.005304182413965464, -0.014506266452372074, -0.04570099338889122, 0.058415673673152924, -0.01688406430184841, 0.008285285905003548, 0.07667697966098785, -0.03189723566174507, -0.012604724615812302, 0.02167610265314579, 0.09253567457199097, 0.10723251849412918, 0.03600897267460823, 0.014688408933579922, 0.07578053325414658, -0.027434803545475006, -0.046326518058776855, 0.003579862182959914, -0.0115638617426157, -0.039540357887744904, -0.029727213084697723, 0.05765223503112793, 0.05592765286564827, -0.015796422958374023, 0.08851948380470276, -0.05518235266208649, -0.008973603136837482, 0.021423736587166786, 0.03226360306143761, 0.02717885561287403, 0.056734599173069, -0.025206148624420166, -0.0012468640925362706, -0.01659325696527958, -0.03903861716389656, 0.02976495958864689, 0.014367247931659222, -0.006686451844871044, 0.013890381902456284, -0.00023847943521104753, 0.007019377779215574, 0.017005806788802147, 0.06526650488376617, 0.08574173599481583, -0.0315808430314064, -0.008971165865659714, 0.011860251426696777, 0.03962789848446846, 0.013050956651568413, 0.007483068387955427, -0.0179449375718832, 0.0064967661164700985, -0.005588192492723465, -0.024721678346395493, -0.017018470913171768, -0.027497947216033936, -0.017108622938394547, 0.008653332479298115, -0.0382889062166214, -0.023323044180870056, 0.030033722519874573, 0.0007678106776438653, -0.030837148427963257, -0.03050754964351654, -0.039691533893346786, -0.02594725601375103, -0.08401492983102798, -0.02360837161540985, 0.01784413680434227, 0.00766268465667963, -0.02264581061899662, -0.007177608087658882, -0.016472607851028442, -0.013178880326449871, 0.03391922265291214, -0.04673592746257782, -0.007486827205866575, 0.02446173131465912, 0.0127483531832695, 0.03271302208304405, 0.0013025079388171434, 0.04358050972223282, -0.004768993705511093, -0.01198514923453331, -0.031018007546663284, -0.0018275434849783778, 0.04593367502093315, 0.03323586657643318, -0.016808142885565758, -0.05733121559023857, 0.0015949115622788668, 0.01765790395438671, -0.05091860890388489, -0.0814862921833992, 0.002359680598601699, 0.020694565027952194, -0.006584714632481337, 0.05761115252971649, -0.015012135729193687, -0.013225535862147808, -0.07741228491067886, -0.03713081777095795, -0.03159003332257271, -0.013698059134185314, 0.04740292206406593, -0.026668062433600426, 0.08397865295410156, 0.01885003224015236, -0.03356700390577316, -0.06531068682670593, -0.012667812407016754, -0.0019239499233663082, 0.004797762725502253, -0.05797014757990837, -0.015167761594057083, -0.018123771995306015, -0.10835330933332443, 0.002727596554905176, 0.052150044590234756, -0.035624489188194275, -0.023904137313365936, 0.020066602155566216, 0.027147984132170677, -0.014297946356236935, 0.009428365156054497, -0.040467385202646255, 0.019701682031154633, -0.02698664367198944, -0.027444422245025635, -0.007412730250507593, 0.03718215227127075, -0.02300863154232502, 0.008845070376992226, 0.018664807081222534, -0.05818331614136696, -0.014288390055298805, 0.008686005137860775, 0.028881851583719254, 0.05298644304275513, -0.001868315041065216, -0.019380168989300728 ]
[ -0.08252117782831192, -0.019130665808916092, -0.033182542771101, -0.024152424186468124, 0.03518383204936981, -0.02252790704369545, 0.05042465776205063, 0.010503251105546951, 0.01543041504919529, -0.021325355395674706, 0.00698876241222024, -0.07165965437889099, -0.008637999184429646, -0.013159554451704025, 0.07635555416345596, 0.044128045439720154, 0.004227932076901197, -0.05633988976478577, -0.0332392118871212, 0.006112381350249052, 0.05230676010251045, -0.04159553349018097, -0.023134788498282433, -0.0520317442715168, 0.040340911597013474, 0.021868860349059105, 0.04181910306215286, -0.03487684950232506, -0.005039311479777098, -0.21293200552463531, 0.015523510053753853, -0.023571597412228584, 0.06693778187036514, -0.03724200278520584, -0.010804245248436928, 0.03490406647324562, 0.0361066609621048, 0.019136687740683556, -0.01353042759001255, 0.05346892774105072, 0.0009007949265651405, 0.00739910127595067, -0.021084126085042953, -0.03374725952744484, 0.054933492094278336, -0.020583080127835274, -0.0030110389925539494, 0.004486984573304653, -0.06672787666320801, 0.012547659687697887, -0.05881933122873306, -0.00873041432350874, -0.019466999918222427, -0.004028777126222849, 0.026717770844697952, 0.02793341688811779, 0.042659640312194824, 0.04413144662976265, 0.0357036367058754, 0.03161993995308876, 0.04748733714222908, 0.021515527740120888, -0.14687274396419525, 0.07182589173316956, 0.02046574093401432, 0.031300973147153854, -0.0347430594265461, -0.05828016996383667, -0.02459893748164177, 0.08758047223091125, 0.03330020606517792, 0.008454971946775913, -0.02233143150806427, 0.02453945390880108, -0.00003204307722626254, -0.0133277652785182, 0.009298774413764477, 0.016109032556414604, 0.019504815340042114, 0.00028242345433682203, -0.024766037240624428, 0.007669006008654833, -0.037356164306402206, -0.01430696900933981, -0.019831640645861626, 0.007105031982064247, -0.013771685771644115, 0.01421962957829237, -0.017241351306438446, 0.031943343579769135, 0.029566289857029915, 0.01471133902668953, 0.006773017346858978, -0.012825598008930683, -0.06289616972208023, 0.020723698660731316, 0.011901713907718658, 0.041443973779678345, -0.03413693606853485, 0.39750009775161743, -0.0339755080640316, -0.005396710708737373, 0.05077972635626793, 0.001379357767291367, -0.01992328278720379, -0.015884770080447197, -0.023968935012817383, -0.05159124359488487, 0.013294338248670101, -0.02940690889954567, 0.04311281815171242, -0.03605055809020996, 0.07452461123466492, -0.023407798260450363, -0.014609713107347488, 0.005634006578475237, 0.06156906113028526, 0.03256581351161003, 0.03149203211069107, -0.003070628270506859, -0.03361324965953827, 0.011792472563683987, 0.04225590452551842, -0.008106104098260403, 0.04579517990350723, 0.005427158437669277, 0.003887262661010027, 0.08680108934640884, 0.03411831706762314, 0.0053779007866978645, 0.04366661235690117, -0.06892117857933044, -0.053003955632448196, -0.028469674289226532, 0.008978527970612049, -0.03647303953766823, 0.041555941104888916, 0.001001993310637772, 0.03260328993201256, 0.06633905321359634, 0.0070622083730995655, 0.012070135213434696, 0.05418990179896355, -0.017612027004361153, -0.07369612902402878, 0.12545982003211975, -0.005196711514145136, -0.03898587077856064, -0.019347986206412315, -0.03388642892241478, 0.02465890347957611, 0.010426785796880722, -0.01581941358745098, -0.07900406420230865, 0.031830836087465286, 0.04914345592260361, 0.06769683957099915, -0.01672619767487049, -0.07231373339891434, -0.0055555133149027824, -0.031846873462200165, -0.021472785621881485, 0.00241419137455523, 0.03876546770334244, 0.03593514859676361, -0.06530854105949402, -0.005984134040772915, 0.005315837450325489, 0.02259378507733345, -0.08823700249195099, 0.029834050685167313, 0.003940060269087553, -0.007474509067833424, 0.0017554785590618849, 0.02826235443353653, -0.043880823999643326, -0.037718985229730606, -0.009867537766695023, 0.03780704736709595, -0.0003393616934772581, -0.007090569473803043, -0.001982661196961999, -0.014151879586279392, -0.018999392166733742, -0.040698159486055374, -0.03873147442936897, -0.063561350107193, -0.005181724671274424, -0.026324765756726265, 0.030382009223103523, 0.0037611916195601225, -0.054691754281520844, -0.028521472588181496, 0.0780000165104866, -0.025766048580408096, -0.04919934645295143, 0.01830495521426201, -0.004138545598834753, -0.04706558212637901, -0.023978155106306076, -0.056855518370866776, 0.011829596012830734, -0.037558503448963165, 0.005388736259192228, -0.04929463937878609, 0.06930292397737503, 0.049264874309301376, -0.0310823917388916, 0.05038556084036827, 0.015342352911829948, 0.008376297540962696, -0.0206969752907753, -0.04942186176776886, 0.033819254487752914, -0.011235733516514301, 0.001941609662026167, 0.0009871050715446472, -0.00602198438718915, -0.010430705733597279, 0.008791767992079258, -0.017558839172124863, -0.055116042494773865, -0.037726353853940964, -0.3722422122955322, -0.0570547953248024, -0.02675972878932953, -0.00047610324691049755, 0.03772258386015892, -0.06494519114494324, 0.004721333738416433, -0.020018775016069412, -0.006214839871972799, -0.008946309797465801, 0.08238942176103592, -0.0008667326765134931, -0.021374650299549103, -0.07663774490356445, -0.009881402365863323, 0.03230011835694313, -0.003966943826526403, -0.05805743858218193, -0.08351331204175949, 0.01792343147099018, 0.006605510134249926, 0.05514465272426605, 0.006807968486100435, -0.09180205315351486, -0.015719780698418617, -0.036004140973091125, 0.09426520764827728, -0.0035559083335101604, 0.08030077069997787, -0.013117717579007149, 0.03185161575675011, -0.019450431689620018, -0.016379455104470253, -0.04790424183011055, 0.023707745596766472, -0.04964843764901161, -0.014627794735133648, 0.02638125978410244, -0.015158453956246376, -0.03813430294394493, -0.037611015141010284, 0.036917418241500854, -0.04712884500622749, -0.018691550940275192, -0.07831135392189026, 0.016620907932519913, -0.02712554670870304, -0.01507494505494833, -0.04482894763350487, 0.025096243247389793, 0.00860021635890007, 0.03798124939203262, 0.02117583528161049, -0.005671986378729343, 0.009665102697908878, -0.0027497215196490288, -0.07654056698083878, -0.015608676709234715, -0.00770106166601181, -0.00947659369558096, 0.021329365670681, 0.005277573596686125, 0.028807461261749268, -0.0751044973731041, -0.036545779556035995, -0.0006877672858536243, 0.0006387850153259933, 0.0006246839184314013, 0.05829513445496559, -0.023358792066574097, -0.013938897289335728, 0.13632148504257202, 0.013206352479755878, -0.023175355046987534, 0.07562375068664551, 0.04379941150546074, 0.03994612395763397, 0.022723520174622536, 0.012434110976755619, 0.01475747860968113, 0.0723525732755661, -0.029002444818615913, 0.030257781967520714, -0.004880349151790142, 0.006404245737940073, 0.013479062356054783, 0.005425629206001759, -0.03750457242131233, 0.039888884872198105, 0.022207017987966537, -0.01929108425974846, 0.004955634940415621, 0.015082324855029583, -0.06623902171850204, 0.09986226260662079, -0.005513352807611227, -0.2506767213344574, 0.056107353419065475, 0.06730595231056213, 0.056146346032619476, -0.004750931169837713, -0.0020720106549561024, 0.04652741923928261, -0.057678189128637314, 0.010549360886216164, 0.005091680213809013, 0.007486500311642885, 0.036355748772621155, 0.03278469666838646, -0.000060687849327223375, 0.027302725240588188, -0.01838362216949463, 0.021510755643248558, -0.012784278951585293, 0.0343887098133564, -0.0035526438150554895, 0.04616433382034302, -0.01975359208881855, 0.17042464017868042, 0.022141970694065094, 0.016776174306869507, 0.02941851317882538, -0.0036248578689992428, -0.005089619662612677, 0.05878135561943054, -0.00953163392841816, 0.02646951749920845, 0.013935936614871025, 0.02676248922944069, -0.031677525490522385, 0.056534405797719955, -0.008068118244409561, -0.028533294796943665, 0.020213140174746513, 0.0534357875585556, -0.016205590218305588, 0.01846092939376831, -0.02063131518661976, -0.025574060156941414, 0.016740674152970314, 0.10837350785732269, -0.006094316951930523, 0.018446477130055428, -0.031817443668842316, -0.062224630266427994, 0.019209831953048706, -0.01671195775270462, -0.02233913354575634, -0.013799645937979221, -0.011749787256121635, 0.013662369921803474, 0.0942797139286995, 0.025964396074414253, -0.03169427439570427, -0.02261611446738243, -0.023643534630537033, -0.015704818069934845, -0.020727738738059998, 0.08621209114789963, -0.016264397650957108, 0.035363949835300446 ]
[ 0.0168000441044569, 0.007238819729536772, 0.022137507796287537, 0.02438538521528244, 0.015867726877331734, -0.03157493844628334, 0.0227142795920372, 0.010138637386262417, 0.005320645868778229, 0.026794293895363808, -0.014837878756225109, 0.005982081405818462, 0.014722577296197414, -0.01506341714411974, -0.008076578378677368, 0.008420148864388466, -0.043856892734766006, 0.03709803894162178, 0.03780202940106392, 0.013425960205495358, 0.018284566700458527, 0.01972440630197525, 0.00947540532797575, 0.024237439036369324, -0.036014772951602936, -0.035557493567466736, -0.0520910806953907, 0.022881371900439262, 0.023637132719159126, -0.13100847601890564, -0.056278571486473083, -0.04365793615579605, 0.0020512950140982866, 0.041148893535137177, -0.042988888919353485, -0.02125481888651848, 0.002792739775031805, 0.008253777399659157, -0.029902666807174683, 0.03949727490544319, -0.014207568019628525, 0.00889792200177908, 0.02328387461602688, -0.005216712132096291, -0.005694651044905186, 0.025152450427412987, -0.01842382363975048, -0.014029374346137047, -0.001930571743287146, 0.015580635517835617, -0.02823413722217083, 0.01014851313084364, 0.014273039065301418, 0.0015359781682491302, 0.03920501843094826, -0.010474871844053268, -0.02215992845594883, 0.015663448721170425, -0.0009331295150332153, 0.00292299990542233, 0.04488101229071617, 0.047292329370975494, -0.06322231143712997, -0.018345417454838753, 0.017360802739858627, -0.05657155066728592, -0.014000345021486282, 0.009760047309100628, 0.018616070970892906, -0.009369763545691967, -0.0047143553383648396, 0.0030356550123542547, -0.0021501202136278152, -0.04252735152840614, 0.030485030263662338, -0.0017570038326084614, -0.023356158286333084, 0.019545860588550568, 0.027089018374681473, -0.009288632310926914, -0.023820141330361366, -0.0003213154850527644, 0.013183395378291607, -0.027269668877124786, 0.007307384628802538, -0.04349364712834358, -0.0030048356857150793, 0.036953333765268326, 0.013514455407857895, -0.013554724864661694, -0.020703360438346863, 0.012300968170166016, -0.01917380839586258, 0.028191590681672096, -0.08742155879735947, 0.0021192326676100492, -0.006147677078843117, 0.00830224808305502, -0.011247649788856506, 0.819694995880127, -0.03216288983821869, 0.025957297533750534, 0.040178146213293076, -0.013427460566163063, 0.022678082808852196, -0.024188129231333733, -0.023692650720477104, -0.03870457410812378, 0.05463489145040512, -0.01884978637099266, 0.03491970896720886, 0.03267509862780571, 0.013423246331512928, 0.04188315197825432, 0.05274802818894386, 0.022645380347967148, -0.007569185923784971, 0.024586020037531853, -0.022817039862275124, 0.008791393600404263, -0.04113378748297691, -0.016354944556951523, -0.0011301836930215359, 0.0005784935783594847, 0.030255340039730072, -0.16008055210113525, 0.009983744472265244, -8.197857195016324e-33, 0.011705833487212658, 0.006996118929237127, 0.020204691216349602, 0.005318149924278259, 0.02567320130765438, 0.0026407605037093163, -0.03348303958773613, -0.021862847730517387, -0.02826884761452675, -0.006848208140581846, -0.027114424854516983, -0.0033887731842696667, 0.008904747664928436, -0.0007995012565515935, 0.049360379576683044, -0.011624283157289028, -0.0025493765715509653, 0.012913555838167667, 0.029558958485722542, 0.01430539321154356, 0.011057044379413128, 0.04687799513339996, -0.007257356774061918, 0.03970172628760338, 0.037387967109680176, 0.019129082560539246, 0.01042313314974308, -0.03683523088693619, 0.03210756555199623, -0.026410963386297226, -0.012619092129170895, 0.01182320062071085, -0.0019195260247215629, -0.054596543312072754, 0.004814565181732178, -0.04607106372714043, -0.03337336704134941, 0.03133436664938927, -0.03640789911150932, -0.06495081633329391, -0.023128321394324303, 0.0014237145660445094, 0.007360874209553003, -0.02482723444700241, -0.02302701398730278, -0.0023128201719373465, 0.009318249300122261, 0.047066111117601395, 0.027609582990407944, -0.010874796658754349, -0.006092844530940056, -0.008000953122973442, -0.007005420513451099, 0.00432037515565753, -0.015279020182788372, 0.03381148725748062, 0.030260054394602776, 0.01740446873009205, 0.026559680700302124, 0.06349869072437286, -0.007140445522964001, -0.023683732375502586, 0.016290031373500824, 0.01657346822321415, -0.02447384037077427, -0.02776152268052101, 0.02854325994849205, -0.02196979522705078, 0.051722362637519836, 0.01848326437175274, -0.041733358055353165, -0.02398744598031044, 0.002160354284569621, -0.028204871341586113, -0.01861182413995266, -0.021206174045801163, 0.016744699329137802, -0.0069675808772444725, -0.014332368038594723, 0.07087375223636627, 0.005783142056316137, -0.02860468626022339, 0.017109911888837814, -0.018444616347551346, 0.014843042008578777, 0.0026687406934797764, -0.0315183661878109, 0.012347282841801643, -0.018234319984912872, 0.031210828572511673, 0.03614356741309166, 0.017563659697771072, 0.02571617066860199, -0.03727729618549347, 0.0033253263682127, 7.766973128566691e-33, -0.042705319821834564, -0.0219177957624197, 0.018659619614481926, 0.0009716911008581519, -0.011808503419160843, 0.008752452209591866, -0.019881369546055794, -0.026802560314536095, -0.04546342045068741, -0.012753895483911037, -0.013085712678730488, 0.009326113387942314, -0.000270640040980652, 0.032986998558044434, 0.04842326045036316, -0.00918515957891941, -0.0029652859084308147, 0.061916958540678024, 0.013407053425908089, 0.05166429281234741, 0.04395994544029236, 0.031974419951438904, -0.042832933366298676, 0.011352564208209515, 0.017026487737894058, 0.04690941795706749, -0.0010400550672784448, 0.024264678359031677, 0.014754909090697765, 0.016785161569714546, -0.008625238202512264, -0.024261996150016785, 0.004685967694967985, -0.020360147580504417, -0.00669886264950037, -0.027890799567103386, 0.010740591213107109, -0.054556701332330704, -0.011917808093130589, 0.043597426265478134, 0.007137780077755451, 0.028596961870789528, -0.06474865972995758, 0.015510008670389652, 0.03338136896491051, 0.014254949055612087, 0.022510088980197906, 0.022799208760261536, 0.009404159151017666, 0.004359110724180937, -0.0008298316970467567, -0.0014394650934264064, -0.02344866283237934, 0.028754545375704765, -0.028327403590083122, -0.008460496552288532, -0.08166303485631943, 0.04947926104068756, -0.00530205899849534, 0.01799897477030754, -0.039494968950748444, -0.022478735074400902, -0.009023724123835564, -0.024367954581975937, -0.034689441323280334, -0.013187776319682598, 0.0037362701259553432, -0.016087690368294716, -0.028361165896058083, -0.04165302962064743, -0.03303433954715729, 0.013378194533288479, 0.024192865937948227, 0.04512590169906616, 0.027552660554647446, -0.005382505711168051, -0.02706146240234375, -0.004935218021273613, -0.021567123010754585, 0.03411327674984932, -0.0008673454285599291, 0.004613736178725958, 0.003784758038818836, -0.0037320381961762905, 0.04072284325957298, -0.00939952302724123, -0.007882384583353996, -0.012376348488032818, 0.007267878856509924, -0.042898960411548615, -0.004165932536125183, 0.050865549594163895, 0.015622633509337902, 0.04102887213230133, -0.04265068098902702, -1.2957412032221782e-8, 0.005911803338676691, 0.0010889166733250022, 0.014496732503175735, -0.0017893001204356551, 0.05088520050048828, 0.015943704172968864, -0.055743031203746796, 0.05201490968465805, -0.08611483126878738, -0.02534393221139908, 0.04207484796643257, 0.012915130704641342, -0.010052358731627464, 0.0026652838569134474, 0.042127277702093124, -0.042032450437545776, -0.005317848641425371, 0.0022791880182921886, 0.00660107284784317, 0.02880854345858097, 0.01859644614160061, 0.01469564437866211, 0.00013429374666884542, 0.02329769730567932, -0.013952450826764107, -0.017408395186066628, -0.002834222512319684, -0.06898289173841476, -0.02096620202064514, -0.03136928379535675, 0.0020872028544545174, -0.030394108965992928, 0.00014482786355074495, 0.059694383293390274, -0.052491120994091034, -0.009608788415789604, 0.018489932641386986, 0.026414189487695694, 0.014115956611931324, -0.014730796217918396, -0.000197083325474523, -0.04886399209499359, 0.012160242535173893, -0.02391449548304081, -0.026659710332751274, 0.016187170520424843, 0.005162262823432684, 0.015546848066151142, 0.03823661431670189, -0.005810745991766453, 0.005210048519074917, 0.0059822071343660355, 0.012588359415531158, 0.016308223828673363, 0.01612243615090847, -0.022466512396931648, -0.026614408940076828, -0.032209962606430054, -0.02000163123011589, 0.009523503482341766, 0.01652742177248001, -0.0426890067756176, -0.035736143589019775, -0.02908897213637829 ]
clojure-mahouts-entropy-function
https://markhneedham.com/blog/2012/10/30/clojure-mahouts-entropy-function
false
2012-10-24 17:40:49
Configuration in DNS
[ "devops-2" ]
[ "DevOps" ]
In the http://www.thoughtworks.com/radar/#/techniques/9056[latest version of the ThoughtWorks Technology Radar] one of the areas covered is 'configuration in DNS', a term which I first came across earlier in the year from a mailing list post by my former colleague http://dan.bodar.com/[Daniel Worthington-Bodart]. The radar describes it like so: ____ Application deployments often suffer from an excess of environment-specific configuration settings, including the hostnames of dependent services. *Configuration in DNS* is a valuable technique to reduce this complexity by using standard hostnames like '`mail`' or '`db`' and have DNS resolve to the correct host for that environment. This can be achieved in multiple ways, including split-horizon DNS or configuring search subdomains. Collaboration between development teams and IT operations is essential to achieve this, but that is unfortunately still difficult in some organizations. ____ As I alluded to in http://www.markhneedham.com/blog/2012/10/14/environment-agnostic-machines-and-applications/[my post about creating environment agnostic machines] one of the techniques that we've used to achieve this is configuration in DNS, whereby we use fully qualified domain names (FQDN) for services in our configuration files and have DNS resolve them. For example for our frontend application we use the service name +++<cite>+++frontend.production.domain-name.com+++</cite>+++ which resolves to a load balancer that routes requests to the appropriate machine. http://in.linkedin.com/pub/shodhan-sheth/2/277/287[Shodhan] pointed out that the 'production' in the name is a bit misleading because it suggests the name is environment specific which isn't the case. We use the same name in staging as well and since the two environments are on different virtual networks the name will resolve to a different machine. Now that we're using this approach I was trying to remember what other ways I've seen environment-specific configuration handled and I can think of two other ways: == IP addresses One way is to hard code IP addresses in our configuration files and then either vary those based on the environment or have the environments use separate private networks in which case we could use the same ones. The disadvantage of this approach is that IPs can be quite difficult to remember and are easy to mistype. == Machine FQDNs An approach which is slightly better than using IPs is to make use of a specific machine's FQDN which would then be resolved by DNS. If the machine's IP changes then that would be taken care of and we wouldn't need to change our configuration file but it isn't particularly flexible to change. For example if we wanted to change one of our services to make it load balanced that would be much more difficult to do if we've hard coded machine names into configuration files than if we have something like +++<cite>+++db.backend.production+++</cite>+++ which we can instead route to a load balancer's IP. Given that we wanted to use service oriented host names we than had to decide how those names would be resolved: == Host files One way to do this, and the way that we're currently using, is to store all the FQDNs in the +++<cite>+++/etc/hosts+++</cite>+++ file on every machine and point those names at the appropriate machines. In our case we're often pointing them at a hardware load balancer but it could also be an individual machine where that makes more sense e.g. when pointing to the master in a MySQL setup. This could become quite difficult to manage as the number of FQDNs increases but we're managing it through puppet so the most annoying thing is that it can take up to half an hour for a newly added FQDN to be resolvable across the whole stack. == Internal DNS server An alternative approach is to setup an internal DNS server which would mainly be used to service DNS requests for our own network. The disadvantage of this approach is that it would be a single point of failure which is problematic in terms of making it a good thing to try and compromise if you can break into the network as well as being a potential performance bottleneck. Of course the latter can be solved by making use of caching or making the DNS server redundant but I do like the simplicity of the +++<cite>+++/etc/hosts+++</cite>+++ approach. I'd be interested in hearing about other/better approaches to solving the configuration problem if people know of any!
null
null
[ 0.0013635047944262624, 0.011423644609749317, -0.01839406043291092, 0.02311915159225464, 0.1114497035741806, 0.019883407279849052, 0.008693411946296692, 0.012550808489322662, 0.007671982515603304, -0.01840936578810215, -0.02990991435945034, -0.015433658845722675, -0.05742720514535904, 0.03023114986717701, -0.029430707916617393, 0.08517713099718094, 0.06158261001110077, 0.0006457559647969902, 0.027600910514593124, -0.006029790733009577, 0.027596041560173035, 0.058803919702768326, 0.014934384264051914, 0.03666488081216812, 0.033249374479055405, 0.023549102246761322, 0.0026428597047924995, 0.008784797973930836, -0.046490587294101715, -0.006959212012588978, 0.05288943648338318, -0.021389974281191826, -0.005136462394148111, 0.008279467932879925, 0.03698304668068886, 0.005590943153947592, -0.017695315182209015, -0.0052568744868040085, -0.008841544389724731, -0.01410671230405569, -0.07631572335958481, 0.05140215903520584, -0.015635406598448753, 0.002760661533102393, -0.047664154320955276, 0.005271173547953367, -0.03926955908536911, 0.02182973362505436, 0.008531738072633743, 0.004811974707990885, -0.07860011607408524, 0.02638791687786579, -0.032200172543525696, 0.010951551608741283, -0.012008359655737877, 0.027048543095588684, 0.022337689995765686, -0.07255157083272934, 0.025213612243533134, -0.03783619403839111, -0.000984136015176773, 0.0031713247299194336, 0.0002896880905609578, 0.03648741543292999, 0.028445206582546234, -0.04057300463318825, 0.006766309961676598, 0.04107494652271271, -0.02970116399228573, -0.01157655194401741, 0.0016869179671630263, 0.010492168366909027, 0.010896448977291584, 0.015348798595368862, 0.001848782179877162, -0.03140921890735626, 0.009733503684401512, 0.028856540098786354, 0.024023234844207764, 0.04668108746409416, -0.054590411484241486, -0.006280393805354834, 0.001510157366283238, 0.017236744984984398, -0.011522334069013596, -0.05901465192437172, -0.017785344272851944, -0.003637647721916437, -0.0804736539721489, 0.05211744084954262, 0.04232257232069969, -0.06048254296183586, 0.02188936248421669, 0.019617872312664986, 0.00924779660999775, -0.0011815001489594579, 0.029928330332040787, -0.005543306935578585, 0.010527784004807472, 0.00176457897759974, -0.03056502528488636, 0.003850502660498023, -0.006325341761112213, 0.004098337143659592, -0.0740404725074768, -0.014422396197915077, -0.010521212592720985, -0.000990402651950717, -0.00805618055164814, 0.02562878280878067, -0.03194300830364227, 0.019680185243487358, 0.009355750866234303, 0.008562472648918629, -0.0956651046872139, 0.07239428162574768, -0.009033044800162315, -0.04678945243358612, 0.023330697789788246, 0.023836951702833176, 0.05481189489364624, 0.022198524326086044, -0.058600038290023804, 0.04790972173213959, -0.0034405614715069532, 0.023554475978016853, -0.010043187066912651, 0.050127334892749786, -0.037048615515232086, -0.07017482072114944, 0.004591524600982666, 0.04447571188211441, -0.01851923204958439, 0.031183063983917236, -0.02509756200015545, -0.03021702729165554, 0.0025597240310162306, 0.015163569711148739, 0.052827056497335434, 0.043667640537023544, -0.0035530098248273134, -0.052216947078704834, 0.0017243833281099796, 0.014939620159566402, 0.0488131158053875, -0.002286202972754836, 0.020278677344322205, -0.042768798768520355, -0.017083680257201195, -0.008338973857462406, -0.002145672682672739, 0.05041525512933731, 0.037768084555864334, -0.04163755849003792, 0.020319823175668716, 0.08843934535980225, 0.06784354895353317, 0.031722743064165115, -0.014830555766820908, -0.006703436374664307, 0.03097664751112461, 0.018451809883117676, -0.0043051233515143394, 0.058064546436071396, 0.010888823308050632, -0.022317415103316307, -0.02522238716483116, 0.051341474056243896, 0.026719456538558006, -0.000053051124268677086, -0.06651516258716583, -0.07737690955400467, 0.07197360694408417, -0.030685871839523315, 0.01610751450061798, 0.041444968432188034, 0.06916014105081558, 0.038823649287223816, 0.019083334133028984, 0.013039909303188324, -0.06396277248859406, 0.017569081857800484, -0.006998473312705755, -0.00420541875064373, 0.02657380886375904, -0.010149435140192509, 0.06025482714176178, 0.03700897470116615, 0.011918986216187477, 0.06259682774543762, -0.07655564695596695, -0.08550847321748734, -0.028160370886325836, -0.0075804549269378185, 0.04879651218652725, -0.02824404649436474, -0.0026118680834770203, 0.09298714995384216, -0.003972503822296858, 0.05498922988772392, 0.05396400764584541, -0.0005784049280919135, 0.01651746779680252, -0.05431129410862923, -0.0662553459405899, 0.06223918870091438, 0.010275337845087051, 0.01456557959318161, -0.02025550790131092, 0.0007956146728247404, 0.006289963144809008, -0.024430830031633377, 0.02845967561006546, -0.026319965720176697, 0.04565874859690666, 0.00006448939529946074, 0.026949886232614517, -0.02728891186416149, 0.03630920127034187, -0.03622282296419144, 0.01861567050218582, -0.006673240102827549, -0.01962284930050373, 0.02710213139653206, 0.008754375390708447, 0.10790742933750153, 0.05420888587832451, -0.017063017934560776, -0.052766405045986176, 0.03879663348197937, 0.022595319896936417, -0.04049507528543472, 0.015904460102319717, -0.02504761889576912, -0.01623210497200489, 0.030301854014396667, -0.02108999900519848, -0.02648119442164898, -0.0003477588470559567, -0.03592600300908089, -0.015132556669414043, 0.06524602323770523, -0.047051459550857544, 0.07237505167722702, -0.019357023760676384, -0.005469555035233498, 0.003196624107658863, -0.04967741295695305, -0.05301059037446976, -0.01124264020472765, 0.015429999679327011, -0.009810111485421658, 0.05291183292865753, -0.03575586527585983, -0.015611143782734871, -0.04050695523619652, -0.03275984525680542, 0.04506859928369522, 0.03226392716169357, 0.04107419773936272, -0.05536379665136337, 0.09036873281002045, -0.00786314345896244, 0.02346329391002655, 0.0075030941516160965, -0.045613035559654236, -0.02720043435692787, 0.009556443430483341, 0.005369174759835005, -0.024284204468131065, 0.019198326393961906, 0.008504480123519897, 0.019225073978304863, -0.00943485926836729, 0.01176598109304905, -0.014827990904450417, 0.01901724748313427, 0.009090209379792213, 0.014498109929263592, -0.015525470487773418, -0.02408153936266899, 0.041597701609134674, -0.01853836700320244, -0.018509989604353905, 0.018154609948396683, -0.06754173338413239, 0.03146416321396828, -0.11164362728595734, -0.06894746422767639, -0.010125326924026012, 0.019181422889232635, 0.027488786727190018, 0.0322689414024353, 0.009504683315753937, 0.05311192199587822, 0.02969997562468052, 0.007633700035512447, 0.008758301846683025, -0.000912651012185961, 0.04280070587992668, -0.014303630217909813, 0.01437089592218399, 0.01997487246990204, 0.010355823673307896, -0.014254738576710224, -0.07387074083089828, 0.021485108882188797, -0.02733544446527958, -0.2777743637561798, 0.03980547934770584, 0.026311857625842094, -0.05686108395457268, 0.026823831722140312, -0.018028153106570244, 0.029219159856438637, -0.04269743338227272, -0.023041607812047005, 0.004583723843097687, -0.03818758949637413, -0.06556540727615356, -0.0020534072536975145, 0.021219054237008095, -0.021160725504159927, 0.028310172259807587, 0.029198527336120605, -0.054023854434490204, -0.0011017691576853395, -0.00443462235853076, -0.0261512603610754, -0.03883704915642738, 0.006942036096006632, 0.03823399916291237, 0.009809375740587711, 0.06703130155801773, -0.07464385032653809, 0.045198455452919006, -0.05380953848361969, 0.014734654687345028, 0.014000856317579746, 0.006102907937020063, -0.012450956739485264, -0.0002848840958904475, -0.025386113673448563, -0.025785813108086586, 0.04405836760997772, -0.004543670453131199, 0.014221339486539364, 0.0077193258330225945, -0.030156824737787247, -0.039335232228040695, 0.004490190651267767, 0.003860472235828638, 0.05032772570848465, -0.000008373051969101653, -0.0996275395154953, 0.0010556151391938329, -0.028734035789966583, 0.0677332654595375, -0.02891046181321144, -0.017629140987992287, -0.0057670860551297665, 0.04614239186048508, -0.0282540675252676, -0.035898543894290924, -0.012434899806976318, -0.0345773808658123, -0.04209281876683235, -0.032284121960401535, 0.006408965680748224, -0.03269743546843529, -0.04392339661717415, -0.05774502456188202, 0.03335430100560188, -0.04635220393538475, -0.08200614899396896, -0.002655911957845092, 0.06676561385393143, 0.014089264906942844, -0.03528474643826485, 0.008799047209322453, -0.008209534920752048, -0.11843856424093246, -0.0010401179315522313, -0.028189172968268394, -0.04604123905301094, -0.03142114356160164, 0.015455628745257854, 0.03909756988286972, -0.021139243617653847, -0.029370825737714767, -0.003857838921248913, 0.011258866637945175, 0.001030763378366828, -0.004244646988809109, 0.024937497451901436, 0.013932686299085617, -0.037375595420598984, 0.011131638661026955, 0.06185346469283104, 0.00003327758895466104, -0.015086047351360321, -0.03906684368848801, 0.02233152464032173, 0.011126107536256313, -0.013192657381296158, 0.008665421046316624, 0.014887095429003239, 0.03472251072525978, 0.014694545418024063, -0.05390118062496185, 0.03644922375679016, -0.040345482528209686, -0.008554990403354168, -0.019910844042897224, -0.02294359728693962, 0.003968438133597374, 0.039854831993579865, 0.016237884759902954, -0.013188563287258148, -0.03459090366959572, 0.015048634260892868, -0.0557253472507, -0.06753125041723251, 0.00463294330984354, 0.008211714215576649, 0.04456265643239021, 0.02225746214389801, -0.01797495223581791, -0.02714408189058304, 0.02324482798576355, 0.03371703252196312, -0.018192650750279427, -0.05246010422706604, -0.02990308776497841, -0.009854285046458244, -0.009409338235855103, 0.027478042989969254, 0.03777908906340599, 0.0027040275745093822, 0.01370281632989645, 0.027413897216320038, -0.04178275913000107, 0.014578829519450665, -0.0057879844680428505, -0.027082204818725586, -0.012444478459656239, 0.008162461221218109, 0.007775560952723026, -0.026149339973926544, 0.016606373712420464, 0.01703888736665249, 0.026490557938814163, 0.0627019926905632, 0.04087936878204346, 0.02759954333305359, -0.01600116677582264, 0.05074106156826019, -0.010015343315899372, 0.009823465719819069, -0.04933612793684006, 0.01259592641144991, -0.041132498532533646, -0.02102827839553356, -0.01931721717119217, 0.04574005305767059, -0.021095380187034607, -0.06408295035362244, -0.021680153906345367, 0.007322154939174652, -0.07256051898002625, -0.01921066641807556, 0.005077824462205172, 0.012236826121807098, 0.057568326592445374, -0.02818455919623375, 0.016344478353857994, -0.02408313937485218, 0.001588348182849586, 0.011081019416451454, 0.022899320349097252, -0.061752092093229294, 0.020919300615787506, 0.001793555566109717, 0.011606123298406601, 0.005866951309144497, 0.02163020335137844, 0.057782433927059174, 0.0286660548299551, 0.013557836413383484, 0.006875809282064438, -0.014318970032036304, 0.026008103042840958, 0.03533320873975754, 0.017870428040623665, -0.019914960488677025, 0.010963561944663525, -0.012319293804466724, -0.0140569182112813, -0.0070907799527049065, 0.012029409408569336, -0.02588110789656639, 0.009855455718934536, -0.017083892598748207, -0.06668879836797714, 0.059632208198308945, -0.0010755310067906976, -0.007250023540109396, 0.012016846798360348, -0.005746148992329836, 0.008658260107040405, -0.01374052930623293, 0.03535274416208267, 0.048975639045238495, -0.05828307196497917, 0.008033519610762596, -0.019068196415901184, 0.013615173287689686, 0.0110167870298028, -0.0119782080873847, -0.051455993205308914, -0.018143897876143456, -0.015385947190225124, 0.05350695177912712, -0.06584268808364868, -0.05280295014381409, -0.007316934876143932, 0.018511243164539337, 0.005166156217455864, 0.03583284094929695, 0.004464952740818262, 0.012856407091021538, -0.005968812387436628, -0.06124214828014374, 0.0026397588662803173, -0.003124005626887083, 0.0014024728443473577, 0.003944153431802988, -0.031231245025992393, -0.008176185190677643, -0.029226189479231834, 0.0063939401879906654, 0.005715115461498499, -0.031638238579034805, -0.016867753118276596, -0.03692041337490082, -0.0023650689981877804, -0.004503532778471708, 0.04008655995130539, 0.0022577191703021526, -0.018848277628421783, -0.05023947358131409, -0.0022732652723789215, -0.023206137120723724, 0.015384094789624214, -0.02288142219185829, -0.013020573183894157, 0.011490737088024616, 0.050196342170238495, -0.01835893839597702, 0.005859397351741791, -0.02830590307712555, -0.0026485139969736338, 0.057818081229925156, -0.07239726185798645, -0.041941408067941666, -0.0194394513964653, -0.06419995427131653, 0.001200012513436377, 0.010512487031519413, 0.017352236434817314, -0.027694815769791603, 0.02969752438366413, 0.04502969607710838, 0.009750745259225368, 0.01973590813577175, -0.008053109049797058, 0.019191570580005646, -0.0341753326356411, -0.02044384926557541, -0.08037164807319641, 0.005310197826474905, 0.015539539977908134, 0.014711562544107437, -0.0003517338482197374, 0.03218596428632736, -0.032105669379234314, 0.054772887378931046, -0.049758072942495346, -0.04350290074944496, 0.02127319574356079, -0.00633770227432251, -0.014889013953506947, 0.002105560153722763, -0.06220744550228119, 0.018405750393867493, 0.030950339511036873, -0.02252398058772087, -0.01691354811191559, -0.004433024674654007, 0.03291745483875275, 0.011503280140459538, 0.019299808889627457, -0.047772571444511414, -0.045748401433229446, 0.06961135566234589, 0.02311660163104534, -0.0018901152070611715, 0.03739999607205391, -0.01545804925262928, 0.045256081968545914, 0.03216670826077461, -0.023565111681818962, 0.006966765504330397, 0.01631229557096958, 0.00328207784332335, -0.0786425843834877, 0.031034300103783607, -0.00043009172077290714, -0.0012403620639815927, -0.06088783219456673, 0.06782589852809906, 0.01741134002804756, -0.026628104969859123, -0.04001227393746376, 0.024350417777895927, -0.03039064258337021, -0.012478912249207497, -0.015458552166819572, -0.0002036419464275241, -0.044809844344854355, 0.05798172578215599, 0.012016739696264267, 0.01789226196706295, 0.07240070402622223, -0.001727065071463585, -0.03355882689356804, 0.0038312121760100126, 0.07669650763273239, 0.10067397356033325, 0.026959862560033798, 0.013049500994384289, 0.05556920915842056, -0.0090249078348279, -0.04669736698269844, 0.002127774991095066, -0.009014486335217953, -0.03907506540417671, -0.020428169518709183, 0.012670541182160378, 0.06252062320709229, 0.024254897609353065, 0.07552655041217804, -0.017800424247980118, 0.014657349325716496, 0.018873779103159904, 0.03764241188764572, 0.04399193823337555, 0.02740371786057949, 0.006966846529394388, 0.0389915369451046, -0.003682225476950407, -0.032445840537548065, 0.009939830750226974, 0.002612581942230463, -0.029237736016511917, 0.012045756913721561, -0.021187985315918922, 0.005974662024527788, -0.005578805226832628, 0.038017693907022476, 0.08643141388893127, -0.01869967207312584, -0.01062158402055502, -0.015711288899183273, 0.02746608294546604, -0.023348452523350716, 0.025425080209970474, 0.006676449440419674, -0.0010661766864359379, -0.016467245295643806, -0.035040322691202164, -0.050328757613897324, -0.023971326649188995, -0.03647881746292114, 0.04127373546361923, -0.033571694046258926, -0.0015045774634927511, -0.0025887335650622845, 0.010899249464273453, -0.042383480817079544, -0.04398852214217186, -0.04813661053776741, -0.013179872184991837, -0.054900601506233215, -0.02838469296693802, 0.021754618734121323, -0.000900826184079051, -0.02088877372443676, 0.011866288259625435, -0.03830051049590111, -0.05950573831796646, 0.058645088225603104, -0.0519634410738945, -0.0007638317183591425, 0.012138818390667439, 0.027172110974788666, 0.028976915404200554, 0.0330548994243145, 0.06338167190551758, -0.01437218114733696, 0.0010616295039653778, -0.009510928764939308, 0.006564848590642214, 0.03688900172710419, 0.00755719467997551, 0.01997555047273636, -0.060032881796360016, 0.021737616509199142, 0.03913833945989609, -0.02300194464623928, -0.062434423714876175, 0.026519866660237312, 0.035937849432229996, -0.013850229792296886, 0.04313031956553459, -0.021799692884087563, -0.0013263571308925748, -0.026959525421261787, -0.020900443196296692, -0.002990417182445526, -0.003972297068685293, 0.02720724418759346, -0.0044739991426467896, 0.07364354282617569, 0.05750970169901848, -0.003808293491601944, -0.03768876940011978, -0.002278744475916028, 0.0036179774906486273, 0.0033865461591631174, -0.02439308352768421, -0.02874337136745453, -0.044891178607940674, -0.09344556927680969, -0.05289455130696297, 0.02553735300898552, -0.042642075568437576, -0.03656725957989693, 0.015759117901325226, 0.017515813931822777, -0.040385302156209946, 0.010154565796256065, -0.03875730186700821, -0.006730546709150076, -0.018553173169493675, -0.015109503641724586, -0.005925718229264021, 0.034894559532403946, -0.003723848145455122, -0.011532483622431755, 0.04805472493171692, -0.03718986362218857, -0.003616436617448926, -0.030510757118463516, 0.014475097879767418, 0.04664137214422226, 0.019219299778342247, 0.019589412957429886 ]
[ -0.06443023681640625, -0.01803547702729702, -0.01800946705043316, -0.0460064597427845, 0.08323673903942108, -0.04456330090761185, -0.014255710877478123, -0.017944341525435448, 0.002248646691441536, -0.0375530980527401, -0.006290792021900415, -0.02049725316464901, 0.011454496532678604, -0.02586265280842781, 0.0919058695435524, 0.031118299812078476, -0.01959475874900818, -0.07010208815336227, 0.03356539085507393, 0.027934212237596512, 0.013016585260629654, -0.0004479939234443009, -0.04288168624043465, -0.03252318874001503, -0.022754259407520294, 0.02581656165421009, 0.05352577567100525, 0.005394563544541597, -0.007840977050364017, -0.16780805587768555, 0.027494193986058235, -0.021434489637613297, 0.0008853896288201213, 0.023498831316828728, -0.015853354707360268, 0.0153802540153265, 0.020211638882756233, -0.009548037312924862, -0.0041666035540401936, 0.026540039107203484, 0.040852151811122894, -0.009861540980637074, -0.02632000483572483, -0.01556017342954874, -0.00935700535774231, 0.002103853737935424, -0.006205448880791664, -0.031338535249233246, -0.05197249725461006, -0.018879998475313187, -0.01606944017112255, -0.004526401404291391, -0.05290534347295761, 0.0020778649486601353, -0.0014240337768569589, 0.02637377381324768, 0.03524835780262947, 0.05530385300517082, -0.006715449504554272, 0.0012044357135891914, 0.049299564212560654, -0.008850695565342903, -0.16672343015670776, 0.1011863425374031, 0.031486958265304565, 0.04566933587193489, -0.06746026873588562, -0.021556954830884933, -0.054897841066122055, 0.06380591541528702, -0.008007858879864216, -0.011119715869426727, -0.033953696489334106, 0.044452641159296036, 0.03877326473593712, 0.02197110280394554, -0.026188552379608154, 0.0367906279861927, 0.06241888925433159, -0.058828432112932205, 0.008254390209913254, 0.0062910933047533035, -0.044916264712810516, -0.01954019069671631, -0.04994615912437439, 0.024719269946217537, -0.01729617267847061, 0.051567625254392624, 0.01915469393134117, 0.00835588201880455, 0.013429796323180199, -0.025416499003767967, 0.04080547019839287, 0.0026009089779108763, -0.06657638400793076, 0.0064644580706954, -0.006511600222438574, -0.004758126102387905, -0.0643867552280426, 0.41609394550323486, -0.023442786186933517, -0.0325881764292717, 0.0457560196518898, 0.01937713846564293, 0.008123867213726044, 0.005663007963448763, -0.007662088144570589, -0.024195022881031036, 0.03766491636633873, 0.008791119791567326, 0.0038434325251728296, 0.010654776357114315, 0.06426510214805603, -0.05878503993153572, 0.011839576996862888, -0.009715895168483257, 0.0015230444259941578, 0.029300222173333168, 0.027748415246605873, 0.0035374292638152838, -0.012680020183324814, -0.023449858650565147, 0.025612108409404755, 0.042417991906404495, 0.01940981298685074, 0.013879692181944847, 0.052096858620643616, 0.051933422684669495, 0.019735757261514664, 0.033102020621299744, 0.02247845195233822, -0.09550802409648895, -0.055369190871715546, 0.0026106806471943855, 0.02386021427810192, 0.02034773863852024, 0.04321000352501869, -0.00986372772604227, -0.045905061066150665, 0.06666504591703415, -0.022096799686551094, 0.030810663476586342, 0.031206443905830383, -0.018836291506886482, -0.01604975387454033, 0.10430539399385452, 0.01718447171151638, -0.02395402453839779, -0.033127278089523315, -0.03811568394303322, -0.016607467085123062, 0.04345537722110748, -0.004916545934975147, -0.04874659329652786, -0.021304931491613388, 0.04979253560304642, 0.06406178325414658, -0.01291186548769474, -0.04843994230031967, -0.018840312957763672, 0.029231073334813118, -0.016818849369883537, -0.01554354652762413, 0.08912336081266403, 0.04080621525645256, -0.1258469969034195, -0.06901904195547104, 0.0036567626520991325, 0.017155153676867485, -0.05223092436790466, -0.051603227853775024, -0.009461360983550549, 0.0046116323210299015, -0.02108113467693329, 0.013701562769711018, -0.04133215174078941, -0.03619317710399628, 0.015311598777770996, 0.00234036473557353, 0.006482286844402552, -0.016357755288481712, -0.010007006116211414, -0.03726594150066376, -0.03880317881703377, -0.01451227255165577, -0.0969325378537178, -0.06728197634220123, -0.006200248841196299, -0.038900021463632584, -0.04763413220643997, -0.06900272518396378, -0.03237059712409973, -0.05455615743994713, 0.07549072802066803, 0.025195177644491196, -0.01007131114602089, 0.0261827502399683, 0.016596928238868713, 0.018859444186091423, -0.03794131428003311, 0.002302931621670723, 0.06185891106724739, -0.022819947451353073, 0.004846540279686451, -0.098961740732193, 0.03803861513733864, 0.05229713395237923, -0.06047707051038742, 0.007458624895662069, 0.019653912633657455, -0.022074159234762192, 0.030498376116156578, -0.008444919250905514, 0.01821143738925457, 0.006505811121314764, 0.0006304362323135138, -0.017966853454709053, 0.0512256883084774, 0.009921174496412277, 0.04093027114868164, 0.01193966343998909, -0.00804254598915577, -0.03299158439040184, -0.3473432958126068, -0.08082179725170135, -0.041309650987386703, -0.0012900560395792127, 0.007339495699852705, -0.03700896352529526, -0.005174823105335236, 0.031177019700407982, 0.005519685801118612, 0.026552772149443626, 0.10085645318031311, -0.021048666909337044, 0.025742216035723686, -0.03653508797287941, 0.01178630068898201, 0.028727473691105843, -0.012528001330792904, -0.02876487746834755, -0.04941042885184288, 0.00017438866780139506, 0.011475053615868092, -0.00906989723443985, -0.021372072398662567, -0.05239289253950119, 0.021929090842604637, -0.0157623328268528, 0.0964115709066391, -0.033219873905181885, 0.11323654651641846, -0.06429093331098557, 0.057882338762283325, 0.01130731776356697, 0.04140887409448624, -0.1027255430817604, -0.0027460651472210884, -0.019802777096629143, 0.0211659986525774, 0.01740739867091179, 0.0026393644511699677, -0.02023356407880783, -0.05570448562502861, 0.02450646460056305, -0.06591099500656128, -0.04858827590942383, -0.006417321041226387, -0.012766145169734955, -0.030679529532790184, 0.0022852320689707994, -0.019338639453053474, 0.04186872020363808, -0.005923122633248568, 0.015328275971114635, -0.00772296404466033, 0.012007600627839565, 0.011334034614264965, -0.02234344743192196, -0.05277903378009796, -0.01793978363275528, -0.01756368577480316, 0.024355409666895866, 0.03247131034731865, 0.05579707771539688, 0.03429832682013512, -0.0667484924197197, 0.021387655287981033, 0.006725412327796221, 0.025423871353268623, 0.01579153537750244, 0.08291690796613693, -0.043095801025629044, -0.03517118841409683, 0.10228002816438675, 0.0034678836818784475, 0.041377317160367966, 0.042936794459819794, -0.004241419490426779, -0.02696543186903, 0.017834657803177834, 0.01502704992890358, -0.05130932852625847, 0.07971446961164474, -0.01906893029808998, 0.04519311711192131, -0.016046980395913124, 0.016782794147729874, 0.07000599801540375, -0.0029422310180962086, -0.008229886181652546, 0.03505260497331619, 0.017232948914170265, -0.043257564306259155, -0.012815293855965137, -0.0034304659347981215, -0.08565770089626312, 0.07085229456424713, -0.0025479113683104515, -0.23293249309062958, 0.03151790797710419, 0.07223129272460938, 0.05132482200860977, -0.0029702354222536087, 0.015869636088609695, 0.036371227353811264, -0.0014845957048237324, 0.011770077049732208, 0.015356091782450676, 0.007180383894592524, 0.005053837783634663, -0.011869074776768684, -0.026999155059456825, 0.020989691838622093, 0.01825188286602497, 0.038370877504348755, -0.0024028473999351263, -0.017925534397363663, -0.020950160920619965, -0.00045836862409487367, 0.008308333344757557, 0.16169032454490662, -0.012875080108642578, 0.008572063408792019, 0.041978225111961365, -0.01505739800632, 0.06343052536249161, 0.014591763727366924, 0.035576093941926956, 0.0409792885184288, -0.012768926098942757, 0.03279920667409897, -0.031331900507211685, 0.021388104185461998, -0.06696370989084244, 0.014545178040862083, 0.028633449226617813, 0.049702856689691544, -0.012959201820194721, -0.00836614053696394, -0.009197658859193325, -0.01758286915719509, 0.04700886830687523, 0.07087058573961258, -0.023354755714535713, 0.021547354757785797, -0.03841011971235275, 0.01778125949203968, -0.02061678282916546, -0.0733112096786499, -0.061971817165613174, 0.025650789961218834, 0.01959417574107647, 0.02345792017877102, 0.06503020972013474, 0.036917418241500854, -0.05680720508098602, -0.051094040274620056, 0.013762133195996284, 0.03056456707417965, -0.05993862822651863, 0.11581069231033325, 0.006745375692844391, 0.050753168761730194 ]
[ -0.00009254968608729541, 0.0072158463299274445, 0.008072445169091225, -0.011068897321820259, 0.019325146451592445, -0.05894680693745613, -0.0015104211634024978, -0.001102472422644496, -0.02595914527773857, -0.002322046784684062, -0.04251758009195328, 0.006304989103227854, 0.03793228045105934, 0.0034128681290894747, 0.024122824892401695, 0.017449604347348213, 0.006177167873829603, -0.022426120936870575, 0.02896229736506939, -0.015714148059487343, -0.02903817780315876, 0.03896156698465347, 0.0049878815189003944, -0.015794510021805763, -0.04027551785111427, 0.015902036800980568, -0.05379080772399902, 0.043859004974365234, 0.0008608870557509363, -0.11679134517908096, 0.008955931290984154, 0.008813091553747654, -0.03195065259933472, 0.052784912288188934, 0.014356340281665325, 0.004541140981018543, 0.01573202759027481, 0.04808572679758072, -0.024948351085186005, -0.0059818001464009285, 0.03759242221713066, -0.0034508355893194675, 0.025888992473483086, -0.017762724310159683, -0.005982061382383108, 0.020166872069239616, -0.023385487496852875, -0.0038995216600596905, 0.005380595568567514, -0.014610052108764648, -0.031527772545814514, -0.03326330706477165, 0.01297779567539692, 0.021219473332166672, 0.020862113684415817, 0.020032716915011406, 0.0033338479697704315, -0.017605235800147057, -0.005820680409669876, -0.024295739829540253, 0.022771084681153297, 0.006208676844835281, -0.03368818014860153, -0.04976325109601021, -0.004993694368749857, -0.038355764001607895, -0.0013325609033927321, 0.004513505380600691, -0.012661346234381199, 0.004426904954016209, -0.02506740763783455, 0.04204584285616875, -0.035729311406612396, -0.046751562505960464, -0.006055191159248352, 0.024114493280649185, 0.002044210908934474, -0.017791585996747017, 0.001217588665895164, -0.014943881891667843, -0.03138860687613487, 0.03136598318815231, -0.03198116272687912, 0.019371088594198227, -0.03079373389482498, -0.01727536879479885, -0.004344338551163673, -0.014414765872061253, 0.048878639936447144, 0.000772943370975554, -0.014614294283092022, -0.02682897448539734, -0.028321702033281326, -0.0034280377440154552, -0.08476117253303528, -0.00813575554639101, 0.008319467306137085, -0.03175373375415802, -0.008998782373964787, 0.8389236927032471, 0.015109002590179443, -0.02489723451435566, 0.04057253897190094, 0.007840538397431374, -0.011041517369449139, -0.016012826934456825, -0.005963814910501242, 0.01573788747191429, -0.010063720867037773, -0.029458079487085342, 0.0048878188244998455, 0.041622593998909, 0.029610227793455124, -0.018787840381264687, 0.004186506848782301, -0.0029225104954093695, -0.017102444544434547, -0.0056437230668962, 0.0010858812602236867, 0.003871736815199256, 0.003865620121359825, -0.007519647944718599, 0.027305537834763527, 0.0066989753395318985, 0.019003210589289665, -0.1634155660867691, -0.00744765205308795, -7.620765141211415e-33, 0.027707789093255997, -0.015799622982740402, 0.026572389528155327, 0.005687104072421789, 0.07014551013708115, -0.062011610716581345, -0.0035881390795111656, 0.024505499750375748, 0.0058277202770113945, -0.004878742154687643, -0.008270272053778172, -0.016481028869748116, 0.02921685390174389, -0.035698454827070236, 0.01883922889828682, -0.02094268798828125, 0.00753376679494977, 0.054176878184080124, 0.008580995723605156, 0.02510112151503563, 0.020779713988304138, 0.011753755621612072, -0.03677652031183243, 0.014907254837453365, 0.05109725520014763, -0.010081252083182335, 0.018388835713267326, 0.006037656683474779, 0.007820386439561844, -0.0359213650226593, 0.02475094050168991, 0.033046238124370575, 0.0058951610699296, -0.007940500043332577, 0.017514580860733986, -0.03447003662586212, -0.035612381994724274, 0.02210032008588314, -0.039361149072647095, -0.021391065791249275, -0.01709665358066559, 0.006124050822108984, -0.028192171826958656, -0.004316768143326044, -0.020643888041377068, 0.004003112204372883, 0.029765117913484573, 0.02057771012187004, 0.03326154127717018, -0.018185751512646675, 0.04149115830659866, -0.03188640996813774, 0.0172079149633646, -0.0031352993100881577, 0.04061822593212128, 0.02197585627436638, 0.036706697195768356, -0.0066855112090706825, 0.011067352257668972, 0.010200990363955498, -0.052969735115766525, -0.029615478590130806, -0.04309867322444916, 0.017912335693836212, 0.014822046272456646, -0.02299945242702961, 0.04920725151896477, 0.027849579229950905, -0.004539634101092815, 0.010174117982387543, -0.027851806953549385, -0.02773996815085411, -0.01571146585047245, -0.0208822600543499, 0.03964554890990257, -0.028722351416945457, -0.02097933180630207, 0.028871644288301468, 0.003974961116909981, 0.043141838163137436, 0.027028191834688187, 0.0373305082321167, -0.07703603804111481, 0.01573154889047146, -0.052854761481285095, 0.0013787017669528723, 0.025770016014575958, 0.00023558633984066546, -0.026355845853686333, 0.009433642961084843, 0.013267923146486282, -0.010093792341649532, 0.0180412195622921, -0.020179258659482002, -0.03500876575708389, 8.118263003154208e-33, -0.029905857518315315, -0.00672536576166749, -0.029816582798957825, -0.015622398816049099, 0.022876055911183357, -0.0073667955584824085, 0.047696519643068314, 0.040344513952732086, -0.045745883136987686, 0.007648516446352005, -0.02237802743911743, 0.012877210974693298, -0.039998143911361694, 0.03351864963769913, 0.002830709330737591, -0.018507519736886024, 0.030734892934560776, -0.009089360013604164, 0.034649454057216644, 0.047623179852962494, 0.01398856658488512, 0.002349754562601447, -0.00020677861175499856, 0.012746955268085003, -0.0023632466327399015, 0.04811011999845505, -0.0026849338319152594, 0.034327439963817596, -0.027122115716338158, -0.035547398030757904, -0.01810464635491371, -0.0009450381621718407, 0.0073635936714708805, 0.003731797682121396, -0.030605671927332878, 0.01168934814631939, 0.0023770127445459366, 0.016328655183315277, 0.0023047765716910362, -0.010044055990874767, 0.015889277681708336, 0.02605866640806198, -0.013089790008962154, 0.03327396139502525, -0.005573234520852566, 0.01422544103115797, 0.0016059885965660214, -0.018221668899059296, -0.02611924707889557, -0.004040624480694532, -0.016726763918995857, -0.012188933789730072, 0.0015766749856993556, -0.018393490463495255, 0.00927659124135971, -0.014679938554763794, -0.036762818694114685, 0.02140870876610279, -0.0192331001162529, 0.03942616656422615, 0.008716069161891937, 0.008223275654017925, -0.021142812445759773, 0.055271659046411514, -0.02809547446668148, 0.027957098558545113, -0.014588979072868824, 0.013396847061812878, -0.00012039836292387918, 0.0035266182385385036, -0.04213439300656319, 0.02297969162464142, -0.008810782805085182, 0.02728908509016037, 0.013697716407477856, -0.050676554441452026, -0.0026359756011515856, -0.010686660185456276, -0.029680900275707245, 0.04527303948998451, -0.01946302503347397, -0.0008311200654134154, -0.05043060705065727, -0.01630343496799469, -0.011635936796665192, 0.018287908285856247, -0.02707800269126892, 0.028006231412291527, -0.001500830752775073, 0.004604538902640343, -0.006915413308888674, -0.0381532683968544, -0.01702355593442917, 0.010918823070824146, -0.031971290707588196, -1.3204787485676661e-8, -0.003242152277380228, -0.014899549074470997, 0.008300515823066235, -0.0014906828291714191, 0.0009441875154152513, 0.029871543869376183, 0.018678860738873482, 0.0017583483131602407, 0.019549135118722916, 0.022119585424661636, 0.014452752657234669, -0.01847498118877411, 0.0006448735948652029, 0.03560912609100342, -0.00034091208362951875, -0.05312543362379074, 0.026071324944496155, -0.01564142107963562, 0.01405606884509325, -0.007574043236672878, 0.035847365856170654, 0.0742175355553627, -0.0016499725170433521, -0.013846111483871937, 0.026202937588095665, 0.0049408054910600185, 0.029599756002426147, -0.09260673820972443, -0.006662295199930668, 0.054592788219451904, -0.01275994349271059, -0.011083323508501053, -0.05055839568376541, 0.017184320837259293, -0.0221103448420763, -0.04653194546699524, 0.011404858902096748, 0.028937645256519318, 0.04725763946771622, 0.006165619473904371, -0.015201486647129059, 0.03129962459206581, -0.013086816295981407, -0.020532019436359406, -0.007900765165686607, 0.012138879857957363, -0.03302604332566261, 0.023783428594470024, 0.023246845230460167, -0.052275724709033966, 0.027898335829377174, 0.012689527124166489, 0.04013104364275932, 0.009826322086155415, -0.007604451384395361, 0.0050964802503585815, 0.007744458504021168, -0.042453307658433914, -0.009692206978797913, 0.024907998740673065, 0.01365106925368309, 0.018928783014416695, -0.0023750176187604666, 0.001622132258489728 ]
configuration-in-dns
https://markhneedham.com/blog/2012/10/24/configuration-in-dns
false
2012-10-23 19:04:20
Kaggle Digit Recognizer: A K-means attempt
[ "machine-learning-2" ]
[ "Machine Learning" ]
Over the past couple of months Jen and I have been playing around with the http://www.kaggle.com/c/digit-recognizer[Kaggle Digit Recognizer problem] - a 'competition' created to introduce people to Machine Learning. ____ The goal in this competition is to take an image of a handwritten single digit, and determine what that digit is. ____ You are given an input file which contains multiple rows each containing 784 pixel values representing a 28x28 pixel image as well as a label indicating which number that image actually represents. One of the algorithms that we tried out for this problem was a variation on the http://en.wikipedia.org/wiki/K-means_clustering[k-means clustering] one whereby we took the values at each pixel location for each of the labels and came up with an average value for each pixel. So we'd end up with something like this: [source,text] ---- Label 0: Pixel 1: 214, Pixel 2: 12, Pixel 3: 10...Pixel 784: 23 Label 1: Pixel 1: 234, Pixel 2: 0, Pixel 3: 25...Pixel 784: 0 Label 2: Pixel 1: 50, Pixel 2: 23, Pixel 3: 20...Pixel 784: 29 ... Label 9: Pixel 1: 0, Pixel 2: 2, Pixel 3: 10...Pixel 784: 1 ---- When we needed to classify a new image we calculated the distance between each pixel of the new image against the equivalent pixel of each of the 10 pixel averaged labels and then worked out which label our new image was closest to. We started off with some code to load the training set data into memory so we could play around with it: [source,lisp] ---- (require '[clojure.string :as string]) (use 'clojure.java.io) (defn parse [reader] (drop 1 (map #(string/split % #",") (line-seq reader)))) (defn get-pixels [pix] (map #( Integer/parseInt %) pix)) (defn create-tuple [[ head & rem]] {:pixels (get-pixels rem) :label head}) (defn parse-train-set [reader] (map create-tuple (parse reader))) (defn read-train-set [n] (with-open [train-set-rd (reader "data/train.csv")] (vec (take n (parse-train-set train-set-rd))))) ---- One thing we learnt was that it's helpful to just be able to take a small subset of the data set into memory rather than loading the whole thing in straight away. I ended up crashing my terminal a few times by evaluating a 40,000 line file into the Slime buffer - not a good idea! To get the first row we'd do this: [source,lisp] ---- user> (first (read-train-set 1)) {:pixels (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...), :label "0"} ---- We wrote the following code to work out the average pixel values for each of the labels: [source,lisp] ---- (def all-the-data (read-train-set 1000)) (defn find-me-all-the [number] (filter #(= (str number) (:label %)) all-the-data)) (defn mean [& v] (float (/ (apply + v) (count v) ))) (defn averages [rows] (apply map mean (map :pixels rows)) ) (def all-the-averages (map vector (range 0 9) (map #(averages (find-me-all-the %)) (range 0 9)))) ---- It's mostly self explanatory although we had to use +++<cite>+++float+++</cite>+++ in the mean calculation so that we'd get a decimal value rather than a fraction. https://twitter.com/jennifersmithco[Jen] also came up with a neat way of using +++<cite>+++apply+++</cite>+++ in the +++<cite>+++averages+++</cite>+++ function to map the +++<cite>+++mean+++</cite>+++ function across each individual pixel. I found it easier to follow when we ran the function with a smaller data set: [source,lisp] ---- user> (averages [ {:pixels [1 2 3]} {:pixels [4 5 6]}]) (2.5 3.5 4.5) ---- That expands out to this: [source,lisp] ---- user> (apply map mean [[1 2 3] [4 5 6]]) ---- Which is conceptually the same as doing this: [source,lisp] ---- user> (map mean [1 2 3] [4 5 6]) ---- We can get the averages for the label '0' like so: [source,lisp] ---- user> (first all-the-averages) [0 (1.317757 3.3551402 6.196262 7.373831155...74767 171.61682 147.51402 96.943924 48.728973 22.299065 3.037383 )] ---- To work out what label an untrained collection of pixels is closest to we wrote the following functions: [source,lisp] ---- (defn distance-between [fo1 fo2] (Math/sqrt (apply + (map #(* % %) (map - fo1 fo2))))) (defn find-gap [averages unranked-value] (vector (first averages) (distance-between (second averages) unranked-value))) (defn which-am-i [unranked-value] (let [all-the-gaps (map #(find-gap %1 unranked-value) all-the-averages)] [(ffirst (sort-by second all-the-gaps)) all-the-gaps])) ---- +++<cite>+++distance-between+++</cite>+++ finds the http://en.wikipedia.org/wiki/Euclidean_distance[euclidean distance] between the pixel values, +++<cite>+++find-gap+++</cite>+++ then uses this to find the distance from each of the trained labels set of pixels to the test data set and we can then call +++<cite>+++which-am-i+++</cite>+++ to find out which label a new set of pixels should be classified as: [source,lisp] ---- user> (first test-data) (0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...) user> (which-am-i (first test-data)) [0 ([0 1763.5688862988827] [1 2768.1143197890624] [2 2393.9091578180937] [3 2598.4629450761286] [4 2615.1233720558307] [5 2287.1791665580586] [6 2470.096959417967] [7 2406.0132574502527] [8 2489.3635108564304] [9 2558.0054056506265])] ---- The +++<cite>+++which-am-i+++</cite>+++ function first returns its prediction and then also includes the distance from the test data set to each of the trained labels so that we can tell how close it was to being classified as something else. We got an accuracy of 80.657% when classifying new values with this algorithm which isn't great but doesn't seem too bad given how simple it is and that we were able to get it up and running in a couple of hours. The https://github.com/jennifersmith/machinenursery[code is on Jen's github] if you're interested in seeing more.
null
null
[ -0.018475735560059547, -0.0070763928815722466, -0.03195548057556152, 0.04482192173600197, 0.06304820626974106, 0.03821676969528198, 0.01653154566884041, 0.041421446949243546, 0.00034868772490881383, -0.0017420235089957714, -0.007635457441210747, -0.024140067398548126, -0.05285622179508209, 0.020389322191476822, -0.03145259618759155, 0.07154335081577301, 0.0821765884757042, -0.0012360600521788, 0.026262903586030006, 0.02566623128950596, 0.010808908380568027, 0.04205973818898201, 0.008906928822398186, 0.011029768735170364, 0.013603243045508862, -0.004107998684048653, 0.039094507694244385, 0.014853030443191528, -0.062404733151197433, -0.007961899973452091, 0.0380745567381382, 0.0015503346221521497, 0.0014649323420599103, -0.01088691409677267, 0.04730949550867081, -0.01138982642441988, -0.027652587741613388, -0.003610607236623764, 0.014708947390317917, 0.03320242837071419, -0.06343712657690048, 0.03061024099588394, -0.007254573050886393, 0.03567175939679146, -0.06101334095001221, -0.00233842758461833, -0.08824774622917175, 0.02492659166455269, 0.019022291526198387, 0.012375080026686192, -0.05250568315386772, 0.03399951383471489, -0.018682042136788368, 0.0037195123732089996, -0.012983718886971474, 0.02981477603316307, 0.04476969689130783, -0.06828875094652176, 0.03676209971308708, -0.022184541448950768, 0.002485467353835702, -0.01569102331995964, 0.00427787471562624, 0.022974679246544838, -0.02039114013314247, -0.032058235257864, 0.00568935414776206, 0.05575083568692207, -0.04804641753435135, -0.01869269087910652, -0.006177281960844994, 0.012173809111118317, -0.015516863204538822, -0.02190958708524704, 0.00978620070964098, -0.04601357877254486, 0.007803287357091904, 0.043138016015291214, 0.009580022655427456, 0.02839832194149494, -0.029430536553263664, 0.0178215429186821, 0.04073376581072807, 0.019654925912618637, -0.009709817357361317, -0.022540712729096413, -0.04865135997533798, -0.0323534794151783, -0.07016687840223312, 0.031651820987463, -0.0003564362123142928, -0.06436506658792496, -0.0011429480509832501, 0.028314175084233284, -0.02260393276810646, 0.008068921975791454, 0.002737400121986866, -0.006677985191345215, -0.023758411407470703, -0.01049106940627098, -0.011870644986629486, -0.01827216148376465, 0.040849871933460236, 0.040848564356565475, -0.0809824988245964, -0.004320742096751928, 0.005444184876978397, -0.008792694658041, 0.01462329551577568, 0.005144634284079075, -0.015263515524566174, -0.012449453584849834, -0.009663889184594154, 0.000848144933115691, -0.0690658837556839, 0.05429575964808464, -0.004199162591248751, -0.048601556569337845, -0.004383073654025793, 0.04514921084046364, 0.03617704659700394, 0.04244106262922287, -0.014592040330171585, 0.08028456568717957, -0.01429469883441925, 0.030499324202537537, 0.015187891200184822, 0.06524311006069183, -0.02450251579284668, -0.04438580572605133, -0.0460025891661644, 0.0484989732503891, -0.0036865503061562777, -0.0043137031607329845, 0.009960928000509739, -0.044875603169202805, -0.008511083200573921, -0.010781237855553627, 0.07411936670541763, 0.023417837917804718, 0.013068410567939281, -0.037549395114183426, 0.01382741704583168, -0.002027405658736825, 0.023601388558745384, -0.005097369197756052, 0.00806421972811222, -0.007219622377306223, -0.039165522903203964, -0.0006626322865486145, 0.006561285350471735, -0.012263257056474686, 0.06198933348059654, -0.03698654845356941, 0.007841329090297222, 0.07761482894420624, -0.011424659751355648, 0.034483443945646286, -0.004257884807884693, 0.025850435718894005, 0.018652884289622307, 0.0022580749355256557, -0.001413571648299694, 0.04684489592909813, 0.002970366505905986, -0.022989749908447266, 0.03803344815969467, 0.08900099992752075, -0.05319037660956383, 0.0002312603173777461, -0.04552921652793884, -0.0599026121199131, 0.03990219905972481, -0.03034193441271782, -0.016267163679003716, 0.03425905853509903, 0.07803919166326523, 0.039265383034944534, 0.05201913043856621, -0.005452165380120277, -0.08297082036733627, 0.04538625478744507, 0.024848299100995064, 0.04332416504621506, 0.01096938643604517, -0.024918019771575928, 0.08689307421445847, 0.020809287205338478, 0.003227650886401534, 0.026310935616493225, -0.06274178624153137, -0.05909101292490959, -0.02580784074962139, -0.02579655312001705, 0.06926604360342026, -0.03766898810863495, 0.02535228244960308, 0.028490174561738968, 0.01139450166374445, 0.042663346976041794, 0.019365878775715828, -0.007385901175439358, 0.04087228700518608, -0.02110324800014496, -0.04616976156830788, 0.05026206374168396, 0.029474787414073944, -0.04016086831688881, -0.023322997614741325, 0.011398084461688995, -0.020755277946591377, -0.014620338566601276, 0.015395530499517918, -0.00905507244169712, 0.02439938485622406, 0.016735441982746124, 0.05573871731758118, -0.03311973437666893, 0.04585225135087967, -0.06586404889822006, -0.01864676922559738, 0.024671949446201324, 0.0007555780466645956, 0.010779498144984245, 0.013832828029990196, 0.14485126733779907, 0.06613028794527054, -0.02167484723031521, -0.04352986067533493, 0.0010858321329578757, -0.013157428242266178, -0.055038295686244965, 0.00585756404325366, -0.013197017833590508, -0.00908052921295166, -0.0002108125772792846, -0.041195306926965714, -0.038219742476940155, 0.0428825281560421, -0.037353068590164185, -0.039594732224941254, 0.06567715108394623, -0.022411972284317017, 0.05176409333944321, 0.02218952402472496, -0.012187467887997627, 0.0059139723889529705, -0.018182924017310143, -0.05090624466538429, -0.012042664922773838, 0.0028908008243888617, -0.005138305015861988, 0.007198626641184092, -0.02322644367814064, -0.03753461316227913, -0.04132649302482605, -0.025638870894908905, 0.0006075249402783811, 0.06832031905651093, 0.0632903054356575, 0.00191921042278409, 0.0507955476641655, -0.013688858598470688, -0.000881439947988838, -0.024785546585917473, -0.04850944131612778, -0.03327656909823418, -0.028556283563375473, 0.016531361266970634, 0.04029149189591408, 0.02174762822687626, 0.039330992847681046, 0.04126698896288872, 0.003275821916759014, -0.006259383168071508, -0.026134686544537544, 0.030926862731575966, 0.018021415919065475, -0.026359865441918373, -0.013527948409318924, -0.019774572923779488, 0.05274372175335884, -0.03258838504552841, -0.005638502538204193, 0.01829417794942856, -0.054955609142780304, 0.04504948854446411, -0.06132711470127106, -0.03362654149532318, 0.008946672081947327, 0.012053731828927994, 0.0530458502471447, -0.017674751579761505, 0.009936134330928326, 0.060198135673999786, -0.0045325118117034435, 0.030053529888391495, 0.004484814591705799, 0.0011048727901652455, 0.0318143293261528, 0.0017457169014960527, 0.02681325562298298, 0.04199884831905365, 0.01126969512552023, -0.031458139419555664, -0.03973736986517906, 0.020058730617165565, -0.02626587450504303, -0.2907746434211731, 0.030364545062184334, 0.0020346406381577253, -0.031435612589120865, 0.016945648938417435, -0.04139207676053047, 0.014322093687951565, -0.0442410409450531, 0.002632242627441883, 0.013656191527843475, -0.01686442829668522, -0.024613037705421448, -0.04351338744163513, 0.04146413877606392, 0.016049616038799286, -0.02430695667862892, 0.012178376317024231, -0.04415064677596092, 0.0158652625977993, 0.0669105276465416, 0.007145415525883436, -0.05983968451619148, 0.011929449625313282, 0.057785823941230774, 0.0022194248158484697, 0.06570001691579819, -0.06979144364595413, 0.00005592867819359526, -0.04291323199868202, -0.018488597124814987, 0.007863723672926426, -0.026053152978420258, 0.010742364451289177, 0.004114947747439146, -0.013657084666192532, -0.022632209584116936, 0.04419376328587532, -0.008336883038282394, -0.0064757405780255795, 0.023165525868535042, -0.010640516877174377, -0.019112206995487213, 0.012903518974781036, 0.005047159735113382, 0.07735917717218399, 0.01147798728197813, -0.07167892903089523, -0.004952967166900635, -0.020982569083571434, 0.07689439505338669, -0.03209356963634491, -0.023182936012744904, -0.01740485616028309, 0.052198827266693115, -0.021569039672613144, -0.0052160294726490974, -0.010153206065297127, -0.02242342196404934, -0.05539325252175331, -0.05768473446369171, -0.02232383005321026, -0.05211469531059265, -0.02465108223259449, -0.06632605195045471, -0.013325805775821209, -0.07990040630102158, -0.06589701771736145, 0.010178291238844395, 0.060615334659814835, 0.013937395066022873, -0.035458337515592575, -0.015086930245161057, -0.024557288736104965, -0.1042809784412384, -0.01812806725502014, -0.008162540383636951, -0.012472296133637428, 0.007770534139126539, 0.0017045018030330539, 0.05726928636431694, -0.03681473061442375, -0.07633839547634125, 0.04284306988120079, 0.022963302209973335, 0.047576095908880234, -0.0402371920645237, 0.019301922991871834, 0.004292563069611788, 0.005554302595555782, -0.008806426078081131, 0.06776943057775497, 0.0010277694091200829, -0.03789328783750534, -0.027471784502267838, 0.020817125216126442, 0.03086608648300171, 0.04709036648273468, 0.011302360333502293, 0.008442803286015987, 0.04289741441607475, 0.021810267120599747, -0.04788127914071083, -0.002481987001374364, -0.02370859868824482, -0.0473344661295414, 0.00935161579400301, -0.05484403297305107, 0.012651300989091396, 0.03967021033167839, -0.007544631604105234, -0.04340832307934761, -0.06015537679195404, 0.02250772714614868, -0.048591990023851395, -0.012489339336752892, -0.015826981514692307, 0.006616818252950907, 0.011149788275361061, 0.016951516270637512, -0.030862554907798767, -0.03783121705055237, 0.023744506761431694, 0.013097240589559078, -0.009327005594968796, -0.020103275775909424, -0.028895122930407524, -0.020944220945239067, -0.01398694422096014, 0.019325006753206253, 0.0015732302563264966, -0.006599055137485266, 0.032629091292619705, 0.0090164290741086, -0.011789354495704174, 0.03087066113948822, -0.004838648717850447, -0.024632377550005913, -0.033789075911045074, 0.004162926226854324, 0.014229776337742805, 0.00978861190378666, -0.0059828320518136024, 0.02638968639075756, 0.016058551147580147, 0.04531775042414665, 0.004323710687458515, 0.024603432044386864, -0.02635331265628338, 0.004139905329793692, -0.000018561349861556664, 0.005122429225593805, -0.05098043754696846, 0.030296575278043747, -0.005677524488419294, -0.002175510860979557, -0.00782803725451231, 0.019895050674676895, -0.022122591733932495, -0.03221500292420387, -0.031363461166620255, 0.030234036967158318, -0.0017218247521668673, -0.004196397494524717, -0.0273568294942379, 0.006545967422425747, 0.054879024624824524, 0.01813487708568573, 0.024805240333080292, -0.0010245043085888028, -0.004999704658985138, 0.00909091904759407, 0.0008232098771259189, -0.030991969630122185, 0.012710955925285816, -0.011361389420926571, -0.01432055328041315, 0.012340671382844448, 0.033880073577165604, 0.007458612788468599, 0.00472160754725337, -0.009322765283286572, -0.010711634531617165, 0.01724395900964737, 0.017929015681147575, 0.07065194845199585, 0.04402933269739151, -0.0030632885172963142, 0.008262845687568188, -0.04147324711084366, 0.00174398731905967, -0.0363314263522625, -0.016798973083496094, -0.03118930384516716, 0.004526602104306221, -0.048854220658540726, -0.0727333053946495, 0.0018518827855587006, 0.026754721999168396, 0.015344361774623394, 0.010774672031402588, 0.004046478308737278, 0.000008945587069320027, -0.029894046485424042, 0.020845334976911545, 0.06740069389343262, -0.06972983479499817, 0.005587911698967218, -0.00021320751693565398, -0.007611760403960943, 0.004905821289867163, 0.010890154168009758, -0.062103547155857086, -0.009096859954297543, -0.035749293863773346, 0.0016792732058092952, -0.03570461645722389, -0.056626129895448685, -0.046443261206150055, 0.04211847484111786, -0.02440919540822506, -0.0113152414560318, -0.003540125908330083, -0.025621604174375534, -0.012256236746907234, -0.0008916007936932147, 0.012161762453615665, -0.013320168480277061, -0.0008249332313425839, 0.01762482151389122, -0.014981549233198166, 0.015958620235323906, -0.029952462762594223, 0.043416883796453476, 0.03532404825091362, -0.019116805866360664, -0.010986058041453362, -0.043276477605104446, 0.020376907661557198, 0.0024890040513128042, 0.07084354758262634, 0.019539181143045425, -0.011698970571160316, -0.04846131429076195, 0.030093234032392502, -0.015984393656253815, 0.0293195229023695, -0.006677255500108004, -0.03595031425356865, 0.022023648023605347, 0.039971258491277695, -0.004143193364143372, 0.025183452293276787, -0.02006787247955799, -0.028277788311243057, 0.06073157861828804, -0.021606257185339928, -0.018361881375312805, -0.022196810692548752, -0.04427184537053108, 0.03511379286646843, -0.007067291531711817, 0.0018752001924440265, -0.026499256491661072, 0.041027940809726715, 0.030078360810875893, 0.013316763564944267, 0.009294284507632256, -0.003874688409268856, 0.03532586246728897, -0.01698610931634903, -0.017055371776223183, -0.0953410342335701, -0.006109156645834446, 0.050544705241918564, -0.018621666356921196, -0.01188558991998434, -0.01509562786668539, -0.027283109724521637, -0.005874335300177336, -0.06897728890180588, -0.004317773971706629, 0.06185511127114296, -0.0030202227644622326, -0.012109043076634407, 0.005805944558233023, -0.031010940670967102, 0.03847874701023102, 0.028299545869231224, -0.05436616390943527, -0.028874222189188004, -0.02127564325928688, 0.03942123427987099, 0.00016435734869446605, 0.03212617710232735, -0.003462467109784484, 0.005854405462741852, 0.06959235668182373, 0.029873833060264587, 0.024441849440336227, 0.05635182932019234, -0.022448409348726273, 0.061425015330314636, 0.022971171885728836, -0.021120376884937286, -0.019306648522615433, 0.03782796487212181, -0.03312455862760544, -0.06910283863544464, 0.0297164898365736, 0.005226794630289078, -0.028468187898397446, -0.05527441203594208, 0.06443352997303009, 0.015348194167017937, -0.033467844128608704, -0.06776697933673859, 0.047855064272880554, -0.06505055725574493, 0.008984881453216076, -0.03202168643474579, -0.022898977622389793, -0.033453311771154404, 0.05574161186814308, -0.0017979108961299062, -0.018727893009781837, 0.06945591419935226, 0.004238988272845745, -0.011000856757164001, 0.019483434036374092, 0.09164417535066605, 0.08863171190023422, 0.06012096256017685, 0.023095030337572098, 0.059807684272527695, -0.019463570788502693, -0.0316593199968338, 0.015500840730965137, -0.009236017242074013, -0.019132936373353004, -0.02338605374097824, 0.013852209784090519, 0.06805247813463211, -0.02777022495865822, 0.0751466378569603, -0.02880358137190342, 0.0004374610143713653, 0.01944384165108204, 0.010279885493218899, 0.015322311781346798, 0.047015782445669174, 0.01171471644192934, 0.005548904649913311, -0.015395105816423893, -0.013400455005466938, 0.03701867163181305, -0.0020806819666177034, -0.027060069143772125, 0.007528717163950205, -0.0147585179656744, 0.041858330368995667, -0.008150757290422916, 0.060746390372514725, 0.0813317820429802, -0.022868528962135315, -0.03492908924818039, 0.0037715749349445105, 0.041336312890052795, 0.007226718124002218, 0.019320514053106308, -0.022375332191586494, -0.007163105998188257, -0.01064580399543047, -0.009261103346943855, -0.013338890857994556, -0.006076643709093332, -0.03902385011315346, 0.002128120046108961, -0.03846631944179535, -0.001981662819162011, 0.03695574030280113, 0.010336889885365963, -0.05320322513580322, -0.03869670629501343, -0.04260461404919624, -0.03844606503844261, -0.06808299571275711, -0.016818221658468246, 0.013230971060693264, -0.008333160541951656, -0.036549635231494904, -0.024724364280700684, -0.021043429151177406, -0.014906631782650948, 0.03449521213769913, -0.06607826054096222, -0.007308755069971085, 0.018792226910591125, 0.025015003979206085, 0.0089359600096941, 0.01892121694982052, 0.03697453439235687, -0.03728953376412392, -0.007054433226585388, -0.009844230487942696, -0.005992102436721325, 0.04877638444304466, 0.026326658204197884, -0.006891357246786356, -0.09916707873344421, 0.0058946446515619755, 0.04117937386035919, -0.038038671016693115, -0.08036885410547256, 0.024774186313152313, 0.012805553153157234, 0.007092745508998632, 0.04434427618980408, 0.0038606722373515368, -0.016614291816949844, -0.07428549230098724, -0.024869615212082863, -0.01953388936817646, -0.0025995965115725994, 0.04475586861371994, -0.022838033735752106, 0.08654556423425674, 0.029100041836500168, -0.00951294880360365, -0.03522875905036926, -0.03258143365383148, -0.02482757531106472, 0.03127443045377731, -0.03739509731531143, -0.04287555441260338, -0.0335642509162426, -0.08398688584566116, -0.014787750318646431, 0.021497933194041252, -0.04244837537407875, -0.04023366793990135, 0.02105696126818657, 0.036204028874635696, -0.002073508221656084, 0.04664943367242813, -0.032255515456199646, 0.013570788316428661, -0.02984756790101528, -0.015937190502882004, -0.008793581277132034, 0.03646550700068474, -0.024590831249952316, 0.024116409942507744, 0.032134998589754105, -0.0455629900097847, -0.0018773198826238513, 0.005106362514197826, 0.03967253863811493, 0.01671888306736946, -0.009986764751374722, -0.020531712099909782 ]
[ -0.0898522287607193, -0.028957318514585495, -0.03798017278313637, -0.020915023982524872, 0.025036528706550598, -0.006803016643971205, 0.01424701139330864, 0.03785114735364914, -0.04393499717116356, -0.0011910448083654046, 0.032972048968076706, -0.08233898878097534, -0.0006667929701507092, -0.004564437549561262, 0.06504761427640915, 0.002807285636663437, 0.03705830127000809, -0.04961003363132477, 0.005408064462244511, 0.02657230757176876, 0.027259143069386482, -0.03612397238612175, -0.051241081207990646, -0.05083666369318962, -0.01289211492985487, 0.03608968108892441, 0.05767117068171501, -0.059766072779893875, 0.0005995279643684626, -0.23229749500751495, 0.02342945896089077, 0.011367379687726498, 0.1038515716791153, -0.03876274824142456, 0.007632178720086813, 0.02289188653230667, 0.012333003804087639, 0.04215593636035919, -0.02316270023584366, -0.007162666879594326, 0.020984292030334473, -0.005857653915882111, -0.02985091134905815, -0.059157826006412506, 0.03741846978664398, 0.012050623074173927, -0.02349242754280567, -0.03990424796938896, -0.032134272158145905, -0.008663137443363667, -0.07681377232074738, -0.014880596660077572, 0.0075219315476715565, -0.00481646740809083, -0.013815891928970814, 0.022189578041434288, 0.059180665761232376, 0.0378347709774971, 0.04441476985812187, 0.008245325647294521, 0.010641545057296753, 0.0032805968075990677, -0.1306065022945404, 0.08289774507284164, 0.02062157168984413, 0.02699422836303711, -0.007856630720198154, -0.045183777809143066, -0.01712234877049923, 0.07667264342308044, 0.04734836518764496, 0.0023925681598484516, -0.04052064195275307, 0.04413793981075287, 0.0066972034983336926, -0.025822540745139122, -0.004124104045331478, -0.012962390668690205, 0.021010037511587143, -0.04007649049162865, -0.04544299840927124, 0.04286257550120354, -0.007520261220633984, -0.026643287390470505, -0.02281445823609829, -0.00509862694889307, -0.04187614843249321, 0.013147952035069466, 0.0031491152476519346, 0.029404686763882637, 0.019349826499819756, 0.04937726631760597, 0.004847975913435221, 0.004777114372700453, -0.09667390584945679, -0.029848087579011917, 0.0021647182293236256, 0.02442619949579239, -0.018846871331334114, 0.4266648590564728, -0.021603744477033615, -0.004517832770943642, 0.0573853999376297, -0.004957072902470827, 0.00014276639558374882, -0.03543512150645256, -0.0117915915325284, -0.05159164220094681, -0.009257213212549686, -0.06212732195854187, 0.03423328697681427, -0.0023903625551611185, 0.05245237797498703, -0.012857110239565372, -0.006348271854221821, -0.006433883681893349, 0.05217147618532181, 0.030275313183665276, 0.04560054466128349, -0.006569108460098505, -0.014451340772211552, 0.008774311281740665, -0.013681048527359962, -0.0000429911888204515, 0.022622372955083847, -0.006853812374174595, 0.017833460122346878, 0.06460218876600266, 0.029832877218723297, 0.03646440804004669, 0.04710071161389351, -0.051013972610235214, -0.07335041463375092, 0.017917608842253685, 0.0027036466635763645, 0.002417776035144925, 0.05383143201470375, -0.01334464829415083, -0.020480552688241005, 0.015742456540465355, -0.026959331706166267, -0.003846478648483753, 0.06393499672412872, 0.04456370696425438, -0.027948573231697083, 0.12700198590755463, -0.030509307980537415, -0.027181174606084824, -0.008731524460017681, -0.06925982236862183, 0.05259174853563309, 0.01200269628316164, -0.040140461176633835, -0.03278091922402382, 0.016277508810162544, 0.04270053654909134, 0.08936391025781631, -0.04182521998882294, -0.09231309592723846, 0.008420118130743504, 0.006145268678665161, -0.039239946752786636, -0.05472723767161369, 0.04482482373714447, 0.05585634708404541, -0.0757252648472786, -0.0006953917909413576, -0.019051579758524895, 0.013091291300952435, -0.06424862891435623, 0.025408122688531876, 0.03689352795481682, 0.0022995485924184322, 0.015086420811712742, 0.013582260347902775, -0.016975611448287964, -0.03807944804430008, 0.03433818370103836, 0.017081724479794502, -0.0181489959359169, -0.02601764351129532, 0.00536686833947897, -0.040828581899404526, 0.000635438715107739, -0.014732182957231998, -0.07639387995004654, -0.051372088491916656, -0.013242875225841999, -0.014292626641690731, 0.02476729266345501, 0.021715054288506508, 0.0009512294200249016, -0.05451112985610962, 0.05702658370137215, -0.03840038552880287, -0.0372360497713089, -0.0137634864076972, 0.0007349899387918413, -0.05665365979075432, -0.04177868738770485, 0.0039187283255159855, 0.03626798465847969, 0.00778370862826705, 0.02045896276831627, -0.03224470466375351, 0.03320049121975899, 0.06662997603416443, -0.035661544650793076, 0.08402437716722488, 0.042672496289014816, 0.009653953835368156, -0.03779292106628418, -0.0017039059894159436, -0.0015833779470995069, -0.004250430501997471, -0.023985421285033226, 0.02221042476594448, 0.0007946825935505331, 0.012581328861415386, 0.04042808711528778, -0.0013799689477309585, -0.0324663370847702, -0.05516112223267555, -0.3558194637298584, -0.03156660124659538, 0.008006232790648937, 0.01557502243667841, 0.03709565848112106, -0.0725163146853447, 0.022158915176987648, 0.0032695389818400145, 0.03202827647328377, 0.016624053940176964, 0.0641985759139061, -0.009319538250565529, 0.004678625613451004, -0.06975988298654556, -0.013850144110620022, 0.0402267724275589, -0.014000526629388332, -0.020830415189266205, -0.02364518493413925, -0.0009595804731361568, -0.019397815689444542, 0.022563226521015167, -0.019278427585959435, -0.049642495810985565, 0.0023305388167500496, -0.032968733459711075, 0.12706387042999268, 0.0150891849771142, 0.05948951467871666, -0.03432169556617737, 0.030841520056128502, -0.008264845237135887, -0.03327135369181633, -0.06334816664457321, 0.03880453109741211, -0.043514564633369446, -0.018194466829299927, 0.02197938784956932, 0.003996686078608036, -0.02591421827673912, -0.07064510136842728, 0.02964465320110321, -0.022914666682481766, -0.021104568615555763, -0.04284946620464325, 0.04037627577781677, -0.027888502925634384, -0.018794192001223564, -0.005241143051534891, 0.062013689428567886, 0.02118239551782608, -0.009323956444859505, 0.01761605031788349, -0.005818301346153021, -0.009372120723128319, -0.02339685894548893, -0.07580000162124634, -0.019775182008743286, -0.00760703394189477, -0.0130080571398139, 0.031953971832990646, 0.01701807789504528, 0.0016877156449481845, -0.09568373113870621, 0.023580491542816162, 0.018420584499835968, -0.03736812621355057, -0.009882579557597637, 0.04233632609248161, -0.02198222279548645, 0.00008462565165245906, 0.11581896245479584, 0.036334965378046036, 0.012054013088345528, 0.05218714103102684, 0.056150130927562714, 0.03237304091453552, 0.013726597651839256, 0.01173064298927784, 0.020839950069785118, 0.05307643115520477, 0.015034649521112442, 0.03235723823308945, -0.0208534337580204, 0.03198208659887314, 0.01931328885257244, 0.043599389493465424, -0.003474907483905554, 0.05089469626545906, 0.01567896455526352, 0.009624147787690163, 0.008396302349865437, 0.008122451603412628, -0.064615398645401, 0.06007491424679756, -0.005226839799433947, -0.26745373010635376, 0.046419668942689896, 0.029896536841988564, 0.09699746966362, -0.008741880767047405, 0.024870257824659348, 0.024291828274726868, -0.034242309629917145, 0.0017839223146438599, -0.011763432994484901, -0.02749309316277504, 0.02580406330525875, 0.015270635485649109, -0.023852145299315453, 0.0029547216836363077, -0.014194408431649208, 0.014319983310997486, -0.016830800101161003, 0.029258811846375465, -0.02072068117558956, 0.021579476073384285, -0.01066475361585617, 0.15257519483566284, -0.03476652875542641, -0.011759666725993156, 0.00736790569499135, -0.004960195627063513, -0.007203774992376566, 0.07893063873052597, -0.005852867383509874, 0.005126181989908218, -0.007049582898616791, 0.042259909212589264, 0.011258726939558983, 0.0342281349003315, -0.004642921965569258, -0.055534981191158295, 0.01567819155752659, 0.0010930962162092328, 0.001923356088809669, 0.04153885319828987, 0.012542142532765865, -0.05993501842021942, -0.004179247654974461, 0.08360800892114639, 0.024093173444271088, 0.023626714944839478, -0.007758963853120804, -0.05067808926105499, -0.028435707092285156, -0.0003796227101702243, -0.04867088422179222, -0.03196737915277481, -0.007459962274879217, 0.01980651170015335, 0.06807145476341248, 0.01534183043986559, -0.04423419386148453, -0.006006031762808561, -0.0011733605060726404, 0.0041716028936207294, -0.05174921825528145, 0.09125088155269623, 0.01045241765677929, 0.003153083613142371 ]
[ -0.01654697395861149, 0.0008169845095835626, -0.023704489693045616, -0.03083065152168274, -0.01389651745557785, 0.016298189759254456, 0.03166387602686882, 0.04307444766163826, -0.030582331120967865, -0.019420962780714035, 0.011250773444771767, 0.0027810116298496723, 0.04333478957414627, -0.007307128980755806, -0.03686545416712761, -0.04255251586437225, -0.0033643003553152084, 0.028705023229122162, 0.03705599904060364, -0.012874869629740715, -0.030786637216806412, -0.011856910772621632, 0.07207626849412918, -0.015859588980674744, -0.014482688158750534, 0.06061442941427231, 0.007607572712004185, -0.015492287464439869, 0.05413069948554039, -0.13250163197517395, -0.04653250426054001, -0.014633559621870518, 0.00948122888803482, 0.0334162712097168, -0.008401044644415379, 0.011053173802793026, -0.026693416759371758, 0.008252724073827267, -0.02362491935491562, 0.019070252776145935, 0.0015253722667694092, -0.020963123068213463, 0.006683099549263716, -0.013367737643420696, 0.014336619526147842, 0.02014230750501156, -0.02933398447930813, -0.017919115722179413, -0.0361214354634285, -0.027354618534445763, -0.03789946064352989, -0.0009542984189465642, -0.045387279242277145, 0.027814634144306183, -0.017668040469288826, -0.02454029954969883, -0.034787457436323166, -0.016250861808657646, 0.04583993926644325, 0.0043945335783064365, 0.00482119619846344, 0.0065885428339242935, -0.012796890921890736, -0.01731400191783905, -0.006853906903415918, -0.02240724302828312, -0.00024410003970842808, -0.00043573579750955105, 0.009126856923103333, -0.02544211596250534, 0.04281950742006302, 0.055599622428417206, -0.02579800970852375, -0.03587235137820244, -0.021146662533283234, 0.020027020946145058, 0.008290430530905724, -0.028586529195308685, -0.013273711316287518, 0.006459097843617201, -0.004523844923824072, -0.006468142848461866, 0.04052981361746788, 0.016766279935836792, 0.02717411518096924, -0.03410850465297699, -0.0043994407169520855, 0.033847443759441376, 0.0044308979995548725, -0.022559816017746925, -0.04115544632077217, 0.05755414441227913, -0.02445966936647892, 0.02541942521929741, -0.0913652628660202, 0.0002263599308207631, -0.01798422634601593, 0.019259799271821976, 0.01876460760831833, 0.8237751722335815, -0.011113331653177738, 0.03556934744119644, 0.030437937006354332, 0.02403377741575241, 0.01950623095035553, -0.014076110906898975, 0.03308836743235588, -0.01888086460530758, 0.02927144430577755, -0.03955564647912979, 0.014785700477659702, -0.0008106727036647499, 0.004679420497268438, 0.028067484498023987, 0.013524947687983513, -0.005791591480374336, 0.03394336253404617, 0.04605022445321083, 0.03477782756090164, 0.015482185408473015, 0.0003093272098340094, -0.010253344662487507, -0.026331843808293343, -0.0037242192775011063, 0.0177083108574152, -0.17194996774196625, -0.04874977469444275, -6.915256941734894e-33, 0.014443021267652512, -0.03592114895582199, 0.029391616582870483, -0.03695976734161377, -0.0011208952637389302, -0.003005123697221279, -0.012879335321485996, -0.01078115776181221, -0.03669330105185509, -0.05299384146928787, -0.008184715174138546, 0.0037740073166787624, -0.003909503575414419, 0.003258603857830167, 0.05213741958141327, 0.007621965371072292, 0.00003687608113978058, 0.04148862883448601, 0.006592159625142813, -0.009410637430846691, 0.025606416165828705, -0.015498768538236618, 0.0080887945368886, 0.011272246018052101, -0.020218878984451294, 0.02084979973733425, -0.007815013639628887, -0.018042245879769325, 0.020261922851204872, -0.05715732276439667, -0.024923909455537796, 0.022287631407380104, 0.022301793098449707, -0.013445005752146244, -0.0046488880179822445, -0.031128693372011185, 0.01205560564994812, 0.02544519118964672, 0.004068333655595779, -0.006193962413817644, -0.04218515381217003, -0.010304098948836327, 0.00672432454302907, -0.05533798784017563, 0.004332421813160181, -0.01056805532425642, 0.008400892838835716, 0.006725719664245844, 0.004912614822387695, 0.00037856402923353016, -0.002210694132372737, -0.03723195195198059, 0.009403918869793415, 0.01281806267797947, -0.003936623688787222, -0.003263763152062893, 0.004176577553153038, 0.004103378392755985, 0.0002883075794670731, 0.016752250492572784, 0.03219503164291382, 0.015987781807780266, -0.0003770558687392622, 0.03856636956334114, -0.03327375650405884, -0.0104184839874506, 0.047724638134241104, 0.014409615658223629, 0.009044297970831394, 0.05608418211340904, -0.05700599402189255, 0.0341792069375515, -0.042750246822834015, -0.04048377647995949, 0.04048924893140793, -0.03625008091330528, 0.011718925088644028, 0.00213318457826972, -0.04282340407371521, 0.04629380628466606, 0.03265593945980072, -0.03751830384135246, -0.02283131517469883, -0.0042109182104468346, -0.003435390302911401, 0.010175066068768501, 0.05837767571210861, -0.004254970233887434, -0.02029583789408207, 0.01740497350692749, 0.03050464577972889, 0.010168110951781273, -0.01894288696348667, -0.005249558947980404, -0.03957044333219528, 7.342526363055748e-33, -0.00007248551264638081, 0.02525508776307106, -0.027576562017202377, 0.021210595965385437, 0.0010107718408107758, 0.013774016872048378, 0.068996861577034, 0.028011661022901535, -0.021128514781594276, 0.023976363241672516, 0.0003913862747140229, -0.008320910856127739, 0.0039194850251078606, -0.0005056739319115877, 0.02176165208220482, -0.019739728420972824, 0.004413276445120573, 0.032054122537374496, 0.027876300737261772, 0.006993713788688183, -0.0051545193418860435, 0.021788228303194046, 0.0195869542658329, 0.007758129853755236, 0.0024056248366832733, 0.06202961876988411, -0.010632040910422802, 0.014038125984370708, -0.03405240178108215, 0.012338322587311268, -0.020255807787179947, -0.06338430941104889, -0.013421653769910336, -0.007686151657253504, -0.013096899725496769, 0.02750261500477791, 0.014326466247439384, -0.03667685389518738, -0.0016446246299892664, -0.017578018829226494, 0.022720176726579666, -0.011395836248993874, -0.045224133878946304, 0.02893412485718727, -0.0011210968950763345, -0.014466789551079273, 0.026048706844449043, -0.0014501484110951424, -0.004276987165212631, 0.00032431521685793996, 0.00260370085015893, 0.035541798919439316, -0.004015411250293255, 0.011534322053194046, -0.01470234151929617, -0.0022532450966537, -0.050770197063684464, 0.059483692049980164, -0.03759808838367462, 0.008404800668358803, -0.011404684744775295, -0.06340543180704117, -0.031022420153021812, -0.0019942601211369038, -0.013972269371151924, -0.0025310099590569735, 0.004465347155928612, -0.022119509056210518, -0.017418114468455315, 0.022789431735873222, -0.04369226098060608, 0.029676292091608047, 0.014721963554620743, 0.042149681597948074, -0.01469931099563837, -0.0007517412886954844, -0.04025206342339516, 0.030652198940515518, 0.020759981125593185, 0.03694380447268486, 0.06035308539867401, -0.026037991046905518, -0.013768061995506287, 0.00811179168522358, 0.05450025200843811, 0.012569541111588478, 0.000039073245716281235, 0.023327790200710297, 0.008158331736922264, -0.04587460681796074, 0.00825497880578041, -0.00875260028988123, 0.013822357170283794, 0.002123403362929821, -0.0212448388338089, -1.2606416355254169e-8, 0.0025092894211411476, -0.011847137473523617, -0.013531079515814781, 0.0056022838689386845, 0.051828593015670776, -0.0006680154474452138, -0.0046612052246928215, 0.017567390576004982, -0.03698884695768356, -0.006762582343071699, 0.0638083815574646, -0.022102689370512962, -0.014952522702515125, 0.035660456866025925, 0.019940150901675224, -0.018013497814536095, 0.012795145623385906, -0.013228550553321838, 0.043503254652023315, 0.00816312525421381, -0.031579915434122086, 0.018117645755410194, 0.003871074179187417, -0.017908988520503044, -0.03414706513285637, -0.0212237685918808, 0.0385686531662941, -0.07642592489719391, -0.020385591313242912, -0.04407331347465515, 0.004423405043780804, -0.04593142494559288, 0.00350405415520072, 0.03495105355978012, -0.021725747734308243, -0.02560390532016754, -0.0019544370006769896, 0.024226685985922813, 0.04009980708360672, 0.010074889287352562, -0.01696365512907505, 0.007451512385159731, -0.035176269710063934, -0.03727484121918678, -0.013543193228542805, 0.02091510035097599, 0.01817537285387516, -0.011895171366631985, 0.0077226911671459675, -0.01141453068703413, 0.021065881475806236, 0.010680021718144417, 0.0012715035118162632, 0.011909032240509987, 0.030752157792448997, -0.03924595192074776, 0.03739167004823685, -0.03565886244177818, -0.013441533781588078, 0.05408485233783722, 0.015523879788815975, 0.0017401552759110928, -0.02996652200818062, -0.015960875898599625 ]
kaggle-digit-recognizer-a-k-means-attempt
https://markhneedham.com/blog/2012/10/23/kaggle-digit-recognizer-a-k-means-attempt
false
2012-10-14 18:49:02
Environment agnostic machines and applications
[ "devops-2" ]
[ "Software Development", "DevOps" ]
On my current project we've been setting up production and staging environments and http://in.linkedin.com/pub/shodhan-sheth/2/277/287[Shodhan] came up with the idea of making staging and production identical to the point that a machine wouldn't even know what environment it was in. Identical in this sense means: * Puppet doesn't know which environment the machine is in. Our factor variables suggest the environment is production. * We set the RACK_ENV variable to production so applications don't know what environment they're in. * The IPs and host names of equivalent machines in production/staging are identical The only thing that differs is that the external IPs to access machines differ and therefore the NATed address that they display to the world when making any outgoing requests is also different. The only place where we do something different based on an environment is when deploying applications from http://jenkins-ci.org/[Jenkins]. At that stage if there needs to be a different configuration file or initializer depending on the environment we'll have it placed in the correct location. == Why are we doing this?</h4> The benefit of doing this is that we can have a much higher degree of confidence that something which works in staging is also going to work in production. Previously we'd noticed that we were inclined to write switch or if/else statements in puppet code based on the environment which meant that the machines were being configured differently depending on the environment. There have been a few problems with this approach, most of which we've come up with a solution for. == Problems</h4> == Applications that rely on knowing their environment One problem we had while doing this was that some applications did internally rely on knowing which environment they were deployed on. For example, we have an email processing job which relies on the RACK_ENV variable and we would end up processing production emails on staging if we deployed the job there with RACK_ENV set to 'production'. Our temporary fix for this was to change the application's deployment mechanism so that this job wouldn't run in staging but the long term fix is to make it environment agnostic. == Addressing machines from outside the network We sometimes need to http://www.markhneedham.com/blog/2012/08/10/sshing-onto-machines-via-a-jumpbox/[SSH into machines via a jumpbox] and this becomes more difficult now that machines in production and staging have identical IPs and host names. We got around this with some cleverness to rewrite the hostname if it ended in staging. The +++<cite>+++~/.ssh/config+++</cite>+++ file reads like this: ~~~text Host *.staging IdentityFile ~/.ssh/id_rsa ProxyCommand sh -c "/usr/bin/ssh_staging %h %p" ~~~ And in +++<cite>+++/usr/bin/ssh_staging+++</cite>+++ we have the following: ~~~text HOSTNAME=`echo $1 | sed s/staging/production/` ssh staging-jumpbox1 nc $HOSTNAME $2 ~~~ If we were to run the following command: ~~~text ssh some-box.staging ~~~ That would SSH us onto the staging jumpbox and then proxy an SSH connection onto +++<cite>+++some-box.production+++</cite>+++ using netcat. Since web facing applications in both staging and production are referred to by the same fully qualified domain name (FQDN) we need to update our +++<cite>+++/etc/hosts+++</cite>+++ file to access the staging version. ~~~text staging.ip some-app.production.whatever.else ~~~ == When SSHing you can't tell which environment a machine is One problem with having the machines not know their environment is that we couldn't tell whether or not we'd SSH'd into a staging or production machine by looking at our command prompt since they have identical host names. We ended up defining PS1 based on the public IP address of the machine which we found out by calling http://icanhazip.com/[icanhazip.com] Overall despite the fact that it was initially painful - and Shodhan game-fully took most of that pain - to do this I think it makes sense as an idea and I'd probably want to have it baked in from the beginning on anything I work on in future.
null
null
[ 0.030711466446518898, -0.004354080650955439, -0.01948949694633484, 0.049942780286073685, 0.11918439716100693, 0.04086846485733986, 0.01966451108455658, 0.036900803446769714, -0.0045042261481285095, -0.02443787269294262, -0.021182958036661148, -0.01542508415877819, -0.06234337389469147, 0.04191610962152481, -0.03574875742197037, 0.06910983473062515, 0.06751440465450287, -0.0020748896058648825, 0.016846243292093277, 0.015493946149945259, 0.025993067771196365, 0.061045195907354355, 0.03455483913421631, 0.04362314194440842, 0.004248226061463356, 0.012628577649593353, 0.010022394359111786, -0.013457128778100014, -0.05465134233236313, -0.004125360399484634, 0.01822919026017189, 0.007532182615250349, 0.0115661034360528, 0.0008335411548614502, 0.03299160674214363, -0.01706680655479431, -0.017172031104564667, 0.008909826166927814, -0.017000332474708557, -0.025414876639842987, -0.06149706616997719, 0.06265264004468918, 0.023915542289614677, 0.00840007234364748, -0.04004655405879021, 0.023058580234646797, -0.03983340039849281, 0.013879361562430859, 0.013019291684031487, -0.008446292020380497, -0.08788701146841049, 0.02443968504667282, -0.026646699756383896, -0.03297863528132439, -0.011364134959876537, 0.018474629148840904, 0.020017316564917564, -0.06777909398078918, 0.025500832125544548, -0.033680547028779984, -0.00964959617704153, -0.007503568660467863, -0.007038518786430359, 0.041542112827301025, 0.03984472155570984, -0.041165050119161606, 0.00003316291986266151, 0.04696611315011978, -0.04291252791881561, -0.004326935857534409, 0.0004354867269285023, 0.007271818351000547, -0.0048602065071463585, -0.009895756840705872, 0.025016676634550095, -0.052373964339494705, -0.007441549561917782, 0.03750099614262581, -0.0045118676498532295, 0.05838602036237717, -0.041024018079042435, 0.002009261166676879, 0.009744253009557724, 0.0031639907974749804, 0.01762276515364647, -0.03339489921927452, -0.0017749526305124164, -0.016879180446267128, -0.058960266411304474, 0.05303163453936577, 0.04981182515621185, -0.04389980435371399, -0.007590116001665592, 0.026685887947678566, 0.008304205723106861, -0.015489025041460991, 0.004458265379071236, -0.027529548853635788, 0.003105861833319068, 0.0010663843713700771, -0.03638400137424469, 0.03434748202562332, -0.013176028616726398, -0.002541915513575077, -0.08142415434122086, -0.01768806204199791, -0.02521815523505211, 0.016799336299300194, 0.006364073604345322, 0.017054757103323936, -0.02373344823718071, 0.02740289457142353, -0.012789593078196049, 0.015316791832447052, -0.06712698936462402, 0.07284360378980637, -0.010681181214749813, -0.04783801734447479, 0.009391557425260544, 0.007822811603546143, 0.058686140924692154, 0.046840500086545944, -0.03395405039191246, 0.08071748912334442, -0.03715287521481514, 0.04825564846396446, -0.024718603119254112, 0.03506923466920853, -0.0327807292342186, -0.07647668570280075, -0.007512251380831003, 0.06221756339073181, 0.02248438447713852, 0.01508327852934599, -0.038253843784332275, -0.03093436360359192, -0.003771094372496009, 0.0005423323018476367, 0.07110755145549774, 0.043363962322473526, -0.018753843382000923, -0.04035492241382599, 0.014995495788753033, 0.0017962951678782701, 0.047531671822071075, -0.006660550832748413, 0.015151413157582283, -0.05521086975932121, -0.04351700842380524, 0.005801009014248848, 0.01879640854895115, 0.010361811146140099, 0.014835814945399761, -0.03834902495145798, 0.02237704209983349, 0.07971739023923874, 0.03871564939618111, -0.007763156201690435, -0.022630827501416206, -0.020938638597726822, 0.03388673812150955, 0.025413857772946358, 0.02697376161813736, 0.059138599783182144, -0.006267900113016367, 0.0016835294663906097, -0.01712805964052677, 0.0229472778737545, 0.010553378611803055, -0.013355063274502754, -0.05468516796827316, -0.03880583494901657, 0.059793028980493546, -0.059225328266620636, 0.004301880951970816, 0.0372178889811039, 0.060683950781822205, 0.04922838509082794, 0.041020460426807404, -0.0011053438065573573, -0.06950654089450836, 0.033225927501916885, -0.005320119205862284, 0.0301622673869133, 0.025257695466279984, -0.02522723376750946, 0.05774180218577385, 0.03015807457268238, 0.0016728510381653905, 0.028450053185224533, -0.06931014358997345, -0.10645577311515808, -0.018586622551083565, -0.016352759674191475, 0.04927773401141167, -0.004928130190819502, -0.004688068758696318, 0.05408596992492676, 0.029071785509586334, 0.03442040830850601, 0.022403448820114136, -0.003622835036367178, 0.01649129018187523, -0.05554613843560219, -0.07302156090736389, 0.06016138195991516, 0.0250050388276577, 0.007515395991504192, -0.040540069341659546, 0.0012263675453141332, -0.019277986139059067, -0.007990769110620022, 0.0332815982401371, -0.011970307677984238, 0.05904436856508255, 0.009904935024678707, 0.03659750521183014, -0.021073266863822937, 0.04838664457201958, -0.031604476273059845, 0.04009120166301727, -0.0018930912483483553, -0.01920638233423233, -0.0037068212404847145, 0.00840201135724783, 0.1196063756942749, 0.045122358947992325, -0.04847226291894913, -0.04515469819307327, 0.06471513956785202, 0.031804878264665604, -0.050361067056655884, 0.0032981503754854202, 0.001368214376270771, -0.0015553234843537211, 0.028950748965144157, -0.053550995886325836, -0.01615210250020027, -0.006610377226024866, -0.04908265173435211, -0.006606008391827345, 0.05189831554889679, -0.053089190274477005, 0.06827913969755173, 0.013196096755564213, -0.024254364892840385, 0.00026882148813456297, -0.0388263538479805, -0.08166545629501343, 0.010719440877437592, 0.009364518336951733, -0.01552074495702982, 0.056917715817689896, -0.03373866528272629, -0.026479655876755714, -0.04152679815888405, -0.04577571153640747, 0.024760395288467407, 0.029408330097794533, 0.05354602262377739, -0.04957528039813042, 0.06844044476747513, -0.037994369864463806, 0.027259470894932747, -0.011279268190264702, -0.027783244848251343, -0.028110841289162636, 0.00900848489254713, -0.005664981435984373, 0.021637938916683197, 0.03815385326743126, -0.029514983296394348, 0.006664238404482603, -0.0016671934863552451, 0.01547467801719904, -0.00974295474588871, 0.03579619154334068, -0.009639001451432705, 0.021014807745814323, -0.02456706017255783, -0.0030175396241247654, 0.04063966125249863, -0.023820720613002777, -0.019850213080644608, 0.028713982552289963, -0.06793975830078125, 0.019607191905379295, -0.11174915730953217, -0.047878850251436234, -0.026491038501262665, 0.019160417839884758, 0.03418216481804848, 0.04208087921142578, 0.014484737999737263, 0.04153449833393097, 0.0166991725564003, 0.022449202835559845, 0.023974046111106873, 0.027733081951737404, 0.01856686919927597, 0.002452064072713256, 0.018698260188102722, -0.0016405674396082759, -0.010736236348748207, -0.01063856203109026, -0.06617072224617004, 0.013281007297337055, -0.0672115907073021, -0.2819753885269165, 0.03846907615661621, 0.035752031952142715, -0.028442472219467163, 0.03749511390924454, -0.03616886958479881, 0.009068590588867664, -0.03623035177588463, -0.011194135062396526, 0.014037402346730232, -0.0227739829570055, -0.03646228834986687, -0.003218953963369131, 0.050527174025774, -0.00493166409432888, 0.0202222540974617, 0.017248917371034622, -0.040292833000421524, 0.00896901823580265, -0.01591564156115055, -0.03312971442937851, -0.037735264748334885, 0.008526968769729137, 0.012761024758219719, 0.0398600772023201, 0.08185640722513199, -0.07806610316038132, 0.05522620677947998, -0.060725994408130646, -0.02967163175344467, -0.0071003129705786705, -0.01577679067850113, -0.006213924381881952, -0.0000058285454542783555, -0.002391047077253461, -0.01054417621344328, 0.040945764631032944, 0.008625796064734459, 0.03713856264948845, -0.011560910381376743, -0.04104171693325043, -0.043073706328868866, -0.004768215119838715, 0.005475112237036228, 0.0675511434674263, 0.002150807762518525, -0.08317523449659348, -0.016629669815301895, -0.030293868854641914, 0.05972755700349808, -0.01554651465266943, -0.016988210380077362, 0.0010619241511449218, 0.031494900584220886, -0.005573005881160498, -0.001870336476713419, -0.012475532479584217, -0.005047350190579891, -0.04238776117563248, -0.02788560837507248, -0.003609771840274334, -0.052262138575315475, -0.03308399021625519, -0.0733470693230629, 0.014010131359100342, -0.04087145999073982, -0.07112985104322433, -0.021446850150823593, 0.07113291323184967, -0.01808328367769718, -0.04461042582988739, -0.01855396293103695, 0.025366967543959618, -0.1057668924331665, -0.0019706208258867264, -0.03967810794711113, -0.057261813431978226, -0.025813084095716476, 0.013950136490166187, 0.03458169102668762, -0.03289481997489929, -0.04352559521794319, 0.01948542147874832, -0.0056273615919053555, 0.0037410135846585035, 0.014257490634918213, 0.024155473336577415, 0.006704558152705431, -0.015143266879022121, 0.024218806996941566, 0.0695856362581253, -0.007029317319393158, -0.013785060495138168, -0.04598817229270935, 0.023767787963151932, 0.01677987538278103, 0.0031246901489794254, 0.0047293854877352715, 0.012875832617282867, 0.041812680661678314, 0.0139983044937253, -0.06211071461439133, 0.036136217415332794, -0.008920135907828808, 0.013501135632395744, 0.002968679880723357, -0.044652801007032394, 0.020451124757528305, 0.05290974676609039, 0.036712776869535446, 0.011993557214736938, -0.025839628651738167, 0.018360940739512444, -0.0695757195353508, -0.045614875853061676, 0.02598893828690052, 0.009253441356122494, 0.03818148374557495, 0.015673888847231865, 0.0037559045013040304, -0.0435090996325016, 0.023175811395049095, 0.024635447189211845, -0.012387093156576157, -0.0410296805202961, -0.015854330733418465, 0.016407974064350128, 0.0031704818829894066, 0.019849132746458054, 0.026712993159890175, 0.0002528793993405998, 0.021630248054862022, 0.038613028824329376, -0.05511808767914772, 0.01660437136888504, 0.026164066046476364, -0.04762504622340202, -0.03733896091580391, 0.021371057257056236, 0.0030276814941316843, -0.03235483169555664, 0.0023145009763538837, 0.02161227911710739, 0.0022320598363876343, 0.05174657702445984, -0.0012224469101056457, 0.0526847206056118, -0.031197095289826393, 0.044186048209667206, -0.018782200291752815, 0.018049970269203186, -0.05468669533729553, -0.016872340813279152, -0.03412345424294472, -0.021599799394607544, -0.023021552711725235, 0.020872794091701508, -0.02548571489751339, -0.05246744304895401, -0.027750153094530106, 0.03227284178137779, -0.07203516364097595, -0.00531046325340867, -0.01787993125617504, 0.0031802505254745483, 0.04861028492450714, 0.010358861647546291, 0.02964170277118683, -0.028809929266572, 0.013608330860733986, 0.0105338916182518, 0.036426249891519547, -0.045669469982385635, 0.023690735921263695, 0.0006066549103707075, 0.000307791109662503, 0.019277377054095268, 0.021065251901745796, 0.06035556644201279, 0.015554177574813366, 0.006368668749928474, -0.004942458122968674, -0.005677924025803804, 0.01673109084367752, 0.03425073251128197, 0.012722762301564217, -0.02845420315861702, -0.0027490712236613035, -0.007760941516608, -0.030694756656885147, -0.02191917970776558, -0.008660194464027882, -0.03341323509812355, 0.013571439310908318, -0.0020884484983980656, -0.07411839067935944, 0.046012040227651596, -0.007696333806961775, 0.032322850078344345, 0.011539493687450886, -0.0063659450970590115, -0.00725199980661273, -0.026805231347680092, 0.026996975764632225, 0.0597759410738945, -0.041751254349946976, -0.004374288488179445, -0.0030820327810943127, 0.012117063626646996, 0.005973844323307276, 0.02068139798939228, -0.03812071308493614, -0.04231634363532066, 0.008474143221974373, 0.027798572555184364, -0.0850948840379715, -0.06315276771783829, -0.03221945837140083, -0.009072222746908665, -0.008701498620212078, 0.021602461114525795, 0.00045322428923100233, 0.006489843130111694, -0.010755231603980064, -0.04476677626371384, 0.006221202202141285, -0.027208145707845688, 0.006468008738011122, 0.005545654334127903, -0.03272441774606705, -0.014117773622274399, -0.019153563305735588, 0.027628988027572632, 0.01807110197842121, -0.004798039328306913, -0.020343419164419174, -0.052843768149614334, -0.007808701600879431, -0.02998209372162819, 0.024742987006902695, -0.01503295823931694, 0.008072184398770332, -0.028896648436784744, -0.009000306949019432, -0.034005459398031235, -0.004224737640470266, -0.019103720784187317, -0.015195978805422783, 0.029535511508584023, 0.03954128175973892, 0.011932780034840107, 0.01479479018598795, -0.017496149986982346, -0.018426720052957535, 0.04336639121174812, -0.05722454562783241, -0.03140690550208092, -0.021485427394509315, -0.05482247844338417, 0.0100853331387043, 0.004685652907937765, -0.004894525744020939, -0.023693623021245003, 0.031696874648332596, 0.047530438750982285, 0.02161828801035881, 0.028572039678692818, -0.017729194834828377, 0.01596500724554062, -0.04891356825828552, -0.0025483714416623116, -0.06807267665863037, 0.01775309443473816, 0.005727228708565235, 0.0033169796224683523, -0.012483960017561913, 0.008587979711592197, -0.04205591604113579, 0.04351489618420601, -0.05784023925662041, -0.02555053122341633, 0.054901041090488434, -0.01191561110317707, -0.02228785865008831, -0.0027780530508607626, -0.0697336420416832, 0.02582281082868576, 0.005803485866636038, -0.043341346085071564, 0.0006892863311804831, 0.01524475309997797, 0.04769133776426315, -0.015033830888569355, 0.023722432553768158, -0.028389355167746544, -0.028645101934671402, 0.07512065023183823, 0.02801372855901718, -0.010562136769294739, 0.05057511478662491, -0.02533058449625969, 0.033533208072185516, 0.00502225523814559, 0.005060839466750622, 0.00020266248611733317, 0.030122822150588036, -0.017448782920837402, -0.04476850479841232, -0.002036949386820197, -0.004406131338328123, -0.014148399233818054, -0.03593168407678604, 0.06338076293468475, 0.026748623698949814, -0.031091617420315742, -0.06396924704313278, 0.026785582304000854, -0.05149424821138382, -0.0024349833838641644, -0.01551164872944355, 0.008764347061514854, -0.07954978942871094, 0.052648141980171204, 0.006591963581740856, 0.02732960321009159, 0.07629132270812988, 0.009806030429899693, -0.005635347682982683, 0.01737176813185215, 0.06648223847150803, 0.08227688819169998, 0.05878565087914467, 0.005098134744912386, 0.04455645754933357, -0.017161894589662552, -0.0347762331366539, -0.0034051393158733845, -0.011610206216573715, -0.01848990097641945, -0.014144176617264748, 0.017298026010394096, 0.08198393881320953, -0.009943366050720215, 0.06835056841373444, -0.012352243065834045, -0.014809762127697468, 0.011133077554404736, 0.038892537355422974, 0.017388511449098587, 0.06860611587762833, 0.016739070415496826, 0.02696193940937519, -0.009569519199430943, -0.034625425934791565, 0.0020309521351009607, -0.014845839701592922, -0.019071508198976517, 0.04485899582505226, -0.010731733404099941, 0.02764946222305298, 0.023077117279171944, 0.030246928334236145, 0.06786137819290161, -0.03236626833677292, 0.013974670320749283, -0.007681043818593025, 0.02823023311793804, -0.018336765468120575, 0.014388227835297585, -0.02503153309226036, -0.0028738207183778286, -0.010100623592734337, -0.04640909656882286, -0.04198848828673363, 0.0047882054932415485, -0.009572146460413933, 0.03659159690141678, -0.03432149812579155, 0.030764920637011528, 0.025127118453383446, 0.012512930668890476, -0.02418968454003334, -0.035151056945323944, -0.06884288787841797, -0.04827866703271866, -0.041718482971191406, -0.012972830794751644, 0.01960129663348198, -0.004169436637312174, -0.008848103694617748, -0.01400055456906557, -0.006866324692964554, -0.02811303734779358, 0.06075331196188927, -0.052814025431871414, -0.017253298312425613, -0.004317090380936861, 0.03145026043057442, 0.005584028549492359, 0.00531966146081686, 0.06119946762919426, 0.005194141995161772, -0.005987133365124464, -0.007445394992828369, 0.017163483425974846, 0.02062472142279148, -0.01635906659066677, -0.01209950726479292, -0.05527223274111748, 0.027993958443403244, 0.03034532442688942, -0.011217206716537476, -0.0635950043797493, 0.01300628948956728, 0.01828758418560028, -0.023396918550133705, 0.04894223064184189, -0.03218306228518486, 0.02465675212442875, -0.018705101683735847, -0.006692181807011366, -0.013325213454663754, -0.0037044344935566187, 0.04878459870815277, -0.005627837963402271, 0.09384411573410034, 0.0533045157790184, -0.007846488617360592, -0.036911338567733765, 0.009708224795758724, -0.01550243329256773, 0.0001513803581474349, -0.043979015201330185, -0.015207435004413128, -0.0451633594930172, -0.08061829209327698, -0.037181735038757324, -0.00006587678944924846, -0.015137684531509876, -0.04962334409356117, 0.012333016842603683, 0.0044432226568460464, -0.03179086744785309, -0.013486521318554878, -0.022524796426296234, 0.023300185799598694, -0.03567393124103546, -0.009710260666906834, 0.022068368270993233, 0.03278973698616028, -0.013486944139003754, -0.01928449608385563, 0.035259656608104706, -0.02912161685526371, 0.004191390238702297, -0.01558095682412386, 0.05222557857632637, 0.03942776098847389, 0.03339642658829689, 0.005093693267554045 ]
[ -0.06606137752532959, -0.02800869010388851, 0.020784204825758934, -0.046628717333078384, 0.055138710886240005, -0.040999773889780045, 0.00417065666988492, -0.02557184174656868, -0.017228487879037857, -0.026720305904746056, 0.008488400839269161, -0.031015491113066673, 0.031419526785612106, -0.009557361714541912, 0.06814587116241455, -0.004136916249990463, -0.015185665339231491, -0.03758163005113602, 0.009751536883413792, 0.014296731911599636, 0.017443982884287834, -0.03011297434568405, -0.04830740764737129, -0.04708533361554146, -0.0238613523542881, 0.037142783403396606, 0.02661522477865219, 0.004313099663704634, 0.014673575758934021, -0.19171085953712463, 0.018256504088640213, -0.016925262287259102, -0.0022796313278377056, 0.005953057669103146, 0.031609609723091125, 0.04581434652209282, 0.04462061822414398, -0.009360822848975658, -0.03200855478644371, 0.05113091692328453, 0.04493987187743187, 0.003799061756581068, -0.04490065202116966, -0.04213118553161621, 0.022632498294115067, -0.008946382440626621, -0.005885765887796879, -0.02365148440003395, -0.04209336265921593, -0.009266475215554237, -0.019216731190681458, 0.004752184730023146, -0.02829900197684765, 0.011627990752458572, -0.023840783163905144, 0.020853692665696144, 0.050355441868305206, 0.11342597752809525, -0.0023380215279757977, -0.015590920113027096, 0.027266087010502815, -0.02108011208474636, -0.15010248124599457, 0.08285960555076599, 0.054225046187639236, 0.05309996381402016, -0.07964611798524857, -0.07694822549819946, -0.050424519926309586, 0.07422338426113129, -0.017644623294472694, -0.018087195232510567, -0.02296004258096218, 0.06321198493242264, 0.005188971292227507, -0.017065204679965973, -0.03066282346844673, 0.056326400488615036, 0.039791226387023926, -0.05869080871343613, -0.013986417092382908, -0.01149384118616581, -0.04160454496741295, 0.019289344549179077, -0.041909102350473404, 0.03455157205462456, 0.012705175206065178, 0.07668989896774292, 0.05713269114494324, 0.030160900205373764, 0.017679080367088318, -0.015218641608953476, 0.05949438735842705, -0.0005957448156550527, -0.03270408883690834, 0.049202993512153625, 0.0013244568835943937, 0.0020072031766176224, -0.033434804528951645, 0.4292886257171631, 0.00996366236358881, -0.02734825573861599, 0.052334755659103394, 0.03712739422917366, -0.0005149540374986827, 0.0204690583050251, -0.010385844856500626, 0.006720728240907192, 0.015438896603882313, -0.016244864091277122, 0.011184168048202991, 0.001194878132082522, 0.05786722153425217, -0.07292066514492035, -0.007346889935433865, 0.004552207421511412, 0.010985815897583961, 0.04543818533420563, -0.004351533949375153, -0.02026919648051262, 0.02005186676979065, -0.003116205334663391, 0.008146822452545166, 0.024042513221502304, 0.010223092511296272, -0.007109674159437418, 0.05702722817659378, 0.038143932819366455, 0.016681930050253868, -0.003479407634586096, 0.04386456683278084, -0.06181960180401802, -0.04237193241715431, 0.021988416090607643, 0.018253477290272713, 0.038082510232925415, 0.0321805514395237, -0.023153701797127724, -0.013405789621174335, 0.05110800266265869, 0.018417594954371452, -0.005557782482355833, 0.03974749520421028, -0.021276330575346947, -0.006561890710145235, 0.114686518907547, 0.008483556099236012, -0.012448228895664215, -0.06949727237224579, -0.05590474233031273, -0.045709263533353806, 0.03875298798084259, 0.012728847563266754, -0.051885586231946945, -0.005192564334720373, 0.03131101280450821, 0.037950173020362854, 0.0005103308358229697, -0.05836449936032295, -0.005870805121958256, 0.002768539125099778, -0.038362547755241394, -0.031652212142944336, 0.03173540160059929, 0.03337674215435982, -0.11554873734712601, -0.040919896215200424, 0.02977180667221546, 0.057289980351924896, -0.036689866334199905, -0.045744799077510834, 0.010291539132595062, 0.0020238151773810387, -0.03795237839221954, 0.0075494516640901566, -0.05195218324661255, -0.03328850492835045, 0.05672287568449974, 0.012469440698623657, 0.022132351994514465, -0.00842298287898302, -0.006604514550417662, -0.024554550647735596, -0.019178356975317, -0.044088948518037796, -0.10044702887535095, -0.05715705826878548, 0.0033088368363678455, -0.046023935079574585, 0.011484756134450436, -0.03371771052479744, -0.028054939582943916, -0.04229255020618439, 0.06358139961957932, 0.01420842669904232, -0.004246272146701813, 0.03174151852726936, -0.004698693752288818, 0.007462102919816971, -0.03762223944067955, -0.014497836120426655, 0.06014835089445114, -0.02342252992093563, 0.021781446412205696, -0.08939572423696518, 0.03566710650920868, 0.0247622262686491, -0.0476580448448658, 0.05871027335524559, 0.06630109250545502, -0.051630232483148575, -0.016723962500691414, -0.033663488924503326, 0.029705284163355827, -0.0200934037566185, -0.01280959416180849, -0.04190439730882645, 0.02259943075478077, 0.047847554087638855, 0.014107312075793743, -0.029998522251844406, 0.02454964444041252, -0.03294353932142258, -0.3643530309200287, -0.034680891782045364, -0.03746020421385765, 0.015279972925782204, 0.017974289134144783, -0.035709355026483536, 0.0034606417175382376, -0.004427124746143818, -0.00898160319775343, -0.01863945461809635, 0.10524585843086243, -0.019368059933185577, 0.048607710748910904, -0.04644911363720894, 0.0011145295575261116, 0.022378303110599518, -0.03083651140332222, -0.003826945787295699, -0.04750707745552063, 0.02010399103164673, -0.008990323171019554, -0.035948969423770905, -0.03246917575597763, -0.0707935094833374, 0.005695892032235861, -0.04236457124352455, 0.09477779269218445, -0.04181492328643799, 0.11129346489906311, -0.05075078830122948, 0.042850326746702194, 0.029002400115132332, -0.0032538441009819508, -0.09805267304182053, 0.006824895273894072, 0.0017890726448968053, 0.02023644931614399, 0.009206714108586311, 0.013997344300150871, -0.032483428716659546, -0.08262380957603455, 0.011723684147000313, -0.07477002590894699, -0.016644537448883057, -0.012016437947750092, -0.024167587980628014, -0.013124914839863777, -0.001897640060633421, -0.041151389479637146, 0.04527432844042778, 0.009267228655517101, 0.013320524245500565, 0.0086776502430439, 0.0034055958967655897, 0.004103334154933691, -0.002644296269863844, -0.01625463366508484, -0.010819093324244022, 0.018724722787737846, 0.039059530943632126, 0.06272201985120773, 0.05111052840948105, 0.04238487035036087, -0.038557540625333786, 0.013436301611363888, -0.03275449201464653, 0.013191230595111847, -0.011531967669725418, 0.060522619634866714, -0.030780266970396042, -0.03507744148373604, 0.09224808216094971, 0.01914980821311474, 0.005828004330396652, 0.020749295130372047, -0.0064744302071630955, -0.011805395595729351, 0.032481707632541656, 0.022177517414093018, -0.007162078749388456, 0.04517664387822151, -0.031041976064443588, 0.0285838320851326, -0.01934167556464672, 0.019485820084810257, 0.05317528918385506, -0.01886182650923729, -0.051359426230192184, 0.053017809987068176, 0.011326909065246582, -0.01762799173593521, -0.010086855851113796, -0.03175343945622444, -0.07060027122497559, 0.07972655445337296, 0.0160010177642107, -0.2529921233654022, 0.028413480147719383, 0.059767160564661026, 0.04516837000846863, -0.008146549575030804, -0.030619340017437935, 0.008276636712253094, -0.026199690997600555, 0.00996990967541933, 0.009226365946233273, 0.010907053016126156, -0.0069495332427322865, -0.01983855478465557, 0.007840726524591446, 0.025211144238710403, 0.026563936844468117, 0.08286391198635101, 0.0010163767728954554, 0.002168338978663087, -0.029868025332689285, 0.01964518055319786, -0.004401535261422396, 0.15952150523662567, 0.04552594944834709, 0.02047673426568508, 0.013953187502920628, -0.011920311488211155, 0.04700586572289467, 0.044039998203516006, 0.02230866812169552, 0.004653108771890402, -0.024190586060285568, 0.0028809874784201384, -0.02140093594789505, 0.03320115804672241, -0.04964836686849594, 0.0006364695727825165, 0.0077915736474096775, 0.026364238932728767, -0.0016047685639932752, -0.013580277562141418, 0.0016417814185842872, -0.005738184787333012, 0.03552868962287903, 0.0550004318356514, -0.03532185032963753, 0.01711786352097988, -0.025095205754041672, -0.004043913446366787, -0.019776495173573494, -0.04310663789510727, -0.03130650892853737, -0.0019180621020495892, -0.026489580050110817, 0.024772362783551216, 0.06993836164474487, 0.0214834026992321, -0.05044053867459297, -0.005073086358606815, 0.01783432997763157, 0.022009102627635002, -0.06704208999872208, 0.10160583257675171, 0.01305919699370861, 0.02755691669881344 ]
[ 0.01621539331972599, 0.04211808368563652, 0.009516885504126549, 0.0013384369667619467, 0.009522718377411366, -0.03288707509636879, -0.01524707768112421, -0.013071787543594837, -0.031413156539201736, 0.007796481717377901, -0.027340563014149666, 0.005263849161565304, 0.046969033777713776, 0.004354038275778294, -0.016009824350476265, -0.007326074875891209, 0.031673967838287354, 0.020124292001128197, 0.04396344721317291, -0.038038089871406555, -0.03553684428334236, 0.0025742598809301853, 0.022691000252962112, -0.02141895703971386, -0.009788856841623783, -0.03921827673912048, -0.030870357528328896, 0.07755549252033234, -0.0015679184580221772, -0.13294655084609985, -0.039586473256349564, -0.005607109051197767, -0.0453241728246212, 0.010642483830451965, 0.03989919275045395, 0.008839840069413185, 0.011522349901497364, 0.03038875199854374, -0.019948685541749, 0.005320516414940357, 0.09025905281305313, -0.02095215581357479, -0.011769453063607216, -0.022629564628005028, 0.025295838713645935, 0.001747359405271709, -0.03338979184627533, -0.011970460414886475, 0.012251272797584534, -0.021258912980556488, -0.030985794961452484, -0.031638003885746, 0.04566702991724014, -0.002907211659476161, 0.001080979942344129, -0.017325332388281822, 0.03323996067047119, -0.03422102704644203, 0.025592593476176262, -0.008861781097948551, 0.029973577708005905, 0.020385457202792168, -0.031543292105197906, -0.02626957930624485, -0.014935859479010105, -0.024756578728556633, 0.0001166106594610028, 0.026341546326875687, -0.010684213601052761, 0.0038819038309156895, -0.04289425536990166, 0.030925076454877853, 0.0029354661237448454, -0.028134681284427643, -0.0025707671884447336, 0.024752024561166763, 0.03486369550228119, -0.021587777882814407, -0.014103186316788197, 0.013802015222609043, -0.04810401052236557, 0.01132312323898077, -0.03974130004644394, -0.025599664077162743, -0.04726924002170563, -0.006174047943204641, 0.018490919843316078, -0.0267335195094347, 0.02440924197435379, 0.0197529885917902, -0.02722317725419998, -0.028826197609305382, -0.028552871197462082, -0.0030080117285251617, -0.08095717430114746, 0.000665057566948235, 0.017925087362527847, 0.003107295837253332, 0.020496895536780357, 0.8035500645637512, -0.0017283885972574353, -0.009547986090183258, 0.03279596567153931, 0.010321724228560925, -0.0007916647591628134, 0.013066758401691914, 0.013670466840267181, 0.028664035722613335, -0.01916494593024254, -0.06789476424455643, -0.022888848558068275, 0.02571128122508526, 0.004427128471434116, 0.005903810728341341, 0.01804712601006031, 0.002084479434415698, 0.021476898342370987, 0.009538887068629265, -0.023698490113019943, -0.0037623802199959755, 0.021450594067573547, -0.008080005645751953, 0.03844831511378288, 0.01703052967786789, -0.028931323438882828, -0.17460744082927704, 0.00022266304586082697, -7.209742521186863e-33, 0.04127372428774834, -0.047211989760398865, 0.021230973303318024, -0.008942902088165283, 0.0723630040884018, -0.014857941307127476, -0.009446964599192142, 0.000139593132189475, -0.005225650500506163, -0.01599915325641632, -0.009449739940464497, -0.030075155198574066, 0.01261946652084589, -0.0531020313501358, 0.008169456385076046, -0.05422413721680641, 0.005463212728500366, 0.0624038390815258, 0.010668293572962284, 0.041876763105392456, 0.0007616287912242115, -0.002196596935391426, -0.03525227680802345, 0.023107513785362244, 0.05230405926704407, -0.0034018175210803747, 0.0440223403275013, -0.01917877607047558, 0.013031610287725925, -0.03388446941971779, 0.010789798572659492, 0.05549953877925873, 0.031094951555132866, -0.01594037376344204, -0.0025014171842485666, -0.048123303800821304, -0.013910800218582153, 0.0036823847331106663, -0.013151685707271099, -0.03949657455086708, -0.02865244820713997, -0.006619295105338097, 0.019777407869696617, 0.013953703455626965, -0.03171250969171524, 0.0211776252835989, 0.026006685569882393, 0.050135478377342224, 0.013665237464010715, 0.007489859126508236, 0.015662740916013718, -0.001382748712785542, 0.02827100269496441, -0.008273250423371792, 0.030825505033135414, 0.01838182471692562, 0.037536002695560455, -0.0073857614770531654, 0.01655462756752968, -0.002760326024144888, -0.039087340235710144, 0.014653263613581657, -0.04868714511394501, 0.02621479332447052, 0.011328251101076603, -0.02962486818432808, 0.046350590884685516, 0.007923636585474014, -0.02236154116690159, -0.015078818425536156, -0.06079187989234924, -0.01760721392929554, -0.029154499992728233, 0.003188298549503088, 0.03830581158399582, -0.03307448700070381, 0.0009301359532400966, -0.008988290093839169, 0.00007659783295821398, 0.031889546662569046, 0.020976059138774872, 0.049978066235780716, -0.09606492519378662, -0.008629413321614265, -0.031245363876223564, -0.00657257903367281, 0.012614491395652294, -0.009849208407104015, 0.0021064921747893095, 0.03164249658584595, 0.028775982558727264, 0.004522340837866068, -0.01659321039915085, -0.02367534674704075, -0.05692460387945175, 7.756515636948188e-33, 0.012085061520338058, 0.0006957279983907938, -0.0502934604883194, 0.007036120165139437, -0.008054204285144806, -0.026808058843016624, 0.037139445543289185, 0.00828546192497015, -0.037225719541311264, 0.008350387215614319, -0.019559990614652634, -0.004477655980736017, -0.046107418835163116, 0.013219070620834827, 0.019844776019454002, -0.02433152124285698, 0.03946162760257721, -0.030796293169260025, 0.029668636620044708, 0.020299002528190613, 0.008080389350652695, 0.0036659527104347944, 0.013342014513909817, -0.008136865682899952, 0.006173617206513882, 0.07993859797716141, -0.009536650031805038, 0.06398773938417435, -0.02555202692747116, -0.02028452418744564, 0.003853495931252837, -0.01650836132466793, 0.02720259688794613, 0.021622851490974426, -0.03994416072964668, 0.013713520020246506, 0.024867134168744087, 0.020784784108400345, 0.020211853086948395, -0.01796712540090084, 0.0532216876745224, 0.001517465803772211, -0.026470741257071495, 0.01603868417441845, -0.0008315438171848655, 0.03848104178905487, -0.0019444561330601573, 0.012877272441983223, -0.015279017388820648, 0.0005400980007834733, -0.010300811380147934, 0.00873523484915495, -0.0244417916983366, -0.03545954450964928, 0.018468527123332024, -0.020118793472647667, -0.05237618833780289, 0.01386967208236456, -0.019866911694407463, 0.025011517107486725, 0.04787075147032738, -0.012067189440131187, -0.007936911657452583, 0.04880930855870247, -0.04213833436369896, 0.012336665764451027, 0.011274954304099083, -0.01695205643773079, 0.01250129658728838, -0.01110046822577715, -0.015414565801620483, 0.025373859331011772, -0.03068391978740692, 0.04128851369023323, 0.010484769009053707, -0.029721006751060486, -0.0344015508890152, -0.0073838611133396626, -0.0021270012948662043, 0.03213251754641533, -0.053315743803977966, 0.014781436882913113, -0.042091310024261475, -0.0065265437588095665, 0.01587727479636669, 0.02440858818590641, -0.01726391538977623, 0.07460340857505798, 0.05297641083598137, -0.005970680620521307, 0.022770002484321594, -0.03917964547872543, -0.036571018397808075, 0.011900913901627064, -0.05664447322487831, -1.2742481736438549e-8, 0.0461408868432045, -0.01115475781261921, 0.032962165772914886, 0.01875288598239422, -0.022789092734456062, -0.015607285313308239, 0.020993759855628014, -0.031053852289915085, 0.02175464667379856, 0.024614516645669937, 0.001523152575828135, 0.00760515034198761, 0.012560280971229076, 0.03654004633426666, 0.01590513437986374, -0.02680531144142151, 0.029850592836737633, -0.011184332892298698, 0.014378734864294529, -0.02562393620610237, 0.012288901954889297, 0.03443595767021179, -0.02540421113371849, 0.027631329372525215, 0.01553308591246605, 0.01886405237019062, 0.005311142653226852, -0.08586907386779785, -0.015742767602205276, 0.01503128930926323, 0.006415107287466526, -0.028159065172076225, -0.03609644994139671, 0.018252311274409294, -0.015131039544939995, -0.01804611086845398, -0.010868453420698643, 0.009452618658542633, 0.050597820430994034, 0.02026550844311714, -0.05723622068762779, -0.00130797503516078, 0.008843026123940945, -0.01948237605392933, -0.025598449632525444, 0.0084598483517766, -0.040067221969366074, 0.03331490606069565, 0.010096286423504353, -0.06031972914934158, 0.019679425284266472, -0.015138871967792511, 0.033885300159454346, 0.015516819432377815, -0.00014146884495858103, 0.0028369752690196037, 0.03802977129817009, -0.03986933082342148, 0.009687751531600952, 0.027479371055960655, 0.03031184710562229, 0.013693500310182571, -0.028599785640835762, -0.008354540914297104 ]
environment-agnostic-machines-and-applications
https://markhneedham.com/blog/2012/10/14/environment-agnostic-machines-and-applications
false
2012-10-14 09:28:28
Play Framework 2.0: Rendering JSON data in the view
[ "software-development", "play" ]
[ "Software Development" ]
I've been playing around with the http://www.playframework.org/[Play Framework] which we're using to front a bunch of visualisations and one thing I wanted to do is send a data structure to a view and then convert that into JSON. I've got a simple controller which looks like this: [source,java] ---- package controllers; import play.mvc.Controller; import play.mvc.Result; import views.html.*; public class SalesByCategory extends Controller { public static Result index() { ArrayList<Map<String, Object>> series = new ArrayList<Map<String, Object>>(); Map<String, Object> oneSeries = new HashMap<String, Object>(); oneSeries.put("name", "awesome"); oneSeries.put("sales", calculateSales()); # would call a method elsewhere, implementation isn't important series.add(oneSeries); # I have a view named 'index.scala.html' return ok(index.render("Awesome visualisation", series)); } } ---- The top of the corresponding view looks like this: [source,html] ---- @(message: String)(series:List[Map[String, Object]]) ---- I'm using the GSON library to convert objects into JSON so I need to import that into the view: [source,html] ---- @import com.google.gson.Gson ---- I was initially struggling to work out what the syntax would be to call the GSON code from within the page but with a bit of trial and error realised that the following would do the trick: [source,html] ---- <script lang="text/javascript"> var series = @{new Gson().toJson(series)}; </script> ---- The problem with this version of the code was that the string was being escaped so I ended up with series having a value like this: [source,text] ---- [{&quot;name&quot;:&quot; #and so on! ---- I needed to tell Play not to escape this string which in Play v1 was done by calling 'raw()' on the string but http://stackoverflow.com/questions/10326050/getting-a-raw-string-back-for-use-in-javascript-in-play-framework-2-0[in Play v2 is done using the 'Html' method]: [source,html] ---- <script lang="text/javascript"> var series = @{Html(new Gson().toJson(series))}; </script> ---- And now the JSON renders beautifully!
null
null
[ -0.03334033489227295, -0.02968251146376133, 0.01659940741956234, 0.020138239488005638, 0.046993471682071686, -0.008387278765439987, 0.03799843415617943, 0.016229910776019096, 0.012390406802296638, -0.02647973783314228, -0.00005918780152569525, -0.02209644950926304, -0.08656347543001175, 0.03596904128789902, -0.028458043932914734, 0.07608906924724579, 0.07305820286273956, -0.016157448291778564, 0.009082536213099957, 0.01151930633932352, 0.01707877218723297, 0.08287184685468674, 0.0037105106748640537, 0.0748007521033287, 0.027551596984267235, -0.0024082481395453215, 0.011241945438086987, 0.027811583131551743, -0.041856251657009125, -0.016593027859926224, 0.02628472074866295, 0.004993733949959278, -0.0034511114936321974, -0.005121733993291855, -0.024267258122563362, -0.04109792783856392, -0.022785723209381104, 0.006324728485196829, 0.0021672318689525127, 0.03408678621053696, -0.04377879947423935, 0.007176678627729416, -0.00709993252530694, 0.012292547151446342, 0.006949702277779579, 0.004039466381072998, -0.04543619230389595, 0.020936021581292152, -0.03225068747997284, -0.00045879973913542926, -0.03611769527196884, 0.03232000768184662, -0.02954661287367344, 0.009526343084871769, 0.009532592259347439, 0.04661606252193451, 0.020904971286654472, -0.08346039801836014, 0.015561303123831749, -0.08332347869873047, 0.032357700169086456, -0.0008237790898419917, 0.01663065515458584, 0.020040543749928474, 0.0032666674815118313, 0.01451723463833332, -0.019829878583550453, 0.06929881870746613, -0.03339078649878502, -0.05438385158777237, 0.020284052938222885, 0.016690747812390327, -0.010868335142731667, -0.015595360659062862, 0.018189407885074615, -0.04309554398059845, 0.008863849565386772, 0.05881302431225777, -0.005434035323560238, 0.03791883587837219, -0.023083535954356194, 0.0044447267428040504, 0.011288858018815517, 0.022218897938728333, 0.024119555950164795, -0.05424461141228676, -0.046063292771577835, 0.0037668002769351006, -0.027702635154128075, 0.05265757814049721, 0.007799237966537476, -0.018925072625279427, 0.023551205173134804, 0.016834238544106483, 0.018622538074851036, 0.0035482351668179035, 0.00418238528072834, 0.009131002239882946, -0.04312504455447197, 0.011146924458444118, -0.04378679394721985, 0.001847718609496951, 0.03628644347190857, -0.022043349221348763, -0.05604337155818939, -0.016693271696567535, -0.0020369812846183777, -0.0122719407081604, -0.0135126281529665, -0.004086608532816172, -0.044321123510599136, -0.013048142194747925, -0.007768648210912943, 0.013252762146294117, -0.02620241418480873, 0.06285758316516876, -0.008449931629002094, -0.02893385849893093, -0.026635712012648582, 0.07366649061441422, 0.07802461832761765, -0.0035346297081559896, -0.020254792645573616, 0.0838412418961525, 0.014600193127989769, 0.04811868444085121, -0.026110902428627014, 0.05222778394818306, 0.00974027719348669, -0.07963354885578156, 0.025544632226228714, 0.04094501957297325, 0.0096895145252347, 0.030993573367595673, 0.019342707470059395, -0.04022000730037689, 0.016861706972122192, -0.020424704998731613, 0.027438782155513763, 0.007336882408708334, -0.04383574053645134, -0.009276485070586205, -0.014391071163117886, -0.016595885157585144, 0.0401805117726326, 0.02041281759738922, -0.020513540133833885, -0.03728272393345833, -0.03544531390070915, 0.02927914820611477, -0.006998860742896795, 0.04502686485648155, 0.042173657566308975, -0.010751022957265377, -0.024726534262299538, 0.08440671861171722, 0.017251120880246162, 0.03952331468462944, -0.016773506999015808, 0.007841234095394611, 0.04221099615097046, -0.00020512646005954593, 0.010191010311245918, 0.024649273604154587, -0.0026223778259009123, -0.004335273988544941, 0.005841988138854504, 0.059373125433921814, -0.024418853223323822, -0.053316812962293625, -0.04958931356668472, -0.06854767352342606, 0.061103999614715576, -0.03887665644288063, -0.023478569462895393, 0.008305465802550316, 0.053571417927742004, 0.002244024770334363, 0.04990377277135849, 0.018659746274352074, -0.07061190158128738, -0.005136772058904171, 0.015246768482029438, -0.009350410662591457, 0.020785678178071976, -0.003070061793550849, 0.08397164940834045, 0.031611841171979904, 0.012084255926311016, 0.042457789182662964, -0.08139877021312714, -0.06428635120391846, -0.028079112991690636, 0.008867019787430763, 0.0394764170050621, -0.048036184161901474, -0.021686071529984474, 0.05885101109743118, 0.02935066446661949, 0.017810696735978127, 0.02584277093410492, -0.004642126616090536, 0.011771672405302525, -0.04118999093770981, -0.0012799451360478997, -0.0031040420290082693, 0.058777596801519394, -0.01940147578716278, -0.02650112845003605, 0.022446120157837868, -0.018914759159088135, -0.03278070315718651, 0.053177446126937866, -0.012283975258469582, 0.05545077100396156, 0.04761537164449692, 0.03268285468220711, -0.03248525410890579, 0.04503008350729942, -0.09511776268482208, 0.05298636853694916, 0.008949041366577148, -0.023996293544769287, -0.05416880175471306, -0.013765008188784122, 0.15031471848487854, 0.02797510102391243, 0.009130897931754589, -0.05175607651472092, 0.013595577329397202, -0.01632005348801613, -0.04088597744703293, 0.0007673187647014856, -0.01707695610821247, -0.014596760272979736, 0.003486169036477804, -0.024091850966215134, -0.006655788514763117, -0.01480468176305294, -0.016204193234443665, 0.019842250272631645, 0.08045031130313873, -0.03410255163908005, 0.02283434569835663, 0.020380917936563492, -0.011102898977696896, 0.0002540023997426033, -0.05426305904984474, -0.050995469093322754, -0.004700570832937956, 0.009284593164920807, -0.009552528150379658, 0.047346558421850204, -0.017457131296396255, -0.04695076867938042, -0.015541087836027145, -0.0527370348572731, -0.006498650182038546, 0.03187873587012291, 0.06269259005784988, -0.021528102457523346, 0.014896114356815815, -0.022212566807866096, -0.00032735036802478135, -0.034910477697849274, -0.04199272021651268, 0.00570600014179945, -0.0003969281679019332, 0.0021564001217484474, 0.034991923719644547, 0.03965332359075546, -0.009170493111014366, 0.002297205151990056, 0.02210935205221176, -0.012425847351551056, -0.00007676411041757092, 0.021797768771648407, -0.03649040684103966, -0.00896854791790247, -0.042242493480443954, 0.011549999937415123, 0.0394410640001297, -0.011865796521306038, -0.05679165571928024, 0.0004815972351934761, -0.09083899110555649, 0.05195938050746918, -0.031600479036569595, -0.02564551867544651, -0.00015419427654705942, 0.05349193513393402, 0.04544643685221672, -0.016986384987831116, 0.004654548596590757, 0.07579965889453888, 0.0024853649083524942, 0.020809466019272804, 0.04134836420416832, 0.01366705633699894, 0.041706327348947525, -0.025069134309887886, 0.023590808734297752, 0.04188252612948418, -0.013448711484670639, -0.020927080884575844, -0.02441694587469101, 0.0010172794573009014, -0.032451700419187546, -0.2549053430557251, -0.005763591732829809, -0.02930007502436638, -0.02795344404876232, 0.03935246914625168, -0.013613811694085598, 0.00870905164629221, -0.04853588715195656, 0.008243473246693611, 0.042194489389657974, -0.008655781857669353, -0.04355000704526901, -0.04390227049589157, 0.043603237718343735, -0.0036952707450836897, -0.0038572910707443953, -0.03618989139795303, -0.02612677961587906, -0.0001709738135104999, 0.030710674822330475, -0.01892874948680401, -0.07799794524908066, 0.0024756481871008873, 0.08273516595363617, 0.02992323786020279, 0.053705405443906784, -0.059573423117399216, -0.004939142148941755, -0.020601259544491768, -0.00830028485506773, 0.009835798293352127, -0.046785205602645874, -0.01525192242115736, -0.02367461286485195, -0.02966134436428547, -0.024876950308680534, 0.001752292038872838, 0.017455779016017914, -0.002956254407763481, 0.008591596968472004, -0.04064961522817612, -0.05594057962298393, -0.03513456881046295, 0.01347346417605877, 0.07688155025243759, -0.03552598878741264, -0.07447216659784317, 0.04859061539173126, -0.028750518336892128, 0.06363372504711151, -0.023089773952960968, -0.02340923249721527, 0.0087198531255126, 0.021750301122665405, -0.02748272940516472, -0.012112406082451344, 0.0033258148469030857, 0.02255840227007866, -0.03128159046173096, -0.02439834736287594, -0.0017159889684990048, -0.05589674785733223, -0.04374287277460098, -0.03515727072954178, -0.009322911500930786, -0.05855339765548706, -0.02446698397397995, 0.01366399135440588, 0.05610823258757591, 0.046833157539367676, -0.01776106096804142, -0.005899837706238031, 0.004865375813096762, -0.11812002956867218, 0.002860171953216195, -0.023250360041856766, -0.01351346168667078, -0.028374532237648964, -0.016664518043398857, 0.020000526681542397, -0.04266641288995743, -0.03415025398135185, 0.021278267726302147, -0.010685434564948082, 0.013075237162411213, -0.007368751335889101, 0.022358743473887444, -0.04194801673293114, 0.017306068912148476, -0.017923669889569283, 0.06530370563268661, -0.0695352628827095, 0.011036214418709278, 0.008608114905655384, -0.019147079437971115, 0.06945175677537918, 0.032772742211818695, -0.01583881303668022, 0.0011251420946791768, 0.024498887360095978, 0.04981302097439766, -0.050440043210983276, 0.01103227585554123, 0.0054099904373288155, 0.009617806412279606, -0.023462381213903427, -0.07486529648303986, 0.027149468660354614, 0.02385176718235016, 0.017901452258229256, 0.01808827929198742, -0.03280703350901604, -0.0068008676171302795, -0.04624975472688675, -0.016893502324819565, -0.02623191848397255, 0.005510319489985704, 0.03185279667377472, 0.009326261468231678, -0.06937668472528458, -0.06222732365131378, -0.016102248802781105, 0.05268910899758339, -0.009211878292262554, -0.05912397801876068, -0.024352649226784706, 0.014309924095869064, 0.0036391618195921183, 0.0017289567040279508, -0.018592342734336853, 0.0011678480077534914, 0.02230851538479328, -0.005140628200024366, -0.018941683694720268, -0.009587663225829601, -0.02689989283680916, -0.03452764078974724, -0.030196866020560265, -0.011257464997470379, -0.008267407305538654, 0.025519555434584618, -0.007522448431700468, -0.011060408316552639, 0.023810597136616707, 0.009723054245114326, -0.0051196967251598835, 0.022988824173808098, 0.010750493966042995, -0.0100302305072546, 0.017534920945763588, 0.003176762256771326, -0.062461234629154205, -0.027900923043489456, -0.021969126537442207, -0.03577275946736336, -0.029176579788327217, 0.009705500677227974, -0.06199393793940544, -0.012273608706891537, -0.05207614600658417, 0.028147228062152863, -0.04936203360557556, -0.04988034442067146, 0.02840045839548111, -0.01801726408302784, 0.04330813139677048, -0.0031583039090037346, 0.033974260091781616, 0.0032307307701557875, -0.015919635072350502, 0.013899806886911392, -0.037868600338697433, 0.013140098191797733, 0.0204255823045969, -0.01907927170395851, -0.012628047727048397, -0.0007924813544377685, -0.013014585711061954, 0.020866060629487038, 0.037896327674388885, 0.03357333317399025, -0.010388961993157864, -0.0012310415040701628, 0.022947348654270172, 0.02405519038438797, 0.011579819954931736, -0.00464296992868185, -0.00007734009705018252, -0.006542090326547623, -0.02724316716194153, -0.04484938830137253, 0.005270137917250395, -0.035329073667526245, 0.016964254900813103, -0.009826909750699997, -0.06876162439584732, 0.028487052768468857, 0.009655257686972618, 0.0178218986839056, 0.01722639426589012, -0.007991068996489048, 0.008281836286187172, -0.014096737839281559, 0.004355322569608688, 0.06697849929332733, -0.03727097436785698, -0.019441502168774605, 0.025255762040615082, 0.03869000822305679, 0.028890354558825493, 0.006336872465908527, -0.027833739295601845, -0.013336222618818283, -0.032015182077884674, -0.002389170229434967, -0.009625994600355625, -0.022751832380890846, -0.051147010177373886, 0.0068685743026435375, 0.030399903655052185, -0.005170671734958887, 0.00934558268636465, -0.024310946464538574, -0.03401359170675278, -0.017031213268637657, -0.01094916183501482, -0.03673698380589485, 0.011052660644054413, 0.040861792862415314, -0.030552145093679428, 0.054662078619003296, -0.01975351758301258, 0.029318543151021004, 0.03913747891783714, 0.007261770777404308, 0.005603225901722908, -0.06235887482762337, 0.009389384649693966, 0.047144677489995956, 0.06961634755134583, 0.020513610914349556, -0.02735641971230507, -0.01943017728626728, 0.01366417482495308, 0.004185400903224945, -0.004250738304108381, -0.014854752458631992, -0.022935127839446068, 0.05190355330705643, 0.07052686810493469, 0.053955160081386566, 0.026998480781912804, -0.00016908315592445433, -0.013349656946957111, 0.08609088510274887, -0.09096386283636093, -0.024593213573098183, 0.00012771070760209113, -0.04035855457186699, 0.03257843106985092, -0.005019392818212509, 0.054499171674251556, -0.005428571254014969, 0.07247660309076309, 0.05266549065709114, 0.020007111132144928, 0.058980438858270645, 0.0015816519735381007, 0.05926338955760002, -0.016999827697873116, 0.022247543558478355, -0.09001561254262924, 0.0349603034555912, 0.04637446254491806, 0.017594898119568825, -0.015650104731321335, -0.028226619586348534, -0.03739386424422264, 0.023684505373239517, -0.043257083743810654, -0.025851784273982048, 0.03367886692285538, 0.010567402467131615, -0.0129926186054945, -0.006177939008921385, -0.07889501750469208, 0.007580137345939875, 0.03697825223207474, -0.01998528465628624, -0.022964952513575554, -0.03147968277335167, 0.049034588038921356, 0.020675864070653915, 0.0026272879913449287, -0.0175698883831501, 0.03538820147514343, 0.04813317582011223, 0.003929526079446077, 0.025656141340732574, 0.056165579706430435, -0.02128765359520912, 0.03323785215616226, 0.02485828287899494, -0.008098405785858631, -0.010580585338175297, 0.03565681353211403, -0.005714739672839642, -0.05999470502138138, 0.03358333930373192, 0.017507364973425865, -0.028680773451924324, -0.05892509967088699, 0.04956723749637604, 0.02410598285496235, -0.045058440417051315, -0.01879988983273506, -0.04466354474425316, -0.019093476235866547, -0.05515527352690697, -0.008219941519200802, 0.018913783133029938, -0.015270546078681946, 0.09356990456581116, 0.0021440540440380573, 0.009986194781959057, 0.07914112508296967, 0.01506730355322361, -0.03596650809049606, -0.023767922073602676, 0.07100111991167068, 0.08101176470518112, 0.02088487148284912, -0.00986536405980587, 0.05229860171675682, -0.013106065802276134, -0.047653183341026306, 0.002034442964941263, -0.02893284149467945, -0.004954794887453318, -0.013897883705794811, -0.01894102431833744, 0.061218149960041046, -0.009740801528096199, 0.057536520063877106, -0.028653567656874657, -0.02549072913825512, 0.010182530619204044, 0.01710863970220089, -0.0029378917533904314, 0.010544267483055592, 0.03164350241422653, 0.0536608025431633, 0.018812023103237152, -0.04700386896729469, 0.012960492633283138, -0.00271413242444396, -0.011427578516304493, 0.013048173859715462, -0.005726306699216366, 0.017851078882813454, 0.027387281879782677, 0.019057314842939377, 0.0697239339351654, -0.006830374710261822, -0.010409295558929443, -0.004812462721019983, 0.01427518017590046, 0.0049273911863565445, -0.00954099278897047, -0.009436548687517643, -0.04143469035625458, -0.005497504957020283, -0.032381508499383926, 0.00427965959534049, -0.012275376357138157, -0.020634181797504425, 0.027949221432209015, -0.015168796293437481, 0.03805097937583923, 0.021166961640119553, -0.015244762413203716, -0.009421652182936668, -0.06910432875156403, -0.08347892761230469, -0.05454772338271141, -0.08466089516878128, -0.04746163636445999, 0.03845705837011337, -0.049169041216373444, -0.052504051476716995, -0.011941696517169476, -0.00841591414064169, 0.009245719760656357, 0.03491832688450813, -0.01009136438369751, -0.04133430868387222, 0.04028996080160141, -0.0023995395749807358, 0.03583561256527901, 0.04464980587363243, 0.0537060983479023, -0.011296381242573261, 0.009055432863533497, -0.049016404896974564, -0.008301133289933205, 0.05878550186753273, 0.014397225342690945, 0.04137063026428223, -0.05666523799300194, 0.0034497713204473257, 0.03302867338061333, -0.013127291575074196, -0.04953858628869057, -0.01851358264684677, 0.036094602197408676, -0.010452467948198318, 0.05047761648893356, -0.007606583647429943, 0.014090745709836483, -0.025237228721380234, -0.01937604695558548, 0.023204874247312546, 0.016896577551960945, 0.05910390242934227, -0.04694483429193497, 0.09999409317970276, 0.04952863231301308, -0.016477325931191444, -0.004212571308016777, 0.019574100151658058, -0.00031937830499373376, -0.00496499240398407, -0.030552327632904053, -0.036495331674814224, -0.061371318995952606, -0.042154956609010696, -0.024854116141796112, -0.006938487756997347, -0.014228529296815395, -0.03178182616829872, -0.032647036015987396, 0.03327534720301628, -0.029711926355957985, 0.022196106612682343, -0.04581953585147858, 0.05315539613366127, -0.016561347991228104, -0.023165296763181686, -0.024919582530856133, 0.031117038801312447, 0.0063139526173472404, -0.01441918034106493, 0.03827399015426636, -0.030787967145442963, 0.008718087337911129, -0.006662571337074041, 0.01608397252857685, 0.004617746453732252, -0.02950166165828705, 0.014188414439558983 ]
[ -0.04936036095023155, -0.028093531727790833, -0.01632607728242874, -0.053913407027721405, 0.04462970420718193, -0.025830527767539024, -0.002320763887837529, 0.009469103068113327, 0.024085870012640953, 0.010688642039895058, -0.018701421096920967, -0.04340395703911781, -0.0077622500248253345, 0.00851014256477356, 0.07336205244064331, -0.02184443175792694, -0.010361896827816963, -0.05901060625910759, -0.05333587899804115, 0.05331926792860031, 0.01942177303135395, -0.0015191122656688094, -0.011761954054236412, -0.040256988257169724, 0.027730008587241173, 0.06651510298252106, 0.023507127538323402, -0.03500310331583023, 0.005253148730844259, -0.1991644948720932, -0.0003618900664150715, -0.06140713393688202, -0.01076129637658596, 0.020236628130078316, -0.05273832380771637, 0.03387986868619919, 0.023764947429299355, 0.03900660574436188, -0.008290679194033146, 0.07984790205955505, 0.01847100257873535, 0.017902664840221405, -0.07304948568344116, -0.04582761973142624, 0.00865035317838192, -0.0062132664024829865, -0.01926097646355629, -0.001970298821106553, 0.008132114075124264, -0.008242868818342686, -0.07066527009010315, 0.01306837797164917, -0.015788795426487923, -0.015809595584869385, 0.009690351784229279, 0.02204168401658535, 0.038013871759176254, 0.0552196204662323, 0.0023459529038518667, 0.05840204656124115, 0.05226505547761917, -0.013654893264174461, -0.10757869482040405, 0.12432035058736801, -0.023731742054224014, 0.07346303015947342, 0.006542874500155449, -0.0010223065037280321, -0.039934780448675156, 0.04135509580373764, -0.004865624010562897, -0.02874934673309326, -0.008011273108422756, 0.05834874510765076, 0.03195421025156975, -0.020085211843252182, -0.030870676040649414, 0.017161775380373, 0.04175760969519615, -0.004322980996221304, -0.0603085458278656, -0.025887351483106613, -0.03576360642910004, 0.0052337623201310635, -0.005456191953271627, 0.02079562097787857, -0.031247330829501152, 0.04909074679017067, 0.03338232636451721, 0.039128147065639496, 0.01850266382098198, -0.017981935292482376, 0.012901559472084045, 0.03245864063501358, -0.11135109513998032, 0.00455809012055397, -0.029626907780766487, -0.00897746067494154, -0.034977611154317856, 0.4088655114173889, -0.032504383474588394, -0.025843361392617226, 0.04819644242525101, 0.03155197203159332, -0.024382930248975754, 0.011835106648504734, -0.016934404149651527, -0.03024270571768284, 0.02676781825721264, -0.019229482859373093, -0.021577583625912666, -0.02437053620815277, 0.010822024196386337, -0.03854135796427727, -0.031928837299346924, 0.019017484039068222, -0.012522755190730095, 0.008013695478439331, -0.02051861770451069, 0.019008629024028778, 0.007087029982358217, -0.0015086219646036625, 0.008537577465176582, -0.0067984191700816154, 0.02259986661374569, -0.02902199886739254, 0.04122951999306679, 0.04042694345116615, 0.06786905974149704, 0.018378296867012978, 0.03331806883215904, -0.039444491267204285, -0.09201490134000778, -0.011703393422067165, -0.01251736469566822, 0.0004974264302290976, 0.05416635051369667, -0.010652421042323112, -0.0028323200531303883, 0.020910492166876793, 0.0024438872933387756, -0.04044785350561142, 0.030910635367035866, -0.015292049385607243, -0.03510109707713127, 0.0921315848827362, 0.02518056519329548, -0.046796757727861404, -0.010011373087763786, -0.004234727006405592, -0.02429809421300888, 0.06947789341211319, 0.018847132101655006, -0.02432488277554512, -0.02443772740662098, 0.020353659987449646, 0.04428771883249283, -0.02897702530026436, -0.05426729843020439, -0.039112504571676254, -0.02808845415711403, -0.022017844021320343, -0.027891961857676506, 0.05209401994943619, 0.037319060415029526, -0.11143838614225388, -0.03612305968999863, 0.010991532355546951, -0.011407041922211647, -0.08137191832065582, -0.04602702707052231, 0.04526528716087341, -0.05357208475470543, 0.006027923431247473, 0.06677986681461334, 0.004914112389087677, -0.04416881501674652, -0.02221260964870453, 0.006972350645810366, 0.01719903014600277, -0.010014623403549194, 0.013139277696609497, -0.03837539628148079, -0.0341489315032959, -0.018189748749136925, -0.07799986004829407, -0.04379740729928017, 0.0007565011037513614, -0.0014190423535183072, -0.036714229732751846, -0.022746995091438293, -0.0019674417562782764, -0.08915407210588455, 0.07697007805109024, 0.007289831060916185, -0.008707772940397263, -0.00235539092682302, -0.011200588196516037, 0.024111932143568993, -0.00960666686296463, 0.03414727374911308, 0.028915872797369957, -0.0080432603135705, 0.024940920993685722, -0.02866264618933201, 0.012244167737662792, 0.04237629100680351, -0.02358822710812092, 0.024299712851643562, 0.0017339341575279832, -0.072137750685215, 0.018350254744291306, -0.015087726525962353, 0.042263105511665344, -0.013825573958456516, -0.004522891249507666, -0.033644333481788635, 0.012943406589329243, 0.017387865111231804, 0.015770195052027702, -0.051962628960609436, -0.0511445626616478, 0.038126494735479355, -0.34469854831695557, 0.0013122130185365677, -0.0006100143655203283, -0.01786782592535019, -0.027718709781765938, -0.06602330505847931, -0.003206586232408881, -0.019698793068528175, 0.02652084268629551, 0.005705293733626604, 0.09853121638298035, -0.011750441044569016, -0.0006328090094029903, -0.08200433850288391, 0.00343369971960783, 0.026957031339406967, -0.05440623685717583, -0.05115324258804321, -0.01885652169585228, 0.04502935707569122, -0.018527856096625328, -0.039256319403648376, -0.0025450775865465403, -0.05368347838521004, 0.0044577219523489475, -0.03730598837137222, 0.13155415654182434, 0.03541981801390648, 0.049126382917165756, -0.060104239732027054, 0.061948489397764206, 0.024931352585554123, -0.03387601301074028, -0.0467844232916832, -0.004830008838325739, -0.05820788815617561, 0.008280282840132713, 0.024784332141280174, 0.00858607329428196, -0.0058310143649578094, -0.03861893340945244, 0.04670172557234764, -0.05145817995071411, -0.05962732434272766, 0.021529383957386017, 0.018624015152454376, -0.00914126168936491, -0.03078578971326351, -0.0013126947451382875, 0.07194705307483673, 0.024086106568574905, 0.012530061416327953, 0.07730591297149658, 0.046780601143836975, -0.00768962362781167, 0.004391171969473362, -0.059040192514657974, 0.015323236584663391, -0.0040552448481321335, 0.025014515966176987, 0.025371050462126732, 0.07865782827138901, 0.04084799438714981, -0.06652271002531052, -0.014429240487515926, 0.012636060826480389, 0.03477736562490463, 0.01825350522994995, 0.040772199630737305, 0.004819430876523256, -0.06377114355564117, 0.05060330033302307, -0.003956004045903683, 0.03291930630803108, 0.04564923793077469, 0.05384736508131027, -0.01791396364569664, -0.025744032114744186, 0.022696413099765778, 0.02713019959628582, 0.001954374834895134, 0.03094427101314068, 0.04356703162193298, -0.008742095902562141, -0.007239409722387791, 0.053528402000665665, -0.009595150128006935, -0.017712386325001717, 0.006963856518268585, -0.04308313503861427, -0.033718425780534744, -0.017357314005494118, -0.016774021089076996, -0.05551062524318695, 0.037094973027706146, -0.015397793613374233, -0.26477110385894775, 0.02289591357111931, 0.06625373661518097, 0.07334005832672119, -0.016127122566103935, 0.018426211550831795, 0.036586787551641464, -0.07209276407957077, -0.022976772859692574, 0.032933011651039124, 0.02107989601790905, 0.012999676167964935, 0.01730060763657093, -0.01758960261940956, 0.0170118547976017, -0.013519693166017532, 0.05632083863019943, 0.01709442399442196, 0.06745435297489166, -0.012797744944691658, 0.07352723181247711, -0.004778019618242979, 0.17687329649925232, 0.029836095869541168, 0.005204672459512949, 0.029875336214900017, -0.005200453568249941, -0.00005513467840501107, 0.08336959779262543, 0.04754902422428131, -0.014365197159349918, 0.004272566642612219, 0.11626054346561432, 0.0400017611682415, 0.042947109788656235, -0.07695397734642029, -0.0021381694823503494, 0.03596670553088188, 0.006657278165221214, 0.007084411568939686, -0.018479203805327415, 0.03559068962931633, -0.04877573624253273, 0.041618332266807556, 0.08280321210622787, -0.015429677441716194, -0.0034737354144454002, -0.016091518104076385, -0.07160484045743942, -0.026462022215127945, -0.024439914152026176, -0.04843420535326004, -0.004240046720951796, -0.01840205118060112, -0.02303375117480755, 0.0712849572300911, 0.007280721329152584, -0.014641872607171535, 0.005260544829070568, 0.042032960802316666, -0.0061134397983551025, -0.031449075788259506, 0.08758076280355453, 0.029372908174991608, 0.000737355905584991 ]
[ -0.016857976093888283, 0.02085680514574051, -0.024706443771719933, -0.01795171946287155, 0.0029849570710211992, 0.06193201243877411, 0.0070618921890854836, 0.024821732193231583, 0.010811244137585163, 0.008121052756905556, -0.0015860587591305375, 0.02665318176150322, -0.03704988211393356, -0.017942218109965324, 0.018912281841039658, 0.0027669465634971857, 0.013571647927165031, 0.0022295310627669096, 0.036046478897333145, 0.0029546211007982492, -0.004733467474579811, 0.037579625844955444, 0.010715953074395657, 0.010384514927864075, -0.005019855685532093, 0.016171729192137718, -0.011420969851315022, -0.010712838731706142, 0.013908624649047852, -0.11288393288850784, -0.011491754092276096, -0.03251585736870766, 0.0068009886890649796, 0.022750280797481537, -0.0406678132712841, -0.002284812508150935, -0.005531605798751116, -0.03795942664146423, 0.00009598993347026408, -0.040357425808906555, 0.012708830647170544, 0.027020186185836792, -0.03234422579407692, -0.027454376220703125, -0.010582859627902508, -0.0464262031018734, -0.06183405593037605, -0.028170142322778702, 0.002792131854221225, 0.011572618968784809, -0.02589101344347, -0.020332057029008865, -0.005319144111126661, -0.026027433574199677, -0.006122795399278402, -0.005966702476143837, -0.06384341418743134, -0.014780010096728802, 0.02852705307304859, 0.008216465823352337, 0.019601082429289818, -0.022275103256106377, -0.008039948530495167, -0.017894046381115913, -0.014926635660231113, -0.03589843213558197, 0.01854582317173481, 0.00590717326849699, -0.01228805910795927, -0.02264481596648693, 0.02506490983068943, 0.0032043869141489267, 0.020549388602375984, -0.0345272533595562, -0.03580411896109581, -0.010766908526420593, -0.018048152327537537, -0.03710562735795975, 0.034342210739851, 0.0031714392825961113, -0.021649770438671112, -0.007714119739830494, -0.020107468590140343, 0.027379199862480164, -0.01289883628487587, -0.00730350986123085, 0.002505518961697817, 0.03473302721977234, 0.014960785396397114, -0.015165414661169052, -0.03553834557533264, -0.0008898976957425475, 0.033806685358285904, 0.039979238063097, -0.07011096179485321, 0.01189473271369934, -0.045435503125190735, -0.02886585332453251, -0.021544037386775017, 0.8378990888595581, -0.003738932078704238, 0.027515271678566933, 0.05280996859073639, 0.004492139909416437, -0.01872202754020691, -0.004482015501707792, 0.0014320304617285728, 0.012655840255320072, 0.00473329983651638, -0.026555750519037247, 0.013096067123115063, 0.038607969880104065, 0.03189730644226074, 0.020231861621141434, -0.021282365545630455, -0.0049586002714931965, 0.028272731229662895, 0.01306468341499567, 0.02701856568455696, 0.03958268463611603, 0.05189311131834984, -0.006818092428147793, 0.037236377596855164, -0.0002096417883876711, 0.02722909487783909, -0.18528318405151367, 0.0013340640580281615, -8.295678896155877e-33, 0.031692568212747574, -0.030390039086341858, 0.05318579450249672, 0.005501206498593092, 0.006711346097290516, 0.005711426958441734, 0.018482627347111702, 0.04205235838890076, 0.026687676087021828, -0.03389936313033104, -0.007913573645055294, -0.009154222905635834, -0.01627451553940773, 0.012348509393632412, 0.020036764442920685, -0.025387834757566452, 0.021271826699376106, 0.0129353366792202, 0.02146531268954277, 0.0016704826848581433, -0.008509600535035133, 0.02091222070157528, 0.040686991065740585, -0.012859711423516273, -0.010489992797374725, 0.05092490091919899, 0.019926635548472404, 0.011446931399405003, -0.04031388461589813, -0.03119155950844288, 0.05913495272397995, -0.009228648617863655, -0.006234676111489534, -0.006311217788606882, 0.06953892111778259, -0.01184888742864132, -0.004262846428900957, -0.003464797744527459, -0.004924720153212547, -0.018641473725438118, -0.08207166194915771, -0.0345095694065094, -0.04893866553902626, 0.00151855091098696, -0.047375619411468506, -0.018343770876526833, 0.015493696555495262, 0.028304653242230415, -0.004461244679987431, 0.06749586760997772, -0.01694072224199772, 0.02577780932188034, -0.0036649038083851337, -0.016349008306860924, -0.017563417553901672, 0.005617804825305939, 0.003223567269742489, 0.01112151239067316, 0.006504656746983528, -0.01144601684063673, -0.006351916119456291, -0.01407962292432785, -0.0028365955222398043, 0.015039163641631603, -0.03910103812813759, -0.004593593534082174, 0.01947122998535633, -0.005312969442456961, 0.018075844272971153, -0.010268094018101692, -0.02390427142381668, 0.01930948533117771, 0.001847578096203506, -0.010941765271127224, 0.014274128712713718, -0.030828973278403282, -0.006570414640009403, 0.02661404013633728, 0.0013660842087119818, 0.027220075950026512, 0.020064378157258034, -0.024035299196839333, 0.02419985830783844, 0.006008195225149393, -0.033544134348630905, 0.007641561329364777, 0.04141394421458244, 0.002238209592178464, -0.002995531540364027, 0.02125471457839012, 0.013712093234062195, 0.04301008582115173, -0.006740681827068329, -0.018673967570066452, 0.008870439603924751, 7.487845382808215e-33, 0.00265026418492198, -0.030667558312416077, -0.014696323312819004, -0.004739686846733093, 0.03240625187754631, -0.03275918588042259, 0.03167048096656799, 0.05227569863200188, -0.03644631803035736, 0.03656299039721489, -0.05958162620663643, 0.01992150768637657, -0.024382660165429115, -0.014120659790933132, 0.054887231439352036, -0.026629388332366943, 0.01906045898795128, 0.004222686402499676, 0.027718225494027138, -0.031770363450050354, -0.00234608119353652, 0.037048205733299255, 0.03722092881798744, 0.0004630351613741368, 0.014309165999293327, 0.020340828225016594, -0.026996886357665062, 0.006120136473327875, -0.04247415438294411, 0.027949713170528412, 0.030818529427051544, -0.019730765372514725, 0.03216797485947609, -0.04272408410906792, -0.011575845070183277, 0.007711149752140045, 0.01767437532544136, -0.009262986481189728, 0.024838561192154884, -0.003933679778128862, 0.006302985362708569, -0.023194152861833572, 0.02989993616938591, 0.021212223917245865, 0.00013707569451071322, -0.017232375219464302, 0.010109560564160347, 0.014269069768488407, 0.030632616952061653, 0.006651295814663172, -0.007337452843785286, 0.010015464387834072, -0.026871731504797935, -0.006241738796234131, 0.0241889338940382, -0.019802352413535118, -0.03009161539375782, -0.01068122684955597, -0.052138667553663254, -0.009172899648547173, -0.031913962215185165, -0.04333421587944031, -0.018534624949097633, 0.020586099475622177, -0.010414490476250648, -0.0011942399432882667, -0.03572781756520271, -0.05952230095863342, 0.037363383919000626, -0.01751025766134262, -0.030379025265574455, -0.01575028896331787, -0.00712941400706768, 0.01796029880642891, -0.00586522463709116, -0.024093888700008392, -0.010384965687990189, 0.0029453104361891747, 0.02432151511311531, 0.017641251906752586, 0.023925896733999252, -0.02913869544863701, 0.01799551211297512, -0.011966821737587452, 0.0368167981505394, -0.008625528775155544, -0.017370717599987984, -0.018541550263762474, -0.029388319700956345, -0.02458539605140686, -0.010882198810577393, 0.009322927333414555, -0.0037751514464616776, -0.001136220060288906, 0.002760560717433691, -1.3085303507409662e-8, -0.020621417090296745, 0.02233774960041046, -0.003596407128497958, 0.030618643388152122, 0.014203454367816448, -0.00014324093353934586, -0.02248910441994667, -0.024398231878876686, 0.015550412237644196, 0.013358412310481071, 0.024298949167132378, -0.005376130808144808, -0.01031954400241375, 0.020481495186686516, 0.011900730431079865, -0.049086518585681915, -0.02465374395251274, 0.0273151695728302, 0.011907896026968956, 0.04930097982287407, -0.00005295767550705932, 0.06259068846702576, 0.012670066207647324, -0.041112180799245834, 0.010135103948414326, -0.01879771612584591, 0.0019766907207667828, -0.057315293699502945, -0.012882771901786327, 0.02008477970957756, 0.06440802663564682, -0.02131042256951332, -0.034862689673900604, -0.000461207062471658, -0.03765972703695297, -0.05274514853954315, 0.018528467044234276, 0.008119272999465466, 0.02653741091489792, 0.018735945224761963, 0.00181264104321599, 0.02430630661547184, -0.0007460000924766064, -0.01453037466853857, -0.0011535813100636005, -0.003648387733846903, -0.029124122112989426, 0.00003969155659433454, 0.02520083822309971, -0.005759366322308779, -0.013690615072846413, 0.014825730584561825, -0.02894570119678974, -0.017875347286462784, 0.03248963505029678, -0.023928524926304817, 0.047561779618263245, -0.01885097660124302, -0.027947155758738518, 0.016144854947924614, 0.05897657573223114, 0.007546373642981052, -0.04213624820113182, -0.01932746171951294 ]
play-framework-2-0-rendering-json-data-in-the-view
https://markhneedham.com/blog/2012/10/14/play-framework-2-0-rendering-json-data-in-the-view
false
2012-07-04 19:34:45
sudo, sudo -i & sudo su
[ "software-development" ]
[ "Software Development" ]
On the project I'm currently working on we're doing quite a bit of puppet and although we're using the puppet master approach in production & test environments it's still useful to be able to run puppet headless to test changes locally. Since several of the commands require having write access to 'root' folders we need to run 'puppet apply' as a super user using sudo. We also need to run it in the context of some environment variables which the root user has. One way to do this would be to run the following command: [source,text] ---- sudo su ---- That runs the 'su' command as root which means that we can https://twitter.com/rjhunter/status/220347921915314176[run root's shell as the root user] without needing to know the root password. The cool thing about using 'su' like this is that it leaves us in the same directory that we were in before we ran the command. [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ sudo su root@ubuntu:/home/mneedham/puppet# ---- If instead we want to be positioned in the root home directory we could use the following: [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ sudo su - root@ubuntu:~# pwd /root ---- We can achieve a similar outcome using 'sudo -i', a flag I didn't know about until my colleague https://twitter.com/#!/philandstuff[Phil Potter] showed me: [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ sudo -i root@ubuntu:~# pwd /root ---- ____ -i [command] The -i (simulate initial login) option runs the shell specified in the passwd(5) entry of the target user as a login shell. This means that login-specific resource files such as .profile or .login will be read by the shell. If a command is specified, it is passed to the shell for execution. Otherwise, an interactive shell is executed. sudo attempts to change to that user's home directory before running the shell. It also initializes the environment, leaving DISPLAY and TERM unchanged, setting HOME, SHELL, USER, LOGNAME, and PATH, as well as the contents of /etc/environment on Linux and AIX systems. All other environment variables are removed. ____ Interestingly with 'sudo -i' we can pass a command which will be executed in the root context which would be useful in this situation as we wouldn't need to keep switching to the root shell to run puppet. One of the things that changes if we're in the root shell is the value of $HOME so I started with that to check I was passing the command correctly: [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ sudo -i echo $HOME /home/mneedham ---- Unfortunately the echo statement is getting evaluated in the context of the current user's shell rather than the root shell and https://twitter.com/rjhunter/status/220286792346243072[my colleague Rob Hunter showed me the 'set -x' tool/flag] so that I could figure out what was going on with the escaping in the shell: [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ sudo -i echo $HOME + sudo -i echo /home/mneedham /home/mneedham ---- As we can see, the $HOME value is expanded too early so we need to escape it like so: [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ sudo -i echo \$HOME + sudo -i echo '$HOME' /root ---- If we disable that flag: [source,text] ---- mneedham@ubuntu:/home/mneedham/puppet$ set +x + set +x mneedham@ubuntu:/home/mneedham/puppet$ sudo -i echo \$HOME /root ---- We can see that $HOME is being evaluated in the root shell context and we can also call our 'puppet apply' script in a similar vein.
null
null
[ -0.016061726957559586, -0.0356459878385067, -0.027199164032936096, 0.04561242833733559, 0.11716518551111221, 0.00776843773201108, 0.015740809962153435, 0.02455483004450798, -0.006111044902354479, -0.0202670618891716, -0.014329726807773113, 0.004573545418679714, -0.042079225182533264, 0.011848393827676773, 0.0005983863375149667, 0.05336511507630348, 0.080413319170475, -0.016849439591169357, -0.012784231454133987, -0.008451535366475582, 0.03294084966182709, 0.043279193341732025, 0.01608181744813919, 0.04016165807843208, 0.0027504749596118927, 0.028886813670396805, 0.02529691345989704, -0.014177994802594185, -0.0425463505089283, -0.020925328135490417, 0.020080752670764923, -0.01874501071870327, 0.034217074513435364, -0.006460776552557945, 0.015131493099033833, -0.02932315319776535, -0.006953659001737833, 0.007346721366047859, 0.006760946474969387, -0.013439390808343887, -0.03632934391498566, 0.040613505989313126, 0.008163640275597572, 0.00681009516119957, -0.026758208870887756, 0.0006461737211793661, -0.025335170328617096, 0.020753931254148483, 0.016262236982584, 0.005204175133258104, -0.08817778527736664, 0.05930151045322418, -0.03871466591954231, -0.04863452538847923, 0.042109496891498566, -0.0033436398953199387, 0.0404023602604866, -0.09014271944761276, -0.0004363988118711859, -0.036901816725730896, -0.028328923508524895, 0.002014553640037775, 0.007622211705893278, 0.034298207610845566, 0.024229440838098526, -0.023363076150417328, 0.03540575131773949, 0.038593731820583344, -0.06444106996059418, -0.015578196384012699, 0.02995307743549347, -0.0012733113253489137, -0.03048309125006199, -0.005629437044262886, 0.022660881280899048, -0.04158321022987366, 0.011076843366026878, 0.03916025534272194, 0.013667300343513489, 0.04744112119078636, -0.0397161990404129, -0.023209309205412865, 0.006547173950821161, 0.014750991016626358, -0.0004720223951153457, -0.03140883892774582, 0.011893740855157375, 0.0006979582831263542, -0.037992652505636215, 0.037631284445524216, 0.024288669228553772, -0.044837698340415955, -0.005303812678903341, 0.008382449857890606, 0.016122320666909218, -0.011949560604989529, -0.004777482245117426, -0.0013952337903901935, 0.015501516871154308, 0.0018831491470336914, -0.021055055782198906, -0.0004487662808969617, -0.01907641626894474, -0.0005797663470730186, -0.0857682079076767, 0.00023011764278635383, -0.03989166021347046, 0.000957291224040091, -0.009936250746250153, -0.006600236985832453, -0.022770004346966743, 0.025229373946785927, 0.010878849774599075, 0.0058395774103701115, -0.0574137307703495, 0.07651631534099579, 0.009120439179241657, -0.014358007349073887, 0.014288621954619884, -0.0011854184558615088, 0.0597546212375164, 0.03549819439649582, -0.019023310393095016, 0.06756871193647385, 0.0030390601605176926, 0.017414454370737076, 0.018615847453475, 0.03130100667476654, -0.0042150444351136684, -0.061064161360263824, 0.0206140223890543, 0.07443636655807495, 0.05685792490839958, 0.001818706514313817, -0.03943316638469696, -0.03313196823000908, -0.0018280234653502703, -0.004942703992128372, 0.08130339533090591, 0.030741147696971893, -0.016606198623776436, -0.01740109734237194, -0.0005191480158828199, -0.041476793587207794, 0.04747587814927101, 0.020247694104909897, 0.012535777874290943, -0.03148490935564041, -0.048807572573423386, 0.006263094022870064, 0.025344936177134514, -0.01659008115530014, 0.03648804500699043, -0.04463969171047211, -0.007813910022377968, 0.06682109832763672, 0.07031241059303284, -0.02139122039079666, -0.0219130776822567, -0.000015631185306119733, 0.043166980147361755, 0.023942727595567703, 0.0033750603906810284, 0.06183493882417679, 0.01008240319788456, -0.0031829664949327707, -0.02212781272828579, 0.024703318253159523, 0.014169471338391304, 0.0000851653894642368, -0.04375432804226875, -0.05242396146059036, 0.05398089438676834, -0.03791385143995285, 0.0026140566915273666, 0.010999687016010284, 0.04543570056557655, 0.01718016341328621, 0.03286972641944885, -0.007627060636878014, -0.07045270502567291, 0.06106141209602356, -0.01898403838276863, 0.024727758020162582, 0.04162372276186943, 0.005288190208375454, 0.06988925486803055, 0.03556649759411812, 0.0011382834054529667, 0.021938102319836617, -0.08552463352680206, -0.10591080039739609, -0.006097401492297649, 0.022290129214525223, 0.02561962604522705, 0.016734525561332703, -0.014210139401257038, 0.04705982655286789, 0.03733612224459648, 0.011141486465930939, 0.024474630132317543, -0.0017977337120100856, 0.05143706128001213, -0.055508099496364594, -0.08141342550516129, 0.048098430037498474, 0.041563671082258224, -0.03639907389879227, 0.008433147333562374, 0.006972641684114933, -0.04239490255713463, 0.012048943899571896, 0.016950326040387154, -0.01222203765064478, 0.05519914627075195, 0.023265905678272247, 0.01855911873281002, -0.03784184530377388, 0.040591608732938766, -0.016059700399637222, 0.018015921115875244, -0.009058639407157898, -0.017694512382149696, 0.018866052851080894, 0.010051325894892216, 0.13211381435394287, 0.02457943558692932, -0.04348672926425934, -0.05698828771710396, 0.052165377885103226, 0.0027967405039817095, -0.07475366443395615, 0.019211435690522194, 0.010941406711935997, -0.016207832843065262, 0.03226940706372261, -0.04643096774816513, -0.045548226684331894, 0.017831625416874886, -0.02323855087161064, 0.021249011158943176, 0.07017635554075241, -0.03618477284908295, 0.04709511250257492, -0.009005380794405937, -0.028881333768367767, 0.003502093255519867, -0.024053139612078667, -0.05720207840204239, 0.02319180965423584, 0.03360798954963684, -0.0066434224136173725, 0.045691072940826416, -0.04582397639751434, 0.014060892164707184, -0.019244423136115074, -0.044406015425920486, 0.019388502463698387, -0.007653901819139719, 0.06898023188114166, -0.06420744955539703, 0.053991131484508514, -0.039189476519823074, 0.017693940550088882, -0.02629772573709488, -0.012065079994499683, -0.018540864810347557, 0.029787061735987663, 0.004528266843408346, 0.027611570432782173, 0.006480521056801081, -0.035503506660461426, -0.01343085803091526, -0.042546164244413376, 0.04559201002120972, 0.007077053654938936, 0.010716703720390797, 0.005535674747079611, 0.008314896374940872, -0.05583144351840019, 0.012290551327168941, 0.026915183290839195, -0.04773971810936928, -0.01318809948861599, 0.025603946298360825, -0.045325130224227905, 0.04965589568018913, -0.059199534356594086, -0.05139702185988426, -0.021969232708215714, 0.019734099507331848, 0.017506320029497147, 0.018290065228939056, 0.018970560282468796, 0.012763193808495998, 0.015765855088829994, 0.02734295465052128, 0.04153723642230034, 0.011120439507067204, 0.023061515763401985, -0.006402681116014719, -0.0031919570174068213, 0.009586825035512447, -0.028625845909118652, -0.008470849134027958, -0.022695619612932205, 0.011314905248582363, -0.056693483144044876, -0.2518101930618286, 0.03662576526403427, 0.005949054379016161, -0.019501270726323128, 0.033728864043951035, -0.015038685873150826, -0.0033921620342880487, -0.03145785629749298, -0.02114146016538143, 0.024738285690546036, -0.025453094393014908, -0.04301679506897926, 0.0035913840401917696, 0.030434103682637215, -0.022885670885443687, 0.006823677569627762, -0.010001571848988533, -0.04708503186702728, 0.01025806088000536, 0.0013300958089530468, -0.011188018135726452, -0.046870674937963486, 0.04026761278510094, 0.006421658210456371, 0.054516494274139404, 0.09534219652414322, -0.055734965950250626, 0.054768070578575134, -0.04670087620615959, -0.042471833527088165, -0.016755400225520134, -0.03383719176054001, -0.022770192474126816, 0.01969928853213787, -0.0073786573484539986, -0.023129837587475777, 0.04239004850387573, -0.0012573238927870989, 0.04112887755036354, -0.015714537352323532, -0.042520564049482346, -0.08403181284666061, -0.0015803027199581265, 0.0010436741868034005, 0.06964839994907379, -0.005425404291599989, -0.08314621448516846, -0.030001891776919365, -0.028282543644309044, 0.08571092039346695, -0.06403149664402008, -0.01310010813176632, -0.02080036886036396, 0.005198743660002947, -0.032389502972364426, 0.004069094080477953, -0.03472568467259407, 0.02517676167190075, -0.044949185103178024, -0.012027318589389324, 0.0011340996716171503, -0.049370426684617996, -0.007745565380901098, -0.08342500776052475, 0.008233192376792431, -0.0357796736061573, -0.052886299788951874, -0.03541826084256172, 0.0852227509021759, 0.0002971093636006117, -0.030511174350976944, -0.019447332248091698, -0.01615324430167675, -0.10286420583724976, 0.0057878377847373486, -0.028843848034739494, -0.06264678388834, -0.04748510196805, 0.005403887014836073, 0.03742790222167969, -0.053146880120038986, -0.04630632698535919, -0.0065527441911399364, -0.006241904105991125, -0.009717760607600212, 0.0029019578360021114, 0.01312240120023489, -0.016485663130879402, 0.007449722848832607, 0.009944058954715729, 0.06782371550798416, -0.024248868227005005, -0.05076044052839279, -0.015314096584916115, 0.00188085762783885, -0.008068207651376724, 0.007162182591855526, 0.014869666658341885, -0.0005313749425113201, 0.023835517466068268, 0.05319579690694809, -0.027639374136924744, 0.012232474982738495, -0.041104596108198166, 0.00706939771771431, 0.017046894878149033, -0.06794685870409012, 0.032292190939188004, 0.019417166709899902, 0.059158891439437866, 0.013428338803350925, -0.01522710919380188, 0.01606326922774315, -0.06155971810221672, -0.022528691217303276, 0.031565021723508835, 0.03018181584775448, 0.025205209851264954, 0.05147385224699974, 0.0006647396949119866, -0.049434542655944824, 0.00024218333419412374, 0.015759091824293137, -0.0038421524222940207, -0.038939110934734344, -0.0034423600882291794, 0.00008049355528783053, -0.0037104373332113028, 0.02840253710746765, -0.018731100484728813, -0.007006144151091576, 0.025944994762539864, 0.05275595560669899, -0.044272031635046005, 0.03595276549458504, -0.010697931051254272, -0.06169886142015457, -0.056932736188173294, 0.009266888722777367, -0.010989096947014332, -0.06905170530080795, 0.008631198666989803, 0.025513729080557823, 0.012366173788905144, 0.04270293936133385, -0.028732137754559517, 0.04950663819909096, -0.03939145803451538, 0.02692539617419243, 0.026026973500847816, 0.03809303790330887, -0.029138732701539993, 0.004309648182243109, -0.026050472632050514, -0.022354284301400185, -0.03660264238715172, -0.004451013170182705, -0.053504813462495804, -0.01693694479763508, -0.02911563031375408, 0.015950245782732964, -0.08502307534217834, 0.009664421901106834, 0.0029977618250995874, 0.0032853572629392147, 0.06764470040798187, -0.008598621003329754, 0.02389950305223465, -0.002077411627396941, 0.005870705470442772, 0.018626708537340164, 0.04324784502387047, -0.01610434800386429, 0.012219891883432865, 0.005389687605202198, -0.005902199540287256, 0.034438151866197586, 0.041696131229400635, 0.036476731300354004, -0.010098342783749104, 0.006512541323900223, -0.008091715164482594, -0.0015770049067214131, 0.0027822183910757303, 0.03785952553153038, 0.0028089473489671946, -0.03920695558190346, -0.00006700012454530224, -0.022747593000531197, -0.03485478088259697, -0.03200678527355194, 0.025684507563710213, -0.02708866260945797, -0.015354854986071587, -0.031378116458654404, -0.06301888078451157, 0.0077109262347221375, 0.028664639219641685, 0.03925080597400665, 0.014078675769269466, -0.025825778022408485, -0.02907269448041916, -0.024161530658602715, 0.04819768667221069, 0.06006308272480965, -0.035190604627132416, -0.020783687010407448, 0.017507417127490044, 0.0032308953814208508, 0.00916353240609169, 0.03665716201066971, -0.04237604886293411, -0.013096245937049389, 0.010693535208702087, 0.03449944779276848, -0.07971784472465515, -0.06272377073764801, -0.050970904529094696, -0.009114925749599934, 0.00831110030412674, 0.026179669424891472, 0.002823642687872052, 0.005822665989398956, 0.02842719294130802, -0.03945806622505188, 0.0006202365620993078, -0.02857229858636856, -0.028951270505785942, 0.03714154660701752, 0.013294371776282787, -0.0030256235040724277, -0.014201558195054531, 0.05183238908648491, 0.024506552144885063, -0.02615765854716301, -0.00805758312344551, -0.0433434396982193, -0.010938546620309353, -0.0527656115591526, 0.030980028212070465, 0.0046234834007918835, 0.014177728444337845, -0.04707535356283188, -0.001778729842044413, -0.030871553346514702, 0.008205244317650795, -0.008360564708709717, -0.01788882538676262, 0.0326654389500618, 0.041372641921043396, 0.03838806226849556, 0.03595970198512077, -0.018711553886532784, -0.03373698890209198, 0.04937978833913803, -0.061439406126737595, -0.03934555873274803, -0.022791875526309013, -0.03243076056241989, 0.041271258145570755, 0.03609486296772957, 0.020132282748818398, -0.03885016217827797, 0.027121303603053093, 0.0625419169664383, 0.0031476246658712626, 0.030232254415750504, -0.0018357665976509452, 0.034615688025951385, -0.027125893160700798, -0.01475528534501791, -0.06665141880512238, 0.0032152526546269655, -0.002973815891891718, -0.028315629810094833, -0.011266990564763546, 0.032832544296979904, -0.034751471132040024, 0.025260016322135925, -0.04226827993988991, -0.02303774654865265, 0.07743202149868011, 0.01676182635128498, -0.02109113521873951, -0.002928263507783413, -0.06856270134449005, 0.039579275995492935, 0.026858391240239143, -0.04262259230017662, 0.01909209042787552, -0.013121099211275578, 0.05095291510224342, -0.006083395332098007, 0.05570637807250023, -0.0020318152382969856, -0.00929076038300991, 0.07944805175065994, -0.0027825890574604273, -0.0049193305894732475, 0.05257079750299454, -0.012841803953051567, 0.027907751500606537, 0.004971115849912167, 0.02127790078520775, -0.01045681070536375, 0.014388625510036945, -0.017988596111536026, -0.05558829382061958, 0.034753523766994476, -0.018653634935617447, -0.008809590712189674, -0.05400153249502182, 0.03520742058753967, 0.003697287291288376, -0.0479503870010376, -0.056889280676841736, 0.0400707833468914, -0.012146237306296825, -0.04201507195830345, -0.0423741415143013, 0.019824711605906487, -0.05355890095233917, 0.049029700458049774, 0.017614981159567833, 0.03313120827078819, 0.06889658421278, -0.017870431765913963, -0.012995456345379353, 0.0463605634868145, 0.02587994746863842, 0.06910272687673569, 0.04789236560463905, -0.007225446403026581, 0.05835128203034401, -0.025022726505994797, -0.054190684109926224, 0.011990993283689022, -0.011242039501667023, -0.011209170334041119, -0.01959598995745182, 0.016422828659415245, 0.07271712273359299, -0.07574164867401123, 0.058155469596385956, 0.024472055956721306, 0.010692899115383625, 0.010186884552240372, 0.03582342714071274, 0.017484813928604126, 0.04118485748767853, 0.027798496186733246, 0.03192637115716934, -0.013575728982686996, -0.023032335564494133, 0.03520422428846359, -0.04540102928876877, -0.004090064205229282, 0.027093492448329926, -0.015314622782170773, 0.0060289776884019375, 0.030937815085053444, 0.04837912693619728, 0.06702490895986557, -0.028782043606042862, 0.018554067239165306, 0.009358586743474007, 0.008862181566655636, -0.011544609442353249, 0.025005029514431953, -0.01747702620923519, 0.017356406897306442, -0.0032801933120936155, -0.02849290892481804, -0.03352314606308937, 0.009338355623185635, -0.018519343808293343, 0.05772121623158455, -0.007877293042838573, 0.026622964069247246, -0.006012592930346727, -0.011101730167865753, -0.03332291170954704, -0.007876884192228317, -0.061647772789001465, -0.04335761070251465, -0.030978083610534668, -0.01564112678170204, 0.002211945364251733, 0.008276892825961113, -0.006908721290528774, -0.005271284841001034, -0.0233736764639616, -0.02725503034889698, 0.02265058271586895, -0.031632810831069946, -0.030375707894563675, -0.023775413632392883, -0.001554669695906341, 0.015749484300613403, -0.009133116342127323, 0.06142567843198776, 0.015437543392181396, -0.015032070688903332, -0.026817215606570244, -0.006588738411664963, 0.044831741601228714, -0.02794165350496769, -0.04010126739740372, -0.0798998698592186, 0.039554670453071594, 0.03243754431605339, 0.02420841157436371, -0.06205696985125542, 0.0174114890396595, 0.027433471754193306, 0.02194489911198616, 0.06010968238115311, -0.04035535827279091, 0.019171955063939095, -0.022396832704544067, 0.0007582514081150293, 0.0013099281350150704, -0.021030979230999947, 0.07275430858135223, -0.020658187568187714, 0.08923207223415375, 0.0417652390897274, -0.004490923602133989, -0.06130063906311989, -0.002301097149029374, -0.005802813917398453, -0.008291629143059254, -0.02511822246015072, 0.01997397653758526, -0.040498942136764526, -0.0740940049290657, -0.024790572002530098, 0.0018208387773483992, -0.03674958646297455, -0.04455425962805748, -0.022970737889409065, -0.015516698360443115, -0.021472053602337837, 0.0039751878939569, -0.03412623703479767, -0.007492385804653168, -0.03488510102033615, -0.00571111124008894, 0.019707242026925087, 0.032781559973955154, -0.03754875808954239, 0.009591085836291313, 0.06995925307273865, -0.01612299308180809, -0.0372389480471611, -0.003620740957558155, 0.034322600811719894, 0.05319107696413994, -0.017497461289167404, 0.023302989080548286 ]
[ -0.08985121548175812, -0.012865910306572914, 0.013872386887669563, -0.08151240646839142, 0.046257417649030685, -0.03279944881796837, -0.0014360761269927025, -0.00817288551479578, -0.028977926820516586, -0.024980830028653145, -0.0024128572549670935, -0.018183022737503052, 0.025554830208420753, -0.026598623022437096, 0.09872590005397797, -0.019001208245754242, -0.024670500308275223, 0.006317260209470987, -0.026253970339894295, 0.027881477028131485, 0.011149315163493156, -0.02356184460222721, -0.02474730834364891, -0.06835322082042694, -0.04504285380244255, 0.03149068355560303, 0.023117007687687874, -0.016906725242733955, 0.015934893861413002, -0.1723852902650833, 0.06181295961141586, -0.004902799613773823, -0.012919725850224495, 0.008943845517933369, 0.01507045328617096, 0.05470207333564758, 0.011947087943553925, -0.007059698458760977, -0.012087635695934296, 0.03273557871580124, 0.0406622551381588, 0.018437156453728676, -0.0607287660241127, -0.04282572120428085, 0.05644270032644272, -0.039978694170713425, -0.017629366368055344, -0.04797820374369621, -0.0247665848582983, -0.009619246236979961, -0.004191981628537178, 0.04396403208374977, 0.010883782058954239, -0.023197676986455917, -0.01786227524280548, -0.002906578127294779, 0.052480001002550125, 0.03925708681344986, 0.00009164513176074252, 0.015595943666994572, 0.006627683062106371, 0.012799517251551151, -0.15191635489463806, 0.08301347494125366, 0.03823067992925644, 0.029960202053189278, -0.03732717037200928, -0.04102367162704468, -0.04394014552235603, 0.08366761356592178, -0.024368587881326675, -0.010364089161157608, -0.03377801179885864, 0.05415522679686546, -0.023351138457655907, -0.04497785121202469, -0.03374898433685303, 0.019392652437090874, 0.06778310984373093, -0.04837682098150253, -0.04528004303574562, -0.016242945566773415, -0.04477553814649582, 0.01750359497964382, -0.026326321065425873, 0.03522995486855507, 0.01601393334567547, 0.06616361439228058, 0.01947333663702011, 0.06094392389059067, 0.03692765533924103, -0.023949040099978447, 0.06967610120773315, 0.013659211806952953, -0.04278334975242615, 0.004363010171800852, -0.005332469940185547, 0.02104737050831318, -0.048808395862579346, 0.4162222743034363, 0.022574156522750854, -0.01126386970281601, 0.04327146336436272, 0.006605544127523899, 0.04322825372219086, 0.03211325407028198, 0.013578672893345356, -0.006481928750872612, 0.025794008746743202, 0.009026456624269485, 0.03022320196032524, -0.01879378966987133, 0.039954863488674164, -0.08043625950813293, 0.027285723015666008, -0.0025098868645727634, -0.002199348760768771, 0.01742069236934185, -0.033784426748752594, 0.0029661927837878466, 0.005290929693728685, -0.01168113574385643, 0.05008207634091377, 0.025824258103966713, 0.03616951406002045, 0.00403872225433588, 0.039476677775382996, 0.048393670469522476, 0.018999489024281502, 0.03235999122262001, 0.03441082313656807, -0.05465775355696678, -0.05619799345731735, 0.012426860630512238, 0.006316336337476969, 0.04028979688882828, 0.027599170804023743, -0.028047285974025726, -0.020905012264847755, 0.032547540962696075, -0.009263585321605206, -0.03437385335564613, 0.052662063390016556, -0.02159571833908558, -0.021974336355924606, 0.051440052688121796, -0.0044893366284668446, -0.015325388871133327, -0.04628190025687218, -0.004456951282918453, -0.02558889053761959, 0.022175773978233337, 0.00017519373795948923, -0.06127175688743591, -0.0019910584669560194, -0.013255360536277294, 0.060531385242938995, 0.010163897648453712, -0.06757435202598572, 0.007643197197467089, -0.008964273147284985, -0.06343050301074982, -0.017734184861183167, -0.005419270135462284, 0.02831340581178665, -0.10277415812015533, -0.027002977207303047, 0.046389125287532806, 0.034020643681287766, -0.0535334050655365, -0.02271142229437828, -0.006732084788382053, -0.018841147422790527, -0.05769995227456093, 0.030353395268321037, -0.04652167856693268, -0.00809476524591446, 0.038596149533987045, 0.009850884787738323, 0.05387338250875473, -0.026642316952347755, -0.020058223977684975, -0.036414794623851776, -0.025043051689863205, -0.07124364376068115, -0.07580641657114029, -0.020381074398756027, 0.019136255607008934, -0.044073786586523056, -0.02528238482773304, -0.02790611796081066, -0.01926276460289955, -0.07757000625133514, 0.012494777329266071, 0.019922640174627304, 0.02173808589577675, 0.0044419351033866405, -0.015471548773348331, -0.03351226821541786, -0.017487933859229088, 0.0004510193830356002, 0.04483312368392944, -0.020170485600829124, 0.02178477682173252, -0.0401727631688118, 0.045624710619449615, 0.02435317076742649, -0.03190276399254799, 0.0701509341597557, 0.05642154440283775, -0.05758897215127945, 0.008265241980552673, 0.021391237154603004, 0.05909877270460129, -0.037480827420949936, -0.03548842668533325, -0.05258087441325188, -0.0028682826086878777, 0.0652865394949913, 0.016303954645991325, -0.009277448058128357, 0.011316429823637009, -0.03456591069698334, -0.3505687713623047, -0.042487483471632004, -0.04282863810658455, -0.010559079237282276, 0.011507649905979633, -0.06927783787250519, 0.03406437486410141, -0.03665197268128395, 0.004607691429555416, -0.04656811058521271, 0.10962358117103577, -0.04760102927684784, 0.044936344027519226, -0.027575884014368057, -0.016430126503109932, 0.025533100590109825, -0.015871034935116768, -0.01082334853708744, -0.005040260497480631, 0.028027992695569992, -0.005895549897104502, -0.05393369868397713, 0.028949065133929253, -0.050113413482904434, -0.016270039603114128, -0.022616228088736534, 0.09856786578893661, 0.02502393163740635, 0.11487853527069092, -0.047476932406425476, 0.05115886405110359, -0.00012116689322283491, 0.017219731584191322, -0.11934124678373337, -0.003340544179081917, 0.0055525340139865875, 0.025460677221417427, -0.011267397552728653, 0.04493023455142975, -0.032261624932289124, -0.0836760550737381, 0.029732316732406616, -0.05890185758471489, -0.025712111964821815, -0.01644377037882805, -0.019591381773352623, -0.004885370377451181, -0.010349208489060402, -0.02045421488583088, 0.03954397514462471, 0.023943910375237465, 0.01745292916893959, 0.0003024222969543189, 0.012711063027381897, -0.03385899215936661, -0.010402534157037735, -0.016512829810380936, -0.04371606931090355, 0.02468878962099552, 0.03271400183439255, 0.04274458810687065, 0.06806491315364838, 0.037209827452898026, -0.06764844805002213, -0.0016359701985493302, -0.022765954956412315, 0.007422476541250944, 0.015157429501414299, 0.07961033284664154, -0.04855334758758545, -0.033159997314214706, 0.08269083499908447, 0.025691963732242584, 0.0425538569688797, 0.01724899932742119, -0.0006820856360718608, 0.02311249077320099, 0.016708487644791603, -0.029057787731289864, 0.0003056811692658812, 0.028411148115992546, -0.021770253777503967, 0.037020355463027954, -0.04493815824389458, -0.02252773381769657, 0.04375428333878517, -0.01593000255525112, -0.0526437908411026, 0.06364300847053528, 0.012879419140517712, -0.023858850821852684, -0.009423412382602692, 0.001818897551856935, -0.05359316244721413, 0.04865659773349762, 0.01633252017199993, -0.27095937728881836, 0.03658701851963997, 0.0379217155277729, 0.05913294479250908, 0.006699094548821449, -0.031039757654070854, 0.04975689947605133, -0.06111428141593933, -0.023439858108758926, 0.01928023062646389, 0.03144676610827446, 0.056202903389930725, -0.010432497598230839, 0.006754083558917046, 0.0017827397678047419, 0.012873836793005466, 0.05740968510508537, 0.03221423178911209, 0.0033958791755139828, -0.032999489456415176, 0.0202497448772192, -0.022137371823191643, 0.15054309368133545, 0.018238984048366547, 0.02011517807841301, 0.020099163055419922, 0.00204302161000669, 0.025883028283715248, 0.07250044494867325, 0.02115601673722267, 0.009957319125533104, -0.010159796103835106, 0.012975692749023438, -0.013478546403348446, 0.05985380709171295, -0.04834882542490959, -0.018745316192507744, 0.006522207986563444, 0.05099843814969063, 0.005080453585833311, -0.040847163647413254, 0.03634795919060707, 0.01396756712347269, 0.003665002528578043, 0.06681496649980545, -0.06531298905611038, 0.02297065779566765, 0.004888144321739674, -0.0322285033762455, 0.023475343361496925, -0.017979197204113007, -0.02504207193851471, -0.01965063065290451, -0.007673836778849363, 0.030877217650413513, 0.0994543731212616, 0.018061580136418343, -0.03827431797981262, 0.01728554256260395, -0.027378059923648834, -0.0016677523963153362, -0.04415464028716087, 0.13291142880916595, 0.016372468322515488, 0.036135416477918625 ]
[ 0.005320372059941292, 0.02748931758105755, -0.017835402861237526, -0.006240735296159983, 0.008507061749696732, -0.01617353968322277, -0.06854505091905594, 0.02111850120127201, -0.04683101177215576, 0.020501941442489624, -0.0019033458083868027, 0.02044832706451416, 0.04621423780918121, -0.027274200692772865, -0.01421796903014183, 0.003257634351029992, 0.014121881686151028, 0.05286984145641327, 0.0019951509311795235, -0.03597169741988182, -0.012860143557190895, 0.010660190135240555, 0.051687777042388916, -0.0056335520930588245, -0.008387591689825058, -0.0109157245606184, -0.023666515946388245, -0.021402791142463684, 0.019201580435037613, -0.11448648571968079, -0.03694384917616844, 0.01060543768107891, 0.026907552033662796, -0.021610824391245842, 0.0074424161575734615, 0.05162881314754486, 0.014300310984253883, -0.02042313851416111, 0.011920327320694923, -0.02494310960173607, 0.061973124742507935, -0.018911484628915787, -0.010676727630198002, 0.0032219192944467068, -0.011301547288894653, -0.03322790935635567, -0.03083375096321106, -0.018248965963721275, -0.0065097142942249775, -0.02478221245110035, -0.02519807033240795, 0.0019108133856207132, 0.07768821716308594, -0.02007831260561943, -0.04345706105232239, -0.037015724927186966, 0.019818952307105064, 0.004637856036424637, 0.025241991505026817, -0.022679215297102928, 0.0415143258869648, 0.02528267353773117, -0.013800154440104961, -0.02158099040389061, 0.005295366048812866, -0.028686359524726868, -0.0093538798391819, 0.0017335842130705714, -0.024486470967531204, 0.04469359666109085, -0.011470518074929714, -0.006176668684929609, 0.030241837725043297, -0.03203844279050827, -0.001934820436872542, -0.05887071415781975, 0.05375782027840614, -0.02662731148302555, -0.00024423643480986357, 0.049054019153118134, -0.033180974423885345, 0.020998287945985794, 0.011672981083393097, -0.009826201014220715, -0.015370252542197704, 0.010436909273266792, 0.03479931131005287, 0.03484652191400528, 0.011678365990519524, 0.025919219478964806, 0.011062860488891602, -0.021910985931754112, -0.026720648631453514, -0.006493678782135248, -0.08758604526519775, -0.00006663857493549585, -0.028422150760889053, 0.012985603883862495, -0.0031259458046406507, 0.7921053171157837, -0.055168360471725464, 0.0015396404778584838, 0.016200227662920952, -0.004736616276204586, 0.029550833627581596, 0.009844502434134483, 0.005411352496594191, -0.008488653227686882, -0.0136612169444561, -0.002785318298265338, 0.0060327984392642975, -0.021463511511683464, -0.0006084245978854597, -0.00026032153982669115, 0.01969490572810173, -0.02419489435851574, 0.018384041264653206, 0.010190206579864025, -0.006573134567588568, 0.03194330260157585, 0.08669660985469818, 0.01841360703110695, 0.033155687153339386, 0.03993052616715431, 0.01921267621219158, -0.20207840204238892, -0.019946733489632607, -7.597795981596347e-33, 0.03445925563573837, -0.07181251794099808, 0.022301731631159782, 0.006379111669957638, 0.024106968194246292, 0.03955720365047455, 0.01372346468269825, 0.023798296228051186, -0.05715511366724968, 0.011167336255311966, 0.01088059414178133, -0.011636817827820778, -0.0054353089071810246, -0.012649818323552608, -0.007908559404313564, 0.002776398789137602, -0.013941423036158085, 0.026876287534832954, 0.014870811253786087, 0.0016382953617721796, 0.022011715918779373, 0.021664613857865334, -0.047245316207408905, 0.02918114699423313, 0.027941323816776276, 0.012187104672193527, 0.0362347848713398, -0.024593308568000793, 0.023894233629107475, -0.044948726892471313, -0.021873891353607178, 0.008321416564285755, 0.016642069444060326, -0.01101505383849144, -0.023486236110329628, -0.04241661727428436, -0.033557262271642685, -0.019758986309170723, -0.0011960844276472926, -0.051245540380477905, 0.042142730206251144, -0.014365475624799728, 0.0005796275218017399, -0.07334952056407928, -0.021906832233071327, -0.03390202298760414, -0.00046897586435079575, 0.03181745111942291, 0.04312683641910553, 0.010189640335738659, 0.03404238820075989, -0.00441183615475893, 0.005954158492386341, 0.0028777809347957373, 0.006372188217937946, 0.006376033648848534, -0.023815393447875977, 0.018446164205670357, -0.012081773020327091, 0.010469593107700348, -0.022508282214403152, -0.03293158859014511, -0.014692520722746849, -0.01598440296947956, 0.004874508827924728, -0.05412907898426056, -0.009616537019610405, 0.03266802430152893, 0.0018381798872724175, 0.022536102682352066, -0.0709812119603157, -0.014696679078042507, -0.03580429032444954, 0.025670837610960007, -0.01563957706093788, -0.006658519152551889, 0.03747766092419624, 0.021490899845957756, -0.0030471577774733305, 0.04514123499393463, -0.005924620665609837, -0.00445439713075757, -0.05050856992602348, -0.008051708340644836, -0.006758231204003096, 0.038009077310562134, -0.024880992248654366, -0.04133165255188942, 0.0003038788272533566, 0.0015718573704361916, 0.01250014454126358, -0.0004057333280798048, -0.02738894708454609, -0.030867181718349457, -0.045371320098638535, 6.746404525078965e-33, 0.012956125661730766, -0.016437295824289322, 0.002717475639656186, 0.015549849718809128, 0.006378252990543842, -0.0034038706216961145, 0.015009131282567978, -0.03533077985048294, -0.048260368406772614, -0.0025256467051804066, -0.05193142965435982, 0.021227840334177017, -0.04204946383833885, 0.01910345070064068, 0.06653138995170593, -0.017651114612817764, 0.018202345818281174, -0.04671238735318184, 0.021081265062093735, -0.020452700555324554, -0.02909483201801777, 0.04666212946176529, 0.03515331819653511, 0.002506669843569398, 0.009724646806716919, 0.042320962995290756, -0.009166117757558823, 0.05632629245519638, 0.012199566699564457, 0.02608727291226387, 0.008208201266825199, -0.01819165237247944, 0.017565542832016945, 0.02016345225274563, -0.03008447028696537, 0.0262921005487442, -0.025635214522480965, 0.008691193535923958, 0.012430266477167606, 0.0045119090937078, 0.022604480385780334, 0.002612069947645068, 0.005578265059739351, -0.028869986534118652, -0.0010940056527033448, 0.01121696550399065, 0.010533144697546959, 0.01753365434706211, -0.004142881836742163, 0.007291748188436031, 0.007067250553518534, 0.021662594750523567, -0.026390893384814262, -0.012516497634351254, 0.005914931185543537, -0.04255789890885353, -0.051110606640577316, -0.029318364337086678, -0.0002841993700712919, -0.02770909108221531, 0.03380128741264343, 0.015328800305724144, -0.02245227061212063, 0.05649873614311218, -0.08311121165752411, -0.0004721895675174892, -0.01585548184812069, -0.0132332444190979, 0.013055574148893356, 0.02060195617377758, 0.019353149458765984, 0.05229990929365158, -0.001758378348313272, 0.030790604650974274, 0.025329716503620148, -0.007524832151830196, -0.027459872886538506, -0.010220964439213276, 0.01749967411160469, -0.0022433381527662277, -0.03459402173757553, 0.046308260411024094, -0.04656438156962395, 0.004266447387635708, 0.029477063566446304, -0.007998792454600334, -0.04128393158316612, 0.05431181937456131, 0.09919103980064392, -0.003507095854729414, 0.013536716811358929, 0.01781650446355343, -0.027707967907190323, 0.009705422446131706, -0.03285151720046997, -1.2555508632772217e-8, -0.0013216008665040135, -0.0019983937963843346, 0.00851074606180191, 0.06481662392616272, 0.024524115025997162, 0.007837261073291302, -0.03000319004058838, -0.05490710586309433, -0.01787395216524601, 0.022301483899354935, 0.03781821206212044, -0.01815512217581272, -0.0227038636803627, 0.01160772331058979, 0.04575887694954872, -0.03903039172291756, 0.03374403342604637, 0.007869981229305267, 0.0323265865445137, -0.013794631697237492, -0.06440127640962601, 0.043513450771570206, -0.017565734684467316, 0.023647747933864594, -0.0011109765619039536, 0.02185923419892788, 0.020337756723165512, -0.07862424105405807, -0.03677479550242424, -0.0069807772524654865, 0.028237029910087585, -0.006265082862228155, -0.02706296183168888, 0.019602173939347267, -0.026193924248218536, 0.0007879053009673953, -0.02771967649459839, 0.00018338767404202372, -0.015124176628887653, -0.006752288434654474, 0.026176493614912033, 0.013519535772502422, 0.01860562339425087, -0.034566909074783325, -0.051349036395549774, -0.02507689781486988, -0.0031575525645166636, 0.0316765196621418, 0.048821210861206055, -0.05620454624295235, 0.03171142190694809, 0.0038241788279265165, -0.035120707005262375, 0.03185533732175827, 0.04092101752758026, 0.02489241026341915, 0.02429055981338024, -0.033694252371788025, -0.01754392683506012, -0.01563895493745804, 0.04129203408956528, -0.006860845256596804, -0.020405661314725876, -0.027264634147286415 ]
sudo-sudo-i-sudo-su
https://markhneedham.com/blog/2012/07/04/sudo-sudo-i-sudo-su
false
2012-07-04 00:00:07
Debugging: Google vs The Manual
[ "software-development" ]
[ "Software Development" ]
Over the last six months or so I've worked with a bunch of different people and one of the things that I've noticed is that when something isn't working there tend to be two quite distinct ways that people go about trying to solve the problem. == The Manual The http://en.wikipedia.org/wiki/RTFM[RTFM] crowd will go straight for the official documentation or source code if needs be in an attempt to work through the problem from first principals. While this approach is more admirable it isn't always quicker, especially if the reason that something's gone wrong is because of an obscure dependency or something similar. That type of problem is unlikely to be documented! On the other hand, if you're an early adopter for something then you probably have no choice other than to read the source since the documentation probably doesn't yet exist! == Google The lazier amongst us will copy the error message and keep deleting parts of it until Google turns up a useful result. This approach works pretty well when working with popular software/tools where the likelihood of someone coming across the same problem and posting about it on a mailing list or blog is higher. It's often possible to work backwards from a similar problem that someone else has to solve your own problem. This approach works less well for obscure and/or proprietary software/tools where the community is less established and people haven't reported problems. == Overall A combination of the two approaches is what most people end up doing, although it's interesting watching how long they'll persist with their favoured approach before switching! I fall in the second camp and a reasonable percentage of my blog posts consist of me recording problems I experienced so that other people don't have to search for ages if they come across the same thing in future.
null
null
[ 0.024775614961981773, 0.014353033155202866, 0.020444072782993317, 0.04340708255767822, 0.09920477867126465, 0.01599166728556156, 0.02457473799586296, 0.04716116935014725, 0.005692679435014725, -0.02340305782854557, -0.029281189665198326, 0.02376115508377552, -0.061475757509469986, 0.03266674652695656, -0.0491122230887413, 0.08324294537305832, 0.06515464931726456, -0.0025916092563420534, 0.015202241949737072, -0.01656758040189743, 0.02836509980261326, 0.05144112557172775, -0.004773048218339682, 0.0049329111352562904, 0.020033642649650574, 0.010190782137215137, -0.004639987368136644, -0.011568684130907059, -0.072757788002491, -0.017421424388885498, 0.048962198197841644, 0.005670065991580486, 0.006033665034919977, -0.025032224133610725, 0.026344653218984604, -0.01020366232842207, -0.021924419328570366, 0.021985700353980064, -0.011212910525500774, 0.011138256639242172, -0.04640527814626694, 0.04540455713868141, -0.028610441833734512, 0.028409209102392197, -0.044008832424879074, 0.018004609271883965, -0.03285473957657814, 0.00319607718847692, 0.017186526209115982, -0.0028090213891118765, -0.0781785398721695, 0.04033968970179558, 0.01543718297034502, 0.01056053675711155, -0.010443776845932007, 0.051434293389320374, 0.02489214763045311, -0.04234140366315842, -0.006144624203443527, -0.01817171461880207, -0.0007177752559073269, -0.022068025544285774, -0.0011073590721935034, 0.027000609785318375, 0.006775069050490856, -0.03603252395987511, 0.021840251982212067, 0.058981139212846756, -0.03243323042988777, -0.004241178743541241, -0.0031825273763388395, -0.009502948261797428, -0.026250135153532028, -0.014658113941550255, 0.012297195382416248, -0.03457939252257347, 0.005355612374842167, 0.04995700344443321, 0.025249993428587914, 0.05391600355505943, -0.028404414653778076, 0.025404559448361397, -0.010828490369021893, 0.014803078025579453, -0.00855458527803421, -0.056412748992443085, 0.005972264334559441, -0.02448255941271782, -0.051266077905893326, 0.051799096167087555, 0.03885498642921448, -0.07867823541164398, 0.03290141373872757, 0.029919004067778587, -0.008664478547871113, -0.0004236221720930189, 0.03167194128036499, 0.0031661835964769125, 0.00007469359115930274, -0.02344280481338501, -0.014122562482953072, -0.017269060015678406, 0.002604664769023657, 0.030610283836722374, -0.07420185953378677, -0.0011204835027456284, -0.010268676094710827, 0.00726300897076726, 0.002690940396860242, -0.013280486688017845, 0.0026006228290498257, 0.05255703628063202, -0.04282725229859352, -0.003961906768381596, -0.08168807625770569, 0.0554032027721405, -0.007391028571873903, -0.054026246070861816, 0.007359909825026989, 0.0011652843095362186, 0.05797544866800308, 0.04199745133519173, -0.017359424382448196, 0.07330647110939026, -0.003082074923440814, 0.015304002910852432, -0.005263527389615774, 0.04939763620495796, -0.03712868317961693, -0.05021248757839203, -0.011243867687880993, 0.07175485044717789, -0.018901458010077477, -0.02360169216990471, 0.018697110936045647, -0.014111165888607502, 0.0031982199288904667, 0.009727259166538715, 0.02145383134484291, 0.020422371104359627, -0.0012155503500252962, -0.027217118069529533, -0.025036854669451714, 0.03363315388560295, 0.023001745343208313, -0.0061715953052043915, 0.0030365088023245335, -0.012903179973363876, -0.03258093446493149, -0.024448508396744728, 0.01599973812699318, 0.01989559270441532, 0.029498299583792686, -0.045678697526454926, 0.023058384656906128, 0.08394450694322586, 0.03905520960688591, 0.008504186756908894, -0.008858229964971542, 0.030129147693514824, 0.042587198317050934, 0.028741803020238876, -0.0104353167116642, 0.019149940460920334, -0.005342255812138319, -0.030256902799010277, -0.0015313915209844708, 0.04538225382566452, 0.023703621700406075, 0.03582853078842163, -0.06378374248743057, -0.057003118097782135, 0.060690104961395264, -0.05270015820860863, -0.041590698063373566, 0.07335818558931351, 0.08639256656169891, 0.040626656264066696, 0.038756996393203735, 0.02635820023715496, -0.08451483398675919, 0.05214625969529152, 0.004987834021449089, 0.010163514874875546, -0.005625729449093342, -0.02199697308242321, 0.0727560743689537, 0.010408145375549793, 0.010542365722358227, 0.031831201165914536, -0.08464394509792328, -0.10148032754659653, -0.006060486659407616, -0.022430192679166794, 0.061910901218652725, -0.0027348592411726713, 0.011553301475942135, 0.0748378187417984, 0.00480847992002964, 0.06447703391313553, 0.022430911660194397, 0.004529380705207586, 0.0026388117112219334, -0.048948537558317184, -0.06577296555042267, 0.06153884157538414, 0.04894421994686127, -0.010391054674983025, -0.033157169818878174, -0.0032599822152405977, -0.013763251714408398, 0.003138704923912883, 0.04608471319079399, -0.021425185725092888, 0.033548712730407715, 0.027585605159401894, 0.048433586955070496, -0.05029566213488579, 0.032193079590797424, -0.03259691596031189, 0.00899944081902504, -0.0007013492286205292, 0.01032488327473402, 0.03735702484846115, 0.006054325494915247, 0.11450686305761337, 0.06141756474971771, -0.034118346869945526, -0.018367771059274673, 0.018337177112698555, 0.03327950835227966, -0.012352271936833858, 0.015715748071670532, -0.008045684546232224, -0.0012122304178774357, 0.004956185817718506, -0.051841139793395996, -0.04283322021365166, 0.02781539410352707, -0.05034128949046135, -0.012422843836247921, 0.05747514218091965, -0.024399766698479652, 0.06880509853363037, -0.016996992751955986, -0.0027695135213434696, -0.03246447816491127, -0.025193654000759125, -0.04524475708603859, 0.014818310737609863, 0.04186730831861496, -0.0061288620345294476, 0.034175753593444824, -0.02628699503839016, -0.0034119458869099617, -0.03999727964401245, -0.0361483097076416, 0.022415298968553543, 0.04899461567401886, 0.060511838644742966, -0.014514087699353695, 0.05304531008005142, -0.009154925122857094, 0.026607856154441833, 0.009235529229044914, -0.03460893779993057, -0.03541242331266403, -0.02939193695783615, -0.02962389960885048, 0.03552772477269173, 0.0018131742253899574, 0.022364310920238495, -0.0023093591444194317, 0.02037457749247551, 0.0027296787593513727, -0.006415225565433502, 0.03551861643791199, -0.0032063531689345837, 0.001067434437572956, -0.032828476279973984, -0.0135023919865489, 0.046618785709142685, -0.04100524261593819, -0.03001887910068035, -0.008558378554880619, -0.06294640153646469, 0.036213137209415436, -0.056999921798706055, -0.05917604640126228, 0.0032742912881076336, -0.01055693905800581, 0.03718338534235954, 0.015000608749687672, 0.042794082313776016, 0.06623385846614838, 0.004065041895955801, 0.008411326445639133, -0.005762992426753044, 0.006163080222904682, 0.05019289627671242, 0.01068743597716093, -0.005086635705083609, 0.04493188485503197, -0.002506983932107687, -0.01967889443039894, -0.047127559781074524, 0.04577234387397766, -0.03809318318963051, -0.3085724413394928, 0.03224194049835205, 0.004588136449456215, -0.04346710443496704, 0.01495971716940403, -0.029872003942728043, 0.018682949244976044, -0.04538751393556595, -0.027351761236786842, 0.029050540179014206, -0.013917452655732632, -0.04018007218837738, -0.018626101315021515, 0.03947649896144867, -0.003848449792712927, 0.024999985471367836, 0.021690865978598595, -0.018281396478414536, 0.0029334116261452436, 0.042868174612522125, -0.02005106396973133, -0.058539632707834244, 0.001264336984604597, 0.027119889855384827, 0.05907798931002617, 0.0474403016269207, -0.0719301626086235, 0.05571005120873451, -0.05714064836502075, -0.0009247293928638101, -0.0009231144795194268, -0.009688623249530792, -0.01023994293063879, -0.03124912828207016, -0.020473221316933632, -0.025982830673456192, 0.056798119097948074, 0.018700582906603813, -0.005437414161860943, 0.0027454623486846685, -0.011342127807438374, -0.020567219704389572, 0.005038796458393335, 0.0032982768025249243, 0.06029309332370758, 0.002846719929948449, -0.083762027323246, -0.020392322912812233, -0.03241034597158432, 0.07258716225624084, -0.03950202465057373, -0.03976146876811981, -0.014621153473854065, 0.04439486190676689, 0.012547280639410019, -0.005426948424428701, -0.009755408391356468, -0.01669710874557495, -0.03253727778792381, -0.020449010655283928, -0.006472270470112562, -0.038811225444078445, -0.017489293590188026, -0.025198139250278473, -0.013149971142411232, -0.05881650373339653, -0.07340347021818161, -0.038197144865989685, 0.08506641536951065, 0.016104688867926598, -0.042241647839546204, 0.034244999289512634, 0.015560034662485123, -0.08882522583007812, 0.006017318926751614, -0.006327483803033829, -0.025639962404966354, 0.01977132447063923, 0.002089087385684252, 0.042076874524354935, -0.036809634417295456, -0.057011038064956665, 0.03587361425161362, 0.011979162693023682, 0.02075941301882267, -0.030477682128548622, 0.02781599946320057, 0.027305547147989273, -0.03279401361942291, 0.01258690096437931, 0.07854090631008148, -0.004966617561876774, -0.033108633011579514, -0.010745035484433174, 0.02069280669093132, 0.004197379108518362, 0.030895303934812546, -0.010535217821598053, 0.01468459703028202, 0.045077916234731674, -0.0019013590645045042, -0.06827178597450256, 0.03610491380095482, -0.026819778606295586, -0.0064686015248298645, -0.005209188908338547, -0.03989333286881447, 0.01364966295659542, 0.046980395913124084, 0.024716971442103386, -0.01247913297265768, -0.02352866716682911, 0.010600951500236988, -0.03493225947022438, -0.05631592124700546, -0.00939494464546442, 0.011790856719017029, 0.040010716766119, -0.009776565246284008, -0.03297291696071625, -0.018442297354340553, 0.012420741841197014, -0.013369747437536716, 0.014041101559996605, -0.07573537528514862, -0.00817214883863926, -0.009847024455666542, -0.028012430295348167, 0.024833213537931442, 0.034448619931936264, -0.035694293677806854, 0.017586609348654747, 0.02717641554772854, -0.04304996132850647, 0.023701202124357224, -0.041535887867212296, -0.046523042023181915, -0.025834202766418457, 0.001053489395417273, -0.024613328278064728, -0.01060517504811287, 0.024411329999566078, -0.006389834452420473, -0.0039893644861876965, 0.0608341321349144, -0.001266765408217907, 0.02810714766383171, -0.013872998766601086, 0.027318120002746582, 0.003947372082620859, -0.0189054012298584, -0.07753447443246841, 0.029116835445165634, -0.03276311978697777, -0.024575484916567802, -0.027833908796310425, 0.03363460674881935, -0.019114967435598373, -0.033182431012392044, 0.004710737615823746, 0.010740469209849834, -0.061999544501304626, -0.03273376449942589, -0.021909156814217567, 0.026845144107937813, 0.04579521715641022, -0.019753381609916687, 0.024419860914349556, -0.0007846910157240927, 0.002976850839331746, 0.031069371849298477, 0.011032698675990105, -0.029505550861358643, -0.010546569712460041, 0.017157865688204765, 0.013452831655740738, -0.01808498241007328, 0.015667002648115158, 0.04733149707317352, 0.02320554107427597, -0.011637430638074875, -0.038714732974767685, -0.007379730697721243, 0.00378600787371397, 0.04349676892161369, -0.01118882279843092, -0.01185619831085205, -0.014170072972774506, -0.028888441622257233, -0.02677414007484913, -0.03618389368057251, 0.0008876954670995474, 0.011116581968963146, 0.03728509694337845, -0.03555997461080551, -0.09546089172363281, 0.043001819401979446, 0.018340524286031723, 0.016255296766757965, 0.013650411739945412, -0.03244227543473244, 0.0009604546939954162, -0.036556072533130646, 0.022203566506505013, 0.04550444707274437, -0.07013867050409317, 0.005442161578685045, -0.011760526336729527, -0.017521774396300316, 0.02734735608100891, -0.009264834225177765, -0.03761627525091171, -0.033933863043785095, -0.028432734310626984, 0.004504704382270575, -0.08577942848205566, -0.012077528983354568, -0.018853142857551575, 0.02502996288239956, -0.004589275922626257, -0.00821383111178875, -0.01655588671565056, -0.022268204018473625, -0.00416521867737174, -0.023297708481550217, 0.0022357639390975237, -0.03156222775578499, -0.018223809078335762, -0.006601881235837936, -0.047540586441755295, 0.006740529090166092, -0.028832996264100075, 0.028390251100063324, 0.030816560611128807, -0.02658507227897644, 0.00991465337574482, -0.022377295419573784, 0.005330035462975502, -0.003303329925984144, 0.030295010656118393, -0.007650361862033606, -0.020901570096611977, -0.020901480689644814, -0.015684103593230247, -0.03031410463154316, 0.016382543370127678, -0.03155110776424408, -0.0036881775595247746, 0.013871519826352596, 0.0772278904914856, 0.03830058127641678, 0.04757816344499588, -0.02394316904246807, -0.01594638079404831, 0.05132022872567177, -0.06243593990802765, -0.01460918691009283, -0.039873626083135605, -0.053098272532224655, 0.02239246480166912, 0.030652489513158798, 0.004987611435353756, -0.017814749851822853, 0.011863220483064651, 0.02911614626646042, 0.040772564709186554, 0.016723521053791046, -0.009261383675038815, 0.034759074449539185, -0.07024192065000534, -0.004723919555544853, -0.06428580731153488, 0.01833396591246128, 0.023061340674757957, -0.0036496147513389587, -0.0253444854170084, -0.007520922459661961, -0.01516014989465475, 0.029555421322584152, -0.058984141796827316, -0.02591078169643879, 0.0030566223431378603, -0.011714995838701725, -0.01463964581489563, 0.018684767186641693, -0.06694197654724121, 0.029757384210824966, 0.04120294377207756, -0.050545237958431244, -0.0366932637989521, -0.03109741024672985, 0.056113351136446, 0.01161451730877161, 0.03814534842967987, -0.031156053766608238, -0.03203979879617691, 0.05808744579553604, 0.030570289120078087, -0.008005182258784771, 0.05312645807862282, -0.010668440721929073, 0.031099986284971237, 0.06273277848958969, 0.0015747578581795096, 0.0061593372374773026, 0.011974488385021687, -0.011549043469130993, -0.05594394728541374, 0.029520828276872635, -0.0008874607738107443, -0.014734705910086632, -0.02841406874358654, 0.06361759454011917, 0.026188924908638, -0.016196424141526222, -0.06791986525058746, 0.026027945801615715, -0.04580771178007126, -0.003887986997142434, -0.03103547915816307, -0.023497868329286575, -0.042450759559869766, 0.052666500210762024, 0.011185768060386181, 0.011303704231977463, 0.0701320469379425, 0.001127393450587988, 0.004105356056243181, -0.015436460264027119, 0.088864766061306, 0.08767528831958771, 0.059978187084198, 0.0023133025970309973, 0.06374572962522507, -0.008813749998807907, -0.04313528165221214, 0.014437641017138958, 0.0007449473487213254, -0.030797237530350685, -0.017298586666584015, 0.007303002756088972, 0.04541711509227753, -0.013693616725504398, 0.06891176104545593, -0.006669816095381975, -0.009956506080925465, -0.0004573049664031714, 0.025935009121894836, 0.001737432787194848, 0.03333601728081703, -0.003870663931593299, 0.002993394620716572, -0.02590727061033249, -0.024091746658086777, 0.035139940679073334, -0.04625866934657097, -0.019123634323477745, 0.041561856865882874, -0.018292080610990524, 0.0072726234793663025, 0.011359132826328278, 0.009612283669412136, 0.067632757127285, -0.03268232196569443, 0.020592285320162773, -0.012102506123483181, 0.044199757277965546, -0.024231374263763428, 0.030498195439577103, -0.011660945601761341, -0.019406741484999657, 0.004275124985724688, -0.034824445843696594, -0.0034749202895909548, -0.014271666295826435, -0.026011759415268898, 0.046470433473587036, -0.02872592769563198, -0.0061635784804821014, 0.028667256236076355, -0.011961976997554302, -0.03249168023467064, -0.03737526759505272, -0.030526136979460716, -0.04953024536371231, -0.04498989135026932, -0.00020710726676043123, -0.0017207706114277244, 0.003114986466243863, -0.03346623107790947, -0.013362223282456398, -0.05314450338482857, -0.051854100078344345, 0.028029585257172585, -0.07390327006578445, -0.0375249907374382, 0.008386829867959023, 0.01378067210316658, 0.008708211593329906, 0.025194203481078148, 0.039772436022758484, -0.011916807852685452, -0.011327287182211876, -0.00402286509051919, 0.02466450072824955, 0.02224673144519329, -0.009799059480428696, 0.003138640895485878, -0.0895984098315239, 0.03426968306303024, 0.004055252764374018, 0.000546240305993706, -0.05455658212304115, 0.029903465881943703, 0.01871601492166519, -0.03076382912695408, 0.05870464816689491, -0.01747223176062107, 0.0176361296325922, -0.03789374232292175, 0.012361106462776661, -0.024579107761383057, 0.006955296266824007, 0.05056161433458328, -0.01688339374959469, 0.077931247651577, 0.04201413318514824, 0.005646721925586462, -0.05119123309850693, -0.008688682690262794, -0.0014984976733103395, -0.0012644263915717602, -0.027073193341493607, -0.034551188349723816, -0.03172856941819191, -0.08545351773500443, -0.04013817012310028, 0.019561173394322395, -0.01294188853353262, -0.026692653074860573, 0.023754030466079712, 0.012539729475975037, -0.029872629791498184, 0.03795493021607399, -0.041593752801418304, 0.016322815790772438, -0.01608777604997158, -0.0025629799347370863, -0.002109160413965583, 0.027270974591374397, 0.003862228477373719, -0.003445517970249057, 0.018432144075632095, -0.046569161117076874, 0.025469815358519554, -0.004570382181555033, 0.03210679441690445, 0.026336444541811943, 0.017285194247961044, 0.002832012716680765 ]
[ -0.09223414212465286, -0.022221405059099197, -0.009999189525842667, -0.026553800329566002, 0.05104723572731018, -0.05098371207714081, -0.024630678817629814, 0.03234963119029999, -0.03863155469298363, -0.028093069791793823, 0.004735265392810106, -0.00930328294634819, 0.0053200372494757175, -0.015040441416203976, 0.06715789437294006, 0.026806561276316643, 0.006642234046012163, -0.08846751600503922, 0.04305586218833923, 0.033952899277210236, 0.006557342130690813, -0.008720692247152328, -0.03872387483716011, -0.010232041589915752, -0.013723110780119896, 0.031223541125655174, 0.019016819074749947, -0.029603321105241776, -0.007277220953255892, -0.18412281572818756, -0.00975702702999115, 0.008714319206774235, 0.048845358192920685, -0.007345338352024555, 0.025551626458764076, 0.04079670459032059, 0.013291196897625923, 0.01910518854856491, -0.005348224192857742, 0.0246889628469944, 0.012323953211307526, 0.012578120455145836, -0.058253321796655655, -0.053472358733415604, 0.039167795330286026, 0.02403881773352623, 0.013423949480056763, -0.030284656211733818, -0.0018451722571626306, 0.00907917134463787, -0.06223910674452782, -0.004279978107661009, -0.007601811550557613, -0.023103127256035805, -0.03121260553598404, 0.03099881298840046, 0.0464789904654026, 0.07758334279060364, 0.004688785877078772, 0.0162635687738657, 0.025835176929831505, -0.019022900611162186, -0.12572848796844482, 0.09470661729574203, 0.04309535399079323, 0.07247252017259598, -0.01794821210205555, -0.038211554288864136, -0.027036122977733612, 0.07290198653936386, 0.004041128791868687, -0.026624217629432678, -0.03691662475466728, 0.040948621928691864, 0.017205914482474327, -0.002073117531836033, 0.017315857112407684, 0.02280207723379135, 0.008183790370821953, -0.05029959976673126, -0.03877776116132736, -0.0027443389408290386, -0.02287862077355385, -0.022286219522356987, -0.05222166329622269, 0.008326779119670391, 0.00402603717520833, 0.06871896237134933, 0.02718355879187584, 0.021360421553254128, 0.05221378803253174, 0.005490466952323914, 0.057211894541978836, 0.007162748835980892, -0.08154250681400299, -0.01600002869963646, 0.009116768836975098, 0.030772771686315536, -0.058867428451776505, 0.4714083969593048, -0.01570928283035755, -0.02524592913687229, 0.09366445243358612, 0.02037222683429718, 0.002819822635501623, 0.0015676546609029174, -0.01450890488922596, -0.031857918947935104, 0.0012784653808921576, -0.028853191062808037, 0.024016689509153366, 0.015208320692181587, 0.06630458682775497, -0.02646626904606819, 0.009146630764007568, 0.00666881212964654, 0.01129021868109703, 0.009799199178814888, 0.007424211595207453, -0.023597247898578644, -0.030299123376607895, 0.0037303301505744457, 0.032742761075496674, -0.001763493986800313, -0.004818058107048273, -0.05400118604302406, 0.007292057853192091, 0.05261876806616783, 0.019771862775087357, -0.0010216070804744959, 0.05471359193325043, -0.05296050012111664, -0.05512985959649086, 0.00784988235682249, -0.0022424766793847084, -0.0006035527912899852, 0.020046284422278404, -0.017800074070692062, -0.0036550399381667376, 0.046263687312603, 0.00767755089327693, -0.025312110781669617, 0.012455102987587452, -0.00622895173728466, -0.0503409169614315, 0.11592318117618561, 0.014314348809421062, -0.01761067844927311, -0.03153519704937935, -0.06899794936180115, 0.015983493998646736, 0.02901529148221016, 0.000797098153270781, -0.05776173248887062, 0.043503955006599426, 0.014053940773010254, 0.1187036782503128, -0.01800798997282982, -0.06718254089355469, 0.005400339141488075, 0.0034602447412908077, -0.036306705325841904, -0.05679798126220703, 0.0313393697142601, 0.03959992900490761, -0.0875682607293129, 0.003744950518012047, 0.0025781465228646994, 0.016802793368697166, -0.05931694060564041, -0.01955963298678398, 0.011647620238363743, 0.0068245502188801765, -0.0174556914716959, 0.016072874888777733, -0.04011562839150429, -0.026809370145201683, 0.026186343282461166, 0.04602930322289467, 0.002006071386858821, 0.020819691941142082, 0.0179137010127306, -0.027289874851703644, 0.0004105940170120448, -0.04000037536025047, -0.08579029142856598, -0.03439364582300186, 0.011692825704813004, -0.017044799402356148, -0.0015431437641382217, -0.020069358870387077, -0.04949428513646126, -0.08629686385393143, 0.08149003237485886, -0.028027955442667007, -0.02650081366300583, -0.02258257381618023, -0.0030710832215845585, 0.0028366001788526773, -0.01426369696855545, -0.03914164751768112, 0.01447867788374424, -0.00354000274091959, 0.0101726483553648, -0.06085103377699852, 0.06414872407913208, 0.04732898622751236, -0.06475865840911865, 0.07761427015066147, 0.03324331343173981, -0.026423828676342964, -0.023169435560703278, 0.027294408529996872, 0.024344030767679214, 0.007499740459024906, -0.017743689939379692, 0.004556949250400066, 0.03261914476752281, 0.028993291780352592, 0.05154116451740265, -0.026010625064373016, 0.007668779231607914, -0.027070943266153336, -0.3343188464641571, -0.059863436967134476, -0.040668997913599014, 0.031533896923065186, 0.011749675497412682, -0.0656421035528183, 0.023795517161488533, -0.006967183202505112, -0.027579206973314285, 0.020799702033400536, 0.0829135999083519, -0.021366536617279053, 0.015103437006473541, -0.0918755829334259, 0.008685646578669548, 0.00014130788622424006, -0.03645619377493858, -0.009075414389371872, -0.03061511367559433, 0.007760210428386927, -0.022889524698257446, -0.02436862699687481, -0.01693689078092575, -0.07264622300863266, -0.007015520241111517, -0.03432314470410347, 0.09372314810752869, 0.008460603654384613, 0.0773271918296814, -0.039206504821777344, 0.03729874640703201, -0.017875760793685913, 0.026550831273198128, -0.11043618619441986, 0.0023852225858718157, -0.00025358994025737047, 0.003000275930389762, -0.01487833634018898, 0.022834496572613716, -0.02611161768436432, -0.054922401905059814, 0.009848169982433319, -0.06191191077232361, -0.010205508209764957, -0.07221794128417969, 0.01623586378991604, -0.044481467455625534, -0.022294918075203896, -0.052951786667108536, 0.08152572065591812, 0.0066689541563391685, 0.008251771330833435, 0.0071000512689352036, 0.022168435156345367, 0.0010116447228938341, -0.029119377955794334, -0.07572158426046371, 0.021629849448800087, 0.03067370504140854, -0.024055831134319305, 0.03964685648679733, 0.062079209834337234, 0.04747486859560013, -0.07059674710035324, 0.006397409364581108, 0.014193287119269371, -0.015493451617658138, 0.019790107384324074, 0.049169376492500305, -0.002177837071940303, -0.004304935690015554, 0.14442244172096252, -0.023036973550915718, 0.0142460772767663, -0.00015041227743495256, 0.04301247000694275, -0.0009395970264449716, 0.0045545343309640884, 0.0069217318668961525, -0.03340596705675125, 0.028692882508039474, -0.023822268471121788, 0.033035747706890106, -0.02399105206131935, -0.008110521361231804, 0.05492580309510231, -0.03665803000330925, -0.04571256414055824, 0.07171179354190826, 0.013176062144339085, -0.00924050435423851, -0.005147334188222885, -0.016741961240768433, -0.07020039856433868, 0.07523708045482635, 0.013796067796647549, -0.2241751104593277, 0.013947293162345886, 0.07043890655040741, 0.05332737788558006, -0.024597233161330223, 0.0364299900829792, 0.023057423532009125, -0.03263162821531296, 0.013488071039319038, 0.017148904502391815, 0.011716656386852264, 0.028156543150544167, -0.027375278994441032, -0.015125475823879242, 0.045276932418346405, -0.014765667729079723, 0.04288462921977043, -0.01334025152027607, 0.008727414533495903, -0.012934953905642033, -0.00035913498140871525, 0.010204039514064789, 0.1312376707792282, 0.0030956838745623827, 0.014353838749229908, 0.010463480837643147, 0.01350540854036808, 0.021454893052577972, 0.06496794521808624, 0.00029481889214366674, -0.021404732018709183, -0.00748682115226984, 0.011949344538152218, 0.011522074230015278, 0.0249275341629982, -0.07227852195501328, -0.03277576342225075, 0.0208779014647007, 0.03858164697885513, 0.003817823715507984, 0.01133586373180151, 0.018718527629971504, -0.017007963731884956, 0.025859996676445007, 0.05263388529419899, 0.009765897877514362, 0.018842902034521103, -0.03293569013476372, -0.06077638640999794, -0.0013830193784087896, -0.03203115984797478, -0.042085904628038406, -0.004795332904905081, 0.006128418259322643, 0.008877972140908241, 0.07113198190927505, 0.02393186464905739, -0.01667749509215355, 0.017006129026412964, 0.008884167298674583, -0.01785276271402836, -0.03761056065559387, 0.11347139626741409, 0.030024345964193344, 0.04610171541571617 ]
[ -0.026833241805434227, 0.0025546683464199305, -0.0030133307445794344, 0.026909364387392998, 0.0009298365330323577, -0.022666333243250847, 0.021007440984249115, 0.01860092394053936, -0.005719086155295372, 0.024529822170734406, 0.004511530511081219, 0.00505828158929944, 0.0373738631606102, -0.0014361204812303185, 0.019276678562164307, -0.03342640772461891, -0.027061743661761284, -0.022803984582424164, 0.03771275654435158, -0.005909370258450508, -0.05170780420303345, 0.028329763561487198, 0.0031528782565146685, 0.0011274866992607713, -0.014943845570087433, 0.027580702677369118, -0.03311077505350113, -0.02261221967637539, 0.044682372361421585, -0.10913628339767456, -0.025823961943387985, -0.0012885791948065162, -0.00015774501662235707, -0.011889292858541012, -0.006287309806793928, 0.014497119933366776, 0.01654083840548992, 0.001539365155622363, -0.011632667854428291, -0.004089763853698969, -0.004041946027427912, -0.020788753405213356, -0.012823758646845818, 0.012677155435085297, -0.0007583899423480034, -0.03800498694181442, -0.0009452239610254765, -0.003359707770869136, -0.011138468980789185, -0.021346045657992363, -0.04479243978857994, -0.002782550174742937, -0.01340769324451685, 0.023050596937537193, -0.0006529316306114197, 0.006365123670548201, 0.002499185036867857, 0.015514270402491093, -0.002304753754287958, 0.001880035037174821, -0.008592984639108181, -0.026537325233221054, -0.07473697513341904, -0.02873891592025757, -0.0007389669772237539, -0.0016634071944281459, -0.005273420363664627, 0.00875009410083294, 0.006714936345815659, 0.025909151881933212, -0.02839243784546852, 0.032798875123262405, -0.0365852490067482, -0.009724675677716732, 0.016876880079507828, 0.0068649714812636375, 0.01942404732108116, -0.014616018161177635, 0.007767146453261375, -0.005095991306006908, -0.035350702702999115, 0.03955654054880142, 0.02021355926990509, -0.017537767067551613, 0.003991096280515194, -0.008991871029138565, 0.008951111696660519, -0.005823743995279074, 0.03127886354923248, 0.02044614590704441, -0.0037219638470560312, 0.025983156636357307, 0.011358216404914856, -0.003224773332476616, -0.07975007593631744, -0.011758442968130112, -0.0037241859827190638, -0.01181887835264206, 0.014870741404592991, 0.8744470477104187, 0.003911633510142565, 0.007279067300260067, 0.020078156143426895, -0.02597676031291485, 0.030955476686358452, -0.008167371153831482, -0.035058747977018356, 0.0042386483401060104, 0.019677912816405296, -0.04403840750455856, 0.0046606059186160564, 0.011552384123206139, 0.021649472415447235, 0.023773279041051865, 0.02951463870704174, 0.014674563892185688, 0.011544502340257168, 0.0012781230034306645, -0.004330757539719343, 0.006676892284303904, 0.011133644729852676, 0.008448685519397259, -0.0026159982662647963, 0.0011794600868597627, 0.025635525584220886, -0.18774421513080597, -0.0009537730948068202, -8.509366871404076e-33, 0.025589508935809135, 0.008942379616200924, 0.002115200273692608, -0.005442940164357424, -0.012856449000537395, 0.016614191234111786, 0.019152088090777397, 0.026041075587272644, -0.007821831852197647, -0.011494006030261517, 0.007496877573430538, -0.006765786092728376, -0.0031573560554534197, -0.029987609013915062, 0.035140953958034515, -0.016127683222293854, -0.026927338913083076, 0.056205496191978455, -0.0176551453769207, 0.02242209203541279, 0.007466771639883518, 0.02070743404328823, -0.002977150259539485, -0.017208019271492958, 0.02151912823319435, 0.01759939081966877, 0.016729213297367096, 0.000783846655394882, -0.004071700852364302, -0.049816422164440155, -0.00947811920195818, 0.012791525572538376, -0.03280143812298775, -0.020049702376127243, 0.010440782643854618, -0.05182285234332085, -0.04550080746412277, 0.001315946807153523, -0.031397879123687744, -0.02817464992403984, -0.02815684676170349, 0.018634598702192307, -0.05060736462473869, 0.0073137711733579636, 0.01719086244702339, 0.00840077642351389, 0.015172572806477547, -0.005858872551470995, 0.022772736847400665, -0.018610753118991852, 0.006386199500411749, 0.01154612097889185, -0.011793377809226513, 0.019579922780394554, -0.010757800191640854, 0.01752469316124916, -0.0002697435556910932, 0.02086196094751358, 0.020980875939130783, 0.019412003457546234, 0.024154553189873695, -0.007335623726248741, -0.023611880838871002, 0.03580142557621002, -0.006037559825927019, -0.024763409048318863, 0.024185793474316597, -0.00434467475861311, -0.00046219705836847425, -0.008503233082592487, -0.02737043984234333, -0.03637000918388367, -0.016034696251153946, 0.0026474911719560623, 0.02831876091659069, 0.008130374364554882, 0.006286780349910259, 0.014824267476797104, -0.020885653793811798, 0.03751658275723457, -0.024161262437701225, 0.006159069482237101, 0.004574021324515343, -0.026141636073589325, -0.017142603173851967, -0.01112208142876625, 0.01894356869161129, -0.004297303501516581, -0.026246389374136925, 0.004466136917471886, 0.04672766104340553, 0.021092526614665985, -0.0059112547896802425, -0.020196255296468735, -0.015440236777067184, 8.550697987462957e-33, -0.00917616207152605, -0.02531980723142624, 0.0023694531992077827, -0.0063154082745313644, -0.008154047653079033, -0.003984869457781315, 0.023369673639535904, 0.014165716245770454, -0.034572895616292953, 0.017573021352291107, 0.01794317178428173, 0.015257314778864384, -0.03632855787873268, 0.04048500955104828, 0.028548097237944603, -0.03547253459692001, 0.017983827739953995, -0.029563330113887787, 0.005428878124803305, 0.00931703019887209, 0.00537201389670372, -0.014383270405232906, 0.00789940357208252, 0.01625370793044567, 0.02059917524456978, 0.06189969182014465, -0.0016658523818477988, 0.025437112897634506, 0.009498522616922855, -0.0004985658451914787, 0.016475757583975792, -0.02450132928788662, 0.011595742776989937, 0.0024337645154446363, 0.016596904024481773, 0.006935711018741131, 0.002654298907145858, -0.03893193230032921, 0.004191001411527395, 0.009371905587613583, 0.03733118623495102, 0.011975030414760113, 0.018438033759593964, 0.010307165794074535, -0.016866182908415794, 0.0034977388568222523, -0.002891100710257888, -0.009125511161983013, -0.03502649813890457, 0.0028138060588389635, 0.016636135056614876, 0.013691960833966732, 0.014634845778346062, -0.017190875485539436, -0.002281760796904564, -0.01284535601735115, -0.028165481984615326, 0.00017115779337473214, -0.0007862233323976398, 0.012799276039004326, 0.00896646361798048, 0.0061737168580293655, -0.015645800158381462, 0.001087866025045514, -0.04143157973885536, -0.023236466571688652, 0.01064789667725563, 0.010096586309373379, -0.009136572480201721, 0.013572972267866135, 0.008247765712440014, 0.032311663031578064, 0.006736269220709801, 0.01602867804467678, 0.013990490697324276, 0.010287470184266567, 0.00195735739544034, -0.0002611775416880846, -0.025538068264722824, 0.006193176843225956, 0.022560974583029747, 0.001281201490201056, 0.00808943435549736, 0.005954737775027752, -0.029053695499897003, 0.02730465866625309, -0.014909761026501656, 0.02929130382835865, -0.0017866558628156781, -0.01477719470858574, 0.007174018304795027, -0.04381739720702171, 0.005099823698401451, 0.04221270605921745, 0.028761623427271843, -1.4040422158245747e-8, -0.008096922188997269, -0.003626457182690501, -0.014955651015043259, 0.009356316179037094, 0.018387913703918457, 0.023438500240445137, -0.015247322618961334, -0.0033506439067423344, -0.054044224321842194, 0.02270781248807907, 0.052557382732629776, -0.03311285376548767, -0.01010079775005579, 0.014273337088525295, 0.01022937148809433, -0.054146215319633484, -0.0346488431096077, -0.025510475039482117, 0.015313566662371159, 0.0016032839193940163, 0.03587721288204193, 0.041312094777822495, 0.0022931736893951893, -0.013603421859443188, 0.027809008955955505, 0.007800383493304253, 0.01202982198446989, -0.05907342582941055, -0.017180345952510834, -0.02337789535522461, 0.02388230711221695, -0.035711683332920074, -0.05211491510272026, 0.04560314118862152, -0.008818537928164005, -0.04330979660153389, 0.01322893239557743, -0.01203495915979147, -0.019304610788822174, -0.0027896652463823557, -0.0024232619907706976, 0.012485564686357975, -0.01636563427746296, -0.015495571307837963, -0.03097538836300373, 0.0028617961797863245, -0.016477396711707115, -0.019790641963481903, 0.02964230440557003, -0.04102231562137604, 0.015165071003139019, -0.008892315439879894, 0.010816502384841442, 0.03452624753117561, 0.012434317730367184, 0.005478667560964823, 0.006744542624801397, -0.00861190166324377, -0.05862186476588249, 0.009439080953598022, -0.003457568818703294, 0.060094937682151794, -0.00299342954531312, -0.020261777564883232 ]
debugging-google-vs-the-manual
https://markhneedham.com/blog/2012/07/04/debugging-google-vs-the-manual
false
2012-07-05 23:42:35
Bash Shell: Reusing parts of previous commands
[ "shell" ]
[ "Shell Scripting" ]
I've paired a few times with my colleague https://twitter.com/#!/philandstuff[Phil Potter] over the last couple of weeks and since he's a bit of a ninja with bash shortcuts/commands I wanted to record some of the things he's shown me so I won't forget them! Let's say we're in the '/tmp' directory and want to create a folder a few levels down but forget to pass the '-p' option to 'mkdir': [source,text] ---- $ mkdir blah/de/blah mkdir: cannot create directory `blah/de/blah': No such file or directory ---- One way of fixing that would be to press the up arrow and navigate along the previous command and put in the '-p' flag but it's a bit fiddly so instead we can do the following: [source,text] ---- $ ^mkdir^mkdir -p mkdir -p blah/de/blah ---- The '^' allows us to replace any parts of the previous command and then run it again, so we could actually make that more concise if we wanted to: [source,text] ---- $ ^r^r -p mkdir -p blah/de/blah ---- Reasonably frequently after we've created a folder like this we'll want to create a file inside it. '!$' comes in handy here as it allows us to refer to the last argument passed to the last command: [source,text] ---- $ touch !$/blah.xml touch blah/de/blah/blah.xml ---- If we decide to remove that file and want to check it's been deleted we can run the following: [source,text] ---- $ touch blah/de/blah/blah.xml $ rm blah/de/blah/blah.xml $ ls -alh !$:h ls -alh blah/de/blah total 8.0K drwxr-xr-x 2 mneedham mneedham 4.0K 2012-07-05 16:26 . drwxr-xr-x 3 mneedham mneedham 4.0K 2012-07-05 16:16 .. ---- The ':h' http://www.gnu.org/software/bash/manual/html_node/Modifiers.html#Modifiers[modifier] removes the file name and leaves the rest of the file path alone. We can expand the value of '!$' or any other command by typing 'Esc' followed by '^' (Shift 6): [source,text] ---- mneedham@ubuntu:/tmp$ mkdir -p blah/de/blah mneedham@ubuntu:/tmp$ touch !$ ---- Esc + {caret} [source,text] ---- $ mkdir -p blah/de/blah $ touch blah/de/blah ---- If we get carried away with modifiers we could also fix that first 'mkdir' command by making use of the 'substitution' modifier: [source,text] ---- $ mkdir blah/de/blah mkdir: cannot create directory `blah/de/blah': No such file or directory $ !!:s/r/r -p mkdir -p blah/de/blah ---- There's not really any reason I can think of why you'd want to use that when you can use the initial '^' approach though! I came across http://samrowe.com/wordpress/advancing-in-the-bash-shell/[this blog post which explains how to do this type of thing and much more in the bash shell] - worth a read!
null
null
[ -0.01545059122145176, -0.011450526304543018, -0.021127475425601006, 0.06207294017076492, 0.09532054513692856, 0.001287818537093699, 0.006317089777439833, 0.017057327553629875, 0.0006233771564438939, -0.026285378262400627, -0.0383891835808754, 0.02153744176030159, -0.047630127519369125, 0.0011566986795514822, -0.013743486255407333, 0.05406448245048523, 0.06174636632204056, -0.0017908844165503979, 0.020767228677868843, -0.016968758776783943, 0.03891628980636597, 0.053033001720905304, -0.0015028311172500253, 0.023518310859799385, 0.020713798701763153, 0.03759358078241348, 0.016320016235113144, -0.01598788984119892, -0.07394053786993027, -0.008241047151386738, 0.024993907660245895, -0.02262832783162594, 0.03481677174568176, -0.007484738714993, 0.017916200682520866, -0.02315364219248295, -0.023478589951992035, 0.006384230684489012, 0.02308516763150692, 0.009751456789672375, -0.04487350955605507, 0.04192264378070831, -0.022910358384251595, -0.003523800289258361, -0.04059194028377533, 0.009341640397906303, -0.03646228462457657, 0.0013049413682892919, -0.0018957005813717842, -0.00018547441868577152, -0.05424501374363899, 0.027827845886349678, -0.0060329437255859375, -0.01497468538582325, 0.00842837430536747, 0.028675708919763565, 0.019071044400334358, -0.08241458982229233, 0.02553096041083336, -0.009469921700656414, -0.028259307146072388, -0.012090068310499191, -0.019457776099443436, 0.03751702234148979, 0.04135722294449806, -0.05138009414076805, 0.013321338221430779, 0.05083951726555824, -0.03909183293581009, 0.006991352885961533, -0.0004600610991474241, 0.0103166988119483, -0.03814328461885452, -0.012500054202973843, 0.022571060806512833, -0.029308103024959564, 0.01833946257829666, 0.06938113272190094, -0.0036463660653680563, 0.059470437467098236, -0.045223966240882874, 0.003540416480973363, 0.011410374194383621, 0.02420932799577713, -0.008312009274959564, -0.040557846426963806, -0.016066737473011017, 0.008319182321429253, -0.05625606328248978, 0.035114746540784836, -0.014733881689608097, -0.07281509786844254, 0.011703990399837494, 0.004773533903062344, 0.015110618434846401, -0.0008401368395425379, -0.007728931028395891, 0.027055812999606133, 0.016619505360722542, 0.007438647095113993, -0.0175625067204237, 0.0033174387644976377, -0.010785114951431751, 0.005397971253842115, -0.08139798045158386, 0.00025501794880256057, -0.016880065202713013, -0.0044290670193731785, 0.0024220121558755636, -0.009761159308254719, -0.0220359917730093, 0.014286734163761139, -0.0005026338621973991, 0.011019173078238964, -0.07073773443698883, 0.06612858176231384, 0.032027244567871094, -0.04905166104435921, 0.0006116994190961123, 0.010668022558093071, 0.0298856720328331, 0.028355689719319344, 0.025170816108584404, 0.08243019133806229, 0.025716446340084076, 0.007056147791445255, 0.01855650544166565, 0.05550166219472885, -0.0073369285091757774, -0.05720561742782593, -0.008709467947483063, 0.059111785143613815, 0.021616868674755096, -0.017474258318543434, -0.009304963052272797, -0.025330698117613792, -0.03536762297153473, -0.013621509075164795, 0.05267489328980446, 0.03014175035059452, -0.0037218439392745495, 0.020371006801724434, 0.00711201224476099, 0.002481133444234729, 0.031211286783218384, 0.03276829048991203, -0.015793761238455772, -0.04678710550069809, -0.055492304265499115, 0.01100397389382124, 0.029386254027485847, -0.005955557804554701, 0.06071506068110466, -0.06100035086274147, 0.0066284253261983395, 0.09831880778074265, 0.04302388057112694, 0.00608075549826026, -0.03667863830924034, 0.02650587446987629, 0.04359579086303711, 0.02735273912549019, -0.011254372075200081, 0.05197281390428543, -0.013133754953742027, -0.04832576587796211, -0.014198469929397106, 0.019561218097805977, 0.005838774144649506, 0.010301414877176285, -0.048767805099487305, -0.03620311990380287, 0.06512565910816193, -0.02674771472811699, -0.006270836107432842, 0.05568885803222656, 0.0671738013625145, 0.05248690024018288, 0.020636869594454765, 0.006165294907987118, -0.0803263783454895, 0.051734063774347305, -0.011769252829253674, 0.03417043015360832, 0.04706316441297531, -0.008375197649002075, 0.06938250362873077, 0.036794357001781464, 0.01852356642484665, 0.04435208812355995, -0.08801066875457764, -0.0968521237373352, -0.011588933877646923, 0.021724682301282883, 0.048261597752571106, -0.018744517117738724, -0.006992634851485491, 0.06345734745264053, 0.029513506218791008, 0.04822206869721413, 0.014861534349620342, 0.011563343927264214, 0.04138028621673584, -0.0630035251379013, -0.06297416985034943, 0.06717630475759506, 0.014057897962629795, -0.019061468541622162, -0.006727129686623812, 0.026008151471614838, -0.011181676760315895, 0.011100667528808117, 0.038331538438797, -0.01516790222376585, 0.043793123215436935, 0.034154050052165985, 0.024047229439020157, -0.03474237397313118, 0.011222338303923607, -0.033637888729572296, -0.02056078612804413, 0.010009475983679295, -0.022176755592226982, 0.0373896099627018, -0.009948491118848324, 0.1230931207537651, 0.047272033989429474, -0.023404784500598907, -0.024629052728414536, 0.020064888522028923, 0.003089851001277566, -0.045412827283144, -0.017703544348478317, 0.02034939080476761, -0.0033771006856113672, 0.029892317950725555, -0.04924095422029495, -0.026270100846886635, 0.013039628975093365, -0.02520335279405117, 0.021442092955112457, 0.06071681156754494, -0.01521853543817997, 0.049101803451776505, -0.01290746871381998, 0.00844469666481018, -0.022608214989304543, -0.020191432908177376, -0.07052386552095413, 0.008809588849544525, 0.020478734746575356, -0.013504856266081333, 0.04914329573512077, -0.025605982169508934, -0.007949143648147583, -0.02916845679283142, -0.043214019387960434, 0.007128390017896891, 0.029930707067251205, 0.05634309723973274, -0.015186530537903309, 0.04627857729792595, -0.008880546316504478, 0.04075494408607483, -0.024560146033763885, -0.03905116766691208, -0.048285167664289474, 0.012187297455966473, 0.011950219981372356, 0.018509021028876305, -0.007520376704633236, 0.028047088533639908, 0.0029039622750133276, -0.017000457271933556, 0.024082301184535027, -0.018851667642593384, 0.028780151158571243, 0.026181571185588837, -0.006887996103614569, -0.05818839743733406, -0.007976780645549297, 0.03670806810259819, -0.045821260660886765, 0.006683399435132742, 0.020036451518535614, -0.040451426059007645, 0.053982507437467575, -0.054433971643447876, -0.04539160430431366, -0.018004445359110832, -0.0050143031403422356, 0.012618927285075188, 0.00588219566270709, 0.02000776305794716, 0.03851728513836861, -0.0006757256924174726, 0.015134059824049473, -0.004789698403328657, 0.012758227065205574, 0.038111768662929535, 0.028050988912582397, 0.0009795906953513622, 0.038276780396699905, -0.012550817802548409, -0.010225082747638226, -0.03948766365647316, -0.0061425697058439255, -0.03735790401697159, -0.2739569842815399, 0.053036320954561234, 0.004340615589171648, -0.031999554485082626, 0.03296978399157524, -0.03782825544476509, 0.011559218168258667, -0.06267394870519638, -0.024034999310970306, 0.0027183210477232933, -0.05649410933256149, -0.03730229660868645, 0.015020065940916538, 0.022802861407399178, -0.006224144250154495, 0.014842702075839043, 0.02353709004819393, -0.04730621725320816, 0.031169578433036804, 0.016786593943834305, -0.029155967757105827, -0.048907481133937836, 0.03979966416954994, 0.03135420009493828, 0.040048688650131226, 0.07967719435691833, -0.04541710391640663, 0.06299508363008499, -0.026379065588116646, -0.031751636415719986, -0.0027729994617402554, -0.01959722489118576, -0.008648386225104332, 0.033165980130434036, -0.015161513350903988, -0.020600218325853348, 0.06447210162878036, 0.0038398103788495064, 0.018738815560936928, -0.031066350638866425, -0.011841717176139355, -0.04082348942756653, 0.01636083982884884, 0.004888259805738926, 0.0657234787940979, 0.002169113140553236, -0.05556310713291168, -0.030933231115341187, -0.04019353166222572, 0.0667450875043869, -0.032196044921875, -0.04904698207974434, -0.019506314769387245, 0.010360476560890675, 0.01661999709904194, -0.004448784049600363, -0.017051836475729942, 0.006350412964820862, -0.02648754045367241, -0.029507670551538467, 0.016664398834109306, -0.0390285849571228, -0.017856720834970474, -0.051821038126945496, 0.030481508001685143, -0.04033144563436508, -0.059192657470703125, -0.025604162365198135, 0.07414830476045609, 0.01591503620147705, -0.03205098956823349, -0.00728841545060277, -0.019487740471959114, -0.09403062611818314, -0.013499032706022263, -0.013586699031293392, -0.07325410097837448, -0.003708945121616125, -0.00138316978700459, 0.05372510477900505, -0.05325675383210182, -0.031591251492500305, 0.039766453206539154, 0.013815234415233135, -0.01121783722192049, -0.042885325849056244, 0.034311506897211075, 0.0050461431965231895, -0.01955682598054409, -0.014018378220498562, 0.04836910590529442, -0.03929353132843971, -0.056164320558309555, 0.010235064662992954, 0.003168954746797681, -0.01551913097500801, 0.013682525604963303, -0.0036980847362428904, 0.01907854527235031, 0.03396739438176155, 0.05015420541167259, -0.0339665524661541, 0.014488866552710533, -0.07066410034894943, -0.004700085613876581, 0.004659940022975206, -0.0452728271484375, 0.015346556901931763, 0.010510411113500595, 0.04222137853503227, -0.005639855284243822, -0.012884932570159435, 0.011130749247968197, -0.07490048557519913, -0.02246129885315895, 0.008425957523286343, -0.0015099294250831008, 0.025493653491139412, 0.048328883945941925, -0.020553233101963997, -0.05941103398799896, -0.005060301627963781, 0.0030938461422920227, 0.0010277127148583531, -0.05387106165289879, -0.013999655842781067, -0.0014224564656615257, -0.006434891372919083, 0.02894778363406658, 0.0003450595249887556, -0.013847697526216507, 0.02114453725516796, 0.05807885900139809, -0.04111634939908981, 0.039993610233068466, -0.02652277983725071, -0.044223856180906296, -0.041719045490026474, 0.0016993656754493713, 0.0018809577450156212, -0.04689885303378105, 0.011251311749219894, -0.016037922352552414, 0.030945809558033943, 0.05418503284454346, -0.0035288045182824135, 0.013719303533434868, -0.026684686541557312, 0.034365277737379074, -0.013269119895994663, 0.0014226703206077218, -0.058414533734321594, 0.0347839780151844, -0.03407050296664238, -0.01781317964196205, -0.028902225196361542, 0.013571447692811489, -0.0365084707736969, -0.017803912982344627, -0.02878083661198616, -0.002199415350332856, -0.04912462830543518, 0.004518741276115179, 0.017313804477453232, -0.008940761908888817, 0.04745015874505043, 0.005073668900877237, 0.01570899784564972, 0.0071495105512440205, 0.01752382330596447, 0.01305445097386837, 0.011362270452082157, -0.04250236600637436, -0.011896196752786636, -0.00666407123208046, -0.01970307156443596, 0.020865807309746742, 0.0406208410859108, 0.009665374644100666, 0.02222198061645031, 0.011031193658709526, -0.03496642783284187, 0.016237078234553337, 0.00011810850264737383, 0.04315609857439995, -0.022056207060813904, -0.025707470253109932, 0.018206387758255005, -0.03463317081332207, -0.04485563188791275, -0.038031503558158875, 0.007885846309363842, -0.0094944192096591, 0.006903373170644045, -0.032264672219753265, -0.06907832622528076, 0.031525518745183945, 0.007274058647453785, 0.018811168149113655, 0.0122678242623806, -0.009961206465959549, -0.028608443215489388, -0.0015477444976568222, 0.04961206018924713, 0.06425812840461731, -0.04912839084863663, -0.007033062633126974, 0.008605674840509892, -0.011233942583203316, -0.00100922049023211, 0.018092641606926918, -0.038409069180488586, -0.009243527427315712, -0.04492688179016113, 0.05355027690529823, -0.056886233389377594, -0.025140387937426567, -0.04164852946996689, 0.010271046310663223, -0.010549245402216911, -0.004614577628672123, -0.012552698142826557, 0.0182792991399765, 0.02672155760228634, -0.04162595793604851, -0.007500729989260435, -0.03275337442755699, -0.017525793984532356, 0.04742956534028053, -0.02193456143140793, 0.014109039679169655, -0.024043356999754906, 0.042579926550388336, 0.03001341223716736, -0.014896474778652191, -0.007006314117461443, -0.027674196287989616, 0.0020760430488735437, -0.05947788059711456, 0.044827982783317566, -0.00025983733939938247, 0.008131399750709534, -0.04681500047445297, 0.003845040686428547, -0.03599528223276138, 0.004274636972695589, -0.026888588443398476, -0.019821783527731895, 0.01095467060804367, 0.06739868968725204, 0.016939010471105576, 0.04120275005698204, -0.01709587499499321, -0.031465593725442886, 0.070053830742836, -0.03206333518028259, -0.05777673050761223, -0.020465878769755363, -0.02954612486064434, 0.047658491879701614, 0.01880650967359543, 0.036881864070892334, -0.07435369491577148, 0.03343110904097557, 0.03513804450631142, -0.008847707882523537, 0.043825991451740265, 0.005883262027055025, 0.016545740887522697, -0.034555211663246155, -0.06368100643157959, -0.10950583964586258, -0.00995158776640892, -0.00822273176163435, -0.010720347985625267, -0.025357890874147415, 0.017220841720700264, -0.030528385192155838, 0.009232417680323124, -0.07190977036952972, -0.043781913816928864, 0.05269037187099457, -0.0014348605182021856, -0.004031138960272074, 0.016302520409226418, -0.07666633278131485, 0.025605330243706703, 0.04217686504125595, -0.03608690947294235, -0.007157147396355867, -0.025902792811393738, 0.06837107986211777, 0.010466521605849266, 0.050820909440517426, -0.003556561656296253, -0.026102125644683838, 0.07169536501169205, 0.006641929503530264, 0.000659860554151237, 0.03373493626713753, 0.0032740002498030663, 0.02478376030921936, 0.03030569665133953, 0.0019820239394903183, -0.010295843705534935, 0.005959244444966316, -0.01799715682864189, -0.05394032597541809, 0.009113574400544167, -0.007490095682442188, 0.01324544008821249, -0.030186763033270836, 0.04652825742959976, 0.01060827262699604, -0.05784723907709122, -0.056542377918958664, 0.0486343652009964, -0.04159428924322128, -0.01769711636006832, -0.03643421083688736, 0.02589300088584423, -0.06250270456075668, 0.043265581130981445, 0.01099064014852047, -0.0024406081065535545, 0.07056066393852234, -0.013353043235838413, -0.012481008656322956, 0.02464914508163929, 0.07069219648838043, 0.08963676542043686, 0.049462538212537766, 0.022216035053133965, 0.056309349834918976, -0.029712675139307976, -0.030433038249611855, -0.013268525712192059, 0.0031444758642464876, 0.01765572652220726, -0.01919066719710827, 0.013116084039211273, 0.1027258038520813, -0.07117412984371185, 0.06623946875333786, -0.006129782181233168, -0.002480374416336417, -0.009631806053221226, 0.01251124870032072, 0.03208894282579422, 0.041881464421749115, 0.012133199721574783, 0.02681575156748295, -0.01890179142355919, -0.030828028917312622, 0.03854317218065262, -0.025187833234667778, 0.00016078405315056443, 0.04830925539135933, 0.000137099385028705, -0.001585009740665555, -0.0016432312550023198, 0.03166770935058594, 0.07386858761310577, -0.013975475914776325, 0.010136643424630165, 0.0011122782016173005, 0.028320396319031715, 0.0029647492337971926, 0.03737378120422363, -0.01791604422032833, -0.0015891354996711016, 0.00024016287352424115, -0.04120045155286789, -0.06116136536002159, -0.014610787853598595, -0.01813465915620327, 0.03684930503368378, -0.011958114802837372, 0.009226706810295582, 0.028444724157452583, 0.003890112740918994, -0.03323404863476753, -0.022174617275595665, -0.06000019609928131, -0.02558044344186783, -0.04413056746125221, -0.0004312499368097633, 0.03789862245321274, 0.01770864799618721, -0.037490032613277435, 0.01456923596560955, -0.051377058029174805, -0.024151667952537537, 0.016644449904561043, -0.0351230651140213, -0.03564586117863655, -0.00004736908886115998, 0.02481723763048649, 0.02441956289112568, 0.009577556513249874, 0.0411246158182621, 0.0007971642189659178, -0.03532738238573074, -0.03468816727399826, 0.02005278877913952, 0.05489528924226761, -0.011350209824740887, -0.030566221103072166, -0.07159077376127243, 0.042488813400268555, 0.03639551252126694, 0.015503783710300922, -0.07444483041763306, 0.0057596489787101746, 0.030484985560178757, -0.003980733919888735, 0.07513441145420074, -0.022891411557793617, 0.0054106940515339375, -0.038924966007471085, 0.009035651572048664, -0.022804154083132744, -0.02861560694873333, 0.07083425670862198, -0.012366820126771927, 0.08976036310195923, 0.032528627663850784, -0.00880146212875843, -0.06697658449411392, -0.024321915581822395, -0.0038806952070444822, -0.0025565181858837605, -0.020449211820960045, -0.01665687933564186, -0.022202476859092712, -0.0876220241189003, -0.03583827242255211, -0.0032850848510861397, -0.024929355829954147, -0.04015050083398819, -0.0016709157498553395, -0.015057086944580078, -0.043716270476579666, 0.01315153855830431, -0.054518744349479675, -0.0035813944414258003, -0.022948279976844788, -0.013381625525653362, -0.022714989259839058, 0.02165208011865616, -0.008301990106701851, 0.006058874540030956, 0.04907508194446564, -0.02537013776600361, -0.020130647346377373, 0.023877402767539024, 0.01540413685142994, 0.0714503824710846, -0.004788069985806942, 0.014709983952343464 ]
[ -0.09625694900751114, -0.015665508806705475, -0.0014371693832799792, -0.034943949431180954, 0.03733181580901146, -0.07232079654932022, -0.022578682750463486, -0.003785368986427784, -0.01163893099874258, -0.0368012897670269, 0.03165033087134361, -0.026231903582811356, 0.02546057291328907, -0.031605225056409836, 0.08393067866563797, 0.015763336792588234, -0.00319238961674273, -0.02531561627984047, -0.009990653023123741, 0.022249242290854454, -0.004955043084919453, -0.03561268746852875, -0.028540266677737236, -0.03168759122490883, -0.021379608660936356, 0.040880341082811356, 0.025212761014699936, -0.014978015795350075, -0.01750362105667591, -0.21080265939235687, 0.03539344295859337, 0.011804172769188881, 0.018123574554920197, -0.03187033161520958, 0.03133241832256317, 0.060242362320423126, 0.016545647755265236, 0.02480841428041458, -0.0353400781750679, 0.022550975903868675, 0.06139630824327469, 0.006052125245332718, -0.03850266709923744, -0.04183901473879814, 0.00890013575553894, -0.024044601246714592, -0.01424456387758255, -0.0407237634062767, 0.02064884454011917, 0.00488339364528656, -0.049611516296863556, 0.00292766815982759, 0.005185999907553196, -0.05773539841175079, -0.02612028829753399, 0.02673688717186451, 0.05439992994070053, 0.07239709049463272, -0.003975848201662302, 0.0013981019146740437, 0.026634156703948975, -0.002165956189855933, -0.12912170588970184, 0.06545719504356384, 0.05479878559708595, 0.02588372677564621, -0.011391110718250275, -0.04391512647271156, -0.04540577158331871, 0.09697059541940689, -0.030083229765295982, -0.02322886884212494, -0.05956786125898361, 0.05452346429228783, -0.014207229018211365, -0.0378187857568264, -0.012312141247093678, 0.023833345621824265, 0.02497020736336708, -0.04274372383952141, -0.057385846972465515, -0.02916923724114895, -0.041690271347761154, -0.004197274334728718, -0.062310513108968735, -0.009643222205340862, -0.007938296534121037, 0.06760776042938232, 0.007531095761805773, 0.017946423962712288, 0.028292303904891014, -0.03201652318239212, 0.10040980577468872, -0.0013394419802352786, -0.10785748064517975, 0.013316583819687366, 0.016734957695007324, 0.02628025971353054, -0.047644954174757004, 0.4479955732822418, -0.021822353824973106, -0.03668202459812164, 0.05638705939054489, -0.011522340588271618, 0.016217488795518875, 0.046972960233688354, 0.01753118820488453, 0.0005243560299277306, 0.013104226440191269, -0.009127774275839329, 0.03610941767692566, -0.03188472241163254, 0.07683909684419632, -0.062116216868162155, 0.05617076903581619, 0.010603454895317554, 0.02561706304550171, 0.03459642827510834, -0.04373554885387421, 0.012381096370518208, -0.005078431218862534, -0.007875443436205387, 0.039523012936115265, 0.02651507593691349, 0.055297259241342545, -0.030141744762659073, 0.012581564486026764, 0.05068733170628548, 0.029636597260832787, 0.019952015951275826, 0.013878017663955688, -0.04110423102974892, -0.01156914047896862, 0.02279883809387684, 0.0010517751798033714, 0.02733919396996498, 0.0199794489890337, -0.03939554840326309, -0.0029511849861592054, 0.002928256057202816, -0.0000026020077257271623, -0.03135917708277702, -0.010427000001072884, 0.011971481144428253, -0.009153269231319427, 0.08934621512889862, -0.03523709625005722, -0.034342218190431595, -0.009383984841406345, -0.034924302250146866, -0.03089686669409275, 0.03643626347184181, 0.017237111926078796, -0.047639720141887665, 0.02116571180522442, 0.008490830659866333, 0.0861472636461258, -0.02508448250591755, -0.05871494114398956, 0.023745277896523476, -0.019419370219111443, -0.05651820823550224, -0.04002096503973007, 0.05099194124341011, 0.044453613460063934, -0.06514381617307663, -0.022452209144830704, -0.0034802951849997044, 0.03328212723135948, -0.031547870486974716, 0.012330512516200542, -0.01605813577771187, -0.002593568293377757, -0.04171621799468994, 0.014489970169961452, -0.05974123999476433, -0.0329752042889595, 0.04931560903787613, 0.04408721998333931, 0.0015564453788101673, -0.020785735920071602, 0.005649971310049295, -0.040678881108760834, 0.012943615205585957, -0.05012469366192818, -0.07467661798000336, -0.09094089269638062, 0.01844872161746025, -0.023945219814777374, 0.026536118239164352, -0.030266745015978813, -0.009372517466545105, -0.03953905403614044, 0.014029432088136673, -0.027061376720666885, -0.024075975641608238, -0.0013923936057835817, 0.01815011538565159, -0.05612341687083244, -0.02490956522524357, 0.01623489521443844, 0.03161837160587311, -0.02663496509194374, 0.028920872136950493, -0.09289370477199554, 0.01958601363003254, 0.026937982067465782, -0.03810333088040352, 0.08077304065227509, 0.04076208546757698, -0.038609590381383896, -0.029853951185941696, 0.02246279828250408, 0.016922518610954285, -0.018010232597589493, -0.03577636927366257, -0.03325583413243294, -0.006967529654502869, 0.049933046102523804, 0.021099889650940895, -0.05039744824171066, -0.007858164608478546, 0.011195593513548374, -0.3296949565410614, -0.037269674241542816, -0.022551169618964195, 0.008090028539299965, 0.037942588329315186, -0.07751305401325226, 0.033141203224658966, -0.017514053732156754, -0.036947958171367645, 0.012574317865073681, 0.04451657086610794, -0.08058178424835205, 0.018479885533452034, -0.05999629199504852, -0.01460256427526474, 0.02586076222360134, -0.02838505432009697, -0.028853781521320343, -0.01506461389362812, 0.04853473976254463, 0.010161738842725754, -0.015613007359206676, -0.030095327645540237, -0.02335597760975361, 0.0012558996677398682, -0.008124261163175106, 0.09500879794359207, 0.04490048438310623, 0.09962515532970428, -0.009251866489648819, 0.06459016352891922, 0.031028814613819122, 0.010586155578494072, -0.11481604725122452, -0.023482635617256165, 0.010529857128858566, -0.02187768928706646, -0.024229053407907486, 0.04292549937963486, -0.0038704376202076674, -0.06565774232149124, 0.001486059743911028, -0.046619392931461334, -0.05127887427806854, -0.030107976868748665, -0.013220141641795635, -0.022378884255886078, -0.007928509265184402, -0.025925125926733017, 0.05375349894165993, 0.018375135958194733, 0.002201928524300456, -0.006435198709368706, -0.024417374283075333, 0.01675982028245926, -0.044527214020490646, -0.021163921803236008, -0.008390306495130062, 0.03169525787234306, -0.03896418958902359, 0.04877058416604996, 0.059659525752067566, 0.03556476905941963, -0.05498985946178436, -0.01753324642777443, 0.015129262581467628, -0.022083498537540436, 0.013400228694081306, 0.026901111006736755, -0.03719719126820564, 0.007925455458462238, 0.09008165448904037, 0.01421278715133667, 0.032850608229637146, 0.00034926336957141757, 0.010849229991436005, -0.023861998692154884, 0.016038836911320686, -0.03056189976632595, -0.06254564970731735, 0.05333968624472618, -0.011074733920395374, 0.06004222109913826, -0.03630884736776352, -0.005101976916193962, 0.045047465711832047, -0.010104167275130749, -0.012639268301427364, 0.09308230876922607, 0.016842413693666458, -0.011690787971019745, -0.012788829393684864, -0.00891729537397623, -0.06132320314645767, 0.09632416814565659, 0.003772635478526354, -0.23735857009887695, 0.0033169544767588377, 0.04132792353630066, 0.06361228227615356, -0.019016269594430923, 0.04232862591743469, 0.04262738674879074, -0.03353464975953102, 0.024505047127604485, 0.02524600178003311, 0.011603174731135368, 0.04481238126754761, -0.02273113839328289, 0.0063748848624527454, 0.030478093773126602, -0.018587948754429817, 0.048406146466732025, 0.03541667386889458, 0.005027443636208773, 0.013978653587400913, -0.0035150188487023115, -0.03912435844540596, 0.13626408576965332, -0.010331513360142708, 0.022418875247240067, 0.02228274568915367, 0.01105002872645855, 0.02594095841050148, 0.06916520744562149, 0.018093889579176903, 0.006464663427323103, 0.0212694238871336, 0.016697581857442856, -0.023040516301989555, 0.04661363363265991, -0.03938375785946846, -0.02169577032327652, 0.03546423092484474, 0.03914733603596687, -0.0053267464973032475, -0.03566897287964821, 0.03541334345936775, -0.002481962088495493, 0.04394635558128357, 0.0438346341252327, -0.008514548651874065, 0.020791804417967796, -0.00009573101851856336, -0.026013026013970375, 0.029970288276672363, -0.037134554237127304, -0.01401519775390625, -0.0034584002569317818, 0.013298521749675274, 0.04286983236670494, 0.05931701883673668, 0.028705954551696777, -0.005820723716169596, 0.006526439916342497, 0.014588692225515842, -0.01802334375679493, -0.045677799731492996, 0.16393181681632996, 0.03052438236773014, 0.022484896704554558 ]
[ 0.013487889431416988, 0.01590254157781601, -0.011996768414974213, 0.031411658972501755, 0.020135143771767616, -0.01082568895071745, -0.01737683266401291, 0.02401801012456417, 0.00035551158362068236, -0.02218668721616268, 0.05145736411213875, -0.003436456900089979, 0.06128350645303726, -0.008398482576012611, 0.008167706429958344, -0.02803567238152027, -0.024241920560598373, 0.0013447519158944488, 0.010121985338628292, -0.0038698308635503054, -0.044535081833601, 0.02789737470448017, 0.014498109929263592, -0.017418013885617256, -0.0027829844038933516, 0.025213750079274178, -0.016146475449204445, -0.04671052470803261, 0.028779013082385063, -0.12979070842266083, -0.011999835260212421, 0.017751621082425117, 0.029325325042009354, -0.012938586063683033, 0.0034656187053769827, 0.019005589187145233, 0.03585177659988403, 0.01296162884682417, -0.012307417578995228, -0.013219036161899567, -0.016347570344805717, -0.02287258952856064, 0.001040058908984065, -0.010889203287661076, -0.012680930085480213, -0.012926721945405006, -0.011312488466501236, -0.04507434740662575, -0.023719824850559235, 0.039609115570783615, -0.05127471685409546, 0.050206463783979416, -0.02083641104400158, -0.007796625141054392, 0.013064265251159668, 0.005200871732085943, -0.0196676105260849, 0.02614804357290268, -0.023807909339666367, 0.006932681426405907, -0.01611972041428089, 0.01761309988796711, -0.08429715782403946, -0.03482021391391754, 0.022247161716222763, -0.03130902722477913, -0.01322662178426981, -0.001148602575995028, 0.002948748180642724, 0.03987681120634079, -0.020785588771104813, 0.0005606373306363821, -0.006405078340321779, 0.002462168224155903, -0.03450208902359009, 0.020768489688634872, 0.012395321391522884, -0.014229402877390385, -0.02435165084898472, -0.04438653588294983, -0.03251497074961662, 0.012812526896595955, -0.0035416469909250736, 0.0020809825509786606, 0.0028129008132964373, -0.011230232194066048, -0.0025363359600305557, 0.02056717313826084, 0.0018633963773027062, -0.017051734030246735, 0.005134169943630695, -0.001827721018344164, -0.03094387985765934, 0.002987087005749345, -0.08405201137065887, 0.0031136376783251762, -0.02096881903707981, 0.008888155221939087, -0.00984129961580038, 0.8242831826210022, -0.020903728902339935, 0.03760984167456627, -0.00950438529253006, 0.012095317244529724, 0.015470790676772594, 0.039914172142744064, 0.031465787440538406, -0.02675628662109375, 0.003833072492852807, -0.0159763190895319, 0.041284967213869095, -0.025995424017310143, 0.02443605288863182, -0.023069044575095177, 0.05880199372768402, 0.017685487866401672, 0.023423487320542336, 0.0066573284566402435, -0.00222986564040184, 0.04019659385085106, 0.015462090261280537, -0.044502805918455124, -0.002336453180760145, 0.01582394167780876, 0.04651552811264992, -0.18090106546878815, 0.026917604729533195, -7.370177663606935e-33, 0.03681941330432892, 0.005603414494544268, 0.02070661447942257, -0.022176675498485565, 0.025315994396805763, -0.0014319655019789934, 0.012348910793662071, -0.014670918695628643, -0.039456628262996674, -0.004519844427704811, 0.007229017559438944, -0.018076077103614807, -0.029556045308709145, -0.040322642773389816, 0.012166337110102177, -0.0460120253264904, 0.022232798859477043, 0.024967972189188004, -0.0389629565179348, 0.01365595031529665, 0.029304945841431618, 0.07036594301462173, -0.015444022603332996, -0.0012623588554561138, 0.013628881424665451, 0.0280828345566988, 0.04670373722910881, -0.015670116990804672, 0.03133825212717056, -0.04110317677259445, -0.048298291862010956, 0.04372674599289894, -0.039878349751234055, -0.0011354845482856035, -0.03083646297454834, -0.012601383030414581, -0.040343478322029114, -0.0031651246827095747, -0.014377548359334469, -0.01019193883985281, -0.030478062108159065, -0.021724969148635864, -0.05632887780666351, -0.015033692121505737, -0.037087760865688324, -0.014373860321938992, -0.0033544707112014294, 0.012508713640272617, -0.002306512789800763, -0.006727227941155434, 0.053125280886888504, 0.008680037222802639, -0.010157921351492405, 0.018841274082660675, -0.023402223363518715, 0.004720041994005442, -0.03261492773890495, -0.002426056656986475, -0.0035278017167001963, 0.05536673590540886, 0.02794528752565384, 0.0066383713856339455, -0.016785454005002975, 0.030353303998708725, 0.002427325351163745, -0.03355443850159645, 0.005462803412228823, -0.02686716988682747, 0.026565086096525192, 0.015361799858510494, -0.058841243386268616, -0.0010808412916958332, 0.015218622982501984, -0.019766172394156456, 0.019655562937259674, 0.009621744975447655, -0.02708437293767929, -0.040403254330158234, 0.020311081781983376, 0.005506095476448536, -0.02393771894276142, -0.018567830324172974, 0.0035823180805891752, -0.033074621111154556, 0.007537115830928087, -0.025645406916737556, -0.019825639203190804, 0.012513245455920696, -0.030224133282899857, 0.008918524719774723, 0.03675071895122528, 0.024614788591861725, 0.012241368182003498, -0.023260874673724174, 0.015201110392808914, 7.354517874802074e-33, 0.017986075952649117, -0.002367183566093445, 0.005631756037473679, 0.04152892157435417, 0.011238036677241325, 0.005136473104357719, -0.004045748617500067, -0.010235645808279514, -0.04981634020805359, 0.030444247648119926, -0.03546980768442154, 0.04085727781057358, -0.000749803613871336, 0.001359884743578732, 0.08255135267972946, -0.009691963903605938, 0.012355240061879158, -0.021096551790833473, 0.0029343708883970976, -0.01604446768760681, -0.007744531147181988, 0.005116044543683529, 0.030423078685998917, 0.028561942279338837, 0.011923233978450298, 0.04702319577336311, 0.003681548172608018, 0.012256051413714886, 0.018067259341478348, -0.0034875746350735426, -0.01854253187775612, -0.019598480314016342, -0.0015471187653020024, -0.044601380825042725, 0.010546808131039143, 0.03862421587109566, -0.03780832141637802, -0.003008281346410513, 0.007242877967655659, -0.007869861088693142, 0.02046719193458557, 0.0027024680748581886, 0.03669251501560211, 0.051486823707818985, 0.017212312668561935, -0.008856500498950481, 0.029397306963801384, 0.0010967034613713622, 0.009980788454413414, 0.028704090043902397, 0.042924776673316956, 0.008993808180093765, -0.04127372428774834, -0.035004306584596634, 0.0020262612961232662, -0.044596266001462936, -0.048040036112070084, -0.01210637204349041, -0.021061722189188004, 0.018375074490904808, -0.015592525713145733, 0.0100255087018013, -0.0051825218833982944, 0.03333038464188576, -0.03928416222333908, -0.015763666480779648, 0.012688386254012585, 0.0068566151894629, 0.019212543964385986, -0.0035262389574199915, 0.04252710938453674, -0.0112712811678648, 0.007155971135944128, 0.042501144111156464, 0.049205098301172256, -0.03310924768447876, -0.02445835992693901, 0.008367771282792091, 0.014247627928853035, 0.020534366369247437, 0.02561933733522892, 0.04220404103398323, -0.005056640133261681, 0.0070523470640182495, -0.01813049055635929, 0.024871114641427994, -0.038992397487163544, 0.045592326670885086, 0.04057540372014046, -0.02593611739575863, 0.03008345514535904, -0.033633843064308167, 0.014131471514701843, 0.0248555950820446, -0.02953367307782173, -1.2830232876126502e-8, -0.05036226660013199, 0.005663496907800436, -0.03195631504058838, 0.029712343588471413, 0.0089269382879138, -0.011987441219389439, -0.020155739039182663, 0.01560151670128107, -0.010874122381210327, 0.004501835908740759, 0.05526760220527649, -0.015229949727654457, -0.03158562257885933, 0.03243199735879898, 0.03251958265900612, -0.026499692350625992, 0.04428579658269882, -0.030645761638879776, 0.013006561435759068, 0.016302285715937614, -0.012822995893657207, 0.06690167635679245, -0.017990702763199806, 0.031423650681972504, -0.03037509135901928, -0.00033228928805328906, 0.024454833939671516, -0.06761208921670914, -0.0024468903429806232, 0.013228717260062695, 0.041292138397693634, -0.020225606858730316, -0.021280165761709213, 0.030816666781902313, -0.03410767763853073, -0.035277411341667175, 0.018418047577142715, 0.04642114415764809, 0.027236787602305412, -0.004718332551419735, -0.009816169738769531, -0.005037549417465925, 0.016240684315562248, -0.0379263199865818, -0.044271763414144516, 0.002394474344328046, -0.04016024246811867, -0.015316859818994999, -0.001134227612055838, -0.04147603362798691, -0.01443922333419323, -0.009817289188504219, 0.005166259594261646, 0.0014308692188933492, 0.027661681175231934, 0.03630732744932175, 0.0061494470573961735, 0.0019456795416772366, 0.005203940439969301, -0.03373001515865326, 0.003913847729563713, 0.013203425332903862, -0.019003896042704582, -0.02896866947412491 ]
bash-shell-reusing-parts-of-previous-commands
https://markhneedham.com/blog/2012/07/05/bash-shell-reusing-parts-of-previous-commands
false
2012-07-11 19:34:34
Racket: Wiring it up to a REPL ala SLIME/Swank
[ "scheme" ]
[ "Software Development" ]
One of the awesome things about working with clojure is that it's possible to wire up clojure files in emacs to a REPL by making use of http://www.beaconhill.com/solutions/kb/clojure/setting-up-clojure-with-slime-on-ubuntu.html[Slime]/https://github.com/technomancy/swank-clojure[Swank]. I've started using http://racket-lang.org/[Racket] to work through the examples in http://www.amazon.co.uk/The-Little-Schemer-Daniel-Friedman/dp/0262560992/ref=sr_1_1?ie=UTF8&qid=1342034533&sr=8-1[The Little Schemer] and wanted to achieve a similar thing there. ____ Racket is a modern programming language in the Lisp/Scheme family, suitable for a wide range of applications ____ I don't know much about configuring emacs so I made use of Phil Halgelberg's https://github.com/technomancy/emacs-starter-kit[emacs-starter-kit which is available on github]. On my travels I came across http://www.youtube.com/watch?v=Zev99LT-k70[this video describing how to do exactly what I wanted]. The first step was to download a library called 'http://www.nongnu.org/geiser/[geiser]': ____ Geiser is a generic Emacs/Scheme interaction mode, featuring an enhanced REPL and a set of minor modes improving Emacs' basic scheme major mode. ____ The easiest way seemed to be to clone the git repository: [source,text] ---- git clone git://gitorious.org/geiser/mainline.git geiser ---- I then added the following line to my +++<cite>+++/Users/mneedham.emacs.d/init.el+++</cite>+++ file: [source,text] ---- (load "/Users/mneedham/github/geiser/elisp/geiser.el") ---- From emacs you then need to run the following command: [source,text] ---- M-x geiser ---- It then asks you which scheme implementation you want to use, so in our case we need to make sure that racket is available on the path. For some reason when I downloaded racket it seemed to prefer mounting itself as a volume rather than installing itself to /Applications so I ended up copy/pasting the folder to my home directory and adding it to the PATH in my +++<cite>+++.bashrc+++</cite>+++: [source,text] ---- export PATH=$PATH:"/Users/mneedham/Documents/Racket v5.2.1/bin" ---- Now we can just type 'racket' when we're asked which scheme implementation we want and then we're done! image::{{<siteurl>}}/uploads/2012/07/emacs-geiser1.jpg[Emacs geiser,600]
null
null
[ 0.02287585474550724, -0.007701745256781578, -0.030886949971318245, 0.024432774633169174, 0.0779709666967392, 0.011734280735254288, 0.021107971668243408, 0.029504097998142242, 0.003977701999247074, -0.030155302956700325, -0.009426193311810493, -0.03262751176953316, -0.06529520452022552, -0.0009889529319480062, -0.020921749994158745, 0.044533271342515945, 0.06248794496059418, -0.01147144753485918, 0.01848241500556469, 0.030409982427954674, 0.022709626704454422, 0.07161694020032883, 0.013540605083107948, 0.012931091710925102, 0.033965013921260834, 0.0025130077265203, 0.03100612573325634, 0.010239584371447563, -0.06315919011831284, -0.00282842549495399, 0.0479787215590477, 0.022941580042243004, 0.01824754662811756, -0.043078020215034485, 0.021994592621922493, -0.008412608876824379, -0.02875329926609993, 0.01689457893371582, -0.0016146899433806539, 0.011209066957235336, -0.07645458728075027, 0.03438720479607582, -0.015348133631050587, 0.0002570513461250812, -0.022236835211515427, 0.012759722769260406, -0.04619854316115379, 0.048851631581783295, -0.001615580404177308, -0.003525996347889304, -0.05175117775797844, 0.012724775820970535, -0.01219108048826456, -0.023773755878210068, -0.010646465234458447, 0.034765418618917465, 0.018426086753606796, -0.09184879064559937, 0.040254924446344376, -0.014235273003578186, -0.030873751267790794, 0.018337970599532127, 0.02249935455620289, 0.03527246415615082, -0.001425188034772873, -0.0019247517921030521, -0.0279188584536314, 0.020155301317572594, -0.051676079630851746, -0.01477720309048891, 0.05077952891588211, 0.01606607623398304, -0.034968987107276917, -0.010146639309823513, 0.0576145276427269, -0.019679725170135498, -0.01328256819397211, 0.05712134391069412, 0.011415207758545876, 0.04456711187958717, -0.038017552345991135, 0.006788219790905714, 0.00561938900500536, 0.031025480479002, 0.009879442863166332, -0.030952027067542076, -0.05674425885081291, 0.019078316166996956, -0.07718716561794281, 0.06121139973402023, 0.0397922582924366, -0.05526867136359215, 0.006625976879149675, 0.006327326409518719, -0.017663760110735893, 0.03186294063925743, 0.011978503316640854, -0.00009116558794630691, -0.002746566664427519, -0.01656903699040413, -0.03174383565783501, -0.024230873212218285, -0.01097181811928749, -0.00907182227820158, -0.10032131522893906, 0.009409718215465546, -0.017772600054740906, -0.005631876178085804, 0.015521527267992496, -0.025389142334461212, -0.023995719850063324, -0.012562655843794346, -0.02502218447625637, -0.0019296144600957632, -0.06650401651859283, 0.07045694440603256, 0.0046292017214000225, -0.057747986167669296, -0.03505938500165939, 0.019788365811109543, 0.04668765515089035, 0.03807602822780609, 0.008116473443806171, 0.0677659660577774, 0.004819320514798164, 0.01802181452512741, -0.014371921308338642, 0.04491167515516281, -0.01704387739300728, -0.054824355989694595, -0.005610824562609196, 0.0780281126499176, -0.007615949492901564, 0.008024330250918865, -0.01429210789501667, -0.005805994849652052, -0.013982776552438736, 0.016209106892347336, 0.06483052670955658, 0.018201176077127457, 0.005516072269529104, 0.0038916836492717266, 0.012117153033614159, -0.00037932262057438493, 0.02748906798660755, 0.009058152325451374, 0.010753003880381584, -0.0003284980484750122, -0.03682092949748039, 0.030862607061862946, 0.028450116515159607, 0.004331952892243862, 0.04924417659640312, -0.023414360359311104, 0.059092648327350616, 0.08105601370334625, 0.021772779524326324, 0.03673213720321655, -0.020473172888159752, -0.01767732761800289, 0.01610061526298523, 0.017387742176651955, -0.009394611231982708, 0.038612622767686844, 0.023384006693959236, -0.021523699164390564, -0.019861718639731407, 0.047064416110515594, -0.012167904525995255, -0.040825095027685165, -0.05927620828151703, -0.04284695163369179, 0.07752323895692825, -0.034566834568977356, -0.00011979718692600727, 0.015700578689575195, 0.09371794015169144, 0.04274141043424606, 0.048802368342876434, -0.024533314630389214, -0.07680254429578781, 0.06546694040298462, 0.010171824134886265, 0.037143148481845856, 0.025457246229052544, -0.02784229815006256, 0.07752765715122223, 0.019824193790555, 0.006195181980729103, 0.03098781406879425, -0.06962913274765015, -0.07052016258239746, -0.021541673690080643, -0.01874353550374508, 0.05212816968560219, 0.002062499290332198, -0.00606977054849267, 0.061402518302202225, 0.013596451841294765, 0.030200354754924774, 0.010084938257932663, 0.010815301910042763, 0.0172437634319067, -0.046495936810970306, -0.05144816264510155, 0.028728865087032318, 0.02376805618405342, -0.0197607334703207, -0.024808933958411217, -0.00030054213129915297, 0.007292209658771753, -0.015551790595054626, 0.03338439017534256, -0.05107484385371208, 0.028277268633246422, 0.026779089123010635, 0.02715885080397129, -0.03678377717733383, 0.008001485839486122, -0.03687961772084236, -0.017171621322631836, 0.011720985174179077, 0.0020008552819490433, 0.004949047230184078, -0.008744540624320507, 0.12330871820449829, 0.05640464276075363, -0.02806374803185463, -0.053291503340005875, 0.030536990612745285, -0.008131233043968678, -0.058753687888383865, -0.015077165327966213, -0.029246989637613297, 0.024614589288830757, 0.009652452543377876, -0.03859279677271843, -0.025695443153381348, 0.02271130681037903, -0.021730273962020874, -0.003388078883290291, 0.09543688595294952, -0.02564109116792679, 0.04760966822504997, 0.010474704205989838, -0.011801297776401043, -0.03655755892395973, -0.04200588911771774, -0.1084810197353363, 0.02094523422420025, 0.009735537692904472, -0.013084382750093937, 0.031678128987550735, -0.03899739310145378, -0.035978905856609344, -0.014162409119307995, -0.03715485334396362, 0.009632712230086327, 0.02039274014532566, 0.07961558550596237, -0.022591041401028633, 0.023655522614717484, -0.026155993342399597, 0.04196823388338089, -0.030530568212270737, -0.048834700137376785, -0.042988814413547516, -0.02802255190908909, -0.013185434974730015, 0.0177893228828907, 0.004098601173609495, 0.016525311395525932, -0.012143546715378761, -0.011893670074641705, -0.006648706737905741, -0.0212252177298069, 0.019421812146902084, -0.015696847811341286, -0.011229964904487133, -0.03016396053135395, -0.04413457587361336, 0.06559218466281891, -0.04604602977633476, -0.007251812610775232, -0.00031244175625033677, 0.0006494659464806318, 0.05821360647678375, -0.06997215002775192, -0.0274822898209095, -0.011700992472469807, 0.023258885368704796, 0.03804604709148407, -0.011738370172679424, 0.036084942519664764, 0.04549713432788849, -0.00133140932302922, 0.029787102714180946, 0.01187822688370943, 0.0070825484581291676, 0.03763698786497116, 0.007234698627144098, 0.02253720536828041, 0.04103697091341019, 0.028600232675671577, -0.01592538133263588, -0.043950919061899185, 0.02746567316353321, -0.00818015169352293, -0.27187809348106384, 0.04099269211292267, -0.0025350856594741344, -0.03160634636878967, 0.007850673981010914, 0.0016733333468437195, -0.010596136562526226, -0.045346472412347794, -0.012551110237836838, -0.011624651029706001, -0.011908069252967834, -0.03197827935218811, -0.01481881458312273, 0.044854454696178436, 0.002467250917106867, -0.0027894657105207443, 0.013985245488584042, -0.04380748048424721, 0.00016072120342869312, 0.03319154307246208, -0.02027466520667076, -0.06143726035952568, 0.01199281495064497, 0.047465503215789795, 0.025546496734023094, 0.020244162529706955, -0.08631821721792221, 0.028277931734919548, -0.033178914338350296, -0.029802877455949783, 0.009775383397936821, -0.006219868548214436, -0.0026832662988454103, -0.0073985508643090725, -0.022365251556038857, -0.020832378417253494, 0.04113489016890526, 0.008804064244031906, 0.04862593114376068, 0.04163214564323425, 0.020940925925970078, -0.000712623237632215, 0.003898809663951397, -0.01106932945549488, 0.07761535048484802, -0.03534386679530144, -0.07131592184305191, 0.0036628686357289553, -0.036195337772369385, 0.09911402314901352, -0.036057375371456146, -0.052845802158117294, 0.006402475293725729, 0.06871756911277771, 0.029177065938711166, 0.007973355241119862, -0.02375679276883602, -0.010159149765968323, -0.02337639406323433, -0.029099950566887856, -0.020094091072678566, -0.035770878195762634, -0.04412177577614784, -0.06551259756088257, 0.00020289089297875762, -0.06343188881874084, -0.0625142827630043, -0.02324756048619747, 0.06548751145601273, 0.02348581701517105, -0.04753035306930542, 0.0008773154113441706, -0.02933143451809883, -0.10836759209632874, -0.004942754283547401, -0.017093084752559662, -0.03830815479159355, 0.010613655671477318, 0.03566214442253113, 0.04414811357855797, -0.05617640167474747, -0.06295914947986603, 0.01645958237349987, 0.023123739287257195, 0.02638314478099346, -0.0035352022387087345, -0.004003372974693775, -0.01153105404227972, -0.0014113347278907895, -0.004851741250604391, 0.042598139494657516, -0.018439605832099915, -0.06674287468194962, -0.019026590511202812, 0.0014085483271628618, 0.019116297364234924, 0.04275078326463699, 0.013919535093009472, 0.02658328413963318, 0.0553634874522686, 0.017181117087602615, -0.0348692312836647, 0.015593916177749634, 0.006093917414546013, -0.003081000642850995, 0.01621011458337307, -0.06193879619240761, 0.015239697881042957, 0.03402373194694519, 0.031071670353412628, -0.05922127142548561, -0.08329357951879501, 0.015715012326836586, -0.0614270344376564, -0.04003649204969406, -0.007285078056156635, 0.014362454414367676, 0.0018598551396280527, 0.024347085505723953, -0.004058903083205223, -0.06431619822978973, 0.019541973248124123, -0.016019778326153755, 0.006975602824240923, -0.053212203085422516, -0.02712947688996792, 0.020629042759537697, -0.008437497541308403, 0.007311653345823288, -0.003543318947777152, -0.018687216565012932, 0.039018068462610245, 0.005499009042978287, -0.05578921362757683, 0.03134386986494064, -0.022016437724232674, -0.03079828992486, -0.012238210998475552, -0.02090800181031227, 0.008826901204884052, -0.017711549997329712, 0.0028782777953892946, 0.03025498427450657, 0.023366408422589302, 0.030449900776147842, -0.0024989929515868425, 0.05242246389389038, -0.0036305896937847137, -0.008708048611879349, 0.009401134215295315, 0.020284701138734818, -0.061552587896585464, 0.025923332199454308, -0.03990227356553078, -0.0046777622774243355, -0.005795441567897797, 0.034261543303728104, -0.03335157781839371, -0.036000028252601624, -0.021421393379569054, 0.03633513301610947, -0.030816568061709404, -0.005709812045097351, -0.026271557435393333, 0.010643989779055119, 0.06864723563194275, -0.002177619840949774, 0.01668866164982319, -0.015530328266322613, -0.02515377849340439, -0.005070657003670931, 0.011696579866111279, -0.06249390169978142, -0.011953320354223251, 0.012633238919079304, -0.006342906504869461, -0.011146239005029202, 0.043274298310279846, 0.03326670825481415, -0.012763632461428642, -0.008242448791861534, -0.013026081956923008, 0.017852865159511566, 0.03135300800204277, 0.049490876495838165, -0.017834533005952835, -0.0063133700750768185, 0.029226455837488174, -0.0003998567699454725, -0.039460279047489166, -0.00223770784214139, 0.0076812258921563625, -0.0017680894816294312, -0.006899460684508085, -0.03449057787656784, -0.06379150599241257, -0.0013610399328172207, 0.08048107475042343, 0.02132822386920452, -0.010863224044442177, 0.004985658917576075, -0.003829546272754669, -0.035514794290065765, 0.030296452343463898, 0.07648997753858566, -0.06015463545918465, -0.01861930824816227, -0.005006255581974983, 0.024195795878767967, 0.00025624758563935757, 0.007257349323481321, -0.07059914618730545, 0.013852099888026714, -0.006436409428715706, -0.006212604232132435, -0.02632606402039528, -0.022212931886315346, -0.011708988808095455, 0.004278586246073246, -0.01658543013036251, -0.015092477202415466, -0.030209409072995186, -0.0072318753227591515, 0.023426614701747894, -0.03293817862868309, 0.0009621207136660814, 0.01174311712384224, 0.022659501060843468, -0.013631032779812813, 0.003919378388673067, 0.03461975231766701, -0.03595340996980667, 0.05655151233077049, 0.007974900305271149, -0.018171511590480804, -0.007797256112098694, -0.019732363522052765, 0.029089417308568954, -0.012794500216841698, -0.004877658095210791, 0.027332480996847153, 0.014115456491708755, -0.052512798458337784, 0.014104124158620834, -0.024660734459757805, -0.010236811824142933, -0.017035087570548058, -0.015068232081830502, 0.0025626150891184807, 0.03290662541985512, -0.021484464406967163, 0.05472658947110176, -0.02884996309876442, -0.013158238492906094, 0.05250541493296623, -0.06624161452054977, -0.06767179071903229, 0.01756375841796398, -0.05105018988251686, 0.047174517065286636, 0.042517390102148056, 0.044931381940841675, -0.08416090905666351, 0.03251788020133972, 0.018511895090341568, -0.0023422848898917437, 0.02042621374130249, -0.019994739443063736, 0.03331499174237251, -0.051892444491386414, 0.01857384480535984, -0.0998854786157608, 0.007525905035436153, 0.027743810787796974, 0.004893884528428316, -0.01025888416916132, -0.007548135239630938, -0.03889795392751694, 0.02193864807486534, -0.05480523407459259, -0.011397662572562695, 0.04266737028956413, -0.0189884752035141, 0.016286291182041168, -0.00582312885671854, -0.05564861372113228, 0.05545566603541374, 0.051260385662317276, -0.04659917205572128, -0.009588177315890789, -0.029704181477427483, 0.0526144914329052, -0.018067607656121254, 0.051144618541002274, -0.002696413779631257, -0.0013247296446934342, 0.06389673799276352, 0.005888164509087801, -0.001421323511749506, 0.03077729418873787, 0.0022565778344869614, 0.013706491328775883, 0.05830859765410423, -0.006664622109383345, 0.005649258382618427, 0.03350776433944702, -0.024376636371016502, -0.04196777567267418, 0.0668146088719368, 0.021721526980400085, -0.016374044120311737, -0.02916697971522808, 0.04887482151389122, 0.03256404399871826, -0.049651894718408585, -0.0409490130841732, 0.04945402219891548, -0.06951579451560974, -0.006776467431336641, -0.0004693669907283038, 0.0024758391082286835, -0.04181581363081932, 0.028893189504742622, -0.004126476123929024, 0.0058224620297551155, 0.056676968932151794, 0.030681384727358818, -0.0369860902428627, -0.008100117556750774, 0.07212730497121811, 0.08211509138345718, 0.056447502225637436, 0.02149667963385582, 0.04599488899111748, -0.02677019312977791, -0.05124428868293762, 0.008624634705483913, 0.021584980189800262, 0.003901816438883543, -0.03130839765071869, 0.009730255231261253, 0.04545371234416962, -0.01994984969496727, 0.07073953747749329, -0.012430415488779545, -0.012416359037160873, -0.008768470957875252, 0.014131195843219757, 0.03684735670685768, 0.06387560814619064, 0.026346620172262192, 0.020935416221618652, 0.0036485977470874786, -0.04382799193263054, 0.04310564696788788, -0.05000510811805725, -0.02903321385383606, -0.0047124335542321205, 0.0024016452953219414, 0.042999692261219025, 0.01910928077995777, 0.04232798144221306, 0.07402416318655014, -0.03307778015732765, -0.0031391396187245846, 0.01923988200724125, 0.033671192824840546, 0.00888377521187067, 0.023222677409648895, -0.013320621103048325, -0.02414841763675213, -0.020548371598124504, -0.007925865240395069, 0.0012297610519453883, -0.03229342773556709, -0.018296588212251663, 0.0210003349930048, -0.03257833793759346, -0.02408650703728199, 0.029381537809967995, 0.00316693470813334, -0.011219910345971584, -0.03912501782178879, -0.03938257694244385, -0.05703657492995262, -0.03269098326563835, -0.005965034477412701, -0.009176972322165966, -0.030221911147236824, -0.03747665882110596, -0.049427714198827744, 0.010589501820504665, 0.0014738290337845683, 0.02634676732122898, -0.061929553747177124, -0.0214263666421175, -0.0071382345631718636, 0.024305671453475952, -0.0012607232201844454, -0.002169122686609626, 0.04899751394987106, 0.027663910761475563, -0.03518384322524071, -0.023473987355828285, 0.009223663248121738, 0.03163151070475578, 0.017862215638160706, 0.010249807499349117, -0.08553584665060043, 0.037336405366659164, 0.028211524710059166, 0.03440866991877556, -0.07497631013393402, 0.02809356339275837, 0.015697306022047997, -0.005895679350942373, 0.04301201179623604, -0.014030062593519688, 0.012812715955078602, -0.02426951192319393, -0.011925473809242249, -0.010114443488419056, 0.02676769532263279, 0.03248663246631622, 0.004068652167916298, 0.09324730187654495, 0.025835901498794556, 0.007683577015995979, -0.03558902069926262, -0.03148694708943367, -0.014031225815415382, 0.004389533773064613, -0.03570343554019928, -0.010947820730507374, -0.05890682712197304, -0.06212884187698364, -0.046172209084033966, 0.005753855686634779, -0.06185540184378624, -0.020338399335741997, 0.0037285657599568367, 0.018105026334524155, -0.024329835548996925, 0.03647269681096077, -0.052862733602523804, 0.0026316242292523384, -0.0033079159911721945, -0.010002501308918, -0.015280862338840961, -0.021403120830655098, -0.00009431422950001433, -0.01953418366611004, 0.024223491549491882, -0.02369222417473793, -0.004269879311323166, -0.00749483285471797, 0.05084077641367912, 0.03077831119298935, 0.006772066932171583, 0.0129485372453928 ]
[ -0.10105270892381668, -0.021579822525382042, -0.01999312825500965, -0.03260073438286781, 0.003844937076792121, -0.026938777416944504, -0.03270457684993744, 0.005128034390509129, -0.014569428749382496, -0.027739694342017174, -0.01891072653234005, -0.0552186593413353, 0.02435537800192833, -0.013520420528948307, 0.1493716537952423, 0.0009560455218888819, 0.003451861208304763, -0.04283749312162399, -0.05604386702179909, 0.0013570101000368595, 0.00723676010966301, -0.04513220861554146, -0.04385962337255478, -0.05442070960998535, 0.007446191273629665, 0.0019919464830309153, 0.055977679789066315, -0.02197483740746975, 0.0024249369744211435, -0.21368944644927979, 0.00726835522800684, 0.014176069758832455, 0.028816554695367813, 0.006583149544894695, -0.012335598468780518, 0.05346953868865967, 0.03630779683589935, -0.012081043794751167, -0.04624446481466293, 0.03244314342737198, 0.03328705579042435, 0.014094035141170025, -0.03347593918442726, -0.031773313879966736, 0.0724804550409317, -0.019029757007956505, 0.005964183248579502, -0.014095010235905647, -0.0459846667945385, -0.0034929814282804728, -0.05173052102327347, -0.010948825627565384, 0.02989998459815979, -0.018839523196220398, 0.003452989272773266, 0.036333054304122925, 0.03515264391899109, 0.08534907549619675, 0.009800340048968792, 0.013125583529472351, -0.02007279545068741, 0.017212824895977974, -0.10821197926998138, 0.08420811593532562, 0.023116489872336388, 0.04741054028272629, 0.004422813653945923, -0.014382319524884224, 0.010527828708291054, 0.07764031738042831, 0.021345028653740883, -0.01641431450843811, -0.037681180983781815, 0.06979404389858246, 0.0058334749191999435, -0.034308891743421555, -0.00579076400026679, 0.01068351324647665, 0.01781429350376129, -0.04230706766247749, -0.034161534160375595, -0.009406408295035362, -0.01705840602517128, 0.012647708877921104, -0.029882438480854034, 0.012552869506180286, -0.032494090497493744, 0.052447788417339325, 0.01624619960784912, 0.020697036758065224, 0.01771574094891548, -0.006046307738870382, 0.06779109686613083, -0.008157510310411453, -0.10861305147409439, -0.008270315825939178, -0.009820522740483284, 0.019741151481866837, -0.02251790091395378, 0.43614763021469116, -0.028806766495108604, -0.00694925244897604, 0.07489623874425888, 0.01287553645670414, 0.022429995238780975, 0.004023984540253878, 0.010053385980427265, -0.0273221917450428, 0.023024307563900948, -0.03810044750571251, -0.03050048090517521, -0.012415755540132523, 0.04000236466526985, -0.04802105948328972, 0.013989092782139778, -0.001837625983171165, 0.03782014921307564, 0.024394651874899864, -0.01284683309495449, 0.022598685696721077, 0.0016360137378796935, 0.008944803848862648, 0.001111781457439065, -0.006670443806797266, -0.006186642684042454, -0.004321757238358259, 0.0006387948524206877, 0.016730105504393578, 0.0546826496720314, 0.04472915828227997, 0.014660152606666088, 0.02481069602072239, -0.05890141800045967, 0.009696356020867825, -0.0089921485632658, 0.011555841192603111, 0.0018031209474429488, -0.052686307579278946, 0.006031649652868509, 0.006666439585387707, -0.007845974527299404, 0.002673001028597355, 0.044732268899679184, -0.007659979164600372, -0.03541970252990723, 0.0466739758849144, -0.001421821885742247, -0.02703506126999855, -0.0015253096353262663, -0.04213246330618858, 0.011947279796004295, 0.01883568800985813, 0.017204882577061653, -0.05696813017129898, 0.03564729169011116, 0.04271266981959343, 0.07078666985034943, -0.007899741642177105, -0.06860647350549698, 0.024028349667787552, -0.03550444543361664, -0.03214357793331146, -0.03904588893055916, 0.026116717606782913, 0.020327702164649963, -0.08983578532934189, -0.01282951794564724, 0.029758654534816742, 0.031881626695394516, -0.06517012417316437, 0.0012719928054139018, 0.04134873300790787, -0.006615459453314543, 0.01512032188475132, 0.029911281540989876, -0.04129611328244209, -0.04494196176528931, -0.0014458324294537306, 0.06269872933626175, 0.04055441915988922, -0.025934288278222084, 0.01120730210095644, -0.008598079904913902, 0.012098182924091816, -0.0363980196416378, -0.07546593993902206, -0.043378908187150955, -0.015651166439056396, -0.007163820322602987, 0.007293991278856993, -0.015568596310913563, 0.022017603740096092, -0.0861901044845581, 0.06452567130327225, -0.038106437772512436, -0.006657385732978582, -0.011765589006245136, 0.0013728333869948983, -0.015262504108250141, -0.035538800060749054, -0.005692326929420233, 0.07822905480861664, -0.015521122142672539, 0.025832626968622208, -0.07401784509420395, -0.010606600902974606, 0.04675041884183884, -0.05095989257097244, 0.10158979892730713, 0.031578026711940765, -0.03610694035887718, 0.025335321202874184, 0.0061724502593278885, 0.004642528481781483, -0.007662320043891668, -0.011220854707062244, -0.012331961654126644, -0.008598334155976772, 0.04314718022942543, -0.0003471062518656254, -0.04949786886572838, -0.013094472698867321, -0.08159328252077103, -0.3499208688735962, -0.017057206481695175, 0.012943394482135773, -0.0041418662294745445, 0.0623161755502224, -0.10299060493707657, 0.008264551870524883, -0.01202185358852148, 0.0029992577619850636, -0.0020707068033516407, 0.09547073394060135, -0.03691224381327629, -0.007197753991931677, -0.07480145245790482, 0.004380191210657358, 0.04889719933271408, -0.004793876316398382, -0.02015921287238598, -0.019011253491044044, 0.022189659997820854, -0.008499962277710438, -0.040700800716876984, -0.036867886781692505, -0.001473651616834104, -0.02519279718399048, -0.018107818439602852, 0.07733765244483948, 0.04850506782531738, 0.10630840808153152, -0.021522346884012222, 0.04619816318154335, 0.011004520580172539, 0.010461607947945595, -0.10075753182172775, -0.019465507939457893, -0.0002578640996944159, 0.019077423959970474, 0.009667676873505116, 0.038012560456991196, -0.002963696839287877, -0.04870205745100975, 0.01800423115491867, -0.0698150098323822, -0.06494081020355225, -0.026212437078356743, 0.022446313872933388, -0.02081836387515068, -0.02666489966213703, -0.02398465946316719, 0.02559187076985836, 0.0016072439029812813, 0.026705455034971237, -0.003963884897530079, 0.02277633175253868, -0.00872729904949665, -0.008198050782084465, -0.05424331873655319, -0.029776981100440025, 0.03628642112016678, -0.016809439286589622, 0.0511966310441494, 0.06909381598234177, 0.04370737448334694, -0.07297948747873306, -0.0021680123172700405, 0.007611557375639677, 0.02395305596292019, 0.027906138449907303, 0.05536382272839546, -0.015965577214956284, -0.029916221275925636, 0.08374346792697906, -0.007856565527617931, 0.029858432710170746, 0.04334437847137451, 0.04192926734685898, -0.0395464226603508, -0.000040796250686980784, 0.0028426533099263906, 0.014060529880225658, 0.009949172846972942, -0.008365609683096409, 0.0416056290268898, -0.05307690054178238, -0.024958143010735512, 0.02777496725320816, 0.000013885190128348768, -0.0335439071059227, 0.03943311423063278, 0.025344865396618843, -0.02964150160551071, 0.016898227855563164, 0.014442834071815014, -0.012147506698966026, 0.0727856457233429, 0.016326185315847397, -0.27291423082351685, 0.04157083481550217, 0.04909507930278778, 0.05401146411895752, -0.009116907604038715, -0.010481936857104301, 0.04475967958569527, -0.07849033176898956, -0.031115418300032616, 0.03282340615987778, 0.02770307846367359, 0.03288530185818672, 0.019447335973381996, -0.0031397391576319933, 0.048148494213819504, -0.019818538799881935, 0.05417507141828537, -0.012033471837639809, -0.0021322674583643675, 0.0050873663276433945, 0.018259642645716667, -0.026801811531186104, 0.20185144245624542, 0.004548694007098675, -0.021552545949816704, 0.01589827984571457, 0.018414592370390892, 0.00859772227704525, 0.06276644021272659, 0.0015415390953421593, -0.010001164861023426, 0.015595740638673306, 0.007461673580110073, 0.004665237385779619, 0.04295162484049797, -0.04790106788277626, -0.03564238175749779, 0.02158210054039955, 0.005368271376937628, -0.005018456373363733, -0.010159826837480068, 0.032151754945516586, -0.04336250200867653, 0.02121916599571705, 0.05054769292473793, -0.02992367371916771, -0.004051150754094124, -0.019918043166399002, -0.02705448307096958, -0.0042179785668849945, -0.006601020228117704, -0.04279261827468872, 0.0009695715853013098, -0.009270177222788334, -0.015918616205453873, 0.05502656102180481, 0.0017595452954992652, -0.026179321110248566, -0.0027317062485963106, 0.020095860585570335, 0.03034365363419056, -0.045671507716178894, 0.11328009516000748, -0.010991284623742104, 0.011463610455393791 ]
[ -0.0071411472745239735, 0.008784359320998192, -0.009547194465994835, -0.020834606140851974, 0.011668521910905838, -0.019045023247599602, 0.03562520816922188, 0.06217693164944649, -0.03165433928370476, -0.011216574348509312, 0.019623391330242157, 0.032781992107629776, 0.044796016067266464, 0.0014909260207787156, 0.0009238351485691965, -0.004990255460143089, 0.01095730159431696, 0.0030377705115824938, 0.022555673494935036, 0.014431382529437542, -0.0059041245840489864, -0.01943979039788246, 0.01716003753244877, 0.003330013481900096, 0.012580400332808495, 0.009072016924619675, 0.00222835224121809, 0.02899758145213127, 0.017195338383316994, -0.12974834442138672, -0.0059514655731618404, -0.03794793412089348, 0.008278285153210163, -0.004312505945563316, -0.025944823399186134, 0.013795987702906132, 0.019997790455818176, -0.0028044881764799356, -0.04567177593708038, 0.011954057030379772, 0.025300560519099236, -0.005239017307758331, -0.02120067924261093, 0.041163768619298935, 0.04999123886227608, -0.006856187712401152, 0.0071896943263709545, -0.05613049492239952, -0.013256681151688099, -0.028404010459780693, -0.01746371202170849, -0.016725722700357437, 0.019705479964613914, -0.003480771090835333, 0.003871729364618659, -0.013978666625916958, -0.02622096613049507, -0.0014950491022318602, 0.062353454530239105, -0.019810684025287628, -0.006911393254995346, -0.0009134340798482299, -0.031417809426784515, -0.029896430671215057, -0.02714650146663189, -0.03665604069828987, 0.013107486069202423, 0.030939221382141113, -0.0027133519761264324, -0.00007099353388184682, 0.014104329980909824, 0.011303825303912163, -0.05760833993554115, -0.004101362079381943, 0.0028872904367744923, 0.013290454633533955, 0.025774313136935234, -0.02811744064092636, 0.003241355065256357, 0.0006648609414696693, -0.04182301461696625, 0.010938399471342564, -0.032579369843006134, 0.007895547896623611, -0.023729709908366203, 0.016605203971266747, 0.040993571281433105, -0.027509257197380066, 0.02728044055402279, -0.00804563332349062, 0.00398335000500083, 0.03794802352786064, -0.021393001079559326, -0.006406890228390694, -0.08335572481155396, -0.00883594248443842, 0.024990899488329887, -0.016445670276880264, -0.031004315242171288, 0.8683227896690369, 0.002801851835101843, 0.012978874146938324, 0.023870864883065224, 0.025930369272828102, -0.013646164909005165, -0.004928635898977518, 0.03159433603286743, 0.01588311977684498, -0.013241840526461601, -0.015241453424096107, 0.01654878444969654, -0.005254870746284723, 0.03152969852089882, 0.02357298508286476, 0.025065243244171143, 0.028669409453868866, 0.030916310846805573, 0.03946663439273834, 0.011380377225577831, 0.03852292150259018, 0.006058149505406618, -0.0024539113510400057, -0.0007365851779468358, 0.012627928517758846, -0.025438876822590828, -0.14116530120372772, -0.004621753003448248, -6.780652552990172e-33, 0.01751176081597805, -0.018723448738455772, 0.026173358783125877, -0.0039221011102199554, -0.0011324292281642556, -0.03297441825270653, 0.017208615317940712, -0.009517540223896503, -0.042352281510829926, -0.011049041524529457, 0.005581675097346306, -0.013231100514531136, -0.004016228020191193, 0.011288747191429138, 0.013755235821008682, -0.0047896369360387325, 0.03090447001159191, 0.03322886675596237, 0.002465066034346819, 0.012187344953417778, -0.003697236068546772, 0.0221266932785511, 0.006818490568548441, -0.020790742710232735, 0.017508508637547493, 0.0016374142142012715, 0.06818678975105286, -0.007520989514887333, 0.007817238569259644, -0.045902710407972336, -0.012018668465316296, 0.002285166410729289, 0.03969382122159004, -0.00813035573810339, 0.0026213000528514385, -0.010244792327284813, 0.012608356773853302, 0.00024212364223785698, -0.0146690234541893, -0.049174338579177856, -0.013224917463958263, -0.004375657998025417, -0.04911446571350098, -0.0061806910671293736, -0.024763770401477814, -0.0224840696901083, 0.0347154475748539, 0.04207063466310501, -0.004520589951425791, 0.00015828624600544572, -0.003358391346409917, 0.013986662030220032, -0.01968362368643284, 0.0022071711719036102, -0.01799425482749939, 0.02883659116923809, -0.04314938932657242, -0.019104795530438423, 0.031643398106098175, -0.022040996700525284, 0.012188454158604145, 0.004484411329030991, -0.03115028887987137, 0.01192286517471075, 0.0016524583334103227, -0.011696724221110344, -0.04094855114817619, -0.0216569472104311, -0.0028943433426320553, 0.025838077068328857, -0.064581960439682, 0.010363341309130192, -0.019850458949804306, -0.024769777432084084, 0.02538285404443741, -0.015574739314615726, -0.0035767725203186274, -0.010054047219455242, -0.008740609511733055, 0.013527357019484043, 0.006797093898057938, -0.0052377525717020035, -0.014945974573493004, 0.012407701462507248, -0.01593208499252796, 0.005893212277442217, 0.03869350627064705, -0.011937297880649567, -0.018514953553676605, 0.003081869799643755, 0.03414264693856239, 0.00742746889591217, 0.006277413573116064, -0.02191922441124916, -0.024049604311585426, 7.748317298535172e-33, 0.008475881069898605, 0.002199450507760048, 0.02017124742269516, 0.02137639932334423, 0.013771768659353256, -0.028236549347639084, 0.03624040633440018, -0.00847158394753933, -0.040439002215862274, 0.011257989332079887, -0.02311529964208603, -0.015323740430176258, -0.025039371103048325, 0.00725469458848238, 0.07754330337047577, -0.0086985994130373, 0.0064026121981441975, 0.011401704512536526, 0.032726168632507324, 0.004572336561977863, 0.043353889137506485, -0.001030435785651207, 0.017671750858426094, -0.007422143127769232, 0.03184283897280693, 0.0389392226934433, 0.001500988146290183, 0.043752122670412064, -0.012553918175399303, -0.026086146011948586, 0.0025645927526056767, -0.02766224928200245, 0.01514136791229248, -0.0009714647894725204, -0.031539589166641235, 0.02646155282855034, 0.0018604302313178778, 0.02027154713869095, 0.024519121274352074, -0.003815091447904706, -0.00619127880781889, -0.015838582068681717, -0.014075681567192078, 0.01042818184942007, -0.004804454278200865, -0.011920071206986904, 0.019966891035437584, 0.01495548989623785, 0.004959209822118282, -0.030421636998653412, 0.014769933186471462, 0.014034424908459187, 0.02083926647901535, 0.0023011662997305393, 0.018245290964841843, -0.027728978544473648, -0.00026038449141196907, 0.03901060298085213, -0.0030368028674274683, -0.025549419224262238, -0.008093835785984993, -0.027702821418642998, -0.003262618789449334, -0.014553966000676155, -0.022690001875162125, -0.028536764904856682, -0.009459828957915306, -0.016539037227630615, -0.01488699670881033, -0.022705083712935448, -0.00024613147252239287, -0.0035699617583304644, 0.014780557714402676, 0.025097442790865898, 0.01761382631957531, -0.02315182238817215, -0.033991072326898575, -0.003086262382566929, 0.0013520402135327458, 0.01907983236014843, 0.00568848941475153, 0.011036472395062447, -0.01204698532819748, 0.007044148165732622, 0.03173696622252464, 0.025469766929745674, -0.02659734897315502, 0.054067082703113556, 0.04329464212059975, 0.018334941938519478, -0.0186269823461771, -0.021001456305384636, 0.03259321674704552, 0.0488818995654583, -0.0069620851427316666, -1.2995718279285029e-8, 0.019851617515087128, -0.0038775198627263308, -0.020282069221138954, 0.016385141760110855, 0.003497692057862878, 0.027598224580287933, -0.008076474070549011, -0.024961257353425026, -0.012089872732758522, -0.0022227931767702103, 0.02418001927435398, 0.002503066323697567, -0.02019849233329296, 0.027826501056551933, 0.02489977329969406, -0.015915365889668465, 0.03516950085759163, -0.005168403498828411, 0.013746263459324837, -0.017213478684425354, -0.015153269283473492, 0.04892361909151077, -0.01833433285355568, 0.015620873309671879, -0.01697193644940853, -0.02774461917579174, 0.017619134858250618, -0.06184161454439163, -0.019463272765278816, -0.018792135640978813, -0.01755078323185444, -0.030125761404633522, -0.025493841618299484, 0.009623011574149132, -0.017121389508247375, 0.007863523438572884, -0.02786114439368248, 0.025803526863455772, 0.02132362313568592, -0.02012571692466736, 0.002252836711704731, -0.021636126562952995, 0.015207676216959953, -0.045815322548151016, -0.045133400708436966, -0.01153078768402338, 0.0047320593148469925, -0.00802298542112112, -0.01427967008203268, -0.017367113381624222, 0.05261539667844772, -0.015013941563665867, 0.016615239903330803, 0.024550314992666245, 0.006974410265684128, 0.000969531771261245, 0.017676202580332756, -0.061247460544109344, -0.01857692003250122, -0.012993184849619865, 0.0009851838694885373, 0.007849530316889286, -0.017474941909313202, -0.02174770087003708 ]
racket-wiring-it-up-to-a-repl-ala-slimeswank
https://markhneedham.com/blog/2012/07/11/racket-wiring-it-up-to-a-repl-ala-slimeswank
false
2012-07-29 21:53:03
Puppet: Keeping the discipline
[ "software-development", "puppet" ]
[ "Software Development" ]
For the last 5 weeks or so I've been working with http://puppetlabs.com/[puppet] every day to automate the configuration of various nodes in our stack and my most interesting observation so far is that you really need to keep your discipline when doing this type of work. We can keep that discipline in three main ways when developing modules. == Running from scratch Configuring various bits of software seems to follow the http://en.wikipedia.org/wiki/Pareto_principle[80/20 rule] and we get very close to having each thing working quite quickly but then end up spending a disproportionate amount of time tweaking the last little bits. When it's 'just little bits' there is a massive temptation to *make changes manually and then retrospectively put it into a puppet module and assume that it will work* if we run from scratch. From doing that a few times and seeing a module fail when run at a later stage we've realised it isn't a very good approach and we're started to get into the discipline of starting from scratch each time. Ideally that would mean creating snapshots of a Virtual Machine instance and rolling back after each run but that ends up taking quite a bit of time so more often we're removing everything that a module installs and then running that module again. == Running as part of environment We tend to run the modules individually when we start writing them but it's also important to run them as part of an environment definition as well to make sure modules play nicely with each other. This is particularly useful if there are dependencies between our module and another one - perhaps our module will be notified if there's a configuration file change in another module for example. == Running on different machines Even if we do the above two things we've still found that we catch problems with our modules when we try them out on other machines. Machines which have been in use for a longer period of time will have earlier versions of a module which aren't easy to upgrade and we'll need to remove the old version and install the new one. We've also come across occasions where other machines have left over files from modules that have since been removed and although the files seem harmless they can interfere with new modules that we're writing.
null
null
[ 0.03184961900115013, -0.0029898027423769236, 0.0001900587958516553, 0.03633212670683861, 0.11247709393501282, 0.0037793840747326612, 0.018750177696347237, 0.027362758293747902, 0.010030355304479599, -0.017492713406682014, -0.0231913011521101, 0.01700872927904129, -0.07257030159235, 0.0355171263217926, -0.04059305414557457, 0.07245345413684845, 0.0763038694858551, -0.0075402953661978245, 0.0032095611095428467, -0.004422776401042938, 0.02619234099984169, 0.056042492389678955, 0.02977113611996174, 0.03416316956281662, -0.01226485799998045, 0.01559704914689064, 0.02567647397518158, -0.029511841014027596, -0.05507175996899605, -0.0008911255281418562, 0.02191368117928505, -0.01012293342500925, 0.021758032962679863, 0.011591514572501183, 0.030329205095767975, -0.02202051877975464, -0.018230808898806572, 0.0042871213518083096, -0.005509178154170513, -0.008599560707807541, -0.04787440225481987, 0.05740286037325859, 0.006957809906452894, 0.013239500112831593, -0.04877379536628723, -0.0073472680523991585, -0.02001517079770565, 0.01718525029718876, 0.022486800327897072, -0.01121198758482933, -0.08680323511362076, 0.03209589421749115, -0.0058173807337880135, -0.019722266122698784, -0.01305732224136591, 0.02841564640402794, 0.03745311498641968, -0.07864172011613846, 0.009843395091593266, -0.02966388501226902, -0.013144753873348236, 0.007492790464311838, 0.0021064600441604853, 0.037158310413360596, 0.019402947276830673, -0.026345979422330856, 0.029037417843937874, 0.03564654290676117, -0.044497761875391006, -0.01456854585558176, -0.0016376933781430125, 0.013584814965724945, -0.01963481865823269, -0.03136402368545532, 0.020651601254940033, -0.04886261373758316, -0.009875762276351452, 0.05208919569849968, 0.011372020468115807, 0.06063810735940933, -0.02683018147945404, 0.025918783619999886, 0.01552284974604845, 0.0050876629538834095, 0.017820922657847404, -0.042645413428545, -0.013860675506293774, -0.011351405642926693, -0.04194161668419838, 0.0522199347615242, 0.045444101095199585, -0.06831614673137665, 0.023912634700536728, 0.026687486097216606, 0.013956463895738125, -0.011419350281357765, 0.00373182469047606, 0.0005513779469765723, -0.003022088436409831, 0.0032051296439021826, -0.007047246675938368, 0.011806227266788483, -0.016247835010290146, -0.03331494331359863, -0.0719960555434227, -0.02392735704779625, -0.025170786306262016, -0.0070714219473302364, -0.007675579749047756, -0.00011853485921164975, -0.03391513600945473, 0.009993747808039188, -0.015832478180527687, 0.014288014732301235, -0.07774781435728073, 0.0693182572722435, -0.0185327660292387, -0.03770840913057327, -0.012251732870936394, 0.004292584955692291, 0.05684111267328262, 0.048723526298999786, -0.030270038172602654, 0.07164955884218216, -0.010425739921629429, 0.014097871258854866, 0.0017782580107450485, 0.045240845531225204, -0.015779022127389908, -0.0617922879755497, 0.007929791696369648, 0.062087077647447586, -0.00004444107980816625, -0.014349040575325489, -0.013734106905758381, -0.025460464879870415, 0.0011071168119087815, 0.01454409584403038, 0.05858338251709938, 0.045930542051792145, -0.02005167119204998, -0.028447315096855164, 0.021060530096292496, 0.014585272409021854, 0.031021514907479286, 0.009883499704301357, 0.01025576051324606, -0.04806115850806236, -0.05258376523852348, -0.013445345684885979, -0.0029465672560036182, 0.026278993114829063, 0.0045273820869624615, -0.02558179944753647, 0.03563104569911957, 0.08008891344070435, 0.043039631098508835, -0.0016489693662151694, -0.027938786894083023, 0.003600566415116191, 0.024226220324635506, 0.027965020388364792, 0.009843532927334309, 0.05677751824259758, 0.010977406986057758, -0.02943529188632965, -0.008535437285900116, 0.03175172582268715, 0.030427351593971252, 0.010048337280750275, -0.06762075424194336, -0.03171244636178017, 0.0665416494011879, -0.053521204739809036, -0.027634816244244576, 0.04194231331348419, 0.07833142578601837, 0.023011410608887672, 0.02380078285932541, 0.013767959550023079, -0.07994277030229568, 0.04853575676679611, 0.002503135474398732, 0.010437622666358948, 0.015857966616749763, -0.005721948109567165, 0.07240360230207443, 0.007353585679084063, -0.0036314725875854492, 0.015607619658112526, -0.061542898416519165, -0.09450925886631012, 0.0022864416241645813, -0.018823683261871338, 0.052060555666685104, 0.005613110959529877, -0.004622210748493671, 0.07023420184850693, 0.008733217604458332, 0.044469479471445084, 0.01847993955016136, -0.00012436398537829518, -0.0008205092744901776, -0.056580495089292526, -0.06697242707014084, 0.05085551366209984, 0.03202658146619797, -0.0181756392121315, -0.028603054583072662, -0.0032720896415412426, -0.034075625240802765, -0.012744535692036152, 0.03095976822078228, -0.006526979152113199, 0.056759048253297806, 0.030833812430500984, 0.042996957898139954, -0.03854940086603165, 0.03486422821879387, -0.04481939598917961, 0.008596043102443218, -0.010861139744520187, -0.01610783487558365, 0.0028483576606959105, 0.00883883610367775, 0.11572530120611191, 0.04859853908419609, -0.06372249871492386, -0.038300711661577225, 0.06040005013346672, 0.009489133954048157, -0.052927788347005844, 0.0013141902163624763, 0.012052353471517563, 0.01301997434347868, 0.007966749370098114, -0.06545069813728333, -0.03696005418896675, 0.014838634990155697, -0.04293474182486534, 0.006245229858905077, 0.06424125283956528, -0.0421890951693058, 0.07301042973995209, 0.02964281477034092, -0.005549437366425991, 0.006594725884497166, -0.005275690462440252, -0.073136106133461, 0.027104996144771576, 0.024945633485913277, -0.024862248450517654, 0.06838729977607727, -0.022819889709353447, -0.024383865296840668, -0.042548928409814835, -0.049478594213724136, 0.011130147613584995, 0.01664128340780735, 0.07659625262022018, -0.03168180584907532, 0.06498432159423828, -0.013677583076059818, 0.018595589324831963, 0.0017282816115766764, -0.04067612066864967, -0.04502211511135101, -0.028838731348514557, 0.01132204756140709, 0.01208840124309063, 0.007363913580775261, -0.025765547528862953, 0.0015546304639428854, -0.013506955467164516, 0.02123788557946682, -0.021628741174936295, 0.04949470981955528, -0.021224020048975945, -0.005832462105900049, -0.03936835378408432, -0.01935495249927044, 0.06736971437931061, -0.04069392383098602, -0.027006380259990692, -0.00045392653555609286, -0.05089375004172325, 0.03655655309557915, -0.095267653465271, -0.04105387628078461, -0.012728272005915642, 0.011498821899294853, 0.03349936753511429, -0.00546420831233263, 0.03985128551721573, 0.04334063455462456, 0.007546647451817989, 0.02385871112346649, 0.008608829230070114, 0.019797958433628082, 0.033047500997781754, 0.017224246636033058, 0.004292646888643503, 0.011923020705580711, 0.0055671255104243755, 0.006821241229772568, -0.05124536156654358, 0.029331183061003685, -0.03877849504351616, -0.29678022861480713, 0.02585834078490734, 0.035316336899995804, -0.03096110187470913, 0.025281112641096115, -0.018834462389349937, 0.014083565212786198, -0.04812822863459587, -0.028638742864131927, 0.0070711527951061726, -0.03962516412138939, -0.0439392626285553, -0.0049490490928292274, 0.07268451899290085, -0.0056016575545072556, 0.027467362582683563, -0.007784482557326555, -0.028430931270122528, 0.016204597428441048, 0.029780959710478783, -0.01970556564629078, -0.05971544235944748, 0.010750616900622845, 0.026401584967970848, 0.03573483228683472, 0.06994903832674026, -0.07167501002550125, 0.0475892499089241, -0.0678459033370018, -0.03576989099383354, -0.015663806349039078, -0.013877440243959427, -0.009133989922702312, -0.021886928007006645, 0.015859929844737053, -0.006998408120125532, 0.047049641609191895, 0.004379491787403822, 0.027634484693408012, -0.0007192908669821918, -0.02939678728580475, -0.04013843089342117, 0.0023610424250364304, 0.0198912862688303, 0.06500988453626633, 0.010462549515068531, -0.0864051952958107, -0.031063197180628777, -0.03502141311764717, 0.06645618379116058, -0.017697351053357124, -0.036298688501119614, 0.007527635432779789, 0.040327731519937515, -0.006795105058699846, -0.000492148392368108, -0.01183472853153944, -0.006007345858961344, -0.04462950676679611, -0.013142311945557594, -0.031218398362398148, -0.041581716388463974, -0.02626645192503929, -0.057228557765483856, 0.004141536075621843, -0.024996019899845123, -0.07000639289617538, -0.02336868643760681, 0.07603242248296738, 0.009461479261517525, -0.04485749080777168, 0.007687495555728674, -0.0034114487934857607, -0.10214158147573471, 0.024209555238485336, -0.012967525981366634, -0.040597859770059586, -0.0036603910848498344, 0.009587166830897331, 0.06386812031269073, -0.0405258946120739, -0.06194349750876427, 0.02665676735341549, -0.02050618827342987, 0.013372128829360008, -0.01485302485525608, 0.017570864409208298, 0.004357019905000925, -0.02817971259355545, 0.01711590588092804, 0.0547010563313961, 0.008274160325527191, -0.026506178081035614, -0.03026021085679531, 0.020585373044013977, 0.017496583983302116, 0.027146896347403526, -0.00043578812619671226, 0.0035591465421020985, 0.042160578072071075, 0.01949133910238743, -0.06177602335810661, 0.029634958133101463, -0.014787456020712852, -0.012579480186104774, 0.00795989204198122, -0.05825245752930641, 0.0167614184319973, 0.04983384534716606, 0.0446118526160717, 0.005582605022937059, -0.019575778394937515, 0.02262972667813301, -0.0475538894534111, -0.02998545579612255, 0.006950742099434137, 0.007741346023976803, 0.027373185381293297, 0.005632724147289991, -0.003456135280430317, -0.055378224700689316, 0.023393115028738976, 0.018758947029709816, 0.0008157487609423697, -0.05355701595544815, -0.02473483607172966, 0.005548581015318632, 0.009598464705049992, 0.040570251643657684, 0.005637038964778185, -0.014959411695599556, 0.020166832953691483, 0.028357626870274544, -0.06598379462957382, 0.01795513741672039, -0.0032649945933371782, -0.058628205209970474, -0.027207043021917343, 0.024581193923950195, -0.008279387839138508, -0.039594098925590515, 0.0258888378739357, 0.02276916243135929, -0.0015017823316156864, 0.029179111123085022, 0.01263454183936119, 0.05121723562479019, -0.01454688236117363, 0.026426246389746666, -0.004308038856834173, 0.018305916339159012, -0.05408453196287155, 0.004969966132193804, -0.03604826703667641, -0.014028236269950867, -0.017305800691246986, 0.010216104798018932, -0.030825916677713394, -0.02118433080613613, -0.011952352710068226, 0.004146014340221882, -0.0689973533153534, -0.006100833415985107, -0.017996815964579582, 0.02246563509106636, 0.0646844431757927, -0.002201302908360958, 0.000471665000077337, -0.008268551900982857, 0.008080795407295227, 0.02864731103181839, 0.0597628578543663, -0.04705598205327988, -0.0020152893848717213, 0.023363472893834114, -0.011873467825353146, 0.017816901206970215, 0.0076472763903439045, 0.0435747355222702, 0.016914132982492447, 0.004950568545609713, -0.01699760928750038, 0.017496000975370407, 0.001671283389441669, 0.03838764876127243, 0.011253389529883862, -0.02838902734220028, 0.00038743033655919135, -0.030741097405552864, -0.019895870238542557, -0.01795695722103119, 0.015873976051807404, -0.005024350248277187, 0.00643085315823555, -0.02008150704205036, -0.0700792670249939, 0.03911605104804039, 0.03172913193702698, 0.034768301993608475, -0.004274694249033928, -0.01226070523262024, -0.011319328099489212, -0.02064967155456543, 0.02283349819481373, 0.0731949508190155, -0.05628715828061104, -0.01911148615181446, -0.012792091816663742, 0.015957200899720192, 0.01844039373099804, 0.02408778667449951, -0.038943711668252945, -0.03854662925004959, -0.011613807640969753, -0.009391437284648418, -0.0779452845454216, -0.036035846918821335, -0.027892889454960823, -0.003009268781170249, 0.0008563402225263417, 0.0025494506116956472, -0.004048309288918972, -0.005128609482198954, -0.012953313067555428, -0.049277082085609436, -0.01350986585021019, -0.02984761819243431, -0.011506090871989727, 0.011881879530847073, -0.02513737976551056, 0.0009320454555563629, -0.023684071376919746, 0.01626226119697094, 0.012640242464840412, -0.02177821286022663, -0.005881521385163069, -0.03518790379166603, 0.00521863391622901, -0.01695290580391884, 0.014308247715234756, -0.010533692315220833, 0.015632152557373047, -0.037175051867961884, -0.015149928629398346, -0.04614623636007309, 0.012461134232580662, -0.01968953013420105, -0.016565488651394844, 0.007847328670322895, 0.03824837878346443, 0.01256491243839264, 0.02710767090320587, -0.00989091582596302, -0.00982636772096157, 0.05219647288322449, -0.07684217393398285, -0.026661057025194168, -0.02906121499836445, -0.041337836533784866, 0.0104737039655447, 0.009344743564724922, 0.014359820634126663, -0.050415754318237305, 0.027679352089762688, 0.04500507935881615, 0.040863875299692154, 0.018097499385476112, -0.007833563722670078, 0.03708433359861374, -0.06021055951714516, 0.0030699775088578463, -0.08061984181404114, 0.014490419067442417, 0.026177026331424713, 0.01755230501294136, -0.016393166035413742, 0.005512811243534088, -0.04676750674843788, 0.036547910422086716, -0.07184484601020813, -0.008637228980660439, 0.0647309273481369, 0.0013512794394046068, -0.031780824065208435, -0.0066373529843986034, -0.09361854940652847, 0.02880009636282921, 0.01969880610704422, -0.03557000309228897, 0.01442568376660347, -0.005574571900069714, 0.051675740629434586, -0.005829552188515663, 0.01911436766386032, -0.027103863656520844, -0.005279541015625, 0.07317724078893661, 0.013543658889830112, -0.005771647207438946, 0.04241069033741951, -0.009624957107007504, 0.03326878324151039, 0.030672898516058922, 0.027223220095038414, -0.016650134697556496, 0.015340907499194145, -0.01320260763168335, -0.04926019534468651, 0.020954174920916557, -0.009228402748703957, -0.023345494642853737, -0.03643036633729935, 0.05231524631381035, 0.027779147028923035, -0.039252907037734985, -0.07667893916368484, 0.0321052223443985, -0.05872001498937607, -0.010682852007448673, -0.012998954392969608, -0.004698117729276419, -0.04958229511976242, 0.04566993936896324, -0.010330085642635822, 0.00015763156989123672, 0.07042086869478226, -0.004704326391220093, 0.005544667132198811, 0.017475556582212448, 0.06131681054830551, 0.06814862787723541, 0.08238088339567184, 0.008908785879611969, 0.06705359369516373, -0.022746386006474495, -0.0422796830534935, 0.00172947917599231, -0.0012912473175674677, -0.026557646691799164, -0.006099469494074583, 0.014109721407294273, 0.06290652602910995, -0.003088167402893305, 0.08543124049901962, -0.008152797818183899, 0.0022044319193810225, -0.0009614152368158102, 0.031553786247968674, 0.006888668984174728, 0.07581126689910889, 0.022162701934576035, 0.008382280357182026, -0.009120982140302658, -0.03255957365036011, 0.02144329808652401, -0.04550239071249962, 0.004050234332680702, 0.029127435758709908, -0.01819687709212303, 0.011327571235597134, 0.021413814276456833, 0.04662330821156502, 0.06380713731050491, -0.02477942407131195, 0.02330085076391697, 0.012669092044234276, 0.0337328277528286, -0.01879165507853031, 0.018919648602604866, -0.030282508581876755, 0.005433263257145882, 0.019858120009303093, -0.03813149780035019, -0.009830353781580925, -0.006986498367041349, -0.018844550475478172, 0.05205385014414787, -0.0344369076192379, 0.00900004617869854, 0.019915523007512093, 0.001450037700124085, -0.025989696383476257, -0.01670660264790058, -0.04421593248844147, -0.04868343845009804, -0.04499438777565956, -0.009110203944146633, 0.019038928672671318, 0.0023161573335528374, -0.010853231884539127, -0.009346609935164452, -0.016364475712180138, -0.03570349141955376, 0.05178562551736832, -0.06616148352622986, -0.007248585112392902, -0.000813737278804183, 0.007318353746086359, 0.025377746671438217, 0.0029829484410583973, 0.0522550530731678, 0.012465625070035458, -0.028421888127923012, -0.007593952585011721, -0.0009572244598530233, 0.028303105384111404, -0.03067401796579361, -0.006806833203881979, -0.0827874094247818, 0.03521091490983963, 0.035899095237255096, -0.0039003645069897175, -0.06619821488857269, 0.04535168781876564, 0.02517787553369999, -0.01494470052421093, 0.051470283418893814, -0.052301883697509766, -0.0017569783376529813, -0.03484182804822922, -0.009147323668003082, -0.01853068545460701, 0.02013709582388401, 0.05466333404183388, -0.012563305906951427, 0.08524680882692337, 0.027630656957626343, -0.011526991613209248, -0.05535222962498665, -0.008139433339238167, -0.015092851594090462, -0.0012063898611813784, -0.03726264834403992, -0.022779667750000954, -0.04148976877331734, -0.07571081072092056, -0.04900007322430611, 0.02111252024769783, -0.016620201990008354, -0.03925710543990135, 0.01054004579782486, 0.004374418407678604, -0.03668420389294624, 0.010364997200667858, -0.030173979699611664, 0.013293327763676643, -0.029195882380008698, 0.0007327786297537386, 0.019518394023180008, 0.03387928009033203, -0.011182975023984909, -0.018749495968222618, 0.02847732976078987, -0.041344981640577316, -0.0056373849511146545, -0.005302004516124725, 0.04705570265650749, 0.03800582140684128, 0.007017490454018116, 0.020179206505417824 ]
[ -0.09270830452442169, -0.02334105595946312, 0.015257666818797588, -0.05199136584997177, 0.027448231354355812, -0.0277267899364233, -0.012735657393932343, -0.013708295300602913, -0.02838144078850746, -0.030504001304507256, 0.020101742818951607, -0.011138815432786942, 0.01634792983531952, -0.019063079729676247, 0.09346426278352737, -0.008932678028941154, -0.026225019246339798, -0.02295391820371151, 0.0181199349462986, 0.006878173444420099, 0.010084681212902069, -0.0428796261548996, -0.04349543899297714, -0.05179809778928757, -0.033548787236213684, 0.04550788179039955, 0.027553612366318703, -0.038948554545640945, 0.018961921334266663, -0.19277045130729675, 0.04204240441322327, -0.025929633527994156, -0.01304708980023861, -0.01284534577280283, 0.023195531219244003, 0.044274382293224335, 0.029228724539279938, 0.0015578132588416338, -0.022960646077990532, 0.038452789187431335, 0.0065763480961322784, 0.013347136788070202, -0.09054417908191681, -0.051137421280145645, 0.0345926508307457, -0.006442280486226082, -0.013043388724327087, -0.03050478734076023, -0.034719906747341156, -0.005574394017457962, -0.03175291419029236, -0.008235911838710308, -0.006136004813015461, -0.017097247764468193, -0.015963159501552582, 0.025636883452534676, 0.048322588205337524, 0.07970000803470612, 0.015520394779741764, 0.020152924582362175, 0.011563478969037533, -0.0039911516942083836, -0.11817280948162079, 0.08674202859401703, 0.05141119658946991, 0.030832810327410698, -0.04776286706328392, -0.036807864904403687, -0.04480552673339844, 0.09402251243591309, -0.011009106412529945, 0.0006592666613869369, -0.021787302568554878, 0.045773494988679886, 0.0028405594639480114, -0.010649943724274635, -0.01649150624871254, 0.03135113790631294, 0.051692139357328415, -0.04232655465602875, -0.024319563060998917, -0.009301605634391308, -0.017346037551760674, 0.011512010358273983, -0.03853023424744606, 0.035334013402462006, -0.0003322954580653459, 0.05107155442237854, 0.024263659492135048, 0.037761591374874115, 0.038391947746276855, -0.0005144047900103033, 0.040890779346227646, 0.01383890863507986, -0.05362702161073685, 0.02295602671802044, -0.011866429820656776, 0.009616237133741379, -0.0499948151409626, 0.44685864448547363, -0.0037902784533798695, -0.02174001932144165, 0.07881934940814972, 0.033475298434495926, 0.001580987125635147, 0.00987773947417736, -0.02586488239467144, -0.014730798080563545, 0.0206463485956192, -0.010489879176020622, 0.030828846618533134, 0.00548833841457963, 0.04405549168586731, -0.07816419750452042, 0.021508337929844856, 0.017284167930483818, -0.028962520882487297, 0.038319945335388184, 0.011529375799000263, -0.00878820288926363, 0.014092055149376392, 0.022733518853783607, 0.045787371695041656, 0.02679375559091568, 0.0166824609041214, -0.01425576489418745, 0.025304049253463745, 0.04934510216116905, 0.021624140441417694, 0.009414566680788994, 0.03510396182537079, -0.014495152048766613, -0.05248615890741348, 0.020530207082629204, 0.0366467610001564, 0.0024163031484931707, 0.021678822115063667, -0.028754694387316704, 0.01868622936308384, 0.03939545899629593, 0.005688986741006374, 0.002365028951317072, 0.046749405562877655, -0.03659290447831154, -0.010064362548291683, 0.091356560587883, 0.004713600967079401, -0.01326508168131113, -0.04479609802365303, -0.01269438024610281, -0.018851997330784798, 0.036827582865953445, -0.0054581379517912865, -0.06630071252584457, 0.0148801039904356, 0.01597660221159458, 0.05893532186746597, -0.006987563334405422, -0.08109467476606369, -0.00525446655228734, -0.032734256237745285, -0.029740046709775925, -0.03499702364206314, 0.02289235033094883, 0.044767122715711594, -0.11161608248949051, -0.03523984178900719, 0.014416037127375603, 0.04024748131632805, -0.043226972222328186, -0.03528539463877678, 0.014495550654828548, -0.02807334065437317, -0.018134314566850662, 0.03592674434185028, -0.07487599551677704, -0.05411313474178314, 0.03243359178304672, 0.046422481536865234, 0.02783404104411602, 0.023576095700263977, 0.005961024202406406, -0.018392231315374374, -0.012650592252612114, -0.053814034909009933, -0.08650406450033188, -0.03427357226610184, 0.0034168309066444635, -0.0396156944334507, -0.012574383988976479, -0.03530094772577286, 0.009112092666327953, -0.05024033039808273, 0.05675683915615082, 0.008873559534549713, -0.014598323032259941, 0.008350057527422905, 0.0005140501889400184, -0.03433295711874962, -0.015810798853635788, -0.0214371457695961, 0.036269307136535645, 0.003790095914155245, 0.031330324709415436, -0.08266600221395493, 0.05641614645719528, 0.015258572064340115, -0.0617951899766922, 0.09904199093580246, 0.07053453475236893, -0.039646513760089874, -0.019667161628603935, 0.010583410039544106, 0.016447681933641434, -0.030229616910219193, -0.006428931374102831, -0.06513186544179916, 0.036933477967977524, 0.033066824078559875, 0.03704344853758812, -0.023365307599306107, 0.031225861981511116, -0.01604408398270607, -0.34392377734184265, -0.02298756316304207, -0.0418175645172596, 0.0012311703758314252, 0.0029166890308260918, -0.04542519524693489, 0.03474670276045799, -0.02732991613447666, -0.024412788450717926, -0.033848073333501816, 0.09395215660333633, -0.031214216724038124, 0.04590490832924843, -0.06206599622964859, -0.0193847194314003, 0.011475762352347374, -0.024828748777508736, -0.01440317090600729, -0.06356525421142578, 0.03502834960818291, -0.006123557221144438, -0.05129234865307808, -0.011709791608154774, -0.06824832409620285, -0.013889754191040993, -0.0453091524541378, 0.11037883162498474, -0.047967951744794846, 0.09969507157802582, -0.03609103709459305, 0.042602524161338806, 0.009089640341699123, 0.00961251463741064, -0.11143596470355988, -0.005690975114703178, 0.009024104103446007, 0.016449954360723495, -0.007688721641898155, 0.023137418553233147, -0.021397313103079796, -0.07098956406116486, 0.025295326486229897, -0.055929720401763916, -0.026341106742620468, -0.03477538749575615, -0.00028058429597876966, -0.026290757581591606, -0.010938161052763462, -0.025598088279366493, 0.039553068578243256, 0.018851695582270622, 0.01299373060464859, -0.005428685806691647, -0.0021224000956863165, -0.029881004244089127, -0.03313687443733215, -0.044593095779418945, -0.009501744993031025, 0.016646135598421097, 0.022500593215227127, 0.03511259704828262, 0.05225437507033348, 0.009208847768604755, -0.06437338143587112, 0.029041053727269173, -0.006059379782527685, 0.03405337408185005, -0.016757560893893242, 0.06646188348531723, -0.031624436378479004, -0.020409047603607178, 0.11368972063064575, 0.01132183987647295, -0.0027817252557724714, 0.007548415567725897, 0.004120472352951765, -0.01743963174521923, 0.069892019033432, 0.007735382299870253, -0.004425950814038515, 0.0354653038084507, -0.02835468389093876, 0.02734745293855667, -0.026253147050738335, 0.0004511075676418841, 0.013592356815934181, -0.03549724072217941, -0.034961555153131485, 0.03604203462600708, 0.023138875141739845, -0.018251555040478706, 0.010944344103336334, -0.015326660126447678, -0.005234657786786556, 0.0939357727766037, 0.025425899773836136, -0.25738805532455444, 0.03574967384338379, 0.06202417239546776, 0.06641160696744919, -0.013243753463029861, 0.0036032795906066895, 0.007428048178553581, -0.0395188108086586, 0.048503577709198, 0.011363423429429531, 0.029306989163160324, 0.03214903548359871, 0.019177768379449844, 0.00995933823287487, 0.02128315530717373, 0.014321599155664444, 0.06045389175415039, 0.0036861903499811888, 0.024500772356987, -0.030766434967517853, 0.027839630842208862, -0.0070754592306911945, 0.16226008534431458, 0.011701849289238453, 0.03437952324748039, 0.028875794261693954, -0.00924499612301588, 0.031588487327098846, 0.0670785903930664, -0.0035892557352781296, -0.008713030256330967, -0.004894149024039507, 0.008242332376539707, 0.00987903494387865, 0.04134408384561539, -0.0807173028588295, -0.04055161029100418, 0.007083707954734564, 0.03491801396012306, 0.003256291849538684, 0.011997188441455364, 0.008270671591162682, -0.012328502722084522, 0.017640354111790657, 0.05383577570319176, -0.033646952360868454, -0.003928244113922119, -0.02814861200749874, -0.04802459105849266, 0.00483621284365654, -0.03938502073287964, -0.055552151054143906, -0.0016787340864539146, -0.008644328452646732, -0.01491224579513073, 0.08575864136219025, 0.02415669895708561, -0.023117758333683014, 0.007424204610288143, 0.004917169455438852, 0.003050366183742881, -0.05383211001753807, 0.11756930500268936, 0.03271380811929703, 0.009182916022837162 ]
[ -0.01170512568205595, 0.012013415805995464, -0.011453389190137386, 0.00890385266393423, 0.010967608541250229, -0.015587260015308857, -0.046050168573856354, 0.008289399556815624, -0.0448593869805336, -0.01301683858036995, 0.01665322110056877, 0.02323109284043312, 0.03260524943470955, -0.02420102059841156, 0.03167392313480377, 0.013887070119380951, 0.01097283884882927, 0.05895356088876724, 0.02691863849759102, -0.023302657529711723, -0.03057037852704525, 0.03695201128721237, 0.04082139953970909, -0.008095839060842991, -0.030410341918468475, 0.003810265799984336, -0.030099287629127502, 0.011247372254729271, 0.019099362194538116, -0.1472882628440857, -0.007895526476204395, -0.0047348435036838055, 0.02104037255048752, -0.0025857037398964167, 0.03839651495218277, 0.051513779908418655, -0.004815205931663513, -0.027521586045622826, -0.007477329112589359, -0.04480832815170288, 0.07357128709554672, -0.000566287140827626, -0.011615704745054245, -0.01475656870752573, -0.01822494901716709, -0.006437522359192371, -0.012085061520338058, -0.015284053049981594, -0.018825644627213478, -0.01616859622299671, -0.017586873844265938, -0.008481074124574661, 0.025605808943510056, -0.0116415461525321, -0.032147299498319626, -0.031562626361846924, 0.02508666180074215, -0.014927406795322895, -0.0026394992601126432, -0.01306883618235588, 0.0186763945966959, 0.0018493072129786015, -0.025122830644249916, -0.04126209393143654, -0.005876976530998945, -0.002898399019613862, 0.014311181381344795, -0.006081306841224432, 0.00723183061927557, 0.003087087534368038, -0.021045593544840813, -0.009848121553659439, 0.010204071179032326, -0.025851218029856682, -0.031163306906819344, -0.02701917663216591, 0.027643995359539986, -0.028271667659282684, 0.015201887115836143, 0.038891103118658066, -0.029336579144001007, 0.013531177304685116, 0.03136243298649788, -0.0026026004925370216, 0.004728469531983137, -0.00664438446983695, -0.006790430750697851, 0.001177650992758572, 0.021103238686919212, 0.005400639493018389, -0.017264587804675102, -0.0026274975389242172, -0.0066190543584525585, 0.020271440967917442, -0.06083409860730171, -0.0015190819976851344, 0.013862457126379013, -0.008370690047740936, 0.0031695470679551363, 0.8199361562728882, -0.005570115987211466, -0.001776378252543509, 0.02779950387775898, 0.0050387270748615265, 0.05287126824259758, -0.016428319737315178, 0.006611902732402086, 0.03420490026473999, -0.00807199813425541, -0.06691046059131622, 0.0046236771158874035, -0.020518379285931587, 0.039675068110227585, -0.01290301326662302, -0.0038362329360097647, -0.04533969610929489, 0.0375378243625164, 0.01606220193207264, 0.011373568326234818, 0.02741209603846073, 0.04901820048689842, -0.011268422938883305, 0.03208131343126297, 0.006339957006275654, 0.01938091777265072, -0.2208475023508072, -0.02395455166697502, -7.805448528037043e-33, 0.03352421894669533, -0.04664595425128937, -0.006714972201734781, 0.028487449511885643, 0.03744899481534958, 0.009485145099461079, 0.032997533679008484, 0.011267219670116901, -0.0220109261572361, -0.01661437191069126, 0.002025715308263898, -0.027990514412522316, 0.005808117799460888, 0.006257777102291584, 0.0002653005940373987, -0.01653972454369068, -0.013625219464302063, 0.049261465668678284, 0.011213730089366436, 0.00412705959752202, 0.02944285422563553, 0.00633480679243803, -0.013814672827720642, 0.021444901823997498, 0.06914772838354111, 0.007392550352960825, 0.01601986773312092, 0.008913028985261917, 0.009098305366933346, -0.05283106863498688, 0.001455101533792913, 0.02639669179916382, -0.003721043933182955, 0.00587198743596673, 0.001256596646271646, -0.02710457518696785, -0.0011463549453765154, -0.006249540485441685, -0.040022112429142, -0.045227907598018646, -0.011913642287254333, 0.0333455465734005, -0.04043534770607948, -0.04191518574953079, -0.02271711826324463, -0.02696806751191616, -0.022805800661444664, 0.024244071915745735, 0.03084442764520645, -0.012603417038917542, 0.019284488633275032, 0.010932880453765392, 0.02703484147787094, 0.004470785614103079, -0.01961389183998108, -0.013171682134270668, -0.00027666575624607503, 0.0291847363114357, 0.0036284811794757843, 0.009950651787221432, -0.0060132164508104324, -0.013640503399074078, -0.02705821394920349, -0.012545115314424038, 0.026864683255553246, -0.03257584199309349, 0.021479522809386253, 0.03268186002969742, 0.01491507887840271, 0.015198084525763988, -0.05477980151772499, -0.019328681752085686, -0.0472412146627903, -0.013171445578336716, 0.019685542210936546, -0.01981244795024395, 0.0023217706475406885, -0.034492794424295425, -0.028819821774959564, 0.027397777885198593, 0.024623172357678413, 0.0191681869328022, -0.02176034264266491, -0.02965623326599598, -0.008901662193238735, -0.003642227267846465, 0.008142688311636448, -0.006679614540189505, 0.007089255377650261, -0.0025749406777322292, 0.05097948759794235, -0.01037156954407692, -0.00407162681221962, -0.027732590213418007, -0.035439733415842056, 8.008109631590559e-33, -0.008420774713158607, 0.012904875911772251, -0.026132648810744286, 0.03768502175807953, 0.011421818286180496, -0.03509116917848587, 0.011995617300271988, -0.006837503518909216, -0.04227795451879501, 0.04171023517847061, -0.015018224716186523, 0.017745904624462128, -0.028351696208119392, 0.03684267774224281, 0.021109001711010933, 0.009906943887472153, 0.021853983402252197, -0.062072452157735825, 0.0518227256834507, -0.01375181321054697, -0.02422427386045456, 0.02183351293206215, 0.0380590558052063, -0.010392692871391773, 0.003427454736083746, 0.07062434405088425, -0.04414687678217888, 0.035244859755039215, 0.00017362108337692916, 0.00838099792599678, -0.01049454603344202, -0.023663809522986412, 0.04747208580374718, 0.015277456492185593, -0.012386014685034752, 0.016739187762141228, -0.037263430655002594, 0.010532956570386887, 0.032251738011837006, -0.001889138831757009, 0.050752606242895126, -0.006445503793656826, -0.02490023337304592, 0.0010812334949150681, 0.02098803035914898, -0.02158382534980774, 0.003164291149005294, 0.0036977073177695274, -0.04617321491241455, -0.02328607812523842, 0.004153030924499035, 0.03193115442991257, 0.01002209261059761, -0.03233037889003754, -0.002289384137839079, -0.03161369636654854, -0.03957020118832588, 0.026600735262036324, -0.009676303714513779, 0.001279382617212832, 0.013048209249973297, -0.010972456075251102, -0.0410575345158577, 0.03701973706483841, -0.05525972694158554, 0.015595181845128536, -0.03549521043896675, -0.01690681092441082, 0.03726940229535103, 0.0054177455604076385, -0.01400292944163084, 0.057065870612859726, -0.02600988559424877, 0.03592422604560852, 0.016160352155566216, -0.011225929483771324, -0.01805313304066658, 0.007638526614755392, 0.029538476839661598, 0.016164951026439667, -0.02350083738565445, 0.006623849738389254, -0.023036682978272438, -0.025142261758446693, 0.0067513673566281796, 0.0049561006017029285, -0.03223001956939697, 0.07262498885393143, 0.0061050052754580975, -0.0049817850813269615, -0.005750717129558325, -0.025226902216672897, -0.006679171696305275, 0.032047007232904434, -0.012739798985421658, -1.3148157229636581e-8, 0.008477306924760342, 0.01908574439585209, 0.00708074402064085, 0.02481233701109886, 0.04388420656323433, 0.021769413724541664, -0.00493125943467021, -0.018662715330719948, 0.002316708443686366, 0.02119768038392067, 0.07729614526033401, -0.008566067554056644, -0.028299910947680473, 0.028942398726940155, 0.04061582311987877, -0.033801499754190445, 0.0071801235899329185, 0.005875957664102316, 0.022033637389540672, 0.005537586752325296, -0.0043939645402133465, 0.06711088120937347, -0.023712776601314545, 0.0345439612865448, 0.0024274922907352448, 0.021484199911355972, 0.019730715081095695, -0.07702844589948654, -0.02544425241649151, 0.025485849007964134, -0.019297784194350243, -0.02933470718562603, -0.023372408002614975, 0.012199093587696552, -0.044049058109521866, -0.013595007359981537, -0.021142302080988884, -0.007146856747567654, 0.021372511982917786, 0.006429238710552454, 0.00942597258836031, 0.016759391874074936, -0.010290549136698246, -0.03137435391545296, -0.031085703521966934, -0.006306184455752373, 0.017754174768924713, 0.01697617582976818, 0.015693048015236855, -0.06289220601320267, 0.028712861239910126, -0.013124266639351845, -0.016224443912506104, 0.02911253459751606, 0.004175157286226749, -0.01075997855514288, 0.0304915439337492, -0.023813482373952866, -0.021916085854172707, -0.0049355523660779, 0.007253734860569239, 0.0030436478555202484, -0.010308951139450073, -0.03143759444355965 ]
puppet-keeping-the-discipline
https://markhneedham.com/blog/2012/07/29/puppet-keeping-the-discipline
false
2012-07-29 19:11:24
Unix: tee
[ "unix", "tee" ]
[ "Shell Scripting" ]
I've read about the Unix 'http://en.wikipedia.org/wiki/Tee_(command)[tee]' command before but never found a reason to use it until the last few weeks. One of the things I repeatedly do by mistake is open +++<cite>+++/etc/hosts+++</cite>+++ without sudo and then try to make changes to it: [source,text] ---- $ vi /etc/hosts # Editing it leads to the dreaded 'W10: Changing a readonly file' ---- I always used to close the file and then re-open it with sudo but I recently came across http://www.commandlinefu.com/commands/view/1204/save-a-file-you-edited-in-vim-without-the-needed-permissions[an approach which allows us to use 'tee' to get around the problem]. Once we've made our change we can run the following command: [source,text] ---- :w !sudo tee % ---- The ':w' is usually used to write the buffer to the current file but here we're substituting a shell command to receive the buffer instead. In this case we're sending the buffer to the 'sudo tee %' command where '%' refers to the current file name. tee is defined like so: ____ The tee utility copies standard input to standard output, making a copy in zero or more files. The output is unbuffered. ____ So we're sending the buffer for the current file to tee which then saves it to the current file. Since we've run tee with sudo it will give us the appropriate permissions to write to the file that we didn't initially have. This http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work[Stack Overflow post explains what's going on in more detail]. Another thing we've been working on is hooking up the logs of our various services to http://logstash.net/[logstash] and to test it out we needed to write to files in the +++<cite>+++/var/log+++</cite>+++ directory. We started out trying to echo a message to the end of the apache log file like this: [source,text] ---- $ echo "random message" >> /var/log/apache2/access_log zsh: permission denied: /var/log/apache2/access_log ---- As you can see that doesn't work since we don't have permissions to write to files in +++<cite>+++/var/log+++</cite>+++ so we need to find another way to do that and https://twitter.com/nickstenning[Nick] pointed out that tee would do the job here as well. [source,text] ---- $ echo "random message" | sudo tee -a /var/log/apache2/access_log random message ---- Passing the '-a' flag to tee means that it appends standard input to the file instead of replacing the whole file like before. If we don't want standard in to be directed to standard out we can redirect that to +++<cite>+++/dev/null+++</cite>+++ like so: [source,text] ---- $ echo "random message" | sudo tee > /dev/null -a /var/log/apache2/access_log ----
null
null
[ -0.0007692282670177519, -0.007180735003203154, -0.023393426090478897, 0.01533107552677393, 0.10788965970277786, -0.013379687443375587, 0.0046594454906880856, 0.06262606382369995, 0.024326756596565247, -0.03681043162941933, -0.022160954773426056, 0.009299205616116524, -0.04881351441144943, -0.0035210715141147375, -0.007491134572774172, 0.06514250487089157, 0.07476893067359924, -0.02666364796459675, 0.013371097855269909, 0.0038631013594567776, 0.0361836776137352, 0.03931072726845741, -0.011121311224997044, -0.004383284132927656, 0.013942744582891464, 0.011186577379703522, 0.00847199372947216, -0.026472579687833786, -0.04475276172161102, 0.02106914296746254, 0.043507229536771774, -0.04617413505911827, 0.009036987088620663, -0.02051020972430706, 0.011942069977521896, 0.0015842674765735865, -0.04447704926133156, 0.00853328313678503, 0.021100124344229698, -0.007744679693132639, -0.06597838550806046, 0.029631881043314934, -0.002783861244097352, -0.005838616751134396, -0.026856418699026108, 0.024570412933826447, -0.012324518524110317, -0.011318170465528965, -0.013888608664274216, 0.007447496056556702, -0.07182487845420837, 0.03184909746050835, -0.025113051757216454, -0.03130714222788811, 0.04981878772377968, 0.01612195558845997, 0.022531189024448395, -0.06302259862422943, 0.021649904549121857, -0.033692967146635056, -0.022310011088848114, -0.02334265224635601, 0.004999720957130194, 0.031123701483011246, -0.002484290162101388, -0.037982277572155, -0.020561816170811653, 0.018020670861005783, -0.041728533804416656, -0.008608028292655945, 0.024502450600266457, 0.00690208887681365, -0.05366705358028412, -0.0007228757021948695, 0.058819983154535294, -0.007648822385817766, 0.0076544503681361675, 0.03134909272193909, 0.006321223918348551, 0.057870782911777496, -0.01667342521250248, 0.023742321878671646, 0.02400476671755314, 0.01819722168147564, 0.028545258566737175, -0.02807517722249031, -0.004931317176669836, 0.014865771867334843, -0.056075163185596466, 0.04691271483898163, 0.025605203583836555, -0.0571901835501194, -0.009697682224214077, -0.005952027160674334, 0.0076066358014941216, -0.00022225597058422863, -0.00672923494130373, 0.007682338356971741, 0.014186827465891838, -0.011782213114202023, -0.0333029069006443, 0.006999710109084845, 0.005582129117101431, 0.056638218462467194, -0.08473127335309982, 0.011133895255625248, -0.020361876115202904, -0.023898625746369362, 0.012851723469793797, -0.031024182215332985, 0.0013012065319344401, -0.0013092466397210956, -0.00551576865836978, -0.0038169941399246454, -0.08123305439949036, 0.06840257346630096, 0.02991577424108982, -0.019982993602752686, 0.040875136852264404, 0.040456365793943405, 0.04386933892965317, 0.008382541127502918, 0.02758536860346794, 0.04842201992869377, 0.028262214735150337, -0.0022888053208589554, 0.025114038959145546, 0.04295043274760246, -0.029121998697519302, -0.07093960791826248, -0.010302367620170116, 0.057752057909965515, 0.01026058942079544, 0.008792701177299023, -0.018178289756178856, 0.014174115844070911, -0.001929763238877058, -0.015461393631994724, 0.04051708057522774, 0.033653710037469864, -0.027425142005085945, -0.0027826169971376657, -0.020407412201166153, -0.038867536932229996, 0.018226932734251022, 0.01585046574473381, -0.01860462687909603, -0.0156442578881979, -0.0589141920208931, 0.02594655193388462, 0.038601331412792206, -0.012614848092198372, 0.08558095991611481, -0.04569350555539131, -0.03998595476150513, 0.07342731952667236, 0.039229437708854675, 0.027106445282697678, -0.016045717522501945, 0.026990201324224472, 0.03960605338215828, 0.05430097132921219, 0.013410225510597229, 0.021187877282500267, 0.007197009865194559, -0.009143170900642872, -0.006714163348078728, 0.01320598553866148, 0.0015894499374553561, 0.0160963237285614, -0.029458651319146156, -0.04467568174004555, 0.08388456702232361, -0.03352273255586624, -0.010273672640323639, 0.02190232276916504, 0.08135104179382324, 0.047493357211351395, 0.05250502750277519, 0.0012959331506863236, -0.07494213432073593, 0.07110483199357986, -0.02062002755701542, 0.051190149039030075, 0.02446657232940197, -0.026206133887171745, 0.06836429238319397, 0.035086315125226974, 0.03959172964096069, 0.0013763874303549528, -0.05964779853820801, -0.09135736525058746, -0.005516876466572285, 0.02324524335563183, 0.04488808661699295, -0.026035316288471222, -0.005131377372890711, 0.04526214674115181, 0.026327330619096756, 0.045014649629592896, 0.02475152350962162, -0.024180032312870026, 0.04463943466544151, -0.077611543238163, -0.06418950855731964, 0.011964995414018631, 0.031109506264328957, -0.04191607981920242, -0.01705939695239067, 0.01490255631506443, -0.02648250386118889, 0.02671354077756405, 0.031195899471640587, -0.006309790536761284, 0.06756051629781723, 0.032731421291828156, 0.02367604337632656, -0.03874856233596802, 0.047557126730680466, -0.04918326810002327, -0.0015011620707809925, 0.009911593049764633, -0.018187666311860085, 0.026038596406579018, 0.006275422405451536, 0.13530924916267395, 0.0424099937081337, -0.005454706028103828, -0.024100277572870255, 0.0037016684655100107, 0.00008208573854062706, -0.06448793411254883, -0.023123150691390038, 0.00991393718868494, 0.016268204897642136, 0.008244691416621208, -0.044337399303913116, -0.009381542913615704, 0.010738380253314972, -0.01351967453956604, -0.009029414504766464, 0.06414925307035446, -0.01992051675915718, 0.035680051892995834, -0.009954511187970638, -0.03787936270236969, 0.027490098029375076, -0.028627848252654076, -0.03739359974861145, 0.002917112549766898, 0.0013450750848278403, 0.0016638720408082008, 0.029149435460567474, -0.05934586003422737, -0.042031414806842804, 0.004575878847390413, -0.05237650126218796, 0.030862530693411827, 0.016208862885832787, 0.04800664633512497, -0.05603799596428871, 0.05555730313062668, -0.0032281940802931786, 0.03441387414932251, -0.010960209183394909, -0.016253434121608734, -0.06510166078805923, 0.03063369356095791, -0.024241821840405464, 0.005677632987499237, 0.006486395839601755, 0.018546780571341515, -0.01615283451974392, -0.026613950729370117, 0.00546092726290226, -0.0016312920488417149, 0.02668417990207672, 0.004507073201239109, -0.023328937590122223, -0.0359480194747448, 0.024814613163471222, 0.009990377351641655, -0.04702242836356163, -0.023623907938599586, 0.02632325515151024, -0.041093457490205765, 0.041994284838438034, -0.04316647723317146, -0.06231899559497833, -0.044718220829963684, 0.003973830491304398, 0.018492484465241432, -0.011186243034899235, 0.013345667161047459, 0.0404345728456974, 0.019822901114821434, 0.007823022082448006, 0.015682198107242584, 0.04022477939724922, 0.036814745515584946, 0.004482652526348829, -0.022826336324214935, 0.04792739078402519, -0.025074850767850876, -0.040994793176651, -0.04257719963788986, 0.026372030377388, -0.05226617678999901, -0.24242214858531952, 0.043770935386419296, -0.025793882086873055, -0.04314010217785835, 0.04687601700425148, -0.01855822280049324, 0.009273817762732506, -0.0568561889231205, -0.037886206060647964, 0.011031558737158775, -0.026424480602145195, -0.045255064964294434, 0.010666935704648495, 0.01579284481704235, -0.020341193303465843, 0.035265397280454636, 0.035215795040130615, -0.06066230684518814, 0.030569154769182205, -0.006221826188266277, 0.012934021651744843, -0.049362123012542725, 0.011935449205338955, 0.03187241777777672, 0.050678785890340805, 0.07039881497621536, -0.050881609320640564, 0.04796095937490463, -0.033497974276542664, -0.02391992136836052, 0.0006582753849215806, -0.0352928563952446, 0.004174947272986174, 0.005167604889720678, -0.013659597374498844, -0.013986998237669468, 0.057974498718976974, 0.013857985846698284, 0.04151454195380211, -0.01605781726539135, -0.0010488308034837246, -0.04044313356280327, -0.0006075892597436905, -0.030946118757128716, 0.060351379215717316, -0.015830254182219505, -0.05516299605369568, -0.039716143161058426, 0.010018249042332172, 0.09139245003461838, -0.05575339123606682, -0.02479410171508789, -0.014407583512365818, 0.029027773067355156, -0.0012982618063688278, -0.018933221697807312, -0.01374345924705267, -0.0067953686229884624, -0.02257477678358555, -0.031986188143491745, -0.01818845048546791, -0.03791673853993416, 0.0010697123361751437, -0.08079853653907776, 0.014544459991157055, -0.04590828716754913, -0.05208593234419823, -0.0060019465163350105, 0.06971962749958038, 0.03264903277158737, -0.013123719953000546, 0.025752423331141472, -0.02326345629990101, -0.09958402067422867, -0.013118213042616844, -0.03272977098822594, -0.0595414862036705, -0.01641439087688923, 0.007783948909491301, 0.028692422434687614, -0.049257438629865646, -0.0453694649040699, 0.024695847183465958, 0.004241027403622866, 0.013408741913735867, -0.04379803314805031, 0.031485386192798615, -0.015447447076439857, -0.011862696148455143, -0.007255109027028084, 0.06346321105957031, -0.018460851162672043, -0.05066371709108353, -0.02364935539662838, 0.005354934372007847, -0.0064883106388151646, -0.001993572572246194, 0.016264885663986206, 0.029554009437561035, 0.016923826187849045, 0.06947984546422958, -0.012998473830521107, 0.0032172533683478832, -0.05218756943941116, -0.006146284751594067, -0.005520780570805073, -0.04204113781452179, 0.03801634535193443, 0.0010039607295766473, 0.051618196070194244, -0.022019771859049797, -0.02683187648653984, 0.03039187751710415, -0.04653448238968849, -0.028697626665234566, 0.014653189107775688, -0.004370755050331354, 0.016166184097528458, 0.03891569375991821, -0.04302308335900307, -0.01655752956867218, 0.005268473643809557, 0.01936870999634266, -0.031365156173706055, -0.025516148656606674, 0.00792723149061203, -0.0009762448607943952, -0.01613023318350315, 0.009290981106460094, 0.029282262548804283, -0.0053539578802883625, 0.004657101817429066, 0.04683173820376396, -0.0355813093483448, 0.014245803467929363, -0.04602197930216789, -0.03216874971985817, -0.030541907995939255, -0.02361193858087063, 0.017418131232261658, -0.06521088629961014, 0.014339333400130272, 0.0063952673226594925, 0.004551808349788189, 0.04362021014094353, -0.0029791726265102625, 0.002760733477771282, -0.013459895737469196, 0.027124103158712387, 0.035101789981126785, 0.02411087416112423, -0.05658549442887306, 0.0436127744615078, -0.041028037667274475, -0.018963977694511414, -0.0333387516438961, 0.00467063020914793, -0.02267196774482727, -0.011423413641750813, -0.029959091916680336, 0.012445807456970215, -0.05657671019434929, -0.002376828109845519, 0.006499956361949444, -0.025470610707998276, 0.03959265351295471, -0.012405769899487495, 0.033486172556877136, -0.014971168711781502, 0.0000572710414417088, 0.0021336202044039965, 0.0314037948846817, -0.0357976108789444, 0.01944465935230255, -0.008534856140613556, -0.016130251809954643, 0.04079246148467064, 0.03190089389681816, 0.028204821050167084, 0.008007497526705265, -0.0090712271630764, 0.008365259505808353, -0.0057501583360135555, 0.01708005741238594, 0.05150977522134781, -0.008747441694140434, -0.0061387233436107635, 0.009739872999489307, -0.03076779469847679, -0.010240587405860424, -0.022428862750530243, 0.01940368488430977, -0.007690414786338806, -0.013766506686806679, -0.04661716893315315, -0.07176361978054047, -0.0017650499939918518, 0.059003110975027084, 0.002834369894117117, 0.006368346977978945, -0.0003378760302439332, -0.0067850518971681595, -0.01660795696079731, 0.021586855873465538, 0.0704755112528801, -0.047929443418979645, -0.008243692107498646, 0.004590742290019989, -0.007685511838644743, 0.0038984413258731365, 0.036599043756723404, -0.0270099937915802, -0.04458494856953621, -0.017956575378775597, 0.039543550461530685, -0.06008564680814743, -0.04692085459828377, -0.03006267547607422, 0.031106142327189445, -0.01809537410736084, -0.0003810928319580853, -0.005317105446010828, 0.023547381162643433, 0.024862140417099, -0.056919582188129425, 0.007602752652019262, 0.0009444839088246226, -0.007152382750064135, 0.056526437401771545, 0.018543394282460213, 0.02526729926466942, -0.02959531918168068, 0.04489488899707794, 0.038753923028707504, -0.011785988695919514, -0.047288428992033005, -0.039242446422576904, -0.013076497241854668, -0.04655850678682327, 0.04747860133647919, 0.01205400563776493, 0.018523741513490677, -0.05380508303642273, -0.002780888695269823, -0.022250598296523094, -0.029636116698384285, -0.016190625727176666, -0.03702731803059578, 0.016511045396327972, 0.055885836482048035, 0.02024337276816368, 0.013082089833915234, -0.015270143747329712, -0.045506786555051804, 0.04609139636158943, -0.084866464138031, -0.04765267297625542, -0.014673718251287937, -0.047754742205142975, 0.053548891097307205, 0.013829219155013561, 0.01750028133392334, -0.07703079283237457, 0.01968502067029476, 0.036816708743572235, -0.011503800749778748, 0.0179317407310009, 0.03322278708219528, 0.030950557440519333, -0.021603289991617203, -0.03907366096973419, -0.09913214296102524, -0.016696341335773468, -0.0034315711818635464, -0.022310420870780945, -0.060808245092630386, 0.04235018417239189, -0.017800968140363693, 0.06260985881090164, -0.043854422867298126, -0.04615467041730881, 0.037776462733745575, 0.019290560856461525, 0.00957999937236309, 0.024077940732240677, -0.03992646932601929, 0.042241696268320084, 0.045739494264125824, -0.03993497043848038, 0.010405844077467918, -0.025888700038194656, 0.07079699635505676, 0.011057475581765175, 0.02921905927360058, -0.022974377498030663, -0.014567305333912373, 0.1049276813864708, 0.014981014654040337, -0.0034308519680052996, 0.049070071429014206, -0.005280131474137306, 0.0002705925435293466, 0.01835525408387184, -0.01817898266017437, 0.02212531864643097, -0.004946521483361721, -0.022203151136636734, -0.03522132709622383, -0.006639567669481039, -0.004322795197367668, 0.04450412467122078, -0.019336998462677002, 0.05656709522008896, 0.011999751441180706, -0.04583133012056351, -0.06793121248483658, 0.06456493586301804, -0.05610145628452301, -0.035897426307201385, -0.02449907176196575, 0.017504343762993813, -0.054702162742614746, 0.035108305513858795, 0.0211985744535923, 0.03788687661290169, 0.07076767086982727, -0.012319348752498627, -0.029081013053655624, 0.0011024789419025183, 0.05659819021821022, 0.08145040273666382, 0.049472760409116745, 0.023193931207060814, 0.03624717891216278, -0.03528746962547302, -0.046505946666002274, 0.011388268321752548, -0.005579986609518528, -0.014686442911624908, -0.019244542345404625, 0.028467759490013123, 0.081573486328125, -0.05531875044107437, 0.062028028070926666, 0.00916491448879242, 0.025403419509530067, -0.006500561255961657, 0.00911201536655426, 0.002582963788881898, 0.03249932825565338, 0.02713966928422451, -0.003938454203307629, 0.016535768285393715, -0.03622354194521904, 0.04945584759116173, -0.024758480489253998, 0.0041009909473359585, 0.01638016663491726, 0.0004968318389728665, 0.0010577203938737512, 0.0038188593462109566, 0.060711558908224106, 0.061822324991226196, -0.023929156363010406, 0.009157937951385975, 0.018420329317450523, 0.03152398392558098, -0.036703988909721375, 0.07637740671634674, -0.011383278295397758, 0.01089745294302702, 0.006575721316039562, -0.036096908152103424, -0.043975066393613815, -0.005617308430373669, -0.0028113494627177715, 0.05278990417718887, 0.004363411106169224, 0.007230568211525679, 0.0025462021585553885, -0.023707497864961624, 0.0012010273057967424, -0.050045594573020935, -0.05330341309309006, -0.043277107179164886, -0.02637096680700779, -0.032344136387109756, 0.021603800356388092, 0.03463255614042282, -0.019829772412776947, -0.026207441464066505, -0.0553889237344265, -0.055925123393535614, 0.0047158594243228436, -0.024952484294772148, -0.04518306627869606, 0.008009126409888268, 0.013513385318219662, -0.015253174118697643, 0.010104615241289139, 0.05588050186634064, 0.012360872700810432, -0.011764285154640675, -0.0349845215678215, -0.0005875043570995331, 0.05316779389977455, -0.03799820691347122, -0.021587131544947624, -0.08864446729421616, 0.04481042921543121, 0.035453684628009796, 0.035457219928503036, -0.08068858087062836, 0.01016296073794365, 0.0326644591987133, -0.037682946771383286, 0.0546722337603569, -0.03594144061207771, 0.014770054258406162, -0.024842804297804832, -0.012524530291557312, -0.027737483382225037, -0.024490516632795334, 0.0601067878305912, -0.01308751292526722, 0.08449935913085938, 0.061007123440504074, -0.01447131298482418, -0.04180833324790001, -0.021409377455711365, 0.007230090908706188, 0.01102534495294094, -0.014623208902776241, -0.020615939050912857, -0.01699303835630417, -0.08134708553552628, -0.022595643997192383, 0.0177201796323061, -0.022422607988119125, -0.039489224553108215, 0.005034005735069513, -0.021475713700056076, -0.015800192952156067, 0.0060905818827450275, -0.03339468315243721, -0.04464088752865791, -0.004509206395596266, -0.016058115288615227, -0.03040696121752262, 0.0420277900993824, -0.012622046284377575, 0.0057008531875908375, 0.02147137001156807, -0.03320702537894249, -0.009057875722646713, -0.004190334118902683, 0.013458403758704662, 0.06685075163841248, -0.0012284916592761874, 0.03811126574873924 ]
[ -0.055356670171022415, 0.0012359285028651357, -0.01143653318285942, -0.043282799422740936, 0.07214653491973877, -0.06671077013015747, -0.03640090301632881, 0.008641413412988186, -0.04090045019984245, -0.019836414605379105, 0.016644680872559547, -0.018880298361182213, -0.029156498610973358, -0.028995666652917862, 0.05073743313550949, -0.004794300068169832, -0.02396056056022644, -0.07497403025627136, 0.015970565378665924, 0.03315887972712517, 0.00009198254701914266, -0.016366256400942802, -0.01677040196955204, -0.031811945140361786, -0.01828104816377163, 0.00907385628670454, 0.017413299530744553, -0.002151251072064042, -0.023263270035386086, -0.23357942700386047, 0.022768529132008553, -0.010774542577564716, -0.02702181227505207, -0.016110125929117203, 0.007998589426279068, 0.06431341171264648, 0.03251657634973526, -0.018251953646540642, -0.010703612118959427, 0.03982153534889221, 0.05930311605334282, 0.03210168704390526, -0.048236019909381866, -0.01998012512922287, 0.006151935551315546, -0.0034697309602051973, 0.011646416038274765, -0.053048353642225266, 0.05749687924981117, 0.02270176261663437, -0.025614745914936066, -0.0001362554612569511, 0.01148548349738121, -0.035795386880636215, -0.023348595947027206, -0.020522883161902428, 0.04374053329229355, 0.06271380186080933, -0.00932394526898861, 0.010354050435125828, 0.015186579897999763, -0.008059789426624775, -0.17357006669044495, 0.1023767739534378, 0.04423028603196144, 0.023825766518712044, -0.03185911476612091, 0.033231932669878006, -0.039329156279563904, 0.10384698957204819, -0.035050660371780396, -0.025167835876345634, -0.08301696926355362, 0.0720481276512146, 0.021006710827350616, -0.03252744674682617, 0.013860423117876053, 0.012960080057382584, 0.019683552905917168, -0.034212999045848846, -0.02888004668056965, -0.010826675221323967, -0.008126858621835709, -0.027229297906160355, -0.049124039709568024, 0.006065416149795055, -0.026831302791833878, 0.06217217445373535, 0.011487622745335102, 0.006692927330732346, 0.019787846133112907, -0.033468443900346756, 0.04763886332511902, 0.009837833233177662, -0.1091049462556839, -0.02926715835928917, 0.030574427917599678, 0.03378700837492943, -0.011597465723752975, 0.4194353222846985, -0.015159225091338158, -0.006260862573981285, 0.037960492074489594, -0.014085582457482815, 0.036164313554763794, 0.031505271792411804, 0.005796744022518396, 0.00894705019891262, 0.012134401127696037, 0.012664925307035446, 0.014561264775693417, 0.006429548840969801, 0.05859721451997757, -0.03302115201950073, 0.038087740540504456, 0.019250184297561646, 0.022855933755636215, 0.018308306112885475, -0.048369187861680984, -0.00013009733811486512, -0.024420201778411865, -0.019596535712480545, 0.04751840606331825, 0.026385243982076645, 0.029900677502155304, -0.032793913036584854, 0.04414712265133858, 0.05524091050028801, 0.01849987357854843, 0.018623000010848045, 0.046261657029390335, -0.09129580110311508, -0.03845513239502907, -0.03036346472799778, -0.03938585892319679, 0.03767448291182518, 0.01734745129942894, -0.0679394081234932, -0.01719076931476593, -0.022998714819550514, -0.04297299310564995, -0.006047292146831751, 0.033919911831617355, -0.006663333624601364, -0.03693876415491104, 0.07484182715415955, -0.011417143046855927, -0.07217647135257721, -0.01738625392317772, -0.061740413308143616, 0.005087309051305056, 0.003399425186216831, 0.0204148031771183, -0.0686756819486618, 0.008686898276209831, 0.004942564759403467, 0.06590259075164795, 0.006268320605158806, -0.03194994106888771, -0.02102643996477127, -0.003025440964847803, -0.04215903952717781, -0.05295068770647049, 0.0646691843867302, 0.02329528145492077, -0.03864918649196625, -0.029522083699703217, 0.013686878606677055, -0.002358631230890751, -0.05933932587504387, 0.027200475335121155, -0.017002547159790993, -0.03483733907341957, -0.02137160114943981, 0.020987842231988907, -0.026399580761790276, 0.002957554068416357, 0.009887387044727802, 0.033808574080467224, 0.015326178632676601, -0.017178107053041458, -0.009960115887224674, -0.028763730078935623, 0.028834262862801552, -0.0077238609082996845, -0.040696997195482254, -0.0697995275259018, -0.01359124667942524, -0.014838814735412598, 0.012625825591385365, 0.0027297730557620525, -0.013871918432414532, -0.040607742965221405, 0.01989894174039364, -0.01484734658151865, 0.018274089321494102, 0.010226341895759106, 0.02555348537862301, -0.020054444670677185, -0.04766982048749924, 0.010118250735104084, 0.07237422466278076, 0.011529825627803802, 0.024472665041685104, -0.05564243718981743, 0.02030140534043312, 0.04209274426102638, -0.039136674255132675, 0.05307183042168617, 0.005503668449819088, -0.01177341677248478, 0.0054185218177735806, 0.0070750224404037, 0.006988207343965769, -0.033755309879779816, -0.03236418962478638, 0.015427377074956894, -0.010477476753294468, 0.01824014261364937, 0.028046032413840294, -0.023013591766357422, -0.041223056614398956, -0.007894407026469707, -0.34478145837783813, -0.0689384862780571, -0.032417770475149155, 0.008463066071271896, 0.030633416026830673, -0.06167764589190483, 0.03443724289536476, 0.012678416445851326, -0.0076977564021945, -0.003305566729977727, 0.07221826165914536, -0.03608774021267891, -0.027971306815743446, -0.07874996960163116, 0.021528014913201332, 0.05817379802465439, 0.006061657797545195, -0.017249274998903275, 0.017776263877749443, 0.05217919871211052, -0.007307769730687141, -0.027679866179823875, -0.009112739004194736, -0.0021076714619994164, -0.017294110730290413, -0.005542325787246227, 0.07718883454799652, 0.03105992078781128, 0.09683303534984589, -0.0013146253768354654, 0.06497465819120407, 0.032682158052921295, 0.0297748651355505, -0.13535036146640778, -0.047296248376369476, 0.03485644981265068, 0.00025505173834972084, 0.060895927250385284, 0.04342194274067879, -0.018767617642879486, -0.03754643723368645, 0.04161782190203667, -0.054611168801784515, -0.05670647323131561, -0.01867862418293953, -0.010400854051113129, -0.017458152025938034, -0.04067256301641464, -0.024364007636904716, 0.02749183215200901, 0.01023935992270708, 0.03940058872103691, -0.0007400987669825554, -0.009089362807571888, -0.01914435811340809, -0.015024150721728802, -0.02195526473224163, 0.0011600255966186523, 0.038674838840961456, -0.055131904780864716, 0.03582244738936424, 0.05656727775931358, 0.04615769162774086, -0.053762901574373245, -0.01633737049996853, -0.007852536626160145, 0.0001844084617914632, -0.0038262067828327417, 0.05736923962831497, -0.03648212179541588, -0.015080328099429607, 0.05778350308537483, -0.021556835621595383, -0.00011075928341597319, 0.006524648051708937, 0.013426106423139572, -0.02771659567952156, 0.015689339488744736, -0.033271536231040955, -0.030937988311052322, 0.04377294331789017, 0.027943750843405724, 0.04628342017531395, -0.027627218514680862, -0.05455914884805679, 0.09573403745889664, -0.03146495670080185, -0.00404335418716073, 0.0582510381937027, 0.008516897447407246, -0.025324750691652298, -0.02475033886730671, 0.022934962064027786, -0.07258085906505585, 0.043105531483888626, 0.02301124297082424, -0.25526055693626404, 0.018273307010531425, 0.04914519935846329, 0.03544648364186287, 0.025230562314391136, 0.05962781608104706, 0.06679298728704453, -0.036401644349098206, -0.024363232776522636, 0.022576570510864258, 0.022360894829034805, 0.0495418980717659, -0.034365132451057434, 0.0014023855328559875, 0.029239492490887642, -0.014270484447479248, 0.03726138547062874, 0.027483953163027763, 0.00328190834261477, -0.004720615688711405, -0.010195630602538586, -0.03537045791745186, 0.17254400253295898, -0.0364256389439106, 0.0232620257884264, 0.023319890722632408, 0.010480433702468872, 0.03309285640716553, 0.10201007127761841, 0.027566080912947655, 0.04407721757888794, 0.004840798210352659, 0.05939739942550659, -0.011515396647155285, 0.044682275503873825, -0.059804365038871765, -0.0024798675440251827, 0.05729467049241066, 0.006045087240636349, -0.024583838880062103, -0.013013706542551517, 0.025484010577201843, -0.04262256994843483, -0.01565820537507534, 0.05578942596912384, 0.006837877444922924, 0.012312160804867744, -0.03904766961932182, -0.028287721797823906, -0.0015594616997987032, -0.04539692401885986, 0.0014772115973755717, -0.013684369623661041, 0.008004437200725079, 0.03663534298539162, 0.04144613817334175, -0.006956002674996853, -0.032710544764995575, 0.0021395632065832615, 0.04285494610667229, 0.004339541774243116, -0.037175748497247696, 0.12807151675224304, 0.05699915066361427, 0.0320766381919384 ]
[ 0.0018048163037747145, 0.03639275208115578, -0.003343150019645691, 0.007852582260966301, 0.026939908042550087, -0.029770653694868088, -0.0103137893602252, 0.04496784508228302, -0.0450163371860981, -0.003221557242795825, -0.0064152819104492664, -0.0025340812280774117, -0.015077203512191772, 0.01879621110856533, -0.012686667032539845, -0.04405037313699722, 0.021600283682346344, 0.006466548889875412, 0.0064915320836007595, -0.01485397294163704, -0.005757657345384359, 0.05463952571153641, 0.06204206869006157, -0.002800705609843135, 0.018742166459560394, -0.019832922145724297, -0.025839228183031082, 0.0033863193821161985, 0.033499203622341156, -0.11391448974609375, -0.03325790539383888, -0.02302604354918003, -0.00709386495873332, -0.005547320935875177, -0.0021994481794536114, -0.014554215595126152, 0.06702659279108047, 0.005969765596091747, -0.022024990990757942, -0.003427202347666025, 0.01514757052063942, -0.04754994437098503, 0.028500955551862717, -0.015219338238239288, 0.02296547219157219, 0.018756918609142303, -0.04209645092487335, 0.002046093111857772, 0.0110807279124856, 0.015013636089861393, 0.004603279754519463, -0.014825917780399323, 0.024413658306002617, 0.030211996287107468, 0.004762067925184965, -0.013907925225794315, -0.004926690366119146, -0.027187315747141838, -0.011131779290735722, -0.04853025823831558, -0.023088116198778152, 0.003765049623325467, -0.04999486729502678, -0.015370646491646767, 0.009217316284775734, -0.013187706470489502, 0.023220976814627647, 0.06513980776071548, -0.02810189500451088, 0.009980447590351105, 0.012300711125135422, 0.0010491779539734125, -0.035647932440042496, -0.00782554317265749, -0.0057508195750415325, 0.022551650181412697, 0.013849054463207722, 0.0330791212618351, -0.04277891665697098, 0.004984686616808176, -0.029546422883868217, -0.007810617797076702, 0.01051329355686903, 0.007448777090758085, -0.0673157349228859, 0.018583161756396294, 0.0011080701369792223, -0.009289714507758617, 0.027374837547540665, -0.024439595639705658, -0.031110184267163277, 0.02291981689631939, 0.016991712152957916, -0.03433891385793686, -0.08980830013751984, 0.012184961698949337, -0.003580477787181735, 0.010067518800497055, -0.006815852131694555, 0.7903014421463013, -0.027711261063814163, 0.036984022706747055, 0.055934179574251175, 0.008225356228649616, 0.047840315848588943, -0.002906418638303876, 0.01957276463508606, 0.05137569457292557, 0.029974058270454407, -0.06765404343605042, 0.03553721681237221, 0.017327751964330673, 0.012891233898699284, 0.009131950326263905, 0.04688308760523796, 0.0012441680300980806, -0.02919280156493187, -0.012247695587575436, -0.03649500757455826, 0.019074853509664536, 0.04576598480343819, -0.009922845289111137, -0.0012200558558106422, 0.02658732794225216, 0.013924287632107735, -0.13032546639442444, 0.044881682842969894, -7.097273425752094e-33, 0.02320508472621441, -0.018627913668751717, -0.012619818560779095, 0.037918467074632645, 0.050704121589660645, 0.03789297118782997, -0.013151226565241814, 0.017578205093741417, -0.05727851018309593, -0.026724601164460182, -0.031109565868973732, -0.070865698158741, 0.03395504876971245, 0.004190811887383461, 0.04622909799218178, -0.007641144562512636, -0.03534453362226486, 0.005419834516942501, -0.0017642223974689841, 0.0544205978512764, 0.01687268540263176, 0.027816103771328926, 0.010480683296918869, 0.01922881230711937, -0.008511479012668133, 0.02239176817238331, -0.015499303117394447, -0.00819223839789629, 0.019390420988202095, -0.05607472360134125, 0.007380495313555002, 0.046955518424510956, 0.029562896117568016, -0.05830632895231247, 0.004299371503293514, -0.03112957254052162, -0.03854059800505638, -0.0014983287546783686, -0.010289821773767471, -0.0411478728055954, 0.008135020732879639, -0.009726760908961296, -0.09299089759588242, 0.024135401472449303, -0.003485223511233926, -0.04143591970205307, -0.020416410639882088, 0.013229493983089924, -0.009294894523918629, 0.017784399911761284, 0.00154187495354563, 0.05490793287754059, -0.026530351489782333, 0.001459788647480309, 0.00763353519141674, 0.00022845547937322408, 0.0315968282520771, 0.010018683969974518, -0.022427724674344063, -0.01580887660384178, 0.03319338709115982, 0.014051619917154312, -0.0138676967471838, 0.06071086227893829, -0.004371325951069593, -0.00736318388953805, 0.031181301921606064, 0.007083060685545206, 0.003069979604333639, 0.02157111093401909, -0.07894008606672287, -0.008046754635870457, -0.051304277032613754, -0.011572149582207203, 0.0233140978962183, -0.0264289490878582, 0.002620851155370474, -0.022634785622358322, 0.03420058637857437, 0.044355615973472595, 0.011548075824975967, -0.021863587200641632, -0.027390316128730774, -0.012274125590920448, -0.020922012627124786, -0.03500225394964218, 0.008727746084332466, -0.06466492265462875, -0.017211176455020905, -0.014436791650950909, 0.027826234698295593, 0.044822342693805695, 0.05766795948147774, -0.03627512976527214, 0.00246288999915123, 7.27355423202125e-33, 0.020811401307582855, 0.014581603929400444, -0.022804073989391327, 0.007894745096564293, 0.028198888525366783, 0.02817191556096077, 0.04496997594833374, -0.02417483553290367, -0.03530828654766083, 0.011002184823155403, 0.01636277325451374, 0.030694715678691864, -0.0653764083981514, 0.030815593898296356, 0.05318227410316467, 0.05177203193306923, 0.0099665317684412, -0.005673447158187628, 0.008174139074981213, -0.04155825451016426, 0.0023531282786279917, 0.009478707797825336, 0.0680558979511261, 0.010475189425051212, 0.034212347120046616, 0.027519717812538147, -0.01062607392668724, 0.013361603021621704, -0.054834235459566116, -0.018630387261509895, 0.005817527882754803, -0.009112833067774773, -0.0058403005823493, -0.020366080105304718, 0.01814872957766056, 0.030136723071336746, 0.0421413891017437, 0.020414117723703384, 0.01633298024535179, -0.011489862576127052, 0.016272641718387604, 0.015148124657571316, -0.009146627970039845, -0.02957150526344776, -0.041285935789346695, 0.044427912682294846, -0.02037053182721138, -0.000033929729397641495, -0.06759363412857056, -0.011566751636564732, 0.0312127023935318, -0.02021869644522667, 0.05225645750761032, 0.03459681570529938, 0.007613392546772957, -0.0007701628492213786, -0.0015104440972208977, -0.007850410416722298, -0.03373945131897926, -0.007520693354308605, 0.002150525338947773, 0.047082334756851196, -0.01591244339942932, 0.03053712472319603, -0.054144009947776794, -0.032875340431928635, 0.008291377685964108, 0.0145240044221282, -0.024447118863463402, -0.01875414326786995, -0.007307584397494793, -0.04061451926827431, -0.013637233525514603, 0.056509267538785934, 0.016071675345301628, -0.012729227542877197, -0.010702928528189659, -0.016134964302182198, -0.06245039403438568, 0.000830886303447187, 0.008611897006630898, 0.048034075647592545, -0.011837624944746494, 0.02677629142999649, 0.01025038305670023, -0.008990938775241375, -0.03810469061136246, -0.0034724290017038584, 0.03330247104167938, 0.02951231226325035, -0.01342136412858963, -0.019785156473517418, -0.013455022126436234, -0.025855980813503265, -0.01847192272543907, -1.2337945776152992e-8, -0.051832590252161026, -0.06439754366874695, -0.03250589594244957, 0.03800584003329277, 0.03364378958940506, 0.019308269023895264, -0.05762764811515808, -0.004843506962060928, -0.01170435268431902, 0.024784250184893608, 0.017217667773365974, -0.032341618090867996, -0.005829993169754744, -0.0044859182089567184, 0.05323605611920357, -0.052473362535238266, 0.009243171662092209, 0.00827360525727272, 0.004539964254945517, 0.0005828983266837895, 0.017192184925079346, 0.049865782260894775, -0.0038210181519389153, -0.01550376508384943, -0.006434014532715082, -0.019628111273050308, 0.044645410031080246, -0.07383895665407181, -0.027746960520744324, -0.017888924106955528, 0.0419241227209568, -0.024913040921092033, -0.07393786311149597, 0.03759897127747536, -0.016394220292568207, -0.04147579148411751, 0.018226290121674538, 0.005967813543975353, -0.03328981250524521, 0.006571104750037193, 0.02490817941725254, -0.004946320317685604, -0.0038954378105700016, -0.03403555974364281, 0.020680030807852745, -0.05866878479719162, -0.00688153924420476, 0.004371535964310169, 0.048901770263910294, -0.025021549314260483, 0.013969828374683857, 0.03627689555287361, 0.03216153010725975, 0.06250520050525665, 0.0020940646063536406, -0.039619043469429016, 0.037715014070272446, -0.038313042372465134, -0.018963167443871498, 0.005054984707385302, 0.06082437187433243, 0.014138979837298393, 0.011916707269847393, -0.008502495475113392 ]
unix-tee
https://markhneedham.com/blog/2012/07/29/unix-tee
false
2012-07-28 23:32:28
neo4j: Multiple starting nodes by index lookup
[ "neo4j", "cypher" ]
[ "neo4j" ]
I spent a bit of time this evening extracting some data from the ThoughtWorks graph for our marketing team who were interested in anything related to our three European offices in London, Manchester and Hamburg. The most interesting things we can explore relate to the relationship between people and the offices. The model around people and offices looks like this: image::{{<siteurl>}}/uploads/2012/07/current-home-office.png[Current home office,600] I added a 'current_home_office' relationship to make it easier to quickly get to the nodes of people who are currently working in a specific office. I previously had to use a bit of a convoluted query to achieve the same thing and while the 'current_home_office' relationship would need to be maintained as people move offices since I'm just playing around with this data it makes my life much easier. I wanted to find the number of different offices that people in Europe had worked in which I've previously calculated by running three separate queries and manually compiling the results: [source,text] ---- START office=node:offices(name = "London - UK South") MATCH person-[:current_home_office]->office, person-[:member_of]->otherOffice RETURN distinct person.name, count(distinct(otherOffice)) AS offices, ID(person) ORDER BY offices DESC ---- [source,text] ---- START office=node:offices(name = "Manchester - UK North") MATCH person-[:current_home_office]->office, person-[:member_of]->otherOffice RETURN distinct person.name, count(distinct(otherOffice)) AS offices, ID(person) ORDER BY offices DESC ---- [source,text] ---- START office=node:offices(name = "Hamburg - Germany") MATCH person-[:current_home_office]->office, person-[:member_of]->otherOffice RETURN distinct person.name, count(distinct(otherOffice)) AS offices, ID(person) ORDER BY offices DESC ---- Here we start from a specific office and then match all the people who have this as their current home office. We also match all the offices that person has been a member of and then return a count of the unique offices the person has been to. That approach works fine but it always felt like I was missing out on a simple way of doing all three of those queries in one since they are identical except for the office name. What I wanted to do is define 3 starting nodes based on combining those Lucene index lookups into one which captured all 3 offices. I started just trying to get the offices to return while following the http://lucene.apache.org/core/3_6_0/queryparsersyntax.html[Lucene query parser syntax] documentation. For some reason my initial attempt returned neither an error nor any results: [source,text] ---- neo4j-sh (0)$ START office=node:offices("name:'London - UK South' OR name:'Hamburg - Germany' OR name:'Manchester - UK North'") RETURN office neo4j-sh (0)$ ---- When I switched the quotes around it was much happier: [source,text] ---- neo4j-sh (0)$ START office=node:offices('name:"London - UK South" OR name:"Hamburg - Germany" OR name:"Manchester - UK North"') RETURN office ==> +-------------------------------------------------------------------------+ ==> | office | ==> +-------------------------------------------------------------------------+ ==> | Node[4171]{type->"office",country->"UK",name->"Manchester - UK North"} | ==> | Node[4168]{type->"office",country->"UK",name->"London - UK South"} | ==> | Node[4177]{type->"office",country->"Germany",name->"Hamburg - Germany"} | ==> +-------------------------------------------------------------------------+ ==> 3 rows, 0 ms ==> ---- We can then reduce the queries which find how many offices people from ThoughtWorks Europe have worked in down to the following query: [source,text] ---- START office=node:offices('name:"London - UK South" OR name:"Hamburg - Germany" OR name:"Manchester - UK North"') MATCH person-[:current_home_office]->office, person-[:member_of]->otherOffice RETURN distinct person.name, count(distinct(otherOffice)) AS offices ORDER BY offices DESC ----
null
null
[ -0.0008171225199475884, 0.007013535592705011, 0.020580923184752464, 0.026809463277459145, 0.0895170271396637, 0.005374149885028601, 0.00981553178280592, 0.04651044309139252, 0.02302520163357258, -0.004400326870381832, -0.024917488917708397, -0.02781328186392784, -0.09442469477653503, 0.018109064549207687, -0.008581937290728092, 0.06065986678004265, 0.05810372158885002, 0.04058995470404625, 0.011077572591602802, -0.03546980395913124, 0.03817078471183777, 0.07820558547973633, 0.012194338254630566, 0.03893605247139931, 0.06506236642599106, -0.017990317195653915, 0.016947411000728607, -0.017887700349092484, -0.045679837465286255, 0.011596685275435448, 0.03551230952143669, -0.00404123030602932, 0.00814132485538721, -0.003634152002632618, 0.027801133692264557, -0.011736509390175343, -0.023311270400881767, 0.001255024573765695, -0.013964442536234856, -0.011453954502940178, -0.05069354549050331, 0.031478606164455414, -0.012183493934571743, 0.011224382556974888, -0.050899092108011246, 0.011027446947991848, -0.07744699716567993, 0.03402997925877571, -0.012653329409658909, 0.0042868745513260365, -0.0809023380279541, 0.018399804830551147, 0.0015567056834697723, 0.011702039279043674, -0.0073546115309000015, 0.042214591056108475, -0.009580288082361221, -0.06011972203850746, 0.03191353380680084, -0.009993627667427063, 0.010614900849759579, -0.02016112022101879, 0.005957935005426407, 0.02245720662176609, 0.02883903868496418, -0.02532772347331047, 0.0035412239376455545, 0.059243567287921906, -0.039912108331918716, -0.0029703748878091574, -0.022056564688682556, -0.008644907735288143, -0.005997783504426479, 0.0015526337083429098, -0.02118646167218685, -0.03513424098491669, -0.001523003913462162, 0.03793039172887802, 0.014034676365554333, 0.03485778346657753, -0.02557384967803955, 0.008808652870357037, -0.011788064613938332, 0.02651059813797474, 0.01955074816942215, -0.02848195657134056, -0.03857601806521416, -0.025056922808289528, -0.05569777637720108, 0.04961393028497696, 0.003320151474326849, -0.05786542594432831, -0.0015717262867838144, 0.019196901470422745, -0.028743039816617966, -0.012617899104952812, 0.015226149931550026, 0.0025836569257080555, -0.008921860717236996, -0.031328361481428146, -0.022395696491003036, -0.022884663194417953, 0.00407895352691412, 0.0014286894584074616, -0.08110979944467545, -0.030667155981063843, -0.011574769392609596, -0.003071401035413146, 0.03519357740879059, -0.0005932174972258508, -0.04511601850390434, -0.0031770970672369003, -0.0015704840188845992, 0.04138658195734024, -0.07873614132404327, 0.08352895826101303, 0.03652692586183548, -0.007043277379125357, -0.012125465087592602, -0.005725047551095486, 0.03472372144460678, 0.02767556719481945, -0.00015025591710582376, 0.08293541520833969, -0.019970722496509552, 0.026202665641903877, -0.037600092589855194, 0.044644005596637726, -0.03251799941062927, -0.06542938202619553, -0.009585436433553696, 0.055766962468624115, -0.008189796470105648, 0.02374749444425106, -0.012115778401494026, -0.04631998762488365, -0.01760605350136757, 0.01826578937470913, 0.07905340939760208, 0.027250532060861588, 0.022462673485279083, -0.03193945065140724, 0.022828368470072746, 0.011358289048075676, 0.03498486801981926, 0.0029352474957704544, -0.02547510899603367, -0.04574887454509735, -0.00941934809088707, -0.009288063272833824, 0.011373777873814106, 0.025109456852078438, 0.041969675570726395, -0.03787228837609291, 0.0337679497897625, 0.11493241786956787, 0.05409999564290047, -0.007997922599315643, -0.0005201889434829354, 0.011852357536554337, 0.029612798243761063, 0.016875041648745537, 0.001984979258850217, 0.06926936656236649, -0.000670944806188345, -0.02118491381406784, 0.008393285796046257, 0.03884740173816681, -0.001353150000795722, 0.0199720561504364, -0.06706681847572327, -0.0463797003030777, 0.05339080095291138, -0.04244698956608772, -0.022593079134821892, 0.0591353178024292, 0.08639009296894073, 0.02814888209104538, 0.015007109381258488, 0.006432425696402788, -0.07534420490264893, 0.06516861170530319, -0.013959668576717377, 0.00469248229637742, 0.040443673729896545, 0.0018878612900152802, 0.07055831700563431, 0.05558096617460251, -0.029246820136904716, 0.041884563863277435, -0.07069811969995499, -0.06993662565946579, -0.017610931769013405, -0.005118642933666706, 0.053010012954473495, -0.031134704127907753, 0.02178288996219635, 0.06223103031516075, 0.0035358958411961794, 0.04294086992740631, -0.0035441257059574127, -0.015236349776387215, 0.03242501989006996, -0.0144428089261055, -0.05389874055981636, 0.05500444397330284, 0.011622978374361992, -0.020709741860628128, -0.004503859207034111, 0.018084727227687836, -0.014268310740590096, 0.00000471138355351286, 0.022071657702326775, -0.006031764671206474, 0.031185345724225044, 0.0024226228706538677, 0.027738789096474648, -0.025683671236038208, 0.026945093646645546, -0.04046884551644325, 0.049275532364845276, 0.04097634181380272, -0.02545486018061638, 0.011445813812315464, -0.004888529423624277, 0.11395427584648132, 0.053967930376529694, -0.03361334651708603, -0.043685901910066605, 0.05741875246167183, 0.024956796318292618, -0.03246414288878441, 0.03558487445116043, -0.02842378243803978, 0.013402975164353848, -0.008442150428891182, -0.051432687789201736, -0.02373890019953251, 0.03883356228470802, -0.05416509881615639, 0.005305939354002476, 0.02701396308839321, -0.018475882709026337, 0.05440313369035721, 0.007984530180692673, -0.0031572363805025816, -0.013294912874698639, -0.026548946276307106, -0.033217355608940125, 0.026511136442422867, 0.003914866130799055, -0.007265910971909761, 0.020032057538628578, -0.018792977556586266, 0.008214746601879597, -0.0392003059387207, -0.0052496809512376785, 0.043649498373270035, 0.056458357721567154, 0.05080969259142876, -0.017532512545585632, 0.057371146976947784, -0.022107914090156555, 0.010456005111336708, -0.027058277279138565, -0.05380401015281677, -0.033090051263570786, -0.05386466532945633, -0.0037481042090803385, -0.002987324260175228, 0.037128906697034836, -0.018330411985516548, 0.020604332908988, 0.003946966025978327, 0.02349640056490898, -0.006700550671666861, 0.0071160150691866875, -0.0076131620444357395, 0.012597817927598953, -0.03714862838387489, -0.021031169220805168, 0.04935504496097565, -0.04122570902109146, -0.05180375277996063, 0.020806992426514626, -0.07901596277952194, 0.028925320133566856, -0.06966041028499603, -0.038144178688526154, -0.0064771659672260284, 0.03509195148944855, 0.03061964549124241, 0.015919961035251617, -0.014241695404052734, 0.05032148212194443, 0.04722609370946884, 0.030107349157333374, 0.021707430481910706, -0.01079439464956522, 0.05128387361764908, 0.007603823207318783, 0.022129617631435394, 0.06603161990642548, -0.04229401797056198, 0.014908451586961746, -0.05271751433610916, 0.017129812389612198, -0.03977707028388977, -0.29687410593032837, 0.02465970627963543, -0.019147280603647232, -0.02350914664566517, 0.006178729236125946, -0.05754907429218292, 0.02060791477560997, -0.029377732425928116, -0.01456549484282732, -0.014824802987277508, -0.017999792471528053, -0.04845080152153969, -0.015636906027793884, 0.0562857948243618, 0.027905931696295738, 0.03153127431869507, -0.02179456688463688, -0.05320511758327484, 0.025732899084687233, 0.042515095323324203, -0.015680907294154167, -0.05442731827497482, -0.016582584008574486, 0.019124044105410576, 0.03483890742063522, 0.0768226608633995, -0.09169245511293411, 0.002767868572846055, -0.052153825759887695, -0.02489679865539074, 0.023336997255682945, -0.027009451761841774, -0.0008234757115133107, -0.010745261795818806, 0.010481839068233967, -0.05550527200102806, 0.0589449480175972, -0.002808602526783943, 0.0025634230114519596, -0.006277868989855051, -0.04923892766237259, -0.01926473341882229, 0.0018093897961080074, 0.020729808136820793, 0.0664956197142601, 0.005120169371366501, -0.0738978162407875, -0.024196049198508263, -0.03731614723801613, 0.05874622240662575, -0.02610781230032444, -0.0041768718510866165, -0.020543260499835014, 0.021751973778009415, -0.013857262209057808, -0.00032176452805288136, -0.01877274364233017, 0.006873828824609518, -0.05939507856965065, -0.02971033751964569, -0.024098556488752365, -0.04977147653698921, 0.0025600262451916933, -0.0522521510720253, -0.010252454318106174, -0.05215150862932205, -0.09947742521762848, -0.015834327787160873, 0.055911414325237274, -0.0037261450197547674, -0.031392332166433334, 0.00915446039289236, -0.0028446896467357874, -0.10534115880727768, -0.041305385529994965, -0.017783962190151215, 0.013188625685870647, -0.00564234983175993, 0.018258782103657722, 0.03164997696876526, -0.010340388864278793, -0.045118771493434906, 0.007142762653529644, 0.03718630596995354, 0.02743726782500744, -0.018017685040831566, 0.028421416878700256, 0.023867597803473473, -0.031112749129533768, -0.0033662146888673306, 0.059458035975694656, -0.012660013511776924, -0.01134953461587429, -0.004683556035161018, -0.0028228184673935175, 0.021780312061309814, -0.023194871842861176, -0.02315850742161274, -0.01028173416852951, 0.04775145649909973, 0.01544874906539917, -0.048059698194265366, -0.00004648339745472185, -0.009609929285943508, 0.01230422779917717, -0.016153356060385704, -0.04260155186057091, 0.01933099702000618, 0.02271002158522606, 0.02601003646850586, 0.010892854072153568, -0.00638252729550004, 0.011290248483419418, -0.04870578274130821, -0.01311461627483368, -0.025621553882956505, 0.01739031821489334, 0.033966850489377975, 0.035668328404426575, -0.005745284259319305, -0.05837208032608032, 0.03299304470419884, 0.0223702322691679, 0.005082800053060055, -0.07923471182584763, -0.02524273470044136, -0.031235605478286743, -0.009470304474234581, -0.002556554274633527, 0.020747169852256775, -0.03046991676092148, 0.016618063673377037, 0.013131312094628811, -0.029117271304130554, 0.054066888988018036, -0.012974224053323269, -0.04281116649508476, -0.03587654232978821, 0.0013204930583015084, 0.024080364033579826, -0.005794192664325237, -0.001384299946948886, 0.03027767315506935, 0.04864046350121498, 0.033211056143045425, 0.006341893691569567, 0.006135036703199148, -0.010837466455996037, 0.016503361985087395, 0.010368985123932362, -0.013127562589943409, -0.01480023842304945, 0.016748709604144096, -0.038046713918447495, -0.005481918808072805, -0.014765454456210136, 0.04873192310333252, -0.011459305882453918, -0.03751498833298683, -0.02882474847137928, 0.026888515800237656, -0.07321853190660477, -0.004380629397928715, -0.011287271976470947, 0.010752741247415543, 0.0534587986767292, -0.017668791115283966, 0.014850194565951824, -0.027764515951275826, 0.004215868189930916, 0.009464487433433533, 0.009825645945966244, -0.03862427547574043, 0.00580928660929203, -0.014072212390601635, 0.01636861450970173, 0.010157832875847816, 0.045828722417354584, 0.0313420295715332, 0.02167021855711937, -0.00791718065738678, -0.008238372392952442, 0.01476770918816328, 0.021028516814112663, 0.04637126252055168, 0.055692922323942184, -0.01435655914247036, 0.020160600543022156, 0.0041272882372140884, -0.044869519770145416, -0.006486963480710983, -0.0011637724237516522, -0.04790792614221573, -0.0022513074800372124, -0.04252362251281738, -0.07244101911783218, 0.048321060836315155, -0.0007132730097509921, 0.0018081406597048044, 0.030791830271482468, -0.028047051280736923, -0.00697365403175354, -0.024544354528188705, 0.017288759350776672, 0.052167173475027084, -0.05528271570801735, -0.0007694624946452677, -0.005391780752688646, -0.016092458739876747, 0.0026634603273123503, 0.00471064867451787, -0.03159443289041519, -0.025484619662165642, -0.035735491663217545, 0.0015084927435964346, -0.03235422074794769, -0.026036633178591728, -0.0445115827023983, 0.014099031686782837, -0.003789409762248397, 0.022481605410575867, -0.016550594940781593, -0.0037864309269934893, -0.01238955371081829, -0.0034167668782174587, 0.035499487072229385, -0.027861149981617928, -0.015310569666326046, 0.013285710476338863, -0.0036166836507618427, 0.0024035011883825064, -0.030047055333852768, 0.024073420092463493, 0.011083301156759262, -0.022066976875066757, 0.017209084704518318, -0.047104932367801666, 0.008101826533675194, 0.01770857721567154, 0.03803745657205582, 0.004575861617922783, -0.015607712790369987, -0.023650581017136574, -0.025272376835346222, 0.005577780306339264, 0.014520975761115551, 0.004945359658449888, -0.007578530348837376, 0.017790259793400764, 0.027162766084074974, -0.001594780245795846, 0.0363553985953331, 0.010072968900203705, -0.03723965212702751, 0.041464582085609436, -0.04017317295074463, -0.03386389836668968, -0.003802796360105276, -0.0619078204035759, 0.00410267012193799, -0.00004418644675752148, 0.0004200453404337168, -0.03173832595348358, 0.0476173460483551, 0.04299544170498848, 0.03420281037688255, 0.02563784457743168, 0.007428536657243967, 0.04000731557607651, -0.04042385146021843, -0.0011266912333667278, -0.07247474789619446, -0.003977431915700436, 0.02416723594069481, -0.00010888082761084661, 0.002542872214689851, -0.000879861181601882, -0.04921719804406166, 0.025750327855348587, -0.0663679838180542, -0.03492600843310356, 0.031041860580444336, -0.006071978248655796, 0.0020202770829200745, 0.020477278158068657, -0.04566754400730133, 0.017367864027619362, 0.03582310676574707, -0.02990597113966942, -0.028692670166492462, -0.035448625683784485, 0.05128377676010132, -0.033124890178442, 0.03530729562044144, -0.01849735528230667, -0.013818532228469849, 0.05998004972934723, 0.04321920499205589, 0.010082271881401539, 0.05731705203652382, -0.03430704399943352, 0.04897190257906914, 0.009193959645926952, -0.013798707164824009, -0.012455555610358715, 0.06059825420379639, -0.021296141669154167, -0.0496368482708931, 0.04687429964542389, 0.0031190766021609306, -0.007011316251009703, -0.0638752356171608, 0.07588846981525421, 0.015357366763055325, -0.02305953949689865, -0.04691556841135025, 0.027759350836277008, -0.03268980234861374, -0.020071987062692642, -0.035014696419239044, -0.010562563315033913, -0.05323174223303795, 0.04999715834856033, 0.0017027962021529675, 0.044023726135492325, 0.08248636871576309, 0.030299248173832893, -0.009649168699979782, 0.006149135064333677, 0.08752978593111038, 0.11592180281877518, 0.09556178748607635, 0.0035172246862202883, 0.07786718010902405, 0.0015034482348710299, -0.03888276219367981, -0.005360524635761976, -0.02909129485487938, -0.008389896713197231, 0.024100420996546745, 0.013760189525783062, 0.07528965920209885, -0.03275107964873314, 0.06404083222150803, -0.00426893588155508, -0.04264002665877342, 0.0028743708971887827, -0.010815192013978958, 0.047907229512929916, 0.06524422019720078, 0.0049359058029949665, 0.032013192772865295, -0.03950005769729614, -0.04046737402677536, 0.027697576209902763, 0.009471467696130276, -0.009766831062734127, 0.04363778606057167, -0.017536446452140808, 0.0022918684408068657, -0.02084006555378437, 0.038529425859451294, 0.08798471838235855, -0.029606740921735764, -0.014501025900244713, 0.0020562962163239717, 0.01719251461327076, -0.00434588547796011, 0.0005113923107273877, -0.006016895640641451, -0.009227555245161057, -0.02509426325559616, -0.043579135090112686, -0.039867840707302094, -0.000423615361796692, -0.04004575312137604, 0.0002507331082597375, -0.03958933800458908, 0.014894342049956322, 0.004430263303220272, 0.010327792726457119, -0.02496723271906376, -0.033403221517801285, -0.04363497719168663, -0.04956422001123428, -0.06506282091140747, 0.0010354745900258422, -0.011605809442698956, -0.018433930352330208, -0.027397802099585533, -0.011521818116307259, -0.02439880557358265, 0.0035391943529248238, 0.03200025111436844, -0.03816470503807068, -0.021999193355441093, 0.006765538360923529, 0.010660331696271896, 0.028243251144886017, 0.011588489636778831, 0.06351668387651443, -0.018109804019331932, 0.008046812377870083, -0.023271959275007248, 0.008875580504536629, 0.03950681909918785, 0.004866232164204121, -0.008827699348330498, -0.08598642796278, 0.001050648745149374, 0.007406396791338921, -0.04630609229207039, -0.07523300498723984, 0.013268481008708477, 0.03312709555029869, 0.027931027114391327, 0.0361788384616375, 0.0025136044714599848, -0.016455238685011864, -0.03756657615303993, -0.006522487383335829, -0.003468418028205633, 0.011379790492355824, 0.023930205032229424, -0.024235812947154045, 0.07389416545629501, 0.017572617158293724, -0.01634838990867138, -0.02436065301299095, -0.007892560213804245, 0.0073640719056129456, 0.003252248978242278, -0.042805153876543045, -0.03215191885828972, -0.028802787885069847, -0.07284735888242722, -0.05591733008623123, 0.010671526193618774, -0.035698484629392624, -0.034883029758930206, -0.01761435531079769, 0.016953418031334877, -0.03448404371738434, 0.03622492402791977, -0.04256686940789223, 0.04002446308732033, -0.02758941426873207, -0.01622324250638485, -0.003824343904852867, 0.00643983343616128, -0.006400864105671644, -0.0011247011134400964, 0.025274543091654778, -0.04938798025250435, 0.007370361592620611, -0.03821902349591255, 0.00872779916971922, 0.025662556290626526, 0.021714763715863228, 0.017489207908511162 ]
[ -0.030929459258913994, -0.01583724096417427, -0.03186199441552162, -0.01970715820789337, 0.06629031151533127, -0.05074039101600647, 0.014056939631700516, -0.003112644888460636, 0.038488730788230896, -0.025529108941555023, 0.0038294661790132523, -0.021994007751345634, 0.011346856132149696, -0.02703837677836418, 0.06007269024848938, -0.02424558997154236, -0.03921019658446312, -0.08702912926673889, -0.0067536113783717155, 0.050838518887758255, -0.03043806180357933, -0.0410967655479908, -0.05288281664252281, -0.014513252303004265, -0.005138522945344448, 0.0362212099134922, 0.056679241359233856, -0.005071649793535471, -0.008569194935262203, -0.19618786871433258, 0.015625780448317528, -0.009646600112318993, 0.03346793353557587, 0.034240830689668655, 0.07194483280181885, 0.03920019790530205, 0.032651327550411224, 0.020162923261523247, 0.005571082234382629, 0.02383442409336567, 0.02371409721672535, -0.011776158586144447, -0.008429634384810925, -0.01841026172041893, 0.038734689354896545, 0.024194493889808655, -0.00811037514358759, 0.007261404301971197, -0.05832953006029129, 0.015835613012313843, -0.024370631203055382, -0.024825386703014374, -0.024684933945536613, 0.014374149963259697, 0.004266526084393263, 0.052821431308984756, 0.03441024571657181, 0.03256705775856972, -0.0045054396614432335, 0.04534001648426056, 0.01596151664853096, -0.0006888522184453905, -0.15983182191848755, 0.09353335201740265, 0.011249176226556301, 0.017458779737353325, -0.05917588993906975, -0.01547243632376194, -0.05730874091386795, 0.06798535585403442, 0.014682742767035961, -0.027743203565478325, -0.03541125729680061, 0.03425397351384163, 0.03595453500747681, -0.00041567865991964936, -0.04570445045828819, 0.05544532835483551, 0.04454564303159714, -0.04175890237092972, -0.04139034450054169, 0.007403083145618439, -0.019786877557635307, 0.0011040810495615005, -0.045433200895786285, 0.02765844389796257, -0.019847270101308823, 0.03125271573662758, 0.02288702130317688, -0.0033860746771097183, 0.03418183699250221, 0.0061886971816420555, -0.009217784740030766, -0.011751456186175346, -0.08066492527723312, -0.0660368949174881, 0.017214208841323853, 0.04789223521947861, -0.007150877267122269, 0.44402703642845154, -0.0373557023704052, -0.012601686641573906, 0.07536236941814423, 0.024927286431193352, -0.027129745110869408, -0.005254500079900026, -0.003622036427259445, -0.04967516288161278, 0.014632434584200382, -0.004320142790675163, 0.00023917799990158528, -0.021059023216366768, 0.05704781413078308, -0.06251253187656403, 0.04398288205265999, 0.026905512437224388, 0.052648916840553284, 0.011702836491167545, 0.0006116540171205997, -0.017179908230900764, -0.009206559509038925, 0.014261973090469837, -0.002797835972160101, 0.023458002135157585, -0.01208686362951994, 0.017646025866270065, 0.04927271977066994, 0.046623364090919495, 0.03631792590022087, 0.015352039597928524, 0.05464034155011177, -0.02362343855202198, -0.07766477763652802, 0.028437793254852295, -0.027383361011743546, 0.012186470441520214, 0.014019793830811977, -0.021861575543880463, -0.0012405357556417584, 0.04441853240132332, 0.012989485636353493, -0.04407273605465889, 0.006600977852940559, 0.004636373370885849, -0.03705059364438057, 0.17521221935749054, -0.006045021582394838, -0.0437082014977932, -0.04249730333685875, -0.027079280465841293, 0.014189455658197403, 0.05937302112579346, 0.007211264222860336, -0.07138154655694962, -0.018536347895860672, 0.015004359185695648, 0.09220954775810242, -0.008549004793167114, -0.04310369864106178, -0.014121264219284058, 0.01942734606564045, -0.024918781593441963, -0.06937289983034134, 0.06105073541402817, 0.06211530417203903, -0.1480174958705902, -0.011378609575331211, 0.022382287308573723, 0.013378763571381569, -0.06435200572013855, 0.04729599133133888, 0.011299852281808853, -0.02645457722246647, 0.04040855914354324, 0.0645662173628807, -0.025593889877200127, -0.03255129233002663, 0.027457064017653465, 0.03765048086643219, -0.014544364996254444, -0.018412064760923386, 0.015931392088532448, -0.055143848061561584, -0.011511305347084999, -0.05074445530772209, -0.0449504517018795, -0.05095353350043297, -0.005954496096819639, -0.046559084206819534, -0.0019171512685716152, -0.024860013276338577, 0.009218343533575535, -0.05552956461906433, 0.060058265924453735, -0.035211630165576935, -0.014260953292250633, -0.03415409475564957, -0.011459172703325748, -0.017293911427259445, 0.0025065504014492035, 0.00360651477240026, 0.014468695968389511, -0.05626185983419418, 0.010273953899741173, -0.06287899613380432, 0.02780679054558277, 0.05553280934691429, -0.01420783530920744, 0.08459123224020004, 0.00453840522095561, -0.007064849138259888, -0.004193669650703669, 0.02829577960073948, 0.013340875506401062, 0.042668137699365616, -0.04312274232506752, 0.008341039530932903, 0.0037599559873342514, 0.03671170771121979, 0.0413203164935112, -0.011360370554029942, 0.011157151311635971, 0.011052177287638187, -0.36248353123664856, -0.04592603072524071, -0.03358705714344978, 0.03207460045814514, -0.021674076095223427, -0.03750494867563248, 0.03724772110581398, 0.008282811380922794, -0.025788428261876106, 0.05958067998290062, 0.05381598696112633, -0.0014173161471262574, -0.007934344932436943, -0.007175077218562365, 0.012158142402768135, 0.038873713463544846, -0.03073989599943161, 0.03153485059738159, -0.03228908032178879, -0.008444126695394516, 0.03718980774283409, -0.006371283903717995, -0.038368213921785355, -0.04214126989245415, 0.01390895713120699, -0.031160855665802956, 0.12356866896152496, -0.0400201641023159, 0.007994518615305424, -0.04307511821389198, 0.04583648964762688, -0.02141214720904827, -0.015545147471129894, -0.08721727132797241, 0.0152231864631176, 0.005316161550581455, 0.007827376015484333, -0.013755682855844498, -0.006493580527603626, -0.036949507892131805, -0.07203708589076996, 0.0013655872317031026, -0.034863900393247604, 0.00953497551381588, -0.03150208666920662, 0.004962323699146509, -0.0063724699430167675, -0.007586978841573, -0.031132850795984268, 0.07299325615167618, -0.014562387950718403, -0.016562607139348984, 0.03085031360387802, 0.025420133024454117, -0.014076266437768936, -0.048707667738199234, -0.06749052554368973, 0.014534570276737213, -0.0324292927980423, 0.005305758677423, 0.01806015893816948, 0.0147384749725461, 0.017607759684324265, -0.024773119017481804, 0.019782137125730515, 0.013551026582717896, -0.008306208997964859, 0.015974372625350952, 0.014694765210151672, -0.0041570961475372314, -0.021077031269669533, 0.06735625863075256, -0.016197821125388145, -0.019513698294758797, -0.005276093725115061, 0.050749171525239944, 0.00029791303677484393, 0.039202507585287094, 0.006785349454730749, -0.0029726421926170588, 0.05001996085047722, -0.03748326003551483, 0.022740766406059265, -0.022323964163661003, 0.006277052219957113, 0.06108972057700157, 0.0370895192027092, -0.026567718014121056, 0.06967656314373016, -0.016085205599665642, -0.015776945278048515, -0.009020461700856686, -0.007114648353308439, -0.04531101509928703, 0.03769771754741669, -0.032738298177719116, -0.27372944355010986, 0.020971281453967094, 0.011534296907484531, 0.05017832666635513, 0.011096780188381672, -0.005319874733686447, -0.0043934728018939495, -0.020115096122026443, 0.021061303094029427, -0.018228549510240555, 0.03450422361493111, 0.0035760279279202223, 0.001181596191599965, -0.03255891427397728, 0.002981844823807478, 0.0037138110492378473, 0.042956724762916565, 0.024904241785407066, 0.002742812503129244, 0.029663557186722755, 0.041528742760419846, -0.013604390434920788, 0.17517827451229095, 0.015143307857215405, 0.03441496193408966, 0.019319171085953712, 0.008152436465024948, 0.004128307569772005, 0.03869815170764923, -0.021823035553097725, 0.010824167169630527, -0.02504061535000801, 0.016322823241353035, -0.017944904044270515, 0.02927245944738388, -0.061464257538318634, -0.02995896525681019, 0.036052968353033066, 0.029112311080098152, 0.002280122134834528, 0.0013258385006338358, -0.021714041009545326, -0.0647992193698883, 0.0028814352117478848, 0.07561876624822617, 0.015679771080613136, 0.009477602317929268, -0.012742736376821995, -0.031638868153095245, 0.0025704337749630213, -0.022300882264971733, -0.06818967312574387, -0.02428167127072811, 0.01225986611098051, 0.035736311227083206, 0.048103757202625275, 0.017874205484986305, -0.016524100676178932, -0.008624734356999397, 0.007135377265512943, -0.03948412835597992, -0.006321133114397526, 0.07768397778272629, 0.001024202210828662, 0.027896208688616753 ]
[ -0.013153530657291412, 0.040235865861177444, 0.018408318981528282, 0.04034504294395447, -0.025654107332229614, 0.010902991518378258, -0.013862693682312965, -0.010501489043235779, 0.007976415567100048, -0.03722861409187317, -0.002042143139988184, -0.002798008034005761, 0.01048193033784628, -0.009554184041917324, 0.051362913101911545, -0.006853883154690266, -0.01010067481547594, -0.002857570769265294, 0.04224029555916786, 0.004949871450662613, -0.0343293733894825, 0.016528813168406487, -0.029584409669041634, -0.037811052054166794, 0.025935543701052666, 0.012803263030946255, -0.0073958090506494045, 0.015873422846198082, 0.03931216895580292, -0.10380525887012482, -0.004867836367338896, -0.025029541924595833, -0.003848107997328043, 0.048585809767246246, -0.01568824052810669, -0.005838681478053331, 0.012706112116575241, 0.009183812886476517, 0.06363984942436218, 0.01842968724668026, -0.008912114426493645, -0.001766506233252585, 0.007142098154872656, 0.00044946660636924207, -0.004248667508363724, 0.026706645265221596, -0.014383384957909584, 0.030103184282779694, -0.009703502990305424, 0.016786595806479454, -0.052129440009593964, -0.037470508366823196, -0.029701175168156624, 0.017958208918571472, 0.04519134759902954, 0.0013681723503395915, -0.02345239743590355, -0.014787841588258743, 0.002541330875828862, -0.024613408371806145, 0.03276601806282997, -0.0246230810880661, -0.02336832322180271, -0.020883677527308464, -0.023526065051555634, -0.019116386771202087, -0.05498871952295303, 0.00642472505569458, -0.0018723810790106654, 0.008096878416836262, -0.015679724514484406, -0.016450736671686172, -0.02624356374144554, -0.020349593833088875, -0.0055437576957046986, 0.016078423708677292, -0.012922902591526508, -0.015868276357650757, 0.0076452926732599735, -0.03371904417872429, -0.009489336051046848, 0.011723672971129417, -0.04151421785354614, 0.04780881106853485, -0.030873384326696396, -0.020151810720562935, 0.010042733512818813, -0.01593550480902195, 0.015119237825274467, -0.013387583196163177, -0.03315208479762077, 0.0068106879480183125, -0.0024939735885709524, 0.008022192865610123, -0.09485632926225662, 0.02291686087846756, 0.0002684672363102436, 0.0270604956895113, -0.01124932337552309, 0.8229097723960876, -0.023389771580696106, 0.007817051373422146, 0.04511670023202896, 0.00028671929612755775, -0.027241429314017296, 0.004204486962407827, -0.0031549616251140833, -0.015500443987548351, -0.00852291937917471, -0.030712343752384186, -0.011084597557783127, -0.017634782940149307, -0.0005714508006349206, 0.03233250975608826, 0.021128151565790176, -0.0007703627343289554, 0.02741900086402893, -0.0227982085198164, 0.0016269005136564374, 0.001439564279280603, 0.029970452189445496, 0.01983017660677433, -0.026844320818781853, -0.031039373949170113, -0.0016974031459540129, -0.19591987133026123, 0.01676175370812416, -7.849852092455385e-33, 0.040272507816553116, 0.009785662405192852, 0.021364808082580566, 0.016259854659438133, 0.031202001497149467, 0.011580119840800762, -0.04006750136613846, 0.016731595620512962, -0.020906539633870125, 0.009789529256522655, -0.010572245344519615, 0.03306969255208969, 0.01562764309346676, -0.016936684027314186, 0.0006123188068158925, -0.0010555784683674574, 0.02957901917397976, 0.04213646426796913, -0.02624405361711979, 0.031084736809134483, 0.0545249879360199, -0.0014942941488698125, -0.03163330256938934, 0.05138149857521057, -0.002176570240408182, 0.03181351348757744, -0.019290002062916756, -0.004501968622207642, 0.03730100020766258, -0.05886354297399521, -0.019610585644841194, 0.0418190136551857, 0.02376585640013218, -0.03374138101935387, -0.025657257065176964, -0.05455783009529114, -0.04054562747478485, -0.020404528826475143, -0.007928034290671349, -0.07345060259103775, -0.04866728186607361, 0.033853765577077866, 0.024013299494981766, -0.026041515171527863, -0.02489285357296467, 0.010019711218774319, -0.015062635764479637, 0.006477277260273695, -0.00704590929672122, 0.01947084069252014, 0.049526147544384, -0.03112385794520378, -0.03045019321143627, 0.08589502424001694, -0.02303069829940796, -0.013922322541475296, -0.005154972895979881, 0.042452260851860046, -0.011264934204518795, 0.015465788543224335, -0.0031385074835270643, -0.032921239733695984, 0.014550630003213882, 0.03434597700834274, 0.006982446648180485, 0.025182334706187248, -0.015791453421115875, 0.0240279883146286, 0.022794965654611588, 0.003788718720898032, -0.04158232733607292, 0.05542003735899925, -0.014926988631486893, -0.03446969389915466, 0.01252240501344204, -0.021423764526844025, -0.01687290333211422, -0.005284321494400501, -0.0268588587641716, 0.04514998197555542, -0.02753112092614174, 0.003700821427628398, 0.019569575786590576, -0.011950483545660973, -0.009946002624928951, 0.015334119088947773, 0.059558793902397156, 0.0259277131408453, -0.004404093604534864, 0.05380529910326004, 0.03508482873439789, 0.04522295296192169, -0.012999394908547401, -0.007966897450387478, 0.00014486270083580166, 7.37297680952983e-33, -0.003270051907747984, -0.025444727391004562, -0.0029601065907627344, -0.035029470920562744, 0.02473089098930359, 0.005370416212826967, 0.023935217410326004, 0.007667618338018656, -0.035896044224500656, 0.039425235241651535, -0.01220874022692442, -0.05925832688808441, 0.028749585151672363, 0.04114022105932236, 0.05555347725749016, -0.01426228228956461, 0.03573394566774368, -0.03614824637770653, -0.00665757991373539, 0.02061925269663334, 0.004460008814930916, 0.014775658026337624, 0.013526142574846745, 0.045633576810359955, 0.01363450475037098, 0.03351721167564392, -0.030290963128209114, -0.01887606456875801, -0.010689616203308105, 0.007850530557334423, -0.03774513304233551, -0.0009209363488480449, -0.002454526722431183, -0.01070120558142662, 0.0163943599909544, 0.016832251101732254, -0.04480856657028198, -0.01575479283928871, 0.034245118498802185, -0.015547406859695911, 0.04130067676305771, -0.0013011922128498554, -0.020899465307593346, 0.04547731950879097, 0.006467230152338743, 0.012453269213438034, -0.003431860823184252, -0.022223973646759987, -0.005609816871583462, -0.006880531553179026, 0.021936073899269104, 0.016550840809941292, -0.048836398869752884, -0.004714856389909983, 0.006387969944626093, -0.029174858704209328, 0.00848119705915451, 0.005992908030748367, -0.007487576454877853, -0.00013516942271962762, -0.024639634415507317, -0.0025862250477075577, -0.03891947865486145, 0.03718126192688942, -0.031390540301799774, 0.006383010186254978, -0.043758608400821686, -0.018825115635991096, 0.02872404456138611, 0.012954752892255783, -0.0215426217764616, -0.01574164256453514, -0.014108838513493538, 0.024597523733973503, 0.008989952504634857, -0.029413370415568352, -0.013314232230186462, -0.021432653069496155, -0.009271793067455292, 0.02201899327337742, 0.002120641991496086, -0.00012213547597639263, 0.01788141019642353, -0.010799594223499298, -0.008586158975958824, 0.023231958970427513, -0.03526845574378967, -0.001415475970134139, -0.001723530818708241, 0.025469180196523666, -0.01706075854599476, -0.02894558571279049, -0.02696513757109642, 0.007553610019385815, -0.01534728892147541, -1.3355404782089408e-8, -0.0968700647354126, 0.03185146674513817, 0.009883607737720013, 0.00639339117333293, 0.009882025420665741, -0.010966039262712002, 0.015325326472520828, 0.012005288153886795, 0.0015265514375641942, 0.014147965237498283, 0.0071527897380292416, -0.04544278606772423, -0.013478863053023815, 0.030702458694577217, 0.018662385642528534, -0.049063362181186676, 0.03055953048169613, -0.0439506396651268, 0.03625502809882164, 0.03294537961483002, 0.0035298781003803015, 0.028799381107091904, -0.038068968802690506, 0.03759341314435005, 0.020397720858454704, 0.012006048113107681, 0.021321801468729973, -0.056845713406801224, 0.0187201090157032, 0.022671181708574295, 0.03557032719254494, -0.0373278371989727, -0.0032255994156003, 0.021090002730488777, -0.034405071288347244, -0.011082119308412075, 0.012231646105647087, 0.041228123009204865, 0.0010731465881690383, 0.013534070923924446, 0.013826759532094002, -0.007211575750261545, -0.05682053789496422, -0.022494489327073097, -0.04775464907288551, 0.0002577332779765129, 0.013836787082254887, -0.029532991349697113, 0.03758419677615166, -0.052593979984521866, -0.0041784802451729774, -0.053298383951187134, 0.02073349431157112, -0.015311690978705883, -0.011059560813009739, -0.0030264761298894882, 0.010381010361015797, -0.023385731503367424, -0.0185060016810894, -0.0010992707684636116, 0.023685846477746964, -0.0016029825201258063, -0.01189501490443945, -0.01593698374927044 ]
neo4j-multiple-starting-nodes-by-index-lookup
https://markhneedham.com/blog/2012/07/28/neo4j-multiple-starting-nodes-by-index-lookup
false
2012-07-17 00:02:51
neo4j: java.security.NoSuchAlgorithmException: Algorithm [JKS] of type [KeyStore] from provider [org.bouncycastle.jce.provider.BouncyCastleProvider: name=BC version=1.4]
[ "neo4j" ]
[ "neo4j" ]
I've spent the last couple of hours moving my neo4j graph from my own machine onto a vanilla CentOS VM and initially tried to run neo using a non Sun version of Java which I installed like so: [source,text] ---- yum install java ---- This is the version of Java that was installed: [source,text] ---- $ java -version java version "1.5.0" gij (GNU libgcj) version 4.4.6 20120305 (Red Hat 4.4.6-4) ---- When I tried to start neo4j: [source,text] ---- neo4j/bin/neo4j start ---- I ended up with the following exception in the neo4j log @ +++<cite>+++neo4j/data/log/neo4j.0.0.log+++</cite>+++: [source,text] ---- Caused by: java.security.NoSuchAlgorithmException: Algorithm [JKS] of type [KeyStore] from provider [org.bouncycastle.jce.provider.BouncyCastleProvider: name=BC version=1.4] is not found ---- I assumed this algorithm was only being packaged with the Sun JDK (although http://www.bouncycastle.org/java.html[the website suggests otherwise]) so I'd need to replace my version of Java to get it working. I got the 64 bit '.bin' file from the Oracle download page and then installed it using rpm: [source,text] ---- rpm -ivh jdk-6u33-linux-x64-rpm.bin ---- I now have this version of Java installed and neo4j is much happier: [source,text] ---- java -version java version "1.6.0_33" Java(TM) SE Runtime Environment (build 1.6.0_33-b04) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) ---- After googling around for a bit I'm still not entirely sure why it wasn't able to work with the original version of Java I installed so if anyone could point me in the direction that'd be useful.
null
null
[ -0.00010279627167619765, -0.011539088562130928, -0.010108399204909801, 0.03090018779039383, 0.09937441349029541, -0.0045401123352348804, 0.04224245995283127, 0.022239962592720985, -0.011153883300721645, -0.009820782579481602, -0.0063277343288064, 0.0011040280805900693, -0.056854248046875, 0.02679304964840412, -0.03262851759791374, 0.047635141760110855, 0.08360056579113007, 0.018543105572462082, 0.006955895572900772, 0.00899997353553772, 0.014900376088917255, 0.022858960554003716, 0.00010454578296048567, 0.03480660915374756, 0.007177998777478933, -0.00025575156905688345, 0.022459624335169792, -0.018717002123594284, -0.07547114044427872, -0.014566243626177311, 0.03980322927236557, 0.004547423683106899, 0.025007599964737892, 0.004972425755113363, 0.026174070313572884, 0.027409778907895088, -0.04686141386628151, 0.010630074888467789, -0.005149946082383394, 0.011827604845166206, -0.05538950115442276, 0.05777868255972862, 0.014483197592198849, 0.03157404065132141, -0.04427274316549301, 0.038849007338285446, -0.03530947118997574, 0.02411625161767006, 0.018365049734711647, 0.004762732889503241, -0.07882441580295563, 0.019644759595394135, -0.022715257480740547, -0.012758328579366207, 0.010247173719108105, 0.0341036394238472, 0.023072902113199234, -0.07346632331609726, 0.03839688003063202, -0.02946716919541359, -0.006348998285830021, -0.02323717251420021, -0.008423732593655586, 0.021429600194096565, -0.013972818851470947, -0.0368671678006649, 0.017754392698407173, 0.059232957661151886, -0.04236133396625519, -0.019579431042075157, 0.01860116422176361, 0.007972103543579578, -0.014515017159283161, -0.01718886010348797, 0.04130880907177925, -0.05803567171096802, -0.003724990878254175, 0.05964180827140808, 0.01112388540059328, 0.057760290801525116, -0.04701599106192589, 0.012515900656580925, 0.0429089218378067, 0.015303868800401688, 0.03127603605389595, -0.036206748336553574, -0.014980996027588844, -0.020103879272937775, -0.04428686946630478, 0.04385843500494957, 0.04244213178753853, -0.03655057027935982, 0.005104105453938246, 0.010938399471342564, -0.03590475022792816, 0.009072184562683105, 0.000789582496508956, 0.007460200227797031, 0.017460929229855537, -0.009564371779561043, -0.011402318254113197, -0.013768169097602367, -0.010374941863119602, 0.002356000244617462, -0.06519506126642227, -0.019159503281116486, -0.01475141104310751, -0.02895951271057129, 0.016169888898730278, -0.021055178716778755, -0.012621178291738033, 0.016173627227544785, -0.004735705908387899, 0.010077251121401787, -0.06797531247138977, 0.08951430022716522, -0.0063295671716332436, -0.05384182184934616, -0.02169148437678814, 0.03130897879600525, 0.05871332064270973, 0.05223686248064041, -0.019533652812242508, 0.08711255341768265, -0.007548491004854441, 0.05943674594163895, -0.009212522767484188, 0.04402638226747513, -0.005555632058531046, -0.08037985116243362, -0.015424435026943684, 0.05958189070224762, 0.006318833213299513, 0.021982574835419655, -0.023119421675801277, -0.02060464397072792, 0.012759138830006123, 0.0030012279748916626, 0.07012483477592468, 0.026747815310955048, -0.0011969412444159389, -0.04692064970731735, 0.01434978935867548, 0.004212524276226759, 0.03251379355788231, 0.009851332753896713, -0.02511257492005825, -0.0474264919757843, -0.03389892727136612, 0.01946365088224411, 0.012135913595557213, 0.055356550961732864, 0.05111260339617729, -0.01199036929756403, 0.02526036463677883, 0.12119914591312408, 0.017725948244333267, 0.002588242292404175, -0.036287225782871246, 0.008771474473178387, 0.027315113693475723, 0.02944232150912285, 0.003885233774781227, 0.0530061200261116, -0.015325277112424374, -0.0018196384189650416, 0.008116154931485653, 0.05902776122093201, -0.0036745567340403795, 0.021314768120646477, -0.05464154854416847, -0.10042169690132141, 0.05009225010871887, -0.046879515051841736, 0.0030555359553545713, 0.02938173897564411, 0.0743623897433281, 0.02267608977854252, 0.028804916888475418, 0.004340062849223614, -0.06977225840091705, 0.05491619184613228, 0.03137059137225151, 0.007143896538764238, 0.02438301593065262, 0.012592123821377754, 0.05458127707242966, 0.006482332479208708, 0.005613353569060564, 0.023189956322312355, -0.08334656804800034, -0.08005958050489426, -0.0029652260709553957, -0.007376288063824177, 0.047806888818740845, -0.008434882387518883, -0.006668338552117348, 0.010562535375356674, 0.006805038079619408, 0.02069242112338543, 0.027517560869455338, -0.030332867056131363, 0.0365174263715744, -0.05326151102781296, -0.055194299668073654, 0.03132446110248566, 0.03273548185825348, -0.04204695671796799, -0.028970587998628616, 0.0011104727163910866, -0.020499365404248238, -0.014374668709933758, 0.029958991333842278, -0.018178053200244904, 0.06698637455701828, 0.021280396729707718, 0.011197141371667385, -0.028972752392292023, 0.03413603827357292, -0.03666943684220314, 0.02537263184785843, 0.0019201813265681267, -0.015932921320199966, -0.01942853443324566, 0.024979347363114357, 0.11379808187484741, 0.05651337653398514, -0.04904692992568016, -0.056670721620321274, 0.07520030438899994, 0.02326144650578499, -0.05016583204269409, 0.024953793734312057, -0.013286705128848553, 0.03024459443986416, -0.00030761718517169356, -0.02153753489255905, -0.04476439580321312, 0.0066377208568155766, -0.038643259555101395, 0.0024208007380366325, 0.06828511506319046, -0.041208140552043915, 0.06101994216442108, -0.0017507219454273582, -0.014623517170548439, -0.00008598050044383854, -0.056635234504938126, -0.08584265410900116, 0.03057088702917099, 0.023400751873850822, 0.003990498371422291, 0.05892077088356018, -0.020139960572123528, -0.033040158450603485, -0.026454182341694832, -0.04086638614535332, 0.0363071970641613, 0.03340188413858414, 0.06725432723760605, -0.016065694391727448, 0.0433708094060421, -0.03262191265821457, 0.0003343175631016493, -0.013271885924041271, -0.026848256587982178, -0.021508879959583282, -0.017488528043031693, 0.004429457243531942, -0.01710863970220089, -0.005638607311993837, -0.014786088839173317, 0.005072182975709438, -0.004366116598248482, 0.03095865063369274, -0.01572246290743351, 0.032805100083351135, -0.010050571523606777, 0.00046822603326290846, -0.054675374180078506, -0.030039893463253975, 0.05371805280447006, -0.052988212555646896, -0.033382732421159744, -0.01534492988139391, -0.04380786791443825, 0.05190379172563553, -0.08113647252321243, -0.04305671527981758, -0.008327394723892212, 0.03402562066912651, 0.055626265704631805, -0.0006254403269849718, 0.011774065904319286, 0.06054934486746788, -0.00393321830779314, 0.015880627557635307, 0.014077670872211456, -0.0007677290705032647, 0.05615869164466858, -0.003371515078470111, 0.048197004944086075, 0.007412298116832972, -0.018274787813425064, 0.004461334552615881, -0.024768585339188576, 0.015600940212607384, -0.03719126060605049, -0.26984289288520813, 0.04971182346343994, -0.028702735900878906, -0.08522859215736389, 0.0076243458315730095, -0.027455294504761696, -0.031709469854831696, -0.023511802777647972, -0.023346444591879845, 0.0047021606005728245, -0.004644288681447506, -0.0352625846862793, -0.00041528005385771394, 0.03546953573822975, -0.006012937054038048, 0.01190122403204441, 0.013376438990235329, -0.0504271537065506, -0.013635311275720596, -0.0017870547017082572, 0.0016149366274476051, -0.030781645327806473, 0.03287433460354805, 0.008823724463582039, 0.016707634553313255, 0.06688248366117477, -0.06975745409727097, 0.05735529214143753, -0.05012933909893036, -0.0287497378885746, -0.01322798803448677, -0.028076278045773506, -0.0005013910122215748, 0.005243841093033552, -0.005419524386525154, 0.0048400177620351315, 0.024608535692095757, 0.003595588495954871, 0.0128085408359766, 0.028306536376476288, -0.03737657517194748, -0.0611608549952507, -0.013514827005565166, -0.014017903245985508, 0.07375165820121765, -0.007292650174349546, -0.09031108021736145, -0.0157827939838171, -0.03914196789264679, 0.07848875224590302, -0.031040694564580917, -0.01807931624352932, -0.007754879537969828, 0.038823992013931274, -0.024248704314231873, -0.013882840052247047, -0.020366108044981956, -0.01612996496260166, -0.04443537816405296, -0.018623527139425278, 0.01131653692573309, -0.056257214397192, -0.0025344127789139748, -0.05337388068437576, -0.012316683307290077, -0.06899363547563553, -0.07180315256118774, -0.02296273596584797, 0.068479984998703, 0.00795808807015419, -0.02117328718304634, 0.021299634128808975, 0.001200733007863164, -0.10205750167369843, -0.0242630485445261, -0.03220364451408386, -0.01734049990773201, -0.022102393209934235, -0.01838766038417816, 0.05972881615161896, -0.043833911418914795, -0.03668082505464554, -0.00821241270750761, 0.01604989729821682, 0.01512440387159586, 0.011300352402031422, 0.0032433706801384687, -0.01793929748237133, -0.007030895445495844, 0.008681333623826504, 0.06914707273244858, -0.046945828944444656, -0.02974613942205906, -0.03234845772385597, 0.0026267527136951685, 0.030161777511239052, -0.007671997882425785, 0.005115229170769453, 0.0035643887240439653, 0.045756734907627106, 0.03475122153759003, -0.04385598748922348, 0.030720824375748634, 0.007779396139085293, -0.016973864287137985, -0.005710305646061897, -0.04964032769203186, -0.0034253306221216917, 0.029409637674689293, 0.035453908145427704, -0.019288411363959312, -0.03700884059071541, 0.034884583204984665, -0.054265692830085754, -0.03410419821739197, -0.013881633058190346, 0.012278512120246887, 0.016306694597005844, 0.05256965383887291, -0.018975384533405304, -0.04962388053536415, 0.03243853151798248, 0.028742754831910133, -0.023329736664891243, -0.04613954573869705, -0.022509856149554253, -0.026130910962820053, -0.013147478923201561, 0.013217979110777378, 0.02061278373003006, -0.04572759196162224, 0.06183382868766785, 0.044660791754722595, -0.0036587922368198633, 0.025306981056928635, -0.006729678716510534, -0.03247842565178871, -0.04516587778925896, 0.00233399192802608, -0.01527446135878563, -0.01047201082110405, 0.005084251053631306, -0.0034237499348819256, 0.032512713223695755, 0.021732015535235405, 0.011474108323454857, 0.039252813905477524, 0.0029981243424117565, 0.03187912330031395, -0.016317930072546005, -0.003694586455821991, -0.03855745494365692, 0.03838120400905609, -0.04515915364027023, -0.04341525584459305, -0.012012462131679058, 0.044905517250299454, -0.015644550323486328, -0.035588283091783524, -0.021683596074581146, 0.03283432871103287, -0.05859876424074173, 0.01399046741425991, 0.02249639667570591, -0.019458187744021416, 0.06592130661010742, 0.020481199026107788, 0.025290636345744133, -0.03830645605921745, -0.019284289330244064, 0.03165755048394203, 0.015575610101222992, -0.029134508222341537, 0.005021966062486172, 0.021954944357275963, 0.018788505345582962, 0.03217659518122673, 0.04545930027961731, 0.04301720857620239, 0.011438379995524883, -0.006712029688060284, -0.011524754576385021, 0.004174231551587582, -0.00475130882114172, 0.027754342183470726, 0.005299518816173077, -0.030460000038146973, -0.0003143864742014557, -0.022553814575076103, -0.00043219694634899497, 0.0038368988316506147, 0.0150895481929183, -0.026171419769525528, 0.01213340274989605, -0.03034873679280281, -0.08058585226535797, 0.024305623024702072, 0.0032536799553781748, 0.021183578297495842, 0.02144729532301426, -0.004818000365048647, -0.004196833819150925, -0.03515962138772011, 0.05620443820953369, 0.05581888556480408, -0.07132820785045624, -0.015735149383544922, -0.010931571014225483, 0.013568539172410965, 0.012526082806289196, 0.02065177448093891, -0.06272903084754944, -0.005761239677667618, -0.01981871947646141, 0.014624799601733685, -0.03626396507024765, -0.055198099464178085, -0.006033167243003845, 0.0011885125422850251, -0.019143370911478996, -0.003971559926867485, 0.02919362112879753, -0.008165049366652966, -0.013524859212338924, -0.010843680240213871, 0.03099224902689457, -0.016595618799328804, -0.005420558620244265, 0.007083151955157518, -0.01731552742421627, 0.04033863544464111, -0.02934064157307148, 0.024487702175974846, 0.016788804903626442, -0.013139216229319572, -0.005785188637673855, -0.039368078112602234, 0.02027495950460434, 0.0022526110988110304, 0.04045920446515083, 0.002833522856235504, 0.03271961957216263, -0.038348354399204254, -0.0053666336461901665, -0.03949524089694023, -0.012511277571320534, -0.016867296770215034, -0.006162174977362156, -0.016006654128432274, 0.03639353811740875, 0.013052226044237614, 0.03540242835879326, -0.004638847894966602, -0.017711561173200607, 0.0624251626431942, -0.04429934173822403, -0.04936830699443817, 0.004951010458171368, -0.05355634167790413, -0.012044361792504787, 0.029204832389950752, 0.009808716364204884, -0.040114399045705795, 0.04329518973827362, 0.05188098922371864, 0.009597249329090118, 0.004829771816730499, -0.04087146744132042, 0.02745460346341133, -0.04151124134659767, -0.029476365074515343, -0.07952621579170227, 0.01708298735320568, 0.05092489719390869, 0.010933979414403439, 0.025810478255152702, -0.0038975500501692295, -0.047079898416996, 0.009253358468413353, -0.07671868801116943, -0.02614159882068634, 0.02965414524078369, -0.026665857061743736, 0.010870425961911678, -0.00789705105125904, -0.057220421731472015, 0.02588696964085102, 0.019918140023946762, -0.04901711270213127, -0.035101305693387985, -0.03789832070469856, 0.0350097119808197, 0.008003747090697289, 0.050602350383996964, -0.048918385058641434, -0.007455766666680574, 0.08817455172538757, 0.012499785050749779, 0.024926763027906418, 0.04432253912091255, -0.003161331173032522, 0.04625855013728142, 0.04205147176980972, -0.006745321210473776, -0.008206859230995178, 0.01448146067559719, -0.01881636679172516, -0.05207085981965065, 0.012326112017035484, 0.0010603178525343537, -0.018686745315790176, -0.04104705527424812, 0.057021018117666245, 0.03207327052950859, -0.018350979313254356, -0.024155452847480774, 0.04823124036192894, -0.027391700074076653, -0.015002275817096233, -0.06885213404893875, 0.010518484748899937, -0.04393424838781357, 0.051669009029865265, -0.03246483579277992, 0.02211858704686165, 0.07294216752052307, 0.010530784726142883, 0.004583016969263554, 0.019565431401133537, 0.06924662739038467, 0.07420555502176285, 0.02085784636437893, 0.020130017772316933, 0.06662032753229141, -0.006912910845130682, -0.031598176807165146, -0.012913876213133335, -0.03309737890958786, -0.040398918092250824, -0.009479192085564137, 0.013589965179562569, 0.047366876155138016, -0.02486298978328705, 0.06787619739770889, -0.016895443201065063, 0.006160218268632889, 0.008215422742068768, -0.004773139022290707, 0.024984462186694145, 0.03880250081419945, 0.027560362592339516, 0.040246687829494476, -0.056236617267131805, -0.030016006901860237, 0.014569699764251709, -0.018390195444226265, -0.011254094541072845, 0.019452106207609177, -0.00199426943436265, -0.0039871023036539555, 0.02766183577477932, 0.012158896774053574, 0.09810953587293625, -0.019802464172244072, -0.009240920655429363, 0.013477720320224762, 0.032648008316755295, 0.022320397198200226, -0.002484430791810155, -0.0137976398691535, -0.041044749319553375, -0.031992554664611816, -0.03034774400293827, -0.0020847306586802006, -0.006067134905606508, -0.02230222336947918, 0.013086630031466484, -0.018183225765824318, 0.005080359987914562, 0.01141678262501955, -0.024997221305966377, -0.030629824846982956, -0.040151916444301605, -0.031059475615620613, -0.05804033577442169, -0.06518487632274628, -0.0004688685876317322, -0.008377284742891788, 0.0016249610343948007, -0.01711290143430233, -0.008324189111590385, -0.020642463117837906, -0.017295721918344498, 0.03270250931382179, -0.06673331558704376, -0.0022941480856388807, 0.020349537953734398, 0.012353501282632351, -0.0009402622235938907, 0.05834800750017166, 0.06165746599435806, 0.010273557156324387, 0.0005704837967641652, -0.021303420886397362, 0.001619797432795167, 0.03751794248819351, 0.02476552687585354, 0.018695330247282982, -0.06818278133869171, 0.012256216257810593, 0.026303427293896675, -0.010983766056597233, -0.053309060633182526, -0.012335248291492462, 0.05162860453128815, -0.006550705526024103, 0.050316352397203445, -0.00013086717808619142, -0.0075552877970039845, -0.020451372489333153, -0.015194481238722801, 0.0028583856765180826, -0.008284601382911205, 0.026319868862628937, -0.012054846622049809, 0.10246220976114273, 0.06085837632417679, -0.038583092391490936, -0.02896314114332199, -0.014785525389015675, -0.01225202064961195, -0.019566679373383522, -0.04434273764491081, -0.03366309031844139, -0.0630611777305603, -0.0913635864853859, -0.006016934290528297, 0.000729212595615536, -0.03402220830321312, -0.02392357587814331, 0.009634451009333134, 0.03339102491736412, -0.016127316281199455, 0.019186830148100853, -0.031684510409832, 0.019063742831349373, -0.0025780515279620886, -0.00936563964933157, -0.011498807929456234, -0.010554097592830658, -0.009858405217528343, -0.008939339779317379, 0.015115627087652683, -0.03197382763028145, -0.004443548619747162, -0.04414903745055199, 0.04608142375946045, 0.03501433879137039, 0.04355935752391815, -0.0016897303285077214 ]
[ -0.04999404400587082, -0.016554588451981544, -0.03415148705244064, -0.04013487324118614, 0.03953776881098747, -0.03307390213012695, -0.058618176728487015, 0.04750097543001175, 0.004371412098407745, -0.027220426127314568, 0.03313622251152992, -0.0291888527572155, -0.009182087145745754, 0.010815225541591644, 0.07975578308105469, -0.004405261483043432, -0.04080929979681969, -0.06215592473745346, 0.01624549739062786, 0.058156728744506836, -0.013493635691702366, -0.0238362867385149, -0.0021553034894168377, -0.08294825255870819, -0.009743735194206238, 0.07109959423542023, 0.04637954756617546, -0.02108112908899784, -0.03989399969577789, -0.19586603343486786, -0.012144454754889011, 0.0005138766136951745, 0.02200094424188137, -0.016700174659490585, -0.011275836266577244, 0.03859579190611839, 0.02010088786482811, -0.0227041058242321, -0.003274846589192748, 0.041168391704559326, 0.006020478438585997, -0.008306045085191727, -0.07121779024600983, 0.0009408423211425543, 0.02776404097676277, 0.014513424597680569, -0.011992146261036396, -0.013504941016435623, 0.011179327964782715, -0.011310979723930359, -0.025148851796984673, 0.021504022181034088, 0.0168894175440073, -0.0009562730556353927, 0.02807822823524475, 0.027195384725928307, 0.051643021404743195, 0.0755762830376625, 0.012605087831616402, 0.03785719349980354, 0.002759319730103016, 0.013735080137848854, -0.13053534924983978, 0.055281221866607666, 0.010617843829095364, 0.008049234747886658, -0.018355265259742737, -0.03367728739976883, -0.004085215739905834, 0.06672617048025131, 0.010697562247514725, 0.034882087260484695, -0.03885630890727043, 0.059684887528419495, -0.03396352007985115, 0.05013568326830864, 0.004166941624134779, -0.00491017010062933, 0.027292145416140556, -0.045176953077316284, -0.06440381705760956, -0.005353610496968031, -0.048255011439323425, -0.015102136880159378, -0.05566570162773132, 0.05459766089916229, -0.03957948461174965, 0.0844363197684288, -0.008141331374645233, 0.05750634893774986, -0.005591219756752253, 0.03025880642235279, 0.08080251514911652, 0.001133364625275135, -0.07425431162118912, 0.004635784775018692, 0.0036791276652365923, 0.01095995306968689, 0.02553729899227619, 0.37339428067207336, 0.03951101377606392, -0.014665939845144749, 0.019313935190439224, 0.059983693063259125, 0.009380032308399677, -0.037239063531160355, -0.026222016662359238, -0.07065949589014053, 0.049993596971035004, -0.013052861206233501, -0.0013631429756060243, -0.0374012216925621, 0.08209631592035294, -0.056934718042612076, -0.002367505570873618, -0.011483164504170418, 0.05145653337240219, 0.026649655774235725, -0.054144829511642456, 0.042804814875125885, -0.03484414517879486, 0.0060499622486531734, 0.05245238170027733, 0.0017580664716660976, 0.049785368144512177, -0.0013642978155985475, -0.03259991481900215, 0.03568299487233162, 0.022515222430229187, -0.000006822183422627859, 0.04252729192376137, -0.006905520800501108, -0.055337924510240555, -0.0030269657727330923, 0.0015480108559131622, 0.017617011442780495, 0.025536850094795227, -0.0436345636844635, -0.026868734508752823, 0.020265325903892517, -0.04446008801460266, -0.03278813883662224, 0.02767794393002987, 0.003127939533442259, -0.03081483580172062, 0.07091204822063446, 0.006665577180683613, -0.004100391175597906, -0.005709856282919645, -0.02585555613040924, 0.013169358484447002, 0.051433201879262924, -0.009018548764288425, -0.04148164018988609, -0.009003160521388054, -0.00028653250774368644, 0.06796347349882126, 0.01924201473593712, -0.1022222638130188, -0.003773012664169073, -0.0054644625633955, -0.016900375485420227, -0.013993494212627411, 0.08270666003227234, 0.054420460015535355, -0.08315268903970718, -0.006096689961850643, 0.03594602271914482, 0.00855049304664135, -0.03931168466806412, 0.007128019817173481, 0.032470110803842545, -0.030329091474413872, -0.04106176272034645, 0.0635664165019989, -0.026648225262761116, 0.0037666852585971355, -0.020019566640257835, 0.03449133783578873, 0.026632338762283325, 0.008085220120847225, -0.006465903017669916, -0.042443256825208664, -0.028218552470207214, -0.05108265206217766, -0.0851682648062706, -0.09517748653888702, 0.05909464508295059, -0.030232638120651245, -0.06271308660507202, -0.018458327278494835, -0.01169972587376833, -0.06960218399763107, 0.07627154886722565, -0.02321661449968815, -0.03510101139545441, -0.020675446838140488, -0.002766834106296301, -0.008164907805621624, -0.037271060049533844, 0.06479057669639587, 0.033542927354574203, -0.0024429636541754007, 0.03795209899544716, -0.0842263251543045, -0.00038228678749874234, 0.061216115951538086, -0.04487362131476402, 0.05710100382566452, 0.024525167420506477, -0.06389822065830231, -0.0010338934371247888, -0.009778894484043121, 0.036715906113386154, -0.036593370139598846, 0.000861343287397176, 0.00010156223288504407, -0.005530192982405424, 0.03705058991909027, 0.039917878806591034, -0.04656003788113594, 0.022448139265179634, -0.048180051147937775, -0.32641851902008057, -0.0391731895506382, -0.010359425097703934, -0.014028498902916908, 0.02240011841058731, 0.021509936079382896, 0.026340046897530556, -0.06426671147346497, 0.03792004659771919, 0.013039605692029, 0.10708784312009811, -0.022398969158530235, -0.004586249589920044, -0.08115365356206894, 0.012588766403496265, 0.035652145743370056, -0.00009350242180516943, 0.0005395719199441373, -0.011964550241827965, -0.02009252831339836, -0.01619950868189335, -0.0818042978644371, -0.01430328655987978, -0.04719389230012894, -0.02671683393418789, 0.00243081315420568, 0.10125058889389038, 0.011856269091367722, 0.05345916002988815, -0.06581955403089523, 0.02750502899289131, 0.010548953898251057, -0.01798471435904503, -0.09799332171678543, 0.0043218801729381084, -0.005529731512069702, 0.019724272191524506, 0.04844868555665016, -0.02427123486995697, 0.013423592783510685, -0.04324359819293022, -0.048459701240062714, -0.062128227204084396, -0.052428074181079865, 0.009738338179886341, 0.011713366024196148, -0.015522691421210766, -0.009005129337310791, 0.02054334431886673, 0.06998441368341446, -0.004281389061361551, 0.03656075522303581, 0.0034478786401450634, 0.039853066205978394, 0.03359748795628548, -0.03756401687860489, -0.059952810406684875, -0.0010687984758988023, 0.06671828031539917, 0.04048646613955498, 0.015357480384409428, 0.04448316618800163, 0.01787778176367283, -0.07809049636125565, 0.026332926005125046, 0.016422133892774582, -0.020987609401345253, 0.008878359571099281, 0.06580491364002228, -0.04440155252814293, -0.04681273549795151, 0.12617537379264832, 0.005987119860947132, 0.018715698271989822, 0.03873652219772339, 0.02931904047727585, 0.004649507347494364, -0.01627969741821289, 0.06400634348392487, 0.021120408549904823, 0.015004477463662624, -0.017290562391281128, 0.08120966702699661, -0.006724462378770113, -0.07741863280534744, 0.05701755732297897, 0.009149198420345783, -0.03532157093286514, 0.02726767025887966, -0.013428101316094398, -0.026988357305526733, -0.00046212453162297606, -0.01425363402813673, -0.05397558957338333, 0.06735527515411377, -0.033434074372053146, -0.25820279121398926, 0.03813007473945618, 0.00800944771617651, 0.06307090073823929, -0.009900792501866817, -0.008191149681806564, 0.0288845244795084, -0.008389993570744991, -0.016741817817091942, -0.007086374331265688, 0.032325681298971176, 0.04486767202615738, -0.030047018080949783, -0.006606698036193848, 0.03182848170399666, -0.013020400889217854, 0.0017363561782985926, 0.05066213011741638, 0.03844980150461197, -0.014046212658286095, 0.05599483102560043, -0.0085124047473073, 0.15753456950187683, 0.03882397711277008, -0.008154721930623055, 0.07373640686273575, -0.025422245264053345, 0.05192282423377037, 0.060742057859897614, -0.01306055299937725, -0.04213147982954979, 0.040135759860277176, 0.017492394894361496, 0.020175056532025337, 0.01239180937409401, -0.04948052391409874, 0.009327016770839691, 0.049704816192388535, 0.019817132502794266, -0.02082010731101036, -0.007419973611831665, 0.04558991640806198, -0.026452939957380295, 0.03265051171183586, 0.09393400698900223, -0.032379817217588425, 0.0008533017826266587, -0.00008275492291431874, -0.08322101086378098, -0.025722702965140343, -0.05928831174969673, -0.09754905104637146, -0.028891298919916153, -0.013583719730377197, -0.009830103255808353, 0.0644272118806839, 0.005360808223485947, -0.04047638177871704, -0.020476676523685455, 0.0021402921993285418, 0.026125773787498474, -0.05568644776940346, 0.10077190399169922, -0.015224283561110497, -0.009806390851736069 ]
[ 0.06162356957793236, 0.052205778658390045, -0.021614814177155495, -0.0012938145082443953, 0.00951989833265543, -0.025020096451044083, -0.023783862590789795, 0.012980149127542973, -0.029628073796629906, -0.007625860627740622, -0.01684633456170559, 0.005167337600141764, 0.05586666241288185, -0.012905403040349483, 0.01586386002600193, 0.0030426043085753918, 0.0020052294712513685, 0.07738438993692398, 0.0416710302233696, 0.002082281745970249, -0.04967682063579559, -0.015514596365392208, 0.04525788500905037, -0.03616740182042122, 0.001422598259523511, 0.03301509469747543, -0.020658964291214943, -0.002361597027629614, -0.000024436383682768792, -0.1419285535812378, -0.016978023573756218, -0.011972171254456043, -0.02028922736644745, 0.0041885217651724815, -0.021279046311974525, 0.018728233873844147, 0.01643243432044983, -0.004257543943822384, -0.034789301455020905, 0.03195354342460632, -0.0009573601419106126, -0.014983146451413631, -0.02166823484003544, 0.008512008935213089, 0.010190908797085285, -0.0215411689132452, -0.031665120273828506, -0.037120118737220764, 0.036470551043748856, -0.025050995871424675, -0.03587475046515465, -0.015803858637809753, 0.004726788029074669, -0.005253930110484362, -0.014173738658428192, -0.008502797223627567, 0.0038440795615315437, -0.01158890686929226, 0.04226414114236832, -0.00040665935375727713, 0.03390726074576378, -0.007466422393918037, -0.05430129915475845, -0.014506708830595016, -0.038536615669727325, -0.02451205626130104, 0.044897038489580154, 0.00710250111296773, -0.0176828745752573, -0.004339558072388172, -0.036259666085243225, 0.0723893940448761, -0.06619636714458466, -0.030713392421603203, -0.08911098539829254, 0.022883215919137, 0.060823820531368256, -0.015327928587794304, 0.0062059978954494, 0.007974115200340748, -0.022188488394021988, 0.040165241807699203, -0.02994725853204727, -0.009615372866392136, -0.0534883551299572, 0.028819313272833824, -0.00008805682591628283, -0.020626481622457504, 0.02440405637025833, 0.04552527517080307, -0.021815506741404533, 0.016314959153532982, -0.019096801057457924, -0.018561309203505516, -0.08970307558774948, -0.016365228220820427, 0.003760522697120905, -0.01914133131504059, 0.04083855822682381, 0.790645182132721, 0.017024341970682144, 0.005039570853114128, -0.0030998983420431614, 0.01359208021312952, 0.008944295346736908, 0.04851970449090004, -0.022973088547587395, 0.0121248634532094, -0.026596615090966225, 0.014409583061933517, 0.0002600595762487501, 0.017897462472319603, 0.032868534326553345, 0.003723899833858013, 0.027383018285036087, 0.04372145235538483, 0.019298069179058075, 0.015116640366613865, -0.007614030968397856, 0.03577680140733719, 0.02868887409567833, 0.015781942754983902, 0.02509833313524723, 0.0023570284247398376, 0.0036929831840097904, -0.15289460122585297, -0.0021282322704792023, -6.757131645714188e-33, 0.02473737671971321, 0.016119234263896942, 0.053019970655441284, 0.017401862889528275, 0.005868932697921991, 0.022299330681562424, -0.01817747764289379, 0.01211819052696228, -0.02723698504269123, -0.044420842081308365, -0.030450887978076935, -0.005332518834620714, 0.012632460333406925, -0.030608000233769417, 0.01061578094959259, -0.014471003785729408, 0.0359375961124897, 0.010079174302518368, -0.04963734745979309, 0.0028212738689035177, -0.029110323637723923, 0.028748540207743645, -0.026207439601421356, 0.024943554773926735, -0.023536236956715584, 0.04921002313494682, 0.03889111056923866, -0.01397001463919878, -0.008244582451879978, -0.0437062606215477, -0.0418412871658802, -0.008897959254682064, -0.011543656699359417, -0.0010066136019304395, 0.04728565737605095, -0.06884754449129105, -0.04503735154867172, 0.0056569925509393215, -0.04996683448553085, -0.05819401144981384, -0.04027331992983818, 0.03168878331780434, -0.018569236621260643, -0.012534497305750847, -0.03257100284099579, -0.019810691475868225, -0.022505655884742737, 0.03815116360783577, -0.006772391498088837, 0.01714041270315647, -0.03668360784649849, 0.03461843356490135, 0.00538473017513752, -0.00454716244712472, -0.023953333497047424, -0.011958940885961056, 0.019177980720996857, 0.010484562255442142, -0.058493722230196, 0.03261197358369827, 0.03602244332432747, 0.016623878851532936, -0.0251033715903759, 0.03522675856947899, 0.029069088399410248, 0.03747941926121712, -0.032596126198768616, -0.007492708973586559, -0.011743869632482529, 0.054200686514377594, -0.040800388902425766, 0.040217578411102295, 0.0007842888589948416, 0.01443983893841505, 0.025572218000888824, -0.06143593415617943, 0.006464643869549036, -0.03861856088042259, -0.003996097017079592, 0.0273550096899271, -0.021853463724255562, -0.024458926171064377, 0.010365517809987068, -0.05419601872563362, 0.008675111457705498, -0.01931486837565899, 0.014241242781281471, 0.02904673106968403, 0.050566114485263824, 0.025210468098521233, 0.057913243770599365, 0.014733212999999523, -0.009637581184506416, -0.020316367968916893, -0.03751016780734062, 6.31337665080702e-33, -0.041428036987781525, 0.011996221728622913, -0.03888547793030739, 0.013167286291718483, 0.030023416504263878, 0.01808944344520569, 0.010290602222084999, 0.001382674090564251, -0.06984732300043106, 0.016274910420179367, -0.027107540518045425, -0.004906135611236095, 0.004246118478477001, 0.032043468207120895, 0.06997092068195343, 0.008599027059972286, 0.009066138416528702, -0.03843027725815773, -0.020604051649570465, 0.04119715467095375, -0.019691534340381622, 0.02084065042436123, 0.004421086981892586, 0.02391567826271057, 0.05921591445803642, 0.006649354472756386, -0.007831227965652943, 0.014675300568342209, -0.02860984019935131, 0.028524251654744148, 0.04128903150558472, -0.03196218982338905, -0.03788270801305771, -0.020836694166064262, 0.02367296814918518, -0.00690317340195179, 0.005108261946588755, 0.015931837260723114, 0.013655607588589191, 0.023101123049855232, -0.015141190029680729, -0.029465889558196068, -0.05093999207019806, 0.04384175315499306, 0.0013882344355806708, 0.030313722789287567, -0.010608282871544361, 0.06196080520749092, -0.015095205046236515, -0.012034356594085693, -0.011532925069332123, 0.013441127724945545, 0.02547173947095871, 0.007214168086647987, 0.005273486953228712, -0.043074846267700195, -0.03311256691813469, 0.05082620307803154, 0.017010552808642387, 0.030819447711110115, -0.01099382434040308, -0.04600072652101517, 0.013879320584237576, 0.04109499230980873, -0.028735117986798286, -0.026790067553520203, 0.010690842755138874, 0.017071818932890892, -0.03243289887905121, -0.020768994465470314, 0.00983212236315012, -0.0013121309457346797, -0.008578327484428883, 0.024507597088813782, 0.02581404149532318, -0.004360864404588938, -0.02081259712576866, -0.0024640930350869894, -0.05557827278971672, 0.031585995107889175, 0.005129956640303135, 0.05089543014764786, 0.00589875178411603, 0.0004482521617319435, 0.014315944164991379, 0.012945903465151787, -0.03486094996333122, 0.02075902186334133, -0.04327283799648285, -0.01668202504515648, 0.029083160683512688, 0.017374135553836823, -0.026759624481201172, 0.05270405486226082, -0.02472035214304924, -1.1958518619792358e-8, 0.021161576732993126, -0.034771472215652466, -0.005777528043836355, -0.01282738707959652, 0.041403964161872864, 0.04736281931400299, -0.010182252153754234, 0.006508186925202608, -0.04071107134222984, 0.029417945072054863, 0.0048944950103759766, 0.01439659297466278, 0.027742842212319374, 0.003791829803958535, 0.00832170806825161, -0.005419112276285887, 0.02212030068039894, 0.023122405633330345, 0.027541352435946465, 0.02907657064497471, 0.046197935938835144, 0.01882365345954895, -0.028676118701696396, 0.02144915610551834, 0.002780225360766053, -0.03255285695195198, 0.07331967353820801, -0.05665886402130127, 0.009365076199173927, -0.02733127772808075, 0.0003880973963532597, -0.003330667968839407, -0.044619835913181305, 0.0043112910352647305, -0.055270880460739136, 0.006436541210860014, 0.007744482718408108, 0.06279974430799484, 0.01552511565387249, 0.01056822668761015, -0.02994648925960064, 0.00024586208746768534, -0.016639523208141327, -0.028605924919247627, -0.0432451032102108, 0.0014798613265156746, -0.045583803206682205, -0.017583345994353294, 0.04069412127137184, -0.035326048731803894, -0.02368571236729622, 0.011670333333313465, 0.011741499416530132, 0.03135837987065315, 0.040150102227926254, -0.025808583945035934, 0.009045083075761795, -0.027679214254021645, -0.007706043776124716, -0.033083364367485046, 0.03293336555361748, -0.004634104203432798, -0.02893136814236641, -0.030400605872273445 ]
neo4j-java-security-nosuchalgorithmexception-algorithm-jks-of-type-keystore-from-provider-org-bouncycastle-jce-provider-bouncycastleprovider-namebc-version1-4
https://markhneedham.com/blog/2012/07/17/neo4j-java-security-nosuchalgorithmexception-algorithm-jks-of-type-keystore-from-provider-org-bouncycastle-jce-provider-bouncycastleprovider-namebc-version1-4
false
2012-07-19 19:57:31
neo4j: Shortest Path with and without cypher
[ "neo4j", "cypher" ]
[ "neo4j" ]
I was looking back at some code I wrote a few months ago to query a neo4j database to find the shortest path between two people via the colleagues relationships that exist. image:{{<siteurl>}}/uploads/2012/05/initial.png[]</img> The initial code, written using neography, looked like this: [source,ruby] ---- neo = Neography::Rest.new start_node = neo.get_node(start_node_id) destination_node = neo.get_node(destination_node_id) neo.get_paths(start_node, destination_node, { "type" => "colleagues" }, depth = 3, algorithm = "shortestPath") ---- The neography code eventually makes a POST request to +++<cite>+++/node/\{start_id}/paths+++</cite>+++ and provides a JSON payload containing the other information about the query. It works fine and is pretty readable but since I wrote it I've learnt how to write queries using the http://docs.neo4j.org/chunked/stable/cypher-query-lang.html[cypher] query language so I thought it would be interesting to contrast the two bits of code against each other. This is the equivalent written using cypher: [source,ruby] ---- query = "START source=node(#{start_node_id}), destination=node(#{destination_node_id})" query << "MATCH p = allShortestPaths(source-[r:colleagues*..3]->destination)" query << "RETURN NODES(p)" neo.execute_query(query) ---- The amount of lines of code is pretty similar but the thing I like about cypher is that it feels much more declarative and therefore, I think at least, easier to understand. Having said that, the learning curve for the non-cypher API is a bit easier and it's probably best to start with that to get a feel of what sorts of things you can do with a graph. When I first started learning cypher I was always forgetting which order to put the different key words and what the syntax was for selecting your starting node. After a while you do get the hang of it though and it starts to feel like any other programming language. If we didn't have the node ids of our source and destination nodes but we had two people's names which had been stored in a 'people' Lucene index then we could just as easily find the path between them like this: [source,ruby] ---- START source=node:people(name="Mark Needham"), destination=node:people(name="Cameron Swords") MATCH p = allShortestPaths(source-[r:colleagues*..3]->destination) RETURN NODES(p) ---- I use cypher for pretty much everything I do when reading from the graph and since http://blog.neo4j.org/2012/05/neo4j-18m01-release-vindeln-vy.html[version 1.8 M01] it's been possible to construct queries which mutate the graph as well.
null
null
[ 0.009412991814315319, -0.028837479650974274, -0.005443066358566284, 0.040028270334005356, 0.09211848676204681, -0.009898346848785877, 0.005825434345752001, 0.04601799324154854, 0.01568078063428402, -0.029684972018003464, -0.02415570616722107, -0.011507050134241581, -0.05712294951081276, 0.013187338598072529, 0.013123158365488052, 0.06367594748735428, 0.06768184155225754, -0.010785585269331932, 0.025891661643981934, -0.0277723278850317, 0.01459149643778801, 0.05360451713204384, -0.004471380729228258, 0.0336683988571167, 0.06868484616279602, 0.007017107680439949, -0.0179549902677536, -0.004421745892614126, -0.05941736325621605, -0.0031741484999656677, 0.04342968761920929, -0.0014994030352681875, 0.022256599739193916, -0.004540417343378067, 0.025385603308677673, 0.012855365872383118, -0.038397837430238724, 0.018622497096657753, 0.0010628128657117486, -0.004069817718118429, -0.062325526028871536, 0.038061562925577164, -0.018216915428638458, 0.021786272525787354, -0.02492924965918064, 0.02522125653922558, -0.06184058263897896, 0.03602169454097748, 0.005690915510058403, 0.003910874016582966, -0.07939613610506058, 0.02463313192129135, -0.008080395869910717, 0.006627568043768406, -0.00666784355416894, 0.04494088888168335, 0.0431431345641613, -0.06671559810638428, 0.03260289132595062, -0.026877516880631447, 0.013368981890380383, 0.010718227364122868, -0.0008317359606735408, 0.055926594883203506, 0.015571191906929016, -0.05216357856988907, 0.014422383159399033, 0.06603258103132248, -0.05223368853330612, 0.004477145615965128, 0.0013512606965377927, 0.023545295000076294, -0.013281474821269512, 0.0048492481000721455, -0.009096249006688595, -0.031498536467552185, 0.008329481817781925, 0.0482536181807518, 0.027736390009522438, 0.06197013705968857, -0.036077387630939484, 0.028328251093626022, -0.0029540639370679855, 0.029191551730036736, 0.005665836855769157, -0.029833538457751274, -0.02532372437417507, -0.0256816279143095, -0.03401605784893036, 0.02189786732196808, -0.0023394981399178505, -0.0679435208439827, -0.015988165512681007, 0.010904869064688683, -0.02098703943192959, 0.002163886558264494, 0.013994929380714893, 0.02221621386706829, -0.0027717086486518383, -0.026014365255832672, -0.02108895033597946, -0.032641924917697906, 0.002177869901061058, -0.004877230618149042, -0.0704999715089798, -0.021623536944389343, -0.02253560535609722, -0.016537241637706757, 0.008954412303864956, -0.010809601284563541, -0.04901091381907463, -0.009993142448365688, -0.04315682500600815, 0.016652755439281464, -0.07655740529298782, 0.07244637608528137, 0.00895758904516697, -0.014892498031258583, -0.055013637989759445, -0.00772019661962986, 0.034864939749240875, 0.012181071564555168, -0.0017144844168797135, 0.06502862274646759, -0.015544062480330467, 0.060820791870355606, 0.008071472868323326, 0.03811807930469513, -0.02382497489452362, -0.07195772975683212, -0.02013639733195305, 0.049429457634687424, -0.012151637114584446, 0.01317057479172945, -0.034888043999671936, -0.04208854213356972, -0.0027540596202015877, 0.018137114122509956, 0.04201297089457512, 0.026813333854079247, 0.0017425555270165205, -0.04934465140104294, 0.03851716220378876, 0.006228604353964329, 0.027170876041054726, -0.0020259912125766277, -0.009122216142714024, -0.038572609424591064, -0.03004911169409752, 0.008090147748589516, -0.005093352869153023, 0.01586075872182846, 0.03947429358959198, -0.03700701892375946, -0.0008226927020587027, 0.09431740641593933, 0.03348775953054428, 0.02336886338889599, -0.017783090472221375, 0.0023058459628373384, 0.04653080925345421, 0.023551924154162407, -0.0006056675920262933, 0.06573592871427536, -0.009423918090760708, -0.008912135846912861, -0.0011939111864194274, 0.06487938016653061, -0.0001677920517977327, 0.02199585549533367, -0.03654778376221657, -0.05625169724225998, 0.061719074845314026, -0.04426591843366623, -0.0033194548450410366, 0.03069530613720417, 0.06356624513864517, 0.019343309104442596, 0.009564077481627464, -0.01002307515591383, -0.07600992172956467, 0.07844189554452896, 0.0009695868357084692, 0.00639972323551774, 0.012527105398476124, -0.012381738983094692, 0.08790399134159088, 0.036027196794748306, -0.035583075135946274, 0.02069450542330742, -0.08757627010345459, -0.06670239567756653, -0.006840216927230358, -0.016863763332366943, 0.06339994817972183, -0.03938956558704376, 0.009435808286070824, 0.041895776987075806, -0.0188487209379673, 0.04340534284710884, 0.016223955899477005, -0.020977478474378586, 0.044841423630714417, -0.03607498109340668, -0.05042899772524834, 0.05572722107172012, 0.03687843307852745, -0.04248058795928955, -0.05197155103087425, 0.038833413273096085, -0.014682736247777939, 0.006858217995613813, 0.0058844564482569695, -0.022844364866614342, 0.05081308260560036, 0.0318288691341877, 0.030612830072641373, -0.01616770587861538, 0.037115633487701416, -0.044214483350515366, 0.03240630030632019, 0.028489354997873306, -0.016963360831141472, -0.01759820617735386, 0.016949955374002457, 0.10581286996603012, 0.06021760404109955, -0.02416098490357399, -0.06459677964448929, 0.03537006676197052, 0.015420414507389069, -0.03569747880101204, 0.02453015185892582, -0.02424386329948902, -0.014903336763381958, -0.005224409978836775, -0.023342885076999664, -0.0173442754894495, -0.0008194526890292764, -0.03398611769080162, -0.0042436919175088406, 0.05821944400668144, -0.02333761937916279, 0.03904767334461212, -0.005801103543490171, -0.017907747998833656, 0.01464278157800436, -0.044343266636133194, -0.04824952408671379, 0.04434657096862793, -0.014527259394526482, -0.006214737892150879, 0.05552583187818527, -0.0029969459865242243, -0.0222544614225626, -0.03221692517399788, -0.020039904862642288, 0.04171290993690491, 0.05797789245843887, 0.05957803875207901, -0.015226680785417557, 0.0434570237994194, -0.01808709092438221, 0.021255290135741234, -0.005293796304613352, -0.04928380623459816, -0.06285044550895691, -0.024834629148244858, 0.028381725773215294, 0.009604408405721188, 0.006355636287480593, -0.000567323702853173, 0.05048081651329994, -0.008719004690647125, -0.00776630500331521, -0.017386123538017273, 0.033205561339855194, 0.017045214772224426, 0.0008413424948230386, -0.03140927478671074, -0.04026900231838226, 0.04314836487174034, -0.06521452963352203, -0.03690984845161438, -0.014459243044257164, -0.028498975560069084, 0.06309305876493454, -0.044711384922266006, -0.027925917878746986, 0.0012806380400434136, 0.03284752741456032, 0.05834828317165375, -0.0023656899575144053, 0.014676366001367569, 0.08682586997747421, 0.02008567377924919, 0.030532797798514366, 0.00010912774450844154, -0.004448099061846733, 0.03591747581958771, -0.0007383103366009891, 0.035371243953704834, 0.045841705054044724, -0.018965348601341248, 0.0022900595795363188, -0.012923509813845158, 0.017802609130740166, 0.0053099943324923515, -0.2726345658302307, 0.05461036041378975, -0.04600711539387703, -0.03917413577437401, 0.03100091777741909, -0.03331412747502327, -0.012906546704471111, -0.013434147462248802, -0.017444366589188576, 0.027492964640259743, -0.02275807037949562, -0.026857463642954826, -0.022397536784410477, 0.0388975664973259, 0.010215387679636478, 0.033748239278793335, -0.037135519087314606, -0.03848955035209656, -0.021117959171533585, 0.04079650342464447, 0.008843195624649525, -0.060011476278305054, -0.01723472774028778, 0.007559802383184433, 0.026885807514190674, 0.04442315921187401, -0.09164875745773315, 0.03697958588600159, -0.054596927016973495, -0.04709154739975929, -0.001146061229519546, -0.0266085434705019, 0.009309165179729462, -0.0005316096940077841, -0.011037508025765419, -0.01778092421591282, 0.06046120449900627, 0.004342123866081238, 0.04178805276751518, 0.02519560232758522, -0.06198135018348694, -0.050622064620256424, -0.015729589387774467, -0.021421261131763458, 0.08482420444488525, -0.010658303275704384, -0.07116332650184631, -0.018984181806445122, -0.013558308593928814, 0.05664106085896492, -0.023082228377461433, -0.03170541673898697, -0.02421862818300724, 0.028815461322665215, -0.022639863193035126, -0.05868174508213997, -0.00835983082652092, -0.01890328712761402, -0.05102010443806648, -0.031900208443403244, 0.002606074558570981, -0.03361678868532181, 0.012863601557910442, -0.08050119131803513, 0.009820154868066311, -0.032833050936460495, -0.06971745193004608, -0.019670311361551285, 0.03807308152318001, 0.013908466324210167, -0.027427278459072113, 0.03705481067299843, -0.011164060793817043, -0.1107592061161995, -0.04638517647981644, -0.03976935148239136, 0.006665776018053293, 0.003509121248498559, -0.015701772645115852, 0.020604057237505913, -0.04375758022069931, -0.032870814204216, 0.0005493691423907876, 0.04079053923487663, 0.0021645056549459696, 0.01115325652062893, 0.00794877577573061, -0.02196609228849411, -0.029252218082547188, 0.017008909955620766, 0.0740002691745758, -0.02954588271677494, -0.031110137701034546, -0.001880604773759842, 0.009396199136972427, 0.02995399571955204, 0.02761249803006649, -0.00889992993324995, 0.02211293950676918, 0.038022879511117935, 0.04843030497431755, -0.034316182136535645, 0.010533641092479229, -0.009762825444340706, -0.011617576703429222, -0.004175637383013964, -0.04761498421430588, 0.040201980620622635, 0.03748320788145065, 0.026363568380475044, -0.009842966683208942, 0.0075556510128080845, 0.009077423252165318, -0.046525198966264725, -0.02460392564535141, -0.01616497151553631, 0.02129458822309971, -0.0040994612500071526, 0.01957465149462223, -0.024668172001838684, -0.07769743353128433, 0.031857091933488846, 0.02886267565190792, 0.00489066494628787, -0.06807947903871536, -0.032308030873537064, -0.03932267799973488, -0.00897316075861454, -0.006919440813362598, 0.03900841251015663, -0.02313188835978508, 0.04874532297253609, 0.014347895048558712, -0.023560643196105957, 0.028362466022372246, -0.009658361785113811, -0.04150975123047829, -0.025819741189479828, 0.01494394987821579, -0.009792521595954895, -0.012038388289511204, 0.006490217987447977, -0.00016499898629263043, 0.06117093935608864, 0.03468162938952446, 0.009730449877679348, 0.01124560832977295, 0.004826185293495655, 0.01530530396848917, -0.016889087855815887, -0.035544995218515396, -0.034661974757909775, 0.008623328991234303, -0.04331503063440323, -0.010282215662300587, -0.03852887824177742, 0.04113801568746567, -0.023307910189032555, -0.05219918489456177, -0.016792111098766327, 0.0330050028860569, -0.058642156422138214, 0.03424839675426483, -0.010102775879204273, -0.006657537072896957, 0.05830904841423035, -0.014684434980154037, 0.027496356517076492, -0.04502273350954056, -0.022756963968276978, 0.0007058727787807584, 0.01389884389936924, -0.0476418063044548, -0.0003289779706392437, 0.001079291570931673, 0.01908791996538639, 0.008788807317614555, 0.04787622019648552, 0.010313097387552261, 0.0024869837798178196, -0.013864090666174889, -0.009449257515370846, 0.016655223444104195, 0.02088671177625656, 0.038911521434783936, 0.015898779034614563, -0.023118099197745323, -0.0013282529544085264, -0.02761209011077881, 0.005947895813733339, -0.021936561912298203, -0.011274285614490509, -0.04842155799269676, 0.034571997821331024, -0.02549836039543152, -0.06630930304527283, 0.025548269972205162, 0.006003250367939472, -0.0008251744438894093, 0.04687194526195526, 0.004743359982967377, -0.008877154439687729, -0.004974506329745054, 0.03519954904913902, 0.04493841901421547, -0.04311368614435196, -0.020371295511722565, 0.015762124210596085, -0.018499724566936493, -0.011976327747106552, 0.02020539529621601, -0.06722798943519592, -0.042017072439193726, -0.016249962151050568, 0.011127816513180733, -0.012333630584180355, -0.04229280352592468, -0.010610582306981087, -0.009200111031532288, 0.005364719778299332, 0.026329847052693367, 0.006283846218138933, 0.0004448752442840487, -0.029219141229987144, 0.008172302506864071, 0.0618274100124836, -0.019997505471110344, -0.01872900128364563, 0.006541821174323559, -0.01763930171728134, 0.009410295635461807, -0.014132174663245678, 0.04615465924143791, -0.010533366352319717, 0.004523429088294506, 0.004499867092818022, -0.051818110048770905, 0.015302483923733234, -0.028735946863889694, 0.050451792776584625, -0.0009672963642515242, 0.006081399507820606, -0.013409357517957687, 0.0020455890335142612, -0.01862183026969433, 0.005255609285086393, -0.017715243622660637, -0.016606897115707397, -0.004079741891473532, 0.0291345976293087, 0.004663005471229553, 0.02870122529566288, 0.006252155173569918, -0.03876578062772751, 0.057577911764383316, -0.029461083933711052, -0.05599867179989815, -0.01969520002603531, -0.06092619523406029, 0.008646048605442047, 0.04005303233861923, 0.010393946431577206, -0.03980294242501259, 0.06131932511925697, 0.03750234097242355, 0.036704957485198975, 0.040681034326553345, -0.021383099257946014, 0.03139609098434448, -0.03915343061089516, 0.007828975096344948, -0.10035371780395508, 0.024086754769086838, 0.041257914155721664, 0.015364685095846653, 0.012662510387599468, -0.014458931982517242, -0.016776347532868385, 0.011825122870504856, -0.05940583348274231, -0.02136700414121151, 0.038428861647844315, -0.0024365505669265985, 0.021961048245429993, 0.008102328516542912, -0.058010973036289215, 0.014872774481773376, 0.04684729129076004, -0.029559941962361336, -0.029943902045488358, -0.04393254965543747, 0.038861505687236786, -0.021539080888032913, 0.055673547089099884, -0.02143770083785057, -0.03254231438040733, 0.07509314268827438, 0.027975399047136307, 0.014726187102496624, 0.05518769100308418, -0.034471817314624786, 0.03145243972539902, 0.04623081907629967, -0.015777580440044403, -0.0014696347061544657, 0.05162722244858742, -0.0176704041659832, -0.03799952566623688, 0.04974105954170227, 0.020764639601111412, -0.031367894262075424, -0.04694856330752373, 0.0593072734773159, 0.01009959727525711, -0.04947056248784065, -0.059669580310583115, 0.03298111632466316, -0.04603234678506851, -0.025242412462830544, -0.034784503281116486, -0.0003168193798046559, -0.016769330948591232, 0.06052359938621521, -0.021103736013174057, 0.013110825791954994, 0.07106815278530121, -0.0056566642597317696, -0.016830727458000183, 0.0051949177868664265, 0.0802902951836586, 0.0997985303401947, 0.0455051064491272, -0.00033352035097777843, 0.05972764641046524, -0.010435524396598339, -0.006800590083003044, -0.017383450642228127, -0.060837145894765854, 0.0018990334356203675, 0.025845497846603394, -0.008933617733418941, 0.056211136281490326, -0.032145943492650986, 0.071757473051548, -0.04291509836912155, 0.007163553033024073, 0.014106055721640587, -0.0020546833984553814, 0.02511923387646675, 0.08377639204263687, 0.026335837319493294, 0.0370357483625412, -0.04155540466308594, -0.022247107699513435, 0.022435950115323067, -0.018334032967686653, -0.008844979107379913, 0.01915254071354866, -0.03299427777528763, -0.0125697897747159, 0.008089903742074966, 0.02853546105325222, 0.11048910021781921, -0.04393524304032326, -0.03017202578485012, -0.016063187271356583, 0.011583009734749794, -0.020860061049461365, 0.018878242000937462, -0.003197220852598548, -0.015325203537940979, 0.0011977514950558543, -0.041970234364271164, -0.037100568413734436, -0.005762183573096991, -0.03346611186861992, -0.0037859552539885044, 0.00015933849499560893, 0.008961173705756664, -0.013236825354397297, -0.014192519709467888, -0.022922970354557037, -0.040252506732940674, -0.04142950475215912, -0.05932141840457916, -0.07872247695922852, -0.004210163373500109, -0.014300864189863205, 0.004942440427839756, -0.01934254728257656, -0.003090247279033065, -0.02767077647149563, 0.0036903945729136467, 0.055804572999477386, -0.02821211703121662, -0.004164407029747963, 0.03250555321574211, 0.027950091287493706, 0.010821615345776081, 0.04554042965173721, 0.045016903430223465, -0.0001530620938865468, 0.03703859820961952, -0.03034152276813984, -0.00930664874613285, 0.05452846735715866, 0.028250953182578087, -0.004019308369606733, -0.06284646689891815, -0.012384448200464249, 0.007179862353950739, 0.010350176133215427, -0.07713912427425385, -0.0044100102968513966, 0.033004142343997955, 0.02352682128548622, 0.045856356620788574, -0.015862848609685898, 0.029016781598329544, -0.003907776437699795, 0.01831848919391632, 0.00005424469054560177, -0.0181630440056324, 0.02963126450777054, -0.027420543134212494, 0.06684354692697525, 0.019035430625081062, -0.024930935353040695, -0.021190186962485313, -0.026462599635124207, 0.006204832810908556, -0.025415798649191856, -0.05310014262795448, -0.04604833573102951, -0.031026074662804604, -0.08326119929552078, -0.03641213849186897, 0.01797291822731495, -0.01593307964503765, -0.041137222200632095, 0.0021973703987896442, 0.03916040062904358, -0.018905872479081154, 0.03966161981225014, -0.03835325688123703, 0.0532793328166008, -0.002500235801562667, -0.03640475869178772, -0.016098687425255775, 0.003503894666209817, -0.017440540716052055, 0.006723946891725063, 0.015485528856515884, -0.03484594076871872, -0.015766194090247154, -0.023835789412260056, 0.025035183876752853, 0.024364428594708443, 0.025207387283444405, 0.01350694801658392 ]
[ -0.056485798209905624, -0.01620662398636341, -0.06319449841976166, -0.0069310227409005165, 0.05586099252104759, -0.04898492619395256, -0.027126086875796318, 0.011519978754222393, 0.0026403258088976145, -0.018799632787704468, 0.01548772118985653, -0.023205939680337906, 0.025983262807130814, -0.00683956453576684, 0.054943572729825974, -0.007252489682286978, -0.01066562905907631, -0.06334909796714783, -0.015812991186976433, 0.05572788789868355, -0.028534982353448868, -0.04247087240219116, -0.007139888126403093, -0.048282455652952194, 0.011028931476175785, 0.06380180269479752, 0.05668570101261139, -0.022923177108168602, -0.01609695889055729, -0.1862654685974121, 0.009292070753872395, 0.023907329887151718, 0.0194241926074028, -0.007476809434592724, 0.006206367164850235, 0.020841136574745178, 0.06770765036344528, -0.04102255031466484, 0.006384714972227812, 0.037344131618738174, 0.024620557203888893, 0.007400989066809416, -0.04588859900832176, -0.007344071287661791, 0.061206404119729996, 0.020481277257204056, -0.023469066247344017, -0.0365767776966095, -0.03673922270536423, 0.008135045878589153, -0.042612358927726746, -0.025274373590946198, -0.01744798943400383, -0.01725229062139988, 0.011651252396404743, 0.04890143498778343, 0.038806211203336716, 0.07324151694774628, 0.01200201828032732, 0.05307722091674805, 0.013458632864058018, -0.009019622579216957, -0.13542412221431732, 0.0625963807106018, 0.011511600576341152, 0.020972760394215584, -0.062096983194351196, -0.013908766210079193, -0.04424162581562996, 0.07460843026638031, 0.033828768879175186, 0.004229375161230564, -0.05285955220460892, 0.058232348412275314, -0.010239465162158012, 0.0038000212516635656, 0.0011810390278697014, 0.02733413316309452, 0.037602994590997696, -0.036455508321523666, -0.04772394523024559, 0.02343965694308281, -0.03612349182367325, -0.004591826815158129, -0.03395472466945648, 0.032707054167985916, -0.04545057192444801, 0.0381118580698967, 0.018358668312430382, 0.026285041123628616, 0.04671972617506981, -0.008699601516127586, 0.010114501230418682, 0.030059712007641792, -0.08677608519792557, -0.037596337497234344, 0.00990291591733694, 0.024106450378894806, 0.0022697432432323694, 0.38517042994499207, 0.013776221312582493, 0.0111599275842309, 0.0534321591258049, 0.060830701142549515, -0.011232221499085426, -0.035489555448293686, 0.015768421813845634, -0.07524829357862473, 0.04219312593340874, -0.005105939228087664, 0.000004647493824450066, -0.04213430732488632, 0.03272517770528793, -0.08690724521875381, 0.009583932347595692, 0.03242248669266701, 0.05278688669204712, 0.04756801947951317, -0.009898800402879715, 0.005455557256937027, -0.026397384703159332, 0.0024051577784121037, 0.018991641700267792, 0.011110728606581688, 0.00912218727171421, 0.006518456153571606, 0.022006714716553688, 0.03581243380904198, 0.020693721249699593, 0.04366695508360863, 0.07516150176525116, 0.0028831122908741236, -0.06109238788485527, 0.037094470113515854, -0.034601494669914246, 0.005393798463046551, 0.02540508471429348, -0.017278382554650307, -0.028096510097384453, 0.006991311442106962, -0.01269456371665001, -0.01717788726091385, 0.031749095767736435, 0.018099533393979073, -0.048219405114650726, 0.12838466465473175, -0.012108195573091507, -0.03853726014494896, -0.0381377674639225, -0.047615062445402145, 0.011292838491499424, 0.0198629442602396, 0.0007544745458289981, -0.06312299519777298, -0.034108348190784454, 0.017926683649420738, 0.08118683844804764, -0.010378054343163967, -0.09548690170049667, 0.017344199120998383, 0.005929287057369947, -0.054510697722435, -0.03737354651093483, 0.07620187103748322, 0.05909166857600212, -0.1299704760313034, 0.0029772561974823475, 0.022049183025956154, 0.012315424159169197, -0.07695093005895615, 0.01624685525894165, 0.017982950434088707, -0.030940361320972443, -0.035940781235694885, 0.04899716004729271, -0.01875007338821888, -0.024266626685857773, -0.010946257039904594, 0.03032279945909977, -0.00026905175764113665, -0.02343512885272503, -0.002803610870614648, -0.027248326689004898, -0.013512037694454193, -0.06097140908241272, -0.04706752300262451, -0.07824739813804626, 0.038521237671375275, -0.02579723671078682, -0.03235997259616852, -0.016414586454629898, -0.0013652242487296462, -0.03732440993189812, 0.08641630411148071, -0.04614436998963356, -0.03273295983672142, -0.01919255033135414, 0.010978290811181068, -0.030631501227617264, -0.01721939444541931, 0.020444462075829506, 0.02658306434750557, -0.005670619662851095, 0.027543889358639717, -0.06181226670742035, -0.0008835557964630425, 0.0717393010854721, -0.03172491490840912, 0.04677406698465347, 0.02783176675438881, -0.055638592690229416, -0.007816197350621223, -0.021325096487998962, 0.02834186516702175, -0.0035386383533477783, -0.03638378530740738, 0.01627180352807045, -0.001846916158683598, 0.005390857812017202, 0.05002179741859436, -0.043285321444272995, -0.029192548245191574, -0.005385031923651695, -0.3524510860443115, -0.03870759904384613, -0.021591033786535263, 0.01586686074733734, 0.04386204853653908, -0.03991970047354698, 0.01951500028371811, -0.015522315166890621, -0.0023655781988054514, 0.007978598587214947, 0.1166776716709137, -0.007699170615524054, -0.011812809854745865, -0.06963438540697098, -0.0003628286358434707, 0.05574246868491173, -0.015250736847519875, 0.016496222466230392, -0.031067144125699997, 0.005842423066496849, 0.008396024815738201, -0.04808317869901657, -0.0015328157460317016, -0.07469114661216736, -0.014955228194594383, 0.004075717180967331, 0.134181946516037, -0.02135322615504265, 0.03915780782699585, -0.06286290287971497, 0.01976780779659748, -0.012110183946788311, -0.011939365416765213, -0.07006987184286118, 0.007536891382187605, -0.021580997854471207, 0.04764531925320625, 0.0020358881447464228, -0.009150397963821888, -0.021436674520373344, -0.0510486476123333, -0.015711629763245583, -0.02879449538886547, -0.028668774291872978, -0.042553260922431946, 0.023296279832720757, -0.05080418288707733, -0.03070829063653946, 0.020001474767923355, 0.08533240854740143, -0.006107226014137268, 0.033835239708423615, 0.006690167356282473, 0.022971991449594498, 0.004663861822336912, -0.03411027416586876, -0.07481294125318527, -0.025761673226952553, 0.019491609185934067, 0.04312395676970482, -0.010188820771872997, 0.03107720986008644, 0.023182757198810577, -0.09796474128961563, 0.0381908155977726, -0.006890919059514999, 0.0025156910996884108, 0.014497312717139721, 0.061520516872406006, -0.03945010527968407, -0.018129486590623856, 0.11826563626527786, 0.001975538907572627, 0.01438082568347454, 0.030226755887269974, 0.05441765487194061, 0.0017651331145316362, 0.04353949427604675, 0.049230918288230896, -0.0043758912943303585, 0.038864802569150925, -0.036330342292785645, 0.079586461186409, -0.0255438145250082, -0.02268208935856819, 0.06636539846658707, 0.03599664568901062, -0.05010884627699852, 0.04972938075661659, 0.017951348796486855, -0.036215316504240036, 0.0012286921264603734, -0.01921882852911949, -0.05081184208393097, 0.05381421744823456, -0.027895137667655945, -0.2739362418651581, 0.02588403783738613, 0.014365235343575478, 0.05853977054357529, 0.0036492180079221725, 0.012111971154808998, 0.050863757729530334, -0.01413684617727995, -0.00252754264511168, -0.0033193915151059628, 0.05066882073879242, 0.05154232308268547, 0.008665754459798336, -0.027596332132816315, 0.013988136313855648, 0.015276960097253323, 0.042981281876564026, 0.011880600824952126, 0.0013836350990459323, 0.019724993035197258, 0.056369051337242126, -0.017463581636548042, 0.17635740339756012, 0.03393047675490379, 0.009473789483308792, 0.04429611563682556, -0.03229950740933418, -0.0029124978464096785, 0.04052772745490074, -0.0010707826586440206, -0.011161142028868198, 0.04595571383833885, 0.012905439361929893, 0.015699760988354683, 0.019299691542983055, -0.03534476086497307, -0.01862923614680767, 0.052254702895879745, 0.0199970044195652, -0.03838967904448509, -0.003079617628827691, -0.005130970850586891, -0.023351265117526054, 0.01818280853331089, 0.07694823294878006, -0.021720699965953827, -0.019535163417458534, -0.0038911274168640375, -0.06207745522260666, -0.01373351737856865, -0.028407510370016098, -0.04934695363044739, -0.020966682583093643, -0.012574359774589539, 0.015477738343179226, 0.0782875046133995, 0.010280708782374859, -0.028033502399921417, -0.010738849639892578, 0.01755153015255928, -0.012540377676486969, -0.03566628322005272, 0.10349183529615402, -0.01796094886958599, 0.019432080909609795 ]
[ 0.03210093826055527, 0.03586940839886665, -0.01547186728566885, 0.03211863711476326, -0.015254423022270203, 0.00435021473094821, -0.03156387805938721, 0.0024352034088224173, -0.030023809522390366, -0.019662369042634964, -0.024118956178426743, 0.029482919722795486, 0.0730920359492302, 0.017135733738541603, -0.016321523115038872, 0.008391057141125202, -0.008105079643428326, 0.05205113813281059, 0.029716094955801964, -0.014431662857532501, -0.03827706351876259, -0.013995382934808731, 0.05172606185078621, -0.011512541212141514, -0.015697358176112175, -0.01581653393805027, -0.01275588572025299, -0.00989250186830759, 0.019761482253670692, -0.09215052425861359, -0.013545469380915165, -0.034416768699884415, -0.015566457062959671, 0.02126052789390087, -0.021475903689861298, 0.025186855345964432, 0.03415519371628761, -0.01188066229224205, 0.010157488286495209, 0.017001919448375702, 0.016944320872426033, -0.006235658656805754, -0.04625259339809418, 0.00750539219006896, 0.014127756468951702, -0.016118962317705154, -0.025448042899370193, -0.0266159288585186, 0.00541808782145381, -0.03800013288855553, -0.04636933282017708, -0.039838142693042755, -0.04114440456032753, 0.004135154653340578, 0.015779107809066772, 0.01592107303440571, -0.05337218940258026, -0.016827959567308426, -0.004174642264842987, -0.020385846495628357, 0.03435421735048294, -0.03745527192950249, -0.05189378932118416, -0.02404721826314926, -0.0025455087888985872, -0.0021827463060617447, -0.018061116337776184, 0.014232614077627659, 0.00748762022703886, -0.009120451286435127, -0.004638885613530874, 0.03667076304554939, -0.11518091708421707, -0.003963906317949295, -0.02469426393508911, 0.028554435819387436, 0.05552655830979347, 0.002786824479699135, -0.019909340888261795, -0.02631143480539322, 0.014132773503661156, 0.0007366699283011258, -0.02486388012766838, 0.03909769654273987, -0.031091436743736267, 0.02207779511809349, -0.020052531734108925, -0.014457018114626408, -0.002001974731683731, 0.015817059203982353, -0.022758573293685913, 0.0021987580694258213, -0.0048711770214140415, -0.007517155259847641, -0.08849597722291946, -0.00531359389424324, 0.019244780763983727, -0.0034969612024724483, 0.018343381583690643, 0.8032504916191101, 0.022977448999881744, -0.027285614982247353, 0.00860024057328701, 0.011103312484920025, 0.018002552911639214, 0.02787064015865326, 0.02973143197596073, 0.003293622052296996, -0.0015185303054749966, 0.025953756645321846, -0.024600790813565254, 0.012045443058013916, -0.007208759896457195, 0.01740259677171707, 0.0075973691418766975, 0.028868630528450012, 0.018680628389120102, 0.022895287722349167, -0.01316316518932581, 0.020498862490057945, -0.018818501383066177, 0.006286854390054941, -0.011952288448810577, -0.008978678844869137, -0.00002501253220543731, -0.1899809092283249, -0.03689377009868622, -6.891549424730716e-33, 0.043561071157455444, 0.026738440617918968, 0.07230167835950851, -0.015123541466891766, -0.011260850355029106, 0.013136869296431541, -0.006376538425683975, -0.019456390291452408, -0.03414918854832649, -0.03812048211693764, -0.030488383024930954, 0.008194574154913425, 0.019030597060918808, -0.03287282958626747, 0.0022317308466881514, -0.024263253435492516, 0.002421609591692686, 0.023349754512310028, -0.006607736460864544, -0.008416691794991493, 0.004617379978299141, 0.014672608114778996, -0.042534004896879196, 0.0378502756357193, 0.007850232534110546, 0.004282393492758274, -0.025575891137123108, -0.010007495060563087, -0.009369514882564545, -0.05435122549533844, -0.06852465867996216, 0.034562401473522186, -0.0006301117828115821, -0.012924124486744404, -0.0013508556876331568, -0.052185870707035065, -0.00042450768523849547, -0.006551418919116259, -0.043056316673755646, -0.062043413519859314, -0.0432053878903389, 0.0009648010018281639, 0.0001029708655551076, -0.028841804713010788, -0.03865542262792587, -0.013378611765801907, 0.0010851864935830235, 0.004684560000896454, -0.01041598990559578, 0.02224879525601864, 0.009340755641460419, 0.012200003489851952, -0.015636304393410683, 0.02026946097612381, -0.04099192097783089, 0.0048179118894040585, 0.015333742834627628, 0.00357119576074183, -0.01874699629843235, 0.024681705981492996, 0.06519755721092224, 0.005872759968042374, 0.002702445490285754, 0.04243151471018791, 0.05676700547337532, 0.019090501591563225, -0.03986218571662903, 0.025234200060367584, 0.0074903699569404125, 0.05466543138027191, -0.05070578679442406, 0.06261619180440903, -0.019442308694124222, -0.036516815423965454, 0.0517636239528656, -0.05533519387245178, -0.02058395929634571, -0.04092159494757652, 0.02498508244752884, 0.05121738091111183, -0.03395268693566322, -0.025413542985916138, 0.0046176668256521225, -0.033644579350948334, -0.006407269276678562, 0.006793340668082237, 0.042386408895254135, 0.0018592082196846604, 0.011787133291363716, 0.04130858927965164, 0.06188410148024559, 0.026202766224741936, -0.02841092459857464, 0.003064611926674843, -0.014605486765503883, 6.553191457370183e-33, -0.004158724099397659, 0.013036367483437061, -0.01460659597069025, 0.0027940324507653713, 0.05144798755645752, 0.009353975765407085, 0.012050997465848923, -0.0038674254901707172, -0.03508291766047478, 0.05719546601176262, -0.024864014238119125, -0.026668544858694077, 0.012114576064050198, 0.006128191016614437, 0.0762830451130867, -0.02569880150258541, 0.01816219463944435, -0.06619986146688461, -0.009208789095282555, 0.0262144785374403, -0.02476564608514309, 0.01176137663424015, -0.021045416593551636, 0.010749699547886848, 0.013478708453476429, 0.04079102724790573, 0.022700844332575798, 0.006305868271738291, -0.026611175388097763, -0.0038847888354212046, -0.0009273558971472085, -0.05012863129377365, -0.009925907477736473, -0.03127676248550415, 0.021195674315094948, 0.0369236133992672, -0.017954280599951744, 0.008622453548014164, 0.026975957676768303, -0.016681069508194923, -0.006860688328742981, 0.021681904792785645, -0.0045292857103049755, 0.07314781099557877, 0.022772308439016342, 0.015121682547032833, 0.001302097924053669, 0.01159321703016758, 0.008793322369456291, 0.02682940661907196, 0.021609744057059288, 0.03174302354454994, -0.02437007986009121, 0.030459094792604446, 0.04413576424121857, -0.05399146303534508, -0.009030729532241821, 0.04446195065975189, 0.02687321975827217, -0.004214311949908733, -0.008752313442528248, -0.01653916761279106, -0.05172472819685936, 0.029629215598106384, -0.010564328171312809, -0.05317559838294983, -0.028000477701425552, 0.0109458789229393, -0.015381624922156334, 0.000516345608048141, 0.0061760591343045235, 0.014618405140936375, 0.010118081234395504, 0.02689335308969021, 0.04325804114341736, -0.04499894753098488, -0.02210589498281479, 0.004363988526165485, -0.05163497477769852, 0.017531778663396835, 0.023407399654388428, 0.021040765568614006, 0.021763553842902184, 0.027323920279741287, 0.004717221483588219, 0.006990224123001099, -0.016203666105866432, 0.02828727476298809, -0.0224764384329319, 0.006439598742872477, 0.031197331845760345, -0.0026816611643880606, -0.017763687297701836, 0.02918074280023575, -0.05886548385024071, -1.2463091891845579e-8, -0.04744494706392288, 0.008268509991466999, -0.015904244035482407, -0.00008072235505096614, 0.011945155449211597, 0.04217728227376938, 0.03155790641903877, 0.01682443916797638, -0.012899201363325119, 0.028843190521001816, 0.02907481975853443, -0.021900422871112823, 0.035248707979917526, 0.008140690624713898, -0.0010957239428535104, -0.035972654819488525, -0.007859521545469761, -0.025906609371304512, 0.03860533609986305, 0.022872939705848694, -0.04106515273451805, 0.01873398758471012, -0.05339929461479187, 0.01801542565226555, 0.00040913745760917664, -0.03223730996251106, 0.024862762540578842, -0.07342522591352463, 0.008730712346732616, -0.0225987546145916, -0.014301145449280739, -0.014830115251243114, -0.006777460221201181, 0.02207651548087597, -0.035911910235881805, -0.011829429306089878, 0.028505360707640648, 0.04543902724981308, 0.00676229503005743, 0.06039786338806152, 0.0029926584102213383, 0.01613270863890648, -0.020899590104818344, -0.022792937234044075, -0.026277584955096245, 0.004997157491743565, -0.003339002840220928, -0.018783174455165863, 0.03575766086578369, -0.025059228762984276, 0.005282372236251831, -0.04365990310907364, 0.026278719305992126, 0.009253226220607758, 0.05892980843782425, -0.014463982544839382, -0.009250417351722717, -0.026570674031972885, -0.001427029725164175, 0.010637416504323483, 0.013946975581347942, 0.020179418846964836, -0.017894472926855087, -0.011217694729566574 ]
neo4j-shortest-path-with-and-without-cypher
https://markhneedham.com/blog/2012/07/19/neo4j-shortest-path-with-and-without-cypher
false
2012-07-21 22:46:06
neo4j: Embracing the sub graph
[ "neo4j", "cypher" ]
[ "neo4j" ]
In May I wrote a blog post explaining how I'd been designing a neo4j graph by http://www.markhneedham.com/blog/2012/05/05/neo4j-what-question-do-you-want-to-answer/[thinking about what questions I wanted to answer about the data]. In the comments Josh Adell gave me the following advice: ____ The neat things about graphs is that multiple subgraphs can live in the same data-space. + \... + Keep your data model rich! Don't be afraid to have as many relationships as you need. The power of graph databases comes from finding surprising results when you have strongly interconnected data. ____ At the time I didn't really understand the advice but I've since updated my graph so that it includes 'colleagues' relationships which can be derived by looking at the projects that people had worked together on. image::{{<siteurl>}}/uploads/2012/07/v2-a.png[V2 a,600] When I was showing the graph to http://www.linkedin.com/profile/view?id=15082115&authType=NAME_SEARCH&authToken=t4ys&locale=en_US&srchid=66859460-2706-4d7d-848c-3924569bc30e-0&srchindex=1&srchtotal=19&goback=%2Efps_PBCK_*1_Marc_Hofer_*1_*1_*1_*1_*2_*1_Y_*1_*1_*1_false_1_R_*1_*51_*1_*51_true_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2&pvs=ps&trk=pp_profile_name_link[Marc] he thought it would be quite interesting to see all the people that he hadn't worked with before, a query that's very easy to write when we have these two sub graphs. We could write the following cypher query to find who Marc hadn't worked with on a specific project: [source,text] ---- START project=node:projects(name="Project X"), me=node:people(name="Marc Hofer") MATCH project<-[:worked_on]-neverColleague-[c?:colleagues]->me WHERE c is NULL RETURN neverColleague ---- We do an index lookup to find the appropriate project node and to find the node that represent's Marc. THe MATCH clause starts from the project and then work backwards to the people who have worked on it. We then follow an optional colleagues relationship back to Marc. The WHERE clause makes sure that we only return people that Marc doesn't have a 'colleagues' relationship with i.e. people Marc hasn't worked with. Along the same lines we could also find out all the people that Marc has worked with from a specific office: [source,text] ---- START office=node:offices(name="London - UK South"), me=node:people(name="Marc Hofer") MATCH office<-[r:member_of]-colleague-[c:colleagues]->me WHERE (NOT(HAS(r.end_date))) RETURN colleague, c ---- This is reasonably similar to the previous query except the colleagues relationship is no longer optional since we only want to find people that Marc has worked with. I'm sure there are other queries we could run but these were a couple that I hadn't thought of before I had multiple sub graphs together on the same overall graph.
null
null
[ 0.028650565072894096, -0.006238470319658518, 0.013265203684568405, 0.056989673525094986, 0.0939909815788269, 0.004263959359377623, 0.03816802427172661, 0.017250826582312584, 0.021518971771001816, -0.03038831427693367, 0.006194571033120155, -0.010444886051118374, -0.0628800019621849, 0.015462499111890793, -0.01256480347365141, 0.059078555554151535, 0.049774419516325, 0.02192750573158264, 0.009610587731003761, -0.012030350975692272, 0.027695678174495697, 0.05203642696142197, 0.00690863560885191, 0.03044258989393711, 0.04364736005663872, 0.002563845133408904, 0.009217370301485062, 0.002811215817928314, -0.033443618565797806, 0.0068861641921103, 0.04407397285103798, 0.005692325532436371, 0.015133452601730824, -0.010465324856340885, 0.035547200590372086, -0.0265137180685997, -0.0514223575592041, 0.017466088756918907, -0.007026010658591986, -0.007131797727197409, -0.07703844457864761, 0.05204365774989128, -0.01949295401573181, 0.03201041370630264, -0.03586657717823982, -0.0034328566398471594, -0.05504448711872101, 0.044633958488702774, 0.030224453657865524, 0.019543515518307686, -0.07815813273191452, 0.03519691899418831, 0.016741182655096054, 0.023187993094325066, -0.03619153052568436, 0.04602305218577385, 0.03070768155157566, -0.05110835283994675, 0.03534984216094017, -0.02779546007514, -0.0004648248141165823, -0.019202984869480133, -0.009136560373008251, 0.019644655287265778, -0.008058124221861362, -0.05435050278902054, 0.0028430307283997536, 0.05888114869594574, -0.03827965259552002, 0.02456524595618248, -0.005132766906172037, 0.011065389961004257, -0.0020848445128649473, -0.005107295699417591, -0.012435674667358398, -0.052435193210840225, 0.006086805835366249, 0.040564168244600296, 0.032499779015779495, 0.039113208651542664, -0.03155908361077309, 0.034404028207063675, -0.006948552094399929, 0.029628081247210503, -0.018181094899773598, -0.0418960265815258, -0.0005334814195521176, -0.04038088768720627, -0.0787886530160904, 0.04894191399216652, -0.014251338317990303, -0.07325587421655655, 0.006227896083146334, 0.021371114999055862, -0.009789902716875076, 0.0019002093467861414, 0.02590218186378479, 0.005964691750705242, 0.008970309048891068, -0.03372441604733467, -0.01848485879600048, -0.0398826040327549, -0.007755575235933065, 0.0064870454370975494, -0.07175140827894211, -0.024921001866459846, -0.028318580240011215, -0.007984498515725136, 0.0031858456786721945, -0.004422738682478666, -0.039304159581661224, 0.0022851433604955673, -0.011002983897924423, 0.015172400511801243, -0.06838381290435791, 0.05616104602813721, 0.015476335771381855, -0.03936551883816719, -0.02278251200914383, 0.0007178405649028718, 0.026498137041926384, 0.011845515109598637, 0.008574910461902618, 0.08123956620693207, -0.023935630917549133, 0.012137072160840034, 0.008490265347063541, 0.04181785508990288, -0.04132984206080437, -0.05710173398256302, -0.004577606916427612, 0.0595150925219059, -0.013380656018853188, -0.003925416152924299, 0.016681399196386337, -0.050616953521966934, -0.00982132088392973, 0.03488627448678017, 0.03659208491444588, 0.02630026638507843, 0.011796945706009865, -0.05848052725195885, 0.0250876285135746, 0.016535285860300064, 0.035725414752960205, 0.01532975398004055, -0.013499102555215359, -0.011626092717051506, -0.031498029828071594, -0.023299425840377808, 0.018879437819123268, 0.033965058624744415, 0.012453452683985233, -0.034377098083496094, 0.03379572927951813, 0.10892567038536072, 0.03698018565773964, 0.00885717011988163, -0.003743973094969988, 0.04240629822015762, 0.04652603343129158, 0.02757582999765873, 0.02378070168197155, 0.05382268503308296, 0.006824383977800608, -0.026962243020534515, -0.0014910358004271984, 0.07150612771511078, -0.00760200759395957, 0.016864608973264694, -0.044737525284290314, -0.05087636411190033, 0.0461299754679203, -0.037231605499982834, -0.026936974376440048, 0.06705279648303986, 0.08550423383712769, 0.03421807289123535, 0.01927756331861019, 0.0007474835147149861, -0.08150529116392136, 0.05260637030005455, 0.028210222721099854, 0.010297172702848911, 0.0028887789230793715, 0.002283995971083641, 0.0813513770699501, 0.047320518642663956, 0.008143167942762375, 0.03477926552295685, -0.08065472543239594, -0.08406979590654373, -0.011599368415772915, -0.022189989686012268, 0.07070565968751907, -0.017616311088204384, 0.013941685669124126, 0.04530850797891617, 0.013663947582244873, 0.03919916972517967, 0.007997408509254456, -0.0019302444998174906, 0.03621608391404152, -0.04540672525763512, -0.04669249430298805, 0.056527283042669296, 0.021912194788455963, -0.055474985390901566, -0.06366836279630661, 0.024232691153883934, -0.02905631996691227, -0.01595754735171795, 0.030265750363469124, -0.03744934871792793, 0.019026128575205803, 0.01412166003137827, 0.051401231437921524, -0.006893472746014595, 0.03143675997853279, -0.028631750494241714, 0.037950679659843445, 0.00839706789702177, -0.03678686544299126, 0.018947023898363113, 0.00597884226590395, 0.11723842471837997, 0.05865390598773956, -0.03284376859664917, -0.04236740246415138, 0.033595792949199677, 0.017779547721147537, 0.0013094813330098987, 0.02776549570262432, -0.007074729539453983, -0.005982713773846626, -0.01600552536547184, -0.04432215914130211, -0.03260892257094383, 0.025099659338593483, -0.04936564713716507, 0.004806268494576216, 0.06352756917476654, -0.03530881181359291, 0.06330201029777527, -0.0046095577999949455, 0.008967358618974686, -0.015086356550455093, -0.023288056254386902, -0.03570934385061264, 0.035406652837991714, 0.0030996953137218952, -0.007656436879187822, 0.06436311453580856, -0.02105473354458809, -0.014294788241386414, -0.04018554091453552, -0.004583335481584072, 0.027867665514349937, 0.053684573620557785, 0.061462510377168655, 0.0002097128890454769, 0.039090123027563095, -0.025816679000854492, 0.017426393926143646, -0.012234334833920002, -0.06355290859937668, -0.043387383222579956, -0.059653960168361664, 0.03674013540148735, 0.01888294704258442, 0.028218453750014305, -0.015456538647413254, 0.028737954795360565, 0.019016675651073456, 0.015345276333391666, -0.008577208034694195, 0.03966241702437401, 0.008277304470539093, -0.007359688635915518, -0.03201960772275925, -0.03577134758234024, 0.05952221527695656, -0.04258722811937332, -0.04131146892905235, -0.012249480932950974, -0.07467343658208847, 0.06906195729970932, -0.05044260248541832, -0.033080168068408966, 0.0065448409877717495, 0.01898406818509102, 0.059497762471437454, 0.017602290958166122, -0.014029163867235184, 0.06339756399393082, 0.03063465841114521, 0.014824490994215012, -0.0070891412906348705, -0.013883380219340324, 0.05666112154722214, -0.013644866645336151, 0.022548526525497437, 0.05691932886838913, -0.01875283196568489, 0.004128584638237953, -0.02205771580338478, 0.02881554700434208, -0.008652577176690102, -0.25972527265548706, 0.03401895612478256, -0.004147822968661785, -0.05617867410182953, -0.0009395633824169636, -0.032936736941337585, 0.013411566615104675, -0.03814496099948883, -0.027364619076251984, -0.011018404737114906, -0.018113797530531883, -0.03745102137327194, -0.03570215404033661, 0.03989225998520851, 0.02300003543496132, 0.023868879303336143, 0.007944537326693535, -0.04854365810751915, 0.006027571856975555, 0.05404680594801903, 0.002511417493224144, -0.049771618098020554, -0.035829707980155945, 0.021825814619660378, 0.02827996015548706, 0.04485604912042618, -0.11024080961942673, 0.017280282452702522, -0.06986621767282486, -0.0016776628326624632, 0.004600889049470425, -0.015964720398187637, -0.004694228060543537, -0.011561094783246517, -0.027535170316696167, -0.03118450753390789, 0.044370122253894806, 0.008607721887528896, 0.0026209864299744368, 0.017539676278829575, -0.020303776487708092, -0.031870439648628235, -0.02584024704992771, -0.005018170922994614, 0.07800781726837158, 0.012419872917234898, -0.07232537120580673, 0.0015779676614329219, -0.01587453857064247, 0.046151407063007355, -0.026978546753525734, -0.032699428498744965, -0.0018804915016517043, 0.015907522290945053, -0.012501749210059643, -0.041979458183050156, 0.002396548166871071, -0.010810918174684048, -0.06332021951675415, -0.03167959302663803, -0.002463178476318717, -0.04812633991241455, 0.025831256061792374, -0.0524371899664402, -0.007498112041503191, -0.05205347388982773, -0.08110786974430084, -0.04535786435008049, 0.05591924861073494, 0.012978983111679554, -0.021649563685059547, 0.03275109454989433, 0.0023072429466992617, -0.10138866305351257, -0.015353123657405376, -0.02839571423828602, -0.0033722061198204756, 0.007204373832792044, 0.001182519132271409, 0.05067387968301773, -0.019193869084119797, -0.05194881558418274, -0.007751148194074631, 0.015934333205223083, 0.030596377328038216, -0.009395039640367031, 0.016748148947954178, 0.006578993052244186, -0.038992978632450104, 0.016619684174656868, 0.06170668452978134, -0.016814934089779854, -0.016010088846087456, 0.0018848301842808723, 0.02310102805495262, 0.026698481291532516, 0.011389249935746193, -0.011298425495624542, 0.006587244104593992, 0.047756798565387726, 0.04599737003445625, -0.03853541985154152, 0.02085014060139656, -0.01500771101564169, -0.027926649898290634, -0.004901247099041939, -0.03385649621486664, 0.011631922796368599, 0.033405598253011703, 0.017525238916277885, -0.014910707250237465, -0.034338079392910004, 0.015896152704954147, -0.04974106326699257, -0.025432739406824112, -0.023697122931480408, 0.002272644080221653, 0.03586404398083687, 0.022109907120466232, -0.018936125561594963, -0.061016108840703964, 0.025843648239970207, 0.02398042567074299, -0.00228358362801373, -0.07109491527080536, -0.036302175372838974, -0.023437146097421646, -0.030661463737487793, 0.017096921801567078, 0.02221251092851162, -0.018959661945700645, 0.02622469887137413, 0.027506375685334206, -0.048369355499744415, 0.04610937088727951, -0.015476175583899021, -0.05944932624697685, -0.030423780903220177, 0.02055628038942814, 0.001042267307639122, -0.02233423851430416, 0.027981828898191452, 0.006911630742251873, 0.02055993117392063, 0.03931158408522606, 0.015480493195354939, 0.01459600031375885, 0.0015813509235158563, 0.03019801340997219, 0.0005616039852611721, -0.023800449445843697, -0.03914440795779228, 0.010721237398684025, -0.03613507002592087, -0.009900362230837345, -0.014393949881196022, 0.05819284915924072, -0.022050367668271065, -0.035901281982660294, -0.012205244041979313, 0.017470575869083405, -0.08054869621992111, -0.008322356268763542, -0.004373854957520962, 0.013363665901124477, 0.06296288967132568, -0.041587360203266144, 0.018732674419879913, -0.015021851286292076, -0.0231684111058712, 0.024177584797143936, 0.012984112836420536, -0.034023039042949677, 0.0021342842373996973, 0.014853379689157009, 0.006131296511739492, -0.013607978820800781, 0.02088494598865509, 0.03696393221616745, 0.02069542557001114, -0.021727029234170914, -0.03159678354859352, -0.006041326560080051, 0.0191220473498106, 0.05202727019786835, 0.050890084356069565, -0.011687926948070526, -0.004798719193786383, -0.017081160098314285, 0.009133425541222095, -0.01970777101814747, 0.002327817492187023, -0.01743461564183235, 0.01865020953118801, -0.02152116224169731, -0.057614464312791824, 0.06446032226085663, -0.013558109290897846, 0.0063942656852304935, 0.02954372949898243, -0.008483211509883404, -0.0007297604461200535, -0.025516420602798462, 0.045067161321640015, 0.06427272409200668, -0.06463787704706192, -0.0176809411495924, 0.0019975854083895683, -0.0360458679497242, 0.0012179904151707888, 0.017772594466805458, -0.04601830989122391, -0.04147769510746002, -0.02017798274755478, 0.035459812730550766, -0.04739813879132271, -0.03652069345116615, -0.009929059073328972, -0.006291645113378763, 0.001872866996563971, 0.02257676050066948, 0.0014799692435190082, 0.011134674772620201, -0.023216620087623596, -0.012019636109471321, 0.0340842679142952, -0.031180365011096, -0.001975973602384329, 0.0022827452048659325, -0.03500847518444061, 0.013107091188430786, -0.014867586083710194, 0.007352283224463463, 0.03020603582262993, -0.02237318642437458, 0.017596498131752014, -0.04962307959794998, 0.014543188735842705, 0.0029260956216603518, 0.03210911899805069, -0.00745322834700346, -0.025736004114151, -0.05690755322575569, -0.01077302172780037, -0.018387850373983383, 0.010492544621229172, -0.024500519037246704, 0.009755335748195648, 0.014082834124565125, 0.010080905631184578, 0.011015274561941624, 0.014806383289396763, -0.02612457051873207, -0.028927626088261604, 0.04886912554502487, -0.0393955260515213, -0.029853884130716324, -0.05202595144510269, -0.047488097101449966, -0.006436002906411886, -0.014725315384566784, 0.007743583060801029, -0.016529615968465805, 0.05075712502002716, 0.04848213866353035, 0.026821788400411606, 0.031552400439977646, -0.0010527512058615685, 0.027968263253569603, -0.03772767260670662, 0.014044245705008507, -0.0857052206993103, 0.0019226634176447988, 0.026485830545425415, 0.006674516014754772, -0.002080029807984829, -0.00826345570385456, -0.026373332366347313, 0.0006590317352674901, -0.07660158723592758, -0.03404536470770836, 0.025174254551529884, -0.01687535084784031, 0.008677282370626926, 0.0075367814861238, -0.05226161703467369, -0.004203624092042446, 0.02488858439028263, -0.03915548697113991, -0.03471062704920769, -0.033682871609926224, 0.04868284612894058, -0.018758993595838547, 0.03470483794808388, -0.004194027278572321, -0.010140875354409218, 0.07246892154216766, 0.010505260899662971, 0.01761062815785408, 0.04808264225721359, -0.012841937132179737, 0.028791241347789764, 0.04785707965493202, 0.009935744106769562, 0.005538633093237877, 0.02729685604572296, -0.018820982426404953, -0.04813745990395546, 0.02278870716691017, 0.0125580420717597, -0.01958698220551014, -0.046886660158634186, 0.06910932064056396, 0.022546328604221344, -0.038419418036937714, -0.05663033947348595, 0.027649199590086937, -0.03321264684200287, 0.010332074016332626, -0.036932382732629776, 0.0195741169154644, -0.034249067306518555, 0.05664261057972908, -0.02257418818771839, -0.0002021709515247494, 0.05564865842461586, -0.0012408369220793247, -0.0036297733895480633, -0.02718960866332054, 0.1006879135966301, 0.09306620806455612, 0.06288446485996246, -0.005803914275020361, 0.07494983822107315, -0.00479290122166276, -0.03326726704835892, 0.011642538011074066, 0.0049178521148860455, -0.012806065380573273, -0.00401925016194582, 0.0075265830382704735, 0.06551194936037064, -0.036482468247413635, 0.08718497306108475, -0.022484304383397102, -0.01845656707882881, -0.004537350032478571, -0.0015523212496191263, 0.027781203389167786, 0.06987510621547699, -0.002280185930430889, 0.04140665754675865, -0.04061639681458473, -0.03174377232789993, 0.01917882449924946, -0.018840206786990166, -0.009459737688302994, 0.034859560430049896, -0.001650382881052792, 0.012676897458732128, -0.0018690722063183784, 0.047225017100572586, 0.08517589420080185, -0.04223494976758957, 0.0007821082836017013, -0.012746131978929043, 0.007966647855937481, -0.01739506423473358, 0.019866151735186577, -0.006999751552939415, -0.02116400934755802, -0.018253691494464874, -0.04446391761302948, -0.031121056526899338, -0.050673406571149826, -0.024743419140577316, 0.0014670015079900622, -0.03214374557137489, -0.008898572064936161, 0.002305778209120035, -0.0017845069523900747, -0.026014693081378937, -0.05227385461330414, -0.029488803818821907, -0.04397648572921753, -0.06796250492334366, 0.010778685100376606, 0.0010960533982142806, 0.00299995020031929, -0.028912052512168884, 0.0018254145979881287, -0.02554650790989399, -0.013996139168739319, 0.0741250216960907, -0.049120791256427765, -0.006442365702241659, -0.0073345429264009, 0.04362853616476059, 0.03393520787358284, 0.020956644788384438, 0.04137716814875603, 0.0057467808946967125, 0.007152862846851349, -0.004842525813728571, 0.017739204689860344, 0.044914741069078445, 0.022264698520302773, -0.01234454195946455, -0.08890440315008163, 0.005447064060717821, 0.0033084002789109945, -0.046801332384347916, -0.0834580659866333, 0.01090274564921856, 0.04799968749284744, 0.010989396832883358, 0.029179008677601814, -0.0032559563405811787, -0.0200152937322855, -0.01878407411277294, 0.03111489675939083, -0.012527885846793652, -0.020621327683329582, 0.025366056710481644, -0.027085373178124428, 0.08393655717372894, 0.008384069427847862, -0.02946396917104721, -0.02973593957722187, -0.015628978610038757, 0.02361401356756687, 0.009891444817185402, -0.04253000020980835, -0.041137322783470154, -0.022137494757771492, -0.10635988414287567, -0.029790030792355537, 0.013105850666761398, -0.01611294038593769, -0.026230651885271072, 0.002436765469610691, 0.02043015882372856, -0.039174992591142654, 0.03271796554327011, -0.05879504606127739, 0.042932651937007904, -0.024573076516389847, -0.02126743458211422, -0.03753916174173355, 0.019820436835289, -0.01707165688276291, 0.01340903528034687, 0.005978504661470652, -0.07097958773374557, -0.010211874730885029, -0.00686420826241374, 0.04023842513561249, 0.01878717541694641, 0.03597057983279228, 0.007948051206767559 ]
[ -0.03399302065372467, -0.017752083018422127, -0.043353550136089325, -0.016504548490047455, 0.04560774192214012, -0.01700654998421669, -0.027642065659165382, 0.02448359876871109, 0.014962409622967243, -0.02299388498067856, 0.03250708803534508, -0.0369916595518589, 0.031821705400943756, 0.016153661534190178, 0.06991497427225113, 0.016963453963398933, -0.014843123964965343, -0.06380410492420197, -0.03043104149401188, 0.04529556259512901, -0.022777628153562546, -0.053581707179546356, -0.027076102793216705, -0.04514141380786896, 0.026241198182106018, 0.028845135122537613, 0.04117671027779579, -0.046777475625276566, -0.0165706817060709, -0.20353475213050842, 0.010900829918682575, 0.039451103657484055, 0.045030973851680756, -0.02344548888504505, 0.024272466078400612, 0.0134827746078372, 0.0692317932844162, 0.0051201204769313335, 0.020356783643364906, 0.03036775067448616, 0.017226673662662506, -0.018246809020638466, -0.02173692174255848, 0.0018647427204996347, 0.05888855829834938, 0.04153133183717728, -0.019867287948727608, -0.023567041382193565, -0.029426870867609978, -0.004335980862379074, -0.04220503941178322, -0.03836486488580704, -0.018758157268166542, 0.0219478327780962, 0.006627442315220833, 0.04437953233718872, 0.03601633384823799, 0.05294666066765785, -0.016621705144643784, 0.031141450628638268, 0.03148647025227547, 0.01558765396475792, -0.10242101550102234, 0.06982654333114624, 0.01057021226733923, 0.009806353598833084, -0.059876929968595505, -0.0172682236880064, -0.014210868626832962, 0.09434811770915985, 0.04506134241819382, -0.023915672674775124, -0.038108665496110916, 0.017226023599505424, 0.007288316264748573, 0.023815318942070007, -0.012289567850530148, 0.03086933307349682, 0.022008953616023064, -0.04675350710749626, -0.022167488932609558, 0.018207507207989693, -0.03523761406540871, -0.027644358575344086, -0.05575747415423393, 0.026882890611886978, -0.02088354341685772, 0.027724022045731544, -0.030337965115904808, 0.05015003681182861, 0.03619382902979851, 0.04414091631770134, 0.053144633769989014, -0.01133393868803978, -0.08118732273578644, -0.04900767281651497, 0.007735487073659897, 0.018922187387943268, 0.004737474489957094, 0.41295215487480164, 0.002681802725419402, -0.02302313596010208, 0.09024491161108017, 0.05899442359805107, -0.05861726775765419, -0.008630454540252686, 0.006025019567459822, -0.07439422607421875, 0.03070751577615738, -0.002659064484760165, 0.012475669384002686, -0.04499848932027817, 0.032814763486385345, -0.07462003827095032, 0.021562108770012856, -0.005084242206066847, 0.04141373559832573, 0.03528369590640068, 0.0038433754816651344, -0.01901005022227764, -0.03599394112825394, 0.04072285443544388, 0.033374156802892685, -0.010580359026789665, 0.014929463155567646, -0.011708089150488377, 0.000590225332416594, 0.039871394634246826, 0.024122677743434906, 0.005012337118387222, 0.043173182755708694, 0.015321286395192146, -0.07301359623670578, 0.02662213146686554, -0.035845693200826645, -0.011528048664331436, 0.03565338999032974, -0.024635855108499527, 0.03549566492438316, 0.04135273024439812, 0.003309547435492277, 0.005697024520486593, 0.04138707369565964, 0.006720091216266155, -0.030547020956873894, 0.13543012738227844, 0.01809978112578392, -0.05846799910068512, -0.012904518283903599, -0.0324433334171772, 0.007749433629214764, 0.04193250462412834, 0.0136864697560668, -0.07133682072162628, -0.008758854120969772, 0.027869150042533875, 0.07704202830791473, -0.01728774979710579, -0.09811036288738251, 0.013504555448889732, -0.005998988635838032, 0.011734917759895325, -0.05360310897231102, 0.07199789583683014, 0.05492018535733223, -0.13586124777793884, -0.005173441022634506, 0.015223105438053608, 0.03302104398608208, -0.09024686366319656, 0.04632943868637085, 0.029493583366274834, -0.04384717345237732, 0.0031675102654844522, 0.05067503824830055, -0.02869304083287716, -0.03428736329078674, -0.019019819796085358, 0.027187004685401917, -0.005140832159668207, -0.00681863771751523, 0.010315232910215855, -0.030949000269174576, 0.014815699309110641, -0.09692660719156265, -0.06757901608943939, -0.07821421325206757, 0.03640413656830788, -0.05016610398888588, -0.018713610246777534, -0.01815897226333618, 0.01824813522398472, -0.08437769114971161, 0.10078824311494827, -0.06891950964927673, -0.03696077689528465, 0.01745533011853695, 0.006620849948376417, -0.05698363110423088, -0.023823708295822144, -0.01767958700656891, -0.00655290437862277, -0.0468057245016098, 0.03649540990591049, -0.07828836143016815, 0.030788356438279152, 0.06171857938170433, -0.02803945541381836, 0.08094792068004608, 0.025320516899228096, -0.025758396834135056, -0.013938204385340214, -0.032575491815805435, 0.0030505734030157328, -0.003462499473243952, -0.019068824127316475, 0.013385605067014694, -0.010172108188271523, 0.02585594169795513, 0.04468768835067749, -0.0001631893974263221, 0.005504917819052935, -0.02996085397899151, -0.3552391827106476, -0.06224885955452919, -0.03142029792070389, 0.018530305474996567, 0.03173302486538887, -0.026423806324601173, 0.02571399323642254, -0.0007935701287351549, -0.002184906741604209, 0.03682590276002884, 0.046966537833213806, 0.00894085131585598, -0.016637960448861122, -0.10285335034132004, -0.005362324882298708, 0.03742535039782524, -0.0016071652062237263, 0.0041865757666528225, -0.05113520473241806, -0.030890343710780144, 0.002478846814483404, -0.010127740912139416, -0.0016190854366868734, -0.036744050681591034, 0.011746224015951157, -0.015925811603665352, 0.10121720284223557, -0.012605076655745506, 0.024871107190847397, -0.014050330966711044, 0.03858980908989906, -0.02968781813979149, -0.027857184410095215, -0.06464459002017975, 0.03315912187099457, 0.005343578290194273, 0.00461017619818449, 0.0032454475294798613, -0.01890467293560505, -0.03664257004857063, -0.06135076284408569, -0.019610924646258354, -0.03602519631385803, -0.03529181703925133, -0.07874131947755814, 0.037877947092056274, -0.016825584694743156, -0.016882335767149925, -0.014392250217497349, 0.07585768401622772, -0.010632965713739395, 0.023730283603072166, 0.02174379862844944, 0.02405920810997486, -0.00425652414560318, -0.04145386815071106, -0.09034456312656403, -0.009025371633470058, 0.011021653190255165, 0.04241391643881798, 0.005019971635192633, 0.0407506600022316, 0.02004971168935299, -0.07250911742448807, 0.028739966452121735, 0.015435543842613697, -0.03659138083457947, 0.017688918858766556, 0.01100374199450016, -0.03065301850438118, -0.0037981446366757154, 0.08799458295106888, -0.008585333824157715, 0.019891127943992615, 0.04196077585220337, 0.0353541299700737, -0.022941866889595985, 0.02040783502161503, 0.040181782096624374, 0.01562538370490074, 0.033741164952516556, -0.07449445873498917, 0.061831340193748474, -0.007163144648075104, 0.0022566409315913916, 0.0517955906689167, 0.017047734931111336, -0.055192891508340836, 0.06752284616231918, 0.04119209945201874, -0.006773475557565689, 0.0068053253926336765, -0.027430949732661247, -0.06663787364959717, 0.06012487784028053, -0.019198153167963028, -0.22896115481853485, 0.04137570783495903, 0.02956639602780342, 0.05220029130578041, -0.009358049370348454, 0.026259632781147957, 0.0214475616812706, -0.01100543886423111, 0.03671622276306152, -0.005378509871661663, 0.03967692330479622, 0.0812850072979927, -0.00017103990830946714, 0.007444965653121471, 0.0031400709412992, -0.0007933079032227397, 0.014811533503234386, 0.00922471284866333, 0.0027465568855404854, 0.0021144631318747997, 0.05107893794775009, -0.025417085736989975, 0.15852124989032745, 0.04306882247328758, 0.0308771301060915, 0.038903217762708664, -0.011698376387357712, 0.011420493945479393, 0.030606478452682495, -0.018531067296862602, -0.026835765689611435, 0.021220402792096138, -0.013423150405287743, 0.013669732958078384, 0.018556801602244377, -0.03508523106575012, -0.021400660276412964, 0.025125226005911827, 0.039084166288375854, -0.019953439012169838, 0.014488128945231438, -0.00782001856714487, -0.04614913463592529, 0.03622901067137718, 0.08967351168394089, 0.010591123253107071, -0.008921924978494644, -0.022164465859532356, -0.06412624567747116, -0.02674403041601181, -0.021423010155558586, -0.07714781910181046, -0.023170780390501022, -0.02792014367878437, 0.001935638953000307, 0.07308945059776306, 0.02091498114168644, -0.019030651077628136, 0.03319635987281799, -0.008220987394452095, -0.01850106567144394, -0.03722265362739563, 0.07126247882843018, 0.0039633335545659065, 0.015926150605082512 ]
[ 0.005432171281427145, 0.03986085206270218, -0.013426150195300579, 0.04810905084013939, -0.01906486228108406, -0.006710156798362732, -0.018036525696516037, -0.0029841833747923374, -0.04741530120372772, 0.009261811152100563, -0.013981493189930916, 0.02403177134692669, 0.04500655457377434, 0.014454339630901814, 0.005666399374604225, 0.054477304220199585, 0.00044318949221633375, -0.0024800768587738276, 0.035612668842077255, -0.013782916590571404, -0.026695288717746735, -0.037023723125457764, 0.01887183077633381, -0.03781995549798012, 0.02111370489001274, 0.03099250979721546, -0.019373351708054543, -0.00860649161040783, 0.018817566335201263, -0.10077852755784988, -0.0037793449591845274, -0.03696770593523979, -0.0490216426551342, 0.016420790925621986, -0.006920115556567907, -0.00747846532613039, 0.02710280939936638, 0.06711360812187195, 0.033246640115976334, 0.04528293386101723, 0.016653502359986305, -0.015309551730751991, -0.007003612816333771, 0.020633433014154434, -0.013108628802001476, -0.010443668812513351, -0.0429995059967041, -0.02860502526164055, 0.03570754453539848, -0.039310798048973083, -0.043102577328681946, -0.05114069581031799, -0.02000049315392971, -0.008897271938621998, 0.007897230796515942, 0.0013181590475142002, -0.006453348323702812, -0.00840949546545744, 0.030149413272738457, 0.02268829196691513, 0.03903099149465561, -0.010944237001240253, -0.06444890797138214, -0.02535684034228325, -0.0010665723821148276, 0.0176546573638916, -0.012552175670862198, 0.027444031089544296, -0.040510062128305435, 0.013658642768859863, -0.02703741006553173, 0.039219483733177185, -0.07364978641271591, -0.023710250854492188, -0.003817626042291522, 0.01730356365442276, 0.012177247554063797, -0.005212790332734585, 0.017497558146715164, -0.0284655150026083, 0.0029157446697354317, 0.024063855409622192, -0.052894383668899536, 0.0273270383477211, -0.011205093003809452, 0.009161457419395447, -0.0019978878553956747, -0.034892015159130096, 0.0013906694948673248, -0.012978178448975086, -0.029799962416291237, 0.03094308078289032, -0.007900837808847427, -0.006018724292516708, -0.0910031720995903, -0.016309740021824837, 0.007619062904268503, -0.00709547521546483, 0.005225896369665861, 0.8085506558418274, -0.004450387321412563, -0.011852494440972805, 0.010198047384619713, 0.015236751176416874, -0.011926151812076569, 0.04249776527285576, 0.00026115626678802073, 0.03004572167992592, -0.005310186184942722, -0.005211363080888987, -0.021991923451423645, 0.04285845160484314, -0.008169649168848991, 0.024259133264422417, 0.007554256357252598, 0.004777822177857161, 0.030159562826156616, 0.025890883058309555, -0.007124422118067741, 0.012401671148836613, 0.00632611196488142, 0.039789412170648575, 0.013618349097669125, -0.005998445209115744, -0.008532772772014141, -0.21356378495693207, 0.0024680562783032656, -6.449096289817084e-33, 0.05714163929224014, 0.023778609931468964, 0.052588917315006256, 0.012210000306367874, 0.0005040988326072693, 0.024100705981254578, -0.04875970631837845, -0.018815407529473305, -0.023756597191095352, -0.00947534292936325, -0.01972177065908909, 0.016770342364907265, 0.031000575050711632, 0.01008832361549139, 0.01367854978889227, -0.014386371709406376, 0.04258037358522415, 0.019569844007492065, -0.012423533946275711, -0.005851399153470993, 0.015926111489534378, 0.038221050053834915, -0.017268117517232895, 0.0742049589753151, 0.0056484718807041645, 0.022179486230015755, 0.0046053072437644005, 0.029437214136123657, -0.00657710712403059, -0.05002486705780029, -0.05525200814008713, 0.03901182860136032, 0.013519514352083206, -0.023769548162817955, -0.04202456399798393, -0.03676198795437813, -0.026269987225532532, -0.004592324607074261, -0.015326404944062233, -0.0676589384675026, -0.023671086877584457, 0.036787696182727814, 0.011940710246562958, -0.045870453119277954, -0.04057639092206955, 0.0052046701312065125, 0.007480706553906202, -0.0008902346016839147, -0.021572550758719444, 0.01808183081448078, 0.0006281073438003659, -0.0015537424478679895, -0.029879622161388397, 0.07703110575675964, -0.03071446903049946, -0.001993226120248437, 0.01960030011832714, 0.015686828643083572, 0.018103843554854393, 0.011534417979419231, 0.04862282797694206, -0.007382064592093229, -0.0033766578417271376, 0.04374625161290169, 0.02715279534459114, 0.02625863626599312, -0.0014917367370799184, -0.040360353887081146, 0.02435976266860962, 0.021914295852184296, -0.06029539927840233, 0.05934345722198486, -0.007542741950601339, -0.0377713181078434, 0.017175639048218727, -0.03940939903259277, -0.039912816137075424, 0.0005441387766040862, -0.01027936115860939, 0.03810245543718338, -0.053216271102428436, -0.032005324959754944, 0.01686806231737137, -0.018782436847686768, 0.0006441912846639752, -0.04517059400677681, 0.025338562205433846, 0.020017458125948906, -0.03562704473733902, 0.004817537032067776, 0.026476193219423294, 0.02532329224050045, -0.005419297609478235, -0.010162407532334328, -0.006336914375424385, 6.476375105595854e-33, 0.006770344916731119, 0.02084418386220932, 0.01898709125816822, -0.009868665598332882, 0.052096255123615265, 0.012654089368879795, 0.030930232256650925, 0.005930375307798386, -0.053561579436063766, 0.05254312604665756, 0.009158197790384293, -0.04348568618297577, -0.010518389753997326, 0.022943679243326187, 0.06310383230447769, 0.024717677384614944, 0.007793918251991272, -0.052797526121139526, -0.023677438497543335, 0.0014133596559986472, 0.0014776196330785751, 0.03215102478861809, -0.015836404636502266, 0.005790744908154011, 0.08705811202526093, 0.03990007936954498, 0.010672393254935741, 0.010367302224040031, -0.018845880404114723, 0.02268138900399208, -0.019626248627901077, -0.026314683258533478, -0.015264938585460186, -0.01979197934269905, 0.006696172058582306, 0.03806934878230095, -0.014498797245323658, 0.0036182396579533815, 0.021195095032453537, 0.0003060993039980531, -0.00989967118948698, 0.027010228484869003, -0.031192079186439514, 0.06496478617191315, -0.009755241684615612, 0.022005019709467888, 0.004644275177270174, -0.008259973488748074, -0.03798680752515793, 0.003109999466687441, 0.015118109993636608, 0.010611583478748798, 0.007296197582036257, 0.01467718556523323, 0.006074171978980303, -0.0630113035440445, 0.0005045788129791617, 0.0528484508395195, -0.017077438533306122, -0.021738536655902863, -0.01059776172041893, -0.016546832397580147, -0.003952563274651766, 0.04974449798464775, -0.03960108757019043, -0.015029659494757652, -0.01374084409326315, -0.004072356037795544, 0.007741045672446489, -0.0018683450762182474, -0.0060543157160282135, 0.0124929528683424, -0.006962823681533337, 0.015293938107788563, 0.04012064263224602, -0.0332554467022419, -0.036569900810718536, 0.0062752761878073215, -0.04985213652253151, 0.021092886105179787, -0.004507214296609163, 0.0034374059177935123, 0.022328222170472145, 0.006211993284523487, -0.010333745740354061, 0.0029026633128523827, -0.01644393801689148, 0.03222227841615677, -0.0025160545483231544, 0.0029028938151896, 0.017793571576476097, -0.03811115026473999, -0.029742619022727013, 0.05789239704608917, -0.006151991430670023, -1.221586654054363e-8, -0.027322843670845032, 0.022813085466623306, 0.0030569785740226507, -0.012704147025942802, 0.006374375429004431, 0.024487845599651337, 0.006464806850999594, 0.034804508090019226, -0.021015122532844543, 0.017478054389357567, 0.025081856176257133, -0.019292069599032402, 0.0162332896143198, 0.008488173596560955, 0.012187590822577477, -0.03673596680164337, 0.008406809531152248, -0.019672241061925888, 0.02879646047949791, 0.0035777147859334946, -0.0017755168955773115, 0.015588919632136822, -0.049333252012729645, 0.026177506893873215, 0.017133809626102448, -0.005903325509279966, 0.010451631620526314, -0.08733757585287094, -0.01497557945549488, -0.0072516947984695435, -0.0004585275601129979, -0.022664986550807953, -0.026931682601571083, 0.0015174882719293237, -0.027449872344732285, -0.0047486270777881145, 0.011576205492019653, 0.016284296289086342, 0.008402361534535885, 0.026621829718351364, -0.016954675316810608, 0.014191262423992157, -0.045281026512384415, -0.014248985797166824, -0.03144684061408043, 0.011613954789936543, -0.024883318692445755, -0.02106378600001335, 0.017787329852581024, -0.043533921241760254, -0.01864461414515972, 0.01761101745069027, -0.0008301224443130195, 0.007979978807270527, 0.00855997484177351, 0.012380653992295265, -0.020113179460167885, 0.0008725450024940073, -0.025592798367142677, -0.04150582104921341, 0.01601867750287056, -0.012076808139681816, -0.025793377310037613, -0.03035484254360199 ]
neo4j-embracing-the-sub-graph
https://markhneedham.com/blog/2012/07/21/neo4j-embracing-the-sub-graph
false
2012-07-30 22:28:38
London Bus Stops API: Mapping northing/easting values to lat/long
[ "software-development" ]
[ "Software Development" ]
I started playing around with the http://www.tfl.gov.uk/businessandpartners/syndication/16493.aspx#17463[TFL Bus stop location and routes API] and one of the annoying things about the data is that it uses http://en.wikipedia.org/wiki/Easting_and_northing[easting/northing] values to describe the location of bus stops rather than lat/longs. The https://raw.github.com/mneedham/london-buses/master/data/stops.csv[first few lines of the CSV file] look like this: [source,text] ---- 1000,91532,490000266G,WESTMINSTER STN <> / PARLIAMENT SQUARE,530171,179738,177,0K08,0 10001,72689,490013793E,TREVOR CLOSE,515781,174783,78,NB16,0 10002,48461,490000108F,HIGHBURY CORNER,531614,184603,5,C902,0 ---- For each of the stops I wanted to convert from the easting/northing value to the equivalent lat/long value but I couldn't find a simple way of doing it in code although I did http://www.uk-postcodes.com/eastingnorthing.php?easting=530171&northing=179738[come across an API that would do it for me]. I wrote the following script to save a new CSV file with all the London bus stops and their lat/long location: [source,ruby] ---- require 'rubygems' require 'csv' require 'open-uri' require 'json' data_dir = File.expand_path('data') + '/' file_name = data_dir + "stops.csv" stops = CSV.read(file_name).drop(1) out = CSV.open(data_dir + "stops_with_lat_longs.csv","w") stops.each do |stop| code = stop[1] easting = stop[4] northing = stop[5] url = "http://www.uk-postcodes.com/eastingnorthing.php?easting=#{easting}&northing=#{northing}" location = JSON.parse(open(url).read) puts "Processing #{stop[3]}: #{location['lat']}, #{location['lng']}" out << [code, location['lat'],location['lng']] end out.close ---- I've uploaded the https://github.com/mneedham/london-buses/blob/master/data/stops_with_lat_longs.csv[file with mapping from bus stop code to lat/long] to github as well. http://blog.poggs.com/2010/09/converting-osgb36-eastingsnorthings-to-wgs84-longitudelatitude-in-ruby/[Peter Hicks has a blog post showing another way of doing this using just Ruby code] but I couldn't get the 'proj4' gem to install and I didn't fancy shaving that yak when I had another solution which worked.
null
null
[ 0.019365044310688972, -0.04685111716389656, -0.01791043020784855, 0.02863282524049282, 0.07474710792303085, 0.018126416951417923, 0.001066411379724741, 0.06952787935733795, 0.019043361768126488, 0.0031665232963860035, -0.03539981693029404, -0.048189956694841385, -0.08598599582910538, 0.023834751918911934, -0.01781713217496872, 0.053051162511110306, 0.06099984794855118, -0.009653856977820396, 0.04721168801188469, 0.00805637612938881, 0.04100092127919197, 0.09323304146528244, -0.015128037892282009, 0.027431927621364594, 0.0032369631808251143, -0.02055060863494873, -0.007112950086593628, 0.01091129332780838, -0.05183985084295273, 0.00602787546813488, 0.04585205391049385, 0.00897865928709507, 0.004186042118817568, 0.028958043083548546, 0.028409229591488838, -0.02016860619187355, 0.0024082756135612726, -0.014276490546762943, -0.021554362028837204, 0.010979405604302883, -0.058898888528347015, 0.02347699925303459, -0.016775498166680336, 0.0002773427404463291, -0.05759438872337341, 0.004932793322950602, -0.02252042479813099, 0.008096943609416485, -0.030951576307415962, -0.029584653675556183, -0.039636556059122086, 0.041295040398836136, -0.03536449372768402, -0.03736882284283638, 0.00027320519438944757, 0.055460795760154724, -0.00038305576890707016, -0.09227890521287918, 0.04759083688259125, -0.030570264905691147, 0.018155915662646294, -0.023377683013677597, 0.01904222182929516, 0.03581264242529869, 0.045291468501091, -0.050506800413131714, -0.033476393669843674, 0.062130413949489594, -0.0375681072473526, -0.03936956822872162, -0.020811839029192924, 0.032005228102207184, -0.025989634916186333, 0.017715083435177803, -0.003529742592945695, -0.05004333332180977, 0.006849436555057764, 0.05474990978837013, -0.005652491003274918, 0.05916246399283409, -0.038567766547203064, 0.018163738772273064, 0.004410487599670887, 0.03223118185997009, 0.019650226458907127, -0.050448160618543625, -0.06742040067911148, -0.01514708437025547, -0.04332509636878967, 0.04819082096219063, 0.019175935536623, -0.017222335562109947, 0.0033875058870762587, 0.028458140790462494, -0.003669871250167489, -0.0369281992316246, -0.01642630249261856, 0.018693935126066208, -0.010359879583120346, -0.04722777009010315, -0.053797557950019836, -0.017819145694375038, 0.0297157671302557, 0.029459401965141296, -0.06411585956811905, -0.01605679839849472, -0.01765945740044117, -0.0009393284562975168, 0.048281002789735794, -0.0027027130126953125, -0.02194884978234768, -0.02189154177904129, -0.03755186125636101, -0.003501978237181902, -0.06359152495861053, 0.039524443447589874, 0.030394893139600754, -0.051716845482587814, -0.03751969337463379, 0.004379766993224621, 0.025941617786884308, 0.047596972435712814, -0.0016718077240511775, 0.06710101664066315, 0.01994471065700054, 0.03522643446922302, -0.01888832449913025, 0.04737113043665886, -0.006910828873515129, -0.0503205806016922, -0.027765750885009766, 0.0778597965836525, -0.027603501453995705, -0.00000970000201050425, -0.010314985178411007, -0.009223848581314087, -0.031252697110176086, 0.008265949785709381, 0.07166972756385803, 0.019565753638744354, 0.021426478400826454, -0.010235113091766834, 0.014257077127695084, 0.00008844215335557237, 0.037975601851940155, 0.0359627939760685, -0.03454092890024185, -0.03704005479812622, -0.040338512510061264, 0.013643735088407993, 0.017955811694264412, 0.010776731185615063, 0.07676966488361359, -0.027105651795864105, 0.008805707097053528, 0.07596921175718307, 0.03794447332620621, 0.025999369099736214, -0.017531979829072952, 0.029341990128159523, 0.04681484028697014, 0.05662521347403526, 0.013480053283274174, 0.035996705293655396, -0.03236626833677292, -0.02961594983935356, 0.021242612972855568, 0.04744846001267433, -0.007304679602384567, 0.017758335918188095, -0.029285628348588943, -0.059924859553575516, 0.08137218654155731, -0.03547457978129387, -0.007058944087475538, 0.02111261896789074, 0.07297554612159729, 0.05095469951629639, 0.020839296281337738, -0.0185212641954422, -0.07753194868564606, 0.04248300939798355, 0.007190967909991741, 0.04784570261836052, 0.02866929955780506, -0.009350595995783806, 0.07747142016887665, 0.04989591985940933, 0.002588713075965643, 0.026168782263994217, -0.039731767028570175, -0.07308633625507355, -0.05356905236840248, -0.007257452700287104, 0.02403256855905056, -0.020692626014351845, 0.00494831008836627, 0.054691918194293976, 0.012765293940901756, 0.05977983400225639, -0.011082933284342289, -0.020995672792196274, 0.048008065670728683, -0.044358476996421814, -0.028972582891583443, 0.039350636303424835, 0.03144477307796478, 0.02089706063270569, -0.015990743413567543, 0.034830741584300995, -0.038761962205171585, 0.002874816069379449, 0.020714739337563515, -0.007909093983471394, 0.011916600167751312, 0.004642927087843418, 0.04970933124423027, -0.01228420902043581, 0.04348750412464142, -0.059893347322940826, 0.059298548847436905, 0.026485027745366096, -0.02002193033695221, -0.04558693617582321, -0.017630232498049736, 0.11257445812225342, 0.05166582390666008, 0.011609314940869808, -0.03389323502779007, 0.004527244716882706, 0.0037046426441520452, -0.02651270478963852, -0.009957063011825085, -0.02471303753554821, 0.0017632998060435057, -0.004005291499197483, -0.03219013661146164, -0.02420593425631523, 0.014823611825704575, -0.03615318611264229, -0.013220535591244698, 0.06309100985527039, 0.017001939937472343, 0.048518065363168716, -0.011141125112771988, -0.025624390691518784, 0.0003667399869300425, -0.04215706139802933, -0.04490387439727783, -0.013464003801345825, 0.015916436910629272, -0.005742617417126894, 0.02407556027173996, -0.01725180074572563, -0.01785677671432495, -0.009080469608306885, -0.045136064291000366, 0.01919233798980713, 0.05630718544125557, 0.04925702139735222, -0.012071485631167889, 0.06953885406255722, -0.03037005104124546, 0.02263602614402771, -0.014427796937525272, -0.008113725110888481, -0.03440246358513832, -0.03442392870783806, 0.0035098663065582514, 0.00463824113830924, 0.028745021671056747, 0.012829546816647053, 0.014757898636162281, 0.008948054164648056, 0.019589561969041824, 0.0025384409818798304, 0.04617460444569588, 0.008682762272655964, -0.0008818743517622352, -0.02830539643764496, -0.018907347694039345, 0.028415273874998093, -0.030995843932032585, -0.036629125475883484, 0.021132545545697212, -0.07317732274532318, 0.04001331329345703, -0.03274209424853325, -0.04214762523770332, -0.03791646659374237, 0.0019253958016633987, 0.018091635778546333, 0.018981341272592545, 0.01234981045126915, 0.03860464692115784, 0.02487911470234394, 0.015533707104623318, 0.025623830035328865, 0.01880679465830326, 0.04394789785146713, 0.012001503258943558, 0.02687893435359001, 0.05213816836476326, -0.01736147329211235, -0.004441033583134413, -0.04816431552171707, 0.0021115217823535204, -0.0032134593930095434, -0.27853405475616455, 0.046680860221385956, -0.021818215027451515, -0.04887695610523224, 0.04733918234705925, -0.025576047599315643, -0.002239897847175598, -0.03161097317934036, -0.020673569291830063, 0.01268864143639803, -0.031039563938975334, -0.05065454542636871, -0.02490144409239292, 0.026065798476338387, 0.0001456050667911768, 0.022373786196112633, -0.01586410403251648, -0.05788111686706543, 0.014030097983777523, 0.02977689541876316, 0.00004868955147685483, -0.05760515481233597, -0.0005075406515970826, 0.07335863262414932, 0.025932416319847107, 0.09370201081037521, -0.055105991661548615, 0.03606780618429184, -0.045002780854701996, -0.017725955694913864, 0.046267710626125336, -0.03457430377602577, 0.011215738952159882, -0.02836480177938938, -0.021284004673361778, -0.028438089415431023, 0.038539107888936996, 0.015806162729859352, 0.0005630952073261142, -0.00426688464358449, -0.056173089891672134, -0.021040065214037895, 0.007056884467601776, -0.007087969221174717, 0.08840735256671906, 0.0029015890322625637, -0.06552053987979889, 0.007426812779158354, -0.03866209462285042, 0.05137060210108757, -0.007125571370124817, -0.011485544964671135, -0.023389341309666634, 0.04499128833413124, -0.02204745262861252, -0.009211620315909386, -0.014138502068817616, -0.009044848382472992, -0.04109956696629524, -0.03988583758473396, 0.01785138249397278, -0.03933326154947281, -0.035993076860904694, -0.05345296114683151, -0.021628012880682945, -0.05870272219181061, -0.05810714513063431, 0.007572906091809273, 0.05577016994357109, 0.02320265769958496, -0.04507127404212952, -0.008008194155991077, 0.007347442209720612, -0.09241384267807007, -0.00063501758268103, -0.022059647366404533, -0.04479428753256798, 0.03575574979186058, 0.012720595113933086, 0.03605114296078682, -0.05564291775226593, -0.05523040145635605, 0.040948402136564255, 0.010410317219793797, 0.012230648659169674, -0.04016768932342529, 0.019848933443427086, 0.013093429617583752, -0.012693538330495358, -0.01570425182580948, 0.06123155355453491, -0.04331117868423462, -0.032676659524440765, -0.0029797302559018135, -0.006816928740590811, 0.022968715056777, -0.0034658024087548256, 0.006137588527053595, 0.00904686190187931, 0.03851940855383873, 0.0084370793774724, -0.04139082506299019, -0.009743671864271164, -0.04230375587940216, 0.004555342253297567, -0.020010890439152718, -0.04068074747920036, 0.03160680830478668, 0.0005165908369235694, 0.022869495674967766, 0.02969503216445446, -0.035079214721918106, 0.006495185196399689, -0.058531831949949265, -0.011881470680236816, -0.0175750944763422, 0.029801437631249428, 0.017896708101034164, 0.040372371673583984, -0.031411848962306976, -0.032412074506282806, 0.009192489087581635, 0.032320279628038406, 0.007982911542057991, -0.056576114147901535, -0.01381290890276432, 0.0006315982318483293, 0.01837388053536415, 0.010514537803828716, 0.014369687996804714, -0.014128251932561398, 0.01702727936208248, 0.015590935945510864, -0.05486432835459709, -0.01784004457294941, -0.025755826383829117, -0.049974989145994186, -0.042923297733068466, 0.017324218526482582, 0.05399145185947418, -0.011509513482451439, 0.0001973695179913193, -0.003131754696369171, 0.028896870091557503, 0.031666819006204605, 0.004116942640393972, 0.02389870211482048, -0.0050828829407691956, 0.019002990797162056, -0.0032886252738535404, -0.015238692052662373, -0.042776498943567276, -0.016903376206755638, -0.020251696929335594, -0.01103593036532402, -0.00723687931895256, 0.032236382365226746, -0.006467563100159168, -0.034679561853408813, -0.03249792009592056, 0.029725586995482445, -0.059310246258974075, -0.01679433137178421, 0.009063792414963245, -0.0020491937175393105, 0.04628611356019974, 0.028282618150115013, 0.026577984914183617, 0.02698293887078762, 0.010944288223981857, 0.011611160822212696, 0.018358219414949417, -0.0253895353525877, 0.005771466996520758, -0.03000744991004467, -0.008088195696473122, -0.0037587760016322136, 0.007385666482150555, 0.02104918658733368, 0.0072151063941419125, -0.027248280122876167, -0.011133676394820213, 0.020516633987426758, 0.025928331539034843, 0.042659204453229904, 0.03516750410199165, -0.038598645478487015, 0.012411268427968025, 0.004256319720298052, -0.04769662022590637, -0.025201499462127686, 0.013350422494113445, -0.03990501910448074, 0.016696035861968994, -0.017926523461937904, -0.07511749863624573, 0.025296885520219803, 0.016087422147393227, -0.0014382080407813191, 0.033329546451568604, -0.01634974405169487, -0.018847594037652016, -0.007570501416921616, -0.0016060764901340008, 0.04987687990069389, -0.03739139065146446, 0.024805769324302673, 0.005608630366623402, 0.008891713805496693, 0.004288373049348593, 0.006360815837979317, -0.0564032606780529, -0.011209296062588692, -0.016650965437293053, 0.018815649673342705, -0.04614540562033653, -0.048519913107156754, -0.04578912630677223, 0.004949473775923252, -0.03376101329922676, -0.006120020989328623, -0.0101679852232337, -0.010424057953059673, -0.02504516951739788, 0.01284385658800602, 0.031729523092508316, -0.009580995887517929, -0.054078564047813416, 0.03930651396512985, -0.008993989787995815, -0.02601178176701069, -0.03570472449064255, 0.033200982958078384, 0.021894540637731552, -0.018438568338751793, 0.008818220347166061, -0.03833962231874466, -0.02501562610268593, -0.018259713426232338, 0.07825618237257004, -0.01331275049597025, -0.016589494422078133, -0.016197994351387024, 0.01418677344918251, -0.020656289532780647, 0.021729091182351112, -0.005100666545331478, -0.00762667553499341, 0.021253511309623718, 0.026347653940320015, 0.023431355133652687, -0.009279915131628513, 0.0003357548557687551, -0.05101417377591133, 0.05019185319542885, -0.06914669275283813, -0.033702727407217026, -0.014528199099004269, -0.018614795058965683, 0.030904177576303482, 0.007559989579021931, 0.019697008654475212, -0.046252716332674026, 0.04073150455951691, 0.025624750182032585, 0.04186607524752617, 0.05987775698304176, -0.011690775863826275, 0.018388964235782623, -0.047438301146030426, -0.015225951559841633, -0.10891149193048477, 0.04400229826569557, 0.026088332757353783, -0.00977749191224575, -0.04908342659473419, 0.023212281987071037, -0.04861174523830414, 0.04147212952375412, -0.060645055025815964, -0.03729977086186409, 0.07145844399929047, -0.009482010267674923, 0.0003232654416933656, 0.007756188977509737, -0.04332425445318222, 0.030532781034708023, 0.052462708204984665, -0.055179987102746964, -0.000724207260645926, -0.040131039917469025, 0.04206010326743126, -0.017605064436793327, 0.038141924887895584, -0.03674791753292084, -0.025184396654367447, 0.03896183520555496, 0.016128869727253914, 0.014402392320334911, 0.021801156923174858, -0.030803365632891655, 0.02156589925289154, 0.0034816614352166653, -0.02440161257982254, 0.01719363033771515, 0.028723986819386482, 0.009518062695860863, -0.03405552729964256, 0.04450495168566704, -0.004577067214995623, 0.017577091231942177, -0.029269753023982048, 0.08714598417282104, 0.026397574692964554, -0.03139908239245415, -0.050423383712768555, 0.029820770025253296, -0.033499013632535934, -0.031386516988277435, -0.01053628884255886, 0.0003178967162966728, -0.0167660191655159, 0.054743848741054535, -0.0003544666396919638, 0.01948470063507557, 0.06000784412026405, -0.007478409446775913, -0.018413756042718887, 0.014108932577073574, 0.07863131910562515, 0.08603175729513168, 0.03176812827587128, -0.008652739226818085, 0.056866806000471115, 0.00047002898645587265, -0.04935521259903908, 0.01671893335878849, -0.03296172246336937, 0.02644970826804638, -0.001162168337032199, -0.04682466387748718, 0.06806983053684235, -0.025287173688411713, 0.06022510677576065, -0.02556643635034561, -0.020037587732076645, 0.006605385337024927, 0.017967447638511658, 0.020294010639190674, 0.03369709104299545, 0.009532873518764973, 0.048404525965452194, -0.005068965721875429, -0.03648834303021431, 0.054850880056619644, 0.02026953175663948, -0.05092217028141022, 0.02240806072950363, -0.014973967336118221, -0.001457243342883885, 0.0008117641555145383, 0.06884575635194778, 0.07815109193325043, -0.03377363830804825, -0.02024524286389351, -0.009974697604775429, 0.0233511570841074, -0.03708697110414505, 0.022021017968654633, 0.0070535242557525635, -0.019078174605965614, -0.010087307542562485, -0.045490115880966187, -0.020981596782803535, -0.02058255486190319, -0.026059679687023163, -0.00433227838948369, -0.01053199265152216, 0.025983421131968498, 0.022577691823244095, 0.0018967267824336886, -0.04476429149508476, -0.03819238767027855, -0.08149760961532593, -0.028598060831427574, -0.07488460093736649, -0.017437420785427094, 0.006880377884954214, -0.02066676691174507, -0.034616466611623764, -0.035376712679862976, -0.02126397006213665, -0.013482533395290375, 0.018879808485507965, -0.05286827310919762, -0.03138408437371254, 0.015768878161907196, 0.005028046201914549, 0.008005280047655106, 0.03465288132429123, 0.05186028406023979, 0.011082242242991924, -0.01979435235261917, -0.03000117465853691, 0.0016830617096275091, 0.07667266577482224, 0.029288431629538536, 0.010817975737154484, -0.07350243628025055, 0.018300388008356094, 0.00528087979182601, 0.027296317741274834, -0.0792304053902626, 0.001021343283355236, 0.01764584146440029, 0.017155496403574944, 0.03704870119690895, -0.01211514137685299, -0.007992289960384369, 0.003682551672682166, -0.011497828178107738, 0.004549737088382244, -0.03419652208685875, 0.033488769084215164, -0.014091438613831997, 0.08274061232805252, 0.037066325545310974, 0.009684672579169273, -0.05248718708753586, -0.008755356073379517, 0.026624085381627083, 0.0025009657256305218, -0.06467264145612717, -0.06608191877603531, -0.04476647824048996, -0.0671965628862381, -0.0348028801381588, 0.009799373336136341, -0.027390241622924805, -0.022347481921315193, 0.02964026667177677, 0.03831084817647934, -0.058844685554504395, 0.014486770145595074, -0.022119682282209396, 0.0032003417145460844, -0.007792431861162186, -0.02746760845184326, -0.02374906651675701, 0.08126391470432281, 0.03499561548233032, 0.011785008944571018, 0.004417039919644594, -0.036257121711969376, 0.04761387035250664, -0.02454068697988987, 0.02168758027255535, 0.049248918890953064, -0.008694810792803764, 0.03011145070195198 ]
[ -0.0384402796626091, -0.05484244227409363, 0.0230089258402586, -0.02851715311408043, 0.08774172514677048, -0.049271468073129654, -0.0029314507264643908, -0.0023876402992755175, -0.013913389295339584, -0.005857690237462521, -0.01981060951948166, -0.05622893571853638, -0.013791723176836967, -0.015742657706141472, 0.036062829196453094, -0.022863684222102165, -0.023938586935400963, -0.07988876849412918, 0.00943700596690178, 0.05074648931622505, 0.0017644066829234362, -0.021539369598031044, -0.046281155198812485, -0.018167803063988686, 0.014096306636929512, 0.026630142703652382, 0.054762959480285645, -0.011945482343435287, -0.00645173666998744, -0.18884849548339844, -0.0008373578311875463, -0.025912288576364517, -0.002382330596446991, 0.004672511946409941, 0.0033464685548096895, 0.02210485376417637, 0.007447214797139168, 0.021362429484725, 0.036252472549676895, 0.028455598279833794, 0.043645039200782776, 0.008900998160243034, -0.035761259496212006, -0.005217399448156357, 0.016060004010796547, 0.0010830137180164456, -0.01047749537974596, 0.0045714182779192924, -0.0043830424547195435, 0.007125347852706909, -0.045837026089429855, 0.025947269052267075, -0.011982440017163754, -0.023922055959701538, -0.013837231323122978, 0.048658519983291626, 0.005451700184494257, 0.0827832892537117, 0.03673276677727699, 0.017633087933063507, 0.010394616052508354, -0.0017199008725583553, -0.18612205982208252, 0.1006670668721199, -0.0032103576231747866, 0.029958205297589302, -0.017375878989696503, 0.004121718462556601, -0.03690645098686218, 0.03975091129541397, -0.012066115625202656, -0.02930721454322338, -0.06339463591575623, 0.08958341181278229, 0.02127142995595932, -0.04049936681985855, -0.04242442548274994, 0.06637921929359436, 0.01748395524919033, -0.05194201320409775, 0.004590748809278011, -0.011346152052283287, -0.011002819053828716, -0.003945078235119581, -0.012507825158536434, -0.005730351898819208, -0.02671387605369091, 0.05402902886271477, 0.01597500964999199, 0.004217608831822872, 0.05060706287622452, -0.048283860087394714, -0.0056940531358122826, 0.027441509068012238, -0.09954618662595749, -0.07498326897621155, 0.022181173786520958, 0.035077620297670364, 0.010553224012255669, 0.3905022144317627, -0.040428899228572845, 0.00032729111262597144, 0.04032932221889496, 0.056957781314849854, 0.0034965258091688156, -0.02419164963066578, -0.0032482489477843046, -0.048519033938646317, -0.008409678004682064, 0.0006086081848479807, 0.03345121815800667, -0.015137492679059505, 0.060263168066740036, -0.03922811523079872, 0.00026555676595307887, -0.00024432173813693225, 0.051922090351581573, 0.014409529976546764, -0.03036062978208065, 0.02865070477128029, -0.03882468864321709, 0.01550847664475441, -0.0027664797380566597, 0.012089059688150883, -0.01806768961250782, -0.002402606187388301, 0.06226281076669693, 0.045805782079696655, 0.03960413485765457, 0.029623670503497124, 0.05057718604803085, -0.03291669860482216, -0.08760771155357361, 0.017962196841835976, -0.02496618777513504, 0.005975109059363604, 0.05020769685506821, -0.017518669366836548, -0.00412024138495326, 0.001973944716155529, -0.0033411886543035507, -0.08449463546276093, 0.0011546300956979394, 0.006033102981746197, -0.01494576595723629, 0.08675428479909897, -0.017493953928351402, -0.07061392068862915, -0.008015123195946217, -0.061157237738370895, 0.0009769414318725467, -0.0033851908519864082, -0.0016121028456836939, -0.08279275894165039, 0.011572271585464478, 0.05012061074376106, 0.10343042761087418, 0.013817372731864452, -0.04378332942724228, -0.012637767940759659, 0.01032709889113903, -0.03598115220665932, -0.037978921085596085, 0.043438881635665894, 0.03533855453133583, -0.13741038739681244, -0.018962493166327477, -0.010173470713198185, 0.0109050702303648, -0.07270682603120804, 0.02188849076628685, 0.015525025315582752, -0.021798044443130493, 0.027259107679128647, 0.07610297203063965, -0.01600203849375248, -0.03100469335913658, 0.03818192705512047, 0.05486917868256569, 0.002459954470396042, -0.042976588010787964, -0.006850230507552624, -0.020031118765473366, 0.009940634481608868, -0.032919157296419144, -0.04698219522833824, -0.08656277507543564, -0.0023833750747144222, -0.02293909527361393, 0.011106321588158607, -0.0030397570226341486, -0.0663456991314888, -0.04869971424341202, 0.013489177450537682, -0.024108707904815674, -0.019125711172819138, 0.004113607108592987, 0.004649780690670013, 0.0358499251306057, -0.03834947198629379, 0.03465060144662857, 0.018021121621131897, -0.03628605231642723, -0.014604332856833935, -0.04542521387338638, 0.02318442426621914, 0.06492810696363449, -0.04051151126623154, 0.05855955183506012, 0.054493799805641174, -0.0025269838515669107, -0.008496791124343872, 0.029281359165906906, 0.004250667989253998, 0.01890428178012371, -0.036179207265377045, 0.000010296862456016243, -0.010581611655652523, 0.024464791640639305, 0.03617144748568535, -0.03920881077647209, -0.03363660350441933, -0.03125694766640663, -0.35542863607406616, -0.04800630733370781, -0.00548527343198657, 0.008972268551588058, 0.006401814986020327, -0.06861887872219086, -0.00960402563214302, 0.01844165474176407, -0.010616983287036419, 0.05535196512937546, 0.12752516567707062, -0.05915405973792076, -0.002494129817932844, -0.04236990958452225, 0.015520473942160606, 0.04189653322100639, -0.044136837124824524, 0.022352948784828186, 0.005717698018997908, 0.043039288371801376, 0.03132500499486923, 0.0013895767042413354, -0.06909922510385513, -0.041394464671611786, -0.010425850749015808, -0.04522434622049332, 0.13752569258213043, -0.040418028831481934, 0.106324203312397, -0.055697113275527954, 0.03586125001311302, -0.016153326258063316, 0.03418952599167824, -0.021183909848332405, -0.012213299982249737, -0.05170503631234169, 0.025439128279685974, 0.05233706161379814, 0.001518793753348291, -0.022809935733675957, -0.04375110939145088, 0.025692880153656006, -0.03626922518014908, -0.0030915988609194756, -0.03397315740585327, 0.013653499074280262, -0.009668860584497452, -0.017175504937767982, -0.007580328267067671, 0.05982673540711403, -0.012102188542485237, 0.020890839397907257, 0.01052361261099577, 0.022028299048542976, 0.056878309696912766, -0.01196075975894928, -0.051081135869026184, -0.0030152196995913982, -0.010581961832940578, -0.014389226213097572, -0.007291347719728947, 0.04490942507982254, 0.05585157498717308, -0.027711866423487663, -0.006760026793926954, 0.01916089467704296, -0.020570959895849228, 0.0029414365999400616, 0.03799659013748169, 0.035046108067035675, -0.03485424071550369, 0.08962228894233704, -0.007290488108992577, 0.015483781695365906, -0.007847284898161888, 0.03858989104628563, 0.008696543984115124, 0.07405968010425568, 0.04355999082326889, 0.005788756534457207, 0.02210601419210434, -0.028652360662817955, 0.02971062622964382, -0.03835753723978996, 0.03256332501769066, 0.04092748835682869, 0.010856257751584053, -0.0008513803477399051, 0.03844384104013443, 0.013678283430635929, 0.00402622576802969, -0.008146172389388084, 0.018028469756245613, -0.06380943953990936, 0.055645186454057693, -0.021788157522678375, -0.26979613304138184, 0.013135630637407303, 0.05728055164217949, 0.040627676993608475, -0.006871631834656, -0.00046199181815609336, 0.017077449709177017, -0.0017241829773411155, -0.017838435247540474, 0.023334259167313576, -0.003962497692555189, 0.0218881256878376, 0.025721967220306396, -0.03351856768131256, 0.030498145148158073, -0.03304211422801018, 0.061627741903066635, 0.03432502970099449, 0.007795145735144615, 0.0009236228070221841, 0.017231334000825882, -0.0227662343531847, 0.16244523227214813, 0.03703108802437782, 0.021237341687083244, 0.03642603009939194, -0.03789045289158821, -0.0012386721791699529, 0.046733543276786804, -0.015052867121994495, -0.012094010598957539, -0.02181081473827362, 0.021754344925284386, 0.011134092696011066, 0.03108850121498108, -0.04049275070428848, -0.0575750507414341, 0.06430118530988693, 0.032452743500471115, -0.025190815329551697, -0.025671619921922684, 0.04418700188398361, -0.03482235595583916, -0.006923051085323095, 0.06151498109102249, 0.039010319858789444, -0.018833372741937637, -0.017288075760006905, -0.015774309635162354, -0.014521456323564053, 0.004786771722137928, -0.04762918874621391, -0.04250491037964821, -0.02095048874616623, 0.0427936352789402, 0.07824426889419556, 0.005600630771368742, -0.05153018981218338, -0.0028499194886535406, 0.05184449255466461, -0.011493322439491749, -0.08450550585985184, 0.09215735644102097, -0.036407697945833206, 0.029797233641147614 ]
[ 0.007577736396342516, 0.031010843813419342, -0.012360512278974056, -0.021057166159152985, -0.019285891205072403, 0.005983399227261543, -0.0026982889976352453, -0.0018519674194976687, -0.021175634115934372, 0.00983650516718626, -0.023098956793546677, 0.024960216134786606, 0.002510944614186883, -0.04128522053360939, -0.0004956466145813465, 0.003531075082719326, 0.004340202081948519, -0.02059084363281727, 0.028973331674933434, -0.02615959197282791, 0.0035722048487514257, 0.05140455812215805, -0.018676292151212692, 0.031311530619859695, -0.05347255617380142, 0.021524254232645035, -0.01750044710934162, 0.017505379393696785, 0.004824391566216946, -0.12012234330177307, -0.026656651869416237, -0.0503656230866909, -0.0243438221514225, 0.022554226219654083, -0.0370236337184906, -0.02211974933743477, 0.005345720332115889, 0.0023008116986602545, 0.03354300186038017, 0.03342897817492485, 0.027072614058852196, -0.03338310122489929, 0.004596386104822159, 0.012623117305338383, 0.04215553402900696, 0.011298018507659435, 0.022818397730588913, -0.02420801855623722, -0.005993082653731108, 0.009864285588264465, -0.04225904494524002, 0.01702991873025894, 0.01374529954046011, 0.023739922791719437, 0.026588253676891327, -0.044310878962278366, -0.020249968394637108, 0.024675006046891212, 0.018353598192334175, -0.026453077793121338, 0.01486323680728674, 0.027531402185559273, -0.04661034420132637, -0.013915188610553741, -0.012300985865294933, -0.0037287583108991385, -0.052637554705142975, -0.005610540974885225, 0.008260546252131462, -0.027748780325055122, -0.003165933070704341, -0.0022601624950766563, -0.05189500376582146, -0.016490211710333824, 0.00494013587012887, -0.02172738127410412, 0.005435532424598932, -0.023659639060497284, -0.02917197160422802, -0.04007970541715622, -0.02046239748597145, -0.013646017760038376, 0.004820732399821281, 0.048384640365839005, -0.01667766459286213, -0.04827704280614853, 0.015386009588837624, 0.035252999514341354, 0.026223814114928246, 0.013464320451021194, 0.004320603795349598, -0.003268144791945815, 0.032794006168842316, 0.02648545801639557, -0.07647503167390823, 0.018871767446398735, -0.03676304221153259, -0.03532741218805313, -0.003644359763711691, 0.7984102964401245, -0.02991105057299137, 0.017559615895152092, 0.034314531832933426, 0.015818355605006218, 0.011114198714494705, -0.029504457488656044, -0.0001989938027691096, 0.017107190564274788, 0.029667669907212257, -0.09177668392658234, 0.04111085832118988, 0.0037379544228315353, 0.002486045705154538, -0.005329929292201996, 0.005522141698747873, 0.0371018722653389, -0.022743336856365204, 0.012121206149458885, 0.01886160485446453, 0.005591678898781538, 0.033674709498882294, 0.006865758914500475, -0.039508670568466187, 0.006125600542873144, 0.025055956095457077, -0.15065164864063263, 0.01549612358212471, -6.476930526676618e-33, -0.04427344352006912, -0.04220425337553024, 0.013862520456314087, 0.0181084256619215, 0.05644902214407921, -0.01565389148890972, -0.04915793240070343, 0.046664949506521225, 0.022608470171689987, 0.006818433292210102, 0.017326723784208298, -0.007028233725577593, -0.004186043981462717, -0.011055121198296547, 0.029258159920573235, -0.04550926759839058, 0.0003541797341313213, 0.022695858031511307, -0.018786851316690445, 0.002190366154536605, 0.06567051261663437, -0.0008134738309308887, 0.023643124848604202, 0.01542061846703291, 0.01911791041493416, 0.030361728742718697, -0.040902528911828995, 0.013896654359996319, 0.036949560046195984, -0.03329766169190407, -0.022554660215973854, 0.033137135207653046, 0.0007747607887722552, -0.005919557996094227, 0.021065957844257355, -0.06390615552663803, -0.03341544792056084, -0.024021906778216362, -0.036753036081790924, -0.034546393901109695, -0.06441397219896317, 0.0013581941602751613, -0.050186872482299805, 0.0221390463411808, -0.018038539215922356, -0.02978687733411789, -0.011341392993927002, 0.018600620329380035, 0.023319898173213005, 0.022236084565520287, 0.04808218777179718, 0.005934963934123516, -0.014584184624254704, -0.009788423776626587, -0.008307961747050285, 0.016250360757112503, 0.0005709902616217732, 0.04979803040623665, -0.00701356865465641, -0.006018080748617649, -0.0007552619208581746, -0.03301109001040459, 0.014290079474449158, 0.005613571498543024, 0.011682210490107536, -0.024367157369852066, 0.03845356032252312, 0.03473939374089241, 0.01623636484146118, -0.024069014936685562, -0.03156668692827225, 0.021836353465914726, 0.019640816375613213, 0.006535516120493412, 0.018333397805690765, -0.038981854915618896, -0.029975825920701027, 0.018352417275309563, 0.0052423602901399136, 0.028436990454792976, 0.010272504761815071, -0.01599045656621456, -0.0118627417832613, -0.037851814180612564, 0.019049398601055145, 0.021602090448141098, 0.03325880318880081, 0.015295748598873615, -0.0022804411128163338, 0.026247773319482803, -0.02975473366677761, 0.07890572398900986, -0.0158978421241045, -0.0023153789807111025, -0.016977300867438316, 6.867771378065489e-33, -0.011957292445003986, -0.03822844848036766, -0.027629900723695755, -0.01906726509332657, -0.015997150912880898, 0.00021908878989052027, 0.07738789170980453, 0.017481103539466858, -0.003953913692384958, 0.05532746762037277, -0.016407718881964684, -0.04225626960396767, -0.00665850518271327, 0.026461154222488403, 0.07299427688121796, -0.03255876526236534, 0.03395255282521248, 0.013737218454480171, -0.008701393380761147, 0.00304548442363739, -0.06195267662405968, -0.020559150725603104, -0.00904703326523304, 0.020409535616636276, 0.02576085738837719, 0.06288541853427887, -0.027325578033924103, 0.022524548694491386, -0.0411171056330204, 0.015551844611763954, -0.0187809057533741, 0.010083746165037155, 0.02188348025083542, -0.027731524780392647, -0.0420360304415226, 0.04135604575276375, 0.005223639775067568, -0.010166078805923462, 0.04132794588804245, 0.009449884295463562, 0.06516540795564651, -0.009863657876849174, 0.02816522866487503, 0.0161651149392128, 0.04751568287611008, 0.01866854913532734, 0.009934830479323864, -0.006353389006108046, -0.033966656774282455, 0.027894187718629837, 0.021100979298353195, 0.05800541490316391, -0.01588025689125061, 0.025124844163656235, 0.0637807697057724, -0.0007044787635095417, -0.009922566823661327, -0.0057715363800525665, 0.012377254664897919, -0.06415926665067673, -0.030798133462667465, -0.021734025329351425, 0.02166721224784851, 0.04327068850398064, 0.008304957300424576, -0.015795530751347542, -0.02221422828733921, -0.03544875606894493, 0.036695048213005066, -0.028673799708485603, -0.0021661927457898855, -0.017143351957201958, -0.006646913010627031, 0.01291834656149149, -0.056401949375867844, 0.02196032740175724, -0.004707918968051672, -0.0014033529441803694, -0.03513626381754875, 0.005330894608050585, 0.010594743303954601, -0.024226555600762367, 0.02346935123205185, 0.024997368454933167, -0.00936905201524496, 0.009558876045048237, -0.05597977340221405, -0.02173229120671749, 0.06322679668664932, 0.004133685491979122, -0.0036777921486645937, -0.008719070814549923, -0.0005638099974021316, 0.00228799763135612, -0.014516804367303848, -1.2259004478210045e-8, -0.052849091589450836, -0.01905480958521366, -0.030041852965950966, 0.030893368646502495, 0.02719350904226303, 0.03557288646697998, -0.020328959450125694, 0.0005762251676060259, -0.054045528173446655, 0.01823989301919937, 0.07852412760257721, 0.0008887324947863817, -0.015634654089808464, 0.04930537939071655, -0.015043103136122227, -0.04895208030939102, 0.02103058621287346, -0.027740200981497765, 0.03347841650247574, 0.015343266539275646, 0.019346127286553383, 0.022554153576493263, -0.03904549404978752, 0.008361595682799816, 0.024540532380342484, -0.029259465634822845, 0.008739897981286049, -0.09299464523792267, 0.01765674352645874, -0.05920421704649925, 0.027215326204895973, -0.030368342995643616, -0.005296139512211084, 0.022342005744576454, -0.014853122644126415, -0.04544427618384361, 0.01807294227182865, 0.054243966937065125, 0.028046447783708572, 0.007722701411694288, 0.03247828036546707, -0.014202254824340343, -0.052872348576784134, -0.02611459046602249, 0.018946072086691856, -0.0015433223452419043, -0.032136380672454834, 0.03487272560596466, 0.023637352511286736, -0.01993734762072563, 0.0010032120626419783, -0.027068566530942917, 0.029051734134554863, 0.037926193326711655, 0.01807212457060814, -0.034124504774808884, 0.0005990738281980157, -0.005701526999473572, -0.045752961188554764, 0.018343936651945114, -0.011846202425658703, 0.03721802681684494, -0.036415088921785355, -0.026919405907392502 ]
london-bus-stops-api-mapping-northingeasting-values-to-latlong
https://markhneedham.com/blog/2012/07/30/london-bus-stops-api-mapping-northingeasting-values-to-latlong
false
2012-07-08 22:45:41
Data visualisation: Is 'interesting' enough?
[ "software-development", "data-visualisation" ]
[ "Software Development" ]
I recently read a blog post by Julian Boot titled 'http://julianboot.com/2012/07/visualisation-without-analysis/[visualisation without analysis is fine]' where he suggests that we can learn things from visualising data in the right way - detailed statistical analysis isn't always necessary. I thought this was quite an interesting observation because over the past couple of months I've been playing around with ThoughtWorks data and looking at different ways to visualise aspects of the data. For example the following visualisation shows the strength of colleague relationships between the various ThoughtWorks offices: image::{{<siteurl>}}/uploads/2012/07/map-2.png[Map 2,600] We can learn some interesting things from looking at it such as: * There's a very strong connection between Bangalore and London * There's also a very strong connection between Porto Alegre and Delhi/Dallas * If we look a bit closer we can see the connections from China aren't as strong - there's a reasonable link to San Francisco and weaker ones to Australia but not so much to other countries. If we know more about the domain then we'd know that there are some distributed projects going on between Porto Alegre and the other two places and there are currently quite a lot of people from Bangalore working in London. Although these observations are quite interesting I'm not sure if they are anything more than that. In my opinion *the intent of visualisations is to provoke some sort of action* by helping people see something in the data which they couldn't see before. In Julian's post he refers to a visualisation showing the colours used in movie posters and how there's a trend towards a 50/50 split between orange and blue. It's really interesting to look at but as Julian points out it's http://www.slashfilm.com/orangeblue-contrast-in-movie-posters/[well known that movie posters make heavy use orange and blue] and presumably at some stage someone has already worked out that these are the two most effective colours. In my example most people I talked to were able to predict where the strongest connections would be before I showed them the visualisation. My current thinking is that if a visualisation is only 'interesting' then perhaps I haven't played around with the data enough to find some insight that would actually lead to an outcome/improvement of some sort. I'm definitely interested in hearing others opinions/experienced in this area though!
null
null
[ 0.03341339901089668, 0.006295109633356333, 0.018182743340730667, 0.03714505955576897, 0.07809595763683319, 0.03421790897846222, 0.0065490854904055595, 0.0646628811955452, 0.006533329375088215, -0.0234482791274786, -0.026749487966299057, -0.031318262219429016, -0.06701389700174332, 0.03422250226140022, -0.0010278518311679363, 0.0856081023812294, 0.05834735184907913, 0.013842033222317696, 0.015091736800968647, 0.021103432402014732, 0.05337612330913544, 0.06942175328731537, 0.006332301534712315, 0.03637554869055748, 0.01702616736292839, -0.024719448760151863, 0.039903655648231506, 0.0042576976120471954, -0.044634271413087845, -0.018965188413858414, 0.040035951882600784, 0.007896412163972855, -0.014316798187792301, 0.022485941648483276, 0.01864784210920334, 0.002265721093863249, -0.04335670918226242, 0.026062794029712677, 0.014500359073281288, 0.00815743301063776, -0.08842071145772934, 0.04207639396190643, 0.003505298402160406, 0.016292663291096687, -0.04775376617908478, 0.007649327162653208, -0.06056031212210655, 0.029273241758346558, 0.006996073294430971, 0.01400398463010788, -0.04903724417090416, 0.05051378905773163, -0.0016667026793584228, 0.016847826540470123, -0.03065812774002552, 0.038120854645967484, 0.014566849917173386, -0.07588816434144974, 0.020326269790530205, -0.050666969269514084, 0.017834121361374855, -0.0048858956433832645, 0.00516562769189477, 0.026225576177239418, 0.035187166184186935, -0.02786579169332981, -0.008495215326547623, 0.03585715591907501, -0.023905552923679352, -0.007892858237028122, -0.010500931181013584, 0.014911952428519726, -0.009963828139007092, -0.001564045436680317, -0.022236330434679985, -0.058900970965623856, -0.003077459055930376, 0.04469386115670204, 0.004559750203043222, -0.003326381789520383, -0.04246397688984871, 0.008848973549902439, 0.012558281421661377, 0.03691818565130234, -0.005555640906095505, -0.038864221423864365, -0.0036475483793765306, -0.02880135364830494, -0.07506804168224335, 0.06357089430093765, -0.008774862624704838, -0.019853539764881134, 0.02507784031331539, 0.03880590572953224, -0.0005892172339372337, -0.004443659912794828, 0.01998736336827278, 0.002947593806311488, -0.016774658113718033, -0.03700214996933937, -0.010000125505030155, -0.02647777646780014, 0.008405543863773346, 0.022459041327238083, -0.08121572434902191, -0.032828330993652344, -0.016707418486475945, 0.010173838585615158, 0.007788312155753374, 0.019255779683589935, -0.02692403644323349, 0.014345762319862843, 0.0039255013689398766, 0.016683436930179596, -0.05379050225019455, 0.05448620393872261, 0.016906823962926865, -0.050458867102861404, -0.009210819378495216, -0.0020732020493596792, 0.05631573125720024, 0.03681609407067299, -0.010558676905930042, 0.08091580867767334, -0.0053111230954527855, 0.018950583413243294, -0.029976582154631615, 0.03674876317381859, -0.02009749971330166, -0.039846014231443405, 0.01589028723537922, 0.055809348821640015, -0.03666476160287857, -0.017457138746976852, 0.006759136915206909, -0.04804203659296036, 0.00937571469694376, -0.009156310930848122, 0.04469974339008331, 0.0514107346534729, 0.015490788966417313, -0.05323917046189308, 0.008505324833095074, 0.01939648576080799, 0.03818773850798607, -0.000006358827704389114, 0.006632956676185131, -0.029378220438957214, -0.038082726299762726, -0.027372237294912338, 0.012339336797595024, 0.026370828971266747, 0.025421427562832832, -0.03328390792012215, 0.017687110230326653, 0.09233494102954865, 0.04486832022666931, 0.004317710176110268, 0.010477302595973015, 0.030791500583291054, 0.045287877321243286, 0.038211606442928314, 0.05083787813782692, 0.02940206415951252, -0.00639832578599453, -0.022317463532090187, 0.009259479120373726, 0.040503472089767456, -0.001982547575607896, 0.001705871894955635, -0.04251881316304207, -0.06843404471874237, 0.05648631602525711, -0.031057583168148994, -0.022342631593346596, 0.05267394706606865, 0.0848374292254448, 0.06000300496816635, 0.02164795622229576, 0.002460142597556114, -0.09127092361450195, 0.04142863675951958, -0.0025543970987200737, 0.024616358801722527, 0.0424979031085968, -0.04255787655711174, 0.07300131022930145, 0.03139323741197586, 0.00936512928456068, 0.04693770408630371, -0.03667737916111946, -0.07625603675842285, -0.033349111676216125, -0.013917130418121815, 0.03656279668211937, -0.028894202783703804, 0.014564919285476208, 0.051701683551073074, 0.006107295397669077, 0.05242007225751877, 0.004858580883592367, 0.0023951681796461344, 0.04300704970955849, -0.034638237208127975, -0.036366213113069534, 0.029579367488622665, 0.047198303043842316, -0.015068882144987583, -0.04091618210077286, 0.012724584899842739, -0.026881596073508263, -0.037846557796001434, 0.03551498055458069, -0.01972031407058239, 0.036529671400785446, 0.015724049881100655, 0.0576619915664196, -0.026574650779366493, 0.030790964141488075, -0.031880974769592285, 0.002543802373111248, 0.011299969628453255, -0.01819368451833725, -0.005919283721596003, 0.01615028828382492, 0.12006419152021408, 0.06236185133457184, -0.032863836735486984, -0.035350486636161804, 0.013189269229769707, -0.004205647855997086, -0.02422654628753662, 0.004634111188352108, -0.011394720524549484, -0.008813191205263138, -0.002390938112512231, -0.04222026839852333, -0.0329996794462204, 0.024656305089592934, -0.04938222095370293, -0.002779932226985693, 0.03648863732814789, -0.01213409285992384, 0.0654074028134346, -0.00815701112151146, -0.0020976781379431486, 0.01978817954659462, -0.04564493149518967, -0.0699060708284378, -0.0022680340334773064, -0.015295174904167652, 0.002533641643822193, 0.01224489789456129, 0.0030219717882573605, -0.00934311281889677, -0.026129325851798058, -0.03114580549299717, 0.01718924567103386, 0.06810850650072098, 0.06895098835229874, -0.01126201543956995, 0.0548383966088295, -0.023434843868017197, 0.04362037777900696, -0.004337217193096876, -0.04301362484693527, -0.046879954636096954, -0.029985882341861725, 0.019035955891013145, 0.022251468151807785, 0.04108981043100357, -0.00376214855350554, 0.0208919495344162, 0.008890022523701191, -0.006286731455475092, -0.007227655500173569, 0.02267301082611084, 0.020990820601582527, -0.024064235389232635, -0.008962119929492474, -0.0023499259259551764, 0.06379391252994537, -0.020117230713367462, -0.008749188855290413, 0.0136207714676857, -0.07368533313274384, 0.030641023069620132, -0.0494593121111393, -0.03807603195309639, -0.00984117854386568, 0.009968556463718414, 0.04026319459080696, 0.03166976571083069, -0.011185923591256142, 0.04489584267139435, 0.02938896231353283, 0.015829581767320633, -0.02386205829679966, -0.03604510799050331, 0.03459157049655914, -0.014883498661220074, 0.008444425649940968, 0.058878473937511444, -0.006067995447665453, 0.0155292684212327, -0.03047555312514305, 0.042735740542411804, -0.017782459035515785, -0.2993503510951996, 0.009404012002050877, 0.028810515999794006, -0.03880088031291962, 0.010058056563138962, -0.032105885446071625, -0.004396203439682722, -0.04407501593232155, -0.023666121065616608, -0.009675300680100918, -0.009590392000973225, -0.052394747734069824, -0.04410158842802048, 0.04444270581007004, 0.0161181278526783, 0.02484074980020523, 0.009078209288418293, -0.05140159651637077, 0.01643376424908638, 0.06540301442146301, -0.012426170520484447, -0.06475717574357986, -0.019379831850528717, 0.06575682014226913, 0.023574702441692352, 0.0733165368437767, -0.07077361643314362, 0.018217550590634346, -0.0702749490737915, -0.007385122589766979, 0.017217492684721947, -0.013631904497742653, 0.01302130613476038, 0.0009368196479044855, -0.005619533825665712, -0.022831909358501434, 0.043682198971509933, -0.013234459795057774, -0.011564088985323906, 0.000041922998207155615, -0.04088832065463066, -0.0024210643023252487, -0.0106615349650383, 0.015429669991135597, 0.06679420918226242, -0.007284471765160561, -0.08433990180492401, 0.008886618539690971, -0.03682321310043335, 0.04348905012011528, -0.03448277339339256, -0.00968362856656313, -0.037860143929719925, 0.01933864690363407, -0.052571240812540054, -0.005059252958744764, -0.01837986335158348, -0.02544037066400051, -0.057013269513845444, -0.04461152106523514, -0.011291861534118652, -0.03915904089808464, -0.021553022786974907, -0.035788923501968384, -0.006990089081227779, -0.05308353155851364, -0.0899495780467987, -0.007889038883149624, 0.07206544280052185, -0.005591982509940863, -0.034642864018678665, 0.001340785063803196, -0.017368433997035027, -0.10123687982559204, -0.010749236680567265, -0.011411787942051888, -0.03171809762716293, -0.005805387161672115, 0.024752337485551834, 0.05683659017086029, -0.023082969710230827, -0.05902857705950737, 0.029466256499290466, 0.02468346431851387, 0.015762699767947197, -0.027412505820393562, 0.040059950202703476, 0.04209570586681366, -0.013942480087280273, -0.0016058437759056687, 0.05834922194480896, -0.030456237494945526, -0.012131180614233017, -0.016092658042907715, -0.0030228495597839355, 0.007936493493616581, 0.012350703589618206, -0.0029456301126629114, 0.022038748487830162, 0.038367073982954025, 0.0013260466512292624, -0.07581192255020142, 0.01892993412911892, -0.01697947084903717, -0.005713578313589096, -0.0029103513807058334, -0.023099903017282486, 0.02647732011973858, 0.02574244700372219, 0.0024237846955657005, 0.014304425567388535, -0.021454988047480583, 0.010624143294990063, -0.042901039123535156, -0.018844300881028175, -0.03171589598059654, 0.03018908016383648, 0.040160972625017166, 0.01902688480913639, -0.017458302900195122, -0.04333922639489174, 0.02071632258594036, -0.0051572308875620365, -0.004325337707996368, -0.06767929345369339, -0.008441226556897163, -0.028471119701862335, -0.019590523093938828, 0.006541005335748196, 0.038389574736356735, -0.006174979731440544, 0.02217867597937584, 0.035067617893218994, -0.011877286247909069, 0.034361012279987335, -0.05374733358621597, -0.06737027317285538, -0.037381891161203384, 0.0203272495418787, 0.025927115231752396, 0.004015793092548847, 0.029901396483182907, 0.02022421546280384, 0.01774069480597973, 0.025861378759145737, -0.001575774629600346, 0.015044454485177994, -0.007309384644031525, 0.023836765438318253, -0.00519354734569788, 0.004941575229167938, -0.032399263232946396, -0.00003292660039733164, -0.025415528565645218, -0.0128903454169631, -0.008952964097261429, 0.031421903520822525, -0.02847854048013687, -0.014436247758567333, -0.037486493587493896, 0.032238349318504333, -0.04991413652896881, -0.027723070234060287, -0.005215016659349203, 0.014198817312717438, 0.05549105629324913, 0.009696229360997677, 0.00868136528879404, 0.02329440973699093, 0.0004644490545615554, 0.020239626988768578, -0.0027326096314936876, -0.04652958735823631, 0.0007476158207282424, -0.018101278692483902, 0.006442781072109938, -0.01787901483476162, 0.0019047039095312357, 0.04710843041539192, 0.017210643738508224, -0.022488461807370186, -0.0196920707821846, 0.009409713558852673, 0.022871969267725945, 0.03869515284895897, 0.054557256400585175, -0.00860721617937088, -0.005385304801166058, -0.019916273653507233, -0.015724869444966316, -0.030520694330334663, 0.008382230065762997, -0.027504123747348785, 0.013785548508167267, -0.037718843668699265, -0.07536885887384415, 0.04407524690032005, -0.012787887826561928, 0.007077143993228674, 0.024529283866286278, -0.005603128578513861, 0.0014981607673689723, -0.03235788270831108, 0.03223787248134613, 0.07077671587467194, -0.06394543498754501, 0.001319569768384099, 0.025686590000987053, -0.0388488732278347, -0.009735113941133022, -0.0016311102081090212, -0.033850669860839844, -0.037195365875959396, -0.02664744295179844, 0.02511550858616829, -0.0499899759888649, -0.027612781152129173, -0.049334947019815445, 0.014934366568922997, 0.004064140375703573, -0.0005003356491215527, -0.009426346980035305, -0.03230736032128334, -0.008024116046726704, -0.009417477063834667, 0.024245845153927803, -0.01250283420085907, -0.018113352358341217, 0.02257622219622135, -0.037192847579717636, -0.014149107970297337, -0.018490152433514595, 0.0045568672940135, 0.052925799041986465, -0.026449229568243027, 0.01910616084933281, -0.010234232991933823, -0.029794583097100258, 0.021843155845999718, 0.06288961321115494, -0.01785663329064846, -0.029554223641753197, -0.04413316026329994, 0.0017568053444847465, -0.014610372483730316, 0.019580036401748657, -0.026700792834162712, 0.009849606081843376, 0.015383493155241013, 0.02422146685421467, 0.001941017690114677, -0.020346814766526222, -0.024757109582424164, -0.04867834970355034, 0.038325995206832886, -0.060918692499399185, -0.025482775643467903, -0.04455196112394333, -0.04639439657330513, -0.00034303453867323697, -0.024090124294161797, -0.01128893718123436, 0.005678751040250063, 0.04630223289132118, 0.013251629658043385, 0.01798027567565441, 0.036906544119119644, 0.03167109191417694, 0.0186562892049551, -0.055611155927181244, 0.010585721582174301, -0.08428458124399185, -0.0026525193825364113, 0.017771616578102112, 0.008777950890362263, -0.02554113045334816, 0.007758655585348606, -0.0577714666724205, 0.043013978749513626, -0.08460216224193573, -0.024444296956062317, 0.03398381918668747, -0.0029023096431046724, -0.0042326804250478745, 0.010833699256181717, -0.06310264766216278, 0.023877952247858047, 0.02375461533665657, -0.032397717237472534, -0.023351680487394333, -0.018917297944426537, 0.04815968498587608, -0.010717779397964478, 0.026470864191651344, -0.013527498580515385, 0.014375494793057442, 0.0626610592007637, 0.02307819202542305, -0.004287369083613157, 0.0338643416762352, -0.02502724900841713, 0.06408104300498962, 0.009875915944576263, 0.004500271286815405, -0.012021677568554878, 0.016592415049672127, -0.0013331103837117553, -0.05652159824967384, 0.051755115389823914, 0.0005036336369812489, -0.00039098848355934024, -0.04298033565282822, 0.06713753193616867, 0.02097013220191002, -0.030160080641508102, -0.044544290751218796, 0.01648366078734398, -0.0380529910326004, 0.019643042236566544, -0.006512033753097057, -0.01397580187767744, -0.02494058758020401, 0.05421939492225647, -0.007319292519241571, 0.03252638503909111, 0.060863468796014786, 0.023354623466730118, 0.0044075194746255875, -0.0067397779785096645, 0.09881246834993362, 0.06838060170412064, 0.07424614578485489, -0.004674450494349003, 0.07779865711927414, -0.030171595513820648, -0.03479845076799393, 0.03157886862754822, -0.005825422704219818, -0.008393848314881325, -0.03985236957669258, 0.024516310542821884, 0.07341830432415009, -0.024021252989768982, 0.07183995097875595, -0.01603558659553528, -0.015368263237178326, -0.005203021690249443, 0.014402376487851143, -0.005334238987416029, 0.04460972175002098, 0.0011094684014096856, 0.028799964115023613, -0.026922758668661118, -0.04979655519127846, 0.03994262218475342, -0.02578004263341427, -0.03050222434103489, 0.03129255771636963, -0.005335747729986906, 0.019463708624243736, -0.011378630995750427, 0.06223486363887787, 0.09242729097604752, -0.028765080496668816, -0.0020372667349874973, 0.012573490850627422, 0.033657774329185486, 0.0027201452758163214, 0.04021187499165535, -0.014220844022929668, 0.0036682558711618185, -0.0010011144913733006, -0.03799343854188919, -0.009663066826760769, -0.011210794560611248, -0.02100297436118126, 0.022475717589259148, -0.04977559670805931, -0.003384073032066226, 0.02151677757501602, -0.013285452499985695, -0.023198874667286873, -0.0581340417265892, -0.03232019767165184, -0.03806539252400398, -0.0729810893535614, -0.026530461385846138, 0.023332498967647552, -0.04008658230304718, -0.029052430763840675, -0.04193274676799774, -0.02541426010429859, -0.03831572085618973, 0.027707811444997787, -0.06743782013654709, -0.033672600984573364, 0.020552983507514, 0.043485913425683975, 0.004576817154884338, 0.006099955644458532, 0.055468153208494186, 0.0016124851536005735, -0.0035018865019083023, -0.006977648474276066, 0.025270970538258553, 0.03368751332163811, -0.001709683216176927, 0.017365047708153725, -0.10797141492366791, 0.007515808567404747, 0.01894260197877884, -0.04977300390601158, -0.07717565447092056, 0.013805574737489223, 0.0162589643150568, 0.0143588837236166, 0.05378374829888344, -0.009295894764363766, 0.008989082649350166, -0.031714413315057755, -0.014280457980930805, -0.026670780032873154, 0.011289795860648155, 0.04915087670087814, -0.03723946213722229, 0.08022082597017288, 0.025325896218419075, 0.004371027462184429, -0.02547205425798893, -0.02415224350988865, 0.002985354047268629, -0.0066548604518175125, -0.021825186908245087, -0.04343537241220474, -0.01836853101849556, -0.11208685487508774, -0.03149707615375519, 0.01825847290456295, -0.0425688698887825, -0.03717640042304993, 0.003966658841818571, 0.02385948970913887, -0.004703165963292122, 0.0043320925906300545, -0.030754970386624336, 0.009228195995092392, -0.010710551403462887, -0.01525870617479086, -0.021860701963305473, 0.05844820290803909, 0.00481416005641222, 0.018637893721461296, 0.009807543829083443, -0.04975084960460663, 0.008789301849901676, -0.01914602518081665, 0.01083230972290039, 0.0206596739590168, 0.029621174558997154, -0.014565558172762394 ]
[ -0.03679594397544861, -0.009757588617503643, -0.02824024297297001, -0.011613364331424236, 0.08676525950431824, -0.002989787608385086, -0.013673296198248863, 0.022036442533135414, -0.017657333984971046, -0.01297761406749487, -0.003577230731025338, -0.06827418506145477, -0.012342110276222229, 0.02593914046883583, 0.05946441367268562, 0.0033385928254574537, 0.00526047358289361, -0.11692199856042862, 0.0013173982733860612, 0.02219955064356327, -0.0059460243210196495, -0.030906308442354202, -0.02440694160759449, -0.043286051601171494, -0.0038538696244359016, 0.01229194737970829, 0.045339375734329224, -0.03236784785985947, 0.01707758568227291, -0.20288415253162384, -0.009818744845688343, -0.00164117815438658, 0.038669947534799576, 0.0015449929051101208, -0.005952936131507158, 0.039539240300655365, 0.03454708307981491, 0.03916338086128235, 0.011021621525287628, 0.005301254335790873, 0.015568331815302372, 0.006758509669452906, -0.02651255577802658, -0.036255232989788055, 0.007130764424800873, 0.01688588410615921, -0.003336216788738966, -0.018529629334807396, -0.05779198184609413, 0.007041878532618284, -0.04581180959939957, -0.026408497244119644, -0.03648165985941887, -0.01489552203565836, -0.02889183908700943, 0.061462100595235825, 0.030884448438882828, 0.04547316953539848, 0.01358712650835514, -0.0008190548978745937, 0.04554660618305206, 0.004176881164312363, -0.13530400395393372, 0.07124286144971848, 0.03861403465270996, 0.032164085656404495, -0.03810948133468628, -0.01621575839817524, -0.02246958389878273, 0.06654968112707138, -0.00711597315967083, -0.021081674844026566, -0.03114156424999237, 0.01849263720214367, 0.03187773376703262, -0.01758749596774578, -0.015306517481803894, 0.01984504982829094, -0.010044137947261333, -0.08112277835607529, 0.006227854173630476, 0.03941623866558075, -0.0004571687604766339, -0.003879534313455224, 0.00001034569231705973, 0.014819578267633915, -0.03085748665034771, 0.04309374466538429, 0.012522670440375805, 0.029468407854437828, 0.03704870492219925, -0.006620641797780991, -0.016579126939177513, 0.0004975525662302971, -0.06589177995920181, -0.0392029769718647, 0.015606165863573551, 0.04545966163277626, 0.00021140408352948725, 0.4372164309024811, -0.04218234494328499, -0.03346938267350197, 0.10152993351221085, 0.052336685359478, -0.017260702326893806, -0.026803087443113327, -0.014066259376704693, -0.026267345994710922, 0.01932135783135891, 0.011016963049769402, 0.02531987801194191, -0.016085760667920113, 0.02599153108894825, -0.03402512148022652, 0.011631662957370281, 0.002358117373660207, 0.030387554317712784, 0.02796405740082264, 0.007673412095755339, -0.03295439854264259, -0.02969890646636486, 0.0013940457720309496, 0.01799679920077324, -0.029471665620803833, -0.02056121826171875, -0.023411568254232407, 0.03532404452562332, 0.055457260459661484, 0.04965968802571297, -0.028999391943216324, 0.047733090817928314, -0.04333307966589928, -0.08240733295679092, 0.0302263293415308, -0.043244004249572754, 0.017336884513497353, 0.08904846757650375, -0.012028204277157784, 0.0029280849266797304, 0.040383320301771164, 0.024997655302286148, 0.0057716695591807365, 0.008062765933573246, 0.014386712573468685, -0.018773850053548813, 0.11432326585054398, 0.02525579184293747, -0.039623331278562546, -0.011983866803348064, -0.0256282240152359, 0.013288713991641998, 0.04602321982383728, -0.018626507371664047, -0.04537174478173256, 0.005902969278395176, 0.017417384311556816, 0.08519726246595383, -0.009039923548698425, -0.0597371831536293, 0.03271861746907234, -0.01596561074256897, -0.046609289944171906, -0.05183827504515648, 0.03957822173833847, 0.046834710985422134, -0.1132715493440628, -0.008085420355200768, 0.015582186169922352, 0.04682488366961479, -0.07133053988218307, -0.021867891773581505, 0.03605238348245621, -0.014035514555871487, 0.000600213825237006, 0.06659460067749023, -0.037541408091783524, -0.07012095302343369, 0.025148654356598854, 0.02958669140934944, 0.01990070380270481, 0.006131639704108238, -0.028865158557891846, -0.035001032054424286, 0.010431631468236446, -0.0596633180975914, -0.08623269200325012, -0.04060577228665352, 0.00468069314956665, -0.032184187322854996, 0.018420705571770668, 0.05559423938393593, -0.025039320811629295, -0.09020115435123444, 0.10391039401292801, -0.008656278252601624, -0.0029286143835633993, -0.011532659642398357, -0.012609262950718403, -0.06260426342487335, -0.01541323121637106, -0.036141809076070786, -0.015263322740793228, -0.053985800594091415, -0.004043902736157179, -0.052105117589235306, 0.054054152220487595, 0.06990747153759003, -0.006223817355930805, 0.07672381401062012, 0.04156672582030296, -0.022318750619888306, -0.0337003692984581, -0.0035586070735007524, 0.04176844283938408, 0.004846175666898489, -0.003002791665494442, 0.02725975029170513, -0.009089106693863869, 0.011031745932996273, 0.020398873835802078, 0.006899080239236355, -0.04453830048441887, -0.046915676444768906, -0.37439680099487305, -0.06061212345957756, -0.009634796530008316, 0.007350923493504524, 0.04381768777966499, -0.06021709367632866, 0.019367773085832596, 0.010385585948824883, 0.009609687142074108, 0.03264850378036499, 0.0467471219599247, 0.008859217166900635, 0.018175743520259857, -0.06543193012475967, 0.013921975158154964, -0.0025702754501253366, -0.041448645293712616, -0.002399851568043232, -0.05793587863445282, -0.012504729442298412, -0.00888753030449152, 0.014808827079832554, -0.03185952827334404, -0.04601072147488594, 0.0035908950958400965, -0.019989579916000366, 0.1266644299030304, -0.003745152149349451, 0.04168098419904709, -0.039837684482336044, 0.009244471788406372, 0.0034397966228425503, -0.018337933346629143, -0.08953435719013214, 0.0038990832399576902, -0.03143729642033577, 0.027255568653345108, -0.0008175106486305594, -0.02492341957986355, -0.035414986312389374, -0.01420532539486885, 0.004661071579903364, -0.036892667412757874, -0.008097926154732704, -0.08269807696342468, 0.02865815907716751, -0.002441186923533678, 0.006528612691909075, -0.0162518210709095, 0.08742672950029373, -0.00010598886001389474, 0.003975612577050924, 0.020513897761702538, 0.019340697675943375, -0.03521730378270149, 0.009982491843402386, -0.08196491003036499, 0.015229673124849796, -0.02382998913526535, 0.019112711772322655, 0.0069676912389695644, 0.03815080225467682, 0.048038166016340256, -0.07372159510850906, -0.006823225878179073, 0.015104415826499462, -0.004548777360469103, -0.006926464382559061, 0.05216691642999649, 0.018366463482379913, -0.026109876111149788, 0.11380725353956223, -0.03232654556632042, -0.0192152950912714, 0.04183490574359894, 0.07073793560266495, 0.016745803877711296, 0.06157467141747475, 0.028904400765895844, 0.02210335060954094, 0.02576281689107418, 0.0027407140005379915, 0.0005744350492022932, -0.027791474014520645, 0.005169225856661797, 0.053104422986507416, 0.005923594813793898, -0.08023615926504135, 0.040135160088539124, 0.022914698347449303, -0.007146802730858326, 0.005927561316639185, -0.02780976891517639, -0.07226280122995377, 0.038806553930044174, 0.008206959813833237, -0.23686730861663818, 0.015020852908492088, 0.06957431137561798, 0.05194305256009102, -0.01775806024670601, 0.01070721261203289, 0.03778127208352089, -0.028995217755436897, 0.04210398346185684, 0.0009830357739701867, 0.03150525316596031, -0.009907153435051441, 0.010076472535729408, -0.010112429969012737, -0.011424641124904156, -0.027669908478856087, 0.0609130784869194, 0.009624887257814407, 0.03535669296979904, 0.003746178699657321, 0.002097082557156682, -0.03448006883263588, 0.15066127479076385, 0.030884969979524612, 0.008956496603786945, -0.004508225712925196, -0.02265753597021103, -0.012151669710874557, 0.015449530445039272, -0.011157305911183357, 0.01722332462668419, -0.006990705616772175, 0.005178034771233797, 0.0008528443286195397, 0.023063862696290016, -0.03951417654752731, -0.053253188729286194, 0.04734246805310249, 0.048392392694950104, -0.011631689965724945, 0.04062812030315399, 0.01844312809407711, -0.036551520228385925, 0.014432666823267937, 0.06672626733779907, 0.04019106924533844, 0.02529347687959671, 0.006090570706874132, -0.06048686429858208, -0.026926478371024132, -0.033394575119018555, -0.055247291922569275, 0.0025916818995028734, 0.007101081777364016, 0.027485134080052376, 0.05640740320086479, 0.009552429430186749, -0.014509866014122963, 0.04097355902194977, 0.015933239832520485, -0.013738546520471573, -0.031209830194711685, 0.0636533573269844, 0.010232728905975819, 0.026898609474301338 ]
[ 0.0220837090164423, -0.009882546961307526, 0.04204104095697403, 0.019917797297239304, 0.045011915266513824, 0.0021182072814553976, -0.009726469404995441, 0.024187063798308372, -0.008191860280930996, 0.0024620431941002607, -0.00013705570017918944, 0.03664253279566765, 0.04378430172801018, 0.017512643709778786, 0.011049926280975342, 0.020311830565333366, -0.00018281309166923165, -0.025242652744054794, 0.024686232209205627, 0.0005065521108917892, -0.0229803416877985, -0.04919647425413132, -0.0025061527267098427, -0.03553040698170662, 0.012603957206010818, 0.030614357441663742, -0.012974206358194351, 0.007989502511918545, 0.03343242034316063, -0.13269683718681335, -0.04747024178504944, -0.029639771208167076, -0.03784055635333061, -0.0000651274822303094, -0.011496713384985924, 0.008152519352734089, 0.012214160524308681, -0.006633296143263578, -0.002896067686378956, -0.0045465403236448765, -0.0021982546895742416, -0.0031726164743304253, 0.011055701412260532, 0.014381964690983295, 0.0038761545438319445, 0.0004103205574210733, 0.023938270285725594, -0.022680707275867462, -0.027201060205698013, -0.016080738976597786, -0.07385356724262238, -0.01967877522110939, -0.02486260049045086, 0.008450762368738651, -0.013059429824352264, 0.02515093795955181, 0.0010566751006990671, -0.022584093734622, -0.0019064333755522966, 0.0001034838569466956, -0.0029170892667025328, 0.011323153972625732, -0.04950256645679474, -0.014450053684413433, 0.0017909426242113113, 0.00231708656065166, -0.02243879623711109, 0.003668689401820302, 0.013007796369493008, 0.00984848104417324, -0.021279163658618927, 0.026147956028580666, -0.020191865041851997, -0.04331035166978836, 0.007318615913391113, 0.03172960504889488, -0.009883303195238113, -0.011903339996933937, -0.01764892041683197, -0.06611805409193039, 0.00037863923353143036, 0.020871926099061966, -0.0003384798183105886, 0.04107130318880081, 0.029214486479759216, -0.007717551197856665, -0.018030261620879173, 0.008337411098182201, -0.007138534914702177, 0.010733168572187424, -0.03226388245820999, 0.015566972084343433, -0.006652741692960262, 0.028353065252304077, -0.08380067348480225, -0.018595831468701363, -0.009007859043776989, -0.011225458234548569, -0.026414940133690834, 0.8341489434242249, -0.007683004252612591, -0.0033401893451809883, 0.04512941837310791, -0.0022683667484670877, 0.004930906929075718, -0.025155900046229362, 0.0133432038128376, -0.0003461170708760619, -0.02900632657110691, -0.02911539189517498, 0.021643182262778282, 0.006197408773005009, 0.003688344731926918, 0.013757249340415001, 0.0136466259136796, -0.003658563131466508, -0.0062011596746742725, -0.0027889341581612825, -0.017627909779548645, 0.00966678000986576, 0.023112736642360687, 0.00027100942679680884, -0.011179386638104916, -0.00713618379086256, 0.012709823437035084, -0.22162823379039764, -0.018355155363678932, -7.793465832498348e-33, 0.06052460893988609, 0.0013368920190259814, 0.028841106221079826, -0.00687395827844739, 0.004536860156804323, -0.0016365479677915573, -0.01892346516251564, -0.011644940823316574, -0.026404710486531258, 0.0076888673938810825, -0.007445588707923889, 0.0035122307017445564, -0.023671355098485947, 0.02178722247481346, 0.04155060276389122, 0.007071384694427252, 0.03655596822500229, 0.028552774339914322, -0.04639456421136856, 0.018997672945261, 0.006506569683551788, 0.019209079444408417, -0.018260452896356583, -0.0034741030540317297, 0.014718400314450264, 0.03351312875747681, 0.022588694468140602, 0.031041063368320465, -0.011898726224899292, -0.042111702263355255, -0.014501671306788921, 0.052899688482284546, 0.004868794698268175, -0.0077029503881931305, 0.0034896074794232845, -0.06401678174734116, -0.0470750667154789, 0.0034747738391160965, -0.013379317708313465, 0.009545575827360153, -0.02938358671963215, 0.012982707470655441, -0.03618466481566429, 0.004197260364890099, -0.018354171887040138, 0.03362078592181206, 0.02310025319457054, 0.01200294028967619, -0.0071149771101772785, 0.008032123558223248, 0.020823681727051735, -0.012702276930212975, -0.019511615857481956, 0.02383628487586975, 0.0012173921568319201, 0.018066206946969032, -0.010858399793505669, 0.003674064762890339, 0.01104939728975296, 0.013719926588237286, 0.0093930559232831, 0.0019042524509131908, 0.0012914648978039622, 0.053061287850141525, -0.030137836933135986, 0.01466651912778616, 0.03758678212761879, 0.012568985112011433, -0.024300456047058105, -0.009253374300897121, -0.07195871323347092, 0.03883984312415123, 0.01291915774345398, -0.04097818210721016, 0.015894928947091103, -0.008876576088368893, -0.003948606550693512, 0.026836402714252472, 0.018351256847381592, 0.05520200356841087, -0.016142364591360092, -0.04033306613564491, 0.0254210215061903, -0.04392543062567711, -0.02958274446427822, 0.008154905401170254, 0.0479918047785759, 0.03162819892168045, -0.0195627398788929, 0.011688618920743465, 0.035998571664094925, 0.020708903670310974, -0.01906043104827404, -0.03334478288888931, -0.027278639376163483, 7.983729878754505e-33, -0.002653127070516348, 0.0037296018563210964, -0.005163413006812334, -0.008719727396965027, 0.00472537986934185, 0.00007034311420284212, 0.05031596124172211, 0.012453988194465637, -0.03296210244297981, 0.030664125457406044, -0.014563960954546928, -0.003448941046372056, -0.029211224988102913, 0.043683189898729324, 0.034737639129161835, -0.03033953532576561, 0.03476475924253464, -0.015896610915660858, -0.02272135205566883, 0.011530310846865177, 0.0020238570868968964, -0.0031401480082422495, 0.007401910610496998, -0.005715338513255119, 0.009894587099552155, 0.07410106062889099, 0.013634705916047096, 0.019535893574357033, -0.027455007657408714, 0.01208134088665247, -0.011034077033400536, -0.010728769935667515, 0.020208684727549553, -0.039928022772073746, -0.011018956080079079, 0.04103117436170578, 0.008578884415328503, -0.025468610227108, -0.022227341309189796, 0.03861711174249649, -0.0013222488341853023, 0.004924234468489885, -0.007618144620209932, 0.010386142879724503, -0.012470213696360588, 0.0018047998892143369, -0.014256712980568409, -0.024804161861538887, -0.018212854862213135, 0.010365559719502926, 0.011654572561383247, 0.025545615702867508, -0.0027248517144471407, 0.0030007672030478716, 0.014801769517362118, -0.04667634516954422, -0.03179648518562317, 0.05370178818702698, 0.027372736483812332, -0.00024340623349417, -0.00436613941565156, -0.00801665149629116, -0.050586920231580734, -0.004379184916615486, -0.023105762898921967, -0.000177034642547369, 0.016696810722351074, 0.00783196184784174, 0.006969787180423737, -0.01825880818068981, 0.0169963538646698, -0.0008409166475757957, 0.01281585730612278, 0.04401149973273277, 0.051130205392837524, -0.03289200738072395, -0.0037369129713624716, 0.004993032198399305, 0.0014789379201829433, 0.03330521658062935, 0.029062556102871895, -0.011703021824359894, 0.011671824380755424, 0.013937702402472496, 0.005735151935368776, 0.052476923912763596, -0.02446206845343113, 0.02729005180299282, 0.01931934431195259, -0.050011780112981796, 0.009138043969869614, -0.037534501403570175, -0.028233841061592102, 0.04131598025560379, 0.03012528270483017, -1.3124516584639423e-8, -0.029937852174043655, -0.029223881661891937, 0.02127247117459774, -0.0213283933699131, 0.015925277024507523, -0.008742769248783588, -0.002997562987729907, 0.04539257287979126, 0.0037526520900428295, 0.01307014562189579, 0.03899310529232025, -0.044860683381557465, -0.015712488442659378, 0.00734604662284255, -0.004055317956954241, -0.030383901670575142, 0.005295058246701956, -0.020224345847964287, 0.024944474920630455, 0.017936747521162033, -0.015144447796046734, 0.03588293120265007, -0.00903322547674179, 0.0003627263067755848, 0.011187739670276642, 0.0067688836716115475, -0.01687541790306568, -0.09870313107967377, -0.03188902884721756, -0.014873258769512177, 0.0331544354557991, -0.026721162721514702, 0.004259588196873665, 0.012137200683355331, -0.026488447561860085, -0.028583621606230736, 0.021195733919739723, 0.02275337278842926, -0.0032759360037744045, 0.004714254755526781, -0.01375446654856205, -0.0040365662425756454, 0.004256146028637886, -0.016196558251976967, -0.0007761121960356832, 0.020024629309773445, -0.0011270400136709213, -0.03266698122024536, -0.003236306132748723, -0.016598807647824287, -0.009280490688979626, -0.01781066134572029, 0.00861379411071539, 0.04606875404715538, 0.009100823663175106, -0.0485987663269043, 0.04286530613899231, 0.015092453919351101, -0.028060024604201317, 0.04482821747660637, 0.02403782494366169, 0.005799975246191025, -0.021517744287848473, -0.023650728166103363 ]
data-visualisation-is-interesting-enough
https://markhneedham.com/blog/2012/07/08/data-visualisation-is-interesting-enough
false
2012-07-08 21:55:53
ganglia: Importing gmond Python modules
[ "software-development" ]
[ "Software Development" ]
My colleague http://www.linkedin.com/pub/shodhan-sheth/2/277/287[Shohdan] and I spent a couple of days last week wiring up various monitoring metrics into ganglia and while most of them come built in, we also http://www.mail-archive.com/[email protected]/msg06458.html[found some] https://github.com/ganglia/gmond_python_modules[python based modules that we wanted to use]. Unfortunately we couldn't find any instructions on github explaining how to set them up but after a bit of trial and error we figured it out. One of the modules that we wanted to use was https://github.com/ganglia/gmond_python_modules/tree/master/diskstat[diskstat] which provides I/O wait time metrics which we couldn't find in the built in modules. The first thing we needed to do was enable the Python module which comes built in with ganglia: /etc/ganglia/gmond.conf [source,text] ---- modules { module { name = "core_metrics" } ... module { name = "python_module" path = "/usr/lib/ganglia/modpython.so" params = "/usr/lib/ganglia/python_modules/" } } ---- As part of this we had to point the module at the folder location where we'd be putting the python modules - the 'params' argument. In this case we put https://github.com/ganglia/gmond_python_modules/blob/master/diskstat/python_modules/diskstat.py[diskstat.py] into that folder. [source,text] ---- $ ls -alh /usr/lib/ganglia/python_modules/ total 52K drwxr-xr-x 2 root root 4.0K 2012-07-06 01:49 . drwxr-xr-x 3 root root 4.0K 2012-07-03 08:27 .. -rw-r--r-- 1 mneedham mneedham 15K 2012-07-03 08:28 diskstat.py -rw-r--r-- 1 root root 12K 2012-07-03 09:00 diskstat.pyc ---- We also needed to add the https://github.com/ganglia/gmond_python_modules/blob/master/diskstat/conf.d/diskstat.pyconf[diskstat.pyconf] configuration file so that ganglia knows which metrics to measure. We were having problems with the 'name_match' wildcard property and ended up listing the metrics individually: /etc/ganglia/conf.d/diskstat.pyconf [source,text] ---- modules { module { name = 'diskstat' language = 'python' param devices { value = 'sda1' } } } collection_group { collect_every = 30 time_threshold = 30 metric { name = "diskstat_sda1_io_time" } ... } ---- The last step was to edit gmond.conf again to pick up the python configuration files: /etc/ganglia/gmond.conf [source,text] ---- include ('/etc/ganglia/conf.d/*.conf') # add this line include ('/etc/ganglia/conf.d/*.pyconf') ---- There are a bunch of other modules for different tools in the repository and we've followed the above approach for installation of them as well.
null
null
[ 0.017113449051976204, -0.01108908373862505, -0.013558668084442616, 0.049106989055871964, 0.09317150712013245, 0.02753286622464657, -0.007235055789351463, 0.025981547310948372, -0.0012187846004962921, -0.015301927924156189, -0.014795077033340931, 0.0059159924276173115, -0.06803613156080246, 0.02131083235144615, -0.009910005144774914, 0.07137471437454224, 0.07358894497156143, -0.012768580578267574, 0.006553144659847021, 0.0016619155649095774, 0.04142821580171585, 0.0535782054066658, 0.007157651241868734, 0.026252584531903267, -0.010463234037160873, 0.016814636066555977, 0.0405663326382637, 0.009798469953238964, -0.055999867618083954, -0.0447407029569149, 0.03182109445333481, -0.01896318420767784, 0.028441298753023148, 0.006287319585680962, 0.04088979214429855, 0.007523071486502886, -0.025195177644491196, 0.0336637943983078, 0.010821174830198288, 0.021776847541332245, -0.05405806750059128, 0.03862185776233673, -0.028419150039553642, 0.034982454031705856, -0.049393121153116226, 0.022518416866660118, -0.031864941120147705, 0.024973943829536438, 0.020215444266796112, 0.005278205499053001, -0.05665569379925728, 0.03970969840884209, -0.030928250402212143, -0.02178698405623436, -0.005658754147589207, 0.05662262812256813, 0.017847035080194473, -0.07842015475034714, 0.010538904927670956, -0.02860906906425953, -0.009039876982569695, -0.016069525852799416, -0.010429693385958672, 0.03308698162436485, 0.03986092656850815, 0.004145285114645958, 0.01588314212858677, 0.0334685854613781, -0.044702839106321335, -0.0022367278579622507, 0.002796152839437127, 0.011607822962105274, -0.025075536221265793, 0.009845967404544353, 0.0018984131747856736, -0.045944832265377045, -0.02402840182185173, 0.05791853740811348, 0.0016405993374064565, 0.043661002069711685, -0.026736067607998848, -0.004129339009523392, 0.0016591668827459216, 0.02336261048913002, -0.01680593378841877, -0.04225235432386398, -0.04209595546126366, 0.01030848827213049, -0.05889623239636421, 0.07452961057424545, 0.011911039240658283, -0.05465121194720268, 0.050557054579257965, 0.009912196546792984, -0.0033218851312994957, 0.000001138082211582514, 0.03588744252920151, 0.0033057816326618195, 0.013301297090947628, 0.0005558754783123732, -0.042834848165512085, -0.011360079981386662, 0.0012586935190483928, 0.03639102727174759, -0.0805942714214325, -0.004104517865926027, -0.012543726712465286, -0.014215786010026932, -0.03055299073457718, 0.007402651011943817, -0.022615110501646996, 0.017212290316820145, -0.035767100751399994, 0.002866612747311592, -0.08907750993967056, 0.08602986484766006, 0.01778099685907364, -0.048356395214796066, -0.018931375816464424, 0.021562758833169937, 0.049618035554885864, 0.027965908870100975, -0.01669476367533207, 0.0701109766960144, 0.03242193162441254, 0.02459055744111538, -0.002717583905905485, 0.04843294247984886, -0.016902655363082886, -0.04047299176454544, -0.023414624854922295, 0.05789395421743393, -0.015941072255373, 0.011879801750183105, 0.0056836484000086784, -0.027033191174268723, -0.0026376789901405573, 0.028083402663469315, 0.055336859077215195, 0.04763450101017952, -0.0033717285841703415, -0.04623332619667053, -0.012110447511076927, 0.015532158315181732, 0.03217153623700142, 0.023117365315556526, 0.004272434860467911, -0.05580971762537956, -0.032923661172389984, -0.012390374206006527, -0.014439106918871403, 0.01573781855404377, 0.0600222609937191, -0.03678666800260544, 0.019221225753426552, 0.08061740547418594, 0.03835451602935791, 0.016442565247416496, -0.03476069122552872, 0.01783032715320587, 0.019307216629385948, 0.020364006981253624, -0.033953458070755005, 0.04815558344125748, 0.004871472250670195, -0.020395120605826378, 0.008187790401279926, 0.023218251764774323, 0.011213421821594238, -0.01394086517393589, -0.07188219577074051, -0.0725342258810997, 0.0639580637216568, -0.02818852849304676, -0.030128411948680878, 0.03414381295442581, 0.10229075700044632, 0.01346608530730009, 0.02116045355796814, -0.00982315931469202, -0.08596107363700867, 0.039568085223436356, -0.009494926780462265, 0.02621825970709324, 0.03852766752243042, -0.01947794482111931, 0.0931326225399971, -0.022357171401381493, 0.005834574811160564, 0.03464975953102112, -0.08328605443239212, -0.08079446107149124, 0.009747027419507504, 0.0045898230746388435, 0.05850930139422417, -0.03809148445725441, 0.00728027056902647, 0.07702919840812683, 0.008621590211987495, 0.033983469009399414, -0.003268322441726923, -0.007512314710766077, -0.008740411140024662, -0.043939508497714996, -0.06311504542827606, 0.05742133408784866, 0.008684714324772358, -0.027784107252955437, -0.0030228218529373407, 0.0004217778332531452, -0.028164969757199287, -0.03291182219982147, 0.058209579437971115, -0.059382446110248566, 0.038427021354436874, 0.033904511481523514, 0.04581024497747421, -0.04484798014163971, 0.043797384947538376, -0.045625898987054825, -0.004299846477806568, -0.023281021043658257, -0.020603924989700317, -0.01148169208317995, -0.001444325316697359, 0.11221536248922348, 0.08735866844654083, -0.01134961936622858, -0.06216905266046524, 0.05103316903114319, 0.010865718126296997, -0.0622946098446846, 0.006433045957237482, 0.025257596746087074, -0.014668491668999195, 0.032330915331840515, -0.041061680763959885, -0.060435403138399124, -0.005665650125592947, -0.040336355566978455, 0.022122429683804512, 0.07185444235801697, -0.022224582731723785, 0.05269927158951759, 0.011702753603458405, -0.01729845441877842, 0.0032710821833461523, -0.015404069796204567, -0.06653410196304321, -0.007885165512561798, 0.026911674067378044, -0.008417462930083275, 0.05551282316446304, -0.015029951930046082, -0.03414386138319969, -0.04838968440890312, -0.04150013253092766, 0.03190439194440842, 0.05130736902356148, 0.059421103447675705, -0.0004931891453452408, 0.036874305456876755, -0.018208475783467293, 0.014311646111309528, -0.02178295888006687, -0.034244801849126816, -0.04538009688258171, -0.024088647216558456, 0.009014506824314594, 0.016139470040798187, 0.01987677440047264, 0.015703776851296425, -0.005858934950083494, 0.007084265351295471, 0.03321807086467743, 0.016640348359942436, 0.025291409343481064, -0.03856651857495308, -0.015265808440744877, -0.04520465433597565, -0.024665039032697678, 0.054413191974163055, -0.052518296986818314, -0.005288921762257814, 0.011538682505488396, -0.0697137713432312, 0.045389220118522644, -0.08235076814889908, -0.0010319476714357734, 0.011261353269219398, -0.009149548597633839, 0.04281666874885559, 0.013257192447781563, 0.028742685914039612, 0.050940003246068954, 0.006205487996339798, 0.0012663700617849827, 0.016103046014904976, 0.007528284564614296, 0.03806036710739136, -0.01290937140583992, 0.009432695806026459, 0.034197673201560974, 0.017519721761345863, -0.029840698465704918, -0.05537046119570732, -0.002837118459865451, -0.047830890864133835, -0.2883518636226654, 0.046358171850442886, -0.010340205393731594, -0.049513254314661026, 0.005437136627733707, 0.016761552542448044, 0.000857619394082576, -0.049937132745981216, -0.030111325904726982, -0.004197273403406143, -0.03226165100932121, -0.057357992976903915, 0.001536025432869792, 0.05160679295659065, 0.009317588992416859, 0.0279594324529171, -0.020041383802890778, -0.01780671253800392, 0.01381251122802496, 0.034319210797548294, -0.002542755799368024, -0.048746224492788315, -0.009951302781701088, 0.04177326336503029, 0.009821878746151924, 0.05171758681535721, -0.0727677047252655, 0.04232512786984444, -0.07120643556118011, -0.01421370729804039, -0.005616783630102873, -0.03811974823474884, -0.02305128611624241, -0.011034482158720493, -0.01354990154504776, -0.036236099898815155, 0.017467159777879715, -0.007039357908070087, 0.0011921593686565757, -0.005737431347370148, -0.029085785150527954, -0.008797924965620041, -0.0012171746930107474, -0.009609266184270382, 0.09522506594657898, -0.0026705118361860514, -0.08214453607797623, -0.025896819308400154, -0.031026512384414673, 0.07512283325195312, -0.028267864137887955, -0.03749837726354599, -0.028915781527757645, 0.028291285037994385, -0.036913443356752396, -0.0029808091931045055, 0.010153708979487419, -0.0014550852356478572, -0.03518511727452278, -0.052056584507226944, -0.010830847546458244, -0.02412218227982521, -0.01678391359746456, -0.05919202044606209, -0.014733166433870792, -0.03620396926999092, -0.0449008010327816, -0.026073124259710312, 0.04784489795565605, 0.02488756738603115, -0.0480375811457634, 0.015148114413022995, -0.016791198402643204, -0.10725463926792145, -0.007165310904383659, -0.01725573092699051, -0.0511702299118042, -0.000050692200602497905, -0.006440333556383848, 0.05238820239901543, -0.05018880218267441, -0.06432252377271652, 0.021426238119602203, 0.002264880109578371, -0.0009935862617567182, -0.021528175100684166, 0.017101436853408813, -0.010852445848286152, -0.018858816474676132, 0.010031662881374359, 0.05409949645400047, -0.02690993994474411, -0.01241504866629839, 0.003396051237359643, -0.00442076288163662, 0.01674974337220192, 0.01730877161026001, 0.026573821902275085, 0.023253176361322403, 0.054355718195438385, 0.02263828180730343, -0.07403092086315155, -0.0069228122010827065, -0.03779323399066925, -0.03199052810668945, -0.0017657256685197353, -0.04789485037326813, 0.0037474846467375755, 0.03885526955127716, 0.00043445496703498065, -0.008123725652694702, -0.01769215613603592, 0.039478328078985214, -0.05199829488992691, -0.018940690904855728, 0.007202742155641317, 0.011058302596211433, 0.012732499279081821, 0.0335121713578701, 0.004944163374602795, -0.06970036774873734, 0.0018752263858914375, -0.004088393412530422, -0.025196382775902748, -0.05206978693604469, -0.013819406740367413, 0.007845943793654442, -0.02457546442747116, 0.03978881984949112, 0.007547741290181875, -0.027624720707535744, 0.0350828655064106, 0.031950242817401886, -0.035006605088710785, 0.0076117487624287605, -0.04030279442667961, -0.05318984016776085, -0.02125464379787445, 0.02238992229104042, 0.0050404914654791355, -0.03142043948173523, 0.030947327613830566, 0.028445998206734657, 0.022541621699929237, 0.0562245212495327, 0.003225045744329691, 0.018091285601258278, 0.011540908366441727, 0.012205898761749268, 0.000570276693906635, 0.0177227221429348, -0.04250846430659294, 0.03350568935275078, -0.03271738439798355, -0.012338732369244099, -0.02368125692009926, 0.04322786629199982, 0.010651294142007828, -0.02718222141265869, -0.029002120718359947, 0.019753428176045418, -0.03554728254675865, 0.00630989670753479, -0.020745892077684402, -0.0037392505910247564, 0.06400588154792786, 0.01891705021262169, 0.005075810477137566, -0.0009394518565386534, 0.037524640560150146, 0.023952804505825043, 0.03836515545845032, -0.002037250669673085, -0.0031604496762156487, -0.030751321464776993, 0.019450288265943527, 0.00990261696279049, 0.039354097098112106, 0.02494215779006481, 0.01575467735528946, -0.018861547112464905, -0.019283181056380272, 0.0024914133828133345, 0.014571810141205788, 0.03051568754017353, 0.019222578033804893, -0.025363178923726082, -0.01059644389897585, -0.001330885337665677, 0.0027738623321056366, -0.02946569211781025, 0.019968949258327484, -0.011260290630161762, 0.025092514231801033, -0.025217099115252495, -0.0838140919804573, 0.040949612855911255, 0.015494221821427345, -0.012222498655319214, -0.0025609456934034824, -0.03173007071018219, -0.005144309718161821, -0.015871211886405945, 0.05429571494460106, 0.06966681778430939, -0.06576695293188095, -0.002389232162386179, -0.006091323681175709, 0.022022735327482224, 0.019740642979741096, 0.0026981260161846876, -0.034830242395401, -0.02381284348666668, -0.017559928819537163, 0.029586534947156906, -0.04681248590350151, -0.04413503780961037, -0.03034926764667034, -0.010275838896632195, 0.0003897929273080081, -0.0038958019576966763, -0.0022673436906188726, 0.001552434405311942, 0.0004618371312972158, -0.04714827239513397, 0.024652762338519096, -0.0008867327123880386, 0.003539098659530282, 0.0036232457496225834, -0.013991769403219223, 0.011570004746317863, -0.03168689087033272, 0.03425085172057152, 0.025706104934215546, -0.016931677237153053, 0.008994974195957184, -0.031614888459444046, 0.0013218995882198215, -0.03246669843792915, 0.03856745734810829, 0.020234806463122368, 0.00044182525016367435, -0.025857852771878242, 0.019040483981370926, -0.029145529493689537, -0.0016807510983198881, -0.005883423611521721, -0.027068598195910454, 0.013209275901317596, 0.047679491341114044, 0.014581134542822838, 0.014632615260779858, -0.01828772947192192, -0.024547554552555084, 0.04918467998504639, -0.05895064398646355, -0.03509389981627464, -0.01081621553748846, -0.02464606799185276, 0.01723366416990757, 0.02510455995798111, 0.02742152102291584, -0.058158956468105316, 0.04780292510986328, 0.019843321293592453, 0.034058041870594025, 0.0598030686378479, -0.010399647988379002, 0.03582090511918068, -0.040672667324543, -0.02137775532901287, -0.07700774818658829, -0.004307765047997236, 0.007525814697146416, -0.0019086647080257535, -0.03791984170675278, 0.014876166358590126, -0.029713736847043037, 0.031086353585124016, -0.08259761333465576, -0.03575943410396576, 0.034493330866098404, 0.009472295641899109, -0.02082405425608158, 0.015996728092432022, -0.044889215379953384, 0.029471857473254204, 0.04958629980683327, -0.03495808690786362, 0.01952267624437809, -0.00911305658519268, 0.05857042595744133, 0.015148667618632317, 0.015198159031569958, -0.023259256035089493, -0.0165562704205513, 0.08962802588939667, 0.03254726529121399, -0.0040873074904084206, 0.03434751555323601, -0.0005663320771418512, 0.024891629815101624, 0.0433322973549366, -0.008312474936246872, -0.02158985659480095, 0.01702897436916828, -0.013487198390066624, -0.07213668525218964, 0.035690128803253174, 0.0009330451721325517, 0.0027384504210203886, -0.03546140715479851, 0.050915081053972244, 0.01434902660548687, -0.045436885207891464, -0.07018425315618515, 0.0156872496008873, -0.046443067491054535, -0.010368416085839272, -0.02387094870209694, -0.010488172993063927, -0.04886588454246521, 0.06457354873418808, -0.012509182095527649, 0.005111216101795435, 0.048908527940511703, -0.020591147243976593, -0.014094707556068897, 0.046884093433618546, 0.0924406349658966, 0.06920124590396881, 0.015917090699076653, 0.02064475789666176, 0.07016060501337051, -0.02735528163611889, -0.04153887555003166, 0.006316462066024542, -0.021678978577256203, -0.0001363893097732216, -0.0053428588435053825, 0.01457178220152855, 0.059584710747003555, -0.007088561542332172, 0.06619499623775482, -0.03223985433578491, 0.023667708039283752, -0.024916021153330803, 0.002187177073210478, 0.0035569544415920973, 0.05463271215558052, -0.00682802964001894, 0.04447828233242035, -0.03615453466773033, -0.024628037586808205, 0.013669412583112717, -0.015787523239850998, -0.020115941762924194, 0.03133789822459221, -0.0026286630891263485, 0.01507170032709837, 0.013662378303706646, 0.02911863476037979, 0.07190730422735214, -0.03109639510512352, -0.012844610027968884, 0.0055400594137609005, 0.05130299925804138, 0.01007178146392107, 0.018150825053453445, -0.024694031104445457, 0.006537511944770813, -0.00833258405327797, -0.038107242435216904, -0.011531373485922813, -0.014286503195762634, -0.020647769793868065, 0.029976461082696915, -0.002669397508725524, -0.0006492827669717371, 0.009507793933153152, -0.016810931265354156, -0.00829234253615141, -0.022627998143434525, -0.03202730789780617, -0.03575197979807854, -0.053223032504320145, 0.00433460995554924, 0.00830057729035616, -0.008642825298011303, -0.024384552612900734, -0.027293100953102112, -0.003966267220675945, -0.0164959654211998, -0.004567383322864771, -0.041996296495199203, -0.032583896070718765, 0.0007128178840503097, 0.022066988050937653, -0.0008311478304676712, 0.012267263606190681, 0.07224579900503159, -0.009282255545258522, -0.013509814627468586, -0.007977955043315887, 0.026970406994223595, 0.0364973284304142, -0.012404968962073326, 0.007834131829440594, -0.059914808720350266, 0.021300697699189186, 0.018320554867386818, -0.009767433628439903, -0.07175598293542862, 0.028797442093491554, 0.06387139856815338, 0.011392120271921158, 0.058464813977479935, -0.016355648636817932, -0.05269840732216835, -0.05146338418126106, -0.01524526160210371, 0.003975492902100086, -0.0011280549224466085, 0.03597220033407211, 0.0028874773997813463, 0.08408543467521667, 0.05963919684290886, -0.014205235987901688, 0.0033652789425104856, -0.019193697720766068, -0.0007739655557088554, 0.013172358274459839, -0.05093596875667572, -0.028886403888463974, -0.030086571350693703, -0.09152133762836456, -0.0334351621568203, -0.0033583217300474644, -0.027071915566921234, -0.02381919138133526, 0.012566647492349148, -0.00665710074827075, -0.002065973589196801, 0.019875559955835342, -0.03878968581557274, -0.010991654358804226, -0.02284071035683155, -0.019746435806155205, -0.006661057006567717, 0.047059785574674606, 0.013196649961173534, 0.0009096979629248381, 0.052880819886922836, -0.045952219516038895, -0.012439694255590439, 0.0025507521349936724, 0.03361004963517189, 0.05050300806760788, -0.005737422965466976, 0.018695136532187462 ]
[ -0.07977909594774246, -0.020894652232527733, 0.010795037262141705, -0.04363074526190758, 0.07187895476818085, -0.06379711627960205, -0.0261507797986269, 0.02430979534983635, -0.00042523618321865797, -0.0283769853413105, 0.007109987549483776, -0.09801479429006577, 0.004494612570852041, -0.014335550367832184, 0.05989563837647438, -0.0315152183175087, -0.0019669830799102783, -0.042067721486091614, 0.004162892699241638, 0.0207098126411438, 0.0001804480707505718, -0.03916022181510925, -0.042599331587553024, -0.042665645480155945, 0.009943763725459576, 0.045877605676651, 0.04388917237520218, -0.021619366481900215, -0.024070125073194504, -0.20292967557907104, 0.046953897923231125, -0.04319043830037117, 0.02742709591984749, -0.012370681390166283, 0.0027803967241197824, 0.02926473133265972, 0.02343624085187912, 0.0057855816558003426, -0.006564747542142868, 0.023712540045380592, 0.04564465209841728, 0.01551842037588358, -0.07569204270839691, 0.00922879297286272, 0.011516117490828037, -0.035474784672260284, -0.009603459388017654, -0.009139529429376125, -0.003682441310957074, -0.011968614533543587, -0.047574929893016815, 0.01652994006872177, -0.01972382701933384, -0.01733832247555256, -0.017584476619958878, -0.006338245235383511, 0.06144876033067703, 0.06111195683479309, 0.03876790404319763, -0.005338907707482576, 0.006942128296941519, -0.010309506207704544, -0.14746993780136108, 0.08571440726518631, 0.007259009405970573, 0.021519064903259277, -0.022754037752747536, -0.06045365333557129, -0.03542976453900337, 0.06546220928430557, -0.023320207372307777, -0.026851586997509003, -0.051387719810009, 0.06194750964641571, 0.0036597028374671936, -0.01693693920969963, 0.0054195234552025795, 0.02873493731021881, 0.048912033438682556, -0.010367032140493393, -0.030683446675539017, 0.010059050284326077, -0.03376753255724907, -0.016391651704907417, -0.013591011054813862, 0.006234185770153999, -0.017690105363726616, 0.07487216591835022, 0.02146240696310997, 0.014973951503634453, 0.02303369902074337, -0.007324140053242445, 0.02202582359313965, 0.026534197852015495, -0.081036776304245, -0.011926325038075447, -0.0033423120621591806, 0.04287232458591461, -0.03480121120810509, 0.44085192680358887, -0.014868863858282566, -0.01932060904800892, 0.0480448454618454, 0.066949263215065, 0.024196624755859375, 0.002083264524117112, 0.003930340521037579, -0.04913221299648285, 0.0005886299186386168, -0.01998754031956196, 0.04618767276406288, -0.022756444290280342, 0.05448082834482193, -0.044316910207271576, 0.03296973183751106, 0.027121802791953087, -0.014079361222684383, -0.0013110447907820344, -0.007512368261814117, 0.02043982222676277, -0.02691749483346939, -0.012084461748600006, 0.0471368208527565, 0.0013321815058588982, 0.041762541979551315, 0.022919530048966408, 0.03742464259266853, 0.03893071785569191, 0.028363417834043503, 0.03007165528833866, 0.0543050616979599, -0.04580831155180931, -0.09111861139535904, 0.00885383877903223, 0.03620963916182518, 0.01282798033207655, 0.06831464171409607, -0.04278814420104027, 0.0152536416426301, 0.02121446467936039, -0.011237584054470062, -0.058327268809080124, 0.04456649348139763, 0.0018314182525500655, -0.01839379034936428, 0.12716875970363617, 0.011629579588770866, -0.035349041223526, -0.018532900139689445, -0.02970176935195923, -0.0015973143745213747, 0.040061675012111664, 0.018821148201823235, -0.0671425610780716, 0.007091899402439594, 0.04551274701952934, 0.07616881281137466, -0.007744183763861656, -0.04802869260311127, -0.010498953983187675, -0.04747970029711723, -0.05859322473406792, -0.02597694844007492, 0.05694691091775894, 0.0640256330370903, -0.12154978513717651, -0.01846286468207836, 0.04116091877222061, 0.012863708660006523, -0.05719119682908058, 0.026648595929145813, 0.016291212290525436, -0.01527484506368637, -0.030888155102729797, 0.05208118259906769, -0.061753202229738235, -0.026340464130043983, 0.028817404061555862, 0.038973476737737656, -0.008132707327604294, -0.012624966911971569, 0.03419483080506325, -0.03172723203897476, -0.002912787487730384, -0.038818106055259705, -0.07099349796772003, -0.0631805807352066, 0.0031268410384655, -0.022586099803447723, -0.028122538700699806, -0.021427374333143234, -0.021427303552627563, -0.0677599087357521, 0.0507875457406044, -0.007562319748103619, -0.03234120085835457, -0.00262459903024137, 0.00803866796195507, -0.03222015127539635, -0.009087187238037586, -0.00003552259295247495, 0.011306296102702618, -0.01641385816037655, 0.05075347051024437, -0.05374669283628464, 0.04081282764673233, 0.02993423491716385, -0.02674679085612297, 0.07323961704969406, 0.039830680936574936, 0.0016986922128126025, -0.036972299218177795, 0.003051701933145523, 0.009078449569642544, -0.03096669539809227, 0.00019307750335428864, -0.020037101581692696, -0.029959004372358322, 0.020471669733524323, 0.041524846106767654, -0.00562677625566721, -0.0015489154029637575, -0.03781208023428917, -0.35705092549324036, -0.029937133193016052, -0.023129573091864586, 0.016639230772852898, 0.049485839903354645, -0.04090612381696701, 0.03147589787840843, -0.008607493713498116, -0.04166214540600777, 0.0016765949549153447, 0.1290120780467987, 0.00044484235695563257, 0.017556222155690193, -0.09004928916692734, -0.00970818754285574, 0.044583432376384735, -0.0466184988617897, -0.017646612599492073, -0.036923740059137344, 0.007426119409501553, 0.01692133955657482, -0.019148405641317368, -0.036864377558231354, -0.017844954505562782, -0.02000580169260502, -0.03917326405644417, 0.11572092771530151, 0.0031804281752556562, 0.08469308912754059, -0.03577053174376488, 0.025055784732103348, -0.008179312571883202, 0.025458553805947304, -0.0787353664636612, -0.011754382401704788, -0.006627093534916639, -0.007131952792406082, 0.013831822201609612, 0.009306447580456734, -0.030095241963863373, -0.048432204872369766, 0.054735422134399414, -0.033902913331985474, -0.015170371159911156, -0.04230803996324539, 0.010782493278384209, 0.01947917602956295, -0.027219057083129883, -0.019525133073329926, 0.05504744127392769, -0.004496145527809858, 0.017505960538983345, -0.0005102822324261069, 0.02095443196594715, -0.010946372523903847, -0.05035841464996338, -0.05439749360084534, -0.030488889664411545, -0.0056073167361319065, 0.000354369287379086, 0.007466292940080166, 0.039046384394168854, 0.03475458174943924, -0.07507313787937164, 0.0030215117149055004, -0.007429552264511585, 0.007559125777333975, 0.010498885996639729, 0.04614896699786186, -0.007325393613427877, 0.009103533811867237, 0.09200868010520935, -0.03553885966539383, 0.010757499374449253, 0.029674960300326347, 0.016199486330151558, -0.009019821882247925, 0.02430119179189205, 0.0015032144729048014, -0.00738771166652441, 0.03992558643221855, -0.0018433654913678765, 0.028922127559781075, -0.013162736780941486, 0.015173121355473995, 0.015411379747092724, -0.026850800961256027, -0.003424817230552435, 0.05761096626520157, 0.00901908241212368, -0.018344487994909286, 0.009976732544600964, -0.005519411526620388, -0.048293787986040115, 0.07536400109529495, 0.050886549055576324, -0.2672763764858246, 0.05052974820137024, 0.04545823112130165, 0.042219746857881546, -0.011356682516634464, -0.03241202235221863, 0.007554249372333288, -0.041083380579948425, 0.02650441788136959, 0.019690463319420815, 0.02990236133337021, 0.02909781038761139, -0.00784256774932146, -0.016317758709192276, 0.0019661649130284786, -0.005483989603817463, 0.04076056927442551, -0.006158663425594568, 0.02282991074025631, -0.023457370698451996, 0.006942639127373695, -0.018634140491485596, 0.13173364102840424, 0.013989818282425404, 0.012389020062983036, 0.03225536271929741, -0.015276306308805943, 0.01050560548901558, 0.06013936921954155, 0.04029753431677818, 0.0024823148269206285, -0.010065407492220402, -0.008713898248970509, 0.006612012162804604, 0.03187769278883934, -0.043475206941366196, -0.010104370303452015, 0.04116583615541458, 0.03005887009203434, 0.006002235226333141, 0.01206560991704464, -0.0025578823406249285, -0.04902612417936325, 0.03573387861251831, 0.08089645951986313, 0.015425351448357105, 0.017483478412032127, -0.06344247609376907, -0.02388271503150463, 0.004483070224523544, -0.019133925437927246, -0.056938014924526215, 0.006215089000761509, 0.010131709277629852, 0.013732745312154293, 0.07414580881595612, 0.03604622185230255, 0.006971757393330336, 0.01856783591210842, 0.0004864489601459354, -0.01847626082599163, -0.06387639045715332, 0.12570279836654663, 0.0023880554363131523, -0.004112400114536285 ]
[ -0.018067488446831703, -0.03216490522027016, -0.01858164556324482, 0.036651235073804855, -0.029054192826151848, -0.032240934669971466, -0.019914621487259865, 0.05281682685017586, -0.010784578509628773, -0.017054304480552673, 0.018564222380518913, 0.027932902798056602, 0.05155527964234352, -0.005683353170752525, -0.023660089820623398, -0.02065175771713257, 0.0010401521576568484, 0.0166635699570179, 0.03571351245045662, -0.03597738593816757, -0.023231936618685722, 0.05194612964987755, 0.021210290491580963, 0.00522241834551096, -0.009654921479523182, -0.010617892257869244, -0.0427589975297451, 0.012570002116262913, 0.01795797608792782, -0.11916664987802505, -0.004669143818318844, 0.00958995334804058, 0.014507122337818146, -0.0049579571932554245, 0.014981943182647228, 0.013760642148554325, 0.019227584823966026, -0.031323544681072235, -0.025402404367923737, -0.02812816947698593, 0.0489199236035347, -0.02737705036997795, 0.022981122136116028, -0.024695985019207, -0.02172098495066166, -0.03808017820119858, -0.014516894705593586, -0.016719026491045952, 0.03153402730822563, -0.020994041115045547, -0.046911027282476425, -0.0038264167960733175, 0.015046536922454834, -0.004078275989741087, 0.009124966338276863, 0.019140591844916344, 0.01058850809931755, -0.027621999382972717, 0.02451532520353794, -0.03935517370700836, -0.01274071354418993, 0.029013007879257202, -0.03696540743112564, -0.045943718403577805, -0.005680085625499487, 0.003927563317120075, 0.0016593449981883168, -0.01416740845888853, 0.0026488350704312325, 0.03513413295149803, -0.022935308516025543, 0.03243010491132736, -0.04467962682247162, -0.00401396956294775, -0.01563730463385582, -0.03411732614040375, 0.04415469616651535, -0.00012930741650052369, 0.008215858601033688, -0.04492859169840813, -0.03889044001698494, 0.01640991121530533, 0.040987711399793625, -0.0071159121580421925, -0.016932185739278793, -0.01391362864524126, 0.024589791893959045, 0.0690702572464943, 0.0033701439388096333, -0.05831630527973175, 0.002964683109894395, -0.008450153283774853, -0.056874748319387436, 0.010489766485989094, -0.11328107118606567, -0.018451979383826256, 0.02435414493083954, -0.0030595441348850727, -0.0015506871277466416, 0.8172184824943542, 0.0003675157204270363, -0.009048158302903175, 0.004653430078178644, 0.023550866171717644, -0.0006390880444087088, 0.02143152244389057, -0.004963854793459177, -0.008274508640170097, -0.01826244220137596, -0.012213681824505329, 0.021365081891417503, 0.0028905596118420362, 0.006420292425900698, 0.04530820623040199, 0.008672506548464298, 0.032128676772117615, -0.0032947473227977753, 0.029184045270085335, 0.0017810716526582837, 0.018288003280758858, 0.03153876215219498, -0.007860158570110798, -0.0011676469584926963, -0.013164951466023922, 0.042348891496658325, -0.1497066169977188, 0.012884797528386116, -6.603711265832648e-33, 0.013662421144545078, -0.05978812649846077, 0.038076531141996384, -0.0385279580950737, 0.002385903149843216, 0.0121229263022542, 0.006524442695081234, 0.00818489771336317, 0.04904349520802498, -0.007815270684659481, -0.012927110306918621, 0.0033743097446858883, 0.0023100737016648054, -0.03331831097602844, 0.026638606563210487, -0.006397738587111235, 0.003925738390535116, 0.03959328681230545, -0.0017438919749110937, 0.010197599418461323, 0.031338147819042206, 0.031992923468351364, -0.001443555229343474, 0.03967292979359627, 0.033893145620822906, 0.01850149966776371, 0.02780027873814106, -0.013390784151852131, 0.02117083966732025, -0.029551660642027855, -0.015909908339381218, 0.024191301316022873, -0.011190306395292282, -0.02556481398642063, -0.0002836818457581103, -0.047259677201509476, -0.06647208333015442, -0.026017850264906883, -0.051408782601356506, -0.04731612652540207, -0.015453130938112736, 0.024137601256370544, -0.04137500002980232, -0.040043458342552185, -0.08177430927753448, 0.012509330175817013, 0.02195289358496666, 0.019439268857240677, 0.023812128230929375, 0.024395452812314034, 0.017955191433429718, 0.02451324462890625, -0.0029049692675471306, -0.005849530920386314, -0.012338007800281048, 0.049944788217544556, 0.00869667436927557, 0.0019828558433800936, 0.039841409772634506, 0.0003082886687479913, 0.003540406934916973, -0.01606997288763523, 0.02353820390999317, 0.007507349364459515, 0.00029568708851002157, 0.00604498665779829, 0.024128859862685204, 0.0029171889182180166, 0.019593453034758568, 0.023053226992487907, -0.05352633446455002, -0.007108152844011784, -0.029401274397969246, 0.006899923551827669, -0.026581373065710068, -0.027638649567961693, 0.03492235764861107, -0.037361662834882736, -0.008506439626216888, 0.0006310564931482077, -0.012719699181616306, -0.019952785223722458, -0.03626783937215805, -0.02983766235411167, 0.0060644615441560745, 0.00036519134300760925, 0.03481370583176613, 0.0152136767283082, -0.03973666951060295, 0.010477091185748577, -0.01247891504317522, 0.02427593432366848, -0.009135633707046509, 0.011429965496063232, -0.04797740653157234, 7.059777360012771e-33, -0.012728571891784668, -0.0015520901652052999, 0.009633421897888184, 0.008898485451936722, 0.013468282297253609, 0.004193016327917576, -0.002798423171043396, 0.022815009579062462, -0.005713749211281538, 0.05387203395366669, -0.03379382565617561, 0.01690002717077732, -0.04291398078203201, -0.009219021536409855, 0.08344616740942001, -0.006002465263009071, 0.01078109536319971, 0.011407209560275078, 0.018288400024175644, 0.018670765683054924, -0.011055734939873219, 0.01397559605538845, -0.00526340352371335, 0.0102113988250494, 0.015873407945036888, 0.06220230460166931, -0.022838549688458443, 0.009339610114693642, -0.01083550788462162, 0.007752733305096626, 0.01169403176754713, 0.004638468846678734, -0.0028321687132120132, -0.03375441953539848, 0.0032641615252941847, 0.003127052914351225, 0.03744357451796532, -0.03801507130265236, 0.00933124590665102, 0.04465043544769287, 0.04690396785736084, 0.04844333231449127, 0.016815541312098503, 0.05618008226156235, -0.01766519621014595, 0.03675072640180588, 0.012462412938475609, -0.006301742512732744, -0.014912246726453304, 0.007019749376922846, 0.023844346404075623, -0.006008538883179426, 0.021629279479384422, 0.020100271329283714, 0.020116571336984634, -0.04163465276360512, 0.0027512297965586185, 0.0162945669144392, -0.028316250070929527, -0.044852010905742645, -0.05250741168856621, -0.05969134718179703, -0.03955114260315895, 0.0046966648660600185, -0.03210246562957764, -0.020479770377278328, -0.0022645725402981043, -0.02594851888716221, 0.017594020813703537, 0.003759839106351137, 0.0003044804616365582, 0.01749775931239128, -0.003581336932256818, 0.03417348861694336, -0.026125000789761543, -0.014383587054908276, -0.05664743483066559, -0.01274192612618208, -0.01480500865727663, 0.01859000138938427, 0.00289206113666296, 0.02605988271534443, -0.010002893395721912, 0.02493257075548172, -0.024827325716614723, -0.008736527524888515, -0.02445277012884617, 0.052800439298152924, 0.08463410288095474, -0.006116033066064119, 0.01695871725678444, -0.024910971522331238, -0.00974670797586441, 0.02104303054511547, 0.001993277808651328, -1.2303631002907878e-8, 0.012840296141803265, -0.004754896275699139, -0.01760105974972248, 0.04931528866291046, -0.0025064870715141296, 0.008581038564443588, -0.009111041203141212, 0.021822888404130936, -0.02207689732313156, 0.03654514625668526, 0.10258413106203079, -0.006147049367427826, -0.001040437025949359, 0.018334221094846725, -0.031174173578619957, -0.008680785074830055, 0.014541526325047016, -0.00217795604839921, 0.014207608066499233, 0.0028103480581194162, 0.01344023086130619, 0.023756125941872597, 0.006042044144123793, 0.005059494636952877, 0.011585207656025887, -0.009131917729973793, 0.03601894900202751, -0.08734536916017532, -0.07026822865009308, -0.027779236435890198, 0.002730852924287319, -0.022595319896936417, -0.02706940472126007, 0.012920571491122246, -0.030309848487377167, -0.026555044576525688, 0.019763290882110596, 0.02954673394560814, 0.05856463313102722, 0.0399441160261631, -0.006895434111356735, 0.01556472945958376, -0.03435468301177025, -0.020125240087509155, -0.022612228989601135, 0.0007749249343760312, -0.03837503120303154, 0.029166819527745247, 0.00976870208978653, -0.03806524723768234, 0.0033049792982637882, -0.03734228387475014, -0.006961516570299864, 0.016967004165053368, 0.02660956420004368, -0.0004457969916984439, -0.012164020910859108, -0.007052961271256208, -0.0022266439627856016, 0.0009550706599839032, 0.03589627519249916, 0.018178366124629974, -0.020934170112013817, -0.01798423007130623 ]
ganglia-importing-gmond-python-modules
https://markhneedham.com/blog/2012/07/08/ganglia-importing-gmond-python-modules
false
2012-07-23 23:25:00
R: Mapping a function over a collection of values
[ "r-2" ]
[ "R" ]
I spent a bit of Sunday playing around with R and one thing I wanted to do was map a function over a collection of values and transform each value slightly. I loaded my data set using the 'Import Dataset' option in http://rstudio.org/[R Studio] (suggested to me by https://twitter.com/roryoung[Rob]) which gets converted to the following function call: [source,r] ---- > data <- read.csv("~/data.csv", header=T, encoding="ISO-8859") > data Column1 InterestingColumn 1 Mark 12.50 2 Dave 100.00 3 John 1,231.00 ---- _data.csv_ [source,text] ---- Column1, InterestingColumn Mark, 12.50 Dave, 100.00 John, 1,231.00 ---- +++<cite>+++data+++</cite>+++ is a table with the type '3 obs. of 2 variables' in R Studio. I was only interested in the values in the 2nd column so I selected those like this: [source,r] ---- > data$InterestingColumn [1] 12.50 100.00 1,231.00 Levels: 1,231.00 100.00 12.50 ---- I wanted to apply a function over each of the numbers and return a new list containing those transformations. I initially had a look at doing this with a for loop but it didn't turn out to be as easy as I'd expected and I eventually came across the +++<cite>+++http://stat.ethz.ch/R-manual/R-patched/library/base/html/lapply.html[lapply]+++</cite>+++ function which allows you to apply a function over a list or vector. [source,r] ---- > values <- data$InterestingColumn > lapply(values, function(x) 5000 - as.numeric(gsub("\\s|,","", x))) [[1]] [1] 4987.5 [[2]] [1] 4900 [[3]] [1] 3769 ---- We define a function which subtracts the value in the column from 5000 since the CSV file contained derived values and I was interested in the original value. In order to do that subtraction I needed to cast the value from the CSV file to be numeric which first involved stripping out any spaces or commas using http://stackoverflow.com/questions/5992082/how-to-remove-all-whitespace-from-a-string-in-r[gsub] and then casting the string using as.numeric. If we want to have a table structure then we can use the 'by' function to do a similar thing: [source,r] ---- > as.table(by(data$InterestingColumn, data$Column1, function(x) 5000 - as.numeric(gsub("\\s|,","", x)))) data$Column1 Dave John Mark 4900.0 3769.0 4987.5 ---- I don't know enough R to know how to keep the data in exactly the same structure as we got it so if anyone can point me in the right direction that'd be cool.
null
null
[ 0.010978685691952705, -0.019346322864294052, 0.0028151278384029865, 0.03598376363515854, 0.08341751247644424, 0.028445692732930183, -0.010388828814029694, -0.01715128868818283, 0.023413648828864098, 0.0017170627834275365, 0.0034531839191913605, -0.0064263734966516495, -0.07262245565652847, 0.01247132383286953, -0.027037622407078743, 0.07983329147100449, 0.0535941906273365, -0.009012526832520962, 0.03887533023953438, 0.014586863107979298, 0.02584848366677761, 0.05258045345544815, -0.023961331695318222, 0.037932030856609344, 0.0065394556149840355, -0.01894809864461422, -0.004062452353537083, -0.009962502866983414, -0.03494178131222725, 0.015499143861234188, 0.04685412719845772, 0.030178504064679146, -0.004233663901686668, -0.013706841506063938, 0.019963691011071205, -0.0016578088980168104, 0.014068147167563438, -0.0016244897851720452, -0.004800357855856419, -0.0218612439930439, -0.060934193432331085, 0.00715029938146472, -0.0229830089956522, 0.030315779149532318, -0.03835763409733772, 0.00002522058093745727, -0.03651805967092514, 0.023758886381983757, -0.03439963608980179, 0.01712898351252079, -0.04159814491868019, 0.05128827318549156, -0.00431237043812871, -0.05194402486085892, -0.00838156882673502, 0.05081278458237648, -0.008543901145458221, -0.06503748893737793, 0.02355550415813923, -0.053138867020606995, -0.0075315795838832855, 0.01946187950670719, -0.010531236417591572, 0.028872380033135414, 0.019692284986376762, -0.01360132172703743, -0.04792988672852516, 0.031591568142175674, -0.03887249156832695, -0.022203171625733376, -0.04773467406630516, -0.01429825834929943, -0.02250882424414158, -0.05282444879412651, -0.021721985191106796, -0.05218186974525452, -0.026383044198155403, 0.05568123981356621, 0.009326337836682796, 0.015207807533442974, -0.009930554777383804, 0.015599795617163181, 0.009685066528618336, -0.0003468812501523644, 0.038262657821178436, -0.048335663974285126, -0.012905357405543327, -0.02276594564318657, -0.04417822137475014, 0.05027369037270546, -0.0013433301355689764, -0.05963832885026932, 0.019553333520889282, 0.029344169422984123, 0.005443248897790909, -0.014799551106989384, 0.0005931019550189376, -0.02389581874012947, -0.003773203818127513, -0.00027108044014312327, -0.09276065975427628, -0.010734014213085175, 0.03846035152673721, 0.013815728947520256, -0.08172442764043808, 0.01237582415342331, -0.00036135665141046047, -0.0061248489655554295, 0.0035733492113649845, 0.025616221129894257, -0.013332726433873177, -0.021427631378173828, -0.04701806232333183, 0.0005354851600714028, -0.07266803085803986, 0.03338862210512161, 0.03829403594136238, -0.0029228213243186474, -0.03615253418684006, 0.007263052277266979, 0.05370244383811951, 0.022669533267617226, -0.007466998416930437, 0.06316915154457092, 0.03905319422483444, 0.03589340299367905, 0.03539358079433441, 0.05740883946418762, 0.008733273483812809, -0.04117411747574806, 0.0014557588146999478, 0.047242142260074615, -0.03794708102941513, 0.015628233551979065, 0.0064032794907689095, -0.027183104306459427, -0.008900300599634647, -0.006855395156890154, 0.05342893674969673, 0.03650284186005592, 0.056727971881628036, -0.006900822278112173, 0.015556225553154945, -0.026364052668213844, 0.026821637526154518, 0.01683930866420269, -0.008735720068216324, -0.03272486478090286, -0.028176041319966316, 0.0016395585844293237, 0.04024670645594597, 0.0505528599023819, 0.07856927812099457, 0.008687788620591164, 0.053437717258930206, 0.09951769560575485, 0.021806800737977028, 0.006560182198882103, 0.003186980728060007, -0.010762735269963741, 0.03500377759337425, 0.04450543597340584, 0.015935128554701805, 0.044268898665905, -0.00977820809930563, -0.039286356419324875, 0.001428358256816864, 0.04501844942569733, -0.024289743974804878, -0.0243879035115242, -0.05480881780385971, -0.058309491723775864, 0.07009879499673843, -0.006724746897816658, 0.011589167639613152, 0.013730711303651333, 0.06673137098550797, 0.023690789937973022, 0.04004231467843056, 0.0031337488908320665, -0.07916175574064255, 0.053780924528837204, -0.003251202404499054, -0.009401664137840271, 0.04329794645309448, -0.015319185331463814, 0.08360322564840317, 0.028320973739027977, 0.03605253994464874, 0.05566792190074921, -0.0760028138756752, -0.08712146431207657, -0.029514627531170845, -0.005692984443157911, 0.040471918880939484, -0.04413849860429764, -0.016906319186091423, 0.08592049777507782, 0.008080377243459225, 0.006078220438212156, -0.021867595613002777, 0.019006410613656044, 0.025700509548187256, -0.019930245354771614, -0.03863679990172386, -0.00133191654458642, 0.02657897211611271, 0.010566710494458675, 0.011156870983541012, 0.03271673619747162, -0.0006672752206213772, 0.04543093964457512, 0.013361108489334583, -0.02824719250202179, 0.04751546308398247, 0.03074587509036064, 0.02033414877951145, 0.006391191855072975, 0.01892273686826229, -0.054348718374967575, 0.028472280129790306, 0.006423612590879202, -0.00341010675765574, -0.03481166064739227, -0.006745908409357071, 0.13637642562389374, 0.0739692747592926, 0.0036776610650122166, -0.0716901645064354, 0.03588901087641716, -0.03846069797873497, -0.03530310466885567, 0.03219713270664215, 0.013272598385810852, 0.0002704288635868579, 0.02195906825363636, 0.0007580532692372799, -0.00639580050483346, -0.018560009077191353, -0.03817975893616676, -0.0008607805939391255, 0.0735381692647934, 0.027098191902041435, 0.026491127908229828, 0.006032155826687813, -0.041548047214746475, 0.00678434781730175, -0.05049526318907738, -0.06988655775785446, -0.0019052856368944049, 0.02650919184088707, -0.0007616414222866297, 0.05393302068114281, -0.03431174159049988, -0.00782350916415453, -0.01051242370158434, -0.044951409101486206, 0.031719550490379333, 0.07635483145713806, 0.066148541867733, -0.010595975443720818, 0.04005749896168709, -0.02347964234650135, -0.0010671524796634912, 0.0010640425607562065, -0.03614816442131996, -0.02879292331635952, -0.0655648335814476, 0.02125902846455574, 0.0024247467517852783, 0.03553787246346474, 0.012493260204792023, -0.006121325772255659, 0.017964554950594902, 0.019956588745117188, -0.05084018409252167, 0.04216616600751877, -0.026236504316329956, -0.03624533489346504, -0.02828090265393257, -4.2158501400990644e-7, 0.056455839425325394, 0.0029323010239750147, -0.021473083645105362, -0.006055358797311783, -0.05700512230396271, 0.014552813023328781, -0.05124466121196747, -0.017428677529096603, -0.008491513319313526, 0.023981522768735886, 0.026095328852534294, 0.013310035690665245, 0.009800718165934086, 0.018489185720682144, 0.0048673078417778015, 0.033821821212768555, 0.00827233586460352, 0.0038076897617429495, 0.058873847126960754, 0.010172192938625813, 0.014346129260957241, 0.06556707620620728, 0.009757020510733128, -0.020836224779486656, -0.05157145857810974, 0.0014795775059610605, -0.01920987293124199, -0.27029356360435486, 0.012704667635262012, -0.020236948505043983, -0.018485449254512787, 0.024567408487200737, -0.07225153595209122, 0.024819370359182358, -0.03903326019644737, -0.019342778250575066, -0.022470299154520035, -0.005337934009730816, -0.02703581191599369, -0.057376645505428314, 0.06323503702878952, 0.028734927996993065, 0.028975388035178185, 0.015809649601578712, -0.021592792123556137, 0.007003537844866514, 0.07591396570205688, 0.018343036994338036, -0.04109077900648117, 0.0020767038222402334, 0.0681544840335846, 0.010589608922600746, 0.06553856283426285, -0.054024722427129745, 0.030159959569573402, -0.05942361801862717, -0.041330575942993164, -0.005795962642878294, -0.006586030591279268, 0.015607813373208046, 0.00699316943064332, 0.01521345041692257, -0.0022931157145649195, 0.03564160689711571, 0.036963481456041336, 0.029904508963227272, 0.016922488808631897, -0.04934161528944969, -0.014667468145489693, 0.005465260706841946, 0.006948122754693031, 0.06964137405157089, 0.00019056319433730096, -0.06314126402139664, 0.020913148298859596, -0.038694217801094055, 0.08181264251470566, -0.02167678065598011, -0.01587636210024357, -0.007201633416116238, 0.00957599189132452, -0.035388242453336716, -0.013947372324764729, -0.026979103684425354, 0.009706879034638405, -0.02198726497590542, -0.025514530017971992, 0.002441276563331485, -0.035946838557720184, -0.007162159308791161, -0.03696095943450928, -0.008040737360715866, -0.07449213415384293, -0.1041502058506012, -0.04145260527729988, 0.061896272003650665, 0.06259062886238098, -0.027529215440154076, -0.006964096799492836, 0.0005752433207817376, -0.1067451760172844, -0.0005294813308864832, -0.06148231774568558, -0.01810443215072155, -0.029064523056149483, 0.01618015021085739, 0.054484717547893524, -0.04205423593521118, -0.053265977650880814, 0.028698755428195, 0.007230865769088268, 0.01910373382270336, -0.01626468449831009, -0.006472702603787184, -0.010439697653055191, -0.03120117448270321, -0.029272062703967094, 0.05504414811730385, -0.059907957911491394, -0.015366724692285061, 0.006541347596794367, -0.024626359343528748, 0.029240047559142113, 0.014721783809363842, 0.013432798907160759, 0.02863491140305996, 0.017136605456471443, 0.02041161246597767, -0.056095190346241, 0.0018460007850080729, -0.07380922138690948, -0.02907548099756241, -0.027249982580542564, -0.07265958935022354, 0.00917228776961565, 0.0120769701898098, 0.028624925762414932, 0.000533705111593008, -0.025275764986872673, 0.018771637231111526, -0.06711796671152115, -0.0056795887649059296, 0.013636459596455097, 0.026050720363855362, -0.004425062797963619, 0.009408789686858654, 0.006484103389084339, -0.05955652892589569, -0.0011881275568157434, 0.0010053591104224324, -0.05713067576289177, -0.037150196731090546, -0.025258656591176987, 0.02576379105448723, -0.016451004892587662, -0.015233621932566166, 0.001920760259963572, -0.007911081425845623, 0.0034162048250436783, 0.03172166645526886, -0.021132638677954674, 0.019090140238404274, -0.006970019545406103, -0.04916280508041382, 0.010135727003216743, -0.01897183433175087, 0.021671965718269348, -0.027713069692254066, -0.00020778000180143863, 0.014806773513555527, 0.03729831799864769, 0.001869943575002253, 0.0050531914457678795, -0.000040271857869811356, 0.03516564145684242, -0.004911739379167557, 0.0346706323325634, -0.026310453191399574, -0.00039960432332009077, -0.002363201230764389, -0.036181483417749405, -0.0012891740771010518, -0.0038594664074480534, 0.05444007366895676, -0.02041495032608509, -0.010028347373008728, -0.04061321169137955, -0.0033245969098061323, -0.023558566346764565, -0.02846071869134903, -0.029666701331734657, -0.007069050334393978, 0.048118706792593, -0.008065062575042248, 0.010762762278318405, -0.0014818732161074877, 0.02104632742702961, 0.02803870290517807, 0.01441123429685831, -0.010502073913812637, -0.020316997542977333, -0.016795450821518898, -0.009273695759475231, 0.027109907940030098, 0.00726239662617445, 0.03310397267341614, -0.001724422792904079, 0.014992401003837585, -0.02273891679942608, -0.002209389815106988, -0.0026640458963811398, 0.04810208082199097, 0.04077722504734993, -0.007873047143220901, 0.008951722644269466, 0.0009222418302670121, -0.04706110060214996, -0.04221878945827484, 0.00040167279075831175, -0.03374157100915909, 0.011024856008589268, -0.0518091656267643, -0.04887533187866211, 0.025480840355157852, 0.049615632742643356, -0.027325771749019623, -0.006673432420939207, -0.01777786761522293, -0.010037275962531567, -0.011791706085205078, 0.044853661209344864, 0.05584995076060295, -0.06900139153003693, 0.004529767204076052, 0.0044743893668055534, 0.010404560714960098, 0.025291068479418755, 0.02305215410888195, -0.0494476817548275, 0.0031592408195137978, -0.005714831408113241, 0.035728346556425095, 0.0038603150751441717, -0.030809935182332993, -0.05231095850467682, 0.0044529736042022705, -0.018542969599366188, -0.016796916723251343, -0.02079305239021778, 0.003993556369096041, -0.03682094067335129, 0.017963740974664688, -0.02241191826760769, -0.03816476836800575, -0.03874007612466812, 0.04167792201042175, -0.02533527836203575, 0.033428989350795746, -0.02286441996693611, 0.02023371122777462, 0.01455368846654892, 0.019873173907399178, -0.007279941812157631, -0.05004262551665306, 0.01017323974519968, 0.001267343875952065, 0.04777108505368233, -0.026116877794265747, 0.012514120899140835, -0.029045695438981056, 0.02439809776842594, -0.013715794309973717, -0.019948486238718033, -0.010997100733220577, -0.012647825293242931, 0.029308374971151352, 0.053145166486501694, 0.013843345455825329, -0.007752432022243738, 0.0015707253478467464, -0.04103844240307808, 0.07366088777780533, -0.02397044561803341, -0.04907722398638725, 0.007794978562742472, -0.023578783497214317, 0.007444098126143217, 0.002888538409024477, 0.0045689307153224945, -0.029545016586780548, 0.03984271362423897, 0.04357030242681503, 0.010811757296323776, 0.06483124941587448, 0.0028235865756869316, 0.026999112218618393, -0.019015999510884285, 0.009589442051947117, -0.08832032233476639, -0.01687745749950409, 0.034888289868831635, 0.011651447042822838, -0.030244411900639534, 0.0031916708685457706, -0.03285101428627968, 0.04117320850491524, -0.04975065961480141, -0.024583850055933, 0.050849687308073044, 0.009955115616321564, 0.01703759841620922, 0.0016291687497869134, -0.04042321443557739, -0.009983914904296398, 0.029471872374415398, -0.02139522135257721, 0.012051102705299854, -0.03228428587317467, 0.03884148225188255, -0.04119895398616791, 0.0339488685131073, -0.008239833638072014, -0.001249951426871121, 0.036614105105400085, 0.014831301756203175, -0.0012053295504301786, 0.06694502383470535, -0.028338326141238213, 0.03090374544262886, 0.009225236251950264, -0.02904019132256508, 0.012630411423742771, 0.0379236564040184, 0.015400303527712822, -0.04064656421542168, -0.0024668483529239893, 0.005695925559848547, -0.0002493177598807961, -0.05514155700802803, 0.08401673287153244, -0.002787782810628414, -0.038834236562252045, -0.05668085068464279, 0.0034353677183389664, -0.039233967661857605, 0.018675807863473892, 0.01806551404297352, -0.02406962960958481, -0.0240556001663208, 0.05054056644439697, -0.03079727105796337, 0.00006321680848486722, 0.07497303932905197, 0.0008973270887508988, -0.021944524720311165, -0.005324287805706263, 0.06000376492738724, 0.08962170779705048, 0.06960010528564453, -0.000026165504095843062, 0.05315176397562027, -0.029151825234293938, -0.06423331052064896, 0.017630115151405334, -0.008982237428426743, 0.013271168805658817, -0.01621030829846859, -0.010682674124836922, 0.09535039216279984, -0.007094220258295536, 0.0649465024471283, -0.03422984108328819, -0.03401005268096924, -0.0157533660531044, -0.021787023171782494, 0.02379179187119007, 0.06453146785497665, -0.005054128356277943, 0.03874971717596054, -0.013884819112718105, -0.01510529313236475, 0.04087727516889572, -0.009008175693452358, -0.0004927786649204791, 0.02426234632730484, 0.002726345555856824, -0.0031562773510813713, 0.019972382113337517, 0.012015539221465588, 0.05804477259516716, -0.025708092376589775, -0.0035348031669855118, -0.0005138852866366506, 0.05510793626308441, -0.020643947646021843, 0.0022459723986685276, 0.004130994901061058, -0.03426692634820938, -0.01554447878152132, -0.04222080484032631, -0.03888833522796631, -0.0009447172633372247, -0.023496676236391068, 0.022978421300649643, -0.039779890328645706, -0.0007090875296853483, 0.0567360557615757, -0.040156178176403046, -0.0424320362508297, -0.04396795108914375, -0.05077210068702698, -0.06640693545341492, -0.08942550420761108, -0.029405569657683372, -0.015748193487524986, -0.03397255018353462, -0.05090988799929619, -0.01208795327693224, -0.03676086664199829, -0.030382446944713593, 0.00558087881654501, -0.034343767911195755, -0.016766104847192764, 0.013728378340601921, 0.013740536756813526, 0.018244490027427673, 0.017575237900018692, 0.02326834201812744, 0.015581944957375526, -0.0018403403228148818, -0.010495838709175587, 0.006319508422166109, 0.04306632652878761, 0.034449413418769836, 0.0029646430630236864, -0.05760340392589569, 0.021953392773866653, 0.012346085160970688, -0.021380746737122536, -0.10254417359828949, 0.004509622696787119, 0.03036988526582718, -0.0012937725987285376, 0.01163323875516653, -0.01666758395731449, 0.00990099273622036, -0.017472315579652786, -0.022638581693172455, 0.01379246823489666, 0.020943233743309975, 0.029912518337368965, -0.05187055841088295, 0.07102111726999283, 0.027262654155492783, -0.015517746098339558, -0.053855184465646744, -0.014283163473010063, -0.011624489910900593, -0.004317099694162607, -0.06506475061178207, -0.04327096790075302, -0.033571455627679825, -0.08295401185750961, -0.006916974205523729, 0.01922793872654438, -0.06337984651327133, 0.0006567102391272783, 0.012276598252356052, 0.042991720139980316, -0.05259303003549576, 0.04798990860581398, -0.020855320617556572, 0.059446584433317184, -0.029710812494158745, -0.02298433892428875, 0.0012653415324166417, 0.05480731651186943, 0.013293718919157982, 0.0033678405452519655, 0.00810780469328165, -0.02991408295929432, 0.020876014605164528, -0.015164787881076336, -0.015848912298679352, 0.050134848803281784, 0.011442909017205238, 0.05619625747203827 ]
[ -0.05632501840591431, -0.0166697446256876, -0.033322710543870926, -0.0277150459587574, 0.06747284531593323, -0.02730839140713215, -0.006426418665796518, 0.05672958865761757, 0.024792389944195747, 0.0221051387488842, 0.006449515465646982, -0.03799288347363472, 0.01625841110944748, -0.004961386322975159, 0.047070037573575974, -0.003579922951757908, -0.030933896079659462, -0.01506670843809843, -0.05321415141224861, 0.015372366644442081, 0.0020669796504080296, -0.0014866582350805402, -0.053713105618953705, -0.059383150190114975, 0.05705905705690384, 0.025343038141727448, -0.005394181236624718, -0.033284470438957214, -0.019497746601700783, -0.23687326908111572, 0.0012082665925845504, 0.0036443201825022697, 0.022117193788290024, -0.010951763950288296, 0.010101779364049435, 0.026250265538692474, 0.010119173675775528, 0.018749412149190903, 0.021464329212903976, 0.03089567832648754, 0.028959518298506737, -0.011438325978815556, -0.0488378182053566, -0.01616009883582592, 0.008982685394585133, 0.006307227071374655, -0.05592561513185501, -0.003903013886883855, 0.014693225733935833, 0.021410034969449043, -0.06656820327043533, 0.018461765721440315, -0.02362258918583393, 0.006501807365566492, 0.0007189225871115923, 0.029857538640499115, 0.038532741367816925, 0.06360487639904022, 0.0045326766557991505, 0.044604118913412094, 0.015449363738298416, 0.009094319306313992, -0.15701471269130707, 0.10138611495494843, 0.0029566441662609577, 0.04465927928686142, -0.022381668910384178, -0.013733744621276855, -0.005890308413654566, 0.06812628358602524, -0.008675262331962585, -0.0375395305454731, -0.043710511177778244, 0.06783905625343323, 0.02501855418086052, -0.029737114906311035, -0.05958259850740433, 0.0005565109895542264, 0.03299102932214737, -0.02662789076566696, 0.0031144178938120604, 0.009915430098772049, -0.01567484252154827, -0.010395155288279057, -0.002120070392265916, 0.005053898319602013, -0.03214220702648163, 0.03627374768257141, 0.0005728837568312883, 0.02634013071656227, 0.034656912088394165, 0.03224552050232887, 0.038298528641462326, 0.040041014552116394, -0.09604962170124054, -0.01639891043305397, 0.01793639548122883, 0.023154135793447495, 0.012898905202746391, 0.4047027826309204, -0.045566119253635406, -0.03168296441435814, 0.010308428667485714, 0.056022822856903076, -0.024739772081375122, -0.019489027559757233, -0.00808988232165575, -0.06081242114305496, 0.00564961601048708, -0.02510499209165573, -0.004772963467985392, -0.04865424707531929, 0.04285667464137077, -0.07453005760908127, 0.004018327221274376, -0.01643604226410389, 0.0264322180300951, 0.01399821974337101, 0.006903502158820629, -0.0051755052991211414, -0.003390571800991893, 0.0071385810151696205, 0.038810133934020996, 0.025525059551000595, 0.03418120741844177, 0.001070392900146544, 0.06395942717790604, 0.08923781663179398, 0.046096865087747574, 0.036309864372015, 0.06357250362634659, -0.005034138914197683, -0.09015816450119019, 0.019156958907842636, -0.015398669987916946, 0.015527542680501938, 0.04270538315176964, -0.017598209902644157, 0.02353787235915661, 0.03648177534341812, -0.023418009281158447, -0.007783927023410797, 0.00960288755595684, -0.014428164809942245, -0.016088541597127914, 0.13902543485164642, -0.011771677993237972, -0.03565271198749542, -0.02140064164996147, -0.052744653075933456, 0.03272636979818344, 0.05960644409060478, 0.03253137320280075, -0.04352591931819916, -0.014834336005151272, 0.04505592957139015, 0.08670615404844284, -0.06970665603876114, -0.07681909203529358, -0.026489127427339554, -0.04232947155833244, -0.028135424479842186, -0.03333338350057602, 0.031859446316957474, 0.05114642530679703, -0.05911163613200188, -0.024068042635917664, 0.007510955445468426, 0.01870945654809475, -0.06317423284053802, 0.03817260265350342, 0.00022691114281769842, -0.04362653195858002, 0.009876717813313007, 0.0646691545844078, 0.00932594295591116, -0.02987172268331051, -0.009548819623887539, 0.044410571455955505, 0.01493016816675663, 0.0022210064344108105, -0.008319915272295475, -0.04476812109351158, 0.004307128954678774, -0.07186014205217361, -0.05579391121864319, -0.0904584750533104, 0.029135312885046005, -0.01531981024891138, 0.0008061713306233287, 0.013685273006558418, -0.005072425119578838, -0.07225282490253448, 0.04395812004804611, -0.052681926637887955, -0.030860140919685364, 0.047324128448963165, 0.02809005416929722, -0.010703355073928833, -0.02828361839056015, -0.016786642372608185, 0.002023004926741123, 0.01994306407868862, 0.02720765769481659, -0.056367576122283936, -0.0025595498736947775, 0.04640686884522438, -0.0269022174179554, 0.04872656241059303, 0.06596728414297104, 0.0016082958318293095, 0.006734433118253946, -0.011249997653067112, 0.009925015270709991, -0.0334337018430233, 0.001877815113402903, -0.007915004156529903, -0.03474201634526253, 0.012046576477587223, 0.036614805459976196, -0.013315015472471714, -0.05997907742857933, -0.0011472980258986354, -0.37150344252586365, -0.04032986983656883, -0.0012431717477738857, -0.007151398342102766, 0.019072849303483963, -0.04224417731165886, -0.007478310260921717, 0.005682462360709906, -0.03464418649673462, 0.0694764032959938, 0.0418354757130146, -0.0011558533878996968, -0.02235202118754387, -0.09349262714385986, -0.0053426469676196575, 0.00600769417360425, -0.014491557143628597, -0.03781525418162346, -0.03892197459936142, 0.0006093072588555515, -0.009504971094429493, -0.014781196601688862, -0.007430218160152435, -0.032197143882513046, 0.04169534891843796, -0.022725455462932587, 0.10909508913755417, -0.003609050065279007, 0.056459106504917145, -0.0130607383325696, 0.043479762971401215, -0.035911835730075836, 0.02471303753554821, -0.0266717541962862, -0.009224733337759972, -0.05177662894129753, -0.001785360393114388, 0.04904503747820854, 0.006412215530872345, -0.030852584168314934, -0.03243481367826462, 0.011317721568048, -0.048593729734420776, -0.021402956917881966, -0.027293335646390915, 0.0364331416785717, -0.006785666104406118, -0.01964651234447956, -0.013685478828847408, 0.0896264985203743, 0.014494851231575012, -0.014975917525589466, 0.03324102610349655, 0.035316649824380875, 0.034116264432668686, -0.019884347915649414, -0.07251053303480148, 0.00037304338184185326, -0.012921622954308987, -0.032809607684612274, 0.013286711648106575, 0.03148213401436806, 0.04764730855822563, -0.05199851095676422, -0.022078655660152435, -0.00916215218603611, 0.016194293275475502, -0.0043058800511062145, 0.013243273831903934, -0.00958877895027399, -0.03159420192241669, 0.10272353142499924, -0.004676295444369316, 0.05070152506232262, 0.02709784172475338, 0.0589146725833416, -0.036831967532634735, 0.012822135351598263, -0.004351951647549868, 0.012267512269318104, 0.03238866105675697, -0.026650628075003624, -0.004037510138005018, -0.03701885789632797, 0.01901460997760296, 0.002098316326737404, 0.0036436249502003193, -0.039563972502946854, 0.01781783252954483, 0.041216492652893066, 0.013062226586043835, -0.055979132652282715, 0.00533176539465785, -0.05415856093168259, 0.07133952528238297, 0.0015598941827192903, -0.26911526918411255, 0.02482554316520691, 0.04573190212249756, 0.051163189113140106, -0.027909643948078156, 0.008985203690826893, 0.03113088756799698, -0.05873224511742592, -0.009436622262001038, 0.022576430812478065, 0.014868062920868397, 0.059905681759119034, 0.055744633078575134, 0.011099341325461864, 0.025123992934823036, -0.02676377072930336, 0.044143613427877426, -0.020174909383058548, 0.05212446302175522, -0.0017433941829949617, 0.03292784467339516, -0.02981754019856453, 0.16325236856937408, 0.0009775555226951838, 0.01968669891357422, 0.010187597945332527, -0.027667123824357986, -0.038286108523607254, 0.0917184054851532, 0.01396185252815485, 0.011555911041796207, 0.023528719320893288, 0.02379503659904003, 0.0009753177873790264, 0.04759478569030762, -0.011392411775887012, -0.05322393402457237, 0.04180749133229256, 0.02280612848699093, -0.023471243679523468, -0.018555881455540657, 0.021006949245929718, -0.04998337849974632, 0.04003100469708443, 0.06603623926639557, -0.009773542173206806, 0.011602978222072124, -0.06826258450746536, -0.032567646354436874, -0.022378096356987953, -0.004539369605481625, 0.008407081477344036, -0.020306158810853958, -0.028467243537306786, 0.006560844369232655, 0.061081621795892715, 0.005518883466720581, -0.008386467583477497, 0.02288629859685898, 0.0027009311597794294, -0.01316275354474783, -0.08431195467710495, 0.09441341459751129, 0.014946366660296917, -0.007931661792099476 ]
[ 0.0090581513941288, 0.046172499656677246, -0.052113085985183716, 0.01894981600344181, -0.011605417355895042, -0.0047985645942389965, -0.009851770475506783, 0.015225469134747982, -0.026205504313111305, 0.000828403455670923, -0.03854431211948395, -0.020713426172733307, 0.025842349976301193, -0.032177627086639404, 0.01613033004105091, -0.020677685737609863, -0.011085678823292255, 0.01807626523077488, 0.02769334614276886, -0.006894819438457489, -0.028821660205721855, 0.030212482437491417, 0.00022775214165449142, -0.0012657609768211842, 0.013188181445002556, 0.05567415431141853, -0.033015139400959015, 0.029487058520317078, 0.01289308350533247, -0.12449758499860764, -0.029503559693694115, -0.016184143722057343, -0.006664188578724861, 0.025958513841032982, -0.04071763902902603, 0.0026299869641661644, -0.017767494544386864, 0.057326894253492355, 0.03230421245098114, -0.002563266782090068, -0.023252544924616814, 0.001840536599047482, -0.010333122685551643, -0.008310341276228428, 0.0037281515542417765, -0.028201613575220108, -0.007633323781192303, -0.015558717772364616, -0.008584827184677124, 0.006215269677340984, -0.05338587239384651, 0.012921093963086605, -0.018396133556962013, 0.02620028890669346, 0.016087565571069717, -0.038697291165590286, -0.030141208320856094, -0.0461730882525444, 0.00017941601981874555, -0.03726869821548462, -0.04308231920003891, -0.029605837538838387, -0.007580010686069727, -0.01734796352684498, -0.007722236681729555, -0.04926677420735359, -0.06177450716495514, 0.0032782929483801126, 0.027093833312392235, -0.001235987525433302, -0.018796639516949654, 0.017199644818902016, -0.02910766378045082, -0.028662044554948807, -0.00034593476448208094, 0.03313432261347771, -0.0077053457498550415, -0.05163593962788582, 0.006825458724051714, -0.014876279048621655, -0.01840081252157688, -0.010591406375169754, -0.02443058229982853, -0.004440093878656626, -0.02892972342669964, -0.055029939860105515, 0.02149766869843006, 0.029568001627922058, -0.017000002786517143, 0.01997937075793743, 0.03864113613963127, 0.022114956751465797, 0.027934664860367775, 0.013388609513640404, -0.0846739411354065, -0.0026118794921785593, -0.02477736584842205, 0.008591880090534687, 0.02956518530845642, 0.8281430006027222, -0.0019344825996086001, 0.012231267057359219, -0.012639166787266731, 0.010726715438067913, -0.02270093373954296, -0.03243393450975418, 0.008430036716163158, -0.00347049068659544, -0.0008718862081877887, -0.10587646812200546, 0.009528529830276966, -0.002080669393762946, 0.023284761235117912, -0.0030915376264601946, 0.010284452699124813, 0.04973802715539932, 0.0019414691487327218, 0.0259676706045866, -0.02263219654560089, -0.016579367220401764, 0.0021546909119933844, -0.008640753105282784, -0.011513273231685162, 0.004162186291068792, -0.016146695241332054, -0.16820089519023895, -0.018667608499526978, -6.85535374961699e-33, 0.0449381060898304, -0.016595173627138138, 0.010515398345887661, -0.013122720643877983, 0.03923448920249939, -0.00017537885287310928, 0.0012894518440589309, -0.0011891565518453717, 0.014627693220973015, 0.007855698466300964, 0.017216116189956665, 0.02882518619298935, 0.0007497886545024812, -0.00038482798845507205, 0.005220450926572084, -0.005221580620855093, -0.008623853325843811, 0.012959769926965237, -0.01722339540719986, -0.01591924950480461, 0.03565242886543274, 0.02863076701760292, 0.034539155662059784, 0.032731231302022934, 0.021057864651083946, 0.028267037123441696, -0.00355822523124516, -0.017096439376473427, 0.0043192836456000805, -0.04558300971984863, -0.027594245970249176, 0.050465986132621765, -0.009829802438616753, 0.0037774958182126284, 0.05777585878968239, -0.06107516214251518, 0.01501582283526659, 0.004344619810581207, 0.007129115052521229, -0.003986584488302469, -0.0042751203291118145, -0.008358567021787167, -0.021933550015091896, 0.016438622027635574, -0.043507616966962814, -0.005801791790872812, 0.04419981688261032, 0.08190658688545227, 0.0006087735528126359, 0.038170866668224335, 0.0072709484957158566, 0.005931008607149124, 0.011127547360956669, 0.002909221686422825, 0.013851011171936989, 0.027459515258669853, -0.011899038217961788, -0.0032218352425843477, 0.024180099368095398, 0.01976088248193264, -0.03939992934465408, 0.021361397579312325, 0.027058888226747513, 0.005428631789982319, -0.013078994117677212, 0.019900506362318993, 0.019545791670680046, -0.011232550255954266, 0.005914710462093353, 0.02678382210433483, -0.01021991204470396, 0.015477814711630344, -0.008079538121819496, -0.018153371289372444, 0.05076003074645996, 0.008702615275979042, -0.007699235808104277, -0.02448364906013012, 0.038124632090330124, 0.007953977212309837, 0.000619942438788712, 0.01804490014910698, -0.007967473939061165, -0.013549149967730045, -0.030246924608945847, -0.004115528427064419, 0.009321378543972969, 0.00699178921058774, -0.030855422839522362, -0.021909359842538834, 0.011224399320781231, 0.03364989161491394, 0.00023355217126663774, -0.02448859252035618, -0.01704300567507744, 7.08681740350153e-33, 0.027001790702342987, -0.004580912180244923, -0.005281187128275633, 0.02018929459154606, 0.031012803316116333, -0.013610508292913437, 0.00006021943408995867, -0.012248354963958263, -0.008221358060836792, 0.04223623126745224, -0.01753995753824711, -0.02853969857096672, -0.010654207319021225, 0.028036076575517654, 0.066398985683918, -0.02321045473217964, 0.0060346960090100765, 0.03684263676404953, -0.04917421564459801, -0.005872376728802919, -0.02327772229909897, 0.017582083120942116, 0.021645303815603256, 0.03830687701702118, 0.035997774451971054, 0.0314558744430542, -0.025718646124005318, -0.028420375660061836, 0.012421537190675735, 0.00036870327312499285, 0.00010259020928060636, -0.0018263483652845025, 0.012108766473829746, -0.03018037974834442, -0.043103959411382675, 0.05927058681845665, 0.04241005703806877, -0.010864435695111752, -0.0068860347382724285, 0.007326819933950901, 0.015419553965330124, 0.031138360500335693, 0.01654818281531334, 0.02054259181022644, 0.02658672444522381, -0.0034402082674205303, 0.011478384956717491, 0.028339438140392303, -0.00009195887832902372, 0.030167503282427788, -0.00742712477222085, 0.022242892533540726, -0.0013707103207707405, 0.005579775664955378, 0.03673162683844566, -0.005108869634568691, -0.038071561604738235, 0.008928461000323296, -0.04290970414876938, -0.03435894474387169, -0.03930363059043884, -0.0045608580112457275, -0.00933605432510376, 0.006167080253362656, -0.015495311468839645, 0.03369254991412163, 0.003963890951126814, -0.026911070570349693, 0.004795348271727562, 0.022197285667061806, 0.003009015927091241, -0.05014987662434578, 0.008500337600708008, 0.005898147821426392, -0.028946608304977417, -0.014547940343618393, -0.06497921794652939, -0.014995861798524857, 0.005977767985314131, 0.033206865191459656, 0.03842037171125412, -0.028260430321097374, 0.056155264377593994, 0.0037532534915953875, -0.022949716076254845, 0.021460849791765213, -0.019114283844828606, -0.015787562355399132, 0.039813801646232605, -0.0024223942309617996, -0.008510724641382694, -0.03692889213562012, -0.008082873187959194, 0.031595803797245026, 0.020128633826971054, -1.2577644703526403e-8, 0.020020805299282074, -0.009617138653993607, -0.029569707810878754, 0.001216780859977007, 0.05629747733473778, 0.01740923523902893, -0.0264088474214077, -0.016838081181049347, 0.015346808359026909, 0.012272828258574009, 0.027061788365244865, -0.03925924748182297, 0.021035660058259964, -0.00034327610046602786, -0.00750223733484745, -0.04016020894050598, 0.05414741486310959, 0.006815499160438776, 0.036505889147520065, -0.0068643298000097275, -0.024799754843115807, 0.024587426334619522, -0.011327363550662994, -0.005989646539092064, 0.06626103073358536, -0.02747419849038124, 0.00044963444815948606, -0.07573278248310089, 0.016129514202475548, 0.003967646509408951, 0.043731484562158585, -0.03195296972990036, -0.008376378566026688, 0.005180491600185633, -0.004787996876984835, -0.06964346766471863, 0.03770933300256729, 0.02535114996135235, 0.011039895936846733, 0.001488490728661418, -0.018454598262906075, 0.0019846793729811907, -0.03728734701871872, -0.013405661098659039, -0.024680953472852707, -0.007336743175983429, -0.0456126369535923, 0.017825957387685776, 0.012598252855241299, -0.03586829826235771, 0.0339602492749691, -0.012724509462714195, 0.003016015514731407, 0.0075109004974365234, 0.050593022257089615, 0.0323745422065258, 0.005948768462985754, 0.00893671065568924, -0.021295610815286636, -0.03235960379242897, 0.0023345572408288717, 0.0006012934609316289, -0.028551356866955757, -0.057477183640003204 ]
r-mapping-a-function-over-a-collection-of-values
https://markhneedham.com/blog/2012/07/23/r-mapping-a-function-over-a-collection-of-values
false
2012-07-23 22:23:10
neo4j: Graph Global vs Graph Local queries
[ "neo4j", "cypher" ]
[ "neo4j" ]
A few weeks ago I did a presentation at the ThoughtWorks EU away day on the graph I've been developing using neo4j and I wanted to show who the most connected people in each of our European offices were. I started with the following cypher query: [source,text] ---- START n = node(*) MATCH n-[r:colleagues*1..2]->c, n-[r2:member_of]->office WHERE n.type? = 'person' AND (NOT(HAS(r2.end_date))) AND office.name = 'London - UK South' AND (NOT(HAS(c.thoughtquitter))) RETURN n.name, count(distinct(c)) AS connections, office.name ORDER BY connections DESC ---- The intention is to find all the people who currently work in the London office and find their 1st and 2nd level connections i.e. people they have worked with or people who have worked with people they have worked with. That gives a rough idea of their reach in the organisation. I also wanted to exclude anyone who had left, hence the 'thoughtquitter' check. When I ran this query it took about 15 minutes to complete which immediately made me realise I was doing something wrong although I wasn't sure exactly what. I showed the query to Michael Hunger and https://gist.github.com/2983831[he pointed out] that it's a graph global query i.e. it probably touches most of the nodes on the graph even though it doesn't necessarily need to. Michael suggested restructuring the query to start from the London office and work out from there: [source,text] ---- START office=node:offices(name='London - UK South') MATCH office<-[r2:member_of]-n-[r:colleagues*1..2]->c WHERE n.type? = 'person' AND (NOT(HAS(r2.end_date))) AND (NOT(HAS(c.thoughtquitter))) RETURN n.name, count(distinct(c)) AS connections, office.name ORDER BY connections DESC ---- Now we are starting at the London office and finding all the people who have been members of it at some stage. We go and find their level 2 colleagues and then do the same filters that we had in the first query. The query time went down to around 45 seconds, presumably because the number of nodes on the graph that we touch has gone down substantially. The lesson for me from this is that when doing a graph traversal it makes much more sense to *pick specific starting and/or finishing nodes rather than selecting all of them*.
null
null
[ 0.01887243613600731, -0.005721312016248703, 0.017269613221287727, 0.028992686420679092, 0.08987927436828613, -0.0016577872447669506, 0.024591421708464622, 0.02893260307610035, 0.02536831609904766, -0.015343761071562767, -0.03198441118001938, -0.018644222989678383, -0.07902804762125015, 0.02622797153890133, 0.0042881411500275135, 0.06507380306720734, 0.058904536068439484, 0.029366353526711464, 0.009699760004878044, -0.03308769315481186, 0.051122453063726425, 0.06360459327697754, 0.001108266063965857, 0.03956102207303047, 0.06581141799688339, -0.012423597276210785, -0.0025403951294720173, -0.016752874478697777, -0.024572499096393585, 0.0002948502078652382, 0.05480742081999779, -0.010384189896285534, 0.025867696851491928, -0.026132352650165558, 0.03261474519968033, -0.00933332834392786, -0.042520660907030106, 0.015929490327835083, -0.01939397118985653, -0.015295627526938915, -0.052128225564956665, 0.03356672078371048, -0.010844220407307148, 0.035105764865875244, -0.04302627593278885, 0.01812109537422657, -0.07090723514556885, 0.04158608987927437, 0.018260933458805084, 0.0075289346277713776, -0.09359987825155258, 0.005644514225423336, 0.010272347368299961, 0.006871040444821119, -0.018045352771878242, 0.03141613304615021, 0.015573776327073574, -0.06317152827978134, 0.04972901940345764, -0.012155970558524132, 0.0015517037827521563, -0.009292521513998508, -0.004910927265882492, 0.03268992900848389, 0.011348034255206585, -0.05225469544529915, 0.018666528165340424, 0.06503989547491074, -0.035840366035699844, -0.010502815246582031, -0.017813490703701973, 0.02013019286096096, -0.008839528076350689, -0.00287937605753541, -0.027244556695222855, -0.028701052069664, 0.014746052213013172, 0.033129721879959106, 0.03740368038415909, 0.0391247496008873, -0.02001078985631466, 0.03254270926117897, -0.0045414031483232975, 0.03894580528140068, 0.0020088227465748787, -0.02353483811020851, -0.03372775390744209, -0.03641139343380928, -0.0575881265103817, 0.03983590751886368, 0.010430160909891129, -0.050579678267240524, -0.0027631681878119707, 0.01032952405512333, -0.013789552263915539, 0.00326609262265265, 0.024393470957875252, 0.003070136532187462, 0.01150369644165039, -0.043140314519405365, -0.0030372359324246645, -0.04525327309966087, -0.01849205419421196, 0.005388261750340462, -0.07103465497493744, -0.023985855281352997, -0.028421903029084206, -0.016165558248758316, 0.004430511500686407, -0.003675444284453988, -0.05885864421725273, -0.008093162439763546, -0.007156352046877146, 0.03877510875463486, -0.07888583093881607, 0.06378495693206787, 0.027501234784722328, -0.024304717779159546, -0.02724939025938511, 0.0035232738591730595, 0.02262014150619507, 0.035437244921922684, 0.0030231596902012825, 0.07130265980958939, -0.014991715550422668, 0.04980670288205147, -0.02718864567577839, 0.03590119257569313, -0.020441068336367607, -0.059643957763910294, -0.00009468614007346332, 0.0709165409207344, -0.013679863885045052, 0.006736667361110449, -0.025925705209374428, -0.056068841367959976, -0.012706806883215904, 0.027778007090091705, 0.049297574907541275, 0.03864597901701927, 0.0445803701877594, -0.04894227907061577, 0.03151872754096985, 0.016875622794032097, 0.01828642003238201, 0.002364132786169648, -0.04353195056319237, -0.0348653681576252, -0.0070234909653663635, -0.016391828656196594, 0.0003094117855653167, 0.020370153710246086, 0.02854982577264309, -0.02783242240548134, 0.03168316185474396, 0.11178518831729889, 0.04292412847280502, -0.006290459539741278, -0.023001646623015404, 0.006833431776612997, 0.041749827563762665, 0.028376823291182518, 0.01195774506777525, 0.070698082447052, -0.0005503857391886413, -0.014400430023670197, -0.0012383200228214264, 0.02905953675508499, -0.014028245583176613, 0.03813592717051506, -0.04711408540606499, -0.048644036054611206, 0.06720273941755295, -0.047617267817258835, -0.018774427473545074, 0.0441240519285202, 0.07545094937086105, 0.023450244218111038, -0.006899436470121145, 0.004530236590653658, -0.06335767358541489, 0.05128927901387215, -0.018303388729691505, 0.012684890069067478, 0.010271994397044182, 0.00146436074282974, 0.07253195345401764, 0.046942226588726044, -0.02224663272500038, 0.030759619548916817, -0.0815592035651207, -0.06949896365404129, -0.006468551233410835, -0.017967425286769867, 0.06044882535934448, -0.027807265520095825, 0.03950318694114685, 0.03338878974318504, -0.011667465791106224, 0.03915073722600937, 0.020114969462156296, -0.01085880771279335, 0.02054714970290661, -0.027173582464456558, -0.06713810563087463, 0.06345543265342712, 0.022447708994150162, -0.04835297167301178, -0.03926485404372215, 0.02811369113624096, -0.01200916152447462, 0.0042005316354334354, 0.01899597980082035, -0.0181824192404747, 0.02848259173333645, 0.02489634044468403, 0.02547265589237213, -0.015472195111215115, 0.028592444956302643, -0.029906578361988068, 0.04202849790453911, 0.02396387979388237, -0.008150206878781319, -0.005065201781690121, -0.0038067828863859177, 0.10911975800991058, 0.05804542079567909, -0.02264740876853466, -0.05374062806367874, 0.048799604177474976, 0.008984089829027653, -0.02265256829559803, 0.03224159777164459, -0.022740401327610016, -0.0005808411515317857, -0.03075246885418892, -0.053125325590372086, -0.043216537684202194, 0.018604766577482224, -0.045820452272892, 0.014881709590554237, 0.036415014415979385, -0.017566144466400146, 0.05507943034172058, 0.003499019192531705, -0.006124029867351055, 0.0021048677153885365, -0.039540842175483704, -0.031291816383600235, 0.04538692906498909, 0.009433893486857414, 0.0014464937848970294, 0.04073888435959816, -0.018705621361732483, 0.003904348472133279, -0.03028816357254982, 0.014493005350232124, 0.03835409879684448, 0.05560699850320816, 0.05335337296128273, -0.012195081450045109, 0.05531657859683037, -0.03873194381594658, 0.017839740961790085, -0.011872828006744385, -0.050588324666023254, -0.0560777522623539, -0.0448480062186718, 0.017992030829191208, -0.009594066999852657, 0.04379827529191971, -0.038456857204437256, 0.033133167773485184, -0.003135807579383254, 0.0092927236109972, -0.013351240195333958, 0.014022912830114365, -0.0041593583300709724, 0.01572447083890438, -0.03863423690199852, -0.02853904664516449, 0.05027342960238457, -0.06602295488119125, -0.029410285875201225, 0.01440580002963543, -0.055664971470832825, 0.04935627430677414, -0.04372962936758995, -0.028703240677714348, 0.0023433291353285313, 0.04183297976851463, 0.03648613765835762, 0.015400814823806286, -0.0017837369814515114, 0.0668049231171608, 0.030270425602793694, 0.04444776475429535, 0.01759394071996212, -0.016827700659632683, 0.049439165741205215, 0.004101329017430544, 0.05529342591762543, 0.04385333135724068, -0.03675070032477379, 0.009388068690896034, -0.039650291204452515, 0.01638331077992916, -0.03048047050833702, -0.2753021717071533, 0.055825717747211456, -0.015376889146864414, -0.027483759447932243, 0.002051465678960085, -0.04684487730264664, 0.01684550754725933, -0.019698994234204292, -0.03427831828594208, -0.018202530220150948, -0.016122011467814445, -0.029461493715643883, -0.03442217782139778, 0.051153529435396194, 0.02266133576631546, 0.035553060472011566, -0.0329895056784153, -0.07154907286167145, 0.025132592767477036, 0.05204908177256584, -0.00016245334700215608, -0.03838969022035599, -0.028495289385318756, 0.01541963778436184, 0.019538702443242073, 0.05552580580115318, -0.10715240240097046, 0.006330656819045544, -0.058943476527929306, -0.013342244550585747, 0.003569228807464242, -0.0340457446873188, 0.0026492876932024956, -0.001949106459505856, -0.0031194074545055628, -0.027118312194943428, 0.04632573202252388, 0.004520044662058353, -0.0054735299199819565, 0.025425085797905922, -0.047249797731637955, -0.042679313570261, -0.00737186660990119, -0.010881791822612286, 0.07472539693117142, 0.016935184597969055, -0.07458535581827164, -0.04088076576590538, -0.020293178036808968, 0.05202769115567207, -0.03800024092197418, -0.0173790380358696, -0.020327486097812653, 0.004764089360833168, -0.027499334886670113, -0.01811097003519535, -0.027792999520897865, -0.013407801277935505, -0.07072886824607849, -0.04101430997252464, -0.028534380719065666, -0.02551962621510029, 0.02595721371471882, -0.059848155826330185, -0.007798117585480213, -0.037998300045728683, -0.09493958204984665, -0.0231896061450243, 0.04436897486448288, -0.014151155948638916, -0.02143438532948494, 0.024506526067852974, -0.023960217833518982, -0.10771523416042328, -0.05969564616680145, -0.004993853624910116, 0.010478317737579346, 0.013921181671321392, 0.019119441509246826, 0.032115112990140915, -0.02862481214106083, -0.04030655324459076, -0.01056483294814825, 0.03093789704144001, 0.02415427938103676, 0.0018894680542871356, 0.012168781831860542, -0.000059099107602378353, -0.0444147065281868, 0.01678363047540188, 0.056211523711681366, 0.0018688379786908627, -0.022903919219970703, 0.004867292940616608, 0.003468248760327697, 0.03067438118159771, -0.011871103197336197, -0.010164392180740833, 0.002157159149646759, 0.056869663298130035, 0.04250921308994293, -0.03238248452544212, 0.000530952587723732, -0.010753435082733631, -0.021507643163204193, -0.023644493892788887, -0.0394040048122406, 0.022919708862900734, 0.03100018948316574, 0.021726949140429497, 0.015115086920559406, -0.017054297029972076, 0.008116700686514378, -0.038373563438653946, -0.02453121729195118, -0.021372081711888313, 0.03029334358870983, 0.023960137739777565, 0.03638828173279762, -0.030634434893727303, -0.059395477175712585, 0.03069932945072651, 0.027849450707435608, 0.014446471817791462, -0.06471624225378036, -0.028384119272232056, -0.044484954327344894, -0.03306753933429718, 0.017937133088707924, 0.02523021772503853, -0.03263510391116142, 0.03361276164650917, 0.01557487715035677, -0.012318830005824566, 0.05526510253548622, -0.0355997271835804, -0.04341408237814903, -0.0268235020339489, 0.006877062376588583, 0.00453476095572114, -0.01514302846044302, 0.010251699015498161, 0.009166249074041843, 0.05943850800395012, 0.04668699949979782, 0.006251951679587364, -0.0016261652344837785, -0.02120419777929783, 0.025722607970237732, 0.006824019830673933, -0.009850913658738136, -0.02517850697040558, 0.018023598939180374, -0.048575509339571, -0.0031875355634838343, 0.007404756732285023, 0.05518664792180061, -0.01192803867161274, -0.04549951106309891, -0.02184680849313736, 0.04301697388291359, -0.07779014855623245, 0.016713883727788925, -0.024116888642311096, 0.025401312857866287, 0.05369243770837784, -0.025245169177651405, 0.03164166584610939, -0.03480089455842972, -0.0066970535553991795, 0.000742135161999613, 0.02676280029118061, -0.04383157193660736, 0.016730481758713722, -0.0031411137897521257, 0.01585434377193451, 0.0017840497894212604, 0.03983556851744652, 0.028103498741984367, 0.011902129277586937, -0.02085753343999386, 0.0009908584179356694, 0.0020300745964050293, 0.02624896727502346, 0.050072167068719864, 0.0549963153898716, -0.004592245444655418, 0.012472063302993774, -0.019947288557887077, -0.021118372678756714, -0.003849967150017619, -0.007434014230966568, -0.044788528233766556, 0.01326364278793335, -0.03509131073951721, -0.06174907833337784, 0.05004851147532463, 0.00004545776027953252, 0.007251983508467674, 0.052532829344272614, -0.000016390074961236678, -0.01317895669490099, -0.02253049425780773, 0.022973399609327316, 0.05750017613172531, -0.047948792576789856, -0.02121606096625328, -0.0016201165271922946, -0.026985518634319305, 0.0017318876925855875, 0.014057128690183163, -0.04128948971629143, -0.025660572573542595, -0.029623718932271004, 0.010576566681265831, -0.024889953434467316, -0.03730328008532524, -0.02594255469739437, 0.008660824038088322, 0.0016586576821282506, 0.029419951140880585, 0.0002205259952461347, -0.020914863795042038, -0.00838182307779789, 0.0012689728755503893, 0.051231734454631805, -0.017875779420137405, -0.02201329544186592, -0.003793340874835849, -0.021384546533226967, -0.01810317486524582, -0.02344626747071743, 0.029278915375471115, 0.008688146248459816, -0.026136066764593124, 0.009117664769291878, -0.0556524395942688, -0.001372592756524682, 0.00783682893961668, 0.033553145825862885, -0.002584865316748619, -0.0041128708980977535, -0.03143683075904846, -0.01999085023999214, -0.015286724083125591, 0.023325713351368904, 0.007321417331695557, 0.0056179421953856945, 0.01892440766096115, 0.018222635611891747, 0.007264997344464064, 0.044067155569791794, 0.008478336036205292, -0.04168308526277542, 0.047460056841373444, -0.034246377646923065, -0.05205116420984268, -0.011720160953700542, -0.05590067058801651, -0.017773091793060303, 0.00337662803940475, -0.003589632222428918, -0.02355830743908882, 0.04913237318396568, 0.04348362609744072, 0.04415448382496834, 0.03831484913825989, -0.012487673200666904, 0.019432809203863144, -0.032022781670093536, -0.009983637370169163, -0.07233849912881851, -0.008330482989549637, 0.030920734629034996, -0.01620117761194706, 0.010949932038784027, -0.014070183970034122, -0.03308408707380295, 0.02886001393198967, -0.05450744554400444, -0.0307465810328722, 0.035633478313684464, -0.01239533256739378, 0.021824128925800323, 0.0193472970277071, -0.045829880982637405, 0.005162461195141077, 0.042688123881816864, -0.014015855267643929, -0.030713850632309914, -0.043337613344192505, 0.04749950021505356, -0.026394927874207497, 0.0408150851726532, -0.009976482018828392, -0.03181958943605423, 0.048953164368867874, 0.03837314993143082, 0.02841009944677353, 0.06417041271924973, -0.029929306358098984, 0.027496682479977608, 0.044923651963472366, -0.021216923370957375, -0.026118826121091843, 0.06147497147321701, -0.023190675303339958, -0.04232609272003174, 0.05485985428094864, -0.012721494771540165, -0.008953957818448544, -0.07138258218765259, 0.07812297344207764, 0.008387004025280476, -0.0461743026971817, -0.040793996304273605, 0.027323253452777863, -0.020673535764217377, -0.016990497708320618, -0.03224800527095795, -0.002677943790331483, -0.02963240072131157, 0.047245971858501434, -0.0011108131147921085, 0.028380995616316795, 0.07546894252300262, 0.01756051369011402, -0.0069710444658994675, -0.0015190631384029984, 0.09096870571374893, 0.11173989623785019, 0.0674794390797615, 0.0235587228089571, 0.0728481113910675, 0.0019641120452433825, -0.03178444877266884, -0.013402928598225117, -0.03751369193196297, -0.017137346789240837, 0.02483915537595749, 0.029195548966526985, 0.07322660833597183, -0.04229248687624931, 0.06210600212216377, -0.02284320443868637, -0.011222702451050282, 0.020901421085000038, -0.021119674667716026, 0.03663822263479233, 0.08427292853593826, 0.011971427127718925, 0.041600704193115234, -0.03969671204686165, -0.029265670105814934, 0.013239586725831032, -0.014328274875879288, -0.018077995628118515, 0.04043017700314522, -0.03680049628019333, -0.014522415585815907, 0.0041202399879693985, 0.02411552518606186, 0.08630446344614029, -0.020662056282162666, -0.00537888752296567, -0.00274156522937119, 0.009317316114902496, -0.018394766375422478, 0.008958139456808567, 0.0062689282931387424, -0.005955440457910299, -0.018167883157730103, -0.04972870275378227, -0.04610344395041466, -0.0297387782484293, -0.04916314408183098, -0.016977578401565552, -0.03453899919986725, -0.0041657439433038235, -0.01870434358716011, 0.00015846503083594143, -0.0032274697441607714, -0.05289957672357559, -0.03533663600683212, -0.05301198363304138, -0.0746610090136528, -0.014269082807004452, 0.002035605488345027, -0.02280004695057869, -0.016946779564023018, -0.007519736886024475, -0.02343977428972721, -0.013916444964706898, 0.024785783141851425, -0.032129477709531784, -0.0072450521402060986, 0.010635625571012497, 0.015526899136602879, 0.02407042495906353, 0.014903377741575241, 0.05095968022942543, -0.022821838036179543, 0.013460340909659863, -0.029798928648233414, 0.013688255101442337, 0.03724823519587517, 0.01966685988008976, -0.011301159858703613, -0.07968011498451233, -0.0014418335631489754, 0.006057507824152708, -0.027686432003974915, -0.07082806527614594, 0.009291077964007854, 0.04094133898615837, 0.04305180534720421, 0.033014073967933655, 0.006722640246152878, -0.016983386129140854, -0.014286638237535954, 0.017045920714735985, 0.00046381703577935696, -0.003074976848438382, 0.033792391419410706, -0.034958064556121826, 0.0657729059457779, 0.022020988166332245, -0.01901751011610031, -0.012236054055392742, -0.020316720008850098, 0.005793293938040733, -0.004387335851788521, -0.0425221286714077, -0.03446554020047188, -0.02951582707464695, -0.08329493552446365, -0.028179747983813286, 0.009124605916440487, -0.03024400770664215, -0.028735332190990448, 0.012096838094294071, 0.022191375494003296, -0.022942770272493362, 0.04240943863987923, -0.04334808513522148, 0.039618201553821564, -0.0051136743277311325, -0.02655811235308647, -0.020407555624842644, 0.012648491188883781, -0.013595197349786758, 0.004523108713328838, 0.022565152496099472, -0.06211106479167938, -0.0014842832460999489, -0.027285031974315643, 0.017036229372024536, 0.027053099125623703, 0.01247168704867363, 0.022513294592499733 ]
[ -0.041783593595027924, -0.03298633173108101, -0.03716249018907547, -0.016565000638365746, 0.07467851042747498, -0.046161942183971405, 0.02163064479827881, 0.012144448235630989, 0.04689284786581993, -0.02234698086977005, 0.050538111478090286, -0.02817693166434765, 0.022848572582006454, -0.009335418231785297, 0.05431704223155975, -0.010964636690914631, -0.05430903285741806, -0.08210038393735886, -0.016095569357275963, 0.0451432429254055, -0.05506317690014839, -0.06168808415532112, -0.03569742292165756, -0.030054649338126183, 0.021390892565250397, 0.040012989193201065, 0.06060004234313965, -0.015861717984080315, -0.021165894344449043, -0.19984987378120422, 0.0016466991510242224, 0.006722253747284412, 0.029849521815776825, 0.029753563925623894, 0.05056487396359444, 0.037040140479803085, 0.05931813642382622, -0.0017389495624229312, 0.009608250111341476, 0.035623811185359955, 0.014811772853136063, -0.008812124840915203, -0.027439698576927185, -0.0204008799046278, 0.04924435913562775, 0.022958654910326004, -0.02106744982302189, -0.009589752182364464, -0.04737253487110138, 0.019011937081813812, -0.010960116051137447, -0.022462308406829834, -0.00539228692650795, 0.01466717105358839, 0.00619528628885746, 0.06353269517421722, 0.037053149193525314, 0.03350453823804855, 0.020957570523023605, 0.04942215979099274, 0.01530264038592577, -0.00383138470351696, -0.15276773273944855, 0.05988910794258118, 0.02183912880718708, 0.005018919240683317, -0.03798307478427887, -0.024153968319296837, -0.0620381161570549, 0.07217724621295929, 0.0337805338203907, -0.011807342059910297, -0.04687142372131348, 0.038770779967308044, 0.019292104989290237, 0.025277696549892426, -0.027585113421082497, 0.04529959708452225, 0.03819449618458748, -0.045614007860422134, -0.031177455559372902, 0.02503040060400963, -0.02286023646593094, -0.00008775077731115744, -0.032373227179050446, 0.05128571018576622, -0.03209129348397255, 0.03855093568563461, 0.0017419446958228946, 0.015062091872096062, 0.032351646572351456, 0.03937165439128876, 0.006916964892297983, 0.012702485546469688, -0.08145299553871155, -0.05699198693037033, 0.014392703771591187, 0.0558919683098793, -0.014319437555968761, 0.41758042573928833, -0.02653343230485916, 0.01029655896127224, 0.06131478771567345, 0.062461744993925095, -0.01889204792678356, -0.02811140939593315, 0.020466143265366554, -0.05221515893936157, 0.03458358347415924, -0.009592772461473942, 0.014082866720855236, -0.04066914692521095, 0.04601794108748436, -0.08222039043903351, 0.036597058176994324, 0.03290300443768501, 0.07301859557628632, 0.02633151039481163, -0.024915527552366257, 0.022713402286171913, -0.016334228217601776, 0.02006903477013111, 0.017854567617177963, 0.004223160445690155, -0.003543686820194125, 0.030361847952008247, 0.021708371117711067, 0.051906127482652664, 0.03464086353778839, 0.01958046481013298, 0.05605825409293175, -0.005998807959258556, -0.06835014373064041, 0.034948017448186874, -0.04632273688912392, 0.011858772486448288, 0.031843800097703934, -0.036241963505744934, -0.02948375605046749, 0.03411511704325676, 0.017942404374480247, -0.041379984468221664, 0.025562500581145287, 0.014933373779058456, -0.021211793646216393, 0.14973637461662292, -0.02830328606069088, -0.049328841269016266, -0.03200710937380791, -0.022811736911535263, -0.0026647469494491816, 0.04302680119872093, -0.016109663993120193, -0.06947393715381622, -0.0203555840998888, 0.01518628466874361, 0.08844875544309616, 0.011872120201587677, -0.05996428057551384, 0.005499098915606737, 0.005815790966153145, -0.02738293632864952, -0.0606950968503952, 0.09333089739084244, 0.05890245735645294, -0.13558320701122284, 0.007327775936573744, 0.01785914972424507, -0.0009211640572175384, -0.07625698298215866, 0.0459931381046772, 0.0024915176909416914, -0.03883768990635872, 0.018287327140569687, 0.06010996177792549, -0.01988208293914795, -0.032063260674476624, 0.003482551546767354, 0.038736291229724884, 0.003780391300097108, -0.010110298171639442, 0.009591789916157722, -0.054808612912893295, -0.011528044007718563, -0.05514498054981232, -0.027293801307678223, -0.05661933496594429, 0.007771966513246298, -0.05065442621707916, -0.012844332493841648, -0.03875222057104111, -0.0074665178544819355, -0.06416060775518417, 0.06521160155534744, -0.04801429063081741, -0.03962646424770355, -0.024942521005868912, -0.005022470373660326, -0.03310925140976906, -0.004175812937319279, 0.010541100986301899, 0.009793885052204132, -0.05093148350715637, 0.006336847320199013, -0.07877054065465927, 0.026703165844082832, 0.06182720512151718, -0.018035419285297394, 0.08557876944541931, 0.016009589657187462, -0.023540008813142776, -0.01942259632050991, 0.010294584557414055, 0.023070720955729485, 0.01979360170662403, -0.03608415648341179, 0.013877933844923973, -0.005353065207600594, 0.02791852317750454, 0.045301489531993866, 0.006494318600744009, 0.010911118239164352, -0.03403929993510246, -0.3562650680541992, -0.05425583943724632, -0.026918601244688034, 0.014970339834690094, -0.00017274715355597436, -0.01811092533171177, 0.032218653708696365, 0.006098923739045858, 0.005724503193050623, 0.04266931489109993, 0.0759221538901329, 0.018956206738948822, -0.02362222410738468, -0.04187227413058281, 0.013201327063143253, 0.0400371290743351, -0.0244434867054224, 0.02532811462879181, -0.03347364440560341, 0.0010741647565737367, 0.024929333478212357, -0.023563286289572716, -0.03635050356388092, -0.03422236070036888, -0.006775872316211462, -0.02197529748082161, 0.13331739604473114, -0.014370407909154892, 0.007606221362948418, -0.053599223494529724, 0.016712317243218422, 0.003827278036624193, -0.011480515822768211, -0.07322144508361816, 0.014897977001965046, -0.00037202410749159753, 0.015683133155107498, -0.01926169916987419, -0.011498508043587208, -0.014957399107515812, -0.06723880022764206, -0.015784136950969696, -0.049954455345869064, -0.014563523232936859, -0.043632544577121735, 0.013305467553436756, -0.020391365513205528, -0.0030508136842399836, -0.032501302659511566, 0.06538236141204834, 0.011120542883872986, -0.005234237294644117, 0.03060794621706009, 0.026777828112244606, 0.014061839319765568, -0.03728310018777847, -0.07749848812818527, -0.00026312476256862283, -0.02040381170809269, 0.03494436666369438, -0.0017533182399347425, 0.03371343016624451, 0.002110614674165845, -0.061965372413396835, 0.021233029663562775, 0.011128047481179237, -0.021765192970633507, 0.01136807631701231, 0.032088398933410645, -0.03246259689331055, -0.022105762735009193, 0.08629724383354187, -0.014661865308880806, 0.004286798182874918, 0.02238903008401394, 0.02622312307357788, -0.014334133826196194, 0.012426420114934444, 0.014971246011555195, -0.009882638230919838, 0.054218363016843796, -0.05557494983077049, 0.05858587473630905, -0.04338397458195686, -0.018366694450378418, 0.07486849278211594, 0.02302844636142254, -0.02022237703204155, 0.07134804129600525, 0.0037340172566473484, -0.03898368775844574, -0.011112578213214874, -0.02172502689063549, -0.03372988477349281, 0.050659097731113434, -0.027088096365332603, -0.2611602544784546, 0.03540653735399246, 0.01004998292773962, 0.045087769627571106, 0.0076708183623850346, 0.006289228331297636, 0.012322119437158108, -0.013993131928145885, 0.01470455713570118, -0.00624201400205493, 0.056587859988212585, 0.034112945199012756, 0.0026556472294032574, -0.022840725257992744, -0.009292137809097767, 0.021271446719765663, 0.01309913769364357, 0.0026156532112509012, -0.0037914796266704798, 0.023784175515174866, 0.03564858064055443, -0.015145991928875446, 0.17251747846603394, 0.011385064572095871, 0.03431137651205063, 0.024050693958997726, -0.0332043431699276, 0.006315556820482016, 0.0339149571955204, -0.04032530635595322, -0.0058279563672840595, -0.0023554437793791294, -0.01735418662428856, -0.00025854079285636544, 0.027086637914180756, -0.058867376297712326, -0.013848737813532352, 0.03703980892896652, 0.03446366637945175, -0.04468375816941261, 0.0268196202814579, -0.01803898811340332, -0.038555968552827835, 0.011788795702159405, 0.0817599892616272, 0.003216463141143322, 0.004966850392520428, -0.02275390736758709, -0.027577722445130348, -0.0014390646247193217, -0.02243230864405632, -0.066926509141922, -0.022901397198438644, 0.012591454200446606, 0.010986086912453175, 0.06633833795785904, 0.008499990217387676, -0.02738230861723423, 0.008160012774169445, 0.005087306722998619, -0.04116351529955864, -0.031327929347753525, 0.1081489771604538, -0.025578424334526062, 0.019223522394895554 ]
[ 0.0025904355570673943, 0.018371984362602234, 0.02845725230872631, 0.037777215242385864, -0.042585331946611404, 0.004038400482386351, -0.02335185743868351, -0.013727427460253239, -0.020296957343816757, -0.005820424761623144, -0.04040678218007088, 0.005403636489063501, 0.014495438896119595, 0.009105224162340164, -0.0028615929186344147, 0.015773076564073563, 0.007183779496699572, -0.0035860866773873568, 0.05047469213604927, -0.022152813151478767, -0.0361659862101078, -0.01763829030096531, -0.0016199385281652212, -0.018448416143655777, 0.032037243247032166, 0.012079703621566296, -0.030124373733997345, 0.0214760210365057, 0.032852597534656525, -0.10494197905063629, -0.028532691299915314, -0.011035039089620113, -0.027719350531697273, 0.05846041068434715, -0.0041261594742536545, -0.015403823927044868, 0.02157532051205635, 0.06886420398950577, 0.049743928015232086, 0.03658019378781319, 0.020730476826429367, -0.014938647858798504, -0.011440450325608253, 0.011323592625558376, 0.01873660460114479, 0.014926917850971222, -0.002377993892878294, 0.0103709502145648, 0.005662380717694759, 0.00499087106436491, -0.0346362479031086, -0.029952293261885643, -0.020986657589673996, 0.010129069909453392, 0.04150475189089775, 0.01552092470228672, -0.04321155324578285, -0.017044806852936745, 0.000007095145519997459, -0.01800708658993244, 0.03099568746984005, -0.01326413918286562, -0.06231241300702095, -0.02766731008887291, -0.020470991730690002, -0.007287918124347925, -0.013222782872617245, 0.01709611527621746, -0.004716287832707167, -0.0022653681226074696, -0.028769057244062424, 0.00663616182282567, -0.052256252616643906, -0.015666263177990913, 0.004025113303214312, 0.05637817829847336, 0.01970372535288334, -0.028046313673257828, -0.004196010529994965, -0.021145224571228027, 0.016790013760328293, 0.03715961053967476, -0.0391564816236496, 0.03064369410276413, -0.05149317532777786, -0.028116758912801743, 0.01651947572827339, -0.03242978826165199, 0.0189861711114645, 0.01807398535311222, -0.02763468027114868, 0.03722427412867546, -0.019873259589076042, 0.005045551806688309, -0.1086592972278595, -0.014802172780036926, 0.022273145616054535, 0.03676629811525345, 0.007074108812958002, 0.8158947825431824, -0.015256594866514206, -0.011110100895166397, 0.018322261050343513, -0.013760424219071865, -0.034034352749586105, 0.016483232378959656, -0.009027386084198952, -0.002057168399915099, -0.0027084876783192158, -0.032148946076631546, -0.014473780058324337, 0.013115055859088898, -0.020458783954381943, -0.00042585848132148385, -0.002852838719263673, 0.03248336911201477, 0.026669148355722427, 0.01783912256360054, -0.007198820821940899, 0.023910008370876312, 0.008515077643096447, 0.05224542319774628, -0.0002576214319560677, -0.025504132732748985, -0.02501060999929905, -0.1533689647912979, -0.012817533686757088, -6.966327028490338e-33, 0.03276558592915535, 0.005208956077694893, 0.05836571380496025, 0.015876026824116707, 0.029214637354016304, 0.00006359073449857533, -0.025576604530215263, -0.0016409056261181831, -0.00027714890893548727, -0.012021020986139774, -0.02580675110220909, 0.00669272243976593, 0.025068417191505432, -0.03744404762983322, -0.000433157169027254, -0.007256669923663139, 0.05085957422852516, 0.02134675718843937, -0.0346914567053318, 0.022134004160761833, 0.026644226163625717, 0.0073707508854568005, -0.030586374923586845, 0.03655044361948967, 0.020341672003269196, 0.02088124118745327, -0.00552618782967329, -0.0174882709980011, 0.029837243258953094, -0.05081964656710625, -0.03465868905186653, 0.039759762585163116, 0.0167495459318161, -0.0011588583001866937, -0.023329224437475204, -0.06285449862480164, -0.03811013698577881, -0.012611502781510353, 0.010951568372547626, -0.08951956778764725, -0.06903024762868881, 0.02326570451259613, 0.023831220343708992, -0.040908489376306534, 0.0024921658914536238, -0.010416327975690365, -0.017385030165314674, 0.022458983585238457, -0.010107947513461113, 0.030183522030711174, 0.03490825742483139, -0.03173785284161568, -0.028398362919688225, 0.0865875706076622, -0.015992607921361923, -0.0014240911696106195, 0.014270356856286526, 0.04908295348286629, -0.0009010050562210381, 0.01679006777703762, 0.01881171204149723, -0.0053544724360108376, -0.024940403178334236, 0.04673433676362038, 0.021713757887482643, 0.026803698390722275, -0.05421295389533043, -0.0010816911235451698, 0.0034024303313344717, 0.01629495620727539, -0.05188308283686638, 0.06537319719791412, 0.01518548745661974, -0.014972737058997154, 0.01628299430012703, -0.02438207156956196, -0.029636334627866745, 0.007826365530490875, 0.009510607458651066, 0.0625721737742424, -0.029220962896943092, -0.004504373297095299, 0.02142132818698883, -0.01638057827949524, 0.0200214721262455, 0.006025270093232393, 0.08712290972471237, 0.007772958371788263, 0.017292112112045288, 0.046871598809957504, 0.028591075912117958, -0.011529579758644104, -0.0026996780652552843, -0.00041438874904997647, -0.028135597705841064, 6.86091310321241e-33, -0.0012392313219606876, 0.004305711016058922, -0.007445942610502243, -0.016674691811203957, 0.026060227304697037, 0.02123555913567543, 0.014022810384631157, -0.0044920118525624275, -0.03745586425065994, 0.062254972755908966, 0.011434435844421387, -0.055322159081697464, 0.025373201817274094, 0.0468471497297287, 0.06567497551441193, -0.026852047070860863, 0.025822913274168968, -0.057109229266643524, -0.00981221441179514, 0.04481833800673485, 0.018072744831442833, -0.0093288104981184, -0.00641252938657999, 0.012232552282512188, 0.04104260355234146, -0.0042480528354644775, 0.018643714487552643, -0.004395915661007166, -0.013070746324956417, 0.01279689371585846, -0.027136465534567833, 0.016602426767349243, -0.016727112233638763, -0.01188263762742281, 0.019600769504904747, 0.009597978554666042, -0.009585186839103699, -0.017882615327835083, 0.029763037338852882, -0.013257482089102268, 0.017389629036188126, 0.0070288218557834625, -0.02842976152896881, 0.057618021965026855, 0.018340222537517548, 0.0230826735496521, -0.020491039380431175, -0.011504278518259525, -0.027317436411976814, 0.009307151660323143, 0.00750168040394783, 0.011479452252388, -0.019964689388871193, 0.014752141200006008, 0.004163859412074089, -0.017304522916674614, -0.003992757759988308, 0.022041194140911102, 0.010699387639760971, 0.005798100959509611, -0.013981625437736511, -0.04283909499645233, -0.05153283104300499, 0.016281183809041977, -0.016877487301826477, -0.023566871881484985, -0.01801794208586216, 0.008257923647761345, 0.0007687851320952177, 0.005540195386856794, 0.015850793570280075, -0.009588168933987617, -0.009905132465064526, 0.0064961533062160015, 0.02227717451751232, -0.03631395101547241, -0.02209158055484295, -0.02339813858270645, -0.049309518188238144, 0.02973799593746662, 0.0035801951307803392, 0.007429922465234995, 0.012324705719947815, 0.008349187672138214, -0.002485363045707345, 0.011997689493000507, -0.003281069453805685, 0.035252198576927185, -0.016240371391177177, 0.01935577020049095, 0.02156911976635456, -0.0614529624581337, -0.03514890745282173, 0.04930492863059044, -0.01399477943778038, -1.26275310208257e-8, -0.079783596098423, 0.0053803282789886, -0.011884600855410099, -0.009173848666250706, 0.01940855383872986, -0.014757921919226646, -0.002106606727465987, 0.018544016405940056, -0.018049977719783783, 0.031760383397340775, 0.0323517881333828, -0.03424372151494026, -0.002876644255593419, 0.0009741432731971145, 0.010417588986456394, -0.024193603545427322, 0.0035407841205596924, -0.01978372223675251, 0.035065148025751114, 0.00741333095356822, 0.008886841125786304, 0.014572380110621452, -0.047708723694086075, 0.04421161115169525, 0.008168473839759827, -0.017140811309218407, 0.029133286327123642, -0.05605166032910347, 0.0009433315135538578, -0.0005204895278438926, -0.01661553420126438, -0.016849959269165993, 0.015420048497617245, 0.040285974740982056, -0.05772643908858299, -0.03549192473292351, 0.014108358882367611, 0.04618234187364578, -0.007390893530100584, 0.016789179295301437, 0.0031060143373906612, -0.024441149085760117, -0.04508295655250549, -0.020562486723065376, -0.03478573262691498, 0.0007331150118261576, -0.028018562123179436, -0.017328906804323196, 0.04068079963326454, -0.06327808648347855, 0.002610789844766259, -0.010654672048985958, 0.03325619176030159, 0.012621561996638775, 0.012662505730986595, -0.0049495212733745575, -0.0049043213948607445, 0.007728320546448231, -0.03434859216213226, -0.025417333468794823, -0.018570030108094215, 0.012477139942348003, -0.027979593724012375, -0.021448805928230286 ]
neo4j-graph-global-vs-graph-local-queries
https://markhneedham.com/blog/2012/07/23/neo4j-graph-global-vs-graph-local-queries