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
2013-10-14 07:27:10
Java: Incrementally read/stream a CSV file
[ "java" ]
[ "Java" ]
I've been doing some work which involves reading in CSV files, for which I've been using http://opencsv.sourceforge.net/[OpenCSV], and my initial approach was to read through the file line by line, parse the contents and save it into a list of maps. This works when the contents of the file fit into memory but is problematic for larger files where I needed to stream the file and process each line individually rather than all of them after the file was loaded. I initially wrote a variation on totallylazy's +++<cite>+++https://code.google.com/p/totallylazy/source/browse/src/com/googlecode/totallylazy/Strings.java?spec=svna4a6ac3d443db02821d434a5d6560cb77ec4ef4a&r=a4a6ac3d443db02821d434a5d6560cb77ec4ef4a#55[Strings#lines]+++</cite>+++ to do this and while I was able to stream the file I made a mistake somewhere which meant the number of maps on the heap was always increasing. After spending a few hours trying to fix this https://twitter.com/mesirii[Michael] suggested that it'd be easier to use an iterator instead and I ended up with the following code: [source,java] ---- public class ParseCSVFile { public static void main(String[] args) throws IOException { final CSVReader csvReader = new CSVReader( new BufferedReader( new FileReader( "/path/to/file.csv" ) ), '\t' ); final String[] fields = csvReader.readNext(); Iterator<Map<String, Object>>() lazilyLoadedFile = return new Iterator<Map<String, Object>>() { String[] data = csvReader.readNext(); @Override public boolean hasNext() { return data != null; } @Override public Map<String, Object> next() { final Map<String, Object> properties = new HashMap<String, Object>(); for ( int i = 0; i < data.length; i++ ) { properties.put(fields[i], data[i]); } try { data = csvReader.readNext(); } catch ( IOException e ) { data = null; } return properties; } @Override public void remove() { throw new UnsupportedOperationException(); } }; } } ---- Although this code works it's not the most readable function I've ever written so any suggestions on how to do this in a cleaner way are welcome.
null
null
[ 0.020045943558216095, -0.03769991919398308, -0.020365310832858086, 0.024813411757349968, 0.07413935661315918, 0.005319387651979923, 0.01951429806649685, 0.05540876463055611, 0.0007589474553242326, -0.008061103522777557, -0.002787371166050434, -0.03383231535553932, -0.07275857776403427, 0.025985006242990494, -0.012321132235229015, 0.07127142697572708, 0.06828340888023376, 0.002448798157274723, 0.027009887620806694, -0.006755379494279623, 0.011840438470244408, 0.07829394191503525, -0.0014783957740291953, 0.03592514991760254, 0.008387090638279915, -0.01864469237625599, -0.007936108857393265, 0.018832644447684288, -0.04693903774023056, 0.0016173813492059708, 0.0383511558175087, 0.01571493223309517, 0.01403852365911007, 0.0064229220151901245, -0.0005588202620856464, -0.028547555208206177, -0.02052779495716095, 0.0006677701021544635, -0.013004148378968239, 0.025323284789919853, -0.05681260675191879, 0.03536584973335266, -0.033826056867837906, -0.002917091827839613, -0.03332686796784401, 0.008723204024136066, 0.008284672163426876, 0.016604868695139885, -0.030783217400312424, -0.02329050935804844, -0.05847325921058655, 0.01613778807222843, -0.03152923658490181, -0.028092604130506516, 0.022674525156617165, 0.04335080087184906, 0.014809364452958107, -0.0791999101638794, 0.05716589093208313, -0.03295772522687912, 0.011255189776420593, -0.03944338113069534, -0.011932216584682465, 0.0388016439974308, 0.01653638482093811, -0.03822461515665054, -0.02733861654996872, 0.08228228241205215, -0.02578469179570675, -0.05425859987735748, -0.022700302302837372, 0.042440954595804214, -0.02348720096051693, -0.008249579928815365, 0.0064640045166015625, -0.050489701330661774, 0.0017112692585214972, 0.036373984068632126, -0.009680184535682201, 0.05166827142238617, -0.0454990491271019, 0.010618744418025017, 0.020526157692074776, 0.012635675258934498, 0.024700602516531944, -0.022265762090682983, -0.03138422593474388, -0.010139781050384045, -0.03343980386853218, 0.04744488373398781, 0.020853780210018158, -0.014734514988958836, -0.027993254363536835, 0.028658531606197357, -0.011916515417397022, 0.00748025206848979, -0.0069103664718568325, 0.009310845285654068, 0.002162849996238947, 0.002148623112589121, -0.06394815444946289, -0.005377883091568947, 0.004376937169581652, 0.02438785322010517, -0.0733221173286438, -0.004415336064994335, 0.0014075867366045713, -0.014993187971413136, 0.035423025488853455, 0.0058575961738824844, -0.014722760766744614, -0.011549804359674454, -0.04136407747864723, -0.0017469881568104029, -0.08606673032045364, 0.04721402749419212, 0.03367278724908829, -0.01737927459180355, 0.007163438946008682, 0.06403008848428726, 0.03150031715631485, 0.034457527101039886, 0.027818575501441956, 0.08200246095657349, -0.0005868774023838341, 0.01835603080689907, -0.00822130311280489, 0.037389982491731644, -0.00305763422511518, -0.06957800686359406, -0.01590805873274803, 0.03212222829461098, 0.006016588769853115, 0.008561438880860806, -0.00925107765942812, -0.013514053076505661, -0.0032297619618475437, -0.0021574341226369143, 0.021656561642885208, 0.0003753703203983605, 0.0015063178725540638, -0.013492848724126816, 0.025680888444185257, -0.0013103310484439135, 0.023547228425741196, 0.03574543446302414, -0.004802962765097618, -0.0006498293951153755, -0.010441971942782402, 0.0349554680287838, 0.03561491519212723, 0.04427371174097061, 0.060433611273765564, -0.02427811361849308, -0.004566655959933996, 0.11751558631658554, -0.012529577128589153, 0.04587239772081375, -0.00005123715891386382, 0.02671276032924652, 0.0385916605591774, 0.06686517596244812, -0.00004903121953248046, 0.03636576980352402, -0.0013368065701797605, -0.032077256590127945, 0.008600637316703796, 0.019193973392248154, -0.049848027527332306, 0.0029871384613215923, -0.04716026037931442, -0.06001259386539459, 0.048724375665187836, -0.06892190873622894, 0.0012836693786084652, -0.00045954834786243737, 0.07433140277862549, 0.02843294106423855, 0.04906120151281357, -0.01957191526889801, -0.0705997422337532, 0.01675819233059883, 0.0050682807341217995, 0.028790200129151344, -0.0002038577222265303, 0.017924372106790543, 0.06708869338035583, 0.047904156148433685, 0.007760918699204922, 0.002872222801670432, -0.06558659672737122, -0.06700493395328522, -0.05680643767118454, 0.009425587020814419, 0.05625249445438385, -0.047859080135822296, -0.00784070510417223, 0.045676834881305695, 0.01010992843657732, 0.02639204077422619, 0.013827201910316944, -0.017101727426052094, 0.039649929851293564, -0.05752376466989517, -0.08144810795783997, 0.0186715479940176, 0.040731705725193024, -0.031108492985367775, -0.028350889682769775, 0.01653696410357952, -0.04922645166516304, 0.027259383350610733, 0.024726754054427147, -0.020619139075279236, 0.04193258658051491, 0.038938261568546295, 0.0190125685185194, -0.030593127012252808, 0.06761830300092697, -0.08998903632164001, 0.02692214399576187, -0.009242880158126354, -0.005208061542361975, 0.000842181034386158, -0.004037357401102781, 0.12172111123800278, 0.031061550602316856, -0.005875829141587019, -0.08553975075483322, 0.008484556339681149, -0.02013476751744747, -0.05632901191711426, 0.00310874474234879, -0.030295442789793015, 0.0039797211065888405, 0.01889687031507492, -0.030755307525396347, -0.019529961049556732, 0.0096184853464365, -0.007282019592821598, -0.005700015928596258, 0.03568435087800026, 0.013833062723279, 0.04555649682879448, 0.03626304864883423, -0.0343332439661026, 0.020116247236728668, -0.05095361918210983, -0.055401019752025604, -0.017122289165854454, 0.014169417321681976, -0.0070968978106975555, 0.0424211323261261, -0.03526155650615692, -0.045552659779787064, -0.007474877871572971, -0.07330942153930664, -0.008907229639589787, 0.06740399450063705, 0.06797531992197037, 0.0002543243463151157, 0.06168301776051521, -0.026475712656974792, -0.005207114852964878, -0.021194517612457275, -0.02233651839196682, -0.0019207857549190521, -0.024663204327225685, 0.008013831451535225, 0.03310246393084526, -0.005007395055145025, 0.014836924150586128, 0.052525002509355545, 0.026077110320329666, -0.014509197324514389, 0.0021431848872452974, 0.053517889231443405, -0.013424375094473362, -0.02095513790845871, -0.04299114644527435, -0.0020470162853598595, 0.039944302290678024, -0.05095355957746506, -0.03043336048722267, 0.015566862188279629, -0.06505273282527924, 0.0587332583963871, -0.030559459701180458, -0.06518500298261642, -0.004384372849017382, 0.021620387211441994, 0.021523552015423775, 0.008455737493932247, -0.00688918074592948, 0.05943584442138672, 0.01062545645982027, -0.0012693594908341765, -0.0005785551038570702, 0.020000046119093895, 0.02515033818781376, -0.022028019651770592, 0.0062028709799051285, 0.06750767678022385, 0.008446862921118736, -0.017094871029257774, -0.04397004097700119, 0.014215774834156036, -0.019775208085775375, -0.2635531723499298, 0.04947218671441078, -0.027787523344159126, -0.0441703200340271, 0.026619983837008476, -0.019280683249235153, 0.014050109311938286, -0.04773969203233719, -0.019121583551168442, 0.02905043214559555, -0.028799299150705338, -0.006475552916526794, -0.06797660142183304, 0.050236597657203674, -0.01600174605846405, 0.0137476259842515, 0.008546778932213783, -0.043690964579582214, 0.030827520415186882, 0.04965226724743843, -0.004324789624661207, -0.06248602271080017, -0.0002482854761183262, 0.04315100610256195, 0.031684428453445435, 0.06180945038795471, -0.09876897186040878, 0.06129543110728264, -0.021715478971600533, -0.00606570765376091, 0.023888984695076942, -0.04475750774145126, 0.011049946770071983, -0.017824819311499596, -0.0360775850713253, -0.021565567702054977, 0.008566377684473991, 0.04861979931592941, -0.0048502366989851, 0.021127868443727493, -0.030596842989325523, -0.05857251212000847, -0.03235059976577759, -0.016564957797527313, 0.06358689814805984, -0.02031629905104637, -0.05283685401082039, -0.016593847423791885, -0.01295514777302742, 0.08214189857244492, -0.02816958725452423, -0.06343838572502136, 0.0013984552351757884, 0.02638974040746689, -0.008731831796467304, -0.006629827432334423, 0.016649041324853897, -0.02529396489262581, -0.04575270786881447, -0.03546610102057457, 0.012463999912142754, -0.06504546105861664, -0.012419236823916435, -0.060275111347436905, -0.019893968477845192, -0.05742068216204643, -0.07130579650402069, -0.011297449469566345, 0.06366593390703201, 0.05324430391192436, -0.01857544481754303, 0.023163065314292908, 0.017296157777309418, -0.0978781059384346, -0.009648561477661133, -0.04650868847966194, -0.02016473188996315, -0.010846294462680817, -0.015095905400812626, 0.07288771867752075, -0.055553510785102844, -0.03229745477437973, 0.046548571437597275, 0.0176199059933424, 0.035803914070129395, -0.05796130374073982, 0.013728424906730652, -0.031657624989748, -0.013968936167657375, -0.02991093508899212, 0.0749484971165657, -0.028293248265981674, -0.00920781958848238, -0.026997266337275505, 0.001138709718361497, 0.07751784473657608, 0.007709491066634655, 0.010337524116039276, 0.0088767996057868, 0.03039674088358879, 0.0638296902179718, -0.039367128163576126, 0.0137401157990098, -0.028293190523982048, 0.009433101862668991, -0.018190909177064896, -0.05864953622221947, 0.029622264206409454, 0.004527377896010876, 0.018018655478954315, 0.009885558858513832, -0.020600195974111557, 0.02044832892715931, -0.05354627966880798, -0.016444478183984756, -0.0053606522269546986, 0.006829447578638792, 0.021044833585619926, 0.007365738041698933, -0.02294650301337242, -0.040088824927806854, 0.026539556682109833, 0.030925245955586433, -0.02741680108010769, -0.050196561962366104, -0.026039473712444305, 0.01313085202127695, -0.01890791393816471, -0.022030171006917953, -0.0023896009661257267, -0.04561320319771767, 0.020385604351758957, 0.021413709968328476, -0.03897362947463989, 0.009490289725363255, -0.050561901181936264, -0.0034386166371405125, -0.049805376678705215, -0.03183482587337494, 0.022119995206594467, 0.013630827888846397, -0.014591929502785206, 0.019802019000053406, 0.024090761318802834, 0.027886362746357918, -0.0014056257205083966, 0.010295308195054531, 0.024306798353791237, -0.0006326966686174273, 0.008577488362789154, 0.0028315004892647266, -0.05698660761117935, 0.013001054525375366, 0.0034501266200095415, -0.0659170150756836, -0.028883730992674828, 0.014218191616237164, -0.016950227320194244, -0.027623873203992844, -0.02648104727268219, 0.04412137344479561, -0.029384871944785118, -0.0010653184726834297, -0.0068308766931295395, -0.012801174074411392, 0.058109357953071594, 0.005208008456975222, 0.059475693851709366, -0.0038912021555006504, -0.0024542531464248896, 0.011658553965389729, 0.004625234752893448, -0.02121013030409813, 0.003212544834241271, -0.0014723391504958272, 0.012700226157903671, 0.03905128315091133, 0.02799351140856743, 0.021911459043622017, 0.034493960440158844, -0.01721816509962082, -0.009858859702944756, 0.014149956405162811, 0.0007543847896158695, 0.03735605999827385, 0.014382932335138321, -0.021120451390743256, 0.007700181100517511, -0.02684035897254944, -0.028586169704794884, -0.024853302165865898, -0.017711089923977852, -0.01698629930615425, 0.011288313195109367, -0.025973504409193993, -0.08081861585378647, 0.03449803218245506, -0.0006126402877271175, 0.006565853487700224, 0.006636523175984621, -0.007827160879969597, 0.0008306407835334539, -0.01659727841615677, -0.009711816906929016, 0.047923315316438675, -0.0442662388086319, -0.021772071719169617, -0.010329097509384155, 0.001671132049523294, 0.027775980532169342, -0.005854894872754812, -0.05095797777175903, 0.018392926082015038, 0.005279394332319498, 0.02013741061091423, -0.02454771101474762, -0.039464570581912994, -0.026708748191595078, 0.02065861038863659, -0.01804976910352707, -0.033953890204429626, -0.02006441541016102, -0.005819068290293217, -0.04384317994117737, -0.004379346966743469, 0.016703523695468903, -0.0045240046456456184, -0.0251539945602417, 0.05057672783732414, -0.04399019479751587, 0.024342916905879974, -0.012991109862923622, 0.056391362100839615, 0.03258082643151283, -0.007599090691655874, -0.025510068982839584, -0.022079629823565483, 0.017909813672304153, 0.018840046599507332, 0.06502027809619904, 0.012543603777885437, -0.010608546435832977, -0.019638126716017723, 0.0038299530278891325, -0.006538358982652426, 0.00865999422967434, -0.022983675822615623, -0.028092464432120323, 0.012934425845742226, 0.07594148069620132, 0.01792466640472412, 0.036170847713947296, 0.006976967211812735, -0.05620495602488518, 0.07318951189517975, -0.03824101388454437, -0.06051567941904068, -0.021158458665013313, -0.05444766581058502, 0.03259175643324852, 0.021330375224351883, 0.0015766379656270146, -0.042823828756809235, 0.05974812060594559, 0.03544978052377701, -0.008047702722251415, 0.04609832540154457, 0.007976032793521881, 0.03471978008747101, -0.009133107960224152, -0.011901740916073322, -0.10364483296871185, 0.016468947753310204, 0.04792892560362816, 0.01400720700621605, 0.0085448594763875, -0.057064276188611984, -0.017337804660201073, 0.030196769163012505, -0.05492288991808891, -0.03855377808213234, 0.0357179269194603, -0.023312995210289955, 0.01662154495716095, 0.005288644693791866, -0.03754506632685661, 0.0504632368683815, 0.04195493832230568, -0.06108085438609123, -0.036066800355911255, -0.049028877168893814, 0.03750176355242729, 0.006868532858788967, 0.008843068033456802, -0.024902423843741417, 0.008849406614899635, 0.03952469304203987, 0.021712880581617355, 0.009882783517241478, 0.049272969365119934, -0.02969791553914547, 0.05850332975387573, 0.04023396596312523, -0.048490963876247406, -0.009327152743935585, 0.032184142619371414, -0.002270482014864683, -0.03499465063214302, -0.0071043348871171474, -0.0037458937149494886, -0.007356924470514059, -0.016424037516117096, 0.06976490467786789, 0.030880995094776154, -0.028867609798908234, -0.03899461776018143, 0.01048988290131092, -0.033907730132341385, 0.004002154339104891, -0.044321004301309586, 0.02786528319120407, -0.032720260322093964, 0.043306589126586914, -0.009209559299051762, -0.012168917804956436, 0.07837426662445068, -0.011270709335803986, -0.003764614462852478, -0.018757153302431107, 0.08948934823274612, 0.06984470784664154, -0.00017939653480425477, -0.0032918571960181, 0.05198666453361511, -0.0023852766025811434, -0.032280758023262024, 0.0023622186854481697, -0.015259213745594025, 0.0036831244360655546, -0.025986287742853165, -0.00011930332402698696, 0.062472179532051086, 0.0023150513879954815, 0.0805322602391243, -0.04413763806223869, -0.01178157888352871, 0.0015519404551014304, 0.057175274938344955, 0.02284032292664051, 0.0066370414569973946, 0.014875983819365501, 0.007655275985598564, -0.011413875967264175, -0.0037221505772322416, 0.015439320355653763, 0.02088468335568905, -0.02404714934527874, 0.022377675399184227, 0.008035415783524513, -0.0012266257544979453, 0.005975265521556139, 0.0379546657204628, 0.05429083853960037, -0.02219267189502716, 0.00159326137509197, -0.020330175757408142, 0.02329920418560505, -0.011216407641768456, 0.00709501700475812, -0.0017656140262261033, -0.028711307793855667, -0.010687698610126972, -0.015443597920238972, -0.02337280847132206, 0.00715580815449357, -0.011824997141957283, -0.01791980117559433, -0.02702624723315239, 0.017419960349798203, 0.012949853204190731, 0.01630955934524536, -0.06393702328205109, -0.04094609618186951, -0.03875807672739029, -0.06385927647352219, -0.058827292174100876, -0.0031257737427949905, 0.003366119461134076, 0.007411602418869734, -0.038375623524188995, -0.04630458354949951, -0.05318533629179001, -0.02579290233552456, 0.017081115394830704, -0.03604437783360481, 0.001867174170911312, 0.013560561463236809, 0.03702206909656525, 0.030744820833206177, 0.03545668348670006, 0.03518140688538551, -0.007654921151697636, -0.001096702995710075, 0.006608693394809961, -0.004445953294634819, 0.05474349111318588, 0.0019866793882101774, 0.019619587808847427, -0.09515135735273361, 0.02205265872180462, 0.026422107592225075, -0.019004732370376587, -0.08562248945236206, 0.01588176004588604, 0.058927636593580246, 0.0028562848456203938, 0.041124068200588226, -0.004335937090218067, -0.009258042089641094, -0.03665542975068092, -0.03820722550153732, 0.008021505549550056, -0.006291800178587437, 0.0660637691617012, 0.0024214242585003376, 0.07063214480876923, 0.04966920614242554, 0.008606106042861938, -0.044302746653556824, 0.00957900658249855, -0.02395283430814743, 0.019544003531336784, -0.05083079636096954, -0.038790829479694366, -0.05896613001823425, -0.05721978470683098, 0.008460171520709991, 0.01949116215109825, -0.02634570561349392, -0.028383344411849976, 0.00697915256023407, 0.03768375143408775, -0.03835001587867737, 0.011718916706740856, -0.005912594962865114, 0.02241329662501812, -0.0237046480178833, -0.02878258191049099, -0.011402007192373276, 0.03257372975349426, 0.032219450920820236, 0.009284229949116707, 0.006792169064283371, -0.011762545444071293, 0.008849343284964561, 0.005831867456436157, 0.011243419721722603, 0.07111074030399323, -0.021546142175793648, -0.010047238320112228 ]
[ -0.07787706702947617, -0.009464293718338013, -0.04385575279593468, -0.055585477501153946, 0.07528667896986008, -0.07122018933296204, -0.027728339657187462, 0.013957804068922997, 0.007725291419774294, -0.008121638558804989, 0.006524898577481508, -0.061849236488342285, -0.012315653264522552, -0.02190355584025383, 0.04508141055703163, -0.019509295001626015, -0.0036500641144812107, -0.04350907355546951, -0.032005734741687775, 0.0471644252538681, -0.010196142829954624, -0.022877506911754608, -0.027910934761166573, -0.05065000057220459, -0.011270261369645596, 0.0001609357859706506, 0.03751879930496216, -0.07077765464782715, -0.022504987195134163, -0.2402098923921585, -0.004897797480225563, -0.036280326545238495, 0.023559805005788803, -0.02049017883837223, -0.02031748928129673, 0.0178354661911726, 0.05095689371228218, 0.023220611736178398, -0.004612873308360577, 0.03448256477713585, 0.015547255985438824, 0.03898466378450394, -0.07272308319807053, -0.02059493586421013, -0.017568068578839302, -0.013995015062391758, -0.013609963469207287, -0.010138479992747307, 0.050873566418886185, 0.01103437040001154, -0.0926777794957161, 0.008947623893618584, -0.006767698563635349, -0.029745684936642647, -0.044435035437345505, -0.006255730986595154, 0.034883011132478714, 0.07144339382648468, 0.015617636032402515, -0.0011053025955334306, 0.010861282236874104, -0.016975456848740578, -0.14714482426643372, 0.10775955021381378, 0.007013325113803148, 0.03578023239970207, -0.02232118509709835, -0.01158884447067976, -0.024818215519189835, 0.07783859223127365, -0.00692765461280942, 0.009293211624026299, -0.04221859201788902, 0.07567887753248215, 0.03282416984438896, -0.05285951495170593, -0.005473604425787926, 0.03756489232182503, 0.021379828453063965, -0.033248454332351685, -0.06953085213899612, -0.015936793759465218, 0.040303125977516174, -0.014087576419115067, -0.031203769147396088, 0.021126993000507355, -0.02032880298793316, 0.05871979519724846, 0.02176155522465706, -0.0007113884785212576, 0.03678898885846138, -0.0024898729752749205, 0.04696764424443245, 0.019322644919157028, -0.09173783659934998, -0.03689435496926308, 0.0011707139201462269, 0.020100105553865433, 0.015552799217402935, 0.4037449359893799, -0.07285527139902115, -0.045374590903520584, 0.04742202162742615, 0.04706185683608055, 0.008448481559753418, 0.006973368115723133, 0.004957919474691153, -0.014085645787417889, 0.00021888691117055714, -0.029667528346180916, 0.011913031339645386, -0.0450403057038784, 0.04347589984536171, -0.06032984331250191, 0.0007631338085047901, 0.020912354812026024, 0.038772646337747574, 0.007948063313961029, -0.043114639818668365, 0.0471201129257679, -0.008739783428609371, -0.008122358471155167, 0.028691204264760017, 0.035350292921066284, 0.04569598287343979, -0.03671691566705704, 0.04131099209189415, 0.07496371865272522, 0.05460071563720703, 0.003613509936258197, 0.04721074923872948, -0.043654151260852814, -0.07667022198438644, 0.0021555214188992977, 0.0058784387074410915, 0.02263091504573822, 0.02953169494867325, -0.044950973242521286, -0.007516574580222368, -0.0164922084659338, 0.005886779632419348, -0.013036910444498062, 0.03742419555783272, -0.03388740122318268, -0.028485698625445366, 0.11029065400362015, -0.0005781279760412872, -0.03176366910338402, -0.0159921832382679, -0.07977300882339478, 0.02026255615055561, 0.043801017105579376, 0.018077321350574493, -0.04766995832324028, 0.000005529091140488163, 0.031110648065805435, 0.06903091073036194, -0.028287125751376152, -0.06336893886327744, -0.009908566251397133, -0.052891191095113754, -0.008368458598852158, -0.021986791864037514, 0.06209274008870125, 0.042572297155857086, -0.03336169943213463, -0.04934287443757057, 0.0027664615772664547, 0.01952941156923771, -0.05619734153151512, 0.008267509751021862, 0.0022205663844943047, -0.01384280901402235, -0.01652762107551098, 0.05108586698770523, -0.00233212998136878, -0.030573219060897827, -0.014506730251014233, 0.035584427416324615, 0.030985020101070404, -0.0028646925929933786, 0.037883210927248, -0.037996161729097366, 0.054143309593200684, -0.05733532831072807, -0.0825655609369278, -0.05998922884464264, 0.010471868328750134, -0.004847263917326927, -0.00504695251584053, -0.015613874420523643, -0.029129497706890106, -0.0563131608068943, 0.006029496435075998, -0.01913873665034771, -0.002529713325202465, 0.03343617916107178, 0.013328942470252514, -0.006395964417606592, -0.05269895866513252, 0.05850502476096153, 0.04250253364443779, -0.014460272155702114, 0.06211262196302414, -0.036270275712013245, -0.004312902223318815, 0.04386305436491966, -0.038961347192525864, 0.061039410531520844, 0.025202957913279533, -0.011144664138555527, -0.014246911741793156, -0.02356138452887535, -0.00874235201627016, -0.0253022201359272, -0.04618973657488823, -0.0060663544572889805, -0.014110185205936432, 0.027269551530480385, 0.03410474956035614, -0.02846476249396801, -0.09455128014087677, -0.02007899060845375, -0.33284395933151245, -0.03948725387454033, -0.0030150774400681257, -0.02022487111389637, 0.01397454459220171, -0.030342362821102142, 0.003727617207914591, -0.007673988118767738, -0.011802352964878082, 0.01859414018690586, 0.08341958373785019, -0.04031597822904587, -0.013401085510849953, -0.09982742369174957, -0.00038509879959747195, 0.03472412750124931, -0.038858119398355484, -0.015299029648303986, -0.03000587970018387, 0.04386482760310173, 0.01898682676255703, -0.006801866926252842, -0.005431716796010733, -0.01031590811908245, 0.031705040484666824, -0.042933426797389984, 0.08717592060565948, 0.01004478894174099, 0.09158553183078766, -0.03863177448511124, 0.05853023752570152, 0.004970880225300789, 0.0024904441088438034, -0.08979858458042145, -0.0358392670750618, -0.0288335420191288, -0.0175514817237854, 0.07325604557991028, 0.016879022121429443, 0.02100403606891632, -0.014637527987360954, 0.011290367692708969, -0.04804821312427521, -0.017567528411746025, -0.015666566789150238, -0.009120343253016472, 0.026449792087078094, -0.02949267253279686, 0.005599278025329113, 0.04775163158774376, -0.028010286390781403, -0.0006498039583675563, 0.03469031676650047, 0.04282268509268761, 0.05640450119972229, -0.027268188074231148, -0.06075580045580864, -0.022809164598584175, 0.0060242582112550735, -0.009992471896111965, 0.01940142549574375, 0.02702184021472931, 0.03835698217153549, -0.012988138943910599, -0.001521903439424932, 0.027424652129411697, -0.005229380913078785, 0.004093168303370476, 0.022986838594079018, -0.03619660064578056, -0.0559920072555542, 0.09114417433738708, -0.03933495655655861, -0.009945201687514782, 0.02578273043036461, 0.057821281254291534, 0.02066691592335701, 0.0021068640053272247, 0.010808926075696945, -0.013712001033127308, 0.028946025297045708, 0.009636441245675087, 0.037334658205509186, -0.015637708827853203, 0.02127669006586075, 0.048561323434114456, -0.005038820207118988, 0.0299159474670887, -0.00356447440572083, 0.01204845029860735, 0.02633034624159336, -0.030068915337324142, -0.00001672745383984875, -0.06144465506076813, 0.08006076514720917, -0.002700731623917818, -0.26216235756874084, 0.02839367650449276, 0.055893249809741974, 0.04752171039581299, -0.008019269444048405, 0.013324685394763947, 0.04570147022604942, -0.04332593083381653, 0.023437371477484703, 0.06217038631439209, 0.020984813570976257, 0.019307386130094528, -0.0011502958368510008, -0.005085513927042484, 0.011343942023813725, -0.023770369589328766, 0.044104091823101044, 0.030626365914940834, 0.06041667237877846, 0.007809575647115707, 0.017893288284540176, -0.020679911598563194, 0.17794299125671387, -0.01531869638711214, 0.031215647235512733, 0.04584990814328194, -0.006981565151363611, 0.01015632227063179, 0.08260828256607056, 0.02663101814687252, 0.02915840595960617, -0.012745554558932781, 0.07098634541034698, 0.01846449263393879, 0.023413540795445442, -0.04873447120189667, -0.01224069856107235, 0.0721469447016716, 0.022041019052267075, -0.013590613380074501, -0.003638866124674678, 0.027221141383051872, -0.0604572631418705, 0.008456042967736721, 0.05611633509397507, 0.026209218427538872, -0.02613651193678379, -0.05875835567712784, -0.047966379672288895, -0.003153838450089097, -0.009065363556146622, -0.03174921125173569, 0.02226831577718258, -0.010875435546040535, 0.008916440419852734, 0.06970695406198502, 0.0032743271440267563, -0.032910965383052826, 0.0013097806368023157, 0.013899889774620533, 0.02805240824818611, -0.06186232343316078, 0.11194667220115662, 0.0276060551404953, -0.0022656889632344246 ]
[ 0.007825584150850773, 0.03804289922118187, -0.0485776886343956, 0.003958152141422033, -0.01307840645313263, -0.007706653326749802, -0.003030764404684305, 0.04812653362751007, -0.006641429383307695, 0.012813679873943329, -0.018108263611793518, -0.012124353088438511, 0.00045191191020421684, -0.04979827627539635, -0.00795954093337059, -0.03344850242137909, -0.03561130538582802, -0.0016325416509062052, 0.01707008108496666, -0.017626259475946426, -0.04355044662952423, 0.024087008088827133, 0.02862223982810974, -0.04453475773334503, -0.006304501090198755, 0.060063328593969345, -0.022999968379735947, -0.019891440868377686, -0.015958303585648537, -0.13601486384868622, -0.010800106450915337, -0.011936789378523827, -0.00244683469645679, 0.005449701100587845, 0.001438213512301445, 0.032914068549871445, -0.005790444556623697, 0.0349888801574707, -0.05254489183425903, 0.0031969111878424883, -0.0007062637014314532, 0.009171025827527046, -0.014094592072069645, 0.04018783196806908, -0.013845350593328476, -0.004227727185934782, -0.014735287055373192, -0.026585979387164116, -0.011544873006641865, 0.0216504018753767, -0.05168220028281212, -0.012822949327528477, -0.012134923599660397, 0.006921287160366774, -0.003784801345318556, -0.03133150562644005, -0.02744152769446373, -0.020190434530377388, -0.004468140657991171, -0.011687634512782097, 0.022802621126174927, -0.02508530765771866, -0.020969007164239883, -0.014385494403541088, 0.011013480834662914, -0.014258136041462421, 0.04491031914949417, 0.015751883387565613, 0.023858152329921722, -0.03019595332443714, -0.010637330822646618, 0.06208624690771103, -0.04575861245393753, 0.01163085363805294, -0.009899538941681385, -0.02025904878973961, 0.0014327815733850002, -0.03619040921330452, 0.027639295905828476, -0.031459953635931015, -0.04914804920554161, -0.019595995545387268, 0.013944531790912151, -0.006638235878199339, -0.011130169034004211, 0.015064539387822151, -0.019387537613511086, 0.0026412513107061386, 0.01610967330634594, 0.03211520239710808, -0.01680239662528038, 0.031368885189294815, 0.022437775507569313, 0.01946801319718361, -0.0704139918088913, 0.02564767375588417, -0.025885438546538353, -0.020195527002215385, 0.007422220893204212, 0.8247445225715637, 0.028839239850640297, 0.017645137384533882, 0.043431513011455536, -0.018453141674399376, 0.009870944544672966, -0.03555991128087044, 0.016525819897651672, -0.0017477278597652912, -0.02004300430417061, -0.058165229856967926, 0.032161880284547806, 0.00011995421664323658, 0.03093108721077442, -0.005105296149849892, 0.00048711217823438346, 0.021042531356215477, 0.01212282758206129, 0.029225634410977364, 0.012466625310480595, 0.028508011251688004, -0.010175628587603569, -0.037786588072776794, -0.03765501454472542, -0.02743763104081154, -0.016119128093123436, -0.1600462645292282, 0.005292133428156376, -7.447829351054317e-33, 0.0009571308619342744, -0.03830152750015259, 0.03563303127884865, 0.029764646664261818, 0.0383346788585186, -0.01594289019703865, 0.0038648208137601614, 0.03608269616961479, -0.02700030244886875, -0.028524484485387802, -0.007783504202961922, -0.03505588322877884, -0.007085022982209921, -0.0007952760206535459, 0.027681417763233185, -0.020806489512324333, -0.014393026940524578, 0.0005005847779102623, -0.043415963649749756, -0.009126934222877026, 0.02343064546585083, 0.025632012635469437, 0.05181069299578667, -0.007295876741409302, 0.02184574492275715, 0.007392318453639746, -0.008381113409996033, 0.007655222900211811, -0.010123178362846375, -0.052748121321201324, 0.009249981492757797, -0.027996737509965897, 0.025745728984475136, -0.02335410565137863, 0.06717045605182648, -0.03242367133498192, -0.002502812771126628, 0.010526526719331741, -0.029877008870244026, -0.024408388882875443, -0.038724642246961594, -0.01475206296890974, -0.029856808483600616, 0.010274622589349747, -0.024715976789593697, -0.027617523446679115, -0.010532345622777939, 0.03460745885968208, -0.020021162927150726, 0.013561670668423176, 0.0464060977101326, 0.04398472607135773, -0.015348181128501892, 0.004516201559454203, -0.007306810934096575, 0.03393315151333809, -0.008169182576239109, 0.0189686082303524, -0.009731309488415718, 0.05510454624891281, 0.02251514047384262, 0.0223678145557642, 0.003858691779896617, 0.005253393203020096, 0.01567845419049263, -0.023379577323794365, 0.05428114905953407, 0.0066971383057534695, -0.005689251236617565, -0.0047326828353106976, -0.025329524651169777, 0.00029494555201381445, -0.013095131143927574, -0.021713122725486755, 0.02124178037047386, 0.004632799420505762, -0.015368875116109848, -0.007072191685438156, 0.021256806328892708, -0.003192510223016143, -0.0039265351369977, -0.02549193613231182, 0.03443508967757225, -0.023096734657883644, -0.033475834876298904, 0.013716761954128742, 0.01929713599383831, -0.03195631131529808, 0.027570411562919617, 0.0012904306640848517, 0.037028633058071136, 0.06150510534644127, -0.003239330602809787, -0.021786902099847794, -0.018431495875120163, 7.280474955011717e-33, -0.005166106391698122, -0.026754261925816536, -0.002699443371966481, 0.007016022689640522, 0.04031996428966522, 0.013703272677958012, 0.047937337309122086, 0.025036118924617767, -0.025491995736956596, 0.02453524060547352, -0.016851797699928284, 0.030249327421188354, -0.004775968845933676, 0.028622981160879135, 0.06732792407274246, -0.026418928056955338, 0.027691790834069252, 0.014616083353757858, 0.020125852897763252, -0.007548239082098007, 0.018976040184497833, -0.001439269632101059, 0.05624663084745407, -0.003685515373945236, 0.05530853942036629, 0.01902654394507408, -0.030430760234594345, -0.001432180404663086, -0.0266337338835001, 0.026675190776586533, 0.02921181358397007, -0.0005289079272188246, -0.009683169424533844, -0.0624992772936821, -0.021973714232444763, 0.002170596504583955, 0.02989484928548336, 0.020460283383727074, 0.03956043720245361, 0.0644492655992508, -0.007236870471388102, -0.009237497113645077, -0.01690400019288063, 0.0033635932486504316, 0.010262122377753258, 0.024660082533955574, 0.004927034489810467, 0.025694606825709343, -0.014626795426011086, 0.02693173848092556, 0.01960759423673153, 0.011572604067623615, 0.015857378020882607, 0.016956711187958717, 0.07623181492090225, -0.006111336871981621, -0.027789141982793808, -0.005798781756311655, -0.02211602032184601, -0.044830288738012314, -0.049969106912612915, -0.047451090067625046, 0.013196608982980251, 0.009602946229279041, 0.0041611073538661, 0.022229714319109917, -0.025198526680469513, -0.024010952562093735, -0.0062460461631417274, -0.025559410452842712, -0.021022312343120575, -0.022861896082758904, -0.05132017284631729, 0.027384404093027115, -0.02457292005419731, -0.015044686384499073, -0.0015021468279883265, -0.0047991001047194, 0.0026898058131337166, 0.01284804753959179, 0.038150012493133545, 0.012567802332341671, 0.01718170940876007, 0.019305862486362457, 0.04099956899881363, 0.020574524998664856, -0.013466554693877697, -0.055231496691703796, 0.021036844700574875, 0.019825734198093414, -0.031223516911268234, -0.015714440494775772, -0.01776237227022648, 0.002069864422082901, 0.008333778008818626, -1.2679255867453776e-8, -0.053889404982328415, 0.002578300191089511, -0.03218093886971474, 0.015131907537579536, 0.059371475130319595, 0.00032964409911073744, -0.030682137235999107, -0.011381608434021473, 0.0156710222363472, 0.008031381294131279, 0.02946847304701805, -0.01791686750948429, 0.043126944452524185, 0.0006639593630097806, 0.02672719769179821, -0.02587682381272316, 0.0259370319545269, -0.03774047642946243, 0.014206144958734512, 0.006451056804507971, 0.03325926885008812, 0.041475795209407806, -0.03255876153707504, 0.03290381282567978, 0.02683345414698124, -0.011150007136166096, 0.037871360778808594, -0.09409376978874207, 0.010455358773469925, -0.03525394946336746, 0.015368307940661907, -0.029238542541861534, -0.02237020619213581, -0.009538446553051472, -0.028379714116454124, -0.018595922738313675, -0.0023703782353550196, 0.005299198906868696, -0.0028277854435145855, 0.029889989644289017, -0.008903726004064083, 0.008006631396710873, 0.006549954880028963, -0.008337489329278469, -0.0028039379976689816, -0.04561358690261841, -0.022800598293542862, 0.023531567305326462, -0.016877977177500725, -0.0355144701898098, -0.008368834853172302, 0.016854707151651382, 0.023235507309436798, 0.04145205765962601, 0.048781055957078934, -0.0261816568672657, 0.0310529712587595, 0.010681642219424248, -0.0356101393699646, 0.031662654131650925, 0.029804667457938194, -0.003336899448186159, -0.036610472947359085, -0.0375153087079525 ]
java-incrementally-readstream-a-csv-file
https://markhneedham.com/blog/2013/10/14/java-incrementally-readstream-a-csv-file
false
2013-10-22 20:20:30
Neo4j 2.0: Labels, indexes and the like
[ "neo4j" ]
[ "neo4j" ]
Last week I did a couple of talks about modelling with Neo4j meet ups in http://www.meetup.com/graphdb-netherlands/events/137335992/[Amsterdam] and http://www.meetup.com/graphdb-belgium/events/137336622/[Antwerp] and there were a few questions about how indexing works with http://www.terminalstate.net/2013/05/labels-and-schema-indexes-in-neo4j.html?m=1[labels that are being introduced in Neo4j 2.0] As well as defining properties on nodes we can also assign them a label which can be used to categorise different groups of nodes. For example in the football graph we might choose to tag player nodes with the label 'Player': [source,cypher] ---- CREATE (randomPlayer:Player {name: "Random Player"}) ---- If we then wanted to find that player we could use the following query: [source,cypher] ---- MATCH (p:Player) WHERE p.name = "Random Player" RETURN p ---- A common assumption amongst the attendees was that labelled nodes are automatically indexed but this isn't actually the case which we can see by profiling the above query: [source,cypher] ---- $ PROFILE MATCH (p:Player) WHERE p.name = "Random Player" RETURN p; ==> +-----------------------------------+ ==> | p | ==> +-----------------------------------+ ==> | Node[31382]{name:"Random Player"} | ==> +-----------------------------------+ ==> 1 row ==> ==> Filter(pred="(Product(p,name(0),true) == Literal(Random Player) AND hasLabel(p:Player(8)))", _rows=1, _db_hits=524) ==> NodeByLabel(label="Player", identifier="p", _rows=524, _db_hits=0) ---- Instead what we have is a 'label scan' whereby we search across the nodes labelled as 'Player' check whether they have a property 'name' which matches 'Random Player' and then return them if they do. This is different than doing a 'full node scan', checking for the appropriate label and then property. e.g. [source,cypher] ---- $ PROFILE MATCH p WHERE "Player" IN LABELS(p) AND p.name = "Random Player" RETURN p; ==> +-----------------------------------+ ==> | p | ==> +-----------------------------------+ ==> | Node[31382]{name:"Random Player"} | ==> +-----------------------------------+ ==> 1 row ==> ==> Filter(pred="(any(-_-INNER-_- in LabelsFunction(p) where Literal(Player) == -_-INNER-_-) AND Product(p,name(0),true) == Literal(Random Player))", _rows=1, _db_hits=524) ==> AllNodes(identifier="p", _rows=11443, _db_hits=11443) ---- If we want to index a specific property of 'Player' nodes then need to http://docs.neo4j.org/chunked/milestone/query-schema-index.html[explicitly index that property for that label]: [source,cypher] ---- $ CREATE INDEX ON :Player(name); ==> +-------------------+ ==> | No data returned. | ==> +-------------------+ ==> Indexes added: 1 ==> 0 ms ---- If we want to see the indexes defined on our database we can run the following command in webadmin: [source,bash] ---- $ schema ==> Indexes ==> ON :Player(name) ONLINE ==> ==> No constraints ---- or its equivalent in http://blog.neo4j.org/2013/10/neo4j-200-m06-introducing-neo4js-browser.html[Neo4j browser]: image::{{<siteurl>}}/uploads/2013/10/2013-10-22_21-14-32.png[2013 10 22 21 14 32,600] Now if we repeat our initial query we can see that it's a straight schema/index lookup: [source,cypher] ---- $ PROFILE MATCH (p:Player) WHERE p.name = "Random Player" RETURN p; ==> +-----------------------------------+ ==> | p | ==> +-----------------------------------+ ==> | Node[31382]{name:"Random Player"} | ==> +-----------------------------------+ ==> 1 row ==> ==> SchemaIndex(identifier="p", _db_hits=0, _rows=1, label="Player", query="Literal(Random Player)", property="name") ---- Based on a few runs of the query with and without the index defined it takes 1ms and 10ms respectively. The 'full node scan' approach takes ~ 40ms and that's with a very small database of 30,000 nodes. I wouldn't recommend it with a production load.
null
null
[ 0.012303302064538002, -0.009982741437852383, -0.0005239769816398621, 0.03330128267407417, 0.0710631012916565, -0.02344696596264839, 0.016250286251306534, 0.03008945845067501, 0.005733123980462551, -0.019682740792632103, -0.004105054307729006, -0.018554408103227615, -0.07364282757043839, 0.019929982721805573, 0.014760635793209076, 0.0668853372335434, 0.06759066879749298, 0.005736259743571281, -0.010319842025637627, -0.0036043734289705753, -0.0019401349127292633, 0.04686403274536133, 0.0007614689529873431, 0.03593481704592705, 0.05381486192345619, 0.008494516834616661, -0.006112021394073963, 0.005284738261252642, -0.030195999890565872, 0.027298124507069588, 0.048177409917116165, 0.005166388116776943, 0.034503381699323654, -0.018698859959840775, 0.02246948890388012, -0.010052822530269623, -0.03380194306373596, 0.009003601968288422, -0.018857808783650398, -0.0007876466261222959, -0.06147726625204086, 0.03689799830317497, -0.006175656337291002, 0.029990261420607567, -0.05501898005604744, 0.0010065058013424277, -0.057645928114652634, 0.04743271321058273, 0.018638120964169502, 0.04056485742330551, -0.07984749227762222, 0.011066801846027374, -0.0013551037991419435, 0.03123088739812374, 0.005014382768422365, 0.025524934753775597, 0.014518232084810734, -0.06431322544813156, 0.03370533883571625, -0.020140431821346283, -0.0003385392774362117, -0.009792962111532688, -0.00024244855740107596, 0.025556758046150208, -0.017671426758170128, -0.04615914821624756, -0.011873506009578705, 0.04800201207399368, -0.042874615639448166, -0.012987401336431503, -0.00279193720780313, 0.029353955760598183, -0.011682169511914253, -0.021318519487977028, 0.008809755556285381, -0.0565355010330677, 0.001416379353031516, 0.053170520812273026, 0.04440047964453697, 0.053584787994623184, -0.027319371700286865, 0.00439076405018568, 0.0032562431879341602, 0.02178713120520115, -0.0004267618351150304, -0.02821618877351284, -0.03155219554901123, -0.03213784471154213, -0.05067684128880501, 0.04487807676196098, 0.017580129206180573, -0.06094258651137352, -0.012013937346637249, -0.01405342947691679, -0.03721959888935089, 0.011300647631287575, 0.01646300218999386, -0.018137993291020393, -0.0030670722480863333, -0.01758299581706524, -0.019665034487843513, -0.037266798317432404, 0.0014306014636531472, 0.009378807619214058, -0.06815652549266815, -0.018301773816347122, -0.015109889209270477, -0.02306472323834896, -0.015035572461783886, -0.008506165817379951, -0.03911536931991577, 0.0032211949583142996, -0.002319061430171132, 0.021717704832553864, -0.07430058717727661, 0.05327756330370903, 0.023998739197850227, -0.013805346563458443, -0.007088321726769209, 0.023090524598956108, 0.02776211127638817, 0.04280536249279976, 0.00586761673912406, 0.07280006259679794, -0.0341092087328434, 0.018231702968478203, 0.025541318580508232, 0.05159913748502731, -0.006933641619980335, -0.0659416913986206, -0.0006520666647702456, 0.06382006406784058, -0.012962918728590012, 0.01687564142048359, -0.007958225905895233, -0.03239496797323227, -0.005989647936075926, 0.01921430043876171, 0.056290093809366226, 0.01863441988825798, 0.011168419383466244, -0.054686229676008224, 0.025322727859020233, 0.010909388773143291, 0.025710435584187508, -0.008311879821121693, -0.03366292268037796, -0.04230983555316925, -0.024009346961975098, 0.020516373217105865, 0.03516986221075058, 0.018439041450619698, 0.0538247786462307, -0.029306484386324883, -0.0024121326860040426, 0.12132637947797775, 0.02025718055665493, 0.009911416098475456, -0.021314091980457306, 0.00734928110614419, 0.038483843207359314, 0.00580582395195961, -0.0025516869500279427, 0.0594397597014904, 0.014374535530805588, -0.030566057190299034, 0.007317899260669947, 0.07472287863492966, -0.00985451228916645, 0.0016308636404573917, -0.010617036372423172, -0.04605691507458687, 0.03279903158545494, -0.044385045766830444, 0.0025639608502388, 0.04759662598371506, 0.056048475205898285, 0.015664389356970787, 0.015742719173431396, 0.002720743650570512, -0.07115480303764343, 0.028585325926542282, 0.009886928834021091, 0.012389439158141613, 0.00637750094756484, -0.002888422692194581, 0.0744565948843956, 0.03624572604894638, -0.009156541898846626, 0.05428539961576462, -0.09747393429279327, -0.06397396326065063, -0.026621013879776, -0.00631276611238718, 0.07028230279684067, -0.04812004417181015, 0.039274536073207855, 0.05445551872253418, 0.010129719041287899, 0.024618061259388924, 0.03410649299621582, -0.01223951205611229, 0.00197828677482903, -0.04016493260860443, -0.06838507950305939, 0.04474591091275215, 0.030544035136699677, -0.07296981662511826, -0.05419992655515671, 0.039881400763988495, -0.02897382155060768, -0.004718185868114233, 0.022193292155861855, -0.031988512724637985, 0.024301329627633095, 0.01235941331833601, 0.03356090933084488, 0.029108012095093727, 0.0007527649868279696, -0.023007681593298912, 0.042494382709264755, 0.027993403375148773, -0.02861930988729, 0.009775879792869091, -0.0061890073120594025, 0.12261667102575302, 0.04808978736400604, -0.022557632997632027, -0.044422443956136703, 0.02567373961210251, 0.04991050809621811, -0.027649585157632828, 0.03952864930033684, -0.017612000927329063, 0.003341928357258439, -0.022128969430923462, -0.03457542508840561, -0.042165614664554596, 0.00822184793651104, -0.03471746668219566, -0.00002987615516758524, 0.056410130113363266, -0.037571582943201065, 0.045139435678720474, -0.0005079843103885651, 0.008831722661852837, -0.018339432775974274, -0.055105261504650116, -0.05263588950037956, 0.03518795967102051, 0.003522417740896344, -0.012327495031058788, 0.031641341745853424, -0.028981171548366547, 0.006165117025375366, -0.017666101455688477, -0.014360165223479271, 0.04313870891928673, 0.05846833065152168, 0.06661074608564377, -0.0015610662521794438, 0.037502825260162354, -0.048959869891405106, 0.0024008359760046005, -0.020818039774894714, -0.061809640377759933, -0.029748916625976562, -0.04129316657781601, 0.0037502406630665064, 0.01226381491869688, 0.034958358854055405, -0.0069282217882573605, 0.010149601846933365, 0.000818295928183943, 0.013192216865718365, 0.007178257219493389, 0.01881325989961624, 0.029690129682421684, -0.006681134924292564, -0.036758799105882645, -0.060376498848199844, 0.048753395676612854, -0.02492493949830532, -0.04054584726691246, -0.008364918641746044, -0.04701516777276993, 0.026930106803774834, -0.04843045026063919, -0.025829799473285675, -0.014006389304995537, 0.02186914160847664, 0.044235579669475555, 0.021963419392704964, 0.01093973033130169, 0.05751805007457733, 0.010450562462210655, 0.021443873643875122, 0.036938030272722244, -0.01469333190470934, 0.06064192205667496, -0.016581740230321884, 0.05981476977467537, 0.04035644978284836, -0.05416293442249298, -0.00701765064150095, -0.04355870187282562, 0.011619740165770054, -0.021853668615221977, -0.27324092388153076, 0.04684966430068016, -0.01526269968599081, -0.03844659775495529, -0.010772877372801304, -0.0360015407204628, 0.01457175798714161, -0.020016320049762726, -0.03008943796157837, -0.0027575280983000994, -0.008996733464300632, -0.027547404170036316, -0.022659288719296455, 0.033426880836486816, 0.022635122761130333, 0.02277730405330658, -0.0024920841678977013, -0.05461208149790764, 0.0021919249556958675, 0.05694684758782387, 0.00020020679221488535, -0.042607326060533524, -0.03048696555197239, 0.025322331115603447, 0.00352078746072948, 0.03954140469431877, -0.09831178188323975, 0.018080351874232292, -0.04552799463272095, -0.01639864593744278, -0.017780864611268044, -0.030849995091557503, 0.0006765462458133698, 0.0023987728636711836, -0.030409488826990128, -0.027272477746009827, 0.047525081783533096, -0.004319922998547554, -0.02059144712984562, 0.019704794511198997, -0.04838438704609871, -0.020003482699394226, -0.012313398532569408, -0.031182730570435524, 0.09435885399580002, 0.017537303268909454, -0.07263154536485672, -0.007827751338481903, -0.025075333192944527, 0.04935460165143013, -0.018148163333535194, -0.03886470943689346, 0.0036434815265238285, 0.004338271450251341, -0.008412561379373074, -0.05176260322332382, -0.006499600596725941, -0.03133395314216614, -0.05493372678756714, -0.04160036891698837, -0.012869712896645069, -0.04185862094163895, 0.0078429589048028, -0.046636488288640976, -0.00435239914804697, -0.05366737022995949, -0.07276047766208649, -0.027419237419962883, 0.05845549330115318, 0.008399582467973232, -0.004007892217487097, 0.03107151761651039, -0.012128434143960476, -0.09912803769111633, -0.04503810033202171, 0.010701840743422508, 0.008650029078125954, 0.006661579478532076, 0.00846767146140337, 0.04917136952280998, -0.04306146129965782, -0.05565184727311134, -0.0019874926656484604, 0.003067926736548543, 0.02340102009475231, 0.01927300915122032, 0.013583667576313019, 0.0041999551467597485, -0.053253188729286194, -0.0008492268971167505, 0.0536438412964344, -0.021899253129959106, -0.00749476533383131, 0.010653190314769745, 0.011836213991045952, 0.03539334237575531, 0.01090316753834486, -0.021320505067706108, 0.030449334532022476, 0.06377137452363968, 0.058850910514593124, -0.024870295077562332, 0.004996355623006821, -0.01837269961833954, -0.038209740072488785, 0.028016438707709312, -0.05252176523208618, 0.012554475106298923, 0.022045990452170372, 0.01023509819060564, 0.001497322809882462, -0.014097480103373528, 0.0016533737070858479, -0.03897027671337128, -0.011873354203999043, -0.01338652241975069, 0.025431782007217407, 0.017007693648338318, 0.030291613191366196, -0.04338723421096802, -0.05700073391199112, 0.0338578075170517, 0.028495462611317635, -0.0062179104425013065, -0.07201892137527466, -0.037114135921001434, -0.02870887890458107, -0.0351296067237854, 0.025339096784591675, -0.0038921383675187826, -0.04061460867524147, 0.04003996402025223, 0.029087772592902184, -0.030955955386161804, 0.051801301538944244, -0.007750307209789753, -0.02566763013601303, -0.01404816284775734, 0.021845201030373573, -0.005441141780465841, -0.011529546231031418, 0.006922110449522734, -0.004971613641828299, 0.06440763175487518, 0.05417019501328468, 0.004658341873437166, 0.01886896789073944, 0.01662275567650795, 0.01876629702746868, -0.0002748151309788227, -0.0020386376418173313, -0.030588706955313683, 0.013859700411558151, -0.03376340493559837, -0.0018369401805102825, 0.005867337342351675, 0.06732650101184845, -0.017477530986070633, 0.005876370705664158, -0.04755612090229988, 0.04420602694153786, -0.060449231415987015, 0.027087928727269173, -0.0024993973784148693, 0.017542492598295212, 0.07673908770084381, -0.03619924560189247, 0.014455828815698624, -0.04721537604928017, -0.004931238945573568, -0.0009034385439008474, 0.005141709465533495, -0.04036816954612732, 0.0006971998955123127, -0.006045821588486433, -0.017916446551680565, 0.011362996883690357, 0.050871219485998154, 0.003348112804815173, 0.0027051707729697227, 0.0002831371675711125, -0.011876043863594532, -0.0007213304052129388, 0.005791118834167719, 0.06480779498815536, 0.027880985289812088, -0.0036575370468199253, 0.006658043246716261, -0.021700987592339516, -0.012105504982173443, -0.0029603182338178158, 0.012150057591497898, -0.021757524460554123, -0.016279399394989014, -0.028137778863310814, -0.04028653725981712, 0.03929285705089569, -0.024469397962093353, 0.004447726532816887, 0.0382385216653347, 0.016242094337940216, -0.002698096912354231, -0.017610615119338036, 0.02981250174343586, 0.05448707938194275, -0.05163869634270668, -0.017627155408263206, -0.001331276842392981, -0.040149882435798645, -0.009690896607935429, 0.0204494446516037, -0.04755968227982521, -0.04238162934780121, -0.005550697445869446, 0.016588205471634865, -0.03247151896357536, -0.05905658379197121, -0.011259926483035088, 0.018111009150743484, 0.02491038106381893, 0.054953187704086304, 0.004642535466700792, 0.0001031536448863335, -0.022072259336709976, 0.010830525308847427, 0.03947959467768669, -0.020303549244999886, -0.005337985698133707, -0.005788387265056372, -0.006016443017870188, 0.03655810281634331, -0.03031257912516594, 0.02530001662671566, 0.02566489391028881, -0.02455018274486065, 0.004745852667838335, -0.08048246800899506, 0.027942780405282974, 0.017737731337547302, 0.05770265311002731, -0.009654879570007324, -0.002834829967468977, -0.03945605084300041, -0.000041654129745438695, -0.03458127751946449, 0.0016521811485290527, 0.0045668561942875385, -0.008813953958451748, 0.006721428595483303, 0.031971320509910583, 0.02122817188501358, 0.047627948224544525, -0.029840465635061264, -0.017609640955924988, 0.06692320853471756, -0.027472788468003273, -0.042657189071178436, -0.0055104950442910194, -0.03922196850180626, -0.005338423419743776, 0.004099476151168346, 0.019741063937544823, -0.046169817447662354, 0.05201857164502144, 0.05103990063071251, 0.01568150706589222, 0.008349534124135971, -0.012521634809672832, 0.016309835016727448, -0.012708260677754879, -0.03937814384698868, -0.06848263740539551, 0.002003401517868042, 0.0672631561756134, 0.01906651444733143, -0.00231193657964468, -0.0070558288134634495, -0.0328415185213089, 0.00029404141241684556, -0.061339229345321655, -0.027224741876125336, 0.04546508938074112, -0.009576794691383839, 0.0401696041226387, 0.012705106288194656, -0.0719132050871849, -0.021148908883333206, 0.05351532623171806, -0.01757216826081276, -0.021705500781536102, -0.033313848078250885, 0.05023918300867081, -0.04158463701605797, 0.03861180692911148, -0.007157927844673395, -0.013236255384981632, 0.060816776007413864, 0.014425679109990597, 0.026460517197847366, 0.0598563477396965, -0.02600947767496109, 0.03318280354142189, 0.04381585121154785, -0.010509300976991653, 0.022896552458405495, 0.021027525886893272, -0.01549025159329176, -0.05789842829108238, 0.03558432683348656, -0.012674256227910519, -0.018635481595993042, -0.053093910217285156, 0.06093410775065422, -0.002650679089128971, -0.07061035186052322, -0.03577916696667671, 0.04640469327569008, -0.021133217960596085, -0.01619386300444603, -0.04406911879777908, 0.028153037652373314, -0.027571098878979683, 0.05474494397640228, -0.00880189798772335, 0.008833489380776882, 0.062113210558891296, 0.0010380473686382174, -0.016079407185316086, 0.020029572769999504, 0.09583348035812378, 0.11358494311571121, 0.05383395031094551, 0.021457521244883537, 0.07144258916378021, -0.00892992690205574, -0.04254034534096718, -0.027741212397813797, -0.03634294867515564, -0.0277940034866333, 0.00904132891446352, -0.009481520392000675, 0.07452918589115143, -0.034225620329380035, 0.08087980002164841, -0.02155011147260666, 0.004323621746152639, 0.004767898470163345, -0.007531574461609125, 0.033157337456941605, 0.058105677366256714, -0.007899357937276363, 0.02995508909225464, -0.03791380673646927, -0.034413453191518784, 0.02436460554599762, -0.0035571055486798286, -0.005872564390301704, 0.012696980498731136, -0.04788459837436676, 0.008539372123777866, 0.0029685734771192074, 0.05049654841423035, 0.08728399872779846, -0.03734530135989189, 0.0015959697775542736, -0.00015838236140552908, 0.0011917807860299945, -0.002938159741461277, 0.04582313075661659, -0.00008495143265463412, -0.011969199404120445, -0.03127468004822731, -0.049104735255241394, -0.023602405562996864, -0.03755246475338936, -0.03787214308977127, 0.016952477395534515, -0.021042734384536743, 0.001304314355365932, -0.015151872299611568, -0.007846170105040073, -0.029239900410175323, -0.052526846528053284, -0.03622628003358841, -0.056518103927373886, -0.08117315173149109, -0.011479426175355911, 0.024383530020713806, 0.005042877048254013, -0.020550819113850594, 0.007474428042769432, -0.0218870397657156, -0.012224871665239334, 0.028584862127900124, -0.052083518356084824, 0.014444003812968731, -0.007721201051026583, 0.033764250576496124, 0.020760757848620415, 0.01003864873200655, 0.03849552571773529, -0.010414528660476208, 0.015472167171537876, -0.024298056960105896, 0.025336427614092827, 0.041273098438978195, 0.029278123751282692, -0.012369764037430286, -0.08209604024887085, 0.01393316313624382, 0.037196241319179535, -0.04398060962557793, -0.07445083558559418, 0.019443873316049576, 0.04628494754433632, 0.009540790691971779, 0.009774782694876194, -0.009560179896652699, -0.020452311262488365, -0.022751783952116966, 0.02929798513650894, 0.01781458780169487, -0.002332833595573902, 0.02747243642807007, -0.02479150891304016, 0.06895305216312408, 0.03926558047533035, -0.029914582148194313, -0.043305523693561554, -0.03153982758522034, 0.014040306210517883, 0.005006768740713596, -0.03754240274429321, -0.052375342696905136, -0.05256698653101921, -0.09123457968235016, -0.023029092699289322, 0.035725533962249756, -0.020030353218317032, -0.01003299094736576, -0.0017663809703662992, 0.01233718916773796, -0.010496163740754128, 0.026457644999027252, -0.03863586485385895, 0.04182608053088188, -0.014812581241130829, -0.004185741301625967, -0.0497703030705452, 0.010154209099709988, -0.04295773431658745, 0.005008975975215435, 0.028433775529265404, -0.06580260396003723, -0.013353514485061169, -0.03982006013393402, 0.016401145607233047, 0.020264994353055954, 0.02814113348722458, 0.005284379702061415 ]
[ -0.043691668659448624, -0.02472723089158535, -0.04417150840163231, -0.016909347847104073, 0.0766482874751091, -0.01655910536646843, -0.004050522577017546, 0.017495285719633102, 0.005901477299630642, -0.03684273362159729, 0.04281557351350784, -0.043639618903398514, -0.005931812338531017, 0.012626636773347855, 0.06906680762767792, -0.0005671668914146721, -0.022846318781375885, -0.05161288380622864, -0.015556687489151955, 0.032730866223573685, -0.024811722338199615, -0.03031076490879059, -0.028377031907439232, -0.0394691526889801, 0.007347568403929472, 0.037506457418203354, 0.047302354127168655, -0.022826164960861206, -0.022062286734580994, -0.20132558047771454, 0.022254951298236847, 0.00867286417633295, 0.04838986322283745, 0.008176333270967007, -0.0008082775748334825, 0.015213512815535069, 0.046902816742658615, -0.012853983789682388, 0.016764629632234573, 0.03158990666270256, 0.0020600068382918835, 0.003567621111869812, -0.06054488196969032, -0.01986927166581154, 0.06270591169595718, 0.035416871309280396, -0.01977251097559929, -0.016872351989150047, -0.05448976904153824, 0.014601686969399452, -0.028084026649594307, -0.003557187505066395, -0.022149117663502693, -0.0005865867715328932, 0.00840726587921381, 0.06087135523557663, 0.03536798059940338, 0.031468816101551056, 0.0249925646930933, 0.06243104487657547, 0.028028227388858795, 0.018576309084892273, -0.12370354682207108, 0.07283753156661987, 0.002591532887890935, 0.006269443314522505, -0.06918197125196457, -0.005779692903161049, -0.01222914643585682, 0.09020750969648361, 0.0584430992603302, 0.006976075004786253, -0.02265850082039833, 0.04896201193332672, 0.006010822951793671, 0.008436184376478195, -0.009100273251533508, 0.007590312045067549, 0.023318883031606674, -0.02520456723868847, -0.06641343235969543, 0.010058453306555748, -0.03763105720281601, -0.03578028455376625, -0.04394768550992012, 0.02936251275241375, -0.015514062717556953, 0.052176009863615036, -0.0045548900961875916, 0.060883529484272, 0.02407429739832878, 0.054795581847429276, 0.025921866297721863, 0.02491677738726139, -0.07641094923019409, -0.02429799735546112, -0.000622994324658066, 0.01984132081270218, -0.015491893514990807, 0.3933832347393036, 0.01466789934784174, 0.007600304204970598, 0.0404457226395607, 0.052576225250959396, -0.02489061839878559, -0.022771600633859634, -0.003580290824174881, -0.06979157775640488, 0.027969008311629295, -0.016582276672124863, -0.02609335258603096, -0.0246437918394804, 0.033811911940574646, -0.09167276322841644, -0.00999007374048233, 0.007218779996037483, 0.06278206408023834, 0.04835829883813858, 0.008941968902945518, -0.005825384054332972, -0.014634252525866032, 0.012503601610660553, 0.03694281727075577, 0.014285809360444546, 0.04220085218548775, 0.05225970223546028, 0.015559754334390163, 0.03826776519417763, 0.033456649631261826, 0.03522253781557083, 0.04297643154859543, 0.017397213727235794, -0.07739163190126419, 0.026653602719306946, -0.00044397637248039246, -0.004812274593859911, 0.03052309900522232, -0.0311026182025671, -0.018264183774590492, 0.03504408895969391, 0.0063547114841639996, -0.004427987616509199, 0.04603279381990433, -0.010609546676278114, -0.024660835042595863, 0.1339196413755417, 0.00015540140157099813, -0.04496753215789795, -0.022974930703639984, -0.04185767471790314, -0.004895905498415232, 0.030109917744994164, -0.031138472259044647, -0.05632550269365311, -0.03796263039112091, 0.024463491514325142, 0.1121276244521141, -0.030642924830317497, -0.10408778488636017, 0.01212535984814167, -0.014155778102576733, -0.030206602066755295, -0.008744761347770691, 0.08851113170385361, 0.029981819912791252, -0.13033007085323334, -0.014048391953110695, 0.00481869513168931, 0.004075378645211458, -0.10065949708223343, 0.005436649080365896, 0.023634018376469612, -0.034854017198085785, 0.002480623545125127, 0.05939120054244995, 0.015252689830958843, -0.04075919836759567, -0.025418784469366074, 0.016112273558974266, -0.025385376065969467, -0.009611801244318485, 0.011797850951552391, -0.05157460644841194, -0.0007468668627552688, -0.07771188020706177, -0.058495063334703445, -0.07944347709417343, 0.013756335712969303, -0.041875869035720825, -0.030381379649043083, -0.025561222806572914, -0.007974853739142418, -0.0478992834687233, 0.08119934052228928, -0.05611203610897064, -0.03133947029709816, -0.01435412559658289, 0.0010127128334715962, -0.01777922548353672, -0.04412492737174034, -0.00904250517487526, 0.027063792571425438, -0.01620064489543438, 0.02032126858830452, -0.04802578315138817, 0.03212270140647888, 0.07037720829248428, -0.03501926735043526, 0.07126724720001221, 0.003324168734252453, -0.049542129039764404, 0.0034318678081035614, -0.03367259353399277, 0.010470299050211906, -0.005278633441776037, 0.002473251661285758, 0.009253094904124737, -0.010971851646900177, 0.01581980660557747, 0.06208888441324234, -0.02449074573814869, -0.01243645790964365, -0.0208374485373497, -0.3434998393058777, -0.035159505903720856, -0.024132348597049713, 0.01726650819182396, -0.007128021214157343, -0.018328526988625526, 0.020722977817058563, -0.0164936576038599, 0.017642660066485405, 0.025058211758732796, 0.08039367944002151, -0.0016002486227080226, -0.012945876456797123, -0.08003001660108566, -0.015318388119339943, 0.04047611728310585, -0.01529453694820404, -0.026268666610121727, -0.012139822356402874, 0.016123956069350243, 0.017635419964790344, -0.03981241211295128, -0.027186477556824684, -0.035054124891757965, -0.0007774978294037282, -0.019213607534766197, 0.12040191143751144, 0.025428220629692078, -0.005421280860900879, -0.05417924001812935, 0.0503242202103138, 0.0044408636167645454, -0.04579366371035576, -0.05147537589073181, 0.030614098533988, -0.01753728836774826, 0.010048004798591137, -0.004881121218204498, -0.006790542975068092, -0.0280483216047287, -0.056334998458623886, -0.0006755604990758002, -0.02627536468207836, -0.0620671808719635, -0.05409856513142586, 0.03517591208219528, -0.0315224826335907, -0.027095703408122063, 0.00883578509092331, 0.09037052094936371, 0.02350931614637375, 0.024259328842163086, 0.02706167846918106, 0.010905793868005276, 0.00881169829517603, -0.03451390191912651, -0.07297182828187943, -0.038408391177654266, -0.008582813665270805, 0.02158929593861103, 0.002649216679856181, 0.01399676501750946, 0.025502096861600876, -0.1022435799241066, 0.025077063590288162, 0.01874018833041191, -0.016182446852326393, -0.0205941591411829, 0.02473185956478119, -0.044895268976688385, -0.036206599324941635, 0.08508365601301193, 0.012016186490654945, 0.023552604019641876, 0.055450133979320526, 0.031950049102306366, -0.036269813776016235, -0.00042966564069502056, 0.0510171577334404, 0.027876168489456177, 0.04078825190663338, -0.04357953369617462, 0.08063027262687683, -0.01635066606104374, -0.010340878739953041, 0.05345204472541809, 0.004650496877729893, -0.04469550400972366, 0.06356491893529892, 0.02042069472372532, -0.013495211489498615, 0.02294258400797844, -0.03710106760263443, -0.034436240792274475, 0.0539918877184391, -0.05151689425110817, -0.2592300772666931, 0.05498489364981651, 0.03795389458537102, 0.0843629464507103, 0.02252500131726265, 0.011993054300546646, 0.01794290728867054, -0.010666814632713795, 0.003949125297367573, -0.01430184580385685, 0.046576209366321564, 0.04884549230337143, -0.008255342952907085, -0.018062543123960495, -0.026663655415177345, 0.019831696525216103, 0.020596014335751534, 0.0007588213193230331, 0.035269323736429214, -0.008355580270290375, 0.06332335621118546, -0.015753787010908127, 0.20001782476902008, 0.030757978558540344, 0.018566561862826347, 0.027251100167632103, -0.03341855853796005, 0.008917854167521, 0.028320452198386192, -0.0032786615192890167, -0.005284574348479509, 0.01905931532382965, 0.03278176113963127, 0.04950503259897232, 0.029309019446372986, -0.04888417199254036, 0.013432493433356285, 0.02523631416261196, -0.0027620200999081135, -0.03407151624560356, 0.011945761740207672, 0.0096137635409832, -0.055505767464637756, 0.02760014683008194, 0.06373035162687302, 0.004176451358944178, 0.005445883143693209, -0.0032532045152038336, -0.06757181137800217, -0.008118775673210621, -0.04857505112886429, -0.05207547917962074, -0.04601585492491722, -0.029616309329867363, 0.0029886625707149506, 0.06208818033337593, 0.012479123659431934, -0.02027471736073494, 0.04782477393746376, 0.011188115924596786, -0.0248976219445467, -0.014923716895282269, 0.0974191278219223, -0.024024326354265213, 0.019522108137607574 ]
[ 0.047810763120651245, 0.05884417146444321, -0.006512877065688372, 0.018636183813214302, -0.0088756512850523, 0.0547969713807106, 0.008052359335124493, -0.00882054679095745, -0.024842023849487305, -0.013984189368784428, -0.035026926547288895, 0.009002611972391605, 0.037470560520887375, 0.0001098883876693435, 0.003259916789829731, 0.032308295369148254, 0.015787648037075996, 0.014909280464053154, 0.028900517150759697, -0.030953695997595787, -0.05388941243290901, -0.0375770628452301, 0.03650082275271416, -0.031289953738451004, -0.04504290595650673, 0.014598224312067032, -0.009301110170781612, 0.01151962485164404, 0.032976239919662476, -0.07941530644893646, -0.02772403322160244, -0.017848998308181763, -0.0070654163137078285, 0.016286367550492287, -0.04293958470225334, -0.023994270712137222, -0.01547257136553526, 0.01969662681221962, 0.010613739490509033, 0.031430911272764206, 0.04844077676534653, -0.013118371367454529, -0.02142048254609108, 0.031048737466335297, 0.0030550300143659115, -0.012387324124574661, -0.04900895804166794, -0.01348780281841755, 0.0037807731423527002, -0.01637723110616207, -0.029856478795409203, -0.027638236060738564, 0.0010125304106622934, -0.02424754947423935, -0.002270509023219347, 0.012493649497628212, -0.047759342938661575, -0.021800411865115166, 0.010733112692832947, 0.04006131365895271, 0.055826835334300995, -0.03790854662656784, -0.05513031408190727, -0.017921684309840202, -0.00004182606062386185, 0.006884349975734949, -0.011303817853331566, 0.034613750874996185, -0.012107573449611664, 0.019521525129675865, -0.02954801730811596, 0.06308482587337494, -0.0686739981174469, -0.0187299195677042, -0.015241405926644802, 0.02394677884876728, 0.01013623084872961, -0.022065749391913414, 0.012626148760318756, 0.010503184050321579, -0.0392877496778965, 0.013688869774341583, -0.003932874649763107, -0.028179598972201347, -0.0007314175018109381, -0.01581503637135029, 0.009295869618654251, -0.03635058179497719, -0.009896823205053806, 0.030713075771927834, -0.07675788551568985, 0.024330545216798782, -0.013368089683353901, -0.0060150399804115295, -0.10650716722011566, 0.03875284641981125, 0.020077509805560112, -0.003033093409612775, 0.0498538501560688, 0.8007086515426636, 0.02312844805419445, -0.01478030439466238, -0.020765909925103188, 0.015322321094572544, -0.022895339876413345, 0.024431860074400902, -0.00199732999317348, 0.028269469738006592, 0.0042885723523795605, 0.011744072660803795, -0.03673071041703224, 0.025791771709918976, -0.0009994121501222253, 0.021276051178574562, -0.023641029372811317, 0.06614237278699875, 0.040529631078243256, -0.002763238502666354, -0.013950152322649956, 0.01994788832962513, -0.04407021403312683, 0.04364916309714317, 0.01688995584845543, -0.003929345868527889, -0.018761634826660156, -0.14779435098171234, 0.007524119224399328, -7.544016380362258e-33, 0.06904315948486328, -0.012791644781827927, 0.05313803255558014, -0.00764843262732029, 0.017579764127731323, 0.02291385643184185, -0.009687788784503937, -0.05255806818604469, -0.0010661152191460133, -0.042853087186813354, -0.0014362097717821598, 0.0157131589949131, 0.03294502943754196, -0.052043668925762177, 0.01723298616707325, -0.033710505813360214, 0.024053828790783882, 0.02252236381173134, 0.017520828172564507, -0.037888456135988235, -0.000567600887734443, 0.02545842155814171, -0.022723689675331116, 0.03966867923736572, -0.002109345281496644, 0.06633692979812622, -0.03250308334827423, 0.020441625267267227, 0.012905350886285305, -0.045480966567993164, -0.04672682657837868, 0.029502471908926964, -0.005461092572659254, -0.011197646148502827, 0.008223172277212143, -0.046493466943502426, -0.03617110475897789, 0.018754636868834496, -0.03404347971081734, -0.08395026624202728, -0.046109143644571304, 0.0011908236192539334, -0.017985763028264046, -0.05008472874760628, -0.05495421960949898, -0.011012271977961063, -0.026209568604826927, -0.010525330901145935, -0.007904565893113613, -0.008605907671153545, 0.01556321419775486, 0.0005681815673597157, 0.007311209570616484, 0.006949776317924261, -0.03711492568254471, 0.014083635993301868, 0.032693710178136826, 0.02026151679456234, -0.015502841211855412, 0.01363465841859579, 0.03328942134976387, -0.0023691379465162754, -0.008044498972594738, 0.06347279250621796, 0.02732902392745018, 0.04814983159303665, -0.0027018266264349222, -0.034391820430755615, 0.021874193102121353, 0.01493083406239748, -0.017935581505298615, 0.07380671054124832, -0.01764995977282524, -0.018078431487083435, 0.03585982322692871, -0.05556176230311394, -0.029995257034897804, -0.046420905739068985, -0.003451639786362648, 0.06727710366249084, -0.022878220304846764, -0.004422008525580168, 0.0004750882217194885, -0.03504839912056923, -0.007903853431344032, -0.045151032507419586, 0.005927876569330692, 0.013406981714069843, 0.045493144541978836, 0.023717299103736877, 0.043982718139886856, 0.023601964116096497, -0.001392001868225634, -0.01976226456463337, -0.00021962342725601047, 6.834344726831919e-33, -0.0102011077105999, 0.024763142690062523, 0.006852691527456045, 0.0059046149253845215, 0.03731171041727066, -0.02021598257124424, 0.027035782113671303, 0.033471107482910156, -0.04183918982744217, 0.0619940310716629, 0.002930497983470559, -0.008235576562583447, 0.01801581308245659, 0.011581485159695148, 0.045340538024902344, -0.004727208521217108, 0.010080673731863499, -0.034779325127601624, 0.018283884972333908, 0.03127284720540047, 0.016314977779984474, 0.020762542262673378, -0.023354537785053253, -0.0041770790703594685, 0.022963840514421463, 0.011277514509856701, 0.03061613440513611, 0.0018754387274384499, -0.00038227764889597893, -0.007894064299762249, -0.009498856030404568, -0.039929524064064026, -0.012155355885624886, 0.0010653971694409847, 0.01377609372138977, 0.004439590964466333, -0.010472717694938183, 0.007605896331369877, 0.015119112096726894, -0.024508394300937653, 0.005518681835383177, 0.008043674752116203, -0.060789283365011215, 0.09923016279935837, 0.01029857899993658, 0.004993225447833538, -0.012648362666368484, 0.008513644337654114, -0.004185563884675503, 0.005885974504053593, -0.007074800319969654, 0.015364998020231724, -0.023925945162773132, 0.00557013088837266, -0.008340668864548206, -0.05007566511631012, -0.0211543757468462, 0.03214862942695618, -0.005578364245593548, 0.028674673289060593, -0.023553384467959404, -0.024778250604867935, -0.041644878685474396, 0.044222068041563034, -0.0038649921771138906, -0.006358010228723288, -0.04918968677520752, 0.00853649526834488, -0.017811845988035202, -0.009130727499723434, 0.012835378758609295, 0.003098528366535902, -0.03190917894244194, 0.02204875275492668, 0.026815269142389297, -0.029652686789631844, -0.036295536905527115, 0.01893995702266693, -0.031883470714092255, 0.030031563714146614, 0.010840361006557941, 0.03706217557191849, 0.016056472435593605, -0.0009154899744316936, 0.020126622170209885, -0.0044822231866419315, -0.012381412088871002, 0.03598280996084213, -0.032416410744190216, -0.0036767907440662384, 0.0610894113779068, -0.010060295462608337, -0.016917701810598373, 0.05966323986649513, -0.03075745515525341, -1.2534784765705353e-8, -0.05846724659204483, 0.03982925042510033, -0.014283983036875725, -0.02023196965456009, 0.006386742927134037, 0.020542915910482407, 0.010999507270753384, -0.0005217132857069373, -0.01466582901775837, 0.018452314659953117, 0.023575209081172943, -0.022065257653594017, 0.009004433639347553, 0.007297603413462639, 0.019980985671281815, -0.04535480961203575, -0.026180265471339226, -0.019825803115963936, 0.028445564210414886, 0.06434682756662369, -0.013378218747675419, 0.027640417218208313, -0.04287472739815712, 0.014376756735146046, -0.018813330680131912, -0.04332955181598663, 0.03136871010065079, -0.06390180438756943, 0.011249963194131851, -0.03190464526414871, -0.01579562947154045, 0.002132953377440572, -0.007254071068018675, 0.03168291971087456, -0.03240218758583069, -0.0312904454767704, -0.004400351084768772, 0.009929460473358631, 0.019821692258119583, 0.04216359555721283, -0.0018353865016251802, -0.003507134737446904, -0.03086147829890251, -0.03219934552907944, -0.021462958306074142, 0.04515844210982323, -0.02810186892747879, -0.0002382085076533258, 0.0550832599401474, -0.026371369138360023, -0.03297484666109085, -0.01079931203275919, 0.015298238955438137, -0.015627499669790268, 0.05391755700111389, 0.0026161987334489822, 0.002217030618339777, 0.015306265093386173, 0.006710308138281107, -0.03515714406967163, 0.012214485555887222, -0.009833806194365025, -0.03537870943546295, -0.011902140453457832 ]
neo4j-2-0-labels-indexes-and-the-like
https://markhneedham.com/blog/2013/10/22/neo4j-2-0-labels-indexes-and-the-like
false
2013-10-22 22:02:14
Neo4j: Modelling hyper edges in a property graph
[ "neo4j" ]
[ "neo4j" ]
At the http://www.meetup.com/graphdb-belgium/[Graph Database meet up in Antwerp] last week we discussed how you would model a hyper edge in a property graph like Neo4j and I realised that I'd done this in my football graph without realising. A hyper edge is http://www.hyperedge.com.au/why-hyperedge[defined as follows]: ____ A hyperedge is a *connection between two or more vertices*, or nodes, of a hypergraph. A hypergraph is a graph in which generalized edges (called hyperedges) may connect more than two nodes with discrete properties. ____ In Neo4j an edge (or relationship) can only be between itself or another node, there's no way of creating a relationship between more than 2 nodes. I had problems when trying to model the relationship between a player and a football match because I wanted to say that a player participated in a match and represented a specific team in that match. I started out with the following model: image::{{<siteurl>}}/uploads/2013/10/2013-10-22_22-47-13.png[2013 10 22 22 47 13,600] Unfortunately creating a direct relationship from the player to the match means that there's no way to work out which team they played for. This information is useful because sometimes players transfer teams in the middle of a season and we want to analyse how they performed for each team. In a property graph we need to introduce an extra node which links the match, player and team together: image::{{<siteurl>}}/uploads/2013/10/2013-10-22_22-54-25.png[2013 10 22 22 54 25,600] Although we are forced to adopt this design it actually helps us *realise an extra entity* in our domain which wasn't visible before - a player's performance in a match. If we want to capture information about a players' performance in a match we can store it on this node. We can also easily aggregate players stats by following the +++<cite>+++played+++</cite>+++ relationship without needing to worry about the matches they played in. The Neo4j manual has a http://docs.neo4j.org/chunked/milestone/cypher-cookbook-hyperedges.html[few more examples of domain models containing hyper edges] which are worth having a look at if you want to learn more.
null
null
[ -0.00018292813911102712, -0.0030283143278211355, 0.023116499185562134, 0.04381945729255676, 0.07073286920785904, -0.020173154771327972, 0.034361761063337326, 0.0288986973464489, 0.02761496789753437, -0.037858977913856506, 0.0036523868329823017, -0.027510596439242363, -0.08019128441810608, 0.03403788059949875, -0.00642394507303834, 0.07484019547700882, 0.06249102205038071, 0.03920404240489006, -0.010944468900561333, -0.036742620170116425, 0.021542038768529892, 0.06598600000143051, -0.010329857468605042, 0.04559541493654251, 0.051232025027275085, 0.0066511668264865875, 0.019481012597680092, 0.007794353179633617, -0.012177636846899986, 0.0020612541120499372, 0.060464754700660706, -0.00032954139169305563, 0.0011012336472049356, -0.03897567465901375, 0.040557488799095154, -0.018215039744973183, -0.04717433452606201, 0.016097292304039, -0.008538120426237583, -0.018471436575055122, -0.0772789791226387, 0.07061351835727692, -0.023903416469693184, 0.014921083115041256, -0.03669334203004837, 0.01135494839400053, -0.0636400580406189, 0.03745722025632858, 0.007095229811966419, 0.020494375377893448, -0.09671750664710999, 0.03306442126631737, -0.024725090712308884, 0.035119444131851196, -0.0280032679438591, 0.049615707248449326, 0.010158208198845387, -0.06070256978273392, 0.026889976114034653, -0.03588411957025528, 0.001024598372168839, -0.008004959672689438, 0.00507437065243721, 0.017140738666057587, -0.004662156570702791, -0.03175977244973183, 0.005017374642193317, 0.0587264709174633, -0.01691577211022377, -0.014302854426205158, 0.004733400885015726, 0.010013490915298462, -0.0019791522063314915, -0.004055663477629423, 0.00774691766127944, -0.05904022976756096, -0.005645908880978823, 0.04619722440838814, 0.04515577852725983, 0.05555066093802452, -0.027669548988342285, 0.02472272887825966, -0.0009838567348197103, 0.007213503587990999, -0.00846719928085804, -0.0370192788541317, -0.036551348865032196, -0.02269768714904785, -0.07596085965633392, 0.05447251722216606, -0.01383991539478302, -0.05436738580465317, 0.008171098306775093, 0.0017334760632365942, -0.01861255243420601, 0.010247326456010342, 0.020727703347802162, 0.005674103740602732, 0.007521226070821285, -0.022714054211974144, -0.016565702855587006, -0.03569396585226059, -0.0020069978199899197, 0.010928289964795113, -0.0807865634560585, -0.025667255744338036, -0.019756430760025978, -0.010337622836232185, -0.001823756960220635, -0.006278887391090393, -0.05720830708742142, -0.004855750594288111, -0.015432498417794704, 0.01139159593731165, -0.06647353619337082, 0.07198840379714966, 0.03258602321147919, -0.009003832936286926, -0.0026093358173966408, 0.03281443193554878, 0.027087008580565453, 0.009537702426314354, -0.02208538167178631, 0.06992607563734055, -0.028193866834044456, 0.02708037570118904, -0.0018443476874381304, 0.04492151364684105, -0.040756043046712875, -0.07387715578079224, -0.0002690039109438658, 0.06966355443000793, -0.025940386578440666, 0.01476892177015543, -0.016031917184591293, -0.04948835074901581, 0.03817353397607803, -0.006686709821224213, 0.048111703246831894, 0.018329713493585587, 0.004788425285369158, -0.06704945862293243, 0.015051675029098988, 0.003593951929360628, 0.030802611261606216, -0.021540651097893715, -0.002950870431959629, -0.028039224445819855, -0.0020301134791225195, 0.009854383766651154, 0.04055900126695633, 0.03374747559428215, 0.044326815754175186, -0.018355393782258034, 0.03087177313864231, 0.11378838866949081, 0.052131298929452896, 0.002498143119737506, -0.01897239312529564, 0.03565610572695732, 0.05231103301048279, 0.011366786435246468, 0.026908904314041138, 0.03989832475781441, 0.004377683158963919, -0.01270094234496355, -0.008704711683094501, 0.07661172747612, -0.01165690366178751, -0.0018958564614877105, -0.03118809126317501, -0.0554378442466259, 0.03752559423446655, -0.03826532140374184, 0.001524983556009829, 0.07097264379262924, 0.06831908971071243, 0.025052374228835106, 0.030768882483243942, 0.010789332911372185, -0.07736189663410187, 0.040072400122880936, 0.028234928846359253, 0.020990978926420212, -0.0007166671566665173, 0.0020404094830155373, 0.08151071518659592, 0.029374774545431137, -0.006699900142848492, 0.03743346035480499, -0.08567620813846588, -0.07075444608926773, -0.020617080852389336, -0.028787383809685707, 0.07476839423179626, -0.05116445571184158, 0.029066991060972214, 0.03273595869541168, 0.018609432503581047, 0.030020780861377716, 0.027236757799983025, -0.008250421844422817, 0.02271849289536476, -0.021803120151162148, -0.0505625382065773, 0.04279240220785141, 0.008021381683647633, -0.03457380086183548, -0.0631844624876976, 0.015525899827480316, 0.0021837344393134117, -0.018737703561782837, 0.031479474157094955, -0.026416819542646408, 0.047441039234399796, 0.013449912890791893, 0.05003867670893669, -0.016188545152544975, 0.035315629094839096, -0.05298231914639473, 0.044520001858472824, 0.022178111597895622, -0.016331754624843597, 0.014691764488816261, 0.008768245577812195, 0.11720912158489227, 0.05836082249879837, -0.030101701617240906, -0.06342024356126785, 0.012495904229581356, 0.004680867772549391, -0.02224959060549736, 0.024020053446292877, -0.0191354863345623, 0.0058189984411001205, -0.009290141053497791, -0.0404701754450798, -0.03164392709732056, 0.0060812258161604404, -0.04749975726008415, -0.011025436222553253, 0.0449686124920845, -0.016740554943680763, 0.04646946117281914, -0.0027290494181215763, -0.010431541129946709, 0.003019066760316491, -0.026380501687526703, -0.04557172581553459, 0.03025890700519085, 0.0018152107950299978, -0.014285992830991745, 0.035986483097076416, -0.012918837368488312, -0.024107877165079117, -0.03554997965693474, 0.002381490310654044, 0.027034107595682144, 0.039822768419981, 0.07009916752576828, 0.01186265517026186, 0.01474829763174057, -0.045349154621362686, 0.00423405272886157, -0.026405496522784233, -0.06023382395505905, -0.04669665917754173, -0.04657069221138954, 0.014904588460922241, -0.013144301250576973, 0.020251719281077385, -0.016812708228826523, 0.030024167150259018, 0.01894724741578102, -0.008675336837768555, -0.020917968824505806, 0.024095220491290092, 0.0008346287650056183, -0.008027329109609127, -0.022663991898298264, -0.013726318255066872, 0.048857301473617554, -0.04647950455546379, -0.0487210676074028, -0.03156488388776779, -0.06220398098230362, 0.05614001676440239, -0.068138487637043, -0.021495003253221512, -0.03604045882821083, 0.031216148287057877, 0.043730657547712326, -0.002358058001846075, -0.005877186078578234, 0.0508187934756279, 0.032420698553323746, 0.02718333899974823, 0.027712538838386536, 0.010460013523697853, 0.0436265803873539, -0.013219554908573627, 0.02413785085082054, 0.04763343185186386, -0.0435597188770771, 0.0033446999732404947, -0.034474048763513565, 0.019009573385119438, -0.02845797687768936, -0.26192158460617065, 0.041307929903268814, 0.002210324862971902, -0.05687978118658066, 0.0019205398857593536, -0.04172435402870178, -0.022675123065710068, -0.017466947436332703, -0.029426870867609978, -0.003071380080655217, -0.019442018121480942, -0.049178000539541245, -0.03231276199221611, 0.018423523753881454, 0.03134504333138466, -0.0007306754123419523, 0.013343583792448044, -0.03831113502383232, -0.01322268508374691, 0.0429157018661499, -0.02070593275129795, -0.04992922022938728, -0.012098196893930435, 0.015031053684651852, 0.011427221819758415, 0.023497385904192924, -0.07237914204597473, -0.012745517306029797, -0.06704801321029663, -0.021543137729167938, 0.01275428757071495, -0.024023449048399925, -0.00674766581505537, 0.014169871807098389, -0.03365401551127434, -0.01566191576421261, 0.05188117176294327, 0.00017678402946330607, -0.02580147050321102, -0.00016578685608692467, -0.03664014860987663, -0.030181998386979103, -0.012796958908438683, -0.01440584659576416, 0.09070589393377304, 0.014210515655577183, -0.08017583191394806, -0.00008827914280118421, -0.044378168880939484, 0.06687383353710175, -0.02878289297223091, -0.006949839182198048, 0.0017670096131041646, 0.03365674242377281, -0.017687801271677017, -0.029959313571453094, 0.01749081164598465, -0.02714688889682293, -0.06001707538962364, -0.054140374064445496, -0.03433387354016304, -0.04465360566973686, 0.004825908690690994, -0.04244349151849747, -0.005072976928204298, -0.0484490729868412, -0.06303833425045013, -0.025689497590065002, 0.016736652702093124, 0.004874537233263254, -0.023943912237882614, 0.02458716370165348, -0.007552833762019873, -0.0990603119134903, -0.031971387565135956, -0.005821065977215767, 0.01812702976167202, -0.005981089547276497, -0.0023467543069273233, 0.05123932287096977, -0.02316238544881344, -0.04260797053575516, -0.01754019409418106, 0.01701396144926548, 0.03234843909740448, 0.01765397936105728, 0.051198333501815796, -0.016137253493070602, -0.021513596177101135, 0.012158862315118313, 0.05632232502102852, -0.016012296080589294, -0.020736008882522583, -0.004951393697410822, -0.0033368547447025776, 0.02239193208515644, 0.008807064034044743, -0.0163020770996809, 0.004195377696305513, 0.04866372048854828, 0.04778347164392471, -0.0326608307659626, 0.003450799034908414, 0.009859200567007065, -0.03527842089533806, 0.004426096566021442, -0.04606121405959129, 0.005057355388998985, 0.04008931666612625, 0.015747014433145523, 0.008691158145666122, -0.014467628672719002, 0.012285872362554073, -0.031255051493644714, -0.040836259722709656, -0.03077702969312668, 0.009699078276753426, 0.03863755241036415, 0.02838226780295372, -0.02267981693148613, -0.07183495163917542, 0.034553077071905136, 0.027117086574435234, -0.007933732122182846, -0.058599043637514114, -0.025421392172574997, -0.02362120896577835, -0.019869200885295868, 0.012883267365396023, 0.021837787702679634, -0.03228849917650223, 0.051319319754838943, 0.030481215566396713, -0.03318510204553604, 0.05271138623356819, -0.005352459382265806, -0.023184653371572495, -0.0260750874876976, 0.008122331462800503, -0.016839763149619102, 0.007277187891304493, 0.028377695009112358, -0.0021443376317620277, 0.03099886327981949, 0.04986348748207092, 0.01938670501112938, 0.021786289289593697, -0.007537865079939365, 0.028774434700608253, 0.01607612334191799, -0.01327425241470337, -0.026287108659744263, 0.02470407821238041, -0.053190331906080246, -0.00786054227501154, -0.02038852497935295, 0.049442727118730545, -0.01898512803018093, -0.025599298998713493, -0.03151698783040047, 0.021288614720106125, -0.04163253679871559, -0.012791002169251442, -0.006701629143208265, 0.027301494032144547, 0.08599986135959625, -0.027705345302820206, -0.000185043754754588, -0.0426260270178318, -0.024852678179740906, 0.02406897582113743, 0.010072282515466213, -0.02698737569153309, 0.0060128625482320786, -0.02039450779557228, -0.014370105229318142, -0.0037760252598673105, 0.028172820806503296, 0.03652023524045944, 0.01772499457001686, -0.011651582084596157, 0.0024510016664862633, 0.0114573510363698, 0.019104931503534317, 0.044318847358226776, 0.028571216389536858, -0.01627650298178196, 0.0008273696294054389, -0.013607206754386425, 0.019154813140630722, -0.0014453968033194542, 0.004083438776433468, -0.03283211961388588, 0.01550410408526659, -0.024715201929211617, -0.06295600533485413, 0.032335326075553894, -0.018016232177615166, 0.019334902986884117, 0.025408415123820305, 0.01519832108169794, 0.007459090556949377, -0.029374154284596443, 0.03733810782432556, 0.07226783782243729, -0.05031880736351013, -0.013649184256792068, 0.007231301162391901, -0.021345380693674088, -0.0030068305786699057, 0.0029861608054488897, -0.04882993549108505, -0.02712642028927803, -0.022384045645594597, 0.02552645653486252, -0.030965209007263184, -0.042061273008584976, -0.02352038584649563, 0.006662776228040457, 0.0071402257308363914, 0.04333895444869995, -0.005509185139089823, -0.009870478883385658, -0.026819242164492607, -0.025029169395565987, 0.0352942980825901, 0.0023783191572874784, 0.009941778145730495, 0.00814511813223362, -0.025204574689269066, 0.00833894032984972, -0.02479439228773117, 0.016774140298366547, 0.03373021259903908, -0.008321534842252731, 0.012689311988651752, -0.07233778387308121, 0.01661534234881401, 0.011731501668691635, 0.04979418218135834, -0.013002341613173485, -0.008744166232645512, -0.03983370214700699, 0.013943118043243885, -0.012274650856852531, -0.00041711024823598564, -0.012372270226478577, -0.0034380308352410793, 0.0022770031355321407, 0.0278372410684824, -0.010249875485897064, 0.019403934478759766, -0.018625397235155106, -0.014804135076701641, 0.051417361944913864, -0.04856514185667038, -0.023274259641766548, 0.0034323756117373705, -0.0538380891084671, -0.007646943908184767, 0.003908379469066858, -0.0027164120692759752, -0.030971987172961235, 0.059105463325977325, 0.06028110533952713, 0.01944294199347496, 0.03464707359671593, 0.014449168927967548, 0.02348932810127735, -0.037933170795440674, -0.00851520523428917, -0.06885729730129242, 0.003922635223716497, 0.01760481856763363, 0.010267212055623531, 0.00656094728037715, -0.005593201611191034, -0.021316401660442352, 0.00008192243694793433, -0.087002694606781, -0.03131627291440964, 0.02736220881342888, -0.009168317541480064, 0.01542019285261631, 0.008355055004358292, -0.05705643817782402, -0.0082722008228302, 0.029340200126171112, -0.04802081361413002, -0.042346011847257614, -0.016403131186962128, 0.031069885939359665, -0.022148191928863525, 0.04918330907821655, -0.015846066176891327, -0.013777501881122589, 0.07512165606021881, 0.02193531207740307, 0.03624851256608963, 0.05109033361077309, -0.015689220279455185, 0.04154118150472641, 0.014436658471822739, -0.003931018989533186, 0.01242581382393837, 0.03845636546611786, -0.019778721034526825, -0.05593116581439972, 0.05694979801774025, 0.0104580232873559, -0.02301265299320221, -0.053580399602651596, 0.046692367643117905, -0.0042486912570893764, -0.028238719329237938, -0.019099462777376175, 0.03634485974907875, -0.01930161751806736, 0.001808403991162777, -0.033663880079984665, -0.003611406311392784, -0.026670552790164948, 0.05286230146884918, -0.03175514563918114, 0.013708039186894894, 0.08670980483293533, 0.010625147260725498, -0.0160782802850008, -0.003053509397432208, 0.12351004779338837, 0.10798238217830658, 0.03861340880393982, 0.015987219288945198, 0.08628427237272263, 0.010344838723540306, -0.03794942796230316, 0.010146845132112503, -0.004169055260717869, -0.019624194130301476, 0.014500544406473637, 0.017973903566598892, 0.04800453782081604, -0.02906140126287937, 0.0670100525021553, -0.02460034005343914, -0.02619381994009018, 0.002068777335807681, -0.0027098010759800673, 0.010808964259922504, 0.06324899941682816, 0.02196800895035267, 0.03565918281674385, -0.01964767836034298, -0.03281783685088158, 0.009553679265081882, -0.0222060214728117, -0.011059637181460857, 0.03710945323109627, -0.012546935118734837, 0.009296194650232792, 0.010971306823194027, 0.042275216430425644, 0.1024419292807579, -0.04378151893615723, -0.006764803547412157, 0.011412577703595161, -0.0036098759155720472, -0.004052742850035429, -0.0038286319468170404, 0.005071699153631926, -0.026055878028273582, -0.022428208962082863, -0.0371585339307785, 0.0045463633723556995, -0.05809204280376434, -0.012994629330933094, 0.018496299162507057, -0.02377958782017231, -0.00902461539953947, -0.007338948082178831, -0.013156602159142494, -0.042300622910261154, -0.03786925971508026, -0.046834710985422134, -0.035330478101968765, -0.08136523514986038, 0.006653517484664917, 0.028347324579954147, -0.005480539985001087, -0.04106942191720009, -0.00994858331978321, -0.0061980802565813065, -0.02104436606168747, 0.05670897290110588, -0.03958282992243767, 0.0031177042983472347, -0.0017472590552642941, 0.04558684304356575, 0.05305905640125275, 0.031587760895490646, 0.05686771869659424, -0.020849933847784996, -0.0015785439172759652, -0.030515609309077263, 0.00030110374791547656, 0.0364396795630455, 0.020070619881153107, -0.0014148781774565578, -0.09598517417907715, -0.001532912952825427, 0.034071922302246094, -0.0466090627014637, -0.08763740956783295, 0.01828918606042862, 0.047329649329185486, 0.019780052825808525, 0.027280844748020172, -0.025158565491437912, -0.019204597920179367, -0.061145931482315063, 0.013058630749583244, -0.007751922123134136, -0.020240280777215958, 0.042259182780981064, -0.029838930815458298, 0.08907576650381088, 0.020743107423186302, -0.03363377973437309, -0.0027538249269127846, -0.020309515297412872, -0.0019359997240826488, 0.007826609537005424, -0.04370630905032158, -0.025096077471971512, -0.026668991893529892, -0.1000615656375885, -0.04507073014974594, 0.022306162863969803, -0.014228006824851036, -0.03000132367014885, -0.0065175374038517475, 0.05296988785266876, -0.019964899867773056, 0.033972397446632385, -0.04126880690455437, 0.04678650572896004, -0.029958218336105347, -0.0053059677593410015, -0.023668063804507256, 0.018117554485797882, -0.0025518923066556454, 0.012660430744290352, 0.037967439740896225, -0.05096422880887985, -0.006302249617874622, -0.030153634026646614, -0.005090536084026098, 0.007908505387604237, 0.026922212913632393, 0.024970926344394684 ]
[ -0.04290199652314186, 0.003752615535631776, -0.03161286190152168, -0.007459640968590975, 0.06828252971172333, -0.012872833758592606, 0.011552399955689907, 0.008915983140468597, 0.046424705535173416, -0.025603288784623146, 0.037157051265239716, -0.08228912204504013, 0.005649545229971409, -0.00037383162998594344, 0.03801188990473747, -0.011731347069144249, -0.05026860907673836, -0.034310709685087204, -0.026633236557245255, 0.03341948613524437, -0.015420951880514622, -0.035321373492479324, -0.025161301717162132, -0.05153324082493782, 0.05120791122317314, 0.018309421837329865, 0.028904950246214867, -0.024178454652428627, -0.021731408312916756, -0.22709177434444427, 0.02016797475516796, 0.020089255645871162, 0.0219804048538208, -0.001326449797488749, -0.006434652954339981, 0.013950555585324764, 0.043136000633239746, -0.0026775728911161423, 0.03950635343790054, 0.03518131375312805, -0.000581628642976284, 0.03651369363069534, -0.0370091088116169, -0.02518448233604431, 0.06577746570110321, 0.04117870330810547, -0.005857293959707022, -0.007012512534856796, -0.007173407357186079, 0.0042872354388237, -0.016285669058561325, -0.01436462253332138, -0.012236488983035088, 0.009157232008874416, 0.024552971124649048, 0.09015139192342758, 0.05375022441148758, 0.033091284334659576, 0.01591341942548752, 0.060675568878650665, 0.04049401357769966, 0.01801205985248089, -0.11456616222858429, 0.04272432252764702, 0.028096424415707588, 0.010769322514533997, -0.0657934620976448, 0.0019946449901908636, 0.005737540312111378, 0.08900537341833115, 0.013133174739778042, -0.019067605957388878, -0.02470056526362896, 0.02509809099137783, 0.025322824716567993, 0.009314246475696564, -0.011034904047846794, 0.012651072815060616, 0.031058302149176598, -0.013315065763890743, -0.05238864943385124, -0.0002970319183077663, -0.051142122596502304, -0.03783044219017029, -0.04253486916422844, 0.011801125481724739, -0.03522833436727524, 0.009529351256787777, -0.015484361909329891, 0.04620487242937088, 0.020725149661302567, 0.045404352247714996, 0.03434114530682564, -0.014874972403049469, -0.087203249335289, -0.021253688260912895, -0.0013593093026429415, 0.004424531478434801, 0.004477194510400295, 0.4144497811794281, 0.0021417676471173763, -0.031277067959308624, 0.031570348888635635, 0.051521528512239456, -0.00977589562535286, -0.0009440655121579766, -0.013743584044277668, -0.05785505101084709, 0.0030494772363454103, 0.004213199485093355, 0.012210546992719173, -0.03552660718560219, 0.0020123186986893415, -0.04355434700846672, 0.012622324749827385, -0.011146428063511848, 0.029176786541938782, 0.0362665019929409, -0.0008965484448708594, -0.019896941259503365, -0.030649352818727493, 0.024302678182721138, 0.014617343433201313, 0.0337233766913414, 0.0048719472251832485, 0.029383007436990738, -0.003223007544875145, 0.0400884784758091, 0.05680384486913681, 0.014536694623529911, 0.029067037627100945, -0.017690356820821762, -0.07541883736848831, 0.012970199808478355, -0.021589061245322227, -0.0030576768331229687, 0.04710407927632332, -0.03311727195978165, -0.03450436890125275, 0.06664519757032394, -0.00839208997786045, -0.02046850696206093, 0.06292780488729477, 0.01312897726893425, -0.03213724493980408, 0.10968220233917236, -0.008026461116969585, -0.03516388311982155, -0.025447824969887733, -0.014725640416145325, -0.00012735725613310933, 0.01815193146467209, -0.01002675760537386, -0.07214165478944778, -0.03675807639956474, 0.007539778016507626, 0.07602173835039139, -0.03107016161084175, -0.0736313909292221, 0.003983571659773588, -0.031801771372556686, -0.015463066287338734, -0.06008727848529816, 0.08151011914014816, 0.03060382977128029, -0.1322232335805893, -0.016200950369238853, 0.005215656012296677, -0.0035972052719444036, -0.07542290538549423, 0.010950719006359577, 0.010597382672131062, -0.04348134249448776, 0.007334331050515175, 0.045759763568639755, 0.013069349341094494, -0.07303526252508163, -0.0632636547088623, 0.04346735402941704, -0.024158352985978127, 0.004593949764966965, 0.0034645115956664085, -0.06458014994859695, -0.014114688150584698, -0.05298988148570061, -0.04362425208091736, -0.06161626800894737, 0.023575231432914734, -0.03200959786772728, -0.03280281648039818, -0.048164039850234985, -0.017153549939393997, -0.06007781997323036, 0.08565961569547653, -0.029250776395201683, -0.01428546104580164, 0.0018853906076401472, -0.007158685941249132, -0.018965357914566994, -0.019017186015844345, -0.02759208157658577, 0.03189918398857117, -0.006909952033311129, 0.028134435415267944, -0.057759225368499756, 0.042373962700366974, 0.06343313306570053, -0.031223176047205925, 0.05858276039361954, -0.016840746626257896, -0.049583978950977325, -0.047210466116666794, -0.04747217521071434, 0.00678981514647603, -0.015789685770869255, 0.0023920575622469187, -0.0033582558389753103, 0.031222427263855934, -0.0044107139110565186, 0.04591022804379463, -0.012590328231453896, -0.0025778452400118113, -0.004446986597031355, -0.3533273935317993, -0.04502498358488083, -0.02211880497634411, 0.008919119834899902, 0.0385051928460598, 0.003316659014672041, 0.014269275590777397, -0.01337614469230175, 0.021436313167214394, 0.028281720355153084, 0.05833945423364639, 0.005467576906085014, -0.04560210555791855, -0.06722899526357651, -0.01966719888150692, 0.03574958071112633, -0.02969496138393879, -0.002087094821035862, -0.047791752964258194, 0.032166656106710434, 0.034978367388248444, -0.006071427371352911, -0.04141153022646904, -0.011553498916327953, -0.008895179256796837, -0.026110814884305, 0.12387654185295105, -0.008564670570194721, 0.03734959289431572, -0.05955225229263306, 0.007169940508902073, -0.014797410927712917, -0.022167224436998367, -0.050670817494392395, 0.02927309274673462, -0.02136884443461895, 0.022519221529364586, -0.003863900899887085, -0.001020262367092073, -0.07826291024684906, -0.07549608498811722, -0.007195020094513893, -0.056661270558834076, -0.06260386854410172, -0.039844684302806854, 0.05990305170416832, -0.010238280519843102, -0.024716433137655258, 0.01856761984527111, 0.07523494213819504, 0.02861739881336689, 0.03111700341105461, 0.049167390912771225, 0.011801312677562237, 0.017235761508345604, -0.03393678367137909, -0.08965721726417542, -0.004595206584781408, -0.0021598192397505045, 0.02023407630622387, 0.033677153289318085, 0.0011128843761980534, 0.0395163856446743, -0.08606372028589249, 0.04776081442832947, 0.024371085688471794, 0.0015825903974473476, -0.011873133480548859, 0.010883823968470097, -0.020962512120604515, -0.005999407265335321, 0.09363014250993729, 0.040914136916399, 0.037564437836408615, 0.05920807644724846, 0.03582412004470825, 0.018054049462080002, 0.0124891372397542, 0.019199850037693977, 0.02760528214275837, 0.03692078962922096, -0.07248806953430176, 0.0710301399230957, 0.0019875667057931423, 0.022307751700282097, 0.01564600318670273, 0.020665723830461502, -0.05094829201698303, 0.05244152620434761, 0.015878621488809586, -0.003767388639971614, 0.010638567619025707, -0.03606964647769928, -0.04247915744781494, 0.0406232550740242, -0.042152028530836105, -0.26624974608421326, 0.009609078988432884, 0.06475843489170074, 0.07381264120340347, -0.005616263952106237, 0.032610658556222916, 0.02754245698451996, -0.0026081353425979614, -0.010915561579167843, -0.019729049876332283, 0.050841137766838074, 0.043121498078107834, 0.01072176918387413, -0.009489933028817177, -0.03736032545566559, -0.029194077476859093, 0.0524563193321228, 0.009912578389048576, 0.043299827724695206, 0.02981284074485302, 0.05299869552254677, -0.01523266639560461, 0.18376825749874115, 0.02196691930294037, 0.04752063378691673, 0.049074042588472366, -0.0468997098505497, -0.019220363348722458, 0.03177201747894287, -0.023356759920716286, -0.009813275188207626, 0.04208846390247345, 0.034831177443265915, 0.045181065797805786, 0.014856440015137196, -0.018193360418081284, -0.011873913928866386, 0.056823309510946274, 0.02172529138624668, -0.033315181732177734, 0.01783614046871662, 0.0072967433370649815, -0.04338112100958824, 0.026613175868988037, 0.07218506187200546, 0.01315893791615963, 0.0007394557469524443, 0.006330372765660286, -0.07238195091485977, -0.01666613109409809, -0.05414016172289848, -0.049870751798152924, -0.028099214658141136, -0.014713000506162643, 0.012556366622447968, 0.02223072201013565, 0.04137224331498146, -0.029117930680513382, 0.03496786579489708, -0.018912769854068756, -0.007291387300938368, 0.008564243093132973, 0.06422868371009827, -0.008901097811758518, 0.02742873504757881 ]
[ 0.03608730435371399, 0.058430016040802, -0.00553578557446599, 0.010574938729405403, -0.011394636705517769, 0.0280287005007267, -0.027007346972823143, -0.010484738275408745, -0.020820559933781624, -0.0005659504095092416, -0.0235308688133955, 0.004471223801374435, 0.009511532261967659, 0.00814941804856062, 0.02452911250293255, 0.043889131397008896, -0.007664484903216362, 0.004818386398255825, 0.02991773746907711, 0.01587013341486454, -0.012296297587454319, -0.04976364225149155, 0.014277389273047447, -0.04633087292313576, -0.015547141432762146, 0.02114837057888508, -0.033409859985113144, 0.007412218488752842, 0.01656986027956009, -0.09963022172451019, 0.003895311849191785, -0.0361027866601944, -0.022190585732460022, 0.04496920108795166, -0.045213256031274796, -0.0122749712318182, -0.014469870366156101, 0.0025679366663098335, -0.005719709675759077, 0.0356915183365345, 0.030679721385240555, -0.024704616516828537, -0.02105705253779888, 0.016722379252314568, 0.0021352265030145645, 0.008134860545396805, -0.04834442585706711, -0.0137567687779665, 0.0067563545890152454, -0.005243000108748674, -0.0387856587767601, -0.049849532544612885, 0.020341988652944565, 0.004723319783806801, 0.04201063886284828, 0.04197694733738899, -0.02428390458226204, 0.0025325394235551357, 0.010720064863562584, 0.030155766755342484, 0.05873808637261391, -0.0044625299051404, -0.05156124010682106, -0.043719202280044556, -0.02770284377038479, 0.00910375826060772, -0.009027802385389805, 0.039553239941596985, -0.0068354918621480465, 0.007161883171647787, -0.0009252309100702405, 0.03631012514233589, -0.05796096846461296, -0.041880130767822266, -0.0056176199577748775, 0.025924356654286385, -0.0050646401941776276, 0.029213953763246536, 0.013292050920426846, -0.012823224999010563, -0.010410945862531662, 0.010390274226665497, -0.015341831371188164, -0.025219205766916275, -0.02095217816531658, -0.006387494038790464, 0.028222044929862022, -0.04679263383150101, 0.0022153088357299566, -0.005063749384135008, -0.044470202177762985, 0.011783989146351814, 0.01438818033784628, -0.0010909080738201737, -0.07393162697553635, 0.011449486948549747, 0.033370550721883774, -0.03343956917524338, 0.031027251854538918, 0.8016791939735413, 0.024521609768271446, -0.018141956999897957, 0.002235094550997019, 0.013639473356306553, 0.02201741375029087, 0.01439485140144825, -0.02039569988846779, 0.04817964881658554, 0.0017186424229294062, -0.0022810748778283596, 0.009983085095882416, 0.025229312479496002, -0.009445950388908386, 0.024335071444511414, -0.03112584911286831, 0.01722092553973198, 0.05096018314361572, -0.007340665441006422, 0.005993740167468786, 0.019533703103661537, -0.00993349403142929, 0.032879069447517395, -0.007176190614700317, -0.004822712391614914, 0.013910885900259018, -0.19080127775669098, -0.00045907360618002713, -7.683426336949935e-33, 0.07878992706537247, 0.006177565548568964, 0.008252203464508057, -0.010593526996672153, 0.00307829980738461, 0.028688624501228333, -0.0398545078933239, -0.06038710102438927, -0.010115917772054672, -0.04801991954445839, -0.04087027162313461, -0.002540616085752845, 0.03401656448841095, -0.011205661110579967, 0.028850136324763298, -0.03165000304579735, 0.013329173438251019, 0.012039299122989178, 0.023221515119075775, -0.007574005983769894, 0.004834380466490984, 0.028768165037035942, -0.028754297643899918, 0.03981415182352066, -0.05215609818696976, 0.06355216354131699, -0.028981907293200493, -0.02772158943116665, 0.013823856599628925, -0.042029641568660736, -0.036383017897605896, 0.005309056956321001, -0.006443222519010305, -0.007767088711261749, 0.001178999780677259, -0.003286728635430336, -0.03638431057333946, 0.007934056222438812, -0.05068293958902359, -0.07279042154550552, -0.024220924824476242, -0.0012181581696495414, -0.018045848235487938, -0.04820156842470169, -0.05109592154622078, -0.0018302220851182938, -0.01207862887531519, -0.008062335662543774, -0.020950397476553917, 0.0006661407533101737, -0.007593213580548763, 0.010493592359125614, 0.0027337244246155024, 0.024353113025426865, -0.036838799715042114, 0.0050855097360908985, 0.019398314878344536, 0.03673684597015381, -0.01899612881243229, -0.002179468981921673, 0.05135911703109741, -0.033145349472761154, -0.013733364641666412, 0.06490157544612885, 0.0011527047026902437, 0.05093570426106453, -0.011510471813380718, -0.016597092151641846, 0.015337154269218445, -0.024934131652116776, -0.06254955381155014, 0.08752831071615219, 0.004400091711431742, -0.014770402573049068, 0.006140065845102072, -0.02825510874390602, -0.004453312139958143, -0.014633381739258766, -0.013848237693309784, 0.047026775777339935, -0.011072815395891666, 0.017473960295319557, 0.013580501079559326, -0.05655296519398689, -0.005529309157282114, -0.04066360369324684, 0.01448936015367508, 0.018067460507154465, 0.0005073192296549678, 0.008851620368659496, 0.03166921064257622, 0.03800893574953079, -0.038669146597385406, -0.01785869523882866, 0.0127671267837286, 7.402173885152348e-33, -0.007499961648136377, 0.016966212540864944, 0.008759303949773312, 0.00985630787909031, 0.07093008607625961, 0.003838649485260248, 0.030240170657634735, 0.018733317032456398, -0.09228166937828064, 0.039060063660144806, 0.022419273853302002, -0.02964829094707966, -0.015199839137494564, 0.00730466702952981, 0.04219186678528786, -0.0014120093546807766, 0.018160350620746613, -0.05260024219751358, 0.025367893278598785, 0.03336594998836517, 0.03295906260609627, -0.022556984797120094, -0.009154753759503365, 0.02372334897518158, 0.010140269063413143, 0.029375730082392693, 0.013057958334684372, -0.034981973469257355, -0.009876771830022335, -0.001880980795249343, 0.01728113554418087, -0.049110814929008484, -0.007074824534356594, -0.02672451362013817, 0.03530469909310341, 0.036056213080883026, -0.017080053687095642, 0.018413841724395752, 0.026815075427293777, -0.008583205752074718, -0.010601096786558628, 0.01593192294239998, -0.017247499898076057, 0.06930001080036163, 0.009884231723845005, 0.024266045540571213, 0.001896986155770719, -0.017561713233590126, -0.029547860845923424, -0.008325464092195034, 0.010976934805512428, 0.0020555683877319098, -0.0054578110575675964, 0.004151876550167799, -0.02511759102344513, -0.049225322902202606, 0.010914936661720276, 0.06195253133773804, -0.025279588997364044, 0.030323928222060204, -0.011710263788700104, -0.003220377955585718, -0.045707933604717255, 0.05603465437889099, -0.025788968428969383, -0.0008867484866641462, -0.05337163433432579, -0.020313458517193794, -0.02725484035909176, -0.005562718492001295, -0.0016260012052953243, 0.013061655685305595, -0.025920391082763672, 0.029616964980959892, 0.04210437834262848, -0.03340684249997139, -0.028151899576187134, 0.05318593606352806, -0.013770977966487408, 0.04029475897550583, 0.0015305207343772054, 0.04641900584101677, 0.04600607976317406, -0.008516760542988777, -0.0031673540361225605, 0.015573598444461823, -0.005239086225628853, 0.03365195170044899, -0.03989987447857857, -0.017469139769673347, 0.02666435018181801, -0.017668433487415314, -0.049894556403160095, 0.03315602242946625, 0.006929480936378241, -1.2778037294935984e-8, -0.06565507501363754, 0.04407857730984688, -0.008657457306981087, -0.020776454359292984, 0.014979489147663116, 0.05308232828974724, 0.02538163959980011, 0.025403382256627083, -0.020767392590641975, -0.005078157410025597, 0.021304981783032417, -0.025382041931152344, -0.030574005097150803, 0.009815341793000698, 0.010218239389359951, -0.04453883692622185, -0.02250741794705391, -0.018730677664279938, 0.04071526229381561, 0.06207755208015442, -0.0018497222336009145, 0.02857699617743492, -0.02406211942434311, 0.0174315944314003, 0.005746257025748491, -0.018998822197318077, 0.013311688788235188, -0.055114731192588806, -0.006041867658495903, -0.008725880645215511, 0.03435370698571205, 0.006601578556001186, -0.006897375453263521, 0.00455229077488184, -0.035674940794706345, -0.015255789272487164, 0.014595603570342064, 0.025275420397520065, 0.0034530272241681814, 0.03754524886608124, -0.03365221992135048, 0.029251839965581894, -0.041701413691043854, -0.03249629959464073, 0.010865891352295876, 0.026034865528345108, -0.010991251096129417, -0.016430538147687912, 0.017919082194566727, -0.04322702810168266, 0.006671348586678505, -0.009845370426774025, 0.015013028867542744, 0.0031009207013994455, 0.021511126309633255, 0.00034265199792571366, -0.0005548676126636565, -0.002790791215375066, 0.0008938396349549294, -0.017686966806650162, 0.03318380191922188, -0.014464321546256542, -0.033629052340984344, 0.005471180658787489 ]
neo4j-modelling-hyper-edges-in-a-property-graph
https://markhneedham.com/blog/2013/10/22/neo4j-modelling-hyper-edges-in-a-property-graph
false
2013-10-25 16:03:48
Neo4j: Making implicit relationships explicit & bidirectional relationships
[ "neo4j" ]
[ "neo4j" ]
I recently read http://graphaware.com/neo4j/2013/10/11/neo4j-bidirectional-relationships.html[Michal Bachman's post about bidirectional relationships] in Neo4j in which he suggests that for some relationship types we're not that interested in the relationship's direction and can therefore ignore it when querying. He uses the following example showing the partnership between Neo Technology and GraphAware: image::{{<siteurl>}}/uploads/2013/10/neo_ga3.png[Neo ga3,492] Both companies are partners with each other but since we can just as quickly find incoming and outgoing relationships we may as well just have one relationship between the two companies/nodes. This pattern comes up frequently when we want to make implicit relationships in our graph explicit. For example, we might have the following graph which describes people and projects that they've worked on: image::{{<siteurl>}}/uploads/2013/10/2013-10-25_16-34-16.png[2013 10 25 16 34 16,600] We could create that graph in Neo4j 2.0 using the following cypher syntax: [source,cypher] ---- CREATE (mark:Person {name: "Mark"}) CREATE (dave:Person {name: "Dave"}) CREATE (john:Person {name: "John"}) CREATE (projectA:Project {name: "Project A"}) CREATE (projectB:Project {name: "Project B"}) CREATE (projectC:Project {name: "Project C"}) CREATE (mark)-[:WORKED_ON]->(projectA) CREATE (mark)-[:WORKED_ON]->(projectB) CREATE (dave)-[:WORKED_ON]->(projectA) CREATE (dave)-[:WORKED_ON]->(projectC) CREATE (john)-[:WORKED_ON]->(projectC) CREATE (john)-[:WORKED_ON]->(projectB) ---- If we wanted to work out which people know each other we could write the following query: [source,bash] ---- MATCH (person1:Person)-[:WORKED_ON]-()<-[:WORKED_ON]-(person2) RETURN person1, person2 ==> +-------------------------------------------------------+ ==> | person1 | person2 | ==> +-------------------------------------------------------+ ==> | Node[500363]{name:"Mark"} | Node[500364]{name:"Dave"} | ==> | Node[500363]{name:"Mark"} | Node[500365]{name:"John"} | ==> | Node[500364]{name:"Dave"} | Node[500363]{name:"Mark"} | ==> | Node[500364]{name:"Dave"} | Node[500365]{name:"John"} | ==> | Node[500365]{name:"John"} | Node[500364]{name:"Dave"} | ==> | Node[500365]{name:"John"} | Node[500363]{name:"Mark"} | ==> +-------------------------------------------------------+ ==> 6 rows ---- We might want to create a +++<cite>+++KNOWS+++</cite>+++ relationship between each pair of people: [source,cypher] ---- MATCH (person1:Person)-[:WORKED_ON]-()<-[:WORKED_ON]-(person2) CREATE UNIQUE (person1)-[:KNOWS]->(person2) RETURN person1, person2 ---- Now if we run a query (which ignores the relationship direction) to find out which people know each other we'll get a lot of duplicate results: [source,bash] ---- MATCH path=(person1:Person)-[:KNOWS]-(person2) RETURN person1, person2, path ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | person1 | person2 | path | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | Node[500363]{name:"Mark"} | Node[500364]{name:"Dave"} | [Node[500363]{name:"Mark"},:KNOWS[528536]{},Node[500364]{name:"Dave"}] | ==> | Node[500363]{name:"Mark"} | Node[500365]{name:"John"} | [Node[500363]{name:"Mark"},:KNOWS[528537]{},Node[500365]{name:"John"}] | ==> | Node[500363]{name:"Mark"} | Node[500364]{name:"Dave"} | [Node[500363]{name:"Mark"},:KNOWS[528538]{},Node[500364]{name:"Dave"}] | ==> | Node[500363]{name:"Mark"} | Node[500365]{name:"John"} | [Node[500363]{name:"Mark"},:KNOWS[528541]{},Node[500365]{name:"John"}] | ==> | Node[500364]{name:"Dave"} | Node[500363]{name:"Mark"} | [Node[500364]{name:"Dave"},:KNOWS[528538]{},Node[500363]{name:"Mark"}] | ==> | Node[500364]{name:"Dave"} | Node[500365]{name:"John"} | [Node[500364]{name:"Dave"},:KNOWS[528539]{},Node[500365]{name:"John"}] | ==> | Node[500364]{name:"Dave"} | Node[500363]{name:"Mark"} | [Node[500364]{name:"Dave"},:KNOWS[528536]{},Node[500363]{name:"Mark"}] | ==> | Node[500364]{name:"Dave"} | Node[500365]{name:"John"} | [Node[500364]{name:"Dave"},:KNOWS[528540]{},Node[500365]{name:"John"}] | ==> | Node[500365]{name:"John"} | Node[500364]{name:"Dave"} | [Node[500365]{name:"John"},:KNOWS[528540]{},Node[500364]{name:"Dave"}] | ==> | Node[500365]{name:"John"} | Node[500363]{name:"Mark"} | [Node[500365]{name:"John"},:KNOWS[528541]{},Node[500363]{name:"Mark"}] | ==> | Node[500365]{name:"John"} | Node[500363]{name:"Mark"} | [Node[500365]{name:"John"},:KNOWS[528537]{},Node[500363]{name:"Mark"}] | ==> | Node[500365]{name:"John"} | Node[500364]{name:"Dave"} | [Node[500365]{name:"John"},:KNOWS[528539]{},Node[500364]{name:"Dave"}] | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> 12 rows ---- Every pair of people shows up 4 times and if we take the example of Mark and Dave we can see why: [source,bash] ---- MATCH path=(person1:Person)-[:KNOWS]-(person2) WHERE person1.name = "Mark" AND person2.name = "Dave" RETURN person1, person2, path ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | person1 | person2 | path | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | Node[500363]{name:"Mark"} | Node[500364]{name:"Dave"} | [Node[500363]{name:"Mark"},:KNOWS[528536]{},Node[500364]{name:"Dave"}] | ==> | Node[500363]{name:"Mark"} | Node[500364]{name:"Dave"} | [Node[500363]{name:"Mark"},:KNOWS[528538]{},Node[500364]{name:"Dave"}] | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> 2 rows ---- If we look under the +++<cite>+++path+++</cite>+++ column there are two different +++<cite>+++KNOWS+++</cite>+++ relationships (with ids 528536 and 528538) between Mark and Dave, one going from Mark to Dave and the other from Dave to Mark. As Michal pointed out in his post having two relationships is unnecessary in this case. We only need a relationship one way, which we can do by not specifying a direction when we create the +++<cite>+++KNOWS+++</cite>+++ relationship: [source,bash] ---- MATCH (person1:Person)-[:WORKED_ON]-()<-[:WORKED_ON]-(person2) CREATE UNIQUE (person1)-[:KNOWS]-(person2) RETURN person1, person2 ---- Now if we re-run the query to check the relationships between Mark and Dave there is only one: [source,bash] ---- MATCH path=(person1:Person)-[:KNOWS]-(person2) WHERE person1.name = "Mark" AND person2.name = "Dave" RETURN person1, person2, path ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | person1 | person2 | path | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | Node[500375]{name:"Mark"} | Node[500376]{name:"Dave"} | [Node[500375]{name:"Mark"},:KNOWS[528560]{},Node[500376]{name:"Dave"}] | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> 1 row ---- The relationship goes from Mark to Dave in this case which we can see by executing some queries which take direction into account: [source,bash] ---- MATCH path=(person1:Person)-[:KNOWS]->(person2) WHERE person1.name = "Mark" AND person2.name = "Dave" RETURN person1, person2, path ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | person1 | person2 | path | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> | Node[500375]{name:"Mark"} | Node[500376]{name:"Dave"} | [Node[500375]{name:"Mark"},:KNOWS[528560]{},Node[500376]{name:"Dave"}] | ==> +--------------------------------------------------------------------------------------------------------------------------------+ ==> 1 row ---- [source,bash] ---- MATCH path=(person1:Person)<-[:KNOWS]-(person2) WHERE person1.name = "Mark" AND person2.name = "Dave" RETURN person1, person2, path ==> +--------------------------+ ==> | person1 | person2 | path | ==> +--------------------------+ ==> +--------------------------+ ==> 0 row ---- {blank}
null
null
[ 0.005021757446229458, -0.00311326514929533, -0.004416781011968851, 0.027816670015454292, 0.06524712592363358, -0.013313614763319492, 0.03538680821657181, 0.02955724112689495, 0.021318959072232246, -0.021157776936888695, -0.012370165437459946, -0.0009727006545290351, -0.059176765382289886, 0.03010478802025318, -0.012595566920936108, 0.0640745684504509, 0.05636543408036232, 0.018880685791373253, 0.011818950064480305, -0.023318668827414513, 0.02735329046845436, 0.040421709418296814, -0.001768429297953844, 0.04831190034747124, 0.062165766954422, 0.010901853442192078, 0.024723071604967117, -0.0026365641970187426, -0.042035430669784546, -0.017854230478405952, 0.07155055552721024, -0.012080010026693344, 0.012420517392456532, -0.013460765592753887, 0.01484852284193039, 0.015097481198608875, -0.050576016306877136, -0.015258682891726494, -0.007263075094670057, -0.005973417777568102, -0.07305276393890381, 0.04745519906282425, -0.016852928325533867, -0.0042617181316018105, -0.044279251247644424, 0.00487928232178092, -0.06434515863656998, 0.056984975934028625, 0.02839955873787403, 0.007382205221801996, -0.10923292487859726, 0.025845441967248917, -0.0005005272687412798, 0.04326823726296425, -0.010103066451847553, 0.04576863348484039, 0.008994216099381447, -0.06511181592941284, 0.037181198596954346, -0.03539716452360153, 0.011717882007360458, -0.009232934564352036, -0.003117537824437022, 0.026214422658085823, 0.0009537694277241826, -0.04311516880989075, 0.006976407486945391, 0.03517195209860802, -0.04726014658808708, -0.019052589312195778, -0.03093957155942917, -0.0038541315589100122, -0.01158873364329338, 0.013985891826450825, 0.003505891188979149, -0.03690756484866142, -0.0034495971631258726, 0.025387149304151535, 0.031065594404935837, 0.0546635277569294, -0.012210043147206306, 0.024644967168569565, -0.003996197134256363, 0.02027306519448757, -0.017482902854681015, -0.042066991329193115, -0.005793889053165913, -0.02488904446363449, -0.06633202731609344, 0.04374069720506668, -0.01816667430102825, -0.0626697838306427, -0.009272892028093338, -0.007818778976798058, -0.03023882396519184, -0.0007450691191479564, 0.008472608402371407, 0.011552819050848484, 0.03795433044433594, -0.02196810394525528, -0.02130071073770523, -0.03429177775979042, -0.018622882664203644, 0.01155775599181652, -0.07360980659723282, -0.0525784008204937, -0.03287384286522865, -0.0251137875020504, 0.004904597997665405, -0.009204979985952377, -0.04442543908953667, -0.011768944561481476, -0.016477923840284348, 0.03748539462685585, -0.06659789383411407, 0.07085330039262772, -0.0002273816935485229, -0.01669485680758953, -0.03140857443213463, 0.019702544435858727, 0.04499893635511398, 0.014987170696258545, -0.011850303038954735, 0.060897260904312134, -0.013256607577204704, 0.0437178798019886, -0.015158944763243198, 0.05890898406505585, -0.036326780915260315, -0.07328087091445923, -0.02480551227927208, 0.05805574357509613, -0.008557132445275784, 0.020338186994194984, -0.01429140754044056, -0.04726976528763771, -0.005337707698345184, 0.03128151223063469, 0.027090635150671005, 0.031687453389167786, -0.01436496153473854, -0.04858770966529846, 0.04485093802213669, 0.0021350355818867683, 0.030837109312415123, 0.011803781613707542, -0.012330638244748116, -0.011864944361150265, -0.024532344192266464, 0.022217411547899246, 0.0055137211456894875, 0.031223788857460022, 0.060524750500917435, -0.02435321733355522, 0.015878897160291672, 0.1056930273771286, 0.044624213129282, 0.021998759359121323, -0.0018781445687636733, 0.02078639157116413, 0.04098118469119072, 0.021130841225385666, 0.020042959600687027, 0.06718254834413528, 0.004766273777931929, -0.02136862277984619, -0.01230680663138628, 0.04867374151945114, -0.005528382025659084, 0.031832803040742874, -0.0443388931453228, -0.06330294162034988, 0.06504706293344498, -0.05282922834157944, -0.014053493738174438, 0.04261130094528198, 0.07014986872673035, 0.017187435179948807, 0.01803700439631939, 0.005633714143186808, -0.08069110661745071, 0.0649777501821518, 0.01403768640011549, -0.0026580682024359703, 0.0107117323204875, 0.027662696316838264, 0.06375288963317871, 0.0410616435110569, -0.00008313643047586083, 0.05473997816443443, -0.07663597166538239, -0.0758262649178505, -0.03659982234239578, -0.009753103367984295, 0.05442220717668533, -0.017178619280457497, 0.01886834390461445, 0.03422575816512108, 0.018601926043629646, 0.025133078917860985, 0.0052564688958227634, -0.012092662043869495, 0.023371832445263863, -0.03712853044271469, -0.06115878000855446, 0.0610574409365654, 0.02811022847890854, -0.04137801378965378, -0.02873232029378414, 0.034332677721977234, -0.00798791740089655, 0.004021817352622747, 0.030989045277237892, -0.02677382528781891, 0.05529479682445526, 0.015788482502102852, 0.023987380787730217, -0.01864256151020527, 0.02290099486708641, -0.049574676901102066, 0.04030294343829155, 0.008706032298505306, -0.03440212830901146, 0.004826914519071579, 0.009140263311564922, 0.11282049864530563, 0.04864315316081047, -0.013587112538516521, -0.05220342427492142, 0.05564700812101364, 0.013636025600135326, -0.002630519913509488, 0.03226619213819504, -0.033041685819625854, -0.00007828948582755402, -0.003719629952684045, -0.03421260416507721, -0.02627691440284252, 0.023489976301789284, -0.034040845930576324, 0.0025075962767004967, 0.062489286065101624, -0.04157034307718277, 0.05873529985547066, 0.006815825589001179, -0.0015139651950448751, -0.016786446794867516, -0.03763718530535698, -0.048390645533800125, 0.04996314272284508, -0.00702799903228879, -0.004315946251153946, 0.0508413165807724, -0.02593264728784561, -0.010758991353213787, -0.01913255639374256, -0.018067598342895508, 0.026841599494218826, 0.053709421306848526, 0.043909817934036255, -0.016457589343190193, 0.049342505633831024, -0.033702123910188675, 0.007025014143437147, -0.009028288535773754, -0.06359980255365372, -0.03567475453019142, -0.012564713135361671, 0.025091521441936493, 0.012978384271264076, 0.021808624267578125, -0.03072817251086235, 0.033551331609487534, 0.00897947046905756, 0.0197075754404068, -0.008536171168088913, 0.025817647576332092, 0.02163713052868843, -0.013051404617726803, -0.050139639526605606, -0.03486784175038338, 0.036949846893548965, -0.05513845384120941, -0.03878576308488846, -0.019251281395554543, -0.056499045342206955, 0.05942656472325325, -0.061415787786245346, -0.03175146132707596, -0.004358819220215082, 0.039721958339214325, 0.05238199979066849, 0.008098183199763298, -0.014992592856287956, 0.08035005629062653, 0.04476967826485634, 0.010382557287812233, 0.012454641982913017, -0.010721988044679165, 0.05201418697834015, -0.0034087072126567364, 0.0364636592566967, 0.05694529786705971, -0.04101244732737541, 0.005860041361302137, -0.003121892223134637, 0.02707558311522007, -0.014092870987951756, -0.26533010601997375, 0.0349254235625267, -0.0363004244863987, -0.057718027383089066, 0.01351317297667265, -0.03458220884203911, 0.004186432808637619, -0.021762842312455177, -0.028505008667707443, -0.015466846525669098, -0.021225998178124428, -0.05923132598400116, -0.01738157495856285, 0.023547222837805748, -0.004997255280613899, 0.021258613094687462, -0.004382461775094271, -0.07387799769639969, 0.006406070198863745, 0.03589695692062378, -0.009507362730801105, -0.04699190333485603, -0.016297370195388794, 0.007461517117917538, 0.013351904228329659, 0.02746831625699997, -0.09597568213939667, 0.022617708891630173, -0.05706007406115532, -0.019726980477571487, -0.007753771264106035, -0.0005360791110433638, 0.0013103827368468046, 0.010808013379573822, -0.017011359333992004, -0.03448803350329399, 0.0640929713845253, 0.012111489661037922, 0.013803304173052311, 0.0334152951836586, -0.033966902643442154, -0.037393372505903244, -0.023999404162168503, -0.005244718864560127, 0.08320839703083038, 0.0011650549713522196, -0.0891190841794014, -0.011783309280872345, -0.021013978868722916, 0.06648290157318115, -0.04225549474358559, -0.025422245264053345, 0.012137564830482006, 0.01991676725447178, -0.002927374327555299, -0.033199653029441833, 0.009072262793779373, -0.026884501799941063, -0.0600820817053318, -0.010185264982283115, -0.021776851266622543, -0.043405234813690186, 0.02160273678600788, -0.061221349984407425, 0.0001292078522965312, -0.0492459274828434, -0.08236170560121536, -0.030037805438041687, 0.03589358553290367, 0.006612346973270178, 0.0016034373547881842, 0.04515082389116287, -0.01281737256795168, -0.10963824391365051, -0.031206099316477776, -0.040895067155361176, 0.005477518774569035, 0.0013234991347417235, -0.011133771389722824, 0.03356767073273659, -0.010577215813100338, -0.049726586788892746, 0.0006430895300582051, 0.03479548916220665, 0.017340153455734253, 0.008283120580017567, 0.02403993532061577, -0.02635646052658558, -0.0322037898004055, 0.022510915994644165, 0.05959575995802879, -0.007604708429425955, -0.01827239617705345, -0.025206319987773895, 0.014750061556696892, 0.013304444029927254, 0.009779786691069603, -0.01135440543293953, 0.02133345976471901, 0.04671155661344528, 0.03237975016236305, -0.03693963214755058, 0.0021767504513263702, 0.013747116550803185, -0.005748248193413019, -0.018028711900115013, -0.042389240115880966, 0.0448390394449234, 0.030876902863383293, 0.02401268482208252, -0.006829298101365566, -0.012225820682942867, 0.017516108229756355, -0.022201240062713623, -0.04859642684459686, -0.02467874437570572, -0.0014209197834134102, 0.0291778314858675, 0.03371579572558403, -0.01487688347697258, -0.05834866687655449, 0.03328758105635643, 0.02856305241584778, 0.0024873963557183743, -0.06669806689023972, -0.012708879075944424, -0.04583069682121277, -0.005381816532462835, 0.007920238189399242, 0.03932863473892212, -0.025916682556271553, 0.031180452555418015, 0.01539552304893732, -0.038961540907621384, 0.05241486430168152, -0.01628197729587555, -0.024575775489211082, -0.03468000516295433, -0.009558772668242455, -0.016734251752495766, -0.013891651295125484, 0.0030492020305246115, -0.005752708297222853, 0.03348459303379059, 0.022121481597423553, 0.019931811839342117, 0.004354703705757856, -0.006288441829383373, 0.0234058927744627, -0.004787335637956858, -0.004683822859078646, -0.052282705903053284, 0.008612522855401039, -0.029097750782966614, -0.009871168993413448, 0.001147815608419478, 0.030326709151268005, -0.012654854916036129, -0.023010285571217537, -0.03679285943508148, 0.03334119915962219, -0.06926281750202179, 0.02819925919175148, -0.019153354689478874, 0.021868063136935234, 0.06561384350061417, -0.045746736228466034, 0.01547115296125412, -0.038697749376297, -0.022706126794219017, 0.0345567911863327, 0.019596893340349197, -0.04196681082248688, 0.004584230948239565, -0.004154713358730078, 0.02251499518752098, 0.009547235444188118, 0.026424681767821312, 0.05966287478804588, 0.018364574760198593, -0.032134201377630234, -0.0037164899986237288, 0.01819319650530815, 0.01593175157904625, 0.03814166039228439, 0.029303671792149544, -0.011489855125546455, 0.008545943535864353, -0.01880834996700287, 0.00006745515565853566, -0.007139711640775204, 0.02057821862399578, -0.03340142220258713, 0.013394680805504322, -0.024535786360502243, -0.06421647220849991, 0.035266242921352386, -0.012131936848163605, -0.008610663004219532, 0.0369681641459465, 0.01966429501771927, 0.010127509944140911, -0.02229568362236023, 0.018050553277134895, 0.05017229542136192, -0.06549283117055893, 0.016062572598457336, 0.016257280483841896, -0.03983665630221367, 0.0010663237189874053, 0.011152932420372963, -0.060120292007923126, -0.03301383927464485, -0.025631077587604523, 0.01885041780769825, -0.03921905532479286, -0.05874243006110191, -0.013962252996861935, 0.005366274155676365, 0.019466979429125786, 0.039078909903764725, -0.003758694976568222, 0.001866044825874269, -0.012192871421575546, -0.0029154387302696705, 0.058248937129974365, -0.03356882929801941, 0.004322340711951256, 0.010310519486665726, -0.022831063717603683, 0.006810065358877182, -0.009991285391151905, 0.023620251566171646, 0.002598369959741831, -0.014323276467621326, 0.0059636542573571205, -0.07857947796583176, 0.010506232269108295, -0.021863380447030067, 0.032762933522462845, 0.016928458586335182, -0.007409847341477871, -0.05132477357983589, 0.004991836380213499, -0.01627730205655098, 0.005484988447278738, -0.007333577144891024, -0.0285910964012146, 0.001293623703531921, 0.01628933474421501, -0.011297956109046936, 0.03877953067421913, -0.011182153597474098, -0.02390037104487419, 0.06137288734316826, -0.02724492736160755, -0.04916888475418091, 0.002484377473592758, -0.06350645422935486, 0.022720782086253166, 0.012899558991193771, 0.01703307218849659, -0.02783215045928955, 0.0490248017013073, 0.05995309352874756, 0.04100721701979637, 0.023028114810585976, -0.0018840840784832835, 0.02939486689865589, -0.01901206560432911, -0.007632116787135601, -0.0899638906121254, 0.007823114283382893, 0.013534221798181534, 0.004694164730608463, -0.0032382081262767315, -0.01818946562707424, -0.025839602574706078, -0.009878333657979965, -0.05923419073224068, -0.022901052609086037, 0.04237961769104004, -0.0039857844822108746, 0.024177663028240204, 0.002854621037840843, -0.04732278361916542, 0.017178473994135857, 0.034603022038936615, -0.02171754278242588, -0.05142878368496895, -0.046495724469423294, 0.06418679654598236, -0.03472699597477913, 0.02884279005229473, -0.011971535161137581, -0.018713517114520073, 0.06443531066179276, 0.030415166169404984, 0.015287279151380062, 0.046514347195625305, -0.024264656007289886, 0.02679179050028324, 0.04340231418609619, 0.009712056256830692, -0.008075971156358719, 0.044462651014328, -0.003419833490625024, -0.05204080790281296, 0.058761969208717346, 0.012175025418400764, -0.010480228811502457, -0.03945201635360718, 0.0648881122469902, 0.016370287165045738, -0.03185976669192314, -0.042211323976516724, 0.037717677652835846, -0.007475122809410095, -0.006969210226088762, -0.04848287254571915, 0.013173342682421207, -0.042978476732969284, 0.04365784302353859, -0.03196952864527702, 0.012613845989108086, 0.06118573993444443, -0.006648240610957146, -0.008809875696897507, -0.01757039688527584, 0.09162032604217529, 0.08766783773899078, 0.04838087409734726, 0.026160363107919693, 0.07496249675750732, 0.0017385814571753144, -0.028151143342256546, -0.011317615397274494, -0.021218575537204742, -0.0058922856114804745, 0.012030135840177536, -0.007227491121739149, 0.06577111035585403, -0.03807426616549492, 0.059653133153915405, -0.011800074949860573, -0.014971235767006874, -0.001627243123948574, -0.003952022176235914, 0.0227876678109169, 0.08311634510755539, 0.024301733821630478, 0.039982836693525314, -0.03581622987985611, -0.031276632100343704, 0.013981378637254238, -0.030477644875645638, -0.02438943088054657, 0.04163796827197075, -0.007642644923180342, -0.008733902126550674, 0.004949603695422411, 0.044619008898735046, 0.10077327489852905, -0.032255351543426514, -0.007636672351509333, -0.018789155408740044, 0.01728210225701332, -0.009023008868098259, 0.0002084133739117533, -0.000769791950006038, -0.02609403058886528, -0.016035081818699837, -0.029891246929764748, -0.03448515385389328, -0.02673712745308876, -0.021330969408154488, 0.015068234875798225, -0.021499617025256157, -0.014856206253170967, 0.003774758195504546, -0.005263927858322859, -0.024001386016607285, -0.04807596653699875, -0.023311583325266838, -0.06799066066741943, -0.058623332530260086, 0.006623999215662479, 0.005995138082653284, -0.011526642367243767, -0.029190365225076675, -0.005057890433818102, -0.005490858107805252, -0.024383047595620155, 0.06591688841581345, -0.05587461218237877, 0.006164091639220715, 0.020675314590334892, 0.027370916679501534, 0.01999235898256302, 0.025494227185845375, 0.05173002555966377, 0.0022914367727935314, 0.010094327852129936, -0.025751180946826935, 0.01298548560589552, 0.039929427206516266, 0.016365380957722664, 0.005272715352475643, -0.07553106546401978, -0.026152318343520164, 0.019117770716547966, -0.014460372738540173, -0.08711520582437515, 0.007825554348528385, 0.0501541867852211, -0.011721928603947163, 0.037711504846811295, 0.005222530569881201, -0.02477194555103779, -0.013808120973408222, 0.02440267987549305, 0.006722382269799709, -0.031718961894512177, 0.0404009185731411, -0.04271893575787544, 0.07416373491287231, 0.04450619965791702, -0.03484860807657242, 0.0007959585054777563, -0.012741207145154476, 0.001409906311891973, -0.009986918419599533, -0.05170341208577156, -0.03832215815782547, -0.0322982519865036, -0.10951904952526093, -0.05336799472570419, 0.016507459804415703, -0.026084458455443382, -0.02724047191441059, 0.004851504694670439, 0.04014458879828453, -0.026225268840789795, 0.035416483879089355, -0.054409950971603394, 0.029150711372494698, -0.020674442872405052, -0.022762924432754517, -0.02067379094660282, 0.012998713180422783, -0.016007769852876663, 0.011172488331794739, 0.013307745568454266, -0.057045646011829376, 0.012630628421902657, -0.03947468101978302, 0.030774815008044243, 0.007246033288538456, 0.03900841996073723, 0.024107199162244797 ]
[ -0.03076173923909664, 0.011462484486401081, -0.041529130190610886, -0.018717128783464432, 0.025671595707535744, -0.03535735607147217, -0.01805332861840725, 0.002965534571558237, 0.015462752431631088, -0.03236024081707001, 0.017971431836485863, -0.02709415927529335, 0.04792342334985733, -0.0033839589450508356, 0.0722092017531395, 0.01450843084603548, -0.04924851283431053, -0.017708394676446915, -0.058344766497612, 0.045269206166267395, 0.012068632058799267, -0.0681566447019577, -0.012143155559897423, -0.030154891312122345, 0.016273802146315575, 0.04607931524515152, 0.050773151218891144, -0.03260909765958786, -0.007975094020366669, -0.1897294819355011, 0.008211118169128895, 0.03990880027413368, 0.009998928755521774, 0.0053650313057005405, 0.015221280045807362, 0.0284441988915205, 0.018939964473247528, -0.03861111029982567, 0.004797319881618023, -0.01366253662854433, -0.028042996302247047, -0.00494293263182044, -0.0038517836946994066, -0.02327425219118595, 0.01538897305727005, 0.018570683896541595, -0.011998959816992283, -0.021529631689190865, -0.06338915228843689, -0.03601262345910072, -0.008963214233517647, -0.02047269232571125, -0.004560426808893681, -0.013337111100554466, 0.026157379150390625, 0.08700118213891983, 0.039069533348083496, 0.04512134566903114, 0.0207604318857193, 0.04718833416700363, 0.03785927593708038, 0.014006325043737888, -0.10791368037462234, 0.06800170987844467, 0.0008211637032218277, 0.006861741188913584, -0.06558558344841003, -0.009680037386715412, -0.03331953287124634, 0.10730717331171036, 0.0647352933883667, -0.0052178362384438515, -0.06858458369970322, 0.04372553154826164, 0.020514536648988724, 0.03176136687397957, -0.01513367798179388, 0.03746842220425606, 0.034879788756370544, -0.0441521517932415, -0.026286082342267036, 0.02293252944946289, -0.059160154312849045, 0.01436607725918293, -0.06129154935479164, 0.02694780007004738, -0.012860584072768688, -0.0028705699369311333, -0.03036641702055931, 0.03976472467184067, -0.007079510483890772, -0.03264423832297325, 0.038110118359327316, -0.004740824922919273, -0.08599565178155899, -0.006242646370083094, 0.027954403311014175, -0.0044235289096832275, -0.020179860293865204, 0.37142467498779297, -0.011588722467422485, -0.016121404245495796, 0.04849902540445328, 0.05809619277715683, -0.028668155893683434, -0.016266586259007454, 0.022348392754793167, -0.07766447216272354, 0.04780944809317589, -0.001049139304086566, 0.012210516259074211, -0.03978031128644943, -0.015208626165986061, -0.10323430597782135, 0.014033813029527664, 0.020447520539164543, 0.046823449432849884, 0.044348642230033875, -0.014218236319720745, -0.0231957845389843, -0.022275865077972412, 0.02462116628885269, 0.016500195488333702, 0.046802349388599396, -0.010589963756501675, -0.00521055469289422, -0.017182935029268265, 0.0330226793885231, 0.04994490370154381, -0.010692790150642395, 0.06911655515432358, 0.001544178114272654, -0.027842607349157333, 0.04133914038538933, -0.02408559061586857, 0.00029115501092746854, 0.01856166496872902, -0.0342036671936512, -0.012423913925886154, 0.058651458472013474, 0.0028971463907510042, -0.027400633320212364, 0.026874830946326256, 0.0025903547648340464, -0.03726339712738991, 0.15970687568187714, -0.004726842511445284, -0.021098563447594643, -0.05344429984688759, 0.010712808929383755, -0.0207638181746006, 0.03054901771247387, 0.010977322235703468, -0.061074744910001755, -0.013544986955821514, 0.016438638791441917, 0.04605836421251297, -0.012844189070165157, -0.10561973601579666, 0.042533814907073975, 0.0219573937356472, -0.0117191718891263, -0.06682571768760681, 0.08887431025505066, 0.06033357232809067, -0.15018795430660248, -0.007525451481342316, 0.021060043945908546, 0.008258727379143238, -0.06753278523683548, 0.014526274055242538, 0.012377536855638027, -0.019040130078792572, -0.019647134467959404, 0.06836305558681488, 0.004165937192738056, -0.03686956316232681, -0.023924559354782104, -0.007546209264546633, 0.015565106645226479, -0.008453396148979664, 0.00936995167285204, -0.005807720124721527, 0.010915517807006836, -0.07909642904996872, -0.050269078463315964, -0.06501028686761856, 0.020067201927304268, -0.04451858624815941, -0.026582784950733185, -0.012552383355796337, 0.011010478250682354, -0.04248984530568123, 0.09455917030572891, -0.017451990395784378, -0.031396619975566864, 0.0026268339715898037, -0.012790380977094173, -0.07239403575658798, -0.015372609719634056, -0.0093074357137084, 0.04651671648025513, -0.014743663370609283, 0.009601695463061333, -0.08952917158603668, 0.027055343613028526, 0.06192361190915108, -0.03475923463702202, 0.04951959475874901, 0.026440497487783432, -0.05321669206023216, -0.006061291787773371, -0.04996136575937271, 0.007170265074819326, -0.01668427139520645, -0.006436927244067192, -0.0074669551104307175, 0.01583949476480484, 0.00786628294736147, 0.07104376703500748, -0.02907491847872734, 0.019209090620279312, 0.024208050221204758, -0.3627014458179474, -0.04454959183931351, -0.02878151834011078, -0.004848880227655172, 0.023038016632199287, -0.04436490684747696, 0.01478584110736847, 0.00007679228292545304, -0.02170102670788765, 0.050633545964956284, 0.08137810975313187, 0.008531434461474419, -0.017191758379340172, -0.04851911589503288, 0.005591295193880796, 0.0669105127453804, 0.01422103401273489, 0.009130979888141155, -0.02568032778799534, 0.02616916224360466, -0.015876084566116333, -0.03127441182732582, 0.017055019736289978, -0.027599385008215904, 0.02217375859618187, 0.02838226966559887, 0.1218281090259552, -0.021410826593637466, -0.0008115569944493473, -0.040450602769851685, 0.01961098052561283, 0.012399447150528431, -0.022367030382156372, -0.06932631880044937, 0.017300209030508995, -0.02267359383404255, 0.04304598271846771, -0.025077708065509796, 0.012044024653732777, -0.03622458875179291, -0.05835599824786186, -0.04857354983687401, -0.009078329429030418, -0.04200684279203415, -0.013508464209735394, 0.02317177504301071, -0.04593038558959961, -0.020387066528201103, 0.0013690986670553684, 0.0777667760848999, -0.013350490480661392, 0.025096865370869637, 0.011083297431468964, 0.039000511169433594, -0.01587376371026039, -0.01839892752468586, -0.06705283373594284, -0.007237027864903212, -0.00183805578853935, 0.0176798477768898, 0.006703229621052742, 0.06411513686180115, 0.007708311080932617, -0.06477566808462143, 0.04034602269530296, -0.01603623479604721, 0.001539489603601396, 0.007930273190140724, 0.03881525620818138, 0.0021102845203131437, -0.0023207569029182196, 0.11501333117485046, 0.018889250233769417, 0.010373800061643124, 0.05043598264455795, 0.019038010388612747, -0.020176401361823082, 0.011872725561261177, 0.0013831949327141047, -0.0024534249678254128, 0.024681080132722855, -0.07452759891748428, 0.07113246619701385, -0.014073907397687435, -0.0022250874899327755, 0.01800055429339409, 0.032438717782497406, -0.06290042400360107, 0.08299359679222107, -0.00031370800570584834, -0.04008971527218819, 0.009264371357858181, -0.043286923319101334, -0.05388220027089119, 0.0865374282002449, -0.038148604333400726, -0.27118608355522156, 0.04141182824969292, 0.01446111686527729, 0.06335647404193878, -0.021293731406331062, -0.0002026906586252153, 0.032087791711091995, -0.041439298540353775, -0.013012970797717571, -0.009830191731452942, 0.02349255606532097, 0.05251500383019447, 0.01805865950882435, 0.006092587020248175, 0.01687018573284149, 0.01127674337476492, 0.052400801330804825, 0.019280798733234406, 0.03119979240000248, 0.0017815124010667205, 0.0633421242237091, -0.044480644166469574, 0.19697313010692596, 0.05128275975584984, 0.025400977581739426, 0.030123213306069374, -0.045212361961603165, -0.014927678741514683, 0.012886999174952507, -0.009393168613314629, -0.037406180053949356, 0.05585048347711563, 0.027262352406978607, 0.014484214596450329, 0.0365089513361454, -0.03625241294503212, 0.008068307302892208, 0.037828296422958374, 0.03692859038710594, -0.03734685108065605, -0.03727675974369049, 0.0011531938798725605, -0.014853601343929768, 0.005325263366103172, 0.08415569365024567, -0.002647465094923973, -0.009821241721510887, 0.02621474303305149, -0.05176037177443504, -0.014021546579897404, -0.03254692628979683, -0.05058929696679115, -0.010443303734064102, 0.01885189488530159, 0.0031874808482825756, 0.030444227159023285, -0.00520339235663414, -0.029748396947979927, 0.004882707726210356, 0.01677720807492733, -0.014021915383636951, -0.008344801142811775, 0.08238576352596283, 0.0008399439975619316, 0.010862584225833416 ]
[ -0.01979200914502144, 0.0461510494351387, -0.001084221643395722, 0.04703117534518242, -0.026439258828759193, 0.00871286727488041, -0.031934577971696854, -0.020050007849931717, -0.0030732047744095325, -0.026611436158418655, -0.024867894127964973, 0.014754085801541805, 0.04408504441380501, 0.03843303024768829, 0.03586587309837341, 0.010178659111261368, -0.022552313283085823, 0.011031956411898136, 0.013078617863357067, -0.03070664033293724, -0.03603062778711319, -0.03234167769551277, 0.02352236770093441, -0.044633615761995316, 0.01491517387330532, -0.010937929153442383, -0.0048293787986040115, -0.02164474129676819, 0.01869991235435009, -0.09296468645334244, -0.02255408652126789, -0.023488830775022507, -0.033712245523929596, 0.016207532957196236, -0.012919379398226738, 0.01634293608367443, 0.03564395010471344, 0.02073650434613228, 0.0057130479253828526, 0.009481008164584637, 0.012988925911486149, 0.0033053404185920954, -0.010875030420720577, -0.01668355241417885, 0.016177702695131302, 0.014183645136654377, -0.038573406636714935, -0.021437929943203926, 0.012068233452737331, -0.014188169501721859, -0.06393542885780334, -0.03783320263028145, -0.009841861203312874, 0.010451236739754677, 0.03844866529107094, 0.022410063073039055, -0.029304949566721916, -0.022376520559191704, 0.011538361199200153, 0.008063777349889278, 0.054455142468214035, -0.02030770480632782, -0.07679548859596252, -0.03315484896302223, -0.01226841937750578, 0.015251603908836842, -0.02556556463241577, 0.021685292944312096, -0.024112986400723457, 0.03099413961172104, -0.03601954132318497, 0.028286941349506378, -0.08734596520662308, -0.04009464383125305, -0.022023439407348633, 0.037793826311826706, 0.04795213043689728, -0.015144155360758305, 0.0027952087111771107, -0.032806798815727234, 0.001495824777521193, 0.00422114972025156, -0.03144839406013489, 0.01947859302163124, -0.04291120171546936, 0.024025537073612213, -0.00978310126811266, -0.028765968978405, 0.021208444610238075, 0.012986992485821247, -0.05712244659662247, 0.006047285161912441, -0.002556301187723875, -0.0032289233058691025, -0.07637196779251099, -0.005958895664662123, 0.007490312214940786, -0.008963117375969887, 0.005701797548681498, 0.7801042199134827, 0.0070770420134067535, -0.01480914931744337, 0.012593486346304417, -0.002124846214428544, 0.0026965714059770107, 0.04501045495271683, 0.010017627850174904, 0.015946688130497932, 0.0013566205743700266, 0.03266310319304466, -0.013365194201469421, 0.009300151839852333, -0.014456149190664291, 0.02150079980492592, -0.014912211336195469, 0.004690022207796574, 0.02271720953285694, -0.013529634103178978, -0.0036041035782545805, 0.004194475710391998, -0.003165103727951646, 0.019971607252955437, -0.020406529307365417, -0.039117176085710526, -0.01077557634562254, -0.20420357584953308, -0.028858846053481102, -7.014196831875667e-33, 0.09296911954879761, 0.028333477675914764, 0.06922540068626404, 0.011409314349293709, -0.007313649635761976, 0.046436816453933716, -0.007031617220491171, -0.013582190498709679, -0.03996390476822853, -0.02340593747794628, -0.016662107780575752, 0.01873236894607544, 0.015530270524322987, 0.011895417235791683, -0.0089169442653656, -0.03138899803161621, 0.017154641449451447, 0.0077648158185184, -0.012625903822481632, 0.016841130331158638, 0.00982098188251257, 0.04733447730541229, -0.06764093041419983, 0.05079389736056328, -0.0015206305542960763, 0.018093515187501907, -0.02129143290221691, 0.021272679790854454, -0.005021552089601755, -0.040417127311229706, -0.04460378736257553, 0.037461813539266586, 0.0006136900628916919, -0.043793532997369766, -0.007292880676686764, -0.046363357454538345, -0.04831351712346077, -0.010163616389036179, -0.02186671271920204, -0.06677456945180893, -0.019742410629987717, -0.0005994515959173441, 0.0029397124890238047, -0.032027021050453186, -0.05549617484211922, 0.005818643607199192, 0.0036564022302627563, -0.008823525160551071, 0.003151194890961051, 0.01942010410130024, -0.00035742277395911515, 0.03999160975217819, -0.01723375730216503, 0.05977969989180565, -0.029824422672390938, -0.030914533883333206, 0.0024448561016470194, 0.013415491208434105, -0.02423890493810177, 0.004747190047055483, 0.04993578419089317, -0.020970746874809265, -0.0097332913428545, 0.044197890907526016, 0.031548723578453064, 0.05312582105398178, -0.010246574878692627, 0.00859562773257494, 0.006285009440034628, 0.03053625300526619, -0.06876441091299057, 0.07126937806606293, -0.02425985224545002, -0.032974034547805786, 0.02358534373342991, -0.05235574021935463, -0.008396444842219353, -0.01788611151278019, 0.009949221275746822, 0.055596835911273956, -0.06898028403520584, -0.014237268827855587, 0.046081140637397766, -0.003988820128142834, -0.02068270370364189, -0.04194553568959236, 0.034817714244127274, 0.03318610042333603, 0.01998158171772957, 0.05186028778553009, 0.04329800233244896, 0.05154754966497421, -0.02931858040392399, 0.016480939462780952, 0.02563975751399994, 6.392884884644732e-33, -0.005303092300891876, 0.018484707921743393, -0.020284660160541534, -0.007483283057808876, 0.04506964609026909, -0.011149452067911625, 0.02196127362549305, -0.016654977574944496, -0.036063361912965775, 0.055715397000312805, -0.005836873780936003, -0.043698351830244064, 0.004214596003293991, 0.019133958965539932, 0.08089753985404968, -0.0018866690807044506, 0.0009841886349022388, -0.0694548487663269, -0.008677695877850056, 0.021097416058182716, 0.00934681948274374, 0.015160518698394299, 0.007733134087175131, 0.0336960069835186, 0.06001695990562439, 0.029747646301984787, -0.0011931139742955565, 0.0007439444307237864, -0.02009749412536621, -0.010835337452590466, -0.027286505326628685, -0.04986993968486786, -0.017043275758624077, -0.04764260724186897, 0.038623616099357605, 0.003738176543265581, -0.041381385177373886, -0.010138416662812233, 0.054707739502191544, -0.03880668058991432, 0.018208101391792297, 0.013030526228249073, -0.028587905690073967, 0.09147488325834274, -0.00040727085433900356, 0.009018794633448124, 0.01634768210351467, -0.03018307499587536, 0.016941502690315247, 0.016705121845006943, 0.031914133578538895, 0.017370348796248436, -0.016195911914110184, -0.005348574370145798, 0.010443444363772869, -0.08335811644792557, 0.02953113429248333, 0.04800928756594658, -0.004135091323405504, 0.03619775548577309, -0.005720043089240789, -0.015205619856715202, -0.004534198436886072, 0.04139419272542, -0.025129025802016258, -0.021983781829476357, -0.0005985901225358248, 0.009238200262188911, 0.016437377780675888, 0.0039171865209937096, -0.0038295029662549496, 0.018969424068927765, -0.0042253597639501095, 0.024497555568814278, 0.05278407409787178, -0.04879987612366676, -0.010245508514344692, -0.01725917123258114, -0.0064612324349582195, 0.00788869895040989, -0.0060394261963665485, 0.04346900433301926, 0.036380887031555176, 0.029284829273819923, -0.009679469279944897, 0.028408769518136978, -0.01758190430700779, 0.042296264320611954, -0.025584090501070023, 0.004302992485463619, 0.019863992929458618, -0.04546085745096207, -0.030740568414330482, 0.04239210486412048, -0.04122203588485718, -1.2404484550643247e-8, -0.05916307121515274, 0.020585263147950172, -0.01847905106842518, -0.020829567685723305, -0.023808440193533897, 0.021886415779590607, 0.04018116742372513, 0.0206137727946043, -0.004324399400502443, 0.0014318159082904458, 0.004188992083072662, -0.019615525379776955, 0.01080038957297802, 0.016427461057901382, 0.020204417407512665, -0.050950657576322556, 0.005518549121916294, -0.02520683780312538, 0.019382137805223465, 0.04947177693247795, -0.011391714215278625, 0.023929143324494362, -0.04458621144294739, 0.026421453803777695, -0.006323219742625952, -0.012096787802875042, 0.024919595569372177, -0.05367323011159897, 0.015372066758573055, -0.0022444368805736303, 0.029737794771790504, -0.027142848819494247, -0.014658357948064804, 0.006296031177043915, -0.036342211067676544, -0.004132090602070093, 0.02476070076227188, 0.04083678126335144, -0.00046402026782743633, 0.04752861335873604, -0.013393460772931576, 0.03631050884723663, -0.025737760588526726, -0.013907571323215961, -0.03340129554271698, -0.005821805447340012, -0.027071544900536537, -0.021854085847735405, 0.013874520547688007, -0.04265270754694939, -0.03383966162800789, -0.0023201436270028353, 0.010911072604358196, 0.011047504842281342, 0.009658090770244598, -0.006341632455587387, 0.010678096674382687, -0.0495973564684391, 0.004098421428352594, -0.022252434864640236, 0.05043964833021164, -0.026467198505997658, -0.015647420659661293, -0.002847706200554967 ]
neo4j-making-implicit-relationships-explicit-bidirectional-relationships
https://markhneedham.com/blog/2013/10/25/neo4j-making-implicit-relationships-explicit-bidirectional-relationships
false
2013-07-27 09:30:26
neo4j/cypher: Getting the hang of query parameters
[ "neo4j", "cypher" ]
[ "neo4j" ]
For as long as I've been using http://www.neo4j.org/[neo4j]'s http://www.neo4j.org/learn/cypher[cypher] query language https://twitter.com/mesirii[Michael] has been telling me to use parameters in my queries but the performance of the queries was always acceptable so I didn't feel the need. However, recently I was playing around with a data set and I created ~500 nodes using code similar to this: [source,ruby] ---- require 'open-uri' open("data/people.cyp", 'w') { |f| (1..500).each do |value| f.puts("CREATE (p:Person{name: \"#{value}\"})") end } ---- That creates a file of cypher statements that look like this: [source,cypher] ---- CREATE (:Person{name: "person1"}) CREATE (:Person{name: "person2"}) CREATE (:Person{name: "person3"}) CREATE (:Person{name: "person4"}) CREATE (:Person{name: "person5"}) ... ---- If we execute those statements in the neo4j-shell or web admin we get the following output: [source,bash] ---- ==> +-------------------+ ==> | No data returned. | ==> +-------------------+ ==> Nodes created: 500 ==> Properties set: 500 ==> Labels added: 500 ==> 27706 ms ---- As far as I understand the reason it takes that long is that cypher creates and then caches a query plan for each create statement because it has no way of knowing that they are effectively the same. Since I was deleting/reloading the data quite frequently I wanted to make my feedback loop a bit quicker so it was finally time to apply Michael's advice. The way that parameters work is that you add placeholders into your cypher queries and then provide values that should reify those placeholders when you execute your query. In this case it seemed easiest to make use of https://github.com/maxdemarzi/neography[neography] to execute my query against a running neo4j server. If we want to create a single person with a parameterised name then we'd write the following code: [source,ruby] ---- require 'neography' params = { :name => "Mark" } Neography::Rest.new.execute_query("CREATE (:Person {name: {name} })", params) ---- If we run a query to get back all people we can see they've been successfully created: [source,bash] ---- neo4j-sh (0)$ match p:Person return p; ==> +----------------------+ ==> | p | ==> +----------------------+ ==> | Node[1]{name:"Mark"} | ==> +----------------------+ ==> 1 row ==> 175 ms ---- I wanted to pass in an array of names which I initially thought I could do but changing the value in the +++<cite>+++params+++</cite>+++ hash to an array: [source,ruby] ---- require 'neography' params = { :name => [] } (1..500).each do |value| params[:name] << "person#{value}" end Neography::Rest.new.execute_query("CREATE (:Person {name: {name} })", params) ---- I ran a query to get back my 500 people but only got one back: [source,bash] ---- neo4j-sh (0)$ MATCH p:Person RETURN p > ; ==> +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ==> | p | ==> +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ==> | Node[1]{name:["person1","person2","person3","person4","person5","person6","person7","person8","person9","person10","person11","person12","person13","person14","person15","person16","person17","person18","person19","person20","person21","person22","person23","person24","person25","person26","person27","person28","person29","person30","person31","person32","person33","person34","person35","person36","person37","person38","person39","person40","person41","person42","person43","person44","person45","person46","person47","person48","person49","person50","person51","person52","person53","person54","person55","person56","person57","person58","person59","person60","person61","person62","person63","person64","person65","person66","person67","person68","person69","person70","person71","person72","person73","person74","person75","person76","person77","person78","person79","person80","person81","person82","person83","person84","person85","person86","person87","person88","person89","person90","person91","person92","person93","person94","person95","person96","person97","person98","person99","person100","person101","person102","person103","person104","person105","person106","person107","person108","person109","person110","person111","person112","person113","person114","person115","person116","person117","person118","person119","person120","person121","person122","person123","person124","person125","person126","person127","person128","person129","person130","person131","person132","person133","person134","person135","person136","person137","person138","person139","person140","person141","person142","person143","person144","person145","person146","person147","person148","person149","person150","person151","person152","person153","person154","person155","person156","person157","person158","person159","person160","person161","person162","person163","person164","person165","person166","person167","person168","person169","person170","person171","person172","person173","person174","person175","person176","person177","person178","person179","person180","person181","person182","person183","person184","person185","person186","person187","person188","person189","person190","person191","person192","person193","person194","person195","person196","person197","person198","person199","person200","person201","person202","person203","person204","person205","person206","person207","person208","person209","person210","person211","person212","person213","person214","person215","person216","person217","person218","person219","person220","person221","person222","person223","person224","person225","person226","person227","person228","person229","person230","person231","person232","person233","person234","person235","person236","person237","person238","person239","person240","person241","person242","person243","person244","person245","person246","person247","person248","person249","person250","person251","person252","person253","person254","person255","person256","person257","person258","person259","person260","person261","person262","person263","person264","person265","person266","person267","person268","person269","person270","person271","person272","person273","person274","person275","person276","person277","person278","person279","person280","person281","person282","person283","person284","person285","person286","person287","person288","person289","person290","person291","person292","person293","person294","person295","person296","person297","person298","person299","person300","person301","person302","person303","person304","person305","person306","person307","person308","person309","person310","person311","person312","person313","person314","person315","person316","person317","person318","person319","person320","person321","person322","person323","person324","person325","person326","person327","person328","person329","person330","person331","person332","person333","person334","person335","person336","person337","person338","person339","person340","person341","person342","person343","person344","person345","person346","person347","person348","person349","person350","person351","person352","person353","person354","person355","person356","person357","person358","person359","person360","person361","person362","person363","person364","person365","person366","person367","person368","person369","person370","person371","person372","person373","person374","person375","person376","person377","person378","person379","person380","person381","person382","person383","person384","person385","person386","person387","person388","person389","person390","person391","person392","person393","person394","person395","person396","person397","person398","person399","person400","person401","person402","person403","person404","person405","person406","person407","person408","person409","person410","person411","person412","person413","person414","person415","person416","person417","person418","person419","person420","person421","person422","person423","person424","person425","person426","person427","person428","person429","person430","person431","person432","person433","person434","person435","person436","person437","person438","person439","person440","person441","person442","person443","person444","person445","person446","person447","person448","person449","person450","person451","person452","person453","person454","person455","person456","person457","person458","person459","person460","person461","person462","person463","person464","person465","person466","person467","person468","person469","person470","person471","person472","person473","person474","person475","person476","person477","person478","person479","person480","person481","person482","person483","person484","person485","person486","person487","person488","person489","person490","person491","person492","person493","person494","person495","person496","person497","person498","person499","person500"]} | ==> +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ==> 1 row ---- I'd actually made use of parameters in such a way that only one person got created and had their 'name' property set to an array of 500 names! I tweaked the code to pass in http://docs.neo4j.org/chunked/snapshot/query-create.html#create-create-multiple-nodes-from-map[an array of maps] instead of strings like so: [source,ruby] ---- require 'neography' params = { :people \=> [] } (1..500).each do |value| params[:people] << { :name \=> "person#\{value}"} end Neography::Rest.new.execute_query("CREATE (:Person \{people})", params) ---- I ran my script to populate the database before querying it again: [source, text] ---- neo4j-sh (0)$ MATCH p:Person RETURN p; =\=> +-----------------------------+ =\=> | p | =\=> +-----------------------------+ =\=> | Node[1]{name:"person1"} | =\=> | Node[2]{name:"person2"} | =\=> | Node[3]{name:"person3"} | =\=> | Node[4]{name:"person4"} | =\=> | Node[5]{name:"person5"} | =\=> | Node[6]{name:"person6"} | =\=> | Node[7]{name:"person7"} | =\=> | Node[8]{name:"person8"} | =\=> | Node[9]{name:"person9"} | =\=> | Node[10]{name:"person10"} | =\=> | Node[11]{name:"person11"} | \... =\=> +-----------------------------+ =\=> 500 rows =\=> 1081 ms ---- This time I got the expected result so the only thing to do was to quickly check how long it had taken to get the parameterised data into the database: [source, bash] ---- $ time bundle exec ruby people.rb real 0m0.993s user 0m0.733s sys 0m0.097s ---- And the winner is...Michael, by about 26 seconds per run. In this version cypher creates a query plan the first time it encounters the CREATE statement but after that it can use the query plan for the subsequent calls which leads to a massive performance improvement. http://www.apcjones.com/blog/[Alistair] pointed out that the query parameter approach is quite nice when used in applications because you don't need to worry about string concatenation, you can just change values in maps instead. Based on this experience I can now confirm https://twitter.com/maxdemarzi[Max De Marzi]'s tweet from last week: ____ Public Service Announcement for folks new to @https://twitter.com/neo4j[neo4j] and Cypher: Please use parameters in your queries http://docs.neo4j.org/chunked/milestone/cypher-parameters.html #MuchFaster ____
null
null
[ 0.021825691685080528, -0.005802335683256388, -0.013916073366999626, 0.0468125082552433, 0.08695907890796661, 0.0027046557515859604, 0.035234540700912476, 0.017120487987995148, 0.017411498352885246, -0.04354604706168175, -0.027210813015699387, -0.006210929714143276, -0.08898074179887772, 0.00848233699798584, 0.020557858049869537, 0.0534202940762043, 0.04673702269792557, 0.01832594908773899, 0.03444730117917061, -0.01115438248962164, 0.0036982172168791294, 0.02572976052761078, -0.0046843960881233215, 0.021976538002490997, 0.058556411415338516, 0.013287457637488842, -0.03023814596235752, -0.01537224743515253, -0.0376824252307415, 0.00983384158462286, 0.05511549115180969, -0.011617260053753853, 0.017916638404130936, -0.013166910037398338, 0.019608156755566597, 0.0006201023352332413, -0.05087648332118988, 0.009774947538971901, -0.0072821155190467834, 0.006587280426174402, -0.055258311331272125, 0.022174905985593796, -0.004759589210152626, 0.01578078605234623, -0.03861573711037636, -0.013253916054964066, -0.035714734345674515, 0.04901536926627159, 0.0013357425341382623, 0.028120340779423714, -0.09258653223514557, 0.01543704979121685, -0.01747426763176918, 0.0011210177326574922, 0.009743991307914257, 0.034264326095581055, 0.011948270723223686, -0.08044062554836273, 0.06890466064214706, -0.02523142285645008, 0.021624574437737465, -0.00450586061924696, 0.006185227073729038, 0.027655206620693207, 0.007805348839610815, -0.056779492646455765, 0.004137461539357901, 0.05222150310873985, -0.05700906738638878, 0.006885321345180273, -0.007181188091635704, 0.009236923418939114, -0.014982704073190689, -0.02467028982937336, -0.005053829401731491, -0.02288365364074707, 0.0062569365836679935, 0.049598339945077896, 0.037741582840681076, 0.07195711135864258, -0.03020593337714672, 0.005886439699679613, -0.014714953489601612, 0.03786289319396019, 0.002842472866177559, -0.02748960815370083, -0.025941992178559303, -0.029420915991067886, -0.04623124748468399, 0.02392522431910038, 0.02749418094754219, -0.05598512291908264, -0.001270538428798318, -0.01730911061167717, -0.039069078862667084, 0.007970268838107586, -0.021812615916132927, 0.0018029388738796115, -0.013350749388337135, -0.006249529309570789, -0.03190188109874725, -0.023320237174630165, -0.02589321881532669, 0.0009338034433312714, -0.0731942355632782, -0.004075342323631048, -0.04109648987650871, -0.02655494026839733, 0.010881257243454456, 0.006659428123384714, -0.0579376295208931, -0.0028743059374392033, -0.015434082597494125, 0.011132540181279182, -0.08332675695419312, 0.05560322478413582, 0.03933253139257431, 0.003217394696548581, -0.03581397607922554, 0.015991633757948875, 0.027537506073713303, 0.032503120601177216, 0.013062478974461555, 0.06212909519672394, -0.04337245970964432, 0.047301728278398514, 0.0297384075820446, 0.029544712975621223, -0.012198374606668949, -0.06172299385070801, -0.02275872975587845, 0.053359806537628174, 0.0340200699865818, 0.013006707653403282, -0.02392197772860527, -0.02861001528799534, -0.013211958110332489, 0.010185807943344116, 0.05195431411266327, 0.00429297611117363, 0.011614253744482994, -0.05483443662524223, 0.031628817319869995, 0.000558067811653018, 0.036760177463293076, 0.029600534588098526, -0.012729580514132977, -0.05376146361231804, -0.020496120676398277, 0.020178981125354767, 0.030027704313397408, 0.048175033181905746, 0.05276079848408699, -0.027353687211871147, 0.017013350501656532, 0.12919598817825317, 0.022803857922554016, -0.011527759954333305, -0.004944487940520048, 0.0011791804572567344, 0.036625638604164124, 0.021978385746479034, -0.006603247951716185, 0.0654553472995758, 0.025347566232085228, -0.016420306637883186, 0.008946784771978855, 0.04868120700120926, -0.012747365981340408, -0.009995690546929836, -0.03304698318243027, -0.01772380620241165, 0.0525289885699749, -0.05864652991294861, -0.018433770164847374, 0.041077274829149246, 0.046751830726861954, 0.010366714559495449, 0.021708406507968903, -0.009860812686383724, -0.06758832931518555, 0.05640577897429466, -0.02254694700241089, 0.006562391761690378, 0.012650568038225174, -0.001888130558654666, 0.09466239809989929, 0.025093846023082733, -0.014409425668418407, 0.024702750146389008, -0.07808122783899307, -0.06606116890907288, 0.0017644943436607718, 0.0007315999828279018, 0.06263958662748337, -0.02754613570868969, 0.015107865445315838, 0.05444982647895813, 0.022451091557741165, 0.02268415503203869, 0.00980906467884779, -0.013836824335157871, 0.0379209890961647, -0.05674019455909729, -0.05402081832289696, 0.03385280445218086, 0.04321255907416344, -0.08282355964183807, -0.030058925971388817, 0.033999036997556686, -0.014781584963202477, 0.0019579478539526463, 0.01679857261478901, 0.0026983479037880898, 0.016773074865341187, 0.02751578390598297, 0.005307035055011511, -0.007846641354262829, 0.01489699725061655, -0.023279288783669472, 0.03539581224322319, 0.03254498541355133, -0.011430183425545692, -0.0044524455443024635, -0.02419682778418064, 0.10070719569921494, 0.04643285274505615, -0.02833871729671955, -0.06620636582374573, 0.01458017062395811, 0.012538698501884937, -0.02704797498881817, 0.03041849099099636, -0.0024173392448574305, -0.0022695998195558786, -0.00011346318933647126, -0.03419574350118637, -0.0021913081873208284, 0.007334132678806782, -0.017290880903601646, 0.01243534404784441, 0.056694887578487396, -0.011258021928369999, 0.04885024204850197, 0.012235987931489944, 0.006993122864514589, -0.004136527422815561, -0.03853217884898186, -0.048927195370197296, 0.040614884346723557, 0.017645303159952164, 0.008471449837088585, 0.061901841312646866, -0.021600600332021713, 0.014293326996266842, -0.041837893426418304, -0.013069705106317997, 0.04250591993331909, 0.01872970350086689, 0.04730870947241783, -0.02501269057393074, 0.06065606325864792, -0.021400991827249527, 0.026888741180300713, -0.004443202167749405, -0.071385458111763, -0.040601588785648346, -0.008476748131215572, 0.019795306026935577, 0.02805992029607296, 0.02407998964190483, -0.019542958587408066, 0.02960379607975483, -0.01722574792802334, -0.0033717365004122257, 0.000032192416256293654, 0.014068600721657276, -0.006674964912235737, -0.0070268926210701466, -0.03604120761156082, -0.030494818463921547, 0.03591439127922058, -0.06170511245727539, -0.04470350220799446, -0.02937442623078823, -0.030548082664608955, 0.04372459277510643, -0.07885649055242538, -0.053429681807756424, -0.0004423579084686935, 0.04077113792300224, 0.059612635523080826, -0.0029559326358139515, 0.016909947618842125, 0.11649297177791595, 0.019257085397839546, 0.007438202388584614, 0.008879792876541615, -0.0010355055565014482, 0.0670895203948021, -0.004036971367895603, 0.04353409260511398, 0.029335256665945053, -0.035685308277606964, -0.01321588084101677, -0.021495720371603966, -0.018280303105711937, -0.0008202138124033809, -0.26611366868019104, 0.06346649676561356, -0.05528873950242996, -0.056710097938776016, 0.020833922550082207, -0.054868027567863464, 0.020743684843182564, -0.013385534286499023, -0.033875659108161926, 0.02294408157467842, 0.00039853426278568804, -0.006013181060552597, -0.04312359169125557, 0.04723529517650604, 0.005899412091821432, 0.04030575603246689, 0.005989375524222851, -0.04627768695354462, 0.012590942904353142, 0.03204576298594475, 0.015081413090229034, -0.03921327739953995, -0.013148992322385311, 0.0045226081274449825, 0.043682605028152466, 0.04848819598555565, -0.08758674561977386, 0.036422982811927795, -0.04154197871685028, -0.021220872178673744, 0.0006963250925764441, -0.04350963607430458, 0.006432611960917711, 0.019264062866568565, -0.016984853893518448, -0.03073888272047043, 0.022702796384692192, 0.007269346620887518, 0.035622600466012955, 0.020166687667369843, -0.05029639974236488, -0.08273351192474365, -0.03662027791142464, -0.008296579122543335, 0.07339455932378769, 0.003635452361777425, -0.07320387661457062, -0.019925719127058983, -0.00692296726629138, 0.05070450156927109, -0.019729722291231155, -0.07209288328886032, -0.023897068575024605, -0.010586303658783436, -0.019005706533789635, -0.0195925273001194, 0.0035240661818534136, 0.005324218887835741, -0.0669482871890068, -0.01833517663180828, 0.017886850982904434, -0.040085457265377045, 0.02523735910654068, -0.03878878429532051, 0.005944065749645233, -0.04202772676944733, -0.044256627559661865, -0.02764652669429779, 0.046026814728975296, 0.05131389573216438, -0.009250206872820854, 0.05416034162044525, -0.011083055287599564, -0.09902876615524292, -0.03750476613640785, -0.03504742309451103, 0.0005376459448598325, 0.015000109560787678, -0.03672679886221886, 0.04799482598900795, -0.050863783806562424, -0.018137427046895027, 0.007829628884792328, 0.004698035307228565, 0.026532739400863647, -0.0028801995795220137, 0.009946589358150959, -0.029072662815451622, -0.020583100616931915, 0.017041979357600212, 0.06948371976613998, -0.04240800067782402, -0.011651645414531231, 0.0057303118519485, -0.008981692604720592, 0.012451308779418468, 0.027704568579792976, -0.003317974042147398, 0.017062578350305557, 0.03952942416071892, 0.04606242850422859, -0.010882199741899967, 0.005285842809826136, -0.04610641673207283, -0.02820468135178089, -0.014432595111429691, -0.046665504574775696, 0.034589365124702454, 0.007554023526608944, 0.041944824159145355, -0.00416782358661294, -0.00835386011749506, -0.01697426289319992, -0.05500141158699989, -0.037172459065914154, -0.012919538654386997, -0.0012249419232830405, 0.0007215848308987916, 0.037188876420259476, -0.023837987333536148, -0.05420948565006256, 0.02440190687775612, 0.052491866052150726, -0.004767772275954485, -0.0497063472867012, -0.045877762138843536, -0.015997182577848434, -0.0371057353913784, 0.0044938186183571815, 0.0275688786059618, -0.028704969212412834, 0.0346769280731678, -0.0063165463507175446, -0.015901556238532066, 0.031277742236852646, -0.004107360262423754, -0.0050551691092550755, -0.028035996481776237, -0.004077358171343803, 0.0143821956589818, -0.01751023903489113, 0.01077253557741642, -0.004209687002003193, 0.054946158081293106, 0.038738902658224106, 0.02569790929555893, 0.022221585735678673, 0.008836809545755386, 0.038394514471292496, -0.011938869953155518, -0.0009925002232193947, -0.04988092929124832, 0.0018890217179432511, -0.0706406906247139, -0.03832311928272247, -0.022986816242337227, 0.06507420539855957, -0.05032743141055107, -0.02796865627169609, -0.03727087751030922, 0.018807759508490562, -0.07327061891555786, 0.00939465593546629, 0.005758808460086584, -0.013522122986614704, 0.042362943291664124, -0.02819216065108776, 0.030154969543218613, -0.04663211479783058, -0.02505572699010372, -0.017666472122073174, 0.02201000042259693, -0.04491803050041199, -0.01711117848753929, 0.00030981344752945006, -0.0015915383119136095, 0.012932205572724342, 0.06963908672332764, 0.006966408807784319, 0.024542950093746185, 0.018005533143877983, 0.015142891556024551, 0.01622600480914116, 0.02109537459909916, 0.04970647767186165, 0.025802111253142357, -0.024803929030895233, 0.025192711502313614, -0.03785787150263786, -0.01555563509464264, -0.014645926654338837, -0.019966643303632736, -0.020566703751683235, 0.03034638985991478, -0.013927945867180824, -0.04752896726131439, 0.05672198906540871, 0.031958043575286865, 0.0011582153383642435, 0.06223807483911514, 0.015499603003263474, -0.014483376406133175, -0.01599173992872238, 0.010485641658306122, 0.056431110948324203, -0.028851419687271118, -0.030226606875658035, -0.009301284328103065, -0.02304324135184288, -0.003224307904019952, 0.003970701713114977, -0.04703230783343315, -0.014058692380785942, -0.013277181424200535, -0.002696186536923051, -0.0032085466664284468, -0.04481431841850281, -0.019274596124887466, -0.01690088026225567, -0.026543226093053818, 0.05316515266895294, 0.01969795487821102, 0.029485726729035378, -0.032350342720746994, -0.002380545251071453, 0.058622557669878006, -0.01692255400121212, -0.030616484582424164, -0.001164486282505095, 0.0019416245631873608, 0.023358361795544624, -0.024993544444441795, 0.037452202290296555, 0.01941583678126335, 0.00597933167591691, -0.002046004869043827, -0.038695190101861954, 0.04491680487990379, -0.014714861288666725, 0.028709886595606804, -0.018727006390690804, -0.0007465590024366975, -0.016864867880940437, 0.0036807102151215076, -0.03895208239555359, 0.0003198505437467247, -0.010418757796287537, 0.014384475536644459, 0.006483008619397879, 0.0213333573192358, 0.003349330509081483, 0.034056778997182846, -0.0013727820478379726, -0.04527001455426216, 0.042074210941791534, -0.02467045560479164, -0.0395648330450058, -0.02193186618387699, -0.05529341474175453, 0.014590762555599213, 0.036349017173051834, 0.0014398304047062993, -0.0649268701672554, 0.0698254406452179, 0.034767333418130875, 0.019266270101070404, 0.02715803124010563, -0.015206470154225826, 0.03959239274263382, -0.034346602857112885, -0.036989882588386536, -0.07146984338760376, -0.009959070943295956, 0.07830166816711426, 0.008350408636033535, 0.016566874459385872, -0.04911479726433754, -0.025695297867059708, 0.031764451414346695, -0.02454303950071335, -0.03082207776606083, 0.01791200041770935, -0.0021096940618008375, 0.0052847894839942455, 0.03178922086954117, -0.06569678336381912, -0.02203463390469551, 0.07015333324670792, -0.03585657849907875, -0.03482846915721893, -0.026330383494496346, 0.04761015996336937, -0.02796149253845215, 0.06137462705373764, -0.03176249563694, -0.035186734050512314, 0.07433827966451645, 0.018154814839363098, 0.024332713335752487, 0.06212295591831207, -0.02273041382431984, 0.02640300616621971, 0.025136014446616173, -0.003738097846508026, 0.008372501470148563, 0.04752807319164276, -0.021997053176164627, -0.05004817247390747, 0.006479925010353327, 0.010477717965841293, -0.009643692523241043, -0.03627415746450424, 0.0890391618013382, -0.005584239028394222, -0.06428016722202301, -0.06616513431072235, 0.0452127605676651, -0.023010369390249252, -0.020966678857803345, -0.04953503981232643, 0.005804191343486309, -0.030360395088791847, 0.059736210852861404, 0.008884640410542488, 0.0151445884257555, 0.08578041195869446, -0.0026571964845061302, -0.008206686936318874, -0.0033685616217553616, 0.05719858407974243, 0.09676553308963776, 0.03711038455367088, 0.015292142517864704, 0.05576125532388687, 0.005094610620290041, -0.027692686766386032, -0.023787470534443855, -0.033280301839113235, -0.02145722322165966, 0.01219699252396822, -0.007827112451195717, 0.06198056787252426, -0.02246706187725067, 0.05920526385307312, -0.03265870362520218, -0.013364811427891254, -0.013289234600961208, -0.010690614581108093, 0.03064451552927494, 0.07223083078861237, 0.00024562893668189645, 0.034360308200120926, -0.02834460884332657, -0.040583204478025436, 0.005063930060714483, -0.005892796907573938, -0.02725551649928093, 0.03640242666006088, -0.014950256794691086, -0.02730662003159523, -0.0035227625630795956, 0.03058946505188942, 0.10170518606901169, -0.03572172299027443, -0.020237460732460022, 0.0034827084746211767, 0.006013898644596338, -0.018081150949001312, 0.012343528680503368, -0.006526182871311903, -0.028777124360203743, -0.02388922870159149, -0.045741967856884, -0.05389001592993736, -0.039572153240442276, -0.044571030884981155, 0.007838884368538857, -0.017868295311927795, -0.006244744639843702, -0.019019581377506256, -0.015488467179238796, -0.036287277936935425, -0.051633212715387344, -0.039258670061826706, -0.04292041435837746, -0.03868360444903374, 0.012900903820991516, 0.00965411402285099, 0.006529334466904402, 0.005227671470493078, 0.027493571862578392, -0.012801101431250572, -0.013998358510434628, 0.04558635130524635, -0.013615411706268787, -0.008414648473262787, 0.018759258091449738, -0.0015690561849623919, 0.035928357392549515, 0.0339665487408638, 0.04212478548288345, 0.001763325184583664, 0.024627700448036194, -0.02005034126341343, 0.00928353052586317, 0.03838702291250229, 0.007460338994860649, -0.018824679777026176, -0.07257857173681259, -0.0074320025742053986, -0.000668528547976166, -0.001588568789884448, -0.057647138833999634, -0.0010774706024676561, 0.03673592954874039, 0.03811383619904518, 0.05001702904701233, 0.009410152211785316, 0.0007601762190461159, -0.016430780291557312, 0.007426699157804251, -0.0012747971341013908, -0.014343071728944778, 0.03175545856356621, -0.028563763946294785, 0.06105226278305054, 0.008836138993501663, -0.03634554520249367, -0.025955094024538994, -0.028916826471686363, 0.016003698110580444, 0.006501434836536646, -0.02087688073515892, -0.03516010940074921, -0.0409666933119297, -0.08121119439601898, -0.02627328224480152, 0.006427975837141275, -0.02465219981968403, -0.017673714086413383, -0.00022002073819749057, 0.030871877446770668, -0.04615083336830139, 0.0056939818896353245, -0.03657004237174988, 0.057339753955602646, -0.014948772266507149, -0.044495705515146255, -0.003535397117957473, 0.019480912014842033, -0.047535207122564316, 0.007757485844194889, 0.0230274461209774, -0.027920233085751534, -0.021051419898867607, -0.04314221441745758, 0.058791372925043106, 0.034889258444309235, 0.014897127635776997, 0.02853507176041603 ]
[ -0.04995791241526604, -0.03602536395192146, -0.055073827505111694, -0.0031178456265479326, 0.02939126454293728, -0.02811182476580143, -0.007317123468965292, 0.017884397879242897, 0.028082704171538353, 0.004603788256645203, 0.016180021688342094, -0.00628930889070034, 0.024556217715144157, 0.01585470512509346, 0.07423894852399826, -0.01861267350614071, -0.028548050671815872, -0.08827883750200272, -0.06770782172679901, 0.04518623277544975, -0.0016493131406605244, -0.05036305636167526, -0.01171484962105751, -0.036811165511608124, 0.014861990697681904, 0.016283797100186348, 0.019358422607183456, -0.03474576398730278, -0.005617592483758926, -0.21116437017917633, 0.004271282814443111, 0.027848683297634125, 0.008695250377058983, -0.0024392460472881794, -0.007538533769547939, 0.014377822168171406, 0.058436255902051926, -0.04830588400363922, 0.012120872735977173, 0.05649122968316078, 0.01627483405172825, 0.007899588905274868, -0.043609123677015305, -0.005362633150070906, 0.04425017908215523, 0.017147734761238098, -0.01939900405704975, -0.03183360397815704, -0.028063034638762474, 0.05074488744139671, -0.013267049565911293, -0.020270828157663345, -0.0236017107963562, -0.010078401304781437, 0.028628649190068245, 0.03583467751741409, 0.03741484135389328, 0.09205526113510132, 0.031062372028827667, 0.02471163310110569, 0.022207362577319145, 0.006872037425637245, -0.12120333313941956, 0.06290461122989655, -0.03939303010702133, 0.012116746976971626, -0.049402493983507156, -0.02098028175532818, -0.048616454005241394, 0.07174360752105713, 0.026197930797934532, 0.00086085160728544, -0.040625374764204025, 0.08064999431371689, -0.023440582677721977, 0.021615345031023026, -0.016951117664575577, 0.02755354531109333, 0.059489134699106216, -0.029502905905246735, -0.03825147822499275, -0.003588341875001788, -0.02161588706076145, -0.011925289407372475, -0.03368736058473587, 0.034858666360378265, -0.024227485060691833, 0.06649826467037201, 0.013212302699685097, 0.02253532223403454, 0.03421689197421074, -0.001962028443813324, 0.021717388182878494, 0.030514372512698174, -0.06769022345542908, -0.01957288384437561, 0.004473368637263775, 0.02559916488826275, -0.02667110040783882, 0.3722093403339386, 0.010549977421760559, -0.006343717221170664, 0.008832240477204323, 0.044941872358322144, -0.00687800720334053, -0.00609980896115303, 0.013914351351559162, -0.06262175738811493, 0.04571165516972542, 0.0035048227291554213, -0.023453690111637115, -0.059859760105609894, 0.01897658035159111, -0.09116879850625992, -0.010377112776041031, 0.026224201545119286, 0.05440850928425789, -0.001225764281116426, -0.03238446265459061, 0.001293456880375743, 0.01479202788323164, 0.00021821504924446344, 0.03678050637245178, 0.022847136482596397, 0.038184426724910736, 0.03763634338974953, 0.009156277403235435, 0.05439585819840431, 0.018435277044773102, 0.04539477080106735, 0.0596846379339695, 0.0207215528935194, -0.0759313628077507, 0.03451896831393242, -0.02944394201040268, -0.013432420790195465, 0.05175120383501053, -0.037855714559555054, -0.0003511847462505102, 0.013227259740233421, -0.02911224588751793, -0.008277199231088161, 0.0005172426463104784, -0.003941264934837818, -0.013868369162082672, 0.1258355975151062, -0.016831854358315468, -0.018832018598914146, -0.0340757817029953, -0.04488246515393257, -0.001809854875318706, 0.042305849492549896, -0.002479569287970662, -0.07957225292921066, -0.05033910647034645, 0.033796798437833786, 0.070828378200531, -0.02717660553753376, -0.07626154273748398, -0.027285277843475342, -0.020763682201504707, -0.012410732917487621, -0.04073444753885269, 0.0790015161037445, 0.024802783504128456, -0.09804030507802963, -0.037665028125047684, 0.03369343280792236, 0.010765264742076397, -0.06786548346281052, 0.028062693774700165, 0.017197780311107635, -0.06444624066352844, -0.039286963641643524, 0.08394705504179001, -0.029470495879650116, -0.06250082701444626, -0.02495976909995079, 0.03622426837682724, 0.015875745564699173, 0.007489593233913183, 0.009036549367010593, -0.0019561550579965115, 0.00931723602116108, -0.1039920449256897, -0.06371112912893295, -0.07596544176340103, 0.02971949242055416, -0.031698644161224365, -0.03575558215379715, -0.023928653448820114, -0.009707629680633545, -0.03820502758026123, 0.07947911322116852, -0.05712025985121727, -0.04089220240712166, -0.006219604052603245, 0.023256007581949234, -0.010826936922967434, -0.0449516586959362, 0.04426579177379608, 0.016930444166064262, 0.02075585536658764, 0.024851245805621147, -0.0672449842095375, 0.008232581429183483, 0.061460819095373154, -0.011048850603401661, 0.06721317768096924, 0.028258325532078743, -0.07552730292081833, 0.022044677287340164, -0.035923928022384644, 0.019263960421085358, -0.028322145342826843, -0.008593101054430008, -0.02010929398238659, -0.004556563682854176, 0.03132013604044914, 0.039891719818115234, -0.05144772306084633, -0.024748239666223526, -0.023809678852558136, -0.36355239152908325, -0.03542253002524376, -0.01786349155008793, -0.0214725099503994, 0.06978755444288254, -0.02790074050426483, 0.014614956453442574, -0.007667870726436377, -0.009318816475570202, 0.011890810914337635, 0.08727212250232697, -0.01754412241280079, -0.005421452224254608, -0.0912439376115799, -0.005525164306163788, 0.021979419514536858, -0.011315868236124516, -0.01116232294589281, -0.022902658209204674, 0.019839853048324585, -0.004956482909619808, -0.06414787471294403, -0.012251529842615128, -0.068987637758255, -0.0025251517072319984, -0.009350686334073544, 0.09595920145511627, -0.023369019851088524, 0.03509888797998428, -0.05655096471309662, 0.07340995967388153, 0.0014913487248122692, -0.03612659126520157, -0.08456601947546005, -0.004370867274701595, -0.00634832913056016, 0.019029241055250168, 0.03552956506609917, -0.005055249202996492, 0.014929689466953278, -0.028702005743980408, -0.014660260640084743, -0.0392199270427227, -0.041114501655101776, -0.032053142786026, 0.016960930079221725, -0.041366178542375565, -0.010740919038653374, 0.02357891947031021, 0.06617670506238937, -0.004386098124086857, 0.02567124180495739, 0.016962027177214622, 0.007192932069301605, 0.01027678232640028, -0.03931300714612007, -0.07208329439163208, -0.019824475049972534, 0.00486778886988759, 0.049756526947021484, -0.003027128055691719, 0.02803506888449192, 0.03349435329437256, -0.08388185501098633, 0.03466319292783737, -0.011131721548736095, -0.005924041382968426, 0.001189134898595512, 0.023161524906754494, -0.04998240992426872, -0.03778323531150818, 0.11500471085309982, -0.007502020802348852, 0.0525079146027565, 0.05402989313006401, 0.027599278837442398, -0.03480614721775055, 0.004001647233963013, 0.03270352631807327, 0.02138759382069111, 0.03447018191218376, -0.022438103333115578, 0.09661615639925003, -0.01103251427412033, -0.014734720811247826, 0.04803246632218361, 0.0043489946983754635, -0.009159036912024021, 0.051332611590623856, 0.005317186936736107, -0.03855821117758751, -0.0014594378881156445, -0.027851928025484085, -0.031729187816381454, 0.06488791853189468, -0.03296000510454178, -0.2487352192401886, 0.05891657993197441, 0.013033295050263405, 0.049434367567300797, 0.022402046248316765, 0.01901511289179325, 0.03169140964746475, -0.03092903085052967, 0.006523144897073507, 0.014135452918708324, 0.041391950100660324, 0.05615445226430893, 0.005945179145783186, 0.004889277741312981, 0.03851823881268501, 0.019158361479640007, 0.02563851699233055, 0.01013516541570425, 0.0267794206738472, 0.01772232912480831, 0.06679362058639526, -0.03426453843712807, 0.1900477409362793, 0.03577052801847458, 0.008100088685750961, 0.032761890441179276, -0.024019671604037285, 0.00335204740986228, 0.062101446092128754, 0.009401576593518257, -0.020470527932047844, 0.03496262803673744, 0.030709851533174515, 0.045351698994636536, 0.023699121549725533, -0.055052999407052994, -0.022637343034148216, 0.028119152411818504, 0.011895203031599522, -0.028810415416955948, -0.00371284456923604, 0.005694934632629156, -0.015452650375664234, 0.04344194382429123, 0.06189287081360817, -0.042971979826688766, -0.010051056742668152, -0.034480657428503036, -0.0639318898320198, 0.01284317672252655, -0.04001452401280403, -0.024516763165593147, 0.00566112482920289, -0.017208272591233253, 0.004040748346596956, 0.07012513279914856, 0.03278566524386406, -0.008164212107658386, 0.02051929198205471, 0.03706641495227814, -0.029781566932797432, -0.027520248666405678, 0.11808045953512192, -0.01854190044105053, 0.01596299558877945 ]
[ 0.03772386908531189, 0.08063452690839767, -0.02256304956972599, 0.03370297700166702, -0.028689460828900337, -0.010868346318602562, -0.024346070364117622, -0.006535830441862345, -0.00828724354505539, -0.015451673418283463, -0.0332552045583725, 0.0016216522781178355, 0.06898343563079834, -0.01754722371697426, -0.014707570895552635, 0.028566312044858932, -0.00904309842735529, 0.05541713908314705, 0.0029683171305805445, -0.043104223906993866, -0.016111409291625023, -0.007679011207073927, 0.06512931734323502, -0.015317447483539581, -0.03008989803493023, 0.0037682070396840572, -0.021318789571523666, 0.027730494737625122, 0.02905932255089283, -0.09160935878753662, -0.023815376684069633, -0.02848510630428791, -0.03148810938000679, 0.0015498640714213252, -0.03874026983976364, 0.005750618409365416, 0.01580694317817688, 0.011689359322190285, -0.004173658788204193, 0.03766561299562454, 0.04887691140174866, -0.0026488127186894417, -0.030160538852214813, 0.013225849717855453, 0.0032325079664587975, 0.00839861948043108, -0.013052600435912609, -0.0021347743459045887, -0.00387540552765131, -0.04023490846157074, -0.04224841296672821, -0.021142268553376198, 0.006135835312306881, 0.00798187404870987, -0.00568434689193964, 0.0009651891305111349, -0.0586349293589592, -0.002161152195185423, 0.01051525678485632, -0.014470972120761871, 0.02829110436141491, -0.018131548538804054, -0.03521500527858734, -0.019608965143561363, -0.00014670136442873627, 0.019345112144947052, -0.0060812849551439285, 0.025038594380021095, 0.0222837645560503, 0.005293885245919228, -0.016243958845734596, 0.04884987324476242, -0.08476108312606812, 0.0030935928225517273, -0.016570160165429115, 0.05057893693447113, 0.03554943576455116, -0.015724414959549904, -0.01700732670724392, 0.013716431334614754, 0.013542630709707737, 0.0066833035089075565, -0.023976651951670647, -0.0003020004369318485, -0.03006095066666603, 0.012629486620426178, 0.010219142772257328, -0.0026477216742932796, 0.0017606989713385701, 0.03527960926294327, -0.017738860100507736, 0.009135373868048191, -0.023431582376360893, -0.0183707308024168, -0.09457067400217056, -0.0014080482069402933, 0.03329329192638397, -0.01120301429182291, 0.02310759760439396, 0.8131614923477173, 0.026460960507392883, -0.03534896299242973, -0.0024044953752309084, 0.013348910957574844, 0.0032431501895189285, 0.0049248356372118, 0.013291408307850361, 0.047320540994405746, -0.012248460203409195, 0.008298618718981743, -0.02978600189089775, 0.015950070694088936, -0.01321836281567812, -0.006332323886454105, -0.0030152928084135056, 0.03265589848160744, 0.022558104246854782, -0.0039718542248010635, -0.012964093126356602, 0.00903975311666727, 0.021743575111031532, 0.009391088038682938, -0.020624052733182907, 0.013380139134824276, -0.005711039528250694, -0.16020266711711884, -0.04037613049149513, -7.205475476693378e-33, 0.05462482199072838, 0.005733177997171879, 0.058834534138441086, 0.02592291310429573, 0.0011684091296046972, 0.0299377404153347, 0.027926050126552582, -0.008476197719573975, -0.017155641689896584, -0.05036314204335213, -0.009603045880794525, -0.018299909308552742, 0.004728355910629034, -0.048678308725357056, -0.005769750569015741, -0.03176172077655792, 0.020158039405941963, 0.012382681481540203, 0.006533701438456774, -0.0007608055020682514, 0.01628340780735016, 0.05851352587342262, -0.02324839122593403, 0.03054118901491165, 0.026510603725910187, 0.03232735022902489, -0.0018198960460722446, -0.01493479497730732, -0.03320003300905228, -0.0573183074593544, -0.060136280953884125, 0.030326806008815765, -0.015665356069803238, -0.027879877015948296, 0.04920770600438118, -0.052988406270742416, 0.0039834496565163136, 0.00825327355414629, -0.02704833447933197, -0.09117449074983597, -0.05616166442632675, 0.0038626561872661114, 0.0050515104085206985, -0.02010718546807766, -0.036458004266023636, -0.034175436943769455, -0.03076791763305664, 0.0004835334257222712, 0.005738656967878342, 0.005972899496555328, 0.014279641211032867, 0.02868303842842579, 0.011668750084936619, 0.022300001233816147, -0.03989620506763458, -0.008382209576666355, 0.00846078060567379, -0.00036101299338042736, -0.012022597715258598, 0.008491641841828823, 0.02193586342036724, 0.007066219579428434, -0.02943096123635769, 0.04112844169139862, 0.03432890400290489, 0.022634761407971382, -0.003856987226754427, 0.014135668985545635, 0.003667309647426009, 0.04974285140633583, -0.031607676297426224, 0.04088706523180008, -0.025767870247364044, -0.01058666966855526, 0.02387542836368084, -0.05337737873196602, -0.027440570294857025, -0.03319566696882248, 0.010698406957089901, 0.06042906641960144, 0.0010404483182355762, -0.022299734875559807, -0.0026618896517902613, -0.014365981332957745, 0.01630319096148014, -0.0005292596179060638, 0.04229854419827461, 0.04195782169699669, 0.03044416382908821, 0.0203439611941576, 0.057422105222940445, 0.011385680176317692, 0.00048369323485530913, -0.019596083089709282, -0.024403249844908714, 7.395960662824283e-33, -0.024559253826737404, 0.010425003245472908, -0.022046392783522606, 0.027429353445768356, 0.010369661264121532, 0.012033912353217602, -0.001223922474309802, -0.005981366615742445, -0.050912145525217056, 0.051136162132024765, 0.002124200342223048, -0.020673785358667374, -0.000272559147560969, 0.02039858140051365, 0.05710437148809433, -0.017714694142341614, -0.009972243569791317, -0.0791381374001503, 0.02245338447391987, 0.03426637873053551, -0.020299864932894707, 0.00003225643376936205, -0.0021695848554372787, 0.021071352064609528, 0.01343847531825304, 0.015545215457677841, 0.02021469920873642, -0.005600850563496351, -0.008416919969022274, -0.035579562187194824, -0.004475921392440796, -0.055535513907670975, -0.016244342550635338, -0.02020607329905033, 0.0035140267573297024, 0.010938416235148907, -0.006103483494371176, 0.03548921272158623, 0.03210819140076637, -0.004696937743574381, 0.024161847308278084, -0.0023735351860523224, -0.03413943201303482, 0.07750637829303741, 0.025919215753674507, 0.0299234539270401, -0.01014933455735445, 0.01934915781021118, -0.004157830495387316, 0.0444178506731987, 0.013372802175581455, 0.025152141228318214, -0.02570432424545288, 0.013338079676032066, 0.03176445886492729, -0.05876556783914566, -0.00810891855508089, 0.019186921417713165, 0.0013529349816963077, 0.010244329459965229, -0.02986145205795765, -0.015546084381639957, -0.0473775751888752, 0.04529045149683952, -0.011870218440890312, -0.0170343779027462, -0.025729134678840637, 0.007094739004969597, -0.02436504326760769, -0.008588287979364395, 0.011422580108046532, -0.01035471074283123, -0.015100649558007717, 0.003962111193686724, 0.039100270718336105, -0.027195358648896217, -0.02913115732371807, -0.006351511925458908, -0.03510584309697151, 0.03748077526688576, 0.013700214214622974, 0.015424022451043129, 0.02130526676774025, 0.003126631723716855, 0.004805142991244793, -0.018545476719737053, -0.016248097643256187, 0.04582525044679642, -0.02654150500893593, 0.011060507036745548, 0.029216565191745758, -0.0047709220089018345, -0.03281937912106514, 0.05115508288145065, -0.033732421696186066, -1.260478388331876e-8, -0.02839488908648491, 0.027746528387069702, -0.029924331232905388, 0.01886497624218464, 0.0027973977848887444, 0.015829695388674736, -0.0039349887520074844, -0.008010903373360634, -0.0032798503525555134, 0.03280743584036827, 0.025670386850833893, -0.0030676235910505056, 0.019892890006303787, -0.005425964016467333, 0.015169045887887478, -0.0570809431374073, -0.010097002610564232, -0.031472668051719666, 0.04468374326825142, 0.026633767411112785, -0.008728638291358948, 0.040797535330057144, -0.06553049385547638, 0.012140510603785515, 0.04217258468270302, -0.014352005906403065, 0.03822442889213562, -0.04957127943634987, -0.008097992278635502, -0.005145692732185125, -0.002749964129179716, -0.021876905113458633, -0.02663714997470379, 0.03853775933384895, -0.041065655648708344, -0.040426723659038544, -0.009293396025896072, 0.04047507047653198, 0.01693243719637394, 0.02347954362630844, 0.004251452628523111, 0.012200864031910896, -0.027158940210938454, -0.026362653821706772, -0.0320466049015522, -0.006415121722966433, -0.016179203987121582, -0.004324440378695726, 0.07002809643745422, -0.040442075580358505, -0.018161362037062645, 0.0018495302647352219, 0.03735111281275749, 0.011957572773098946, 0.04235134273767471, -0.025300124660134315, 0.033244434744119644, -0.004632911644876003, -0.004701103549450636, -0.03017822653055191, 0.0026931867469102144, -0.019240746274590492, -0.03743666037917137, -0.004415788687765598 ]
neo4jcypher-getting-the-hang-of-query-parameters
https://markhneedham.com/blog/2013/07/27/neo4jcypher-getting-the-hang-of-query-parameters
false
2013-07-27 11:21:52
Graph Processing: Betweeness Centrality - neo4j's cypher vs graphstream
[ "graph-processing-2" ]
[ "neo4j", "Graph Processing" ]
Last week http://www.markhneedham.com/blog/2013/07/19/graph-processing-calculating-betweenness-centrality-for-an-undirected-graph-using-graphstream/[I wrote about the betweenness centrality algorithm and my attempts to understand it] using http://graphstream-project.org/[graphstream] and while reading the source I realised that I might be able to put something together using neo4j's http://docs.neo4j.org/chunked/stable/query-match.html#match-all-shortest-paths[all shortest paths] algorithm. To recap, the betweenness centrality algorithm is used to determine the load and importance of a node in a graph. While talking about this with https://twitter.com/jennifersmithco[Jen] she pointed out that calculating the betweenness centrality of nodes across the whole graph often doesn't make sense. However, it can be useful to know which node is the most important in a smaller sub graph that you're interested in. In this case I'm interested in working out the betweenness centrality of nodes in a very small directed graph: image:{{<siteurl>}}/uploads/2013/07/betweeness2.png[]</img> Let's briefly recap the algorithm: ____ [Betweenness centrality] is equal to the number of shortest paths from all vertices to all others that pass through that node. ____ This means that we exclude any paths which go directly between two nodes without passing through any others, something which I didn't initially grasp. If we work out the applicable paths by hand we end up with the following: [source,text] ---- A -> B: Direct Path Exists A -> C: B A -> D: E A -> E: Direct Path Exists B -> A: No Path Exists B -> C: Direct Path Exists B -> D: E or C B -> E: Direct Path Exists C -> A: No Path Exists C -> B: No Path Exists C -> D: Direct Path Exists C -> E: No Path Exists D -> A: No Path Exists D -> B: No Path Exists D -> C: No Path Exists D -> E: No Path Exists E -> A: No Path Exists E -> B: No Path Exists E -> C: No Path Exists E -> D: Direct Path Exists ---- Which gives the following betweenness centrality values: [source,text] ---- A: 0 B: 1 C: 0.5 D: 0 E: 1.5 ---- We can write a test against the latest version of https://github.com/graphstream/gs-algo[graphstream] (which takes direction into account) to confirm our manual algorithm: [source,java] ---- @Test public void calculateBetweennessCentralityOfMySimpleGraph() { Graph graph = new SingleGraph("Tutorial 1"); Node A = graph.addNode("A"); Node B = graph.addNode("B"); Node E = graph.addNode("E"); Node C = graph.addNode("C"); Node D = graph.addNode("D"); graph.addEdge("AB", A, B, true); graph.addEdge("BE", B, E, true); graph.addEdge("BC", B, C, true); graph.addEdge("ED", E, D, true); graph.addEdge("CD", C, D, true); graph.addEdge("AE", A, E, true); BetweennessCentrality bcb = new BetweennessCentrality(); bcb.computeEdgeCentrality(false); bcb.betweennessCentrality(graph); System.out.println("A="+ A.getAttribute("Cb")); System.out.println("B="+ B.getAttribute("Cb")); System.out.println("C="+ C.getAttribute("Cb")); System.out.println("D="+ D.getAttribute("Cb")); System.out.println("E="+ E.getAttribute("Cb")); } ---- The output is as expected: [source,text] ---- A=0.0 B=1.0 C=0.5 D=0.0 E=1.5 ---- I wanted to see if I could do the same thing using neo4j so I created the graph in a blank database using the following cypher statements: [source,cypher] ---- CREATE (A {name: "A"}) CREATE (B {name: "B"}) CREATE (C {name: "C"}) CREATE (D {name: "D"}) CREATE (E {name: "E"}) CREATE A-[:TO]->E CREATE A-[:TO]->B CREATE B-[:TO]->C CREATE B-[:TO]->E CREATE C-[:TO]->D CREATE E-[:TO]->D ---- I then wrote a query which found the shortest path between all sets of nodes in the graph: [source,cypher] ---- MATCH p = allShortestPaths(source-[r:TO*]->destination) WHERE source <> destination RETURN NODES(p) ---- If we run that it returns the following: [source,bash] ---- ==> +---------------------------------------------------------+ ==> | NODES(p) | ==> +---------------------------------------------------------+ ==> | [Node[1]{name:"A"},Node[2]{name:"B"}] | ==> | [Node[1]{name:"A"},Node[2]{name:"B"},Node[3]{name:"C"}] | ==> | [Node[1]{name:"A"},Node[5]{name:"E"},Node[4]{name:"D"}] | ==> | [Node[1]{name:"A"},Node[5]{name:"E"}] | ==> | [Node[2]{name:"B"},Node[3]{name:"C"}] | ==> | [Node[2]{name:"B"},Node[3]{name:"C"},Node[4]{name:"D"}] | ==> | [Node[2]{name:"B"},Node[5]{name:"E"},Node[4]{name:"D"}] | ==> | [Node[2]{name:"B"},Node[5]{name:"E"}] | ==> | [Node[3]{name:"C"},Node[4]{name:"D"}] | ==> | [Node[5]{name:"E"},Node[4]{name:"D"}] | ==> +---------------------------------------------------------+ ==> 10 rows ---- We're still returning the direct links between nodes but that's reasonably easy to correct by filtering the results based on the number of nodes in the path: [source,cypher] ---- MATCH p = allShortestPaths(source-[r:TO*]->destination) WHERE source <> destination AND LENGTH(NODES(p)) > 2 RETURN EXTRACT(n IN NODES(p): n.name) ---- [source,bash] ---- ==> +--------------------------------+ ==> | EXTRACT(n IN NODES(p): n.name) | ==> +--------------------------------+ ==> | ["A","B","C"] | ==> | ["A","E","D"] | ==> | ["B","C","D"] | ==> | ["B","E","D"] | ==> +--------------------------------+ ==> 4 rows ---- If we tweak the cypher query a bit we can get a collection of the shortest paths for each source/destination: [source,cypher] ---- MATCH p = allShortestPaths(source-[r:TO*]->destination) WHERE source <> destination AND LENGTH(NODES(p)) > 2 WITH EXTRACT(n IN NODES(p): n.name) AS nodes RETURN HEAD(nodes) AS source, HEAD(TAIL(TAIL(nodes))) AS destination, COLLECT(nodes) AS paths ---- [source,bash] ---- ==> +------------------------------------------------------+ ==> | source | destination | paths | ==> +------------------------------------------------------+ ==> | "A" | "D" | [["A","E","D"]] | ==> | "A" | "C" | [["A","B","C"]] | ==> | "B" | "D" | [["B","C","D"],["B","E","D"]] | ==> +------------------------------------------------------+ ==> 3 rows ---- When we have a way to slice collections using cypher it wouldn't be too difficult to get from here to a betweenness centrality score for the nodes but for now it's much easier to use a general programming language. In this case I used Ruby and came up with the following code: [source,ruby] ---- require 'neography' neo = Neography::Rest.new query = " MATCH p = allShortestPaths(source-[r:TO*]->destination)" query << " WHERE source <> destination AND LENGTH(NODES(p)) > 2" query << " WITH EXTRACT(n IN NODES(p): n.name) AS nodes" query << " RETURN HEAD(nodes) AS source, HEAD(TAIL(TAIL(nodes))) AS destination, COLLECT(nodes) AS paths" betweenness_centrality = { "A" => 0, "B" => 0, "C" => 0, "D" => 0, "E" => 0 } neo.execute_query(query)["data"].map { |row| row[2].map { |path| path[1..-2] } }.each do |potential_central_nodes| number_of_central_nodes = potential_central_nodes.size potential_central_nodes.each do |nodes| nodes.each { |node| betweenness_centrality[node] += (1.0 / number_of_central_nodes) } end end p betweenness_centrality ---- which outputs the following: [source,bash] ---- $ bundle exec ruby centrality.rb {"A"=>0, "B"=>1.0, "C"=>0.5, "D"=>0, "E"=>1.5} ---- It seems to do the job but I'm sure there are some corner cases it doesn't handle which a mature library would take care of. As an experiment to see what's possible I think it's not too bad though! The http://console.neo4j.org/?id=qwlyzd[graph is on the neo4j console] in case anyone is interested in playing around with it.
null
null
[ 0.007490499876439571, -0.01853128708899021, 0.022903628647327423, 0.03800097107887268, 0.07186729460954666, -0.002073763869702816, 0.030585885047912598, 0.06277688592672348, -0.01199369877576828, -0.026223720982670784, -0.0010601788526400924, -0.03206926956772804, -0.051990751177072525, 0.03322944417595863, -0.00870120245963335, 0.06343487650156021, 0.06824281066656113, 0.009865091182291508, 0.0056417956948280334, -0.019743099808692932, 0.01836070977151394, 0.057548265904188156, 0.001495730015449226, 0.035651545971632004, 0.030850838869810104, -0.006391463335603476, 0.013842055574059486, 0.0014693893026560545, -0.020030135288834572, -0.0058944872580468655, 0.04751115292310715, 0.01158103346824646, 0.021375175565481186, -0.022834740579128265, 0.03854534775018692, -0.005693631246685982, -0.03441699966788292, 0.008019684813916683, -0.0007981020025908947, 0.017410671338438988, -0.08672472089529037, 0.0532047338783741, -0.03442685678601265, 0.018246646970510483, -0.030986808240413666, 0.02227352000772953, -0.04673216491937637, 0.04384884610772133, -0.002766221296042204, 0.003332411637529731, -0.0970652848482132, 0.03603700175881386, -0.014698096551001072, 0.040600866079330444, -0.013230446726083755, 0.028128543868660927, 0.009204317815601826, -0.05497574806213379, 0.021654630079865456, -0.031155789270997047, 0.02441919967532158, -0.01047873217612505, -0.001410933444276452, 0.03384634107351303, -0.000197526445845142, -0.05851703882217407, 0.00906421523541212, 0.05797138437628746, -0.03169915825128555, -0.014327816665172577, 0.014804869890213013, 0.022023480385541916, -0.006795354187488556, 0.03611791878938675, -0.0027098313439637423, -0.04792501777410507, -0.01641698181629181, 0.05303578823804855, 0.04213493689894676, 0.03861429914832115, -0.02272900752723217, 0.01633511297404766, 0.0048089767806231976, 0.02772301249206066, -0.004705131985247135, -0.02911723032593727, -0.018999621272087097, -0.01883118227124214, -0.07074123620986938, 0.04048779979348183, -0.014580142684280872, -0.05646063759922981, -0.0064072334207594395, 0.02412588521838188, -0.0076400539837777615, -0.017872879281640053, 0.031012561172246933, -0.002757580950856209, 0.00432180892676115, -0.041197676211595535, -0.015297305770218372, -0.03583946451544762, -0.014549239538609982, 0.030127473175525665, -0.06987760215997696, -0.02071053348481655, -0.02955150045454502, -0.003954676911234856, 0.01893366314470768, -0.003234644653275609, -0.07014157623052597, 0.025927595794200897, -0.007467792369425297, 0.03628763556480408, -0.07126183062791824, 0.06903781741857529, 0.002852624049410224, -0.03717382997274399, 0.001418965752236545, 0.017913488671183586, 0.06871027499437332, 0.016984445974230766, 0.007926045916974545, 0.06832006573677063, -0.020792370662093163, 0.029106630012392998, -0.005437713582068682, 0.02571261301636696, -0.03139930218458176, -0.049073413014411926, -0.016581101343035698, 0.053967736661434174, 0.004971078131347895, -0.010512495413422585, -0.01483576837927103, -0.03515184298157692, 0.0048830946907401085, 0.02145783044397831, 0.044456060975790024, 0.016611551865935326, -0.019321614876389503, -0.04935717582702637, 0.02175523154437542, 0.006963587366044521, 0.030000492930412292, -0.0014483022969216108, -0.012466724030673504, -0.02893723174929619, -0.011718188412487507, 0.02349851094186306, 0.011568649671971798, 0.034280043095350266, 0.05402842164039612, -0.054757483303546906, 0.000936197757255286, 0.09094610065221786, 0.052094992250204086, -0.0017290014075115323, -0.021418053656816483, 0.05293722823262215, 0.039587389677762985, 0.03205927461385727, 0.03283114731311798, 0.039721231907606125, 0.0009269298752769828, -0.027263661846518517, 0.009329131804406643, 0.06455814838409424, -0.005775630008429289, 0.0050902944058179855, -0.04988947510719299, -0.04570959508419037, 0.04911499470472336, -0.04537740349769592, -0.0057687233202159405, 0.03470541909337044, 0.04649749770760536, 0.03996162861585617, 0.013624614104628563, 0.00044713710667565465, -0.071723073720932, 0.05505479499697685, 0.013374264352023602, 0.024671562016010284, 0.011088717728853226, -0.008755442686378956, 0.06411993503570557, 0.04345901682972908, -0.00925125926733017, 0.011817140504717827, -0.06250400841236115, -0.07144980877637863, -0.03622385859489441, 0.0008413190371356905, 0.05868725851178169, -0.01102468278259039, 0.018933597952127457, 0.05275946855545044, 0.0185832642018795, 0.019291503354907036, 0.016834625974297523, 0.0013407835504040122, 0.02065632864832878, -0.04524980112910271, -0.0697229877114296, 0.08215171843767166, 0.025614680722355843, -0.029828986153006554, -0.04717150330543518, 0.0020260768942534924, -0.01688862405717373, -0.01168649923056364, 0.013401412405073643, -0.03901863470673561, 0.021573470905423164, 0.0037581324577331543, 0.032861143350601196, -0.01398052740842104, 0.056867197155952454, -0.024039067327976227, 0.04352356493473053, 0.0046142349019646645, -0.008360730484127998, 0.013989776372909546, -0.01014778483659029, 0.11114288866519928, 0.06408292800188065, -0.014687420800328255, -0.07696410268545151, 0.03872228413820267, 0.015276895835995674, -0.013437863439321518, 0.011008914560079575, -0.0025604250840842724, -0.018620237708091736, -0.015153389424085617, -0.06178426370024681, -0.04158300161361694, 0.026641977950930595, -0.036161527037620544, 0.004205194301903248, 0.06385762989521027, -0.016321593895554543, 0.07063264399766922, -0.0013210820034146309, 0.0015483911847695708, 0.010939111933112144, -0.04870980605483055, -0.040981877595186234, 0.03216070309281349, -0.01612897589802742, -0.016028210520744324, 0.04201176017522812, -0.020213719457387924, -0.01171468012034893, -0.012994044460356236, -0.01436279620975256, 0.0452808141708374, 0.0563630536198616, 0.06503564119338989, 0.03384927660226822, 0.06362749636173248, -0.03902128338813782, -0.0010841578477993608, -0.0465325266122818, -0.05756955221295357, -0.04526132345199585, -0.027050040662288666, 0.04386655613780022, 0.0326538048684597, 0.023098604753613472, -0.02849661186337471, 0.03141080588102341, 0.001422164379619062, -0.006316890940070152, -0.02505388669669628, 0.04039604216814041, 0.01067798025906086, 0.0056550451554358006, -0.024976884946227074, -0.04481591656804085, 0.05030243843793869, -0.04994818940758705, -0.02955956943333149, -0.02656014822423458, -0.06095867231488228, 0.06167016550898552, -0.05007568746805191, -0.015110309235751629, -0.009375901892781258, 0.04289104789495468, 0.04343153163790703, 0.016235066577792168, -0.017678001895546913, 0.05962320417165756, 0.034356094896793365, 0.029718220233917236, -0.010923691093921661, 0.013975810259580612, 0.031516753137111664, -0.0022681551054120064, 0.016092751175165176, 0.05890784412622452, -0.0006755609065294266, -0.014442226849496365, -0.013799689710140228, 0.01726914942264557, 0.004600187297910452, -0.26979365944862366, 0.03630609065294266, -0.003688147524371743, -0.05180620029568672, 0.02369052730500698, -0.03234444558620453, -0.014559078961610794, -0.004000302869826555, -0.0324237123131752, -0.00506478501483798, -0.023183278739452362, -0.02378828451037407, -0.0343872494995594, 0.03370407596230507, 0.016453497111797333, -0.014424881897866726, -0.010101694613695145, -0.04923305660486221, 0.012958728708326817, 0.052109986543655396, -0.00810183770954609, -0.05216872692108154, -0.011324563063681126, 0.024174969643354416, 0.029495717957615852, 0.041412632912397385, -0.10806392878293991, 0.019749393686652184, -0.05469425395131111, -0.023897729814052582, 0.009058759547770023, -0.02012302353978157, -0.009986993856728077, -0.013874421827495098, -0.007207181770354509, -0.04863544553518295, 0.04795834794640541, 0.017758214846253395, 0.003128546290099621, 0.01551258098334074, -0.03128804266452789, -0.03221181035041809, -0.0035103047266602516, -0.011699778959155083, 0.0664215013384819, 0.022809969261288643, -0.07552123069763184, -0.0025568557903170586, -0.021837467327713966, 0.04862048849463463, -0.020759165287017822, -0.02774110436439514, 0.0022190699819475412, 0.007120270747691393, -0.020536061376333237, -0.042725447565317154, -0.022278739139437675, -0.03497876599431038, -0.0589529313147068, -0.046235788613557816, 0.0017528119497001171, -0.027303386479616165, 0.02875363640487194, -0.06503307074308395, -0.024484727531671524, -0.034995317459106445, -0.08253691345453262, -0.008925475180149078, 0.06810855865478516, -0.006560995243489742, -0.008727651089429855, 0.006091047078371048, -0.009338730946183205, -0.1076519638299942, -0.034228913486003876, -0.01609227992594242, -0.027162376791238785, 0.02566486969590187, -0.01978815533220768, 0.05356075242161751, -0.03318549692630768, -0.03162812441587448, 0.012382609769701958, 0.03641008958220482, 0.02536916919052601, 0.016097206622362137, 0.035683874040842056, -0.01667511649429798, -0.03456355258822441, 0.013894221745431423, 0.06006435304880142, -0.023807156831026077, -0.0300389863550663, -0.020183200016617775, 0.014402057975530624, 0.018794145435094833, 0.002294529927894473, 0.008539959788322449, 0.012119455263018608, 0.04325418174266815, 0.05799269303679466, -0.039152976125478745, 0.0060138707049191, -0.025073351338505745, -0.03732796758413315, 0.022877415642142296, -0.0403413325548172, 0.01908572018146515, 0.03055109828710556, -0.003068137215450406, -0.012167367152869701, -0.053153544664382935, 0.013282880187034607, -0.04222710803151131, -0.0394924096763134, -0.01796608604490757, -0.0014067081501707435, 0.030966071411967278, 0.024403445422649384, -0.006461797747761011, -0.05769602209329605, 0.04185982793569565, 0.010187966749072075, -0.01904410868883133, -0.061256323009729385, -0.020802268758416176, -0.034861885011196136, -0.024216782301664352, 0.02916065976023674, 0.039761126041412354, -0.016049079596996307, 0.052577368915081024, 0.037978969514369965, -0.04764305427670479, 0.028868285939097404, -0.041189637035131454, -0.035376500338315964, -0.034557826817035675, 0.015232641249895096, -0.019718000665307045, -0.006292581558227539, 0.02120625413954258, 0.0119476318359375, 0.0043662916868925095, 0.062135230749845505, 0.01890835165977478, 0.0006095452699810266, -0.00630792835727334, 0.01565040461719036, -0.023610776290297508, -0.00038644432788714767, -0.03318366780877113, 0.02148963324725628, -0.03156661614775658, -0.00685007544234395, -0.005987904965877533, 0.039651110768318176, -0.007243084721267223, -0.0380810871720314, -0.009393539279699326, 0.033833086490631104, -0.06771078705787659, -0.003837653435766697, -0.00996056105941534, -0.0051035573706030846, 0.061845581978559494, -0.02560560218989849, 0.018424605950713158, -0.006702963262796402, -0.03411446511745453, 0.032108258455991745, 0.011252328753471375, -0.04473641514778137, 0.03732151538133621, 0.014186336658895016, 0.017552204430103302, 0.0004651180934160948, 0.019976884126663208, 0.03351925313472748, 0.011617863550782204, -0.026803212240338326, -0.00727645680308342, 0.023012608289718628, 0.0271941926330328, 0.04308880865573883, 0.039176758378744125, -0.014812793582677841, 0.0033430163748562336, -0.0255084577947855, 0.0033432573545724154, -0.0052107758820056915, -0.003084425115957856, -0.04516199603676796, 0.011267237365245819, -0.018704894930124283, -0.05562470108270645, 0.06333378702402115, -0.02605043537914753, 0.022163137793540955, 0.023386340588331223, -0.015395340509712696, 0.006459166761487722, -0.025270313024520874, 0.036012522876262665, 0.05167544260621071, -0.04793119430541992, 0.0027499422430992126, 0.03642430901527405, -0.01835654303431511, 0.0024388001766055822, 0.0013621646212413907, -0.0493793711066246, -0.019275039434432983, 0.00108998641371727, 0.040809307247400284, -0.04994857311248779, -0.03481993079185486, -0.027402933686971664, 0.008084915578365326, 0.0051455325447022915, 0.031203147023916245, 0.003727111266925931, -0.015905888751149178, -0.015233692713081837, -0.010779386386275291, 0.04858436435461044, 0.003938278183341026, -0.01176393311470747, 0.010044275783002377, -0.02938743121922016, -0.01203628908842802, -0.015708208084106445, 0.010299859568476677, 0.028571585193276405, -0.029928768053650856, 0.007562220562249422, -0.04984594136476517, -0.003151004435494542, -0.029293106868863106, 0.05493808910250664, -0.0045337975025177, -0.017456043511629105, -0.038531430065631866, -0.02901114709675312, -0.024749496951699257, 0.003244072198867798, -0.04168679565191269, -0.00785575807094574, 0.03418172895908356, 0.012211518362164497, 0.009845844469964504, -0.0005337375332601368, -0.0274758730083704, -0.03580397740006447, 0.03980231285095215, -0.04105234518647194, -0.03796122223138809, -0.040364425629377365, -0.04243198037147522, -0.008524817414581776, -0.013464982621371746, -0.008464851416647434, -0.015584073960781097, 0.03540955111384392, 0.04438377544283867, 0.026356400921940804, 0.03477809950709343, 0.0011241586180403829, 0.01667514443397522, -0.038513053208589554, 0.010945678688585758, -0.10198293626308441, 0.014336365275084972, 0.003969622775912285, -0.017198916524648666, 0.011143513023853302, 0.010638527572154999, -0.012226813472807407, -0.004484268836677074, -0.0832367017865181, -0.030159514397382736, 0.0506657250225544, -0.023182006552815437, 0.026124533265829086, 0.028647921979427338, -0.0524967797100544, 0.011400336399674416, 0.029074663296341896, -0.054001759737730026, -0.02118084579706192, -0.038976989686489105, 0.04333094507455826, -0.010890631936490536, 0.028718698769807816, -0.016381114721298218, -0.009405739605426788, 0.06945294141769409, 0.025864459574222565, 0.02750256471335888, 0.03743593767285347, -0.03610070049762726, 0.025987494736909866, 0.04779867082834244, -0.0013717772671952844, -0.00768079562112689, 0.03994374722242355, -0.014234458096325397, -0.057326242327690125, 0.0657016932964325, 0.014128373935818672, -0.013535941950976849, -0.04764876142144203, 0.07219939678907394, 0.021670715883374214, -0.04768509790301323, -0.04756343364715576, 0.020963452756404877, -0.01067318208515644, 0.011669101193547249, -0.01582198031246662, 0.023524213582277298, -0.01373620517551899, 0.06144428253173828, -0.02966221235692501, 0.019598037004470825, 0.08848076313734055, 0.011249097064137459, -0.0010547409765422344, -0.0050981733947992325, 0.10413176566362381, 0.10263019055128098, 0.03801492974162102, -0.005270078312605619, 0.0846152976155281, -0.03125303238630295, -0.02369208261370659, 0.005369728896766901, -0.024714283645153046, -0.039318811148405075, -0.003818803932517767, 0.026032302528619766, 0.06129561737179756, -0.042839765548706055, 0.10728669911623001, -0.041410744190216064, -0.013851115480065346, 0.009951427578926086, 0.01260160282254219, 0.012966932728886604, 0.059871964156627655, 0.00022923076176084578, 0.033100031316280365, -0.026746952906250954, -0.028890948742628098, 0.010123232379555702, -0.012265671975910664, -0.011901551857590675, 0.03961329907178879, -0.0009647808037698269, 0.0017909087473526597, 0.023336946964263916, 0.0450691357254982, 0.0803690031170845, -0.041947342455387115, -0.001179898390546441, -0.030082952231168747, -0.010192112065851688, -0.017316192388534546, -0.003504888154566288, 0.013867402449250221, -0.027877354994416237, -0.024654166772961617, -0.027182865887880325, -0.020897885784506798, -0.0489903949201107, -0.02201702818274498, -0.0002982528822030872, -0.017178181558847427, -0.01881689950823784, 0.011424500495195389, -0.0032027154229581356, -0.037212006747722626, -0.03105967864394188, -0.03711847960948944, -0.06309118866920471, -0.08149988949298859, -0.0026518069207668304, 0.029157929122447968, -0.020107312127947807, -0.0301640797406435, -0.015210477635264397, -0.01671477034687996, -0.015137949958443642, 0.04409848153591156, -0.046749841421842575, -0.004215490072965622, 0.003718974534422159, 0.03922203555703163, 0.006633977871388197, 0.0166254211217165, 0.04047074541449547, -0.030550749972462654, -0.0036394617054611444, -0.01864648424088955, 0.007574074901640415, 0.039375655353069305, 0.01082022674381733, -0.011245419271290302, -0.08787135034799576, 0.009369405917823315, 0.006273395847529173, -0.02149767428636551, -0.0920356959104538, 0.013491366989910603, 0.05262750759720802, 0.022768039256334305, 0.04686525836586952, -0.0028765122406184673, -0.011280187405645847, -0.060485243797302246, 0.00425764312967658, 0.016087431460618973, -0.04329163208603859, 0.048137787729501724, -0.02558436617255211, 0.0679711252450943, 0.035458289086818695, -0.01263212226331234, -0.041900526732206345, 0.004084724001586437, 0.0021298504434525967, 0.00015023964806459844, -0.040836114436388016, -0.024853553622961044, -0.018086669966578484, -0.10046888142824173, -0.03644222766160965, 0.0199025496840477, -0.005511128343641758, -0.03487245738506317, 0.008394959382712841, 0.007453003898262978, -0.02717934548854828, 0.019341934472322464, -0.05460391566157341, 0.042451657354831696, -0.018000643700361252, -0.02550564520061016, -0.020333286374807358, 0.01963799074292183, 0.006694561801850796, 0.009008616209030151, 0.017866993322968483, -0.04199404641985893, -0.011341491714119911, -0.02435775101184845, 0.01804915815591812, 0.028982438147068024, 0.01629292033612728, 0.010295617394149303 ]
[ -0.05108637735247612, -0.04934859275817871, -0.046824730932712555, -0.01019275188446045, 0.05873715505003929, -0.03352663293480873, -0.003939388319849968, 0.020870443433523178, 0.02353338524699211, -0.02319847047328949, 0.050480782985687256, -0.07447497546672821, 0.010735702700912952, -0.017085108906030655, 0.06190439313650131, 0.01935914158821106, -0.01887531764805317, -0.03893950581550598, -0.012670853175222874, 0.024510584771633148, -0.0056591699831187725, -0.040809158235788345, -0.020693067461252213, -0.05874226242303848, 0.03546508029103279, 0.0544123500585556, 0.042456723749637604, -0.05180864408612251, -0.019721921533346176, -0.223738431930542, -0.0016345683252438903, 0.0071190232411026955, 0.05442517250776291, -0.03661336749792099, 0.006380513310432434, 0.005574620794504881, 0.07100430876016617, -0.015008741989731789, -0.0102884816005826, 0.023848727345466614, 0.015181297436356544, 0.03008330427110195, -0.030144352465867996, -0.0021192096173763275, 0.037552397698163986, 0.03767586871981621, -0.010925525799393654, 0.005648468621075153, -0.049999549984931946, -0.002793477149680257, -0.009127897210419178, -0.03829599544405937, -0.01046843733638525, 0.00868920050561428, 0.0088684456422925, 0.07799765467643738, 0.05589372664690018, 0.06965863704681396, 0.02881934680044651, 0.015093770809471607, 0.040154602378606796, 0.015664875507354736, -0.11063003540039062, 0.03677487000823021, 0.05320391058921814, 0.0025124475359916687, -0.017511513084173203, -0.004760704468935728, -0.02765611559152603, 0.10403236001729965, 0.03918023407459259, 0.0025728214532136917, -0.03536521643400192, 0.04604727029800415, 0.0308102834969759, 0.0190310999751091, -0.002900279825553298, 0.04474586620926857, 0.01791781559586525, -0.05827086418867111, -0.0348503515124321, 0.029522210359573364, -0.02579476684331894, -0.004936568439006805, -0.026990532875061035, 0.0403490886092186, -0.038085177540779114, -0.0017479995731264353, -0.05261795222759247, 0.023935619741678238, 0.04929406940937042, 0.024495458230376244, 0.04601640626788139, 0.010966302827000618, -0.08299610763788223, -0.039881061762571335, -0.0030547636561095715, -0.0009588327375240624, 0.019046830013394356, 0.3832796514034271, -0.009871246293187141, -0.017811456695199013, 0.03370548039674759, 0.03170296922326088, -0.000048928304750006646, -0.017342139035463333, -0.00813936349004507, -0.06888759136199951, 0.00651537487283349, 0.008615972474217415, 0.02023248001933098, -0.06600144505500793, 0.013503347523510456, -0.0792182981967926, 0.006026536226272583, -0.0021324430126696825, 0.05372701212763786, 0.06129451096057892, 0.009840068407356739, 0.006393582094460726, -0.03127310052514076, 0.016957679763436317, 0.02621876634657383, -0.024357276037335396, 0.017799416556954384, 0.014744057320058346, -0.009579273872077465, 0.03266800940036774, 0.04826217517256737, -0.0042856247164309025, 0.055938273668289185, -0.0018583923811092973, -0.036597590893507004, 0.03273902088403702, -0.02507004700601101, 0.008306381292641163, 0.015539604239165783, -0.04392419382929802, -0.027697404846549034, 0.008742669597268105, -0.00446675531566143, 0.00856201071292162, 0.07694480568170547, -0.019828572869300842, -0.040402255952358246, 0.13972483575344086, -0.008942052721977234, -0.05265318229794502, -0.00694715790450573, -0.052776288241147995, 0.011582382023334503, 0.014991073869168758, -0.03608641028404236, -0.06574402749538422, -0.011216997168958187, 0.01125386543571949, 0.07408878207206726, -0.01703036203980446, -0.058913782238960266, 0.025075800716876984, -0.011295215226709843, -0.025403568521142006, -0.059671029448509216, 0.10927601158618927, 0.08189959824085236, -0.11580389738082886, 0.01881805993616581, 0.017034318298101425, -0.005054033361375332, -0.09531485289335251, 0.046342335641384125, 0.024217255413532257, -0.028825122863054276, -0.01969488151371479, 0.047894787043333054, -0.043618157505989075, -0.047056686133146286, -0.03463711962103844, 0.03142334520816803, -0.006999089848250151, 0.011261940002441406, 0.0012817586539313197, -0.044749464839696884, 0.011322150006890297, -0.06701450049877167, -0.030932676047086716, -0.06948801875114441, 0.014017224311828613, -0.05191333591938019, -0.027258818969130516, -0.020362557843327522, -0.043515514582395554, -0.051242895424366, 0.08514655381441116, -0.06260612607002258, -0.023053163662552834, 0.0029126384761184454, -0.00589136965572834, -0.03111407347023487, 0.024609707295894623, -0.018481535837054253, 0.02540530450642109, -0.016153497621417046, 0.003417588071897626, -0.10250681638717651, 0.03422752767801285, 0.05167774483561516, -0.05395017936825752, 0.06752367317676544, 0.0404868945479393, -0.029241882264614105, -0.03127900883555412, -0.03714880347251892, -0.008651775307953358, 0.005067493300884962, -0.00677061639726162, 0.043379563838243484, -0.011728248558938503, 0.007704544812440872, 0.06777416914701462, -0.03771668300032616, -0.00846727192401886, -0.058141883462667465, -0.32760560512542725, -0.07561935484409332, -0.027510695159435272, 0.0074173202738165855, 0.06169233098626137, -0.040615636855363846, 0.0034626119304448366, -0.012664119713008404, -0.00873778946697712, 0.033684536814689636, 0.08421289175748825, 0.03031468763947487, -0.04755951091647148, -0.06729193031787872, 0.017648771405220032, 0.048186831176280975, 0.000029857961635570973, -0.012158396653831005, -0.046552710235118866, 0.032402925193309784, -0.012090733274817467, 0.005490671843290329, 0.0159765612334013, -0.04831688106060028, -0.023313842713832855, 0.0003182698565069586, 0.0908326730132103, -0.033136848360300064, 0.06000559404492378, -0.04056521877646446, -0.016616716980934143, -0.007404831703752279, -0.03868677839636803, -0.056969087570905685, 0.00723589863628149, -0.001364938449114561, 0.014618707820773125, -0.03479324281215668, 0.014717020094394684, -0.03402429819107056, -0.07603905349969864, 0.008845094591379166, -0.038645077496767044, -0.03815271705389023, -0.029043996706604958, 0.03617247939109802, -0.01746777631342411, -0.034033577889204025, -0.003997639752924442, 0.0555700957775116, 0.019952354952692986, 0.026337839663028717, 0.0014229757944121957, 0.012811551801860332, 0.009721827693283558, -0.05318162590265274, -0.0705985352396965, -0.007547441869974136, 0.01183578372001648, 0.034373581409454346, -0.015782169997692108, 0.039859019219875336, 0.012763917446136475, -0.049059510231018066, 0.028665881603956223, 0.0162652675062418, -0.0016315949615091085, -0.02289809100329876, 0.028692232444882393, 0.006075815297663212, 0.0017905961722135544, 0.10262197256088257, 0.005905971396714449, -0.01884079910814762, 0.054821472615003586, 0.019497999921441078, -0.012372471392154694, 0.028686098754405975, 0.02729037217795849, 0.0008609310607425869, 0.06037769094109535, -0.09138912707567215, 0.07949378341436386, -0.022403467446565628, -0.007636855822056532, 0.02667332999408245, -0.0005092183710075915, -0.04452181234955788, 0.05818897485733032, 0.03590034320950508, -0.005109037738293409, 0.0011465414427220821, -0.015812063589692116, -0.058040253818035126, 0.04570063203573227, -0.015929415822029114, -0.22512517869472504, 0.030969660729169846, 0.04463161528110504, 0.0534772127866745, -0.00973530299961567, 0.032569415867328644, 0.08290775865316391, -0.030687240883708, 0.013076210394501686, 0.0035988716408610344, 0.06808701902627945, 0.08587604761123657, 0.00648959307000041, 0.011427197605371475, 0.019330572336912155, -0.0016005634097382426, 0.05099351331591606, 0.0021442449651658535, -0.0005511073977686465, 0.027961501851677895, 0.06709066033363342, -0.020783396437764168, 0.19497045874595642, -0.002669448032975197, -0.00557350181043148, 0.03834258392453194, -0.03308790177106857, 0.017595695331692696, 0.03611048683524132, -0.0321689173579216, -0.06574446707963943, 0.054754745215177536, 0.018454764038324356, -0.026474429294466972, 0.03176863491535187, -0.04072701558470726, -0.004594183061271906, 0.08208883553743362, 0.02712395042181015, -0.05405671149492264, 0.013517443090677261, -0.033124685287475586, -0.021335680037736893, 0.00816002395004034, 0.08405016362667084, -0.011977569200098515, -0.018951481208205223, -0.0088425874710083, -0.039677493274211884, 0.003555726259946823, -0.037415314465761185, -0.043872278183698654, -0.002060352358967066, -0.010313671082258224, 0.017665782943367958, 0.0681663379073143, -0.009719330817461014, -0.034402549266815186, -0.029782410711050034, -0.01822466216981411, -0.011523972265422344, -0.016850249841809273, 0.1011437326669693, -0.013305569998919964, 0.0465196929872036 ]
[ 0.026294507086277008, 0.01695794239640236, -0.005881122779101133, 0.031156450510025024, 0.032250888645648956, -0.015515582635998726, -0.04843949154019356, 0.015098610892891884, -0.03640908747911453, -0.015024440363049507, -0.03671068698167801, 0.012083279900252819, 0.03990909084677696, 0.014596226625144482, 0.02206813544034958, 0.04077136144042015, -0.010055672377347946, -0.009507396258413792, 0.028081728145480156, -0.03953230381011963, -0.049919210374355316, -0.016010859981179237, 0.017565662041306496, -0.029005378484725952, 0.011838816106319427, 0.026933271437883377, -0.033826135098934174, -0.023838110268115997, 0.034536831080913544, -0.11019628494977951, -0.020624922588467598, -0.050183188170194626, -0.01767927035689354, 0.020954953506588936, -0.03006831742823124, -0.004775166977196932, 0.015279487706720829, 0.0014648999786004424, 0.029589062556624413, 0.029367446899414062, 0.06227785721421242, -0.013970842584967613, -0.020993968471884727, -0.00835626944899559, 0.002242299495264888, 0.041125427931547165, -0.04885908588767052, -0.004417153540998697, -0.0121673084795475, -0.026145612820982933, -0.04073837026953697, -0.04770812392234802, -0.044685352593660355, 0.01949952356517315, 0.022814400494098663, -0.01280390378087759, -0.007659599184989929, -0.021332664415240288, 0.002403312362730503, -0.025240644812583923, 0.06323869526386261, -0.021793175488710403, -0.05329113081097603, -0.016523009166121483, -0.006292990408837795, -0.020538631826639175, 0.013104980811476707, 0.024307256564497948, 0.019131092354655266, -0.004482816439121962, 0.005402648821473122, 0.05343982204794884, -0.059532880783081055, -0.016993926838040352, -0.007173576857894659, 0.017862003296613693, 0.030662447214126587, 0.028197163715958595, -0.01220658328384161, -0.013086531311273575, -0.022317280992865562, 0.04074956476688385, 0.010905176401138306, 0.012566184625029564, -0.01527954638004303, 0.012202952057123184, 0.005542258266359568, -0.022923357784748077, -0.011764910072088242, 0.011614437215030193, -0.05542250722646713, 0.026615966111421585, -0.024493318051099777, -0.01827504113316536, -0.09805799275636673, 0.01831180602312088, -0.02072441764175892, -0.022773172706365585, 0.02136479690670967, 0.8213894963264465, 0.028597749769687653, 0.0037741234991699457, 0.01955392211675644, -0.01756417378783226, 0.03805556893348694, 0.037029385566711426, 0.01445901207625866, 0.03449578583240509, 0.03253950551152229, 0.00477241724729538, -0.019721869379281998, 0.018059687688946724, 0.024498291313648224, 0.01505555771291256, -0.019530238583683968, 0.012836648151278496, 0.02074059098958969, 0.019634976983070374, 0.025931712239980698, 0.037219610065221786, -0.0025536208413541317, 0.022155996412038803, 0.01349682081490755, -0.022594789043068886, 0.02271445095539093, -0.15544645488262177, -0.003653367282822728, -7.622523239949863e-33, 0.0402742363512516, -0.014274641871452332, 0.04772959649562836, -0.0041712005622684956, 0.012500843964517117, -0.006084873341023922, -0.017985492944717407, -0.026211615651845932, -0.03412282094359398, -0.042432356625795364, -0.01214736606925726, -0.017294635996222496, 0.01800399459898472, -0.015232755802571774, 0.02631247788667679, -0.013393105007708073, 0.021559247747063637, -0.004597480408847332, 0.03573862090706825, -0.03384947404265404, 0.027556607499718666, 0.026282068341970444, -0.02512463927268982, 0.029602818191051483, 0.0021675205789506435, 0.013293077237904072, 0.014927511103451252, -0.009549926035106182, 0.000505102681927383, -0.053181011229753494, -0.04403673857450485, 0.0461185984313488, 0.0075296880677342415, -0.010109717026352882, 0.003729036543518305, -0.04863324761390686, -0.009965723380446434, 0.008478679694235325, -0.020789436995983124, -0.053278110921382904, -0.03543649613857269, 0.010065823793411255, -0.01854696311056614, -0.046047504991292953, -0.03260780870914459, -0.03789602965116501, -0.00792247150093317, 0.01752523146569729, -0.008739560842514038, 0.00018359885143581778, 0.010526541620492935, 0.012533951550722122, 0.0179978646337986, 0.0321546234190464, -0.01320706307888031, -0.026863593608140945, 0.012489397078752518, 0.008091128431260586, -0.019504232332110405, -0.017273075878620148, 0.07286865264177322, 0.008712202310562134, -0.009554406628012657, 0.04675205051898956, 0.041148290038108826, 0.004145423881709576, -0.01474707666784525, 0.004378664307296276, 0.02562481164932251, 0.029132643714547157, -0.04993520304560661, 0.005509909708052874, -0.011292802169919014, -0.019132129848003387, 0.030281735584139824, -0.059578314423561096, -0.02625965140759945, -0.04799812287092209, -0.01091217901557684, 0.053935520350933075, -0.025168687105178833, -0.025567108765244484, 0.026008306071162224, -0.02075086161494255, 0.0017206583870574832, -0.027260543778538704, 0.04337462782859802, -0.006961589679121971, 0.0019232783233746886, 0.0094078928232193, 0.04494822397828102, 0.039279114454984665, -0.029057800769805908, 0.017902685329318047, -0.006624151021242142, 8.24388441100674e-33, -0.009161945432424545, 0.051857419312000275, -0.008521441370248795, 0.010157369077205658, 0.028739986941218376, 0.0012626638635993004, 0.004970787093043327, -0.0020428563002496958, -0.03052087314426899, 0.056149598211050034, -0.013753018341958523, 0.006440688855946064, -0.004596615210175514, 0.013690984807908535, 0.07626243680715561, -0.0319339819252491, 0.02527901530265808, -0.04110651835799217, 0.0029119031969457865, 0.00019570818403735757, 0.0007683546864427626, 0.005985689349472523, -0.00892467238008976, 0.00045218071318231523, 0.04307754337787628, 0.0412149615585804, -0.009255394339561462, -0.0028806468471884727, -0.023909660056233406, -0.004196148831397295, -0.01073542796075344, -0.03225604072213173, -0.00111450906842947, -0.03423662111163139, 0.008607628755271435, 0.024662259966135025, -0.010509282350540161, 0.019483108073472977, 0.016077270731329918, -0.003830746514722705, 0.013765276409685612, 0.01262183953076601, -0.00899064913392067, 0.04379787668585777, 0.008540023118257523, 0.018729498609900475, -0.00269487127661705, -0.01811995916068554, -0.046887293457984924, 0.03570615127682686, 0.012654408812522888, 0.0140831945464015, 0.011566092260181904, 0.023297272622585297, 0.014109265990555286, -0.020821595564484596, -0.017313573509454727, 0.058982741087675095, -0.026227230206131935, -0.00040339463157579303, -0.011966514401137829, -0.007672562263906002, -0.029560768976807594, -0.007571112830191851, -0.02362040802836418, -0.001979467226192355, -0.03696597367525101, 0.02205144613981247, 0.0005138894775882363, -0.007365301251411438, -0.016671136021614075, 0.029160358011722565, -0.005746589507907629, 0.03575533255934715, 0.03960670903325081, -0.036495551466941833, 0.016773013398051262, 0.029924267902970314, -0.04577310010790825, 0.03244848549365997, 0.022918185219168663, 0.042651157826185226, -0.00615040073171258, -0.02134982869029045, 0.004962470848113298, 0.024609141051769257, -0.002743026940152049, -0.0023305171635001898, -0.020103273913264275, -0.006759620737284422, 0.03669315576553345, -0.0051426333375275135, -0.03490399569272995, 0.0018987016519531608, -0.023479415103793144, -1.2945791105778426e-8, -0.07520546764135361, -0.0014502264093607664, -0.014260717667639256, 0.009004431776702404, 0.021955793723464012, 0.01860198751091957, 0.014387447386980057, 0.03484069183468819, -0.03410574793815613, 0.03928328678011894, 0.05478598549962044, -0.022183038294315338, 0.011500746943056583, 0.002261511981487274, 0.005959366448223591, -0.02716890349984169, -0.01248730719089508, -0.04206298291683197, 0.03770677372813225, 0.017490427941083908, -0.01711701788008213, 0.019066469743847847, -0.05193452909588814, 0.033293068408966064, -0.007836445234715939, -0.04628864303231239, 0.016758084297180176, -0.08440219610929489, -0.006694607436656952, -0.005466695409268141, -0.01396605558693409, -0.007091190200299025, -0.009535808116197586, 0.014242052100598812, -0.028313307091593742, 0.004671694710850716, 0.023491747677326202, 0.04155206307768822, 0.001932847429998219, 0.03913402184844017, 0.02534852921962738, 0.028386220335960388, -0.008784185163676739, -0.03170093148946762, -0.019358109682798386, -0.006738695316016674, -0.022009359672665596, 0.03393624350428581, 0.020332856103777885, -0.04715458303689957, 0.02197030931711197, -0.005741063039749861, 0.014928817749023438, 0.025302844122052193, 0.04493975639343262, -0.040651265531778336, 0.014903484843671322, -0.047249775379896164, -0.014852900989353657, -0.006107737310230732, 0.04807192459702492, 0.03311791270971298, -0.02082779072225094, -0.013778699561953545 ]
graph-processing-betweeness-centrality-neo4js-cypher-vs-graphstream
https://markhneedham.com/blog/2013/07/27/graph-processing-betweeness-centrality-neo4js-cypher-vs-graphstream
false
2013-07-16 08:13:02
Git: Commit squashing made even easier using 'git branch --set-upstream'
[ "git" ]
[ "Version Control" ]
A few days ago I wrote a blog post describing how I wanted to http://www.markhneedham.com/blog/2013/07/13/gitgithub-squashing-all-commits-before-sending-a-pull-request/[squash a series of commits into one bigger one] before making a pull request and in the comments Rob Hunter showed me an even easier way to do so. To recap, by the end of the post I had the following git config: [source,bash] ---- $ cat .git/config [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git@github.com:mneedham/neo4j-shell-tools.git [branch "master"] remote = origin merge = refs/heads/master [remote "base"] url = git@github.com:jexp/neo4j-shell-tools.git fetch = +refs/heads/*:refs/remotes/base/* [branch "readme-pull"] remote = origin merge = refs/heads/readme-pull [branch "readme"] remote = origin merge = refs/heads/readme ---- I was working against the remote 'origin' but the actual home of this repository is 'base'. I'd created a load of commits on 'origin/readme' and had then squashed them all into one commit on 'origin/readme-pull' by using the following command: [source,bash] ---- $ git rebase -i c4e94f668223d53f6c7364d19aa965d09ea7eb00 ---- where 'c4e94f668223d53f6c7364d19aa965d09ea7eb00' is the hash of the last commit that was made in 'base/master'. Rob suggested that I should try using http://stackoverflow.com/questions/520650/how-do-you-make-an-existing-git-branch-track-a-remote-branch[upstream tracking] to simplify this even further. When we use upstream tracking we create a link between a local and remote repository which in this case is useful for working out where our commits start from. I thought I'd try it out on another branch. We want to set the new branch to track 'base/master' since that's the one we eventually want to have our commit applied against. We'll start from the 'readme' branch which has the list of commits that we want to squash [source,bash] ---- $ git branch master * readme readme-pull ---- Now let's create a new branch and then track it against 'base/master': [source,bash] ---- $ git checkout -b readme-pull-new Switched to a new branch 'readme-pull-new' $ git branch --set-upstream readme-pull-new base/master Branch readme-pull-new set up to track remote branch master from base. ---- Squashing all our commits is now as simple as running the following command: [source,bash] ---- $ git rebase -i ---- And then choosing 'squash' against all commits except for the first one which can stay as 'pick'. We then need to edit the commit message into shape which mostly involves deleting the commit messages from the commits we've squashed in this instance. Thanks to Rob for the tip!
null
null
[ 0.013772171922028065, -0.0097225122153759, 0.002890105824917555, 0.02882797084748745, 0.0952550545334816, 0.01428962405771017, 0.031563203781843185, 0.02927376516163349, 0.00390242668800056, -0.00679729925468564, -0.03237098082900047, -0.019166601821780205, -0.06940161436796188, -0.004151462577283382, -0.04150082543492317, 0.04917333275079727, 0.04800887778401375, -0.02139119803905487, -0.00960327498614788, 0.019431911408901215, 0.024283502250909805, 0.08175148814916611, 0.020666053518652916, 0.03781009092926979, 0.042219750583171844, 0.012654178775846958, 0.009081988595426083, 0.004006880335509777, -0.036379192024469376, -0.007658388465642929, 0.028895383700728416, -0.006008508149534464, 0.03925398364663124, -0.025788890197873116, 0.019358394667506218, -0.010940243490040302, -0.05290978401899338, 0.02055525965988636, 0.01311194896697998, 0.010696914978325367, -0.050485968589782715, 0.0434454046189785, -0.033471252769231796, 0.0064081610180437565, -0.0413687564432621, 0.005550448317080736, -0.06767323613166809, 0.043169789016246796, -0.002319102641195059, -0.011698534712195396, -0.04500070959329605, 0.022201813757419586, -0.029034608975052834, -0.05169983580708504, 0.005974896717816591, 0.04305689036846161, 0.03922980651259422, -0.08250027149915695, 0.0379563607275486, -0.01845991238951683, -0.011834658682346344, -0.004811293911188841, 0.015234687365591526, 0.0215978492051363, 0.01475550327450037, -0.04934389889240265, 0.000299022562103346, 0.049939800053834915, -0.020051568746566772, -0.0023638682905584574, -0.002693403512239456, 0.008663675747811794, -0.006270847748965025, -0.010080812498927116, 0.01659362018108368, -0.04502953961491585, 0.009524097666144371, 0.07327409088611603, 0.024730542674660683, 0.06431955099105835, -0.041144587099552155, -0.01087536383420229, 0.003971863072365522, 0.007645237725228071, 0.02247702330350876, -0.05967709422111511, -0.014707067981362343, -0.020380765199661255, -0.06402084231376648, 0.07490989565849304, -0.009767420589923859, -0.05026743933558464, 0.00843863282352686, 0.01757226511836052, 0.01279979757964611, 0.0023999984841793776, 0.026537170633673668, 0.020942460745573044, 0.018829699605703354, -0.009389990009367466, -0.040143005549907684, 0.0248548723757267, -0.005145016126334667, 0.00966746173799038, -0.05932559445500374, -0.02661704085767269, -0.04083109274506569, -0.018123680725693703, -0.004492356441915035, -0.026185842230916023, -0.019759997725486755, 0.04800558090209961, -0.00007581635873066261, 0.023938080295920372, -0.0605565570294857, 0.07580004632472992, 0.004973746370524168, -0.07629283517599106, -0.008734260685741901, 0.01325821690261364, 0.04184475913643837, 0.040448546409606934, -0.013826048001646996, 0.07451208680868149, 0.04013683274388313, 0.03477653115987778, -0.014984872192144394, 0.025548158213496208, -0.052525606006383896, -0.08331475406885147, 0.010049467906355858, 0.0660141259431839, -0.01912088878452778, -0.0068566640838980675, -0.010599344037473202, -0.029552210122346878, 0.003575230250135064, 0.005512049421668053, 0.060155875980854034, 0.023904528468847275, 0.00571869220584631, -0.02213677577674389, -0.008456545881927013, -0.02077307738363743, 0.0192059725522995, 0.02818203903734684, -0.005871182307600975, -0.019028931856155396, -0.06729034334421158, 0.024507667869329453, -0.01095721684396267, 0.002529057441279292, 0.026537101715803146, -0.048086728900671005, 0.01850106753408909, 0.08498487621545792, 0.03797336295247078, -0.006195058114826679, 0.0014567673206329346, 0.004452523775398731, 0.046124495565891266, 0.019594557583332062, 0.012044583447277546, 0.0441410131752491, 0.0033742429222911596, -0.023912159726023674, 0.003603816032409668, 0.028649188578128815, -0.006508977618068457, 0.02965196594595909, -0.037797991186380386, -0.048298876732587814, 0.07601954787969589, -0.04398026689887047, 0.009999479167163372, 0.0216567013412714, 0.0604524202644825, 0.04532797634601593, 0.04092646762728691, 0.007657320238649845, -0.08258510380983353, 0.06188620999455452, 0.029810471460223198, 0.032569706439971924, 0.0052006240002810955, -0.022317858412861824, 0.0639108195900917, 0.00989626720547676, 0.031234491616487503, 0.021571021527051926, -0.10613866150379181, -0.07472243905067444, -0.03483683615922928, 0.0053579434752464294, 0.06287675350904465, -0.036006443202495575, 0.005464167334139347, 0.07495209574699402, 0.020776761695742607, 0.025890307500958443, 0.0025977666955441236, 0.001343261799775064, 0.04257553815841675, -0.06298821419477463, -0.0479864664375782, 0.021152321249246597, 0.025783147662878036, 0.0035161771811544895, -0.00438231136649847, 0.0008749050903134048, -0.014824947342276573, -0.0011423886753618717, 0.04557131603360176, -0.04330846667289734, 0.014924469403922558, 0.027177201583981514, 0.023180276155471802, -0.027676032856106758, 0.02540113963186741, -0.014088714495301247, -0.0009871019283309579, 0.010960622690618038, -0.03868918493390083, 0.0011581799481064081, -0.007820939645171165, 0.10625230520963669, 0.04092690721154213, -0.03299315273761749, -0.041898030787706375, 0.02732483297586441, -0.025936350226402283, -0.04243255779147148, -0.01251228991895914, -0.0014946734299883246, -0.014601325616240501, 0.008408906869590282, -0.0563502162694931, -0.03629574179649353, -0.02584250457584858, -0.05449974164366722, 0.03144318610429764, 0.06659325212240219, -0.004564445000141859, 0.04262969270348549, -0.03368319571018219, -0.021438321098685265, -0.02745479717850685, -0.04589109867811203, -0.05061877518892288, 0.03000580333173275, 0.015436277724802494, -0.022851265966892242, 0.04944305866956711, -0.03430379182100296, -0.01964244619011879, -0.02470169961452484, -0.04559757560491562, 0.030796952545642853, 0.011185850016772747, 0.0843329057097435, -0.027015887200832367, 0.04994170367717743, -0.01378263346850872, 0.04113155975937843, -0.025842957198619843, -0.01593112014234066, -0.06638167053461075, -0.011022241786122322, -0.010957549326121807, 0.02523745410144329, 0.01840585097670555, 0.027545303106307983, 0.014767115004360676, -0.004105859436094761, 0.01644834503531456, -0.05097000300884247, 0.027880508452653885, 0.014936117455363274, 0.010237441398203373, -0.0437966026365757, -0.022507790476083755, 0.026745161041617393, -0.06470170617103577, -0.007821130566298962, 0.01269861962646246, -0.06405938416719437, 0.03938651457428932, -0.04140295460820198, -0.021902576088905334, -0.008505432866513729, 0.015318972989916801, 0.04707220196723938, 0.021340621635317802, 0.05201408267021179, 0.04243917390704155, 0.02501428872346878, 0.03356626629829407, 0.03383602201938629, 0.029281189665198326, 0.03778793290257454, 0.0028498778119683266, 0.006838527973741293, 0.029695769771933556, -0.012324509210884571, 0.0033106510527431965, -0.043659407645463943, 0.021899770945310593, -0.009955713525414467, -0.2774833142757416, 0.03227202966809273, 0.012625216506421566, -0.04228563234210014, 0.034220583736896515, -0.00017672024841886014, 0.03038768656551838, -0.030616212636232376, -0.018542032688856125, 0.02601988986134529, 0.009118175134062767, -0.046936988830566406, -0.0024963426403701305, 0.011625198647379875, 0.0006109251407906413, 0.02388942241668701, 0.019095662981271744, -0.02937803603708744, 0.008434831164777279, 0.04378627613186836, -0.020531946793198586, -0.06118614226579666, 0.016041690483689308, 0.024137981235980988, 0.03260529786348343, 0.04882032796740532, -0.08285634964704514, 0.04908075928688049, -0.06399210542440414, -0.014268677681684494, -0.01272500678896904, 0.004396372474730015, -0.009627973660826683, 0.03222319483757019, -0.020309126004576683, -0.0016756373224779963, 0.03887986019253731, 0.011979978531599045, 0.012733884155750275, 0.02647317759692669, -0.031754020601511, -0.004509963095188141, -0.012124485336244106, -0.013072972185909748, 0.07942686229944229, -0.030222658067941666, -0.04918235167860985, -0.011317720636725426, -0.026331163942813873, 0.08483140170574188, -0.030443817377090454, -0.03363295644521713, -0.011745795607566833, 0.017884626984596252, 0.019921762868762016, -0.03568081930279732, -0.043691810220479965, -0.013422529213130474, -0.030850695446133614, -0.025882750749588013, -0.01858016476035118, -0.036625444889068604, -0.016921676695346832, -0.028072988614439964, 0.011329252272844315, -0.06129495054483414, -0.052915286272764206, -0.03127659484744072, 0.08261130750179291, 0.01299130916595459, -0.04022722691297531, 0.004424390383064747, -0.00949256680905819, -0.10753288120031357, -0.03138257935643196, -0.032558538019657135, -0.04521721974015236, 0.018970942124724388, -0.01757953129708767, 0.025197794660925865, -0.0644763857126236, -0.0045667001977562904, 0.022310376167297363, 0.024740679189562798, -0.00706883892416954, 0.023900916799902916, 0.0042473142966628075, -0.00727424118667841, -0.03991985321044922, 0.011607206426560879, 0.05068153887987137, -0.03896017372608185, -0.04641672968864441, -0.011709886603057384, 0.009508085437119007, 0.006225584074854851, -0.004724320489913225, 0.008126000873744488, 0.013833601959049702, 0.04825880751013756, 0.0492793507874012, -0.04447999224066734, 0.026298057287931442, -0.03890453651547432, -0.022468477487564087, -0.0010404911590740085, -0.0442713163793087, 0.033830657601356506, 0.024866826832294464, 0.05735345557332039, -0.02445054054260254, -0.016855815425515175, 0.01981780305504799, -0.04955064877867699, -0.05071818456053734, -0.0071703242138028145, 0.0058945841155946255, 0.009817141108214855, 0.016710057854652405, 0.003393913619220257, -0.05357654020190239, 0.01962311752140522, -0.00363895483314991, -0.007813975214958191, -0.039555761963129044, -0.04179317504167557, -0.03202177956700325, 0.006308860145509243, 0.036899615079164505, 0.012917337007820606, -0.007807446643710136, 0.036112476140260696, 0.04377085343003273, -0.009405029937624931, 0.024976497516036034, -0.022067051380872726, -0.042334310710430145, -0.04238410294055939, -0.004241234622895718, 0.02398775890469551, -0.02498413808643818, 0.026905959472060204, -0.010091103613376617, 0.03788400813937187, 0.04812302440404892, -0.001307780621573329, 0.05449651554226875, -0.030526019632816315, 0.015391279011964798, 0.00636641401797533, 0.006012883502990007, -0.05372956022620201, 0.02779388427734375, -0.05726800113916397, -0.00989015307277441, -0.011189826764166355, 0.003154868958517909, -0.012300005182623863, -0.030930006876587868, -0.017789924517273903, 0.03041199967265129, -0.06773724406957626, 0.03573618084192276, -0.013197362422943115, -0.007577984593808651, 0.04921292886137962, -0.01268106047064066, 0.011690476909279823, -0.030807122588157654, -0.026735598221421242, 0.005344036500900984, 0.02368137799203396, -0.051655661314725876, -0.005965448450297117, 0.0388406477868557, 0.03202303126454353, 0.014188754372298717, 0.016591796651482582, 0.051581788808107376, -0.0031068718526512384, -0.003181611420586705, -0.025220217183232307, 0.01692780666053295, 0.031764402985572815, 0.02561572939157486, 0.03486410528421402, 0.008486919105052948, -0.008669146336615086, -0.02158522792160511, -0.0026617259718477726, -0.021297166123986244, 0.00453149201348424, 0.00846892036497593, 0.004127218388020992, -0.02299407869577408, -0.06087296083569527, 0.050545815378427505, 0.01691029965877533, 0.02607552707195282, 0.03390432521700859, -0.005772084463387728, 0.010196940042078495, -0.023840419948101044, 0.029033925384283066, 0.07728923857212067, -0.048556044697761536, -0.02618737891316414, -0.008576595224440098, 0.02311914972960949, -0.008509711362421513, 0.025630878284573555, -0.06014561653137207, -0.03441101312637329, -0.022554075345396996, 0.03782972693443298, -0.05611463263630867, -0.015565438196063042, -0.033768489956855774, 0.02175780013203621, -0.01247961726039648, 0.006229506339877844, -0.006359520368278027, 0.007561113219708204, 0.018134543672204018, -0.0362432561814785, 0.032204825431108475, -0.018647152930498123, 0.014256767928600311, 0.01383159589022398, -0.026768120005726814, 0.013746332377195358, -0.02145145647227764, 0.0641326755285263, 0.015009557828307152, -0.025393160060048103, -0.00923187006264925, -0.015882058069109917, -0.0007443089853040874, -0.042590875178575516, 0.027738139033317566, 0.011782953515648842, 0.005431597586721182, -0.015611154027283192, 0.004358787555247545, -0.03567279875278473, -0.010212098248302937, -0.013456372544169426, -0.008417561650276184, 0.019620154052972794, 0.06984351575374603, 0.021701551973819733, 0.007027529180049896, -0.05159664526581764, -0.032701555639505386, 0.046118419617414474, -0.08939877897500992, -0.042922575026750565, -0.04464571177959442, -0.052081234753131866, 0.024732572957873344, 0.05802151933312416, 0.02586354687809944, -0.06606575846672058, 0.01976853236556053, 0.03748501092195511, 0.003961541689932346, 0.02956932969391346, -0.006436468102037907, 0.00729841785505414, -0.04694169759750366, -0.02787056751549244, -0.06707511097192764, 0.010179400444030762, 0.05525717884302139, -0.031146017834544182, 0.028123658150434494, 0.03051786497235298, -0.027890782803297043, 0.02069573476910591, -0.05893316864967346, -0.019905373454093933, 0.04595475271344185, -0.024805143475532532, -0.00506600784137845, 0.015128035098314285, -0.08419489115476608, -0.009492967277765274, 0.04673520848155022, -0.028453350067138672, -0.031214401125907898, -0.06915739178657532, 0.07531063258647919, 0.006338005885481834, 0.04930196329951286, -0.024488376453518867, -0.01528980117291212, 0.05616602301597595, 0.028246015310287476, 0.021431349217891693, 0.04920434206724167, -0.005380360409617424, 0.015595342963933945, 0.02147739566862583, 0.026853667572140694, 0.010209680534899235, 0.01715160347521305, -0.029822776094079018, -0.03771170973777771, 0.0516788624227047, -0.003334660781547427, -0.039122868329286575, -0.015992116183042526, 0.06112422049045563, 0.009172393009066582, -0.029895419254899025, -0.07792547345161438, 0.043006110936403275, -0.04891689494252205, -0.03958345204591751, -0.012430962175130844, 0.0007623757119290531, 0.003580981632694602, 0.04354271665215492, -0.00806918554008007, 0.04021267220377922, 0.056693196296691895, -0.019784126430749893, -0.007776912301778793, -0.016476303339004517, 0.0650823563337326, 0.09015056490898132, 0.030361568555235863, -0.025029242038726807, 0.044387660920619965, 0.02857656031847, -0.05652878060936928, 0.038271937519311905, -0.008120348677039146, -0.0009399926057085395, -0.030040787532925606, -0.02461298555135727, 0.06831500679254532, -0.04969296604394913, 0.06457504630088806, -0.0030573979020118713, 0.002694595605134964, 0.0020048741716891527, 0.013970021158456802, 0.03321298956871033, 0.06820427626371384, 0.013219110667705536, -0.020751088857650757, -0.0238517876714468, -0.03503463417291641, 0.00585921760648489, -0.027616683393716812, -0.01440418791025877, 0.028343964368104935, -0.023018518462777138, 0.033720631152391434, 0.009657587856054306, 0.00018467569316271693, 0.07302926480770111, -0.052311480045318604, 0.012779150158166885, -0.003528636647388339, 0.025025278329849243, -0.020764188840985298, 0.01443395670503378, -0.006482861936092377, -0.017475686967372894, 0.003595669288188219, -0.029529552906751633, -0.0023648578207939863, 0.008071373216807842, -0.01833477057516575, 0.03871045634150505, -0.003935240674763918, 0.01284554973244667, 0.013234283775091171, 0.002964012324810028, -0.0274206530302763, -0.027420908212661743, -0.05249393358826637, -0.06378360092639923, -0.042590346187353134, -0.007612841669470072, 0.012681327760219574, 0.005814096890389919, -0.026133114472031593, -0.0232319887727499, -0.04499224200844765, -0.059412870556116104, 0.03122682496905327, -0.028568444773554802, 0.017347877845168114, -0.011827864684164524, 0.017180513590574265, -0.0075895413756370544, 0.02648044377565384, 0.07458024471998215, 0.011277532204985619, 0.004920582752674818, -0.00852037500590086, 0.036068569868803024, 0.043824806809425354, 0.025766447186470032, -0.03947880119085312, -0.08180506527423859, 0.027284448966383934, 0.019538411870598793, -0.012073102407157421, -0.07308908551931381, 0.002633843570947647, -0.011066781356930733, -0.038041017949581146, 0.05868437513709068, -0.04736378416419029, 0.01175281498581171, -0.049175433814525604, 0.0022089623380452394, -0.025254134088754654, -0.009697306901216507, 0.05216087028384209, -0.022090593352913857, 0.06258588284254074, 0.04579330235719681, -0.027453461661934853, -0.043018143624067307, 0.010956193320453167, 0.009231946431100368, -0.012408684939146042, -0.01926182210445404, -0.03048279508948326, -0.03714042901992798, -0.08747824281454086, -0.03483768180012703, 0.025032468140125275, -0.008282660506665707, -0.03496960550546646, 0.00487795053049922, -0.011826985515654087, -0.037115734070539474, -0.009225364774465561, -0.029578078538179398, 0.030812513083219528, -0.002697521587833762, -0.03411714732646942, -0.027418747544288635, 0.02694205939769745, 0.004369537346065044, 0.0024352918844670057, 0.03053644299507141, -0.028800979256629944, -0.0037349064368754625, 0.01941920816898346, 0.026045171543955803, 0.03990006074309349, 0.014395561069250107, -0.01382965687662363 ]
[ -0.06487201899290085, -0.017054075375199318, -0.015597947873175144, -0.0198463536798954, 0.05635305866599083, -0.04066795855760574, -0.03387940675020218, -0.015435873530805111, 0.01546368096023798, -0.022845415398478508, 0.04074861854314804, -0.05471162125468254, -0.005048013292253017, -0.0023753554560244083, 0.07098795473575592, 0.00598424905911088, -0.06944824010133743, -0.030803237110376358, -0.01754792593419552, 0.02568865194916725, 0.002220514230430126, -0.0217780452221632, -0.017113802954554558, 0.03085280768573284, 0.015119185671210289, 0.024867171421647072, 0.009954085573554039, -0.05941437557339668, -0.033616069704294205, -0.20399998128414154, 0.008527185767889023, 0.009939514100551605, -0.018638907000422478, 0.009554577060043812, 0.0316687673330307, 0.06181010231375694, 0.0455642007291317, 0.011032048612833023, -0.0279045682400465, 0.06266637146472931, 0.0506853312253952, 0.01996771991252899, -0.06062991917133331, -0.02265617623925209, 0.036976948380470276, -0.007795967161655426, -0.0030483175069093704, -0.030593490228056908, -0.008676789700984955, 0.033263906836509705, -0.0038412627764046192, -0.013728524558246136, 0.003510633949190378, -0.008631245233118534, 0.015320692211389542, 0.04083387553691864, 0.04065844416618347, 0.09026505798101425, 0.020339898765087128, 0.020019784569740295, 0.035550545901060104, 0.0060706245712935925, -0.14307303726673126, 0.027591897174715996, 0.058097340166568756, 0.03092491254210472, -0.032236162573099136, -0.011354727670550346, 0.0127763906493783, 0.0821031928062439, -0.0022384310141205788, -0.009635524824261665, -0.05989076569676399, 0.0570739284157753, -0.04264652729034424, -0.004199710208922625, 0.012592452578246593, 0.061915505677461624, 0.027401981875300407, -0.02647310309112072, -0.09934929013252258, 0.038161128759384155, -0.041650738567113876, 0.016948869451880455, -0.0748610869050026, -0.003652409417554736, -0.0006854457897134125, 0.05592889338731766, 0.02650049887597561, 0.03996053710579872, 0.06915055960416794, -0.01971924491226673, 0.07237187772989273, -0.010026570409536362, -0.09629081934690475, -0.0027390653267502785, 0.010156556032598019, -0.017742447555065155, 0.005288707558065653, 0.40248116850852966, 0.0141530130058527, 0.0070012337528169155, 0.048736512660980225, 0.0501670278608799, 0.0248895063996315, 0.0010725815081968904, 0.011983407661318779, -0.020703308284282684, 0.02911500632762909, -0.01842963881790638, 0.007608694024384022, -0.03163071721792221, 0.040479596704244614, -0.08491969108581543, 0.04306108504533768, 0.006009980570524931, 0.0020078655797988176, 0.022265203297138214, -0.04993018880486488, 0.043511975556612015, 0.0008743747021071613, 0.03163415193557739, 0.03282046318054199, 0.015065501444041729, -0.0011526481248438358, -0.000053745901823276654, 0.0008774157613515854, 0.028759988024830818, 0.026053480803966522, 0.026554247364401817, 0.0530281737446785, 0.0026625231839716434, -0.07552626729011536, -0.002976162824779749, 0.002353416057303548, 0.013501408509910107, 0.03352995589375496, -0.032637324184179306, -0.007220759987831116, -0.012287961319088936, 0.0033950803335756063, -0.016538705676794052, 0.001037094509229064, -0.0395108200609684, -0.06003109738230705, 0.09408403933048248, -0.013300971128046513, -0.0049611530266702175, -0.028358012437820435, -0.06269510090351105, 0.0015132519183680415, -0.010122857987880707, 0.031028883531689644, -0.05515775457024574, 0.005283324047923088, 0.016633860766887665, 0.058546099811792374, 0.02584746479988098, -0.04540301486849785, 0.015270906500518322, -0.02765640616416931, -0.06233157590031624, -0.02045486867427826, 0.023031335324048996, 0.0775037556886673, -0.11899841576814651, -0.003567320294678211, -0.0237087681889534, 0.0428372286260128, -0.05966637283563614, 0.014728940092027187, -0.01201691199094057, 0.007733297534286976, -0.05587664991617203, 0.06287889182567596, -0.026872076094150543, 0.007287399377673864, -0.027165701612830162, 0.052784521132707596, 0.030968353152275085, 0.021840743720531464, -0.037227731198072433, -0.0012963857734575868, 0.003756592981517315, -0.028380047529935837, -0.06313220411539078, -0.09369819611310959, 0.032142382115125656, -0.047032129019498825, -0.0180363766849041, -0.060707785189151764, -0.03790711238980293, -0.08493862301111221, 0.06459719687700272, -0.013867915607988834, -0.02019677124917507, -0.010119118727743626, 0.021250685676932335, -0.01372474990785122, -0.022652825340628624, 0.02227385714650154, 0.02805279940366745, -0.036849603056907654, 0.00462964316830039, -0.07797195017337799, 0.004063434433192015, 0.053176626563072205, -0.04576016962528229, 0.03621790558099747, 0.047864723950624466, -0.03689837455749512, 0.011760398745536804, -0.007839731872081757, 0.0290711410343647, -0.009407293982803822, -0.032930999994277954, -0.0040817963890731335, 0.02466377057135105, 0.0315675362944603, 0.00709078973159194, -0.05772184580564499, 0.02619728446006775, 0.00029884453397244215, -0.33964937925338745, -0.04959407076239586, 0.007010489236563444, -0.010325005277991295, 0.07394418865442276, -0.05347943678498268, 0.044326432049274445, -0.018988654017448425, 0.007764441426843405, 0.003708037082105875, 0.10238617658615112, -0.0006020410219207406, -0.028125379234552383, -0.060576166957616806, -0.005157053004950285, 0.02848655916750431, -0.030379533767700195, 0.01015823520720005, -0.013862160965800285, 0.016776790842413902, -0.0029909664299339056, -0.06916540116071701, -0.020181914791464806, -0.04364285618066788, -0.008263824507594109, -0.021896593272686005, 0.10216032713651657, 0.03675009682774544, 0.03448320925235748, -0.015036202035844326, 0.0539524108171463, 0.001493200077675283, 0.045577432960271835, -0.1289767324924469, -0.004500232171267271, 0.007744878530502319, -0.015982920303940773, 0.018869364634156227, 0.0654798075556755, -0.0180191770195961, -0.026902154088020325, -0.01619561016559601, -0.05590088292956352, -0.06956536322832108, 0.0217603612691164, -0.005679660476744175, -0.06507143378257751, -0.01597093604505062, 0.05208226293325424, 0.036729320883750916, 0.000523861323017627, -0.021281706169247627, -0.005838215816766024, 0.005536250304430723, 0.02616012841463089, -0.005674435757100582, -0.022737747058272362, -0.0060782162472605705, 0.03356362134218216, -0.021319039165973663, -0.0040894923731684685, 0.06774783134460449, 0.02185020223259926, -0.057063546031713486, 0.03968046233057976, 0.01260857842862606, -0.03225725516676903, 0.03166687861084938, 0.002206123434007168, -0.03978468477725983, 0.009981716051697731, 0.08163850009441376, -0.004952219780534506, 0.02033510059118271, 0.014081749133765697, 0.04659625142812729, -0.031431645154953, -0.018137389793992043, -0.011740121059119701, -0.02738678827881813, 0.011956268921494484, -0.0861908420920372, 0.0708668902516365, -0.031037835404276848, -0.04604453966021538, 0.08211524784564972, -0.004904909059405327, -0.05057724192738533, 0.06027798727154732, 0.014559879899024963, -0.003307505277916789, -0.005530258174985647, -0.04472631961107254, -0.03014502301812172, 0.06364734470844269, -0.02376011572778225, -0.23955921828746796, 0.07444895058870316, 0.044838108122348785, 0.02683442272245884, 0.021539775654673576, 0.03323258087038994, 0.0726349875330925, -0.04388764128088951, -0.027387091889977455, 0.056803904473781586, 0.03227812424302101, 0.0596388503909111, -0.01292187999933958, -0.016318457201123238, 0.021042613312602043, 0.015102065168321133, 0.01845485158264637, -0.003882221644744277, -0.022535741329193115, 0.006364286877214909, -0.0037109246477484703, -0.04411008954048157, 0.15147081017494202, 0.022733474150300026, -0.006086391396820545, 0.056171566247940063, -0.026840871199965477, -0.012616636231541634, 0.08948550373315811, 0.008087610825896263, -0.004611823707818985, 0.0207634586840868, 0.012324157170951366, 0.007825321517884731, 0.03521763160824776, -0.038377780467271805, 0.02184506319463253, 0.0443316288292408, 0.017733421176671982, -0.008611124940216541, -0.038170695304870605, 0.009403922595083714, -0.014748349785804749, 0.012840382754802704, 0.06482166796922684, -0.0736231878399849, -0.01660027727484703, -0.023919029161334038, -0.06270960718393326, -0.02622818388044834, -0.012451033107936382, -0.025167390704154968, -0.01215785089880228, -0.024774570018053055, 0.01674765534698963, 0.0771649032831192, 0.0000755421569920145, -0.04776782542467117, -0.012238001450896263, 0.03532061353325844, 0.018078060820698738, -0.056256573647260666, 0.11658526211977005, -0.016408566385507584, 0.028779299929738045 ]
[ 0.022875700145959854, 0.024474240839481354, -0.022048024460673332, 0.028053902089595795, 0.0032334052957594395, -0.015988359227776527, -0.030044717714190483, 0.022721368819475174, 0.01709328405559063, 0.009519973769783974, -0.0028322406578809023, 0.019674712792038918, 0.0676954835653305, -0.0005293910508044064, -0.010014787316322327, -0.000037423371395561844, -0.028274640440940857, 0.0420675203204155, 0.036859747022390366, -0.020676996558904648, -0.04685213416814804, 0.026878725737333298, 0.03544965758919716, 0.009157582186162472, 0.001618722453713417, -0.029338447377085686, -0.04065939411520958, -0.009837864898145199, 0.005966920405626297, -0.13677269220352173, -0.008829060941934586, -0.02539471536874771, -0.015712233260273933, -0.00003547956657712348, -0.014812786132097244, 0.025979116559028625, 0.03360354155302048, 0.01718338392674923, 0.005753562320023775, 0.035915929824113846, 0.035984475165605545, 0.01930105872452259, 0.02404678240418434, -0.02910262532532215, 0.015743734315037727, 0.009855878539383411, -0.0364852212369442, -0.024969417601823807, -0.011715964414179325, 0.009211231954395771, -0.030434710904955864, -0.04856279119849205, 0.010604890063405037, 0.020091315731406212, 0.013222222216427326, -0.013696503825485706, -0.00017949097673408687, -0.00755211990326643, 0.048160120844841, -0.013887440785765648, 0.02956087328493595, 0.015877654775977135, -0.05253119394183159, -0.05186259001493454, -0.005091542843729258, -0.022556064650416374, 0.007265075575560331, 0.014587887562811375, 0.002275948179885745, 0.007871963083744049, -0.018725575879216194, 0.01597614400088787, -0.07745156437158585, -0.04400450363755226, -0.04392503574490547, 0.003962937276810408, -0.0038830519188195467, 0.020440837368369102, -0.005418441258370876, 0.02661362662911415, -0.051665615290403366, -0.0008022069232538342, -0.0004128317814320326, -0.02557714655995369, -0.025817958638072014, 0.03426926210522652, 0.02665347047150135, 0.022835159674286842, 0.03021194599568844, 0.036097489297389984, -0.004585958551615477, 0.013145959004759789, -0.00795693788677454, 0.006714229006320238, -0.07375936955213547, -0.04192807525396347, -0.0023921027313917875, -0.010837651789188385, 0.0023904009722173214, 0.8161898851394653, 0.04587138071656227, 0.0031946152448654175, 0.010021522641181946, -0.012397196143865585, 0.0030621925834566355, 0.010976450517773628, -0.007427191361784935, 0.001711171818897128, 0.008927684277296066, -0.002749145030975342, -0.0026341404300183058, 0.002777409739792347, 0.0037307909224182367, 0.0028950769919902086, 0.03379768133163452, 0.08433126658201218, 0.02158426307141781, -0.0007257567485794425, -0.029096856713294983, 0.019206224009394646, 0.06319838017225266, 0.012703102082014084, 0.0033010942861437798, 0.023758510127663612, -0.002165141748264432, -0.18144570291042328, -0.0012787265004590154, -6.657534948104892e-33, 0.0483362153172493, -0.00208046892657876, 0.007135571446269751, -0.019657345488667488, -0.017593922093510628, 0.01743946224451065, -0.0160568505525589, -0.02934175729751587, -0.03390270099043846, -0.02364794909954071, -0.010506443679332733, -0.0090680792927742, -0.008122085593640804, -0.015026184730231762, -0.013843209482729435, -0.05212778225541115, 0.003706199349835515, 0.03346972167491913, 0.008938493207097054, 0.036832764744758606, -0.009133534505963326, 0.03294125199317932, -0.05909961834549904, 0.0235954187810421, 0.02629541978240013, 0.010192169807851315, -0.003775580320507288, 0.00561953242868185, -0.004025534726679325, -0.049960844218730927, -0.014586113393306732, 0.008495653048157692, -0.02641444280743599, -0.01603752374649048, -0.007528317626565695, -0.0832858681678772, -0.02400479093194008, -0.02188083715736866, -0.028307663276791573, -0.05351768434047699, 0.02157040499150753, 0.0014574547531083226, -0.03327210992574692, -0.008608861826360226, 0.00018181680934503675, -0.008387457579374313, 0.021260561421513557, 0.015519390814006329, 0.037284966558218, 0.02681135945022106, 0.020534653216600418, 0.019628651440143585, 0.009399022907018661, -0.012717540375888348, -0.024346934631466866, 0.020643901079893112, -0.003693507518619299, 0.0214656051248312, -0.010320356115698814, 0.028731781989336014, 0.018662795424461365, -0.015564934350550175, -0.006708694621920586, 0.02944701723754406, 0.026380253955721855, 0.004097557161003351, 0.001689343829639256, 0.06767908483743668, 0.0081022335216403, 0.03658908233046532, -0.0446363165974617, 0.02335672453045845, -0.005495722871273756, -0.023561988025903702, 0.013435868546366692, -0.05743644759058952, 0.022128963842988014, 0.04760567471385002, 0.008189864456653595, 0.043722476810216904, -0.02023916132748127, 0.004863433539867401, -0.056240275502204895, -0.014297477900981903, -0.01679462380707264, 0.05277290940284729, 0.03372988477349281, -0.013775213621556759, -0.014075460843741894, 0.029695387929677963, 0.037725500762462616, 0.04219052195549011, -0.007878370583057404, -0.021128663793206215, -0.015970304608345032, 7.022108643540671e-33, -0.02912711910903454, -0.016483746469020844, -0.009032283909618855, 0.010647419840097427, -0.004940235521644354, -0.010944937355816364, 0.006606684066355228, -0.011005742475390434, -0.04564401134848595, -0.008238966576755047, -0.03187541291117668, -0.0035151944030076265, -0.033724986016750336, 0.04360141605138779, 0.08507069945335388, -0.01451549120247364, 0.02931719459593296, -0.029665198177099228, 0.020319998264312744, 0.012598365545272827, 0.008558630011975765, 0.006640368141233921, -0.010747639462351799, 0.03134240582585335, 0.024593962356448174, 0.05066119506955147, -0.008781027980148792, 0.01211073063313961, 0.01760334149003029, -0.031075602397322655, 0.0034417808055877686, -0.034122284501791, -0.0023011064622551203, -0.015054724179208279, -0.023099686950445175, 0.018906179815530777, -0.007870888337492943, 0.03264893963932991, 0.018522445112466812, 0.0032080071978271008, -0.004400844685733318, 0.02324684150516987, -0.014086865819990635, 0.038753099739551544, -0.010830835439264774, 0.010196581482887268, 0.029379768297076225, 0.011814475990831852, 0.008492469787597656, 0.015763094648718834, -0.0034244449343532324, 0.01949431747198105, 0.0025410286616533995, -0.0030590530950576067, 0.009278370067477226, -0.04189067333936691, -0.01628192700445652, 0.004821005277335644, -0.01368805579841137, -0.026620417833328247, -0.008949613198637962, 0.017697114497423172, -0.015628401190042496, 0.03181028366088867, -0.05018935725092888, -0.02521955408155918, -0.0024797094520181417, -0.01709275133907795, -0.011506003327667713, 0.027416890487074852, 0.01571158692240715, 0.037835270166397095, -0.015254763886332512, 0.0077337115071713924, 0.037464018911123276, -0.013075648806989193, -0.025983715429902077, -0.01365467719733715, -0.04061537981033325, 0.022335177287459373, -0.012075880542397499, 0.03380260616540909, -0.012300566770136356, -0.0318913571536541, 0.016758566722273827, -0.006719621364027262, -0.0687340721487999, 0.044672563672065735, 0.05835743620991707, -0.029299724847078323, 0.014954155310988426, -0.04726850241422653, -0.012511433102190495, 0.025519007816910744, -0.03788532316684723, -1.2487381795267538e-8, 0.006205562502145767, 0.0045943064615130424, -0.03338683024048805, 0.028590403497219086, -0.0058876704424619675, 0.028785301372408867, -0.02171654812991619, -0.005567248445004225, -0.050949908792972565, -0.004745338577777147, 0.01949579082429409, 0.008608702570199966, 0.005378767382353544, 0.022099792957305908, 0.01812099479138851, -0.04273911193013191, 0.013690298423171043, -0.03427596390247345, 0.04795842617750168, 0.009625083766877651, -0.012820773757994175, 0.031045017763972282, -0.02978769689798355, -0.010228999890387058, -0.030108129605650902, 0.019267404451966286, 0.03006579913198948, -0.025680460035800934, -0.023745011538267136, -0.026775607839226723, 0.06101653352379799, -0.015790462493896484, -0.0693465918302536, -0.007582302205264568, -0.0272256787866354, -0.027534356340765953, 0.007886448875069618, 0.016868066042661667, 0.01492838654667139, 0.02140391804277897, -0.0021677620243281126, -0.004224744625389576, -0.0071191382594406605, -0.025347530841827393, -0.06263098120689392, -0.004043624270707369, -0.023807398974895477, -0.014371775090694427, 0.05034051463007927, -0.04550547897815704, 0.009700600057840347, -0.011438743211328983, 0.014624742791056633, 0.03790770098567009, 0.048773713409900665, 0.038317859172821045, 0.038938477635383606, -0.04214758425951004, -0.021695109084248543, -0.007693383377045393, 0.02633431926369667, -0.002555061364546418, -0.017249003052711487, -0.026397377252578735 ]
git-commit-squashing-made-even-easier-using-git-branch-set-upstream
https://markhneedham.com/blog/2013/07/16/git-commit-squashing-made-even-easier-using-git-branch-set-upstream
false
2013-07-28 16:18:38
Product Documentation: The receiver decides if it's successful
[ "communication" ]
[ "Communication" ]
One of the things I remember being taught while growing up is that in an interaction where somebody is something to someone else it's their responsibility to do so in a way that the receiver can understand. Even if you think you've done a good job of explaining something, the receiver of the communication decides whether or not that's the case. I'd always assumed that this advice made most sense in the context of a one to one conversation but recently I've realised that it also makes sense when thinking about product documentation. Most products on the market have some sort of documentation available which is a good first step but I've still seen a couple of ways that users of the product struggle: == It's too complicated Frequently documentation is written by an expert of the product so the language they use is very technical and difficult for a novice to understand. It's often worth running documentation past a non expert to get a sanity check but a tell tale sign that documentation may be too complicated is when you get a lot of questions about things that you believe it covers. At this point we can often work out what has led to user confusion and then make the appropriate changes. == People can't find it Sometimes there's no problem with the documentation but people can't find it. This might be because it's poorly titled or doesn't use the same language that users use when they are trying to solve a particular problem. There's a tendency to believe that users should learn the language of the domain and while that's true to an extent, if we can work out what language they use it can reduce friction and lead to a better experience. The other problem users encounter is where they find the documentation index but are then overwhelmed with information to the point where they're not sure what they should be clicking on. This can be solved by focusing documentation on the simple case but having links through to more advanced topics for people who are interested. == Further reading Tom Preston Werner wrote a post a few years ago around this topic titled 'http://tom.preston-werner.com/2010/08/23/readme-driven-development.html[Readme Driven Development]' which is worth a read. https://twitter.com/joewalnes[Joe Walnes] uses a similar approach on his projects - http://smoothiecharts.org/[Smoothie Charts] and http://webconnect.io/[WebConnect] are a couple of examples that I've come across.
null
null
[ 0.013939783908426762, 0.036598991602659225, 0.0013337406562641263, 0.03941848874092102, 0.08425372838973999, -0.009425736032426357, -0.0030157878063619137, 0.03876654803752899, 0.051127031445503235, -0.025236977264285088, -0.01948673091828823, 0.056469887495040894, -0.04963371530175209, 0.03596043586730957, -0.04509294778108597, 0.07938788086175919, 0.07053684443235397, 0.023648487403988838, 0.01350149791687727, 0.0005363748641684651, 0.005358200054615736, 0.07379437983036041, 0.010595837607979774, 0.01608416438102722, 0.04327359050512314, 0.006771324202418327, 0.013516807928681374, -0.012726742774248123, -0.05220314860343933, 0.012547958642244339, 0.033552370965480804, -0.01280365139245987, -0.008814405649900436, -0.029334815219044685, 0.006917647551745176, -0.01224799919873476, -0.003169587580487132, 0.02521246112883091, -0.005346955731511116, 0.01935749314725399, -0.06080310046672821, 0.0480630099773407, -0.017947446554899216, 0.009422777220606804, -0.02833418920636177, -0.0034787508193403482, -0.022013818845152855, 0.005844914820045233, 0.015741422772407532, -0.005816903430968523, -0.0725751593708992, 0.023954112082719803, -0.005222809500992298, 0.023259427398443222, -0.02818163111805916, 0.056493569165468216, 0.004287769552320242, -0.05536777526140213, 0.008230974897742271, -0.029947958886623383, -0.0004342550237197429, 0.008394400589168072, -0.008086745627224445, 0.02352454513311386, 0.04064078629016876, -0.010189409367740154, -0.012079451233148575, 0.03833213448524475, -0.04100218415260315, -0.005466772709041834, -0.022044861689209938, 0.006838714703917503, -0.028829460963606834, -0.012732804752886295, 0.0032119732350111008, -0.030530793592333794, -0.003188529284670949, 0.05404593050479889, -0.0011853683972731233, 0.0360882505774498, -0.028325719758868217, 0.03452616184949875, 0.003072805004194379, 0.02200724557042122, -0.012675190344452858, -0.04423169791698456, 0.009972332045435905, -0.022229349240660667, -0.044050686061382294, 0.04576101899147034, 0.013307117857038975, -0.0956379771232605, 0.017327286303043365, 0.021561676636338234, -0.013165900483727455, 0.0037988016847521067, 0.02442595362663269, 0.0034574121236801147, -0.016529733315110207, -0.018673773854970932, -0.03104976750910282, 0.006536802742630243, 0.00884066428989172, 0.025917284190654755, -0.07701515406370163, -0.0012834842782467604, -0.003450812306255102, 0.006460671778768301, 0.009749277494847775, -0.004022013861685991, -0.035788100212812424, 0.025522952899336815, -0.045589152723550797, 0.012233755551278591, -0.06269248574972153, 0.06380626559257507, 0.01363975740969181, -0.024797191843390465, -0.0020944441203027964, -0.012288142926990986, 0.05183825641870499, 0.01386149600148201, -0.012474738992750645, 0.06392655521631241, -0.013639746233820915, 0.022507214918732643, -0.033192332834005356, 0.05696820467710495, -0.019125403836369514, -0.04877345636487007, -0.003613571636378765, 0.046470336616039276, -0.04368288815021515, -0.008891353383660316, -0.0036734475288540125, -0.0133360605686903, 0.02266559936106205, 0.0022805752232670784, 0.010614351369440556, 0.0547514408826828, 0.004006281960755587, -0.03505931794643402, 0.00941768754273653, 0.02441619336605072, 0.01670544408261776, 0.0030446196906268597, 0.0054418593645095825, -0.023516539484262466, -0.05393357202410698, -0.01998579129576683, 0.026835238561034203, -0.008956864476203918, 0.054784588515758514, -0.028154859319329262, 0.021213799715042114, 0.09081708639860153, 0.037845417857170105, -0.006664238404482603, 0.002229477511718869, 0.02339797280728817, 0.041668836027383804, 0.020480629056692123, 0.015425142832100391, 0.017455747351050377, 0.009910373948514462, -0.03311387449502945, -0.026799868792295456, 0.06808806955814362, 0.02390466444194317, 0.006158354692161083, -0.04863811656832695, -0.04558078572154045, 0.03999648243188858, -0.03456922993063927, -0.025898829102516174, 0.05883290246129036, 0.06481010466814041, 0.04013198986649513, 0.02085951343178749, -0.000014978146282373928, -0.07248591631650925, 0.05912482365965843, 0.02361120656132698, -0.00005283183418214321, 0.024982964619994164, -0.00604484835639596, 0.07609688490629196, 0.020160173997282982, -0.002205176278948784, 0.02273803949356079, -0.07364886999130249, -0.08466283977031708, -0.03191157057881355, -0.022559601813554764, 0.03916129842400551, -0.030400892719626427, 0.010400013998150826, 0.100305937230587, 0.027346059679985046, 0.048864029347896576, 0.03188638389110565, 0.002751616993919015, 0.01743306778371334, -0.031402964144945145, -0.05188973620533943, 0.054046813398599625, 0.04288670793175697, -0.022080037742853165, -0.0348072275519371, -0.0009689448052085936, -0.011483527719974518, -0.007531709037721157, 0.046809278428554535, 0.0005411122110672295, 0.04642890393733978, 0.008815987966954708, 0.08597654849290848, -0.039718348532915115, 0.02868761494755745, -0.04100889712572098, 0.01999577321112156, 0.002626424888148904, 0.017930978909134865, 0.021968355402350426, -0.00015013045049272478, 0.11881263554096222, 0.07027633488178253, -0.011399916373193264, -0.07789034396409988, 0.012105796486139297, 0.004066792782396078, -0.05982211232185364, 0.021924350410699844, -0.007788776885718107, 0.012331623584032059, -0.020040685310959816, -0.07324645668268204, -0.00834678579121828, -0.002700604498386383, -0.034567080438137054, -0.001181068946607411, 0.06157369166612625, -0.021309062838554382, 0.04402974247932434, 0.006396044045686722, -0.004689056891947985, -0.02851666882634163, -0.007395228836685419, -0.061778318136930466, 0.03363630175590515, 0.02648778073489666, -0.0021822252310812473, 0.058254703879356384, -0.021300338208675385, -0.04661611095070839, -0.015421571210026741, -0.03925717622041702, 0.03466328978538513, 0.044319286942481995, 0.07962442189455032, 0.004105845931917429, 0.06870433688163757, -0.01578836888074875, 0.050841476768255234, 0.013616877608001232, -0.035555656999349594, -0.025280561298131943, -0.0412604995071888, -0.020319614559412003, 0.03850098326802254, 0.016186730936169624, 0.015892529860138893, 0.01427640113979578, -0.0051995571702718735, 0.00805562175810337, -0.015144852921366692, 0.03248673304915428, -0.004737567156553268, 0.0017152104992419481, -0.03007415682077408, -0.010669338516891003, 0.0473456010222435, -0.0289154089987278, -0.020275352522730827, 0.0147647550329566, -0.08539658039808273, 0.042416419833898544, -0.059276141226291656, -0.045913152396678925, 0.011330842040479183, 0.01540517620742321, 0.0170499999076128, 0.0165596604347229, 0.02203407883644104, 0.06551755964756012, 0.0031293369829654694, 0.008604581467807293, -0.010928712785243988, 0.005008435808122158, 0.058618541806936264, -0.0026405774988234043, -0.011739038862287998, 0.07579731196165085, -0.009113400243222713, 0.01219377014786005, -0.06863655149936676, 0.05778597667813301, -0.04478434845805168, -0.2875685393810272, 0.03504544869065285, 0.02167094312608242, -0.05504581332206726, 0.028434421867132187, -0.034841813147068024, 0.007993409410119057, -0.06593301147222519, -0.016683556139469147, 0.029815103858709335, -0.03269166499376297, -0.022554520517587662, -0.017324794083833694, 0.025548432022333145, 0.01973712258040905, 0.023425301536917686, 0.020881248638033867, -0.02936463989317417, 0.007958569563925266, 0.057626381516456604, -0.022718440741300583, -0.04936719313263893, 0.0025964854285120964, 0.03870341554284096, 0.027953188866376877, 0.019872847944498062, -0.078178271651268, 0.04629940539598465, -0.05678685009479523, -0.010917451232671738, 0.009314431808888912, 0.010270127095282078, -0.006387711502611637, -0.023270074278116226, -0.01714130863547325, -0.022714415565133095, 0.051176317036151886, 0.03336019441485405, 0.012902614660561085, -0.005465292371809483, -0.025176135823130608, -0.031296256929636, -0.012902243062853813, 0.015849823132157326, 0.051725246012210846, 0.009844955056905746, -0.08782348781824112, -0.0028434707783162594, -0.03668467327952385, 0.08926913142204285, -0.05583762377500534, -0.06280019134283066, 0.003407309763133526, 0.030251450836658478, 0.01142675057053566, -0.004997474141418934, 0.007652674335986376, -0.0172304455190897, -0.061081983149051666, -0.02955593541264534, -0.025223836302757263, -0.02558872662484646, -0.02567467838525772, -0.04329810291528702, 0.001687884796410799, -0.07451368868350983, -0.06719104945659637, -0.016345668584108353, 0.06387785077095032, 0.011305292136967182, -0.045737531036138535, 0.04267438128590584, 0.0018420120468363166, -0.10976427048444748, 0.006399074569344521, -0.039374545216560364, -0.016289545223116875, -0.0017740394687280059, 0.010708889923989773, 0.03169732168316841, -0.024576982483267784, -0.06073448061943054, 0.013698110356926918, 0.0006693574250675738, 0.03155233711004257, -0.012760798446834087, 0.04445372521877289, 0.010960723273456097, -0.014022134244441986, 0.003914205823093653, 0.08359694480895996, 0.015774225816130638, -0.04395996406674385, -0.024781817570328712, 0.006857763975858688, -0.00801768247038126, 0.020991312339901924, -0.014421233907341957, -0.0042513348162174225, 0.026612764224410057, 0.0019228114979341626, -0.05332355201244354, 0.018618842586874962, -0.014429561793804169, -0.01647699438035488, -0.02458087168633938, -0.05958850681781769, 0.01717442460358143, 0.035292718559503555, 0.017264777794480324, -0.03476785123348236, -0.00817203614860773, 0.01354365237057209, -0.034661915153265, -0.03777024522423744, -0.014268185943365097, 0.004445498809218407, 0.03831442445516586, 0.00261979503557086, -0.050228316336870193, -0.03130199760198593, -0.015794921666383743, 0.0053235553205013275, -0.026370495557785034, -0.06594960391521454, -0.0220259390771389, -0.008777682669460773, -0.030005911365151405, -0.0019125061808153987, 0.02206266298890114, -0.032542675733566284, 0.004284254275262356, 0.02318608947098255, -0.053690750151872635, 0.014981749467551708, -0.037875741720199585, -0.06632446497678757, -0.01073412224650383, -0.009541509672999382, -0.02003970742225647, -0.003925534896552563, 0.028259621933102608, -0.011331813409924507, -0.006659554783254862, 0.047541987150907516, 0.006937897298485041, 0.019861044362187386, 0.028526687994599342, 0.02316831797361374, 0.01070354226976633, -0.0059164734557271, -0.058286719024181366, 0.00130142318084836, -0.01247530896216631, -0.021523181349039078, -0.006336078513413668, 0.02237936668097973, -0.01176369097083807, -0.04088834300637245, -0.02496761828660965, 0.008489866741001606, -0.057214491069316864, -0.042131468653678894, -0.012463647872209549, 0.047717172652482986, 0.03358839452266693, -0.024802856147289276, 0.03460083156824112, -0.018162809312343597, -0.005401930771768093, 0.018999746069312096, 0.027663858607411385, -0.0378899909555912, -0.0014396681217476726, 0.017453515902161598, 0.003562967060133815, -0.004084327258169651, 0.015499136410653591, 0.047607745975255966, 0.014264432713389397, -0.00037422848981805146, -0.02328675612807274, 0.0052686347626149654, 0.005134337116032839, 0.025752119719982147, 0.0012143412604928017, -0.010591898113489151, -0.0038840975612401962, -0.041058339178562164, -0.03216390684247017, -0.03929632529616356, -0.0029659224674105644, -0.01662418246269226, 0.03067069500684738, -0.032778676599264145, -0.07559584826231003, 0.0631491094827652, -0.014101957902312279, 0.011776796542108059, 0.038572780787944794, -0.014117777347564697, 0.010562417097389698, -0.02981478162109852, 0.020866675302386284, 0.049676671624183655, -0.04979833960533142, -0.005545342341065407, -0.023961437866091728, 0.007199393585324287, 0.028854403644800186, -0.007994112558662891, -0.03861742466688156, -0.025056535378098488, -0.05117402225732803, 0.0040081338956952095, -0.08489350974559784, -0.034529369324445724, -0.028832437470555305, 0.011028812266886234, 0.0058855582028627396, 0.01175635028630495, -0.02537851221859455, -0.026498502120375633, -0.012565105222165585, -0.003801248501986265, 0.018140345811843872, -0.03421436622738838, 0.02207370102405548, 0.03754935413599014, -0.05674209073185921, -0.012476439587771893, -0.011928818188607693, 0.024803394451737404, 0.024892061948776245, -0.027935544028878212, -0.011120093055069447, -0.061539534479379654, 0.00038229874917306006, 0.009499331936240196, 0.04763844609260559, 0.0071976142935454845, -0.02288910746574402, -0.03801753744482994, 0.0005338267656043172, -0.027356037870049477, 0.02424318715929985, -0.03086739033460617, -0.020629623904824257, 0.01578831858932972, 0.061837099492549896, 0.022541413083672523, 0.0053337011486291885, -0.004533784929662943, -0.00883415061980486, 0.046816401183605194, -0.05242602527141571, -0.032699793577194214, -0.01893492229282856, -0.057662658393383026, 0.028627144172787666, 0.02015499398112297, 0.01002616249024868, -0.04468664154410362, 0.0340721569955349, 0.038741584867239, 0.04601173847913742, 0.021491995081305504, 0.02155151031911373, 0.025175459682941437, -0.033909011632204056, -0.016978120431303978, -0.09404641389846802, 0.0054460023529827595, -0.00447707949206233, 0.00006705170380882919, -0.01307982113212347, 0.009003608487546444, -0.02302480861544609, 0.0501108393073082, -0.07248321920633316, -0.011608599685132504, 0.007449744269251823, 0.01109377108514309, -0.020021287724375725, -0.0004174353671260178, -0.07127152383327484, 0.017817893996834755, 0.031234364956617355, -0.05282516032457352, -0.028346318751573563, -0.034217655658721924, 0.056959524750709534, 0.00730661628767848, 0.0063521345146000385, -0.02649419754743576, -0.015094173140823841, 0.07512559741735458, 0.01707889698445797, 0.019398881122469902, 0.04399145394563675, -0.0008151989313773811, 0.03521960973739624, 0.04295690730214119, 0.004222928546369076, 0.007223720662295818, 0.042226798832416534, -0.00915045477449894, -0.05131322517991066, 0.04394643008708954, 0.00046634607133455575, -0.05701063945889473, -0.03841191157698631, 0.06379974633455276, 0.015610257163643837, -0.015611110255122185, -0.06139174848794937, 0.006249978207051754, -0.03945043310523033, -0.011727775447070599, -0.029823560267686844, 0.0019431360997259617, -0.05404748395085335, 0.04911337047815323, -0.010480633936822414, 0.013938226737082005, 0.06497897952795029, 0.004235637374222279, -0.020358290523290634, -0.00912458449602127, 0.08402486145496368, 0.08205296844244003, 0.09971252083778381, 0.02588529698550701, 0.06427597999572754, -0.0035480360966175795, -0.023490697145462036, 0.016450760886073112, -0.006703891791403294, -0.013638852164149284, -0.015329101122915745, 0.004155170638114214, 0.022656649351119995, 0.012169827707111835, 0.07133051007986069, -0.0020967971067875624, -0.03716051205992699, 0.0002259184402646497, 0.04028793051838875, 0.0028546748217195272, 0.04934769868850708, 0.008517458103597164, 0.0029372950084507465, -0.002441928256303072, -0.05565322935581207, 0.01453645434230566, -0.03716603294014931, -0.02542842924594879, 0.036588072776794434, -0.01554823387414217, 0.023158235475420952, 0.0061877937987446785, 0.024945292621850967, 0.08586232364177704, -0.026764363050460815, 0.022480256855487823, 0.008707216009497643, 0.03712818771600723, -0.023124372586607933, -0.0008694514981471002, 0.019317226484417915, -0.00931753870099783, -0.00018671977159101516, -0.024707792326807976, -0.011902331374585629, -0.010071001946926117, -0.026144543662667274, 0.051742035895586014, -0.04000444337725639, -0.0027695929165929556, 0.03117050975561142, -0.013789662159979343, -0.047319021075963974, -0.05019308999180794, -0.03313400596380234, -0.027875814586877823, -0.050957828760147095, -0.01358830276876688, 0.018327994272112846, -0.0038639609701931477, -0.018139611929655075, -0.014849930070340633, -0.03579205647110939, -0.04529727250337601, 0.036902014166116714, -0.053732212632894516, -0.01600293628871441, 0.018218446522951126, 0.01438066828995943, 0.023567041382193565, 0.01975885033607483, 0.025169985368847847, 0.005561632104218006, -0.012897763401269913, -0.03295542672276497, 0.02492782473564148, 0.04538361728191376, -0.01206351350992918, 0.005401488393545151, -0.0845254436135292, 0.00296523398719728, 0.024311838671565056, -0.008146592415869236, -0.07384051382541656, 0.011407905258238316, 0.01571675017476082, -0.01622799225151539, 0.047000471502542496, 0.0049163103103637695, -0.0023762425407767296, -0.047005727887153625, -0.012295467779040337, -0.01711706630885601, 0.05095162242650986, 0.02592385932803154, -0.04071860760450363, 0.08855129033327103, 0.02838248200714588, 0.00959660392254591, -0.04357903078198433, -0.02228250727057457, -0.018670039251446724, 0.005542926024645567, -0.00381582323461771, -0.020926583558321, -0.034517161548137665, -0.06854555010795593, -0.0495939701795578, 0.017053797841072083, -0.02545355074107647, -0.009096246212720871, 0.03773188218474388, 0.013315415941178799, 0.008891049772500992, 0.03274821117520332, -0.04190681502223015, 0.009462221525609493, -0.012828664854168892, 0.0037131879944354296, 0.006068946793675423, 0.0357218012213707, -0.0008475471404381096, -0.019284892827272415, -0.001134632620960474, -0.05348111316561699, -0.0008221325115300715, -0.006333344150334597, 0.03026379831135273, 0.029826924204826355, 0.021517794579267502, 0.005795393604785204 ]
[ -0.06421032547950745, 0.011541149578988552, -0.008838623762130737, -0.028392262756824493, 0.030574578791856766, -0.05318337306380272, 0.018086561933159828, 0.03851161524653435, -0.026918739080429077, -0.035650838166475296, -0.03140540421009064, -0.027370978146791458, -0.017219766974449158, -0.020919103175401688, 0.06443227082490921, 0.0011005742708221078, 0.03118870221078396, -0.08363773673772812, 0.022742943838238716, 0.035263046622276306, 0.013712174259126186, -0.027607548981904984, -0.035643916577100754, 0.0051812524907290936, -0.008699163794517517, 0.01921793818473816, 0.03269084915518761, -0.01848541386425495, 0.010385097935795784, -0.17384497821331024, -0.008812244050204754, 0.035684093832969666, 0.049484945833683014, 0.010140258818864822, 0.0026926707942038774, 0.040338944643735886, 0.010308020748198032, 0.019799405708909035, 0.0031907374504953623, 0.012066853232681751, -0.01559243630617857, 0.00943179801106453, -0.03734070062637329, -0.03245330601930618, 0.03076498582959175, 0.0324215292930603, 0.011269648559391499, -0.04631785675883293, -0.014568350277841091, -0.0033132443204522133, -0.0547005832195282, -0.009349613450467587, -0.0046014366671442986, -0.04192620888352394, -0.03311094269156456, 0.034443940967321396, 0.04587200656533241, 0.06567861884832382, 0.011696433648467064, 0.020266881212592125, 0.03380364179611206, -0.0062286825850605965, -0.14156685769557953, 0.13177861273288727, 0.026111410930752754, 0.05768890678882599, -0.050695233047008514, -0.0066167134791612625, -0.03582821786403656, 0.07826352119445801, 0.029010888189077377, -0.05622253566980362, -0.03814598545432091, 0.04061233252286911, 0.038395438343286514, -0.015293551608920097, 0.006244805175811052, 0.014774981886148453, 0.025372732430696487, -0.05412562936544418, -0.022573579102754593, 0.013741518370807171, -0.03445097431540489, -0.031329236924648285, -0.05008792132139206, 0.0008175614639185369, 0.014773363247513771, 0.03830214589834213, 0.02558131143450737, 0.008007031865417957, 0.03208102658390999, -0.008764952421188354, 0.028108062222599983, 0.00017525906150694937, -0.07409394532442093, -0.05817887932062149, -0.011508193798363209, 0.011118724010884762, -0.061335835605859756, 0.43532589077949524, -0.019730400294065475, -0.02872205525636673, 0.09106526523828506, 0.007749150972813368, -0.019344931468367577, 0.010770234279334545, -0.004254722967743874, -0.046320609748363495, 0.012533141300082207, -0.02768520452082157, 0.003484617918729782, 0.024965813383460045, 0.01905106008052826, -0.014943010173738003, 0.01668013259768486, 0.021816879510879517, 0.03464315086603165, 0.014388537965714931, 0.02967911772429943, -0.04393691569566727, -0.010705499909818172, 0.013967973180115223, 0.021602319553494453, 0.006254095118492842, -0.028079990297555923, -0.07081973552703857, 0.04804873466491699, 0.040708959102630615, 0.024243872612714767, 0.00640238868072629, 0.050062477588653564, -0.05225782096385956, -0.05632314085960388, 0.032708540558815, 0.022449754178524017, 0.006254856940358877, 0.010897153057157993, -0.0073667471297085285, 0.0018903750460594893, 0.050379104912281036, 0.013258395716547966, -0.01684945449233055, 0.0017195164691656828, -0.007841452956199646, -0.047847285866737366, 0.11747638136148453, 0.031446423381567, -0.03341251611709595, -0.020651018247008324, -0.029819903895258904, 0.02294304035604, 0.039643462747335434, 0.008064670488238335, -0.05276435241103172, 0.02582128345966339, 0.01120955590158701, 0.12383449822664261, -0.02395073138177395, -0.0711100772023201, -0.012947946786880493, 0.02833629585802555, -0.031194178387522697, -0.04559417814016342, 0.03438759595155716, 0.07036255300045013, -0.10923685133457184, -0.01517146173864603, -0.0031873448751866817, 0.03166448697447777, -0.07110708951950073, 0.004317482002079487, 0.01620415784418583, -0.03190908208489418, 0.0175928995013237, 0.043988969177007675, -0.004959434736520052, -0.0442492812871933, 0.016026902943849564, 0.02461087889969349, 0.0005465885624289513, 0.02969508245587349, 0.006618201732635498, -0.031946565955877304, -0.0025764787569642067, -0.02361675538122654, -0.08160717040300369, -0.04391593113541603, 0.008341086097061634, 0.000837531522847712, 0.017023814842104912, 0.024927904829382896, -0.017362313345074654, -0.08446861058473587, 0.11615671962499619, -0.045106738805770874, -0.0017785035306587815, -0.008281615562736988, -0.015414562076330185, -0.04808707535266876, -0.009474726393818855, -0.06942132115364075, 0.0034559955820441246, -0.03652306646108627, 0.039995238184928894, -0.04913141205906868, 0.0727614238858223, 0.06143021211028099, -0.04726617410778999, 0.09544385224580765, 0.01689952239394188, -0.016867971047759056, -0.011490914039313793, -0.008118445053696632, 0.008084849454462528, 0.019890135154128075, -0.021207323297858238, 0.01790187694132328, 0.027224598452448845, 0.018804624676704407, 0.010857687331736088, -0.014612297527492046, -0.010690738447010517, -0.0191868357360363, -0.3433380722999573, -0.04397527873516083, -0.030032115057110786, 0.03801782801747322, 0.01304275169968605, -0.0521281361579895, 0.03967474028468132, -0.011183726601302624, -0.030001496896147728, 0.012790095992386341, 0.05493127554655075, -0.025316597893834114, 0.019330423325300217, -0.09404745697975159, 0.0014558823313564062, 0.025854479521512985, -0.019499782472848892, -0.007919766940176487, -0.03948493301868439, 0.02038905769586563, -0.015409168787300587, 0.017501242458820343, -0.012372566387057304, -0.05490283668041229, -0.018831953406333923, -0.02100391872227192, 0.11121666431427002, -0.006100290454924107, 0.04463249444961548, -0.0421479307115078, 0.05692540481686592, -0.013470529578626156, -0.013981680385768414, -0.1100681945681572, 0.005100535228848457, -0.002027346519753337, -0.026645900681614876, -0.031129371374845505, 0.027990497648715973, -0.04514765739440918, -0.046685196459293365, 0.005028430372476578, -0.051886994391679764, 0.0057146488688886166, -0.07733094692230225, 0.015069320797920227, -0.0468837134540081, -0.008338960818946362, -0.03678412362933159, 0.09079824388027191, 0.007123230025172234, 0.025321047753095627, 0.0077871037647128105, 0.03953007981181145, -0.020558267831802368, -0.04600941389799118, -0.07547460496425629, 0.025228874757885933, 0.011066397652029991, 0.001598202157765627, 0.012604835443198681, 0.0628640279173851, 0.053056277334690094, -0.052288737148046494, -0.014381315559148788, 0.011636287905275822, -0.015261046588420868, 0.013714502565562725, 0.03957812115550041, 0.0024338311050087214, -0.020804591476917267, 0.14168642461299896, -0.03852158039808273, -0.01148919202387333, 0.017719240859150887, 0.055437181144952774, 0.003471134230494499, 0.018373673781752586, 0.014726120047271252, -0.01861468330025673, 0.012123881839215755, -0.007941178046166897, 0.017413372173905373, -0.015718813985586166, -0.0008926158770918846, 0.0209723599255085, -0.01852530799806118, -0.06396328657865524, 0.04106336459517479, -0.005725739989429712, -0.012334483675658703, 0.024699870496988297, -0.007601923309266567, -0.06857676059007645, 0.0629008561372757, -0.005137692671269178, -0.23585163056850433, 0.02407165803015232, 0.08582568168640137, 0.1019170805811882, -0.021574560552835464, 0.055737562477588654, 0.003497718134894967, -0.0290237944573164, 0.022345243021845818, 0.02617456763982773, 0.028468791395425797, 0.008119187317788601, -0.024988548830151558, 0.006161797326058149, 0.037501320242881775, -0.0024116686545312405, 0.05264722928404808, -0.005656661000102758, 0.01463610865175724, 0.0017029645387083292, 0.01670117676258087, -0.001194724696688354, 0.14284668862819672, 0.036382753401994705, 0.010479819029569626, -0.0265253446996212, -0.007288507651537657, 0.021910876035690308, 0.06078416854143143, 0.007538252975791693, -0.009109081700444221, -0.012880556285381317, 0.029530856758356094, 0.01839284412562847, 0.03317632898688316, -0.08881577104330063, -0.020629465579986572, -0.010612157173454762, 0.03214509040117264, 0.0015036481199786067, 0.019898517057299614, -0.007180084008723497, -0.04141378030180931, -0.01030650082975626, 0.06781621277332306, 0.019004814326763153, -0.0018615156877785921, -0.04001909866929054, -0.0756051167845726, -0.009340522810816765, -0.028414178639650345, -0.04040683060884476, -0.01571129448711872, 0.020170029252767563, 0.01034272275865078, 0.050480540841817856, 0.031178602948784828, -0.04078011214733124, -0.010063349269330502, 0.005331273190677166, -0.030415784567594528, -0.01306144893169403, 0.08258924633264542, 0.0394708588719368, 0.05401025339961052 ]
[ -0.006729195825755596, 0.011982043273746967, 0.022359900176525116, -0.026220273226499557, -0.000437086884630844, -0.0076577868312597275, 0.009295501746237278, 0.03382405266165733, 0.00353128626011312, -0.004887373652309179, -0.010135333985090256, 0.03969276696443558, 0.028795255348086357, -0.016644131392240524, 0.023348368704319, -0.011184440925717354, -0.014801651239395142, -0.023023782297968864, 0.0476478673517704, -0.0008150548092089593, 0.00111484806984663, 0.03520483151078224, -0.016255507245659828, -0.023098604753613472, -0.03543393686413765, 0.03067515604197979, -0.0029175833333283663, -0.037181492894887924, 0.03987835347652435, -0.13089193403720856, -0.026195187121629715, -0.005059299990534782, -0.008463403210043907, 0.003933280240744352, -0.0116114541888237, -0.01487408485263586, 0.017643030732870102, 0.011102692224085331, 0.02197686769068241, -0.006386379711329937, -0.0023916461504995823, -0.011293298564851284, -0.022534633055329323, 0.025508152320981026, -0.00025348024792037904, -0.027554256841540337, -0.014196433126926422, -0.02620336413383484, -0.014080202206969261, -0.01011242438107729, -0.06332915276288986, -0.032848719507455826, -0.01230847742408514, -0.014563816599547863, 0.0031966320239007473, 0.0010592633625492454, -0.0031614010222256184, 0.01426487322896719, 0.02983435057103634, 0.004955261014401913, 0.008622358553111553, -0.05514620244503021, -0.04438012093305588, -0.02373199723660946, -0.000834123173262924, -0.00899992324411869, -0.004952528979629278, 0.01472440455108881, -0.044962599873542786, 0.011637191288173199, -0.010614502243697643, 0.02476140670478344, -0.031824227422475815, -0.030541203916072845, 0.007668084464967251, 0.0062858713790774345, -0.015265106223523617, -0.0007928436389192939, 0.004306143615394831, -0.011478330008685589, -0.0326998233795166, 0.045576438307762146, 0.005568185355514288, 0.008448455482721329, -0.016032906249165535, -0.01752406731247902, 0.025337228551506996, -0.018498912453651428, 0.02767680399119854, -0.002108061220496893, -0.02077004872262478, -0.014425026252865791, -0.009356715716421604, -0.00645015574991703, -0.09306050091981888, -0.007978162728250027, 0.013898477889597416, -0.014660641551017761, -0.005487262737005949, 0.8711594939231873, -0.01152808591723442, 0.006117244251072407, 0.03740353882312775, -0.018047580495476723, -0.004559796303510666, 0.0004802933835890144, -0.03570261225104332, 0.006035087630152702, 0.02916891872882843, -0.022626064717769623, -0.023867571726441383, 0.005953205283731222, -0.0003523154591675848, 0.03154892846941948, 0.010549139231443405, 0.008902075700461864, 0.02842118963599205, -0.005590881686657667, -0.015893276780843735, 0.01024496927857399, 0.023640817031264305, 0.029963715001940727, 0.017492758110165596, -0.0011181370355188847, -0.016731807962059975, -0.1753508597612381, 0.03371104970574379, -8.849745954364055e-33, 0.03939354419708252, 0.019304605200886726, -0.02039688266813755, 0.002519928617402911, 0.0066204066388309, 0.010007462464272976, 0.04901634156703949, 0.01982555352151394, -0.011003291234374046, -0.022372089326381683, 0.0007549013243988156, 0.006536527071148157, -0.010700005106627941, -0.01200004294514656, 0.008805735036730766, 0.0004985756240785122, -0.006921615917235613, 0.040308233350515366, -0.003170732408761978, -0.003962460905313492, 0.02628951705992222, 0.018123112618923187, 0.014604390598833561, 0.006702670827507973, -0.0031894396524876356, -0.008966153487563133, 0.0015994764398783445, 0.02054050751030445, 0.009998006746172905, -0.050686463713645935, -0.0030004496220499277, 0.01174901332706213, 0.0037783344741910696, -0.01937239244580269, 0.003350132144987583, -0.041383806616067886, -0.04422350600361824, 0.010954423807561398, 0.0221506766974926, -0.03242676705121994, -0.04755021631717682, -0.00326633476652205, -0.020655475556850433, -0.014356940053403378, -0.014654841274023056, 0.01399561669677496, -0.009196369908750057, -0.017533913254737854, 0.012586131691932678, -0.016299614682793617, -0.030875729396939278, 0.0037071320693939924, 0.014917639084160328, 0.029318319633603096, 0.00780667457729578, -0.012277883477509022, 0.007900577038526535, -0.004261382389813662, 0.003858903655782342, 0.020785924047231674, 0.008214661851525307, 0.02136506512761116, 0.000469380960566923, 0.027436653152108192, -0.03439607098698616, -0.0014193103415891528, 0.012644086964428425, 0.03161034360527992, 0.030592331662774086, -0.015364380553364754, -0.05618740990757942, 0.013940826989710331, -0.01030197087675333, -0.010598795488476753, 0.027471788227558136, -0.010313263162970543, -0.011894190683960915, 0.0209848303347826, -0.031705014407634735, 0.024162329733371735, -0.005384272895753384, 0.00045544831664301455, 0.01378822885453701, -0.012550187297165394, -0.009277083911001682, 0.015356353484094143, -0.009796008467674255, 0.01712716929614544, -0.01123862899839878, 0.016749123111367226, 0.029614729806780815, 0.02361537329852581, -0.027237383648753166, 0.003255128860473633, -0.008770590648055077, 8.551654545990939e-33, 0.011839298531413078, -0.03695129603147507, 0.00898648425936699, 0.013232688419520855, 0.004954423755407333, -0.014748197048902512, 0.044185537844896317, 0.031650360673666, -0.04890236258506775, 0.022339031100273132, 0.0012316579231992364, -0.008862299844622612, -0.015885481610894203, 0.03515860065817833, 0.013369647786021233, -0.011070815846323967, 0.001337116933427751, -0.03509436920285225, 0.03937966376543045, 0.007253934163600206, 0.005541144870221615, -0.008728099055588245, -0.015556249767541885, 0.010183404199779034, 0.00032111056498251855, 0.045555710792541504, -0.011299210600554943, 0.008530966006219387, -0.0027102807071059942, 0.0019284896552562714, 0.009176794439554214, -0.008514082990586758, 0.019526103511452675, -0.030029477551579475, -0.021070463582873344, 0.00946846418082714, -0.012416171841323376, -0.013761111535131931, 0.014513918198645115, -0.020130634307861328, 0.04462175816297531, 0.005517323035746813, 0.015624037943780422, 0.03844914212822914, 0.007456941530108452, -0.0222910325974226, 0.011776384897530079, -0.044276390224695206, -0.003828414250165224, 0.0073070041835308075, 0.010698345489799976, 0.022649317979812622, 0.04025692120194435, -0.014322083443403244, -0.028722010552883148, -0.028798017650842667, -0.01789073273539543, -0.012681596912443638, -0.02392788790166378, 0.02309413067996502, 0.006051237229257822, 0.01521849725395441, -0.02710467204451561, 0.0012854330707341433, -0.03689780831336975, -0.025975029915571213, -0.018306974321603775, 0.0037802266888320446, -0.0025059711188077927, -0.014257349073886871, -0.01434921845793724, -0.009256700053811073, 0.001095059560611844, 0.013594097457826138, 0.038458291441202164, -0.021168870851397514, -0.01406089123338461, -0.004026503302156925, -0.027255957946181297, 0.014620210975408554, 0.025364229455590248, 0.020204417407512665, 0.01890145055949688, 0.007858132012188435, 0.008714146912097931, 0.03932582959532738, -0.028475696220993996, 0.024451667442917824, -0.010387949645519257, -0.0036657017190009356, -0.01734725944697857, -0.007005703169852495, -0.005857533309608698, 0.03367188200354576, -0.0019972482696175575, -1.4348257693086452e-8, -0.0338725671172142, 0.007254946511238813, 0.0020304997451603413, 0.02172517590224743, 0.02557097002863884, -0.006040027365088463, -0.002976363757625222, 0.01991877518594265, -0.019480211660265923, 0.014077971689403057, 0.03285464644432068, -0.03480774536728859, -0.03355739265680313, 0.033528655767440796, 0.01257849670946598, -0.014463350176811218, -0.019957285374403, 0.010464323684573174, 0.032970353960990906, 0.001312297536060214, 0.039000798016786575, 0.0459107831120491, 0.02076094038784504, 0.01597965508699417, 0.03921475261449814, -0.025797396898269653, 0.013522781431674957, -0.07209881395101547, -0.024388259276747704, -0.02843244932591915, -0.0153432572260499, -0.040695156902074814, -0.019581247121095657, 0.046139270067214966, 0.0004478003247641027, -0.024283669888973236, -0.0027554624248296022, 0.010426772758364677, -0.005275021772831678, 0.0031187881249934435, -0.006460133474320173, 0.03942778706550598, -0.011962579563260078, -0.03736605867743492, -0.011511215008795261, 0.0030936344992369413, -0.02966088429093361, -0.013513706624507904, 0.04355398193001747, -0.02931251935660839, -0.015627894550561905, -0.030915433540940285, 0.038683224469423294, 0.022138960659503937, 0.03476911783218384, -0.013373274356126785, 0.0030824027489870787, -0.003250171896070242, -0.03749815747141838, 0.007320725824683905, -0.005552986636757851, 0.03894805163145065, 0.009504272602498531, -0.01118199247866869 ]
product-documentation-the-receiver-decides-if-its-successful
https://markhneedham.com/blog/2013/07/28/product-documentation-the-receiver-decides-if-its-successful
false
2013-07-28 20:43:24
Jersey Client: Testing external calls
[ "java", "jersey" ]
[ "Java" ]
https://twitter.com/jimwebber[Jim] and I have been doing a bit of work over the last week which involved calling neo4j's http://docs.neo4j.org/chunked/stable/ha-rest-info.html[HA status URI to check whether or not an instance was a master/slave] and we've been using https://jersey.java.net/documentation/latest/user-guide.html#client[jersey-client]. The code looked roughly like this: [source,java] ---- class Neo4jInstance { private Client httpClient; private URI hostname; public Neo4jInstance(Client httpClient, URI hostname) { this.httpClient = httpClient; this.hostname = hostname; } public Boolean isSlave() { String slaveURI = hostname.toString() + ":7474/db/manage/server/ha/slave"; ClientResponse response = httpClient.resource(slaveURI).accept(TEXT_PLAIN).get(ClientResponse.class); return Boolean.parseBoolean(response.getEntity(String.class)); } } ---- While writing some tests against this code we wanted to stub out the actual calls to the HA slave URI so we could simulate both conditions and a brief search suggested that http://stackoverflow.com/questions/11005279/how-do-i-unit-test-code-which-calls-the-jersey-client-api[mockito was the way to go]. We ended up with a test that looked like this: [source,java] ---- @Test public void shouldIndicateInstanceIsSlave() { Client client = mock( Client.class ); WebResource webResource = mock( WebResource.class ); WebResource.Builder builder = mock( WebResource.Builder.class ); ClientResponse clientResponse = mock( ClientResponse.class ); when( builder.get( ClientResponse.class ) ).thenReturn( clientResponse ); when( clientResponse.getEntity( String.class ) ).thenReturn( "true" ); when( webResource.accept( anyString() ) ).thenReturn( builder ); when( client.resource( anyString() ) ).thenReturn( webResource ); Boolean isSlave = new Neo4jInstance(client, URI.create("http://localhost")).isSlave(); assertTrue(isSlave); } ---- which is pretty gnarly but does the job. I thought there must be a better way so I continued searching and eventually came across http://jersey.576304.n2.nabble.com/How-to-test-a-REST-client-Jersey-td5184618.html[this post on the mailing list] which suggested creating a custom ClientHandler and stubbing out requests/responses there. I had a go at doing that and wrapped it with a little DSL that only covers our very specific use case: [source,java] ---- private static ClientBuilder client() { return new ClientBuilder(); } static class ClientBuilder { private String uri; private int statusCode; private String content; public ClientBuilder requestFor(String uri) { this.uri = uri; return this; } public ClientBuilder returns(int statusCode) { this.statusCode = statusCode; return this; } public Client create() { return new Client() { public ClientResponse handle(ClientRequest request) throws ClientHandlerException { if (request.getURI().toString().equals(uri)) { InBoundHeaders headers = new InBoundHeaders(); headers.put("Content-Type", asList("text/plain")); return createDummyResponse(headers); } throw new RuntimeException("No stub defined for " + request.getURI()); } }; } private ClientResponse createDummyResponse(InBoundHeaders headers) { return new ClientResponse(statusCode, headers, new ByteArrayInputStream(content.getBytes()), messageBodyWorkers()); } private MessageBodyWorkers messageBodyWorkers() { return new MessageBodyWorkers() { public Map<MediaType, List<MessageBodyReader>> getReaders(MediaType mediaType) { return null; } public Map<MediaType, List<MessageBodyWriter>> getWriters(MediaType mediaType) { return null; } public String readersToString(Map<MediaType, List<MessageBodyReader>> mediaTypeListMap) { return null; } public String writersToString(Map<MediaType, List<MessageBodyWriter>> mediaTypeListMap) { return null; } public <T> MessageBodyReader<T> getMessageBodyReader(Class<T> tClass, Type type, Annotation[] annotations, MediaType mediaType) { return (MessageBodyReader<T>) new StringProvider(); } public <T> MessageBodyWriter<T> getMessageBodyWriter(Class<T> tClass, Type type, Annotation[] annotations, MediaType mediaType) { return null; } public <T> List<MediaType> getMessageBodyWriterMediaTypes(Class<T> tClass, Type type, Annotation[] annotations) { return null; } public <T> MediaType getMessageBodyWriterMediaType(Class<T> tClass, Type type, Annotation[] annotations, List<MediaType> mediaTypes) { return null; } }; } public ClientBuilder content(String content) { this.content = content; return this; } } ---- If we change our test to use this code it now looks like this: [source,java] ---- @Test public void shouldIndicateInstanceIsSlave() { Client client = client().requestFor("http://localhost:7474/db/manage/server/ha/slave"). returns(200). content("true"). create(); Boolean isSlave = new Neo4jInstance(client, URI.create("http://localhost")).isSlave(); assertTrue(isSlave); } ---- Is there a better way? In Ruby I've used https://github.com/bblimke/webmock[WebMock] to achieve this and https://twitter.com/a5hok[Ashok] pointed me towards https://github.com/tusharm/WebStub[WebStub] which looks nice except I'd need to pass in the hostname + port rather than constructing that in the code.
null
null
[ 0.006604393944144249, -0.04502950236201286, -0.02414596639573574, 0.00984951201826334, 0.06627986580133438, 0.00292208231985569, 0.06682080775499344, 0.013923686929047108, 0.026117166504263878, -0.0266130231320858, -0.0018037635600194335, 0.0007022404461167753, -0.07960938662290573, 0.03141717612743378, -0.01332081202417612, 0.05067027732729912, 0.07033941894769669, -0.00039995808037929237, 0.04081885516643524, -0.03761662170290947, 0.006505021825432777, 0.04639062285423279, -0.010425470769405365, 0.031272999942302704, 0.028420336544513702, 0.018646011129021645, -0.0057120113633573055, 0.015555106103420258, -0.03397928178310394, -0.0415005162358284, 0.05410493537783623, 0.00919609796255827, 0.030317824333906174, -0.01874692551791668, 0.002137081930413842, -0.0056406911462545395, -0.02640935592353344, 0.009731081314384937, 0.009861873462796211, 0.012332781217992306, -0.07376007735729218, 0.028184212744235992, -0.007248532492667437, 0.04011448472738266, -0.040026161819696426, 0.019337989389896393, -0.01688300631940365, 0.027254411950707436, 0.0023211108054965734, 0.0357016995549202, -0.0803358405828476, 0.011622322723269463, -0.06082885339856148, 0.029924077913165092, 0.003331997897475958, 0.023912960663437843, 0.027354292571544647, -0.0919424295425415, 0.0576929971575737, -0.05861873924732208, -0.01701875403523445, -0.01752723939716816, 0.028607577085494995, 0.029606252908706665, -0.025257311761379242, -0.016019344329833984, 0.022521700710058212, 0.06943685561418533, -0.05778793618083, -0.00022952727158553898, -0.013074370101094246, -0.0007932338048703969, -0.007020267657935619, 0.002764559118077159, 0.023929687216877937, -0.054656896740198135, -0.011979419738054276, 0.058495987206697464, 0.009546111337840557, 0.058222003281116486, -0.03620123863220215, 0.004551235120743513, 0.024720190092921257, -0.003805940505117178, -0.007152794860303402, -0.0403151735663414, -0.011847169138491154, 0.0022626265417784452, -0.04378650337457657, 0.07397236675024033, 0.014350943267345428, -0.019819552078843117, -0.025637833401560783, 0.011224093846976757, -0.018400223925709724, 0.021478625014424324, 0.0036870038602501154, -0.01092231459915638, 0.030529342591762543, -0.01266115065664053, -0.03874467685818672, 0.0047672707587480545, -0.0035157473757863045, -0.0025621557142585516, -0.07097995281219482, -0.007466624025255442, -0.006614405196160078, -0.03775724396109581, -0.013564826920628548, 0.014229300431907177, -0.057602692395448685, 0.004786776844412088, -0.006026252638548613, 0.0024744507391005754, -0.06718213856220245, 0.06329384446144104, -0.002474736189469695, -0.022501396015286446, -0.05120253562927246, 0.05546426773071289, 0.01976059377193451, 0.027056952938437462, 0.0012819167459383607, 0.06956924498081207, 0.007289867382496595, 0.04615147411823273, -0.005937798880040646, 0.045884668827056885, -0.025800621137022972, -0.06923489272594452, -0.012266774661839008, 0.05436934530735016, -0.0017355018062517047, 0.0440845787525177, -0.019039005041122437, -0.008384275250136852, -0.010643737390637398, 0.0019810341764241457, 0.07594171911478043, 0.02974935621023178, -0.034037452191114426, -0.02919290028512478, 0.021392663940787315, 0.026120105758309364, 0.03700633347034454, 0.014271923340857029, -0.019954176619648933, -0.04090363159775734, -0.009533345699310303, 0.05506804957985878, 0.0025894895661622286, 0.035458073019981384, 0.052276674658060074, -0.003476597834378481, 0.0009498144499957561, 0.07809705287218094, 0.025368712842464447, 0.01185267511755228, -0.002084198407828808, 0.009594974108040333, 0.03296694532036781, 0.04191812872886658, 0.01949160359799862, 0.079018235206604, 0.010477681644260883, 0.0282957311719656, -0.013310722075402737, 0.02053840458393097, -0.01270859781652689, -0.02356579527258873, -0.03852961212396622, -0.07689497619867325, 0.048184383660554886, -0.039301980286836624, -0.0031098686158657074, 0.02671484462916851, 0.056844163686037064, -0.024640558287501335, 0.0478660948574543, -0.003025681246072054, -0.06605564057826996, 0.062486421316862106, 0.05554750934243202, 0.019302356988191605, -0.0006780074327252805, 0.007279633544385433, 0.06094580143690109, 0.03296292945742607, -0.03225836157798767, 0.03392469882965088, -0.07964517176151276, -0.0714077576994896, -0.0004617618687916547, -0.0052139111794531345, 0.08055069297552109, -0.019952785223722458, 0.008646109141409397, 0.04308586195111275, 0.027432600036263466, -0.0023668997455388308, 0.0377739742398262, -0.026666630059480667, 0.014266506768763065, -0.03318123146891594, -0.06788882613182068, 0.062101006507873535, 0.042381685227155685, -0.05041075125336647, -0.053210265934467316, 0.00005510701157618314, -0.03292962163686752, 0.02697167918086052, 0.003356998087838292, -0.023262906819581985, 0.014125365763902664, 0.013448403216898441, 0.032063402235507965, -0.011031475849449635, 0.039228033274412155, -0.05095270276069641, 0.06777811050415039, 0.006804742384701967, -0.008983368054032326, -0.025441989302635193, 0.0002655138960108161, 0.11045297235250473, 0.02811991050839424, -0.021239561960101128, -0.06927266716957092, 0.049072638154029846, 0.015926368534564972, -0.04103826731443405, -0.0036869803443551064, -0.008008699864149094, -0.020455677062273026, -0.0015154584543779492, -0.04992390796542168, -0.020351778715848923, -0.012274806387722492, -0.0366152785718441, 0.027763083577156067, 0.0640295147895813, -0.0466298833489418, 0.03375113010406494, 0.017925171181559563, -0.015411109663546085, -0.006779953371733427, -0.05049282684922218, -0.054104652255773544, 0.02715194597840309, 0.003011379623785615, -0.014083737507462502, 0.07105433195829391, -0.009139073081314564, -0.02254335582256317, -0.01842295192182064, -0.04154812544584274, 0.05074971914291382, 0.014409864321351051, 0.07276454567909241, -0.010178356431424618, 0.034150172024965286, -0.0349491648375988, -0.006925628520548344, -0.020514151081442833, -0.044050004333257675, -0.02400437369942665, 0.0026168813928961754, 0.03357122465968132, -0.006336047314107418, 0.03744911029934883, -0.01740092970430851, 0.03486010804772377, -0.009242218919098377, -0.01236410066485405, -0.006555335596203804, 0.018260009586811066, -0.015606904402375221, 0.014251370914280415, -0.022596875205636024, -0.055206771939992905, 0.03754657506942749, -0.047946516424417496, -0.05691424012184143, 0.027242422103881836, -0.09286090731620789, 0.03982215002179146, -0.06536264717578888, -0.03505069762468338, 0.004852554760873318, 0.029174447059631348, 0.047640830278396606, 0.01627829484641552, 0.020525071769952774, 0.06377261877059937, 0.0015073850518092513, 0.01439528726041317, 0.03502064570784569, -0.028716694563627243, 0.04545369744300842, -0.0371941439807415, 0.022002357989549637, 0.029556281864643097, -0.019209127873182297, 0.02638954482972622, -0.03961927816271782, -0.0020753510762006044, -0.00930056069046259, -0.26215389370918274, 0.043940819799900055, 0.00032947419094853103, -0.036459170281887054, 0.049872979521751404, -0.026649881154298782, 0.004356614779680967, -0.035957735031843185, -0.025809872895479202, 0.04187912493944168, -0.005224969703704119, -0.007967664860188961, 0.0016737931873649359, 0.024134265258908272, 0.0005560775171034038, -0.004497294779866934, -0.017688287422060966, -0.035351671278476715, 0.010971952229738235, 0.0172604750841856, 0.006475342903286219, -0.03975464031100273, 0.006901465822011232, 0.023236682638525963, 0.028167420998215675, 0.05650809407234192, -0.1000782921910286, 0.044123586267232895, -0.028609251603484154, -0.013925646431744099, 0.026383021846413612, -0.0351233184337616, 0.015028038062155247, 0.012029743753373623, -0.03908471763134003, 0.00018477474804967642, 0.03491751849651337, 0.007260533515363932, -0.014326678588986397, 0.03278491646051407, -0.05088608339428902, -0.0624794103205204, -0.053621403872966766, -0.009209716692566872, 0.08311840146780014, 0.013030827976763248, -0.0684373527765274, -0.00438775634393096, -0.02228173427283764, 0.07688301801681519, -0.03830883651971817, -0.026778588071465492, -0.002333601238206029, 0.020434394478797913, -0.01370665617287159, -0.04354022443294525, -0.02825048379600048, 0.007807042915374041, -0.050224874168634415, -0.04483474791049957, -0.021630078554153442, -0.04075552150607109, -0.01892177388072014, -0.03756850212812424, -0.037804994732141495, -0.06515207886695862, -0.058941520750522614, -0.01746925711631775, 0.06258150190114975, -0.004589661955833435, -0.03473244979977608, 0.03392626345157623, 0.0034728078171610832, -0.10120312869548798, 0.0016982193337753415, -0.0626925677061081, -0.03045937977731228, -0.028955940157175064, -0.02001388743519783, 0.06206444278359413, -0.03501087799668312, -0.035959117114543915, 0.016926662996411324, 0.01829504407942295, 0.010262544266879559, -0.0008674901910126209, 0.03472985699772835, -0.0245442483574152, -0.014569402672350407, 0.028246158733963966, 0.07706853002309799, -0.013956034556031227, -0.052921831607818604, -0.01097077690064907, 0.008648188784718513, 0.04229302331805229, 0.0060292505659163, -0.027474984526634216, 0.012933901511132717, 0.03918822854757309, 0.03872418776154518, -0.03219800814986229, 0.02494841068983078, -0.011059415526688099, 0.013431821949779987, -0.016644703224301338, -0.05004146322607994, 0.0208854041993618, 0.015553515404462814, 0.04494599625468254, 0.0012267043348401785, -0.028141889721155167, -0.007437871303409338, -0.030388852581381798, -0.03895092010498047, -0.0037280814722180367, -0.003934590145945549, 0.021568922325968742, 0.03342609107494354, -0.020248860120773315, -0.043993256986141205, 0.014555146917700768, 0.0442008338868618, -0.022913336753845215, -0.05165858566761017, -0.040258195251226425, -0.022222843021154404, -0.01856285333633423, 0.021340079605579376, -0.0021289328578859568, -0.0009717430802993476, 0.028831813484430313, -0.007303446996957064, -0.0022376272827386856, 0.023587770760059357, 0.011792264878749847, -0.022510433569550514, -0.051007844507694244, 0.019922396168112755, 0.0008873051265254617, -0.02046559751033783, -0.027124864980578423, -0.016445670276880264, 0.04402070492506027, 0.04455840215086937, -0.000847811228595674, 0.026924574747681618, 0.008709205314517021, 0.021585751324892044, -0.0012939686421304941, -0.00011196847481187433, -0.07259578257799149, -0.00031566459801979363, -0.0390208438038826, -0.018657075241208076, -0.007771298289299011, 0.054549336433410645, -0.007817834615707397, -0.028690701350569725, -0.013286575675010681, 0.015426905825734138, -0.06175882741808891, 0.0005213036783970892, 0.0015494177350774407, 0.003937441855669022, 0.04591654613614082, -0.03273407742381096, 0.04749590903520584, -0.0502142608165741, -0.036938171833753586, 0.015023387968540192, -0.00837776716798544, -0.018709640949964523, 0.035050492733716965, 0.022437486797571182, 0.014330508187413216, 0.009802102111279964, 0.06820305436849594, 0.029264003038406372, 0.02690403163433075, 0.010391340591013432, -0.0017143257427960634, 0.02101827599108219, -0.006443255115300417, 0.03595760092139244, 0.018584245815873146, -0.006026005372405052, 0.013867617584764957, -0.009403363801538944, 0.012513375841081142, -0.019625380635261536, 0.002412071917206049, -0.0253897774964571, 0.05413489788770676, -0.011854509823024273, -0.06926753371953964, 0.03436819836497307, -0.02624417468905449, 0.029939141124486923, 0.025027966126799583, 0.037946611642837524, 0.008755514398217201, -0.01888008788228035, 0.038382671773433685, 0.02530805580317974, -0.03990864381194115, -0.013934101909399033, -0.0008078060927800834, 0.01169666275382042, -0.004843101371079683, -0.0007508533308282495, -0.06913889199495316, -0.018648449331521988, 0.004374462179839611, -0.0020798223558813334, -0.05087938532233238, -0.0567098930478096, -0.018807148560881615, 0.0011655028210952878, -0.021785197779536247, 0.024456871673464775, 0.006462587509304285, 0.006711288820952177, -0.044813890010118484, -0.00774693489074707, 0.02691849321126938, -0.024255085736513138, -0.010988717898726463, 0.010771546512842178, -0.025455620139837265, 0.03372659906744957, -0.0033826841972768307, 0.03549886494874954, 0.01638326421380043, -0.012086675502359867, -0.010653670877218246, -0.056156788021326065, 0.00964197888970375, -0.010053814388811588, 0.05750419199466705, 0.013821699656546116, 0.019850879907608032, -0.04154735058546066, -0.012095057405531406, -0.01252081897109747, 0.010756663978099823, 0.009545821696519852, 0.016201091930270195, 0.03187032788991928, 0.04096146300435066, 0.013752995990216732, 0.02956434153020382, -0.006602847948670387, -0.016869110986590385, 0.08568014204502106, -0.03624477982521057, -0.04707884415984154, 0.00012594120926223695, -0.07985337823629379, 0.00302154291421175, 0.02992822788655758, 0.0280291885137558, -0.04657724127173424, 0.05934687331318855, 0.04786239191889763, -0.009098226204514503, 0.05053120478987694, -0.01818854920566082, 0.01860802248120308, -0.027396000921726227, -0.007249468006193638, -0.08358747512102127, 0.004375279415398836, 0.07616640627384186, 0.010025964118540287, -0.019649667665362358, -0.036503832787275314, -0.04216061532497406, 0.024977082386612892, -0.03988383337855339, -0.02246067300438881, 0.03599535673856735, -0.038955189287662506, 0.0006906834896653891, 0.018377380445599556, -0.0724545419216156, 0.02765916846692562, 0.03269260749220848, -0.02630625292658806, -0.05088459700345993, -0.048092070966959, 0.05286566540598869, 0.01266879215836525, 0.025739636272192, -0.04315477982163429, -0.018271392211318016, 0.05885467678308487, 0.008954113349318504, 0.029752863571047783, 0.03858895227313042, -0.024480512365698814, 0.028948916122317314, 0.022482754662632942, -0.009332343004643917, 0.030615348368883133, 0.017800411209464073, -0.021924059838056564, -0.0570795014500618, 0.021043792366981506, 0.0038130588363856077, -0.03409707546234131, -0.03472988307476044, 0.051055051386356354, 0.012508968822658062, -0.037257056683301926, -0.02422097884118557, 0.03366703912615776, -0.009962520562112331, -0.049583800137043, -0.044092755764722824, 0.023091789335012436, -0.03928827494382858, 0.05126984044909477, 0.0012155998265370727, 0.028388934209942818, 0.06413159519433975, -0.02008279599249363, -0.016241230070590973, 0.0010386566864326596, 0.07442232966423035, 0.0970509722828865, 0.002374283503741026, 0.0026304584462195635, 0.052307337522506714, 0.01149035058915615, -0.04734867811203003, -0.006345806177705526, -0.011682279407978058, -0.04865246266126633, 0.027873260900378227, -0.028587551787495613, 0.05883584916591644, -0.03203000873327255, 0.06907487660646439, -0.05778356269001961, -0.005020164884626865, -0.012208625674247742, 0.00029490431188605726, 0.010011709295213223, 0.024902919307351112, -0.008261040784418583, 0.038815487176179886, -0.024121904745697975, -0.04108607769012451, 0.022723009809851646, -0.007937485352158546, -0.03642779961228371, 0.03976377472281456, -0.03148607537150383, -0.011649408377707005, 0.01735619641840458, -0.008088193833827972, 0.06506168097257614, -0.02914370223879814, 0.01570078358054161, 0.02927262894809246, -0.005243493709713221, -0.0006860092398710549, -0.028464900329709053, 0.004231866914778948, -0.01073765940964222, -0.00007651767373317853, -0.025726795196533203, -0.0046449205838143826, -0.01171580608934164, -0.028994234278798103, 0.01691894605755806, 0.008821352384984493, 0.009426718577742577, -0.009283310733735561, -0.022364987060427666, -0.04155801609158516, -0.06593882292509079, -0.051247406750917435, -0.026520099490880966, -0.07087197154760361, -0.0138180460780859, 0.01867733523249626, -0.014325751923024654, -0.027334172278642654, -0.01380015630275011, -0.04089132696390152, -0.00795250479131937, 0.054342273622751236, -0.028559744358062744, 0.01433717180043459, 0.033464040607213974, 0.013550064526498318, 0.019989894703030586, 0.02794909104704857, 0.05036156624555588, 0.014184089377522469, -0.0035625630989670753, -0.04197464883327484, -0.01866583153605461, 0.030519919469952583, 0.026470880955457687, -0.0030827478040009737, -0.09149904549121857, -0.010214859619736671, 0.018041197210550308, 0.020290208980441093, -0.05581334978342056, -0.031107895076274872, 0.03663709759712219, 0.018961487337946892, 0.04511881619691849, -0.003787617664784193, -0.0023315942380577326, 0.007835580967366695, -0.0018059005960822105, 0.032626938074827194, 0.0024764863774180412, 0.035151056945323944, -0.010679583996534348, 0.0729173868894577, 0.05636746436357498, -0.037498410791158676, -0.03200403228402138, -0.0028284171130508184, -0.019714344292879105, 0.00813673809170723, -0.0537077821791172, -0.047170307487249374, -0.05067383125424385, -0.07856376469135284, -0.018182335421442986, 0.012622077018022537, -0.004621011205017567, -0.021788377314805984, 0.013536727987229824, 0.029461676254868507, -0.042356811463832855, 0.010632464662194252, -0.03988391160964966, 0.045070771127939224, -0.009866814129054546, -0.026829155161976814, 0.009677070192992687, 0.013588626869022846, 0.008332631550729275, -0.009795972146093845, 0.03171147406101227, -0.054857734590768814, -0.0070465486496686935, -0.0024592133704572916, 0.022623499855399132, 0.0669436976313591, 0.02175491861999035, -0.01589704491198063 ]
[ -0.08800800889730453, 0.014587683603167534, -0.036085885018110275, -0.03281676024198532, 0.051255688071250916, -0.0624791756272316, 0.021170970052480698, 0.04667598381638527, 0.015258598141372204, -0.02982059307396412, 0.025722462683916092, -0.03486540541052818, -0.008086826652288437, 0.01547257136553526, 0.0781501978635788, -0.025541985407471657, -0.03878512606024742, -0.036241285502910614, -0.022037463262677193, 0.06263091415166855, 0.0009144169744104147, -0.046508342027664185, -0.00844343937933445, -0.029212551191449165, 0.017814410850405693, 0.01117185689508915, 0.06345847249031067, 0.013937227427959442, -0.013319287449121475, -0.1860787570476532, 0.01820738986134529, 0.0020562377758324146, -0.000005771520591224544, 0.00046721103717572987, 0.02479279786348343, 0.03466055914759636, 0.015040196478366852, -0.03486949950456619, 0.017214788123965263, 0.044955164194107056, 0.020055711269378662, 0.02167818695306778, -0.052848950028419495, -0.001362267299555242, 0.06850755214691162, -0.009915250353515148, -0.0033625580836087465, 0.011151574552059174, -0.022962111979722977, 0.005198536906391382, -0.021237127482891083, -0.0028566792607307434, 0.03565781190991402, -0.022874146699905396, 0.01836220547556877, 0.015573020093142986, 0.05548316240310669, 0.08419642597436905, 0.014228977262973785, 0.05817209184169769, 0.019273942336440086, 0.006445909384638071, -0.14057831466197968, 0.0841732770204544, 0.029293019324541092, 0.0313718356192112, -0.03604350984096527, 0.002820336725562811, -0.021434174850583076, 0.06060072407126427, 0.020355571061372757, -0.010993793606758118, -0.05691719800233841, 0.054712988436222076, -0.027412258088588715, 0.029853248968720436, 0.007033843547105789, 0.030925439670681953, 0.05916326493024826, -0.027346083894371986, -0.06369847059249878, -0.025769639760255814, -0.026911932975053787, -0.016728749498724937, -0.05550414323806763, 0.04440391808748245, -0.01975085213780403, 0.07377789914608002, 0.021408911794424057, 0.05149802938103676, 0.020008312538266182, 0.017571916803717613, 0.051491111516952515, 0.007740601431578398, -0.0942590981721878, 0.023945607244968414, -0.02303064614534378, 0.007652753032743931, -0.006217279937118292, 0.4125598073005676, 0.03222176060080528, -0.026757122948765755, 0.027698902413249016, 0.033098988234996796, 0.0037227526772767305, -0.004708515480160713, -0.00035308991209603846, -0.04801236465573311, 0.021380502730607986, 0.0035937316715717316, -0.021188512444496155, -0.01118245255202055, 0.01572471484541893, -0.08852242678403854, -0.01994827203452587, 0.034245364367961884, 0.04345736280083656, 0.02115010656416416, -0.04194004461169243, 0.01716126874089241, -0.018971480429172516, -0.005638462956994772, 0.03686540573835373, 0.005588576663285494, 0.023568596690893173, -0.01472498569637537, 0.02632494457066059, 0.052230726927518845, 0.015344241634011269, 0.010700750164687634, 0.013814378529787064, -0.017526105046272278, -0.06295228004455566, 0.019486548379063606, 0.023188885301351547, 0.019380362704396248, 0.03898324444890022, -0.05018703266978264, -0.024669108912348747, 0.029511749744415283, -0.012441553175449371, -0.0566936656832695, -0.009270990267395973, -0.016179751604795456, -0.05554591864347458, 0.07787619531154633, 0.016491711139678955, -0.016370348632335663, -0.014134561643004417, -0.04907985031604767, 0.009921004064381123, 0.07067077606916428, -0.0031122532673180103, -0.06179920211434364, -0.020390916615724564, 0.006940003484487534, 0.04346876218914986, -0.0011282922932878137, -0.05822981521487236, -0.014291121624410152, 0.008076442405581474, -0.021824417635798454, -0.005556284449994564, 0.08326830714941025, 0.055330101400613785, -0.1309346705675125, -0.02792626991868019, 0.037254758179187775, 0.0020607425831258297, -0.07676780223846436, -0.021204501390457153, 0.007595567032694817, -0.05725691467523575, -0.030834343284368515, 0.02157716453075409, -0.030868466943502426, -0.0067319124937057495, -0.018473543226718903, 0.01459431555122137, 0.024552414193749428, -0.025401553139090538, 0.0018794210627675056, -0.05015872046351433, -0.010773003101348877, -0.029179265722632408, -0.047108136117458344, -0.05870916694402695, 0.0381954126060009, -0.006318217143416405, -0.03853137046098709, -0.06851735711097717, -0.01487700454890728, -0.07811799645423889, 0.09127477556467056, -0.0030839869286864996, 0.0007859042380005121, -0.004422742407768965, -0.028959736227989197, -0.002080158330500126, -0.01805870421230793, 0.035887595266103745, 0.04845820739865303, 0.02382863499224186, 0.030422823503613472, -0.061275120824575424, 0.05840739607810974, 0.07807663083076477, -0.019217446446418762, 0.05592029541730881, 0.032232705503702164, -0.060383833944797516, -0.003322542179375887, -0.035798944532871246, 0.02566952258348465, -0.02725343592464924, -0.009631512686610222, 0.0034463077317923307, 0.013846242800354958, 0.031314123421907425, 0.008413653820753098, -0.053056322038173676, 0.014936341904103756, -0.03026723675429821, -0.32548820972442627, -0.046317022293806076, -0.017375968396663666, -0.009410866536200047, 0.015489432960748672, -0.04303927719593048, 0.03954966366291046, -0.028256602585315704, 0.05010665953159332, 0.007943359203636646, 0.10245656222105026, -0.006728560663759708, -0.006953029427677393, -0.09096085280179977, 0.0031710509210824966, 0.03949974849820137, -0.018650898709893227, -0.013601381331682205, -0.02895282953977585, -0.004471635911613703, -0.00414219219237566, -0.03676833212375641, -0.014777415432035923, -0.02384357526898384, -0.0058306441642344, -0.01729363575577736, 0.10064410418272018, 0.009164299815893173, 0.06004275381565094, -0.04677705466747284, 0.05896963179111481, 0.0017757010646164417, 0.010990288108587265, -0.10714619606733322, -0.0018729186849668622, -0.024550123140215874, 0.01190926879644394, 0.015753064304590225, 0.044454365968704224, -0.010783543810248375, -0.042039792984724045, 0.0014885220443829894, -0.057019878178834915, -0.07582651078701019, -0.004163932055234909, 0.01672402396798134, -0.03565937653183937, -0.005278813652694225, 0.004790321923792362, 0.04583725705742836, 0.0015504452167078853, 0.004326155409216881, 0.005490492098033428, 0.03243892267346382, 0.016750646755099297, -0.022333690896630287, -0.058255355805158615, -0.03413993492722511, 0.0350874625146389, 0.02800210565328598, 0.026051072403788567, 0.05902897194027901, 0.027269916608929634, -0.058353740721940994, 0.021282076835632324, -0.03217371553182602, -0.006892290432006121, 0.01318940706551075, 0.06058075278997421, -0.06928253173828125, -0.032541826367378235, 0.11193618178367615, 0.004899735562503338, 0.05348631367087364, 0.03497975319623947, 0.025619901716709137, 0.008791341446340084, -0.025948774069547653, 0.019437123090028763, 0.029838595539331436, 0.013668901287019253, -0.013118790462613106, 0.05625849962234497, -0.03128086030483246, -0.014977756887674332, 0.07371210306882858, -0.013946790248155594, -0.004904584493488073, 0.0708133801817894, -0.0030738331843167543, -0.028048407286405563, 0.022218482568860054, -0.03854003921151161, -0.06571944802999496, 0.020581156015396118, -0.014080637134611607, -0.26595208048820496, 0.023152142763137817, 0.007461383007466793, 0.0770328938961029, -0.02051669918000698, -0.010893499478697777, 0.040141936391592026, -0.03990845009684563, -0.03886652737855911, 0.037963006645441055, 0.07054868340492249, 0.04808352515101433, -0.0011462916154414415, 0.0008107307949103415, 0.022478137165308, 0.01311450731009245, 0.006687117274850607, 0.00271467468701303, -0.0005275924922898412, -0.017934508621692657, 0.011372070759534836, -0.054966408759355545, 0.17555783689022064, 0.013514562509953976, 0.029459679499268532, 0.08544574677944183, -0.021303553134202957, 0.03229372575879097, 0.05442854389548302, -0.003147989744320512, -0.02106819674372673, 0.03428833559155464, 0.024395741522312164, 0.016807716339826584, 0.018508341163396835, -0.08690672367811203, 0.0008998317644000053, -0.005407810676842928, 0.005199671257287264, -0.029858943074941635, -0.043505728244781494, 0.02422458678483963, -0.0230659581720829, 0.025446439161896706, 0.08484552055597305, -0.0031584131065756083, -0.027530750259757042, -0.02654433064162731, -0.07988923043012619, -0.002987323561683297, -0.06830918043851852, -0.07257780432701111, -0.013882302679121494, -0.012727160938084126, -0.0022052933927625418, 0.06601662933826447, -0.003175151301547885, -0.059383731335401535, -0.00506250187754631, 0.015577955171465874, -0.01665520668029785, -0.0099879065528512, 0.09681593626737595, -0.012295112945139408, 0.01956804469227791 ]
[ 0.00337899848818779, 0.08131608366966248, -0.004014580976217985, 0.005773468408733606, -0.023572074249386787, 0.016874751076102257, -0.023031776770949364, -0.023579759523272514, -0.01012859120965004, -0.0036159458104521036, -0.04154757782816887, 0.02891087904572487, 0.06778325140476227, -0.00036201102193444967, 0.018648646771907806, -0.020098118111491203, 0.009665394201874733, 0.02090132236480713, 0.012411286123096943, -0.014491661451756954, 0.0188665222376585, -0.015352926217019558, 0.04035574942827225, -0.038187455385923386, -0.009946188889443874, -0.010599263943731785, -0.0011600169818848372, -0.011876793578267097, -0.008306819945573807, -0.11803357303142548, -0.026558736339211464, -0.025608180090785027, -0.03172025457024574, -0.021140651777386665, -0.037281740456819534, 0.005012731067836285, 0.03962266072630882, 0.030064143240451813, 0.01729966141283512, 0.04447503760457039, 0.015311529859900475, -0.02719353884458542, -0.028548335656523705, 0.022295357659459114, 0.00009415052045369521, -0.010193140245974064, -0.028003200888633728, -0.012451249174773693, 0.007872740738093853, -0.02354421839118004, -0.0365777313709259, -0.02223668433725834, 0.017586207017302513, 0.010258461348712444, -0.02976801246404648, -0.019474511966109276, -0.05192609131336212, 0.008780477568507195, 0.019403841346502304, 0.0034045446664094925, 0.03531540557742119, -0.00900744367390871, -0.0036578099243342876, -0.027598803862929344, -0.015036173164844513, -0.010590662248432636, 0.01860303245484829, 0.023758690804243088, -0.015635976567864418, -0.002788814716041088, 0.014264656230807304, 0.05032913386821747, -0.05536205694079399, 0.008969013579189777, -0.03751017898321152, 0.010576973669230938, 0.03459895774722099, -0.01624920405447483, 0.014602527022361755, 0.0433816984295845, -0.010167128406465054, 0.004415662027895451, -0.020840920507907867, 0.009211183525621891, -0.03223821520805359, 0.045177046209573746, 0.006068820599466562, -0.03422514349222183, -0.009492174722254276, 0.03536241129040718, -0.028293684124946594, 0.016216302290558815, -0.014371908269822598, -0.019883424043655396, -0.0822424665093422, -0.008597387000918388, -0.007459873799234629, -0.012158654630184174, 0.008427876979112625, 0.8185309767723083, 0.028430644422769547, -0.011912819929420948, 0.03256746754050255, 0.013195126317441463, 0.010152229107916355, 0.011737663298845291, 0.015707548707723618, 0.030161000788211823, 0.011759534478187561, 0.011074580252170563, -0.059431031346321106, 0.013680213131010532, 0.002294229343533516, 0.03186599537730217, -0.011038735508918762, 0.027075523510575294, 0.04937659576535225, -0.005304787307977676, -0.02645520679652691, 0.0328298881649971, 0.017688708379864693, 0.014836166985332966, 0.013828598894178867, 0.00928659550845623, -0.000051459988753777, -0.13252152502536774, -0.0035643880255520344, -7.253933027254119e-33, 0.06834116578102112, 0.008027073927223682, 0.05151956528425217, 0.029922131448984146, 0.020469099283218384, 0.005858548451215029, 0.028753038495779037, 0.0049316114746034145, -0.00817426759749651, -0.05982981249690056, -0.005311466287821531, -0.016194112598896027, 0.02700570598244667, -0.03073882684111595, -0.009910314343869686, -0.030396832153201103, -0.00011641193850664422, 0.01697635091841221, 0.01464497298002243, 0.02085377834737301, 0.008874714374542236, 0.041958652436733246, -0.00594807043671608, 0.030575687065720558, -0.014369233511388302, 0.012618554756045341, 0.008455491624772549, 0.007693157065659761, -0.03523882105946541, -0.04212182015180588, -0.015508163720369339, -0.012954172678291798, -0.02274383045732975, -0.05449337512254715, 0.040664028376340866, -0.060280054807662964, -0.01582169532775879, 0.00445950124412775, -0.06209477782249451, -0.08171680569648743, -0.05421522259712219, -0.01405677292495966, -0.015532649122178555, 0.013736466877162457, -0.032394420355558395, -0.05386463552713394, -0.027098119258880615, -0.004414405208081007, 0.0041054617613554, 0.010975189507007599, -0.035161491483449936, 0.0340116061270237, 0.029322268441319466, -0.003692833473905921, -0.026771480217576027, 0.004469080362468958, 0.06111603230237961, 0.03271336108446121, -0.01316878478974104, 0.004400378558784723, 0.016332408413290977, -0.020448949187994003, -0.04335520789027214, 0.02614997699856758, 0.039045002311468124, 0.005500733386725187, -0.030525023117661476, -0.011954189278185368, -0.001144464360550046, 0.007725188508629799, 0.007254245225340128, -0.00497123459354043, -0.005610408261418343, 0.002135892864316702, 0.030729638412594795, -0.031586986035108566, -0.018932096660137177, 0.0017949825851246715, 0.0037035499699413776, -0.0006259470828808844, 0.018573448061943054, -0.016979597508907318, 0.0014158672420307994, -0.00753041310235858, 0.0017359656048938632, -0.010339923202991486, 0.05388650670647621, -0.011886262334883213, 0.04148748889565468, 0.03529775142669678, 0.05440811440348625, 0.01214856468141079, -0.013781081885099411, -0.025988547131419182, -0.016088027507066727, 7.023865272911181e-33, -0.017042070627212524, 0.017344241961836815, -0.04436013475060463, 0.015651801601052284, 0.008788539096713066, 0.00962624792009592, 0.006668186280876398, 0.04513416811823845, -0.08348109573125839, 0.03678617998957634, 0.010461714118719101, -0.026744943112134933, -0.004333538468927145, 0.037651482969522476, 0.053272902965545654, 0.021327553316950798, 0.044140640646219254, -0.07700128108263016, 0.017294345423579216, 0.006699258927255869, 0.021228617057204247, -0.017347726970911026, 0.02214941196143627, 0.01517737377434969, 0.02199609763920307, 0.018992934376001358, -0.009919203817844391, 0.020582517609000206, -0.019293274730443954, -0.016919048503041267, -0.000991786364465952, -0.03307288885116577, 0.004857643041759729, -0.0076032462529838085, -0.021291349083185196, -0.005949324928224087, 0.012664763256907463, 0.04976271092891693, 0.031208449974656105, -0.03621331974864006, 0.005555847659707069, -0.05887322872877121, -0.008370335213840008, 0.06946355849504471, 0.017709048464894295, 0.008354567922651768, -0.008383304812014103, 0.014743954874575138, -0.012874165549874306, 0.030324246734380722, 0.0017679723678156734, 0.029819825664162636, -0.008817290887236595, 0.009213924407958984, 0.05278004705905914, -0.041118890047073364, -0.018599368631839752, 0.02296295203268528, -0.0038989598397165537, 0.03729713708162308, 0.0013035084120929241, -0.03413340821862221, -0.022811604663729668, 0.0559622198343277, 0.0043177735060453415, -0.039350587874650955, -0.00498976232483983, -0.0112306484952569, -0.00042372109601274133, 0.001547971391119063, 0.0027811552863568068, 0.005105176474899054, 0.0027875739615410566, 0.02431606315076351, 0.07637208700180054, -0.024546314030885696, -0.013829278759658337, -0.014871724881231785, -0.060574423521757126, 0.021448591724038124, -0.013495627790689468, -0.0158829465508461, -0.019171733409166336, -0.02422536537051201, 0.0273448396474123, -0.02922140620648861, 0.0031380001455545425, 0.038325004279613495, -0.029190022498369217, -0.013643951155245304, -0.0021764845587313175, 0.026793373748660088, -0.035075701773166656, 0.017358217388391495, -0.01082315668463707, -1.2547584304911652e-8, -0.007065959740430117, -0.01763085462152958, -0.007231627590954304, -0.004398113116621971, -0.007693381980061531, 0.030747562646865845, -0.04402311518788338, -0.030223697423934937, -0.009641536511480808, 0.026715168729424477, 0.02210366725921631, 0.002229020232334733, 0.026121582835912704, -0.018236208707094193, 0.03960230574011803, -0.05800265446305275, -0.004640717525035143, -0.02931555174291134, 0.03459801524877548, 0.009490585885941982, 0.029892519116401672, 0.02741038054227829, -0.0414140447974205, 0.026772156357765198, 0.03787943720817566, -0.010059159249067307, 0.0389377623796463, -0.0459543839097023, -0.011671514250338078, -0.044260744005441666, -0.02649080567061901, -0.005234234035015106, -0.04523768648505211, -0.01660422421991825, -0.03305446356534958, 0.0007632633205503225, -0.01946718618273735, 0.029341453686356544, 0.01905815675854683, 0.024445950984954834, -0.0014392794109880924, 0.030454015359282494, -0.02894180826842785, -0.013895140960812569, 0.013653703033924103, 0.009493124671280384, -0.03390464931726456, 0.014849323779344559, 0.036731887608766556, -0.06269112974405289, -0.05974924564361572, 0.010961602441966534, 0.010183123871684074, 0.0011231377720832825, 0.016385752707719803, -0.014100090600550175, 0.01544608548283577, -0.018061375245451927, 0.019721277058124542, -0.007982278242707253, 0.04799342900514603, 0.010216500610113144, -0.055215030908584595, -0.02551288716495037 ]
jersey-client-testing-external-calls
https://markhneedham.com/blog/2013/07/28/jersey-client-testing-external-calls
false
2013-07-19 00:37:41
Graph Processing: Calculating betweenness centrality for an undirected graph using graphstream
[ "graphs" ]
[ "Software Development" ]
Since I now spend most of my time surrounded by http://www.neo4j.org/[graphs] I thought it'd be interesting to learn a bit more about http://jim.webber.name/2011/08/graph-processing-versus-graph-databases/[graph processing], a topic my colleague https://twitter.com/jimwebber[Jim] wrote about a couple of years ago. I like to think of the types of queries you'd do with a graph processing engine as being similar in style http://www.markhneedham.com/blog/2012/07/23/neo4j-graph-global-vs-graph-local-queries/[graph global queries] where you take most of the nodes in a graph into account and do some sort of calculation. One of the interesting graph global algorithms that I've come across recently is 'http://en.wikipedia.org/wiki/Betweenness_centrality[betweenness centrality]' which allows us to work out the centrality of each node with respect to the rest of the network/graph. ____ [Betweenness centrality] is equal to the number of shortest paths from all vertices to all others that pass through that node. Betweenness centrality is a more useful measure (than just connectivity) of both the load and importance of a node. The former is more global to the network, whereas the latter is only a local effect. ____ I wanted to find a library that I could play around with to get a better understanding of how this algorithm works and I came across http://graphstream-project.org/doc/Algorithms/Betweenness-Centrality_1.0/[graphstream] which seems to do the job. I was able to get up and running by creating a Maven pom file with the following dependencies: [source,xml] ---- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <packaging>jar</packaging> <artifactId>my-gs-project</artifactId> <groupId>org.graphstream</groupId> <version>1.0-SNAPSHOT</version> <name>my-gs-project</name> <description/> <dependencies> <dependency> <groupId>org.graphstream</groupId> <artifactId>gs-core</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>org.graphstream</groupId> <artifactId>gs-algo</artifactId> <version>1.0</version> </dependency> </dependencies> </project> ---- I wanted to find a worked example which I could use to understand how betweenness centrality is calculated and I found one on http://www.cse.unr.edu/~mgunes/cs765/cs790f09/Lecture13.ppt[slide 14 of these lecture notes] from The University of Nevada. The example graph looks like this: image::{{<siteurl>}}/uploads/2013/07/betweeness.png[Betweeness,500] And to work out the betweenness centrality we need to take every pair of nodes and see which (if any) nodes a path between the two must pass through. [source,text] ---- A -> B: None A -> C: B A -> D: B, C A -> E: B, C, D B -> C: None B -> D: C B -> E: C, D C -> D: None C -> E: D D -> E: None ---- So for this example we end up with the following centrality values for each node:~~~ ~~~text A: 0 B: 3 C: 4 D: 3 E: 0 ~~~ If we run this through graph stream we'll see values double to this because it ignores the direction of a relationship (e.g. it's possible to go from B\->A even though that relationship is actually only from A\->B.): ~~~java public class Spike { public static void main(String[] args) { Graph graph = new SingleGraph("Tutorial 1"); Node A = graph.addNode("A"); Node B = graph.addNode("B"); Node E = graph.addNode("E"); Node C = graph.addNode("C"); Node D = graph.addNode("D"); graph.addEdge("AB", "A", "B"); graph.addEdge("BC", "B", "C"); graph.addEdge("CD", "C", "D"); graph.addEdge("DE", "D", "E"); BetweennessCentrality bcb = new BetweennessCentrality(); bcb.init(graph); bcb.compute(); System.out.println("A="+ A.getAttribute("Cb")); System.out.println("B="+ B.getAttribute("Cb")); System.out.println("C="+ C.getAttribute("Cb")); System.out.println("D="+ D.getAttribute("Cb")); System.out.println("E="+ E.getAttribute("Cb")); } } ~~~ ~~~text A=0.0 B=6.0 C=8.0 D=6.0 E=0.0 ~~~ What we can learn from this calculation is that in this graph node 'C' is the most influential one because most paths between other nodes have to pass through it. There's not much in it though as nodes 'B' and 'D' are close behind. Now that I had a better understanding of how to manually execute the algorithm I thought I should try and work out what the example from the http://graphstream-project.org/doc/Algorithms/Betweenness-Centrality_1.0/[documentation] would return. The example graph looks like this: image::{{<siteurl>}}/uploads/2013/07/betweeness2.png[Betweeness2,500] And the paths between the nodes would be as follows: _Since I know graphstream treats the graph as being undirected I don't respect the direction of relationships in this calculation)_ ~~~text A \-> B: Direct Path Exists A \-> C: B A \-> D: E A \-> E: Direct Path Exists B \-> A: Direct Path Exists B \-> C: Direct Path Exists B \-> D: E or C B \-> E: Direct Path Exists C \-> A: B C \-> B: Direct Path Exists C \-> D: Direct Path Exists C \-> E: D or B D \-> A: E D \-> B: C or E D \-> C: Direct Path Exists D \-> E: Direct Path Exists E \-> A: Direct Path Exists E \-> B: Direct Path Exists E \-> C: D or B E \-> D: Direct Path Exists ~~~ For some of these there were two potential paths so we give 1/2 a point to each node which leads to these totals ~~~text A: 0 B: 3 C: 1 D: 1 E: 3 ~~~ If we run that through graphstream we'd expect to see the same values: ~~~java public class Spike { public static void main(String[] args) { Graph graph = new SingleGraph("Tutorial 1"); Node A = graph.addNode("A"); Node B = graph.addNode("B"); Node E = graph.addNode("E"); Node C = graph.addNode("C"); Node D = graph.addNode("D"); graph.addEdge("AB", "A", "B"); graph.addEdge("BE", "B", "E"); graph.addEdge("BC", "B", "C"); graph.addEdge("ED", "E", "D"); graph.addEdge("CD", "C", "D"); graph.addEdge("AE", "A", "E"); BetweennessCentrality bcb = new BetweennessCentrality(); bcb.init(graph); bcb.compute(); System.out.println("A="+ A.getAttribute("Cb")); System.out.println("B="+ B.getAttribute("Cb")); System.out.println("C="+ C.getAttribute("Cb")); System.out.println("D="+ D.getAttribute("Cb")); System.out.println("E="+ E.getAttribute("Cb")); } } ~~~ ~~~text A=0.0 B=3.0 C=1.0 D=1.0 E=3.0 ~~~ This library does the job for some definition of betweenness centrality but ideally I'd like to have the direction of relationships taken into account so I'm going to give it a try with one of the other libraries that I've come across. So far the other graph processing libraries I know of are http://graphlab.org/graphchi/[graphchi], http://jung.sourceforge.net/[JUNG], https://github.com/stanford-ppl/Green-Marl[Green-Marl] and http://giraph.apache.org/[giraph] but if you know of any others that I should try out please let me know. *** Update ** (27th July 2013)* While http://www.markhneedham.com/blog/2013/07/27/graph-processing-betweeness-centrality-neo4js-cypher-vs-graphstream/[writing another post] about betweenness centrality I realised I'd made a mistake in the calculations on this post so I've corrected those now.
null
null
[ 0.01051816251128912, -0.01665499433875084, 0.017816994339227676, 0.046839918941259384, 0.07253815978765488, -0.0024384213611483574, 0.028246503323316574, 0.041895825415849686, 0.0035959500819444656, -0.024878276512026787, 0.013605989515781403, -0.03546727076172829, -0.054868992418050766, 0.024553829804062843, -0.0008527322788722813, 0.05314890295267105, 0.06182464584708214, 0.009946746751666069, 0.01585652306675911, -0.026837578043341637, 0.02284286543726921, 0.05790260434150696, 0.0071388063952326775, 0.039527129381895065, 0.027420619502663612, 0.004145619459450245, 0.010701578110456467, -0.0048714918084442616, -0.03288855031132698, -0.028083058074116707, 0.0404793806374073, -0.006159310694783926, 0.009843961335718632, -0.003082108683884144, 0.019186964258551598, -0.004308320116251707, -0.047703854739665985, 0.01799841970205307, 0.011178320273756981, 0.002993382979184389, -0.09531792253255844, 0.058187540620565414, -0.024393953382968903, 0.019722366705536842, -0.03222368285059929, 0.010321052744984627, -0.039164431393146515, 0.03754989802837372, -0.0013305400498211384, 0.021450746804475784, -0.11930388957262039, 0.031858429312705994, -0.007147897966206074, 0.03943667933344841, -0.0137734180316329, 0.027531228959560394, 0.02164008654654026, -0.06442811340093613, 0.028448354452848434, -0.031113483011722565, -0.007695183157920837, 0.005408898461610079, -0.003598154289647937, 0.04340841621160507, 0.0034215624909847975, -0.047036606818437576, 0.01198316365480423, 0.0546058714389801, -0.03984484076499939, -0.009402281604707241, 0.01215776614844799, 0.03130078688263893, -0.006386965047568083, 0.02847399190068245, 0.03271342068910599, -0.039631135761737823, -0.0008637999417260289, 0.04025610536336899, 0.02804211899638176, 0.05163224786520004, -0.023860856890678406, 0.012297062203288078, 0.020589683204889297, 0.024573517963290215, 0.00999300554394722, -0.013798997737467289, -0.014705049805343151, -0.03357723727822304, -0.062137432396411896, 0.03368828818202019, -0.010596097446978092, -0.07359298318624496, -0.01479831151664257, 0.01263368595391512, -0.009916597977280617, 0.004017941188067198, 0.032778944820165634, 0.0042650275863707066, 0.025390395894646645, -0.023308664560317993, -0.008872664533555508, -0.02565767988562584, -0.017938941717147827, 0.006244613789021969, -0.07542664557695389, -0.030196918174624443, -0.0305643267929554, -0.022098982706665993, 0.0034516830928623676, -0.01822025328874588, -0.04763574153184891, -0.007651066407561302, -0.00974153634160757, 0.013437177985906601, -0.06741455942392349, 0.06814192980527878, -0.005127647425979376, -0.052759550511837006, -0.005077130626887083, 0.013722233474254608, 0.05184101685881615, 0.04161113500595093, -0.010678309015929699, 0.07029786705970764, -0.03738977760076523, 0.0384993813931942, -0.005875406786799431, 0.02485261857509613, -0.020351290702819824, -0.055498771369457245, -0.007565719541162252, 0.05231120437383652, 0.00759760569781065, 0.006532054860144854, -0.016432391479611397, -0.0508001483976841, -0.004781574476510286, 0.037962839007377625, 0.050439272075891495, 0.010581371374428272, 0.008087251335382462, -0.06630491465330124, 0.018189750611782074, 0.018876684829592705, 0.044313106685876846, 0.0036267470568418503, -0.014512947760522366, -0.039802953600883484, -0.015542865730822086, 0.00738391000777483, 0.0193819347769022, 0.039907969534397125, 0.03168986737728119, -0.037046752870082855, 0.01650136336684227, 0.11885988712310791, 0.036589235067367554, 0.0025208417791873217, -0.01609611324965954, 0.023002611473202705, 0.027110153809189796, 0.026867948472499847, 0.009726650081574917, 0.05677472800016403, -0.014585115946829319, -0.015839647501707077, -0.005085984710603952, 0.06131887063384056, -0.0017603457672521472, 0.02290211245417595, -0.0404023714363575, -0.05936748534440994, 0.04657680541276932, -0.06545408070087433, -0.02657925896346569, 0.04373962804675102, 0.06174463406205177, 0.03677487373352051, 0.016542626544833183, 0.010486748069524765, -0.06563732773065567, 0.037152864038944244, 0.007657072506844997, 0.006059241946786642, 0.015382559970021248, -0.0016424308996647596, 0.08153296262025833, 0.03487471118569374, -0.014766336418688297, 0.014069504104554653, -0.06394078582525253, -0.05481455847620964, -0.01753486506640911, 0.004955512937158346, 0.055181268602609634, -0.004208870232105255, 0.021337075158953667, 0.0398680754005909, 0.029375173151493073, 0.004390698857605457, 0.023432299494743347, 0.004898061975836754, 0.030009716749191284, -0.05659327283501625, -0.06292751431465149, 0.060116998851299286, 0.023665141314268112, -0.06078701093792915, -0.05651324614882469, -0.005366342607885599, -0.032465580850839615, 0.004676268436014652, 0.014132537879049778, -0.032497696578502655, 0.023436356335878372, 0.03826333209872246, 0.00812490563839674, -0.01669749990105629, 0.04604599252343178, -0.03815482556819916, 0.050241488963365555, -0.008635289035737514, -0.0207047276198864, 0.008217004127800465, 0.004292311146855354, 0.10044653713703156, 0.07180355489253998, -0.02287793532013893, -0.06678090989589691, 0.05312356352806091, 0.018194124102592468, -0.02948419563472271, 0.02574293687939644, -0.03170130029320717, 0.01730080507695675, -0.01651022769510746, -0.047256845980882645, -0.01602114923298359, 0.013886135071516037, -0.0360395573079586, 0.003595895366743207, 0.06862257421016693, -0.034811969846487045, 0.06677170842885971, 0.021263251081109047, 0.01956692710518837, -0.0014080152614042163, -0.060675762593746185, -0.05093742161989212, 0.031053977087140083, -0.013604842126369476, -0.013050920329988003, 0.04652277007699013, -0.03005882352590561, -0.0033630148973315954, -0.029997654259204865, -0.009810114279389381, 0.03373705595731735, 0.03852592408657074, 0.06543511152267456, 0.03647354245185852, 0.04447314143180847, -0.029463233426213264, 0.013880168087780476, -0.015828341245651245, -0.06515897065401077, -0.038972098380327225, -0.05808774009346962, 0.04466267675161362, 0.015412474982440472, 0.033562857657670975, -0.018958279862999916, 0.04324761778116226, -0.005647000856697559, -0.01085748616605997, -0.05110292509198189, 0.015061086975038052, -0.0037098152097314596, -0.016456393525004387, -0.030248554423451424, -0.034600865095853806, 0.0482223704457283, -0.043446872383356094, -0.019849976524710655, -0.03642480820417404, -0.051471393555402756, 0.07882839441299438, -0.058269280940294266, -0.03287206590175629, -0.01645176112651825, 0.04283011332154274, 0.03647942095994949, 0.007768225856125355, -0.0006209537386894226, 0.07287221401929855, 0.027253875508904457, 0.024554280564188957, -0.0007021016790531576, 0.021609218791127205, 0.03376579284667969, -0.013897552154958248, 0.027325555682182312, 0.04075869545340538, -0.0008086324669420719, -0.022270990535616875, -0.02195938676595688, 0.01655612699687481, -0.017723405733704567, -0.2772195339202881, 0.028875941410660744, -0.0075642759911715984, -0.058265428990125656, 0.006583906710147858, -0.03604847192764282, -0.011757631786167622, -0.01082389522343874, -0.033849261701107025, -0.01834728568792343, -0.023397069424390793, -0.028250981122255325, -0.029927823692560196, 0.039298366755247116, 0.0065604569390416145, 0.010282626375555992, -0.007946489378809929, -0.05439038202166557, 0.017346518114209175, 0.036382563412189484, -0.006820212118327618, -0.04582319036126137, -0.017023291438817978, 0.0025000383611768484, 0.020741065964102745, 0.05202135071158409, -0.11403237283229828, 0.029980989173054695, -0.04515179246664047, -0.0055240485817193985, 0.02264321595430374, -0.03438476100564003, -0.010550272651016712, -0.008150441572070122, -0.00825501885265112, -0.028782343491911888, 0.02581520937383175, 0.0303721334785223, 0.00380245060659945, 0.005508311092853546, -0.03525158390402794, -0.052433840930461884, -0.015016986057162285, -0.00884037371724844, 0.07214448601007462, 0.021813126280903816, -0.07073114812374115, 0.0008955555385909975, -0.021376093849539757, 0.05127277970314026, -0.026651158928871155, -0.02650933526456356, -0.00584366312250495, 0.010485869832336903, -0.02950875274837017, -0.04544017091393471, -0.00756048271432519, -0.029089534655213356, -0.061515744775533676, -0.04852096363902092, 0.007629911415278912, -0.04036898910999298, 0.02458900585770607, -0.05732829496264458, -0.028651731088757515, -0.025536375120282173, -0.07231761515140533, -0.018905360251665115, 0.0643683448433876, -0.00142006017267704, -0.0029140040278434753, 0.0228230282664299, 0.0005410657031461596, -0.10173852741718292, -0.03809486702084541, -0.040682848542928696, -0.022347424179315567, 0.016014155000448227, -0.012641935609281063, 0.04321266710758209, -0.0350167416036129, -0.03918738290667534, -0.006226473953574896, 0.03297651559114456, 0.008535225875675678, 0.00006614255107706413, 0.02826366387307644, -0.011652521789073944, -0.05759027972817421, 0.01926852948963642, 0.06723486632108688, -0.037090905010700226, -0.027679797261953354, -0.008826487697660923, 0.018084654584527016, 0.011409031227231026, 0.0021121029276400805, -0.0006846071337349713, 0.01551908254623413, 0.034693241119384766, 0.04581794887781143, -0.037247978150844574, 0.010507842525839806, -0.004232398699969053, -0.037702903151512146, 0.013012334704399109, -0.026068659499287605, 0.020858503878116608, 0.04309152811765671, 0.016276495531201363, -0.018180541694164276, -0.03640538081526756, 0.02153741754591465, -0.04268398880958557, -0.025512637570500374, -0.0025289838667958975, 0.004774958360940218, 0.021062223240733147, 0.03719005361199379, -0.032991938292980194, -0.061107393354177475, 0.027684880420565605, 0.0366787314414978, -0.019005293026566505, -0.05259324610233307, -0.02357381209731102, -0.049885109066963196, -0.029930157586932182, 0.03807605803012848, 0.029187796637415886, -0.029591331258416176, 0.05345849320292473, 0.03253176808357239, -0.035506121814250946, 0.025295205414295197, -0.031722284853458405, -0.034820836037397385, -0.018123827874660492, 0.038651470094919205, -0.009721897542476654, -0.01334688626229763, 0.029559016227722168, 0.01758757419884205, 0.01739472709596157, 0.05206212401390076, 0.017872024327516556, -0.0026554230134934187, 0.0010155459167435765, 0.025783203542232513, -0.02193319797515869, 0.01824554242193699, -0.04155397042632103, 0.021979963406920433, -0.03506198525428772, -0.021649425849318504, -0.024797800928354263, 0.049062225967645645, -0.008534454740583897, -0.03874829784035683, -0.022501567378640175, 0.015886470675468445, -0.08435782045125961, -0.007867039181292057, -0.003658183617517352, -0.00751212565228343, 0.06300128251314163, -0.030347293242812157, 0.03478472679853439, -0.005556856747716665, -0.031008081510663033, 0.015269843861460686, 0.016547011211514473, -0.04133306443691254, 0.027986103668808937, -0.006798675749450922, 0.01859222538769245, 0.002540997229516506, 0.036903418600559235, 0.04266669601202011, 0.021337736397981644, -0.029780451208353043, 0.00303515768609941, 0.038270458579063416, 0.023244386538863182, 0.03620607778429985, 0.02804364450275898, -0.012059836648404598, 0.01874217949807644, -0.02324204333126545, 0.0073279086500406265, 0.013420403003692627, 0.012978295795619488, -0.03080778382718563, 0.015838757157325745, -0.021812666207551956, -0.05355989187955856, 0.04437738284468651, -0.02903665602207184, 0.015160912647843361, 0.027131201699376106, -0.006096835248172283, 0.010422746650874615, -0.01954958587884903, 0.04070800542831421, 0.04765734449028969, -0.04725196957588196, -0.01125143002718687, 0.02349259704351425, -0.0191574115306139, 0.003195313736796379, 0.015159214846789837, -0.045509882271289825, -0.027428166940808296, 0.020684687420725822, 0.025832869112491608, -0.04638078436255455, -0.038866396993398666, -0.012280155904591084, 0.006510316394269466, 0.005557846277952194, 0.005370770115405321, 0.008481946773827076, -0.020888444036245346, -0.027536112815141678, -0.010328234173357487, 0.06008022651076317, 0.015081520192325115, -0.0037123870570212603, -0.002564712893217802, -0.026990650221705437, 0.004410760011523962, -0.008936303667724133, 0.019182369112968445, 0.00957913976162672, -0.008558593690395355, 0.03292059153318405, -0.04130147770047188, 0.009921181946992874, -0.010067378170788288, 0.048292357474565506, 0.006485133431851864, 0.007597912102937698, -0.04404705390334129, -0.018536236137151718, -0.027099071070551872, 0.009595590643584728, -0.018669091165065765, 0.0039326963014900684, 0.025639532133936882, 0.009374072775244713, 0.00310423388145864, 0.007560223340988159, -0.005923802964389324, -0.022196553647518158, 0.05626172199845314, -0.04463629797101021, -0.05591464042663574, -0.033231209963560104, -0.04979201778769493, -0.03223428130149841, -0.0136268874630332, -0.007456683088093996, -0.02180149033665657, 0.044942233711481094, 0.04681206867098808, 0.030487101525068283, 0.015901729464530945, 0.006481097545474768, 0.02979784458875656, -0.036449313163757324, -0.012498478405177593, -0.10090231150388718, 0.0006789605831727386, 0.03310149535536766, 0.0007024311344139278, -0.015527601353824139, -0.009919813834130764, -0.02903110347688198, 0.003956724889576435, -0.07168997824192047, -0.03178378567099571, 0.04332711175084114, 0.0050482433289289474, 0.02251105010509491, 0.016765210777521133, -0.056914929300546646, 0.011375684291124344, 0.0315818227827549, -0.04467931017279625, -0.020237604156136513, -0.04600153863430023, 0.03945721313357353, -0.0008184093749150634, 0.04515751078724861, -0.007602992467582226, -0.00955165084451437, 0.07958579063415527, 0.029162248596549034, 0.01343627367168665, 0.05481994152069092, -0.012291480787098408, 0.03841813653707504, 0.0401841476559639, -0.007870908826589584, 0.0001557589857839048, 0.03433193266391754, -0.024570776149630547, -0.04500596970319748, 0.03362904489040375, -0.0017438875511288643, -0.00005014281487092376, -0.04997996985912323, 0.06313809007406235, 0.02086339332163334, -0.046553242951631546, -0.05781044811010361, 0.020270921289920807, -0.017512504011392593, 0.014222647994756699, -0.019991302862763405, 0.018724553287029266, -0.004491910338401794, 0.05885568633675575, -0.04669338837265968, 0.014882471412420273, 0.09229185432195663, 0.0014403673121705651, -0.02238553948700428, 0.01100890338420868, 0.10833550989627838, 0.09587220847606659, 0.03918765112757683, 0.02126161754131317, 0.07461674511432648, -0.024610338732600212, -0.01909494400024414, -0.01928931102156639, -0.01076567079871893, -0.05177938938140869, -0.0014327127719298005, 0.01617991365492344, 0.07162504643201828, -0.03391571715474129, 0.08261371403932571, -0.04743704944849014, -0.014162987470626831, 0.017985045909881592, 0.00970228761434555, 0.03552934154868126, 0.06225953996181488, -0.004254234954714775, 0.023762153461575508, -0.04996006190776825, -0.007350743282586336, -0.01541843730956316, -0.02647966891527176, -0.02499433420598507, 0.028258277103304863, 0.0056308298371732235, 0.003147355979308486, 0.02983386255800724, 0.04747465252876282, 0.09385168552398682, -0.03404201939702034, 0.01598224975168705, -0.019330855458974838, -0.0012137229787185788, -0.005744044668972492, -0.007086615543812513, -0.008675980381667614, -0.01647387072443962, -0.0056915804743766785, -0.03368491306900978, -0.023855803534388542, -0.039411429315805435, -0.02660408243536949, -0.000885302375536412, -0.009353154338896275, -0.018733404576778412, -0.012107080779969692, 0.0030549694783985615, -0.03524624928832054, -0.03726040944457054, -0.04213014990091324, -0.04533524811267853, -0.07151292264461517, -0.009494504891335964, 0.03965681791305542, -0.0025876909494400024, -0.03896600753068924, 0.0060218023136258125, -0.010827800258994102, -0.00994566734880209, 0.039174530655145645, -0.04914108291268349, 0.0008762701763771474, -0.00732977082952857, 0.036454278975725174, 0.00579184852540493, 0.012680659070611, 0.03946202993392944, -0.03149205818772316, 0.007426739204674959, -0.021447131410241127, 0.010999862104654312, 0.0413394458591938, 0.034063536673784256, 0.00461352476850152, -0.08356715738773346, 0.006474360357969999, 0.013761941343545914, -0.025011343881487846, -0.0790402740240097, 0.0032056926283985376, 0.0480186864733696, 0.002335136756300926, 0.04655841737985611, 0.014616717584431171, -0.013047839514911175, -0.042245227843523026, 0.012228860519826412, 0.005429171957075596, -0.006783753167837858, 0.04275422543287277, -0.0013646642910316586, 0.07218519598245621, 0.04504724219441414, -0.009726584888994694, -0.037390150129795074, -0.007647222373634577, -0.00025786616606637836, 0.006511838641017675, -0.03644043207168579, -0.03626212477684021, -0.021857907995581627, -0.08195677399635315, -0.038792867213487625, 0.015029754489660263, -0.005807333160191774, -0.027604343369603157, 0.0047510056756436825, 0.02192273736000061, -0.04628807678818703, 0.01161408331245184, -0.05712956190109253, 0.03195936232805252, -0.011173560284078121, -0.05010930076241493, -0.003649243852123618, -0.003912102431058884, -0.00795755721628666, 0.00817728042602539, 0.02302411012351513, -0.06412708759307861, -0.0246156957000494, -0.005068210419267416, 0.031245402991771698, 0.03174835816025734, 0.03778772056102753, 0.007017956580966711 ]
[ -0.03471994772553444, -0.03169109672307968, -0.042892344295978546, -0.012805558741092682, 0.06887488067150116, -0.020816687494516373, -0.011344052851200104, 0.027355417609214783, 0.01267477497458458, -0.02831311710178852, 0.028268644586205482, -0.041112273931503296, 0.013571161776781082, 0.008862059563398361, 0.06781283020973206, 0.024840546771883965, -0.0180014930665493, -0.03975272551178932, -0.010994400829076767, 0.02662203088402748, -0.016784003004431725, -0.04659603536128998, -0.024801131337881088, -0.049672503024339676, 0.0212701503187418, 0.04863366112112999, 0.045844800770282745, -0.04253368824720383, -0.00626365514472127, -0.21290627121925354, 0.0017399635398760438, 0.029147719964385033, 0.057195715606212616, -0.02787666581571102, 0.0074258772656321526, 0.00388894509524107, 0.08013280481100082, -0.025507673621177673, -0.005251990165561438, 0.03133855015039444, 0.020692747086286545, 0.012399942614138126, -0.0413341298699379, 0.0019121767254546285, 0.05472782626748085, 0.01811605878174305, -0.022980088368058205, -0.003347899531945586, -0.050823383033275604, -0.020263465121388435, -0.023760275915265083, -0.03429354354739189, -0.01787485182285309, 0.006829381920397282, 0.011545735411345959, 0.0470874048769474, 0.056984398514032364, 0.06289345771074295, 0.007262693718075752, 0.007603654637932777, 0.013369943015277386, 0.007455367129296064, -0.1102122962474823, 0.0522041991353035, 0.032134298235177994, 0.02277209982275963, -0.02693631686270237, -0.003909244667738676, -0.021340280771255493, 0.08210142701864243, 0.04130484163761139, -0.003065319499000907, -0.02952660247683525, 0.029750725254416466, 0.021911190822720528, 0.025125009939074516, -0.005454192869365215, 0.029135804623365402, 0.0138809559866786, -0.06366988271474838, -0.014117300510406494, 0.022535216063261032, -0.030695514753460884, -0.02251606620848179, -0.053630486130714417, 0.051757946610450745, -0.042976949363946915, 0.045659326016902924, -0.0321115218102932, 0.02587983012199402, 0.03134697675704956, 0.03342963382601738, 0.04847771301865578, 0.009178397245705128, -0.05318445339798927, -0.03861336037516594, 0.00998501107096672, 0.007414248771965504, 0.02317035011947155, 0.3920263350009918, 0.013935052789747715, -0.029440779238939285, 0.06921638548374176, 0.03618524968624115, -0.0037939909379929304, -0.005250092130154371, -0.0231719259172678, -0.08381685614585876, 0.02039310522377491, 0.009011413902044296, 0.01557928416877985, -0.05184231698513031, 0.03401699662208557, -0.06562761962413788, 0.004672222770750523, -0.015349911525845528, 0.05012856423854828, 0.05193348973989487, 0.014604897238314152, 0.003177742240950465, -0.0470077283680439, 0.026995664462447166, 0.0072160400450229645, -0.017537355422973633, 0.04255295172333717, -0.005702336318790913, -0.007639291696250439, 0.027814334258437157, 0.044004056602716446, -0.01964714191854, 0.040404126048088074, 0.011251534335315228, -0.05998629704117775, 0.026471436023712158, -0.016104664653539658, -0.0003972394915763289, 0.03908533230423927, -0.05138496309518814, -0.009201640263199806, 0.026563385501503944, -0.007755037862807512, 0.01989610865712166, 0.0583701953291893, -0.014149151742458344, -0.05814047530293465, 0.143571138381958, -0.000830989854875952, -0.06341595202684402, -0.02030891552567482, -0.05941735580563545, 0.006511134561151266, 0.027572007849812508, -0.022642668336629868, -0.051818862557411194, -0.01169417705386877, 0.02908119186758995, 0.08342128992080688, -0.020887326449155807, -0.06786524504423141, 0.011810150928795338, -0.013973521068692207, -0.006101402919739485, -0.047273822128772736, 0.1227017343044281, 0.07817864418029785, -0.1168566346168518, -0.006019458640366793, 0.008022940717637539, -0.0008350235293619335, -0.08788720518350601, 0.04840739816427231, 0.025857802480459213, -0.03445272520184517, -0.004945310764014721, 0.04824712872505188, -0.039732251316308975, -0.04183182120323181, -0.02522779256105423, 0.0515047051012516, -0.014195557683706284, 0.019163835793733597, 0.01149549800902605, -0.021920740604400635, 0.005857180804014206, -0.07255212217569351, -0.06281853467226028, -0.07182898372411728, 0.02524271234869957, -0.04544999822974205, -0.041519295424222946, -0.016280759125947952, -0.02722032554447651, -0.0782434269785881, 0.08641117811203003, -0.05001554265618324, -0.03397674113512039, -0.004134665243327618, -0.009756126441061497, -0.02999040298163891, -0.0012787004234269261, -0.019425082951784134, 0.032014548778533936, -0.031568799167871475, 0.017428793013095856, -0.0846605971455574, 0.03393956646323204, 0.03035137616097927, -0.034407611936330795, 0.07066096365451813, 0.035966817289590836, -0.04243908450007439, -0.020624643191695213, -0.026732901111245155, 0.01528103370219469, -0.005743092857301235, -0.009323152713477612, 0.03568027913570404, -0.019891515374183655, 0.015380172990262508, 0.05695625767111778, -0.026229919865727425, -0.01232188567519188, -0.054304081946611404, -0.3350517153739929, -0.07013940066099167, -0.02498035319149494, 0.01281286682933569, 0.06412501633167267, -0.03219355642795563, 0.005792968440800905, -0.027649439871311188, 0.006336168386042118, 0.030464792624115944, 0.07546645402908325, 0.021690482273697853, -0.02829037420451641, -0.07528385519981384, 0.03151857107877731, 0.04736463725566864, -0.008576623164117336, 0.003116119420155883, -0.04473164305090904, -0.006403082050383091, -0.0128398472443223, -0.008103156462311745, -0.00167678645811975, -0.05523231625556946, -0.024629825726151466, 0.0006197225302457809, 0.10850313305854797, -0.05282957851886749, 0.054660797119140625, -0.05534258484840393, 0.004828799981623888, -0.013815443031489849, -0.029108926653862, -0.048560142517089844, 0.008895537815988064, -0.006379530765116215, 0.01818929612636566, -0.009724077768623829, -0.0010710813803598285, -0.02257433533668518, -0.0743030309677124, -0.008832646533846855, -0.04074596241116524, -0.040853533893823624, -0.05022212490439415, 0.043458785861730576, -0.02522912435233593, -0.04240355268120766, -0.006510470528155565, 0.047977007925510406, 0.004954436328262091, 0.02799602970480919, 0.0006660567596554756, 0.020554346963763237, -0.006898245774209499, -0.060874830931425095, -0.0978563204407692, 0.003648169571533799, 0.009907533414661884, 0.03676404803991318, 0.007434050086885691, 0.029004359617829323, 0.01429352629929781, -0.07475358992815018, 0.04450789839029312, 0.019351251423358917, -0.005826186388731003, -0.010022658854722977, 0.04411126300692558, -0.004954708274453878, 0.002943510189652443, 0.09625810384750366, 0.011066245846450329, -0.0001601746625965461, 0.0467035137116909, 0.03246886283159256, -0.008244253695011139, 0.04565894231200218, 0.012147621251642704, 0.010059699416160583, 0.0576791912317276, -0.06788135319948196, 0.06674666702747345, -0.018622443079948425, -0.010988853871822357, 0.029498938471078873, 0.005786876659840345, -0.058766141533851624, 0.0484703853726387, 0.04526248574256897, -0.019635071977972984, 0.012708498165011406, -0.029890090227127075, -0.0524769201874733, 0.042691007256507874, -0.01994098536670208, -0.2430986613035202, 0.04270846024155617, 0.04720096290111542, 0.07533477991819382, 0.003232190851122141, 0.019190870225429535, 0.04635506868362427, -0.025148529559373856, 0.03179185092449188, 0.008632374927401543, 0.08586587756872177, 0.0644175186753273, -0.0038262102752923965, 0.0010062800720334053, 0.014542187564074993, 0.010448506101965904, 0.022568775340914726, 0.010549947619438171, 0.01396302692592144, 0.020106222480535507, 0.07179156690835953, -0.010701453313231468, 0.18259410560131073, 0.01469645369797945, 0.014064633287489414, 0.03836251422762871, -0.01560323964804411, 0.009128766134381294, 0.03267370164394379, -0.024773478507995605, -0.0368041917681694, 0.04233940318226814, 0.027175141498446465, -0.012473857961595058, 0.024189449846744537, -0.03463756665587425, -0.024494735524058342, 0.08286639302968979, 0.04127153754234314, -0.04270017892122269, 0.013625715859234333, -0.018652690574526787, -0.04165304824709892, 0.01772473193705082, 0.09067889302968979, -0.009725621901452541, -0.02660430781543255, -0.025246132165193558, -0.05273464694619179, 0.0008144138264469802, -0.04581733047962189, -0.0488472618162632, -0.02046368643641472, -0.020374339073896408, -0.011130115017294884, 0.0758754312992096, 0.0018828462343662977, -0.03988928720355034, -0.020896822214126587, 0.006207253318279982, 0.0004337660502642393, -0.039063721895217896, 0.08846183866262436, -0.012895805761218071, 0.028591452166438103 ]
[ 0.03149713948369026, 0.01938258856534958, 0.0077674356289207935, 0.019364753738045692, -0.004482237156480551, -0.02947298437356949, -0.02317924238741398, 0.00809010025113821, -0.04615050181746483, -0.00242964387871325, -0.020458625629544258, 0.02843395806849003, 0.043506745249032974, 0.014595630578696728, 0.0028701145201921463, 0.037345100194215775, 0.018026746809482574, -0.00651526590809226, 0.03971278294920921, -0.01918865367770195, -0.028637444600462914, -0.01414159033447504, 0.01812138594686985, -0.030918443575501442, 0.01271128747612238, 0.03120756894350052, -0.041651394218206406, -0.00651354156434536, 0.03132736682891846, -0.10613001137971878, -0.010179281234741211, -0.02398277074098587, -0.01722230575978756, 0.015079512260854244, -0.02535592019557953, -0.005104624200612307, -0.00789980124682188, 0.006197648122906685, 0.01598682627081871, 0.030709655955433846, 0.05328821390867233, -0.008274078369140625, -0.008965752087533474, -0.0037865403573960066, -0.007831955328583717, 0.011474287137389183, -0.04133084788918495, -0.012046084739267826, 0.002380340825766325, -0.007634168025106192, -0.019412711262702942, -0.06420128792524338, -0.021144047379493713, 0.0008704926585778594, 0.035242099314928055, 0.005797405261546373, -0.006000500172376633, -0.021668922156095505, 0.001458366634324193, -0.001986771821975708, 0.020893704146146774, -0.009506572969257832, -0.04617182910442352, -0.024233346804976463, -0.009767832234501839, 0.00002166452759411186, -0.0002572292578406632, 0.010145936161279678, 0.003661408321931958, 0.001495368778705597, 0.002693772781640291, 0.03982151299715042, -0.058118775486946106, -0.026076417416334152, -0.014629869721829891, 0.03429149091243744, 0.03699043393135071, -0.003474709577858448, -0.02304266393184662, -0.004341303836554289, -0.027770379558205605, 0.039770495146512985, -0.005182658322155476, -0.01754416897892952, -0.010584810748696327, 0.017048504203557968, -0.007605076301842928, -0.045428041368722916, 0.02552039362490177, 0.012883568182587624, -0.048249345272779465, 0.04959826543927193, -0.04771670326590538, -0.010107003152370453, -0.09944652765989304, 0.004142852034419775, 0.010999455116689205, 0.0009332556510344148, 0.01908513903617859, 0.8276627063751221, 0.024149121716618538, -0.008631216362118721, 0.01769196055829525, 0.01289690937846899, 0.026445792987942696, 0.040362317115068436, -0.006598427426069975, 0.037997663021087646, -0.000654595613013953, -0.007009225897490978, -0.02393464744091034, 0.03620348125696182, 0.021098094061017036, 0.023721249774098396, 0.016698738560080528, 0.005243550520390272, 0.05722077563405037, -0.005367266479879618, 0.007256854325532913, 0.011432808823883533, -0.017832189798355103, 0.021115222945809364, -0.009879968129098415, -0.03004925139248371, 0.010213837027549744, -0.15518367290496826, -0.003285750513896346, -7.741882936332358e-33, 0.03240729495882988, -0.02766801230609417, 0.04681819677352905, -0.0014120156411081553, 0.005239750258624554, 0.007587300147861242, -0.013718902133405209, -0.03977476432919502, -0.003415619023144245, -0.03703181445598602, -0.013142046518623829, 0.005042061675339937, 0.019574623554944992, -0.0077686007134616375, 0.031731560826301575, -0.010143338702619076, 0.039056312292814255, 0.024732811376452446, 0.02996538206934929, -0.00789536815136671, 0.020699594169855118, 0.02325303480029106, -0.02332688309252262, 0.05273980647325516, -0.012674161233007908, 0.05207643657922745, 0.010813143104314804, -0.01662457175552845, 0.003561057150363922, -0.046383246779441833, -0.025892719626426697, 0.03067804127931595, 0.005785864312201738, -0.02710367739200592, -0.010690516792237759, -0.04638398811221123, -0.02460375614464283, 0.015476000495254993, -0.019789403304457664, -0.06877348572015762, -0.05650317668914795, 0.000503768736962229, -0.007736640516668558, -0.05237485095858574, -0.046812210232019424, -0.016171175986528397, -0.028070861473679543, 0.01786998100578785, 0.0040740324184298515, -0.0011077962117269635, 0.001261231955140829, 0.005068446043878794, 0.012245986610651016, 0.027744602411985397, -0.020271681249141693, 0.019245706498622894, 0.02807740680873394, 0.005867423955351114, -0.012563587166368961, -0.005848378408700228, 0.014655456878244877, -0.014101636596024036, -0.012819238007068634, 0.02349615842103958, 0.03961342200636864, 0.002013399265706539, -0.01729566790163517, 0.0032049447763711214, 0.03773936256766319, 0.023324649780988693, -0.04804576188325882, 0.04149656370282173, 0.004399870987981558, -0.0038168432656675577, 0.0467696338891983, -0.05947978049516678, -0.025340035557746887, -0.03927784040570259, -0.02641778625547886, 0.04481624811887741, -0.013154503889381886, -0.03107473812997341, -0.017224077135324478, -0.021894333884119987, 0.010517069138586521, -0.007305012084543705, 0.046650491654872894, 0.012890290468931198, 0.030379096046090126, 0.01777113974094391, 0.0374746136367321, 0.004322594031691551, -0.00235796463675797, -0.004644432105123997, -0.037250518798828125, 8.281456149194897e-33, -0.005037976894527674, 0.031181873753666878, -0.013125542551279068, 0.018633916974067688, 0.028881672769784927, 0.003237534314393997, -0.0033721094951033592, 0.015375596471130848, -0.06708056479692459, 0.0537097230553627, -0.027573397383093834, -0.003176627680659294, 0.005296849645674229, 0.028324082493782043, 0.06344183534383774, -0.000573750410694629, 0.013733798637986183, -0.05218726024031639, -0.003060879185795784, 0.023745069280266762, 0.007544552907347679, 0.01676478236913681, -0.02574090100824833, -0.00022487668320536613, 0.060612794011831284, 0.02430623769760132, -0.023339945822954178, -0.002870977157726884, -0.024579985067248344, -0.011263039894402027, -0.037229061126708984, -0.010192214511334896, 0.007140323985368013, 0.0011699736351147294, -0.014787359163165092, 0.008278421126306057, -0.0062372018583118916, 0.011970628052949905, 0.012688888236880302, 0.0067459894344210625, 0.0003750816686078906, 0.0037331648636609316, -0.03511060029268265, 0.04619959369301796, -0.00836187694221735, 0.043988171964883804, -0.017658768221735954, 0.020309945568442345, -0.05076518654823303, 0.039167340844869614, -0.017411384731531143, 0.028958003968000412, 0.02152814157307148, 0.019243469461798668, 0.004231012426316738, -0.03703604266047478, 0.012817637994885445, 0.038829006254673004, -0.015917755663394928, 0.0023088171146810055, -0.028307875618338585, -0.025044381618499756, -0.0468703918159008, 0.002020773012191057, -0.034995872527360916, -0.005351615604013205, -0.0090388348326087, 0.005408493336290121, -0.003934762440621853, -0.0133200129494071, -0.0009320744429714978, 0.029248332604765892, -0.016859283670783043, 0.012936604209244251, 0.059145376086235046, -0.03552865609526634, -0.02371564880013466, 0.009187079966068268, -0.05016026273369789, 0.030814461410045624, 0.0020822042133659124, 0.041171878576278687, 0.01926744356751442, -0.0011734272120520473, 0.01803400367498398, -0.014212207868695259, -0.024023232981562614, 0.02318742498755455, -0.017935821786522865, -0.005345890764147043, 0.018480738624930382, -0.0067924088798463345, -0.05067554861307144, -0.002081751823425293, -0.008060714229941368, -1.31944242198756e-8, -0.06950279325246811, 0.0139528289437294, -0.01891116052865982, 0.016276586800813675, 0.028185784816741943, 0.03256172686815262, 0.018702752888202667, 0.052267011255025864, -0.01867852918803692, 0.04976049065589905, 0.07603586465120316, -0.01872827671468258, 0.013943644240498543, -0.007474396377801895, 0.007805981673300266, -0.03598734736442566, 0.003432291327044368, -0.03561154752969742, 0.03407980874180794, -0.00006469859363278374, 0.0019715242087841034, 0.029649868607521057, -0.0522085465490818, 0.04024232178926468, 0.00276505877263844, -0.03959224000573158, 0.029489876702427864, -0.055216364562511444, -0.030293049290776253, -0.0036456554662436247, -0.03145970404148102, -0.00667142029851675, 0.0037647178396582603, 0.01656339131295681, -0.029803942888975143, -0.015868710353970528, 0.02693464234471321, 0.04431471228599548, 0.0077150301076471806, 0.03338312357664108, -0.008208592422306538, 0.007712316233664751, -0.03115604817867279, -0.02660718746483326, -0.03566886484622955, 0.016926417127251625, -0.012191317044198513, 0.019758757203817368, 0.06662154942750931, -0.023020563647150993, 0.000840487249661237, -0.013823984190821648, 0.015348071232438087, 0.0014980765990912914, 0.03686702251434326, -0.021671617403626442, 0.01918790116906166, -0.032273247838020325, -0.014185745269060135, -0.0013922682264819741, 0.02225635014474392, 0.030835311859846115, -0.03387622907757759, -0.02618865855038166 ]
graph-processing-calculating-betweenness-centrality-for-an-undirected-graph-using-graphstream
https://markhneedham.com/blog/2013/07/19/graph-processing-calculating-betweenness-centrality-for-an-undirected-graph-using-graphstream
false
2013-07-21 10:37:45
Jersey Server: com.sun.jersey.api.MessageException: A message body writer for Java class org.codehaus.jackson.node.ObjectNode and MIME media type application/json was not found
[ "jersey" ]
[ "Java" ]
I've been http://www.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/[reacquainted] with my good friend https://jersey.java.net/[Jersey] over the last couple of days and in getting up and running was reminded that things which seemed easy at the time aren't as easy when starting from scratch. I eventually settled on using https://github.com/sunnygleason[Sunny Gleason]'s https://github.com/sunnygleason/j4-minimal[j4-minimal] repository which wires up Jersey with Jackson, Guice and Jetty which seemed like a good place to start. I prefer building up JSON objects explicitly rather than setting up automatic mapping so the first thing I did was change the +++<cite>+++https://github.com/sunnygleason/j4-minimal/blob/master/src/main/java/com/g414/j4/minimal/JacksonResource.java[JacksonResource]+++</cite>+++ to have an end point that returned a manually built up JSON object: [source,java] ---- @Path("/jackson") public class JacksonResource { @GET @Produces( { MediaType.APPLICATION_JSON }) @Path("/awesome/{who}") public Response sayOtherGreeting(@PathParam("who") String name) { ObjectNode result = JsonNodeFactory.instance.objectNode(); result.put("name", name); return Response.ok().entity(result).build(); } } ---- When I tried to hit that in the browser I ended up with the following exception: [source,text] ---- SEVERE: The registered message body writers compatible with the MIME media type are: application/json -> com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$App com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$App com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$App com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$App com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$App */* -> com.sun.jersey.core.impl.provider.entity.FormProvider com.sun.jersey.server.impl.template.ViewableMessageBodyWriter com.sun.jersey.core.impl.provider.entity.StringProvider com.sun.jersey.core.impl.provider.entity.ByteArrayProvider com.sun.jersey.core.impl.provider.entity.FileProvider com.sun.jersey.core.impl.provider.entity.InputStreamProvider com.sun.jersey.core.impl.provider.entity.DataSourceProvider com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General com.sun.jersey.core.impl.provider.entity.ReaderProvider com.sun.jersey.core.impl.provider.entity.DocumentProvider com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider com.sun.jersey.core.impl.provider.entity.SourceProvider$SourceWriter com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General com.sun.jersey.json.impl.provider.entity.JSONWithPaddingProvider com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy Jul 21, 2013 11:11:17 AM com.sun.jersey.spi.container.ContainerResponse logException SEVERE: Mapped exception to response: 500 (Internal Server Error) javax.ws.rs.WebApplicationException: com.sun.jersey.api.MessageException: A message body writer for Java class org.codehaus.jackson.node.ObjectNode, and Java type class org.codehaus.jackson.node.ObjectNode, and MIME media type application/json was not found at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:285) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1451) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:350) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) at java.lang.Thread.run(Thread.java:722) Caused by: com.sun.jersey.api.MessageException: A message body writer for Java class org.codehaus.jackson.node.ObjectNode, and Java type class org.codehaus.jackson.node.ObjectNode, and MIME media type application/json was not found ... 35 more ---- This is exactly the same problem that I http://www.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/[wrote about last year with respect to Jersey Client]. It took me a little while but I eventually found a solution to the problem hidden about half way down http://stackoverflow.com/questions/13108161/a-message-body-writer-for-java-class-not-found[a StackOverflow post for a similar exception]. We need to add the following property to our Jersey config: [source,java] ---- Map<String, Object> config = new HashMap<String, Object>(); config.put("com.sun.jersey.api.json.POJOMappingFeature", true); ---- If we https://github.com/mneedham/j4-minimal/commit/b2b4ab44da2286cdc0ff3a079ec399b1e5286438[edit the SampleConfig from the template] it will now look like this: [source,java] ---- public class SampleConfig extends GuiceServletContextListener { @Override protected Injector getInjector() { return Guice.createInjector(new ServletModule() { @Override protected void configureServlets() { /* bind the REST resources */ bind(BenchResource.class); bind(SampleResource.class); bind(JacksonResource.class); /* bind jackson converters for JAXB/JSON serialization */ bind(MessageBodyReader.class).to(JacksonJsonProvider.class); bind(MessageBodyWriter.class).to(JacksonJsonProvider.class); Map<String, String> initParams = new HashMap<String, String>(); initParams.put("com.sun.jersey.config.feature.Trace", "true"); initParams.put("com.sun.jersey.api.json.POJOMappingFeature", "true"); serve("*").with( GuiceContainer.class, initParams); } }); } } ---- If we hit '/jackson/awesome/mark' it now returns JSON as expected: [source,bash] ---- $ curl http://localhost:8080/jackson/awesome/mark -w "\n" {"name":"mark"} ----
null
null
[ -0.02376861870288849, -0.04588843882083893, -0.015509175136685371, 0.0076280999928712845, 0.05144139379262924, -0.0018259790958836675, 0.056208644062280655, 0.0480068102478981, -0.013172086328268051, -0.028890132904052734, 0.005656733177602291, -0.01682818867266178, -0.09398626536130905, 0.02107921987771988, -0.03816600516438484, 0.04708028584718704, 0.07845954596996307, 0.01941775158047676, 0.01697748899459839, -0.0065471637062728405, 0.021728264167904854, 0.07967613637447357, -0.003300957614555955, 0.026719730347394943, 0.03242642432451248, 0.01535879261791706, 0.01064477488398552, 0.015410689637064934, -0.049491070210933685, -0.03863994777202606, 0.02604503743350506, -0.008310196921229362, -0.009401701390743256, -0.013086938299238682, 0.012689929455518723, -0.029083751142024994, -0.019884373992681503, 0.017089812085032463, -0.0010900080669671297, 0.0355849415063858, -0.053008828312158585, 0.029866594821214676, -0.00007965515396790579, 0.0215423833578825, -0.013422798365354538, 0.033668987452983856, -0.034408409148454666, 0.027563678100705147, -0.02180548384785652, -0.005756170954555273, -0.06543536484241486, 0.019160469993948936, -0.052701666951179504, 0.021553395316004753, 0.0007756990962661803, 0.03248824179172516, 0.019594378769397736, -0.07109352201223373, 0.04158899188041687, -0.04032779484987259, -0.0042755743488669395, -0.021576758474111557, 0.021892378106713295, 0.01749560609459877, 0.005736655090004206, -0.007285020779818296, -0.00042104278691112995, 0.06866127997636795, -0.03234906494617462, -0.023796627297997475, 0.012321839109063148, -0.013712533749639988, -0.011526786722242832, 0.007989807054400444, 0.03972788155078888, -0.06080671772360802, 0.009928370825946331, 0.05531582608819008, 0.0009202415822073817, 0.04446551576256752, -0.03936729580163956, 0.013083802536129951, 0.005914735142141581, 0.02922375500202179, 0.0009604654624126852, -0.04028128832578659, -0.03299735486507416, 0.007209992967545986, -0.028788980096578598, 0.06686989217996597, 0.03749970346689224, -0.03368170186877251, -0.006675459910184145, 0.02626955881714821, -0.008352491073310375, 0.00758863240480423, -0.012810438871383667, 0.012458091601729393, -0.013177497312426567, -0.022251294925808907, -0.05193409323692322, 0.016316136345267296, 0.014333227649331093, -0.006618179380893707, -0.05422382056713104, -0.0355391800403595, -0.014585528522729874, -0.0008538849651813507, 0.0001541947276564315, -0.0010716688120737672, -0.035440843552351, 0.03312882408499718, -0.011717184446752071, -0.0009307584841735661, -0.05148104205727577, 0.0667433962225914, -0.008879786357283592, -0.07786871492862701, -0.043807972222566605, 0.04970225319266319, 0.03858872503042221, 0.029675796627998352, -0.014242425560951233, 0.06400661915540695, -0.008150971494615078, 0.0496293306350708, -0.020459508523344994, 0.037465356290340424, -0.008703688159584999, -0.05451186001300812, -0.011885957792401314, 0.044829707592725754, -0.009052528068423271, 0.039823126047849655, 0.01766393892467022, -0.03033425845205784, 0.020044561475515366, 0.005896718706935644, 0.07304777204990387, 0.024505771696567535, -0.036704227328300476, -0.038093071430921555, -0.0017839421052485704, 0.011474082246422768, 0.05064815282821655, 0.020331738516688347, -0.014747857116162777, -0.04398444667458534, -0.03287028148770332, 0.036516159772872925, 0.03492112085223198, 0.025588760152459145, 0.038704607635736465, 0.006359061226248741, -0.005413208622485399, 0.11830969154834747, 0.023559745401144028, 0.0308335293084383, -0.019998302683234215, 0.01297505758702755, 0.03880045562982559, 0.046621643006801605, 0.005780733190476894, 0.05584479123353958, -0.011206335388123989, -0.004374841693788767, 0.03161375969648361, 0.039406973868608475, -0.006081215105950832, -0.023433638736605644, -0.046004243195056915, -0.1219109296798706, 0.04140771925449371, -0.03189067915081978, -0.02259659767150879, 0.026191744953393936, 0.09278786182403564, 0.0026221906300634146, 0.02589825913310051, 0.01912662759423256, -0.06300654262304306, 0.04867837578058243, 0.03250379115343094, 0.005647317506372929, 0.011418383568525314, -0.01689823344349861, 0.06088471785187721, 0.024675879627466202, -0.02926003374159336, 0.03833695501089096, -0.0850323960185051, -0.07315317541360855, 0.005035537760704756, 0.0011062221601605415, 0.06288080662488937, -0.021812161430716515, -0.03788202628493309, 0.06480222195386887, 0.021947387605905533, 0.011893580667674541, 0.02375156246125698, -0.007906744256615639, 0.010349089279770851, -0.05662258714437485, -0.04817171022295952, 0.04165363684296608, 0.056692980229854584, 0.0004314274119678885, -0.030727876350283623, -0.009623289108276367, -0.010069203563034534, -0.01966019719839096, 0.022731877863407135, -0.02376416139304638, 0.015463248826563358, 0.0111660435795784, 0.039578795433044434, -0.04545208066701889, 0.06723452359437943, -0.06689377129077911, 0.027073923498392105, 0.014657207764685154, 0.004115224815905094, -0.03345181792974472, 0.0057833208702504635, 0.12778398394584656, 0.039218127727508545, -0.008957795798778534, -0.061589401215314865, 0.07031787931919098, 0.012041345238685608, -0.03425067663192749, -0.012771278619766235, -0.007724938448518515, -0.015769103541970253, -0.003690901445224881, -0.03602372109889984, -0.03409256413578987, -0.004171872511506081, -0.01167142391204834, 0.011763149872422218, 0.0680215060710907, -0.048492182046175, 0.025292636826634407, 0.000695889990311116, -0.04250045493245125, -0.017692280933260918, -0.044542137533426285, -0.061574358493089676, 0.022488730028271675, -0.009930807165801525, -0.007647567894309759, 0.045692913234233856, -0.011681432835757732, -0.009614020586013794, -0.007453282829374075, -0.04162149131298065, 0.037642575800418854, 0.018259918317198753, 0.0674961656332016, -0.019151637330651283, 0.03778563067317009, -0.02938980422914028, 0.01738014817237854, -0.03210640698671341, -0.02339746057987213, -0.024395642802119255, 0.0013722467701882124, 0.004588601179420948, 0.020346328616142273, 0.01658153533935547, 0.021902674809098244, 0.008941029198467731, 0.00897393748164177, -0.031762439757585526, 0.019226595759391785, 0.03106837160885334, -0.035053808242082596, 0.007878147065639496, -0.014595286920666695, -0.03307899832725525, 0.040774520486593246, -0.039228517562150955, -0.04211803525686264, 0.025900615379214287, -0.09453665465116501, 0.04480620473623276, -0.03841099143028259, -0.05235876888036728, -0.017652565613389015, 0.02298659272491932, 0.06136462464928627, 0.012464769184589386, 0.02720528282225132, 0.05762185528874397, 0.006448682863265276, 0.031787142157554626, 0.02091478370130062, -0.016122527420520782, 0.04967718571424484, -0.019780317321419716, 0.016259392723441124, 0.05363566428422928, -0.019810372963547707, 0.024628082290291786, -0.02427663840353489, 0.02326282486319542, -0.012223988771438599, -0.2786107659339905, 0.03197737783193588, 0.023099465295672417, -0.04236331582069397, 0.03476208075881004, -0.02083364501595497, -0.018841005861759186, -0.049718234688043594, -0.014364995062351227, 0.02749400958418846, -0.02661355398595333, -0.04682280123233795, -0.011379028670489788, 0.03881380707025528, -0.0032123352866619825, -0.004558935761451721, 0.007347102742642164, -0.03294811770319939, 0.009190459735691547, 0.03198655694723129, -0.00999507587403059, -0.07101855427026749, 0.0011867530411109328, 0.03663836047053337, 0.025113236159086227, 0.05595095455646515, -0.07828221470117569, 0.041639283299446106, -0.02358076721429825, 0.008025489747524261, 0.019527988508343697, -0.0311555378139019, 0.012387203052639961, -0.01033890713006258, -0.03649664670228958, -0.011452736333012581, 0.014562851749360561, 0.012295358814299107, -0.013093509711325169, 0.020699517801404, -0.029505329206585884, -0.06759316474199295, -0.050283852964639664, -0.0013608960434794426, 0.07578424364328384, -0.004663688596338034, -0.08458337932825089, 0.0065968516282737255, -0.06050189211964607, 0.08050653338432312, -0.018587971106171608, -0.040006641298532486, -0.00985722430050373, 0.02054409869015217, 0.013007601723074913, -0.019504427909851074, -0.03313237428665161, -0.0053520724177360535, -0.045083045959472656, -0.041734181344509125, 0.01568581722676754, -0.037372756749391556, -0.035380810499191284, -0.014947393909096718, -0.014187528751790524, -0.05799221619963646, -0.0584554560482502, -0.013209640048444271, 0.06933369487524033, 0.006179317366331816, -0.023165810853242874, -0.003914094064384699, 0.004009788390249014, -0.10889725387096405, 0.0032622080761939287, -0.04107695072889328, -0.060783229768276215, 0.002443803008645773, -0.03236278519034386, 0.05241332948207855, -0.03100176528096199, -0.016537286341190338, -0.01308982539921999, 0.02698526531457901, 0.012911555357277393, 0.003074704436585307, 0.014413494616746902, 0.003069318365305662, 0.011897053569555283, 0.001243998296558857, 0.060372695326805115, -0.03560974448919296, -0.019083788618445396, -0.030211959034204483, 0.007951777428388596, 0.05359513312578201, 0.0015247095143422484, -0.03742891922593117, 0.007002092897891998, 0.008538544178009033, 0.032899633049964905, -0.043239299207925797, 0.026521489024162292, 0.017019297927618027, 0.006111349444836378, -0.016028959304094315, -0.06595829874277115, 0.005418458953499794, 0.01690206304192543, 0.02772514522075653, -0.001858140341937542, -0.04875011742115021, -0.009347873739898205, -0.041996948421001434, -0.021328043192625046, -0.01805165410041809, 0.012590820901095867, 0.03372698277235031, 0.04791436716914177, -0.03497931733727455, -0.04458163306117058, 0.03553422540426254, 0.025191377848386765, -0.032591693103313446, -0.0345475897192955, -0.040358491241931915, -0.02229723520576954, 0.0051654973067343235, 0.0009295700583606958, 0.004561403300613165, -0.01757761463522911, 0.03820577636361122, 0.032526616007089615, 0.015706663951277733, -0.007681909017264843, -0.004673409275710583, -0.04177073389291763, -0.05289668217301369, 0.0061528184451162815, -0.016749486327171326, 0.009054219350218773, 0.010521437972784042, 0.0009355514193885028, 0.033808037638664246, 0.054018910974264145, -0.004535479936748743, 0.04972798749804497, 0.005400726106017828, 0.003103528870269656, -0.015230587683618069, 0.008052551187574863, -0.07892762124538422, -0.0010698788100853562, -0.03297721967101097, -0.05374392867088318, -0.013384746387600899, 0.028199559077620506, -0.02479049190878868, -0.04060173034667969, -0.029050856828689575, 0.04224737733602524, -0.06866587698459625, -0.02331789955496788, 0.013889022171497345, -0.042837586253881454, 0.05138871446251869, -0.0006275533814914525, 0.04788774251937866, -0.033879611641168594, -0.029081400483846664, -0.006909182295203209, -0.01969611644744873, 0.00020874329493381083, 0.0074587599374353886, -0.015114505775272846, 0.036431096494197845, 0.0169216375797987, 0.03012637048959732, 0.03874972090125084, 0.012211749330163002, -0.0036195486318320036, -0.022920479997992516, 0.015102327801287174, 0.017075948417186737, 0.03536209464073181, 0.0020349672995507717, -0.029439827427268028, -0.012391374446451664, -0.030112365260720253, -0.01477799192070961, -0.003280497156083584, 0.007532127667218447, -0.009995938278734684, 0.013928442262113094, 0.00002226745527877938, -0.08263293653726578, 0.020768847316503525, -0.020727889612317085, 0.03964469954371452, 0.02385191060602665, -0.004111414775252342, 0.00948524009436369, -0.040247999131679535, 0.027327649295330048, 0.034503500908613205, -0.04885464161634445, -0.024424707517027855, -0.00023990721092559397, 0.004892031662166119, 0.009255998767912388, 0.0018357461085543036, -0.053644049912691116, 0.014545310288667679, -0.01215110719203949, -0.0023218540009111166, -0.03025835007429123, -0.035609833896160126, -0.008966381661593914, 0.02217080630362034, -0.00758332759141922, -0.002166046528145671, 0.011800342239439487, -0.010954225435853004, -0.0038918741047382355, -0.009948726743459702, 0.01839575543999672, -0.020491473376750946, 0.013116373680531979, 0.0014244249323382974, -0.020434102043509483, 0.05133097991347313, -0.03272770717740059, 0.05052093788981438, 0.019649367779493332, -0.00842855405062437, -0.00019466789672151208, -0.04113241657614708, -0.0012973243137821555, 0.020907778292894363, 0.07601163536310196, 0.03261310234665871, 0.0015493965474888682, -0.03672094643115997, 0.002025928348302841, -0.023086102679371834, -0.014310493133962154, -0.009281924925744534, 0.014001050963997841, 0.024146005511283875, 0.050734326243400574, 0.03043755330145359, 0.01922769844532013, -0.009494996629655361, -0.006971544120460749, 0.08337278664112091, -0.05145067349076271, -0.04546372964978218, -0.005007780622690916, -0.05345311760902405, 0.007228418719023466, 0.04181450605392456, 0.03523537889122963, -0.031252454966306686, 0.05642178654670715, 0.06162264943122864, 0.003715582424774766, 0.03654114529490471, -0.018790917471051216, 0.026768650859594345, -0.03357725590467453, -0.03903796151280403, -0.09894172847270966, 0.002176213776692748, 0.056408897042274475, -0.014948979951441288, 0.01170720811933279, -0.01926698163151741, -0.06388148665428162, 0.03629153221845627, -0.04908790811896324, -0.024698927998542786, 0.032764848321676254, -0.021228119730949402, 0.004240719601511955, 0.000716815295163542, -0.064517080783844, 0.0485643669962883, 0.045581378042697906, -0.033277302980422974, -0.013437800109386444, -0.028810877352952957, 0.03534307703375816, 0.041994281113147736, 0.03557027131319046, -0.0023633248638361692, 0.009934976696968079, 0.061426181346178055, 0.013578944839537144, -0.001175303477793932, 0.03248025104403496, -0.028932936489582062, 0.03895651176571846, 0.05323941260576248, -0.010784058831632137, 0.02019779197871685, 0.01665402762591839, -0.038397613912820816, -0.07393498718738556, 0.03500761091709137, 0.01873776689171791, -0.043243199586868286, -0.04394401237368584, 0.05411837249994278, 0.008550163358449936, -0.04681588336825371, -0.046052053570747375, 0.009411715902388096, -0.03986009955406189, -0.03577454760670662, -0.013549750670790672, 0.026250546798110008, -0.024906782433390617, 0.04751183092594147, -0.0315239317715168, 0.03153819590806961, 0.06710635870695114, 0.013144214637577534, -0.0011509214527904987, -0.0008776657050475478, 0.06909289211034775, 0.08309175819158554, -0.021932095289230347, 0.007069358602166176, 0.05825572460889816, -0.0053452178835868835, -0.043800510466098785, 0.02927103079855442, -0.027707047760486603, -0.04745879024267197, 0.014958599582314491, -0.004610841628164053, 0.06539428234100342, -0.010257727466523647, 0.055867500603199005, -0.020376894623041153, -0.029496077448129654, 0.007367716170847416, 0.017014259472489357, 0.01936524733901024, 0.007398736197501421, 0.005187226925045252, 0.021034488454461098, -0.026855671778321266, -0.047609906643629074, -0.02291090600192547, -0.0013549262657761574, -0.05162174999713898, 0.029048966243863106, -0.03470444679260254, 0.010376467369496822, 0.01004620548337698, 0.013427800498902798, 0.057952020317316055, -0.018803289160132408, 0.0007981188246048987, 0.011255907826125622, 0.01758810691535473, 0.017274033278226852, 0.0067639523185789585, -0.0014932566555216908, -0.05184942111372948, 0.0018268842250108719, -0.030034001916646957, 0.014754869975149632, 0.005109405145049095, -0.03293280676007271, 0.034675482660532, 0.0046788607724010944, 0.02517089620232582, 0.009165258146822453, -0.004441699478775263, -0.037385083734989166, -0.0617489293217659, -0.059185054153203964, -0.0346568338572979, -0.04635026678442955, -0.022616123780608177, 0.017126571387052536, -0.01143994927406311, -0.019360162317752838, -0.005926790181547403, -0.008984692394733429, 0.02897033654153347, 0.024935903027653694, -0.046368442475795746, -0.0028584706597030163, 0.028972677886486053, 0.013242917135357857, 0.00844619795680046, 0.02578487992286682, 0.04556865617632866, -0.009903314523398876, -0.017133839428424835, -0.018490998074412346, -0.009058058261871338, 0.036667246371507645, 0.031948547810316086, 0.03954043984413147, -0.07348830252885818, 0.01693461835384369, 0.03439993038773537, 0.008656755089759827, -0.03485753759741783, -0.005937950219959021, 0.05188167467713356, -0.011136011220514774, 0.06837677210569382, 0.007621192838996649, 0.01645953767001629, -0.02912679687142372, -0.014328649267554283, 0.00647438270971179, 0.003948755096644163, 0.05350462719798088, 0.012118891812860966, 0.09910976886749268, 0.04222715273499489, -0.02347346767783165, -0.030037207528948784, -0.008193714544177055, 0.00337268877774477, -0.002554610138759017, -0.03666894510388374, -0.01127072237432003, -0.062345754355192184, -0.0568896047770977, -0.053333524614572525, 0.000256425206316635, -0.055143795907497406, -0.026248622685670853, 0.004488423932343721, 0.02294817939400673, -0.04743549972772598, 0.026727154850959778, -0.029705164954066277, 0.026184838265180588, 0.0013358475407585502, -0.009170486591756344, -0.04127739369869232, -0.008072279393672943, 0.02895338460803032, -0.021815825253725052, 0.035733141005039215, -0.05184662342071533, 0.011172458529472351, -0.008713170886039734, 0.025408340618014336, 0.055168066173791885, -0.0050863660871982574, -0.03798535838723183 ]
[ -0.09302467852830887, 0.0054696351289749146, -0.023993758484721184, -0.05746159702539444, 0.05156785622239113, -0.03857923671603203, -0.010069922544062138, 0.07652970403432846, -0.011259960010647774, -0.024497786536812782, 0.009281367994844913, -0.04259708896279335, -0.008501769043505192, 0.00979041401296854, 0.09747372567653656, -0.006454372312873602, -0.0020096213556826115, -0.04167203977704048, -0.023339489474892616, 0.02666756883263588, -0.004854414612054825, -0.0051457867957651615, -0.0003461310698185116, -0.05290522798895836, 0.02812032401561737, 0.027782052755355835, 0.06442151218652725, -0.00012586821685545146, -0.017496952787041664, -0.1774948388338089, -0.034101489931344986, -0.016810916364192963, 0.006595549173653126, 0.03403212130069733, -0.03679879382252693, 0.064534492790699, -0.022627318277955055, 0.016174333170056343, 0.031162256374955177, 0.052989661693573, 0.022069865837693214, 0.04286075010895729, -0.07545651495456696, -0.04046620801091194, 0.03567970544099808, -0.02837146446108818, 0.010637091472744942, 0.0039045538287609816, 0.021028002724051476, -0.01083153486251831, -0.05676867067813873, 0.0030910163186490536, 0.04775647446513176, -0.00042334673344157636, -0.009426221251487732, 0.07020173966884613, 0.012571928091347218, 0.09473466873168945, 0.007502966560423374, 0.04531507566571236, 0.002586386166512966, -0.02635468728840351, -0.10801859200000763, 0.09722493588924408, -0.0014775326708331704, 0.035825829952955246, -0.008510529063642025, -0.016785070300102234, -0.024412836879491806, 0.04222697764635086, -0.001948532764799893, 0.0019682191777974367, -0.01921992190182209, 0.05610746517777443, -0.010990266688168049, 0.034652579575777054, 0.010393551550805569, 0.009603478014469147, 0.0602368600666523, -0.024448977783322334, -0.10506657510995865, -0.03713059425354004, -0.005307958927005529, -0.015516094863414764, -0.017008908092975616, 0.025886302813887596, -0.03437270596623421, 0.06682607531547546, 0.013213224709033966, 0.02599945291876793, 0.005679766647517681, -0.004213162697851658, 0.05679912865161896, 0.020531348884105682, -0.11824269592761993, 0.014597564935684204, -0.05168503150343895, 0.005319246556609869, -0.038384053856134415, 0.3922894299030304, 0.01488624420017004, -0.012498821131885052, 0.03764647617936134, 0.01135559193789959, 0.012393387034535408, -0.027756748721003532, -0.03140396997332573, -0.04514921084046364, 0.02858933061361313, -0.0334332212805748, -0.01936292089521885, 0.009354943409562111, -0.008416700176894665, -0.028037557378411293, -0.011981956660747528, 0.027857542037963867, 0.011815393343567848, 0.04159162566065788, -0.02162138745188713, 0.032265473157167435, -0.005902511533349752, -0.02754000760614872, -0.0032500468660146, 0.01810019090771675, -0.00025797990383580327, -0.0003299195086583495, -0.004997447598725557, 0.032744456082582474, 0.052163444459438324, 0.001343616982921958, 0.02399998903274536, -0.017422284930944443, -0.0799851194024086, -0.013535209000110626, 0.03862079977989197, 0.02334187924861908, 0.020778637379407883, -0.05900806188583374, -0.008155030198395252, 0.032472122460603714, 0.0009383004507981241, -0.08119962364435196, -0.001852203393355012, -0.03317318111658096, -0.06601298600435257, 0.09346458315849304, 0.002828919794410467, 0.0026716149877756834, 0.028480052947998047, -0.02249092049896717, -0.005638923496007919, 0.07799499481916428, -0.026005350053310394, -0.02625623717904091, 0.010674538090825081, 0.039948299527168274, 0.03202361240983009, -0.018245000392198563, -0.014833049848675728, -0.013397149741649628, 0.015726419165730476, -0.02539227530360222, -0.0027867318131029606, 0.04906824976205826, 0.03742732107639313, -0.13733556866645813, -0.016988543793559074, 0.027201587334275246, 0.0006399994599632919, -0.07097644358873367, -0.026344070211052895, 0.07956801354885101, 0.0032938646618276834, 0.006284280214458704, 0.013743216171860695, -0.0058775171637535095, -0.022853612899780273, -0.018724145367741585, 0.02855568937957287, 0.023590441793203354, -0.01381012238562107, 0.011368588544428349, -0.030346116051077843, -0.024278398603200912, -0.008221128955483437, -0.044766616076231, -0.030431920662522316, 0.0181101206690073, 0.006419321987777948, -0.023319359868764877, -0.02501772530376911, -0.024654850363731384, -0.0442051962018013, 0.059129927307367325, -0.008435610681772232, 0.010151013731956482, -0.004096296615898609, -0.047518547624349594, 0.03957371413707733, -0.06107894331216812, 0.04490157589316368, 0.06379831582307816, 0.04440895467996597, 0.03348409757018089, -0.07685167342424393, 0.05018399655818939, 0.06799822300672531, -0.045904990285634995, 0.05563654378056526, -0.019572841003537178, -0.07180391997098923, -0.00360685121268034, -0.027281954884529114, -0.00890796072781086, -0.027829134836792946, 0.014168990775942802, -0.02154005505144596, 0.03872860595583916, 0.03454618528485298, 0.003402300179004669, -0.0975167453289032, -0.008531138300895691, -0.04872079938650131, -0.3387434780597687, -0.039918262511491776, 0.007442635018378496, -0.0030449251644313335, -0.04429341107606888, -0.0560486763715744, -0.0035206833854317665, -0.03685365617275238, 0.04672563821077347, 0.010582352988421917, 0.08691132813692093, -0.03660448268055916, -0.009533446282148361, -0.10466277599334717, 0.002237343695014715, 0.03488148748874664, -0.03963875398039818, -0.01439842488616705, -0.031603481620550156, 0.004050292540341616, -0.022658571600914, -0.030735202133655548, -0.03614751994609833, 0.012843302451074123, 0.008994707837700844, -0.013913916423916817, 0.08082786202430725, 0.040329642593860626, 0.0342865064740181, -0.08489692956209183, 0.05671950802206993, 0.00920412689447403, 0.02732113003730774, -0.060917917639017105, -0.04379516467452049, -0.020993007346987724, -0.015566326677799225, 0.043746426701545715, 0.040023040026426315, 0.015288056805729866, -0.06404620409011841, 0.005414352752268314, -0.04893546551465988, -0.0828784704208374, -0.014900410547852516, 0.010531445033848286, -0.0034962815698236227, -0.04918604716658592, -0.00024664989905431867, 0.04693996533751488, -0.023457834497094154, 0.015064426697790623, 0.054432909935712814, 0.04672723636031151, 0.0013531732838600874, -0.010874423198401928, -0.05662541463971138, -0.01744985207915306, 0.008879164233803749, -0.005094959866255522, 0.028765873983502388, 0.06022942438721657, 0.03936046361923218, -0.047688957303762436, 0.011961973272264004, 0.013898571021854877, 0.019056053832173347, 0.015175941400229931, 0.030253253877162933, -0.057757169008255005, -0.04258575662970543, 0.07233008742332458, -0.00838869996368885, 0.05077207833528519, 0.0433601476252079, 0.05101502686738968, -0.007398574613034725, -0.04266231134533882, 0.03822380676865578, 0.018408427014946938, 0.013598421588540077, 0.02540547586977482, 0.060508906841278076, -0.02333981730043888, -0.012883201241493225, 0.09143384546041489, -0.030869700014591217, -0.022400878369808197, 0.013580809347331524, -0.02519052103161812, -0.024439115077257156, -0.0008903058478608727, -0.017839640378952026, -0.027079066261649132, 0.044816579669713974, -0.010296150110661983, -0.25043153762817383, 0.03493374586105347, 0.03910399600863457, 0.07277750223875046, -0.014910672791302204, 0.020407089963555336, 0.025336984544992447, -0.051243506371974945, -0.04115835577249527, 0.060598224401474, 0.06005115061998367, 0.0027737326454371214, 0.029127776622772217, -0.008160294033586979, 0.0406525544822216, 0.007258808705955744, 0.012669871561229229, 0.03645896911621094, 0.033723462373018265, -0.038977209478616714, 0.04727410525083542, -0.01458297111093998, 0.17687787115573883, 0.02429632656276226, -0.005616021808236837, 0.08711622655391693, -0.01587677001953125, 0.03113221377134323, 0.06526586413383484, 0.013891348615288734, 0.009486946277320385, -0.009629769250750542, 0.06753169000148773, 0.037773191928863525, 0.041468195617198944, -0.08989862352609634, 0.01840345934033394, 0.040387142449617386, -0.0163554809987545, -0.05372387170791626, -0.037484969943761826, 0.05741174891591072, -0.023275256156921387, 0.020296037197113037, 0.07131779193878174, 0.0037985541857779026, -0.028445422649383545, -0.02338813617825508, -0.04290236532688141, -0.011526170186698437, -0.05144638195633888, -0.1102195531129837, -0.01750078611075878, -0.023823218420147896, -0.03155844286084175, 0.04335743188858032, -0.003378893481567502, -0.055267587304115295, -0.0033757141791284084, 0.046051859855651855, 0.034680433571338654, -0.014021486975252628, 0.0861763134598732, 0.022662334144115448, -0.00698992470279336 ]
[ -0.03549995273351669, 0.056226592510938644, 0.014482631348073483, 0.0019216019427403808, 0.016290267929434776, 0.004098291043192148, 0.017133018001914024, 0.038041599094867706, -0.01710755005478859, -0.005875361617654562, 0.012025686912238598, 0.012907925993204117, 0.055399104952812195, 0.042005911469459534, 0.03870856761932373, -0.004386045970022678, 0.004736917093396187, 0.017527129501104355, 0.009924647398293018, 0.010459511540830135, -0.002335321856662631, 0.011440940201282501, 0.018819240853190422, -0.0523405522108078, 0.008501250296831131, 0.03164910152554512, 0.01872006058692932, 0.015334448777139187, -0.004283510148525238, -0.11223464459180832, -0.03394787758588791, -0.016099758446216583, 0.0050736661069095135, -0.02617531642317772, 0.003989218268543482, 0.00800865888595581, 0.038410015404224396, -0.0006599940243177116, 0.002013870282098651, 0.016224481165409088, -0.00944948848336935, -0.005047868937253952, -0.007730361074209213, -0.008978914469480515, -0.008413617499172688, -0.04323593154549599, -0.03523268923163414, 0.0033268374390900135, -0.02059684321284294, 0.015577718615531921, -0.025905035436153412, -0.03630125895142555, 0.032677073031663895, 0.007933121174573898, -0.007306159008294344, -0.018434707075357437, -0.09201643615961075, 0.027988404035568237, -0.008198332972824574, -0.019305692985653877, 0.022788355126976967, -0.01524488627910614, -0.03868624567985535, -0.033849794417619705, 0.0011425024131312966, -0.030459357425570488, 0.002036487916484475, 0.018588554114103317, -0.02203180082142353, -0.02689683996140957, 0.019258668646216393, 0.01884903572499752, -0.03276962786912918, 0.011638989672064781, -0.008487766608595848, -0.0014758507022634149, 0.012876557186245918, -0.006342262029647827, 0.013200132176280022, -0.0007253109361045063, -0.019401943311095238, -0.019942179322242737, -0.030573755502700806, 0.01405574381351471, -0.011140787973999977, 0.02625368908047676, -0.007968177087605, 0.010297689586877823, 0.011606053449213505, 0.05871685594320297, -0.04014815017580986, -0.024079209193587303, 0.011932499706745148, -0.004875747486948967, -0.08784977346658707, 0.026836346834897995, -0.032045524567365646, -0.007434658706188202, -0.018905678763985634, 0.8216609358787537, 0.018819818273186684, -0.0034350205678492785, 0.055631671100854874, 0.030002720654010773, 0.05382049083709717, -0.028672417625784874, -0.012959121726453304, 0.030249619856476784, -0.00023891276214271784, -0.014833969995379448, -0.021651891991496086, 0.03978598117828369, 0.011181394569575787, 0.03049403242766857, -0.009116127155721188, 0.01768428087234497, 0.06976959109306335, 0.02838338352739811, -0.023760497570037842, 0.027055539190769196, 0.04340429604053497, -0.026301298290491104, -0.01617981120944023, -0.011258025653660297, 0.03146872669458389, -0.12685230374336243, -0.02729586511850357, -6.64931309980486e-33, 0.056019559502601624, 0.029954813420772552, 0.06788833439350128, 0.013801759108901024, -0.0014382663648575544, -0.04244105890393257, 0.019159728661179543, 0.027488943189382553, -0.01254755724221468, -0.06954891979694366, -0.02766602300107479, 0.00019374690600670874, 0.0030159589368849993, -0.013538992032408714, -0.0016588077414780855, -0.009490235708653927, -0.010067467577755451, 0.019047236070036888, 0.004486010875552893, 0.012028288096189499, -0.003729102434590459, 0.011757859960198402, 0.014786174520850182, -0.01122170127928257, -0.026813296601176262, 0.04741142317652702, 0.03606628254055977, 0.012677492573857307, -0.052258506417274475, -0.036716483533382416, 0.00028001092141494155, -0.03794412314891815, 0.017961453646421432, 0.011497434228658676, 0.043522849678993225, -0.03683042898774147, -0.029527202248573303, -0.026119863614439964, -0.023421254009008408, -0.06950303912162781, -0.046589963138103485, -0.009029357694089413, -0.06382546573877335, 0.06165554001927376, -0.03952004760503769, -0.03179452195763588, 0.017438912764191628, -0.005415874999016523, -0.00565919978544116, 0.018170764669775963, 0.019118182361125946, 0.009929447434842587, 0.0034624822437763214, -0.009798828512430191, -0.009563719853758812, 0.04008696973323822, 0.028234807774424553, 0.03522321954369545, -0.0013338361168280244, 0.0019743028096854687, 0.02172727696597576, -0.004835923667997122, -0.017067285254597664, 0.04164379462599754, 0.023701485246419907, 0.001221294398419559, -0.03143901005387306, 0.0038600247353315353, -0.022281890735030174, -0.000913732685148716, 0.005513167940080166, 0.005051994230598211, 0.019289404153823853, 0.0020037940703332424, 0.07046078145503998, -0.004518721718341112, 0.025131799280643463, 0.022372283041477203, 0.007285464089363813, 0.0037190334405750036, 0.031960535794496536, -0.011402112431824207, -0.005570368841290474, -0.0035962266847491264, -0.03131362050771713, -0.002424052683636546, 0.0512532964348793, -0.004767321050167084, 0.02160562388598919, 0.013593369163572788, 0.0689813569188118, 0.047597818076610565, -0.030348265543580055, -0.03244718164205551, -0.021446630358695984, 7.280013573479019e-33, -0.017650732770562172, -0.004469260107725859, -0.01664995588362217, -0.012120163068175316, -0.02843017689883709, -0.04363057017326355, 0.022925447672605515, 0.048684682697057724, -0.03521088883280754, 0.03462568670511246, -0.020072227343916893, -0.01585446670651436, -0.014422536827623844, 0.0036837297957390547, 0.011404464021325111, 0.007538430392742157, 0.046911973506212234, -0.013332540169358253, 0.04567732661962509, -0.010135932825505733, 0.029298707842826843, -0.012922120280563831, 0.028979061171412468, 0.005140074994415045, -0.013810517266392708, 0.00874289870262146, -0.022654103115200996, 0.00904102623462677, -0.05626162514090538, -0.027076411992311478, 0.02023441158235073, -0.02339637093245983, 0.029052624478936195, -0.06287993490695953, -0.009136351756751537, -0.016063246876001358, -0.010938448831439018, 0.02317016012966633, 0.027335859835147858, -0.04396391287446022, -0.029882509261369705, -0.07147913426160812, 0.0033529552165418863, 0.04251150041818619, 0.007728711701929569, -0.017520509660243988, -0.018167024478316307, -0.013049015775322914, -0.0015733955660834908, 0.02461058273911476, -0.005445949733257294, 0.037393342703580856, 0.010504433885216713, 0.02600838430225849, 0.02085011452436447, -0.020074615254998207, -0.000567898852750659, 0.017784643918275833, 0.02943231165409088, 0.02452523447573185, 0.00790009368211031, -0.06775854527950287, -0.03548211604356766, 0.04610736295580864, 0.021486975252628326, -0.03440151363611221, 0.0030976913403719664, -0.01528957113623619, -0.0351443774998188, 0.010316888801753521, -0.0059371525421738625, -0.020499523729085922, 0.003124323207885027, 0.019067339599132538, 0.0475604273378849, -0.02053915709257126, 0.003128656418994069, 0.0003513613482937217, -0.052384283393621445, 0.005786926951259375, -0.023914961144328117, -0.024999940767884254, -0.047470174729824066, -0.012777089141309261, 0.03214401379227638, -0.011611447669565678, -0.012119431048631668, 0.014430089853703976, -0.04373754933476448, -0.01677505485713482, -0.008753377012908459, 0.01802019402384758, -0.0204812940210104, 0.025524752214550972, 0.0043630036525428295, -1.250209624714671e-8, -0.02756863832473755, -0.04295622929930687, -0.004090349655598402, -0.006304524838924408, 0.015594125725328922, 0.02708074264228344, -0.03242618963122368, -0.014519148506224155, 0.022690152749419212, 0.024730507284402847, 0.019995389506220818, 0.03180660679936409, 0.010895838961005211, -0.011164030991494656, 0.02940554730594158, -0.037039969116449356, 0.0029956551734358072, -0.003966762218624353, 0.016280081123113632, 0.01170151773840189, 0.04134811833500862, 0.06498430669307709, -0.007109813392162323, -0.007661065552383661, 0.05100768432021141, -0.02077263407409191, 0.04017092287540436, -0.04960905760526657, -0.008528751321136951, -0.06132541224360466, -0.011783408932387829, -0.0011303731007501483, -0.032337404787540436, -0.012321910820901394, -0.07262608408927917, -0.016773084178566933, 0.0265460554510355, 0.017992112785577774, -0.005276898387819529, 0.0012551889522001147, 0.01294646505266428, 0.02441120147705078, -0.047190699726343155, -0.010686887428164482, 0.012605367228388786, 0.0267263725399971, -0.014958137646317482, 0.03675001487135887, 0.003146679839119315, -0.02792859449982643, -0.011279572732746601, -0.019206399098038673, 0.019821763038635254, -0.0340142585337162, 0.00046858927817083895, -0.012967437505722046, 0.02567753754556179, 0.006416697986423969, 0.0003649974532891065, 0.03510388731956482, 0.039057403802871704, 0.02928762510418892, -0.03560148924589157, -0.021545086055994034 ]
jersey-server-com-sun-jersey-api-messageexception-a-message-body-writer-for-java-class-org-codehaus-jackson-node-objectnode-and-mime-media-type-applicationjson-was-not-found
https://markhneedham.com/blog/2013/07/21/jersey-server-com-sun-jersey-api-messageexception-a-message-body-writer-for-java-class-org-codehaus-jackson-node-objectnode-and-mime-media-type-applicationjson-was-not-found
false
2013-07-21 11:07:11
Jersey: Listing all resources, paths, verbs to build an entry point/index for an API
[ "jersey" ]
[ "Java" ]
I've been playing around with https://jersey.java.net/[Jersey] over the past couple of days and one thing I wanted to do was create an entry point or index which listed all my resources, the available paths and the verbs they accepted. http://stackoverflow.com/users/1657364/guido-simone[Guido Simone] explained http://stackoverflow.com/questions/13484350/find-a-list-of-all-jersey-resource-methods-in-my-app[a neat way of finding the paths and verbs for a specific resource] using Jersey's +++<cite>+++http://grepcode.com/file/repo1.maven.org/maven2/com.sun.jersey/jersey-server/1.0.3/com/sun/jersey/server/impl/modelapi/annotation/IntrospectionModeller.java[IntrospectionModeller]+++</cite>+++: [source,java] ---- AbstractResource resource = IntrospectionModeller.createResource(JacksonResource.class); System.out.println("Path is " + resource.getPath().getValue()); String uriPrefix = resource.getPath().getValue(); for (AbstractSubResourceMethod srm :resource.getSubResourceMethods()) { String uri = uriPrefix + "/" + srm.getPath().getValue(); System.out.println(srm.getHttpMethod() + " at the path " + uri + " return " + srm.getReturnType().getName()); } ---- If we run that against https://github.com/mneedham/j4-minimal[j4-minimal]'s +++<cite>+++https://github.com/mneedham/j4-minimal/blob/master/src/main/java/com/g414/j4/minimal/JacksonResource.java[JacksonResource]+++</cite>+++ class we get the following output: [source,text] ---- Path is /jackson GET at the path /jackson/{who} return com.g414.j4.minimal.JacksonResource$Greeting GET at the path /jackson/awesome/{who} return javax.ws.rs.core.Response ---- That's pretty neat but I didn't want to have to manually list all my resources since I've already done that using Guice . I needed a way to programatically get hold of them and I partially found the way to do this from http://stackoverflow.com/questions/3132944/javaee6rest-how-do-i-get-all-rest-resources-at-runtime[this post] which suggests using +++<cite>+++Application.getSingletons()+++</cite>+++. I actually ended up using +++<cite>+++Application.getClasses()+++</cite>+++ and I ended up with +++<cite>+++https://github.com/mneedham/j4-minimal/blob/249078d2c8e982b81ae810310eb2340fa4fd909f/src/main/java/com/g414/j4/minimal/ResourceListingResource.java[ResourceListingResource]+++</cite>+++: [source,java] ---- @Path("/") public class ResourceListingResource { @GET @Produces(MediaType.APPLICATION_JSON) public Response showAll( @Context Application application, @Context HttpServletRequest request) { String basePath = request.getRequestURL().toString(); ObjectNode root = JsonNodeFactory.instance.objectNode(); ArrayNode resources = JsonNodeFactory.instance.arrayNode(); root.put( "resources", resources ); for ( Class<?> aClass : application.getClasses() ) { if ( isAnnotatedResourceClass( aClass ) ) { AbstractResource resource = IntrospectionModeller.createResource( aClass ); ObjectNode resourceNode = JsonNodeFactory.instance.objectNode(); String uriPrefix = resource.getPath().getValue(); for ( AbstractSubResourceMethod srm : resource.getSubResourceMethods() ) { String uri = uriPrefix + "/" + srm.getPath().getValue(); addTo( resourceNode, uri, srm, joinUri(basePath, uri) ); } for ( AbstractResourceMethod srm : resource.getResourceMethods() ) { addTo( resourceNode, uriPrefix, srm, joinUri( basePath, uriPrefix ) ); } resources.add( resourceNode ); } } return Response.ok().entity( root ).build(); } private void addTo( ObjectNode resourceNode, String uriPrefix, AbstractResourceMethod srm, String path ) { if ( resourceNode.get( uriPrefix ) == null ) { ObjectNode inner = JsonNodeFactory.instance.objectNode(); inner.put("path", path); inner.put("verbs", JsonNodeFactory.instance.arrayNode()); resourceNode.put( uriPrefix, inner ); } ((ArrayNode) resourceNode.get( uriPrefix ).get("verbs")).add( srm.getHttpMethod() ); } private boolean isAnnotatedResourceClass( Class rc ) { if ( rc.isAnnotationPresent( Path.class ) ) { return true; } for ( Class i : rc.getInterfaces() ) { if ( i.isAnnotationPresent( Path.class ) ) { return true; } } return false; } } ---- The only change I've made from Guido Simone's solution is that I also call +++<cite>+++resource.getResourceMethods()+++</cite>+++ because +++<cite>+++resource.getSubResourceMethods()+++</cite>+++ only returns methods which have a +++<cite>+++@Path+++</cite>+++ annotation. Since we'll sometimes define our path at the class level and then define different verbs that operate on that resource it misses some methods out. If we run a cURL command (http://stackoverflow.com/questions/352098/how-to-pretty-print-json-from-the-command-line[piped through python to make it look nice]) against the root we get the following output: [source,bash] ---- $ curl http://localhost:8080/ -w "\n" 2>/dev/null | python -mjson.tool { "resources": [ { "/bench": { "path": "http://localhost:8080/bench", "verbs": [ "GET", "POST", "PUT", "DELETE" ] } }, { "/sample/{who}": { "path": "http://localhost:8080/sample/{who}", "verbs": [ "GET" ] } }, { "/jackson/awesome/{who}": { "path": "http://localhost:8080/jackson/awesome/{who}", "verbs": [ "GET" ] }, "/jackson/{who}": { "path": "http://localhost:8080/jackson/{who}", "verbs": [ "GET" ] } }, { "/": { "path": "http://localhost:8080/", "verbs": [ "GET" ] } } ] } ----
null
null
[ -0.046834297478199005, -0.052787896245718, -0.036723848432302475, 0.012673890218138695, 0.07611139863729477, -0.011381522752344608, 0.05847784876823425, 0.017021289095282555, -0.008626079186797142, -0.04468635842204094, -0.014114855788648129, -0.00827990286052227, -0.05885516107082367, 0.011033166199922562, -0.005335709545761347, 0.04510714113712311, 0.057060882449150085, 0.020596690475940704, 0.029352031648159027, -0.027748683467507362, 0.008717264048755169, 0.08942463248968124, -0.018758857622742653, 0.027312573045492172, 0.0327790305018425, 0.01857525110244751, 0.01564261130988598, 0.02360948547720909, -0.052575692534446716, -0.017834700644016266, 0.016756849363446236, -0.0060407486744225025, -0.0010594933992251754, -0.015582412481307983, 0.015592176467180252, -0.04716924577951431, -0.01811382547020912, 0.0026620461139827967, 0.012454437091946602, 0.006833873223513365, -0.08025078475475311, 0.044556476175785065, -0.013707605190575123, 0.009019054472446442, -0.011501681059598923, 0.023740021511912346, -0.02358422614634037, 0.007845202460885048, 0.0007879518670961261, 0.001595533569343388, -0.05736149474978447, 0.023126250132918358, -0.06180984899401665, 0.03855087235569954, -0.020662633702158928, 0.007777907885611057, 0.03454834222793579, -0.06947283446788788, 0.03341086208820343, -0.03688311576843262, 0.001629650709219277, -0.006608211435377598, 0.02016899362206459, 0.05679863691329956, 0.014135269448161125, -0.02044227160513401, -0.020837916061282158, 0.06949755549430847, -0.03769026696681976, -0.030560653656721115, 0.0028636057395488024, -0.009301042184233665, -0.01816590130329132, 0.027491239830851555, 0.04500563442707062, -0.05085097625851631, 0.017126040533185005, 0.05834444984793663, -0.01959780976176262, 0.050218816846609116, -0.036159515380859375, -0.0020804828964173794, 0.018440302461385727, 0.01579979993402958, 0.0006331626209430397, -0.03425663709640503, -0.023172466084361076, -0.0018668485572561622, -0.018907587975263596, 0.048158928751945496, 0.021063828840851784, -0.04561876505613327, -0.01569702848792076, 0.016385750845074654, 0.005554212257266045, 0.022407671436667442, 0.01672401651740074, -0.00648300489410758, -0.004595242906361818, -0.004123926628381014, -0.01848154515028, 0.018717506900429726, 0.015081497840583324, 0.013252191245555878, -0.0749455913901329, -0.027597451582551003, -0.013945182785391808, -0.008674792014062405, -0.0022456631995737553, -0.00047532602911815047, -0.030951382592320442, 0.03161949664354324, -0.039672162383794785, -0.010309910401701927, -0.05420621484518051, 0.07086323201656342, -0.007154852617532015, -0.05584952235221863, -0.03539182245731354, 0.03923604637384415, 0.016757048666477203, 0.010139512829482555, -0.008124768733978271, 0.07533252239227295, 0.002469373866915703, 0.035960983484983444, -0.016924578696489334, 0.048693034797906876, -0.015567908063530922, -0.05526774376630783, -0.013903355225920677, 0.04641304537653923, 0.01362557616084814, 0.026623010635375977, -0.012699209153652191, -0.024152180179953575, 0.016764039173722267, 0.03403818607330322, 0.06763501465320587, 0.009422492235898972, -0.025862008333206177, -0.015120628289878368, -0.003846017410978675, -0.027641747146844864, 0.040680889040231705, 0.00628615403547883, -0.00747319869697094, -0.04032027721405029, -0.018816452473402023, 0.05174531042575836, 0.02031167596578598, 0.034148748964071274, 0.07092639803886414, -0.01459018886089325, -0.005726841744035482, 0.09270252287387848, 0.031874097883701324, 0.016662264242768288, -0.005150540266185999, 0.008863952942192554, 0.03408354893326759, 0.040685687214136124, 0.009266751818358898, 0.056039463728666306, 0.015093494206666946, -0.009285916574299335, 0.0019094788003712893, 0.017670556902885437, -0.00964956171810627, -0.025175467133522034, -0.0365145318210125, -0.10132846236228943, 0.05337101221084595, -0.0457514263689518, -0.013027741573750973, 0.04668702185153961, 0.09218722581863403, 0.031362202018499374, 0.05421324819326401, -0.0008220429299399257, -0.06385016441345215, 0.01823662780225277, 0.029697347432374954, -0.0022437479346990585, 0.02916032262146473, -0.03695181384682655, 0.07092463970184326, 0.03948754072189331, -0.009681496769189835, 0.028115270659327507, -0.08500313013792038, -0.0853915587067604, -0.010328569449484348, 0.009491887874901295, 0.060426391661167145, 0.00005243286068434827, -0.019800469279289246, 0.055270399898290634, 0.025220420211553574, 0.018101520836353302, 0.05179860442876816, -0.00881054438650608, 0.017605021595954895, -0.05244798585772514, -0.04910792410373688, 0.051953017711639404, 0.03359786421060562, -0.0359039232134819, -0.048026639968156815, 0.004131800960749388, -0.00549263134598732, -0.0064377570524811745, 0.005860994104295969, -0.01759319193661213, 0.02230532467365265, 0.005732594523578882, 0.025904856622219086, -0.03883209452033043, 0.08169712126255035, -0.04890834912657738, 0.057921718806028366, -0.002271329052746296, -0.009264902211725712, -0.027658168226480484, 0.007092074025422335, 0.11942771822214127, 0.03130412474274635, -0.008873152546584606, -0.05815867334604263, 0.06174292042851448, 0.011865932494401932, -0.03417351841926575, -0.012800304219126701, -0.013023159466683865, -0.00629944633692503, -0.002057769102975726, -0.04916582629084587, -0.0042124055325984955, 0.019116071984171867, -0.026858193799853325, 0.0031772740185260773, 0.08324664831161499, -0.037606608122587204, 0.02586633339524269, 0.021877549588680267, -0.029042810201644897, 0.0013863245258107781, -0.030619649216532707, -0.05820247903466225, 0.016384990885853767, -0.0041791037656366825, -0.01828749105334282, 0.05707593262195587, 0.001771521638147533, -0.026757700368762016, -0.013611010275781155, -0.013741838745772839, 0.0365605466067791, 0.025932829827070236, 0.08046489953994751, -0.010156764648854733, 0.058509599417448044, -0.037455253303050995, 0.034798335283994675, -0.01782434992492199, -0.0358571819961071, -0.026524445042014122, 0.0050092050805687904, 0.02476583421230316, 0.04374507814645767, 0.017116732895374298, 0.039700016379356384, 0.015655754134058952, -0.008475786074995995, -0.033775050193071365, 0.022716529667377472, 0.005210239440202713, 0.0039509558118879795, -0.008610717952251434, -0.00854707695543766, -0.026774829253554344, 0.02951923944056034, -0.013605575077235699, -0.0550384558737278, 0.01274881511926651, -0.0670638382434845, 0.0549137108027935, -0.04551408067345619, -0.03559570759534836, 0.007189140189439058, 0.016611939296126366, 0.03649396449327469, 0.009210660122334957, 0.021233689039945602, 0.08332284539937973, -0.003767857328057289, 0.009312138892710209, 0.03509233891963959, -0.011010853573679924, 0.029928386211395264, -0.017857681959867477, 0.01809488609433174, 0.05959407985210419, 0.010968443937599659, 0.024073153734207153, -0.017171865329146385, -0.009651916101574898, -0.01844252459704876, -0.26971349120140076, 0.01508695725351572, -0.008251436054706573, -0.0341036282479763, 0.03347821161150932, -0.006752665154635906, -0.014414581470191479, -0.050256770104169846, -0.014786830171942711, 0.017388176172971725, -0.01534203626215458, -0.04659213498234749, -0.024374201893806458, 0.04677410051226616, -0.012023059651255608, 0.013836847618222237, 0.010948704555630684, -0.030115453526377678, -0.0012039433931931853, 0.03759196773171425, 0.0007861878257244825, -0.0707896426320076, 0.004877438768744469, 0.03932228311896324, 0.009622205048799515, 0.053722161799669266, -0.08600708097219467, 0.0466485396027565, -0.03867340460419655, -0.006924070417881012, 0.017589911818504333, -0.044406957924366, -0.00808386318385601, -0.028399599716067314, -0.0355428084731102, -0.04681560397148132, 0.004723294172435999, 0.0027476027607917786, -0.007923961617052555, 0.010787452571094036, -0.03266602009534836, -0.06296622008085251, -0.02306312881410122, -0.008422846905887127, 0.05518517643213272, 0.00624466547742486, -0.07307229936122894, -0.013419101014733315, -0.028493110090494156, 0.08348076790571213, -0.028285831212997437, -0.05154295265674591, -0.00017160704010166228, 0.021063407883048058, 0.008454497903585434, -0.03617103025317192, -0.0006551305996254086, -0.029023651033639908, -0.05646057054400444, -0.0249987430870533, 0.02296137809753418, -0.04997297376394272, -0.02886628732085228, -0.06578637659549713, -0.040767211467027664, -0.05674970895051956, -0.03473406657576561, 0.009924627840518951, 0.03467201814055443, 0.025902483612298965, -0.019176723435521126, 0.0006982224876992404, 0.019474772736430168, -0.10941828787326813, -0.005225642118602991, -0.048918332904577255, -0.06007719039916992, -0.006070506758987904, -0.024813180789351463, 0.026266762986779213, -0.042573295533657074, -0.009603261016309261, -0.020414287224411964, 0.02157013490796089, 0.0014082388952374458, 0.003684996860101819, 0.028161797672510147, -0.02567550353705883, -0.013412972912192345, 0.0038287804927676916, 0.053033389151096344, -0.0077628991566598415, -0.014634767547249794, -0.04108044132590294, -0.004684922285377979, 0.040256254374980927, 0.019860466942191124, -0.02438848838210106, -0.006271681282669306, 0.032830316573381424, 0.058509934693574905, -0.03528947755694389, 0.02134384773671627, 0.019713276997208595, -0.030764328315854073, 0.00958038680255413, -0.06922980397939682, 0.008039248175919056, 0.03723929822444916, 0.011667236685752869, -0.01142645813524723, -0.07016422599554062, -0.01244798768311739, -0.05003296583890915, -0.04168427363038063, -0.01095563918352127, 0.013610759750008583, 0.010458492673933506, 0.05990138649940491, -0.042456723749637604, -0.07946377247571945, 0.024511732161045074, 0.021266203373670578, -0.04548512026667595, -0.04245530068874359, -0.0386308915913105, -0.02688874863088131, -0.023421579971909523, 0.027403663843870163, 0.026966774836182594, -0.019645627588033676, 0.01905815117061138, 0.01780880056321621, -0.005747294519096613, 0.007529271300882101, -0.029812617227435112, -0.024721845984458923, -0.04798361286520958, -0.006701290141791105, -0.024934781715273857, -0.021599184721708298, 0.004915003199130297, 0.029819607734680176, 0.011204752139747143, 0.06731710582971573, 0.005763827357441187, 0.045122891664505005, -0.0022860406897962093, 0.0009222941589541733, -0.005425794515758753, 0.02798740193247795, -0.046020157635211945, 0.02579478919506073, -0.03718240559101105, 0.00850472692400217, -0.014587477780878544, 0.027419131249189377, -0.03319569677114487, -0.0441131517291069, -0.028086021542549133, 0.04498601704835892, -0.06026391312479973, -0.01223209872841835, 0.005695415660738945, -0.030810721218585968, 0.06208500638604164, -0.004735597874969244, 0.04231905937194824, -0.01871081069111824, -0.013209635391831398, 0.007709399797022343, -0.04093892127275467, 0.018074972555041313, 0.014824769459664822, -0.022222384810447693, 0.01765415631234646, 0.02495056577026844, 0.06803492456674576, 0.01723354309797287, 0.008433543145656586, -0.018228845670819283, -0.022025441750884056, 0.008531589061021805, 0.01743565872311592, 0.032180871814489365, -0.01653706282377243, 0.0023907616268843412, 0.008277155458927155, -0.030206991359591484, -0.031137634068727493, 0.013836175203323364, 0.00868094153702259, -0.014486587606370449, -0.004604366607964039, -0.007846381515264511, -0.10802638530731201, 0.030232571065425873, -0.009398989379405975, 0.014279828406870365, -0.0031149203423410654, 0.012820732779800892, -0.0030397106893360615, -0.015167847275733948, 0.04196031019091606, 0.04481882601976395, -0.04020475223660469, -0.012263435870409012, 0.01462776679545641, -0.010474489070475101, 0.01377913262695074, -0.003948266617953777, -0.056676458567380905, -0.003534995950758457, -0.0038599870167672634, 0.007917582988739014, -0.04697185382246971, -0.06102251634001732, -0.026477759703993797, 0.01168807689100504, 0.00669648963958025, 0.03773290291428566, 0.014629700221121311, -0.0015372037887573242, -0.007510576397180557, 0.0033315157052129507, 0.015109729021787643, -0.02709457091987133, 0.007367955520749092, 0.007787664420902729, -0.040982943028211594, 0.03987467661499977, -0.047767121344804764, 0.04609859734773636, -0.001317378832027316, 0.0021174007561057806, 0.022156987339258194, -0.0324154831469059, -0.007247264496982098, 0.033225130289793015, 0.07117379456758499, 0.017000725492835045, 0.017251133918762207, -0.04770868644118309, -0.028320081532001495, -0.02043444663286209, 0.004665491636842489, -0.0005402808892540634, 0.002402713755145669, 0.020381664857268333, 0.042503125965595245, 0.004887073766440153, 0.03655681014060974, -0.023339206352829933, -0.028115345165133476, 0.0855073481798172, -0.04375417158007622, -0.0490252859890461, -0.011437690816819668, -0.06110707297921181, 0.009584267623722553, 0.054497551172971725, 0.025002839043736458, -0.03763074800372124, 0.06625644117593765, 0.04416077584028244, -0.0007527030538767576, 0.027324441820383072, -0.027314407750964165, 0.025055909529328346, -0.0201069638133049, -0.03883086517453194, -0.09963126480579376, -0.021012067794799805, 0.07223212718963623, -0.021854354068636894, -0.03285487741231918, -0.017911991104483604, -0.036505475640296936, 0.04096832498908043, -0.06451722234487534, -0.039019692689180374, 0.019828185439109802, 0.00007362368342000991, 0.0057255662977695465, 0.02493077889084816, -0.03749895095825195, 0.028508510440587997, 0.0476691871881485, -0.019650014117360115, 0.001347100012935698, -0.01840372011065483, 0.04080886393785477, 0.015761787071824074, 0.04118441045284271, -0.020321710035204887, 0.026934683322906494, 0.07010255753993988, 0.015353995375335217, 0.0001506273401901126, 0.04791363328695297, -0.025707868859171867, 0.040627092123031616, 0.0459756962954998, -0.0164033193141222, 0.010612067766487598, 0.024865075945854187, -0.02049287036061287, -0.06573453545570374, 0.030979672446846962, 0.014478915371000767, -0.009589916095137596, -0.04486161097884178, 0.06653816252946854, 0.006478528492152691, -0.05668801814317703, -0.052085597068071365, 0.004281300585716963, -0.03607744351029396, -0.015423111617565155, -0.02444244548678398, 0.030861245468258858, -0.025517592206597328, 0.04497209191322327, -0.014935481362044811, 0.033627137541770935, 0.06148079037666321, 0.014611434191465378, -0.04591427370905876, 0.0018069263314828277, 0.06368815153837204, 0.07416485995054245, -0.005196129437536001, -0.0016038217581808567, 0.04497511312365532, -0.020454494282603264, -0.04893549159169197, 0.029686452820897102, -0.0055946181528270245, -0.015840109437704086, 0.01217200979590416, 0.00748034194111824, 0.06453097611665726, -0.0014415071345865726, 0.054333653301000595, -0.02799317054450512, -0.011591155081987381, 0.00931247416883707, 0.021430209279060364, 0.0174521766602993, 0.0010133659234270453, -0.014822366647422314, 0.034224290400743484, -0.010623731650412083, -0.02707567624747753, -0.0008872864418663085, -0.017641112208366394, -0.029454786330461502, 0.04681910201907158, -0.027643520385026932, -0.017149316146969795, 0.004667098168283701, 0.029882384464144707, 0.0888366624712944, -0.015158005990087986, 0.007296867668628693, -0.016322731971740723, 0.0066690100356936455, 0.023881221190094948, 0.016423789784312248, -0.019977213814854622, -0.02310268022119999, 0.015883557498455048, -0.03332093730568886, -0.010932578705251217, -0.019297968596220016, -0.047244079411029816, 0.02349994331598282, -0.008762299083173275, 0.017125669866800308, 0.02226852998137474, 0.0038891457952558994, -0.042462293058633804, -0.07711489498615265, -0.06985535472631454, -0.0240097064524889, -0.05815567448735237, -0.006150319240987301, 0.025110384449362755, 0.00951682310551405, -0.03700047358870506, -0.008290874771773815, -0.013234673999249935, 0.019880278035998344, 0.03384837880730629, -0.022790122777223587, -0.011922433041036129, 0.018860889598727226, 0.03339875862002373, 0.01924576424062252, 0.018517544493079185, 0.07762844860553741, -0.011429932899773121, -0.01726778782904148, -0.004585084039717913, 0.010820424184203148, 0.03461788594722748, 0.024686070159077644, 0.011684611439704895, -0.08131949603557587, 0.014263322576880455, 0.029907813295722008, 0.015153106302022934, -0.048348888754844666, -0.00010606868454487994, 0.03565384820103645, -0.0015368977328762412, 0.06770515441894531, -0.011594614945352077, 0.013231279328465462, -0.022909414023160934, 0.006598678883165121, 0.014159289188683033, -0.0023902214597910643, 0.048493392765522, -0.017215661704540253, 0.06873006373643875, 0.04686279967427254, 0.0013587236171588302, -0.05449507758021355, -0.011850662529468536, 0.0022989849094301462, -0.003710408229380846, -0.0450541228055954, -0.004350161645561457, -0.06632450222969055, -0.06958926469087601, -0.019935276359319687, 0.030256694182753563, -0.0606960691511631, -0.04259077087044716, 0.003359795780852437, 0.01948368363082409, -0.030588345602154732, 0.023704316467046738, -0.044535014778375626, 0.018363384529948235, -0.001175596727989614, -0.016910018399357796, -0.026979854330420494, 0.01420145109295845, 0.037626251578330994, 0.0032347021624445915, 0.04349222406744957, -0.03236682340502739, 0.0010550037259235978, -0.01829705759882927, 0.004677352495491505, 0.05881667509675026, -0.015784675255417824, -0.05696401372551918 ]
[ -0.08709681779146194, 0.0038232796359807253, -0.005516576115041971, -0.038671258836984634, 0.06444716453552246, -0.043315645307302475, -0.0020006438717246056, 0.0357716828584671, 0.005884226877242327, -0.031572580337524414, 0.012438541278243065, -0.03923690691590309, 0.0005749202682636678, 0.011202176101505756, 0.09611826390028, -0.015884315595030785, -0.03684389218688011, -0.03434262052178383, -0.01965976506471634, 0.033962443470954895, 0.020969340577721596, -0.012416517361998558, 0.001507802284322679, -0.05599009990692139, 0.043779708445072174, 0.048499807715415955, 0.058551765978336334, -0.0012144475476816297, 0.007618820294737816, -0.17047816514968872, -0.0008151880465447903, 0.004432579502463341, 0.010668344795703888, 0.00860923994332552, -0.030739057809114456, 0.07912604510784149, -0.016468608751893044, 0.052856337279081345, 0.03728470951318741, 0.04964425042271614, 0.03139961510896683, 0.05010417103767395, -0.06433945894241333, -0.023404262959957123, 0.027915213257074356, -0.016310276463627815, -0.005276815500110388, -0.005910001695156097, 0.00794783141463995, 0.00839171651750803, -0.06961125880479813, -0.011291145347058773, 0.03369535133242607, -0.029216768220067024, -0.0063693891279399395, 0.053319189697504044, 0.05346411094069481, 0.09006568789482117, 0.0010024362709373236, 0.05042780935764313, 0.03170749172568321, -0.022266117855906487, -0.157073512673378, 0.08690203726291656, 0.027839066460728645, 0.03191910684108734, -0.02378939278423786, 0.02030554786324501, -0.047420892864465714, 0.03591666743159294, 0.00793791376054287, -0.01638498529791832, -0.017285196110606194, 0.048129238188266754, -0.0009473718237131834, -0.004756659734994173, -0.006623914465308189, 0.022434864193201065, 0.053193069994449615, -0.043646711856126785, -0.05530755594372749, -0.03583751991391182, -0.02512204833328724, -0.017841484397649765, -0.0277593694627285, 0.03806980699300766, -0.01737082749605179, 0.07427056133747101, 0.03449772298336029, 0.043917037546634674, 0.04560098052024841, -0.025005273520946503, 0.06094060465693474, 0.02096078358590603, -0.12034167349338531, -0.012318585999310017, -0.02978331409394741, 0.007117702160030603, -0.024122076109051704, 0.4018266797065735, 0.0089418301358819, -0.0328686386346817, 0.06913567334413528, 0.020172979682683945, 0.019864225760102272, 0.005086814519017935, -0.004888283554464579, -0.05626285821199417, 0.03743276372551918, -0.012160496786236763, -0.012821579352021217, 0.006470285821706057, 0.012578761205077171, -0.053226642310619354, -0.0006584322545677423, 0.0018075723201036453, 0.0373685322701931, 0.02650832012295723, -0.02982681803405285, 0.01440924871712923, -0.007618121337145567, -0.022239424288272858, -0.007573164999485016, 0.015581324696540833, -0.023540029302239418, -0.007532167714089155, 0.02292867749929428, 0.021125664934515953, 0.06178777292370796, 0.0013114557368680835, 0.0326155461370945, -0.038227617740631104, -0.08957265317440033, -0.005954886320978403, 0.01702580787241459, 0.02145744115114212, 0.042687270790338516, -0.04863802343606949, -0.011765747331082821, 0.031702253967523575, 0.0019456238951534033, -0.04728344455361366, 0.009986946359276772, -0.039819955825805664, -0.06427300721406937, 0.12932422757148743, 0.009749049320816994, -0.030349144712090492, 0.02474140375852585, -0.045588452368974686, -0.030566470697522163, 0.058462515473365784, 0.012346232309937477, -0.056499965488910675, -0.01835601031780243, 0.032113976776599884, 0.04698548465967178, -0.045174408704042435, -0.0305496659129858, -0.014181675389409065, -0.010480504482984543, -0.03826718404889107, -0.0204230397939682, 0.06073521077632904, 0.05475780367851257, -0.09364639222621918, -0.031820643693208694, -0.002223929390311241, -0.012635914608836174, -0.07378225028514862, -0.019621949642896652, 0.042303141206502914, -0.017310645431280136, 0.008957750163972378, 0.04590873420238495, -0.013236546888947487, -0.02231930010020733, 0.003527033608406782, 0.015034258365631104, 0.007038924843072891, 0.0038288161158561707, 0.009281598031520844, -0.06033993512392044, 0.0034537019673734903, -0.022029802203178406, -0.053270094096660614, -0.09228286892175674, -0.004742645658552647, -0.01629987172782421, 0.0014116591773927212, -0.055150702595710754, -0.005023817531764507, -0.040182702243328094, 0.07080063223838806, -0.004531565122306347, 0.015658481046557426, 0.0038313341792672873, -0.00717249745503068, 0.017077719792723656, -0.05087532103061676, 0.01834893971681595, 0.04517367482185364, 0.00466442434117198, 0.03361675888299942, -0.06460389494895935, 0.04186490923166275, 0.06497681140899658, -0.045852333307266235, 0.06777042150497437, 0.0011723700445145369, -0.07655584812164307, -0.011036733165383339, 0.0004207054153084755, 0.01122263167053461, 0.005183708854019642, -0.03404802456498146, 0.00753401406109333, -0.0007763691246509552, 0.0476825013756752, 0.03170078992843628, -0.06147999316453934, -0.023176763206720352, -0.04311943054199219, -0.34139394760131836, -0.023560671135783195, 0.004095129668712616, 0.009787634946405888, -0.002144330646842718, -0.033406808972358704, 0.00706495949998498, -0.03351225703954697, 0.007036599330604076, 0.003461429849267006, 0.08556506037712097, -0.03467627242207527, 0.008485754951834679, -0.07324199378490448, 0.0004862785863224417, 0.030663395300507545, -0.02874329313635826, -0.024651825428009033, -0.025943132117390633, 0.01554939616471529, 0.019099708646535873, -0.023264041170477867, -0.02531558834016323, -0.011695616878569126, -0.020610570907592773, -0.02466132678091526, 0.08039647340774536, 0.018917979672551155, 0.05142786353826523, -0.08643518388271332, 0.07054760307073593, 0.014932867139577866, 0.013687788508832455, -0.08589538931846619, -0.02213311567902565, -0.049469128251075745, -0.02879747748374939, -0.014113705605268478, 0.037567973136901855, -0.030509013682603836, -0.055966299027204514, 0.012639172375202179, -0.0704258605837822, -0.03610988333821297, -0.030095655471086502, 0.011851849965751171, -0.03284210339188576, -0.0421593077480793, 0.013377632014453411, 0.059042543172836304, -0.010181098245084286, 0.007063005119562149, 0.07162356376647949, 0.014966505579650402, 0.020439762622117996, -0.014326522126793861, -0.062378715723752975, -0.012405584566295147, 0.0008814022876322269, -0.003533574752509594, 0.023171745240688324, 0.06570883095264435, 0.040430452674627304, -0.05399097874760628, 0.002547728130593896, 0.009327161125838757, -0.01968693919479847, -0.00018717089551500976, 0.01853250339627266, -0.04189891740679741, -0.034698229283094406, 0.05780024826526642, 0.002582153072580695, 0.010907419957220554, 0.02645888179540634, 0.0372818298637867, -0.008461199700832367, 0.0008328418480232358, 0.03982265293598175, 0.0024070818908512592, 0.02561342716217041, -0.01885422319173813, 0.035613179206848145, -0.02056477963924408, -0.01855933479964733, 0.102420374751091, -0.004920732229948044, -0.05167164281010628, 0.06248431280255318, 0.02632356621325016, -0.02913554757833481, 0.020636171102523804, -0.008080581203103065, -0.05506334453821182, 0.07035858929157257, -0.009889915585517883, -0.2533698081970215, 0.03873353824019432, 0.07065035402774811, 0.0467151440680027, -0.007345884572714567, 0.016333341598510742, 0.04360666871070862, -0.04982916638255119, 0.009069465100765228, 0.04397467523813248, 0.06517386436462402, 0.025559699162840843, 0.00672066630795598, -0.02821044810116291, 0.019276095554232597, -0.002041032537817955, 0.0675770714879036, 0.03525497764348984, 0.05130654200911522, -0.0023402308579534292, 0.021971987560391426, -0.022247035056352615, 0.19028767943382263, 0.021557951346039772, 0.023144958540797234, 0.049575433135032654, -0.019523559138178825, 0.011712461709976196, 0.042910777032375336, 0.0059439754113554955, 0.0036451290361583233, -0.0002142611047020182, 0.07314758747816086, 0.03717641159892082, 0.03075326792895794, -0.09075889736413956, -0.004407671745866537, 0.046722110360860825, -0.013517950661480427, -0.03324843570590019, -0.038497939705848694, 0.013010016642510891, -0.05288803577423096, 0.03598809987306595, 0.07578948140144348, 0.0004804936470463872, -0.01210433803498745, -0.016449149698019028, -0.06408651918172836, -0.007878302596509457, -0.05889325961470604, -0.04416518658399582, -0.027640951797366142, -0.03941653296351433, -0.027510086074471474, 0.07023104280233383, 0.020205115899443626, -0.05744808539748192, -0.004114174749702215, 0.011468389071524143, -0.021756146103143692, -0.019518960267305374, 0.0801488533616066, -0.001177617465145886, -0.008062687702476978 ]
[ -0.021123433485627174, 0.049939267337322235, 0.0008122827275656164, -0.001211643568240106, 0.009989061392843723, 0.01285271905362606, -0.0016573587199673057, 0.016518577933311462, -0.006026221439242363, -0.0011216748971492052, -0.012452272698283195, 0.018086690455675125, 0.06995614618062973, 0.015093992464244366, 0.005851768422871828, -0.008076821453869343, -0.020083483308553696, 0.04217594489455223, 0.00811017956584692, 0.005700560752302408, 0.03733241185545921, 0.014430859126150608, 0.016977475956082344, -0.054719939827919006, 0.027222612872719765, 0.04682227224111557, 0.028220057487487793, 0.008557768538594246, -0.0038530882447957993, -0.09951601177453995, -0.03918799012899399, -0.01592724584043026, -0.0023807832039892673, -0.051155999302864075, 0.001306501217186451, 0.01941104419529438, 0.011135746724903584, 0.03921347111463547, 0.014280935749411583, 0.025512687861919403, -0.012566891498863697, 0.024052398279309273, -0.005623939447104931, -0.008227435871958733, -0.02525402046740055, -0.03118799813091755, -0.02436836250126362, -0.011009455658495426, -0.03616298735141754, -0.007740095257759094, -0.02940668910741806, -0.027760732918977737, 0.04903455451130867, -0.02805834636092186, -0.008128298446536064, -0.01664206013083458, -0.10156524926424026, 0.033116407692432404, -0.009715329855680466, -0.04243362322449684, 0.04027513042092323, -0.030241040512919426, -0.03837863728404045, -0.03838779404759407, 0.009566728956997395, -0.03301740065217018, 0.010965412482619286, 0.018446704372763634, -0.0077707418240606785, -0.02838224545121193, 0.0029222397133708, 0.05421992018818855, -0.040866874158382416, 0.01809232495725155, 0.004634426906704903, 0.01685279607772827, 0.0005776524194516242, 0.012724315747618675, 0.019984526559710503, -0.01303116511553526, -0.01009009312838316, -0.015012319199740887, -0.00792399700731039, 0.0018564773490652442, 0.01073476392775774, 0.02497275359928608, 0.0006423731101676822, -0.008506600745022297, 0.03529234975576401, 0.051358696073293686, -0.007724113762378693, -0.025632213801145554, -0.0013684803852811456, -0.02290397323668003, -0.08912795782089233, 0.029306326061487198, -0.04357306286692619, 0.022099653258919716, -0.016198087483644485, 0.7886553406715393, 0.0391436405479908, 0.009594271890819073, 0.027540115639567375, 0.0227325651794672, 0.05187131464481354, -0.0023197138216346502, 0.009869416244328022, 0.04652757942676544, 0.026316141709685326, 0.020444165915250778, -0.04776640608906746, 0.020386647433042526, 0.0078026787377893925, 0.018223196268081665, -0.001703169196844101, 0.028099998831748962, 0.08573094010353088, -0.024014556780457497, -0.014520888216793537, 0.06168466806411743, 0.028080152347683907, -0.031106743961572647, -0.023278048262000084, -0.0003698555228766054, 0.024237625300884247, -0.12018749117851257, -0.02267494797706604, -6.450719941389158e-33, 0.06495717167854309, 0.027012238278985023, 0.06073923036456108, -0.01301922369748354, -0.012313826009631157, -0.028576867654919624, 0.00022854832059238106, -0.0022390263620764017, -0.03167539834976196, -0.06364937126636505, -0.014392226003110409, -0.00568554038181901, 0.009865611791610718, -0.04823468253016472, -0.004646124318242073, -0.02864885702729225, 0.002677296753972769, 0.018586652353405952, 0.012485409155488014, -0.000779456808231771, 0.015332723036408424, 0.019065149128437042, 0.008749124594032764, -0.005102519877254963, -0.01383207831531763, 0.007685184944421053, 0.03824750334024429, 0.005671624094247818, -0.07717201113700867, -0.03466308116912842, -0.00013373693218454719, -0.0351172499358654, -0.01865476183593273, -0.025969190523028374, 0.030801773071289062, -0.03130464255809784, -0.010797190479934216, 0.0015512522077187896, -0.033781636506319046, -0.07756350934505463, -0.03631305694580078, -0.013805431313812733, -0.05044935271143913, 0.06597781181335449, -0.02964898943901062, -0.04052411764860153, -0.006007168907672167, 0.015065758489072323, -0.019381843507289886, 0.049003180116415024, 0.01349621545523405, 0.029299382120370865, 0.0099311713129282, -0.006339200306683779, -0.03269313648343086, 0.04771074280142784, 0.02300487644970417, 0.027853332459926605, -0.018600959330797195, 0.013080148957669735, 0.014499690383672714, 0.019058028236031532, -0.02023431658744812, 0.05451386049389839, 0.023469775915145874, -0.009426413103938103, -0.0061902329325675964, -0.011088613420724869, 0.0035165157169103622, 0.004769590683281422, -0.0014870992163196206, -0.014104577712714672, 0.05702919512987137, -0.007891673594713211, 0.03671920672059059, -0.0055684419348835945, -0.008758684620261192, 0.0030599026940762997, 0.0020766688976436853, -0.02219473011791706, 0.0077555919997394085, -0.06260152161121368, -0.016368919983506203, -0.00034669111482799053, -0.010218480601906776, -0.001648712088353932, 0.03659474477171898, -0.023051617667078972, 0.03915570303797722, -0.006439143791794777, 0.09674607217311859, 0.03462839871644974, -0.02969738468527794, -0.013575714081525803, -0.04034916311502457, 6.725667335362521e-33, 0.010769922286272049, 0.015803882852196693, 0.020993025973439217, -0.013333920389413834, -0.037902940064668655, -0.039899829775094986, 0.02962701953947544, 0.039722930639982224, -0.05806039646267891, 0.028825031593441963, -0.029616648331284523, -0.006654472555965185, 0.016490239650011063, 0.030013106763362885, 0.03307943046092987, 0.010674946010112762, 0.06924398243427277, -0.027708763256669044, 0.06228182092308998, -0.004947211127728224, -0.0005054200883023441, -0.027300182729959488, -0.000541269953828305, 0.00654843682423234, -0.011237390339374542, 0.032762348651885986, -0.010377633385360241, -0.005138274282217026, -0.045522578060626984, -0.03196238353848457, 0.029658209532499313, 0.008096819743514061, 0.008429981768131256, -0.060227394104003906, -0.05965796113014221, 0.01235636230558157, -0.04048612713813782, 0.042471952736377716, 0.05892767384648323, -0.02349628321826458, -0.011953720822930336, -0.06466653198003769, 0.019395362585783005, 0.05408840999007225, 0.0041789584793150425, -0.05302542448043823, -0.0027352641336619854, 0.0038669342175126076, -0.02362167276442051, -0.0013896680902689695, -0.010166451334953308, 0.05189105495810509, 0.00550844706594944, 0.016681445762515068, 0.044392116367816925, -0.022587720304727554, -0.04366384074091911, 0.01343574933707714, -0.010289750061929226, 0.05296524986624718, 0.020248908549547195, -0.010350928641855717, -0.05452912673354149, 0.055199094116687775, 0.01024586334824562, -0.04629764333367348, -0.003461221931502223, -0.012283355928957462, -0.04308560490608215, 0.0011256536236032844, -0.01854376308619976, 0.007875368930399418, 0.0166565403342247, 0.02238880656659603, 0.0727681890130043, -0.053049277514219284, -0.0000230741934501566, -0.013444154523313046, -0.0481877326965332, 0.007952850311994553, -0.025214221328496933, -0.006485036574304104, -0.039154406636953354, -0.05401318520307541, 0.022531431168317795, -0.024722827598452568, -0.028127118945121765, 0.03576504439115524, -0.02144431881606579, -0.01877412758767605, 0.00132402079179883, 0.010254736058413982, -0.0266532301902771, 0.015244219452142715, -0.01691797375679016, -1.2184131037429324e-8, -0.017714545130729675, -0.014943291433155537, -0.01711949147284031, -0.00791189819574356, 0.003214998636394739, 0.0003395065141376108, -0.05357673391699791, 0.010027874261140823, 0.027807345613837242, 0.028383176773786545, 0.03104732371866703, 0.02454371005296707, 0.016780471429228783, 0.017541935667395592, 0.052082937210798264, -0.023551778867840767, 0.019875619560480118, -0.009570394642651081, 0.014329452067613602, 0.02747907117009163, 0.01707983948290348, 0.05442638695240021, -0.03339483216404915, -0.012855092994868755, 0.06514821946620941, -0.04491730406880379, 0.023050246760249138, -0.036715295165777206, 0.003780076978728175, -0.024032138288021088, -0.01555778831243515, 0.018628140911459923, -0.04348183423280716, -0.01507999561727047, -0.050864510238170624, -0.014768445864319801, -0.01970701478421688, 0.00787199568003416, -0.023722385987639427, 0.026796219870448112, -0.012051461264491081, 0.03242945298552513, -0.049097031354904175, -0.0025047974195331335, -0.0029324954375624657, 0.01688927784562111, -0.01831146888434887, 0.026624279096722603, 0.006285146344453096, -0.0697731226682663, -0.03687566518783569, -0.008849718607962132, 0.0257783904671669, -0.028936725109815598, 0.04969105124473572, 0.00751331215724349, 0.0010939445346593857, 0.02046615071594715, 0.0034410536754876375, 0.023181127384305, 0.013821309432387352, 0.007977552711963654, -0.0387546606361866, -0.039181314408779144 ]
jersey-listing-all-resources-paths-verbs-to-build-an-entry-pointindex-for-an-api
https://markhneedham.com/blog/2013/07/21/jersey-listing-all-resources-paths-verbs-to-build-an-entry-pointindex-for-an-api
false
2013-07-31 06:21:42
AWS: Attaching an EBS volume on an EC2 instance and making it available for use
[ "software-development" ]
[ "Software Development" ]
I recently wanted to attach an EBS volume to an existing EC2 instance that I had running and since it was for a one off tasks (famous last words) I decided to configure it manually. I created the EBS volume through the AWS console and one thing that initially caught me out is that the EC2 instance and EBS volume need to be in the *same region and zone*. Therefore if I create my EC2 instance in 'eu-west-1b' then I need to create my EBS volume in 'eu-west-1b' as well otherwise I won't be able to attach it to that instance. I attached the device as +++<cite>+++/dev/sdf+++</cite>+++ although the UI gives the following warning: ____ Linux Devices: /dev/sdf through /dev/sdp Note: Newer linux kernels may rename your devices to /dev/xvdf through /dev/xvdp internally, even when the device name entered here (and shown in the details) is /dev/sdf through /dev/sdp. ____ After attaching the EBS volume to the EC2 instance my next step was to SSH onto my EC2 instance and http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html[make the EBS volume available]. The first step is to create a file system on the volume: [source,bash] ---- $ sudo mkfs -t ext3 /dev/sdf mke2fs 1.42 (29-Nov-2011) Could not stat /dev/sdf --- No such file or directory The device apparently does not exist; did you specify it correctly? ---- It turns out that warning was handy and the device has in fact been renamed. We can confirm this by calling +++<cite>+++fdisk+++</cite>+++: [source,bash] ---- $ sudo fdisk -l Disk /dev/xvda1: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/xvda1 doesn't contain a valid partition table Disk /dev/xvdf: 53.7 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/xvdf doesn't contain a valid partition table ---- +++<cite>+++/dev/xvdf+++</cite>+++ is the one we're interested in so I re-ran the previous command: [source,bash] ---- $ sudo mkfs -t ext3 /dev/xvdf mke2fs 1.42 (29-Nov-2011) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 3276800 inodes, 13107200 blocks 655360 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 400 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done ---- Once I'd done that I needed to create a mount point for the volume and I thought the best place was probably a directory under +++<cite>+++/mnt+++</cite>+++: [source,bash] ---- $ sudo mkdir /mnt/ebs ---- The final step is to mount the volume: [source,bash] ---- $ sudo mount /dev/xvdf /mnt/ebs ---- And if we run +++<cite>+++df+++</cite>+++ we can see that it's ready to go: [source,bash] ---- $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.9G 883M 6.7G 12% / udev 288M 8.0K 288M 1% /dev tmpfs 119M 164K 118M 1% /run none 5.0M 0 5.0M 0% /run/lock none 296M 0 296M 0% /run/shm /dev/xvdf 50G 180M 47G 1% /mnt/ebs ----
null
null
[ -0.01788460463285446, -0.0387314110994339, -0.02116783708333969, 0.07450669258832932, 0.08901620656251907, 0.02159801311790943, -0.024548372253775597, 0.007145162671804428, 0.009988455101847649, -0.010532042011618614, -0.024456674233078957, 0.00019196094945073128, -0.04586796835064888, 0.02988572232425213, -0.051933132112026215, 0.03548501431941986, 0.0772075280547142, 0.01787319965660572, 0.011367328464984894, 0.0296426210552454, 0.004767784383147955, 0.049345262348651886, 0.02619238942861557, 0.02879922091960907, 0.0247628353536129, 0.01144145242869854, 0.01487104594707489, -0.00806346070021391, -0.024077147245407104, -0.028134072199463844, 0.02943870984017849, -0.025031697005033493, -0.00005586372208199464, -0.017752397805452347, 0.010850979015231133, -0.012602305971086025, -0.04845797270536423, -0.011295970529317856, 0.008444711565971375, -0.0002113723021466285, -0.0707758292555809, 0.018811434507369995, -0.005886804312467575, 0.0030167601071298122, -0.026897136121988297, 0.019632279872894287, -0.04939804598689079, -0.008865808136761189, -0.0012478104326874018, 0.01186711248010397, -0.04462208226323128, 0.00512665743008256, -0.0238033514469862, -0.015425669960677624, 0.020945042371749878, -0.007481073495000601, 0.012310194782912731, -0.08424611389636993, 0.05841771140694618, -0.03584909811615944, -0.004331107717007399, -0.023867687210440636, -0.02388733997941017, 0.03381487354636192, 0.026289232075214386, -0.06180817261338234, 0.005197546910494566, 0.031720854341983795, -0.04510108754038811, -0.007854018360376358, -0.001530328532680869, -0.02294420264661312, -0.006848631892353296, -0.027954669669270515, 0.010916898027062416, -0.049265097826719284, -0.01758694089949131, 0.038634106516838074, 0.035857345908880234, 0.07549989968538284, 0.006689002271741629, -0.01295454427599907, -0.012822778895497322, -0.010488712228834629, 0.02140682376921177, -0.052511196583509445, -0.05085858330130577, 0.006180771626532078, -0.05127686634659767, 0.06827538460493088, 0.012546023353934288, -0.030852679163217545, 0.014543034136295319, 0.014736116863787174, 0.00112124253064394, -0.020626245066523552, 0.006435032933950424, -0.00446673110127449, 0.03163968399167061, 0.01169807743281126, -0.0264121163636446, 0.01802252233028412, -0.03704211488366127, 0.024091150611639023, -0.04052939638495445, 0.013610068708658218, -0.033962126821279526, -0.022925959900021553, 0.012826281599700451, -0.023096628487110138, 0.009414410218596458, 0.004039890132844448, 0.0059086778201162815, -0.009061845019459724, -0.08632355183362961, 0.04834786057472229, 0.044434767216444016, -0.056878481060266495, -0.0040955557487905025, 0.030949195846915245, 0.044730860739946365, 0.030597100034356117, -0.013022755272686481, 0.05600914731621742, 0.0016407769871875644, -0.015631437301635742, -0.0273098386824131, 0.0353848896920681, -0.011288333684206009, -0.039640359580516815, -0.037905022501945496, 0.05270941182971001, 0.041323501616716385, 0.009052595123648643, -0.0062010930851101875, 0.009661219082772732, -0.019050072878599167, -0.0015562699409201741, 0.07429996132850647, 0.037745628505945206, 0.013860072940587997, -0.0026386782992631197, -0.009091649204492569, -0.008078543469309807, 0.030809128656983376, 0.018014593049883842, -0.03370114788413048, -0.03961608558893204, -0.05957977473735809, 0.01594088226556778, 0.033408865332603455, 0.03650755062699318, 0.043193310499191284, -0.044222742319107056, 0.024162353947758675, 0.1064300611615181, 0.060915663838386536, 0.0025749104097485542, -0.01971304789185524, -0.005621373653411865, 0.022406533360481262, 0.016453363001346588, 0.006303704343736172, 0.06471937149763107, 0.00925421342253685, -0.04427017271518707, 0.017500190064311028, 0.04214353859424591, 0.004317551851272583, 0.01194701623171568, -0.06512551754713058, -0.06180861219763756, 0.07196296006441116, -0.024446163326501846, -0.0009111113613471389, 0.03869716450572014, 0.12136609852313995, 0.03583788499236107, 0.00700075738132, 0.01795893907546997, -0.07006076723337173, 0.051416825503110886, 0.012140646576881409, 0.02247619815170765, 0.039824966341257095, 0.015123264864087105, 0.06183706596493721, 0.03056200221180916, 0.02375880815088749, 0.06166836991906166, -0.08285777270793915, -0.09281856566667557, 0.002427556086331606, 0.0207513440400362, 0.041659727692604065, -0.038636304438114166, -0.011866084299981594, 0.05265974998474121, -0.009306980296969414, 0.01284203864634037, -0.014796821400523186, 0.01499868743121624, -0.0006444353493861854, -0.05479922890663147, -0.06735281646251678, 0.04553913697600365, 0.002134785521775484, -0.00679589482024312, -0.011559391394257545, 0.017908742651343346, -0.03487835079431534, -0.003486064961180091, 0.037407997995615005, -0.04769694060087204, 0.05790155753493309, -0.0027051232755184174, 0.019540885463356972, -0.05061152204871178, 0.011828389018774033, -0.043183475732803345, 0.041380662471055984, 0.017486723139882088, -0.01825043186545372, 0.027300672605633736, -0.009588752873241901, 0.08032029122114182, 0.061137985438108444, -0.012596235610544682, -0.04684121161699295, 0.0397244393825531, 0.01048519741743803, -0.05040524899959564, 0.0014219816075637937, 0.003116848412901163, -0.0033831261098384857, 0.019323935732245445, -0.02199985645711422, -0.035706598311662674, 0.006640965584665537, -0.013130320236086845, 0.019118959084153175, 0.05362933874130249, -0.005182867404073477, 0.055704403668642044, 0.010050314478576183, -0.018399672582745552, 0.02797672711312771, -0.027264542877674103, -0.05665573105216026, -0.03711312264204025, 0.006345495581626892, 0.0008798249182291329, 0.036063212901353836, -0.034586384892463684, 0.03757737949490547, -0.02926727384328842, -0.015702953562140465, 0.03979113698005676, 0.02699096128344536, 0.07330016791820526, -0.04223458096385002, 0.04553937911987305, -0.03643587604165077, 0.043809924274683, -0.01930425874888897, -0.0288944523781538, -0.027406012639403343, -0.006388480309396982, 0.0037579697091132402, -0.011180915869772434, 0.02211730182170868, 0.014589393511414528, 0.003115222789347172, -0.019542165100574493, 0.05433055758476257, 0.012161294929683208, 0.03317122161388397, -0.03669183328747749, 0.021593138575553894, -0.011831279844045639, 0.01542255375534296, 0.04359894618391991, -0.029364880174398422, 0.003324570134282112, 0.03593427687883377, -0.05744195356965065, 0.029578987509012222, -0.116864413022995, -0.029071709141135216, -0.03977188467979431, 0.023680463433265686, 0.007800068240612745, 0.041179023683071136, 0.02117178775370121, 0.03799908235669136, 0.06678814440965652, -0.0008630043012090027, 0.013822568580508232, 0.024595266208052635, 0.04013844579458237, -0.01900460757315159, 0.004534993786364794, 0.023069826886057854, -0.02116566151380539, -0.004318101331591606, -0.051702190190553665, 0.012628850527107716, -0.041758425533771515, -0.2825046479701996, 0.04482573643326759, -0.011163945309817791, -0.014807505533099174, 0.02732243202626705, -0.03769012913107872, -0.0028046672232449055, -0.02468588575720787, -0.043961573392152786, 0.008107488043606281, -0.061024632304906845, -0.017568249255418777, 0.04278315231204033, 0.019291864708065987, 0.00823816005140543, 0.01600594073534012, 0.01779387705028057, -0.04718057066202164, -0.012829049490392208, -0.008234051056206226, -0.03516991436481476, -0.062066469341516495, 0.027447497472167015, 0.03381052240729332, 0.04002740979194641, 0.033054377883672714, -0.024250850081443787, 0.05227361619472504, -0.030674699693918228, -0.049527961760759354, -0.00675017386674881, -0.03292310610413551, -0.017152883112430573, 0.003963599447160959, -0.034264467656612396, -0.034335482865571976, 0.01045660488307476, 0.010670891962945461, 0.03270105645060539, -0.005091509316116571, -0.037206877022981644, -0.023821817710995674, 0.032892998307943344, 0.060357995331287384, 0.05587379261851311, -0.04431241378188133, -0.019326744601130486, -0.01758739724755287, -0.06141455098986626, 0.0991753414273262, -0.039525557309389114, -0.03247440233826637, -0.027341192588210106, 0.02532980404794216, 0.005779176950454712, -0.002988181309774518, -0.01501369196921587, 0.0283719003200531, -0.0009491662494838238, -0.04019463434815407, -0.007306587882339954, -0.04681102931499481, -0.040492329746484756, -0.0544307567179203, 0.03282834589481354, -0.03265507519245148, -0.08574049919843674, -0.02417794242501259, 0.06231370568275452, 0.022291988134384155, -0.019297363236546516, -0.0004803461779374629, -0.038193438202142715, -0.11177614331245422, -0.001356157474219799, -0.02038261853158474, -0.03080357424914837, -0.003727114759385586, -0.002339906059205532, 0.04899146035313606, -0.046227212995290756, -0.03936195373535156, -0.009830459021031857, 0.013333041220903397, -0.03173082694411278, -0.02952827326953411, 0.018565602600574493, 0.00943845510482788, 0.0244887825101614, -0.015477808192372322, 0.05694102868437767, -0.031062250956892967, -0.0319754034280777, -0.012847810052335262, -0.0016277991235256195, 0.024105189368128777, -0.015131384134292603, 0.020824067294597626, 0.018101200461387634, 0.018878541886806488, 0.005364874843508005, -0.028871310874819756, 0.0010783221805468202, -0.03485292196273804, 0.005726486910134554, -0.012559778988361359, -0.0497831292450428, -0.016788527369499207, 0.046207692474126816, 0.014186696149408817, 0.00017526141891721636, -0.0373455248773098, 0.01901325210928917, -0.08052145689725876, -0.02026108279824257, -0.0039617945440113544, 0.015230999328196049, 0.01873886026442051, 0.06643132865428925, -0.02950611524283886, -0.029997801408171654, 0.007441108115017414, 0.020720386877655983, -0.03117329068481922, -0.039477672427892685, 0.016547836363315582, 0.004718597047030926, 0.014973822981119156, 0.01226005144417286, -0.024196185171604156, -0.008185049518942833, 0.025383450090885162, 0.033441390842199326, -0.017204096540808678, 0.03660842031240463, -0.02418341673910618, -0.056600820273160934, -0.03272123262286186, 0.00467783585190773, 0.025531474500894547, -0.027308838441967964, -0.003681560978293419, 0.000011558746336959302, 0.026633774861693382, 0.05374668538570404, 0.0010392933618277311, 0.032522156834602356, -0.012183012440800667, 0.02715766802430153, -0.011131543666124344, 0.01816067099571228, -0.053947385400533676, -0.004895739257335663, -0.035425879061222076, -0.06807243078947067, 0.012141907587647438, 0.03834673762321472, -0.03488032892346382, -0.01889248564839363, -0.029724372550845146, 0.02958613634109497, -0.03306932374835014, 0.02459711953997612, 0.009001713246107101, 0.03386133536696434, 0.06043882668018341, 0.008236747235059738, 0.006880194880068302, 0.002077061217278242, 0.004922264255583286, -0.0017931800102815032, 0.005734458100050688, -0.03923032060265541, -0.01642930507659912, -0.01022935938090086, 0.0586232990026474, 0.022807611152529716, -0.005312720313668251, 0.02630952186882496, 0.0025772820226848125, 0.01853634975850582, -0.018008939921855927, -0.005599538329988718, -0.0009119614842347801, 0.030512390658259392, 0.01058482751250267, -0.022242574021220207, 0.01614447310566902, 0.004348201211541891, -0.02298060618340969, -0.024132762104272842, -0.012587472796440125, 0.00509816687554121, 0.013753571547567844, -0.003442196873947978, -0.0761486142873764, 0.04160814359784126, 0.0012276038760319352, -0.020842844620347023, -0.001303955796174705, -0.003408891847357154, 0.0034839827567338943, 0.00004229456317261793, 0.04282815754413605, 0.08008058369159698, -0.06046324595808983, 0.02840499021112919, -0.007812503725290298, 0.01813328079879284, -0.01055449154227972, 0.02300846390426159, -0.028451308608055115, -0.04316640645265579, -0.000713455316144973, 0.05418691039085388, -0.05080437287688255, -0.034202419221401215, -0.016445044428110123, 0.017949789762496948, -0.007603115402162075, 0.019938834011554718, 0.015071452595293522, -0.003117461921647191, 0.013508131727576256, -0.04702477902173996, 0.010243105702102184, -0.01948879472911358, -0.006916275713592768, 0.01653926633298397, -0.009730597026646137, -0.029000110924243927, -0.04553666338324547, 0.007518443278968334, 0.015713730826973915, -0.03450009599328041, -0.00015478181012440473, -0.045187901705503464, 0.0026952456682920456, -0.032997846603393555, 0.05235091224312782, 0.019048912450671196, 0.013677275739610195, -0.018068168312311172, 0.013704531826078892, -0.04817096143960953, -0.004180912394076586, 0.00687838951125741, -0.006855953950434923, 0.00398297468200326, 0.04800112918019295, -0.027540696784853935, 0.012457587756216526, -0.012042569927871227, -0.008496494963765144, 0.06122533604502678, -0.05917859077453613, -0.01577840745449066, -0.020238220691680908, -0.04365044832229614, 0.05008344352245331, 0.007814287208020687, 0.033090390264987946, -0.06128930673003197, 0.053772568702697754, 0.024321261793375015, -0.008147653192281723, 0.009584454819560051, -0.001584586570970714, 0.0029061511158943176, -0.024749411270022392, -0.02951236255466938, -0.07209046930074692, 0.015529495663940907, -0.0028644909616559744, -0.006114121526479721, -0.006830781698226929, 0.05698227137327194, -0.058581918478012085, 0.015909971669316292, -0.06179041787981987, -0.040217626839876175, 0.03704486042261124, 0.0009973301785066724, 0.03868626430630684, -0.003142403904348612, -0.03233971819281578, 0.00241285958327353, 0.00482954503968358, -0.02465297281742096, 0.01947532780468464, 0.0019257708918303251, 0.03842293098568916, -0.011629791930317879, 0.024235127493739128, 0.012307725846767426, -0.03802699223160744, 0.09526992589235306, -0.01735728792846203, -0.003844853490591049, 0.03426017984747887, 0.013483257032930851, 0.05513090640306473, 0.016427822411060333, -0.024417245760560036, 0.03322412446141243, 0.01953728310763836, -0.03690377622842789, -0.03744421526789665, 0.03778523579239845, -0.006622138898819685, -0.004159359261393547, -0.045869264751672745, 0.04755431413650513, 0.02285798080265522, -0.056867700070142746, -0.06586436927318573, 0.049195509403944016, -0.029240289703011513, -0.04555687680840492, -0.04925159364938736, -0.026929209008812904, -0.049157045781612396, 0.046036239713430405, 0.010840173810720444, 0.014846944250166416, 0.06592696160078049, 0.0012298121582716703, -0.03497414290904999, 0.0545644536614418, 0.0924702063202858, 0.10156343132257462, 0.0448850616812706, 0.0034580850042402744, 0.052857160568237305, -0.053393542766571045, -0.038968294858932495, -0.005438114982098341, -0.013774223625659943, 0.010333973914384842, -0.002728570019826293, 0.007840964011847973, 0.05523752048611641, -0.00598924420773983, 0.07959854602813721, -0.024957431480288506, 0.024193432182073593, -0.011496677994728088, 0.024150434881448746, 0.03125637397170067, 0.005816097836941481, 0.01763823814690113, 0.01874670200049877, -0.008357169106602669, -0.04284987226128578, -0.005436064675450325, -0.022210316732525826, -0.0007006690138950944, 0.015205856412649155, -0.006082027219235897, -0.009430407546460629, 0.009598461911082268, 0.019925057888031006, 0.06866531074047089, -0.004073661286383867, 0.014095441438257694, 0.004025779664516449, 0.0057339114136993885, 0.005687529221177101, 0.046581562608480453, -0.032493866980075836, -0.031017720699310303, -0.01947472058236599, -0.04015176370739937, -0.031263645738363266, -0.0005536486278288066, 0.0022332898806780577, 0.012826850637793541, -0.016361938789486885, 0.0211278535425663, 0.027913181111216545, -0.013392351567745209, -0.03132219612598419, -0.02639893628656864, -0.04746101424098015, -0.03484996780753136, -0.03323109447956085, 0.025587186217308044, -0.024334413930773735, -0.015370507724583149, -0.002082090126350522, -0.05341600999236107, -0.006042242515832186, -0.011625993996858597, -0.0111643485724926, -0.01775107905268669, -0.05930642783641815, 0.005941945593804121, 0.016760893166065216, -0.0021953387185931206, 0.01340734027326107, 0.07324410229921341, -0.007779946085065603, -0.013256137259304523, -0.03436959162354469, 0.01715921424329281, 0.044183120131492615, -0.004976280033588409, 0.012998652644455433, -0.08631868660449982, 0.0439615361392498, 0.04044527933001518, 0.02001098543405533, -0.06272313743829727, 0.009368730708956718, 0.05842158943414688, 0.006521315313875675, 0.04340992867946625, -0.01211049035191536, 0.018203560262918472, -0.020922690629959106, 0.0016483636572957039, -0.02229725942015648, -0.0278595220297575, 0.04339895397424698, 0.014353481121361256, 0.11843568086624146, 0.052490875124931335, 0.003622780553996563, -0.051963262259960175, -0.004867048934102058, -0.02658085525035858, 0.011821434833109379, -0.024029502645134926, -0.014175460673868656, -0.026253538206219673, -0.08843936771154404, -0.0543326698243618, -0.027886759489774704, -0.05744176357984543, -0.02242034487426281, -0.0021915326360613108, -0.0004506419936660677, -0.057578738778829575, 0.002692771377041936, -0.025477882474660873, -0.00389066687785089, -0.050327178090810776, -0.024719474837183952, -0.028427667915821075, 0.038925204426050186, 0.020828470587730408, -0.012567059136927128, 0.04947970435023308, -0.020880376920104027, 0.0033794904593378305, -0.041687801480293274, 0.040127579122781754, 0.07953692972660065, 0.008060055784881115, 0.016165440902113914 ]
[ -0.053141191601753235, -0.03735499083995819, -0.02430201880633831, -0.03370789811015129, 0.048616547137498856, -0.08404351025819778, -0.04622318223118782, -0.009698350913822651, -0.011058522388339043, 0.010256870649755001, -0.006330801639705896, -0.06637496501207352, -0.010308005847036839, -0.05713101476430893, 0.08178531378507614, -0.008507800288498402, -0.012069126591086388, -0.0702880397439003, -0.0298811923712492, 0.060314808040857315, 0.021749479696154594, -0.01114665623754263, -0.004625390749424696, -0.053540341556072235, -0.0521167553961277, 0.055172137916088104, 0.023777762427926064, -0.03548625856637955, -0.03372260183095932, -0.22397705912590027, 0.030316857621073723, -0.010779175907373428, 0.004905110690742731, -0.007963906042277813, 0.016998525708913803, -0.01446458324790001, 0.04823784530162811, -0.029142064973711967, -0.020647767931222916, 0.02963544800877571, 0.022767819464206696, 0.01584387570619583, -0.040227871388196945, -0.050382617861032486, 0.036041561514139175, -0.011437891982495785, -0.01827777735888958, 0.011441407725214958, 0.04419868811964989, 0.015112169086933136, 0.010539704002439976, 0.019301272928714752, 0.018246734514832497, -0.04279380291700363, -0.00597873330116272, 0.043297600001096725, 0.03710498660802841, 0.06819069385528564, 0.01657860167324543, 0.014154578559100628, 0.009138833731412888, 0.003605340840294957, -0.1447862833738327, 0.10792097449302673, 0.03609030693769455, 0.06953512877225876, -0.02053341642022133, -0.06116217002272606, -0.02356899343430996, 0.04179375246167183, -0.0008571998332627118, -0.04586361348628998, -0.04637507349252701, 0.06500276178121567, 0.0023131074849516153, 0.007017780561000109, 0.04154866933822632, 0.023711370304226875, 0.011021428741514683, -0.04669439047574997, -0.052634596824645996, 0.0099136121571064, -0.0685625970363617, 0.010101119056344032, -0.023642856627702713, -0.02237425372004509, 0.034893911331892014, 0.054660335183143616, 0.0020317272283136845, 0.046239301562309265, -0.005084494594484568, -0.019871940836310387, 0.02323474921286106, 0.03810049593448639, -0.07427936792373657, -0.03740883618593216, -0.010174314491450787, 0.020227743312716484, -0.017874721437692642, 0.4082137644290924, 0.014995462261140347, -0.012170141562819481, 0.03671836107969284, 0.021927179768681526, 0.0220760777592659, -0.018072327598929405, -0.005792122799903154, -0.003201132407411933, 0.024431314319372177, -0.0011074934154748917, 0.029994528740644455, -0.026283742859959602, 0.03622695431113243, -0.060849275439977646, 0.03161473199725151, 0.03839543089270592, -0.031624313443899155, 0.023082032799720764, -0.025188211351633072, -0.0062168980948626995, -0.03761708736419678, 0.004937527235597372, 0.02571667917072773, 0.0023925628047436476, 0.010746819898486137, -0.030184520408511162, 0.04428296163678169, 0.035742584615945816, -0.004871411714702845, 0.010683046653866768, 0.002058224054053426, -0.040595706552267075, -0.08129596710205078, -0.016452904790639877, -0.00031190761364996433, 0.06149208918213844, 0.022441059350967407, -0.024490496143698692, 0.028348051011562347, 0.0537877231836319, -0.0020986050367355347, -0.025668753311038017, -0.0016220987308770418, -0.029309982433915138, -0.020381635054945946, 0.08829149603843689, 0.005592129658907652, -0.029258469119668007, -0.039847441017627716, -0.04356033354997635, 0.0062819248996675014, 0.027338167652487755, 0.012835892848670483, -0.04550686478614807, 0.038086678832769394, 0.029893601313233376, 0.07542914152145386, 0.025444192811846733, -0.059651028364896774, -0.022170834243297577, -0.004886144306510687, -0.043892063200473785, -0.010700901970267296, 0.08139143139123917, 0.011661390773952007, -0.10644512623548508, -0.05701823532581329, 0.022346310317516327, 0.04766212776303291, -0.03969287872314453, 0.006070985924452543, 0.019708169624209404, -0.01453050971031189, -0.03958888724446297, 0.07091870158910751, -0.044922951608896255, -0.006642740219831467, 0.02495170198380947, 0.03552623093128204, -0.01655159890651703, -0.014184221625328064, -0.014916674233973026, -0.02578519470989704, -0.04713432863354683, -0.052064549177885056, -0.1053428202867508, -0.06789787113666534, 0.0012738836230710149, -0.03144754841923714, 0.006575268693268299, -0.024497171863913536, 0.05200831964612007, -0.05158481374382973, 0.10407193750143051, 0.029670830816030502, -0.01434827595949173, -0.01578907109797001, 0.03014666773378849, -0.00927517469972372, -0.03559746593236923, 0.06370671838521957, 0.026958152651786804, -0.02400595135986805, 0.04026900976896286, -0.022596098482608795, 0.035976167768239975, 0.050871096551418304, -0.022891441360116005, 0.048474233597517014, 0.02557668834924698, -0.007150175049901009, -0.002972196787595749, 0.0015434838132932782, 0.012099269777536392, -0.028096796944737434, -0.009866315871477127, -0.0259902011603117, 0.03405795991420746, 0.010457752272486687, 0.019825642928481102, -0.0017099666874855757, 0.0029547379817813635, -0.02084728702902794, -0.3619522154331207, -0.01932515576481819, -0.04068738967180252, 0.001388844451867044, 0.023007677868008614, -0.034931112080812454, 0.061446353793144226, 0.00028101849602535367, -0.00796311441808939, 0.002612755401059985, 0.08260159194469452, -0.028770800679922104, 0.021534383296966553, -0.0779208093881607, -0.033712249249219894, 0.01664063334465027, -0.03335720673203468, -0.06459607928991318, -0.023423323407769203, 0.034987401217222214, -0.007649234030395746, 0.004740608856081963, -0.03296481445431709, 0.02070949785411358, 0.011467198841273785, -0.01147704292088747, 0.10615409910678864, -0.028372004628181458, 0.0787065327167511, -0.051196154206991196, 0.03285343199968338, 0.03612678870558739, 0.04881497845053673, -0.0804804265499115, -0.0493200309574604, 0.013425184413790703, 0.006478040013462305, -0.00021113584807608277, 0.050529081374406815, -0.008230293169617653, -0.09220240265130997, 0.018183739855885506, -0.04171126335859299, -0.02168021909892559, -0.011376451700925827, -0.014607392251491547, -0.021913975477218628, 0.014921280555427074, -0.04444205388426781, 0.05933879315853119, -0.015053207986056805, 0.024218138307332993, -0.011745384894311428, 0.03144894540309906, 0.06593164801597595, -0.028598058968782425, -0.05964665114879608, -0.03947672247886658, 0.016508573666214943, -0.013689365237951279, 0.007927445694804192, 0.08038567751646042, 0.019056931138038635, -0.06982182711362839, -0.008616641163825989, 0.006052645388990641, -0.027012906968593597, 0.035222627222537994, 0.043885163962841034, -0.035523828119039536, -0.007016806863248348, 0.10067390650510788, -0.016361605376005173, 0.03444045037031174, 0.012084358371794224, 0.035683777183294296, 0.015258836559951305, 0.007557595148682594, 0.013965806923806667, -0.02173241786658764, 0.02756163664162159, -0.049124713987112045, 0.08921806514263153, -0.05709902569651604, -0.0007986586424522102, 0.0703640729188919, -0.021998608484864235, -0.013398170471191406, 0.03318854793906212, -0.024017684161663055, -0.0469098761677742, -0.03571835905313492, -0.004613430239260197, -0.03555288538336754, 0.06473942846059799, 0.006747787818312645, -0.2536728084087372, 0.020512523129582405, 0.05542813241481781, 0.04540867358446121, -0.006761367432773113, 0.05535523220896721, 0.01531918067485094, -0.03859899938106537, -0.003250209614634514, 0.01140754483640194, -0.03504278510808945, 0.021204717457294464, -0.005990557838231325, 0.011589310131967068, 0.024382611736655235, 0.023734496906399727, 0.059942323714494705, 0.004713397938758135, 0.03326631709933281, 0.015138326212763786, -0.008120764046907425, -0.018132545053958893, 0.14812001585960388, 0.05879172682762146, -0.006798858288675547, 0.03664594516158104, -0.002049593720585108, 0.052814655005931854, 0.05425984784960747, 0.0353366993367672, 0.005024678539484739, 0.01911945454776287, -0.025839416310191154, -0.008978021331131458, 0.012259001843631268, -0.057546261698007584, 0.016819937154650688, 0.03024490922689438, 0.05849670618772507, -0.030347567051649094, -0.006871242541819811, 0.0028229616582393646, -0.010439625941216946, 0.019851576536893845, 0.044852495193481445, -0.02164265885949135, -0.0009206152171827853, -0.03827545419335365, -0.028848901391029358, -0.013908576220273972, -0.0108648044988513, -0.04352375492453575, 0.02311284840106964, -0.007792613469064236, -0.005173999350517988, 0.0731186494231224, 0.02597348764538765, -0.034216318279504776, -0.015478347428143024, -0.009954235516488552, 0.021223068237304688, -0.04622097685933113, 0.08629681915044785, -0.012491533532738686, 0.06293435394763947 ]
[ 0.03989182040095329, 0.04320535808801651, 0.02478725276887417, -0.024429727345705032, 0.05003989115357399, -0.04857145622372627, -0.022254275158047676, 0.05955764651298523, 0.017217829823493958, -0.026656663045287132, 0.0011406505946069956, -0.054224126040935516, 0.047714296728372574, -0.02078443020582199, -0.01866886205971241, -0.04173467680811882, 0.03402079641819, -0.010743469931185246, 0.011969047598540783, 0.00934019684791565, -0.009844435378909111, 0.06722313165664673, -0.00012070492812199518, -0.009258227422833443, -0.020019646733999252, 0.006012766622006893, -0.01016262173652649, 0.04384349659085274, 0.025261428207159042, -0.18748034536838531, 0.06495372205972672, -0.04142482951283455, -0.0024062911979854107, 0.030368397012352943, 0.018846863880753517, -0.043664343655109406, 0.02533050626516342, -0.05460188537836075, -0.06189233437180519, -0.04899248853325844, 0.018581943586468697, -0.022192999720573425, 0.008830690756440163, 0.016831722110509872, 0.004379665479063988, 0.02920474484562874, -0.003743463894352317, -0.009698054753243923, 0.009336812421679497, -0.002991615328937769, 0.011409140191972256, -0.03951537609100342, 0.01337525062263012, 0.03503347933292389, 0.022990865632891655, 0.0340779609978199, 0.0057265907526016235, 0.06332556903362274, 0.03520709276199341, -0.03627541661262512, 0.016456780955195427, 0.016049295663833618, -0.0047753844410181046, -0.022227156907320023, -0.01315578818321228, -0.006378860212862492, -0.0059772636741399765, -0.05616172030568123, -0.08070481568574905, 0.04354667663574219, -0.008677080273628235, 0.03329719230532646, 0.00309469155035913, 0.017256220802664757, 0.02188841812312603, 0.049450844526290894, -0.020847471430897713, -0.003883916651830077, -0.03469690680503845, 0.03132815286517143, -0.08579371869564056, 0.02770375646650791, -0.03598396107554436, -0.03086058795452118, -0.022956006228923798, -0.012970791198313236, -0.022486388683319092, 0.012173470109701157, -0.034381404519081116, 0.009955999441444874, 0.053297098726034164, -0.03322228044271469, 0.019319292157888412, 0.0555356964468956, -0.06353101134300232, -0.07552407681941986, -0.016945557668805122, -0.011051023378968239, -0.011477407068014145, 0.734454333782196, -0.028085365891456604, 0.06356257200241089, -0.03542810305953026, 0.00889101903885603, 0.014003011398017406, -0.037203799933195114, 0.01602133736014366, 0.045434046536684036, -0.033846933394670486, -0.0228285975754261, 0.051160506904125214, -0.004712954629212618, 0.02430877462029457, 0.02050894871354103, 0.0514770969748497, 0.04239270091056824, 0.0018895564135164022, 0.04241254925727844, -0.010862909257411957, 0.002872427459806204, 0.05502588301897049, 0.012932972051203251, -0.026783687993884087, -0.006428338587284088, -0.03740917146205902, -0.15494145452976227, -0.0025851428508758545, -7.089118433693265e-33, 0.009356547147035599, -0.04296236112713814, 0.05448903143405914, 0.015437272377312183, 0.022965431213378906, 0.023006068542599678, -0.02036507986485958, 0.05670531466603279, 0.022905034944415092, -0.07124779373407364, -0.010586424730718136, 0.02631923370063305, 0.015399398282170296, 0.010986773297190666, 0.011316386982798576, -0.0633518323302269, -0.005164950154721737, 0.030442295596003532, -0.016743306070566177, 0.025774061679840088, 0.025730479508638382, -0.004273530095815659, -0.00046915479470044374, -0.020510587841272354, 0.009568997658789158, 0.016875941306352615, -0.0003565967199392617, -0.031099647283554077, 0.04252510145306587, -0.005148994270712137, -0.10959219187498093, -0.006677122786641121, -0.04681135341525078, -0.03829772397875786, -0.01672174781560898, -0.03388487175107002, -0.03299175947904587, 0.019849320873618126, -0.013253041543066502, -0.04228459671139717, 0.0046964604407548904, -0.01587589643895626, -0.020139219239354134, 0.011643375270068645, -0.05103748291730881, 0.0007471874705515802, 0.047756489366292953, 0.03709295392036438, 0.04863762855529785, -0.030019408091902733, -0.0030635367147624493, -0.0351703055202961, 0.020591113716363907, -0.02686428092420101, 0.04882698878645897, 0.02526460774242878, -0.03525656834244728, 0.003606887999922037, -0.010568656027317047, 0.0016278919065371156, -0.004985770210623741, 0.0545174777507782, 0.00688787130638957, 0.018417512997984886, -0.048338115215301514, 0.031804222613573074, 0.033501267433166504, -0.04095357656478882, -0.019434548914432526, -0.007227390538901091, -0.032374218106269836, -0.02941354364156723, 0.03435687720775604, -0.0072519173845648766, 0.005854476243257523, -0.03277150169014931, -0.008817550726234913, 0.006773459725081921, -0.001498489873483777, -0.006406910251826048, -0.06616153568029404, -0.017054857686161995, -0.06061568856239319, -0.011656337417662144, -0.004964049439877272, 0.004716613329946995, -0.005877214949578047, 0.03980180621147156, -0.020526420325040817, 0.0237471591681242, 0.0011565359309315681, 0.006421621423214674, -0.006815019529312849, -0.027737686410546303, -0.010890712961554527, 8.07486301703788e-33, 0.03570083901286125, -0.013560716062784195, -0.006911418400704861, 0.017155135050415993, 0.02804706059396267, -0.006803491618484259, 0.04069114103913307, 0.019150052219629288, -0.02857680432498455, 0.02788522280752659, -0.027763931080698967, 0.02118930220603943, -0.012060469947755337, -0.03392387181520462, 0.08369284868240356, -0.05888470634818077, -0.0016340453876182437, -0.010616378858685493, 0.04229661077260971, 0.023871365934610367, 0.021226568147540092, -0.02486327476799488, 0.016741584986448288, -0.0009046889026649296, 0.024981848895549774, 0.0937633290886879, -0.0029647897463291883, 0.00319721270352602, -0.012400336563587189, -0.05742990970611572, -0.011304091662168503, 0.026282303035259247, -0.006326550617814064, -0.011508557014167309, -0.04667319357395172, -0.003878234652802348, 0.020069599151611328, -0.025099216029047966, -0.02580741047859192, -0.059056997299194336, -0.007503607776015997, 0.03563229739665985, 0.005423450842499733, 0.03968217968940735, -0.0182992871850729, 0.01702175848186016, 0.036112889647483826, 0.017470328137278557, 0.0025051506236195564, 0.0097240274772048, -0.04330294951796532, 0.013614966534078121, -0.021538041532039642, 0.05094039812684059, -0.0176467914134264, 0.0008453024784103036, -0.048804279416799545, -0.013819052837789059, -0.02103058248758316, 0.01623639650642872, 0.023260844871401787, 0.034496091306209564, 0.005418040789663792, -0.0033185018692165613, -0.060301896184682846, -0.07827058434486389, 0.003078872337937355, 0.04330103099346161, 0.023302985355257988, 0.05701795220375061, 0.05362644046545029, 0.014616579748690128, 0.006729517597705126, 0.022042226046323776, -0.015489616431295872, 0.04117189720273018, -0.04154478386044502, -0.04775338992476463, -0.029851170256733894, 0.007213888224214315, -0.01055261492729187, 0.04824310168623924, 0.014851409941911697, 0.03389991819858551, 0.010585622861981392, 0.026849837973713875, -0.0434638150036335, 0.014020283706486225, 0.011121772229671478, 0.03351365029811859, -0.028180615976452827, -0.028362497687339783, -0.04957116022706032, 0.05329145863652229, -0.00794299878180027, -1.2035723528924791e-8, 0.001390949939377606, 0.01189674437046051, 0.02503899857401848, 0.03285301849246025, -0.04122719168663025, -0.07214488834142685, -0.009239958599209785, 0.08305624127388, -0.012853914871811867, 0.0015533807454630733, 0.03841468691825867, -0.08825257420539856, 0.02953970991075039, 0.032968584448099136, 0.022813737392425537, 0.035757701843976974, 0.04375986382365227, 0.016120990738272667, 0.02767113409936428, -0.0017141157295554876, 0.016062097623944283, 0.017138952389359474, 0.02978041023015976, -0.023524731397628784, 0.049490246921777725, 0.011694613844156265, -0.015904780477285385, -0.06975703686475754, -0.035026129335165024, -0.0007749569485895336, 0.011450077407062054, -0.02601620927453041, -0.007886210456490517, 0.05991655960679054, 0.0021624744404107332, -0.01793687790632248, -0.009793014265596867, 0.009592769667506218, -0.012432250194251537, -0.0017339951591566205, 0.004252030048519373, 0.026675861328840256, -0.0009498434374108911, -0.015735749155282974, 0.022348038852214813, 0.015059585683047771, 0.005742431152611971, 0.07147665321826935, -0.025864113122224808, -0.020455218851566315, 0.015533030033111572, -0.008625374175608158, -0.015239909291267395, 0.0370279960334301, 0.033307939767837524, 0.029190868139266968, -0.037347596138715744, -0.015871699899435043, 0.0073125301860272884, 0.04379206523299217, 0.0299594234675169, 0.043976906687021255, -0.030956052243709564, 0.015050939284265041 ]
aws-attaching-an-ebs-volume-on-an-ec2-instance-and-making-it-available-for-use
https://markhneedham.com/blog/2013/07/31/aws-attaching-an-ebs-volume-on-an-ec2-instance-and-making-it-available-for-use
false
2013-07-31 05:41:12
Getting started with screen
[ "screen" ]
[ "Software Development" ]
Last week I had a ~10GB file I wanted to download to my machine but Chrome's initial estimate was that it would take 10+ hours to do so which meant I'd have probably shutdown my machine before it had completed. It seemed to make more sense to spin up an EC2 instance and download it onto there instead but I didn't want to have to keep an SSH session open to that machine either. I've previously come across http://www.gnu.org/software/screen/[screen] and http://tmux.sourceforge.net/[tmux] which allow you to create a session in which you can do some work even if you aren't currently connected to it which was perfect for my use case. screen was a bit more familiar so I decided to use that and I thought I should make a quick note of some of its basic flags for future me. == Starting a new session Starting a new screen session is as simple as typing the following command: [source,bash] ---- $ screen ---- which leads to the following output: [source,bash] ---- Screen version 4.00.03jw4 (FAU) 2-May-06 Copyright (c) 1993-2002 Juergen Weigert, Michael Schroeder Copyright (c) 1987 Oliver Laumann This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. ... ---- We can now start downloading our file using cURL, wget or a download accelerator like http://freecode.com/projects/axel[axel] which is my personal favourite. == Detaching/Exiting from a session without it dying Once I'd got the download running I wanted to close my SSH session to the AWS instance but first I wanted to detach from my screen session without killing it. My first attempt was to use +++<cite>+++Ctrl + D+++</cite>+++ but that actually results in the session being terminated and our download is therefore stopped as well which isn't quite what we wanted. Instead what we want to do is http://www.gnu.org/software/screen/manual/screen.html#Detach[detach] from the session which allows us to http://stackoverflow.com/questions/4847691/how-do-i-get-out-of-a-screen-without-typing-exit[leave it but keep it running]. To do that we type +++<cite>+++Ctrl + A+++</cite>+++ followed by +++<cite>+++Ctrl + D+++</cite>+++. == Reattaching to a session After about an hour I wanted to checkup on my download and I assumed just typing +++<cite>+++screen+++</cite>+++ would take me back to my session but instead it created a new one. http://www.apcjones.com/blog/[Alistair] pointed out that I could get a listing of all the open screen sessions by typing the following command: [source,bash] ---- $ screen -ls There are screens on: 23397.pts-0.ip-10-243-5-102 (07/31/2013 05:25:30 AM) (Detached) 3981.pts-0.ip-10-243-5-102 (07/26/2013 07:59:28 AM) (Detached) 3910.pts-0.ip-10-243-5-102 (07/26/2013 07:58:42 AM) (Detached) 1094.pts-0.ip-10-243-5-102 (07/26/2013 07:49:31 AM) (Detached) 4 Sockets in /var/run/screen/S-ubuntu. ---- As you can see, I'd created a bunch of extra sessions by mistake. The one I had the download running on was '1094.pts-0.ip-10-243-5-102' and we can reattach to that one like this: [source,bash] ---- $ screen -x 1094.pts-0.ip-10-243-5-102 ---- We can also attach using the '-r' flag: [source,bash] ---- $ screen -r 1094.pts-0.ip-10-243-5-102 ---- I'm not quite sure what the difference is between '-r' and '-x', they both seem to behave in the same way in this scenario. The manual suggests that '-x' is for attaching to a 'not detached screen session' which suggests to me that it shouldn't have worked since I wanted to connect to a detached session. Hopefully someone with more knowledge of how these things work can explain what's going on! == Attach to an existing session or start a new one if none exists I http://serverfault.com/questions/38417/reattach-or-create-a-named-screen-session-or-persistent-screen-sessions[later learnt] that had I not accidentally created all those extra sessions the following command would have been quite useful for finding the first screen session available and connecting to it: [source,bash] ---- $ screen -x -R ---- If there aren't any existing screen sessions available then it will create a new one which means that in my particular situation this would have been a more appropriate command to start with.
null
null
[ 0.010267145931720734, -0.03183533623814583, -0.021688366308808327, 0.045311927795410156, 0.0786014199256897, -0.009906812570989132, 0.01306517980992794, 0.04793601110577583, 0.009004486724734306, -0.024014288559556007, -0.02644909918308258, 0.012569475919008255, -0.06849180907011032, 0.01948152482509613, -0.015257732011377811, 0.050879161804914474, 0.08807050436735153, -0.039917293936014175, -0.0018089365912601352, 0.012303606607019901, 0.0009654826717451215, 0.03644853085279465, -0.01153382658958435, 0.01313913892954588, 0.010837843641638756, 0.005365328397601843, -0.019323334097862244, -0.006928345188498497, -0.07103515416383743, 0.010747252963483334, 0.04807186499238014, -0.008338963612914085, 0.0018896723631769419, -0.01912158541381359, 0.05335432291030884, -0.015347338281571865, -0.032878242433071136, 0.0475461520254612, -0.017616020515561104, 0.02189859002828598, -0.0453801229596138, 0.034876998513936996, -0.011694862507283688, -0.002852879697456956, -0.016993775963783264, 0.03510499373078346, 0.003647360485047102, 0.019917558878660202, -0.0006852957303635776, 0.0018138199811801314, -0.05502874404191971, 0.04062793403863907, -0.018038026988506317, -0.03358852118253708, 0.02066446654498577, 0.016723882406949997, 0.04369167611002922, -0.07209990173578262, 0.03957228735089302, -0.02631690353155136, 0.016954682767391205, -0.02623150870203972, 0.014967625960707664, 0.06025344505906105, -0.021035654470324516, -0.051701806485652924, 0.03275233134627342, 0.036168552935123444, -0.015410150401294231, -0.04631084203720093, 0.03764961659908295, 0.006002401001751423, -0.06826028972864151, -0.003221946069970727, 0.041335005313158035, -0.02504819445312023, 0.012958587147295475, 0.01254569087177515, 0.017802530899643898, 0.06781206279993057, -0.04576361924409866, 0.02305244654417038, 0.03261752799153328, 0.026143724098801613, -0.0017316500889137387, -0.037911903113126755, -0.019954528659582138, 0.011562863364815712, -0.0770094022154808, 0.04497591033577919, 0.04724552482366562, -0.016482435166835785, 0.006737320683896542, 0.02106308564543724, -0.014631562866270542, -0.011317664757370949, 0.013089236803352833, 0.001759303268045187, 0.0009594332659617066, 0.0018921834416687489, -0.005444622598588467, -0.000001947450527950423, -0.023484110832214355, 0.004908752627670765, -0.0544867105782032, 0.033995725214481354, -0.0013694388326257467, -0.033203285187482834, 0.025574766099452972, -0.013941080309450626, 0.012701853178441525, 0.026811540126800537, -0.0013912268914282322, 0.005704015493392944, -0.08199116587638855, 0.04364629089832306, -0.005023493897169828, -0.07453058660030365, -0.0006012347294017673, 0.025722479447722435, 0.03604847565293312, 0.049887847155332565, -0.004464767407625914, 0.06202298775315285, 0.010899574495851994, -0.0020862629171460867, 0.015499105677008629, 0.013461333699524403, -0.0020829003769904375, -0.08177006989717484, 0.016463017091155052, 0.06365198642015457, 0.021931244060397148, -0.012408486567437649, 0.011780967935919762, 0.0011082852724939585, 0.020416678860783577, -0.017876550555229187, 0.06504447758197784, 0.01504471804946661, 0.006386421155184507, -0.018054423853754997, -0.005170032382011414, -0.007902024313807487, 0.04425015673041344, -0.008801059797406197, -0.02123798243701458, -0.03201303631067276, -0.04519512876868248, 0.031026015058159828, 0.012161968275904655, 0.010208386927843094, 0.043444469571113586, -0.03763177990913391, 0.015708843246102333, 0.09390071034431458, 0.05051679536700249, 0.014038670808076859, -0.031378794461488724, -0.014654497615993023, 0.037065908312797546, 0.057703033089637756, -0.021772664040327072, 0.04097536951303482, -0.0043155737221241, -0.018715402111411095, 0.0020363321527838707, 0.035460203886032104, -0.016718309372663498, 0.012405233457684517, -0.06903615593910217, -0.03178960084915161, 0.06824423372745514, -0.051817636936903, -0.04138965532183647, 0.056906186044216156, 0.08607250452041626, 0.046104222536087036, 0.01718129776418209, -0.008586964569985867, -0.06962679326534271, 0.05586015433073044, 0.0360882394015789, 0.033800359815359116, 0.013330869376659393, -0.02500733733177185, 0.0608566477894783, 0.01184530183672905, -0.00017061163089238107, 0.03161132335662842, -0.07152732461690903, -0.08090456575155258, -0.01096153724938631, 0.012716546654701233, 0.06390730291604996, -0.015793340280652046, 0.013376733288168907, 0.05876096338033676, 0.026757651939988136, 0.03509524464607239, -0.0007459745975211263, -0.011423099786043167, 0.051329776644706726, -0.07630333304405212, -0.09623067080974579, 0.02730691246688366, 0.01714051142334938, -0.027691682800650597, -0.0426751933991909, -0.0007506539113819599, -0.026659127324819565, 0.009116568602621555, 0.021161479875445366, -0.019336463883519173, 0.028868727385997772, 0.025408530607819557, 0.0308747049421072, -0.04847917705774307, 0.03510795161128044, -0.029742620885372162, 0.007527477573603392, 0.014246076345443726, -0.015021595172584057, 0.01245800405740738, 0.003776256227865815, 0.11057340353727341, 0.05184757709503174, -0.01759829744696617, -0.0151831628754735, 0.03341124206781387, -0.002856547711417079, -0.04280942305922508, -0.018138930201530457, -0.013604783453047276, -0.0013562829699367285, 0.02979925088584423, -0.023264827206730843, -0.02679048478603363, 0.004076090641319752, -0.034180108457803726, 0.017848525196313858, 0.04958663508296013, 0.015627436339855194, 0.05497566610574722, -0.007598312571644783, -0.04014662653207779, -0.004089343827217817, -0.020995881408452988, -0.058530084788799286, -0.00920324120670557, 0.03528054058551788, 0.0061493320390582085, 0.009828287176787853, -0.04930830001831055, -0.015592461451888084, -0.025092698633670807, -0.04826321080327034, 0.025250082835555077, -0.00255081569775939, 0.08898618072271347, -0.03750651702284813, 0.05571283772587776, -0.006548166740685701, 0.04034259170293808, -0.02828909084200859, -0.037165477871894836, -0.05550609529018402, -0.01850700192153454, -0.013337952084839344, 0.0140796834602952, 0.00010475816088728607, 0.0026196339167654514, -0.010487720370292664, -0.016264118254184723, 0.015307528898119926, -0.008370007388293743, 0.04787111654877663, -0.013472319580614567, -0.0016213792841881514, -0.02957836724817753, 0.0014743198407813907, 0.032601408660411835, -0.047305330634117126, -0.00879157055169344, 0.029283301904797554, -0.05369925871491432, 0.0460616834461689, -0.08708449453115463, -0.06862613558769226, -0.038788195699453354, 0.011079022660851479, 0.032683052122592926, 0.01935158483684063, 0.0386732742190361, 0.06291335076093674, 0.020696118474006653, 0.03312359377741814, -0.004077451303601265, 0.023471271619200706, 0.053983062505722046, 0.026517536491155624, -0.009973220527172089, 0.012384059838950634, -0.039423298090696335, 0.0010472479043528438, -0.06245552375912666, 0.025655118748545647, -0.041161250323057175, -0.27894875407218933, 0.044966764748096466, 0.023331327363848686, -0.03431542590260506, 0.011158770881593227, -0.035547561943531036, 0.011294698342680931, -0.05322549492120743, -0.03303802013397217, 0.016056085005402565, -0.0351642481982708, -0.037780966609716415, 0.006710830144584179, 0.04879925772547722, -0.006111467722803354, 0.0376116968691349, 0.0212471392005682, -0.04772219806909561, 0.01870362088084221, 0.013784799724817276, -0.011529877781867981, -0.05226229876279831, 0.026700325310230255, 0.04515193775296211, 0.04900630563497543, 0.03763788193464279, -0.05777701362967491, 0.02532716654241085, -0.04091231897473335, -0.02456081099808216, -0.0029587806202471256, -0.02818312495946884, -0.0006052522221580148, -0.00021055128308944404, -0.011400334537029266, -0.00021013448713347316, 0.04882299154996872, 0.009521804749965668, 0.00556328846141696, 0.0040055131539702415, -0.01121184229850769, -0.02466152235865593, 0.011783665977418423, -0.0063501386903226376, 0.05877227336168289, -0.005714029539376497, -0.0315631702542305, -0.047100313007831573, -0.03655853122472763, 0.09682751446962357, -0.02265734039247036, -0.043453413993120193, -0.04967658221721649, 0.03253958746790886, 0.00876284297555685, 0.015449793078005314, -0.041235458105802536, -0.009305018000304699, -0.042290132492780685, -0.021987415850162506, -0.009467813186347485, -0.024766908958554268, -0.035649750381708145, -0.04233378916978836, 0.02416793815791607, -0.0365566685795784, -0.05483338609337807, -0.02759452909231186, 0.0813111811876297, 0.0401737242937088, -0.020578768104314804, -0.0011041386751458049, 0.004284142516553402, -0.10654845088720322, -0.01501893624663353, -0.011614388786256313, -0.05481454357504845, 0.03711777552962303, 0.041368518024683, 0.053793709725141525, -0.03725499287247658, -0.02138635888695717, 0.0297048669308424, -0.012055420316755772, 0.020038988441228867, -0.047945309430360794, 0.010730435140430927, 0.012231327593326569, -0.0043244389817118645, -0.004226711578667164, 0.06334204226732254, -0.02509259432554245, -0.04079284146428108, -0.03974109888076782, -0.019223283976316452, 0.0057879239320755005, 0.007698080036789179, 0.012408234179019928, 0.004240977577865124, 0.013670675456523895, 0.03267638757824898, -0.02135871909558773, 0.008887208998203278, -0.06382215768098831, -0.021878477185964584, -0.005153159610927105, -0.0403243824839592, 0.007526576053351164, 0.03443312272429466, 0.06352431327104568, -0.01924796961247921, -0.029461843892931938, 0.009633264504373074, -0.06494294852018356, -0.034343376755714417, -0.006475402042269707, -0.00013313887757249177, 0.018070369958877563, 0.03191279247403145, -0.03549238666892052, -0.03248455002903938, 0.004254619125276804, 0.0391794852912426, -0.03090888075530529, -0.03762279078364372, -0.015233085490763187, 0.03165099397301674, 0.010084894485771656, 0.032477058470249176, 0.022865451872348785, -0.042557407170534134, 0.0379023440182209, 0.019939303398132324, -0.03510477393865585, 0.01168127078562975, -0.05651938542723656, -0.040797751396894455, -0.048817429691553116, 0.0014404847752302885, 0.005503438878804445, -0.03126230835914612, 0.014419935643672943, 0.016842322424054146, 0.026575738564133644, 0.0690971240401268, 0.02324938215315342, 0.05002996325492859, -0.012203756719827652, 0.02251480519771576, -0.0062918695621192455, -0.0008096137316897511, -0.06498604267835617, 0.00950979720801115, -0.03145773708820343, -0.03734850510954857, -0.0035325209610164165, 0.028239388018846512, -0.015811001881957054, -0.031965043395757675, 0.0060811517760157585, 0.03027700074017048, -0.045880164951086044, -0.004040377214550972, -0.018269026651978493, -0.011349194683134556, 0.047645099461078644, 0.020584866404533386, 0.025218041613698006, -0.02947230264544487, -0.019387008622288704, 0.01682106778025627, 0.030379286035895348, -0.03091719001531601, 0.0023129726760089397, 0.028133153915405273, 0.013106723316013813, 0.02590765804052353, 0.021176733076572418, 0.036364901810884476, 0.019426127895712852, -0.008044370450079441, -0.031138209626078606, 0.017610004171729088, -0.010414046235382557, 0.052735358476638794, -0.013858407735824585, -0.023315034806728363, 0.024050990119576454, -0.031757619231939316, -0.002676977077499032, -0.0077314903028309345, 0.011697964742779732, -0.0034962536301463842, -0.002831151243299246, -0.0010551755549386144, -0.07744823396205902, 0.030090320855379105, 0.042517662048339844, 0.025593243539333344, 0.009184488095343113, 0.0005048953462392092, -0.010120546445250511, -0.020556684583425522, 0.04384114593267441, 0.03296038880944252, -0.04820074886083603, -0.01816968433558941, 0.012936394661664963, 0.002180806128308177, 0.010098252445459366, 0.012150564230978489, -0.0502287857234478, -0.03809916228055954, -0.017138347029685974, 0.01980132982134819, -0.03263670951128006, -0.030958520248532295, -0.044322527945041656, -0.01385821495205164, -0.028376003727316856, 0.0012998379534110427, 0.002391140442341566, -0.00998303946107626, 0.0007880888297222555, -0.05552302673459053, -0.01234352309256792, -0.021984074264764786, -0.019471537321805954, 0.018616965040564537, 0.005872261244803667, 0.010176614858210087, -0.035858143121004105, 0.0357280895113945, 0.03172237053513527, -0.026085320860147476, -0.02039564773440361, -0.04186415299773216, 0.014049083925783634, -0.024062613025307655, 0.023495947942137718, -0.0022785519249737263, 0.01830996572971344, -0.022640593349933624, -0.004185715690255165, -0.022492092102766037, 0.003493609605357051, -0.029441984370350838, -0.00917065516114235, 0.02388223074376583, 0.05239701271057129, 0.006097182631492615, 0.043075982481241226, -0.027146320790052414, -0.041749514639377594, 0.051875971257686615, -0.08435607701539993, -0.027238722890615463, -0.011475377716124058, -0.05522291734814644, 0.05025186762213707, 0.011238791979849339, 0.013275562785565853, -0.09349831938743591, 0.023016389459371567, 0.01506204716861248, 0.011537089943885803, 0.07264188677072525, -0.014857719652354717, 0.014007448218762875, -0.04413460195064545, -0.01119447872042656, -0.07686235755681992, 0.009225385263562202, 0.0174742229282856, -0.006186471786350012, -0.007425923366099596, 0.030057739466428757, -0.030560124665498734, 0.05292094498872757, -0.06975170969963074, -0.029583245515823364, 0.0491093210875988, -0.01600121520459652, -0.02316696010529995, 0.016032740473747253, -0.05701149255037308, 0.025127053260803223, 0.042171355336904526, -0.026630768552422523, 0.00866205058991909, -0.019317520782351494, 0.035092469304800034, 0.01957237534224987, 0.03779876232147217, -0.03018445521593094, -0.02267315238714218, 0.07672205567359924, -0.010467647574841976, -0.027899105101823807, 0.041438452899456024, 0.003811609698459506, 0.00430539483204484, 0.00826617144048214, -0.04701797291636467, 0.0023075391072779894, -0.007028232328593731, -0.023534823209047318, -0.03759843111038208, -0.001944841700606048, 0.007296612486243248, -0.004987911321222782, -0.0386580191552639, 0.05120846629142761, 0.016630571335554123, -0.039982669055461884, -0.08289174735546112, 0.0547444224357605, -0.045538391917943954, -0.03378253057599068, -0.036799635738134384, -0.011302492581307888, -0.02974170818924904, 0.0536583736538887, 0.0020539870020002127, 0.02685672976076603, 0.08038082718849182, 0.008249207399785519, -0.0012989041861146688, -0.011783221736550331, 0.06027939170598984, 0.10382501035928726, 0.024978986009955406, 0.01687326841056347, 0.04459076374769211, -0.022498048841953278, -0.028604969382286072, 0.009201492182910442, -0.012818773277103901, -0.04060397669672966, -0.03298472613096237, 0.02055143564939499, 0.06950078904628754, -0.03274817392230034, 0.054523009806871414, -0.021990124136209488, 0.013353576883673668, -0.0016493642469868064, 0.03969883173704147, 0.02518301270902157, 0.02939382940530777, 0.012969667091965675, -0.0003214360913261771, 0.00566226989030838, -0.04082004353404045, 0.06711485981941223, -0.010835891589522362, -0.008146656677126884, 0.01244292687624693, -0.016097692772746086, -0.009241248480975628, 0.01563151925802231, 0.04191401228308678, 0.058568697422742844, -0.011448007076978683, 0.021124469116330147, 0.006844716612249613, 0.031258292496204376, 0.006372523494064808, 0.051145244389772415, -0.01516365073621273, -0.015395263209939003, 0.023094864562153816, -0.042383648455142975, -0.0238870270550251, -0.01791331358253956, -0.02746245078742504, 0.04466801881790161, -0.018649205565452576, 0.008937085047364235, 0.019218111410737038, -0.013760704547166824, -0.03369048610329628, -0.03631502762436867, -0.0676371306180954, -0.03092101775109768, -0.03680456429719925, -0.017446579411625862, -0.0002633261901792139, 0.021068893373012543, -0.031855158507823944, -0.026801006868481636, -0.027550674974918365, -0.021598517894744873, 0.025159388780593872, -0.05915011465549469, -0.03659186139702797, 0.009787140414118767, -0.019672803580760956, 0.014394962228834629, 0.018645381554961205, 0.05320553481578827, -0.007952268235385418, -0.023093651980161667, -0.04601616412401199, 0.01043897308409214, 0.023769667372107506, -0.024412868544459343, -0.014641286805272102, -0.07535074651241302, 0.06282416731119156, -0.00778653658926487, 0.01890767179429531, -0.05610742047429085, 0.03202003985643387, 0.03989468514919281, -0.005209381692111492, 0.07635828852653503, -0.033599868416786194, 0.02835777774453163, -0.06669612228870392, -0.013998640701174736, -0.014058544300496578, -0.013838054612278938, 0.0530877485871315, 0.028441807255148888, 0.09935756772756577, 0.029783044010400772, -0.00873282179236412, -0.03990070894360542, 0.00308470637537539, 0.0005282333004288375, 0.024631377309560776, -0.02113673835992813, 0.019089829176664352, -0.017639311030507088, -0.0790313258767128, -0.04360530152916908, 0.03497488051652908, -0.013203820213675499, -0.02407442405819893, 0.018472954630851746, 0.005226458888500929, -0.0365363284945488, 0.011011932045221329, -0.03269818797707558, -0.03047857992351055, -0.01680014841258526, -0.02547612600028515, -0.025952156633138657, 0.02675696462392807, -0.006447575055062771, -0.00425864290446043, 0.05664878711104393, -0.0250833872705698, -0.03540738299489021, -0.008148102089762688, 0.0195241030305624, 0.07405159622430801, -0.02214137837290764, 0.016127323731780052 ]
[ -0.08341441303491592, -0.012885473668575287, -0.029901348054409027, -0.04444858804345131, 0.05465030297636986, -0.055764973163604736, -0.04415694996714592, 0.004511645995080471, -0.0028286613523960114, -0.027283906936645508, 0.010135773569345474, -0.03194611147046089, 0.009221313521265984, -0.03681768476963043, 0.0815533846616745, 0.0022175158374011517, 0.012759999372065067, -0.0794162005186081, -0.0325702428817749, 0.04413457214832306, -0.02055400051176548, -0.014487889595329762, -0.027083687484264374, -0.04403332620859146, -0.044860780239105225, 0.03615836054086685, 0.00894587766379118, -0.03066204860806465, -0.009985566139221191, -0.16424678266048431, 0.01872956193983555, -0.011935696937143803, -0.008039132691919804, -0.012741799466311932, 0.023163460195064545, 0.009106581099331379, 0.057864852249622345, -0.02989785745739937, -0.0269496850669384, 0.03279264271259308, 0.05250677093863487, 0.041274555027484894, -0.0828782320022583, -0.038034405559301376, 0.041025497019290924, -0.00009646607941249385, 0.011096743866801262, -0.020041272044181824, 0.04807915538549423, 0.031090782955288887, -0.035620011389255524, 0.031553905457258224, 0.03425572067499161, -0.03503060340881348, -0.04293430596590042, 0.009827478788793087, 0.026155002415180206, 0.051277801394462585, -0.010959165170788765, 0.006680293474346399, -0.009681185707449913, -0.0031649782322347164, -0.12791317701339722, 0.1030237078666687, 0.060197941958904266, 0.06103410944342613, -0.04982643201947212, -0.053089212626218796, 0.004978732205927372, 0.07304375618696213, -0.06960084289312363, -0.009380842559039593, -0.05500561371445656, 0.04778316989541054, 0.009647579863667488, -0.03746477887034416, 0.008826076984405518, 0.0484713576734066, 0.024378305301070213, -0.05410229042172432, -0.03395110368728638, -0.019836999475955963, -0.016775725409388542, -0.008105861954391003, -0.06684694439172745, 0.0019466744270175695, 0.014605105854570866, 0.097676120698452, 0.03669397160410881, 0.016051778569817543, 0.03286168724298477, -0.01655535399913788, 0.04882931336760521, 0.01009331364184618, -0.08148861676454544, -0.004497797694057226, 0.02169113978743553, 0.05525079369544983, -0.03586722910404205, 0.41643962264060974, -0.00125230778940022, -0.023552365601062775, 0.049007996916770935, -0.0003468223731033504, 0.01157534122467041, 0.019500045105814934, 0.0012655957834795117, 0.01336770597845316, 0.0010691958013921976, -0.030516838654875755, 0.02387510985136032, -0.0034051574766635895, 0.08840949833393097, -0.06512361764907837, 0.03675065562129021, 0.015044672414660454, -0.009304480627179146, 0.004527628887444735, 0.00017658504657447338, 0.0118536576628685, -0.034008368849754333, -0.0002084847801597789, 0.05502095818519592, -0.013607868924736977, 0.050233133137226105, -0.032984454184770584, 0.04665996879339218, 0.045908331871032715, -0.005018854979425669, 0.008533171378076077, 0.017810629680752754, -0.05330085754394531, -0.025476379320025444, 0.006110957358032465, -0.0015876386314630508, 0.058433711528778076, 0.020454809069633484, -0.04267723113298416, -0.008616725914180279, 0.00982806645333767, -0.02053140290081501, -0.01406965870410204, 0.023542992770671844, -0.0339350625872612, -0.011303097940981388, 0.0798451155424118, 0.048121143132448196, -0.031257521361112595, -0.04356607422232628, -0.06468557566404343, 0.004200516734272242, 0.03198720142245293, 0.021695831790566444, -0.03819981962442398, 0.010032327845692635, 0.009558488614857197, 0.08719872683286667, 0.0011494145728647709, -0.07398409396409988, 0.004229940939694643, -0.016414649784564972, -0.03520451486110687, -0.019477955996990204, 0.03806144744157791, 0.06800714135169983, -0.08432932198047638, -0.01728878915309906, 0.00962434709072113, 0.02578512392938137, -0.028320064768195152, -0.007465822622179985, -0.0036434961948543787, -0.02444528602063656, -0.05534294247627258, 0.039005544036626816, -0.06851814687252045, -0.03458992391824722, 0.004775808192789555, 0.045506201684474945, -0.004919217433780432, 0.006210322491824627, -0.0234980471432209, -0.0497882142663002, 0.001157071441411972, -0.061027511954307556, -0.07959514856338501, -0.06059524044394493, 0.030156955122947693, -0.014031568542122841, 0.011732970364391804, -0.06637537479400635, -0.03070477768778801, -0.055881865322589874, 0.03636225685477257, 0.00995786115527153, -0.009278824552893639, -0.031918201595544815, 0.007588524371385574, -0.011028651148080826, -0.018385587260127068, 0.05487607419490814, 0.027811342850327492, -0.041216325014829636, 0.01951972208917141, -0.06151382625102997, 0.08386535942554474, 0.043543677777051926, -0.04897656291723251, 0.08005829900503159, 0.02612154185771942, -0.03087715245783329, 0.001420983811840415, 0.00472884438931942, 0.015913305804133415, -0.011251987889409065, -0.04389117658138275, 0.0008819182985462248, -0.005068731959909201, 0.03475164994597435, 0.044498689472675323, -0.007356143090873957, -0.016291387379169464, -0.03177349269390106, -0.3311459720134735, -0.03725733235478401, -0.061974771320819855, 0.015789013355970383, 0.059045303612947464, -0.07366493344306946, 0.05575212091207504, -0.025460168719291687, 0.015191396698355675, -0.006807172670960426, 0.100020632147789, -0.0071864500641822815, 0.0015874989330768585, -0.08176709711551666, -0.017331799492239952, -0.010169572196900845, -0.031620364636182785, -0.017222486436367035, -0.00005731949568144046, 0.026140090078115463, -0.008739936165511608, -0.030426405370235443, -0.03565702214837074, -0.04186711832880974, -0.012007227167487144, -0.033050160855054855, 0.12411477416753769, 0.022476861253380775, 0.10035264492034912, -0.06822697073221207, 0.06080690398812294, 0.02207469567656517, 0.0433032363653183, -0.11542093753814697, -0.013785840012133121, -0.007958577945828438, 0.024776101112365723, -0.0011816886253654957, 0.05614557862281799, -0.013571769930422306, -0.0670618787407875, 0.02096790447831154, -0.0256801787763834, -0.053868502378463745, -0.04942869022488594, -0.0070627424865961075, -0.0005354564636945724, -0.021816765889525414, -0.023259058594703674, 0.04505356773734093, 0.018201828002929688, -0.017306072637438774, 0.008965709246695042, -0.01703469268977642, 0.026536988094449043, -0.004503859207034111, -0.031758781522512436, 0.0021364258136600256, 0.020998449996113777, -0.01361679844558239, 0.02857128717005253, 0.054226044565439224, 0.02952268347144127, -0.06791580468416214, 0.0033789626322686672, 0.023237407207489014, 0.0014202720485627651, 0.0052375937812030315, 0.03854718431830406, -0.03593774512410164, -0.01580270566046238, 0.10394236445426941, -0.017446622252464294, 0.032724082469940186, 0.0018252310110256076, 0.04819781333208084, 0.00007577061478514224, 0.0443156361579895, -0.021064171567559242, -0.010268397629261017, 0.007924375124275684, -0.03766145184636116, 0.05043776333332062, -0.054489411413669586, -0.033858999609947205, 0.051135554909706116, -0.020055869594216347, -0.03930314630270004, 0.030370110645890236, 0.010451694019138813, 0.005886332131922245, -0.014689452946186066, -0.03275064006447792, -0.0920189693570137, 0.07460992783308029, 0.0010147501016035676, -0.2375410944223404, 0.02706901542842388, 0.041600532829761505, 0.05274195596575737, -0.008662357926368713, 0.02857133559882641, 0.05904296785593033, -0.030791694298386574, -0.003489758586511016, 0.03310594707727432, 0.004345595370978117, 0.03634674474596977, -0.012729134410619736, 0.005297369323670864, 0.028391016647219658, -0.009957762435078621, 0.047920823097229004, 0.0040506343357264996, -0.02000570483505726, 0.02604963257908821, -0.004261860158294439, -0.04387916252017021, 0.128138467669487, 0.031256016343832016, 0.01630420982837677, 0.06446246802806854, 0.004276064690202475, 0.053908128291368484, 0.08723968267440796, 0.021475715562701225, -0.012204477563500404, 0.025679172948002815, -0.009148048236966133, -0.028901679441332817, 0.021831246092915535, -0.08369544893503189, -0.01471917238086462, 0.018355419859290123, 0.036850109696388245, -0.01397417951375246, -0.009916706010699272, 0.015272471122443676, 0.019291752949357033, 0.019072391092777252, 0.03864454850554466, -0.025905244052410126, 0.015380372293293476, -0.02725488692522049, -0.0528104193508625, -0.01167511846870184, -0.029452256858348846, -0.034768663346767426, 0.007682064548134804, 0.014238678850233555, 0.048611510545015335, 0.0953410267829895, 0.024878885596990585, -0.015076889656484127, 0.0079685989767313, 0.017626682296395302, 0.01063801534473896, -0.03401000052690506, 0.14860083162784576, 0.004601729568094015, 0.055010512471199036 ]
[ 0.004321106243878603, 0.0373772531747818, 0.0005250110407359898, -0.03134038299322128, 0.014028383418917656, 0.00689099682494998, -0.0011814121389761567, 0.05124746263027191, 0.013859535567462444, 0.01556577067822218, 0.00965921487659216, -0.006629177834838629, 0.041634414345026016, -0.020010100677609444, -0.0035395773593336344, -0.038189031183719635, 0.016802659258246422, -0.01962883770465851, 0.047508712857961655, -0.020949888974428177, -0.02760566584765911, 0.021761149168014526, 0.03283721208572388, -0.01380896009504795, -0.011821730993688107, 0.009738512337207794, -0.02325201965868473, -0.0013217974919825792, 0.030526088550686836, -0.13391785323619843, -0.02100910060107708, 0.001424948568455875, -0.03479931876063347, -0.020418766885995865, 0.009645729325711727, -0.03747790306806564, 0.012327400036156178, -0.0019211128819733858, -0.02188025787472725, -0.007538874167948961, 0.0072859483771026134, -0.014413439668715, -0.014654146507382393, -0.0033150732051581144, -0.011702638119459152, -0.031705163419246674, 0.010000835172832012, -0.025766097009181976, -0.019208470359444618, 0.005584378261119127, -0.02267550863325596, 0.032428231090307236, -0.0047773257829248905, 0.016992220655083656, -0.004777614492923021, -0.005440100561827421, 0.01648489199578762, 0.0030604437924921513, 0.03359789028763771, 0.027911685407161713, -0.00263182632625103, 0.016223600134253502, -0.05997149273753166, -0.006052385549992323, 0.005088186357170343, -0.0032050148583948612, 0.012554033659398556, -0.016058167442679405, -0.019511980935931206, 0.02745695784687996, -0.033938705921173096, -0.008363273926079273, -0.016843026503920555, -0.019246304407715797, -0.0530301034450531, -0.028316941112279892, 0.033720795065164566, -0.006320650689303875, -0.027003999799489975, 0.012299015186727047, -0.03993317857384682, 0.008203854784369469, -0.0022809989750385284, 0.012507067061960697, -0.046766284853219986, -0.0010412146802991629, 0.0012972888071089983, 0.018214108422398567, 0.0005328899715095758, -0.006279658526182175, -0.026732290163636208, 0.03994372487068176, -0.018524542450904846, 0.007792755030095577, -0.06311256438493729, -0.02732894755899906, -0.00001394905302731786, 0.004702534060925245, -0.004740634001791477, 0.8259590864181519, -0.012524000369012356, 0.061509594321250916, 0.027008820325136185, -0.006632794626057148, -0.0016320471186190844, -0.0006617045146413147, 0.017093244940042496, 0.009441232308745384, 0.02375190146267414, -0.03338967263698578, 0.03509195148944855, 0.00706958444789052, 0.011270266026258469, 0.022117815911769867, 0.04783343896269798, 0.03036937117576599, -0.013617054559290409, -0.010995973832905293, 0.0302706491202116, 0.03158262372016907, 0.0771167129278183, 0.0012742094695568085, 0.0021790056489408016, 0.01698976941406727, 0.012437201105058193, -0.1811653971672058, 0.031226083636283875, -7.784120652409311e-33, 0.051075104624032974, -0.03922245278954506, -0.018309015780687332, 0.025177378207445145, 0.04380585625767708, 0.026439417153596878, -0.016718046739697456, 0.04797551780939102, -0.023847464472055435, -0.013204078190028667, -0.03358054906129837, -0.017795493826270103, -0.022201143205165863, -0.009054013527929783, 0.028927871957421303, -0.03692254051566124, 0.0016306908801198006, 0.05165565386414528, -0.006169596221297979, 0.012691274285316467, 0.0026036312337964773, 0.03328173980116844, 0.030075455084443092, 0.01602763868868351, 0.022899186238646507, 0.03943478316068649, -0.01767328940331936, -0.002913094125688076, 0.01338647399097681, -0.03864253684878349, -0.014717258512973785, 0.010512634180486202, -0.022517895326018333, -0.06602023541927338, 0.02016814984381199, -0.06317629665136337, -0.0238724984228611, 0.015972206369042397, 0.022659501060843468, -0.029634930193424225, -0.029798226431012154, 0.0133683942258358, -0.005977127701044083, -0.020587382838129997, -0.044564928859472275, -0.05773807689547539, 0.022744031623005867, -0.015464137308299541, 0.0284525565803051, 0.003398871049284935, -0.004612463992089033, -0.034388139843940735, -0.006967191118746996, -0.0020537073723971844, -0.015086110681295395, 0.014143535867333412, -0.01259334571659565, 0.020030438899993896, 0.002244781469926238, 0.055378545075654984, 0.003880142467096448, 0.018538489937782288, -0.028466055169701576, 0.01982271671295166, -0.028315814211964607, -0.005982724018394947, -0.004694706294685602, 0.03503652662038803, -0.019668491557240486, -0.0007337528513744473, -0.07240571826696396, 0.012273513711988926, 0.017650436609983444, 0.008439203724265099, 0.03954233601689339, -0.017220405861735344, 0.013271748088300228, 0.030573295429348946, 0.02679198421537876, 0.0436810627579689, 0.012408332899212837, -0.02143941819667816, -0.01797391101717949, -0.04048480838537216, -0.026074016466736794, -0.0003990665136370808, 0.009309685789048672, -0.0036736219190061092, -0.027243947610259056, 0.009926355443894863, 0.0025029382668435574, 0.01727353036403656, -0.004259418696165085, -0.026431137695908546, -0.035400860011577606, 7.139111473749767e-33, -0.013494337908923626, -0.03432565927505493, -0.020915139466524124, 0.004907042253762484, 0.027748115360736847, 0.046058423817157745, 0.020991407334804535, 0.014207999221980572, -0.06141088530421257, 0.014773454517126083, -0.011031101457774639, 0.05090298503637314, -0.031306371092796326, 0.008569193072617054, 0.06649157404899597, -0.05688668414950371, 0.012933125719428062, -0.03171102702617645, -0.03243444487452507, -0.017428824678063393, 0.020921722054481506, -0.011029878631234169, -0.00012736418284475803, -0.013179244473576546, 0.06347861886024475, 0.051936209201812744, 0.005684445612132549, 0.011981218121945858, 0.016855861991643906, 0.043146174401044846, -0.023949993774294853, 0.0015632318099960685, -0.018957972526550293, 0.014064710587263107, 0.013805181719362736, 0.035252392292022705, 0.022305190563201904, 0.009752116166055202, -0.019851326942443848, 0.007457983214408159, 0.031883202493190765, 0.02385381981730461, -0.006575867533683777, 0.006937896832823753, 0.0489405058324337, 0.05787581205368042, -0.00543452613055706, -0.011116615496575832, -0.019987795501947403, 0.024109166115522385, 0.01155423279851675, 0.004913040436804295, 0.010710897855460644, -0.01902955025434494, 0.004694635048508644, -0.025621403008699417, -0.030149832367897034, -0.0163213312625885, -0.01122490968555212, -0.024051183834671974, 0.015881497412919998, 0.00827222689986229, -0.0373418852686882, -0.01903192512691021, -0.050419554114341736, -0.04654092341661453, -0.035372763872146606, 0.037620361894369125, 0.007375543005764484, 0.016870418563485146, 0.0021092051174491644, -0.02195429615676403, -0.017627378925681114, 0.00993046723306179, 0.00250282883644104, -0.006781313568353653, -0.010929666459560394, -0.01684693992137909, -0.01053850632160902, 0.029751837253570557, 0.025527404621243477, 0.05978262796998024, -0.0032389271073043346, -0.021229641512036324, 0.033856455236673355, 0.029379017651081085, -0.05606831982731819, 0.007877611555159092, 0.027598250657320023, -0.017494603991508484, -0.028738362714648247, -0.018664078786969185, -0.028302982449531555, 0.018005218356847763, 0.0015453353989869356, -1.2864333598372468e-8, -0.01148347556591034, -0.020473947748541832, 0.024610787630081177, 0.05290072411298752, 0.019741026684641838, -0.001270393026061356, -0.026547284796833992, 0.007186824455857277, -0.0050096963532269, -0.011473514139652252, 0.030222516506910324, -0.030178047716617584, 0.005452672019600868, 0.03770419955253601, -0.005610394291579723, 0.009155342355370522, -0.000520465022418648, -0.02232539840042591, 0.033004093915224075, 0.012754218652844429, 0.0009232510928995907, 0.02195815183222294, 0.014078665524721146, 0.002437449060380459, -0.00023572341888211668, -0.00910176895558834, 0.010324222035706043, -0.06213880330324173, -0.05989225208759308, 0.0021034576930105686, -0.0008748077671043575, -0.0409417450428009, -0.0601472482085228, 0.02010602317750454, -0.012978894636034966, -0.05260821431875229, -0.02197565697133541, -0.0001623648131499067, 0.015383143909275532, 0.003738588187843561, 0.007724070455878973, 0.021650424227118492, -0.019528545439243317, -0.0217814352363348, -0.011008227244019508, -0.003651399165391922, -0.01518832053989172, 0.025949126109480858, 0.008075790479779243, -0.05786862596869469, 0.025959186255931854, -0.020054800435900688, -0.014256482943892479, 0.03177326172590256, 0.03130436688661575, -0.006107405759394169, 0.026968980208039284, -0.05366263538599014, -0.010653992183506489, -0.0055263773538172245, 0.026129838079214096, 0.055593349039554596, -0.0180297140032053, -0.039900489151477814 ]
getting-started-with-screen
https://markhneedham.com/blog/2013/07/31/getting-started-with-screen
false
2013-07-30 16:20:16
s3cmd: put fails with "`Connection reset by peer`" for large files
[ "aws", "s3" ]
[ "Software Development" ]
I recently wanted to copy some large files from an AWS instance into an S3 bucket using http://s3tools.org/[s3cmd] but ended up with the following error when trying to use the 'put' command: [source,bash] ---- $ s3cmd put /mnt/ebs/myfile.tar s3://mybucket.somewhere.com /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [1 of 1] 1077248 of 12185313280 0% in 1s 937.09 kB/s failed WARNING: Upload failed: /myfile.tar ([Errno 104] Connection reset by peer) WARNING: Retrying on lower speed (throttle=0.00) WARNING: Waiting 3 sec... /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [1 of 1] 1183744 of 12185313280 0% in 1s 1062.18 kB/s failed WARNING: Upload failed: /myfile.tar ([Errno 104] Connection reset by peer) WARNING: Retrying on lower speed (throttle=0.01) WARNING: Waiting 6 sec... /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [1 of 1] 417792 of 12185313280 0% in 1s 378.75 kB/s failed WARNING: Upload failed: /myfile.tar ([Errno 104] Connection reset by peer) WARNING: Retrying on lower speed (throttle=0.05) WARNING: Waiting 9 sec... /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [1 of 1] 94208 of 12185313280 0% in 1s 81.04 kB/s failed WARNING: Upload failed: /myfile.tar ([Errno 32] Broken pipe) WARNING: Retrying on lower speed (throttle=0.25) WARNING: Waiting 12 sec... /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [1 of 1] 28672 of 12185313280 0% in 1s 18.40 kB/s failed WARNING: Upload failed: /myfile.tar ([Errno 32] Broken pipe) WARNING: Retrying on lower speed (throttle=1.25) WARNING: Waiting 15 sec... /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [1 of 1] 12288 of 12185313280 0% in 2s 4.41 kB/s failed ERROR: Upload of '/mnt/ebs/myfile.tar' failed too many times. Skipping that file. ---- I tried with a smaller file just to make sure I wasn't doing anything stupid syntax wise and that transferred without a problem which lead me to believe the problem might be when uploading larger files - the one I was uploading was around ~10GB in size. I eventually came across http://serverfault.com/questions/514861/s3put-fails-with-connection-reset-by-peer-for-large-files[this StackOverflow thread] which suggested that files >5GB in size need to make use of the 'multi part method' which was released in http://s3tools.org/s3cmd-110b2-released[version 1.1.0 of s3cmd]. The Ubuntu repository comes with version 1.0.0 so I needed to find a way of getting a newer version onto the machine. I eventually ended up downloading http://sourceforge.net/projects/s3tools/files/s3cmd/1.5.0-alpha3/[version 1.5.0 from sourceforge] but I couldn't get a direct URI to download it so I ended up downloading it to my machine, uploading to the S3 bucket through the web UI and then pulling it back down again using a 's3cmd get'. #epic In retrospect the https://launchpad.net/ubuntu/+source/s3cmd[s3cmd PPA] might have been a better option. Anyway, when I used this s3cmd it uploaded using multi part fine: [source,bash] ---- ... /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [part 761 of 775, 15MB] 15728640 of 15728640 100% in 3s 4.12 MB/s done /mnt/ebs/myfile.tar -> s3://mybucket.somewhere.com/myfile.tar [part 762 of 775, 15MB] ... ----
null
null
[ 0.013208995573222637, -0.06078556552529335, -0.03204385191202164, 0.06585785746574402, 0.1258569359779358, 0.041210781782865524, -0.008404002524912357, 0.017288729548454285, -0.013257068581879139, -0.02355521358549595, 0.0066213165409862995, -0.008700422942638397, -0.056201573461294174, 0.027872376143932343, -0.02996799722313881, 0.040163878351449966, 0.065296471118927, -0.015463113784790039, 0.008255280554294586, 0.017193173989653587, 0.010230724699795246, 0.05924718454480171, -0.03342939168214798, 0.02051432617008686, 0.017372947186231613, 0.01900225132703781, -0.0298173688352108, -0.003774210112169385, -0.051304444670677185, 0.0016676058294251561, 0.043907150626182556, -0.018951721489429474, 0.009768820367753506, -0.008054322563111782, 0.01416562870144844, -0.02378041483461857, -0.017667604610323906, 0.0046655866317451, -0.021330825984477997, -0.016904182732105255, -0.060317035764455795, 0.030777819454669952, -0.005288945510983467, 0.002377285622060299, -0.005386626813560724, 0.021631885319948196, -0.0074164774268865585, 0.027047544717788696, 0.00449575437232852, 0.0056275357492268085, -0.06710131466388702, 0.02992687188088894, -0.023094845935702324, -0.034882597625255585, 0.04230291396379471, 0.023055052384734154, 0.009457292035222054, -0.06847654283046722, 0.05763193219900131, -0.03944852203130722, -0.013239026069641113, -0.0013010024558752775, -0.0061560217291116714, 0.007888187654316425, 0.010540157556533813, -0.04803764820098877, -0.0008103674626909196, 0.05543496087193489, -0.035496786236763, -0.032167818397283554, 0.030381090939044952, 0.003558786353096366, -0.043774787336587906, -0.01135099958628416, 0.002214801264926791, -0.061687540262937546, -0.01955266483128071, 0.041298940777778625, 0.018372535705566406, 0.05968425050377846, -0.003566337050870061, 0.005376471672207117, -0.015448248945176601, 0.004513011313974857, 0.015073126181960106, -0.02313954383134842, -0.03965025767683983, -0.0006261782837100327, -0.058515358716249466, 0.06644711643457413, 0.04891633614897728, -0.024770135059952736, 0.004066785331815481, 0.010316867381334305, -0.007261109538376331, -0.003701034700497985, -0.0325387679040432, 0.002919961465522647, 0.007842368446290493, -0.004988639149814844, -0.0711069405078888, 0.006951701827347279, -0.029505306854844093, 0.007008139044046402, -0.05600611865520477, 0.0161190927028656, -0.01684998907148838, -0.01745419017970562, 0.005879682023078203, -0.03302420675754547, 0.012889114208519459, 0.00491999089717865, -0.030385157093405724, -0.002389836125075817, -0.1020679771900177, 0.05761867016553879, 0.02106613665819168, -0.04526619240641594, 0.011428997851908207, -0.001484374050050974, 0.05125254765152931, 0.010492630302906036, -0.01889955811202526, 0.06552139669656754, 0.02669353224337101, 0.011246091686189175, 0.014616493135690689, 0.022126389667391777, -0.007100395392626524, -0.06302740424871445, -0.020264726132154465, 0.07987776398658752, 0.039045315235853195, 0.0029422154184430838, -0.006094891577959061, 0.0040814755484461784, -0.019809715449810028, -0.006971003022044897, 0.05056702345609665, 0.00832602009177208, -0.0032857232727110386, 0.011009960435330868, -0.0007203352870419621, -0.006898399442434311, 0.03476348891854286, 0.029525013640522957, 0.0033290504943579435, -0.05315573513507843, -0.027536649256944656, 0.020973823964595795, 0.02729758806526661, -0.009309422224760056, 0.05697721615433693, -0.038829267024993896, 0.000470304541522637, 0.0877174362540245, 0.021897198632359505, 0.017128819599747658, -0.039084818214178085, -0.006527763791382313, 0.040900371968746185, 0.009970828890800476, 0.006952608469873667, 0.024406302720308304, 0.02176997810602188, -0.06076144054532051, 0.0063069770112633705, 0.041003040969371796, -0.022973256185650826, 0.030156463384628296, -0.05160471424460411, -0.04057697206735611, 0.06098472699522972, -0.01127686072140932, 0.03961867094039917, 0.017342623323202133, 0.08608455210924149, 0.042382653802633286, 0.006344853900372982, -0.010181578807532787, -0.07462627440690994, 0.0627986416220665, -0.015633907169103622, 0.0352284200489521, 0.040754273533821106, -0.005497152917087078, 0.07668065279722214, 0.008175122551620007, 0.03395046666264534, 0.03642739728093147, -0.09906062483787537, -0.11074970662593842, -0.03283177688717842, -0.005558081436902285, 0.0535435788333416, -0.012638534419238567, -0.0035894978791475296, 0.0490727424621582, 0.02310224249958992, 0.02286488749086857, -0.014720248989760876, -0.0074578155763447285, 0.05386769771575928, -0.07352728396654129, -0.06412123143672943, 0.039803922176361084, 0.006393698044121265, -0.023612026125192642, -0.01476417575031519, 0.02039693482220173, -0.03152838721871376, -0.0066495114006102085, 0.021866625174880028, -0.03435584157705307, 0.05601257085800171, 0.017019711434841156, 0.04113239794969559, -0.03826294466853142, 0.05138303339481354, -0.024350512772798538, 0.0064371004700660706, -0.0031635076738893986, 0.005264436826109886, 0.020286697894334793, -0.011461900547146797, 0.0864986702799797, 0.048873841762542725, 0.020709775388240814, -0.0406770259141922, 0.015022378414869308, -0.017635060474276543, -0.06101233512163162, -0.004413932096213102, -0.015887349843978882, 0.00462709367275238, 0.04808157682418823, -0.04446875676512718, -0.03350483253598213, -0.013788708485662937, -0.028058579191565514, -0.0007211024058051407, 0.04914053902029991, 0.01619541272521019, 0.056184012442827225, 0.021282773464918137, 0.004033758770674467, -0.02248089574277401, -0.04575435072183609, -0.04984750971198082, 0.0010710414499044418, 0.008886858820915222, -0.012684546411037445, 0.03530871495604515, -0.04995255917310715, -0.03739530220627785, -0.019787663593888283, -0.032642919570207596, 0.04036751016974449, 0.02720237337052822, 0.046564921736717224, -0.04671959578990936, 0.047080595046281815, -0.04429453983902931, 0.00796972494572401, -0.03729505091905594, -0.02723236009478569, -0.04920700192451477, 0.007438638713210821, -0.0036983659956604242, -0.0071383994072675705, 0.04015645757317543, -0.012510037049651146, 0.022933948785066605, -0.0179089717566967, 0.03953838348388672, -0.019959615543484688, 0.07847915589809418, -0.01278521865606308, 0.02041037753224373, -0.021435383707284927, 0.021475309506058693, 0.040004413574934006, -0.011977524496614933, 0.004200108349323273, 0.008239205926656723, -0.03157377615571022, 0.037297870963811874, -0.06227974593639374, -0.0355985090136528, -0.04228735715150833, 0.014451613649725914, 0.02663475088775158, 0.01913301832973957, 0.048595357686281204, 0.06320668756961823, 0.02209118939936161, 0.0173763707280159, 0.006608747877180576, 0.04228239133954048, 0.04738042503595352, 0.017423924058675766, 0.01773780770599842, 0.0056925672106444836, -0.008123256266117096, -0.03620512783527374, -0.0543392039835453, -0.03250454366207123, -0.018610674887895584, -0.2615436315536499, 0.07276447862386703, 0.02706775814294815, -0.03971511498093605, 0.033132731914520264, -0.05468255281448364, 0.03593412786722183, -0.019152551889419556, -0.038701802492141724, 0.028081240132451057, -0.015173322521150112, -0.029780780896544456, 0.020760128274559975, 0.04056078568100929, -0.015147428959608078, 0.02385524846613407, -0.022978205233812332, -0.06579404324293137, -0.021548135206103325, 0.01365677546709776, -0.008316943421959877, -0.04252276569604874, 0.014624807052314281, 0.030445044860243797, 0.024105170741677284, 0.05701319873332977, -0.053981930017471313, 0.043411046266555786, -0.0581648088991642, -0.05938448756933212, 0.025081811472773552, -0.04736965149641037, 0.023939434438943863, -0.009398496709764004, -0.03158009052276611, -0.008626076392829418, 0.018172284588217735, 0.024885347113013268, 0.0002219580637756735, -0.011781740933656693, -0.031036661937832832, -0.036430440843105316, 0.024389658123254776, 0.0190053079277277, 0.08252175897359848, -0.023457473143935204, -0.03456026315689087, -0.025299549102783203, -0.02963465265929699, 0.08016674220561981, -0.032338231801986694, -0.02724103070795536, -0.011689480394124985, 0.02848430722951889, -0.007377886213362217, 0.030442019924521446, -0.027444202452898026, 0.013134780339896679, -0.007400335744023323, -0.008353002369403839, 0.010084078647196293, -0.04098118841648102, -0.008243747986853123, -0.04296557605266571, -0.0004006104718428105, -0.04095587879419327, -0.04867084324359894, -0.030906803905963898, 0.05096835270524025, 0.010836776345968246, -0.013186762109398842, 0.03220017999410629, -0.005599817726761103, -0.09086782485246658, -0.020241010934114456, -0.040812067687511444, -0.045549143105745316, 0.0030166783835738897, -0.04882487654685974, 0.046610694378614426, -0.041140228509902954, -0.056155603379011154, 0.011740030720829964, -0.01818963885307312, 0.036981258541345596, 0.005492998752743006, 0.0018176061566919088, -0.020644085481762886, -0.008021336048841476, -0.00817692931741476, 0.04133492335677147, -0.039204999804496765, -0.03444763645529747, -0.008556189015507698, -0.028164217248558998, 0.028805583715438843, -0.02492380514740944, 0.04857970401644707, -0.01347199734300375, 0.02489815093576908, 0.034203674644231796, -0.020665830001235008, 0.02914775162935257, -0.05298623442649841, -0.007200926076620817, -0.002522534690797329, -0.03364544361829758, 0.023902539163827896, 0.0022334654349833727, 0.03303847834467888, 0.02917543053627014, 0.00215577962808311, 0.052884578704833984, -0.06707888841629028, -0.03639723360538483, 0.022440068423748016, -0.008473871275782585, 0.010472993366420269, 0.031053591519594193, -0.022346256300807, -0.029468191787600517, 0.04344891756772995, 0.0452423170208931, -0.022225528955459595, -0.023648392409086227, -0.02265714481472969, 0.03700566664338112, -0.005340061616152525, -0.017381059005856514, -0.03518380597233772, 0.0009767489973455667, 0.03503596782684326, 0.04884440451860428, -0.04009908810257912, -0.001785335480235517, -0.06300165504217148, -0.054466091096401215, -0.0287055391818285, 0.049633678048849106, 0.009623588062822819, -0.06696601212024689, 0.020217666402459145, 0.007044834550470114, 0.04279511794447899, 0.0299955103546381, 0.007401934824883938, 0.02768746204674244, -0.015565737150609493, 0.0297579113394022, -0.008968077600002289, -0.01526426337659359, -0.0539923794567585, 0.01043684221804142, -0.03354201093316078, -0.01976059377193451, 0.009768645279109478, 0.038301751017570496, -0.03184511512517929, -0.004444297403097153, -0.015672344714403152, -0.007707373704761267, -0.03701968118548393, -0.005450267810374498, -0.020319320261478424, 0.006516127847135067, 0.048712797462940216, -0.005134413484483957, -0.024757010862231255, 0.016942424699664116, -0.024076223373413086, 0.008645378984510899, -0.002956533804535866, -0.033046215772628784, 0.013675734400749207, -0.01895599439740181, 0.025300132110714912, 0.0468372218310833, 0.028968488797545433, -0.0025221200194209814, 0.023841433227062225, -0.003087366698309779, -0.009272884577512741, 0.005258538760244846, 0.024164516478776932, 0.04207474738359451, 0.006238673813641071, -0.010971484705805779, 0.04798590764403343, -0.02136240340769291, -0.033642418682575226, -0.010535899549722672, -0.019228998571634293, -0.015589111484587193, 0.02631867304444313, 0.012017924338579178, -0.060693684965372086, 0.036260612308979034, 0.029553797096014023, 0.01791168935596943, 0.02790198288857937, -0.015621742233633995, 0.00017449622100684792, -0.027344319969415665, 0.01000515278428793, 0.09545694291591644, -0.05717321112751961, 0.013253029435873032, 0.012134554795920849, 0.005460887681692839, 0.0076901414431631565, -0.009062515571713448, -0.01859554834663868, -0.0582086555659771, -0.009214897640049458, 0.04565495252609253, -0.04229839891195297, -0.03545127809047699, -0.03658268600702286, 0.008870013058185577, -0.059328168630599976, 0.016125688329339027, -0.005837620235979557, 0.018752804026007652, -0.018219053745269775, -0.020131707191467285, 0.011761660687625408, -0.03354109078645706, -0.015720553696155548, 0.047735508531332016, 0.025448976084589958, -0.00454480666667223, -0.02216995321214199, 0.028499072417616844, 0.017244255170226097, -0.018111135810613632, 0.0017000387888401747, -0.010675043798983097, 0.012354010716080666, -0.02007870376110077, 0.038030680269002914, -0.004814992193132639, 0.0066397772170603275, -0.012970762327313423, 0.019010985270142555, -0.010692938230931759, 0.0004932023584842682, -0.012340087443590164, -0.017309803515672684, 0.021852103993296623, 0.06677990406751633, -0.00037174145109020174, 0.019493620842695236, -0.01436383556574583, -0.03414474427700043, 0.06144986301660538, -0.051618460565805435, -0.020939141511917114, -0.011935063637793064, -0.03031434677541256, 0.047708895057439804, 0.004868083167821169, 0.00869887974113226, -0.09489022940397263, 0.04930111765861511, 0.029664693400263786, 0.013278158381581306, 0.05647177994251251, -0.026149945333600044, -0.004949124995619059, -0.03540817275643349, -0.021601807326078415, -0.08262258768081665, 0.0069592660292983055, -0.006492929067462683, -0.027983734384179115, -0.029659884050488472, 0.008106141351163387, -0.03910335525870323, -0.0035576114896684885, -0.04314049705862999, -0.035428065806627274, 0.04244307801127434, -0.023409027606248856, 0.010737686417996883, 0.01779307797551155, -0.03722123056650162, 0.036425817757844925, 0.028642799705266953, -0.04796633496880531, 0.0126776322722435, -0.0056889858096838, 0.0664561539888382, 0.0119556849822402, 0.04327753186225891, -0.02601017989218235, -0.06548450887203217, 0.07107538729906082, -0.018989700824022293, 0.024058472365140915, 0.05060571804642677, -0.021146439015865326, 0.011975415982306004, 0.023565854877233505, 0.005934079643338919, 0.030100729316473007, 0.00859070848673582, -0.03365185111761093, -0.02657111920416355, 0.03504198417067528, -0.0034824698232114315, 0.002748969243839383, -0.03556540235877037, 0.042766422033309937, 0.0014777833130210638, -0.031664688140153885, -0.09267114102840424, 0.032770778983831406, -0.03677648305892944, -0.03566955029964447, -0.02730882726609707, 0.009425537660717964, -0.045315083116292953, 0.05126313865184784, 0.02277299575507641, 0.03181898593902588, 0.08060407638549805, -0.02068031020462513, -0.037691306322813034, 0.022655585780739784, 0.06335052847862244, 0.08470732718706131, -0.0006417148397304118, 0.004681413993239403, 0.047825295478105545, 0.001009967876598239, -0.04042995721101761, 0.015306892804801464, -0.012488660402595997, -0.00064946583006531, -0.013929660432040691, -0.00011417227506171912, 0.05365138500928879, -0.031872741878032684, 0.06670056283473969, -0.017974654212594032, 0.02384704351425171, -0.0005753024597652256, 0.053548309952020645, 0.04561705142259598, 0.002431566594168544, 0.00828686822205782, 0.0406222827732563, -0.001604603137820959, -0.03955426067113876, 0.023422613739967346, 0.03284122049808502, 0.0027502384036779404, -0.008738992735743523, -0.03125565126538277, 0.00005159078136784956, 0.041217248886823654, 0.025376014411449432, 0.060188181698322296, -0.002934583928436041, 0.017446069046854973, 0.010557731613516808, 0.04366116225719452, -0.02843693271279335, 0.06345335394144058, -0.02518394961953163, -0.02121652103960514, -0.00466868607327342, -0.05545150116086006, -0.022406868636608124, 0.0007041738135740161, -0.019420906901359558, 0.013110664673149586, -0.0032006213441491127, -0.008035309612751007, 0.025309588760137558, -0.04569077864289284, -0.014643051661550999, -0.016586806625127792, -0.07312745600938797, -0.03851510211825371, -0.04062081128358841, 0.0022316451650112867, -0.016059862449765205, -0.008110761642456055, -0.013136958703398705, -0.028832515701651573, -0.007463876157999039, -0.03302047774195671, 0.021111536771059036, -0.04399910196661949, -0.019405467435717583, 0.031905196607112885, -0.00046764296712353826, -0.0067595308646559715, 0.04004257544875145, 0.052447788417339325, -0.015353371389210224, -0.01612076535820961, -0.016891969367861748, -0.0012401860440149903, 0.04797812178730965, -0.006228776648640633, 0.0024838033132255077, -0.08240241557359695, 0.04545037820935249, 0.037518009543418884, 0.0201271865516901, -0.06727098673582077, 0.022785434499382973, 0.06813991069793701, -0.01130274310708046, 0.05934319645166397, -0.042990732938051224, -0.006565477233380079, -0.05904434248805046, -0.008009729906916618, -0.06962895393371582, -0.008277290500700474, 0.07539086043834686, 0.017538513988256454, 0.10445486009120941, 0.04634721204638481, -0.02016991376876831, -0.03447319194674492, 0.0027097519487142563, -0.005667437799274921, 0.0362677238881588, -0.03564683347940445, -0.019101139158010483, -0.02476228028535843, -0.08049557358026505, -0.05118107795715332, 0.0011032390175387263, -0.03601246699690819, -0.00781042966991663, -0.013287817128002644, -0.014363439753651619, -0.046592164784669876, -0.026869604364037514, -0.05846421793103218, 0.020912768319249153, -0.02343372255563736, -0.023406144231557846, -0.04029656946659088, 0.03112720139324665, 0.03147532790899277, -0.023867838084697723, 0.03349782153964043, -0.033014796674251556, 0.019118428230285645, -0.018869590014219284, 0.02384968288242817, 0.08412066102027893, -0.01878039538860321, 0.01073884591460228 ]
[ -0.06403359770774841, -0.07407578080892563, -0.041238393634557724, -0.028629036620259285, 0.0639924481511116, -0.07486161589622498, -0.053227897733449936, -0.024575037881731987, 0.01637439802289009, 0.02325729839503765, 0.04151123762130737, -0.06091737374663353, 0.01111303549259901, -0.05881122127175331, 0.04101238027215004, 0.024911819025874138, -0.00786173902451992, -0.07596632838249207, -0.048788588494062424, 0.05262720212340355, 0.009016474708914757, -0.010761103592813015, -0.03476786985993385, -0.018899809569120407, -0.03742058575153351, 0.020382113754749298, 0.018265601247549057, -0.055367108434438705, -0.058539580553770065, -0.19446322321891785, 0.021726878359913826, -0.04982535541057587, -0.03430339694023132, -0.01650584489107132, 0.04597846791148186, 0.023573461920022964, 0.03842724487185478, 0.005944373086094856, 0.008948465809226036, 0.030393017455935478, 0.018598690629005432, 0.029657403007149696, -0.07054869830608368, -0.04343222454190254, -0.002022316912189126, -0.01539207436144352, -0.016101161018013954, -0.010867977514863014, 0.05839519575238228, 0.003398850793018937, -0.06884769350290298, 0.0014619043795391917, 0.020838500931859016, -0.05200944095849991, -0.018553568050265312, 0.03030933253467083, 0.06555121392011642, 0.10383108258247375, 0.0088243642821908, 0.0007360514719039202, -0.0004467203689273447, -0.0011175458785146475, -0.14192098379135132, 0.08685851842164993, 0.06816214323043823, 0.06102985143661499, -0.021324671804904938, -0.02616167441010475, -0.03871138021349907, 0.061004284769296646, -0.03860199451446533, 0.0018686567200347781, -0.03779144957661629, 0.13285662233829498, 0.0123240165412426, 0.0074265762232244015, 0.01140835601836443, 0.021256044507026672, 0.0024567842483520508, -0.034933414310216904, -0.04661371186375618, -0.03883202746510506, -0.02908969856798649, -0.00907487515360117, -0.05607568845152855, -0.028792258352041245, 0.014356870204210281, 0.08785780519247055, 0.038541845977306366, 0.00020197500998619944, -0.010270847007632256, 0.008103903383016586, 0.04909784346818924, 0.02924179472029209, -0.11569131165742874, 0.004879863932728767, -0.005612826906144619, 0.024787165224552155, -0.045042332261800766, 0.39994147419929504, -0.01844927668571472, 0.01653798297047615, 0.03109809197485447, 0.022503087297081947, 0.026083780452609062, 0.011786477640271187, 0.015112079679965973, -0.022529974579811096, 0.015844199806451797, -0.026823092252016068, 0.028937306255102158, -0.017185214906930923, 0.05121684446930885, -0.05142582207918167, 0.046256355941295624, 0.06255456805229187, 0.007272395770996809, 0.009159449487924576, -0.05404408276081085, 0.022004054859280586, -0.019094791263341904, 0.0157171580940485, 0.03754786401987076, 0.016765976324677467, -0.017038296908140182, -0.027762368321418762, 0.058865103870630264, 0.07555137574672699, 0.010200698859989643, 0.0358361154794693, 0.022019514814019203, -0.01037681009620428, -0.07518228143453598, -0.015426240861415863, -0.015195086598396301, 0.034497350454330444, -0.006890547927469015, -0.053992219269275665, 0.020745545625686646, -0.00598589051514864, -0.015929456800222397, -0.04594278335571289, 0.0032016257755458355, -0.012732448056340218, 0.011991049163043499, 0.08062730729579926, -0.004558286163955927, -0.01316016260534525, -0.03716817870736122, -0.05672977864742279, -0.006093049421906471, 0.03207612410187721, 0.014657687395811081, -0.06127804517745972, 0.00020767643582075834, 0.0014302481431514025, 0.07194660604000092, 0.004752510692924261, -0.05282648280262947, 0.00033471660572104156, -0.01548738032579422, -0.05508630350232124, -0.05077609792351723, 0.0579390674829483, 0.016216382384300232, -0.08484700322151184, -0.003231039270758629, 0.004672416020184755, 0.007725444622337818, -0.021841740235686302, 0.015426595695316792, 0.006361782550811768, -0.026018725708127022, -0.04278593882918358, 0.032990965992212296, -0.031208496540784836, -0.032589055597782135, -0.015689099207520485, 0.03302225098013878, 0.014543491415679455, -0.010977198369801044, 0.011762868613004684, -0.01567266136407852, 0.011408604681491852, -0.05205697938799858, -0.06817737221717834, -0.072991281747818, 0.02912500500679016, -0.005390271078795195, 0.008869624696671963, -0.04678172990679741, 0.029960962012410164, -0.0627717673778534, 0.01182996854186058, 0.0030696128960698843, -0.024066584184765816, 0.008971700444817543, 0.015207421965897083, -0.009534425102174282, -0.05020182207226753, 0.10286292433738708, 0.029956109821796417, -0.02035856619477272, 0.03823458030819893, -0.07381841540336609, 0.016173016279935837, 0.023437242954969406, -0.03981396183371544, 0.050524476915597916, 0.02638259530067444, -0.02944228984415531, -0.0017191204242408276, -0.008332991041243076, 0.004070912953466177, -0.010011195205152035, -0.013865767046809196, -0.005427072290331125, 0.011225715279579163, 0.020745625719428062, 0.02090185508131981, -0.03791126236319542, -0.0014580582501366735, -0.006129910238087177, -0.33014968037605286, -0.013990244828164577, -0.01197059080004692, 0.00225947517901659, 0.008456176146864891, -0.0237458236515522, 0.03756916895508766, 0.015480409376323223, -0.02758980169892311, 0.026649847626686096, 0.08619088679552078, -0.03492302820086479, 0.019470341503620148, -0.07018988579511642, 0.002268572337925434, -0.028440536931157112, -0.08871886134147644, -0.023345204070210457, -0.0070733074098825455, 0.06530237197875977, -0.02645905502140522, -0.030927570536732674, -0.04150288179516792, -0.02491951361298561, 0.030478401109576225, -0.019608307629823685, 0.13671891391277313, 0.030919985845685005, 0.08705129474401474, -0.06843475997447968, 0.05102768540382385, 0.04490076005458832, 0.028717951849102974, -0.10042393952608109, -0.0125716682523489, 0.007100564427673817, 0.003330521285533905, 0.021285545080900192, 0.02102239802479744, 0.01036892831325531, -0.0805053636431694, 0.04492425173521042, -0.005726889707148075, -0.014637063257396221, 0.013650699518620968, -0.028295742347836494, -0.0005690855905413628, 0.004126943182200193, -0.029006492346525192, 0.046453651040792465, 0.020743370056152344, 0.029953163117170334, -0.014128899201750755, 0.019975904375314713, 0.06831694394350052, -0.010620597749948502, -0.03477693349123001, 0.009435429237782955, 0.00939518865197897, -0.0160599984228611, 0.04528004303574562, 0.03266972675919533, 0.0537496879696846, -0.03413404896855354, -0.0005052543128840625, -0.026372184976935387, -0.02294475957751274, 0.02957591786980629, 0.008668401278555393, -0.023892786353826523, -0.0018360397079959512, 0.09599504619836807, -0.002747081220149994, 0.026813490316271782, 0.00006878007116029039, 0.03602788597345352, -0.030542217195034027, -0.00033144521876238286, 0.0012316437205299735, -0.023749951273202896, 0.06367912143468857, -0.017497025430202484, 0.061482932418584824, -0.03216147422790527, -0.002143384190276265, 0.06182149052619934, -0.02733287401497364, 0.006038442254066467, 0.07423006743192673, -0.007847145199775696, -0.00939184334129095, -0.03656136989593506, -0.04780827462673187, -0.04320918023586273, 0.09232088178396225, -0.009244230575859547, -0.26928412914276123, 0.01954342983663082, 0.02030053362250328, 0.04672926291823387, -0.007018027361482382, 0.021593384444713593, 0.04618477821350098, -0.04572489112615585, 0.005585687700659037, 0.02202613651752472, -0.03540652617812157, 0.03523420915007591, -0.03712760657072067, 0.03519819304347038, 0.03212553635239601, -0.02673879638314247, 0.03317969664931297, 0.01623266190290451, 0.015730639919638634, 0.01335166022181511, -0.0004306123300921172, 0.00018632957653608173, 0.15375757217407227, 0.046823035925626755, -0.01379555743187666, 0.05112205445766449, -0.011807719245553017, 0.060389310121536255, 0.06461204588413239, 0.019390521571040154, 0.002134735230356455, 0.0228869765996933, -0.01681361347436905, 0.0020484128035604954, 0.052085991948843, -0.058815401047468185, -0.0022200741805136204, 0.016861915588378906, 0.036336932331323624, -0.003377977991476655, -0.016642266884446144, 0.04038500413298607, 0.03164081275463104, 0.02267252653837204, 0.035641856491565704, -0.01460151094943285, 0.011001155711710453, -0.04687514528632164, -0.022209053859114647, 0.0020952224731445312, -0.031533319503068924, -0.03416980803012848, -0.008656538091599941, -0.021540772169828415, 0.02017931453883648, 0.08522479236125946, 0.02564801089465618, -0.010724879801273346, -0.043122608214616776, 0.00483317393809557, 0.024920759722590446, -0.08951416611671448, 0.08750255405902863, 0.008529890328645706, 0.015735268592834473 ]
[ -0.01948157325387001, 0.014072954654693604, -0.011180330999195576, -0.0069861747324466705, 0.06447308510541916, -0.006296263542026281, -0.006242683157324791, 0.015316104516386986, 0.020042363554239273, 0.012178911827504635, -0.01411928329616785, 0.004080448765307665, 0.05034971609711647, -0.016450021415948868, 0.010336142033338547, -0.04378783702850342, 0.005933649372309446, 0.026250356808304787, 0.023340439423918724, -0.01156912837177515, -0.02342846617102623, 0.019367041066288948, 0.020647766068577766, 0.008405416272580624, 0.009600664488971233, 0.034444618970155716, -0.0868920311331749, 0.014416894875466824, 0.0010192086920142174, -0.15803289413452148, 0.004900954198092222, -0.017290936782956123, 0.015916088595986366, -0.016647720709443092, 0.039493460208177567, 0.036169543862342834, 0.04065786302089691, 0.02006600797176361, -0.059010740369558334, 0.019773095846176147, 0.05495992675423622, 0.008452807553112507, 0.020227521657943726, -0.03518330678343773, -0.004178285598754883, 0.020817678421735764, -0.016576658934354782, -0.03215055167675018, -0.01999986171722412, -0.003080168040469289, -0.00970691442489624, -0.021581556648015976, 0.008409646339714527, 0.024117594584822655, -0.012194741517305374, -0.007154268212616444, -0.01036897860467434, 0.005073156673461199, 0.00820477120578289, -0.04445178806781769, -0.008978771977126598, -0.017809441313147545, -0.02757670171558857, -0.01084953360259533, 0.06432953476905823, 0.014621336944401264, -0.016431856900453568, -0.053687430918216705, -0.029083818197250366, 0.05729425698518753, 0.0042852982878685, 0.00724859070032835, -0.062231022864580154, 0.059500861912965775, 0.006944166962057352, 0.017080359160900116, 0.06319696456193924, 0.0504513718187809, -0.010025004856288433, 0.018693242222070694, -0.07199620455503464, -0.00883081927895546, 0.003276737639680505, -0.014892460778355598, -0.07339908927679062, -0.03825207054615021, -0.025141088292002678, 0.009039484895765781, 0.0030846637673676014, 0.005685790441930294, 0.0001825115759856999, 0.015595754608511925, -0.014341909438371658, 0.022831685841083527, -0.07153710722923279, -0.026715369895100594, -0.02040449157357216, -0.011176888830959797, -0.0015757433138787746, 0.7915754318237305, 0.05659358203411102, 0.04856027662754059, 0.008164477534592152, -0.015015372075140476, 0.054322294890880585, 0.0207577683031559, -0.013215340673923492, -0.0069176568649709225, -0.04378160834312439, -0.01775949075818062, 0.014026601798832417, -0.029279645532369614, 0.017046913504600525, 0.0023416720796376467, 0.022886626422405243, 0.03055262193083763, -0.02596038393676281, 0.009247631765902042, -0.017032798379659653, 0.03661404922604561, 0.06273497641086578, 0.003234471892938018, 0.03715270385146141, -0.025098023936152458, -0.004090717528015375, -0.17775698006153107, 0.0047550019808113575, -6.862264187031887e-33, 0.02045224793255329, -0.014904290437698364, -0.00944169145077467, 0.02770976535975933, 0.039559029042720795, 0.03142967447638512, -0.0017165656900033355, 0.05466379225254059, -0.0197348203510046, -0.029628735035657883, -0.05226016789674759, -0.027594847604632378, 0.011976644396781921, -0.026737438514828682, -0.012955481186509132, -0.0031650138553231955, -0.010140164755284786, 0.01015529129654169, -0.013819613493978977, -0.000908871297724545, 0.02466902695596218, 0.003979294560849667, 0.010030793957412243, -0.01953369937837124, 0.018135610967874527, -0.017594078555703163, 0.03908947482705116, -0.00019966339459642768, 0.03539952263236046, -0.04055004566907883, 0.02004082128405571, 0.011814191937446594, -0.008478906005620956, -0.050767287611961365, -0.0019750939682126045, -0.03436863049864769, -0.07381530851125717, 0.02453438937664032, -0.01779733970761299, 0.028669998049736023, -0.004139256197959185, -0.018776675686240196, -0.034317079931497574, 0.0019506537355482578, -0.02409188635647297, 0.01665937714278698, 0.04228067770600319, 0.00477096252143383, -0.002174672670662403, 0.019073614850640297, 0.025027895346283913, -0.014832068234682083, 0.02622196078300476, 0.021724801510572433, 0.01069823931902647, 0.03753635287284851, 0.0009265742846764624, 0.005272387992590666, -0.029646897688508034, 0.0021523144096136093, 0.01870129443705082, 0.02897394448518753, 0.005430510733276606, 0.015673955902457237, 0.04607117921113968, 0.01788966916501522, 0.021928753703832626, 0.041334979236125946, 0.0016272033099085093, 0.02290450409054756, -0.041082289069890976, -0.02773834764957428, 0.0006628624978475273, 0.03857143968343735, 0.011217806488275528, -0.023765284568071365, -0.02932742051780224, -0.007316176779568195, 0.005550093948841095, -0.0002912680502049625, -0.04722002521157265, -0.03545761480927467, -0.017316622659564018, -0.03518383204936981, -0.0586104691028595, -0.03937535360455513, 0.02522188611328602, -0.008539415895938873, -0.04439049959182739, 0.0038224251475185156, 0.04436657577753067, 0.02617507241666317, 0.031571995466947556, -0.006845942698419094, -0.01392961386591196, 7.688809366392732e-33, -0.003294808091595769, -0.028273191303014755, 0.0005155055550858378, 0.007588949985802174, 0.03320607915520668, -0.0032463909592479467, 0.049166012555360794, 0.01797233708202839, -0.039668675512075424, 0.03655838221311569, -0.026241695508360863, -0.010770708322525024, -0.0012341514229774475, -0.044382527470588684, 0.05126276612281799, -0.022251997143030167, 0.002870155032724142, -0.03161100298166275, 0.050884850323200226, -0.019995644688606262, -0.008380579762160778, -0.025544768199324608, 0.004644888453185558, 0.058395352214574814, -0.005135101731866598, 0.07130981981754303, 0.005386731121689081, -0.005871905013918877, -0.011321921832859516, -0.03552468866109848, 0.04603156819939613, -0.03537822514772415, -0.008246012963354588, -0.017847711220383644, -0.017574632540345192, 0.02202710323035717, 0.006555433850735426, 0.04174921289086342, 0.011258646845817566, -0.053902726620435715, 0.05086909607052803, 0.02789796143770218, -0.02039431408047676, -0.0003686614509206265, 0.022292353212833405, 0.044785842299461365, -0.01692185178399086, 0.016045091673731804, -0.0043141101486980915, 0.03664769232273102, -0.010239428840577602, -0.0031574214808642864, 0.027348244562745094, 0.007307069376111031, 0.054780445992946625, -0.012674289755523205, -0.03792671486735344, 0.016390038654208183, -0.05617512762546539, 0.03720991685986519, 0.006971650756895542, 0.017150724306702614, -0.009856889955699444, 0.024054748937487602, -0.04663555324077606, -0.04177700728178024, -0.03691371530294418, -0.0017788950353860855, 0.016056207939982414, 0.01670130155980587, 0.006011751014739275, -0.016165753826498985, -0.03598270192742348, 0.02708190120756626, 0.02342313341796398, -0.006268300581723452, 0.004062583204358816, 0.017627213150262833, 0.015184366144239902, 0.008706491440534592, 0.009509691037237644, 0.050334375351667404, -0.021498745307326317, 0.04613770544528961, 0.003908243961632252, 0.02922864258289337, -0.020003532990813255, 0.01435381080955267, 0.0537397675216198, -0.045101575553417206, -0.034285202622413635, -0.019104331731796265, -0.056994907557964325, 0.008911714889109135, 0.029951060190796852, -1.2374703040052282e-8, 0.02043880894780159, 0.005072291009128094, 0.006440121680498123, 0.04750894010066986, -0.014707216992974281, 0.022089220583438873, -0.0018644190859049559, 0.026639215648174286, -0.01868593320250511, -0.016529086977243423, -0.003059051465243101, -0.04198557138442993, 0.011109822429716587, -0.023425310850143433, 0.0149219436571002, -0.04988224059343338, 0.015095499344170094, 0.0262422077357769, 0.020261568948626518, -0.019679708406329155, 0.03240819647908211, 0.029783140867948532, -0.007981874980032444, -0.003367580706253648, 0.014443830586969852, -0.00035475307959131896, 0.007834174670279026, -0.06716031581163406, -0.02892497181892395, -0.011833720840513706, 0.014060784131288528, -0.05841752514243126, -0.03707662597298622, 0.0009323101839981973, -0.009207651019096375, -0.015377691946923733, -0.04850144684314728, -0.010390578769147396, 0.03617088869214058, 0.008439717814326286, -0.006262172944843769, 0.052271679043769836, -0.007435617037117481, -0.039004694670438766, -0.00440157251432538, -0.035471852868795395, -0.027917688712477684, 0.041932761669158936, -0.041633330285549164, -0.037935517728328705, 0.004128276836127043, -0.03142908588051796, 0.009031490422785282, 0.04632042720913887, 0.038636233657598495, -0.007898040115833282, -0.003081927075982094, -0.03930669277906418, -0.018442198634147644, 0.03209066390991211, 0.04330113157629967, -0.019870731979608536, -0.01916557177901268, -0.003085942007601261 ]
s3cmd-put-fails-with-connection-reset-by-peer-for-large-files
https://markhneedham.com/blog/2013/07/30/s3cmd-put-fails-with-connection-reset-by-peer-for-large-files
false
2013-07-30 06:01:47
netcat: Strange behaviour with UDP - only receives first packet sent
[ "netcat" ]
[ "Networking" ]
I was playing around with http://nc110.sourceforge.net/[netcat] yesterday to create a client and server which would communicate via UDP packets and I rediscovered some "weird" behaviour which I'd previously encountered but not explained. I started up a netcat server listening for UDP packets on port 9000 of my machine: [source,bash] ---- $ nc -kluv localhost 9000 ---- We can check with lsof what running that command has done: [source,bash] ---- $ lsof -Pni :9000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 63289 markhneedham 5u IPv6 0xc99222a54b3975b5 0t0 UDP [::1]:9000 ---- We can see that the netcat process is listening on port 9000 so let's send it a UDP packet, using another netcat process: [source,bash] ---- $ echo "mark" | nc -vvu localhost 9000 -4 Connection to localhost 9000 port [udp/cslistener] succeeded! ---- We can see the sending of the UDP packet was successful and it shows up on the netcat server's terminal as well. [source,bash] ---- $ nc -kluv localhost 9000 XXXXmark ---- If we 'Ctrl-C' the netcat client and run it again we'll notice that it's still able to connect to the port but we don't see the message in the netcat server's terminal: [source,bash] ---- $ echo "mike" | nc -vvu localhost 9000 -4 Connection to localhost 9000 port [udp/cslistener] succeeded! ---- [source,bash] ---- $ nc -kluv localhost 9000 XXXXmark ---- I wasn't sure what was going on but eventually came across http://stackoverflow.com/questions/7696862/strange-behavoiur-of-netcat-with-udp[an explanation by David Schwartz]: ____ When nc is listening to a UDP socket, it 'locks on' to the source port and source IP of the first packet it receives. As soon as it received its first datagram (from port 52832), it issued a connect system call 'connecting' it to the 127.0.0.1:52832. For UDP, a connect rejects all packets that don't match the IP and port in the connect. ____ If we use lsof again we can see that we have exactly the same problem: [source,bash] ---- $ lsof -Pni :9000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 63508 markhneedham 5u IPv6 0xc99222a54b394c5d 0t0 UDP [::1]:9000->[::1]:63732 ---- In our case the netcat server has created a connection between port 9000 and port 63732 and rejects packets coming in from any other IP/port combination. I thought 'Ctrl-C' on the netcat client would kill the connection but it doesn't. At this stage I wasn't sure what to do but https://twitter.com/natbobc[Nathan] pointed out that if I made use of timeouts on the client and server then it would be possible to send multiple UDP packets. I restarted the netcat server but this time with a 1 second timeout: [source,bash] ---- $ nc -kluvw 1 localhost 9000 ---- And then started sending UDP packets from a netcat client also with a 1 second timeout: [source,bash] ---- $ echo -e "all" | nc -vvuw 1 localhost 9000 Connection to localhost 9000 port [udp/cslistener] succeeded! $ echo -e "the" | nc -vvuw 1 localhost 9000 Connection to localhost 9000 port [udp/cslistener] succeeded! $ echo -e "udp" | nc -vvuw 1 localhost 9000 Connection to localhost 9000 port [udp/cslistener] succeeded! $ echo -e "packets" | nc -vvuw 1 localhost 9000 Connection to localhost 9000 port [udp/cslistener] succeeded! ---- And the netcat server now receives all of them: [source,bash] ---- $ nc -kluvw 1 localhost 9000 XXXXall XXXXthe XXXXudp XXXXpackets ---- If we increase the client timeout a bit so that we can run lsof while it's connected we can see that the connection exists for the duration of the timeout: [source,bash] ---- $ lsof -Pni :9000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 64317 markhneedham 5u IPv6 0xc99222a54b394c5d 0t0 UDP [::1]:9000 nc 64541 markhneedham 5u IPv6 0xc99222a54cc0101d 0t0 UDP [::1]:55792->[::1]:9000 ---- But then once it's finished it goes back to generally listening for UDP packets on that port which is exactly what we want: [source,bash] ---- $ lsof -Pni :9000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 64317 markhneedham 5u IPv6 0xc99222a54b394c5d 0t0 UDP [::1]:9000 ----
null
null
[ -0.04452567175030708, -0.05868985131382942, -0.012802629731595516, 0.02100835181772709, 0.08213164657354355, 0.0016966636758297682, 0.0015820198459550738, 0.05826570466160774, 0.015842514112591743, -0.035420577973127365, 0.009388366714119911, 0.00850654672831297, -0.06834084540605545, 0.03284650668501854, -0.01061287708580494, 0.08263701945543289, 0.07329995185136795, -0.011364401318132877, 0.06472256034612656, -0.001290736603550613, 0.0018158378079533577, 0.059067606925964355, -0.01665572077035904, 0.04142347723245621, 0.012138674035668373, 0.04140729084610939, 0.00443509966135025, -0.0018774090567603707, -0.04108050465583801, 0.009919917210936546, 0.05448479577898979, 0.0012609718833118677, 0.013888164423406124, -0.03577996790409088, 0.009977681562304497, -0.02016816847026348, -0.01158349309116602, 0.01868271827697754, 0.013089404441416264, 0.007041395176202059, -0.09541203081607819, 0.022553997114300728, -0.012147471308708191, 0.021599750965833664, -0.03960667550563812, -0.021502818912267685, -0.02002275362610817, -0.0009031568770296872, 0.011799058876931667, 0.016962995752692223, -0.08213360607624054, 0.01437545195221901, -0.048772018402814865, 0.01119659561663866, 0.03949880599975586, 0.01987227238714695, 0.041485462337732315, -0.07801274210214615, 0.026698052883148193, -0.0544130802154541, -0.011186331510543823, -0.007159051485359669, 0.00009717478678794578, 0.0017043977277353406, -0.014130931347608566, -0.0138977887108922, 0.0019330180948600173, 0.03412812203168869, -0.01978493295609951, -0.021587058901786804, 0.0032497758511453867, 0.029045352712273598, -0.03346654400229454, -0.012068226002156734, 0.04966394603252411, -0.006774179171770811, 0.01978444494307041, -0.000637129123788327, 0.012885033152997494, 0.06432542949914932, -0.048734478652477264, -0.00040563501534052193, 0.04245682433247566, 0.024513017386198044, 0.02008049562573433, -0.05275874212384224, -0.01822768524289131, 0.031982097774744034, -0.05030231177806854, 0.07571090012788773, 0.026161376386880875, -0.04121572896838188, -0.009281516075134277, -0.007223029620945454, -0.012635694816708565, 0.02194848842918873, 0.00516847288236022, -0.0038393086288124323, 0.01802641712129116, -0.027284320443868637, -0.03539154306054115, 0.019798200577497482, 0.010549427010118961, 0.03092765063047409, -0.06877043098211288, 0.0083791958168149, -0.03659423440694809, -0.012784617953002453, -0.029826804995536804, 0.00416933000087738, -0.022926248610019684, 0.00657802214846015, 0.0239823367446661, 0.019180022180080414, -0.07802314311265945, 0.08565045148134232, 0.004030903801321983, -0.05806503817439079, 0.039191581308841705, 0.023190151900053024, 0.03715555742383003, 0.04258222132921219, -0.036730002611875534, 0.06736881285905838, 0.02078758366405964, 0.014645971357822418, 0.017728783190250397, 0.03616511821746826, -0.0071855755522847176, -0.046929121017456055, 0.0008670843672007322, 0.05940750241279602, -0.00035571554326452315, 0.01693502441048622, -0.00609150156378746, -0.01375147420912981, -0.019989492371678352, -0.01206881646066904, 0.02424250915646553, 0.057876814156770706, -0.011051846668124199, 0.008329406380653381, 0.012316985055804253, 0.01637997291982174, 0.0366782546043396, 0.020269252359867096, 0.0026030843146145344, -0.037130821496248245, -0.021573839709162712, 0.024531299248337746, 0.01176309585571289, 0.02354787290096283, 0.07489759474992752, -0.030889544636011124, -0.014387095347046852, 0.08382297307252884, 0.06567919999361038, 0.01432112418115139, -0.03612784668803215, 0.01300295814871788, 0.04699965566396713, 0.06649626791477203, 0.019578272476792336, 0.05585506558418274, 0.006215805187821388, -0.010968044400215149, -0.009930672124028206, 0.04095526039600372, 0.019845016300678253, 0.027648279443383217, -0.044037386775016785, -0.04834922030568123, 0.07392387837171555, -0.03129599615931511, 0.007477041333913803, 0.022222809493541718, 0.05860248953104019, 0.02858283743262291, 0.007729595527052879, 0.004945033695548773, -0.08064491301774979, 0.06161404028534889, -0.018383901566267014, 0.013527153991162777, 0.001575398608110845, 0.007177053019404411, 0.05643749609589577, 0.041206300258636475, -0.013113428838551044, 0.027112629264593124, -0.04833568260073662, -0.07174868136644363, -0.036863941699266434, 0.038065917789936066, 0.03590444102883339, -0.0130477799102664, -0.027870720252394676, 0.06476403027772903, 0.034449078142642975, 0.034256692975759506, 0.011931837536394596, -0.0005473788478411734, 0.026346305385231972, -0.07850667834281921, -0.05448099970817566, 0.04634403437376022, 0.022738447412848473, -0.01878749206662178, -0.040015242993831635, 0.010671294294297695, -0.04166972264647484, -0.028695132583379745, 0.009586389176547527, -0.015292824245989323, 0.07089287042617798, 0.0031873248517513275, 0.016685595735907555, -0.027298348024487495, 0.02086874283850193, -0.037336815148591995, 0.004753442015498877, 0.01431028638035059, 0.0020359742920845747, 0.031025052070617676, 0.016306130215525627, 0.11456434428691864, 0.05494599789381027, 0.004322730470448732, -0.048337213695049286, 0.05700933188199997, 0.01821674406528473, -0.04438882693648338, -0.01108299195766449, -0.022083565592765808, -0.018165772780776024, -0.012185431085526943, -0.04501338675618172, -0.007178479339927435, -0.004753672517836094, -0.029889412224292755, 0.011665037833154202, 0.07704169303178787, 0.0031319495756179094, 0.04971633106470108, -0.023800142109394073, -0.058011941611766815, 0.02252834662795067, -0.04288581386208534, -0.024006949737668037, -0.010441402904689312, 0.01131980586796999, -0.0002868598385248333, 0.018522948026657104, -0.042348723858594894, -0.01574859954416752, -0.025261344388127327, -0.05270581319928169, 0.034131504595279694, 0.012740244157612324, 0.030554352328181267, -0.01756739243865013, 0.04421094059944153, -0.010727530345320702, 0.0014993257354944944, -0.0048227678053081036, -0.046782538294792175, -0.04323345050215721, 0.01972583495080471, 0.023205798119306564, 0.012757312506437302, -0.003060342976823449, 0.002430194988846779, 0.018282577395439148, -0.045739613473415375, 0.010964930057525635, -0.042014673352241516, 0.01967933401465416, 0.008827796205878258, 0.010003091767430305, -0.040023546665906906, -0.025157464668154716, 0.009111872874200344, -0.04281269758939743, -0.03246738761663437, 0.023338234052062035, -0.0643482357263565, 0.01448102667927742, -0.056635718792676926, -0.042871635407209396, -0.03546809032559395, -0.011122642084956169, -0.002725960686802864, 0.012080881744623184, 0.03017880581319332, 0.04833115637302399, 0.006214814260601997, 0.020475592464208603, 0.03603172302246094, 0.013220704160630703, 0.016415778547525406, 0.013901409693062305, 0.01086881011724472, 0.0077985310927033424, -0.017502717673778534, -0.039800096303224564, -0.06264684349298477, 0.03922225534915924, -0.034899625927209854, -0.2644011974334717, 0.06463123112916946, 0.023900501430034637, -0.023593638092279434, 0.03276153653860092, -0.04930463433265686, 0.03219854459166527, -0.03139582276344299, -0.019023491069674492, -0.017094112932682037, -0.03709530085325241, -0.038063567131757736, 0.003778930054977536, 0.003768043126910925, -0.012142718769609928, -0.0287683866918087, 0.0019465833902359009, -0.061691589653491974, 0.024304741993546486, 0.012464271858334541, 0.0229843407869339, -0.05318685993552208, 0.017254164442420006, 0.05329924821853638, 0.009351731278002262, 0.06306429207324982, -0.0640828087925911, 0.04190846532583237, -0.030772216618061066, 0.0003925648343283683, -0.0021753415931016207, 0.010501218028366566, -0.00584729528054595, 0.033796146512031555, -0.026077495887875557, 0.013670753687620163, 0.038833994418382645, -0.002026551403105259, 0.004145174752920866, 0.012843749485909939, -0.024662422016263008, -0.02393924631178379, 0.004696521908044815, -0.01156000979244709, 0.06225981563329697, 0.0039381529204547405, -0.08301743865013123, -0.028177572414278984, -0.015222539193928242, 0.07646119594573975, -0.036692552268505096, -0.03343786299228668, 0.004224179778248072, 0.00745790870860219, -0.040617018938064575, -0.010289243422448635, -0.050347235053777695, -0.010318215936422348, -0.02496159076690674, -0.03805575892329216, -0.0006887444760650396, -0.028826015070080757, -0.037384383380413055, -0.07461153715848923, 0.008194700814783573, -0.03663983196020126, -0.07906164228916168, -0.027348650619387627, 0.08138684928417206, 0.032259251922369, -0.021910233423113823, -0.005276964511722326, -0.03220522403717041, -0.09898252040147781, 0.012209300883114338, -0.042069077491760254, -0.07171604037284851, -0.012739750556647778, 0.0288609080016613, 0.05986407399177551, -0.03443661332130432, -0.025048548355698586, 0.008296827785670757, 0.026742136105895042, 0.0068012927658855915, -0.01347822230309248, 0.022473247721791267, 0.01861884631216526, -0.022867195308208466, -0.009786037728190422, 0.0785582885146141, -0.0363888181746006, -0.034338079392910004, -0.026085974648594856, -0.00935431756079197, 0.0018643552903085947, -0.017363084480166435, 0.034263961017131805, 0.0078071104362607, 0.027286574244499207, 0.05340729281306267, -0.04382364824414253, -0.010199352167546749, -0.06708119064569473, -0.010217568837106228, 0.004202043171972036, -0.055429909378290176, 0.042031362652778625, 0.034921806305646896, 0.02059813030064106, 0.003909444902092218, -0.052994631230831146, 0.036691803485155106, -0.05033104866743088, -0.0031191299203783274, 0.02246379479765892, 0.027498289942741394, 0.012251963838934898, 0.007931005209684372, -0.020419836044311523, -0.01047743484377861, 0.006048922426998615, 0.0393332801759243, -0.005101692862808704, -0.025356780737638474, -0.032642558217048645, -0.04029103368520737, 0.005456794053316116, -0.004058015998452902, 0.014469930902123451, 0.005536743905395269, 0.028794001787900925, 0.05266159772872925, -0.0015840191626921296, 0.01777333766222, 0.005998985376209021, -0.05288804695010185, -0.02944784052670002, 0.008857051841914654, 0.030666770413517952, -0.02756699174642563, 0.03911302983760834, -0.0045960433781147, 0.02582290768623352, 0.03791545704007149, 0.006540084723383188, 0.014891140162944794, 0.0023174062371253967, 0.008454818278551102, -0.010438857600092888, 0.03279701992869377, -0.053864557296037674, 0.004729623906314373, -0.01759958826005459, -0.039419058710336685, -0.0033206415828317404, 0.04292963817715645, -0.010935892350971699, -0.04667048528790474, -0.01039569079875946, 0.02251746878027916, -0.0768723264336586, -0.010028203018009663, -0.0014818626223132014, -0.028691750019788742, 0.042407020926475525, 0.003881979500874877, 0.020138252526521683, -0.002139369258657098, -0.01396233681589365, 0.008541574701666832, 0.03994708135724068, -0.011825162917375565, 0.006472595501691103, 0.04054262861609459, 0.007659276947379112, 0.015625644475221634, 0.033507902175188065, 0.03428575396537781, 0.008979459293186665, 0.03720155730843544, -0.00028554428718052804, 0.010987135581672192, 0.04258272051811218, 0.0386493094265461, 0.024405160918831825, -0.034063104540109634, 0.011961707845330238, -0.002665051491931081, -0.003967972472310066, -0.02868422493338585, -0.002079694764688611, -0.02827104926109314, 0.002772280015051365, -0.028475863859057426, -0.06881798803806305, 0.0409584566950798, 0.039993301033973694, -0.006067219655960798, -0.009878313168883324, 0.005103558301925659, 0.014202509075403214, -0.027857394888997078, 0.05325606092810631, 0.036433279514312744, -0.04294236749410629, 0.02007124572992325, 0.015056263655424118, 0.014937513507902622, -0.003692807164043188, 0.0013810931704938412, -0.06068369746208191, -0.009227810427546501, -0.012258722446858883, 0.04949803650379181, -0.029921546578407288, -0.05800637602806091, -0.015096363611519337, -0.009487243369221687, 0.0008738238248042762, 0.0016744573367759585, 0.009179215878248215, 0.006199181545525789, 0.004510880913585424, -0.052505798637866974, 0.018798207864165306, -0.0064172944985330105, -0.035643260926008224, 0.025203417986631393, -0.008066700771450996, 0.022174224257469177, -0.019476663321256638, 0.05407783389091492, -0.003257967997342348, -0.002925780601799488, -0.05150284245610237, -0.04692593216896057, -0.00905625894665718, -0.04985133185982704, 0.07624442875385284, -0.017032984644174576, -0.008204097859561443, -0.051710549741983414, -0.013385890983045101, -0.03180229291319847, 0.024995356798171997, 0.007709878962486982, -0.03413308411836624, 0.026141926646232605, 0.041778258979320526, 0.008003880269825459, 0.03080611489713192, -0.009884444996714592, -0.02512633427977562, 0.051611341536045074, -0.057815030217170715, -0.049186255782842636, 0.012232759967446327, -0.06411436945199966, 0.007869389839470387, 0.010216208174824715, 0.000053643052524421364, -0.0837092399597168, 0.037898361682891846, 0.03831242769956589, -0.02401048317551613, 0.01459857914596796, 0.005808883812278509, -0.0004565680574160069, -0.017143426463007927, -0.026585841551423073, -0.09634233266115189, 0.0301840677857399, 0.016809718683362007, -0.0048712813295423985, -0.022462578490376472, 0.03869229927659035, -0.012306829914450645, 0.018597859889268875, -0.07071749866008759, -0.02055206149816513, 0.007203056942671537, 0.020563902333378792, -0.0014437896898016334, 0.00030487810727208853, -0.06634521484375, 0.036167748272418976, 0.010639414191246033, -0.031693730503320694, -0.009478863328695297, -0.038228604942560196, 0.05036172643303871, 0.03830449655652046, 0.04288293793797493, -0.010037720203399658, -0.03340279310941696, 0.08548590540885925, 0.013517651706933975, 0.04500417411327362, 0.03870514780282974, -0.011336247436702251, 0.031993020325899124, 0.027124736458063126, -0.03166991472244263, -0.01570996269583702, 0.025456110015511513, -0.01650509424507618, -0.051210928708314896, -0.001426531933248043, 0.007343221455812454, -0.01589496061205864, -0.0626450628042221, 0.06166796013712883, 0.002049139467999339, -0.03873017802834511, -0.06248001381754875, 0.019441036507487297, -0.02453291416168213, -0.02859458513557911, -0.0128067871555686, 0.04150685667991638, -0.050680190324783325, 0.061378270387649536, 0.03311458230018616, 0.009964586235582829, 0.047572460025548935, 0.005402194336056709, -0.034794703125953674, 0.032032981514930725, 0.07395279407501221, 0.08788567781448364, -0.008705447427928448, 0.021881001070141792, 0.05070338770747185, 0.00048592773964628577, -0.04463376849889755, -0.010196782648563385, -0.03500474989414215, -0.050108905881643295, -0.03401985391974449, -0.009960463270545006, 0.0709720104932785, -0.02341482974588871, 0.06923440843820572, -0.01932581514120102, 0.02631709724664688, 0.02039603516459465, 0.004702714271843433, 0.04871181771159172, 0.019790183752775192, 0.014852951280772686, 0.01422213576734066, 0.03350863605737686, -0.014007105492055416, 0.026836536824703217, -0.033186379820108414, -0.03216451406478882, -0.005225666332989931, 0.009163259528577328, -0.003436081577092409, -0.011778617277741432, 0.030918262898921967, 0.06295333802700043, -0.007604809477925301, -0.018271297216415405, 0.011749287135899067, 0.06559006869792938, 0.012350755743682384, 0.01002413034439087, -0.003736640326678753, -0.008606710471212864, -0.004450308158993721, -0.011497304774820805, -0.030737681314349174, -0.04580385610461235, -0.01895461045205593, 0.005667267367243767, 0.0020424823742359877, 0.012371617369353771, 0.031276628375053406, -0.021301958709955215, -0.014125182293355465, -0.03961912542581558, -0.05077827349305153, -0.043941907584667206, -0.03647927567362785, -0.04308917000889778, 0.012981121428310871, -0.018976381048560143, -0.01582045666873455, -0.01836373098194599, -0.0409516841173172, -0.07525187730789185, 0.037471525371074677, -0.04476286843419075, -0.009621313773095608, 0.006472778972238302, 0.011444841511547565, 0.02948242984712124, 0.018767090514302254, 0.04860331863164902, -0.00030626944499090314, 0.0189411211758852, -0.049168046563863754, -0.030183719471096992, 0.04055066034197807, -0.02048221416771412, -0.011750228703022003, -0.07192109525203705, 0.039749279618263245, 0.0300360806286335, 0.024524647742509842, -0.06010063737630844, 0.006698629353195429, 0.002921790350228548, -0.005548028275370598, 0.05943316966295242, -0.03618631884455681, -0.00008763968799030408, -0.04044095054268837, -0.02437371201813221, -0.03772152587771416, -0.0025854383129626513, 0.040130242705345154, 0.008946970105171204, 0.057340312749147415, 0.055547986179590225, 0.003310144878923893, -0.05048408359289169, 0.0002945879241451621, -0.0021039387211203575, 0.021377786993980408, -0.029352113604545593, -0.049451373517513275, -0.04519207030534744, -0.10008291900157928, -0.02652832493185997, 0.030414922162890434, -0.004626932553946972, -0.031740952283144, 0.030397795140743256, -0.02121317945420742, -0.06319209933280945, -0.015760568901896477, -0.03758909925818443, -0.02287682704627514, -0.02102169580757618, -0.03704976290464401, -0.030907949432730675, 0.038898445665836334, -0.017914073541760445, -0.027695875614881516, 0.056838035583496094, -0.019348159432411194, -0.01920192874968052, 0.0038351123221218586, 0.046830788254737854, 0.0770341232419014, 0.012347091920673847, 0.026247136294841766 ]
[ -0.09013897180557251, -0.05220312997698784, -0.05177786573767662, -0.03830932825803757, 0.03655705973505974, -0.051482804119586945, 0.008545232005417347, 0.04089133068919182, -0.013208543881773949, -0.03557363897562027, 0.044177282601594925, -0.009826956316828728, 0.013277188874781132, -0.021419798955321312, 0.06095872074365616, -0.007600546348839998, -0.014944587834179401, -0.08347249776124954, 0.00325195724144578, 0.04853639379143715, -0.0015589884715154767, -0.013684202916920185, -0.023474717512726784, -0.045962460339069366, 0.009127936325967312, 0.04703753441572189, 0.0682847797870636, -0.03374277427792549, -0.014398236759006977, -0.1973041146993637, 0.004605669528245926, 0.012324292212724686, -0.029641499742865562, -0.026287144050002098, 0.01741386204957962, 0.011212428100407124, 0.04324459284543991, -0.04779859259724617, 0.002055999357253313, 0.0623265765607357, 0.04282190650701523, 0.018158160150051117, -0.025144560262560844, -0.01114709209650755, 0.04472719132900238, -0.06331055611371994, -0.010161565616726875, -0.03506658226251602, 0.046167511492967606, -0.023525957018136978, -0.036195073276758194, 0.006430307403206825, 0.027758000418543816, -0.008625302463769913, 0.011965632438659668, 0.01689007692039013, 0.05760948732495308, 0.07613898813724518, 0.01212029904127121, 0.0012297098292037845, 0.0006065571797080338, 0.010908052325248718, -0.17772740125656128, 0.08556004613637924, 0.0794130191206932, 0.018885603174567223, -0.01001080684363842, -0.0016768814530223608, -0.02395942248404026, 0.04068953916430473, 0.030141284689307213, -0.003376730252057314, -0.07002487778663635, 0.044427722692489624, 0.003893328132107854, -0.004728842526674271, 0.003527069231495261, 0.06107502058148384, 0.03377649933099747, -0.05406132712960243, -0.03186992555856705, -0.016316302120685577, -0.028418568894267082, -0.02516581118106842, -0.014889481477439404, -0.0016280862037092447, -0.009307150729000568, 0.0641493946313858, -0.010466666892170906, -0.02884761057794094, -0.020557422190904617, -0.016430161893367767, 0.039410170167684555, -0.01292040292173624, -0.08707498013973236, 0.031098127365112305, -0.02751307375729084, -0.008935695514082909, -0.039323486387729645, 0.38266721367836, 0.01674189418554306, -0.021388104185461998, 0.048201244324445724, 0.013056163676083088, 0.035539716482162476, 0.018769968301057816, -0.012780318036675453, -0.006053629331290722, 0.001570555497892201, 0.030057312920689583, 0.04111968353390694, -0.005836688447743654, 0.03230666741728783, -0.05838916823267937, 0.040590692311525345, 0.034624435007572174, 0.024240506812930107, 0.015499102883040905, -0.021246470510959625, 0.04579245299100876, -0.06140035018324852, -0.014433114789426327, 0.018225986510515213, 0.00022481662745121866, 0.03430074453353882, -0.05185922980308533, 0.026055406779050827, 0.05554831027984619, -0.012828564271330833, 0.040134724229574203, 0.05891973897814751, -0.07949165999889374, -0.004005648195743561, -0.003578827017918229, 0.027005938813090324, 0.04368928447365761, 0.03475888818502426, -0.052244894206523895, -0.00753155630081892, 0.028683509677648544, -0.025846293196082115, -0.04987920820713043, 0.0062273722141981125, -0.034012190997600555, -0.02588549070060253, 0.07874447852373123, 0.0070790997706353664, -0.009822375141084194, -0.011648595333099365, -0.023256711661815643, -0.02199537307024002, 0.012890753336250782, 0.010077467188239098, -0.046438660472631454, 0.0023185918107628822, 0.009301277808845043, 0.06490147858858109, 0.031918007880449295, -0.043146491050720215, 0.005243944004178047, 0.008088555186986923, -0.05214611440896988, -0.00012171021080575883, 0.056749965995550156, 0.04457937180995941, -0.0960150808095932, -0.03373230993747711, 0.008627149276435375, -0.01074203196913004, -0.08257269114255905, -0.048481449484825134, 0.01615915447473526, -0.012476823292672634, -0.057171761989593506, 0.0016717450926080346, -0.055862996727228165, -0.033369146287441254, 0.017405981197953224, 0.06314152479171753, -0.012562251649796963, -0.03595659136772156, 0.009482678957283497, -0.023505371063947678, 0.003915887791663408, -0.013780197128653526, -0.09408681094646454, -0.07730772346258163, 0.04415294900536537, -0.00591873237863183, -0.04729999229311943, -0.049396611750125885, -0.046654123812913895, -0.06581101566553116, 0.0723777711391449, 0.00940728560090065, -0.029921967536211014, 0.003011488588526845, 0.005186539608985186, 0.02858542650938034, -0.033117588609457016, 0.05896040052175522, 0.021657802164554596, -0.004766392521560192, 0.05258530378341675, -0.09464042633771896, 0.03521037474274635, 0.023221949115395546, -0.04135551303625107, 0.06928608566522598, 0.016745826229453087, 0.0045417002402246, 0.022843599319458008, 0.004179184325039387, 0.023375030606985092, -0.015445498749613762, -0.04997057467699051, -0.005580684635788202, 0.06287706643342972, 0.05410006642341614, 0.027211913838982582, -0.021550627425312996, 0.006509014870971441, -0.03845902159810066, -0.3183478116989136, -0.04535682126879692, 0.006513889878988266, -0.025846371427178383, 0.034174058586359024, -0.04661649093031883, 0.030136771500110626, 0.014682173728942871, 0.019389240071177483, -0.0025889440439641476, 0.09452231228351593, -0.007747206836938858, 0.023211736232042313, -0.09766894578933716, -0.021305415779352188, 0.06650086492300034, -0.010739230550825596, -0.019723357632756233, 0.0017179354326799512, 0.06317520141601562, -0.025058329105377197, 0.0014025893760845065, -0.02418508380651474, -0.012127362191677094, -0.01366713922470808, -0.035071197897195816, 0.08932065963745117, 0.022394876927137375, 0.11714951694011688, -0.05460651218891144, 0.046975769102573395, 0.034524284303188324, -0.024696357548236847, -0.08979540318250656, -0.04649477079510689, -0.009469903074204922, 0.01442812755703926, 0.031391579657793045, 0.04296022653579712, 0.03637513145804405, -0.09670507162809372, -0.014226126484572887, -0.030997442081570625, -0.047893572598695755, 0.0040993657894432545, 0.0025930588599294424, -0.023555686697363853, -0.013802445493638515, -0.02677355334162712, 0.043908264487981796, -0.006286013871431351, 0.021565642207860947, -0.033749088644981384, -0.007422826252877712, 0.03892675042152405, -0.00834822840988636, -0.046003397554159164, -0.04759622737765312, 0.023978427052497864, -0.0018109009834006429, 0.03508099168539047, 0.06379936635494232, -0.004813356790691614, -0.08821528404951096, 0.015149480663239956, 0.029226595535874367, -0.007183594163507223, 0.016239631921052933, 0.0677674189209938, -0.032662443816661835, -0.009273066185414791, 0.13624195754528046, -0.0031734288204461336, 0.04953392967581749, 0.006366930436342955, -0.015985580161213875, -0.0010199295356869698, 0.002849461045116186, 0.02124030515551567, -0.03718230500817299, 0.04803883284330368, -0.03046310693025589, 0.07260002195835114, -0.0572739839553833, 0.0018087978241965175, 0.04260506108403206, 0.01207849569618702, -0.009391846135258675, 0.03910247981548309, 0.01007332094013691, -0.011845482513308525, -0.030579015612602234, -0.013245015405118465, -0.06843043118715286, 0.03888162598013878, 0.021191194653511047, -0.25296539068222046, 0.0018918062560260296, 0.026322292163968086, 0.031574834138154984, 0.0026301660109311342, 0.027725012972950935, 0.022861754521727562, -0.0278448648750782, -0.04160022735595703, 0.04547829553484917, 0.03192742168903351, 0.038724400103092194, -0.04772176593542099, 0.014135713689029217, 0.06141098961234093, 0.02935918979346752, 0.012306788004934788, -0.001048985286615789, 0.002793289255350828, 0.01848185434937477, 0.02554115653038025, -0.010581368580460548, 0.15664850175380707, 0.0035789941903203726, 0.049422260373830795, 0.033308785408735275, -0.04974592477083206, 0.03259211778640747, 0.06239031255245209, 0.0041663614101707935, -0.004715580493211746, 0.00670893769711256, -0.0011363952653482556, -0.0431729331612587, -0.006091981194913387, -0.02889207750558853, 0.03588641807436943, 0.0486261323094368, 0.012822813354432583, -0.035964321345090866, -0.05002884566783905, 0.02935457043349743, 0.021831132471561432, 0.027420569211244583, 0.049598194658756256, -0.027275241911411285, -0.027283864095807076, -0.04227515682578087, 0.013992086984217167, 0.011654510162770748, -0.027127500623464584, -0.06745967268943787, 0.05349283665418625, -0.03163539245724678, 0.015584598295390606, 0.05097886174917221, 0.004730682820081711, -0.08769352734088898, -0.027250980958342552, 0.03550497069954872, -0.0030679116025567055, -0.04542320594191551, 0.13935913145542145, 0.0019213600317016244, 0.0491953082382679 ]
[ -0.006109271664172411, 0.045549795031547546, -0.00628066947683692, -0.03741274029016495, 0.0003112706181127578, 0.006134154740720987, -0.01602936163544655, 0.03366566449403763, -0.039411354809999466, 0.002093823393806815, -0.03303193673491478, -0.017548048868775368, -0.016750022768974304, -0.009338329546153545, -0.03832320496439934, -0.019957363605499268, 0.039580073207616806, -0.013043955899775028, 0.003664012299850583, -0.016861150041222572, -0.0378449410200119, 0.03134354576468468, 0.05477041006088257, -0.07363004982471466, -0.014136259444057941, 0.032466571778059006, 0.0018315191846340895, -0.005072426982223988, 0.012797585688531399, -0.13887512683868408, -0.04103861376643181, -0.0051658870652318, -0.0567052885890007, 0.05159122496843338, 0.040692929178476334, 0.007691083941608667, -0.0014936785446479917, 0.07492551952600479, -0.04494217783212662, 0.05986630544066429, 0.05992133542895317, -0.012454799376428127, 0.00043416948756203055, 0.010674583725631237, -0.02505713701248169, -0.01049953792244196, -0.04379591718316078, -0.02133537456393242, 0.009822900407016277, -0.015858929604291916, -0.027893507853150368, 0.019810644909739494, 0.0011067447485402226, 0.04327596724033356, 0.03419879451394081, -0.014402930624783039, -0.026460137218236923, 0.006004147697240114, -0.004494696389883757, -0.0008276935550384223, 0.016260158270597458, 0.04270464926958084, -0.041702743619680405, -0.01489272527396679, 0.02944965288043022, 0.013235812075436115, -0.005470672156661749, -0.02981768548488617, -0.052396319806575775, 0.03712236136198044, -0.01889924518764019, 0.04555675759911537, -0.07298048585653305, -0.007503005210310221, -0.023728707805275917, 0.04769420996308327, 0.050694677978754044, -0.005886355880647898, 0.004135802388191223, 0.02653392031788826, -0.05295385792851448, 0.022255798801779747, -0.03892982378602028, -0.01653527468442917, -0.019913678988814354, 0.03193780407309532, -0.025819525122642517, 0.010311481542885303, -0.010419409722089767, 0.007481924258172512, -0.005392883904278278, 0.03542380407452583, -0.035682663321495056, 0.00653398921713233, -0.09033595770597458, -0.03038155660033226, -0.029498625546693802, -0.028017602860927582, -0.014719855040311813, 0.7993221282958984, -0.015203003771603107, -0.013927165418863297, -0.011234493926167488, -0.005836338736116886, -0.024485552683472633, -0.009877154603600502, 0.0012158688623458147, -0.01690230891108513, -0.0008365604444406927, -0.002216016873717308, -0.015269497409462929, 0.031524479389190674, -0.018924864009022713, 0.03231988102197647, 0.016209153458476067, 0.02241259627044201, 0.036051686853170395, 0.013866575434803963, -0.018394654616713524, -0.013925491832196712, 0.01144226361066103, -0.050946805626153946, -0.024395521730184555, 0.051188044250011444, -0.03160713240504265, -0.15509693324565887, 0.02780655398964882, -7.473735777178501e-33, 0.01883174665272236, -0.043848272413015366, -0.01721199043095112, 0.011735026724636555, 0.06283564865589142, -0.014240246266126633, 0.02203214541077614, 0.05749259144067764, -0.052506450563669205, -0.027337295934557915, -0.00424850033596158, -0.0059662931598722935, 0.0015463685849681497, 0.001439588377252221, -0.0006389187183231115, -0.027610918506979942, -0.006822759285569191, 0.030276721343398094, -0.01736055687069893, -0.02293292246758938, 0.03303597867488861, 0.022569863125681877, 0.02946128137409687, 0.0021593491546809673, 0.004852118901908398, -0.007861732505261898, -0.051946524530649185, 0.008600524626672268, 0.014188563451170921, -0.05259959027171135, -0.021185506135225296, 0.03601069748401642, -0.010231680236756802, -0.04299650713801384, -0.008336389437317848, -0.05053579434752464, -0.0024942918680608273, -0.007936598733067513, -0.009153269231319427, -0.024988677352666855, -0.04065124690532684, -0.026941103860735893, -0.022516097873449326, 0.016603879630565643, -0.02353665977716446, -0.043178386986255646, -0.025591162964701653, -0.015538209117949009, 0.01057435106486082, -0.04336271435022354, 0.05779067054390907, -0.0004487603437155485, 0.020863136276602745, -0.006677086930721998, 0.03239675611257553, 0.01603854075074196, 0.027574222534894943, -0.00006224837125046179, -0.018049459904432297, 0.03259832784533501, 0.04248086363077164, 0.007589598186314106, -0.00999790895730257, -0.012292041443288326, 0.02700122818350792, -0.0034778700210154057, 0.023340919986367226, 0.001434282516129315, 0.003437957726418972, 0.02334974706172943, -0.03606686368584633, 0.018396025523543358, -0.0006187638500705361, -0.0037497871089726686, 0.05037152022123337, 0.038218095898628235, 0.005532565992325544, 0.011873814277350903, 0.022406529635190964, 0.017679471522569656, 0.024384938180446625, 0.02806505188345909, 0.012284244410693645, 0.002417957177385688, 0.008135145530104637, -0.04372897371649742, 0.005429540760815144, -0.019776348024606705, 0.01212831400334835, -0.002121238736435771, 0.010974189266562462, 0.046779267489910126, 0.013331931084394455, -0.04045657813549042, -0.017071230337023735, 6.622594847894638e-33, -0.023831672966480255, 0.019646143540740013, -0.09135518223047256, -0.013513964600861073, -0.02371024340391159, -0.04555857181549072, 0.035212840884923935, -0.03133106231689453, -0.024904387071728706, 0.016513649374246597, -0.019834306091070175, -0.017084307968616486, 0.026998547837138176, 0.03843391314148903, 0.06553845852613449, -0.060286104679107666, -0.009042575024068356, 0.034312453120946884, 0.023000100627541542, -0.012068429030478, 0.006707964465022087, 0.022181732580065727, 0.038163185119628906, -0.013150221668183804, 0.00707178795710206, 0.007142361719161272, 0.01629846729338169, 0.038663238286972046, -0.03306834027171135, -0.08521139621734619, -0.002639301586896181, 0.02940034493803978, -0.002660576719790697, -0.03143295645713806, -0.008416303433477879, 0.0496215745806694, 0.016507083550095558, 0.005108940415084362, 0.04924504831433296, -0.006792784668505192, 0.04661214351654053, 0.019641753286123276, -0.03233601152896881, 0.008924421854317188, -0.01998278684914112, 0.0031368639320135117, 0.020413655787706375, -0.052465908229351044, -0.005566938314586878, 0.04284605756402016, 0.010012218728661537, 0.015439962036907673, 0.022339381277561188, 0.0351906418800354, 0.019884316250681877, 0.0368502214550972, -0.012847009114921093, -0.018688416108489037, 0.04375794902443886, -0.0055690971203148365, 0.008861459791660309, -0.03161954507231712, -0.054673854261636734, 0.023002954199910164, -0.007120609749108553, 0.0020546400919556618, -0.00823825504630804, -0.029574094340205193, 0.0007752713281661272, -0.028252601623535156, -0.003049880964681506, 0.0077345301397144794, -0.009073730558156967, 0.049752023071050644, -0.020119240507483482, -0.024687422439455986, 0.002873547375202179, 0.010665902867913246, -0.005456947255879641, 0.04178892448544502, -0.03577178344130516, 0.010789644904434681, -0.019996222108602524, 0.0117698535323143, 0.008947337046265602, 0.01535085216164589, -0.021576425060629845, 0.005094545893371105, 0.022828372195363045, -0.027701081708073616, 0.012054123915731907, -0.017402786761522293, -0.03262312710285187, 0.04992324486374855, -0.018796425312757492, -1.252984915822708e-8, 0.01764756254851818, 0.02673998475074768, 0.002251105383038521, 0.03185497969388962, 0.02417491376399994, 0.006577795371413231, -0.016383718699216843, -0.025004392489790916, -0.015424667857587337, 0.0031135978642851114, -0.017165087163448334, -0.0154257258400321, 0.03199140354990959, -0.007976165972650051, 0.05396715924143791, 0.0355435311794281, -0.024455370381474495, -0.04412270709872246, 0.047646429389715195, 0.005136726424098015, 0.030058572068810463, 0.059727251529693604, -0.023556377738714218, 0.027843644842505455, -0.0641721859574318, -0.005840047262609005, 0.03628794848918915, -0.07205401360988617, -0.03840283304452896, -0.012344082817435265, -0.023278621956706047, 0.010509765706956387, -0.016789110377430916, 0.018367435783147812, -0.0091100400313735, -0.015460694208741188, -0.021799340844154358, 0.020529286935925484, 0.016482044011354446, 0.031528010964393616, -0.004468757659196854, -0.010185976512730122, -0.040986694395542145, -0.012742020189762115, 0.0009722286486066878, 0.0190113615244627, 0.0016421352047473192, 0.029767898842692375, -0.011346529237926006, -0.018618268892169, 0.026572447270154953, 0.03241761028766632, -0.010710539296269417, -0.006429899483919144, 0.03370865061879158, -0.012123257853090763, -0.007355235517024994, -0.02528977021574974, -0.011574063450098038, 0.037121761590242386, -0.01671191304922104, 0.0647815614938736, -0.0030647325329482555, -0.015725137665867805 ]
netcat-strange-behaviour-with-udp-only-receives-first-packet-sent
https://markhneedham.com/blog/2013/07/30/netcat-strange-behaviour-with-udp-only-receives-first-packet-sent
false
2013-07-08 22:14:38
Survivorship Bias and Product Development
[ "software-development" ]
[ "Software Development" ]
A couple of months ago I came across an interesting article by the author of 'http://www.amazon.co.uk/You-are-Not-Smart-Yourself/dp/1851689397/ref=sr_1_1?ie=UTF8&qid=1373320231&sr=8-1&keywords=you+are+not+so+smart[You Are Not So Smart]' about a fallacy known as 'http://youarenotsosmart.com/2013/05/23/survivorship-bias/[Survivorship Bias]' which http://en.wikipedia.org/wiki/Survivorship_bias[Wikipedia] defines as: ____ The logical error of concentrating on the people or things that "survived" some process and inadvertently overlooking those that didn't because of their lack of visibility. ____ I particularly liked the story describing how Abraham Wald helped the US military overcome an instance of this error when trying to work out where to place armour on their bomber planes: ____ The military looked at the bombers that had returned from enemy territory. They recorded where those planes had taken the most damage. Over and over again, they saw the bullet holes tended to accumulate along the wings, around the tail gunner, and down the center of the body. Wings. Body. Tail gunner. Naturally, the commanders wanted to put the thicker protection where they could clearly see the most damage, where the holes clustered. But Wald said no, that would be precisely the wrong decision. Putting the armor there wouldn't improve their chances at all. The mistake, which Wald saw instantly, was that the holes showed where the planes were strongest. The holes showed where a bomber could be shot and still survive the flight home, Wald explained. After all, here they were, holes and all. It was the planes that weren't there that needed extra protection, and they had needed it in places that these planes had not. The holes in the surviving planes actually revealed the locations that needed the least additional armor. *Look at where the survivors are unharmed, he said, and that's where these bombers are most vulnerable*; that's where the planes that didn't make it back were hit. ____ I find the concept interesting on its own but as I'm working at a product company I was trying to understand how applicable it is for my particular context. With respect to a product I think you'd say that non survivors are people who started using your product and then gave at some stage for whatever reason. Those people may not reach out for help so you lose the opportunity to get their feedback about the problems with your product. At the other end of the scale you have people who are very happy with your product (the survivors) and they will often give you feedback about things that they'd like to see in the product for which they may currently have found a work around for. What interests me at the moment is understanding whether the survivors' opinions about how to improve the product are the same as that of the non survivors - survivorship bias suggests this probably isn't the case so we need to find a way to learn what's hurting the non survivors. One way to do this is to conduct http://www.markhneedham.com/blog/2013/01/27/ab-testing-thoughts-so-far/[user testing] where we get potential users of our product to use it and then observe the pain points that they encounter. Although we don't get to see in which areas people would be prepared to persevere to achieve their goal, it is still useful for identifying weak points. Another thing that my colleagues and I have been doing is discussing times at which we felt like giving up while using the product but persevered and ended up being survivors. The reason looking at this is interesting is that we tend to be affected by http://www.markhneedham.com/blog/2013/06/06/the-affect-heuristic/[the affect heuristic] and although we might be prepared to overlook a weakness of the product others might go elsewhere. I'm sure there is more to this than what I've thought about so far so if you have any cool insights please share them in the comments.
null
null
[ 0.021365230903029442, 0.032111261039972305, -0.019639533013105392, 0.042706605046987534, 0.07967229932546616, 0.011522678658366203, 0.04916581138968468, 0.009191665798425674, 0.0034516295418143272, -0.03315899148583412, -0.033245738595724106, 0.006531245540827513, -0.051914606243371964, 0.009619533084332943, -0.04370642453432083, 0.07704103738069534, 0.0428723469376564, 0.026611045002937317, 0.010442448779940605, 0.02336554229259491, 0.05421433225274086, 0.04986575245857239, 0.050582416355609894, 0.03667588531970978, 0.07562431693077087, -0.001738260849379003, 0.039635807275772095, 0.015597324818372726, -0.04246034473180771, 0.019811324775218964, 0.008479807525873184, -0.003259137971326709, -0.024329883977770805, -0.01009801309555769, 0.011094501242041588, 0.012052169069647789, -0.024889742955565453, -0.006859093904495239, 0.011159495450556278, 0.020899418741464615, -0.07934699952602386, 0.0479232519865036, -0.0082022063434124, -0.0022886069491505623, -0.05755124241113663, 0.010442457161843777, -0.029127249494194984, 0.01269534695893526, 0.003974460531026125, -0.04235079512000084, -0.035075169056653976, 0.03463297337293625, -0.011865688487887383, 0.0004924447275698185, -0.025726817548274994, 0.06612861156463623, -0.0062851388938724995, -0.056593336164951324, 0.013636223040521145, -0.06230706349015236, 0.002109078224748373, 0.025353241711854935, 0.021648898720741272, 0.019009746611118317, 0.032172515988349915, -0.018449708819389343, -0.003865825477987528, 0.029809454455971718, -0.017213955521583557, 0.010550071485340595, -0.03873175010085106, 0.02025485225021839, 0.00034285057336091995, 0.005689230281859636, 0.020417846739292145, -0.05032019317150116, 0.007760664448142052, 0.05407419800758362, -0.009336615912616253, 0.03464408591389656, -0.011515825055539608, -0.0023940098471939564, -0.02308153174817562, 0.03003198280930519, -0.04739464074373245, -0.037536293268203735, 0.007754859048873186, -0.013226288370788097, -0.0776107907295227, 0.05455095320940018, 0.014081421308219433, -0.05977785587310791, 0.020268741995096207, 0.0510382205247879, -0.00027213263092562556, 0.015567109920084476, 0.02996053919196129, 0.004591509234160185, -0.02065712958574295, -0.028687408193945885, -0.016972681507468224, -0.03233504295349121, 0.017712801694869995, 0.02560390904545784, -0.10918688774108887, 0.00040012664976529777, -0.02328306995332241, 0.02459017001092434, -0.007669697981327772, 0.0018601013580337167, -0.026985879987478256, 0.00790206715464592, -0.010834777727723122, -0.021490080282092094, -0.07692987471818924, 0.059935521334409714, 0.011293143965303898, -0.04243120551109314, 0.039825666695833206, 0.008561071008443832, 0.019928311929106712, 0.047749727964401245, -0.021786600351333618, 0.08011473715305328, -0.007642689626663923, 0.003723772941157222, 0.008729072287678719, 0.046612344682216644, -0.03172246739268303, -0.0339164063334465, 0.0044268108904361725, 0.04562094062566757, -0.08176735788583755, 0.008904717862606049, 0.004261021967977285, -0.03796081617474556, -0.01931249536573887, 0.012044637463986874, 0.014112643897533417, 0.062336571514606476, -0.008903030306100845, -0.062305208295583725, 0.017047660425305367, 0.020576054230332375, 0.0437982976436615, -0.01572311855852604, -0.002382521517574787, -0.024895135313272476, -0.04141905903816223, -0.012059194035828114, 0.02163398079574108, -0.017702115699648857, 0.04543664678931236, -0.036628685891628265, -0.009153639897704124, 0.04567669332027435, 0.04559358209371567, -0.02142832800745964, 0.014309540390968323, 0.04827171564102173, 0.043768104165792465, 0.05525485426187515, 0.02993631362915039, 0.031135575845837593, -0.003463153028860688, -0.019561750814318657, -0.015997665002942085, 0.04565846174955368, -0.019894761964678764, -0.014730456285178661, -0.04830396920442581, -0.042236849665641785, 0.07075590640306473, -0.024248214438557625, -0.0065734414383769035, 0.030258404091000557, 0.07938583940267563, 0.043817900121212006, 0.03769470378756523, -0.02149437926709652, -0.0809699222445488, 0.019979998469352722, 0.0020502982661128044, 0.027860362082719803, 0.039779502898454666, -0.013724067248404026, 0.053226012736558914, 0.013919582590460777, 0.03739844635128975, 0.05810917168855667, -0.06169159337878227, -0.09696388989686966, 0.002051970222964883, -0.022123895585536957, 0.06278729438781738, -0.05134178698062897, 0.014517052099108696, 0.068812295794487, 0.005024650599807501, 0.06392811983823776, 0.03868076577782631, -0.02639632858335972, 0.019366126507520676, -0.035810209810733795, -0.0445655956864357, 0.0558396577835083, 0.03541811555624008, 0.03705105185508728, -0.044098157435655594, 0.028845369815826416, -0.0017730024410411716, -0.0018683306407183409, 0.014445559121668339, 0.0027326946146786213, 0.02987065538764, -0.0076117562130093575, 0.02986247092485428, -0.017863649874925613, 0.042462725192308426, -0.0570075623691082, -0.015628673136234283, 0.011092697270214558, -0.01610294170677662, -0.009042365476489067, 0.01932947151362896, 0.10727670043706894, 0.04841793328523636, -0.047448817640542984, -0.05233732983469963, 0.014269573614001274, 0.015561862848699093, -0.02286055125296116, -0.024159666150808334, 0.03224954381585121, -0.003510440234094858, 0.010680154897272587, -0.03020179457962513, -0.027472512796521187, 0.027795743197202682, -0.03339974954724312, -0.020807921886444092, 0.0368710495531559, 0.01465260237455368, 0.06798133999109268, -0.03282184153795242, -0.006078376434743404, 0.02848977968096733, -0.020898805931210518, -0.04298379272222519, -0.041174646466970444, -0.03483842313289642, -0.01000144612044096, 0.032734911888837814, -0.009359604679048061, -0.015198065899312496, -0.04689114913344383, -0.044351931661367416, 0.03283841162919998, 0.06106417253613472, 0.04835648089647293, -0.013603094965219498, 0.05739104002714157, -0.02440767176449299, 0.049138449132442474, 0.006980877369642258, -0.040044620633125305, -0.07341216504573822, -0.002405756851658225, 0.0052067190408706665, 0.04287494346499443, 0.02927747368812561, 0.00430231774225831, 0.035803671926259995, 0.009234609082341194, 0.008528410457074642, 0.024957722052931786, 0.03686001896858215, 0.02954818867146969, -0.021169111132621765, 0.016982847824692726, -0.007860655896365643, 0.05683426931500435, -0.00971485860645771, -0.028436975553631783, 0.021484872326254845, -0.08451011031866074, 0.0506206676363945, -0.05529326945543289, -0.040502190589904785, 0.012022275477647781, -0.005668755620718002, 0.02221224084496498, 0.038024574518203735, 0.019189801067113876, 0.04006553068757057, 0.020213162526488304, -0.003783285850659013, -0.004330322612076998, 0.015460491180419922, 0.021801313385367393, -0.009624740108847618, 0.015529263764619827, 0.002152569591999054, -0.013666323386132717, 0.012237746268510818, -0.02794456295669079, 0.034408606588840485, -0.01782844215631485, -0.2715252637863159, 0.03410983085632324, 0.04513222351670265, -0.06293756514787674, 0.025576341897249222, -0.00935450941324234, -0.022773809731006622, -0.06384185701608658, -0.03348054736852646, -0.011381826363503933, -0.001595650683157146, -0.04323609918355942, -0.0027100977022200823, 0.027495376765727997, 0.01557384803891182, -0.01690974459052086, 0.05819951370358467, -0.05548584833741188, 0.002139320829883218, 0.051173899322748184, 0.006459276657551527, -0.055269911885261536, 0.0014464049600064754, 0.03911181166768074, 0.025065891444683075, 0.0691438764333725, -0.0534081794321537, 0.03134681656956673, -0.06954403966665268, 0.007842150516808033, -0.005895084701478481, -0.004741779062896967, 0.03232796862721443, -0.014054305851459503, -0.01850719563663006, -0.03970646113157272, 0.03924771025776863, 0.017056472599506378, -0.004062036518007517, 0.013329008594155312, -0.04138999432325363, -0.04087993875145912, -0.010178701020777225, 0.002544546267017722, 0.07865472882986069, -0.006989905145019293, -0.061570700258016586, 0.006438829470425844, 0.0022309445776045322, 0.04926183819770813, -0.007743582595139742, -0.009692714549601078, -0.003475968958809972, 0.02667630836367607, -0.02316700667142868, -0.002493280917406082, -0.005373483989387751, -0.022597365081310272, -0.039843298494815826, -0.0359673835337162, -0.028938140720129013, -0.001314528868533671, -0.022085048258304596, 0.01598873920738697, 0.011644427664577961, -0.06619041413068771, -0.05548469349741936, -0.015112735331058502, 0.056330956518650055, -0.025974756106734276, -0.041181597858667374, 0.043036043643951416, -0.012416033074259758, -0.10069385170936584, 0.0008875642670318484, -0.018736984580755234, -0.03820545971393585, -0.025798870250582695, -0.0004034710582345724, 0.042353346943855286, -0.02932923100888729, -0.08336296677589417, 0.027626944705843925, -0.0037713651545345783, 0.028109852224588394, -0.01634759083390236, 0.033270664513111115, 0.04110967367887497, -0.002646297449246049, 0.0024010150227695704, 0.07045172899961472, 0.0022434561979025602, -0.0069182137958705425, -0.008894200436770916, 0.015675533562898636, 0.017333030700683594, -0.020539386197924614, -0.010385525412857533, 0.06074698641896248, 0.037606075406074524, -0.013514213263988495, -0.054734062403440475, 0.04329981654882431, -0.0317331999540329, -0.014235708862543106, -0.002886364469304681, -0.00583522068336606, 0.011570045724511147, 0.02793637476861477, -0.004710600711405277, 0.00532264681532979, -0.01643444411456585, 0.04463042691349983, -0.05727756395936012, -0.022210799157619476, -0.04008215665817261, 0.027109883725643158, 0.04904213175177574, 0.02165994793176651, -0.0176725834608078, -0.04147784039378166, 0.021749155595898628, -0.040970947593450546, -0.0306751299649477, -0.056699205189943314, -0.022584693506360054, 0.000029781849661958404, 0.00003467365604592487, -0.003232887014746666, 0.025988943874835968, 0.0020452283788472414, 0.033784981817007065, 0.0369003526866436, -0.01684490218758583, 0.04771410673856735, -0.07516712695360184, -0.055457014590501785, -0.04084198921918869, 0.009092558175325394, 0.021991821005940437, -0.004993956536054611, 0.0008487562299706042, -0.0242653489112854, 0.0044650062918663025, 0.035248298197984695, 0.022484833374619484, 0.037308331578969955, -0.007478231564164162, 0.03644762560725212, 0.027233103290200233, 0.012836208567023277, -0.03039342723786831, 0.03233223035931587, -0.03527866676449776, -0.04035927727818489, -0.0034267036244273186, 0.03897382318973541, -0.0020697019062936306, -0.047998424619436264, -0.04377174377441406, 0.016811229288578033, -0.040932655334472656, -0.03395925462245941, -0.051246244460344315, 0.010282247327268124, 0.05662260577082634, -0.01617470197379589, 0.00011969121260335669, -0.011954447254538536, -0.01017505768686533, 0.004277697764337063, -0.029958751052618027, -0.0692797377705574, 0.027131255716085434, 0.012605072930455208, 0.007372610736638308, -0.021457551047205925, -0.007375957444310188, 0.05510447174310684, 0.009378262795507908, -0.027412673458456993, -0.0034180493094027042, 0.012652681209146976, 0.00270579825155437, 0.04612492769956589, 0.010829443112015724, -0.010922424495220184, -0.026690982282161713, -0.03843996673822403, -0.05484464764595032, -0.04048019275069237, -0.034716878086328506, -0.03607507795095444, 0.01589769497513771, -0.04445730894804001, -0.04720871150493622, 0.019857753068208694, -0.02110973186790943, 0.016305116936564445, 0.03457723557949066, 0.00799657590687275, 0.0017235835548490286, -0.03486160933971405, 0.04877542331814766, 0.015008572489023209, -0.052140381187200546, 0.034424345940351486, 0.012630321085453033, 0.0002797875786200166, 0.04112555459141731, -0.03008071705698967, -0.054182086139917374, -0.034701284021139145, -0.0033306425902992487, 0.047174520790576935, -0.07908089458942413, -0.03477796912193298, -0.02238563634455204, 0.008516021072864532, -0.0196577999740839, -0.019184289500117302, -0.045345060527324677, -0.005907670594751835, 0.007254081778228283, -0.04618797078728676, 0.04597458615899086, -0.03346113860607147, -0.01942875236272812, 0.0338212251663208, -0.04653294011950493, -0.019062401726841927, -0.014420608058571815, 0.003935300745069981, 0.038703739643096924, -0.01429382897913456, -0.007016444578766823, -0.013616103678941727, -0.04359593614935875, -0.01721496880054474, 0.02867288328707218, 0.009320391342043877, -0.01258328277617693, -0.0401943065226078, 0.01239475142210722, -0.031042948365211487, 0.026986446231603622, 0.0026622333098202944, -0.01830722577869892, 0.030560094863176346, 0.04818219691514969, -0.011216851882636547, -0.014531441032886505, -0.0383622869849205, -0.007103340700268745, 0.03943508863449097, -0.05877668038010597, -0.01672890968620777, 0.00035798235330730677, -0.04623051732778549, 0.016906585544347763, 0.01580362394452095, 0.021423930302262306, -0.03439880535006523, 0.039783913642168045, 0.027788054198026657, -0.0006218779017217457, 0.013763641938567162, 0.022432349622249603, 0.002563480520620942, -0.04492287337779999, -0.0048330361023545265, -0.07077166438102722, 0.016936756670475006, 0.022668451070785522, 0.017350424081087112, 0.011498328298330307, 0.0048408424481749535, -0.006031442433595657, 0.029891228303313255, -0.05505552887916565, -0.028209295123815536, 0.02467900887131691, -0.018852900713682175, -0.02598610334098339, 0.012108852155506611, -0.0693579912185669, 0.014960900880396366, 0.020296866074204445, -0.04518383741378784, -0.027463434264063835, 0.0037294006906449795, 0.054920997470617294, -0.009705062955617905, -0.0010958611965179443, 0.013589014299213886, -0.004404908511787653, 0.03356150537729263, 0.02649068459868431, 0.03750072792172432, 0.04973211884498596, -0.034678973257541656, 0.02928304299712181, 0.011460188776254654, 0.020312365144491196, -0.010363340377807617, -0.005736205261200666, -0.0010309780482202768, -0.06523453444242477, 0.028702085837721825, 0.0218514297157526, -0.013609427958726883, -0.032785143703222275, 0.047904305160045624, 0.01301637664437294, -0.011290415190160275, -0.05373647063970566, 0.008356582373380661, -0.04695622995495796, -0.016819212585687637, -0.00708010932430625, -0.014034808613359928, -0.026608040556311607, 0.04227425530552864, -0.0030166988726705313, 0.010666062124073505, 0.06169731169939041, 0.00024610047694295645, -0.018717844039201736, -0.024816950783133507, 0.10062509775161743, 0.07100521773099899, 0.05228019505739212, -0.004879123065620661, 0.06857854127883911, -0.03288038820028305, -0.037611622363328934, 0.04265004023909569, -0.0006477655842900276, 0.0017183000454679132, -0.027957675978541374, -0.012073120102286339, 0.015923041850328445, -0.029105162248015404, 0.03251683712005615, -0.02615327760577202, -0.015492899343371391, 0.00010815713176270947, 0.05272255092859268, 0.04068669304251671, 0.08377797901630402, 0.0007400580798275769, 0.03193868324160576, -0.023912576958537102, -0.0647256001830101, 0.0471639446914196, -0.017024550586938858, -0.0046583544462919235, -0.004016334656625986, -0.02900848351418972, 0.03702421858906746, -0.0032454440370202065, 0.005275832489132881, 0.08028678596019745, -0.024826278910040855, 0.036330342292785645, 0.001350989332422614, 0.01386058796197176, -0.03145375847816467, 0.033087123185396194, 0.004631922580301762, -0.008613821119070053, -0.0073152403347194195, -0.04200741648674011, -0.03642211854457855, -0.027497243136167526, 0.008589675650000572, 0.0319017693400383, -0.018846508115530014, 0.008120238780975342, 0.03335174545645714, -0.0041168867610394955, -0.01929214783012867, -0.07033611088991165, -0.040948398411273956, -0.008130361326038837, -0.07011710107326508, -0.01328312512487173, 0.019039927050471306, 0.025151295587420464, -0.030408496037125587, 0.011409124359488487, -0.031604647636413574, -0.07133818417787552, 0.06071159616112709, -0.03727288544178009, -0.0008502598502673209, 0.03589237108826637, 0.03669557347893715, 0.04277508333325386, 0.028784530237317085, 0.03539615124464035, 0.00726794870570302, -0.018667293712496758, -0.0184832364320755, 0.015245531685650349, 0.01233211625367403, 0.0048683444038033485, -0.0004921354702673852, -0.09327144175767899, -0.003459316911175847, 0.03745625913143158, -0.021957164630293846, -0.08238527923822403, 0.00010741836740635335, -0.00291384756565094, 0.0041751922108232975, 0.036124810576438904, -0.026201041415333748, 0.026029925793409348, -0.07420807331800461, -0.0023299751337617636, -0.036351826041936874, -0.025466034188866615, 0.03925037384033203, -0.043286338448524475, 0.08626550436019897, 0.016789212822914124, -0.019444983452558517, -0.03451363369822502, -0.017107853665947914, 0.0028667780570685863, -0.021450983360409737, -0.015444929711520672, -0.040707558393478394, -0.012939934618771076, -0.09969398379325867, 0.014792903326451778, 0.03220413997769356, -0.03640935942530632, -0.027876392006874084, 0.04080035164952278, -0.022233953699469566, -0.029247023165225983, -0.010163724422454834, -0.01191739086061716, 0.013570649549365044, -0.022474851459264755, -0.005190125200897455, 0.01016808021813631, 0.08245634287595749, 0.011660396121442318, 0.018686853349208832, 0.021165750920772552, -0.06646636128425598, -0.006375604774802923, -0.012597493827342987, 0.0024087505880743265, 0.0677613690495491, 0.013157384470105171, -0.021410781890153885 ]
[ -0.08513079583644867, 0.03954724222421646, -0.011851636692881584, -0.009254585951566696, 0.05550248548388481, -0.025773899629712105, 0.03465220704674721, 0.03589441254734993, -0.02856244333088398, -0.02347135730087757, 0.004976622294634581, -0.03288336098194122, 0.003725543152540922, 0.019240746274590492, 0.04994182288646698, 0.027569063007831573, -0.007757297717034817, -0.06596016883850098, -0.023716028779745102, 0.034014273434877396, -0.010046375915408134, -0.04338416829705238, 0.011827615089714527, 0.031360138207674026, 0.017901146784424782, 0.021147996187210083, 0.02297050878405571, 0.021651946008205414, 0.005188468843698502, -0.176701158285141, -0.009892793372273445, -0.024227924644947052, 0.0069254375994205475, -0.03541453555226326, -0.0028949552215635777, 0.06639251112937927, 0.005868265870958567, 0.046863093972206116, 0.04755869135260582, 0.04726480320096016, 0.03233105689287186, 0.04793018847703934, -0.0012560695176944137, -0.011231468990445137, 0.051603954285383224, 0.052402108907699585, -0.008773370645940304, -0.014651142060756683, 0.013888097368180752, -0.019427087157964706, -0.044552095234394073, -0.01033121906220913, -0.00824861228466034, -0.04132196679711342, 0.0020606655161827803, -0.009494400583207607, 0.038536593317985535, 0.04046418517827988, 0.012410815805196762, 0.006941290106624365, 0.01528739184141159, -0.031153397634625435, -0.1516573280096054, 0.07128853350877762, 0.05441156029701233, 0.02825852297246456, -0.027615612372756004, -0.03264238312840462, -0.0010045854141935706, 0.044917527586221695, 0.013533319346606731, -0.016983717679977417, 0.01823737844824791, -0.0019028695533052087, 0.013104179874062538, 0.018048005178570747, 0.027142487466335297, 0.014645629562437534, 0.004838609602302313, -0.05896083638072014, 0.013077080249786377, 0.013372156769037247, -0.0486086942255497, -0.0023564244620501995, -0.03761470690369606, -0.0355277918279171, -0.0013972733868286014, 0.02405395172536373, 0.02163422666490078, 0.06333163380622864, 0.04025428742170334, -0.002823427552357316, 0.04247249290347099, 0.008377033285796642, -0.0745186060667038, -0.025412674993276596, -0.024007728323340416, -0.005504753906279802, -0.062359441071748734, 0.4509599208831787, 0.024018490687012672, -0.011499738320708275, 0.073790043592453, 0.03605293482542038, 0.0023999351542443037, 0.006658648606389761, -0.004545325413346291, -0.06555774807929993, 0.005167679861187935, -0.01869717612862587, 0.05064760893583298, 0.0285361148416996, 0.07778195291757584, -0.00011292281851638108, 0.011093667708337307, 0.004457442555576563, 0.060521822422742844, -0.009097262285649776, -0.014191498048603535, -0.029601342976093292, -0.046891141682863235, -0.024327760562300682, -0.00546658830717206, -0.0018530366942286491, -0.014415600337088108, -0.1018621101975441, 0.013674978166818619, 0.05749902501702309, 0.01841515116393566, -0.05576224625110626, 0.014209951274096966, -0.10567553341388702, -0.03486185520887375, -0.04272369667887688, 0.0015358348609879613, 0.013821994885802269, 0.04582730308175087, -0.008390574716031551, 0.0002478666719980538, 0.011541572399437428, -0.0016488383989781141, -0.043080251663923264, -0.0012186600361019373, -0.026355672627687454, -0.048353858292102814, 0.08318805694580078, 0.04772244393825531, -0.06549765914678574, -0.008536718785762787, -0.027202367782592773, -0.008855198509991169, -0.009192305617034435, 0.04228111356496811, -0.04886569455265999, 0.007874551229178905, 0.015562006272375584, 0.02050294540822506, 0.008160298690199852, -0.04742434248328209, -0.009939713403582573, 0.05160988122224808, -0.029681596904993057, -0.046896595507860184, 0.0388852134346962, 0.07453355193138123, -0.059461306780576706, -0.05583756044507027, 0.005277644377201796, 0.06693373620510101, -0.07949742674827576, -0.010108130052685738, 0.018331216648221016, -0.018753444775938988, -0.006438387557864189, 0.018106726929545403, -0.0072739920578897, -0.04501781240105629, 0.01433294266462326, 0.035268865525722504, 0.024314939975738525, 0.003551984904333949, -0.023460648953914642, -0.01686055213212967, 0.01210495363920927, -0.022105030715465546, -0.06278117746114731, -0.07646607607603073, -0.017248639836907387, 0.00129737111274153, 0.018992867320775986, -0.005551256239414215, 0.003257293486967683, -0.06266367435455322, 0.07598067820072174, -0.016923386603593826, -0.0281257014721632, -0.009294002316892147, -0.0037138324696570635, -0.025148464366793633, -0.004208689089864492, -0.057486314326524734, -0.02613585628569126, -0.06358560919761658, 0.04310229420661926, -0.033305536955595016, 0.08717648684978485, 0.054263774305582047, -0.05597609281539917, 0.05823564529418945, 0.03963248059153557, 0.0066492618061602116, -0.034017983824014664, -0.018040813505649567, 0.017731783911585808, 0.01886989176273346, -0.0219342689961195, 0.025809865444898605, -0.009650490246713161, -0.015889640897512436, -0.025201592594385147, 0.010931611992418766, -0.03453325852751732, -0.004559546243399382, -0.3258035480976105, -0.07026786357164383, -0.061498504132032394, -0.0003472535463515669, 0.01834377460181713, -0.041250430047512054, 0.02666410431265831, 0.0005588479689322412, -0.005111925303936005, 0.0006357661914080381, 0.045034363865852356, -0.045416515320539474, 0.0027197017334401608, -0.09572578966617584, 0.013206749223172665, 0.020479917526245117, -0.07395453751087189, -0.00583100039511919, -0.0573110394179821, 0.01232338510453701, 0.0281359925866127, 0.04186197370290756, -0.07143271714448929, -0.006865143775939941, -0.003562163095921278, -0.04663800820708275, 0.1178147941827774, 0.039394307881593704, 0.06154702603816986, 0.0036046907771378756, 0.04246444255113602, 0.01727396436035633, 0.05225547403097153, -0.06166897714138031, 0.0360126793384552, -0.017699388787150383, 0.007541429717093706, -0.04284334555268288, -0.00024773302720859647, -0.024417083710432053, -0.08300526440143585, 0.038644373416900635, -0.031003816053271294, -0.026565825566649437, -0.060900744050741196, -0.021369822323322296, -0.04693286865949631, 0.004997973330318928, -0.013127459213137627, 0.07202070206403732, 0.003381240414455533, -0.007905024103820324, 0.002223862102255225, -0.021050602197647095, 0.015668554231524467, -0.015929194167256355, -0.09092198312282562, 0.010432647541165352, -0.03859765827655792, 0.0335419662296772, -0.002246216405183077, 0.08428962528705597, 0.0036742922384291887, -0.040380846709012985, 0.017601998522877693, 0.02467160113155842, -0.02561284601688385, 0.0021999625023454428, 0.009602103382349014, -0.028924033045768738, -0.016241928562521935, 0.12735873460769653, -0.016574595123529434, -0.05283728614449501, 0.01944621093571186, 0.06358541548252106, 0.01725391298532486, 0.02750353515148163, 0.030281731858849525, -0.029109949246048927, 0.07543107867240906, -0.008568968623876572, 0.018046800047159195, -0.05728965625166893, 0.002628960181027651, 0.023364294320344925, -0.04494411125779152, -0.056808292865753174, 0.1270202398300171, 0.03149294853210449, -0.02055102214217186, 0.019412493333220482, -0.03505919128656387, -0.062265560030937195, 0.032578401267528534, -0.031533196568489075, -0.24820947647094727, 0.03910491243004799, 0.08401027321815491, 0.03630726411938667, -0.019757559522986412, 0.011471240781247616, 0.04502620920538902, -0.01603804901242256, 0.03742183372378349, 0.028103211894631386, 0.030532894656062126, 0.02245241589844227, -0.00570900272578001, -0.008722505532205105, 0.011402131989598274, -0.05727164074778557, 0.025379624217748642, -0.014168321155011654, 0.010440790094435215, 0.02693958580493927, -0.012066484428942204, -0.023269323632121086, 0.1199081614613533, 0.031042490154504776, -0.0012343035778030753, 0.007341710850596428, 0.004859615582972765, 0.007501177955418825, -0.017319664359092712, 0.03330535069108009, 0.043243397027254105, 0.0012721727835014462, 0.006954938638955355, -0.014968270435929298, -0.00026900385273620486, -0.03687432035803795, 0.015622979030013084, 0.04614310339093208, 0.02452370710670948, -0.005373803433030844, -0.020580176264047623, -0.004473271779716015, 0.051070138812065125, 0.03335471823811531, 0.09239519387483597, 0.021405182778835297, 0.02025102637708187, -0.026409152895212173, -0.04195455089211464, -0.05151835083961487, -0.053447235375642776, -0.024135900661349297, 0.01867232471704483, -0.03962576389312744, 0.03660629317164421, 0.06789946556091309, 0.02981526032090187, -0.0220186710357666, 0.029672488570213318, 0.046231478452682495, -0.0401398167014122, -0.012545705772936344, 0.0788303017616272, 0.032218921929597855, 0.07493535429239273 ]
[ 0.015224585309624672, 0.017679687589406967, -0.010889861732721329, 0.007469652220606804, 0.025166766718029976, 0.050997938960790634, 0.0393894724547863, 0.013636543415486813, -0.029429547488689423, 0.03415456786751747, 0.011494258418679237, 0.025105250999331474, 0.05820789933204651, -0.0001219833065988496, 0.0067515927366912365, 0.0036525640171021223, 0.011483423411846161, -0.01168376300483942, -0.0068948655389249325, -0.004369246773421764, -0.02997894398868084, 0.03791484609246254, 0.009843156673014164, 0.04569767415523529, -0.01821259595453739, 0.0039405059069395065, 0.0011402018135413527, 0.044455379247665405, 0.004513952415436506, -0.13222169876098633, 0.002901672851294279, -0.04100731760263443, 0.0057776994071900845, 0.029288804158568382, 0.01146051473915577, 0.010664342902600765, 0.00003567555904737674, 0.03461744263768196, -0.007484429981559515, -0.0038441659417003393, -0.03350433334708214, -0.00661430973559618, -0.027627550065517426, 0.008779534138739109, 0.0015307138673961163, 0.011380351148545742, -0.04851359874010086, -0.019543712958693504, 0.013874029740691185, 0.01351932343095541, -0.02064119651913643, 0.00817782897502184, -0.009961193427443504, -0.015706084668636322, 0.04754125699400902, -0.011844776570796967, -0.023029735311865807, -0.027901597321033478, -0.021357525140047073, -0.03301645815372467, -0.007973498664796352, 0.01797305978834629, -0.020551621913909912, -0.02239324152469635, -0.018316762521862984, -0.0013013484422117472, 0.020162168890237808, 0.014194400981068611, -0.027473261579871178, -0.0025754717644304037, 0.005842339247465134, 0.06379687041044235, -0.05086898431181908, 0.018413091078400612, 0.0076376087963581085, 0.0300239659845829, 0.03468061983585358, -0.028992749750614166, 0.028991375118494034, 0.02197824977338314, -0.05031823739409447, 0.025929823517799377, -0.015828123316168785, 0.010825678706169128, -0.009302827529609203, -0.029824404045939445, -0.02072092331945896, -0.01055722963064909, 0.011745627038180828, 0.01036594994366169, -0.04902919754385948, 0.022990604862570763, 0.011600599624216557, 0.03984822705388069, -0.0688994899392128, -0.029606537893414497, -0.009710723534226418, -0.009287596680223942, -0.00404356699436903, 0.820747971534729, 0.010547447949647903, -0.02472423017024994, 0.010801623575389385, 0.031845759600400925, 0.012841487303376198, -0.008972251787781715, 0.03766448795795441, -0.03886470943689346, -0.001995722996070981, -0.05146521329879761, -0.024214185774326324, 0.006959286518394947, 0.01708608865737915, 0.0050252401269972324, -0.012927241623401642, 0.001682778587564826, -0.009523437358438969, -0.0257064588367939, 0.02739926241338253, -0.007289901841431856, 0.012614407576620579, 0.011726274155080318, 0.018961481750011444, 0.011984084732830524, 0.015423034317791462, -0.1643323451280594, 0.018052728846669197, -7.996716887279183e-33, 0.025725126266479492, -0.031136764213442802, -0.007012068293988705, 0.024926992133259773, 0.013647262006998062, -0.040454793721437454, -0.012054395861923695, 0.0029993129428476095, 0.007338004186749458, -0.03323522210121155, -0.05398494377732277, -0.031930506229400635, 0.02072104811668396, -0.043247371912002563, 0.052071619778871536, -0.007287540007382631, 0.007953701540827751, 0.02928749844431877, -0.0071750665083527565, 0.0012804842554032803, -0.025212571024894714, 0.015404898673295975, 0.013924186117947102, 0.005593838635832071, 0.03485364466905594, 0.030028989538550377, 0.011265097185969353, -0.007781162392348051, -0.04620902240276337, -0.0320216529071331, -0.016492042690515518, 0.04176147282123566, 0.004771507810801268, -0.023801757022738457, -0.05023939907550812, -0.02432383969426155, -0.014936968684196472, -0.0032533351331949234, -0.04731149226427078, -0.02708619460463524, -0.03361773118376732, -0.009338194504380226, -0.002833393169566989, 0.02822953835129738, -0.010592887178063393, 0.008372101001441479, 0.014666333794593811, 0.020999064669013023, 0.021742429584264755, -0.001043760566972196, 0.025394093245267868, 0.034704793244600296, 0.019548600539565086, 0.005302031058818102, -0.01910034567117691, 0.034337252378463745, -0.01727145165205002, -0.008953137323260307, 0.02280689962208271, 0.004974207375198603, 0.04376107081770897, 0.019114386290311813, -0.025962216779589653, 0.03128279745578766, 0.011753673665225506, 0.015796441584825516, 0.01955508068203926, -0.0034027385991066694, -0.016722943633794785, -0.0056918892078101635, -0.05354367569088936, -0.008566686883568764, 0.021028313785791397, -0.025060901418328285, -0.012099849060177803, 0.0006721651297993958, -0.005336498375982046, 0.011806867085397243, 0.014531493186950684, 0.012103348039090633, 0.046874791383743286, 0.027293922379612923, -0.017145583406090736, -0.015613453462719917, -0.04559856653213501, -0.006762741599231958, 0.04626389592885971, -0.022229980677366257, -0.011751778423786163, -0.0036892506759613752, 0.008298984728753567, -0.056826282292604446, 0.01442721951752901, -0.01891724020242691, -0.030829625204205513, 7.860067138364031e-33, -0.0245012529194355, -0.028598463162779808, -0.03073861636221409, -0.02298160269856453, 0.008452262729406357, -0.01929064467549324, 0.016108104959130287, 0.017988819628953934, -0.08358223736286163, 0.01435400452464819, -0.023412054404616356, -0.010518527589738369, -0.03752387315034866, 0.035787105560302734, 0.016505664214491844, -0.017493555322289467, 0.0151786208152771, -0.02893148921430111, 0.023435721173882484, -0.028039272874593735, 0.06259283423423767, -0.001619395217858255, -0.020323829725384712, 0.008028998039662838, 0.0139005146920681, 0.0527033768594265, 0.028941817581653595, 0.04302240163087845, 0.02393835410475731, -0.05914328619837761, 0.027958231046795845, -0.027166197076439857, 0.012414982542395592, 0.011419281363487244, 0.018871009349822998, 0.033029649406671524, -0.0026346351951360703, 0.0074812802486121655, -0.025926679372787476, -0.027646850794553757, -0.007442767731845379, 0.00722646014764905, 0.0011760947527363896, -0.0008949452312663198, 0.03012772463262081, 0.0488925538957119, 0.03717280551791191, -0.054568611085414886, 0.005978752858936787, 0.005717248655855656, -0.01915706880390644, -0.020256517454981804, 0.022650830447673798, 0.01616411842405796, 0.034498512744903564, -0.01096965093165636, -0.012713707983493805, -0.026070760563015938, 0.015511970035731792, -0.04156171530485153, -0.02815955877304077, 0.006312150973826647, 0.01762647181749344, 0.005378912668675184, -0.03767114877700806, -0.018903763964772224, -0.03724057972431183, 0.0007111260201781988, -0.006415755953639746, 0.027980905026197433, -0.03776699677109718, 0.028966067358851433, 0.011157417669892311, 0.04065370932221413, 0.0010385459754616022, -0.03441343829035759, -0.042834021151065826, 0.023849185556173325, -0.02087354101240635, 0.03950778767466545, 0.017988556995987892, -0.044873252511024475, -0.005932387430220842, 0.033633168786764145, 0.041673507541418076, 0.022514166310429573, -0.004446161910891533, 0.03334847092628479, -0.0010195450158789754, -0.0412580743432045, -0.034581802785396576, -0.04134739190340042, -0.019633639603853226, -0.006159994285553694, -0.02360963635146618, -1.3205339932653715e-8, -0.008114645257592201, 0.042041148990392685, -0.01124301366508007, 0.007418878376483917, -0.02545887976884842, -0.005518344696611166, 0.02179091051220894, -0.03604024648666382, -0.03667851909995079, 0.001448901602998376, 0.043280813843011856, -0.017047539353370667, 0.0036959876306355, 0.012948106043040752, -0.03112880513072014, -0.0016184033593162894, -0.039676107466220856, -0.012476639822125435, 0.05476992577314377, -0.03252687677741051, -0.0166848786175251, 0.05251266434788704, -0.02012437768280506, 0.02303500287234783, 0.014467678032815456, 0.05686192214488983, -0.011860661208629608, -0.11600807309150696, 0.016800805926322937, 0.02356097474694252, -0.032079122960567474, -0.019435659050941467, -0.006894982885569334, 0.034654684364795685, 0.025737924501299858, -0.007477985695004463, 0.051054880023002625, 0.002236287808045745, 0.005989569704979658, -0.010275465436279774, -0.03918154910206795, 0.004252297338098288, 0.011244178749620914, -0.013569002039730549, 0.03439689800143242, 0.026235656812787056, -0.03105379268527031, -0.010438871569931507, -0.026056626811623573, -0.05043391138315201, 0.06084991991519928, -0.029554106295108795, -0.005977358669042587, 0.08837931603193283, -0.006380582228302956, -0.019184494391083717, -0.01702713780105114, -0.022101957350969315, 0.02524453029036522, 0.02903665602207184, -0.0038932960014790297, 0.00810584519058466, -0.017939575016498566, 0.005297628231346607 ]
survivorship-bias-and-product-development
https://markhneedham.com/blog/2013/07/08/survivorship-bias-and-product-development
false
2013-07-08 23:19:32
JAX RS: Streaming a Response using StreamingOutput
[ "software-development" ]
[ "Software Development" ]
A couple of weeks ago https://twitter.com/jimwebber[Jim] and I were building out a http://docs.neo4j.org/chunked/milestone/server-unmanaged-extensions.html[neo4j unmanaged extension] from which we wanted to return the results of a traversal which had a lot of paths. Our code initially looked a bit like this: [source,java] ---- package com.markandjim @Path("/subgraph") public class ExtractSubGraphResource { private final GraphDatabaseService database; public ExtractSubGraphResource(@Context GraphDatabaseService database) { this.database = database; } @GET @Produces(MediaType.TEXT_PLAIN) @Path("/{nodeId}/{depth}") public Response hello(@PathParam("nodeId") long nodeId, @PathParam("depth") int depth) { Node node = database.getNodeById(nodeId); final Traverser paths = Traversal.description() .depthFirst() .relationships(DynamicRelationshipType.withName("whatever")) .evaluator( Evaluators.toDepth(depth) ) .traverse(node); StringBuilder allThePaths = new StringBuilder(); for (org.neo4j.graphdb.Path path : paths) { allThePaths.append(path.toString() + "\n"); } return Response.ok(allThePaths.toString()).build(); } } ---- We then compiled that into a JAR, placed it in 'plugins' and added the following line to 'conf/neo4j-server.properties': [source,text] ---- org.neo4j.server.thirdparty_jaxrs_classes=com.markandjim=/unmanaged ---- After we'd restarted the neo4j server we were able to call this end point using cURL like so: [source,text] ---- $ curl -v http://localhost:7474/unmanaged/subgraph/1000/10 ---- This approach works quite well but Jim pointed out that it was quite inefficient to load all those paths up into memory, something which http://blog.neo4j.org/2012/04/streaming-rest-api-interview-with.html[Michael has written about previously with respect to the the streaming REST API.] We thought it would be quite cool if we could stream it as we got to each path. Traverser wraps an iterator so we are lazily evaluating the result set in any case. After a bit of searching we came http://stackoverflow.com/questions/12012724/jersey-example-of-using-streamingoutput-as-response-entity[StreamingOutput] which is exactly what we need. We adapted our code to use that instead: [source,java] ---- package com.markandjim @Path("/subgraph") public class ExtractSubGraphResource { private final GraphDatabaseService database; public ExtractSubGraphResource(@Context GraphDatabaseService database) { this.database = database; } @GET @Produces(MediaType.TEXT_PLAIN) @Path("/{nodeId}/{depth}") public Response hello(@PathParam("nodeId") long nodeId, @PathParam("depth") int depth) { Node node = database.getNodeById(nodeId); final Traverser paths = Traversal.description() .depthFirst() .relationships(DynamicRelationshipType.withName("whatever")) .evaluator( Evaluators.toDepth(depth) ) .traverse(node); StreamingOutput stream = new StreamingOutput() { @Override public void write(OutputStream os) throws IOException, WebApplicationException { Writer writer = new BufferedWriter(new OutputStreamWriter(os)); for (org.neo4j.graphdb.Path path : paths) { writer.write(path.toString() + "\n"); } writer.flush(); } }; return Response.ok(stream).build(); } ---- As far as I can tell the only discernible difference between the two approaches is that you get an almost immediate response from the streamed approached whereas the first approach has to put everything in the StringBuilder first. Both approaches make use of http://en.wikipedia.org/wiki/Chunked_transfer_encoding[chunked transfer encoding] which according to tcpdump seems to have a maximum packet size of 16332 bytes: [source,bash] ---- 00:10:27.361521 IP localhost.7474 > localhost.55473: Flags [.], seq 6098196:6114528, ack 179, win 9175, options [nop,nop,TS val 784819663 ecr 784819662], length 16332 00:10:27.362278 IP localhost.7474 > localhost.55473: Flags [.], seq 6147374:6163706, ack 179, win 9175, options [nop,nop,TS val 784819663 ecr 784819663], length 16332 ----
null
null
[ -0.004659111611545086, -0.05285937339067459, -0.007253075484186411, 0.029428133741021156, 0.08638731390237808, -0.026692969724535942, 0.03403432294726372, 0.036155931651592255, 0.0025252753403037786, -0.024846725165843964, -0.002644695108756423, -0.010873406194150448, -0.07068559527397156, 0.027139704674482346, 0.02670770138502121, 0.038044240325689316, 0.07430240511894226, -0.010690461844205856, 0.012484444305300713, -0.03340861201286316, 0.013344421051442623, 0.03245222941040993, -0.025703083723783493, 0.03109320066869259, 0.04027966782450676, 0.04097701981663704, 0.0048158057034015656, 0.00031296987435780466, -0.05519619211554527, -0.006414112169295549, 0.034835897386074066, -0.008270650170743465, 0.026123693212866783, -0.028933458030223846, 0.017189541831612587, -0.025962354615330696, -0.041005365550518036, -0.0026817601174116135, -0.020052427425980568, -0.0064333342015743256, -0.07717201858758926, 0.041593365371227264, -0.01019432581961155, 0.0382770411670208, -0.039084404706954956, 0.01793919876217842, -0.04804449900984764, 0.02359827421605587, -0.015168929472565651, -0.0015482985181733966, -0.06992613524198532, 0.007753277197480202, -0.04398754611611366, 0.006309592630714178, 0.0215612705796957, 0.0506477989256382, 0.025588538497686386, -0.08851666748523712, 0.04173113778233528, -0.04213777184486389, -0.005969824735075235, -0.012689721770584583, 0.006227297708392143, 0.04924260824918747, -0.00740996515378356, -0.029717735946178436, -0.006766030564904213, 0.05916794016957283, -0.0438929982483387, -0.025915298610925674, 0.002616490935906768, 0.0004725226026494056, -0.011602687649428844, 0.013571789488196373, -0.005657904781401157, -0.052199047058820724, -0.0069060735404491425, 0.04041355103254318, 0.028219303116202354, 0.04694822430610657, -0.03441328555345535, 0.014362265355885029, 0.012687938287854195, -0.003636888926848769, -0.009208250790834427, -0.04101760685443878, -0.014346547424793243, -0.003931124694645405, -0.03935093432664871, 0.027654802426695824, 0.017773132771253586, -0.06770841777324677, -0.0149815883487463, 0.009257141500711441, 0.000404950202209875, 0.020929384976625443, 0.0025454063434153795, 0.0016707900213077664, 0.02521132491528988, -0.0013776648556813598, -0.03046518750488758, 0.0016008956590667367, -0.006214816123247147, -0.007341019809246063, -0.06207529827952385, -0.023217977955937386, -0.039882026612758636, -0.032452117651700974, 0.009765448980033398, -0.017565157264471054, -0.04977351799607277, 0.03119957633316517, -0.03141322731971741, 0.012748041190207005, -0.073017418384552, 0.06564188748598099, 0.014454401098191738, -0.027424506843090057, -0.0280457790941, 0.008732980117201805, 0.03701170161366463, 0.018519461154937744, 0.0016272114589810371, 0.07288263738155365, -0.02804584428668022, 0.06032942607998848, -0.0027021970599889755, 0.03270212560892105, -0.0147462273016572, -0.05374285206198692, -0.003466214518994093, 0.05965046212077141, 0.01595734804868698, 0.04553845524787903, -0.029245829209685326, -0.0038785531651228666, 0.002158318879082799, 0.016390278935432434, 0.050022661685943604, 0.011687066406011581, -0.029376354068517685, -0.03261232003569603, 0.0259600430727005, -0.00555099081248045, 0.028139691799879074, 0.020369449630379677, -0.028640082105994225, -0.037057165056467056, -0.03615569695830345, 0.04926329478621483, 0.02158881165087223, 0.058299802243709564, 0.048288874328136444, -0.025219283998012543, 0.029811207205057144, 0.12419769912958145, 0.02091771736741066, 0.005364658776670694, -0.013184011913836002, 0.028339097276329994, 0.03830496966838837, 0.04543963447213173, 0.010526681318879128, 0.04381249099969864, 0.007675208617001772, -0.004512288141995668, -0.00003326527075842023, 0.03442029282450676, 0.004541812930256128, -0.008032572455704212, -0.04179472103714943, -0.10075507313013077, 0.044220179319381714, -0.044556550681591034, -0.024254370480775833, 0.010358544997870922, 0.06593170762062073, 0.002061817329376936, 0.005932212807238102, 0.010344117879867554, -0.06810424476861954, 0.051968060433864594, 0.036374546587467194, -0.021070417016744614, -0.00830659456551075, 0.004848917480558157, 0.07629239559173584, 0.038013532757759094, -0.016073958948254585, 0.023821000009775162, -0.08956150710582733, -0.08763022720813751, -0.018085137009620667, -0.010362249799072742, 0.0588647723197937, -0.01267190556973219, -0.006121007259935141, 0.053436312824487686, 0.0028357289265841246, 0.02171027660369873, 0.0257515050470829, -0.004272500053048134, 0.012717445380985737, -0.06514531373977661, -0.05984746664762497, 0.06447747349739075, 0.035905007272958755, -0.05143878236413002, -0.03236747533082962, 0.02110949717462063, -0.01764707826077938, 0.008031562902033329, 0.009622274897992611, -0.025569602847099304, 0.04398253932595253, 0.042346395552158356, 0.018565626814961433, -0.015375329181551933, 0.047622259706258774, -0.05045723170042038, 0.031893450766801834, 0.013939178548753262, -0.024678435176610947, -0.023404283449053764, -0.007599089294672012, 0.1063743382692337, 0.047829825431108475, -0.019713139161467552, -0.07489778101444244, 0.05275754630565643, 0.021358385682106018, -0.0229464340955019, -0.006104066502302885, -0.04019680991768837, -0.002597152953967452, -0.0018462225561961532, -0.019965345039963722, -0.017330655828118324, -0.004316464997828007, -0.030365904793143272, 0.02026897668838501, 0.06711103022098541, -0.04191872477531433, 0.04224302992224693, 0.03338165953755379, -0.021555613726377487, 0.017078757286071777, -0.06585264950990677, -0.045627955347299576, 0.01685344986617565, 0.028442325070500374, -0.008939855732023716, 0.06635309010744095, -0.016054311767220497, -0.01735280267894268, -0.012468865141272545, -0.03457892686128616, 0.014038597233593464, 0.027735194191336632, 0.07345683127641678, 0.017484460026025772, 0.04165024310350418, -0.036447908729314804, -0.00746140955016017, -0.009682114236056805, -0.04426581785082817, -0.014471426606178284, -0.01211861427873373, 0.06096014752984047, 0.022605668753385544, -0.0016088099218904972, -0.01496189460158348, 0.007980135269463062, 0.0072847031988203526, -0.013631157577037811, -0.025569919496774673, 0.032102037221193314, -0.0013347025960683823, -0.021892521530389786, -0.036695897579193115, -0.04155103862285614, 0.04689139127731323, -0.06920626759529114, -0.05271926894783974, -0.005914648063480854, -0.05863990634679794, 0.06707224994897842, -0.04987189918756485, -0.018426718190312386, -0.0029734817799180746, 0.04306197538971901, 0.04654917120933533, -0.0008083866559900343, 0.022791896015405655, 0.0864180475473404, -0.0062945131212472916, 0.02917724847793579, 0.00501674972474575, 0.0007553004543296993, 0.04421478509902954, -0.03244577348232269, 0.03765558823943138, 0.027162468060851097, -0.016104204580187798, -0.005682246293872595, -0.011342431418597698, -0.004595154896378517, -0.023375103250145912, -0.2631914019584656, 0.04198543727397919, -0.020490657538175583, -0.05920180678367615, 0.014663267880678177, -0.009130744263529778, -0.0069695948623120785, -0.03443816676735878, -0.02174178510904312, 0.01435262430459261, 0.000683467136695981, -0.029310598969459534, 0.010781776160001755, 0.04449049383401871, 0.0077645848505198956, 0.011033674702048302, -0.002871829317882657, -0.02665799856185913, 0.013013869524002075, 0.043466437608003616, -0.006659741047769785, -0.07130515575408936, 0.012357636354863644, 0.0020346948876976967, 0.018793471157550812, 0.03379319608211517, -0.09504621475934982, 0.04465639218688011, -0.032086435705423355, -0.01920812949538231, 0.023603539913892746, -0.025898849591612816, 0.0068742078728973866, -0.008291076868772507, -0.03943745791912079, -0.02635711431503296, 0.027150742709636688, 0.013916991651058197, -0.0027457682881504297, 0.02837488427758217, -0.033997055143117905, -0.06455246359109879, -0.040496502071619034, -0.005930695217102766, 0.09420859813690186, 0.011253146454691887, -0.07935608178377151, -0.008888233453035355, -0.004011459182947874, 0.07415636628866196, -0.014109272509813309, -0.03093506582081318, -0.016120970249176025, 0.019971368834376335, -0.01698041521012783, -0.0490412600338459, -0.003210458904504776, -0.015643242746591568, -0.07118471711874008, -0.023053480312228203, 0.018627632409334183, -0.03626885637640953, 0.006006439216434956, -0.06042700260877609, -0.025075754150748253, -0.033968839794397354, -0.06853187084197998, -0.012362023815512657, 0.035040099173784256, 0.012609085068106651, -0.012937785126268864, 0.025186708196997643, -0.0014023069525137544, -0.1059250757098198, -0.021074512973427773, -0.04710676893591881, -0.04303839057683945, -0.03704170137643814, -0.020123405382037163, 0.06168384104967117, -0.035660453140735626, -0.02756144106388092, -0.00975736416876316, 0.023634567856788635, 0.019855665042996407, 0.011027898639440536, 0.009994035586714745, -0.030629009008407593, -0.033522579818964005, 0.005737343803048134, 0.05303902179002762, -0.024856261909008026, -0.02785993367433548, -0.018014129251241684, -0.001022237236611545, 0.043229155242443085, -0.0034274859353899956, -0.013503854162991047, 0.009948753751814365, 0.054093170911073685, 0.06604396551847458, -0.03949466720223427, 0.01684238389134407, 0.011842243373394012, -0.02644866146147251, -0.01916705258190632, -0.06336963176727295, 0.005217264406383038, 0.01814633049070835, 0.04267900064587593, 0.0035034404136240482, -0.007565068546682596, 0.004879201762378216, -0.04116033762693405, -0.02794760651886463, 0.005611145403236151, 0.005024691112339497, 0.011769900098443031, 0.05801904946565628, -0.025855660438537598, -0.05930076166987419, 0.014443543739616871, 0.026156537234783173, 0.006321456283330917, -0.04636605083942413, -0.047964390367269516, -0.022072333842515945, -0.009075485169887543, -0.004137194249778986, 0.03277265280485153, -0.0265340693295002, 0.019515588879585266, 0.025630801916122437, -0.019434243440628052, 0.026819439604878426, -0.022162871435284615, -0.026631830260157585, -0.04969135299324989, 0.01023638155311346, -0.011562937870621681, -0.03535064682364464, -0.00427489448338747, 0.0015941374003887177, 0.047956302762031555, 0.06114887073636055, 0.0033465668093413115, 0.030075766146183014, 0.02876453287899494, 0.018420245498418808, -0.025161273777484894, -0.014097516424953938, -0.0447046235203743, 0.00923905335366726, -0.03763057291507721, -0.00491145346313715, -0.031148357316851616, 0.04262220859527588, -0.031111380085349083, -0.014624707400798798, -0.03729637712240219, 0.017220770940184593, -0.07579102367162704, 0.020383412018418312, 0.005094191059470177, -0.01564539037644863, 0.05406234785914421, 0.009983882308006287, 0.03854701668024063, -0.0490339919924736, -0.029887521639466286, 0.018273673951625824, -0.002975824289023876, -0.01855461671948433, 0.0167804267257452, 0.0012854987289756536, 0.021298188716173172, 0.008505918085575104, 0.041739363223314285, 0.029414912685751915, 0.050973739475011826, -0.03297590836882591, 0.002016594633460045, 0.020280074328184128, -0.0013617037329822779, 0.03168985992670059, 0.03568537160754204, -0.03656487911939621, 0.02748752012848854, -0.00020592453074641526, 0.0034257411025464535, 0.0006816291715949774, 0.014306183904409409, -0.041787080466747284, 0.0290327500551939, -0.01946115866303444, -0.07823836803436279, 0.023161454126238823, -0.013685831800103188, 0.020188644528388977, 0.01962742954492569, -0.0024241372011601925, 0.006859831977635622, 0.0010770533699542284, 0.042184408754110336, 0.04842624068260193, -0.03807445243000984, -0.028542155399918556, 0.033216435462236404, 0.003306681290268898, 0.0053373342379927635, 0.031215528026223183, -0.05759308487176895, -0.01775166392326355, -0.02328420802950859, 0.0183259304612875, -0.023163121193647385, -0.04171537607908249, -0.010381372645497322, -0.0111678596585989, 0.0070885163731873035, 0.01812744140625, 0.027994617819786072, -0.018970947712659836, -0.02552122250199318, -0.011103665456175804, 0.03291429951786995, -0.01368256937712431, -0.030847515910863876, -0.00820059236139059, -0.037943679839372635, 0.034326184540987015, -0.018374592065811157, 0.03233686834573746, 0.009604379534721375, 0.015114477835595608, 0.0021063056774437428, -0.07179206609725952, 0.007723578717559576, -0.01110201608389616, 0.052957192063331604, 0.005325098522007465, 0.008221413940191269, -0.027934765443205833, -0.01138029620051384, -0.043163131922483444, -0.009401343762874603, 0.004353898577392101, -0.009767681360244751, 0.026352515444159508, 0.029646389186382294, 0.00788919534534216, 0.06840471923351288, -0.0020245236810296774, -0.021695217117667198, 0.07884877175092697, -0.03087097592651844, -0.05812329426407814, -0.0008865170530043542, -0.07566490769386292, 0.000024393877538386732, 0.02978181652724743, 0.025972163304686546, -0.027713371440768242, 0.09074829518795013, 0.06882812827825546, -0.012554546818137169, 0.032925404608249664, -0.012368646450340748, 0.038446489721536636, -0.04984858259558678, -0.020656684413552284, -0.07544515281915665, 0.00697854720056057, 0.07663050293922424, 0.019960420206189156, 0.006768344435840845, -0.037560757249593735, -0.02824171632528305, 0.002959886332973838, -0.06280028074979782, -0.044237665832042694, 0.03431494161486626, -0.02026822231709957, 0.022872060537338257, -0.017182961106300354, -0.05853293091058731, 0.02465326152741909, 0.0357418954372406, -0.02082841843366623, -0.038669243454933167, -0.041083045303821564, 0.03970780223608017, 0.0014618773711845279, 0.04483308643102646, -0.017803020775318146, -0.02194848842918873, 0.06960940361022949, 0.0012233409797772765, 0.04215751588344574, 0.06065494567155838, -0.02932475134730339, 0.03785796836018562, 0.05618549883365631, -0.04421411082148552, -0.00047006647218950093, 0.023508364334702492, -0.0029880451038479805, -0.03425001725554466, 0.020312948152422905, 0.007698968984186649, -0.02076822519302368, -0.0195977333933115, 0.04456178843975067, 0.014948615804314613, -0.03687873110175133, -0.028085969388484955, 0.00917490292340517, -0.02466430887579918, -0.01537064928561449, -0.045985542237758636, 0.03862639144062996, -0.02514139749109745, 0.05324618145823479, -0.027014989405870438, -0.007405493874102831, 0.06668870896100998, 0.01241256669163704, -0.010629039257764816, -0.006536587607115507, 0.08953848481178284, 0.073195680975914, 0.006720732897520065, 0.003849650966003537, 0.054263949394226074, -0.02906825765967369, -0.03164982050657272, -0.010192121379077435, -0.021570825949311256, -0.01496428344398737, -0.0065286546014249325, 0.016604239121079445, 0.07336734980344772, -0.011617562733590603, 0.05994408577680588, -0.04339580610394478, -0.007038406562060118, 0.004469978157430887, -0.0050427960231900215, 0.028965899720788002, 0.03829680010676384, 0.011731368489563465, 0.02311425283551216, -0.026960253715515137, -0.025985829532146454, 0.0014670338714495301, -0.009168097749352455, -0.017079252749681473, 0.05320772901177406, 0.008085637353360653, -0.0034064501523971558, 0.007445929106324911, 0.045559272170066833, 0.08810662478208542, -0.03178424388170242, 0.006759891286492348, -0.0049977051094174385, 0.01331136841326952, 0.015361801721155643, -0.003945729695260525, -0.01162115391343832, -0.01618049293756485, -0.012009061872959137, -0.043671585619449615, -0.027544962242245674, -0.027999382466077805, -0.02729038894176483, 0.04088379442691803, -0.031107759103178978, 0.0018578513991087675, -0.0037189009599387646, -0.00514242984354496, -0.030432553961873055, -0.03457446023821831, -0.0407719612121582, -0.029081393033266068, -0.07209663093090057, 0.002215870888903737, 0.017215801402926445, -0.004764239303767681, -0.02432900294661522, 0.006316930986940861, -0.04191668704152107, -0.004869082011282444, 0.05611959844827652, -0.02800699509680271, 0.028283623978495598, 0.017829736694693565, 0.01885284297168255, 0.01758614555001259, 0.04074104502797127, 0.05600248649716377, 0.025491410866379738, 0.021750185638666153, -0.02130099944770336, -0.003902534721419215, 0.0556916743516922, -0.000619598082266748, 0.007726440206170082, -0.05816565081477165, 0.014572244137525558, 0.01990131475031376, 0.013258565217256546, -0.08293493092060089, -0.005732160061597824, 0.05535440519452095, -0.010030376724898815, 0.03613618016242981, 0.010111594572663307, -0.024822764098644257, -0.00869494304060936, -0.0006207689875736833, 0.026772039011120796, -0.024591023102402687, 0.031068744137883186, -0.025381088256835938, 0.07690876722335815, 0.06070727854967117, -0.02435094490647316, -0.020509038120508194, -0.004575521219521761, -0.00009359404793940485, 0.0006135511212050915, -0.05751241371035576, -0.013011666014790535, -0.05589253455400467, -0.07468340545892715, -0.017661672085523605, 0.007213903125375509, -0.02710544690489769, -0.03718317672610283, -0.0032321400940418243, 0.03798810392618179, -0.03666115179657936, 0.03012668713927269, -0.03548359125852585, 0.06041138991713524, -0.0156991146504879, -0.03651364892721176, 0.0011067575542256236, -0.010165759362280369, 0.00007922613440314308, 0.01671634428203106, 0.026554804295301437, -0.03671872615814209, -0.01294954214245081, -0.04206665977835655, 0.026957381516695023, 0.04794811084866524, 0.018690437078475952, -0.007148419506847858 ]
[ -0.0735681802034378, -0.050090491771698, -0.019312255084514618, -0.021788280457258224, 0.05578988045454025, -0.06676588952541351, -0.021181004121899605, 0.031998660415410995, 0.010421455837786198, -0.006411331240087748, 0.04068341106176376, -0.033352747559547424, 0.006273588631302118, -0.0032412195578217506, 0.08110562711954117, 0.0005014408961869776, -0.02899719588458538, -0.02802460268139839, -0.021488262340426445, 0.028241854161024094, 0.0005951293860562146, -0.0424337238073349, -0.01109351683408022, -0.051492318511009216, 0.018522078171372414, 0.04695295915007591, 0.03105226159095764, -0.017794061452150345, -0.005806457716971636, -0.19569112360477448, 0.012073874473571777, -0.009099306538701057, 0.008550564758479595, -0.021627351641654968, 0.038388922810554504, 0.034086406230926514, 0.023398088291287422, -0.015435853973031044, 0.010807768441736698, 0.041510842740535736, 0.03275075927376747, 0.029384739696979523, -0.06329189240932465, 0.001828160253353417, 0.05283147469162941, -0.0010546204866841435, -0.013844224624335766, -0.018237832933664322, -0.008915295824408531, 0.007264585699886084, -0.03612341359257698, 0.0053384616039693356, 0.0051635149866342545, -0.019848451018333435, 0.013184899464249611, 0.058635689318180084, 0.05256893113255501, 0.06994683295488358, 0.015450682491064072, 0.04646764695644379, 0.025967037305235863, -0.005519454833120108, -0.1277182549238205, 0.0744112879037857, 0.018338406458497047, 0.03659040480852127, -0.05329908803105354, -0.015318592078983784, -0.004350755829364061, 0.09027012437582016, 0.036758434027433395, -0.01445043459534645, -0.039400145411491394, 0.05096002295613289, 0.0014962858986109495, 0.013751056045293808, -0.0008798091439530253, 0.026629464700818062, 0.025096066296100616, -0.0412570983171463, -0.05862439423799515, -0.011346093378961086, -0.04740523174405098, -0.01520626898854971, -0.027059847488999367, 0.04755060747265816, -0.044319238513708115, 0.06683655083179474, 0.009602515958249569, 0.05504937097430229, 0.052026666700839996, 0.006010196637362242, 0.06653843820095062, 0.017724884673953056, -0.10749145597219467, -0.005275391973555088, -0.009167347103357315, 0.0063206711784005165, -0.002093574032187462, 0.4036417603492737, 0.01672777347266674, 0.0014124371809884906, 0.039519984275102615, 0.051295943558216095, -0.0040503633208572865, -0.0009448258788324893, -0.0026143966242671013, -0.06478355824947357, 0.03316596895456314, -0.01118845958262682, 0.01761769875884056, -0.0434928722679615, 0.05109713599085808, -0.08487462997436523, 0.007244078908115625, 0.007545700296759605, 0.02265191823244095, 0.014587005600333214, -0.05431022867560387, 0.026776304468512535, -0.03573501482605934, 0.004038437735289335, 0.05060653015971184, 0.013793694786727428, 0.020927874371409416, -0.0034037400037050247, 0.018765415996313095, 0.026558849960565567, 0.035683780908584595, 0.035511601716279984, 0.033284127712249756, 0.008296257816255093, -0.0746942088007927, 0.02363763377070427, -0.011886483058333397, -0.011012418195605278, 0.04620233550667763, -0.04890923947095871, -0.019527269527316093, 0.03632077947258949, -0.02166089043021202, -0.032751359045505524, 0.01324704010039568, 0.00523907458409667, -0.05900540575385094, 0.10954215377569199, 0.002421363489702344, -0.04928043857216835, -0.019041286781430244, -0.046080101281404495, -0.01945730298757553, 0.03577354550361633, 0.021349193528294563, -0.06225983798503876, -0.019408660009503365, 0.017392929643392563, 0.04920168220996857, -0.011214886792004108, -0.08015546202659607, 0.01256151869893074, -0.011206062510609627, -0.033403344452381134, -0.04752272367477417, 0.0925254225730896, 0.06328728049993515, -0.11987286806106567, -0.0221598818898201, 0.012505861930549145, 0.018690532073378563, -0.07089456915855408, -0.008424856700003147, 0.02234966680407524, -0.036125317215919495, -0.045448318123817444, 0.0622917003929615, -0.01734265312552452, -0.032170072197914124, -0.029767636209726334, 0.021550247445702553, 0.00031024040072225034, 0.0050547076389193535, -0.005447307135909796, -0.04506633058190346, -0.0023204877506941557, -0.05573146045207977, -0.06698761135339737, -0.08846651017665863, 0.03435864299535751, -0.02852095291018486, -0.02940485067665577, -0.04703175276517868, -0.011427145451307297, -0.041859883815050125, 0.0675150603055954, -0.035822346806526184, -0.038324497640132904, -0.0006849271012470126, 0.009664316661655903, 0.0017240074230358005, -0.03673172742128372, 0.05035027116537094, 0.012636666186153889, -0.014054406434297562, 0.040377549827098846, -0.08532131463289261, 0.043915290385484695, 0.055704545229673386, -0.03856290504336357, 0.05226831138134003, 0.041641831398010254, -0.04956923797726631, -0.007553645875304937, -0.004163404926657677, 0.03698534518480301, 0.004725243896245956, -0.02081170491874218, 0.016658233478665352, -0.005627497565001249, 0.04157916083931923, 0.014982753433287144, -0.047909919172525406, -0.014621783047914505, -0.02657679095864296, -0.34880945086479187, -0.0504123717546463, -0.018289737403392792, 0.0018592228880152106, 0.01903495006263256, -0.029640180990099907, 0.010166110470890999, -0.0245458222925663, 0.003844854421913624, 0.0056809186935424805, 0.0743355005979538, -0.025810668244957924, 0.009073908440768719, -0.08549221605062485, -0.0019919194746762514, 0.05043577775359154, -0.01979302614927292, 0.006408283952623606, -0.016294682398438454, 0.0020613435190171003, 0.01776258274912834, -0.04028231278061867, -0.00618386548012495, -0.045101698487997055, -0.024438215419650078, -0.01546450238674879, 0.12480802834033966, -0.001380563946440816, 0.04313477873802185, -0.04856913909316063, 0.05156094208359718, 0.00375137641094625, -0.006146540399640799, -0.09003099799156189, 0.0036855561193078756, -0.02547311596572399, 0.0024734176695346832, 0.012349887751042843, 0.012864243239164352, -0.012824678793549538, -0.052372176200151443, 0.0015148932579904795, -0.049577634781599045, -0.0397745817899704, -0.005349794868379831, 0.01479428168386221, -0.03403530642390251, -0.03505121171474457, 0.025349948555231094, 0.07662647217512131, 0.006381513550877571, 0.008207081817090511, 0.025418799370527267, 0.044445671141147614, 0.01811087131500244, -0.022378157824277878, -0.06365133821964264, -0.01762855239212513, 0.03405832126736641, 0.018057215958833694, 0.014301196672022343, 0.039901889860630035, 0.015179326757788658, -0.06381512433290482, 0.020572341978549957, 0.015118933282792568, -0.017796682193875313, -0.005756521597504616, 0.03836412355303764, -0.07524489611387253, -0.028508298099040985, 0.0998724028468132, 0.01962825283408165, 0.02365986257791519, 0.015449668280780315, 0.0607742965221405, -0.013052832335233688, 0.0008406384731642902, 0.01919429935514927, 0.02024240605533123, 0.026526926085352898, -0.026488808915019035, 0.05986785888671875, -0.02554463967680931, -0.03583286330103874, 0.054358310997486115, -0.011859608814120293, -0.053209614008665085, 0.06649153679609299, 0.00973585993051529, -0.006046892609447241, -0.0011049883905798197, -0.04868569225072861, -0.08679291605949402, 0.06995202600955963, -0.02687285840511322, -0.26128965616226196, 0.03820398077368736, 0.060614705085754395, 0.04332351312041283, -0.018204184249043465, 0.04093801975250244, 0.04999574273824692, -0.018041523173451424, 0.011441301554441452, 0.02771148830652237, 0.04394965246319771, 0.05383860692381859, -0.012177667580544949, -0.017386596649885178, 0.008540994487702847, -0.001189528382383287, 0.027394479140639305, 0.018486302345991135, 0.026653945446014404, 0.0059540350921452045, 0.02865776978433132, -0.023054735735058784, 0.16767603158950806, 0.03986701741814613, 0.006482474040240049, 0.05041844770312309, -0.046417590230703354, 0.013953424990177155, 0.06442472338676453, -0.00012211661669425666, -0.03257984295487404, 0.040789272636175156, 0.03801736608147621, 0.009342516772449017, 0.03433427959680557, -0.05243423953652382, 0.0018490669317543507, 0.04377823323011398, 0.015537542290985584, -0.020902790129184723, -0.012992392294108868, 0.009294248186051846, -0.02788037434220314, 0.032283201813697815, 0.07466157525777817, -0.014399256557226181, -0.009630952030420303, -0.015085278078913689, -0.06269753724336624, 0.002826109528541565, -0.0456574484705925, -0.04869638383388519, -0.028395090252161026, -0.004655503202229738, -0.0029481155797839165, 0.08343572169542313, 0.01766696199774742, -0.03115392103791237, -0.0029793735593557358, -0.0014365828828886151, -0.02457844465970993, -0.0497601218521595, 0.10208329558372498, -0.005322569515556097, 0.023295186460018158 ]
[ 0.016712337732315063, 0.029148370027542114, -0.01763749308884144, 0.04890397936105728, -0.010033388622105122, -0.0135065708309412, -0.02463339827954769, 0.002922319108620286, -0.026569515466690063, 0.009900587610900402, -0.01581498049199581, 0.019133269786834717, 0.04817480966448784, -0.0016875321744009852, 0.018737750127911568, 0.043261006474494934, 0.0041735246777534485, 0.02483845129609108, 0.02631956897675991, -0.017841823399066925, -0.025922343134880066, -0.0029585747979581356, 0.04374545440077782, -0.01558701228350401, -0.008368207141757011, 0.01648678444325924, -0.0511920303106308, -0.011394664645195007, 0.019806498661637306, -0.10019760578870773, 0.01623888500034809, -0.01810900680720806, -0.019478630274534225, 0.00520273856818676, -0.02711620181798935, 0.020289190113544464, 0.029348300769925117, 0.03502032533288002, 0.018021639436483383, 0.01827750727534294, 0.02759421057999134, -0.009343666024506092, -0.015446416102349758, 0.02459160052239895, 0.005168067291378975, -0.0424807108938694, -0.05512259155511856, -0.020353330299258232, 0.0017918701050803065, -0.015688462182879448, -0.030390974134206772, -0.0488085001707077, -0.01732453890144825, -0.0011592023074626923, 0.00249548745341599, -0.001409471849910915, -0.031310539692640305, 0.007733946666121483, 0.00458243303000927, 0.001160788699053228, 0.045541465282440186, -0.04099106416106224, -0.03349129110574722, -0.03410233184695244, -0.025684399530291557, -0.018629951402544975, -0.0025227025616914034, -0.005555386189371347, 0.02010895125567913, 0.018099436536431313, 0.00005162131128599867, 0.03751923888921738, -0.07591041922569275, -0.0051661329343914986, -0.03664310276508331, 0.05079557001590729, 0.039883021265268326, 0.033210717141628265, -0.01785137504339218, -0.00992050115019083, -0.03162183612585068, 0.024225907400250435, -0.006813006941229105, 0.0077781835570931435, -0.049943383783102036, 0.027707621455192566, -0.004077785648405552, -0.028670568019151688, 0.008227174170315266, 0.03655353561043739, -0.04407903552055359, -0.008055402897298336, -0.00675696088001132, -0.011153866536915302, -0.10997138917446136, -0.002058882499113679, 0.00600704550743103, -0.008875159546732903, 0.01808837242424488, 0.8294191956520081, 0.000044376418372849, 0.004247172735631466, 0.01114143431186676, 0.0011705872602760792, -0.007885821163654327, 0.008694699965417385, -0.0013653822243213654, 0.013818423263728619, 0.0022194639313966036, 0.009664458222687244, -0.012037995271384716, 0.014496978372335434, 0.023261558264493942, 0.03070293553173542, 0.00543594965711236, 0.004724130500108004, 0.02204066887497902, -0.026175295934081078, 0.015476265922188759, 0.06581662595272064, -0.00844764243811369, 0.012197616510093212, 0.00782098714262247, 0.0010825798381119967, -0.007946823723614216, -0.14354552328586578, 0.007388224359601736, -7.345472445772497e-33, 0.04117653891444206, 0.004267046228051186, 0.03934493660926819, 0.018400421366095543, 0.012666350230574608, 0.013554359786212444, -0.011136186309158802, -0.011131682433187962, 0.001757393591105938, -0.039033595472574234, -0.04396799951791763, -0.020961355417966843, 0.027350621297955513, -0.025732871145009995, 0.014766750857234001, -0.006445874460041523, 0.030352450907230377, 0.006862488575279713, 0.014072051271796227, -0.021737050265073776, 0.006404016632586718, 0.039993930608034134, -0.016793884336948395, 0.036392904818058014, 0.019157903268933296, 0.02795509621500969, 0.015039877034723759, 0.017286267131567, -0.024668050929903984, -0.047187864780426025, -0.023325856775045395, -0.0065985615365207195, -0.006447815801948309, -0.03263075649738312, 0.019448546692728996, -0.060030747205019, -0.019046759232878685, 0.021856265142560005, -0.04218563064932823, -0.05481134355068207, -0.05046974495053291, 0.0026911040768027306, -0.011278786696493626, -0.016939137130975723, -0.038205936551094055, -0.02317488007247448, -0.03163596987724304, 0.0028773387894034386, 0.009117255918681622, -0.013096971437335014, -0.023935627192258835, 0.042219385504722595, 0.02725347690284252, 0.026596592739224434, -0.026067348197102547, -0.008764279074966908, 0.030114931985735893, 0.011353973299264908, -0.02018231526017189, 0.0005640776944346726, 0.020426996052265167, -0.008859786204993725, -0.023230502381920815, 0.020308898761868477, 0.02234608307480812, 0.016978947445750237, -0.02710849419236183, 0.003004551399499178, 0.013320697471499443, 0.025730760768055916, -0.02748452126979828, 0.03723129257559776, 0.0024615987204015255, -0.01386652048677206, 0.01986766792833805, -0.05557619035243988, -0.015511476434767246, -0.027296608313918114, 0.0029910702724009752, 0.024585720151662827, -0.04023819789290428, -0.047902487218379974, 0.008248602040112019, -0.017932066693902016, 0.015528378076851368, -0.018160004168748856, 0.023295201361179352, -0.01365948747843504, 0.036192119121551514, 0.027883974835276604, 0.053461216390132904, 0.045628536492586136, -0.019993802532553673, -0.020148370414972305, 0.0006496920250356197, 7.440331166464009e-33, 0.000448390404926613, 0.018990254029631615, -0.011877194046974182, 0.00687670661136508, 0.03611399233341217, 0.008112089708447456, -0.020070498809218407, 0.046333033591508865, -0.0648101419210434, 0.043737053871154785, -0.029814360663294792, 0.006437026895582676, -0.005050925072282553, 0.019744284451007843, 0.053879089653491974, -0.013369372114539146, 0.03687620535492897, -0.0742068812251091, 0.011429084464907646, 0.004109687637537718, -0.013337230309844017, 0.013941244222223759, -0.007412710692733526, 0.010016810148954391, 0.05273813381791115, 0.01673254370689392, -0.006223464850336313, 0.007595419883728027, -0.024692507460713387, 0.007612290326505899, 0.007058502174913883, -0.04690959304571152, -0.008611168712377548, -0.03073458932340145, -0.00007271133654285222, 0.007061419542878866, -0.006792985834181309, 0.016375357285141945, 0.02315594255924225, -0.014789208769798279, 0.012350313365459442, -0.013340122997760773, -0.033917415887117386, 0.06089417263865471, 0.016525637358427048, 0.02353782393038273, -0.013124450109899044, 0.04770650714635849, -0.032359249889850616, 0.026022620499134064, -0.003168537514284253, 0.015748679637908936, 0.020308392122387886, 0.02918294258415699, 0.029876720160245895, -0.036971792578697205, -0.017397917807102203, 0.031018080189824104, -0.029965829104185104, 0.017537236213684082, -0.00928102619946003, -0.007752497214823961, -0.021864624693989754, 0.030129700899124146, -0.025389906018972397, -0.024764971807599068, -0.004967191722244024, 0.011426767334342003, -0.02888231910765171, 0.007432608399540186, 0.002411012537777424, 0.009551074355840683, -0.028413675725460052, 0.03205578029155731, 0.08823845535516739, -0.007538107223808765, -0.01848592236638069, 0.010043829679489136, -0.05540996417403221, 0.015283524990081787, 0.010907464660704136, 0.03096327930688858, -0.013772830367088318, -0.0035398509353399277, 0.03112553246319294, -0.02317081391811371, -0.04326559230685234, 0.020535094663500786, -0.029896261170506477, -0.010539616458117962, 0.02329062670469284, -0.011437403969466686, -0.05384737625718117, 0.02994927018880844, -0.013368786312639713, -1.2790414949392925e-8, -0.053652457892894745, 0.013925513252615929, -0.0136062391102314, 0.00338861346244812, 0.03013601526618004, 0.031457580626010895, 0.003087581368163228, 0.01897837221622467, 0.006767249200493097, 0.03399039804935455, 0.03711361438035965, -0.017611242830753326, 0.006760651245713234, 0.008905604481697083, 0.01989021524786949, -0.0709071084856987, 0.011429148726165295, -0.011941608041524887, 0.02618076652288437, 0.02339421957731247, -0.007211361546069384, 0.02363419346511364, -0.038500696420669556, 0.008115990087389946, 0.016413209959864616, -0.05248027294874191, 0.036803774535655975, -0.05625120550394058, -0.024982474744319916, -0.009205618873238564, -0.0031689831521362066, -0.008134392090141773, -0.02452855370938778, 0.016946962103247643, -0.0466243214905262, 0.005313577130436897, 0.04446794465184212, 0.0429508276283741, 0.01060274988412857, 0.0420372299849987, 0.008311471901834011, 0.028079485520720482, -0.011636681854724884, -0.01840798743069172, -0.03106558509171009, -0.004444507881999016, -0.03536687046289444, 0.022402668371796608, 0.05044623091816902, -0.044403720647096634, -0.029758911579847336, -0.008857515640556812, 0.014192001894116402, -0.0012211933499202132, 0.022801248356699944, -0.009581548161804676, 0.025264715775847435, -0.026170164346694946, -0.020114922896027565, 0.006863345857709646, 0.04095354303717613, -0.009972110390663147, -0.020754599943757057, -0.040305908769369125 ]
jax-rs-streaming-a-response-using-streamingoutput
https://markhneedham.com/blog/2013/07/08/jax-rs-streaming-a-response-using-streamingoutput
false
2013-07-08 23:48:23
neo4j Unmanaged Extension: Creating gzipped streamed responses with Jetty
[ "neo4j" ]
[ "neo4j" ]
I recently wrote a blog post describing how we http://www.markhneedham.com/blog/2013/07/08/jax-rs-streaming-a-response-using-streamingoutput/[created a streamed response] and the next thing we wanted to do was gzip the response to shrink it's size a bit. A bit of searching led to http://stackoverflow.com/questions/7546783/uncompress-gzip-http-response-using-jersey-client-api-java[GZIPContentEncodingFilter popping up a lot of times] but this is actually needed for a client processing a gripped response rather than helping us to gzip a response from the server. I noticed that there was https://groups.google.com/forum/#!topic/neo4j/D_2HcLufDTw[a question about this on the mailing list from about a year ago] although https://twitter.com/mesirii[Michael] pointed out that the repository has now moved and https://github.com/neo4j-contrib/authentication-extension/blob/1.9/src/main/java/org/neo4j/server/extension/auth/AuthenticationExtensionInitializer.java#L84[the example is available here] instead. I adapted the example a bit and ended up with the following lifecycle plugin: [source,java] ---- package com.markandjim; public class GZipInitialiser implements SPIPluginLifecycle { private WebServer webServer; @Override public Collection<Injectable<?>> start(NeoServer neoServer) { webServer = getWebServer(neoServer); GzipFilter filter = new GzipFilter(); webServer.addFilter(filter, "/*"); return Collections.emptyList(); } private WebServer getWebServer(final NeoServer neoServer) { if (neoServer instanceof AbstractNeoServer) { return ((AbstractNeoServer) neoServer).getWebServer(); } throw new IllegalArgumentException("expected AbstractNeoServer"); } @Override public Collection<Injectable<?>> start(GraphDatabaseService graphDatabaseService, Configuration configuration) { throw new IllegalAccessError(); } @Override public void stop() { } } ---- I then added the following line to 'resources/META-INF/services/org.neo4j.server.plugins.PluginLifecycle: [source,text] ---- com.markandjim.GZipInitialiser ---- After compiling that and deploying the JAR to the 'plugins' I tried calling the end point using cURL: [source,text] ---- $ curl -H "Accept-Encoding:gzip,deflate" -v http://localhost:7474/unmanaged/subgraph/1000/1 * About to connect() to localhost port 7474 (#0) * Trying ::1... * Connection refused * Trying 127.0.0.1... * connected * Connected to localhost (127.0.0.1) port 7474 (#0) > GET /unmanaged/subgraph/1000/1 HTTP/1.1 > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 > Host: localhost:7474 > Accept: */* > Accept-Encoding:gzip,deflate > < HTTP/1.1 200 OK < Content-Type: text/plain < Access-Control-Allow-Origin: * < Content-Encoding: gzip < Transfer-Encoding: chunked < Server: Jetty(6.1.25) --- gibberish! ---- The GZIPContentEncodingFilter that I mentioned earlier comes in handy if we want to call the end point from a Jersey client: [source,java] ---- public class Neo4jJerseyClient { public static void main(String[] args) { Client client = Client.create(); client.addFilter(new GZIPContentEncodingFilter(false)); WebResource webResource = client.resource("http://localhost:7474/unmanaged/subgraph/1000/1"); ClientResponse response = webResource.header("accept-encoding", "gzip,deflate").get(ClientResponse.class); System.out.println("response = " + response.getEntity(String.class)); } } ---- We could also call it using HTTParty from the land of Ruby: [source,ruby] ---- response = HTTParty.get("http://localhost:7474/unmanaged/subgraph/1000/1", :headers => { 'Accept-Encoding' => 'gzip,deflate' } ) p response ----
null
null
[ 0.0067316158674657345, -0.07041589915752411, 0.0074076042510569096, 0.03124784305691719, 0.06373991072177887, 0.01555600669234991, 0.02790430188179016, 0.026562444865703583, -0.002222613897174597, -0.021899547427892685, -0.009412597864866257, -0.04372886195778847, -0.08876092731952667, 0.011608378030359745, -0.025775359943509102, 0.05193047598004341, 0.05390287563204765, 0.00045021268306300044, 0.034476663917303085, 0.004408845212310553, 0.021485621109604836, 0.02909073419868946, -0.002821220550686121, 0.02309809997677803, 0.0517452098429203, 0.01422254741191864, -0.021499138325452805, 0.034285642206668854, -0.049439940601587296, -0.00811221357434988, 0.0580817274749279, 0.02759060449898243, 0.009406371042132378, -0.02401880919933319, 0.03454777970910072, -0.015689073130488396, -0.041352566331624985, 0.024639084935188293, -0.004411512520164251, 0.03410313278436661, -0.072198286652565, 0.029250752180814743, -0.04348530247807503, 0.0037067695520818233, -0.040410902351140976, 0.009496430866420269, -0.012910867109894753, 0.011276633478701115, -0.03135358542203903, 0.011016152799129486, -0.05453447625041008, 0.04639679193496704, -0.026345111429691315, 0.00875819381326437, 0.014360259287059307, 0.047313641756772995, 0.016837460920214653, -0.06695627421140671, 0.043700944632291794, -0.03796481713652611, -0.026788443326950073, -0.04411083087325096, 0.009079634211957455, 0.01659245789051056, -0.04171939939260483, -0.036605995148420334, -0.028432976454496384, 0.08250293135643005, -0.026215210556983948, 0.008672432042658329, 0.016644837334752083, 0.013918336480855942, 0.0037217859644442797, 0.0012967385118827224, 0.03347468376159668, -0.034380633383989334, -0.0014254460111260414, 0.05056432634592056, 0.015979032963514328, 0.047121401876211166, -0.038079917430877686, -0.0178133063018322, 0.02912193350493908, 0.03200972080230713, 0.007951054722070694, -0.04979310184717178, -0.018994254991412163, 0.02036464586853981, -0.048126038163900375, 0.06009997799992561, 0.016624366864562035, -0.04932306706905365, -0.0007122447714209557, 0.0023415053728967905, -0.013452422805130482, 0.03559558093547821, -0.027066821232438087, 0.010143822990357876, -0.0016958154737949371, -0.0043731327168643475, -0.04701367765665054, -0.0025395818520337343, -0.002744776662439108, 0.0014464163687080145, -0.05912663787603378, -0.02806507796049118, -0.025417236611247063, -0.03176047280430794, 0.0011792328441515565, 0.002464368473738432, -0.002078531077131629, 0.0220772847533226, -0.02936520427465439, 0.008863953873515129, -0.0836334377527237, 0.05795900896191597, 0.009412634186446667, -0.05365213379263878, -0.019663376733660698, 0.044093046337366104, 0.03706127032637596, 0.025044385343790054, -0.0038998837117105722, 0.07932419329881668, -0.0008566954638808966, 0.024236366152763367, 0.020451510325074196, 0.03552797809243202, -0.02487749233841896, -0.07470592856407166, 0.0012023006565868855, 0.05912799388170242, 0.017447104677557945, 0.025034872815012932, -0.002367400797083974, 0.004698484670370817, 0.0027890291530638933, -0.0249086394906044, 0.06725959479808807, -0.007170470431447029, -0.01873800903558731, -0.030602887272834778, 0.002338907914236188, 0.005095538683235645, 0.05836958810687065, 0.010800199583172798, -0.000245570729020983, -0.06416939944028854, -0.02864266373217106, 0.020845966413617134, 0.002088470384478569, 0.017978325486183167, 0.03783780708909035, -0.025368724018335342, -0.0012620935449376702, 0.07904577255249023, 0.013019245117902756, 0.01958870328962803, -0.012040546163916588, 0.016322361305356026, 0.023479314520955086, 0.008107531815767288, -0.007080659735947847, 0.04619791358709335, -0.013236683793365955, 0.00791910383850336, -0.017354877665638924, 0.03955485299229622, -0.0018503036117181182, -0.021184418350458145, -0.03271575644612312, -0.08579306304454803, 0.03670979291200638, -0.021092107519507408, 0.010507163591682911, 0.008512516506016254, 0.09093785285949707, 0.03156454861164093, 0.0300595723092556, -0.009998477064073086, -0.07004736363887787, 0.04232627898454666, 0.03033618815243244, 0.04256109520792961, 0.009614415466785431, -0.014876327477395535, 0.07142429798841476, 0.040495846420526505, 0.009138190187513828, 0.03183600306510925, -0.08334355801343918, -0.04978470504283905, -0.03192271664738655, 0.010723165236413479, 0.0636049434542656, -0.01638784073293209, -0.015780987218022346, 0.07784080505371094, 0.018153849989175797, 0.005179889965802431, 0.012532006949186325, -0.0032219437416642904, 0.016614627093076706, -0.059045836329460144, -0.05558719485998154, 0.04815865308046341, 0.04027841240167618, -0.043489642441272736, -0.031141679733991623, 0.0009987781522795558, -0.01463804766535759, 0.007683948148041964, 0.011887743137776852, -0.028190987184643745, 0.030776958912611008, 0.017166532576084137, 0.031289927661418915, -0.0010046353563666344, 0.03352658450603485, -0.05970694124698639, 0.05405281111598015, -0.005254865158349276, -0.01584223471581936, -0.012814648449420929, -0.005407572723925114, 0.13391053676605225, 0.0287346038967371, -0.011936148628592491, -0.06024191156029701, 0.023796269670128822, -0.003218682250007987, -0.04279206693172455, -0.0022462797351181507, -0.007829923182725906, 0.004393459763377905, 0.01664404571056366, -0.023064024746418, -0.03568758815526962, -0.005394486710429192, -0.024202682077884674, 0.01992746628820896, 0.06353696435689926, -0.020199676975607872, 0.048751167953014374, 0.019027957692742348, 0.0031372669618576765, -0.009562058374285698, -0.03901363164186478, -0.05848867446184158, 0.011608785018324852, 0.007438353728502989, 0.006838798988610506, 0.07235509157180786, -0.01778491586446762, -0.012424184009432793, -0.009473341517150402, -0.06957422196865082, 0.025982074439525604, 0.035689376294612885, 0.050761666148900986, -0.011645118705928326, 0.027392856776714325, -0.025319721549749374, 0.000519568391609937, -0.028943413868546486, -0.038919176906347275, -0.03160100430250168, -0.0065264324657619, 0.016795644536614418, 0.007459692191332579, 0.01253790408372879, 0.014928532764315605, 0.02506612427532673, 0.013839383609592915, 0.0004061771905981004, -0.02673901990056038, 0.03291885182261467, -0.00951150618493557, 0.014884095638990402, -0.024868229404091835, -0.022665200755000114, 0.0445401668548584, -0.04417157918214798, -0.03681208938360214, -0.00808324757963419, -0.06865283846855164, 0.06033309921622276, -0.03123290464282036, -0.04866532236337662, -0.0205669142305851, 0.04150495305657387, 0.04006367176771164, 0.028499986976385117, 0.008885204792022705, 0.08559310436248779, 0.005548866465687752, 0.003606697078794241, 0.013015376403927803, 0.0007968826685100794, 0.038993701338768005, -0.03095962479710579, 0.015498541295528412, 0.04248557984828949, -0.001470958348363638, -0.01354220975190401, -0.046929724514484406, 0.027260875329375267, -0.025174392387270927, -0.27745646238327026, 0.06244021654129028, 0.028440415859222412, -0.03350389376282692, 0.03506683185696602, -0.017675595358014107, 0.020204972475767136, -0.04348689317703247, -0.02616792730987072, 0.022094203159213066, -0.014845873229205608, -0.02927297353744507, 0.014048640616238117, 0.034634970128536224, -0.00278311874717474, 0.022090088576078415, -0.00623328797519207, -0.004445142112672329, -0.013190735131502151, 0.0100456727668643, 0.018158970400691032, -0.05612814053893089, 0.012694860808551311, 0.018103543668985367, 0.030764970928430557, 0.03655906021595001, -0.08110246062278748, 0.0537683479487896, -0.03346972167491913, -0.0025883102789521217, 0.01718095876276493, -0.03465981036424637, 0.020211974158883095, 0.030529510229825974, -0.03799448907375336, 0.001751538715325296, 0.022999053820967674, 0.03301246091723442, 0.0028244596906006336, 0.022904906421899796, -0.035266611725091934, -0.06057121604681015, -0.03660549595952034, -0.034839972853660583, 0.06147264689207077, 0.018388157710433006, -0.05726388096809387, 0.005173718091100454, -0.018639426678419113, 0.07193988561630249, -0.00965938251465559, -0.05975322052836418, -0.008188134990632534, 0.028310760855674744, -0.015305738896131516, -0.03399822488427162, -0.01947980932891369, -0.004709459841251373, -0.032838087528944016, -0.06358372420072556, 0.019323235377669334, -0.020016985014081, -0.03611385449767113, -0.05282265692949295, -0.009032785892486572, -0.04399899020791054, -0.054543979465961456, -0.027362041175365448, 0.07022443413734436, 0.011862337589263916, -0.023057272657752037, 0.004468429367989302, 0.008005787618458271, -0.09722428768873215, -0.021662265062332153, -0.05429182946681976, -0.03155297413468361, 0.007322163786739111, -0.01721743866801262, 0.06386630237102509, -0.0633198544383049, -0.02176441252231598, -0.007777994964271784, 0.01350306160748005, 0.030391111969947815, -0.029314085841178894, -0.0011302786879241467, -0.04025636613368988, -0.01772221550345421, 0.017234262079000473, 0.07519238442182541, -0.06134740263223648, -0.05232345685362816, -0.020541535690426826, 0.013564340770244598, 0.051865074783563614, -0.0021511518862098455, 0.019328776746988297, 0.020244175568223, 0.04456940293312073, 0.04399413987994194, -0.03770824149250984, 0.021946972236037254, -0.02749352529644966, 0.015788517892360687, 0.004324656445533037, -0.04677717760205269, 0.031225325539708138, 0.020590011030435562, 0.028121942654252052, -0.005584511905908585, -0.03536932170391083, 0.014122805558145046, -0.04828612506389618, -0.04276713356375694, -0.00674688583239913, -0.009505967609584332, 0.024452222511172295, 0.034407857805490494, -0.029021305963397026, -0.010960651561617851, 0.020528340712189674, 0.032954271882772446, -0.016949225217103958, -0.03751123324036598, -0.03416600823402405, -0.003535109106451273, -0.02423352375626564, 0.012663058936595917, 0.004057861864566803, -0.009466409683227539, 0.021629251539707184, 0.004624028690159321, -0.02598818950355053, 0.030743347480893135, -0.021847600117325783, -0.033312827348709106, -0.05265098437666893, 0.018827548250555992, -0.008342026732861996, -0.002609826624393463, -0.01643170602619648, -0.011041748337447643, 0.05926967412233353, 0.056359678506851196, 0.03391522914171219, 0.061507448554039, 0.023026037961244583, 0.0027482931036502123, -0.019558070227503777, 0.024015894159674644, -0.06042599305510521, -0.027437085285782814, -0.02411055751144886, -0.04618041589856148, -0.009503676556050777, 0.04317805543541908, -0.004600245971232653, -0.024446183815598488, -0.023065762594342232, 0.02557528391480446, -0.07912351191043854, -0.02035081572830677, -0.0012976460857316852, -0.02170957438647747, 0.05620943009853363, -0.013192650862038136, 0.02944391965866089, -0.0313979834318161, -0.03754224255681038, 0.012962693348526955, 0.021082215011119843, -0.025163592770695686, 0.017356710508465767, 0.03200395032763481, 0.015564107336103916, 0.020850125700235367, 0.0434754341840744, 0.05429574102163315, 0.021930363029241562, -0.0015371530316770077, -0.039650190621614456, 0.03527339920401573, 0.014031050726771355, 0.03298311308026314, 0.05019768327474594, -0.016552753746509552, 0.006139784585684538, -0.031460393220186234, -0.008203662931919098, -0.03227809816598892, 0.01665310375392437, -0.017181886360049248, 0.035727664828300476, -0.006513257045298815, -0.08415599912405014, 0.045883908867836, 0.012171541340649128, 0.008136365562677383, 0.03627665340900421, 0.010831861756742, 0.03867979720234871, -0.02531348168849945, 0.0354730486869812, 0.02676158957183361, -0.03399663791060448, -0.014569246210157871, -0.00790315866470337, 0.00846374686807394, 0.0011569516500458121, 0.008470372296869755, -0.08646133542060852, -0.018199361860752106, -0.004990626126527786, 0.006240443326532841, -0.03906797617673874, -0.05161092430353165, 0.0073869661428034306, 0.032141052186489105, -0.01266462355852127, 0.010667013004422188, 0.01271130982786417, -0.007789977360516787, -0.014467155560851097, -0.011593421921133995, 0.039511095732450485, -0.011667726561427116, -0.021539421752095222, -0.008725267834961414, -0.0239870622754097, 0.029830968007445335, -0.00336980982683599, 0.030995778739452362, 0.02912268228828907, -0.004899168852716684, -0.015730153769254684, -0.035169102251529694, 0.03449144959449768, -0.004619129002094269, 0.05486742779612541, 0.01195061020553112, 0.007190351374447346, -0.0329098142683506, 0.01910477504134178, -0.03624860197305679, 0.02009463869035244, -0.0041965944692492485, 0.016603337600827217, 0.00946095772087574, 0.046160656958818436, 0.026940926909446716, 0.03639087453484535, -0.014695356599986553, -0.035751450806856155, 0.06911146640777588, -0.053287725895643234, -0.056087248027324677, -0.027574928477406502, -0.057099029421806335, 0.006853126455098391, 0.03779096528887749, 0.0368780642747879, -0.03389056771993637, 0.056287363171577454, 0.06451558321714401, 0.009059627540409565, 0.04386341571807861, -0.006479565519839525, 0.014050721190869808, -0.03641277924180031, -0.01939539797604084, -0.07900283485651016, -0.00466798385605216, 0.06244869902729988, 0.02024182304739952, 0.021744199097156525, -0.014740224927663803, -0.0443757139146328, 0.02810882218182087, -0.05076076090335846, -0.014005766250193119, 0.028345048427581787, -0.029784325510263443, 0.01146533153951168, -0.010701293125748634, -0.08966782689094543, 0.0429389551281929, 0.03130875900387764, -0.04129152372479439, -0.04118733108043671, -0.04516914114356041, 0.04446794465184212, -0.006579602137207985, 0.021609947085380554, -0.025537034496665, -0.017893189564347267, 0.06637048721313477, 0.0010763457976281643, 0.008898153901100159, 0.025829754769802094, -0.025397002696990967, 0.007716577034443617, 0.04354530945420265, -0.00330806034617126, 0.004727546125650406, 0.009224941954016685, -0.025842292234301567, -0.056459568440914154, 0.03286266699433327, 0.01371743157505989, -0.04153796657919884, -0.033919960260391235, 0.05330915376543999, 0.01941850408911705, -0.04343453422188759, -0.06082868203520775, 0.03482219576835632, -0.030256362631917, -0.033266305923461914, -0.03573555126786232, 0.03282809630036354, -0.05659778043627739, 0.05095865577459335, -0.025554802268743515, -0.0062607089057564735, 0.06441863626241684, -0.008719291538000107, -0.002592165721580386, 0.013703481294214725, 0.09055416285991669, 0.09301180392503738, -0.011669047176837921, -0.004103595856577158, 0.04995870590209961, -0.02031668648123741, -0.03481903299689293, 0.01031685620546341, -0.027268551290035248, -0.04155305400490761, 0.015604054555296898, 0.007212004624307156, 0.04397334158420563, -0.016827847808599472, 0.09104444086551666, -0.041411709040403366, -0.022327084094285965, -0.008312796242535114, 0.02180005982518196, 0.03427990898489952, -0.0012317525688558817, 0.004759835544973612, 0.010825974866747856, -0.037626963108778, -0.02894146554172039, 0.0022000710014253855, 0.01714424416422844, -0.02419321984052658, 0.008915726095438004, -0.02267662063241005, 0.0002638089645188302, -0.001760598155669868, 0.005293732509016991, 0.06419475376605988, -0.027691952884197235, 0.019525161013007164, 0.0021134985145181417, -0.010954424738883972, -0.003810758236795664, -0.004641030449420214, -0.021709943190217018, -0.050749123096466064, -0.014727701433002949, -0.0258675254881382, -0.014723977074027061, 0.00831870548427105, -0.0530615970492363, 0.001474775723181665, -0.015862466767430305, 0.014701119624078274, -0.0012270045699551702, -0.027382265776395798, -0.0322607196867466, -0.053545936942100525, -0.056511059403419495, -0.055173639208078384, -0.07217048108577728, -0.004624048713594675, -0.011465446092188358, 0.0014681153697893023, -0.03350863605737686, -0.02327648177742958, -0.03913600370287895, -0.020095335319638252, 0.05064403638243675, -0.04621144011616707, 0.02155819535255432, 0.015054063871502876, 0.018363285809755325, 0.010923448950052261, 0.030539052560925484, 0.05550858750939369, 0.03903476893901825, -0.003713255748152733, -0.03474659100174904, 0.003463601693511009, 0.05373585596680641, 0.04585663601756096, -0.006038816645741463, -0.09326932579278946, 0.0006448979838751256, 0.030135799199342728, 0.011550255119800568, -0.06465548276901245, -0.010042869485914707, 0.03961045667529106, -0.0016195826465263963, 0.054127540439367294, 0.0028804042376577854, -0.0050548044964671135, -0.030531594529747963, -0.02794831432402134, 0.021736755967140198, 0.0073913512751460075, 0.038984742015600204, 0.005069739185273647, 0.07864608615636826, 0.07691515237092972, -0.03961756080389023, -0.031135015189647675, 0.011007451452314854, -0.01981561817228794, 0.029369443655014038, -0.04444574937224388, -0.023994775488972664, -0.0668119490146637, -0.07378513365983963, -0.032532207667827606, 0.01360499020665884, -0.0316711850464344, -0.017183642834424973, 0.021029293537139893, 0.051388394087553024, -0.013146176934242249, 0.008616982959210873, -0.02624412626028061, 0.03264080733060837, -0.010858169756829739, -0.029660576954483986, -0.03305407613515854, -0.011335475370287895, 0.013123015873134136, -0.01507966686040163, 0.010051938705146313, -0.043696656823158264, -0.011522718705236912, 0.009841670282185078, 0.03783424198627472, 0.06495554000139236, 0.021867617964744568, -0.01923367939889431 ]
[ -0.06164473295211792, 0.005872625391930342, -0.03184002637863159, -0.03943252936005592, 0.07355603575706482, -0.05005360022187233, -0.021694989874958992, 0.04126080498099327, -0.0014637166168540716, -0.015594042837619781, 0.015352481976151466, -0.014185206033289433, -0.007863393984735012, 0.025153888389468193, 0.08797737956047058, -0.03329796716570854, -0.015877164900302887, -0.007145868148654699, -0.04319478198885918, 0.03547743335366249, 0.013591155409812927, -0.01674352027475834, 0.011167124845087528, -0.06842786818742752, -0.0002471125335432589, -0.021524252369999886, 0.022750943899154663, 0.0005354996537789702, -0.021434981375932693, -0.18679627776145935, 0.0005394367035478354, 0.00878967996686697, 0.011482692323625088, -0.013628627173602581, -0.005328830797225237, 0.04552381485700607, 0.02786952070891857, -0.014609106816351414, -0.009300588630139828, 0.05074663832783699, 0.022274307906627655, 0.04795769229531288, -0.10072556883096695, -0.009073138236999512, 0.033426158130168915, -0.0006643424276262522, -0.015935733914375305, -0.000395619950722903, -0.04241152107715607, 0.031895361840724945, -0.04132614657282829, 0.014107118360698223, 0.03585167974233627, 0.009851937182247639, -0.00642175879329443, 0.0009433615487068892, 0.02555629052221775, 0.09267900884151459, 0.025930454954504967, 0.003481336170807481, 0.0023704145569354296, -0.004224100150167942, -0.13843414187431335, 0.10146366059780121, -0.004428642336279154, 0.03509250283241272, -0.05111630633473396, 0.023265274241566658, -0.009310987778007984, 0.07146874815225601, -0.013283523730933666, 0.0064027500338852406, -0.04546910524368286, 0.06403603404760361, -0.03536629676818848, 0.04673915356397629, 0.01250369381159544, 0.05792928487062454, 0.03754077106714249, -0.033647868782281876, -0.050619129091501236, -0.024072641506791115, -0.005242268089205027, -0.00899887178093195, -0.06746873259544373, 0.0004605133435688913, -0.018067283555865288, 0.049439482390880585, 0.02655390277504921, 0.03304857760667801, -0.00031314612715505064, -0.026667222380638123, 0.04719746112823486, 0.0060128821060061455, -0.08770537376403809, 0.0029781884513795376, -0.026348242536187172, 0.004676815588027239, -0.03615884110331535, 0.39356687664985657, 0.04320639744400978, -0.007749383337795734, 0.04887694492936134, 0.03398190066218376, 0.038521893322467804, -0.019624514505267143, -0.008754484355449677, -0.041373949497938156, 0.022029561921954155, 0.010328970849514008, -0.00874886941164732, -0.05314323306083679, 0.046822480857372284, -0.059974554926157, 0.018659871071577072, 0.023393673822283745, 0.019313719123601913, 0.037252027541399, -0.03634006157517433, 0.021309014409780502, -0.0442972257733345, -0.02144506201148033, 0.02263275906443596, -0.01879853755235672, 0.07171767950057983, 0.01495577022433281, 0.013448272831737995, 0.03031637892127037, 0.04538406804203987, 0.03127332404255867, 0.018656544387340546, -0.02752421610057354, -0.06533040851354599, 0.002110503613948822, 0.0067879818379879, 0.030202709138393402, 0.055542100220918655, -0.043903324753046036, -0.007904675789177418, 0.02903326414525509, 0.017468484118580818, 0.005141457077115774, 0.010170891880989075, -0.03810322284698486, -0.04305662214756012, 0.13339324295520782, -0.00839583296328783, -0.011820456944406033, -0.01743333414196968, -0.0648263543844223, 0.019761713221669197, 0.06949694454669952, -0.02499118074774742, -0.0625685453414917, 0.0001549107109894976, 0.02596014179289341, 0.044257357716560364, -0.0017443012911826372, -0.06958525627851486, 0.010116418823599815, -0.005154944956302643, -0.027371423318982124, -0.011327567510306835, 0.06030907481908798, 0.054321590811014175, -0.11241710186004639, -0.02229791320860386, 0.012815315276384354, 0.014669112861156464, -0.05590156465768814, 0.003130675759166479, 0.014524267986416817, -0.023578442633152008, -0.052492257207632065, 0.021852785721421242, -0.02722056396305561, -0.0053265755996108055, -0.014893781393766403, 0.04351004585623741, 0.03220358118414879, 0.007662294432520866, -0.009584782645106316, -0.03117506206035614, -0.00021488050697371364, -0.03972070664167404, -0.06182720139622688, -0.04126978665590286, 0.05333874002099037, -0.03484473377466202, -0.007626771926879883, -0.055055033415555954, -0.005536268465220928, -0.036469824612140656, 0.06910383701324463, -0.005230294540524483, -0.002346160588786006, 0.006970230955630541, -0.013890675269067287, -0.006574531085789204, -0.034807078540325165, 0.05846726521849632, 0.0528779961168766, -0.0012869116617366672, 0.04772074148058891, -0.0416078083217144, 0.058317430317401886, 0.08355839550495148, -0.045800045132637024, 0.04382508248090744, 0.031164955347776413, -0.05062280222773552, -0.004685946274548769, -0.029822630807757378, -0.0003864416794385761, 0.003447965020313859, -0.007046054117381573, 0.017413605004549026, 0.00858021154999733, 0.028481412678956985, 0.009868522174656391, -0.03207492455840111, -0.018185604363679886, -0.03452576324343681, -0.34029915928840637, -0.04113605245947838, -0.0026203966699540615, -0.017493845894932747, 0.021088548004627228, -0.04100286215543747, 0.01833580620586872, -0.041198138147592545, 0.04617871344089508, 0.023317163810133934, 0.1044873297214508, -0.003877196926623583, -0.01444281917065382, -0.0893726646900177, 0.013326817192137241, 0.028175562620162964, -0.003730299649760127, 0.007132253609597683, -0.015440857969224453, 0.0003685812116600573, 0.003916160669177771, -0.014254306443035603, -0.023005196824669838, -0.01863075979053974, 0.010949846357107162, -0.02208184078335762, 0.09230319410562515, 0.012517828494310379, 0.049308665096759796, -0.09280280768871307, 0.030493691563606262, 0.03247000277042389, 0.004235994070768356, -0.12476600706577301, -0.001485939952544868, 0.014666346833109856, 0.010561139322817326, 0.022031351923942566, 0.04851389303803444, -0.01562635228037834, -0.05248960480093956, -0.007639382965862751, -0.056996118277311325, -0.08534926921129227, 0.011032474227249622, 0.008642585016787052, -0.05288377031683922, -0.024821268394589424, 0.002807386452332139, 0.05003989115357399, -0.017643820494413376, -0.025436369702219963, 0.03159548342227936, 0.018055038526654243, 0.05698483809828758, -0.02491701766848564, -0.045482829213142395, -0.018660539761185646, 0.023024313151836395, 0.010482046753168106, 0.03141560032963753, 0.031360525637865067, 0.039619334042072296, -0.0908755213022232, 0.011827956885099411, 0.02606995776295662, 0.0021393143106251955, 0.0014425155241042376, 0.02058832347393036, -0.06434855610132217, -0.030691128224134445, 0.12266925722360611, -0.011042946949601173, 0.06370542198419571, 0.02458447776734829, 0.05673617124557495, -0.032688673585653305, -0.006864624563604593, 0.03305578976869583, -0.01535988412797451, 0.04438644275069237, 0.013919992372393608, 0.06344233453273773, -0.04965352639555931, 0.013683733530342579, 0.0828028991818428, -0.04961368069052696, -0.026323821395635605, 0.053933702409267426, 0.007183834910392761, -0.028265101835131645, -0.02237635850906372, -0.054751455783843994, -0.06929329037666321, 0.02012011595070362, -0.014329701662063599, -0.270508736371994, 0.019439177587628365, 0.03315920755267143, 0.04981034994125366, -0.011751532554626465, 0.020126864314079285, 0.06631141901016235, -0.03285833075642586, -0.027790211141109467, 0.03953878581523895, -0.008533776737749577, 0.06623797863721848, 0.006518881767988205, 0.011291317641735077, 0.013896696269512177, 0.001446829759515822, -0.0011241332395002246, 0.02498791366815567, 0.010759781114757061, -0.029902895912528038, 0.020132843405008316, -0.051035791635513306, 0.17022858560085297, 0.029089178889989853, 0.015397910960018635, 0.07097272574901581, -0.018919894471764565, -0.006927903741598129, 0.05224154517054558, -0.0411253459751606, -0.028267525136470795, 0.04713205620646477, 0.012405783869326115, -0.000006644559562118957, 0.008848222903907299, -0.10175935924053192, -0.004194709938019514, 0.04229249432682991, 0.0033989930525422096, -0.011891140602529049, -0.02722408063709736, 0.008608643896877766, 0.007057277951389551, 0.03221221640706062, 0.06732697039842606, -0.046573199331760406, -0.008136390708386898, -0.014905647374689579, -0.0758858248591423, 0.009520749561488628, -0.02780235931277275, -0.048566918820142746, 0.016309721395373344, -0.043258752673864365, -0.011557168327271938, 0.05437030643224716, -0.015388020314276218, -0.044927023351192474, -0.006652498152107, 0.04956720024347305, 0.0015527067007496953, -0.040062591433525085, 0.07557366043329239, -0.01045572105795145, 0.01208510808646679 ]
[ -0.014215602539479733, 0.05531617999076843, -0.0239364393055439, 0.03637973219156265, 0.027046186849474907, 0.0015454323729500175, 0.0029300334863364697, 0.025666670873761177, -0.010280556976795197, -0.01641186699271202, -0.015566217713057995, 0.017614249140024185, 0.04804972931742668, 0.020279496908187866, -0.004632034804672003, -0.009535655379295349, -0.006607099436223507, 0.012528977356851101, 0.017392700538039207, -0.015114971436560154, -0.0021372574847191572, 0.01289235707372427, 0.02250652201473713, -0.017525335773825645, 0.012006394565105438, 0.0335715115070343, -0.010048586875200272, -0.016500169411301613, 0.01263517513871193, -0.12194085121154785, -0.0025323943700641394, -0.010054018348455429, -0.004341345280408859, -0.0268779918551445, -0.01607668586075306, 0.038413260132074356, 0.0486953966319561, 0.00500204972922802, -0.03213882073760033, 0.001325308927334845, 0.0155845507979393, -0.004401735495775938, -0.033866461366415024, 0.02579004503786564, -0.031154578551650047, -0.011241543106734753, -0.008865351788699627, -0.00853430200368166, -0.02528558298945427, 0.00006992432463448495, -0.0354904942214489, -0.010997820645570755, 0.00783661101013422, 0.04666190594434738, -0.02701232023537159, -0.032403770834207535, -0.07869325578212738, -0.015424549579620361, -0.006232846062630415, -0.00253966823220253, -0.004760595504194498, -0.011766619049012661, -0.05255011469125748, -0.00409659743309021, -0.0010782686294987798, -0.0006151917623355985, 0.05399197340011597, -0.0015599456382915378, -0.007762417197227478, -0.013746870681643486, -0.0015392204513773322, 0.04801616445183754, -0.05995248258113861, 0.01794905960559845, -0.03816166892647743, -0.0016241853591054678, 0.02514457330107689, 0.018285555765032768, -0.015053315088152885, 0.01766243390738964, -0.002374921226873994, -0.015545052476227283, 0.008107051253318787, 0.021425019949674606, -0.04103586822748184, 0.024478308856487274, -0.01370819378644228, -0.004757826682180166, -0.007550413254648447, 0.024049369618296623, -0.047739990055561066, 0.03006657585501671, -0.026058237999677658, -0.0034674154594540596, -0.08768932521343231, 0.0033051082864403725, 0.0010220338590443134, -0.012391244061291218, -0.02281954139471054, 0.8306089639663696, 0.037852827459573746, 0.024312935769557953, 0.030257025733590126, 0.007682690862566233, 0.010793800465762615, -0.05738462507724762, -0.008197291754186153, 0.047223445028066635, 0.019995683804154396, 0.018862763419747353, -0.03531485050916672, 0.02975250408053398, 0.0353708453476429, -0.009196871891617775, 0.015531777404248714, 0.040197767317295074, 0.019214631989598274, 0.005738303065299988, -0.006048859562724829, 0.038873787969350815, 0.016175389289855957, 0.004873672500252724, -0.017367135733366013, 0.030043693259358406, 0.05598877742886543, -0.1445419192314148, -0.017714999616146088, -6.746636685213253e-33, 0.05670883134007454, -0.0051948134787380695, 0.03406241163611412, 0.03704177960753441, -0.0017822697991505265, 0.007717089261859655, 0.02245229482650757, -0.010523371398448944, -0.008700783364474773, -0.03309827297925949, 0.0015521508175879717, -0.032274842262268066, 0.012812350876629353, -0.015385732054710388, 0.015225461684167385, -0.01832159236073494, -0.007170745171606541, 0.00869158934801817, 0.011457348242402077, -0.0016951179131865501, -0.029464874416589737, 0.035534635186195374, -0.006945041939616203, 0.007919924333691597, -0.01977657899260521, 0.022657491266727448, 0.010646858252584934, -0.0005387173150666058, -0.019960617646574974, -0.04284432902932167, 0.0020485464483499527, 0.0026321932673454285, -0.038049325346946716, -0.0065388609655201435, 0.015325370244681835, -0.04417802765965462, -0.011772087775170803, -0.015322291292250156, -0.04416346922516823, -0.08316829055547714, -0.03161431849002838, 0.012159031815826893, -0.042153943330049515, 0.006726856343448162, -0.03527410700917244, -0.0710863471031189, 0.0036183118354529142, -0.010081209242343903, -0.01050941925495863, -0.013691346161067486, 0.03979780897498131, 0.02780052460730076, 0.013486875221133232, -0.0069321864284574986, -0.05147407948970795, 0.02552725560963154, 0.03630336746573448, 0.02478097379207611, -0.02085355669260025, 0.027781203389167786, 0.02773578092455864, 0.010164542123675346, -0.010641983710229397, 0.025452380999922752, 0.04590526968240738, 0.0017707442166283727, -0.027555137872695923, 0.010902420617640018, -0.0029808268882334232, 0.029577314853668213, -0.023662175983190536, 0.0006384705193340778, 0.02618260867893696, 0.0020106995943933725, 0.000680683646351099, -0.03410017862915993, 0.02225719578564167, -0.02960258722305298, 0.026300931349396706, 0.018831608816981316, 0.016520636156201363, -0.05124133080244064, 0.03279247507452965, 0.016008954495191574, -0.02290423959493637, -0.01681389845907688, 0.04841763153672218, -0.006934724282473326, 0.03344691917300224, -0.003495995420962572, 0.062748484313488, 0.024754326790571213, 0.013385078869760036, -0.032279692590236664, -0.011348064988851547, 6.675898373916644e-33, -0.020205587148666382, -0.0009212254662998021, -0.03361421450972557, -0.00515407882630825, 0.04215708747506142, 0.014088628813624382, 0.006826638709753752, 0.06059911474585533, -0.04487850144505501, 0.007132876664400101, -0.0008445150451734662, 0.018332356587052345, -0.030706917867064476, 0.03625716269016266, 0.03530138358473778, -0.003064565360546112, 0.031557660549879074, -0.07613661140203476, 0.03434152156114578, -0.0010513575980439782, 0.0030450013000518084, -0.02128327265381813, 0.00987948291003704, 0.007687385659664869, 0.03642165660858154, 0.010691548697650433, -0.0194659736007452, 0.023775549605488777, -0.01778596080839634, -0.02269427292048931, 0.0409432090818882, -0.03446078673005104, -0.003846637671813369, -0.021382376551628113, 0.018053827807307243, -0.013919571414589882, -0.008572576567530632, 0.04701928049325943, 0.03811376169323921, -0.016643518581986427, -0.03060324676334858, -0.03393696993589401, -0.003759395331144333, 0.03864295408129692, 0.041421376168727875, -0.008198756724596024, -0.011306255124509335, -0.018970636650919914, -0.0007374623673968017, 0.039271220564842224, -0.024896472692489624, 0.04689249396324158, -0.005546305328607559, 0.045916520059108734, 0.029743539169430733, -0.03401994705200195, -0.013879403471946716, 0.00998879037797451, 0.015365648083388805, -0.000711542263161391, -0.0026870467700064182, 0.016798516735434532, -0.03766792640089989, 0.023567847907543182, -0.013450725004076958, -0.05348889157176018, -0.030258452519774437, -0.005713971797376871, -0.012306617572903633, 0.028314288705587387, 0.000036275068850954995, -0.010913735255599022, -0.01046673208475113, 0.03156193718314171, 0.06796509027481079, -0.03579551726579666, 0.0020495287608355284, 0.004717299714684486, -0.046484604477882385, 0.02983022853732109, 0.020302632823586464, 0.04960446432232857, -0.03711988776922226, -0.003800199367105961, 0.030739914625883102, -0.018635356798768044, 0.0012342059053480625, 0.027918081730604172, -0.022541044279932976, -0.028831742703914642, 0.005665207747370005, -0.016364211216568947, -0.03892724961042404, 0.009134423919022083, 0.001992523903027177, -1.2294884221830671e-8, -0.033128395676612854, -0.03784610703587532, -0.011532185599207878, 0.008761631324887276, 0.022205986082553864, 0.044668544083833694, -0.053318820893764496, -0.007406276650726795, -0.042257241904735565, 0.003272326895967126, 0.051228925585746765, -0.0034162853844463825, 0.022560706362128258, 0.011795210652053356, 0.014095492660999298, -0.04487108066678047, 0.001874433597549796, -0.02093430422246456, 0.02631516568362713, 0.012896599248051643, 0.022597087547183037, 0.02528943493962288, -0.015780402347445488, 0.009476439096033573, 0.00025533372536301613, -0.03319425508379936, 0.023176368325948715, -0.05669091269373894, -0.02124219760298729, -0.023519242182374, -0.03957981616258621, -0.007226699963212013, -0.03630700334906578, -0.0018933442188426852, -0.04073944687843323, 0.007978793233633041, -0.014730431139469147, 0.016067329794168472, -0.00428672693669796, 0.010148371569812298, -0.0033728210255503654, 0.019812077283859253, -0.017031226307153702, -0.015393785201013088, 0.006183575373142958, 0.00799571257084608, -0.016147293150424957, 0.013085921294987202, 0.020998163148760796, 0.014260503463447094, -0.0020343277137726545, -0.0051897065714001656, 0.0016434482531622052, 0.010825274512171745, 0.05048655718564987, -0.019854625687003136, -0.00726554449647665, -0.02964797057211399, 0.0015155107248574495, 0.007242892403155565, 0.019940566271543503, 0.026616940274834633, -0.04342292249202728, -0.02005241997539997 ]
neo4j-unmanaged-extension-creating-gzipped-streamed-responses-with-jetty
https://markhneedham.com/blog/2013/07/08/neo4j-unmanaged-extension-creating-gzipped-streamed-responses-with-jetty
false
2013-07-13 18:47:49
Git/GitHub: Squashing all commits before sending a pull request
[ "git" ]
[ "Version Control" ]
My colleague https://twitter.com/mesirii[Michael] has been doing some work to make it easier for people to http://www.neo4j.org/develop/import[import data into neo4j] and his latest attempt is https://github.com/jexp/neo4j-shell-tools[neo4j-shell-tools] which adds some additional commands to the http://docs.neo4j.org/chunked/stable/shell.html[neo4j-shell]. I've spent a bit of time refactoring the https://github.com/jexp/neo4j-shell-tools/blob/master/readme.md[readme] which I'd done on https://github.com/mneedham/neo4j-shell-tools/commits/readme[a branch of my fork of the repository] and consisted of 46 commits, most changing 2 or 3 lines. I wanted to send Michael a pull request on Github but first I needed to squash all my commits down into a single one. I initially thought there might be a way that I could do that via Github but I couldn't see how to do that and eventually came across http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request[a post on Steve Klabnik's blog] which explained what I needed to do. This is what my .git/config looked like initially: [source,bash] ---- [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git@github.com:mneedham/neo4j-shell-tools.git [branch "master"] remote = origin merge = refs/heads/master [remote "base"] url = git@github.com:jexp/neo4j-shell-tools.git fetch = +refs/heads/*:refs/remotes/base/* [branch "readme"] remote = origin merge = refs/heads/readme ---- I had all my commits on the 'readme' branch but the easiest approach seemed to be to create another branch on which I could squash all my commit - I called that branch 'readme-pull': [source,bash] ---- $ git branch readme-pull $ git checkout readme-pull Switched to branch 'readme-pull' ---- I then synced myself with Michael's repository: [source,bash] ---- $ git fetch base remote: Counting objects: 77, done. remote: Compressing objects: 100% (18/18), done. remote: Total 43 (delta 15), reused 40 (delta 12) Unpacking objects: 100% (43/43), done. From github.com:jexp/neo4j-shell-tools e81c431..c4e94f6 master -> base/master $ git rebase base/master First, rewinding head to replay your work on top of it... ---- I then had to handle any conflicts when applying my changes on top of Michael's master repository and then I was in a position to squash all my commits! We can use rebase in interactive mode to do this and I've always done so by counting back how many commits I want to squash, so in this case it was 35: ~~~bash $ git rebase -i HEAD~35 pick 141d0ae updating readme with link pick 94f8f93 more updating pick 03de50b readme updates pick 4e60332 more updates pick 3447d50 simplifying pick d577520 tweaks pick 2d993d4 more pick f948582 list of commands pick 713aae8 updating ~~~ I later realised that I could have just passed in the last commit hash from the master to the rebase command i.e. ~~~bash commit c4e94f668223d53f6c7364d19aa965d09ea7eb00 Author: Michael Hunger <github@jexp.de> Date: Fri Jul 12 10:33:55 2013 +0200 fixed test ~~~ ~~~bash $ git rebase -i c4e94f668223d53f6c7364d19aa965d09ea7eb00 ~~~ I then set all but the first commit to 'http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages[squash]' and pushed to my repository: ~~~bash $ git push -u origin readme-pull:readme-pull ~~~ Finally I issued https://github.com/jexp/neo4j-shell-tools/pull/12[my pull request] and Michael merged it in!
null
null
[ 0.01630936935544014, -0.028479570522904396, -0.020170561969280243, 0.026685921475291252, 0.09442076832056046, 0.021697184070944786, 0.03049372509121895, 0.021431922912597656, 0.01902557909488678, -0.025119490921497345, -0.02753121219575405, -0.008200544863939285, -0.06896018981933594, 0.011501089669764042, -0.02983303740620613, 0.05255267769098282, 0.04871885105967522, -0.010264189913868904, 0.0012332417536526918, 0.014712963253259659, 0.02277558669447899, 0.07419662177562714, 0.020879628136754036, 0.029463334009051323, 0.016599517315626144, 0.010707837529480457, 0.01278635486960411, -0.016739360988140106, -0.04433675855398178, -0.0255367923527956, 0.040241919457912445, -0.0016928984550759196, 0.04969681799411774, -0.03301355242729187, 0.01936957985162735, -0.01689036749303341, -0.040493194013834, 0.012163300067186356, 0.014498064294457436, -0.005832366179674864, -0.06200593709945679, 0.04921768605709076, -0.027902934700250626, 0.014723977074027061, -0.04500436782836914, 0.009384626522660255, -0.06345771998167038, 0.037914473563432693, 0.004677523393183947, 0.005379795096814632, -0.07283444702625275, 0.002241251291707158, -0.021479802206158638, -0.03328798711299896, 0.00485911825671792, 0.0498356968164444, 0.02171662263572216, -0.08177559077739716, 0.0506192147731781, -0.010450849309563637, -0.026608159765601158, -0.010616363026201725, 0.018482081592082977, 0.02969977632164955, 0.012220381759107113, -0.051002226769924164, 0.008540690876543522, 0.055987730622291565, -0.04776616394519806, 0.0031991347204893827, 0.014319364912807941, 0.014438055455684662, -0.017324186861515045, -0.00018789379100780934, 0.022410482168197632, -0.048180919140577316, 0.017060764133930206, 0.07251740992069244, 0.02205505780875683, 0.0656551718711853, -0.04200853407382965, 0.0019618154037743807, -0.0007682969444431365, 0.017295587807893753, 0.010004714131355286, -0.045822277665138245, -0.034429024904966354, -0.004140016157180071, -0.06691345572471619, 0.04570308327674866, -0.004067468456923962, -0.06240658834576607, 0.01828293316066265, 0.0027724469546228647, 0.007590536959469318, 0.03586781024932861, 0.012148532085120678, 0.03425831347703934, 0.031137505546212196, -0.0054807597771286964, -0.03783094137907028, -0.005639601964503527, -0.02936672605574131, 0.015814324840903282, -0.08050492405891418, -0.029256301000714302, -0.020732197910547256, -0.039696503430604935, -0.0075779748149216175, -0.026676496490836143, -0.028356298804283142, 0.015508605167269707, -0.028109967708587646, 0.018989745527505875, -0.0671856701374054, 0.08813410997390747, 0.023133674636483192, -0.04120054468512535, -0.03514952212572098, -0.00045227978262118995, 0.042144402861595154, 0.04542750120162964, 0.011725741438567638, 0.06970001757144928, 0.025008544325828552, 0.028803549706935883, -0.013517402112483978, 0.027656124904751778, -0.02441025897860527, -0.07690466940402985, 0.009352529421448708, 0.07409318536520004, -0.011816032230854034, -0.0064245895482599735, -0.011114129796624184, -0.036661069840192795, -0.002707390347495675, 0.009619025513529778, 0.05877716839313507, 0.01905861310660839, 0.006950989831238985, -0.02497178502380848, 0.0034061369951814413, -0.011980343610048294, 0.01882956735789776, 0.03397974744439125, -0.03178468719124794, -0.035491060465574265, -0.0498599074780941, 0.011902996338903904, 0.010409440845251083, 0.0010790101950988173, 0.03631942346692085, -0.03474593907594681, 0.03650444746017456, 0.1083587184548378, 0.04755106195807457, -0.006374916527420282, -0.002249389886856079, 0.015500465407967567, 0.044180020689964294, 0.013587508350610733, 0.013349960558116436, 0.05464008450508118, 0.005911331158131361, -0.021940069273114204, -0.004645689390599728, 0.041494954377412796, -0.010943307541310787, 0.01910741813480854, -0.04297869652509689, -0.05785909295082092, 0.06913351267576218, -0.03874863684177399, 0.0020947337616235018, 0.028112396597862244, 0.05904437229037285, 0.00797332264482975, 0.02375197596848011, -0.004180756863206625, -0.08212335407733917, 0.06477060168981552, 0.02351345494389534, 0.02144024148583412, 0.003821964142844081, -0.00202544336207211, 0.05763843283057213, 0.01514062937349081, 0.011477172374725342, 0.027660291641950607, -0.10093551874160767, -0.08774607628583908, -0.018754133954644203, 0.00008126499596983194, 0.056068673729896545, -0.02464153803884983, -0.002883375622332096, 0.058460693806409836, 0.01235615462064743, 0.017869360744953156, 0.017289750277996063, -0.006059430073946714, 0.035522446036338806, -0.054145559668540955, -0.04775720089673996, 0.03837066888809204, 0.006116938777267933, -0.03434331715106964, -0.021672630682587624, 0.020583199337124825, -0.013057299889624119, 0.009175607934594154, 0.04243673384189606, -0.05825457349419594, 0.022935835644602776, 0.02890975959599018, 0.04065864905714989, -0.024158092215657234, 0.003217987483367324, -0.011118785478174686, 0.016431841999292374, 0.0138150779530406, -0.025264672935009003, 0.011426995508372784, -0.010658476501703262, 0.0977989137172699, 0.052134737372398376, -0.027529818937182426, -0.06356582790613174, 0.0397077314555645, -0.012676243670284748, -0.039995644241571426, -0.003481630003079772, -0.014297820627689362, 0.0004442694189492613, 0.007377859205007553, -0.06535056233406067, -0.01632954552769661, -0.014392169192433357, -0.04497643560171127, 0.022409172728657722, 0.06835140287876129, -0.02484837919473648, 0.041958387941122055, 0.00043168937554582953, -0.012115636840462685, -0.022009775042533875, -0.047893691807985306, -0.06109162047505379, 0.040518730878829956, 0.025144150480628014, -0.013905856758356094, 0.052854835987091064, -0.04620346054434776, -0.01386080589145422, -0.022675981745123863, -0.007678519003093243, 0.04328804090619087, 0.025943895801901817, 0.07407232373952866, -0.018348034471273422, 0.025094136595726013, -0.03634306415915489, 0.0354146733880043, -0.021158572286367416, -0.029890503734350204, -0.04578787088394165, -0.03148673474788666, 0.013079779222607613, 0.0036638437304645777, 0.039672866463661194, 0.00660611130297184, 0.014131873846054077, -0.007570117712020874, 0.018068619072437286, -0.03342188894748688, 0.008748797699809074, 0.006022950634360313, -0.0007115373155102134, -0.05531737208366394, -0.03235163167119026, 0.04988203942775726, -0.05742200091481209, -0.01654687151312828, 0.004375232849270105, -0.05419487878680229, 0.05640247091650963, -0.04781481623649597, -0.008968045003712177, -0.018069541081786156, 0.009623090736567974, 0.045553453266620636, 0.03593776747584343, 0.03215634450316429, 0.03672642260789871, 0.011873065494000912, 0.02285674773156643, 0.015125898644328117, 0.010664843022823334, 0.03508589789271355, -0.0049828700721263885, 0.021258259192109108, 0.03359365835785866, -0.026289645582437515, -0.0034335386008024216, -0.023265311494469643, 0.030693475157022476, -0.010423514060676098, -0.2749168872833252, 0.05117708817124367, -0.004407739732414484, -0.039741937071084976, 0.036027900874614716, -0.012776569463312626, 0.022001754492521286, -0.02423768863081932, -0.009869101457297802, -0.0012938296422362328, 0.005384222604334354, -0.029778974130749702, 0.006456124130636454, 0.036129046231508255, 0.005362815223634243, 0.010883238166570663, -0.0015251656295731664, -0.05875731632113457, 0.014713933691382408, 0.030619829893112183, -0.02371758595108986, -0.03317001089453697, 0.017544306814670563, 0.011661066673696041, 0.02324381284415722, 0.03551690652966499, -0.09958624094724655, 0.046576548367738724, -0.06428594142198563, -0.027828184887766838, -0.014374635182321072, -0.009277518838644028, -0.009135620668530464, 0.0295922439545393, -0.022046860307455063, 0.007915128953754902, 0.047913648188114166, 0.014708063565194607, 0.01943749189376831, 0.01333808433264494, -0.038815658539533615, -0.02935919351875782, -0.019360652193427086, -0.027916887775063515, 0.08470463752746582, -0.00484111811965704, -0.0626719743013382, -0.006053131073713303, 0.000551355944480747, 0.08654214441776276, -0.0384039469063282, -0.03941767290234566, -0.012363293208181858, 0.01623867265880108, 0.019547922536730766, -0.03171997517347336, -0.04393889755010605, -0.002975529758259654, -0.04945114627480507, -0.029269259423017502, -0.011167993769049644, -0.0415198840200901, -0.005087636411190033, -0.037017572671175, -0.012219634838402271, -0.060751259326934814, -0.07093068957328796, -0.045099612325429916, 0.07183904945850372, 0.004789627157151699, -0.021813122555613518, 0.03193976730108261, -0.013101580552756786, -0.10609206557273865, -0.02592533454298973, -0.05208934471011162, -0.028108196333050728, 0.014094073325395584, -0.02072802372276783, 0.04549260064959526, -0.06722673028707504, -0.03348678722977638, -0.0022207722067832947, 0.018600385636091232, 0.0014726546360179782, 0.024866946041584015, 0.01923341117799282, -0.0155188562348485, -0.034543655812740326, 0.025511616840958595, 0.043101221323013306, -0.027584869414567947, -0.03843558952212334, -0.004460273310542107, -0.000840990396682173, -0.0005895360372960567, 0.0007328002247959375, 0.01628037542104721, 0.005460482556372881, 0.06601487100124359, 0.038969580084085464, -0.04999878630042076, 0.016664352267980576, -0.03247125819325447, -0.010042737238109112, -0.009836050681769848, -0.05555945634841919, 0.025812631472945213, 0.010587376542389393, 0.06827078014612198, -0.0034654131159186363, -0.021136755123734474, 0.01618906296789646, -0.05645330250263214, -0.04193739965558052, 0.013646225444972515, 0.014957090839743614, 0.01739191636443138, 0.0320831723511219, -0.011325164698064327, -0.05080944672226906, 0.02723739482462406, 0.012416835874319077, -0.011000466533005238, -0.04981524497270584, -0.023605965077877045, -0.0328427292406559, -0.017792880535125732, 0.024898843839764595, 0.010539603419601917, -0.02383468486368656, 0.042776983231306076, 0.02459879219532013, -0.009167253971099854, 0.025054873898625374, -0.007518654223531485, -0.04690437391400337, -0.03147827833890915, 0.01709958165884018, 0.005627703852951527, -0.033220596611499786, 0.026414629071950912, -0.010940995998680592, 0.03414997458457947, 0.05168925225734711, 0.010712754912674427, 0.028740394860506058, -0.00870002992451191, 0.014648121781647205, 0.0011408451246097684, -0.007433416321873665, -0.04652588441967964, 0.00915561430156231, -0.05233096331357956, -0.03148341178894043, -0.018245991319417953, 0.022730151191353798, -0.0321914367377758, -0.030439574271440506, -0.014130139723420143, 0.00759271252900362, -0.06444279104471207, 0.04217860847711563, -0.006701216567307711, -0.014610431157052517, 0.049345869570970535, -0.02043811045587063, 0.012248693034052849, -0.02753053791821003, -0.029438331723213196, 0.0032863677479326725, 0.030531667172908783, -0.046856895089149475, -0.006274701561778784, 0.01799074374139309, 0.02527027390897274, 0.002251416677609086, 0.051582805812358856, 0.0322326123714447, 0.013521376997232437, 0.007532577961683273, -0.015608633868396282, 0.013994372449815273, 0.00620931014418602, 0.04006915166974068, 0.03323057293891907, 0.012400317937135696, -0.001958172069862485, -0.014694181270897388, -0.0017046415014192462, -0.028714852407574654, 0.0254535973072052, -0.0006364186992868781, 0.02415025793015957, -0.015291535295546055, -0.06942383944988251, 0.05521235242486, 0.025680972263216972, 0.014183291234076023, 0.043826356530189514, 0.0033847535960376263, 0.00552333751693368, -0.012448725290596485, 0.05260034278035164, 0.05335355922579765, -0.05792950093746185, -0.040229976177215576, -0.00047571133472956717, 0.016700096428394318, -0.01270136795938015, 0.024175221100449562, -0.06839753687381744, -0.0332244336605072, -0.012944565154612064, 0.023198092356324196, -0.03660775348544121, -0.04109314829111099, -0.025766631588339806, 0.011776493862271309, -0.016735147684812546, 0.00812371913343668, -0.003487188136205077, 0.004575596656650305, 0.0029152831993997097, -0.0177238080650568, 0.04247729852795601, -0.015859633684158325, 0.01101155299693346, 0.024942435324192047, -0.01891441084444523, 0.01673763245344162, -0.025572311133146286, 0.05536964163184166, 0.011899656616151333, -0.007879366166889668, 0.010006173513829708, -0.025101186707615852, 0.012648174539208412, -0.04096842184662819, 0.01806723326444626, -0.0012836582027375698, 0.009075199253857136, -0.0441114641726017, -0.0003918921865988523, -0.03979485481977463, -0.0163422804325819, -0.012329481542110443, -0.010903891175985336, 0.024658724665641785, 0.04738089442253113, 0.03368570655584335, 0.023715507239103317, -0.022183138877153397, -0.027015171945095062, 0.05199101194739342, -0.0679265558719635, -0.05419699102640152, -0.02234090305864811, -0.04773230478167534, 0.018639879301190376, 0.0509762167930603, 0.017938509583473206, -0.05614345893263817, 0.04968239739537239, 0.03349002078175545, -0.00006401330756489187, 0.028896713629364967, -0.008764004334807396, 0.00644677272066474, -0.03540311008691788, -0.031283535063266754, -0.07637923955917358, -0.002933141076937318, 0.043151333928108215, -0.03744880110025406, 0.021868975833058357, 0.01405508816242218, -0.025087228044867516, 0.0034947211388498545, -0.07041381299495697, -0.026155274361371994, 0.043444931507110596, -0.019653256982564926, 0.031009700149297714, 0.012144939973950386, -0.07385538518428802, 0.0040932344272732735, 0.05747884511947632, -0.026587393134832382, -0.02224281243979931, -0.05154747888445854, 0.06818494945764542, -0.009064429439604282, 0.06942282617092133, -0.025617677718400955, -0.033424261957407, 0.06805596500635147, 0.012592941522598267, 0.01744529977440834, 0.06092149019241333, -0.009313289076089859, 0.013082331046462059, 0.03234212473034859, 0.002989229280501604, -0.005789059679955244, 0.043958403170108795, -0.027168435975909233, -0.029646538197994232, 0.04763631895184517, -0.0033807491417974234, -0.04576732590794563, -0.03544488176703453, 0.05579429864883423, 0.006372293457388878, -0.03760937228798866, -0.05087476968765259, 0.03840271756052971, -0.030722783878445625, -0.013122334145009518, -0.040853288024663925, 0.0006906712078489363, -0.026394998654723167, 0.027047479525208473, -0.031544964760541916, 0.023688247427344322, 0.07160895317792892, -0.016865821555256844, -0.022460803389549255, -0.011750804260373116, 0.07645723968744278, 0.09293882548809052, 0.04848217964172363, -0.004686566535383463, 0.0470040924847126, 0.033235762268304825, -0.046240873634815216, 0.010965105146169662, -0.008721734397113323, -0.003962067421525717, -0.004658754914999008, -0.03249155730009079, 0.06457483768463135, -0.03829851746559143, 0.06652873009443283, 0.0038666639011353254, 0.002743215300142765, -0.016022808849811554, -0.016337862238287926, 0.03128672391176224, 0.07323825359344482, 0.02181755006313324, 0.020973505452275276, -0.03761901706457138, -0.022184794768691063, 0.011851075105369091, -0.03087616339325905, -0.022562338039278984, 0.02755897492170334, -0.024481017142534256, 0.024721000343561172, 0.014294574037194252, 0.027430690824985504, 0.07570033520460129, -0.03968353569507599, 0.014199621044099331, 0.018519192934036255, 0.0358404740691185, -0.012005348689854145, 0.020019449293613434, 0.001431685290299356, -0.019896935671567917, 0.0008656363934278488, -0.044415075331926346, -0.0003450714866630733, 0.0023844416718930006, -0.006431133020669222, 0.023315178230404854, -0.01532402727752924, 0.00868572760373354, 0.008939438499510288, -0.021699655801057816, -0.01591155305504799, -0.034658003598451614, -0.03025210089981556, -0.07011455297470093, -0.04076778516173363, -0.016798153519630432, 0.015290118753910065, 0.006041602231562138, -0.021256865933537483, -0.002516756532713771, -0.04304976388812065, -0.04255735129117966, 0.057027947157621384, -0.044748704880476, 0.017909517511725426, -0.006685684435069561, 0.02059149369597435, -0.009008144028484821, 0.017860764637589455, 0.06858143210411072, 0.017945315688848495, 0.0008796563488431275, -0.03314758464694023, 0.029398521408438683, 0.05384056642651558, 0.031028037890791893, -0.03954928368330002, -0.08304308354854584, 0.014089741744101048, 0.011539993807673454, 0.012802721001207829, -0.08038220554590225, 0.013787167146801949, 0.04218536242842674, 0.004785086493939161, 0.04843161255121231, -0.022850902751088142, -0.009649023413658142, -0.020553654059767723, 0.011559300124645233, -0.015920402482151985, -0.00671811867505312, 0.03617784380912781, -0.015697188675403595, 0.08004577457904816, 0.05236417055130005, -0.019834456965327263, -0.034726064652204514, -0.0205769632011652, 0.007636236492544413, 0.0035240286961197853, -0.03444717824459076, -0.014863966964185238, -0.05634678527712822, -0.0983518734574318, -0.03496958315372467, 0.010145116597414017, -0.01684928685426712, -0.03721170499920845, -0.0030669434927403927, 0.014692051336169243, -0.022650841623544693, -0.006114773452281952, -0.04941817745566368, 0.04170437157154083, -0.009115995839238167, -0.030320102348923683, -0.023529987782239914, 0.0028018539305776358, 0.0025672377087175846, -0.000004936747700412525, 0.04194454476237297, -0.041189711540937424, -0.010184328071773052, 0.007956204004585743, 0.02117188833653927, 0.05240168049931526, 0.03156232461333275, 0.0011198268039152026 ]
[ -0.06422986090183258, -0.027921443805098534, -0.0183419082313776, -0.0458955354988575, 0.05057956278324127, -0.06049218401312828, -0.02366202138364315, 0.02076399326324463, -0.002527184085920453, -0.02538534626364708, 0.002242980059236288, -0.0516333170235157, -0.008494838140904903, -0.005291893612593412, 0.08610565960407257, -0.0017968869069591165, -0.03188664838671684, -0.049523692578077316, -0.03260874003171921, 0.04031497612595558, -0.03013014793395996, -0.031333692371845245, -0.003933705389499664, -0.009443676099181175, -0.00512313237413764, 0.0254867821931839, 0.03990573808550835, -0.027689168229699135, -0.008703406900167465, -0.19366605579853058, 0.004354613833129406, 0.015243981033563614, -0.013674263842403889, -0.0006746737053617835, 0.036165155470371246, 0.06125970929861069, 0.04312212020158768, -0.025077927857637405, -0.008339413441717625, 0.04766731709241867, 0.036641642451286316, 0.015595532022416592, -0.06849943846464157, -0.006509293802082539, 0.06050008907914162, -0.004939335398375988, -0.015839077532291412, -0.04078565537929535, -0.016330985352396965, 0.00626413943246007, -0.027695659548044205, 0.008818374015390873, 0.001103404094465077, -0.021869981661438942, 0.013508564792573452, 0.03079097904264927, 0.05185316875576973, 0.09261836111545563, 0.03536377102136612, 0.046159230172634125, 0.020080262795090675, 0.030265945941209793, -0.13858762383460999, 0.06764063984155655, 0.045003846287727356, 0.00612303800880909, -0.06053849309682846, -0.012337901629507542, -0.01825881376862526, 0.09264019131660461, 0.0014502168633043766, -0.008540632203221321, -0.03190752491354942, 0.07922821491956711, -0.0293861273676157, 0.013318570330739021, -0.011636515147984028, 0.0394480861723423, 0.01862257719039917, -0.0446736104786396, -0.06041457876563072, 0.009556744247674942, -0.050171997398138046, -0.015631290152668953, -0.05479789152741432, 0.04204835370182991, -0.0018801455153152347, 0.06665225327014923, 0.005551752168685198, 0.052651986479759216, 0.017880750820040703, 0.011447219178080559, 0.08874756097793579, 0.018179258331656456, -0.08352821320295334, 0.0002764641249086708, 0.018628841266036034, 0.010811690241098404, -0.0028815793339163065, 0.3666713535785675, 0.021863268688321114, -0.025567665696144104, 0.03675737604498863, 0.060139819979667664, 0.002062652725726366, -0.02396891824901104, 0.011377636343240738, -0.0562407486140728, 0.06341743469238281, -0.009812179021537304, -0.011057971976697445, -0.04371010139584541, 0.025818953290581703, -0.08900436758995056, 0.014780296944081783, 0.009509392082691193, 0.025416584685444832, 0.01809469424188137, -0.06884722411632538, 0.03362620621919632, 0.006891279015690088, 0.00965807307511568, 0.05991709977388382, 0.025276068598031998, 0.04451216757297516, 0.034650981426239014, -0.005830022040754557, 0.02870805934071541, 0.03962716460227966, 0.03548704832792282, 0.046385135501623154, 0.0348762571811676, -0.0744006484746933, 0.014521989971399307, -0.00359089532867074, 0.01908145099878311, 0.020236019045114517, -0.05161796882748604, -0.025108015164732933, 0.001899602822959423, -0.015937043353915215, -0.025486312806606293, 0.007892108522355556, -0.00780507130548358, -0.039826009422540665, 0.09844550490379333, -0.014508971013128757, -0.018912741914391518, -0.024096565321087837, -0.05024116486310959, 0.0093276621773839, 0.042489707469940186, 0.012761292979121208, -0.06235477328300476, 0.005636812653392553, 0.003402787959203124, 0.08005143702030182, -0.006791567429900169, -0.07466180622577667, 0.023951757699251175, -0.016615016385912895, -0.05362199991941452, -0.003679517423734069, 0.0664236918091774, 0.06506004184484482, -0.10387135297060013, -0.02091439813375473, 0.009423899464309216, 0.04875694960355759, -0.08999262005090714, 0.0244248379021883, 0.015613354742527008, -0.03413233906030655, -0.03878253698348999, 0.07124009728431702, -0.035628367215394974, 0.0019960564095526934, -0.0233373511582613, 0.052447617053985596, 0.02529824711382389, 0.011111363768577576, -0.01630505733191967, -0.03556323051452637, -0.00223786779679358, -0.05569303408265114, -0.060288604348897934, -0.07903219014406204, 0.038601942360401154, -0.04912084713578224, -0.019521471112966537, -0.025531645864248276, 0.02927210181951523, -0.0642143040895462, 0.08733335137367249, -0.03357553854584694, -0.03382351994514465, -0.02583235315978527, 0.024771492928266525, -0.02911161445081234, -0.03082767128944397, 0.034285299479961395, 0.03310123831033707, -0.02883603423833847, 0.011921925470232964, -0.08065079897642136, 0.001704770838841796, 0.06917570531368256, -0.015404090285301208, 0.06293337047100067, 0.03934240713715553, -0.071038156747818, 0.010124796070158482, -0.0013531757285818458, 0.03582623600959778, -0.0192389078438282, -0.014655087143182755, 0.0031893793493509293, -0.01311567984521389, 0.04066820070147514, 0.03346152976155281, -0.059418682008981705, 0.02865629643201828, -0.023247195407748222, -0.33628347516059875, -0.03370889276266098, -0.009472526609897614, -0.0039939577691257, 0.04604779928922653, -0.036940332502126694, 0.049551013857126236, -0.040042415261268616, 0.021773288026452065, -0.0019354127580299973, 0.10596052557229996, -0.023882843554019928, 0.0027824505232274532, -0.07668182998895645, 0.013896767981350422, 0.04829235002398491, -0.004211783409118652, -0.005964324809610844, -0.022906925529241562, -0.006871852558106184, -0.008332214318215847, -0.07785522192716599, -0.04406168311834335, -0.03570203855633736, -0.00841043796390295, -0.02445191890001297, 0.08685827255249023, 0.026323188096284866, 0.030641481280326843, -0.034486617892980576, 0.0469423308968544, 0.02023947425186634, 0.008583452552556992, -0.1388702392578125, 0.00003709200245793909, -0.0037408191710710526, 0.021248413249850273, 0.019462918862700462, 0.030029917135834694, 0.004737516865134239, -0.01726684346795082, -0.03121289238333702, -0.0533904954791069, -0.06283381581306458, -0.001100332709029317, 0.0069569675251841545, -0.06048806011676788, -0.006810622289776802, 0.035461511462926865, 0.04765990003943443, -0.00552060641348362, 0.02694300375878811, -0.006062742788344622, 0.018144916743040085, 0.001476702862419188, -0.018500525504350662, -0.03842584043741226, -0.012262165546417236, 0.03385815769433975, 0.026954736560583115, 0.001515224459581077, 0.048831868916749954, 0.018304897472262383, -0.0791240781545639, 0.03442918509244919, 0.0006552000413648784, -0.017441993579268456, 0.016131488606333733, 0.03433904051780701, -0.044703494757413864, -0.01260607223957777, 0.0966172069311142, 0.006447692401707172, 0.04116649925708771, 0.034724704921245575, 0.03637795150279999, -0.037872761487960815, -0.0008095659432001412, 0.028274230659008026, 0.0039880117401480675, 0.03043445013463497, -0.04015905037522316, 0.062269799411296844, -0.0424618162214756, -0.05665634199976921, 0.06772501021623611, -0.012277689762413502, -0.07846707850694656, 0.05656881257891655, 0.022042958065867424, -0.021041320636868477, -0.0036198613233864307, -0.016271192580461502, -0.05106085166335106, 0.06054907292127609, -0.008819784969091415, -0.2458837926387787, 0.04266154766082764, 0.020551444962620735, 0.03996620699763298, 0.011956767179071903, 0.016788670793175697, 0.06063193082809448, -0.05239962786436081, 0.00033645707299001515, 0.016556542366743088, 0.030790992081165314, 0.04097559303045273, -0.03245203197002411, 0.014561588875949383, 0.014753519557416439, -0.00890796072781086, 0.028908193111419678, 0.023518705740571022, 0.012245801277458668, -0.023489991202950478, 0.006608487572520971, -0.04598378390073776, 0.17382702231407166, 0.03887224942445755, 0.009944522753357887, 0.049336593598127365, -0.04629860073328018, 0.0008174944086931646, 0.07588998973369598, -0.00638370169326663, -0.014851626008749008, 0.049124784767627716, -0.008518374525010586, 0.03135073557496071, 0.027104247361421585, -0.04860798642039299, -0.027350548654794693, 0.052960626780986786, 0.013881628401577473, -0.016144970431923866, -0.02988527901470661, 0.013342653401196003, -0.03955148160457611, 0.02438652142882347, 0.07108267396688461, -0.06487780064344406, -0.03202655538916588, -0.03158694505691528, -0.08833371102809906, 0.0010240600677207112, -0.04318104311823845, -0.034020110964775085, -0.009690108709037304, -0.01464786659926176, 0.011855869553983212, 0.08836882561445236, 0.0009924861369654536, -0.03909541293978691, 0.017706289887428284, 0.0250843595713377, 0.0013971851440146565, -0.04360728710889816, 0.10945335030555725, -0.002875139005482197, 0.01897202804684639 ]
[ 0.05702041834592819, 0.059275832027196884, -0.012486454099416733, 0.0027742814272642136, -0.02246217615902424, -0.012866886332631111, -0.03432132676243782, 0.018740825355052948, 0.007638043258339167, 0.009487793780863285, -0.03389287739992142, 0.022599022835493088, 0.0845121219754219, 0.008503702469170094, -0.02604791522026062, 0.0019415684510022402, -0.02621111460030079, 0.06151355057954788, 0.006590938661247492, -0.01936648227274418, -0.027329251170158386, 0.0031042546033859253, 0.04393061250448227, -0.012550300918519497, -0.0010551701998338103, -0.01188751682639122, -0.02152705378830433, -0.032123371958732605, 0.0038196563255041838, -0.12331167608499527, -0.014400575309991837, -0.002693445421755314, -0.01954146847128868, -0.017489118501544, -0.00448141572996974, 0.0415683388710022, 0.04575439170002937, 0.016576960682868958, 0.0012535291025415063, 0.03509731963276863, 0.032146088778972626, 0.00895758904516697, -0.004619772080332041, -0.031084714457392693, 0.009148230776190758, -0.007887537591159344, -0.045450907200574875, -0.06051511690020561, 0.020717453211545944, -0.002764196367934346, -0.04855918511748314, -0.027946265414357185, -0.0037407760974019766, 0.003552403301000595, -0.030371470376849174, -0.00676250085234642, 0.005530848633497953, -0.009717262350022793, 0.04067883640527725, 0.004453488625586033, 0.02610519528388977, -0.000036255616578273475, -0.04194391146302223, -0.03586218133568764, -0.005445811897516251, 0.0005727412644773722, 0.020176401361823082, 0.03657082840800285, -0.00438699359074235, 0.030237780883908272, -0.015478401444852352, 0.05182712897658348, -0.08857051283121109, -0.03770029544830322, -0.024749193340539932, -0.006710200570523739, 0.04828188940882683, 0.005243856459856033, -0.01697525940835476, 0.029480954632163048, -0.044880013912916183, 0.025111161172389984, -0.008615845814347267, -0.03026987798511982, -0.03664933517575264, 0.08116792887449265, 0.00840336550027132, -0.0005029031308367848, 0.024316959083080292, 0.05233898013830185, -0.0037356303073465824, 0.007869357243180275, -0.008619760163128376, -0.01563023030757904, -0.08930621296167374, -0.04052257537841797, 0.011739512905478477, -0.0011068740859627724, 0.01338133029639721, 0.7982316017150879, 0.026314809918403625, -0.015371660701930523, 0.004152869805693626, 0.0074792178347706795, -0.00034594553289934993, 0.015653179958462715, 0.02430279366672039, -0.0021296741906553507, -0.0065055000595748425, 0.02855982817709446, -0.011659272946417332, -0.0041141510009765625, 0.0055320714600384235, 0.012324062176048756, 0.023141415789723396, 0.054321348667144775, 0.03659861907362938, -0.013398625887930393, -0.021163150668144226, 0.030707987025380135, 0.042375389486551285, 0.028159931302070618, -0.0014470580499619246, 0.017209695652127266, -0.00029421146609820426, -0.13240428268909454, -0.01268832478672266, -6.557211648049995e-33, 0.0545293353497982, 0.005529442336410284, 0.05054853856563568, 0.012487988919019699, 0.003492835909128189, 0.010562153533101082, -0.01563902571797371, -0.03744584321975708, -0.0590304397046566, -0.02814245969057083, -0.01901959627866745, -0.010562548413872719, -0.0027828081510961056, -0.012999402359127998, -0.006087451707571745, -0.04413023591041565, 0.019606277346611023, 0.023843705654144287, 0.008259515278041363, 0.034075092524290085, -0.01513410173356533, 0.02923772670328617, -0.053419459611177444, 0.043028753250837326, 0.016933031380176544, 0.022452861070632935, 0.01361878588795662, 0.0032855626195669174, 0.0001311591622652486, -0.04868116229772568, -0.05226103961467743, 0.011420698836445808, -0.02609974518418312, -0.04310834780335426, 0.012999904341995716, -0.08381003886461258, -0.029247527942061424, -0.0024104099720716476, -0.03486807644367218, -0.060658231377601624, -0.002820000983774662, 0.00029240731964819133, -0.018429404124617577, -0.006386405322700739, -0.0058866748586297035, -0.029621371999382973, 0.0026604761369526386, 0.009147416800260544, 0.021350979804992676, 0.01359586976468563, 0.004507884383201599, 0.03244180977344513, 0.023893803358078003, -0.0012489266227930784, -0.05559556186199188, 0.0067820423282682896, -0.017891841009259224, -0.004528340417891741, -0.0030030100606381893, 0.03117653913795948, 0.03620079159736633, 0.0055655851028859615, -0.016433335840702057, 0.048602376133203506, 0.04869602248072624, 0.01070446614176035, -0.007693378254771233, 0.049224477261304855, 0.009721396490931511, 0.04432965815067291, -0.05753235146403313, 0.03622626140713692, -0.005426722578704357, -0.007208702154457569, 0.014533731155097485, -0.06282307207584381, 0.010789449326694012, 0.009762454777956009, 0.026530543342232704, 0.04736540839076042, -0.016344832256436348, -0.0029789479449391365, -0.030684247612953186, -0.03471383452415466, 0.006696954369544983, 0.015850858762860298, 0.03878350555896759, 0.005797576624900103, 0.017040066421031952, 0.03791448846459389, 0.047472450882196426, 0.00034164093085564673, -0.03476846590638161, -0.010967637412250042, -0.05122380331158638, 6.278353531308239e-33, -0.010501050390303135, -0.020461952313780785, -0.017163842916488647, 0.03138057515025139, -0.0008656177669763565, 0.021361200138926506, -0.01002094242721796, -0.016027644276618958, -0.05544145405292511, 0.0022208094596862793, 0.0022777796257287264, 0.01025466900318861, -0.023870190605521202, 0.036831002682447433, 0.07337892055511475, 0.0018681554356589913, 0.02573261596262455, -0.07781576365232468, 0.007748298346996307, -0.0008790838182903826, -0.003965578507632017, -0.004271690733730793, -0.018770745024085045, 0.03571680933237076, 0.012979427352547646, 0.018009617924690247, -0.0002857462677638978, 0.02727743610739708, -0.005870225373655558, 0.000013949292224424426, -0.00633232994005084, -0.04735543578863144, -0.02209237404167652, 0.0019179442897439003, -0.016864009201526642, 0.014625141397118568, -0.008920969441533089, 0.03686344251036644, 0.032279472798109055, 0.01052749715745449, 0.00649221520870924, 0.01235706266015768, -0.008266297169029713, 0.06965097784996033, 0.0011964192381128669, 0.020165076479315758, 0.01798660308122635, 0.02655182220041752, -0.009868775494396687, 0.01884019933640957, -0.001922490308061242, 0.031796153634786606, -0.01423582248389721, -0.010006348602473736, 0.018965603783726692, -0.06373008340597153, -0.008784850127995014, 0.013689856044948101, -0.025343459099531174, 0.014227477833628654, -0.03140850365161896, -0.010875141248106956, -0.019545238465070724, 0.03799153119325638, -0.04000177979469299, -0.04135168343782425, -0.005755090620368719, -0.0164166372269392, -0.00710877263918519, -0.016784273087978363, 0.04852926731109619, 0.014726447872817516, -0.010097257792949677, 0.004965923726558685, 0.05688350647687912, -0.03541577607393265, -0.04797739535570145, -0.009974505752325058, -0.052433088421821594, 0.04463059827685356, -0.024071965366601944, 0.049397338181734085, -0.011072903871536255, -0.01303730346262455, 0.02133580669760704, -0.01410957332700491, -0.041339654475450516, 0.05703215301036835, 0.010914841666817665, -0.03205424174666405, 0.02939249388873577, -0.01696171425282955, -0.036330971866846085, 0.044150061905384064, -0.035936303436756134, -1.2093142487401565e-8, 0.021999718621373177, 0.007294050417840481, -0.019294967874884605, 0.016011014580726624, -0.0154550326988101, 0.028043538331985474, -0.026860138401389122, -0.001383704598993063, -0.04945080354809761, 0.012715408578515053, 0.022600436583161354, 0.0003064271295443177, -0.021267849951982498, 0.008094912394881248, 0.01942751370370388, -0.021985316649079323, 0.0015521632740274072, -0.011418442241847515, 0.02788390964269638, -0.005483272485435009, -0.0029950567986816168, 0.04273393750190735, -0.015834510326385498, 0.00560551043599844, -0.013973576948046684, 0.0016211643815040588, 0.03206843137741089, -0.0433526374399662, -0.03738654777407646, -0.046594224870204926, 0.02159736678004265, -0.016908744350075722, -0.08224698156118393, -0.014034396037459373, -0.01666894555091858, -0.05393725261092186, 0.01172198262065649, 0.026678506284952164, 0.02608855813741684, 0.022707443684339523, 0.010313140228390694, -0.00943953450769186, -0.02011464722454548, -0.0340668223798275, -0.06057027354836464, 0.01687801443040371, -0.03698675334453583, -0.020485812798142433, 0.06444397568702698, -0.045252226293087006, 0.000050762413593474776, 0.015562103129923344, -0.00012245879042893648, 0.06009872630238533, 0.03706211969256401, 0.010569936595857143, 0.023777533322572708, -0.038023676723241806, -0.004262079950422049, -0.022002436220645905, 0.025035720318555832, 0.0010724208550527692, -0.03091237135231495, -0.022270461544394493 ]
gitgithub-squashing-all-commits-before-sending-a-pull-request
https://markhneedham.com/blog/2013/07/13/gitgithub-squashing-all-commits-before-sending-a-pull-request
false
2013-07-14 14:31:44
Java: Testing a socket is listening on all network interfaces/wildcard interface
[ "software-development" ]
[ "Networking" ]
I previously wrote http://www.markhneedham.com/blog/2013/07/14/learning-more-about-network-sockets/[a blog post describing how I've been trying to learn more about network sockets] in which I created some server sockets and connected to them using http://nc110.sourceforge.net/[netcat]. The next step was to do the same thing in Java and I started out by writing a server socket which echoed any messages sent by the client: [source,java] ---- public class EchoServer { public static void main(String[] args) throws IOException { int port = 4444; ServerSocket serverSocket = new ServerSocket(port, 50, InetAddress.getByAddress(new byte[] {0x7f,0x00,0x00,0x01})); System.err.println("Started server on port " + port); while (true) { Socket clientSocket = serverSocket.accept(); System.err.println("Accepted connection from client: " + clientSocket.getRemoteSocketAddress() ); In in = new In (clientSocket); Out out = new Out(clientSocket); String s; while ((s = in.readLine()) != null) { out.println(s); } System.err.println("Closing connection with client: " + clientSocket.getInetAddress()); out.close(); in.close(); clientSocket.close(); } } } public final class In { private Scanner scanner; public In(java.net.Socket socket) { try { InputStream is = socket.getInputStream(); scanner = new Scanner(new BufferedInputStream(is), "UTF-8"); } catch (IOException ioe) { System.err.println("Could not open " + socket); } } public String readLine() { String line; try { line = scanner.nextLine(); } catch (Exception e) { line = null; } return line; } public void close() { scanner.close(); } } public class Out { private PrintWriter out; public Out(Socket socket) { try { out = new PrintWriter(socket.getOutputStream(), true); } catch (IOException ioe) { ioe.printStackTrace(); } } public void close() { out.close(); } public void println(Object x) { out.println(x); out.flush(); } } ---- I ran the main method of the class and this creates a server socket on port 4444 listening on the 127.0.0.1 interface and we can connect to it using netcat like so: [source,bash] ---- $ nc -v 127.0.0.1 4444 Connection to 127.0.0.1 4444 port [tcp/krb524] succeeded! hello hello ---- The output in my IntelliJ console looked like this: [source,text] ---- Started server on port 4444 Accepted connection from client: /127.0.0.1:63222 Closing connection with client: /127.0.0.1 ---- Using netcat is fine but what I actually wanted to do was write some test code which would check that I'd made sure the server socket on port 4444 was accessible via all interfaces i.e. bound to 0.0.0.0. There are actually some http://docs.oracle.com/javase/tutorial/networking/nifs/retrieving.html[quite nice classes in Java] which make this very easy to do and wiring those together I ended up with the following client code: [source,java] ---- public class EchoClient { public static void main(String[] args) throws IOException { Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces(); for (NetworkInterface networkInterface : Collections.list(nets)) { for (InetAddress inetAddress : Collections.list(networkInterface.getInetAddresses())) { Socket socket = null; try { socket = new Socket(inetAddress, 4444); System.out.println(String.format("Connected using %s [%s]", networkInterface.getDisplayName(), inetAddress)); } catch (ConnectException ex) { System.out.println(String.format("Failed to connect using %s [%s]", networkInterface.getDisplayName(), inetAddress)); } finally { if (socket != null) { socket.close(); } } } } } } ---- If we run the main method of that class we'll see the following output (on my machine at least!): [source,text] ---- Failed to connect using en0 [/fe80:0:0:0:9afe:94ff:fe4f:ee50%4] Failed to connect using en0 [/192.168.1.89] Failed to connect using lo0 [/0:0:0:0:0:0:0:1] Failed to connect using lo0 [/fe80:0:0:0:0:0:0:1%1] Connected using lo0 [/127.0.0.1] ---- Interestingly we can't even connect via the loopback interface using IPv6 which is perhaps not that surprising in retrospect given we bound using an IPv4 address. If we tweak the second line of EchoServer from: [source,java] ---- ServerSocket serverSocket = new ServerSocket(port, 50, InetAddress.getByAddress(new byte[] {0x7f,0x00,0x00,0x01})); ---- to: [source,java] ---- ServerSocket serverSocket = new ServerSocket(port, 50, InetAddress.getByAddress(new byte[] {0x00,0x00,0x00,0x00})); ---- And restart the server before re-running the client we can now connect through all interfaces: [source,text] ---- Connected using en0 [/fe80:0:0:0:9afe:94ff:fe4f:ee50%4] Connected using en0 [/192.168.1.89] Connected using lo0 [/0:0:0:0:0:0:0:1] Connected using lo0 [/fe80:0:0:0:0:0:0:1%1] Connected using lo0 [/127.0.0.1] ---- We can then wrap the EchoClient code into our testing framework to assert that we can connect via all the interfaces.
null
null
[ -0.012066226452589035, -0.034038688987493515, -0.041047003120183945, 0.008208965882658958, 0.06836173683404922, 0.002462797798216343, 0.03735407814383507, 0.0494026280939579, -0.00653459457680583, -0.01505960151553154, 0.00977651122957468, 0.004369047004729509, -0.0787566676735878, 0.02314300462603569, -0.02242143452167511, 0.05906202644109726, 0.09855275601148605, -0.03445395082235336, 0.04132307693362236, -0.008246379904448986, -0.01950751431286335, 0.05920327082276344, 0.0019201216055080295, 0.05028202012181282, 0.053768955171108246, 0.01581747643649578, -0.018737901002168655, 0.028284654021263123, -0.03213077783584595, -0.005751036107540131, 0.04118228703737259, 0.017075348645448685, 0.01561606302857399, -0.01117152813822031, -0.008692330680787563, -0.03970671445131302, 0.005307657644152641, 0.008007222786545753, 0.0016787858912721276, 0.028417494148015976, -0.04823032394051552, 0.023793324828147888, -0.030053475871682167, 0.04296422377228737, -0.024679357185959816, 0.028659122064709663, -0.0208098404109478, -0.010232685133814812, -0.00512028718367219, 0.01760084182024002, -0.08471094816923141, 0.028870388865470886, -0.04096541926264763, 0.010380704887211323, 0.015617619268596172, 0.03788116201758385, 0.03913288936018944, -0.0851767510175705, 0.04382326826453209, -0.04616288095712662, 0.018855296075344086, -0.018987732008099556, 0.0041432855650782585, 0.006044358946382999, -0.036637529730796814, -0.025941496714949608, 0.01723231002688408, 0.045719213783741, -0.022522853687405586, -0.02911297045648098, -0.026669902727007866, 0.01081306952983141, -0.048378102481365204, -0.01466582901775837, 0.05595322698354721, -0.03693409636616707, -0.015883954241871834, 0.020150694996118546, 0.013868918642401695, 0.02509923465549946, -0.05815362185239792, 0.018289409577846527, 0.043767597526311874, 0.00037287516170181334, 0.02384871244430542, -0.06714989989995956, -0.0148771358653903, 0.010187264531850815, -0.0304003544151783, 0.07419230043888092, 0.02229698933660984, -0.020861051976680756, -0.027012525126338005, 0.0346975214779377, -0.025623274967074394, -0.009984007105231285, -0.00586204556748271, -0.028380265459418297, 0.001675469451583922, -0.026103846728801727, -0.004724468104541302, 0.008343193680047989, 0.030882662162184715, 0.053038470447063446, -0.04914887994527817, -0.008469133637845516, -0.008167206309735775, -0.019065527245402336, -0.02816419117152691, 0.01861109584569931, -0.02674884721636772, 0.0055843135342001915, 0.00986842717975378, -0.009122305549681187, -0.08434881269931793, 0.0655771940946579, 0.0338556170463562, -0.059918154031038284, 0.004777995869517326, 0.04927423596382141, 0.0216351430863142, 0.012951617129147053, -0.01393342949450016, 0.08210866898298264, 0.007600707467645407, 0.008266431279480457, -0.02655903622508049, 0.055428214371204376, -0.03723561391234398, -0.05383309721946716, -0.01963217556476593, 0.05632622539997101, 0.02283259853720665, 0.010476607829332352, 0.013335059396922588, -0.025737756863236427, -0.006561852525919676, -0.01593002676963806, 0.02406466007232666, 0.05128015950322151, -0.012852600775659084, -0.013284577988088131, 0.015421549789607525, 0.01587657257914543, 0.01639489084482193, 0.0017095989314839244, 0.01965920254588127, -0.02461913414299488, 0.008980458602309227, 0.01892334781587124, -0.000011843133506772574, 0.017846709117293358, 0.07514049112796783, -0.0063942801207304, -0.016883719712495804, 0.05584599822759628, -0.003156143007799983, 0.055748432874679565, -0.0447920598089695, 0.051101312041282654, 0.041797999292612076, 0.03587550297379494, 0.014774603769183159, 0.01705327443778515, 0.01569010689854622, -0.003546996507793665, 0.018778182566165924, 0.030241960659623146, 0.016993867233395576, -0.004399680532515049, -0.0443364754319191, -0.07522016018629074, 0.035107020288705826, -0.05107072740793228, -0.004627128131687641, -0.007896731607615948, 0.06084712967276573, 0.015772385522723198, 0.022110246121883392, 0.007797920145094395, -0.06553837656974792, 0.027151742950081825, -0.0013198107481002808, 0.02944079600274563, 0.014098812825977802, 0.022495727986097336, 0.042655546218156815, 0.053624819964170456, -0.029082482680678368, 0.002385294996201992, -0.04869857802987099, -0.08205778896808624, -0.04114886745810509, 0.026675360277295113, 0.04831506684422493, -0.0360528826713562, -0.01903189904987812, 0.027390645816922188, 0.033243149518966675, 0.011097855865955353, 0.012865577824413776, -0.02630881778895855, 0.012065375223755836, -0.04357271268963814, -0.061575356870889664, 0.05317103490233421, 0.05237995460629463, -0.02213536575436592, -0.04681844636797905, 0.01727188006043434, -0.035254135727882385, -0.00405464693903923, 0.012501082383096218, -0.01671595685184002, 0.0711108073592186, 0.013545890338718891, 0.048364415764808655, -0.02736191265285015, 0.06648429483175278, -0.07157429307699203, 0.008405685424804688, 0.012080118060112, 0.018626127392053604, 0.023501746356487274, 0.007357709109783173, 0.14415693283081055, 0.025872791185975075, -0.007056374102830887, -0.04074250906705856, 0.036409564316272736, 0.009118380956351757, -0.054283883422613144, 0.01030037272721529, -0.01096528209745884, -0.014053687453269958, 0.017313430085778236, -0.0461718812584877, -0.03176632151007652, -0.011073580943048, -0.033276867121458054, -0.0009067879873327911, 0.08192048966884613, -0.02848593331873417, 0.06420410424470901, 0.011425210162997246, -0.03569844737648964, 0.014921656809747219, -0.062006741762161255, -0.007971332408487797, 0.009538743644952774, 0.0045399111695587635, -0.027605613693594933, 0.05760796740651131, -0.020806916058063507, -0.058470018208026886, -0.012932690791785717, -0.04458621144294739, 0.037274349480867386, 0.06662902981042862, 0.04799472168087959, -0.029659973457455635, 0.021697798743844032, 0.0016517355106770992, -0.005130320321768522, -0.039761751890182495, -0.07679732888936996, -0.007050029002130032, 0.018093310296535492, 0.025000762194395065, 0.017609404399991035, 0.01617809757590294, 0.012052055448293686, 0.028192222118377686, 0.010952540673315525, -0.01557229645550251, -0.03441966697573662, 0.05772610753774643, -0.01202611718326807, 0.020573124289512634, -0.02391308732330799, -0.02262141928076744, 0.021819211542606354, -0.027230016887187958, -0.0718245804309845, 0.031729571521282196, -0.07646389305591583, 0.037272024899721146, -0.04232659935951233, -0.05813378095626831, -0.015129108913242817, 0.0217214934527874, 0.04057944566011429, 0.024879207834601402, -0.02057119458913803, 0.07250076532363892, -0.004269951023161411, 0.007607500068843365, 0.01882164552807808, 0.01641984097659588, 0.007541325408965349, 0.0037037734873592854, -0.0009091993561014533, 0.021635429933667183, -0.009422638453543186, -0.015435341745615005, -0.05199185013771057, 0.03626086935400963, -0.03569789603352547, -0.23594680428504944, 0.05268000438809395, 0.019819440320134163, -0.04888537898659706, 0.05000358819961548, -0.0026450559962540865, 0.01555420272052288, -0.03814323991537094, -0.005527282599359751, 0.04377308115363121, -0.044910501688718796, -0.025474436581134796, -0.03171752393245697, 0.03699251636862755, -0.022992515936493874, -0.0020517061930149794, -0.008897996507585049, -0.05416671931743622, 0.017476830631494522, 0.0223806444555521, 0.010985378175973892, -0.08468760550022125, -0.0028049233369529247, 0.052193522453308105, 0.028610970824956894, 0.06334897130727768, -0.05674821883440018, 0.0400426909327507, -0.01796453259885311, 0.029129916802048683, 0.003142907749861479, -0.021508490666747093, 0.0008873685728758574, 0.004024644382297993, -0.029248729348182678, -0.009902904741466045, 0.027407146990299225, 0.01638568751513958, -0.0050978767685592175, 0.021816447377204895, -0.07089360803365707, -0.05959821492433548, 0.008682823739945889, -0.008383341133594513, 0.051513612270355225, 0.017879102379083633, -0.06127895414829254, -0.010379561223089695, -0.01689937710762024, 0.07168734073638916, -0.047250065952539444, -0.03891102224588394, 0.0280134379863739, -0.0033278425689786673, -0.01023498922586441, -0.03172813355922699, -0.007868046872317791, -0.013217145577073097, -0.0017247009091079235, -0.04873473942279816, -0.0072453864850103855, -0.036967840045690536, -0.02098868601024151, -0.07800372689962387, 0.002666118321940303, -0.06382732838392258, -0.05297664552927017, 0.007377677597105503, 0.07765362411737442, 0.016415925696492195, -0.0386965312063694, -0.007350124418735504, 0.004540220834314823, -0.10965973883867264, 0.03195257484912872, -0.04718127101659775, -0.05338815227150917, -0.01144079677760601, -0.014680101536214352, 0.038362033665180206, -0.019867632538080215, -0.01433133240789175, 0.014391651377081871, 0.02274658903479576, 0.028546078130602837, -0.028684906661510468, 0.012545842677354813, -0.03178317844867706, -0.010153215378522873, 0.0020475212950259447, 0.08041014522314072, -0.01056929212063551, -0.0186289232224226, -0.053971562534570694, 0.018765361979603767, 0.061078887432813644, -0.0010364193003624678, 0.02916979044675827, 0.005846683401614428, 0.038166679441928864, 0.05544702708721161, -0.034174107015132904, 0.01561666838824749, -0.04485820606350899, 0.011826522648334503, 0.007657945156097412, -0.05452596768736839, 0.052519772201776505, 0.028452957049012184, 0.02159159630537033, 0.01426240149885416, -0.05652076378464699, 0.002901502186432481, -0.04561201483011246, -0.0444830060005188, -0.03229434788227081, 0.014181730337440968, 0.032256681472063065, 0.000824594812002033, -0.04155825451016426, -0.018866870552301407, 0.014721612446010113, 0.05770997330546379, -0.03598441928625107, -0.031023040413856506, -0.04894426092505455, -0.04354337975382805, -0.03737546503543854, 0.007657240144908428, 0.00307087367400527, -0.017375033348798752, 0.03083699569106102, 0.04995926097035408, -0.008546282537281513, -0.0007748836069367826, -0.017272019758820534, -0.03278416395187378, -0.0370866023004055, -0.01645229384303093, 0.0035388977266848087, 0.010842207819223404, 0.0030100629664957523, -0.01759294606745243, 0.014385771006345749, 0.0370781235396862, -0.005012768320739269, 0.01729738898575306, -0.019331520423293114, -0.005306942854076624, 0.03512794151902199, -0.00593965407460928, -0.051560018211603165, 0.0024011461064219475, -0.014355801977217197, -0.06677849590778351, 0.025839559733867645, 0.03152329847216606, -0.01199310552328825, -0.0904243141412735, -0.00847216509282589, 0.05259452760219574, -0.06879254430532455, 0.006525395438075066, -0.0012845767196267843, -0.01810571737587452, 0.04649081453680992, 0.002711354987695813, 0.04209158569574356, -0.016535498201847076, -0.05078676715493202, 0.008232349529862404, 0.013428564183413982, -0.017323922365903854, 0.05615377053618431, 0.03476537764072418, -0.0035178586840629578, 0.03919542580842972, 0.007131330668926239, 0.031135467812418938, 0.003919484559446573, -0.002480468712747097, -0.007491509895771742, 0.02197711355984211, 0.021090706810355186, 0.031466126441955566, -0.00668450677767396, -0.014396958984434605, -0.009295486845076084, -0.023568788543343544, -0.010191883891820908, -0.024284133687615395, -0.014952830970287323, -0.020607447251677513, 0.0769331306219101, -0.022952906787395477, -0.0741281807422638, 0.029305577278137207, -0.0013088601408526301, 0.01795251853764057, 0.006071307230740786, 0.014950653538107872, -0.010453252121806145, -0.03717754781246185, 0.049111220985651016, 0.0469248965382576, -0.036325301975011826, 0.004375589545816183, -0.033738669008016586, 0.005606836639344692, 0.025112422183156013, 0.008799663744866848, -0.02313327230513096, 0.0017275934806093574, -0.022547084838151932, 0.01224357821047306, -0.05044666677713394, -0.05174420401453972, -0.02144129015505314, 0.0058928364887833595, 0.0033675513695925474, -0.004059658385813236, -0.014133541844785213, -0.006423633545637131, -0.041163261979818344, -0.05594500154256821, 0.042005639523267746, -0.024380993098020554, -0.027631044387817383, 0.007514954544603825, -0.0015595437726005912, 0.012462258338928223, -0.010940615087747574, 0.04960178583860397, 0.01761949248611927, 0.006768048740923405, -0.03862825036048889, -0.04210611432790756, -0.00407437514513731, 0.002490382641553879, 0.09308722615242004, 0.0017939332174137235, -0.008359508588910103, -0.03755919635295868, -0.016646116971969604, -0.029082678258419037, 0.03550006076693535, 0.002881782129406929, -0.024236178025603294, 0.02757376991212368, 0.0596054270863533, 0.024266976863145828, 0.013284673914313316, -0.0017058909870684147, -0.022838065400719643, 0.06992549449205399, -0.05861145257949829, -0.048176635056734085, 0.013224028050899506, -0.07404322177171707, 0.015688715502619743, 0.01974971778690815, -0.010683252476155758, -0.07557173818349838, 0.05666663497686386, 0.040498584508895874, 0.015299779362976551, 0.025202887132763863, -0.015242345631122589, 0.01755349710583687, -0.01072147861123085, -0.01966392993927002, -0.08285258710384369, 0.020785585045814514, 0.019289439544081688, 0.010413797572255135, -0.005401880480349064, -0.04748310521245003, -0.0033916078973561525, 0.016937630251049995, -0.08073030412197113, -0.014752553775906563, 0.006776309572160244, -0.006535091437399387, -0.012140602804720402, 0.018113691359758377, -0.05146907642483711, 0.03401624411344528, 0.024021517485380173, -0.038037627935409546, -0.045320626348257065, -0.038409411907196045, 0.031707972288131714, 0.04513685777783394, 0.03184986487030983, 0.005517500452697277, 0.011857825331389904, 0.06388185173273087, 0.00649572117254138, 0.014440357685089111, 0.05638958141207695, -0.04839733615517616, 0.029607415199279785, 0.06348684430122375, -0.0063720326870679855, -0.002123375656083226, 0.031260889023542404, -0.027314944192767143, -0.04360705986618996, -0.014640945009887218, 0.0032661918085068464, -0.033070679754018784, -0.043633777648210526, 0.04836348444223404, 0.028469113633036613, -0.04979611933231354, -0.02809165045619011, 0.028811577707529068, -0.04085898771882057, -0.019690467044711113, -0.036939676851034164, 0.032321497797966, -0.0380936898291111, 0.05504140257835388, -0.008293834514915943, 0.006907633040100336, 0.04838848486542702, -0.005644715391099453, -0.024911602959036827, 0.009051956236362457, 0.06547239422798157, 0.0824945867061615, -0.010425101034343243, 0.020837631076574326, 0.05749872326850891, -0.008430694229900837, -0.04346310719847679, -0.004971798043698072, -0.04911123216152191, -0.019508542492985725, 0.00667323125526309, 0.004309673793613911, 0.06669784337282181, -0.019006267189979553, 0.04736057668924332, -0.042488113045692444, 0.008131801150739193, 0.030460266396403313, 0.040760673582553864, 0.013227938674390316, 0.005589290056377649, 0.006393585354089737, 0.03171204775571823, 0.046285878866910934, -0.008802707307040691, 0.015868760645389557, -0.023247230798006058, -0.038745298981666565, 0.029663754627108574, -0.0024285379331558943, 0.007690794300287962, 0.02335325814783573, 0.024377966299653053, 0.06733834743499756, -0.0224185548722744, -0.0075800977647304535, -0.0007952399901114404, 0.024747764691710472, -0.01611883006989956, -0.00817771628499031, 0.004722828511148691, -0.028897715732455254, 0.0030190935358405113, 0.005705971270799637, -0.014510867185890675, -0.035084255039691925, -0.019570263102650642, 0.009429733268916607, -0.011950481683015823, 0.01063667144626379, 0.015722310170531273, 0.003295492148026824, -0.05473851040005684, -0.05734327435493469, -0.08013872057199478, -0.03325169160962105, -0.04418100416660309, -0.013570859096944332, 0.00269398745149374, -0.00994480587542057, -0.03981710597872734, -0.031760524958372116, -0.019687583670020103, -0.03944383189082146, 0.027131369337439537, -0.02593093179166317, -0.01524845790117979, 0.012167667970061302, 0.025162478908896446, 0.04117423668503761, 0.03572310134768486, 0.05630239471793175, -0.022447409108281136, 0.0066814422607421875, -0.011439475230872631, -0.03867444023489952, 0.04080360755324364, 0.01079179160296917, 0.005776596255600452, -0.07359910011291504, 0.006434889044612646, 0.04166384041309357, 0.026925059035420418, -0.04656752198934555, -0.007828759029507637, 0.04688507691025734, 0.006001013331115246, 0.05845463275909424, -0.003859294345602393, -0.008128436282277107, -0.019194424152374268, -0.03391615301370621, -0.027592124417424202, -0.019844790920615196, 0.04979075491428375, 0.0010747459018602967, 0.07184023410081863, 0.0529470331966877, -0.007594033144414425, -0.023331524804234505, 0.02179340273141861, 0.014681726694107056, -0.00994824431836605, -0.04974561184644699, -0.043671827763319016, -0.022590959444642067, -0.08420542627573013, -0.015892846509814262, 0.03558520972728729, 0.012645155191421509, -0.013264167122542858, 0.02147936262190342, 0.02324269525706768, -0.05814711004495621, 0.0353398472070694, -0.03933142498135567, -0.009657679125666618, -0.025805639103055, -0.04793025180697441, -0.008868759498000145, 0.033606890588998795, -0.02113659866154194, -0.02249966189265251, 0.02893790975213051, -0.03252008929848671, 0.011458933353424072, 0.006465497426688671, 0.043725889176130295, 0.06889674067497253, -0.021816568449139595, -0.01876676268875599 ]
[ -0.09752437472343445, -0.03212607651948929, -0.042880330234766006, -0.055921681225299835, -0.002279719803482294, -0.05924580991268158, 0.01925359107553959, 0.04662223160266876, 0.015912175178527832, -0.018032623454928398, -0.0004183808050584048, -0.04065277799963951, 0.015555263496935368, -0.00882607139647007, 0.07666268944740295, 0.011908196844160557, -0.013595101423561573, -0.05999377369880676, -0.013858338817954063, 0.04226543754339218, 0.021053636446595192, -0.006056260317564011, -0.03688134625554085, -0.0570707842707634, 0.007868574932217598, 0.03319993615150452, 0.06961850076913834, -0.03855377063155174, -0.0023149685002863407, -0.153738871216774, 0.009484890848398209, -0.02498769387602806, 0.001179466606117785, -0.004398965276777744, -0.005021744407713413, 0.0003417183761484921, 0.04456331580877304, -0.01362046878784895, -0.005946673918515444, 0.03218966722488403, 0.02595333941280842, 0.03293968737125397, -0.05027152597904205, -0.015466327778995037, 0.01745881512761116, -0.04293544590473175, 0.01267483551055193, -0.01885736919939518, 0.04027882590889931, -0.03467942029237747, -0.08718482404947281, 0.01589629054069519, 0.02071700058877468, -0.037576694041490555, 0.031458161771297455, 0.009626677259802818, 0.06339394301176071, 0.09052038192749023, 0.024236172437667847, 0.0517650842666626, 0.026666106656193733, -0.026680197566747665, -0.13423499464988708, 0.09448438882827759, 0.03575438633561134, 0.0354832299053669, 0.002669005189090967, 0.0385376401245594, -0.011926260776817799, 0.054926104843616486, 0.005878168158233166, 0.00878080539405346, -0.03470867872238159, 0.09209401905536652, -0.001538876909762621, -0.01454835757613182, -0.009231125935912132, 0.02658991329371929, 0.038076259195804596, -0.01683439128100872, -0.07666180282831192, -0.05267949774861336, 0.019726809114217758, -0.00265887170098722, -0.05950738489627838, 0.05392594635486603, -0.02225320041179657, 0.06475880742073059, 0.01321182120591402, -0.009465605951845646, -0.01864919811487198, 0.0014235846465453506, 0.005418144166469574, -0.006878937128931284, -0.08714623749256134, 0.021812211722135544, -0.039213407784700394, -0.003626512596383691, -0.047959547489881516, 0.4031926095485687, -0.026598412543535233, -0.04255862906575203, 0.0319833867251873, 0.017086757346987724, 0.014902264811098576, -0.013142471201717854, -0.014244006015360355, -0.0414658859372139, -0.009693032130599022, -0.017833448946475983, -0.01147149596363306, -0.024632716551423073, 0.04184093698859215, -0.021147295832633972, 0.0006332563934847713, 0.033449504524469376, 0.016337014734745026, 0.008104478009045124, -0.02349231392145157, 0.05931274592876434, -0.04696717485785484, -0.004185517784208059, -0.004876838065683842, 0.025560231879353523, 0.017482174560427666, -0.047025684267282486, 0.03948378935456276, 0.044373463839292526, 0.00658670486882329, 0.03459082916378975, 0.03967301547527313, -0.037013035267591476, -0.04284273087978363, 0.0011357031762599945, 0.009825588203966618, 0.028278173878788948, 0.02557387761771679, -0.04182634502649307, -0.030100639909505844, 0.021503031253814697, 0.021403182297945023, -0.07203452289104462, 0.009884823113679886, -0.030940713360905647, -0.030678872019052505, 0.0964408740401268, 0.02200036309659481, -0.010021110065281391, 0.0038156972732394934, -0.07765655219554901, -0.003736410290002823, 0.04913560301065445, -0.001638751127757132, -0.049967873841524124, -0.005396075081080198, 0.04398420453071594, 0.04852321371436119, 0.021257780492305756, -0.028993554413318634, -0.007765865419059992, 0.002934671239927411, -0.02694210223853588, -0.03661009669303894, 0.03400149196386337, 0.0717749297618866, -0.08482273668050766, -0.006347745656967163, 0.014370039105415344, -0.017665591090917587, -0.058277249336242676, -0.03908621147274971, 0.020232873037457466, -0.01973714865744114, -0.019474174827337265, 0.023242928087711334, -0.017730694264173508, 0.01742655038833618, -0.018146073445677757, 0.022894414141774178, 0.004059562925249338, -0.002541673369705677, 0.034798067063093185, -0.042271990329027176, 0.0014839612413197756, -0.013240334577858448, -0.08765152841806412, -0.06474798172712326, 0.02421257086098194, -0.018648240715265274, -0.026693323627114296, -0.09256241470575333, -0.030144285410642624, -0.06431618332862854, 0.07177972048521042, 0.006155854091048241, -0.04618963226675987, 0.009776405990123749, -0.026777001097798347, 0.0004925321554765105, -0.06160891801118851, 0.08992167562246323, 0.04742778092622757, -0.024018429219722748, 0.06192626431584358, -0.0780850350856781, 0.03440411016345024, 0.05275731906294823, -0.04259679093956947, 0.027878116816282272, 0.010723440907895565, -0.028403902426362038, -0.002549419179558754, 0.022654004395008087, 0.043539728969335556, -0.016531601548194885, -0.0497421994805336, 0.010346993803977966, 0.10377946496009827, 0.03231872618198395, 0.028392672538757324, -0.021701369434595108, -0.004972579888999462, -0.02678840048611164, -0.30713871121406555, -0.04026924818754196, 0.014067103154957294, -0.028862187638878822, 0.019041642546653748, -0.010906095616519451, 0.021384520456194878, -0.024946752935647964, -0.009769128635525703, -0.016771038994193077, 0.1315402239561081, -0.029963426291942596, -0.004740206990391016, -0.08265142142772675, -0.013586812652647495, 0.012516986578702927, -0.05291612446308136, 0.0012071713572368026, -0.006901898421347141, 0.027657965198159218, -0.005282874219119549, 0.0011066412553191185, 0.0010363210458308458, -0.013349035754799843, -0.0022031073458492756, -0.023620447143912315, 0.1289275586605072, -0.03585195541381836, 0.08499903976917267, -0.06326872855424881, 0.04089492931962013, 0.026819052174687386, -0.009752882644534111, -0.09508126229047775, -0.011848049238324165, 0.00807646382600069, 0.008107908070087433, 0.04501655325293541, 0.02253212034702301, 0.01576485112309456, -0.08005212992429733, 0.031425394117832184, -0.05427338555455208, -0.020895930007100105, -0.01189524494111538, -0.03194787725806236, -0.0029191626235842705, -0.0758625715970993, -0.024855678901076317, 0.05108705163002014, 0.006293650716543198, -0.017650311812758446, 0.00008978549158200622, 0.03250047191977501, 0.04619264602661133, -0.03408787399530411, -0.04460157826542854, -0.036909982562065125, 0.014556100592017174, -0.0008222429896704853, 0.04248920828104019, 0.08135487884283066, -0.018529875203967094, -0.05878274142742157, 0.0211130753159523, 0.0220167376101017, 0.008391221053898335, 0.02152201347053051, 0.0562349408864975, -0.05248313397169113, -0.06893350929021835, 0.0927964448928833, 0.0356360487639904, 0.01892152801156044, 0.01999983936548233, 0.022925011813640594, -0.0019073827425017953, -0.03608032688498497, 0.017591683194041252, 0.008279017172753811, 0.03345758840441704, -0.036561284214258194, 0.06331456452608109, -0.021873295307159424, -0.008962751366198063, 0.08215168863534927, 0.00031830291845835745, 0.03308877348899841, 0.03743305802345276, -0.003776469500735402, -0.01947827823460102, -0.012239428237080574, -0.01096425298601389, -0.05302727222442627, 0.041780415922403336, -0.03285522758960724, -0.2768068313598633, 0.025447800755500793, 0.032451529055833817, 0.024957481771707535, -0.035075683146715164, 0.03545433282852173, 0.040581174194812775, -0.002499994821846485, -0.03924465551972389, 0.05740608647465706, 0.012718954123556614, -0.01296826358884573, -0.019873205572366714, -0.001797136152163148, 0.030145054683089256, 0.035966381430625916, 0.01526566594839096, -0.00467345304787159, -0.005752774886786938, -0.015613733790814877, -0.005558165721595287, -0.001129968324676156, 0.154557004570961, -0.025275932624936104, 0.07399607449769974, 0.05836331844329834, -0.006965114735066891, 0.047380633652210236, 0.09349516034126282, 0.019094593822956085, 0.015880268067121506, -0.027568742632865906, 0.04795537889003754, -0.011406962759792805, 0.047076571732759476, -0.06841857731342316, 0.021912075579166412, 0.023705344647169113, 0.018333695828914642, -0.031683459877967834, -0.01818358711898327, 0.0310380719602108, -0.019500037655234337, 0.03589653968811035, 0.0769612044095993, 0.027037575840950012, -0.03147950768470764, -0.07230865210294724, 0.003919589798897505, -0.018027592450380325, -0.02717735432088375, -0.04540363326668739, 0.04468400031328201, 0.009429440833628178, 0.004134939983487129, 0.03209817782044411, -0.006606937851756811, -0.052872348576784134, -0.04646403715014458, 0.04316667094826698, 0.03700127825140953, -0.06218726933002472, 0.1290297657251358, 0.012154247611761093, 0.003910962492227554 ]
[ -0.013272807002067566, 0.014858415350317955, -0.01723439060151577, -0.026924341917037964, -0.03459186479449272, 0.00535334087908268, 0.017366889864206314, 0.010449687950313091, -0.015607726760208607, -0.016533738002181053, -0.01788066141307354, 0.03380042687058449, -0.004939652048051357, -0.03813787177205086, -0.025759629905223846, -0.03484983369708061, 0.000903763750102371, -0.044220246374607086, 0.03136921301484108, -0.00777954189106822, -0.04853663221001625, 0.02622886560857296, 0.046933434903621674, -0.04518413543701172, -0.0227093193680048, 0.030496884137392044, 0.005700409412384033, -0.01002507098019123, 0.005106969736516476, -0.10116329789161682, -0.02029530704021454, -0.046663299202919006, -0.04454677179455757, 0.00466613844037056, -0.007162552792578936, -0.011147376149892807, 0.007626769598573446, 0.04091094434261322, -0.02050599828362465, 0.00982366967946291, 0.013560385443270206, -0.04302825406193733, -0.001998061779886484, 0.046610552817583084, 0.009295378811657429, -0.019398070871829987, -0.06162072345614433, -0.03640672564506531, 0.0008881731773726642, -0.0360921286046505, -0.0404227189719677, -0.016919119283556938, 0.0058955843560397625, 0.02783469669520855, 0.06342949718236923, -0.039111215621232986, -0.06002442166209221, 0.02950666844844818, -0.03136641904711723, 0.0020205152686685324, 0.03618038073182106, -0.0014801349025219679, -0.012843551114201546, -0.021075492724776268, -0.006731315050274134, -0.02779480628669262, 0.026220204308629036, -0.007464114110916853, -0.00855092704296112, 0.010141124948859215, -0.027715226635336876, 0.0440974123775959, -0.0557577982544899, -0.007800866384059191, -0.021928606554865837, 0.010051839984953403, 0.007545699365437031, -0.005386213306337595, 0.010827381163835526, 0.013414785265922546, -0.02681209146976471, -0.0068679312244057655, -0.011498937383294106, 0.034441959112882614, -0.016422711312770844, -0.0004055595782119781, 0.008312859572470188, -0.010830823332071304, -0.01863180845975876, 0.027814704924821854, -0.040298111736774445, 0.03759878873825073, -0.01360529288649559, 0.010015937499701977, -0.08769847452640533, 0.017149724066257477, -0.018936574459075928, -0.021328918635845184, -0.010194693692028522, 0.8261944651603699, -0.016894541680812836, 0.0005057775997556746, 0.03887271136045456, -0.01488146185874939, -0.002216080902144313, -0.019101550802588463, -0.010520546697080135, -0.004756169393658638, 0.03627608343958855, -0.05853573977947235, -0.008951160125434399, -0.001974715618416667, 0.000007384813216049224, 0.021650947630405426, 0.006362373009324074, -0.006047042086720467, 0.03997182101011276, 0.022368282079696655, 0.025168724358081818, 0.06585957854986191, 0.002942038234323263, -0.00830912310630083, -0.02819168195128441, 0.009846655651926994, -0.014266176149249077, -0.14578409492969513, 0.03420737013220787, -6.695573210613532e-33, 0.017836615443229675, -0.015969673171639442, -0.005396267864853144, 0.011397336609661579, 0.01751626282930374, -0.000764796684961766, -0.01536382082849741, 0.03995194658637047, -0.02692912146449089, -0.034124955534935, -0.00982581451535225, -0.0403997004032135, 0.04972882196307182, -0.0034753126092255116, 0.043655820190906525, -0.012462262064218521, 0.011164383962750435, 0.0340440459549427, 0.04529920592904091, -0.003996053244918585, 0.015610548667609692, 0.002330603078007698, 0.04633629322052002, -0.023591889068484306, 0.0010318623390048742, 0.03283017501235008, 0.0019637548830360174, 0.011509786359965801, -0.008429350331425667, -0.05360110476613045, 0.010023193433880806, -0.03385007008910179, 0.01511442568153143, -0.022535592317581177, -0.011895161122083664, -0.04648500680923462, 0.01302433479577303, -0.0036686707753688097, -0.015568404458463192, -0.0409802608191967, -0.05774172767996788, 0.0032014427706599236, -0.03323277458548546, 0.03525623306632042, -0.002927327761426568, -0.029736829921603203, -0.05007000267505646, 0.00557511392980814, -0.0033584649208933115, 0.006364615634083748, 0.0191456638276577, 0.009138797409832478, 0.00638924352824688, 0.007344576995819807, 0.008006560616195202, 0.020437443628907204, 0.027310965582728386, 0.05679580196738243, -0.015532275661826134, 0.05104755237698555, 0.015982208773493767, -0.011029903776943684, 0.009238277561962605, -0.010049768723547459, 0.04262952879071236, 0.003724198555573821, -0.01646917499601841, -0.008490762673318386, -0.02611437253654003, 0.008224943652749062, -0.04585402086377144, -0.004653234500437975, -0.02175334095954895, -0.008245088160037994, -0.0018691912991926074, 0.03093910403549671, -0.015613961964845657, 0.004770520143210888, 0.00693780230358243, 0.007151680067181587, 0.027796881273388863, 0.0191959161311388, 0.0250540804117918, -0.009793839417397976, -0.00634032255038619, -0.0019885411020368338, 0.010905403643846512, -0.023721806704998016, 0.022730225697159767, 0.04709082096815109, 0.002076289150863886, 0.05395127832889557, 0.007797893136739731, -0.006340934894979, -0.009130016900599003, 5.780570244643387e-33, -0.03948291763663292, 0.018784062936902046, -0.07446593046188354, -0.01303260587155819, 0.014888076111674309, -0.014317216351628304, 0.02936859056353569, 0.034603241831064224, -0.03843790665268898, 0.016640247777104378, -0.011166734620928764, 0.014934821985661983, 0.015465882606804371, 0.03555295616388321, 0.04009714722633362, -0.0408291332423687, 0.009731544181704521, 0.012724789790809155, 0.04614732041954994, -0.006852365098893642, 0.005519398022443056, 0.0011892365291714668, 0.03875546157360077, -0.002174596069380641, 0.026096219196915627, 0.028576254844665527, -0.010647568851709366, -0.0011846459237858653, -0.05367286503314972, -0.005583438090980053, 0.04610978439450264, -0.019184451550245285, 0.0012033589882776141, -0.020788270980119705, -0.026470007374882698, 0.058110352605581284, -0.0005393351311795413, -0.005529339425265789, 0.05197077617049217, 0.009904568083584309, 0.06211307272315025, -0.0317867211997509, -0.01117684505879879, 0.00865999236702919, 0.0036462608259171247, -0.0029368482064455748, -0.027666332200169563, -0.00007209839532151818, -0.034969672560691833, 0.016351208090782166, -0.00809551402926445, 0.010529021732509136, 0.02710845321416855, 0.03203815594315529, 0.033948589116334915, 0.021985597908496857, -0.02008632943034172, -0.005813974421471357, 0.017223376780748367, -0.030897848308086395, 0.031107110902667046, -0.054297156631946564, -0.0297846682369709, 0.05037423595786095, 0.0026850474532693624, -0.01252539362758398, -0.007850403897464275, -0.04118504375219345, 0.000643481791485101, -0.01063494011759758, -0.005247626453638077, 0.012100841850042343, -0.03448549658060074, 0.04256580024957657, 0.014198552817106247, 0.014418116770684719, 0.017548421397805214, 0.02616906724870205, -0.03921089693903923, 0.04753728583455086, 0.012264902703464031, 0.03675573319196701, -0.04975102096796036, 0.00010442726488690823, 0.044368695467710495, -0.0014433488249778748, -0.036145228892564774, -0.026166435331106186, -0.015517384745180607, -0.036527350544929504, -0.015176039189100266, 0.02744041197001934, -0.033083729445934296, -0.00732280220836401, -0.024543948471546173, -1.2349416600443419e-8, -0.020620672032237053, -0.03276878967881203, -0.005926322657614946, 0.019159451127052307, 0.04970685392618179, 0.02320021577179432, -0.039355263113975525, -0.0415419340133667, -0.0038135158829391003, 0.03529274836182594, 0.0079615768045187, -0.02230939455330372, 0.03070845454931259, 0.012968775816261768, 0.03352787345647812, -0.023304922506213188, 0.028200101107358932, -0.04588289558887482, 0.03100111521780491, -0.007690963800996542, 0.04767339676618576, 0.016114121302962303, -0.01397227868437767, 0.020140735432505608, -0.008860395289957523, -0.06411612033843994, 0.06820903718471527, -0.03559684753417969, -0.0501539409160614, -0.02552943490445614, -0.019008934497833252, -0.02593376487493515, 0.00772628141567111, 0.016663772985339165, -0.026983046904206276, 0.0002690630208235234, -0.019606424495577812, 0.02677318826317787, -0.0007292067748494446, 0.029144909232854843, -0.023665722459554672, -0.015922188758850098, -0.009666415862739086, -0.012907441705465317, 0.007486740592867136, -0.00875068735331297, 0.01284374576061964, 0.04313722997903824, 0.0015622180653735995, -0.028565729036927223, -0.019868645817041397, -0.01311599649488926, 0.03768577426671982, -0.023690400645136833, 0.01463985163718462, -0.0181280504912138, 0.03038116730749607, 0.004955041687935591, -0.014668886549770832, 0.023992305621504784, 0.005099929869174957, 0.03560495004057884, -0.04783299192786217, -0.04119620472192764 ]
java-testing-a-socket-is-listening-on-all-network-interfaceswildcard-interface
https://markhneedham.com/blog/2013/07/14/java-testing-a-socket-is-listening-on-all-network-interfaceswildcard-interface
false
2013-07-14 09:52:17
Learning more about network sockets
[ "software-development" ]
[ "Networking" ]
While reading through some of the https://github.com/neo4j/neo4j[neo4j code] a few weeks ago I realised that I didn't have a very good understanding about the mechanics behind network ports/sockets so I thought I'd try to learn more. In particular I'd not considered what binding a socket to different network interfaces meant so I decided to setup a few examples using netcat to help me understand better. To start with let's list the network interfaces that I have on my machine using ifconfig: [source,bash] ---- $ ifconfig -u lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 options=3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether xxxxxxxxxxxx inet6 fe80::9afe:94ff:fe4f:ee50%en0 prefixlen 64 scopeid 0x4 inet 192.168.1.89 netmask 0xffffff00 broadcast 192.168.1.255 media: autoselect status: active p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304 ether xxxxxxxxxxxx media: autoselect status: inactive ---- 'p2p0' isn't active so we'll only be able to use the other two to make a socket connection on the machine. We'll use netcat to setup a server socket on port 4444 listening on the loopback interface: [source,bash] ---- $ nc -l -k 127.0.0.1 4444 ---- We can use lsof to see how this has been setup: [source,bash] ---- $ lsof -Pni :4444 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 34178 markhneedham 35u IPv6 0x114b98295506482d 0t0 TCP 127.0.0.1:4444 (LISTEN) ---- Let's try and connect to that port using netcat: [source,bash] ---- $ nc -v 127.0.0.1 4444 Connection to 127.0.0.1 4444 port [tcp/krb524] succeeded! ---- That works as we'd expect but if we try to connect using the IP of the 'en0' interface we'll get an error: [source,bash] ---- $ nc -v 192.168.1.89 4444 nc: connect to 192.168.1.89 port 4444 (tcp) failed: Connection refused ---- However, if we setup netcat to listen on the wildcard interface (0.0.0.0) then we would be able to connect to 4444 regardless of the interface: [source,bash] ---- $ nc -l -k 0.0.0.0 4444 ---- [source,bash] ---- $ nc -v 192.168.1.89 4444 Connection to 192.168.1.89 4444 port [tcp/krb524] succeeded! $ nc -v 127.0.0.1 4444 Connection to 127.0.0.1 4444 port [tcp/krb524] succeeded! ---- If we check lsof it will confirm that we are listening on 4444 on all interfaces:</p ~~~bash $ lsof -Pni :4444 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 37725 markhneedham 3u IPv4 0x114b98294ba8dfd5 0t0 TCP *:4444 (LISTEN) ~~~ One thing I hadn't realised is that you can set up two different processes listening on the same port but on different interfaces. e.g. ~~~bash $ nc -l -k 127.0.0.1 4444 $ nc -l -k 0.0.0.0 4444 ~~~ We can see from lsof how this has been setup: ~~~bash $ lsof -Pni :4444 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 38306 markhneedham 3u IPv4 0x114b98294ba8dfd5 0t0 TCP *:4444 (LISTEN) nc 38331 markhneedham 3u IPv4 0x114b98294cc53fd5 0t0 TCP 127.0.0.1:4444 (LISTEN) ~~~ If we make a socket connection to 127.0.0.1 it goes to our first netcat and if we use 192.168.1.89 the second one is used. Finally, if we try to bind a server socket on an interface that we don't own netcat will fail in a fairly predictable way: ~~~bash $ nc -l -k 192.168.1.90 4444 nc: Can't assign requested address ~~~
null
null
[ 0.0002686518710106611, -0.04733187332749367, -0.01869218237698078, 0.006308373529464006, 0.07793063670396805, 0.005319575779139996, 0.01772170513868332, 0.01591704785823822, 0.005320125259459019, -0.029993370175361633, 0.003942299168556929, 0.013088466599583626, -0.08272960782051086, 0.00955285131931305, -0.0028387063648551702, 0.060288410633802414, 0.08759357780218124, -0.030879423022270203, 0.02183062955737114, -0.00919024646282196, 0.007238688878715038, 0.05016665905714035, 0.001130224671214819, 0.057249341160058975, 0.03691847622394562, 0.03479556739330292, 0.010175238363444805, 0.0015769641613587737, -0.02396920509636402, 0.013185127638280392, 0.06251391768455505, 0.0003964622737839818, 0.017771543934941292, -0.0155426524579525, 0.02042735368013382, -0.03156440705060959, -0.002085517393425107, -0.004639525432139635, 0.004077388439327478, -0.016598662361502647, -0.059217602014541626, 0.03162425756454468, -0.008467009291052818, 0.03550979867577553, -0.025857601314783096, 0.003955986350774765, -0.05480647459626198, 0.007941950112581253, 0.01914212480187416, 0.01887538656592369, -0.1010136604309082, 0.007052610162645578, -0.04603651538491249, 0.03971412777900696, 0.006930316332727671, 0.03577323257923126, 0.01904371939599514, -0.06996998935937881, 0.05677981302142143, -0.027300240471959114, -0.012180779129266739, -0.0034722154960036278, 0.017044922336935997, 0.00894347857683897, -0.019539132714271545, -0.06147964298725128, 0.007804712280631065, 0.046352796256542206, -0.0301943589001894, -0.013493251986801624, -0.012345835566520691, 0.017066800966858864, -0.03827822953462601, -0.01252437848597765, 0.045827947556972504, -0.042639922350645065, -0.006325227208435535, 0.024191921576857567, 0.04538162425160408, 0.03528987243771553, -0.06443445384502411, 0.022799765691161156, 0.01898949220776558, 0.018234392628073692, 0.024153783917427063, -0.0654103010892868, -0.01585429348051548, 0.010380026884377003, -0.07249052822589874, 0.08724075555801392, 0.026753325015306473, -0.054250914603471756, -0.0032149278558790684, -0.00005748220792156644, -0.009374938905239105, 0.024036452174186707, -0.009107829071581364, -0.011632625944912434, 0.03635181859135628, -0.019419118762016296, -0.014652525074779987, -0.0008264945354312658, -0.0008182920864783227, 0.0321287102997303, -0.06728939712047577, -0.02328479290008545, -0.03884049132466316, -0.023940004408359528, -0.02637457102537155, -0.0018082237802445889, -0.04431784525513649, -0.01679316908121109, 0.01955670863389969, -0.0067075821571052074, -0.09379108250141144, 0.05480934679508209, 0.02709612250328064, -0.05374132841825485, 0.00813809409737587, 0.033763546496629715, 0.04821311682462692, 0.03867526724934578, -0.02551323175430298, 0.06683581322431564, -0.01174460630863905, 0.0004441990749910474, 0.008314681239426136, 0.029357776045799255, -0.023336363956332207, -0.05939614027738571, -0.012313256040215492, 0.06529054045677185, 0.01728324592113495, -0.006926417350769043, -0.015564998611807823, -0.013554304838180542, -0.03164597973227501, 0.00039552818634547293, 0.034993719309568405, 0.052864592522382736, -0.01095463428646326, -0.05143740400671959, 0.021634656935930252, 0.01469113677740097, 0.031273629516363144, 0.014547821134328842, -0.015676889568567276, -0.0355825275182724, -0.0006071398383937776, 0.00983341597020626, -0.0045982832089066505, 0.02612639218568802, 0.06781286001205444, -0.013809215277433395, -0.018775345757603645, 0.08491276949644089, 0.04059651866555214, 0.0341331884264946, -0.02224947139620781, 0.014835232868790627, 0.04630616307258606, 0.01815723069012165, 0.02910280041396618, 0.04539825767278671, 0.00427487026900053, -0.008273194544017315, -0.010291852988302708, 0.05198344215750694, 0.035238150507211685, 0.023800980299711227, -0.02283644489943981, -0.0556550994515419, 0.05311019346117973, -0.023376349359750748, -0.0043771942146122456, 0.011835102923214436, 0.055979181081056595, 0.016927331686019897, 0.003552679205313325, 0.0024573011323809624, -0.07234130799770355, 0.05552571639418602, -0.0025993401650339365, 0.024805497378110886, 0.028977928683161736, 0.029559608548879623, 0.04991118982434273, 0.04098435118794441, -0.010940364561975002, 0.01397993415594101, -0.06211359053850174, -0.07902242243289948, -0.01190413348376751, 0.003843258833512664, 0.04979700222611427, -0.0316021554172039, -0.01126081682741642, 0.0566154383122921, 0.03025442361831665, 0.015561145730316639, 0.01305877510458231, -0.03831087052822113, 0.03989165276288986, -0.050845611840486526, -0.047781459987163544, 0.04397134482860565, 0.013563237152993679, -0.04533200338482857, -0.05688709393143654, -0.0018926153425127268, -0.017676617950201035, -0.010010968893766403, 0.02016603760421276, -0.021568147465586662, 0.06192665547132492, 0.02784893289208412, 0.023785190656781197, -0.0055275969207286835, 0.027314744889736176, -0.023223837837576866, 0.009292341768741608, 0.014420652762055397, -0.01208427082747221, 0.013890596106648445, -0.023262429982423782, 0.11985527724027634, 0.03962525352835655, -0.021012553945183754, -0.041218750178813934, 0.059895243495702744, 0.013303895480930805, -0.03462597727775574, 0.009797977283596992, -0.016954081133008003, -0.022885072976350784, -0.03445759043097496, -0.03038719668984413, -0.02971184067428112, -0.02750314213335514, -0.0562032088637352, 0.016533438116312027, 0.07591293007135391, -0.05173620954155922, 0.05119384452700615, -0.0005228372756391764, -0.04660322517156601, 0.015916066244244576, -0.05933007970452309, -0.023115867748856544, 0.028813814744353294, 0.007797859609127045, -0.020131636410951614, 0.07625607401132584, -0.046792399138212204, -0.006226250436156988, -0.042503472417593, -0.019497081637382507, 0.04456322267651558, 0.057529062032699585, 0.05086703971028328, -0.006787764374166727, 0.03246736899018288, -0.030316052958369255, -0.0051741511560976505, -0.01868375390768051, -0.06674280017614365, -0.015063525177538395, 0.026995321735739708, 0.022127395495772362, -0.012317544780671597, 0.02680318057537079, 0.0009044315083883703, 0.02901703678071499, -0.0173697080463171, 0.02257927879691124, -0.039204519242048264, 0.035988420248031616, 0.019251422956585884, 0.015228630974888802, -0.0247296541929245, -0.027986867353320122, 0.042353563010692596, -0.03583800792694092, -0.04210483655333519, 0.00676872069016099, -0.047370508313179016, 0.027627071365714073, -0.05552040785551071, -0.029259584844112396, -0.049145497381687164, 0.031894486397504807, 0.05091124400496483, 0.023051651194691658, -0.0068521881476044655, 0.051411937922239304, 0.03437991812825203, 0.010011861100792885, 0.03430350869894028, 0.007413105107843876, 0.01684114709496498, 0.00007833994459360838, 0.02188725396990776, 0.018876155838370323, -0.027425209060311317, -0.015913309529423714, -0.05665836110711098, 0.029910260811448097, -0.01921793632209301, -0.2609822154045105, 0.0633624717593193, -0.0022872076369822025, -0.05220387503504753, 0.027119817212224007, -0.03074628859758377, 0.00999875832349062, -0.025322850793600082, -0.007726984564214945, -0.011331352405250072, -0.014761734753847122, -0.04842539504170418, -0.01935124211013317, 0.00986686535179615, -0.000914079078938812, 0.001503753592260182, -0.009489509277045727, -0.060537029057741165, 0.01502360962331295, 0.014181212522089481, -0.005274348892271519, -0.06256990879774094, 0.014260970056056976, 0.02560669742524624, 0.003006657585501671, 0.04625604674220085, -0.0851391926407814, 0.0439305379986763, -0.03983401134610176, -0.002004860434681177, -0.0078596081584692, -0.01351445633918047, -0.018465258181095123, 0.014270937070250511, -0.01888526976108551, -0.011748750694096088, 0.057380154728889465, -0.00484343059360981, 0.00673697842285037, -0.0019031204283237457, -0.050863537937402725, -0.027995439246296883, -0.0012219545897096395, -0.018982741981744766, 0.07037538290023804, 0.005626262165606022, -0.07400412112474442, -0.01090528815984726, -0.007119406946003437, 0.08544359356164932, -0.053932346403598785, -0.020809298381209373, 0.005083977244794369, 0.0091362614184618, -0.025017308071255684, -0.04948887974023819, -0.031113911420106888, -0.010004812851548195, -0.02938159368932247, -0.015682343393564224, -0.031056607142090797, -0.04452301934361458, -0.011800017207860947, -0.06365526467561722, -0.006933196913450956, -0.053180791437625885, -0.10776536911725998, -0.03303315117955208, 0.0798163115978241, 0.013195297680795193, -0.015454505570232868, 0.0171072855591774, -0.010708912275731564, -0.10689987987279892, -0.004361816216260195, -0.023959597572684288, -0.04752576723694801, 0.0033600376918911934, 0.007062130142003298, 0.05818815156817436, -0.031511180102825165, -0.03333229199051857, -0.0029884474352002144, 0.015786757692694664, 0.003838838078081608, 0.01712571084499359, 0.02103663980960846, -0.037845999002456665, -0.027866818010807037, 0.014912940561771393, 0.07367920875549316, -0.018672669306397438, -0.03815959393978119, -0.01581086404621601, 0.007671628147363663, 0.02762594260275364, -0.011249011382460594, 0.003780281636863947, 0.02409312315285206, 0.055697809904813766, 0.06109603866934776, -0.034481216222047806, 0.022003794088959694, -0.02967197261750698, -0.008186005055904388, -0.005620244890451431, -0.05950731784105301, 0.03775235265493393, 0.030077306553721428, 0.02136981301009655, -0.0005984719609841704, -0.021538743749260902, 0.0015935548581182957, -0.055850159376859665, -0.03693874180316925, -0.01490783505141735, 0.00656890170648694, 0.02784286066889763, 0.016324106603860855, -0.026310933753848076, -0.016103524714708328, 0.027692606672644615, 0.054688960313797, -0.021704770624637604, -0.05253520980477333, -0.0393388532102108, -0.05549164488911629, -0.04635761305689812, 0.004185420460999012, 0.01756410486996174, 0.013432806357741356, 0.042703304439783096, 0.03422857075929642, -0.0345785990357399, 0.016707468777894974, -0.0010300225112587214, -0.042948171496391296, -0.02583882212638855, 0.025225594639778137, -0.011184039525687695, -0.0318840816617012, 0.017763853073120117, 0.008214090950787067, 0.04170675575733185, 0.034069858491420746, 0.024881044402718544, 0.022965185344219208, -0.015280250459909439, -0.0020896608475595713, 0.011599243618547916, 0.007741665001958609, -0.05019279569387436, -0.023513369262218475, -0.018690958619117737, -0.03760049492120743, 0.022004464641213417, 0.04731731861829758, -0.020575454458594322, -0.042131438851356506, -0.029926326125860214, 0.03133375942707062, -0.07437749952077866, 0.0077209435403347015, 0.0015816416125744581, -0.0020156484097242355, 0.05390852317214012, -0.017934830859303474, 0.031668853014707565, -0.017230859026312828, -0.027244819328188896, -0.014316137880086899, 0.032529477030038834, -0.03514564037322998, 0.02806811034679413, 0.03527187183499336, 0.0023243774194270372, 0.005876061972230673, 0.023287780582904816, 0.03373873978853226, 0.007902377285063267, 0.03693884611129761, 0.003449830925092101, 0.010579969733953476, 0.022828254848718643, 0.03058134950697422, -0.00516290869563818, -0.03003080002963543, -0.0014828215353190899, 0.00017870328156277537, 0.016751546412706375, -0.002533026272431016, 0.007762042339891195, -0.01956404559314251, 0.04078434780240059, -0.032881610095500946, -0.03902252018451691, 0.036552466452121735, 0.01443503238260746, 0.012030599638819695, 0.011829245835542679, 0.01763254776597023, 0.02851102128624916, -0.045652274042367935, 0.05258012190461159, 0.048392314463853836, -0.03186890482902527, -0.0063647017814219, -0.0056029935367405415, 0.0059669301845133305, -0.0005246648797765374, 0.02950306236743927, -0.06234791874885559, -0.016515253111720085, 0.000333987467456609, 0.04504090175032616, -0.05836562439799309, -0.05071261525154114, 0.010701421648263931, -0.010258909314870834, -0.003927765414118767, 0.02524777129292488, 0.007679606322199106, 0.007830232381820679, -0.021199392154812813, -0.049224477261304855, 0.06077725067734718, -0.009746070951223373, -0.013185103423893452, 0.003096658270806074, 0.00311672268435359, 0.00779082952067256, -0.02317029982805252, 0.04985012859106064, 0.024142909795045853, 0.0050878627225756645, -0.020336639136075974, -0.07154068350791931, 0.013269833289086819, -0.010065905749797821, 0.05946613475680351, -0.00820978358387947, -0.003926625940948725, -0.040785275399684906, -0.01982910931110382, -0.04983041435480118, 0.009593108668923378, 0.01794147863984108, -0.012628856115043163, 0.0003594009904190898, 0.04287249967455864, -0.0007581484969705343, 0.021517306566238403, 0.007216864265501499, -0.016973495483398438, 0.06477851420640945, -0.04136975482106209, -0.05769174546003342, 0.012426342815160751, -0.07847176492214203, 0.012956219725310802, 0.027294274419546127, -0.009322487749159336, -0.06033000722527504, 0.04783095419406891, 0.04477009177207947, 0.0036654300056397915, 0.017893200740218163, -0.028600411489605904, 0.02222408726811409, -0.011751677840948105, -0.03205112740397453, -0.07089514285326004, 0.014549159444868565, 0.006712385453283787, 0.015564195811748505, -0.015695059671998024, 0.008227646350860596, -0.02585652470588684, -0.0034683127887547016, -0.056403256952762604, -0.022931091487407684, 0.02296719327569008, 0.0013487439136952162, 0.006263474468141794, -0.0022232644259929657, -0.07085591554641724, 0.026929935440421104, 0.026959292590618134, -0.027838587760925293, -0.012869736179709435, -0.020692255347967148, 0.027814708650112152, -0.00389337120577693, 0.05055158957839012, -0.006182090844959021, -0.02402246557176113, 0.05841337516903877, 0.023683879524469376, 0.04299401119351387, 0.04838380590081215, -0.015849700197577477, 0.03874515742063522, 0.04659528285264969, -0.002963962033390999, -0.006262041162699461, 0.022594399750232697, -0.02125096134841442, -0.03078637272119522, 0.01285811048001051, 0.008421326987445354, -0.02743689715862274, -0.05672409385442734, 0.07315923273563385, 0.012872986495494843, -0.05442836135625839, -0.023659806698560715, 0.035793792456388474, -0.026404326781630516, -0.024829261004924774, -0.037447500973939896, 0.04641346260905266, -0.027085406705737114, 0.052738796919584274, -0.024149760603904724, -0.0005134554230608046, 0.06560686230659485, -0.02594967931509018, -0.01884816400706768, 0.009120358154177666, 0.09589498490095139, 0.09523533284664154, -0.004931939300149679, 0.025883646681904793, 0.07101806998252869, -0.001085837371647358, -0.051913466304540634, -0.018971865996718407, -0.015465286560356617, -0.030923131853342056, 0.018598342314362526, 0.008224541321396828, 0.09180929511785507, -0.03932417556643486, 0.0708853229880333, -0.01514938659965992, 0.01610064134001732, 0.02121453545987606, -0.007886744104325771, 0.032045941799879074, 0.03607746958732605, 0.028045818209648132, 0.03600941225886345, 0.014938860200345516, -0.009522032923996449, 0.02897925116121769, -0.02163129672408104, -0.017551401630043983, 0.003421399975195527, -0.015733890235424042, -0.001318921335041523, 0.022895758971571922, 0.033189333975315094, 0.056363970041275024, -0.020139701664447784, -0.02123439870774746, 0.0018614135915413499, 0.023530658334493637, -0.04466651380062103, -0.000029635919418069534, -0.0004728752828668803, -0.009991873987019062, -0.011808151379227638, -0.010201812721788883, -0.027042536064982414, -0.045275162905454636, -0.0013169818557798862, 0.019784094765782356, -0.005361930932849646, -0.0010612732730805874, 0.0006259611109271646, -0.003480874001979828, -0.023904424160718918, -0.03910017013549805, -0.05233524367213249, -0.049595657736063004, -0.06353823095560074, -0.006802713498473167, -0.013923184014856815, -0.003557807533070445, -0.004911579191684723, -0.022551927715539932, -0.02904181182384491, -0.05335937440395355, 0.041486140340566635, -0.0388210229575634, -0.008007877506315708, 0.007189065217971802, 0.02708709053695202, 0.048074934631586075, 0.04049726575613022, 0.03284835070371628, 0.00463138660416007, 0.023903347551822662, -0.02133573219180107, -0.001987402094528079, 0.03341299295425415, 0.022183453664183617, -0.026241283863782883, -0.07711318880319595, -0.006490336265414953, 0.03292544186115265, 0.02443520352244377, -0.0642152801156044, -0.016123173758387566, 0.03235646337270737, 0.00873721856623888, 0.04659438133239746, -0.03950555622577667, -0.022233471274375916, 0.006512272637337446, 0.016694877296686172, -0.02967343106865883, -0.020695297047495842, 0.04463253542780876, -0.014153332449495792, 0.0721406415104866, 0.0638980120420456, -0.04196741059422493, -0.008990862406790257, 0.012731441296637058, 0.009832706302404404, 0.020585115998983383, -0.037917863577604294, -0.047643549740314484, -0.028839873149991035, -0.098517045378685, -0.049929577857255936, 0.03194411098957062, 0.02793988212943077, -0.021342113614082336, 0.013352842070162296, 0.005964215379208326, -0.06852909922599792, 0.02499374747276306, -0.03394893929362297, -0.007179160602390766, -0.03282137215137482, -0.046875230967998505, -0.024482494220137596, 0.026794185861945152, -0.03638867661356926, -0.0241137333214283, 0.059707388281822205, -0.04551910609006882, -0.00040623097447678447, -0.010435727424919605, 0.05178801715373993, 0.06446156650781631, 0.020190130919218063, 0.016956279054284096 ]
[ -0.07003631442785263, -0.03423157334327698, -0.03901350498199463, -0.039045825600624084, 0.03708522766828537, -0.035889316350221634, 0.007868083193898201, 0.033351875841617584, -0.004625920206308365, -0.01618315279483795, 0.01075225044041872, -0.007576226256787777, -0.0001928854762809351, -0.011298496276140213, 0.08508893102407455, -0.0019197195069864392, -0.03815852105617523, -0.06526284664869308, 0.014334917068481445, 0.06624239683151245, -0.02034187689423561, -0.043158628046512604, -0.035608742386102676, -0.05640878900885582, 0.03216017782688141, 0.04359154775738716, 0.0845763310790062, -0.007458995562046766, -0.006723401136696339, -0.2058992236852646, -0.0006774751236662269, 0.01615126244723797, -0.0156154315918684, -0.0036221640184521675, -0.007455690763890743, -0.018097765743732452, 0.03166215494275093, -0.05119038745760918, 0.011635364033281803, 0.06097939983010292, 0.03317685425281525, 0.010970800183713436, -0.042341381311416626, -0.010958405211567879, 0.04660799354314804, -0.0206846185028553, -0.016291189938783646, -0.020534884184598923, 0.022370796650648117, -0.02009892836213112, -0.03993364796042442, 0.01687764562666416, 0.016904210671782494, 0.007825255393981934, 0.013141837902367115, 0.011170432902872562, 0.02525227703154087, 0.08739391714334488, 0.027518760412931442, 0.0399852991104126, 0.018668847158551216, 0.0016336634289473295, -0.14088258147239685, 0.09036863595247269, 0.04512739181518555, 0.013902397826313972, -0.03460569679737091, 0.019883960485458374, -0.019879084080457687, 0.053856294602155685, 0.022041741758584976, 0.0020353221334517, -0.05917869135737419, 0.058544229716062546, -0.004644761793315411, 0.02201174572110176, -0.0005555100506171584, 0.03981161490082741, 0.028882987797260284, -0.04014565795660019, -0.057670582085847855, -0.0030191654805094004, -0.027181174606084824, -0.00859853532165289, -0.04701908677816391, 0.05002941936254501, -0.027936449274420738, 0.055694662034511566, -0.02658952958881855, 0.020902153104543686, -0.015094845555722713, 0.03975949436426163, 0.04312484338879585, 0.00517119187861681, -0.08271216601133347, 0.018337449058890343, -0.01780622825026512, 0.010782716795802116, -0.034361548721790314, 0.3984721899032593, 0.031119246035814285, -0.03719189390540123, 0.017913727089762688, 0.053960323333740234, 0.030565934255719185, -0.012676692567765713, -0.004518960602581501, -0.05074220523238182, 0.011088969185948372, 0.01901434175670147, 0.01976347714662552, -0.041245780885219574, 0.03138473629951477, -0.061176907271146774, 0.023306064307689667, 0.02097722329199314, 0.010830329731106758, 0.03414927423000336, -0.0015562919434159994, 0.034693289548158646, -0.04559403657913208, -0.005480988882482052, 0.022697897627949715, 0.009456162340939045, 0.05833391845226288, -0.018275395035743713, 0.005031690001487732, 0.035142917186021805, -0.0020891062449663877, 0.06950414180755615, 0.04968440160155296, -0.005611342377960682, -0.03611018881201744, 0.013396020978689194, 0.02541218511760235, 0.023593580350279808, 0.034679342061281204, -0.05330251529812813, -0.024070316925644875, 0.05040790140628815, -0.00925240758806467, -0.03552240505814552, 0.01468521449714899, -0.018030943349003792, -0.040269870311021805, 0.09442120045423508, 0.009013538248836994, -0.020585134625434875, -0.00778450770303607, -0.02760911174118519, -0.005640043877065182, 0.04452217370271683, -0.016675787046551704, -0.04060620442032814, -0.03141826018691063, 0.022533303126692772, 0.07174703478813171, 0.007597771938890219, -0.07156138122081757, 0.014702375046908855, -0.025445906445384026, -0.026745982468128204, -0.016774658113718033, 0.06961163133382797, 0.0393262654542923, -0.11040659993886948, -0.010931115597486496, 0.007076848763972521, -0.02188064716756344, -0.08126064389944077, -0.025374339893460274, 0.01420676987618208, -0.016674958169460297, -0.046322181820869446, 0.05026249587535858, -0.028227098286151886, -0.020323555916547775, -0.019585849717259407, 0.035495661199092865, -0.0005939476541243494, -0.012969358824193478, 0.0028353326488286257, -0.025200504809617996, -0.017459318041801453, -0.05199999734759331, -0.06302471458911896, -0.10077997297048569, 0.04192059859633446, -0.042129963636398315, -0.06532908231019974, -0.05754777044057846, -0.007598684169352055, -0.061974965035915375, 0.10759282857179642, -0.012161903083324432, -0.04174341633915901, -0.007461837492883205, 0.0006434110691770911, -0.007804373279213905, -0.047557324171066284, 0.07086435705423355, 0.027480781078338623, -0.019554728642106056, 0.04683510959148407, -0.09112325310707092, 0.017683053389191628, 0.029197225347161293, -0.02830590307712555, 0.05458911880850792, 0.016848037019371986, -0.03931022807955742, 0.015926824882626534, -0.004171541426330805, 0.028640316799283028, -0.02183873951435089, -0.049523208290338516, 0.0027323521208018064, 0.040284279733896255, 0.03202424198389053, 0.049022287130355835, -0.010898960754275322, -0.0005892204935662448, -0.040467001497745514, -0.33283382654190063, -0.052984487265348434, -0.005045905243605375, -0.003410137025639415, 0.012752764858305454, -0.02312731370329857, 0.025134136900305748, -0.008314643986523151, 0.0035105596762150526, 0.00840272381901741, 0.11639566719532013, 0.011847564950585365, -0.0059050703421235085, -0.11216209828853607, -0.012182513251900673, 0.0498201884329319, -0.00649641640484333, -0.026864031329751015, -0.03378375619649887, 0.02101374790072441, -0.009598789736628532, -0.016191773116588593, -0.0031262794509530067, -0.014824614860117435, -0.005251455120742321, -0.00023455645714420825, 0.09809721261262894, -0.024258168414235115, 0.06916821748018265, -0.04315856844186783, 0.04961549490690231, 0.027819978073239326, -0.020079687237739563, -0.061660487204790115, -0.01424364373087883, 0.002822278765961528, 0.05320674180984497, 0.05779176205396652, -0.0007022134959697723, 0.031941112130880356, -0.0823967307806015, -0.012776520103216171, -0.05410837009549141, -0.05640711635351181, -0.004455817397683859, 0.0006082734907977283, -0.02674558013677597, -0.02909294329583645, -0.021967213600873947, 0.0346827507019043, 0.014783375896513462, 0.022983822971582413, -0.03439301252365112, 0.01805202290415764, 0.015257760882377625, -0.04547742009162903, -0.05184222385287285, -0.033956773579120636, 0.034031227231025696, 0.03400653600692749, 0.03059416636824608, 0.0691087618470192, -0.0023593464866280556, -0.10924569517374039, 0.020865797996520996, 0.03333364054560661, -0.02175169065594673, 0.0166260227560997, 0.05372241511940956, -0.05130629613995552, -0.03211754187941551, 0.11762676388025284, 0.026894835755228996, 0.054721515625715256, 0.01459787879139185, 0.01490547601133585, -0.0033238264732062817, 0.00011502031702548265, 0.054362427443265915, 0.003914728295058012, 0.030797839164733887, -0.04370258376002312, 0.08648353070020676, -0.027968620881438255, -0.021896202117204666, 0.057585131376981735, 0.015556715428829193, -0.021488845348358154, 0.044543683528900146, 0.0054634325206279755, -0.036663275212049484, 0.006197932176291943, -0.025097681209445, -0.05083908140659332, 0.0362544059753418, -0.018710432574152946, -0.273408979177475, 0.030949771404266357, 0.037709735333919525, 0.053437601774930954, -0.022323647513985634, -0.004461698234081268, 0.02567080222070217, -0.03871607780456543, -0.039474181830883026, 0.029805585741996765, 0.024719759821891785, 0.04912063851952553, -0.01838073320686817, 0.011270003393292427, 0.015654832124710083, 0.02662924863398075, 0.02873055636882782, -0.00561027554795146, -0.010481271892786026, 0.0019530468853190541, 0.028999119997024536, -0.004612082149833441, 0.15753506124019623, 0.014387221075594425, 0.05375467240810394, 0.04521927610039711, -0.031235942617058754, 0.04290438070893288, 0.049577511847019196, -0.011468774639070034, -0.01381776761263609, 0.007221778854727745, -0.0019246033625677228, -0.009888997301459312, 0.019002405926585197, -0.055223703384399414, 0.002525927498936653, 0.06593618541955948, 0.024226900190114975, -0.044921647757291794, -0.02017112635076046, 0.043310269713401794, -0.027775198221206665, 0.027443423867225647, 0.0676083192229271, -0.027341103181242943, -0.01903890073299408, -0.019499734044075012, -0.009726773016154766, -0.0007896707975305617, -0.04740069806575775, -0.04871533811092377, 0.0187143012881279, -0.020211314782500267, -0.021148107945919037, 0.032533664256334305, -0.00037263130070641637, -0.04620838537812233, -0.005122008267790079, 0.043934166431427, 0.01729237660765648, -0.0684548020362854, 0.11280950158834457, -0.011515655554831028, 0.030121663585305214 ]
[ 0.03867639601230621, 0.045419853180646896, -0.003136260900646448, -0.00858580507338047, 0.0057346816174685955, -0.002971046371385455, -0.0021175809670239687, -0.0030344019178301096, -0.03398163989186287, 0.0074911704286932945, -0.024192366749048233, 0.010165768675506115, 0.03522762656211853, -0.019407810643315315, -0.019525786861777306, -0.0243106409907341, 0.01073065958917141, 0.0006331282202154398, 0.03734893351793289, 0.005433698650449514, -0.038400523364543915, 0.012371242977678776, 0.03172013536095619, -0.0646817535161972, -0.005484967492520809, 0.04232153296470642, 0.0062259491533041, 0.012253970839083195, 0.01921185292303562, -0.12111306935548782, -0.030560843646526337, -0.020468847826123238, -0.03685227781534195, 0.00879368744790554, -0.005295739509165287, -0.012789730913937092, 0.012331711128354073, 0.02208726294338703, -0.060463231056928635, 0.06113066524267197, 0.051275741308927536, -0.01848600059747696, 0.005513931158930063, -0.010754992254078388, -0.017297711223363876, -0.024573860689997673, -0.045706234872341156, -0.055329468101263046, 0.023710932582616806, -0.02916776016354561, -0.024994947016239166, 0.013718334026634693, 0.005863047204911709, 0.026451686397194862, 0.03221404552459717, -0.00800696387887001, -0.03981950879096985, 0.02090354636311531, 0.003920488525182009, 0.005800748709589243, 0.023501764982938766, 0.012924125418066978, -0.05726819857954979, -0.005033881403505802, -0.002112467773258686, -0.015269233845174313, -0.003971550613641739, -0.00968777947127819, -0.03316710516810417, 0.02866942249238491, -0.02993590570986271, 0.06934298574924469, -0.06963831931352615, -0.01642341911792755, -0.015294380486011505, 0.03514890745282173, 0.071399986743927, -0.02088269777595997, -0.031896933913230896, 0.039211586117744446, -0.03667929768562317, 0.019762227311730385, -0.042020004242658615, 0.03376762941479683, -0.03437679260969162, 0.014620181173086166, -0.01035632286220789, 0.011632394976913929, 0.001482654013670981, 0.027461515739560127, -0.02951807528734207, 0.01814059354364872, -0.039925139397382736, 0.005910289473831654, -0.08296392112970352, -0.011342393234372139, -0.016628891229629517, -0.002040034392848611, -0.017437174916267395, 0.8136277198791504, 0.001333738095127046, -0.024511288851499557, -0.01651054248213768, 0.0002586490591056645, 0.011429869569838047, 0.010507706552743912, 0.0058139618486166, -0.014442968182265759, -0.023606643080711365, 0.004113554488867521, -0.023998750373721123, 0.019393838942050934, 0.0018458013655617833, 0.028312113136053085, 0.014209531247615814, 0.04930919408798218, 0.042345885187387466, 0.031190577894449234, 0.005941808223724365, 0.015616022981703281, 0.008827487006783485, -0.01168020535260439, -0.007278422825038433, 0.04101920872926712, -0.009050354361534119, -0.16353467106819153, 0.019884418696165085, -7.723151433852005e-33, 0.031145431101322174, -0.030726805329322815, 0.00429975101724267, -0.009820659644901752, 0.037428438663482666, -0.000986111001111567, 0.025521431118249893, -0.009624958969652653, -0.041317638009786606, -0.02948884665966034, -0.005233313422650099, 0.02339973859488964, 0.0027374897617846727, -0.003649225691333413, -0.006429665256291628, -0.017344802618026733, 0.025402825325727463, 0.03472026064991951, 0.010394369252026081, 0.010815952904522419, 0.009941156022250652, 0.02755858190357685, -0.015845810994505882, 0.005801195278763771, 0.016934532672166824, 0.053986962884664536, -0.025259247049689293, -0.025561165064573288, 0.010885033756494522, -0.04389888793230057, -0.033117856830358505, 0.006169173866510391, 0.006785878445953131, -0.03256113454699516, -0.014894488267600536, -0.05930463969707489, -0.031464844942092896, 0.0018435425590723753, -0.04314306750893593, -0.04995134845376015, -0.031949568539857864, 0.001083028269931674, -0.03379305079579353, -0.02092645689845085, -0.026654353365302086, -0.02876155823469162, -0.007328589912503958, 0.035024646669626236, 0.02582555077970028, 0.009019013494253159, 0.04673752188682556, -0.0014497555093839765, -0.015146528370678425, -0.010862008668482304, -0.007764587178826332, 0.005051194224506617, -0.00568545563146472, 0.05468905717134476, -0.005365125369280577, 0.07441110163927078, 0.015690401196479797, -0.004249760415405035, -0.001459987019188702, 0.02940402552485466, 0.03541191294789314, 0.009306555613875389, 0.017889024689793587, 0.01986999809741974, -0.03140714019536972, 0.059641968458890915, -0.07740512490272522, 0.0014158966951072216, -0.011334627866744995, 0.010811697691679, 0.033510711044073105, -0.008039791136980057, -0.02227160707116127, -0.017993198707699776, 0.012312506325542927, 0.03957299143075943, 0.004823590163141489, 0.023974338546395302, 0.004559983965009451, -0.011213839054107666, -0.01545382384210825, -0.01924007572233677, 0.03973992541432381, -0.0011663659242913127, -0.0006675300537608564, 0.030224831774830818, 0.005272123031318188, 0.04749559611082077, 0.008564827032387257, -0.034076862037181854, -0.043192118406295776, 7.122521575039818e-33, -0.019643843173980713, -0.005371620412915945, -0.07731080055236816, -0.01499418169260025, -0.02223161794245243, -0.03649981692433357, 0.039410173892974854, -0.009271975606679916, -0.040268849581480026, 0.0336250439286232, 0.005348261911422014, -0.003975465428084135, 0.017635527998209, 0.008458700031042099, 0.06125282868742943, -0.061293575912714005, -0.009117240086197853, -0.003848562017083168, 0.024622570723295212, 0.007260722573846579, -0.01673848368227482, 0.025445664301514626, 0.025326058268547058, -0.009758085012435913, 0.0022716294042766094, 0.02216360718011856, 0.00841212272644043, 0.037503089755773544, -0.04931911826133728, -0.043034642934799194, 0.011252887547016144, -0.0251816064119339, 0.010092983953654766, -0.013349870219826698, 0.01875273510813713, 0.05665518715977669, -0.00038069571019150317, 0.01484705787152052, 0.048416826874017715, 0.009995993226766586, 0.028655387461185455, 0.02137003280222416, -0.01611878164112568, 0.029977845028042793, -0.006336462218314409, -0.0031269921455532312, -0.005679351277649403, -0.013511338271200657, -0.004609681200236082, 0.023038895800709724, -0.024619359523057938, 0.009688382968306541, 0.007426229305565357, 0.04205092415213585, 0.019559791311621666, -0.0117106968536973, -0.02080344967544079, 0.0119305569678545, 0.010847887024283409, 0.02220362052321434, 0.026095502078533173, -0.056097615510225296, -0.03592349588871002, 0.046920791268348694, 0.00045960763236507773, 0.014214758761227131, -0.008091375231742859, -0.03702465444803238, -0.00735578453168273, 0.00353418430313468, 0.020574452355504036, 0.018256211653351784, -0.007836664095520973, 0.030366942286491394, 0.0120182354003191, -0.01017565093934536, -0.013235372491180897, -0.0009716058848425746, -0.04761079326272011, 0.0441226065158844, -0.030473463237285614, 0.04135904833674431, -0.02519373409450054, -0.017334215342998505, 0.021125484257936478, 0.0031210253946483135, -0.04420558735728264, 0.0430339016020298, 0.0030652733985334635, -0.03132385015487671, 0.01790807768702507, 0.005069464445114136, -0.0401853509247303, 0.029360255226492882, -0.037007562816143036, -1.266698301805036e-8, 0.009940046817064285, -0.01528704073280096, -0.017761889845132828, 0.04076915606856346, -0.0034447640646249056, 0.03714967891573906, -0.02902158349752426, -0.05245658755302429, -0.012669123709201813, 0.032114431262016296, 0.0052231065928936005, -0.039111699908971786, 0.026255281642079353, 0.0021503015886992216, 0.048064205795526505, -0.001191799296066165, 0.007369918283075094, -0.02786804921925068, 0.0427975133061409, 0.01295700203627348, 0.0243369173258543, 0.040021032094955444, -0.03779630362987518, 0.02857496403157711, -0.02673257328569889, -0.004427845124155283, 0.049982305616140366, -0.071437768638134, -0.049350425601005554, 0.025587299838662148, -0.010004275478422642, -0.022172432392835617, -0.037093136459589005, 0.0278315506875515, -0.03600063920021057, -0.010379365645349026, -0.005321444012224674, 0.018213465809822083, 0.031784918159246445, 0.02554260566830635, -0.03127894178032875, -0.00008496591181028634, -0.02591853402554989, -0.029860053211450577, -0.0019736692775040865, 0.02251839078962803, -0.011839262209832668, 0.017035022377967834, 0.024959959089756012, -0.025733597576618195, 0.0029934581834822893, 0.006202352698892355, 0.026300564408302307, -0.02089691534638405, 0.05157281085848808, -0.007804146967828274, 0.0010032776044681668, -0.027052810415625572, -0.008899240754544735, 0.0007463081274181604, -0.014583145268261433, 0.03463926166296005, -0.03011034056544304, -0.003438990330323577 ]
learning-more-about-network-sockets
https://markhneedham.com/blog/2013/07/14/learning-more-about-network-sockets
false
2013-07-22 22:37:28
Lessons from supporting production code
[ "software-development" ]
[ "Software Development" ]
Until I started working on the http://www.uswitch.com/[uSwitch] energy website around 8 months ago I had not really done any support of a production system so I learnt some interesting lessons in my time there. == Look at the new code first We had our application wired up to http://airbrakeapp.com/pages/home[Airbrake] so whenever a user did anything which resulted in an exception being thrown we received a report with the stack trace, environment variables and which page they were on. When trying to work out what had happened I initially started from scratch and tried to work backwards from the source and create a scenario in my head of what they might have done to get that error. After a few times of doing this it became clear that there was a reasonable chance that if a user was experiencing a problem it was probably because of some new code that we'd just introduced. We therefore tweaked our bug hunting algorithm to initially check code that had been changed recently and only after ruling that out did we work back from first principles. == It may never have worked Sometimes it became clear that new code wasn't to blame but it seemed implausible that the error could have actually happened. There was a tendency to assume that the user must be deliberately doing something to make the application break but it soon became clear that they had just managed to hit a code path that had not been hit before. Even if you've done extensive testing on a system users still seem to find paths through the code that haven't failed previously so it seems best to just assume that is going to happen at some stage. == Log all the things As I mentioned earlier we were using a 3rd party service to collect errors and other helpful information which was really useful for helping us find the root cause of problems. The type of logging that you need varies so for a product like http://www.neo4j.org/[neo4j] as well as logging exceptions we also log system information and memory settings. Obviously I'm quite new to this type of work so I'm sure others will have useful bits of advice to share as well.
null
null
[ 0.025825707241892815, -0.008404875174164772, 0.008358331397175789, 0.036264583468437195, 0.0940101146697998, -0.0032485774718225002, 0.04674167558550835, 0.03395410254597664, 0.01621977426111698, -0.02385922521352768, -0.010852551087737083, -0.0035850265994668007, -0.07240787148475647, 0.01240202970802784, -0.021250419318675995, 0.04789796471595764, 0.05885428562760353, 0.021386662498116493, 0.03891219571232796, -0.028413917869329453, 0.027886077761650085, 0.04406881332397461, 0.01513128075748682, 0.03508766368031502, 0.037138838320970535, 0.01737726852297783, 0.008778470568358898, -0.01651218719780445, -0.06589607894420624, -0.00034416469861753285, 0.04797239974141121, 0.029029246419668198, 0.02204017899930477, -0.011577640660107136, 0.03355544060468674, 0.009617801755666733, -0.0426795594394207, 0.012706494890153408, -0.011594053357839584, 0.01954430341720581, -0.07051482051610947, 0.027798661962151527, -0.02507803961634636, 0.009949869476258755, -0.030575649812817574, 0.013578006997704506, -0.02228045091032982, 0.021593589335680008, 0.02255910076200962, -0.014895005151629448, -0.08465389907360077, 0.026183979585766792, 0.0028608019929379225, 0.010438786819577217, -0.011201675981283188, 0.06327010691165924, 0.018084265291690826, -0.05905374512076378, 0.044900648295879364, -0.030636122450232506, -0.0034142411313951015, 0.004028824623674154, -0.0028608671855181456, 0.03385697677731514, 0.011464068666100502, -0.03191405162215233, 0.021356673911213875, 0.059360161423683167, -0.033113718032836914, 0.023971857503056526, 0.012800954282283783, 0.005742084234952927, -0.019952896982431412, -0.000618122227024287, 0.029751969501376152, -0.037499796599149704, 0.0007590068271383643, 0.06046072766184807, 0.03395501524209976, 0.0640314519405365, -0.02509886398911476, 0.015346935018897057, 0.014529875479638577, 0.013803241774439812, 0.00945344753563404, -0.052161090075969696, -0.015287253074347973, -0.026234082877635956, -0.04017455875873566, 0.039194054901599884, 0.03829466924071312, -0.07200624793767929, 0.027833474799990654, 0.03708669915795326, -0.022196153178811073, 0.020482806488871574, 0.012709750793874264, 0.010028638876974583, 0.01748010702431202, -0.02673085406422615, -0.018996862694621086, -0.013449518010020256, -0.00993760023266077, 0.018038926646113396, -0.06953468173742294, -0.01138452347368002, -0.028427908197045326, -0.01888834871351719, 0.020127592608332634, -0.008446421474218369, -0.026517117395997047, 0.025027533993124962, -0.0317215733230114, -0.0046722618862986565, -0.096336230635643, 0.07390782982110977, 0.004395008087158203, -0.02717874012887478, -0.005146356765180826, 0.020842891186475754, 0.05265527218580246, 0.0270998552441597, -0.018825409933924675, 0.06853241473436356, -0.0150612723082304, 0.03651554882526398, 0.00018111853569280356, 0.04714309051632881, -0.02370421402156353, -0.07691068202257156, -0.013462233357131481, 0.06740077584981918, -0.01496212650090456, 0.00538276694715023, -0.004512463230639696, -0.02172115445137024, -0.0050524817779660225, 0.015458990819752216, 0.03135334700345993, 0.048502158373594284, -0.0052694296464324, -0.050670474767684937, 0.01730184815824032, 0.011333951726555824, 0.02741803228855133, 0.017080336809158325, -0.011026251129806042, -0.014529719948768616, -0.04440581426024437, 0.007079700939357281, 0.015985378995537758, 0.024572521448135376, 0.030491339042782784, -0.025575514882802963, 0.006892827805131674, 0.09416021406650543, 0.01431681215763092, 0.004084817599505186, -0.028966309502720833, 0.026271648705005646, 0.05509582906961441, 0.029365580528974533, 0.014052228070795536, 0.03913218900561333, 0.017611173912882805, -0.010842753574252129, -0.01462506502866745, 0.018434660509228706, 0.0040274728089571, 0.0267000962048769, -0.05659710243344307, -0.05900029093027115, 0.07681787014007568, -0.05591462180018425, -0.03410643711686134, 0.05115945264697075, 0.07255709171295166, -0.009196445345878601, 0.015535103157162666, 0.010955628007650375, -0.0720771998167038, 0.0505497120320797, 0.017056027427315712, 0.0074842250905931, 0.0010859598405659199, 0.006704197730869055, 0.06825758516788483, 0.025830263271927834, 0.010045725852251053, 0.012619733810424805, -0.07958755642175674, -0.0996156856417656, -0.01346578449010849, -0.029758760705590248, 0.062357209622859955, -0.015351713635027409, 0.01659845933318138, 0.05359485745429993, -0.0024305141996592283, 0.054999109357595444, 0.02891932614147663, 0.0019111639121547341, 0.019261589273810387, -0.04133285954594612, -0.05592867732048035, 0.07199215143918991, 0.04861113056540489, -0.04369927570223808, -0.04714924469590187, 0.004762323573231697, -0.003871378256008029, 0.0008456693030893803, 0.04074512794613838, -0.029844848439097404, 0.0450279675424099, 0.017333023250102997, 0.03230905532836914, -0.030986391007900238, 0.03942343592643738, -0.040814828127622604, 0.016798214986920357, 0.008282206021249294, -0.01712881214916706, -0.013001476414501667, 0.0230998732149601, 0.1161879375576973, 0.05474354699254036, -0.03156590834259987, -0.055551063269376755, 0.011273487471044064, 0.018368199467658997, -0.05698991194367409, 0.004503850359469652, -0.011719836853444576, 0.003330022795125842, 0.00584430480375886, -0.03836344555020332, -0.028714552521705627, 0.0259505957365036, -0.022318990901112556, 0.020482352003455162, 0.07580158859491348, -0.047861672937870026, 0.05472708120942116, -0.0061797951348125935, -0.021104447543621063, 0.010603484697639942, -0.02548077702522278, -0.05398324877023697, 0.025851529091596603, 0.029062975198030472, -0.0047487057745456696, 0.07961378991603851, -0.01983782835304737, -0.014175581745803356, -0.03096400946378708, -0.015209768898785114, 0.014187013730406761, 0.024778826162219048, 0.06655403971672058, -0.0013018347090110183, 0.05355837196111679, -0.024206236004829407, 0.005168175790458918, 0.0009506133501417935, -0.031135493889451027, -0.03745165094733238, -0.02421691082417965, 0.02039978839457035, 0.01812177151441574, 0.02211330272257328, 0.0003914975095540285, 0.02682090736925602, 0.01339567918330431, 0.017955295741558075, -0.01564844138920307, 0.04920650273561478, 0.009817864745855331, -0.0021755483467131853, -0.007141017355024815, -0.048965755850076675, 0.05253833904862404, -0.07550438493490219, -0.03457873314619064, 0.015795866027474403, -0.05291471630334854, 0.05880272388458252, -0.04880578815937042, -0.07074548304080963, 0.021669283509254456, 0.017895331606268883, 0.027289031073451042, 0.012189125642180443, 0.012948364019393921, 0.08828195184469223, 0.004907859954982996, 0.01904161646962166, 0.00672608707100153, 0.013347262516617775, 0.04698522016406059, 0.00017542755813337862, 0.004426559433341026, 0.002583857858553529, -0.025492800399661064, 0.011962778866291046, -0.026443617418408394, -0.0015948322834447026, -0.028233889490365982, -0.30953481793403625, 0.05499560385942459, -0.004190434236079454, -0.057050611823797226, 0.020511779934167862, -0.024459170177578926, -0.008078308776021004, -0.018629038706421852, -0.022803500294685364, 0.028980817645788193, -0.001275098999030888, -0.058003686368465424, -0.013094907626509666, 0.032160304486751556, -0.005839396733790636, 0.007762109395116568, 0.029285084456205368, -0.044870905578136444, 0.005920215044170618, 0.023474249988794327, -0.0052088177762925625, -0.05208544433116913, -0.002000991953536868, 0.031800977885723114, 0.04658425971865654, 0.05615696683526039, -0.0796387791633606, 0.04481900483369827, -0.048780180513858795, -0.03043689951300621, -0.0018886352190747857, -0.003956263884902, -0.006161150056868792, -0.025284141302108765, -0.02527971751987934, -0.023263245820999146, 0.006683459971100092, 0.006662140600383282, 0.006922069471329451, 0.03337057679891586, -0.04127131402492523, -0.06347855180501938, -0.028191223740577698, 0.02351151779294014, 0.06885108351707458, 0.0026136876549571753, -0.10172828286886215, -0.0031965721864253283, -0.015792634338140488, 0.06436546891927719, -0.030553001910448074, -0.013166346587240696, -0.007889344356954098, 0.04888974502682686, -0.006363274529576302, -0.0284691471606493, -0.013945091515779495, 0.0020939349196851254, -0.046598002314567566, -0.02505926601588726, -0.00957663543522358, -0.04232068359851837, 0.003089937614277005, -0.04557899013161659, 0.0033974209800362587, -0.046289049088954926, -0.06096299737691879, -0.032528042793273926, 0.08318141102790833, -0.013385853730142117, -0.031249642372131348, 0.053318362683057785, 0.01964847557246685, -0.11203435063362122, -0.017693353816866875, -0.01123801339417696, -0.00846838764846325, 0.004386744927614927, -0.011601308360695839, 0.04491329938173294, -0.030898697674274445, -0.032461002469062805, 0.004756459966301918, 0.010209851898252964, 0.003418018575757742, -0.006498862989246845, 0.02103744074702263, -0.0007067429833114147, -0.03670305013656616, 0.02550404518842697, 0.09153132140636444, -0.01585417427122593, -0.026459749788045883, -0.025568153709173203, 0.020244166254997253, 0.033576998859643936, 0.0003330316103529185, -0.030995316803455353, 0.01619119383394718, 0.03837757185101509, 0.019617818295955658, -0.05747614800930023, 0.04946736991405487, -0.030143363401293755, -0.017117055132985115, -0.003252037800848484, -0.037169355899095535, 0.014383073896169662, 0.032788265496492386, 0.030609160661697388, -0.011355451308190823, -0.0348452627658844, 0.009735244326293468, -0.058089565485715866, -0.044194549322128296, -0.003980197478085756, 0.0346251018345356, 0.02246079593896866, 0.019276486709713936, -0.03977213799953461, -0.039132483303546906, 0.01316838525235653, 0.03071514330804348, 0.013488814234733582, -0.061748992651700974, -0.04831644892692566, -0.029407361522316933, -0.0053697796538472176, 0.0036921389400959015, 0.02677728608250618, -0.01294251624494791, 0.04690149053931236, 0.008906612172722816, -0.01695917546749115, 0.020356306806206703, -0.00768579775467515, -0.04091690853238106, -0.04393964633345604, 0.011663582175970078, -0.025767777115106583, -0.015538917854428291, 0.029794491827487946, -0.00220088055357337, 0.024675268679857254, 0.04610411450266838, 0.007113663479685783, 0.04168030247092247, -0.02101154625415802, 0.025238990783691406, 0.0003950741665903479, -0.015416312962770462, -0.07224927842617035, 0.026618437841534615, -0.04250843822956085, -0.04466685280203819, -0.006582350004464388, 0.058562975376844406, -0.03191894665360451, -0.03041997179389, -0.012056590989232063, 0.02431214228272438, -0.08078402280807495, -0.0015454307431355119, -0.008025120943784714, -0.0006789742037653923, 0.060445889830589294, -0.0268817488104105, 0.01674744114279747, -0.02395911142230034, -0.012527408078312874, -0.003502927953377366, 0.027639087289571762, -0.05361655727028847, 0.015959106385707855, 0.018922360613942146, 0.013332019560039043, -0.004273123573511839, -0.02152123488485813, 0.030570684000849724, 0.0010599916568025947, -0.0188519936054945, -0.0005492701893672347, 0.0023400653153657913, 0.008520342409610748, 0.04534478858113289, -0.0047444128431379795, -0.016137145459651947, 0.002886697184294462, -0.014081328175961971, -0.021630162373185158, -0.02930397167801857, -0.022463535889983177, -0.004532657563686371, 0.027790525928139687, -0.017505593597888947, -0.06552449613809586, 0.03637322038412094, -0.0026320668403059244, 0.004129231441766024, 0.02990787662565708, 0.0015173455467447639, -0.005019862204790115, -0.027182765305042267, 0.03521367162466049, 0.04591086134314537, -0.06250864267349243, -0.014256658032536507, 0.00759594701230526, 0.010987265966832638, 0.017959609627723694, 0.011027710512280464, -0.05457892268896103, -0.03068022057414055, -0.035400308668613434, 0.011476786807179451, -0.043358542025089264, -0.03470839560031891, -0.011454001069068909, -0.010195367969572544, -0.025417843833565712, -0.013736648485064507, 0.002755148569121957, 0.007386084645986557, -0.028521597385406494, -0.023215454071760178, 0.015239960514008999, -0.028847958892583847, -0.010125916451215744, 0.006955497898161411, -0.02680082991719246, -0.00127322762273252, -0.006574646104127169, 0.03139001503586769, 0.014717751182615757, -0.01675880141556263, -0.024337591603398323, -0.06389247626066208, 0.006482606753706932, -0.0038096702191978693, 0.034234076738357544, -0.020410779863595963, 0.0010875641601160169, -0.02000938355922699, -0.01459827646613121, -0.016529880464076996, 0.025379810482263565, -0.017862407490611076, -0.005523840896785259, 0.01730901189148426, 0.04877977818250656, 0.017058292403817177, 0.05001978203654289, -0.015438099391758442, -0.009580963291227818, 0.056968141347169876, -0.0669914186000824, -0.032164014875888824, -0.02770926244556904, -0.058548249304294586, 0.007914124056696892, 0.0130853783339262, 0.00833059474825859, -0.023838968947529793, 0.03868033364415169, 0.026140807196497917, 0.018773173913359642, 0.007845737040042877, -0.005830040201544762, 0.03481820598244667, -0.07447301596403122, -0.0012747525470331311, -0.07676394283771515, 0.022970164194703102, 0.04523822292685509, -0.004314209800213575, 0.019924994558095932, -0.01613321155309677, -0.030243994668126106, 0.03443622961640358, -0.05395972728729248, -0.028959505259990692, 0.027300408110022545, -0.0020680096931755543, 0.0008450886234641075, 0.002917405916377902, -0.057232022285461426, 0.025577694177627563, 0.04744938760995865, -0.03478938341140747, -0.04875608906149864, -0.0385158471763134, 0.05178430303931236, 0.003553343703970313, 0.03048418089747429, -0.0392427071928978, -0.030051685869693756, 0.06708671152591705, 0.02171124704182148, 0.0258942861109972, 0.051357053220272064, -0.03174585849046707, 0.02657986432313919, 0.048635080456733704, -0.012165669351816177, -0.011682664975523949, 0.02868877910077572, -0.007032128982245922, -0.05280398204922676, 0.023547008633613586, -0.0008496286463923752, -0.026861589401960373, -0.047679170966148376, 0.05609880015254021, 0.024591073393821716, -0.022893832996487617, -0.03322247043251991, 0.012020422145724297, -0.05331100896000862, -0.025615232065320015, -0.036005426198244095, -0.007571728900074959, -0.03727110102772713, 0.06465820223093033, -0.018104007467627525, -0.003858700394630432, 0.07434885203838348, -0.00261477567255497, 0.007832926698029041, -0.020788120105862617, 0.0862874984741211, 0.06398715078830719, 0.041932009160518646, 0.01291467435657978, 0.07015366107225418, -0.010457739233970642, -0.03157097101211548, 0.011165618896484375, -0.021948926150798798, -0.047150734812021255, 0.0016098043415695429, 0.01588726043701172, 0.05122772976756096, -0.005927040707319975, 0.07195566594600677, -0.022077783942222595, 0.012203030288219452, 0.00951400026679039, 0.020168783143162727, 0.022483259439468384, 0.05845458433032036, 0.007033064030110836, 0.023896697908639908, -0.009143760427832603, -0.03511223942041397, 0.02412191592156887, -0.02776917815208435, -0.01589306816458702, 0.015757542103528976, -0.010481658391654491, -0.010002539493143559, 0.02538364753127098, 0.03064480423927307, 0.08129757642745972, -0.041852351278066635, 0.002206943929195404, -0.009334571659564972, 0.0476725809276104, -0.011490724049508572, 0.02754213847219944, -0.02578171156346798, -0.020908493548631668, -0.001732173259370029, -0.04118344932794571, -0.014213058166205883, -0.03631942346692085, -0.03236225247383118, 0.04773911461234093, -0.04133383184671402, -0.005949950311332941, 0.015441163443028927, -0.015364271588623524, -0.0088447704911232, -0.07141538709402084, -0.04129708930850029, -0.03222866356372833, -0.06465505808591843, -0.017564238980412483, -0.008795815519988537, 0.009982493706047535, -0.022010019049048424, 0.0019184127449989319, -0.04191160574555397, -0.04115311801433563, 0.06076416000723839, -0.047556109726428986, -0.004605650436133146, 0.019935503602027893, 0.0032893139868974686, 0.024729594588279724, 0.03182756155729294, 0.042318351566791534, 0.013374017551541328, 0.002715667709708214, -0.009130513295531273, -0.009355263784527779, 0.04055443033576012, -0.0012630857527256012, -0.011802815832197666, -0.0876353457570076, 0.0011711774859577417, 0.014928190037608147, 0.010583305731415749, -0.06191806122660637, 0.009844164364039898, 0.031480588018894196, -0.018371310085058212, 0.06068649888038635, -0.026646466925740242, -0.00703044980764389, -0.020034946501255035, -0.0009733571205288172, -0.011519379913806915, 0.009935854002833366, 0.024458743631839752, -0.018930478021502495, 0.06966425478458405, 0.031770892441272736, -0.029085049405694008, -0.028174294158816338, -0.010144941508769989, 0.0067087276838719845, -0.02782055176794529, -0.041522350162267685, -0.037992894649505615, -0.03552709519863129, -0.08684578537940979, -0.012553435750305653, 0.031418558210134506, -0.00030244752997532487, -0.029828522354364395, 0.01733371429145336, 0.023566801100969315, -0.031130317598581314, 0.021232957020401955, -0.0392463319003582, 0.025311648845672607, -0.03222937881946564, -0.008326125331223011, 0.0001699280401226133, 0.003790562506765127, -0.016703050583600998, 0.001002499251626432, 0.0028771599754691124, -0.036483410745859146, 0.017383025959134102, -0.02918463945388794, 0.0255095474421978, 0.02440207451581955, 0.0005506739253178239, -0.00006662160740233958 ]
[ -0.07560613006353378, -0.02010883204638958, -0.018132708966732025, -0.033160582184791565, 0.04295683279633522, -0.03830751031637192, -0.006672907155007124, 0.049692511558532715, -0.008614500984549522, -0.03235675394535065, 0.0033578891307115555, -0.012174743227660656, -0.015893658623099327, 0.010337959975004196, 0.07812552154064178, 0.029365211725234985, -0.02172275073826313, -0.08467050641775131, 0.012540176510810852, 0.03140240162611008, -0.019300611689686775, -0.005443955305963755, -0.02914813719689846, -0.02396158128976822, -0.005402974784374237, 0.06028936058282852, 0.023284437134861946, -0.008737877942621708, 0.004736645612865686, -0.19224826991558075, 0.0048949397169053555, 0.0006099007441662252, 0.04523489996790886, -0.016479866579174995, 0.0191847812384367, 0.03492581471800804, -0.001610748702660203, 0.020786801353096962, 0.026630645617842674, 0.037620458751916885, 0.016429418697953224, 0.02017061412334442, -0.06558109819889069, -0.045469753444194794, 0.031188447028398514, 0.011055042035877705, 0.01338904071599245, -0.019155673682689667, 0.00957482773810625, 0.01955978013575077, -0.05098871514201164, -0.008744313381612301, -0.016055986285209656, -0.011455927044153214, -0.0040951138362288475, 0.010859178379178047, 0.024737175554037094, 0.07907143235206604, 0.006267125718295574, 0.0029756994917988777, 0.0007064608507789671, -0.0270395427942276, -0.13910672068595886, 0.05897797271609306, 0.0666305422782898, 0.03833620250225067, -0.007538623176515102, -0.039901718497276306, -0.0008492041961289942, 0.059812720865011215, -0.005112946033477783, -0.021595213562250137, -0.0329754613339901, 0.05367407575249672, 0.013966978527605534, 0.056866660714149475, 0.0013081536162644625, 0.029085107147693634, 0.0035627400502562523, -0.05358216539025307, -0.03968042507767677, -0.009061968885362148, -0.033865056931972504, -0.004344729240983725, -0.054902199655771255, 0.032968997955322266, 0.0016450025141239166, 0.08561793714761734, 0.0415695495903492, 0.030092142522335052, 0.0479825995862484, 0.011015697382390499, 0.0422961488366127, 0.019340647384524345, -0.0737290307879448, -0.007689298130571842, 0.007716693915426731, 0.028166664764285088, -0.057775143533945084, 0.46123355627059937, 0.0135754169896245, -0.008456521667540073, 0.06096494942903519, 0.04571230709552765, -0.016892999410629272, -0.004560704343020916, -0.00944537203758955, -0.034554462879896164, 0.01563412882387638, -0.04427161067724228, 0.04441922903060913, 0.023213490843772888, 0.08581151068210602, -0.04547593742609024, 0.013344962149858475, 0.026783930137753487, 0.02682865411043167, 0.009744551032781601, -0.013548031449317932, 0.00153604825027287, -0.03323518857359886, 0.010495338588953018, 0.03436480090022087, 0.00355159561149776, -0.01803985796868801, -0.029368950054049492, 0.0329868458211422, 0.06391087919473648, 0.008033460937440395, 0.011845812201499939, 0.04842142388224602, -0.04887315630912781, -0.0498778373003006, 0.0035291295498609543, 0.01113929320126772, -0.0029566397424787283, 0.017453445121645927, -0.006310782395303249, -0.016958627849817276, 0.058797553181648254, 0.004055810160934925, -0.009299860335886478, 0.017509358003735542, -0.008089863695204258, -0.05826693773269653, 0.0786559209227562, 0.00959834922105074, -0.025779390707612038, -0.0174738597124815, -0.06441617757081985, 0.0048463549464941025, 0.016572529450058937, -0.013896867632865906, -0.0625484511256218, 0.027696561068296432, 0.006374969147145748, 0.08730141073465347, -0.012480407021939754, -0.031070372089743614, 0.011567361652851105, -0.020486144348978996, -0.03713702782988548, -0.06152014434337616, 0.03034878335893154, 0.06078500673174858, -0.1120748296380043, -0.007241071667522192, 0.023102588951587677, 0.0498918853700161, -0.044008608907461166, 0.011333632282912731, 0.005395586136728525, -0.005204566288739443, -0.0438397116959095, 0.025791114196181297, -0.02063858136534691, -0.013528727926313877, 0.02405695989727974, 0.03065967559814453, 0.010829874314367771, 0.002545242430642247, 0.00756651908159256, -0.030764274299144745, -0.00871760118752718, -0.0205629114061594, -0.08989855647087097, -0.05661290884017944, 0.015027579851448536, -0.021693868562579155, -0.026239048689603806, -0.06141306459903717, -0.06390402466058731, -0.10485722124576569, 0.09169033914804459, -0.03591195493936539, -0.028514720499515533, -0.00699685188010335, -0.0017110479529947042, -0.00010420201579108834, -0.02826308272778988, 0.016132086515426636, 0.02292529121041298, -0.023363536223769188, 0.04281635954976082, -0.05824088677763939, 0.08616278320550919, 0.03262314572930336, -0.046696074306964874, 0.06146141141653061, 0.04817354679107666, -0.02509232796728611, -0.01290139090269804, 0.022013135254383087, 0.011711573228240013, -0.0010294830426573753, -0.015446820296347141, -0.011481592431664467, 0.027569586411118507, 0.005548741668462753, 0.01792060397565365, -0.012643659487366676, 0.015132476575672626, -0.010125058703124523, -0.349549263715744, -0.06383989751338959, -0.014432493597269058, 0.006740379147231579, -0.012974143028259277, -0.0459565594792366, 0.007632595021277666, -0.013376747258007526, -0.02338976226747036, -0.010723581537604332, 0.09885382652282715, -0.013962650671601295, 0.01823868229985237, -0.10712787508964539, 0.017361046746373177, 0.015024074353277683, -0.02722320146858692, -0.011593939736485481, -0.051027197390794754, 0.007790802512317896, -0.031786009669303894, -0.036098167300224304, -0.007744897156953812, -0.07933484762907028, -0.008413650095462799, -0.04128937050700188, 0.11153111606836319, -0.0039763618260622025, 0.08624699711799622, -0.03695740923285484, 0.027797995135188103, -0.029651500284671783, 0.020727332681417465, -0.08124370872974396, 0.01320740394294262, 0.003568107495084405, 0.018386680632829666, 0.0056742397136986256, 0.000763947144150734, -0.04077265411615372, -0.053441472351551056, -0.02511405013501644, -0.055764783173799515, -0.030908893793821335, -0.026089482009410858, -0.00823646318167448, -0.04282885789871216, -0.044554453343153, -0.021931158378720284, 0.04128485172986984, 0.030798491090536118, 0.012721668928861618, 0.010317198932170868, 0.016041520982980728, 0.012563211843371391, -0.0431981161236763, -0.061247337609529495, 0.018864870071411133, 0.04206722229719162, 0.022554505616426468, 0.03176170587539673, 0.03855105862021446, 0.03955093398690224, -0.07072935998439789, 0.019224151968955994, 0.013224069029092789, -0.009652653709053993, 0.013909838162362576, 0.03507278114557266, -0.01853690855205059, -0.03284705430269241, 0.14161349833011627, -0.011971063911914825, 0.0006053421529941261, 0.012722532264888287, 0.02671736665070057, 0.005147069226950407, -0.003085741540417075, 0.022702692076563835, 0.00999205932021141, 0.01162623055279255, -0.016926659271121025, 0.04774991422891617, -0.025191009044647217, -0.03129779174923897, 0.04574567452073097, -0.02142626792192459, -0.04951697587966919, 0.0670165866613388, -0.008009492419660091, -0.03002413921058178, 0.009079409763216972, -0.024854067713022232, -0.0732809379696846, 0.07071808725595474, -0.008994883857667446, -0.2323366403579712, 0.00030680521740578115, 0.04421089589595795, 0.05430149659514427, -0.018312716856598854, 0.0161239393055439, 0.05077420920133591, -0.02272471971809864, 0.02224050648510456, -0.004929948132485151, 0.005198744125664234, 0.008896161802113056, -0.010307728312909603, -0.013636639341711998, 0.057790759950876236, 0.01777634769678116, 0.015173323452472687, 0.006373655050992966, 0.03507963567972183, -0.004524910356849432, 0.025500498712062836, 0.002441407646983862, 0.14867344498634338, 0.02846784144639969, 0.019644999876618385, 0.028284816071391106, -0.021722963079810143, 0.030682552605867386, 0.06222761422395706, -0.0073893410153687, 0.002894269535318017, 0.004905194975435734, 0.03338129073381424, 0.0035954222548753023, 0.04301019012928009, -0.08178047090768814, -0.026135334745049477, 0.01331846509128809, 0.03450944274663925, -0.027388129383325577, -0.009448504075407982, 0.025037068873643875, 0.00266597350127995, 0.011612591333687305, 0.08342612534761429, -0.003112170146778226, 0.0020313230343163013, -0.046739570796489716, -0.05099581927061081, -0.007103499490767717, -0.024954432621598244, -0.03644786402583122, -0.018711132928729057, -0.014987705275416374, -0.012849179096519947, 0.08540844172239304, -0.006028087344020605, -0.024029187858104706, -0.003667746437713504, -0.0009240087820217013, 0.0008707458036951721, -0.020874125882983208, 0.10939998924732208, -0.01687351055443287, 0.05496504530310631 ]
[ -0.0018447366310283542, 0.031955938786268234, 0.004841247107833624, 0.04991758242249489, 0.015524194575846195, -0.03660469874739647, -0.010764922015368938, -0.018082698807120323, -0.0006466250633820891, -0.0021280026994645596, -0.05220175161957741, 0.01616126298904419, 0.0016932820435613394, -0.021229758858680725, 0.005055207293480635, 0.0059133730828762054, -0.006322212517261505, -0.00457873335108161, 0.021438026800751686, -0.012698264792561531, 0.04586533084511757, 0.037558168172836304, 0.019198933616280556, -0.014254314824938774, 0.012682242318987846, -0.016414249315857887, 0.0058272783644497395, 0.029426023364067078, 0.038904573768377304, -0.13438594341278076, 0.01294254232198, -0.05672469735145569, -0.04419294372200966, -0.023315493017435074, 0.007241777144372463, 0.029439816251397133, 0.022800983861088753, 0.018916748464107513, -0.021560899913311005, 0.01895245723426342, 0.009212804958224297, -0.024615896865725517, 0.017206015065312386, 0.02381845749914646, -0.05810312554240227, 0.005373453721404076, -0.040691521018743515, -0.02161491848528385, -0.007284460589289665, -0.008623680099844933, 0.016211777925491333, 0.018906153738498688, 0.01906834915280342, 0.010958936996757984, 0.01145960297435522, -0.014758622273802757, 0.003934995271265507, -0.01621696539223194, 0.009465794079005718, -0.02772807702422142, -0.003005614969879389, -0.03227812424302101, -0.022855164483189583, -0.0083098653703928, 0.008494915440678596, -0.04142777621746063, -0.00017819192726165056, 0.02116619609296322, -0.007217422593384981, -0.005944931413978338, -0.06412822008132935, 0.005376765038818121, -0.06300267577171326, -0.014549463987350464, -0.005784067790955305, 0.028355255722999573, 0.033528637140989304, -0.005160003900527954, 0.016952602192759514, 0.0071499040350317955, -0.00982570182532072, 0.00354355969466269, 0.02177164889872074, 0.006279538385570049, 0.007160506676882505, 0.036889296025037766, 0.010751228779554367, 0.016599450260400772, 0.017304684966802597, 0.02010880969464779, -0.02846427448093891, 0.005448109935969114, 0.025357507169246674, 0.04256819561123848, -0.050065115094184875, -0.050262078642845154, 0.002816704800352454, -0.018960295245051384, -0.017416736111044884, 0.8306133151054382, 0.01719539240002632, 0.026886507868766785, 0.006072168238461018, 0.004076954908668995, -0.0035634073428809643, -0.029207995161414146, 0.015272952616214752, 0.06727080047130585, 0.047841329127550125, -0.02975529432296753, 0.02570805326104164, 0.024022236466407776, -0.014731531962752342, -0.01245829463005066, 0.015336091630160809, -0.04914909228682518, 0.02461792528629303, -0.047832243144512177, -0.02958769164979458, -0.015403008088469505, 0.012460242956876755, 0.03303370624780655, 0.023988204076886177, 0.018232643604278564, 0.0268789641559124, -0.19974318146705627, 0.009129345417022705, -7.432151929834194e-33, 0.026714982464909554, 0.024599386379122734, 0.009571537375450134, -0.00532069755718112, -0.000034864602639572695, 0.03360852226614952, 0.007388018071651459, -0.01156091783195734, -0.002067133318632841, -0.015802506357431412, 0.004917701240628958, -0.005511956755071878, 0.03609979525208473, -0.01039301697164774, 0.04606342315673828, -0.03772099316120148, 0.020230423659086227, 0.007137978449463844, 0.016726668924093246, -0.030937956646084785, 0.009508349001407623, 0.0004674756492022425, 0.002887530019506812, 0.006800721865147352, 0.026592807844281197, 0.01605268567800522, 0.0036810720339417458, 0.028789076954126358, -0.005663555581122637, -0.04988571256399155, 0.0046547153033316135, 0.01427933108061552, -0.047426387667655945, -0.004246685653924942, 0.0043661100789904594, -0.044763170182704926, -0.0072182719595730305, 0.0013540445361286402, -0.04334837198257446, -0.018286418169736862, -0.02689008228480816, 0.03184904903173447, -0.04757541045546532, -0.021800430491566658, 0.012257463298738003, -0.024500414729118347, -0.0036119886208325624, 0.01775168813765049, -0.009756659157574177, -0.010118932463228703, -0.02212989330291748, 0.03993886709213257, 0.0344286784529686, -0.0172063447535038, -0.024296708405017853, -0.012724846601486206, 0.0163261741399765, -0.007144302129745483, 0.029011940583586693, 0.006236702669411898, 0.005958191119134426, 0.01376571785658598, -0.021490612998604774, 0.01717752404510975, -0.005001189652830362, 0.0029291773680597544, 0.033777493983507156, 0.019236093387007713, -0.035652320832014084, 0.021470235660672188, -0.04268627241253853, -0.03222162276506424, 0.013973189517855644, 0.02792338840663433, -0.003039330244064331, -0.004010219592601061, -0.01692204736173153, 0.019434239715337753, -0.02877168357372284, 0.03607659414410591, 0.0036968602798879147, -0.04821544513106346, 0.0070953876711428165, -0.03410704806447029, -0.019095756113529205, -0.008119286969304085, 0.014461977407336235, -0.010594886727631092, -0.014817195013165474, 0.06524273753166199, 0.01255258359014988, 0.0032889347057789564, 0.014689968898892403, 0.005952920764684677, -0.03611733391880989, 7.145650161076216e-33, -0.02338089607656002, 0.005929545033723116, -0.016758592799305916, 0.022725805640220642, 0.01172627229243517, -0.01588611863553524, 0.02330445498228073, -0.004025283735245466, -0.07690149545669556, 0.007493387442082167, 0.0011423714458942413, -0.011952636763453484, -0.027814799919724464, 0.03203317150473595, 0.04835162311792374, 0.0010373282711952925, 0.005726214963942766, -0.051541831344366074, 0.04971032217144966, 0.02050688862800598, 0.032111797481775284, 0.014651919715106487, -0.04321252182126045, -0.00825820118188858, 0.018289880827069283, 0.06045667454600334, 0.01251538097858429, -0.000834428530652076, 0.01929500326514244, -0.03759805113077164, 0.011479920707643032, -0.011581181548535824, 0.02181857079267502, 0.03426869958639145, -0.027584511786699295, 0.04934920743107796, -0.005819607526063919, 0.03136254847049713, 0.028989139944314957, 0.020876461640000343, 0.031225450336933136, -0.010874799452722073, 0.002038313075900078, 0.056574497371912, 0.02272791415452957, -0.0037268283776938915, -0.024805797263979912, -0.028618181124329567, -0.06474878638982773, -0.008235815912485123, 0.023439941927790642, 0.0012761125108227134, -0.0013502364745363593, 0.025846775621175766, -0.008740972727537155, -0.0007152298931032419, -0.011747901327908039, 0.006341597530990839, -0.013800757937133312, -0.00631061801686883, -0.022224390879273415, -0.003238165518268943, -0.005886676721274853, 0.04476387798786163, -0.04122037813067436, -0.0282566137611866, -0.013659453019499779, -0.01487937942147255, 0.002824966097250581, -0.03463972359895706, -0.016606425866484642, -0.0012933177640661597, -0.023749636486172676, 0.010365715250372887, 0.02521168440580368, -0.001321121584624052, -0.010127842426300049, -0.0047406358644366264, -0.030226698145270348, 0.005903910379856825, -0.0038424544036388397, 0.020396091043949127, 0.02938332036137581, -0.04121159017086029, 0.014619102701544762, 0.0244862399995327, -0.009821752086281776, 0.01291640941053629, 0.0017954723443835974, -0.02140665240585804, -0.033780377358198166, 0.000925156578887254, -0.03239971771836281, 0.003528598230332136, -0.024702707305550575, -1.276883931922157e-8, 0.005510875955224037, 0.0024481043219566345, 0.02252967655658722, 0.016010314226150513, 0.012911487370729446, 0.036775995045900345, 0.01488762442022562, -0.005794583819806576, -0.0537433996796608, 0.02628091350197792, 0.029659179970622063, -0.011042097583413124, 0.011979418806731701, 0.03486121445894241, 0.02915913797914982, -0.04559559002518654, -0.0364462286233902, 0.04840193688869476, 0.033190399408340454, 0.01522073894739151, 0.0038874594029039145, 0.07058641314506531, -0.026562685146927834, -0.000298621307592839, 0.018510960042476654, 0.01979226991534233, 0.03127213940024376, -0.05692419782280922, -0.016706908121705055, -0.009148898534476757, -0.056345704942941666, -0.0017207865603268147, -0.04254641756415367, -0.005453495308756828, -0.04565123841166496, -0.007289940025657415, -0.006623179651796818, -0.0032414633315056562, -0.007521421182900667, -0.017674487084150314, -0.01796981319785118, -0.0004896307946182787, 0.017054080963134766, -0.009358133189380169, -0.03814517706632614, -0.009126104414463043, -0.0441940613090992, 0.007493949495255947, 0.05237945541739464, -0.01931699365377426, 0.013360753655433655, -0.01137116551399231, -0.005634963978081942, 0.04291527718305588, 0.011678175069391727, -0.004748727194964886, -0.015619972720742226, -0.042834144085645676, -0.023553455248475075, -0.03417874872684479, 0.024084221571683884, 0.01937371864914894, -0.04681055247783661, -0.01916840858757496 ]
lessons-from-supporting-production-code
https://markhneedham.com/blog/2013/07/22/lessons-from-supporting-production-code
false
2013-07-22 23:47:28
On "The fear of blogging about technical topics"
[ "software-development" ]
[ "Software Development" ]
My former colleague https://twitter.com/annejsimmons[Anne Simmons] recently wrote an interesting post in which she describes http://annejsimmons.com/2013/07/16/the-fear-of-blogging-about-technical-topics/[some of the reasons that she finds herself not wanting to write about technical topics.]. I wrote a post at the end of 2012 in which I explained some of the reasons why I think http://www.markhneedham.com/blog/2013/01/05/a-new-years-idea-share-what-you-learn/[writing about what you learn is a good idea] but Anne brought up some things I hadn't thought of which I think are worth addressing. She's already described her own mantras to overcome these but I thought it'd still be interesting to share my experience as well: == What do I know that the internet doesn't already?! I've found that then posts I write in which I aggregate a bunch of information that I found from different places tend to be my most read posts. A lot of the people that I've worked with (including me) when encountered with a stack trace will paste it straight into google to try and solve their problem. I've had the same experience as Anne in spending ages trying to solve a problem and thinking it would be cool to save someone else (usually future me) from having to rediscover the solution in the future. == Will people judge me about what knowledge I do have?/What if I'm wrong?! In 5 years of writing I've only had a couple of times when people commented in what I thought was an unnecessary manner but the majority of feedback has been very positive. Frequently people actually teach me something that I didn't know rather than criticising what I do know so for me writing has been a net gain. A strange side effect is that people think I know much more than I do based on writing about things I've been working on. == In summary It can only be a good thing for the internet if more people write about the things that they're working on so I hope Anne keeps to her one post a month target! I'll finish off with the http://www.catb.org/esr/faqs/hacker-howto.html[Eric Raymond] quote that I used on http://www.markhneedham.com/blog/2013/01/05/a-new-years-idea-share-what-you-learn/[my previous post about sharing what you learn]: ____ Creative brains are a valuable, limited resource. They shouldn't be wasted on re-inventing the wheel when there are so many fascinating new problems waiting out there. To behave like a hacker, you have to believe that the thinking time of other hackers is precious -- so much so that *it's almost a moral duty for you to share information, solve problems and then give the solutions away just so other hackers can solve new problems instead of having to perpetually re-address old ones*. ____
null
null
[ 0.032023098319768906, -0.013381687924265862, 0.009288161061704159, 0.02683638408780098, 0.07479682564735413, 0.02444441430270672, 0.025831645354628563, 0.043700385838747025, -0.0013641081750392914, -0.00010659502731868997, -0.011825485154986382, 0.01269510854035616, -0.047476641833782196, 0.012658881954848766, -0.028280988335609436, 0.06336339563131332, 0.041213199496269226, 0.0025823840405792, 0.016675593331456184, -0.011671099811792374, 0.04984026029706001, 0.07311277091503143, 0.03946496173739433, 0.034285854548215866, 0.04955798760056496, -0.008854369632899761, 0.02605452574789524, 0.011656873859465122, -0.0429113395512104, -0.011739484034478664, 0.037849098443984985, 0.01741059496998787, 0.011831367388367653, 0.004932489711791277, 0.04439007118344307, -0.019516509026288986, -0.0021041708532720804, 0.035088326781988144, 0.0005161978187970817, 0.022440753877162933, -0.07950226962566376, 0.062181685119867325, -0.04469715803861618, 0.026643522083759308, -0.03915848210453987, 0.006888892501592636, -0.01451441552489996, 0.007573999464511871, 0.02032761089503765, 0.00894789956510067, -0.07007948309183121, 0.03957115858793259, 0.021959535777568817, 0.0240743737667799, -0.020961778238415718, 0.053123489022254944, 0.020663540810346603, -0.05334398150444031, 0.00947833526879549, -0.03706728294491768, -0.005398839712142944, -0.013430539518594742, -0.01025694701820612, 0.03592124953866005, 0.014817972667515278, -0.019377117976546288, 0.013739514164626598, 0.03036494180560112, -0.0545923076570034, 0.023335911333560944, -0.002227530814707279, -0.014369485899806023, 0.002878758357837796, -0.018941348418593407, 0.012757557444274426, -0.046969760209321976, 0.021575763821601868, 0.06785985827445984, 0.027893679216504097, 0.030346428975462914, -0.022079115733504295, 0.013474306091666222, 0.0019285447197034955, 0.038300059735774994, -0.014794822782278061, -0.05332876369357109, -0.008275178261101246, -0.01220984011888504, -0.06128320470452309, 0.04176345095038414, 0.001291341963224113, -0.05790496617555618, 0.014549150131642818, 0.03413182869553566, -0.005914623849093914, 0.0014746841043233871, 0.04050196334719658, -0.007378750015050173, -0.025698255747556686, -0.02726336009800434, -0.022161653265357018, -0.012906261719763279, -0.010277822613716125, 0.02731415629386902, -0.07564528286457062, -0.011146358214318752, -0.0203025434166193, 0.009927411563694477, -0.000594003067817539, -0.005805319640785456, -0.005668297875672579, 0.046849437057971954, -0.019694648683071136, -0.011657155118882656, -0.06309996545314789, 0.06076369062066078, 0.0016157133504748344, -0.05514621362090111, -0.011097212322056293, 0.008275610394775867, 0.02348930388689041, -0.004712325986474752, -0.012568376027047634, 0.0799395740032196, 0.02336079441010952, 0.004020890220999718, -0.016375843435525894, 0.04986089468002319, -0.025309234857559204, -0.05374335125088692, -0.010689823888242245, 0.05532389506697655, -0.01903422176837921, -0.0029446748085319996, 0.020460287109017372, -0.03297162801027298, 0.005720775108784437, 0.008534527383744717, 0.04953570291399956, 0.07107269018888474, 0.012397758662700653, -0.049647264182567596, -0.005143085028976202, 0.0070473081432282925, 0.025373483076691628, -0.017288070172071457, 0.006616369821131229, -0.009124025702476501, -0.045869309455156326, -0.030075687915086746, 0.0005093818763270974, -0.008171392604708672, 0.0072464956901967525, -0.054684948176145554, 0.015019009821116924, 0.042821161448955536, 0.053791727870702744, 0.02454790659248829, -0.012904589995741844, 0.06517589092254639, 0.0444340780377388, 0.04199652001261711, 0.010437465272843838, 0.03420305624604225, -0.0015547742368653417, -0.02582963928580284, 0.005410516634583473, 0.043764013797044754, 0.001713062054477632, 0.024533389136195183, -0.06768590956926346, -0.027849268168210983, 0.05514691025018692, -0.031991440802812576, -0.03570796176791191, 0.06786190718412399, 0.06765151768922806, 0.024025002494454384, 0.04293303191661835, 0.011838003993034363, -0.0784565657377243, 0.04554632306098938, 0.009515427984297276, 0.03776240348815918, 0.013812019489705563, -0.01552996039390564, 0.05315253511071205, 0.03154248744249344, 0.005718156695365906, 0.050295695662498474, -0.07031989842653275, -0.09017938375473022, -0.017461244016885757, 0.014392047189176083, 0.06380248069763184, -0.02910803072154522, 0.03840242698788643, 0.08465795964002609, -0.012979347258806229, 0.052850306034088135, 0.016263125464320183, -0.010194603353738785, 0.014527348801493645, -0.04967787489295006, -0.053337499499320984, 0.07728336751461029, 0.027554655447602272, -0.011638232506811619, -0.03788446635007858, 0.013011351227760315, -0.008380216546356678, -0.004628824535757303, 0.04952358826994896, -0.027070922777056694, 0.009758318774402142, 0.0044702570885419846, 0.06276442855596542, -0.013729776255786419, 0.04378264397382736, -0.025854069739580154, 0.005010174587368965, -0.004990987945348024, -0.005503207910805941, 0.028821242973208427, 0.013039425015449524, 0.10662201046943665, 0.039668355137109756, -0.05057673901319504, -0.0337238572537899, 0.006795327644795179, 0.0065312692895531654, -0.04435417428612709, 0.013530044816434383, -0.004598051775246859, 0.004338507540524006, 0.03887961432337761, -0.05281808227300644, -0.03159143030643463, 0.02411515824496746, -0.05424613133072853, -0.007429802790284157, 0.07648919522762299, -0.0027272484730929136, 0.07171110808849335, -0.04898641258478165, 0.018881481140851974, -0.028632046654820442, -0.027096977457404137, -0.036548588424921036, 0.012839955277740955, 0.012213251553475857, -0.019467759877443314, 0.03447514399886131, -0.02239103615283966, -0.018187228590250015, -0.046985525637865067, -0.034361161291599274, 0.039453666657209396, 0.06683842837810516, 0.059991154819726944, -0.025627054274082184, 0.046185191720724106, -0.011472661048173904, 0.04116550832986832, -0.003235172014683485, -0.04132742062211037, -0.039827995002269745, -0.04801948741078377, 0.004672076087445021, 0.027320189401507378, 0.007765928748995066, 0.025283191353082657, 0.01488250307738781, 0.01926865614950657, 0.002117938594892621, -0.0021964784245938063, 0.02645130828022957, 0.01355504896491766, -0.0006488899816758931, -0.038908883929252625, -0.035223376005887985, 0.05588532239198685, -0.035950884222984314, -0.018527373671531677, 0.013097717426717281, -0.09042578190565109, 0.04332221299409866, -0.04113291949033737, -0.050390418618917465, -0.000044951517338631675, -0.008400129154324532, 0.03468651324510574, 0.023009739816188812, 0.017977166920900345, 0.05749596282839775, 0.01156486663967371, 0.0012702880194410682, -0.004170142579823732, -0.010641802102327347, 0.03740136697888374, 0.0007840088219381869, -0.013464568182826042, 0.037128251045942307, 0.012958076782524586, 0.010954008437693119, -0.048281993716955185, 0.0561312697827816, -0.022454245015978813, -0.2987562119960785, 0.04315643757581711, 0.02774234116077423, -0.0366118922829628, 0.029573490843176842, -0.020434977486729622, 0.016774455085396767, -0.0547361820936203, -0.029276063665747643, 0.01340694259852171, -0.03275645896792412, -0.025979407131671906, -0.015008925460278988, 0.03166930750012398, 0.0002553679805714637, 0.004345080815255642, -0.0006706603453494608, -0.0321696400642395, -0.003622374963015318, 0.04027910903096199, -0.0001364696945529431, -0.06350202858448029, -0.02339480258524418, 0.042375173419713974, 0.055732645094394684, 0.06430871784687042, -0.07134340703487396, 0.04972601681947708, -0.06258658319711685, 0.007879580371081829, 0.0018193270079791546, -0.009569746442139149, 0.005930920131504536, -0.02081124857068062, -0.013157719746232033, -0.02201015129685402, 0.05929107964038849, 0.005986329633742571, -0.004409043584018946, 0.010114786215126514, -0.04114338383078575, -0.034043896943330765, -0.01000871229916811, 0.010998251847922802, 0.06131952628493309, 0.017576461657881737, -0.06740052253007889, -0.012061397545039654, -0.019645338878035545, 0.06836291402578354, -0.048799462616443634, -0.043835610151290894, -0.019902696833014488, 0.03130001202225685, -0.014465555548667908, -0.018336791545152664, -0.017065392807126045, -0.03521766513586044, -0.0420052632689476, -0.06642962992191315, -0.018451273441314697, -0.013242281042039394, -0.012360956519842148, -0.033705662935972214, 0.006687358487397432, -0.07264383882284164, -0.07851888239383698, -0.017543967813253403, 0.08845337480306625, -0.004567082971334457, -0.035301435738801956, 0.015852876007556915, 0.0010451917769387364, -0.11021017283201218, -0.00666232593357563, 0.015461365692317486, -0.04120311886072159, 0.026546766981482506, 0.018287474289536476, 0.03511635214090347, -0.025250425562262535, -0.04580673575401306, 0.017573967576026917, -0.0061250110156834126, 0.020877039059996605, -0.0389099158346653, 0.044969018548727036, 0.016708390787243843, -0.04325195774435997, 0.01887122355401516, 0.07232265174388885, 0.012660132721066475, -0.02140698954463005, -0.009845252148807049, 0.029132569208741188, 0.02447497472167015, 0.03941433131694794, -0.011174243874847889, 0.014172348193824291, 0.032207317650318146, 0.03071976639330387, -0.050634413957595825, 0.023966820910573006, -0.03809108957648277, -0.009578215889632702, 0.0046079144813120365, -0.0444779098033905, 0.016296477988362312, 0.008258966729044914, -0.016477644443511963, -0.027198849245905876, -0.05380303040146828, 0.02948671020567417, -0.04450128600001335, -0.041746221482753754, -0.005176388658583164, 0.0028991287108510733, 0.03816055506467819, -0.005452643148601055, -0.03452787175774574, -0.024026595056056976, 0.0016955055762082338, 0.010773293673992157, -0.0020684197079390287, -0.05469544976949692, -0.016441434621810913, -0.009728947654366493, -0.030272455886006355, 0.006872603204101324, 0.050484124571084976, -0.015940900892019272, 0.0021278555504977703, 0.011405201628804207, -0.0467427633702755, 0.029714133590459824, -0.045836932957172394, -0.06369778513908386, -0.03565707802772522, 0.015165883116424084, 0.001253799651749432, -0.007784927263855934, 0.028711963444948196, -0.015065004117786884, 0.008795448578894138, 0.05847224220633507, 0.01492441724985838, 0.016673080623149872, -0.03544870391488075, 0.01914479210972786, 0.03017616458237171, -0.007306165527552366, -0.04587717726826668, 0.014089249074459076, -0.03330862522125244, -0.011271029710769653, 0.000980098033323884, 0.03960943967103958, -0.012839152477681637, -0.04899578541517258, 0.00828012079000473, 0.0018196896417066455, -0.06973431259393692, -0.025595014914870262, -0.015280372463166714, 0.011284147389233112, 0.03342124819755554, -0.03859327733516693, 0.021516045555472374, 0.015783192589879036, -0.014199475757777691, 0.011517360806465149, 0.013726080767810345, -0.036188092082738876, 0.011814520694315434, 0.006599995773285627, 0.012847975827753544, -0.0015468474011868238, 0.018341757357120514, 0.044232867658138275, 0.0038516053464263678, -0.0060866340063512325, -0.036433398723602295, 0.003936920780688524, 0.031841278076171875, 0.05127950757741928, 0.03613877668976784, 0.011419962160289288, -0.009475848637521267, -0.030748916789889336, 0.0004026908427476883, -0.0439041405916214, -0.005149128381162882, -0.008721224963665009, 0.033054810017347336, -0.038626670837402344, -0.07722335308790207, 0.05551973730325699, -0.013438359834253788, 0.01045230682939291, 0.03248118236660957, -0.01782318390905857, 0.005401239264756441, -0.028864357620477676, 0.05520883575081825, 0.04425925016403198, -0.06795437633991241, 0.007734091021120548, -0.013178489170968533, -0.0021488755010068417, 0.0237050112336874, -0.00034383355523459613, -0.025560129433870316, -0.01022814866155386, -0.022694820538163185, 0.02753261849284172, -0.08277000486850739, -0.010196056216955185, -0.037382833659648895, 0.018537117168307304, -0.00465482659637928, -0.006781237665563822, -0.028770780190825462, -0.001418029423803091, -0.014175688847899437, -0.04104963317513466, 0.04640671983361244, -0.03617014363408089, -0.0006906919879838824, 0.0033117220737040043, -0.06142372265458107, 0.007269383408129215, -0.019938552752137184, 0.020589089021086693, 0.02197972685098648, -0.02959597110748291, 0.0038116222713142633, -0.020701827481389046, -0.006959114223718643, -0.01962178386747837, 0.04930998384952545, -0.002139440504834056, -0.0471712164580822, -0.06589099019765854, -0.025986244902014732, -0.049192897975444794, 0.03965583071112633, -0.053116071969270706, -0.0007531798910349607, 0.02251717634499073, 0.034508030861616135, 0.0388365313410759, 0.011711401864886284, -0.04280880466103554, -0.018313469365239143, 0.04987100884318352, -0.07413224130868912, -0.021452249959111214, -0.03800608590245247, -0.054439909756183624, 0.0012953305849805474, 0.013739410787820816, -0.003731001866981387, -0.03735814243555069, 0.042585499584674835, 0.025486638769507408, 0.022110484540462494, 0.033696092665195465, 0.003462223568931222, 0.0019536304753273726, -0.046177223324775696, -0.017290625721216202, -0.08195202797651291, -0.009012323804199696, 0.0056449794210493565, -0.0015191740822046995, 0.0071571930311620235, 0.004026599694043398, -0.03973015770316124, 0.0374225378036499, -0.09125600755214691, -0.015011406503617764, 0.02958228625357151, -0.014254242181777954, -0.030574262142181396, 0.027126023545861244, -0.05786973983049393, 0.02880401536822319, 0.010854937136173248, -0.03716942295432091, -0.02774902619421482, -0.011163853108882904, 0.03685774281620979, 0.005700620356947184, 0.0402812734246254, -0.025334274396300316, -0.020199527963995934, 0.0582742914557457, 0.006255059037357569, -0.005814412608742714, 0.042891472578048706, -0.0154790747910738, 0.020712926983833313, 0.04005847126245499, 0.03852732479572296, -0.0010850762482732534, -0.0004509114660322666, -0.01376975979655981, -0.06264597922563553, 0.02617982029914856, 0.00031191998277790844, -0.0497293621301651, -0.026324603706598282, 0.048160288482904434, 0.01983133889734745, -0.020440751686692238, -0.07191518694162369, 0.017359070479869843, -0.06065557897090912, -0.016652939841151237, -0.04168981313705444, -0.004487768281251192, -0.03467406705021858, 0.05081711336970329, 0.006943793501704931, 0.007733956910669804, 0.06544674932956696, -0.010910123586654663, 0.010280193760991096, -0.020077429711818695, 0.08871213346719742, 0.0809108167886734, 0.07611170411109924, -0.009438497014343739, 0.07472661882638931, -0.018169479444622993, -0.0547679141163826, 0.006398147437721491, -0.007863029837608337, -0.00287194037809968, 0.003359811147674918, 0.014617864973843098, 0.07123929262161255, -0.015482673421502113, 0.08087151497602463, -0.023892421275377274, -0.024526333436369896, -0.003396680811420083, 0.02432354725897312, 0.006225024349987507, 0.04402542859315872, 0.009450468234717846, 0.027220414951443672, -0.018470358103513718, -0.0694902092218399, 0.02476022206246853, -0.027836963534355164, -0.001230737310834229, 0.02377377822995186, -0.018078923225402832, 0.02081458270549774, -0.01646709442138672, 0.013038617558777332, 0.06112302467226982, -0.042110927402973175, 0.023104950785636902, -0.019132565706968307, 0.018975185230374336, -0.001893468084745109, 0.029367191717028618, -0.02798893302679062, 0.031708892434835434, -0.014801794663071632, -0.0357355959713459, -0.013186735101044178, -0.038984376937150955, -0.03318892791867256, 0.03098156675696373, -0.029198355972766876, -0.008484117686748505, 0.01987006887793541, -0.0016671429621055722, -0.016083432361483574, -0.057094231247901917, -0.029647966846823692, -0.03867063671350479, -0.0499722957611084, -0.015420443378388882, 0.004478959832340479, 0.011843640357255936, -0.03797726333141327, -0.008973673917353153, -0.032277144491672516, -0.035773273557424545, 0.0756034106016159, -0.037050556391477585, -0.008417869918048382, 0.015218134969472885, 0.03371516987681389, 0.0015358998207375407, 0.023131590336561203, 0.03747495263814926, 0.0019183042459189892, -0.014143818989396095, 0.012653704732656479, -0.007339265663176775, 0.046534426510334015, 0.003211553441360593, -0.02397461235523224, -0.07771555334329605, 0.007795924320816994, 0.012948506511747837, -0.017503980547189713, -0.0574796162545681, 0.017893241718411446, 0.036708809435367584, 0.010326401330530643, 0.044906292110681534, -0.016194386407732964, 0.012365646660327911, -0.016626887023448944, 0.006177335977554321, -0.021115552634000778, -0.005542322993278503, 0.04313482344150543, -0.010224688798189163, 0.0755528137087822, 0.017068538814783096, -0.021893871948122978, -0.013759033754467964, -0.0349753275513649, -0.005600913427770138, 0.016193263232707977, -0.03392443805932999, -0.011445981450378895, -0.01753639616072178, -0.0805390477180481, -0.03578263148665428, 0.040184102952480316, -0.013775824569165707, -0.021114280447363853, 0.03873157501220703, 0.0070902337320148945, -0.018403874710202217, 0.03468574211001396, -0.04518064484000206, 0.04546434059739113, -0.009288719855248928, -0.009646398015320301, -0.01864457130432129, 0.015515347011387348, 0.004424009472131729, -0.023728512227535248, 0.006035840604454279, -0.04463549703359604, -0.00247166957706213, -0.003832194022834301, 0.034635838121175766, 0.02808847278356552, 0.0034763936419039965, -0.00788768008351326 ]
[ -0.07844841480255127, -0.0067718857899308205, -0.007911806926131248, 0.006005510222166777, 0.03190680220723152, -0.027927886694669724, -0.0010098249185830355, 0.05429002270102501, 0.00021438988915178925, -0.029127342626452446, 0.025047335773706436, -0.018621021881699562, 0.0023636287078261375, -0.012043959461152554, 0.0651182234287262, 0.04990438371896744, 0.008350223302841187, -0.09615810215473175, -0.01938370056450367, 0.027522871270775795, -0.0008506972808390856, -0.03795541450381279, 0.004335162229835987, -0.00021506303164642304, 0.02387526072561741, 0.007496656384319067, 0.02488243579864502, -0.02396390214562416, -0.024726413190364838, -0.14365018904209137, -0.00035404544905759394, 0.0310670118778944, 0.0284955482929945, 0.0035274566616863012, 0.017285330221056938, 0.07906211167573929, 0.02701374515891075, 0.017743540927767754, -0.009778880514204502, 0.0389254204928875, 0.0022411791142076254, -0.0067748320288956165, -0.03523578494787216, -0.031116800382733345, 0.051877282559871674, 0.008985767140984535, 0.02982170693576336, -0.034989237785339355, -0.02006525546312332, 0.005017534364014864, -0.08055660128593445, -0.039355769753456116, -0.02151988260447979, -0.01106956321746111, -0.018202688544988632, 0.030268751084804535, 0.023368539288640022, 0.06917481124401093, 0.002367468550801277, 0.020482955500483513, 0.04513085260987282, 0.0007175857899710536, -0.1329348236322403, 0.11292137205600739, 0.027259672060608864, 0.05409911274909973, -0.050163861364126205, 0.015667587518692017, -0.010022906586527824, 0.09281572699546814, 0.020613359287381172, 0.008569045923650265, -0.03524411842226982, 0.05014202371239662, 0.02392001450061798, 0.03149804472923279, 0.016296477988362312, 0.02639591135084629, 0.014488563872873783, -0.040075063705444336, -0.008426878601312637, 0.010959530249238014, 0.0040848711505532265, -0.01697012595832348, -0.03784776106476784, 0.005478143226355314, 0.0014424445107579231, 0.03439759463071823, 0.030170420184731483, -0.0005088996840640903, 0.030238479375839233, -0.015519077889621258, 0.021667731925845146, -0.01348219346255064, -0.08501587063074112, -0.048681069165468216, 0.00039417060906998813, 0.029439352452754974, -0.04207177832722664, 0.45000627636909485, -0.03754391893744469, -0.003880770644173026, 0.10366789996623993, 0.008493783883750439, 0.010732460767030716, -0.0106397969648242, 0.043547481298446655, -0.07434803247451782, 0.01670755445957184, -0.023077769204974174, 0.016474325209856033, -0.005084484349936247, 0.040711481124162674, -0.031633686274290085, 0.05155321955680847, 0.025598885491490364, 0.07363293319940567, 0.04235925152897835, 0.00417889840900898, -0.019138319417834282, -0.050151292234659195, -0.004815373104065657, 0.018536202609539032, -0.024206552654504776, -0.012479789555072784, -0.06441091001033783, 0.03407381847500801, 0.06202828139066696, 0.01376517117023468, 0.006730265915393829, 0.026260284706950188, -0.0403020903468132, -0.04303698614239693, 0.01516287587583065, 0.0021809395402669907, 0.020639196038246155, 0.01852184347808361, -0.03852808102965355, 0.020330168306827545, 0.030713524669408798, 0.02918718382716179, -0.03328629583120346, -0.009345742873847485, 0.012465034611523151, -0.015155301429331303, 0.11995720118284225, 0.0453072115778923, -0.026549754664301872, 0.02185056172311306, -0.019773555919528008, 0.009682734496891499, 0.034203410148620605, -0.010249560698866844, -0.06815443933010101, 0.05889483913779259, 0.011652570217847824, 0.08612049371004105, -0.00712759280577302, -0.051503099501132965, -0.012018411420285702, 0.00644177570939064, -0.02791888266801834, -0.046080391854047775, 0.019227640703320503, 0.053864736109972, -0.08078283071517944, -0.0035760682076215744, 0.014669528231024742, 0.012466121464967728, -0.07271835952997208, 0.0195926520973444, -0.0014692660188302398, -0.049207840114831924, -0.015734214335680008, 0.03823795169591904, -0.03947632387280464, -0.035290032625198364, 0.007281055673956871, 0.023878484964370728, 0.022554250434041023, 0.0038598955143243074, 0.001350922742858529, -0.029758533462882042, 0.04194462299346924, -0.04660205543041229, -0.06863170862197876, -0.0060614366084337234, -0.02292471006512642, -0.027056105434894562, 0.02534826099872589, -0.02165595442056656, -0.023922359570860863, -0.08180323988199234, 0.08341158181428909, -0.037918947637081146, -0.009067823179066181, 0.0322330966591835, -0.0024580673780292273, -0.04105944186449051, -0.018168384209275246, -0.06721694022417068, 0.009546888060867786, -0.07002250105142593, 0.015851836651563644, -0.0464506559073925, 0.06328766793012619, 0.07892286777496338, -0.05543588474392891, 0.134248748421669, 0.03046364337205887, -0.03656797856092453, -0.05063260346651077, -0.008807983249425888, -0.0020236708223819733, 0.012266675941646099, -0.014116424135863781, 0.02673797495663166, 0.009103037416934967, 0.02924172952771187, 0.01268741488456726, -0.008262465707957745, -0.032176773995161057, -0.06734301894903183, -0.3235663175582886, -0.07070682942867279, -0.020635174587368965, -0.012716910801827908, 0.0415135994553566, -0.06710746884346008, 0.025376219302415848, -0.021335694938898087, -0.012935103848576546, 0.025750871747732162, 0.04482683911919594, -0.025234026834368706, 0.003906370140612125, -0.09998485445976257, 0.001646046293899417, 0.00219524628482759, -0.016461199149489403, -0.009340263903141022, -0.004140301141887903, 0.024710893630981445, -0.022064799442887306, -0.019588585942983627, -0.017675215378403664, -0.056548427790403366, -0.014792504720389843, -0.03656557574868202, 0.07329321652650833, 0.07648510485887527, 0.03720410540699959, -0.0372399240732193, 0.036467649042606354, 0.005422962363809347, 0.02522243559360504, -0.1319667398929596, -0.012691855430603027, -0.00478955777361989, 0.013320998288691044, -0.028308449313044548, -0.015955783426761627, -0.057227667421102524, -0.058797139674425125, 0.024456948041915894, -0.07173456996679306, -0.030274687334895134, -0.12273313850164413, 0.012079707346856594, -0.023627828806638718, -0.008248590864241123, -0.023904338479042053, 0.07594630867242813, 0.009342295117676258, 0.0037118804175406694, -0.003869812935590744, 0.022130535915493965, -0.006108808796852827, -0.006778749171644449, -0.09620552510023117, 0.032960228621959686, -0.0030168264638632536, -0.001567065017297864, 0.01077865157276392, 0.054488979279994965, 0.017205826938152313, -0.07427673786878586, 0.002168904058635235, 0.015659913420677185, -0.01729690283536911, 0.03736363723874092, 0.019083509221673012, -0.0046271332539618015, -0.024372674524784088, 0.10470841079950333, -0.0006933620315976441, -0.009977877140045166, 0.02014697901904583, 0.02141118049621582, -0.034219205379486084, 0.03482527285814285, -0.001812417758628726, -0.01583326794207096, 0.02703806571662426, -0.02896983176469803, 0.04058746248483658, -0.0057385326363146305, -0.042011234909296036, 0.03344428911805153, -0.01772015169262886, -0.06635256111621857, 0.08019720762968063, 0.03761742264032364, -0.03759507089853287, 0.030111076310276985, -0.045280613005161285, -0.04160452261567116, 0.05827389284968376, -0.013467089273035526, -0.23041754961013794, -0.007055271416902542, 0.06422695517539978, 0.057079821825027466, 0.014718132093548775, 0.03640327975153923, 0.012786691077053547, -0.034023717045784, 0.0044812667183578014, 0.038386888802051544, 0.025607604533433914, 0.04345041885972023, -0.03235999494791031, 0.013427102006971836, 0.012162141501903534, -0.0012597690802067518, -0.013129020109772682, 0.03388313576579094, -0.01914839632809162, 0.015920529142022133, 0.015239584259688854, -0.01085701584815979, 0.13817155361175537, 0.034526798874139786, 0.005849334876984358, -0.011059936136007309, -0.005253156181424856, 0.03112603910267353, 0.0360858254134655, -0.02276156097650528, -0.003285979153588414, -0.015410739928483963, -0.0048409090377390385, 0.02260780520737171, 0.01498921774327755, -0.11044100672006607, -0.030483858659863472, 0.010008451528847218, 0.038055893033742905, -0.029907772317528725, 0.03045971877872944, 0.004455220885574818, -0.017764050513505936, 0.03744339942932129, 0.05937005579471588, 0.02557496726512909, -0.008038301952183247, -0.038541100919246674, -0.08522702008485794, -0.033533625304698944, -0.012422584928572178, -0.01714559644460678, 0.030909232795238495, 0.032600224018096924, 0.011913521215319633, 0.08434432744979858, 0.040261160582304, -0.03367828205227852, -0.0006529259262606502, -0.00794144906103611, -0.02922373265028, -0.014911158010363579, 0.07389678806066513, 0.04484093561768532, 0.04167904704809189 ]
[ -0.0011476072249934077, -0.008197898045182228, 0.015418755821883678, 0.03013004921376705, -0.004384304862469435, -0.0075714970007538795, 0.024775687605142593, -0.00730213662609458, 0.008604885078966618, -0.009692344814538956, -0.012347967363893986, 0.01939033903181553, 0.03521345555782318, -0.048086877912282944, 0.0038655095268040895, 0.007951213046908379, -0.01541712787002325, -0.028895501047372818, 0.007177039515227079, -0.00950906053185463, -0.008652796968817711, -0.001846683444455266, 0.011697784997522831, 0.012158045545220375, -0.032705701887607574, 0.02865285612642765, 0.009717660956084728, -0.03942780941724777, 0.003844871651381254, -0.1356274038553238, -0.04967811331152916, 0.0014169039204716682, -0.026427315548062325, 0.033414073288440704, 0.004857040476053953, 0.006148845888674259, -0.020810002461075783, 0.04039406403899193, -0.006809982471168041, -0.03651965782046318, -0.03355579450726509, -0.05393010750412941, 0.011005053296685219, 0.014268681406974792, -0.01705407351255417, -0.0036838604137301445, -0.003794562304392457, -0.024064552038908005, -0.033163171261548996, -0.03634675219655037, -0.036937158554792404, -0.021029984578490257, -0.02788923867046833, 0.012010701932013035, 0.02186586521565914, 0.00445167301222682, 0.003939123824238777, 0.020108845084905624, -0.00014138994447421283, -0.0217725932598114, 0.01733396202325821, -0.023553339764475822, -0.06763552874326706, -0.006587022449821234, -0.004644800443202257, -0.00264220149256289, 0.008952224627137184, 0.015642181038856506, -0.028624413534998894, 0.02580893412232399, -0.029009107500314713, 0.04601922631263733, -0.023643169552087784, -0.017018690705299377, 0.02530592493712902, 0.00809213425964117, 0.03708808124065399, -0.02064826525747776, 0.013174363411962986, 0.014119485393166542, -0.018005141988396645, 0.030560564249753952, 0.034727923572063446, 0.018675897270441055, 0.0008106130408123136, 0.014296186156570911, 0.024746352806687355, -0.0071432883851230145, 0.013016652315855026, -0.021593032404780388, -0.010693898424506187, -0.011198426596820354, -0.009861676953732967, 0.006152047775685787, -0.08169461041688919, -0.031139368191361427, -0.03325822576880455, -0.028192700818181038, -0.011889176443219185, 0.8522891998291016, 0.004452971275895834, 0.042639847844839096, 0.018647868186235428, 0.019661955535411835, 0.013595839031040668, 0.0010445123771205544, 0.02173960581421852, 0.0065077077597379684, 0.01225968636572361, -0.028470955789089203, 0.006097800098359585, 0.022904468700289726, 0.001875534188002348, 0.0035814428701996803, 0.038723621517419815, 0.028423001989722252, 0.03983556851744652, 0.004062904976308346, -0.006903066765516996, -0.0009614198352210224, 0.020150931552052498, 0.027798987925052643, 0.00719808042049408, 0.022951725870370865, -0.009227552451193333, -0.19121098518371582, -0.003836859716102481, -7.601201241793885e-33, 0.0380043163895607, 0.03244299069046974, -0.009515832178294659, 0.0031991773284971714, 0.01656414195895195, 0.004330490715801716, 0.027820823714137077, 0.0201098769903183, -0.04389926791191101, -0.02234729751944542, -0.012288630940020084, -0.012649258598685265, 0.015447896905243397, -0.02997959777712822, 0.04943717271089554, -0.014674441888928413, -0.00823251437395811, 0.025217149406671524, 0.014067104086279869, 0.0121419383212924, 0.0748339369893074, 0.024655494838953018, 0.0064094397239387035, 0.006314580328762531, -0.0005499886465258896, -0.008852703496813774, 0.012161238119006157, 0.02982679195702076, -0.017368309199810028, -0.05112413316965103, -0.028647257015109062, 0.005882226396352053, -0.019883686676621437, -0.013394922018051147, 0.0173666812479496, -0.028373831883072853, -0.026773178949952126, -0.008538073860108852, 0.00811617448925972, -0.0330878347158432, -0.021911336109042168, 0.017694637179374695, 0.005310713313519955, -0.006376527715474367, -0.019472885876893997, -0.00877468753606081, 0.01202069129794836, -0.01403295248746872, 0.021614620462059975, -0.02091059461236, 0.017061829566955566, -0.013548077084124088, 0.0016260959673672915, 0.008599160239100456, -0.019810857251286507, 0.021497877314686775, 0.006825529038906097, -0.01819615811109543, 0.03144189715385437, 0.05254967510700226, 0.023118823766708374, 0.002741345204412937, -0.017754320055246353, 0.02733568102121353, 0.02764187566936016, 0.016031261533498764, 0.01981690153479576, 0.017477262765169144, 0.011497032828629017, -0.018589898943901062, -0.05258387699723244, 0.016454603523015976, -0.003433940466493368, 0.004812837578356266, -0.005337205715477467, 0.016383476555347443, -0.02894391492009163, -0.018065543845295906, -0.0013413564302027225, 0.04180452227592468, 0.01658901758491993, -0.042238276451826096, -0.023074286058545113, -0.03389819338917732, 0.003391490550711751, -0.03342345356941223, -0.0018686953699216247, -0.011130106635391712, 0.010800500400364399, 0.02702236734330654, 0.038537997752428055, 0.041106563061475754, 0.005216088145971298, -0.016451222822070122, -0.028097644448280334, 7.105066953298046e-33, -0.006620633415877819, -0.013433924876153469, -0.035956814885139465, 0.006033633835613728, 0.030382191762328148, -0.01909300498664379, 0.014471824280917645, 0.03040727972984314, -0.045133285224437714, 0.02214408665895462, -0.0022410235833376646, 0.004296273924410343, -0.021113837137818336, 0.01114693470299244, 0.026662172749638557, -0.021020827814936638, -0.012273738160729408, -0.048766620457172394, 0.03386858478188515, -0.01667199842631817, -0.028413964435458183, -0.00038976335781626403, -0.027423299849033356, -0.0008512026397511363, 0.04068080708384514, 0.06000882387161255, -0.005884258542209864, 0.03659764304757118, -0.017581604421138763, 0.0032727126963436604, 0.00003428891795920208, -0.025290148332715034, 0.01824505627155304, -0.001239876844920218, -0.013212952762842178, 0.03694929927587509, -0.012189500033855438, -0.019567489624023438, 0.03771638125181198, -0.03512493893504143, 0.01914167031645775, 0.005599673837423325, 0.020251337438821793, 0.02851736545562744, 0.024048978462815285, -0.0005977325490675867, -0.00943294819444418, -0.005636472720652819, -0.010354598984122276, 0.003292189911007881, 0.006633564829826355, -0.0222157072275877, 0.02794197015464306, -0.010528108105063438, 0.009440743364393711, -0.026451826095581055, -0.008042245171964169, -0.011380496434867382, 0.0061529409140348434, 0.015869326889514923, -0.01327913161367178, -0.006020848639309406, -0.046917788684368134, 0.022248420864343643, -0.021684180945158005, -0.051686037331819534, -0.017442358657717705, 0.0019007629016414285, -0.0233796164393425, 0.004925999324768782, -0.01962456852197647, 0.03401771932840347, -0.0035908054560422897, 0.011188976466655731, 0.0118205975741148, -0.033910684287548065, -0.004462932702153921, 0.05254899337887764, -0.03792687878012657, 0.02744588814675808, -0.006744199898093939, 0.02472045086324215, 0.018695825710892677, -0.0018094293773174286, -0.012402238324284554, 0.02528606541454792, -0.0036875391378998756, 0.0311699528247118, -0.001049913582392037, -0.04092070087790489, -0.0015840284759178758, -0.03907069191336632, -0.000904809043277055, 0.0005532435607165098, -0.018482645973563194, -1.3214377148074163e-8, -0.022003738209605217, -0.006665469612926245, -0.01817096397280693, -0.010431925766170025, 0.03657492995262146, 0.021473487839102745, 0.012115903198719025, -0.021389415487647057, -0.017234336584806442, 0.016132639721035957, 0.03153788670897484, -0.009699960239231586, 0.014044594019651413, 0.002697496674954891, 0.015381364151835442, -0.036712560802698135, -0.009453167207539082, -0.019661998376250267, 0.024675283581018448, 0.009144303388893604, 0.06207137182354927, 0.017122887074947357, -0.023680541664361954, 0.009122427552938461, 0.01938018575310707, -0.013752919621765614, 0.016635216772556305, -0.07576383650302887, -0.04956416040658951, 0.011152183637022972, -0.021152211353182793, -0.037374019622802734, -0.014894507825374603, 0.030948491767048836, -0.007255785632878542, -0.015147660858929157, 0.02884044125676155, 0.0032281912863254547, -0.008791813626885414, 0.0027415351942181587, -0.025234661996364594, -0.001822295831516385, 0.0023126243613660336, -0.024231716990470886, -0.01630936563014984, -0.006298027466982603, -0.04066335782408714, -0.04187653958797455, 0.036677874624729156, -0.021416470408439636, 0.006397480610758066, 0.004719506949186325, 0.04354395717382431, 0.035116780549287796, 0.040811456739902496, 0.004739605821669102, 0.011568079702556133, -0.008877571672201157, -0.037039779126644135, 0.0020301879849284887, 0.007104559801518917, 0.03191671147942543, -0.007235042750835419, -0.024984434247016907 ]
on-the-fear-of-blogging-about-technical-topics
https://markhneedham.com/blog/2013/07/22/on-the-fear-of-blogging-about-technical-topics
false
2013-09-20 21:13:01
Clojure: Converting an array/set into a hash map
[ "clojure" ]
[ "Clojure" ]
When I was http://www.markhneedham.com/blog/2013/08/31/elo-rating-system-ranking-champions-league-teams-using-clojure/[implementing the Elo Rating algorithm] a few weeks ago one thing I needed to do was come up with a base ranking for each team. I started out with a set of teams that looked like this: [source,lisp] ---- (def teams #{ "Man Utd" "Man City" "Arsenal" "Chelsea"}) ---- and I wanted to transform that into a map from the team to their ranking e.g. [source,text] ---- Man Utd -> {:points 1200} Man City -> {:points 1200} Arsenal -> {:points 1200} Chelsea -> {:points 1200} ---- I had read the documentation of +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/array-map[array-map]+++</cite>+++, a function which can be used to transform a collection of pairs into a map, and it seemed like it might do the trick. I started out by building an array of pairs using +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/mapcat[mapcat]+++</cite>+++: [source,lisp] ---- > (mapcat (fn [x] [x {:points 1200}]) teams) ("Chelsea" {:points 1200} "Man City" {:points 1200} "Arsenal" {:points 1200} "Man Utd" {:points 1200}) ---- +++<cite>+++array-map+++</cite>+++ constructs a map from pairs of values e.g. [source,lisp] ---- > (array-map "Chelsea" {:points 1200} "Man City" {:points 1200} "Arsenal" {:points 1200} "Man Utd" {:points 1200}) ("Chelsea" {:points 1200} "Man City" {:points 1200} "Arsenal" {:points 1200} "Man Utd" {:points 1200}) ---- Since we have a collection of pairs rather than individual pairs we need to use the +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/apply[apply]+++</cite>+++ function as well: [source,lisp] ---- > (apply array-map ["Chelsea" {:points 1200} "Man City" {:points 1200} "Arsenal" {:points 1200} "Man Utd" {:points 1200}]) {"Chelsea" {:points 1200}, "Man City" {:points 1200}, "Arsenal" {:points 1200}, "Man Utd" {:points 1200}} ---- And if we put it all together we end up with the following: [source,lisp] ---- > (apply array-map (mapcat (fn [x] [x {:points 1200}]) teams)) {"Man Utd" {:points 1200}, "Man City" {:points 1200}, "Arsenal" {:points 1200}, "Chelsea" {:points 1200}} ---- It works but the function we pass to +++<cite>+++mapcat+++</cite>+++ feels a bit clunky. Since we just need to create a collection of team/ranking pairs we can use the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/vector[vector]+++</cite>+++ and +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/repeat[repeat]+++</cite>+++ functions to build that up instead: [source,lisp] ---- > (mapcat vector teams (repeat {:points 1200})) ("Chelsea" {:points 1200} "Man City" {:points 1200} "Arsenal" {:points 1200} "Man Utd" {:points 1200}) ---- And if we put the +++<cite>+++apply array-map+++</cite>+++ code back in we still get the desired result: [source,lisp] ---- > (apply array-map (mapcat vector teams (repeat {:points 1200}))) {"Chelsea" {:points 1200}, "Man City" {:points 1200}, "Arsenal" {:points 1200}, "Man Utd" {:points 1200}} ---- Alternatively we could use +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/assoc[assoc]+++</cite>+++ like this: [source,lisp] ---- > (apply assoc {} (mapcat vector teams (repeat {:points 1200}))) {"Man Utd" {:points 1200}, "Arsenal" {:points 1200}, "Man City" {:points 1200}, "Chelsea" {:points 1200}} ---- I also came across the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/into[into]+++</cite>+++ function which seemed useful but took in a collection of vectors: [source,lisp] ---- > (into {} [["Chelsea" {:points 1200}] ["Man City" {:points 1200}] ["Arsenal" {:points 1200}] ["Man Utd" {:points 1200}] ]) ---- We therefore need to change the code to use +++<cite>+++map+++</cite>+++ instead of +++<cite>+++mapcat+++</cite>+++: [source,lisp] ---- > (into {} (map vector teams (repeat {:points 1200}))) {"Chelsea" {:points 1200}, "Man City" {:points 1200}, "Arsenal" {:points 1200}, "Man Utd" {:points 1200}} ---- However, my favourite version so far uses the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/zipmap[zipmap]+++</cite>+++ function like so: [source,lisp] ---- > (zipmap teams (repeat {:points 1200})) {"Man Utd" {:points 1200}, "Arsenal" {:points 1200}, "Man City" {:points 1200}, "Chelsea" {:points 1200}} ---- I'm sure there are other ways to do this as well so if you know any let me know in the comments.
null
null
[ -0.003304565092548728, 0.0007158701191656291, -0.0099564203992486, -0.006199505180120468, 0.06866161525249481, -0.019479472190141678, 0.022273927927017212, 0.033661022782325745, 0.019210048019886017, -0.03175681084394455, 0.009379727765917778, -0.017656894400715828, -0.06200879439711571, 0.006052203010767698, 0.01568993739783764, 0.060947101563215256, 0.0515422560274601, 0.010509024374186993, 0.01069013960659504, -0.011001171544194221, 0.04653206467628479, 0.09177003055810928, -0.005189930088818073, 0.01989584229886532, 0.035843975841999054, -0.005691982805728912, 0.03318008407950401, 0.001914320164360106, -0.04548337310552597, 0.0003686721029225737, 0.02577691338956356, -0.016001613810658455, -0.006157046649605036, -0.024219270795583725, 0.02032609097659588, -0.041664183139801025, -0.004604201298207045, 0.008581903763115406, -0.014055442065000534, -0.03090701438486576, -0.06291881948709488, 0.03170749545097351, -0.019176052883267403, 0.01814316026866436, -0.03453635051846504, 0.019661465659737587, -0.06459757685661316, 0.039232611656188965, -0.015821676701307297, -0.001993495738133788, -0.061824310570955276, 0.01409197598695755, -0.0058281030505895615, -0.006860672030597925, -0.006808162201195955, 0.04034031555056572, 0.007619777694344521, -0.06399324536323547, 0.025149241089820862, -0.031533267349004745, 0.003306339727714658, 0.01288361195474863, 0.03835102915763855, 0.036148980259895325, 0.02042415738105774, -0.03476638346910477, -0.03701142221689224, 0.02337856963276863, -0.047514066100120544, -0.012524155899882317, -0.006196537520736456, -0.0027304834220558405, -0.02127591334283352, -0.026529746130108833, 0.011258603073656559, -0.07217913866043091, -0.003137497929856181, 0.0821547880768776, -0.0010446382220834494, 0.061545439064502716, -0.013367979787290096, 0.026853861287236214, 0.00837322510778904, 0.01778770238161087, -0.01960841938853264, -0.02399423159658909, -0.03663730248808861, -0.019475199282169342, -0.04530156031250954, 0.05638949200510979, 0.02125612273812294, -0.051925670355558395, 0.007847319357097149, 0.027868127450346947, 0.019012929871678352, -0.019593603909015656, 0.02875232882797718, 0.01850631833076477, -0.010060586035251617, -0.04194711893796921, 0.00007464615191565827, -0.04413961246609688, 0.0068841977044939995, -0.0005850974121131003, -0.1007511168718338, -0.017812853679060936, -0.008164742030203342, 0.004056411795318127, 0.019233763217926025, -0.013862998224794865, -0.026673054322600365, 0.008936361409723759, -0.0141238272190094, -0.006861603818833828, -0.06390414386987686, 0.0463605634868145, 0.023540113121271133, -0.008861006237566471, -0.02365417405962944, 0.04628967121243477, 0.02433612570166588, 0.017299465835094452, 0.005645345896482468, 0.08037052303552628, -0.013182403519749641, 0.020453408360481262, 0.006520009599626064, 0.05807154253125191, -0.012090924195945263, -0.05241195857524872, -0.030794695019721985, 0.0748501792550087, -0.051940176635980606, 0.019095489755272865, -0.006688387598842382, -0.07815201580524445, -0.03142671659588814, 0.009136495180428028, 0.06124063581228256, 0.03658260405063629, 0.0020017619244754314, -0.008468346670269966, -0.0007610484608449042, 0.009008410386741161, 0.0313914529979229, -0.003923790063709021, 0.00035229205968789756, -0.006877026986330748, -0.006144492421299219, 0.017096905037760735, 0.03996634483337402, 0.0115700988098979, 0.03958261013031006, -0.023258211091160774, 0.021976206451654434, 0.09225296974182129, 0.038986686617136, 0.010305964387953281, -0.018438013270497322, 0.02006872557103634, 0.032968658953905106, 0.021246042102575302, 0.0028202233370393515, 0.03307004272937775, -0.004753930494189262, -0.03404464200139046, -0.001084109302610159, 0.0552203394472599, 0.005665831733494997, -0.008317293599247932, -0.023388497531414032, -0.05951230973005295, 0.06131903827190399, 0.0011565275490283966, -0.006391980219632387, 0.05174556002020836, 0.0820857584476471, 0.03869755566120148, 0.07354242354631424, 0.002505016280338168, -0.08187500387430191, 0.03850962594151497, 0.02601073682308197, 0.025731118395924568, 0.029710905626416206, -0.006224596872925758, 0.09126140177249908, 0.02212855964899063, 0.014093814417719841, 0.043180085718631744, -0.06822938472032547, -0.08157742768526077, -0.024219708517193794, -0.025677913799881935, 0.0718352422118187, -0.03831666707992554, 0.013525511138141155, 0.058686599135398865, 0.012472676113247871, 0.053520139306783676, 0.04153882712125778, 0.01210301648825407, 0.04828067868947983, -0.04172789305448532, -0.03771219402551651, 0.028859656304121017, 0.02231549099087715, -0.016865594312548637, -0.05136118456721306, 0.044985171407461166, -0.03043210692703724, -0.004820429254323244, 0.01421307772397995, -0.021695556119084358, 0.017435528337955475, 0.0044349124655127525, 0.04576394706964493, -0.022040661424398422, 0.042297400534152985, -0.049797844141721725, 0.031173836439847946, 0.02314089611172676, -0.0013422892661765218, 0.0215208288282156, 0.0004032843862660229, 0.11298628896474838, 0.04135601595044136, -0.019996685907244682, -0.039651207625865936, -0.005952887702733278, 0.016295505687594414, -0.0031901495531201363, -0.0058030905202031136, -0.025617051869630814, 0.008408472873270512, -0.020116522908210754, -0.04286005347967148, -0.030525652691721916, 0.005966507364064455, -0.038446828722953796, -0.008945303037762642, 0.07077634334564209, 0.00017168771591968834, 0.05595509335398674, 0.024951549246907234, -0.031085992231965065, -0.011088886298239231, -0.03130048140883446, -0.05238093435764313, -0.00043972962885163724, 0.0005234944983385503, -0.022892067208886147, 0.02954581007361412, -0.02403494529426098, -0.03443822264671326, -0.024417884647846222, -0.025655493140220642, 0.019713493064045906, 0.03850523382425308, 0.0807054415345192, -0.0007665122975595295, 0.04565999656915665, -0.034200187772512436, 0.008023112080991268, -0.013513759709894657, -0.060205306857824326, -0.05029581859707832, -0.05169704183936119, -0.0019893506541848183, 0.015597706660628319, 0.008275146596133709, 0.01555765513330698, 0.038024600595235825, 0.019007418304681778, -0.011453413404524326, 0.015020346269011497, 0.0008645238704048097, 0.0077121141366660595, -0.018596887588500977, -0.032661132514476776, -0.025185467675328255, 0.04211181774735451, -0.01175234280526638, -0.030648820102214813, 0.009383710101246834, -0.061971936374902725, 0.036475442349910736, -0.06689269095659256, 0.006254236679524183, -0.0030245447997003794, 0.007975321263074875, 0.022241130471229553, -0.01095668040215969, 0.021197756752371788, 0.035718780010938644, -0.00935837347060442, 0.0088344169780612, 0.013970433734357357, -0.0011159757850691676, 0.037055689841508865, -0.01769997924566269, 0.018512703478336334, 0.03719926252961159, -0.016574474051594734, 0.02331678569316864, -0.049286045134067535, 0.008242491632699966, -0.022061677649617195, -0.2874920964241028, 0.03363710641860962, -0.017315926030278206, -0.01857738196849823, 0.02020503208041191, -0.01666819304227829, -0.024890899658203125, -0.04858804866671562, -0.02567172795534134, 0.019766053184866905, -0.03451787680387497, -0.007341587450355291, -0.0437311977148056, 0.04236391559243202, 0.03333491459488869, 0.012207701802253723, 0.013429006561636925, -0.040793728083372116, -0.02376580610871315, 0.06701674312353134, -0.002070097252726555, -0.07352226227521896, -0.014123969711363316, 0.04979706555604935, 0.026631366461515427, 0.06750140339136124, -0.06616255640983582, 0.017557434737682343, -0.055061209946870804, -0.02280101180076599, 0.017333533614873886, -0.007023341953754425, 0.0066597964614629745, -0.02013925462961197, -0.04087291285395622, -0.032509949058294296, 0.046376392245292664, 0.004825102165341377, -0.007956146262586117, -0.009492544457316399, -0.021414674818515778, -0.02383848838508129, -0.013880901969969273, -0.02690388821065426, 0.08023717254400253, 0.00405360572040081, -0.08402800559997559, 0.0007523150998167694, -0.03833899274468422, 0.0771823301911354, -0.013845767825841904, -0.04370136931538582, 0.001667980570346117, 0.05986340343952179, -0.011632805690169334, -0.037759702652692795, 0.012539904564619064, -0.027767239138484, -0.036129385232925415, -0.005847174674272537, -0.023014988750219345, -0.05094550922513008, -0.00046401028521358967, -0.03404180705547333, -0.013281367719173431, -0.06051219627261162, -0.048956725746393204, -0.001639260328374803, 0.03266439214348793, 0.012886781245470047, -0.04578839987516403, -0.010065929964184761, -0.017796626314520836, -0.0930086076259613, -0.02390751987695694, -0.012528568506240845, -0.0053184921853244305, 0.007663630414754152, -0.00887198094278574, 0.04652521386742592, -0.05511188879609108, -0.05270574614405632, 0.005910217296332121, 0.030259057879447937, 0.017520921304821968, -0.014055219478905201, 0.00829948578029871, 0.03798947483301163, -0.01271668542176485, -0.031240180134773254, 0.06824976950883865, -0.017794525250792503, -0.0016464822692796588, 0.012635517865419388, 0.007673710118979216, 0.028609326109290123, 0.013751503080129623, -0.011966392397880554, 0.01749260537326336, 0.05276414752006531, 0.009420179761946201, -0.03946834057569504, 0.019355610013008118, 0.010653761215507984, -0.033966198563575745, 0.022916562855243683, -0.06469668447971344, 0.0015421344432979822, 0.03704211860895157, 0.010138225741684437, -0.017944537103176117, -0.03286658227443695, 0.01506834477186203, -0.045816533267498016, -0.0443456768989563, -0.009308518841862679, 0.03861488029360771, 0.029191767796874046, 0.014806563965976238, -0.003966810647398233, -0.08629615604877472, 0.028140364214777946, -0.020440656691789627, -0.042683348059654236, -0.08301384001970291, -0.005617435555905104, -0.007378553971648216, -0.03014555014669895, 0.016709696501493454, 0.00556199299171567, -0.0211070254445076, 0.018141567707061768, 0.02751775272190571, -0.03275381401181221, 0.016316501423716545, -0.0374261848628521, -0.047187432646751404, -0.03185476362705231, 0.009836946614086628, 0.0007573345210403204, 0.0019732429645955563, 0.003534444374963641, 0.028259146958589554, 0.022456375882029533, 0.021932708099484444, -0.01143407542258501, 0.006102865096181631, -0.025249086320400238, 0.009557112120091915, 0.04749557003378868, -0.005458437837660313, -0.030611444264650345, 0.03858986869454384, -0.04950917884707451, -0.0067945984192192554, 0.015446866862475872, 0.03481343761086464, -0.01909087412059307, -0.035881444811820984, -0.04535563662648201, 0.018046757206320763, -0.031581610441207886, -0.02369396947324276, -0.01985054649412632, 0.03377377986907959, 0.06962952762842178, -0.00031997592304833233, 0.03208962827920914, -0.01067926175892353, -0.0017821595538407564, 0.010505001060664654, -0.03391432389616966, -0.0555901862680912, -0.011623784899711609, -0.020385727286338806, -0.012673771008849144, 0.004104783292859793, 0.04330091550946236, 0.007524444255977869, -0.0013963000383228064, -0.012233635410666466, -0.022833779454231262, 0.03673407807946205, 0.031139302998781204, 0.05330772325396538, 0.021160779520869255, 0.004853405524045229, -0.006280889734625816, 0.009759573265910149, -0.043010544031858444, -0.004938917700201273, 0.013791048899292946, -0.017501946538686752, -0.017316332086920738, -0.03471759334206581, -0.0679234117269516, 0.025519687682390213, 0.02362503856420517, -0.008793378248810768, -0.016597989946603775, -0.015448440797626972, -0.03138433024287224, -0.029137562960386276, 0.012414203025400639, 0.07150757312774658, -0.05978381633758545, -0.010133713483810425, -0.009418572299182415, -0.0029875270556658506, 0.0019255109364166856, 0.013743313029408455, -0.05815184861421585, -0.03708270192146301, -0.008179902099072933, 0.02513965219259262, -0.040471624583005905, 0.0026179784908890724, -0.007819262333214283, -0.02263186126947403, -0.004112889524549246, -0.0007203310960903764, -0.014186272397637367, -0.0026490625459700823, -0.02136307954788208, -0.023196790367364883, 0.008554748259484768, -0.006024191156029701, 0.015791060402989388, 0.0025020893663167953, -0.019499078392982483, 0.03730234131217003, -0.027375156059861183, 0.03776300325989723, 0.030554519966244698, 0.00898481160402298, 0.015471434220671654, -0.043100059032440186, 0.011746346950531006, 0.015229449607431889, 0.0701017677783966, -0.02095237746834755, -0.04806283861398697, -0.03748517856001854, -0.010019403882324696, -0.0194416306912899, -0.021690530702471733, -0.007473054341971874, -0.0016850566025823355, 0.011286409571766853, 0.041805218905210495, 0.011335315182805061, 0.03502840921282768, -0.017498116940259933, -0.023441419005393982, 0.06167428195476532, -0.05465290695428848, -0.03536532446742058, -0.0163975078612566, -0.0335361547768116, 0.012828170321881771, -0.0018439226550981402, 0.008407119661569595, -0.05140950158238411, 0.051424019038677216, 0.040485456585884094, 0.010884774848818779, 0.03662459924817085, 0.00031775995739735663, 0.022676914930343628, -0.053336821496486664, -0.0028919177129864693, -0.10011765360832214, 0.013785147108137608, 0.06470750272274017, 0.014039896428585052, -0.025430602952837944, 0.014761584810912609, -0.029571115970611572, 0.031926918774843216, -0.04334869608283043, -0.030248010531067848, 0.03901512175798416, -0.019484294578433037, -0.004192461725324392, 0.02866857871413231, -0.0511564239859581, 0.00531812384724617, 0.06104598939418793, -0.0350893996655941, -0.0057891299948096275, -0.023317236453294754, 0.03997674584388733, -0.03597215563058853, 0.05299903824925423, -0.01016479916870594, 0.0007863756618462503, 0.05914034694433212, 0.030827060341835022, -0.00773274339735508, 0.05092740058898926, -0.004330751486122608, 0.031172167509794235, 0.03408415615558624, 0.01842590607702732, 0.010375977493822575, 0.04928925633430481, -0.031111523509025574, -0.05457691848278046, 0.03005930408835411, 0.009141146205365658, -0.024772848933935165, -0.06140049546957016, 0.08795392513275146, 0.017157381400465965, -0.04970085620880127, -0.03275739401578903, 0.013535522855818272, -0.06463737040758133, -0.0036369862500578165, -0.01153920404613018, 0.003962389193475246, -0.03591908514499664, 0.0541454516351223, 0.006462204735726118, 0.01697765663266182, 0.07277729362249374, 0.018824703991413116, -0.04390688240528107, 0.005429002456367016, 0.095687635242939, 0.09261932969093323, 0.055042166262865067, -0.013391212560236454, 0.06222671642899513, -0.012403754517436028, -0.05222893878817558, -0.0009105306235142052, 0.015317719429731369, 0.02223106659948826, 0.010295265354216099, -0.002339489758014679, 0.07113064080476761, -0.024048952385783195, 0.0690278485417366, -0.006788057275116444, -0.03403463214635849, 0.015458879061043262, 0.005991597194224596, 0.026834653690457344, 0.07311637699604034, -0.009704194031655788, 0.050636716187000275, -0.013227269984781742, -0.028741251677274704, 0.022698506712913513, -0.020709678530693054, -0.005260605830699205, 0.0023560633417218924, -0.029683098196983337, 0.03831992670893669, -0.00040204296237789094, 0.04531857371330261, 0.07413394004106522, -0.053429216146469116, -0.003560564247891307, 0.0007857587188482285, 0.013597143813967705, -0.009552055969834328, 0.021950602531433105, 0.000002724969135670108, -0.006303214468061924, -0.016041094437241554, -0.025336649268865585, -0.016304928809404373, -0.031396519392728806, -0.03130830079317093, 0.02782602421939373, 0.000026175061066169292, -0.0012215024325996637, 0.02133261226117611, 0.01416950486600399, -0.05118405818939209, -0.05361326038837433, -0.04619213193655014, -0.06685185432434082, -0.06004182621836662, -0.013109974563121796, 0.0327535942196846, 0.0012019842397421598, -0.04070498049259186, -0.00318402168340981, -0.004854712635278702, -0.01249560434371233, 0.01762414164841175, -0.03488171100616455, 0.0070203207433223724, 0.011360769160091877, 0.04637078568339348, 0.03301117569208145, 0.006939033046364784, 0.04846763610839844, -0.025533396750688553, 0.0016517738113179803, 0.013387775048613548, 0.008270236663520336, 0.04404783993959427, 0.011071215383708477, -0.01007822249084711, -0.09967967122793198, 0.002187753561884165, 0.03988563269376755, -0.010109351947903633, -0.08464430272579193, 0.02411223202943802, 0.017882104963064194, -0.006394783966243267, 0.03648493066430092, -0.023708363994956017, 0.006147323176264763, -0.05138148367404938, 0.019866378977894783, -0.0014336078893393278, 0.011061270721256733, 0.05292729660868645, -0.017882082611322403, 0.09368681162595749, 0.02117718569934368, -0.028526348993182182, -0.05243667587637901, -0.032773345708847046, -0.016391102224588394, 0.0038293548859655857, -0.05662177503108978, -0.020170077681541443, -0.04949153959751129, -0.07290618866682053, -0.011393079534173012, 0.02279551699757576, -0.05544496700167656, -0.036790795624256134, -0.012191970832645893, 0.02979454956948757, -0.010491861030459404, 0.04261834919452667, -0.050502173602581024, 0.047522325068712234, -0.008443223312497139, 0.00802173838019371, -0.027330106124281883, 0.01509243156760931, 0.034687262028455734, 0.03543988987803459, 0.010115701705217361, -0.05300171300768852, 0.044263213872909546, 0.006186480633914471, -0.02096714824438095, 0.005456123035401106, -0.0031408893410116434, 0.03215114772319794 ]
[ -0.08437424153089523, -0.02117433212697506, -0.017983149737119675, -0.040054306387901306, 0.04621431604027748, -0.03395696356892586, 0.002532324753701687, 0.016782516613602638, 0.034055303782224655, -0.0006497697904706001, 0.010016224347054958, -0.0843534916639328, 0.005406692158430815, -0.008805789984762669, 0.09685245156288147, -0.025213658809661865, -0.06493211537599564, -0.035696715116500854, -0.05689460411667824, 0.010514648631215096, 0.0055530318059027195, -0.022713156417012215, -0.043144263327121735, -0.044878121465444565, 0.03316052258014679, 0.03056691586971283, 0.04971802607178688, -0.0305822491645813, -0.02552133984863758, -0.22543326020240784, -0.00344508932903409, 0.004255573730915785, 0.06796923279762268, -0.013733994215726852, -0.012345858849585056, 0.04941628500819206, -0.0063500236719846725, 0.021625610068440437, -0.003730114083737135, 0.02913752570748329, 0.04727780818939209, 0.0018824557773768902, -0.04776819795370102, -0.0567576102912426, 0.04559459909796715, -0.0004225975717417896, 0.0050629121251404285, 0.002263526199385524, -0.023169707506895065, 0.04963245987892151, -0.0288416538387537, -0.005715691484510899, 0.006613337900489569, 0.007016546092927456, 0.023134788498282433, 0.06844974309206009, 0.020616643130779266, 0.07822956889867783, 0.018510617315769196, 0.048378270119428635, 0.01075185276567936, 0.006697910837829113, -0.14275239408016205, 0.059933945536613464, 0.0027722860686481, 0.026523767039179802, -0.03001972660422325, 0.009287985041737556, -0.03369713947176933, 0.0868300274014473, 0.016842888668179512, -0.029714088886976242, 0.008756381459534168, 0.04237468168139458, 0.041410353034734726, 0.0017358619952574372, -0.03866337984800339, -0.00892490055412054, 0.030314328148961067, -0.018622374162077904, -0.048354458063840866, -0.014089563861489296, -0.027802761644124985, -0.014734318479895592, -0.0037095427978783846, 0.01724984310567379, -0.033191096037626266, 0.060681309551000595, 0.02064533345401287, 0.01614532247185707, 0.04432050883769989, 0.020019667223095894, 0.038663025945425034, 0.03182292729616165, -0.08850046992301941, -0.016230499371886253, -0.008265495300292969, 0.007160446140915155, -0.03439362347126007, 0.4043712913990021, -0.02045416086912155, -0.01609746925532818, 0.054153282195329666, 0.04304274544119835, 0.010734940879046917, -0.020711220800876617, 0.006815889850258827, -0.0402279868721962, 0.010648345574736595, -0.00808138120919466, -0.029941005632281303, -0.008627461269497871, 0.04430228844285011, -0.03754941746592522, -0.005487535148859024, 0.023327279835939407, 0.036915868520736694, 0.03901372104883194, -0.02168065309524536, 0.018432866781949997, 0.013105814345180988, 0.01745661348104477, -0.003564612241461873, 0.01134160254150629, 0.009250740520656109, 0.048205580562353134, 0.0017662873724475503, 0.04068945720791817, 0.055700041353702545, 0.02283906377851963, 0.027666786685585976, -0.011921611614525318, -0.10003656148910522, 0.003907894715666771, -0.01509648747742176, -0.005783298052847385, 0.007410429418087006, -0.0631636306643486, 0.0009318704251199961, 0.04870244488120079, -0.010330862365663052, -0.03310834616422653, 0.06363221257925034, -0.02296990528702736, -0.031188655644655228, 0.10960538685321808, -0.006852372083812952, -0.04683658853173256, -0.0003649553400464356, -0.03278492018580437, -0.02071318030357361, 0.0013118770439177752, 0.001281886943615973, -0.053994160145521164, -0.019898932427167892, 0.020893080160021782, 0.08292967081069946, -0.05219103768467903, -0.07146745920181274, -0.004404199775308371, -0.05183396860957146, -0.024707840755581856, -0.03956190124154091, 0.0745709091424942, 0.033810339868068695, -0.0830782949924469, -0.028470002114772797, 0.0016132951714098454, -0.00836601760238409, -0.0612768717110157, -0.012594140134751797, 0.01260126382112503, -0.001291276072151959, 0.052015192806720734, 0.05238952115178108, -0.016866130754351616, -0.04335547238588333, -0.046647023409605026, 0.07044509053230286, -0.00006615624442929402, 0.013873176649212837, 0.00637114467099309, -0.04046766087412834, 0.011832330375909805, -0.02907249890267849, -0.043053995817899704, -0.0678965151309967, -0.031080059707164764, -0.022200539708137512, -0.015006834641098976, -0.05124109983444214, 0.010865172371268272, -0.051891472190618515, 0.055367182940244675, -0.031718187034130096, 0.006449500098824501, 0.0235919076949358, -0.022858791053295135, 0.0011842278763651848, -0.020905563607811928, -0.03564080223441124, 0.03541577234864235, -0.0031090741977095604, 0.0016981945373117924, -0.06413426995277405, 0.015682067722082138, 0.042061202228069305, -0.04935280978679657, 0.07364974915981293, 0.026377921923995018, -0.026076797395944595, -0.033593837171792984, -0.010519353672862053, 0.01654227077960968, 0.004544565454125404, 0.01593039743602276, -0.014446916989982128, -0.024565620347857475, 0.019876332953572273, 0.019768616184592247, -0.045298632234334946, -0.002019137842580676, -0.05093905329704285, -0.34638381004333496, -0.028316065669059753, -0.0221183430403471, -0.000938103417865932, -0.011996335349977016, -0.0565204881131649, 0.007065990939736366, -0.030779648572206497, -0.004284857772290707, 0.021187348291277885, 0.12991495430469513, -0.022331181913614273, -0.03381740301847458, -0.055641673505306244, -0.02121318131685257, 0.0257028229534626, -0.0433688759803772, -0.01275377906858921, -0.023006699979305267, 0.03034391812980175, 0.057542551308870316, -0.019520197063684464, -0.021355213597416878, -0.04484555125236511, -0.0021951033268123865, -0.048569366335868835, 0.10998805612325668, 0.02465549111366272, 0.05981501191854477, -0.043654702603816986, 0.050693612545728683, -0.004023284185677767, -0.00294668972492218, -0.06100400537252426, 0.022108133882284164, -0.029870709404349327, 0.02170751802623272, -0.044871922582387924, 0.024266762658953667, -0.031709104776382446, -0.05168578028678894, 0.010979538783431053, -0.07448634505271912, -0.05224373936653137, -0.04834265261888504, 0.027011975646018982, -0.01140622142702341, -0.015500551089644432, -0.003044301876798272, 0.07624790072441101, 0.010014666244387627, 0.005953983403742313, 0.05977676808834076, -0.02445593662559986, 0.01986423134803772, -0.014753703959286213, -0.08879745751619339, -0.008573813363909721, 0.0046938080340623856, -0.016976142302155495, 0.032316118478775024, 0.025586871430277824, 0.045707233250141144, -0.06265396624803543, 0.02691803127527237, -0.014188464730978012, 0.01601521484553814, 0.0031346087343990803, 0.02912040799856186, -0.028287623077630997, -0.031893350183963776, 0.04731130972504616, 0.04265744611620903, 0.02565920725464821, 0.07532565295696259, 0.05087047442793846, -0.016652433201670647, 0.020356250926852226, 0.031050946563482285, 0.032152965664863586, 0.02201174944639206, -0.01704513281583786, 0.048822272568941116, -0.031089887022972107, 0.00043178480700589716, 0.03989331051707268, 0.009959028102457523, -0.0005862517864443362, 0.02935248799622059, 0.056216780096292496, -0.010188134387135506, 0.011851479299366474, -0.008728157728910446, -0.015388892963528633, 0.06642574071884155, -0.027324313297867775, -0.27147480845451355, 0.04315871372818947, 0.0753927156329155, 0.0493183396756649, 0.0206978190690279, 0.0012658010236918926, 0.04366572946310043, -0.053565774112939835, -0.03493841364979744, 0.026023676618933678, 0.03328901529312134, 0.027484778314828873, 0.011702882125973701, -0.031684499233961105, 0.024880941957235336, -0.03320418670773506, 0.04498804733157158, -0.02696095034480095, 0.05761102959513664, 0.0037436692509800196, 0.028553087264299393, -0.016934383660554886, 0.20096680521965027, -0.007226204499602318, 0.03638317435979843, 0.0686672031879425, -0.02023553103208542, -0.024869674816727638, 0.03091486357152462, 0.018725352361798286, -0.0046356008388102055, 0.036410536617040634, 0.056850992143154144, 0.060242608189582825, 0.005950137972831726, -0.004723555874079466, -0.016788149252533913, 0.03758281096816063, -0.0020659936126321554, -0.03913182392716408, -0.0015461172442883253, 0.04112738370895386, -0.048063669353723526, 0.03135250508785248, 0.07171687483787537, 0.01433965377509594, 0.015560679137706757, -0.032691605389118195, -0.048728760331869125, -0.009426888078451157, -0.045313816517591476, -0.0410638190805912, 0.0031917323358356953, -0.015962084755301476, -0.0024678297340869904, 0.05092427507042885, 0.008159290067851543, -0.042770031839609146, 0.007165994495153427, -0.0027356576174497604, 0.00541323609650135, -0.030750080943107605, 0.08746549487113953, -0.032324615865945816, -0.0011743023060262203 ]
[ 0.026659836992621422, 0.037840358912944794, -0.0015078871510922909, -0.025715617462992668, 0.005543542560189962, 0.032027170062065125, -0.007434480357915163, -0.00888476986438036, -0.018307607620954514, -0.024890458211302757, -0.016730885952711105, -0.000664925726596266, 0.0539584681391716, -0.02707722969353199, 0.016456561163067818, -0.011886666528880596, -0.038683246821165085, 0.020948924124240875, 0.022490333765745163, 0.0015517477877438068, 0.01336352713406086, -0.025263795629143715, -0.021617703139781952, -0.0034304861910641193, 0.0052790469489991665, 0.021490046754479408, -0.001931933918967843, 0.02458884008228779, 0.000050235397793585435, -0.12976624071598053, -0.04471344128251076, -0.028071971610188484, 0.05335429683327675, 0.010801967233419418, -0.03111414425075054, -0.002527561504393816, 0.003272322239354253, 0.006833886262029409, 0.023932991549372673, 0.011685693636536598, -0.004514030180871487, -0.00636720797047019, -0.01472577452659607, 0.01906868815422058, 0.036473535001277924, 0.04722561314702034, 0.0033562800381332636, -0.04465266689658165, 0.004470705054700375, 0.052016731351614, -0.0424903929233551, -0.00013188306184019893, 0.04855372756719589, 0.031882479786872864, 0.03574976697564125, -0.009448536671698093, -0.08594290912151337, -0.011428694240748882, 0.01978151872754097, -0.04971563071012497, 0.0012653659796342254, 0.0256548672914505, -0.017478564754128456, -0.02042471431195736, -0.02254713699221611, -0.04324660822749138, -0.01049190666526556, 0.04002775251865387, -0.006303478963673115, 0.015672260895371437, 0.04973788559436798, 0.005542459897696972, -0.010166209191083908, -0.04713953286409378, -0.01592046581208706, 0.045639555901288986, -0.021138522773981094, -0.06150735169649124, 0.004197475500404835, -0.016145704314112663, -0.012600371614098549, -0.017658067867159843, 0.013671892695128918, -0.0003814570081885904, 0.002365361899137497, -0.049455150961875916, 0.028872430324554443, -0.04245385155081749, 0.020925529301166534, 0.022728750482201576, -0.010768991895020008, 0.017149334773421288, 0.01511305570602417, 0.02269008755683899, -0.06547549366950989, 0.039061009883880615, -0.04659152403473854, -0.013445848599076271, -0.014062270522117615, 0.8346872329711914, -0.006325529422610998, 0.030103277415037155, -0.014109100215137005, -0.01968824677169323, -0.010353353805840015, -0.008312685415148735, 0.001800887635909021, 0.0053236223757267, -0.04462820664048195, 0.009812543168663979, 0.03187943994998932, 0.016641924157738686, 0.03060600347816944, 0.013590355403721333, 0.01874706707894802, 0.014807527884840965, 0.012642040848731995, 0.0182783380150795, 0.018114997074007988, 0.00940115749835968, 0.039566051214933395, 0.012258989736437798, -0.012782342731952667, 0.00977177545428276, 0.010945538058876991, -0.1281752735376358, -0.011683249846100807, -6.93504345039511e-33, 0.04896330460906029, 0.0028350811917334795, 0.01133358757942915, -0.009276842698454857, -0.047921083867549896, -0.006095120217651129, 0.01820133812725544, -0.01585594192147255, -0.06482365727424622, -0.047376006841659546, 0.004734942689538002, 0.026685452088713646, 0.018233109265565872, -0.005168220493942499, 0.02330751344561577, -0.024190440773963928, 0.02575417421758175, 0.010083602741360664, -0.009769913740456104, -0.02107750065624714, 0.01123635284602642, 0.037305284291505814, -0.00023848464479669929, -0.022813009098172188, 0.0025923466309905052, 0.035402629524469376, -0.0150184640660882, -0.04419432207942009, -0.006746538914740086, -0.034376174211502075, -0.01105740386992693, 0.03477174788713455, -0.010399587452411652, -0.00010422040213597938, 0.012979957275092602, -0.032763559371232986, 0.0006721948739141226, 0.01193457841873169, -0.04481491819024086, -0.057474084198474884, -0.03372251242399216, -0.03176875039935112, -0.03577490150928497, -0.04142026603221893, -0.007889916189014912, -0.033905088901519775, -0.008381117135286331, 0.017335284501314163, -0.0061545781791210175, 0.017271578311920166, 0.006423358805477619, -0.0048569487407803535, -0.009103404358029366, 0.003533284179866314, 0.0069726756773889065, -0.002743237419053912, -0.03563554957509041, 0.0005137096159160137, -0.029908396303653717, 0.015439932234585285, 0.017787063494324684, 0.0138473529368639, 0.0018840119009837508, 0.026719873771071434, -0.013652804307639599, -0.0016970306169241667, -0.0050638155080378056, -0.018759287893772125, 0.022356677800416946, -0.006785228848457336, -0.02776210941374302, 0.026206985116004944, 0.016348881646990776, 0.003849363187327981, 0.010834279470145702, -0.01547311246395111, -0.006627948023378849, -0.009514648467302322, -0.017861876636743546, 0.03684692829847336, 0.006925871130079031, -0.033341970294713974, 0.009887552820146084, -0.02689562737941742, -0.002988294931128621, 0.011345730163156986, 0.02542456053197384, 0.02124277502298355, 0.0028403443284332752, 0.02083251252770424, 0.045350100845098495, 0.0329434797167778, -0.019961917772889137, 0.015376565977931023, -0.02886985056102276, 7.236211715231504e-33, -0.014003625139594078, -0.03943778574466705, 0.02664964273571968, -0.015104764141142368, 0.024357423186302185, -0.0435800775885582, 0.06853226572275162, -0.029160410165786743, -0.04159936681389809, 0.06240689381957054, -0.043777626007795334, -0.05244928225874901, -0.0035591889172792435, -0.005808290094137192, 0.06582865864038467, -0.036817990243434906, 0.02423247881233692, -0.021408531814813614, 0.0049417633563280106, 0.01030294131487608, 0.03779982402920723, 0.011881240643560886, 0.03019225224852562, 0.05422692000865936, 0.0024336688220500946, 0.01786726713180542, -0.008817956782877445, -0.009442809037864208, -0.019726190716028214, -0.013563220389187336, 0.006575367413461208, -0.057642385363578796, 0.0017851849552243948, 0.0012613557046279311, -0.001717453240416944, 0.02491445653140545, -0.03466550260782242, -0.014614374376833439, 0.011673174798488617, 0.02581973560154438, -0.012575127184391022, -0.020702870562672615, -0.012618955224752426, 0.0036730982828885317, 0.022315362468361855, -0.01453002355992794, 0.01118131261318922, -0.031207796186208725, 0.023503350093960762, -0.013224080204963684, 0.029237885028123856, 0.022978242486715317, -0.039003729820251465, -0.006508016958832741, 0.0179275032132864, -0.03743724152445793, -0.03171810135245323, 0.010284227319061756, -0.0352959930896759, 0.010664028115570545, -0.001262874691747129, -0.01719912700355053, -0.008263888768851757, 0.04132004454731941, -0.013927401974797249, 0.013148038648068905, -0.02947849966585636, -0.029506389051675797, -0.013598774559795856, 0.025110574439167976, -0.01987721212208271, -0.023565610870718956, 0.01927935518324375, 0.04441118612885475, -0.018083352595567703, -0.011657651513814926, -0.02961801178753376, 0.03229743242263794, 0.02889001928269863, 0.018811682239174843, 0.019639724865555763, -0.009686427190899849, 0.020675387233495712, 0.05264991521835327, 0.022303937003016472, 0.020623406395316124, 0.023475445806980133, 0.012385494075715542, 0.006522500887513161, -0.018879180774092674, 0.05567098781466484, -0.05470702052116394, 0.002310642274096608, 0.018818270415067673, -0.0011781345820054412, -1.2740104970987431e-8, -0.046273406594991684, -0.005488093942403793, -0.03094325214624405, 0.05550173670053482, 0.01159355603158474, 0.00008278168388642371, 0.007766904775053263, -0.013660880737006664, 0.00773287657648325, -0.0017062396509572864, 0.016602711752057076, -0.0011420126538723707, 0.0019083888037130237, 0.021547123789787292, 0.044308073818683624, -0.027379145845770836, 0.0186347346752882, 0.00665171816945076, 0.03088625706732273, -0.003104556119069457, -0.026014849543571472, 0.055034980177879333, -0.050485845655202866, 0.014656074345111847, -0.0045860991813242435, 0.006304572336375713, -0.009112008847296238, -0.08143021911382675, 0.012139665894210339, -0.006306102499365807, 0.06829345226287842, -0.036131590604782104, -0.023905260488390923, -0.005471106618642807, 0.00501076178625226, -0.00709141930565238, 0.012612155638635159, -0.005158755462616682, 0.004188118036836386, 0.011239223182201385, -0.0015444634482264519, 0.043543651700019836, -0.02050136588513851, -0.0409243181347847, 0.021360518410801888, 0.009817047044634819, -0.02407263033092022, -0.016963578760623932, -0.0005052629276178777, -0.04879889637231827, 0.037383146584033966, -0.006120727397501469, 0.04838575795292854, 0.022012952715158463, 0.029150381684303284, 0.010049107484519482, 0.018987728282809258, -0.04509485885500908, -0.004371240269392729, 0.0035073074977844954, 0.02969147451221943, 0.0043281917460262775, -0.031879447400569916, -0.009657138958573341 ]
clojure-converting-an-arrayset-into-a-hash-map
https://markhneedham.com/blog/2013/09/20/clojure-converting-an-arrayset-into-a-hash-map
false
2013-09-20 07:00:01
Clojure: Converting a string to a date
[ "clojure" ]
[ "Clojure" ]
I wanted to do some date manipulation in Clojure recently and figured that since https://github.com/seancorfield/clj-time[clj-time] is a wrapper around http://www.joda.org/joda-time/[Joda Time] it'd probably do the trick. The first thing we need to do is add the dependency to our project file and then run +++<cite>+++lein reps+++</cite>+++ to pull down the appropriate JARs. The project file should look something like this: _project.clj_ [source,lisp] ---- (defproject ranking-algorithms "0.1.0-SNAPSHOT" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.4.0"] [clj-time "0.6.0"]]) ---- Now let's load the clj-time.format namespace into the REPL since we know we'll be parsing dates: [source,lisp] ---- > (require '(clj-time [format :as f])) ---- The string that I want to convert into a date looks like this: [source,lisp] ---- (def string-date "18 September 2012") ---- The first thing we should do is check whether there is an existing formatter that we can use by evaluating the following function: [source,lisp] ---- > (f/show-formatters) ... :hour-minute 06:45 :hour-minute-second 06:45:22 :hour-minute-second-fraction 06:45:22.473 :hour-minute-second-ms 06:45:22.473 :mysql 2013-09-20 06:45:22 :ordinal-date 2013-263 :ordinal-date-time 2013-263T06:45:22.473Z :ordinal-date-time-no-ms 2013-263T06:45:22Z :rfc822 Fri, 20 Sep 2013 06:45:22 +0000 ... ---- There are a lot of different built in formatters but unfortunately I couldn't find one that exactly matched our date format so we'll have to write our own one. For that we'll need to refresh our knowledge of http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html[Java date formatting]: image::{{<siteurl>}}/uploads/2013/09/2013-09-20_07-48-52.png[2013 09 20 07 48 52,600] We end up with the following formatter: [source,lisp] ---- > (f/parse (f/formatter "dd MMM YYYY") string-date) #<DateTime 2012-09-18T00:00:00.000Z> ---- It took me much longer than it should have to remember that 'MMM' is the pattern to match a short form of a month but it's just the same as what we'd have to do in Java but with some neat wrapper functions.
null
null
[ 0.009728987701237202, 0.003974282648414373, -0.04068998992443085, -0.0043915510177612305, 0.07373783737421036, -0.011480126529932022, 0.042850859463214874, 0.024403758347034454, 0.020326096564531326, -0.017305968329310417, -0.002583662513643503, 0.0029014330357313156, -0.059356868267059326, 0.02773665264248848, -0.022906435653567314, 0.046875208616256714, 0.07044311612844467, -0.0492941290140152, 0.022114267572760582, 0.01637175679206848, 0.030476707965135574, 0.05488601699471474, -0.0217678714543581, -0.006066028494387865, 0.007391673978418112, -0.00005001693352824077, -0.002590710995718837, 0.016443967819213867, -0.07531271129846573, -0.019596178084611893, 0.03117874264717102, -0.014309725724160671, -0.015992725268006325, -0.0003709293087013066, -0.000547450443264097, -0.010358392260968685, -0.02055210806429386, -0.017576659098267555, 0.002908581867814064, 0.04638960584998131, -0.049784086644649506, -0.004094951320439577, 0.021674416959285736, -0.010183126665651798, -0.047491174191236496, 0.02332180365920067, -0.02703969180583954, 0.04346761852502823, -0.009993860498070717, 0.013361188583076, -0.046505581587553024, -0.0023346804082393646, -0.012919980101287365, -0.006168036721646786, 0.008617356419563293, 0.044122710824012756, 0.047395043075084686, -0.1020737960934639, 0.04561912640929222, -0.012050187215209007, 0.03218881040811539, -0.012102873995900154, 0.019507084041833878, 0.009109506383538246, 0.012116466648876667, -0.009585713967680931, -0.030008956789970398, 0.02188650518655777, -0.03813217952847481, -0.036040935665369034, 0.01309827622026205, 0.018154021352529526, -0.04140704497694969, -0.015589072369039059, 0.011827025562524796, -0.026898255571722984, -0.004365319386124611, 0.0579468198120594, -0.006871463265269995, 0.08344147354364395, -0.019596152007579803, 0.028248783200979233, 0.0567140094935894, 0.036922454833984375, 0.005356891546398401, 0.01547314040362835, -0.06040940806269646, -0.019450126215815544, -0.039214394986629486, 0.032515496015548706, 0.028519628569483757, -0.0284117478877306, 0.0043744794093072414, 0.015022365376353264, 0.016889316961169243, 0.03265363723039627, 0.00838962011039257, 0.036537304520606995, 0.01085126306861639, -0.0012725047999992967, -0.01146948803216219, -0.046953171491622925, 0.02324371412396431, 0.023322535678744316, -0.06335776299238205, -0.04921259358525276, -0.04206648841500282, -0.050627097487449646, 0.025582989677786827, 0.003645710414275527, -0.0383140966296196, 0.009267986752092838, -0.019881511107087135, 0.015292673371732235, -0.04467732459306717, 0.02598273754119873, -0.007210690528154373, -0.04474250227212906, -0.030414406210184097, 0.01864570938050747, 0.004361296538263559, 0.024467483162879944, 0.01104335393756628, 0.07927996665239334, -0.007694359868764877, 0.06598584353923798, -0.017769332975149155, 0.05414349585771561, -0.006133987568318844, -0.0422096811234951, -0.035376690328121185, 0.04772583767771721, 0.01680127903819084, -0.004889370407909155, -0.007616602815687656, -0.02398941107094288, -0.04391143098473549, 0.03311976045370102, 0.08637268841266632, 0.024656902998685837, 0.011458825320005417, -0.018726086243987083, -0.015456736087799072, -0.01749873347580433, 0.012692125514149666, 0.045118045061826706, 0.000318891485221684, -0.028597963973879814, -0.03524015471339226, 0.02765634097158909, 0.029618453234434128, 0.028479786589741707, 0.05043927580118179, -0.028458265587687492, 0.023354237899184227, 0.09493112564086914, -0.006712186615914106, 0.055865272879600525, -0.03344471752643585, 0.0017027255380526185, 0.005232212599366903, 0.029855720698833466, -0.036820996552705765, 0.05095706880092621, 0.013824372552335262, -0.033368632197380066, 0.026733940467238426, 0.027158314362168312, -0.022655023261904716, -0.01744053326547146, -0.04223291203379631, -0.061843398958444595, 0.07522942870855331, -0.03016052208840847, -0.01793501526117325, 0.047626715153455734, 0.09907518327236176, 0.016946300864219666, 0.04387661814689636, -0.008119677193462849, -0.07983851432800293, 0.04953191056847572, 0.02503509446978569, 0.016498755663633347, 0.015996456146240234, -0.010636696591973305, 0.05029231682419777, -0.01569872535765171, 0.0014775387244299054, 0.03746204078197479, -0.08025098592042923, -0.07775045931339264, -0.0024036304093897343, -0.03052690252661705, 0.047840412706136703, -0.052564676851034164, -0.01569434069097042, 0.05078364163637161, 0.020334770902991295, 0.04156670719385147, 0.010942756198346615, 0.01874443143606186, 0.019494956359267235, -0.055493250489234924, -0.041241731494665146, 0.027012933045625687, 0.0467095822095871, -0.013611981645226479, -0.02013036236166954, 0.014080768451094627, -0.028246313333511353, 0.010295179672539234, 0.04632272943854332, -0.01888856664299965, 0.012301268056035042, 0.06369089335203171, 0.05495976284146309, -0.03459703549742699, 0.011768413707613945, -0.04699930176138878, 0.036502398550510406, 0.02495504729449749, -0.01518177054822445, -0.019667772576212883, -0.022919682785868645, 0.10720035433769226, 0.04407249391078949, -0.009030737914144993, -0.060864511877298355, 0.04753381013870239, -0.018801487982273102, -0.054053351283073425, -0.035229381173849106, -0.00228694174438715, 0.05866698548197746, -0.005007780622690916, 0.015073355287313461, -0.010979541577398777, -0.012397762387990952, -0.013067428953945637, 0.0287090502679348, 0.0830329954624176, -0.019174357876181602, 0.06239895895123482, 0.012644007802009583, -0.02885523997247219, -0.049179963767528534, -0.04094259440898895, -0.07754260301589966, 0.03890141472220421, 0.009880198165774345, -0.01304117776453495, 0.04741472750902176, -0.053102392703294754, -0.044911954551935196, -0.014750782400369644, -0.06444483250379562, 0.03230689465999603, 0.03200707957148552, 0.05914853885769844, 0.0003721255634445697, 0.04304448515176773, -0.016348211094737053, 0.02663581445813179, -0.023999163880944252, -0.04697570577263832, -0.03268614038825035, -0.013699688948690891, -0.01311978604644537, 0.023871609941124916, 0.01323295570909977, 0.006359496153891087, 0.04771663621068001, 0.014101102948188782, -0.027707254514098167, -0.01416321936994791, 0.009052540175616741, -0.0034355036914348602, -0.044112857431173325, -0.033596329391002655, -0.01539941318333149, 0.04310440644621849, -0.03996096923947334, -0.038171444088220596, -0.006444344762712717, -0.06716039031744003, 0.05415017157793045, -0.05376423895359039, -0.019557148218154907, -0.006657778285443783, 0.008163856342434883, 0.05964519456028938, -0.017211807891726494, 0.0311360452324152, 0.09802574664354324, 0.00457472400739789, 0.009226405061781406, -0.007319993805140257, 0.01390074286609888, 0.027541056275367737, 0.007055951748043299, 0.02596750296652317, 0.04985179007053375, 0.018215252086520195, -0.01230387669056654, -0.026001060381531715, 0.0007260005222633481, -0.029688064008951187, -0.26100650429725647, 0.02919996716082096, -0.07830385863780975, -0.025971731171011925, 0.010410690680146217, -0.003697941079735756, 0.02622857131063938, -0.06604455411434174, -0.007398939225822687, 0.007381012663245201, -0.03403565660119057, -0.017395514994859695, -0.023760808631777763, 0.05311347171664238, -0.0019922000356018543, -0.022700795903801918, -0.000527376017998904, -0.0545041598379612, 0.009806365706026554, 0.04000719636678696, -0.0018980535678565502, -0.057063840329647064, 0.016122223809361458, 0.02763284742832184, -0.0016500436468049884, 0.05091788247227669, -0.04478437826037407, 0.036794740706682205, -0.017541706562042236, -0.021185176447033882, 0.0441574901342392, -0.0313233807682991, 0.028026634827256203, -0.031819503754377365, -0.01572936587035656, -0.015786712989211082, 0.002852989360690117, 0.021345192566514015, 0.04076383262872696, 0.04452313482761383, -0.035849083214998245, -0.03821670264005661, -0.0028814240358769894, -0.030938079580664635, 0.08247890323400497, 0.004642843268811703, -0.059981655329465866, 0.009218951687216759, -0.019481899216771126, 0.09291910380125046, -0.021643975749611855, -0.03591315075755119, 0.0124824782833457, 0.013482389971613884, -0.011948555707931519, -0.031227247789502144, -0.02515864372253418, -0.0176584143191576, -0.03359679877758026, -0.01897542178630829, 0.0014159324346110225, -0.044275786727666855, -0.005619475618004799, -0.05330680310726166, -0.05567072704434395, -0.0731860026717186, -0.0566088892519474, -0.0026234763208776712, 0.056651633232831955, 0.02698543295264244, -0.04930363595485687, -0.018459228798747063, -0.03268147632479668, -0.10747980326414108, -0.022702476009726524, -0.05535655841231346, -0.03865129500627518, -0.019322406500577927, -0.03744183108210564, 0.040172938257455826, -0.05793300271034241, -0.04109321907162666, 0.009799651801586151, 0.024890633299946785, 0.043264295905828476, -0.011199490167200565, -0.000985737657174468, -0.0018149184761568904, 0.0063693951815366745, -0.02667204476892948, 0.03065481223165989, -0.04202637821435928, -0.04487155005335808, -0.00955188274383545, 0.0014921107795089483, 0.05251357704401016, 0.02842295542359352, 0.009915142320096493, 0.03604710102081299, 0.017270119860768318, 0.008262301795184612, -0.03714253380894661, 0.01036185771226883, -0.0281299389898777, -0.0032272418029606342, -0.030078597366809845, -0.060136839747428894, 0.03546535596251488, -0.01195434294641018, 0.04193558171391487, -0.0239501241594553, -0.04941177740693092, 0.002269483171403408, -0.05380803719162941, -0.057249072939157486, -0.048302292823791504, -0.010385091416537762, 0.026851117610931396, 0.03416041284799576, 0.002385968342423439, -0.060565587133169174, 0.013758707791566849, -0.0043353550136089325, -0.052121490240097046, -0.039240144193172455, -0.0032410037238150835, -0.007607564330101013, -0.0382576622068882, 0.04100976139307022, 0.01441178284585476, -0.05504194274544716, 0.05452439561486244, 0.009269359521567822, -0.010271250270307064, 0.006806665565818548, -0.022788841277360916, -0.006864981260150671, -0.04354783520102501, -0.020961271598935127, 0.029193641617894173, 0.01804240420460701, -0.03789704293012619, 0.012692930176854134, 0.012181190773844719, 0.022299474105238914, 0.017819153144955635, 0.03079807572066784, -0.021881481632590294, -0.014535635709762573, 0.010499810799956322, 0.016385512426495552, -0.04223210737109184, 0.02934105508029461, -0.05415458604693413, -0.020772509276866913, 0.012711395509541035, 0.02252017706632614, -0.004296627826988697, -0.021783756092190742, -0.0408429391682148, 0.016681862995028496, -0.032688889652490616, 0.012645372189581394, -0.020456114783883095, -0.02192114293575287, 0.04892655089497566, 0.0022609441075474024, 0.06927403062582016, -0.01916828379034996, -0.04758579283952713, -0.03428957611322403, -0.008463945239782333, -0.045706022530794144, 0.019195154309272766, -0.00798624474555254, 0.012076404877007008, 0.030749838799238205, 0.03312383219599724, 0.05219017714262009, 0.010288025252521038, 0.0010454559233039618, 0.009355820715427399, 0.015367656946182251, 0.01308431662619114, 0.007417063694447279, -0.00811136607080698, 0.009870617650449276, -0.008965798653662205, -0.0196283757686615, -0.04303164407610893, 0.006224688608199358, 0.006058655213564634, -0.011469844728708267, -0.031295645982027054, -0.012869170866906643, -0.06862928718328476, 0.03352082148194313, 0.07331111282110214, 0.01057260949164629, -0.004227197263389826, 0.012607434764504433, -0.029419803991913795, -0.052106548100709915, 0.02187288925051689, 0.049820397049188614, -0.060285862535238266, -0.004445643629878759, -0.014140388928353786, 0.027540389448404312, -0.0032152924686670303, 0.01476539671421051, -0.05228815972805023, 0.012774568051099777, -0.002460381481796503, -0.02007225714623928, -0.006779411341995001, -0.017401451244950294, -0.007773198653012514, 0.010804953053593636, -0.029067914932966232, -0.007731752470135689, -0.003497892525047064, -0.04337504506111145, 0.019160863012075424, 0.027772564440965652, 0.01232941448688507, -0.024718906730413437, 0.04088372737169266, 0.028966818004846573, 0.022785868495702744, 0.028175530955195427, -0.0495511032640934, 0.03641444072127342, 0.004844401031732559, -0.016103841364383698, -0.01959078758955002, -0.05970753729343414, 0.025398680940270424, 0.006086417473852634, 0.056706883013248444, 0.02423720620572567, 0.006762404460459948, -0.01333661749958992, 0.005738974083214998, -0.03031313046813011, -0.015045941807329655, -0.010623803362250328, 0.00647436548024416, -0.0048986319452524185, 0.024600766599178314, 0.02738388441503048, 0.03378112614154816, -0.03424029052257538, -0.02593805454671383, 0.057317301630973816, -0.06167174130678177, -0.05410732701420784, 0.015914008021354675, -0.053463324904441833, 0.025999169796705246, 0.0014259942108765244, 0.014037594199180603, -0.051168106496334076, 0.05230460315942764, 0.05915401130914688, 0.035180483013391495, 0.03892310708761215, -0.01424883957952261, 0.019813071936368942, -0.014523099176585674, -0.008884551003575325, -0.08748748153448105, 0.018284671008586884, 0.05591331049799919, 0.022392623126506805, -0.010258853435516357, 0.013548373244702816, -0.00698083033785224, 0.02670447900891304, -0.05278279632329941, -0.0025026455987244844, 0.07037018239498138, -0.016963884234428406, 0.005000375676900148, 0.036109503358602524, -0.04822346195578575, 0.018687313422560692, 0.07652407139539719, -0.039452940225601196, -0.017158621922135353, -0.029818687587976456, 0.04239119589328766, -0.019662005826830864, 0.04206226021051407, -0.04747171700000763, 0.027944808825850487, 0.07822645455598831, 0.022430792450904846, -0.020169280469417572, 0.030041836202144623, 0.010951358824968338, 0.009211032651364803, 0.032109495252370834, -0.016450652852654457, -0.04325423389673233, 0.02894812449812889, -0.039260853081941605, -0.04289783909916878, 0.01891283504664898, 0.018133893609046936, -0.01408796664327383, -0.010127796791493893, 0.08670319616794586, 0.033686984330415726, -0.027298331260681152, -0.01761857606470585, 0.01238786056637764, -0.05032062530517578, 0.01684056594967842, -0.01438955683261156, 0.0019442894263193011, -0.03918185085058212, 0.03983365744352341, 0.0016642522532492876, 0.025158200412988663, 0.08324728161096573, 0.04494879022240639, 0.023932358250021935, 0.019793666899204254, 0.06536537408828735, 0.0735381618142128, 0.016455410048365593, 0.026420770213007927, 0.04023101553320885, -0.02285076305270195, -0.03442148491740227, 0.0010509515414014459, -0.0014358790358528495, -0.001945348340086639, -0.024238992482423782, -0.0005215600831434131, 0.08185338228940964, -0.008890106342732906, 0.03894342854619026, 0.010290171951055527, -0.03053092770278454, -0.018389159813523293, -0.001536356983706355, 0.04192425683140755, 0.024650409817695618, 0.015851255506277084, 0.011269654147326946, 0.0067946468479931355, -0.023304132744669914, 0.05594736337661743, -0.034276753664016724, -0.024699686095118523, 0.0428505577147007, 0.006474894937127829, 0.015408161096274853, -0.007113989908248186, 0.03604442626237869, 0.05467632785439491, -0.0014239137526601553, 0.000962468737270683, -0.0006680817459709942, 0.039267752319574356, -0.0010348056675866246, -0.00016887437959667295, -0.027159303426742554, -0.018175160512328148, -0.016576780006289482, -0.016263224184513092, 0.006485197693109512, 0.012155880220234394, -0.05659957975149155, 0.04782480373978615, -0.011480352841317654, 0.018319876864552498, 0.030733255669474602, -0.007559540215879679, -0.04318894445896149, -0.056519877165555954, -0.016321586444973946, -0.041601233184337616, -0.0578593946993351, -0.018760276958346367, 0.04129068925976753, -0.03878187760710716, -0.032037727534770966, 0.010302653536200523, -0.00459556607529521, 0.022254694253206253, -0.011958086863160133, -0.04477662220597267, -0.01888672076165676, 0.03204928711056709, -0.012768912129104137, 0.008373728021979332, -0.016296491026878357, 0.048012640327215195, -0.02248849906027317, -0.013282941654324532, -0.03949809446930885, 0.016282936558127403, 0.03236418589949608, -0.0035851490683853626, 0.0328129418194294, -0.062159664928913116, 0.019874492660164833, 0.0574614442884922, 0.013286410830914974, -0.06772580742835999, 0.03517009690403938, 0.01995827630162239, -0.013184078969061375, 0.059046849608421326, -0.014701764099299908, -0.013041708618402481, -0.030183959752321243, -0.01774534396827221, 0.03054412640631199, 0.03918832540512085, 0.022524356842041016, -0.006060848943889141, 0.08292608708143234, 0.05315078794956207, -0.051260512322187424, -0.019059689715504646, -0.03641340136528015, -0.01193015743046999, -0.010593768209218979, -0.045420169830322266, -0.03509903699159622, -0.07845462113618851, -0.035533543676137924, -0.025882204994559288, 0.00035263775498606265, -0.05359039828181267, -0.03437798097729683, 0.0008768262341618538, 0.034292224794626236, -0.02298041246831417, 0.025965340435504913, -0.04103803634643555, 0.008829006925225258, -0.02027498185634613, -0.021579423919320107, -0.027114851400256157, -0.02021687850356102, 0.011508098803460598, -0.00006909859803272411, 0.033773500472307205, -0.05835777521133423, -0.014116471633315086, -0.029100626707077026, 0.01683245785534382, 0.03257250040769577, 0.030585477128624916, -0.0015874287346377969 ]
[ -0.12076783925294876, -0.02537660300731659, -0.034459810703992844, -0.024117229506373405, 0.02872123010456562, -0.06042630225419998, -0.02085237205028534, -0.006133589427918196, -0.0044243428856134415, 0.00764597300440073, 0.006551545113325119, -0.0414915569126606, -0.0010284492745995522, 0.012652350589632988, 0.11368639767169952, -0.01557985134422779, -0.031851958483457565, -0.038963332772254944, -0.04658092185854912, 0.014515959657728672, 0.02713026851415634, -0.026019172742962837, -0.02861085534095764, -0.032633159309625626, 0.03286801278591156, 0.05039456486701965, 0.05725117772817612, -0.052469488233327866, -0.03531666845083237, -0.1942903697490692, 0.007486394606530666, 0.012278382666409016, 0.02319018915295601, -0.032815657556056976, 0.01644762046635151, 0.048832885921001434, 0.039543263614177704, 0.01538664661347866, -0.03135852888226509, 0.035507962107658386, 0.057333510369062424, 0.023709392175078392, -0.040839895606040955, -0.060041747987270355, 0.016461407765746117, -0.016069190576672554, 0.003692180849611759, 0.005978086497634649, -0.03231913223862648, 0.03993822634220123, -0.054185111075639725, 0.008417556993663311, 0.04561090096831322, -0.023593544960021973, 0.029510866850614548, 0.05027686804533005, 0.0433778390288353, 0.06473556160926819, 0.03564922511577606, 0.005947294645011425, -0.024946298450231552, 0.0010615600040182471, -0.1457880437374115, 0.10828813165426254, -0.010899819433689117, 0.011607127264142036, 0.026078464463353157, -0.003904760116711259, -0.02710072323679924, 0.07723408192396164, -0.010100249201059341, -0.016534266993403435, -0.010361508466303349, 0.06220385059714317, 0.00557262497022748, -0.038153067231178284, -0.020361298695206642, -0.009872962720692158, 0.07024931907653809, -0.04879024624824524, -0.03743993118405342, 0.013368276879191399, -0.002010051626712084, -0.0025349240750074387, 0.018007928505539894, 0.029327036812901497, -0.0022448573727160692, 0.042684733867645264, 0.02060576342046261, 0.023472821339964867, -0.002523178933188319, -0.035605475306510925, 0.04352978244423866, 0.03054180182516575, -0.0908016636967659, 0.018494440242648125, 0.009175725281238556, 0.03173403814435005, -0.025235258042812347, 0.3623791038990021, -0.05308186635375023, -0.005589761305600405, 0.012267849408090115, 0.06942348182201385, 0.00335514172911644, -0.017371172085404396, 0.0002448773884680122, -0.05402272194623947, 0.029472878202795982, -0.047018129378557205, -0.027554411441087723, -0.0019125542603433132, 0.05998829007148743, -0.07068700343370438, -0.010585878975689411, 0.023802656680345535, 0.06899980455636978, 0.005695038475096226, -0.015110059641301632, 0.05150759592652321, 0.03627283498644829, -0.015101476572453976, 0.01351163350045681, 0.009714285843074322, -0.011449973098933697, 0.045074213296175, 0.03094656579196453, 0.014684977941215038, 0.030314292758703232, 0.02513621561229229, 0.029696227982640266, -0.017695549875497818, -0.084953173995018, -0.0009305018465965986, -0.012960280291736126, 0.03975455090403557, -0.03093467652797699, -0.08662208169698715, 0.0056241350248456, -0.02267303131520748, -0.04466257989406586, -0.048806022852659225, 0.02487124502658844, 0.02167993038892746, -0.03576885536313057, 0.08964195102453232, 0.005255643278360367, -0.004495235625654459, -0.029617799445986748, -0.0323377400636673, -0.05656706169247627, 0.035379938781261444, 0.007475859019905329, -0.05381180718541145, 0.026333346962928772, 0.014161046594381332, 0.11754927784204483, -0.012923868373036385, -0.07780393213033676, 0.01407430600374937, -0.04204723238945007, -0.010811232961714268, -0.03359563648700714, 0.0679956004023552, 0.008055992424488068, -0.09030821919441223, -0.01806815341114998, 0.042825981974601746, 0.04374554008245468, -0.06007378548383713, -0.017527516931295395, 0.040212687104940414, 0.008475396782159805, -0.0018351904582232237, 0.08732397109270096, -0.0018663370283320546, 0.013934130780398846, 0.009319507516920567, 0.06736715137958527, 0.029317369684576988, -0.03541409969329834, 0.006521503906697035, -0.02658149227499962, 0.030821986496448517, -0.0008215447887778282, -0.049580320715904236, -0.022282129153609276, -0.02072894386947155, -0.013999040238559246, 0.0006192703731358051, -0.017239853739738464, -0.010807492770254612, -0.0547453835606575, 0.06476994603872299, -0.048307329416275024, -0.054601483047008514, -0.020204611122608185, 0.053042735904455185, -0.0044364421628415585, -0.03736494481563568, -0.0014769056579098105, 0.06117212027311325, -0.0019235897343605757, 0.020795801654458046, -0.009688443504273891, -0.009445679374039173, 0.05689837411046028, -0.06434796750545502, 0.05774733051657677, 0.04291101172566414, -0.03888169676065445, 0.003617523005232215, 0.025070328265428543, -0.014186439104378223, 0.00015205444651655853, 0.02865011990070343, -0.012497611343860626, -0.043748121708631516, 0.01192971970885992, 0.01002533920109272, -0.061335254460573196, -0.03596420958638191, -0.013318645767867565, -0.3498629033565521, -0.006625380367040634, 0.006561529356986284, 0.003768834052607417, 0.05803613364696503, -0.07852952182292938, -0.024008532986044884, -0.060290079563856125, 0.0007437836611643434, 0.015299879014492035, 0.0731029063463211, -0.04371453449130058, -0.04074333235621452, -0.09499009698629379, -0.007562701124697924, 0.041520856320858, -0.0017877455102279782, -0.041844066232442856, -0.025295797735452652, 0.008572906255722046, 0.0128919817507267, -0.07369934767484665, -0.025777027010917664, -0.05457793176174164, -0.02609320543706417, -0.0023815534077584743, 0.07876251637935638, 0.025594869628548622, 0.06606025993824005, -0.07940282672643661, 0.07234856486320496, -0.023137345910072327, -0.01743621751666069, -0.10785073786973953, -0.01638115383684635, -0.0417800135910511, 0.02271023951470852, -0.0033509228378534317, 0.014689608477056026, -0.005191319156438112, -0.034181009978055954, 0.030684690922498703, -0.03282665088772774, -0.03872939944267273, -0.02445325441658497, 0.03714871034026146, 0.012832749634981155, -0.020025210455060005, -0.016612790524959564, 0.03788156062364578, 0.005232903175055981, -0.008974811062216759, 0.013837429694831371, 0.020570602267980576, 0.009624938480556011, -0.011678495444357395, -0.053905632346868515, -0.03371775895357132, 0.0107194809243083, -0.03169301152229309, 0.016227571293711662, 0.07777443528175354, 0.042581960558891296, -0.05315428972244263, -0.024822864681482315, 0.0040314579382538795, 0.001265999278984964, -0.0019405120983719826, -0.01616482064127922, -0.013141238130629063, -0.036776456981897354, 0.07819458842277527, -0.01883002370595932, 0.005935239139944315, 0.05805275961756706, 0.026489799842238426, -0.05044005066156387, 0.02519848383963108, 0.03476010635495186, 0.01612425409257412, 0.021148046478629112, 0.01046960148960352, 0.06681183725595474, -0.005880801938474178, -0.0019283564761281013, 0.019409678876399994, 0.008685900829732418, 0.002702926052734256, 0.020399779081344604, 0.020093003287911415, -0.04009922593832016, -0.00861266627907753, 0.014568026177585125, -0.03109610453248024, 0.09284858405590057, 0.002391774905845523, -0.2697085440158844, 0.08012400567531586, 0.04497718811035156, 0.05450848117470741, 0.009287931025028229, -0.003358663758262992, -0.013772119767963886, -0.05782172456383705, -0.045682840049266815, 0.006890947464853525, 0.008228326216340065, 0.06268452107906342, -0.0025161930825561285, 0.0006849647033959627, 0.04975656047463417, -0.003925763536244631, 0.052177730947732925, 0.001323091797530651, 0.014725147746503353, -0.018432479351758957, 0.02359836734831333, -0.01052800938487053, 0.16465984284877777, 0.008036252111196518, 0.0005610957741737366, 0.049867723137140274, 0.01211677398532629, 0.01900460757315159, 0.09027255326509476, 0.017899902537465096, 0.0029287904035300016, 0.03785357251763344, 0.07721016556024551, 0.057123806327581406, 0.004308999981731176, -0.016660019755363464, -0.051267556846141815, 0.049897704273462296, -0.001976278144866228, -0.0202877726405859, -0.02505885437130928, 0.02621491812169552, -0.03975507244467735, 0.010956654325127602, 0.10075356811285019, 0.0034477177541702986, -0.0063362461514770985, -0.061577003449201584, -0.03349842131137848, -0.020237969234585762, -0.01838034950196743, -0.0365741103887558, -0.00031026522628962994, 0.02613571658730507, -0.0313996821641922, 0.05043792352080345, 0.04888007044792175, -0.03257471323013306, 0.0002532997168600559, 0.01942363567650318, 0.010095168836414814, -0.048451006412506104, 0.11305684596300125, -0.035469748079776764, -0.024110112339258194 ]
[ -0.006931465584784746, 0.02944641374051571, 0.021931303665041924, -0.02064291574060917, 0.017712993547320366, -0.0019771642982959747, -0.02712605521082878, 0.015650976449251175, 0.006371443159878254, -0.03391801565885544, -0.013630803674459457, -0.001619070302695036, -0.013278648257255554, -0.03706631436944008, 0.01137483399361372, -0.008796770125627518, -0.01471026986837387, 0.008335273712873459, 0.05317370221018791, 0.01907571218907833, -0.0036193120758980513, 0.017965473234653473, 0.04214809462428093, -0.0009981377515941858, -0.000353823765181005, 0.024901079013943672, -0.01667829602956772, 0.016842016950249672, 0.012773070484399796, -0.1266610026359558, -0.03385722637176514, 0.0206245556473732, -0.021464750170707703, -0.004905278328806162, -0.009341596625745296, 0.01406831108033657, -0.0021734649781137705, 0.0009979319293051958, -0.001034092390909791, 0.005723930429667234, -0.0063339839689433575, -0.022135227918624878, -0.0009855495300143957, 0.0033122629392892122, 0.013248923234641552, -0.00013449038669932634, 0.01765296421945095, -0.03250585123896599, -0.050166185945272446, 0.024885954335331917, -0.033758651465177536, -0.003896379144862294, -0.024746853858232498, -0.013919887132942677, 0.010303632356226444, -0.00311011984013021, -0.03771857172250748, 0.010202950797975063, 0.01665719412267208, -0.034647151827812195, -0.033112406730651855, 0.020863447338342667, -0.06276635825634003, -0.01749192737042904, 0.0031800628639757633, -0.06536424905061722, 0.01903192326426506, 0.026767125353217125, -0.005183711182326078, 0.005519383121281862, 0.0026004223618656397, 0.03112257830798626, -0.04234664887189865, -0.0068861073814332485, -0.03744196146726608, 0.02952420525252819, 0.021476048976182938, -0.032290514558553696, 0.014935093000531197, -0.03064819984138012, -0.004479567985981703, 0.005870598368346691, 0.007482650689780712, 0.025451716035604477, 0.011007667519152164, -0.04924037680029869, 0.020106524229049683, 0.04535287991166115, 0.024203762412071228, -0.01668793149292469, -0.011302915401756763, 0.005663540214300156, 0.011910540983080864, 0.009144122712314129, -0.08063831925392151, 0.011815317906439304, -0.01236046478152275, 0.017299294471740723, 0.029318807646632195, 0.8561615347862244, -0.007769403979182243, 0.053318411111831665, 0.006315478123724461, 0.0007474322337657213, 0.010817760601639748, 0.020948098972439766, -0.0015057242708280683, -0.009236461482942104, -0.014783005230128765, 0.006982006598263979, 0.03935529664158821, -0.01638997159898281, 0.022290410473942757, -0.023425480350852013, 0.03888518735766411, 0.028011027723550797, 0.009251627139747143, 0.020833391696214676, 0.01667347550392151, 0.02784312330186367, 0.028698457404971123, -0.00143869046587497, -0.00396219827234745, -0.003458264749497175, -0.010155953466892242, -0.12114232033491135, 0.0441545806825161, -6.071758929783284e-33, 0.043901197612285614, -0.010046650655567646, 0.02270173653960228, -0.031273312866687775, -0.01272494625300169, 0.017559774219989777, -0.00995162595063448, 0.0026948710437864065, -0.013998766429722309, -0.03572315350174904, -0.005674760788679123, -0.0135624585673213, -0.01066786702722311, -0.052287161350250244, 0.033530935645103455, 0.005691084079444408, 0.028024351224303246, 0.035219457000494, 0.025124507024884224, 0.020342396572232246, 0.0032267137430608273, -0.026936113834381104, -0.002922674873843789, -0.021444736048579216, 0.033122021704912186, 0.0020263155456632376, 0.06358779221773148, -0.0027622105553746223, -0.008825489319860935, -0.05983363464474678, 0.00854575540870428, -0.02948983944952488, -0.012285318225622177, -0.005699199624359608, 0.068929523229599, -0.0390191487967968, -0.01742721162736416, 0.02091914229094982, -0.039998263120651245, -0.02031763084232807, -0.03616080805659294, -0.018964776769280434, -0.02849864587187767, -0.029652170836925507, 0.006527679972350597, -0.01787560060620308, -0.005218281876295805, 0.026911664754152298, 0.000649609137326479, 0.05631464719772339, -0.009070450440049171, 0.016782911494374275, 0.0016539853531867266, -0.0381162203848362, -0.02753554657101631, 0.029872331768274307, 0.007120992988348007, -0.00566588481888175, -0.013313907198607922, -0.00654988968744874, 0.01990583725273609, -0.0005716531304642558, 0.005281289108097553, 0.010934517718851566, -0.0055753448978066444, 0.014522396959364414, -0.005940083879977465, -0.023011477664113045, 0.04942338913679123, 0.06357400864362717, -0.05170980840921402, -0.007414326071739197, 0.0024008648470044136, -0.010220975615084171, 0.021801186725497246, 0.0015239686472341418, 0.03344448283314705, -0.014103100635111332, 0.03368564322590828, 0.036042772233486176, 0.01941980980336666, -0.034647226333618164, 0.011313526891171932, -0.015870241448283195, -0.0033642733469605446, -0.005319676361978054, -0.001540029770694673, 0.014572130516171455, -0.0017894598422572017, -0.008773957379162312, 0.05093422904610634, -0.009830979630351067, -0.009097893722355366, -0.0013305468019098043, -0.03501440957188606, 6.433496010413734e-33, 0.005167713854461908, -0.0013514141319319606, -0.0028279446996748447, 0.007768076844513416, 0.03343644365668297, -0.04252099618315697, -0.010077803395688534, 0.04127212241292, -0.03372791409492493, 0.04103442281484604, -0.010169390588998795, -0.056521181017160416, -0.012131107039749622, -0.0007525823311880231, 0.07372667640447617, 0.003265446051955223, 0.034344252198934555, -0.005179866217076778, -0.019066182896494865, 0.021007848903536797, 0.016671983525156975, 0.03467513993382454, 0.022681372240185738, 0.004426294006407261, 0.05453360825777054, 0.027614060789346695, 0.010685611516237259, 0.016353268176317215, 0.004005413968116045, 0.012951843440532684, 0.008647608570754528, -0.05226612091064453, -0.011051054112613201, -0.0406123585999012, -0.024884695187211037, 0.031880125403404236, 0.005959993228316307, -0.020855672657489777, 0.014514459297060966, 0.0034151552245020866, -0.006422096397727728, -0.013905012048780918, -0.04065946117043495, 0.004549098666757345, -0.005379217676818371, 0.022588636726140976, 0.0075881220400333405, 0.02722327597439289, 0.007893742062151432, -0.03689723461866379, -0.00485492218285799, 0.01504173781722784, -0.004075443837791681, -0.0075918943621218204, 0.03364529088139534, -0.026318062096834183, -0.010223490186035633, 0.022925997152924538, -0.036030229181051254, 0.009560569189488888, -0.02587704546749592, -0.03526214510202408, 0.006852541118860245, 0.00010065771493827924, -0.025583771988749504, -0.029174726456403732, -0.02368808723986149, -0.03361883386969566, -0.014888295903801918, -0.008329223841428757, -0.012730062939226627, -0.025157524272799492, -0.03037906438112259, 0.03999273478984833, -0.00670898612588644, -0.005443962756544352, 0.002942161401733756, 0.03914979472756386, -0.02544393762946129, 0.030757777392864227, 0.025268282741308212, 0.004109240137040615, -0.005568181164562702, 0.020350908860564232, -0.018550410866737366, 0.0221774410456419, -0.030679166316986084, -0.0020057011861354113, 0.005304825492203236, -0.03708755597472191, 0.005642722360789776, -0.02947162464261055, -0.011765585280954838, 0.05901492014527321, -0.01641814038157463, -1.2421065953560628e-8, 0.014046999625861645, 0.008698017336428165, -0.004769576247781515, 0.02410162054002285, 0.00884261168539524, -0.005212671589106321, -0.010376955382525921, -0.031789444386959076, -0.0027942724991589785, 0.01393065508455038, 0.06519904732704163, -0.014729106798768044, 0.0138211939483881, 0.025560854002833366, 0.021315686404705048, -0.015460916794836521, 0.011400893330574036, -0.005965274292975664, 0.006286507938057184, -0.008661840111017227, 0.03924550861120224, 0.025151846930384636, 0.0030931590590626, -0.013032300397753716, -0.01842748373746872, 0.01414842251688242, -0.004633094184100628, -0.03828992322087288, 0.02885209023952484, -0.008105791173875332, 0.0297977514564991, -0.028207583352923393, -0.013583799824118614, -0.021604394540190697, -0.04320261999964714, -0.035873353481292725, -0.008576440624892712, -0.006059120874851942, -0.012036696076393127, 0.04146319627761841, -0.021690096706151962, 0.006875727325677872, -0.011704837903380394, -0.014733896590769291, -0.03635922819375992, 0.0026585625018924475, -0.0026154518127441406, -0.019891630858182907, -0.022165492177009583, -0.010668582282960415, 0.02146642841398716, -0.007851929403841496, 0.027006041258573532, -0.002189192222431302, 0.019138049334287643, 0.037239376455545425, 0.037138089537620544, -0.04943787306547165, -0.045635972172021866, -0.006952350493520498, 0.027060948312282562, -0.011963953264057636, -0.023282241076231003, -0.027409235015511513 ]
clojure-converting-a-string-to-a-date
https://markhneedham.com/blog/2013/09/20/clojure-converting-a-string-to-a-date
false
2013-09-17 01:03:37
Clojure: Merge two maps but only keep the keys of one of them
[ "clojure" ]
[ "Clojure" ]
I've http://www.markhneedham.com/blog/2013/09/17/clojure-updating-keys-in-a-map/[been playing around with Clojure maps] recently and I wanted to merge two maps of rankings where the rankings in the second map overrode those in the first while only keeping the teams from the first map. The +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/merge[merge]+++</cite>+++ function overrides keys in earlier maps but also adds keys that only appear in later maps. For example, if we merge the following maps: [source,lisp] ---- > (merge {"Man. United" 1500 "Man. City" 1400} {"Man. United" 1550 "Arsenal" 1450}) {"Arsenal" 1450, "Man. United" 1550, "Man. City" 1400} ---- we get back all 3 teams but I wanted a function which only returned 'Man. United' and 'Man. City' since those keys appear in the first map and 'Arsenal' doesn't. I http://stackoverflow.com/questions/2753874/how-to-filter-a-persistent-map-in-clojure[wrote the following function]: [source,lisp] ---- (defn merge-rankings [initial-rankings override-rankings] (merge initial-rankings (into {} (filter #(contains? initial-rankings (key %)) override-rankings)))) ---- If we call that we get the desired result: [source,lisp] ---- > (merge-rankings {"Man. United" 1500 "Man. City" 1400} {"Man. United" 1550 "Arsenal" 1450}) {"Man. United" 1550, "Man. City" 1400} ---- An alternative version of that function could use +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/select-keys[select-keys]+++</cite>+++ like so: [source,lisp] ---- (defn merge-rankings [initial-rankings override-rankings] (select-keys (merge initial-rankings override-rankings) (map key initial-rankings))) ---- bitemyapp points out in the comments that we can go even further and use the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/keys[keys]+++</cite>+++ function instead of +++<cite>+++map key+++</cite>+++, like so: [source,lisp] ---- (defn merge-rankings [initial-rankings override-rankings] (select-keys (merge initial-rankings override-rankings) (keys initial-rankings))) ---- Now let's generify the function so it would make sense in the context of any maps, not just ranking related ones: [source,lisp] ---- (defn merge-keep-left [left right] (select-keys (merge left right) (keys left))) ----
null
null
[ -0.06052529066801071, -0.025929685682058334, -0.006905593443661928, 0.02182132564485073, 0.07704494148492813, -0.028992194682359695, 0.011636903509497643, 0.028193511068820953, 0.005192240700125694, -0.05778373032808304, -0.005998252425342798, -0.02953445352613926, -0.07026717066764832, 0.024999666959047318, 0.014469857327640057, 0.05451186001300812, 0.07745727896690369, -0.00019584230904001743, 0.02499518357217312, -0.003539257450029254, 0.05690201744437218, 0.08847910165786743, -0.020982712507247925, 0.007194451056420803, 0.003256427589803934, -0.008805562742054462, -0.011338404379785061, 0.01542640570551157, -0.05728890001773834, 0.0004103531246073544, 0.03499821946024895, 0.0009362199925817549, -0.015333352610468864, -0.010537674650549889, 0.0047456007450819016, -0.02690073288977146, -0.0017559919506311417, 0.006269133184105158, -0.0036466424353420734, 0.0014083225978538394, -0.06186971068382263, 0.034334633499383926, -0.011998246423900127, 0.014450214803218842, -0.022519264370203018, 0.03034702129662037, -0.08139663189649582, 0.03595868870615959, -0.008228372782468796, 0.009626599960029125, -0.0388532318174839, -0.02017468772828579, 0.0029398659244179726, -0.0022681993432343006, -0.022130124270915985, 0.0327555388212204, 0.024710385128855705, -0.07388090342283249, 0.050628408789634705, -0.02728988416492939, -0.0049065896309912205, 0.005118445493280888, 0.02252313680946827, 0.036047548055648804, -0.0020059708040207624, -0.038723062723875046, -0.03993711248040199, 0.03321000188589096, -0.047591034322977066, -0.027964593842625618, 0.007661176845431328, -0.0075346906669437885, -0.0016779776196926832, -0.013752718456089497, -0.009763278998434544, -0.046458158642053604, -0.00986862275749445, 0.0601048469543457, -0.025587135925889015, 0.04492911696434021, -0.030763743445277214, -0.0005788576090708375, 0.02939590811729431, 0.03715437650680542, -0.004858171101659536, -0.011308739893138409, -0.04043908417224884, 0.0028155941981822252, -0.042699553072452545, 0.021053513512015343, -0.0036621340550482273, -0.05909959599375725, -0.010382323525846004, 0.002724164631217718, -0.00352473184466362, -0.02368268370628357, -0.017134781926870346, 0.01788392663002014, 0.007225245237350464, -0.02649681828916073, -0.007414199411869049, -0.02424415573477745, -0.012615116313099861, 0.02518535777926445, -0.09103337675333023, -0.023068154230713844, -0.02641052007675171, -0.011612851172685623, 0.01634705625474453, -0.01651529222726822, -0.04872499778866768, 0.015656912699341774, 0.012820908799767494, 0.026115616783499718, -0.05934711918234825, 0.05616623908281326, 0.005782850552350283, -0.03146613389253616, -0.01681293360888958, 0.03839828819036484, 0.03092067874968052, 0.022001152858138084, -0.004474421497434378, 0.06971009075641632, 0.005534774623811245, 0.025072218850255013, -0.006707089487463236, 0.05556856468319893, -0.014907936565577984, -0.05327725410461426, -0.014469404704868793, 0.05892686918377876, -0.03766630217432976, 0.013919858261942863, -0.010056567378342152, -0.04849407076835632, -0.042981088161468506, -0.005087811499834061, 0.05669131129980087, 0.003160398453474045, 0.01308755949139595, 0.0014073586789891124, 0.016415704041719437, -0.00135724653955549, 0.04593164101243019, 0.02103269286453724, -0.04197701811790466, -0.00604289909824729, -0.011748080141842365, 0.025136837735772133, 0.04050096496939659, 0.04888846352696419, 0.06656760722398758, 0.002961615100502968, 0.042777854949235916, 0.10888247191905975, 0.007859336212277412, -0.0006822485593147576, -0.004705940373241901, 0.028187524527311325, 0.018886296078562737, 0.021957289427518845, 0.021599384024739265, 0.04455575346946716, -0.005847946275025606, -0.012665918096899986, 0.009073302149772644, 0.05973881110548973, -0.0069504547864198685, -0.019021129235625267, -0.03881560638546944, -0.08128450065851212, 0.06978340446949005, -0.02406454086303711, 0.017801953479647636, 0.029774872586131096, 0.10773181915283203, 0.03472881391644478, 0.05688198283314705, -0.01032391469925642, -0.06956745684146881, 0.031292445957660675, 0.02580399252474308, 0.039620157331228256, 0.018152639269828796, -0.011204547248780727, 0.0712381973862648, 0.027746306732296944, 0.01672152616083622, 0.03435634449124336, -0.06313612312078476, -0.05927574262022972, -0.011705664917826653, -0.014797976240515709, 0.08100475370883942, -0.029406970366835594, -0.00538270128890872, 0.05528786778450012, 0.015163058415055275, 0.048305410891771317, 0.039890699088573456, -0.001278089010156691, 0.05191709101200104, -0.05349590629339218, -0.031450048089027405, 0.039057657122612, 0.013375251553952694, -0.030946720391511917, -0.0380023792386055, 0.031829241663217545, -0.018480954691767693, 0.004409916698932648, 0.007813980802893639, -0.03941577672958374, 0.046122223138809204, -0.0029353771824389696, 0.03937405347824097, -0.04458927363157272, 0.042398806661367416, -0.024499015882611275, 0.03255800902843475, 0.03896907716989517, 0.023036262020468712, 0.035315342247486115, 0.010698720812797546, 0.10697296261787415, 0.04443702846765518, -0.008215726353228092, -0.0711187869310379, 0.021464597433805466, 0.0056388406082987785, -0.00529128173366189, -0.00209254864603281, -0.006788127589970827, 0.025931760668754578, -0.018474183976650238, -0.0032699827570468187, -0.000945493986364454, -0.00996677577495575, -0.05213893577456474, -0.023390311747789383, 0.08993592113256454, -0.000911729468498379, 0.06550692766904831, 0.021531205624341965, -0.03334919735789299, 0.010188773274421692, -0.04526500776410103, -0.043025754392147064, -0.011766256764531136, 0.001882991986349225, -0.025946855545043945, 0.05704835429787636, -0.0584699846804142, -0.01647491380572319, -0.017338018864393234, -0.014514263719320297, 0.011981395073235035, 0.03697656840085983, 0.058811005204916, -0.0033733469899743795, 0.05029560253024101, -0.036870792508125305, -0.0036510128993541002, -0.05881156399846077, -0.04515238478779793, -0.04184933006763458, -0.026420781388878822, -0.021935265511274338, 0.01720741204917431, 0.0034614524338394403, -0.008135617710649967, 0.028889324516057968, -0.019747991114854813, -0.021288443356752396, 0.015178157016634941, -0.018652141094207764, 0.013329284265637398, -0.020622724667191505, -0.03220028057694435, 0.0011212157551199198, 0.03894184157252312, 0.0029746321961283684, -0.03336112201213837, -0.015210187993943691, -0.06227283924818039, 0.03916243836283684, -0.06625158339738846, -0.0078954566270113, 0.018613582476973534, 0.029400333762168884, 0.016360267996788025, -0.016760818660259247, 0.03299396485090256, 0.035566575825214386, 0.01472663413733244, 0.009680365212261677, 0.029870186001062393, -0.008062432520091534, 0.04803333804011345, -0.018043899908661842, 0.004680822603404522, 0.05171889066696167, -0.011525178328156471, -0.0006263136747293174, -0.04343629255890846, -0.009295990690588951, -0.00008144675666699186, -0.25352463126182556, 0.016719255596399307, -0.012546133249998093, -0.012422970496118069, 0.015972357243299484, -0.02637728862464428, 0.002780396258458495, -0.04345303773880005, -0.028598468750715256, 0.014288514852523804, -0.006314391735941172, -0.00422339653596282, -0.01281384751200676, 0.05047230049967766, 0.008336436003446579, -0.013037445023655891, 0.009630842134356499, -0.049196138978004456, -0.023859692737460136, 0.050581686198711395, 0.00007537711644545197, -0.08799195289611816, -0.0031016566790640354, 0.03635677695274353, 0.009936705231666565, 0.05540015920996666, -0.06745913624763489, 0.01937897875905037, -0.03749089688062668, -0.00787321850657463, 0.004359522368758917, -0.004533369559794664, 0.0260457806289196, -0.0035378974862396717, -0.05070380121469498, -0.017636995762586594, 0.024817079305648804, 0.006743357051163912, 0.018150877207517624, 0.016530871391296387, -0.025558141991496086, -0.013202673755586147, 0.0034178125206381083, -0.023099273443222046, 0.08214596658945084, 0.0015957739669829607, -0.07144048064947128, 0.008910701610147953, -0.045838285237550735, 0.07874617725610733, 0.01905169151723385, -0.04434404522180557, -0.010629392229020596, 0.05328620970249176, -0.020677337422966957, -0.010566662065684795, -0.0032680691219866276, -0.024458210915327072, -0.01973704807460308, 0.0021522101014852524, -0.038326703011989594, -0.0560026690363884, -0.022230446338653564, -0.03315258398652077, -0.009660746902227402, -0.07195400446653366, -0.09191344678401947, 0.002486538840457797, 0.03397402539849281, 0.0019193701446056366, -0.039324190467596054, -0.026324424892663956, -0.03227730095386505, -0.1078760176897049, -0.03347037360072136, -0.03529476746916771, -0.04356440156698227, -0.02623363956809044, -0.01824778877198696, 0.05114780738949776, -0.06963549554347992, -0.03244513273239136, 0.017818499356508255, 0.03296663612127304, 0.0337589755654335, 0.00529923802241683, -0.010113443247973919, 0.027274159714579582, 0.006653260439634323, -0.02712523378431797, 0.05575145035982132, -0.038823213428258896, -0.010049194097518921, -0.03430064767599106, 0.009388077072799206, 0.048801686614751816, 0.010731655173003674, 0.0013850409304723144, 0.027586253359913826, 0.04027360677719116, 0.03669465333223343, -0.04729898273944855, 0.011737356893718243, 0.00212263991124928, -0.011927754618227482, 0.01925211027264595, -0.042522259056568146, 0.01416628435254097, 0.02686079777777195, 0.041068557649850845, -0.03250672295689583, -0.03145330399274826, 0.0002330950228497386, -0.06725155562162399, -0.04696241766214371, -0.009483292698860168, 0.013555774465203285, 0.018822740763425827, 0.030806833878159523, 0.0027776542119681835, -0.08827834576368332, 0.05626742169260979, 0.002380174119025469, -0.0401422381401062, -0.07453835010528564, -0.009005429223179817, -0.020867347717285156, -0.020262332633137703, 0.03945472463965416, 0.039252687245607376, -0.012232518754899502, 0.03854726254940033, 0.011529797688126564, -0.02820604294538498, 0.02677186019718647, -0.03725762292742729, -0.010120606049895287, -0.00711697805672884, -0.0303142499178648, 0.005227117799222469, 0.00534365838393569, -0.024655859917402267, 0.03702235594391823, 0.005659542977809906, -0.002045075176283717, -0.01387818157672882, 0.015349800698459148, -0.0177452489733696, -0.025015059858560562, 0.02202649600803852, 0.0044517419300973415, -0.052163027226924896, 0.03668191656470299, -0.05736351013183594, 0.0061450134962797165, 0.017956722527742386, 0.017963437363505363, -0.004795753862708807, -0.04105602949857712, -0.04585142061114311, 0.00785744097083807, -0.03235754743218422, -0.011416301131248474, -0.02771189622581005, 0.011514660902321339, 0.0510164313018322, -0.011694944463670254, 0.03536197543144226, -0.03590049967169762, -0.029453575611114502, 0.014764000661671162, -0.02668681927025318, -0.06615635007619858, -0.03793938085436821, -0.0010483895894140005, 0.0028383827302604914, 0.004139333497732878, 0.04087352007627487, 0.019174078479409218, -0.00986034981906414, -0.0025914155412465334, 0.0046579292975366116, 0.015669899061322212, 0.009785549715161324, 0.05411399528384209, -0.007245150860399008, 0.016649993136525154, 0.010591561906039715, -0.005492417141795158, -0.05360574647784233, 0.00014063026173971593, 0.007041345816105604, -0.0409238301217556, -0.0035411047283560038, -0.024018311873078346, -0.06271249800920486, -0.002641890197992325, 0.06069997698068619, -0.0018178356112912297, -0.004392388742417097, -0.007600513752549887, -0.021223926916718483, -0.01638520322740078, -0.006475563161075115, 0.07508974522352219, -0.050827834755182266, 0.0072577171958982944, -0.010076683945953846, -0.013647805899381638, -0.009845629334449768, 0.025076959282159805, -0.0517009012401104, -0.023591654375195503, -0.0015067743370309472, 0.022295085713267326, -0.010292807593941689, -0.022645045071840286, -0.011924431659281254, -0.015872757881879807, -0.006242934614419937, -0.012549644336104393, -0.032455090433359146, -0.0047807092778384686, 0.004019245970994234, -0.007579218130558729, -0.0034790816716849804, -0.012157425284385681, 0.019817566499114037, 0.018710318952798843, -0.0077455840073525906, 0.05862779915332794, -0.05160064250230789, 0.04494323581457138, 0.03455109894275665, 0.00994768925011158, -0.0016744246240705252, -0.04401378706097603, 0.012536343187093735, -0.03714846074581146, 0.04647446051239967, -0.011491202749311924, -0.022838609293103218, -0.0361572690308094, 0.03124786540865898, -0.017947549000382423, -0.008539685048162937, -0.024929678067564964, -0.0006557127926498652, 0.021046232432127, 0.04494847357273102, -0.005507695022970438, 0.03558828681707382, -0.03929290920495987, -0.025062041357159615, 0.059977125376462936, -0.028853515163064003, -0.050596319139003754, -0.015837950631976128, -0.04372887685894966, 0.010198724456131458, -0.006797594018280506, 0.01781070977449417, -0.05576784908771515, 0.03011711686849594, 0.03766290843486786, -0.025413798168301582, 0.02437649667263031, -0.01421471405774355, 0.008000750094652176, -0.06125370413064957, 0.0022341497242450714, -0.0984525978565216, -0.004053393844515085, 0.027952702715992928, 0.009302971884608269, 0.002464289078488946, 0.036611758172512054, -0.022079482674598694, 0.0314396508038044, -0.05235867574810982, 0.005677675362676382, 0.06773821264505386, -0.020115476101636887, 0.0002242725167889148, 0.037714388221502304, -0.061700887978076935, 0.023160910233855247, 0.027884887531399727, -0.023624537512660027, 0.0017572244396433234, -0.036896634846925735, 0.03391376882791519, -0.003433151636272669, 0.060786645859479904, -0.01456686295568943, -0.0007310546352528036, 0.06355886161327362, 0.007575339637696743, 0.015032562427222729, 0.08409710228443146, -0.009668567217886448, 0.019987020641565323, 0.03809439018368721, 0.02750481106340885, 0.00015205804083961993, 0.07538507878780365, -0.03051994927227497, -0.049602676182985306, 0.0418652780354023, 0.02136155404150486, -0.013398809358477592, -0.04483754187822342, 0.09340221434831619, 0.012680082581937313, -0.05442461371421814, -0.03993982449173927, 0.043707311153411865, -0.0765136331319809, 0.015678972005844116, -0.02092057652771473, 0.005269832909107208, -0.04456363618373871, 0.05465172603726387, 0.01582222990691662, 0.03763038292527199, 0.05185616761445999, 0.024067705497145653, -0.03677148371934891, 0.018245119601488113, 0.08329937607049942, 0.09144167602062225, 0.04930659756064415, 0.0030144245829433203, 0.03139097988605499, -0.021389106288552284, -0.02845275029540062, -0.008043001405894756, -0.01580733247101307, 0.005741309840232134, 0.011598525568842888, -0.008268802426755428, 0.08671869337558746, -0.031625401228666306, 0.07716764509677887, 0.008897332474589348, -0.022430799901485443, 0.00994222890585661, -0.025901393964886665, 0.035770971328020096, 0.05435832217335701, 0.007906331680715084, 0.03796683996915817, -0.03724740445613861, -0.022588461637496948, 0.028599880635738373, 0.003923898097127676, -0.015390860848128796, -0.0007176970248110592, -0.010817495174705982, 0.031520549207925797, 0.012788410298526287, 0.03642572462558746, 0.0700770691037178, -0.03443359583616257, 0.020680200308561325, 0.008788395673036575, 0.034898363053798676, -0.0010366248898208141, 0.007224527187645435, 0.013268272392451763, -0.030416766181588173, -0.00878792442381382, -0.009093387052416801, -0.031062811613082886, -0.02820199355483055, -0.03039272502064705, 0.026059594005346298, -0.014685966074466705, 0.013260206207633018, 0.035189103335142136, 0.007421047892421484, -0.035473890602588654, -0.049887895584106445, -0.059336815029382706, -0.08687052130699158, -0.06285527348518372, -0.0032913212198764086, 0.011940788477659225, -0.010550906881690025, -0.022660283371806145, -0.012525467202067375, 0.004073100630193949, -0.004737474024295807, 0.031981613487005234, -0.017563749104738235, -0.01544085144996643, 0.01751968450844288, 0.030110705643892288, 0.01951790228486061, 0.021362947300076485, 0.0643325001001358, -0.015339984558522701, -0.0027046669274568558, 0.0007274335948750377, 0.003946281038224697, 0.04282436892390251, 0.01196861732751131, -0.006393110379576683, -0.09029644727706909, 0.0035666762851178646, 0.025123076513409615, -0.005488853435963392, -0.07981213927268982, 0.017046866938471794, 0.019417569041252136, -0.034493234008550644, 0.057204097509384155, -0.023579368367791176, -0.008033782243728638, -0.050147660076618195, 0.016259487718343735, -0.0026408724952489138, 0.018931884318590164, 0.034721314907073975, -0.022453641518950462, 0.08430950343608856, 0.04224240407347679, -0.019393090158700943, -0.015626464039087296, -0.022670526057481766, -0.030568765476346016, -0.005849609617143869, -0.03508182242512703, -0.03235418722033501, -0.04236950725317001, -0.06927189975976944, -0.017885936424136162, 0.006008762866258621, -0.05642044171690941, -0.032068073749542236, -0.035586852580308914, 0.05248643085360527, -0.01579333283007145, 0.04827968776226044, -0.0336020402610302, 0.054840363562107086, -0.011881258338689804, -0.014821330085396767, -0.03526204451918602, 0.031094077974557877, 0.02098712883889675, 0.024829763919115067, 0.04652939736843109, -0.03808484598994255, 0.051752910017967224, -0.011752953752875328, -0.014838757924735546, 0.005506951827555895, 0.01573781855404377, 0.020472262054681778 ]
[ -0.10173941403627396, -0.04186959192156792, -0.009384372271597385, -0.023298075422644615, 0.017551248893141747, -0.04604794457554817, -0.0006215739413164556, -0.008397561497986317, 0.023726770654320717, -0.018308937549591064, 0.039201971143484116, -0.07651298493146896, 0.05356668680906296, -0.021656285971403122, 0.06332596391439438, -0.013419065624475479, -0.08121828734874725, -0.013599918223917484, -0.05453686788678169, -0.03891373425722122, 0.0009797674138098955, -0.005129757337272167, -0.019964395090937614, -0.033715005964040756, 0.03861517831683159, 0.04455246776342392, 0.018678804859519005, -0.014981337822973728, -0.012363667599856853, -0.2615254521369934, -0.002392084803432226, 0.005414386745542288, -0.0042069219052791595, -0.015108984895050526, -0.019247552379965782, 0.05913648381829262, 0.038401808589696884, 0.04523197561502457, 0.01047667395323515, 0.027927467599511147, 0.05599415674805641, 0.026531103998422623, -0.05738592892885208, -0.05415370687842369, 0.009940221905708313, -0.010724681429564953, -0.0007334682741202414, -0.01347441878169775, -0.034110814332962036, 0.02844061516225338, -0.011969678103923798, 0.0030352729372680187, -0.003151901997625828, 0.014393159188330173, 0.06143450736999512, 0.05059834197163582, 0.02836334891617298, 0.12083771079778671, 0.005462059751152992, 0.044611796736717224, 0.028751693665981293, 0.0027713144663721323, -0.13555976748466492, 0.0655360296368599, 0.0021127143409103155, 0.05664506182074547, -0.006672177463769913, -0.019489822909235954, -0.03870603069663048, 0.105767622590065, 0.0061553712002933025, 0.008353135548532009, -0.020480681210756302, 0.06942959129810333, 0.02375873737037182, -0.0387754924595356, -0.08314314484596252, 0.0051439679227769375, 0.05413595214486122, -0.01116966549307108, -0.058890338987112045, -0.006155648268759251, 0.02895059436559677, -0.018328621983528137, 0.02729354053735733, -0.010463772341609001, -0.005157376639544964, 0.02358907274901867, 0.025340860709547997, -0.02164509706199169, 0.035112712532281876, -0.0463268980383873, 0.07112696021795273, 0.03678179159760475, -0.08054178953170776, 0.015767013654112816, 0.005705987103283405, 0.02344648353755474, 0.007129288278520107, 0.37531256675720215, -0.039604123681783676, -0.005949568003416061, 0.0033947168849408627, 0.04556407034397125, -0.002210798906162381, -0.028721459209918976, 0.010192831046879292, -0.04609961807727814, 0.0010265627643093467, -0.007404441945254803, -0.006803315598517656, -0.022095516324043274, 0.057831455022096634, -0.026809263974428177, -0.0027529336512088776, 0.011226369999349117, 0.07025368511676788, 0.06020639091730118, -0.030376704409718513, 0.02656981721520424, 0.027630874887108803, -0.018397295847535133, 0.022955643013119698, 0.011467739939689636, 0.012771212495863438, 0.03942476958036423, 0.003298610681667924, 0.04831765592098236, 0.04936683177947998, -0.021970534697175026, 0.02482008747756481, -0.002895709592849016, -0.0896008238196373, 0.012258230708539486, -0.009681089781224728, -0.0008080932893790305, -0.0247767623513937, -0.06109336018562317, 0.021530067548155785, 0.01614426262676716, 0.004118659067898989, -0.0365896001458168, 0.032834410667419434, -0.025674600154161453, 0.007924177683889866, 0.15342769026756287, -0.02014056406915188, -0.03731038421392441, -0.020400991663336754, -0.032194290310144424, -0.0005550502683036029, 0.004793436732143164, -0.003082005074247718, -0.02924751490354538, 0.0012709759175777435, 0.04288400709629059, 0.08174116909503937, -0.016437286511063576, -0.06466003507375717, 0.022974394261837006, -0.032983191311359406, -0.0016753479139879346, -0.036878474056720734, 0.06587780267000198, 0.036403268575668335, -0.05515984073281288, -0.01406318973749876, -0.01275037880986929, -0.017443306744098663, -0.056630175560712814, -0.045729245990514755, -0.003518632845953107, 0.01738620176911354, 0.02993909642100334, 0.04533052071928978, -0.017876381054520607, -0.04014495760202408, -0.06452314555644989, 0.06221325695514679, 0.020264141261577606, -0.02226692996919155, -0.010990768671035767, -0.06530939042568207, 0.004477750044316053, -0.02696625515818596, -0.059889379888772964, -0.07924753427505493, -0.009368463419377804, -0.028537578880786896, 0.014460927806794643, -0.022663142532110214, 0.016590237617492676, 0.021759020164608955, 0.05743978172540665, -0.03468898683786392, -0.009372197091579437, -0.020281163975596428, -0.017622338607907295, 0.013593240641057491, -0.05294676870107651, -0.018860116600990295, 0.0870990976691246, -0.03589986637234688, -0.0242911484092474, -0.08062411844730377, -0.0067357164807617664, 0.051922865211963654, -0.06065469607710838, 0.0479031540453434, 0.007128302939236164, -0.03052920661866665, 0.007667346857488155, -0.04687141254544258, 0.011462004855275154, 0.01399497501552105, -0.002861481159925461, -0.0128833819180727, -0.024375276640057564, -0.006114784628152847, 0.008624897338449955, -0.043932605534791946, -0.023659324273467064, -0.03351227566599846, -0.3309674561023712, -0.049064770340919495, -0.01209102850407362, -0.005189348012208939, 0.006589923053979874, -0.09662434458732605, 0.0103381909430027, -0.010662965476512909, -0.038582220673561096, 0.0059951297007501125, 0.07251540571451187, -0.014280956238508224, -0.051929134875535965, -0.0057842303067445755, -0.007926635444164276, 0.04224846884608269, 0.006733241491019726, -0.015811551362276077, -0.023864086717367172, 0.025988226756453514, 0.039237864315509796, -0.01707441732287407, -0.0394679456949234, -0.06629860401153564, 0.026345299556851387, -0.04109123349189758, 0.08940815925598145, 0.005180312320590019, 0.04312249273061752, -0.041754499077796936, 0.0410330556333065, 0.010034333914518356, 0.011266951449215412, -0.0780164897441864, 0.004172774031758308, 0.009922130033373833, -0.00818649586290121, -0.02459353394806385, 0.01176745817065239, -0.0018958428408950567, -0.017023582011461258, 0.06568149477243423, -0.08497586846351624, -0.06793761998414993, -0.015697622671723366, -0.008155438117682934, -0.04315052926540375, -0.003145276801660657, 0.015430266968905926, 0.042239245027303696, -0.029109707102179527, 0.005791989620774984, 0.03711622953414917, -0.014358515851199627, 0.04438029229640961, -0.004060049075633287, -0.06526125967502594, -0.050244059413671494, 0.010519945994019508, -0.017637629061937332, 0.035888224840164185, 0.05130753293633461, 0.02925976924598217, -0.04725072905421257, 0.051464978605508804, 0.0016348379431292415, -0.0014259424060583115, 0.003611993743106723, 0.03241094946861267, -0.021104423329234123, -0.036683447659015656, 0.06679840385913849, 0.022700252011418343, 0.0242611113935709, 0.057861726731061935, 0.08227971941232681, -0.0000013703872809855966, 0.04526328667998314, 0.014459040947258472, 0.031848371028900146, 0.00661082286387682, -0.05626298114657402, 0.03916613385081291, 0.002180456882342696, -0.001532412483356893, 0.02684740163385868, 0.007189777679741383, 0.0002892307238653302, -0.0016498361947014928, 0.04023734852671623, -0.012418478727340698, 0.024617129936814308, -0.007439998909831047, -0.03526623174548149, 0.04221620410680771, -0.01252670492976904, -0.2547042667865753, 0.047155387699604034, 0.07662305235862732, 0.03209326043725014, 0.025603219866752625, 0.01713438890874386, 0.03699280694127083, -0.047925349324941635, -0.02620130404829979, 0.00686320336535573, 0.012867316603660583, 0.09344500303268433, 0.011568334884941578, -0.017059113830327988, 0.00906173326075077, 0.00724820839241147, 0.05493389442563057, -0.003374730236828327, 0.06154518947005272, -0.011178373359143734, 0.0010796135757118464, -0.011249628849327564, 0.21018415689468384, 0.0175150316208601, 0.03116760589182377, 0.03885195776820183, -0.043568965047597885, -0.017623556777834892, 0.024785978719592094, 0.01696513406932354, 0.0014515705406665802, 0.03533213958144188, 0.06008775159716606, 0.04545440897345543, 0.004087700508534908, 0.017357921227812767, 0.009517135098576546, 0.03325793147087097, -0.007685498334467411, -0.03870157152414322, -0.005764678120613098, 0.02631690539419651, -0.0798928365111351, 0.025930708274245262, 0.07658807933330536, -0.015870163217186928, 0.009401218965649605, -0.015608454123139381, -0.040145065635442734, -0.015656137838959694, -0.019921576604247093, -0.05162956193089485, 0.0016936929896473885, -0.03166431933641434, 0.011886834166944027, 0.034018922597169876, 0.005720377434045076, -0.04129062592983246, 0.00041130988392978907, 0.01675635389983654, 0.015360205434262753, -0.046222325414419174, 0.11274951696395874, -0.046034835278987885, 0.004485614597797394 ]
[ 0.02579065039753914, 0.003987814765423536, 0.02752617560327053, -0.023761902004480362, 0.021901821717619896, 0.0030127305071800947, -0.018155153840780258, 0.0004922371590510011, -0.025748955085873604, -0.00978014711290598, 0.008239269256591797, 0.00295330211520195, 0.030730878934264183, -0.031827591359615326, 0.023036856204271317, 0.0024393813218921423, -0.0280947033315897, 0.036043621599674225, 0.017951592803001404, -0.006963939405977726, -0.005801638122648001, 0.014185035601258278, 0.01260446384549141, -0.007352032233029604, 0.00033339831861667335, 0.018677379935979843, -0.02346622198820114, 0.015812229365110397, 0.009101636707782745, -0.13362137973308563, -0.05618426948785782, -0.03013937920331955, 0.03456045687198639, 0.02375638671219349, -0.03453178331255913, 0.03345825895667076, -0.010635529644787312, 0.03182066231966019, 0.01696806028485298, -0.005003071390092373, 0.0023832067381590605, 0.012448874302208424, -0.025079989805817604, 0.003442260203883052, 0.013192370533943176, 0.05012739077210426, -0.022712334990501404, -0.044156935065984726, -0.017638711258769035, 0.052456289529800415, -0.05001559853553772, 0.0069796540774405, 0.022197680547833443, -0.008296417072415352, 0.029579197987914085, 0.003999269101768732, -0.08331381529569626, -0.029196858406066895, 0.03278134763240814, -0.052683889865875244, -0.005720981862396002, 0.0206978190690279, -0.04303049296140671, -0.027734864503145218, -0.001886550453491509, -0.04014391824603081, 0.015677280724048615, 0.03220728039741516, 0.00610703369602561, 0.01936682127416134, 0.06309936940670013, 0.027209287509322166, -0.004661598242819309, -0.07861129939556122, -0.024006396532058716, 0.0530918724834919, -0.03284463658928871, -0.04316568374633789, -0.010626700706779957, -0.019677121192216873, -0.0038016827311366796, -0.024583877995610237, 0.01793956197798252, 0.00493963435292244, 0.021860355511307716, -0.030038543045520782, 0.0027385451830923557, -0.05832356587052345, 0.02496449463069439, 0.017284149304032326, -0.023191191256046295, 0.02056315168738365, 0.03518540412187576, 0.011987472884356976, -0.05629099905490875, 0.029801052063703537, -0.020637312904000282, -0.005827795714139938, 0.004488716367632151, 0.8253909945487976, -0.0016956296749413013, 0.038647573441267014, 0.01600170135498047, -0.04478907585144043, -0.0018372959457337856, -0.014005647040903568, -0.011313077993690968, -0.023062996566295624, -0.015471735037863255, 0.03087262250483036, 0.02180691622197628, -0.013468312099575996, 0.03879717364907265, -0.006117512937635183, 0.001649260986596346, 0.029246686026453972, 0.035426199436187744, 0.036735616624355316, 0.02464463748037815, 0.018574276939034462, 0.03662138432264328, 0.011692308820784092, -0.021181916818022728, 0.0005778480553999543, -0.01543072983622551, -0.1478700041770935, -0.029516659677028656, -7.036047067805546e-33, 0.032081060111522675, -0.012125750072300434, 0.0032944832928478718, -0.020706286653876305, -0.018607718870043755, -0.01591479778289795, -0.004982524085789919, -0.03770911321043968, -0.08059162646532059, -0.029982304200530052, -0.014046791009604931, 0.03251872584223747, -0.02985360100865364, -0.008169465698301792, 0.00023203194723464549, -0.01599845476448536, 0.019558604806661606, 0.051713913679122925, -0.01253837626427412, -0.013080976903438568, 0.011696042492985725, 0.02953714318573475, -0.01266453042626381, 0.006609838455915451, 0.025323862209916115, 0.02991335093975067, -0.0013038702309131622, 0.003163996385410428, -0.00525518087670207, -0.04327680543065071, -0.01909015327692032, 0.01697354204952717, -0.01107777189463377, 0.007712762337177992, 0.030194945633411407, -0.03211846575140953, 0.013482161797583103, 0.008634470403194427, -0.060823068022727966, -0.054627709090709686, -0.02833486720919609, -0.029714835807681084, -0.056933868676424026, -0.057340774685144424, 0.01155355665832758, -0.04213027283549309, -0.006205124780535698, 0.034049712121486664, 0.006271976977586746, 0.030682941898703575, 0.009565324522554874, -0.016637258231639862, -0.02744103968143463, 0.012591568753123283, -0.034192536026239395, -0.013052538968622684, -0.041753318160772324, -0.006925923749804497, -0.013598593883216381, 0.02089151367545128, 0.008196382783353329, 0.008705804124474525, 0.0013072071596980095, 0.03935924172401428, 0.011040880344808102, -0.006992068607360125, -0.004967093467712402, 0.021203167736530304, 0.021402807906270027, -0.0010624380083754659, -0.013188724406063557, 0.004303992260247469, -0.0077454387210309505, 0.009360325522720814, 0.023628169670701027, -0.031161334365606308, -0.0207859855145216, -0.03823356702923775, -0.003981872461736202, 0.044588588178157806, 0.021816859021782875, -0.03221528232097626, -0.006078563630580902, -0.007827040739357471, -0.004466560203582048, 0.029599234461784363, 0.010460004210472107, 0.017741143703460693, -0.00057596544502303, 0.006818640977144241, 0.029161514714360237, 0.012072890996932983, 0.013321571983397007, -0.0026825140230357647, -0.04436272755265236, 6.795041338528207e-33, -0.026493549346923828, -0.027908969670534134, 0.05017082393169403, 0.01922561414539814, -0.010580466128885746, -0.02001038007438183, 0.05758754536509514, -0.039365388453006744, -0.025716358795762062, 0.026596076786518097, -0.03384636715054512, -0.05416877195239067, 0.0206452589482069, 0.0020045950077474117, 0.045341119170188904, -0.014485043473541737, 0.030992617830634117, 0.007870927453041077, -0.0014648117357864976, 0.0131311547011137, 0.033011604100465775, -0.003348932135850191, 0.03237169235944748, 0.04004230350255966, 0.003806514199823141, 0.03120848722755909, -0.019572388380765915, 0.005459032021462917, -0.014468972571194172, -0.01279918011277914, 0.0238818172365427, -0.04204200953245163, -0.0004401965416036546, 0.00332422717474401, 0.01772390864789486, 0.027700798586010933, -0.015186332166194916, -0.006661597639322281, 0.024492884054780006, 0.012897797860205173, -0.018506469205021858, -0.04210812598466873, 0.004554185084998608, -0.00023184659949038178, 0.02499859780073166, -0.014829668216407299, 0.02299225702881813, -0.012273672968149185, 0.03701726719737053, -0.05786667391657829, 0.02860749140381813, 0.044786788523197174, -0.014948278665542603, -0.006769153755158186, 0.013425560668110847, -0.02552046999335289, -0.019981887191534042, 0.04231636971235275, -0.03781542181968689, -0.013438505120575428, 0.022621169686317444, -0.04548485204577446, 0.005200313404202461, 0.04289834946393967, -0.017132628709077835, -0.013550193049013615, -0.008081994019448757, -0.027241293340921402, -0.020129403099417686, 0.009062032215297222, -0.01973665878176689, 0.0026068505831062794, 0.001004762016236782, 0.04385097697377205, 0.004094101954251528, 0.003953137900680304, -0.005666372366249561, 0.02728095091879368, 0.05147399753332138, 0.0164825227111578, 0.0045490507036447525, -0.009067975915968418, 0.007467275019735098, 0.036352790892124176, 0.009684900753200054, 0.010901662521064281, 0.010982508771121502, 0.015397491864860058, 0.02733248472213745, -0.017935525625944138, 0.026978928595781326, -0.056540921330451965, -0.03253331035375595, 0.04806755483150482, -0.03160104528069496, -1.2730480669631561e-8, 0.006768431514501572, 0.008982757106423378, -0.026083318516612053, 0.034515220671892166, 0.0002188214275520295, -0.0028992844745516777, 0.00573847396299243, -0.007052785716950893, -0.01833982765674591, -0.025700347498059273, 0.0036620772443711758, 0.023925192654132843, 0.01012254785746336, 0.016462339088320732, 0.04383889585733414, -0.05984753370285034, 0.022767385467886925, 0.0043168156407773495, 0.04073996841907501, -0.02621137723326683, -0.03352086618542671, 0.04056469351053238, -0.012041114270687103, 0.010149548761546612, -0.012731692753732204, 0.016207817941904068, 0.011561475694179535, -0.07966478914022446, 0.01991390623152256, -0.024528104811906815, 0.07041912525892258, -0.03161776438355446, -0.018526168540120125, -0.00676342099905014, 0.008758890442550182, -0.0276530459523201, 0.008832696825265884, 0.02057250402867794, -0.01473250612616539, 0.02566615305840969, -0.01702960580587387, 0.05025646463036537, -0.011478065513074398, -0.026848535984754562, -0.011736496351659298, 0.006945142522454262, -0.006975885014981031, 0.0064126234501600266, -0.0162563007324934, -0.022932173684239388, 0.0303041934967041, -0.0009823836153373122, 0.047891780734062195, 0.013323213905096054, 0.012805497273802757, 0.018414199352264404, 0.019777150824666023, -0.02391102723777294, -0.05138024315237999, -0.0074242823757231236, 0.020764322951436043, -0.007066406775265932, -0.06005125492811203, -0.028798971325159073 ]
clojure-merge-two-maps-but-only-keep-the-keys-of-one-of-them
https://markhneedham.com/blog/2013/09/17/clojure-merge-two-maps-but-only-keep-the-keys-of-one-of-them
false
2013-09-17 00:24:48
Clojure: Updating keys in a map
[ "clojure" ]
[ "Clojure" ]
I've been playing with Clojure over the last few weeks and as a result I've been using a lot of maps to represent the data. For example if we have the following map of teams to http://www.glicko.net/glicko/glicko.pdf[Glicko] ratings and ratings deviations: [source,lisp] ---- (def teams { "Man. United" {:points 1500 :rd 350} "Man. City" {:points 1450 :rd 300} }) ---- We might want to increase Man. United's points score by one for which we could use the +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/update-in[update-in]+++</cite>+++ function: [source,lisp] ---- > (update-in teams ["Man. United" :points] inc) {"Man. United" {:points 1501, :rd 350}, "Man. City" {:points 1450, :rd 300}} ---- The 2nd argument to +++<cite>+++update-in+++</cite>+++ is a nested associative structure i.e. a sequence of keys into the map in this instance. If we wanted to reset Man. United's points score we could use +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/assoc-in[assoc-in]+++</cite>+++: [source,lisp] ---- > (assoc-in teams ["Man. United" :points] 1) {"Man. United" {:points 1, :rd 350}, "Man. City" {:points 1450, :rd 300}} ---- If we want to update multiple keys at once then we can chain them using the http://clojuredocs.org/clojure_core/clojure.core/-%3E[\->] (thread first) macro: [source,lisp] ---- (-> teams (assoc-in ["Man. United" :points] 1600) (assoc-in ["Man. United" :rd] 200)) {"Man. United" {:points 1600, :rd 200}, "Man. City" {:points 1450, :rd 300}} ---- If instead of replacing just one part of the value we want to replace the whole entry we could use +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/assoc[assoc]+++</cite>+++ instead: [source,lisp] ---- > (assoc teams "Man. United" {:points 1600 :rd 300}) {"Man. United" {:points 1600, :rd 300}, "Man. City" {:points 1450, :rd 300}} ---- +++<cite>+++assoc+++</cite>+++ can also be used to add a new key/value to the map. e.g. [source,lisp] ---- > (assoc teams "Arsenal" {:points 1500 :rd 330}) {"Man. United" {:points 1500, :rd 350}, "Arsenal" {:points 1500, :rd 330}, "Man. City" {:points 1450, :rd 300}} ---- +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/dissoc[dissoc]+++</cite>+++ plays the opposite role and returns a new map without the specified keys: [source,lisp] ---- > (dissoc teams "Man. United" "Man. City") {} ---- And those are all the map based functions I've played around with so far\...
null
null
[ -0.008949915878474712, -0.0018207451794296503, -0.01881733164191246, 0.020631028339266777, 0.07846596837043762, -0.010965220630168915, 0.007932240143418312, 0.030314093455672264, 0.00621976051479578, -0.031981777399778366, -0.006303030531853437, -0.022285891696810722, -0.06807857006788254, 0.0265475045889616, 0.0010943872621282935, 0.054604265838861465, 0.05319138616323471, -0.01004175003618002, 0.005119894631206989, -0.0003122231282759458, 0.04399864003062248, 0.0821344405412674, 0.010355637408792973, 0.011816730722784996, 0.018385840579867363, -0.005127475596964359, 0.010812784545123577, 0.012641947716474533, -0.058319300413131714, 0.008453212678432465, 0.02212306298315525, 0.004973137751221657, -0.014151484705507755, 0.008874127641320229, 0.03103143535554409, -0.02654220722615719, -0.012366356328129768, -0.00007856977026676759, -0.00028346924227662385, -0.008709335699677467, -0.05574658140540123, 0.04119248688220978, -0.019599802792072296, 0.006574979051947594, -0.030285416170954704, 0.02868666686117649, -0.0810212567448616, 0.04022844880819321, -0.015194145031273365, -0.016616545617580414, -0.05477811023592949, -0.004465306177735329, -0.010417616926133633, -0.012068443931639194, -0.019517356529831886, 0.028096748515963554, 0.023397577926516533, -0.08140125870704651, 0.04768073186278343, -0.020336121320724487, -0.021380189806222916, 0.007923233322799206, 0.031294818967580795, 0.038351431488990784, 0.014269815757870674, -0.03678913414478302, -0.04240748658776283, 0.03624339401721954, -0.06326501071453094, -0.006880621891468763, -0.0030834865756332874, -0.008969105780124664, -0.020945247262716293, -0.022659439593553543, 0.008485943078994751, -0.06026862561702728, 0.0009990662802010775, 0.06159736588597298, -0.006170979235321283, 0.045475803315639496, -0.026610542088747025, 0.018072273582220078, 0.012017185799777508, 0.01917518675327301, -0.01338597945868969, -0.016207586973905563, -0.049173783510923386, -0.009239391423761845, -0.05564979463815689, 0.05200063809752464, 0.0002725569356698543, -0.050665225833654404, -0.008400633931159973, 0.004268520511686802, -0.0019602880347520113, -0.016665499657392502, 0.007700542453676462, 0.03188403695821762, 0.007544427644461393, -0.013752883300185204, -0.0063910107128322124, -0.03460576757788658, 0.0028916196897625923, 0.014627392403781414, -0.10345018655061722, -0.013956161215901375, -0.020235754549503326, -0.023869328200817108, 0.023571094498038292, -0.015347396023571491, -0.05066809058189392, -0.0036843486595898867, -0.004600474610924721, 0.00827948097139597, -0.060684263706207275, 0.060176823288202286, 0.017631202936172485, -0.025192514061927795, -0.03477032482624054, 0.025309618562459946, 0.03280344977974892, 0.022141151130199432, 0.02351832389831543, 0.07279326021671295, -0.006346911657601595, 0.025407809764146805, -0.011568449437618256, 0.05439357832074165, 0.0020940364338457584, -0.05867941677570343, -0.031043998897075653, 0.06518100947141647, -0.03909594565629959, 0.002856168895959854, -0.0053842393681406975, -0.054503947496414185, -0.023321831598877907, 0.010041894391179085, 0.054650213569402695, 0.023419342935085297, 0.02149711176753044, 0.002307308604940772, 0.013943837955594063, 0.010256321169435978, 0.048181310296058655, 0.019916750490665436, -0.024341601878404617, -0.004295902792364359, -0.02022072672843933, 0.03189606964588165, 0.023775409907102585, 0.031979553401470184, 0.05646146461367607, -0.014912123791873455, 0.02751157432794571, 0.09643824398517609, 0.02723974920809269, 0.027111181989312172, -0.013358666561543941, 0.026232263073325157, 0.027735821902751923, 0.021349618211388588, 0.0021313743200153112, 0.02873721905052662, -0.003724524052813649, -0.02492726780474186, 0.01237785629928112, 0.059752847999334335, 0.0036084072198718786, -0.00842100940644741, -0.04649091511964798, -0.06372959911823273, 0.06910087168216705, -0.011913510970771313, -0.004699030425399542, 0.04787326976656914, 0.10522564500570297, 0.03395002707839012, 0.07114486396312714, -0.011616118252277374, -0.08328431099653244, 0.03474877402186394, 0.023955991491675377, 0.018236124888062477, 0.01784861832857132, -0.018340332433581352, 0.07672470808029175, 0.013661625795066357, 0.016204731538891792, 0.03175845742225647, -0.050520699471235275, -0.07617218047380447, -0.019042570143938065, -0.019610857591032982, 0.07498908042907715, -0.03357744216918945, 0.018067490309476852, 0.06533394753932953, 0.012476840987801552, 0.055418968200683594, 0.031744036823511124, 0.025024481117725372, 0.05827260762453079, -0.05436306446790695, -0.027325937524437904, 0.04162284731864929, 0.03342628851532936, -0.03235039860010147, -0.05545954406261444, 0.026820696890354156, -0.028526542708277702, 0.0072734360583126545, 0.04004286602139473, -0.018903104588389397, 0.024558670818805695, -0.007791517768055201, 0.048626914620399475, -0.013534542173147202, 0.03781741112470627, -0.028821483254432678, 0.016929998993873596, 0.030653540045022964, -0.013019893318414688, 0.030963102355599403, 0.00047123353579081595, 0.1184588074684143, 0.04816621541976929, 0.0022824693005532026, -0.05472075566649437, 0.018727390095591545, 0.0015502477763220668, -0.036238472908735275, -0.010204552672803402, -0.02194184996187687, 0.015405835583806038, 0.005535599309951067, -0.027118412777781487, -0.00843677669763565, 0.007044692523777485, -0.049811720848083496, -0.014841393567621708, 0.07843830436468124, -0.017871517688035965, 0.06645553559064865, 0.0301960501819849, -0.016948914155364037, -0.004886333364993334, -0.03808196261525154, -0.06032368913292885, 0.0008696314762346447, -0.009377500973641872, -0.028051381930708885, 0.053949251770973206, -0.028841819614171982, -0.0405205637216568, -0.0336567759513855, -0.011525025591254234, 0.019515927881002426, 0.03671669960021973, 0.06494547426700592, -0.006183667108416557, 0.0510612316429615, -0.04735438525676727, -0.0005606419290415943, -0.03622688725590706, -0.06827324628829956, -0.026732804253697395, -0.02475939318537712, -0.006450789514929056, 0.017830800265073776, 0.011763406917452812, -0.0009122207411564887, 0.03710707277059555, 0.0024139941670000553, -0.0041256071999669075, 0.008254939690232277, 0.009011360816657543, 0.009874235838651657, -0.046602942049503326, -0.02901396155357361, -0.029789963737130165, 0.046772126108407974, -0.0215664841234684, -0.029011445119976997, 0.011451021768152714, -0.05582883581519127, 0.046666938811540604, -0.06769843399524689, -0.014614995568990707, -0.002456177258864045, 0.011846200563013554, 0.02614882029592991, -0.025278422981500626, 0.021132325753569603, 0.042714618146419525, 0.01963343285024166, 0.009696576744318008, 0.003351817140355706, -0.0009317492367699742, 0.024814682081341743, -0.020425163209438324, 0.008667096495628357, 0.04006299749016762, -0.005551330745220184, 0.006030789576470852, -0.033988453447818756, 0.011873193085193634, -0.008718372322618961, -0.2760905921459198, 0.017750924453139305, -0.03655814751982689, -0.017619777470827103, 0.022324973717331886, -0.0021766398567706347, 0.0023053435143083334, -0.054434750229120255, -0.02134687826037407, -0.0017109806649386883, -0.008287003263831139, -0.025549398735165596, -0.021307023242115974, 0.05016506463289261, 0.024257903918623924, 0.01596633531153202, 0.00284547358751297, -0.044560302048921585, -0.020403830334544182, 0.06093940883874893, 0.01820518635213375, -0.07772679626941681, -0.0019635034259408712, 0.04884729161858559, 0.001141661312431097, 0.042411044239997864, -0.0778622031211853, 0.02802678570151329, -0.0445827916264534, -0.033303599804639816, 0.014255424030125141, -0.026891348883509636, 0.01824643276631832, -0.03716845437884331, -0.027564270421862602, -0.03911852091550827, 0.022922612726688385, 0.0056458162143826485, 0.014579412527382374, -0.005106304306536913, -0.01139841228723526, -0.01977170631289482, -0.003014173125848174, -0.019054874777793884, 0.08831967413425446, -0.01215309463441372, -0.08140857517719269, -0.0011725140502676368, -0.027976930141448975, 0.08259227126836777, -0.010713203810155392, -0.04303104802966118, -0.008363228291273117, 0.05964011698961258, -0.014755419455468655, -0.03291969373822212, -0.001323817647062242, -0.02134287729859352, -0.04483408480882645, -0.012064161710441113, -0.028400251641869545, -0.06542469561100006, 0.005680818110704422, -0.045759882777929306, -0.025395847856998444, -0.059892747551202774, -0.08738412708044052, 0.004026414360851049, 0.040304720401763916, 0.019599346444010735, -0.0430799201130867, 0.001603101147338748, -0.027349388226866722, -0.10290364176034927, -0.025805026292800903, -0.03314877673983574, -0.016917314380407333, -0.02081357315182686, -0.005646365229040384, 0.04989946261048317, -0.050656285136938095, -0.04487963393330574, 0.0010459928307682276, 0.03721429407596588, 0.05276503786444664, -0.019346030429005623, 0.01826157420873642, 0.009180868044495583, -0.019176708534359932, -0.025821397081017494, 0.052681758999824524, -0.01914159767329693, 0.0018137837760150433, -0.012644443660974503, -0.00310173025354743, 0.005229379516094923, 0.02163989283144474, -0.006466283462941647, 0.019590815529227257, 0.055260177701711655, 0.02687114290893078, -0.0401785783469677, 0.0231435876339674, -0.012282405979931355, -0.03619106486439705, 0.01533670537173748, -0.06353779882192612, 0.015084064565598965, 0.030245525762438774, 0.02921488881111145, -0.026985257863998413, -0.029826700687408447, 0.015759333968162537, -0.07385346293449402, -0.03734458237886429, -0.0062759043648839, 0.019148198887705803, 0.033589255064725876, 0.027907220646739006, -0.004941437393426895, -0.09011386334896088, 0.03524623066186905, 0.005642389412969351, -0.03086903505027294, -0.06713534891605377, -0.019970765337347984, -0.010390848852694035, -0.028090620413422585, 0.018490241840481758, 0.018096324056386948, -0.010018748231232166, 0.0250632893294096, 0.032050587236881256, -0.036940984427928925, 0.035404786467552185, -0.02924337610602379, -0.043401431292295456, -0.016516176983714104, -0.01656438037753105, 0.004729998763650656, -0.009160617366433144, -0.0046343435533344746, 0.030453266575932503, 0.017942680045962334, 0.0015004853485152125, -0.017906805500388145, 0.015397007577121258, -0.0045154280960559845, -0.006019604858011007, 0.034682922065258026, 0.007545036729425192, -0.03235461190342903, 0.03416234254837036, -0.03732922673225403, 0.0038745757192373276, 0.00591563293710351, 0.030307848006486893, -0.030678384006023407, -0.029355647042393684, -0.04259801283478737, 0.008614473976194859, -0.029441960155963898, -0.006700492464005947, -0.016626594588160515, 0.0037274810019880533, 0.06581371277570724, -0.014666280709207058, 0.025133701041340828, -0.01609421893954277, -0.009016867727041245, 0.01767311617732048, -0.029219746589660645, -0.054282642900943756, -0.010962147265672684, -0.0189235657453537, -0.014931577257812023, -0.0019113023299723864, 0.03715719282627106, 0.03127129375934601, -0.002761255018413067, -0.0190229844301939, -0.0037926521617919207, 0.02010861411690712, 0.015291614457964897, 0.05152805149555206, 0.009601008147001266, 0.010848666541278362, 0.020508065819740295, -0.00205242563970387, -0.056231774389743805, 0.005610485561192036, 0.008508496917784214, -0.0306380707770586, -0.013986119069159031, -0.028946802020072937, -0.06977517157793045, 0.00916591752320528, 0.04745202884078026, 0.00034079005126841366, -0.013741805218160152, 0.002849764656275511, -0.006010792683809996, -0.03670771047472954, 0.013662184588611126, 0.07101266831159592, -0.055143874138593674, 0.0006307525327429175, -0.008612817153334618, 0.0039619263261556625, 0.005248761735856533, 0.007085316814482212, -0.048674359917640686, -0.020949553698301315, -0.004555428866297007, 0.011403324082493782, -0.023319313302636147, -0.026679469272494316, -0.014880054630339146, -0.011735436506569386, -0.003604949451982975, -0.0025267251767218113, -0.026634689420461655, -0.001037606387399137, -0.01912902295589447, -0.024044033139944077, -0.001858872827142477, -0.013931668363511562, 0.024954745545983315, 0.01967962458729744, -0.016562609001994133, 0.047138795256614685, -0.03706247732043266, 0.0385759212076664, 0.020906543359160423, 0.0019783740863204002, -0.0064399344846606255, -0.041039709001779556, 0.03402351960539818, 0.0010085802059620619, 0.05314124375581741, -0.017998484894633293, -0.02576325088739395, -0.04814470186829567, 0.005838023032993078, -0.020862063392996788, -0.013567785732448101, -0.014446903951466084, 0.004015298094600439, 0.013002499006688595, 0.03892430290579796, -0.002930586226284504, 0.04609924182295799, -0.0287490151822567, -0.030414672568440437, 0.06150678172707558, -0.03126628324389458, -0.03735065460205078, -0.02427498996257782, -0.030271150171756744, 0.008514946326613426, 0.001911832601763308, 0.005714987870305777, -0.04757509008049965, 0.053173381835222244, 0.03687397763133049, 0.01092266384512186, 0.017776206135749817, -0.012831087224185467, 0.021755103021860123, -0.05486764386296272, 0.004670183639973402, -0.09298728406429291, 0.013202355243265629, 0.04237690195441246, 0.00007093920430634171, -0.02796289697289467, 0.026390735059976578, -0.04643746837973595, 0.02668112702667713, -0.047332655638456345, -0.008922817185521126, 0.051099397242069244, -0.017941338941454887, 0.00999407097697258, 0.03039955161511898, -0.05954738333821297, 0.024751853197813034, 0.05088796839118004, -0.04866946488618851, -0.003396340413019061, -0.03481072559952736, 0.045663461089134216, -0.014214258641004562, 0.05678459629416466, -0.021715540438890457, 0.00938186701387167, 0.07532503455877304, 0.027048053219914436, 0.000544700538739562, 0.07398537546396255, -0.020151790231466293, 0.035790082067251205, 0.026848474517464638, -0.006199427880346775, -0.003719150787219405, 0.03561718761920929, -0.032121602445840836, -0.06475713104009628, 0.02509322389960289, 0.023561330512166023, -0.017888324335217476, -0.04553255811333656, 0.08954118192195892, 0.024195201694965363, -0.036551911383867264, -0.042305003851652145, 0.03565489500761032, -0.07911500334739685, 0.007377151865512133, -0.01268297154456377, 0.007451175712049007, -0.039961107075214386, 0.06909006834030151, 0.0019521844806149602, 0.030064834281802177, 0.06233697384595871, 0.023241691291332245, -0.03865763917565346, 0.004443068522959948, 0.08745982497930527, 0.08229721337556839, 0.06685224175453186, 0.004432820249348879, 0.049463845789432526, -0.02810896560549736, -0.026520753279328346, -0.004780318588018417, 0.0021761488169431686, 0.008502990938723087, -0.0012862862786278129, 0.008884254842996597, 0.08223722875118256, -0.02648683823645115, 0.06554931402206421, -0.002595580881461501, -0.025410456582903862, 0.01966107077896595, 0.0071241906844079494, 0.04473636671900749, 0.06807830929756165, 0.016052069142460823, 0.04369518905878067, -0.012054389342665672, -0.031006937846541405, 0.03604121133685112, -0.006140328478068113, -0.004567669238895178, -0.0030378522351384163, -0.02111513912677765, 0.051743317395448685, 0.016370994970202446, 0.06265176087617874, 0.08364512026309967, -0.03183146193623543, 0.001344914548099041, 0.013215730898082256, 0.026858557015657425, -0.0018051988445222378, 0.030413711443543434, -0.003729467047378421, -0.029232796281576157, -0.009404025971889496, -0.037224769592285156, -0.030650384724140167, -0.02047470584511757, -0.03500136733055115, 0.022577032446861267, -0.0024852536153048277, -0.015437732450664043, 0.02234460413455963, 0.010949273593723774, -0.035836637020111084, -0.06043372303247452, -0.05384458601474762, -0.05812564119696617, -0.06115817278623581, 0.002093780552968383, 0.012041312642395496, -0.013712964951992035, -0.03343022242188454, -0.01780802011489868, -0.011774466373026371, 0.0032231216318905354, 0.013192638754844666, -0.03454471752047539, 0.00202433904632926, 0.029485538601875305, 0.04160630330443382, 0.031982969492673874, 0.008836745284497738, 0.05453996732831001, -0.013531938195228577, 0.006707838736474514, 0.009759492240846157, 0.015144706703722477, 0.03468474745750427, 0.0011009520385414362, -0.0021952467504888773, -0.09507680684328079, 0.0022895142901688814, 0.03910768777132034, 0.009957811795175076, -0.09143368154764175, 0.02759956754744053, 0.02031414583325386, -0.010261586867272854, 0.029878491535782814, -0.0145286088809371, 0.0034189114812761545, -0.03846407309174538, 0.007462169509381056, 0.017605634406208992, 0.03079252876341343, 0.038947079330682755, -0.018127458170056343, 0.08164510130882263, 0.030125007033348083, -0.03753022849559784, -0.03273559734225273, -0.0338904969394207, -0.019244613125920296, -0.005696699023246765, -0.03609498217701912, -0.032924167811870575, -0.045109715312719345, -0.08950220048427582, -0.01664772257208824, 0.003216448239982128, -0.05981042608618736, -0.028508903458714485, -0.022551920264959335, 0.03555765375494957, -0.022450901567935944, 0.049466896802186966, -0.046612925827503204, 0.04294055700302124, -0.018114229664206505, -0.004415369592607021, -0.029670465737581253, 0.011754517443478107, 0.005307275336235762, 0.03852242976427078, 0.03043227456510067, -0.03691055625677109, 0.02392278052866459, -0.003255168441683054, 0.00795550923794508, 0.008566068485379219, -0.0075637297704815865, 0.02641681581735611 ]
[ -0.09844692051410675, -0.04148455336689949, -0.019792990759015083, -0.034455761313438416, 0.03281515836715698, -0.021126441657543182, 0.0015773283084854484, 0.014181959442794323, 0.012229294516146183, -0.005409277509897947, -0.0038978001102805138, -0.07163866609334946, 0.0167983490973711, -0.0010883829090744257, 0.0848233625292778, -0.007442666217684746, -0.04800429195165634, -0.032856106758117676, -0.05080648884177208, 0.004987586289644241, 0.007998610846698284, -0.02412082999944687, -0.01406048983335495, -0.030540676787495613, 0.03794000670313835, 0.029805198311805725, 0.046584710478782654, -0.047670502215623856, -0.019424814730882645, -0.24016737937927246, -0.004447221755981445, -0.0011843874817714095, 0.04535438120365143, -0.03206978365778923, -0.012313931249082088, 0.06863562762737274, 0.02380228601396084, 0.035304367542266846, -0.005165658891201019, 0.03874606266617775, 0.05663827434182167, 0.017359357327222824, -0.052129678428173065, -0.062276773154735565, 0.041784852743148804, 0.0027952080126851797, 0.005416790023446083, -0.012650223448872566, -0.028033209964632988, 0.03468708321452141, -0.04563504830002785, -0.02099648304283619, 0.014316144399344921, 0.009281260892748833, 0.033041443675756454, 0.04420987144112587, 0.022294078022241592, 0.09551804512739182, 0.031139550730586052, 0.030613407492637634, 0.005531271919608116, 0.005982951261103153, -0.1340082436800003, 0.07869023829698563, 0.013138051144778728, 0.06635896116495132, -0.011741681955754757, 0.0010848139645531774, -0.04684743657708168, 0.09550898522138596, 0.019497549161314964, -0.02132404036819935, -0.001170374802313745, 0.06445353478193283, 0.02587387152016163, -0.029989615082740784, -0.04349668696522713, 0.0034091973211616278, 0.04834365472197533, -0.022764822468161583, -0.058420222252607346, -0.0055738333612680435, -0.009150763042271137, -0.022296540439128876, 0.020654743537306786, -0.0017904631095007062, -0.02823774702847004, 0.06408940255641937, 0.02450469881296158, 0.0007147523574531078, 0.02596421167254448, -0.009442250244319439, 0.05625911429524422, 0.03789032623171806, -0.09414544701576233, -0.006609046831727028, -0.010274557396769524, 0.013495834544301033, -0.0382472388446331, 0.39129817485809326, -0.03155190125107765, -0.02640542760491371, 0.040511030703783035, 0.047916997224092484, 0.015193809755146503, -0.015344315208494663, 0.012149835005402565, -0.05329910293221474, 0.005418578628450632, -0.013610709458589554, -0.01576286554336548, -0.0207302737981081, 0.04853462800383568, -0.036435507237911224, -0.015325048007071018, 0.0028703531716018915, 0.062138739973306656, 0.04349491000175476, -0.019198156893253326, 0.021002719178795815, 0.019605223089456558, 0.009358802810311317, 0.025490889325737953, -0.008075321093201637, 0.01136397197842598, 0.03086746111512184, 0.02616840787231922, 0.05479047819972038, 0.03733213245868683, 0.02080094814300537, 0.013941235840320587, -0.0012030439684167504, -0.09687547385692596, 0.023155441507697105, -0.003429514355957508, -0.010930527932941914, 0.0008613718673586845, -0.06318221986293793, 0.0047406298108398914, 0.03569988161325455, -0.012397750280797482, -0.020505674183368683, 0.034842852503061295, -0.023086516186594963, -0.043151769787073135, 0.13849367201328278, -0.005393520463258028, -0.02280811220407486, -0.01633550226688385, -0.046154122799634933, -0.012391139753162861, 0.026297399774193764, -0.0013883475912734866, -0.04878975450992584, -0.0055844662711024284, 0.034444522112607956, 0.08513293415307999, -0.04213976860046387, -0.06997886300086975, 0.004399374593049288, -0.04769248142838478, -0.023526296019554138, -0.04635150358080864, 0.05930183455348015, 0.019275737926363945, -0.06855247914791107, -0.017504733055830002, 0.004445721860975027, -0.003877440467476845, -0.06578744947910309, -0.019227860495448112, 0.03501436859369278, 0.014807328581809998, 0.02704791910946369, 0.05360108241438866, -0.02933408133685589, -0.04774652421474457, -0.04147757962346077, 0.06866726279258728, 0.012336065992712975, -0.039991773664951324, 0.012849374674260616, -0.05489761754870415, 0.029787937179207802, -0.027342306450009346, -0.045936521142721176, -0.06646259874105453, -0.017474889755249023, -0.02506204880774021, 0.010769762098789215, -0.02554381638765335, 0.013120142742991447, -0.028105955570936203, 0.06563147157430649, -0.03486883267760277, -0.014313980005681515, -0.010337247513234615, 0.0025781120639294386, -0.02129831537604332, -0.04400883987545967, -0.02151242084801197, 0.07005172967910767, -0.020811235532164574, -0.003624663222581148, -0.06567404419183731, -0.012118613347411156, 0.032737646251916885, -0.0619037039577961, 0.06893644481897354, 0.0342661514878273, -0.025040464475750923, 0.00842493399977684, -0.012494527734816074, 0.026924487203359604, -0.010189823806285858, 0.005419516935944557, -0.02586563117802143, -0.043880585581064224, 0.017375705763697624, 0.022646429017186165, -0.042635753750801086, -0.023731272667646408, -0.04927458614110947, -0.36371666193008423, -0.04024939611554146, 0.003679427783936262, -0.008584252558648586, 0.02057049237191677, -0.08305250108242035, 0.00013843478518538177, -0.009344721212983131, -0.03149723634123802, 0.014235624112188816, 0.09513576328754425, -0.038622867316007614, -0.041925493627786636, -0.050169385969638824, 0.005109154153615236, 0.022642485797405243, -0.02839909866452217, -0.014678120613098145, -0.029699327424168587, 0.03318730369210243, 0.020679745823144913, -0.024874072521924973, -0.023385364562273026, -0.06433938443660736, 0.002328663831576705, -0.036166951060295105, 0.09619861841201782, 0.007894286885857582, 0.05084320902824402, -0.042303137481212616, 0.04844523221254349, -0.002566355047747493, -0.0020043354015797377, -0.07570751756429672, 0.008773907087743282, -0.009997171349823475, -0.009700033813714981, -0.008822998963296413, 0.0006452802917920053, -0.016759293153882027, -0.04185589402914047, 0.04171023890376091, -0.06536450237035751, -0.04971158131957054, -0.054654840379953384, 0.017231523990631104, -0.019107982516288757, -0.01824399270117283, 0.002713399939239025, 0.05810707062482834, -0.004242138005793095, 0.014174997806549072, 0.02821289747953415, 0.001842297031544149, 0.012922835536301136, -0.012104981578886509, -0.07960235327482224, -0.035096652805805206, 0.009501121006906033, -0.0156809501349926, 0.039625685662031174, 0.047248050570487976, 0.03631630539894104, -0.06226377189159393, 0.04308176785707474, -0.0008658208535052836, 0.014239901676774025, -0.00915235560387373, 0.030792171135544777, -0.025640996173024178, -0.03924572467803955, 0.07444079220294952, 0.020692702382802963, 0.005022733006626368, 0.05638670548796654, 0.05737122520804405, -0.024675728753209114, 0.033794693648815155, 0.017021171748638153, 0.02957724779844284, 0.025869660079479218, -0.005170255433768034, 0.02365770936012268, -0.014766384847462177, -0.0069978670217096806, 0.025394616648554802, -0.0004938868805766106, -0.0003344666329212487, 0.019730286672711372, 0.043248500674963, -0.011890013702213764, -0.0000058162809182249475, 0.0053275031968951225, -0.03951224312186241, 0.061138033866882324, -0.008048339746892452, -0.270248144865036, 0.0432828813791275, 0.05836674943566322, 0.039640139788389206, 0.0019338377751410007, 0.011324970051646233, 0.03701833263039589, -0.0521746501326561, -0.023659722879529, 0.011652755551040173, 0.014832482673227787, 0.07443935424089432, 0.012025097385048866, -0.017231689766049385, 0.023788701742887497, -0.02031509019434452, 0.0662873163819313, -0.010456045158207417, 0.05906456708908081, -0.013511376455426216, 0.037920087575912476, -0.003177681937813759, 0.20040158927440643, 0.010096007958054543, 0.02287127450108528, 0.04501476511359215, -0.011761581525206566, 0.005657840985804796, 0.057600390166044235, 0.015614801086485386, -0.009210408665239811, 0.03669976070523262, 0.042080819606781006, 0.05296700820326805, 0.032663751393556595, 0.0005852659814991057, -0.02958591654896736, 0.012942394241690636, 0.007189799565821886, -0.020831365138292313, 0.002427705330774188, 0.03471880406141281, -0.053656432777643204, 0.03856418654322624, 0.07709325104951859, 0.01216193288564682, 0.015044336207211018, -0.030757958069443703, -0.029408589005470276, -0.00028233087505213916, -0.01543036475777626, -0.048850879073143005, 0.0028172465972602367, -0.015280991792678833, 0.016887279227375984, 0.05023689940571785, 0.01383337564766407, -0.036532923579216, 0.013654944486916065, 0.01604745164513588, 0.0072668688371777534, -0.04521274194121361, 0.10006333142518997, -0.043726444244384766, -0.026012463495135307 ]
[ -0.00037627684650942683, 0.010123472660779953, -0.023355882614850998, -0.0036438889801502228, 0.003216646146029234, -0.0019516622414812446, -0.010921633802354336, -0.019512426108121872, -0.03806789219379425, -0.01268078200519085, -0.014074818231165409, -0.008819463662803173, 0.03278060257434845, -0.0094521539285779, 0.024601388722658157, -0.015042653307318687, -0.0241323783993721, 0.022961759939789772, 0.03157968446612358, -0.003484498243778944, 0.010600102134048939, 0.02130150981247425, 0.02342892438173294, -0.012838772498071194, -0.001961973961442709, -0.00275689666159451, -0.0065523674711585045, 0.015270397998392582, 0.021732017397880554, -0.1308644413948059, -0.04509047046303749, -0.03959241509437561, 0.059717271476984024, 0.01225579995661974, -0.03899127617478371, 0.022859331220388412, -0.009232726879417896, 0.00926921609789133, 0.010978016071021557, -0.0031828787177801132, 0.02871154621243477, 0.002861644374206662, 0.009980049915611744, 0.0077500720508396626, 0.03906756266951561, 0.0731627494096756, -0.038487497717142105, -0.045832350850105286, 0.0269043929874897, 0.04153183102607727, -0.030792437493801117, 0.010088778100907803, 0.03550780564546585, -0.010974658653140068, 0.024873828515410423, -0.005639905575662851, -0.058757226914167404, -0.021021898835897446, 0.017117608338594437, -0.07327298820018768, 0.005280852783471346, -0.008385607972741127, -0.03375600650906563, -0.01973666064441204, 0.01618722267448902, -0.0404961034655571, 0.003611115738749504, 0.03348470851778984, -0.0011414672480896115, 0.006737749092280865, 0.06469512730836868, 0.018069971352815628, -0.02811972238123417, -0.05304739624261856, -0.020056836307048798, 0.04667657986283302, -0.027239155024290085, -0.049325089901685715, -0.00639329943805933, -0.006939892657101154, 0.005611126311123371, -0.024804871529340744, 0.03745462745428085, 0.017681751400232315, 0.008110248483717442, -0.013524471782147884, 0.03208506852388382, -0.04632509499788284, 0.01255316473543644, 0.02514568343758583, -0.03492945432662964, 0.02645556628704071, 0.034990787506103516, -0.003252437338232994, -0.07656313478946686, 0.042721886187791824, -0.011753123253583908, -0.010899336077272892, -0.0007715678657405078, 0.8399713635444641, 0.01696796901524067, 0.018370918929576874, 0.0002902168780565262, -0.018893277272582054, -0.007620183285325766, 0.002362131141126156, 0.002663112012669444, 0.003546970197930932, -0.026113959029316902, 0.03313023969531059, 0.018407633528113365, 0.016123035922646523, 0.030178170651197433, -0.004941568244248629, -0.0008313921862281859, -0.007204348221421242, 0.015154623426496983, 0.03339885547757149, 0.015410245396196842, 0.03841303288936615, 0.038292430341243744, 0.025914466008543968, -0.028394130989909172, -0.0014044963754713535, -0.008950893767178059, -0.14536823332309723, -0.0036167430225759745, -7.158540926000921e-33, 0.0400223508477211, -0.021211225539445877, 0.00915216188877821, -0.016063693910837173, -0.024898231029510498, 0.02442632056772709, -0.0006488846847787499, -0.04050769284367561, -0.05477442219853401, -0.03505982458591461, -0.001045241835527122, 0.021610025316476822, 0.015505288727581501, -0.016887500882148743, 0.014529029838740826, -0.01980225183069706, 0.01858004927635193, 0.03893911838531494, -0.0018964726477861404, -0.02164621464908123, 0.01844225451350212, 0.02266308106482029, 0.005085473880171776, 0.007538045756518841, 0.02464606985449791, 0.009314638562500477, -0.006998182740062475, -0.006040468811988831, -0.01755845919251442, -0.046727292239665985, -0.028740663081407547, 0.04419095441699028, -0.020524276420474052, -0.0008600146975368261, 0.03798060119152069, -0.04192556440830231, 0.018133413046598434, -0.0022147009149193764, -0.03314739465713501, -0.053470462560653687, -0.01779000274837017, -0.021225178614258766, -0.04178149625658989, -0.035811927169561386, -0.01168291550129652, -0.0008756427560001612, 0.014319290407001972, 0.022989969700574875, -0.013299403712153435, 0.03253134340047836, -0.007162128109484911, -0.0065975789912045, -0.009890608489513397, -0.004636416677385569, -0.027228007093071938, -0.02038463018834591, -0.02412986382842064, -0.001027198159135878, -0.01785947009921074, 0.005945185665041208, 0.0005302191711962223, 0.025289084762334824, -0.007536213379353285, 0.033169619739055634, -0.011276225559413433, -0.011087458580732346, -0.02065257541835308, 0.010386817157268524, 0.012529131956398487, 0.002871121745556593, -0.02039426378905773, 0.019166646525263786, -0.011115781962871552, -0.004774964414536953, 0.012015871703624725, -0.03263583779335022, -0.013661089353263378, -0.027348943054676056, -0.015978215262293816, 0.047002825886011124, 0.012410582974553108, -0.03887450695037842, -0.009461228735744953, -0.01453306619077921, -0.0003128045646008104, 0.02252725325524807, 0.024778414517641068, 0.0113022830337286, -0.008437247015535831, 0.0020456528291106224, 0.0392763651907444, 0.0026791624259203672, 0.009514935314655304, 0.013993281871080399, -0.03718368336558342, 7.113166109375211e-33, -0.03960812836885452, -0.0325709767639637, 0.025661950930953026, -0.002664213301613927, 0.009399080649018288, -0.019313951954245567, 0.04903101548552513, -0.03603684902191162, -0.0300015639513731, 0.044620826840400696, -0.04583476483821869, -0.048471417278051376, 0.016361717134714127, -0.003985513933002949, 0.04023152217268944, -0.011968986131250858, 0.002880082931369543, -0.0048569850623607635, -0.00457595381885767, 0.005925978068262339, 0.050796251744031906, -0.006154622882604599, 0.024649562314152718, 0.029796693474054337, 0.018735015764832497, 0.022001642733812332, -0.017728600651025772, -0.006222257856279612, -0.0020932750776410103, 0.0008987944456748664, 0.0009184275986626744, -0.03867761045694351, -0.009214879013597965, 0.02867964841425419, 0.005864009726792574, 0.02268732711672783, -0.006353896111249924, -0.01884356141090393, 0.028386633843183517, 0.02819146029651165, -0.01820363663136959, -0.02611648477613926, -0.012057773768901825, -0.0012466555926948786, 0.03756074607372284, 0.011292515322566032, 0.01123580988496542, -0.007063868921250105, 0.0023313744459301233, -0.038056716322898865, 0.0141402967274189, 0.029748115688562393, -0.031008968129754066, 0.016194725409150124, 0.006152566522359848, -0.03571978583931923, -0.022620756179094315, 0.012337075546383858, -0.047392476350069046, 0.004490491934120655, -0.012431803159415722, -0.018375733867287636, -0.015726223587989807, 0.07325290143489838, -0.03296998515725136, -0.009451382793486118, 0.0016275016823783517, -0.03267223387956619, -0.010679389350116253, 0.027112942188978195, -0.015670672059059143, -0.021301696076989174, 0.009785694070160389, 0.012550139799714088, -0.002307882299646735, -0.0004392108239699155, -0.01580984517931938, 0.03998378664255142, 0.035030581057071686, 0.009626084007322788, 0.016183622181415558, -0.005961919669061899, 0.02432740293443203, 0.031152227893471718, 0.022865010425448418, 0.005510399118065834, 0.029203329235315323, 0.022959258407354355, 0.022687070071697235, 0.0016263223951682448, 0.02572568692266941, -0.030181612819433212, 0.004988193511962891, 0.019338231533765793, -0.014377224259078503, -1.2808511584694315e-8, -0.00504535436630249, 0.015759779140353203, -0.04296930134296417, 0.04897509142756462, 0.013853738084435463, 0.008136061020195484, 0.0003230693400837481, -0.031517598778009415, -0.014272510074079037, 0.006831380072981119, 0.01580144837498665, 0.013595779426395893, -0.0012705258559435606, 0.002840846311300993, 0.06591206789016724, -0.04685758426785469, 0.026371711865067482, 0.007358667440712452, 0.044269826263189316, 0.004132229834794998, -0.009519350714981556, 0.04867703095078468, -0.046734485775232315, 0.005304190330207348, -0.018159037455916405, 0.017320601269602776, 0.03001766838133335, -0.08594102412462234, -0.0038365779910236597, -0.028654953464865685, 0.039969611912965775, -0.03748263418674469, -0.040443722158670425, -0.0136036928743124, 0.01733013615012169, -0.02960800565779209, 0.0058299521915614605, 0.02530750259757042, 0.02986283041536808, 0.027119413018226624, -0.009282194077968597, 0.040429625660181046, -0.014338130131363869, -0.029353488236665726, -0.020209474489092827, 0.0064973169937729836, -0.0261151771992445, 0.005462672095745802, 0.0008105195011012256, -0.03533194959163666, 0.021247537806630135, -0.002265495713800192, 0.020879415795207024, 0.025368109345436096, 0.017963705584406853, 0.0006786228623241186, 0.012221375480294228, -0.052218832075595856, -0.029940824955701828, -0.015882207080721855, 0.025694390758872032, -0.01540384627878666, -0.06224871799349785, -0.01946166716516018 ]
clojure-updating-keys-in-a-map
https://markhneedham.com/blog/2013/09/17/clojure-updating-keys-in-a-map
false
2013-09-19 23:57:49
Clojure: See every step of a reduce
[ "clojure" ]
[ "Clojure" ]
Last year I wrote about http://www.markhneedham.com/blog/2012/02/25/haskell-viewing-the-steps-of-a-reduce/[a Haskell function called +++<cite>+++scanl+++</cite>+++] which returned the intermediate steps of a fold over a collection and last week I realised that I needed a similar function in Clojure to analyse a reduce I'd written. A simple reduce which adds together the numbers 1-10 would look like this: [source,lisp] ---- > (reduce + 0 (range 1 11)) 55 ---- If we want to see the intermediate values of this function called then instead of using +++<cite>+++http://clojuredocs.org/clojure_core/1.3.0/clojure.core/reduce[reduce]+++</cite>+++ there's a function called +++<cite>+++http://clojuredocs.org/clojure_core/1.3.0/clojure.core/reductions[reductions]+++</cite>+++ which gives us exactly what we want: [source,lisp] ---- > (reductions + 0 (range 1 11)) (0 1 3 6 10 15 21 28 36 45 55) ---- I found this function especially useful when analysing http://www.markhneedham.com/blog/2013/09/14/glicko-rating-system-a-simple-example-using-clojure/[my implementation of the Glicko ranking algorithm] to work out whether a team's ranking was being updated correctly after a round of matches. I initially thought the +++<cite>+++reductions+++</cite>+++ function was only useful as a debugging tool and that you'd always end up changing your code back to use +++<cite>+++reduce+++</cite>+++ after you'd solved the problem but I realise I was mistaken. As part of http://www.markhneedham.com/blog/2013/09/14/glicko-rating-system-a-simple-example-using-clojure/[my implementation of the Glicko algorithm] I wrote a bit of code that applied a reduce across a collection of football seasons and initially just returned the final ranking of each team: [source,lisp] ---- (def initial-team-rankings { "Man Utd" {:points 1200} "Man City" {:points 1300}}) (defn update-team-rankings [teams year] (reduce (fn [ts [team _]] (update-in ts [team :points] inc)) teams teams)) ---- [source,lisp] ---- > (reduce update-team-rankings initial-team-rankings (range 2004 2013)) {"Man City" {:points 1309}, "Man Utd" {:points 1209}} ---- I realised it would actually be quite interesting to see the rankings after each season for which +++<cite>+++reductions+++</cite>+++ comes in quite handy. For example if we want to find the rankings after 3 seasons we could write the following code: [source,lisp] ---- > (nth (reductions update-team-rankings initial-team-rankings (range 2004 2013)) 3) {"Man City" {:points 1303}, "Man Utd" {:points 1203}} ---- Or we could join the result back onto our collection of years and create a map so we can look up the year more easily: [source,lisp] ---- (def final-rankings (zipmap (range 2003 2013) (reductions update-team-rankings initial-team-rankings (range 2004 2013)))) ---- [source,lisp] ---- > (get final-rankings 2006) {"Man City" {:points 1303}, "Man Utd" {:points 1203}} ----
null
null
[ -0.02796062082052231, -0.007881546393036842, -0.014873363077640533, -0.003203572938218713, 0.06442893296480179, 0.0037412061356008053, 0.009342326782643795, 0.0023233150132000446, 0.01528405211865902, -0.01712857373058796, 0.028241973370313644, -0.02955395169556141, -0.04503936320543289, 0.03084094636142254, -0.001529941102489829, 0.05654054507613182, 0.06934995204210281, -0.018573150038719177, -0.004178803414106369, 0.011703453958034515, 0.034693192690610886, 0.07098886370658875, 0.004702670965343714, -0.008421131409704685, 0.044058460742235184, -0.0010307247284799814, 0.001677367021329701, 0.005524488165974617, -0.046857066452503204, 0.000517768959980458, 0.030751554295420647, 0.0048316894099116325, -0.012770417146384716, -0.03343936800956726, 0.03525101765990257, -0.016580995172262192, -0.009306504391133785, 0.007050547283142805, -0.009421243332326412, 0.004745298996567726, -0.06932903826236725, 0.01806202530860901, -0.025057803839445114, 0.014906760305166245, -0.04598212614655495, 0.01331507507711649, -0.04790070280432701, 0.0001787307410268113, -0.020817941054701805, 0.009763258509337902, -0.06863623857498169, 0.00853114202618599, 0.0001712052762741223, -0.010646478272974491, -0.013576015830039978, 0.04512360692024231, 0.021721143275499344, -0.06683012843132019, 0.05246386304497719, -0.025738799944519997, 0.005355863366276026, -0.004643626045435667, 0.004341284744441509, 0.041129760444164276, -0.002828476019203663, -0.04366206005215645, -0.0354376919567585, 0.03906171768903732, -0.048358410596847534, -0.010168030858039856, 0.014826222322881222, 0.007002034690231085, 0.0021590127144008875, -0.000003455983232925064, -0.010454908013343811, -0.025821277871727943, 0.01128753274679184, 0.0657842680811882, 0.006668744143098593, 0.04392518103122711, -0.019511451944708824, 0.03915354236960411, 0.006794549524784088, 0.0273425355553627, 0.011521922424435616, -0.025384726002812386, -0.03726367652416229, 0.0009305374696850777, -0.04249037802219391, 0.04178536310791969, -0.0001778064906829968, -0.061438944190740585, -0.010286085307598114, 0.01768339052796364, 0.016459651291370392, 0.0067553832195699215, 0.01802998036146164, 0.0008056527003645897, 0.0032877791672945023, -0.010127224028110504, -0.034110553562641144, -0.06274765729904175, 0.01381409727036953, -0.00022938537586014718, -0.09396352618932724, -0.01522245816886425, -0.016922516748309135, -0.008494744077324867, 0.009677700698375702, -0.0072376360185444355, -0.02092810347676277, 0.020190004259347916, -0.04098277911543846, 0.009352467954158783, -0.06997962296009064, 0.05943600833415985, -0.010375924408435822, -0.01900535635650158, -0.008142286911606789, 0.028374940156936646, 0.03922421112656593, 0.019710682332515717, 0.009503182023763657, 0.08154343068599701, 0.015728728845715523, 0.032961029559373856, 0.02828620746731758, 0.056731581687927246, -0.008953968994319439, -0.06977714598178864, -0.008782809600234032, 0.06555759161710739, -0.017399827018380165, 0.009328390471637249, -0.015312735922634602, -0.04512534663081169, -0.02403433434665203, 0.017870495095849037, 0.04873725771903992, 0.02326497621834278, 0.02581970766186714, -0.0359661802649498, 0.017363646999001503, -0.03886339068412781, 0.03521456569433212, 0.009409993886947632, -0.022208910435438156, 0.0015225291717797518, -0.017851198092103004, 0.006007260177284479, 0.042282845824956894, 0.046093713492155075, 0.03835102915763855, -0.019344376400113106, 0.05961703881621361, 0.0996914803981781, 0.021567778661847115, 0.007527636829763651, -0.01108202151954174, 0.01568499207496643, 0.03630238398909569, 0.012182467617094517, 0.0055502187460660934, 0.0069121913984417915, 0.005969674326479435, -0.006948836613446474, -0.014985302463173866, 0.04994216933846474, -0.007055042777210474, -0.038144148886203766, -0.018867127597332, -0.04834560304880142, 0.05335605517029762, -0.0028588701970875263, 0.01771535351872444, 0.019625913351774216, 0.09821575880050659, 0.03781401738524437, 0.08672644942998886, -0.003292505396530032, -0.07569441199302673, 0.042463380843400955, 0.017756378278136253, 0.033244337886571884, -0.014186362735927105, -0.007405026350170374, 0.0859280526638031, 0.029919032007455826, 0.029661158099770546, 0.03295683488249779, -0.07162018120288849, -0.058098431676626205, 0.0141935795545578, -0.02722247503697872, 0.07335688173770905, -0.02004317007958889, -0.0069098868407309055, 0.05646191164851189, -0.009823043830692768, 0.03278284892439842, 0.022698137909173965, 0.004567854572087526, 0.034232307225465775, -0.04090474918484688, -0.03666356950998306, 0.05822637677192688, 0.021248018369078636, -0.0059366547502577305, -0.06408701092004776, 0.016862643882632256, 0.012624481692910194, -0.0069193607196211815, 0.021185504272580147, -0.02434241771697998, 0.029872586950659752, 0.0471583716571331, 0.03772284835577011, -0.02387864515185356, 0.05166368559002876, -0.019978024065494537, 0.03393182158470154, 0.03243549168109894, 0.005625257268548012, 0.006774813402444124, -0.015945401042699814, 0.12423022836446762, 0.07396285980939865, -0.034420792013406754, -0.040619026869535446, 0.0337715707719326, -0.005923450458794832, -0.030235664919018745, 0.0016425489448010921, -0.012232000008225441, 0.0013794975820928812, -0.01569226197898388, 0.0033272106666117907, -0.0007754972320981324, 0.024811143055558205, -0.03808208927512169, -0.024778220802545547, 0.08756477385759354, -0.005773365031927824, 0.045983634889125824, 0.011509488336741924, -0.02144317515194416, -0.02467590942978859, -0.02567766048014164, -0.05996809899806976, 0.011927947402000427, 0.00469569768756628, -0.0038757086731493473, 0.051066942512989044, -0.056459054350852966, -0.03013559617102146, -0.013980844058096409, -0.015169543214142323, 0.04428110271692276, 0.05122791975736618, 0.07088515907526016, -0.0066032628528773785, 0.032376401126384735, -0.03181914612650871, -0.008452474139630795, -0.02248479053378105, -0.0483580008149147, -0.0498492531478405, -0.039292410016059875, 0.013552701100707054, 0.011881156824529171, 0.026752924546599388, 0.013121270574629307, 0.036943819373846054, -0.004599897190928459, -0.018124820664525032, -0.02310725301504135, -0.00015651054854970425, -0.005894456524401903, -0.039591629058122635, -0.042665135115385056, -0.03202224150300026, 0.07488192617893219, -0.018625713884830475, -0.0065608639270067215, 0.0004758841823786497, -0.021447036415338516, 0.0738229751586914, -0.0754137858748436, -0.015560301020741463, 0.008133547380566597, 0.026544488966464996, 0.017627477645874023, -0.03843607008457184, 0.026048850268125534, 0.06939280033111572, 0.005979557055979967, 0.024402426555752754, 0.010089382529258728, 0.009024371393024921, 0.04100494459271431, -0.01645846664905548, 0.011495601385831833, 0.06431091576814651, 0.010827113874256611, -0.021145381033420563, -0.03267763555049896, -0.0032117872033268213, -0.006571118254214525, -0.2949835956096649, 0.023608971387147903, -0.03225640207529068, -0.02525506168603897, -0.001344527117908001, -0.028683774173259735, -0.011085259728133678, -0.04343901947140694, 0.0002817783097270876, 0.02342662401497364, -0.027614593505859375, -0.011266852729022503, -0.03381461650133133, 0.05967181548476219, 0.03340775519609451, 0.017306501045823097, 0.001584587269462645, -0.03118784911930561, -0.017414672300219536, 0.05445803701877594, 0.01077429112046957, -0.057740163058042526, -0.01057721022516489, 0.03612368181347847, 0.0065949154086411, 0.042530614882707596, -0.07086927443742752, 0.02772880345582962, -0.06187070906162262, -0.029162071645259857, -0.01683499850332737, -0.008660943247377872, 0.008310387842357159, -0.027051132172346115, -0.009001181460916996, -0.00948766153305769, 0.027925167232751846, 0.022006962448358536, 0.034416232258081436, 0.054611533880233765, -0.020693464204669, -0.022355319932103157, 0.02996126562356949, -0.015004098415374756, 0.0729970708489418, 0.003044281853362918, -0.07075785100460052, -0.013269794173538685, -0.04681547358632088, 0.06493746489286423, -0.014361327514052391, -0.04082055389881134, -0.033183563500642776, 0.04910920187830925, 0.0037631632294505835, -0.04072406515479088, -0.027648942545056343, -0.03520442917943001, -0.03673779219388962, -0.010655096732079983, -0.03859136626124382, -0.037920668721199036, -0.011405003257095814, -0.06602564454078674, -0.049018003046512604, -0.05701601877808571, -0.07633515447378159, 0.009174874052405357, 0.042166657745838165, 0.010283449664711952, -0.02122310735285282, 0.001826662220992148, -0.017272813245654106, -0.1028432622551918, -0.05629849433898926, -0.03926898166537285, -0.014397780410945415, 0.009948921389877796, 0.01062442734837532, 0.04962741211056709, -0.05820201709866524, -0.05645880103111267, 0.022134775295853615, 0.002992943860590458, 0.04228756204247475, -0.007727556396275759, -0.004194709472358227, 0.019400302320718765, 0.0010864731157198548, -0.020516661927103996, 0.04587011784315109, -0.009868614375591278, -0.030465736985206604, -0.01721099391579628, 0.0172424353659153, 0.029781298711895943, 0.017259810119867325, -0.03583015128970146, 0.018174108117818832, 0.035550303757190704, 0.04527473449707031, -0.04451882094144821, 0.03148377314209938, -0.016856804490089417, -0.05522304028272629, 0.0033751283772289753, -0.04586665332317352, 0.01362487394362688, 0.04310520738363266, -0.0018498296849429607, -0.04953276738524437, -0.050544656813144684, 0.013077003881335258, -0.06058231741189957, -0.036683663725852966, 0.002060596365481615, -0.005387190729379654, 0.029747307300567627, 0.015505118295550346, 0.002618331927806139, -0.06410101801156998, -0.005699216388165951, -0.009011662565171719, -0.05765168368816376, -0.06877267360687256, 0.003407292766496539, -0.015775321051478386, -0.02254674769937992, 0.027382807806134224, 0.048503704369068146, -0.030208760872483253, 0.03201300650835037, 0.0017861174419522285, -0.032441411167383194, 0.02658715285360813, -0.02621818706393242, -0.02631152607500553, -0.008029229938983917, -0.0025614346377551556, -0.020647764205932617, 0.028077706694602966, -0.009920381009578705, 0.03487611934542656, 0.028739215806126595, 0.033109743148088455, 0.00805744156241417, 0.020049376413226128, -0.011395202949643135, -0.004858873784542084, 0.030013201758265495, -0.0026892705354839563, -0.03894218057394028, 0.03713252395391464, -0.05764729529619217, -0.0022830446250736713, -0.006602765992283821, 0.04060577601194382, -0.012307710945606232, -0.07373932749032974, -0.048413924872875214, 0.024298544973134995, -0.016071515157818794, -0.03779452294111252, -0.04084926098585129, 0.009134351275861263, 0.059279099106788635, -0.014345456846058369, 0.05875460430979729, -0.01917947083711624, -0.0034134667366743088, -0.004871864337474108, -0.002084438456222415, -0.0363108292222023, 0.016908613964915276, -0.0018446282483637333, -0.005750933662056923, 0.012500397861003876, 0.03065665252506733, 0.030745642259716988, 0.0036584828048944473, -0.015055239200592041, -0.049182794988155365, -0.006763395853340626, 0.028095334768295288, 0.039976708590984344, 0.012985466979444027, 0.021410299465060234, 0.026210354641079903, -0.012127825990319252, -0.030901988968253136, -0.023467237129807472, -0.007655248045921326, -0.03262775018811226, 0.017653813585639, -0.02736569382250309, -0.07995385676622391, 0.03402194753289223, 0.04514969512820244, -0.02337116375565529, -0.00476987287402153, 0.009664973244071007, -0.025323033332824707, -0.019087594002485275, 0.00850091315805912, 0.07789165526628494, -0.061489321291446686, -0.004415643867105246, -0.0026154769584536552, 0.02356603927910328, 0.0006966902874410152, 0.029252808541059494, -0.07500376552343369, -0.04435984790325165, -0.006549553479999304, 0.02604111097753048, -0.017247574403882027, -0.007819857448339462, -0.0071046375669538975, 0.003293995512649417, -0.018637152388691902, -0.020886534824967384, -0.0033103041350841522, -0.03136930614709854, 0.006402184255421162, -0.007568598724901676, -0.027169840410351753, -0.018964236602187157, 0.007367824669927359, 0.011469707824289799, -0.035809293389320374, 0.03420364856719971, -0.027187353000044823, 0.03038014844059944, 0.024624742567539215, 0.0019923627842217684, 0.004116076044738293, -0.04428999871015549, 0.020578769966959953, -0.055464670062065125, 0.04839736223220825, 0.0026063474360853434, -0.011115689761936665, -0.00765213230624795, 0.0008470912580378354, -0.055537089705467224, -0.021087469533085823, -0.006076027639210224, -0.04181097447872162, 0.00891115888953209, 0.05555387958884239, -0.025610269978642464, 0.062075112015008926, -0.022828390821814537, -0.028851738199591637, 0.056177057325839996, -0.031438808888196945, -0.035774968564510345, -0.01743566431105137, -0.034150026738643646, 0.01766696199774742, -0.006453986745327711, 0.04012097790837288, -0.04358608275651932, 0.03485412150621414, 0.04106137156486511, 0.0358881875872612, 0.028788285329937935, -0.020773669704794884, 0.034215737134218216, -0.043393466621637344, -0.0035153974313288927, -0.08829759806394577, -0.012500622309744358, 0.026856664568185806, 0.005094347056001425, -0.01630006730556488, 0.016863534227013588, -0.007133796811103821, 0.024291662499308586, -0.06707505881786346, -0.0011002596002072096, 0.03294769674539566, -0.01048328448086977, 0.006585076916962862, 0.019362084567546844, -0.04050213843584061, 0.021042637526988983, 0.04514538496732712, -0.01066234614700079, 0.004626433365046978, -0.058398619294166565, 0.03253239020705223, -0.013038096018135548, 0.0559283122420311, -0.011979443021118641, -0.0034437356516718864, 0.06313818693161011, 0.025877295061945915, 0.00016994310135487467, 0.05475766956806183, 0.005743561778217554, 0.0021450447384268045, 0.0372815802693367, 0.002973135095089674, -0.025169478729367256, 0.03609752655029297, -0.039256855845451355, -0.04035855084657669, 0.03853480890393257, 0.0237079169601202, -0.029458114877343178, -0.025409890338778496, 0.089726522564888, 0.021031608805060387, -0.027673106640577316, -0.05780109763145447, 0.02530069276690483, -0.05273979529738426, 0.014884920790791512, -0.013994167558848858, 0.0012776441872119904, -0.023824654519557953, 0.04789217188954353, -0.01336998213082552, -0.0002772134030237794, 0.06892719119787216, 0.025232825428247452, -0.022200992330908775, -0.001982832094654441, 0.09565362334251404, 0.10496702045202255, 0.06560350954532623, 0.0020317155867815018, 0.04649290442466736, -0.03148675709962845, -0.02875816822052002, -0.0163063183426857, -0.013378038071095943, -0.0019368671346455812, -0.019275804981589317, 0.038593754172325134, 0.07283971458673477, -0.054400064051151276, 0.06710167229175568, -0.026442985981702805, -0.013461345806717873, -0.014573262073099613, -0.010923217982053757, 0.030171310529112816, 0.06243588775396347, 0.013186073862016201, 0.03326854482293129, -0.028829919174313545, -0.03574468940496445, 0.0149567611515522, -0.009806864894926548, -0.021773485466837883, -0.0007380071328952909, 0.012311910279095173, 0.02045927569270134, 0.02556808479130268, 0.036361344158649445, 0.06819833815097809, -0.026032613590359688, 0.018152600154280663, 0.008214320987462997, 0.01977810449898243, 0.01286976970732212, -0.011418977752327919, -0.029535815119743347, -0.04169611260294914, -0.004865626804530621, -0.018613725900650024, -0.01878921128809452, -0.011169161647558212, -0.05513698607683182, 0.029105663299560547, -0.016471916809678078, -0.010025485418736935, 0.0227364469319582, -0.020337741822004318, -0.04081554710865021, -0.06683217734098434, -0.030994420871138573, -0.044155821204185486, -0.07614550739526749, 0.016937706619501114, -0.006386587396264076, -0.0315522775053978, -0.03886480629444122, -0.013766149058938026, 0.006252523511648178, -0.029725581407546997, 0.05784334987401962, -0.04125848412513733, -0.004662156570702791, 0.00801607221364975, 0.020320525392889977, 0.02564760111272335, 0.022631822153925896, 0.044387344270944595, -0.009776869788765907, -0.001448437455110252, -0.013910875655710697, -0.015011734329164028, 0.04097534716129303, 0.035139769315719604, -0.003230077214539051, -0.06130944564938545, 0.010785904712975025, 0.019055567681789398, 0.020945344120264053, -0.09567452222108841, 0.009406850673258305, 0.021973729133605957, -0.01305926963686943, 0.042555227875709534, 0.0011923193233087659, -0.007857559248805046, -0.03918549418449402, 0.0033706428948789835, -0.0029259156435728073, 0.02154645323753357, 0.04722415283322334, -0.0002998579584527761, 0.0887141302227974, 0.021517714485526085, -0.037585292011499405, -0.027815045788884163, -0.014204374514520168, -0.0333886593580246, 0.021188151091337204, -0.05215068906545639, -0.018177172169089317, -0.027475077658891678, -0.049062587320804596, -0.021655529737472534, 0.0001321632880717516, -0.05607643350958824, -0.025037454441189766, 0.008179361000657082, 0.04096216335892677, -0.027502069249749184, 0.03832296282052994, -0.046644922345876694, 0.04778693616390228, -0.007995443418622017, -0.03178764507174492, -0.008500250056385994, 0.020889554172754288, 0.029171079397201538, 0.015907740220427513, 0.014952586032450199, -0.05124984309077263, 0.01864861324429512, -0.010281172581017017, -0.0020502919796854258, -0.0069894869811832905, 0.0009195840102620423, 0.005250435322523117 ]
[ -0.13490964472293854, -0.009265809319913387, -0.036750052124261856, 0.00830396544188261, 0.016642294824123383, -0.03324226662516594, -0.011529314331710339, 0.05866142734885216, 0.017703771591186523, -0.026309050619602203, 0.00945751741528511, -0.04191049933433533, 0.014193626120686531, -0.005650071427226067, 0.06572315096855164, -0.021854357793927193, -0.019427232444286346, 0.0006118032615631819, -0.0351010262966156, -0.029123444110155106, 0.04463808611035347, -0.046825289726257324, -0.03753399848937988, -0.044860947877168655, 0.056480519473552704, 0.035863179713487625, 0.02608153223991394, -0.06281139701604843, 0.007046074606478214, -0.2105889618396759, -0.006134172901511192, 0.025994151830673218, 0.06509964913129807, -0.03927683085203171, -0.019165586680173874, 0.06843239814043045, 0.0019859664607793093, 0.024356326088309288, -0.016071362420916557, 0.05377157777547836, 0.04724230617284775, 0.04919903725385666, -0.010652300901710987, -0.019110212102532387, 0.03131508082151413, 0.021207550540566444, -0.009166000410914421, -0.01781928911805153, -0.03725035488605499, 0.02336055226624012, -0.08019628375768661, -0.012541396543383598, -0.002333654323592782, 0.0021096975542604923, 0.008624665439128876, 0.03356330469250679, 0.06132964417338371, 0.09962404519319534, 0.01354704424738884, 0.024962211027741432, 0.03437354415655136, -0.008108816109597683, -0.13194802403450012, 0.08046019077301025, 0.03145982325077057, 0.03889309987425804, -0.03517550602555275, -0.026687052100896835, -0.033976390957832336, 0.10040167719125748, -0.0033857617527246475, -0.04183947667479515, -0.017192967236042023, 0.05059415474534035, 0.011725937947630882, -0.048135846853256226, -0.01280659344047308, 0.009080596268177032, 0.04038248583674431, -0.036401934921741486, -0.02374275214970112, -0.034222234040498734, -0.03319868817925453, -0.010273192077875137, 0.01729816384613514, -0.008919336833059788, -0.013821120373904705, 0.03635051101446152, 0.030847610905766487, -0.014296564273536205, 0.06676618754863739, -0.01770685240626335, 0.020391082391142845, 0.04383799806237221, -0.10154402256011963, 0.00934008602052927, -0.0010392540134489536, 0.04166662320494652, -0.02553020976483822, 0.3910473883152008, -0.03448424115777016, -0.0037700815591961145, 0.03670665994286537, 0.03484805300831795, -0.002193224849179387, -0.016372205689549446, 0.004450691863894463, -0.04889202490448952, 0.004925166256725788, -0.05214967951178551, -0.021548129618167877, -0.012464025989174843, 0.09896602481603622, -0.05459800362586975, 0.011583486571907997, 0.010407485067844391, 0.05389297753572464, 0.009332171641290188, 0.006938078440725803, 0.02463357150554657, 0.015209181234240532, 0.020143695175647736, 0.027544641867280006, -0.00004271337456884794, 0.003969276789575815, 0.034305911511182785, 0.02744051069021225, 0.03615066781640053, 0.04943365976214409, 0.03378255292773247, 0.040734052658081055, -0.042365264147520065, -0.06862437725067139, 0.0004910926218144596, 0.002659460762515664, 0.0210600346326828, -0.004445612896233797, -0.045705005526542664, 0.01798567920923233, 0.044925421476364136, 0.00081582524580881, -0.006920589599758387, 0.020207753404974937, 0.023531148210167885, -0.00926577765494585, 0.12343140691518784, -0.017037153244018555, -0.03525000438094139, -0.008915788494050503, -0.04557117074728012, 0.01169797033071518, 0.026663821190595627, 0.00640546390786767, -0.06210682541131973, 0.01012018695473671, 0.015522433444857597, 0.09655732661485672, -0.017713874578475952, -0.0744551569223404, 0.014840948395431042, -0.05716696381568909, -0.017641501501202583, -0.05972730368375778, 0.053078483790159225, 0.002257383894175291, -0.05419350787997246, -0.008953011594712734, 0.026154255494475365, -0.002750831888988614, -0.07209251075983047, -0.003117145737633109, 0.00184794666711241, -0.03034881316125393, 0.010008484125137329, 0.05196481943130493, -0.024164410308003426, -0.03443726897239685, -0.03810930252075195, 0.05484803020954132, 0.03114624135196209, 0.006333308294415474, 0.0036003245040774345, -0.07254230976104736, 0.023922301828861237, -0.019600890576839447, -0.0412554070353508, -0.07263695448637009, 0.0019468958489596844, -0.005138088017702103, 0.010188440792262554, -0.034099411219358444, -0.02414337545633316, -0.07083754986524582, 0.06264901906251907, -0.042278654873371124, -0.009841732680797577, 0.009059745818376541, 0.011307167820632458, -0.01438229437917471, 0.009551121853291988, -0.023210730403661728, 0.05348111316561699, -0.00029051731689833105, 0.013204208575189114, -0.0729198232293129, 0.01995226927101612, 0.04400750622153282, -0.06754425913095474, 0.0727555900812149, 0.029206229373812675, -0.02764526940882206, -0.005147269461303949, -0.02605503797531128, 0.0358736477792263, 0.015757130458950996, -0.017972169443964958, 0.0060430970042943954, -0.037171393632888794, -0.013585404492914677, -0.0025722591672092676, -0.03740216791629791, -0.06407439708709717, -0.05002607777714729, -0.3537873923778534, -0.0452461838722229, -0.009978346526622772, -0.02357541210949421, 0.026837678626179695, -0.11802662909030914, -0.004616714548319578, -0.018852684646844864, -0.048390451818704605, 0.027337150648236275, 0.060181908309459686, -0.005113435443490744, -0.0514511913061142, -0.06429288536310196, 0.0359189435839653, 0.02947414480149746, 0.009782703593373299, -0.05540689453482628, -0.05481545999646187, 0.03413453325629234, 0.008453218266367912, -0.02413567714393139, -0.01601945422589779, -0.06469231098890305, -0.025484414771199226, -0.04846189171075821, 0.08692886680364609, 0.018701467663049698, 0.08145493268966675, -0.04140346869826317, 0.04073711484670639, -0.01494681928306818, -0.022159025073051453, -0.052705924957990646, -0.019216081127524376, -0.014279553666710854, -0.02346380241215229, -0.04488767683506012, 0.02160377986729145, -0.033685777336359024, -0.04241177812218666, 0.02802545763552189, -0.06906062364578247, -0.04189708083868027, -0.039831485599279404, 0.035346969962120056, -0.0271465964615345, -0.033633630722761154, 0.009782195091247559, 0.09931695461273193, 0.018220525234937668, 0.0161152221262455, 0.021675609052181244, 0.0060943481512367725, 0.022165674716234207, -0.00913322065025568, -0.06607906520366669, -0.031345851719379425, -0.0010271993232890964, -0.03828969597816467, 0.025959162041544914, 0.041253115981817245, 0.05102870613336563, -0.04074658080935478, 0.00026640555006451905, 0.020110931247472763, 0.00901219341903925, -0.00661880848929286, 0.00791833084076643, -0.0075188749469816685, -0.013909932225942612, 0.07055455446243286, -0.00025953477597795427, 0.0021792335901409388, 0.030781015753746033, 0.07257484644651413, -0.023341454565525055, 0.03036205656826496, 0.021519847214221954, 0.006834402214735746, 0.022565098479390144, 0.008182503283023834, 0.011218755505979061, -0.0405096597969532, -0.03696770966053009, 0.019824573770165443, -0.020105550065636635, -0.005154544487595558, 0.02567204460501671, 0.009181731380522251, -0.050432320684194565, 0.023560721427202225, 0.0272497721016407, -0.04353007301688194, 0.0852113664150238, 0.02750474028289318, -0.2461237907409668, 0.052676763385534286, 0.06609606742858887, 0.033994659781455994, 0.005649652797728777, 0.0384194515645504, 0.045526474714279175, -0.07170862704515457, -0.016338443383574486, -0.013159353286027908, 0.01737115904688835, 0.08055341988801956, 0.0027844568248838186, 0.009874788112938404, 0.032091040164232254, -0.023502741008996964, 0.035553012043237686, 0.00009695134940557182, 0.03749561682343483, 0.011063791811466217, 0.027333145961165428, -0.01569829136133194, 0.1913779079914093, 0.007292455527931452, 0.008524855598807335, 0.030853120610117912, 0.002136992523446679, 0.018040355294942856, 0.05045850947499275, 0.0043851230293512344, -0.00379670737311244, 0.011438720859587193, 0.05196398124098778, 0.013296810910105705, 0.03691776469349861, -0.02265184372663498, -0.022071607410907745, 0.06531506776809692, 0.020611906424164772, -0.028803100809454918, -0.0025487393140792847, -0.0008319545304402709, -0.04915255308151245, 0.031182169914245605, 0.10321545600891113, 0.011715252883732319, -0.023088330402970314, -0.05952798202633858, -0.0498327910900116, 0.018286239355802536, -0.030838819220662117, -0.0071838065050542355, 0.0008502351120114326, -0.007113987114280462, 0.00911045540124178, 0.046515706926584244, 0.002651132410392165, -0.012890921905636787, -0.0006919885636307299, 0.01900670863687992, 0.019565526396036148, -0.02282627671957016, 0.08624886721372604, -0.004703843500465155, 0.029859313741326332 ]
[ -0.017864063382148743, 0.0429716557264328, -0.00950127188116312, -0.0034346585161983967, -0.0012946693459525704, 0.0008699434692971408, -0.003491376293823123, 0.019764253869652748, -0.01841854117810726, -0.012859164737164974, -0.006419445388019085, 0.02294926717877388, 0.04923798516392708, -0.02518048696219921, -0.009883602149784565, -0.011439324356615543, -0.03205399215221405, 0.05338571220636368, 0.01993842050433159, -0.025752564892172813, 0.00025666915462352335, 0.0017733534332364798, 0.017168525606393814, 0.020740509033203125, 0.0025222301483154297, 0.019454792141914368, -0.018123062327504158, -0.03095189481973648, 0.02294503152370453, -0.1022360622882843, -0.018356239423155785, -0.010550340637564659, 0.042062122374773026, -0.008538967929780483, -0.027754558250308037, 0.039231330156326294, 0.0017327010864391923, 0.008634786121547222, 0.0022845470812171698, -0.009732936508953571, 0.005909090396016836, 0.016074541956186295, -0.007170520722866058, -0.02286238968372345, 0.008198153227567673, 0.01906992867588997, 0.0008616132545284927, -0.056687429547309875, -0.0012268639402464032, -0.00600998941808939, -0.02333306148648262, 0.007395850960165262, 0.00493907043710351, 0.01725701056420803, 0.021106040105223656, -0.010036318562924862, -0.06474825739860535, -0.06271728128194809, 0.0224484633654356, -0.02030802331864834, -0.00239949906244874, -0.0026457274798303843, -0.07977115362882614, -0.03448672220110893, -0.0293110404163599, -0.012050113640725613, 0.030451538041234016, 0.010958701372146606, -0.004118053708225489, 0.006563593167811632, 0.030245168134570122, 0.0330994576215744, -0.010586128570139408, -0.0636003389954567, -0.01919185370206833, 0.03732426092028618, 0.02723841927945614, -0.05295452103018761, -0.007554340176284313, 0.0105062210932374, -0.014837835915386677, -0.009549779817461967, 0.015719275921583176, 0.0034296433441340923, -0.017371412366628647, -0.05314931645989418, 0.01256567146629095, -0.027061181142926216, 0.029119405895471573, -0.008924967609345913, 0.0053906748071312904, 0.06809239834547043, 0.0009865916799753904, -0.007653220556676388, -0.06802567094564438, 0.03793054819107056, 0.0002121922152582556, 0.0016637631924822927, 0.004387805238366127, 0.8458850383758545, -0.006600923836231232, 0.07226014137268066, 0.026614131405949593, -0.02378237247467041, -0.016724584624171257, 0.0009882664307951927, 0.010973955504596233, 0.005570520181208849, -0.01563451811671257, -0.016632914543151855, 0.023550787940621376, -0.009106987155973911, 0.044036392122507095, 0.013935432769358158, 0.030785055831074715, 0.02647019922733307, 0.02719128131866455, -0.007264349143952131, 0.008524325676262379, 0.006597965024411678, 0.04184846207499504, 0.019890479743480682, 0.024305380880832672, 0.024043401703238487, 0.017157459631562233, -0.12879221141338348, -0.039758145809173584, -6.900403101244316e-33, 0.0751512348651886, -0.0031581884250044823, 0.0022832325194031, -0.02777242101728916, -0.007091456558555365, 0.0035719936713576317, 0.009788933210074902, -0.026699814945459366, -0.056014351546764374, -0.011711737141013145, 0.012363198213279247, 0.027140211313962936, -0.006456018891185522, -0.018055491149425507, 0.027890680357813835, -0.020396606996655464, 0.018254512920975685, 0.041696950793266296, -0.010510776191949844, -0.02098877727985382, -0.02286447212100029, 0.006193759851157665, -0.004015951417386532, 0.02829662896692753, 0.03150567039847374, 0.016469549387693405, 0.001412520301528275, -0.03508104383945465, -0.012062556110322475, -0.04912693426012993, -0.03189689293503761, 0.04545656591653824, -0.009256713092327118, 0.010279813781380653, 0.030803663656115532, -0.020254457369446754, -0.0004973274772055447, 0.030706830322742462, -0.0237127635627985, -0.034069597721099854, -0.033850595355033875, -0.013487343676388264, -0.04870598763227463, -0.0338020958006382, 0.009135876782238483, -0.028000660240650177, 0.006389171816408634, 0.029752768576145172, -0.004544374067336321, 0.050372637808322906, 0.02668212354183197, 0.026937508955597878, -0.009862481616437435, -0.0036776207853108644, -0.021815452724695206, 0.006591654848307371, 0.002522876486182213, -0.002616534475237131, -0.005301050841808319, 0.044856585562229156, 0.011453157290816307, 0.03308798372745514, -0.0018838022369891405, 0.04231739044189453, -0.007234515622258186, -0.026270920410752296, -0.026682130992412567, -0.012232724577188492, 0.014206822961568832, 0.05241960287094116, -0.04473598673939705, 0.016356078907847404, -0.01708793267607689, 0.010786131024360657, 0.05132180079817772, -0.025608282536268234, -0.00790154654532671, -0.03452133387327194, -0.02271120809018612, 0.00848777312785387, 0.020509712398052216, -0.036712802946567535, 0.013409565202891827, -0.045061323791742325, -0.010095418430864811, 0.02155572734773159, 0.007352833636105061, 0.004045290872454643, -0.01478926744312048, -0.04167640209197998, 0.0010783686302602291, -0.02241053432226181, 0.015376224182546139, 0.0030223787762224674, -0.006260426715016365, 7.351909746711187e-33, -0.0340753011405468, -0.027373066172003746, 0.004713401198387146, 0.010589989833533764, -0.011765997856855392, -0.014866967685520649, 0.05475913733243942, -0.029696138575673103, -0.025510260835289955, 0.047235842794179916, -0.01806195080280304, -0.005049321334809065, -0.006404586136341095, 0.031109634786844254, 0.03549784794449806, -0.021104222163558006, 0.01772049069404602, -0.024296561256051064, 0.003199297469109297, 0.007541681174188852, 0.012014960870146751, 0.019748978316783905, 0.010795203037559986, -0.002478338312357664, 0.039158016443252563, 0.028034914284944534, -0.00717804953455925, 0.018513279035687447, 0.015404078178107738, -0.018268683925271034, 0.020016910508275032, -0.053690023720264435, 0.0035095904022455215, 0.01512957364320755, 0.004818806424736977, 0.028633639216423035, -0.025605497881770134, -0.04024289548397064, 0.027924681082367897, 0.018958430737257004, -0.006461963523179293, -0.026454251259565353, 0.004788567312061787, 0.03419759124517441, 0.007377411238849163, -0.014971332624554634, 0.012913975864648819, 0.0024310387670993805, 0.029459459707140923, -0.03569655492901802, -0.00037378945853561163, 0.0222309622913599, 0.011368339881300926, 0.04028724506497383, 0.0028227355796843767, -0.0384337343275547, -0.00349881942383945, 0.010999438352882862, -0.05969861149787903, -0.003570494009181857, -0.03141751512885094, -0.01662028580904007, 0.00225109257735312, 0.010959260165691376, -0.019750749692320824, -0.0020077715162187815, 0.009536713361740112, -0.018456781283020973, -0.014740480110049248, 0.018918845802545547, -0.03395551070570946, -0.02148750051856041, 0.016794798895716667, 0.035509657114744186, -0.003589433152228594, -0.0052122618071734905, -0.026237748563289642, 0.02675827220082283, 0.0196320079267025, 0.0016412974800914526, 0.03656226024031639, -0.0044252206571400166, 0.028304334729909897, -0.008434316143393517, -0.009692749939858913, -0.010959477163851261, 0.0017353908624500036, 0.024530647322535515, 0.022268857806921005, -0.007198250852525234, 0.015832064673304558, -0.01384881604462862, 0.01730506122112274, 0.04812772572040558, -0.019865209236741066, -1.2855156938940127e-8, 0.003285151906311512, -0.0012935248669236898, -0.042901039123535156, 0.03997847065329552, 0.0416337251663208, 0.00552093842998147, -0.019733427092432976, -0.03431864082813263, -0.037612657994031906, 0.012195303104817867, 0.009403281845152378, -0.025650935247540474, 0.005450605880469084, 0.023754360154271126, 0.04183870553970337, -0.061497293412685394, 0.02819986082613468, -0.012900961562991142, 0.022393658757209778, -0.010275931097567081, -0.023605747148394585, 0.026804935187101364, -0.02517264522612095, 0.013273794203996658, -0.031654585152864456, -0.031228847801685333, 0.043506231158971786, -0.0736520066857338, -0.011142830364406109, 0.001463610795326531, 0.022646799683570862, -0.02930399961769581, -0.0354747511446476, -0.002491358667612076, -0.01081008929759264, 0.011352814733982086, 0.028534485027194023, 0.009982584975659847, 0.034356798976659775, 0.01031607948243618, -0.034870460629463196, 0.009864849969744682, -0.009357291273772717, -0.026888350024819374, -0.023948268964886665, -0.02624046988785267, -0.023788491263985634, -0.02408127672970295, 0.030853750184178352, -0.0035331055987626314, 0.03125857189297676, -0.005587377585470676, 0.05414065346121788, 0.040539808571338654, 0.01254882663488388, 0.012647902593016624, 0.019923590123653412, -0.05312669277191162, -0.036591045558452606, -0.009692043997347355, -0.005233773961663246, -0.010247316211462021, -0.01776333898305893, -0.0015607575187459588 ]
clojure-see-every-step-of-a-reduce
https://markhneedham.com/blog/2013/09/19/clojure-see-every-step-of-a-reduce
false
2013-09-19 06:55:19
Data Science: Don't build a crawler (if you can avoid it!)
[ "data-science-2" ]
[ "Data Science" ]
On Tuesday I spoke at the http://www.meetup.com/Data-Science-London/events/139205302/[Data Science London meetup] about http://bit.ly/rankings-dsldn[football data] and I started out by covering some lessons I've learnt about building data sets for personal use when open data isn't available. When that's the case you often end up scraping HTML pages to extract the data that you're interested in and then storing that in files or in a database if you want to be more fancy. Ideally we want to spend our time playing with the data rather than gathering it so we we want to keep this stage to a minimum which we can do by following these rules. == Don't build a crawler One of the most tempting things to do is build a crawler which starts on the home page and then follows some/all the links it comes across, downloading those pages as it goes. This is incredibly time consuming and yet this was the approach I took when scraping an internal staffing application to http://skillsmatter.com/podcast/home/what-do-you-want-to-know[model ThoughtWorks consultants/projects in neo4j] about 18 months ago. https://twitter.com/a5hok[Ashok] wanted to get the same data a few months later and instead of building a crawler, spent a bit of time understanding the URI structure of the pages he wanted and then built up a list of pages to download. It took him in the order of minutes to build a script that would get the data whereas I spent many hours using the crawler based approach. If there is no discernible URI structure or if you want to get every single page then the crawler approach might make sense but I try to avoid it as a first port of call. == Download the files The second thing I learnt is that running http://docs.seleniumhq.org/projects/webdriver/[Web Driver] or http://nokogiri.org/[nokogiri] or https://github.com/cgrand/enlive[enlive] against live web pages and then only storing the parts of the page we're interested in is sub optimal. We pay the network cost every time we run the script and at the beginning of a data gathering exercise we won't know exactly what data we need so we're bound to have to run it multiple times until we get it right. It's much quicker to download the files to disk and work on them locally. == Use wget Having spent a lot of time writing different tools to download the ThoughtWorks data set http://linux.about.com/od/commands/l/blcmdl1_wget.htm[Ashok] asked me why I wasn't using wget instead. I couldn't think of a good reason so now I favour building up a list of URIs and then letting wget take care of downloading them for us. e.g. [source,bash] ---- $ head -n 5 uris.txt https://www.some-made-up-place.com/page1.html https://www.some-made-up-place.com/page2.html https://www.some-made-up-place.com/page3.html https://www.some-made-up-place.com/page4.html https://www.some-made-up-place.com/page5.html $ cat uris.txt | time xargs wget ... Total wall clock time: 3.7s Downloaded: 60 files, 625K in 0.7s (870 KB/s) 3.73 real 0.03 user 0.09 sys ---- If we need to speed things up we can always use the '-P' flag of xargs to do so: [source,bash] ---- cat uris.txt | time xargs -n1 -P10 wget 1.65 real 0.20 user 0.21 sys ---- It pays to be reasonably sensible when using tools like this and of course read the terms and conditions of the site to check what they have to say about downloading copies of pages for personal use. Given that you can get the pages using a web browser anyway it's generally fine but it makes sense not to bombard their site with requests for every single page and instead just focus on the data you're interested in.
null
null
[ 0.013189634308218956, -0.016162173822522163, -0.0001916389010148123, 0.06436771899461746, 0.08435042202472687, 0.010641977190971375, 0.016514914110302925, 0.036592934280633926, 0.03040025196969509, -0.014797084033489227, -0.01815969869494438, 0.01546566653996706, -0.06396641582250595, 0.026968080550432205, -0.017399216070771217, 0.07367149740457535, 0.06721647828817368, 0.0009170456905849278, 0.025887150317430496, 0.0023436821065843105, 0.03173058107495308, 0.06588670611381531, 0.0019448011880740523, 0.04425094649195671, 0.028005704283714294, 0.002986850216984749, 0.0029302039183676243, 0.01804022490978241, -0.05328311771154404, -0.007412046194076538, 0.04226430132985115, -0.0029060228262096643, 0.00932465959340334, 0.007534046657383442, 0.034309178590774536, -0.033567652106285095, -0.023629719391465187, 0.014968052506446838, 0.008345263078808784, 0.02984490990638733, -0.07978040724992752, 0.06033869460225105, -0.02949886955320835, 0.03503524512052536, -0.04390479251742363, 0.007918265648186207, -0.028115035966038704, 0.017215952277183533, 0.019833842292428017, 0.009688064455986023, -0.05077827721834183, 0.04174865037202835, 0.0004926531692035496, -0.0015501960879191756, -0.02703271247446537, 0.036985039710998535, 0.04622839018702507, -0.06790846586227417, 0.02194761484861374, -0.026747748255729675, 0.004840796813368797, -0.00971243716776371, 0.006403833627700806, 0.028768083080649376, 0.017146287485957146, -0.032503191381692886, 0.00517701730132103, 0.05085480585694313, -0.03422985225915909, 0.008077443577349186, -0.008255855180323124, 0.012608105316758156, -0.042155392467975616, -0.0011224484769627452, 0.006063214968889952, -0.05968562141060829, -0.0037642205134034157, 0.05901871621608734, 0.01821225695312023, 0.05210219323635101, -0.034249335527420044, 0.008275524713099003, 0.003117898479104042, 0.04561584070324898, -0.007328842766582966, -0.04616757854819298, -0.04290282353758812, -0.021919090300798416, -0.06804841011762619, 0.05137474834918976, 0.021677326411008835, -0.05378607288002968, 0.011297001503407955, 0.017722060903906822, -0.003757908707484603, 0.020875684916973114, 0.02884001098573208, -0.0015127307269722223, -0.01948389783501625, -0.016807565465569496, -0.0308015625923872, -0.01931276172399521, -0.0009463121532462537, 0.015138600952923298, -0.06131280958652496, -0.0033412303309887648, -0.021192552521824837, -0.0016597423236817122, 0.00437635974958539, -0.007744600530713797, -0.01615861803293228, -0.0003390195488464087, -0.03330754488706589, 0.01329602487385273, -0.07000315934419632, 0.057452403008937836, 0.008111299015581608, -0.06936462968587875, -0.02191499061882496, -0.0009689352009445429, 0.031697411090135574, 0.030207641422748566, -0.021047202870249748, 0.0681350901722908, -0.014500221237540245, 0.01975993812084198, -0.001589726540260017, 0.038600169122219086, -0.011085507459938526, -0.05577540770173073, 0.016805406659841537, 0.055871035903692245, -0.00629243440926075, -0.012442662380635738, -0.020166771486401558, -0.022511286661028862, -0.005271993577480316, 0.008164470084011555, 0.06791037321090698, 0.03685131296515465, -0.009183811023831367, -0.04943179339170456, 0.01592925935983658, 0.01920810155570507, 0.0449027456343174, -0.0036440074909478426, -0.005665129516273737, -0.03241785615682602, -0.04914291575551033, -0.008676846511662006, 0.003620464587584138, 0.012065930292010307, 0.018176043406128883, -0.04274345934391022, 0.024226458743214607, 0.10761462897062302, 0.029742222279310226, 0.007182055618613958, 0.006523713003844023, 0.022403862327337265, 0.033534977585077286, 0.030108585953712463, -0.0031348480843007565, 0.029169658198952675, 0.009725675918161869, -0.021698709577322006, -0.010873030871152878, 0.06123844161629677, -0.00451636640354991, 0.01817387528717518, -0.05787201598286629, -0.03277559205889702, 0.061207227408885956, -0.045448340475559235, -0.030114684253931046, 0.04129214212298393, 0.06669647246599197, 0.030817333608865738, 0.026645537465810776, -0.019697794690728188, -0.0761520192027092, 0.0035797187592834234, 0.017032384872436523, 0.03448845446109772, 0.02140609733760357, -0.02297259122133255, 0.08650665730237961, 0.03693085163831711, -0.002188397804275155, 0.04233153909444809, -0.09662777185440063, -0.07807434350252151, -0.018505780026316643, -0.02816534787416458, 0.060236938297748566, -0.03412431851029396, 0.0411839559674263, 0.06800658255815506, 0.00832767877727747, 0.04489092901349068, 0.01650320552289486, 0.00698036327958107, 0.01570945419371128, -0.07170353829860687, -0.04436586797237396, 0.042245928198099136, 0.03944569453597069, -0.05074559152126312, -0.03026081994175911, 0.01655631698668003, -0.02601834386587143, -0.014271802268922329, 0.0274285227060318, -0.030725564807653427, 0.017901068553328514, 0.015789605677127838, 0.07059064507484436, -0.0216335691511631, 0.04331571236252785, -0.024539291858673096, 0.034603048115968704, 0.004947603680193424, -0.026225320994853973, -0.015584799461066723, 0.009434562176465988, 0.12199805676937103, 0.0614582896232605, -0.011467828415334225, -0.03907126188278198, 0.022816693410277367, 0.009500539861619473, -0.040007591247558594, 0.005445349495857954, -0.014210631139576435, 0.0026907145511358976, -0.001994004938751459, -0.06939234584569931, -0.04265342652797699, 0.002986985957249999, -0.04119068384170532, 0.014031716622412205, 0.0495198592543602, -0.015341871418058872, 0.05232466757297516, 0.00939849391579628, -0.012515900656580925, -0.01106843538582325, -0.03354710713028908, -0.051755085587501526, -0.0015344331040978432, 0.007846131920814514, -0.015450825914740562, 0.01260145753622055, -0.016838669776916504, -0.01661878079175949, -0.042669858783483505, -0.02469654567539692, 0.02834363654255867, 0.05354977026581764, 0.07821048051118851, -0.006430054549127817, 0.04602322354912758, -0.028925703838467598, 0.025011271238327026, 0.00176526652649045, -0.05175407603383064, -0.03839501738548279, -0.06181688234210014, 0.014201651327311993, 0.032641634345054626, 0.01768856681883335, 0.00805595051497221, 0.01787969470024109, 0.01862209476530552, -0.009875847958028316, -0.026937061920762062, 0.050032615661621094, -0.02367125265300274, -0.0054104826413095, -0.03662281483411789, -0.028945067897439003, 0.05661734193563461, -0.028768589720129967, -0.01106181088835001, -0.012730947695672512, -0.06981901079416275, 0.04154666140675545, -0.0630943775177002, -0.04261588677763939, -0.020856449380517006, 0.012034856714308262, 0.03236581012606621, 0.021268390119075775, 0.00923120230436325, 0.07358656823635101, 0.015491364523768425, 0.015476063825190067, -0.017097145318984985, -0.0023021467495709658, 0.021596694365143776, -0.01870914176106453, -0.007067989092320204, 0.04650835692882538, -0.009732029400765896, 0.01482767891138792, -0.05442515388131142, 0.04641200229525566, -0.03839973360300064, -0.27919068932533264, 0.04009329900145531, -0.012798095121979713, -0.04837469384074211, 0.025999799370765686, -0.016114303842186928, 0.0013188518350943923, -0.045492418110370636, -0.009558821097016335, -0.010217017494142056, -0.03751421347260475, -0.025912337005138397, -0.02414824068546295, 0.03464776650071144, 0.026029733940958977, 0.03666537255048752, 0.017267627641558647, -0.029025539755821228, 0.015325858257710934, 0.04019910469651222, -0.006019216030836105, -0.0481499508023262, -0.00795046053826809, 0.046652428805828094, 0.04280547425150871, 0.06774453818798065, -0.0741519033908844, 0.004710016306489706, -0.04752809554338455, -0.01593828573822975, 0.04435272514820099, -0.0279618501663208, 0.003833985421806574, -0.01230709534138441, -0.00604799622669816, -0.013899650424718857, 0.07292713224887848, 0.013010448776185513, 0.004947372246533632, -0.005668257363140583, -0.026731273159384727, -0.022060731425881386, -0.022796493023633957, -0.0037052948027849197, 0.09053052961826324, -0.0044518643990159035, -0.080650195479393, -0.012238029390573502, -0.015421265736222267, 0.06311668455600739, -0.04533589631319046, -0.046288445591926575, -0.024665383622050285, 0.04622320085763931, -0.00580874178558588, -0.014675539918243885, -0.02468678541481495, 0.006589187774807215, -0.03784903511404991, -0.049041952937841415, -0.008039209060370922, -0.03704620152711868, -0.006816226057708263, -0.05401350185275078, -0.013117626309394836, -0.06317557394504547, -0.049814313650131226, -0.017231153324246407, 0.07857858389616013, 0.0352829210460186, -0.03582540899515152, 0.03812770918011665, 0.0029437036719173193, -0.10094678401947021, 0.020015303045511246, -0.009913350455462933, -0.025377800688147545, 0.002302368637174368, 0.004507154226303101, 0.07060856372117996, -0.04683952033519745, -0.06748001277446747, 0.028180595487356186, 0.0009054357069544494, 0.038366641849279404, -0.024068037047982216, 0.02929060533642769, -0.008821762166917324, -0.020814672112464905, 0.0030494085513055325, 0.05810827016830444, -0.021091675385832787, -0.03309743106365204, -0.011332021094858646, -0.005311716813594103, 0.037285611033439636, 0.0023699805606156588, 0.011982336640357971, 0.008318822830915451, 0.040864456444978714, 0.003391565755009651, -0.0457216277718544, 0.018052637577056885, -0.01709860749542713, 0.013227787800133228, -0.017418332397937775, -0.040518950670957565, 0.018457094207406044, 0.031142111867666245, 0.025842927396297455, 0.0010647193994373083, -0.005328971426934004, 0.00037407971103675663, -0.04146350920200348, -0.021089773625135422, -0.002722533419728279, 0.007113124243915081, 0.024836134165525436, -0.00377288437448442, -0.015896037220954895, -0.06451354920864105, -0.0021218147594481707, 0.022959856316447258, -0.017131485044956207, -0.05167856812477112, -0.03521311655640602, -0.004122185055166483, -0.02118665724992752, 0.026310808956623077, 0.00568436412140727, -0.01809919998049736, 0.026891523972153664, 0.01888049580156803, -0.04057309776544571, 0.014544435776770115, -0.02317655272781849, -0.05454199016094208, -0.03571690246462822, 0.01634916663169861, 0.0014596686232835054, -0.016503771767020226, 0.012229891493916512, 0.0013972100568935275, 0.03761656582355499, 0.048112187534570694, 0.034375764429569244, 0.01646222174167633, 0.018383082002401352, 0.020636020228266716, -0.004538834560662508, -0.023564353585243225, -0.05034961923956871, 0.019308120012283325, -0.035452332347631454, -0.014084515161812305, -0.03653188422322273, 0.05076822265982628, -0.010961356572806835, -0.03390910476446152, -0.017374452203512192, -0.014766435138881207, -0.068327896296978, -0.010174139402806759, -0.007797461934387684, 0.011961676180362701, 0.06266581267118454, -0.02891216240823269, 0.012155286967754364, 0.0021468258928507566, -0.012824374251067638, 0.008877544663846493, 0.017926067113876343, -0.038659803569316864, 0.005676084663718939, 0.012400241568684578, -0.04398217052221298, -0.0006455997936427593, 0.022137554362416267, 0.04403030872344971, 0.026571093127131462, -0.02757430076599121, -0.0066375164315104485, -0.00029865108081139624, 0.002100229263305664, 0.06269481033086777, 0.03396124392747879, -0.03475623205304146, 0.024518558755517006, -0.005879185628145933, 0.002408618340268731, -0.027323618531227112, -0.013619616627693176, -0.005503789521753788, 0.004791197832673788, -0.00801320280879736, -0.08178528398275375, 0.06548184901475906, 0.002658671932294965, 0.015436076559126377, 0.0258100014179945, -0.015737365931272507, -0.02714136429131031, -0.022318316623568535, 0.03523971140384674, 0.042333099991083145, -0.06294398754835129, -0.0244890283793211, -0.0033165724016726017, -0.000199259739019908, 0.011951342225074768, -0.007618159521371126, -0.03760426118969917, -0.02044655755162239, -0.00686859292909503, 0.02588582970201969, -0.03602394461631775, -0.028822779655456543, -0.022619565948843956, 0.026165001094341278, -0.011704294942319393, 0.01814400590956211, -0.008726009167730808, -0.013469550758600235, -0.013235989958047867, -0.020359857007861137, 0.011735158041119576, -0.015894141048192978, -0.008713888004422188, -0.005569109693169594, -0.03592682629823685, 0.009329548105597496, -0.031248927116394043, 0.003996237646788359, 0.02300036884844303, -0.017428793013095856, 0.01497472170740366, -0.03727950155735016, 0.014684472233057022, 0.014526058919727802, 0.059732791036367416, 0.002143269404768944, -0.004429560154676437, -0.041138168424367905, 0.006330105010420084, -0.03416626155376434, 0.007523086853325367, -0.03273589909076691, 0.010678842663764954, 0.024183902889490128, 0.045001547783613205, 0.013926086947321892, 0.012565606273710728, -0.004657426383346319, -0.032646544277668, 0.031013574451208115, -0.061487771570682526, -0.035626448690891266, -0.051335323601961136, -0.06272679567337036, 0.013242521323263645, 0.021990768611431122, 0.01646707020699978, -0.035904817283153534, 0.04893643409013748, 0.03259233012795448, 0.02497457154095173, 0.03195664659142494, -0.0034460651222616434, 0.040339913219213486, -0.04095852002501488, -0.008438527584075928, -0.07402830570936203, -0.015374903567135334, 0.04824063926935196, 0.006843118462711573, 0.0038709258660674095, -0.006712550297379494, -0.01910177804529667, 0.028060365468263626, -0.07873954623937607, -0.03924017399549484, 0.034421198070049286, 0.0017974863294512033, -0.01700693741440773, -0.00754961371421814, -0.07132156938314438, 0.006219919770956039, 0.04601960629224777, -0.04304007440805435, -0.014360528439283371, -0.02654811181128025, 0.056758277118206024, -0.013641935773193836, 0.03072546236217022, -0.010574182495474815, -0.015546099282801151, 0.07776259630918503, -0.0037551221903413534, 0.005951333325356245, 0.04527110233902931, 0.010063908994197845, 0.03755104914307594, 0.019053282216191292, -0.0050069172866642475, 0.005461251363158226, 0.018767695873975754, 0.004800764378160238, -0.03677278384566307, 0.0438624732196331, 0.0074277217499911785, -0.010111892595887184, -0.024999141693115234, 0.08026488125324249, 0.03432992473244667, -0.05249181017279625, -0.06901966035366058, 0.029048142954707146, -0.04246531426906586, -0.013140411116182804, -0.03000217117369175, -0.009670871309936047, -0.04182024300098419, 0.028933458030223846, -0.01375557016581297, 0.01845393516123295, 0.07535937428474426, 0.005427679046988487, -0.0076645854860544205, 0.00261603738181293, 0.09102208912372589, 0.08642834424972534, 0.04837976023554802, 0.012886067852377892, 0.07799313962459564, -0.015056576579809189, -0.04529081657528877, 0.003438411047682166, -0.011515669524669647, -0.023448888212442398, -0.019335167482495308, 0.010948223993182182, 0.03725890815258026, -0.032688241451978683, 0.07578768581151962, -0.02798217162489891, -0.01221750769764185, -0.0014768756227567792, 0.014706475660204887, 0.035418279469013214, 0.05151626095175743, 0.008261114358901978, 0.023439891636371613, -0.04694649949669838, -0.04234575852751732, 0.03491155803203583, -0.026294562965631485, -0.040265053510665894, 0.02852834016084671, -0.013300644233822823, 0.02074100449681282, 0.017957935109734535, 0.06507033854722977, 0.08064566552639008, -0.021644998341798782, 0.003557726740837097, -0.021319309249520302, 0.022232910618185997, -0.01793932169675827, 0.029095595702528954, -0.02251407876610756, -0.006187046878039837, -0.007257694844156504, -0.048146750777959824, -0.02376568503677845, -0.0167190320789814, -0.0277877077460289, 0.03735845535993576, -0.041291750967502594, -0.0014579073758795857, 0.0030538199935108423, -0.007489295676350594, -0.04109225049614906, -0.04331754148006439, -0.047298382967710495, -0.011030763387680054, -0.07076707482337952, -0.012551001273095608, 0.04161665588617325, 0.006310748867690563, -0.03137052804231644, -0.010071510449051857, -0.01797962747514248, -0.02841765247285366, 0.030903177335858345, -0.07873809337615967, -0.02764674462378025, 0.020719429478049278, 0.005527504254132509, 0.04857413470745087, 0.031003927811980247, 0.05226992070674896, -0.0025540722999721766, -0.0031032252591103315, -0.020011089742183685, 0.03313112258911133, 0.04322253540158272, 0.013783763162791729, -0.003739660605788231, -0.08189608156681061, 0.0170577522367239, 0.012608522549271584, -0.03345175087451935, -0.06859961152076721, 0.012869580648839474, 0.042256470769643784, 0.02699274942278862, 0.050380922853946686, -0.017719225957989693, -0.004766101483255625, -0.04366710036993027, 0.0017554220976307988, -0.004016492515802383, 0.00022431898105423898, 0.04364452138543129, -0.0017011405434459448, 0.09113997220993042, 0.025515029206871986, -0.007772172335535288, -0.05618186667561531, -0.02864295430481434, 0.006100037135183811, 0.018028074875473976, -0.03162992000579834, -0.04390641674399376, -0.0468636080622673, -0.08583565056324005, -0.06774404644966125, 0.018275311216711998, -0.023594453930854797, -0.02017706073820591, 0.00890523474663496, 0.03490631282329559, -0.024553295224905014, 0.017684923484921455, -0.05018030107021332, 0.03350530192255974, -0.021094292402267456, -0.015659496188163757, -0.00023183699522633106, 0.020277582108974457, 0.004783793352544308, -0.006335440091788769, 0.010620481334626675, -0.03329739347100258, -0.010758766904473305, -0.023896628990769386, 0.055777955800294876, 0.03987570479512215, 0.01994849182665348, -0.006728649605065584 ]
[ -0.05692235752940178, -0.011775909923017025, -0.025741778314113617, -0.04640383645892143, 0.08763215690851212, -0.03413817286491394, -0.04272327199578285, 0.012949647381901741, -0.009768232703208923, -0.015474488958716393, 0.02016535960137844, -0.04684971272945404, 0.004668009467422962, 0.004801021423190832, 0.06752867251634598, 0.027292819693684578, -0.013204765506088734, -0.06649608910083771, 0.010633111000061035, 0.05515521392226219, -0.005312454421073198, -0.025224115699529648, -0.025675982236862183, -0.059758517891168594, -0.010814552195370197, 0.017996203154325485, 0.02276047319173813, -0.02809593826532364, -0.008373809047043324, -0.1667277216911316, 0.018604619428515434, -0.01943356730043888, 0.042547110468149185, -0.0049026645720005035, 0.0253366157412529, 0.0370197631418705, 0.06281644105911255, 0.003210955997928977, 0.0110250823199749, 0.03754271939396858, -0.0013907392276450992, 0.013989724218845367, -0.04950357973575592, 0.0005064565339125693, 0.037188611924648285, 0.025468194857239723, -0.0024226815439760685, -0.022313600406050682, -0.010404858738183975, 0.014273361302912235, -0.06780659407377243, 0.006192849017679691, -0.024061033502221107, -0.028431132435798645, 0.010690557770431042, 0.03119666501879692, 0.04844016581773758, 0.06189730390906334, -0.007951239123940468, 0.03001660667359829, 0.03634342923760414, -0.002694233786314726, -0.11548678576946259, 0.1062864437699318, 0.04973895847797394, 0.024576706811785698, -0.05493130907416344, -0.007318770047277212, -0.004917508456856012, 0.06571664661169052, -0.0019621148239821196, -0.021492796018719673, -0.041257888078689575, 0.04835796728730202, 0.0296024139970541, 0.012252526357769966, -0.014105788432061672, 0.03551744297146797, 0.017641831189393997, -0.03915788233280182, -0.04725459963083267, 0.022389763966202736, -0.011239822022616863, -0.00847053062170744, -0.05957309529185295, 0.02032998949289322, -0.021682804450392723, 0.05629032477736473, 0.007956511341035366, 0.03477790206670761, 0.04915391653776169, 0.005368697457015514, 0.025385351851582527, 0.00469207065179944, -0.06364581733942032, -0.039559029042720795, 0.002261976944282651, 0.052643489092588425, -0.019703805446624756, 0.4237977862358093, -0.023175880312919617, 0.0017025755951181054, 0.05578301101922989, 0.034625135362148285, -0.018622610718011856, -0.021352006122469902, 0.00447102589532733, -0.04748711735010147, 0.02573220804333687, -0.009806985035538673, 0.035062212496995926, 0.0004387074732221663, 0.050895970314741135, -0.0689549371600151, 0.019952816888689995, 0.010359319858253002, -0.0067196199670434, 0.014833123423159122, -0.012541278265416622, 0.004384852480143309, -0.04160526767373085, 0.007386290933936834, 0.04798956960439682, 0.004943257197737694, 0.009835289791226387, -0.007676376961171627, 0.038464754819869995, 0.050611261278390884, 0.025004979223012924, 0.03001311980187893, 0.03030158020555973, -0.027401171624660492, -0.08865130692720413, 0.025584429502487183, -0.010453984141349792, -0.0012899329885840416, 0.0400395467877388, -0.021306190639734268, -0.0063024237751960754, 0.04756896570324898, -0.01612216793000698, -0.014508334919810295, 0.024487614631652832, -0.010766536928713322, -0.03853018581867218, 0.1008504331111908, 0.051850225776433945, -0.04346125200390816, -0.025673383846879005, -0.07885682582855225, 0.00840790756046772, 0.03068380057811737, 0.023244671523571014, -0.08335418999195099, -0.011115098372101784, 0.013826324604451656, 0.08758323639631271, -0.016700739040970802, -0.07882768660783768, -0.021591655910015106, -0.043579865247011185, -0.03233667463064194, -0.03515927121043205, 0.03844768926501274, 0.05790506303310394, -0.1413870006799698, -0.020841002464294434, 0.02051849290728569, 0.020153116434812546, -0.053125739097595215, 0.0026613108348101377, 0.013711410574615002, -0.044912949204444885, -0.0033734256867319345, 0.05720137432217598, -0.03360409662127495, -0.04271137714385986, -0.0006214395398274064, 0.029932714998722076, 0.010556899942457676, 0.003207034897059202, -0.01723501645028591, -0.03323186933994293, -0.0014081826666370034, -0.07886757701635361, -0.07260248810052872, -0.06875535100698471, 0.02729833871126175, -0.02452002838253975, 0.015027289278805256, -0.030814699828624725, -0.025542013347148895, -0.054321203380823135, 0.050179142504930496, -0.026199186220765114, -0.01097586378455162, -0.0009508428047411144, 0.0166793055832386, -0.02567243203520775, -0.023131391033530235, -0.008113243617117405, -0.008036574348807335, -0.03285115584731102, 0.0318625383079052, -0.07148447632789612, 0.045604001730680466, 0.0841844230890274, -0.0496143139898777, 0.10086449980735779, 0.04090295359492302, -0.023620737716555595, -0.031166287139058113, -0.001267631072551012, 0.0060227615758776665, 0.0011033230694010854, -0.026269692927598953, 0.036750469356775284, -0.009708813391625881, 0.025140494108200073, 0.052655089646577835, -0.041968297213315964, -0.026986636221408844, -0.02213081158697605, -0.3556585907936096, -0.0665767714381218, -0.036477211862802505, 0.026229482144117355, 0.011211764998733997, -0.046565067023038864, 0.03856438770890236, -0.010736304335296154, -0.0084620276466012, 0.038885537534952164, 0.08894944936037064, -0.019994543865323067, 0.02021673694252968, -0.08089084178209305, -0.026617396622896194, 0.008879401721060276, -0.01621486432850361, -0.018503274768590927, -0.04475560039281845, 0.019617930054664612, -0.00003559510878403671, -0.03558802977204323, -0.02721174992620945, -0.057381413877010345, 0.0070571331307291985, -0.030608491972088814, 0.12535810470581055, 0.011920967139303684, 0.049098171293735504, -0.04533248022198677, 0.0576920285820961, 0.005474804900586605, -0.006347258109599352, -0.11411727219820023, -0.019476953893899918, -0.01863165944814682, 0.019203849136829376, 0.00013371047680266201, 0.014764533378183842, -0.03148327022790909, -0.0488053560256958, 0.01726592145860195, -0.026468545198440552, -0.054657284170389175, -0.054234594106674194, 0.02706942707300186, -0.03555061295628548, -0.023127907887101173, -0.019685443490743637, 0.06230304017663002, 0.0233082827180624, 0.010962516069412231, 0.05205636844038963, 0.006363268010318279, -0.01925760507583618, -0.041643816977739334, -0.05949321761727333, 0.00799010880291462, 0.002786780707538128, 0.010474095121026039, 0.01742851920425892, 0.012548345141112804, 0.03579851984977722, -0.08025495707988739, 0.009487919509410858, -0.0035242214798927307, 0.015831371769309044, 0.009683001786470413, 0.03167743608355522, -0.03748658299446106, -0.01247863844037056, 0.09857065230607986, 0.0007983576506376266, 0.03694799169898033, -0.0050010415725409985, 0.03989126905798912, -0.012358000501990318, 0.02169378288090229, 0.03299213573336601, 0.01650269143283367, 0.025982920080423355, -0.021878305822610855, 0.05133005604147911, 0.002774292603135109, -0.0004777679860126227, 0.048873431980609894, 0.006975643802434206, -0.05966496095061302, 0.05210928991436958, 0.038771677762269974, -0.008532129228115082, -0.0020358082838356495, -0.06054621934890747, -0.05975504219532013, 0.07020262628793716, -0.004259838256984949, -0.2426385134458542, 0.017793551087379456, 0.04310469329357147, 0.05339132994413376, 0.003644347656518221, 0.007403114810585976, 0.05404503643512726, -0.025805747136473656, 0.050730541348457336, 0.026285255327820778, 0.022756677120923996, 0.03634283319115639, -0.010427609086036682, -0.020259058102965355, 0.041043926030397415, -0.004101586062461138, 0.03679376468062401, 0.039818551391363144, -0.027379650622606277, 0.01064385287463665, 0.04001476615667343, -0.019767893478274345, 0.16518020629882812, 0.03313680365681648, 0.007673453073948622, 0.04847171530127525, -0.01623588241636753, 0.006156868766993284, 0.05945668742060661, -0.016312221065163612, -0.010838850401341915, -0.009184680879116058, 0.016631653532385826, 0.00879556406289339, 0.015170978382229805, -0.056947868317365646, -0.03824000060558319, 0.051034264266490936, 0.02484736405313015, -0.03318461403250694, 0.001953685889020562, 0.009560895152390003, -0.03345116600394249, 0.05790311470627785, 0.05657355859875679, -0.012520120479166508, 0.01939738728106022, -0.05658189207315445, -0.07844278961420059, -0.011291740462183952, -0.039261482656002045, -0.04016110673546791, -0.017112495377659798, -0.03211812674999237, 0.013662577606737614, 0.11756109446287155, 0.0074082668870687485, -0.005194723140448332, 0.01793013885617256, 0.005106150172650814, -0.0011592562077566981, -0.020710136741399765, 0.0892409235239029, 0.01207419577986002, 0.025745682418346405 ]
[ -0.03913312405347824, 0.01159092877060175, -0.010766551829874516, 0.02262270450592041, 0.0006427656044252217, -0.0026194825768470764, -0.02126428298652172, -0.019646232947707176, -0.032007358968257904, -0.018841948360204697, -0.016690369695425034, 0.003858891548588872, 0.013789117336273193, -0.036958225071430206, -0.006488622631877661, 0.005081821233034134, -0.013581647537648678, -0.009156251326203346, 0.01912418194115162, -0.008876626379787922, -0.028242837637662888, 0.008263366296887398, 0.011007661931216717, -0.013254496268928051, -0.0323367565870285, 0.019300051033496857, -0.021375272423028946, -0.014958353713154793, 0.028421564027667046, -0.1300031691789627, 0.008642144501209259, -0.016978370025753975, -0.01041647419333458, -0.006285231094807386, 0.0035853188019245863, -0.0006254069157876074, -0.027920890599489212, 0.023808130994439125, 0.004251857753843069, 0.021236898377537727, 0.014877036213874817, -0.03750310465693474, 0.006618665065616369, 0.015686148777604103, -0.024257497861981392, -0.022198298946022987, -0.016107158735394478, -0.026236852630972862, -0.006476468872278929, 0.008890824392437935, -0.03414306417107582, -0.024288732558488846, 0.011990164406597614, 0.0039137438870966434, -0.005253551062196493, -0.010804137215018272, -0.006189312785863876, -0.01622243970632553, -0.024325015023350716, -0.025834567844867706, 0.010682119987905025, -0.013962834142148495, -0.03746940940618515, -0.025403942912817, -0.0008353913435712457, -0.012896825559437275, -0.026351435109972954, 0.01587536372244358, -0.008472710847854614, 0.009099919348955154, -0.022417467087507248, 0.03597477450966835, -0.026607561856508255, -0.020334705710411072, 0.01643674075603485, -0.012975241988897324, -0.01210111565887928, -0.002281248802319169, -0.003278836142271757, -0.003782119834795594, -0.045979805290699005, -0.014784920029342175, 0.033789049834012985, -0.004437690135091543, -0.01576746627688408, -0.025078415870666504, 0.03997716307640076, 0.019032347947359085, -0.010828563012182713, 0.005163182038813829, -0.0313275046646595, 0.014428330585360527, 0.017188988626003265, 0.03343011066317558, -0.0931638702750206, 0.024268662557005882, 0.01744844764471054, 0.009061700664460659, 0.011847569607198238, 0.8441316485404968, -0.014257792383432388, 0.010845623910427094, -0.005784003529697657, 0.018388792872428894, -0.023169683292508125, -0.0464039072394371, -0.027298185974359512, 0.030652843415737152, 0.023592939600348473, -0.04162176325917244, 0.011045675724744797, 0.011331805028021336, 0.00634023966267705, 0.010869819670915604, -0.02761293388903141, 0.0019158379873260856, 0.0054055871441960335, 0.02025667391717434, 0.023837920278310776, 0.02419835887849331, 0.013900233432650566, 0.03707383945584297, -0.001036265050061047, -0.010940789245069027, 0.018741382285952568, -0.18070144951343536, 0.027251796796917915, -7.696826972549309e-33, 0.07677702605724335, -0.017597436904907227, -0.01832183264195919, -0.01613455079495907, 0.020721131935715675, 0.011786787770688534, 0.01603345014154911, 0.004529496654868126, 0.0022532413713634014, -0.023334462195634842, -0.01398929487913847, 0.03073837235569954, 0.024997474625706673, -0.04236384853720665, 0.029275240376591682, 0.013332969509065151, 0.0027255257591605186, 0.024656599387526512, 0.01626407541334629, -0.033537231385707855, 0.044400978833436966, 0.029370874166488647, 0.023550432175397873, 0.0038708471693098545, 0.018634913489222527, 0.04023609310388565, -0.03279072046279907, 0.025097044184803963, -0.03591393306851387, -0.03979625552892685, -0.0032788829412311316, 0.014093437232077122, 0.009704376570880413, -0.002597195329144597, 0.015429891645908356, -0.032911475747823715, -0.019423384219408035, 0.012253062799572945, -0.04333179444074631, -0.04421442374587059, -0.030849667266011238, -0.0002831359161064029, -0.016488928347826004, -0.049568746238946915, -0.042211055755615234, -0.01696741208434105, -0.025223275646567345, 0.011707449331879616, -0.006506402976810932, 0.007430507335811853, 0.028552988544106483, -0.019947223365306854, 0.029492013156414032, -0.017166119068861008, -0.01871831715106964, 0.01304395217448473, 0.01034756563603878, -0.004073867574334145, 0.02610420621931553, 0.0579385906457901, 0.01955036073923111, 0.0037525936495512724, 0.02218245528638363, 0.007383179850876331, -0.01629585772752762, -0.01683098077774048, 0.020645497366786003, -0.004490177612751722, 0.011973186396062374, -0.02691000886261463, -0.023397238925099373, 0.038648542016744614, 0.011680979281663895, -0.0017392748268321157, 0.018111571669578552, -0.006767448969185352, 0.0021237728651612997, -0.010958804748952389, 0.0005488840979523957, 0.03125949949026108, 0.025231976062059402, -0.031735219061374664, 0.0076517160050570965, -0.06922409683465958, -0.012706891633570194, 0.013456613756716251, 0.002908129943534732, -0.01964782550930977, -0.0026831405702978373, 0.02343815006315708, 0.007384082302451134, 0.011552778072655201, -0.013194803148508072, -0.027231689542531967, -0.008602892979979515, 7.552373410512635e-33, -0.0025925065856426954, 0.008500263094902039, 0.010916150175035, 0.005664822645485401, 0.042052194476127625, 0.00878339633345604, 0.03432445973157883, 0.015845492482185364, -0.043271057307720184, 0.06089996173977852, 0.00370376487262547, 0.02126794122159481, -0.008126094937324524, -0.01131738442927599, 0.02348495088517666, -0.024283358827233315, 0.022839881479740143, -0.05556388571858406, 0.016704941168427467, 0.0013449001125991344, 0.002886372385546565, -0.0025750347413122654, -0.02864978462457657, -0.010585842654109001, 0.03150295466184616, 0.024545954540371895, 0.0052727446891367435, -0.0006385942688211799, -0.006009245757013559, 0.0230415016412735, 0.006114564370363951, -0.016587503254413605, 0.0005898080999031663, 0.002491656458005309, -0.009604660794138908, 0.04843100160360336, -0.013128143735229969, -0.0031421598978340626, 0.05407999828457832, 0.0007085468387231231, 0.025924382731318474, 0.025122275575995445, -0.010560047812759876, 0.044439926743507385, 0.03476283326745033, 0.013819770887494087, -0.027131084352731705, 0.002198357367888093, -0.020610496401786804, 0.020924534648656845, 0.01708403415977955, 0.02123294398188591, -0.0005215156124904752, -0.005473813507705927, 0.007922464981675148, 0.0008400650112889707, -0.05574152618646622, 0.032665204256772995, -0.050311923027038574, 0.016731906682252884, 0.0016212817281484604, -0.004710696171969175, -0.06480637937784195, 0.08020935207605362, -0.03483045846223831, -0.006593385711312294, -0.049977537244558334, 0.002540796296671033, -0.0018716731574386358, 0.008567962795495987, -0.01802055910229683, 0.00788231659680605, -0.003817485412582755, 0.014564021490514278, 0.011286064051091671, -0.04124928265810013, -0.007870697416365147, 0.037216562777757645, 0.012392424046993256, 0.04052088409662247, 0.005127309821546078, 0.04223088175058365, 0.03495866060256958, -0.0256358589977026, 0.03547121211886406, 0.031258780509233475, -0.011671039275825024, 0.023894863203167915, 0.019045311957597733, -0.03370783478021622, 0.006641145329922438, -0.02857230044901371, -0.007485959678888321, 0.020587021484971046, 0.0054698814637959, -1.2976275165499374e-8, -0.03550315648317337, -0.0057545979507267475, -0.002445175778120756, 0.02411218173801899, 0.04774054139852524, 0.022363657131791115, 0.010745653882622719, 0.0020598608534783125, -0.01896795630455017, 0.025001361966133118, 0.07617706805467606, -0.018861906602978706, -0.018394416198134422, 0.028816888108849525, 0.004623827990144491, -0.03588571026921272, -0.007389151956886053, -0.01818999834358692, 0.025421883910894394, 0.009994570165872574, 0.03872067853808403, 0.02960563451051712, -0.004691589158028364, 0.0046442118473351, 0.060795530676841736, -0.03116266056895256, 0.005687518045306206, -0.07601406425237656, -0.040749456733465195, -0.012955703772604465, -0.008309551514685154, -0.03447499871253967, -0.021259501576423645, 0.0034600363578647375, 0.005313796456903219, -0.024874934926629066, 0.0001381638430757448, 0.01496156957000494, -0.0015287225833162665, -0.01617312990128994, 0.007598499767482281, 0.013943184167146683, -0.025181978940963745, -0.02176361344754696, -0.007073153275996447, 0.02140204608440399, -0.040148939937353134, 0.004625372588634491, 0.0021486948244273663, -0.0432722233235836, 0.00021691144502256066, -0.022946028038859367, 0.04915681481361389, 0.02362596057355404, 0.06561094522476196, 0.0000759976901463233, 0.02943836897611618, 0.007112584542483091, -0.027895798906683922, 0.017823996022343636, 0.02278311736881733, 0.01033317856490612, -0.0219859816133976, -0.027566706761717796 ]
data-science-dont-build-a-crawler-if-you-can-avoid-it
https://markhneedham.com/blog/2013/09/19/data-science-dont-build-a-crawler-if-you-can-avoid-it
false
2013-09-26 07:47:34
Clojure: Writing JSON to a file/reading JSON from a file
[ "clojure" ]
[ "Clojure" ]
A few weeks ago I described how I'd http://www.markhneedham.com/blog/2013/08/26/clojureenlive-screen-scraping-a-html-file-from-disk/[scraped football matches using Clojure's Enlive], and the next step after translating the HTML representation into a Clojure map was to save it as a JSON document. I decided to follow a two step process to achieve this: * Convert hash to JSON string * Write JSON string to file I imagine there's probably a way to convert the hash to a stream and pipe that into a file but my JSON document isn't very large so I think this way is ok for now. +++<cite>+++https://github.com/clojure/data.json[data.json]+++</cite>+++ seems to be the way to go to convert a Hash to a JSON string and I had the following code: [source,lisp] ---- > (require '[clojure.data.json :as json]) nil > (json/write-str { :key1 "val1" :key2 "val2" }) "{\"key2\":\"val2\",\"key1\":\"val1\"}" ---- The next step was to write that into a file and http://stackoverflow.com/questions/7756909/in-clojure-1-3-how-to-read-and-write-a-file[this StackOverflow post describes a couple of ways that we can do this]: [source,lisp] ---- > (use 'clojure.java.io) > (with-open [wrtr (writer "/tmp/test.json")] (.write wrtr (json/write-str {:key1 "val1" :key2 "val2"}))) ---- or [source,lisp] ---- > (spit "/tmp/test.json" (json/write-str {:key1 "val1" :key2 "val2"})) ---- Now I wanted to read the file back into a hash and I started with the following: [source,lisp] ---- > (json/read-str (slurp "/tmp/test.json")) {"key2" "val2", "key1" "val1"} ---- That's not bad but I wanted the keys to be what I know as symbols (e.g. ':key1') from Ruby land. I re-learnt that this is called a keyword in Clojure. Since I'm not very good at reading the documentation I wrote a function to convert all the keys in a map from strings to keywords: [source,lisp] ---- > (defn string-keys-to-symbols [map] (reduce #(assoc %1 (-> (key %2) keyword) (val %2)) {} map)) > (string-keys-to-symbols (json/read-str (slurp "/tmp/test.json"))) {:key1 "val1", :key2 "val2"} ---- What I should have done is pass the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/keyword[keyword]+++</cite>+++ function as an argument to +++<cite>+++read-str+++</cite>+++ instead: [source,lisp] ---- > (json/read-str (slurp "/tmp/test.json") :key-fn keyword) {:key2 "val2", :key1 "val1"} ---- Simple!
null
null
[ -0.009461721405386925, -0.0026991821359843016, -0.0286968182772398, 0.02313152328133583, 0.058482296764850616, -0.015980590134859085, 0.027226855978369713, 0.031521961092948914, 0.013954509049654007, -0.03285481780767441, -0.025335563346743584, -0.038201019167900085, -0.05789269879460335, 0.011084170080721378, 0.005776344332844019, 0.03554679453372955, 0.07846703380346298, -0.01935090497136116, 0.05077251419425011, 0.009847898036241531, 0.031087704002857208, 0.06912865489721298, -0.0037320402916520834, 0.015275847166776657, 0.0433846116065979, -0.01935192197561264, -0.0012925637420266867, 0.02590307407081127, -0.06322570890188217, -0.004954683594405651, 0.028013955801725388, -0.009860390797257423, -0.009735054336488247, -0.018559854477643967, 0.01942494511604309, -0.02017883211374283, -0.04536046087741852, 0.010430627502501011, 0.004604615271091461, 0.035234857350587845, -0.05432620644569397, 0.022702688351273537, -0.014162261970341206, 0.014133380725979805, -0.013077679090201855, 0.01563143916428089, -0.024280797690153122, 0.04278011992573738, -0.012865951284766197, 0.019779164344072342, -0.04341225326061249, 0.02779473550617695, -0.01680959016084671, -0.015285538509488106, 0.017176516354084015, 0.019482679665088654, 0.027804061770439148, -0.0631389319896698, 0.05801011621952057, -0.010290197096765041, -0.011158943176269531, -0.01878739520907402, 0.020286211743950844, 0.03596271947026253, 0.0011030402965843678, -0.03205493092536926, -0.014553210698068142, 0.04200723394751549, -0.05221491679549217, -0.04552629217505455, 0.04133390635251999, 0.00040124476072378457, -0.042092062532901764, 0.004389890003949404, 0.04072573035955429, -0.059752583503723145, -0.002454456640407443, 0.06127174198627472, -0.02837313525378704, 0.06570407748222351, -0.032959770411252975, 0.042839210480451584, 0.015489890240132809, 0.04711970314383507, 0.004226346500217915, -0.029804013669490814, -0.030762972310185432, 0.01956884376704693, -0.05989156290888786, 0.0509856678545475, 0.0181165412068367, -0.017395202070474625, -0.000605718232691288, 0.0010774810798466206, 0.0028559083584696054, 0.007282152771949768, -0.012943772599101067, 0.06354432553052902, -0.013538866303861141, 0.009057469666004181, -0.04402665048837662, -0.025634808465838432, 0.002410984132438898, 0.00012887755292467773, -0.056303586810827255, -0.005092410370707512, -0.0019295209785923362, -0.015464509837329388, 0.031055672094225883, -0.02586345747113228, -0.023653050884604454, -0.007367855403572321, -0.009091289713978767, 0.004309407901018858, -0.03481988236308098, 0.034358613193035126, 0.004593533463776112, -0.0534784160554409, -0.03010244108736515, 0.028052665293216705, 0.035234756767749786, 0.005820073187351227, 0.008917438797652721, 0.0666155219078064, -0.004228448495268822, 0.0072198836132884026, -0.0031333803199231625, 0.059488583356142044, 0.003367598867043853, -0.0755491778254509, -0.018072402104735374, 0.06794079393148422, -0.008761102333664894, 0.043093133717775345, -0.004474626388400793, -0.03284299373626709, -0.012965656816959381, -0.01800398714840412, 0.06879875808954239, 0.02408621460199356, -0.0074621764943003654, -0.016906393691897392, 0.002284348476678133, -0.0034089756663888693, 0.032762203365564346, 0.030415387824177742, -0.027064131572842598, -0.01602412760257721, -0.0375811941921711, 0.029042795300483704, 0.018213624134659767, 0.01851798966526985, 0.06134576350450516, 0.009248628281056881, -0.005935005843639374, 0.07989709824323654, 0.0015350847970694304, 0.06010832637548447, -0.013911949470639229, 0.005363387521356344, 0.026197470724582672, 0.04564831778407097, 0.010402487590909004, 0.04251091927289963, -0.012245479971170425, -0.020426003262400627, 0.007988750003278255, 0.06918565183877945, 0.01048513688147068, -0.031238924711942673, -0.02624252438545227, -0.04228096827864647, 0.07283466309309006, -0.0006685000844299793, -0.00044222752330824733, 0.04770676791667938, 0.08231544494628906, 0.03796932473778725, 0.05970979481935501, 0.005083414725959301, -0.07988391816616058, 0.04705694317817688, 0.03145480901002884, 0.022786781191825867, 0.013805113732814789, -0.015093058347702026, 0.0760435089468956, 0.03186524286866188, -0.006442350801080465, 0.020931798964738846, -0.07398749887943268, -0.06923601031303406, -0.020098630338907242, -0.015067844651639462, 0.06499917805194855, -0.05289386957883835, 0.012022102251648903, 0.052520062774419785, 0.038898348808288574, 0.03333417326211929, 0.03301084414124489, -0.01925465278327465, 0.033460382372140884, -0.09434784948825836, -0.030255984514951706, 0.02819189801812172, 0.0523877814412117, -0.03385964035987854, -0.0460590161383152, -0.0059422398917376995, -0.007405450567603111, -0.006386993452906609, 0.05509289726614952, -0.028041675686836243, 0.009955612942576408, 0.02649739570915699, 0.05907093733549118, -0.029462432488799095, 0.0522284209728241, -0.06344089657068253, 0.038214076310396194, 0.02268914319574833, 0.0073046316392719746, -0.02762272208929062, -0.0003685341216623783, 0.12357715517282486, 0.03500060737133026, 0.013860385864973068, -0.07144199311733246, 0.010212867520749569, -0.013250443153083324, -0.04991838335990906, -0.03385943919420242, -0.0009970911778509617, -0.0076247770339250565, 0.012307343073189259, -0.03494001924991608, 0.013746689073741436, -0.017446955665946007, -0.03127620741724968, -0.0003960193134844303, 0.07563698291778564, -0.003971153870224953, 0.02432256005704403, 0.03169367089867592, -0.013941130600869656, -0.012676311656832695, -0.03862036019563675, -0.04223061725497246, 0.0016955900937318802, -0.0024905188474804163, -0.01479287724941969, 0.026341009885072708, -0.04289009049534798, -0.028241993859410286, -0.022840013727545738, -0.04672599583864212, 0.042801566421985626, 0.03546382486820221, 0.07223998010158539, -0.023649539798498154, 0.03801833838224411, -0.0456259585916996, 0.01966460607945919, -0.03644803911447525, -0.04052741453051567, -0.027965497225522995, -0.007183247711509466, 0.003787602297961712, 0.011916945688426495, 0.021286262199282646, 0.012054592370986938, 0.012951241806149483, 0.011138365603983402, -0.03300447762012482, -0.015285499393939972, 0.03522399067878723, -0.018802285194396973, -0.006600580178201199, -0.02898547425866127, -0.031741201877593994, 0.06318381428718567, -0.01923629269003868, -0.02144715189933777, 0.00033737803460098803, -0.05925297364592552, 0.040126170963048935, -0.05631614848971367, -0.02418147400021553, -0.02653248980641365, 0.010106129571795464, 0.017779922112822533, -0.0008846443961374462, 0.006697792559862137, 0.0688801109790802, 0.01733756996691227, 0.023427918553352356, -0.0014054719358682632, 0.01398654468357563, 0.05350009724497795, -0.027421075850725174, 0.016070814803242683, 0.05997200682759285, -0.007323964964598417, -0.002690692199394107, -0.03760179132223129, 0.006542675197124481, -0.027778146788477898, -0.2917664647102356, 0.025274455547332764, -0.020130962133407593, -0.04090699180960655, 0.03225812315940857, 0.015527023933827877, -0.010306248441338539, -0.05745195597410202, 0.003728837240487337, 0.024227794259786606, -0.039119407534599304, -0.0016630003228783607, -0.03791099041700363, 0.018353231251239777, 0.019713958725333214, -0.006825748365372419, 0.005054596811532974, -0.022432906553149223, -0.0217744093388319, 0.016214169561862946, -0.013706137426197529, -0.06592696905136108, -0.013908660039305687, 0.061841581016778946, 0.0059402864426374435, 0.027040354907512665, -0.059266116470098495, 0.03882110118865967, -0.024926533922553062, -0.020637212321162224, 0.02310081012547016, -0.03983287140727043, 0.031042179092764854, -0.026159534230828285, -0.05465018376708031, -0.012488926760852337, 0.03696291893720627, -0.0037273527123034, 0.02833159826695919, 0.0042066979221999645, -0.031335167586803436, -0.03590526804327965, -0.027471501380205154, -0.048851288855075836, 0.0773562341928482, -0.04137827083468437, -0.08206363767385483, 0.012417277321219444, -0.034383051097393036, 0.08708185702562332, -0.01623792201280594, -0.04724985361099243, -0.010374444536864758, 0.06130332499742508, -0.0013239355757832527, -0.01400915626436472, -0.025918064638972282, -0.005441019311547279, -0.05604603514075279, -0.02155228704214096, -0.0007186965667642653, -0.052268367260694504, -0.04685794934630394, -0.05406023934483528, -0.02464957907795906, -0.050243962556123734, -0.06094765290617943, 0.01332155056297779, 0.06391841173171997, 0.02108634077012539, -0.04249997437000275, 0.022145753726363182, -0.038420699536800385, -0.09752152115106583, -0.008454944007098675, -0.03258407860994339, -0.04152170568704605, -0.0007788384682498872, -0.02079935371875763, 0.05280398204922676, -0.04786407947540283, -0.03487827256321907, 0.03052140772342682, 0.008461728692054749, 0.03687961399555206, -0.0155935138463974, 0.015738097950816154, -0.024149693548679352, 0.004367379937320948, -0.06194280833005905, 0.058015935122966766, -0.04612800106406212, -0.02454421855509281, 0.00251914095133543, -0.01700480654835701, 0.04493677616119385, 0.015469120815396309, -0.030258944258093834, 0.029284125193953514, 0.0281765628606081, 0.05152656510472298, -0.04449371621012688, 0.023020021617412567, -0.022090831771492958, 0.002812848426401615, -0.01253187283873558, -0.07303708791732788, 0.03381595388054848, 0.009505195543169975, 0.01821831241250038, -0.053029581904411316, -0.03153998404741287, 0.0014274262357503176, -0.05275892838835716, -0.02522251009941101, -0.0012480258010327816, -0.006375620141625404, 0.005283047445118427, 0.04233213886618614, -0.018241729587316513, -0.05841400474309921, 0.011888174340128899, 0.03966385871171951, -0.057557616382837296, -0.040105052292346954, -0.03064863383769989, 0.017618386074900627, -0.01667199470102787, 0.007988717406988144, 0.006373842246830463, -0.008144828490912914, 0.015657812356948853, 0.012412161566317081, -0.03459771350026131, 0.013411622494459152, -0.02968313731253147, -0.0025123069062829018, -0.025389647111296654, -0.010440186597406864, -0.0009689005673862994, 0.02190549485385418, -0.033114153891801834, 0.01584239862859249, 0.027552898973226547, 0.013935141265392303, 0.018484635278582573, 0.02568972110748291, 0.004306795075535774, -0.016403986141085625, -0.003218495287001133, 0.002345468383282423, -0.04466252401471138, 0.019079307094216347, -0.03561854735016823, -0.026544127613306046, -0.013097740709781647, 0.03336043283343315, -0.0017606158507987857, -0.04200231283903122, -0.03804533928632736, 0.03679349645972252, -0.02975214272737503, -0.009060332551598549, 0.022251343354582787, -0.005675343330949545, 0.04342169687151909, -0.02323245257139206, 0.050372734665870667, -0.00210748054087162, -0.0016121941152960062, -0.0121353380382061, 0.003788610687479377, -0.031301554292440414, 0.009031063877046108, -0.004937503952533007, -0.010795325972139835, -0.0005904629360884428, 0.029834900051355362, 0.021740132942795753, 0.019808048382401466, -0.003232811577618122, -0.01129048690199852, 0.027847133576869965, 0.037968557327985764, 0.049325309693813324, -0.009803267195820808, -0.013900735415518284, 0.006593369413167238, -0.02196451649069786, -0.014489488676190376, -0.034344252198934555, -0.015640022233128548, -0.04596630111336708, 0.0011879660887643695, -0.004725167527794838, -0.07662409543991089, 0.006794965360313654, 0.03320463001728058, 0.011452832259237766, 0.03191188722848892, 0.0019814034458249807, -0.022648822516202927, -0.009031563065946102, -0.01064742635935545, 0.05605365335941315, -0.034846000373363495, -0.04043909162282944, -0.028004951775074005, 0.020888935774564743, 0.0017786757089197636, 0.020024893805384636, -0.04772447049617767, -0.018244512379169464, 0.0020316485315561295, -0.0033242192585021257, -0.020482972264289856, -0.01680152118206024, -0.014050229452550411, -0.0024003502912819386, -0.015216724015772343, -0.006770071107894182, 0.010678640566766262, 0.005239302758127451, 0.01111519243568182, -0.02213592268526554, -0.0003925226046703756, -0.010785833932459354, 0.014342602342367172, 0.00908272247761488, -0.012922937981784344, 0.027521515265107155, -0.03837491199374199, 0.05547982454299927, 0.03259465470910072, -0.007407923229038715, -0.009709811769425869, -0.026794716715812683, 0.033563293516635895, -0.00033234525471925735, 0.07650918513536453, 0.022098517045378685, -0.01016741618514061, -0.02730991318821907, 0.023541036993265152, -0.01802089810371399, -0.02950693480670452, -0.03294212371110916, -0.007744257804006338, 0.030811594799160957, 0.05492502450942993, 0.030207103118300438, 0.029071560129523277, -0.02585814893245697, -0.05348531901836395, 0.060194917023181915, -0.07390408217906952, -0.04099708050489426, -0.017428619787096977, -0.018550455570220947, 0.04281825199723244, 0.020087653771042824, 0.010174567811191082, -0.0526132807135582, 0.04447053372859955, 0.052606359124183655, -0.002685293322429061, 0.02818368375301361, -0.014915854670107365, 0.03978608176112175, -0.04225289449095726, -0.013474220409989357, -0.09483784437179565, 0.00008695994620211422, 0.05711211636662483, 0.003385146614164114, 0.01802886091172695, -0.008937696926295757, -0.041418738663196564, 0.03304947540163994, -0.04906073957681656, -0.008059593848884106, 0.058525003492832184, -0.024647759273648262, 0.012480853125452995, -0.0013985801488161087, -0.037880029529333115, 0.035783473402261734, 0.07418601959943771, -0.033388618379831314, -0.016868507489562035, -0.027455464005470276, 0.039964500814676285, -0.019754154607653618, 0.036888137459754944, 0.0025755916722118855, 0.01824311353266239, 0.06568656116724014, 0.02172843925654888, -0.0031134127639234066, 0.0467250756919384, -0.012604163028299809, 0.00405931519344449, 0.015014794655144215, -0.027516691014170647, 0.010743703693151474, 0.04512558877468109, -0.029656752943992615, -0.04313642904162407, 0.036545637995004654, 0.04302268847823143, -0.024717407301068306, -0.021366005763411522, 0.07550270855426788, 0.024968724697828293, -0.0373627133667469, -0.05221864581108093, 0.03574994578957558, -0.06938602775335312, -0.02471720427274704, -0.010847696103155613, 0.014588887803256512, -0.0428154431283474, 0.04064221680164337, -0.018597345799207687, 0.007161465007811785, 0.08192147314548492, 0.01250508800148964, -0.01653209514915943, -0.01631631702184677, 0.08121968805789948, 0.10910013318061829, 0.029700525104999542, 0.009953186847269535, 0.0365976057946682, -0.02844599448144436, -0.030616773292422295, -0.012869288213551044, 0.01691553182899952, 0.00968047883361578, 0.026143522933125496, 0.016704503446817398, 0.06463301181793213, -0.03308218717575073, 0.07277221977710724, -0.009144461713731289, -0.028462128713726997, -0.00784779991954565, -0.012238421477377415, 0.03418274223804474, 0.03090844489634037, 0.007325859274715185, 0.010127445682883263, -0.023784782737493515, -0.05604253336787224, 0.04510543495416641, 0.003166888142004609, -0.04129355400800705, 0.013825250789523125, -0.008726275525987148, 0.01949493959546089, 0.026651665568351746, 0.06566748023033142, 0.06087450683116913, -0.022222815081477165, 0.0067800842225551605, -0.023194678127765656, 0.004999369382858276, -0.0023223129101097584, 0.016016662120819092, -0.008991881273686886, -0.015501228161156178, 0.010674027726054192, -0.0430048406124115, -0.02284015528857708, -0.01948024332523346, -0.05012586712837219, 0.02036101557314396, -0.03079252876341343, 0.010753903537988663, -0.011567369103431702, 0.0016519831260666251, -0.041101206094026566, -0.05148465931415558, -0.05397656932473183, -0.051871538162231445, -0.07640086859464645, -0.0169832743704319, 0.01838633045554161, -0.016778815537691116, -0.04125696048140526, -0.012504316866397858, -0.010613871738314629, 0.026657607406377792, 0.04672277346253395, -0.0422038733959198, -0.01810234785079956, 0.03323361277580261, 0.0010359631851315498, 0.013723757117986679, 0.01610293611884117, 0.05289587005972862, -0.010987943969666958, -0.009288538247346878, -0.018331872299313545, -0.007207541726529598, 0.07645485550165176, -0.0003934171691071242, -0.012570802122354507, -0.07567918300628662, 0.024892069399356842, 0.06310421973466873, 0.03232184424996376, -0.058874137699604034, 0.004885684233158827, 0.00855904258787632, -0.0015530389500781894, 0.060803256928920746, -0.009537970647215843, 0.004058850929141045, -0.054375842213630676, -0.02669614925980568, -0.013784547336399555, 0.011647154577076435, 0.044231969863176346, 0.021000243723392487, 0.0868377834558487, 0.04614727944135666, -0.03521452844142914, -0.021374881267547607, -0.038242898881435394, -0.007123746909201145, 0.018959198147058487, -0.031647998839616776, -0.023995066061615944, -0.05535447224974632, -0.03672340512275696, -0.04783713072538376, -0.0028274960350245237, -0.04560565575957298, -0.012007499113678932, -0.011903015896677971, 0.03191738203167915, -0.010043156333267689, 0.03770222142338753, -0.04164991155266762, 0.05708443745970726, 0.0019676692318171263, -0.03466477617621422, -0.04079413041472435, 0.005928201600909233, 0.041153375059366226, -0.014638449065387249, 0.02183101698756218, -0.03940987214446068, 0.04084762930870056, 0.0002579143620096147, 0.011058204807341099, 0.01739313080906868, -0.03451520949602127, -0.0052278367802500725 ]
[ -0.09421052038669586, -0.014755780808627605, -0.038814716041088104, -0.049146562814712524, 0.03964975103735924, -0.04899740591645241, -0.041216347366571426, 0.0099010169506073, -0.03833112493157387, 0.01725340075790882, -0.017683207988739014, -0.07938733696937561, -0.00004331269519752823, -0.016325782984495163, 0.09291103482246399, -0.006133050192147493, -0.01700296252965927, -0.04744359478354454, -0.09410610049962997, 0.04593421518802643, -0.00745211448520422, -0.0365745946764946, -0.02799053117632866, -0.05007656291127205, 0.017886169254779816, 0.032066699117422104, 0.04492717236280441, -0.037393659353256226, -0.015035482123494148, -0.19674259424209595, 0.027051566168665886, -0.023098038509488106, 0.003229534486308694, -0.023810630664229393, -0.004904427565634251, 0.04251496121287346, 0.044317010790109634, 0.017538251355290413, -0.009698322974145412, 0.04757929593324661, 0.049844495952129364, 0.004149075597524643, -0.045744411647319794, -0.03679179772734642, 0.02883749082684517, -0.01304078008979559, -0.00117738195694983, -0.021370012313127518, 0.008930730633437634, 0.027141889557242393, -0.07550548762083054, 0.00364953326061368, 0.03030649945139885, -0.05729368329048157, 0.026639213785529137, 0.031164266169071198, 0.026774272322654724, 0.09465456753969193, -0.004570447839796543, 0.023415997624397278, -0.010448544286191463, 0.008285733871161938, -0.10840394347906113, 0.10010597109794617, 0.035071056336164474, 0.05653102323412895, -0.029555033892393112, -0.017388038337230682, -0.027676260098814964, 0.0569857582449913, 0.0029760063625872135, -0.008420922793447971, -0.04671686142683029, 0.08398744463920593, 0.021622536703944206, -0.052083782851696014, -0.021635912358760834, 0.018533015623688698, 0.02918691374361515, -0.0325055830180645, -0.07343002408742905, 0.005253071431070566, -0.0023542323615401983, 0.01944686658680439, -0.014770152978599072, 0.004862639121711254, -0.025303488597273827, 0.04832514375448227, 0.013269844464957714, -0.012739426456391811, 0.022112218663096428, -0.012056701816618443, 0.05829136073589325, 0.05259840935468674, -0.11505065113306046, 0.0022313150111585855, -0.004815348889678717, 0.013730756938457489, 0.005348830483853817, 0.3695295453071594, -0.04658395051956177, -0.031604308634996414, 0.060886844992637634, 0.008901895955204964, -0.003185627283528447, 0.0007314641843549907, -0.007680345326662064, -0.034258875995874405, 0.02727372944355011, -0.023337045684456825, -0.010186538100242615, 0.0017531081102788448, 0.02568560279905796, -0.032896898686885834, -0.02214764431118965, 0.009474245831370354, 0.03387186676263809, 0.04135332629084587, -0.03845902904868126, 0.028067680075764656, 0.03186853229999542, 0.014313708059489727, 0.012106713838875294, -0.013389203697443008, 0.0024767585564404726, 0.023882588371634483, 0.029471995308995247, 0.012270720675587654, 0.073672816157341, 0.05173788592219353, 0.00034068478271365166, -0.0339159332215786, -0.07109495997428894, -0.004951719660311937, -0.016804710030555725, 0.0011219418374821544, -0.012851943261921406, -0.07008126378059387, 0.002981108147650957, 0.022012412548065186, 0.0030831964686512947, -0.042150888592004776, 0.007797314785420895, -0.005526531022042036, -0.01272285170853138, 0.073109932243824, 0.01894833892583847, -0.03498970344662666, -0.01070243027061224, -0.06501393020153046, -0.012820295989513397, 0.05474483221769333, -0.002675055293366313, -0.032087042927742004, 0.014289967715740204, 0.033062104135751724, 0.05022251233458519, -0.017312826588749886, -0.07703329622745514, 0.001432312885299325, -0.01976979523897171, -0.044947121292352676, -0.01648358814418316, 0.03136468306183815, 0.02732125297188759, -0.07712649554014206, -0.010747883468866348, 0.024753393605351448, 0.005565009545534849, -0.09475048631429672, -0.018872682005167007, 0.030738594010472298, -0.023351499810814857, 0.0017040829407051206, 0.048081714659929276, -0.022082559764385223, -0.035165078938007355, -0.03264908492565155, 0.05068105086684227, 0.01634357124567032, -0.010051680728793144, 0.01365567371249199, -0.03753608837723732, 0.007161299232393503, -0.01564251258969307, -0.05132363736629486, -0.05832228809595108, -0.005339647643268108, -0.010353255085647106, 0.017550630494952202, 0.00006916454003658146, 0.004526766482740641, -0.03487253934144974, 0.03799299895763397, 0.0014174104435369372, 0.013238350860774517, -0.006513300817459822, -0.0021384512074291706, -0.007432475686073303, -0.037277642637491226, 0.012526586651802063, 0.06054996699094772, -0.01690448448061943, 0.03194263577461243, -0.059463392943143845, -0.02894904837012291, 0.07417476177215576, -0.06168298050761223, 0.04661378264427185, 0.02350732870399952, -0.028098678216338158, 0.008077072910964489, -0.025522874668240547, 0.007105039432644844, -0.01940203085541725, 0.00035280088195577264, -0.009331674315035343, -0.020931633189320564, 0.06192118301987648, 0.03694627061486244, -0.07603508979082108, -0.09674029797315598, -0.04405786097049713, -0.3409097492694855, -0.013145670294761658, 0.002820210065692663, 0.005799587815999985, 0.04995822161436081, -0.09114158153533936, -0.014901543967425823, -0.018291179090738297, 0.004616076126694679, -0.0003940632741432637, 0.11929811537265778, -0.04423285648226738, -0.01974903792142868, -0.09249576181173325, 0.024068813771009445, 0.023666024208068848, 0.018807772547006607, -0.033765003085136414, 0.003802676685154438, 0.08146250247955322, 0.0001743266184348613, -0.06432230025529861, -0.03231409937143326, -0.029113611206412315, -0.009360944852232933, -0.042579542845487595, 0.12579485774040222, 0.02140459232032299, 0.06593383103609085, -0.06724969297647476, 0.028530942276120186, 0.021891547366976738, -0.02892807126045227, -0.1137380376458168, -0.007019026204943657, -0.03486728295683861, 0.0025098263286054134, 0.03307461738586426, 0.01216529868543148, -0.004138963762670755, -0.027649294584989548, 0.04377702623605728, -0.04974386841058731, -0.0715612843632698, -0.022954165935516357, 0.030417073518037796, -0.04735037684440613, -0.028846045956015587, 0.007973028346896172, 0.04760666936635971, 0.012005152180790901, 0.0431239940226078, 0.05250546708703041, -0.00001678383159742225, -0.008311205543577671, 0.007224316243082285, -0.051735080778598785, -0.027233676984906197, 0.011219322681427002, -0.034237589687108994, 0.03758813813328743, 0.049277011305093765, 0.04217967018485069, -0.05244588851928711, 0.011245965957641602, -0.016759373247623444, 0.04310537129640579, 0.035391997545957565, 0.02761409804224968, -0.02313847653567791, -0.029970956966280937, 0.05319633707404137, 0.014643166214227676, 0.03579137846827507, 0.06659965962171555, 0.07752157747745514, -0.041073430329561234, 0.0027367824222892523, 0.032732345163822174, 0.03212698921561241, 0.01545784343034029, 0.01965383067727089, 0.07016696035861969, -0.02493356727063656, -0.001045048120431602, 0.08149596303701401, -0.031594958156347275, -0.025042150169610977, 0.009135606698691845, 0.013737786561250687, -0.018115757033228874, -0.02395075187087059, 0.014846667647361755, -0.056917622685432434, 0.04435399919748306, 0.02514270506799221, -0.24856862425804138, 0.043904535472393036, 0.05234503746032715, 0.09443627297878265, 0.02291894517838955, 0.020352577790617943, 0.04570141062140465, -0.053732313215732574, -0.032983388751745224, 0.05346352607011795, 0.0157121904194355, 0.04289472475647926, 0.014301255345344543, -0.023095788434147835, 0.06119914725422859, -0.034661851823329926, 0.033803511410951614, 0.01777256280183792, 0.017354223877191544, 0.0038999575190246105, 0.04002927243709564, -0.025370528921484947, 0.19433431327342987, 0.027781782671809196, -0.005152742378413677, 0.033880241215229034, 0.004251944366842508, 0.022249870002269745, 0.08574935793876648, 0.004358972888439894, 0.009299678727984428, 0.017772667109966278, 0.0555557906627655, 0.07742414623498917, 0.01746828481554985, -0.05230430141091347, -0.040958747267723083, 0.02972935140132904, -0.007451838348060846, -0.041463445872068405, -0.010033183731138706, 0.048176296055316925, -0.028970608487725258, 0.009902619756758213, 0.07404661178588867, 0.001821072306483984, -0.007458031643182039, -0.056824177503585815, -0.05330575630068779, -0.018006274476647377, -0.01575913093984127, -0.049786683171987534, -0.002745727775618434, -0.013375586830079556, -0.0018847980536520481, 0.07779335230588913, 0.009793053381145, -0.03567272052168846, 0.021599655970931053, 0.037384528666734695, 0.023510754108428955, -0.029335862025618553, 0.09679138660430908, 0.004467131569981575, -0.0009259528014808893 ]
[ -0.010803327895700932, 0.01668243668973446, -0.009800936095416546, -0.05369662865996361, -0.0015583671629428864, -0.046100515872240067, -0.019595526158809662, 0.02864556573331356, 0.0058148810639977455, -0.04462325945496559, -0.008697041310369968, -0.0018504778854548931, 0.030547238886356354, -0.021329496055841446, 0.014922871254384518, -0.018069986253976822, -0.04177551344037056, 0.0490318238735199, 0.02525821141898632, -0.014766156673431396, 0.002550367731601, 0.03294312208890915, 0.04956823214888573, 0.001346677541732788, -0.011151480488479137, 0.047179389744997025, -0.002040620194748044, 0.0037727125454694033, 0.010035292245447636, -0.10556914657354355, -0.03523428738117218, -0.02549378015100956, -0.002157878130674362, 0.012111954391002655, -0.031927574425935745, 0.004410508554428816, 0.0017156582325696945, 0.01962774246931076, -0.006174403242766857, -0.009999730624258518, 0.016750354319810867, 0.005138438660651445, -0.04423084855079651, -0.03736889362335205, 0.03063596785068512, 0.00509560527279973, -0.020794985815882683, -0.03600557520985603, -0.02461828663945198, 0.02261722832918167, -0.054959770292043686, -0.004453342407941818, 0.022654684260487556, 0.01280920673161745, 0.021502558141946793, -0.040788017213344574, -0.046682555228471756, -0.003670636098831892, 0.022383416071534157, -0.03512309491634369, -0.005544100422412157, 0.01910480670630932, -0.039732400327920914, -0.019137874245643616, -0.007544317748397589, -0.04818613454699516, -0.010603736154735088, 0.018235815688967705, 0.011076298542320728, -0.019097188487648964, 0.03886312246322632, 0.03354640305042267, -0.03304141387343407, -0.04160395264625549, -0.032644178718328476, 0.02046632580459118, 0.00738708209246397, -0.045712660998106, -0.02951904572546482, 0.000928753346670419, -0.01700739935040474, -0.02351510524749756, 0.019074665382504463, 0.03505052253603935, -0.02663799561560154, -0.009823041036725044, 0.00026700246962718666, -0.013798157684504986, -0.011923563666641712, 0.017377981916069984, -0.015779664739966393, -0.0017153954831883311, 0.03304915875196457, -0.00626039644703269, -0.05944253131747246, 0.031248876824975014, -0.012201820500195026, 0.0014528492465615273, -0.0001396112347720191, 0.8167639970779419, -0.03816626965999603, 0.0380249097943306, 0.02799970842897892, -0.022237218916416168, 0.021989382803440094, -0.010847026482224464, 0.04474646598100662, -0.021897321566939354, -0.009160186164081097, 0.009284896776080132, 0.05281044542789459, 0.014136279001832008, 0.055442024022340775, 0.002009416464716196, 0.004252002574503422, 0.04719841480255127, 0.02907470613718033, 0.05409103259444237, 0.027502886950969696, 0.037091851234436035, 0.03201018273830414, -0.01848239079117775, -0.015330682508647442, 0.011095146648585796, 0.001083584502339363, -0.16351673007011414, 0.00040524135692976415, -6.89346180710271e-33, 0.03079603612422943, -0.01983785256743431, 0.030207395553588867, -0.008466538041830063, -0.020693399012088776, -0.050374530255794525, 0.011728767305612564, -0.025831369683146477, -0.03477028012275696, -0.04420770704746246, -0.017213428393006325, 0.0006799602997489274, -0.02060835063457489, -0.0035136002115905285, -0.005172268953174353, -0.016992846503853798, 0.013467620126903057, 0.033163122832775116, 0.008223931305110455, 0.016043931245803833, 0.019641820341348648, 0.007306211162358522, 0.03635182976722717, 0.02339303120970726, -0.007160021457821131, -0.005432995967566967, 0.023006170988082886, -0.01587582193315029, -0.013534006662666798, -0.04009663313627243, -0.025384122505784035, 0.00846486072987318, 0.025845881551504135, -0.011508633382618427, 0.05226505547761917, -0.036180708557367325, 0.020613236352801323, 0.018916789442300797, -0.03974248841404915, -0.04678020253777504, -0.01976141333580017, -0.026267217472195625, -0.0314561128616333, -0.03448183462023735, -0.02523506060242653, -0.035718996077775955, 0.0024640776682645082, 0.011079602874815464, -0.008567926473915577, 0.04819255322217941, 0.004465749487280846, 0.021353622898459435, -0.010561850853264332, -0.006304949056357145, 0.010441924445331097, -0.01096266508102417, 0.004446003586053848, -0.04043147340416908, -0.004024927970021963, 0.044423580169677734, 0.004666916094720364, 0.03245339170098305, 0.0111493319272995, 0.044904183596372604, 0.014219707809388638, -0.04536953568458557, 0.003578554606065154, 0.025565944612026215, 0.016103951260447502, 0.031863983720541, -0.024008693173527718, 0.028108423575758934, -0.014359263703227043, -0.03066233918070793, 0.03029499016702175, -0.033543121069669724, -0.007776482496410608, -0.014851516112685204, 0.013485216535627842, 0.03439115732908249, 0.03102102503180504, -0.02867327630519867, -0.022623132914304733, -0.00778917595744133, -0.026669897139072418, 0.022256208583712578, -0.00732939038425684, -0.018185755237936974, -0.010044739581644535, -0.011954767629504204, 0.014865772798657417, 0.02613329514861107, -0.005230002570897341, -0.04709808900952339, -0.04264599084854126, 7.233775503189424e-33, -0.00034517215681262314, -0.02623424120247364, 0.02410794049501419, 0.01616835594177246, 0.01621653512120247, -0.0038642229046672583, 0.053709566593170166, 0.005336030386388302, -0.007947753183543682, 0.06003088876605034, -0.05193649232387543, -0.02398686110973358, -0.00378591800108552, 0.014857979491353035, 0.0480525828897953, 0.012418553233146667, 0.0102468803524971, 0.007321589160710573, -0.03215976431965828, -0.01711665838956833, 0.002259524306282401, 0.0027052515652030706, 0.0362960509955883, 0.036263782531023026, 0.0050064134411513805, 0.03843987360596657, -0.019952839240431786, 0.02500830590724945, -0.04483499750494957, 0.000987315783277154, 0.014111562632024288, -0.027681156992912292, 0.020401516929268837, -0.005777671933174133, -0.008579113520681858, 0.02028079517185688, 0.02242136001586914, -0.02414826676249504, 0.0438043586909771, 0.006752526853233576, 0.00696836831048131, -0.010058420710265636, 0.010022060945630074, 0.0013908380642533302, -0.0014573250664398074, 0.011747453361749649, 0.041644491255283356, 0.029626410454511642, 0.023035656660795212, -0.06113813817501068, 0.01559319719672203, 0.048770755529403687, 0.012570097111165524, 0.012201996520161629, 0.03577402979135513, -0.028886305168271065, -0.029107162728905678, 0.01760590262711048, -0.06971443444490433, -0.005580640863627195, -0.014512406662106514, -0.04765094444155693, 0.0054855383932590485, 0.028624633327126503, -0.024472983554005623, -0.03982144221663475, 0.00703600887209177, -0.03624224662780762, -0.019186653196811676, -0.004546803887933493, -0.034843429923057556, -0.03954280540347099, 0.009167052805423737, 0.028762515634298325, 0.008655263110995293, -0.016559898853302002, -0.025487422943115234, 0.002893817378208041, 0.02661805786192417, 0.02465975657105446, 0.03486918285489082, -0.0049141524359583855, -0.015828600153326988, 0.03205673769116402, 0.05881863832473755, -0.0033910127822309732, -0.029711926355957985, -0.0022115549072623253, 0.01951468735933304, -0.011243977583944798, 0.004095651675015688, -0.017647888511419296, -0.02701227180659771, 0.015596577897667885, 0.013864129781723022, -1.2467251231385035e-8, -0.010938098654150963, -0.025940360501408577, -0.021139895543456078, 0.0788036361336708, 0.029994910582900047, 0.028619930148124695, -0.0191892571747303, -0.020499061793088913, 0.0034815152175724506, -0.011065816506743431, 0.02581997960805893, 0.022994745522737503, -0.009489812888205051, 0.000886187597643584, 0.02911432832479477, -0.028309909626841545, 0.03888513892889023, 0.0044863345101475716, 0.029866114258766174, -0.03561307117342949, 0.01390201784670353, 0.04889283329248428, -0.02213914319872856, -0.01709676906466484, -0.01957777328789234, 0.00039864686550572515, 0.022177323698997498, -0.07968509942293167, -0.018151000142097473, -0.05017116293311119, 0.05037548393011093, -0.04992792382836342, -0.011927112936973572, -0.009465264156460762, 0.003173819975927472, -0.03816637024283409, 0.026895031332969666, 0.03301224485039711, 0.003083046292886138, 0.018501101061701775, 0.007874762639403343, 0.0560806579887867, -0.03843146190047264, -0.03320213407278061, -0.04760260134935379, 0.011411087587475777, -0.04266902059316635, 0.0421416349709034, -0.03507975861430168, 0.0033744373358786106, 0.034868426620960236, -0.0011998130939900875, 0.06585241854190826, 0.03588103875517845, 0.030043743550777435, 0.032439153641462326, 0.04580261558294296, -0.04948888346552849, -0.03099101595580578, 0.018572090193629265, 0.0701928585767746, 0.006015800405293703, -0.03322243690490723, -0.015403077006340027 ]
clojure-writing-json-to-a-filereading-json-from-a-file
https://markhneedham.com/blog/2013/09/26/clojure-writing-json-to-a-filereading-json-from-a-file
false
2013-09-26 19:11:29
Clojure: Writing JSON to a file - "Exception Don't know how to write JSON of class org.joda.time.DateTime"
[ "clojure" ]
[ "Clojure" ]
As I mentioned in an earlier post I've been transforming http://www.markhneedham.com/blog/2013/09/26/clojure-writing-json-to-a-filereading-json-from-a-file/[Clojure hash's into JSON strings] using https://github.com/clojure/data.json[data.json] but ran into trouble while trying to parse a hash which contained a http://www.joda.org/joda-time/[Joda Time] DateTime instance. The date in question was constructed like this: [source,lisp] ---- (ns json-date-example (:require [clj-time.format :as f]) (:require [clojure.data.json :as json])) (defn as-date [date-field] (f/parse (f/formatter "dd MMM YYYY") date-field )) (def my-date (as-date "18 Mar 2012")) ---- And when I tried to convert a hash containing that object into a string I got the following exception: [source,lisp] ---- > (json/write-str {:date my-date)}) java.lang.Exception: Don't know how to write JSON of class org.joda.time.DateTime at clojure.data.json$write_generic.invoke (json.clj:367) clojure.data.json$eval2818$fn__2819$G__2809__2826.invoke (json.clj:284) clojure.data.json$write_object.invoke (json.clj:333) clojure.data.json$eval2818$fn__2819$G__2809__2826.invoke (json.clj:284) clojure.data.json$write.doInvoke (json.clj:450) clojure.lang.RestFn.invoke (RestFn.java:425) ---- Luckily it's quite easy to get around this by passing a function to +++<cite>+++write-str+++</cite>+++ that converts the DateTime into a string representation before writing that part of the hash to a string. The function looks like this: [source,lisp] ---- (defn as-date-string [date] (f/unparse (f/formatter "dd MMM YYYY") date)) (defn date-aware-value-writer [key value] (if (= key :date) (as-date-string value) value)) ---- And we make use of the writer like so: [source,lisp] ---- > (json/write-str {:date my-date} :value-fn date-aware-value-writer) "{\"date\":\"18 Mar 2012\"}" ---- If we want to read that string back again and reify our date we create a reader function which converts a string into a DateTime. The +++<cite>+++as-date+++</cite>+++ function from the beginning of this post does exactly what we want so we'll use that: [source,lisp] ---- (defn date-aware-value-reader [key value] (if (= key :date) (as-date value) value)) ---- We can then pass the reader as an argument to +++<cite>+++read-str+++</cite>+++: [source,lisp] ---- > (json/read-str "{\"date\":\"18 Mar 2012\"}" :value-fn date-aware-value-reader :key-fn keyword) {:date #<DateTime 2012-03-18T00:00:00.000Z>} ----
null
null
[ -0.02318432927131653, -0.0030295008327811956, -0.0413188561797142, 0.015848815441131592, 0.050135064870119095, 0.0036418973468244076, 0.04597301408648491, 0.027421332895755768, 0.009314504452049732, -0.013071668334305286, -0.002670053392648697, -0.03309836611151695, -0.057638950645923615, 0.033532701432704926, -0.010297096334397793, 0.048554640263319016, 0.08433137089014053, -0.024106569588184357, 0.041651878505945206, 0.010915488004684448, 0.041591398417949677, 0.049907371401786804, 0.0023616233374923468, 0.01402994990348816, 0.0498015433549881, -0.012928499840199947, 0.012957639060914516, 0.020953470841050148, -0.06411247700452805, -0.010406874120235443, 0.0001935372274601832, 0.0072246696799993515, -0.020505188032984734, 0.016046063974499702, 0.01022842526435852, 0.010221244767308235, -0.027041129767894745, -0.014393835328519344, 0.021302523091435432, 0.06803858280181885, -0.040753819048404694, 0.004256560001522303, -0.0036453227512538433, 0.004321124870330095, -0.03240017965435982, 0.030217250809073448, -0.02714054100215435, 0.04267801716923714, -0.005591252818703651, 0.012252094224095345, -0.04565043747425079, 0.008620274253189564, 0.001956343185156584, -0.005213674157857895, 0.002930228365585208, 0.03258000686764717, 0.011153798550367355, -0.09014155715703964, 0.06425493955612183, -0.02228575199842453, 0.010056251659989357, -0.023704741150140762, 0.015857217833399773, -0.0028084968216717243, -0.006479198113083839, -0.0033238688483834267, -0.006805845536291599, 0.042151790112257004, -0.055267106741666794, -0.03473569080233574, 0.016309909522533417, 0.011949792504310608, -0.02959330566227436, -0.01684662699699402, 0.021674595773220062, -0.05661624297499657, -0.0058415974490344524, 0.06469200551509857, -0.0052591413259506226, 0.06785713881254196, -0.03487655892968178, 0.017984304577112198, 0.0451229102909565, 0.03073916770517826, 0.016713760793209076, -0.0228964202105999, -0.04834961146116257, 0.011951537802815437, -0.04212212935090065, 0.03721548989415169, 0.05177777260541916, -0.010229190811514854, 0.005619104485958815, 0.009346093982458115, -0.004485137760639191, 0.009194544516503811, -0.013026461936533451, 0.034161970019340515, -0.00020856833725702018, 0.00008930144394980744, -0.03219161927700043, -0.026787657290697098, 0.018773796036839485, 0.02315840870141983, -0.057525988668203354, -0.030717171728610992, -0.027185598388314247, -0.02717004157602787, 0.01827717199921608, -0.02767563983798027, -0.03951678425073624, 0.014584340155124664, 0.00883696973323822, 0.005506339017301798, -0.04048565402626991, 0.04153884947299957, 0.014002306386828423, -0.0444846972823143, -0.042019885033369064, 0.03562362119555473, 0.01672501116991043, 0.0062076193280518055, 0.0029764825012534857, 0.06900454312562943, 0.004481457639485598, 0.04939738288521767, -0.008276120759546757, 0.05571138113737106, 0.009545285254716873, -0.05354110151529312, -0.044042132794857025, 0.04942554607987404, 0.00972817838191986, 0.032148007303476334, 0.0004889133851975203, -0.052999239414930344, -0.02895643375813961, -0.004223542753607035, 0.06925711035728455, 0.034111388027668, -0.0057669589295983315, -0.022113259881734848, -0.0015084503684192896, -0.006154055707156658, 0.02646392583847046, 0.04494974762201309, -0.015458631329238415, -0.02135753259062767, -0.029629245400428772, 0.0209826547652483, 0.028295816853642464, 0.014693165197968483, 0.04743678867816925, 0.003158457577228546, -0.002538638422265649, 0.0813349187374115, -0.013757339678704739, 0.07624363154172897, -0.03747070953249931, 0.007499010767787695, 0.0006855741958133876, 0.04205762594938278, 0.0023178185801953077, 0.03184082359075546, 0.0035202396102249622, -0.0023372815921902657, 0.029621906578540802, 0.03657478094100952, -0.015336829237639904, -0.031426142901182175, -0.06047568470239639, -0.06709735095500946, 0.05927858501672745, -0.00918603502213955, -0.026040267199277878, 0.06265167891979218, 0.08872644603252411, 0.030277809128165245, 0.0418424978852272, 0.0049597700126469135, -0.07797558605670929, 0.05517052114009857, 0.02263692207634449, 0.03335782513022423, 0.021701762452721596, -0.0035504954867064953, 0.057447440922260284, 0.009249072521924973, 0.0013753474922850728, 0.04309379681944847, -0.08528312295675278, -0.050994619727134705, -0.01731061190366745, -0.028909504413604736, 0.056273993104696274, -0.05612736940383911, 0.0042557623237371445, 0.02137495018541813, 0.005642987322062254, 0.04796919971704483, 0.010326165705919266, -0.008360329084098339, 0.025531353428959846, -0.06197067350149155, -0.032746322453022, 0.027755357325077057, 0.06996484845876694, -0.02287137694656849, -0.015486467629671097, 0.0025515551678836346, -0.007641797885298729, -0.0016402889741584659, 0.06434591859579086, -0.004284846130758524, 0.005260115955024958, 0.05383629724383354, 0.06159384921193123, -0.038064274936914444, 0.021409153938293457, -0.07645884901285172, 0.05344102904200554, 0.012754029594361782, -0.005768424365669489, -0.03290542960166931, 0.0018024930031970143, 0.11228655278682709, 0.0426122322678566, -0.004654089454561472, -0.05932298302650452, 0.029858946800231934, -0.004578746389597654, -0.05742855742573738, -0.03824159875512123, 0.0020708569791167974, 0.02495659701526165, 0.04442650079727173, -0.017085140570998192, -0.007863505743443966, -0.016528984531760216, -0.027757566422224045, 0.009763110429048538, 0.08917950093746185, -0.010636388324201107, 0.04012196511030197, -0.0016328641213476658, 0.004531726706773043, -0.02975991927087307, -0.04372794181108475, -0.052087441086769104, 0.026583179831504822, -0.015619251877069473, -0.016861848533153534, 0.04643133655190468, -0.022379230707883835, -0.0217804666608572, -0.021977536380290985, -0.04895756021142006, 0.04461485147476196, 0.04615078121423721, 0.051223333925008774, -0.010701068677008152, 0.038081616163253784, -0.045783642679452896, 0.023069249466061592, -0.02730667218565941, -0.052158959209918976, -0.015819819644093513, 0.031162653118371964, 0.014138415455818176, 0.006495273672044277, 0.02680494263768196, -0.01050855778157711, 0.037795569747686386, 0.028255872428417206, -0.02523907646536827, -0.018577242270112038, 0.030483020469546318, -0.012237920425832272, -0.010710648261010647, -0.025316886603832245, -0.013100565411150455, 0.06204603239893913, -0.021299520507454872, -0.025025567039847374, 0.0036772156599909067, -0.07681205868721008, 0.06489051133394241, -0.03521880879998207, -0.034487929195165634, -0.013599846512079239, 0.0031242393888533115, 0.034709081053733826, 0.005728879012167454, -0.013106826692819595, 0.07146826386451721, 0.01170431450009346, 0.016958173364400864, 0.014023183844983578, 0.004209484905004501, 0.05478527769446373, -0.013773150742053986, 0.025202220305800438, 0.059501100331544876, 0.010377435944974422, -0.011873197741806507, -0.04175275191664696, -0.007737825158983469, -0.008384891785681248, -0.2726137340068817, 0.024399977177381516, -0.038908082991838455, -0.03392793610692024, 0.012804653495550156, 0.01589234173297882, 0.00886907521635294, -0.05101461708545685, 0.005467141978442669, 0.013713647611439228, -0.02110259421169758, -0.02555110678076744, -0.03143264353275299, 0.02049364522099495, 0.000662759062834084, -0.043522968888282776, 0.013680070638656616, -0.044161152094602585, -0.0032280555460602045, 0.018649017438292503, 0.00961327739059925, -0.06510689854621887, -0.012799384072422981, 0.04605348780751228, 0.0067837852984666824, 0.04622781276702881, -0.040426746010780334, 0.024312349036335945, -0.036961041390895844, -0.014845073223114014, 0.024802714586257935, -0.021253593266010284, 0.0555076003074646, -0.019280370324850082, -0.020534541457891464, -0.0063401274383068085, 0.012047024443745613, 0.003527777036651969, 0.032417941838502884, 0.029237322509288788, -0.024013036862015724, -0.060465093702077866, -0.02497445046901703, -0.012575117871165276, 0.08542963862419128, -0.019117344170808792, -0.07128193974494934, 0.004093545023351908, -0.034211449325084686, 0.07730914652347565, -0.01972612924873829, -0.04162576422095299, -0.010379965417087078, 0.028252333402633667, 0.013721575029194355, -0.017973504960536957, -0.0470530204474926, -0.011530647054314613, -0.03831423074007034, -0.01835707575082779, -0.008838391862809658, -0.04209291934967041, -0.02076030522584915, -0.04961611330509186, -0.07037614285945892, -0.06971456855535507, -0.06270188093185425, 0.001842017169110477, 0.06759428232908249, 0.019038701429963112, -0.040561847388744354, 0.012311014346778393, -0.026871057227253914, -0.10871286690235138, -0.01034062821418047, -0.028223000466823578, -0.04320870339870453, -0.020482636988162994, -0.05122023820877075, 0.0476490780711174, -0.03984437137842178, -0.03707626089453697, 0.02014027163386345, 0.02778473310172558, 0.04483207315206528, -0.002621690509840846, 0.009545584209263325, -0.028486698865890503, 0.018656492233276367, -0.04822690039873123, 0.05922519415616989, -0.02417808212339878, -0.027850836515426636, 0.010477542877197266, -0.005577586125582457, 0.060440778732299805, 0.0037589906714856625, -0.016633842140436172, 0.03273851051926613, 0.00410541333258152, 0.03407597914338112, -0.06338633596897125, 0.028310691937804222, -0.0330132432281971, -0.0034773906227201223, -0.039402805268764496, -0.04965313524007797, 0.037130601704120636, -0.010593228042125702, 0.013010705821216106, -0.008712634444236755, -0.04997621849179268, 0.003751281648874283, -0.0802619680762291, -0.03445682302117348, -0.03991476073861122, -0.013476479798555374, 0.039741743355989456, 0.056486912071704865, -0.0203549787402153, -0.06775710731744766, 0.008338683284819126, 0.025727951899170876, -0.04767337441444397, -0.044009555131196976, -0.046775318682193756, 0.0014205200131982565, -0.009524339810013771, 0.013758334331214428, 0.018067345023155212, -0.01932443678379059, 0.03335484862327576, 0.014285704120993614, -0.0004979023360647261, 0.020305689424276352, -0.014712218195199966, -0.0038696215488016605, -0.03291166201233864, -0.02894764207303524, 0.011561311781406403, 0.04970847815275192, -0.03480830416083336, 0.0035274892579764128, 0.02250133641064167, 0.020054012537002563, 0.0188903845846653, 0.01384466141462326, -0.014413020573556423, -0.021412696689367294, 0.01640482433140278, 0.014713774435222149, -0.06253204494714737, 0.03616238385438919, -0.053124167025089264, -0.03702600300312042, 0.026705272495746613, 0.022054340690374374, 0.004361331462860107, -0.04767386615276337, -0.046098917722702026, 0.030806539580225945, -0.036135345697402954, -0.011585033498704433, -0.011525370180606842, -0.021929850801825523, 0.03832610324025154, -0.021208373829722404, 0.06214539334177971, -0.0005463112029246986, -0.030734673142433167, -0.041259340941905975, -0.016372356563806534, -0.046173349022865295, 0.03321223333477974, 0.004263388924300671, -0.007021523546427488, 0.015185751020908356, 0.03698780760169029, 0.045701902359724045, 0.002313009463250637, -0.009135163389146328, -0.015509812161326408, 0.033606115728616714, 0.03871060535311699, 0.03412436693906784, -0.0001987104187719524, 0.0020847036503255367, -0.013668326660990715, -0.02167978323996067, -0.03684615343809128, -0.022435585036873817, -0.03991413861513138, -0.021801644936203957, -0.011981825344264507, -0.005374696105718613, -0.0714157447218895, 0.03145383670926094, 0.037769146263599396, 0.026241498067975044, 0.005319476593285799, 0.01176754292100668, -0.01455778069794178, -0.035007018595933914, 0.004316126462072134, 0.04268047213554382, -0.05206463485956192, -0.02850271947681904, -0.02603563480079174, 0.01337122730910778, 0.010216853581368923, 0.03553096577525139, -0.038064830005168915, 0.006131317932158709, 0.0033417183440178633, -0.004221738316118717, -0.022569281980395317, -0.022985579445958138, -0.01913621835410595, 0.02459922432899475, -0.01707908883690834, 0.000009859830242930911, -0.0038857252802699804, -0.01795349083840847, 0.015343423001468182, -0.0019424433121457696, 0.024613192304968834, -0.03241097182035446, 0.03223366662859917, 0.009415672160685062, 0.010690067894756794, 0.01703769527375698, -0.04005569592118263, 0.04019152373075485, 0.00721057178452611, -0.026059465482831, -0.03811570629477501, -0.03359193354845047, 0.023101385682821274, 0.004603260662406683, 0.06776170432567596, 0.024357790127396584, -0.0304967500269413, -0.0398697592318058, 0.010945381596684456, -0.019651271402835846, -0.0012598235625773668, -0.026634929701685905, 0.001718087587505579, 0.02543722465634346, 0.042901232838630676, 0.013782528229057789, 0.0339776948094368, -0.042821481823921204, -0.04340829327702522, 0.055839408189058304, -0.06281484663486481, -0.04563717171549797, -0.009291556663811207, -0.0426192581653595, 0.036338433623313904, 0.027692703530192375, 0.005113525781780481, -0.031094996258616447, 0.0542561374604702, 0.06313937902450562, 0.0160236693918705, 0.043274201452732086, -0.009974852204322815, 0.03171432390809059, -0.028918709605932236, -0.026545897126197815, -0.09464536607265472, 0.01693410985171795, 0.05051802471280098, -0.0038283909671008587, 0.012021014466881752, 0.0007883315556682646, -0.029406148940324783, 0.021881531924009323, -0.041553910821676254, 0.005942882038652897, 0.06626944988965988, -0.0336751863360405, 0.003453931538388133, 0.015305650420486927, -0.0489167720079422, 0.0387372188270092, 0.05931733548641205, -0.043173179030418396, -0.016154099255800247, -0.018765244632959366, 0.05150587484240532, -0.01636441797018051, 0.04698096960783005, -0.027858877554535866, 0.020813556388020515, 0.06872429698705673, 0.014211911708116531, -0.008611147291958332, 0.05276278406381607, -0.022391511127352715, 0.006018396932631731, 0.019731387495994568, -0.014344987459480762, 0.0072599961422383785, 0.029894588515162468, -0.0353376641869545, -0.054904669523239136, 0.017783980816602707, 0.024008918553590775, -0.0580521896481514, -0.017850028350949287, 0.08154620230197906, 0.006634845864027739, -0.02531621977686882, -0.026384789496660233, 0.01564689911901951, -0.06302952021360397, -0.011108459904789925, -0.0004534414620138705, 0.020270755514502525, -0.028448445722460747, 0.05573855713009834, -0.010729823261499405, 0.02837696485221386, 0.083150714635849, 0.02034289576113224, 0.00846988894045353, -0.013978601433336735, 0.0733855813741684, 0.08648637682199478, -0.00038337643491104245, 0.01869843527674675, 0.050297435373067856, -0.023701544851064682, -0.041628699749708176, -0.0040963380597531796, -0.013341612182557583, -0.009693214669823647, -0.016138043254613876, 0.021502604708075523, 0.09505324810743332, -0.02551552653312683, 0.054989781230688095, 0.0028949910774827003, -0.020162299275398254, -0.02943674847483635, -0.010683851316571236, 0.06781525164842606, 0.008156973868608475, 0.020541705191135406, 0.0023282032925635576, 0.002083533676341176, -0.055328093469142914, 0.044371843338012695, 0.0043539502657949924, -0.05155966058373451, 0.010116967372596264, -0.009888804517686367, 0.03658464550971985, 0.012597932480275631, 0.0505731962621212, 0.05446410924196243, -0.0032993287313729525, 0.02651122771203518, -0.012469462119042873, 0.013349871151149273, 0.015548909083008766, -0.01747721992433071, -0.0036051401402801275, -0.009482275694608688, 0.006153567228466272, -0.020298345014452934, -0.01294028852134943, -0.013749436475336552, -0.0677109882235527, 0.049560967832803726, -0.022693201899528503, 0.010947896167635918, -0.0005967076867818832, -0.02617366798222065, -0.01677314005792141, -0.06409299373626709, -0.0612180121243, -0.026954596862196922, -0.07712510973215103, -0.0021237286273390055, 0.04169335961341858, -0.0444822795689106, -0.036073070019483566, -0.001648332690820098, 0.008175751194357872, 0.024447472766041756, 0.02117198519408703, -0.042101018130779266, -0.008145652711391449, 0.03479398787021637, -0.01766180992126465, 0.022330209612846375, 0.004754284862428904, 0.05300311744213104, -0.016589224338531494, -0.0069058784283697605, -0.028056541457772255, -0.022466668859124184, 0.045894555747509, -0.005301840603351593, 0.026412030681967735, -0.068976491689682, 0.0027291097212582827, 0.06286903470754623, -0.0010397278238087893, -0.05673244968056679, 0.024777621030807495, 0.004044036380946636, -0.007716599851846695, 0.059111274778842926, -0.005178671330213547, -0.005278763826936483, -0.04009902849793434, -0.030704975128173828, 0.007349109742790461, 0.030391063541173935, 0.03271562233567238, 0.0025766552425920963, 0.0753779336810112, 0.05327024310827255, -0.04556195065379143, -0.018738051876425743, -0.02057616040110588, -0.015117448754608631, -0.008641432970762253, -0.020416872575879097, -0.03310980647802353, -0.06889888644218445, -0.038581110537052155, -0.04484771192073822, -0.007171101402491331, -0.05405691638588905, -0.02639622800052166, 0.006646759808063507, 0.008715884760022163, -0.02506350912153721, 0.02994166873395443, -0.042940735816955566, 0.04147503152489662, -0.003592253429815173, -0.025146357715129852, -0.040626611560583115, -0.01214671041816473, 0.013808952644467354, -0.02258184179663658, 0.023932423442602158, -0.060420386493206024, 0.020810751244425774, -0.020385053008794785, 0.03307570144534111, 0.0036918672267347574, -0.0246412493288517, -0.0070217568427324295 ]
[ -0.11001428961753845, -0.01391004677861929, -0.013636985793709755, -0.02910536900162697, 0.019349148496985435, -0.0745873674750328, -0.009265407919883728, 0.012932345271110535, -0.023355508223176003, 0.024425653740763664, 0.001520156511105597, -0.07540270686149597, 0.00911531038582325, 0.005259411875158548, 0.10904619842767715, -0.010609866119921207, -0.041877131909132004, -0.05998139828443527, -0.07713426649570465, 0.036583174020051956, 0.03728867694735527, -0.03684919700026512, -0.023585865274071693, -0.03646783530712128, 0.01532545406371355, 0.06680561602115631, 0.054293420165777206, -0.038706593215465546, -0.0392717681825161, -0.1931542307138443, 0.004356907214969397, -0.019650278612971306, 0.007378025446087122, -0.03664121404290199, 0.005340617150068283, 0.05336529016494751, 0.07304054498672485, 0.03211294859647751, -0.02088852971792221, 0.06831807643175125, 0.04911340773105621, 0.021055178716778755, -0.0619112066924572, -0.048494018614292145, -0.013377087190747261, -0.011523968540132046, -0.008193914778530598, -0.00000883760458236793, -0.008250175975263119, 0.03679853677749634, -0.07214777171611786, 0.01389601081609726, 0.04183925688266754, -0.0315212644636631, 0.037407808005809784, 0.04092055931687355, 0.024501336738467216, 0.09933041036128998, 0.018765822052955627, 0.016374388709664345, -0.011652782559394836, -0.008365342393517494, -0.13577567040920258, 0.08584156632423401, 0.020608335733413696, 0.021254613995552063, 0.027867291122674942, -0.015066725201904774, -0.05499856546521187, 0.046727072447538376, 0.018750961869955063, -0.0015420367708429694, -0.020238220691680908, 0.06662124395370483, 0.01858728565275669, -0.0309575404971838, -0.01811668835580349, -0.017780877649784088, 0.04976016283035278, -0.037078164517879486, -0.06450402736663818, 0.0067998869344592094, 0.02906019054353237, -0.007633676286786795, 0.021285006776452065, 0.007895920425653458, -0.01354284305125475, 0.0332413874566555, 0.03363839536905289, 0.021216733381152153, -0.006345841102302074, -0.029239071533083916, 0.0440397784113884, 0.05315033346414566, -0.09785758703947067, 0.02486249804496765, 0.014097100123763084, 0.025075603276491165, -0.007426050491631031, 0.32161539793014526, -0.06531652063131332, -0.0002123741724062711, 0.0008273767307400703, 0.04247143864631653, -0.006353724282234907, -0.027601007372140884, 0.01374694611877203, -0.048414651304483414, 0.0357009693980217, -0.04344382509589195, -0.03084123693406582, 0.01719665713608265, 0.03414250910282135, -0.05046892538666725, -0.012452304363250732, -0.0006526252836920321, 0.06237126514315605, 0.017706522718071938, -0.048312053084373474, 0.06455810368061066, 0.033399347215890884, -0.01865970902144909, 0.010617346502840519, 0.0022251983173191547, -0.020032644271850586, 0.02503906935453415, 0.013383575715124607, 0.04535209760069847, 0.05102260783314705, 0.03437478095293045, -0.005576249677687883, -0.03642326593399048, -0.0698210671544075, -0.026982931420207024, -0.00635929312556982, 0.03607458621263504, -0.02821848727762699, -0.08058615773916245, 0.014328443445265293, -0.023284412920475006, -0.023089680820703506, -0.06486233323812485, -0.009049281477928162, 0.04633330926299095, -0.013418460264801979, 0.09640877693891525, -0.005038437433540821, 0.006059026811271906, -0.021271469071507454, -0.027402091771364212, -0.06982386857271194, 0.05348532646894455, -0.00969200860708952, -0.03456452861428261, 0.03723900392651558, 0.030951423570513725, 0.06559370458126068, -0.020880086347460747, -0.06329362839460373, 0.00006442640733439475, -0.027816668152809143, -0.02910410240292549, -0.03819389268755913, 0.05216192826628685, 0.019588973373174667, -0.08532140403985977, -0.01576627977192402, 0.029621489346027374, 0.02604072540998459, -0.08255540579557419, -0.018631676211953163, 0.04891536757349968, -0.012520110234618187, -0.0023382955696433783, 0.06870663911104202, -0.01460006833076477, 0.020919080823659897, -0.01801525615155697, 0.03325951099395752, 0.015182215720415115, -0.03966061398386955, 0.019136138260364532, -0.02295457199215889, 0.008246821351349354, 0.022593894973397255, -0.05151388794183731, -0.019859611988067627, -0.005339097231626511, 0.0031229769811034203, -0.004287507850676775, -0.013162217102944851, -0.022163627669215202, -0.07158104330301285, 0.04363720491528511, -0.03793508931994438, -0.0253829974681139, 0.005333667621016502, 0.01828005723655224, -0.01929292269051075, -0.053834468126297, 0.021648282185196877, 0.04822290688753128, 0.007137469947338104, 0.04296852648258209, -0.02846272848546505, -0.04700889810919762, 0.07015759497880936, -0.05048837140202522, 0.022177210077643394, 0.020903408527374268, -0.04121930152177811, 0.012110281735658646, -0.013352188281714916, -0.011244947090744972, 0.0046493783593177795, 0.015226280316710472, -0.012862078845500946, -0.01944846846163273, 0.030953623354434967, 0.002004061359912157, -0.07094810903072357, -0.061865173280239105, -0.027044961228966713, -0.33745113015174866, -0.005575945600867271, 0.025522256270051003, -0.004671896807849407, 0.04310519993305206, -0.0821760892868042, -0.03147570416331291, -0.0336383618414402, 0.016423504799604416, 0.0116073964163661, 0.0916479229927063, -0.030023207888007164, -0.04473079741001129, -0.10275986045598984, -0.007860202342271805, 0.033286917954683304, 0.0025129758287221193, -0.03334524855017662, 0.0056904819793999195, 0.05606503412127495, -0.00892067700624466, -0.0785209983587265, -0.018420230597257614, -0.04626382142305374, -0.02368195168673992, -0.014159348793327808, 0.11354800313711166, 0.03881339728832245, 0.0605815127491951, -0.08389294147491455, 0.059689901769161224, -0.009943475015461445, -0.03904666379094124, -0.11076627671718597, 0.006429063621908426, -0.06869926303625107, 0.0012970610987395048, 0.03343646600842476, 0.017688686028122902, -0.02241506613790989, -0.028671717271208763, 0.02942383475601673, -0.027284633368253708, -0.039406877011060715, -0.000673316593747586, 0.017331697046756744, 0.0012793111382052302, -0.008200515992939472, 0.006537123117595911, 0.034377723932266235, 0.0205803494900465, 0.0061377277597785, 0.04941100254654884, 0.02590038813650608, 0.01030660979449749, -0.011186551302671432, -0.047786761075258255, -0.021867362782359123, 0.016456110402941704, -0.02333499863743782, 0.021787500008940697, 0.061192791908979416, 0.03440773859620094, -0.023568404838442802, -0.011700686998665333, -0.032583899796009064, 0.017375171184539795, 0.018813619390130043, -0.031736258417367935, -0.024287428706884384, -0.03576694428920746, 0.07919582724571228, -0.012986206449568272, 0.009983956813812256, 0.08714970201253891, 0.047063641250133514, -0.056925661861896515, -0.012518000788986683, 0.04326549172401428, 0.028994224965572357, 0.0031043202616274357, 0.031423356384038925, 0.09193690121173859, 0.009085526689887047, 0.016541367396712303, 0.05733710527420044, 0.010932574048638344, 0.025078807026147842, 0.01667332835495472, -0.020345231518149376, -0.046769678592681885, -0.03927941620349884, -0.015782205387949944, -0.04643193259835243, 0.05429907143115997, 0.003588654799386859, -0.2619660198688507, 0.07234087586402893, 0.05542520061135292, 0.07391682267189026, 0.029896298423409462, 0.03842291980981827, 0.0025597880594432354, -0.05001358687877655, -0.06067265570163727, 0.05184246227145195, 0.011842393316328526, 0.05056675523519516, 0.012213945388793945, -0.00665470352396369, 0.04179219901561737, -0.005191847216337919, 0.025128286331892014, 0.007963936775922775, 0.008756652474403381, -0.0074061062186956406, 0.029392240568995476, -0.002687725005671382, 0.18588615953922272, 0.008663050830364227, -0.0017993705114349723, 0.03098982758820057, 0.0015985410427674651, 0.03251807019114494, 0.11805827170610428, 0.009358765557408333, 0.028149506077170372, 0.024964356794953346, 0.10991354286670685, 0.08303070068359375, 0.013394050300121307, -0.033430762588977814, -0.03354940190911293, 0.02627764455974102, 0.0020717193838208914, -0.03397296741604805, -0.03672672435641289, 0.0442572645843029, -0.020329764112830162, 0.013734044507145882, 0.09078621119260788, 0.029606835916638374, -0.026266342028975487, -0.0889192447066307, -0.025444243103265762, -0.0281117744743824, 0.006361117120832205, -0.0722954198718071, 0.00023792021966073662, 0.02873685397207737, -0.03838932514190674, 0.04241950809955597, 0.02682933397591114, -0.04335024580359459, -0.005157086998224258, 0.03337051346898079, 0.021012097597122192, -0.021532509475946426, 0.08230006694793701, -0.027016103267669678, -0.019692223519086838 ]
[ -0.0132449297234416, 0.0357762947678566, 0.021890288218855858, -0.023905649781227112, 0.01259557530283928, -0.004259344190359116, -0.05694166570901871, 0.04022357985377312, 0.0073684873059391975, -0.05253462493419647, -0.022401317954063416, 0.011488053947687149, -0.027292996644973755, -0.04601116478443146, 0.019117482006549835, -0.012823289260268211, -0.01607484370470047, 0.023474406450986862, 0.035232704132795334, 0.009821916930377483, 0.009157665073871613, 0.02879534475505352, 0.005518916063010693, -0.007025570143014193, -0.001995392609387636, 0.017734698951244354, -0.014307336881756783, -0.002482264768332243, -0.0026431709993630648, -0.12565110623836517, -0.0451616533100605, 0.017579343169927597, -0.02378932014107704, -0.007347105070948601, -0.0074661183170974255, 0.041288867592811584, -0.0052423360757529736, 0.004555875435471535, 0.022643649950623512, -0.021093999966979027, 0.007652355823665857, 0.003270950634032488, -0.020828813314437866, -0.038265813142061234, 0.006639567669481039, 0.012975512072443962, 0.024213101714849472, -0.03136511519551277, -0.06014775484800339, 0.02183588780462742, -0.022247428074479103, 0.001422752975486219, -0.007792470511049032, 0.01910543255507946, 0.00984766986221075, -0.0051207160577178, -0.06465918570756912, -0.010814431123435497, 0.023031190037727356, -0.03324464336037636, -0.022305170074105263, 0.020639490336179733, -0.042837873101234436, -0.013294155709445477, 0.008608817122876644, -0.08128351718187332, 0.01187365222722292, 0.02416514977812767, -0.006259445566684008, -0.010409540496766567, 0.036968767642974854, 0.030884411185979843, -0.029757807031273842, 0.0170291680842638, -0.044064830988645554, 0.016958318650722504, 0.03157889470458031, -0.04377758502960205, 0.003989126067608595, -0.012285977602005005, -0.012318543158471584, -0.009236050769686699, 0.028173251077532768, 0.030297202989459038, 0.006075725890696049, -0.048745978623628616, -0.0067513687536120415, 0.05638817325234413, 0.005658183246850967, -0.016833823174238205, -0.0258337315171957, -0.0052465712651610374, 0.010884219780564308, 0.0065543800592422485, -0.06682693958282471, 0.0022265047300606966, -0.01125328615307808, 0.006243588402867317, 0.02783007174730301, 0.8246069550514221, -0.0040115853771567345, 0.052179329097270966, 0.01147556770592928, 0.018081912770867348, 0.03884460777044296, 0.0026078084483742714, 0.014676322229206562, -0.015683796256780624, -0.01839529536664486, 0.013518208637833595, 0.04089454561471939, 0.012175236828625202, 0.032423973083496094, -0.013834385201334953, 0.035305723547935486, 0.013697178103029728, -0.0027252461295574903, 0.021676767617464066, 0.007188703399151564, 0.04251691326498985, 0.040051769465208054, -0.00727585656568408, 0.0034688529558479786, -0.013939689844846725, 0.006600086111575365, -0.12701240181922913, 0.018945351243019104, -6.550380556503779e-33, 0.04631520062685013, -0.004339068196713924, 0.04463941231369972, -0.04227510094642639, 0.006796426605433226, -0.020801352337002754, 0.0072563812136650085, -0.008278272114694118, 0.019613824784755707, -0.037566546350717545, -0.009538219310343266, -0.03816254064440727, -0.004872339777648449, -0.06371713429689407, 0.004873532801866531, -0.0017633168026804924, 0.021813970059156418, 0.022692754864692688, 0.04667245224118233, 0.042943261563777924, 0.032402005046606064, -0.025777289643883705, 0.00748037826269865, -0.0055407448671758175, 0.0016179049853235483, -0.023265725001692772, 0.043695494532585144, -0.018361903727054596, -0.01334533840417862, -0.04517979919910431, -0.013455421663820744, -0.022446408867836, 0.00824862439185381, -0.006457239855080843, 0.08216932415962219, -0.04501085728406906, -0.013829645700752735, -0.0004181083058938384, -0.04823075979948044, -0.037606529891490936, -0.014795244671404362, -0.028649816289544106, -0.03993426263332367, -0.036105312407016754, -0.010808497667312622, 0.010139968246221542, 0.003002412151545286, 0.020547159016132355, 0.004322510678321123, 0.078951895236969, -0.03613317385315895, 0.019751956686377525, 0.014041222631931305, -0.03866039216518402, -0.010544014163315296, 0.0075100138783454895, 0.014895741827785969, -0.04209395870566368, -0.007271949201822281, 0.007438695058226585, 0.02279992401599884, 0.014956390485167503, 0.0029995085205882788, 0.008870509453117847, 0.0006174682057462633, -0.026385629549622536, 0.011714154854416847, 0.004410941619426012, 0.023789217695593834, 0.0595371276140213, -0.042997319251298904, -0.007471168413758278, -0.018137425184249878, -0.009304019622504711, 0.01627405174076557, -0.019637547433376312, 0.04700838401913643, -0.027884170413017273, 0.02765636332333088, 0.027827899903059006, 0.0525793619453907, -0.046854693442583084, -0.011738563887774944, -0.014144924469292164, -0.025495581328868866, 0.02020268328487873, 0.008270270191133022, 0.0026991325430572033, -0.003505741013213992, -0.01343627367168665, 0.05805286765098572, 0.006535730324685574, -0.0011106242891401052, -0.01721450500190258, -0.03744904696941376, 6.982790561557573e-33, 0.013378250412642956, -0.01662345789372921, 0.002067826921120286, 0.028759436681866646, 0.034195445477962494, -0.03262042626738548, 0.002508225617930293, 0.046750057488679886, -0.027792692184448242, 0.06420416384935379, -0.027022631838917732, -0.050661709159612656, -0.012449587695300579, 0.0025442203041166067, 0.050365567207336426, 0.009065593592822552, 0.02644725888967514, -0.016497068107128143, 0.004136212170124054, -0.01825295388698578, -0.015597590245306492, 0.03634314984083176, 0.019513670355081558, 0.015290039591491222, 0.028644688427448273, 0.036213766783475876, -0.017770446836948395, 0.02580658718943596, -0.008933810517191887, 0.0088074691593647, 0.006012651603668928, -0.04196150600910187, 0.014672162011265755, -0.034862618893384933, -0.04146029055118561, 0.020564062520861626, 0.02216947451233864, -0.02140733040869236, 0.02944960631430149, -0.010493135079741478, 0.003015534020960331, -0.00532352551817894, -0.025259394198656082, 0.021915655583143234, -0.012302522547543049, 0.03148729354143143, 0.021402018144726753, 0.037297286093235016, 0.03509119898080826, -0.022949837148189545, -0.013838724233210087, 0.008090517483651638, -0.00385928712785244, -0.0020706155337393284, 0.028486937284469604, -0.03604988381266594, 0.01497022807598114, 0.00937455054372549, -0.06734379380941391, 0.0019507295219227672, -0.03832048177719116, -0.055662330240011215, 0.011582513339817524, 0.01558166928589344, -0.025278538465499878, -0.0436723493039608, 0.011762997135519981, -0.040086425840854645, 0.016057221218943596, -0.006379519589245319, -0.03803528472781181, -0.01872803270816803, -0.025815008208155632, 0.03677856922149658, 0.01489943079650402, -0.015431864187121391, 0.013474894687533379, 0.0225478895008564, -0.023131826892495155, 0.013959702104330063, 0.026509635150432587, -0.002357780234888196, -0.010759854689240456, 0.04467291757464409, 0.02322421781718731, 0.0011424178956076503, -0.03426527976989746, 0.005425598472356796, -0.01739814504981041, -0.0338154099881649, -0.01070508360862732, -0.010151202790439129, -0.01682274602353573, 0.029072916135191917, -0.027435127645730972, -1.2580066766076925e-8, -0.005411387886852026, -0.017679214477539062, -0.0068669929169118404, 0.01988510973751545, 0.028351232409477234, -0.012594283558428288, 0.0016710360068827868, -0.029169488698244095, 0.033069316297769547, 0.018929990008473396, 0.05984681844711304, 0.017356064170598984, 0.01741384156048298, -0.010384699329733849, 0.03733382001519203, -0.022925838828086853, 0.0005437802756205201, 0.031008146703243256, 0.012813241221010685, -0.020462829619646072, 0.03241641819477081, 0.03392396867275238, -0.021736852824687958, -0.03776327148079872, 0.0032373087015002966, 0.04073821008205414, 0.007282034028321505, -0.045395538210868835, 0.01323310099542141, -0.025776246562600136, 0.034735795110464096, -0.03075205162167549, -0.008503074757754803, -0.03988431394100189, -0.058645814657211304, -0.050657447427511215, 0.015709832310676575, 0.0011457958025857806, -0.019459236413240433, 0.029016098007559776, 0.011063250713050365, 0.0478869304060936, -0.025428740307688713, -0.011014416813850403, -0.03974984213709831, -0.020098809152841568, -0.025426596403121948, 0.02142973616719246, -0.024293988943099976, -0.014399155043065548, 0.010202634148299694, 0.020776841789484024, 0.04806692525744438, 0.018093746155500412, 0.03137306123971939, 0.02312437817454338, 0.027724089100956917, -0.05392570048570633, -0.013428719714283943, 0.006606969516724348, 0.054391246289014816, -0.011979298666119576, -0.038075387477874756, -0.033116403967142105 ]
clojure-writing-json-to-a-file-exception-dont-know-how-to-write-json-of-class-org-joda-time-datetime
https://markhneedham.com/blog/2013/09/26/clojure-writing-json-to-a-file-exception-dont-know-how-to-write-json-of-class-org-joda-time-datetime
false
2013-09-30 22:48:13
On Writing Well - William Zinsser: Book Review
[ "books", "book-review", "writing" ]
[ "Books" ]
I first came across William Zinsser's 'http://www.amazon.co.uk/On-Writing-Well-Classic-Nonfiction/dp/0060891548/ref=sr_1_1?ie=UTF8&qid=1380578447&sr=8-1&keywords=on+writing+well[On Writing Well]' about a year ago, but put it down having flicked through a couple of the chapters that I felt were relevant. It came back onto my radar a month ago and this time I decided to read it cover to cover as I was sure there were some insights that I'd missed due to my haphazard approach the first time around. What stood out in my memory from my first reading of the book was the emphasis on how *words like a bit, a little, kind of, quite, pretty much and too dilute our sentences* and I've been trying to avoid them in my writing ever since. Other things that stood out for me this time were: * *Avoid unnecessary words* e.g. blared loudly or grinned widely. It's difficult to blare in any other way and if you're grinning it implied that your mouth is open widely. * *Delete troublesome phrases*. If you're having trouble working out the structure for a sentence, it might be beneficial to get rid of it and see if the rest of the paragraph still makes sense. Often it will. * *Rewriting*. The author emphasises over and over again the importance of rewriting a piece of text until you're happy with it. This consists mostly of reshaping and tightening previous drafts. The way it's described sounds very similar to code refactoring. My colleague https://twitter.com/iansrobinson[Ian Robinson] recommended 'http://www.amazon.co.uk/Revising-Prose-Richard-Lanham/dp/0023674407/ref=sr_1_1?ie=UTF8&qid=1380579666&sr=8-1&keywords=Revising+Prose[Revising Prose]' as a useful book to read next in this area. * *Assume the reader knows nothing*. The advice in the chapter on science and technology was probably the most applicable for the type of writing I do and I thought this section was particularly apt: + ____ Describing how a process works is valuable for two reasons. It forces you to make sure that you know how it works. Then it forces you to take the reader through the same sequence of ideas and deductions that made the process clear to you. ____ + I've found this to be the case multiple times although you can achieve the same benefits by presenting a talk on a topic; the benefits aren't unique to writing. * *Explain your judgements*. Don't say something is interesting. Instead explain what makes it interesting and let the reader decide whether or not it deserves that label. * *Use simple words, be specific, be human and use active verbs*. I often fall into the trap of using passive verbs which makes it difficult for the reader to know which part of the sentence they apply to. We want to minimise the amount of translation the reader has to do to understand our writing. * *Use a paragraph as a logical unit*. I remember learning this at secondary school but I've drifted towards a style of writing that treats the sentence as a logical block. My intuition tells me that people find it easier to read text when it's in smaller chunks but I will experiment with grouping my ideas together in paragraphs where that seems sensible. I gleaned these insights mostly from the first half of the book. The second half focused on different forms of writing and showed how to apply the lessons from earlier in the book. Although not all the forms were applicable to me I still found it interesting to read as the author has a nice way with words and you want to keep reading the next sentence. My main concern having read the book is ensuring that *I don't paralyse my ability to finish blog posts* by rewriting ad infinitum.
null
null
[ -0.003974944818764925, 0.015005586668848991, -0.008512531407177448, 0.034089066088199615, 0.08403858542442322, 0.02167556621134281, 0.029003895819187164, 0.03852880373597145, 0.020285889506340027, -0.03540094569325447, 0.01993858814239502, 0.01470104232430458, -0.04045211151242256, -0.012906765565276146, -0.014313618652522564, 0.06490173935890198, 0.07026628404855728, 0.0004031134594697505, 0.006835810840129852, -0.014290974475443363, 0.039618879556655884, 0.08338119834661484, 0.034544721245765686, 0.029660606756806374, 0.0541699044406414, -0.009417875669896603, 0.01922810636460781, -0.004681759513914585, -0.045918628573417664, -0.009819361381232738, 0.04297180846333504, 0.0078114103525877, -0.011297563090920448, -0.01906551420688629, 0.029065949842333794, -0.0277786236256361, -0.03043888509273529, 0.004952417686581612, 0.0005267278174869716, -0.004888021387159824, -0.09814953058958054, 0.043496739119291306, -0.022683890536427498, -0.029044803231954575, -0.03865870460867882, 0.016842100769281387, -0.05333661288022995, -0.006889248266816139, -0.0197626743465662, -0.015053494833409786, -0.044955603778362274, 0.0545961856842041, 0.02421814203262329, -0.0009995889849960804, -0.02232964150607586, 0.0737881064414978, 0.009031638503074646, -0.05176062881946564, 0.029045313596725464, -0.04327204078435898, -0.03515676409006119, 0.008497423492372036, -0.016728011891245842, 0.05562203750014305, 0.007777223829180002, -0.04509086161851883, -0.016713084653019905, 0.031213436275720596, -0.03875284269452095, 0.019583920016884804, -0.017146555706858635, 0.01329925935715437, -0.012239801697432995, 0.022932199761271477, -0.0029593207873404026, -0.03125260770320892, 0.018598726019263268, 0.07034745067358017, 0.004177767317742109, 0.051664020866155624, -0.007095593027770519, 0.03138125687837601, 0.006913075689226389, 0.026038898155093193, -0.014393092133104801, -0.03207205981016159, -0.0028263030108064413, -0.011188901960849762, -0.03199286758899689, 0.03129081055521965, -0.003003390273079276, -0.07321450114250183, 0.009125280193984509, 0.050610560923814774, 0.0028892592526972294, 0.00045110099017620087, 0.021396443247795105, -0.004689088556915522, -0.03551861643791199, -0.030639732256531715, -0.046943552792072296, -0.03155552223324776, 0.019997242838144302, 0.038043346256017685, -0.07637914270162582, 0.025718670338392258, -0.02465094067156315, -0.012578429654240608, 0.00897347740828991, 0.005621796939522028, -0.0058016362600028515, 0.009218973107635975, -0.03334585949778557, 0.009941290132701397, -0.08749732375144958, 0.05604775249958038, 0.03408519923686981, -0.005494548939168453, 0.004233058542013168, -0.0147249111905694, 0.015598098747432232, 0.02546342834830284, 0.024882597848773003, 0.06924977898597717, -0.000550401455257088, 0.0012016193941235542, -0.051492299884557724, 0.03652101010084152, -0.029495969414711, -0.046882446855306625, -0.028589969500899315, 0.04639999568462372, -0.028271358460187912, -0.004663316998630762, 0.0020422600209712982, -0.00988705549389124, -0.01730661652982235, 0.004981997888535261, 0.02793416939675808, 0.06572413444519043, -0.017722999677062035, -0.02084161713719368, -0.0010986116249114275, 0.004260336980223656, 0.023391887545585632, -0.002499915659427643, 0.0006353630451485515, 0.006234438624233007, -0.04203815013170242, -0.018993400037288666, 0.024645956233143806, 0.032991353422403336, 0.010952211916446686, -0.012296631932258606, 0.03501442074775696, 0.09123646467924118, 0.020641112700104713, 0.053408872336149216, 0.009514075703918934, 0.02837076224386692, 0.054035838693380356, 0.05726343020796776, 0.01118334662169218, 0.019543075934052467, -0.0034524176735430956, -0.03404264524579048, -0.007701958995312452, 0.04292793571949005, -0.02328553795814514, 0.01544327661395073, -0.048280343413352966, -0.026851627975702286, 0.05758039280772209, -0.052285123616456985, -0.0007576257339678705, 0.033996615558862686, 0.06888371706008911, 0.043370336294174194, 0.03502398356795311, 0.002594719175249338, -0.07311730086803436, 0.03551030158996582, 0.00826958566904068, 0.015206996351480484, 0.01297671440988779, -0.03782077506184578, 0.058649055659770966, 0.04393570125102997, 0.018835745751857758, 0.033760376274585724, -0.07536064833402634, -0.0729423314332962, -0.006198963150382042, -0.006936377380043268, 0.056214865297079086, -0.0219193696975708, 0.015276907943189144, 0.08879083395004272, 0.000976784504018724, 0.04341140016913414, 0.026690928265452385, 0.0025885191280394793, -0.020129019394516945, -0.03690676391124725, -0.04344421252608299, 0.024153290316462517, 0.017801420763134956, 0.01764439418911934, -0.0444059818983078, -0.009925276041030884, -0.011184652335941792, 0.010221252217888832, 0.04248526692390442, -0.012948897667229176, 0.024041665717959404, 0.016547134146094322, 0.05975852906703949, -0.016174081712961197, 0.048712026327848434, -0.040656909346580505, 0.006876782048493624, 0.0034502071794122458, 0.037733085453510284, -0.00920816045254469, -0.0028902748599648476, 0.10731924325227737, 0.04894278198480606, -0.06792643666267395, -0.06522097438573837, 0.0031353167723864317, -0.008173741400241852, -0.04622947797179222, 0.01037615817040205, -0.010321464389562607, 0.014069098979234695, -0.017159879207611084, -0.03807636350393295, -0.013858082704246044, 0.037186410278081894, -0.04279899597167969, -0.008887293748557568, 0.06280816346406937, 0.0012492988025769591, 0.0706896111369133, -0.005164130125194788, 0.023355919867753983, -0.014091947115957737, -0.0045657712034881115, -0.038904715329408646, 0.0011707036755979061, 0.0068038334138691425, -0.02548234909772873, 0.029073843732476234, -0.03049660474061966, -0.028300153091549873, -0.030461831018328667, -0.08653945475816727, 0.01009152177721262, 0.08764974027872086, 0.04182135686278343, -0.0018843031721189618, 0.08030885457992554, -0.000014880430171615444, 0.04199918732047081, 0.011839697137475014, -0.013404770754277706, -0.0206152256578207, -0.06704823672771454, 0.009549323469400406, 0.01976725086569786, 0.0016725697787478566, 0.035320382565259933, 0.010314584709703922, 0.028549950569868088, 0.0039012099150568247, -0.0270218625664711, 0.06940115988254547, -0.030786143615841866, -0.021984221413731575, -0.018114527687430382, -0.023463189601898193, 0.04788847267627716, -0.03722270950675011, -0.04043801501393318, -0.002883758395910263, -0.07390616089105606, 0.027933616191148758, -0.027321690693497658, -0.04186809062957764, -0.005760013125836849, -0.0024526375345885754, 0.03534134104847908, 0.027452578768134117, 0.023935317993164062, 0.05360356718301773, 0.016664497554302216, -0.005073819775134325, -0.018492111936211586, -0.0057427287101745605, 0.035150591284036636, 0.014510886743664742, -0.036188870668411255, 0.040952108800411224, 0.01977456733584404, 0.006380436476320028, -0.05888141691684723, 0.02982187271118164, -0.025226207450032234, -0.2884073853492737, 0.03220592066645622, 0.02152826450765133, -0.03997548669576645, 0.029172591865062714, -0.021425943821668625, -0.008208701387047768, -0.058350201696157455, -0.03608560934662819, 0.04396139457821846, -0.0336601547896862, -0.034793198108673096, -0.03476770594716072, 0.03894077241420746, 0.02935226820409298, 0.02227899804711342, -0.014714824967086315, -0.03977480158209801, -0.03350505977869034, 0.05002112686634064, 0.013619688339531422, -0.06426048278808594, -0.002533769467845559, 0.02661186456680298, 0.03941880166530609, 0.04131544008851051, -0.08931530267000198, 0.0628850907087326, -0.05047326907515526, 0.002293599536642432, 0.00973733700811863, -0.004415525589138269, 0.04584438353776932, -0.023868709802627563, -0.007059185765683651, -0.0011919098906219006, 0.023251298815011978, 0.022886497899889946, 0.0014074023347347975, 0.03632234036922455, -0.02247951552271843, -0.04106351360678673, 0.009495559148490429, 0.0002194430708186701, 0.06491158902645111, -0.004717730917036533, -0.049212079495191574, -0.015189776197075844, 0.0005463202251121402, 0.09580547362565994, -0.0423666350543499, -0.05747129023075104, -0.021114874631166458, 0.049496617168188095, 0.0012476090341806412, -0.012794455513358116, 0.024197570979595184, -0.05024461820721626, -0.03968605026602745, -0.05535870045423508, -0.0065597123466432095, -0.0050349486991763115, 0.005077387671917677, -0.036602478474378586, 0.0004311410302761942, -0.06592364609241486, -0.08946657925844193, -0.0052832649089396, 0.06409281492233276, 0.03000684455037117, -0.02309047058224678, 0.026902098208665848, -0.010482489131391048, -0.10269676893949509, -0.02862522192299366, -0.019356505945324898, -0.04194476082921028, -0.00391771737486124, -0.026871683076024055, 0.04810381308197975, -0.04991069436073303, -0.04909990355372429, 0.019177719950675964, 0.006897992454469204, 0.03289195895195007, -0.027257556095719337, 0.01823396235704422, -0.0010724591556936502, -0.03374803811311722, -0.02424011006951332, 0.06691282987594604, -0.011193651705980301, -0.03416803106665611, -0.021025875583291054, 0.021258268505334854, 0.016398973762989044, 0.010916563682258129, -0.009876184165477753, 0.03941838815808296, 0.026726217940449715, 0.014196064323186874, -0.04118112102150917, 0.03453370928764343, -0.011196469888091087, 0.00027757350471802056, -0.02545235864818096, -0.05675756186246872, 0.04312510043382645, 0.041153013706207275, -0.03207902982831001, -0.02446463704109192, -0.017424864694476128, 0.04173221066594124, -0.026936860755085945, -0.004041704349219799, -0.019657617434859276, 0.031874775886535645, 0.04179589822888374, -0.03961145877838135, -0.006081416271626949, -0.06522918492555618, 0.010048494674265385, -0.026826580986380577, -0.0222230963408947, -0.034858789294958115, -0.039561547338962555, 0.007392007391899824, -0.022557297721505165, -0.03374679759144783, 0.025340769439935684, -0.02278169058263302, -0.0023853015154600143, 0.01666085422039032, -0.04734256491065025, 0.007511329371482134, -0.062389884144067764, -0.060087498277425766, -0.017861882224678993, -0.02741447277367115, 0.025108737871050835, 0.0012253804598003626, 0.027416221797466278, -0.011899993754923344, 0.012585687451064587, 0.03664102405309677, -0.003785189241170883, 0.012476155534386635, 0.0009193058940581977, -0.0026899129152297974, 0.03923025354743004, -0.007647022604942322, -0.0455470010638237, 0.018608953803777695, -0.026427898555994034, -0.029368216171860695, -0.017992282286286354, 0.013552783988416195, -0.012059441767632961, -0.016720836982131004, -0.006811316125094891, 0.04334447532892227, -0.04721486195921898, -0.04085832089185715, -0.024870658293366432, 0.036076080054044724, 0.043027665466070175, -0.02729598432779312, 0.021784089505672455, 0.010452956892549992, 0.007871170528233051, 0.026374472305178642, 0.008422876708209515, -0.03770226985216141, -0.003406690899282694, -0.0076738521456718445, 0.014951378107070923, 0.012723024934530258, 0.0015202596550807357, 0.03321833163499832, 0.0016081976937130094, 0.001345357159152627, -0.06933975964784622, 0.0055116270668804646, 0.018856698647141457, 0.062278687953948975, 0.01663220487535, 0.0012072897516191006, -0.03200337290763855, -0.05538954213261604, -0.026408584788441658, -0.034768350422382355, -0.00460021011531353, -0.013263300992548466, 0.025965560227632523, -0.043657977133989334, -0.06562037020921707, 0.038163695484399796, 0.0066675120033323765, -0.0141292167827487, 0.029025649651885033, 0.005073404870927334, 0.010301790200173855, -0.022555004805326462, 0.022544095292687416, 0.05257211625576019, -0.06820539385080338, -0.005616136826574802, -0.030443286523222923, 0.0000020029322058690013, 0.035408858209848404, -0.0010826551588252187, -0.0368783138692379, -0.011504769325256348, -0.020682018250226974, 0.021875323727726936, -0.050662338733673096, -0.033514898270368576, -0.06094525009393692, 0.006116906646639109, 0.0036546627525240183, 0.006906268186867237, -0.04804380610585213, -0.011144961230456829, -0.015619342215359211, -0.029147116467356682, 0.03875308856368065, -0.03724613040685654, -0.003050570609048009, 0.018535757437348366, -0.050335824489593506, 0.016706349328160286, -0.01930450089275837, 0.039595380425453186, 0.020014936104416847, -0.013398177921772003, -0.018385712057352066, -0.038613058626651764, -0.00739925354719162, -0.020138181746006012, 0.051657453179359436, 0.025666628032922745, -0.02602994069457054, -0.03294151648879051, 0.012332480400800705, -0.054925985634326935, 0.03026162087917328, -0.031893979758024216, 0.0012845033779740334, 0.02964613027870655, 0.06178731843829155, 0.013884132727980614, 0.025238581001758575, -0.017377112060785294, -0.026436444371938705, 0.03355354815721512, -0.03435227647423744, -0.01621456816792488, -0.04138178750872612, -0.06942956894636154, 0.02146606519818306, 0.03435143455862999, 0.02767561934888363, -0.04479045420885086, 0.02172505483031273, 0.020498434081673622, 0.028643116354942322, 0.03552781045436859, 0.012992805801331997, 0.03184254467487335, -0.034276220947504044, 0.005443264730274677, -0.09743397682905197, -0.013405639678239822, 0.0329083576798439, -0.005510558839887381, 0.008750547654926777, -0.009080532938241959, -0.021886272355914116, 0.038036543875932693, -0.08490275591611862, -0.014918984845280647, 0.03583734855055809, -0.008612783625721931, -0.010519529692828655, 0.008996844291687012, -0.05436481162905693, 0.0036572858225554228, -0.024224046617746353, -0.036836177110672, -0.008631064556539059, -0.006410057190805674, 0.04179564118385315, -0.007919220253825188, 0.008406112901866436, -0.016964614391326904, 0.0009242956293746829, 0.06229744106531143, 0.033802520483732224, -0.007194600533694029, 0.04358159005641937, 0.011317498050630093, 0.029569409787654877, 0.05706457421183586, 0.017907775938510895, 0.026549022644758224, -0.0002465330180712044, -0.0281447172164917, -0.0500810444355011, 0.03204534202814102, -0.005249646492302418, -0.007829561829566956, -0.02402407117187977, 0.06262622773647308, 0.014087170362472534, -0.03404608741402626, -0.07816619426012039, 0.030536238104104996, -0.04895169660449028, -0.028361903503537178, -0.013137553818523884, 0.008773180656135082, -0.019791370257735252, 0.04794857278466225, -0.01455560140311718, -0.0173325315117836, 0.05057822912931442, -0.04285484552383423, -0.00929446704685688, -0.028627553954720497, 0.10990045219659805, 0.08215511590242386, 0.07918805629014969, -0.021899588406085968, 0.07014886289834976, -0.012220233678817749, -0.040925271809101105, 0.014084476046264172, -0.01145823672413826, -0.00160994753241539, -0.025704054161906242, 0.033443041145801544, 0.033959485590457916, -0.00836803950369358, 0.06860054284334183, -0.01879614032804966, -0.025093432515859604, -0.024970129132270813, 0.06960583478212357, 0.02083047851920128, 0.0468805730342865, 0.04270711913704872, 0.01699918508529663, -0.04322657734155655, -0.05714181438088417, 0.027491189539432526, -0.04488106071949005, -0.030531561002135277, 0.004994805436581373, -0.022789856418967247, 0.019031323492527008, 0.024708403274416924, 0.04414346069097519, 0.06122133135795593, -0.014224267564713955, 0.03487110510468483, -0.0013090127613395452, 0.023394828662276268, 0.0067649297416210175, 0.008082181215286255, -0.01841377653181553, -0.012943816371262074, 0.0027804463170468807, -0.031658418476581573, -0.024249885231256485, -0.006883799564093351, -0.029095130041241646, 0.015058446675539017, -0.026032062247395515, 0.017571641132235527, 0.040403783321380615, 0.007131555583328009, -0.050844546407461166, -0.06998907774686813, -0.026125067844986916, -0.011504181660711765, -0.025231285020709038, -0.0060060592368245125, -0.016211720183491707, 0.010851073078811169, -0.03623783215880394, -0.01643085852265358, -0.01501494087278843, -0.05647582560777664, 0.05452420562505722, -0.05626021698117256, -0.004406661726534367, 0.010105369612574577, 0.020529916509985924, -0.006095726974308491, 0.007267209235578775, 0.028142467141151428, 0.006538827437907457, 0.006195067428052425, 0.02712274342775345, -0.016929326578974724, 0.05013817176222801, -0.007914644666016102, 0.009995751082897186, -0.08902335911989212, 0.002819022396579385, 0.03259214386343956, 0.014351772144436836, -0.08109025657176971, 0.019262362271547318, 0.017545847222208977, 0.00031143330852501094, 0.031345613300800323, 0.0119330994784832, 0.04368351772427559, -0.03855418041348457, 0.0024800722021609545, 0.011034348048269749, 0.030549604445695877, 0.03624942898750305, -0.013242063112556934, 0.08658438175916672, 0.0022073104046285152, 0.0009927998762577772, -0.028110435232520103, -0.020652076229453087, -0.011813538148999214, 0.013550469651818275, -0.050429895520210266, -0.0031916326843202114, -0.009490009397268295, -0.062200047075748444, -0.004911278840154409, 0.02780766971409321, -0.022489935159683228, -0.006074515637010336, 0.03855717554688454, -0.0037655592896044254, -0.025083687156438828, 0.03060239553451538, -0.031117033213377, 0.02209133468568325, -0.011715834960341454, -0.00991697609424591, 0.002176679437980056, 0.0020521297119557858, 0.03571854531764984, -0.01262863539159298, -0.0018753764452412724, -0.0482601560652256, 0.0015559039311483502, 0.008561104536056519, 0.01838931255042553, 0.02784678526222706, -0.011100527830421925, -0.025367068126797676 ]
[ -0.08323518931865692, 0.0011660289019346237, 0.014610852114856243, 0.017249424010515213, 0.0034818476997315884, -0.04426833987236023, -0.02939235046505928, 0.03228982910513878, 0.005767867900431156, -0.03591389209032059, 0.0037335194647312164, -0.0073875621892511845, -0.0044619739055633545, -0.0047950465232133865, 0.0751793161034584, 0.01405654102563858, 0.007334080990403891, -0.06771450489759445, -0.02467384934425354, 0.019806217402219772, 0.024355094879865646, -0.01770630292594433, -0.0052268486469984055, -0.002448334824293852, 0.03719395026564598, 0.02578442543745041, 0.048801690340042114, -0.022182054817676544, -0.016702238470315933, -0.17791812121868134, -0.019991328939795494, 0.03377489000558853, 0.02141340635716915, -0.0005222510080784559, -0.0028722251299768686, 0.09435434639453888, 0.0012608047109097242, 0.03300578147172928, 0.00967527087777853, 0.04028345271945, 0.011277823708951473, 0.012031326070427895, -0.026034949347376823, 0.0032772691920399666, 0.054294653236866, 0.012732243165373802, -0.006942050531506538, -0.03653043508529663, 0.014272247441112995, -0.003828901331871748, -0.1019701138138771, -0.04343822970986366, -0.02634487859904766, -0.01011350005865097, -0.0010482167126610875, 0.03682203218340874, 0.05745059624314308, 0.0738426074385643, -0.003243527375161648, 0.024502433836460114, 0.019966300576925278, -0.007758826017379761, -0.14422205090522766, 0.10822858661413193, 0.046342868357896805, 0.029288239777088165, -0.051361508667469025, -0.0004649827315006405, 0.0035645957104861736, 0.09943194687366486, -0.0039221723563969135, -0.027033554390072823, -0.012388452887535095, 0.06771904230117798, 0.020533990114927292, 0.0096352593973279, 0.01387492474168539, 0.008046510629355907, 0.011414573527872562, -0.04519716277718544, -0.008542662486433983, 0.02042444422841072, -0.006928191054612398, -0.016497602686285973, -0.04313124716281891, 0.00672325911000371, -0.008643235079944134, 0.03902045637369156, 0.028607437387108803, 0.006605471018701792, 0.05887399613857269, -0.0497201643884182, 0.02214636281132698, 0.00756915332749486, -0.0997755229473114, -0.050698667764663696, -0.014805392362177372, 0.030975578352808952, -0.023707108572125435, 0.4131358861923218, -0.021526562049984932, -0.020178629085421562, 0.08621719479560852, 0.0187060609459877, 0.0014671466778963804, -0.008148190565407276, 0.059155482798814774, -0.06020417436957359, 0.006686881650239229, -0.022158289328217506, 0.013412320986390114, 0.002738513518124819, 0.05168479308485985, -0.033449217677116394, 0.0475832000374794, 0.04007244482636452, 0.07856016606092453, 0.013257008045911789, -0.0065183513797819614, -0.011967392638325691, -0.028620852157473564, 0.017280085012316704, -0.02771279402077198, -0.0008692601113580167, -0.022915499284863472, -0.08970957249403, 0.024907641112804413, 0.06087924912571907, 0.02598012052476406, -0.025363141670823097, 0.023975366726517677, -0.023330895230174065, -0.039102211594581604, -0.009785156697034836, -0.0033167991787195206, 0.023209139704704285, -0.0024600422475486994, -0.03034561313688755, 0.05575759336352348, 0.010479254648089409, 0.025848006829619408, -0.0008643161854706705, -0.05121827870607376, 0.009734571911394596, -0.023338468745350838, 0.13010020554065704, 0.042036354541778564, -0.03230815753340721, -0.01760333776473999, -0.02383298985660076, 0.0016006930964067578, 0.02666527032852173, -0.01764342002570629, -0.07116099447011948, 0.037442006170749664, 0.00006488837243523449, 0.09264318645000458, -0.008416612632572651, -0.04946167394518852, -0.022846175357699394, -0.009069841355085373, -0.012676991522312164, -0.08173809945583344, 0.01780596561729908, 0.06952080875635147, -0.04589042812585831, -0.002993033267557621, 0.0020818058401346207, -0.0013484105002135038, -0.06888321042060852, 0.025634245947003365, -0.014986715279519558, -0.05289236828684807, 0.034474927932024, 0.05023080110549927, -0.007786428090184927, -0.007194650359451771, -0.007672238629311323, 0.03286482393741608, 0.011481622233986855, 0.029612218961119652, 0.0211076308041811, -0.04007609188556671, 0.0476764440536499, -0.029918953776359558, -0.08438005298376083, -0.04513192176818848, -0.022512394934892654, -0.0023986089508980513, 0.01858416199684143, -0.014298439025878906, -0.0163742583245039, -0.08288799971342087, 0.06729461997747421, -0.07076618075370789, -0.0051211207173764706, 0.012314261868596077, -0.023216022178530693, -0.07080645114183426, -0.0399782769382, -0.05752454325556755, 0.01463571097701788, -0.051725201308727264, 0.01577811688184738, -0.008999370969831944, 0.045112159103155136, 0.08325457572937012, -0.03413000702857971, 0.10646899789571762, 0.06760875880718231, -0.05030053108930588, -0.040856651961803436, -0.01913728378713131, 0.0017932463670149446, -0.0062568411231040955, -0.03427235409617424, 0.0014951479388400912, 0.012077530845999718, -0.009619479067623615, -0.0001859380427049473, -0.021090766414999962, -0.0703129842877388, -0.061793725937604904, -0.3129968047142029, -0.03750710189342499, -0.004447998479008675, -0.025416139513254166, 0.042084529995918274, -0.07548537850379944, 0.030717883259058, -0.02095039002597332, -0.00786859542131424, 0.014161629602313042, 0.014680039137601852, -0.05174633488059044, 0.015943210572004318, -0.06354174762964249, 0.01493107620626688, 0.01393703743815422, -0.028277423232793808, -0.02063680626451969, -0.021582206711173058, 0.015961822122335434, 0.031131818890571594, -0.006975891068577766, -0.020584870129823685, -0.05165395140647888, -0.018605610355734825, -0.037559814751148224, 0.07918797433376312, 0.037161972373723984, 0.06326772272586823, -0.02355792000889778, 0.04914960265159607, 0.007019356358796358, 0.04646493121981621, -0.1272898018360138, -0.00874360091984272, 0.018342025578022003, 0.008368302136659622, -0.0343942753970623, -0.025710860267281532, -0.05461054667830467, -0.020374944433569908, 0.03472201153635979, -0.06772933155298233, 0.0037524597719311714, -0.11872181296348572, 0.026102425530552864, -0.029658136889338493, -0.038349442183971405, -0.017518378794193268, 0.10033894330263138, 0.015050925314426422, 0.0027476137038320303, 0.002231918042525649, 0.010559523478150368, -0.0229791272431612, -0.004069431219249964, -0.11082812398672104, 0.0237696822732687, 0.006520732305943966, -0.013907700777053833, 0.011752174235880375, 0.07272841036319733, 0.05653486028313637, -0.049249593168497086, -0.025241782888770103, 0.016510022804141045, -0.00750842085108161, 0.012288186699151993, 0.02584044449031353, 0.00285870349034667, -0.03601137921214104, 0.0584075041115284, -0.025054030120372772, -0.028640419244766235, 0.022613734006881714, 0.049456823617219925, -0.014706740155816078, 0.057549018412828445, -0.0022617150098085403, -0.023792333900928497, 0.012752638198435307, -0.036567047238349915, 0.02700667455792427, -0.024683134630322456, -0.034226931631565094, 0.014478180557489395, 0.0009382626740261912, -0.08311811089515686, 0.07950656861066818, 0.032240502536296844, -0.04740734398365021, 0.03161408752202988, -0.029816847294569016, -0.023497605696320534, 0.07214569300413132, -0.011870825663208961, -0.2426164299249649, -0.015069383196532726, 0.065434530377388, 0.08239556103944778, 0.023749742656946182, 0.02911156229674816, -0.0010528906714171171, -0.041845668107271194, 0.013173675164580345, 0.03880900517106056, 0.025765229016542435, 0.02371944859623909, -0.03415052220225334, -0.004770186729729176, 0.0014892520848661661, -0.03750483691692352, 0.04591847211122513, -0.004554974380880594, 0.0032842836808413267, 0.014264713041484356, 0.013994216918945312, -0.025529004633426666, 0.14893141388893127, 0.012647965922951698, -0.0027200994081795216, 0.0026509996969252825, 0.028927352279424667, 0.01645427569746971, 0.04977532476186752, -0.007003048434853554, 0.027346527203917503, -0.007406090386211872, 0.03198666870594025, 0.028027258813381195, 0.023974038660526276, -0.08806030452251434, -0.027278993278741837, 0.04011247679591179, 0.04785977303981781, -0.006875735707581043, 0.024942373856902122, 0.029766380786895752, -0.028506794944405556, 0.03476512059569359, 0.06281356513500214, 0.032596781849861145, -0.017283985391259193, -0.02869296446442604, -0.06795363873243332, 0.00035645943717099726, -0.009951543062925339, -0.006677094381302595, 0.012044654227793217, 0.02576003596186638, 0.014588000252842903, 0.06625494360923767, 0.018757609650492668, -0.028980713337659836, -0.0027218235190957785, 0.013259205035865307, -0.04002537950873375, -0.006526383571326733, 0.11677438020706177, 0.03924104571342468, 0.023582184687256813 ]
[ -0.0028520177584141493, 0.0022440424654632807, 0.019967658445239067, 0.01820499263703823, -0.0010611743200570345, 0.005904944613575935, -0.007782441098242998, 0.01216566376388073, -0.00895279087126255, 0.008156882598996162, -0.006568044424057007, 0.03917481750249863, 0.007755895145237446, -0.03190303593873978, -0.009209549985826015, -0.014309609308838844, -0.010003340430557728, -0.04169922694563866, 0.010031411424279213, 0.013342007994651794, -0.008505186066031456, 0.04797125235199928, 0.01778094470500946, -0.008035542443394661, 0.008605318143963814, 0.010613005608320236, -0.0018147772643715143, 0.0014348411932587624, 0.028819838538765907, -0.12970395386219025, -0.0366867370903492, -0.0013170362217351794, -0.015460976399481297, -0.0016248993342742324, 0.0020502929110080004, 0.008581387810409069, -0.00031744196894578636, 0.039194922894239426, 0.02976228855550289, -0.0010158680379390717, -0.014663360081613064, -0.026771312579512596, 0.0035667824558913708, 0.03235606849193573, 0.01371097844094038, -0.003363220486789942, -0.01936519332230091, -0.025633729994297028, -0.026637310162186623, 0.0035013125743716955, -0.03909144178032875, -0.013967118225991726, -0.022586163133382797, -0.015084569342434406, -0.012781716883182526, 0.015291421674191952, 0.009095398709177971, -0.00787776242941618, 0.006460642442107201, -0.02998095192015171, -0.008915354497730732, -0.025057537481188774, -0.0539129413664341, -0.01995643973350525, -0.002571594435721636, -0.012611977756023407, -0.018845312297344208, 0.012043013237416744, -0.0381912998855114, 0.005078212823718786, -0.0035708476789295673, 0.017748232930898666, 0.011567366309463978, -0.017771773040294647, 0.0130129000172019, -0.01808927208185196, 0.010967770591378212, -0.038371022790670395, 0.025197073817253113, -0.030390717089176178, -0.020855627954006195, 0.015569307841360569, 0.01738818734884262, -0.003539580386132002, -0.0006360323168337345, -0.024226101115345955, 0.007697699125856161, -0.023782942444086075, 0.01421297900378704, 0.012944460846483707, -0.0003199948987457901, -0.02833283692598343, 0.013943668454885483, 0.01739445887506008, -0.11592091619968414, -0.022330021485686302, 0.0027285353280603886, -0.036495987325906754, -0.0006884760223329067, 0.8659347891807556, 0.007804624270647764, 0.048167455941438675, 0.03516393154859543, -0.015270511619746685, 0.005957648623734713, -0.017371824011206627, 0.006072774063795805, -0.004787609446793795, 0.0036232469137758017, -0.045914117246866226, 0.009736713021993637, 0.011288248933851719, 0.019107308238744736, 0.0016351568046957254, 0.0462222695350647, 0.005931762047111988, 0.034536849707365036, 0.01035377848893404, -0.006573189981281757, 0.01471556443721056, 0.0045526339672505856, 0.00308293872512877, -0.008277210406959057, 0.022427644580602646, 0.005118568427860737, -0.1724688708782196, 0.011289077810943127, -7.65172178494032e-33, 0.04026230424642563, 0.02283918857574463, -0.02967187948524952, 0.0028377443086355925, -0.02656180039048195, 0.0027907690964639187, 0.00692646624520421, 0.04716601222753525, -0.024093562737107277, -0.04098985716700554, -0.0049917567521333694, -0.011268856935203075, -0.029601559042930603, -0.013981861993670464, 0.03330729901790619, -0.012500188313424587, 0.006731176283210516, 0.03166705369949341, -0.01641206629574299, 0.017869817093014717, 0.025053709745407104, 0.022884903475642204, 0.013196189887821674, -0.010844743810594082, 0.0038778625894337893, 0.011026546359062195, 0.018565410748124123, 0.005094980821013451, -0.037191860377788544, -0.04955626651644707, -0.0007551050512120128, 0.019743112847208977, -0.028665082529187202, -0.06369660049676895, -0.012747937813401222, -0.046068668365478516, -0.02574797533452511, -0.005544704385101795, 0.028261177241802216, -0.020291153341531754, -0.05578545853495598, 0.052126139402389526, -0.031086629256606102, -0.005695496220141649, 0.003921472933143377, 0.024271786212921143, -0.002418661257252097, 0.03590584173798561, 0.02908400446176529, 0.0013714449014514685, -0.002203943207859993, -0.0029296877328306437, -0.018454786390066147, 0.005000921431928873, -0.011095463298261166, 0.009411048144102097, 0.004444224294275045, 0.031273484230041504, 0.0218867976218462, 0.017402278259396553, 0.05787632614374161, 0.012534118257462978, -0.011334684677422047, 0.03496922552585602, -0.003507174551486969, 0.0053659407421946526, -0.005718131083995104, -0.0064090401865541935, -0.013818448409438133, -0.026125894859433174, -0.055986225605010986, -0.009298711083829403, 0.0022182667162269354, -0.016096195206046104, 0.007357890252023935, -0.018802287057042122, -0.020987994968891144, 0.007637020666152239, 0.01373110618442297, 0.043918438255786896, -0.00972660630941391, -0.00008768648694967851, -0.03902586176991463, -0.03864734619855881, -0.019753729924559593, -0.019301114603877068, 0.01627526618540287, -0.025257451459765434, -0.004568886943161488, 0.005674274172633886, 0.03240063786506653, -0.015609988011419773, -0.008819922804832458, -0.02507138065993786, -0.03389494866132736, 7.31311990250199e-33, -0.005665061995387077, -0.019999677315354347, -0.02345421351492405, 0.018569406121969223, -0.0010813352419063449, -0.010089770890772343, 0.00009819988190429285, 0.01134757325053215, -0.053456392139196396, 0.010709788650274277, -0.025510555133223534, 0.014914125204086304, -0.008321628905832767, -0.0028261886909604073, 0.042667146772146225, -0.01564759388566017, 0.004032420460134745, -0.007796322926878929, 0.025489583611488342, 0.037461865693330765, 0.0032448212150484324, 0.00305770430713892, 0.013866851106286049, 0.003177753183990717, 0.04438667744398117, 0.04237193986773491, -0.03104197047650814, 0.02047969214618206, 0.007843989878892899, -0.01278869528323412, -0.003852947847917676, 0.01151887234300375, 0.0008099862025119364, -0.019541027024388313, -0.04867800325155258, 0.023986591026186943, 0.014438912272453308, -0.024211261421442032, -0.015583928674459457, -0.010607991367578506, 0.04239233583211899, 0.010801912285387516, -0.0037292514462023973, 0.022225352004170418, 0.018550124019384384, 0.012417232617735863, -0.011452358216047287, -0.02833602949976921, 0.007746494375169277, 0.034818317741155624, -0.0014230315573513508, 0.003892410546541214, 0.011717638000845909, -0.008609339594841003, 0.013041134923696518, -0.03010878898203373, -0.03073522076010704, -0.018267570063471794, -0.016549067571759224, -0.00807627011090517, -0.018538082018494606, 0.005307938437908888, -0.017158398404717445, 0.0037032433319836855, -0.018052995204925537, -0.011247563175857067, -0.005485641770064831, 0.02268994227051735, 0.004274197854101658, -0.00985023844987154, -0.014594768173992634, -0.013933729380369186, 0.03245711699128151, 0.01821439526975155, 0.005354567430913448, 0.004169553983956575, -0.002611162606626749, -0.008694702759385109, -0.05008893087506294, 0.03136014565825462, 0.006863505579531193, 0.0077913906425237656, 0.020254280418157578, 0.018537914380431175, -0.016171906143426895, 0.01563204824924469, -0.016774911433458328, 0.01420004665851593, 0.003214833792299032, -0.02693026512861252, 0.012136789038777351, -0.021392397582530975, 0.03063601441681385, 0.004288846161216497, -0.020919447764754295, -1.3442520874207275e-8, -0.013831025920808315, -0.02523639425635338, -0.001265155035071075, 0.002568313851952553, 0.025675969198346138, -0.029843388125300407, 0.0003803455037996173, -0.004329152405261993, -0.026120120659470558, 0.0000081215575846727, 0.04238898307085037, -0.008502119220793247, 0.019630881026387215, 0.0013617408694699407, 0.026108302175998688, -0.012209064327180386, 0.0005020176758989692, -0.013168524950742722, 0.029739342629909515, 0.009882249869406223, 0.01614888198673725, 0.059292037039995193, -0.0018610917031764984, 0.01921875588595867, 0.0536215640604496, 0.024373896420001984, 0.0002968014741782099, -0.09204839915037155, 0.0009517867583781481, -0.0006746886647306383, 0.017915034666657448, -0.028006887063384056, 0.010296002961695194, 0.04338228330016136, -0.007036524824798107, -0.03853475674986839, 0.03863053023815155, 0.023568393662571907, 0.00448719784617424, 0.019893841817975044, 0.0021206026431173086, 0.0011503617279231548, -0.0041751377284526825, -0.015250449068844318, -0.00954874325543642, -0.0017246530624106526, -0.01705249957740307, -0.031455617398023605, 0.03295057266950607, -0.019620532169938087, -0.007743643596768379, -0.004803291987627745, 0.03156397119164467, 0.02572186104953289, 0.012587882578372955, 0.013852857053279877, -0.0016004955396056175, 0.024643540382385254, -0.03035605512559414, -0.019446153193712234, 0.018138645216822624, 0.032086990773677826, -0.026388105005025864, -0.033339399844408035 ]
on-writing-well-william-zinsser-book-review
https://markhneedham.com/blog/2013/09/30/on-writing-well-william-zinsser-book-review
false
2013-09-30 21:34:01
neo4j/cypher: Translating 1.9 FILTER queries to use 2.0 list comprehensions
[ "neo4j", "cypher" ]
[ "neo4j" ]
I was looking back over some cypher queries I'd written earlier in the year against my football data set to find some examples of where http://docs.neo4j.org/chunked/milestone/syntax-collections.html#_list_comprehension[list comprehensions] could be useful and I came across this query which is used to work out which teams were the most badly behaved in terms of accumulating red and yellow cards: [source,cypher] ---- START team = node:teams('name:*') MATCH team<-[:for]-like_this<-[:started|as_sub]-player-[r?:sent_off_in|booked_in]->game<-[:in]-like_this WITH team, COLLECT(r) AS cards WITH team, FILTER(x IN cards: TYPE(x) = "sent_off_in") AS reds, FILTER(x IN cards: TYPE(x) = "booked_in") AS yellows RETURN team.name, LENGTH(reds) AS redCards, LENGTH(yellows) AS yellowCards ORDER BY (yellowCards*1 + redCards*3) DESC ---- We start by getting all the teams, work out which players played in that game, then work out who got booked or sent off before separating the yellow/red cards into their own respective collections. Finally we assign 3 points for a red card and 1 point for a yellow card and order the teams based on that. [source,bash] ---- ==> +-------------------------------------------------+ ==> | team.name | redCards | yellowCards | ==> +-------------------------------------------------+ ==> | "Stoke City" | 4 | 81 | ==> | "Newcastle United" | 4 | 74 | ==> | "Aston Villa" | 3 | 74 | ==> | "West Ham United" | 1 | 74 | ==> | "West Bromwich Albion" | 4 | 63 | ==> | "Sunderland" | 3 | 63 | ==> | "Wigan Athletic" | 2 | 66 | ==> | "Manchester City" | 3 | 62 | ==> | "Everton" | 3 | 62 | ==> | "Queens Park Rangers" | 3 | 60 | ==> | "Swansea City" | 2 | 59 | ==> | "Norwich City" | 1 | 60 | ==> | "Chelsea" | 3 | 53 | ==> | "Liverpool" | 2 | 54 | ==> | "Manchester United" | 1 | 57 | ==> | "Tottenham Hotspur" | 2 | 54 | ==> | "Arsenal" | 5 | 44 | ==> | "Fulham" | 3 | 48 | ==> | "Southampton" | 2 | 44 | ==> | "Reading" | 1 | 45 | ==> +-------------------------------------------------+ ==> 20 rows ---- Unfortunately if we run that query on a 2.0.0-M05 neo4j database we'll get the following error: [source,bash] ---- ==> SyntaxException: Invalid input '(': expected an identifier character, whitespace, NodeLabel, '.', '[', node labels, "=~", IN, IS, '*', '/', '%', '^', '+', '-', '<', '>', "<=", ">=", '=', "<>", "!=", AND, XOR, OR, WHERE, ')' or ',' (line 1, column 207) ==> "START team = node:teams('name:*') MATCH team<-[:for]-like_this<-[:started|as_sub]-player-[r?:sent_off_in|booked_in]->game<-[:in]-like_this WITH team, COLLECT(r) AS cards WITH team, FILTER(x IN cards: TYPE(x) = "sent_off_in") AS reds, FILTER(x IN cards: TYPE(x) = "booked_in") AS yellows RETURN team.name, LENGTH(reds) AS redCards, LENGTH(yellows) AS yellowCards ORDER BY (yellowCards*1 + redCards*3) DESC" ==> ---- The syntax when using the +++<cite>+++FILTER+++</cite>+++ function has changed a bit so we need to use a +++<cite>+++WHERE+++</cite>+++ clause rather than a ':': [source,cypher] ---- START team = node:teams('name:*') MATCH team<-[:for]-like_this<-[:started|as_sub]-player-[r?:sent_off_in|booked_in]->game<-[:in]-like_this WITH team, COLLECT(r) AS cards WITH team, FILTER(x IN cards WHERE TYPE(x) = "sent_off_in") AS reds, FILTER(x IN cards WHERE TYPE(x) = "booked_in") AS yellows RETURN team.name, LENGTH(reds) AS redCards, LENGTH(yellows) AS yellowCards ORDER BY (yellowCards*1 + redCards*3) DESC ---- However, as I hinted at the beginning of this post, we can also translate the query to make use of the new for comprehensions. I ended up with the following: [source,cypher] ---- START team = node:teams('name:*') MATCH team<-[:for]-like_this<-[:started|as_sub]-player-[r?:sent_off_in|booked_in]->game<-[:in]-like_this WITH team, COLLECT(r) AS cards WITH team, [card IN cards WHERE TYPE(card) = "sent_off_in"] as reds, [card in cards WHERE TYPE(card) = "booked_in"] as yellows RETURN team.name, LENGTH(reds) AS redCards, LENGTH(yellows) AS yellowCards ORDER BY (yellowCards*1 + redCards*3) DESC ---- The syntax is similar to http://www.pythonforbeginners.com/lists/list-comprehensions-in-python/[Python's list comprehesions] and there are a http://docs.neo4j.org/chunked/milestone/syntax-collections.html#_list_comprehension[collection of examples on the manual] that you can follow. A query I wanted to write in May, but had to park until list comprehensions were implemented, is the following one which finds the top 5 scorers for each month and returns their goal tally as well: [source,cypher] ---- START month = node:months('name:*') MATCH month-[:in_month]-game-[:scored_in]-player WITH month, player, COUNT(game) AS games ORDER BY games DESC WITH month, [x IN COLLECT([player.name, games])[0..5] | x[0]] AS players, [x IN COLLECT([player.name, games])[0..5] | x[1]] AS goals ORDER BY month.position RETURN month.name, players, goals ---- My previous attempt was littered with calls to +++<cite>+++HEAD+++</cite>+++ and +++<cite>+++TAIL+++</cite>+++ but this version is much more concise. This is what it returns: [source,bash] ---- ==> +--------------------------------------------------------------------------------------------------------------------+ ==> | month.name | players | goals | ==> +--------------------------------------------------------------------------------------------------------------------+ ==> | "August" | ["Michu","Nathan Dyer","Fernando Torres","Mladen Petric","Damien Duff"] | [3,2,2,2,2] | ==> | "September" | ["Demba Ba","Steven Fletcher","Peter Crouch","Robin Van Persie","Luis Suárez"] | [5,5,4,4,4] | ==> | "October" | ["Juan Mata","Wayne Rooney","Jose Fonte","Michu","Grant Holt"] | [3,2,2,2,2] | ==> | "November" | ["Marouane Fellaini","Luis Suárez","Gareth Bale","Sergio Agüero","Olivier Giroud"] | [4,4,3,3,3] | ==> | "December" | ["Demba Ba","Wayne Rooney","Robin Van Persie","Michu","Theo Walcott"] | [5,5,5,5,4] | ==> | "January" | ["Adam Le Fondre","Luis Suárez","Robin Van Persie","Frank Lampard","Leighton Baines"] | [5,4,4,3,3] | ==> | "February" | ["Gareth Bale","Romelu Lukaku","Moussa Sissoko","Christian Benteke","Santi Cazorla"] | [5,3,3,3,3] | ==> | "March" | ["Luis Suárez","Jan Vertonghen","Christian Benteke","Shinji Kagawa","Stewart Downing"] | [4,3,3,3,2] | ==> | "April" | ["Robin Van Persie","Christian Benteke","Daniel Sturridge","Oscar","Andrew Carroll"] | [6,4,3,2,2] | ==> | "May" | ["Grant Holt","Romelu Lukaku","Daniel Sturridge","Kevin Nolan","Theo Walcott"] | [3,3,3,3,2] | ==> +--------------------------------------------------------------------------------------------------------------------+ ==> 10 rows ---- If you like cypher and haven't played around with list comprehensions yet I'd recommend it - this syntax will help a great deal in reducing the complexity of some queries.
null
null
[ -0.006767539773136377, -0.0024243316147476435, -0.008495430462062359, 0.015016070567071438, 0.06907202303409576, -0.016106558963656425, 0.020364660769701004, 0.021493565291166306, 0.0177646242082119, -0.009147921577095985, 0.014965535141527653, 0.013006945140659809, -0.08217082172632217, 0.013520488515496254, -0.0012567539233714342, 0.07316002249717712, 0.03879169374704361, 0.03494274616241455, 0.01653916947543621, -0.044290054589509964, 0.03435610607266426, 0.052917882800102234, -0.012523166835308075, 0.032367952167987823, 0.05779187008738518, 0.013566575013101101, 0.010655634105205536, -0.0018911403603851795, -0.031853292137384415, 0.009335740469396114, 0.07143377512693405, -0.006724041420966387, 0.022149717435240746, -0.02135157771408558, 0.025848189368844032, -0.018669966608285904, -0.039450909942388535, 0.0006518050795421004, -0.022147832438349724, -0.01679046079516411, -0.05628255009651184, 0.03626623749732971, -0.018682999536395073, 0.023410186171531677, -0.05557859688997269, 0.026256777346134186, -0.04399064555764198, 0.03872847184538841, -0.009881343692541122, 0.0047403848730027676, -0.07354757189750671, 0.011300822719931602, -0.025027040392160416, -0.004177565686404705, -0.015065471641719341, 0.03533138707280159, 0.0030315788462758064, -0.05243666470050812, 0.030577609315514565, -0.023125063627958298, 0.0011080375406891108, -0.010398869402706623, 0.019844841212034225, 0.010776877403259277, -0.0013930702116340399, -0.0372408889234066, -0.01017088908702135, 0.06752374023199081, -0.05035700276494026, -0.005802616942673922, -0.00767061673104763, 0.02710913121700287, -0.024140601977705956, -0.020475782454013824, -0.0006358096725307405, -0.05268840864300728, 0.012642359361052513, 0.047636400908231735, 0.012680426239967346, 0.06387932598590851, -0.013792282901704311, 0.044106464833021164, 0.017539851367473602, 0.02256930246949196, 0.012587988749146461, -0.03718847036361694, -0.0285213403403759, -0.03586907684803009, -0.02591770514845848, 0.05046522617340088, 0.02813759073615074, -0.047016244381666183, -0.006468513049185276, 0.00016169667651411146, -0.029261676594614983, -0.01859816163778305, 0.00676359748467803, 0.012716613709926605, -0.0015696333721280098, -0.028403103351593018, 0.004944997373968363, -0.030295437201857567, 0.021817557513713837, -0.01626722328364849, -0.0770324096083641, -0.01710970140993595, -0.0035551919136196375, -0.02513890527188778, 0.010042005218565464, -0.007237246260046959, -0.03469032421708107, -0.018153570592403412, 0.008770261891186237, 0.02272549457848072, -0.0851229876279831, 0.07238642126321793, 0.029686713591217995, 0.0018054696265608072, -0.0035899546928703785, 0.036956723779439926, 0.04951174557209015, 0.004375740420073271, -0.0040846411138772964, 0.0834023579955101, 0.006008889526128769, 0.03988618776202202, 0.010546636767685413, 0.05606098100543022, -0.011242625303566456, -0.07462422549724579, -0.02044549584388733, 0.08591834455728531, -0.04853289946913719, 0.028063401579856873, -0.02015000768005848, -0.05665557458996773, -0.02501167543232441, 0.009059623815119267, 0.049434129148721695, 0.04211704060435295, 0.008530094288289547, -0.02199806086719036, 0.02637900412082672, -0.000011288187124591786, 0.014078445732593536, -0.0014950614422559738, -0.041139956563711166, -0.02415561117231846, 0.0020418043714016676, 0.010613396763801575, 0.02208404242992401, 0.006631819996982813, 0.053940173238515854, -0.017368832603096962, -0.001661700545810163, 0.10035441070795059, 0.03520345687866211, -0.011976383626461029, -0.045520711690187454, -0.00456635095179081, 0.04105495661497116, 0.0002201207389589399, 0.023239614441990852, 0.06069247052073479, -0.006363704800605774, -0.016355792060494423, -0.012434907257556915, 0.06212742626667023, -0.010177118703722954, 0.029394526034593582, -0.03527958691120148, -0.06721021980047226, 0.0812021940946579, -0.024560684338212013, -0.00020336236048024148, 0.04554728418588638, 0.046862609684467316, 0.0300985686480999, 0.03826899081468582, 0.002136303810402751, -0.0700780376791954, 0.03581368178129196, 0.003986320458352566, 0.026710741221904755, 0.01296254713088274, -0.0026556868106126785, 0.07565488666296005, 0.03504502773284912, 0.003277301788330078, 0.037286870181560516, -0.07718609273433685, -0.063637875020504, -0.017141686752438545, -0.008827144280076027, 0.06980414688587189, -0.0317004956305027, 0.036092717200517654, 0.04431980475783348, 0.005382999312132597, 0.03662073239684105, 0.021593928337097168, 0.012730698101222515, 0.02346744015812874, -0.03712901845574379, -0.047959569841623306, 0.05161167308688164, 0.02475617080926895, -0.033844877034425735, -0.028836682438850403, 0.044304221868515015, -0.022751236334443092, 0.008079213090240955, 0.006919051054865122, -0.03916724771261215, 0.03514152765274048, 0.010844066739082336, 0.022961262613534927, -0.006490377243608236, 0.039172325283288956, -0.060269784182310104, 0.030241653323173523, 0.022880414500832558, -0.01578344963490963, 0.0022203694097697735, 0.007967356592416763, 0.12604327499866486, 0.028461629524827003, -0.013432398438453674, -0.04174623265862465, 0.010440877638757229, 0.013091468252241611, -0.024547401815652847, 0.009659879840910435, -0.023646216839551926, -0.010883963666856289, -0.04869323596358299, -0.06406441330909729, -0.012703780084848404, 0.012734033167362213, -0.0357070229947567, 0.0018971783574670553, 0.04941790923476219, -0.009353323839604855, 0.04819097742438316, 0.002294905949383974, -0.01673036441206932, -0.01950560323894024, -0.028225019574165344, -0.03805265948176384, 0.030140208080410957, -0.00004710513894679025, -0.0307796448469162, 0.029502158984541893, -0.023029178380966187, -0.004553703591227531, -0.015051876194775105, -0.023917358368635178, 0.04202238470315933, 0.05409848317503929, 0.07269798219203949, -0.010514188557863235, 0.04804597049951553, -0.03608030453324318, -0.0048389858566224575, -0.024490762501955032, -0.05999007448554039, -0.07410966604948044, -0.03750886395573616, 0.016627514734864235, -0.001596852787770331, 0.019190644845366478, 0.0024700495414435863, 0.03506483510136604, 0.007120506837964058, 0.00579417496919632, 0.002701025689020753, 0.028498727828264236, 0.008050201460719109, -0.02000836841762066, -0.01098262332379818, -0.03441154956817627, 0.047733843326568604, -0.04863809421658516, -0.02943708561360836, -0.002921187784522772, -0.057431913912296295, 0.03000333346426487, -0.03656389191746712, -0.00970491487532854, -0.0005778622580692172, 0.03504447266459465, 0.05124896764755249, 0.0004488606646191329, -0.002334347227588296, 0.04916740953922272, -0.005168522242456675, 0.009212384931743145, 0.03692765533924103, 0.006194657646119595, 0.04778719320893288, -0.007218899670988321, 0.05883477255702019, 0.02868371456861496, -0.05639345571398735, 0.022060180082917213, -0.04162660241127014, -0.003474426455795765, -0.009827674366533756, -0.2907998561859131, 0.047967296093702316, -0.023027049377560616, -0.026344571262598038, 0.026049047708511353, -0.03187311440706253, -0.017052656039595604, -0.03363737836480141, -0.026407843455672264, 0.0015240715583786368, -0.021477101370692253, -0.04135875403881073, -0.02951573207974434, 0.03563886135816574, 0.04599891975522041, 0.018622927367687225, -0.007202378008514643, -0.06817197799682617, -0.0153997503221035, 0.04691161960363388, 0.002841041423380375, -0.04974868521094322, -0.03789730742573738, 0.02678781934082508, -0.00013548065908253193, 0.059040337800979614, -0.0627320259809494, -0.01587796024978161, -0.07435630261898041, -0.025430962443351746, -0.006598757114261389, -0.007997901178896427, 0.00593500817194581, 0.003184152767062187, -0.024617096409201622, -0.024550141766667366, 0.06535894423723221, -0.0017519636312499642, -0.018019847571849823, 0.026387179270386696, -0.033332739025354385, -0.04707440733909607, -0.0057118977420032024, -0.007533274125307798, 0.09012717008590698, 0.01777602545917034, -0.07870209217071533, -0.031328391283750534, -0.006557709537446499, 0.06984104216098785, -0.020657146349549294, -0.03360912576317787, -0.009921599179506302, 0.026048574596643448, -0.03316698223352432, -0.02400837652385235, -0.020200811326503754, -0.021002311259508133, -0.04828264191746712, -0.018438315019011497, -0.01450321078300476, -0.04784039407968521, 0.02337627299129963, -0.02624296210706234, -0.013127685524523258, -0.052969541400671005, -0.04419231787323952, -0.01693778671324253, 0.042822688817977905, 0.0026801470667123795, -0.009544082917273045, 0.02623136155307293, -0.01198594830930233, -0.09575911611318588, -0.056971464306116104, -0.0030761377420276403, 0.0030571897514164448, 0.01198031846433878, 0.0036506042815744877, 0.050030406564474106, -0.04862286522984505, -0.04509023204445839, -0.01192520372569561, 0.013113168999552727, 0.0199965201318264, 0.00231499713845551, 0.025172732770442963, 0.020119454711675644, -0.041742853820323944, 0.008799973875284195, 0.06484874337911606, -0.02871866710484028, -0.014103148132562637, 0.021306803449988365, 0.011953040957450867, 0.034829746931791306, -0.01850203052163124, -0.0055171288549900055, 0.013419288210570812, 0.058344267308712006, 0.025635531172156334, -0.039331432431936264, 0.014845432713627815, -0.010180165059864521, -0.04009757190942764, -0.0026322503108531237, -0.023608841001987457, 0.022168679162859917, 0.026685573160648346, 0.013617109507322311, 0.0385848805308342, -0.0072319223545491695, 0.03194078803062439, -0.025106674060225487, -0.015998143702745438, -0.022370480000972748, 0.06011650338768959, 0.040539756417274475, 0.04800479859113693, -0.029072977602481842, -0.07740958780050278, 0.022661104798316956, 0.0034275217913091183, -0.010038459673523903, -0.06320876628160477, -0.024857765063643456, -0.02050229348242283, -0.020247459411621094, 0.016867540776729584, 0.013462073169648647, -0.030572693794965744, -0.0016858858289197087, 0.03674425557255745, -0.01602805219590664, 0.06697684526443481, -0.022048650309443474, -0.05485476180911064, -0.033593229949474335, -0.008368583396077156, -0.010429500602185726, 0.010806075297296047, 0.015739109367132187, 0.017154714092612267, 0.04755794256925583, 0.023177318274974823, -0.018142489716410637, -0.0036541447043418884, 0.00394135806709528, 0.02570023015141487, 0.013767745345830917, -0.008086626417934895, -0.020033620297908783, 0.029305556789040565, -0.054182909429073334, -0.017017710953950882, 0.015161381103098392, 0.051416847854852676, -0.009083080105483532, -0.02705436944961548, -0.04162461310625076, 0.022305002436041832, -0.034949395805597305, 0.0051997085101902485, -0.032924145460128784, 0.01864384301006794, 0.0687788799405098, -0.02056637778878212, -0.012382260523736477, -0.020033489912748337, 0.019745251163840294, -0.005647148005664349, 0.003303386503830552, -0.046487078070640564, 0.02079540677368641, -0.01282349694520235, 0.009673938155174255, 0.013834809884428978, 0.03843390569090843, -0.0026575832162052393, 0.0017891181632876396, -0.034085169434547424, 0.007560963276773691, 0.01985068805515766, 0.03685968741774559, 0.04751681908965111, 0.06931430846452713, -0.01133222971111536, -0.007600734941661358, -0.020813994109630585, -0.022072236984968185, 0.00220189499668777, 0.018140219151973724, -0.047344136983156204, 0.000980526558123529, -0.052931685000658035, -0.06697510182857513, 0.014996695332229137, 0.002061407780274749, 0.022284267470240593, 0.019804224371910095, 0.03267374262213707, -0.01177391316741705, -0.005657303612679243, 0.0004378426820039749, 0.046506527811288834, -0.05538692697882652, -0.01704399660229683, -0.003057445865124464, -0.027837516739964485, 0.0019866900984197855, 0.01324868481606245, -0.06088687479496002, -0.04621394723653793, -0.021641507744789124, 0.020027020946145058, -0.034983765333890915, -0.022280720993876457, -0.005066325888037682, -0.010190028697252274, -0.005143078975379467, 0.031320229172706604, -0.005845570936799049, -0.007311311084777117, -0.012080189771950245, -0.016410456970334053, 0.028286974877119064, -0.01607288047671318, -0.018148677423596382, 0.009415719658136368, -0.019110869616270065, 0.016279462724924088, -0.012068689800798893, 0.04785250499844551, 0.01759517379105091, 0.002640602644532919, 0.002905782777816057, -0.05338776484131813, 0.025389501824975014, 0.001537904841825366, 0.058849725872278214, -0.007027104031294584, -0.02045465260744095, -0.025896156206727028, -0.015821881592273712, -0.015692124143242836, 0.00981074571609497, 0.010665934532880783, -0.025598449632525444, 0.012001660652458668, 0.04420033469796181, 0.002469236496835947, 0.05073656514286995, -0.011610628105700016, -0.034006744623184204, 0.0619211308658123, -0.019295083358883858, -0.014229791238904, -0.0026195389218628407, -0.041024163365364075, 0.012287408113479614, -0.0018628982361406088, 0.01603482849895954, -0.03703488036990166, 0.04637247323989868, 0.04711824655532837, 0.028849143534898758, 0.034726567566394806, -0.012435445562005043, 0.02816113457083702, -0.023553304374217987, -0.014993004500865936, -0.08964845538139343, 0.027041928842663765, 0.06411828100681305, 0.004109147936105728, -0.0026109153404831886, 0.0031502507627010345, -0.04897724464535713, 0.012079386040568352, -0.061235830187797546, -0.03301023319363594, 0.014493009075522423, -0.01989423669874668, 0.011952271685004234, 0.016563568264245987, -0.05151590332388878, -0.019761230796575546, 0.04678743705153465, -0.03414681553840637, -0.02090982161462307, -0.043246615678071976, 0.05979551374912262, -0.037880945950746536, 0.02167101949453354, 0.004372517112642527, -0.0361703522503376, 0.06184323877096176, 0.03962450847029686, 0.040020231157541275, 0.05136742815375328, -0.024160955101251602, 0.03264002874493599, 0.02809360809624195, 0.0036561135202646255, 0.02472822181880474, 0.04165172204375267, -0.03234606981277466, -0.04665756970643997, 0.02693830616772175, -0.008610929362475872, -0.025956973433494568, -0.05540561303496361, 0.07509752362966537, -0.001711578806862235, -0.05705239996314049, -0.021234899759292603, 0.028389714658260345, -0.03989850729703903, -0.0294562466442585, -0.032603148370981216, 0.026583736762404442, -0.02597171999514103, 0.05686578527092934, -0.034811150282621384, 0.014285095036029816, 0.08117672055959702, -0.00652021961286664, -0.011861036531627178, 0.018485141918063164, 0.09223830699920654, 0.10350853204727173, 0.03752430900931358, -0.008730755187571049, 0.07798054814338684, -0.015067048370838165, -0.05010906234383583, -0.014805448241531849, -0.035516172647476196, 0.005979630630463362, 0.03192148730158806, 0.02651675045490265, 0.049914732575416565, -0.04380367323756218, 0.06239714100956917, 0.000887532951310277, -0.0131352124735713, 0.02756415866315365, -0.006482478231191635, 0.03287537395954132, 0.08729758858680725, 0.011661993339657784, 0.04936077818274498, -0.019877949729561806, -0.02644995227456093, 0.03291195631027222, -0.0035644692834466696, -0.017478520050644875, 0.016723433509469032, -0.060403596609830856, 0.006305430084466934, 0.010871263220906258, 0.0490049310028553, 0.07728836685419083, -0.03763454407453537, -0.0007066238322295249, 0.008169220760464668, 0.014702891930937767, -0.004739321302622557, 0.0008507671882398427, -0.023145444691181183, -0.017577845603227615, -0.031450506299734116, -0.05428864434361458, -0.038730356842279434, -0.04443003609776497, -0.056388743221759796, 0.011703412048518658, -0.0029709909576922655, -0.023158574476838112, -0.0008597543346695602, -0.009775226935744286, -0.022934267297387123, -0.0520360991358757, -0.05794297531247139, -0.048516470938920975, -0.08425144851207733, -0.020549790933728218, 0.013612298294901848, -0.0015497591812163591, -0.02853674627840519, -0.00010735049727372825, -0.012018175795674324, -0.026769226416945457, 0.033531155437231064, -0.0265657901763916, 0.011556988582015038, 0.015367679297924042, 0.040756724774837494, 0.027026845142245293, 0.014983761124312878, 0.06399141252040863, -0.01520443893969059, 0.0031009044032543898, -0.021983852609992027, -0.00375576876103878, 0.043999411165714264, 0.030348092317581177, -0.010225100442767143, -0.08450300246477127, -0.01614188775420189, 0.03965112939476967, -0.027676841244101524, -0.08603666722774506, 0.011415727436542511, 0.01293142605572939, 0.012257405556738377, 0.0464961864054203, -0.031433284282684326, 0.00671726418659091, -0.02824503928422928, 0.017348919063806534, 0.00789502914994955, 0.014455108903348446, 0.04878988116979599, -0.04448382556438446, 0.082638680934906, 0.02195417881011963, -0.04338749498128891, -0.043487630784511566, -0.017830705270171165, -0.012547161430120468, -0.006715136114507914, -0.043452903628349304, -0.024926694110035896, -0.05344589799642563, -0.08541824668645859, -0.012225924991071224, 0.005930579267442226, -0.028293224051594734, -0.03143051639199257, 0.013188870623707771, 0.009912882000207901, -0.007304243743419647, 0.008138149045407772, -0.03633822500705719, 0.041577767580747604, -0.01495362538844347, -0.02212228998541832, -0.03353032097220421, 0.028793105855584145, -0.012878178618848324, 0.031207004562020302, -0.002374829025939107, -0.04097211733460426, 0.026736490428447723, -0.0328875370323658, -0.02064373716711998, 0.015145348384976387, 0.0043099005706608295, 0.013169528916478157 ]
[ -0.06041697412729263, 0.006298507563769817, -0.0353161059319973, -0.013504602946341038, 0.08419942110776901, -0.01754034124314785, 0.029601991176605225, 0.016384396702051163, 0.06081151217222214, -0.006186334881931543, -0.00005209879600442946, -0.05025101825594902, -0.015320256352424622, -0.014677074737846851, 0.02109883539378643, -0.037779174745082855, -0.0633176639676094, -0.07948215305805206, -0.03173138573765755, 0.03126726672053337, -0.04944319278001785, -0.01313021034002304, -0.03867844492197037, -0.01208515278995037, 0.030002411454916, 0.03613464906811714, 0.038906995207071304, -0.0349116176366806, -0.03892514854669571, -0.21310634911060333, -0.019275512546300888, 0.023428941145539284, 0.01913735643029213, -0.005793969612568617, 0.012940337881445885, -0.011663112789392471, 0.010456766933202744, -0.0024281078949570656, 0.04368428513407707, 0.0319550521671772, 0.030158404260873795, 0.0028102451469749212, -0.04114769771695137, -0.0394495353102684, 0.046522971242666245, 0.007651888765394688, -0.005108346231281757, -0.001794746145606041, 0.024449359625577927, 0.041429754346609116, -0.023383382707834244, 0.019640104845166206, -0.0014246465871110559, -0.016905363649129868, 0.003346002195030451, 0.06577052921056747, 0.0693700984120369, 0.05193978548049927, 0.017492108047008514, 0.056942299008369446, 0.03059164620935917, 0.0031302603892982006, -0.14348819851875305, 0.05478687584400177, -0.015498648397624493, 0.010897932574152946, -0.05502635985612869, 0.010112627409398556, -0.02321760728955269, 0.11228501051664352, -0.011178309097886086, -0.05603165924549103, -0.03068717010319233, 0.03289857134222984, 0.02429649606347084, 0.013136137276887894, -0.009032150730490685, -0.0036070498172193766, 0.0013854952994734049, -0.016941040754318237, -0.04465027526021004, 0.001283962861634791, -0.04082233086228371, -0.028216170147061348, -0.031787771731615067, 0.023598887026309967, -0.047766488045454025, 0.05546410381793976, 0.003184711094945669, 0.02115757018327713, 0.08183825016021729, 0.049294549971818924, 0.0197613425552845, 0.034856587648391724, -0.10259603708982468, -0.039612848311662674, -0.013468863442540169, 0.007320727687329054, -0.007244548294693232, 0.43985453248023987, 0.03214852511882782, -0.003467354690656066, 0.023421505466103554, 0.04327625036239624, 0.004089918918907642, -0.019399695098400116, 0.030957259237766266, -0.05521431937813759, 0.00039658520836383104, -0.028355387970805168, -0.01751634292304516, -0.02054557576775551, 0.0468258410692215, -0.03301915153861046, -0.0021105280611664057, 0.05178806930780411, 0.03502571955323219, 0.004931571893393993, 0.004438087344169617, 0.011431423015892506, -0.01137631107121706, 0.009264972060918808, -0.03342359885573387, 0.02858208678662777, -0.025961467996239662, 0.02269161492586136, 0.005797431338578463, 0.062071144580841064, 0.022766603156924248, 0.031282808631658554, 0.025771040469408035, -0.05504117161035538, -0.05907655134797096, 0.00852486863732338, -0.00169754633679986, 0.0010974559700116515, 0.034589871764183044, -0.027862392365932465, 0.0016819331794977188, 0.04748658835887909, -0.009869523346424103, -0.06997551769018173, 0.03517228364944458, -0.0024963319301605225, -0.05137409642338753, 0.11951788514852524, -0.005878422409296036, -0.038975853472948074, -0.006622090470045805, -0.023096175864338875, 0.0035392814315855503, -0.003289347980171442, 0.026394587010145187, -0.06863813102245331, -0.0746527910232544, 0.009001988917589188, 0.07405760139226913, -0.03336299583315849, -0.0469861663877964, -0.028876561671495438, -0.024365153163671494, -0.04575612023472786, -0.04088328033685684, 0.0814531072974205, 0.04491359367966652, -0.10702729225158691, -0.004386932123452425, -0.02548074908554554, -0.01981588825583458, -0.08216995745897293, -0.0032780393958091736, -0.007843626663088799, -0.043123163282871246, 0.02501048892736435, 0.025903476402163506, 0.011082792654633522, -0.02676384337246418, -0.027391815558075905, 0.07473310083150864, -0.014989173039793968, 0.013737635686993599, 0.011656098999083042, -0.061409659683704376, 0.0037635143380612135, -0.026066094636917114, -0.024573640897870064, -0.07738649845123291, -0.00009153321298072115, -0.019569212570786476, -0.025745274499058723, -0.04120183736085892, -0.03164777532219887, -0.04407358542084694, 0.05220219865441322, -0.047977007925510406, 0.015041736885905266, -0.03027493879199028, -0.02843679115176201, -0.00793891865760088, -0.03581799194216728, -0.03324180468916893, 0.010841406881809235, 0.014038823544979095, 0.030189381912350655, -0.02677316404879093, 0.03499896079301834, 0.048901669681072235, -0.03052237071096897, 0.06968685239553452, 0.013966698199510574, -0.04403071850538254, -0.022865455597639084, -0.017535939812660217, 0.013836147263646126, 0.00014961196575313807, -0.0067627402022480965, -0.017111316323280334, 0.007444326300173998, 0.008407210931181908, 0.017674217000603676, -0.014903642237186432, -0.009452525526285172, -0.0022993150632828474, -0.32118794322013855, -0.028203628957271576, -0.04699528589844704, -0.007144225295633078, 0.017705515027046204, -0.00319872610270977, 0.009250866249203682, -0.03385750204324722, 0.03577959164977074, 0.05514322966337204, 0.04888927564024925, 0.009684530086815357, -0.019106030464172363, -0.06004555895924568, -0.006031083408743143, 0.028726067394018173, -0.0458429679274559, 0.01348695158958435, -0.022178810089826584, 0.05968647822737694, 0.06815934926271439, -0.005441272631287575, -0.04481916129589081, -0.03061283566057682, -0.0016468658577650785, -0.033512670546770096, 0.15479421615600586, 0.0253680981695652, 0.021579476073384285, -0.07401256263256073, 0.0285432580858469, -0.0018883083248510957, 0.020478177815675735, -0.0444001629948616, 0.03675030544400215, -0.018848085775971413, 0.0006609933916479349, -0.042416904121637344, 0.0452338345348835, -0.05894552543759346, -0.028350695967674255, 0.0012333816848695278, -0.05118037760257721, -0.05212818458676338, -0.04584117606282234, 0.0350312814116478, -0.04082737863063812, -0.029506655409932137, -0.0021570289973169565, 0.08666285127401352, 0.029946545138955116, 0.008061893284320831, 0.05519121140241623, -0.011603341437876225, 0.043249599635601044, -0.04510707035660744, -0.0948295146226883, 0.0061655533500015736, -0.002627571113407612, 0.008722277358174324, 0.01038467325270176, -0.004410398658365011, 0.0683646947145462, -0.08778902888298035, -0.001116007100790739, 0.006069870665669441, 0.025787077844142914, 0.012664451263844967, 0.03653372824192047, -0.00875276979058981, -0.03142468258738518, 0.05233841389417648, 0.00941043347120285, -0.002608472714200616, 0.03486543148756027, 0.06711915880441666, 0.019424451515078545, 0.033039577305316925, 0.010258220136165619, 0.01655573397874832, 0.060997284948825836, -0.05544944480061531, 0.07958957552909851, -0.026824183762073517, 0.024013115093111992, 0.03476480022072792, 0.022259432822465897, -0.005334855057299137, 0.0936310738325119, 0.019967982545495033, -0.03833508864045143, 0.023831838741898537, -0.02365528605878353, -0.0003897210117429495, 0.03944262117147446, -0.04276188090443611, -0.23609232902526855, 0.012918195687234402, 0.04974821209907532, 0.04304040968418121, 0.04126546159386635, 0.02740352787077427, 0.0013955372851341963, -0.01944785751402378, -0.027103908360004425, 0.0015710800653323531, 0.039793822914361954, 0.024898340925574303, -0.002614786382764578, -0.029482709243893623, -0.028947075828909874, -0.016108060255646706, 0.057285014539957047, -0.02000644989311695, 0.038794051855802536, 0.04050999507308006, 0.029246671125292778, -0.019499024376273155, 0.17025284469127655, 0.0010178444208577275, 0.03957730904221535, 0.06047765538096428, -0.006051819771528244, -0.020490890368819237, -0.0013741449220106006, 0.015542466193437576, 0.01692824810743332, 0.02318391390144825, 0.04434993118047714, 0.05952157825231552, -0.016279758885502815, -0.014268547296524048, -0.009109463542699814, 0.07745081931352615, 0.0016025978839024901, -0.04296636953949928, -0.021750444546341896, 0.02367081120610237, -0.0453222431242466, 0.0005896819056943059, 0.059557873755693436, 0.04085535928606987, -0.01854356750845909, -0.020673150196671486, -0.038936179131269455, -0.016403773799538612, -0.04482872411608696, -0.047593675553798676, -0.02074255980551243, -0.028902223333716393, 0.0016544045647606254, 0.034888431429862976, 0.0378291942179203, -0.05282942205667496, 0.03721804544329643, 0.019460400566458702, -0.023704219609498978, -0.03346022218465805, 0.11019225418567657, -0.0015833702636882663, 0.026433654129505157 ]
[ 0.01885089837014675, 0.045944809913635254, -0.016625553369522095, 0.0027699091006070375, 0.012579984031617641, 0.05007055774331093, -0.012303641997277737, 0.013855325989425182, -0.004837780259549618, -0.007960082963109016, -0.059966813772916794, -0.004892795812338591, 0.024897461757063866, 0.01717490330338478, 0.022183185443282127, -0.022180551663041115, -0.029747560620307922, -0.014501121826469898, 0.030251886695623398, -0.029259365051984787, -0.02307145856320858, -0.016340862959623337, -0.020365210250020027, -0.00004095736221643165, -0.022425875067710876, 0.007883352227509022, -0.016698267310857773, 0.030810318887233734, -0.0017688059015199542, -0.11763561517000198, -0.06282249093055725, -0.025824615731835365, 0.05427895113825798, 0.04093916341662407, -0.006405708380043507, -0.0012324574636295438, 0.0043077655136585236, 0.0005241543985903263, -0.008532033301889896, 0.013155994936823845, -0.013890146277844906, -0.012753480114042759, -0.02053433284163475, 0.034171197563409805, 0.02891421876847744, 0.03272261470556259, -0.021848231554031372, 0.034801919013261795, -0.002893181052058935, -0.004756518639624119, -0.040471989661455154, -0.008402316831052303, 0.027213022112846375, 0.014128124341368675, 0.029057921841740608, 0.04424548149108887, -0.06538866460323334, -0.02704050950706005, -0.0032882029190659523, -0.06544294953346252, 0.008068863302469254, -0.0001737751008477062, -0.07598501443862915, -0.020824028179049492, -0.04989146441221237, -0.03586690500378609, -0.004154715687036514, 0.02327144518494606, -0.0027017712127417326, -0.004443000536412001, 0.023204375058412552, 0.012118575163185596, -0.0333203561604023, -0.03141605481505394, 0.01573939435184002, 0.06623820960521698, 0.02625306509435177, -0.017171703279018402, 0.011933746747672558, -0.04979582875967026, -0.043294161558151245, -0.015540973283350468, 0.013955805450677872, -0.020739823579788208, 0.006849988829344511, -0.02046957053244114, -0.0021751108579337597, -0.018548958003520966, 0.005752028897404671, 0.018566900864243507, -0.04932411015033722, 0.018703527748584747, 0.018677886575460434, -0.0004281790752429515, -0.07187916338443756, 0.019510122016072273, 0.008240708149969578, -0.023413285613059998, 0.013510466553270817, 0.8158111572265625, 0.05173804610967636, 0.03753850981593132, -0.00803191028535366, 0.00833688210695982, -0.002611365634948015, 0.006060491781681776, 0.01035414170473814, 0.014696783386170864, 0.0031493662390857935, -0.039174117147922516, -0.01590215414762497, 0.03529342636466026, 0.010259678587317467, -0.019720006734132767, -0.039518803358078, 0.09323422610759735, -0.0006088937516324222, 0.012649433687329292, -0.040022075176239014, 0.027018660679459572, 0.04438748583197594, 0.0031594745814800262, -0.02819753997027874, 0.03352976590394974, 0.022974565625190735, -0.167795792222023, -0.007102760951966047, -7.317375926735936e-33, 0.02849041298031807, -0.006332924589514732, -0.00771439541131258, 0.015571163967251778, -0.014056863263249397, 0.02587965317070484, 0.005926346872001886, -0.0007670747581869364, -0.03022618219256401, -0.047767274081707, 0.0025856320280581713, 0.005719000473618507, 0.02672104351222515, -0.0375203937292099, 0.029777005314826965, -0.02506413869559765, -0.01480899564921856, 0.01294683013111353, -0.03205103427171707, 0.007824615575373173, -0.0011189617216587067, 0.015962110832333565, 0.012232165783643723, -0.005328689701855183, 0.00031466037034988403, 0.04991285875439644, -0.06824735552072525, -0.048826538026332855, 0.005783787928521633, -0.040409013628959656, -0.027147244662046432, 0.008258323185145855, -0.027624860405921936, 0.012304539792239666, -0.037085969001054764, -0.03116021119058132, -0.02884417586028576, -0.012936686165630817, -0.015829352661967278, -0.03432859852910042, -0.04720800369977951, 0.004792896099388599, -0.025277981534600258, -0.026317313313484192, -0.0018964606570079923, -0.03100017085671425, -0.011546296067535877, -0.009628629311919212, 0.018361125141382217, 0.002987048588693142, 0.04640761762857437, -0.015145710669457912, 0.013154945336282253, -0.017664162442088127, -0.009316299110651016, -0.007480866275727749, 0.01738736219704151, 0.061951253563165665, -0.016244612634181976, -0.015236038714647293, 0.043839231133461, 0.013362126424908638, -0.028022339567542076, 0.05406899377703667, 0.00072914466727525, 0.033059392124414444, -0.00898767076432705, 0.005200105253607035, -0.020849663764238358, 0.005942880176007748, -0.025149056687951088, 0.022696517407894135, 0.02472507953643799, -0.03117332234978676, 0.014684503898024559, -0.010648704133927822, 0.00671550864353776, -0.012418188154697418, -0.011959588155150414, 0.03045634925365448, -0.00576745392754674, -0.005759716499596834, -0.023280464112758636, -0.01937829703092575, -0.023161813616752625, 0.009256026707589626, 0.06040805205702782, 0.021889833733439445, 0.02848035842180252, 0.019106445834040642, 0.024341009557247162, 0.022116869688034058, -0.0022598574869334698, -0.01953699439764023, 0.007416751701384783, 6.687555604456955e-33, -0.028724847361445427, -0.00794224999845028, 0.006568009965121746, -0.022968392819166183, 0.036906104534864426, -0.033879026770591736, 0.031923066824674606, 0.029413729906082153, -0.03203955665230751, 0.028162041679024696, -0.017196575179696083, -0.00042426909203641117, -0.011225840076804161, 0.01779596321284771, 0.017315754666924477, -0.02793389931321144, 0.03522919490933418, 0.010976560413837433, -0.004208331927657127, 0.03776172176003456, 0.014840511605143547, -0.007986179552972317, 0.009815125726163387, 0.043797366321086884, -0.017835799604654312, 0.042142365127801895, -0.0010682009160518646, -0.0161419790238142, -0.010000007227063179, -0.024725597351789474, 0.018023662269115448, -0.031069355085492134, -0.012186065316200256, -0.006000098772346973, 0.027818793430924416, 0.021598583087325096, -0.0276885274797678, -0.0017794176237657666, -0.014454665593802929, 0.0002707808744162321, 0.009376932866871357, -0.0022656661458313465, -0.03897591680288315, 0.031811024993658066, 0.03352075815200806, 0.004956942982971668, 0.004469059873372316, -0.01754028908908367, 0.009809491224586964, 0.04230741783976555, 0.016208380460739136, 0.013962346129119396, -0.015233363956212997, 0.031054724007844925, 0.009740804322063923, -0.016792377457022667, -0.027744794264435768, 0.009028694592416286, 0.0010619170498102903, -0.005368921440094709, -0.026518501341342926, 0.028865355998277664, -0.061134133487939835, 0.031811244785785675, 0.01964193396270275, -0.0037352838553488255, -0.0330931693315506, 0.01997278444468975, -0.008680889382958412, 0.013011687435209751, -0.04444457218050957, 0.027455756440758705, -0.012704047374427319, 0.05300675332546234, -0.03719339519739151, 0.0049297804944217205, -0.02537657879292965, -0.005140837747603655, -0.010754751972854137, 0.04372597485780716, 0.011480866931378841, -0.01967667229473591, 0.022978525608778, 0.022104468196630478, -0.008961481973528862, -0.002442874014377594, -0.00030613341368734837, 0.0003324362332932651, -0.0005009032902307808, -0.036391280591487885, 0.06210227310657501, -0.04304095730185509, 0.03012745827436447, 0.020447958260774612, 0.0041963085532188416, -1.2814590277798743e-8, -0.04019506275653839, -0.004263163078576326, -0.03807530552148819, 0.025247778743505478, -0.008323660120368004, -0.0029661115258932114, -0.006598000880330801, -0.033738501369953156, -0.0029942155815660954, 0.015579738654196262, 0.04845044016838074, -0.0108876284211874, 0.025104762986302376, -0.041245222091674805, 0.03226642310619354, 0.009534179233014584, -0.04438811540603638, -0.00155727902892977, 0.037788569927215576, 0.05713724344968796, 0.009698844514787197, 0.04012589156627655, -0.05495684593915939, 0.0023370981216430664, 0.010503134690225124, -0.02527916431427002, -0.002892762888222933, -0.06837702542543411, 0.024874195456504822, -0.030735090374946594, 0.04022211208939552, -0.023204796016216278, 0.0452200286090374, 0.052547894418239594, 0.013571618124842644, -0.04788466915488243, 0.038247354328632355, -0.0028395876288414, 0.013165822252631187, 0.018239926546812057, -0.004522693809121847, -0.0014271861873567104, -0.06868922710418701, -0.027842549607157707, -0.008594281040132046, -0.035132985562086105, -0.05491743981838226, -0.03102838434278965, 0.01904240995645523, -0.07036231458187103, -0.010011255741119385, 0.01325010322034359, 0.04081340506672859, 0.015353030525147915, 0.01735551469027996, 0.022871192544698715, -0.013230562210083008, 0.008163858205080032, 0.002100846031680703, -0.05372373387217522, 0.001814254792407155, 0.03163628280162811, -0.025591030716896057, 0.00530962273478508 ]
neo4jcypher-translating-1-9-filter-queries-to-use-2-0-list-comprehensions
https://markhneedham.com/blog/2013/09/30/neo4jcypher-translating-1-9-filter-queries-to-use-2-0-list-comprehensions
false
2013-09-30 20:26:35
Elo Rating System: Ranking Champions League teams using Clojure Part 2
[ "clojure", "ranking-systems" ]
[ "Ranking Systems" ]
A few weeks ago I wrote about http://www.markhneedham.com/blog/2013/08/31/elo-rating-system-ranking-champions-league-teams-using-clojure/[ranking Champions League teams using the Elo Rating algorithm], and since I wrote that post I've collated data for 10 years worth of matches so I thought an update was in order. After extracting the details of all those matches I https://github.com/mneedham/ranking-algorithms/blob/867941c1569075315d0927a842c6adcbb2621e65/data/cl-matches.json[saved them to a JSON file] so that I wouldn't have to parse the HTML pages every time I tweaked the algorithm. This should also make it easier for other people to play with the data. I described the algorithm in the previous post and had analysed the rankings for one season. However, it was difficult to understand why teams has been ranked in a certain order so I drilled into the data to find out. Since the 2012/2013 season is the freshest in my memory I started with that. The first thing to do was load https://github.com/mneedham/ranking-algorithms/blob/27f94ccf1fc6c63663c8b3d512a2470330585803/data/cl-matches-2013.json[the matches] from disk: ~~~lisp (ns ranking-algorithms.uefa (:require [clj-time.format :as f]) (:require [clojure.data.json :as json])) (defn as-date [date-field] (f/parse (f/formatter "dd MMM YYYY") date-field )) (defn date-aware-value-reader [key value] (if (= key :date) (as-date value) value)) (defn read-from-file [file] (json/read-str (slurp file) :value-fn date-aware-value-reader :key-fn keyword)) ~~~ I've written previously about http://www.markhneedham.com/blog/2013/09/26/clojure-writing-json-to-a-file-exception-dont-know-how-to-write-json-of-class-org-joda-time-datetime/[reifying a date masquerading as a string] but for now we want to give those matches a name and then process them. ~~~lisp > (def the-matches (read-from-file "data/cl-matches-2013.json")) #'ranking-algorithms.uefa/the-matches > (count the-matches) 213 ~~~ I already had a function +++<cite>+++https://github.com/mneedham/ranking-algorithms/blob/27f94ccf1fc6c63663c8b3d512a2470330585803/src/ranking_algorithms/core.clj#L28[top-teams]+++</cite>+++ which would apply the Elo algorithm across the matches, but since I wanted to drill into each team's performance I wrapped that function in another one called +++<cite>+++https://github.com/mneedham/ranking-algorithms/blob/27f94ccf1fc6c63663c8b3d512a2470330585803/src/ranking_algorithms/core.clj#L121[print-top-teams]+++</cite>+++: ~~~lisp (comment "other functions excluded for brevity") (defn format-for-printing [all-matches idx [team ranking & [rd]]] (let [team-matches (show-matches team all-matches)] (merge {:rank (inc idx) :team team :ranking ranking :rd rd :round (performance team-matches)} (match-record team-matches)))) (defn print-top-teams ([number all-matches] (print-top-teams number all-matches {})) ([number all-matches base-rankings] (clojure.pprint/print-table [:rank :team :ranking :round :wins :draw :loses] (map-indexed (partial format-for-printing all-matches) (top-teams number all-matches base-rankings))))) ~~~ ~~~lisp > (ranking-algorithms.core/print-top-teams 10 the-matches) ======================================================================== :rank | :team | :ranking | :round | :wins | :draw | :loses ======================================================================== 1 | Bayern | 1272.74 | Final | 10 | 1 | 2 2 | PSG | 1230.02 | Quarter-finals | 6 | 3 | 1 3 | Dortmund | 1220.96 | Final | 7 | 4 | 2 4 | Real Madrid | 1220.33 | Semi-finals | 6 | 3 | 3 5 | Porto | 1216.97 | Round of 16 | 5 | 1 | 2 6 | CFR Cluj | 1216.56 | Group stage | 7 | 1 | 2 7 | Galatasaray | 1215.56 | Quarter-finals | 5 | 2 | 3 8 | Juventus | 1214.0 | Quarter-finals | 5 | 3 | 2 9 | Málaga | 1211.53 | Quarter-finals | 5 | 5 | 2 10 | Valencia | 1211.0 | Round of 16 | 4 | 2 | 2 ======================================================================== ~~~ _I've excluded most of the functions but you can find the source in https://github.com/mneedham/ranking-algorithms/blob/27f94ccf1fc6c63663c8b3d512a2470330585803/src/ranking_algorithms/core.clj[core.clj] on github._ Clojure-wise I learnt about the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.pprint/print-table[print-table]+++</cite>+++ function which came in handy and Elo-wise I realised that the ranking places a heavy emphasis on winning matches. If you follow the Champions League closely you'll have noticed that Barcelona are missing from the top 10 despite reaching the Semi Final. The Elo algorithm actually ranks them in 65th position: ~~~lisp ========================================================================================= :rank | :team | :ranking | :round | :wins | :draw | :loses ========================================================================================= 63 | Motherwell | 1195.04 | Third qualifying round | 0 | 0 | 2 64 | Feyenoord | 1195.04 | Third qualifying round | 0 | 0 | 2 65 | Barcelona | 1194.68 | Semi-finals | 5 | 3 | 4 66 | BATE | 1194.36 | Group stage | 5 | 3 | 4 67 | Anderlecht | 1193.41 | Group stage | 4 | 2 | 4 ========================================================================================= ~~~ == It's all about winning I thought there might be a bug in my implementation but having looked through it multiple times, Barcelona's low ranking results from losing multiple games - to Celtic, AC Milan and twice to Bayern Munich - and progressing from their Quarter Final tie against PSG without winning either match. I did apply a higher weighting to matches won later on in the competition but otherwise the Elo algorithm doesn't take into account progress in a tournament. == Low variation in rankings The initial ranking of each team was 1200, so I was surprised to see that the top ranked team had only achieved a ranking of 1272 - I expected it to be higher. I read a bit more about the algorithm and learnt that a 200 points gap in ranking signifies that the higher ranked team should win 75% of the time. For this data set the top ranked team has 1272 points and the lowest ranked team has 1171 points so we probably need to tweak the algorithm to make it more accurate. == Accuracy of the Elo algorithm My understanding of the Elo algorithm is that it becomes more accurate as teams play more matches so I decided to try it out on all the matches from 2004 - 2012. I adapted the +++<cite>+++print-top-teams+++</cite>+++ function to exclude ':round' since it doesn't make sense in this context: ~~~lisp (comment "I really need to pull out the printing stuff into a function but I'm lazy so I haven't\...yet") (defn print-top-teams-without-round ([number all-matches] (print-top-teams-without-round number all-matches {})) ([number all-matches base-rankings] (clojure.pprint/print-table [:rank :team :ranking :wins :draw :loses] (map-indexed (partial format-for-printing all-matches) (top-teams number all-matches base-rankings))))) ~~~ If we evaluate that function we see the following rankings: ~~~lisp > (def the-matches (read-from-file "data/cl-matches-2004-2012.json")) #'ranking-algorithms.uefa/the-matches > (ranking-algorithms.core/print-top-teams-without-round 10 the-matches) ========================================================== :rank | :team | :ranking | :wins | :draw | :loses ========================================================== 1 | Barcelona | 1383.85 | 55 | 25 | 12 2 | Man. United | 1343.54 | 49 | 21 | 14 3 | Chelsea | 1322.0 | 44 | 27 | 17 4 | Real Madrid | 1317.68 | 42 | 14 | 18 5 | Bayern | 1306.18 | 42 | 13 | 19 6 | Arsenal | 1276.83 | 47 | 21 | 18 7 | Liverpool | 1272.52 | 41 | 17 | 17 8 | Internazionale | 1260.27 | 36 | 18 | 21 9 | Milan | 1257.63 | 34 | 22 | 18 10 | Bordeaux | 1243.04 | 12 | 3 | 7 ========================================================== ~~~ The only finalists missing from this list are Monaco and Porto who contested the final in 2004 but haven't reached that level of performance since. Bordeaux are the only unlikely entry in this list and have played ~60 games less than the other teams which suggests that we might not have as much confidence in their ranking. It was at this stage that I started looking at the http://glicko.net/glicko/glicko.pdf[Glicko algorithm] which calculates a rating reliability as well as the rating itself. I've https://github.com/mneedham/ranking-algorithms[added instructions to the github README] showing some examples but if you have any questions feel free to ping me on here or https://twitter.com/markhneedham[twitter].
null
null
[ -0.027007153257727623, -0.003635846544057131, 0.010481315664947033, 0.007996673695743084, 0.05784439668059349, -0.033356502652168274, 0.03041313774883747, 0.049224719405174255, -0.004106744658201933, -0.012516612187027931, 0.01282966323196888, -0.021239416673779488, -0.07159193605184555, 0.00776365352794528, 0.001263180747628212, 0.06496979296207428, 0.058931708335876465, 0.014509649015963078, 0.03327995538711548, -0.011169171892106533, 0.03951144963502884, 0.08404135704040527, -0.013900347985327244, 0.027152087539434433, 0.031888049095869064, -0.01877901889383793, 0.013556418940424919, 0.012097738683223724, -0.0572846382856369, 0.00702400179579854, 0.03650493919849396, -0.0130814453586936, -0.014691065065562725, -0.009618266485631466, 0.013523155823349953, -0.010283115319907665, -0.016057787463068962, 0.030517278239130974, -0.00926031544804573, 0.019982296973466873, -0.05542915314435959, 0.02916058339178562, -0.027500195428729057, 0.015284010209143162, -0.0291318129748106, 0.030918437987565994, -0.04442202299833298, 0.0278997253626585, -0.011945842765271664, 0.0031455326825380325, -0.05678572878241539, 0.0009416077518835664, 0.006315890699625015, 0.008697180077433586, -0.00647157384082675, 0.04452391713857651, 0.02180146798491478, -0.050966158509254456, 0.02922499179840088, -0.02035878598690033, 0.004319218453019857, -0.020775360986590385, 0.014314890839159489, 0.012043660506606102, 0.009598040021955967, -0.04561541602015495, -0.0065945107489824295, 0.036139510571956635, -0.02600710280239582, -0.025540396571159363, 0.01582811027765274, -0.0013221538392826915, -0.015735622495412827, -0.027880758047103882, 0.00763416662812233, -0.0579540953040123, -0.0013303676387295127, 0.08523763716220856, -0.00043357216054573655, 0.05225575342774391, -0.003290484193712473, 0.022951632738113403, 0.02477656863629818, 0.03404984623193741, -0.01802065595984459, -0.02922261692583561, -0.04318192973732948, -0.013211075216531754, -0.05161896347999573, 0.05127308517694473, 0.02814822643995285, -0.043157290667295456, 0.024702439084649086, 0.015586950816214085, 0.007123952265828848, -0.011226372793316841, 0.016709882766008377, 0.03562736138701439, -0.010641508735716343, -0.04275860637426376, -0.02795029804110527, -0.03074571117758751, 0.018774745985865593, 0.002870382508262992, -0.08138083666563034, -0.033694859594106674, -0.018845539540052414, 0.002522504422813654, 0.00829301681369543, -0.014367490075528622, -0.008038783445954323, 0.017180822789669037, 0.003097674110904336, 0.00834079459309578, -0.0648217499256134, 0.05784684792160988, 0.006708152126520872, -0.03300938010215759, -0.018983786925673485, 0.04261902719736099, 0.024212319403886795, -0.0005840231315232813, -0.0077340807765722275, 0.07653744518756866, -0.0021321314852684736, 0.023362191393971443, 0.02575150690972805, 0.056418005377054214, -0.01335738506168127, -0.05716203898191452, -0.020512543618679047, 0.0595109649002552, -0.03460538014769554, 0.025162508711218834, -0.0020185483153909445, -0.05683193355798721, -0.030047014355659485, -0.01485956646502018, 0.08560881018638611, 0.04433412849903107, -0.004105878993868828, -0.0184414591640234, -0.005588575266301632, 0.014489617198705673, 0.020549602806568146, 0.01586827076971531, 0.00021140747412573546, -0.023150481283664703, -0.023268308490514755, 0.008149283938109875, 0.04776781052350998, 0.006780687719583511, 0.03773261234164238, -0.025386348366737366, 0.01235850527882576, 0.09494944661855698, 0.03231220692396164, 0.018213976174592972, -0.025301234796643257, 0.029012298211455345, 0.04444097727537155, 0.033535342663526535, -0.012383953668177128, 0.029466191306710243, -0.003927592188119888, -0.033802181482315063, 0.02779126726090908, 0.05809452757239342, 0.006825553253293037, -0.00932077132165432, -0.033497441560029984, -0.04381798580288887, 0.07799029350280762, -0.00414205901324749, -0.006651667878031731, 0.0809846818447113, 0.09095160663127899, 0.029008403420448303, 0.053844574838876724, -0.005666986107826233, -0.0780428797006607, 0.04486808553338051, 0.020396960899233818, 0.038723159581422806, 0.021074634045362473, -0.00866241380572319, 0.09661193937063217, 0.01883789896965027, -0.007957667112350464, 0.039908021688461304, -0.08483589440584183, -0.056345466524362564, -0.021329985931515694, -0.02720121666789055, 0.06859342008829117, -0.04927312210202217, 0.01700572483241558, 0.05213275924324989, 0.006104381754994392, 0.0714864581823349, 0.03658761829137802, 0.013581397011876106, 0.029061326757073402, -0.05730785056948662, -0.05415716767311096, 0.04383260756731033, 0.039063990116119385, -0.03763333335518837, -0.03535499423742294, 0.04183600842952728, -0.04957973584532738, -0.002107759704813361, 0.013531435281038284, -0.03173220157623291, 0.006483611185103655, 0.026432190090417862, 0.0594693161547184, -0.027486180886626244, 0.02971820905804634, -0.062448687851428986, 0.04774104803800583, 0.015667857602238655, -0.002967388369143009, -0.007712383754551411, 0.0026323082856833935, 0.11436232924461365, 0.0292240958660841, -0.02285122685134411, -0.0400233156979084, 0.007707102689892054, 0.019497204571962357, -0.016327831894159317, -0.011527498252689838, -0.011779488995671272, 0.014272593893110752, -0.038212601095438004, -0.04868628829717636, -0.03425858914852142, 0.002082678023725748, -0.0209902822971344, 0.016153188422322273, 0.06872957944869995, 0.012781068682670593, 0.04153437539935112, 0.0036874404177069664, -0.00045767807750962675, -0.018525369465351105, -0.022669123485684395, -0.06680013239383698, 0.012843694537878036, -0.010766824707388878, -0.015584633685648441, 0.012845582328736782, -0.026982590556144714, -0.03886691480875015, -0.006284068338572979, -0.04410497471690178, 0.035102393478155136, 0.050974201411008835, 0.06504019349813461, 0.024433963000774384, 0.020445825532078743, -0.029780669137835503, 0.008375221863389015, -0.025169001892209053, -0.06525049358606339, -0.045028381049633026, -0.053832218050956726, 0.000949484296143055, 0.01365996990352869, -0.003310299012809992, -0.00949585996568203, 0.01530150044709444, 0.03258487582206726, -0.015216350555419922, 0.005155819468200207, 0.019183220341801643, -0.015450792387127876, -0.00523740379139781, -0.022307729348540306, -0.023158712312579155, 0.04343032464385033, -0.02614164724946022, 0.0016661843983456492, -0.001801414880901575, -0.057923637330532074, 0.04378550127148628, -0.050392311066389084, -0.01366138830780983, 0.00020285398932173848, -0.010975975543260574, 0.03229478374123573, -0.007941673509776592, 0.017626315355300903, 0.06579078733921051, 0.0075153145007789135, 0.022293804213404655, 0.01244430523365736, 0.0026414243038743734, 0.05329873785376549, -0.0001076417465810664, 0.01826009340584278, 0.060759373009204865, -0.02667419984936714, 0.010137185454368591, -0.03886920213699341, 0.0006682298262603581, -0.01718558929860592, -0.2971087694168091, 0.04241061210632324, -0.005711747799068689, -0.03266013041138649, 0.024840835481882095, 0.00232020509429276, -0.007574349641799927, -0.026703782379627228, -0.017516672611236572, 0.017105672508478165, -0.020531494170427322, -0.009968283586204052, -0.02089798077940941, 0.03669842705130577, 0.025249967351555824, -0.004586599767208099, -0.00343938241712749, -0.05464553460478783, -0.014918661676347256, 0.049296051263809204, 0.005270057823508978, -0.07502617686986923, -0.015017018653452396, 0.043423693627119064, 0.01818222366273403, 0.07460295408964157, -0.052671898156404495, 0.0039510903880000114, -0.052717167884111404, -0.024807648733258247, 0.02385619655251503, -0.03114873170852661, 0.021279707551002502, -0.015081311576068401, -0.03399471938610077, -0.020853321999311447, 0.042348507791757584, 0.01417743694037199, -0.011036252602934837, 0.007605984807014465, -0.02175738289952278, -0.030858678743243217, -0.017328601330518723, -0.005526149179786444, 0.09450829774141312, 0.03268282860517502, -0.08041699975728989, 0.009705519303679466, -0.040155135095119476, 0.07932251691818237, -0.010431068018078804, -0.05042268708348274, -0.022040192037820816, 0.03523021191358566, -0.007966302335262299, -0.020293978974223137, 0.0070247529074549675, -0.036470409482717514, -0.01581888273358345, -0.030192339792847633, -0.024634474888443947, -0.04051275923848152, -0.011081255041062832, -0.04699410870671272, -0.032452743500471115, -0.07094859331846237, -0.05492285639047623, 0.005973663181066513, 0.04918833449482918, 0.009811758995056152, -0.04040956124663353, 0.009025268256664276, -0.020069735124707222, -0.092115618288517, -0.022921163588762283, -0.01254273485392332, -0.011707611382007599, 0.024362504482269287, -0.016915207728743553, 0.061684027314186096, -0.061632074415683746, -0.05305933952331543, 0.020728018134832382, 0.02328730933368206, 0.023498790338635445, -0.02314116805791855, 0.039721205830574036, 0.02743973396718502, -0.010342765599489212, -0.03459623456001282, 0.06978975236415863, -0.04846612736582756, -0.011846331879496574, 0.008184942416846752, 0.0002963727165479213, 0.04695664718747139, -0.012911967001855373, -0.008223081938922405, 0.022730901837348938, 0.053908027708530426, 0.01181744784116745, -0.0555184930562973, 0.020854786038398743, -0.005583950784057379, 0.004934974480420351, -0.008068472146987915, -0.045096226036548615, 0.00012877400149591267, 0.01832832209765911, 0.02939918078482151, 0.012280377559363842, -0.03968265280127525, 0.006708855740725994, -0.03422459587454796, -0.018867017701268196, -0.011029607616364956, 0.028017502278089523, 0.02105909399688244, -0.002799817593768239, -0.011164473369717598, -0.08762910217046738, 0.01714974455535412, -0.018401509150862694, -0.029558267444372177, -0.06942881643772125, -0.024290915578603745, -0.002283441601321101, -0.01602049730718136, 0.029175372794270515, -0.008819756098091602, -0.014333350583910942, 0.036177802830934525, 0.015704553574323654, -0.02339419163763523, 0.021719761192798615, -0.03147737681865692, -0.028283998370170593, -0.030723776668310165, 0.011233100667595863, 0.010879268869757652, 0.02700262889266014, 0.0008939658291637897, 0.01968095265328884, 0.01715242676436901, 0.027080077677965164, 0.004809881094843149, 0.025067253038287163, -0.025341259315609932, 0.011890566907823086, 0.00008791489381110296, 0.01007854100316763, -0.060792308300733566, 0.041122689843177795, -0.057898011058568954, -0.020667634904384613, 0.014662644825875759, 0.02845362015068531, 0.00435048621147871, -0.053790848702192307, -0.04554242640733719, 0.00584618654102087, -0.041999273002147675, -0.01981608383357525, -0.007668682374060154, 0.017354026436805725, 0.06853486597537994, 0.01428603008389473, 0.039228301495313644, 0.002399413613602519, -0.025481926277279854, -0.020579734817147255, -0.01570790261030197, -0.05332021787762642, -0.021934261545538902, -0.019529664888978004, -0.022695394232869148, 0.023197291418910027, 0.022413335740566254, 0.013928069733083248, 0.000335659715346992, -0.022402344271540642, -0.030254028737545013, 0.007968652062118053, 0.053575918078422546, 0.04185454174876213, 0.03447277098894119, 0.010936216451227665, -0.007453653030097485, 0.004236376378685236, -0.0326513908803463, -0.010773852467536926, 0.01864473707973957, -0.021144501864910126, -0.023638693615794182, -0.016387835144996643, -0.07261167466640472, 0.03207593038678169, 0.032684076577425, 0.012571169063448906, 0.009520045481622219, -0.010519594885408878, -0.02518586628139019, -0.023974135518074036, 0.010058439336717129, 0.07679373770952225, -0.06207319721579552, -0.012391840107738972, -0.003623211057856679, 0.006657256744801998, -0.009760452434420586, 0.01280979160219431, -0.04880574345588684, -0.029968813061714172, -0.0010852449340745807, 0.02300352044403553, -0.04257705807685852, -0.01919112540781498, -0.010290619917213917, -0.01526428759098053, 0.00737565103918314, 0.0023154637310653925, -0.009462159126996994, -0.01690882071852684, 0.01660970225930214, -0.016711505129933357, 0.006546857301145792, 0.00534199271351099, 0.011026767082512379, 0.003526984481140971, -0.0036452841013669968, 0.033391762524843216, -0.035899076610803604, 0.029552046209573746, 0.03612147644162178, -0.027451125904917717, 0.005005849525332451, -0.04641323536634445, 0.019437937065958977, -0.004777257330715656, 0.07684968411922455, -0.0018617566674947739, -0.0479806512594223, -0.034455783665180206, 0.005951378960162401, -0.03897258639335632, -0.0050989780575037, -0.017037678509950638, 0.004605377558618784, 0.028149977326393127, 0.04190568998456001, 0.02076062373816967, 0.026992425322532654, -0.03085440769791603, -0.040400754660367966, 0.06380684673786163, -0.05851655825972557, -0.025071026757359505, -0.02662150375545025, -0.03165711462497711, 0.004640474915504456, 0.004344153217971325, -0.010985312052071095, -0.05601496249437332, 0.046324342489242554, 0.03954561427235603, 0.03233618661761284, 0.050357189029455185, 0.02119317650794983, 0.02160356566309929, -0.034509774297475815, -0.011955437250435352, -0.11200068145990372, 0.019312409684062004, 0.05533010512590408, 0.006479180883616209, 0.011275369673967361, 0.019848132506012917, -0.0259163249284029, 0.02436090260744095, -0.051794230937957764, -0.028177505359053612, 0.046644844114780426, -0.03537048026919365, -0.00836346298456192, 0.012389842420816422, -0.06405600160360336, 0.0049838535487651825, 0.04873618856072426, -0.03972255438566208, -0.004208216909319162, -0.043193329125642776, 0.0424618124961853, -0.03724024072289467, 0.03516875579953194, -0.014017450623214245, -0.009236353449523449, 0.04515765979886055, 0.009997819550335407, 0.005023973062634468, 0.033295247703790665, -0.005640703719109297, 0.01374367717653513, 0.039036501199007034, 0.010409840382635593, 0.00027627439703792334, 0.04529053345322609, -0.031735073775053024, -0.0412958487868309, 0.03037898987531662, 0.024345338344573975, -0.030951092019677162, -0.044590238481760025, 0.08376646041870117, 0.011101162061095238, -0.03194231912493706, -0.0380542017519474, -0.0037510276306420565, -0.06764386594295502, -0.0016319461865350604, -0.010169793851673603, 0.025371676310896873, -0.04002512991428375, 0.05751872807741165, 0.013621977530419827, 0.008423803374171257, 0.07550981640815735, 0.026385625824332237, -0.003569237422198057, 0.026793748140335083, 0.07732325047254562, 0.10726375132799149, 0.033695269376039505, 0.00040005799382925034, 0.0656014159321785, -0.0005723325884900987, -0.051174335181713104, -0.007587554398924112, -0.018668506294488907, 0.015553210861980915, 0.013862132094800472, -0.014879624359309673, 0.0564911812543869, -0.02326696738600731, 0.07602425664663315, -0.011660361662507057, -0.029298990964889526, 0.0032846396788954735, -0.00247521442361176, 0.02395961806178093, 0.04470513015985489, -0.013068701140582561, 0.024365738034248352, -0.014584965072572231, -0.0420493446290493, 0.012192277237772942, -0.00525617552921176, -0.021936196833848953, 0.011392571032047272, -0.03254684433341026, 0.020244210958480835, -0.01279291883111, 0.03588861972093582, 0.05892188474535942, -0.03922070190310478, 0.020145563408732414, -0.009261389262974262, 0.007305055856704712, 0.011511812917888165, 0.019252892583608627, -0.021291209384799004, -0.0013631805777549744, -0.012572580017149448, -0.023057257756590843, -0.008052158169448376, -0.02731049247086048, -0.04734020680189133, 0.03904576599597931, -0.01951739750802517, 0.00870004203170538, 0.02252700924873352, 0.003866648767143488, -0.03359512612223625, -0.03838644549250603, -0.04759013280272484, -0.07362745702266693, -0.07014653831720352, -0.030932025983929634, 0.044506993144750595, 0.000023711192625341937, -0.025558995082974434, -0.012745650485157967, -0.004527653101831675, -0.0046864706091582775, 0.023012755438685417, -0.05047839879989624, -0.010276753455400467, 0.026260865852236748, 0.024280279874801636, 0.03324630856513977, 0.004294777754694223, 0.04426025599241257, -0.017384106293320656, -0.022145116701722145, -0.002262728987261653, -0.008773415349423885, 0.03958006203174591, 0.0095317792147398, -0.0043922169134020805, -0.08067179471254349, 0.024537019431591034, 0.04575826972723007, -0.047926221042871475, -0.07104584574699402, 0.02616436965763569, 0.016528183594346046, -0.010027285665273666, 0.05422234907746315, -0.023964665830135345, -0.002171138534322381, -0.04418427124619484, -0.015412195585668087, -0.009530434384942055, 0.015111992135643959, 0.05243811756372452, -0.005237719509750605, 0.10484946519136429, 0.03651377558708191, -0.02392769232392311, -0.04583657160401344, -0.02634257636964321, -0.03429405018687248, -0.0028850696980953217, -0.04193241149187088, -0.0288242120295763, -0.0637933537364006, -0.06951955705881119, -0.040308400988578796, 0.01991902105510235, -0.04690397530794144, -0.045882247388362885, -0.0051859463565051556, 0.020212484523653984, 0.0008740746416151524, 0.0015033080708235502, -0.030266422778367996, 0.031058749184012413, -0.011899430304765701, -0.005254190880805254, -0.051001884043216705, 0.023372553288936615, 0.036936234682798386, 0.008456377312541008, 0.02734178863465786, -0.06746642291545868, 0.03635876253247261, -0.006586781237274408, -0.014963624067604542, 0.02452518790960312, -0.004522420931607485, 0.0036286013200879097 ]
[ -0.09100022912025452, -0.0010084634413942695, -0.01745767332613468, -0.028351878747344017, 0.06338024884462357, -0.01609816960990429, 0.0001812120171962306, 0.0185057632625103, 0.06523096561431885, 0.010345912538468838, 0.02654322423040867, -0.08283641934394836, -0.011114802211523056, -0.021053249016404152, 0.05394923686981201, -0.03353138267993927, -0.040372613817453384, -0.08348731696605682, -0.04160315543413162, 0.008173122070729733, -0.017104309052228928, -0.010392682626843452, -0.027979422360658646, -0.05321219190955162, 0.023028912022709846, 0.03485260158777237, 0.046371348202228546, -0.024674035608768463, -0.04999883100390434, -0.2288961261510849, -0.007554299663752317, -0.0055243694223463535, 0.07636432349681854, -0.010389070957899094, -0.009070359170436859, 0.022223452106118202, -0.011758370324969292, 0.026581184938549995, 0.014452436938881874, 0.03387340530753136, 0.02123584970831871, 0.0008125420426949859, -0.05863994359970093, -0.052988506853580475, 0.04132257029414177, 0.014217712916433811, 0.010647431015968323, 0.013918128795921803, 0.0004772267129737884, 0.052718304097652435, -0.030139051377773285, -0.0006412071525119245, -0.0018719936488196254, -0.015780126675963402, 0.008634614758193493, 0.061408862471580505, 0.02936779335141182, 0.06157241389155388, 0.03661121055483818, 0.05787677690386772, 0.042801663279533386, 0.0031241015531122684, -0.1715468168258667, 0.08287904411554337, -0.003849661909043789, 0.017594952136278152, -0.03188784047961235, -0.0008412970928475261, -0.0338125042617321, 0.0759323388338089, -0.003427499672397971, -0.05332452058792114, 0.005029363092035055, 0.022175492718815804, 0.049420155584812164, 0.012233767658472061, -0.013095642440021038, -0.009545703418552876, 0.014114364981651306, -0.018668407574295998, -0.03233940899372101, 0.009078447706997395, -0.035170599818229675, -0.04649459570646286, -0.008730070665478706, -0.0030975760892033577, -0.030550267547369003, 0.059345610439777374, 0.021198119968175888, 0.005074560642242432, 0.06370053440332413, 0.021771835163235664, 0.03242062032222748, 0.031849779188632965, -0.1028822660446167, -0.029814276844263077, -0.005406138952821493, 0.018406793475151062, -0.034744665026664734, 0.429994136095047, -0.008320925757288933, 0.008067512884736061, 0.03628553822636604, 0.04956001788377762, 0.00663366774097085, -0.033615317195653915, 0.02539851702749729, -0.03971884772181511, 0.0036552618257701397, -0.01387560460716486, -0.009966082870960236, -0.003035870613530278, 0.045518506318330765, -0.029161972925066948, 0.006137073505669832, 0.035579849034547806, 0.043777868151664734, 0.030251694843173027, -0.002061594743281603, 0.03552756458520889, -0.007394011132419109, -0.00710925180464983, 0.004478909075260162, -0.008735849522054195, 0.0049291145987808704, 0.04977167025208473, 0.009557817131280899, 0.04662754386663437, 0.04038025066256523, 0.012554644607007504, 0.030823955312371254, -0.040384843945503235, -0.11742322891950607, 0.002594542456790805, -0.022332383319735527, 0.001958469394594431, -0.003059311769902706, -0.0315709263086319, 0.014215819537639618, 0.0259277131408453, -0.028162367641925812, -0.08086351305246353, 0.07589387148618698, -0.031606439501047134, -0.03353915363550186, 0.12648600339889526, -0.0034358801785856485, -0.03872963413596153, 0.013435915112495422, -0.04653812572360039, -0.014439374208450317, 0.00885429885238409, -0.0006596330786123872, -0.055396467447280884, -0.013850681483745575, 0.009483975358307362, 0.05920099839568138, -0.04856303334236145, -0.05976905673742294, -0.004217258654534817, -0.04435959830880165, -0.0432971827685833, -0.04571165144443512, 0.07024362683296204, 0.04168887808918953, -0.09874649345874786, -0.015768257901072502, -0.008172784931957722, -0.008319705724716187, -0.04601156711578369, 0.030818885192275047, 0.018830642104148865, -0.026826629415154457, 0.03195677697658539, 0.04553478583693504, -0.002293857978656888, -0.0023177815601229668, -0.026113683357834816, 0.06747356802225113, -0.012738805264234543, 0.030410688370466232, 0.007330863270908594, -0.05504278093576431, 0.027687761932611465, -0.029114020988345146, -0.03760843724012375, -0.06719408184289932, -0.027187561616301537, -0.015623841434717178, -0.008803806267678738, -0.0644611269235611, -0.029095543548464775, -0.054855845868587494, 0.05879652127623558, -0.02551274374127388, 0.013595431111752987, 0.011559858918190002, -0.02172716148197651, 0.006363620515912771, -0.033053427934646606, -0.05492990091443062, 0.02143576182425022, 0.0007614592905156314, 0.017964564263820648, -0.04172516241669655, 0.03522008657455444, 0.04274382069706917, -0.033048857003450394, 0.10498809814453125, 0.007366431877017021, -0.02786697819828987, -0.05376389995217323, -0.02464008890092373, -0.007045418955385685, 0.013472488150000572, 0.00446019321680069, -0.015454706735908985, -0.02008196711540222, 0.009001986123621464, 0.030524613335728645, -0.024411996826529503, 0.017360279336571693, -0.019048770889639854, -0.3188413083553314, -0.030781716108322144, -0.01738784648478031, 0.0017423179233446717, -0.0006591389537788928, -0.033013444393873215, 0.02528521604835987, -0.029004953801631927, 0.028421953320503235, 0.06578396260738373, 0.09541527181863785, 0.016960421577095985, -0.03313283622264862, -0.05920035019516945, 0.0016706624301150441, 0.02030126191675663, -0.041178297251462936, -0.026080889627337456, -0.011209209449589252, 0.033496975898742676, 0.05897456407546997, -0.00533656869083643, -0.015967240557074547, -0.0242567490786314, -0.0018969803350046277, -0.06150450557470322, 0.1045793667435646, 0.04838976263999939, 0.033894121646881104, -0.05036088451743126, 0.02543514594435692, 0.005271540954709053, 0.013348357751965523, -0.07613007724285126, 0.024553559720516205, -0.022100478410720825, 0.01280692033469677, -0.05241624265909195, 0.010520238429307938, -0.05970506742596626, -0.03287281095981598, 0.014047523960471153, -0.06176253780722618, -0.05443170666694641, -0.047193191945552826, 0.03630148246884346, 0.004461089614778757, -0.011733782477676868, -0.0380643866956234, 0.07663651555776596, 0.023833533748984337, 0.023118091747164726, 0.0849265530705452, -0.030950093641877174, 0.02032569795846939, -0.01776735670864582, -0.08946026116609573, -0.0018211639253422618, 0.005529722198843956, -0.0039545693434774876, 0.014023993164300919, 0.008008992299437523, 0.05547953397035599, -0.06290775537490845, -0.0025957063771784306, 0.009195863269269466, 0.016795458272099495, 0.001802276005037129, 0.015260153450071812, -0.021465303376317024, -0.042085178196430206, 0.03832218050956726, 0.008308479562401772, 0.005532835144549608, 0.06376217305660248, 0.050922904163599014, 0.0013313409872353077, 0.022624101489782333, 0.04038761928677559, 0.028333622962236404, 0.05167047679424286, -0.04442807286977768, 0.06811518967151642, -0.03956977650523186, 0.017904050648212433, 0.05072178691625595, 0.004385909531265497, 0.011136326938867569, 0.03435162827372551, 0.04736435040831566, -0.026751037687063217, 0.00943947583436966, -0.036361873149871826, -0.034526560455560684, 0.05199987441301346, -0.011187260039150715, -0.23033472895622253, 0.03230948746204376, 0.08079374581575394, 0.04380981996655464, 0.042534004896879196, 0.008989227935671806, 0.02061956562101841, -0.04396551847457886, -0.040600527077913284, 0.03186679258942604, 0.011225354857742786, 0.03626001998782158, -0.00320953456684947, -0.02111007459461689, 0.0009121891926042736, -0.0412505604326725, 0.021235141903162003, -0.02576162852346897, 0.04333214834332466, 0.03785422816872597, 0.02410062402486801, -0.01574133150279522, 0.1782519817352295, -0.002962265396490693, 0.02779630571603775, 0.06331281363964081, -0.011703336611390114, -0.02135082334280014, 0.017099790275096893, -0.0037321250420063734, -0.01538753230124712, 0.03398476168513298, 0.02855982817709446, 0.06973814219236374, -0.006875780411064625, -0.017638040706515312, -0.01913934387266636, 0.060145094990730286, -0.015560545958578587, -0.06079689785838127, 0.02266073226928711, 0.03991232067346573, -0.040935009717941284, 0.02101210132241249, 0.07742822915315628, 0.012047696858644485, 0.010564567521214485, -0.03516116738319397, -0.048833079636096954, -0.022732077166438103, -0.05218429118394852, -0.06952056288719177, 0.0032778801396489143, 0.002179323695600033, -0.006017463747411966, 0.041781146079301834, 0.027003230527043343, -0.02895619347691536, 0.028998728841543198, -0.010916324332356453, -0.015790965408086777, -0.017360199242830276, 0.06842169910669327, -0.021384846419095993, 0.01960197277367115 ]
[ 0.004114879295229912, 0.0233453456312418, 0.005478324834257364, -0.013611258938908577, 0.01573360525071621, 0.04885914921760559, -0.03163710609078407, 0.01430114172399044, -0.021267399191856384, -0.03296696022152901, -0.018002433702349663, 0.0006134880823083222, 0.007602764759212732, -0.047548387199640274, -0.005988473538309336, -0.004168657120317221, -0.03451338782906532, -0.011245899833738804, 0.04165132716298103, -0.007518512196838856, 0.0011948756873607635, -0.007839499972760677, -0.032426003366708755, 0.012930531054735184, -0.0104673495516181, -0.0036046700552105904, -0.024576731026172638, 0.031403787434101105, -0.011105462908744812, -0.1265636533498764, -0.045090414583683014, -0.0032455353066325188, 0.022348415106534958, 0.02149614505469799, -0.025695981457829475, -0.018982958048582077, -0.025727789849042892, -0.009818950667977333, 0.0004106744599994272, 0.015510610304772854, 0.01168365590274334, -0.02337643690407276, 0.012201733887195587, -0.01759762316942215, 0.025030869990587234, 0.008087795227766037, -0.00472194654867053, -0.026416942477226257, -0.038728971034288406, 0.040712542831897736, -0.047658734023571014, 0.0020850063301622868, 0.018236123025417328, 0.023606158792972565, 0.007546826731413603, -0.0016106555704027414, -0.06037107855081558, -0.010696067474782467, -0.005993214435875416, -0.0349256657063961, 0.011087601073086262, 0.016784250736236572, -0.042982615530490875, -0.006461407523602247, -0.024742593988776207, -0.0565960519015789, 0.0019108614651486278, 0.03125397861003876, -0.005393503699451685, -0.0019239317625761032, 0.04378204420208931, 0.022421322762966156, -0.007837953045964241, -0.021891960874199867, -0.05210394784808159, 0.036525677889585495, -0.007981367409229279, -0.05446607619524002, -0.009343464858829975, -0.012955860234797001, -0.034807026386260986, -0.014176337979733944, 0.01995961368083954, -0.0028011410031467676, -0.004889832343906164, -0.04986033961176872, 0.04067637026309967, -0.009466279298067093, -0.013684865087270737, -0.01047679502516985, -0.006570775061845779, 0.0059513188898563385, -0.0007211546180769801, 0.02142287977039814, -0.08143547177314758, 0.0605405755341053, -0.004568454809486866, -0.012730893678963184, 0.021839261054992676, 0.8440723419189453, -0.006817775312811136, 0.044656943529844284, -0.01210978627204895, 0.005487235728651285, 0.023277267813682556, -0.00006762817793060094, 0.018168464303016663, -0.007900341413915157, -0.02319307066500187, -0.01727888733148575, 0.02498423494398594, 0.022555489093065262, 0.017523935064673424, 0.015694547444581985, 0.016564108431339264, 0.025520481169223785, -0.0007722867885604501, 0.0229995995759964, 0.023215245455503464, 0.038933176547288895, 0.03898588940501213, 0.006932648364454508, -0.009898876771330833, 0.012099165469408035, 0.022494489327073097, -0.12251352518796921, 0.0432131253182888, -5.878902551141579e-33, 0.046034280210733414, -0.03916431590914726, 0.009164858609437943, -0.034710392355918884, -0.02734050527215004, -0.0017450725426897407, 0.014235430397093296, -0.023048482835292816, -0.038688212633132935, -0.053276922553777695, 0.009340284392237663, 0.007251297123730183, 0.024490507319569588, -0.03516256436705589, 0.03079840913414955, -0.012398241087794304, 0.018564239144325256, 0.02949417568743229, 0.028329191729426384, 0.003367186989635229, 0.033865492790937424, 0.005208834074437618, 0.022533705458045006, 0.004643275402486324, -0.017421649768948555, 0.01847705990076065, 0.0025962251238524914, -0.04112683981657028, -0.005931740161031485, -0.04323693737387657, 0.00590516347438097, -0.006378371734172106, 0.008838282898068428, 0.0007999226218089461, 0.023301880806684494, -0.027521735057234764, -0.006799803115427494, 0.014145502820611, -0.020849494263529778, -0.04020773246884346, -0.018131345510482788, -0.018879976123571396, -0.05077933892607689, -0.05290048196911812, -0.034490082412958145, -0.0004339363658800721, -0.03081950917840004, 0.015273298136889935, -0.017346523702144623, 0.04374697431921959, 0.00008177308336598799, 0.004112492315471172, 0.016166551038622856, -0.03135301545262337, -0.01540814433246851, 0.00915494654327631, -0.018289491534233093, -0.010401729494333267, -0.00031544952071271837, 0.005125697236508131, 0.04577377811074257, -0.004289594013243914, 0.007403509225696325, -0.000056457516620866954, -0.021647537127137184, -0.004308662377297878, 0.03422466665506363, -0.03492571413516998, 0.019868995994329453, -0.010488199070096016, -0.031142277643084526, 0.007647024467587471, 0.011623822152614594, -0.005869554355740547, 0.023645464330911636, -0.004728952422738075, 0.031224271282553673, -0.021650541573762894, 0.0029578418470919132, 0.009685616008937359, 0.03231469914317131, -0.013843083754181862, -0.013433028943836689, -0.029940998181700706, -0.012358082458376884, -0.002067158231511712, 0.011173962615430355, 0.02418256364762783, 0.00810008030384779, 0.0037384608294814825, 0.02077282965183258, 0.022249042987823486, -0.010476435534656048, -0.0012302541872486472, -0.020468687638640404, 6.357381281830052e-33, 0.010260684415698051, -0.04100051894783974, 0.019664155319333076, -0.006107787135988474, 0.056740351021289825, -0.0237300805747509, 0.020686857402324677, 0.038571227341890335, -0.024737713858485222, 0.06157483533024788, -0.016179028898477554, -0.033676158636808395, -0.009969308972358704, -0.017840567976236343, 0.05619033798575401, -0.005685809534043074, 0.020832164213061333, -0.013538185507059097, -0.020006166771054268, -0.0008563395240344107, 0.002450989792123437, 0.014010169543325901, 0.017023034393787384, 0.03286019712686539, 0.04579344764351845, 0.029106616973876953, 0.008392213843762875, 0.0026464187540113926, -0.031919706612825394, 0.010875945910811424, 0.00730915879830718, -0.061728280037641525, 0.0033599622547626495, -0.01275299396365881, -0.032019954174757004, 0.03970563784241676, -0.008286555297672749, -0.04244089499115944, 0.006868729367852211, 0.033989083021879196, -0.0009088259539566934, 0.004841869696974754, -0.028309762477874756, 0.004662043415009975, 0.025011250749230385, 0.01701294258236885, 0.0029037364292889833, 0.00023996626259759068, 0.029810190200805664, -0.01266627386212349, 0.023665469139814377, 0.023512989282608032, -0.009914511814713478, -0.015312722884118557, 0.006397660356014967, -0.008467543870210648, -0.03303082287311554, 0.017405247315764427, -0.05525380000472069, -0.0031049589160829782, -0.009967534802854061, -0.018292929977178574, -0.03813250735402107, 0.016872363165020943, -0.026676751673221588, 0.0025371196679770947, -0.012973833829164505, -0.04834272339940071, -0.004856824409216642, 0.017646078020334244, -0.032688792794942856, -0.004506078083068132, -0.013058790937066078, 0.03972118720412254, -0.004335541278123856, -0.022872546687722206, -0.025444306433200836, 0.028726501390337944, -0.014881975948810577, 0.02923307567834854, 0.02545442059636116, 0.017897019162774086, 0.026579994708299637, 0.03734350576996803, 0.025509780272841454, 0.008079114370048046, -0.0013986836420372128, 0.017273198813199997, 0.021525409072637558, -0.04088360071182251, 0.03982814401388168, -0.07519033551216125, 0.0018465833272784948, 0.0011384261306375265, -0.0000242223177338019, -1.2391464743188862e-8, -0.0228329598903656, -0.022711241617798805, -0.0186359453946352, 0.09160163253545761, 0.010812952183187008, 0.01656530424952507, 0.013689353130757809, -0.018677690997719765, 0.032932981848716736, 0.0031109151896089315, 0.07674919813871384, 0.0013173241168260574, -0.010230183601379395, 0.003697402775287628, 0.027766302227973938, -0.012714680284261703, -0.0038439396303147078, 0.01786215975880623, 0.017916705459356308, 0.014316330663859844, 0.023999443277716637, 0.040894705802202225, -0.01995829865336418, -0.003326928475871682, 0.017624881118535995, 0.02263922244310379, -0.01818578504025936, -0.05541287362575531, -0.0002803591196425259, -0.0002872685145121068, 0.06957203894853592, -0.061496105045080185, 0.020542699843645096, -0.02383696846663952, -0.00616060197353363, -0.028969645500183105, 0.020497547462582588, -0.00843785610049963, -0.006419985555112362, 0.00801375973969698, -0.012272926047444344, 0.04383449628949165, -0.03526832163333893, -0.028647232800722122, -0.006688586436212063, -0.0046503362245857716, -0.042722441256046295, -0.01203385554254055, 0.00043135753367096186, -0.036362603306770325, 0.01338166557252407, -0.007355431094765663, 0.04236927628517151, 0.03651301562786102, 0.024710383266210556, 0.01837698556482792, 0.036835286766290665, -0.02012634091079235, -0.03351655602455139, -0.010695821605622768, 0.03429041802883148, 0.006835677195340395, -0.023672496899962425, -0.007002349942922592 ]
elo-rating-system-ranking-champions-league-teams-using-clojure-part-2
https://markhneedham.com/blog/2013/09/30/elo-rating-system-ranking-champions-league-teams-using-clojure-part-2
false
2013-09-23 21:42:12
Clojure: Anonymous functions using short notation and the 'ArityException Wrong number of args (0) passed to: PersistentVector'
[ "clojure" ]
[ "Clojure" ]
In the time I've spent playing around with Clojure one thing I've always got confused by is the error message you get when trying to return a vector using the anonymous function shorthand. For example, if we want function which creates a vector with the values 1, 2, and the argument passed into the function we could write the following: [source,lisp] ---- > ((fn [x] [1 2 x]) 6) [1 2 6] ---- However, when I tried to convert it to the shorthand '#()' syntax I got the following exception: [source,lisp] ---- > (#([1 2 %]) 6) clojure.lang.ArityException: Wrong number of args (0) passed to: PersistentVector AFn.java:437 clojure.lang.AFn.throwArity AFn.java:35 clojure.lang.AFn.invoke NO_SOURCE_FILE:1 user/eval575[fn] NO_SOURCE_FILE:1 user/eval575 ---- On previous occasions I've just stopped there and gone back to the long hand notation but this time I wanted to figure out why it didn't work as I expected. I came across http://stackoverflow.com/questions/13204993/anonymous-function-shorthand[this StackOverflow post] which explained the way the shorthand gets expanded: [source,lisp] ---- #() becomes (fn [arg1 arg2] (...)) ---- which means that: [source,lisp] ---- #(([1 2 %]) 6) becomes ((fn [arg] ([1 2 arg])) 6) ---- We are evaluating the vector +++<cite>+++[1 2 arg]+++</cite>+++ as a function but aren't passing any arguments to it. One way it can be used as a function is if we want to return a value at a specific index e.g. [source,lisp] ---- > ([1 2 6] 2) 6 ---- We don't want to evaluate a vector as a function, rather we want to return the vector using the shorthand syntax. To do that we need to find a function which will return the argument passed to it and then pass the vector to that function. The +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/identity[identity]+++</cite>+++ function is one such function: [source,lisp] ---- > (#(identity [1 2 %]) 6) [1 2 6] ---- Or if we want to be more concise the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/-%3E[thread-first (\->)]+++</cite>+++ works too: [source,lisp] ---- > (#(-> [1 2 %]) 6) [1 2 6] ----
null
null
[ -0.019178958609700203, -0.00482096616178751, -0.03777052089571953, -0.01150122843682766, 0.020170828327536583, 0.015512213110923767, 0.03974808007478714, -0.007972435094416142, -0.00008122903091134503, -0.016110500320792198, -0.009953262284398079, -0.00631379708647728, -0.06894127279520035, 0.030990438535809517, -0.0019560980144888163, 0.03967033326625824, 0.06760053336620331, -0.030264271423220634, 0.010316935367882252, 0.019339699298143387, 0.014754374511539936, 0.044772058725357056, 0.007142249029129744, -0.0025734486989676952, 0.048990845680236816, -0.00846949778497219, 0.02090265229344368, 0.007827041670680046, -0.0615532286465168, -0.036352481693029404, 0.0319315642118454, 0.035524383187294006, -0.009959832765161991, -0.04543023928999901, 0.0010442894417792559, -0.009092007763683796, -0.0004978619981557131, -0.010470147244632244, 0.00597748439759016, 0.06940685957670212, -0.04916106164455414, 0.002863462083041668, -0.03317304328083992, 0.011244653724133968, -0.018258988857269287, 0.008052723482251167, -0.04450888931751251, 0.01806330680847168, -0.006475728936493397, 0.029972221702337265, -0.0745941698551178, -0.010404229164123535, -0.0015442066360265017, -0.016170725226402283, 0.03133910521864891, 0.020800871774554253, 0.006294487975537777, -0.10493925213813782, 0.04053427651524544, -0.031932469457387924, -0.0047104437835514545, 0.015140444040298462, 0.03939737007021904, 0.05119917914271355, 0.02261161059141159, 0.008788347244262695, 0.0034564801026135683, 0.06071949005126953, -0.07910013943910599, -0.041957367211580276, -0.0019906654488295317, 0.011689336970448494, -0.060633476823568344, -0.01617143675684929, 0.02189326472580433, -0.05480499193072319, 0.009641053155064583, 0.051921453326940536, 0.019328149035573006, 0.03804246336221695, -0.01693713665008545, 0.004615473560988903, 0.014254016801714897, 0.02592037059366703, 0.0296468622982502, -0.009798350743949413, -0.028224268928170204, -0.017258260399103165, 0.0018859561532735825, 0.018706077709794044, 0.03376345336437225, -0.07138802111148834, -0.03353922441601753, -0.012227716855704784, 0.0037557887844741344, 0.009945741854608059, 0.011632333509624004, 0.004955020267516375, 0.0061162966303527355, 0.0030044731684029102, -0.03818322718143463, -0.03467967361211777, 0.014165801927447319, -0.0006388873443938792, -0.09439805150032043, -0.011666567996144295, 0.0004354570701252669, -0.02746507152915001, 0.016300011426210403, -0.004019465763121843, -0.05221479386091232, 0.04314834624528885, -0.018926093354821205, -0.0004764889017678797, -0.054364096373319626, 0.04196840897202492, 0.02852443791925907, -0.026616472750902176, -0.015341274440288544, 0.023120377212762833, 0.028875738382339478, 0.032586365938186646, -0.006049223709851503, 0.08007828146219254, 0.013089649379253387, 0.03972993418574333, -0.009877177886664867, 0.0622185617685318, 0.019346563145518303, -0.02255432866513729, -0.024003146216273308, 0.06083337962627411, 0.009526294656097889, 0.00008706696826266125, -0.020924990996718407, -0.03699953109025955, -0.04161360487341881, -0.0017307064263150096, 0.04611969739198685, 0.02587779611349106, 0.003587179584428668, -0.0007269562338478863, 0.009570623748004436, -0.0056290943175554276, 0.06005473434925079, 0.03422466665506363, 0.004744479898363352, -0.029170555993914604, -0.017489535734057426, 0.015474164858460426, 0.036402057856321335, 0.03089699149131775, 0.07424477487802505, 0.002369724679738283, 0.033974967896938324, 0.07257386296987534, 0.033579129725694656, 0.07301826775074005, 0.0007212855853140354, 0.032786477357149124, 0.04404748976230621, 0.04191885516047478, -0.01152904611080885, 0.08319896459579468, 0.019674910232424736, -0.007221688982099295, 0.014319542795419693, 0.05329759418964386, -0.009273371659219265, -0.04758874699473381, -0.043945230543613434, -0.04306643456220627, 0.06809020787477493, -0.025525663048028946, -0.0051987930200994015, 0.004902016371488571, 0.07762835919857025, 0.006562266033142805, 0.08337195217609406, -0.003917646128684282, -0.07031241804361343, 0.05691614747047424, 0.02000739797949791, 0.0354217030107975, -0.001630470622330904, -0.030324431136250496, 0.064231276512146, 0.02919119782745838, 0.01090047787874937, 0.03682028129696846, -0.04818638414144516, -0.07350277900695801, -0.051122236996889114, -0.016702735796570778, 0.0598590224981308, -0.0379672646522522, -0.021767187863588333, 0.0774327740073204, 0.002104122657328844, 0.022571543231606483, 0.011071361601352692, 0.009827041067183018, 0.017549240961670876, -0.030258821323513985, -0.027276508510112762, 0.0372086800634861, 0.051824647933244705, -0.02565006911754608, -0.057710450142621994, 0.055698998272418976, 0.009847004897892475, 0.03696051985025406, 0.02573959343135357, -0.015810169279575348, 0.04573093727231026, 0.05559740215539932, 0.013038678094744682, -0.04220624268054962, 0.04692663624882698, -0.029715100303292274, 0.010614782571792603, 0.025281408801674843, 0.022002287209033966, 0.008889525197446346, 0.0010947941336780787, 0.1419195830821991, 0.07757017761468887, -0.007765627931803465, -0.06795135140419006, 0.019125763326883316, 0.005788670852780342, -0.028830982744693756, -0.007262783125042915, -0.002228090539574623, -0.01063684094697237, 0.006599562708288431, 0.024481575936079025, 0.0034243029076606035, 0.01994450017809868, -0.030988596379756927, -0.011955409310758114, 0.106312595307827, -0.02521812729537487, 0.04194570705294609, -0.028115933761000633, -0.011836476624011993, -0.0030290503054857254, -0.05621810629963875, -0.06647101789712906, 0.01842711865901947, 0.005967795383185148, -0.01840047724545002, 0.06944508850574493, -0.055160149931907654, -0.017760073766112328, -0.0026641450822353363, -0.0525551363825798, -0.00414926977828145, 0.06926348805427551, 0.05589256435632706, -0.014288087375462055, 0.02974364534020424, -0.02234022133052349, 0.005619019269943237, -0.023370297625660896, -0.0619470477104187, -0.034559573978185654, 0.013459540903568268, -0.003224733052775264, 0.03216879814863205, 0.0047873337753117085, 0.0006024420144967735, 0.009068455547094345, -0.036061521619558334, -0.011614391580224037, 0.002776132896542549, -0.003322630189359188, 0.0010315054096281528, -0.04418791085481644, -0.04280911758542061, -0.011603889986872673, 0.050235968083143234, -0.015137250535190105, -0.038079239428043365, 0.01661442220211029, -0.03884695842862129, 0.05848211795091629, -0.06244376301765442, -0.027261441573500633, 0.00670680170878768, 0.01563895307481289, 0.027072958648204803, -0.03301412612199783, 0.0254148468375206, 0.049919407814741135, 0.00275424774736166, 0.02030155062675476, 0.013023587875068188, -0.00014031710452400148, 0.02362188510596752, -0.004793795291334391, 0.009428948163986206, 0.006758327595889568, 0.008624231442809105, -0.022190578281879425, -0.038999058306217194, -0.01707926206290722, -0.009488987736403942, -0.24680787324905396, 0.014225190505385399, -0.029247889295220375, -0.016542702913284302, 0.005342549178749323, -0.038818567991256714, -0.02316189929842949, -0.03576217591762543, -0.026953421533107758, 0.007629500236362219, -0.008787454105913639, 0.0028422882314771414, -0.041599079966545105, 0.04100097715854645, -0.009484907612204552, -0.027345800772309303, -0.0008602901361882687, -0.054886769503355026, 0.02849504165351391, 0.02328755334019661, -0.006971998140215874, -0.04172692447900772, -0.01203251350671053, 0.03297872096300125, 0.04307367652654648, 0.02706894651055336, -0.04827161133289337, 0.03928039222955704, -0.020726853981614113, -0.010553854517638683, -0.00029233499662950635, 0.010850256308913231, 0.012138670310378075, -0.023705115541815758, -0.01090973149985075, -0.011319009587168694, 0.005373071413487196, -0.027362562716007233, 0.02790079638361931, 0.040274377912282944, -0.03679364174604416, -0.0691724345088005, -0.00653584860265255, 0.005877750925719738, 0.0597287081182003, -0.020085571333765984, -0.047222964465618134, 0.002749411156401038, -0.033980388194322586, 0.08199968189001083, -0.03326277434825897, -0.0438903346657753, -0.009144565090537071, 0.043186236172914505, -0.005761840846389532, -0.03181329369544983, -0.055911917239427567, -0.031640294939279556, -0.01848040521144867, -0.014140821993350983, -0.010269642807543278, -0.029166467487812042, -0.011687950231134892, -0.05448126792907715, -0.05523218959569931, -0.05691448599100113, -0.06927762925624847, -0.020679809153079987, 0.05463719367980957, 0.007756623439490795, -0.013253356330096722, 0.002296322723850608, -0.035180170089006424, -0.09692828357219696, -0.020468978211283684, -0.02840317226946354, -0.04154977202415466, -0.01497885026037693, 0.019026560708880424, 0.04235221445560455, -0.060566410422325134, -0.07228019088506699, 0.006712242960929871, 0.044731058180332184, 0.0273299477994442, 0.011799252592027187, -0.0011319268960505724, -0.00968921184539795, -0.0050012595020234585, -0.02318202517926693, 0.06469561904668808, -0.016961263492703438, -0.03903088718652725, -0.02590637095272541, -0.012963185086846352, 0.02905348315834999, 0.007814007811248302, -0.03741020709276199, 0.04868292063474655, 0.04677969217300415, 0.0564265139400959, -0.054092887789011, -0.006171917077153921, -0.037358950823545456, -0.030011937022209167, 0.0000018144432942790445, -0.06104313209652901, 0.035789862275123596, 0.0037845568731427193, -0.032203275710344315, -0.04572737589478493, -0.05321081355214119, 0.025682318955659866, -0.07055183500051498, -0.07166845351457596, -0.019778462126851082, -0.0007505302783101797, 0.03401460871100426, 0.044381704181432724, -0.04002585634589195, -0.073038250207901, 0.0014149249764159322, 0.014365345239639282, -0.06233646720647812, -0.0314008854329586, -0.03189681097865105, -0.0015779085224494338, -0.016354290768504143, 0.007140264846384525, 0.031311724334955215, -0.003933646250516176, 0.047620613127946854, 0.03474601358175278, 0.002174768364056945, -0.00473603093996644, -0.021978143602609634, 0.0037034638226032257, -0.0025379518046975136, -0.043329305946826935, -0.025833139196038246, 0.007688112556934357, -0.04350719228386879, -0.018841562792658806, 0.012660580687224865, 0.009115586057305336, -0.015144123695790768, 0.013058609329164028, 0.01136044505983591, -0.04108661785721779, 0.014378787018358707, 0.02361186593770981, -0.028038784861564636, 0.05507408827543259, -0.020010247826576233, -0.01234362367540598, -0.012675292789936066, 0.0328216478228569, -0.028942083939909935, -0.053454287350177765, -0.03610524162650108, 0.03998124226927757, -0.021066566929221153, 0.0023619343992322683, -0.0025489977560937405, -0.03937971219420433, 0.01638196036219597, -0.0064651551656425, 0.04760158061981201, -0.00017054827185347676, -0.007362079806625843, -0.023510552942752838, -0.005959792993962765, -0.007832817733287811, 0.007764800451695919, -0.0229712575674057, 0.019622014835476875, -0.006527584977447987, 0.00505994725972414, 0.008130408823490143, -0.01723598875105381, -0.021439392119646072, -0.01915593259036541, 0.04117390140891075, 0.03637238219380379, 0.03563262149691582, -0.01738199032843113, -0.016994129866361618, 0.003038556780666113, -0.024116000160574913, -0.00327067612670362, -0.0401015467941761, -0.019508592784404755, -0.0065775662660598755, 0.005203329026699066, -0.022355513647198677, -0.06482428312301636, -0.0000610371571383439, 0.06495220959186554, -0.007044410333037376, 0.01844189502298832, -0.00923595018684864, -0.01022410299628973, -0.0379488505423069, 0.006352032534778118, 0.04708258435130119, -0.03854401037096977, 0.002255130559206009, 0.011266257613897324, 0.03073982335627079, 0.030658505856990814, -0.003102006856352091, -0.05714283511042595, 0.0033004065044224262, 0.006270738784223795, -0.020196976140141487, 0.010485331527888775, -0.030793476849794388, -0.004499261267483234, 0.02331233210861683, -0.002700825920328498, -0.018949799239635468, -0.015689166262745857, -0.017161652445793152, -0.027033422142267227, -0.0005022765253670514, -0.0026127018500119448, -0.012947515584528446, -0.0061747366562485695, 0.048554521054029465, -0.003682775655761361, 0.03796877712011337, -0.05845320224761963, 0.06083260104060173, 0.02647293545305729, 0.0013627775479108095, -0.003723927540704608, -0.06233329325914383, 0.016450701281428337, -0.04872247949242592, 0.037661127746105194, -0.002268657786771655, 0.015843963250517845, -0.037753377109766006, 0.02943241223692894, -0.01828880049288273, -0.022572824731469154, -0.022734548896551132, -0.046240031719207764, -0.0034051784314215183, 0.05557301267981529, -0.0043279919773340225, 0.07985184341669083, 0.00850596372038126, -0.0004555240157060325, 0.07177654653787613, -0.02584872953593731, -0.06312838941812515, 0.0100737689062953, -0.033900465816259384, 0.02217879146337509, 0.0034697907976806164, 0.03075432777404785, -0.054943762719631195, 0.06245695799589157, 0.038099147379398346, 0.0034079153556376696, 0.04366495460271835, -0.012136634439229965, 0.055802278220653534, -0.02266751043498516, -0.04301406815648079, -0.11758626252412796, -0.0038616417441517115, 0.061794184148311615, -0.01454425510019064, -0.027511486783623695, -0.03184279054403305, -0.007896378636360168, 0.020140543580055237, -0.05240022763609886, -0.015466826967895031, 0.03493409603834152, 0.005620668642222881, 0.011640563607215881, 0.05636328458786011, -0.03673577681183815, 0.02446681633591652, 0.0614885613322258, -0.03995547443628311, 0.004415750503540039, -0.025913484394550323, 0.024193955585360527, 0.001720229396596551, 0.04127347096800804, -0.018087154254317284, -0.0016967119881883264, 0.07509966939687729, 0.04405830428004265, -0.0023698206059634686, 0.07125244289636612, -0.008997910656034946, 0.021317902952432632, 0.05421910062432289, -0.02829800359904766, 0.007473170291632414, 0.01576528325676918, -0.004454429727047682, -0.0626298189163208, 0.016684580594301224, 0.04648725315928459, -0.044996846467256546, -0.06609335541725159, 0.05660076066851616, 0.026028992608189583, -0.03216855227947235, -0.008610276505351067, 0.015358497388660908, -0.06981734186410904, 0.005648758728057146, -0.030131880193948746, -0.02938500978052616, -0.03045773319900036, 0.05381087586283684, -0.033907532691955566, -0.012257219292223454, 0.05535421520471573, 0.031873784959316254, -0.011041825637221336, -0.016502629965543747, 0.07514656335115433, 0.07405843585729599, 0.05136168375611305, -0.004548127297312021, 0.023267243057489395, -0.02326476015150547, -0.035116590559482574, 0.0034271646291017532, -0.004324677865952253, 0.00004408467430039309, -0.0016344827599823475, 0.018855446949601173, 0.09667375683784485, -0.02735290117561817, 0.051768992096185684, -0.032137151807546616, -0.008310657925903797, 0.00012524897465482354, -0.005973982624709606, 0.046853769570589066, 0.0625845268368721, 0.022319907322525978, 0.026802636682987213, 0.005902914330363274, -0.03773685172200203, -0.0012190339621156454, -0.018238350749015808, -0.02050970122218132, 0.0016232909401878715, 0.014039723202586174, 0.01191853266209364, 0.0539277009665966, 0.05007044970989227, 0.06992469727993011, -0.03495510295033455, -0.0423949770629406, -0.005898596253246069, 0.0545157752931118, 0.0004521952068898827, -0.014669308438897133, 0.01558929868042469, -0.015197737142443657, -0.011638689786195755, 0.009514985606074333, -0.030408842489123344, -0.031580276787281036, -0.049191318452358246, 0.029736177995800972, -0.041559409350156784, -0.015485069714486599, 0.023922149091959, -0.017417963594198227, -0.03142433613538742, -0.03861497715115547, -0.009903546422719955, -0.06246250495314598, -0.053940579295158386, -0.029352061450481415, -0.001138106221333146, -0.031162789091467857, -0.0546334870159626, -0.0140220383182168, 0.01283937692642212, 0.020755358040332794, 0.027391372248530388, -0.03928697854280472, -0.007997751235961914, 0.018476136028766632, 0.010081334039568901, 0.0005824467516504228, 0.013561934232711792, -0.002597468439489603, -0.001885371864773333, 0.007282314822077751, -0.013587230816483498, 0.0017874445766210556, 0.05650145933032036, 0.014160623773932457, 0.006515088491141796, -0.06264054775238037, 0.022191941738128662, 0.04812023788690567, 0.03160468116402626, -0.0723859891295433, 0.01225478295236826, 0.021715369075536728, -0.023082252591848373, 0.06916886568069458, -0.0000680204393574968, 0.00115005555562675, -0.06453607976436615, -0.006149266846477985, 0.02622809447348118, 0.005202605854719877, 0.03535541519522667, -0.0064473082311451435, 0.05710064619779587, 0.04047693312168121, -0.01741946116089821, -0.015803905203938484, -0.023597335442900658, -0.020879410207271576, 0.006370754912495613, -0.04080687463283539, -0.04449954256415367, -0.05538943037390709, -0.05978376045823097, 0.0009487410425208509, -0.012164704501628876, -0.04867500439286232, -0.009222354739904404, 0.011521726846694946, 0.05534891039133072, -0.034895677119493484, 0.05399155244231224, -0.01792941428720951, 0.05419163033366203, -0.004319552797824144, 0.004208369180560112, 0.0029460133519023657, 0.00954429991543293, 0.04130939394235611, -0.005366857163608074, 0.041124679148197174, -0.03381338715553284, 0.005744225811213255, -0.021953780204057693, -0.002795335603877902, 0.013138615526258945, -0.023939479142427444, 0.03829415515065193 ]
[ -0.11655598878860474, -0.03606604412198067, -0.062465865164995193, -0.004564228933304548, -0.0063855829648673534, -0.07002901285886765, 0.005141049157828093, 0.02773679606616497, 0.005559190176427364, -0.023578783497214317, 0.028825445100665092, -0.06621634215116501, 0.017528872936964035, -0.008087980560958385, 0.07417125999927521, -0.017597660422325134, -0.01914338581264019, -0.020913386717438698, -0.030422702431678772, -0.018375074490904808, 0.019628459587693214, -0.052717216312885284, -0.00007914018351584673, -0.06749992072582245, 0.03175528347492218, 0.0529671311378479, 0.044089656323194504, -0.08007164299488068, -0.015999700874090195, -0.2125282734632492, -0.011223694309592247, 0.004153379704803228, 0.01463012769818306, -0.023977313190698624, -0.028914054855704308, 0.0632384717464447, -0.017960239201784134, 0.01631658524274826, -0.02104301005601883, 0.02824324183166027, 0.03493097797036171, 0.03985469415783882, 0.007167275995016098, -0.021011093631386757, 0.03585842251777649, -0.012708752416074276, -0.02532544545829296, -0.017277656123042107, -0.04542212188243866, 0.010453437454998493, -0.07865017652511597, 0.04361122474074364, 0.04664619266986847, 0.015475804917514324, 0.03054572455585003, 0.08277366310358047, 0.006690928712487221, 0.07174675911664963, 0.00454140966758132, 0.024404004216194153, 0.015299606136977673, -0.017453113570809364, -0.12485909461975098, 0.08922720700502396, -0.002794963074848056, 0.015453453175723553, 0.014929311349987984, -0.019062543287873268, -0.03128109872341156, 0.06851062923669815, 0.012529117055237293, -0.023881016299128532, -0.013545350171625614, 0.06770732253789902, 0.012835642322897911, -0.03765697777271271, -0.019106894731521606, 0.015416334383189678, 0.06707929819822311, -0.0448293574154377, -0.039130110293626785, -0.013204516842961311, -0.013249862939119339, 0.013050579465925694, 0.02392275258898735, 0.016718067228794098, 0.009563145227730274, 0.020541507750749588, 0.08354004472494125, -0.03120572865009308, 0.00008686136425239965, 0.009803198277950287, 0.04818526282906532, 0.04170071706175804, -0.07514441758394241, 0.022755049169063568, 0.035896431654691696, -0.014254805631935596, -0.06702359765768051, 0.38639798760414124, -0.025311971083283424, 0.005538327153772116, 0.03751830756664276, 0.03963824361562729, 0.012772356159985065, 0.0019486816599965096, -0.03834373503923416, -0.06352540105581284, -0.012828796170651913, -0.03813232108950615, -0.02196890488266945, -0.025739943608641624, 0.0516335591673851, -0.04377201572060585, -0.007088237442076206, 0.010163627564907074, 0.060652658343315125, 0.013105381280183792, -0.002211741404607892, -0.009036250412464142, 0.01843325048685074, -0.023082630708813667, 0.01056777872145176, 0.03261694312095642, -0.0007969725411385298, 0.003865133970975876, 0.0033144718036055565, 0.06867821514606476, 0.045679010450839996, 0.04673066362738609, 0.03177434951066971, -0.033712320029735565, -0.09570232033729553, -0.002192823449149728, 0.020337069407105446, 0.0005926709272898734, 0.015599533915519714, -0.034744322299957275, 0.016363510861992836, -0.01000844407826662, -0.015073416754603386, -0.026022454723715782, 0.007060230243951082, 0.004754611290991306, -0.02886180393397808, 0.10728263854980469, -0.010363467037677765, -0.027579639106988907, 0.001222016871906817, -0.028395308181643486, -0.010868106037378311, 0.023702535778284073, -0.023144716396927834, -0.03542610630393028, 0.010305008850991726, 0.015239904634654522, 0.060379333794116974, -0.009022914804518223, -0.06925978511571884, 0.023046601563692093, -0.0353160984814167, 0.01743587665259838, -0.059185970574617386, 0.05975814536213875, -0.02343915030360222, -0.043378300964832306, -0.006198619958013296, 0.0010673141805455089, -0.02556583844125271, -0.0652531236410141, -0.011802134104073048, -0.00504089891910553, -0.018261734396219254, -0.002412765519693494, 0.04746130481362343, -0.006641332060098648, -0.027190886437892914, -0.056272927671670914, 0.03565845265984535, 0.06077829375863075, -0.025058725848793983, 0.009451503865420818, 0.00036747512058354914, 0.05026878044009209, -0.019328536465764046, -0.0468212254345417, -0.059086255729198456, -0.005763643886893988, -0.020050736144185066, 0.011074533686041832, -0.020630808547139168, 0.0006660797516815364, -0.0302176121622324, 0.027555130422115326, -0.05428225174546242, -0.012963070534169674, 0.033200886100530624, -0.007990156300365925, 0.021704906597733498, -0.026660289615392685, 0.05170285329222679, 0.0711803138256073, -0.008458515629172325, 0.028607040643692017, -0.08808103203773499, -0.001238409080542624, 0.032879941165447235, -0.06527674943208694, 0.03788858279585838, 0.03387608379125595, -0.0389014333486557, 0.025414837524294853, -0.019114121794700623, 0.004009011667221785, -0.017079364508390427, 0.020981639623641968, -0.018640905618667603, -0.0020160749554634094, 0.04370647668838501, -0.045057494193315506, -0.07986432313919067, -0.09666214138269424, -0.04646959528326988, -0.356463223695755, -0.02727912738919258, -0.01365341991186142, -0.05372956022620201, 0.03754864260554314, -0.08219068497419357, -0.03588823601603508, -0.006375627592206001, -0.03218741714954376, -0.0026706603821367025, 0.07728496193885803, -0.024637548252940178, -0.06144476309418678, -0.0645308718085289, 0.007589696906507015, 0.0483357273042202, -0.0273488350212574, -0.03982016071677208, -0.014941144734621048, 0.014209069311618805, -0.019530316814780235, -0.04082382842898369, 0.01493028737604618, -0.0556211918592453, -0.02247617207467556, -0.021968666464090347, 0.08601472526788712, 0.045704733580350876, 0.06823581457138062, -0.08266562968492508, 0.02608002908527851, -0.006712122354656458, 0.00745181180536747, -0.06310505419969559, -0.005850474815815687, -0.04255342856049538, -0.007201522123068571, -0.007816514931619167, -0.007232780568301678, 0.005391726270318031, -0.02040134184062481, 0.029886692762374878, -0.06179855391383171, -0.031054534018039703, -0.011393683962523937, 0.019235434010624886, -0.02883937582373619, -0.033151522278785706, 0.005118642468005419, 0.08025550842285156, 0.028295675292611122, 0.03168734535574913, 0.009971625171601772, -0.005825809668749571, 0.05084014683961868, 0.0052784462459385395, -0.039588846266269684, -0.043541986495256424, 0.008950642310082912, -0.0016523682279512286, 0.0552317351102829, 0.042516887187957764, 0.04954886808991432, -0.06747155636548996, 0.03091687709093094, -0.002431289292871952, 0.027023836970329285, -0.016556624323129654, 0.03125254437327385, -0.023313898593187332, -0.026195555925369263, 0.10492151975631714, 0.013273371383547783, 0.05238921567797661, 0.03935091942548752, 0.027884967625141144, -0.008203098550438881, -0.012479610741138458, 0.0028252368792891502, -0.003949841018766165, 0.00011531650670804083, 0.05772777646780014, 0.06508690118789673, -0.023986974731087685, -0.028687601909041405, 0.012928071431815624, -0.018994459882378578, 0.04462896287441254, 0.015551060438156128, -0.0002596593403723091, -0.021245747804641724, 0.019952137023210526, -0.00621779914945364, -0.014268175698816776, 0.07023468613624573, 0.011429032310843468, -0.2601396143436432, 0.027736524119973183, 0.05264035612344742, 0.06630175560712814, 0.000027050629796576686, 0.038296833634376526, 0.05749034136533737, -0.08690916001796722, -0.0661085918545723, 0.008854768238961697, 0.02065788395702839, 0.05852324888110161, 0.05866151303052902, 0.0036987923085689545, 0.07295142114162445, -0.048100873827934265, 0.025927912443876266, 0.030389629304409027, 0.02740304544568062, -0.01401328295469284, 0.05010498687624931, 0.018777096644043922, 0.18319137394428253, -0.0270762387663126, -0.021154513582587242, 0.019054502248764038, 0.01305772177875042, -0.010603711009025574, 0.07029987126588821, -0.005339121446013451, 0.028216177597641945, 0.019648127257823944, 0.06816758215427399, 0.021045323461294174, 0.027403874322772026, -0.04872959107160568, -0.00013658484385814518, -0.005301745142787695, 0.02555684931576252, -0.04622100666165352, -0.015456963330507278, 0.022921930998563766, -0.007746072951704264, 0.0746970996260643, 0.05923531576991081, 0.008571903221309185, 0.014730378985404968, -0.028589768335223198, -0.02386104129254818, 0.020469417795538902, -0.01011169794946909, 0.0009643175289966166, 0.005781638901680708, 0.008015848696231842, 0.00496920570731163, 0.010756807401776314, -0.0021661692298948765, -0.02545147016644478, -0.014277872629463673, 0.0004812560509890318, 0.041488904505968094, -0.03072020784020424, 0.12881942093372345, 0.015378820709884167, 0.03067961148917675 ]
[ 0.015555533580482006, 0.0017926805885508657, 0.000017916081560542807, 0.013340919278562069, 0.018020976334810257, -0.011367318220436573, 0.009212031960487366, -0.006274003069847822, 0.009931249544024467, -0.02392556332051754, -0.006339448504149914, 0.004594974219799042, 0.005658374633640051, -0.04955291375517845, -0.0005936343804933131, -0.018727099522948265, -0.048486676067113876, 0.009989777579903603, 0.022974837571382523, 0.03754837065935135, -0.010286020115017891, 0.045658551156520844, 0.03060569241642952, -0.023007124662399292, 0.020143184810876846, -0.006212173029780388, 0.0004873391008004546, -0.01617065630853176, 0.039467744529247284, -0.14162380993366241, -0.00007007139356574044, 0.017345769330859184, 0.0042620995081961155, 0.015183990821242332, -0.04773861542344093, 0.04591306671500206, -0.02026871033012867, 0.03664917126297951, -0.025019867345690727, 0.014117810875177383, -0.0027296296320855618, -0.01102253794670105, -0.011953117325901985, 0.01592971384525299, 0.01849401369690895, 0.02443966083228588, -0.0022600905504077673, -0.031086860224604607, 0.005848458968102932, 0.006110504735261202, -0.021946536377072334, 0.011896852403879166, -0.0001924210082506761, -0.004708277527242899, 0.03520308807492256, -0.04229393228888512, -0.06535276025533676, -0.016386140137910843, 0.013719725422561169, -0.024143483489751816, -0.008227821439504623, 0.007094561122357845, -0.04684356972575188, -0.021767117083072662, 0.009203890338540077, -0.04694937542080879, 0.033376049250364304, 0.017431866377592087, 0.006752333603799343, 0.007538407575339079, -0.010398614220321178, 0.049917999655008316, -0.03725828975439072, -0.030490398406982422, -0.01973487250506878, 0.03957353159785271, 0.026431022211909294, -0.04406869783997536, 0.0005339175695553422, -0.019085094332695007, 0.014308913610875607, 0.00019420623721089214, 0.01658935844898224, 0.02096428908407688, 0.01503947377204895, -0.041807010769844055, 0.001913702581077814, -0.0067535522393882275, 0.04415623098611832, 0.007442021276801825, -0.0018805639119818807, 0.04392896592617035, 0.0024175685830414295, -0.008018335327506065, -0.06120393052697182, 0.02365749329328537, 0.003735385602340102, 0.014835434965789318, -0.027996726334095, 0.8436229228973389, 0.0024929700884968042, 0.056724753230810165, 0.028085574507713318, 0.007551644928753376, 0.005069569684565067, 0.0088274497538805, 0.012891332618892193, -0.025619378313422203, 0.01216400321573019, -0.0020834016613662243, 0.020016152411699295, 0.0010662940330803394, 0.044085897505283356, -0.006428557448089123, 0.04686950519680977, 0.013113769702613354, 0.02396354451775551, -0.017259620130062103, 0.028682231903076172, 0.030402759090065956, 0.0034773563966155052, 0.01477559469640255, 0.018979109823703766, 0.041708506643772125, -0.010449708439409733, -0.1314079761505127, -0.02545030228793621, -6.218428298671258e-33, 0.010887198150157928, 0.012518463656306267, 0.024532869458198547, -0.030241817235946655, -0.0319862924516201, -0.016920804977416992, 0.043867237865924835, -0.019630081951618195, -0.056172944605350494, -0.03305431082844734, -0.002971945097669959, 0.00043726907460950315, -0.0017769417027011514, 0.005847358610481024, 0.03537232056260109, 0.005061661824584007, 0.04301375150680542, 0.054327867925167084, -0.00424859207123518, -0.017567282542586327, -0.000034598058846313506, 0.003257080214098096, -0.001799828838557005, -0.01817808672785759, 0.030003922060132027, 0.011121283285319805, 0.06712295114994049, -0.029457734897732735, -0.023134421557188034, -0.0595347099006176, -0.045422233641147614, 0.03425703942775726, 0.014821156859397888, -0.01834585890173912, 0.04591206833720207, -0.056192632764577866, -0.004293356090784073, 0.020101048052310944, -0.03845340386033058, -0.04384712129831314, -0.016548004001379013, -0.009690584614872932, -0.04161340743303299, -0.006403030827641487, -0.008693724870681763, -0.03722914680838585, 0.013050497509539127, 0.044903237372636795, -0.0000499900670547504, 0.052352726459503174, 0.011029149405658245, 0.012585378251969814, -0.020949343219399452, -0.00011393323802622035, -0.007301232777535915, 0.009060082025825977, -0.03771841898560524, -0.014662194065749645, -0.026693059131503105, 0.034268274903297424, 0.01431133970618248, 0.027160953730344772, -0.004485201556235552, 0.0407993383705616, -0.030199509114027023, -0.033108681440353394, -0.041966382414102554, 0.0012973739067092538, 0.01465277187526226, 0.048743702471256256, -0.03299099579453468, -0.007135235238820314, -0.029805991798639297, -0.010901758447289467, 0.01982968859374523, 0.002903411630541086, -0.023748701438307762, -0.053804054856300354, -0.008256393484771252, 0.0331188403069973, 0.02275126427412033, -0.016033362597227097, 0.0043600439094007015, -0.0006507330108433962, -0.004376908764243126, -0.007563326042145491, -0.004888908006250858, -0.03471355512738228, -0.009371825493872166, -0.03159255161881447, 0.05107027292251587, -0.013808729127049446, -0.026220183819532394, -0.028238967061042786, -0.044410914182662964, 6.250243787960232e-33, -0.025742460042238235, -0.008000043220818043, -0.032910771667957306, 0.012827283702790737, -0.02120397239923477, -0.01614389382302761, 0.03770385682582855, 0.003201751271262765, -0.030367443338036537, 0.023221299052238464, -0.044130511581897736, -0.023068957030773163, 0.005315450020134449, 0.00014698713493999094, 0.05263606458902359, -0.013158160261809826, 0.00907397735863924, 0.0015053196111693978, 0.015251661650836468, -0.0019149892032146454, 0.013864347711205482, 0.027250351384282112, 0.02003001980483532, 0.005133345723152161, 0.013675980269908905, 0.03577953204512596, -0.005183692090213299, 0.003383907023817301, -0.017747022211551666, 0.008720239624381065, -0.0012933899415656924, -0.013912235386669636, 0.0184311680495739, -0.017925970256328583, -0.006898106075823307, 0.016461161896586418, -0.005274086259305477, -0.04119734466075897, 0.028723888099193573, -0.008873521350324154, 0.0130575280636549, -0.0022538783960044384, 0.021344222128391266, 0.001627154997549951, 0.007633804809302092, -0.02643754705786705, 0.023850154131650925, 0.007691030390560627, 0.05054042115807533, -0.026389384642243385, -0.004601093474775553, 0.009909561835229397, -0.005158029496669769, 0.008054950274527073, 0.003222263418138027, -0.03457653149962425, -0.02194783091545105, 0.01912572979927063, -0.030027836561203003, 0.023131709545850754, -0.012196733616292477, -0.04281074181199074, 0.0047140601091086864, -0.0023440488148480654, -0.013376135379076004, -0.012019053101539612, 0.011933013796806335, -0.021764855831861496, -0.029441576451063156, -0.013058344833552837, -0.015939941629767418, 0.0007319044671021402, 0.01262570545077324, 0.0399189367890358, 0.009462794288992882, 0.011587326414883137, 0.020291637629270554, -0.0016835342394188046, 0.013773073442280293, -0.0003805720480158925, 0.038195088505744934, -0.01850060373544693, -0.012335699051618576, 0.03535264730453491, 0.0010524961398914456, -0.02201949991285801, 0.020348088815808296, 0.005185976624488831, 0.004117430653423071, -0.00927817728370428, 0.012860744260251522, -0.01144547201693058, 0.019871827214956284, 0.02617628686130047, -0.032427333295345306, -1.2624471246169833e-8, 0.01577180251479149, 0.0012287118006497622, 0.004513266030699015, 0.02231568843126297, 0.019905881956219673, 0.033694617450237274, -0.02175433188676834, -0.02315586246550083, -0.05053524672985077, 0.008449407294392586, -0.011647499166429043, -0.01351805217564106, -0.0014434754848480225, 0.014647893607616425, 0.03944489359855652, -0.043498147279024124, 0.03116966225206852, 0.005553552880883217, 0.010568850673735142, -0.036283932626247406, -0.00238114595413208, 0.044716715812683105, -0.040435727685689926, 0.003135134233161807, -0.03375617042183876, -0.04219628497958183, 0.03268688544631004, -0.07052310556173325, 0.0443735271692276, -0.03690573200583458, -0.010335062630474567, -0.012601750902831554, -0.03526800870895386, 0.0032946602441370487, -0.03218696638941765, 0.0046992613933980465, 0.0076531218364834785, 0.02761794812977314, 0.0033683294896036386, 0.015015698969364166, -0.059720125049352646, 0.016863996163010597, 0.01903960108757019, -0.05308010056614876, -0.0498042106628418, 0.0057727620005607605, 0.0036765127442777157, -0.030723970383405685, 0.011823033913969994, -0.0016466014785692096, 0.05825028195977211, -0.006059171166270971, 0.03770916536450386, 0.039964597672224045, 0.023341407999396324, 0.01126600056886673, -0.009249317459762096, -0.045317865908145905, -0.014770195819437504, -0.0016227503074333072, 0.002051994437351823, 0.006555614992976189, -0.03669975697994232, -0.009436774998903275 ]
clojure-anonymous-functions-using-short-notation-and-the-arityexception-wrong-number-of-args-0-passed-to-persistentvector
https://markhneedham.com/blog/2013/09/23/clojure-anonymous-functions-using-short-notation-and-the-arityexception-wrong-number-of-args-0-passed-to-persistentvector
false
2013-09-23 22:16:29
cURL: POST/Upload multi part form
[ "unix", "curl" ]
[ "Shell Scripting" ]
I've been doing some work which involved uploading a couple of files from a HTML form and I wanted to check that the server side code was working by executing a cURL command rather than using the browser. The form looks like this: [source,html] ---- <form action="http://foobar.com" method="POST" enctype="multipart/form-data"> <p> <label for="nodes">File 1:</label> <input type="file" name="file1" id="file1"> </p> <p> <label for="relationships">File 2:</label> <input type="file" name="file2" id="file2"> </p> <input type="submit" name="submit" value="Submit"> </form> ---- If we convert the POST request from the browser into a cURL equivalent we end up with the following: [source,bash] ---- curl 'http://foobar.com' -H 'Origin: null' -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Host: foobar.com:7474' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36' -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryMxYFIg6GFEIPAe6V' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Cache-Control: max-age=0' -H 'Cookie: splashShown1.6=1; undefined=0; _mkto_trk=id:773-GON-065&token:_mch-localhost-1373821432078-37666; JSESSIONID=123cbkxby1rtcj3dwipqzs7yu' -H 'Connection: keep-alive' --data-binary $'------WebKitFormBoundaryMxYFIg6GFEIPAe6V\r\nContent-Disposition: form-data; name="file1"; filename="file1.csv"\r\nContent-Type: text/csv\r\n\r\n\r\n------WebKitFormBoundaryMxYFIg6GFEIPAe6V\r\nContent-Disposition: form-data; name="file2"; filename="file2.csv"\r\nContent-Type: text/csv\r\n\r\n\r\n------WebKitFormBoundaryMxYFIg6GFEIPAe6V\r\nContent-Disposition: form-data; name="submit"\r\n\r\nSubmit\r\n------WebKitFormBoundaryMxYFIg6GFEIPAe6V--\r\n' --compressed ---- I tried executing this command but I couldn't quite get it to work, and in any case it seemed extremely complicated. Thankfully, I came across a http://curl.haxx.se/docs/httpscripting.html[cURL tutorial] which described a much simpler alternative which does work: [source,bash] ---- curl --form file1=@file1.csv --form file2=@file2.csv --form press=submit http://foobar.com ---- I knew it couldn't be that complicated!
null
null
[ 0.007041044998914003, -0.028811732307076454, -0.014558867551386356, 0.027104046195745468, 0.06886851787567139, 0.002888432703912258, 0.00499260937795043, 0.04097102954983711, 0.009644183330237865, -0.0144503740593791, -0.04879187420010567, -0.005803189240396023, -0.06270798295736313, 0.005495401564985514, -0.012264092452824116, 0.059581905603408813, 0.0573444664478302, -0.006680730264633894, 0.06432520598173141, -0.017757201567292213, -0.0024236717727035284, 0.031410738825798035, -0.020807649940252304, 0.012666134163737297, 0.03685790300369263, 0.008199560455977917, -0.013922812417149544, -0.01427907682955265, -0.09960166364908218, 0.013602332212030888, 0.025552993640303612, -0.004939444363117218, -0.007905418053269386, -0.029604483395814896, 0.003007804974913597, -0.0407538115978241, -0.01365831308066845, 0.004782685544341803, 0.0012612133286893368, 0.02653929591178894, -0.053638067096471786, 0.014511036686599255, -0.03155047819018364, 0.020072372630238533, -0.06206926330924034, 0.014178050681948662, -0.03857952356338501, 0.023078039288520813, -0.007904209196567535, 0.015053930692374706, -0.06688086688518524, 0.05326805263757706, -0.04289444908499718, -0.023339902982115746, 0.03834880143404007, 0.049277614802122116, -0.016105331480503082, -0.05128083378076553, 0.024480903521180153, -0.043974753469228745, 0.0070281485095620155, -0.003078187583014369, 0.0399140939116478, -0.0014384030364453793, 0.014362538233399391, -0.018710345029830933, 0.007942063733935356, 0.049327705055475235, -0.04066292569041252, -0.05349263921380043, 0.02541232667863369, 0.026566633954644203, -0.037729889154434204, -0.023996973410248756, 0.07949195802211761, -0.04333240166306496, -0.01686430536210537, 0.03596123307943344, -0.010725525207817554, 0.05926402658224106, -0.030468760058283806, 0.03853219375014305, 0.013554653152823448, 0.03134715184569359, 0.016477398574352264, -0.051777079701423645, -0.02524500899016857, 0.05873842164874077, -0.020047852769494057, 0.053860876709222794, 0.04657455161213875, -0.050376299768686295, 0.037389129400253296, 0.02985689789056778, 0.010856600478291512, -0.005849667824804783, 0.011909088119864464, -0.0020659673027694225, -0.016358783468604088, 0.008974434807896614, -0.04875125363469124, -0.00457413773983717, 0.018264522776007652, 0.01522134244441986, -0.08943205326795578, 0.0037022025790065527, -0.04026469588279724, -0.015511736273765564, 0.03261039778590202, -0.018735645338892937, 0.03771810233592987, 0.000972516369074583, -0.03221419081091881, -0.012860311195254326, -0.04356731101870537, 0.05409761890769005, 0.008833280764520168, -0.06257691234350204, 0.011415921151638031, 0.052874255925416946, 0.03698396682739258, 0.029408466070890427, 0.012553052976727486, 0.08753399550914764, 0.02439383789896965, 0.0075635043904185295, 0.004999351222068071, 0.06108533591032028, -0.027949009090662003, -0.058100972324609756, -0.031209858134388924, 0.07274303585290909, 0.03551063314080238, 0.019856272265315056, 0.017783284187316895, 0.00699461018666625, -0.010788068175315857, -0.020094536244869232, 0.03981741890311241, 0.013825918547809124, -0.022759225219488144, -0.018532929942011833, -0.023407286033034325, -0.0011552430223673582, 0.03929945081472397, 0.014634799212217331, -0.0022191558964550495, -0.05093569681048393, -0.0309380404651165, 0.04353778436779976, -0.00014792389993090183, -0.009411580860614777, 0.056149594485759735, -0.03625629469752312, -0.002555491402745247, 0.08449666202068329, 0.0373431034386158, 0.02819007821381092, -0.043126340955495834, -0.0035621870774775743, 0.025151429697871208, 0.05929119512438774, -0.011793237179517746, 0.01769397407770157, 0.0008141820435412228, -0.0046424646861851215, -0.010672923177480698, 0.02545531839132309, -0.014424084685742855, 0.011493789963424206, -0.06049409508705139, -0.033440541476011276, 0.08153562247753143, -0.03221868351101875, -0.027144072577357292, 0.043873146176338196, 0.08808869123458862, 0.012756520882248878, 0.05719461664557457, 0.005803088191896677, -0.073802649974823, 0.03798694536089897, -0.0034862267784774303, 0.06409379839897156, 0.05311453714966774, 0.000008580792382417712, 0.07908914983272552, 0.0469677560031414, 0.012192741967737675, 0.023151861503720284, -0.08347440510988235, -0.08998667448759079, -0.048616256564855576, 0.021668316796422005, 0.06853443384170532, -0.04030078649520874, 0.003921473398804665, 0.08373801410198212, 0.005184635519981384, 0.028081409633159637, -0.0005716992891393602, -0.01997213251888752, 0.030530855059623718, -0.06528578698635101, -0.05959353223443031, 0.0205899178981781, 0.041094645857810974, -0.013578243553638458, 0.0026333762798458338, 0.02420487441122532, -0.04816500470042229, 0.028512950986623764, 0.03330874815583229, -0.022667603567242622, 0.007111640647053719, 0.018861593678593636, 0.024897990748286247, -0.019626332446932793, 0.04172617569565773, -0.06501532346010208, 0.039522308856248856, 0.021272694692015648, -0.008948483504354954, 0.018421979621052742, -0.004960095509886742, 0.13166449964046478, 0.05156257748603821, 0.0023039663210511208, -0.02103484608232975, 0.01250891387462616, 0.016831476241350174, -0.047269515693187714, -0.006733289919793606, -0.012891321443021297, -0.04511544853448868, 0.02168327011168003, -0.019498854875564575, -0.0061526549980044365, 0.016923287883400917, -0.03839043527841568, 0.016202522441744804, 0.06425188481807709, -0.004418616183102131, 0.04314977675676346, -0.008120870217680931, -0.02380337379872799, 0.005964755080640316, -0.02082642912864685, -0.023116473108530045, -0.004669347312301397, 0.014765134081244469, 0.000986282480880618, 0.007338676135987043, -0.02024729549884796, -0.02638840675354004, -0.02343706041574478, -0.025909263640642166, 0.019155088812112808, 0.05638223886489868, 0.044705409556627274, -0.012556824833154678, 0.02282716892659664, -0.007017252966761589, 0.023102030158042908, -0.02452203817665577, -0.049987051635980606, -0.037275731563568115, -0.013478758744895458, 0.010457769967615604, 0.036891404539346695, 0.018972737714648247, 0.038002196699380875, 0.0006769562023691833, -0.003968523349612951, 0.009376722387969494, -0.004027543589472771, 0.06598658859729767, -0.020510146394371986, -0.011212079785764217, -0.0203155018389225, -0.003315642010420561, 0.02922571636736393, -0.04311632737517357, -0.04669566825032234, 0.01933888904750347, -0.07294224947690964, 0.048280831426382065, -0.06468537449836731, -0.05518614500761032, -0.04372702166438103, -0.013824885711073875, 0.022129110991954803, 0.012620401568710804, 0.025067107751965523, 0.06594023108482361, -0.008864845149219036, 0.023025143891572952, 0.005996322259306908, 0.040778666734695435, 0.02340998314321041, 0.012293635867536068, 0.015996433794498444, 0.020173078402876854, -0.03163081035017967, -0.018853534013032913, -0.02811521850526333, 0.014406831935048103, -0.039526984095573425, -0.2486407458782196, 0.05404031276702881, 0.0008741013007238507, -0.031104527413845062, 0.021380707621574402, -0.015354177914559841, 0.03667512536048889, -0.044407159090042114, -0.02100318856537342, -0.008269586600363255, -0.02641410194337368, -0.043620627373456955, -0.006070773582905531, 0.019297266378998756, 0.001766882836818695, 0.005399646237492561, 0.00831034779548645, -0.05762243643403053, 0.0387088842689991, 0.01464332826435566, -0.01728088967502117, -0.05279764160513878, 0.04689249023795128, 0.052872128784656525, 0.03544361889362335, 0.0351945236325264, -0.02346600964665413, 0.02320525422692299, -0.033981937915086746, -0.03524693101644516, 0.04126361012458801, -0.016205281019210815, 0.0168314166367054, 0.017327286303043365, -0.017634203657507896, 0.002032583812251687, 0.07340215146541595, 0.01381377037614584, 0.018989019095897675, 0.001205316511914134, -0.026763323694467545, -0.025750888511538506, 0.003617109265178442, -0.033715371042490005, 0.07406879216432571, -0.03844233229756355, -0.03384653851389885, -0.04480506852269173, -0.04390685260295868, 0.07571646571159363, -0.018612463027238846, -0.03978440538048744, -0.02235116995871067, 0.03603845089673996, 0.008250661194324493, -0.02037360891699791, 0.005618290510028601, -0.00005167568087927066, -0.043833162635564804, -0.04162680357694626, 0.02232619933784008, -0.03586205467581749, -0.023461539298295975, -0.05206901952624321, 0.003865690901875496, -0.04845128580927849, -0.054173342883586884, -0.027103902772068977, 0.07776012271642685, 0.047825735062360764, 0.013393338769674301, 0.018029389902949333, -0.0011684360215440392, -0.1021239385008812, 0.005623570643365383, -0.05186062306165695, -0.0422729067504406, 0.008131501264870167, -0.01519788522273302, 0.026567066088318825, -0.0366494283080101, -0.02882753126323223, 0.02854686789214611, 0.002088668290525675, 0.013733351603150368, -0.0586497038602829, 0.04744070768356323, -0.008247164078056812, 0.00660647451877594, -0.013954282738268375, 0.08412952721118927, -0.04615890607237816, -0.03825334832072258, -0.03973214328289032, -0.019792180508375168, 0.00663208682090044, 0.007665114477276802, 0.0009800599655136466, 0.018946416676044464, 0.04433002322912216, 0.045850031077861786, -0.035496655851602554, 0.008382244035601616, -0.05768325552344322, 0.023831676691770554, -0.006429648958146572, -0.04734950140118599, 0.05029449239373207, 0.03186441957950592, 0.035523541271686554, -0.015841983258724213, -0.039019253104925156, 0.013650086708366871, -0.06355766952037811, -0.01715550385415554, -0.024073168635368347, -0.015488320030272007, 0.005981488153338432, 0.0217208843678236, -0.039412353187799454, -0.024391641840338707, 0.016180818900465965, 0.06915232539176941, -0.0175340436398983, -0.050911277532577515, -0.04425602778792381, -0.0030600219033658504, 0.017013275995850563, 0.009666803292930126, 0.007513984106481075, 0.007473538629710674, 0.03551013767719269, 0.0051430300809443, -0.03559383377432823, 0.003280381439253688, 0.014401736669242382, -0.017182838171720505, -0.034359563142061234, 0.009112468920648098, 0.002143323654308915, -0.017867498099803925, 0.004752872046083212, -0.010061154142022133, 0.039331287145614624, 0.07295393943786621, 0.009308984503149986, 0.0016102332156151533, 0.010324344970285892, -0.025384165346622467, 0.0020726541988551617, -0.003164268098771572, -0.04036574810743332, 0.02049652487039566, -0.041866764426231384, -0.056668367236852646, -0.01691601425409317, 0.051998551934957504, 0.005044947843998671, -0.01010076142847538, -0.023170743137598038, 0.0019481260096654296, -0.03837517648935318, -0.017369305714964867, -0.01692824251949787, -0.0324183814227581, 0.042655833065509796, 0.01597657985985279, 0.014864112250506878, -0.0010639127576723695, 0.0032679836731404066, 0.004887462127953768, 0.014913820661604404, -0.013848230242729187, -0.005236116237938404, -0.015839869156479836, -0.005845447536557913, -0.015633393079042435, 0.01993734762072563, 0.01604783721268177, 0.016702726483345032, -0.019663803279399872, -0.05261977016925812, 0.059737298637628555, 0.03189348429441452, 0.04888572916388512, 0.008602739311754704, -0.023083534091711044, 0.006649864837527275, 0.004522233735769987, 0.00200782623142004, -0.038332249969244, -0.018682241439819336, -0.002561517059803009, -0.013448785990476608, -0.027954835444688797, -0.08703058212995529, 0.03480124846100807, 0.027382301166653633, 0.0016812318935990334, -0.0019809056539088488, -0.02140052616596222, 0.029039667919278145, -0.021937295794487, 0.022158823907375336, 0.021308090537786484, -0.05190616101026535, -0.01084852870553732, 0.0005612418754026294, -0.005145542323589325, -0.0027484511956572533, -0.003062549512833357, -0.07549668848514557, -0.014516045339405537, -0.015412217937409878, 0.03997223079204559, -0.025527341291308403, -0.040658313781023026, -0.008812018670141697, 0.0027770481538027525, -0.03133649006485939, -0.010080432519316673, 0.003309881081804633, -0.008507509715855122, -0.021717926487326622, -0.041847072541713715, -0.0009230848518200219, -0.0348103828728199, -0.012081502005457878, 0.027377091348171234, 0.015054815448820591, 0.04236161336302757, -0.019076431170105934, 0.027519097551703453, 0.020479939877986908, 0.0019101318903267384, -0.031754326075315475, -0.05416367948055267, 0.007796670310199261, -0.023994581773877144, 0.05171670392155647, 0.01411218661814928, 0.010413765907287598, -0.04396245628595352, 0.0017580502899363637, -0.0019311064388602972, 0.034058477729558945, -0.02630220353603363, -0.0369047187268734, 0.023915760219097137, 0.07698050886392593, -0.0033597382716834545, 0.01524661760777235, 0.004866990260779858, -0.030110731720924377, 0.037742532789707184, -0.028475282713770866, -0.003301911987364292, -0.016867028549313545, -0.048316121101379395, 0.0552840530872345, 0.02672412618994713, 0.03934982419013977, -0.07847384363412857, 0.04673496261239052, 0.02549370564520359, 0.005697848740965128, 0.052932024002075195, 0.0008872546022757888, 0.02279607020318508, -0.023885389789938927, -0.025370819494128227, -0.09926708042621613, 0.03827822953462601, 0.015415453352034092, -0.02352234721183777, -0.02015853300690651, -0.018712788820266724, -0.02799168787896633, 0.03978366777300835, -0.055440064519643784, -0.048715896904468536, 0.040063682943582535, 0.019071608781814575, -0.006111344322562218, 0.018279369920492172, -0.052265465259552, 0.03835461661219597, 0.06088927760720253, -0.055576033890247345, -0.004772777669131756, -0.030833085998892784, 0.07203489542007446, -0.00008914867066778243, 0.028841707855463028, -0.020965011790394783, -0.01527472585439682, 0.04127386957406998, 0.027233805507421494, -0.034804899245500565, 0.022202664986252785, -0.02569437213242054, 0.014375976286828518, 0.01765805296599865, -0.05186488851904869, -0.011654818430542946, -0.00039309533894993365, -0.007626121863722801, -0.026703426614403725, -0.0054054902866482735, -0.001887502265162766, -0.03363943472504616, -0.03137567639350891, 0.06508345156908035, 0.019909115508198738, -0.03035326674580574, -0.06685730814933777, 0.00561172142624855, -0.04247947409749031, -0.03012966178357601, -0.00843185093253851, 0.01717258244752884, -0.0406833179295063, 0.045090388506650925, 0.008541976101696491, 0.014343488030135632, 0.07635816186666489, -0.007761155255138874, -0.0074213114567101, -0.0012435702374204993, 0.0742938295006752, 0.0688832551240921, 0.004977817181497812, 0.0032534650526940823, 0.058525651693344116, -0.0014623365132138133, -0.0327838696539402, 0.01755925454199314, -0.02304321527481079, -0.012499812990427017, -0.003594297217205167, -0.028219839558005333, 0.08071307837963104, -0.024444326758384705, 0.06383857131004333, -0.01721225120127201, -0.017080143094062805, -0.0035922976676374674, 0.04780590161681175, 0.046351753175258636, 0.04665152728557587, 0.02340853586792946, -0.0012302895775064826, -0.01690206490457058, -0.03439268469810486, 0.027218174189329147, -0.022893644869327545, -0.03623320907354355, 0.02470516972243786, -0.03134852275252342, 0.016463451087474823, -0.050471074879169464, 0.04528479278087616, 0.07095552980899811, 0.0073998779989778996, 0.0011840381193906069, -0.00985485315322876, 0.06570412963628769, -0.0029411499854177237, 0.03231513872742653, 0.000488805235363543, -0.027140647172927856, -0.008423961699008942, -0.036321286112070084, -0.009568214416503906, -0.003736398881301284, -0.016095561906695366, 0.02566298097372055, -0.0021845593582838774, -0.004270607605576515, 0.032609157264232635, 0.008867889642715454, 0.009673831053078175, -0.030140522867441177, -0.07039057463407516, -0.053741976618766785, -0.05284474790096283, -0.01382916048169136, 0.028860609978437424, 0.007082844153046608, -0.04918336495757103, -0.015088777057826519, -0.024174483492970467, 0.016875801607966423, 0.04164643585681915, -0.0441218726336956, -0.022435437887907028, 0.023046856746077538, 0.01305265724658966, 0.029724057763814926, 0.009872836992144585, 0.02812349982559681, -0.020294755697250366, -0.017267119139432907, -0.042588867247104645, -0.03514787554740906, 0.05659322068095207, -0.008354182355105877, -0.02462083101272583, -0.08993066847324371, 0.013893905095756054, 0.025012100115418434, 0.017122766003012657, -0.06678064167499542, 0.024126967415213585, 0.011733034625649452, -0.016222108155488968, 0.07165564596652985, -0.04640569910407066, -0.006941409781575203, -0.06065179035067558, -0.027399225160479546, -0.026728566735982895, -0.022638408467173576, 0.05920782685279846, 0.028247259557247162, 0.09880150854587555, 0.0308686513453722, -0.014350272715091705, -0.046401336789131165, -0.0006765965954400599, 0.01511973887681961, 0.024085508659482002, -0.030617516487836838, -0.015097868628799915, -0.04197099059820175, -0.07382125407457352, -0.03646517172455788, 0.03034142777323723, -0.020590290427207947, -0.05372285470366478, 0.006373521406203508, 0.00569865433499217, -0.05119214206933975, -0.00012413065996952355, -0.03675179183483124, 0.007848490960896015, -0.017824474722146988, -0.0387052446603775, -0.03513707220554352, 0.010269144549965858, 0.015473488718271255, -0.01048437599092722, 0.03644045814871788, -0.024284685030579567, -0.02569279633462429, 0.013930966146290302, 0.011937386356294155, 0.04399804770946503, -0.03372368589043617, 0.030567942187190056 ]
[ -0.08218690752983093, -0.054609719663858414, -0.046238984912633896, -0.045026592910289764, 0.06579141318798065, -0.07248865813016891, -0.02000432461500168, -0.002609873190522194, -0.009612560272216797, -0.010332194156944752, 0.013648307882249355, -0.03364205360412598, 0.001861044904217124, -0.02057383768260479, 0.07941977679729462, 0.013043993152678013, 0.014977599494159222, -0.07545021176338196, -0.06562260538339615, 0.05566808208823204, 0.015210535377264023, -0.0006051290547475219, -0.04398747533559799, -0.035498350858688354, -0.02948036417365074, 0.0038683577440679073, 0.016895698383450508, -0.009439049288630486, -0.018561923876404762, -0.15074586868286133, 0.029454443603754044, -0.036666687577962875, 0.004977112635970116, -0.011673470959067345, 0.032004810869693756, -0.003389956895262003, 0.027506165206432343, -0.03172452375292778, 0.009498929604887962, 0.02548707090318203, 0.04692307859659195, 0.00401959428563714, -0.06512784212827682, -0.01425036508589983, 0.03400600701570511, -0.0009585080551914871, -0.014590154401957989, -0.007558892481029034, 0.017239535227417946, 0.02326310984790325, -0.059332143515348434, -0.0031342266593128443, 0.016006100922822952, -0.04685821011662483, 0.004124889615923166, 0.026050584390759468, 0.020298637449741364, 0.06978265941143036, -0.008599422872066498, 0.042406175285577774, 0.006330306176096201, -0.01059575006365776, -0.1269332468509674, 0.10461924225091934, 0.030580991879105568, 0.06093147024512291, -0.04924977198243141, 0.006201320327818394, -0.00047140344395302236, 0.0576007217168808, -0.0047559975646436214, -0.016885776072740555, -0.080170176923275, 0.08737833052873611, 0.003147701732814312, -0.02859356999397278, 0.018192250281572342, 0.04979792237281799, 0.023789264261722565, -0.026940299198031425, -0.06467093527317047, -0.039356958121061325, -0.020573105663061142, -0.003015139140188694, -0.048651840537786484, 0.02132684551179409, 0.0013102794764563441, 0.08377549797296524, 0.03170602023601532, -0.000631865463219583, 0.006450955290347338, -0.02758956141769886, 0.014887943863868713, 0.0070921387523412704, -0.08552523702383041, 0.009704859927296638, 0.006738459691405296, 0.03339678794145584, -0.050784632563591, 0.40876883268356323, -0.015256518498063087, -0.023422660306096077, 0.049764834344387054, -0.033440735191106796, 0.007059068884700537, 0.022269148379564285, 0.00530353095382452, -0.03126097470521927, 0.012757307849824429, -0.03800060972571373, 0.000806171097792685, -0.013509231619536877, 0.03969835489988327, -0.04290260002017021, 0.002072674687951803, 0.04065250977873802, 0.002810549456626177, 0.0036233547143638134, -0.026658575981855392, -0.01339488010853529, -0.0045738364569842815, -0.007076836656779051, 0.03329598531126976, 0.03379976004362106, 0.018673663958907127, -0.03292706608772278, 0.058481331914663315, 0.05837465822696686, 0.03216947615146637, 0.05333387479186058, 0.06132972240447998, -0.009813093580305576, -0.047547757625579834, -0.02511044219136238, -0.015526838600635529, 0.024547534063458443, 0.028260543942451477, -0.024621738120913506, -0.002462344244122505, 0.030395371839404106, -0.023265834897756577, -0.05111854523420334, -0.01663712039589882, -0.01952068693935871, -0.03708730638027191, 0.11968789249658585, 0.01749829575419426, -0.030836928635835648, -0.03927227482199669, -0.06860359758138657, -0.02146250009536743, 0.0562635213136673, 0.010720045305788517, -0.043260298669338226, -0.003456312697380781, 0.02807576023042202, 0.06047394126653671, -0.01967586763203144, -0.03713708743453026, -0.015738092362880707, -0.012324310839176178, -0.03528503701090813, -0.047693438827991486, 0.06725164502859116, 0.042006898671388626, -0.10906817764043808, -0.02504083700478077, 0.0038164763245731592, 0.02851199172437191, -0.049531981348991394, -0.01292378082871437, -0.005636774469166994, -0.011957977898418903, -0.04131980240345001, 0.03258468583226204, -0.02567429468035698, -0.02040826715528965, 0.012688315473496914, 0.0340605191886425, 0.009061555378139019, 0.0020678192377090454, 0.023759661242365837, -0.047989748418331146, 0.020523782819509506, -0.04740756005048752, -0.07690636813640594, -0.0797857791185379, 0.025721125304698944, -0.02234886772930622, 0.017770759761333466, -0.0708199292421341, -0.011236093938350677, -0.07171808183193207, 0.04203014075756073, -0.014118434861302376, -0.015422767028212547, 0.008061256259679794, 0.014283724129199982, 0.010564771480858326, -0.05396395921707153, 0.06560813635587692, 0.04360798001289368, -0.004588769748806953, 0.03228730335831642, -0.06036161258816719, 0.044131021946668625, 0.05597208812832832, -0.021747993305325508, 0.055379994213581085, 0.046573929488658905, -0.03436330705881119, 0.009027679450809956, 0.023022683337330818, 0.008575120940804482, -0.008126253262162209, -0.022670447826385498, -0.021033858880400658, 0.029937639832496643, 0.057407960295677185, 0.04061621055006981, -0.04519585892558098, -0.016208577901124954, 0.025508180260658264, -0.3322390913963318, -0.034059204161167145, -0.007083634380251169, 0.004585037939250469, 0.04223352670669556, -0.07193300873041153, 0.04263359308242798, -0.0074221850372850895, -0.025568747892975807, 0.03499678149819374, 0.10760714113712311, -0.03373578563332558, 0.0177758801728487, -0.0848705992102623, -0.003095087129622698, 0.014471140690147877, -0.02213536761701107, -0.03176822140812874, 0.020308982580900192, 0.037875790148973465, -0.005851004272699356, -0.04166232794523239, -0.016692424193024635, -0.04267602413892746, 0.006333273835480213, -0.039019547402858734, 0.1276778131723404, 0.06837954372167587, 0.05637877807021141, -0.06307926028966904, 0.08016642928123474, 0.00826230738312006, 0.004172176588326693, -0.11436229944229126, 0.003702074522152543, -0.014276259578764439, 0.013993732631206512, -0.0019213922787457705, 0.0471954308450222, 0.015199458226561546, -0.052445631474256516, -0.0049566528759896755, -0.023852573707699776, -0.036442872136831284, -0.008822568692266941, -0.016773642972111702, -0.012443163432180882, -0.022641591727733612, -0.043621726334095, 0.047998908907175064, 0.01726227067410946, -0.018660742789506912, 0.01179612148553133, 0.02453208528459072, 0.0219839196652174, -0.02786274068057537, -0.028212470933794975, -0.015149042010307312, 0.0010964443208649755, -0.03025973029434681, 0.05300799757242203, 0.04671873524785042, 0.043328121304512024, -0.035528965294361115, 0.006404012907296419, 0.019225966185331345, -0.01264024619013071, 0.03134667128324509, 0.047945816069841385, -0.05121985822916031, -0.016890905797481537, 0.10629119724035263, 0.027755239978432655, 0.08217227458953857, 0.006755372043699026, 0.04548552259802818, -0.025040777400135994, 0.01167305652052164, 0.02168523706495762, 0.002445496851578355, 0.031787049025297165, 0.011387338861823082, 0.03678245097398758, -0.04856555536389351, -0.0007205762667581439, 0.05373936519026756, -0.03578850254416466, -0.026052050292491913, 0.0814201831817627, -0.01756775565445423, -0.01221014466136694, -0.03229140490293503, -0.057554952800273895, -0.0758986696600914, 0.03928794339299202, -0.01835835538804531, -0.2680663466453552, 0.008505724370479584, 0.04007371515035629, 0.07126358151435852, -0.001021193340420723, 0.025360554456710815, 0.06094587966799736, -0.03817569836974144, -0.0325179286301136, 0.060538697987794876, -0.007379014510661364, 0.015678368508815765, -0.018985295668244362, -0.02797435224056244, 0.01430555060505867, -0.0024756616912782192, -0.006915242876857519, -0.007315933704376221, 0.008019943721592426, 0.00717534963041544, 0.0011113003129139543, -0.026631828397512436, 0.1510344296693802, 0.019453033804893494, 0.0038889911957085133, 0.04293281212449074, -0.0022185950074344873, 0.011062605306506157, 0.11031147092580795, 0.007584509439766407, -0.009722842834889889, 0.004762724507600069, 0.040777407586574554, -0.015924423933029175, 0.032145194709300995, -0.09057354927062988, -0.02968800999224186, 0.03431073948740959, 0.020730359479784966, -0.02096693404018879, -0.04731298238039017, 0.01905796118080616, -0.020921071991324425, 0.02444765530526638, 0.016901236027479172, 0.001548144151456654, 0.004683138802647591, -0.02210136502981186, -0.03799951449036598, 0.000742067932151258, -0.022074328735470772, -0.03268939256668091, 0.006033274810761213, -0.0005278003518469632, 0.0197096299380064, 0.09391707181930542, 0.04030624404549599, -0.026773957535624504, -0.0001175166544271633, 0.04011545330286026, 0.007140747271478176, -0.044043660163879395, 0.12856119871139526, 0.047182898968458176, 0.02097276598215103 ]
[ -0.013000281527638435, 0.02118048444390297, -0.019938340410590172, 0.014012840576469898, 0.008356724865734577, -0.006144930142909288, -0.03400766849517822, -0.007164624519646168, 0.013520337641239166, -0.040222324430942535, 0.004645525477826595, 0.001539972028695047, 0.019354471936821938, -0.025730516761541367, 0.01797732338309288, 0.003929102793335915, -0.05065174400806427, -0.02069682814180851, 0.03627661615610123, -0.012904999777674675, -0.06326915323734283, 0.013141557574272156, 0.03301975131034851, -0.018086440861225128, -0.022972196340560913, 0.023058487102389336, -0.031457558274269104, -0.01453795563429594, 0.026052560657262802, -0.13083608448505402, 0.010962838307023048, -0.0636000856757164, -0.008299746550619602, -0.02373000793159008, -0.002617393620312214, 0.020429711788892746, -0.005523024592548609, 0.0010748484637588263, -0.028793329373002052, 0.0029485041741281748, 0.0044490871950984, -0.006820627488195896, -0.00025728705804795027, 0.016746100038290024, -0.032096363604068756, -0.0021836073137819767, -0.023794025182724, -0.026427259668707848, -0.03958376869559288, -0.008377457968890667, -0.033149782568216324, -0.03377123177051544, -0.015179380774497986, 0.041776664555072784, -0.009646105580031872, -0.014289041049778461, -0.03411005064845085, -0.011274316348135471, 0.01656683348119259, 0.01709444262087345, -0.012059129774570465, 0.01654929853975773, -0.04917050898075104, -0.02949616312980652, -0.01676148548722267, 0.007836485281586647, -0.03482010215520859, -0.02261510118842125, -0.034699946641922, 0.028128305450081825, -0.0014476422220468521, 0.009613164700567722, -0.061330221593379974, -0.021686352789402008, -0.018378907814621925, -0.014077972620725632, 0.021976850926876068, 0.008887496776878834, -0.025029046460986137, -0.01479379367083311, -0.0067293825559318066, -0.00738496845588088, -0.0013012593844905496, 0.042654138058423996, 0.005006716120988131, 0.008195598609745502, -0.006421176251024008, -0.007945912890136242, 0.0005347481346689165, -0.004637656733393669, -0.041312020272016525, 0.01861412264406681, 0.0056536453776061535, 0.047524742782115936, -0.07407647371292114, 0.011461641639471054, -0.002559786196798086, 0.022125346586108208, -0.01592174917459488, 0.8313456773757935, 0.013311449438333511, -0.013405823148787022, 0.029364759102463722, 0.009161428548395634, 0.026896681636571884, -0.02274823747575283, 0.018028300255537033, 0.011997907422482967, 0.0587635412812233, -0.04439066722989082, -0.003176720580086112, -0.024306414648890495, 0.010459882207214832, 0.04522867873311043, -0.0001584156125318259, 0.009851275943219662, 0.03913198411464691, 0.020294377580285072, -0.006474758498370647, 0.04582550749182701, 0.037871167063713074, -0.012704496271908283, -0.039889998733997345, -0.010266578756272793, 0.026213379576802254, -0.21679890155792236, 0.04407516494393349, -7.849761726327166e-33, 0.053690336644649506, -0.011580215767025948, 0.009202550165355206, 0.009154874831438065, 0.01024509035050869, 0.013104768469929695, 0.01413817424327135, 0.030733631923794746, -0.035055723041296005, -0.022182604297995567, 0.018476350232958794, -0.01306293997913599, -0.011996087618172169, -0.003060476388782263, 0.010220126248896122, 0.002274489728733897, -0.0092594213783741, 0.053930725902318954, 0.035392001271247864, -0.007828880101442337, 0.019804807379841805, 0.03291839361190796, 0.004076767712831497, -0.00410463847219944, 0.0010516660986468196, 0.012567856349050999, -0.02970629185438156, 0.017377519980072975, -0.017434988170862198, -0.04621769115328789, -0.013009874150156975, -0.009660271927714348, -0.0060777487233281136, -0.03865677863359451, 0.0028478053864091635, -0.03387579694390297, -0.012580988928675652, 0.0018326293211430311, -0.046171292662620544, -0.004188834689557552, -0.03643897920846939, 0.003509295405820012, -0.02529209479689598, -0.009936092421412468, -0.03450552374124527, -0.009953909553587437, -0.042558830231428146, -0.025935253128409386, 0.034160833805799484, 0.006283335853368044, 0.008260603062808514, 0.016420409083366394, 0.03567245602607727, 0.027813594788312912, -0.007430172059684992, 0.031920354813337326, -0.036540113389492035, 0.01970604993402958, -0.014521188102662563, 0.016935696825385094, 0.04430070519447327, -0.0038240852300077677, -0.009939566254615784, -0.008046640083193779, -0.0019949148409068584, -0.005261353682726622, 0.029796410351991653, 0.03364567458629608, 0.03214452415704727, 0.0269479900598526, -0.0690063014626503, 0.02153286710381508, -0.02744332142174244, -0.027311528101563454, -0.00030543285538442433, -0.056215040385723114, 0.009578827768564224, -0.00796397216618061, 0.03112567961215973, 0.04151718690991402, 0.005705209914594889, -0.020750727504491806, 0.013290079310536385, -0.02490142546594143, -0.015266120433807373, 0.0162960197776556, -0.0020121184643357992, 0.014631577767431736, -0.015184517949819565, 0.04647503048181534, 0.04504278302192688, 0.06231841444969177, -0.008106933906674385, -0.03332919627428055, 0.004668320529162884, 7.506719413978606e-33, -0.022234957665205002, -0.01290840283036232, -0.0419488251209259, 0.02138669788837433, 0.028117939829826355, 0.01687815599143505, 0.03628413751721382, 0.01980530098080635, -0.03012034483253956, 0.036754708737134933, -0.017135435715317726, 0.028381044045090675, 0.003314689267426729, 0.010931732133030891, 0.05356358364224434, -0.011408306658267975, -0.03597021475434303, -0.02804032526910305, 0.05361534282565117, -0.029093211516737938, -0.012327682226896286, 0.0020777026657015085, 0.01150941476225853, 0.036601290106773376, 0.026937713846564293, 0.05072437599301338, -0.022594818845391273, 0.007864375598728657, 0.015926450490951538, -0.014989051967859268, 0.001226527732796967, -0.01788708008825779, 0.00748885003849864, -0.023016702383756638, 0.004749976098537445, 0.026536714285612106, -0.01155874878168106, 0.0311285313218832, 0.03772634267807007, 0.0027533385436981916, 0.017237212508916855, -0.009423209354281425, 0.00492758909240365, 0.04003649204969406, 0.01538468711078167, 0.03303556889295578, 0.017734665423631668, 0.008544600568711758, 0.01708020642399788, 0.02770293317735195, -0.001325315679423511, 0.010665416717529297, -0.018201712518930435, 0.015666287392377853, 0.030565788969397545, -0.05896880477666855, -0.03506678715348244, 0.022357258945703506, -0.04340466484427452, -0.00769244646653533, -0.005543956998735666, 0.013083317317068577, -0.032937802374362946, 0.04527098685503006, -0.029695574194192886, -0.0014224158367142081, -0.030037594959139824, -0.015817642211914062, 0.024343792349100113, 0.007402661256492138, -0.02519252710044384, 0.009371031075716019, -0.02433627098798752, -0.00868103839457035, 0.03400988131761551, -0.008226447738707066, 0.023062705993652344, -0.02690757066011429, -0.0010949020506814122, 0.035698436200618744, 0.021790122613310814, 0.047070156782865524, 0.01606501266360283, -0.019503489136695862, 0.014900051057338715, 0.010593265295028687, -0.030201343819499016, 0.025545086711645126, -0.004100053105503321, -0.03376852348446846, 0.0066993520595133305, 0.02183939330279827, -0.015509826131165028, -0.020592065528035164, -0.02061571180820465, -1.319922304787724e-8, -0.02880464307963848, -0.007027183659374714, -0.02101868763566017, 0.01619238778948784, -0.009648481383919716, 0.038556188344955444, -0.00782819278538227, -0.004165554419159889, 0.01625065505504608, 0.009164375253021717, 0.030169332399964333, -0.016194095835089684, 0.03237822651863098, 0.015064209699630737, 0.0010999079095199704, -0.04622844606637955, -0.0007262720610015094, -0.01809557154774666, 0.03085663914680481, 0.008213869296014309, 0.007201227825134993, 0.0494198240339756, -0.008303365670144558, -0.008043244481086731, 0.01555920485407114, -0.010107200592756271, 0.008604628965258598, -0.05191271752119064, -0.05281633883714676, 0.0010092799784615636, 0.007067795377224684, -0.05060181766748428, -0.03344282880425453, -0.006244305055588484, -0.013840803876519203, -0.008031445555388927, -0.022434886544942856, 0.00031273416243493557, -0.01227791327983141, 0.015686023980379105, 0.022630592808127403, 0.04353863000869751, -0.016013214364647865, -0.026667039841413498, -0.019403550773859024, 0.01535609271377325, -0.0021551696117967367, 0.025586659088730812, 0.005562150850892067, -0.03266353905200958, -0.007870248518884182, -0.02414179965853691, 0.02362694777548313, 0.027456853538751602, 0.026746418327093124, 0.011041632853448391, 0.025502780452370644, -0.03997456282377243, -0.019620610401034355, -0.004786896053701639, 0.0323774479329586, 0.007291415240615606, -0.0016092112055048347, -0.010727384127676487 ]
curl-postupload-multi-part-form
https://markhneedham.com/blog/2013/09/23/curl-postupload-multi-part-form
false
2013-09-14 00:06:37
jackson-core-asl - java.lang.AbstractMethodError: org.codehaus.jackson.JsonNode.getValueAsText()Ljava/lang/String;
[ "software-development", "java" ]
[ "Java" ]
https://twitter.com/iansrobinson[Ian] and I were doing a bit of work on an internal application which processes JSON messages and interacts with AWS and we started seeing the following exception after doing an upgrade of +++<cite>+++http://mvnrepository.com/artifact/org.codehaus.jackson/jackson-mapper-asl[jackson-mapper-asl]+++</cite>+++ from 1.8.9 to 1.9.13: [source,text] ---- 2013-09-13 11:01:50 +0000: Exception while handling {MessageId: 7e695fb3-549a-4b 40-b1cf-9dbc5e97a8df, ... } java.lang.AbstractMethodError: org.codehaus.jackson.JsonNode.getValueAsText()Lja va/lang/String; ... at com.amazonaws.services.sqs.AmazonSQSAsyncClient$20.call(AmazonSQSAsyn cClient.java:1200) at com.amazonaws.services.sqs.AmazonSQSAsyncClient$20.call(AmazonSQSAsyn cClient.java:1191) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:615) at java.lang.Thread.run(Thread.java:724) ---- I'd not seen this exception before but we figured that it was probably happening because we had http://stackoverflow.com/questions/14954738/runtime-exception-with-jersey-java-lang-abstractmethoderror[conflicting versions of some Jackson related JAR on the class path]. We could see in the external libraries section of IntelliJ that we had both the 1.8.9 and 1.9.13 versions of jackson-mapper-asl but we weren't sure which dependency was pulling in the earlier version. https://twitter.com/apcj[Alistair] pointed out quite a neat command you can pass to Maven which shows transitive dependencies so we gave that a try: [source,bash] ---- $ mvn dependency:tree ... [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ load-generator --- [INFO] +- com.amazonaws:aws-java-sdk:jar:1.5.6:compile [INFO] | +- commons-logging:commons-logging:jar:1.1.1:compile [INFO] | +- org.apache.httpcomponents:httpclient:jar:4.2.2:compile (version managed from 4.2) [INFO] | +- commons-codec:commons-codec:jar:1.6:compile [INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.8.9:compile ... [INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile [INFO] | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile ... ---- As you can see, we have two different versions of the +++<cite>+++json-core-asl+++</cite>+++ JAR and the earlier version was being pulled in by the +++<cite>+++aws-java-sdk+++</cite>+++. We http://maven.40175.n5.nabble.com/Force-higher-version-dependency-td90566.html[excluded its transitive dependency] by changing our pom file to read like this: ~~~xml +++<dependency>++++++<groupId>+++com.amazonaws+++</groupId>+++ +++<artifactId>+++aws-java-sdk+++</artifactId>+++ +++<version>+++1.5.6+++</version>+++ +++<exclusions>++++++<exclusion>++++++<groupId>+++org.codehaus.jackson+++</groupId>+++ +++<artifactId>+++jackson-core-asl+++</artifactId>++++++</exclusion>++++++</exclusions>++++++</dependency>+++ ~~~ After that everything worked swimmingly.
null
null
[ 0.007286980748176575, -0.030319279059767723, -0.035598013550043106, 0.01053596567362547, 0.04942736774682999, 0.03620194271206856, 0.07310748845338821, 0.036694660782814026, -0.01639084704220295, -0.02436968684196472, 0.005638433620333672, -0.01998494565486908, -0.08924255520105362, 0.01135222613811493, -0.02746393531560898, 0.06337620317935944, 0.09323645383119583, 0.017941199243068695, 0.021514257416129112, -0.016207581385970116, 0.024841666221618652, 0.07232354581356049, -0.004282713867723942, 0.024125350639224052, 0.013258432038128376, 0.017036309465765953, 0.007140025030821562, 0.0015734722837805748, -0.03814292326569557, -0.029538922011852264, 0.05204594507813454, 0.007294336799532175, 0.02114162966609001, -0.017164213582873344, 0.010236233472824097, -0.004495155531913042, -0.03091789036989212, -0.0075042108073830605, 0.008979440666735172, 0.037247974425554276, -0.05078143626451492, 0.03074437938630581, -0.024024473503232002, 0.02550087869167328, -0.02334078960120678, 0.015673330053687096, -0.01682409644126892, 0.01778264157474041, -0.0070826588198542595, -0.024691086262464523, -0.08812609314918518, 0.036737702786922455, -0.044656772166490555, -0.00011228350922465324, -0.007780415005981922, 0.025486838072538376, 0.01838747225701809, -0.08982949703931808, 0.060473453253507614, -0.04664904251694679, 0.007889765314757824, -0.035844042897224426, -0.0026887713465839624, -0.004861539229750633, -0.002282165689393878, -0.0036766945850104094, 0.001939751673489809, 0.06227755919098854, -0.04926760867238045, -0.02706499770283699, -0.011235479265451431, 0.005144436378031969, -0.011102724820375443, -0.0033706508111208677, 0.007564407307654619, -0.06490276753902435, -0.011409511789679527, 0.07106194645166397, 0.02760464698076248, 0.05484648048877716, -0.03145480901002884, -0.006980319041758776, 0.019910670816898346, 0.016044946387410164, 0.02327052876353264, -0.032728664577007294, -0.022908443585038185, -0.010461035184562206, -0.03508341312408447, 0.06447804719209671, 0.03911890089511871, -0.002365974010899663, -0.014002451673150063, 0.02978498674929142, -0.016564367339015007, 0.02320798672735691, -0.01298656314611435, -0.012346568517386913, -0.004972935654222965, -0.023922180756926537, -0.051120977848768234, -0.0022374126128852367, 0.013425858691334724, 0.03391098231077194, -0.062326911836862564, -0.01187942922115326, -0.01886671595275402, -0.010883526876568794, 0.007938488386571407, -0.011481409892439842, -0.022713541984558105, 0.03824710473418236, -0.012024915777146816, -0.012818069197237492, -0.0658000111579895, 0.06453008204698563, 0.008041181601583958, -0.03425135836005211, 0.0024146921932697296, 0.030878840014338493, 0.0348680280148983, 0.031132863834500313, -0.014235632494091988, 0.0813823863863945, -0.0009325199644081295, 0.030822450295090675, -0.025254106149077415, 0.020053796470165253, -0.013598526827991009, -0.06269725412130356, -0.007548121735453606, 0.05054890364408493, 0.015707537531852722, 0.03258778527379036, -0.00005764385059592314, 0.006421271245926619, -0.011346377432346344, 0.008716193027794361, 0.06253135204315186, 0.03915499895811081, -0.020079001784324646, -0.029395246878266335, 0.005403279792517424, 0.003348536090925336, 0.03617818281054497, 0.027662936598062515, -0.004332672338932753, -0.031136399134993553, -0.000753153522964567, 0.015828048810362816, 0.0091791907325387, 0.030298538506031036, 0.04091139882802963, -0.012407397851347923, 0.012150419875979424, 0.08658736944198608, 0.02576313354074955, 0.02616729959845543, -0.0009554456337355077, 0.02691902033984661, 0.024440277367830276, 0.0655512809753418, -0.0038057947531342506, 0.02096446417272091, -0.014438469894230366, -0.019444866105914116, -0.0056608570739626884, 0.028925975784659386, -0.03195853531360626, -0.00797394197434187, -0.05006704851984978, -0.09234395623207092, 0.042718641459941864, -0.042759887874126434, 0.005164097994565964, 0.022803086787462234, 0.09853639453649521, 0.015552927739918232, 0.03449768200516701, 0.022715860977768898, -0.07261484861373901, 0.04593675211071968, 0.023641470819711685, 0.017788048833608627, 0.011154268868267536, 0.006586261093616486, 0.060498178005218506, 0.04296722635626793, -0.036735616624355316, 0.03392617404460907, -0.07698559015989304, -0.07496672868728638, -0.0173030998557806, 0.007619617041200399, 0.06717038154602051, -0.023115143179893494, -0.005801707971841097, 0.048403117805719376, 0.022787317633628845, 0.017750533297657967, 0.005977964028716087, 0.004446952138096094, 0.010161898098886013, -0.05443792790174484, -0.07940083742141724, 0.0522594228386879, 0.05438186228275299, -0.017160112038254738, -0.0514301098883152, 0.018742140382528305, -0.01133925560861826, 0.009831306524574757, 0.009281324222683907, -0.020942822098731995, 0.03387567773461342, 0.017624568194150925, 0.03411510959267616, -0.049385592341423035, 0.06782487034797668, -0.04886625334620476, 0.04460969194769859, 0.008679041638970375, 0.014487185515463352, -0.015988171100616455, 0.01138247363269329, 0.10568960756063461, 0.034745004028081894, -0.0007391010876744986, -0.07868053019046783, 0.057880155742168427, 0.02194347232580185, -0.04666009917855263, -0.010199075564742088, -0.04494628310203552, 0.005141217261552811, -0.0026900109369307756, -0.028036100789904594, -0.027448860928416252, -0.0033822020050138235, -0.02307870239019394, -0.025949878618121147, 0.07541689276695251, -0.042906586080789566, 0.05887835472822189, 0.03244338557124138, -0.023973550647497177, -0.0379854179918766, -0.035802677273750305, -0.04070432856678963, -0.007660895120352507, -0.022497884929180145, -0.007261449005454779, 0.03091474622488022, -0.02190987579524517, -0.02241281419992447, -0.03664584457874298, -0.03556253761053085, 0.031007546931505203, 0.025859011337161064, 0.06377112865447998, 0.0006045455229468644, 0.049084268510341644, -0.03709504380822182, -0.011653319001197815, -0.011095485650002956, -0.04394494369626045, -0.005363122094422579, 0.0019143485696986318, 0.040848392993211746, 0.00261138379573822, 0.029608046635985374, 0.0231893640011549, 0.03766133263707161, -0.004056619945913553, -0.0051320381462574005, -0.018079394474625587, 0.04674898460507393, -0.024363107979297638, -0.011128092184662819, -0.014088558033108711, 0.0036693033762276173, 0.03312414139509201, -0.02803700789809227, -0.016624731943011284, 0.035795629024505615, -0.05879734084010124, 0.045576877892017365, -0.05014614015817642, -0.06268902122974396, 0.0123788733035326, 0.014443266205489635, 0.03662477061152458, 0.021251419559121132, -0.00752762658521533, 0.06788019090890884, -0.0021976535208523273, 0.01239028200507164, 0.00977477990090847, -0.0035220463760197163, 0.028762832283973694, -0.00807384867221117, 0.03216340020298958, 0.043341416865587234, 0.013921738602221012, 0.014126689173281193, -0.05594954267144203, 0.021535443142056465, -0.029101964086294174, -0.2637815475463867, 0.018599828705191612, 0.0013156476197764277, -0.03446277603507042, 0.02328922227025032, 0.022725695744156837, 0.012026874348521233, -0.03767326846718788, -0.005527513101696968, 0.03582474961876869, 0.009583033621311188, -0.019399423152208328, 0.003883693367242813, 0.015853652730584145, -0.03071535937488079, -0.006344009656459093, -0.01387411542236805, -0.0457041934132576, -0.004814245272427797, 0.012613948434591293, -0.016636701300740242, -0.06189665198326111, -0.010523919947445393, 0.02030215412378311, 0.03987891227006912, 0.04816780611872673, -0.07300852239131927, 0.045781128108501434, -0.009099805727601051, -0.007199156563729048, 0.015573129989206791, -0.021586699411273003, 0.012491547502577305, -0.016658734530210495, -0.02996126376092434, -0.020382313057780266, -0.011326056905090809, -0.0014608888886868954, -0.0026912079192698, 0.03612515702843666, -0.0359845831990242, -0.07611330598592758, -0.030474578961730003, -0.004244064446538687, 0.059785306453704834, 0.017277009785175323, -0.06913839280605316, -0.0027514423709362745, -0.04992545768618584, 0.07713611423969269, -0.033687032759189606, -0.03760306537151337, 0.001472898293286562, 0.019024338573217392, -0.001149641233496368, -0.004459046293050051, -0.03374108672142029, -0.0219896100461483, -0.032702524214982986, -0.029093952849507332, -0.00019392732065171003, -0.04958944395184517, -0.019788280129432678, -0.035593148320913315, -0.052708547562360764, -0.048639412969350815, -0.0452587753534317, -0.0007476567407138646, 0.08438067883253098, -0.02071046084165573, -0.020855838432908058, 0.005283087491989136, -0.012693583033978939, -0.11858129501342773, -0.0018526511266827583, -0.038733892142772675, -0.052968598902225494, 0.021397408097982407, -0.02244551107287407, 0.03887496516108513, -0.02662300504744053, -0.029909968376159668, 0.02615038864314556, 0.014509748667478561, 0.04624974727630615, -0.027363387867808342, 0.0021853181533515453, -0.026133447885513306, 0.0005591051885858178, -0.00791196245700121, 0.06484347581863403, -0.015761204063892365, -0.03286696970462799, -0.035691820085048676, 0.001017380622215569, 0.05066214129328728, -0.006898193620145321, 0.003491420764476061, -0.020564908161759377, 0.054305557161569595, 0.03167976438999176, -0.07981868833303452, 0.02536570280790329, -0.030352482572197914, 0.004906109068542719, -0.003197186393663287, -0.060817863792181015, 0.008786399848759174, 0.03245483711361885, 0.03064442053437233, -0.003555134404450655, -0.045743800699710846, 0.017669055610895157, -0.04875372722744942, -0.042459361255168915, -0.020345456898212433, -0.00003385450327186845, 0.05101323872804642, 0.013682334683835506, -0.03886102885007858, -0.06190890073776245, 0.03631211072206497, 0.03642978146672249, -0.022822851315140724, -0.03049089014530182, -0.03947988525032997, -0.01740081235766411, 0.0027601453475654125, -0.0002880268730223179, -0.00996661651879549, -0.031530097126960754, 0.03682438284158707, 0.02248837798833847, 0.005650489125400782, -0.008457459509372711, -0.027715442702174187, -0.030894573777914047, -0.05159168690443039, 0.019492903724312782, -0.009095678105950356, 0.004498611204326153, -0.0033993287943303585, -0.01194930449128151, 0.02526942640542984, 0.049854718148708344, 0.016177689656615257, 0.04409118741750717, -0.015122528187930584, 0.0028773569501936436, 0.0008712977869436145, 0.020064475014805794, -0.06034647673368454, 0.026098821312189102, -0.032702334225177765, -0.05194792523980141, 0.0034946980886161327, 0.03919099271297455, -0.015532166697084904, -0.03439914807677269, -0.04477017745375633, 0.019744008779525757, -0.05184633657336235, -0.002341553336009383, -0.0005812182207591832, -0.00970736425369978, 0.03037329763174057, -0.018848996609449387, 0.036016739904880524, -0.017392484471201897, -0.025802846997976303, -0.016785455867648125, -0.026357967406511307, -0.0061670150607824326, 0.044670216739177704, 0.0036569254007190466, 0.032713212072849274, 0.03782344236969948, -0.004745101556181908, 0.02753320336341858, 0.0341474823653698, -0.01056604366749525, -0.008090609684586525, 0.02201964519917965, 0.0317433625459671, 0.03421154245734215, 0.010721065104007721, -0.00505859637632966, 0.004657319281250238, -0.03436664119362831, -0.03997281938791275, -0.010591788217425346, -0.0049714683555066586, -0.007494357880204916, 0.023595068603754044, -0.016402728855609894, -0.057194504886865616, 0.030282525345683098, -0.013261227868497372, 0.03032499924302101, 0.011882097460329533, -0.022367417812347412, 0.06000028923153877, -0.025182388722896576, 0.030750788748264313, 0.06992767006158829, -0.0677645355463028, 0.011608319357037544, 0.006847860757261515, 0.00041527210851199925, 0.0022355499677360058, -0.004954074043780565, -0.03016611933708191, 0.02140474133193493, 0.0013426471268758178, 0.01629251427948475, -0.029188018292188644, -0.019367486238479614, -0.012914104387164116, 0.026428189128637314, -0.019372187554836273, 0.010231826454401016, -0.015906045213341713, 0.008833450265228748, -0.018164634704589844, -0.03423132002353668, 0.03502655401825905, -0.02635250985622406, 0.0035821206402033567, 0.03995780646800995, -0.03955650329589844, 0.0010323680471628904, -0.05083702504634857, 0.008392258547246456, 0.02242789976298809, -0.014427297748625278, -0.02361699752509594, -0.047061771154403687, -0.006338843610137701, 0.044150885194540024, 0.04908366501331329, 0.002947010099887848, -0.02374959923326969, -0.011733674444258213, 0.0000786098898970522, -0.03498101606965065, 0.02754051238298416, -0.0018700057407841086, 0.004318810999393463, 0.03657710179686546, 0.05526934564113617, 0.005019797943532467, 0.019501326605677605, -0.037215400487184525, -0.005159944295883179, 0.08094371110200882, -0.03061084635555744, -0.03928565979003906, -0.01488370168954134, -0.08435278385877609, -0.002713340101763606, 0.002512764884158969, 0.006448572035878897, -0.05568714067339897, 0.04466865211725235, 0.04542737081646919, 0.023099854588508606, 0.06979933381080627, -0.006958410609513521, 0.0275423526763916, -0.047085147351026535, -0.03612207621335983, -0.1056423932313919, -0.006838302593678236, 0.040683258324861526, -0.002176482928916812, 0.014724155887961388, -0.02774031274020672, -0.05125158280134201, 0.02156531997025013, -0.033496152609586716, -0.02279430255293846, 0.03773486241698265, -0.0373447984457016, 0.010202428326010704, 0.051685698330402374, -0.0333220511674881, 0.038195181638002396, -0.00044807407539337873, -0.029658563435077667, -0.03526078909635544, -0.052475981414318085, 0.06363137811422348, 0.02748895436525345, 0.01480106171220541, -0.03674457222223282, -0.03691338747739792, 0.08484087139368057, 0.011753152124583721, -0.016469106078147888, 0.04929891228675842, -0.03133753687143326, 0.03819451108574867, 0.031774695962667465, 0.01716936193406582, 0.0021075133699923754, 0.02426031045615673, -0.029888758435845375, -0.05851069837808609, 0.039481598883867264, 0.021095063537359238, -0.04836321249604225, -0.03837672248482704, 0.04692787677049637, 0.01516373734921217, -0.02146114781498909, -0.048497315496206284, 0.007570219691842794, -0.0364166721701622, -0.02721218205988407, -0.03502543643116951, 0.017261482775211334, -0.05297831445932388, 0.06490910798311234, -0.001490442082285881, 0.02620871551334858, 0.08419390022754669, 0.014827616512775421, -0.002349374582991004, -0.013396534137427807, 0.09338196367025375, 0.057272929698228836, -0.0165752861648798, 0.005284121725708246, 0.04211689159274101, -0.014288647100329399, -0.03158729895949364, 0.00003522268889355473, -0.009310589171946049, -0.0474059134721756, -0.005002549383789301, 0.006912399549037218, 0.07231075316667557, 0.0025066358502954245, 0.07357870787382126, -0.04169834405183792, -0.03163600340485573, -0.020065421238541603, 0.01691354811191559, 0.03651367872953415, -0.00033671481651254, -0.012850213795900345, 0.055417511612176895, 0.0003793555952142924, -0.03878322243690491, 0.020809412002563477, 0.014812447130680084, -0.04009078070521355, 0.03126915544271469, -0.004514778032898903, 0.017386892810463905, 0.04533538222312927, 0.026706460863351822, 0.07660301774740219, 0.011856443248689175, 0.0037980785127729177, -0.03088744729757309, 0.00634722039103508, 0.008681114763021469, 0.012670189142227173, -0.002006273251026869, -0.03800571337342262, -0.020119380205869675, -0.029457714408636093, -0.012678060680627823, -0.00571367098018527, -0.04402308166027069, 0.03779333084821701, -0.021057726815342903, 0.03377820923924446, 0.0354003980755806, 0.00487028993666172, -0.028812803328037262, -0.06453078240156174, -0.06881234049797058, -0.015552414581179619, -0.04647486284375191, -0.025037385523319244, 0.011675034649670124, 0.0042457496747374535, -0.025947025045752525, -0.017077859491109848, 0.004611778073012829, 0.013248022645711899, 0.024986600503325462, -0.06386549770832062, -0.0248821210116148, 0.03075827844440937, 0.013241867534816265, 0.0049856132827699184, 0.03251580148935318, 0.07531596720218658, -0.024493638426065445, 0.012316279113292694, -0.01650705374777317, 0.010036807507276535, 0.032621193677186966, 0.034991275519132614, 0.03857501596212387, -0.07156361639499664, 0.017146337777376175, 0.020183326676487923, -0.010103540495038033, -0.04637419432401657, -0.005199439823627472, 0.048397231847047806, -0.02218337543308735, 0.060381513088941574, -0.00417265435680747, 0.01264230441302061, -0.045349813997745514, -0.0203816257417202, -0.007177070714533329, 0.0020601418800652027, 0.046031251549720764, -0.002493279054760933, 0.07564282417297363, 0.06486784666776657, -0.027474597096443176, -0.024300992488861084, 0.01404088269919157, 0.002145812613889575, -0.008527098223567009, -0.025412805378437042, -0.06909582018852234, -0.06647779792547226, -0.09393570572137833, -0.011034081690013409, 0.024095943197607994, -0.0086916983127594, -0.03461785241961479, 0.004373924341052771, 0.030523737892508507, -0.07319051027297974, 0.0009145797812379897, -0.03647211194038391, 0.022436000406742096, -0.019270893186330795, -0.031016526743769646, -0.0006715418421663344, 0.013227167539298534, 0.026688527315855026, -0.018560515716671944, 0.001601420110091567, -0.02846468985080719, 0.034362513571977615, -0.01093622948974371, 0.021800188347697258, 0.05264377221465111, -0.00816714484244585, -0.03041781112551689 ]
[ -0.09168609976768494, -0.04624855890870094, -0.014784155413508415, -0.014098630286753178, 0.027722058817744255, -0.07991190254688263, -0.0013086172984912992, 0.07063864916563034, 0.022300515323877335, -0.03599630668759346, 0.019338002428412437, -0.04564257711172104, 0.009746572934091091, -0.013839757069945335, 0.06956405937671661, 0.017370132729411125, -0.015011697076261044, -0.0548928938806057, -0.04342494159936905, 0.005306799430400133, 0.02503860555589199, -0.005437795538455248, 0.00411720247939229, -0.05557548627257347, 0.003011650638654828, 0.056885842233896255, 0.029933452606201172, -0.038069844245910645, -0.015786893665790558, -0.1711401790380478, 0.006202672142535448, -0.041969094425439835, 0.018979554995894432, 0.00014878007641527802, -0.019738875329494476, 0.05399652197957039, 0.009086985141038895, 0.04622536897659302, 0.0333823524415493, 0.05685008317232132, -0.008129790425300598, 0.024229561910033226, -0.07553916424512863, -0.02621496468782425, -0.004975705873221159, -0.052031051367521286, -0.007512805983424187, -0.004686139989644289, 0.03447272628545761, 0.00031025861972011626, -0.08297409862279892, -0.025766903534531593, 0.03044474497437477, -0.03785004839301109, -0.010370885021984577, 0.04372730851173401, 0.03209001198410988, 0.10688868165016174, 0.0035134374629706144, 0.01839776337146759, 0.03153113275766373, -0.02360142022371292, -0.1459430754184723, 0.11231254786252975, 0.01437996793538332, 0.04612027108669281, 0.011877983808517456, -0.042518388479948044, -0.006986293010413647, 0.03267597034573555, 0.0014618479181081057, -0.01796136237680912, 0.004588637035340071, 0.07163293659687042, 0.007361744996160269, 0.03303711116313934, 0.009583245031535625, 0.01748352311551571, 0.052762262523174286, -0.03968951106071472, -0.0914875715970993, -0.027818577364087105, -0.012992216274142265, -0.034334946423769, -0.043183017522096634, -0.000011827799426100682, -0.006053125951439142, 0.06415608525276184, 0.03689180687069893, 0.02880064770579338, 0.0015996829606592655, -0.03212251514196396, 0.07525370270013809, 0.015456206165254116, -0.10446110367774963, -0.0013541385997086763, -0.04939725995063782, -0.01740432344377041, -0.026540536433458328, 0.3963289260864258, -0.014218227006494999, -0.004114862065762281, 0.04076388105750084, 0.025097528472542763, 0.021228590980172157, -0.003186748130246997, -0.03404279798269272, -0.06599246710538864, 0.016759714111685753, -0.03906431794166565, 0.022738676518201828, -0.00978066585958004, 0.04434541240334511, -0.021825402975082397, -0.019680136814713478, 0.04478469118475914, 0.05983786657452583, 0.025006437674164772, -0.03760232403874397, 0.05053669959306717, -0.02286648564040661, 0.004094892181456089, 0.013757636770606041, 0.026078585535287857, 0.013447954319417477, -0.04545443877577782, 0.014841800555586815, 0.06883227825164795, 0.03883800283074379, -0.020037997514009476, 0.0051445807330310345, -0.04029962047934532, -0.05149469152092934, -0.025065815076231956, 0.0067558870650827885, 0.003500305814668536, 0.004703805781900883, -0.06576667726039886, 0.030802590772509575, 0.012632054276764393, -0.012862279079854488, -0.09049058705568314, -0.04122605174779892, -0.020079558715224266, -0.040109582245349884, 0.10936392843723297, 0.004222326446324587, -0.001617519767023623, 0.0035835481248795986, -0.036356281489133835, -0.025438252836465836, 0.07173547893762589, 0.00013092711742501706, -0.029484683647751808, 0.017437556758522987, 0.023956874385476112, 0.04647935554385185, 0.0332227423787117, -0.00985684897750616, -0.010157439857721329, 0.009685750119388103, -0.048510584980249405, -0.017313802614808083, 0.07075005769729614, 0.025495680049061775, -0.10020636767148972, -0.03338797017931938, -0.013732761144638062, -0.017471354454755783, -0.04243297502398491, -0.010279282927513123, 0.04818439111113548, -0.01894274353981018, -0.01660093478858471, 0.03443925827741623, -0.0027207103557884693, 0.003776516765356064, -0.010434105060994625, 0.010855472646653652, 0.02341943420469761, 0.004091241862624884, 0.017339767888188362, -0.026087980717420578, -0.01786576583981514, -0.00823132786899805, -0.08682551234960556, -0.05254602059721947, 0.026454556733369827, 0.034945376217365265, -0.04566911607980728, -0.019815929234027863, -0.02987929992377758, -0.0462561659514904, 0.05493004620075226, 0.010438580065965652, -0.006200064904987812, 0.008538837544620037, -0.03552072122693062, 0.02696947008371353, -0.04538397490978241, 0.048934560269117355, 0.04389622434973717, 0.005406719632446766, 0.04863410070538521, -0.05883033946156502, 0.03655526414513588, 0.047347541898489, -0.007943233475089073, 0.02862522378563881, -0.005598372779786587, -0.050887249410152435, -0.008275008760392666, -0.04108057916164398, 0.006054397206753492, -0.03436022996902466, 0.003275581868365407, -0.016466466709971428, 0.04131903126835823, 0.038110848516225815, -0.0016090056160464883, -0.06283149123191833, 0.028722351416945457, 0.0035081123933196068, -0.33243417739868164, -0.026858415454626083, 0.008212422020733356, -0.005445338319987059, -0.046724457293748856, -0.015141935087740421, -0.023741481825709343, -0.03555553779006004, -0.0027407528832554817, 0.033072616904973984, 0.08023788034915924, -0.035587914288043976, -0.004435217939317226, -0.09912963211536407, 0.009961881674826145, -0.0007180915563367307, -0.09089395403862, -0.019195474684238434, -0.0068106697872281075, 0.05765249580144882, -0.014750500209629536, -0.006130464840680361, -0.0054560196585953236, -0.022259486839175224, 0.003941030707210302, -0.014646073803305626, 0.08848581463098526, 0.03017638437449932, 0.06601852178573608, -0.07467518746852875, 0.050262171775102615, 0.017632557079195976, 0.03393107280135155, -0.07339378446340561, -0.03224065899848938, -0.035200025886297226, -0.03968008607625961, 0.00507282093167305, 0.046098679304122925, -0.0026068699080497026, -0.08021559566259384, 0.03258515149354935, -0.047597307711839676, -0.06423374265432358, 0.014504578895866871, -0.012467646971344948, -0.0218285471200943, -0.050874728709459305, 0.010693146847188473, 0.07217711955308914, -0.010155788622796535, 0.03413407877087593, 0.024515308439731598, 0.028786519542336464, 0.04804724082350731, -0.01945517212152481, -0.03765955939888954, -0.034958839416503906, 0.017746729776263237, -0.003929703030735254, 0.052520446479320526, 0.05120893940329552, 0.03993207588791847, -0.019845711067318916, -0.006256634835153818, -0.008448614738881588, -0.01981927827000618, 0.04372215270996094, -0.005229841452091932, -0.03597305715084076, -0.049728091806173325, 0.11961863189935684, -0.010142571292817593, 0.019906500354409218, 0.007083835080265999, 0.014675994403660297, 0.009971284307539463, -0.04589708521962166, 0.025337139144539833, 0.03749093413352966, 0.025018788874149323, -0.02401091903448105, 0.058342497795820236, -0.042765792459249496, -0.006108766887336969, 0.07612307369709015, -0.04730677604675293, 0.013580369763076305, 0.06589491665363312, -0.036316920071840286, -0.0038858638145029545, -0.023386241868138313, -0.03816066309809685, -0.036775413900613785, 0.07050663977861404, 0.022388994693756104, -0.2285362184047699, 0.02650240808725357, 0.03234970197081566, 0.04294760525226593, -0.000012720326594717335, 0.05956726148724556, 0.042001914232969284, -0.058638375252485275, -0.020463852211833, 0.03670165315270424, 0.016313908621668816, 0.03574910759925842, 0.0029086563736200333, -0.0019892556592822075, 0.023652682080864906, 0.014550473541021347, 0.03526986762881279, 0.023464230820536613, 0.04163172468543053, 0.0037624468095600605, 0.010090242139995098, -0.026856111362576485, 0.16430708765983582, 0.025166887789964676, 0.032265957444906235, 0.07256752252578735, 0.0015189582481980324, 0.050830114632844925, 0.07445397973060608, 0.011590576730668545, 0.010615640319883823, 0.0094707440584898, 0.052622243762016296, 0.0030238223262131214, 0.061285123229026794, -0.10329186171293259, 0.028253916651010513, 0.023033490404486656, 0.019193541258573532, -0.01501526404172182, -0.05472619831562042, 0.06367242336273193, 0.017927365377545357, 0.02001379430294037, 0.07436343282461166, 0.0063414727337658405, -0.042378973215818405, -0.06359023600816727, -0.04263870418071747, 0.00111468939576298, -0.022108541801571846, -0.1019146516919136, -0.007861574180424213, -0.010811211541295052, 0.005253889597952366, 0.10198891907930374, 0.018638016656041145, -0.03438887372612953, -0.058964647352695465, -0.0236117634922266, 0.004033154342323542, -0.0025853910483419895, 0.07235432416200638, -0.010433793999254704, 0.023348147049546242 ]
[ -0.028902851045131683, 0.013380168937146664, -0.004153301008045673, 0.0022409921512007713, 0.011018873192369938, 0.0066848150454461575, -0.022713571786880493, 0.017946461215615273, -0.00965323019772768, -0.013470239005982876, 0.00921731349080801, -0.02582298032939434, 0.016920823603868484, -0.01007949747145176, 0.035860154777765274, -0.024597950279712677, 0.03347962349653244, 0.006583886221051216, 0.009288129396736622, -0.0241608377546072, -0.013982203789055347, 0.05995728075504303, -0.00788741186261177, -0.028367554768919945, -0.011431732214987278, 0.06406109035015106, -0.011028165929019451, 0.0011227625655010343, 0.010710526257753372, -0.126519575715065, -0.023242520168423653, -0.03624190017580986, 0.00014814808673691005, -0.014460490085184574, 0.002049495233222842, 0.026687340810894966, -0.009011207148432732, 0.017094286158680916, 0.013283823616802692, -0.010364402085542679, 0.007452076766639948, 0.008427271619439125, 0.011512168683111668, -0.04521052911877632, -0.05469323694705963, -0.050347838550806046, -0.004206666722893715, -0.015635164454579353, -0.022326579317450523, 0.022625455632805824, -0.024498842656612396, 0.008612344041466713, 0.04512558504939079, 0.000019911831259378232, -0.002686674939468503, 0.011701335199177265, -0.0337115041911602, 0.022669987753033638, 0.0007528132991865277, -0.01225977297872305, 0.024267366155982018, -0.009357636794447899, -0.00187766645103693, -0.02477884478867054, -0.02441391907632351, -0.03250295668840408, -0.0013138864887878299, 0.00042458981624804437, 0.001629779813811183, -0.010175200179219246, 0.002894388744607568, -0.00963456928730011, -0.014074290171265602, 0.01351761445403099, -0.006140304263681173, 0.05975645035505295, 0.03230822831392288, -0.019925545901060104, 0.017062807455658913, -0.01894473284482956, -0.049941301345825195, -0.016901705414056778, -0.03278017416596413, -0.0003719158412422985, -0.015636557713150978, 0.0011116624809801579, 0.0049675507470965385, -0.008663689717650414, 0.04317137971520424, 0.044943999499082565, 0.012226072140038013, -0.024458063766360283, 0.02004232071340084, -0.005369884893298149, -0.08829492330551147, 0.001661128830164671, -0.03769620507955551, 0.02207905426621437, -0.009445480071008205, 0.8142426013946533, 0.036834195256233215, 0.025545872747898102, 0.05903499945998192, 0.030950259417295456, 0.034483902156353, -0.016949668526649475, -0.031829480081796646, 0.025048380717635155, 0.0029620155692100525, -0.04220473766326904, 0.035496413707733154, -0.012756936252117157, 0.04241904988884926, 0.036244891583919525, 0.03558419272303581, -0.005803316831588745, 0.04956638813018799, -0.01478896290063858, 0.008554770611226559, 0.06622476130723953, 0.04865598306059837, -0.04148736223578453, -0.01435176283121109, -0.03579312562942505, 0.002331772819161415, -0.14158137142658234, -0.021150412037968636, -7.539190241368163e-33, 0.04578879103064537, -0.02422131411731243, 0.04262400418519974, -0.0005620059091597795, 0.054439473897218704, -0.02778698317706585, -0.01770384982228279, 0.04196622222661972, 0.04516866058111191, -0.06980554014444351, -0.018269751220941544, -0.02360743097960949, -0.009766983799636364, -0.04448908194899559, -0.006179591175168753, 0.00025945313973352313, -0.018674828112125397, 0.010754340328276157, -0.002190434606745839, 0.04363907501101494, 0.021703436970710754, 0.02557278610765934, -0.007112281862646341, 0.009462018497288227, 0.017334800213575363, 0.03257979452610016, 0.03047233261168003, -0.03317601978778839, -0.011256970465183258, -0.019001564010977745, 0.001204669359140098, -0.001609786064364016, -0.02521771751344204, 0.00027297090855427086, 0.006953940261155367, -0.038392286747694016, -0.031988780945539474, 0.013436960987746716, -0.02706225775182247, -0.06742232292890549, -0.061132341623306274, -0.02507265843451023, -0.047133322805166245, 0.05823500454425812, -0.022125760093331337, -0.03569966182112694, 0.01080559752881527, 0.035507120192050934, 0.009458438493311405, 0.032288894057273865, -0.00035997721715830266, -0.04024256393313408, 0.021697187796235085, -0.024639954790472984, 0.02119140885770321, 0.027178796008229256, 0.025603683665394783, 0.059667136520147324, 0.013286327943205833, 0.026511473581194878, -0.022156046703457832, -0.005416098516434431, -0.022357920184731483, 0.04718872159719467, 0.022948022931814194, -0.007907779887318611, -0.0127862598747015, 0.006905560381710529, -0.03671855852007866, -0.0027992266695946455, -0.015765681862831116, -0.008216651156544685, 0.0344252735376358, 0.006068321410566568, 0.02701382525265217, -0.026789356023073196, 0.004698456730693579, 0.003951888531446457, -0.01118939183652401, 0.029704440385103226, 0.005889348220080137, -0.011196308769285679, -0.019968006759881973, -0.02976011112332344, -0.04119807109236717, -0.002369734225794673, 0.004563675727695227, 0.002870692638680339, 0.04120530188083649, 0.041407570242881775, 0.04935244843363762, 0.05107014253735542, -0.028707530349493027, -0.0039060350973159075, -0.033736277371644974, 7.823933911387692e-33, -0.01783653348684311, -0.028670499101281166, -0.009298592805862427, -0.005954918451607227, 0.00919828936457634, -0.007606997154653072, 0.016634052619338036, 0.029380258172750473, -0.050265271216630936, 0.016785142943263054, -0.057582128793001175, 0.002534490078687668, 0.0011924466816708446, 0.024201111868023872, 0.02076353132724762, -0.03367577865719795, 0.06354090571403503, -0.0035797180607914925, 0.05364511162042618, 0.011329082772135735, 0.044409167021512985, -0.016353612765669823, 0.028543781489133835, 0.007589570712298155, 0.03140196204185486, 0.006436243187636137, -0.044905878603458405, 0.00858792383223772, -0.033455315977334976, -0.02057722583413124, 0.01589423045516014, -0.004772183019667864, 0.03223538398742676, -0.04467152804136276, -0.05839121714234352, -0.01904960721731186, -0.005523056257516146, -0.011069533415138721, 0.015374312177300453, -0.04020051658153534, 0.019851913675665855, -0.04357192665338516, 0.0013394142733886838, 0.04039608687162399, 0.009283196181058884, 0.024614917114377022, -0.00654670549556613, -0.03439101576805115, -0.02490765042603016, 0.008138885721564293, -0.03838466480374336, 0.022650854662060738, 0.016537027433514595, 0.026688072830438614, 0.007485180627554655, 0.0040685320273041725, -0.03181396797299385, 0.03076750971376896, 0.007763365283608437, 0.0412362739443779, -0.014279825612902641, -0.0512753464281559, -0.004072548821568489, -0.010870564728975296, -0.018445100635290146, -0.02615499682724476, 0.008188014850020409, 0.015819890424609184, -0.012781670317053795, -0.007895990274846554, -0.0028312697540968657, -0.016712060198187828, -0.008681164123117924, 0.0161521565169096, 0.04492907226085663, -0.016620708629488945, 0.01194714941084385, -0.04834239184856415, -0.03713035210967064, -0.012457380071282387, -0.005680803209543228, -0.0011263875057920814, -0.022591298446059227, -0.010070695541799068, 0.026045825332403183, 0.018998024985194206, -0.0011366036487743258, 0.036634933203458786, -0.012912759557366371, -0.01177099347114563, -0.015808146446943283, -0.005999305751174688, -0.0313168428838253, 0.00015661920770071447, -0.012591446749866009, -1.2922879655263841e-8, 0.0006778506794944406, -0.034040529280900955, -0.001164941699244082, 0.019806385040283203, 0.09040852636098862, 0.023533079773187637, -0.027451680973172188, 0.014982967637479305, 0.024038633331656456, 0.04665306210517883, 0.02859717607498169, -0.014975829049944878, 0.010005234740674496, 0.00742194801568985, 0.02918912284076214, -0.02892995998263359, -0.018452683463692665, -0.0050163655541837215, 0.03275914490222931, 0.01179440412670374, 0.03107040748000145, 0.04124431684613228, -0.019692227244377136, 0.0038487857673317194, 0.021097863093018532, 0.02096632495522499, 0.03256383538246155, -0.06429842114448547, -0.02130766026675701, -0.03788774460554123, -0.026898017153143883, -0.014791526831686497, -0.022695831954479218, -0.007124129682779312, -0.06520599871873856, -0.03844235837459564, 0.011690804734826088, 0.020058199763298035, -0.010213875211775303, 0.016602903604507446, -0.004246966913342476, 0.033822786062955856, -0.04693291708827019, -0.012181415222585201, 0.005567045882344246, 0.038385409861803055, -0.026527980342507362, 0.05366889759898186, -0.014868303202092648, -0.017367444932460785, -0.028960613533854485, -0.026973091065883636, 0.03884175419807434, -0.011632425710558891, 0.02402300015091896, -0.011480842716991901, 0.041360143572092056, -0.02476196549832821, -0.016675347462296486, 0.03941020369529724, 0.07198338210582733, 0.004140463657677174, -0.02693074382841587, -0.03278153017163277 ]
jackson-core-asl-java-lang-abstractmethoderror-org-codehaus-jackson-jsonnode-getvalueastextljavalangstring
https://markhneedham.com/blog/2013/09/14/jackson-core-asl-java-lang-abstractmethoderror-org-codehaus-jackson-jsonnode-getvalueastextljavalangstring
false
2013-09-14 21:02:30
Glicko Rating System: A simple example using Clojure
[ "software-development", "glicko" ]
[ "Clojure", "Ranking Systems" ]
A couple of weeks ago I wrote about the http://www.markhneedham.com/blog/2013/08/31/elo-rating-system-ranking-champions-league-teams-using-clojure/[Elo Rating system] and when reading more about it I learnt that one of its weaknesses is that it doesn't take into account the reliability of a players' rating. For example, a player may not have played for a long time. When they next play a match we shouldn't assume that the accuracy of that rating is the same as for another player with the same rating but who plays regularly. Mark Glickman wrote the http://www.glicko.net/glicko/glicko.pdf[Glicko Rating System] to take the uncertainty into account by introducing a 'ratings deviation' (RD). A low RD indicates that a player competes frequently and a higher RD indicates that they don't. One other difference between Glicko and Elo is the following: ____ It is interesting to note that, in the Glicko system, rating changes are not balanced as they usually are in the Elo system. If one player's rating increases by x, the opponent's rating does not usually decrease by x as in the Elo system. In fact, in the Glicko system, the amount by which the opponent's rating decreases is governed by both players' RD's. ____ The RD value effectively tells us the range in which the player's actual rating probably exists. i.e. a 95% confidence interval. e.g. if a player has a rating of 1850 and a RD of 50 then the interval is 1750 - 1950 or +++<cite>+++(Rating - 2*RD)+++</cite>+++ - +++<cite>+++(Rating + 2*RD)+++</cite>+++ The algorithm has 2 steps: . Determine a rating and RD for each player at the onset of the rating period. If the player is unrated use a value of 1500 and RD of 350. If they do have a rating we'll calculate the new RD from the old RD using this formula: + image::{{<siteurl>}}/uploads/2013/09/glicko-rd.jpg[Glicko rd,213] + where: ** t is the number of rating periods since last competition (e.g., if the player competed in the most recent rating period, t = 1) ** c is a constant that governs the increase in uncertainty over time. . Update each players rating and RD separately using the following formula: + image::{{<siteurl>}}/uploads/2013/09/glicko.jpg[Glicko,561] + where: ** r is the player's pre-period rating ** RD is the player's pre-period ratings deviation ** r~1~, r~2~,\...,r~m~ are the pre-period ratings of their opponents ** RD~1~, RD~2~,\...,RD~m~ are the pre-period ratings deviations of their opponents ** s~1~, s~2~,\...,2~m~ are the scores against the opponents. 1 is a win, 1/2 is a draw, 0 is a defeat. ** r' is the player's post-period rating ** RD' is the player's post-period ratings deviation The http://www.glicko.net/glicko/glicko.pdf[paper] provides an example to follow and includes the intermediate workings which made it easier to build the algorithm one function at a time. The +++<cite>+++q+++</cite>+++ function was the simplest to implement so I created that and the +++<cite>+++g+++</cite>+++ function at the same time: [source,lisp] ---- (ns ranking-algorithms.glicko (:require [clojure.math.numeric-tower :as math])) (def q (/ (java.lang.Math/log 10) 400)) (defn g [rd] (/ 1 (java.lang.Math/sqrt (+ 1 (/ (* 3 (math/expt q 2) (math/expt rd 2)) (math/expt ( . Math PI) 2)))))) ---- We can use the following table to check we get the right results when we call it.: image::{{<siteurl>}}/uploads/2013/09/glicko-table.jpg[Glicko table,419] [source,lisp] ---- > (g 30) 0.9954980060779481 > (g 100) 0.953148974234587 > (g 300) 0.7242354637384434 ---- The next easiest function to write was the +++<cite>+++E+++</cite>+++ function: [source,lisp] ---- (defn e [rating opponent-rating opponent-rd] (/ 1 (+ 1 (math/expt 10 (/ (* (- (g opponent-rd)) (- rating opponent-rating)) 400))))) ---- And if we test that assuming that we have a rating of 1500 with a RD of 200: [source,lisp] ---- > (e 1500 1400 30) 0.639467736007921 > (e 1500 1550 100) 0.43184235355955686 > (e 1500 1700 300) 0.30284072524764 ---- Finally we need to write the +++<cite>+++d^2^+++</cite>+++ supporting function: [source,lisp] ---- (defn d2 [opponents] (/ 1 (* (math/expt q 2) (reduce process-opponent 0 opponents)))) (defn process-opponent [total opponent] (let [{:keys [g e]} opponent] (+ total (* (math/expt g 2) e (- 1 e))))) ---- In this function we need to sum a combination of the +++<cite>+++g+++</cite>+++ and +++<cite>+++e+++</cite>+++ values we calculated earlier for each opponent so we can use a reduce over a collection of those values for each opponent to do that: [source,lisp] ---- > (d2 [{:g (g 30) :e (e 1500 1400 30)} {:g (g 100) :e (e 1500 1550 100)} {:g (g 300) :e (e 1500 1700 300)}]) 53685.74290197874 ---- I get a slightly different value for this function which I think is because I didn't round the intermediate values to 2 decimal places as the example does. Now we can introduce the +++<cite>+++r'+++</cite>+++ function which returns our ranking after taking the matches against these opponents into account: [source,lisp] ---- (defn update-ranking [ranking-delta opponent] (let [{:keys [ranking opponent-ranking opponent-ranking-rd score]} opponent] (+ ranking-delta (* (g opponent-ranking-rd) (- score (e ranking opponent-ranking opponent-ranking-rd)))))) (defn g-and-e [ranking {o-rd :opponent-ranking-rd o-ranking :opponent-ranking}] {:g (g o-rd) :e (e ranking o-ranking o-rd)}) (defn ranking-after-round [{ ranking :ranking rd :ranking-rd opponents :opponents}] (+ ranking (* (/ q (+ (/ 1 (math/expt rd 2)) (/ 1 (d2 (map (partial g-and-e ranking) opponents))))) (reduce update-ranking 0 (map #(assoc-in % [:ranking] ranking) opponents))))) ---- One thing I wasn't sure about here was the use of +++<cite>+++partial+++</cite>+++ which is a bit of a Haskell idiom. I'm not sure what the favoured approach is in Clojure land yet. If we execute that function we get the expected result: [source,lisp] ---- > (ranking-after-round { :ranking 1500 :ranking-rd 200 :opponents[{:opponent-ranking 1400 :opponent-ranking-rd 30 :score 1} {:opponent-ranking 1550 :opponent-ranking-rd 100 :score 0} {:opponent-ranking 1700 :opponent-ranking-rd 300 :score 0}]}) 1464.1064627569112 ---- The only function missing now is +++<cite>+++RD'+++</cite>+++ which returns our RD after taking these matches into account: [source,lisp] ---- (defn rd-after-round [{ ranking :ranking rd :ranking-rd opponents :opponents}] (java.lang.Math/sqrt (/ 1 (+ (/ 1 (math/expt rd 2) ) (/ 1 (d2 (map (partial g-and-e ranking) opponents))))))) ---- If we execute that function we get the expected result and we're done! [source,lisp] ---- > (rd-after-round { :ranking 1500 :ranking-rd 200 :opponents[{:opponent-ranking 1400 :opponent-ranking-rd 30 :score 1} {:opponent-ranking 1550 :opponent-ranking-rd 100 :score 0} {:opponent-ranking 1700 :opponent-ranking-rd 300 :score 0}]}) 151.39890244796933 ---- The next step is to run this algorithm against the football data and see if its results differ to the ones I got with the Elo algorithm. I'm still not quite sure what I should set the rating period to. My initial thinking was that the rating period could be a season but that would mean that a team's rating only really makes sense after a few seasons of matches. The https://github.com/mneedham/ranking-algorithms/blob/master/src/ranking_algorithms/glicko.clj[code is on github]if you want to play with it and if you have any suggestions on how to make the code more idiomatic I'd love to hear them.
null
null
[ -0.023290185257792473, 0.0167064405977726, 0.008322300389409065, 0.01796557754278183, 0.06403227150440216, -0.023931076750159264, 0.034600045531988144, 0.0325576588511467, 0.011509386822581291, -0.041338592767715454, 0.030800053849816322, 0.022298168390989304, -0.0703253224492073, 0.008383513428270817, -0.006874273996800184, 0.08284114301204681, 0.06451256573200226, 0.03294184058904648, -0.011271867901086807, -0.0323147289454937, 0.045410625636577606, 0.0838390365242958, 0.0038751966785639524, 0.03724744915962219, 0.052704423666000366, -0.0016946448013186455, 0.026743505150079727, 0.024404078722000122, -0.042659807950258255, -0.0022039643954485655, 0.052880194038152695, 0.0069404044188559055, -0.020618924871087074, -0.02265900745987892, 0.014929822646081448, -0.02810394950211048, -0.008367836475372314, 0.026789451017975807, -0.006676617544144392, 0.002995987655594945, -0.058629609644412994, 0.044671546667814255, -0.038598522543907166, 0.03554583340883255, -0.03580459952354431, 0.008672677911818027, -0.03794250264763832, 0.013153476640582085, -0.004543388728052378, -0.006568155717104673, -0.07200083136558533, 0.022915899753570557, -0.02719455398619175, 0.02357306517660618, -0.02762339636683464, 0.02388772927224636, 0.024145595729351044, -0.030495133250951767, 0.019133711233735085, -0.055665258318185806, -0.008350896649062634, -0.005874414928257465, -0.0023022745735943317, 0.01032639853656292, 0.004233330488204956, -0.011736385524272919, 0.014855739660561085, 0.027545355260372162, -0.025286037474870682, 0.004448872525244951, -0.018941735848784447, -0.023692546412348747, 0.0005901307449676096, -0.045776840299367905, 0.004919539671391249, -0.07536239922046661, -0.012143854983150959, 0.08051979541778564, 0.04189777001738548, 0.02938576228916645, -0.00162130210082978, -0.007831206545233727, 0.0023671588860452175, 0.01089373417198658, -0.02292753756046295, -0.02854946255683899, 0.005564299877732992, -0.030877450481057167, -0.0450410321354866, 0.06562773883342743, 0.015201177448034286, -0.04790458083152771, 0.013867906294763088, 0.022459182888269424, -0.01968355104327202, -0.0053020319901406765, 0.03386985883116722, -0.004209584556519985, -0.02315457910299301, -0.05319395661354065, 0.003277156502008438, -0.0397842712700367, 0.021051790565252304, 0.014033442363142967, -0.10022973269224167, -0.01070430874824524, 0.007439238950610161, 0.016222793608903885, -0.01182294450700283, 0.019180120900273323, -0.024502502754330635, 0.02998863160610199, 0.006089956499636173, -0.008293545804917812, -0.08883144706487656, 0.05064139515161514, 0.010997585952281952, -0.014512930065393448, 0.00800631195306778, 0.033721644431352615, 0.0407479852437973, 0.008576823398470879, -0.007358956150710583, 0.06704862415790558, -0.002832127269357443, 0.02375083789229393, 0.025470074266195297, 0.03821843862533569, 0.003706200048327446, -0.048324305564165115, 0.00735955685377121, 0.052334047853946686, -0.02767304889857769, 0.023179324343800545, -0.011255980469286442, -0.04913970082998276, -0.012873548083007336, -0.04349767044186592, 0.0413338765501976, 0.05157746747136116, -0.007421392947435379, -0.02921607904136181, 0.01225296314805746, 0.014818675816059113, 0.018219836056232452, -0.01860794425010681, 0.011153171770274639, -0.034482475370168686, 0.0013414848363026977, -0.0011819059727713466, 0.05399613454937935, 0.018245289102196693, 0.038499876856803894, -0.025445008650422096, -0.0029260418377816677, 0.08009181171655655, 0.03749002888798714, -0.01436811313033104, -0.020124830305576324, 0.055415261536836624, 0.049832724034786224, 0.013165228068828583, -0.0028320280835032463, 0.014175097458064556, 0.01622169278562069, -0.01574547030031681, 0.004705683793872595, 0.06380529701709747, -0.025134429335594177, 0.0027368380688130856, -0.03485630825161934, -0.027862336486577988, 0.05371043086051941, -0.029043445363640785, -0.0009475830593146384, 0.06538654863834381, 0.06157676875591278, 0.060446757823228836, 0.06854157149791718, 0.003747147275134921, -0.07794797420501709, 0.021213438361883163, 0.010961097665131092, 0.026011770591139793, 0.039520882070064545, -0.011558165773749352, 0.07852225750684738, 0.01814965531229973, -0.008488211780786514, 0.05179931968450546, -0.08150573074817657, -0.055350493639707565, -0.0086729871109128, -0.0399041585624218, 0.06672603636980057, -0.0472046323120594, 0.010161402635276318, 0.05555776134133339, 0.024311114102602005, 0.035401396453380585, 0.03883059322834015, 0.01200972031801939, 0.02553519420325756, -0.0318012572824955, -0.05123026669025421, 0.04357452690601349, 0.02456604316830635, -0.022407501935958862, -0.04093647003173828, 0.03526044264435768, -0.0314578115940094, -0.002015875419601798, -0.005482310429215431, -0.04122713580727577, -0.0002816464693751186, 0.018739627674221992, 0.07015907019376755, -0.024159438908100128, 0.02017074078321457, -0.03697298467159271, 0.023474665358662605, 0.030270561575889587, 0.0013416390866041183, 0.02664925530552864, -0.00701631186529994, 0.12198321521282196, 0.035576678812503815, -0.022067150101065636, -0.07692468166351318, 0.022810818627476692, 0.00810613390058279, -0.02835235558450222, 0.024775192141532898, 0.0005561402067542076, 0.007820726372301579, -0.010625540278851986, -0.05911589786410332, -0.048020169138908386, 0.01062561385333538, -0.03182346001267433, 0.006328916642814875, 0.07632660120725632, 0.019712405279278755, 0.055613383650779724, -0.008634372614324093, 0.01181945763528347, -0.00847945548593998, -0.000796110020019114, -0.06443473696708679, -0.01384583581238985, 0.00817040354013443, -0.01375420019030571, 0.01767013408243656, -0.022954441606998444, -0.0176145751029253, -0.022898251190781593, -0.027189450338482857, 0.030744299292564392, 0.04973094165325165, 0.0468636155128479, 0.04699725657701492, 0.020450521260499954, -0.01699831336736679, -0.013344060629606247, -0.018226463347673416, -0.0629802718758583, -0.04695817455649376, -0.05035009980201721, -0.007278967648744583, -0.014213059097528458, 0.0035583239514380693, 0.016868865117430687, 0.008085798472166061, 0.008731478825211525, -0.011772474274039268, 0.029171597212553024, 0.02440006658434868, -0.004741045646369457, -0.0009380888077430427, -0.0007928796112537384, -0.0013446803204715252, 0.05042564868927002, -0.009941288270056248, 0.002322383923456073, -0.00045958260307088494, -0.05029744654893875, 0.026078203693032265, -0.07400266826152802, -0.026784060522913933, 0.003723103553056717, -0.029855169355869293, 0.039044398814439774, 0.02445564605295658, 0.028731413185596466, 0.04733051359653473, 0.01033022440969944, 0.012447169050574303, 0.0336589515209198, 0.02528216689825058, 0.045136459171772, 0.009035875089466572, 0.000329038331983611, 0.05293748527765274, -0.030753586441278458, 0.014685140922665596, -0.05480027198791504, 0.010141030885279179, -0.0018526065396144986, -0.30058613419532776, 0.021114753559231758, 0.0016832398250699043, -0.02542380802333355, 0.011562153697013855, -0.021425507962703705, 0.009986409917473793, -0.024153057485818863, -0.026062699034810066, 0.05089140310883522, -0.021114153787493706, -0.02205801196396351, -0.030320066958665848, 0.04284440726041794, 0.02818109840154648, 0.023443685844540596, 0.030120592564344406, -0.05028260499238968, -0.01687834970653057, 0.05244005098938942, 0.005715333390980959, -0.08024473488330841, -0.03599533811211586, 0.023462815210223198, 0.015142828226089478, 0.08130543678998947, -0.04768774285912514, -0.007279864512383938, -0.07041987031698227, -0.013489390723407269, -0.006187101360410452, -0.016960900276899338, -0.00936211459338665, -0.027844054624438286, -0.012566303834319115, -0.025577852502465248, 0.05709280073642731, 0.006786072626709938, -0.039356570690870285, 0.009742062538862228, -0.029456844553351402, -0.014615789987146854, -0.005073633044958115, 0.006872661877423525, 0.08653615415096283, 0.04279269278049469, -0.07382649928331375, 0.027525966987013817, -0.04794511944055557, 0.06742056459188461, -0.023912599310278893, -0.015926465392112732, -0.018656233325600624, 0.04200638830661774, -0.019196409732103348, -0.017460795119404793, -0.002965085906907916, -0.013618017546832561, -0.017431598156690598, -0.01684197597205639, -0.03458889201283455, -0.04394824057817459, 0.0073239668272435665, -0.004247294273227453, -0.023238779976963997, -0.06511996686458588, -0.05543289706110954, -0.0007492790464311838, 0.054740261286497116, 0.011317410506308079, -0.047904081642627716, 0.014180845580995083, -0.014130362309515476, -0.08256874233484268, -0.021683339029550552, -0.0028278157114982605, 0.0174130629748106, 0.025933681055903435, -0.011479202657938004, 0.06348966062068939, -0.05379186198115349, -0.0626048818230629, 0.00885026715695858, 0.002058356534689665, 0.02862711250782013, -0.007333249319344759, 0.035387177020311356, 0.059042949229478836, -0.010395846329629421, -0.00809943675994873, 0.08865857124328613, -0.007974349893629551, -0.008609408512711525, 0.0013509790878742933, 0.0022599257063120604, 0.040180742740631104, 0.0090066222473979, -0.006128717213869095, 0.014530633576214314, 0.045428380370140076, 0.007031997665762901, -0.06833679229021072, 0.038766391575336456, -0.02051587961614132, -0.037484269589185715, -0.005929725244641304, -0.05061843991279602, 0.006131355185061693, 0.025414498522877693, 0.006815281230956316, 0.03375687077641487, -0.03606056421995163, 0.011056000366806984, -0.019055062904953957, -0.01539923157542944, -0.02341916412115097, 0.017500441521406174, 0.04493420198559761, -0.017691094428300858, -0.0018109985394403338, -0.07865803688764572, 0.023741697892546654, -0.030730195343494415, -0.041026316583156586, -0.07083502411842346, -0.006747865583747625, 0.015909887850284576, -0.029996389523148537, 0.004016720224171877, -0.008099568076431751, -0.02873210795223713, 0.0446975938975811, 0.04207528755068779, -0.023001015186309814, 0.021755089983344078, -0.013036516495049, -0.07106281071901321, -0.018571380525827408, 0.014583487994968891, -0.0008832151652313769, 0.004492902662605047, 0.014066877774894238, 0.023860633373260498, 0.03261256963014603, 0.03007327951490879, -0.011869617737829685, 0.024897977709770203, -0.023231104016304016, 0.010563052259385586, 0.03333853557705879, 0.008290313184261322, -0.057955414056777954, 0.03407340124249458, -0.059624817222356796, -0.027674145996570587, 0.003812667215242982, 0.01905716024339199, 0.01198505237698555, -0.035562410950660706, -0.04451705887913704, 0.017116494476795197, -0.039861079305410385, -0.0496806725859642, -0.03300006687641144, 0.04710417240858078, 0.08182355761528015, -0.00985327735543251, 0.009281806647777557, -0.008836928755044937, 0.002157655544579029, -0.004245096351951361, -0.03536737337708473, -0.052302323281764984, -0.015348839573562145, -0.015223769471049309, -0.019341586157679558, 0.004051985219120979, 0.021631043404340744, 0.016086792573332787, -0.014343690127134323, 0.0029414098244160414, -0.030263110995292664, 0.003771974006667733, 0.02277296595275402, 0.037463828921318054, 0.015555468387901783, -0.005609466694295406, -0.018809286877512932, 0.005975461099296808, -0.024028025567531586, -0.029568685218691826, 0.01837099716067314, -0.016293685883283615, 0.0010912440484389663, -0.031235184520483017, -0.056398991495370865, 0.022694194689393044, 0.005414254497736692, -0.010257204063236713, 0.011230363510549068, 0.006046008784323931, -0.030753204599022865, -0.024771563708782196, 0.01066942885518074, 0.07335466891527176, -0.05288666486740112, 0.0022940209601074457, 0.003339493414387107, -0.02490405924618244, 0.006429821252822876, -0.018233753740787506, -0.04516437649726868, -0.03037787601351738, 0.0011327246902510524, 0.04438911750912666, -0.060041747987270355, -0.025562942028045654, -0.04411723464727402, -0.020041652023792267, 0.010610036551952362, 0.016754738986492157, -0.03648779168725014, -0.029596220701932907, 0.0001037486144923605, -0.014006507582962513, -0.01243736781179905, 0.010731358081102371, -0.0009842242579907179, 0.019294235855340958, -0.025432085618376732, -0.004908526781946421, -0.01294718962162733, 0.01280345767736435, 0.03936028480529785, -0.021922055631875992, 0.0203233789652586, -0.03447386994957924, 0.018846958875656128, 0.009862912818789482, 0.04976945370435715, -0.014683947898447514, -0.02759958617389202, -0.025193287059664726, 0.020319120958447456, -0.02819082885980606, -0.008956147357821465, -0.00625029020011425, -0.021215004846453667, 0.0374743826687336, 0.057165104895830154, 0.023932643234729767, 0.014336458407342434, -0.024377042427659035, -0.012312590144574642, 0.06453502923250198, -0.06453891843557358, -0.000006061735348339425, -0.01986030675470829, -0.04244823008775711, 0.027377281337976456, 0.010697618126869202, -0.007022279314696789, -0.03675413504242897, 0.014225000515580177, 0.042273782193660736, 0.018587177619338036, 0.03998719900846481, 0.020850323140621185, 0.02389047108590603, -0.06098931282758713, -0.009324684739112854, -0.09674637019634247, 0.021358925849199295, 0.04893083870410919, 0.024135595187544823, 0.01023074146360159, -0.002805774798616767, -0.030429242178797722, 0.03073200210928917, -0.06949184089899063, -0.028858017176389694, 0.014059927314519882, -0.01678527146577835, -0.016887623816728592, 0.008393440395593643, -0.06123010814189911, -0.027260301634669304, 0.03336174041032791, -0.04338759183883667, -0.007101415656507015, -0.02699935995042324, 0.03618089482188225, -0.022470153868198395, 0.018911901861429214, -0.03221822902560234, -0.008354303427040577, 0.07237643748521805, 0.005475436802953482, -0.004317984450608492, 0.04434589296579361, -0.008180621080100536, 0.049446459859609604, 0.025585217401385307, 0.01445549726486206, 0.015789782628417015, 0.02310888282954693, -0.0024503120221197605, -0.05011620745062828, 0.03550998866558075, -0.005868030712008476, -0.013270745985209942, -0.062052901834249496, 0.04941122606396675, -0.0008632339304313064, -0.04236673191189766, -0.062120240181684494, 0.007708769757300615, -0.020026596263051033, -0.010701257735490799, -0.00047885163803584874, -0.001717886421829462, -0.035552773624658585, 0.07218847423791885, 0.01337157841771841, 0.018290210515260696, 0.06644145399332047, 0.010769559070467949, -0.03492138534784317, 0.023395881056785583, 0.09460911899805069, 0.09585826843976974, 0.04775962978601456, -0.012629776261746883, 0.0698937252163887, 0.0056929998099803925, -0.05918370559811592, -0.00851677916944027, -0.0020081729162484407, 0.0042146421037614346, 0.0016104507958516479, 0.002146240323781967, 0.03367030620574951, -0.030570892617106438, 0.07230083644390106, -0.0138533441349864, -0.05053757503628731, 0.017139026895165443, -0.00044850248377770185, 0.00178032205440104, 0.05790814384818077, -0.006553865969181061, 0.011432678438723087, -0.007834858261048794, -0.03356803581118584, 0.009402135387063026, -0.020804664120078087, -0.021115992218255997, -0.014292075298726559, -0.04386521503329277, 0.026991786435246468, 0.0032707659993320704, 0.02677682228386402, 0.090866319835186, -0.06181919574737549, 0.019835982471704483, -0.000990017899312079, 0.017788199707865715, -0.005222178529947996, 0.004228971432894468, 0.0032558145467191935, -0.013880042359232903, -0.03336518630385399, -0.019687173888087273, -0.002374188741669059, -0.02576482482254505, -0.02811814472079277, 0.012289907783269882, -0.011413387954235077, 0.025128906592726707, 0.05742863938212395, -0.0012779145035892725, -0.018533358350396156, -0.05410471931099892, -0.028108900412917137, -0.06847579777240753, -0.0557483434677124, -0.019908400252461433, 0.04217066615819931, -0.010971231386065483, -0.02962874434888363, 0.006303952541202307, -0.005197993014007807, -0.03977347910404205, 0.0319371335208416, -0.025017786771059036, -0.03155862167477608, 0.031577881425619125, 0.021361397579312325, 0.028618477284908295, 0.013635097071528435, 0.05196446552872658, -0.00764621514827013, -0.003491949988529086, -0.0025911289267241955, 0.002279374748468399, 0.04329554736614227, 0.003448357107117772, -0.0031661593820899725, -0.07968296110630035, -0.004361649975180626, 0.04098336771130562, -0.049734413623809814, -0.07630633562803268, 0.0425662025809288, -0.0021279416978359222, -0.003549403278157115, 0.046537186950445175, -0.027282429859042168, 0.009414070285856724, -0.07949824631214142, -0.005866087973117828, -0.022112464532256126, 0.013610396534204483, 0.05930125340819359, -0.01700914464890957, 0.08965141326189041, 0.01986200362443924, -0.04197133705019951, -0.05529667064547539, -0.0017463634721934795, -0.025614093989133835, -0.015117296949028969, -0.04114032909274101, -0.01773945614695549, -0.02481338381767273, -0.10995005071163177, -0.009797925129532814, 0.017894409596920013, -0.023917628452181816, -0.03986033797264099, 0.0060819904319942, 0.012678656727075577, -0.0019325808389112353, -0.010976948775351048, -0.03166326880455017, 0.04215989634394646, -0.03819563612341881, 0.012089204974472523, -0.00891008973121643, 0.038597844541072845, -0.004212746396660805, 0.00018757005454972386, 0.025740982964634895, -0.0516522042453289, 0.019915997982025146, -0.020928971469402313, 0.0006840859423391521, 0.024678794667124748, 0.018675977364182472, -0.004904389381408691 ]
[ -0.10153394937515259, 0.010380893014371395, -0.012127545662224293, -0.015219640918076038, 0.04276910051703453, -0.003046030178666115, 0.046908020973205566, 0.02056407555937767, 0.07401561737060547, 0.015039073303341866, 0.007375698070973158, -0.05488625913858414, -0.00801184680312872, -0.004892758093774319, 0.03376416489481926, -0.03698151558637619, -0.021735243499279022, -0.061844926327466965, -0.024005988612771034, 0.006215292029082775, 0.002071117050945759, -0.043377917259931564, -0.023670632392168045, -0.04169769212603569, 0.020797913894057274, 0.008866703137755394, 0.014474816620349884, -0.016216427087783813, -0.04620804637670517, -0.22662948071956635, -0.014694451354444027, -0.008054360747337341, 0.06686673313379288, -0.014928771182894707, -0.04695427417755127, 0.00045164182665757835, -0.01648600958287716, 0.035515330731868744, 0.026946980506181717, 0.03433331847190857, 0.011606761254370213, 0.02710074372589588, -0.05427754670381546, -0.03792209178209305, 0.03120216354727745, 0.0252594705671072, 0.0007183218840509653, 0.02120925672352314, 0.00299162813462317, 0.05766924470663071, -0.050705257803201675, -0.01075252890586853, 0.0037880155723541975, -0.006869928445667028, 0.00478439312428236, 0.048779189586639404, 0.04913271218538284, 0.0658218264579773, 0.043888919055461884, 0.057035766541957855, 0.02725335583090782, 0.008971803821623325, -0.15201722085475922, 0.05102925002574921, 0.014603094197809696, 0.019636470824480057, -0.046315036714076996, -0.0017587477341294289, -0.041691139340400696, 0.070104219019413, 0.01054969523102045, -0.0561094731092453, -0.0007672353531233966, 0.0017402074299752712, 0.024271488189697266, 0.009653213433921337, -0.0314602255821228, -0.0015072739915922284, 0.0069495257921516895, 0.009079948998987675, -0.025817126035690308, 0.0037998808547854424, -0.048928190022706985, -0.04198237881064415, -0.033702291548252106, -0.005763863679021597, -0.01233766507357359, 0.046512115746736526, 0.001321616698987782, 0.015969688072800636, 0.06136929988861084, 0.0517236702144146, 0.03058723174035549, 0.011344604194164276, -0.06301170587539673, -0.009830511175096035, -0.026179052889347076, 0.003968085162341595, -0.045560743659734726, 0.4364197254180908, 0.008152377791702747, -0.006414754316210747, 0.029369667172431946, 0.04218710586428642, 0.010885599069297314, -0.008153628557920456, -0.006116173695772886, -0.048342205584049225, -0.007465825881808996, 0.005313009489327669, 0.005190120544284582, -0.0061674271710217, 0.028960738331079483, -0.011298459023237228, -0.009024258702993393, 0.06691539287567139, 0.03149395063519478, 0.025537759065628052, 0.03749246522784233, 0.02401304990053177, -0.022562887519598007, 0.005813984200358391, 0.005024944897741079, 0.005844370927661657, 0.040458858013153076, 0.02677474357187748, 0.011378665454685688, 0.07111456245183945, 0.024001922458410263, 0.014037532731890678, -0.004944426938891411, -0.0671045184135437, -0.093459352850914, -0.0025603307876735926, -0.010867058299481869, 0.006246510893106461, 0.03182442858815193, -0.004842543974518776, 0.023056279867887497, 0.0527370385825634, -0.007264067884534597, -0.07039258629083633, 0.06266961991786957, -0.016768062487244606, -0.03272903338074684, 0.1152195855975151, 0.0004973781760782003, -0.0339336022734642, 0.03352966904640198, -0.03564230352640152, -0.0018433260265737772, 0.003457641927525401, -0.01568247750401497, -0.06778717786073685, -0.03748510032892227, 0.010600630193948746, 0.06276099383831024, -0.03573617339134216, -0.057594407349824905, -0.014166094362735748, -0.0496726930141449, -0.010234559886157513, -0.04230653867125511, 0.06383800506591797, 0.05057905986905098, -0.07000827044248581, -0.015730373561382294, -0.02395104058086872, -0.02100909873843193, -0.05761365592479706, 0.02678203023970127, 0.013871505856513977, -0.04853101074695587, 0.003767576767131686, 0.03652217611670494, -0.009538143873214722, -0.020522603765130043, -0.03546033054590225, 0.04575606435537338, -0.026810573413968086, 0.03902726620435715, 0.02715431898832321, -0.062274280935525894, 0.010505427606403828, -0.038758933544158936, -0.03288613259792328, -0.0755838081240654, -0.017063841223716736, -0.020181424915790558, -0.006995555013418198, -0.05365116894245148, -0.028271982446312904, -0.07916946709156036, 0.07465412467718124, -0.028480837121605873, 0.008510013110935688, -0.011375091969966888, -0.024191582575440407, -0.015518027357757092, -0.012649225071072578, -0.05606897920370102, 0.028222136199474335, 0.027508942410349846, 0.006344624795019627, -0.0417323112487793, 0.08404020220041275, 0.03686857223510742, -0.02708904631435871, 0.09148695319890976, 0.015371573157608509, -0.019736645743250847, -0.06375695019960403, -0.048668261617422104, 0.022403232753276825, 0.011171401478350163, 0.039065342396497726, -0.006148836109787226, -0.009728830307722092, 0.0061437892727553844, 0.029944220557808876, -0.026879506185650826, 0.0349922850728035, -0.004095555283129215, -0.3455852270126343, -0.027914470061659813, -0.03441079705953598, 0.005164512433111668, 0.022860845550894737, -0.04865026846528053, 0.02132970094680786, -0.03037271276116371, 0.029642721638083458, 0.03878621757030487, 0.07377563416957855, 0.010629869066178799, -0.046417783945798874, -0.05928989499807358, 0.0033364980481565, 0.02268155850470066, -0.04757987707853317, -0.022448379546403885, -0.014564862474799156, 0.023082559928297997, 0.04865872487425804, 0.03267892822623253, -0.01682026870548725, -0.017528124153614044, 0.01980486512184143, -0.06317843496799469, 0.11053579300642014, 0.001055605593137443, 0.04256584867835045, -0.05673413723707199, 0.03305818513035774, -0.01868165098130703, -0.006134047172963619, -0.03686239570379257, 0.04241674765944481, -0.04026005417108536, -0.007379062939435244, -0.0380391888320446, 0.019914329051971436, -0.0656261220574379, -0.03383044898509979, 0.017031660303473473, -0.055038802325725555, -0.048035915940999985, -0.0710793063044548, 0.03033139742910862, 0.008998667821288109, 0.007321655750274658, -0.02436797507107258, 0.0840548425912857, 0.025102712213993073, 0.034655675292015076, 0.07935726642608643, -0.030703462660312653, 0.03885176405310631, -0.034153517335653305, -0.09574437886476517, 0.023502616211771965, 0.0025172648020088673, 0.0038029944989830256, 0.02139386348426342, 0.010130349546670914, 0.06673359125852585, -0.08117475360631943, 0.004094683099538088, -0.008554038591682911, 0.023359112441539764, -0.01867714338004589, 0.031109804287552834, -0.006366346497088671, -0.021611541509628296, 0.05487974360585213, -0.00015398654795717448, -0.010083437897264957, 0.04706675931811333, 0.051571618765592575, -0.003126859897747636, -0.011970403604209423, 0.011337309144437313, 0.04446643590927124, 0.03802923858165741, -0.0401013158261776, 0.03920808434486389, -0.031682319939136505, 0.012548774480819702, 0.012193395756185055, -0.01897571235895157, 0.01373051293194294, 0.037202704697847366, 0.04261333495378494, -0.030226150527596474, 0.005219427868723869, -0.02989770658314228, -0.0515575036406517, 0.014585496857762337, -0.027360323816537857, -0.24779459834098816, 0.004113690461963415, 0.07802598178386688, 0.059679772704839706, 0.024721840396523476, 0.013626087456941605, 0.0341375470161438, -0.048584189265966415, -0.02786252088844776, 0.022677257657051086, 0.03872481733560562, 0.02996671572327614, -0.004778320901095867, 0.008030643686652184, -0.01650557480752468, -0.04053614288568497, 0.025784127414226532, -0.03106696531176567, 0.08472564071416855, 0.030249640345573425, 0.0482570119202137, -0.010227187536656857, 0.17075054347515106, 0.0017632595263421535, 0.05184812471270561, 0.050649918615818024, -0.014390319585800171, -0.02205924317240715, -0.002276819432154298, -0.012541339732706547, -0.018677761778235435, 0.04850234463810921, 0.050640255212783813, 0.04622700437903404, 0.010398621670901775, 0.001190201728604734, -0.04703141003847122, 0.04530083015561104, -0.0041810679249465466, -0.03453050181269646, 0.014785601757466793, 0.01434580609202385, -0.042944930493831635, 0.035237111151218414, 0.08745403587818146, 0.012450424954295158, 0.004702577833086252, -0.03676026687026024, -0.05543812736868858, -0.021555205807089806, -0.048486724495887756, -0.045702047646045685, 0.008954798802733421, -0.006586388684809208, 0.0010635689832270145, 0.03815045580267906, 0.010184651240706444, -0.027709349989891052, 0.03815990686416626, -0.014868496917188168, -0.0024888794869184494, 0.00710772629827261, 0.06786493957042694, -0.01915120705962181, 0.024445904418826103 ]
[ 0.0016856734873726964, 0.0067835175432264805, 0.0031176675111055374, -0.02405961975455284, -0.01299426518380642, 0.03980507701635361, -0.0024182116612792015, 0.01734253019094467, -0.027244646102190018, 0.0018263650126755238, -0.014063570648431778, -0.014488647691905499, 0.07231520116329193, -0.01106078177690506, 0.0033574560657143593, -0.005719162989407778, -0.00854869931936264, -0.0011286899680271745, 0.013887584209442139, 0.013203910551965237, -0.0038198584225028753, 0.005920191761106253, -0.029051609337329865, -0.018510378897190094, -0.010776680894196033, -0.01117682084441185, -0.017756804823875427, 0.028466815128922462, 0.015689775347709656, -0.14489483833312988, -0.05325155705213547, -0.02637236751616001, 0.02264373190701008, -0.0010487096151337028, -0.07208710163831711, 0.0011257389560341835, -0.003859991440549493, -0.007179212290793657, 0.006856739055365324, -0.0101007716730237, -0.01573791727423668, 0.002653934294357896, 0.01741834357380867, 0.007005100604146719, 0.025989215821027756, 0.019367577508091927, -0.03228684142231941, -0.025395693257451057, -0.007890991866588593, 0.009902626276016235, -0.04875033348798752, -0.01279757171869278, 0.035797279328107834, -0.015783973038196564, -0.008474119007587433, -0.005777297075837851, -0.04238598048686981, 0.0001619348331587389, 0.01349562406539917, -0.013507532887160778, 0.0029224958270788193, -0.008155278861522675, -0.04656027629971504, -0.012645276263356209, 0.023664366453886032, -0.03498581424355507, 0.002698136493563652, 0.00014333133003674448, -0.041748616844415665, 0.020644640550017357, -0.014209695160388947, 0.010699515230953693, -0.03790599852800369, -0.018948296085000038, -0.0362788550555706, 0.045771755278110504, -0.016298500820994377, -0.02440296672284603, 0.03255688026547432, 0.0019454440334811807, -0.01965228281915188, -0.014010637067258358, 0.015896417200565338, -0.007420763839036226, 0.005421955604106188, -0.029617857187986374, 0.044624581933021545, -0.0343230701982975, -0.025627464056015015, -0.0009647988481447101, -0.017452286556363106, 0.03497450798749924, 0.01142982766032219, 0.006518037058413029, -0.07480735331773758, 0.0312369242310524, -0.014372537843883038, -0.025635825470089912, 0.02469363436102867, 0.8414048552513123, 0.007896644063293934, 0.03904350474476814, 0.002234065905213356, 0.005078673362731934, 0.014908336102962494, -0.0010986156994476914, -0.008640637621283531, 0.018080292269587517, 0.0043998537585139275, -0.03586951270699501, -0.0007014039438217878, 0.0390637181699276, 0.01682223007082939, 0.0027930967044085264, -0.01440739631652832, 0.05158624425530434, 0.0034982026554644108, 0.008719027042388916, 0.030274545773863792, 0.03939279913902283, 0.03441663831472397, 0.014031615108251572, -0.024865690618753433, 0.0012607250828295946, 0.003375984262675047, -0.12453309446573257, 0.06377512961626053, -7.154343676484516e-33, 0.04675495997071266, -0.044226136058568954, -0.0028411473613232374, -0.0028461397159844637, -0.01216476783156395, 0.048106998205184937, -0.0041349888779222965, -0.009939141571521759, -0.04430219531059265, -0.0785379558801651, -0.01605016179382801, 0.02509438991546631, 0.019857587292790413, -0.015427399426698685, 0.03408182039856911, 0.001942784758284688, -0.003961056936532259, 0.03308236226439476, -0.0016199935926124454, -0.01856043189764023, 0.04761124774813652, 0.03756403177976608, 0.055613432079553604, 0.029116665944457054, -0.018552396446466446, 0.05115726217627525, -0.0035771233960986137, -0.06535504758358002, -0.010269898921251297, -0.04834325239062309, 0.011768151074647903, 0.0015598933678120375, -0.03393065184354782, -0.012611063197255135, 0.010858475230634212, -0.039741866290569305, -0.015604505315423012, 0.019986195489764214, 0.012336697429418564, -0.053170498460531235, -0.004118736367672682, 0.007873374968767166, -0.04678300768136978, 0.00682724267244339, -0.04616792872548103, -0.012725982815027237, 0.00038065732223913074, -0.02003999799489975, -0.016865918412804604, 0.024448441341519356, 0.002385722706094384, -0.009981852024793625, 0.0002640211896505207, 0.016634657979011536, -0.015819739550352097, -0.022401638329029083, -0.009437333792448044, 0.015848327428102493, -0.03602027893066406, -0.006463215686380863, 0.04696371778845787, 0.020184913650155067, -0.006196944043040276, 0.021371912211179733, -0.014853258617222309, 0.0025116661563515663, 0.020702823996543884, -0.025620678439736366, 0.01731375977396965, -0.016305217519402504, -0.029692750424146652, 0.022260112687945366, 0.015342644415795803, -0.0045126075856387615, 0.004267480690032244, -0.041267506778240204, -0.003719068830832839, -0.008734889328479767, -0.029549455270171165, 0.03035193867981434, 0.004144389182329178, 0.010836859233677387, -0.02564390003681183, -0.05524892359972, 0.0016935025341808796, -0.01644679717719555, 0.016130801290273666, 0.0028966714162379503, -0.02803461253643036, 0.020636197179555893, 0.006898061838001013, 0.02327778749167919, -0.008904466405510902, 0.0009788258466869593, 0.011940475553274155, 6.960750042479655e-33, -0.012431933544576168, -0.03544327989220619, 0.03203580155968666, 0.0015729512088000774, 0.03777884691953659, -0.021841270849108696, 0.021528124809265137, 0.0010008164681494236, -0.03437235578894615, 0.02612120844423771, -0.04161619395017624, -0.007067524828016758, -0.012617189437150955, 0.023283496499061584, 0.04479605332016945, -0.025880714878439903, -0.01245055254548788, 0.005888411775231361, -0.03353480249643326, -0.006932010408490896, 0.04090099409222603, 0.002315517980605364, 0.00856924057006836, 0.03953704982995987, 0.054272592067718506, 0.017115190625190735, 0.0011670885141938925, -0.01737174764275551, -0.007779576350003481, 0.014300836250185966, 0.017218321561813354, -0.0023392478469759226, -0.004437797237187624, 0.019614238291978836, 0.005053606349974871, 0.04048897325992584, 0.0053992196917533875, -0.03810084983706474, -0.013520770706236362, 0.020166989415884018, -0.006887904368340969, -0.02107083983719349, -0.018822453916072845, 0.00678613968193531, 0.026844371110200882, 0.006969526410102844, -0.0070332917384803295, -0.0220605731010437, -0.014190196059644222, 0.021234918385744095, 0.0189322791993618, -0.012770838104188442, -0.0013810921227559447, 0.026830269023776054, -0.01879340037703514, -0.018633952364325523, -0.04363492131233215, 0.002832848811522126, -0.0463707409799099, 0.020441347733139992, 0.019269052892923355, 0.014061088673770428, -0.0631234347820282, -0.004137933719903231, -0.02571999840438366, 0.029959607869386673, 0.004150609020143747, -0.004486124962568283, -0.00010688964539440349, 0.0347355380654335, -0.03413454070687294, -0.0029339345637708902, 0.035322900861501694, 0.024618621915578842, -0.007641084957867861, 0.009633967652916908, -0.02786112017929554, 0.021571233868598938, -0.009353768080472946, 0.0071390843950212, 0.021246127784252167, 0.02094673551619053, 0.04442290589213371, 0.015704624354839325, 0.029094746336340904, -0.03088676556944847, 0.014791082590818405, 0.020077599212527275, -0.003138903761282563, -0.008144057355821133, 0.039440594613552094, -0.03976587578654289, 0.016427146270871162, -0.0139586441218853, 0.024018675088882446, -1.2813970329261792e-8, -0.0019794884137809277, 0.003109350800514221, -0.025161197409033775, 0.06387174129486084, 0.015309167094528675, 0.022739281877875328, -0.024261347949504852, -0.011202067136764526, 0.0010687612229958177, 0.008149080909788609, 0.07818961888551712, -0.007001600693911314, 0.02466975711286068, -0.013202103786170483, 0.024214012548327446, -0.022326121106743813, -0.014733740128576756, 0.04532723128795624, 0.035223059356212616, 0.06877978146076202, -0.011447301134467125, 0.02075166068971157, -0.022079961374402046, 0.011039664037525654, 0.015134020708501339, -0.0031410970259457827, -0.0022417118307203054, -0.0815974697470665, 0.0012001307914033532, -0.0109227504581213, 0.053357336670160294, -0.06405201554298401, 0.026475487276911736, -0.02518528699874878, -0.01006160955876112, -0.0030396454967558384, 0.005623470526188612, 0.006489553023129702, -0.008795903995633125, -0.01129150390625, -0.003704272210597992, 0.0062522138468921185, -0.03690662980079651, -0.03619663417339325, -0.005137198138982058, -0.01846134290099144, -0.05146415904164314, -0.021566903218626976, 0.016258014366030693, -0.012661094777286053, 0.009826154448091984, -0.017662566155195236, 0.03354700654745102, 0.05675481632351875, 0.02602178044617176, -0.018049271777272224, 0.012095318175852299, -0.007481773849576712, 0.009830302558839321, -0.021413851529359818, 0.0074336896650493145, 0.025551874190568924, -0.01278716791421175, 0.006947983987629414 ]
glicko-rating-system-a-simple-example-using-clojure
https://markhneedham.com/blog/2013/09/14/glicko-rating-system-a-simple-example-using-clojure
false
2013-09-14 01:24:51
Clojure: All things regex
[ "clojure" ]
[ "Clojure" ]
I've been doing some http://www.markhneedham.com/blog/2013/08/26/clojureenlive-screen-scraping-a-html-file-from-disk/[scrapping of web pages recently using Clojure and Enlive] and as part of that I've had to write regular expressions to extract the data I'm interested in. On my travels I've come across a few different functions and I'm never sure which is the right one to use so I thought I'd document what I've tried for future me. == Check if regex matches The first regex I wrote was while scrapping the http://www.rsssf.com/ec/ec200203det.html[Champions League results] from the Rec.Sport.Soccer Statistics Foundation and I wanted to determine which spans contained the match result and which didn't. A matching line would look like this: [source,text] ---- Real Madrid-Juventus Turijn 2 - 1 ---- And a non matching one like this: [source,text] ---- 53’Nedved 0-1, 66'Xavi Hernández 1-1, 114’Zalayeta 1-2 ---- I wrote the following regex to detect match results: [source,text] ---- [a-zA-Z\s]+-[a-zA-Z\s]+ [0-9][\s]?.[\s]?[0-9] ---- I then wrote the following function using +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/re-matches[re-matches]+++</cite>+++ which would return true or false depending on the input: [source,lisp] ---- (defn recognise-match? [row] (not (clojure.string/blank? (re-matches #"[a-zA-Z\s]+-[a-zA-Z\s]+ [0-9][\s]?.[\s]?[0-9]" row)))) ---- [source,lisp] ---- > (recognise-match? "Real Madrid-Juventus Turijn 2 - 1") true > (recognise-match? "53’Nedved 0-1, 66'Xavi Hernández 1-1, 114’Zalayeta 1-2") false ---- +++<cite>+++re-matches+++</cite>+++ only returns matches if the whole string matches the pattern which means if we had a line with some spurious text after the score it wouldn't match: [source,lisp] ---- > (recognise-match? "Real Madrid-Juventus Turijn 2 - 1 abc") false ---- If we don't mind that and we just want some part of the string to match our pattern then we can use +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/re-find[re-find]+++</cite>+++ instead: [source,lisp] ---- (defn recognise-match? [row] (not (clojure.string/blank? (re-find #"[a-zA-Z\s]+-[a-zA-Z\s]+ [0-9][\s]?.[\s]?[0-9]" row)))) ---- [source,lisp] ---- > (recognise-match? "Real Madrid-Juventus Turijn 2 - 1 abc") true ---- == Extract capture groups The next thing I wanted to do was to capture the teams and the score of the match which I initially did using +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/re-seq[re-seq]+++</cite>+++: [source,lisp] ---- > (first (re-seq #"([a-zA-Z\s]+)-([a-zA-Z\s]+) ([0-9])[\s]?.[\s]?([0-9])" "FC Valencia-Internazionale Milaan 2 - 1")) ["FC Valencia-Internazionale Milaan 2 - 1" "FC Valencia" "Internazionale Milaan" "2" "1"] ---- I then extracted the various parts like so: [source,lisp] ---- > (def result (first (re-seq #"([a-zA-Z\s]+)-([a-zA-Z\s]+) ([0-9])[\s]?.[\s]?([0-9])" "FC Valencia-Internazionale Milaan 2 - 1"))) > result ["FC Valencia-Internazionale Milaan 2 - 1" "FC Valencia" "Internazionale Milaan" "2" "1"] > (nth result 1) "FC Valencia" > (nth result 2) "Internazionale Milaan" ---- +++<cite>+++re-seq+++</cite>+++ returns a list which contains consecutive matches of the regex. The list will either contain strings if we don't specify capture groups or a vector containing the pattern matched and each of the capture groups. For example if we now match only sequences of A-Z or spaces and remove the rest of the pattern from above we'd get the following results: [source,lisp] ---- > (re-seq #"([a-zA-Z\s]+)" "FC Valencia-Internazionale Milaan 2 - 1") (["FC Valencia" "FC Valencia"] ["Internazionale Milaan " "Internazionale Milaan "] [" " " "] [" " " "]) > (re-seq #"[a-zA-Z\s]+" "FC Valencia-Internazionale Milaan 2 - 1") ("FC Valencia" "Internazionale Milaan " " " " ") ---- In our case +++<cite>+++re-find+++</cite>+++ or +++<cite>+++re-matches+++</cite>+++ actually makes more sense since we only want to match the pattern once. If there are further matches after this those aren't included in the results. e.g. [source,lisp] ---- > (re-find #"[a-zA-Z\s]+" "FC Valencia-Internazionale Milaan 2 - 1") "FC Valencia" > (re-matches #"[a-zA-Z\s]*" "FC Valencia-Internazionale Milaan 2 - 1") nil ---- +++<cite>+++re-matches+++</cite>+++ returns nil here because there are characters in the string which don't match the pattern i.e. the hyphen between the two scores. If we tie that in with our capture groups we end up with the following: [source,lisp] ---- > (def result (re-find #"([a-zA-Z\s]+)-([a-zA-Z\s]+) ([0-9])[\s]?.[\s]?([0-9])" "FC Valencia-Internazionale Milaan 2 - 1")) > result ["FC Valencia-Internazionale Milaan 2 - 1" "FC Valencia" "Internazionale Milaan" "2" "1"] > (nth result 1) "FC Valencia" > (nth result 2) "Internazionale Milaan" ---- I also came across the +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/re-pattern[re-pattern]+++</cite>+++ function which provides a more verbose way of creating a pattern and then evaluating it with +++<cite>+++re-find+++</cite>+++: [source,lisp] ---- > (re-find (re-pattern "([a-zA-Z\\s]+)-([a-zA-Z\\s]+) ([0-9])[\\s]?.[\\s]?([0-9])") "FC Valencia-Internazionale Milaan 2 - 1") ["FC Valencia-Internazionale Milaan 2 - 1" "FC Valencia" "Internazionale Milaan" "2" "1"] ---- One difference here is that I had to escape the special sequence '\s' otherwise I was getting the following exception: [source,lisp] ---- RuntimeException Unsupported escape character: \s clojure.lang.Util.runtimeException (Util.java:170) ---- I wanted to play around with +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/re-groups[re-groups]+++</cite>+++ as well but that seemed to throw an exception reasonably frequently when I expected it to work.</cite> The last function I looked at was +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/re-matcher[re-matcher]+++</cite>+++ which seemed to be a long-hand for the '#""' syntax used earlier in the post to define matchers: ~~~lisp > (re-find (re-matcher #"([a-zA-Z\s]+)-([a-zA-Z\s]+) ([0-9])[\s]?.[\s]?([0-9])" "FC Valencia-Internazionale Milaan 2 - 1")) ["FC Valencia-Internazionale Milaan 2 - 1" "FC Valencia" "Internazionale Milaan" "2" "1"] ~~~ == In summary So in summary I think most use cases are covered by +++<cite>+++re-find+++</cite>+++ and +++<cite>+++re-matches+++</cite>+++ and maybe +++<cite>+++re-seq+++</cite>+++ on special occasions. I couldn't see where I'd use the other functions but I'm happy to be proved wrong.
null
null
[ -0.0024118272121995687, -0.006364698987454176, -0.03166361153125763, 0.008076604455709457, 0.07271391898393631, -0.008531944826245308, 0.006244684103876352, 0.051398102194070816, 0.0028094619046896696, -0.0008708934765309095, -0.03686141595244408, 0.0011783936060965061, -0.060964539647102356, -0.012905886396765709, -0.00718478811904788, 0.06043751910328865, 0.061511315405368805, -0.005134861916303635, 0.05876290053129196, -0.002971331588923931, 0.015579969622194767, 0.056429069489240646, 0.008026821538805962, 0.013196581974625587, 0.046794913709163666, -0.023137016221880913, 0.01388094387948513, 0.01881970837712288, -0.07590501010417938, 0.019875241443514824, 0.05533931404352188, 0.030348869040608406, 0.006572303362190723, -0.04253004863858223, 0.028800733387470245, -0.0032156603410840034, -0.00908211525529623, 0.0011106476886197925, -0.019037587568163872, 0.025505734607577324, -0.06855538487434387, 0.010667082853615284, -0.04847635328769684, 0.01787579245865345, -0.031053978949785233, 0.03837287053465843, -0.06022029370069504, 0.020888756960630417, -0.008279726840555668, 0.017113031819462776, -0.03316169232130051, 0.032703496515750885, -0.005948061589151621, 0.007012045476585627, -0.012765004299581051, 0.03681067377328873, 0.038565292954444885, -0.06630720943212509, 0.03621355816721916, -0.020660817623138428, -0.008094500750303268, 0.008769189938902855, 0.009103909134864807, 0.039431679993867874, -0.029374904930591583, -0.019778545945882797, 0.00396923441439867, 0.03473919630050659, -0.041311100125312805, -0.060850244015455246, 0.01668074168264866, 0.016280468553304672, -0.006223354022949934, -0.005922903306782246, 0.04674370214343071, -0.0224428940564394, -0.019756603986024857, 0.034906670451164246, -0.014069847762584686, 0.07993432879447937, -0.02751302905380726, 0.02449699118733406, 0.031599488109350204, 0.01724308729171753, 0.02003399096429348, -0.02985747531056404, -0.06669306010007858, -0.01586248353123665, -0.013088447973132133, 0.029946299269795418, 0.017177527770400047, -0.027524124830961227, 0.007788491435348988, 0.010484093800187111, -0.006789811421185732, 0.033526189625263214, -0.003766439389437437, 0.03313547000288963, -0.016156643629074097, -0.01538423728197813, -0.023207509890198708, -0.026557758450508118, 0.037486862391233444, -0.008996560238301754, -0.09829159826040268, -0.016528265550732613, -0.002374919131398201, 0.013219674117863178, 0.028173696249723434, -0.02765985019505024, -0.023617183789610863, -0.015249627642333508, -0.011244275607168674, 0.005393317900598049, -0.05213465169072151, 0.06036447733640671, -0.016434321179986, -0.029271842911839485, -0.012065264396369457, 0.055779214948415756, 0.015964504331350327, 0.0006182455690577626, 0.014252668246626854, 0.0563511848449707, -0.014390758238732815, 0.04979711025953293, 0.013670768588781357, 0.08230755478143692, -0.027261272072792053, -0.045322176069021225, -0.03992214426398277, 0.06456151604652405, -0.019298607483506203, 0.025747844949364662, -0.02161756530404091, -0.042409952729940414, -0.02168831042945385, -0.047303251922130585, 0.08493008464574814, 0.039130859076976776, 0.016613032668828964, 0.0055938889272511005, -0.005130055360496044, 0.007184040732681751, 0.04263051971793175, 0.004722828045487404, -0.0008676453726366162, -0.009038328193128109, -0.02393229678273201, 0.020116761326789856, 0.054765649139881134, 0.00910443440079689, 0.06232459843158722, 0.005675038788467646, -0.01375745888799429, 0.09233211725950241, 0.028584619984030724, 0.03842431679368019, -0.026996493339538574, 0.013217889703810215, 0.010108573362231255, 0.032605916261672974, -0.027188319712877274, 0.054947759956121445, -0.023152299225330353, -0.008367153815925121, -0.01347324624657631, 0.07782396674156189, -0.004105597734451294, 0.005387190729379654, -0.03920351341366768, -0.0456773042678833, 0.07049866765737534, -0.01325750071555376, 0.014310937374830246, 0.007435882929712534, 0.060564734041690826, 0.01919671893119812, 0.07167115062475204, -0.006804941687732935, -0.06162964552640915, 0.059715259820222855, 0.0319189578294754, 0.052919335663318634, 0.0364912673830986, -0.009178309701383114, 0.08965212851762772, 0.01670214720070362, 0.01249934732913971, 0.030065992847085, -0.09117642045021057, -0.05449956655502319, -0.03602113574743271, -0.014223188161849976, 0.05776885524392128, -0.04570791870355606, 0.012604343704879284, 0.051441483199596405, 0.01699233055114746, 0.009238188154995441, 0.03847510740160942, 0.010451008565723896, 0.02893870137631893, -0.04982671141624451, -0.04131714254617691, 0.03032868355512619, 0.029855217784643173, -0.04867665097117424, -0.039211515337228775, 0.020780256018042564, -0.00972436461597681, 0.038384854793548584, 0.02790370024740696, -0.04679536446928978, 0.022580813616514206, 0.02458522468805313, 0.06391537189483643, -0.03397798538208008, 0.030325861647725105, -0.06395819783210754, 0.036973413079977036, -0.003042972180992365, -0.0006695314077660441, -0.013423607684671879, 0.020117925480008125, 0.13806577026844025, 0.04476099833846092, -0.011724530719220638, -0.06268838047981262, 0.01611654832959175, -0.05787032097578049, -0.025828002020716667, -0.014619371853768826, -0.03296830505132675, -0.009594494476914406, -0.0081646628677845, -0.018125390633940697, -0.02692652866244316, 0.002396916039288044, -0.008035734295845032, -0.0029071166645735502, 0.05190630629658699, 0.012323817238211632, 0.012221862562000751, -0.007235667202621698, -0.004546418786048889, -0.03452738747000694, -0.04695136472582817, -0.06938046216964722, 0.010292135179042816, 0.024790218099951744, -0.02118644118309021, 0.019358379766345024, -0.03562452271580696, -0.057245075702667236, -0.011932929046452045, -0.059620700776576996, -0.0007414755527861416, 0.0544775053858757, 0.0654672309756279, 0.010122890584170818, 0.007520543411374092, -0.034213799983263016, 0.018757108598947525, -0.01964980736374855, -0.05542314425110817, -0.04391509294509888, -0.023937171325087547, -0.02268747240304947, 0.0222285445779562, 0.013910576701164246, 0.026280926540493965, 0.008788916282355785, 0.014647040516138077, -0.017099201679229736, 0.00328396656550467, 0.03332841396331787, 0.001701249973848462, -0.012380105443298817, -0.005592033267021179, -0.03499716520309448, 0.05730641260743141, -0.0082556726410985, -0.040333639830350876, -0.040868062525987625, -0.051671773195266724, 0.030084026977419853, -0.03267472982406616, -0.04156655818223953, -0.021225053817033768, -0.004908694885671139, 0.028771894052624702, -0.02172229252755642, 0.02591361477971077, 0.03569534793496132, 0.02450626716017723, 0.03714686632156372, 0.02625196985900402, -0.004246262833476067, 0.026394201442599297, -0.015472207218408585, 0.028594106435775757, 0.03918222337961197, -0.020784875378012657, 0.02322702296078205, -0.0446096695959568, -0.017694540321826935, -0.032531000673770905, -0.25326287746429443, 0.04172325134277344, 0.0008646002970635891, 0.0010207036975771189, 0.0348641499876976, -0.03968118876218796, -0.015965769067406654, -0.042884644120931625, 0.0212093573063612, -0.013283605687320232, -0.03517017513513565, 0.013468658551573753, -0.032868318259716034, 0.03296950086951256, 0.01579909957945347, -0.007472794968634844, 0.0006005883333273232, -0.03827383741736412, -0.0036717774346470833, 0.009946915321052074, 0.026137378066778183, -0.048637330532073975, 0.00695505365729332, 0.05029081925749779, 0.008060446009039879, 0.06540787220001221, -0.06032968685030937, -0.00818389467895031, -0.039267197251319885, -0.02285430021584034, 0.036227721720933914, -0.025879131630063057, -0.0016218890668824315, -0.014123964123427868, -0.019796904176473618, 0.010248093865811825, 0.03842097893357277, -0.010453407652676105, 0.030898844823241234, 0.051168691366910934, -0.018399246037006378, -0.009953663684427738, 0.01338206510990858, -0.05725959688425064, 0.055922310799360275, 0.02646980620920658, -0.05823386088013649, -0.013194212689995766, 0.0010255224769935012, 0.0798671692609787, -0.029537765309214592, -0.03657202795147896, -0.00981547124683857, 0.04913901910185814, 0.009723201394081116, -0.02666579559445381, -0.019770730286836624, -0.04430834949016571, -0.06031111255288124, -0.04600111395120621, -0.004299544263631105, -0.056616734713315964, -0.03192660212516785, -0.0595071017742157, -0.032190028578042984, -0.060341089963912964, -0.04167791083455086, -0.006212737876921892, 0.07173379510641098, 0.009082667529582977, -0.0283215194940567, 0.004645990673452616, -0.011229319497942924, -0.1011045053601265, -0.060989730060100555, -0.04569340869784355, -0.009561615064740181, -0.012256501242518425, -0.018945958465337753, 0.03091251850128174, -0.0712951123714447, -0.048687368631362915, 0.01271955668926239, 0.025707772001624107, 0.03952217847108841, -0.022356251254677773, 0.00011509639443829656, -0.002745149191468954, -0.0015841637505218387, -0.029524464160203934, 0.06364907324314117, -0.06791620701551437, -0.04738389700651169, 0.010293669067323208, 0.004384840372949839, 0.060990337282419205, 0.005690115038305521, -0.013278370723128319, 0.05506420135498047, 0.029997674748301506, 0.04376564919948578, -0.051657091826200485, 0.02512192539870739, -0.012014036066830158, 0.02194487303495407, 0.013190626166760921, -0.0472162701189518, 0.021015986800193787, 0.028115510940551758, -0.011391960084438324, -0.029567129909992218, -0.031101815402507782, -0.004089683294296265, -0.06094478443264961, -0.02855139970779419, -0.031599342823028564, 0.022240521386265755, -0.03530414029955864, 0.035526204854249954, -0.016790863126516342, -0.05188292637467384, 0.010019119828939438, 0.005816175136715174, -0.06015384942293167, -0.052154481410980225, -0.06245516985654831, 0.04855671897530556, -0.012141911312937737, 0.011779789812862873, 0.01988241821527481, -0.012872192077338696, 0.029153568670153618, -0.002903715940192342, -0.029261326417326927, 0.021108880639076233, -0.010084904730319977, 0.003046905156224966, -0.014081777073442936, -0.03478795289993286, 0.014174399897456169, 0.021809810772538185, -0.023750746622681618, 0.010765298269689083, 0.027899064123630524, 0.05666886642575264, -0.0033071176148951054, 0.020201684907078743, -0.011240363121032715, -0.02565441094338894, 0.019223859533667564, 0.002095959149301052, -0.025079874321818352, 0.05514512583613396, -0.031225660815835, -0.001781098428182304, 0.01613137684762478, 0.03933598846197128, 0.021451842039823532, -0.033909037709236145, -0.049864351749420166, 0.04099377617239952, -0.024234799668192863, 0.035970643162727356, 0.011044301092624664, -0.02043319307267666, 0.03477787598967552, -0.004996211268007755, 0.0561334490776062, 0.006628729403018951, -0.004021165426820517, -0.013558171689510345, 0.012546798214316368, -0.01848697103559971, 0.031117642298340797, -0.028614472597837448, -0.0005289228283800185, 0.016507001593708992, 0.044907357543706894, 0.007075651083141565, -0.0021608839742839336, -0.022120438516139984, -0.031056087464094162, 0.034478817135095596, 0.05905768275260925, 0.05024504289031029, 0.04060429707169533, -0.01275413017719984, 0.0036741355434060097, -0.03333808109164238, -0.01048895064741373, -0.026180613785982132, -0.0007506155525334179, -0.030094383284449577, -0.017120439559221268, -0.018969785422086716, -0.08285363763570786, -0.011593123897910118, 0.03236958011984825, -0.020911214873194695, -0.005198859144002199, -0.0016683547291904688, -0.04191708564758301, -0.0259533878415823, -0.009378455579280853, 0.04100911319255829, -0.03665295988321304, -0.027989935129880905, -0.04399193078279495, 0.014229792170226574, 0.020572170615196228, 0.010033427737653255, -0.07705850899219513, -0.008212906308472157, 0.011198638938367367, 0.001017629518173635, -0.010764139704406261, -0.028685055673122406, 0.00008547761535737664, 0.04447557404637337, -0.0333116389811039, 0.004937286954373121, -0.012750583700835705, -0.018906308338046074, 0.029426440596580505, -0.00210591615177691, 0.0012863477459177375, 0.01669050008058548, -0.01400131918489933, 0.006997576914727688, 0.0027878854889422655, 0.03824823722243309, -0.03005494549870491, 0.06326019018888474, 0.020718727260828018, 0.012770201079547405, -0.020038507878780365, -0.042347729206085205, 0.03176731988787651, -0.009842061437666416, 0.04165589436888695, 0.029796887189149857, -0.0006314667407423258, -0.04700528830289841, 0.03938176482915878, -0.018666720017790794, -0.003874727990478277, -0.016732370480895042, -0.02136043645441532, 0.0012407866306602955, 0.06527545303106308, 0.011566106230020523, 0.05481545627117157, -0.02270897477865219, -0.04411567375063896, 0.03729010000824928, -0.036308642476797104, -0.0680314153432846, -0.016443122178316116, -0.027730323374271393, 0.022282162681221962, 0.025751641020178795, 0.01560389343649149, -0.01745958812534809, -0.004278454929590225, 0.028474168851971626, 0.00006344991561491042, 0.004316768608987331, 0.01996094547212124, 0.020291674882173538, -0.04619428887963295, 0.005620384588837624, -0.09703490883111954, 0.022061508148908615, 0.10100824385881424, -0.002006912138313055, 0.01488396804779768, -0.014499600045382977, -0.023179352283477783, 0.015379386022686958, -0.050732988864183426, -0.02275620400905609, 0.025501679629087448, -0.01752636954188347, 0.006785824429243803, 0.0035260049626231194, -0.041186343878507614, 0.028617320582270622, 0.08946267515420914, -0.03407307341694832, -0.01284215971827507, -0.06554359942674637, 0.036684900522232056, -0.025749463587999344, 0.014101739972829819, 0.0005389396101236343, 0.014872739091515541, 0.054495904594659805, 0.02732785791158676, 0.02302946336567402, 0.041453201323747635, -0.003521829843521118, -0.01127186045050621, 0.03277936205267906, -0.031150981783866882, 0.02767842635512352, 0.025100449100136757, -0.03154922276735306, -0.04068019986152649, 0.03441568836569786, 0.03198951110243797, -0.03020659275352955, -0.0457402728497982, 0.10032624006271362, 0.035505399107933044, -0.046576935797929764, -0.05934010073542595, -0.005380481015890837, -0.055023208260536194, 0.016810448840260506, 0.0005063326680101454, 0.005347696598619223, -0.03933628275990486, 0.048147931694984436, -0.012169508263468742, 0.025586413219571114, 0.051557764410972595, 0.014803958125412464, -0.01411414798349142, 0.037097860127687454, 0.061246179044246674, 0.10873369127511978, 0.06212090700864792, -0.004901557229459286, 0.021292274817824364, -0.017746418714523315, -0.04908209666609764, -0.0017024786211550236, -0.026918577030301094, 0.027382565662264824, 0.02702128142118454, 0.010029916651546955, 0.03129176050424576, -0.018772831186652184, 0.0720314234495163, -0.005117649678140879, -0.026787586510181427, -0.011247200891375542, -0.0250735804438591, 0.05512215942144394, 0.041814662516117096, -0.0028685720171779394, 0.0207617599517107, -0.00474832858890295, -0.005443394649773836, 0.032729871571063995, -0.03350047394633293, -0.049894869327545166, 0.006683638319373131, -0.01287626288831234, 0.006752498913556337, 0.0026880991645157337, 0.06377466768026352, 0.0639941394329071, -0.005630302242934704, 0.004210978746414185, 0.00205086637288332, 0.018367381766438484, -0.0009113189880736172, -0.0003122077905572951, -0.006298894993960857, -0.028327612206339836, -0.05088965222239494, -0.043571922928094864, 0.011332747526466846, -0.050816845148801804, -0.0806489959359169, -0.014732906594872475, -0.02815822884440422, -0.017772648483514786, 0.026501230895519257, 0.0007486214162781835, -0.025914838537573814, -0.03681860864162445, -0.057478662580251694, -0.056558430194854736, -0.0819590762257576, -0.025743460282683372, 0.00913221761584282, -0.0022644202690571547, -0.03729161247611046, -0.011750753968954086, -0.004827759228646755, 0.013414433225989342, 0.032598379999399185, -0.02114138752222061, 0.010324553586542606, 0.015238742344081402, 0.0231395922601223, 0.03150060027837753, 0.0070663997903466225, 0.03159531578421593, 0.005133565049618483, -0.016674349084496498, 0.0017981231212615967, -0.008524730801582336, 0.047739285975694656, 0.009994842112064362, -0.024540705606341362, -0.0842798501253128, 0.011491421610116959, 0.05162344127893448, 0.005996712949126959, -0.08084876090288162, 0.009780278429389, 0.0069928099401295185, 0.013383290730416775, 0.024853015318512917, -0.02428264170885086, -0.004910365212708712, -0.034117333590984344, -0.011924960650503635, -0.0001499000209150836, 0.017726777121424675, 0.029802680015563965, 0.0033628905657678843, 0.07638783007860184, 0.0242008026689291, -0.0032705029007047415, -0.045730944722890854, -0.03121640533208847, -0.0248618982732296, 0.02296425960958004, -0.04350362345576286, -0.008589089848101139, -0.08945836126804352, -0.03855390101671219, -0.012559128925204277, 0.004940780345350504, -0.06116967648267746, -0.04731915891170502, -0.010463015176355839, 0.0390867218375206, 0.007638659328222275, 0.03911595419049263, -0.028914574533700943, 0.04300859197974205, 0.004991015885025263, -0.040934935212135315, -0.027540097013115883, 0.014274976216256618, 0.018959833309054375, 0.019650083035230637, 0.038828812539577484, -0.045298147946596146, 0.021141938865184784, -0.03434118255972862, -0.0012764070415869355, -0.005015432368963957, -0.009277152828872204, -0.001504520303569734 ]
[ -0.1083214059472084, 0.0029858790803700686, -0.03823035582900047, -0.04161587730050087, 0.06415283679962158, -0.044014766812324524, 0.014430111274123192, 0.015044081024825573, 0.01866946369409561, -0.030802324414253235, 0.0010066599352285266, -0.08674279600381851, 0.00029113746131770313, -0.019108479842543602, 0.07075763493776321, -0.008379057049751282, -0.0030391591135412455, -0.047836460173130035, -0.04133021831512451, 0.012609078548848629, -0.001689129276201129, -0.01369223278015852, -0.03877582773566246, -0.04925243556499481, 0.023108333349227905, 0.04019877687096596, 0.067008838057518, -0.039277199655771255, 0.005465231835842133, -0.20310600101947784, 0.006706679705530405, 0.001718078856356442, 0.028774777427315712, -0.016518067568540573, 0.02331935241818428, 0.031125731766223907, -0.006016632542014122, -0.009084069170057774, 0.007255407050251961, 0.027401776984333992, 0.021358991041779518, -0.0015887237386777997, -0.028556223958730698, -0.024769805371761322, 0.046771470457315445, -0.0018645086092874408, 0.011893059127032757, -0.001782835926860571, -0.02066677063703537, 0.04374908283352852, -0.057384610176086426, 0.002477562054991722, 0.019611727446317673, -0.01993904635310173, 0.00504797650501132, 0.047696102410554886, 0.0427897647023201, 0.06820344179868698, -0.0000700573218637146, 0.04281027615070343, 0.004361957311630249, -0.013204064220190048, -0.13445770740509033, 0.11177606135606766, 0.0038020454812794924, 0.031956713646650314, -0.02532791532576084, -0.01185583509504795, -0.02046147733926773, 0.09151002764701843, 0.006280421279370785, -0.03803153336048126, -0.05275686830282211, 0.08951758593320847, 0.007188622839748859, -0.021787289530038834, -0.03463291376829147, -0.014401611872017384, 0.009021983481943607, -0.004369347356259823, -0.053979143500328064, -0.024681542068719864, -0.018880125135183334, -0.025936268270015717, -0.027523938566446304, 0.020522352308034897, -0.04187479615211487, 0.047888051718473434, 0.03591885045170784, 0.00462254649028182, 0.039709094911813736, 0.0054198442958295345, 0.025807106867432594, 0.031713563948869705, -0.10416682064533234, -0.021153027191758156, -0.0037331923376768827, 0.02634190022945404, 0.007831145077943802, 0.4065718352794647, -0.02889787033200264, -0.00851968489587307, 0.03142472729086876, 0.03242747113108635, 0.01586330495774746, -0.012159749865531921, -0.002889015479013324, -0.036361780017614365, 0.02597002685070038, -0.05846609175205231, -0.02224064990878105, -0.020142890512943268, 0.07470521330833435, -0.01680787280201912, -0.02815200760960579, 0.03413109853863716, 0.05834748595952988, 0.011712102219462395, 0.0020816230680793524, 0.025046266615390778, -0.012440524995326996, -0.02825656719505787, -0.01369897834956646, -0.025308910757303238, -0.0011229922529309988, 0.03622100502252579, 0.020964132621884346, 0.04775354638695717, 0.035931654274463654, 0.06429768353700638, 0.0469011515378952, -0.030903462320566177, -0.07997223734855652, 0.016011852771043777, 0.001243635662831366, 0.010229230858385563, -0.013761650770902634, -0.032220933586359024, -0.001290657208301127, 0.04068075865507126, -0.0097955372184515, -0.07123585790395737, 0.03447763994336128, 0.007364174351096153, -0.047829799354076385, 0.08574863523244858, -0.028821062296628952, -0.02805308997631073, -0.012268247082829475, -0.08212144672870636, -0.008597823791205883, 0.0362478531897068, -0.01003608014434576, -0.04143434390425682, -0.020565181970596313, 0.012322071008384228, 0.0900353491306305, -0.04670973867177963, -0.08268479257822037, -0.01163185853511095, -0.021503105759620667, -0.029618065804243088, -0.03676890954375267, 0.0722433403134346, 0.010212470777332783, -0.09446333348751068, -0.010266768746078014, -0.008625103160738945, 0.003732751589268446, -0.08233642578125, 0.004889905918389559, 0.004758665803819895, -0.026252245530486107, 0.019261443987488747, 0.004997777286916971, -0.01912999525666237, -0.030589187517762184, -0.0047375657595694065, 0.043876808136701584, 0.023711176589131355, -0.007777577731758356, 0.020059451460838318, -0.06854545325040817, 0.032679472118616104, -0.027740010991692543, -0.05884914472699165, -0.07262571901082993, -0.005674045532941818, -0.000598620215896517, 0.019261354580521584, -0.034715522080659866, -0.047797899693250656, -0.0514717660844326, 0.05201556533575058, -0.029785463586449623, 0.013121942058205605, -0.015951450914144516, -0.008954613469541073, 0.006005275994539261, -0.03953077644109726, 0.03345513716340065, 0.04470313340425491, -0.0011976229725405574, 0.0037596500478684902, -0.046062350273132324, 0.032415907829999924, 0.06270553171634674, -0.0675368458032608, 0.0596611313521862, 0.022576110437512398, -0.03880004957318306, 0.00011187257769051939, -0.002926752669736743, -0.015568866394460201, 0.028260493651032448, -0.018206654116511345, -0.008506049402058125, -0.015381773002445698, 0.053024351596832275, 0.03738788515329361, -0.06202465295791626, -0.04491598159074783, -0.04196015000343323, -0.3293352723121643, -0.027708491310477257, -0.019340407103300095, 0.04698193445801735, 0.035272229462862015, -0.06993012875318527, 0.01813407987356186, -0.02111930213868618, 0.0004764801706187427, 0.03060343861579895, 0.09062355011701584, -0.0065132915042340755, -0.024818867444992065, -0.07870429009199142, -0.0003563926729839295, 0.01668107509613037, -0.0038498162757605314, -0.015237913466989994, -0.015235213562846184, 0.05047896131873131, 0.019780462607741356, -0.05488595739006996, -0.008887180127203465, -0.012697718106210232, -0.005812926683574915, -0.05360735207796097, 0.12668928503990173, 0.0711301639676094, 0.03160976618528366, -0.07290896773338318, 0.04900891333818436, 0.0021083783358335495, 0.0018457204569131136, -0.08598010241985321, 0.012750672176480293, -0.011872944422066212, -0.019570617005228996, -0.028993310406804085, 0.02629292570054531, -0.032443251460790634, -0.015883415937423706, 0.019335132092237473, -0.039082687348127365, -0.03458455577492714, -0.038081828504800797, 0.028419679030776024, -0.022258302196860313, -0.05867277830839157, -0.02926182933151722, 0.09177518635988235, 0.029948582872748375, 0.03559766709804535, 0.055908411741256714, 0.0026516756042838097, 0.008513545617461205, 0.010387946851551533, -0.07688280940055847, -0.04167507216334343, -0.0020643342286348343, -0.05221666768193245, 0.025179533287882805, 0.01675068773329258, 0.060633547604084015, -0.07658476382493973, 0.017970899119973183, 0.04843004420399666, 0.03691764548420906, -0.01611723192036152, 0.045347630977630615, -0.02012958563864231, -0.03554647043347359, 0.07504870742559433, 0.013249083422124386, 0.015068760141730309, 0.04471615329384804, 0.06663069128990173, -0.0028785993345081806, 0.02127363346517086, 0.049257248640060425, 0.028050122782588005, 0.05239558219909668, -0.02083415538072586, 0.06566940993070602, -0.028210047632455826, 0.005951159168034792, 0.051696617156267166, 0.016079017892479897, -0.02211363986134529, 0.0706697478890419, 0.03182994946837425, -0.01834498718380928, 0.009250618517398834, -0.0006687766290269792, -0.02287757396697998, 0.05121491849422455, -0.007512007839977741, -0.2515411972999573, 0.037034694105386734, 0.0498005636036396, 0.06813918054103851, 0.020185600966215134, -0.012407264672219753, 0.05180303007364273, -0.07307852059602737, -0.04032927006483078, 0.007150661665946245, -0.0009061150485649705, 0.024125229567289352, -0.011430619284510612, -0.03705064579844475, 0.022896254435181618, -0.01752878911793232, 0.03742854297161102, -0.016411900520324707, 0.017030848190188408, 0.016434788703918457, 0.03985708951950073, -0.02679922990500927, 0.17996224761009216, 0.00176766247022897, 0.022505605593323708, 0.035347748547792435, 0.007750683464109898, -0.007704385556280613, 0.04139120876789093, 0.008963912725448608, 0.004312177654355764, 0.00409387331455946, 0.05662446841597557, 0.04883113503456116, 0.011873805895447731, -0.027732202783226967, -0.03326931223273277, 0.05047917738556862, -0.002917487407103181, -0.06948047131299973, 0.0025145364925265312, 0.034489650279283524, -0.05470218136906624, 0.018377508968114853, 0.051139943301677704, 0.013703389093279839, 0.02006295695900917, -0.026820216327905655, -0.05433632805943489, -0.0019136162009090185, -0.0383586548268795, -0.025040917098522186, -0.02552611567080021, -0.00490804435685277, 0.01586693339049816, 0.060452405363321304, -0.0013390996027737856, -0.036546867340803146, 0.042522531002759933, 0.022610213607549667, 0.0031337460968643427, 0.0031997414771467447, 0.11489585787057877, 0.030873894691467285, -0.002896334044635296 ]
[ -0.014076040126383305, 0.01734381914138794, -0.005071959458291531, -0.010412676259875298, 0.026663905009627342, -0.007388705387711525, -0.0001008165127132088, -0.0053593916818499565, 0.0022989173885434866, -0.027796689420938492, -0.02855675294995308, -0.015405213460326195, 0.03764084354043007, -0.0023011118173599243, -0.0012961679603904486, -0.03295090049505234, -0.035935305058956146, 0.025576280429959297, 0.03014242649078369, 0.029815690591931343, 0.013394049368798733, 0.019512413069605827, 0.02930055931210518, -0.01884184591472149, -0.005476719234138727, 0.06097139045596123, -0.010562391020357609, 0.021455220878124237, 0.02029264159500599, -0.1129368394613266, -0.054892443120479584, -0.01610269956290722, 0.0037738236133009195, 0.032284680753946304, -0.025063201785087585, -0.01869463548064232, -0.027415724471211433, 0.023101862519979477, 0.0018250910798087716, 0.020042086020112038, -0.0067848023027181625, -0.010521377436816692, -0.004043087363243103, 0.012242546305060387, 0.044591259211301804, 0.017917435616254807, -0.03407927230000496, -0.010260331444442272, -0.021989567205309868, 0.01458759605884552, -0.03913120925426483, -0.005865574814379215, 0.010033288039267063, 0.00248318980447948, 0.028313295915722847, -0.02814486250281334, -0.014892603270709515, -0.00020509050227701664, 0.0032694677356630564, -0.03824341669678688, 0.030434539541602135, 0.00864801649004221, -0.06289360672235489, -0.023269688710570335, -0.015251937322318554, -0.04143386334180832, -0.021881498396396637, 0.014633252285420895, -0.020356537774205208, 0.008755818009376526, 0.012085840106010437, 0.02494438923895359, -0.04546337574720383, -0.005809246562421322, -0.01949486695230007, 0.015435116365551949, 0.01659318059682846, -0.05679002404212952, -0.035208478569984436, -0.02051394432783127, -0.006333568133413792, -0.015747204422950745, 0.05029220134019852, 0.02054790034890175, 0.03886108100414276, -0.006850816775113344, 0.009246322326362133, 0.0047192564234137535, 0.022700846195220947, 0.004725049715489149, -0.013049290515482426, 0.02131963148713112, 0.029923176392912865, 0.0026932917535305023, -0.11476164311170578, 0.0383397601544857, -0.0379108227789402, 0.0008935939404182136, 0.01791004277765751, 0.8458432555198669, 0.0027359218802303076, 0.04837038367986679, 0.00671490328386426, 0.04003595933318138, -0.02495589293539524, 0.0033725504763424397, 0.041920006275177, 0.021301524713635445, 0.0015073335962370038, -0.0010393859120085835, 0.02706691063940525, 0.007235017605125904, 0.040101274847984314, 0.009907526895403862, -0.027625486254692078, 0.034151166677474976, 0.0033961378503590822, 0.02905251458287239, 0.01924964413046837, 0.02820473350584507, 0.0012262632371857762, 0.016333887353539467, -0.019192298874258995, 0.008383024483919144, 0.02210857719182968, -0.1362847536802292, 0.0064122844487428665, -7.283282917142244e-33, -0.00068571389419958, -0.008611895143985748, 0.008170932531356812, -0.03656445071101189, -0.04219863936305046, -0.016079992055892944, -0.023986373096704483, -0.011560281738638878, -0.025565562769770622, -0.021745791658759117, -0.0120919244363904, 0.010004274547100067, 0.0028853141702711582, -0.013993386179208755, 0.026623623445630074, -0.00439994502812624, 0.015752146020531654, 0.024273622781038284, 0.012069275602698326, -0.02314857766032219, 0.026400523260235786, -0.003513033501803875, 0.03250240534543991, 0.020388919860124588, 0.01570742204785347, 0.026504138484597206, -0.00493408041074872, -0.02049393579363823, -0.003537667915225029, -0.05464627221226692, -0.02414439432322979, -0.013596571981906891, -0.007113959640264511, -0.012529309839010239, 0.029291799291968346, -0.03128392621874809, 0.003485647263005376, 0.02462444081902504, -0.03096928633749485, -0.02430082857608795, -0.047068700194358826, -0.010356703773140907, -0.027805540710687637, -0.029333190992474556, -0.0007179051171988249, -0.022084038704633713, 0.009500270709395409, 0.008625514805316925, -0.0273139588534832, -0.0018093257676810026, 0.014164882712066174, -0.005867586936801672, -0.004807401914149523, -0.02173181250691414, -0.017148535698652267, -0.009323803707957268, -0.007375862915068865, -0.008679943159222603, -0.017423521727323532, 0.03107941336929798, 0.04960072413086891, 0.005565028637647629, 0.00618354044854641, 0.042221490293741226, 0.002744342666119337, 0.0009533513803035021, -0.005662949290126562, -0.020658329129219055, 0.03341219946742058, -0.006169017404317856, -0.009980090893805027, 0.014386540278792381, 0.015423986129462719, -0.01546564046293497, 0.049726832658052444, -0.02010500617325306, -0.017941659316420555, -0.03394833952188492, 0.009354700334370136, 0.035565782338380814, 0.028556479141116142, -0.04349248483777046, -0.012739493511617184, -0.018524255603551865, -0.0131551967933774, 0.011456485837697983, 0.01487171370536089, -0.011905934661626816, 0.007644335739314556, -0.006461759563535452, 0.036649808287620544, 0.007315123453736305, -0.020785624161362648, -0.01685374230146408, -0.01626512035727501, 7.270487661133543e-33, -0.0077877528965473175, 0.008473084308207035, 0.015185808762907982, -0.015107301995158195, 0.005437934771180153, 0.007563709747046232, 0.03578808158636093, 0.025205619633197784, -0.03570232167840004, 0.026673637330532074, -0.002933922689408064, -0.016804587095975876, -0.018901510164141655, -0.008305378258228302, 0.03493853658437729, -0.012611775659024715, 0.013164578005671501, 0.015059887431561947, -0.014223126694560051, 0.024877842515707016, 0.021465349942445755, 0.017224200069904327, 0.014057435095310211, 0.03536790609359741, 0.009996849112212658, 0.03851785883307457, -0.0037660894449800253, 0.017706550657749176, -0.008703112602233887, 0.03184359893202782, 0.022674189880490303, -0.04333120211958885, -0.003637575777247548, 0.005607901606708765, -0.026431860402226448, 0.05756545811891556, 0.006687288638204336, 0.0007152234902605414, 0.017107149586081505, 0.019879162311553955, -0.0027851928025484085, -0.009355289861559868, -0.015159375965595245, 0.02985266223549843, 0.016603246331214905, -0.000356244680006057, 0.010996329598128796, 0.0008981855353340507, 0.008409412577748299, -0.05908770486712456, 0.03486466780304909, 0.04027500003576279, -0.01817052625119686, -0.0038874265737831593, 0.04159517213702202, -0.013444200158119202, -0.03169303387403488, 0.012200852856040001, -0.05834738537669182, -0.010953386314213276, -0.038850899785757065, 0.018943259492516518, -0.043182242661714554, 0.02108117751777172, -0.011477464810013771, 0.00817732885479927, -0.02246762067079544, -0.00747352559119463, -0.007469493895769119, -0.016537994146347046, -0.052564654499292374, -0.02176019176840782, 0.001368351629935205, 0.04044264182448387, -0.02831166610121727, -0.006553309969604015, -0.01612665131688118, 0.024089837446808815, 0.021260948851704597, 0.06315156072378159, 0.028395116329193115, -0.02487144060432911, 0.012203441932797432, 0.02439201809465885, 0.012344916351139545, -0.0008787868428044021, -0.027583923190832138, -0.02117343805730343, 0.039918988943099976, -0.02642049267888069, 0.03461858257651329, -0.038081903010606766, 0.012454202398657799, 0.01859055645763874, -0.006565075367689133, -1.2918611957957182e-8, -0.039505865424871445, -0.03754656761884689, -0.027339013293385506, 0.02771175093948841, 0.019111724570393562, 0.015281399711966515, 0.004642510786652565, -0.046262744814157486, -0.03178039938211441, -0.014707118272781372, 0.02953237108886242, 0.010097921825945377, -0.004518451169133186, 0.03674327954649925, 0.02382039651274681, -0.020297247916460037, 0.0425361767411232, -0.0027290743310004473, 0.03129678592085838, 0.015942860394716263, 0.0008037076331675053, 0.040860049426555634, -0.029130706563591957, -0.015188793651759624, -0.005781045649200678, -0.026402220129966736, -0.02900298312306404, -0.11304831504821777, 0.014723447151482105, -0.0290346909314394, 0.032893937081098557, -0.03242424875497818, 0.012251025065779686, -0.01992184855043888, 0.011000721715390682, -0.017994992434978485, 0.020358940586447716, -0.021880943328142166, -0.00222962349653244, 0.0023279853630810976, 0.017579536885023117, -0.0023326869122684, -0.03214101493358612, -0.025151193141937256, -0.01669643446803093, -0.005186843685805798, -0.03937840089201927, -0.04276874288916588, 0.0016544528771191835, -0.05284217745065689, 0.06555084139108658, -0.03076041489839554, 0.03602609783411026, 0.031765975058078766, 0.029978079721331596, 0.005726382602006197, 0.01686987653374672, -0.026992814615368843, -0.03758981078863144, 0.02251942828297615, 0.03377378359436989, 0.014406501315534115, -0.0109128188341856, -0.01826286129653454 ]
clojure-all-things-regex
https://markhneedham.com/blog/2013/09/14/clojure-all-things-regex
false
2013-09-22 18:54:47
Clojure: Stripping all the whitespace
[ "clojure" ]
[ "Clojure" ]
When putting together data sets to play around with, one of the more boring tasks is stripping out characters that you're not interested in and more often than not those characters are white spaces. Since I've been building data sets using Clojure I wanted to write a function that would do this for me. I started out with the following string: [source,lisp] ---- (def word " with a little bit of space we can make it through the night ") ---- which I wanted to format in such a way that there would be a maximum of one space between each word. I start out by using the +++<cite>+++http://clojure.github.io/clojure/clojure.string-api.html#clojure.string/trim[trim]+++</cite>+++ function but that only removes white space from the beginning and end of a string: [source,lisp] ---- > (clojure.string/trim word) "with a little bit of space we can make it through the night" ---- I wanted to get rid of the space in between 'a' and 'little' as well so I wrote the following code to split on a space and filter out any excess spaces that still remained before joining the words back together: [source,lisp] ---- > (clojure.string/join " " (filter #(not (clojure.string/blank? %)) (clojure.string/split word #" "))) "with a little bit of space we can make it through the night" ---- I wanted to try and make it a bit easier to read by using the http://clojuredocs.org/clojure_core/clojure.core/-%3E%3E[thread last (\->>) macro] but that didn't work as well as I'd hoped because +++<cite>+++clojure.string/split+++</cite>+++ doesn't take the string in as its last parameter: [source,lisp] ---- > (->> (clojure.string/split word #" ") (filter #(not (clojure.string/blank? %))) (clojure.string/join " ")) "with a little bit of space we can make it through the night" ---- I worked around it by creating a specific function for splitting on a space: [source,lisp] ---- (defn split-on-space [word] (clojure.string/split word #"\s")) ---- which means we can now chain everything together nicely: [source,lisp] ---- > (->> word split-on-space (filter #(not (clojure.string/blank? %))) (clojure.string/join " ")) "with a little bit of space we can make it through the night" ---- I couldn't find a cleaner way to do this but I'm sure there is one and my googling just isn't up to scratch so do let me know in the comments!
null
null
[ -0.012112468481063843, 0.012244906276464462, -0.03801431879401207, 0.012202426791191101, 0.08704667538404465, 0.000759087095502764, 0.004166552796959877, 0.017521124333143234, 0.006517638918012381, -0.024645280092954636, -0.043070774525403976, -0.021375156939029694, -0.0730217769742012, 0.02031932957470417, -0.011250807903707027, 0.04724531248211861, 0.06892962008714676, -0.019264448434114456, 0.03553001582622528, 0.011831630021333694, 0.0448685884475708, 0.05797593295574188, 0.020117973908782005, 0.027053428813815117, 0.05384502932429314, -0.01113044936209917, 0.0004096532065887004, 0.03495978191494942, -0.051442552357912064, 0.0036665762308984995, 0.038695868104696274, 0.021239468827843666, 0.0143095962703228, -0.012951948679983616, 0.05167163163423538, -0.041727617383003235, -0.01679295301437378, 0.002981369849294424, 0.012189197354018688, 0.036312904208898544, -0.08533235639333725, 0.003696864005178213, -0.029037244617938995, -0.0024768973235040903, 0.002061971928924322, 0.0033845535945147276, -0.0778198391199112, 0.02903885766863823, -0.026188954710960388, 0.01985517144203186, -0.02986641228199005, -0.004421491175889969, 0.008819865994155407, -0.014883637428283691, -0.0006756754009984434, 0.027241690084338188, 0.03445061296224594, -0.06720857322216034, 0.06597486138343811, -0.029210515320301056, -0.006264023948460817, -0.036882538348436356, 0.021910279989242554, 0.052253637462854385, -0.008950745686888695, -0.024214087054133415, -0.023096946999430656, 0.04302461817860603, -0.06178202107548714, -0.03299105912446976, 0.011402684263885021, 0.008735070936381817, -0.0199297945946455, -0.031936533749103546, 0.0039006988517940044, -0.056785497814416885, -0.000820100714918226, 0.05075516924262047, 0.00815038476139307, 0.08193911612033844, -0.029404569417238235, 0.03135636821389198, 0.036659762263298035, 0.01798955351114273, 0.012276737950742245, -0.03464335575699806, -0.07786477357149124, 0.02156115509569645, -0.05167752504348755, 0.013485781848430634, -0.007174136582762003, -0.03942626714706421, 0.004386968445032835, 0.008483562618494034, 0.0033537251874804497, 0.040352482348680496, -0.01399264857172966, 0.011118563823401928, -0.004319271072745323, 0.004462793003767729, -0.042424555867910385, -0.05171753838658333, -0.0022208462469279766, 0.016686217859387398, -0.0844387486577034, 0.0014609777135774493, -0.012868900783360004, -0.005298643838614225, 0.05034535750746727, -0.021029546856880188, -0.037513285875320435, -0.02011881396174431, -0.006096376106142998, -0.0006791646592319012, -0.060579393059015274, 0.022490017116069794, -0.007498689461499453, -0.012956973165273666, -0.01196973491460085, 0.0369630828499794, 0.009141096845269203, 0.0025648348964750767, 0.030595073476433754, 0.050519827753305435, -0.036372680217027664, -0.003904706100001931, 0.003906050929799676, 0.06891653686761856, -0.014092854224145412, -0.04981648921966553, -0.02653738670051098, 0.06456153839826584, -0.007194564212113619, -0.014833374880254269, -0.018147531896829605, -0.04459771886467934, -0.02521858736872673, -0.022243790328502655, 0.05344884470105171, -0.01248010154813528, 0.019525893032550812, -0.0033241580240428448, -0.026070289313793182, -0.0041740224696695805, 0.055789291858673096, 0.010644492693245411, -0.030054636299610138, -0.010572093538939953, -0.027480149641633034, 0.016188614070415497, 0.02351047471165657, 0.015276746824383736, 0.05914183706045151, 0.03546379879117012, 0.010603236965835094, 0.05518918111920357, -0.0000036095630093768705, 0.07257618010044098, -0.009036543779075146, 0.017242584377527237, 0.009846154600381851, 0.029299452900886536, -0.03218518942594528, 0.054388947784900665, 0.004977579694241285, -0.0000025118681605817983, 0.009253332391381264, 0.04483424127101898, -0.03669842705130577, -0.012529482133686543, -0.0620260089635849, -0.026683317497372627, 0.059864483773708344, -0.029513437300920486, -0.016637463122606277, 0.03057827055454254, 0.08953984826803207, 0.03575587272644043, 0.04627440124750137, 0.024861516430974007, -0.0671192854642868, 0.05891101062297821, 0.02088642679154873, 0.0304426196962595, 0.044392310082912445, -0.01120889000594616, 0.08272814750671387, 0.02766687422990799, 0.021279089152812958, 0.023172082379460335, -0.0664590373635292, -0.07386060804128647, -0.0017142810393124819, -0.011279764585196972, 0.07242146879434586, -0.04351487010717392, 0.007942618802189827, 0.045806463807821274, 0.001172417658381164, 0.04102661460638046, 0.014419160783290863, 0.018604224547743797, 0.04333724454045296, -0.04860595241189003, -0.044121477752923965, 0.03744782507419586, 0.00687811616808176, -0.042477771639823914, -0.026173241436481476, 0.04501178860664368, 0.016425229609012604, 0.012238404713571072, 0.03126225620508194, -0.023937907069921494, 0.0495205856859684, 0.01242944598197937, 0.05924040079116821, -0.012229560874402523, 0.025622418150305748, -0.04908676818013191, 0.015507107600569725, 0.01251387782394886, -0.017103208228945732, -0.019056500867009163, 0.0037687146104872227, 0.13545747101306915, 0.05265281721949577, 0.000210401980439201, -0.04844912514090538, 0.030605943873524666, -0.051328156143426895, -0.0515267588198185, -0.0005383352399803698, -0.0006132923299446702, 0.0062883407808840275, 0.026134368032217026, 0.0014568953774869442, -0.023213570937514305, 0.010683693923056126, -0.018798978999257088, -0.033882468938827515, 0.06964022666215897, 0.003570828353986144, 0.046748243272304535, 0.01747254841029644, 0.003814764553681016, -0.024929633364081383, -0.03986557945609093, -0.04727933555841446, -0.0018449440831318498, 0.04239321127533913, -0.012575140222907066, 0.05221995711326599, -0.03901952505111694, -0.04813743755221367, -0.029484659433364868, -0.048815224319696426, 0.03424355015158653, 0.05612759664654732, 0.06196140870451927, -0.025190412998199463, 0.023854628205299377, -0.037693314254283905, 0.0026968244928866625, -0.047281794250011444, -0.059732355177402496, 0.013388057239353657, -0.0018199252663180232, 0.007669941522181034, -0.000959646247792989, 0.010886678472161293, 0.026616549119353294, 0.027268623933196068, 0.003496717195957899, -0.029145831242203712, -0.01020330935716629, 0.01944366842508316, -0.02020297572016716, -0.01569504663348198, -0.037736926227808, -0.004942976403981447, 0.06650064140558243, -0.028823371976614, -0.025457600131630898, -0.002881910651922226, -0.03510285168886185, 0.07247534394264221, -0.04600903019309044, -0.052868347615003586, -0.0013258627150207758, 0.04238395020365715, 0.026854658499360085, -0.029154717922210693, 0.022077836096286774, 0.058578744530677795, 0.03331754356622696, 0.019760318100452423, -0.005154659505933523, 0.0047273882664740086, 0.028544988483190536, 0.0126607995480299, 0.04100066050887108, 0.05302629619836807, 0.0027836819645017385, 0.0069510117173194885, -0.04529208317399025, -0.006156968418508768, -0.009642885997891426, -0.26867952942848206, 0.04397725686430931, -0.04588933289051056, -0.017843082547187805, 0.025129683315753937, -0.030659781768918037, 0.0046773916110396385, -0.05438404902815819, 0.0008553143707104027, -0.003993636462837458, -0.04259438067674637, 0.0018355469219386578, -0.022241443395614624, 0.05449851229786873, 0.014171409420669079, 0.00654354365542531, 0.00878124963492155, -0.01207465399056673, -0.00252068811096251, 0.03498690575361252, 0.035760942846536636, -0.037883806973695755, 0.014395362697541714, 0.044532813131809235, 0.017269115895032883, 0.044679418206214905, -0.04989054799079895, 0.03157457709312439, -0.04572012275457382, -0.046586260199546814, 0.02150672860443592, -0.022457951679825783, 0.016475658863782883, -0.03925473242998123, -0.003722443711012602, -0.011017657816410065, -0.002522530034184456, -0.029700979590415955, 0.062466174364089966, 0.05095831677317619, -0.01733105257153511, -0.04205866903066635, 0.03136507794260979, -0.03959931433200836, 0.054577361792325974, -0.005307150539010763, -0.07711876183748245, 0.0014098617248237133, -0.015732819214463234, 0.08320862054824829, -0.012186470441520214, -0.033316340297460556, -0.00044175187940709293, 0.06164572015404701, -0.010028709657490253, -0.02528107538819313, -0.02999476157128811, 0.00025506748352199793, -0.05169699341058731, -0.046581387519836426, 0.0047965641133487225, -0.05990898236632347, -0.020867086946964264, -0.056923091411590576, -0.015368384309113026, -0.07910662889480591, -0.07539813965559006, 0.013080539181828499, 0.06262490898370743, 0.02853367105126381, -0.02047947235405445, -0.020770443603396416, 0.014624415896832943, -0.10889182984828949, -0.015483768656849861, -0.05684128403663635, -0.034922726452350616, -0.015428991988301277, -0.026300042867660522, 0.04122641310095787, -0.04596497118473053, -0.025532633066177368, 0.015920812264084816, 0.04363261163234711, 0.027365583926439285, -0.03597740828990936, 0.02076399326324463, -0.007209709845483303, -0.01692700758576393, -0.026601409539580345, 0.04084363579750061, -0.031246652826666832, -0.052110619843006134, -0.015878552570939064, -0.002531834179535508, 0.02649054490029812, 0.01983981765806675, 0.006168506573885679, 0.031199824064970016, 0.0053731645457446575, 0.04446130990982056, -0.04909989610314369, 0.012878595851361752, -0.0074915653094649315, -0.008090247400105, -0.0019213733030483127, -0.05499976873397827, 0.018448233604431152, 0.03247596323490143, 0.009564698673784733, -0.03824849799275398, -0.013918332755565643, 0.00424466747790575, -0.08540962636470795, -0.046768005937337875, -0.01661730371415615, 0.010614244267344475, -0.009931291453540325, 0.04636228457093239, -0.013505959883332253, -0.04562487453222275, 0.004491820000112057, 0.0113146947696805, -0.050204165279865265, -0.029596850275993347, -0.01643415167927742, 0.0034657008945941925, -0.013971790671348572, 0.016162699088454247, 0.014270873740315437, -0.02130863629281521, 0.036800533533096313, 0.026567654684185982, -0.0430658794939518, 0.04372094199061394, -0.019489768892526627, -0.012311206199228764, -0.015347404405474663, -0.0228979904204607, 0.019238391891121864, 0.023160666227340698, -0.019081661477684975, 0.010058572515845299, 0.023300113156437874, 0.017685776576399803, 0.017159178853034973, 0.011906140483915806, -0.02813868038356304, -0.0023970622569322586, 0.031556401401758194, -0.009853819385170937, -0.0364450104534626, 0.04687923192977905, -0.032657478004693985, 0.020643727853894234, -0.013556178659200668, 0.011131885461509228, -0.022362958639860153, -0.00607561320066452, -0.047232236713171005, 0.029604526236653328, -0.017013518139719963, -0.017209285870194435, -0.01946304365992546, -0.010383558459579945, 0.023794464766979218, -0.01787215657532215, 0.0498245507478714, -0.016282908618450165, -0.012163554318249226, 0.012523657642304897, 0.014032508246600628, -0.021458633244037628, 0.017965655773878098, -0.003730340860784054, 0.016268016770482063, 0.026179317384958267, 0.041428402066230774, 0.012661093845963478, 0.02844608761370182, 0.004310102667659521, -0.0005682899500243366, 0.015431279316544533, 0.014394449070096016, 0.05158553645014763, 0.03009655512869358, 0.004340126179158688, 0.007968081161379814, -0.04342044144868851, -0.037273358553647995, -0.010047512128949165, -0.004973723087459803, -0.04258517175912857, -0.000424751517130062, -0.019738923758268356, -0.07051093876361847, -0.019789690151810646, 0.0893150120973587, -0.016243012621998787, 0.00918595027178526, 0.010183149948716164, -0.01782228797674179, -0.022683238610625267, -0.003489698050543666, 0.03965659812092781, -0.04353689029812813, -0.0013204490533098578, -0.035873375833034515, 0.01041461806744337, 0.04025787487626076, 0.00442537572234869, -0.049569737166166306, -0.00017624086467549205, -0.041660599410533905, -0.01163859385997057, 0.011797690764069557, -0.009827079251408577, -0.022038087248802185, 0.02658754773437977, -0.027960043400526047, -0.01965624839067459, -0.03662298619747162, -0.006655584555119276, 0.014884667471051216, -0.018303848803043365, -0.00231380108743906, -0.028434261679649353, -0.003130559576675296, 0.021394554525613785, -0.005303492769598961, 0.0053408644162118435, -0.044810209423303604, 0.03901522606611252, 0.014343454502522945, -0.011705277487635612, -0.019668690860271454, -0.04796777293086052, 0.0370001420378685, -0.025946926325559616, 0.0504695326089859, 0.025143861770629883, -0.007222979795187712, -0.047679536044597626, 0.026320291683077812, -0.029647603631019592, 0.0036564450711011887, -0.015538007020950317, -0.023649102076888084, 0.007039239630103111, 0.04263937100768089, -0.00886176060885191, 0.014472363516688347, -0.04714501276612282, -0.04398724064230919, 0.046501416712999344, -0.0016265138983726501, -0.07146310806274414, -0.028362492099404335, -0.029152629896998405, 0.03376967832446098, 0.021998517215251923, 0.01538757886737585, -0.02094481699168682, 0.03364530950784683, 0.04786636307835579, 0.009668968617916107, 0.00840830523520708, -0.012625133618712425, 0.030106306076049805, -0.04348711296916008, 0.0024027833715081215, -0.07579139620065689, -0.019326116889715195, 0.029981568455696106, -0.013928134925663471, -0.02721214108169079, -0.010086406022310257, -0.04745761677622795, 0.010092311538755894, -0.058619823306798935, -0.005725976545363665, 0.06044991314411163, -0.0008918894454836845, 0.014967318624258041, 0.044838059693574905, -0.046742912381887436, 0.025756722316145897, 0.049151357263326645, -0.02015065960586071, -0.024217279627919197, -0.06350502371788025, 0.03874354809522629, -0.027593722566962242, 0.013144725002348423, -0.010899773798882961, 0.00307131907902658, 0.08258366584777832, 0.04098837822675705, 0.019846856594085693, 0.040919262915849686, -0.018869636580348015, 0.007762824185192585, 0.05144667625427246, -0.053754258900880814, -0.01916385255753994, 0.02096071094274521, -0.035562995821237564, -0.05627532675862312, 0.030054856091737747, 0.049752019345760345, -0.00729717081412673, -0.041940849274396896, 0.08048161119222641, 0.020419470965862274, -0.029979920014739037, -0.05494734272360802, 0.016454704105854034, -0.05439141020178795, 0.011064977385103703, -0.03511076420545578, -0.013829020783305168, -0.03943204507231712, 0.03527354821562767, -0.018039122223854065, 0.021929197013378143, 0.0764891505241394, -0.01326285395771265, -0.009889695793390274, 0.012790585868060589, 0.0548253133893013, 0.1059681847691536, 0.06585529446601868, 0.02596624568104744, 0.03313891589641571, -0.046211328357458115, -0.045623961836099625, 0.003634022083133459, -0.008976751007139683, 0.02410171926021576, -0.007707964163273573, 0.025758974254131317, 0.06189848110079765, -0.021071985363960266, 0.06866072863340378, 0.00838667992502451, -0.01222984679043293, -0.024932174012064934, 0.013790374621748924, 0.05306125804781914, 0.022904224693775177, 0.013984901830554008, 0.01247780304402113, 0.02281825616955757, -0.01622910425066948, 0.041503261774778366, 0.003264453960582614, -0.0159958116710186, 0.01465041283518076, 0.020911291241645813, 0.013172842562198639, 0.05232391506433487, 0.07112236320972443, 0.07567524909973145, -0.010838408023118973, -0.0032018476631492376, 0.019675301387906075, 0.03341403231024742, 0.009768680669367313, -0.0026747402735054493, 0.0009245286928489804, -0.017956191673874855, -0.01153095718473196, -0.011433432810008526, -0.028642451390624046, -0.029540374875068665, -0.07167663425207138, -0.0031113026197999716, -0.018751395866274834, -0.013116415590047836, 0.006535659544169903, 0.023260395973920822, -0.041250184178352356, -0.06721837818622589, -0.04648293927311897, -0.055543363094329834, -0.08476939052343369, -0.023083515465259552, -0.02362707071006298, -0.02123698592185974, -0.03478735685348511, 0.007304936647415161, -0.02211659587919712, 0.00999063067138195, 0.03490769490599632, -0.025952380150556564, -0.017033224925398827, 0.021284975111484528, 0.013594408519566059, 0.04735894128680229, -0.004405628889799118, 0.03473082557320595, -0.01671098731458187, -0.006143381353467703, 0.007946878671646118, -0.024746406823396683, 0.05383125692605972, 0.004390310030430555, -0.02732093818485737, -0.08082824945449829, 0.01883440837264061, 0.03954662010073662, 0.041424673050642014, -0.0902402326464653, 0.03402641415596008, 0.010491068474948406, -0.0014266807120293379, 0.036532651633024216, -0.028631694614887238, -0.012423370964825153, -0.026130106300115585, -0.020316002890467644, -0.007356033194810152, 0.0222631748765707, 0.01116148941218853, -0.02184155397117138, 0.06676097214221954, 0.03343263640999794, -0.01378590613603592, -0.016462702304124832, -0.008217631839215755, -0.044764239341020584, 0.032752882689237595, -0.08220944553613663, -0.0006526564829982817, -0.036062244325876236, -0.044154390692710876, -0.01707952842116356, 0.0016798144206404686, -0.08574658632278442, -0.034675322473049164, -0.008050826378166676, 0.03440491110086441, -0.04569607973098755, 0.04795253649353981, -0.01653929427266121, 0.05095250532031059, -0.004847000818699598, -0.012502885423600674, -0.029138950631022453, 0.018138913437724113, 0.036341287195682526, 0.009495459496974945, 0.02273205667734146, -0.0221127737313509, 0.019592510536313057, -0.016719063743948936, 0.015386476181447506, -0.0008101888815872371, -0.030567700043320656, 0.026844371110200882 ]
[ -0.07668803632259369, -0.023345541208982468, -0.014259801246225834, -0.02781948447227478, 0.014068271964788437, -0.056332144886255264, -0.01213392149657011, 0.005532742943614721, 0.05551169067621231, -0.006297691259533167, 0.02023858018219471, -0.04608043655753136, 0.015695517882704735, 0.010046558454632759, 0.09069520235061646, -0.03213534504175186, -0.017888443544507027, -0.003004425670951605, -0.08006058633327484, 0.012789614498615265, 0.04287893325090408, -0.03204469755291939, -0.00999547354876995, -0.04072410240769386, 0.04534579813480377, 0.020073261111974716, 0.018199102953076363, -0.07659441232681274, -0.013871695846319199, -0.22717532515525818, 0.0007418952300213277, 0.019541943445801735, 0.03351643308997154, -0.018894808366894722, 0.01346603874117136, 0.07946775108575821, 0.026391450315713882, 0.01987368054687977, -0.05980392545461655, 0.04766564816236496, 0.04986441507935524, 0.018786484375596046, -0.02452208288013935, -0.022223567590117455, 0.011556618846952915, -0.024661701172590256, -0.0007861567428335547, -0.0467124879360199, -0.03844614699482918, 0.034053314477205276, -0.06401273608207703, -0.016659755259752274, 0.017467042431235313, 0.030256304889917374, 0.026645775884389877, 0.037669647485017776, 0.034985508769750595, 0.05821657553315163, 0.00967786367982626, 0.0042435056529939175, -0.024885868653655052, -0.01328433956950903, -0.11481786519289017, 0.07931718230247498, 0.018145572394132614, 0.03099832870066166, 0.006734384689480066, -0.004458168987184763, -0.022883020341396332, 0.0997590497136116, -0.007972918450832367, 0.004780018702149391, -0.02762889303267002, 0.10182250291109085, 0.013483021408319473, -0.04161454737186432, -0.006385951302945614, -0.004633273929357529, 0.05608703941106796, -0.028867779299616814, -0.055097002536058426, -0.006372988689690828, -0.019770892336964607, 0.014797811396420002, -0.035143740475177765, 0.02563447505235672, -0.05081384629011154, 0.04286371171474457, 0.008233398199081421, -0.03170933574438095, 0.005059171933680773, -0.0402088537812233, 0.055344413965940475, 0.039157263934612274, -0.0834871456027031, -0.023458054289221764, -0.024744171649217606, 0.028582913801074028, -0.0023157240357249975, 0.39821872115135193, -0.05304249748587608, -0.019697194918990135, 0.0266265906393528, 0.013750582933425903, 0.01991262286901474, -0.009834893979132175, 0.02241314761340618, 0.005188032053411007, 0.01314250472933054, -0.05197349190711975, -0.0251592006534338, -0.02451116032898426, 0.050166238099336624, -0.02622307650744915, 0.0019674694631248713, 0.0309748575091362, 0.06875082850456238, 0.026033371686935425, -0.031098784878849983, 0.023140881210565567, -0.016464954242110252, -0.012498819269239902, -0.009161808528006077, -0.0005005553248338401, 0.013387275859713554, 0.02999185211956501, 0.052067410200834274, 0.07088859379291534, 0.0626373291015625, 0.023838622495532036, 0.017016461119055748, -0.02338908053934574, -0.05137120932340622, 0.034117795526981354, -0.012231187894940376, 0.012653449550271034, -0.0030326140113174915, -0.053092800080776215, 0.01292874850332737, -0.012627851217985153, 0.01617608219385147, -0.04268917068839073, 0.02424851804971695, 0.009543259628117085, -0.001300724921748042, 0.10203401744365692, -0.04885117709636688, -0.054776985198259354, -0.03076079674065113, -0.04050123691558838, -0.01471417210996151, 0.04665937274694443, 0.00961239356547594, -0.04989330843091011, 0.027792131528258324, 0.018363088369369507, 0.08782192319631577, -0.026420073583722115, -0.06838063150644302, -0.009286453947424889, -0.028189733624458313, -0.00215794681571424, -0.04343060776591301, 0.06454924494028091, 0.0076177590526640415, -0.02330758422613144, -0.04364471137523651, 0.05126076936721802, -0.012441164813935757, -0.03581249713897705, 0.0016106703551486135, -0.013294604606926441, -0.0265559833496809, 0.01245826855301857, 0.044730160385370255, -0.03622918576002121, -0.05937378108501434, -0.03331909328699112, 0.03513828292489052, 0.030108056962490082, -0.026125380769371986, 0.010944659821689129, -0.019348636269569397, 0.042221277952194214, 0.000609652022831142, -0.07028765231370926, -0.05579287186264992, 0.00522768497467041, 0.0240483321249485, 0.008226043544709682, -0.011675851419568062, -0.024378009140491486, -0.04139314591884613, 0.029668856412172318, -0.059664756059646606, -0.012676083482801914, 0.005060423165559769, 0.008176546543836594, -0.06357042491436005, -0.0446002334356308, 0.03492101654410362, 0.06368618458509445, -0.024015625938773155, -0.01793123036623001, -0.04441303759813309, -0.013560370542109013, 0.06756284087896347, -0.0705820694565773, 0.05884181708097458, 0.031496383249759674, -0.018312301486730576, -0.01502989325672388, 0.008432975970208645, 0.009066889993846416, 0.02620016597211361, -0.023179832845926285, -0.007421549409627914, -0.055840469896793365, 0.04336487129330635, -0.01106828823685646, -0.0557573065161705, -0.05110125243663788, -0.08946751803159714, -0.3591219484806061, -0.0201252568513155, 0.023027347400784492, -0.0105685293674469, 0.05305882915854454, -0.09490927308797836, 0.009013514965772629, 0.011694725602865219, -0.00866539403796196, -0.0008029085583984852, 0.07509852945804596, -0.07021907716989517, -0.04629622399806976, -0.07647259533405304, 0.015560990199446678, 0.04959563910961151, 0.02108841761946678, -0.0003850842476822436, -0.035875529050827026, 0.01109984703361988, 0.02007892169058323, -0.05899300426244736, -0.010776976123452187, -0.03520635887980461, 0.0022575026378035545, -0.017343953251838684, 0.12026327103376389, 0.020057834684848785, 0.08026160299777985, -0.05775438994169235, 0.07020024210214615, -0.008314588107168674, -0.018923211842775345, -0.07081081718206406, -0.013536287471652031, 0.0024320983793586493, -0.003006159793585539, 0.008522736839950085, 0.007362422998994589, -0.006703374441713095, -0.03553156554698944, 0.041209958493709564, -0.07387171685695648, -0.03356055170297623, -0.00010974187171086669, 0.005978203844279051, -0.025121940299868584, -0.02692720666527748, -0.008013931103050709, 0.05880584567785263, 0.01716381497681141, -0.002426097635179758, 0.016899747774004936, 0.02241976372897625, 0.05745384469628334, 0.0004078713245689869, -0.04701309651136398, -0.03651593253016472, 0.02875741384923458, -0.04573272541165352, 0.04050811007618904, 0.03289050608873367, 0.050743892788887024, -0.06131790205836296, -0.015718985348939896, 0.014900450594723225, 0.0249894168227911, -0.0010256229434162378, 0.007943288423120975, -0.014917911030352116, -0.05475486442446709, 0.08402761816978455, 0.002770352642983198, -0.0001700582797639072, 0.04938836395740509, 0.05865009129047394, -0.038970835506916046, 0.01816188544034958, -0.007672928739339113, -0.021312015131115913, 0.04648205265402794, 0.018417345359921455, 0.05589287355542183, -0.013504060916602612, 0.0075259339064359665, 0.03734789043664932, 0.003397703869268298, -0.0053893402218818665, 0.05133100599050522, 0.011221468448638916, -0.04490251466631889, 0.021122822538018227, 0.015625102445483208, -0.012394129298627377, 0.06195292994379997, 0.004836857784539461, -0.2633441388607025, 0.053150445222854614, 0.035445064306259155, 0.04701085761189461, 0.012520666234195232, 0.03295613452792168, 0.0027414450887590647, -0.07685540616512299, -0.019851120188832283, 0.013229361735284328, -0.036286141723394394, 0.05028261989355087, -0.012511768378317356, -0.020414236932992935, 0.024640601128339767, -0.013285442255437374, 0.06246047466993332, -0.0079471031203866, 0.012506178580224514, 0.011135411448776722, 0.03964993730187416, -0.04109499230980873, 0.19907884299755096, 0.002633267780765891, 0.014042996801435947, 0.030941369011998177, 0.006915704347193241, 0.008553583174943924, 0.0627216026186943, 0.02316824160516262, -0.01047332864254713, 0.03338379040360451, 0.060263797640800476, 0.016423039138317108, 0.01984349638223648, -0.005302374716848135, -0.01628868468105793, 0.023901935666799545, 0.022567743435502052, -0.026310311630368233, 0.015460403636097908, 0.028415031731128693, -0.024017401039600372, 0.018881503492593765, 0.0683545395731926, -0.0005861077806912363, 0.02761668525636196, -0.028761044144630432, -0.012213076464831829, -0.009288907051086426, -0.022871335968375206, 0.0019508842378854752, -0.009157744236290455, -0.007754928432404995, 0.0028588061686605215, 0.0493723526597023, -0.010884334333240986, -0.06451734155416489, 0.040692880749702454, 0.01852293126285076, -0.017406413331627846, -0.06005599722266197, 0.08142538368701935, -0.025684181600809097, 0.009780035354197025 ]
[ 0.010904348455369473, 0.007846882566809654, 0.011530324816703796, -0.004001271910965443, 0.029536012560129166, -0.045910049229860306, 0.01772122271358967, 0.030986271798610687, -0.0010075673926621675, -0.024901682510972023, -0.018425943329930305, -0.012637264095246792, 0.030650699511170387, -0.026741299778223038, 0.020558280870318413, 0.028693391010165215, -0.01717645861208439, 0.016336515545845032, 0.011092188768088818, 0.011621656827628613, 0.013124888762831688, 0.04302151873707771, 0.04060247540473938, -0.006326925475150347, 0.016899026930332184, 0.06351923197507858, 0.0018222209764644504, -0.026276225224137306, 0.031999655067920685, -0.10367970913648605, -0.026031650602817535, -0.019724396988749504, 0.026813026517629623, -0.008926590904593468, -0.00039388585719279945, 0.02159547433257103, -0.03194502368569374, 0.025321844965219498, 0.00530706811696291, -0.00040098887984640896, -0.01226754579693079, 0.014161331579089165, -0.015521172434091568, 0.013252157717943192, 0.03642110899090767, 0.0709499940276146, -0.022822313010692596, -0.06484159827232361, -0.022070996463298798, -0.01635306514799595, -0.03132086247205734, -0.010580386966466904, 0.0004928743001073599, 0.0256477240473032, 0.017374111339449883, -0.028248516842722893, -0.06041945517063141, -0.011771435849368572, 0.04782357066869736, -0.04123783856630325, -0.009615824557840824, -0.0016896941233426332, -0.05001869797706604, -0.026929954066872597, -0.00268160249106586, -0.046321213245391846, -0.003420187858864665, 0.04526647552847862, 0.001333027146756649, -0.00911804661154747, 0.0178300179541111, 0.0667698010802269, -0.0465199276804924, -0.032952167093753815, -0.041171927005052567, 0.05004212260246277, 0.041732337325811386, -0.04738667234778404, -0.008367176167666912, -0.012210899963974953, 0.019683601334691048, -0.02782239392399788, 0.056808143854141235, 0.04838890582323074, 0.0024093312676995993, -0.0009998372988775373, 0.004093186464160681, -0.008020962588489056, 0.0033615014981478453, 0.004856758750975132, -0.009731764905154705, 0.02221933752298355, 0.03516874834895134, -0.0413464792072773, -0.072043776512146, 0.03211250901222229, -0.0326426737010479, 0.006468497682362795, -0.0073543936014175415, 0.8282928466796875, -0.01724400743842125, 0.04811247065663338, 0.028203977271914482, -0.003158106002956629, -0.03505980968475342, -0.010715708136558533, 0.03459904342889786, -0.008648197166621685, 0.017878839746117592, 0.02168748527765274, 0.028141126036643982, -0.014175518415868282, 0.051175396889448166, 0.0022757072001695633, 0.0304186400026083, 0.014582703821361065, 0.04584869369864464, 0.02938559465110302, 0.06190734729170799, 0.05401979014277458, 0.03786306828260422, 0.006820239592343569, -0.024775831028819084, 0.006872063037008047, 0.00913372915238142, -0.1288449466228485, 0.014457213692367077, -6.612907305075924e-33, 0.03409390524029732, 0.0060667316429317, -0.003140118671581149, -0.03739437088370323, -0.008746612817049026, -0.006782901473343372, -0.024985458701848984, -0.012771304696798325, -0.03445645794272423, -0.029542598873376846, 0.0010396281722933054, -0.010498559102416039, -0.01713687740266323, -0.014928655698895454, 0.024344714358448982, -0.0069683026522397995, 0.035444170236587524, 0.03495413810014725, -0.019902488216757774, -0.0041568404994904995, -0.009515813551843166, 0.0168171226978302, 0.012819123454391956, 0.0029832511208951473, -0.0022042752243578434, -0.03072710521519184, 0.04865047335624695, -0.0218074768781662, -0.028643278405070305, -0.05148487165570259, -0.059031177312135696, -0.0009594897856004536, 0.016118360683321953, 0.033204030245542526, 0.041481662541627884, -0.018709061667323112, 0.004635547287762165, 0.01883206143975258, -0.04344654083251953, -0.0486162044107914, -0.03472929820418358, -0.010351643897593021, -0.03384646773338318, -0.021070295944809914, 0.007236097007989883, -0.02365434356033802, 0.004063940141350031, 0.025456370785832405, -0.01701405644416809, 0.03555299714207649, 0.014493142254650593, 0.02309710904955864, -0.02915666624903679, -0.006432405207306147, -0.04024260863661766, -0.011433402076363564, -0.009615321643650532, -0.05966503173112869, -0.016182152554392815, 0.04002769663929939, -0.004219475202262402, 0.02725091204047203, 0.0027979803271591663, 0.03837059065699577, 0.013968179933726788, -0.0020893262699246407, -0.01683754473924637, -0.016191106289625168, 0.025464577600359917, 0.02483530342578888, -0.022993581369519234, 0.0020054681226611137, -0.0036016516387462616, -0.011651774868369102, -0.006368018686771393, -0.025869760662317276, -0.01633807085454464, -0.06771136075258255, -0.01528202835470438, 0.04772237315773964, 0.03201248124241829, -0.06534143537282944, -0.00431473134085536, -0.0012028987985104322, -0.013932136818766594, 0.015555259771645069, 0.025624774396419525, 0.004072656389325857, -0.010990956798195839, -0.03180832415819168, 0.0442391037940979, -0.03353847190737724, 0.0171068012714386, -0.02369873784482479, -0.04346386715769768, 7.091925661139822e-33, -0.004971087910234928, -0.013490039855241776, 0.014571037143468857, 0.006678948178887367, 0.01956276036798954, 0.012771974317729473, 0.0456138513982296, 0.0090751638635993, -0.01668217033147812, 0.040970344096422195, -0.032453157007694244, -0.020663820207118988, -0.0001898826303659007, 0.0042283968068659306, 0.04365602135658264, 0.0033324691466987133, 0.017919674515724182, -0.005463477689772844, -0.01042087934911251, 0.01560689602047205, 0.0110239889472723, 0.01486240979284048, 0.02475559152662754, 0.019811630249023438, 0.008848209865391254, 0.05296292528510094, -0.004810961429029703, 0.02817409671843052, -0.005687146447598934, 0.011742240749299526, -0.007977362722158432, -0.018875472247600555, 0.006936986465007067, 0.018486155197024345, -0.015695806592702866, 0.02634078450500965, -0.013040215708315372, -0.011703796684741974, 0.04641241952776909, -0.0036156021524220705, -0.014040728099644184, -0.014393653720617294, -0.02439582161605358, 0.014116363599896431, 0.0009410424972884357, -0.00396910822018981, 0.00495573366060853, 0.029081638902425766, 0.03682173043489456, -0.07291089743375778, 0.0015437498223036528, 0.03444654867053032, -0.009902293793857098, 0.010380961932241917, 0.020576998591423035, -0.051088202744722366, -0.040327005088329315, 0.030680367723107338, -0.06429776549339294, -0.00364148011431098, -0.0346415713429451, -0.018328895792365074, 0.021034862846136093, 0.02265051007270813, -0.006209683604538441, -0.01816336251795292, -0.015109231695532799, -0.009291575290262699, -0.018609076738357544, -0.028464069589972496, -0.02943122759461403, -0.019803950563073158, 0.012552686035633087, 0.034130748361349106, -0.0051931110210716724, 0.011226418428122997, -0.031238261610269547, -0.009204935282468796, 0.016109365969896317, 0.0373893678188324, 0.02652822621166706, 0.01647445745766163, 0.0129469633102417, 0.03986683860421181, 0.005501521285623312, -0.02983737736940384, -0.021738143637776375, -0.010281001217663288, 0.010541153140366077, -0.029817739501595497, 0.006312218494713306, -0.018998904153704643, 0.012266222387552261, 0.04166434705257416, -0.0188722126185894, -1.2540559701790244e-8, 0.016098717227578163, -0.031097223982214928, -0.02853810042142868, 0.03467308729887009, 0.014144652523100376, -0.009048567153513432, -0.02212272770702839, -0.017817946150898933, -0.03375512734055519, 0.00907886028289795, 0.008539578877389431, 0.007827610708773136, -0.011878909543156624, 0.02648717723786831, 0.039901379495859146, -0.04382392764091492, 0.05556154251098633, -0.0008531086496077478, 0.025724360719323158, -0.03512334078550339, 0.0017003644024953246, 0.03794372081756592, -0.03240593522787094, -0.005878675729036331, -0.01770251803100109, -0.024531526491045952, 0.010679113678634167, -0.0588550940155983, 0.03033745288848877, -0.028635671362280846, 0.04524780437350273, -0.030077097937464714, -0.012085522525012493, -0.021739061921834946, -0.0003519044257700443, -0.03116297349333763, -0.007650276646018028, 0.0005388970603235066, 0.009778963401913643, 0.02523164637386799, -0.005869947839528322, 0.022733096033334732, 0.0020981442648917437, -0.028199348598718643, -0.05553486943244934, -0.03939288482069969, 0.00591052882373333, -0.01764899305999279, -0.004575649742037058, -0.007542058359831572, 0.06007135659456253, -0.009827964007854462, 0.030526312068104744, 0.013109599240124226, 0.029717884957790375, 0.004550091922283173, 0.006731599569320679, -0.043376561254262924, -0.05799933895468712, -0.01322606299072504, 0.017497433349490166, -0.0008731262059882283, -0.02920372784137726, -0.019137781113386154 ]
clojure-stripping-all-the-whitespace
https://markhneedham.com/blog/2013/09/22/clojure-stripping-all-the-whitespace
false
2013-09-22 23:07:04
Clojure/Emacs/nrepl: Stacktrace-less error messages
[ "clojure", "emacs", "nrepl" ]
[ "Clojure" ]
Ever since I started using the Emacs + nrepl combination to play around with Clojure I've been getting fairly non descript error messages whenever I pass the wrong parameters to a function. For example if I try to update a non existent key in a form I get a Null Pointer Exception: [source,lisp] ---- > (update-in {} [:mark] inc) NullPointerException clojure.lang.Numbers.ops (Numbers.java:942) ---- In this case it's clear that the hash doesn't have a key ':mark' so the function blows up. However, sometimes the functions are more complicated and this type of reduced stack trace isn't very helpful for working out where the problem lies. I eventually came across https://groups.google.com/forum/#!msg/nrepl-el/x8vhEbckycY/93unZrJI1RkJ[a thread in the nrepl-el forum] where Tim King suggested that adding the following lines to the Emacs configuration file should sort things out: _~/.emacs.d/init.el_ [source,lisp] ---- (setq nrepl-popup-stacktraces nil) (setq nrepl-popup-stacktraces-in-repl t) ---- I added those two lines, restarted Emacs and after calling the function again got a much more detailed stack trace: [source,lisp] ---- > (update-in {} [:mark] inc) java.lang.NullPointerException: Numbers.java:942 clojure.lang.Numbers.ops Numbers.java:110 clojure.lang.Numbers.inc core.clj:863 clojure.core/inc AFn.java:161 clojure.lang.AFn.applyToHelper AFn.java:151 clojure.lang.AFn.applyTo core.clj:603 clojure.core/apply core.clj:5472 clojure.core/update-in RestFn.java:445 clojure.lang.RestFn.invoke NO_SOURCE_FILE:1 user/eval9 ... ---- From reading this stack trace we learn that the problem happens when the +++<cite>+++inc+++</cite>+++ function is called with a parameter of 'nil'. We'd see the same thing if we called it directly: [source,lisp] ---- > (inc nil) java.lang.NullPointerException: Numbers.java:942 clojure.lang.Numbers.ops Numbers.java:110 clojure.lang.Numbers.inc NO_SOURCE_FILE:1 user/eval14 ... ---- Although Clojure error messages do baffle me at times, I hope things will be better now that I'll be able to see on which line the error occurred.
null
null
[ -0.03330693021416664, 0.0029093788471072912, -0.03664853051304817, -0.004568635951727629, 0.06943407654762268, 0.02157878316938877, 0.01606941781938076, -0.006744734011590481, -0.032433636486530304, -0.02251153066754341, -0.040672242641448975, 0.001503519481047988, -0.05880003795027733, 0.004489079117774963, 0.012929636053740978, 0.055440209805965424, 0.09118646383285522, -0.021289311349391937, 0.018064109608530998, 0.03972797840833664, 0.04033927246928215, 0.057546280324459076, 0.020994454622268677, -0.004972356837242842, 0.025252901017665863, -0.02204228565096855, 0.007528511341661215, 0.005066836718469858, -0.07272546738386154, 0.00492895720526576, 0.018043745309114456, 0.01602187007665634, -0.009309482760727406, -0.020329546183347702, 0.031954843550920486, 0.005003433208912611, 0.0025961287319660187, -0.005653636995702982, 0.0023016994819045067, 0.04708189517259598, -0.047051213681697845, 0.00774055952206254, -0.026233946904540062, 0.014568292535841465, 0.01221535075455904, 0.02512163482606411, -0.050284676253795624, 0.02454344555735588, -0.011553467251360416, 0.000055104665079852566, -0.06144988536834717, 0.020379938185214996, -0.005552193615585566, -0.028766820207238197, 0.02373827062547207, 0.016764113679528236, -0.001726337242871523, -0.10256841033697128, 0.06591853499412537, -0.02451312355697155, 0.0002819413202814758, 0.01032975036650896, -0.006128508131951094, 0.016105689108371735, -0.008051041513681412, 0.0000896994533832185, -0.027955347672104836, 0.03850860148668289, -0.07686685025691986, -0.02377786487340927, 0.0074523622170090675, 0.005244144704192877, -0.03167867660522461, -0.02896067686378956, 0.04595596343278885, -0.045549631118774414, -0.005738049279898405, 0.06206273287534714, 0.0003152116551063955, 0.0412045456469059, -0.0019897581078112125, -0.015257028862833977, 0.03679432347416878, 0.03130403906106949, 0.02191975712776184, -0.020320028066635132, -0.047586701810359955, -0.0016639699460938573, -0.02505149319767952, 0.033429767936468124, 0.04513269662857056, -0.04671753942966461, -0.02211223728954792, 0.002012119395658374, -0.0021327699068933725, -0.0003653865132946521, -0.013877714052796364, 0.00467899302020669, -0.004326693248003721, 0.004806770943105221, 0.012314274907112122, -0.03772781416773796, -0.004308476112782955, 0.0076589034870266914, -0.09166686981916428, -0.01998763158917427, -0.011303854174911976, -0.0281938835978508, 0.007821292616426945, -0.01932772621512413, -0.051223352551460266, 0.047003116458654404, -0.010744346305727959, 0.0018578063463792205, -0.07454800605773926, 0.05752858519554138, 0.008876251988112926, -0.04381712153553963, -0.03501216694712639, 0.019922742620110512, 0.04273702949285507, 0.039566487073898315, 0.013237319886684418, 0.07361988723278046, 0.002451197477057576, 0.04250190034508705, -0.027568308636546135, 0.046361520886421204, 0.010313393548130989, -0.04099055007100105, -0.032454002648591995, 0.06252463907003403, 0.012765475548803806, 0.009346791543066502, 0.012189975008368492, -0.013735268265008926, -0.031532544642686844, -0.005736071150749922, 0.07705377787351608, 0.006589868105947971, 0.012571983970701694, 0.011501974426209927, 0.02162756212055683, 0.008383658714592457, 0.04881894960999489, 0.026086891070008278, -0.018744194880127907, -0.018362585455179214, -0.003353746607899666, 0.03091919794678688, 0.03337414190173149, 0.015958599746227264, 0.06725910305976868, -0.015808256343007088, 0.005801316350698471, 0.08966302126646042, -0.005455818958580494, 0.03525286912918091, -0.02011064440011978, 0.025188317522406578, 0.030185077339410782, 0.01039224024862051, -0.018078314140439034, 0.05072728544473648, 0.017686856910586357, -0.006304292473942041, 0.005643663927912712, 0.04974609985947609, 0.010614072903990746, -0.03116174414753914, -0.04575158655643463, -0.06515266746282578, 0.04939579963684082, -0.021144604310393333, -0.01513479370623827, 0.00540495477616787, 0.09313353151082993, 0.01530545949935913, 0.05707598850131035, -0.002512899460271001, -0.06806077063083649, 0.04550330713391304, 0.004382675979286432, 0.031109411269426346, -0.0008545632590539753, -0.011611683294177055, 0.07670844346284866, 0.0008095715893432498, -0.00865557324141264, 0.021047992631793022, -0.06697557121515274, -0.07259880006313324, -0.008342258632183075, -0.040816862136125565, 0.06719223409891129, -0.03536634519696236, 0.0028372083324939013, 0.026880810037255287, -0.0016850120155140758, 0.034118857234716415, 0.015313692390918732, 0.000953868729993701, 0.01988465152680874, -0.036996569484472275, -0.04841252788901329, 0.039827775210142136, 0.04652012139558792, -0.006069908384233713, -0.04095993936061859, 0.02961830049753189, -0.023149162530899048, 0.01810816302895546, 0.043871525675058365, -0.010037441737949848, 0.04008200392127037, 0.011017144657671452, 0.03091585449874401, -0.07368803769350052, 0.01469395961612463, -0.005714981816709042, 0.013649094849824905, 0.019212335348129272, 0.019933391362428665, 0.014518906362354755, 0.0016239567194133997, 0.14488112926483154, 0.07664951682090759, 0.00007006811210885644, -0.03540714830160141, 0.056079477071762085, 0.02877747267484665, -0.06962137669324875, 0.0034701048862189054, -0.03611549735069275, 0.009113771840929985, 0.0022871438413858414, 0.00584080396220088, -0.00020114525977987796, 0.005809842608869076, -0.02589355781674385, -0.006987061817198992, 0.09117594361305237, -0.0036676342133432627, 0.04845547303557396, 0.024916546419262886, 0.0018187323585152626, -0.03828081861138344, -0.05951717123389244, -0.062498148530721664, 0.022508198395371437, 0.004889272153377533, -0.005073235835880041, 0.0614873431622982, -0.03520692139863968, -0.025025110691785812, 0.012120959348976612, -0.04969353973865509, -0.006435956805944443, 0.04565473273396492, 0.04973649978637695, 0.027036340907216072, 0.020047232508659363, -0.03341783955693245, -0.017411986365914345, -0.02564370073378086, -0.07254356145858765, -0.00919411238282919, 0.014671556651592255, -0.00531323766335845, 0.04075681045651436, -0.000163335440447554, 0.001082377741113305, 0.01206396147608757, -0.00355907971970737, -0.008468516170978546, -0.038772810250520706, 0.0048863147385418415, -0.005986218806356192, -0.03579576313495636, -0.035381823778152466, -0.005471611861139536, 0.04517801105976105, -0.026748651638627052, -0.029295366257429123, 0.01455606333911419, -0.007604995276778936, 0.04260314628481865, -0.05525229126214981, -0.025212081149220467, 0.01815401203930378, 0.03217855468392372, 0.01683582365512848, -0.021731702610850334, 0.010021455585956573, 0.050758376717567444, 0.017821701243519783, 0.022950589656829834, 0.021935734897851944, -0.00036935738171450794, 0.025081252679228783, 0.010305719450116158, 0.011741334572434425, 0.0069830892607569695, 0.031278349459171295, -0.015900686383247375, -0.001419255742803216, 0.0011007507564499974, -0.01001991517841816, -0.2647947669029236, 0.04966742545366287, -0.018178671598434448, -0.013525892049074173, 0.00005021458491683006, -0.008944554254412651, 0.010660392232239246, -0.016093485057353973, -0.004720409866422415, 0.036504682153463364, 0.009121508337557316, -0.007734045386314392, -0.01120520569384098, 0.01809164695441723, -0.03249890357255936, -0.03699050843715668, 0.014850877225399017, -0.047871965914964676, 0.000978604657575488, 0.05323033779859543, 0.008352392353117466, -0.06993047147989273, 0.034948501735925674, 0.052385617047548294, 0.03988444432616234, 0.030917536467313766, -0.07062764465808868, 0.037570495158433914, -0.01064608059823513, -0.03566241264343262, 0.024957779794931412, -0.004949746187776327, 0.008923860266804695, -0.02834000065922737, -0.037050746381282806, 0.00575076462700963, 0.018556419759988785, 0.0027632671408355236, 0.009915533475577831, 0.030868014320731163, -0.03383379057049751, -0.047862328588962555, -0.0005552759976126254, 0.004228982608765364, 0.0664764791727066, -0.020168157294392586, -0.061091139912605286, -0.0020492139738053083, -0.022326664999127388, 0.07790526747703552, -0.05555190518498421, -0.05638489872217178, -0.0006633363082073629, 0.07403388619422913, 0.018097884953022003, -0.030388910323381424, -0.061031874269247055, -0.003245190717279911, -0.024400779977440834, -0.018613796681165695, 0.0077369241043925285, -0.06608809530735016, -0.029246462509036064, -0.05118193104863167, -0.05728388577699661, -0.07129500806331635, -0.060431331396102905, -0.006754768546670675, 0.06466887146234512, 0.004854964092373848, -0.061011482030153275, -0.033979084342718124, -0.029865916818380356, -0.10176730155944824, -0.029603078961372375, -0.059602852910757065, -0.03869413211941719, -0.004643840715289116, -0.023128125816583633, 0.031695444136857986, -0.03555489704012871, -0.030208397656679153, 0.03352800011634827, 0.05813167989253998, 0.031230298802256584, -0.005630805157124996, -0.02536902204155922, -0.008399441838264465, 0.017834728583693504, -0.0320238433778286, 0.04150087386369705, -0.03681044653058052, -0.03279849514365196, -0.037766627967357635, 0.012233095243573189, 0.01705254800617695, 0.004296523053199053, 0.010322016663849354, 0.03131233528256416, 0.036852557212114334, 0.007581202778965235, -0.03470404073596001, 0.015783974900841713, -0.018274299800395966, -0.0034424676559865475, 0.02053755521774292, -0.03688353672623634, 0.01105879433453083, 0.016117149963974953, -0.0016104517271742225, -0.05560091882944107, -0.06139160320162773, -0.00764725124463439, -0.06888898462057114, -0.05015372857451439, -0.0007118401699699461, 0.0035082732792943716, 0.029752817004919052, 0.04709835723042488, -0.0377134270966053, -0.07691289484500885, 0.026831654831767082, -0.002311729360371828, -0.04149944707751274, -0.047762736678123474, -0.03951628878712654, -0.020997146144509315, -0.03586052730679512, -0.0019710222259163857, 0.007368175778537989, -0.0077910167165100574, 0.05214264243841171, 0.009337477385997772, -0.022048868238925934, 0.015874870121479034, -0.022276051342487335, -0.01974732242524624, -0.0015353410271927714, -0.03807586804032326, -0.009549343027174473, 0.004413141403347254, -0.025147419422864914, 0.02302650362253189, 0.03079843334853649, -0.004575032275170088, -0.006724678445607424, 0.030936818569898605, -0.026290999725461006, -0.0293077751994133, 0.03374454751610756, 0.01204749383032322, -0.0478191077709198, 0.051368348300457, -0.04967079684138298, -0.04025821015238762, -0.00549890473484993, 0.04691695421934128, -0.030187131837010384, -0.048892732709646225, -0.03145378828048706, 0.04159988835453987, -0.03579283133149147, 0.0020926238503307104, -0.012303735129535198, -0.0264328233897686, 0.039807576686143875, 0.009188682772219181, 0.029639696702361107, 0.005595506634563208, -0.02110906131565571, -0.0355595201253891, -0.021559420973062515, -0.060570381581783295, 0.008170259185135365, -0.014089766889810562, 0.017652025446295738, -0.0027895590756088495, 0.010606478899717331, 0.029273364692926407, -0.014020879752933979, -0.01404883898794651, -0.017340032383799553, 0.06762699782848358, 0.04803820326924324, 0.02836569771170616, -0.019948270171880722, -0.01530053187161684, 0.017272623255848885, -0.01613086462020874, -0.052301544696092606, -0.03319826349616051, -0.03523540496826172, -0.018042484298348427, 0.013521017506718636, -0.02280055731534958, -0.07194309681653976, -0.014852432534098625, 0.06276290118694305, 0.023798055946826935, -0.008524547331035137, 0.0038078592624515295, -0.0074021825566887856, -0.032225873321294785, 0.025370284914970398, 0.07978998124599457, -0.04268430173397064, -0.009458418004214764, -0.017370672896504402, 0.011120236478745937, 0.02384932152926922, -0.0026820888742804527, -0.049718521535396576, -0.011849306523799896, 0.002824394730851054, 0.013734822161495686, 0.00281074782833457, -0.023670991882681847, 0.0011876014759764075, 0.0005287256790325046, 0.0008926150621846318, -0.02322571352124214, -0.022775880992412567, 0.015134778805077076, -0.024530405178666115, -0.028887828812003136, -0.02812408097088337, 0.01082893367856741, 0.02414921671152115, 0.018999740481376648, 0.0030324398539960384, 0.02450733631849289, -0.04061782360076904, 0.06412719935178757, 0.008384978398680687, 0.02180856466293335, -0.005136842839419842, -0.04612789303064346, 0.01831192523241043, 0.008865660056471825, 0.052414052188396454, -0.01840662769973278, -0.01367281936109066, -0.025409702211618423, 0.026518026366829872, -0.03517672047019005, -0.000398901553126052, 0.012165459804236889, 0.0037087404634803534, 0.03233730047941208, 0.06045398488640785, -0.0030626177322119474, 0.05953666940331459, -0.02445385791361332, 0.01003436092287302, 0.06602755934000015, -0.048844438046216965, -0.05480438843369484, -0.006947454065084457, -0.05920916423201561, 0.027644062414765358, 0.03017241507768631, -0.0017632388044148684, -0.05629698187112808, 0.03950544074177742, 0.020661620423197746, -0.0036600464954972267, -0.007010875269770622, -0.03200472891330719, 0.019771035760641098, -0.05488934740424156, -0.0356341153383255, -0.11494167894124985, 0.022021204233169556, 0.056854866445064545, -0.004911428317427635, -0.005628790240734816, -0.03940965607762337, -0.02648795396089554, 0.0035197590477764606, -0.040205854922533035, 0.004287378396838903, 0.035027895122766495, -0.006790418643504381, 0.003725749673321843, 0.05735857039690018, -0.05339336022734642, 0.03314586728811264, 0.043301597237586975, -0.049401648342609406, -0.030216259881854057, -0.03916143998503685, 0.046890780329704285, 0.005761396139860153, 0.038722023367881775, -0.006637157406657934, 0.0045301904901862144, 0.07651346176862717, 0.02445141226053238, 0.007913007400929928, 0.050166886299848557, -0.02118002250790596, 0.023987360298633575, 0.04784080386161804, 0.01754549704492092, -0.01965061016380787, 0.04958948865532875, -0.022080590948462486, -0.05694126710295677, 0.02009427174925804, 0.04828478395938873, -0.047775737941265106, -0.040516115725040436, 0.05810157209634781, 0.02680274285376072, -0.022954966872930527, -0.023216376081109047, 0.02543107233941555, -0.08278442919254303, 0.0075861606746912, -0.04386257752776146, -0.0011768834665417671, -0.0230579636991024, 0.06044112145900726, -0.0013177043292671442, -0.00413689436390996, 0.07941866666078568, 0.03497728332877159, -0.005759735591709614, -0.005042766220867634, 0.08091690391302109, 0.07975965738296509, 0.02030664123594761, 0.028812723234295845, 0.0397949181497097, -0.02192481979727745, -0.04270782321691513, 0.004875364247709513, 0.009866353124380112, 0.002089496236294508, -0.019744321703910828, 0.02444533258676529, 0.08276629447937012, -0.02607462927699089, 0.07370220124721527, -0.013838645070791245, -0.011672347784042358, 0.002270290395244956, -0.012003977783024311, 0.050698403269052505, 0.030831530690193176, -0.0016012301202863455, 0.022785652428865433, 0.0021940635051578283, -0.023205740377306938, 0.02292671985924244, -0.01601913385093212, -0.04428919404745102, -0.007217582780867815, 0.018600327894091606, 0.049348894506692886, 0.023889688774943352, 0.05226333439350128, 0.07019975781440735, -0.008746346458792686, -0.025661341845989227, 0.012799166142940521, 0.03605985268950462, 0.011072576977312565, 0.020269189029932022, -0.0033303028903901577, -0.04128854349255562, -0.012445323169231415, -0.007160058245062828, -0.025761866942048073, -0.042089544236660004, -0.04644293338060379, 0.0378488153219223, -0.026221605017781258, -0.018615975975990295, 0.019265934824943542, 0.007867288775742054, -0.017714135348796844, -0.0558866485953331, -0.05841676518321037, -0.03116949088871479, -0.05619080364704132, -0.03182046860456467, -0.001675823237746954, -0.020252404734492302, -0.044353995472192764, -0.022170083597302437, 0.016284408047795296, 0.0359024815261364, 0.022547582164406776, -0.021421318873763084, -0.021106021478772163, 0.008638453669846058, -0.02461533062160015, 0.017963916063308716, 0.01621329039335251, 0.037255655974149704, -0.007818426936864853, -0.006464425940066576, 0.012508314102888107, -0.0013732699444517493, 0.03202234208583832, 0.006051592994481325, 0.017414281144738197, -0.07699663192033768, 0.008918233215808868, 0.044150419533252716, 0.026981215924024582, -0.06104531139135361, 0.009246922098100185, 0.02892516553401947, -0.02933635003864765, 0.0698804259300232, 0.0009875016985461116, -0.011197664774954319, -0.05546515807509422, 0.002464861376211047, 0.014295626431703568, 0.03436076641082764, 0.0028489672113209963, 0.004743028432130814, 0.06976743042469025, 0.039775438606739044, -0.013988849706947803, -0.0053720357827842236, -0.019624220207333565, -0.02334662154316902, -0.007183707319200039, -0.028387324884533882, -0.029336076229810715, -0.07920999079942703, -0.03360353782773018, -0.012522527016699314, 0.002706748666241765, -0.04768332093954086, 0.001280133263207972, -0.035937804728746414, 0.053671494126319885, -0.02259383723139763, 0.05249426141381264, -0.04528486728668213, 0.04868539050221443, -0.01783698983490467, -0.024291079491376877, -0.001937735709361732, -0.0035938704386353493, 0.013140060007572174, -0.02437729761004448, 0.029706018045544624, -0.02806590124964714, 0.02626679092645645, -0.025809338316321373, 0.04424486309289932, 0.025491047650575638, -0.021664155647158623, 0.003801110666245222 ]
[ -0.12702907621860504, -0.024851949885487556, -0.04503640905022621, -0.04151012375950813, -0.008771953172981739, -0.029735570773482323, 0.014692466706037521, 0.016143355518579483, 0.009205899201333523, -0.03753124549984932, 0.010435180738568306, -0.0736122727394104, 0.02247929386794567, 0.007587062660604715, 0.07513144612312317, -0.007481995038688183, -0.02303360030055046, -0.02708570845425129, -0.04949071258306503, 0.004139913711696863, 0.03089505434036255, -0.04208803176879883, -0.010294429957866669, -0.04630284383893013, 0.01530919037759304, 0.03695083037018776, 0.03600533306598663, -0.028247321024537086, -0.034266699105501175, -0.23879484832286835, -0.012937628664076328, 0.005288308952003717, 0.02421746961772442, -0.028263987973332405, -0.01825452782213688, 0.05956988409161568, 0.011483576148748398, 0.016954395920038223, 0.015612673945724964, 0.024123594164848328, 0.027698669582605362, 0.02222217246890068, -0.04440564662218094, -0.06297416239976883, 0.04778962954878807, -0.03684043511748314, -0.010351848788559437, -0.025756536051630974, 0.003350884187966585, 0.004261678084731102, -0.07063864171504974, 0.003029458224773407, 0.03871443122625351, -0.01952226646244526, 0.01454827282577753, 0.018383748829364777, 0.03763251379132271, 0.0820503756403923, 0.01004546694457531, 0.041896652430295944, 0.0156415943056345, 0.0007423727656714618, -0.13041554391384125, 0.09595752507448196, 0.03742469474673271, 0.03419940918684006, 0.03215392678976059, -0.03824478015303612, -0.02879263274371624, 0.06316771358251572, 0.03756880387663841, -0.01152093056589365, -0.0332428477704525, 0.11099746078252792, 0.03368465229868889, -0.020364798605442047, -0.009923567995429039, 0.015067222528159618, 0.0303768590092659, -0.06706883013248444, -0.030716417357325554, -0.04267846792936325, -0.017653346061706543, -0.01948666386306286, -0.005248365458101034, 0.020961428061127663, -0.00453842431306839, 0.04726365953683853, 0.04450403153896332, 0.012570774182677269, 0.027470260858535767, -0.011479858309030533, 0.07825153321027756, 0.011950991116464138, -0.10045696794986725, 0.02490290440618992, -0.007879596203565598, -0.0010782780591398478, -0.06008557602763176, 0.3842233717441559, 0.005417907144874334, 0.009582282975316048, 0.038858652114868164, 0.023222116753458977, 0.0034341844730079174, -0.020537937059998512, 0.0011251517571508884, -0.03165312856435776, -0.004188177641481161, -0.04150468856096268, 0.0067251562140882015, -0.014382309280335903, 0.07019518315792084, -0.05448644980788231, -0.017648810520768166, 0.025129808112978935, 0.08251690119504929, -0.011046010069549084, -0.024611959233880043, 0.030836787074804306, 0.009828967042267323, -0.018504997715353966, 0.008787448517978191, -0.005513343494385481, 0.015291769988834858, -0.00650160713121295, 0.010627890937030315, 0.08303065598011017, 0.03378615528345108, 0.036341357976198196, 0.01908145099878311, -0.014443841762840748, -0.05313199758529663, -0.013812022283673286, 0.014263772405683994, 0.011781120672821999, -0.0076125990599393845, -0.037496987730264664, 0.022601397708058357, 0.0009117461158894002, -0.018207043409347534, -0.011016421020030975, 0.01338067278265953, 0.0036266252864152193, -0.027757026255130768, 0.09506849199533463, 0.002706672763451934, -0.008322319015860558, -0.005602015648037195, -0.03145471587777138, -0.013091941364109516, 0.03405550867319107, -0.005130234640091658, -0.010720651596784592, -0.008603262715041637, 0.026344768702983856, 0.05566858872771263, -0.016308609396219254, -0.09384762495756149, 0.005420026835054159, -0.025856534019112587, -0.027246853336691856, -0.05439797043800354, 0.07375670224428177, 0.002389146015048027, -0.04468093067407608, -0.05730298534035683, -0.0018999340245500207, -0.0203388724476099, -0.06445804983377457, -0.0053934878669679165, 0.03510221466422081, -0.012093257158994675, -0.03287920355796814, 0.027767697349190712, 0.003872913308441639, -0.03009803220629692, -0.04084087908267975, 0.05430205538868904, 0.020916838198900223, -0.023507514968514442, 0.012754632160067558, -0.043727461248636246, 0.008774727582931519, -0.003573774127289653, -0.06467141211032867, -0.054440535604953766, -0.00845138356089592, 0.007571282330900431, 0.008455590344965458, -0.0396454893052578, -0.010797285474836826, -0.030615592375397682, 0.06965184956789017, -0.04895434156060219, -0.030849818140268326, 0.009816312231123447, 0.0019694825168699026, 0.008504990488290787, -0.03169913589954376, 0.05891044810414314, 0.06175490841269493, 0.00433254474774003, 0.03636021167039871, -0.10666898638010025, -0.014286691322922707, 0.02786659635603428, -0.045026540756225586, 0.08542545884847641, 0.02477240562438965, -0.021194281056523323, 0.027618706226348877, -0.03720184043049812, 0.001833312213420868, -0.012581090442836285, 0.012744290754199028, -0.02965053915977478, -0.02166145294904709, 0.06012531742453575, 0.010477482341229916, -0.047185588628053665, -0.022757194936275482, -0.04067471623420715, -0.35295748710632324, -0.019407808780670166, 0.007527607027441263, -0.056014034897089005, 0.03762742504477501, -0.0666661188006401, -0.013841365464031696, 0.0018655169988051057, -0.010386008769273758, -0.0010757851414382458, 0.0699574425816536, -0.017969366163015366, -0.003120102221146226, -0.07532970607280731, -0.004129908513277769, 0.018711209297180176, 0.004588117823004723, -0.06221969053149223, -0.001776321092620492, 0.05916627123951912, -0.023135120049118996, -0.03943981975317001, -0.04645785316824913, -0.048211805522441864, 0.000769369478803128, -0.020856181159615517, 0.05278274789452553, 0.043390024453401566, 0.0873262882232666, -0.07334806025028229, 0.03364456817507744, 0.01602838560938835, -0.0028784084133803844, -0.1065986305475235, -0.008885987102985382, -0.029092976823449135, -0.029467178508639336, 0.012843538075685501, 0.03168666362762451, 0.006379773840308189, -0.046487897634506226, 0.006213958375155926, -0.07350881397724152, -0.048787523061037064, -0.006645618937909603, -0.014387553557753563, -0.02222653664648533, -0.0067922635935246944, -0.018053432926535606, 0.05488871410489082, 0.008746717125177383, 0.024989087134599686, 0.0046127610839903355, 0.02344052866101265, 0.036101412028074265, -0.013623662292957306, -0.03914108872413635, -0.051808349788188934, 0.042407430708408356, -0.020551303401589394, 0.07239346951246262, 0.06962206214666367, 0.04431746527552605, -0.06493966281414032, 0.018217645585536957, -0.0020893383771181107, 0.02776849828660488, 0.009227568283677101, 0.04080042988061905, -0.027778374031186104, -0.04282371699810028, 0.14122068881988525, 0.01352166198194027, 0.015115917660295963, 0.03885291889309883, 0.04976862668991089, -0.013800830580294132, -0.013552327640354633, 0.026449592784047127, 0.022628305479884148, 0.006221354939043522, 0.0010194112546741962, 0.056565914303064346, -0.040792904794216156, -0.030441850423812866, 0.05099956691265106, 0.008963449858129025, -0.011604083701968193, 0.03016815148293972, -0.021264776587486267, -0.0277305506169796, -0.01615782268345356, 0.009538892656564713, -0.030417239293456078, 0.06183699145913124, 0.021327296271920204, -0.24693213403224945, 0.028878098353743553, 0.04349036142230034, 0.07565715909004211, -0.007419883739203215, 0.023579154163599014, 0.04467393085360527, -0.07491212338209152, -0.055751241743564606, 0.04521755874156952, 0.008527534082531929, 0.018816450610756874, 0.016956692561507225, 0.002198162255808711, 0.0529693141579628, -0.02704808861017227, 0.010578460991382599, -0.00042942335130646825, 0.03289816156029701, 0.009476128965616226, 0.03178893402218819, 0.001183244283311069, 0.19372312724590302, 0.03403187543153763, -0.017486877739429474, 0.023765381425619125, -0.001698756474070251, 0.003043843200430274, 0.10496263206005096, 0.0026093521155416965, 0.005582775920629501, 0.029406193643808365, 0.029389794915914536, 0.02397477813065052, 0.04691018909215927, -0.029343120753765106, -0.02565452829003334, 0.019428344443440437, -0.0007416736916638911, -0.020826837047934532, -0.0213917288929224, 0.05135408416390419, -0.026067988947033882, 0.02570927143096924, 0.074924536049366, -0.022412121295928955, -0.0001183611893793568, -0.005690591875463724, -0.023830652236938477, -0.00403753574937582, -0.005621188785880804, -0.03664819896221161, -0.0048623476177453995, 0.008100279606878757, -0.011771936900913715, 0.05367400497198105, 0.02146950364112854, -0.043432559818029404, -0.03504186496138573, 0.02812369540333748, 0.03590630739927292, -0.016281336545944214, 0.11315461248159409, -0.016942113637924194, 0.026458045467734337 ]
[ -0.00505401473492384, -0.0005140884895808995, 0.014040057547390461, -0.01988593302667141, 0.006674730218946934, -0.022228481248021126, -0.004066661465913057, 0.030065041035413742, 0.0022001885809004307, -0.01819680631160736, -0.011718399822711945, -0.01345494668930769, 0.041392549872398376, -0.014014552347362041, 0.0034939716570079327, -0.0265426654368639, -0.006151154637336731, 0.03335367515683174, 0.027857258915901184, 0.001764948363415897, -0.022887183353304863, 0.0268710944801569, 0.029704801738262177, -0.04427162930369377, 0.009041923098266125, 0.014495092444121838, -0.01883108727633953, -0.019734801724553108, 0.01768406666815281, -0.1427711695432663, 0.00006080869206925854, -0.028470870107412338, 0.007012529764324427, -0.011050203815102577, -0.009299912489950657, 0.03224799036979675, -0.005814275238662958, 0.023853804916143417, -0.012654534541070461, 0.0012787837767973542, -0.01614776812493801, 0.014434008859097958, -0.0378013476729393, 0.023252008482813835, 0.02423476055264473, 0.000295443634968251, -0.0198835376650095, -0.053540293127298355, -0.021228639408946037, 0.006549918092787266, -0.010538400150835514, 0.01956486888229847, 0.005303870886564255, -0.0017237103311344981, 0.02373211272060871, -0.028737183660268784, -0.05797073617577553, 0.00024743162794038653, 0.025409970432519913, -0.021623481065034866, 0.00605290150269866, -0.0122682498767972, -0.012021110393106937, -0.03836846351623535, -0.005894285626709461, -0.03345289081335068, 0.012883035466074944, 0.0076742637902498245, -0.005474444478750229, 0.013688633218407631, 0.005958269815891981, 0.013534418307244778, -0.014051847159862518, -0.0061777145601809025, -0.030490124598145485, 0.03550661355257034, 0.01516848523169756, -0.0495709553360939, -0.005577171687036753, -0.01543433591723442, -0.028883587568998337, -0.020336968824267387, -0.001214655232615769, 0.00686184037476778, 0.021314391866326332, 0.00253176293335855, 0.008359014987945557, -0.022764671593904495, 0.02862631157040596, 0.05406308174133301, -0.005503627005964518, 0.03618716448545456, 0.02134697698056698, -0.003509283298626542, -0.08151606470346451, 0.012508735060691833, -0.02497851476073265, 0.008740453980863094, -0.023708119988441467, 0.868039071559906, 0.007419513072818518, 0.050234295427799225, 0.030419310554862022, 0.0018501412123441696, -0.01205389853566885, -0.0005146520561538637, -0.006976597476750612, -0.014626756310462952, -0.03743859380483627, -0.008399765007197857, 0.02225433476269245, -0.032543908804655075, 0.03252663463354111, 0.01023097988218069, 0.021651234477758408, 0.007039540912955999, 0.04219430312514305, 0.022298436611890793, 0.029471514746546745, 0.04016874358057976, 0.03741079568862915, 0.0006205701502040029, -0.014051402918994427, 0.011402206495404243, -0.019011706113815308, -0.14905700087547302, -0.006826605182141066, -6.706017477920588e-33, 0.014639599248766899, 0.012039260007441044, 0.008266601711511612, -0.01987351104617119, -0.014756543561816216, -0.03258013725280762, -0.001336122746579349, -0.00319812074303627, -0.012580782175064087, -0.029198162257671356, -0.006038718856871128, -0.012756746262311935, 0.0034638510551303625, -0.01883300021290779, 0.008032511919736862, 0.006498225033283234, 0.024626605212688446, 0.05163656175136566, -0.02231261134147644, 0.016426168382167816, 0.02665511891245842, 0.02310383878648281, 0.0022409530356526375, -0.028189267963171005, 0.022936658933758736, 0.02134750783443451, 0.042614828795194626, -0.0233965702354908, -0.0075156292878091335, -0.055725518614053726, -0.0245890524238348, -0.0005823708488605917, 0.024229442700743675, 0.00025012705009430647, 0.041273850947618484, -0.05795068293809891, -0.0030681858770549297, 0.017944997176527977, -0.03433288633823395, -0.06103627756237984, -0.007538009900599718, -0.0012232887092977762, -0.060189343988895416, -0.006588369607925415, -0.011583751998841763, -0.0167801845818758, 0.012941689230501652, 0.04233836755156517, -0.006842935457825661, 0.01997389830648899, 0.003781468840315938, 0.017319029197096825, -0.01037660427391529, -0.00834724586457014, -0.0008972132345661521, -0.013767487369477749, -0.03193291649222374, -0.00857575610280037, -0.006331389304250479, 0.0132488664239645, 0.005988817662000656, 0.0008121946593746543, -0.011974480003118515, 0.028706328943371773, 0.008740602992475033, -0.022920604795217514, -0.03387570381164551, -0.018674904480576515, 0.017682647332549095, 0.0316326841711998, -0.014807472005486488, -0.007633839268237352, -0.010019845329225063, 0.01544142048805952, 0.018085191026329994, -0.03969170153141022, -0.03056919388473034, -0.020628703758120537, -0.00360132590867579, 0.04736819863319397, 0.017233701422810555, -0.024680761620402336, -0.008184315636754036, -0.0124617088586092, 0.01582762971520424, 0.013963461853563786, -0.0036364831030368805, 0.00043441556044854224, -0.0038456593174487352, 0.004243351519107819, 0.056882813572883606, -0.006334264762699604, 0.0032998020760715008, -0.020211167633533478, -0.04379970580339432, 6.964125180634454e-33, -0.006094456184655428, 0.006482570432126522, -0.003256365889683366, 0.019792458042502403, -0.01594424434006214, 0.0003828190383501351, 0.009434492327272892, -0.01307806745171547, -0.028149554505944252, 0.028985818848013878, -0.04787765070796013, -0.01287001185119152, 0.0009620412602089345, 0.015917757526040077, 0.03909915313124657, -0.014627602882683277, 0.0163128525018692, 0.0196040291339159, -0.003817497519776225, 0.0015018176054582, 0.010011857375502586, 0.014414219185709953, 0.029630333185195923, 0.0373040996491909, 0.020849445834755898, 0.04529113322496414, -0.004407566972076893, 0.013305909931659698, -0.01835971511900425, -0.007072341162711382, 0.0163382887840271, -0.010039636865258217, -0.002999961609020829, -0.03505568578839302, -0.008145826868712902, 0.014293286949396133, 0.018667183816432953, 0.004990596789866686, 0.004741658456623554, 0.002129835309460759, 0.012348577380180359, 0.008523411117494106, 0.01314354408532381, 0.019570238888263702, -0.0070158629678189754, 0.009262001141905785, 0.03132716938853264, 0.021514268592000008, 0.025295419618487358, -0.03856974467635155, -0.0004817467706743628, 0.012432945892214775, 0.005488892085850239, -0.008867733180522919, 0.006174925714731216, 0.0007746579358354211, -0.027149256318807602, 0.021047616377472878, -0.02927551418542862, 0.014788675121963024, -0.021839268505573273, -0.03749345242977142, 0.01556207612156868, 0.008614820428192616, -0.01862945780158043, -0.015626082196831703, -0.005296266637742519, -0.015732161700725555, -0.029810739681124687, -0.027012357488274574, -0.02831428311765194, -0.025570431724190712, 0.0031824326142668724, 0.03008510358631611, 0.016460124403238297, 0.006944413296878338, 0.010609838180243969, -0.010981062427163124, 0.019986120983958244, -0.0027508060447871685, 0.010236555710434914, 0.004730066284537315, -0.025375105440616608, 0.0339994840323925, 0.01860516145825386, 0.00906431581825018, -0.02719082124531269, 0.02478211559355259, 0.004374992102384567, -0.011025604791939259, -0.004342447035014629, 0.00003104063944192603, 0.006820021662861109, 0.034883707761764526, -0.02661931701004505, -1.2767799262292101e-8, 0.03541211038827896, -0.012287382036447525, -0.003092871280387044, 0.014507841318845749, 0.02155500277876854, 0.02793131023645401, -0.015342345461249352, -0.017647845670580864, -0.00031465175561606884, -0.002442269353196025, -0.006209364626556635, 0.03319966420531273, 0.003771974937990308, 0.012184134684503078, 0.04181283712387085, -0.0378793403506279, 0.04522357136011124, 0.05540144443511963, 0.011390640400350094, -0.026821499690413475, -0.011779887601733208, 0.05660611018538475, -0.02519041858613491, 0.0016649288590997458, -0.0057890042662620544, -0.006565358955413103, 0.04560868442058563, -0.06859917938709259, 0.011082787066698074, -0.01907309517264366, 0.027922987937927246, -0.024725444614887238, -0.00033970962977036834, -0.025223808363080025, -0.02976979687809944, -0.023172376677393913, 0.025838935747742653, 0.029033267870545387, -0.0008386314148083329, -0.0018331804312765598, -0.014987842179834843, 0.029737066477537155, 0.004751671105623245, -0.024818966165184975, -0.04372511804103851, -0.020252585411071777, -0.04110772907733917, 0.017463037744164467, -0.008911561220884323, -0.02603374794125557, 0.025266999378800392, 0.0038546763826161623, 0.01624714769423008, 0.018799331039190292, 0.019972961395978928, -0.005914723966270685, 0.022952144965529442, -0.04504686966538429, -0.012999648228287697, -0.0012723070103675127, 0.022724991664290428, -0.01831386610865593, -0.036857105791568756, -0.015990352258086205 ]
clojureemacsnrepl-stacktrace-less-error-messages
https://markhneedham.com/blog/2013/09/22/clojureemacsnrepl-stacktrace-less-error-messages
false
2013-09-22 21:23:25
Clojure/Emacs/nrepl: Ctrl X + Ctrl E leads to 'FileNotFoundException Could not locate [...] on classpath'
[ "clojure", "nrepl" ]
[ "Clojure" ]
I've been playing around with Clojure using http://www.gnu.org/software/emacs/[Emacs] and https://github.com/clojure/tools.nrepl[nrepl] recently and my normal work flow is to write some code in Emacs and then have it evaluated in nrepl by typing +++<cite>+++Ctrl X + Ctrl E+++</cite>+++ at the end of the function. I tried this once recently and got the following exception instead of a successful evaluation: [source,text] ---- FileNotFoundException Could not locate ranking_algorithms/ranking__init.class or ranking_algorithms/ranking.clj on classpath: clojure.lang.RT.load (RT.java:432) ---- I was a bit surprised because I had nrepl running already (via +++<cite>+++(Meta + X) + Enter + nrepl-jack-in+++</cite>+++) and I'd only ever seen that exception refer to dependencies which weren't in my project.clj file at the time I launched nrepl. I eventually came across http://stackoverflow.com/questions/15511840/emacs-clojure-compiling-error[this StackOverflow post] which suggested that you either launch nrepl using leiningen and then connect to it from Emacs or have your project.clj open when running +++<cite>+++(Meta + X) + Enter + nrepl-jack-in+++</cite>+++. To launch nrepl from leiningen we'd run the following command from the terminal: [source,bash] ---- $ lein repl nREPL server started on port 52265 REPL-y 0.1.0-beta10 Clojure 1.4.0 Exit: Control+D or (exit) or (quit) Commands: (user/help) Docs: (doc function-name-here) (find-doc "part-of-name-here") Source: (source function-name-here) (user/sourcery function-name-here) Javadoc: (javadoc java-object-or-class-here) Examples from clojuredocs.org: [clojuredocs or cdoc] (user/clojuredocs name-here) (user/clojuredocs "ns-here" "name-here") ---- We can then connect to that nrepl server from Emacs by typing +++<cite>+++(Meta + X) + Enter + nrepl+++</cite>+++ which seems to work quite nicely. To check the +++<cite>+++nrepl-jack-in+++</cite>+++ approach works when we've got project.clj open we need to first kill the existing server by typing +++<cite>+++(Meta + X) + Enter + nrepl-quit+++</cite>+++. Now if we type +++<cite>+++(Meta + X) + Enter + nrepl-jack-in+++</cite>+++ our functions are evaluated correctly and all is well with the world again.
null
null
[ -0.01786149851977825, 0.012754309922456741, -0.054328713566064835, -0.0025149742141366005, 0.07523892819881439, -0.004038954619318247, 0.01625693216919899, 0.019762303680181503, -0.02237551100552082, -0.013131294399499893, -0.042080119252204895, 0.016594842076301575, -0.05332026258111, -0.009922399185597897, 0.0036848054733127356, 0.061657652258872986, 0.0733460783958435, -0.023230120539665222, 0.03730152174830437, 0.006096892990171909, 0.03564397618174553, 0.05257314816117287, -0.005635925102978945, 0.007029972970485687, 0.027232244610786438, -0.013667671009898186, 0.009167793206870556, 0.0009630552376620471, -0.06265618652105331, 0.014415827579796314, 0.023099953308701515, 0.0015708731953054667, -0.012872809544205666, -0.030507847666740417, 0.030411217361688614, 0.03501122444868088, -0.011286219581961632, -0.009607830084860325, 0.005450128111988306, 0.018721016123890877, -0.041597701609134674, 0.015141824260354042, -0.023457692936062813, 0.005576384719461203, -0.02516123279929161, 0.046397823840379715, -0.031136371195316315, 0.021784553304314613, -0.0064585255458951, -0.0031318790279328823, -0.0673646405339241, 0.02265258878469467, -0.013631333597004414, -0.039283715188503265, 0.018934933468699455, 0.0062719895504415035, 0.01993550918996334, -0.0959034115076065, 0.06002810597419739, -0.018022766336798668, 0.013969462364912033, 0.011006863787770271, 0.0007296560215763748, 0.04883032292127609, -0.012702476233243942, -0.021555673331022263, -0.005700296722352505, 0.021253302693367004, -0.06334006786346436, -0.024582725018262863, -0.004577552899718285, 0.006593014113605022, -0.05239516496658325, 0.0014925156719982624, 0.04739672690629959, -0.040655672550201416, 0.012667955830693245, 0.05319377779960632, -0.022737599909305573, 0.07666248083114624, -0.015171440318226814, 0.007549236062914133, 0.026845591142773628, 0.024919893592596054, 0.014403905719518661, -0.0046996152959764, -0.052932411432266235, 0.0059059495106339455, -0.045901570469141006, 0.019365660846233368, 0.03583555668592453, -0.038875602185726166, -0.01721886917948723, 0.01862972229719162, 0.002815891057252884, 0.024654479697346687, 0.00615724828094244, 0.016882523894309998, -0.003319002687931061, -0.005736959166824818, -0.01707257516682148, -0.024432973936200142, 0.010366404429078102, 0.025903526693582535, -0.08522982895374298, -0.025548415258526802, -0.006762214470654726, -0.04048922657966614, 0.006056871265172958, -0.02951590158045292, -0.01896912418305874, 0.048441752791404724, -0.041938334703445435, 0.012605697847902775, -0.08305245637893677, 0.06899965554475784, 0.005521808750927448, -0.02919510379433632, -0.012282641604542732, 0.01665978878736496, 0.028932174667716026, 0.02680979110300541, 0.006274478510022163, 0.07144235074520111, -0.0011566015891730785, 0.05877510830760002, -0.050332408398389816, 0.030112652108073235, -0.00455106096342206, -0.0437246672809124, -0.02475670725107193, 0.06335556507110596, -0.00015300625818781555, 0.02425595186650753, -0.010114951990544796, 0.011466631665825844, -0.020210158079862595, -0.010589759796857834, 0.0625646784901619, 0.03235096111893654, 0.015138841234147549, -0.00026143086142838, 0.013829762116074562, -0.008295448496937752, 0.032432496547698975, 0.011616182513535023, -0.008865809999406338, -0.014431829564273357, -0.0036481437273323536, 0.025579622015357018, 0.031752802431583405, 0.02724137343466282, 0.06924445927143097, -0.007132566533982754, 0.013782414607703686, 0.08315935730934143, 0.023867344483733177, 0.03424983099102974, -0.016572408378124237, -0.0012864555465057492, 0.02518864907324314, 0.03192723169922829, -0.016128744930028915, 0.06031084805727005, -0.003000762313604355, -0.015174240805208683, 0.0041514672338962555, 0.04068075120449066, -0.009637393988668919, 0.0011083361459895968, -0.05134252458810806, -0.07008811831474304, 0.05217207595705986, -0.028571439906954765, -0.010375295765697956, 0.007865240797400475, 0.0818714126944542, 0.027577361091971397, 0.04465007036924362, -0.0033790094312280416, -0.06761717796325684, 0.05210427939891815, 0.003949278499931097, 0.011231864802539349, -0.0026344957295805216, -0.026278933510184288, 0.08044208586215973, -0.013946709223091602, -0.002136348281055689, 0.01818784512579441, -0.08845816552639008, -0.08451967686414719, -0.0204800795763731, -0.02055698074400425, 0.0672467052936554, -0.03388576954603195, -0.01648346707224846, 0.05086627975106239, -0.008154773153364658, 0.02717715874314308, 0.02221553772687912, 0.005827886518090963, 0.028452128171920776, -0.08391120284795761, -0.07936068624258041, 0.04470932483673096, 0.03964994102716446, -0.01688816025853157, -0.04128501936793327, 0.027610300108790398, -0.01405911985784769, 0.0416339747607708, 0.012326572090387344, -0.01434963196516037, 0.05055231228470802, 0.033282049000263214, 0.0339229553937912, -0.044826969504356384, 0.011689521372318268, -0.0031841443851590157, 0.0336434580385685, 0.015082807280123234, 0.03575212135910988, 0.013391810469329357, 0.002663249149918556, 0.12118349224328995, 0.060918960720300674, 0.001512117451056838, -0.04212215170264244, 0.06207997351884842, 0.01918455958366394, -0.06965981423854828, -0.0032024814281612635, -0.0036859384272247553, -0.0033298423513770103, -0.011531401425600052, -0.0169875156134367, -0.011925308965146542, 0.011341836303472519, -0.028239503502845764, -0.009896821342408657, 0.09166416525840759, -0.018834995105862617, 0.056597840040922165, 0.016783038154244423, -0.028913704678416252, -0.006578734610229731, -0.04706542193889618, -0.08498992025852203, 0.012165123596787453, 0.014212637208402157, -0.0063859932124614716, 0.05567755550146103, -0.0368204265832901, -0.04470482096076012, -0.00639501353725791, -0.07218058407306671, 0.02650403417646885, 0.03709237277507782, 0.045243822038173676, 0.03645220771431923, 0.015781112015247345, -0.017392395064234734, 0.026633763685822487, -0.01329874712973833, -0.057449743151664734, -0.04308919981122017, -0.010660480707883835, 0.0022736794780939817, 0.024344831705093384, -0.006702336482703686, 0.023271165788173676, 0.028720617294311523, -0.020271282643079758, -0.003591227810829878, -0.03047732636332512, -0.0014026364078745246, 0.0021629848051816225, -0.023283082991838455, -0.04723392799496651, -0.009674705564975739, 0.03793056309223175, -0.02316502295434475, -0.00963265635073185, 0.022314047440886497, -0.01184750534594059, 0.05347125977277756, -0.05409062281250954, -0.025524307042360306, 0.0063394405879080296, 0.008838361129164696, 0.03137108311057091, -0.01358156930655241, 0.018566014245152473, 0.039410606026649475, 0.0074342950247228146, 0.032152920961380005, 0.019994229078292847, 0.007609999272972345, 0.04209449887275696, 0.019103456288576126, 0.020392391830682755, 0.002520520007237792, 0.006946486420929432, -0.0029119031969457865, -0.012552649714052677, 0.017840607091784477, -0.015223800204694271, -0.2732974588871002, 0.039619896560907364, -0.019752703607082367, -0.004746607504785061, 0.009141135029494762, -0.02647853083908558, 0.0029139546677470207, -0.028709497302770615, -0.0015026499750092626, 0.018616266548633575, -0.029838860034942627, -0.02694408968091011, -0.008001795038580894, 0.037167441099882126, -0.02725476399064064, -0.0033156475983560085, 0.04233440011739731, -0.05476539582014084, -0.017604012042284012, 0.060567960143089294, 0.01346815750002861, -0.05604419484734535, 0.019739363342523575, 0.03889622911810875, 0.0387321375310421, 0.03508639708161354, -0.08125869929790497, 0.059399500489234924, -0.02394457906484604, -0.055158667266368866, 0.01709536649286747, -0.003651269478723407, -0.009350515902042389, 0.009836599230766296, -0.024737192317843437, 0.011107603088021278, 0.03443059325218201, 0.009084370918571949, 0.040439046919345856, 0.039755772799253464, -0.021306104958057404, -0.04016690328717232, 0.014962580986320972, -0.025629453361034393, 0.06400447338819504, -0.005659161135554314, -0.07445736229419708, -0.020273644477128983, -0.026933494955301285, 0.08934149891138077, -0.05445180833339691, -0.047774337232112885, -0.00854196585714817, 0.06540538370609283, 0.02815682627260685, -0.03209584578871727, -0.060409288853406906, -0.009678363800048828, -0.031189925968647003, -0.016179827973246574, -0.0024327198043465614, -0.061528969556093216, -0.029470384120941162, -0.058432795107364655, -0.03655245527625084, -0.07490383088588715, -0.054470743983983994, -0.02566881850361824, 0.04495172202587128, 0.011557367630302906, -0.05474073067307472, -0.020410733297467232, -0.03037586808204651, -0.10775464028120041, -0.0406678132712841, -0.06813555955886841, -0.04719648137688637, 0.003848797408863902, -0.01419699378311634, 0.03945928439497948, -0.04441855847835541, -0.019684890285134315, 0.026911340653896332, 0.044547416269779205, 0.020852206274867058, -0.004056813661009073, -0.022684194147586823, -0.006048933602869511, -0.002971758134663105, -0.020990097895264626, 0.037437260150909424, -0.0329190194606781, -0.05293816328048706, -0.044847581535577774, 0.015531682409346104, -0.007615451235324144, 0.014018917456269264, 0.015707531943917274, 0.030827805399894714, 0.03714793547987938, 0.0076477196998894215, -0.04706210270524025, 0.018157443031668663, -0.02147277072072029, 0.008747597225010395, 0.014237592928111553, -0.044603217393159866, 0.02418365329504013, 0.02570091001689434, 0.02027631178498268, -0.044079601764678955, -0.05835772305727005, 0.0020688886288553476, -0.0556805394589901, -0.04548732563853264, -0.01117120310664177, 0.01540012564510107, 0.028723349794745445, 0.035399179905653, -0.02972174435853958, -0.08392148464918137, 0.018242312595248222, -0.02495860680937767, -0.048067957162857056, -0.04045264050364494, -0.027654098346829414, 0.001227174187079072, -0.03502536192536354, -0.011295496486127377, 0.017648927867412567, -0.05562243238091469, 0.03715711832046509, 0.02167094312608242, -0.02251267433166504, 0.009798298589885235, -0.03191249817609787, -0.02807454764842987, -0.00849385280162096, -0.02721458673477173, 0.014776431955397129, -0.02224329113960266, -0.002258345251902938, 0.0001999957748921588, 0.02724776230752468, 0.05041230842471123, 0.00007977228233357891, 0.025276603177189827, -0.016069641336798668, -0.022582994773983955, 0.01902468129992485, 0.006369557697325945, -0.05343608558177948, 0.031585030257701874, -0.031078999862074852, -0.016405168920755386, -0.006250249221920967, 0.033390603959560394, -0.016427379101514816, -0.059029679745435715, -0.03385208174586296, 0.046368326991796494, -0.045922569930553436, 0.0024000522680580616, -0.005396316759288311, -0.045830875635147095, 0.06784578412771225, 0.02162063680589199, 0.04789015278220177, 0.004502010997384787, -0.01970796473324299, -0.012879971414804459, 0.006473264191299677, -0.031194131821393967, -0.00306886387988925, -0.010836439207196236, 0.03317250683903694, 0.006796951871365309, 0.03269057720899582, 0.03363378345966339, -0.003746691392734647, -0.003983359318226576, -0.035081177949905396, 0.05572593957185745, 0.05168561264872551, 0.0214947909116745, -0.02358550950884819, 0.004151296801865101, 0.0072355447337031364, -0.041719526052474976, -0.05240148305892944, -0.02466649003326893, -0.0031516626477241516, -0.030919469892978668, -0.00451671564951539, -0.02852558344602585, -0.07990125566720963, -0.010220451280474663, 0.06735045462846756, 0.0015274606412276626, -0.007514083292335272, -0.003475512843579054, -0.02059476263821125, -0.029070934280753136, 0.02645808644592762, 0.0711572989821434, -0.060173701494932175, -0.021494051441550255, -0.016328323632478714, -0.004921543411910534, 0.013546832837164402, -0.016554314643144608, -0.05489066615700722, -0.0032028735149651766, -0.0200519897043705, 0.008972562849521637, -0.0017540260450914502, -0.027572035789489746, 0.0007684783195145428, 0.003581688040867448, 0.009149315766990185, -0.007384635973721743, -0.008597548119723797, 0.006028654053807259, 0.005819844081997871, -0.01426189299672842, -0.007897533476352692, 0.003081732662394643, 0.01293993555009365, 0.02009754441678524, -0.0028710304759442806, 0.031891174614429474, -0.057041678577661514, 0.06991225481033325, -0.01255795732140541, 0.02052699215710163, -0.015148558653891087, -0.028890570625662804, 0.015032344497740269, -0.002082980005070567, 0.03848090395331383, 0.016347507014870644, 0.00902630016207695, -0.03572887182235718, 0.010610104538500309, -0.03224554285407066, -0.005946808494627476, 0.014546112157404423, 0.00661657378077507, 0.02216632105410099, 0.05762399733066559, -0.0015543190529569983, 0.05459066852927208, -0.039991267025470734, 0.006765697151422501, 0.06303451210260391, -0.05185991898179054, -0.058581847697496414, 0.02454267255961895, -0.0582970567047596, 0.04894324392080307, 0.04845915362238884, 0.006077789701521397, -0.06956789642572403, 0.03515461087226868, 0.035183001309633255, 0.006946302019059658, 0.005724683403968811, -0.028235454112291336, 0.0064749885350465775, -0.0476238951086998, -0.02866596169769764, -0.110089510679245, 0.0059013827703893185, 0.06370330601930618, -0.005062793381512165, 0.004264381714165211, -0.0135421147570014, -0.03553871437907219, 0.024799857288599014, -0.04810198023915291, -0.013226629234850407, 0.017186487093567848, -0.013848203234374523, 0.004779028240591288, 0.03838822990655899, -0.04276109114289284, 0.028333529829978943, 0.04659857228398323, -0.0429748110473156, -0.016145749017596245, -0.047654420137405396, 0.04412286356091499, 0.006316967774182558, 0.05929943546652794, -0.008475719019770622, -0.006432195194065571, 0.08228135108947754, 0.012918154709041119, -0.006261507049202919, 0.052628498524427414, -0.022664206102490425, -0.004463118966668844, 0.051453933119773865, -0.004043692257255316, -0.005998660810291767, 0.05046488344669342, -0.02353154867887497, -0.026955556124448776, 0.027752269059419632, 0.029723910614848137, -0.03817778825759888, -0.044312648475170135, 0.06344646215438843, 0.021487794816493988, -0.04989377036690712, -0.03442655876278877, 0.02874412201344967, -0.07856201380491257, 0.0074197109788656235, -0.05921071022748947, -0.0026374864391982555, -0.04212988168001175, 0.04866180941462517, 0.001937050954438746, 0.022946760058403015, 0.07563957571983337, 0.019198346883058548, -0.010675930418074131, 0.00528948288410902, 0.0752699002623558, 0.08468829840421677, 0.01991025172173977, 0.01551556121557951, 0.03353738784790039, -0.012685675173997879, -0.03715488314628601, -0.0014518469106405973, -0.00532574113458395, 0.01136215589940548, -0.03746703639626503, 0.015569504350423813, 0.06453825533390045, -0.0059784590266644955, 0.06425262242555618, -0.005678125191479921, -0.00490935891866684, 0.004884009249508381, -0.00029455931507982314, 0.03951484337449074, 0.046121157705783844, 0.011757418513298035, 0.032168880105018616, -0.009474508464336395, -0.028500834479928017, 0.02081690914928913, -0.028953781351447105, -0.03348148241639137, -0.003453904762864113, 0.009775499813258648, 0.027588995173573494, 0.025015370920300484, 0.04616609960794449, 0.07617353647947311, -0.008049966767430305, -0.007121710106730461, 0.011846765875816345, 0.05743839964270592, 0.026095934212207794, 0.010520554147660732, -0.02021038718521595, -0.03203892335295677, -0.0180324986577034, -0.03453270345926285, -0.019087260589003563, -0.01936529017984867, -0.04127351939678192, 0.024238159880042076, -0.044462062418460846, -0.013486629351973534, 0.0195329412817955, 0.012052581645548344, -0.018832307308912277, -0.05561947077512741, -0.045040424913167953, -0.040043044835329056, -0.043478429317474365, -0.021052910014986992, -0.010131162591278553, 0.0001872878783615306, -0.037443339824676514, -0.00921549554914236, 0.008632647804915905, 0.0034541809000074863, 0.022015180438756943, -0.047363072633743286, 0.010164796374738216, -0.003204640932381153, 0.0035047782585024834, 0.00019739566778298467, 0.0034181950613856316, 0.056092556565999985, -0.011345896869897842, -0.017613615840673447, -0.00622818898409605, 0.005109677091240883, 0.033222541213035583, 0.027482595294713974, 0.012948605231940746, -0.06399264931678772, 0.018929289653897285, 0.023173313587903976, 0.03766762465238571, -0.0647202730178833, 0.03554467111825943, 0.02423885464668274, -0.02870916575193405, 0.05706380680203438, -0.016593316569924355, 0.020840099081397057, -0.02128628082573414, -0.005888887215405703, -0.0024516114499419928, 0.02377597615122795, 0.022515416145324707, -0.002629287075251341, 0.07761098444461823, 0.016104087233543396, 0.002132726600393653, -0.02847374975681305, -0.021699124947190285, -0.02108721435070038, -0.01623651571571827, -0.05280207842588425, -0.02012747712433338, -0.06811695545911789, -0.056175004690885544, -0.008581940084695816, 0.01369455736130476, -0.05823734030127525, -0.01706762984395027, -0.009949786588549614, 0.03734177350997925, -0.017009524628520012, 0.055136945098638535, -0.031425368040800095, 0.01763307675719261, 0.0007428582175634801, -0.02405799925327301, 0.01924806274473667, -0.0008828478748910129, 0.010713151656091213, 0.01964734122157097, 0.03898324817419052, -0.011044366285204887, 0.0035432581789791584, -0.02886529266834259, 0.037056200206279755, 0.04459478706121445, 0.010933786630630493, 0.0057793352752923965 ]
[ -0.12255699932575226, -0.03152034804224968, -0.03828926756978035, -0.04625408723950386, 0.0215090773999691, -0.04333046078681946, -0.027956582605838776, 0.028837325051426888, 0.0071455794386565685, -0.04975415766239166, 0.02457193285226822, -0.041179947555065155, 0.03090544231235981, 0.003343290649354458, 0.08869221061468124, 0.004232116509228945, -0.02399125136435032, -0.0027403549756854773, -0.03601089119911194, -0.018504971638321877, 0.0006877126288600266, -0.051328789442777634, 0.011994592845439911, -0.06456506997346878, -0.0039029275067150593, 0.0646519660949707, 0.044894348829984665, -0.03369009122252464, -0.033464618027210236, -0.21835282444953918, -0.009853566996753216, 0.028557363897562027, 0.03306780382990837, -0.03198067843914032, -0.00039508281042799354, 0.07332086563110352, 0.017439819872379303, 0.008166286163032055, 0.014228858053684235, 0.005374445579946041, 0.023056987673044205, 0.01968686282634735, -0.033850375562906265, -0.05220365524291992, 0.07082794606685638, -0.03310766443610191, 0.016611624509096146, -0.006741334684193134, -0.018393786624073982, -0.010519479401409626, -0.07609672099351883, -0.021754225715994835, 0.030821869149804115, -0.021521246060729027, 0.004416149575263262, 0.03286413848400116, 0.03365127369761467, 0.07926104962825775, -0.003840431571006775, 0.03962843865156174, -0.0035566892474889755, 0.011158564127981663, -0.16209715604782104, 0.08663389831781387, 0.028693290427327156, 0.026777978986501694, 0.02408193238079548, -0.022560473531484604, -0.02807527408003807, 0.04695543646812439, 0.00711502879858017, -0.019083749502897263, -0.02482481859624386, 0.12386723607778549, 0.043082982301712036, 0.0006138135795481503, 0.011834257282316685, 0.011347431689500809, 0.03554273396730423, -0.0650961771607399, -0.017740445211529732, -0.012911527417600155, -0.03211754187941551, 0.01660209894180298, -0.0002949508489109576, 0.03484547883272171, -0.03196166083216667, 0.06011314317584038, 0.048327162861824036, 0.00455816276371479, 0.03207999840378761, -0.03618735447525978, 0.06878720223903656, 0.017074597999453545, -0.10296768695116043, 0.020431626588106155, 0.003377530025318265, 0.009006808511912823, -0.034274645149707794, 0.3899231255054474, -0.008005212061107159, -0.011604885570704937, 0.03409028798341751, 0.029369844123721123, 0.009424785152077675, -0.028971528634428978, 0.021674932911992073, -0.020046046003699303, 0.01236919965595007, -0.05480850115418434, 0.011884614825248718, -0.0038447792176157236, 0.07249431312084198, -0.06203160062432289, -0.008699622005224228, 0.01683729700744152, 0.06743156164884567, -0.00979362241923809, -0.028904467821121216, 0.05964548885822296, -0.0041772834956645966, -0.017875434830784798, 0.002689644228667021, -0.022128889337182045, 0.01636098511517048, -0.010056184604763985, 0.010650658048689365, 0.05524425581097603, 0.03643004223704338, 0.00545058399438858, 0.0075376578606665134, -0.01841834932565689, -0.0643090158700943, -0.017951883375644684, -0.006973600946366787, 0.014643202535808086, -0.026361562311649323, -0.08313334733247757, 0.019003460183739662, 0.007196126971393824, 0.003240831196308136, -0.003869848558679223, -0.0025113304145634174, 0.012092897668480873, -0.025132209062576294, 0.09582812339067459, -0.00922832265496254, 0.007079062517732382, -0.013852539472281933, -0.04390033334493637, 0.012652577832341194, 0.03941899165511131, -0.009491130709648132, -0.014988522976636887, 0.010388989932835102, 0.02001546509563923, 0.061204276978969574, -0.005802254658192396, -0.07988736778497696, 0.02062867395579815, -0.009178213775157928, -0.028864845633506775, -0.0361492820084095, 0.08859933912754059, -0.013394263572990894, -0.028599437326192856, -0.027184365317225456, 0.0068512712605297565, -0.005458954721689224, -0.04506514221429825, 0.006121413316577673, 0.01960679329931736, 0.0029311985708773136, 0.007438875734806061, 0.007627322804182768, -0.00949214119464159, -0.01420378964394331, -0.01580618880689144, 0.062107447534799576, 0.029172824695706367, -0.005893794819712639, 0.01804024912416935, -0.030716361477971077, 0.005428238306194544, 0.004259328357875347, -0.044503308832645416, -0.03529190644621849, -0.022874996066093445, -0.01221196074038744, 0.010982227511703968, -0.03531142696738243, 0.013277806341648102, -0.020153751596808434, 0.03838576003909111, -0.04947151243686676, -0.010121443308889866, -0.002201827010139823, 0.004202859941869974, 0.011587901040911674, -0.04624980688095093, 0.051158539950847626, 0.05469345301389694, -0.004893513396382332, 0.04133905842900276, -0.08053772896528244, 0.01923247054219246, 0.030345911160111427, -0.03317513316869736, 0.09159808605909348, 0.0009384008590131998, -0.049417395144701004, -0.010571395978331566, -0.023222263902425766, 0.001802308950573206, -0.008652132004499435, 0.008181513287127018, -0.031212719157338142, -0.02460922859609127, 0.05751172825694084, 0.021445652469992638, -0.07150720804929733, -0.033992037177085876, -0.060798030346632004, -0.3409325182437897, -0.027323827147483826, -0.0019432114204391837, -0.0314175970852375, 0.024617288261651993, -0.06734675168991089, 0.0029143814463168383, -0.013799457810819149, -0.03006766363978386, 0.01439465582370758, 0.10188256949186325, -0.0354841984808445, -0.0039923046715557575, -0.060839373618364334, 0.016897954046726227, 0.014167141169309616, 0.00020179525017738342, -0.03190970420837402, -0.010420887731015682, 0.03354634344577789, 0.00402791379019618, -0.055506881326436996, -0.04180559888482094, -0.024160219356417656, -0.008978618308901787, -0.010007185861468315, 0.05761347711086273, 0.05546889081597328, 0.07284943014383316, -0.06554464250802994, 0.03416347876191139, 0.016150107607245445, -0.00321904756128788, -0.14108283817768097, -0.024230122566223145, -0.02849693037569523, 0.0008685017819516361, 0.021480146795511246, 0.029073582962155342, 0.005567291285842657, -0.054114483296871185, 0.019131090492010117, -0.08434395492076874, -0.060626402497291565, -0.02153545431792736, -0.012704611755907536, -0.031613148748874664, -0.027108117938041687, -0.029149549081921577, 0.06182969734072685, -0.01820877566933632, 0.014620993286371231, 0.006077795755118132, -0.00004856588566326536, 0.014057224616408348, -0.014102291315793991, -0.05396570637822151, -0.041658710688352585, 0.04586844518780708, -0.02465430274605751, 0.07274843007326126, 0.06010090187191963, 0.045097485184669495, -0.08131735026836395, 0.018923167139291763, -0.0023545220028609037, 0.022138686850667, 0.04744676128029823, 0.03139431029558182, -0.019165879115462303, -0.036321282386779785, 0.10338255763053894, 0.0022146867122501135, 0.01718936301767826, 0.04161160811781883, 0.026829121634364128, -0.002414082642644644, -0.015374571084976196, 0.019327843561768532, 0.0001229996996698901, -0.00002484514880052302, -0.0063299695029854774, 0.058766063302755356, -0.043776754289865494, -0.04785395786166191, 0.020099202170968056, 0.01657220721244812, -0.01372360810637474, 0.053771261125802994, 0.014788702130317688, -0.030988942831754684, 0.002576350700110197, -0.013958750292658806, -0.0227336548268795, 0.06666139513254166, 0.041296228766441345, -0.2667677402496338, 0.03165290877223015, 0.028087617829442024, 0.07776743173599243, 0.013094333931803703, 0.02024810016155243, 0.06374119967222214, -0.08244307339191437, -0.03414253517985344, 0.03790243715047836, 0.027962205931544304, 0.04108038172125816, -0.0012746790889650583, -0.03623294085264206, 0.04181593284010887, -0.015556465834379196, 0.026362057775259018, -0.001057464280165732, 0.05484936386346817, 0.0010954458266496658, 0.021833354607224464, -0.016463851556181908, 0.1882474422454834, 0.006384950131177902, -0.01938013546168804, 0.012445119209587574, -0.016353381797671318, -0.010030428878962994, 0.06007663905620575, -0.00843614898622036, -0.0014536210801452398, 0.048010267317295074, 0.02215779572725296, 0.015730516985058784, 0.03806406632065773, -0.01241613645106554, -0.016347726806998253, 0.0339813232421875, 0.00867843721061945, -0.04003347083926201, -0.026118222624063492, 0.05098304897546768, -0.026666520163416862, 0.022952953353524208, 0.07255235314369202, -0.010164659470319748, -0.0063276877626776695, -0.029866350814700127, -0.0340098962187767, 0.006560568697750568, -0.02003217674791813, -0.03452586010098457, -0.005544135347008705, 0.02161262370646, -0.0057946788147091866, 0.06006995216012001, 0.030169067904353142, -0.02395929954946041, -0.028172679245471954, 0.005638545379042625, 0.03183189406991005, -0.034236565232276917, 0.13868345320224762, 0.0015802545240148902, 0.013580335304141045 ]
[ -0.010794960893690586, 0.016066011041402817, -0.016754690557718277, -0.02144814096391201, 0.02215518057346344, -0.014828269369900227, -0.014388118870556355, 0.0347445011138916, -0.00816462654620409, 0.002685139188542962, -0.012763388454914093, -0.011265503242611885, 0.03932029753923416, 0.004053658340126276, -0.015408542938530445, -0.044620513916015625, -0.01647092215716839, 0.04886384308338165, 0.011889850720763206, -0.01145018357783556, -0.01868540048599243, 0.020112238824367523, 0.04289351403713226, -0.015379324555397034, 0.00411405460909009, 0.005269445478916168, -0.0337078794836998, -0.012204920873045921, 0.01377667672932148, -0.15729553997516632, -0.01710689067840576, -0.018106862902641296, 0.018450535833835602, -0.010028734803199768, -0.023020360618829727, 0.02960563264787197, -0.009648025967180729, -0.004779226146638393, -0.028884684666991234, -0.015220622532069683, -0.019978908821940422, 0.010057631880044937, -0.02372634783387184, 0.006072255317121744, 0.03667118772864342, -0.02748175896704197, -0.034867364913225174, -0.0705065056681633, 0.012067552655935287, 0.006590555422008038, -0.03898760303854942, 0.012015081942081451, 0.006292473990470171, 0.025514239445328712, 0.02370026707649231, -0.031450994312763214, -0.03434782475233078, -0.02126065455377102, 0.036625996232032776, -0.05081205815076828, 0.0011048071319237351, -0.009249990805983543, -0.042896855622529984, -0.02805245853960514, -0.0247786957770586, -0.05967992916703224, 0.013614346273243427, 0.015538152307271957, -0.012979624792933464, 0.006177485920488834, 0.022150104865431786, 0.009166977368295193, -0.014210796914994717, -0.018602319061756134, -0.02092374488711357, 0.042757049202919006, 0.024661142379045486, -0.026671268045902252, 0.010779427364468575, -0.003874359652400017, -0.0009622451616451144, -0.0025899142492562532, -0.015045667067170143, 0.00592663511633873, -0.0033868977334350348, 0.01427543442696333, 0.033328160643577576, -0.029683062806725502, 0.04559282958507538, 0.02684561349451542, 0.02539062686264515, 0.04747188836336136, 0.00319653213955462, 0.0006803249707445502, -0.07160959392786026, 0.00005463102934299968, -0.02691097930073738, 0.002924318891018629, -0.006361381150782108, 0.8434531688690186, -0.0012473813258111477, 0.05911285802721977, 0.02467135339975357, 0.007109175901859999, -0.013637861236929893, -0.0026200904976576567, -0.01216873712837696, -0.0018806044245138764, 0.0020876519847661257, -0.029482683166861534, 0.026902353391051292, -0.021431511268019676, 0.037083134055137634, 0.012040942907333374, 0.026693521067500114, 0.006190496031194925, 0.03366771712899208, 0.016092384234070778, 0.022952444851398468, 0.03284002095460892, 0.013606669381260872, -0.008068086579442024, -0.0043000332079827785, -0.0027291353326290846, -0.0008953192154876888, -0.13807377219200134, 0.009924913756549358, -6.152307843463458e-33, 0.04397392272949219, -0.006551945116370916, 0.014180558733642101, 0.013294429518282413, 0.0014638176653534174, -0.02487804926931858, 0.001318868831731379, -0.003546101041138172, -0.058248210698366165, -0.031134333461523056, -0.01119433157145977, 0.01230692770332098, 0.0004258665139786899, -0.02406664751470089, 0.007271806243807077, -0.009711834602057934, 0.014665547758340836, 0.0518655851483345, -0.030493535101413727, 0.01615501381456852, 0.019424697384238243, 0.010958762839436531, -0.016354568302631378, -0.01641835644841194, 0.023447733372449875, 0.0021920285653322935, 0.04086665064096451, -0.03396984934806824, -0.0033872558269649744, -0.03755057603120804, -0.0020599074196070433, -0.028593746945261955, 0.0020384700037539005, 0.01629386469721794, 0.025093287229537964, -0.05535601079463959, 0.0084036560729146, 0.03656545653939247, -0.030291270464658737, -0.041551005095243454, -0.0118797542527318, 0.005851669702678919, -0.047318752855062485, -0.011086562648415565, -0.018206758424639702, -0.03900263458490372, 0.012882393784821033, 0.04415027052164078, -0.009870927780866623, 0.06226910278201103, -0.006081821396946907, 0.030655208975076675, 0.014195369556546211, 0.013011325150728226, 0.0000030324592898978153, 0.003028728300705552, -0.040779806673526764, -0.004255613312125206, -0.004477293696254492, 0.005843621678650379, 0.005336225498467684, 0.0210881344974041, -0.029990987852215767, 0.018951846286654472, 0.01953171379864216, -0.01746516302227974, -0.07053977251052856, -0.04180224984884262, 0.043696079403162, 0.053699757903814316, -0.017968282103538513, -0.01150462869554758, 0.0022351043298840523, 0.011648084037005901, 0.046469636261463165, -0.002621274208649993, -0.011178220622241497, -0.020898742601275444, -0.0046113538555800915, 0.03970329836010933, -0.00951367150992155, -0.02765865996479988, -0.018038902431726456, -0.018329916521906853, -0.006001580040901899, 0.004343233071267605, 0.00389489671215415, -0.00483576999977231, -0.0033620037138462067, 0.015582872554659843, 0.04718436300754547, 0.0029011385049670935, 0.004499334841966629, -0.004924512468278408, -0.06456754356622696, 6.825061994880269e-33, -0.00696690334007144, -0.013107195496559143, 0.019250651821494102, 0.007030911277979612, 0.010737049393355846, -0.017063423991203308, 0.001982560381293297, -0.029257284477353096, -0.04888307675719261, 0.00696931267157197, -0.02580956555902958, 0.019659563899040222, -0.005465524271130562, 0.02931373007595539, 0.07443079352378845, -0.018591538071632385, 0.007234142627567053, -0.00440288707613945, -0.020863164216279984, 0.040659479796886444, 0.02682514488697052, 0.013844897970557213, 0.02875981293618679, 0.0390121266245842, 0.021364564076066017, 0.05724196508526802, 0.011672432534396648, -0.010577431879937649, -0.027268433943390846, -0.01902811974287033, 0.03030918724834919, -0.029678162187337875, -0.03320836275815964, 0.007587030064314604, -0.028280366212129593, 0.03221232071518898, 0.022684505209326744, -0.012639875523746014, -0.002572013530880213, 0.014137654565274715, -0.005631723906844854, 0.01854483224451542, -0.032596487551927567, -0.00004686202373704873, 0.023388853296637535, -0.008466418832540512, 0.005260272417217493, 0.012811061926186085, 0.015711871907114983, -0.042254071682691574, -0.0035255099646747112, 0.05870684236288071, 0.021032266318798065, -0.01316913217306137, 0.013785501942038536, -0.011895321309566498, -0.024931471794843674, 0.05132225528359413, -0.018804794177412987, 0.048495858907699585, 0.02017822302877903, -0.04404015466570854, 0.005986461415886879, 0.007114172913134098, -0.024468956515192986, -0.03498196229338646, 0.0049254316836595535, 0.013005821034312248, -0.02423512376844883, -0.010502608492970467, -0.017553318291902542, -0.013166352175176144, -0.0020084991119802, 0.029100175946950912, -0.00007726063631707802, 0.005358870606869459, 0.009486015886068344, 0.0033543140161782503, 0.0219455324113369, 0.016065645962953568, 0.01588680036365986, 0.02337116003036499, -0.0034665700513869524, 0.024067062884569168, 0.00819709524512291, 0.0033768233843147755, -0.011339879594743252, -0.012059132568538189, 0.022940604016184807, -0.016418322920799255, 0.005822409875690937, -0.028104763478040695, 0.009639862924814224, 0.015688253566622734, -0.013874707743525505, -1.2312069586073449e-8, 0.009495342150330544, -0.03347531333565712, -0.016376152634620667, 0.062307022511959076, 0.028712572529911995, 0.034107618033885956, -0.03687101602554321, -0.012135262601077557, -0.0073755462653934956, 0.012373619712889194, 0.04299786314368248, 0.0192283745855093, 0.006695302203297615, 0.02406778559088707, 0.04653913527727127, -0.02125338464975357, 0.03841084986925125, 0.03600132837891579, 0.022309336811304092, -0.044494882225990295, -0.0012743938714265823, 0.05778677389025688, -0.013117188587784767, 0.00012486794730648398, -0.024207815527915955, -0.037742968648672104, 0.035119082778692245, -0.061255358159542084, -0.005079734139144421, 0.003923277836292982, 0.014513625763356686, -0.02704550139605999, -0.025911599397659302, -0.014163966290652752, 0.012509913183748722, -0.02507774531841278, -0.016221368685364723, 0.015557225793600082, -0.017966918647289276, -0.017303630709648132, -0.018869347870349884, 0.011858454905450344, 0.007008063606917858, -0.018346181139349937, -0.020459692925214767, -0.0005537786055356264, -0.007894766516983509, 0.008560152724385262, 0.017211198806762695, -0.036318227648735046, 0.04706979915499687, -0.013125787489116192, 0.013474946841597557, 0.007960107177495956, 0.0149775929749012, -0.006815409287810326, 0.017403746023774147, -0.049165818840265274, -0.0404195599257946, -0.013549885712563992, 0.029384076595306396, 0.009703933261334896, -0.030631011351943016, -0.014776279218494892 ]
clojureemacsnrepl-ctrl-x-ctrl-e-leads-to-filenotfoundexception-could-not-locate-on-classpath
https://markhneedham.com/blog/2013/09/22/clojureemacsnrepl-ctrl-x-ctrl-e-leads-to-filenotfoundexception-could-not-locate-on-classpath
false
2013-08-05 22:12:37
Java/JBLAS: Calculating eigenvector centrality of an adjacency matrix
[ "java", "graph-processing-2" ]
[ "Graph Processing" ]
I recently came across a very interesting post by Kieran Healy where he http://kieranhealy.org/blog/archives/2013/06/09/using-metadata-to-find-paul-revere/[runs through a bunch of graph algorithms] to see whether he can detect the most influential people behind the American Revolution based on their membership of various organisations. The first algorithm he looked at was betweenness centrality which http://www.markhneedham.com/blog/2013/07/27/graph-processing-betweeness-centrality-neo4js-cypher-vs-graphstream/[I've looked at previously] and is used to determine the load and importance of a node in a graph. This algorithm would assign a high score to nodes which have a lot of nodes connected to them even if those nodes aren't necessarily influential nodes in the graph. If we want to take the influence of the other nodes into account then we can use an algorithm called https://en.wikipedia.org/wiki/Centrality#Eigenvector_centrality[eigenvector centrality]. ____ Eigenvector centrality is a measure of the influence of a node in a network. It assigns relative scores to all nodes in the network based on the concept that *connections to high-scoring nodes contribute more to the score of the node in question* than equal connections to low-scoring nodes. Google's https://en.wikipedia.org/wiki/PageRank[PageRank] is a variant of the Eigenvector centrality measure. ____ Both PageRank and Eigenvector centrality give us a probability which describes how often we'd end up visiting each node on a random walk around the graph. As far as I can tell there are a couple of differences between PageRank and Eigenvector centrality (but I'm happy to be corrected as I'm still learning this stuff): . PageRank introduces a 'dampening factor' to simulate the idea that some percentage of the time we might decide not to follow any of a node's relationships but instead pick a random node in the graph. . PageRank makes sure that the elements in each column of the adjacency matrix add up to one. Therefore, if our node had a relationship to every other one in the graph then each would only contribute a value of 1/n rather than 1. In this instance since Healy wanted to analyse the influence of people rather than web pages eigenvector centrality makes more sense. Over the past few days I've been trying to understand this topic area a bit better and found the following resources useful: * http://www.youtube.com/watch?v=G4N8vJpf7hM[Introduction to Eigenvalues and Eigenvectors] - video working through a simple matrix * https://www.khanacademy.org/math/linear-algebra/alternate_bases/eigen_everything/v/linear-algebra--eigenvalues-of-a-3x3-matrix[Khan Academy videos] showing how to calculate eigenvalues and eigenvectors for different sized matrices. * http://williamcotton.com/pagerank-explained-with-javascript[PageRank explained in Javascript] - this is probably the best one to start with. * http://in1.csie.ncu.edu.tw/~chia/Course/LinearAlgebra/sec7-2.pdf[Finding the eigenvalues of a matrix] - some reasonably easy to follow examples * http://matrixapps.blogspot.co.uk/2010/07/gould-index-matrix-application-to.html[Gould Index: Matrix Application to Geography] - I think the Gould Index is another name for eigenvector centrality. This works through a couple of different transport based examples and explains the significance of eigenvector centrality in that field. * http://www.math.washington.edu/~morrow/336_11/papers/leo.pdf[Justification and Application of Eigenvector Centrality] - this runs through a few examples and explains the http://www.math.harvard.edu/~knill/teaching/math19b_2011/handouts/lecture34.pdf[Perron-Frobenius Theorem] - a theorem which explains that if all values in a matrix are positive then there will be a unique maximal eigenvalue. We can then use this principal eigenvalue to calculate an eigenvector which describes the centrality of each of the nodes in the graph. * http://www.jstor.org/discover/10.2307/621372?uid=3738032&uid=2473321943&uid=2&uid=3&uid=60&sid=21102528715777[On the geographical Interpretation of Eigenvalues] - This paper goes through various different transport networks and shows what we can learn by calculating the eigenvector centrality. This is behind JSTOR login but you can view it online for free once you sign up for an account.</p> </ul> + I calculated a few made up matrices by hand but found it became too difficult after a 3x3 matrix so I wanted to find a Java based library which I could use instead. + image::{{<siteurl>}}/uploads/2013/08/adjacencymatrix.jpg[Adjacencymatrix,213] + These were the ones that I came across: ** http://mikiobraun.github.io/jblas/[JBLAS] - Linear Algebra for Java ** http://math.nist.gov/javanumerics/jama/[JAMA] - A Java Matrix Package ** http://acs.lbl.gov/software/colt/[Colt] - Advanced Computing for Science ** http://commons.apache.org/proper/commons-math/[Commons Math] - The Apache Commons Mathematics Library ** http://la4j.org/[la4j] - Linear Algebra for Java ** https://github.com/fommil/matrix-toolkits-java[MTJ] - Matrix Toolkits Java + I'd heard of JBLAS before so I thought I'd give that a try on one of the adjacency matrices described in http://matrixapps.blogspot.co.uk/2010/07/gould-index-matrix-application-to.html[Murphy Waggoner's post about the Gould Index] and see if I got the same eigenvector centrality values.</li> The first step was to define the matrix which can be represented as an array of arrays: ~~~java DoubleMatrix matrix = new DoubleMatrix(new double[][] { {1,1,0,0,1,0,0}, {1,1,0,0,1,0,0}, {0,0,1,1,1,0,0}, {0,0,1,1,1,0,0}, {1,1,1,1,1,1,1}, {0,0,0,0,1,1,1}, {0,0,0,0,1,1,1}, }); ~~~ Our next stop is to work out the eigenvalues which we can do using the following function: ~~~java ComplexDoubleMatrix eigenvalues = Eigen.eigenvalues(matrix); for (ComplexDouble eigenvalue : eigenvalues.toArray()) { System.out.print(String.format("%.2f ", eigenvalue.abs())); } ~~~ ~~~text 4.00 2.00 0.00 1.00 2.00 0.00 0.00 ~~~ We want to get the corresponding eigenvector for the eigenvalue of 4 and as far as I can tell the +++<cite>+++Eigen#eigenvectors+++</cite>+++ function returns its values in the same order as the +++<cite>+++Eigen#eigenvalues+++</cite>+++ function so I wrote the following code to work out the principal eigenvector : ~~~java List+++<Double>+++principalEigenvector = getPrincipalEigenvector(matrix); System.out.println("principalEigenvector = " + principalEigenvector); private static List+++<Double>+++getPrincipalEigenvector(DoubleMatrix matrix) { int maxIndex = getMaxIndex(matrix); ComplexDoubleMatrix eigenVectors = Eigen.eigenvectors(matrix)[0]; return getEigenVector(eigenVectors, maxIndex); } private static int getMaxIndex(DoubleMatrix matrix) { ComplexDouble[] doubleMatrix = Eigen.eigenvalues(matrix).toArray(); int maxIndex = 0; for (int i = 0; i < doubleMatrix.length; i++){ double newnumber = doubleMatrix[i].abs(); if ((newnumber > doubleMatrix[maxIndex].abs())){ maxIndex = i; } } return maxIndex; } private static List+++<Double>+++getEigenVector(ComplexDoubleMatrix eigenvector, int columnId) { ComplexDoubleMatrix column = eigenvector.getColumn(columnId); List+++<Double>+++values = new ArrayList+++<Double>+++(); for (ComplexDouble value : column.toArray()) { values.add(value.abs() ); } return values; } ~~~ In +++<cite>+++getMaxIndex+++</cite>+++ we work out which index in the array the largest eigenvalue belongs to so that we can look it up in the array we get from +++<cite>+++Eigen#eigenvectors+++</cite>+++. According to the documentation the eigenvectors are stored in the first matrix we get back which is why we choose that on the second line of +++<cite>+++getPrincipalEigenvector+++</cite>+++. This is the output we get from running that: ~~~text principalEigenvector = [0.3162277660168381, 0.3162277660168376, 0.316227766016838, 0.316227766016838, 0.6324555320336759, 0.316227766016838, 0.316227766016838] ~~~ Finally we normalise the values so that they all add together to equal 1 which means our result will tell the % of time that a random walk would take you to this node: ~~~java System.out.println("normalisedPrincipalEigenvector = " + normalised(principalEigenvector)); private static List+++<Double>+++normalised(List+++<Double>+++principalEigenvector) { double total = sum(principalEigenvector); List+++<Double>+++normalisedValues = new ArrayList+++<Double>+++(); for (Double aDouble : principalEigenvector) { normalisedValues.add(aDouble / total); } return normalisedValues; } private static double sum(List+++<Double>+++principalEigenvector) { double total = 0; for (Double aDouble : principalEigenvector) { total += aDouble; } return total; } ~~~ ~~~text normalisedPrincipalEigenvector = [0.12500000000000006, 0.12499999999999988, 0.12500000000000003, 0.12500000000000003, 0.25, 0.12500000000000003, 0.12500000000000003] ~~~ We get the same answers as Murphy does so I guess the library is working correctly! Next I think I should do some experimentation with PageRank on this graph to see how its measure of centrality differs.+++</Double>++++++</Double>++++++</Double>++++++</Double>++++++</Double>++++++</Double>++++++</Double>++++++</Double>++++++</Double>++++++</Double>+++
null
null
[ 0.019343746826052666, -0.0208573155105114, 0.03250335156917572, 0.023616963997483253, 0.05124075338244438, -0.014952649362385273, 0.044251732528209686, 0.03219017758965492, -0.0014900906244292855, -0.03923773020505905, 0.016703099012374878, -0.04328787699341774, -0.06592538207769394, 0.029387637972831726, -0.019419396296143532, 0.07381530106067657, 0.06123274192214012, 0.020140310749411583, -0.01863129809498787, -0.019899480044841766, 0.02134166844189167, 0.07893213629722595, 0.04209171235561371, 0.05120456963777542, 0.036004453897476196, -0.00919324066489935, 0.03729486092925072, -0.020047692582011223, -0.02834388241171837, 0.004201187286525965, 0.039962977170944214, 0.009928879328072071, 0.022486086934804916, -0.01651019975543022, 0.021818334236741066, -0.017451167106628418, -0.027265995740890503, 0.002994498470798135, 0.006929389666765928, 0.006464949809014797, -0.08202335983514786, 0.042051706463098526, -0.026172839105129242, 0.046254515647888184, -0.033797167241573334, 0.017220882698893547, -0.043460797518491745, 0.05922440439462662, 0.022769073024392128, 0.009632047265768051, -0.09382012486457825, 0.02592914178967476, 0.01020330935716629, 0.027237368747591972, -0.0072775413282215595, 0.03409184515476227, 0.004883425310254097, -0.04020795598626137, 0.020212804898619652, -0.05151291564106941, 0.015504913404583931, 0.012862826697528362, 0.009434088133275509, 0.027434848248958588, 0.0028228810988366604, -0.021145429462194443, 0.005608460400253534, 0.05609346181154251, -0.03747901692986488, 0.0027416828088462353, 0.005434243939816952, 0.023682091385126114, 0.0004234134976286441, 0.008497381582856178, 0.0026289692614227533, -0.034408118575811386, 0.005357110872864723, 0.061865147203207016, 0.04475881904363632, 0.02227913774549961, -0.022184886038303375, -0.0011332555441185832, -0.011978503316640854, 0.024900801479816437, -0.025950197130441666, -0.014127619564533234, -0.013953053392469883, -0.05021008849143982, -0.05662831291556358, 0.0428573340177536, -0.012618279084563255, -0.040773604065179825, 0.010679731145501137, 0.04539138823747635, -0.018195470795035362, -0.031726256012916565, 0.046995826065540314, -0.018979230895638466, -0.021885178983211517, -0.044853325933218, -0.005708616692572832, -0.05300731211900711, 0.0032089287415146828, 0.02070273458957672, -0.08075437694787979, -0.007036021910607815, -0.008206585422158241, 0.014589648693799973, 0.006570004392415285, -0.007177130319178104, -0.027488872408866882, 0.014194627292454243, -0.01633450947701931, 0.008848647587001324, -0.06266839802265167, 0.0747549831867218, 0.005943576339632273, -0.04302377998828888, 0.002899667015299201, 0.018566660583019257, 0.043669193983078, 0.04876161739230156, -0.007268696557730436, 0.06708591431379318, -0.026566796004772186, 0.019544405862689018, 0.010734341107308865, 0.022185761481523514, -0.03497851639986038, -0.03138952702283859, 0.009858112782239914, 0.05840286239981651, -0.01667713187634945, -0.011107039637863636, -0.02554921992123127, -0.06045437604188919, 0.004752541426569223, 0.03475744649767876, 0.04526043310761452, 0.0590568371117115, 0.014721711166203022, -0.08479559421539307, 0.019570065662264824, -0.0027117582503706217, 0.027947526425123215, -0.024185113608837128, 0.0015710127772763371, -0.020411819219589233, -0.016133615747094154, -0.005026162136346102, 0.024353763088583946, 0.051624152809381485, 0.041719742119312286, -0.02191307581961155, -0.002180988434702158, 0.06449731439352036, 0.05263941362500191, -0.007822107523679733, -0.001771820243448019, 0.050705719739198685, 0.04748578742146492, 0.018204808235168457, 0.04268116131424904, 0.050756484270095825, -0.0018156799487769604, -0.031101923435926437, 0.012786703184247017, 0.07976655662059784, -0.005945616867393255, -0.0056019918993115425, -0.034424714744091034, -0.026099665090441704, 0.040040161460638046, -0.04461438208818436, 0.004388315603137016, 0.048895638436079025, 0.032655008137226105, 0.029360948130488396, 0.02244541421532631, -0.0029597219545394182, -0.0701095312833786, 0.05429283156991005, -0.0015796332154422998, -0.011204664595425129, 0.004714283626526594, -0.004580129869282246, 0.06903687864542007, 0.0456952229142189, 0.007430739235132933, 0.025876179337501526, -0.06723476946353912, -0.06177382916212082, -0.025662042200565338, -0.027287587523460388, 0.06752806156873703, -0.0139757776632905, 0.018566157668828964, 0.06596213579177856, 0.022158749401569366, 0.026191754266619682, 0.0000020218656118231593, -0.010652738623321056, 0.04425789415836334, -0.015748925507068634, -0.05600703880190849, 0.023606976494193077, 0.02891484834253788, -0.01942804828286171, -0.06450426578521729, -0.004084042273461819, -0.026732614263892174, -0.013480880297720432, -0.0002047079469775781, -0.028299735859036446, 0.005771455354988575, 0.01652061752974987, 0.02776230126619339, 0.00708256009966135, 0.036602091044187546, -0.016305608674883842, 0.027631880715489388, -0.01161956787109375, 0.0036789558362215757, 0.032497238367795944, 0.007211608812212944, 0.1110217422246933, 0.06668167561292648, -0.031616076827049255, -0.08149522542953491, 0.06275376677513123, 0.011088772676885128, -0.022765357047319412, 0.048445504158735275, -0.006914431694895029, -0.016199544072151184, -0.0185437873005867, -0.058932408690452576, -0.04680215194821358, 0.03121604211628437, -0.04797988012433052, 0.0014421906089410186, 0.058612558990716934, -0.008591420017182827, 0.07815663516521454, -0.006161053664982319, 0.017644943669438362, -0.0010779164731502533, -0.05233650654554367, -0.03624022752046585, 0.028547847643494606, -0.012834742665290833, -0.01679093949496746, 0.023697562515735626, -0.03608915954828262, 0.02346636727452278, -0.009541021659970284, 0.011286269873380661, 0.03900609910488129, 0.04076392203569412, 0.056587282568216324, 0.005505743436515331, 0.05388611555099487, -0.037959884852170944, -0.011572924442589283, -0.010170429944992065, -0.04731639474630356, -0.0328572653234005, -0.06588451564311981, 0.030374405905604362, 0.009786054491996765, 0.03614908456802368, -0.031111543998122215, 0.027632005512714386, -0.006045642774552107, 0.014189369976520538, -0.015032398514449596, 0.030976831912994385, -0.005815464071929455, -0.0008210224332287908, -0.042792908847332, -0.04742306098341942, 0.06875209510326385, -0.028951367363333702, -0.021012278273701668, -0.013395878486335278, -0.06189270317554474, 0.03853045403957367, -0.03587162494659424, -0.017345169559121132, 0.0049322801642119884, 0.017365794628858566, 0.031207622960209846, 0.024521542713046074, 0.013906782492995262, 0.04053410887718201, 0.01747940294444561, 0.025548620149493217, 0.00018819712568074465, 0.006227506324648857, 0.013479892164468765, -0.009505118243396282, 0.017246393486857414, 0.05028151720762253, -0.0241865161806345, 0.0072958203963935375, -0.035466842353343964, 0.021519450470805168, 0.002544089686125517, -0.28773367404937744, 0.04208505526185036, 0.014848526567220688, -0.05418046936392784, 0.02094571478664875, -0.033185552805662155, -0.008265171200037003, -0.014981989748775959, -0.02482791617512703, 0.005017722025513649, -0.010149635374546051, -0.031515996903181076, -0.027942169457674026, 0.03996306285262108, 0.0017390894936397672, -0.006136060692369938, -0.008043570443987846, -0.049366552382707596, 0.004781518131494522, 0.05622443929314613, -0.0029232786037027836, -0.04482145607471466, -0.020447608083486557, 0.018378235399723053, 0.022616220638155937, 0.047771330922842026, -0.10572744160890579, 0.027748873457312584, -0.06213013455271721, 0.0029207358602434397, 0.010111367329955101, -0.015967415645718575, 0.00024161365581676364, -0.03203548118472099, -0.005544709041714668, -0.05794749781489372, 0.03940557315945625, 0.03358834981918335, -0.020795438438653946, 0.027710003778338432, -0.038079243153333664, -0.027319107204675674, -0.019816415384411812, 0.009551343508064747, 0.07387291640043259, 0.02330503612756729, -0.054355014115571976, -0.010576988570392132, -0.03050699643790722, 0.06228071078658104, -0.011733617633581161, -0.04072266444563866, -0.000010471413588675205, 0.010891414247453213, -0.052458446472883224, -0.03841527923941612, 0.0014815577305853367, -0.024769162759184837, -0.06536155194044113, -0.0441148616373539, -0.010976916179060936, -0.020339226350188255, 0.03012000396847725, -0.05104650929570198, -0.02828875370323658, -0.040058474987745285, -0.09160269051790237, -0.03242222219705582, 0.05146575719118118, -0.02163063921034336, -0.005630687344819307, 0.020270589739084244, -0.022937742993235588, -0.11584410071372986, -0.020081227645277977, 0.005716197192668915, -0.01841626688838005, 0.01871495321393013, -0.012621869333088398, 0.057833392173051834, -0.03949902579188347, -0.041481852531433105, 0.0015916519332677126, 0.025326969102025032, 0.026015479117631912, 0.024273034185171127, 0.009178907610476017, 0.03246903792023659, -0.04839754104614258, -0.008092637173831463, 0.07614414393901825, -0.023785395547747612, -0.008759887889027596, -0.014478352852165699, 0.008817125111818314, 0.03232831880450249, 0.021235410124063492, 0.002086896449327469, 0.021497445181012154, 0.05920492857694626, 0.03660723567008972, -0.036068033427000046, 0.021757803857326508, -0.030520685017108917, -0.01989959552884102, 0.021881520748138428, -0.06483618915081024, 0.02959256060421467, 0.028484169393777847, -0.01612529344856739, -0.01688634417951107, -0.06718430668115616, 0.022718138992786407, -0.04200669005513191, -0.01380919385701418, -0.020231638103723526, 0.018287131562829018, 0.03899271786212921, 0.0255109965801239, -0.003239467740058899, -0.060904305428266525, 0.025410110130906105, -0.003152481745928526, -0.012442669831216335, -0.062107153236866, -0.02372697740793228, -0.024613365530967712, -0.017930813133716583, 0.04476812481880188, 0.01995527371764183, -0.01315270271152258, 0.04860781133174896, 0.026516946032643318, -0.02568170800805092, 0.03358360752463341, -0.023821312934160233, -0.04492975398898125, -0.03455610200762749, 0.01116927806288004, -0.0082679009065032, -0.011564894579350948, 0.008840037509799004, -0.01197701133787632, 0.009763245470821857, 0.06533932685852051, -0.001722361776046455, 0.018986819311976433, -0.004077424295246601, 0.018353750929236412, -0.0033790040761232376, -0.005968339275568724, -0.011984338983893394, 0.017564870417118073, -0.04959852620959282, -0.001780589111149311, -0.012898092158138752, 0.04216025397181511, -0.010207000188529491, -0.05459456145763397, -0.01786595955491066, 0.045560073107481, -0.08021015673875809, -0.014417275786399841, -0.018584756180644035, 0.018278494477272034, 0.06263922154903412, -0.025359876453876495, 0.04419080540537834, 0.0029416661709547043, -0.02640504017472267, 0.010008995421230793, 0.030936473980545998, -0.04508235678076744, 0.015471834689378738, -0.0032228410709649324, -0.006995558738708496, -0.0008058958919718862, 0.032615505158901215, 0.03827889263629913, -0.005349289625883102, -0.02001781016588211, -0.005212047602981329, -0.002641764236614108, 0.03907085582613945, 0.042928580194711685, 0.04054766520857811, -0.004570120479911566, -0.01030021719634533, -0.058115456253290176, 0.00831568706780672, -0.00966624729335308, 0.003908832557499409, -0.029715033248066902, -0.014930888079106808, -0.010668529197573662, -0.03110709972679615, 0.025452133268117905, -0.03267737478017807, 0.02050071209669113, 0.030953381210565567, -0.0048958007246255875, 0.022755103185772896, -0.03276132047176361, 0.044838108122348785, 0.05267990753054619, -0.06462913006544113, -0.009095972403883934, 0.019766518846154213, -0.03163577988743782, 0.008137203752994537, 0.006432293448597193, -0.05873507261276245, -0.02002650499343872, 0.0014712814008817077, 0.028897220268845558, -0.0636238306760788, -0.04478286951780319, -0.04549212381243706, 0.011755190789699554, 0.007297508884221315, 0.025135932490229607, -0.006294765509665012, -0.023118777200579643, -0.027340618893504143, 0.001038934919051826, 0.028928974643349648, 0.011326560750603676, -0.007290400564670563, 0.011779849417507648, -0.027308203279972076, 0.003694939659908414, 0.01010441780090332, 0.000571574317291379, 0.025123147293925285, -0.0191941075026989, 0.007146632298827171, -0.053024936467409134, -0.008727474138140678, -0.01566411182284355, 0.05863472819328308, -0.004303863737732172, -0.013769272714853287, -0.05398532748222351, -0.01467206422239542, -0.02825700119137764, 0.00907185673713684, -0.02005084417760372, 0.009600725956261158, 0.051143184304237366, 0.011359745636582375, 0.005041459575295448, 0.0051699173636734486, -0.020762616768479347, -0.030624549835920334, 0.03829032927751541, -0.040277380496263504, -0.028203433379530907, -0.02543521858751774, -0.0474574938416481, -0.004935191944241524, -0.015976790338754654, 0.0011832104064524174, -0.015575635246932507, 0.030555779114365578, 0.03285430744290352, 0.02237599715590477, 0.010429337620735168, -0.001670659170486033, 0.023623954504728317, -0.031865257769823074, 0.0027111577801406384, -0.08361814171075821, 0.0003325378929730505, 0.027048446238040924, -0.016179965808987617, 0.022599320858716965, 0.006025667767971754, -0.016092514619231224, 0.0037656959611922503, -0.0806708112359047, -0.025870084762573242, 0.0345730222761631, -0.009149300865828991, 0.006469676736742258, 0.01593935862183571, -0.07156028598546982, 0.009447671473026276, 0.023067042231559753, -0.034098222851753235, 0.00082449393812567, -0.05387534946203232, 0.03948657587170601, -0.01817294768989086, 0.02281137742102146, -0.009945332072675228, 0.0016080066561698914, 0.05771425738930702, 0.0347970649600029, -0.0046996776945889, 0.03726380690932274, -0.03162533417344093, 0.023990795016288757, 0.026394125074148178, 0.01575062982738018, 0.0005369209684431553, 0.0190039724111557, -0.00001207220702781342, -0.05498889461159706, 0.04005192220211029, -0.014950347132980824, -0.04313145950436592, -0.06044981628656387, 0.08361034840345383, 0.01193571463227272, -0.04396030306816101, -0.0643032118678093, 0.028463521972298622, -0.0063915676437318325, -0.004946299362927675, -0.02404654584825039, -0.0019243874121457338, -0.01865394599735737, 0.06573224812746048, -0.0047510843724012375, 0.021578654646873474, 0.07364494353532791, -0.011123976670205593, -0.004205665085464716, -0.013714868575334549, 0.1110684722661972, 0.11637378484010696, 0.0782681256532669, -0.016321945935487747, 0.10146545618772507, -0.016318144276738167, -0.04439622163772583, -0.020270133391022682, -0.014250319451093674, -0.03862680494785309, 0.00048255492583848536, 0.0025086605455726385, 0.05491871386766434, -0.03467018902301788, 0.08212067931890488, -0.028307486325502396, -0.020463870838284492, 0.005910571198910475, 0.01704425923526287, 0.01024904940277338, 0.06260194629430771, 0.0025169483851641417, 0.03459719941020012, -0.041091784834861755, -0.023936880752444267, 0.01978120021522045, -0.01682957075536251, -0.000026684780095820315, 0.04609900712966919, 0.0011213941033929586, 0.012454109266400337, 0.017608795315027237, 0.01875927858054638, 0.09002254903316498, -0.04576965048909187, 0.002078674966469407, -0.007139041554182768, -0.003913551103323698, -0.012071910314261913, -0.017948169261217117, -0.0065138256177306175, -0.012727811001241207, -0.030123580247163773, -0.02382301166653633, -0.022582974284887314, -0.018252385780215263, -0.022767266258597374, 0.0056200153194367886, -0.018020976334810257, 0.013296788558363914, 0.007812234107404947, 0.002987579209730029, -0.031411316245794296, -0.031149256974458694, -0.0076415021903812885, -0.07410813868045807, -0.07548265159130096, -0.02706163004040718, 0.04179339110851288, -0.005015227943658829, -0.024618225172162056, -0.009686735458672047, 0.0030757777858525515, -0.02822270803153515, 0.04057318717241287, -0.04800613969564438, 0.011952479369938374, -0.011049820110201836, 0.05162043124437332, 0.02184988372027874, 0.006125346757471561, 0.03716680407524109, -0.01313034538179636, -0.015630412846803665, 0.004448545165359974, 0.003193451324477792, 0.0568985678255558, 0.008876706473529339, -0.010056030005216599, -0.08754827082157135, 0.005095429718494415, -0.0005869157612323761, -0.05755757912993431, -0.08034476637840271, 0.02620515786111355, 0.02460366301238537, 0.018567292019724846, 0.037990059703588486, -0.019976599141955376, -0.02747141197323799, -0.0448446162045002, 0.015644999220967293, 0.013581720180809498, -0.016126159578561783, 0.033028434962034225, -0.020969843491911888, 0.06732845306396484, 0.004430072847753763, -0.008886436931788921, -0.047422539442777634, -0.01036008633673191, 0.0024735250044614077, -0.0020686292555183172, -0.04156677797436714, -0.024505559355020523, 0.0006575065781362355, -0.1067982017993927, -0.0351027213037014, 0.04086785390973091, -0.03498710319399834, -0.022943977266550064, 0.012925414368510246, -0.005607605446130037, -0.024573618546128273, 0.00036073470255360007, -0.024969344958662987, 0.03476589918136597, 0.0030088929925113916, 0.009783202782273293, 0.0024018590338528156, 0.025640953332185745, -0.02275358885526657, 0.011220893822610378, 0.023418083786964417, -0.04848901927471161, -0.008367898873984814, -0.02906905673444271, 0.008297288790345192, 0.02940554730594158, 0.015820644795894623, -0.005027790553867817 ]
[ -0.06857506185770035, -0.01709306240081787, -0.045218657702207565, -0.009560191072523594, 0.0628831759095192, -0.005432738922536373, 0.016757600009441376, 0.04752975329756737, -0.0036510678473860025, -0.019221605733036995, 0.04622531309723854, -0.016491109505295753, 0.021331874653697014, 0.00415277574211359, 0.06073953956365585, 0.03934947028756142, -0.006706930696964264, -0.03116147592663765, -0.018668940290808678, 0.027546046301722527, 0.005729501135647297, -0.051232561469078064, -0.01796412467956543, -0.04791588336229324, 0.040546342730522156, 0.02268834598362446, 0.03793312609195709, -0.06415758281946182, -0.014663438312709332, -0.20738887786865234, 0.012207032181322575, 0.008767608553171158, 0.0840001329779625, -0.005118509288877249, 0.002518221503123641, 0.014061258174479008, 0.0785822719335556, -0.016213085502386093, 0.02993769943714142, 0.010667111724615097, -0.005414959974586964, 0.04232334345579147, -0.04353094473481178, 0.022070856764912605, 0.03780212253332138, 0.03852630779147148, 0.017072854563593864, 0.005448744632303715, -0.07431551069021225, -0.013788671232759953, -0.014875981956720352, -0.024969618767499924, -0.013692084699869156, 0.0008713793358765543, 0.035365935415029526, 0.03796302154660225, 0.042507875710725784, 0.05079732462763786, 0.0374223031103611, 0.04296820983290672, 0.035473234951496124, 0.016186680644750595, -0.15622620284557343, 0.060068871825933456, 0.03963702544569969, 0.033271946012973785, -0.058270394802093506, 0.0069694905541837215, -0.057251498103141785, 0.0740840956568718, 0.0394691526889801, 0.010615454986691475, -0.03338676691055298, 0.006224189884960651, 0.03232105076313019, 0.0409732349216938, -0.024970142170786858, 0.038647934794425964, 0.019297339022159576, -0.050343215465545654, 0.007510430179536343, 0.03930648788809776, -0.03022131323814392, -0.01426489558070898, -0.018691476434469223, 0.03176267817616463, -0.0029452962335199118, 0.0025072891730815172, -0.032504577189683914, 0.02826302871108055, 0.0265142060816288, 0.002585920738056302, 0.045184675604104996, -0.004641413688659668, -0.059864435344934464, -0.05267737805843353, 0.00978696160018444, 0.025251084938645363, 0.0005751802236773074, 0.38018599152565, -0.03370765969157219, -0.005926762707531452, 0.0650172308087349, 0.0305782500654459, 0.003185620764270425, -0.047211904078722, 0.004957446362823248, -0.06976741552352905, 0.013485304079949856, 0.02163185551762581, 0.038000572472810745, -0.04519608989357948, 0.0382634662091732, -0.0548706017434597, 0.03941722959280014, -0.030003536492586136, 0.041117195039987564, 0.061454616487026215, 0.027035631239414215, -0.017916202545166016, -0.035797301679849625, 0.019366668537259102, 0.03509163483977318, -0.03425879403948784, 0.01262520719319582, 0.01066440250724554, -0.002662412356585264, 0.07243422418832779, 0.047505445778369904, -0.017707379534840584, 0.03401363268494606, -0.017332052811980247, -0.06413345783948898, 0.013114629313349724, -0.01445254497230053, -0.008723178878426552, 0.024800244718790054, -0.016246847808361053, -0.0180059801787138, 0.035970382392406464, 0.007179429288953543, 0.01719760335981846, 0.04227941483259201, -0.00512167252600193, -0.07173869013786316, 0.15476810932159424, 0.027668246999382973, -0.07268888503313065, -0.015474390238523483, -0.05173748731613159, 0.028347322717308998, 0.01989135704934597, -0.019451631233096123, -0.055913861840963364, -0.012943475507199764, 0.030010880902409554, 0.07364418357610703, -0.012526917271316051, -0.05366459861397743, 0.009415801614522934, -0.0318639799952507, 0.011116040870547295, -0.04420115053653717, 0.08356381207704544, 0.10238320380449295, -0.10759681463241577, -0.021682145074009895, 0.01718474179506302, -0.009217418730258942, -0.0844019278883934, 0.02517109364271164, 0.022654546424746513, -0.023939132690429688, 0.029551461338996887, 0.053482141345739365, -0.020849265158176422, -0.04873904213309288, -0.008113501593470573, 0.031323838979005814, -0.02961100824177265, 0.02097838744521141, 0.001433755038306117, -0.056961338967084885, -0.008209475316107273, -0.057975199073553085, -0.025768695399165154, -0.06335050612688065, -0.0015472524100914598, -0.03171016648411751, -0.03158735856413841, -0.008324867114424706, -0.00871654786169529, -0.06428647041320801, 0.08794840425252914, -0.05076434090733528, -0.015756431967020035, -0.005279091652482748, -0.002900495892390609, -0.04070917144417763, -0.010736845433712006, -0.0760691836476326, -0.01848630979657173, -0.04115547239780426, 0.007582406979054213, -0.07313136011362076, 0.04678146541118622, 0.039343126118183136, -0.039304155856370926, 0.07565142214298248, 0.029828887432813644, -0.026973243802785873, -0.02526787668466568, -0.03012886643409729, 0.016754113137722015, 0.009108384139835835, -0.007621878758072853, 0.010578769259154797, -0.007860295474529266, 0.006348832510411739, 0.07707098871469498, 0.00291547947563231, -0.015441334806382656, -0.0781894326210022, -0.35159051418304443, -0.11179652065038681, -0.03951147198677063, 0.04306245222687721, 0.03959815576672554, -0.06574872881174088, 0.01940171979367733, -0.012056676670908928, -0.009371045976877213, 0.036147184669971466, 0.04917339235544205, 0.03834375739097595, -0.02217293158173561, -0.06413871794939041, 0.02441914938390255, 0.03271821141242981, -0.028855012729763985, -0.003890944179147482, -0.037135981023311615, 0.004587989300489426, 0.005111909005790949, 0.0024513350799679756, -0.026279456913471222, -0.05968208983540535, -0.008197629824280739, -0.02548985183238983, 0.08899373561143875, -0.002328987931832671, 0.013211937621235847, -0.02243274450302124, -0.0071546598337590694, 0.02951870858669281, -0.024124225601553917, -0.04571622610092163, 0.010588939301669598, -0.012344454415142536, 0.014511807821691036, -0.023842722177505493, -0.009328310377895832, -0.038256242871284485, -0.08475182950496674, -0.003729204647243023, -0.05503720045089722, -0.04076467454433441, -0.07384103536605835, 0.009834582917392254, 0.003704550676047802, -0.03106699325144291, -0.00875766109675169, 0.06695054471492767, 0.029250087216496468, -0.0045142206363379955, 0.0147533705458045, 0.011554577387869358, -0.015506956726312637, -0.04065953567624092, -0.07352650165557861, 0.019648896530270576, -0.020027464255690575, 0.012730810791254044, -0.01703856699168682, 0.008980905637145042, 0.005221628583967686, -0.06843915581703186, 0.052758973091840744, 0.001713405828922987, -0.00017305454821325839, -0.004154875408858061, 0.018930384889245033, -0.009235710836946964, 0.010318569839000702, 0.10891502350568771, 0.003159937681630254, -0.009493991732597351, 0.0417967289686203, 0.012313209474086761, 0.012278351001441479, 0.032823409885168076, 0.021447040140628815, 0.000829355965834111, 0.04869389533996582, -0.052836157381534576, 0.04923006519675255, -0.030640635639429092, -0.023234866559505463, 0.02181694470345974, -0.006496277637779713, -0.032693855464458466, 0.04994460940361023, 0.07201921194791794, -0.014462648890912533, 0.002877133432775736, -0.04492645710706711, -0.07287223637104034, 0.03280036151409149, -0.011951597407460213, -0.24917930364608765, 0.03581886366009712, 0.06292541325092316, 0.0681232139468193, 0.02281642146408558, 0.016027357429265976, 0.04456256702542305, -0.041832685470581055, 0.04051639884710312, -0.002521664835512638, 0.06090974062681198, 0.054354142397642136, 0.010568634606897831, -0.01172264851629734, -0.011364709585905075, 0.02011972852051258, 0.020335566252470016, -0.02338656224310398, 0.006099136546254158, 0.020167777314782143, 0.04673134908080101, -0.02794463373720646, 0.19446545839309692, 0.0053141433745622635, 0.025429654866456985, 0.013942352496087551, -0.006959193851798773, -0.015348789282143116, 0.0095004728063941, -0.035669051110744476, -0.0046053240075707436, 0.009185793809592724, 0.04806773364543915, -0.031373895704746246, 0.03265595808625221, -0.041963525116443634, -0.019233064725995064, 0.03637009859085083, -0.009017545729875565, -0.046242743730545044, 0.030372556298971176, -0.009480073116719723, -0.05496304854750633, 0.008642364293336868, 0.09808696806430817, -0.005374089349061251, 0.007786455098539591, -0.02668711543083191, -0.0303763709962368, 0.01251103077083826, -0.02924688160419464, -0.04131903499364853, -0.0051682982593774796, 0.0046209911815822124, -0.009837423451244831, 0.05730956792831421, 0.024208758026361465, -0.017876941710710526, -0.006850104313343763, 0.010594935156404972, -0.029761258512735367, -0.009971016086637974, 0.07703777402639389, 0.013271845877170563, 0.06382142752408981 ]
[ 0.019268278032541275, 0.008712125942111015, -0.02249745838344097, 0.022595763206481934, 0.007894454523921013, -0.00421309657394886, -0.03130374103784561, -0.014845192432403564, -0.034108467400074005, 0.02125786431133747, 0.002800071844831109, 0.01791580580174923, 0.03796764090657234, -0.02044248767197132, -0.005113768391311169, 0.012762226164340973, 0.0008906151633709669, 0.005789747927337885, 0.0187178123742342, 0.0006135350558906794, -0.04397298023104668, -0.020872067660093307, 0.01584005169570446, -0.019806426018476486, -0.0037065616343170404, 0.0017538376851007342, -0.037844959646463394, -0.009866965003311634, 0.03945382311940193, -0.1150708720088005, -0.013423589058220387, -0.023079581558704376, 0.0013802950270473957, 0.020225726068019867, -0.04384898394346237, -0.0028212799225002527, 0.011049018241465092, 0.018700050190091133, 0.023022131994366646, 0.041806500405073166, 0.07846827805042267, -0.00013868404494132847, -0.021301710978150368, 0.013816389255225658, -0.003518730401992798, -0.018128281459212303, -0.03345441073179245, 0.0017561500426381826, -0.0240656565874815, -0.014430304057896137, -0.04261580854654312, -0.0437786802649498, 0.002054954646155238, 0.016462212428450584, 0.011548633687198162, 0.00068167585413903, -0.0018971279496327043, -0.03013874962925911, 0.014638382010161877, -0.01685347408056259, 0.05012556537985802, -0.040983863174915314, -0.0498306006193161, -0.03155161440372467, 0.014149857684969902, -0.015078050084412098, -0.022456062957644463, 0.003613528795540333, -0.02132776379585266, 0.004859423730522394, 0.0019340779399499297, -0.011312684044241905, -0.04011384770274162, -0.014910846017301083, -0.005074391607195139, 0.03938041999936104, -0.00789398979395628, -0.0032977492082864046, -0.001827944302931428, 0.023708663880825043, -0.025768082588911057, 0.0362929031252861, 0.015302357263863087, -0.0038682930171489716, -0.03199662268161774, 0.0011348217958584428, -0.016326718032360077, -0.02264253981411457, 0.01310461200773716, 0.021161798387765884, -0.029931580647826195, 0.04101988300681114, 0.0036092938389629126, -0.01776745542883873, -0.10466476529836655, 0.013789797201752663, -0.013973518274724483, -0.02289756014943123, 0.011452500708401203, 0.8295760154724121, -0.002383952960371971, 0.009607650339603424, 0.004826426040381193, 0.01632804609835148, 0.017044635489583015, -0.004974124021828175, -0.002187768230214715, 0.026391522958874702, 0.009145938791334629, -0.004721821751445532, 0.00348820467479527, 0.0433841273188591, -0.008914648555219173, 0.021527713164687157, -0.002384231658652425, 0.0014925309224054217, 0.05078943073749542, 0.024996062740683556, 0.037945669144392014, 0.002974481089040637, -0.00009235789184458554, 0.03289783373475075, -0.005919927265495062, -0.023488912731409073, 0.01425836980342865, -0.161458358168602, -0.03289267048239708, -7.428249288589464e-33, 0.03689726069569588, -0.0021023426670581102, 0.034631215035915375, -0.00020020005467813462, 0.0003803476574830711, 0.0038838025648146868, -0.013033506460487843, -0.043727874755859375, -0.003327054437249899, -0.04423021897673607, -0.004019474610686302, 0.045505840331315994, 0.031462110579013824, -0.018933918327093124, 0.006952053867280483, -0.0027541096787899733, -0.0020356581080704927, 0.02266147918999195, 0.047955237329006195, -0.06025982275605202, 0.06467723101377487, 0.008486618287861347, -0.007753162644803524, 0.018022362142801285, 0.005544132553040981, 0.008441898971796036, -0.0009684087708592415, -0.028654886409640312, 0.007644375786185265, -0.0594191811978817, -0.0027539555449038744, 0.04095408320426941, 0.010194042697548866, 0.00541440024971962, -0.021823124960064888, -0.060336679220199585, -0.020124534144997597, -0.003116889391094446, 0.0010547235142439604, -0.09242186695337296, -0.045067477971315384, 0.004950809758156538, -0.0030444564763456583, -0.06455609947443008, -0.03634437173604965, 0.010522978380322456, -0.005856786388903856, -0.0033763290848582983, 0.0018160106847062707, -0.0015992216067388654, 0.04035745933651924, -0.029931925237178802, 0.01278793253004551, 0.040171511471271515, -0.0233375895768404, 0.015525050461292267, 0.039458293467760086, 0.014729226008057594, 0.017747770994901657, 0.0049397605471313, 0.023531503975391388, -0.009822583757340908, -0.0049682180397212505, 0.003779800608754158, 0.039349403232336044, -0.002790238242596388, -0.02926873415708542, 0.005709501914680004, -0.01362630445510149, 0.007900773547589779, -0.03035232424736023, 0.0022137847263365984, -0.008988088928163052, -0.013501551933586597, 0.012689132243394852, -0.01756519265472889, -0.0267032478004694, -0.0007715049432590604, -0.023454604670405388, 0.056173909455537796, -0.032341402024030685, -0.024178802967071533, -0.003091678488999605, -0.01572302356362343, -0.011418039910495281, -0.02165224961936474, 0.03265201300382614, -0.002663241932168603, 0.027734072878956795, 0.010759052820503712, 0.0418131984770298, 0.018698088824748993, -0.016461635008454323, 0.019112633541226387, -0.026984471827745438, 7.804998901447853e-33, -0.018445847555994987, 0.03413780778646469, 0.0051008169539272785, -0.0010333932004868984, 0.06402076035737991, -0.0285243708640337, 0.004014917649328709, -0.014310511760413647, -0.043635811656713486, 0.046527616679668427, -0.023501787334680557, -0.026597389951348305, -0.0012007801560685039, 0.06117629632353783, 0.042456820607185364, -0.005103325936943293, 0.01565374620258808, -0.026991654187440872, -0.0067177764140069485, 0.012849882245063782, 0.00039758338243700564, 0.006629467010498047, -0.01190250739455223, 0.01891220733523369, 0.07008969038724899, 0.013906063511967659, 0.03140616789460182, 0.006822517141699791, -0.02104453556239605, -0.01516223419457674, -0.01807265728712082, -0.0023188951890915632, 0.005095900036394596, 0.012620539404451847, -0.002048655180260539, 0.04221351817250252, -0.023841504007577896, -0.0321308858692646, 0.028799811378121376, -0.008136153221130371, -0.015039888210594654, 0.012893419712781906, -0.020794030278921127, 0.016168655827641487, -0.005129569210112095, 0.030897418037056923, 0.004050804302096367, 0.0026664051692932844, -0.016032090410590172, 0.01367931254208088, 0.014020269736647606, 0.036507342010736465, 0.026659343391656876, 0.06189686059951782, -0.005221589934080839, -0.01725100167095661, 0.021791264414787292, 0.06213870272040367, -0.014000850729644299, -0.025520088151097298, -0.023867784067988396, 0.009161470457911491, -0.05676338076591492, 0.0020980131812393665, -0.027032233774662018, -0.014041748829185963, -0.0006161453784443438, -0.0008995450916700065, -0.016957459971308708, 0.014813890680670738, -0.028229370713233948, 0.015336789190769196, 0.007008478976786137, 0.020080912858247757, 0.04189348593354225, -0.026669520884752274, 0.010761147364974022, 0.005541299004107714, -0.0364779569208622, 0.007416029926389456, 0.02178661897778511, 0.030704595148563385, 0.004866808652877808, -0.024642014876008034, 0.02110782451927662, 0.01292939018458128, 0.0016266073798760772, 0.014405710622668266, 0.012832925654947758, -0.0008590123616158962, 0.03880707174539566, -0.03806104138493538, -0.02842576988041401, 0.029436955228447914, -0.004159955307841301, -1.3014517463716402e-8, -0.05363450571894646, 0.006572761572897434, -0.012360449880361557, 0.017717577517032623, 0.04495838284492493, 0.0069181304425001144, 0.046329036355018616, 0.003113936400040984, -0.02288224548101425, 0.00999380461871624, 0.06488218903541565, -0.04911898449063301, 0.024560250341892242, -0.0006750384927727282, 0.01612822525203228, -0.0513668991625309, -0.03459129482507706, -0.017323385924100876, 0.048231273889541626, 0.009113861247897148, -0.001985870534554124, 0.023254642263054848, -0.02365625463426113, 0.046440985053777695, 0.0030811589676886797, -0.026236670091748238, 0.005473809316754341, -0.09146849066019058, 0.005727259907871485, 0.0001940926886163652, 0.002559519140049815, -0.010021939873695374, -0.011412990279495716, 0.012090187519788742, -0.03503615781664848, 0.025096941739320755, 0.02517719194293022, 0.014482161030173302, 0.0008894227212294936, 0.0397653765976429, -0.017871061339974403, 0.014520454220473766, -0.040668681263923645, -0.030331840738654137, -0.034989431500434875, 0.01390044391155243, -0.04896232858300209, 0.03347279503941536, 0.06051502376794815, -0.039813630282878876, 0.0025313228834420443, -0.027234666049480438, 0.023600751534104347, -0.0033500727731734514, 0.02435230277478695, -0.03756682574748993, -0.009491825476288795, -0.0035081172827631235, -0.008614271879196167, -0.0032487167045474052, 0.02781705930829048, 0.02101491019129753, -0.0024787813890725374, -0.026755277067422867 ]
javajblas-calculating-eigenvector-centrality-of-an-adjacency-matrix
https://markhneedham.com/blog/2013/08/05/javajblas-calculating-eigenvector-centrality-of-an-adjacency-matrix
false
2013-08-11 08:07:01
Jersey Client: com.sun.jersey.api.client.UniformInterfaceException
[ "java" ]
[ "Java" ]
As I mentioned in http://www.markhneedham.com/blog/2013/07/28/jersey-client-testing-external-calls/[a post a couple of weeks ago] we've been doing some which involved calling the neo4j server's http://docs.neo4j.org/chunked/stable/ha-rest-info.html#_the_endpoints[HA URI] to determine whether a machine was slave or master. We started off with the following code using https://jersey.java.net/documentation/latest/user-guide.html#client[jersey-client]: [source,java] ---- public class HaSpike { public static void main(String[] args) { String response = client() .resource("http://localhost:7474/db/manage/server/ha/slave") .accept(MediaType.TEXT_PLAIN) .get(String.class); System.out.println("response = " + response); } private static Client client() { DefaultClientConfig defaultClientConfig = new DefaultClientConfig(); defaultClientConfig.getClasses().add(JacksonJsonProvider.class); return Client.create(defaultClientConfig); } } ---- which works fine when the server is actually a slave: [source,text] ---- response = true ---- but blows up in style if the server is the master: [source,text] ---- Exception in thread "main" com.sun.jersey.api.client.UniformInterfaceException: GET http://localhost:7474/db/manage/server/ha/slave returned a response status of 404 Not Found at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) at HaSpike.main(HaSpike.java:10) 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.intellij.rt.execution.application.AppMain.main(AppMain.java:120) ---- We return a 404 status code from that URI if you're not a slave because it simplifies things for upstream load balancers but I thought Jersey would just return the body of the response rather than throwing an exception. A quick browse of the Jersey code showed a way around this: [source,Java] ---- private <T> T handle(Class<T> c, ClientRequest ro) throws UniformInterfaceException, ClientHandlerException { setProperties(ro); ClientResponse r = getHeadHandler().handle(ro); if (c == ClientResponse.class) return c.cast(r); if (r.getStatus() < 300) return r.getEntity(c); throw new UniformInterfaceException(r, ro.getPropertyAsFeature(ClientConfig.PROPERTY_BUFFER_RESPONSE_ENTITY_ON_EXCEPTION, true)); } ---- +++<cite>+++WebResource#handle+++</cite>+++ gets called by +++<cite>+++WebResource#get+++</cite>+++ and if we pass +++<cite>+++ClientResponse.class+++</cite>+++ to it instead of +++<cite>+++String.class+++</cite>+++ we can get around this because the code returns without checking the status of the response. Our code needs to read like this: [source,java] ---- public class HaSpike { public static void main(String[] args) { ClientResponse response = client() .resource("http://localhost:7474/db/manage/server/ha/slave") .accept(MediaType.TEXT_PLAIN) .get(ClientResponse.class); System.out.println("response = " + response.getEntity(String.class)); } ... } ---- And if we run it, this time we get the expected result: [source,text] ---- response = false ----
null
null
[ -0.015949856489896774, -0.0499352365732193, -0.03484467789530754, 0.010736377909779549, 0.06729348003864288, -0.008034029975533485, 0.062062233686447144, 0.015520487911999226, 0.011147205717861652, -0.033102311193943024, -0.0014665191993117332, 0.004316419363021851, -0.08163164556026459, 0.026550857350230217, -0.020877843722701073, 0.05118998885154724, 0.07447220385074615, 0.00632513640448451, 0.02421286702156067, -0.032596755772829056, 0.0049577620811760426, 0.06174837797880173, -0.001944990479387343, 0.019845109432935715, 0.015420193783938885, 0.016126006841659546, -0.01279066689312458, 0.009409160353243351, -0.04360676929354668, -0.031614750623703, 0.04426266998052597, 0.004010562319308519, 0.02266247756779194, 0.001719023217447102, 0.0014172571245580912, -0.016562480479478836, -0.021209795027971268, 0.0070621599443256855, 0.0023466956336051226, 0.013089215382933617, -0.061877112835645676, 0.031224695965647697, -0.00139983044937253, 0.04423054680228233, -0.023922663182020187, 0.01647692546248436, -0.03323160111904144, 0.034623339772224426, 0.014299474656581879, 0.006225189659744501, -0.08700472861528397, 0.015780989080667496, -0.067029669880867, 0.029297107830643654, 0.010430999100208282, 0.021464744582772255, 0.021489586681127548, -0.07950327545404434, 0.050315871834754944, -0.04093640297651291, -0.006363446358591318, -0.025138085708022118, 0.01924070343375206, 0.012480221688747406, -0.0031025921925902367, -0.016375232487916946, 0.02145424671471119, 0.07503046840429306, -0.037907227873802185, -0.01355251856148243, -0.0009590158588252962, 0.0008965927409008145, -0.007258220575749874, 0.0025269987527281046, 0.02965700253844261, -0.04812176898121834, -0.008362773805856705, 0.039563700556755066, 0.02138114534318447, 0.05011795461177826, -0.04622805118560791, 0.005573865957558155, 0.03422287106513977, 0.0014444945845752954, 0.006675658747553825, -0.05418999493122101, -0.027968863025307655, -0.008573668077588081, -0.02984549105167389, 0.07369178533554077, 0.022756215184926987, -0.031085282564163208, -0.028643636032938957, 0.01315002329647541, -0.024742642417550087, 0.014931181445717812, 0.002797369146719575, -0.0056378403678536415, 0.01593618281185627, -0.03245693817734718, -0.045882806181907654, 0.0033262998331338167, -0.0011986768804490566, 0.010268399491906166, -0.06764838099479675, -0.014199056662619114, -0.01200857013463974, -0.010647015646100044, -0.02189498580992222, 0.0084215784445405, -0.047554049640893936, 0.005905596539378166, -0.018110916018486023, 0.004723770543932915, -0.059897832572460175, 0.061591874808073044, 0.005465179216116667, -0.04162374883890152, -0.02741331420838833, 0.04041604697704315, 0.025809254497289658, 0.034012921154499054, -0.01577349193394184, 0.07226824015378952, -0.003447336843237281, 0.04823629930615425, 0.0016861270414665341, 0.04533867537975311, -0.013933736830949783, -0.07865578681230545, -0.00436484906822443, 0.05446445941925049, -0.007592939771711826, 0.040223129093647, -0.006532653700560331, -0.011094224639236927, -0.007639140821993351, 0.009691868908703327, 0.07519610226154327, 0.03813479468226433, -0.03302207216620445, -0.030934447422623634, 0.015694502741098404, 0.03936753049492836, 0.04683308303356171, 0.023006770759820938, -0.0081581249833107, -0.03932095691561699, -0.011095627211034298, 0.051179081201553345, 0.020816821604967117, 0.03248661011457443, 0.04080325365066528, -0.005495515652000904, -0.005634198430925608, 0.08117663860321045, 0.013101677410304546, 0.020716508850455284, -0.024071821942925453, 0.011011029593646526, 0.03412150219082832, 0.053537335246801376, 0.02251528576016426, 0.08308859914541245, -0.0036400428507477045, 0.008950104005634785, -0.011750036850571632, 0.03497058525681496, 0.001741468207910657, -0.024415049701929092, -0.03841225430369377, -0.10354291647672653, 0.03359632566571236, -0.044684622436761856, -0.019880427047610283, 0.0402851477265358, 0.06576873362064362, 0.005642682313919067, 0.03594687953591347, 0.002896952908486128, -0.06795726716518402, 0.05736953392624855, 0.0455135852098465, 0.00941307283937931, 0.003623622702434659, 0.007439127191901207, 0.06306508928537369, 0.04024163633584976, -0.013147043064236641, 0.02372155711054802, -0.08462134003639221, -0.07083313167095184, -0.0014158603735268116, 0.0014973008073866367, 0.06056782603263855, -0.01593097299337387, -0.02428436651825905, 0.03677120432257652, 0.023321649059653282, 0.0024218191392719746, 0.03407815098762512, -0.024098822847008705, 0.006814248394221067, -0.051861200481653214, -0.06231313198804855, 0.05773645266890526, 0.030618200078606606, -0.037714581936597824, -0.06840150058269501, -0.0040602427907288074, -0.025192441418766975, 0.01868179254233837, 0.00273786555044353, -0.007970199920237064, 0.02341102436184883, 0.02276325412094593, 0.03702279180288315, -0.03206304833292961, 0.054890647530555725, -0.056345898658037186, 0.07484237849712372, 0.021253202110528946, 0.011405316181480885, -0.015935931354761124, 0.0028276126831769943, 0.12714484333992004, 0.03317200019955635, -0.0175519660115242, -0.07112638652324677, 0.07981770485639572, 0.0011239057639613748, -0.03492323309183121, -0.014267411082983017, -0.010312427766621113, -0.02250506728887558, -0.00010983528045471758, -0.05626707524061203, -0.04048798978328705, -0.0068961442448198795, -0.012607705779373646, 0.016520479694008827, 0.07186403125524521, -0.04255085065960884, 0.038223229348659515, 0.0297246016561985, -0.02822706662118435, -0.02328457124531269, -0.03863251209259033, -0.04708870127797127, 0.018076879903674126, -0.0002941369893960655, -0.02293078787624836, 0.06938477605581284, -0.015111940912902355, -0.027761436998844147, -0.01565387472510338, -0.05317006632685661, 0.04810057207942009, 0.009166751988232136, 0.06990829110145569, -0.01645457185804844, 0.03708300366997719, -0.04101743921637535, -0.003880296368151903, -0.009318889118731022, -0.04161194711923599, -0.02517431229352951, 0.005519984755665064, 0.04076504334807396, -0.004985555075109005, 0.017904499545693398, -0.012428436428308487, 0.024088045582175255, -0.008478512987494469, -0.007972076535224915, 0.0019009211100637913, 0.028938516974449158, -0.0192523505538702, 0.02817278914153576, -0.021053941920399666, -0.033530592918395996, 0.03532329946756363, -0.043274689465761185, -0.04929433390498161, 0.018090344965457916, -0.08603015542030334, 0.03755353391170502, -0.06614752113819122, -0.05002252757549286, -0.012254436500370502, 0.020710958167910576, 0.048109449446201324, 0.030529147014021873, 0.010567001067101955, 0.06109227240085602, 0.005110911559313536, 0.02630578726530075, 0.04066089913249016, -0.018511326983571053, 0.04274575412273407, -0.03352125361561775, 0.022186247631907463, 0.03195780888199806, -0.03864109143614769, 0.025102980434894562, -0.05416646599769592, 0.007044268772006035, -0.014672163873910904, -0.27148547768592834, 0.046189624816179276, 0.005101287271827459, -0.02921215258538723, 0.04026505723595619, -0.03158288821578026, 0.0038520467933267355, -0.02589765563607216, -0.011533680371940136, 0.033623505383729935, -0.019625775516033173, -0.02734767086803913, 0.0003155714366585016, 0.03479914739727974, -0.0056966133415699005, 0.012432652525603771, 0.0013524407986551523, -0.03828274458646774, 0.008165628649294376, 0.011860266327857971, 0.00020696557476185262, -0.04574244096875191, -0.001749446731992066, 0.019595153629779816, 0.01689254865050316, 0.08362271636724472, -0.08167379349470139, 0.04894155636429787, -0.031821541488170624, -0.005328036844730377, 0.01683950610458851, -0.02323859930038452, 0.008139632642269135, 0.0038828726392239332, -0.03460492566227913, -0.009779183194041252, 0.012930168770253658, 0.009647642262279987, -0.034825097769498825, 0.030838618054986, -0.05457098037004471, -0.07722242921590805, -0.031586866825819016, -0.013291525654494762, 0.07732123881578445, 0.010987683199346066, -0.09191921353340149, -0.0054999953135848045, -0.016307879239320755, 0.07583906501531601, -0.02772962860763073, -0.031873371452093124, 0.0077906581573188305, 0.013175294734537601, -0.01380322128534317, -0.025511233136057854, -0.038550686091184616, 0.008788385428488255, -0.03496319800615311, -0.03682219609618187, -0.005448831710964441, -0.053541332483291626, -0.01547445822507143, -0.05328013747930527, -0.03779453784227371, -0.05353579670190811, -0.0452689491212368, -0.02094121463596821, 0.0629098117351532, -0.0023021867964416742, -0.028985800221562386, 0.012438892386853695, 0.00849295873194933, -0.10220243781805038, -0.018606586381793022, -0.0532798245549202, -0.05968119576573372, -0.004726646468043327, -0.024576734751462936, 0.05898074433207512, -0.02898169308900833, -0.04074157029390335, -0.0050856489688158035, 0.003604019759222865, 0.01609966903924942, -0.0000921968457987532, 0.02605551667511463, -0.02788902446627617, -0.006325934082269669, 0.030230743810534477, 0.07958167046308517, -0.02274387888610363, -0.03369491174817085, -0.02769686095416546, -0.0019370715599507093, 0.053486790508031845, 0.003014906542375684, -0.016242889687418938, 0.006931771524250507, 0.04717518389225006, 0.04521169140934944, -0.027447255328297615, 0.029485665261745453, -0.016764571890234947, 0.0026501361280679703, -0.009043211117386818, -0.048381514847278595, 0.014842040836811066, 0.010802078992128372, 0.0401691235601902, 0.0020224449690431356, -0.04869542643427849, 0.017235536128282547, -0.03687533736228943, -0.022580189630389214, -0.01666165143251419, 0.007937866263091564, 0.021235862746834755, 0.05597115308046341, -0.048794396221637726, -0.05686088651418686, 0.015079951845109463, 0.04763837903738022, -0.030896874144673347, -0.0361957885324955, -0.03349614515900612, -0.018279224634170532, -0.012157188728451729, 0.0297565758228302, 0.00023756148584652692, -0.0070200273767113686, 0.028306707739830017, 0.031320635229349136, 0.0169523973017931, 0.014466158114373684, -0.00011487650772323832, -0.01836613193154335, -0.041980743408203125, 0.00489929411560297, -0.020832346752285957, -0.014762438833713531, -0.018597163259983063, -0.018335707485675812, 0.05207730829715729, 0.05503160133957863, 0.00514990696683526, 0.044903453439474106, 0.0065654367208480835, 0.02726231887936592, -0.016474992036819458, 0.013256300240755081, -0.06461521983146667, -0.010485990904271603, -0.020020490512251854, -0.034970566630363464, -0.001970109296962619, 0.05470099300146103, -0.02480561099946499, -0.043108757585287094, -0.011315878480672836, 0.041668545454740524, -0.08470789343118668, -0.0034294326324015856, 0.005604096222668886, -0.02735316939651966, 0.05027181655168533, -0.005096976179629564, 0.0488336905837059, -0.03238262981176376, -0.03241497278213501, 0.0008552200742997229, -0.011051018722355366, 0.007026434876024723, 0.03565880283713341, 0.024631014093756676, 0.021593106910586357, 0.0164470337331295, 0.05442916601896286, 0.03473852574825287, 0.01617106795310974, 0.006406402215361595, -0.008107559755444527, 0.028640761971473694, 0.01487722061574459, 0.03386182337999344, 0.0028476412408053875, -0.014009053818881512, 0.0058097136206924915, -0.007687757723033428, -0.00011430958693381399, 0.0012090022210031748, 0.010344178415834904, -0.021228481084108353, 0.04408002644777298, -0.00033445830922573805, -0.0740419551730156, 0.03493005782365799, -0.03787005692720413, 0.04112939536571503, 0.033148374408483505, 0.021182216703891754, 0.015398121438920498, -0.01735118217766285, 0.04345923289656639, 0.02811940386891365, -0.02915671281516552, -0.006401910912245512, 0.003916592337191105, -0.013692919164896011, 0.0022887159138917923, 0.001106473384425044, -0.07056894898414612, -0.0027187541127204895, 0.016440313309431076, 0.011373287066817284, -0.043257348239421844, -0.06733426451683044, -0.009121917188167572, 0.0019959844648838043, -0.004009508062154055, 0.02276255562901497, 0.009332684800028801, 0.014077913016080856, -0.03478604555130005, -0.008266632445156574, 0.018425848335027695, -0.0279824398458004, -0.014993742108345032, 0.014531373046338558, -0.010501193813979626, 0.03277727589011192, -0.015856128185987473, 0.04125823825597763, 0.016634078696370125, 0.0007485009264200926, -0.011405608616769314, -0.04823458567261696, -0.00014387155533768237, 0.006272469647228718, 0.05803217738866806, 0.012464861385524273, 0.012247025035321712, -0.03117595799267292, -0.011350926011800766, -0.011515423655509949, 0.01687743328511715, 0.003748230403289199, 0.004379815421998501, 0.03394554555416107, 0.03950200974941254, 0.010682063177227974, 0.02861935645341873, -0.013349910266697407, -0.02205514907836914, 0.08481132239103317, -0.03284478560090065, -0.03192070126533508, 0.009350216947495937, -0.0711498036980629, 0.017541561275720596, 0.023814115673303604, 0.02360573224723339, -0.04141522943973541, 0.05102699622511864, 0.05299942567944527, -0.000900125247426331, 0.031195463612675667, 0.0035754949785768986, 0.03067294880747795, -0.024767016991972923, -0.03430914878845215, -0.10330414026975632, -0.0008773560984991491, 0.06501125544309616, -0.006863318849354982, -0.0008040080429054797, -0.019081642851233482, -0.03695247322320938, 0.011587806046009064, -0.048158641904592514, -0.03048870712518692, 0.03634040057659149, -0.032397814095020294, 0.009244772605597973, 0.006214166525751352, -0.05304410681128502, 0.03899376839399338, 0.020003696903586388, -0.026486624032258987, -0.032740890979766846, -0.026828737929463387, 0.0420987606048584, 0.04285286366939545, 0.03791499510407448, -0.028232917189598083, -0.01105457078665495, 0.05567179620265961, 0.024198394268751144, 0.01622122712433338, 0.047139059752225876, -0.035697534680366516, 0.01819421723484993, 0.022979050874710083, -0.0026427889242768288, 0.033042218536138535, 0.017833050340414047, -0.025366690009832382, -0.05543913319706917, 0.008122945204377174, 0.01035950519144535, -0.02907613106071949, -0.046240657567977905, 0.050935715436935425, 0.018481222912669182, -0.036596331745386124, -0.048169251531362534, 0.025157025083899498, -0.018470827490091324, -0.04328450933098793, -0.034614358097314835, 0.026109838858246803, -0.04590596631169319, 0.04063985496759415, -0.013168040663003922, 0.03751212731003761, 0.05231808125972748, -0.015312200412154198, -0.005132079124450684, 0.01375219039618969, 0.0778229683637619, 0.08931960165500641, -0.021418984979391098, 0.005813686177134514, 0.05712646245956421, 0.007652571890503168, -0.054783351719379425, 0.0009762807167135179, -0.00951849389821291, -0.050263412296772, 0.025873087346553802, -0.006209555082023144, 0.06137508153915405, -0.0258407574146986, 0.058438364416360855, -0.03966432064771652, -0.02700963243842125, -0.005152987781912088, 0.004892272874712944, 0.03431381657719612, 0.0011775022139772773, -0.010497265495359898, 0.03897734731435776, -0.015481395646929741, -0.03519992157816887, 0.0013163583353161812, 0.008371499367058277, -0.03762990981340408, 0.032963912934064865, -0.032122593373060226, -0.004905364476144314, 0.024031125009059906, 0.006303115282207727, 0.06840994954109192, -0.011531730182468891, 0.011169184930622578, 0.014559551142156124, 0.007967871613800526, -0.008014640770852566, -0.011600681580603123, -0.019904332235455513, -0.03768238052725792, -0.008560877293348312, -0.017461713403463364, -0.00006740100070601329, -0.01176088210195303, -0.03600386157631874, 0.017623916268348694, -0.01537999790161848, 0.02752182073891163, 0.009010592475533485, -0.008140319027006626, -0.04184643551707268, -0.05212801322340965, -0.0585513636469841, -0.029937639832496643, -0.06330568343400955, -0.008405804634094238, 0.022262725979089737, -0.001086085569113493, -0.01648387685418129, -0.009209913201630116, -0.022042151540517807, 0.002567695453763008, 0.0528266578912735, -0.028562767431139946, -0.00895579345524311, 0.012563958764076233, 0.011235254816710949, 0.024889737367630005, 0.03205617144703865, 0.05427065119147301, -0.012029045261442661, -0.00834370031952858, -0.04176470264792442, -0.014008953236043453, 0.036586254835128784, 0.008981003426015377, 0.009987100958824158, -0.09159146249294281, 0.0005591443041339517, 0.023252522572875023, 0.012856283225119114, -0.05328075960278511, -0.022326666861772537, 0.04838762432336807, -0.00870219524949789, 0.04579802602529526, -0.0004401427286211401, -0.0035255379043519497, -0.014635368250310421, -0.007795840501785278, 0.01247462909668684, 0.00668862322345376, 0.028613900765776634, -0.0016791459638625383, 0.08296450972557068, 0.05935290455818176, -0.032395750284194946, -0.035261817276477814, 0.020394397899508476, -0.009894204325973988, 0.013180986978113651, -0.055100198835134506, -0.03873422369360924, -0.05827109143137932, -0.08581583946943283, -0.03658358380198479, -0.009173349477350712, -0.030171826481819153, -0.019674094393849373, 0.006539257243275642, 0.016738655045628548, -0.058209534734487534, 0.025397896766662598, -0.03924470767378807, 0.017483165487647057, -0.019786439836025238, -0.028703566640615463, 0.005458195228129625, -0.0001881373318610713, 0.017027953639626503, -0.014630584046244621, 0.04047459736466408, -0.05906514450907707, 0.006679571233689785, -0.010934210382401943, 0.015404973179101944, 0.05576562136411667, 0.010786532424390316, -0.02392061986029148 ]
[ -0.09008380025625229, 0.014932212419807911, -0.012089354917407036, -0.04781616851687431, 0.04441896826028824, -0.059152401983737946, 0.0218046922236681, 0.04734515771269798, 0.009118301793932915, -0.031493738293647766, 0.05077805370092392, -0.034207798540592194, -0.012186028994619846, 0.024319501593708992, 0.06750742346048355, -0.030102994292974472, -0.047745730727910995, -0.018009278923273087, -0.029820485040545464, 0.051895856857299805, 0.0005520051927305758, -0.050730131566524506, -0.02720186486840248, -0.0501016266644001, 0.0033284600358456373, 0.02157014235854149, 0.056977394968271255, 0.014089719392359257, -0.019406791776418686, -0.17596352100372314, -0.0009628519765101373, -0.022199129685759544, 0.01284237764775753, -0.0007728502969257534, 0.032784588634967804, 0.03930985555052757, 0.01668856292963028, -0.024175969883799553, 0.03944970294833183, 0.032043371349573135, 0.031075147911906242, 0.013002220541238785, -0.05854734778404236, -0.0010015909792855382, 0.054481618106365204, -0.02168925851583481, 0.021899551153182983, 0.01041490025818348, -0.02223069965839386, -0.021382877603173256, -0.02651539072394371, -0.0035883483942598104, 0.05325789749622345, -0.010748552158474922, 0.015381197445094585, 0.026523517444729805, 0.05868477374315262, 0.09578008204698563, 0.01232993882149458, 0.048840008676052094, 0.0014670807868242264, 0.007959399372339249, -0.15141570568084717, 0.06604302674531937, 0.03785451874136925, 0.034866638481616974, -0.04014088958501816, -0.009151116013526917, -0.03771212697029114, 0.03841400519013405, 0.000803076196461916, -0.009434976615011692, -0.06230607256293297, 0.042000994086265564, -0.022912289947271347, 0.01927393674850464, 0.0053666396997869015, 0.029684005305171013, 0.08035764843225479, -0.031520117074251175, -0.07463925331830978, -0.02621406503021717, -0.024793753400444984, -0.010073271580040455, -0.05911199748516083, 0.0460641123354435, -0.024191932752728462, 0.07990045845508575, 0.027538927271962166, 0.038053691387176514, 0.008462568745017052, 0.024037770926952362, 0.05971772223711014, 0.011608937755227089, -0.10475457459688187, 0.04153286665678024, -0.011234267614781857, 0.02291775867342949, -0.015944084152579308, 0.41457894444465637, 0.0356101468205452, -0.03209149092435837, 0.02321527525782585, 0.004161433782428503, 0.016048412770032883, -0.001890284474939108, -0.013933688402175903, -0.01915704645216465, 0.030610211193561554, 0.007340682204812765, -0.02242485247552395, -0.008670560084283352, 0.024685177952051163, -0.08415187150239944, -0.019512908533215523, 0.04022330418229103, 0.021354541182518005, 0.031779032200574875, -0.037552282214164734, 0.01699783280491829, -0.009110760875046253, -0.00927365105599165, 0.019563721492886543, 0.0008979396661743522, 0.03126896172761917, 0.004090552683919668, 0.025074433535337448, 0.039465755224227905, 0.012993217445909977, -0.008278070017695427, -0.00023080232494976372, -0.0331694632768631, -0.06763161718845367, 0.01552851963788271, 0.03655015304684639, 0.02137167938053608, 0.044279683381319046, -0.05143619701266289, -0.011609984561800957, 0.03483929485082626, -0.014207778498530388, -0.047374263405799866, -0.031470540910959244, -0.0169663242995739, -0.05130559951066971, 0.08965544402599335, 0.03104945458471775, -0.0030125759076327085, -0.023484619334340096, -0.07310889661312103, -0.003548240987583995, 0.0766051784157753, -0.011748055927455425, -0.03872033581137657, -0.014353166334331036, 0.02553803101181984, 0.02656378224492073, 0.0020341009367257357, -0.053187236189842224, -0.01821303553879261, 0.02327723056077957, -0.006453591864556074, -0.008010796271264553, 0.08510152995586395, 0.0707026794552803, -0.10387822240591049, -0.02437293529510498, 0.02719958871603012, -0.005539593752473593, -0.07547605037689209, -0.047413673251867294, 0.00864008441567421, -0.04863564670085907, -0.03200012445449829, 0.005831455811858177, -0.03674481809139252, -0.01004247460514307, -0.01652868464589119, 0.00615428714081645, 0.015247457660734653, -0.019871938973665237, 0.02156275138258934, -0.04554815962910652, -0.01017696037888527, -0.00837182067334652, -0.041506364941596985, -0.05521524325013161, 0.0420629158616066, -0.02995080128312111, -0.020448660477995872, -0.0621020682156086, -0.015165812335908413, -0.0568574033677578, 0.0796988233923912, 0.02081228420138359, 0.00870819017291069, -0.013199156150221825, -0.018469693139195442, -0.007147131022065878, -0.035300109535455704, 0.059381142258644104, 0.07067309319972992, 0.03839215636253357, 0.014414536766707897, -0.07547570765018463, 0.058551397174596786, 0.047362372279167175, -0.021008051931858063, 0.054390184581279755, 0.017483605071902275, -0.06033678352832794, -0.0023377679754048586, -0.03461075574159622, 0.01797373592853546, -0.019684432074427605, -0.002335985889658332, -0.013754507526755333, 0.01995529606938362, 0.031081924214959145, -0.0039141299203038216, -0.059691619127988815, 0.04021163657307625, -0.02286652848124504, -0.34029707312583923, -0.04061233624815941, -0.008103735744953156, 0.009370638988912106, 0.01078811101615429, -0.03450489789247513, 0.04230094701051712, -0.022499294951558113, 0.03358837962150574, 0.004740833304822445, 0.1005687266588211, -0.005563752260059118, -0.012498359195888042, -0.07897373288869858, -0.004339574836194515, 0.052899714559316635, -0.01125487219542265, -0.02485518530011177, -0.037344422191381454, 0.000680293480399996, 0.002989191561937332, -0.04442854970693588, -0.02477198839187622, -0.008508029393851757, -0.009906516410410404, -0.01730356179177761, 0.0966639518737793, -0.011064864695072174, 0.04030940309166908, -0.06557486951351166, 0.056860342621803284, 0.007218532729893923, 0.01083226315677166, -0.09769808501005173, -0.011166955344378948, -0.039590734988451004, 0.002508197445422411, 0.026804154738783836, 0.04304105415940285, 0.008754177019000053, -0.05037958547472954, 0.0008079393883235753, -0.06908735632896423, -0.05538549646735191, 0.022202018648386, 0.00459005031734705, -0.02470206841826439, -0.00478553818538785, -0.002795683452859521, 0.03499359264969826, -0.030082637444138527, 0.008984181098639965, 0.0054064225405454636, 0.025031158700585365, 0.006981763523072004, -0.02100023813545704, -0.05037382245063782, -0.053988076746463776, 0.027161845937371254, 0.03618357330560684, 0.02791214920580387, 0.05365873873233795, 0.023495150730013847, -0.05485043302178383, 0.041475437581539154, -0.04152655601501465, -0.0002830095181707293, 0.024958536028862, 0.0770491287112236, -0.07820294052362442, -0.028922827914357185, 0.08258756995201111, 0.02293638326227665, 0.04421057179570198, 0.036482781171798706, 0.02756144106388092, 0.023441091179847717, -0.04136563464999199, 0.013194926083087921, 0.01685231551527977, 0.017293283715844154, -0.017791718244552612, 0.06734170764684677, -0.02659943327307701, -0.0023712776601314545, 0.08727419376373291, -0.01584705524146557, 0.014921783469617367, 0.05224509537220001, -0.01096338964998722, -0.037410248070955276, -0.006824153941124678, -0.03555462881922722, -0.06808469444513321, 0.025615479797124863, 0.0026340221520513296, -0.25114575028419495, 0.026028433814644814, 0.011397646740078926, 0.05780696123838425, -0.02400505170226097, 0.009140446782112122, 0.031183233484625816, -0.02221132069826126, -0.03553028777241707, 0.05811770632863045, 0.06608457863330841, 0.032907675951719284, -0.0033405146095901728, 0.0022983320523053408, 0.03215480595827103, 0.01113501749932766, 0.005879495292901993, 0.01590859331190586, 0.009422542527318, -0.03604038059711456, 0.025264738127589226, -0.04133153706789017, 0.1602362096309662, 0.009201575070619583, 0.021925171837210655, 0.09958984702825546, -0.006519826594740152, 0.02500363253057003, 0.051544103771448135, -0.003018114948645234, -0.00390259874984622, 0.030089007690548897, 0.05522916838526726, 0.022334320470690727, 0.021516650915145874, -0.08981922268867493, 0.013945060782134533, -0.008810575120151043, -0.006319105159491301, -0.04430396482348442, -0.03804920241236687, 0.0170457623898983, -0.02786795236170292, 0.01802881434559822, 0.09469103068113327, -0.013171141967177391, -0.02766549028456211, -0.017281709238886833, -0.040308862924575806, -0.008768836967647076, -0.07358517497777939, -0.09100239723920822, -0.005552676040679216, -0.007144355680793524, -0.00018504135368857533, 0.04830784350633621, -0.007688154000788927, -0.06347866356372833, -0.008858469314873219, 0.029676707461476326, 0.011111406609416008, -0.009014145471155643, 0.10815590620040894, -0.018917204812169075, 0.008672339841723442 ]
[ -0.014426901936531067, 0.07284649461507797, 0.008885316550731659, 0.00981998723000288, 0.007690922822803259, 0.01635974459350109, -0.013392405584454536, -0.00619372958317399, -0.009986788965761662, -0.002685926156118512, -0.029645796865224838, 0.01933969557285309, 0.06578468531370163, -0.01118367537856102, 0.01923878863453865, -0.01851932890713215, 0.00272574694827199, 0.03241366520524025, 0.024137333035469055, 0.009819013066589832, 0.01267916802316904, 0.002649894217029214, 0.0158877931535244, -0.04035945609211922, -0.0010273013031110168, 0.014235027134418488, 0.006647347938269377, -0.0011004777625203133, -0.014894120395183563, -0.12483394891023636, -0.04767787083983421, -0.029890118166804314, -0.024384908378124237, -0.025721333920955658, -0.020463330671191216, 0.02018747478723526, 0.031562335789203644, 0.016569197177886963, -0.0005318549228832126, 0.025842610746622086, 0.006951292511075735, -0.002832057187333703, -0.011102437973022461, 0.008719904348254204, -0.010754955001175404, -0.017785614356398582, -0.04204872250556946, -0.018427859991788864, -0.019404565915465355, 0.006293289363384247, -0.04382508620619774, -0.019032638520002365, 0.04534740000963211, 0.004039264749735594, -0.018688617274165154, -0.01884709671139717, -0.06712304800748825, 0.02591484785079956, 0.003928131889551878, 0.0066415900364518166, 0.035296324640512466, -0.008284703828394413, -0.02669660933315754, -0.03379325196146965, 0.0027302284725010395, -0.028661280870437622, 0.0209108404815197, 0.016193576157093048, -0.027235928922891617, 0.0014310613041743636, 0.016566680744290352, 0.03797648847103119, -0.053273506462574005, -0.0045857420191168785, -0.01891416870057583, 0.015393944457173347, 0.02341643162071705, 0.001235014759004116, 0.015930628404021263, 0.017506374046206474, -0.022792108356952667, -0.010044798254966736, -0.017767559736967087, 0.005232958123087883, -0.027605369687080383, 0.038768380880355835, 0.004304225090891123, -0.012833306565880775, 0.0012780443066731095, 0.03552112728357315, -0.03493683785200119, 0.000014995685887697618, -0.008532224223017693, -0.009938199073076248, -0.08623974770307541, -0.00044063484529033303, -0.021189121529459953, -0.00040156173054128885, 0.003713417099788785, 0.8187709450721741, 0.03822208568453789, 0.0056410059332847595, 0.04346117004752159, 0.023161685094237328, 0.026722561568021774, -0.006845560390502214, 0.0044252267107367516, 0.031312260776758194, 0.014070440083742142, -0.00019349437206983566, -0.05755816400051117, 0.009810405783355236, 0.013665860518813133, 0.029363904148340225, 0.0034970403648912907, 0.026363512501120567, 0.06530565768480301, -0.0038872098084539175, -0.03252262622117996, 0.052526455372571945, 0.024835994467139244, -0.006840119604021311, -0.004379110410809517, 0.001786824781447649, 0.013357882387936115, -0.13586747646331787, -0.013726310804486275, -7.323196093140445e-33, 0.04227704927325249, 0.00469061778858304, 0.06033242121338844, 0.011215309612452984, 0.02520446479320526, -0.009138517081737518, 0.008281324990093708, 0.0022877738811075687, -0.03125162050127983, -0.04624452441930771, -0.00316396146081388, -0.025012826547026634, 0.02437949925661087, -0.0198258925229311, -0.0027342424727976322, -0.0235406756401062, 0.016481798142194748, 0.022989343851804733, 0.009729934856295586, 0.020071586593985558, 0.01321390364319086, 0.030605046078562737, 0.0042588976211845875, 0.01993340440094471, -0.020156746730208397, 0.026089312508702278, 0.002785108983516693, 0.026285750791430473, -0.03313054144382477, -0.037791620939970016, -0.013393479399383068, -0.03283708542585373, -0.02106579579412937, -0.03693479672074318, 0.013173765502870083, -0.051441024988889694, -0.026356017217040062, -0.01223166286945343, -0.052430301904678345, -0.0832216814160347, -0.03980625420808792, -0.011493159458041191, -0.039680708199739456, 0.04604851454496384, -0.04792957380414009, -0.03735929727554321, -0.018966395407915115, -0.0011359233176335692, 0.0018728902796283364, 0.02130371518433094, -0.018728962168097496, 0.019052676856517792, 0.026401083916425705, -0.0018409044714644551, -0.032868847250938416, 0.026145484298467636, 0.03949222341179848, 0.05266471579670906, -0.009546466171741486, 0.008498379960656166, 0.019730977714061737, -0.026599504053592682, -0.0314774215221405, 0.040610287338495255, 0.029326654970645905, 0.009705380536615849, -0.010043448768556118, -0.0013726899633184075, -0.0012870990904048085, 0.0043145171366631985, -0.006389094050973654, -0.003721735905855894, 0.007942445576190948, 0.005459501873701811, 0.020196057856082916, -0.02186884731054306, -0.012595093809068203, 0.0034387644845992327, -0.00423976918682456, 0.013486041687428951, 0.02933751791715622, -0.02048243023455143, -0.01835969276726246, -0.018370581790804863, -0.011180861853063107, -0.012429224327206612, 0.03871430084109306, -0.0006012285593897104, 0.05370309203863144, 0.04029065743088722, 0.07414169609546661, 0.015385143458843231, -0.014374719932675362, -0.02346021682024002, -0.019816353917121887, 7.00880425154127e-33, -0.019665243104100227, 0.0022011238615959883, -0.02899828366935253, -0.004052393138408661, 0.012981994077563286, -0.005887477193027735, 0.008288591168820858, 0.05140354856848717, -0.07752474397420883, 0.016288788989186287, -0.0052655949257314205, -0.018054723739624023, -0.011536316014826298, 0.039649564772844315, 0.020610114559531212, 0.015085160732269287, 0.05173817649483681, -0.04620065167546272, 0.051669392734766006, -0.000021291964003467, 0.025973457843065262, -0.025046726688742638, 0.018182916566729546, 0.021850967779755592, 0.009101880714297295, 0.04030229151248932, -0.02465044893324375, 0.023748062551021576, -0.04003460705280304, -0.021988000720739365, 0.012687824666500092, -0.022695912048220634, 0.01216063741594553, -0.03554852306842804, -0.027284177020192146, -0.017403950914740562, -0.006727481726557016, 0.05737520009279251, 0.023179957643151283, -0.029547322541475296, -0.02063777670264244, -0.06863740086555481, -0.008586493320763111, 0.05544540658593178, 0.024091018363833427, -0.004291032440960407, 0.002021996071562171, -0.004681132733821869, -0.011522273533046246, 0.019853996112942696, -0.012595193460583687, 0.042147062718868256, 0.0037911790423095226, 0.022062137722969055, 0.035561803728342056, -0.03441588953137398, -0.03028135374188423, 0.025459226220846176, 0.015146270394325256, 0.038422588258981705, 0.012365929782390594, -0.04024935141205788, -0.04208792373538017, 0.06762874871492386, 0.005434174556285143, -0.042227309197187424, 0.019160084426403046, -0.018266543745994568, -0.004215577617287636, 0.005945731420069933, -0.004042734391987324, 0.02482648938894272, 0.012846842408180237, 0.042701851576566696, 0.055952299386262894, -0.024608727544546127, -0.00078447355190292, -0.007974046282470226, -0.05831701681017876, 0.02820141240954399, -0.01964126154780388, -0.020915566012263298, -0.033404503017663956, -0.019577959552407265, 0.027142604812979698, -0.04019445925951004, 0.0005191424279473722, 0.02812463790178299, -0.04679229110479355, -0.03822794929146767, 0.0037244001869112253, 0.0054943193681538105, -0.04050052911043167, 0.02106417343020439, -0.025925656780600548, -1.2640903435112705e-8, 0.00315430318005383, -0.035046447068452835, -0.0023595201782882214, -0.011204609647393227, -0.002636207267642021, 0.024089472368359566, -0.04206765070557594, -0.015391848050057888, -0.01613127440214157, 0.03406405448913574, 0.022747335955500603, 0.009126187302172184, 0.03466947749257088, -0.007277118507772684, 0.03555356338620186, -0.06348761916160583, 0.03481503576040268, -0.003601824166253209, 0.027311479672789574, 0.008204380050301552, 0.01599118858575821, 0.039827946573495865, -0.008863754570484161, 0.008496571332216263, 0.041912682354450226, -0.014644213020801544, 0.026678316295146942, -0.04028281569480896, -0.019707584753632545, -0.04430835321545601, -0.03940332680940628, 0.0035870184656232595, -0.035031914710998535, -0.022496702149510384, -0.044206403195858, 0.0022148797288537025, -0.014552989974617958, 0.012413508258759975, 0.008391154929995537, 0.011098022572696209, -0.001999757718294859, 0.050306811928749084, -0.0442156046628952, -0.008961918763816357, 0.017479967325925827, 0.015724094584584236, -0.02596595324575901, 0.02292054519057274, 0.014118431136012077, -0.07245957106351852, -0.045929551124572754, -0.010174790397286415, 0.02850393019616604, -0.023046322166919708, 0.027444830164313316, -0.004867116920650005, 0.01336462888866663, 0.0029047196730971336, 0.0058939289301633835, 0.01134043000638485, 0.04680214449763298, 0.011679974384605885, -0.04605485498905182, -0.03851184993982315 ]
jersey-client-com-sun-jersey-api-client-uniforminterfaceexception
https://markhneedham.com/blog/2013/08/11/jersey-client-com-sun-jersey-api-client-uniforminterfaceexception
false
2013-08-11 07:23:31
neo4j: Extracting a subgraph as an adjacency matrix and calculating eigenvector centrality with JBLAS
[ "java", "neo4j", "eigenvector-centrality", "jblas" ]
[ "neo4j" ]
Earlier in the week I wrote a blog post showing http://www.markhneedham.com/blog/2013/08/05/javajblas-calculating-eigenvector-centrality-of-an-adjacency-matrix/[how to calculate the eigenvector centrality of an adjacency matrix] using http://mikiobraun.github.io/jblas/[JBLAS] and the next step was to work out the eigenvector centrality of a neo4j sub graph. There were 3 steps involved in doing this: . Export the neo4j sub graph as an adjacency matrix . Run JBLAS over it to get eigenvector centrality scores for each node . Write those scores back into neo4j I decided to make use of the https://github.com/mneedham/revere/blob/neo4j/data/PaulRevereAppD.csv[Paul Revere data set] from http://kieranhealy.org/blog/archives/2013/06/09/using-metadata-to-find-paul-revere/[Kieran Healy's blog post] which consists of people and groups that they had membership of. The https://github.com/mneedham/revere/blob/neo4j/scripts/import.rb[script] to import the data is on https://github.com/mneedham/revere/tree/neo4j[my fork of the revere repository]. Having imported the data the next step was to write a cypher query which would give me the people in an http://en.wikipedia.org/wiki/Adjacency_matrix[adjacency matrix] with the number in each column/row intersection showing how many common groups that pair of people had. I thought it'd be easier to build this query incrementally so I started out writing a query which would return one row of the adjacency matrix: ~~~cypher MATCH p1:Person, p2:Person WHERE p1.name = "Paul Revere" WITH p1, p2 MATCH p = p1-[?:MEMBER_OF]\->()\<-[?:MEMBER_OF]-p2 WITH p1.name AS p1, p2.name AS p2, COUNT(p) AS links ORDER BY p2 RETURN p1, COLLECT(links) AS row ~~~ Here we start with Paul Revere and then find the relationships between him and every other person by way of a common group membership. We use an optional relationship since we need to include a value in each column/row of our adjacency matrix we need to return a 0 value for anyone he doesn't intersect with. If we run that query we get back the following: ~~~text +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | p1 | row | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | "Paul Revere" | [2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,3,1,1,1,1,1,1,3,3,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,3,2,1,1,2,1,2,1,1,1,1,1,0,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,2,1,3,1,3,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,0,1,0,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,3,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,1,2,1,1,1,1,1,1,1,1,3,1,1,1,1,3,1,1,1,1,0,1,2,1,1,1,1,1,1,1] | +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ~~~ As it turns outs we've only got to remove the WHERE clause and order everybody and we've get the adjacency matrix for everyone: ~~~cypher MATCH p1:Person, p2:Person WITH p1, p2 MATCH p = p1-[?:MEMBER_OF]\->()\<-[?:MEMBER_OF]-p2 WITH p1.name AS p1, p2.name AS p2, COUNT(p) AS links ORDER BY p2 RETURN p1, COLLECT(links) AS row ORDER BY p1 ~~~ ~~~text +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | p1 | row | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | "Abiel Ruddock" | [0,1,1,1,0,1,0,1,0,0,1,1,1,0,1,2,0,1,0,1,1,1,2,2,1,0,0,1,1,0,1,1,1,1,1,0,0,0,0,1,1,0,0,2,2,0,0,1,1,2,1,1,1,0,1,0,1,1,0,0,2,1,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,0,2,1,2,1,0,0,0,0,1,1,0,1,0,0,1,0,2,0,0,1,0,0,0,1,0,0,2,0,1,0,1,1,1,0,0,1,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,1,0,1,1,0,1,1,1,2,0,0,1,1,0,0,2,0,1,2,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,2,1,0,1,1,1,1,1,0,0,1,1,0,0,0,0,1,0,1,1,0,0,1,0,0,2,1,0,0,1,1,1,1,0,1,0,0,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0,0,1,0,2,1,1,0,0,2,0,1,0,0,0,0,1,0,1,0,1,0,1,0] | | "Abraham Hunt" | [1,0,1,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,1,1,0,1,1,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,1,0,0,0,1,1,0,0,0,1,1,1,1,1,0,0,0,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,1,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,1,0,1,1,0,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,1,1,1,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0,0,0,0,0,1,0,1,0,1,0] | \... +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 254 rows 9897 ms ~~~ The next step was to wire up the query results with the JBLAS code that I wrote in the previous post. I ended up with the https://github.com/mneedham/revere/blob/neo4j/src/main/java/Neo4jAdjacencyMatrixSpike.java[following]: ~~~java public class Neo4jAdjacencyMatrixSpike { public static void main(String[] args) throws SQLException { ClientResponse response = client() .resource("http://localhost:7474/db/data/cypher") .entity(queryAsJson(), MediaType.APPLICATION_JSON) .accept(MediaType.APPLICATION_JSON) .post(ClientResponse.class); JsonNode result = response.getEntity(JsonNode.class); ArrayNode rows = (ArrayNode) result.get("data"); List+++<Double>+++principalEigenvector = JBLASSpike.getPrincipalEigenvector(new DoubleMatrix(asMatrix(rows))); List+++<Person>+++people = asPeople(rows); updatePeopleWithEigenvector(people, principalEigenvector); System.out.println(sort(people).take(10)); } private static double[][] asMatrix(ArrayNode rows) { double[][] matrix = new double[rows.size()][254]; int rowCount = 0; for (JsonNode row : rows) { ArrayNode matrixRow = (ArrayNode) row.get(2); double[] rowInMatrix = new double[254]; matrix[rowCount] = rowInMatrix; int columnCount = 0; for (JsonNode jsonNode : matrixRow) { matrix[rowCount][columnCount] = jsonNode.asInt(); columnCount++; } rowCount++; } return matrix; } // rest cut for brevity } ~~~ Here we are taking the query and then converting it into an array of arrays before passing it to our JBLAS code to calculate the principal eigenvector. We then return the top 10 people: ~~~text Person{name='William Cooper', eigenvector=0.172604992239612, nodeId=68}, Person{name='Nathaniel Barber', eigenvector=0.17260499223961198, nodeId=18}, Person{name='John Hoffins', eigenvector=0.17260499223961195, nodeId=118}, Person{name='Paul Revere', eigenvector=0.17171142003936804, nodeId=207}, Person{name='Caleb Davis', eigenvector=0.16383970722169897, nodeId=71}, Person{name='Caleb Hopkins', eigenvector=0.16383970722169897, nodeId=121}, Person{name='Henry Bass', eigenvector=0.16383970722169897, nodeId=21}, Person{name='Thomas Chase', eigenvector=0.16383970722169897, nodeId=54}, Person{name='William Greenleaf', eigenvector=0.16383970722169897, nodeId=104}, Person{name='Edward Proctor', eigenvector=0.15600043886738055, nodeId=201} ~~~ I get back the same 10 people as Kieran Healy although they have different eigenvector values. As far as I understand the absolute value doesn't matter, what's more important is the relative score to other people so I think we're ok. The final step was to write these eigenvector values back into neo4j which we can do with the following code: ~~~java private static void updateNeo4jWithEigenvectors(List+++<Person>+++people) { for (Person person : people) { ObjectNode request = JsonNodeFactory.instance.objectNode(); request.put("query", "START p = node(\{nodeId}) SET p.eigenvectorCentrality=\{value}"); ObjectNode params = JsonNodeFactory.instance.objectNode(); params.put("nodeId", person.nodeId); params.put("value", person.eigenvector); request.put("params", params); client() .resource("http://localhost:7474/db/data/cypher") .entity(request, MediaType.APPLICATION_JSON) .accept(MediaType.APPLICATION_JSON) .post(ClientResponse.class); } } ~~~ Now we might use that eigenvector centrality value in other queries, such as one to show who the most central/potentially influential people are in each group: ~~~cypher MATCH g:Group\<-[:MEMBER_OF]-p WITH g.name AS group, p.name AS personName, p.eigenvectorCentrality as eigen ORDER BY eigen DESC WITH group, COLLECT(personName) AS people RETURN group, HEAD(people) + [HEAD(TAIL(people))] + [HEAD(TAIL(TAIL(people)))] AS mostCentral ~~~ ~~~text +--------------------------------------------------------------------------+ | group | mostCentral | +--------------------------------------------------------------------------+ | "StAndrewsLodge" | ["Paul Revere","Joseph Warren","Thomas Urann"] | | "BostonCommittee" | ["William Cooper","Nathaniel Barber","John Hoffins"] | | "LoyalNine" | ["Caleb Hopkins","William Greenleaf","Caleb Davis"] | | "LondonEnemies" | ["William Cooper","Nathaniel Barber","John Hoffins"] | | "LongRoomClub" | ["Paul Revere","John Hancock","Benjamin Clarke"] | | "NorthCaucus" | ["William Cooper","Nathaniel Barber","John Hoffins"] | | "TeaParty" | ["William Cooper","Nathaniel Barber","John Hoffins"] | +--------------------------------------------------------------------------+ 7 rows 280 ms ~~~ Our top ten feature frequently although it's interesting that only one of them is in the 'LongRoomClub' group which perhaps indicates that people in that group are less likely to be members of the other ones. I'd be interested if anyone can think of other potential uses for eigenvector centrality once we've got it back in the graph. All the code described in this post is https://github.com/mneedham/revere/tree/neo4j[on github] if you want to take it for a spin.+++</Person>++++++</Person>++++++</Double>+++
null
null
[ 0.016883142292499542, -0.025067243725061417, 0.01809634268283844, 0.01657947152853012, 0.0773334726691246, 0.002532830461859703, 0.04957576096057892, 0.023206282407045364, 0.00809740275144577, -0.01804971508681774, 0.011349457316100597, -0.039912331849336624, -0.06956418603658676, 0.018237456679344177, -0.01756301335990429, 0.061966169625520706, 0.04534989967942238, 0.014517677016556263, 0.00202753022313118, -0.008343123830854893, 0.015008555725216866, 0.056514494121074677, 0.02741699106991291, 0.037773169577121735, 0.05555298551917076, -0.008552060462534428, 0.03477161377668381, 0.003238408826291561, -0.040399011224508286, 0.002274240367114544, 0.029412882402539253, 0.004065968561917543, 0.033313289284706116, -0.006836531218141317, 0.029699793085455894, -0.0003755071957129985, -0.03625054657459259, 0.017520567402243614, 0.0013444331707432866, -0.0041780308820307255, -0.06668859720230103, 0.038690779358148575, -0.03133838251233101, 0.036742258816957474, -0.03497672826051712, 0.00725956168025732, -0.05086600407958031, 0.04879334196448326, 0.024235999211668968, -0.0022588521242141724, -0.08066655695438385, 0.004473795183002949, 0.007702623959630728, 0.02132304757833481, -0.0010119288926944137, 0.0473916195333004, 0.0243058018386364, -0.06114063411951065, 0.040230244398117065, -0.034283388406038284, 0.003965935204178095, 0.00112934410572052, 0.001012993510812521, 0.02229631505906582, -0.004368775524199009, -0.03494633361697197, 0.01155764702707529, 0.060610610991716385, -0.05011655390262604, 0.009263346903026104, 0.0022253161296248436, 0.019017230719327927, -0.008521287702023983, 0.013870196416974068, 0.0014403621898964047, -0.03360617533326149, 0.017823491245508194, 0.05905289575457573, 0.04895637556910515, 0.025006305426359177, -0.023893238976597786, 0.01278125960379839, -0.013179563917219639, 0.03438162803649902, -0.016331754624843597, -0.031387075781822205, -0.02629951387643814, -0.059552911669015884, -0.0621110275387764, 0.04592810571193695, -0.025607701390981674, -0.054624006152153015, -0.011402069590985775, 0.0365850105881691, -0.021582938730716705, -0.014097816310822964, 0.024429239332675934, 0.001206129789352417, 0.0016167453723028302, -0.03132924437522888, -0.01158428005874157, -0.03381950780749321, 0.001889687147922814, 0.009166699834167957, -0.0862894207239151, -0.004224966745823622, -0.014376359060406685, -0.005775001365691423, 0.0022169461008161306, 0.0001905660319607705, -0.03053687885403633, 0.020707128569483757, -0.023141255602240562, 0.01039206050336361, -0.07081747055053711, 0.07772918045520782, 0.016881784424185753, -0.025548605248332024, -0.03245645761489868, 0.01773141697049141, 0.0282345712184906, 0.044715672731399536, 0.006078741047531366, 0.07177965342998505, -0.027951346710324287, 0.041323222219944, 0.01241995021700859, 0.04437517374753952, -0.03745396062731743, -0.044685062021017075, 0.002314773155376315, 0.056454263627529144, 0.006198500748723745, 0.014243204146623611, -0.007511007133871317, -0.06504538655281067, -0.006703164428472519, 0.03811738267540932, 0.059176005423069, 0.044632960110902786, 0.013628226704895496, -0.07263845950365067, 0.024572722613811493, -0.009837555699050426, 0.0263932216912508, 0.00867021270096302, -0.01582442782819271, -0.015651850029826164, -0.02884753607213497, 0.006828008219599724, 0.013077382929623127, 0.023021619766950607, 0.03766448423266411, -0.0338544100522995, 0.024719813838601112, 0.07664700597524643, 0.0499432347714901, 0.008127138018608093, -0.01116860844194889, 0.040086135268211365, 0.052069272845983505, 0.03474818915128708, 0.021997882053256035, 0.04330488666892052, -0.023311341181397438, -0.023179978132247925, 0.007206264417618513, 0.06683605909347534, 0.0036895982921123505, -0.0028556513134390116, -0.03458712622523308, -0.06871636211872101, 0.04987237602472305, -0.03327210992574692, -0.014487647451460361, 0.03756843879818916, 0.06796447932720184, 0.03174137324094772, 0.025204310193657875, -0.021407749503850937, -0.0695962905883789, 0.054219093173742294, 0.005689660087227821, 0.019288580864667892, 0.023935679346323013, 0.0019135220209136605, 0.07485458999872208, 0.05285391956567764, 0.005523816216737032, 0.02315540425479412, -0.05545177683234215, -0.06971339881420135, 0.0028750121127814054, -0.0118543216958642, 0.06256383657455444, -0.0070311990566551685, 0.016498640179634094, 0.046773772686719894, 0.011643382720649242, 0.013920953497290611, -0.0049056545831263065, 0.0050126779824495316, 0.035795390605926514, -0.031016062945127487, -0.043519675731658936, 0.03698989376425743, 0.02188938297331333, -0.04046550393104553, -0.06070204824209213, 0.019427847117185593, -0.015137679874897003, 0.007346702739596367, 0.006994795985519886, -0.034176867455244064, 0.015029543079435825, 0.019242053851485252, 0.036586515605449677, 0.008657935075461864, 0.027233392000198364, -0.02194579504430294, 0.04136907309293747, 0.007105381228029728, -0.013509312644600868, 0.0035971575416624546, 0.009230788797140121, 0.12409284710884094, 0.058005791157484055, -0.04028169438242912, -0.07783105969429016, 0.055034950375556946, 0.0010354743571951985, -0.02435365691781044, 0.018627647310495377, -0.008678927086293697, -0.010775857605040073, -0.0194510780274868, -0.061706990003585815, -0.03515581041574478, 0.024798624217510223, -0.0399312861263752, -0.004659533500671387, 0.05467565357685089, -0.031695812940597534, 0.04870274290442467, -0.004746576305478811, 0.00385596533305943, -0.005423691589385271, -0.049222346395254135, -0.05554978922009468, 0.0334121435880661, -0.007689579855650663, -0.01701420173048973, 0.03926822170615196, -0.03457651659846306, 0.010806464590132236, -0.01796259544789791, 0.007259874138981104, 0.0291606392711401, 0.055093538016080856, 0.055791713297367096, 0.004113859497010708, 0.048214927315711975, -0.0378350131213665, -0.003811742179095745, -0.02528555318713188, -0.03570857644081116, -0.04766453057527542, -0.04624219238758087, 0.024601319804787636, 0.009800726547837257, 0.0284355990588665, -0.014676627703011036, 0.013698599301278591, 0.015592154115438461, 0.01511689554899931, 0.004479005001485348, 0.021936552599072456, -0.007885965518653393, 0.002633266383782029, -0.015336636453866959, -0.03691765293478966, 0.043054841458797455, -0.050733618438243866, -0.02604716643691063, 0.0072396621108055115, -0.06388547271490097, 0.03899002447724342, -0.039327703416347504, -0.0181893203407526, 0.007780951447784901, 0.020462462678551674, 0.06064660847187042, 0.028614168986678123, -0.006923086941242218, 0.05870740860700607, 0.015029014088213444, 0.009298479184508324, 0.0027972233947366476, -0.005070654209703207, 0.03128597140312195, -0.010653937235474586, 0.04429188370704651, 0.050777874886989594, -0.020585061982274055, 0.0010262273717671633, -0.011682813055813313, 0.006590057630091906, -0.0023534258361905813, -0.2950400710105896, 0.040872953832149506, -0.01945224031805992, -0.054161567240953445, 0.02668594755232334, -0.020902173593640327, -0.017083052545785904, -0.02575577422976494, -0.010777479037642479, 0.0018448781920596957, 0.0038207201287150383, -0.029292043298482895, -0.028653591871261597, 0.04000331833958626, 0.020629454404115677, 0.006518340669572353, -0.0015880088321864605, -0.027731023728847504, 0.013994013890624046, 0.05760907009243965, 0.007433679886162281, -0.057503703981637955, -0.03027360513806343, 0.003276966279372573, 0.028651151806116104, 0.031072786077857018, -0.10342766344547272, 0.03065233863890171, -0.06841913610696793, -0.006527699530124664, 0.009531528688967228, -0.03015109896659851, 0.011830760166049004, -0.025175169110298157, -0.019561583176255226, -0.037580911070108414, 0.024151243269443512, 0.025273816660046577, -0.004515227861702442, 0.015519299544394016, -0.04803884029388428, -0.051553573459386826, -0.02714172936975956, -0.011368636041879654, 0.07175830006599426, 0.03344140201807022, -0.06713002175092697, -0.0006683350075036287, -0.030482713133096695, 0.05532626807689667, -0.029261672869324684, -0.0534430667757988, -0.008428086526691914, 0.006835522595793009, -0.027989733964204788, -0.059959787875413895, -0.01584363728761673, -0.014289334416389465, -0.07794710993766785, -0.027971025556325912, 0.0009474839898757637, -0.0432032085955143, 0.022442981600761414, -0.059317152947187424, -0.03797397390007973, -0.05651230365037918, -0.07896210998296738, -0.025767970830202103, 0.05668654665350914, 0.01437156181782484, -0.015800099819898605, 0.01999875344336033, -0.02600064128637314, -0.11107293516397476, -0.03336866572499275, -0.006080429069697857, 0.008711999282240868, 0.006593948695808649, -0.016105184331536293, 0.047280456870794296, -0.05063099414110184, -0.051911693066358566, 0.014720078557729721, -0.0005811199662275612, 0.019743502140045166, 0.003113382961601019, -0.0003695392806548625, 0.004760987125337124, -0.054943833500146866, 0.011391321197152138, 0.07529380917549133, -0.03499501198530197, -0.012774529866874218, -0.011729517951607704, 0.02354183979332447, 0.02914104051887989, 0.018865883350372314, -0.007131075020879507, 0.021765949204564095, 0.043501079082489014, 0.03598538786172867, -0.025479456409811974, 0.006980135105550289, -0.02812911570072174, -0.0383685827255249, 0.001735247322358191, -0.07388913631439209, 0.022870536893606186, 0.008860778994858265, 0.009828814305365086, -0.00969233550131321, -0.05741793289780617, 0.027882209047675133, -0.03545947000384331, -0.010532460175454617, -0.0074296570383012295, 0.009939448907971382, 0.034196507185697556, 0.042887382209300995, -0.020364630967378616, -0.06952555477619171, 0.011327344924211502, 0.008770899847149849, -0.017138971015810966, -0.05071650817990303, -0.01450144499540329, -0.027978038415312767, -0.014691732823848724, 0.021821822971105576, 0.038208384066820145, -0.014891133643686771, 0.037713516503572464, 0.019014492630958557, -0.028925476595759392, 0.041598789393901825, -0.017139552161097527, -0.0446576252579689, -0.03738635405898094, 0.01794760301709175, 0.009801127947866917, 0.0015220103086903691, 0.010069330222904682, -0.0008002367103472352, 0.030207335948944092, 0.05466951057314873, 0.007936340756714344, 0.027030136436223984, -0.015765782445669174, 0.012718341313302517, 0.005075667519122362, 0.00953325629234314, -0.012681599706411362, 0.013796941377222538, -0.05249672755599022, -0.021276820451021194, -0.0048288023099303246, 0.05353008583188057, -0.019367896020412445, -0.05710460618138313, -0.028608104214072227, 0.05203380435705185, -0.05136648938059807, 0.020286547020077705, -0.008602592162787914, -0.003050066065043211, 0.058497291058301926, -0.020452531054615974, 0.04326075688004494, -0.00955248810350895, -0.015339941717684269, -0.0025572755839675665, 0.025420168414711952, -0.028769828379154205, 0.036236073821783066, 0.005146910902112722, 0.01423200685530901, 0.008891196921467781, 0.026860486716032028, 0.042189616709947586, -0.006059819366782904, -0.05032249540090561, -0.027068428695201874, 0.003741855500265956, 0.05301075428724289, 0.04506725072860718, 0.06071176379919052, -0.013948848471045494, -0.010583829134702682, -0.03165186941623688, -0.008374232798814774, -0.007526534143835306, -0.0005953275831416249, -0.024564433842897415, 0.00576998945325613, -0.023929238319396973, -0.05804310739040375, 0.03863297030329704, 0.002162977820262313, 0.009845477528870106, 0.04250628128647804, -0.0017255771672353148, 0.01934964209794998, -0.025446264073252678, 0.05964159592986107, 0.07602306455373764, -0.04361206665635109, -0.021389199420809746, 0.0014381363289430737, -0.02497136779129505, -0.0029679660219699144, 0.018554693087935448, -0.07078252732753754, -0.018586523830890656, -0.009905949234962463, 0.021956726908683777, -0.03571941331028938, -0.05365645885467529, -0.0242188461124897, 0.0014928171876817942, 0.0027884331066161394, 0.02265877276659012, 0.002716289833188057, -0.0015641170321032405, -0.023987870663404465, -0.0015868567861616611, 0.04412546381354332, -0.0021562008187174797, -0.013442651368677616, -0.0024227392859756947, -0.014152022078633308, 0.009210217744112015, -0.00644493056461215, -0.004726376850157976, 0.024079851806163788, -0.006316135637462139, -0.0006763467099517584, -0.05566704645752907, 0.002869006711989641, 0.012350172735750675, 0.055666472762823105, 0.0007190107135102153, -0.0031148798298090696, -0.041948605328798294, 0.005504320841282606, -0.03592439368367195, -0.008746152743697166, -0.00522506283596158, 0.00028665194986388087, 0.03603876382112503, 0.014038712717592716, 0.0001703232992440462, 0.020545123144984245, -0.012331847101449966, -0.041100192815065384, 0.048808399587869644, -0.03395124524831772, -0.04809468239545822, -0.0384916327893734, -0.05408615246415138, 0.00028166361153125763, 0.010165320709347725, 0.012112770229578018, -0.03360782563686371, 0.06268861144781113, 0.02951638028025627, 0.022288450971245766, 0.012040490284562111, -0.0060645584017038345, 0.03422160819172859, -0.03174759820103645, -0.010431872680783272, -0.09029673784971237, -0.009850642643868923, 0.037066299468278885, -0.008300702087581158, 0.0028892671689391136, 0.0008882413385435939, -0.027991240844130516, 0.007289749104529619, -0.06772235035896301, -0.031123660504817963, 0.04294048994779587, -0.017542002722620964, 0.005948295351117849, 0.013789069838821888, -0.04055057466030121, 0.008527642115950584, 0.03811367228627205, -0.045106977224349976, -0.017861951142549515, -0.05092519149184227, 0.04622925445437431, -0.02454422600567341, 0.062022652477025986, 0.002978608012199402, -0.013103238306939602, 0.07618455588817596, 0.024581430479884148, 0.026525383815169334, 0.03579077124595642, -0.022647183388471603, 0.020016811788082123, 0.04135889559984207, -0.0019174335757270455, 0.009018542245030403, 0.04078562185168266, -0.007166039664298296, -0.04883088544011116, 0.017895491793751717, 0.010510837659239769, -0.014509006403386593, -0.0486140176653862, 0.07026860862970352, 0.014515162445604801, -0.04371490329504013, -0.06581911444664001, 0.04508381336927414, -0.024512384086847305, -0.0101854233071208, -0.036171190440654755, 0.009730426594614983, -0.027552977204322815, 0.04453577846288681, -0.027254965156316757, 0.000676155905239284, 0.05709438771009445, 0.011739605106413364, -0.013402661308646202, -0.006768531631678343, 0.09580392390489578, 0.1044393926858902, 0.04766508564352989, -0.007821494713425636, 0.0800168439745903, -0.02177644893527031, -0.03915427252650261, -0.012781340628862381, -0.0286792553961277, -0.007070460822433233, 0.019281350076198578, -0.004846560303121805, 0.075931616127491, -0.03435336425900459, 0.0883149653673172, -0.03221244364976883, -0.02632300555706024, 0.002883445005863905, 0.017268046736717224, 0.02565978839993477, 0.0803375393152237, 0.008029836229979992, 0.05226142704486847, -0.05168181657791138, -0.021449968218803406, 0.004607771057635546, -0.019764818251132965, 0.002271434757858515, 0.0372975617647171, -0.01163219753652811, 0.02576981857419014, -0.005423143971711397, 0.031502969563007355, 0.09249653667211533, -0.04483306035399437, -0.014110696502029896, -0.035589780658483505, 0.0012334899511188269, -0.02267935685813427, 0.004860310349613428, -0.010934794321656227, -0.020052924752235413, -0.024164151400327682, -0.05005389079451561, -0.01718740351498127, -0.019253326579928398, -0.05410519987344742, -0.004347817972302437, -0.02732795849442482, 0.007118990644812584, 0.0006947870133444667, 0.015051844529807568, -0.03979312628507614, -0.0333017073571682, -0.029740529134869576, -0.06441060453653336, -0.07599665224552155, -0.006807193625718355, 0.01951274648308754, 0.016487786546349525, -0.01852213405072689, 0.005773055367171764, -0.02413015253841877, -0.02033287100493908, 0.06244739145040512, -0.04150060936808586, 0.01928672567009926, -0.015813322737812996, 0.031622424721717834, 0.0024657812900841236, -0.0003264322876930237, 0.050133585929870605, 0.013790784403681755, -0.00867785420268774, -0.006057912018150091, -0.004315870814025402, 0.051091574132442474, 0.023773539811372757, -0.010151184163987637, -0.08340678364038467, 0.007442636881023645, -0.004877871833741665, -0.021884735673666, -0.06854221969842911, 0.022552667185664177, 0.052707474678754807, 0.016481230035424232, 0.01938571035861969, -0.009378643706440926, -0.014952403493225574, -0.020618552342057228, 0.022766703739762306, 0.009038884192705154, -0.02503698132932186, 0.024723488837480545, -0.01778964139521122, 0.07439204305410385, 0.014787331223487854, -0.020521031692624092, -0.017309637740254402, -0.02180371806025505, 0.022131914272904396, -0.0074480618350207806, -0.05050685256719589, -0.03618863224983215, -0.03699538856744766, -0.10136588662862778, -0.025935517624020576, 0.01333982590585947, -0.011755232699215412, -0.020871276035904884, 0.0036085140891373158, 0.008700740523636341, -0.03760553523898125, 0.0002649376110639423, -0.04744376614689827, 0.05119917541742325, -0.01686970889568329, -0.022397063672542572, 0.0010986631968989968, -0.005897141061723232, -0.02247513458132744, 0.022329602390527725, 0.0014803283847868443, -0.060029104351997375, 0.0072121890261769295, -0.0223720520734787, 0.01411181129515171, 0.031108565628528595, 0.027920089662075043, -0.0148569131270051 ]
[ -0.06008146330714226, 0.00297372043132782, -0.05907284840941429, -0.0002089366316795349, 0.032596003264188766, -0.0080039631575346, -0.0012656243052333593, 0.04815436154603958, 0.011609116569161415, -0.0012759725796058774, 0.020339390262961388, -0.06973358988761902, 0.012716667726635933, -0.007273382507264614, 0.08249597251415253, 0.013733441941440105, -0.018421778455376625, -0.019360771402716637, -0.02364734187722206, 0.047401439398527145, -0.06511080265045166, -0.05904179811477661, -0.024703413248062134, -0.046882834285497665, 0.033769913017749786, 0.05424501746892929, 0.025531325489282608, -0.04326247796416283, -0.01818489283323288, -0.2171299010515213, 0.006303115282207727, 0.024922365322709084, 0.07554902881383896, -0.009406911209225655, 0.004703547339886427, -0.0003863323072437197, 0.047689538449048996, -0.013117140159010887, 0.01649305410683155, 0.014977634884417057, 0.020473573356866837, 0.02746281586587429, -0.04167694225907326, 0.021028148010373116, 0.04889790713787079, 0.04634586349129677, -0.03111785650253296, -0.005708413198590279, -0.0264922883361578, -0.011196794919669628, -0.010140451602637768, -0.030594518408179283, -0.006167273502796888, 0.0047594718635082245, 0.021832620725035667, 0.05373118445277214, 0.046923767775297165, 0.05929834395647049, 0.027908949181437492, 0.045924097299575806, -0.005938536953181028, -0.019219577312469482, -0.12489558011293411, 0.07034821063280106, 0.04714806750416756, -0.00992728490382433, -0.03904780000448227, -0.026823733001947403, -0.04186997562646866, 0.06468752771615982, 0.040240827947854996, 0.006969079375267029, -0.022866787388920784, 0.03730133920907974, 0.0022573117166757584, 0.03336701542139053, -0.032562971115112305, 0.016054831445217133, 0.03053337149322033, -0.055568624287843704, -0.01654515601694584, 0.05240544304251671, -0.0411636121571064, -0.03080936335027218, -0.007148158736526966, 0.051626332104206085, -0.027322519570589066, 0.028067516162991524, -0.03801630809903145, 0.039622195065021515, 0.025126397609710693, 0.0327768474817276, 0.047264281660318375, 0.025814354419708252, -0.0834241732954979, -0.03992354869842529, 0.012323987670242786, 0.01086479052901268, 0.02053997665643692, 0.3871879279613495, -0.010969333350658417, -0.01780702732503414, 0.05845140293240547, 0.06052820011973381, -0.020922163501381874, -0.03085692785680294, -0.02605542726814747, -0.057468757033348083, 0.06097090616822243, 0.0020663957111537457, 0.019060296937823296, -0.05258184298872948, 0.04859978333115578, -0.08074383437633514, 0.0024890496861189604, -0.008902516216039658, 0.07225220650434494, 0.05830949544906616, -0.020388763397932053, -0.005567427258938551, 0.0022840930614620447, -0.01295110397040844, 0.025061331689357758, 0.0014918368542566895, 0.045752473175525665, 0.02123674936592579, -0.016845086589455605, 0.054662808775901794, 0.05186344310641289, 0.03702378645539284, 0.03562890365719795, 0.024791941046714783, -0.07401569187641144, 0.01942146010696888, -0.0170371662825346, 0.018447278067469597, 0.03740336373448372, -0.03241472318768501, -0.02485726773738861, 0.03363833948969841, -0.0072197564877569675, -0.023440342396497726, 0.0457625612616539, 0.0171645600348711, -0.05070284381508827, 0.1264553666114807, -0.01434676256030798, -0.061112772673368454, -0.026715030893683434, -0.03119659796357155, 0.018157901242375374, 0.07810404151678085, -0.01361171342432499, -0.036364633589982986, -0.0017067109001800418, 0.03183353319764137, 0.04998407140374184, -0.01737123355269432, -0.07178395241498947, 0.003259602701291442, -0.03782479092478752, -0.026131609454751015, -0.03843535855412483, 0.12394502758979797, 0.08230988681316376, -0.0970466360449791, -0.008072917349636555, 0.03640791401267052, 0.027639824897050858, -0.10675763338804245, 0.04385554790496826, 0.029998309910297394, -0.054889239370822906, -0.002989422297105193, 0.06968490779399872, -0.037477295845746994, -0.04262671247124672, 0.015184705145657063, 0.050143253058195114, 0.006439057644456625, 0.03247003257274628, -0.007590932305902243, -0.056403204798698425, 0.014498373493552208, -0.0672336146235466, -0.032822735607624054, -0.07894962280988693, 0.011130710132420063, -0.03650416433811188, -0.0610613189637661, -0.009104626253247261, -0.019539276137948036, -0.08806168287992477, 0.09502071887254715, -0.04632227495312691, -0.04145294055342674, -0.009867307730019093, 0.0015854396624490619, -0.030955467373132706, -0.0036557128187268972, 0.00519113102927804, 0.020925644785165787, -0.012964755296707153, 0.029644940048456192, -0.07879849523305893, 0.026753181591629982, 0.07667391747236252, -0.036662764847278595, 0.07096114754676819, 0.03280137479305267, -0.03706597164273262, -0.022025922313332558, -0.028955329209566116, 0.02041677013039589, -0.0014609737554565072, -0.008432658389210701, 0.010006074793636799, -0.024825623258948326, 0.015484340488910675, 0.05911235138773918, -0.02936437539756298, -0.0011628264328464866, -0.0661521926522255, -0.35872021317481995, -0.05175492912530899, -0.02046266756951809, 0.003094760235399008, 0.02936837263405323, -0.028867250308394432, 0.037236928939819336, -0.03325031325221062, 0.017972305417060852, 0.013610383495688438, 0.07900691777467728, 0.05926043912768364, -0.010065369307994843, -0.08517958223819733, 0.00764754693955183, 0.05073408782482147, -0.0067447093315422535, -0.0066057005897164345, -0.0441121831536293, 0.006307399831712246, -0.01737380214035511, -0.02948697842657566, -0.026128891855478287, -0.019869141280651093, 0.006204123143106699, -0.030625147745013237, 0.10555898398160934, 0.006166969891637564, 0.009227322414517403, -0.02839556522667408, 0.01933389902114868, 0.013288273476064205, -0.02780730277299881, -0.053340017795562744, 0.005197045858949423, -0.044862546026706696, 0.018356598913669586, 0.0019443777855485678, -0.02247835136950016, -0.012796553783118725, -0.03790680691599846, -0.021604862064123154, -0.04368441179394722, -0.044081997126340866, -0.04661813750863075, 0.0230912696570158, -0.027042530477046967, 0.0037065851502120495, 0.00907639879733324, 0.05297250673174858, 0.04675890877842903, 0.0020458537619560957, 0.03668113052845001, 0.025121532380580902, -0.008185148239135742, -0.030386408790946007, -0.08775646984577179, -0.015712037682533264, 0.03026888146996498, 0.012249928899109364, 0.003547362284734845, 0.03266412764787674, 0.012036880478262901, -0.09186431020498276, 0.02786780335009098, -0.0026775996666401625, -0.011445309035480022, -0.01126109529286623, 0.04306195303797722, -0.047416623681783676, -0.015450752340257168, 0.07942984253168106, -0.005399024114012718, 0.0018095197156071663, 0.0302642360329628, 0.006991288159042597, -0.011588594876229763, -0.00022069686383474618, 0.04076029732823372, 0.01845678873360157, 0.024861495941877365, -0.05141894146800041, 0.050732195377349854, -0.023896655067801476, 0.00975446030497551, 0.04939943924546242, 0.024912502616643906, -0.024857956916093826, 0.031209437176585197, 0.028458457440137863, -0.012705402448773384, 0.0018768863519653678, -0.00029595597879961133, -0.033722568303346634, 0.03148847818374634, -0.009124234318733215, -0.25319215655326843, 0.04115474596619606, 0.0029339436441659927, 0.03800417110323906, 0.013636072166264057, -0.00098327174782753, 0.03035523183643818, -0.04750238358974457, 0.0022803298197686672, -0.008349107578396797, 0.06537751108407974, 0.05505076050758362, 0.005263625644147396, -0.00515320897102356, 0.007697236258536577, 0.006394287571310997, 0.014855563640594482, 0.007303965277969837, 0.011052087880671024, 0.006263962481170893, 0.04175548255443573, -0.02687585912644863, 0.18591797351837158, 0.001017916016280651, 0.006519506219774485, 0.03200530260801315, -0.03850414231419563, 0.002210883190855384, 0.04486320912837982, -0.020283373072743416, -0.0309221800416708, 0.03757487237453461, 0.02523195557296276, 0.010072716511785984, 0.01801375113427639, -0.039135079830884933, -0.04165638983249664, 0.03640468418598175, 0.007017248775810003, -0.036371421068906784, 0.01646670140326023, -0.0061182305216789246, -0.033357903361320496, 0.0136232515797019, 0.09310953319072723, -0.020611725747585297, -0.004760316573083401, -0.008319229818880558, -0.04832988604903221, -0.007157375104725361, -0.02926901914179325, -0.05481457710266113, -0.02683970332145691, -0.01986687257885933, -0.023104025050997734, 0.06585024297237396, -0.019452814012765884, -0.027177270501852036, 0.026607578620314598, 0.007024294231086969, -0.023462165147066116, -0.0335809700191021, 0.07638001441955566, -0.02286861650645733, 0.023742085322737694 ]
[ 0.03350865840911865, 0.03409934416413307, -0.04288807511329651, 0.014390015043318272, -0.022410137578845024, -0.0019415339920669794, -0.020057545974850655, -0.012412755750119686, -0.06188027933239937, -0.015219282358884811, 0.0017175381071865559, 0.01833764649927616, 0.04840780049562454, -0.011693513952195644, -0.011680505238473415, 0.016733426600694656, -0.016010688617825508, 0.045716892927885056, 0.039147745817899704, -0.006781064439564943, -0.0709465742111206, -0.039787210524082184, 0.025863347575068474, -0.022333191707730293, -0.004992789123207331, 0.037574317306280136, -0.013795267790555954, -0.0009246982517652214, 0.009605729021131992, -0.09342337399721146, 0.005358604248613119, -0.030076954513788223, 0.023411650210618973, 0.032213807106018066, -0.05264293774962425, -0.016975751146674156, 0.019690480083227158, 0.05114521086215973, 0.02065749652683735, 0.0397210456430912, 0.045120008289813995, 0.028067372739315033, -0.030546754598617554, -0.0022194806952029467, 0.023700831457972527, -0.023715585470199585, -0.028823912143707275, -0.027865102514624596, 0.021176813170313835, -0.027090899646282196, -0.030779562890529633, -0.009345898404717445, -0.010710847564041615, -0.006183688994497061, -0.02444547973573208, -0.015005717054009438, -0.024977412074804306, -0.02879367209970951, 0.010231849737465382, -0.024371525272727013, 0.050887372344732285, -0.035605303943157196, -0.04627316817641258, -0.03075536899268627, 0.006563576404005289, -0.02394264191389084, -0.003138364525511861, 0.003194789169356227, 0.005564413033425808, 0.009550505317747593, -0.0162336602807045, 0.03958152234554291, -0.061127930879592896, -0.02210579626262188, -0.01867538131773472, 0.027006734162569046, 0.023352378979325294, -0.018152279779314995, 0.003894119756296277, 0.024038583040237427, -0.020496360957622528, 0.027474431321024895, -0.034796103835105896, -0.024823736399412155, -0.011594760231673717, 0.010990126058459282, -0.0065817395225167274, -0.01443365029990673, 0.007614279165863991, 0.010035283863544464, -0.013288808986544609, 0.04496661201119423, -0.020639797672629356, -0.01257010642439127, -0.0974637046456337, 0.022051287814974785, 0.015977822244167328, -0.005493935663253069, 0.024400051683187485, 0.8304682374000549, -0.008555545471608639, 0.002584629226475954, 0.0007855796720832586, 0.04054754599928856, -0.017136897891759872, 0.02949424646794796, 0.023423099890351295, 0.0357682928442955, -0.024146120995283127, -0.016501396894454956, -0.021013809368014336, 0.017936378717422485, 0.0010812068358063698, 0.011944807134568691, 0.03671111911535263, 0.03955312445759773, 0.054230090230703354, 0.04400290176272392, 0.01009401772171259, 0.028856901451945305, -0.009429516270756721, 0.038779351860284805, 0.010514574125409126, -0.008486861363053322, 0.019701598212122917, -0.1263543963432312, -0.04788713902235031, -5.936783158292099e-33, 0.04742223024368286, 0.0034412348177284002, 0.06885919719934464, 0.018187617883086205, -0.0030244674999266863, 0.010785399936139584, -0.039652030915021896, -0.025609910488128662, 0.0005014482885599136, -0.05562036484479904, -0.014555268920958042, 0.014981655403971672, 0.03218669444322586, -0.009706089273095131, -0.025794554501771927, -0.013462409377098083, 0.003395915264263749, -0.008451618254184723, -0.007445223163813353, -0.03015909343957901, 0.030393660068511963, 0.025907237082719803, -0.022604892030358315, 0.0502619743347168, -0.039333198219537735, 0.02792092226445675, 0.03253805637359619, -0.00788767822086811, -0.0010916402097791433, -0.05256779491901398, -0.026748472824692726, 0.02873067371547222, -0.004152418579906225, -0.008129771798849106, -0.00035821637720800936, -0.04790371656417847, -0.015289639122784138, -0.010967444628477097, 0.013217402622103691, -0.08320695906877518, -0.06547246128320694, 0.0007943439413793385, -0.0028790610376745462, -0.04168020933866501, -0.04912650212645531, -0.028743157163262367, 0.0031355824321508408, 0.04338995739817619, -0.02175130322575569, 0.004825951531529427, 0.028215721249580383, 0.014925110153853893, -0.011848367750644684, 0.034952517598867416, -0.047817498445510864, 0.015656035393476486, 0.02375786565244198, 0.018449390307068825, -0.011070029810070992, 0.006573101505637169, 0.03582977131009102, -0.0003108629316557199, -0.018065424636006355, 0.025202276185154915, 0.030559144914150238, 0.024974403902888298, -0.021966541185975075, -0.0191648006439209, 0.010129060596227646, 0.020540975034236908, -0.020120859146118164, 0.05349036306142807, 0.000233960134210065, -0.00018309467122890055, 0.010025289840996265, -0.041263945400714874, -0.015973994508385658, -0.012081782333552837, -0.01659994199872017, 0.060136131942272186, -0.021172786131501198, -0.005582830403000116, -0.015257086604833603, -0.021342668682336807, 0.010753686539828777, -0.018862301483750343, 0.03351825848221779, -0.013100196607410908, 0.016765963286161423, 0.022617824375629425, 0.0561194121837616, 0.03406044468283653, -0.014116141013801098, 0.013019143603742123, -0.01782829314470291, 5.825464210611213e-33, -0.004113626200705767, 0.029808685183525085, -0.008832873776555061, -0.0051389578729867935, 0.05231546238064766, -0.025447536259889603, 0.010454719886183739, 0.0073511116206645966, -0.03847935423254967, 0.03547591343522072, -0.021986428648233414, -0.03242839127779007, 0.019841788336634636, 0.03184362128376961, 0.06472400575876236, 0.015147729776799679, -0.0017035596538335085, -0.02103911153972149, 0.0016390271484851837, 0.015586219727993011, -0.01841135323047638, 0.01808389462530613, 0.015083134174346924, 0.016059590503573418, 0.04586847871541977, 0.0035036958288401365, 0.023504814133048058, -0.011695162393152714, -0.023628637194633484, -0.016017062589526176, -0.0018453692318871617, -0.04234509542584419, -0.020754795521497726, -0.01255890540778637, 0.00909067690372467, 0.029486248269677162, -0.036999206990003586, -0.010683766566216946, 0.013719681650400162, 0.012816808186471462, -0.014797767624258995, 0.019562728703022003, -0.027132296934723854, 0.04241189733147621, 0.004962319508194923, 0.010155470110476017, 0.013918686658143997, 0.035753507167100906, -0.02290298603475094, 0.02835286408662796, -0.004250661935657263, 0.04747605323791504, 0.000814296305179596, 0.03066876530647278, 0.022793838754296303, -0.04334539547562599, 0.014039923436939716, 0.03385710343718529, -0.017419882118701935, 0.004349768627434969, -0.03154372796416283, -0.032305408269166946, -0.03346444293856621, 0.019804636016488075, -0.01608542911708355, -0.004006225615739822, -0.021960288286209106, 0.014251443557441235, -0.017454134300351143, 0.015593275427818298, -0.0008413458708673716, -0.04236310347914696, 0.014841248281300068, 0.009223833680152893, 0.03245014697313309, -0.022599902004003525, -0.04130558297038078, 0.02286762371659279, -0.05064697936177254, 0.027137335389852524, 0.025358321145176888, -0.010560361668467522, 0.005770218558609486, 0.0014251584652811289, 0.016677357256412506, -0.01618034951388836, -0.020586667582392693, 0.024179985746741295, -0.016590096056461334, 0.0007542456733062863, 0.03604372590780258, -0.03132715821266174, -0.004046229179948568, 0.04597993567585945, -0.01786232553422451, -1.208936328822574e-8, -0.050878193229436874, 0.005183578003197908, -0.001766635337844491, 0.013520495966076851, 0.011916824616491795, 0.0034938703756779432, 0.018789775669574738, -0.0014393060700967908, -0.03126012533903122, 0.019474530592560768, 0.031236646696925163, -0.0067339432425796986, 0.017616385594010353, -0.0053719403222203255, -0.0008359380881302059, -0.02322782762348652, -0.021162115037441254, -0.03604881465435028, 0.030725106596946716, -0.010743306949734688, -0.018548669293522835, 0.010622313246130943, -0.050350043922662735, 0.04093855991959572, -0.014651751145720482, -0.014645060524344444, 0.03031769022345543, -0.07447654753923416, -0.009767889976501465, -0.03283541277050972, -0.012699853628873825, -0.029163336381316185, -0.005647172220051289, 0.0027793473564088345, -0.03330004960298538, -0.013431519269943237, 0.008547421544790268, 0.027304228395223618, 0.021223094314336777, 0.02373570017516613, -0.005624562501907349, 0.014090359210968018, -0.04256843402981758, -0.030642518773674965, -0.024570828303694725, 0.018937982618808746, -0.055150266736745834, 0.01968654803931713, 0.035013120621442795, -0.041712917387485504, 0.020428845658898354, -0.024467207491397858, 0.025732919573783875, 0.02426883578300476, 0.03221162408590317, -0.012919834814965725, -0.014276653528213501, 0.020623983815312386, 0.02362961694598198, -0.03219575434923172, -0.0020721955224871635, 0.020421573892235756, -0.031016938388347626, -0.022451598197221756 ]
neo4j-extracting-a-subgraph-as-an-adjacency-matrix-and-calculating-eigenvector-centrality-with-jblas
https://markhneedham.com/blog/2013/08/11/neo4j-extracting-a-subgraph-as-an-adjacency-matrix-and-calculating-eigenvector-centrality-with-jblas
false
2013-08-17 21:13:27
BT Internet: Non existent hosts mapping to 92.242.132.15
[ "software-development" ]
[ "Software Development" ]
We have a test in our code which checks for unresolvable hosts and it started failing for me because instead of throwing an UnknownHostException from the following call: [source,java] ---- InetAddress.getByName( "host.that.is.invalid" ) ---- I was getting back a valid although unreachable host. When I called ping it was easier to see what was going on: [source,bash] ---- $ ping host.that.is.invalid PING host.that.is.invalid (92.242.132.15): 56 data bytes Request timeout for icmp_seq 0 Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 ---- As you can see, that hostname is resolving to '92.242.132.15' which I thought was a bit weird but dig confirmed that this was happening: [source,bash] ---- $ dig host.that.is.invalid ; <<>> DiG 9.8.3-P1 <<>> host.that.is.invalid ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30043 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;host.that.is.invalid. IN A ;; ANSWER SECTION: host.that.is.invalid. 300 IN A 92.242.132.15 ---- It turns out that http://community.bt.com/t5/BB-Speed-Connection-Issues/DNS-oddity/td-p/49653[BT have plugged into DNS searches] and if one fails it redirects you to one of their pages instead - something I hadn't noticed before. The site they direct you to is www.webaddresshelp.bt.com which contains a list of sponsored results for the search term 'host.that.is.invalid' in this case. [source,bash] ---- $ ping www.webaddresshelp.bt.com PING www.webaddresshelp.bt.com (92.242.134.15): 56 data bytes ---- Luckily this can be disabled by going to link:[BT Web Address Help] and then choosing to http://preferences.webaddresshelp.bt.com/selfcare/preferences.cgi[disable BT Web Address Help]. If we then wait a little bit for our DNS cache to clear the ping works as expected: [source,bash] ---- $ ping host.that.is.invalid ping: cannot resolve host.that.is.invalid: Unknown host ----
null
null
[ 0.008105400018393993, -0.02281152829527855, -0.023791998624801636, 0.017853878438472748, 0.07134140282869339, -0.0188516266644001, 0.03454606980085373, 0.035940930247306824, 0.017607200890779495, -0.026675095781683922, -0.03131560608744621, 0.00780896469950676, -0.06180321425199509, 0.040387094020843506, -0.01666538044810295, 0.08075009286403656, 0.08780091255903244, -0.021899811923503876, 0.004007105715572834, -0.02129235304892063, 0.016213014721870422, 0.03424602746963501, -0.002870798110961914, 0.012403596192598343, 0.029439887031912804, 0.018587153404951096, -0.017223158851265907, 0.023699751123785973, -0.07200160622596741, -0.028100812807679176, 0.05982563644647598, 0.02224210649728775, 0.01725037582218647, -0.009611635468900204, -0.010048567317426205, -0.02134191244840622, -0.007238872814923525, 0.015650033950805664, 0.0032801078632473946, 0.0009013809030875564, -0.06458815932273865, 0.026553530246019363, -0.029473235830664635, 0.024189123883843422, -0.02254168502986431, 0.017970222979784012, -0.0028890848625451326, 0.010709750466048717, -0.00500408373773098, 0.009343641810119152, -0.05338357388973236, 0.06524992734193802, -0.030812278389930725, 0.02290714532136917, 0.013471669517457485, 0.031564705073833466, 0.02749199979007244, -0.08603113889694214, 0.03490370512008667, -0.03900612145662308, -0.009184652008116245, -0.030448593199253082, 0.004969106055796146, 0.017195381224155426, -0.014775632880628109, 0.006244293879717588, 0.0052950442768633366, 0.034791771322488785, -0.03000345453619957, -0.014223095029592514, -0.015035068616271019, -0.01332611683756113, -0.037699341773986816, 0.0024304077960550785, 0.020688042044639587, -0.03419724106788635, -0.04135053604841232, 0.02916533872485161, 0.039434246718883514, 0.06830272078514099, -0.043083347380161285, -0.01792173832654953, 0.040452416986227036, 0.02235485054552555, 0.027500277385115623, -0.0372244231402874, -0.023702472448349, -0.023521240800619125, -0.055941369384527206, 0.05274483188986778, 0.06262686848640442, -0.02868674136698246, 0.015136395581066608, -0.002615023171529174, -0.006225375458598137, -0.02135072834789753, 0.006025971844792366, -0.020767640322446823, 0.010877944529056549, -0.006320776417851448, -0.024685902521014214, -0.0035395186860114336, 0.016052665188908577, 0.034432489424943924, -0.0659838616847992, 0.012323698028922081, -0.0136966397985816, -0.013866079039871693, -0.033460065722465515, 0.0030081337317824364, -0.03890535235404968, 0.047648489475250244, -0.016102617606520653, 0.004733555484563112, -0.07445056736469269, 0.062034379690885544, 0.014616173692047596, -0.04164507985115051, 0.02275698259472847, 0.05463699623942375, 0.028444936498999596, 0.0417989157140255, -0.0344984345138073, 0.06611672043800354, 0.0031219949014484882, 0.05149322748184204, -0.002073316602036357, 0.0397026464343071, -0.028268400579690933, -0.03377504274249077, -0.015126228332519531, 0.06081554293632507, 0.017984457314014435, 0.0010117318015545607, -0.021975355222821236, -0.022506633773446083, -0.0159597210586071, -0.012080111540853977, 0.008848137222230434, 0.032605648040771484, -0.011587535962462425, -0.023895271122455597, -0.03285825252532959, 0.018726471811532974, 0.01778423972427845, -0.0018017756519839168, -0.013685031794011593, -0.049257759004831314, 0.002698985394090414, 0.020002225413918495, 0.004994732793420553, 0.04006330296397209, 0.055766865611076355, -0.03492838144302368, -0.02439820021390915, 0.0582166388630867, 0.032717395573854446, -0.002265970455482602, -0.04719259962439537, 0.021500511094927788, 0.018353834748268127, 0.03664885088801384, -0.0032447113189846277, 0.04166162386536598, 0.022189941257238388, -0.006791218649595976, -0.013703794218599796, 0.06746217608451843, 0.01797672174870968, 0.015393778681755066, -0.07659053802490234, -0.08420375734567642, 0.06512808799743652, -0.025028543546795845, -0.0061323801055550575, 0.01968058943748474, 0.0800892785191536, 0.00518003897741437, -0.0023485105484724045, 0.015008265152573586, -0.06225970387458801, 0.019209276884794235, 0.0012586385710164905, 0.03965551778674126, 0.013502874411642551, 0.0012539067538455129, 0.0739729106426239, 0.002546094125136733, 0.006792899686843157, 0.04703361541032791, -0.08717180788516998, -0.07584459334611893, -0.041731711477041245, 0.02148457057774067, 0.0560239776968956, -0.03310759365558624, -0.0042036776430904865, 0.06199098005890846, 0.04413798078894615, 0.03847433626651764, 0.021023999899625778, 0.026610298082232475, 0.04468777775764465, -0.04595912620425224, -0.07472208142280579, 0.04120442643761635, 0.0494137778878212, -0.031978167593479156, -0.017772739753127098, 0.024457024410367012, -0.00572840915992856, 0.013046330772340298, 0.021370086818933487, -0.009038799442350864, 0.01892930082976818, 0.0020325803197920322, 0.03504852205514908, -0.029035210609436035, 0.019008593633770943, -0.0547751784324646, 0.041471127420663834, -0.0031826957128942013, 0.007406711578369141, 0.009714052081108093, 0.00024017614487092942, 0.12248414009809494, 0.038977380841970444, 0.0018941950984299183, -0.056736577302217484, 0.0401289276778698, 0.009419821202754974, -0.03675832226872444, 0.01469079963862896, -0.04140489548444748, -0.0031681458931416273, 0.02270386926829815, -0.03403155878186226, -0.04566896706819534, -0.008265201933681965, -0.039554111659526825, -0.015102346427738667, 0.0708170235157013, -0.02068091556429863, 0.06836595386266708, -0.017445102334022522, -0.04182785376906395, 0.00370785896666348, -0.052716728299856186, -0.05374441668391228, 0.013869925402104855, 0.027923084795475006, -0.007681819144636393, 0.023654833436012268, -0.03594893962144852, -0.03501375764608383, -0.022426703944802284, -0.047345392405986786, 0.04435863345861435, 0.04109136760234833, 0.06417595595121384, -0.027424853295087814, 0.0677042081952095, -0.008775613270699978, -0.010637362487614155, 0.005245356820523739, -0.057156987488269806, -0.017111029475927353, 0.009888802655041218, 0.01149138156324625, 0.00834828894585371, 0.019927239045500755, 0.003850342705845833, -0.0023586146999150515, 0.0019572938326746225, 0.008463811129331589, -0.02381923794746399, 0.03962858393788338, 0.009843182750046253, 0.021452777087688446, -0.00983721949160099, -0.0056737205013632774, 0.026394929736852646, -0.04022984206676483, -0.05876742675900459, 0.02371588535606861, -0.0826508104801178, 0.025830697268247604, -0.060038287192583084, -0.07609129697084427, 0.013908455148339272, 0.02885518968105316, 0.023270852863788605, 0.014889844693243504, 0.019105492159724236, 0.07016591727733612, -0.02260386385023594, 0.004810991697013378, 0.038133684545755386, 0.007912798784673214, 0.02402595430612564, -0.032342057675123215, 0.0013936219038441777, -0.012729324400424957, -0.0031334906816482544, -0.006155905779451132, -0.07950771600008011, 0.0011503068963065743, -0.03709999844431877, -0.2630561590194702, 0.0545097291469574, 0.014120351523160934, -0.0601266585290432, 0.019560525193810463, -0.014352869242429733, 0.015612689778208733, -0.023977845907211304, -0.016563227400183678, 0.03439478203654289, 0.007469417527318001, -0.04707060381770134, 0.020077144727110863, 0.009169481694698334, -0.025514885783195496, 0.002678954042494297, 0.010792151093482971, -0.05056927353143692, -0.011033928953111172, -0.0018750643357634544, 0.004572114907205105, -0.0497686006128788, 0.026442723348736763, 0.031103944405913353, -0.00046689159353263676, 0.06681281328201294, -0.02496705763041973, 0.050954945385456085, -0.02463943138718605, 0.002085819374769926, 0.04881612956523895, -0.023005908355116844, 0.007021426688879728, 0.0003292993060313165, -0.023868124932050705, 0.00757957436144352, 0.019087694585323334, -0.014258616603910923, -0.020985590294003487, 0.02836860530078411, -0.05494570732116699, -0.03317348659038544, -0.001962189329788089, -0.014662620611488819, 0.06356769055128098, -0.008069946430623531, -0.06360092759132385, -0.013850264251232147, -0.003362467046827078, 0.06941258162260056, -0.04582234099507332, -0.00216316943988204, -0.0027879865374416113, 0.039485618472099304, -0.03546523302793503, -0.020118821412324905, -0.028034307062625885, -0.02520965412259102, -0.05659075081348419, -0.04212770611047745, -0.008098102174699306, -0.014589247293770313, -0.022366730496287346, -0.06012074649333954, 0.015443535521626472, -0.0553760752081871, -0.0428735613822937, -0.01080070436000824, 0.06005275622010231, 0.007497522979974747, -0.0069062537513673306, -0.002888099057599902, 0.008950786665081978, -0.11043011397123337, -0.011520546860992908, -0.028892967849969864, -0.033745914697647095, -0.016906503587961197, -0.03438212350010872, 0.013762934133410454, -0.05133213847875595, -0.004061529878526926, -0.003935429733246565, 0.013890651054680347, 0.02801504358649254, -0.04122356325387955, 0.00240835128352046, -0.0031372876837849617, -0.014414196833968163, -0.005869738757610321, 0.07317410409450531, -0.03558294475078583, -0.037962134927511215, -0.036844730377197266, 0.013064038008451462, 0.019683949649333954, 0.02381906472146511, 0.017332695424556732, 0.017497597262263298, 0.08112107217311859, 0.02565981075167656, -0.06522653996944427, 0.025523075833916664, -0.03622867166996002, -0.01438811607658863, -0.007874015718698502, -0.03752511367201805, 0.032174453139305115, 0.020024217665195465, 0.0013550121802836657, 0.003619941184297204, -0.04504849761724472, 0.008043264970183372, -0.05516745522618294, -0.02844155952334404, -0.01164934877306223, 0.013090805150568485, 0.032075732946395874, 0.025864217430353165, -0.03483656421303749, -0.04000168293714523, 0.0128376679494977, 0.05773131549358368, 0.011755903251469135, -0.055686987936496735, -0.026825211942195892, -0.010054527781903744, -0.00973963737487793, 0.040511853992938995, -0.007294123061001301, -0.006107938941568136, 0.0575280599296093, 0.04365572705864906, 0.02274516224861145, 0.011355194263160229, -0.028467530384659767, -0.002884860849007964, -0.017809633165597916, -0.017469497397542, -0.016908369958400726, -0.03789445385336876, 0.02254858799278736, -0.016949903219938278, 0.04558791592717171, 0.06890305876731873, 0.016253026202321053, 0.009276829659938812, -0.017740529030561447, 0.013060243800282478, -0.0021787805017083883, -0.02019367925822735, -0.08756393194198608, 0.027583792805671692, -0.05232551321387291, -0.03363002464175224, -0.012745221145451069, 0.05094503238797188, 0.001871713437139988, -0.038237497210502625, -0.026077644899487495, 0.01329517550766468, -0.05456161126494408, -0.004556877538561821, 0.021037006750702858, -0.018100233748555183, 0.04971852898597717, -0.010659907013177872, 0.010680252686142921, -0.012668796814978123, -0.03450601547956467, 0.010764481499791145, 0.031123558059334755, -0.011574114672839642, 0.035110339522361755, -0.010133722797036171, -0.004119636490941048, -0.013859831728041172, 0.03835830092430115, 0.04405497387051582, 0.019608819857239723, -0.011281040497124195, 0.0061688050627708435, 0.023698486387729645, 0.039013560861349106, 0.04894811287522316, -0.02148771844804287, 0.0024100823793560266, -0.012016074731945992, -0.003925890661776066, -0.039357252418994904, -0.018239403143525124, 0.013753756880760193, -0.0009981610346585512, 0.04582818225026131, -0.01793082430958748, -0.07799754291772842, 0.04064849391579628, -0.015850936993956566, 0.00658015999943018, 0.003011074149981141, 0.0159966591745615, 0.01134363655000925, -0.042347125709056854, 0.05424060672521591, 0.03582340106368065, -0.04309079423546791, 0.006771764252334833, -0.011133014224469662, 0.027960699051618576, 0.03138793259859085, -0.012796363793313503, -0.04352187365293503, -0.002332048723474145, 0.004316528793424368, 0.04201827198266983, -0.04628463089466095, -0.061877693980932236, -0.015548089519143105, 0.040614690631628036, -0.009565054439008236, 0.02094694785773754, 0.011685924604535103, -0.005051115527749062, -0.03186303377151489, -0.023073328658938408, -0.0037474478594958782, -0.0035540154203772545, -0.018841059878468513, 0.02384728379547596, -0.027209371328353882, 0.01884593814611435, -0.021429529413580894, 0.038520850241184235, 0.008637944236397743, -0.018968116492033005, -0.06859277188777924, -0.05359400063753128, -0.009565576910972595, 0.000025839459340204485, 0.049154218286275864, -0.00822405330836773, -0.02319658361375332, -0.025930646806955338, 0.006975934375077486, -0.003080470021814108, 0.053009454160928726, 0.004970775451511145, -0.028206441551446915, 0.032076649367809296, 0.06720808893442154, 0.005520728416740894, 0.03537999466061592, -0.0446605421602726, -0.00959877111017704, 0.04983768239617348, -0.057927995920181274, -0.03373660892248154, -0.02647361345589161, -0.05154905840754509, 0.037614043802022934, 0.014695452526211739, 0.009853622876107693, -0.05949189513921738, 0.01966957561671734, 0.031312644481658936, 0.016062691807746887, 0.03403596952557564, -0.010288586840033531, 0.031101662665605545, -0.02929421328008175, -0.04128394275903702, -0.10256583243608475, 0.00960677582770586, 0.013154074549674988, -0.01099118497222662, 0.004302692599594593, 0.0028060353361070156, -0.012164128944277763, 0.008631418459117413, -0.05904747545719147, -0.04966443404555321, 0.03666563332080841, -0.012573178857564926, 0.006551546044647694, 0.01785523071885109, -0.04236675798892975, 0.03201838582754135, 0.03336189314723015, -0.04734886810183525, -0.028801869601011276, -0.025866951793432236, 0.04062434658408165, 0.021140206605196, 0.03372243791818619, -0.037790149450302124, -0.02606487274169922, 0.05181187763810158, 0.040461596101522446, 0.03689441457390785, 0.03945077210664749, -0.028042631223797798, 0.04190099984407425, 0.03149694576859474, -0.018232805654406548, -0.007414965890347958, 0.0041243224404752254, -0.003099875058978796, -0.05216474086046219, 0.00893047172576189, -0.010727683082222939, -0.013966607861220837, -0.05557561293244362, 0.05670860409736633, 0.014813333749771118, -0.019339073449373245, -0.020752960816025734, -0.013310985639691353, -0.032619427889585495, -0.026351993903517723, -0.019087623804807663, -0.006997586227953434, -0.03674802929162979, 0.07191462069749832, 0.03858770802617073, 0.03559377044439316, 0.054255902767181396, 0.002121605444699526, -0.016957199200987816, 0.005489086266607046, 0.08771166950464249, 0.09431138634681702, -0.03348775580525398, 0.02757304720580578, 0.04307686164975166, -0.019215501844882965, -0.04817558825016022, -0.01413526851683855, -0.02802889049053192, -0.048466142266988754, -0.02376239188015461, -0.006950579583644867, 0.06206591799855232, 0.005120016168802977, 0.06562988460063934, -0.03182615712285042, 0.038479965180158615, 0.04022538289427757, 0.0218232199549675, 0.04954610392451286, 0.020798081532120705, 0.01322191022336483, 0.05891621485352516, 0.025236506015062332, -0.046005506068468094, 0.017154410481452942, -0.0034887820947915316, -0.04821665212512016, 0.010911730118095875, -0.011205165646970272, 0.012494332157075405, 0.01714055798947811, -0.00324053131043911, 0.059676140546798706, 0.03320476785302162, -0.029353462159633636, 0.016463635489344597, 0.05093652009963989, -0.006657048594206572, 0.019370658323168755, -0.00316511164419353, -0.005625655874609947, -0.040468666702508926, -0.010359435342252254, -0.007454042322933674, -0.047463126480579376, -0.04658757150173187, 0.04405515640974045, -0.029600879177451134, 0.007225411478430033, 0.010358207859098911, 0.002600708045065403, -0.048801835626363754, -0.05141926929354668, -0.06904241442680359, -0.020449882373213768, -0.062205635011196136, -0.040899116545915604, 0.023515019565820694, -0.019523365423083305, -0.01597103662788868, -0.002880242420360446, -0.03162645548582077, -0.048450905829668045, 0.02555113658308983, -0.0626855194568634, -0.031067095696926117, 0.052265770733356476, 0.004302188288420439, 0.04389038309454918, 0.0494617260992527, 0.05439881607890129, -0.005266998428851366, 0.01900484599173069, -0.020286817103624344, -0.0371362529695034, 0.06599296629428864, 0.000059369802329456434, 0.01501160766929388, -0.0812799260020256, 0.005023166071623564, 0.03986724466085434, 0.0463847815990448, -0.03684452176094055, 0.0251974668353796, 0.01973395049571991, -0.003396508516743779, 0.027811091393232346, -0.038317639380693436, 0.007888785563409328, -0.01525147631764412, -0.028056442737579346, -0.017493028193712234, -0.022495653480291367, 0.039308611303567886, -0.014859048649668694, 0.0837797224521637, 0.04441157355904579, -0.010881539434194565, -0.024535484611988068, -0.00017210622900165617, 0.0030042023863643408, 0.0173147264868021, -0.044685013592243195, -0.04720320925116539, -0.06127585843205452, -0.09612789750099182, -0.01926506496965885, 0.03631472960114479, -0.014174133539199829, -0.007643183693289757, 0.03859848901629448, -0.004223762080073357, -0.06735802441835403, -0.004094571806490421, -0.03730028122663498, 0.005931430030614138, 0.00259082461707294, -0.016107717528939247, -0.013145395554602146, 0.024944208562374115, -0.006443646736443043, -0.017400724813342094, 0.04952345788478851, -0.01187348272651434, 0.03302076458930969, -0.016227394342422485, 0.025114569813013077, 0.061236802488565445, 0.004936357960104942, 0.005981856025755405 ]
[ -0.08265233784914017, -0.05698927119374275, -0.025979945436120033, -0.021338747814297676, 0.03308478370308876, -0.07010520249605179, 0.009947973303496838, 0.03082910180091858, -0.004398750606924295, -0.014273038133978844, 0.026873935014009476, -0.029217537492513657, 0.026555843651294708, -0.01969611644744873, 0.061523254960775375, 0.0207322146743536, -0.02880195900797844, -0.07938392460346222, 0.018608421087265015, 0.055749572813510895, 0.0009432552033104002, -0.016744928434491158, -0.02352910116314888, -0.026329491287469864, -0.021289870142936707, 0.04775194451212883, 0.04313581436872482, -0.03973447531461716, -0.020024575293064117, -0.1967199146747589, 0.01828552782535553, -0.024313753470778465, 0.006810988299548626, -0.028202025219798088, 0.03504795953631401, 0.016537630930542946, 0.013679614290595055, -0.031222734600305557, 0.014152569696307182, 0.046285439282655716, 0.04676080122590065, 0.025829972699284554, -0.03813454881310463, -0.030744964256882668, 0.01653078757226467, -0.019426606595516205, 0.01704833284020424, -0.01032885443419218, 0.025319447740912437, -0.008501341566443443, -0.06931228935718536, 0.005799772683531046, 0.004764413461089134, -0.028429340571165085, 0.010551560670137405, 0.011592029593884945, 0.05774543434381485, 0.05701001361012459, 0.0069277179427444935, 0.019700072705745697, 0.03394319862127304, -0.022571995854377747, -0.1361803263425827, 0.08785311132669449, 0.037096600979566574, 0.043669041246175766, -0.025740431621670723, -0.005769678857177496, -0.0398089773952961, 0.053352247923612595, 0.009639653377234936, -0.020767908543348312, -0.04980086162686348, 0.07578543573617935, 0.019041670486330986, 0.00977290142327547, 0.00792365800589323, 0.02339836210012436, 0.052562370896339417, -0.013767743483185768, -0.04820161312818527, -0.05875716730952263, -0.024846171960234642, -0.038201089948415756, -0.028443951159715652, 0.006877051200717688, -0.018030328676104546, 0.06577754765748978, 0.019824249669909477, 0.01501732598990202, 0.014393845573067665, -0.01869206130504608, 0.042954232543706894, 0.010013390332460403, -0.09929723292589188, 0.019942931830883026, -0.030417101457715034, -0.0042686183005571365, -0.04433899745345116, 0.4251540005207062, -0.013046828098595142, -0.013258771039545536, 0.0051102181896567345, 0.03647990897297859, 0.03856774792075157, -0.016614343971014023, 0.01863987185060978, -0.031289372593164444, 0.00617518974468112, -0.029855547472834587, -0.006612373050302267, -0.03860713914036751, 0.08012305945158005, -0.019255317747592926, -0.006483281962573528, 0.03614094480872154, 0.0424053855240345, -0.0032432153820991516, -0.03142334520816803, 0.020016398280858994, -0.03089899569749832, -0.034898389130830765, 0.03956986218690872, 0.015304125845432281, 0.02514019049704075, -0.039936382323503494, 0.02335621416568756, 0.089726522564888, -0.006622008979320526, 0.024097831919789314, 0.03525077924132347, -0.08160185068845749, -0.02399660460650921, 0.003660349640995264, 0.009736673906445503, 0.04006578028202057, 0.03906480595469475, -0.02417454682290554, -0.012893537059426308, 0.018421711400151253, -0.02426711656153202, -0.07371938228607178, -0.020778436213731766, -0.008337498642504215, -0.04558001086115837, 0.07818907499313354, -0.000094904302386567, 0.009392163716256618, -0.022921696305274963, -0.0703548938035965, -0.018636392429471016, 0.024929318577051163, 0.013797443360090256, -0.07865054905414581, -0.018212050199508667, 0.014910251833498478, 0.05924786627292633, -0.0012054716935381293, -0.027201831340789795, -0.02960205078125, 0.01315761636942625, -0.03078792244195938, -0.03852798044681549, 0.06741174310445786, 0.045814335346221924, -0.08028978109359741, -0.03366471454501152, 0.01707739196717739, -0.005311498884111643, -0.051005274057388306, -0.005574152804911137, -0.018229523673653603, -0.0426294207572937, -0.027362216264009476, 0.0009726817370392382, -0.04335745796561241, -0.009113723412156105, 0.03564803674817085, 0.023538611829280853, 0.008786275051534176, 0.008717148564755917, 0.007769821677356958, -0.03552564978599548, 0.022313179448246956, -0.015909936279058456, -0.08074793219566345, -0.08627624064683914, 0.012073305435478687, -0.0054541658610105515, -0.04318002238869667, -0.0769997239112854, -0.08917661011219025, -0.07828827202320099, 0.06660240143537521, 0.015402999706566334, -0.04245983436703682, 0.028652243316173553, 0.03265818953514099, 0.05254300683736801, -0.07673418521881104, 0.07134947925806046, 0.041927874088287354, -0.0124512929469347, 0.026089178398251534, -0.09674179553985596, 0.03338100388646126, 0.0530499666929245, -0.030027290806174278, 0.04561825469136238, 0.024929305538535118, -0.037974584847688675, 0.014444644562900066, -0.03080115281045437, 0.02029002457857132, 0.01727333851158619, -0.04018539562821388, 0.01114743947982788, 0.029981091618537903, 0.02723945863544941, 0.04646190255880356, -0.02003525197505951, -0.011423309333622456, -0.015089496038854122, -0.32729947566986084, -0.05467681586742401, -0.024738788604736328, -0.0027561469469219446, 0.009883953258395195, -0.045375388115644455, 0.020178213715553284, -0.004433267284184694, -0.006237953435629606, 0.02703852206468582, 0.07330150157213211, -0.02501728944480419, 0.014979255385696888, -0.06979373097419739, -0.017477186396718025, 0.006662160158157349, -0.018716920167207718, -0.012022707611322403, -0.014978163875639439, 0.0033572085667401552, -0.014264966361224651, -0.015094664879143238, -0.0014094454236328602, -0.030981766059994698, -0.011040797457098961, -0.013044810853898525, 0.10283561050891876, 0.046020638197660446, 0.07858177274465561, -0.08490040898323059, 0.05069468170404434, 0.03364134952425957, 0.05287198722362518, -0.10369724780321121, -0.0009706735145300627, 0.01011606678366661, -0.005105488933622837, 0.0032982551492750645, 0.031132491305470467, -0.0039211539551615715, -0.08055861294269562, 0.030444512143731117, -0.05645942687988281, -0.028232352808117867, -0.0003272859612479806, 0.003930024337023497, 0.0035579572431743145, -0.007582582533359528, -0.03703407198190689, 0.07831141352653503, 0.016606053337454796, -0.024362538009881973, 0.000404181657359004, 0.035548772662878036, 0.04910801723599434, -0.006175304763019085, -0.03369659557938576, -0.027029234915971756, 0.02120562084019184, -0.0017703345511108637, 0.06786663085222244, 0.056021515280008316, 0.026200324296951294, -0.0558268167078495, 0.0019578421488404274, -0.0017169049242511392, -0.017515059560537338, 0.02138950489461422, 0.07779546082019806, -0.05192643031477928, -0.042072273790836334, 0.1252707540988922, 0.023970622569322586, 0.033835116773843765, 0.0007859170436859131, 0.008391615003347397, -0.012952146120369434, -0.05326569080352783, 0.01989017426967621, -0.011706086806952953, 0.05913103371858597, -0.005728167947381735, 0.0614456869661808, -0.025482187047600746, 0.0008332402212545276, 0.0843655914068222, -0.028723735362291336, 0.046109799295663834, 0.09892691671848297, 0.006392833311110735, -0.02936323918402195, -0.0039216564036905766, -0.02845015935599804, -0.06661496311426163, 0.029676571488380432, -0.0130270691588521, -0.24020595848560333, 0.024969514459371567, 0.015143308788537979, 0.04080986604094505, -0.0028224019333720207, 0.030875347554683685, 0.0385306291282177, -0.01934915781021118, -0.015675097703933716, 0.034502483904361725, 0.029928218573331833, 0.00023940399114508182, -0.031776782125234604, 0.0008604433969594538, 0.02423901855945587, 0.025408443063497543, -0.001965448260307312, 0.024507002905011177, -0.007928619161248207, -0.023142751306295395, -0.0008334266021847725, -0.011967887170612812, 0.16161487996578217, -0.005859834142029285, 0.015193277038633823, 0.04755208268761635, 0.007785300724208355, 0.053644292056560516, 0.04394971951842308, 0.02548922412097454, -0.024398816749453545, -0.02139418013393879, 0.051056988537311554, -0.02732541784644127, 0.041407693177461624, -0.035721808671951294, 0.009244423359632492, 0.003579346928745508, 0.023044543340802193, -0.05058090016245842, -0.034896377474069595, 0.012125838547945023, 0.001182790962047875, 0.0665569007396698, 0.0395803265273571, 0.025209005922079086, 0.01789489947259426, -0.03638097271323204, 0.01098368875682354, 0.01608065702021122, -0.04995368793606758, -0.052847377955913544, 0.0389709435403347, 0.003101859474554658, 0.006786891259253025, 0.04684025049209595, 0.029961243271827698, -0.027522027492523193, -0.018256694078445435, 0.005180894397199154, 0.013463537208735943, -0.061921145766973495, 0.13707579672336578, 0.013764996081590652, 0.00160706986207515 ]
[ -0.004264439921826124, 0.05530618131160736, 0.014510732144117355, 0.010579429566860199, 0.014165996573865414, -0.02720145508646965, -0.020476408302783966, 0.02972549758851528, 0.002743107033893466, -0.006135678384453058, -0.028676526620984077, -0.0027086089830845594, 0.025234315544366837, -0.01634792797267437, -0.009544210508465767, -0.023682869970798492, -0.021339964121580124, -0.004835434257984161, 0.028943590819835663, -0.030036618933081627, -0.027657607570290565, 0.03319224342703819, 0.011672988533973694, -0.04688087850809097, -0.04160182178020477, 0.05630923807621002, -0.028800545260310173, 0.015069467015564442, -0.00045127488556317985, -0.1546076387166977, -0.03677966073155403, -0.02175367996096611, -0.04794086888432503, -0.0012453875970095396, 0.032722439616918564, 0.01925346627831459, 0.030407965183258057, 0.03934922814369202, -0.02038041315972805, 0.0040361094288527966, 0.03157198801636696, -0.011484409682452679, 0.014888335950672626, -0.017467720434069633, 0.005890849977731705, -0.003838186152279377, -0.03626368194818497, 0.014266757294535637, -0.015072443522512913, -0.013553326018154621, -0.02219315618276596, 0.01611415483057499, 0.0044599417597055435, 0.04597767814993858, 0.022116711363196373, 0.04601499065756798, -0.03643064573407173, -0.0014360960340127349, -0.007328642997890711, -0.009067283011972904, -0.005928252823650837, 0.026635833084583282, -0.04036979377269745, -0.036021191626787186, -0.025558823719620705, -0.044671740382909775, -0.005101813469082117, -0.019565057009458542, -0.0228684414178133, 0.03689063712954521, -0.013211004436016083, 0.04172874987125397, -0.04670209437608719, 0.005226082634180784, -0.009205949492752552, 0.02717880718410015, 0.02456318587064743, -0.02593369223177433, 0.005666723940521479, 0.01824445277452469, -0.033758100122213364, 0.005153266247361898, -0.004709345754235983, 0.0033796485513448715, -0.02243335172533989, -0.019345968961715698, 0.0055349101312458515, 0.018055688589811325, 0.015452590771019459, 0.001280502532608807, -0.029713215306401253, -0.007550899405032396, -0.004638321232050657, 0.02287767082452774, -0.072873055934906, -0.02265906147658825, -0.00848225224763155, -0.03829369693994522, 0.0008716919692233205, 0.8403924107551575, 0.028676582500338554, 0.0044671352952718735, 0.011685253120958805, 0.012678379192948341, 0.017612600699067116, -0.014803824946284294, -0.011546492576599121, 0.005991798359900713, 0.048017941415309906, -0.03155512362718582, 0.0001632638886803761, -0.0021430612541735172, 0.02407882735133171, -0.003802316030487418, 0.023277265951037407, 0.011206504888832569, -0.005952808074653149, 0.01959695853292942, 0.00932106003165245, 0.02615491859614849, 0.03877878934144974, -0.011031581088900566, -0.01288653165102005, -0.017382314428687096, 0.02467767894268036, -0.18892502784729004, 0.029233483597636223, -7.417734491621358e-33, 0.05464569479227066, -0.0036781991366297007, -0.003595087444409728, 0.005673137493431568, 0.028766397386789322, -0.01803760789334774, -0.011722644791007042, 0.06690023094415665, -0.02092604525387287, -0.030110150575637817, 0.006324093323200941, -0.04433726146817207, 0.021082701161503792, -0.03868640586733818, 0.0234138872474432, 0.022916849702596664, 0.021870801225304604, 0.030621984973549843, 0.007276340387761593, 0.035981979221105576, 0.019775304943323135, 0.022258732467889786, 0.0045552304945886135, 0.013380119577050209, 0.047738783061504364, 0.037506405264139175, -0.006168680731207132, 0.02444710023701191, 0.011328303255140781, -0.05334199592471123, 0.019067959859967232, -0.002570962067693472, -0.03583013266324997, -0.03702166676521301, -0.0000035224459224991733, -0.041544798761606216, -0.014124590903520584, 0.009129188023507595, -0.03103199228644371, -0.008490491658449173, -0.030625423416495323, -0.007077108137309551, -0.022910457104444504, 0.011885814368724823, -0.00102770677767694, -0.00758402980864048, -0.004549762699753046, -0.02444417029619217, -0.0028118696063756943, 0.0026865946128964424, 0.02385059744119644, -0.004424656741321087, 0.0183581355959177, 0.015022335574030876, 0.02884342335164547, 0.02244165539741516, 0.009487334638834, -0.0006711455644108355, -0.026304151862859726, 0.027261439710855484, 0.03322692587971687, -0.020680328831076622, -0.02524959109723568, -0.0028072260320186615, 0.032017454504966736, 0.014707271941006184, 0.00616828678175807, -0.016430307179689407, -0.0355818085372448, 0.03674156218767166, -0.03162097930908203, -0.0006616960745304823, -0.013797084800899029, -0.006095364224165678, -0.011651338078081608, -0.011607930064201355, -0.02580876089632511, -0.007067246362566948, 0.016161298379302025, 0.03165162727236748, 0.02608514204621315, -0.013769889250397682, -0.016545744612812996, -0.024943074211478233, -0.03937497362494469, -0.031611569225788116, 0.02943354845046997, -0.01224184688180685, 0.006050323601812124, -0.00858176127076149, 0.0069056288339197636, 0.06309819221496582, -0.004876186139881611, -0.02975456789135933, -0.02763580158352852, 7.17328456389611e-33, -0.026842381805181503, -0.0036451402120292187, -0.0510130375623703, 0.004722914658486843, 0.00426888233050704, -0.00909225083887577, 0.02736121229827404, 0.024135766550898552, -0.04916038736701012, -0.0016409294912591577, -0.036835551261901855, -0.013823787681758404, -0.0053743841126561165, -0.008893885649740696, 0.059540968388319016, 0.0024367053993046284, 0.009468571282923222, -0.017388910055160522, 0.014632581733167171, 0.04283854365348816, 0.00861275102943182, 0.011629465036094189, -0.011552784591913223, 0.010440213605761528, 0.020437413826584816, 0.04969518631696701, 0.011718738824129105, 0.01587568037211895, -0.018300171941518784, -0.02325396053493023, 0.032615501433610916, 0.0005503211868926883, -0.006225252524018288, -0.030484560877084732, -0.014317949302494526, 0.06171680986881256, 0.0019216720247641206, 0.008935792371630669, 0.001379624125547707, -0.014255587011575699, 0.036800630390644073, 0.02946183830499649, -0.0024788728915154934, 0.05139525234699249, 0.0002745148667600006, 0.02938045933842659, 0.011634857393801212, -0.003468655049800873, -0.012103533372282982, 0.02934885025024414, -0.008494015783071518, -0.047152042388916016, 0.013902871869504452, 0.00783380027860403, 0.01830562949180603, -0.009185872040688992, -0.03965944051742554, 0.021674994379281998, -0.017586663365364075, 0.012633319944143295, 0.01645991951227188, -0.022483712062239647, -0.03451124206185341, 0.07063330709934235, -0.0342896394431591, 0.008891536854207516, -0.020170262083411217, -0.02777796983718872, 0.016925731673836708, -0.004302870947867632, -0.011633191257715225, -0.005700884386897087, -0.01892995834350586, 0.031760938465595245, 0.02120206318795681, -0.00993278156965971, 0.011221274733543396, 0.024811308830976486, -0.03162315860390663, 0.02546275407075882, 0.011387960985302925, 0.03006972186267376, -0.012003745883703232, -0.008352783508598804, 0.020930277183651924, 0.017645543441176414, -0.028340522199869156, 0.01400682982057333, -0.0061271595768630505, 0.0011104325531050563, -0.019445139914751053, 0.0001881836651591584, -0.019266266375780106, 0.004521707538515329, -0.02392580360174179, -1.3010711619187987e-8, 0.006511477753520012, -0.028605833649635315, -0.01660628244280815, -0.0029092486947774887, -0.016210641711950302, 0.01754099689424038, -0.0052050515078008175, -0.037420518696308136, -0.002291860291734338, 0.02382742427289486, 0.011846139095723629, -0.010091373696923256, 0.03821277990937233, 0.008812316693365574, 0.02427806705236435, -0.03374013304710388, -0.012637610547244549, -0.007435515522956848, 0.03420737013220787, 0.023022089153528214, 0.012062047608196735, 0.05088460072875023, -0.019750205799937248, 0.0005213068216107786, 0.017786843702197075, -0.01896875537931919, 0.027543431147933006, -0.0966217964887619, -0.02448749914765358, 0.01284156646579504, -0.04385395348072052, -0.006151499692350626, 0.02549811638891697, -0.0009409607155248523, 0.005413093604147434, -0.01470818929374218, -0.013596739619970322, -0.006552534177899361, 0.005954045802354813, -0.010571738705039024, 0.003227855311706662, 0.026728283613920212, -0.033180806785821915, -0.024042528122663498, 0.007330138701945543, -0.03220617026090622, -0.026339080184698105, 0.024054568260908127, 0.012319086119532585, -0.0411934033036232, -0.0039463890716433525, 0.011258936487138271, 0.01969469152390957, -0.013741801492869854, 0.022536836564540863, 0.0026903788093477488, -0.000941992737352848, -0.028318868950009346, -0.0364958830177784, -0.0006317581282928586, 0.002629414200782776, 0.02067043073475361, -0.04489634558558464, -0.029339857399463654 ]
bt-internet-non-existent-hosts-mapping-to-92-242-132-15
https://markhneedham.com/blog/2013/08/17/bt-internet-non-existent-hosts-mapping-to-92-242-132-15
false
2013-08-17 20:25:28
Jersey Client: java.net.ProtocolException: Server redirected too many times/Setting cookies on request
[ "java", "jersey" ]
[ "Java" ]
A couple of weeks ago I was trying to write a test around some OAuth code that we have on an internal application and I was using https://jersey.java.net/documentation/latest/user-guide.html#client[Jersey Client] to send the various requests. I initially started with the following code: [source,java] ---- Client = Client.create(); ClientResponse response = client.resource( "http://localhost:59680" ).get( ClientResponse.class ); ---- but when I ran the test I was getting the following exception: [source,text] ---- com.sun.jersey.api.client.ClientHandlerException: java.net.ProtocolException: Server redirected too many times (20) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:151) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680) at com.sun.jersey.api.client.WebResource.get(WebResource.java:191) at com.neotechnology.testlab.manager.webapp.AuthenticationIntegrationTest.shouldRedirectToGitHubForAuthentication(AuthenticationIntegrationTest.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 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 com.neotechnology.kirkaldy.testing.Resources$1.evaluate(Resources.java:84) at com.neotechnology.kirkaldy.testing.FailureOutput$2.evaluate(FailureOutput.java:37) at org.junit.rules.RunRules.evaluate(RunRules.java:18) 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.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63) Caused by: java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1446) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:249) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) ... 28 more ---- If we check the traffic going across port 59680 we can see what's going wrong: [source,text] ---- $ sudo ngrep -d lo0 port 59680 interface: lo0 (127.0.0.0/255.0.0.0) filter: (ip) and ( port 59680 ) ##### T 127.0.0.1:59704 -> 127.0.0.1:59680 [AP] GET / HTTP/1.1..User-Agent: Java/1.6.0_45..Host: localhost:59680..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..Connection: keep-alive.... ## T 127.0.0.1:59680 -> 127.0.0.1:59704 [AP] HTTP/1.1 302 Found..Set-Cookie: JSESSIONID=mdyw3a4fmqc1b6p53birm4dd;Path=/..Expires: Thu, 01 Jan 1970 00:00:00 GMT..Location: http://localhost:59679/authorize?client_id=basic-client&state=the-state&scope=user%2Crepo..Content-Length : 0..Server: Jetty(8.1.8.v20121106).... ########### T 127.0.0.1:59707 -> 127.0.0.1:59680 [AP] GET /auth/callback?code=timey-wimey&state=the-state HTTP/1.1..User-Agent: Java/1.6.0_45..Host: localhost:59680..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..Connection: keep-alive.... ## T 127.0.0.1:59680 -> 127.0.0.1:59707 [AP] HTTP/1.1 302 Found..Cache-Control: no-cache..Set-Cookie: JSESSIONID=8gggez0ns9ftiex4314mbgz9;Path=/..Expires: Thu, 01 Jan 1970 00:00:00 GMT..Location: http://localhost:59680/..Content-Length: 0..Server: Jetty(8.1.8.v20121106).... ########### T 127.0.0.1:59713 -> 127.0.0.1:59680 [AP] GET / HTTP/1.1..User-Agent: Java/1.6.0_45..Host: localhost:59680..Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2..Connection: keep-alive.... ## ---- The response we receive includes a direction to the client to store a cookie but we can see on the next request that the cookie hasn't been included. I came across http://stackoverflow.com/questions/6713893/jersey-client-adding-cookies-to-request[this post which had a few suggestions on how to get around the problem] but the only approach that worked for me was to use jersey-apache-client for which I added the following dependency: [source,xml] ---- <dependency> <groupId>com.sun.jersey.contribs</groupId> <artifactId>jersey-apache-client</artifactId> <version>1.13</version> <type>jar</type> </dependency> ---- I then change my client code to read like this: [source,java] ---- ApacheHttpClientConfig config = new DefaultApacheHttpClientConfig(); config.getProperties().put(ApacheHttpClientConfig.PROPERTY_HANDLE_COOKIES, true); ApacheHttpClient client = ApacheHttpClient.create( config ); client.setFollowRedirects(true); client.getClientHandler().getHttpClient().getParams().setBooleanParameter( HttpClientParams.ALLOW_CIRCULAR_REDIRECTS, true ); ClientResponse response = client.resource( "http://localhost:59680" ).get( ClientResponse.class ); ---- If we run that and watch the output using ngrep we can see that it now handles cookies correctly: [source,text] ---- $ sudo ngrep -d lo0 port 59680 Password: interface: lo0 (127.0.0.0/255.0.0.0) filter: (ip) and ( port 59680 ) ##### T 127.0.0.1:60372 -> 127.0.0.1:59680 [AP] GET / HTTP/1.1..User-Agent: Jakarta Commons-HttpClient/3.1..Host: localhost:59680.... ## T 127.0.0.1:59680 -> 127.0.0.1:60372 [AP] HTTP/1.1 302 Found..Set-Cookie: JSESSIONID=vn8zzf9ep3x4mtw66ydm0n6a;Path=/..Expires: Thu, 01 Jan 1970 00:00:00 GMT..Location: http://localhost:60322/authorize?client_id=basic-client&state=the-state&scope=user%2Crepo..Content-Length : 0..Server: Jetty(8.1.8.v20121106).... ## T 127.0.0.1:60372 -> 127.0.0.1:59680 [AP] GET /auth/callback?code=timey-wimey&state=the-state HTTP/1.1..User-Agent: Jakarta Commons-HttpClient/3.1..Host: localhost:59680..Cookie: $Version=0; JSESSIONID=vn8zzf9ep3x4mtw66ydm0n6a; $Path=/.... ## T 127.0.0.1:59680 -> 127.0.0.1:60372 [AP] HTTP/1.1 302 Found..Cache-Control: no-cache..Location: http://localhost:59680/..Content-Length: 0..Server: Jetty(8.1.8.v20121106).... ## T 127.0.0.1:60372 -> 127.0.0.1:59680 [AP] GET / HTTP/1.1..User-Agent: Jakarta Commons-HttpClient/3.1..Host: localhost:59680..Cookie: $Version=0; JSESSIONID=vn8zzf9ep3x4mtw66ydm0n6a; $Path=/.... ## T 127.0.0.1:59680 -> 127.0.0.1:60372 [AP] HTTP/1.1 200 OK..Vary: Accept-Encoding..Accept-Ranges: bytes..Content-Type: text/html..Content-Length: 2439..Last-Modified: Tue, 23 Jul 2013 10:48:15 GMT..Server: Jetty(8.1.8.v20121106)....<!DOCTYPE html>.<html>.<head>. <title>Tes t Lab</title>. <meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=0"/>. <link rel="stylesheet" type="text/css" href="css/bootstrap.css">. <link rel="stylesheet" type="text/css" hr ef="css/bootstrap-responsive.css">. <link rel="stylesheet" type="text/css" href="css/test-lab.css">. <link rel="icon" type="image/png" href="images/testlab-16.png">. <script src="js/require.js"></script>. <script src="js/d3.v3. js" charset="UTF-8"></script>. <script src="js/jquery-1.8.3.min.js"></script>. <script src="js/bootstrap.js"></script>. <script src="js/test-lab.js"></script>. <script type="text/javascript" src="js/google-analytics.js"></scrip t>.</head>.<body>..<a href="navbar.html" class="inline-replacement"></a>..<div class="container">.. <h1 class="title">Neo Technology Test Lab</h1>.. <div class="dev-mode">Viewing dev-mode</div>.. <h2>Benchmark Series Results</h2 >.. <table id="benchmarkseries_list" class="table">. <thead></thead>. <tbody></tbody>. </table>.. <a href="new-benchmark-series.html" class="btn load-modal"><i class="icon-plus"></i> Create Benchmark Series...</a>.. <h2>T ests</h2>.. <table id="test_list" class="table">. <thead></thead>. <tbody></tbody>. </table>.. <a href="run-test.html" class="btn load-modal"><i class="icon-plus"></i> Run Test...</a>. <a href="run-benchmark.html" class=" btn load-modal"><i class="icon-plus"></i> Run Benchmark...</a>.. <h2>Clusters</h2>.. <table id="cluster_list" class="table"></table>.. <a href="new-database-cluster.html" class="btn load-modal"><i class="icon-plus"></i> New Data base Cluster...</a>. <a href="new-load-generation-cluster.html" class="btn load-modal"><i class="icon-plus"></i> New Load Generation Cluster...</a>.. <h2>Datasets</h2>.. <table id="dataset_list" class="table">. <thead></thead >. <tbody></tbody>. </table>.. <a href="new-dataset.html" class="btn load-modal"><i class="icon-plus"></i> Create New Dataset...</a>.. <a href="confirm.html" class="inline-replacement"></a>..</div>..<script type="text/javascr ipt">. (function (). {. window.setInterval( function (). {. d3.json( "/public/authenticated", function ( status ). {. if ( !status.authenticated ). {. window.location.reload();. }. } );. }, 5000 );. kirkaldy.initializeUI();. })();.</script>..</body>.</html>. ----
null
null
[ -0.021607382223010063, -0.0666474923491478, -0.04828615114092827, 0.020603379234671593, 0.06420829147100449, 0.0033991197124123573, 0.05518582463264465, 0.03755827248096466, 0.013223505578935146, -0.04222118481993675, 0.016970954835414886, -0.011291074566543102, -0.08663575351238251, 0.0012623675866052508, -0.022137008607387543, 0.06349969655275345, 0.0736423060297966, -0.006574143189936876, 0.040337514132261276, -0.027557944878935814, -0.004028138238936663, 0.07065077126026154, -0.02230609953403473, 0.030842317268252373, 0.03780307620763779, 0.03128853067755699, -0.006978913210332394, 0.005103503819555044, -0.05977208912372589, -0.021624505519866943, 0.03345098719000816, 0.016614926978945732, -0.003005147213116288, -0.009994760155677795, 0.023726247251033783, -0.03486749157309532, -0.009658174589276314, 0.002026171423494816, 0.009442418813705444, 0.006544488947838545, -0.06069514900445938, 0.024098709225654602, -0.024780619889497757, 0.031261224299669266, 0.0014733748976141214, 0.029620178043842316, -0.020581284537911415, 0.019483668729662895, 0.008804168552160263, -0.005185138434171677, -0.08104211837053299, 0.005608739331364632, -0.08136890828609467, 0.021663544699549675, 0.029571719467639923, 0.03553516045212746, 0.010803715325891972, -0.0839623212814331, 0.04646338149905205, -0.05989282205700874, 0.009870829060673714, -0.015072963200509548, 0.01874922774732113, 0.009843694977462292, -0.002858160063624382, 0.013048245571553707, 0.01546457875519991, 0.08078699558973312, -0.033777542412281036, -0.021685315296053886, -0.007867868058383465, -0.005736141931265593, -0.02165796048939228, 0.010345648974180222, 0.04164151847362518, -0.05373375490307808, -0.008769380860030651, 0.04239208996295929, 0.006837164051830769, 0.03605825453996658, -0.017837822437286377, -0.01576618105173111, 0.04126075655221939, 0.002989981323480606, 0.013628879562020302, -0.0343022421002388, -0.017549453303217888, 0.01919553242623806, -0.02330215834081173, 0.07574060559272766, 0.03154052048921585, -0.02334524132311344, -0.02495878003537655, 0.01689695008099079, -0.023225534707307816, 0.0017192865489050746, -0.0024992276448756456, -0.008857904933393002, -0.0010744185419753194, -0.0009048327920027077, -0.028881074860692024, 0.015273799188435078, 0.014427308924496174, 0.03233717754483223, -0.056956153362989426, 0.015515473671257496, -0.017990121617913246, -0.01620800606906414, -0.023503141477704048, 0.01492236740887165, -0.03748684003949165, 0.030050745233893394, -0.010746653191745281, -0.0033793982584029436, -0.07289385050535202, 0.07414579391479492, 0.00018293323228135705, -0.03954271227121353, -0.024111781269311905, 0.032256077975034714, 0.03586937487125397, 0.019615352153778076, -0.01600109040737152, 0.07306284457445145, 0.010371601209044456, 0.05695454776287079, -0.02462385781109333, 0.050849854946136475, -0.010724714957177639, -0.05972476676106453, -0.027071146294474602, 0.047044526785612106, 0.0023236298002302647, 0.04256200045347214, -0.0038710336666554213, -0.013121266849339008, -0.004609689582139254, -0.01742076314985752, 0.0756794810295105, 0.02622637152671814, -0.03341887518763542, -0.01745474897325039, 0.0019716850947588682, 0.03317483142018318, 0.030496157705783844, 0.03193199262022972, 0.02731381170451641, -0.022637801244854927, 0.011738009750843048, 0.05045919492840767, 0.024627236649394035, 0.022162415087223053, 0.04409516602754593, -0.009976394474506378, -0.029044881463050842, 0.09023697674274445, 0.011659437790513039, 0.03808244690299034, -0.025994937866926193, 0.022092662751674652, 0.035666853189468384, 0.03546757623553276, 0.016866395249962807, 0.060691025108098984, 0.029125167056918144, 0.034857168793678284, -0.0003464974579401314, 0.0305105559527874, 0.010850475169718266, -0.0019172377651557326, -0.06419859081506729, -0.09309229999780655, 0.029246864840388298, -0.056390486657619476, -0.029406113550066948, 0.03364561125636101, 0.0544968917965889, -0.003690737532451749, 0.04702942073345184, 0.008759655989706516, -0.05922593176364899, 0.02858964167535305, 0.03830360993742943, 0.028592044487595558, 0.009367081336677074, -0.0067341323010623455, 0.05945286154747009, 0.01720721833407879, -0.03979918733239174, 0.02419508621096611, -0.06162252277135849, -0.06976745277643204, 0.012219111435115337, 0.0037989451084285975, 0.0637093335390091, -0.019336633384227753, -0.020568598061800003, 0.0612788163125515, 0.043619927018880844, 0.0035797343589365482, 0.02888319082558155, -0.009731150232255459, 0.03051520325243473, -0.043144341558218, -0.05114705488085747, 0.04328685998916626, 0.06322938203811646, -0.03202483057975769, -0.07383882999420166, -0.014117288403213024, -0.0244852714240551, 0.016077181324362755, 0.006231562700122595, 0.0053401910699903965, 0.03152007609605789, 0.01607341878116131, 0.059651102870702744, -0.02221340872347355, 0.08360983431339264, -0.06820876151323318, 0.04420129954814911, -0.013047704473137856, 0.011733596213161945, -0.018737204372882843, -0.005267871543765068, 0.10722750425338745, 0.008959151804447174, -0.017225105315446854, -0.05618857964873314, 0.026601040735840797, 0.0010765292681753635, -0.05880359560251236, -0.004449809901416302, -0.031533658504486084, -0.005731839686632156, 0.014537716284394264, -0.05475582927465439, -0.03590540215373039, 0.009194632060825825, -0.03916595131158829, 0.005036596208810806, 0.07574670016765594, -0.037112075835466385, 0.05356825888156891, 0.01854070834815502, -0.02809976227581501, -0.02608114667236805, -0.03256012126803398, -0.014766075648367405, -0.0023173741064965725, 0.004199139773845673, -0.030208421871066093, 0.039386626332998276, -0.010276999324560165, -0.04778837412595749, -0.01491047628223896, -0.024158881977200508, 0.02521641179919243, 0.015243119560182095, 0.05438212305307388, -0.015365684404969215, 0.034079696983098984, -0.01954902522265911, 0.0066281394101679325, -0.012818129733204842, -0.044738613069057465, -0.01517140306532383, 0.004832526668906212, 0.0053689912892878056, 0.021448947489261627, 0.0220989640802145, 0.01962541975080967, 0.034129999577999115, -0.002389680128544569, -0.02746012434363365, -0.00036681562778539956, 0.027070634067058563, 0.00036397474468685687, -0.021107668057084084, -0.014196407981216908, -0.02791610360145569, 0.029254689812660217, -0.03034123405814171, -0.04565934091806412, 0.025812167674303055, -0.09397068619728088, 0.029403556138277054, -0.060445863753557205, -0.059610046446323395, 0.0058370125479996204, 0.032280974090099335, 0.05332008749246597, 0.00607667351141572, 0.015295553021132946, 0.0659148171544075, -0.03589775040745735, 0.008846359327435493, 0.03890068456530571, -0.021019436419010162, 0.02076146751642227, -0.01475952286273241, -0.008282063528895378, 0.023499980568885803, -0.011292085982859135, 0.009314306080341339, -0.04138294607400894, 0.0012955255806446075, -0.02224726788699627, -0.26703569293022156, 0.04036930575966835, 0.02806827612221241, -0.017396230250597, 0.061900198459625244, -0.010998154990375042, 0.023625971749424934, -0.05580255389213562, -0.021675722673535347, 0.0431356281042099, -0.023082377389073372, -0.01789402961730957, -0.01652459241449833, 0.025659311562776566, -0.023540819063782692, 0.006922340486198664, -0.0073799025267362595, -0.025647658854722977, 0.026608435437083244, 0.0335971936583519, 0.008072424679994583, -0.056149423122406006, 0.015116694383323193, 0.017036935314536095, 0.012563015334308147, 0.06457661092281342, -0.0763973817229271, 0.04579053819179535, -0.012522139586508274, -0.0018169479444622993, 0.03623058646917343, -0.0436917319893837, 0.018093040212988853, -0.016450686380267143, -0.04059984162449837, -0.01823345012962818, 0.016464050859212875, -0.0013748008059337735, -0.032735344022512436, 0.005227726884186268, -0.0294902715831995, -0.09606313705444336, -0.02152225747704506, -0.00144705839920789, 0.06479914486408234, 0.018216600641608238, -0.07261018455028534, -0.010325572453439236, -0.017770741134881973, 0.0846775695681572, -0.04726747050881386, -0.020177600905299187, -0.022434471175074577, 0.00839756615459919, -0.020831771194934845, -0.042956892400979996, -0.025299862027168274, -0.004837473388761282, -0.03438936173915863, -0.006026329938322306, 0.002546850824728608, -0.04813525080680847, -0.011940868571400642, -0.060483671724796295, -0.04048605263233185, -0.05884721502661705, -0.0396888442337513, -0.002876519924029708, 0.05713516101241112, 0.001241724006831646, -0.02191133238375187, 0.004453737288713455, 0.016860049217939377, -0.0981106087565422, 0.015495521016418934, -0.05073315277695656, -0.04266779124736786, -0.02076764963567257, -0.036901526153087616, 0.044585663825273514, -0.02484261989593506, -0.018152279779314995, -0.013747530058026314, -0.0036299219354987144, 0.026392238214612007, 0.0016437866725027561, 0.02317906729876995, -0.013080872595310211, 0.0032984402496367693, 0.008682828396558762, 0.07768753916025162, -0.00772192794829607, -0.015959657728672028, -0.03163191303610802, 0.009053277783095837, 0.04738982021808624, 0.015169401653110981, -0.0026225359179079533, -0.024912221357226372, 0.028283948078751564, 0.019194550812244415, -0.043612077832221985, 0.006532833445817232, -0.025144843384623528, 0.021878616884350777, -0.004541866015642881, -0.06602831184864044, 0.03177648037672043, 0.019732240587472916, 0.036441586911678314, 0.005791697651147842, -0.04847611486911774, -0.001981902401894331, -0.041121792048215866, -0.048810940235853195, -0.015277329832315445, 0.01756712794303894, 0.03720709681510925, 0.045604173094034195, -0.031328387558460236, -0.0657765194773674, 0.022023199126124382, 0.04589275270700455, -0.023375581949949265, -0.007923108525574207, -0.05121761932969093, -0.022609949111938477, -0.029588084667921066, 0.009611066430807114, 0.01881507970392704, -0.016372648999094963, 0.01964978501200676, 0.021004926413297653, 0.028081214055418968, -0.027804512530565262, 0.0016163558466359973, -0.0503290593624115, -0.031161116436123848, -0.009939822368323803, -0.013041979633271694, 0.009662190452218056, -0.00554975401610136, -0.005499266553670168, 0.011324607767164707, 0.06031348183751106, -0.01287904568016529, 0.04162595421075821, -0.011882973834872246, -0.0009775195503607392, 0.025676129385828972, 0.015292949043214321, -0.06691161543130875, 0.015079651027917862, -0.03248028829693794, -0.04040374979376793, 0.0021553579717874527, 0.04091811180114746, -0.010921071283519268, -0.03720172122120857, -0.01976446993649006, 0.040277883410453796, -0.06797674298286438, -0.032710038125514984, 0.0007246824679896235, -0.022146262228488922, 0.030653327703475952, -0.017909875139594078, 0.02903801016509533, -0.012616640888154507, -0.06049773469567299, -0.006427814718335867, -0.03204938769340515, 0.012408151291310787, 0.039121922105550766, -0.005264070816338062, 0.01026232074946165, 0.008849404752254486, 0.026201197877526283, 0.030016610398888588, 0.01811666414141655, -0.0019332034280523658, -0.014488659799098969, 0.02641472779214382, 0.018127677962183952, 0.03621390461921692, -0.025287184864282608, -0.040189601480960846, -0.0021617517340928316, -0.0070675392635166645, 0.014175827614963055, -0.010836438275873661, 0.013444277457892895, -0.015117647126317024, 0.03296811506152153, 0.0007374654524028301, -0.08956205099821091, 0.011685224249958992, 0.005122821778059006, 0.01498353574424982, 0.0041886926628649235, 0.026416560634970665, 0.021096857264637947, -0.02334544248878956, 0.010610164143145084, 0.018355635926127434, -0.03138916566967964, -0.013663848862051964, -0.010918590240180492, 0.006069289520382881, 0.02148519828915596, -0.008706298656761646, -0.0688355341553688, 0.013193161226809025, -0.0034042317420244217, 0.00025172793539240956, -0.028336992487311363, -0.07310833781957626, -0.013189625926315784, 0.00030960264848545194, -0.013638093136250973, 0.01884985715150833, -0.0038384872023016214, -0.0069394479505717754, -0.022638000547885895, -0.01943312957882881, -0.008503583259880543, -0.03921787440776825, -0.007096246816217899, 0.00555349700152874, -0.018494170159101486, 0.035074200481176376, -0.027033738791942596, 0.057400770485401154, 0.007304616272449493, 0.001993879908695817, -0.010825730860233307, -0.03619854897260666, 0.006558048073202372, 0.056375280022621155, 0.0745972990989685, 0.01757872849702835, -0.0021333694458007812, -0.03731989115476608, -0.016283780336380005, -0.0032411436550319195, 0.04347973316907883, -0.009896665811538696, 0.02039404772222042, 0.03556651249527931, 0.0635002925992012, 0.014905446209013462, 0.051116686314344406, 0.00971971545368433, -0.010234042070806026, 0.09065892547369003, -0.07168228179216385, -0.020902179181575775, -0.037200599908828735, -0.0896785706281662, 0.023004816845059395, 0.033445119857788086, 0.011051994748413563, -0.042656008154153824, 0.0501110814511776, 0.03502364456653595, 0.012204031459987164, 0.05388700217008591, -0.02418111450970173, 0.020535554736852646, -0.03361488878726959, -0.018959349021315575, -0.09465692937374115, 0.0015179982874542475, 0.057220108807086945, -0.04004159942269325, -0.005623263772577047, -0.018322130665183067, -0.03587272763252258, 0.038504064083099365, -0.04056566208600998, -0.011372530832886696, 0.008397124707698822, -0.013450988568365574, -0.008522870019078255, 0.035791706293821335, -0.04276343062520027, 0.05399061739444733, 0.03750605508685112, -0.04534880816936493, -0.04377298802137375, -0.013617478311061859, 0.04512389376759529, 0.04874294996261597, 0.03520520403981209, -0.041792917996644974, 0.0013251348864287138, 0.07880452275276184, 0.019773950800299644, 0.012369782663881779, 0.047771696001291275, -0.030894290655851364, 0.05446239188313484, 0.023352092131972313, -0.007506169378757477, -0.0008827838464640081, 0.02225101925432682, 0.0017932673217728734, -0.07023732364177704, 0.038424231112003326, 0.0019066468812525272, -0.045737314969301224, -0.04629192873835564, 0.05432521551847458, 0.017577145248651505, -0.03185760974884033, -0.023956656455993652, -0.007549060974270105, -0.044242653995752335, -0.03501862660050392, -0.04190748184919357, 0.01714109256863594, -0.01693614013493061, 0.06812143325805664, -0.020239902660250664, 0.02659885585308075, 0.07726321369409561, -0.0006925592315383255, -0.003003527643159032, -0.00959436222910881, 0.051231272518634796, 0.06629368662834167, -0.016338663175702095, -0.0023938617669045925, 0.0439322367310524, 0.014277075417339802, -0.049070730805397034, 0.01083090528845787, -0.01772533729672432, -0.052728790789842606, -0.007087527774274349, 0.006663205102086067, 0.04981384053826332, -0.004470006562769413, 0.05573487654328346, -0.029273413121700287, 0.00282964576035738, 0.0034252628684043884, 0.038038790225982666, 0.021101506426930428, -0.011745794676244259, -0.013314370065927505, 0.0024191311094909906, -0.008341767825186253, -0.030341334640979767, 0.006408362183719873, -0.018514281138777733, -0.037703461945056915, 0.039219144731760025, -0.02301229164004326, 0.020947955548763275, 0.01975802332162857, -0.012412975542247295, 0.06087399274110794, -0.011213640682399273, 0.013304979540407658, -0.014874951913952827, 0.032992612570524216, 0.010814385488629341, -0.02600271813571453, -0.014225590974092484, -0.03459987789392471, 0.002329963957890868, -0.03278876096010208, -0.023133743554353714, -0.020269233733415604, -0.04592809081077576, 0.017090586945414543, -0.00995380338281393, 0.0491165854036808, 0.04033615067601204, -0.013625193387269974, -0.05184660106897354, -0.06987594813108444, -0.07143129408359528, -0.029240213334560394, -0.045077208429574966, -0.018624667078256607, 0.020312735810875893, -0.002519170520827174, -0.037846628576517105, 0.0007285135216079652, -0.027249718084931374, 0.026406636461615562, 0.04684934392571449, -0.01996738649904728, -0.02402500994503498, 0.03193128481507301, 0.005225870758295059, 0.03743627667427063, 0.004214693326503038, 0.07300744950771332, -0.015880903229117393, 0.005735934711992741, -0.036364540457725525, -0.022583063691854477, 0.04338773712515831, 0.012683131732046604, 0.030841488391160965, -0.0848008468747139, 0.0014904874842613935, 0.02692163735628128, 0.018371663987636566, -0.038445841521024704, -0.0010043117217719555, 0.019955530762672424, -0.00905340164899826, 0.06107708439230919, -0.008169315755367279, 0.003402549074962735, -0.028451919555664062, -0.03957374766469002, 0.019836628809571266, 0.030412856489419937, 0.0469498336315155, -0.001424142625182867, 0.08394596725702286, 0.030243903398513794, -0.023497385904192924, -0.03177826106548309, 0.035622287541627884, 0.0004036197206005454, -0.008541426621377468, -0.05223242938518524, -0.01845197007060051, -0.0665556937456131, -0.05546219274401665, 0.009245214983820915, 0.016583913937211037, -0.028378095477819443, -0.029528021812438965, 0.0032193080987781286, 0.04082711040973663, -0.06898036599159241, 0.022072261199355125, -0.033788051456213, 0.026430930942296982, -0.022116374224424362, -0.02371114306151867, 0.021003199741244316, -0.0011735536390915513, 0.020326564088463783, -0.0010134917683899403, 0.04338879510760307, -0.03480328992009163, 0.026843881234526634, 0.0024680790957063437, 0.021410254761576653, 0.04468729346990585, -0.03622779995203018, -0.02759634517133236 ]
[ -0.09184594452381134, 0.004518700297921896, -0.049382004886865616, -0.05079951882362366, 0.020062802359461784, -0.06293996423482895, 0.030959464609622955, 0.07145460695028305, 0.023875577375292778, -0.030377337709069252, 0.009935853071510792, -0.04164595156908035, -0.0020331447012722492, 0.0312700979411602, 0.07873532921075821, -0.014936849474906921, -0.023663824424147606, -0.059130650013685226, -0.04495416209101677, 0.038413695991039276, 0.029324667528271675, -0.019364066421985626, -0.0011119740083813667, -0.046654049307107925, 0.016805287450551987, 0.025272678583860397, 0.04497334361076355, -0.027133839204907417, -0.011165278032422066, -0.1519991010427475, -0.016229545697569847, -0.02458782307803631, -0.010304190218448639, 0.009667232632637024, -0.005719631910324097, 0.04315446689724922, -0.023201705887913704, 0.025083359330892563, 0.026172691956162453, 0.05762582644820213, 0.01699334941804409, 0.048187851905822754, -0.05945819988846779, -0.024364307522773743, 0.030275259166955948, -0.02079426310956478, -0.012310757301747799, 0.023242371156811714, 0.008974161930382252, -0.011688919737935066, -0.04532507061958313, -0.024084702134132385, 0.05987681448459625, -0.0039246417582035065, 0.016054382547736168, 0.010105838067829609, 0.04799717292189598, 0.10749319940805435, 0.012436505407094955, 0.07009987533092499, 0.01982271298766136, -0.03009033203125, -0.1278763860464096, 0.09658859670162201, 0.02458225004374981, 0.03677080571651459, -0.01501713041216135, 0.007708570454269648, -0.034106701612472534, 0.04532961919903755, 0.005501862149685621, -0.016534334048628807, -0.02975001186132431, 0.04893890395760536, 0.006651660427451134, 0.02461862936615944, -0.01472221128642559, 0.020934388041496277, 0.07417101413011551, -0.038253046572208405, -0.06819018721580505, -0.042959023267030716, -0.0011800044449046254, -0.017096715047955513, -0.01412301603704691, 0.018931280821561813, -0.030636820942163467, 0.06899955868721008, 0.04355785250663757, 0.030309394001960754, 0.012390142306685448, -0.005331648513674736, 0.044413525611162186, -0.005991565994918346, -0.11696325987577438, 0.0270355436950922, -0.018595540896058083, 0.012369999662041664, -0.047971051186323166, 0.3868529200553894, 0.00919486302882433, -0.027621611952781677, 0.021077239885926247, 0.03123892843723297, 0.007771768607199192, -0.014391778036952019, -0.006615570280700922, -0.05637000501155853, 0.003484036074951291, 0.003774795914068818, -0.016589943319559097, -0.0042974273674190044, 0.02497716434299946, -0.048570044338703156, -0.0198964960873127, 0.07498446106910706, 0.03713788837194443, 0.03044869191944599, -0.05167745053768158, 0.03600631654262543, -0.03242453187704086, -0.03228176757693291, 0.006678860168904066, 0.009113739244639874, 0.0013931987341493368, -0.007913692854344845, 0.028547586873173714, 0.060412608087062836, 0.01982133276760578, 0.018756534904241562, 0.024362526834011078, -0.04419964179396629, -0.07346202433109283, -0.002385396044701338, 0.022475941106677055, 0.028543520718812943, 0.028095917776226997, -0.047764141112565994, -0.02319134958088398, 0.03269534930586815, 0.010608312673866749, -0.0654534250497818, 0.001724421395920217, -0.03805285692214966, -0.04234888032078743, 0.10836414992809296, -0.00634156446903944, 0.002258450724184513, 0.028290757909417152, -0.05704250931739807, 0.00005565827450482175, 0.07640600204467773, -0.018314778804779053, -0.04029781371355057, -0.004051182884722948, 0.03415786474943161, 0.030315758660435677, 0.00539015606045723, -0.02235298790037632, -0.015867173671722412, 0.020079130306839943, -0.009501246735453606, -0.013960937038064003, 0.0670597106218338, 0.057484518736600876, -0.0871511697769165, -0.019117148593068123, 0.00968286581337452, -0.017042914405465126, -0.06670352816581726, -0.025659486651420593, 0.024476438760757446, -0.024522755295038223, -0.009823402389883995, 0.0054290699772536755, -0.018708836287260056, -0.021725144237279892, -0.022905638441443443, 0.024794872850179672, 0.007072766777127981, -0.01321941427886486, 0.025381045415997505, -0.06878442317247391, -0.005260170437395573, 0.005436993204057217, -0.055924199521541595, -0.05887177214026451, 0.010242180898785591, -0.0020010839216411114, -0.0232008658349514, -0.07659793645143509, -0.04323602095246315, -0.06881818920373917, 0.07213455438613892, 0.006377369165420532, -0.0003822326834779233, 0.00704298447817564, -0.05417002737522125, 0.00970208179205656, -0.05230666697025299, 0.08944926410913467, 0.0669620931148529, 0.03232216835021973, 0.052600353956222534, -0.06862886250019073, 0.05987467244267464, 0.07779426872730255, -0.04933623597025871, 0.05180780217051506, -0.023055216297507286, -0.06167934089899063, 0.003575845155864954, -0.030607856810092926, 0.029482321813702583, 0.006372969597578049, -0.024797748774290085, -0.02194269746541977, 0.038843490183353424, 0.052480727434158325, 0.013623315840959549, -0.04757611081004143, 0.03617164492607117, 0.014615561813116074, -0.3359363079071045, -0.036615852266550064, 0.00791028793901205, -0.009877655655145645, -0.012981141917407513, -0.02451561950147152, 0.007990141399204731, -0.020700568333268166, 0.036487240344285965, 0.024814611300826073, 0.11273077875375748, 0.00035065249539911747, -0.011419674381613731, -0.07683635503053665, 0.008998063392937183, 0.019525805488228798, -0.04741182550787926, -0.0017368829576298594, -0.016937561333179474, 0.021305980160832405, -0.023033661767840385, -0.026674849912524223, -0.012209746055305004, 0.0070897783152759075, -0.000941008678637445, -0.026219967752695084, 0.09496507048606873, 0.03482421115040779, 0.028298497200012207, -0.0913991779088974, 0.052792131900787354, 0.017028311267495155, 0.032803017646074295, -0.11187814176082611, -0.01544459443539381, -0.04323961213231087, -0.03395409137010574, 0.019673943519592285, 0.05439557135105133, -0.020278796553611755, -0.05309306085109711, 0.00549444230273366, -0.05712379515171051, -0.060541123151779175, 0.00667622359469533, 0.005775659345090389, -0.03077070601284504, -0.03444341570138931, 0.008854633197188377, 0.06905101239681244, -0.01863289065659046, 0.004100433085113764, 0.05682487040758133, 0.0444355234503746, 0.03965453803539276, -0.020570969209074974, -0.06434141099452972, -0.037019453942775726, 0.01358429528772831, -0.023972870782017708, 0.04077314957976341, 0.06073026359081268, 0.03210650756955147, -0.04619534686207771, 0.021799657493829727, 0.008081582374870777, 0.005522035527974367, 0.00557251600548625, 0.05331789702177048, -0.05333065986633301, -0.060244157910346985, 0.0918053537607193, 0.01412564143538475, 0.014526618644595146, 0.022739969193935394, 0.04536224901676178, 0.016613604500889778, -0.03885260224342346, 0.023178862407803535, 0.0318479910492897, 0.013148539699614048, 0.006557615473866463, 0.04569444805383682, -0.03416122496128082, -0.025519046932458878, 0.06583796441555023, -0.031198643147945404, 0.03170591592788696, 0.06796921044588089, -0.0237975362688303, -0.026843218132853508, 0.00027319122455082834, -0.02645171247422695, -0.05092301964759827, 0.02882789447903633, -0.018271492794156075, -0.25394609570503235, 0.017963167279958725, 0.02756856568157673, 0.0599646270275116, -0.02242697775363922, 0.03962800279259682, 0.03305825591087341, -0.04011286050081253, -0.044021569192409515, 0.02520064078271389, 0.04038245975971222, 0.014458220452070236, 0.011134098283946514, -0.015465364791452885, 0.03938540071249008, 0.016412585973739624, 0.020930293947458267, 0.042453743517398834, 0.02450386807322502, -0.006539016962051392, 0.015004253014922142, -0.02306697517633438, 0.1582990437746048, -0.006126586813479662, 0.021635504439473152, 0.07659503817558289, -0.0016234047943726182, 0.04828513041138649, 0.07716444879770279, -0.011251146905124187, -0.02417762391269207, -0.013663283549249172, 0.0636872872710228, 0.028615377843379974, 0.018489114940166473, -0.10381558537483215, 0.025039764121174812, -0.0004317703715059906, -0.010448039509356022, -0.04502491280436516, -0.04106386750936508, 0.012787111103534698, -0.006038890220224857, 0.03188830241560936, 0.09874705225229263, 0.021313687786459923, -0.03717705234885216, -0.03376716747879982, -0.03440982848405838, -0.008905719965696335, -0.06478426605463028, -0.11164029687643051, -0.004525863565504551, -0.005545164458453655, -0.020695175975561142, 0.04933851584792137, 0.018709586933255196, -0.06824502348899841, -0.05110453441739082, 0.0077642593532800674, 0.02272765524685383, -0.01620553620159626, 0.08391812443733215, -0.024105792865157127, -0.00028096322785131633 ]
[ -0.01062975823879242, 0.04250964894890785, 0.023740965873003006, -0.004855839069932699, 0.01366471778601408, -0.033483393490314484, -0.0008743496728129685, 0.001998355146497488, 0.010246672667562962, -0.018152328208088875, -0.020449519157409668, 0.009311082772910595, 0.048047106713056564, 0.01192553248256445, 0.033097486943006516, -0.0362047404050827, 0.02717767283320427, 0.0025837740395218134, 0.03465936705470085, 0.019731968641281128, 0.00473710335791111, 0.012730231508612633, 0.010223577730357647, -0.061873659491539, 0.019415652379393578, 0.018688293173909187, 0.0044090840965509415, 0.0049161044880747795, -0.0012940112501382828, -0.10955119132995605, -0.03280162438750267, -0.028563406318426132, -0.03213812783360481, -0.022532999515533447, -0.0026287527289241552, 0.010096152313053608, 0.0074357581324875355, 0.025644155219197273, -0.039801113307476044, 0.039232853800058365, -0.007188333198428154, -0.027622727677226067, -0.007809426169842482, 0.014902130700647831, -0.011527398601174355, -0.024830790236592293, -0.021338822320103645, -0.02105383761227131, -0.025405487045645714, 0.02754262648522854, -0.016525749117136, -0.02995188720524311, 0.045398980379104614, 0.014770541340112686, -0.012410399504005909, -0.006329675205051899, -0.0677596852183342, 0.03816080093383789, 0.008346023969352245, -0.010831031948328018, 0.021164998412132263, -0.01923798955976963, -0.040638748556375504, -0.025452762842178345, -0.009702607989311218, -0.02625228650867939, 0.004462864249944687, -0.004557691514492035, -0.026572339236736298, -0.014950725249946117, -0.007388032972812653, 0.04882284253835678, -0.04925082251429558, -0.0037674319464713335, -0.02053389512002468, 0.022097531706094742, 0.01865047588944435, 0.015190893784165382, 0.02861521765589714, -0.01558708492666483, -0.006943326443433762, -0.006060226354748011, -0.013455858454108238, 0.02665853127837181, 0.022935084998607635, 0.03967798128724098, 0.005039660260081291, 0.008481829427182674, 0.019349707290530205, 0.060177773237228394, -0.03883993253111839, 0.028977569192647934, -0.006011308636516333, -0.004831046797335148, -0.1012452021241188, -0.015591424889862537, -0.017163002863526344, -0.0007130784797482193, -0.016780167818069458, 0.8131217360496521, 0.052414584904909134, 0.015195316635072231, 0.051275622099637985, 0.03315120190382004, 0.019647356122732162, -0.003407393116503954, -0.009083528071641922, 0.018314536660909653, 0.04965357482433319, -0.006217405200004578, -0.014557886868715286, 0.018431909382343292, 0.00800599716603756, 0.017403455451130867, 0.01835906133055687, 0.027954306453466415, 0.045811086893081665, 0.007034453563392162, -0.005782673601061106, 0.049566835165023804, 0.011977274902164936, -0.026523573324084282, -0.021631091833114624, -0.005060779396444559, 0.022165028378367424, -0.13608723878860474, 0.012951351702213287, -7.120794333028079e-33, 0.033452555537223816, 0.027663758024573326, 0.017376074567437172, 0.007746408227831125, 0.010400528088212013, -0.012063277885317802, 0.03011508285999298, 0.01779099553823471, -0.017844878137111664, -0.07187620550394058, -0.02432839572429657, -0.021370552480220795, 0.04146251454949379, -0.024277575314044952, 0.02748730406165123, -0.027367159724235535, 0.0017358787590637803, 0.024917034432291985, 0.014302432537078857, 0.018112773075699806, 0.02368723601102829, 0.023815006017684937, 0.015072186477482319, -0.03089306689798832, -0.03179829940199852, 0.019805075600743294, 0.022980669513344765, 0.03280719742178917, -0.045312363654375076, -0.03235585242509842, 0.004889273550361395, -0.036391690373420715, -0.018033664673566818, -0.014562447555363178, 0.027513667941093445, -0.03843880444765091, -0.027137521654367447, -0.01792816072702408, -0.011857504025101662, -0.07124287635087967, -0.03692532330751419, 0.020849889144301414, -0.04335640370845795, 0.060605235397815704, -0.04337439313530922, -0.026809725910425186, -0.01957699842751026, 0.00719810463488102, 0.0109986811876297, 0.009541588835418224, -0.03551553934812546, 0.02074992097914219, 0.018429771065711975, -0.02232128567993641, -0.023350190371274948, 0.02733062580227852, 0.02574215643107891, 0.05584282800555229, -0.03622638061642647, 0.023526886478066444, -0.00010951581498375162, -0.01774628460407257, -0.034067824482917786, 0.05647556483745575, 0.0005700993351638317, 0.002817658009007573, -0.03700681030750275, 0.011124362237751484, -0.007786346133798361, -0.02242565155029297, -0.03541570529341698, -0.004290305078029633, 0.021630369126796722, 0.010777073912322521, 0.02078244276344776, -0.021012036129832268, 0.021871516481041908, 0.03346581757068634, -0.01014071423560381, -0.004102987237274647, 0.021917428821325302, -0.03864477947354317, -0.008588329888880253, -0.008806562051177025, -0.01274904515594244, 0.003165268572047353, 0.02848190814256668, -0.0053079086355865, 0.035063736140728, 0.0315384715795517, 0.09618569910526276, 0.012650656513869762, -0.008318032138049603, -0.01013518963009119, -0.03942184895277023, 7.287400820789968e-33, -0.03507130965590477, 0.008561596274375916, -0.04215177893638611, -0.017229067161679268, 0.006028464529663324, -0.025679025799036026, 0.03280698508024216, 0.04039447009563446, -0.07136666029691696, 0.0013899587793275714, -0.030322246253490448, 0.010381432250142097, 0.009299589321017265, 0.04969693720340729, 0.004700720310211182, -0.019678795710206032, 0.04707369953393936, 0.0028741522692143917, 0.06380549818277359, -0.013635053299367428, 0.011145597323775291, -0.030073735862970352, 0.007826635614037514, 0.013411539606750011, 0.013099577277898788, 0.05110850930213928, -0.019481485709547997, -0.0033161479514092207, -0.023011241108179092, -0.03666486218571663, 0.02562236227095127, 0.029770737513899803, 0.02075181156396866, -0.05274779722094536, -0.009884429164230824, -0.005738670006394386, -0.019548075273633003, 0.018542002886533737, 0.02845180407166481, -0.025537684559822083, -0.008667411282658577, -0.08623090386390686, -0.016730036586523056, 0.02466367557644844, 0.03411928191781044, 0.010601435787975788, -0.02435746043920517, -0.010116470977663994, -0.049194592982530594, 0.00804345216602087, -0.015104912221431732, 0.04199860617518425, 0.022474808618426323, 0.02671935223042965, 0.005273527931421995, -0.014079361222684383, -0.020094597712159157, 0.016008734703063965, 0.012846139259636402, 0.025892026722431183, 0.03764178603887558, -0.02022496983408928, -0.02533276379108429, 0.05892416834831238, -0.0019718785770237446, -0.03528711199760437, 0.007866906002163887, 0.0068335928954184055, -0.01582028716802597, 0.02319130301475525, -0.04137992858886719, -0.011327308602631092, -0.03308004140853882, 0.022788209840655327, 0.06270790100097656, -0.033028047531843185, 0.023392874747514725, -0.004286455921828747, -0.050550445914268494, 0.021578731015324593, -0.017668867483735085, -0.005979486741125584, -0.043434351682662964, -0.030394338071346283, 0.03144064173102379, -0.02984089031815529, -0.014635222963988781, 0.0215199813246727, -0.04964952915906906, -0.019659999758005142, -0.014245329424738884, 0.03923525661230087, -0.047530606389045715, -0.0033682973589748144, -0.0008819098584353924, -1.2669271853837927e-8, 0.01683940179646015, -0.025668002665042877, -0.0018990313401445746, 0.004326194990426302, 0.0020906785503029823, 0.04832245036959648, -0.032471418380737305, -0.0019332737429067492, -0.008918884210288525, 0.034845538437366486, 0.000441832555225119, 0.02382938377559185, 0.035699985921382904, 0.0002341382933082059, 0.021908355876803398, -0.018302423879504204, 0.012341363355517387, -0.0013117792550474405, 0.031142577528953552, 0.02166392095386982, 0.027253633365035057, 0.05706337094306946, -0.016260504722595215, 0.00618908042088151, 0.03672752156853676, -0.015004218555986881, 0.028805242851376534, -0.01476783026009798, -0.005383459851145744, -0.025027820840477943, -0.05083191767334938, -0.004632947035133839, -0.02520497515797615, -0.036922432482242584, -0.054855141788721085, 0.0434892475605011, -0.023026080802083015, 0.000676666502840817, 0.009208531118929386, 0.010802743025124073, -0.03073701821267605, 0.05745081976056099, -0.02361990511417389, -0.004732491448521614, 0.0018170212861150503, 0.004038469400256872, -0.026776298880577087, 0.01385875791311264, 0.009309477172791958, -0.07558289170265198, -0.047387294471263885, -0.014456228353083134, -0.007988530211150646, -0.038123950362205505, 0.005846669431775808, 0.013148563914000988, -0.011455893516540527, -0.03419012203812599, -0.0034941965714097023, 0.01521972008049488, 0.04289085045456886, 0.019822314381599426, -0.0472203865647316, -0.030224908143281937 ]
jersey-client-java-net-protocolexception-server-redirected-too-many-timessetting-cookies-on-request
https://markhneedham.com/blog/2013/08/17/jersey-client-java-net-protocolexception-server-redirected-too-many-timessetting-cookies-on-request
false
2013-08-19 23:13:04
Coding: Hack then revert
[ "coding" ]
[ "Coding" ]
For a long while my default approach when I came across a new code base that I wanted to change was to read all the code and try and understand how it all fitted together by sketching out flow of control diagrams. Only after I'd done that would I start planning how I could make my changes. This works reasonably well but it's quite time consuming and a couple of years ago a former colleague (I can't remember who!) showed me another technique which seems to be more effective. Rather than trying to understand how all the code fits together we briefly skim it to get a general understanding but don't drill into the specifics. Instead once we've got a general understanding we make changes to the code and then either run the application or run the tests to see if it works as we expected. There'll often be a couple of cycles before we understand exactly what changes we need to make and I've found that *reverting the code after each attempt* works quite well. When we change the same bit of code for the 2nd/3rd/4th time it takes a fraction of the time it did on the 1st occasion and we'll often spot improvements that we can make which we didn't notice before. I'd recommend this as an exploratory tool if you haven't already tried it and as an added bonus it's much more fun than statically analysing code and trying to figure out how it's mean to work!
null
null
[ 0.0372488908469677, 0.006651873234659433, -0.010985792614519596, 0.03502769395709038, 0.09895367175340652, 0.020233435556292534, 0.015402412042021751, 0.0259433314204216, 0.024612678214907646, -0.03715234994888306, -0.017757598310709, 0.012784642167389393, -0.06534124165773392, 0.0007280552526935935, -0.02618997171521187, 0.07695376873016357, 0.06637462973594666, -0.014582979492843151, 0.041952479630708694, 0.02509201504290104, 0.030061477795243263, 0.0734739750623703, -0.015862375497817993, 0.02457132190465927, 0.012848420068621635, 0.011349281296133995, 0.006926188711076975, -0.024804113432765007, -0.06979779154062271, -0.0036416244693100452, 0.0476934090256691, -0.021423228085041046, 0.015381669625639915, -0.012110943906009197, -0.004126004874706268, -0.03302411735057831, -0.029050029814243317, 0.025216862559318542, 0.011037682183086872, 0.004611709620803595, -0.04986094683408737, 0.02835666574537754, 0.008672039024531841, 0.002563202055171132, -0.033566176891326904, -0.006386669352650642, -0.03715730458498001, 0.004201686475425959, -0.013092651031911373, -0.03740095719695091, -0.050213415175676346, 0.033896710723638535, 0.010802458971738815, -0.016915781423449516, -0.008724072948098183, 0.06281870603561401, 0.040714167058467865, -0.06120036914944649, 0.003155594225972891, -0.037184346467256546, -0.003093841252848506, 0.005597344134002924, 0.004644801840186119, 0.052557479590177536, 0.0349191389977932, -0.03110651485621929, 0.0047583868727087975, 0.055649712681770325, -0.02160436287522316, 0.01613204926252365, -0.0039768945425748825, 0.026521926745772362, -0.016183795407414436, -0.00004011419878224842, 0.0009065318736247718, -0.018961159512400627, -0.00014849127910565585, 0.06613799929618835, 0.009550253860652447, 0.04839061200618744, -0.018044907599687576, 0.02739235758781433, 0.007666639052331448, -0.0013098226627334952, 0.04291151836514473, -0.029014574363827705, -0.006318035535514355, -0.004501822404563427, -0.0572180449962616, 0.039270877838134766, 0.013348438777029514, -0.0896504819393158, 0.03451055660843849, 0.051033131778240204, 0.01174924522638321, -0.0012843423755839467, 0.016000283882021904, 0.027603987604379654, -0.013810282573103905, -0.01518120989203453, -0.013967536389827728, -0.007147109601646662, 0.004068792797625065, -0.01147097535431385, -0.06736912578344345, -0.0020323810167610645, -0.01645503379404545, -0.01950712315738201, -0.011600802652537823, 0.006582815200090408, -0.024313580244779587, 0.0027523357421159744, -0.0314176045358181, 0.003368379781022668, -0.07471348345279694, 0.06193806231021881, -0.006158031057566404, -0.02348492480814457, -0.003973627928644419, -0.00018425016605760902, 0.03793707862496376, 0.034386392682790756, 0.00927048735320568, 0.09178997576236725, -0.01323933620005846, 0.029434753581881523, -0.017866557464003563, 0.06594913452863693, -0.02154933288693428, -0.05617294833064079, -0.007077962625771761, 0.04301811009645462, -0.034465137869119644, -0.03402281552553177, -0.002480807015672326, -0.023935282602906227, -0.007420005276799202, 0.006067223381251097, -0.0008892045589163899, 0.03899313136935234, -0.020222438499331474, -0.030241530388593674, 0.03721548244357109, 0.011881150305271149, -0.0032510003075003624, 0.03080516867339611, -0.0007316771079786122, -0.018695836886763573, -0.02236713282763958, -0.003521071979776025, 0.004857206717133522, 0.027402522042393684, 0.001157512771897018, -0.05804130434989929, 0.014110448770225048, 0.09285776317119598, -0.011469309218227863, 0.011089889332652092, -0.01517774909734726, 0.019636040553450584, 0.03638096898794174, 0.01747117191553116, 0.01234533078968525, 0.04783448204398155, 0.01701178215444088, -0.02703171968460083, 0.005169305484741926, 0.04705779254436493, -0.004976724740117788, 0.02130139246582985, -0.06062836945056915, -0.03024883009493351, 0.047964949160814285, -0.05514683201909065, -0.017929360270500183, 0.050469815731048584, 0.0772576853632927, 0.016722382977604866, 0.02109217643737793, -0.004047011490911245, -0.06345249712467194, 0.029445212334394455, 0.015510366298258305, 0.011601240374147892, 0.028223086148500443, -0.026588480919599533, 0.07412170618772507, 0.020293325185775757, 0.008785564452409744, 0.011614588089287281, -0.07456106692552567, -0.09098402410745621, -0.012422099709510803, -0.03534575551748276, 0.06259936839342117, -0.02716599777340889, -0.002721190918236971, 0.07719241082668304, 0.024359215050935745, 0.05615431070327759, 0.05823371559381485, -0.0032624516170471907, 0.022063620388507843, -0.05103166773915291, -0.030038563534617424, 0.025097444653511047, 0.05128661170601845, -0.02756086178123951, -0.04825884476304054, 0.01401999220252037, -0.008234337903559208, -0.015388192608952522, 0.044246140867471695, -0.01377642061561346, 0.03850947320461273, 0.02037978731095791, 0.05319434404373169, -0.03573670983314514, 0.05184953287243843, -0.05920388177037239, -0.0026422550436109304, -0.0006066785426810384, -0.016180947422981262, -0.007847216911613941, -0.004516218323260546, 0.09400223940610886, 0.07290634512901306, -0.06910791248083115, -0.0448671355843544, 0.009316743351519108, 0.018204359337687492, -0.06191694363951683, -0.001557768671773374, -0.025055333971977234, 0.003633265383541584, -0.00832908321171999, -0.08370999991893768, -0.03156345337629318, 0.014768325723707676, -0.03139185905456543, 0.013852572068572044, 0.058611027896404266, -0.027362503111362457, 0.04577776417136192, 0.00028001019381918013, -0.009560889564454556, -0.007764607202261686, -0.01931864582002163, -0.04935643449425697, 0.043135806918144226, 0.01973433792591095, -0.0182496327906847, 0.06993458420038223, -0.02528472989797592, -0.03150997683405876, -0.0322500504553318, -0.038271304219961166, -0.025438236072659492, 0.0266063641756773, 0.07475651800632477, 0.008177116513252258, 0.04941496625542641, 0.0072793494910001755, 0.03358954191207886, 0.00723931984975934, -0.049359917640686035, -0.030647067353129387, -0.039478644728660583, -0.013287218287587166, 0.03766295686364174, -0.008492163382470608, 0.02224276028573513, 0.02393180876970291, -0.006325361784547567, -0.023218909278512, -0.03507121279835701, 0.05358285456895828, -0.0014697839505970478, -0.014817987568676472, -0.02494518831372261, -0.02460666000843048, 0.03569632023572922, -0.05748949572443962, -0.03487224504351616, 0.008271914906799793, -0.045166194438934326, 0.0604557991027832, -0.055791255086660385, -0.06055755168199539, 0.014074190519750118, 0.02912309393286705, 0.047510240226984024, -0.023898504674434662, 0.043517105281353, 0.09175382554531097, -0.013460099697113037, 0.019338728860020638, -0.021707577630877495, 0.01890886388719082, 0.03681715205311775, 0.030285459011793137, -0.0009477477869950235, 0.036653753370046616, 0.005979795008897781, -0.017609428614377975, -0.039738669991493225, 0.03686418756842613, -0.0395403690636158, -0.2744081914424896, 0.0408395417034626, 0.005111654754728079, -0.05682813376188278, 0.025630641728639603, -0.025651946663856506, 0.010374072007834911, -0.040909089148044586, -0.009151647798717022, 0.02977919951081276, -0.04295152425765991, -0.04795316979289055, -0.02660197950899601, 0.07252540439367294, -0.01665826328098774, 0.041699718683958054, 0.020551254972815514, -0.031207675114274025, 0.008528719656169415, 0.07480411231517792, -0.015459842048585415, -0.06532519310712814, 0.02235499955713749, 0.021547548472881317, 0.029203131794929504, 0.042306482791900635, -0.11291783303022385, 0.06159498542547226, -0.05140561982989311, -0.002222292358055711, -0.0024738197680562735, -0.0014710475225001574, -0.009150487370789051, -0.01593087427318096, -0.009034323506057262, -0.026017500087618828, 0.01196502335369587, 0.015326324850320816, -0.008781964890658855, 0.012243353761732578, -0.0191995520144701, -0.03145264461636543, -0.022620122879743576, 0.0360880009829998, 0.05953804403543472, -0.020457394421100616, -0.06094753369688988, -0.0233155507594347, -0.01027255691587925, 0.08246484398841858, -0.03697126731276512, -0.0332096703350544, 0.0011972886277362704, 0.03680846467614174, -0.009842666797339916, -0.028295673429965973, 0.02053256519138813, -0.00850603636354208, -0.05024302005767822, -0.022596003487706184, -0.020670561119914055, -0.044857487082481384, 0.006028126925230026, -0.0479145422577858, 0.025147927924990654, -0.04523216560482979, -0.05334596335887909, -0.02291622944176197, 0.05708771571516991, 0.025322508066892624, -0.026431426405906677, 0.035160500556230545, 0.00870570819824934, -0.09531137347221375, 0.0043378048576414585, -0.02906578965485096, -0.014532807283103466, -0.024240614846348763, 0.011706520803272724, 0.0377950482070446, -0.022476011887192726, -0.051461052149534225, 0.035619258880615234, 0.003782047191634774, 0.032975535839796066, -0.003171265358105302, 0.01471550203859806, 0.00859566405415535, -0.037991996854543686, 0.012490840628743172, 0.0707855224609375, -0.0005206859786994755, -0.032848767936229706, -0.03081507794559002, 0.03669735789299011, 0.0032275484409183264, 0.029399769380688667, -0.02501884661614895, 0.019841168075799942, 0.005744128488004208, 0.02205577678978443, -0.049914129078388214, 0.04228496924042702, -0.015421781688928604, 0.00802164152264595, -0.021214142441749573, -0.06642527878284454, 0.027668874710798264, 0.0443781241774559, 0.05085587501525879, -0.00401235232129693, -0.031569357961416245, -0.016661327332258224, -0.0329689085483551, -0.0392538458108902, -0.01974293775856495, 0.004867855459451675, 0.03423682227730751, -0.010440496727824211, -0.011455373838543892, -0.0447724387049675, 0.0012958567822352052, 0.008153068833053112, 0.023409880697727203, -0.05270081013441086, -0.05136070400476456, -0.02365853451192379, -0.013526048511266708, 0.016722671687602997, 0.029824476689100266, -0.004792001098394394, 0.03863181546330452, 0.024356869980692863, -0.04516249895095825, 0.001368123572319746, -0.005289770197123289, -0.028712520375847816, -0.029510589316487312, -0.01563146710395813, -0.004653729498386383, -0.02818220853805542, 0.05472878739237785, 0.009457513689994812, 0.009757227264344692, 0.03554703667759895, -0.005381793715059757, 0.041407253593206406, -0.021284664049744606, 0.010940738022327423, 0.00349341775290668, 0.00897563248872757, -0.08625520765781403, 0.02565637044608593, -0.05632051080465317, -0.04005486145615578, -0.032527778297662735, 0.03330587223172188, -0.029014192521572113, -0.024206262081861496, -0.005800168961286545, 0.021414078772068024, -0.05666816234588623, -0.055614981800317764, -0.037678517401218414, 0.021581590175628662, 0.06630222499370575, -0.02302415668964386, 0.017764298245310783, -0.024151884019374847, -0.008807914331555367, -0.003651844337582588, 0.02004306949675083, -0.06354784220457077, 0.0030926098115742207, 0.011236476711928844, -0.002628875430673361, -0.0027679966297000647, -0.01738457940518856, 0.035555969923734665, 0.016253842040896416, 0.005091970786452293, -0.01966431736946106, 0.0028236268553882837, -0.0003033760003745556, 0.05453570932149887, -0.0159020833671093, 0.007689209654927254, 0.0014344548108056188, -0.014945199713110924, -0.033652812242507935, -0.03238620236515999, -0.0292726531624794, 0.000643670791760087, 0.030287547037005424, -0.047811977565288544, -0.07151658833026886, 0.023960815742611885, 0.052762750536203384, 0.017286011949181557, 0.003467559814453125, -0.006167943589389324, 0.017598502337932587, -0.022152436897158623, 0.01678502932190895, 0.06132177263498306, -0.0383879728615284, 0.0038492989260703325, -0.0036925706081092358, 0.01470557413995266, 0.016602059826254845, 0.0022588474676012993, -0.05438403785228729, -0.04308663308620453, -0.026661397889256477, -0.02064042165875435, -0.03177352249622345, -0.04660915955901146, -0.016563810408115387, 0.017295675352215767, -0.0065610953606665134, -0.041803594678640366, -0.01673123426735401, 0.003429714124649763, -0.01763935573399067, -0.007667680736631155, -0.010495904833078384, -0.03482432663440704, -0.004375217016786337, 0.0258552897721529, -0.02960364893078804, 0.01653154194355011, -0.024495229125022888, 0.03624381870031357, 0.01734893023967743, 0.0009635718306526542, -0.03313049301505089, -0.042740918695926666, 0.0008493632776662707, 0.010183281265199184, 0.035822149366140366, -0.003307945095002651, -0.005593253765255213, -0.02297345921397209, -0.011237774044275284, -0.03645559400320053, 0.01305743120610714, -0.02744337171316147, -0.03945353254675865, 0.0013080948265269399, 0.054517585784196854, 0.028066879138350487, 0.039129145443439484, 0.01024522352963686, -0.014927946962416172, 0.06899402290582657, -0.060381870716810226, -0.024069983512163162, -0.04266203194856644, -0.0582793690264225, 0.01853213645517826, 0.010130085982382298, 0.017696378752589226, -0.03498198464512825, 0.031609125435352325, 0.015836652368307114, 0.03500084578990936, 0.017659690231084824, -0.009382323361933231, 0.04648186266422272, -0.05693284794688225, 0.01973242685198784, -0.08839663118124008, 0.02339642308652401, 0.041013918817043304, 0.0096890302374959, -0.004448083695024252, -0.01476992666721344, -0.037328820675611496, 0.07979290932416916, -0.053713131695985794, -0.011176595464348793, 0.05262647569179535, 0.01598379760980606, -0.005317129194736481, 0.01616627909243107, -0.0768374428153038, 0.01830378547310829, 0.04179501160979271, -0.038128241896629333, -0.005167028401046991, -0.023601248860359192, 0.05426175147294998, 0.0019156425260007381, 0.020530059933662415, -0.021610161289572716, -0.0027973023243248463, 0.055229466408491135, 0.02154412679374218, 0.02196556329727173, 0.042423225939273834, -0.029624298214912415, 0.048131752759218216, 0.032438576221466064, -0.00004534275649348274, -0.02397342212498188, 0.030839860439300537, 0.015276260673999786, -0.03599955886602402, 0.028404060751199722, 0.004158301744610071, -0.0400707833468914, -0.03414693847298622, 0.06963351368904114, 0.028092944994568825, -0.040846846997737885, -0.048530954867601395, 0.008887366391718388, -0.0807940810918808, -0.017339810729026794, -0.016756614670157433, 0.004915312863886356, -0.028344685211777687, 0.048144690692424774, -0.003578544594347477, -0.019976021721959114, 0.07208946347236633, -0.008414356037974358, -0.015612644143402576, -0.02990943379700184, 0.07787809520959854, 0.06895272433757782, 0.07455413043498993, 0.006370930001139641, 0.04255026951432228, -0.013290250673890114, -0.026905719190835953, 0.03256289288401604, 0.00701863644644618, -0.00993134081363678, -0.047084320336580276, 0.03032473474740982, 0.05551617592573166, -0.003908025100827217, 0.06447717547416687, -0.011016983538866043, 0.00925273634493351, 0.00719151645898819, 0.04744089022278786, 0.017854847013950348, 0.08517681807279587, 0.01599797233939171, -0.014470258727669716, 0.001408422365784645, -0.04234212264418602, 0.023181157186627388, -0.03754214197397232, 0.006387739907950163, 0.014966986142098904, 0.003157832892611623, -0.00018271109729539603, 0.021772142499685287, 0.018275782465934753, 0.07579932361841202, -0.030832016840577126, 0.011125058867037296, -0.011509156785905361, 0.056623298674821854, -0.003434631507843733, 0.011533109471201897, -0.026126287877559662, -0.03968289494514465, 0.0066286856308579445, -0.037133410573005676, -0.03353135287761688, -0.0032863132655620575, -0.002818598411977291, 0.03846833482384682, -0.02341838739812374, -0.0031063631176948547, 0.009052636101841927, 0.0350516103208065, -0.04508324712514877, -0.062264952808618546, -0.05570561811327934, -0.04089934006333351, -0.038581810891628265, -0.03783310577273369, 0.017345072701573372, -0.003360738279297948, -0.0359758585691452, -0.005315512418746948, -0.04341990873217583, -0.04681108891963959, 0.031558819115161896, -0.037609539926052094, -0.027816615998744965, 0.03031393140554428, 0.016801992431282997, 0.04553137719631195, 0.012598592787981033, 0.01335381530225277, 0.011449290439486504, -0.008327935822308064, -0.0318683385848999, -0.003992793150246143, 0.030489081516861916, -0.0037633925676345825, 0.013765919953584671, -0.09201313555240631, 0.024401988834142685, 0.018867917358875275, 0.016937606036663055, -0.06551524251699448, 0.040288303047418594, -0.02152501419186592, -0.012222649529576302, 0.07012196630239487, -0.03425031900405884, 0.0088364752009511, -0.0041186390444636345, -0.007036010734736919, -0.022946150973439217, 0.0359315350651741, 0.037280675023794174, -0.020958058536052704, 0.08602797985076904, -0.005002995021641254, -0.0011034936178475618, -0.04261093586683273, 0.0008893863414414227, -0.0023594729136675596, -0.005024760961532593, -0.013071157038211823, -0.027953416109085083, -0.023061757907271385, -0.06476445496082306, 0.01211292389780283, 0.017144786193966866, -0.01084792148321867, -0.030529437586665154, 0.007920987904071808, 0.016119204461574554, -0.051772285252809525, 0.030741902068257332, -0.038246769458055496, 0.03295138478279114, -0.02658986486494541, -0.02214614488184452, 0.036524295806884766, -0.0012852572835981846, -0.015394474379718304, 0.009319589473307133, 0.007050595246255398, -0.037862587720155716, -0.008347705006599426, 0.008192822337150574, 0.03273242712020874, 0.01917216181755066, -0.00759884575381875, 0.00426630862057209 ]
[ -0.0993066132068634, -0.01047668419778347, -0.006721934303641319, -0.04355781152844429, 0.04226486012339592, -0.03851047903299332, -0.007855105213820934, 0.020135868340730667, -0.015261422842741013, -0.031964439898729324, -0.00844248104840517, -0.010465001687407494, -0.009262464940547943, -0.0008953635697253048, 0.07972541451454163, 0.011443961411714554, -0.020613443106412888, -0.054408613592386246, 0.021671442314982414, 0.02067902870476246, 0.015102640725672245, -0.003372820559889078, -0.052253153175115585, -0.00510333850979805, 0.01671413891017437, 0.05559949949383736, 0.03063994273543358, -0.02445278875529766, 0.0005420453962869942, -0.19180795550346375, 0.007617412135004997, 0.02102329395711422, 0.053454071283340454, -0.01517480332404375, 0.004209516569972038, 0.05070561543107033, -0.0011284226784482598, 0.029722480103373528, -0.010074318386614323, 0.044403135776519775, 0.03150048479437828, 0.026983967050909996, -0.05645012483000755, -0.03960401564836502, 0.020224548876285553, -0.009723860770463943, 0.022624079138040543, -0.03560896962881088, -0.006785899866372347, 0.018456855788826942, -0.0601828508079052, -0.04686831682920456, -0.022380780428647995, -0.029230233281850815, -0.009125594981014729, 0.027960846200585365, 0.036670755594968796, 0.07536710053682327, 0.003666150150820613, 0.017805732786655426, 0.007053338456898928, -0.024541150778532028, -0.13683323562145233, 0.09833990782499313, 0.062113113701343536, 0.06552679091691971, -0.031576007604599, -0.01865200698375702, 0.004327959381043911, 0.11202632635831833, -0.017932703718543053, -0.029446331784129143, -0.03373752534389496, 0.04848909378051758, 0.01103435829281807, -0.004886613227427006, -0.0045743053779006, 0.019513212144374847, 0.036075934767723083, -0.05851053446531296, -0.034904565662145615, -0.023972444236278534, -0.014500179328024387, -0.019604671746492386, -0.030502047389745712, 0.014077402651309967, -0.02712429314851761, 0.07421992719173431, 0.06984926760196686, 0.02147217094898224, 0.06961336731910706, -0.026090772822499275, 0.029827434569597244, -0.014077318832278252, -0.06629911810159683, -0.020480720326304436, -0.007894283160567284, 0.012803719379007816, -0.056118786334991455, 0.4294121563434601, -0.03814774379134178, -0.04203750565648079, 0.06359907984733582, 0.036289867013692856, -0.0070149763487279415, -0.006233653984963894, 0.019715214148163795, -0.02962314710021019, 0.02556781657040119, -0.030016036704182625, 0.006231941282749176, 0.01504390500485897, 0.07056645303964615, -0.04363657161593437, -0.000496045162435621, 0.02792634442448616, 0.006950261536985636, 0.013994471170008183, 0.004600665997713804, -0.003895493922755122, 0.0023519620299339294, 0.008684162981808186, -0.0011504496214911342, -0.0014214334078133106, 0.0007844126666896045, -0.028173990547657013, 0.017056802287697792, 0.05750099569559097, 0.0028969268314540386, 0.015313299372792244, 0.08039619028568268, -0.034264903515577316, -0.06357671320438385, 0.007318842224776745, -0.0004792135732714087, 0.02164197899401188, 0.023806219920516014, -0.004525813739746809, -0.003135326551273465, 0.03610300272703171, 0.000041679337300593033, 0.007127339486032724, 0.023741334676742554, -0.006487848702818155, -0.04978837072849274, 0.1036616638302803, -0.0180820282548666, -0.022702539339661598, -0.014589508064091206, -0.05414961278438568, 0.015163215808570385, 0.02402055636048317, 0.0028530999552458525, -0.06276814639568329, 0.02583909220993519, 0.011396976187825203, 0.1139681413769722, -0.01354918535798788, -0.05427313596010208, -0.021123593673110008, -0.034674499183893204, -0.007205600384622812, -0.059870921075344086, 0.014991366304457188, 0.07877583801746368, -0.07367313653230667, 0.005617187358438969, -0.025772880762815475, 0.04320549592375755, -0.06788691133260727, -0.01875957101583481, 0.027006100863218307, -0.014619146473705769, -0.01657269522547722, 0.06775124371051788, -0.031588099896907806, -0.007018215022981167, 0.021329762414097786, 0.07375212758779526, 0.015865225344896317, 0.02691088430583477, 0.004981954116374254, -0.03393007069826126, 0.007458993699401617, -0.029862992465496063, -0.07589924335479736, -0.0358165018260479, 0.0009453482925891876, -0.041388221085071564, -0.00973934680223465, -0.033696774393320084, -0.0075677852146327496, -0.08901995420455933, 0.07584276795387268, -0.044062383472919464, -0.022964879870414734, 0.015009764581918716, -0.019885625690221786, -0.03343849256634712, -0.019342990592122078, -0.01576184667646885, 0.04419935494661331, -0.01766332983970642, 0.027422115206718445, -0.06950576603412628, 0.06482227891683578, 0.04694155231118202, -0.05363762006163597, 0.08921855688095093, 0.062196552753448486, -0.04903770983219147, -0.026732459664344788, 0.05300136283040047, 0.014767477288842201, 0.013009389862418175, -0.033680908381938934, -0.012954004108905792, 0.029412178322672844, 0.012690603733062744, 0.009787105023860931, -0.02926187589764595, 0.0022151165176182985, 0.01415145955979824, -0.3285314738750458, -0.033400435000658035, -0.017451653257012367, -0.006296394858509302, 0.02819068357348442, -0.06855300068855286, 0.010121134109795094, -0.0398629754781723, -0.034408941864967346, -0.00750324223190546, 0.08232114464044571, -0.01808065176010132, 0.024671459570527077, -0.09117601811885834, -0.0005062116542831063, 0.002877374878153205, -0.024091241881251335, 0.0007626382866874337, -0.03833865001797676, 0.008658082224428654, 0.0015838735271245241, -0.014449255540966988, 0.006106698419898748, -0.07598724961280823, -0.012934309430420399, -0.042902518063783646, 0.09767788648605347, -0.04303060099482536, 0.11926978826522827, -0.01487509161233902, 0.03877412900328636, -0.027807116508483887, 0.03611771762371063, -0.1088985949754715, 0.022476397454738617, -0.0022246120497584343, -0.0013916867319494486, -0.005911364685744047, 0.033060699701309204, -0.05203236639499664, -0.01717209629714489, -0.002900636289268732, -0.06732187420129776, -0.025720663368701935, -0.06761372834444046, 0.016163267195224762, -0.03963993862271309, -0.04090413451194763, -0.04332389682531357, 0.05771978199481964, -0.0006091280956752598, -0.01165013201534748, -0.009349115192890167, 0.013050742447376251, -0.0017093491042032838, -0.04153936728835106, -0.07476558536291122, 0.02216382324695587, 0.016233205795288086, -0.003481073072180152, 0.016828961670398712, 0.08395809680223465, 0.027221878990530968, -0.05331163480877876, 0.007866131141781807, 0.02220057137310505, -0.008056866005063057, -0.005415726453065872, 0.044854242354631424, -0.028185730800032616, -0.0059835538268089294, 0.08134971559047699, 0.005205418448895216, -0.030569138005375862, 0.006098850164562464, 0.0421798937022686, -0.01804410107433796, 0.0540253110229969, 0.0034448381047695875, -0.013839268125593662, 0.01030275784432888, -0.007992073893547058, 0.009566493332386017, -0.039790429174900055, -0.015838494524359703, 0.034576449543237686, -0.011174256913363934, -0.04630393162369728, 0.039397746324539185, 0.030185312032699585, -0.024258868768811226, -0.0005158698768354952, -0.00021653588919434696, -0.05055658891797066, 0.10124187171459198, -0.015075248666107655, -0.2425018697977066, -0.00032145451405085623, 0.061332814395427704, 0.042051732540130615, -0.02755919098854065, 0.031039537861943245, 0.03375270962715149, -0.048979561775922775, -0.00418121600523591, -0.013911254703998566, 0.001242944155819714, 0.014743640087544918, -0.0010071519063785672, -0.017124976962804794, 0.059455063194036484, -0.011641250923275948, 0.05251001566648483, -0.003467702539637685, 0.014506345614790916, 0.0010212624911218882, 0.022498909384012222, -0.006821952294558287, 0.15794865787029266, -0.0026336293667554855, 0.06270939111709595, 0.009211700409650803, 0.008674976415932178, 0.007381282281130552, 0.10618142038583755, 0.0187994372099638, 0.010176890529692173, -0.006365050096064806, 0.039664238691329956, -0.00012909706856589764, 0.017344918102025986, -0.06101895123720169, -0.03664200007915497, 0.03179047256708145, 0.028663206845521927, 0.018575703725218773, 0.016022587195038795, -0.0018622766947373748, -0.039530642330646515, -0.0009770027827471495, 0.061931923031806946, 0.02738318406045437, -0.007835309952497482, -0.042562324553728104, -0.05219070985913277, -0.006571486592292786, -0.044348299503326416, -0.025136349722743034, -0.001013686298392713, -0.0025502436328679323, 0.008073669858276844, 0.07046913355588913, 0.007584676146507263, -0.01859945058822632, -0.017840826883912086, 0.007264820393174887, -0.001085457974113524, -0.029534846544265747, 0.13512922823429108, 0.021562935784459114, 0.008177588693797588 ]
[ -0.002544970251619816, -0.007543941028416157, -0.004844047594815493, 0.0033731088042259216, -0.034228693693876266, 0.011116748675704002, 0.002467112150043249, -0.00628612982109189, 0.013255417346954346, -0.023369168862700462, 0.0020324550569057465, 0.024308521300554276, 0.0018568997038528323, -0.0001333259278908372, 0.013028220273554325, -0.010364807210862637, 0.009986687451601028, 0.010234043002128601, 0.037606511265039444, -0.010296671651303768, -0.027350176125764847, -0.002386955078691244, 0.0011451311875134706, -0.0026568740140646696, 0.005640617571771145, 0.02788436785340309, -0.011064564809203148, 0.0239045899361372, 0.03137791529297829, -0.14217403531074524, -0.019434956833720207, -0.019115347415208817, 0.008511199615895748, 0.008389269933104515, 0.00040119056939147413, -0.007923752069473267, 0.003791986033320427, 0.0175896305590868, 0.008765595965087414, 0.019932769238948822, 0.022264257073402405, 0.0015499888686463237, 0.016791457310318947, -0.017940115183591843, -0.005510161630809307, 0.018697630614042282, -0.016739634796977043, -0.010261974297463894, 0.0014897049404680729, -0.04512162134051323, -0.00297814910300076, 0.0007877987809479237, 0.003902944503352046, -0.014025215990841389, 0.03564412519335747, -0.028619544580578804, 0.03467797487974167, -0.016399864107370377, 0.014654948376119137, -0.000049146801757160574, -0.0011916587827727199, -0.00262326723895967, -0.051499608904123306, -0.01633029617369175, -0.013538636267185211, -0.0009903822792693973, -0.009687788784503937, 0.03092913143336773, -0.002387919230386615, -0.0016923962393775582, -0.005530489142984152, 0.01945357955992222, -0.01993432454764843, -0.016963571310043335, 0.020357416942715645, 0.004861733410507441, 0.006346290465444326, -0.0033047327306121588, 0.007507300470024347, -0.029178587719798088, -0.03025968372821808, 0.016801489517092705, 0.01515449769794941, 0.015070018358528614, -0.03253926709294319, 0.017584262415766716, -0.006132137030363083, -0.02125704661011696, 0.015907684341073036, 0.02293441817164421, -0.017078114673495293, 0.02505970187485218, -0.010077307932078838, -0.008035884238779545, -0.046587247401475906, -0.008748103864490986, -0.012086431495845318, -0.03870966285467148, 0.013570650480687618, 0.8750105500221252, 0.01434184331446886, 0.010999594815075397, 0.018729882314801216, 0.005663274321705103, 0.029121363535523415, 0.01576836220920086, 0.011141309514641762, 0.026224704459309578, 0.0001870429259724915, -0.01887701451778412, -0.005819553509354591, 0.0017368763219565153, 0.023651957511901855, 0.01244914997369051, 0.023232705891132355, 0.01696806401014328, 0.01125336717814207, -0.00014926589210517704, -0.029780229553580284, 0.029287206009030342, 0.009548706002533436, 0.006161082070320845, 0.0006821703864261508, -0.014136740937829018, 0.01730789989233017, -0.17606179416179657, -0.011860974133014679, -8.134164502984956e-33, 0.02991572767496109, -0.010335377417504787, -0.0023151373025029898, 0.00584516441449523, -0.0003286030259914696, 0.016065195202827454, 0.015816116705536842, 0.013805953785777092, 0.004973454866558313, -0.007966650649905205, 0.0005113891675136983, -0.036853987723588943, -0.009927193634212017, -0.016120972111821175, -0.0004528610152192414, -0.009965132921934128, -0.01858578808605671, 0.01124135497957468, -0.018585480749607086, 0.033421557396650314, 0.015945574268698692, 0.000194762455066666, 0.0039763255044817924, 0.001249327789992094, -0.003644055686891079, 0.005865948740392923, 0.021680058911442757, 0.03866118937730789, 0.022687233984470367, -0.04765571653842926, -0.014564069919288158, 0.014047965407371521, -0.035805974155664444, -0.038526445627212524, -0.009745475836098194, -0.029147224500775337, -0.0029140247497707605, -0.01212362851947546, 0.00410722941160202, -0.005326798651367426, -0.04644385725259781, -0.015410332940518856, -0.05531109496951103, -0.0035936012864112854, -0.015711098909378052, -0.017418252304196358, -0.006735070142894983, 0.020679838955402374, 0.004769358783960342, -0.0038147487211972475, 0.024334382265806198, 0.055653076618909836, 0.006665592081844807, -0.006948524620383978, -0.010820257477462292, -0.013767008669674397, -0.03610490262508392, 0.003715479513630271, 0.007072980981320143, 0.04095005616545677, 0.028161728754639626, 0.02888769470155239, -0.03721163794398308, 0.030883369967341423, 0.023324238136410713, -0.0011848255526274443, 0.015821894630789757, 0.013059156015515327, 0.004981326404958963, -0.016066288575530052, -0.05157633498311043, -0.024515558034181595, -0.008558989502489567, 0.005752601195126772, 0.022021247074007988, -0.024222999811172485, 0.009696091525256634, 0.021148398518562317, -0.008027012459933758, 0.011671153828501701, -0.02477458491921425, -0.015613584779202938, 0.018426422029733658, -0.01070625800639391, -0.0069760046899318695, -0.013352773152291775, 0.036486875265836716, -0.030089791864156723, -0.02550290711224079, 0.029020188376307487, 0.044977881014347076, -0.015228502452373505, 0.021692000329494476, 0.01881217397749424, -0.018693674355745316, 8.332889904515126e-33, -0.0068036518059670925, -0.00967421568930149, -0.03503328934311867, 0.011171500198543072, 0.0007015721057541668, -0.02947969362139702, 0.01105934102088213, 0.014209357090294361, -0.04275759309530258, 0.036737699061632156, 0.00847402773797512, 0.019596006721258163, -0.014897570013999939, 0.01831631362438202, 0.07377050071954727, -0.007245352957397699, 0.0026621853467077017, -0.043698664754629135, 0.022979550063610077, -0.012373680248856544, 0.012950154952704906, 0.004402740392833948, 0.005047353450208902, -0.010828480124473572, -0.007996496744453907, 0.06920743733644485, -0.02227485552430153, 0.013514239341020584, 0.010203130543231964, 0.005778391379863024, -0.011319519020617008, -0.02689068391919136, 0.02084212936460972, 0.009613563306629658, -0.0024677228648215532, 0.005525186192244291, 0.006937413476407528, -0.019636642187833786, -0.0019581783562898636, 0.01764361374080181, 0.004314647987484932, 0.00399620970711112, 0.0008705345098860562, 0.02607487328350544, 0.008469979278743267, 0.029583944007754326, 0.009040352888405323, 0.006029946263879538, 0.004049393814057112, 0.01325150951743126, -0.009954842738807201, 0.01102376263588667, 0.008247640915215015, -0.008893005549907684, 0.009721734561026096, -0.025163013488054276, -0.004196451976895332, -0.009477680549025536, 0.0020209476351737976, 0.02932642586529255, -0.029182853177189827, -0.03155789151787758, -0.003289345884695649, 0.004697796422988176, -0.03541729599237442, -0.012311311438679695, -0.024244146421551704, -0.01850588247179985, 0.01012282632291317, -0.004058792721480131, -0.009975734166800976, 0.020078420639038086, -0.009223653934895992, 0.020308591425418854, 0.015803910791873932, -0.027275029569864273, -0.018954899162054062, 0.015065275132656097, -0.02622714452445507, 0.026714978739619255, 0.009049855172634125, 0.023089459165930748, 0.01764201559126377, 0.0015088880900293589, -0.007787193637341261, 0.04234594106674194, -0.034587740898132324, 0.014213471673429012, 0.016780631616711617, -0.026445088908076286, -0.015037682838737965, 0.006903651636093855, -0.0019688215106725693, 0.017944280058145523, -0.002261390211060643, -1.3773705731523478e-8, -0.008547996170818806, 0.01685166358947754, -0.011308976449072361, 0.00970105454325676, 0.011635784059762955, 0.027570536360144615, -0.02096906304359436, 0.020940912887454033, -0.055955253541469574, 0.011749276891350746, 0.043335117399692535, 0.004860489629209042, -0.0006340728723444045, -0.026926398277282715, 0.020652733743190765, -0.04172533005475998, -0.009348014369606972, -0.031438108533620834, 0.02699403092265129, -0.006386888213455677, 0.014200382865965366, 0.07265149056911469, -0.023808833211660385, 0.014464636333286762, -0.010601341724395752, -0.020473847165703773, 0.019855203106999397, -0.07309791445732117, -0.014094955287873745, 0.008760759606957436, 0.006053821183741093, -0.03797803446650505, 0.003711362835019827, 0.023878490552306175, -0.018650982528924942, -0.059724852442741394, -0.017487479373812675, 0.016150932759046555, 0.03665049374103546, 0.022704480215907097, 0.0006806510500609875, 0.00531181413680315, -0.01449637208133936, -0.03477151319384575, -0.03999421000480652, -0.00827969703823328, -0.003888496430590749, -0.012869038619101048, -0.007842193357646465, -0.04269004240632057, -0.01200921181589365, 0.026099443435668945, 0.01735811121761799, 0.06967402249574661, 0.016236910596489906, 0.004500998184084892, -0.029592838138341904, -0.04785788804292679, -0.04057086631655693, -0.005033252295106649, -0.015467789955437183, 0.039353642612695694, -0.017538614571094513, -0.03678206726908684 ]
coding-hack-then-revert
https://markhneedham.com/blog/2013/08/19/coding-hack-then-revert
false
2013-08-26 17:58:58
Clojure/Enlive: Screen scraping a HTML file from disk
[ "clojure", "enlive" ]
[ "Clojure" ]
I wanted to play around with some Champions League data and I came across the http://www.rsssf.com/ec/[Rec Sport Soccer Statistics Foundation] which has collected results of all matches since the tournament started in 1955. I wanted to get a list of all the matches for a specific season so I started out by downloading the file: [source,bash] ---- $ pwd /tmp/football $ wget http://www.rsssf.com/ec/ec200203det.html ---- The next step was to load that page and then run a CSS selector over it to extract the matches. In Ruby land I usually use http://nokogiri.org/[nokogiri] or http://rubygems.org/gems/selenium-webdriver[Web Driver] to do this but I'd heard that Clojure's https://github.com/cgrand/enlive[enlive] is good for this type of work so I thought I'd give it a try. I found a https://gist.github.com/AlexBaranosky/782367[couple] http://clj-me.cgrand.net/2009/04/27/screenscraping-with-enlive/[of examples] showing how to get started but they both seemed to rely on the web page being at a HTTP URI rather than on disk. I eventually spotted an example which http://stackoverflow.com/questions/11094837/is-there-a-parser-for-html-to-hiccup-structures[passed in HTML as a string] to +++<cite>+++html-resource+++</cite>+++ and decided to load the contents of my file as a string and then pass that in: [source,lisp] ---- (ns ranking-algorithms.parse (:use [net.cgrand.enlive-html])) (defn fetch-page [file-path] (html-resource (java.io.StringReader. (slurp file-path)))) ---- The next step was to take that page representation and extract the matches. Since the page isn't particularly well laid out for that purpose I ended up writing a regular expression to find the matching parts: [source,lisp] ---- (defn matches [file] (->> file fetch-page extract-rows (map extract-content) (filter recognise-match?))) (defn extract-rows [page] (select page [:div.Section1 :p :span])) (defn extract-content [row] (first (get row :content))) (defn recognise-match? [row] (and (string? row) (re-matches #"[a-zA-Z\s]+-[a-zA-Z\s]+ [0-9][\s]?.[\s]?[0-9]" row))) ---- The interesting part is +++<cite>+++extract-rows+++</cite>+++ where we apply the CSS selector 'div.Section1 p span', the only difference being that we prefix the selector with ':'. We then filter everything through +++<cite>+++recgonise-match?+++</cite>+++ to find the matches since almost every row of the page is returned by our CSS selector. Unfortunately I don't think there is a more specific selector that I could have used. When I execute that function I ended up with the following output: [source,text] ---- > (matches "/tmp/football/ec200203det.html") ( ... "Lokomotiv\nMoskou-Borussia Dortmund 1 - 2" "Borussia\nDortmund-AC Milan 0 - 1" "Real\nMadrid-Lokomotiv Moskou 2 - 2" "Real\nMadrid-Borussia Dortmund 2 - 1" "AC Milan-Lokomotiv\nMoskou 1 - 0" "Borussia Dortmund-Real\nMadrid 1 - 1" "Lokomotiv\nMoskou-AC Milan 0 - 1" ... ) ---- The next step was to split out the strings into a structure that I can use in a rankings algorithm so I applied another function to each string to pull out the appropriate parts: [source,lisp] ---- (defn matches [file] (->> file fetch-page extract-rows (map extract-content) (filter recognise-match?) (map as-match))) (defn cleanup [word] (clojure.string/replace word "\n" " ")) (defn as-match [row] (let [match (first (re-seq #"([a-zA-Z\s]+)-([a-zA-Z\s]+) ([0-9])[\s]?.[\s]?([0-9])" row))] {:home (cleanup (nth match 1)) :away (cleanup (nth match 2)) :home_score (nth match 3) :away_score (nth match 4)})) ---- If we run the function now we get a much nicer output to play with: [source,text] ---- > (matches "/tmp/football/ec200203det.html") ( ... {:home "AC Milan", :away "Internazionale Milaan", :home_score "0", :away_score "0"} {:home "Juventus Turijn", :away "Real Madrid", :home_score "3", :away_score "1"} {:home "Internazionale Milaan", :away "AC Milan", :home_score "1", :away_score "1"} ) ----
null
null
[ -0.01659698784351349, -0.024952182546257973, -0.018409620970487595, 0.0278963353484869, 0.06377347558736801, -0.024101847782731056, 0.019559115171432495, 0.05660870298743248, 0.037405259907245636, -0.02015739679336548, -0.0036431492771953344, -0.00771863991394639, -0.0884900912642479, -0.0021095918491482735, 0.012591209262609482, 0.07659164071083069, 0.05401436239480972, 0.022677913308143616, 0.022310057654976845, -0.028247583657503128, 0.022768210619688034, 0.09094660729169846, -0.015408003702759743, 0.04115601256489754, 0.04058883711695671, 0.004184824414551258, 0.020861247554421425, 0.017483189702033997, -0.06036069616675377, 0.020776981487870216, 0.0507161021232605, -0.0027130681555718184, 0.0018712098244577646, -0.02674991264939308, 0.020544661208987236, -0.04556494206190109, 0.004177931696176529, 0.00608994672074914, 0.00778941810131073, 0.007764209993183613, -0.06400690227746964, 0.015083064325153828, -0.03181019052863121, 0.027906538918614388, -0.02463713102042675, 0.026912430301308632, -0.017553891986608505, 0.02868349477648735, -0.026901626959443092, 0.0132132638245821, -0.035418931394815445, 0.01926652528345585, -0.02194802463054657, 0.0015906670596450567, -0.008275039494037628, 0.04283638298511505, 0.023181628435850143, -0.05004376918077469, 0.02476888708770275, -0.03519199416041374, -0.01917395368218422, 0.010936028324067593, 0.030776003375649452, 0.04123709723353386, 0.0036563219036906958, -0.028377408161759377, -0.017307128757238388, 0.03910059481859207, -0.022899189963936806, -0.03855525702238083, 0.010775461792945862, -0.009512724354863167, -0.0355636291205883, -0.00830109603703022, 0.06374599784612656, -0.04774809256196022, -0.015119771473109722, 0.05981414020061493, -0.016170326620340347, 0.05434096232056618, -0.02715885452926159, 0.017163705080747604, 0.012044561095535755, 0.017534438520669937, 0.009286007843911648, -0.041026707738637924, -0.06389962881803513, 0.0077896458096802235, -0.04112609103322029, 0.06402289122343063, 0.036415521055459976, -0.05325125530362129, 0.018675556406378746, 0.02374311350286007, 0.005046098493039608, 0.018308473750948906, 0.01870928518474102, 0.012526318430900574, -0.02781224437057972, -0.025676555931568146, -0.02848748303949833, 0.011672012507915497, 0.0105070685967803, -0.003409452037885785, -0.0736885666847229, 0.00793478637933731, -0.013275478035211563, 0.002165380399674177, 0.023800859227776527, -0.026141313835978508, -0.004804559051990509, -0.018346263095736504, -0.026289448142051697, -0.010595169849693775, -0.04431002214550972, 0.054997123777866364, 0.027546476572752, -0.05145678296685219, -0.01309935376048088, 0.0354502908885479, 0.014925067313015461, 0.003647525329142809, -0.004404325038194656, 0.062486011534929276, 0.006648763548582792, 0.03819458186626434, -0.00003175317760906182, 0.05969526991248131, -0.02556232176721096, -0.06855589896440506, -0.012202877551317215, 0.060200851410627365, -0.010886933654546738, 0.015640785917639732, -0.01545429602265358, -0.019229097291827202, 0.00264137820340693, -0.03335952386260033, 0.06724687665700912, 0.04291585087776184, -0.0342627689242363, -0.010879245586693287, 0.003224930027499795, 0.001918172580190003, 0.05101143196225166, -0.0060406895354390144, 0.010104179382324219, -0.03728100657463074, -0.022330917418003082, 0.007292306050658226, 0.046255115419626236, -0.02465120516717434, 0.05932139232754707, -0.019680030643939972, -0.012674120254814625, 0.10300995409488678, 0.04570845887064934, -0.008817228488624096, -0.016255859285593033, 0.001837183372117579, 0.045469705015420914, 0.046230681240558624, -0.012128432281315327, 0.048302456736564636, -0.013421340845525265, -0.03687793016433716, -0.010286347940564156, 0.06588256359100342, -0.010283730924129486, -0.004069296643137932, -0.05690903216600418, -0.0361337848007679, 0.07117017358541489, -0.03341339901089668, -0.019345244392752647, 0.0375174954533577, 0.07286490499973297, 0.021495893597602844, 0.0705505758523941, -0.028765063732862473, -0.06483377516269684, 0.017891520634293556, 0.02245272882282734, 0.03995336592197418, 0.028824806213378906, -0.022657962515950203, 0.1083240956068039, 0.02169446460902691, -0.011977641843259335, 0.034778889268636703, -0.09890632331371307, -0.07795543968677521, -0.048634015023708344, -0.010541776195168495, 0.06607849895954132, -0.04633977636694908, 0.0054267835803329945, 0.05251907557249069, 0.0029595952946692705, 0.010832760483026505, 0.01941291242837906, 0.025218581780791283, 0.01882973685860634, -0.06545735150575638, -0.052101921290159225, 0.029362650588154793, 0.02439930848777294, -0.04304168373346329, -0.04232192784547806, 0.015557916834950447, -0.03222648799419403, 0.03189389407634735, 0.017151275649666786, -0.029510239139199257, 0.014316706918179989, 0.018728209659457207, 0.04524742439389229, -0.014967020601034164, 0.040591806173324585, -0.056782931089401245, 0.0428493395447731, 0.015409593470394611, -0.008896308951079845, -0.02458062395453453, 0.007566472981125116, 0.12544678151607513, 0.0308235976845026, 0.023753724992275238, -0.047082118690013885, 0.023628225550055504, -0.0015377607196569443, -0.023765143007040024, 0.01222403347492218, -0.027504561468958855, -0.009074639528989792, -0.032681964337825775, -0.04774376377463341, -0.024522976949810982, -0.008937819860875607, -0.025354599580168724, 0.029780618846416473, 0.05193356052041054, 0.02045997604727745, 0.012377082370221615, 0.009071890264749527, -0.022213568910956383, -0.009773311205208302, -0.03764953464269638, -0.06048274412751198, -0.005658491048961878, 0.04501735419034958, -0.015581512823700905, -0.004794322419911623, -0.02748541161417961, -0.0239463709294796, -0.01557103544473648, -0.057689208537340164, 0.011218670755624771, 0.05045609921216965, 0.08487283438444138, 0.030754411593079567, 0.01001862995326519, -0.048687711358070374, 0.033588383346796036, -0.023009758442640305, -0.0518466979265213, -0.04858427494764328, -0.061782997101545334, -0.003340797731652856, 0.03157300874590874, 0.009770868346095085, 0.025533363223075867, 0.004845654591917992, 0.02076886035501957, -0.015993312001228333, 0.006812587380409241, 0.023589028045535088, -0.02565293200314045, -0.021614758297801018, -0.011430950835347176, -0.0305332038551569, 0.03218667954206467, -0.015176830813288689, -0.023933477699756622, -0.03583228960633278, -0.0465596504509449, 0.04368191957473755, -0.040771935135126114, -0.023720424622297287, -0.026164880022406578, -0.01110459491610527, 0.03870487958192825, 0.020808696746826172, 0.03162500634789467, 0.04659929499030113, 0.013134298846125603, 0.04033778980374336, 0.025644313544034958, 0.018691161647439003, 0.023872172459959984, -0.0017112036002799869, 0.013314741663634777, 0.037606820464134216, -0.03241909295320511, 0.03307104483246803, -0.030278317630290985, 0.017179083079099655, -0.040250834077596664, -0.28088778257369995, 0.038193803280591965, -0.0070805675350129604, -0.035460859537124634, 0.04611651599407196, -0.02654351107776165, -0.011113176122307777, -0.04184918850660324, -0.001221432234160602, 0.014214680530130863, -0.03700973466038704, -0.02267126739025116, -0.01350430864840746, 0.017420319840312004, 0.028668995946645737, -0.0068298643454909325, 0.004400722216814756, -0.050811756402254105, 0.0018211050191894174, 0.02592920884490013, 0.004474221728742123, -0.04477829486131668, 0.025204330682754517, 0.07028103619813919, 0.009884480386972427, 0.0727994292974472, -0.06356177479028702, 0.0018167971866205335, -0.011868961155414581, -0.017185594886541367, 0.04952043294906616, -0.04254172369837761, 0.0029955878853797913, -0.013967834413051605, -0.02458220161497593, -0.008224147371947765, 0.05361431837081909, 0.012346017174422741, 0.018915358930826187, -0.003651126055046916, -0.053180303424596786, -0.021928993985056877, 0.0033968472853302956, -0.023779969662427902, 0.08368990570306778, -0.0035012566950172186, -0.048612676560878754, -0.017307788133621216, -0.031122298911213875, 0.09853887557983398, -0.05206112936139107, -0.05608990415930748, -0.006307497154921293, 0.03614325448870659, 0.00971867423504591, -0.02917076088488102, -0.01962379924952984, -0.007120867259800434, -0.026928722858428955, -0.0498148538172245, 0.007516141515225172, -0.04519630968570709, -0.02009580098092556, -0.05893322452902794, -0.01593945175409317, -0.04912206158041954, -0.027156207710504532, 0.018328048288822174, 0.06224987655878067, 0.02627646178007126, -0.03818710893392563, 0.010354846715927124, -0.009428516030311584, -0.10044561326503754, -0.010985013097524643, -0.014242826029658318, -0.03234076127409935, -0.011692686937749386, -0.01409180462360382, 0.06381232291460037, -0.07091409713029861, -0.031278740614652634, 0.01051353570073843, 0.03036874532699585, 0.024376200512051582, -0.02575414814054966, 0.02178577333688736, -0.0025826427154242992, -0.0016366045456379652, -0.028143294155597687, 0.0876472219824791, -0.06424696743488312, -0.013691427186131477, 0.007402817253023386, 0.0020118835382163525, 0.05111364275217056, 0.002474288223311305, 0.00652995053678751, 0.04288402944803238, 0.049105338752269745, 0.03420376405119896, -0.035520777106285095, 0.0215262733399868, -0.01724068447947502, -0.00701036024838686, 0.01214534230530262, -0.049866266548633575, 0.0018246276304125786, 0.04050205275416374, 0.019686514511704445, -0.005381859373301268, -0.03591957315802574, -0.01795482076704502, -0.023006483912467957, -0.0170873012393713, -0.01457059383392334, 0.023912638425827026, -0.009071534499526024, 0.006174751557409763, -0.014317466877400875, -0.056373920291662216, -0.00998692773282528, 0.005044085439294577, -0.04527221992611885, -0.057145748287439346, -0.041920460760593414, 0.014538852497935295, -0.028634805232286453, -0.0017345031956210732, -0.008638273924589157, -0.031091133132576942, 0.013858694583177567, 0.009336295537650585, -0.013616095297038555, 0.02225579135119915, -0.010783319361507893, -0.03487710654735565, -0.03468983247876167, 0.01811135560274124, 0.014678643085062504, -0.008462628349661827, -0.0038840528577566147, 0.011812089942395687, 0.04739571362733841, 0.06417043507099152, 0.011209444142878056, 0.02621106617152691, 0.027763282880187035, -0.020281286910176277, 0.003264804370701313, -0.02681122161448002, -0.027130059897899628, 0.030414659529924393, -0.02427159622311592, -0.02767021395266056, -0.008803803473711014, 0.024364039301872253, 0.0074840751476585865, -0.04376586899161339, -0.04538092762231827, 0.02519971877336502, -0.0470038577914238, 0.009866319596767426, 0.014015773311257362, -0.013701637275516987, 0.054529763758182526, 0.019926222041249275, 0.033797092735767365, 0.017764074727892876, -0.013391319662332535, -0.0037516069132834673, -0.017109932377934456, -0.02598046325147152, -0.0015207494143396616, -0.03898734226822853, -0.008592753671109676, 0.027729293331503868, 0.030571093782782555, 0.018695926293730736, 0.014374620281159878, -0.022374575957655907, -0.020209359005093575, 0.029918711632490158, 0.039132289588451385, 0.039764516055583954, 0.030226070433855057, -0.040705010294914246, 0.0021792729385197163, -0.012939319014549255, -0.010588197968900204, -0.028706302866339684, 0.008312948979437351, -0.02930820919573307, -0.004189383704215288, -0.02784613147377968, -0.09518058598041534, 0.006419303361326456, -0.004395612049847841, -0.001521501806564629, -0.007905883714556694, 0.006073166150599718, -0.03311982378363609, -0.020558930933475494, 0.00942661240696907, 0.02700810506939888, -0.044185612350702286, -0.013138418085873127, -0.01943603903055191, 0.0049723912961781025, 0.008180778473615646, 0.006495519541203976, -0.08052331954240799, 0.001865925150923431, -0.005581310950219631, 0.026929326355457306, -0.019443726167082787, -0.028482789173722267, -0.027299268171191216, -0.015547986142337322, -0.013712217099964619, 0.029231078922748566, 0.001798188779503107, -0.005739070940762758, 0.0025682009290903807, -0.02918785996735096, -0.016303077340126038, 0.009096122346818447, -0.03890102729201317, 0.007222157437354326, -0.006235036533325911, 0.02420082315802574, -0.02293277345597744, 0.061617620289325714, 0.011763154529035091, 0.022556941956281662, 0.006622765213251114, -0.02797681652009487, 0.016603367403149605, 0.017605269327759743, 0.06920260936021805, 0.011737602762877941, 0.0019511759746819735, -0.023145586252212524, 0.017585769295692444, -0.03420630469918251, 0.011660474352538586, -0.006048738490790129, -0.0005320014897733927, 0.03810861334204674, 0.04715798422694206, 0.02560412324965, 0.016718704253435135, -0.007455587387084961, -0.020330684259533882, 0.03890528529882431, -0.042788587510585785, -0.04143214598298073, -0.008679335936903954, -0.04055453836917877, 0.03022216446697712, 0.04497312009334564, 0.02745836414396763, -0.06470473110675812, 0.03682517260313034, 0.03523431345820427, -0.008643131703138351, 0.049991775304079056, -0.006991323083639145, 0.0294723492115736, -0.02113533392548561, -0.000730683037545532, -0.11690482497215271, 0.0004253619408700615, 0.08333349227905273, 0.01412905938923359, 0.02087322808802128, -0.009353484958410263, -0.040723368525505066, 0.01904359459877014, -0.056753043085336685, -0.04107802361249924, 0.02854377217590809, -0.031297676265239716, -0.007543725427240133, -0.011041908524930477, -0.06080135330557823, 0.0021272560115903616, 0.06967794895172119, -0.035953715443611145, -0.0004789462254848331, -0.06647135317325592, 0.03349350765347481, -0.02739424630999565, 0.017355801537632942, 0.005366294179111719, -0.024000944569706917, 0.0693001076579094, 0.013885585591197014, 0.002888173796236515, 0.037421803921461105, 0.0009360653930343688, 0.0264570489525795, 0.02162635140120983, -0.022072430700063705, 0.03493858128786087, 0.013106174767017365, -0.020926790311932564, -0.03347743675112724, 0.03244895860552788, 0.011455624364316463, -0.0007698264089412987, -0.052870430052280426, 0.08940103650093079, 0.030752107501029968, -0.05952414497733116, -0.055988702923059464, -0.005112975370138884, -0.03301197662949562, -0.004335036966949701, 0.00438154861330986, 0.012461629696190357, -0.03437281399965286, 0.044956326484680176, -0.0021317594218999147, -0.006824214942753315, 0.07125946879386902, 0.018163323402404785, -0.021879201754927635, 0.015670908614993095, 0.07479673624038696, 0.0740189328789711, 0.02390461601316929, -0.004291967023164034, 0.0758078396320343, -0.019344355911016464, -0.06565332412719727, 0.013588904403150082, -0.016669515520334244, 0.01206408441066742, 0.010627430863678455, -0.01443224772810936, 0.0214847419410944, -0.011771704070270061, 0.06651681661605835, -0.018625833094120026, -0.03228485584259033, -0.004516148008406162, 0.004218513611704111, 0.04523429274559021, 0.03133208677172661, 0.00814673863351345, 0.019825739786028862, -0.008634223602712154, -0.005250183865427971, 0.028512822464108467, -0.025424610823392868, -0.042711082845926285, 0.003990211524069309, -0.03684858977794647, 0.028996100649237633, 0.000010334791113564279, 0.04218468815088272, 0.06958997249603271, -0.02021200582385063, 0.012052417732775211, -0.0036535358522087336, 0.0033686738461256027, 0.005684713367372751, 0.01982257142663002, -0.021935148164629936, -0.021450379863381386, -0.03091171197593212, -0.06007756292819977, -0.030730169266462326, -0.019967135041952133, -0.037661511451005936, 0.0179421529173851, -0.014725628308951855, 0.02234332449734211, 0.02557147480547428, -0.004266608972102404, -0.0638076588511467, -0.03760119527578354, -0.07142452895641327, -0.05535335838794708, -0.07763703912496567, -0.035743508487939835, 0.01700805500149727, 0.03548407182097435, -0.0309239961206913, -0.03444139286875725, -0.006688451394438744, 0.004529948811978102, 0.018744895234704018, -0.03739989548921585, -0.023105960339307785, 0.021008336916565895, 0.03235423192381859, 0.028534090146422386, 0.018634190782904625, 0.059540074318647385, -0.013444850221276283, -0.015295479446649551, -0.029115257784724236, 0.00008787767728790641, 0.06496287137269974, 0.027826786041259766, -0.006123165134340525, -0.08013060688972473, 0.02331124059855938, 0.01427854411303997, -0.010688288137316704, -0.053899627178907394, 0.013909002766013145, 0.02409365028142929, 0.022263124585151672, 0.05427176132798195, -0.03045601397752762, 0.011359305121004581, -0.03553863987326622, -0.021994933485984802, 0.008739717304706573, 0.011488191783428192, 0.05134221538901329, 0.00006372712960001081, 0.0864047184586525, 0.019159521907567978, 0.026186350733041763, -0.06974494457244873, -0.023463474586606026, -0.039636414498090744, 0.019583160057663918, -0.03022361360490322, 0.004033974837511778, -0.08771316707134247, -0.06410205364227295, -0.05101805552840233, 0.019528446719050407, -0.04233425483107567, -0.03494535759091377, -0.008966234512627125, 0.030752986669540405, -0.007094957400113344, 0.012237722054123878, -0.027403000742197037, 0.021093549206852913, 0.001534308074042201, -0.02590196579694748, -0.02367151342332363, 0.03224588558077812, 0.05592190474271774, -0.0026588679756969213, 0.03170057386159897, -0.02695862576365471, 0.0075654261745512486, -0.00221224850974977, 0.013087534345686436, 0.030467204749584198, 0.00400044210255146, -0.0020193711388856173 ]
[ -0.08060069382190704, 0.01320134848356247, -0.04303525388240814, -0.04318549484014511, 0.08345131576061249, -0.021588513627648354, -0.0238548144698143, 0.024581899866461754, 0.026256700977683067, -0.012386973015964031, -0.010879836976528168, -0.07860930263996124, -0.00796959362924099, -0.019294455647468567, 0.05509738251566887, -0.029912423342466354, -0.02098081447184086, -0.05642891302704811, -0.03238971158862114, 0.02879011631011963, -0.014459207653999329, -0.0038845392409712076, -0.02599206194281578, -0.05199670419096947, -0.0031170127913355827, 0.022459328174591064, 0.05573765188455582, -0.03964967653155327, -0.03758612647652626, -0.19575181603431702, 0.015535988844931126, -0.0024083193857222795, 0.03025415726006031, 0.0018360752146691084, -0.013082105666399002, -0.008744277060031891, 0.02848491258919239, -0.007800924126058817, 0.026343049481511116, 0.03552302345633507, 0.009184702299535275, 0.005752195604145527, -0.04976511374115944, -0.01593228057026863, 0.048936862498521805, 0.003531465772539377, 0.015322355553507805, -0.0061760046519339085, 0.035758212208747864, 0.04006354510784149, -0.04614086449146271, 0.03715481981635094, 0.012534639798104763, -0.03729234263300896, -0.0005784861859865487, 0.05460455268621445, 0.04082154110074043, 0.07008261233568192, 0.004613364115357399, 0.050896402448415756, 0.011058663949370384, 0.006515945307910442, -0.15921476483345032, 0.10514502972364426, -0.014441682025790215, 0.03732345998287201, -0.043370723724365234, 0.01034545712172985, -0.0022877079900354147, 0.05211291089653969, -0.024063555523753166, -0.03406987711787224, -0.01230804342776537, 0.05401891469955444, 0.03301959112286568, -0.013672305271029472, -0.014358832500874996, -0.001843932899646461, 0.017210427671670914, -0.03260604292154312, -0.04077615588903427, 0.006069796159863472, -0.03463399410247803, -0.024809621274471283, -0.03994406759738922, 0.024811195209622383, -0.04139343276619911, 0.05770890414714813, 0.023601291701197624, 0.008671852760016918, 0.038430970162153244, -0.010011248290538788, 0.016432464122772217, 0.031855806708335876, -0.12371333688497543, -0.04449576511979103, -0.007256155833601952, 0.02338990569114685, 0.00003368412944837473, 0.430687814950943, -0.012515712529420853, -0.021362965926527977, 0.059088341891765594, 0.03686393424868584, 0.010211996734142303, -0.005637091118842363, 0.014549622312188148, -0.03717029094696045, -0.004764357581734657, -0.024015532806515694, -0.01183732133358717, -0.01758992113173008, 0.043445974588394165, -0.018887151032686234, 0.010683336295187473, 0.029861968010663986, 0.0402212031185627, 0.01301185879856348, -0.0032555873040109873, 0.027315862476825714, -0.026528984308242798, -0.018525736406445503, -0.0049102213233709335, -0.0048917061649262905, 0.0002774950989987701, 0.010972339659929276, 0.028669262304902077, 0.05339072644710541, 0.04670402780175209, 0.023518797010183334, 0.042159341275691986, -0.02198103815317154, -0.09804446250200272, -0.01322590559720993, -0.012786973267793655, -0.0011100864503532648, 0.01842617616057396, -0.022187869995832443, 0.0031252093613147736, 0.04185662418603897, -0.018603218719363213, -0.07377780973911285, 0.05919661372900009, -0.03212178498506546, -0.06149023026227951, 0.07822959870100021, 0.027921950444579124, -0.041532307863235474, -0.025455478578805923, -0.06326734274625778, 0.012596950866281986, 0.022763634100556374, 0.023246953263878822, -0.022629760205745697, -0.04577965289354324, 0.017533263191580772, 0.06283613294363022, -0.04130752757191658, -0.06844878196716309, -0.027233393862843513, -0.038260504603385925, -0.050091732293367386, -0.011525798588991165, 0.08316382765769958, 0.03758711367845535, -0.11204645037651062, -0.0260753370821476, 0.011072902008891106, -0.00132038164883852, -0.06138128042221069, 0.00593041954562068, -0.001751624746248126, -0.029259689152240753, 0.019702596589922905, 0.022807346656918526, 0.00388541747815907, -0.012079869396984577, -0.003704226575791836, 0.07292251288890839, 0.005563533399254084, 0.020811954513192177, -0.0020073072519153357, -0.05841251090168953, 0.010030874982476234, -0.04613703861832619, -0.06104138866066933, -0.07944568246603012, -0.01215855497866869, -0.008640440180897713, -0.0024857004173099995, -0.044494591653347015, -0.015595268458127975, -0.06658413261175156, 0.03210688382387161, -0.01751166395843029, 0.021333711221814156, -0.0035354504361748695, -0.031208662316203117, 0.01715792715549469, -0.03422955051064491, -0.023875832557678223, 0.009091817773878574, -0.020276498049497604, 0.021268228068947792, -0.04084766283631325, 0.030521752312779427, 0.04808952286839485, -0.03924337401986122, 0.08417131751775742, -0.01208177674561739, -0.023884806782007217, -0.024741707369685173, -0.025332573801279068, -0.008021659217774868, -0.006527777295559645, -0.008827700279653072, -0.002277447609230876, -0.018625395372509956, 0.020321505144238472, 0.04381792992353439, -0.03688576817512512, -0.02652241848409176, -0.01757108047604561, -0.33782249689102173, -0.02822207845747471, -0.03715262562036514, 0.011299289762973785, 0.03766096383333206, -0.02798154391348362, 0.015451555140316486, -0.022092293947935104, 0.03656189143657684, 0.05021239444613457, 0.11310633271932602, 0.004620478488504887, -0.02984861470758915, -0.09121721237897873, -0.00446753716096282, 0.011002716608345509, -0.02620132640004158, -0.01401802059262991, -0.018143203109502792, 0.04782337695360184, 0.0538187213242054, -0.04064759239554405, -0.02552757039666176, -0.01974857784807682, -0.00547158345580101, -0.06475870311260223, 0.1137261614203453, 0.050935935229063034, 0.04424045607447624, -0.08141650259494781, 0.03938110172748566, 0.0011941883713006973, 0.010246764868497849, -0.08771926164627075, 0.007562797982245684, -0.013003561645746231, 0.009546371176838875, -0.010789839550852776, 0.03671067953109741, -0.04521145671606064, -0.021067840978503227, 0.0122227743268013, -0.045968811959028244, -0.04736233502626419, -0.0277139600366354, 0.036651741713285446, 0.004861306864768267, -0.04061395674943924, -0.024674907326698303, 0.08338949829339981, 0.01715211756527424, -0.003699127584695816, 0.059629201889038086, -0.011773567646741867, 0.029372718185186386, -0.017080135643482208, -0.08281216025352478, -0.030398856848478317, 0.00868136715143919, -0.012739695608615875, 0.024223119020462036, 0.025506550446152687, 0.060285501182079315, -0.08699129521846771, 0.01348836999386549, 0.03194857016205788, 0.04194997623562813, -0.008239863440394402, 0.035300012677907944, -0.022429078817367554, -0.0366736501455307, 0.05806421861052513, 0.022607192397117615, 0.010617665946483612, 0.03168504312634468, 0.07213130593299866, 0.02506723441183567, 0.036013465374708176, 0.04622415080666542, 0.03355182334780693, 0.05176991969347, -0.014555270783603191, 0.06603056937456131, -0.036445118486881256, 0.005410540383309126, 0.0546303316950798, 0.01257447712123394, -0.0389251634478569, 0.04492197185754776, 0.02107713744044304, -0.012921248562633991, 0.017276441678404808, -0.034524571150541306, -0.025283046066761017, 0.044592905789613724, -0.006311736535280943, -0.26404663920402527, 0.031246758997440338, 0.08790130913257599, 0.04847153648734093, 0.030979318544268608, -0.006245801690965891, 0.026261206716299057, -0.04567750543355942, -0.023706817999482155, 0.013932967558503151, 0.023383671417832375, 0.015778176486492157, -0.012709362432360649, -0.033289484679698944, 0.02486962266266346, -0.025270776823163033, 0.040385808795690536, -0.004367490764707327, 0.011537940241396427, 0.04635220766067505, 0.034295421093702316, -0.029473822563886642, 0.14965085685253143, 0.006214050576090813, 0.02751113660633564, 0.07679226249456406, -0.007396585773676634, -0.026428913697600365, 0.03967779129743576, 0.021809324622154236, 0.021534927189350128, -0.0025331114884465933, 0.036728162318468094, 0.05578974634408951, -0.015644723549485207, -0.01963871903717518, -0.011052739806473255, 0.07442370802164078, -0.006597250234335661, -0.0477512963116169, -0.0030427463352680206, 0.048862896859645844, -0.045878827571868896, 0.02038094773888588, 0.062081269919872284, 0.022848214954137802, 0.01602032035589218, -0.02614590711891651, -0.04619600251317024, -0.020779917016625404, -0.040078483521938324, -0.057230234146118164, -0.010570510290563107, -0.01711582951247692, 0.0022631685715168715, 0.0489056222140789, 0.038132473826408386, -0.03316230699419975, 0.03623566776514053, 0.007381995674222708, 0.0008339720661751926, -0.013738864101469517, 0.07893060892820358, 0.003876113798469305, 0.04006947949528694 ]
[ -0.009393375366926193, 0.032478395849466324, -0.02572658285498619, -0.005756065249443054, 0.035444632172584534, 0.031773876398801804, -0.022869903594255447, 0.023909607902169228, -0.009581631049513817, -0.020109470933675766, 0.0012375802034512162, -0.013348388485610485, 0.04368169605731964, -0.017906585708260536, 0.0057279979810118675, -0.02081509865820408, -0.0161856971681118, 0.018464474007487297, 0.01995001547038555, 0.00041009712731465697, 0.0007568611181341112, 0.0037181309890002012, 0.0115885054692626, 0.0003847388725262135, -0.016575859859585762, 0.018350375816226006, -0.017154935747385025, -0.0016188891604542732, 0.004853141959756613, -0.1598663479089737, -0.02293422818183899, -0.020516864955425262, 0.020498642697930336, 0.01694563403725624, -0.030429720878601074, -0.02364403009414673, -0.041175227612257004, -0.028972655534744263, -0.031104907393455505, 0.009829839691519737, 0.002056452911347151, -0.009354903362691402, -0.041105251759290695, 0.017819127067923546, 0.011399767361581326, -0.03215736895799637, -0.03467912971973419, -0.005324444733560085, -0.012154487892985344, -0.009264209307730198, -0.03651959076523781, -0.018808851018548012, 0.04003274440765381, -0.01712813973426819, 0.007915932685136795, -0.02300361357629299, -0.02138432301580906, -0.021041763946413994, 0.00706954300403595, -0.021517504006624222, 0.017937995493412018, -0.019764812663197517, -0.03732706606388092, -0.021858111023902893, -0.016234809532761574, -0.026356665417551994, -0.004086075350642204, 0.01947600767016411, -0.013398255221545696, 0.0017419451614841819, -0.017807740718126297, 0.03596317023038864, -0.006002290640026331, -0.018390575423836708, 0.0006381631246767938, 0.0118976766243577, -0.011087331920862198, 0.004015438258647919, -0.014450155198574066, -0.017345696687698364, -0.040060099214315414, -0.016219880431890488, 0.018524182960391045, 0.00812814012169838, 0.031721435487270355, -0.0028069147374480963, 0.010146631859242916, 0.002235247055068612, -0.000760758644901216, 0.015314986929297447, -0.03378459811210632, 0.005041823722422123, 0.016601936891674995, 0.0625506266951561, -0.10074121505022049, 0.04195106402039528, 0.010109570808708668, -0.002477835165336728, 0.006389835849404335, 0.8339735269546509, -0.007385701406747103, 0.021640703082084656, 0.01924729347229004, 0.01655321568250656, -0.02479260414838791, -0.0276921559125185, 0.01471621636301279, 0.03842194378376007, 0.01995602808892727, -0.04491453990340233, 0.03207413852214813, -0.005601424723863602, 0.014259761199355125, 0.031856827437877655, -0.008755342103540897, 0.027243943884968758, 0.02952972613275051, 0.018738003447651863, 0.02708377130329609, 0.03824593871831894, 0.03066992200911045, 0.029522709548473358, -0.02954179421067238, 0.003013597335666418, 0.019829323515295982, -0.1423962265253067, 0.014802946709096432, -7.047461852636e-33, 0.06254079192876816, -0.04071013629436493, -0.0347299687564373, -0.005552430171519518, -0.022943925112485886, 0.008489836938679218, 0.004025696776807308, -0.01687208190560341, -0.015154172666370869, -0.03312322497367859, 0.008587292395532131, 0.02785005047917366, -0.000848332536406815, -0.03792648762464523, 0.037270624190568924, -0.0038307425566017628, -0.030726315453648567, 0.03353134170174599, 0.023583510890603065, 0.0021191260311752558, 0.029731998220086098, 0.020493159070611, 0.013517373241484165, 0.001267883344553411, -0.005531492177397013, 0.0408383347094059, -0.019971903413534164, -0.019909225404262543, 0.0009892324451357126, -0.03729460760951042, 0.03740472346544266, -0.008875332772731781, -0.006198553834110498, -0.016743911430239677, 0.03277226909995079, -0.03305656090378761, 0.0029998261015862226, 0.030023375526070595, -0.047489915043115616, -0.01049736700952053, -0.04353860765695572, -0.027953224256634712, -0.028065580874681473, -0.03926132246851921, -0.050288230180740356, -0.03873950242996216, -0.013550239615142345, 0.010509368032217026, -0.013545765541493893, 0.020933395251631737, 0.004346164409071207, 0.00267706043086946, 0.047108717262744904, -0.04050509259104729, -0.005459026899188757, 0.010111742652952671, -0.02377181127667427, -0.011908981017768383, -0.012365922331809998, 0.0015103686600923538, 0.012499535456299782, 0.007968280464410782, -0.001622081152163446, -0.003577400930225849, -0.033668506890535355, -0.01343084592372179, 0.020083552226424217, 0.0023982867132872343, -0.000057323715736856684, -0.028387174010276794, -0.010254133492708206, 0.04038919135928154, -0.0037628014106303453, 0.006700118072330952, 0.021237729117274284, -0.03285257890820503, 0.0030623790808022022, -0.011824783869087696, -0.006281446199864149, 0.0437636561691761, 0.031140625476837158, -0.013996741734445095, -0.016032863408327103, -0.05072423815727234, -0.0025216450449079275, 0.01207702700048685, 0.01116940751671791, -0.022144243121147156, 0.02467128075659275, 0.023407919332385063, 0.016019338741898537, 0.028037000447511673, -0.02786661498248577, -0.023279516026377678, -0.020605960860848427, 7.413499038538552e-33, 0.013709861785173416, -0.0052962275221943855, 0.02648751065135002, 0.01090224739164114, 0.04311528429389, 0.005604878067970276, 0.041325777769088745, 0.026921117678284645, -0.046200163662433624, 0.028008325025439262, -0.013947725296020508, 0.022146377712488174, -0.028401989489793777, -0.030521905049681664, 0.06259553134441376, -0.03785998374223709, 0.013159981928765774, -0.026664849370718002, 0.0076749324798583984, 0.003436614293605089, 0.014536956325173378, -0.0031625679694116116, 0.01751762442290783, 0.01076682098209858, 0.02690664678812027, 0.0499078705906868, -0.015235316939651966, 0.010777799412608147, -0.021478477865457535, 0.006136489100754261, 0.038096360862255096, -0.03436407074332237, 0.005063340999186039, -0.00008102021092781797, -0.024661414325237274, 0.04287312924861908, -0.001447995426133275, 0.004424900282174349, 0.01850208453834057, 0.0016761593287810683, 0.021194685250520706, -0.00635845260694623, 0.012876570224761963, 0.02976667508482933, 0.021043360233306885, 0.018304822966456413, 0.018093490973114967, -0.01259559951722622, 0.025409990921616554, 0.02613384835422039, 0.03602006658911705, 0.029190443456172943, -0.017821241170167923, -0.0014665198978036642, 0.022220781072974205, -0.00875246524810791, -0.03601999208331108, 0.025772403925657272, -0.05058109015226364, 0.00797937996685505, -0.018510522320866585, 0.009148683398962021, -0.07050913572311401, 0.0373278371989727, -0.03249051421880722, 0.0022764012683182955, -0.04826270416378975, -0.012285478413105011, 0.015039358288049698, 0.0063014402985572815, -0.038019392639398575, 0.003328392282128334, -0.01588272862136364, 0.033812541514635086, 0.004688374698162079, -0.020800912752747536, -0.017756778746843338, 0.05240801349282265, 0.0052579306066036224, 0.03979271650314331, 0.0031607740093022585, 0.03131066635251045, 0.00957633089274168, -0.009787745773792267, 0.05794598162174225, 0.01882651075720787, -0.03608912229537964, 0.006217794492840767, 0.03991762921214104, -0.028536470606923103, 0.00906259287148714, -0.03004717081785202, 0.0016673865029588342, 0.015267363749444485, 0.02353859134018421, -1.2729769238717381e-8, -0.03697158768773079, -0.007196029182523489, -0.03201567381620407, 0.04766348376870155, 0.015291502699255943, 0.022782117128372192, 0.004024032037705183, -0.0500679649412632, -0.017748525366187096, 0.009846423752605915, 0.07622824609279633, 0.002821744652464986, 0.004346753936260939, 0.03557760268449783, 0.021508600562810898, -0.024657247588038445, 0.004527615383267403, 0.00838335882872343, 0.028017669916152954, 0.013096715323626995, 0.022061042487621307, 0.0052262297831475735, -0.002829028991982341, 0.03949415683746338, 0.029099751263856888, -0.02653384767472744, -0.030440812930464745, -0.1024952232837677, -0.027856208384037018, -0.022374046966433525, 0.031957801431417465, -0.035887449979782104, -0.009457317180931568, -0.011984491720795631, 0.038200028240680695, -0.020821867510676384, -0.013918253593146801, -0.007924826815724373, 0.01197886373847723, 0.0006155101582407951, 0.0038626661989837885, 0.017710138112306595, -0.023900557309389114, -0.028173742815852165, 0.007890290580689907, -0.02395462617278099, -0.04610272869467735, -0.013779337517917156, -0.002192552201449871, -0.05364847555756569, 0.017318731173872948, -0.04229149594902992, 0.035993121564388275, 0.037650685757398605, 0.036376338452100754, 0.008358699269592762, 0.06110020726919174, -0.016335653141140938, -0.027040496468544006, 0.01988391764461994, 0.030691981315612793, 0.000766509328968823, -0.01404421404004097, -0.010201282799243927 ]
clojureenlive-screen-scraping-a-html-file-from-disk
https://markhneedham.com/blog/2013/08/26/clojureenlive-screen-scraping-a-html-file-from-disk
false
2013-08-31 10:52:14
Neo4j's Graph Café London - 28th August 2013
[ "software-development" ]
[ "Software Development", "neo4j" ]
On Wednesday evening I attended an interesting spin on the monthly Neo4j meetup, where instead of the usual 'talk then go to the pub afterwards' format my colleagues https://twitter.com/rvanbruggen[Rik] and https://twitter.com/arturasver[Arturas] organised http://www.meetup.com/graphdb-london/events/123869482/[Graph Café] in the Doggetts Coat and Badge pub in Blackfriars. The format was changed as well - the evening consisted of ~10 lightening talks which were spread out over about 3 hours, an approach Rik has used at http://blog.neo4j.org/2013/05/graph-cafes-starting-in-belgium-and.html[similar events] in Belgium and Holland earlier in the year. In the gaps in between the talks people mingled with each other and shared tips/talked through the problems they were trying to solve using graphs. There was a strong turn out and it was *much more interactive than a normal meet-up* where the main interaction comes from people asking the speaker questions. While there is a pub afterwards there's always a noticeable drop out from the talk so it was good to have everyone together chatting this time. https://twitter.com/fgibson/status/372751710550106112[Frank Gibson] described what I thought was the coolest use of graphs of the evening. He's modelling different drugs, which medical conditions they treat and which other drugs they aren't compatible with. The next step is to bring that together with patients' medical records to help doctors make treatment recommendations. As well as the talks, table clothes were laid out on the tables where people could sketch out the problems they were working on and get input from others. https://twitter.com/thobe[Tobias] went a bit meta and drew a graph about graph databases: image::{{<siteurl>}}/uploads/2013/08/neograph.jpg[Neograph,600] While it's often said that graphs are http://www.slideshare.net/slideshow/embed_code/12275060?startSlide=19[whiteboard friendly] I was still surprised at how effective this was. When someone was explaining what they were working on I found myself sketching out what I'd interpreted and then they'd join in and point out bits I'd misunderstood and bits they were thinking about changing. Along those lines, my colleague http://www.apcjones.com/[Alistair] also demoed http://www.apcjones.com/arrows/[Arrows] - a Javascript library for drawing graphs which I use for most of the graph related diagrams on here. image::{{<siteurl>}}/uploads/2013/08/outside.jpg[Outside,600] Overall it was a fun meet up and now we need to try and work out how to keep the interactive aspect when it isn't 25 degrees outside and we're not in a pub overlooking http://www.stpauls.co.uk/[St Paul's]. Rik has put up https://plus.google.com/photos/112536463589645792207/albums/5917315641597676929?banner=pwa[a slide show of pictures] from the event and if you're interested in hosting your own similar event you should probably https://twitter.com/rvanbruggen[ping Rik] for some tips!
null
null
[ 0.03091929852962494, -0.018720747902989388, 0.020971102640032768, 0.03619655966758728, 0.07225465774536133, 0.0012684797402471304, 0.037384964525699615, 0.03571110591292381, 0.02512742206454277, -0.018903985619544983, -0.009791666641831398, 0.0004092618473805487, -0.05508876591920853, 0.03353685140609741, -0.003577453549951315, 0.06477084755897522, 0.0701603814959526, 0.013890206813812256, 0.008703685365617275, -0.0041468264535069466, 0.03539903834462166, 0.03989534452557564, 0.029462596401572227, 0.03860482946038246, 0.046861808747053146, -0.0009723301627673209, 0.005933661479502916, -0.00292291515506804, -0.03499739617109299, -0.006317798979580402, 0.040236834436655045, 0.017322514206171036, 0.018761249259114265, -0.004560826346278191, 0.05509053170681, 0.0011879272060468793, -0.02599054016172886, 0.014612424187362194, -0.0027749864384531975, -0.0010115979239344597, -0.08827788382768631, 0.045586567372083664, -0.01774231716990471, 0.032289281487464905, -0.03625527769327164, 0.0015141412150114775, -0.03317898511886597, 0.04489816352725029, 0.01735578663647175, 0.010787212289869785, -0.0809854120016098, 0.02443285472691059, 0.018138572573661804, 0.0344151109457016, -0.021907450631260872, 0.04062424600124359, 0.013470902107656002, -0.04927728697657585, 0.026746705174446106, -0.016482003033161163, -0.0012771112378686666, -0.007830634713172913, 0.006787224672734737, 0.007468856405466795, 0.004162377677857876, -0.03156927600502968, -0.0008033865597099066, 0.05391000211238861, -0.03512931242585182, 0.008217672817409039, -0.019357582554221153, 0.03857685998082161, -0.019057419151067734, -0.010985060594975948, 0.003994995728135109, -0.0534064918756485, 0.0034372529480606318, 0.05875922739505768, 0.04059619456529617, 0.03359916806221008, -0.034468602389097214, 0.016913292929530144, 0.009746741503477097, 0.03985919430851936, -0.014621037989854813, -0.034979868680238724, -0.013564621098339558, -0.046447161585092545, -0.07750765234231949, 0.026491260156035423, -0.008034036494791508, -0.06218842417001724, 0.004255358595401049, 0.021017806604504585, -0.016513045877218246, 0.03074115887284279, 0.02826443873345852, -0.007436946965754032, -0.0005211653769947588, -0.04395978897809982, -0.01605934463441372, -0.05183550715446472, -0.00006046173075446859, 0.015580573119223118, -0.08021879941225052, -0.014487629756331444, -0.0141527708619833, -0.014673598110675812, 0.009622679091989994, -0.021558910608291626, -0.03708131983876228, 0.01167514082044363, -0.008362619206309319, 0.013421176932752132, -0.07632007449865341, 0.06177017465233803, 0.029862267896533012, -0.03486383706331253, -0.029408179223537445, -0.017632247880101204, 0.03580892086029053, 0.013992564752697945, -0.001056363806128502, 0.09481102228164673, -0.0159499142318964, 0.01845797896385193, -0.022046377882361412, 0.05369563773274422, -0.0316958874464035, -0.049607254564762115, -0.01037847250699997, 0.06088365986943245, -0.02037058211863041, -0.019506899639964104, -0.007189533207565546, -0.03585229814052582, 0.011511100456118584, 0.013987543061375618, 0.033402588218450546, 0.03732793778181076, 0.024366339668631554, -0.05610428750514984, 0.02400651015341282, 0.02006278932094574, 0.03697140887379646, -0.007254118099808693, -0.03527370095252991, -0.03812200576066971, -0.03133999928832054, -0.02357618138194084, 0.020719408988952637, 0.0035985540598630905, 0.027018047869205475, -0.048266127705574036, 0.03516733646392822, 0.09232130646705627, 0.026806576177477837, 0.004961339291185141, -0.019484465941786766, 0.01870741695165634, 0.043277572840452194, 0.04681546613574028, 0.007157038431614637, 0.03889637067914009, 0.010187802836298943, -0.03215962275862694, -0.02502947673201561, 0.05745217949151993, -0.012802845798432827, 0.02894737385213375, -0.033653680235147476, -0.046337518841028214, 0.047268714755773544, -0.04541390389204025, -0.025360502302646637, 0.06231142207980156, 0.08392500877380371, 0.03142525628209114, 0.013551979325711727, -0.007149255368858576, -0.08822045475244522, 0.034165170043706894, 0.024586495012044907, 0.022502223029732704, 0.007762840483337641, -0.02292601764202118, 0.0675005242228508, 0.04679037258028984, 0.003834092989563942, 0.06556059420108795, -0.07254298031330109, -0.07652456313371658, -0.009641465730965137, -0.01761944219470024, 0.0665942057967186, -0.03220520541071892, 0.031240735203027725, 0.05433172360062599, -0.0024597274605184793, 0.03794630616903305, 0.020527364686131477, -0.008118913508951664, 0.029807396233081818, -0.02483941987156868, -0.07092536240816116, 0.057354193180799484, 0.021234221756458282, -0.04621551185846329, -0.05688800662755966, 0.011428571306169033, -0.024166306480765343, -0.018203776329755783, 0.028769532218575478, -0.02509355917572975, 0.029600586742162704, 0.010807451792061329, 0.06556938588619232, -0.022101644426584244, 0.020583156496286392, -0.02150604873895645, 0.02644951082766056, 0.007878054864704609, -0.007964814081788063, 0.00568423792719841, 0.01506420411169529, 0.1252516806125641, 0.05871504917740822, -0.022644875571131706, -0.04449164494872093, 0.02380955033004284, 0.02351187728345394, -0.01884361542761326, 0.017473164945840836, -0.0077373250387609005, 0.004814867861568928, -0.022829558700323105, -0.05038131773471832, -0.04500918462872505, 0.009581949561834335, -0.05650981888175011, 0.021069081500172615, 0.053681880235672, -0.008231538347899914, 0.05554652586579323, -0.009403037838637829, 0.0034374846145510674, -0.023601438850164413, -0.025545846670866013, -0.035510752350091934, 0.022734761238098145, 0.012619432993233204, -0.01503081526607275, 0.02965063974261284, -0.018563348799943924, 0.017493225634098053, -0.018717706203460693, -0.005583635531365871, 0.04153810068964958, 0.05954281985759735, 0.06158643960952759, -0.005138508044183254, 0.03717758134007454, -0.029600026085972786, 0.01887546107172966, -0.01366994995623827, -0.050378020852804184, -0.041394948959350586, -0.06440973281860352, 0.011364384554326534, 0.00522537250071764, 0.053001273423433304, -0.0031656946521252394, 0.013936451636254787, 0.021677689626812935, 0.00553327240049839, -0.020034953951835632, 0.03014451079070568, 0.02617349661886692, -0.010949086397886276, -0.029351327568292618, -0.03142919763922691, 0.05894874781370163, -0.027829334139823914, -0.014469455927610397, -0.012930751778185368, -0.07086949795484543, 0.0443999208509922, -0.048711538314819336, -0.027235407382249832, 0.004869751166552305, 0.02431786246597767, 0.045408960431814194, 0.03788832202553749, -0.015973752364516258, 0.056214239448308945, -0.005533287767320871, 0.02861313708126545, -0.0016530888387933373, -0.029749711975455284, 0.04471125081181526, -0.014326616190373898, 0.02493668533861637, 0.04762689396739006, -0.015579036436975002, 0.011402011848986149, -0.05315788835287094, 0.023621847853064537, -0.03019554913043976, -0.27784037590026855, 0.03861240670084953, -0.013654207810759544, -0.039750974625349045, 0.005198863800615072, -0.03901764377951622, 0.014605212025344372, -0.04124832525849342, -0.035418782383203506, -0.007317895069718361, -0.019477354362607002, -0.03668699786067009, -0.027635253965854645, 0.027066770941019058, 0.022495364770293236, 0.010200620628893375, -0.011008664034307003, -0.05093057081103325, 0.02545451931655407, 0.05554148182272911, 0.011104830540716648, -0.0440383180975914, -0.022435897961258888, 0.033755671232938766, 0.013347270898520947, 0.05694045126438141, -0.09463489800691605, 0.01984635554254055, -0.05440782010555267, -0.019712071865797043, 0.014383241534233093, -0.009821795858442783, 0.007118625100702047, -0.0010341255692765117, -0.010751242749392986, 0.004858745262026787, 0.0583106204867363, 0.005576089955866337, -0.0014876301866024733, 0.002756136702373624, -0.01728816144168377, -0.01991560496389866, -0.014465517364442348, -0.0035396385937929153, 0.08740101009607315, 0.033066894859075546, -0.08053122460842133, 0.020331142470240593, -0.018206357955932617, 0.057901013642549515, -0.02258973941206932, -0.026728089898824692, -0.025973986834287643, 0.03641850873827934, -0.010081822052598, -0.012201237492263317, -0.04326273873448372, -0.005125320050865412, -0.05059141293168068, -0.04858967289328575, -0.01817142590880394, -0.03552475571632385, -0.0001637518435018137, -0.054895032197237015, -0.011138321831822395, -0.06748581677675247, -0.07036687433719635, -0.02507094293832779, 0.07429393380880356, 0.020306149497628212, -0.019077613949775696, 0.03145725280046463, -0.0023805939126759768, -0.09570638835430145, -0.020808152854442596, -0.008086652494966984, -0.017303304746747017, 0.008989835157990456, 0.02410591021180153, 0.04889485985040665, -0.035184234380722046, -0.06614148616790771, 0.003590240376070142, 0.007735010702162981, 0.03858888894319534, 0.009001199156045914, 0.01602410152554512, 0.005473739933222532, -0.051970869302749634, 0.007786799222230911, 0.04663603752851486, -0.00012453494127839804, -0.028238894417881966, 0.0028453452978283167, -0.004063199274241924, 0.03461929038167, 0.004778485745191574, 0.002726655686274171, 0.011822310276329517, 0.05597544088959694, 0.017883913591504097, -0.055073969066143036, 0.01839132234454155, -0.017560357227921486, -0.021287327632308006, 0.003542933613061905, -0.05523941293358803, 0.013834682293236256, 0.023332810029387474, 0.007126133423298597, -0.007595985196530819, -0.028236133977770805, 0.04061788693070412, -0.05272975191473961, -0.022974008694291115, -0.01776006817817688, 0.025953935459256172, 0.041666995733976364, 0.02264406532049179, -0.018697470426559448, -0.051498111337423325, 0.030103111639618874, -0.0015594299184158444, -0.0070676798932254314, -0.04866691306233406, -0.008355658501386642, -0.035481877624988556, -0.03447680175304413, 0.009103178046643734, 0.03401850163936615, -0.02190956100821495, 0.02052229456603527, 0.03276380896568298, -0.037198472768068314, 0.0470232330262661, -0.02141408436000347, -0.061401255428791046, -0.03518674522638321, 0.01727050170302391, -0.004765678197145462, 0.004784994758665562, 0.023220708593726158, -0.014055825769901276, 0.0237643551081419, 0.0383453369140625, 0.01481994055211544, -0.00043424899922683835, 0.00418418413028121, 0.02628481574356556, 0.020127072930336, -0.004989787004888058, -0.036908384412527084, 0.0018968975637108088, -0.01890598051249981, -0.004430896602571011, -0.002648282330483198, 0.06619289517402649, -0.012066442519426346, -0.016076380386948586, -0.010379883460700512, 0.015417894348502159, -0.06755268573760986, -0.025468621402978897, -0.007869570516049862, 0.0010580816306173801, 0.05710117518901825, -0.026001734659075737, 0.01658608205616474, -0.011644047684967518, -0.027933845296502113, 0.0005454444908536971, 0.022872157394886017, -0.05244448408484459, 0.030903665348887444, 0.02144480310380459, -0.006314105354249477, -0.017132040113210678, 0.02602548897266388, 0.05830739438533783, 0.016529500484466553, -0.007683010306209326, -0.01470975112169981, -0.005497475154697895, 0.023401426151394844, 0.07400456070899963, 0.05617774277925491, -0.01454396452754736, -0.008257810957729816, -0.0025616255588829517, -0.016380222514271736, -0.013447331264615059, 0.002015833044424653, -0.02141045406460762, 0.006570910103619099, -0.0340343602001667, -0.0673985555768013, 0.05014140158891678, -0.010457731783390045, 0.02622206136584282, 0.04750237241387367, 0.00942962896078825, 0.0001743023021845147, -0.026062635704874992, 0.040410321205854416, 0.04567684605717659, -0.06953425705432892, -0.022649582475423813, 0.0003420828143134713, -0.009627890773117542, 0.006270542275160551, 0.00455890130251646, -0.04477175325155258, -0.021917184814810753, -0.017354410141706467, 0.026117758825421333, -0.0403260700404644, -0.028671862557530403, -0.01594248227775097, 0.007371903862804174, 0.0025896572042256594, 0.016489999368786812, -0.01454040128737688, -0.01854712702333927, -0.018173955380916595, -0.01740269735455513, 0.044411800801754, -0.03769407793879509, 0.0064687891863286495, 0.00016988736751955003, -0.03791985288262367, -0.007776556070894003, -0.017308425158262253, 0.013964839279651642, 0.02057970128953457, -0.029350407421588898, 0.022126950323581696, -0.06288741528987885, -0.005757561884820461, 0.004943386651575565, 0.0567338690161705, -0.01674140989780426, -0.016900405287742615, -0.06458832323551178, -0.02228548377752304, -0.03692351281642914, 0.020616892725229263, -0.00174826814327389, 0.010822795331478119, 0.02263355441391468, 0.02615971677005291, 0.01963137276470661, 0.020595910027623177, -0.0076493495143949986, -0.0248001366853714, 0.031934041529893875, -0.05117332935333252, -0.03874550014734268, -0.030397048220038414, -0.05953336879611015, -0.00739195104688406, -0.010363268665969372, -0.006832024548202753, -0.022755134850740433, 0.04270310699939728, 0.0399189218878746, 0.029321657493710518, 0.040083616971969604, -0.0019087172113358974, 0.0006770328036509454, -0.02277357131242752, -0.001321794930845499, -0.07452619075775146, -0.003317801747471094, 0.0168436449021101, -0.0007522183004766703, -0.01469678245484829, 0.004439237993210554, -0.019027510657906532, 0.02061043679714203, -0.08431607484817505, -0.014657445251941681, 0.024031678214669228, -0.020959123969078064, 0.009519439190626144, 0.020727548748254776, -0.06846664845943451, -0.0058597964234650135, 0.031672459095716476, -0.05049176141619682, -0.01604197546839714, -0.01419855561107397, 0.06148789823055267, -0.029079901054501534, 0.051223285496234894, -0.00655517028644681, -0.010226951912045479, 0.06853646785020828, 0.01940898969769478, 0.022041872143745422, 0.05661683902144432, -0.016308175399899483, 0.03984076902270317, 0.0356409065425396, -0.00537338200956583, -0.003792967414483428, 0.029067080467939377, -0.00736956438049674, -0.05060731992125511, 0.030396511778235435, 0.008942642249166965, -0.0178917795419693, -0.035977642983198166, 0.07494094967842102, 0.013616097159683704, -0.04315885901451111, -0.03440230339765549, 0.021079784259200096, -0.0450572744011879, -0.007800436113029718, -0.03035741299390793, 0.011392803862690926, -0.03024626150727272, 0.04199881851673126, -0.026832718402147293, 0.00770949013531208, 0.0689016655087471, 0.01507528219372034, 0.001147969625890255, -0.011468486860394478, 0.11060646921396255, 0.10077652335166931, 0.056947629898786545, 0.01590362749993801, 0.07225723564624786, -0.016386836767196655, -0.04729031026363373, -0.009849407710134983, -0.00936325266957283, -0.05822261422872543, -0.016413943842053413, 0.02798350714147091, 0.06392381340265274, -0.05869653820991516, 0.07406396418809891, -0.0009267411078326404, -0.022758249193429947, -0.009093992412090302, 0.011444879695773125, 0.02600843459367752, 0.05672759562730789, 0.020233722403645515, 0.028525061905384064, -0.02884722873568535, -0.039972834289073944, 0.047678638249635696, -0.025458751246333122, -0.02154422551393509, 0.029796380549669266, -0.02787410281598568, 0.023981373757123947, 0.023299643769860268, 0.04359687492251396, 0.08179880678653717, -0.0525604709982872, 0.007383218500763178, 0.010729105211794376, 0.017467157915234566, -0.0029845060780644417, 0.021267572417855263, -0.014406286180019379, -0.002285937312990427, -0.015002522617578506, -0.0434562973678112, -0.021603809669613838, -0.03711514547467232, -0.041615214198827744, 0.019997911527752876, -0.031671490520238876, -0.01225125789642334, 0.0013240877306088805, -0.014519777148962021, -0.018218928948044777, -0.06932863593101501, -0.026012742891907692, -0.06167985126376152, -0.08660344034433365, -0.017185980454087257, 0.011484739370644093, -0.025233548134565353, -0.030883455649018288, 0.006294359918683767, -0.031026771292090416, -0.0207024198025465, 0.030183445662260056, -0.052061859518289566, -0.011664110235869884, 0.009503423236310482, 0.018627339974045753, 0.013130181469023228, 0.006950940005481243, 0.03790741413831711, -0.003504954045638442, 0.0004127026768401265, -0.030344422906637192, 0.039955511689186096, 0.029073446989059448, 0.018961431458592415, -0.007302667945623398, -0.09972157329320908, 0.01874813251197338, 0.018182097002863884, -0.036029428243637085, -0.07656067609786987, 0.026108473539352417, 0.04255397990345955, 0.025481680408120155, 0.027095094323158264, -0.0023325912188738585, -0.03767120838165283, -0.043832987546920776, 0.020820671692490578, -0.002454816596582532, 0.016254762187600136, 0.030419770628213882, -0.031854305416345596, 0.07816977053880692, 0.036384306848049164, -0.030323347076773643, -0.029505610466003418, -0.0334680937230587, 0.003332172054797411, -0.00039804898551665246, -0.027415458112955093, -0.05252435430884361, -0.03559985011816025, -0.09145352244377136, -0.03397514671087265, 0.027492573484778404, -0.02066717855632305, -0.01729285717010498, 0.02326205000281334, 0.015620985999703407, -0.0028987412806600332, 0.03589862212538719, -0.03503648191690445, 0.026553427800536156, -0.019005781039595604, -0.013468733057379723, -0.03972971811890602, -0.01424790546298027, -0.0009791601914912462, -0.00007315901893889531, 0.001263072481378913, -0.05447059124708176, -0.006725574843585491, -0.021947961300611496, 0.008608833886682987, 0.01687965728342533, 0.03162688761949539, -0.010070865973830223 ]
[ -0.04183749482035637, -0.01885371468961239, -0.039039935916662216, -0.010156548582017422, 0.06092066317796707, -0.021678773686289787, -0.005361553747206926, 0.049958981573581696, -0.004144702572375536, -0.03426635265350342, 0.02527841553092003, -0.02534789964556694, 0.006137905642390251, 0.01204378716647625, 0.05973956733942032, 0.0053651477210223675, -0.015766629949212074, -0.10965782403945923, -0.014895825646817684, 0.0547044575214386, -0.050878047943115234, -0.050056092441082, -0.006591184996068478, -0.031128624454140663, 0.02019425481557846, 0.01969645358622074, 0.058742884546518326, -0.04984579235315323, -0.004874361678957939, -0.18184241652488708, 0.017125574871897697, 0.015542610548436642, 0.052180081605911255, -0.016304071992635727, -0.004325426649302244, 0.030286284163594246, 0.05815606564283371, -0.005010443273931742, 0.0011211495148018003, 0.04345037043094635, 0.014115266501903534, -0.011876883916556835, -0.03222615644335747, -0.0048882379196584225, 0.061610426753759384, 0.035561878234148026, -0.008789615705609322, -0.0009644897072575986, -0.04315859451889992, 0.01201919000595808, -0.04764530062675476, -0.025435499846935272, -0.005365926306694746, -0.016976289451122284, 0.008361127227544785, 0.0427451990544796, 0.039879340678453445, 0.03554200381040573, -0.0027165445499122143, 0.030527938157320023, 0.026859914883971214, 0.026918631047010422, -0.1353505402803421, 0.07715277373790741, 0.023265864700078964, 0.01452002115547657, -0.053229816257953644, -0.014822985976934433, 0.01714952662587166, 0.08508332818746567, 0.039614252746105194, -0.02320537343621254, -0.013911931775510311, 0.008628795854747295, 0.01544211246073246, 0.016074392944574356, 0.0019840735476464033, 0.021685143932700157, 0.015983276069164276, -0.053796980530023575, -0.0040521626360714436, 0.03721090778708458, -0.02543800137937069, -0.014996157959103584, -0.038048505783081055, 0.006549725774675608, -0.028139883652329445, 0.035566262900829315, -0.021443195641040802, 0.027186062186956406, 0.023285534232854843, 0.0469646193087101, 0.039084553718566895, -0.009866587817668915, -0.06931615620851517, -0.0435713455080986, 0.016619829460978508, 0.03969821706414223, -0.000059232890635030344, 0.4404929280281067, -0.011158261448144913, -0.004343766253441572, 0.07229538261890411, 0.058364491909742355, -0.03185129910707474, -0.031992536038160324, 0.014705939218401909, -0.08385604619979858, 0.03908228874206543, 0.009446612559258938, 0.029226303100585938, -0.020679859444499016, 0.0812840685248375, -0.062004879117012024, 0.025749700143933296, 0.025357263162732124, 0.08489935845136642, 0.03598695620894432, 0.006820249371230602, -0.008962295018136501, -0.023680396378040314, 0.037661828100681305, 0.02995321899652481, -0.024872805923223495, 0.014411641284823418, -0.004975689575076103, 0.017977742478251457, 0.05824316665530205, 0.03774256631731987, -0.004295583348721266, 0.06214470788836479, -0.0022823058534413576, -0.04168355464935303, 0.031432148069143295, -0.02922043576836586, -0.02542096935212612, 0.029628410935401917, -0.0445241816341877, 0.006312073208391666, 0.057278066873550415, 0.03498741611838341, -0.007943440228700638, 0.002293224446475506, -0.006288183853030205, -0.02931278944015503, 0.1393248438835144, 0.006188856903463602, -0.061030127108097076, -0.0022189784795045853, -0.03821184113621712, 0.02340320497751236, 0.03210209682583809, -0.012696397490799427, -0.05940999835729599, 0.004508819431066513, 0.000013717558431380894, 0.10451284050941467, 0.0034633567556738853, -0.06183376535773277, 0.009203829802572727, -0.000012116112884541508, -0.021913643926382065, -0.0559743195772171, 0.06471669673919678, 0.07641277462244034, -0.11193755269050598, -0.004563531372696161, -0.01863430067896843, 0.03879180923104286, -0.07503370195627213, 0.012896285392343998, 0.016235310584306717, -0.015020158141851425, 0.014951820485293865, 0.04614829272031784, -0.016418317332863808, -0.02841886691749096, -0.010299687273800373, 0.03798476606607437, -0.012583575211465359, -0.006871099583804607, -0.004213948734104633, -0.03838512673974037, 0.008393361233174801, -0.08383011072874069, -0.051709145307540894, -0.06299275904893875, 0.011188124306499958, -0.008528351783752441, 0.0036844750866293907, -0.004266717936843634, 0.0016459329053759575, -0.08698534965515137, 0.08155224472284317, -0.06425701826810837, -0.037500739097595215, -0.018748663365840912, -0.011971548199653625, -0.05570388212800026, 0.0008597384439781308, -0.04641509801149368, -0.018762411549687386, -0.04463278502225876, 0.025394363328814507, -0.04108153656125069, 0.03977348282933235, 0.04641786590218544, -0.03854019567370415, 0.1037232056260109, 0.04095449298620224, -0.027687938883900642, -0.03199714794754982, 0.016628781333565712, 0.02378753200173378, -0.004751837812364101, -0.022052334621548653, 0.027740024030208588, -0.03841539844870567, -0.004672268405556679, 0.031879864633083344, -0.003843279555439949, 0.013116815127432346, -0.04403264448046684, -0.341063529253006, -0.03606007620692253, -0.02478191815316677, 0.007083728443831205, 0.03641354665160179, -0.049618177115917206, 0.019194845110177994, -0.016682572662830353, 0.0048303077928721905, 0.04764820262789726, 0.05937919020652771, 0.021199172362685204, -0.00554497679695487, -0.08280495554208755, 0.0012766615254804492, 0.02550949901342392, -0.027492182329297066, 0.012128897942602634, -0.03332393988966942, -0.019435979425907135, -0.004600806161761284, 0.004075982142239809, -0.03664158657193184, -0.04746120795607567, -0.00141912919934839, -0.025941401720046997, 0.11456552892923355, 0.026150783523917198, 0.015611877664923668, -0.015742724761366844, 0.010953144170343876, -0.001719194115139544, -0.004183854442089796, -0.11544974148273468, 0.018263904377818108, 0.002695751143619418, 0.03403490036725998, -0.015877146273851395, -0.0036391427274793386, -0.02711009979248047, -0.06470596045255661, 0.0018377297092229128, -0.054440468549728394, -0.052510496228933334, -0.08558518439531326, 0.04345913976430893, -0.014478514902293682, -0.03408661484718323, -0.03188310191035271, 0.07225533574819565, 0.01573045924305916, -0.0083204610273242, 0.010277158580720425, 0.011576450429856777, -0.0025931159034371376, -0.03872941434383392, -0.0859561339020729, -0.016271615400910378, -0.00901491753757, 0.02953379973769188, 0.0019042647909373045, 0.06411761790513992, 0.03101428970694542, -0.0753556415438652, 0.009857564233243465, 0.022627204656600952, -0.013440809212625027, 0.003233482362702489, 0.03530688211321831, 0.02217702753841877, -0.019019708037376404, 0.1012350469827652, -0.011876238510012627, 0.009288965724408627, 0.03290877491235733, 0.03416786342859268, -0.020442720502614975, 0.03152630850672722, 0.0044157011434435844, 0.02312779612839222, 0.03726727515459061, -0.04118666425347328, 0.0461859256029129, -0.016769196838140488, -0.026080382987856865, 0.017399249598383904, 0.016785304993391037, -0.05859215185046196, 0.06062645837664604, 0.03830340504646301, -0.020224545150995255, 0.005222477950155735, -0.0398024283349514, -0.06436458230018616, 0.057040221989154816, -0.028477231040596962, -0.2624911069869995, 0.030310623347759247, 0.044936928898096085, 0.04917600005865097, -0.004590102471411228, 0.03147746995091438, 0.0030305541586130857, -0.006327623035758734, 0.009197000414133072, -0.0035414984449744225, 0.04802858084440231, 0.025744792073965073, 0.0008052181801758707, 0.004221505485475063, 0.006438461598008871, 0.0046897027641534805, 0.005937677342444658, 0.009405670687556267, -0.0029695318080484867, 0.015768088400363922, 0.04065500199794769, -0.02159392461180687, 0.1419006735086441, 0.024826843291521072, 0.030049633234739304, 0.045187849551439285, -0.01740534044802189, 0.006432592403143644, 0.02852114662528038, -0.02090027928352356, -0.027248524129390717, 0.00296633574180305, -0.029593411833047867, 0.002063811756670475, 0.038408063352108, -0.06380234658718109, -0.05437203496694565, 0.027864277362823486, 0.03147921338677406, -0.002669533481821418, 0.014753840863704681, 0.00575196323916316, -0.03160438686609268, 0.03747759759426117, 0.05165426433086395, -0.001029212144203484, 0.012785548344254494, -0.0462128110229969, -0.027109060436487198, -0.01742098107933998, -0.02915189042687416, -0.06577899307012558, -0.011147471144795418, -0.00011951502528972924, 0.009143806993961334, 0.07526250928640366, 0.012363932095468044, -0.043092451989650726, 0.03693464770913124, -0.009630304761230946, -0.047660429030656815, -0.02771141193807125, 0.06991671770811081, -0.009593845345079899, 0.010266189463436604 ]
[ 0.004643650725483894, 0.019982948899269104, 0.018300412222743034, -0.0011788895353674889, -0.011386501602828503, 0.01883772388100624, 0.002822012407705188, 0.0398530513048172, -0.006673512980341911, -0.02787977270781994, -0.021685300394892693, 0.025276850908994675, 0.02037503756582737, 0.02700047381222248, 0.007852395065128803, -0.008081374689936638, 0.033839453011751175, -0.03325240686535835, 0.040171463042497635, 0.033955205231904984, -0.025673145428299904, -0.010585887357592583, 0.0017089705215767026, -0.02613799273967743, -0.0019116484327241778, 0.03776031732559204, -0.027053941041231155, -0.025737214833498, 0.032497771084308624, -0.1061110645532608, 0.016772711649537086, -0.01817356050014496, 0.0005407155840657651, 0.011378567665815353, -0.0234089158475399, -0.029585925862193108, -0.005525780841708183, 0.0439508855342865, 0.026654697954654694, 0.06376980245113373, -0.003961306530982256, -0.03872678801417351, -0.008149190805852413, 0.013864751905202866, 0.01009012944996357, -0.010974902659654617, -0.04416368156671524, 0.0055532390251755714, -0.010796775110065937, -0.01177516020834446, -0.024560831487178802, -0.035437002778053284, -0.03194567933678627, 0.004709073808044195, 0.010533877648413181, 0.001186236273497343, -0.028447885066270828, -0.02773093432188034, 0.028163354843854904, 0.04119529202580452, -0.004633878357708454, 0.029386835172772408, -0.036857858300209045, -0.0005619176663458347, -0.018619701266288757, 0.00451456755399704, -0.04331371188163757, 0.019293535500764847, -0.003576459363102913, 0.026242727413773537, -0.02104572020471096, 0.04132816195487976, -0.05005227029323578, -0.028538256883621216, -0.003249678062275052, 0.03025510534644127, -0.007454689126461744, 0.007857296615839005, -0.018109604716300964, -0.03006276674568653, -0.03001946024596691, 0.020872604101896286, 0.010592461563646793, 0.017569204792380333, -0.017636030912399292, -0.001690804259851575, 0.01546940766274929, -0.025804348289966583, -0.017202531918883324, -0.02368701994419098, -0.033052217215299606, 0.04040129855275154, -0.02177928201854229, -0.0009980290196835995, -0.09618449211120605, -0.0065377200953662395, 0.014196360483765602, 0.019264236092567444, -0.0028387345373630524, 0.8525132536888123, -0.010963497683405876, -0.0005436537321656942, 0.00478657940402627, -0.0006193825975060463, -0.003696597646921873, -0.03183497115969658, -0.0026953830383718014, -0.020085658878087997, 0.01421299297362566, -0.004845918156206608, 0.007859217934310436, 0.018440207466483116, 0.02362644113600254, 0.012423163279891014, 0.013312708586454391, 0.03386247903108597, 0.04030891880393028, -0.022269679233431816, 0.01819642446935177, 0.023845218122005463, 0.0054212347604334354, 0.019669214263558388, -0.01390951406210661, -0.018372034654021263, -0.01722482591867447, -0.14721111953258514, 0.04195040836930275, -6.756866424801283e-33, 0.043807756155729294, -0.024942699819803238, 0.024525431916117668, -0.00898776389658451, 0.04902714490890503, 0.020015712827444077, -0.05381615087389946, -0.04502038285136223, -0.0038212775252759457, -0.011965777724981308, -0.012981870211660862, 0.016769209876656532, 0.02911675162613392, -0.010882152244448662, 0.03492306172847748, 0.012083381414413452, 0.04051380977034569, 0.04114002361893654, -0.006191611755639315, -0.016016073524951935, 0.014605828560888767, -0.004411583766341209, -0.008411252871155739, 0.04342932626605034, -0.026881447061896324, 0.06605841964483261, -0.014413077384233475, 0.014271790161728859, 0.020877571776509285, -0.05121370404958725, -0.032665785402059555, 0.035515766590833664, 0.004413275513797998, -0.008286960422992706, -0.06118103116750717, -0.01702635921537876, -0.01962236501276493, -0.015028337948024273, -0.012593154795467854, -0.0664583072066307, 0.006490735337138176, 0.02403664030134678, -0.03635266423225403, -0.02311606891453266, -0.008423416875302792, 0.014576241374015808, -0.03872796520590782, 0.006655598524957895, -0.018291689455509186, -0.022922543808817863, -0.02225012518465519, 0.009166347794234753, -0.02785106748342514, 0.030927984043955803, -0.03480421006679535, -0.0010369629599153996, -0.007439783308655024, 0.030623100697994232, 0.02774040959775448, 0.03060426563024521, 0.05999569222331047, -0.001905800891108811, -0.003119027940556407, 0.04328775778412819, 0.011162715032696724, -0.024355897679924965, -0.032870449125766754, -0.009647497907280922, 0.007375115528702736, -0.01706167683005333, -0.053446587175130844, 0.0661909207701683, 0.00724891247227788, -0.01818748749792576, 0.016844838857650757, -0.011600269004702568, 0.004895398393273354, -0.003457860555499792, -0.002876033540815115, 0.0234846081584692, 0.000130911692394875, -0.002552520018070936, -0.008020266890525818, -0.010925075970590115, -0.015747250989079475, -0.03334495797753334, 0.023858197033405304, 0.0006638346239924431, -0.05090022087097168, 0.019901903346180916, -0.008778562769293785, -0.005996081046760082, 0.0013901100028306246, -0.00880649033933878, -0.019398147240281105, 7.100388485781773e-33, 0.03166097775101662, 0.004341605119407177, 0.019520331174135208, 0.008456842973828316, 0.06574849039316177, 0.008105107583105564, 0.014134811237454414, 0.0015623356448486447, -0.03173765540122986, 0.0592137910425663, 0.007290641777217388, -0.02627693861722946, 0.0009628621046431363, 0.04946338012814522, 0.02944161370396614, 0.004105363506823778, 0.03961765021085739, -0.005727697163820267, -0.02289455011487007, 0.0173672866076231, 0.007773151155561209, 0.007233365438878536, -0.019734524190425873, 0.01187334768474102, 0.008825617842376232, 0.05715224891901016, 0.011562883853912354, -0.003103896277025342, -0.028341488912701607, -0.013062715530395508, -0.028070708736777306, 0.000704754376783967, -0.007343142759054899, -0.00373843964189291, -0.0016713769873604178, 0.042015403509140015, -0.008318263106048107, -0.029771246016025543, 0.010188995860517025, -0.03831892088055611, 0.015399524942040443, 0.019907338544726372, -0.05939068645238876, 0.02887093462049961, 0.029726406559348106, 0.02409045770764351, -0.015171880833804607, -0.014854594133794308, -0.012196892872452736, -0.002467312151566148, -0.0228242427110672, 0.004256227519363165, 0.008894233033061028, 0.0015993512934073806, -0.015267792157828808, -0.05249379947781563, 0.01417786069214344, 0.029860079288482666, -0.042333703488111496, -0.004795599728822708, -0.019550370052456856, 0.030677108094096184, -0.03639048710465431, 0.011203184723854065, -0.0198709424585104, -0.029511382803320885, -0.021952124312520027, -0.0016448557144030929, 0.009249664843082428, 0.001062143943272531, 0.017719311639666557, -0.0022363171447068453, 0.012214371003210545, 0.03711821511387825, 0.03816262260079384, -0.011868569068610668, -0.009491374716162682, 0.003673098748549819, -0.026964811608195305, 0.004755242262035608, -0.0044144755229353905, -0.012490417808294296, 0.011143811978399754, 0.026356633752584457, -0.00594375329092145, 0.025960560888051987, -0.0019875417929142714, 0.03646955266594887, -0.007183346897363663, 0.017128754407167435, 0.0032631694339215755, -0.027618782594799995, -0.026998115703463554, 0.019826501607894897, 0.043351124972105026, -1.2876427923913525e-8, -0.031134363263845444, -0.006417898926883936, -0.0060157692059874535, 0.004242252558469772, 0.015421608462929726, 0.018371794372797012, 0.011677964590489864, 0.01908063143491745, -0.03200192749500275, 0.03562319278717041, 0.033798735588788986, 0.01122523657977581, 0.0009874729439616203, 0.010192157700657845, -0.005197647027671337, -0.013866080902516842, -0.004850645083934069, -0.0005537550314329565, 0.028699683025479317, 0.002751968102529645, -0.0016590483719483018, 0.02732461877167225, 0.002471486572176218, 0.0022292817011475563, 0.023107582703232765, -0.025778282433748245, 0.020476102828979492, -0.0802047848701477, -0.010508484207093716, -0.012342904694378376, 0.006369233597069979, -0.020322604104876518, 0.0021611282136291265, 0.022017084062099457, -0.028141317889094353, -0.01951080560684204, 0.02323152869939804, 0.01581190899014473, 0.019808659330010414, -0.010918775573372841, -0.018391482532024384, -0.029705040156841278, -0.028246063739061356, -0.042908500880002975, -0.054832231253385544, 0.018087493255734444, -0.011838953010737896, 0.0062783630564808846, -0.0054962532594799995, -0.036433860659599304, -0.010494167916476727, -0.0033477977849543095, 0.029391787946224213, -0.00521918386220932, -0.003534336807206273, -0.008756211027503014, -0.020524315536022186, -0.015835536643862724, 0.011548376642167568, -0.04081978648900986, -0.011323085986077785, 0.017312021926045418, -0.0064370231702923775, -0.02724466100335121 ]
neo4js-graph-cafe-london-28th-august-2013
https://markhneedham.com/blog/2013/08/31/neo4js-graph-cafe-london-28th-august-2013
false
2013-08-31 13:01:16
Elo Rating System: Ranking Champions League teams using Clojure
[ "clojure", "ranking-systems" ]
[ "Clojure", "Ranking Systems" ]
As I mentioned in an earlier blog post http://www.markhneedham.com/blog/2013/08/24/ranking-systems-what-ive-learnt-so-far/[I've been learning about ranking systems] and one of the first ones I came across was the http://en.wikipedia.org/wiki/Elo_rating_system[Elo rating system] which is most famously used to rank chess players. The Elo rating system uses the following formula to work out a player/team's ranking after they've participated in a match: ____ R' = R + K * (S - E) * R' is the new rating * R is the old rating * K is a maximum value for increase or decrease of rating (16 or 32 for ELO) * S is the score for a game * E is the expected score for a game + I converted that formula into the following Clojure functions: + which would be called like this to work out the new ranking of a team ranked 1200 that beat a team ranked 1500: + The way it works is that we first work out the likelihood that we should win the match by calling +++<cite>+++expected+++</cite>+++: + This tells us that we have a 15% chance of winning the match so if we do win then our ranking should be increased by a large amount as we aren't expected to win. In this case a win gives us a points increase of '32 * (1-0.15)' which is ~27 points. + I kept things simple by always setting the importance/maximum value of increase or decrease to 32. The http://www.eloratings.net/system.html[World Football Rankings] took a different approach where they vary it based on the importance of a match and the margin of victory. + I decided to try out the algorithm on the 2002/2003 Champions League season. I was able to http://www.rsssf.com/ec/ec200203det.html[grab the data] from The Rec Sport Soccer Statistics Foundation and I've written previously about http://www.markhneedham.com/blog/2013/08/26/clojureenlive-screen-scraping-a-html-file-from-disk/[how I scraped it using Enlive]. + With a lot of help from https://twitter.com/pbostrom[Paul Bostrom] I ended up with the following code to run a reduce over the matches while updating team rankings after each match: + The +++<cite>+++matches+++</cite>+++ parameter that we pass into +++<cite>+++top-teams+++</cite>+++ https://github.com/mneedham/ranking-algorithms/blob/master/src/ranking_algorithms/parse.clj#L20[looks like this]: + And calling +++<cite>+++https://github.com/mneedham/ranking-algorithms/blob/master/src/ranking_algorithms/parse.clj#L22[extract-teams]+++</cite>+++ on it gets us a set of all the teams involved: + We then +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/mapcat[mapcat]+++</cite>+++ over it to get a vector containing team/default points pairs: + before calling +++<cite>+++http://clojuredocs.org/clojure_core/clojure.core/array-map[array-map]+++</cite>+++ to make a hash of the result: + We then apply a reduce over all the matches and call the function +++<cite>+++process-match+++</cite>+++ on each iteration to update team rankings appropriately. The final step is to sort the teams by their ranking so we can list the top teams: + Interestingly the winners (Juventus) are only in 5th place and the top 2 places are occupied by teams that lost in the Quarter Final. I wrote the following functions to investigate what was going on: + If we call it with Juventus we can see how they performed in their matches: + Although I'm missing the final - I need to fix the parser to pick that match up and it was a draw anyway - they actually only won 8 of their matches outright. Barcelona, on the other hand, won 13 matches although 2 of those were qualifiers. + The next step is to take into account the importance of the match rather than applying an importance of 32 across the board and adding some value to winning a tie/match even if it's on penalties or away goals. + The https://github.com/mneedham/ranking-algorithms/tree/master/src/ranking_algorithms[code is on github] if you want to play around with it or have suggestions for something else I can try out. ____
null
null
[ -0.00975422840565443, 0.014630738645792007, 0.02766242064535618, 0.015091984532773495, 0.0661674365401268, -0.02169036865234375, 0.02206270769238472, 0.030093668028712273, 0.005475087556988001, -0.021917883306741714, 0.012634829618036747, 0.00887162983417511, -0.061887409538030624, 0.011291926726698875, -0.007036351598799229, 0.07451389729976654, 0.06149308383464813, 0.028630448505282402, 0.00048685402725823224, -0.031615566462278366, 0.02569856122136116, 0.09130720794200897, 0.013058344833552837, 0.03926297649741173, 0.06151685118675232, 0.0033456413075327873, 0.0240331944078207, 0.015220625326037407, -0.04128153622150421, 0.002149096690118313, 0.05891641601920128, -0.00881068967282772, -0.008170533925294876, -0.010679270140826702, 0.02239927649497986, -0.03846023604273796, -0.0016665311995893717, 0.023492176085710526, -0.00034988802508451045, -0.017203623428940773, -0.07253099232912064, 0.03540503978729248, -0.04325854033231735, 0.035344548523426056, -0.03483879938721657, -0.005900085903704166, -0.03583198040723801, 0.00908281747251749, -0.005503876134753227, -0.0036441641859710217, -0.05980578809976578, 0.02813263051211834, -0.013172117993235588, 0.01140519417822361, -0.009381297044456005, 0.03999908268451691, 0.018948903307318687, -0.02947854809463024, 0.008078166283667088, -0.0493609718978405, -0.0020892301108688116, -0.0035726551432162523, 0.0038528800942003727, 0.017284583300352097, 0.009284206666052341, -0.021979358047246933, 0.013252373784780502, 0.029577160254120827, -0.020901042968034744, 0.0005265048239380121, -0.02981991320848465, -0.014751729555428028, -0.005199786741286516, -0.033386729657649994, 0.011779945343732834, -0.07626459747552872, -0.009305560030043125, 0.07945501804351807, 0.018881240859627724, 0.025301821529865265, -0.022166112437844276, 0.014633662067353725, 0.009093978442251682, 0.012754821218550205, -0.037462785840034485, -0.03191108629107475, -0.011028239503502846, -0.01812506839632988, -0.04641437157988548, 0.07050897181034088, 0.015262884087860584, -0.048819202929735184, 0.012616862542927265, 0.029520045965909958, -0.009420272894203663, -0.010538332164287567, 0.03049028292298317, -0.0031834212131798267, -0.031017199158668518, -0.056065645068883896, -0.006118149496614933, -0.04464869946241379, 0.03175182268023491, 0.007293662987649441, -0.09720153361558914, -0.008127289824187756, 0.0034898698795586824, 0.0252170842140913, -0.0066360002383589745, 0.003336461028084159, -0.02268890291452408, 0.012137562967836857, -0.0012608155375346541, 0.002514683874323964, -0.08414153754711151, 0.055459778755903244, 0.023900924250483513, -0.022477244958281517, -0.004996035248041153, 0.03604784607887268, 0.037790682166814804, -0.005608173552900553, -0.014564271084964275, 0.0728326290845871, 0.00210752640850842, 0.018107516691088676, 0.01608537882566452, 0.05886746942996979, -0.016358330845832825, -0.05681680515408516, 0.0036189041566103697, 0.057411078363657, -0.031992357224226, 0.03394501283764839, -0.0038977323565632105, -0.05172436311841011, -0.009647689759731293, -0.029773056507110596, 0.049245838075876236, 0.06663481891155243, -0.0034887599758803844, -0.039913102984428406, 0.01995854452252388, 0.02247598208487034, 0.0172698013484478, -0.019866887480020523, 0.01038132794201374, -0.019790852442383766, -0.02576470375061035, -0.00727936951443553, 0.042995061725378036, 0.011374360881745815, 0.0320817306637764, -0.03359106183052063, 0.005336720962077379, 0.07733559608459473, 0.05054212734103203, -0.015749363228678703, -0.018279748037457466, 0.06285390257835388, 0.04538596794009209, 0.031507816165685654, 0.017676670104265213, 0.02269408106803894, 0.009092514403164387, -0.019904201850295067, 0.009188085794448853, 0.07884933054447174, -0.006083755288273096, -0.0072996169328689575, -0.033816706389188766, -0.027320295572280884, 0.054393962025642395, -0.022419435903429985, -0.011243429034948349, 0.06673607230186462, 0.06864772737026215, 0.05388867110013962, 0.07032081484794617, -0.0007415172294713557, -0.07875585556030273, 0.026640277355909348, 0.017835432663559914, 0.028082963079214096, 0.04368677735328674, -0.022115280851721764, 0.07907762378454208, 0.03011145070195198, 0.010451206006109715, 0.04686005786061287, -0.0765630453824997, -0.06704629957675934, -0.02877255529165268, -0.028744632378220558, 0.0571577288210392, -0.03646867349743843, 0.020756779238581657, 0.0523490384221077, -0.000296582467854023, 0.030217841267585754, 0.043666448444128036, 0.01819838583469391, 0.04238612949848175, -0.049926113337278366, -0.058630719780921936, 0.05160008743405342, 0.013426117599010468, -0.01837434433400631, -0.05348178744316101, 0.036105744540691376, -0.04904785752296448, 0.004107936751097441, 0.012825378216803074, -0.03743768483400345, 0.004884911235421896, 0.01921198144555092, 0.06584511697292328, -0.023375550284981728, 0.029189951717853546, -0.042331431061029434, 0.018969962373375893, 0.018230821937322617, -0.0019782138988375664, 0.019571274518966675, 0.0076051861979067326, 0.12499991059303284, 0.0340682752430439, -0.02443942427635193, -0.06997611373662949, 0.0355038158595562, 0.00819607824087143, -0.024498989805579185, 0.011057189665734768, -0.0006109794485382736, -0.01563403569161892, -0.02093343809247017, -0.07163474708795547, -0.05020594224333763, 0.012019082903862, -0.03600969538092613, 0.021263957023620605, 0.07539913058280945, 0.013209905475378036, 0.056106679141521454, -0.003062213072553277, 0.004679958336055279, -0.0009137253509834409, -0.009554693475365639, -0.05649932101368904, 0.0010468570981174707, -0.0023280868772417307, -0.021722886711359024, 0.02390751615166664, -0.020537706092000008, -0.036447059363126755, -0.01502264104783535, -0.03580164909362793, 0.022967664524912834, 0.04994351416826248, 0.060948412865400314, 0.03827004134654999, 0.026369856670498848, -0.030665693804621696, -0.002505679614841938, -0.017888149246573448, -0.05533882975578308, -0.05479378625750542, -0.059076305478811264, 0.006235238630324602, 0.005733090452849865, 0.0032053200993686914, 0.002435180824249983, 0.017160961404442787, 0.007331119384616613, -0.016644500195980072, 0.012183568440377712, 0.03157995641231537, 0.004786237608641386, -0.01330959890037775, -0.015845652669668198, -0.015404785983264446, 0.04229649528861046, -0.01010293047875166, -0.000586486014071852, 0.014189151115715504, -0.07730033248662949, 0.03266580030322075, -0.07452802360057831, -0.0030057327821850777, -0.004211661405861378, -0.01845635287463665, 0.04673847556114197, 0.034548062831163406, 0.014821751974523067, 0.061242517083883286, -0.003338426351547241, 0.015445011667907238, 0.019914882257580757, 0.02010173723101616, 0.05025622621178627, -0.006927411071956158, -0.004016275517642498, 0.05651433765888214, -0.02842785231769085, 0.01805734820663929, -0.05051324889063835, 0.021017098799347878, -0.01190366130322218, -0.2888411283493042, 0.025896212086081505, 0.022293055430054665, -0.019902458414435387, 0.01893789693713188, -0.030603667721152306, 0.002528828801587224, -0.041460879147052765, -0.027792811393737793, 0.039186857640743256, -0.04596477001905441, -0.024170387536287308, -0.03204565867781639, 0.038427382707595825, 0.03250263258814812, 0.015081544406712055, 0.027322836220264435, -0.04180462285876274, -0.0011006718268617988, 0.05636970326304436, 0.007344754878431559, -0.07390549778938293, -0.012376835569739342, 0.03752393648028374, 0.02875683456659317, 0.0989556610584259, -0.06414088606834412, 0.005412875674664974, -0.05950300768017769, -0.012764356099069118, 0.0012129073729738593, -0.0016312423394992948, 0.01943945698440075, -0.018170291557908058, -0.0187549851834774, -0.032722990959882736, 0.05965447425842285, -0.006428568158298731, -0.02766178548336029, 0.023178035393357277, -0.03958655893802643, -0.02542249672114849, -0.007232586853206158, 0.018944330513477325, 0.09096240252256393, 0.029169535264372826, -0.06502729654312134, 0.015819892287254333, -0.039173390716314316, 0.08123204112052917, -0.02406322956085205, -0.026622992008924484, -0.009889170527458191, 0.04180217534303665, -0.021515093743801117, -0.019944481551647186, -0.01130643766373396, -0.006447032559663057, -0.02227693609893322, -0.03631460294127464, -0.028594957664608955, -0.03813284635543823, 0.007071165833622217, -0.030048195272684097, -0.0020442826207727194, -0.06315453350543976, -0.05597526580095291, 0.006721829529851675, 0.054423484951257706, 0.009163908660411835, -0.04364870488643646, -0.0042000808753073215, -0.003215458244085312, -0.08397287130355835, -0.022243935614824295, -0.004227225668728352, -0.009473489597439766, 0.026861874386668205, -0.019577626138925552, 0.058093659579753876, -0.038357507437467575, -0.07040445506572723, 0.020103182643651962, 0.008190643973648548, 0.033518705517053604, -0.019466526806354523, 0.030405687168240547, 0.04449208080768585, -0.0033939441200345755, 0.001444968511350453, 0.08911781758069992, -0.028362426906824112, -0.010682571679353714, -0.0011108219623565674, 0.0070192813873291016, 0.036461152136325836, 0.0022140606306493282, -0.0082560945302248, 0.023086167871952057, 0.043473776429891586, -0.00337505666539073, -0.05555618181824684, 0.041473522782325745, -0.00218284223228693, -0.03571486100554466, -0.006403485778719187, -0.04172862693667412, 0.00022116510081104934, 0.030385181307792664, 0.013269956223666668, 0.02464127540588379, -0.0464550144970417, 0.00391422538086772, -0.02457822673022747, -0.012077388353645802, -0.012486720457673073, 0.021809369325637817, 0.03656762093305588, -0.017307911068201065, 0.00039781429222784936, -0.06289869546890259, 0.015465079806745052, -0.02870464324951172, -0.04244450479745865, -0.08018410950899124, -0.010030797682702541, 0.015554809011518955, -0.031924400478601456, 0.018334029242396355, -0.003943472635000944, -0.022074449807405472, 0.02389691211283207, 0.021927567198872566, -0.031844839453697205, 0.01842115819454193, -0.011567378416657448, -0.061017297208309174, -0.033058349043130875, 0.019121110439300537, 0.0002540581626817584, -0.0004786752979271114, 0.012108095921576023, -0.005151278339326382, 0.02707698568701744, 0.037026841193437576, -0.00757410004734993, 0.02146606519818306, -0.018913690000772476, 0.030355075374245644, 0.037692926824092865, -0.004975465591996908, -0.038670092821121216, 0.023755177855491638, -0.04768189787864685, -0.0243236031383276, 0.008002813905477524, 0.020531225949525833, -0.01177169568836689, -0.04230158403515816, -0.03741941973567009, -0.0011684420751407743, -0.050533831119537354, -0.04442157968878746, -0.022899076342582703, 0.0446501299738884, 0.06711048632860184, -0.011999272741377354, 0.014926173724234104, 0.0013995784102007747, -0.008889468386769295, 0.01938098855316639, -0.0311476681381464, -0.050504256039857864, -0.007964421063661575, -0.019544711336493492, -0.028238626196980476, 0.016488172113895416, 0.01616067998111248, 0.02040950022637844, -0.008046338334679604, -0.008681072853505611, -0.046839166432619095, 0.019569264724850655, 0.031779609620571136, 0.0424472875893116, 0.03628736361861229, -0.013033630326390266, -0.004909750074148178, -0.007620383985340595, -0.024700362235307693, -0.03405670076608658, 0.004215403459966183, -0.02285676635801792, -0.007069235667586327, -0.032771848142147064, -0.052181895822286606, 0.020480703562498093, -0.01807646080851555, -0.00045840826351195574, 0.027879949659109116, -0.0028545474633574486, -0.017309922724962234, -0.013857117854058743, 0.02235378324985504, 0.06512688845396042, -0.05859559774398804, 0.004293621983379126, 0.00394440395757556, -0.00454435171559453, -0.003740394487977028, -0.009579247795045376, -0.04970795288681984, -0.02164306677877903, -0.009289604611694813, 0.030926384031772614, -0.06659267842769623, -0.02252301014959812, -0.03857962042093277, -0.03178677707910538, -0.0006648996495641768, 0.018640002235770226, -0.025917693972587585, -0.005293023772537708, -0.02324778214097023, -0.0240370724350214, -0.0034431922249495983, -0.017817281186580658, -0.01376846618950367, 0.011591262184083462, -0.024857208132743835, -0.003900758223608136, -0.0006733151967637241, 0.011211869306862354, 0.031756192445755005, -0.012337678112089634, 0.0021957436110824347, -0.04619600623846054, 0.018983056768774986, 0.007353995461016893, 0.06463278084993362, -0.014298466965556145, -0.037658751010894775, -0.04010225832462311, -0.00397877860814333, -0.037515174597501755, 0.003379780799150467, -0.002838693093508482, -0.012658643536269665, 0.056492771953344345, 0.039880335330963135, 0.01613902486860752, 0.007374627981334925, -0.019265472888946533, -0.026796182617545128, 0.05133797228336334, -0.060328103601932526, -0.005858089774847031, -0.008904719725251198, -0.03755981847643852, 0.022930268198251724, -0.012990652583539486, 0.01880454085767269, -0.04960609972476959, 0.03711193799972534, 0.04256735369563103, 0.02232217788696289, 0.04160220921039581, 0.03428355231881142, 0.022706059738993645, -0.04267535358667374, 0.005615181755274534, -0.10150601714849472, 0.00766261899843812, 0.04545186460018158, 0.0325050875544548, 0.007041526027023792, 0.007432104088366032, -0.03163861110806465, 0.020186210051178932, -0.06118731200695038, -0.024273356422781944, 0.03270444646477699, -0.012388844974339008, -0.024375813081860542, 0.020532960072159767, -0.06773977726697922, -0.013314710929989815, 0.02823650650680065, -0.03794356808066368, -0.0018596313893795013, -0.03503669425845146, 0.04356000944972038, -0.027844199910759926, 0.03565538674592972, -0.026500888168811798, -0.007942307740449905, 0.07159899175167084, 0.018857840448617935, 0.005852225236594677, 0.048056721687316895, -0.0032431981526315212, 0.035133615136146545, 0.020910847932100296, 0.023127015680074692, 0.0012715613702312112, 0.017066722735762596, -0.015539058484137058, -0.040997687727212906, 0.02673214301466942, 0.0012258936185389757, -0.02080940641462803, -0.06690629571676254, 0.061541177332401276, 0.014333684928715229, -0.037406593561172485, -0.0482490099966526, -0.0033021033741533756, -0.03327181935310364, -0.007333584129810333, -0.009870769456028938, 0.011752115562558174, -0.04975499212741852, 0.06947199255228043, 0.010420355014503002, 0.00010146405111299828, 0.0690082237124443, -0.00019844973576255143, -0.033341795206069946, 0.023157520219683647, 0.098992258310318, 0.09106922149658203, 0.06623481959104538, -0.01624065451323986, 0.07515926659107208, -0.01030593179166317, -0.06463148444890976, -0.003881900804117322, -0.012725001201033592, 0.00009241998486686498, 0.0016087997937574983, 0.001964799826964736, 0.036830268800258636, -0.03446200117468834, 0.07103421539068222, -0.00890860240906477, -0.048588428646326065, 0.008147144690155983, 0.00656863721087575, 0.0035285786725580692, 0.06255922466516495, -0.017666025087237358, 0.026501489803195, -0.01051377598196268, -0.039231907576322556, 0.018639039248228073, -0.011926385574042797, -0.0029474745970219374, -0.0025767290499061346, -0.03898544982075691, 0.026039090007543564, -0.003938503563404083, 0.01856684684753418, 0.08315697312355042, -0.04223380982875824, 0.026315148919820786, 0.005661656614392996, 0.019978905096650124, -0.00915175024420023, -0.00837453082203865, -0.011197065003216267, -0.008060646243393421, -0.03390884026885033, -0.006514581385999918, -0.016471246257424355, -0.029967306181788445, -0.016418972983956337, 0.00643762294203043, -0.006095813121646643, 0.013416081666946411, 0.03929886594414711, -0.0018639888148754835, -0.030866092070937157, -0.04605324566364288, -0.03989342972636223, -0.082948699593544, -0.061599522829055786, -0.04333174228668213, 0.03875790163874626, 0.008816169574856758, -0.019937101751565933, -0.005314632784575224, -0.011458312161266804, -0.03315412253141403, 0.026724886149168015, -0.029697593301534653, -0.011399588547647, 0.021672220900654793, 0.037915416061878204, 0.026027051731944084, 0.00532492995262146, 0.04943928122520447, -0.007207334507256746, -0.006463697180151939, -0.015725675970315933, 0.010996450670063496, 0.03501085564494133, 0.004022297449409962, -0.009934473782777786, -0.07328739017248154, -0.003656950546428561, 0.028974980115890503, -0.05791497230529785, -0.07110622525215149, 0.015148114413022995, 0.02147877961397171, 0.013063793070614338, 0.04471438005566597, -0.029068071395158768, 0.009122203104197979, -0.06251322478055954, 0.004104706458747387, -0.008926423266530037, -0.0004772261017933488, 0.055351197719573975, -0.018066013231873512, 0.10239504277706146, 0.007966234348714352, -0.026439592242240906, -0.05467987060546875, -0.013023569248616695, -0.029002681374549866, 0.0008787986589595675, -0.03973311558365822, -0.02354574389755726, -0.025930754840373993, -0.09082242846488953, -0.02550533413887024, 0.026435907930135727, -0.025077983736991882, -0.045845791697502136, 0.00505038583651185, 0.01638318970799446, -0.0035888717975467443, 0.009350634180009365, -0.03206977993249893, 0.03757605701684952, -0.03823869302868843, 0.003383037867024541, -0.002105951076373458, 0.030614066869020462, -0.003231695154681802, -0.003379740985110402, 0.029501592740416527, -0.04096680134534836, 0.02048313617706299, -0.003914512228220701, -0.003189685055986047, 0.0316755473613739, 0.025476237758994102, -0.008128070272505283 ]
[ -0.09727012366056442, 0.016932984814047813, -0.012637985870242119, -0.025063371285796165, 0.04140791669487953, 0.0003857149858959019, 0.04699960723519325, 0.027572983875870705, 0.08172936737537384, 0.0028845726046711206, 0.0023328643292188644, -0.05408504232764244, -0.02867703326046467, -0.01382127869874239, 0.041485585272312164, -0.03184059262275696, -0.0381365567445755, -0.03682832792401314, -0.03333312273025513, 0.0033610027749091387, -0.018037017434835434, -0.0205485001206398, -0.0399320125579834, -0.05305551365017891, 0.021388275548815727, 0.016621455550193787, 0.02831827476620674, -0.02242886833846569, -0.031992312520742416, -0.21761880815029144, -0.0144414734095335, -0.011437347158789635, 0.07344950735569, -0.019986949861049652, -0.04202161356806755, 0.009970081970095634, -0.022238368168473244, 0.014284927397966385, 0.019662288948893547, 0.032029829919338226, 0.017772430554032326, 0.024551263079047203, -0.03930089995265007, -0.02937219850718975, 0.03402859717607498, 0.022527022287249565, 0.0081737469881773, 0.004605198744684458, 0.0005324541707523167, 0.04811294376850128, -0.029013624414801598, 0.008597644045948982, -0.00444083521142602, -0.010093467310070992, 0.03383079916238785, 0.04614961892366409, 0.04986036568880081, 0.06961185485124588, 0.01671293005347252, 0.04246706888079643, 0.043576985597610474, 0.000978300697170198, -0.16687966883182526, 0.0548664927482605, 0.00800781324505806, 0.016570108011364937, -0.037544362246990204, 0.02655840665102005, -0.041837431490421295, 0.1001739650964737, -0.00919671356678009, -0.04618837684392929, 0.004536813590675592, 0.016297172755002975, 0.0333835668861866, 0.02285143733024597, -0.025493597611784935, -0.03292745724320412, 0.017346946522593498, 0.0029581263661384583, -0.024056896567344666, -0.007296144030988216, -0.04928436875343323, -0.04882655292749405, -0.024455973878502846, 0.01133947353810072, -0.00857396051287651, 0.04365159571170807, 0.03182607516646385, 0.016751276329159737, 0.05572117120027542, 0.035659391433000565, 0.010344485752284527, 0.009078548289835453, -0.05295829102396965, -0.035502392798662186, -0.02924337424337864, 0.02182021550834179, -0.03479320555925369, 0.444869726896286, 0.00669002253562212, 0.007834970951080322, 0.037564389407634735, 0.020870860666036606, 0.009456682950258255, -0.024356259033083916, 0.007950449362397194, -0.0404592826962471, -0.00890266988426447, -0.00838590320199728, -6.294573609011422e-7, 0.0015023744199424982, 0.036607399582862854, -0.0054068067111074924, -0.007385054603219032, 0.052870772778987885, 0.03977683186531067, 0.0262410007417202, 0.041572120040655136, 0.016365842893719673, -0.02175290323793888, 0.017573239281773567, 0.0027701265644282103, -0.030007068067789078, 0.007922305725514889, 0.008577202446758747, -0.0008416702039539814, 0.06169050931930542, 0.011177062056958675, 0.003753372235223651, 0.020837251096963882, -0.07690431922674179, -0.09994041174650192, 0.003595461370423436, -0.024248380213975906, -0.0035535446368157864, 0.022316962480545044, 0.012638499028980732, 0.014927174896001816, 0.06090810149908066, -0.015064015053212643, -0.05722244828939438, 0.07997225970029831, -0.04551956430077553, -0.05285447835922241, 0.11249145865440369, 0.00846805889159441, -0.05162781476974487, 0.021299615502357483, -0.04413485527038574, 0.006727240514010191, -0.0029878399800509214, -0.005582432262599468, -0.0662662610411644, -0.03912108764052391, 0.00378663488663733, 0.06348131597042084, -0.03508487716317177, -0.06736985594034195, -0.02071249671280384, -0.06923515349626541, -0.023457447066903114, -0.03306812047958374, 0.05936430022120476, 0.07737328112125397, -0.07202407717704773, -0.021652178838849068, -0.01771101914346218, -0.011478512547910213, -0.06198501959443092, 0.025954926386475563, 0.0036096214316785336, -0.045147351920604706, 0.024471722543239594, 0.04049031808972359, -0.01392906904220581, -0.021775392815470695, -0.03187527880072594, 0.06864441931247711, -0.015055933967232704, 0.05707757547497749, 0.0066902912221848965, -0.05733293294906616, 0.007294015493243933, -0.0355297327041626, -0.022253284230828285, -0.07979105412960052, -0.03048797696828842, -0.009842836298048496, 0.0006203529774211347, -0.03541509434580803, 0.0014976069796830416, -0.0722317025065422, 0.059363484382629395, -0.03221241757273674, 0.02095659077167511, -0.003010007319971919, -0.03512423485517502, -0.0033814040943980217, -0.016310328617691994, -0.09254667162895203, 0.0032631182111799717, -0.008578325621783733, 0.006527485325932503, -0.029401440173387527, 0.048207372426986694, 0.06455676257610321, -0.04216478392481804, 0.09743823111057281, 0.02831595204770565, -0.044140394777059555, -0.056152116507291794, -0.022990865632891655, 0.015055003575980663, 0.023306844756007195, 0.008648262359201908, -0.006848537363111973, -0.0016917522298172116, -0.03100516088306904, 0.022159885615110397, -0.02407115139067173, 0.015439392067492008, -0.012478590942919254, -0.32380667328834534, -0.026994941756129265, -0.042425692081451416, -0.0007465042872354388, 0.02010626345872879, -0.028674624860286713, 0.03164609521627426, -0.027504699304699898, 0.022075943648815155, 0.04425261914730072, 0.0799589455127716, 0.004481085576117039, -0.021691860631108284, -0.05970931798219681, 0.00662906002253294, 0.0009605270461179316, -0.05839749798178673, -0.041642628610134125, -0.018100960180163383, 0.02051892690360546, 0.05765726789832115, 0.02826560102403164, -0.019246360287070274, -0.025667257606983185, -0.008145864121615887, -0.06504709273576736, 0.08692675828933716, 0.027303818613290787, 0.06943114101886749, -0.033190663903951645, 0.034148260951042175, -0.00407015485689044, 0.01725698634982109, -0.033999036997556686, 0.05767446756362915, -0.034563545137643814, -0.000302343862131238, -0.05419396236538887, 0.006226276978850365, -0.057570770382881165, -0.0504770390689373, 0.011338455602526665, -0.0514272041618824, -0.03276534378528595, -0.06439948827028275, 0.03282091021537781, 0.0104060722514987, -0.022322578355669975, -0.024725429713726044, 0.07709668576717377, 0.03551704064011574, 0.027932167053222656, 0.07286223769187927, -0.0556061789393425, 0.021589098498225212, -0.024795712903141975, -0.09944148361682892, 0.004547296557575464, -0.00862165354192257, 0.012558492831885815, 0.02476259134709835, 0.0031845185440033674, 0.06129281967878342, -0.07101384550333023, -0.00022434344282373786, 0.0028233625926077366, 0.02508041262626648, -0.005624732933938503, 0.039801351726055145, -0.02037796750664711, -0.025952700525522232, 0.042011432349681854, 0.014130789786577225, -0.0043507590889930725, 0.06961645185947418, 0.04738911613821983, 0.02748069539666176, 0.012537838891148567, 0.02636539377272129, 0.03510629013180733, 0.038560230284929276, -0.05018003657460213, 0.04279476776719093, -0.03518069162964821, 0.021780215203762054, 0.00899684801697731, 0.0011679052840918303, 0.018996432423591614, 0.053402129560709, 0.06402016431093216, -0.0345153771340847, 0.02401781640946865, -0.027712110430002213, -0.036739226430654526, 0.029932517558336258, -0.020364781841635704, -0.23311534523963928, 0.014357567764818668, 0.08959361910820007, 0.04742985591292381, 0.027690911665558815, 0.00623501930385828, 0.038565315306186676, -0.037122681736946106, -0.03586100414395332, 0.030139362439513206, 0.031138140708208084, 0.018958400934934616, -0.010584736242890358, 0.003640313632786274, -0.01296317670494318, -0.04197266325354576, 0.014500708319246769, -0.028484344482421875, 0.0729474425315857, 0.04038786515593529, 0.04120807349681854, -0.009651337750256062, 0.1730785071849823, 0.0014499593526124954, 0.06496673822402954, 0.0410652756690979, -0.0024993768893182278, -0.028865858912467957, -0.013721324503421783, -0.021058792248368263, 0.002681865356862545, 0.046964891254901886, 0.04642258957028389, 0.04212861880660057, 0.009935102425515652, 0.006067018955945969, -0.021970754489302635, 0.04511107876896858, -0.005024469457566738, -0.05760122090578079, 0.0024726034607738256, 0.02055954933166504, -0.038519710302352905, 0.027745239436626434, 0.07112465798854828, 0.011930711567401886, 0.023464517667889595, -0.06854172050952911, -0.04125213623046875, -0.010986262001097202, -0.05249176546931267, -0.03805354982614517, 0.007689859252423048, -0.024070989340543747, 0.0006923524197191, 0.04329843446612358, 0.017246559262275696, -0.032749585807323456, 0.04334760829806328, -0.010477876290678978, -0.02345810830593109, -0.00622039008885622, 0.07596565783023834, -0.004228207282721996, 0.015007546171545982 ]
[ 0.011130680330097675, 0.036570414900779724, -0.007133357226848602, -0.027643924579024315, 0.014513949863612652, 0.04495234787464142, -0.00484794657677412, 0.03792378306388855, 0.01717764139175415, 0.002640603808686137, -0.016425328329205513, 0.0030549182556569576, 0.0540727898478508, -0.005805743392556906, -0.012334414757788181, -0.019245300441980362, 0.006751773878931999, 0.01605299301445484, 0.020405586808919907, 0.004465088248252869, -0.0028310634661465883, -0.036355044692754745, -0.03303910791873932, -0.011589890345931053, -0.005785190965980291, -0.004012392368167639, -0.018248988315463066, 0.028955942019820213, -0.00015594663273077458, -0.14326584339141846, -0.03547239303588867, -0.03382713720202446, 0.05522218346595764, 0.012777101248502731, -0.04575927183032036, -0.013162355870008469, -0.015689942985773087, -0.037469007074832916, -0.0052741458639502525, -0.00408422714099288, -0.019856169819831848, 0.007825830951333046, 0.012405762448906898, 0.030505388975143433, 0.03609594702720642, 0.02613893896341324, -0.038498084992170334, -0.032534677535295486, -0.0010125302942469716, 0.0024908718187361956, -0.05279235169291496, 0.001693593803793192, 0.0273298230022192, 0.011382801458239555, 0.016992947086691856, -0.01744743064045906, -0.0435137040913105, -0.006152289919555187, 0.023491740226745605, -0.02147999219596386, 0.011902101337909698, -0.0004971192101947963, -0.037099264562129974, -0.0061416528187692165, -0.010819894261658192, -0.046359989792108536, -0.007059613708406687, 0.014564606361091137, -0.04347706213593483, 0.02947317063808441, 0.0072695352137088776, -0.006233069580048323, -0.004330682102590799, -0.017319688573479652, -0.007675768807530403, 0.032034408301115036, -0.03494177758693695, -0.016392821446061134, 0.02211328223347664, 0.004361698869615793, -0.045097190886735916, -0.00958465039730072, 0.010586459189653397, -0.036824293434619904, 0.01512538269162178, -0.019865870475769043, 0.03955879062414169, -0.04369287192821503, 0.01522054336965084, 0.017698705196380615, -0.009279901161789894, 0.022208573296666145, -0.009092003107070923, 0.02018996886909008, -0.07648546248674393, 0.04030761495232582, -0.0156606025993824, -0.03345833346247673, 0.01790630631148815, 0.8491818904876709, -0.012114267796278, 0.04014638066291809, 0.004278621170669794, 0.014003734104335308, 0.030215829610824585, -0.010703285224735737, -0.010149015113711357, 0.023902619257569313, -0.014434034004807472, -0.04873187467455864, 0.010601936839520931, 0.013483353890478611, 0.022879542782902718, 0.009809661656618118, 0.017413530498743057, 0.04516013339161873, 0.005400869529694319, 0.03272619470953941, 0.020854569971561432, 0.030629701912403107, 0.036049190908670425, -0.007199270185083151, -0.025644494220614433, -0.01490000355988741, 0.01873481459915638, -0.12405161559581757, 0.01771862432360649, -7.489389688511608e-33, 0.047114141285419464, -0.016880877315998077, 0.010148522444069386, -0.005758195649832487, -0.03782915696501732, 0.028307190164923668, 0.028821909800171852, -0.0030974014662206173, -0.023178789764642715, -0.05281423032283783, -0.009664042852818966, 0.029555650427937508, 0.03249908983707428, -0.02049701288342476, 0.03541981428861618, -0.004286591429263353, -0.008556229993700981, 0.012926752679049969, -0.004003494046628475, 0.0036148985382169485, 0.046867161989212036, 0.018961260095238686, 0.044489387422800064, 0.014547417871654034, -0.005357436835765839, 0.02359684556722641, -0.021887339651584625, -0.05543773993849754, 0.014960949309170246, -0.041650403290987015, -0.008657993748784065, 0.002845238195732236, -0.052823953330516815, -0.025016117841005325, 0.0014090813929215074, -0.029193401336669922, 0.011954891495406628, 0.016579415649175644, 0.00960906408727169, -0.04799078404903412, -0.0035215411335229874, -0.01587722636759281, -0.053825974464416504, 0.0024678350891917944, -0.03794586658477783, -0.01810661144554615, -0.009404635988175869, 0.008222769945859909, 0.0008135192329064012, -0.0026857194025069475, -0.010830607265233994, 0.0005929883336648345, 0.02363605797290802, -0.029616309329867363, -0.028394246473908424, 0.01701025292277336, -0.010005412623286247, 0.01888583041727543, -0.0254207756370306, -0.0010673810029402375, 0.023925311863422394, 0.012155846692621708, 0.0007556234486401081, 0.008730899542570114, -0.00702168233692646, -0.009114591404795647, 0.0033333336468786, -0.02423672005534172, 0.011097273789346218, -0.027364570647478104, -0.029351990669965744, 0.026372376829385757, -0.0001883040531538427, 0.0030657316092401743, -0.0035852170549333096, -0.014715281315147877, -0.014421364292502403, -0.0188042800873518, -0.01536789070814848, 0.01930169202387333, -0.00002163277895306237, 0.004711456131190062, -0.028567615896463394, -0.0704105868935585, 0.01311927568167448, -0.0029984931461513042, -0.01172451488673687, 0.01576123759150505, 0.017343172803521156, 0.026784274727106094, 0.023351848125457764, 0.013247957453131676, 0.00629291869699955, 0.008638144470751286, -0.002200261689722538, 7.658994421552063e-33, -0.012916741892695427, -0.03616863861680031, 0.018260987475514412, -0.003594589652493596, 0.05314645543694496, -0.019432146102190018, 0.02025964856147766, 0.007302328944206238, -0.0539146289229393, 0.03514804318547249, -0.02687840536236763, -0.015113862231373787, -0.010293766856193542, -0.0028894217684865, 0.04365964233875275, -0.020971976220607758, -0.008530317805707455, 0.02426418848335743, -0.03013596683740616, -0.012170488014817238, 0.01587882824242115, 0.015499957837164402, 0.023418810218572617, 0.039236586540937424, 0.036974016577005386, 0.03872884809970856, 0.015473900362849236, -0.010395226068794727, -0.02373199723660946, 0.008332286030054092, 0.038973368704319, -0.025656040757894516, -0.004790371283888817, 0.03311257064342499, -0.03321459889411926, 0.03820349648594856, -0.004581054672598839, -0.041456930339336395, -0.004413265269249678, 0.026541393250226974, 0.0008579198620282114, -0.027967045083642006, -0.017897261306643486, 0.017892595380544662, 0.03498832881450653, 0.012244454585015774, -0.00073430739575997, -0.02460833080112934, 0.011936595663428307, -0.02541891299188137, 0.015414419583976269, -5.300921657180879e-7, 0.0029349112883210182, 0.011407291516661644, -0.012212664820253849, -0.02362852916121483, -0.06368080526590347, 0.011836132034659386, -0.027795977890491486, 0.003904677927494049, 0.02115587517619133, 0.01887439750134945, -0.04537400230765343, 0.002556729596108198, -0.022858748212456703, 0.01857631467282772, -0.017694905400276184, -0.021109191700816154, -0.01209681574255228, 0.023232730105519295, -0.04724184051156044, -0.006312918849289417, 0.011355001479387283, 0.04940905421972275, -0.01936722733080387, 0.006586122792214155, -0.023582302033901215, 0.02172451838850975, -0.0012637559557333589, 0.021106641739606857, 0.023120969533920288, 0.031212273985147476, 0.023882310837507248, 0.006386861205101013, 0.028829431161284447, -0.0017401265213266015, -0.0002790316066239029, 0.007545814849436283, 0.018980931490659714, -0.022472286596894264, 0.040505122393369675, -0.029854092746973038, 0.02055930718779564, 0.001418287050910294, 0.00461856834590435, -1.3166472356829217e-8, 0.0016605581622570753, -0.013622122816741467, -0.020802617073059082, 0.07192912697792053, -0.0017653355607762933, 0.013726343400776386, 0.009832484647631645, -0.018152182921767235, 0.001547550898976624, -0.009295392781496048, 0.054761048406362534, -0.01998625136911869, 0.026433143764734268, -0.000029088389055687003, 0.044345684349536896, -0.033434756100177765, 0.018467534333467484, 0.029742728918790817, 0.031918954104185104, 0.03159428760409355, 0.014619659632444382, 0.04453739896416664, -0.007004253566265106, 0.031309060752391815, 0.02727113664150238, -0.01774628832936287, -0.023953042924404144, -0.08375844359397888, -0.008815500885248184, -0.007086967583745718, 0.035278741270303726, -0.056668151170015335, 0.0295926034450531, 0.004491883795708418, 0.0008877528598532081, 0.003284248523414135, 0.0009968444937840104, -0.01668955571949482, 0.0024933605454862118, -0.0007188049494288862, -0.006598987616598606, 0.0122526241466403, -0.06700171530246735, -0.0428428016602993, 0.005535042379051447, -0.0016108431154862046, -0.04651773348450661, -0.026749882847070694, 0.009141745045781136, -0.03934090584516525, 0.012687765061855316, -0.009747124277055264, 0.025288324803113937, 0.032599497586488724, 0.023589087650179863, 0.00037545303348451853, -0.0005032097105868161, -0.010900535620748997, -0.0021855286322534084, -0.021743496879935265, 0.017342068254947662, -0.0017461063107475638, -0.028583845123648643, 0.001082894392311573 ]
elo-rating-system-ranking-champions-league-teams-using-clojure
https://markhneedham.com/blog/2013/08/31/elo-rating-system-ranking-champions-league-teams-using-clojure
false
2013-08-30 12:23:21
Clojure: Handling state by updating a vector inside an atom
[ "clojure" ]
[ "Clojure" ]
As I mentioned in a http://www.markhneedham.com/blog/2013/08/24/ranking-systems-what-ive-learnt-so-far/[previous blog post], I've been learning about ranking algorithms and I wanted to apply them to a series of football matches to see who the strongest team was. Before that, however, I wanted to sketch out the functions that I'd need to do this and I started with the following collections of matches and team rankings: [source,lisp] ---- (def m [{:home "Manchester United", :away "Manchester City", :home_score 1, :away_score 0} {:home "Manchester United", :away "Manchester City", :home_score 2, :away_score 0}]) (def teams [ {:name "Manchester United" :points 1200} {:name "Manchester City" :points 1200} ]) ---- I wanted to iterate over the matches and make the appropriate updates to the teams' rankings depending on the result of the match. If a team wins their ranking goes up and if they lose it goes down. I wasn't sure how to iterate over the matches and pass along an updated teams collection so I decided to wrap teams in an http://clojuredocs.org/clojure_core/1.2.0/clojure.core/atom[atom] that I could update: [source,lisp] ---- (def t (atom teams)) ---- The next step was to work out how to update the vector inside the atom +++<cite>+++t+++</cite>+++. The +++<cite>+++http://clojuredocs.org/clojure_core/1.2.0/clojure.core/assoc[assoc]+++</cite>+++ function comes in useful here. If we want to update the ranking for Manchester United we could write the following code: [source,lisp] ---- > (map #(if (= "Manchester United" (:name %)) (assoc % :points 1500) %) teams) [{:name "Manchester United", :points 1500} {:name "Manchester City", :points 1200}] ---- We're mapping over the collection of teams and then each time checking whether or not the team is Manchester United. If it is then we update the ':points' value and if not then we leave it alone. The next step is to update the vector that the atom +++<cite>+++t+++</cite>+++ references which we can do by using the +++<cite>+++swap!+++</cite>+++ function: [source,lisp] ---- > (swap! t (fn [teams] (map #(if (= "Manchester United" (:name %)) (assoc % :points 1500) %) teams))) ({:name "Manchester United", :points 1500} {:name "Manchester City", :points 1200}) ---- If we look inside +++<cite>+++t+++</cite>+++ we can see that its reference has changed as well:~~~ ~~~lisp > @t [{:name "Manchester United", :points 1500} {:name "Manchester City", :points 1200}] ~~~ Our next step is to pull this code into a function that we can call from other code since we'll eventually want to iterate over the matches and update teams appropriately. Since we know that we'll need to update both the home and away team after each match we'll make sure the function can handle that: ~~~lisp (defn update-teams [teams team1 new-score1 team2 new-score2] (vec (map #(cond (= team1 (:name %)) (assoc % :points new-score1) (= team2 (:name %)) (assoc % :points new-score2) :else %) teams))) ~~~ We're calling +++<cite>+++vec+++</cite>+++ on the result to get back to a vector like we had initially. We'll handle the updating of the atom reference from elsewhere, this function only handles creating a new instance of the underlying vector. Now let's call that function while we're iterating over the matches that we defined earlier: ~~~lisp > (map (fn [match] (swap! t (fn [teams] (update-teams teams (:home match) (new-home-score match teams) (:away match) (new-away-score match teams))))) m) ([{:name "Manchester United", :points 1201} {:name "Manchester City", :points 1201}] [{:name "Manchester United", :points 1202} {:name "Manchester City", :points 1202}]) ~~~ In this case I've stubbed out +++<cite>+++new-home-score+++</cite>+++ and +++<cite>+++new-away-score+++</cite>+++ to increment the existing ranking by one: ~~~lisp (defn new-home-score [match teams] (let [home-team (find-team (:home match) teams)] (inc (:points home-team)))) (defn new-away-score [match teams] (let [away-team (find-team (:away match) teams)] (inc (:points away-team)))) (defn find-team [team teams] (first (filter #(= team (:name %)) teams))) ~~~ If we were using a real algorithm we'd assign points to the winner and take them away from the loser of a match. Although the map over the matches actually returns a collection showing the updated rankings after each match, if we want to access the current rankings we'd deference the atom +++<cite>+++t+++</cite>+++ like we did earlier: ~~~lisp > @t [{:name "Manchester United", :points 1202} {:name "Manchester City", :points 1202}] ~~~ This approach works but it feels a bit hacky to have resorted to using an atom so I'd be interested in hearing from any Clojure experts if there's a better way to solve this type of problem and if so what it is.
null
null
[ -0.0056848167441785336, -0.004079748876392841, 0.0012284994591027498, 0.007045798469334841, 0.06077135354280472, -0.01536074373871088, 0.01838245615363121, 0.032428789883852005, 0.019970474764704704, -0.028753627091646194, 0.007338015362620354, 0.006732518319040537, -0.06795895099639893, 0.019033024087548256, 0.0057421401143074036, 0.057349346578121185, 0.04582090303301811, 0.007993606850504875, 0.013799747452139854, -0.016865119338035583, 0.025689149275422096, 0.1016307920217514, -0.016059095039963722, 0.01703786663711071, 0.035501740872859955, -0.01159551739692688, 0.03028738871216774, 0.0013770423829555511, -0.04787175729870796, -0.006209731567651033, 0.03050244227051735, -0.010345316492021084, -0.009910435415804386, -0.024315033107995987, 0.027272408828139305, -0.03235699608922005, 0.01157782506197691, 0.013093404471874237, -0.012102304957807064, -0.01144382730126381, -0.05785595253109932, 0.025159884244203568, -0.04059837386012077, 0.016262982040643692, -0.04166179895401001, 0.02883199416100979, -0.04617976397275925, 0.02393815480172634, -0.007007833104580641, -0.0035677573177963495, -0.05561351031064987, 0.02488122694194317, 0.004381473641842604, -0.013851896859705448, -0.0009859136771410704, 0.033215347677469254, 0.02025388553738594, -0.05974123999476433, 0.01541969645768404, -0.02298918552696705, -0.0013139392249286175, 0.005460543092340231, 0.020811013877391815, 0.027033476158976555, 0.003812069771811366, -0.04285040125250816, -0.02099127694964409, 0.028900858014822006, -0.05926866829395294, -0.016155971214175224, -0.018646029755473137, -0.005430238321423531, -0.02049204148352146, -0.016754722222685814, -0.0035089619923382998, -0.06693460047245026, 0.0018761702813208103, 0.07539291679859161, 0.0037462005857378244, 0.06052796170115471, -0.016457142308354378, 0.030261613428592682, 0.011219101957976818, 0.020994966849684715, -0.017805080860853195, -0.017975835129618645, -0.04573536291718483, -0.01861826330423355, -0.039886556565761566, 0.06357010453939438, 0.012893781065940857, -0.04730428010225296, -0.0030172383412718773, 0.015192066319286823, -0.001015680842101574, -0.030555911362171173, 0.027102554216980934, 0.009608476422727108, -0.008651976473629475, -0.037035729736089706, -0.013607197441160679, -0.05377194285392761, 0.005141143687069416, -0.007365849334746599, -0.10365999490022659, -0.008970477618277073, -0.029572881758213043, -0.0013588110450655222, 0.012324229814112186, -0.03022943250834942, -0.031230293214321136, 0.01577138900756836, -0.015139001421630383, 0.00689390255138278, -0.06441321223974228, 0.05376549810171127, 0.020322201773524284, -0.02743670903146267, -0.016149034723639488, 0.047731343656778336, 0.02189239114522934, 0.006074468605220318, 0.004792240913957357, 0.07743015140295029, 0.003949631471186876, 0.029490817338228226, 0.020219791680574417, 0.05933479592204094, -0.022967316210269928, -0.06232954561710358, -0.02207476831972599, 0.07154014706611633, -0.04410528019070625, 0.016844147816300392, -0.013944209553301334, -0.06849860399961472, -0.036158815026283264, 0.005706756375730038, 0.07475248724222183, 0.04180622100830078, 0.011573570780456066, -0.004652846604585648, -0.007371444255113602, 0.013340095989406109, 0.036174166947603226, -0.018971942365169525, -0.003028800478205085, -0.00559490779414773, -0.010085022076964378, 0.012058097869157791, 0.04515684396028519, 0.008810081519186497, 0.044998154044151306, -0.024618610739707947, 0.010385018773376942, 0.0974934846162796, 0.05643478035926819, 0.0220520980656147, -0.041154179722070694, 0.030852550640702248, 0.03143421187996864, 0.02417241409420967, 0.00592464255169034, 0.03462538123130798, -0.006665896158665419, -0.034787774085998535, 0.006265318486839533, 0.06140138581395149, 0.009832566604018211, -0.015675272792577744, -0.02310706116259098, -0.055529117584228516, 0.0650278851389885, -0.007977125234901905, 0.005142278969287872, 0.054243896156549454, 0.08117084205150604, 0.03130492940545082, 0.06987874954938889, 0.0023822993971407413, -0.08040929585695267, 0.029111387208104134, 0.021825697273015976, 0.03743288293480873, 0.02656620554625988, -0.0022022444754838943, 0.09179137647151947, 0.04015176743268967, 0.012419997714459896, 0.03703885152935982, -0.0789135992527008, -0.07886238396167755, -0.025503262877464294, -0.03365418314933777, 0.06210160255432129, -0.03529408201575279, 0.02334844507277012, 0.061837438493967056, 0.005335858557373285, 0.054385706782341, 0.03651060536503792, 0.012127503752708435, 0.05526197329163551, -0.04794253781437874, -0.042282216250896454, 0.04113287106156349, 0.018322307616472244, -0.022040974348783493, -0.057344019412994385, 0.04775524139404297, -0.04622289165854454, 0.007806821260601282, 0.012235673144459724, -0.02912418730556965, 0.011511582881212234, -0.004474485293030739, 0.036478716880083084, -0.017818104475736618, 0.049547165632247925, -0.05021021515130997, 0.03487681224942207, 0.04222917556762695, 0.005489232484251261, 0.016691163182258606, 0.01458173617720604, 0.11531031131744385, 0.048590365797281265, -0.025495991110801697, -0.03508182242512703, 0.004628646187484264, 0.0036385301500558853, -0.005314647685736418, -0.014479630626738071, -0.013217284344136715, -0.006585247814655304, -0.014333531260490417, -0.038388270884752274, -0.03580067306756973, 0.013297917321324348, -0.05234047397971153, -0.0050177378579974174, 0.07490377128124237, 0.0027306932024657726, 0.06063039228320122, 0.012467639520764351, -0.021769609302282333, -0.02145240269601345, -0.03676993027329445, -0.0574130155146122, 0.02015153132379055, 0.005515821278095245, -0.02129940129816532, 0.024240823462605476, -0.013604060746729374, -0.022401681169867516, -0.010133112780749798, -0.030123088508844376, 0.03591730818152428, 0.04507534205913544, 0.08313237130641937, -0.00809477362781763, 0.03622298687696457, -0.028591657057404518, -0.003283464116975665, -0.03697191923856735, -0.05821840092539787, -0.05008459836244583, -0.05119343847036362, -0.00964440405368805, 0.01922784186899662, 0.009804835543036461, -0.0010180857498198748, 0.03233153000473976, 0.01433154009282589, -0.020073261111974716, 0.021763453260064125, 0.01159876398742199, 0.018788663670420647, -0.024294035509228706, -0.030101438984274864, -0.025031214579939842, 0.03733033314347267, -0.024938765913248062, -0.029592273756861687, 0.013417104259133339, -0.06334288418292999, 0.04062788560986519, -0.06223021075129509, -0.006210862193256617, 0.007290012668818235, -0.0022288537584245205, 0.020942099392414093, -0.007701341528445482, 0.017562123015522957, 0.03208337351679802, -0.007724634371697903, 0.019138578325510025, 0.011149234138429165, -0.0002842749236151576, 0.027712859213352203, -0.010668519884347916, 0.0037049115635454655, 0.04386807978153229, -0.019491225481033325, 0.01733611524105072, -0.05416160449385643, 0.002400968922302127, -0.021450655534863472, -0.28492069244384766, 0.0350104384124279, -0.011124836280941963, -0.008953768759965897, 0.027202431112527847, -0.019492264837026596, -0.018726957961916924, -0.029094159603118896, -0.02674046717584133, 0.01486066821962595, -0.04119983687996864, -0.00718513410538435, -0.04746055230498314, 0.040131714195013046, 0.03229353576898575, 0.01999136246740818, 0.013218800537288189, -0.03740839660167694, -0.031017012894153595, 0.06841004639863968, 0.008216996677219868, -0.07346218824386597, -0.01658986695110798, 0.04465432092547417, 0.01715678721666336, 0.06285787373781204, -0.06261257827281952, 0.00631963275372982, -0.058415841311216354, -0.017925681546330452, 0.02224268764257431, -0.010477462783455849, 0.011977517046034336, -0.023686422035098076, -0.041663847863674164, -0.028911592438817024, 0.037785694003105164, 0.0022297960240393877, -0.011717796325683594, 0.009858393110334873, -0.03188198059797287, -0.017557168379426003, -0.011324449442327023, -0.012949679046869278, 0.09756834805011749, 0.01257992908358574, -0.0754232332110405, -0.011990373954176903, -0.04249584302306175, 0.09042675793170929, -0.015521880239248276, -0.03755265846848488, -0.009682297706604004, 0.05436823517084122, -0.02867896668612957, -0.03427794948220253, -0.001025884528644383, -0.02452716790139675, -0.033051203936338425, -0.024911025539040565, -0.019545573741197586, -0.048265065997838974, 0.007189338095486164, -0.03097541071474552, -0.021469397470355034, -0.047821320593357086, -0.0550682507455349, 0.0010230446932837367, 0.047897592186927795, 0.004887106362730265, -0.03990212827920914, -0.0128185348585248, -0.023097872734069824, -0.08554176241159439, -0.03825248405337334, -0.008235466666519642, -0.00812224019318819, -0.0013710762141272426, -0.0058788880705833435, 0.052536915987730026, -0.061978403478860855, -0.05687720701098442, 0.003704242641106248, 0.0383102186024189, 0.02099231444299221, -0.017194779589772224, 0.0260072760283947, 0.02953094244003296, -0.007048422936350107, -0.03257647156715393, 0.06864342838525772, -0.03778327628970146, -0.017927512526512146, 0.015437298454344273, 0.01710740476846695, 0.03342030569911003, 0.004936997313052416, -0.014636391773819923, 0.017294596880674362, 0.0480024628341198, 0.010507321916520596, -0.04556259140372276, 0.01958819106221199, -0.0010653164936229587, -0.0292801633477211, 0.022711146622896194, -0.06470168381929398, -0.0011499767424538732, 0.022057557478547096, 0.02016320638358593, -0.004153961781412363, -0.033228833228349686, 0.012023904360830784, -0.042933810502290726, -0.04450063779950142, -0.008503529243171215, 0.044125694781541824, 0.02336777374148369, 0.0007155908970162272, -0.0054868124425411224, -0.10077890008687973, 0.021987514570355415, -0.023556258529424667, -0.041739169508218765, -0.08973045647144318, -0.009270058013498783, -0.005053999368101358, -0.03520507737994194, 0.02308678813278675, 0.007150690536946058, -0.01257268339395523, 0.01641262136399746, 0.038888391107320786, -0.01491197757422924, 0.018707912415266037, -0.022143792361021042, -0.028982244431972504, -0.029362687841057777, -0.003865160746499896, -0.004822516348212957, 0.017791761085391045, 0.00507837301120162, 0.026473918929696083, 0.01625961624085903, 0.026467787101864815, -0.01085604913532734, 0.002955993404611945, -0.01787508651614189, -0.0014212841633707285, 0.0398152656853199, 0.0030619429890066385, -0.026544785127043724, 0.03214031830430031, -0.06842050701379776, -0.0024115906562656164, 0.01754986308515072, 0.03240533173084259, -0.023156151175498962, -0.022785717621445656, -0.038064997643232346, 0.006280775181949139, -0.035419564694166183, -0.020844100043177605, -0.02014385722577572, 0.032361458986997604, 0.0729779377579689, -0.005681618116796017, 0.015975425019860268, -0.0076164682395756245, -0.009052292443811893, -0.003996839746832848, -0.019158244132995605, -0.0521702840924263, -0.021868837997317314, -0.019036080688238144, -0.008341467007994652, 0.005841993726789951, 0.0488056018948555, -0.00605586776509881, 0.001673100981861353, -0.01773698627948761, -0.022365259006619453, 0.02053873799741268, 0.03013530932366848, 0.04948237165808678, 0.01871090941131115, 0.008834265172481537, -0.01627998799085617, 0.009762939997017384, -0.04124211519956589, -0.016605975106358528, 0.00672141183167696, -0.014449696987867355, -0.0156411025673151, -0.0336383692920208, -0.06819213926792145, 0.018445143476128578, 0.02130863443017006, 0.005795335862785578, -0.015497886575758457, -0.020299032330513, -0.02097955532371998, -0.03844384104013443, 0.025323117151856422, 0.07061503827571869, -0.0635298639535904, -0.015270349569618702, -0.004945478402078152, 0.02044968120753765, -0.010320928879082203, -0.0001426143426215276, -0.055469054728746414, -0.013384788297116756, -0.010580792091786861, 0.021124066784977913, -0.019435087218880653, -0.005376995075494051, -0.017526982352137566, -0.013570109382271767, -0.011066507548093796, 0.008888752199709415, -0.019443806260824203, -0.0018286871491000056, -0.019402069970965385, -0.02051427587866783, -0.0037846912164241076, 0.006511310115456581, -0.009796405211091042, 0.007698684930801392, -0.020694077014923096, 0.04621687904000282, -0.026132358238101006, 0.037617359310388565, 0.03136694058775902, -0.0008881391258910298, 0.012637543492019176, -0.04159107059240341, 0.010713514871895313, 0.006368044763803482, 0.06784658133983612, -0.02567964978516102, -0.030222300440073013, -0.030440226197242737, -0.017754092812538147, -0.04176076874136925, -0.009955428540706635, -0.0002643935731612146, 0.0007397442823275924, 0.0018215011805295944, 0.05346009507775307, 0.011156287044286728, 0.0459604375064373, -0.022386787459254265, -0.02380005083978176, 0.05447151139378548, -0.031193731352686882, -0.027724644169211388, -0.011053304187953472, -0.019744036719202995, 0.016421252861618996, 0.00266954000107944, 0.012145984917879105, -0.05055674538016319, 0.04451943561434746, 0.04002890735864639, 0.024582667276263237, 0.05172232910990715, 0.0076536694541573524, 0.02263091504573822, -0.04646177589893341, 0.0066047064028680325, -0.09457214921712875, 0.0016760950675234199, 0.04541146382689476, 0.020632704719901085, -0.0033775889314711094, 0.014617572538554668, -0.02184629812836647, 0.042961880564689636, -0.045360419899225235, -0.017223574221134186, 0.032326582819223404, -0.023622265085577965, -0.0011686657089740038, 0.04196048900485039, -0.0547228679060936, 0.0021293910685926676, 0.06382692605257034, -0.022876910865306854, -0.00045593251707032323, -0.03653819113969803, 0.041091613471508026, -0.027831660583615303, 0.049632031470537186, -0.016418492421507835, -0.019664691761136055, 0.06561852246522903, 0.04371476173400879, 0.0031052769627422094, 0.057480309158563614, -0.00043770295451395214, 0.029914554208517075, 0.02870306745171547, 0.014184639789164066, 0.01247685682028532, 0.051371801644563675, -0.04069851338863373, -0.05857039615511894, 0.0292582456022501, 0.005092654377222061, -0.02935563400387764, -0.05431061610579491, 0.07344811409711838, 0.0175753366202116, -0.04472744092345238, -0.02315506339073181, 0.005222763866186142, -0.06495093554258347, 0.0011729768011718988, -0.013799098320305347, -0.0016314060194417834, -0.04054133966565132, 0.06364912539720535, 0.0047101364471018314, 0.018875285983085632, 0.06899020820856094, 0.002891123527660966, -0.03016415424644947, 0.008928422816097736, 0.08494491875171661, 0.09483935683965683, 0.0494384691119194, -0.02499706856906414, 0.07315566390752792, -0.004335412755608559, -0.050022419542074203, -0.003483215579763055, -0.01000785082578659, 0.020335253328084946, -0.002537874737754464, 0.00632853340357542, 0.07160517573356628, -0.02696995809674263, 0.06527434289455414, -0.010285741649568081, -0.0356895886361599, 0.021113606169819832, 0.0033714419696480036, 0.014564212411642075, 0.07082445919513702, -0.0061012087389826775, 0.0522032156586647, -0.016875900328159332, -0.03624279052019119, 0.025134200230240822, -0.02309343032538891, 0.014548523351550102, 0.011556134559214115, -0.03556078299880028, 0.04717039689421654, 0.004830407444387674, 0.053243719041347504, 0.07584734261035919, -0.03904975950717926, -0.003036745358258486, -0.008236984722316265, 0.025723155587911606, -0.00027469784254208207, 0.011897177435457706, 0.006864959839731455, -0.014787860214710236, -0.012079396285116673, -0.019787902012467384, -0.015610537491738796, -0.01603282429277897, -0.04211891442537308, 0.026711370795965195, 0.0032208734191954136, -0.0063451300375163555, 0.02759767323732376, 0.014264427125453949, -0.03730444610118866, -0.04260143265128136, -0.04049418121576309, -0.06582695245742798, -0.054849766194820404, -0.02666151337325573, 0.026899093762040138, 0.005124466959387064, -0.043791066855192184, -0.011363090947270393, -0.0011936567025259137, -0.009927168488502502, 0.02131839282810688, -0.04211068153381348, 0.014947433955967426, 0.015005937777459621, 0.043576840311288834, 0.04302118346095085, 0.0005832887254655361, 0.050536543130874634, -0.017912903800606728, -0.0012619243934750557, 0.008195986971259117, 0.017853183671832085, 0.04242188483476639, 0.017989112064242363, -0.00652748579159379, -0.09591016918420792, 0.008793562650680542, 0.03765110298991203, -0.01780668832361698, -0.0869082361459732, 0.011363205499947071, 0.01217105146497488, 0.003807302564382553, 0.04913933202624321, -0.026814136654138565, 0.0006655174074694514, -0.03855205699801445, 0.020373361185193062, 0.008251683786511421, 0.015847226604819298, 0.05504075065255165, -0.016690343618392944, 0.0866103246808052, 0.014861800707876682, -0.019126543775200844, -0.05640532448887825, -0.02914782427251339, -0.01771995797753334, -0.00001799901838239748, -0.047168079763650894, -0.019932780414819717, -0.053144074976444244, -0.07618182897567749, -0.0304985661059618, 0.03155890852212906, -0.051083002239465714, -0.027523312717676163, -0.012286661192774773, 0.02507000043988228, -0.0030478378757834435, 0.03602864593267441, -0.05417158827185631, 0.04831872135400772, -0.008462121710181236, 0.0042879884131252766, -0.037204597145318985, 0.015544606372714043, 0.03135494142770767, 0.02815709449350834, 0.01692820154130459, -0.04646029695868492, 0.02293482981622219, -0.007520848885178566, -0.02796555869281292, 0.006585780065506697, -0.009334991686046124, 0.029007069766521454 ]
[ -0.07615085691213608, -0.022779539227485657, -0.01862548477947712, -0.032176848500967026, 0.07274042069911957, -0.017991498112678528, 0.019291888922452927, 0.007878194563090801, 0.04672836512327194, -0.002018428174778819, 0.006937227677553892, -0.07843513041734695, 0.008796155452728271, -0.01953170634806156, 0.049119964241981506, -0.027396533638238907, -0.08351270109415054, -0.036086585372686386, -0.04251698777079582, -0.005033009219914675, -0.030089005827903748, 0.0057286364026367664, -0.040648963302373886, -0.05673211067914963, 0.041541386395692825, 0.036998774856328964, 0.04758303612470627, -0.03926227614283562, -0.029936019331216812, -0.23641277849674225, 0.0041274274699389935, -0.013724948279559612, 0.055252596735954285, -0.0182142686098814, 0.012215068563818932, 0.04005231708288193, 0.015604239888489246, -0.009923607110977173, 0.019307471811771393, 0.02977817878127098, 0.03268573805689812, -0.0066317059099674225, -0.03929166868329048, -0.07044810801744461, 0.04246309772133827, 0.027016738429665565, 0.015897192060947418, -0.00880215410143137, -0.009614829905331135, 0.04891257360577583, 0.0007719844579696655, 0.01860024780035019, -0.017394745722413063, -0.0014721077168360353, 0.019265567883849144, 0.06136351823806763, 0.040703702718019485, 0.06244414299726486, -0.002066517248749733, 0.044663216918706894, 0.03504536673426628, 0.01406747568398714, -0.1757735013961792, 0.07412267476320267, 0.004519125912338495, 0.01620309054851532, -0.03361252695322037, 0.015117498114705086, -0.027755161747336388, 0.12141021341085434, -0.030662374570965767, -0.03594981133937836, -0.005222158506512642, 0.04639384523034096, 0.033337585628032684, -0.00197156285867095, -0.01863143779337406, -0.033931657671928406, 0.052621886134147644, -0.00221633305773139, -0.03469677269458771, -0.021269824355840683, -0.03459012880921364, -0.03842244669795036, 0.012035767547786236, 0.013626821339130402, -0.031612053513526917, 0.05564926192164421, 0.03293197229504585, 0.006667317822575569, 0.055152930319309235, 0.02145710587501526, 0.017361264675855637, 0.03475058451294899, -0.08120514452457428, -0.01815055124461651, 0.00530692283064127, 0.006563279777765274, -0.027110900729894638, 0.4188516139984131, 0.004220974165946245, -0.012418634258210659, 0.014054589904844761, 0.053182899951934814, 0.018887454643845558, -0.028456389904022217, 0.034082770347595215, -0.02366744354367256, -0.00595129607245326, -0.012239611707627773, -0.004782943986356258, 0.0022213973570615053, 0.0462336540222168, -0.021426744759082794, 0.012499925680458546, 0.03286588191986084, 0.04089333489537239, 0.03320930153131485, 0.004763872362673283, 0.01090075634419918, 0.008651591837406158, 0.008258513174951077, -0.013074494898319244, -0.004034104291349649, -0.023973362520337105, 0.055274516344070435, -0.006531315855681896, 0.056636594235897064, 0.02235122211277485, 0.014845466241240501, 0.04421002417802811, -0.04702204465866089, -0.11794169992208481, 0.0036796322092413902, -0.012256011366844177, 0.002770631341263652, 0.014105076901614666, -0.03107891045510769, -0.0042898948304355145, 0.05784782022237778, -0.018329503014683723, -0.055388666689395905, 0.049272190779447556, -0.024468116462230682, -0.041381847113370895, 0.12211927026510239, -0.022506404668092728, -0.029551463201642036, -0.02965947985649109, -0.027132486924529076, -0.00013733944797422737, -0.011988167650997639, -0.001698005828075111, -0.06754784286022186, -0.03981407359242439, 0.0031838284339755774, 0.0637335255742073, -0.0537225641310215, -0.04722405970096588, 0.007636612746864557, -0.05497443675994873, -0.020675383508205414, -0.048808153718709946, 0.06382788717746735, 0.018416138365864754, -0.11659864336252213, -0.023533008992671967, -0.0024360392708331347, -0.000316530087729916, -0.05741206556558609, -0.0018707625567913055, 0.01992609351873398, -0.011948749423027039, 0.046141717582941055, 0.039391931146383286, -0.0034371973015367985, -0.015789473429322243, -0.033893849700689316, 0.08774823695421219, -0.007676906418055296, 0.0029696279671043158, 0.010162523947656155, -0.04170822724699974, 0.0016862415941432118, -0.008740522898733616, -0.02157619222998619, -0.06737840175628662, -0.031593166291713715, -0.014464222826063633, -0.02056741714477539, -0.06156909465789795, -0.012681739404797554, -0.03258401155471802, 0.049617718905210495, -0.03556227684020996, 0.027908898890018463, 0.004294637590646744, -0.016604246571660042, 0.012073327787220478, -0.012360738590359688, -0.06728202104568481, 0.015575453639030457, -0.0006294777849689126, -0.002612174954265356, -0.04908009245991707, 0.006235650274902582, 0.038328636437654495, -0.037746891379356384, 0.0740586444735527, 0.011918969452381134, -0.032332319766283035, -0.04386081546545029, -0.023410936817526817, 0.009357055649161339, 0.008005031384527683, -0.01898597553372383, -0.012181772850453854, -0.004822636488825083, -0.005928739905357361, 0.03306114301085472, -0.01386493630707264, 0.01644504815340042, -0.024947965517640114, -0.32829397916793823, -0.03455829992890358, -0.03419416770339012, -0.00764562888070941, 0.010466959327459335, -0.031241783872246742, 0.017904002219438553, -0.024072038009762764, 0.00235589686781168, 0.048300474882125854, 0.12079845368862152, 0.008887612260878086, -0.024266527965664864, -0.057582419365644455, -0.017800237983465195, 0.0008608921780250967, -0.06198136508464813, -0.006990949157625437, -0.02855060249567032, 0.026227913796901703, 0.06402368098497391, -0.019204886630177498, -0.03151119500398636, -0.053208280354738235, -0.009946552105247974, -0.04853275418281555, 0.1095656156539917, 0.0320163369178772, 0.05689224228262901, -0.02934953384101391, 0.010876655578613281, -0.002137200441211462, -0.00048493908252567053, -0.05462399125099182, 0.03977561742067337, -0.013353505171835423, 0.006597350817173719, -0.051872655749320984, 0.022449446842074394, -0.042985185980796814, -0.04014851152896881, 0.026852475479245186, -0.041259005665779114, -0.05337376520037651, -0.050302788615226746, 0.021846232935786247, 0.0007483999361284077, -0.023752683773636818, -0.009041947312653065, 0.0632302388548851, 0.02089422196149826, 0.02217528223991394, 0.05779264122247696, -0.04265863820910454, 0.0018247603438794613, -0.02571513131260872, -0.09237532317638397, -0.0003630929277278483, -0.0077803232707083225, -0.001955477287992835, 0.009879141114652157, -0.006804437376558781, 0.05919932946562767, -0.06520934402942657, 0.023652710020542145, -0.01854032464325428, 0.038452912122011185, 0.007071611005812883, 0.03519493341445923, -0.024228591471910477, -0.01135170366615057, 0.03580012172460556, 0.02479769103229046, 0.033440377563238144, 0.05633397400379181, 0.05056028440594673, 0.023096967488527298, 0.03633153438568115, 0.027183568105101585, 0.022568650543689728, 0.018618164584040642, -0.026034746319055557, 0.0659450963139534, -0.02481115236878395, 0.03092206083238125, 0.03383443504571915, 0.026621313765645027, 0.002556524006649852, 0.03360622376203537, 0.05116613954305649, -0.029749151319265366, 0.0072090886533260345, -0.02624083310365677, -0.017987113445997238, 0.026649173349142075, -0.03097892738878727, -0.2555442452430725, 0.03546128794550896, 0.06644672900438309, 0.0384322814643383, 0.029567964375019073, -0.013250604271888733, 0.046524778008461, -0.0363805815577507, -0.05577496811747551, 0.010705147869884968, 0.010739863850176334, 0.04749730974435806, -0.00789689738303423, -0.03436605632305145, 0.016271919012069702, -0.02818925864994526, 0.03817564994096756, -0.012773933820426464, 0.056521590799093246, 0.01839304342865944, 0.03858928382396698, -0.005179018247872591, 0.1850368231534958, -0.01580113172531128, 0.06709419190883636, 0.08418352156877518, -0.028844119980931282, -0.012260066345334053, 0.01407875306904316, 0.0004278823034837842, 0.008693070150911808, 0.03927920013666153, 0.04357834905385971, 0.0388164147734642, -0.013425212353467941, 0.011317736469209194, -0.003403333481401205, 0.04387607052922249, 0.015380877070128918, -0.0531495101749897, -0.007106808479875326, 0.04151613637804985, -0.046552758663892746, 0.025157790631055832, 0.0823371559381485, 0.022841202095150948, 0.007422556634992361, -0.0418318472802639, -0.04954881593585014, -0.017589472234249115, -0.04112771153450012, -0.04887981340289116, 0.008047451265156269, -0.039880309253931046, 0.018878305330872536, 0.044754162430763245, 0.009436369873583317, -0.04149927571415901, 0.03314456343650818, -0.0067192246206104755, 0.002317792270332575, -0.005017241928726435, 0.08506418764591217, -0.031673744320869446, 0.023048698902130127 ]
[ 0.006390697322785854, 0.01829933002591133, -0.01261056400835514, -0.017076049000024796, 0.01928534172475338, 0.03584524244070053, -0.017008250579237938, 0.00948745384812355, -0.003553815418854356, -0.02848767302930355, -0.015041207894682884, 0.01897234469652176, 0.03221435099840164, -0.011966763064265251, 0.012012912891805172, -0.012902982532978058, -0.012585816904902458, 0.01579933986067772, 0.030031198635697365, -0.002674366580322385, -0.02475065365433693, 0.00902386661618948, 0.010046911425888538, 0.007557674776762724, -0.014563500881195068, 0.022099941968917847, -0.01060507632791996, 0.01096516102552414, 0.011256719939410686, -0.13339656591415405, -0.042973268777132034, -0.04304519668221474, 0.039521899074316025, 0.020963098853826523, -0.01547769270837307, -0.02488030306994915, -0.029106533154845238, -0.019316552206873894, 0.02671770751476288, -0.0018808958120644093, 0.0013299381826072931, -0.005697763524949551, -0.018059782683849335, -0.004262235946953297, 0.025624245405197144, 0.05842817574739456, -0.004299459047615528, -0.023863090202212334, -0.0046792891807854176, 0.0299652311950922, -0.03373793885111809, 0.01322228740900755, 0.024094069376587868, 0.032006002962589264, 0.029564673081040382, -0.0022882409393787384, -0.035073280334472656, -0.018554721027612686, 0.019123047590255737, -0.061940308660268784, -0.005827532149851322, 0.02010183408856392, -0.03756950795650482, -0.018658878281712532, -0.02224126085639, -0.053858060389757156, -0.0009056113194674253, 0.02242019586265087, 0.0024351789616048336, 0.027767576277256012, 0.029117705300450325, 0.013022562488913536, 0.012741289101541042, -0.046723872423172, -0.023014670237898827, 0.03843380883336067, -0.003478358034044504, -0.04859466478228569, 0.004206202924251556, 0.0029245757032185793, -0.010415199212729931, -0.005563192535191774, -0.000020219176803948358, 0.013470600359141827, 0.013342255726456642, -0.0421077236533165, 0.027180254459381104, -0.04025903344154358, 0.027899377048015594, 0.005242943298071623, -0.026059703901410103, 0.026570549234747887, 0.03031577728688717, 0.00979283545166254, -0.05921872705221176, 0.047141823917627335, 0.005952684208750725, -0.02485223300755024, 0.00964235421270132, 0.8559225797653198, -0.004735189955681562, 0.04132968559861183, 0.004577829968184233, 0.00009415288513991982, 0.0016116969054564834, 0.005964272189885378, -0.019024137407541275, 0.0008341167122125626, 0.013349456712603569, 0.0082395663484931, 0.03705146536231041, 0.004819026682525873, 0.033424582332372665, 0.023526519536972046, 0.012370264157652855, 0.02612646110355854, 0.03295617923140526, 0.02820092812180519, 0.018896926194429398, 0.011179900728166103, 0.04039010778069496, 0.01022929698228836, -0.009325118735432625, 0.013514522463083267, 0.02374042198061943, -0.13833867013454437, -0.0046862391754984856, -7.225034233323122e-33, 0.054697539657354355, -0.005406511481851339, -0.00005106656317366287, -0.008020496927201748, -0.04317198693752289, -0.004496145993471146, 0.002245689742267132, -0.029667750000953674, -0.0462275855243206, -0.03320389986038208, -0.018861426040530205, 0.007304522208869457, 0.017227645963430405, -0.019721535965800285, 0.0226610004901886, -0.025941800326108932, 0.00651619303971529, 0.03699561581015587, 0.013022259809076786, 0.015837550163269043, 0.016151560470461845, 0.012223919853568077, 0.009479883126914501, -0.009656609036028385, 0.004806026816368103, 0.05170014128088951, -0.01629146747291088, -0.029249681159853935, -0.006443691439926624, -0.050681352615356445, -0.002250080229714513, 0.017257390543818474, -0.024660684168338776, -0.0010841129114851356, 0.012866162694990635, -0.03977455571293831, -0.013651554472744465, -0.0177205428481102, -0.022691868245601654, -0.07122135907411575, -0.015336372889578342, -0.018300794064998627, -0.04180503636598587, -0.028719816356897354, -0.008771758526563644, -0.008322915993630886, -0.006565125659108162, 0.020482534542679787, -0.010824989527463913, 0.003198568942025304, 0.008947799913585186, -0.02588442713022232, -0.009045189246535301, -0.030271342024207115, -0.0049531287513673306, 0.009451141580939293, -0.01578708365559578, 0.00614147586748004, -0.009822719730436802, 0.0021270678844302893, 0.012058300897479057, 0.015634676441550255, 0.001525240484625101, 0.033784057945013046, -0.011570810340344906, 0.0019311291398480535, -0.037353482097387314, -0.010059988126158714, 0.03600304573774338, -0.004528706893324852, -0.03322693705558777, 0.012885494157671928, 0.0024214976001530886, -0.005758664105087519, 0.010243884287774563, -0.022611992433667183, -0.0027613576967269182, -0.027999570593237877, -0.01900293119251728, 0.036124031990766525, 0.02191176265478134, -0.036500245332717896, -0.011939523741602898, -0.03042006865143776, -0.0014220019802451134, 0.00729037681594491, 0.007230048533529043, 0.009119229391217232, 0.00446833111345768, 0.0035243036691099405, 0.043514594435691833, 0.007262876257300377, -0.013165028765797615, 0.00201296410523355, -0.04655075445771217, 7.30764062945922e-33, -0.02361583523452282, -0.024197595193982124, -0.002418811898678541, -0.009978673420846462, 0.02469877153635025, -0.056085627526044846, 0.030019676312804222, -0.009813489392399788, -0.05405636131763458, 0.05359852313995361, -0.040203701704740524, -0.040399592369794846, -0.024030521512031555, -0.016537753865122795, 0.062307942658662796, -0.02018965780735016, 0.023357877507805824, -0.018260223791003227, 0.00026260834420099854, 0.0017660217126831412, 0.014724944718182087, -0.00003615538662415929, 0.02972247265279293, 0.014916318468749523, 0.013803716748952866, 0.029253777116537094, 0.001122291898354888, -0.005536291748285294, -0.0009453715174458921, -0.027084482833743095, 0.025717558339238167, -0.035436924546957016, 0.01063018199056387, 0.011163400486111641, -0.01000270713120699, 0.04397357255220413, -0.025411047041416168, -0.03723140433430672, 0.010876985266804695, 0.013860493898391724, -0.00044663448352366686, -0.02062060683965683, -0.005774668883532286, 0.00979595072567463, 0.027870001271367073, -0.009947172366082668, -0.015072278678417206, -0.018608825281262398, 0.04072282835841179, -0.01688874140381813, 0.01779240183532238, 0.010800435207784176, -0.003912956919521093, 0.012545089237391949, 0.008648088201880455, -0.027574388310313225, -0.02522694505751133, 0.013838360086083412, -0.03822110593318939, 0.007331897504627705, 0.01169314794242382, -0.007015390787273645, -0.01832420751452446, 0.038227494806051254, -0.03779667988419533, 0.015555204823613167, -0.046619679778814316, -0.02330082841217518, -0.015375997871160507, 0.04097389057278633, -0.03454574942588806, -0.026194022968411446, 0.017748510465025902, 0.023443279787898064, -0.02175951562821865, -0.006534661166369915, -0.01748497039079666, 0.027812780812382698, 0.01389404758810997, 0.020163094624876976, 0.003815285861492157, -0.0016076656756922603, 0.019236892461776733, 0.03810064494609833, 0.009364415891468525, 0.008327666670084, 0.015657933428883553, 0.02492593415081501, 0.033117786049842834, -0.014241665601730347, 0.04756578430533409, -0.03615504130721092, 0.01660977303981781, 0.002795371226966381, -0.017328117042779922, -1.326695819869883e-8, -0.033919572830200195, 0.0033533324021846056, -0.02719624899327755, 0.07214970886707306, 0.0007246792083606124, 0.028264259919524193, 0.023259300738573074, -0.033991169184446335, -0.003122574184089899, 0.001345951808616519, 0.01402836013585329, -0.013784968294203281, 0.007509895134717226, 0.018794039264321327, 0.048819806426763535, -0.018569275736808777, -0.011898959055542946, -0.010378937236964703, 0.03518339619040489, 0.004083207808434963, -0.02953840047121048, 0.05023254454135895, -0.03749190643429756, 0.02614249847829342, -0.0015825340524315834, -0.008554666303098202, -0.004431859590113163, -0.08912724256515503, -0.001863717334344983, -0.00698273628950119, 0.043186724185943604, -0.04021263122558594, -0.00389042217284441, 0.0070466273464262486, 0.008657142519950867, -0.02297586388885975, 0.014249086380004883, -0.007154085207730532, 0.00553864985704422, 0.02286241576075554, -0.01400971319526434, 0.03955671191215515, -0.028979428112506866, -0.03151167184114456, 0.006807453464716673, -0.005461767315864563, -0.0216179471462965, -0.013727812096476555, 0.02718430757522583, -0.021253256127238274, 0.02567417174577713, -0.01037816982716322, 0.010194329544901848, 0.004665050655603409, 0.03422725200653076, 0.02397196926176548, 0.00795699656009674, -0.041800033301115036, -0.03431427851319313, -0.01389982458204031, 0.0182151161134243, 0.012570290826261044, -0.028233325108885765, -0.007822183892130852 ]
clojure-handling-state-by-updating-a-vector-inside-an-atom
https://markhneedham.com/blog/2013/08/30/clojure-handling-state-by-updating-a-vector-inside-an-atom
false
2013-08-24 11:05:58
Ranking Systems: What I've learnt so far
[ "ranking-systems" ]
[ "Software Development", "Ranking Systems" ]
I often go off on massive tangents reading all about a new topic but don't record what I've read so if I go back to the topic again in the future I have to start from scratch which is quite frustrating. In this instance after playing around with http://www.markhneedham.com/blog/2013/08/11/neo4j-extracting-a-subgraph-as-an-adjacency-matrix-and-calculating-eigenvector-centrality-with-jblas/[calculating the] http://www.markhneedham.com/blog/2013/08/05/javajblas-calculating-eigenvector-centrality-of-an-adjacency-matrix/[eigenvector centrality] of a sub graph I learnt that this algorithm can also be used in ranking systems. I started off by reading a paper written by James Keener about the https://umdrive.memphis.edu/ccrousse/public/MATH%207375/PERRON.pdf[Perron-Frobenius Theorem and the ranking of American football teams]. The http://en.wikipedia.org/wiki/Perron%E2%80%93Frobenius_theorem[Perron-Frobenius Theorem] asserts the following: ____ a real square matrix with positive entries has a unique largest real eigenvalue and that the corresponding eigenvector has strictly positive components ____ This is applicable for *network based ranking systems* as we can build up a matrix of teams, store a value representing their performance against each other, and then calculate an ordered ranking based on eigenvector centrality. I also came across the following articles describing different network-based approaches to ranking teams/players in tennis and basketball respectively: * http://www.nature.com/srep/2012/121205/srep00904/full/srep00904.html[A network-based dynamical ranking system for competitive sports] * http://blog.biophysengr.net/2012/03/eigenbracket-2012-using-graph-theory-to.html[Using Graph Theory to Predict NCAA March Madness Basketball] Unfortunately I haven't come across any corresponding code showing how to implement those algorithms so I need to do a bit more reading and figure out how to do it. In the world of non network based ranking systems I came across 3 algorithms: * http://en.wikipedia.org/wiki/ELO_rating_system[Elo] - this is a method originally developed to calculate the relative skill of chess players. Players start out with an average rating which then increases/decreases based on games they take part in. If they beat someone much more highly ranked then they'd gain a lot of points whereas losing to someone similarly ranked wouldn't affect their ranking too much. I came across a version used to rank http://www.eloratings.net/system.html[country football teams]. and the algorithm is quite well described in Christopher Allen's article on http://www.lifewithalacrity.com/2006/01/ranking_systems.html[competitive ranking systems]. * http://math.bu.edu/people/mg/research/gdescrip.pdf[Glicko] - this method was developed as the author, Mark Glickman, detected some flaws in the Elo rating system around the reliability of players' ratings. This algorithm therefore introduces the concept of a ratings deviation (RD) to measure uncertainty in a rating. If a player player plays regularly they'd have a low RD and if they don't it'd be higher. This is then taken into account when assigning points based on games between different players. Rob Kohr has an implementation of this one using https://github.com/RobKohr/glicko[Javascript on his github]. * http://research.microsoft.com/en-us/projects/trueskill/[TrueSkill] - this one was developed by Microsoft Research to rank players using XBox Live. This seems similar to Glicko in that it has a rating and uncertainty for each player. http://research.microsoft.com/en-us/projects/trueskill/faq.aspx[TrueSkill's FAQs] suggest the following difference between the two: + ____ Glicko was developed as an extension of ELO and was thus naturally limited to two player matches which end in either win or loss. Glicko cannot update skill levels of players if they compete in multi-player events or even in teams. The logistic model would make it computationally expensive to deal with team and multi-player games. Moreover, chess is usually played in pre-set tournaments and thus matching the right opponents was not considered a relevant problem in Glicko. In contrast, the TrueSkill ranking system offers a way to measure the quality of a match between any set of players. ____ Scott Hamilton has https://github.com/McLeopold/PythonSkills[an implementation of all these algorithms in Python] which I need to play around with. He based his algorithms on a blog post written by http://www.moserware.com/2010/03/computing-your-skill.html[Jeff Moser] in which he explains probabilities, the Gaussian distribution, Bayesian probability and factor graphs in deciphering the TrueSkill algorithm. Moser's created https://github.com/moserware/Skills[a project implementing TrueSkill in C#] on github. I follow tennis and football reasonably closely so I thought I'd do a bit of reading about the main two rankings I know about there as well: * http://www.uefa.com/memberassociations/uefarankings/club/index.html[UEFA club coefficients] - used to rank football clubs that have taken part in a European competition over the last 5 seasons. It takes into account the importance of the match but not the strength of the opposition * http://www.atpworldtour.com/rankings/rankings-faq.aspx[ATP Tennis Rankings] - used to rank tennis players on a rolling basis over the last 12 months. They take into account the importance of a tournament and the round a player reached to assign ranking points. Now that I've recorded all that it's time to go and play with some of them!
null
null
[ -0.004038961138576269, -0.013535168953239918, 0.013571121729910374, 0.02956458553671837, 0.06543725728988647, -0.006990799680352211, 0.04339681565761566, 0.03926362842321396, 0.010133610107004642, -0.04044337570667267, 0.04141291230916977, -0.024452412500977516, -0.08167766779661179, 0.01227546390146017, -0.02117862179875374, 0.05889913812279701, 0.05608893558382988, 0.031335342675447464, -0.014366740360856056, -0.018489453941583633, 0.022299831733107567, 0.09755625575780869, 0.033357616513967514, 0.04601920396089554, 0.052023909986019135, -0.002970796311274171, 0.034109167754650116, 0.01543499156832695, -0.02219643071293831, 0.011075599119067192, 0.03959549963474274, -0.005158374551683664, 0.013097615912556648, -0.01179999765008688, 0.03950560465455055, -0.016447236761450768, -0.026676448062062263, 0.02566249668598175, 0.0027095808181911707, -0.014905148185789585, -0.09525434672832489, 0.05034517124295235, -0.043516047298908234, 0.03083660826086998, -0.050033628940582275, 0.019294438883662224, -0.043391261249780655, 0.03736967220902443, 0.0030216050799936056, -0.005786092486232519, -0.08514612168073654, 0.027079235762357712, -0.01158381812274456, 0.030552344396710396, -0.018553361296653748, 0.036498576402664185, 0.023468194529414177, -0.05130734294652939, 0.012847649864852428, -0.04794565960764885, 0.0013585826382040977, -0.0037405232433229685, -0.0016662627458572388, 0.02517743967473507, -0.010617061518132687, -0.028877120465040207, 0.01653907634317875, 0.04908793047070503, -0.03105311095714569, 0.013495483435690403, -0.019498156383633614, 0.01670190319418907, -0.013347453437745571, -0.0026586006861180067, 0.007071943022310734, -0.06051625683903694, 0.013102222234010696, 0.07049602270126343, 0.04877425357699394, 0.026194823905825615, -0.021737786009907722, 0.019978074356913567, 0.00003509187445160933, 0.02037937007844448, -0.020741907879710197, -0.024469692260026932, -0.012178118340671062, -0.05614845082163811, -0.0661022737622261, 0.058795247226953506, -0.022564642131328583, -0.044656991958618164, -0.014749323017895222, 0.03939533978700638, -0.03161332383751869, -0.026897555217146873, 0.04111258313059807, -0.008583576418459415, -0.008240596391260624, -0.04436016455292702, -0.007770690135657787, -0.03818998858332634, 0.005201017949730158, 0.00721586961299181, -0.08470436185598373, -0.00908814650028944, 0.008140130899846554, 0.020086096599698067, -0.006835665088146925, 0.005030171480029821, -0.027525048702955246, 0.023541010916233063, 0.00036737951450049877, -0.0033672754652798176, -0.072110615670681, 0.06639016419649124, 0.022537365555763245, -0.03738616779446602, -0.018460003659129143, 0.02594788372516632, 0.040157467126846313, 0.01579172909259796, -0.01000090129673481, 0.07217473536729813, -0.005968790501356125, 0.01807848922908306, 0.013206436298787594, 0.03849322348833084, -0.027673590928316116, -0.04514135420322418, -0.003408389398828149, 0.05274992808699608, -0.02724953182041645, 0.015645503997802734, -0.01238035038113594, -0.0650346577167511, 0.002470000647008419, 0.013288588263094425, 0.04863942414522171, 0.04498077929019928, -0.002422814490273595, -0.07179366797208786, 0.016157345846295357, -0.0033168860245496035, 0.021892990916967392, -0.020675329491496086, 0.014500285498797894, -0.02020312286913395, -0.007025223691016436, -0.012013417668640614, 0.019288314506411552, 0.018651889637112617, 0.02087303064763546, -0.024750597774982452, 0.005609006620943546, 0.0806342139840126, 0.06681881844997406, 0.003727563424035907, -0.02408638969063759, 0.05359221622347832, 0.04318850114941597, 0.04028422385454178, 0.022142838686704636, 0.05522208660840988, -0.0029452787712216377, -0.034406594932079315, 0.006007159128785133, 0.07181287556886673, -0.010805641300976276, 0.00418860511854291, -0.02715332992374897, -0.05810675024986267, 0.04909735545516014, -0.042895570397377014, -0.002526049967855215, 0.03117329441010952, 0.05757296830415726, 0.03209357708692551, 0.036901187151670456, 0.006597439292818308, -0.07692164182662964, 0.051916562020778656, 0.03107587993144989, 0.02274666354060173, 0.010822810232639313, -0.013251350261271, 0.08297666907310486, 0.031083425506949425, 0.006300322245806456, 0.03169093653559685, -0.06040181219577789, -0.07380901277065277, -0.017777759581804276, -0.018943753093481064, 0.05890962481498718, -0.00803113728761673, 0.015931706875562668, 0.044063545763492584, -0.0005730314878746867, 0.025887494906783104, 0.019547300413250923, -0.0006653632153756917, 0.02436474896967411, -0.019265122711658478, -0.03876149654388428, 0.03602057695388794, 0.008592573925852776, -0.039306990802288055, -0.06471149623394012, 0.02851073630154133, -0.014396343380212784, -0.017678430303931236, -0.016438091173768044, -0.051665134727954865, 0.0062498305924236774, -0.001781371422111988, 0.0495067723095417, 0.018820524215698242, 0.03633483499288559, -0.029749006032943726, 0.044076334685087204, -0.0033811163157224655, -0.0236137043684721, 0.02967217192053795, 0.0033669795375317335, 0.12020180374383926, 0.06261266022920609, -0.052051376551389694, -0.06018318608403206, 0.053430672734975815, 0.012587789446115494, -0.02271451987326145, 0.010952814482152462, -0.008939268067479134, -0.014330740086734295, -0.014394035562872887, -0.06719207763671875, -0.044769447296857834, 0.03288145363330841, -0.05293784663081169, -0.005372539162635803, 0.05592603608965874, -0.016128284856677055, 0.06569954752922058, -0.000006147698968561599, 0.005158867686986923, 0.001388954697176814, -0.02995736338198185, -0.04499989375472069, 0.013410667888820171, -0.01126081682741642, -0.01663394086062908, 0.03115709498524666, -0.023272253572940826, -0.004372843075543642, -0.0170797910541296, -0.010342931374907494, 0.0410505086183548, 0.07201199978590012, 0.05278667062520981, 0.010630025528371334, 0.05170727148652077, -0.041775576770305634, -0.006121930666267872, -0.022974425926804543, -0.04891470819711685, -0.03488890081644058, -0.05969974771142006, 0.01571590267121792, 0.0017100704135373235, 0.033668152987957, -0.009848915971815586, 0.006944677326828241, 0.01965673267841339, -0.010814015753567219, -0.010643604211509228, 0.025660395622253418, -0.01782303862273693, -0.010753271169960499, -0.016215430572628975, -0.008942452259361744, 0.059008605778217316, -0.02661287970840931, -0.02356533706188202, -0.007211402524262667, -0.06803432106971741, 0.05116231366991997, -0.03460608422756195, -0.010175438597798347, 0.0011074345093220472, 0.00003251279122196138, 0.051874496042728424, 0.015704616904258728, 0.0033375094644725323, 0.0480571947991848, 0.020344607532024384, 0.023379219695925713, 0.013379485346376896, 0.017337201163172722, 0.020863665267825127, -0.003281420562416315, 0.039514947682619095, 0.03930381312966347, -0.0079902783036232, 0.0009870340581983328, -0.0361378975212574, 0.02844795398414135, -0.0006737670046277344, -0.28003546595573425, 0.03202412649989128, 0.016490552574396133, -0.04873398318886757, 0.03924919664859772, -0.03972787410020828, -0.029309764504432678, -0.024398397654294968, -0.0349152646958828, 0.008735829032957554, -0.0299220010638237, -0.036635786294937134, -0.041487064212560654, 0.03804601728916168, 0.016145948320627213, -0.0015878670383244753, 0.009127016179263592, -0.037600185722112656, 0.012597231194376945, 0.06945016235113144, 0.010148159228265285, -0.061645254492759705, -0.04383464902639389, 0.0036290022544562817, 0.007041275966912508, 0.061100684106349945, -0.09584291279315948, 0.022109732031822205, -0.07700952887535095, -0.011469055898487568, -0.0010126861743628979, -0.025717400014400482, 0.009240875020623207, -0.017463158816099167, -0.019145958125591278, -0.03930804878473282, 0.04306211695075035, -0.004171695094555616, -0.019213184714317322, 0.026626456528902054, -0.03164217993617058, -0.03118790127336979, -0.02727414481341839, 0.014777597971260548, 0.08519554138183594, 0.04844848811626434, -0.0595603808760643, 0.00428669573739171, -0.046849243342876434, 0.05424373224377632, -0.028290381655097008, -0.039396680891513824, -0.0029430154245346785, 0.007659600116312504, -0.010701154358685017, -0.040374886244535446, 0.0010425524087622762, -0.018157370388507843, -0.047797445207834244, -0.010334118269383907, -0.009206697344779968, -0.04439088702201843, 0.013829742558300495, -0.049636248499155045, -0.030739223584532738, -0.05751028656959534, -0.06032714620232582, -0.014739987440407276, 0.056317880749702454, 0.00820639543235302, -0.0179640743881464, 0.029984991997480392, -0.02319498546421528, -0.09440954029560089, -0.012552708387374878, 0.015089497901499271, -0.013774232007563114, 0.01737348362803459, 0.016656145453453064, 0.05764970928430557, -0.03567804396152496, -0.06594511866569519, -0.002103694947436452, 0.019266445189714432, 0.02862405590713024, 0.0058630527928471565, 0.021995382383465767, 0.021247033029794693, -0.040001705288887024, 0.00386671326123178, 0.08449769020080566, -0.01527329720556736, -0.008809293620288372, -0.030035145580768585, 0.02342621609568596, 0.055341266095638275, -0.004123132675886154, -0.02100890502333641, 0.016526926308870316, 0.04633679613471031, 0.018699489533901215, -0.03544975072145462, 0.013375700451433659, 0.0027243662625551224, -0.04225589334964752, -0.001869663828983903, -0.06723881512880325, 0.016763482242822647, 0.022733857855200768, 0.007465532515197992, 0.00978542398661375, -0.039898861199617386, 0.028870532289147377, -0.022723261266946793, -0.007836785167455673, -0.023790117353200912, 0.010818330571055412, 0.05576297268271446, 0.014320218935608864, 0.0028034814167767763, -0.0729241818189621, 0.01998152956366539, -0.0006920680170878768, -0.01899440586566925, -0.05574583262205124, -0.014119003899395466, -0.012375528924167156, -0.02915441058576107, 0.03531492501497269, 0.009830656461417675, -0.002947458764538169, 0.029007185250520706, 0.044473797082901, -0.015053845010697842, 0.032190922647714615, -0.015059003606438637, -0.0532999113202095, -0.03606368601322174, 0.019482828676700592, -0.009624346159398556, 0.008745046332478523, 0.02958354353904724, 0.008050232194364071, 0.010005559772253036, 0.04026957228779793, 0.01937742531299591, 0.02367013692855835, -0.02148192562162876, 0.021331150084733963, 0.006810501683503389, 0.01114072185009718, -0.03518082946538925, 0.008642677217721939, -0.04371395334601402, -0.01891613006591797, 0.00420575262978673, 0.05169081687927246, -0.010039231739938259, -0.03955478221178055, -0.044865932315588, 0.04556215554475784, -0.0656551718711853, -0.03137041628360748, -0.011211655102670193, 0.0050181192345917225, 0.0818500891327858, -0.00893413182348013, 0.006397542078047991, 0.0002341236686334014, -0.01865484192967415, 0.012581650167703629, -0.003826999804005027, -0.04574872553348541, 0.0032072479370981455, -0.0071668121963739395, 0.004002448637038469, 0.02572343684732914, 0.0016699733678251505, 0.036206744611263275, -0.004253678489476442, -0.023901676759123802, -0.03303096070885658, -0.006019354797899723, 0.0343436636030674, 0.05444486439228058, 0.036742448806762695, -0.0005554853123612702, -0.003948573488742113, -0.03106219694018364, -0.0035403547808527946, -0.017475130036473274, 0.003251041518524289, -0.01033080369234085, -0.008440451696515083, -0.018149157986044884, -0.04369994252920151, 0.046094175428152084, -0.004715118557214737, -0.010385572910308838, 0.02230105735361576, 0.009577454999089241, 0.014878544956445694, -0.025069406256079674, 0.042226642370224, 0.06965193897485733, -0.05702176317572594, -0.016359107568860054, 0.006895614322274923, -0.01234790962189436, -0.0004914826713502407, -0.0005262262420728803, -0.043570611625909805, -0.011218157596886158, -0.014509353786706924, 0.028704283758997917, -0.04206211492419243, -0.03375183045864105, -0.0344725102186203, -0.01210454385727644, 0.014331934973597527, 0.022128315642476082, -0.011575024574995041, -0.009203853085637093, -0.039890263229608536, -0.013948949053883553, 0.03987681493163109, 0.008905597031116486, -0.007051196414977312, 0.009141138754785061, -0.022706257179379463, 0.0024302396923303604, 0.00005087548561277799, 0.0020440206862986088, 0.03479650244116783, -0.014693764969706535, 0.006380551028996706, -0.04994320869445801, 0.004802823066711426, 0.004881355445832014, 0.059007007628679276, -0.01902446337044239, -0.02618020959198475, -0.05341877415776253, 0.009012361988425255, -0.03944399580359459, -0.003911667503416538, 0.0053145685233175755, 0.004414278082549572, 0.03756847605109215, 0.03126279637217522, -0.0016108399722725153, 0.002068673027679324, -0.009644233621656895, -0.03055175207555294, 0.05082827806472778, -0.047837913036346436, -0.0427401028573513, -0.035066187381744385, -0.03182505443692207, -0.00013756396947428584, -0.017610469833016396, 0.004105820320546627, -0.03721395507454872, 0.037655215710401535, 0.03583509102463722, 0.011802230030298233, 0.023075388744473457, 0.011319983750581741, 0.04558533802628517, -0.036543313413858414, -0.010533388704061508, -0.09730443358421326, -0.015132246538996696, 0.038525331765413284, -0.003676770254969597, 0.021344630047678947, 0.0015971511602401733, -0.03016652911901474, 0.010910484939813614, -0.06843103468418121, -0.040880512446165085, 0.042055729776620865, -0.016922391951084137, 0.0020730087999254465, 0.033456239849328995, -0.048163823783397675, -0.014656048268079758, 0.017675256356596947, -0.05245387181639671, -0.011528938077390194, -0.038731250911951065, 0.03629013150930405, -0.03953830897808075, 0.029035534709692, -0.014704401604831219, -0.01023666188120842, 0.07620520144701004, 0.02887779287993908, 0.014442507177591324, 0.0406973622739315, -0.025650838389992714, 0.03733202815055847, 0.04783768579363823, 0.009649933315813541, 0.0165016520768404, 0.027770889922976494, -0.013851451687514782, -0.05310727655887604, 0.016209164634346962, -0.00906419288367033, -0.028879517689347267, -0.07389464974403381, 0.0661824494600296, 0.00875713862478733, -0.0473090223968029, -0.042193349450826645, 0.01644165627658367, -0.020072726532816887, 0.005482623353600502, -0.02465524710714817, 0.008171501569449902, -0.02065451815724373, 0.044532425701618195, -0.020886320620775223, 0.004153156187385321, 0.07938838750123978, -0.0007832911214791238, -0.03230641037225723, -0.01615609973669052, 0.09398764371871948, 0.09636203199625015, 0.04290365055203438, -0.016689633950591087, 0.08736295253038406, -0.008598655462265015, -0.04983314499258995, 0.018749766051769257, -0.003949661739170551, -0.005995380692183971, -0.006304577458649874, 0.018087510019540787, 0.06791210919618607, -0.027510127052664757, 0.08735769242048264, -0.03372839838266373, -0.028124697506427765, 0.025430966168642044, 0.027213778346776962, -0.00010900753113674, 0.0717388242483139, -0.008693144656717777, 0.03883412107825279, -0.027471307665109634, -0.024194391444325447, 0.006503636948764324, -0.013744651339948177, 0.010730133391916752, 0.01157846488058567, -0.021788109093904495, 0.033038005232810974, 0.026396969333291054, 0.024289892986416817, 0.0977558121085167, -0.05981798842549324, -0.004590843804180622, -0.02900361455976963, 0.006360508035868406, -0.019553180783987045, -0.011186754330992699, -0.01175590232014656, -0.024169784039258957, -0.018275761976838112, -0.0388130322098732, -0.012391222640872002, -0.024634473025798798, -0.023889442905783653, 0.0047233677469193935, -0.0046275947242975235, -0.004831893835216761, 0.01499324943870306, 0.024894172325730324, -0.042426131665706635, -0.03837670013308525, -0.02270890772342682, -0.07508336007595062, -0.04908193647861481, -0.025710351765155792, 0.030963411554694176, 0.008030017837882042, -0.027872435748577118, -0.03080618940293789, -0.016910376027226448, -0.02748090773820877, 0.05169563367962837, -0.02512422762811184, 0.006768849212676287, -0.007951772771775723, 0.04686814919114113, 0.022455178201198578, 0.0017926148138940334, 0.06409995257854462, -0.0006043113535270095, -0.0095954779535532, 0.007661841344088316, -0.007066075690090656, 0.038362763822078705, 0.019840583205223083, 0.0015202814247459173, -0.09585371613502502, 0.008058815263211727, 0.01896779239177704, -0.0432044118642807, -0.07691075652837753, 0.033435143530368805, 0.04543579742312431, 0.01492198184132576, 0.029551373794674873, -0.013346451334655285, -0.013711190782487392, -0.05896075814962387, 0.024475162848830223, -0.0021807020530104637, -0.01954951509833336, 0.04663287103176117, -0.01863277330994606, 0.07250756770372391, 0.012613569386303425, -0.009635522961616516, -0.041507165879011154, -0.008964388631284237, 0.008929824456572533, -0.0064869835041463375, -0.050618261098861694, -0.027666406705975533, -0.02450893260538578, -0.12095627188682556, -0.012606346979737282, 0.02382313646376133, -0.010649421252310276, -0.03299985080957413, 0.02497122250497341, 0.019794123247265816, -0.022426726296544075, 0.006427031010389328, -0.0406394824385643, 0.04275328293442726, -0.01821495033800602, -0.0034831908997148275, 0.0058952271938323975, 0.00875853467732668, -0.013715703040361404, 0.004630482289940119, 0.008811709471046925, -0.05130641907453537, 0.00549750542268157, -0.015817919746041298, -0.002967379754409194, 0.026066187769174576, 0.013466209173202515, -0.012737245298922062 ]
[ -0.08045610785484314, -0.018079422414302826, -0.06308123469352722, -0.005718871485441923, 0.051152583211660385, 0.0019267960451543331, 0.024075105786323547, 0.03017105534672737, 0.04957776516675949, 0.0015755888307467103, 0.017496243119239807, -0.04947879910469055, -0.009670795872807503, -0.0031023521441966295, 0.052618589252233505, -0.004572536796331406, -0.012879171408712864, -0.03551797568798065, -0.0026447956915944815, 0.018265055492520332, -0.020332731306552887, -0.0283970944583416, -0.039922621101140976, -0.050851743668317795, 0.04974080249667168, 0.01659129559993744, 0.028732554987072945, -0.04261930286884308, -0.013096381910145283, -0.21611066162586212, -0.004039598163217306, 0.004437271039932966, 0.0715111792087555, -0.0002531222708057612, -0.012919912114739418, -0.004713699221611023, 0.01912703551352024, 0.0064722392708063126, 0.025702912360429764, 0.01971178688108921, 0.014095962978899479, 0.03428071737289429, -0.037628233432769775, -0.001305407495237887, 0.031775008887052536, 0.06314875930547714, -0.017743177711963654, 0.0074172914028167725, -0.012632600031793118, 0.0023875683546066284, -0.024872412905097008, -0.014860379509627819, -0.012520000338554382, 0.00734734395518899, 0.000994125148281455, 0.07289666682481766, 0.0440172404050827, 0.05137023329734802, 0.005342123564332724, 0.04174027591943741, 0.045551009476184845, -0.01261885091662407, -0.13394419848918915, 0.08698303252458572, 0.05253424867987633, 0.029398834332823753, -0.038505569100379944, 0.012092269957065582, -0.010779021307826042, 0.09336699545383453, 0.037801627069711685, -0.023112569004297256, -0.010020582936704159, 0.01643822342157364, 0.05232036113739014, 0.029923811554908752, -0.007904870435595512, 0.02042495831847191, 0.012301024980843067, -0.04223272576928139, -0.023052828386425972, 0.025849465280771255, -0.03482890874147415, -0.03983737900853157, -0.035131484270095825, 0.03607264533638954, -0.033707261085510254, 0.031378697603940964, -0.0018610249971970916, 0.01342176366597414, 0.045887671411037445, 0.034080568701028824, 0.041806451976299286, 0.0002796455519273877, -0.06637518107891083, -0.036145713180303574, 0.0006502597243525088, 0.0012665902031585574, 0.005980291869491339, 0.4058859646320343, -0.003500431776046753, -0.009518507868051529, 0.06708641350269318, 0.03717443346977234, -0.019691279157996178, -0.02517176978290081, -0.005159137304872274, -0.060841310769319534, 0.0026691234670579433, 0.008886018767952919, 0.031172078102827072, -0.0014139165868982673, 0.04830951616168022, -0.031325362622737885, 0.023733466863632202, -0.0023736017756164074, 0.0511128231883049, 0.06036267429590225, 0.02885713241994381, -0.003743214998394251, -0.05767939239740372, 0.03203028813004494, -0.011047571897506714, -0.008520951494574547, -0.010628335177898407, -0.02803158387541771, -0.025599300861358643, 0.05939876288175583, 0.05321979522705078, -0.00980566255748272, 0.049763765186071396, -0.030122535303235054, -0.0888766348361969, -0.004217523615807295, 0.002012994373217225, -0.00011699162132572383, 0.03722323477268219, -0.013232356868684292, 0.001977361273020506, 0.055881693959236145, 0.00144971685949713, -0.0005520579288713634, 0.07845546305179596, -0.017824264243245125, -0.05254345014691353, 0.1419563889503479, 0.01297013834118843, -0.06805603951215744, 0.011815264821052551, -0.04758386313915253, 0.009966033510863781, 0.004947312641888857, -0.03200390562415123, -0.043205320835113525, -0.019034750759601593, 0.014770069159567356, 0.060466572642326355, -0.04062531888484955, -0.06116965413093567, -0.0029145446605980396, -0.07000451534986496, -0.01130184531211853, -0.041993699967861176, 0.07748660445213318, 0.08681824803352356, -0.09063642472028732, -0.010786336846649647, -0.008473990485072136, 0.007053787354379892, -0.08093195408582687, 0.03298027068376541, 0.015538004226982594, -0.029275625944137573, 0.03723260387778282, 0.040513064712285995, -0.019931277260184288, -0.05366725102066994, -0.02753352001309395, 0.05506124719977379, -0.013856935314834118, 0.052466847002506256, -0.03408405929803848, -0.05698682367801666, -0.005498867016285658, -0.0521717444062233, -0.04242359474301338, -0.07862518727779388, -0.02246306650340557, -0.01368478499352932, -0.016111675649881363, -0.03444723039865494, -0.03637572005391121, -0.08708077669143677, 0.09173749387264252, -0.06686805933713913, -0.015607989393174648, 0.02704234980046749, -0.02621353603899479, -0.011753643862903118, -0.004506888333708048, -0.08328137546777725, -0.008360312320291996, -0.019897013902664185, 0.042489878833293915, -0.06799466162919998, 0.051940228790044785, 0.05866453796625137, -0.05691990628838539, 0.08140971511602402, 0.007913135923445225, -0.01700868085026741, -0.05749926716089249, -0.04383696988224983, -0.0070108044892549515, -0.004749613348394632, -0.01222061924636364, 0.01917528547346592, 0.0015712565509602427, -0.00854167714715004, 0.03449341654777527, -0.013842327520251274, 0.006801303941756487, -0.050094131380319595, -0.3249843120574951, -0.06827551871538162, -0.04648922383785248, 0.021690789610147476, 0.02764037810266018, -0.03720736876130104, 0.016465719789266586, -0.02110220678150654, 0.016247419640421867, 0.05216148495674133, 0.06716518849134445, 0.035271745175123215, -0.03138246014714241, -0.09792788326740265, 0.013361355289816856, 0.01877158135175705, -0.051124513149261475, -0.0038253318052738905, -0.03520088270306587, -0.005472991149872541, 0.023822899907827377, 0.02706359326839447, -0.030558014288544655, -0.043940600007772446, 0.008528013713657856, -0.04813789576292038, 0.10890965908765793, 0.025463072583079338, 0.06052643060684204, -0.0190428476780653, 0.003427734598517418, 0.00292015983723104, -0.0014773854054510593, -0.0440874807536602, 0.025418464094400406, -0.03282751515507698, -0.0029808972030878067, -0.009709206409752369, 0.0006370913470163941, -0.06054835766553879, -0.08307824283838272, 0.005438424646854401, -0.05643065273761749, -0.05382751673460007, -0.05550289526581764, 0.03875178471207619, 0.0011984985321760178, -0.02400427870452404, -0.0068333325907588005, 0.07035236060619354, 0.05235990509390831, -0.010757427662611008, 0.06006594002246857, -0.01531563512980938, 0.00005201074236538261, -0.05258308723568916, -0.10245943069458008, 0.01665440760552883, 0.01367767620831728, -0.006303459871560335, 0.014700010418891907, 0.00951913371682167, 0.03949198126792908, -0.06417930126190186, 0.01568450964987278, 0.018796492367982864, -0.004676152486354113, 0.005044058430939913, 0.03126601129770279, -0.03763653710484505, -0.009621219709515572, 0.08679348975419998, 0.022522008046507835, 0.002181645715609193, 0.056330177932977676, 0.01806880347430706, 0.020555812865495682, 0.020120317116379738, 0.0457107275724411, 0.022098632529377937, 0.04846647009253502, -0.06642140448093414, 0.03527230769395828, -0.022625179961323738, 0.014830990694463253, 0.024784980341792107, 0.010076378472149372, -0.03225410729646683, 0.04180872440338135, 0.05859995260834694, 0.013697920367121696, 0.033332549035549164, -0.03046802058815956, -0.053856927901506424, 0.039725419133901596, -0.015590802766382694, -0.2418341189622879, 0.03577861562371254, 0.08811618387699127, 0.04399695247411728, 0.02268236316740513, 0.008310523815453053, 0.030290480703115463, -0.021506041288375854, -0.0005513257929123938, 0.006440178025513887, 0.03724569082260132, 0.03398968651890755, 0.007673957850784063, -0.011156212538480759, -0.010877727530896664, -0.015914645045995712, 0.04741508141160011, -0.02161906473338604, 0.03542532026767731, 0.02053144760429859, 0.032395925372838974, -0.021218426525592804, 0.18661855161190033, 0.0021765953861176968, 0.045038070529699326, 0.019920840859413147, -0.027055028825998306, -0.008762974292039871, 0.02683882787823677, -0.021725047379732132, -0.019640881568193436, 0.025385765358805656, 0.044102367013692856, 0.007870803587138653, 0.004452015273272991, -0.047665949910879135, -0.005001202691346407, 0.0676250234246254, -0.0054228943772614, -0.02654145658016205, 0.023541538044810295, -0.008876442909240723, -0.03802026808261871, 0.015252942219376564, 0.0949694886803627, 0.005301498807966709, -0.001072718994691968, -0.03533560782670975, -0.05633429437875748, -0.009698886424303055, -0.037603773176670074, -0.04013409838080406, -0.0034571399446576834, -0.030003145337104797, -0.03647930547595024, 0.045779671519994736, 0.02626362256705761, -0.05113222450017929, 0.01536236610263586, -0.017633935436606407, -0.02237534150481224, -0.01461830548942089, 0.048357680439949036, 0.012577422894537449, 0.04497748985886574 ]
[ 0.03249790146946907, 0.016477249562740326, -0.0321635976433754, -0.03150048479437828, -0.012559440918266773, 0.054222721606492996, -0.029481491073966026, 0.02068878710269928, -0.014569759368896484, 0.02659286931157112, -0.02505600079894066, 0.0378817543387413, 0.015529277734458447, 0.006681537721306086, 0.006561318878084421, 0.004608723800629377, 0.000596239638980478, -0.004311741329729557, 0.03621713072061539, -0.01758657954633236, -0.025623073801398277, -0.033069562166929245, -0.04276379942893982, -0.011983620934188366, -0.00847297441214323, 0.008731381967663765, -0.026200708001852036, 0.04582096263766289, 0.0026387020479887724, -0.11306530237197876, -0.07397164404392242, -0.048764172941446304, 0.019878068938851357, 0.035763807594776154, -0.04458649829030037, -0.04692437872290611, -0.026898931711912155, 0.023825613781809807, 0.02808346226811409, 0.024515893310308456, 0.025098109617829323, -0.0015359633835032582, -0.016310324892401695, 0.04854903742671013, -0.0014991549542173743, -0.006205345503985882, -0.01642676629126072, 0.01628771424293518, 0.015359191223978996, 0.012264706194400787, -0.0613316148519516, -0.012217679992318153, 0.017217574641108513, -0.00790299940854311, 0.03790496662259102, 0.017540836706757545, -0.011101003736257553, -0.0019565096590667963, 0.011245649307966232, -0.013619729317724705, 0.026530999690294266, -0.035809364169836044, -0.03802352026104927, -0.01767752692103386, -0.013782637193799019, -0.022916167974472046, -0.024766916409134865, 0.03175216168165207, -0.02695576101541519, 0.013126149773597717, 0.049544576555490494, 0.015143419615924358, -0.03146663308143616, -0.012315474450588226, 0.01915328949689865, 0.03964114561676979, -0.03324653580784798, 0.0030412888154387474, 0.024845603853464127, 0.020082376897335052, -0.038212504237890244, 0.013232178054749966, -0.004069159738719463, -0.03839550539851189, -0.011028628796339035, -0.012711581774055958, 0.0014667469076812267, -0.04194977879524231, 0.032104216516017914, -0.004693884402513504, -0.03655648231506348, 0.025485340505838394, 0.0033506988547742367, 0.0033496811520308256, -0.07646939903497696, 0.0695289820432663, -0.0077975899912416935, -0.039784986525774, 0.003938962239772081, 0.8208853006362915, 0.020375877618789673, -0.009767565876245499, -0.01128312572836876, 0.05419446527957916, 0.014009468257427216, 0.01974581368267536, 0.015023796819150448, 0.026465920731425285, 0.01238484587520361, -0.01750815100967884, -0.012511583976447582, 0.062460437417030334, -0.0022592314053326845, 0.026176124811172485, -0.009143061004579067, 0.036747414618730545, 0.04998284950852394, 0.05171974375844002, 0.0415695495903492, 0.014493750408291817, -0.01020236499607563, 0.024643659591674805, -0.0017250337405130267, 0.005748425144702196, 0.025074630975723267, -0.1395978331565857, -0.024157468229532242, -7.145520122013656e-33, 0.030777160078287125, -0.02763073332607746, 0.03939707577228546, 0.0027108925860375166, -0.013273671269416809, -0.01254881639033556, -0.010087286122143269, -0.04606993868947029, 0.004632691387087107, -0.06990634649991989, -0.023620612919330597, 0.025311460718512535, 0.04093804210424423, -0.01407000795006752, 0.01692853309214115, -0.03101167641580105, 0.012370852753520012, 0.019589265808463097, 0.019415047019720078, -0.036069467663764954, 0.07131463289260864, 0.024388374760746956, 0.01945158839225769, 0.01731458120048046, -0.04058564454317093, 0.06162828952074051, -0.012275297194719315, -0.04355312138795853, -0.004533146973699331, -0.03506501019001007, 0.004528045188635588, 0.004962760489434004, -0.017518848180770874, -0.005963733419775963, -0.008714813739061356, -0.04053512215614319, -0.02567789889872074, 0.010273555293679237, 0.02562020905315876, -0.05505789816379547, -0.036144476383924484, -0.023225782439112663, -0.024816595017910004, -0.05199414864182472, -0.05726601928472519, -0.00690675713121891, 0.0038771131075918674, 0.030212532728910446, -0.03152923285961151, -0.012133555486798286, 0.004336226265877485, -0.0313551165163517, 0.026874400675296783, -0.01912601850926876, -0.010694829747080803, 0.011873074807226658, 0.036363162100315094, 0.009493260644376278, 0.01002693921327591, -0.0057864380069077015, 0.042952924966812134, -0.004610669333487749, -0.02056383341550827, 0.007290428504347801, -0.0066753048449754715, 0.006652742624282837, -0.03515796363353729, -0.009674787521362305, 0.04529515281319618, -0.046335961669683456, -0.0174416396766901, 0.03109598159790039, 0.008749021217226982, -0.006462430115789175, 0.01253289170563221, -0.01159814465790987, -0.011422960087656975, 0.004264794290065765, -0.03512001782655716, 0.03092283569276333, -0.0037635003682225943, -0.011865595355629921, -0.060990363359451294, -0.050324104726314545, -0.015462337993085384, -0.015153195708990097, 0.016706157475709915, -0.002773900283500552, 0.03149031475186348, 0.018974412232637405, 0.04678986966609955, 0.023151898756623268, -0.033674124628305435, 0.02317316085100174, -0.01719657890498638, 7.288563825513313e-33, 0.006416367366909981, 0.016181951388716698, 0.01667937822639942, -0.014239419251680374, 0.08465112745761871, -0.06424899399280548, 0.02786726877093315, 0.023734452202916145, -0.06719382852315903, 0.03532961755990982, -0.04915565624833107, -0.020679255947470665, -0.009969108738005161, 0.005354780703783035, 0.04501334950327873, -0.01400187611579895, 0.020016560330986977, -0.0028109115082770586, -0.006038729101419449, -0.00534843048080802, -0.006618058308959007, 0.005467998329550028, -0.004756972659379244, 0.00987105444073677, 0.03931088745594025, 0.01740472950041294, 0.030270544812083244, -0.0025581379886716604, -0.01746351644396782, 0.007832696661353111, 0.01358907949179411, 0.0009269379079341888, -0.011098037473857403, 0.010486636310815811, 0.007594871334731579, 0.018722333014011383, -0.013768299482762814, -0.008265546523034573, -0.0025024646893143654, 0.007090371567755938, 0.0116525674238801, -0.0007498788181692362, -0.03351355716586113, 0.013782895170152187, 0.03979979455471039, 0.049241866916418076, -0.005914430133998394, -0.003969173412770033, -0.011671781539916992, 0.007694699335843325, -0.011674254201352596, -0.0006746051949448884, 0.011246603913605213, 0.019061125814914703, 0.004373413976281881, -0.012438934296369553, -0.00482170982286334, 0.048729151487350464, -0.02623664028942585, -0.007191857788711786, -0.01965201273560524, -0.017472635954618454, -0.07935518026351929, 0.0026282286271452904, -0.015853561460971832, 0.02411910705268383, -0.03488265350461006, -0.0014067251468077302, -0.022898290306329727, 0.0287774708122015, -0.044477738440036774, -0.011161843314766884, 0.008427344262599945, 0.02890314720571041, 0.00855958741158247, -0.016530077904462814, -0.007435747887939215, 0.04582349210977554, -0.028422227129340172, 0.04302899166941643, 0.000965351180639118, 0.016703423112630844, 0.0030296233016997576, 0.00785158108919859, 0.03310175985097885, 0.0064215147867798805, 0.0020656143315136433, 0.012319222092628479, -0.0008245525532402098, 0.008592350408434868, 0.03577937185764313, -0.03308388590812683, 0.008355720899999142, 0.03135160729289055, 0.020807819440960884, -1.2743297084227834e-8, -0.05050620809197426, 0.01574176736176014, -0.004594140220433474, 0.040308576077222824, 0.011756403371691704, 0.006576579064130783, 0.02911016345024109, -0.00040678170626051724, 0.01306216698139906, 0.02176857180893421, 0.03459164872765541, -0.025027628988027573, 0.02034226804971695, 0.0009104381897486746, 0.003240966470912099, 0.02080005779862404, -0.03715645521879196, -0.002366224769502878, 0.04038494452834129, -0.003324430901557207, -0.020938852801918983, 0.018304621800780296, -0.02414640597999096, 0.05014165863394737, 0.010243551805615425, -0.027238039299845695, -0.028313934803009033, -0.09401062875986099, -0.010966446250677109, -0.004173029214143753, -0.016520563513040543, -0.01608121767640114, 0.018976135179400444, -0.005966037046164274, -0.011345458216965199, -0.010619093663990498, 0.03705575689673424, -0.002422873629257083, 0.0337795615196228, -0.012526451610028744, -0.03686011955142021, 0.00921456515789032, -0.044029299169778824, -0.037264395505189896, 0.01424632128328085, 0.006456813309341669, -0.0522950105369091, 0.018914060667157173, 0.010276124812662601, -0.06398093700408936, 0.00047389144310727715, 0.008284671232104301, 0.02640223316848278, 0.006731993984431028, 0.028206219896674156, 0.0130887096747756, -0.030048657208681107, 0.0021639952901750803, 0.0007491285214200616, -0.025889471173286438, 0.01606818288564682, 0.03861425444483757, -0.030337676405906677, -0.03142521157860756 ]
ranking-systems-what-ive-learnt-so-far
https://markhneedham.com/blog/2013/08/24/ranking-systems-what-ive-learnt-so-far
false
2013-08-13 22:59:52
Python: for/list comprehensions and dictionaries
[ "python" ]
[ "Python" ]
I've been working through Coursera's https://class.coursera.org/matrix-001/class/index[Linear Algebra course] and since all of the exercises are in Python I've been playing around with it again. One interesting thing I learnt is that you can construct dictionaries using a http://www.secnetix.de/olli/Python/list_comprehensions.hawk[list comprehension] type syntax. For example, if we start with the following dictionaries: [source,python] ---- >>> x = { "a": 1, "b":2 } >>> y = {1: "mark", 2: "will"} >>> x {'a': 1, 'b': 2} >>> y {1: 'mark', 2: 'will'} ---- We might want to create a new dictionary which links from the keys in x to the values in y. In this case we work out the mapping by finding the key in y which corresponds with each value in x. So the map we want to see at the end should look like this: [source,text] ---- {"a": 'mark', "b": 'will'} ---- We can iterate over the keys/values of a dictionary by calling +++<cite>+++Dictionary#iteritems+++</cite>+++ like so: [source,python] ---- >>> for key, value in x.iteritems(): ... print (key, value) ... ('a', 1) ('b', 2) ---- I thought I might be able to construct my new dictionary by converting this into a for comprehension: [source,python] ---- >>> [key:value for key, value in x.iteritems()] File "<stdin>", line 1 [key:value for key, value in x.iteritems()] ^ SyntaxError: invalid syntax ---- Unfortunately that didn't work but I came across http://stackoverflow.com/questions/3294889/iterating-over-dictionaries-for-loops-in-python[an interesting post] from which I learned that using curly brackets might do the trick. [source,python] ---- >>> {key:value for key, value in x.iteritems()} {'a': 1, 'b': 2} >>> type({key:value for key, value in x.iteritems()}) <type 'dict'> ---- I wanted to make the final dictionary take a lookup into account which we can do like this: [source,python] ---- >>> {key:y[value] for key, value in x.iteritems()} {'a': 'mark', 'b': 'will'} ---- Apparently this is known as a http://www.python.org/dev/peps/pep-0274/[dictionary comprehension] and has http://stackoverflow.com/questions/7276511/are-there-dictionary-comprehensions-in-python-problem-with-function-returning[been in the language since version 2.7]. I'm sure this is old news to seasoned Python developers but I'd not come across it before so to me it's pretty neat!
null
null
[ 0.021697958931326866, -0.02165031246840954, -0.014559478498995304, 0.02639728970825672, 0.0707707479596138, 0.04139676317572594, 0.005163782741874456, 0.047836508601903915, 0.018883155658841133, -0.009419642388820648, -0.026635125279426575, 0.01227368414402008, -0.06751378625631332, 0.02412704937160015, -0.020454004406929016, 0.07241003215312958, 0.08951136469841003, -0.01786893419921398, -0.0009237162885256112, -0.0026330563705414534, 0.031166814267635345, 0.05553338676691055, 0.020278770476579666, -0.004246491007506847, 0.02169104479253292, 0.021168746054172516, -0.008541008457541466, 0.022722633555531502, -0.0465017594397068, -0.0006912488024681807, 0.03187236189842224, -0.015448033809661865, -0.006316766142845154, -0.01106930710375309, 0.02217012457549572, 0.0077815428376197815, -0.006247114855796099, 0.012329199351370335, 0.019248945638537407, 0.009936350397765636, -0.03791319951415062, 0.024698996916413307, -0.01174692902714014, -0.00431194668635726, -0.06899169832468033, 0.017977217212319374, -0.053632140159606934, 0.027913883328437805, -0.008995679207146168, -0.027986450120806694, -0.044130194932222366, 0.02857070043683052, 0.01031680777668953, -0.033318351954221725, -0.004207550082355738, 0.057232026010751724, 0.023167535662651062, -0.09017696976661682, 0.03632710501551628, 0.005545778200030327, -0.005811172071844339, 0.008668845519423485, -0.020524071529507637, 0.043762125074863434, 0.039120305329561234, -0.014177418313920498, -0.022812601178884506, 0.056003961712121964, -0.05368969589471817, -0.01824994385242462, -0.015812475234270096, 0.020035549998283386, -0.040794260799884796, 0.005308304447680712, -0.03460376337170601, -0.04644181206822395, -0.01654973067343235, 0.060390256345272064, -0.0004101738450117409, 0.02870563603937626, 0.005588375963270664, 0.014030896127223969, 0.01755576580762863, -0.0003129436227027327, -0.019977066665887833, -0.023516293615102768, -0.049936890602111816, -0.03554273769259453, -0.05273478478193283, 0.015068787150084972, 0.014626272022724152, -0.029179375618696213, 0.016647661104798317, 0.005720121785998344, -0.015442480333149433, -0.00340492301620543, -0.0034343122970312834, 0.009069048799574375, 0.005618051625788212, -0.007388714700937271, -0.026262465864419937, -0.027784161269664764, 0.028413118794560432, 0.012249715626239777, -0.0767260268330574, -0.004284938331693411, -0.016909651458263397, -0.017266694456338882, 0.009269459173083305, 0.004206348210573196, -0.05459022894501686, 0.00485522486269474, -0.010921498760581017, -0.02459142543375492, -0.09386609494686127, 0.047681774944067, 0.0459941104054451, -0.0048849694430828094, -0.023338060826063156, 0.031662583351135254, 0.029704248532652855, 0.033464737236499786, -0.011375362984836102, 0.09118755906820297, 0.005457024089992046, 0.03436952456831932, -0.0040682097896933556, 0.06103099137544632, -0.027055248618125916, -0.05092467740178108, -0.023550303652882576, 0.042702335864305496, -0.0019100842764601111, 0.0019657956436276436, -0.017997605726122856, -0.019294507801532745, -0.034639064222574234, 0.012400765903294086, 0.04446152597665787, 0.046782996505498886, 0.012233493849635124, -0.036499761044979095, -0.0014621659647673368, -0.0045489901676774025, -0.0032407548278570175, 0.03837253898382187, 0.0228306632488966, -0.006223863456398249, 0.0027649325784295797, 0.04435743764042854, 0.015810096636414528, 0.03098445199429989, 0.05907248705625534, -0.00842939130961895, -0.0008789250859990716, 0.06246224790811539, 0.004777153953909874, 0.05567066743969917, -0.014852600172162056, 0.017321569845080376, 0.04366699233651161, 0.01179993525147438, 0.02742590755224228, 0.040452100336551666, -0.011905107647180557, -0.026036987081170082, -0.0034567946568131447, 0.04341363161802292, -0.02002141997218132, -0.018641062080860138, -0.01865815930068493, -0.06564823538064957, 0.06198838725686073, -0.049128457903862, -0.0018474881071597338, 0.033642739057540894, 0.05378289148211479, 0.016960589215159416, 0.050687942653894424, -0.0026436662301421165, -0.08178211748600006, 0.03765077516436577, -0.014365125447511673, 0.00801832228899002, 0.030053142458200455, 0.03025015816092491, 0.08165685832500458, 0.033758290112018585, 0.03208322823047638, 0.02229222096502781, -0.06255815178155899, -0.07231561094522476, -0.03587253391742706, 0.0019129953579977155, 0.05478326603770256, -0.057722724974155426, -0.025242529809474945, 0.035099323838949203, 0.0297853946685791, 0.05230525881052017, 0.012477992102503777, -0.026813935488462448, 0.019197264686226845, -0.036291055381298065, -0.03418684005737305, 0.04035147652029991, 0.035092707723379135, -0.013477991335093975, -0.013688960112631321, 0.028439423069357872, 0.012210380285978317, -0.040972840040922165, 0.052227918058633804, -0.015667052939534187, 0.01992381364107132, 0.04410010203719139, 0.018037378787994385, -0.003109921934083104, 0.03662635758519173, -0.04084554687142372, 0.056074392050504684, -0.03869067132472992, -0.018653549253940582, -0.03603646531701088, -0.006037895102053881, 0.13664455711841583, 0.044050682336091995, 0.0043191732838749886, -0.057088661938905716, 0.00678657740354538, 0.0018296485068276525, -0.05314527824521065, -0.010563364252448082, -0.01298541110008955, -0.015524329617619514, 0.016145221889019012, -0.04054451733827591, -0.01794792339205742, 0.03741268813610077, -0.03685734421014786, -0.005555898416787386, 0.04586710408329964, -0.06411247700452805, 0.050245948135852814, 0.02505328692495823, -0.03311966732144356, 0.0028828538488596678, -0.025485530495643616, -0.046324681490659714, 0.002577052917331457, -0.001252638059668243, -0.016373958438634872, 0.038545574992895126, -0.024271637201309204, -0.036368053406476974, -0.0023664413020014763, -0.049980588257312775, 0.020562350749969482, 0.07439962774515152, 0.049088090658187866, -0.04982118308544159, 0.08085094392299652, 0.0009119463502429426, 0.012242884375154972, -0.017942309379577637, -0.029958451166749, -0.046075012534856796, -0.008847073651850224, 0.017422448843717575, 0.02447889745235443, 0.041074566543102264, 0.02824120782315731, 0.016871172934770584, 0.013908934779465199, -0.02967892214655876, 0.030892636626958847, 0.041218362748622894, 0.002318275161087513, -0.041864216327667236, -0.04634345322847366, -0.02296297810971737, 0.054435379803180695, -0.05323098227381706, -0.02884884737432003, 0.002127390820533037, -0.06658609956502914, 0.019169434905052185, -0.06645715981721878, -0.042211826890707016, -0.012103560380637646, -0.0012169555993750691, 0.05193121358752251, -0.015627237036824226, -0.029905034229159355, 0.03932156041264534, 0.009614460170269012, -0.001721574692055583, -0.006833037361502647, 0.02295687049627304, 0.030928917229175568, -0.015162734314799309, 0.025741372257471085, 0.029053950682282448, 0.04710905998945236, -0.01857706718146801, -0.04858590289950371, 0.007312287110835314, -0.01877572201192379, -0.2700246274471283, 0.03191323205828667, -0.0441478006541729, -0.023720011115074158, 0.0335642546415329, -0.02646779641509056, -0.0018884269520640373, -0.04702826589345932, -0.017036927863955498, 0.010450158268213272, -0.024862201884388924, -0.07041092962026596, -0.035086002200841904, 0.07087184488773346, -0.004167579114437103, 0.03033473901450634, 0.005409885663539171, -0.04331079125404358, 0.020768912509083748, 0.07370774447917938, 0.015222236514091492, -0.08802269399166107, -0.037242211401462555, 0.07105019688606262, 0.01592424139380455, 0.033573925495147705, -0.06629937142133713, 0.04453570395708084, -0.07249882817268372, -0.02165083773434162, -0.024987727403640747, -0.005323060322552919, 0.031131790950894356, -0.011088826693594456, -0.005532293580472469, -0.016151055693626404, 0.035940900444984436, 0.001914959866553545, 0.0065809390507638454, 0.0027793722692877054, -0.061263229697942734, -0.0487510971724987, 0.00017428099818062037, -0.030360709875822067, 0.08791609853506088, -0.005995344836264849, -0.04160855710506439, -0.04711860045790672, -0.04089006409049034, 0.06484261900186539, -0.03918970748782158, -0.04945964366197586, -0.0009119163150899112, 0.05377354845404625, -0.013735409826040268, -0.00033920517307706177, 0.008540945127606392, -0.015684258192777634, -0.03142215311527252, -0.0019496496533975005, 0.0004999895463697612, -0.04989065229892731, -0.022715674713253975, -0.06796752661466599, -0.024437712505459785, -0.054491396993398666, -0.06047356501221657, -0.03588898479938507, 0.04249958693981171, 0.04811615124344826, -0.037842798978090286, -0.002849046140909195, -0.024554524570703506, -0.09257238358259201, 0.017273880541324615, -0.027512909844517708, -0.031641069799661636, -0.026447687298059464, 0.002890458097681403, 0.03547314554452896, -0.036999039351940155, -0.07535211741924286, 0.02515926957130432, -0.009039083495736122, -0.017842022702097893, -0.02290964499115944, 0.003955835476517677, -0.03718828037381172, -0.03844641149044037, -0.012105383910238743, 0.05888279154896736, 0.005848737899214029, -0.006644958630204201, -0.00478300079703331, -0.007784347515553236, 0.041978757828474045, 0.035393327474594116, 0.013038917444646358, 0.04475335404276848, 0.025273995473980904, 0.027262471616268158, -0.055983833968639374, 0.01908867433667183, -0.015986453741788864, -0.0230060163885355, -0.016198597848415375, -0.04690886288881302, 0.006506916601210833, 0.04296102374792099, -0.013570869341492653, -0.037066761404275894, -0.035568125545978546, 0.0009615534800104797, -0.024177968502044678, -0.02031888999044895, -0.029581503942608833, 0.017650067806243896, 0.024436863139271736, 0.024397799745202065, -0.03304710611701012, -0.09077024459838867, 0.018503889441490173, 0.01617053523659706, -0.004811862949281931, -0.06338420510292053, -0.02240031026303768, 0.0020425410475581884, -0.00509458826854825, -0.0028029128443449736, 0.03894923999905586, -0.010757794603705406, 0.022180143743753433, 0.04000956192612648, -0.015770835801959038, 0.019064389169216156, -0.029272131621837616, -0.0004140915989410132, -0.02454749308526516, -0.032573502510786057, -0.006591159850358963, -0.008551625534892082, 0.0017897934885695577, 0.0016064036171883345, 0.022281885147094727, 0.01811700500547886, 0.00136031792499125, 0.02507426030933857, -0.0011266706278547645, 0.0038103596307337284, 0.031467221677303314, 0.033012233674526215, -0.005926130805164576, 0.03080914542078972, -0.0011039519449695945, -0.016079023480415344, 0.017187083140015602, 0.026818320155143738, -0.03736058995127678, -0.04526497423648834, -0.04056772217154503, 0.0408937968313694, -0.03138570114970207, 0.021222181618213654, -0.024095620959997177, 0.0006934331031516194, 0.038409553468227386, -0.015184837393462658, 0.034461528062820435, -0.011276381090283394, 0.02741124853491783, 0.04817210137844086, 0.0054154605604708195, -0.04043269529938698, 0.010828332975506783, -0.024344608187675476, -0.0345371775329113, 0.010378152132034302, 0.05734887719154358, -0.01146596111357212, -0.02207845076918602, -0.004938541445881128, -0.009951798245310783, 0.0018870251951739192, 0.01823165826499462, 0.03372956067323685, 0.01679469645023346, -0.01080397330224514, -0.03935195133090019, -0.044602081179618835, -0.0480656661093235, -0.0122224111109972, -0.02320799045264721, -0.030688831582665443, 0.002115457784384489, -0.02888163924217224, -0.052142683416604996, 0.00007815238495822996, 0.010693684220314026, -0.013566779904067516, 0.02578887902200222, -0.0024061412550508976, 0.003686073934659362, -0.010795015841722488, 0.04198993742465973, 0.06396449357271194, -0.06337754428386688, -0.0048774536699056625, -0.027330640703439713, 0.02402188628911972, 0.0011115340748801827, 0.03150036558508873, -0.043773844838142395, 0.01113064680248499, -0.0005970508209429681, -0.010382763110101223, -0.022062350064516068, -0.03733508661389351, 0.0007926967227831483, 0.005951913073658943, -0.0015806625597178936, 0.020305385813117027, 0.00434294156730175, 0.03070802614092827, -0.03529045358300209, -0.01564289629459381, 0.05365365371108055, -0.031585562974214554, 0.008174973540008068, 0.037169381976127625, -0.054920345544815063, 0.03631938248872757, -0.026800857856869698, 0.049408797174692154, 0.03224478289484978, 0.00022523604275193065, -0.012661055661737919, -0.08636481314897537, 0.0038398129399865866, -0.013164832256734371, 0.04778984189033508, -0.005011997651308775, -0.037984512746334076, -0.0380045622587204, 0.005695398431271315, -0.01632864587008953, 0.004452898632735014, 0.02202255092561245, -0.014661428518593311, 0.0001315011177212, 0.02381865680217743, 0.004699588753283024, 0.04557332769036293, -0.002774583175778389, -0.049151793122291565, 0.05972769111394882, -0.046327318996191025, -0.03962681442499161, -0.020210444927215576, -0.04487809166312218, 0.010992439463734627, 0.0060792770236730576, 0.03991934284567833, -0.06358608603477478, 0.09130728989839554, 0.03600011393427849, 0.024359580129384995, 0.02571750618517399, -0.014299110509455204, 0.040326111018657684, -0.01662895455956459, -0.02022986114025116, -0.0986005961894989, -0.014399283565580845, 0.03219350054860115, 0.022194694727659225, -0.021981248632073402, -0.008205827325582504, -0.024549009278416634, 0.011246184818446636, -0.04483109340071678, -0.030203232541680336, 0.05242634937167168, -0.004898339509963989, 0.0008828189456835389, -0.012740468606352806, -0.03731219843029976, 0.01001404132694006, 0.05432480201125145, -0.03599626198410988, -0.02775445580482483, -0.02181672677397728, 0.044830888509750366, -0.00963436160236597, 0.04976514354348183, -0.005443343427032232, 0.020144015550613403, 0.06386879086494446, 0.04318312555551529, 0.058955274522304535, 0.04058664292097092, -0.030684320256114006, 0.026798663660883904, 0.027667170390486717, -0.009143328294157982, -0.00505932467058301, 0.05951297655701637, 0.010474986396729946, -0.047183386981487274, 0.039929673075675964, 0.009668717160820961, -0.015192466787993908, -0.05010635033249855, 0.06548213958740234, 0.01020886842161417, -0.048860497772693634, -0.024876441806554794, 0.041513096541166306, -0.04566521570086479, 0.00040110695408657193, -0.0228965412825346, -0.00203114771284163, -0.03701593726873398, 0.06791321188211441, -0.02441510558128357, -0.0069602373987436295, 0.06650113314390182, -0.018439775332808495, -0.027891498059034348, 0.004015290178358555, 0.08649224042892456, 0.07780139893293381, 0.027172306552529335, 0.005497321952134371, 0.057984400540590286, -0.02656656876206398, -0.053043510764837265, 0.0018562906188890338, -0.03323685750365257, 0.026658466085791588, -0.007833321578800678, 0.04463107883930206, 0.07910627871751785, 0.010148837231099606, 0.04606213793158531, -0.02542676404118538, 0.015175174921751022, 0.0032331764232367277, 0.04555569589138031, 0.015413586981594563, 0.05316672474145889, 0.003372429870069027, 0.041982006281614304, 0.00032714541885070503, -0.0485258549451828, 0.03831909969449043, -0.009687724523246288, -0.021403808146715164, 0.02587895281612873, -0.021673092618584633, 0.001951513229869306, 0.033012066036462784, 0.033328380435705185, 0.0703551396727562, -0.06018805131316185, -0.03802711144089699, 0.0026411362923681736, 0.014142109081149101, -0.01972041465342045, 0.03600843995809555, 0.007589558605104685, -0.02321445941925049, 0.03375016525387764, -0.050312723964452744, -0.03144359588623047, -0.054727256298065186, 0.0034539029002189636, 0.031940240412950516, -0.0003617371548898518, 0.015751849859952927, 0.022484498098492622, 0.015384463593363762, -0.04225073382258415, -0.05754690617322922, -0.04393463209271431, -0.033817730844020844, -0.059827156364917755, 0.016934696584939957, 0.024144288152456284, -0.01993005909025669, -0.014230907894670963, -0.03537102788686752, -0.050443585962057114, -0.02990145981311798, -0.01870202086865902, -0.03883650153875351, -0.01629594713449478, 0.0013645902508869767, 0.04030797630548477, 0.006230104248970747, 0.0208442285656929, 0.023497775197029114, -0.009935093112289906, -0.01196596771478653, -0.0006391815841197968, 0.031267765909433365, 0.031518783420324326, 0.040159616619348526, 0.005405286327004433, -0.08331191539764404, -0.004478223156183958, 0.014815075322985649, 0.02615749090909958, -0.0707380399107933, 0.003119433531537652, 0.04353249818086624, -0.00018945607007481158, 0.04544897750020027, -0.0029390561394393444, -0.0007760212756693363, 0.003456573002040386, -0.027371002361178398, 0.05298445001244545, 0.000011043701306334697, 0.0332026369869709, -0.02573706954717636, 0.08065787702798843, 0.03457045555114746, 0.0012502921745181084, -0.01829923316836357, -0.0332876592874527, 0.0040025957860052586, 0.01102148462086916, -0.03312462568283081, -0.030765416100621223, -0.03394542634487152, -0.06452888995409012, -0.007552665658295155, -0.014811293222010136, -0.03568297252058983, -0.03155004233121872, 0.012449957430362701, 0.014631611295044422, -0.001527888234704733, 0.08358589559793472, -0.017354125156998634, 0.012187356129288673, -0.04429304972290993, -0.02566351369023323, 0.0025796552654355764, 0.017532123252749443, -0.018454842269420624, 0.024143150076270103, 0.013322439044713974, -0.0317954383790493, -0.01775495335459709, -0.013425150886178017, 0.014718717895448208, 0.042984623461961746, -0.01842763088643551, 0.024003706872463226 ]
[ -0.09276017546653748, -0.0363859087228775, -0.04625999182462692, -0.030841533094644547, 0.012417553924024105, -0.05875522270798683, 0.028194621205329895, 0.013176562264561653, 0.002580781001597643, -0.024009879678487778, -0.0036267258692532778, -0.08951137214899063, 0.016293413937091827, 0.004468667320907116, 0.06309840828180313, -0.01890724152326584, -0.04255318269133568, -0.017790036275982857, -0.03790898993611336, 0.011800568550825119, 0.013733075000345707, 0.01514305267482996, -0.02762042172253132, -0.03557630628347397, 0.03363526985049248, 0.07516440749168396, 0.0260752122849226, -0.029973534867167473, 0.015030465088784695, -0.22014202177524567, -0.021252350881695747, -0.01837002858519554, 0.07009528577327728, 0.021095285192131996, -0.009787369519472122, 0.008778566494584084, -0.0044639864936470985, 0.031141992658376694, -0.020844819024205208, 0.054072022438049316, 0.044992417097091675, 0.01429982390254736, -0.047017745673656464, 0.022606464102864265, 0.011528910137712955, -0.01903797686100006, -0.08010106533765793, -0.029582710936665535, -0.018212992697954178, -0.018103742972016335, -0.06207719445228577, -0.006937924772500992, -0.059012122452259064, -0.008648575283586979, -0.001038497663103044, 0.032220661640167236, 0.022481277585029602, 0.06894544512033463, -0.0026254942640662193, -0.016132554039359093, 0.016951674595475197, -0.025699086487293243, -0.15047895908355713, 0.12322189658880234, 0.03236224502325058, 0.05772915109992027, -0.026088116690516472, -0.01584937609732151, -0.0009365410078316927, 0.07392654567956924, 0.02474835328757763, -0.02892078272998333, 0.0029109984170645475, 0.04377031698822975, 0.025672409683465958, -0.02210506983101368, -0.001031943247653544, 0.01604732684791088, 0.06440204381942749, -0.015764329582452774, -0.05006798356771469, -0.007055649999529123, 0.03657519444823265, 0.00475304527208209, -0.00601857528090477, -0.035406000912189484, 0.001860725344158709, 0.02496199496090412, 0.03377761319279671, 0.016999486833810806, 0.00636980589479208, -0.0493086539208889, -0.007976922206580639, 0.040006667375564575, -0.04590485244989395, -0.0387929305434227, 0.006840140093117952, -0.02184118703007698, -0.01820918172597885, 0.3955644369125366, -0.04157104343175888, -0.010518810711801052, 0.024831820279359818, 0.02130960300564766, -0.018359893932938576, -0.012016966938972473, -0.014034260995686054, -0.0765569731593132, 0.007387365214526653, -0.06547437608242035, 0.001289642765186727, -0.03349215164780617, 0.06449110805988312, -0.06315142661333084, -0.029384329915046692, -0.025722559541463852, 0.0022566772531718016, 0.03979732096195221, 0.014671123586595058, 0.031179511919617653, -0.006583214271813631, -0.004322466440498829, 0.014673524536192417, 0.03916748985648155, 0.008927936665713787, 0.03861391544342041, 0.012141004204750061, 0.07084723562002182, 0.02451389841735363, 0.01748339831829071, 0.049332719296216965, -0.04645870625972748, -0.066230408847332, 0.02668117918074131, -0.022821305319666862, 0.018351158127188683, 0.05647062882781029, -0.003275773487985134, 0.029746267944574356, -0.01058956328779459, -0.017725767567753792, -0.03038139082491398, 0.034734390676021576, -0.004744034260511398, -0.033152833580970764, 0.13240042328834534, -0.013639560900628567, -0.04139849916100502, -0.028962165117263794, 0.010992772877216339, -0.01617078296840191, 0.017270803451538086, 0.019952872768044472, -0.029108082875609398, -0.024153314530849457, 0.05635596811771393, 0.10937982052564621, -0.02029486745595932, -0.052697550505399704, -0.028560582548379898, -0.053388822823762894, -0.04210285097360611, -0.07231459021568298, 0.028602438047528267, 0.06495252996683121, -0.07498136907815933, -0.009052594192326069, 0.01774737983942032, 0.002111708279699087, -0.09610117226839066, 0.04644538462162018, 0.013045871630311012, -0.07681825011968613, 0.03730229288339615, 0.0535244457423687, 0.0019478066824376583, -0.039019875228405, -0.017394835129380226, 0.08743532747030258, 0.014373857527971268, -0.0000654113246127963, -0.00941621232777834, -0.0471024215221405, 0.01960953138768673, -0.0344139039516449, -0.04655665159225464, -0.04703116416931152, 0.01012185774743557, -0.015940727666020393, -0.04705958068370819, 0.015152224339544773, -0.004062489606440067, -0.05681300908327103, 0.027085836976766586, -0.036719195544719696, -0.009899377822875977, 0.057852499186992645, -0.021248633041977882, -0.01775570772588253, -0.008653160184621811, 0.033394865691661835, 0.0509551540017128, -0.0168334748595953, 0.0622846744954586, -0.03877204284071922, -0.011141355149447918, 0.07775680720806122, -0.04398413375020027, 0.04615507647395134, 0.028881192207336426, -0.006025467999279499, 0.0019457044545561075, -0.029512843117117882, -0.011676269583404064, -0.02624785341322422, -0.04552508518099785, -0.017728615552186966, -0.00768000353127718, -0.008811291307210922, 0.023743420839309692, -0.0431019552052021, -0.08221834152936935, -0.027240943163633347, -0.3230263292789459, -0.03603748232126236, -0.0042258878238499165, -0.010558465495705605, 0.009882341139018536, -0.05947216600179672, -0.009957810863852501, -0.010239480063319206, -0.04960988089442253, 0.02978309988975525, 0.04722541570663452, 0.017079466953873634, 0.02847406268119812, -0.0855596661567688, 0.014587868005037308, 0.027143388986587524, -0.0020193252712488174, -0.04048541933298111, -0.015385059639811516, 0.03735249117016792, -0.02142411842942238, 0.000300604006042704, -0.0332205668091774, -0.07091410458087921, -0.0229966901242733, -0.04575292766094208, 0.12362759560346603, 0.00576229952275753, 0.06169994920492172, -0.015497836284339428, 0.05967649444937706, 0.020546801388263702, -0.0008941150736063719, -0.0390058308839798, 0.0036005668807774782, -0.013639891520142555, -0.013137686997652054, 0.02936236746609211, 0.017027122899889946, -0.057619497179985046, 0.03954843804240227, 0.04230901598930359, -0.055252280086278915, -0.0110353147611022, -0.00722107756882906, 0.00028984356322325766, 0.003680865978822112, -0.015860961750149727, 0.014927370473742485, 0.08498204499483109, 0.035671234130859375, 0.041928909718990326, 0.006312394514679909, -0.010941602289676666, -0.03217887505888939, -0.0003938114386983216, -0.05799981206655502, 0.008181274868547916, -0.04277166724205017, -0.025150012224912643, 0.03572345897555351, 0.03002076968550682, 0.04259103909134865, -0.012017888016998768, -0.021135877817869186, 0.011875800788402557, 0.018092267215251923, -0.0022260656114667654, -0.007398218847811222, -0.026677798479795456, -0.029812730848789215, 0.09912880510091782, -0.013411574997007847, 0.0213164072483778, 0.021207520738244057, 0.05331795662641525, -0.019134966656565666, 0.06911835074424744, 0.03292655572295189, 0.024261819198727608, 0.01991143636405468, -0.013399756513535976, 0.04838817939162254, -0.004624596796929836, 0.07619130611419678, 0.010675938799977303, 0.007742110174149275, 0.021047338843345642, 0.04333003982901573, -0.010399773716926575, -0.007986375130712986, -0.018327485769987106, -0.014185041189193726, -0.013355493545532227, 0.04368823394179344, -0.0043282415717840195, -0.25303617119789124, 0.025686265900731087, 0.0803937092423439, 0.060955531895160675, -0.02539040707051754, -0.028913920745253563, 0.05079478397965431, -0.06382187455892563, -0.01638048142194748, -0.010944155976176262, 0.013336299918591976, 0.026522185653448105, 0.00900479219853878, -0.006519004702568054, -0.0004695453098975122, -0.04009003937244415, 0.09940879791975021, -0.0377977155148983, 0.008510207757353783, 0.025489872321486473, 0.022239789366722107, 0.005720214918255806, 0.19798161089420319, 0.015349771827459335, 0.06116882339119911, -0.043929457664489746, -0.03106660582125187, -0.00948240701109171, 0.0791635736823082, 0.01792256534099579, 0.03977102413773537, -0.01739399880170822, 0.056726716458797455, 0.017359863966703415, 0.04994673654437065, -0.03471707925200462, -0.02045127935707569, 0.024179544299840927, 0.039939865469932556, -0.009384967386722565, -0.01675846055150032, 0.01586204208433628, -0.07106129825115204, -0.007687060162425041, 0.07865539193153381, 0.0009486718918196857, 0.00865260697901249, -0.047825541347265244, -0.020917467772960663, 0.006879843305796385, -0.009291239082813263, -0.015417414717376232, 0.00547881331294775, -0.017223084345459938, -0.010471662506461143, 0.03915245458483696, 0.03145656734704971, -0.0057947696186602116, -0.01497737132012844, 0.043116528540849686, -0.014378459192812443, -0.048125676810741425, 0.1161520853638649, 0.019584069028496742, 0.008718520402908325 ]
[ 0.021360736340284348, 0.022599248215556145, -0.04996661841869354, -0.00042046181624755263, -0.037213150411844254, -0.03951157256960869, 0.008580378256738186, -0.024190545082092285, -0.035762012004852295, -0.013322237879037857, -0.005640496965497732, 0.02176143042743206, 0.00419987365603447, -0.005482928361743689, 0.030437905341386795, -0.005586111452430487, -0.010994636453688145, -0.007331445347517729, 0.05216553434729576, -0.018177596852183342, -0.005880806129425764, 0.053604502230882645, 0.02688392624258995, -0.0019611166790127754, -0.04182690009474754, 0.040744006633758545, -0.034253526479005814, -0.0021896022371947765, 0.020625099539756775, -0.10982543230056763, -0.03679976612329483, -0.03608092665672302, 0.0013056984171271324, 0.024343673139810562, -0.022538388147950172, -0.0020479517988860607, 0.004073739517480135, 0.015396497212350368, -0.005210345610976219, -0.005755407270044088, -0.019204195588827133, 0.03190067410469055, -0.01002209447324276, 0.015614554286003113, 0.025980083271861076, 0.001468213158659637, -0.036339882761240005, -0.02759704738855362, -0.022674836218357086, 0.008130458183586597, -0.06225847452878952, 0.002848990261554718, -0.023861819878220558, -0.0222836434841156, 0.008025070652365685, -0.01144255418330431, -0.027007749304175377, -0.029977913945913315, 0.0042528389021754265, -0.06897563487291336, 0.002585567068308592, 0.010585581883788109, -0.04105055332183838, -0.01841386966407299, 0.0030964885372668505, -0.02374674566090107, -0.024744031950831413, 0.013772235251963139, 0.01816760189831257, -0.005007344763725996, -0.01533395703881979, -0.002337205922231078, 0.009800954721868038, -0.0339854434132576, 0.017792513594031334, -0.03540517017245293, 0.01565079763531685, -0.05060131475329399, 0.00973929651081562, 0.00886592734605074, -0.020971186459064484, -0.013067553751170635, -0.0021859363187104464, 0.029426464810967445, 0.00250073941424489, -0.05781126394867897, 0.016245180740952492, 0.010222191922366619, 0.018580332398414612, -0.012990959919989109, -0.009679091162979603, -0.02862691506743431, 0.012011433951556683, 0.028143856674432755, -0.04112797975540161, 0.035390254110097885, 0.012776248157024384, 0.0047850823029875755, -0.0037240637466311455, 0.8324370384216309, -0.01458046119660139, -0.012765604071319103, -0.002753638196736574, 0.019237881526350975, -0.00949161034077406, 0.03802555799484253, -0.0034613972529768944, -0.055236417800188065, 0.029040394350886345, -0.056144408881664276, 0.009826084598898888, -0.005892273969948292, 0.019658729434013367, -0.008490708656609058, 0.02620258368551731, 0.03502809256315231, 0.02247031033039093, 0.03163263946771622, 0.06812440603971481, 0.019482387229800224, 0.009296746924519539, 0.0014296979643404484, 0.02997618354856968, 0.011393113993108273, -0.0015905085019767284, -0.19419443607330322, -0.031609728932380676, -7.217582333822878e-33, 0.026519320905208588, -0.013830340467393398, -0.012711683288216591, -0.014905628748238087, 0.04221172258257866, -0.005987878423184156, 0.0336320586502552, -0.000005758546194556402, -0.0369960255920887, -0.01762903295457363, 0.023022448644042015, 0.033925581723451614, 0.004770168103277683, 0.024277428165078163, 0.030677320435643196, 0.00035401302739046514, 0.023504218086600304, 0.05151642486453056, 0.006417682394385338, 0.0027712946757674217, 0.04153832793235779, 0.009142633527517319, 0.035261206328868866, 0.0022920905612409115, 0.008942170068621635, 0.018008751794695854, 0.011518965475261211, 0.015303624793887138, -0.005522087216377258, -0.04066221043467522, -0.019264046102762222, 0.008971152827143669, 0.016991054639220238, -0.040782880038022995, 0.019657528027892113, -0.02075621858239174, 0.0008484417339786887, 0.019549652934074402, 0.024481169879436493, -0.07181943207979202, -0.007113383151590824, -0.012431814335286617, 0.02420276775956154, -0.024469783529639244, -0.04980217665433884, 0.006235944107174873, 0.016492512077093124, 0.05268960818648338, 0.00640471838414669, 0.018497582525014877, 0.0012181794736534357, -0.0251938309520483, -0.0387968011200428, -0.004320431500673294, -0.03247581422328949, 0.016953980550169945, 0.005626008380204439, 0.035011909902095795, 0.0037601948715746403, 0.01579931564629078, -0.025051843374967575, 0.014310675673186779, 0.027831438928842545, 0.04266992583870888, -0.0037768054753541946, 0.0027521911542862654, 0.023033099249005318, 0.01645059883594513, 0.027969950810074806, 0.003562143538147211, -0.06975448131561279, -0.006953174713999033, -0.056055039167404175, -0.04744246229529381, 0.020091639831662178, -0.036273662000894547, 0.0045322817750275135, -0.0373387336730957, 0.008833213709294796, 0.02052992209792137, 0.039239995181560516, -0.004378730431199074, 0.00738254701718688, -0.015142845921218395, -0.02947245165705681, -0.0007484632660634816, 0.011017948389053345, 0.001486052991822362, 0.011991315521299839, 0.006425491534173489, 0.01188805140554905, 0.0014427471905946732, -0.016977492719888687, -0.0021275882609188557, -0.018156712874770164, 6.195801501785867e-33, 0.024241654202342033, -0.013240421190857887, -0.0396784245967865, 0.022072210907936096, 0.005306330043822527, -0.04114118963479996, 0.03608618304133415, 0.014003847725689411, -0.006403876002877951, 0.03332214802503586, -0.009512972086668015, -0.018852507695555687, -0.028226176276803017, 0.024583924561738968, 0.04210406914353371, 0.0015578604070469737, -0.02092253975570202, 0.03606869652867317, 0.010543359443545341, -0.014904491603374481, -0.03581470996141434, 0.012327837757766247, 0.027956785634160042, 0.008276996202766895, -0.0021196254529058933, 0.02600998245179653, -0.003944929223507643, -0.015865834429860115, -0.005954807624220848, 0.02291012741625309, -0.0010192252229899168, -0.018115561455488205, 0.010087968781590462, -0.027888568118214607, -0.028033887967467308, 0.05567224696278572, 0.013952972367405891, -0.025037577375769615, 0.003633641405031085, 0.027028141543269157, 0.0670650377869606, 0.012258210219442844, 0.006801744922995567, -0.010193356312811375, 0.0235896073281765, -0.006781891454011202, -0.0008147357730194926, 0.04375940561294556, 0.023771969601511955, 0.019961530342698097, 0.005013022106140852, 0.003874259302392602, 0.010734165087342262, 0.015319621190428734, 0.00809408351778984, 0.0021059310529381037, -0.028657859191298485, 0.002788497833535075, -0.07911919057369232, -0.011425225995481014, -0.03273480013012886, -0.010178949683904648, -0.0019175306661054492, 0.029300687834620476, 0.014956207014620304, -0.02174975350499153, -0.0801495686173439, -0.02732503041625023, -0.03307042270898819, 0.02718517556786537, -0.033753570169210434, -0.01879745163023472, -0.003924813121557236, -0.007342006079852581, -0.01792898029088974, 0.008417707867920399, -0.053564466536045074, 0.00630688201636076, 0.0037655774503946304, 0.0320049487054348, 0.022159166634082794, -0.010269217193126678, 0.03565879538655281, 0.047388333827257156, -0.004729489330202341, 0.01184641569852829, 0.024507131427526474, 0.025147326290607452, 0.01406899280846119, 0.0008830949664115906, 0.027655616402626038, -0.04687584936618805, 0.010827887803316116, -0.005975921638309956, -0.003315951209515333, -1.28456383308162e-8, -0.06463024765253067, 0.036282896995544434, -0.026483379304409027, 0.04385843873023987, 0.0018700230866670609, 0.007819666527211666, 0.004589899908751249, -0.027336351573467255, 0.01677527092397213, 0.017278406769037247, 0.0014005766715854406, -0.00682447012513876, -0.013115441426634789, -0.011983655393123627, -0.005554462317377329, -0.002729568397626281, -0.008975048549473286, -0.005800220649689436, 0.03004210628569126, -0.04256969317793846, 0.015587719157338142, -0.02286655828356743, 0.012620375491678715, 0.013314862735569477, -0.013325298205018044, -0.01724863424897194, 0.03871418535709381, -0.06551311165094376, 0.039262596517801285, 0.017727715894579887, -0.0038837327156215906, -0.05382893234491348, -0.004900678060948849, -0.02544148825109005, 0.010134716518223286, -0.04999574273824692, -0.006596798077225685, -0.006768688093870878, 0.03931239992380142, 0.02075551263988018, -0.026413170620799065, -0.003208060283213854, 0.0011512854835018516, -0.020218726247549057, -0.012397551909089088, 0.0005610784864984453, -0.04628482088446617, 0.007230725605040789, 0.031154215335845947, -0.04391887038946152, 0.0039793215692043304, -0.002810786012560129, 0.009086756967008114, -0.00020366629178170115, 0.051762837916612625, 0.02919675037264824, -0.007473846431821585, -0.023854367434978485, -0.03290615603327751, -0.0150141641497612, 0.044655490666627884, -0.005366445053368807, -0.03412910923361778, -0.003094348357990384 ]
python-forlist-comprehensions-and-dictionaries
https://markhneedham.com/blog/2013/08/13/python-forlist-comprehensions-and-dictionaries
false
2013-08-13 20:00:45
9 algorithms that changed the future - John MacCormick: Book Review
[ "books", "algorithms", "book-review" ]
[ "Books" ]
== The Book http://www.amazon.co.uk/Nine-Algorithms-That-Changed-Future/dp/0691158193/ref=sr_1_1?ie=UTF8&qid=1376332180&sr=8-1&keywords=9+algorithms+that+changed+the+future[9 algorithms that changed the future (the ingenious ideas that drive today's computers)] by John MacCormick == My Thoughts I came across this book while idly browsing http://www.foyles.co.uk/[a book store] and since I've found most introduction to algorithms books very dry I thought it'd be interesting to see what one aimed at the general public would be like. Overall it was an enjoyable read and I quite like the pattern that the author used for each algorithm, which was: * Describe the problem that it's needed for. * Explain a simplified version of the algorithm or use a metaphor to give the general outline. * Explain which bits were simplified and how the real version addresses those simplifications. The first step is often missed out in algorithms books which is a mistake for people like me who become more interested in a subject once a practical use case is explained. Although the title claims 9 algorithms I counted the following 8 which made the cut: * http://en.wikipedia.org/wiki/Search_engine_indexing[Search Engine Indexing] - this chapter covers how you'd go about writing the part of a search engine which works out which pages are applicable for certain search terms. It effectively describes http://lucene.apache.org/core/[Lucene]. * http://en.wikipedia.org/wiki/PageRank[Page Rank] - this chapter described Google's PageRank which was particularly timely for me as I've recently been http://www.markhneedham.com/blog/2013/08/05/javajblas-calculating-eigenvector-centrality-of-an-adjacency-matrix/[playing around with some similar algorithms]. The author works step by step through the algorithm using a simple example covering it very throughly. The best thing I've seen on the web is http://williamcotton.com/pagerank-explained-with-javascript[PageRank explained with Javascript] although that is slightly more technical than the book. I didn't realise that Sergey Brin and Larry Page had published a paper back in 1998 titled 'http://infolab.stanford.edu/~backrub/google.html[The Anatomy of a Large-Scale Hypertextual Web Search Engine]' which explains the initial PageRank algorithm in more detail. * http://en.wikipedia.org/wiki/Public-key_cryptography[Public Key Cryptography] - this chapter mostly covers http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange[Diffie-Hellman key exchange] which I realise is quite well explained on wikipedia as well. * http://en.wikipedia.org/wiki/Error_detection_and_correction[Error-Correcting Codes] - I took the http://en.wikipedia.org/wiki/Checksum[checksums] included in somewhat for granted but in this chapter MacCormick goes through the problem of data getting lost or corrupted in transfer and iterates through potential solutions. The further reading from this chapter is 'http://cm.bell-labs.com/cm/ms/what/shannonday/shannon1948.pdf[A Mathematical Theory of Communication]', http://en.wikipedia.org/wiki/Hamming_code[Hamming code] and http://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction[Reed-Solomon error correction]. * http://en.wikipedia.org/wiki/Pattern_recognition[Pattern Recognition] - this chapter covered a variety of machine learning algorithms initially focusing on digit recognition - something that Jen Smith and I spent http://www.markhneedham.com/blog/tag/kaggle/[a chunk of time working on last year for the Kaggle problem]. The three algorithms covered are http://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm[nearest neighbours], http://en.wikipedia.org/wiki/Decision_tree[decision trees] and http://en.wikipedia.org/wiki/Artificial_neural_network[neural networks], all of which we attempted! I recently came across the concept of http://deeplearning.net/tutorial/lenet.html[convolutional neural networks and deep learning] which I've yet to try out but are apparently even more accurate than plain neural networks. * http://en.wikipedia.org/wiki/Data_compression[Data Compression] - I imagine data compression would be one of the more familiar algorithms on this list since everybody knows how to 'zip up a file' and send it around. The author covers lossy algorithms such as 'http://bitdepth.thomasrutter.com/2010/02/02/how-jpeg-and-mpeg-picture-compression-algorithms-work/[JPEG Leave it Out]' which reduces image quality as well as size, as well as lossless algorithms such as http://en.wikipedia.org/wiki/LZ77_and_LZ78[LZ77], http://en.wikipedia.org/wiki/Shannon%E2%80%93Fano_coding[Shannon-Fano coding] and http://en.wikipedia.org/wiki/Huffman_coding[Huffman coding]. The latter is covered in https://class.coursera.org/algo2-2012-001/lecture/preview[Stanford's Algorithms II] and I think the explanation there is actually easier to understand than the book's. * http://en.wikipedia.org/wiki/Database[Databases] - this section mostly focused on how http://en.wikipedia.org/wiki/ACID[ACID] compliant relational databases work and covered things like the http://en.wikipedia.org/wiki/Write-ahead_logging[write ahead log] and index lookups. The recommended reading from this chapter is http://www.amazon.co.uk/Transaction-Processing-Concepts-Techniques-Management/dp/1558601902/ref=sr_1_1?ie=UTF8&qid=1376421544&sr=8-1&keywords=transaction+processing+jim[Transaction Processing: Concepts and Techniques]. Given the fact that many of the popular websites that people use tend to use NoSQL stores these days I thought there might be some mention of that but it was left out. * http://en.wikipedia.org/wiki/Digital_signature[Digital Signatures] - this chapter ties in quite closely with the one on public key cryptography. It focused on signing of software with a digital signature rather than the signing of emails which is what I expected the chapter to be about. The http://en.wikipedia.org/wiki/RSA_(algorithm)[RSA algorithm] is described and the link between the difficultly of http://en.wikipedia.org/wiki/Factorization[factoring] large numbers and the security of the algorithm is explained. I enjoyed the book and I've got some interesting articles/papers to add to my reading list. Even if you already know all the algorithms I think it's interesting to hear them described from a completely different angle to see if you learn something new.
null
null
[ -0.007268032059073448, 0.00003794997974182479, 0.007863649167120457, 0.028220782056450844, 0.07169479876756668, -0.003848840482532978, 0.015007580630481243, 0.04786454141139984, 0.007960211485624313, -0.013377571478486061, -0.006693064700812101, -0.014336958527565002, -0.05880068242549896, 0.004969543777406216, -0.05117197707295418, 0.09292677044868469, 0.06715402007102966, 0.01316406112164259, -0.012604561634361744, -0.01642390713095665, 0.016325389966368675, 0.08208590745925903, 0.02888103947043419, 0.04127492383122444, 0.04189083352684975, 0.004606451839208603, 0.02376614324748516, 0.005273612216114998, -0.04566607251763344, 0.004800854716449976, 0.04879892244935036, -0.00821626465767622, 0.01277731079608202, 0.019638583064079285, 0.027712810784578323, -0.01672387681901455, -0.03620398789644241, 0.004458967596292496, 0.006015114951878786, 0.01530055794864893, -0.07462787628173828, 0.04093313589692116, -0.03124699741601944, 0.03846069425344467, -0.0313166044652462, -0.002900938270613551, -0.058963317424058914, 0.012179271318018436, 0.006149298511445522, 0.006284382659941912, -0.052097175270318985, 0.027717383578419685, 0.02944856323301792, 0.005657658446580172, -0.03225467726588249, 0.06976733356714249, 0.02648230269551277, -0.03902028128504753, 0.04491822421550751, -0.030873998999595642, 0.0018690200522542, -0.004246051888912916, 0.0032451702281832695, 0.05142177641391754, -0.008903239853680134, -0.03596577048301697, -0.002414874266833067, 0.05975571274757385, -0.042190827429294586, -0.002260894048959017, -0.020601777359843254, 0.012821936048567295, -0.004671085625886917, 0.001516313524916768, -0.020351611077785492, -0.03244705870747566, 0.0076881516724824905, 0.07472957670688629, 0.003227733774110675, 0.039702024310827255, -0.01159645989537239, 0.025542957708239555, 0.01806122064590454, 0.024921979755163193, -0.021067189052700996, -0.02614542841911316, -0.04946448653936386, -0.025494873523712158, -0.05341341346502304, 0.06448689848184586, 0.005821867845952511, -0.06118379905819893, -0.006911471951752901, 0.050477609038352966, -0.022961772978305817, -0.014495113864541054, 0.050507593899965286, -0.025851672515273094, -0.010747524909675121, -0.022692948579788208, -0.03112190030515194, -0.032179880887269974, 0.04321899265050888, 0.0016670379554852843, -0.07196148484945297, 0.012101956643164158, -0.02751896157860756, -0.004677623510360718, 0.004231998696923256, -0.006376778706908226, -0.022906210273504257, 0.024590766057372093, -0.02026013657450676, 0.01241003256291151, -0.06889034807682037, 0.07226311415433884, -0.009849116206169128, -0.02133631706237793, 0.014748653396964073, 0.03778110444545746, 0.042654670774936676, 0.0179450660943985, 0.0015018114354461432, 0.07669749110937119, -0.013521090149879456, 0.006251301150768995, 0.025878554210066795, 0.05087235942482948, -0.0541037879884243, -0.04509291425347328, 0.0009742339025251567, 0.043216951191425323, -0.008200928568840027, -0.011973045766353607, -0.02240581251680851, -0.037819430232048035, -0.015993205830454826, 0.03103340044617653, 0.0425364226102829, 0.03325885534286499, 0.006606122478842735, -0.07283677160739899, 0.015162649564445019, -0.020350750535726547, 0.04436557739973068, -0.015202878043055534, 0.02243000827729702, -0.0026356095913797617, -0.026839887723326683, -0.028710467740893364, 0.011024766601622105, 0.03428279981017113, 0.03208649903535843, -0.04474148526787758, 0.01729893498122692, 0.08598077297210693, 0.011507982388138771, 0.016829242929816246, 0.0018871912034228444, 0.0345274992287159, 0.04338330402970314, 0.03155785799026489, 0.00759491603821516, 0.01752702333033085, 0.0008246294455602765, -0.013600481674075127, 0.011078580282628536, 0.07491832226514816, 0.005200251005589962, 0.0027959169819951057, -0.04181917384266853, -0.045132704079151154, 0.047826651483774185, -0.052968863397836685, 0.00021993013797327876, 0.045966073870658875, 0.08869029581546783, 0.03853728622198105, 0.04171614721417427, -0.016588376834988594, -0.08268310874700546, 0.02245759405195713, 0.019369419664144516, 0.016679715365171432, 0.0035503392573446035, -0.02950160950422287, 0.08521559089422226, 0.05523097887635231, 0.041170697659254074, 0.02004007250070572, -0.0804949402809143, -0.07688011974096298, -0.026845160871744156, -0.03537434712052345, 0.07464117556810379, -0.03850768133997917, 0.026317743584513664, 0.04484250023961067, 0.005295401439070702, 0.05300412327051163, 0.01452004723250866, -0.001984155736863613, 0.017372123897075653, -0.04426400363445282, -0.05005275830626488, 0.040009818971157074, 0.02869456261396408, -0.028193524107336998, -0.0526820570230484, 0.018144017085433006, -0.00382762192748487, -0.006939459592103958, -0.007789975963532925, -0.019145110622048378, 0.012709351256489754, 0.017688006162643433, 0.06314647942781448, -0.013372384011745453, 0.05114408954977989, -0.046550605446100235, 0.027067756280303, -0.004575160797685385, -0.022412538528442383, -0.0017083559650927782, 0.022392774000763893, 0.12312471866607666, 0.07945992052555084, -0.036098867654800415, -0.0368204265832901, 0.044628310948610306, 0.014430535025894642, -0.041544754058122635, 0.022410739213228226, -0.014462998136878014, -0.0016128411516547203, -0.020348621532320976, -0.060604825615882874, -0.028078684583306313, 0.03965240344405174, -0.04657313972711563, -0.01376092154532671, 0.04327748715877533, -0.02260410413146019, 0.0614783838391304, 0.033681608736515045, -0.018779881298542023, -0.023787375539541245, -0.027169978246092796, -0.049745120108127594, 0.004549857694655657, -0.004285260569304228, -0.03388123959302902, 0.02927859127521515, -0.03880036249756813, -0.025911200791597366, -0.025150718167424202, -0.030114401131868362, 0.04732639715075493, 0.07699308544397354, 0.06016967073082924, -0.002189237391576171, 0.05649131163954735, -0.0073387036100029945, 0.003815464675426483, 0.004233177751302719, -0.05087709426879883, -0.041958726942539215, -0.06902126967906952, 0.015293499454855919, 0.024436751380562782, 0.008074328303337097, 0.016400976106524467, 0.029215557500720024, 0.013296695426106453, -0.008414600044488907, -0.01970488764345646, 0.06981243193149567, -0.02088593691587448, -0.00023453771427739412, -0.017823630943894386, -0.014779881574213505, 0.0498911589384079, -0.046011753380298615, -0.03430686518549919, -0.013960865326225758, -0.06321976333856583, 0.05074363201856613, -0.052981361746788025, -0.02767563797533512, 0.021670492365956306, -0.00026702252216637135, 0.048053424805402756, 0.0075758956372737885, 0.006998439319431782, 0.07163999229669571, 0.01980365626513958, -0.007921331562101841, -0.01437756884843111, -0.002434865338727832, 0.008736218325793743, 0.0017192125087603927, 0.02076488360762596, 0.04533953219652176, -0.0017765420489013195, -0.010191906243562698, -0.04636396840214729, 0.0006150045082904398, -0.004631309304386377, -0.25093212723731995, 0.03126261383295059, -0.008253137581050396, -0.04386242479085922, 0.013640505261719227, 0.0024618699681013823, -0.004182474222034216, -0.03890332579612732, -0.012320572510361671, 0.01942356303334236, -0.010796801187098026, -0.03861294314265251, -0.03788960725069046, 0.047376878559589386, -0.00861671194434166, 0.0072590503841638565, 0.003420986933633685, -0.03837594762444496, -0.0013780278386548162, 0.04530229791998863, 0.00598532659932971, -0.07152380049228668, -0.015749167650938034, 0.026241598650813103, 0.03309135511517525, 0.06610339134931564, -0.07599692791700363, 0.021959975361824036, -0.06226867064833641, -0.018478529527783394, 0.006208609789609909, -0.029017316177487373, -0.004523487761616707, -0.027809474617242813, -0.011776724830269814, -0.02500581555068493, 0.054031770676374435, 0.006079248618334532, -0.009496726095676422, 0.037101540714502335, -0.03155997022986412, -0.007229296024888754, -0.008969455026090145, 0.0013993498869240284, 0.08795715123414993, 0.028941631317138672, -0.06856387108564377, -0.01475953683257103, -0.024328269064426422, 0.05611971765756607, -0.04087129235267639, -0.03709568828344345, 0.008097379468381405, 0.025433864444494247, 0.016513878479599953, -0.0330439917743206, 0.011656965129077435, -0.03562285751104355, -0.02416377328336239, -0.04488968104124069, -0.009188814088702202, -0.03095322847366333, 0.002182594034820795, -0.06309057772159576, -0.01023346371948719, -0.05848762020468712, -0.0717870220541954, -0.021610857918858528, 0.07655896246433258, 0.02674722485244274, -0.02276410162448883, 0.039870843291282654, -0.009929737076163292, -0.0932527482509613, -0.03785358741879463, 0.0031530973501503468, 0.010527384467422962, 0.015892451629042625, -0.010538537055253983, 0.04987191781401634, -0.04134359583258629, -0.05825572460889816, 0.011422818526625633, 0.01633075252175331, 0.04341227933764458, -0.04703713208436966, -0.02076433226466179, -0.01040312647819519, -0.045353684574365616, -0.0036922500003129244, 0.08049524575471878, -0.010994315147399902, -0.01647390052676201, -0.03637929633259773, 0.04885845258831978, 0.015136235393583775, 0.01166505366563797, 0.00718933017924428, 0.020935000851750374, 0.04683496057987213, -0.0006317402585409582, -0.051818687468767166, 0.04859880357980728, -0.01166930515319109, -0.02291668951511383, 0.011739329434931278, -0.05273223668336868, 0.020306330174207687, 0.026059769093990326, -0.014933145605027676, -0.004685219842940569, -0.040097709745168686, 0.025083012878894806, -0.02705637365579605, -0.03786110877990723, -0.029829440638422966, 0.02361360192298889, 0.04440726339817047, -0.01530385110527277, -0.00780657771974802, -0.053609173744916916, 0.011946293525397778, -0.02179441601037979, -0.048310231417417526, -0.058039627969264984, -0.038075946271419525, -0.022980786859989166, 0.007441558875143528, 0.0380156971514225, 0.02631879784166813, -0.002752829808741808, 0.02679619938135147, 0.003922787960618734, -0.032180044800043106, 0.02005597949028015, -0.05811193585395813, -0.03616439551115036, -0.02147388830780983, 0.01807813160121441, 0.01900188811123371, -0.0007659766124561429, 0.0122060002759099, 0.02293640561401844, -0.0012153739808127284, 0.06008833646774292, 0.03624771162867546, 0.03289485350251198, -0.008656851015985012, 0.016249706968665123, -0.01339949481189251, -0.011005551554262638, -0.02879742905497551, 0.03442440181970596, -0.03855632618069649, -0.017374716699123383, -0.010871896520256996, 0.02854553423821926, -0.020145967602729797, -0.05849515274167061, -0.029595432803034782, 0.024167383089661598, -0.045930687338113785, -0.019085759297013283, -0.030612507835030556, 0.011357986368238926, 0.07904911041259766, -0.02160358801484108, 0.06358785182237625, -0.02460927702486515, -0.007951165549457073, 0.03294197469949722, -0.014878313057124615, -0.04570930451154709, 0.017185458913445473, 0.0005346360267139971, -0.011827736161649227, 0.010865968652069569, 0.008248493075370789, 0.008067332208156586, 0.02350297011435032, -0.014613872393965721, -0.03747100010514259, -0.004954623989760876, 0.030474873259663582, 0.05447480455040932, -0.017442207783460617, -0.001005614991299808, 0.004369374364614487, -0.047289490699768066, -0.033693358302116394, -0.003978297114372253, -0.01867673173546791, -0.0008587153861299157, -0.014477865770459175, -0.03323899582028389, -0.07875259220600128, 0.03754190728068352, -0.0038098441436886787, 0.0005074829095974565, 0.02630092017352581, -0.014948638156056404, 0.022368337959051132, -0.04707885533571243, 0.02910763770341873, 0.03925145044922829, -0.07357688248157501, -0.004470138344913721, -0.009437406435608864, -0.007234861142933369, 0.00856181513518095, -0.0030170653481036425, -0.04507574066519737, -0.014827382750809193, -0.0197315476834774, 0.014985017478466034, -0.031229328364133835, -0.03153955191373825, -0.023594200611114502, 0.013253803364932537, -0.02597796358168125, 0.038109470158815384, -0.00887307059019804, -0.020268769934773445, -0.028051361441612244, -0.007531456649303436, 0.04319332167506218, -0.012938104569911957, -0.004983569495379925, 0.01135997287929058, -0.05210258066654205, -0.006931479554623365, -0.019784096628427505, 0.0025589975994080305, 0.03557436168193817, -0.004407913889735937, -0.01596381515264511, -0.03960974141955376, -0.0026486492715775967, 0.012264321558177471, 0.05778293311595917, 0.014661378227174282, -0.011374203488230705, -0.03674161806702614, -0.0015727817080914974, -0.029758892953395844, 0.040730927139520645, 0.0032267337664961815, -0.02931991219520569, 0.0419238805770874, 0.060736555606126785, -0.015455690212547779, 0.006835193373262882, -0.0097957793623209, -0.028475819155573845, 0.051797255873680115, -0.046760331839323044, -0.0162038691341877, -0.03137992322444916, -0.04304562509059906, 0.01541227102279663, -0.024667587131261826, 0.025326989591121674, -0.0455656498670578, 0.02684960328042507, 0.03464116156101227, 0.03810369595885277, 0.017132554203271866, 0.0009681580122560263, 0.03764673322439194, -0.026649458333849907, 0.013715418986976147, -0.09760728478431702, -0.01766393706202507, 0.022219283506274223, 0.023018887266516685, 0.012579613365232944, -0.007333448622375727, -0.026400268077850342, 0.006518934387713671, -0.09409493207931519, -0.03164418041706085, 0.03366042301058769, -0.0025462124031037092, -0.019003964960575104, 0.04069190472364426, -0.05791487544775009, 0.02612422965466976, 0.013278954662382603, -0.03893347084522247, -0.018481260165572166, -0.040171705186367035, 0.05310907959938049, -0.009124490432441235, 0.013952871784567833, -0.005982852075248957, 0.003453780198469758, 0.056570250540971756, 0.03499050810933113, 0.009496311657130718, 0.04632153734564781, 0.0027325511910021305, 0.03817075863480568, 0.04582950845360756, 0.019112413749098778, 0.01201111264526844, 0.028342897072434425, -0.023130396381020546, -0.0533750094473362, 0.05204036831855774, -0.01867513917386532, -0.025219334289431572, -0.050950873643159866, 0.06668061017990112, 0.032314836978912354, -0.033118836581707, -0.058112069964408875, 0.00004860193803324364, -0.042326878756284714, -0.009929243475198746, -0.03675394877791405, 0.012192369438707829, -0.022231828421354294, 0.047515619546175, -0.03537433594465256, -0.006915166974067688, 0.05895077809691429, -0.007784568704664707, -0.008675716817378998, -0.019082095474004745, 0.09626752138137817, 0.10267665982246399, 0.05012619122862816, 0.009652776643633842, 0.07849235832691193, 0.007128151133656502, -0.0269077867269516, 0.004026859998703003, -0.027994778007268906, -0.024793952703475952, -0.015638330951333046, 0.011372717097401619, 0.058915384113788605, -0.006806015502661467, 0.07388374954462051, -0.04823252558708191, -0.007487736642360687, -0.006895394064486027, 0.04552909731864929, 0.027298979461193085, 0.05321380868554115, 0.014111152850091457, 0.04903361201286316, -0.03965679556131363, -0.04222262650728226, 0.0178979504853487, 0.006821309216320515, -0.015716584399342537, 0.015437022782862186, -0.01440512202680111, 0.027398928999900818, -0.000979711301624775, 0.02019481360912323, 0.08301232010126114, -0.007465715985745192, -0.000689106120262295, -0.0036743280943483114, -0.003332694061100483, 0.0026734089478850365, 0.01079972367733717, -0.0382855050265789, -0.03164329379796982, -0.02297835238277912, -0.011433892883360386, -0.025274576619267464, -0.0019613716285675764, -0.029044006019830704, 0.01708308234810829, -0.029842320829629898, -0.00409582769498229, 0.04193452373147011, 0.02751147747039795, -0.04993477463722229, -0.030541103333234787, -0.04001150652766228, -0.040496062487363815, -0.059533312916755676, 0.0025990717113018036, -0.005641225725412369, 0.001338544418103993, -0.03941284865140915, -0.03738965094089508, -0.013561015948653221, -0.03433723747730255, 0.03668515384197235, -0.06794656068086624, 0.010717629455029964, -0.017837611958384514, 0.03584954887628555, 0.025289881974458694, 0.02210340090095997, 0.04763692244887352, -0.0015316667268052697, -0.005615476984530687, 0.01086402777582407, -0.0049902512691915035, 0.023639487102627754, 0.017055600881576538, 0.03162682428956032, -0.06448210030794144, 0.008262181654572487, 0.007159652654081583, -0.04087222367525101, -0.07343754172325134, 0.02112637273967266, 0.03948939964175224, -0.014772608876228333, 0.025321122258901596, -0.023295527324080467, -0.0014907849254086614, -0.03829280659556389, -0.0010277394903823733, -0.007672423496842384, -0.0033668014220893383, 0.03850158303976059, -0.02320730686187744, 0.0713803619146347, 0.005105177406221628, 0.014011499471962452, -0.047147996723651886, 0.002494317712262273, -0.001535787247121334, 0.018653420731425285, -0.058820340782403946, -0.03402050584554672, -0.03049614652991295, -0.10273972898721695, -0.017017031088471413, 0.03316747397184372, -0.028564225882291794, -0.04508643224835396, -0.0060700601898133755, 0.02000543847680092, -0.02980382740497589, 0.03536937013268471, -0.029031485319137573, 0.009998288936913013, -0.02129278890788555, -0.002861577784642577, 0.005085701588541269, 0.039199210703372955, 0.010796035639941692, 0.0163373202085495, 0.013077137991786003, -0.03525972738862038, 0.019670259207487106, -0.025497717782855034, 0.020618032664060593, 0.020781811326742172, 0.020056800916790962, -0.0204818956553936 ]
[ -0.10489019006490707, -0.0189721267670393, -0.018164563924074173, 0.0033387530129402876, 0.029416454955935478, -0.018274690955877304, -0.04338688403367996, 0.012168372981250286, 0.014044871553778648, -0.015256362967193127, 0.03153621777892113, -0.003235888434574008, -0.024907104671001434, 0.0015979177551344037, 0.04382670670747757, 0.004953944124281406, 0.017656251788139343, -0.08435419201850891, -0.006523431744426489, -0.00019768554193433374, 0.048232730478048325, 0.003952539060264826, -0.026478851214051247, -0.059951670467853546, 0.003724580630660057, 0.05059601739048958, 0.0471479669213295, -0.028504755347967148, 0.012236935086548328, -0.17785534262657166, -0.004484865814447403, 0.01696324534714222, 0.0738445445895195, -0.001209357986226678, -0.001038281829096377, 0.023635977879166603, 0.03744389861822128, 0.00934712402522564, -0.004855327773839235, 0.05317854508757591, 0.02218780294060707, 0.020530419424176216, -0.027863724157214165, 0.02021041326224804, 0.04136805608868599, 0.030193259939551353, -0.0020872103050351143, 0.003923744894564152, -0.022262152284383774, -0.026426607742905617, -0.08175669610500336, -0.02745520882308483, -0.01925787888467312, 0.004569882061332464, 0.010744909755885601, 0.00013782853784505278, 0.03410462662577629, 0.08021287620067596, -0.009061808697879314, 0.005426281131803989, 0.037312500178813934, 0.0027593327686190605, -0.12884125113487244, 0.0876363143324852, 0.05243469029664993, 0.032697323709726334, -0.03765410557389259, -0.031277380883693695, -0.0009900277946144342, 0.11032819002866745, 0.002635484328493476, -0.017254997044801712, -0.01184565294533968, 0.04277820885181427, 0.026375645771622658, 0.024668384343385696, -0.0015891551738604903, 0.00897720642387867, 0.031832125037908554, -0.050000663846731186, -0.004631797783076763, 0.004857392515987158, -0.023177171126008034, -0.025063853710889816, -0.05109968036413193, 0.01509382575750351, -0.011454119347035885, 0.04489348083734512, 0.02164565399289131, 0.0006464440375566483, 0.03355812281370163, -0.005213605705648661, 0.04113922268152237, -0.008720582351088524, -0.06142529100179672, -0.03655596822500229, -0.00010324714094167575, 0.037829071283340454, 0.002968574408441782, 0.44821467995643616, -0.02880682237446308, 0.0037307413294911385, 0.07145621627569199, 0.028679009526968002, -0.02725888602435589, -0.03896813839673996, 0.003524649189785123, -0.0706571564078331, 0.03372733294963837, -0.032606661319732666, 0.015872439369559288, -0.005868946202099323, 0.10038234293460846, -0.038072530180215836, 0.008049579337239265, -0.020000305026769638, 0.04785538464784622, 0.045032672584056854, 0.0626995787024498, -0.027599850669503212, -0.042543623596429825, 0.020645705983042717, 0.009802999906241894, -0.024397464469075203, -0.0061080968007445335, -0.0433005727827549, -0.002257842803373933, 0.06965368986129761, -0.00009563985076965764, 0.010202141478657722, 0.07025247067213058, -0.05939125269651413, -0.06998836249113083, -0.015288717113435268, -0.00038032574229873717, 0.01970052532851696, 0.0037815840914845467, -0.008739316835999489, -0.0037677977234125137, 0.024898769333958626, -0.02149621583521366, 0.0024062786251306534, 0.013387027196586132, -0.023087792098522186, -0.03137952834367752, 0.1385825276374817, 0.054547566920518875, -0.04784378409385681, -0.00528525048866868, -0.03481053188443184, 0.020489834249019623, 0.004717623349279165, -0.0033458746038377285, -0.07973054051399231, 0.02190183289349079, 0.0220168624073267, 0.10888050496578217, -0.008926818147301674, -0.06541048735380173, -0.008003316819667816, -0.019226597622036934, 0.001628842786885798, -0.06862708926200867, 0.07545563578605652, 0.05621706694364548, -0.11111050844192505, -0.00985435675829649, -0.008418109267950058, 0.009063799865543842, -0.034329596906900406, 0.025969812646508217, 0.007501679006963968, -0.02850918658077717, 0.0363982617855072, 0.059014253318309784, -0.0323169119656086, -0.008737255819141865, 0.004097145050764084, 0.03688070923089981, -0.018105125054717064, 0.006995797157287598, -0.025494836270809174, -0.04735037684440613, 0.016288360580801964, -0.03813369944691658, -0.03549378365278244, -0.050154756754636765, 0.012897198088467121, -0.003893118817359209, 0.021288961172103882, 0.00015753140905871987, -0.021182913333177567, -0.0837903767824173, 0.07386771589517593, -0.05666399002075195, -0.027436334639787674, 0.00736482348293066, -0.0014554407680407166, -0.0336882583796978, -0.02029285952448845, -0.08369221538305283, -0.012764962390065193, -0.04123644530773163, 0.018490126356482506, -0.04428299888968468, 0.017063450068235397, 0.051032472401857376, -0.06854686886072159, 0.11946186423301697, 0.07394874095916748, -0.012949288822710514, -0.06277797371149063, -0.017156880348920822, 0.010301307775080204, 0.0039061724673956633, -0.049547698348760605, 0.020438166335225105, 0.0019235438667237759, -0.02738392911851406, 0.030090034008026123, -0.02933528646826744, -0.04389610514044762, -0.06907856464385986, -0.29434043169021606, -0.07230193167924881, -0.04381265118718147, -0.0024182237684726715, 0.022035038098692894, -0.06339402496814728, -0.009974948130548, -0.021195007488131523, -0.015399476513266563, 0.06444768607616425, 0.054514460265636444, -0.021712588146328926, -0.02076868899166584, -0.06457404792308807, 0.011306221596896648, -0.002803641138598323, -0.03490883857011795, -0.033688485622406006, -0.04642681032419205, -0.0075256964191794395, 0.00218114722520113, 0.02005911059677601, -0.011533425189554691, -0.07935655862092972, -0.025565089657902718, -0.033565837889909744, 0.08046873658895493, 0.033446598798036575, 0.07522257417440414, -0.01926756091415882, 0.026257431134581566, -0.006287993863224983, 0.014085066504776478, -0.06595473736524582, 0.008785099722445011, 0.013005899265408516, 0.034463267773389816, -0.018735893070697784, 0.0019893443677574396, -0.054959386587142944, -0.05578472465276718, 0.029667753726243973, -0.040204696357250214, -0.0074166059494018555, -0.07714253664016724, 0.012007403187453747, 0.003622901625931263, -0.04223734140396118, -0.008257783018052578, 0.0943782702088356, 0.013577442616224289, 0.011294820345938206, 0.006066926289349794, -0.011503200978040695, -0.024661649018526077, -0.02682017721235752, -0.06518514454364777, 0.01777784712612629, 0.0004850335535593331, -0.0029269021470099688, 0.010457257740199566, 0.023899702355265617, 0.022962884977459908, -0.040671464055776596, 0.015411426313221455, -0.011215503327548504, -0.020784907042980194, -0.00036298439954407513, 0.016727900132536888, -0.0025656758807599545, -0.0372740775346756, 0.10004588216543198, 0.003137248568236828, 0.0032395031303167343, 0.034998681396245956, 0.03612611070275307, 0.009353668428957462, 0.05199389159679413, 0.022683991119265556, -0.005812582094222307, 0.017326129600405693, -0.02144717238843441, 0.03756241127848625, -0.003031256375834346, -0.015322604216635227, -0.00583639508113265, -0.01050127949565649, -0.04989493638277054, 0.016367023810744286, 0.05657760798931122, -0.027607135474681854, 0.010157729499042034, -0.021987631916999817, -0.06934713572263718, 0.08995450288057327, 0.0039022688288241625, -0.2524142563343048, 0.03340626135468483, 0.06361263245344162, 0.07091313600540161, 0.0016913891304284334, 0.02014654316008091, 0.03633425384759903, -0.04279306158423424, 0.03837868943810463, 0.015757335349917412, 0.018864573910832405, 0.028926022350788116, 0.006087305024266243, -0.022290058434009552, 0.02282615751028061, -0.02413547970354557, 0.03435761108994484, -0.021733887493610382, -0.005158753599971533, 0.06441960483789444, 0.030591242015361786, 0.01439092680811882, 0.17856304347515106, 0.00827588140964508, 0.02365521900355816, 0.028644314035773277, 0.009160304442048073, 0.017741505056619644, 0.059600140899419785, -0.015448145568370819, -0.002549292054027319, 0.00016561879601795226, 0.03740770369768143, -0.03097607009112835, 0.022630423307418823, -0.05950269475579262, -0.018884502351284027, 0.033577486872673035, 0.0312994010746479, -0.01911809667944908, 0.011038784869015217, 0.011757994070649147, -0.03883925825357437, 0.03920125961303711, 0.08023731410503387, 0.0225369930267334, -0.016019701957702637, -0.05410891771316528, -0.05062803998589516, -0.0029942309483885765, -0.043119173496961594, -0.03906203433871269, -0.000016790027075330727, -0.016196146607398987, 0.005406825337558985, 0.059469591826200485, 0.01897791214287281, -0.01627296581864357, -0.011747480370104313, -0.020603327080607414, -0.0058188121765851974, -0.019542114809155464, 0.11043825000524521, 0.01718200370669365, 0.034573495388031006 ]
[ -0.002790773054584861, -0.0006268874858506024, -0.016836628317832947, -0.01436664815992117, -0.007632532622665167, -0.0019183340482413769, -0.005916852504014969, 0.005739698652178049, -0.07576877623796463, -0.014908251352608204, -0.017222851514816284, 0.036580633372068405, 0.022402280941605568, -0.02354111708700657, -0.017964525148272514, -0.0015870683128014207, -0.017687642946839333, 0.0011409117141738534, 0.027934560552239418, -0.009942804463207722, -0.016644129529595375, 0.02779398299753666, 0.010013869032263756, -0.030408479273319244, -0.022358786314725876, 0.04768455773591995, -0.012682019732892513, -0.02829020656645298, 0.019455621019005775, -0.11071852594614029, -0.02477085031569004, -0.008924007415771484, 0.0004926742403768003, 0.03286520391702652, -0.03241873160004616, -0.019155297428369522, -0.004952681716531515, 0.01605442725121975, 0.02426397241652012, 0.020016375929117203, 0.012325712479650974, -0.012435649521648884, -0.03959140554070473, 0.00930087547749281, 0.0004984130500815809, -0.015382733196020126, -0.005505066365003586, -0.028026508167386055, -0.0011289742542430758, -0.01853090524673462, -0.04982104152441025, 0.0008899427484720945, -0.029269607737660408, 0.003997391555458307, -0.010862177237868309, -0.028642145916819572, 0.000823118956759572, -0.020288605242967606, -0.01850317232310772, -0.06062167137861252, 0.02416870929300785, -0.024995502084493637, -0.022079497575759888, -0.014992019161581993, -0.008029544726014137, -0.01888912543654442, 0.008553007617592812, -0.005784258246421814, -0.016701852902770042, 0.00033503465238027275, 0.015931222587823868, 0.025694236159324646, -0.02273559756577015, -0.03256736323237419, -0.0005122172879055142, 0.01946081593632698, 0.02127545326948166, -0.010593922808766365, -0.0009282309329137206, 0.015601418912410736, -0.01877153478562832, 0.02134789153933525, 0.024998441338539124, 0.009947692975401878, -0.01988137699663639, -0.0581992045044899, -0.009768679738044739, -0.019023755565285683, 0.023564795032143593, -0.025928158313035965, -0.021816974505782127, -0.0026430990546941757, -0.020624695345759392, 0.0022832511458545923, -0.09970400482416153, 0.03298976272344589, -0.001183767686598003, -0.006593658588826656, -0.001110769808292389, 0.8526211380958557, -0.004660928156226873, 0.01323143020272255, -0.003270280547440052, 0.024375462904572487, 0.01962822489440441, 0.025668371468782425, 0.0033926689065992832, 0.022342568263411522, 0.007388826459646225, -0.06914514303207397, 0.008680639788508415, 0.011624203994870186, 0.011684997007250786, -0.007169497199356556, 0.017169052734971046, -0.012373027391731739, 0.019659383222460747, 0.008380742743611336, 0.050125982612371445, 0.016559269279241562, 0.0031519094482064247, 0.027177151292562485, 0.020646609365940094, -0.016584178432822227, 0.020448828116059303, -0.15897849202156067, -0.029405195266008377, -7.70254501788209e-33, 0.029544085264205933, -0.011025707237422466, 0.0055329455062747, -0.0012837249087169766, 0.013377055525779724, -0.010261589661240578, 0.012450436130166054, 0.020951351150870323, 0.001209278590977192, -0.04429512843489647, -0.0003457324346527457, 0.03388431668281555, 0.0015081876190379262, -0.03556138277053833, 0.04703201353549957, 0.0017761900089681149, 0.004955040290951729, 0.029452815651893616, 0.021656295284628868, -0.034216467291116714, 0.04619240760803223, 0.028920339420437813, 0.00903867557644844, -0.0025245279539376497, -0.0012545320205390453, 0.03135621175169945, 0.016105644404888153, -0.036977384239435196, -0.018449649214744568, -0.05201953649520874, 0.011876014061272144, 0.04733137786388397, -0.010272427462041378, -0.010895666666328907, -0.007605388294905424, -0.0333273783326149, -0.011761348694562912, -0.002297447295859456, 0.027732569724321365, -0.06392771750688553, -0.03171715512871742, -0.005992388818413019, 0.0009034638642333448, -0.05477104336023331, -0.0012918858556076884, -0.011004713363945484, -0.02082078717648983, 0.027722833678126335, 0.011379924602806568, 0.014693085104227066, 0.022484194487333298, -0.028464119881391525, 0.006663260515779257, 0.03539014607667923, -0.004521378315985203, 0.03524002805352211, 0.024717118591070175, 0.012896616943180561, 0.012756050564348698, 0.045778531581163406, 0.026102032512426376, -0.0220154020935297, -0.00024046127509791404, -0.0018231358844786882, -0.007133990526199341, -0.01286468654870987, 0.018501287326216698, 0.026676533743739128, 0.024092957377433777, 0.012762614525854588, -0.04891879856586456, 0.020909007638692856, -0.011876227334141731, 0.017735065892338753, -0.0045061237178742886, -0.016440680250525475, -0.004264071583747864, -0.01461915485560894, -0.035853311419487, 0.01883251592516899, 0.02554887719452381, 0.010848206467926502, -0.006202029064297676, -0.035192590206861496, 0.011397356167435646, 0.003940402530133724, 0.002593717072159052, -0.009777624160051346, -0.004881585948169231, -0.0016046223463490605, 0.04159075394272804, 0.017922069877386093, -0.021015750244259834, 0.0007977305795066059, -0.03074493631720543, 7.486579522329173e-33, -0.025180179625749588, -0.016423622146248817, -0.021816331893205643, 0.01147120539098978, 0.038486260920763016, -0.014349366538226604, 0.04457830637693405, 0.004911371506750584, -0.06495098769664764, 0.02790784277021885, -0.04181166738271713, -0.002166483085602522, 0.031386848539114, 0.003920309711247683, 0.02872043289244175, -0.022426733747124672, 0.020750558003783226, -0.025789890438318253, 0.01605171710252762, 0.011677094735205173, 0.002844559494405985, 0.02347603254020214, -0.008612602017819881, -0.012383133172988892, 0.045592404901981354, 0.024547649547457695, 0.0064955647103488445, 0.011554842814803123, -0.01188146136701107, 0.00906708836555481, 0.00979178212583065, -0.003813434625044465, -0.010647895745933056, 0.039688631892204285, -0.02440878003835678, 0.035096313804388046, -0.006902667228132486, -0.030191900208592415, 0.027962511405348778, 0.018962746486067772, 0.023445138707756996, -0.006456673610955477, -0.010131476446986198, 0.01018932368606329, 0.014080804772675037, 0.031679295003414154, 0.003180809784680605, 0.002610352821648121, -0.023505058139562607, 0.01763997972011566, 0.01356764417141676, 0.020199209451675415, -0.013662644661962986, 0.02623719908297062, -0.02605290710926056, 0.0026052952744066715, -0.025266118347644806, 0.02406686171889305, -0.018422454595565796, 0.020384905859827995, -0.02401377260684967, 0.000014155888493405655, -0.03680219128727913, -0.007613875437527895, -0.04588670656085014, -0.011134034022688866, -0.008515090681612492, -0.0028844503685832024, -0.004128850996494293, -0.014540805481374264, -0.03237106278538704, 0.019848505035042763, 0.014367830939590931, 0.030309535562992096, 0.017936643213033676, -0.04200543090701103, -0.011537600308656693, 0.014142253436148167, -0.009229606948792934, 0.032680727541446686, 0.02607819251716137, 0.037006303668022156, 0.00939524918794632, 0.000650081958156079, 0.012793675065040588, -0.0005781864165328443, -0.0029577845707535744, 0.004575373139232397, -0.008348394185304642, -0.03217577561736107, 0.016082672402262688, -0.011808122508227825, -0.01029466837644577, 0.013239393010735512, -0.009061029180884361, -1.3173085733342305e-8, -0.026057617738842964, 0.004852855112403631, -0.002699751639738679, 0.015400438569486141, 0.08005434274673462, -0.00400466239079833, -0.005633902736008167, 0.019504917785525322, -0.05203937366604805, -0.006964345928281546, 0.07331875711679459, -0.03866637125611305, -0.016919726505875587, 0.04392654076218605, -0.004117222968488932, -0.04756699502468109, 0.008612302131950855, -0.03344419226050377, 0.029411427676677704, -0.01774800568819046, -0.009447096846997738, 0.04290200024843216, -0.004397686570882797, 0.029877573251724243, 0.01725822128355503, 0.021868862211704254, 0.003285507205873728, -0.09233611077070236, 0.007789622526615858, 0.020959971472620964, -0.004452018067240715, -0.02804792858660221, 0.003714622464030981, 0.0036594311241060495, -0.019879521802067757, -0.02388809062540531, 0.016613338142633438, 0.035641688853502274, -0.007485465612262487, -0.002049545058980584, -0.004183372016996145, 0.02059418335556984, -0.023981284350156784, -0.015194480307400227, -0.008643876761198044, 0.016565890982747078, -0.0491989441215992, 0.017555799335241318, 0.03025585040450096, -0.03506267070770264, 0.02877691388130188, -0.02491907589137554, 0.04378575459122658, 0.02907266467809677, 0.021182851865887642, -0.050492096692323685, 0.011460105888545513, -0.0360034704208374, -0.010487648658454418, 0.02667143940925598, 0.011430761776864529, 0.05380401015281677, -0.012971070595085621, -0.017865397036075592 ]
9-algorithms-that-changed-the-future-john-maccormick-book-review
https://markhneedham.com/blog/2013/08/13/9-algorithms-that-changed-the-future-john-maccormick-book-review
false
2013-08-22 22:11:35
Products & Infinite configurability
[ "software-development" ]
[ "Software Development" ]
One of the common feature requests on the http://www.thoughtworks.com/[ThoughtWorks] projects that I worked on was that the application we were working on should be almost infinitely configurable to cover potential future use cases. My experience of attempting to do this was that you ended up with an extremely complicated code base and those future use cases often didn't come to fruition. It therefore made more sense to *solve the problem at hand* and then make the code more configurable if/when the need arose. Now that I'm working on a product and associated tools I'm trying to understand whether those rules of application development apply. One thing which I think makes sense is the idea of http://en.wikipedia.org/wiki/Convention_over_configuration[convention over configuration], an approach that I became familiar with after working with Ruby/Rails in 2010/2011. ____ The phrase essentially means *a developer only needs to specify unconventional aspects of the application*. ____ Even if we do this I wonder if it goes far enough. The more things we make configurable the more complexity we add and the more opportunity for people to create themselves problems through misconfiguration. Perhaps we should only make a few things configurable and have our application work out appropriate values for everything else. There are a reasonable number of people using a product who don't have much interest in learning how to configure it. They *just want to use it to solve a problem they have* without having to think too much. Although I haven't used it I'm told that http://www.azulsystems.com/products/zing/whatisit[Azul's Zing JVM] takes the minimal configuration approach by only requiring you to specify one parameter - the heap size - and it handles everything else for you. Of course I'm still new to this so perhaps it still does make sense to default most things but allow power users full control in case their use case differs from the average one that the defaults were created for. I'd be interested in hearing the opinions of people more experienced in this arena of which there are undoubtably many.
null
null
[ 0.018556980416178703, 0.018012402579188347, -0.023445794358849525, 0.016835642978549004, 0.10003313422203064, 0.021346328780055046, 0.03791879862546921, 0.021573998034000397, 0.015454337000846863, -0.014086057431995869, -0.043742552399635315, -0.029688429087400436, -0.08159293234348297, 0.029171602800488472, -0.054642029106616974, 0.07288946211338043, 0.057798292487859726, 0.01026855781674385, 0.01942608132958412, 0.005172784440219402, 0.060979053378105164, 0.05856393650174141, 0.013440649956464767, 0.01839471608400345, 0.01910596527159214, 0.010456593707203865, 0.00717006903141737, 0.00394788384437561, -0.05176553875207901, 0.0017415040638297796, 0.043015409260988235, 0.01920592039823532, -0.0010837307199835777, -0.0012201782083138824, 0.033430539071559906, -0.022183557972311974, -0.02629520185291767, 0.0009799801046028733, -0.010289086028933525, 0.015883276239037514, -0.055115219205617905, 0.053497202694416046, -0.010577689856290817, -0.0037430787924677134, -0.018293464556336403, -0.013223051093518734, -0.035468123853206635, 0.013321733102202415, -0.008363030850887299, -0.02619139291346073, -0.05154269561171532, 0.03187926486134529, -0.022688081488013268, -0.0022886928636580706, -0.009044334292411804, 0.05376952514052391, 0.017616882920265198, -0.06774423271417618, 0.021035421639680862, -0.04199981316924095, -0.0028516766615211964, 0.01208244264125824, 0.009438897483050823, 0.03966691717505455, 0.009416247718036175, -0.020775867626070976, -0.01570730470120907, 0.043374862521886826, -0.047210220247507095, -0.017973288893699646, -0.017099536955356598, -0.0022260972764343023, 0.0024611905682832003, -0.02533857151865959, 0.01709204539656639, -0.025169188156723976, 0.005028885323554277, 0.055839527398347855, 0.004218012560158968, 0.061348721385002136, -0.033481303602457047, 0.008885969407856464, 0.03316660225391388, 0.02427096664905548, 0.01890587992966175, -0.05281795561313629, -0.039894141256809235, -0.008946113288402557, -0.042406853288412094, 0.05694742873311043, 0.04274361580610275, -0.046105071902275085, 0.042849890887737274, 0.019343562424182892, -0.010375584475696087, 0.02112255059182644, -0.0011618155986070633, -0.012367788702249527, -0.0084337517619133, 0.02318907342851162, -0.022372208535671234, 0.0009353430941700935, -0.010784647427499294, -0.014732640236616135, -0.08783478289842606, 0.0016877359012141824, -0.03158729895949364, 0.006036000791937113, 0.003149924334138632, -0.010436543263494968, -0.024989645928144455, 0.013733264058828354, -0.0067584034986793995, 0.009153845719993114, -0.07741008698940277, 0.06851492822170258, -0.012728468514978886, -0.041591789573431015, 0.011541351675987244, 0.015871621668338776, 0.04445640742778778, 0.04068776220083237, -0.03319714963436127, 0.06377477198839188, -0.0017411435255780816, 0.016399232670664787, 0.002407356398180127, 0.06203300878405571, -0.016709402203559875, -0.07960841804742813, -0.009323813021183014, 0.058571603149175644, -0.01354063581675291, -0.01569397561252117, -0.019999003037810326, -0.00009341542317997664, -0.0030808052979409695, -0.0036475195083767176, 0.05009275674819946, 0.036190878599882126, -0.02589651755988598, -0.049631666392087936, 0.019097134470939636, 0.000806895550340414, 0.02348809503018856, 0.011913402937352657, 0.04083904251456261, -0.00943269208073616, -0.04291117563843727, -0.0025323107838630676, 0.012178195640444756, 0.05557776615023613, 0.03125705569982529, -0.03643542528152466, 0.021739600226283073, 0.0785684585571289, 0.015531331300735474, -0.016112633049488068, -0.005264459643512964, -0.0054512727074325085, 0.025317059829831123, 0.007404530420899391, 0.003666011383756995, 0.04219306260347366, 0.027786972001194954, -0.0066344114020466805, -0.008898638188838959, 0.04686154052615166, 0.020809132605791092, -0.006905532907694578, -0.06054463982582092, -0.057603251188993454, 0.05770869180560112, -0.050097331404685974, -0.0020579302217811346, 0.04810536652803421, 0.08193861693143845, 0.03268848732113838, 0.02344307117164135, -0.0014381614746525884, -0.07601244002580643, 0.021698014810681343, -0.000414479523897171, 0.023410050198435783, 0.02451041340827942, -0.014830276370048523, 0.05373106524348259, 0.039752814918756485, 0.01149772759526968, 0.012567900121212006, -0.08113817125558853, -0.08156876266002655, -0.02375435270369053, -0.02688268944621086, 0.06174707040190697, -0.015187500044703484, -0.021882791072130203, 0.08401625603437424, -0.0020763957872986794, 0.03863956779241562, 0.04814181104302406, 0.015722261741757393, 0.008402160368859768, -0.06280777603387833, -0.053364817053079605, 0.05284327641129494, 0.032357100397348404, 0.004553894978016615, -0.051707129925489426, -0.005493592470884323, 0.002757833804935217, -0.024570133537054062, 0.03778938576579094, -0.0312587171792984, 0.04839901626110077, 0.01069626770913601, 0.03711580112576485, -0.04709140211343765, 0.03477133437991142, -0.03203728049993515, 0.009397098794579506, 0.0052768513560295105, -0.0007880826597101986, -0.0012986339861527085, 0.0009469639044255018, 0.11830414086580276, 0.048420898616313934, -0.034208014607429504, -0.0481722392141819, 0.02020707167685032, 0.02172141708433628, -0.05926552042365074, -0.0031603099778294563, -0.008667482063174248, 0.02732498198747635, 0.02263372577726841, -0.04227781668305397, -0.027027035132050514, 0.015365702100098133, -0.029789160937070847, 0.005208113230764866, 0.08265690505504608, -0.044737424701452255, 0.04275733605027199, -0.0072118365205824375, -0.02767644263803959, -0.012105878442525864, -0.03539034724235535, -0.08779870718717575, 0.003961960319429636, 0.013988891616463661, -0.011912793852388859, 0.07741174101829529, -0.011072364635765553, -0.03278009220957756, -0.026366112753748894, -0.010030661709606647, 0.01944616809487343, 0.018279315903782845, 0.07253176718950272, -0.02195398509502411, 0.07078790664672852, -0.022062873467803, 0.01937737688422203, -0.0026701237075030804, -0.04606226459145546, -0.018625639379024506, 0.0015245864633470774, -0.014027289114892483, 0.02626057155430317, 0.015274692326784134, 0.006932671647518873, 0.03376244008541107, -0.002808487508445978, 0.0021972544491291046, -0.01870526373386383, 0.03833702951669693, -0.006970797199755907, -0.012745517306029797, -0.016363635659217834, -0.027350859716534615, 0.04517460986971855, -0.026425227522850037, -0.024164514616131783, 0.013057488948106766, -0.04353751242160797, 0.06058407947421074, -0.08274144679307938, -0.07474170625209808, -0.01210448145866394, 0.02430886961519718, 0.04175841063261032, 0.01496980246156454, 0.03160310536623001, 0.0914578065276146, 0.02260502800345421, 0.015149206854403019, 0.014803241938352585, 0.01264895312488079, 0.03651826083660126, -0.0006666327244602144, 0.0038055172190070152, 0.03608869016170502, -0.0026965970173478127, -0.007327009458094835, -0.04055441915988922, 0.01985844038426876, -0.024082517251372337, -0.27259504795074463, 0.02722800523042679, -0.023540649563074112, -0.048859622329473495, 0.014525027014315128, -0.006804450880736113, -0.007395185995846987, -0.056399621069431305, 0.003273086855188012, 0.02157132513821125, -0.03098001889884472, -0.059484466910362244, -0.026302102953195572, 0.04819422587752342, -0.007847095839679241, 0.02023596502840519, 0.027651138603687286, -0.022821612656116486, -0.011587007902562618, 0.011961231008172035, -0.00676713977009058, -0.07143013924360275, 0.001108454423956573, 0.03161752596497536, 0.0480465367436409, 0.05189937725663185, -0.08024097234010696, 0.04605521261692047, -0.04229355603456497, -0.012814770452678204, 0.0022334111854434013, -0.01585175283253193, -0.01913437433540821, -0.02325674518942833, -0.01827346906065941, -0.005210503004491329, 0.03590233996510506, 0.0033615168649703264, 0.0319114588201046, 0.048265498131513596, -0.026008477434515953, -0.05852562189102173, 0.00010359930456615984, 0.026787329465150833, 0.04869741201400757, -0.011209877207875252, -0.1050662100315094, -0.00727813458070159, -0.04878201708197594, 0.0596388578414917, -0.01587432064116001, -0.039690230041742325, 0.011548629030585289, 0.054619040340185165, -0.011897255666553974, 0.006912830751389265, -0.00672096386551857, 0.0030922458972781897, -0.03402796387672424, -0.02197568491101265, 0.0004892245633527637, -0.04188120365142822, -0.02430526353418827, -0.04859539493918419, 0.006053463090211153, -0.044439882040023804, -0.06127012521028519, 0.004552849568426609, 0.07503297924995422, 0.018442125990986824, -0.0062828464433550835, 0.01884346827864647, 0.0008547776378691196, -0.1023234948515892, -0.014072197489440441, -0.018485454842448235, -0.031235987320542336, -0.017183970659971237, -0.016981780529022217, 0.04043670743703842, -0.03015075996518135, -0.04709649831056595, 0.029030906036496162, 0.009036803618073463, 0.014153385534882545, -0.011059470474720001, 0.017611058428883553, 0.004380944184958935, -0.01690841093659401, 0.036725714802742004, 0.06452567130327225, -0.023265689611434937, -0.059271592646837234, -0.029488123953342438, 0.01896675117313862, 0.0102115822955966, 0.03523422032594681, -0.010613199323415756, 0.01486470177769661, 0.03361010551452637, -0.001679113251157105, -0.04629332199692726, 0.02615460567176342, -0.014527198858559132, -0.028889410197734833, -0.005654098931699991, -0.05568167567253113, 0.020190035924315453, 0.04286517575383186, 0.05111579969525337, -0.01308419555425644, -0.04549771547317505, 0.0053300573490560055, -0.07052086293697357, -0.045085128396749496, -0.002632903167977929, 0.008890582248568535, 0.03246946632862091, 0.010641963221132755, -0.010830121114850044, -0.04684681072831154, 0.01885969191789627, 0.015330989845097065, -0.017486002296209335, -0.06485287845134735, -0.022885920479893684, -0.00803784467279911, 0.0074082426726818085, 0.009308535605669022, 0.03002377785742283, -0.022389676421880722, 0.02845851518213749, -0.002524101175367832, -0.0682244524359703, -0.00514940544962883, -0.0031429193913936615, -0.0366777703166008, -0.02635415457189083, -0.011085281148552895, -0.02538232132792473, 0.0076824091374874115, 0.005886675324290991, 0.023393329232931137, 0.007631649263203144, 0.04788826406002045, 0.022036045789718628, 0.05516223981976509, 0.007558200508356094, 0.009775734506547451, -0.0048150960355997086, -0.002195557579398155, -0.07728279381990433, 0.006623557303100824, -0.035275913774967194, -0.05963120236992836, -0.04097972437739372, 0.030513474717736244, -0.024176709353923798, -0.03111802600324154, -0.020814256742596626, 0.01021216157823801, -0.06287792325019836, -0.053790636360645294, -0.03965074568986893, 0.03237573802471161, 0.07857370376586914, -0.017576945945620537, 0.029608776792883873, -0.03785478323698044, 0.01266766618937254, 0.004679747857153416, 0.01479481440037489, -0.05568225681781769, 0.006284982431679964, 0.03347344696521759, 0.0022904672659933567, -0.002003310015425086, -0.01774628646671772, 0.04556030035018921, 0.02440887875854969, 0.009277865290641785, -0.010259764268994331, 0.020115075632929802, 0.018487362191081047, 0.036957111209630966, -0.0030758148059248924, -0.040293797850608826, 0.0189888384193182, -0.011541686952114105, -0.03505399823188782, -0.04277525097131729, -0.010699570178985596, -0.004977625794708729, 0.008555754087865353, -0.026715368032455444, -0.07401350140571594, 0.04436114802956581, -0.0031781159341335297, 0.011230689473450184, -0.00034051178954541683, 0.008788864128291607, -0.004907324444502592, -0.025659197941422462, 0.009542481042444706, 0.07740029692649841, -0.05428943410515785, 0.0060375467874109745, 0.007129543926566839, 0.016210457310080528, 0.026519587263464928, -0.01318314764648676, -0.04911147058010101, 0.0027791422326117754, -0.012335320003330708, 0.011429541744291782, -0.05038436874747276, -0.027873102575540543, 0.009496508166193962, -0.008615677244961262, -0.04069105163216591, -0.011627225205302238, -0.018338926136493683, 0.02458813227713108, -0.019215557724237442, -0.04292760044336319, 0.001814600545912981, -0.005825669039040804, -0.005358914379030466, 0.018754996359348297, -0.019272642210125923, -0.009951991960406303, -0.02983112260699272, 0.01595328003168106, 0.018604882061481476, -0.025100288912653923, -0.03409334272146225, -0.026490354910492897, 0.010386020876467228, 0.005353675223886967, 0.045643534511327744, -0.009332195855677128, -0.03040965646505356, -0.037359319627285004, -0.01901610940694809, -0.02992354705929756, 0.007985972799360752, -0.034198660403490067, -0.012348421849310398, -0.004308842122554779, 0.04204815998673439, -0.02269173413515091, 0.02019529603421688, -0.008728032000362873, 0.0032880152575671673, 0.04317476972937584, -0.04794541373848915, -0.024082889780402184, -0.02071138471364975, -0.05334728956222534, 0.011451506055891514, 0.008975920267403126, 0.02590457908809185, -0.025629697367548943, 0.0350823849439621, 0.04522965848445892, 0.03215703368186951, 0.009234861470758915, -0.008476128801703453, 0.04422566667199135, -0.06640084087848663, 0.008858589455485344, -0.0839124396443367, 0.022176755592226982, 0.024760132655501366, 0.006424160674214363, 0.009755252860486507, -0.0065670558251440525, -0.038442447781562805, 0.059975765645504, -0.05096537992358208, -0.026364212855696678, 0.04421618580818176, 0.027124738320708275, 0.012694964185357094, 0.01916915737092495, -0.061776112765073776, 0.05521436780691147, 0.029258063063025475, -0.028427064418792725, -0.01703137345612049, -0.018660176545381546, 0.03739352524280548, 0.02271227352321148, 0.02952693961560726, -0.04790268465876579, -0.01796312816441059, 0.07606460899114609, 0.020892823114991188, 0.017001396045088768, 0.047409120947122574, -0.007823475636541843, 0.03451372683048248, 0.025980081409215927, 0.01534145325422287, -0.010166211985051632, 0.022891705855727196, -0.013715729117393494, -0.05536939203739166, 0.0393354706466198, 0.011450069025158882, -0.02244376577436924, -0.04813620448112488, 0.07110092043876648, 0.03517896309494972, -0.02864202670753002, -0.041107118129730225, 0.025829913094639778, -0.04026214778423309, -0.00277332472614944, -0.027270928025245667, -0.02140890806913376, -0.03399242088198662, 0.06047792732715607, -0.020603151991963387, 0.011680238880217075, 0.0924888327717781, 0.018843771889805794, -0.02556571178138256, -0.016368525102734566, 0.10745088011026382, 0.07760848850011826, 0.059064578264951706, 0.01679595187306404, 0.052299614995718, -0.020537633448839188, -0.05034598708152771, 0.0004868298419751227, -0.012910977937281132, -0.027054475620388985, -0.018860984593629837, 0.03431684896349907, 0.057344552129507065, 0.0004457359027583152, 0.07029952108860016, -0.019000476226210594, 0.01504978071898222, 0.01585082896053791, 0.04765772819519043, 0.0360487625002861, 0.060826901346445084, 0.02234099619090557, 0.011987901292741299, 0.0033107507042586803, -0.020365873351693153, 0.012255171313881874, -0.016670169308781624, -0.0266273096203804, 0.02878403663635254, 0.0019417385337874293, 0.009019264951348305, 0.01361352950334549, 0.041098058223724365, 0.0806422159075737, -0.029061216861009598, -0.0009602522477507591, 0.0018082000315189362, 0.025517534464597702, -0.026057763025164604, 0.0025939582847058773, -0.03215121477842331, -0.03234022483229637, -0.01767432689666748, -0.012057894840836525, -0.02535337209701538, -0.009758648462593555, -0.01943388395011425, 0.033773284405469894, -0.0132975522428751, 0.026875264942646027, 0.04174305126070976, 0.02332131750881672, -0.0387079231441021, -0.03986937925219536, -0.046312954276800156, -0.039994943886995316, -0.06894448399543762, -0.0018481718143448234, 0.013141559436917305, 0.005836115218698978, -0.025442739948630333, -0.026603806763887405, -0.02535138837993145, -0.035659100860357285, 0.0495603010058403, -0.04202054440975189, -0.032862644642591476, 0.01632329821586609, 0.0021567214280366898, 0.035367585718631744, 0.026253845542669296, 0.03450513631105423, -0.003730234457179904, -0.01827266253530979, -0.023388447239995003, -0.002768293721601367, 0.026722176000475883, 0.025037307292222977, -0.0038022056687623262, -0.07761848717927933, 0.024736717343330383, 0.02498985268175602, -0.03923623263835907, -0.058778926730155945, 0.0038970978930592537, 0.026551909744739532, -0.010745846666395664, 0.06382706761360168, -0.030390771105885506, 0.016600528731942177, -0.040006574243307114, -0.01227002963423729, -0.015369103290140629, 0.017650216817855835, 0.029968924820423126, -0.02770877256989479, 0.09157415479421616, 0.044721972197294235, -0.02910497970879078, -0.016884900629520416, -0.008421964943408966, 0.011540298350155354, -0.003727766452357173, -0.015498480759561062, -0.006891600787639618, -0.06443899124860764, -0.07282479107379913, -0.0048405383713543415, 0.010494744405150414, -0.03581956773996353, -0.03061509318649769, 0.011693098582327366, 0.037877243012189865, -0.04901478439569473, 0.029751842841506004, -0.05039206147193909, 0.04178402200341225, -0.05163995549082756, -0.012061013840138912, -0.0025175735354423523, 0.023196490481495857, -0.0015863259322941303, -0.021033352240920067, 0.021279586479067802, -0.03461778163909912, -0.0072778258472681046, -0.03528629243373871, 0.045420754700899124, -0.004420895595103502, -0.014523427002131939, 0.004195463377982378 ]
[ -0.10287414491176605, -0.01947224885225296, -0.026813561096787453, -0.048844702541828156, 0.029802020639181137, -0.0376732312142849, -0.013897206634283066, 0.0030867764726281166, -0.020132681354880333, -0.030083375051617622, -0.013729910366237164, -0.013612399809062481, -0.018236670643091202, -0.014297365210950375, 0.09314075857400894, 0.007624983321875334, -0.0021128703374415636, -0.0380033403635025, 0.02420232631266117, 0.027376674115657806, 0.03728662431240082, -0.027993302792310715, -0.04710689187049866, -0.017774950712919235, -0.01167494896799326, 0.03821704536676407, 0.03907542675733566, -0.020604101940989494, 0.009101550094783306, -0.19274161756038666, 0.026873523369431496, 0.004297984763979912, 0.03750615194439888, -0.01058366522192955, -0.009720987640321255, 0.04383515939116478, 0.017030546441674232, 0.019621554762125015, -0.014390976168215275, 0.05207828804850578, 0.005465117283165455, 0.032516997307538986, -0.05645148828625679, -0.0176358874887228, -0.0054094623774290085, 0.0220961831510067, -0.0055283838883042336, -0.030191387981176376, -0.04478410631418228, 0.010653955861926079, -0.021522589027881622, -0.003929386846721172, -0.012404298409819603, -0.028341738507151604, 0.013875160366296768, 0.04709944874048233, 0.014260347932577133, 0.06837679445743561, -0.005995139945298433, 0.012455910444259644, 0.021996712312102318, -0.003838821081444621, -0.13842280209064484, 0.06983311474323273, 0.06165292486548424, 0.053280059248209, -0.039133790880441666, -0.033915795385837555, -0.02830156870186329, 0.09169819205999374, 0.001053376472555101, 0.008567498996853828, -0.03943174332380295, 0.02804361656308174, 0.01825312338769436, 0.0009152602287940681, -0.020224958658218384, 0.035794757306575775, 0.04521645978093147, -0.05792661011219025, -0.028314048424363136, 0.0031962315551936626, -0.03053116239607334, -0.005518029909580946, -0.05390097200870514, 0.012890009209513664, -0.03782401606440544, 0.06012021377682686, 0.020244549959897995, 0.0362965427339077, 0.025578835979104042, -0.011380420066416264, 0.04102921113371849, -0.0030181179754436016, -0.04974175617098808, 0.013772938400506973, -0.0061582704074680805, 0.0022621192038059235, -0.0783718153834343, 0.460858553647995, -0.02313021570444107, -0.04323001950979233, 0.09003535658121109, 0.021190963685512543, -0.03977769985795021, 0.022329973056912422, -0.023210356011986732, -0.02907509170472622, 0.03503775969147682, -0.04717898741364479, 0.014454563148319721, 0.0035794279538094997, 0.06385540217161179, -0.04908421263098717, 0.02548474818468094, 0.0058341436088085175, -0.007735587656497955, 0.033030781894922256, 0.026143670082092285, 0.020376361906528473, -0.01234991755336523, 0.02193967066705227, 0.022233663126826286, 0.016906216740608215, -0.00148805882781744, -0.018839078024029732, -0.0008644498884677887, 0.04812054708600044, 0.014368015341460705, 0.016312250867486, 0.02813422679901123, -0.05083167925477028, -0.06799443066120148, 0.0072656660340726376, 0.009419593960046768, 0.021602924913167953, 0.03422851487994194, -0.0029556266963481903, 0.021161049604415894, 0.04718204215168953, -0.013729099184274673, 0.03347193822264671, 0.025673402473330498, -0.03202468529343605, -0.030705319717526436, 0.08881457149982452, -0.004192273132503033, -0.038653675466775894, -0.017553290352225304, -0.023600423708558083, -0.007656234782189131, 0.0017378713237121701, -0.02199488691985607, -0.06725487112998962, 0.00938334409147501, -0.003258519107475877, 0.056487731635570526, -0.03220245987176895, -0.06219666451215744, 0.0021889256313443184, -0.023696420714259148, -0.004283478483557701, -0.039853498339653015, 0.03822889178991318, 0.03597122058272362, -0.11259759962558746, -0.017728641629219055, -0.01700572855770588, 0.026950202882289886, -0.04161441698670387, -0.03473309427499771, 0.04542412608861923, -0.008071502670645714, -0.012708403170108795, 0.06422273814678192, -0.04065917059779167, -0.0385165773332119, 0.007959035225212574, 0.021239614114165306, 0.004938096739351749, 0.035321369767189026, 0.023249633610248566, -0.038008593022823334, -0.0252895038574934, -0.04685252904891968, -0.09140954166650772, -0.03465864062309265, -0.011136527173221111, -0.0419100746512413, -0.017982279881834984, -0.0470026470720768, -0.020129207521677017, -0.09224393963813782, 0.05606994405388832, -0.009658814407885075, -0.02658533863723278, 0.02755434811115265, -0.0009550179238431156, -0.01734102889895439, -0.01861659809947014, -0.061122409999370575, 0.0549328476190567, -0.03616714850068092, 0.0319967120885849, -0.06552434712648392, 0.04317470267415047, 0.023912329226732254, -0.055993642657995224, 0.06880591064691544, 0.022303782403469086, -0.026803210377693176, 0.0035822668578475714, 0.019739365205168724, 0.03355412930250168, -0.002523376839235425, 0.009467639960348606, -0.026265349239110947, 0.017374636605381966, 0.027109146118164062, 0.02490118518471718, 0.010647113434970379, 0.005812318995594978, -0.00025480042677372694, -0.34011411666870117, -0.022900637239217758, -0.03484687581658363, -0.007841183803975582, 0.010881828144192696, -0.06341356039047241, 0.007698689587414265, -0.02255636267364025, -0.04431191459298134, -0.008797409944236279, 0.07821689546108246, -0.02766650728881359, -0.012906602583825588, -0.04041750356554985, -0.011330013163387775, 0.019459255039691925, -0.04453391581773758, -0.047662656754255295, -0.07532648742198944, 0.008221509866416454, 0.003986206836998463, -0.012846673838794231, 0.021000808104872704, -0.08204564452171326, -0.0012139021418988705, -0.043159082531929016, 0.09251590818166733, -0.02179238758981228, 0.0915905088186264, -0.033546023070812225, 0.06339690089225769, -0.010706059634685516, 0.007453329861164093, -0.08282601833343506, 0.010558441281318665, -0.013285527937114239, -0.011461939662694931, 0.00870516151189804, 0.05424147844314575, -0.018633827567100525, -0.04181474819779396, 0.01666710525751114, -0.07485627382993698, -0.048858270049095154, -0.0279148668050766, 0.01957787573337555, -0.03149116784334183, 0.0014373190933838487, -0.017589690163731575, 0.05902959406375885, 0.025294549763202667, 0.008200155571103096, 0.007046947721391916, 0.006679043173789978, 0.01864921674132347, -0.05552519112825394, -0.0963180810213089, 0.014938954263925552, 0.018116099759936333, 0.03493715077638626, 0.013809239491820335, 0.07995568215847015, 0.038595110177993774, -0.06558994948863983, 0.0008937105885706842, 0.007190123200416565, 0.0036909293849021196, -0.0017359241610392928, 0.027275828644633293, -0.03447175770998001, -0.003393782302737236, 0.12270201742649078, 0.009296329692006111, -0.001205085078254342, 0.04529041796922684, 0.013982742093503475, 0.0017223487375304103, 0.04053457826375961, 0.035563476383686066, -0.010171418078243732, 0.009450994431972504, -0.01980246603488922, 0.027712514623999596, -0.020532432943582535, 0.01009652391076088, 0.05169137567281723, -0.022101137787103653, -0.0467594675719738, 0.03556852787733078, 0.01968647539615631, -0.03714580088853836, -0.03263309225440025, -0.0061814747750759125, -0.04245319217443466, 0.10168273746967316, -0.02667434699833393, -0.23641063272953033, 0.031166506931185722, 0.08933599293231964, 0.05881313979625702, -0.0007674820953980088, 0.04381305351853371, 0.04835494980216026, -0.029743561521172523, 0.02320004440844059, 0.006023717578500509, 0.016727730631828308, 0.027590114623308182, 0.026582365855574608, -0.004217327572405338, 0.06862704455852509, -0.027728179469704628, 0.04417503997683525, -0.0339125357568264, 0.005401820410043001, -0.021545736119151115, 0.02747202292084694, 0.0035803711507469416, 0.1478254348039627, -0.022726837545633316, 0.024136744439601898, 0.03460712358355522, 0.008985497988760471, 0.03533691540360451, 0.057936493307352066, 0.022710513323545456, 0.004876074846833944, -0.003203446976840496, 0.0333196222782135, -0.00244626821950078, 0.038232866674661636, -0.06493746489286423, -0.004458877723664045, 0.0033212066628038883, 0.04233365133404732, -0.004701048601418734, 0.008473053574562073, 0.0098899956792593, -0.017516065388917923, 0.020921919494867325, 0.06504186987876892, -0.03396696597337723, -0.0077487812377512455, -0.0036365361884236336, -0.04325532913208008, -0.03292713686823845, -0.03636358678340912, -0.0647382065653801, -0.002851947210729122, 0.02887042984366417, 0.019145164638757706, 0.0769876092672348, 0.03736361861228943, -0.03363665193319321, 0.000794975261669606, 0.015435178764164448, 0.0027158036828041077, -0.00748782604932785, 0.13333410024642944, 0.014965920709073544, 0.033033378422260284 ]
[ -0.023153692483901978, 0.012639150023460388, -0.030299127101898193, 0.013575435616075993, -0.012229513376951218, -0.02054556831717491, 0.0038747512735426426, 0.040481701493263245, -0.02249799482524395, 0.006172390189021826, -0.01633901335299015, 0.04818451404571533, 0.04226468876004219, -0.0022432245314121246, 0.03044070675969124, 0.011243346147239208, 0.0008269764366559684, -0.01766960322856903, 0.01518735196441412, 0.0012785495491698384, -0.010266647674143314, 0.02992398850619793, -0.008915666490793228, -0.029083069413900375, -0.028169475495815277, 0.022292258217930794, -0.022064287215471268, 0.006567183881998062, 0.021548833698034286, -0.12538355588912964, -0.029446126893162727, -0.019200250506401062, -0.006674247793853283, -0.0025148731656372547, 0.012305633164942265, 0.0034421924501657486, -0.004324143752455711, 0.006143524311482906, -0.005305109079927206, -0.011447649449110031, 0.021781908348202705, 0.02583196945488453, -0.014789953827857971, 0.03438989445567131, -0.03953764960169792, 0.010460647754371166, 0.014973640441894531, -0.025084517896175385, -0.022053727880120277, -0.027999872341752052, -0.026031024754047394, -0.012132938951253891, -0.0007155000930652022, -0.0061430130153894424, 0.018117690458893776, -0.03828265517950058, 0.009583688341081142, 0.0017440812662243843, 0.013408150523900986, -0.009292982518672943, 0.0022297834511846304, -0.006191250868141651, -0.04826255887746811, -0.03180235996842384, 0.007914318703114986, -0.01363698486238718, 0.0038498458452522755, 0.016335727646946907, -0.03579435870051384, -0.008467381820082664, -0.008584571070969105, 0.03048032335937023, -0.02032557874917984, -0.046493638306856155, 0.01279438752681017, -0.0030424490105360746, -0.000026646583137335256, -0.016588209196925163, 0.0015181091148406267, -0.0008490117033943534, -0.023814840242266655, 0.021078234538435936, 0.00786589365452528, 0.007375866174697876, -0.0015312636969611049, 0.011185361072421074, -0.006233404856175184, 0.013090195134282112, 0.03916803002357483, 0.02663181722164154, -0.021026985719799995, 0.007265024818480015, -0.012704265303909779, 0.010731690563261509, -0.07963253557682037, -0.010900922119617462, 0.002865907270461321, -0.027456000447273254, -0.031043317168951035, 0.8748689293861389, -0.0009367800666950643, -0.0013231438351795077, 0.05468123033642769, -0.0025676677469164133, 0.013021770864725113, 0.0059509421698749065, -0.024669192731380463, 0.022902971133589745, 0.002216238994151354, -0.03412751480937004, 0.008943031542003155, 0.020720571279525757, 0.03804821893572807, 0.0028669845778495073, 0.03084975853562355, 0.005274665541946888, 0.025104179978370667, 0.0024173471610993147, -0.014726601541042328, -0.0015472574159502983, 0.023972462862730026, 0.030209079384803772, 0.006721484940499067, -0.004234293010085821, 0.009386640042066574, -0.16164498031139374, -0.016172757372260094, -9.099477525144342e-33, 0.008517591282725334, -0.007144484203308821, -0.008291462436318398, 0.00647217920050025, -0.005566088482737541, 0.01214105635881424, 0.030556855723261833, 0.01559043675661087, 0.005556866992264986, -0.008011958561837673, -0.0028991287108510733, -0.019462330266833305, -0.009868708439171314, -0.012040713801980019, 0.010717902332544327, 0.00022764755703974515, -0.007910242304205894, 0.047120146453380585, -0.015133023262023926, 0.030394023284316063, 0.03591823950409889, 0.0069021862000226974, -0.01893441379070282, 0.0072639258578419685, 0.00495580118149519, 0.017124779522418976, 0.03279467299580574, 0.001190781476907432, 0.005928641650825739, -0.052299439907073975, 0.02009418234229088, 0.03522656485438347, -0.023991703987121582, -0.015529469586908817, 0.022731848061084747, -0.03141608089208603, -0.02400597743690014, 0.006370494607836008, -0.009214408695697784, -0.051863688975572586, -0.031004054471850395, -0.006551399361342192, -0.05500127375125885, 0.016839204356074333, -0.019262082874774933, 0.01057491172105074, 0.03139268234372139, 0.002151923021301627, 0.010718991048634052, -0.03129665181040764, -0.014089812524616718, 0.02099020779132843, 0.008661888539791107, 0.02657301351428032, -0.010731140151619911, 0.004517710767686367, -0.013463377952575684, -0.006622896529734135, 0.020812293514609337, 0.01125181745737791, 0.00500789750367403, 0.0035989112220704556, -0.019910689443349838, 0.016963588073849678, -0.021306229755282402, -0.032619018107652664, 0.03610498830676079, 0.00802968256175518, 0.02610771358013153, 0.017590556293725967, -0.04634283483028412, -0.010812747292220592, -0.01167838554829359, 0.0009309728629887104, -0.007839923724532127, -0.03631487861275673, 0.0264945887029171, 0.02372243069112301, -0.025702986866235733, 0.028911767527461052, 0.013021454215049744, 0.016478968784213066, -0.009416901506483555, -0.009708710946142673, -0.022337181493639946, 0.0027974953409284353, 0.020158637315034866, -0.01907707378268242, -0.03967762365937233, -0.007363785523921251, 0.03268607333302498, 0.0010418844176456332, 0.009837329387664795, -0.02204827219247818, -0.03714635968208313, 8.992276113769196e-33, 0.0025165174156427383, -0.0520317405462265, -0.010333439335227013, -0.0009425367461517453, 0.03229033201932907, -0.024306610226631165, 0.007697149645537138, -0.010944913141429424, -0.051672015339136124, 0.02188635990023613, -0.020864766091108322, 0.0020748840179294348, -0.010957987979054451, 0.016462208703160286, 0.04747221618890762, -0.012559580616652966, -0.0021490342915058136, -0.03554658219218254, 0.06033046916127205, -0.013285954482853413, 0.004853979684412479, 0.013871760107576847, 0.020178483799099922, 0.0022292269859462976, 0.010874574072659016, 0.0334172323346138, -0.03046765737235546, 0.01971397176384926, 0.020340420305728912, -0.009409405291080475, 0.00041631885687820613, -0.0024391256738454103, 0.02695195935666561, -0.022338077425956726, -0.0651928186416626, 0.00810503214597702, -0.002800727728754282, -0.005443453323096037, 0.019821979105472565, -0.00064985261997208, 0.03255762904882431, -0.007468617521226406, -0.00877322442829609, 0.03117128647863865, -0.00786101259291172, 0.027035929262638092, -0.0050581092946231365, -0.03515326604247093, 0.020359477028250694, 0.011843646876513958, -0.011262999847531319, 0.020383106544613838, 0.014391541481018066, -0.01303941197693348, 0.017313173040747643, -0.02360096015036106, -0.025232557207345963, 0.0011641597375273705, -0.013031561858952045, 0.01749926060438156, 0.00836467556655407, -0.0034070624969899654, 0.0004710162174887955, -0.01956629939377308, -0.04835483431816101, 0.0010510701686143875, 0.014546096324920654, -0.018954463303089142, 0.0033769651781767607, -0.01787986233830452, -0.036471396684646606, 0.01775895245373249, 0.01355655211955309, 0.022358736023306847, 0.018323734402656555, -0.011779354885220528, -0.02843300998210907, -0.007736864499747753, -0.02324141375720501, -0.011620302684605122, 0.0029048568103462458, 0.018031945452094078, 0.00788971595466137, 0.014642409048974514, 0.02105431631207466, 0.02576909400522709, -0.02436346746981144, 0.03380735591053963, -0.013911772519350052, -0.009217425249516964, -0.0139849241822958, -0.009675048291683197, 0.010460848920047283, 0.02608778141438961, -0.024582747370004654, -1.4480383114801043e-8, -0.00034253118792548776, 0.0032770740799605846, 0.005955944769084454, -0.018803970888257027, 0.010950186289846897, 0.020542453974485397, 0.00746647734194994, 0.035749245434999466, -0.026858516037464142, 0.012665752321481705, 0.061577655375003815, -0.023032285273075104, -0.01766635663807392, 0.03139008581638336, 0.013164954259991646, -0.03297906368970871, -0.03371449187397957, -0.0016191398026421666, 0.024632515385746956, 0.012613216415047646, 0.007467477582395077, 0.05924753099679947, -0.023072708398103714, 0.020568620413541794, 0.02947111427783966, 0.009258843958377838, -0.011893111281096935, -0.09260842949151993, 0.0023370939306914806, 0.008190613240003586, 0.016970017924904823, -0.02985488623380661, -0.004171503707766533, 0.012396714650094509, -0.036768168210983276, -0.03617743402719498, 0.006395316682755947, 0.019504431635141373, 0.009470732882618904, -0.006209786515682936, -0.008714607916772366, 0.026586633175611496, -0.008537543937563896, -0.02190602943301201, -0.024474065750837326, -0.015652233734726906, -0.010405054315924644, 0.0015514270635321736, 0.016800804063677788, -0.03155568242073059, 0.0006136033334769309, 0.02900424413383007, 0.017133258283138275, 0.024893341585993767, 0.0463753417134285, 0.01858070306479931, 0.005017045885324478, -0.016980178654193878, -0.02424897812306881, 0.013080828823149204, 0.010369489900767803, 0.013105628080666065, -0.02413354068994522, -0.01783905364573002 ]
products-infinite-configurability
https://markhneedham.com/blog/2013/08/22/products-infinite-configurability
false
2013-08-22 22:56:23
Unix: tar - Extracting, creating and viewing archives
[ "unix", "tar" ]
[ "Shell Scripting" ]
I've been playing around with the Unix http://www.computerhope.com/unix/utar.htm[tar] command a bit this week and realised that I'd memorised some of the flag combinations but didn't actually know what each of them meant. For example, one of the most common things that I want to do is extract a gripped neo4j archive: [source,bash] ---- $ wget http://dist.neo4j.org/neo4j-community-1.9.2-unix.tar.gz $ tar -xvf neo4j-community-1.9.2-unix.tar.gz ---- where: * -x means extract * -v means produce verbose output i.e. print out the names of all the files as you unpack it * -f means unpack the file which follows this flag i.e. neo4j-community-1.9.2-unix.tar.gz in this example I didn't realise that by default tar runs against standard input so we could actually achieve the above in one go with the following combination:</li> ~~~bash $ wget http://dist.neo4j.org/neo4j-community-1.9.2-unix.tar.gz -o - | tar -xv ~~~ The other thing I wanted to do was create a gripped archive from the contents of a folder, something which I do much less frequently and am therefore much more rusty at! The following does the trick: ~~~bash $ tar -cvzpf neo4j-football.tar.gz neo4j-football/ $ ls -alh neo4j-football.tar.gz -rw-r--r-- 1 markhneedham staff 526M 22 Aug 23:38 neo4j-football.tar.gz ~~~ where: * -c means create a new archive * -z means gzip that archive * -p means preserve file permissions Sometimes we'll want to exclude some things from our archive which is where the '--exclude' flag comes in handy. For example I want to exclude the data, git and neo4j folders which sit inside 'neo4j-football' which I can do with the following: ~~~bash $ tar --exclude "data*" --exclude "neo4j-community*" --exclude ".git" -cvzpf neo4j-football.tar.gz neo4j-football/ $ ls -alh neo4j-football.tar.gz -rw-r--r-- 1 markhneedham staff 138M 22 Aug 23:36 neo4j-football.tar.gz ~~~ If we want to quickly check that our file has been created correctly we can run the following: ~~~bash $ tar -tvf neo4j-football.tar.gz ~~~ where: * -t means list the contents of the archive to standard out And that pretty much covers my main use cases for the moment!
null
null
[ -0.013585317879915237, -0.011603388004004955, -0.017042024061083794, 0.03825882077217102, 0.0859808400273323, 0.002460720483213663, 0.0009359385003335774, 0.019248345866799355, 0.017423011362552643, -0.020877905189990997, -0.03498631343245506, 0.006677214056253433, -0.07743685692548752, 0.02588479407131672, 0.003175287740305066, 0.04847217723727226, 0.04721355810761452, -0.0031695421785116196, 0.009048166684806347, -0.010552958585321903, 0.009618466719985008, 0.04272438585758209, -0.03906122222542763, 0.02588874287903309, 0.020673658698797226, 0.017141200602054596, 0.019960936158895493, -0.003981464076787233, -0.05660516396164894, 0.02008606307208538, 0.048667002469301224, -0.013829224742949009, 0.01922970823943615, -0.026797866448760033, 0.017528532072901726, -0.024265052750706673, -0.053356386721134186, 0.0036163032054901123, 0.014239480718970299, -0.0013319378485903144, -0.04284330829977989, 0.04287658631801605, 0.008589341305196285, 0.017617370933294296, -0.052677351981401443, 0.034325361251831055, -0.041984476149082184, 0.013348771259188652, -0.004264851566404104, 0.014600924216210842, -0.042470782995224, 0.024170752614736557, -0.013560066930949688, -0.021672727540135384, 0.014764231629669666, 0.03011430613696575, 0.012770077213644981, -0.06862978637218475, 0.021082429215312004, -0.03133503720164299, 0.0005921839037910104, -0.016827883198857307, 0.0042859772220253944, 0.03958740085363388, 0.01203816570341587, -0.07324213534593582, 0.0009318251977674663, 0.045113977044820786, -0.04886184632778168, -0.014069681987166405, 0.006765788421034813, 0.026913970708847046, -0.043358542025089264, -0.0228616651147604, 0.026652099564671516, -0.04620612412691116, 0.024481045082211494, 0.057864271104335785, 0.01529713999480009, 0.07611015439033508, -0.03550121933221817, 0.03158748522400856, 0.025960931554436684, 0.01922205463051796, 0.023585602641105652, -0.04098689183592796, -0.019563714042305946, -0.005765525624155998, -0.0448722280561924, 0.05771925672888756, 0.01867804117500782, -0.06900940835475922, 0.00862082652747631, -0.014198319055140018, -0.028900351375341415, 0.019995514303445816, 0.002570878015831113, -0.01728801056742668, 0.024315310642123222, -0.003005309496074915, -0.047508999705314636, -0.00043276287033222616, 0.0026314344722777605, 0.015668831765651703, -0.08634669333696365, -0.003886774880811572, -0.023256322368979454, -0.03199193999171257, 0.014509573578834534, -0.02576041780412197, 0.007873086258769035, 0.005529268179088831, 0.012452644295990467, 0.004154709167778492, -0.091057188808918, 0.07470566779375076, 0.01097866240888834, -0.055699314922094345, 0.006264244206249714, 0.013718022033572197, 0.04717441648244858, 0.02946830354630947, -0.02043948508799076, 0.07035785913467407, 0.023298079147934914, 0.0073899999260902405, 0.03282259404659271, 0.05350180342793465, -0.0411195307970047, -0.06870157271623611, -0.03948856145143509, 0.07394307106733322, -0.012414817698299885, 0.007151268422603607, -0.017427053302526474, -0.0210631862282753, -0.02935182675719261, -0.013724682852625847, 0.05727642402052879, 0.022417262196540833, -0.014367133378982544, -0.014072902500629425, -0.018491091206669807, -0.013459743931889534, 0.026844095438718796, 0.003316030604764819, -0.021858174353837967, -0.026785200461745262, -0.03605970740318298, 0.01178277563303709, 0.02345498651266098, 0.0026041825767606497, 0.08268462121486664, -0.021231718361377716, -0.018731355667114258, 0.07799117267131805, 0.051149632781744, 0.02590388059616089, -0.032862454652786255, 0.01088965404778719, 0.03579932451248169, 0.033951565623283386, 0.03387501463294029, 0.07333893328905106, -0.017176352441310883, -0.02896537445485592, -0.020675376057624817, 0.04139835387468338, 0.0013214407954365015, 0.04363733157515526, -0.021612484008073807, -0.06517740339040756, 0.07424414157867432, -0.022541239857673645, 0.02266790345311165, 0.034116849303245544, 0.08936340361833572, 0.042704276740550995, 0.035709481686353683, -0.013631933368742466, -0.08646991103887558, 0.05599002167582512, 0.003199160797521472, 0.04782804474234581, -0.010756325908005238, -0.009616861119866371, 0.07134374231100082, 0.019772334024310112, 0.02887001447379589, 0.018874207511544228, -0.09185130149126053, -0.0872611477971077, -0.024988234043121338, -0.006331784650683403, 0.05690697580575943, -0.025392891839146614, 0.0035475492477416992, 0.02691999264061451, 0.001933513325639069, 0.03662334010004997, 0.023707961663603783, 0.009257069788873196, 0.04799635335803032, -0.0629633367061615, -0.04646756872534752, 0.05480671674013138, 0.021424146369099617, -0.035429760813713074, -0.037724245339632034, 0.004840609151870012, -0.005713834892958403, 0.03266087919473648, 0.03306586295366287, -0.02114728093147278, 0.06352832913398743, 0.025705933570861816, 0.025831719860434532, -0.02394021488726139, 0.04569968953728676, -0.03289223462343216, -0.01467189658433199, -0.0075511927716434, -0.03381481394171715, 0.009000464342534542, 0.00046979577746242285, 0.10281907021999359, 0.03862512484192848, -0.023385727778077126, -0.020338784903287888, 0.03632887825369835, -0.00045844120904803276, -0.0570552758872509, -0.010844675824046135, 0.008447528816759586, -0.015912426635622978, -0.010771971195936203, -0.031832948327064514, -0.015641983598470688, 0.01663627289235592, -0.02535049244761467, -0.0039784666150808334, 0.051040299236774445, -0.023066183552145958, 0.045590389519929886, 0.016131170094013214, -0.0307451244443655, -0.004938038531690836, -0.02705315314233303, -0.06783817708492279, -0.008647458627820015, 0.01657813973724842, -0.015743190422654152, 0.04420112073421478, -0.040379952639341354, -0.03669673576951027, -0.028796587139368057, -0.023492887616157532, 0.03186871483922005, 0.03590013086795807, 0.04925542324781418, -0.04913348704576492, 0.03861271217465401, -0.03704971820116043, 0.027422679588198662, -0.02202470973134041, -0.03820817172527313, -0.05480848625302315, 0.02763183042407036, 0.01249512005597353, -0.010574323125183582, 0.002524623181670904, 0.012095434591174126, 0.008573153987526894, -0.01694585755467415, 0.015220500528812408, -0.031751833856105804, 0.02198714017868042, 0.02393721416592598, 0.006126068532466888, -0.041422288864851, -0.01563231647014618, 0.042747773230075836, -0.053767744451761246, 0.0035401543136686087, 0.02332809753715992, -0.04146198555827141, 0.07738681137561798, -0.04959741607308388, -0.05232083797454834, -0.028913483023643494, 0.022618994116783142, 0.0221180971711874, -0.013796927407383919, 0.018043264746665955, 0.047610294073820114, 0.017859259620308876, 0.041313108056783676, 0.020947063341736794, 0.012825367040932178, 0.03938331454992294, -0.0077821421436965466, 0.01609485223889351, 0.043914977461099625, -0.022447798401117325, -0.012789269909262657, -0.0467267744243145, 0.01593337580561638, -0.02137092873454094, -0.26712915301322937, 0.043155308812856674, -0.01690557971596718, -0.047180794179439545, 0.025054892525076866, -0.04352754354476929, -0.021776843816041946, -0.0468645915389061, -0.023514440283179283, -0.008508889935910702, -0.04801872745156288, -0.04973047226667404, 0.01984107680618763, 0.04076065868139267, 0.022411124780774117, 0.02238835208117962, 0.014151896350085735, -0.037665918469429016, 0.009445182047784328, 0.04511680454015732, 0.00721201254054904, -0.027662383392453194, 0.031811121851205826, 0.03274017199873924, 0.024178989231586456, 0.03988044708967209, -0.09053079783916473, 0.03583863005042076, -0.05514610558748245, -0.03206978738307953, 0.006221075542271137, -0.023510728031396866, 0.00344473565928638, 0.01650211215019226, -0.009272019378840923, -0.0037793489173054695, 0.024040617048740387, -0.009224466979503632, 0.009457573294639587, 0.02847323752939701, -0.0297437384724617, -0.039543405175209045, 0.00825633853673935, -0.016818437725305557, 0.07367873936891556, -0.0017396826297044754, -0.0768965631723404, -0.05661268159747124, 0.010192686691880226, 0.08400003612041473, -0.06085774302482605, 0.001366201788187027, -0.011393229477107525, 0.019335821270942688, -0.033396944403648376, -0.016822105273604393, -0.021548040211200714, -0.0031876536086201668, -0.034526072442531586, -0.003685795469209552, -0.016816923394799232, -0.05783532187342644, -0.003540922189131379, -0.063140869140625, -0.014833959750831127, -0.04457739368081093, -0.09285269677639008, -0.03241374343633652, 0.044876061379909515, 0.009113138541579247, -0.02877822145819664, 0.018370557576417923, -0.014682561159133911, -0.09092786908149719, -0.02633555606007576, -0.03234243392944336, -0.05682367831468582, -0.006418779958039522, -0.0035579027608036995, 0.07962865382432938, -0.04902130737900734, -0.06050005555152893, 0.023072050884366035, 0.00996538158506155, -0.00015947975043673068, -0.016106493771076202, 0.00800085999071598, -0.0165339857339859, -0.014587352983653545, 0.01798957958817482, 0.05644497647881508, -0.031483523547649384, -0.03960958868265152, -0.009882333688437939, 0.0014061769470572472, 0.019960377365350723, -0.0005066112498752773, -0.008770836517214775, 0.028077252209186554, 0.06945673376321793, 0.031137889251112938, -0.04114726185798645, 0.014068961143493652, -0.028987683355808258, -0.025879323482513428, -0.0027965474873781204, -0.03184046223759651, 0.02716737613081932, 0.04104534536600113, 0.05459359288215637, 0.013425260782241821, -0.022834807634353638, 0.04330620542168617, -0.0546303316950798, -0.024190247058868408, 0.007401547394692898, 0.009002377279102802, 0.015466518700122833, 0.0603313222527504, -0.019286420196294785, -0.030846940353512764, 0.0202717836946249, 0.007864567451179028, -0.027993692085146904, -0.0372614860534668, -0.03820406645536423, -0.01329438854008913, -0.010311579331755638, -0.012370625510811806, 0.016075951978564262, 0.0024634739384055138, 0.01177600771188736, 0.04418139532208443, -0.04582053795456886, 0.04029221832752228, -0.019417280331254005, -0.037670914083719254, -0.034759219735860825, 0.017140662297606468, -0.01198303047567606, -0.05033237487077713, 0.005431048572063446, 0.013110107742249966, 0.041563667356967926, 0.012777116149663925, 0.01628488302230835, 0.03287413716316223, -0.026748355478048325, 0.030702006071805954, -0.005432889796793461, -0.0013841562904417515, -0.04240503907203674, 0.013480540364980698, -0.03861141577363014, -0.02247241884469986, -0.001031084917485714, 0.03197918087244034, -0.019665027037262917, -0.029733596369624138, -0.02080347016453743, 0.036677733063697815, -0.05953053757548332, 0.01562479231506586, -0.0214031171053648, -0.013159846886992455, 0.05498206242918968, -0.007231193594634533, -0.014232550747692585, -0.024361586198210716, 0.008041064254939556, -0.010736565105617046, 0.03814472258090973, -0.014719299040734768, 0.0024466542527079582, 0.012165057472884655, -0.006015007849782705, 0.012912270613014698, 0.06108343228697777, 0.021022841334342957, 0.022766876965761185, -0.0100735854357481, 0.0012960908934473991, 0.015672335401177406, 0.014407082460820675, 0.04118690267205238, 0.015386462211608887, -0.023473743349313736, 0.015439986251294613, -0.025206465274095535, -0.007126904092729092, -0.026156092062592506, 0.020819278433918953, -0.03998588025569916, -0.007980616763234138, -0.03587184101343155, -0.07088572531938553, 0.03677438572049141, 0.03478388488292694, 0.010161152109503746, 0.02168877422809601, 0.014268748462200165, -0.015426751226186752, -0.009390030056238174, 0.018743030726909637, 0.05057838186621666, -0.0459338054060936, -0.029524201527237892, 0.009229199960827827, -0.006313523277640343, 0.00947316363453865, 0.023079276084899902, -0.08639685064554214, -0.035278841853141785, -0.02316316030919552, 0.028423525393009186, -0.03493760526180267, -0.05200089514255524, -0.021809354424476624, 0.0024274189490824938, -0.014811988919973373, 0.04360749572515488, 0.022668011486530304, 0.03264041244983673, 0.01143547985702753, -0.009097552858293056, 0.00827166996896267, -0.012989697977900505, -0.000180580434971489, 0.011099597439169884, 0.005864672362804413, 0.014722529798746109, -0.019462162628769875, 0.04763152077794075, 0.02816157042980194, -0.02390271984040737, 0.011940676718950272, -0.016174860298633575, -0.0017771428683772683, -0.043481554836034775, 0.03965039923787117, 0.0009642961085774004, 0.016952399164438248, -0.03171410411596298, -0.012317568063735962, -0.04489639401435852, -0.0012005537282675505, -0.01648436300456524, -0.02362125553190708, -0.009938983246684074, 0.04801046475768089, 0.012617555446922779, 0.03846936672925949, -0.012392829172313213, -0.06583544611930847, 0.061801303178071976, -0.0521293506026268, -0.05648346617817879, 0.0073782349936664104, -0.03702259808778763, 0.03555750846862793, 0.045298874378204346, 0.02053106389939785, -0.05575230345129967, 0.0520779974758625, 0.04061712697148323, 0.005895644426345825, 0.007499920204281807, 0.008019077591598034, 0.01567927561700344, -0.01910959742963314, -0.02788296900689602, -0.07750987261533737, 0.018168188631534576, 0.053615912795066833, -0.014103702269494534, -0.022321481257677078, -0.0007092218147590756, -0.026107294484972954, 0.0035074965562671423, -0.034758489578962326, -0.03289782255887985, 0.03664731606841087, 0.0030416713561862707, 0.0397014319896698, 0.00043431532685644925, -0.06500561535358429, 0.046188049018383026, 0.04685407504439354, -0.0341012217104435, -0.001012322842143476, -0.04078979417681694, 0.06855878978967667, -0.003998843487352133, 0.04963650181889534, -0.011390945874154568, -0.03725821524858475, 0.08077435940504074, 0.026275893673300743, 0.030147254467010498, 0.04782877117395401, -0.0012333664344623685, 0.029189186170697212, 0.024606352671980858, -0.024316569790244102, 0.007797700818628073, 0.006490312982350588, -0.03290601074695587, -0.04942367598414421, -0.008790120482444763, -0.00026111656916327775, -0.027138490229845047, -0.024942699819803238, 0.06681646406650543, 0.006504872348159552, -0.029589129611849785, -0.04889729991555214, 0.0332246758043766, -0.029895972460508347, 0.004514163825660944, -0.02948935329914093, 0.017447132617235184, -0.0633411556482315, 0.047942135483026505, -0.01563071645796299, 0.024426277726888657, 0.08546242117881775, -0.022700630128383636, -0.023113323375582695, 0.0037926239892840385, 0.07448428869247437, 0.08313332498073578, 0.037237945944070816, 0.006154950708150864, 0.042540378868579865, -0.028102843090891838, -0.03978830575942993, -0.009114032611250877, 0.01907571591436863, 0.0010807766811922193, 0.0012283682590350509, 0.0060200560837984085, 0.05560271069407463, -0.04549434781074524, 0.07010593265295029, 0.01325972843915224, 0.005978237837553024, 0.0008913758210837841, -0.004116005729883909, 0.022466180846095085, 0.03922601044178009, 0.012345605529844761, 0.01391591876745224, -0.010580545291304588, -0.03512197732925415, 0.044955428689718246, -0.012465636245906353, -0.0016111662844195962, 0.02732791379094124, -0.00801389105618, 0.0026653739623725414, 0.010576354339718819, 0.06860502809286118, 0.07638266682624817, -0.012632687576115131, -0.002162822289392352, 0.017924951389431953, 0.05510599911212921, -0.024770356714725494, 0.02490798942744732, -0.014038356021046638, -0.007313501555472612, 0.011684926226735115, -0.04162013530731201, -0.04048749431967735, -0.001341411960311234, -0.03264971822500229, 0.032128509134054184, 0.006422601640224457, -0.016640255227684975, 0.012592648155987263, -0.01586475968360901, -0.0023510344326496124, -0.043547771871089935, -0.057846106588840485, -0.03910990059375763, -0.05512739717960358, -0.01211576722562313, -0.00012243818491697311, 0.006634839810431004, -0.02808483876287937, -0.021746739745140076, -0.05915028229355812, -0.032044168561697006, 0.017152443528175354, -0.05413806810975075, 0.011891327798366547, 0.01643601804971695, 0.021762952208518982, 0.025434531271457672, 0.00013452678103931248, 0.045099738985300064, 0.033328793942928314, 0.0020368550904095173, -0.026161421090364456, 0.012251515872776508, 0.03623839095234871, 0.000923018145840615, -0.022116048261523247, -0.0768885686993599, 0.025951683521270752, 0.04136718809604645, -0.00475799385458231, -0.07548360526561737, 0.028155146166682243, 0.01764894835650921, -0.02876625768840313, 0.07037710398435593, -0.04132675752043724, 0.010066159069538116, -0.021670281887054443, -0.0003767073794733733, -0.028795091435313225, -0.01815662533044815, 0.06266966462135315, -0.028963541612029076, 0.08413100242614746, 0.05341145023703575, -0.010086949914693832, -0.06387808918952942, -0.03797256946563721, 0.008347281254827976, 0.028010765090584755, -0.027778174728155136, -0.005276206880807877, -0.035101842135190964, -0.09791849553585052, -0.0320725217461586, 0.0004323026805650443, -0.032939184457063675, -0.03737034648656845, 0.0046426099725067616, 0.0023287301883101463, -0.04022257775068283, -0.008539603091776371, -0.03275933489203453, 0.002609493210911751, -0.010927676223218441, -0.01769906096160412, -0.035896942019462585, 0.04773133620619774, -0.01683918572962284, 0.024923469871282578, 0.026795851066708565, -0.0370449498295784, -0.004897635895758867, -0.019085567444562912, 0.04256270453333855, 0.07081014662981033, 0.025999071076512337, 0.021917549893260002 ]
[ -0.06408553570508957, 0.013446295633912086, -0.022777218371629715, -0.03867672011256218, 0.0879952609539032, -0.046515677124261856, -0.02497238665819168, -0.0026713733095675707, 0.002425550017505884, -0.04012112319469452, 0.017049407586455345, -0.02170577272772789, -0.007968595251441002, -0.03408871963620186, 0.06392371654510498, -0.0017560948617756367, -0.03520343825221062, -0.018826572224497795, -0.019290534779429436, 0.02181611768901348, -0.007618228904902935, -0.01724502630531788, -0.010132917203009129, -0.04584340378642082, -0.00006863861926831305, 0.043165724724531174, 0.024548493325710297, -0.00977622251957655, -0.003620938863605261, -0.22398756444454193, 0.010858198627829552, 0.008325316943228245, -0.006694482173770666, -0.03212877735495567, 0.03717722371220589, 0.04058607667684555, 0.036810118705034256, 0.012417820282280445, -0.03414756804704666, 0.041492972522974014, 0.021600792184472084, 0.012728201225399971, -0.0654202327132225, -0.013276497833430767, 0.023451808840036392, 0.016638243570923805, -0.0330989845097065, -0.056183360517024994, -0.011706671677529812, 0.027367470785975456, -0.030279191210865974, 0.031259432435035706, 0.00799888838082552, -0.01952206715941429, -0.03387825936079025, 0.026431135833263397, 0.039772339165210724, 0.06379716098308563, -0.013147859834134579, 0.020974434912204742, 0.004617453087121248, -0.005918953567743301, -0.14582155644893646, 0.06835594773292542, 0.03719967231154442, 0.010109753347933292, -0.022158054634928703, -0.0004917107871733606, -0.028227979317307472, 0.09763119369745255, -0.014611507765948772, 0.009984737262129784, -0.06542736291885376, 0.07036730647087097, -0.014635403640568256, -0.005703537724912167, -0.01776263117790222, 0.02362380549311638, -0.00930958241224289, -0.07638467848300934, -0.04983948543667793, 0.01812228001654148, -0.03835620358586311, -0.020200692117214203, -0.06480759382247925, 0.0172495786100626, -0.04542895779013634, 0.07220687717199326, 0.026516038924455643, 0.044077202677726746, 0.04712209105491638, -0.004214711952954531, 0.09184826165437698, 0.006335308775305748, -0.09109465032815933, -0.00895190704613924, 0.017220690846443176, 0.021101249381899834, 0.01173466444015503, 0.43223389983177185, 0.015055205672979355, -0.04041661322116852, 0.04765797033905983, 0.01152376364916563, 0.013628117740154266, -0.003073203144595027, 0.019154734909534454, -0.025858914479613304, 0.028442872688174248, -0.02956530824303627, 0.029431097209453583, -0.024777160957455635, 0.07272966206073761, -0.08259909600019455, 0.04688497260212898, -0.027750959619879723, 0.015103342942893505, 0.014049815945327282, -0.018605975434184074, 0.007528221700340509, -0.016308100894093513, -0.01048158761113882, 0.04123741015791893, 0.015103474259376526, 0.04825638607144356, -0.010378126055002213, 0.0023991116322577, 0.0420885793864727, 0.04413317143917084, 0.023344343528151512, 0.022170675918459892, -0.03358135744929314, -0.01932871900498867, 0.009564177133142948, -0.0056997560895979404, 0.03041721135377884, 0.01861700601875782, -0.03742487356066704, -0.019425930455327034, 0.015569396317005157, -0.014706628397107124, -0.01541516650468111, 0.01641828566789627, 0.013798100873827934, -0.03790341690182686, 0.10389202833175659, -0.012602593749761581, -0.017005573958158493, -0.034925948828458786, -0.018672456964850426, -0.014431840740144253, 0.03828369453549385, 0.017378894612193108, -0.0670827180147171, -0.015363185666501522, 0.00022243378043640405, 0.07845766097307205, -0.01794680766761303, -0.08086684346199036, 0.011494515463709831, -0.004069420043379068, -0.04199376329779625, -0.05247475206851959, 0.0823015570640564, 0.04164893552660942, -0.062292758375406265, -0.021313177421689034, 0.028748631477355957, 0.03541469946503639, -0.04856342077255249, 0.02063540555536747, 0.0013575811171904206, 0.004846631549298763, -0.04244021326303482, 0.043570321053266525, -0.03486989066004753, -0.021351682022213936, 0.018804041668772697, 0.02868582122027874, -0.004707855172455311, 0.007569509092718363, -0.020626980811357498, -0.06082002818584442, 0.019680563360452652, -0.043342769145965576, -0.08043790608644485, -0.10191508382558823, 0.0510731041431427, -0.004106688778847456, -0.007099505513906479, -0.019968615844845772, -0.007149492856115103, -0.04783689230680466, 0.04777660220861435, -0.030953001230955124, -0.022899389266967773, -0.030622506514191628, 0.03528505563735962, -0.015973104164004326, -0.05072988569736481, 0.021544575691223145, 0.03136123716831207, -0.017540860921144485, 0.03212212398648262, -0.06477634608745575, 0.018544191494584084, 0.057094380259513855, -0.04662955179810524, 0.06052270904183388, 0.03893344849348068, -0.02937164157629013, 0.005514420568943024, 0.0035033985041081905, 0.020898809656500816, 0.0049455417320132256, -0.02102377451956272, 0.009175226092338562, -0.021650146692991257, 0.036827392876148224, 0.027449456974864006, -0.012085326947271824, -0.048344630748033524, -0.0447404608130455, -0.35016295313835144, -0.027245668694376945, -0.03518237918615341, 0.018573181703686714, 0.04392644762992859, -0.04046449437737465, 0.04929420351982117, -0.010665036737918854, -0.007976207882165909, 0.006967552937567234, 0.05541325733065605, -0.03075937181711197, -0.00730889244005084, -0.06535409390926361, 0.004831376485526562, 0.04133308678865433, -0.014786540530622005, -0.03746626526117325, -0.008134367875754833, 0.04554063826799393, 0.007700717076659203, -0.045064542442560196, -0.03256051242351532, -0.029036032035946846, -0.009309545159339905, -0.02340850420296192, 0.08640972524881363, 0.027908053249120712, 0.08611634373664856, -0.03836563974618912, 0.03548798710107803, 0.021398423239588737, 0.0015737323556095362, -0.0958360955119133, -0.01461835764348507, 0.01556001603603363, -0.004893811419606209, 0.013433828949928284, 0.020975427702069283, -0.01825878582894802, -0.045696135610342026, -0.024734465405344963, -0.05142959579825401, -0.03644769638776779, -0.003196380101144314, 0.014759199693799019, -0.006766479462385178, -0.02088749408721924, 0.014480367302894592, 0.05174560099840164, 0.014893279410898685, 0.018345823511481285, -0.008657596074044704, 0.015944352373480797, 0.01987357810139656, -0.01682731881737709, -0.06771112233400345, -0.009578164666891098, 0.05755171552300453, 0.0063387127593159676, 0.03488347679376602, 0.025010263547301292, 0.022378595545887947, -0.07692712545394897, 0.012719403952360153, 0.026940224692225456, -0.02789774350821972, 0.02176760882139206, 0.02491017058491707, -0.044821612536907196, -0.004694587085396051, 0.11003623902797699, -0.01857120357453823, -0.0090748006477952, 0.01887243613600731, 0.032533131539821625, -0.004434008616954088, 0.018840482458472252, 0.014579227194190025, -0.024758828803896904, 0.04961548373103142, -0.014423804357647896, 0.04749195650219917, -0.06345035135746002, -0.035435181111097336, 0.06616906076669693, 0.02485189400613308, -0.04611445218324661, 0.08087664097547531, -0.0018702702363952994, -0.025924155488610268, 0.002353107323870063, 0.01921750232577324, -0.056067269295454025, 0.0971965491771698, -0.01233606319874525, -0.26664209365844727, 0.03876376524567604, 0.051592789590358734, 0.0631997287273407, 0.004620255436748266, 0.014808334410190582, 0.04251224547624588, -0.02708342857658863, 0.00048593341489322484, 0.03192213177680969, 0.020131228491663933, 0.05171917378902435, -0.038304783403873444, -0.02159823104739189, -0.007463009096682072, -0.006720784120261669, 0.07552898675203323, 0.002647540532052517, -0.00863186176866293, -0.0014796432806178927, 0.011970380321145058, -0.046140749007463455, 0.15159422159194946, 0.030142009258270264, 0.006937597878277302, 0.01896427944302559, -0.014309253543615341, 0.03488835692405701, 0.04406479001045227, -0.003993955906480551, 0.011877825483679771, 0.023855410516262054, -0.0028555961325764656, -0.016542041674256325, 0.01775040104985237, -0.02168119139969349, -0.011400965973734856, 0.05065065994858742, 0.026625901460647583, -0.003470989177003503, -0.02739933505654335, 0.042805664241313934, -0.040028780698776245, 0.004196643363684416, 0.05325144901871681, -0.04051421955227852, 0.012014743871986866, -0.02105245180428028, -0.05774909630417824, -0.01852809451520443, -0.03556935861706734, -0.015284877270460129, -0.03429640084505081, -0.031392745673656464, 0.025374893099069595, 0.06847882270812988, 0.015536261722445488, -0.0365508608520031, 0.01794137991964817, 0.03237525373697281, -0.013914242386817932, -0.04080643877387047, 0.13524428009986877, 0.01276898942887783, 0.01912720687687397 ]
[ 0.012292731553316116, 0.08915632963180542, -0.025827908888459206, 0.042983852326869965, 0.0233357772231102, -0.025970852002501488, -0.01063409075140953, 0.006335197016596794, -0.013643838465213776, 0.022456439211964607, -0.014356255531311035, 0.012690180912613869, 0.059495098888874054, 0.0035515744239091873, -0.016263555735349655, 0.013839146122336388, -0.024555707350373268, 0.04057323560118675, 0.01756892167031765, -0.0008238149457611144, -0.020834319293498993, 0.005763285793364048, 0.07058463990688324, -0.0028957396280020475, -0.013963463716208935, 0.051775138825178146, -0.04897262901067734, -0.0034920277539640665, 0.03686012327671051, -0.14914166927337646, -0.03147859871387482, 0.004007757641375065, -0.015225800685584545, 0.004700405523180962, -0.006596172694116831, 0.06148190051317215, 0.030237074941396713, 0.007921344600617886, -0.033278483897447586, 0.019902152940630913, 0.02255992218852043, 0.0319206528365612, -0.015648486092686653, -0.01009302493184805, -0.03958496078848839, -0.027656104415655136, -0.015908271074295044, -0.03085724078118801, -0.012120233848690987, 0.011186500079929829, -0.037509992718696594, 0.013414401561021805, -0.02071475423872471, 0.023612694814801216, -0.004643464460968971, -0.0319117046892643, -0.00850102212280035, -0.0018259931821376085, -0.007052691653370857, -0.03726549446582794, 0.013988357968628407, 0.001738326158374548, -0.08359525352716446, -0.03283969685435295, 0.009567966684699059, -0.002631828188896179, 0.025506125763058662, 0.009953342378139496, -0.018310848623514175, 0.010478728450834751, -0.022536737844347954, 0.028561916202306747, -0.06849773973226547, -0.005605360958725214, -0.015628213062882423, 0.02992476336658001, 0.04795413464307785, 0.01533535961061716, -0.03649114817380905, 0.005804382264614105, -0.02884179726243019, 0.031377796083688736, 0.013881518505513668, -0.03715988248586655, -0.05068320408463478, 0.03302561864256859, -0.01269275788217783, 0.014108257368206978, 0.03896655887365341, 0.01146606169641018, 0.021042289212346077, 0.01793299801647663, -0.013540043495595455, -0.013895119540393353, -0.09424624592065811, -0.03155399113893509, 0.05601390451192856, 0.009015044197440147, -0.0028776787221431732, 0.809939444065094, 0.021636802703142166, 0.023438265547156334, 0.006399423815310001, -0.022811150178313255, 0.013529812917113304, -0.009649398736655712, 0.024907996878027916, -0.023992693051695824, -0.014738425612449646, 0.012113736011087894, -0.001157511374913156, 0.02397177182137966, 0.007570312824100256, -0.0030014431104063988, 0.02102295309305191, 0.035433314740657806, 0.022701827809214592, -0.009767768904566765, -0.0044920979999005795, 0.014924951829016209, 0.03289732709527016, 0.006046388763934374, 0.04499807581305504, 0.026264777407050133, 0.026201069355010986, -0.1900223046541214, -0.009839512407779694, -7.066831795485643e-33, 0.03797498345375061, 0.008932661265134811, 0.021097492426633835, 0.032165952026844025, 0.0039034290239214897, 0.028610099107027054, -0.008319555781781673, -0.0013288180343806744, -0.02879907563328743, -0.005493875592947006, -0.05694514513015747, 0.012012509629130363, 0.0004973190370947123, -0.018838733434677124, 0.0007688120240345597, -0.022832438349723816, 0.011559104546904564, -0.007762485649436712, 0.011716291308403015, -0.007009132765233517, -0.003121711313724518, 0.05498986318707466, -0.006643643137067556, 0.016771143302321434, -0.0024732379242777824, 0.01649264432489872, 0.0218178853392601, -0.017043426632881165, 0.03040909394621849, -0.053006142377853394, 0.0014341272180899978, -0.014996266923844814, -0.021650075912475586, -0.035920221358537674, 0.019301336258649826, -0.03602509945631027, -0.041945502161979675, 0.0073943776078522205, -0.010669656097888947, -0.04988842457532883, -0.010255181230604649, -0.015890780836343765, -0.031604740768671036, -0.013947193510830402, -0.010406586341559887, -0.016068454831838608, 0.0527116060256958, -0.04681161418557167, -0.027820691466331482, -0.011800062842667103, 0.017559917643666267, 0.029000436887145042, 0.02551770582795143, 0.001628883183002472, -0.04409540072083473, -0.002260300563648343, 0.009545442648231983, -0.03603003919124603, -0.015989074483513832, 0.042342450469732285, 0.056877750903367996, 0.015247482806444168, 0.004221626557409763, 0.03443990647792816, 0.03248050808906555, -0.016962457448244095, 0.002699170494452119, 0.02314036712050438, 0.03230282664299011, 0.06465054303407669, -0.034679677337408066, -0.005461783614009619, 0.032433003187179565, -0.011874266900122166, 0.026471665129065514, -0.026277970522642136, -0.002539224224165082, -0.01949501782655716, 0.031661875545978546, 0.025662332773208618, -0.019300205633044243, -0.03539319336414337, 0.016393505036830902, -0.030242621898651123, -0.021451203152537346, 0.001937644206918776, 0.04667459800839424, -0.00046284435666166246, -0.01620909385383129, -0.0003205015091225505, 0.02832982689142227, 0.038930173963308334, 0.008568709716200829, -0.051731668412685394, -0.0015608059475198388, 6.610964065977221e-33, 0.01731676235795021, -0.008288008160889149, -0.005080798175185919, 0.002256432780995965, 0.005250020883977413, 0.024036332964897156, 0.007450617849826813, -0.03966667875647545, -0.0661911889910698, 0.017894059419631958, 0.019473856315016747, -0.0029486354906111956, -0.03205679729580879, 0.03942110016942024, 0.0657966136932373, -0.00608120858669281, -0.004397477954626083, -0.04096924513578415, 0.013100693933665752, 0.009914709255099297, -0.04484298825263977, 0.006822915747761726, -0.02275223284959793, 0.045274943113327026, -0.0063786981627345085, 0.0036974085960537195, 0.022185543552041054, 0.007733301725238562, 0.0026125721633434296, 0.003613752080127597, 0.004001728259027004, -0.05715230479836464, -0.031858932226896286, -0.013961778953671455, 0.016111481934785843, 0.020713549107313156, -0.0034865878988057375, 0.04604127258062363, 0.0025776976253837347, -0.0008235732675530016, 0.017789874225854874, -0.0014343111542984843, -0.04398883506655693, 0.013128298334777355, 0.015375716611742973, 0.018437303602695465, -0.015098858624696732, 0.024038147181272507, 0.002238684566691518, 0.04183800145983696, 0.027238085865974426, 0.019087858498096466, -0.02496848627924919, -0.01053867768496275, 0.05534081906080246, -0.03956695273518562, -0.04536270350217819, 0.003004449652507901, -0.002128483494743705, 0.050043534487485886, -0.03651150315999985, 0.02237495221197605, -0.029163077473640442, -0.007748773321509361, -0.041012879461050034, -0.03084275685250759, -0.018516458570957184, -0.026135776191949844, -0.016014160588383675, 0.007254252675920725, 0.02113795094192028, -0.0035252291709184647, -0.00010010979167418554, 0.010844524949789047, 0.013767934404313564, 0.010779725387692451, 0.01053873635828495, 0.013343301601707935, -0.015421461313962936, 0.0033688696566969156, 0.00877841841429472, 0.000214047497138381, 0.010009310208261013, -0.008268780075013638, -0.008305175229907036, 0.029429445043206215, -0.023472320288419724, -0.0024147327058017254, 0.017255833372473717, -0.04192880913615227, 0.05175207927823067, -0.050710227340459824, -0.015436874702572823, 0.04427558183670044, -0.007669901940971613, -1.2348825073615899e-8, -0.02954072505235672, -0.016870571300387383, -0.0013394682900980115, 0.021936608478426933, 0.00012245375546626747, 0.04236069694161415, -0.014756751246750355, -0.02190973050892353, -0.04475924000144005, 0.009482493624091148, 0.05189407244324684, -0.022646287456154823, -0.006887656170874834, 0.015333130955696106, 0.014726885594427586, -0.0007476883474737406, -0.011352665722370148, 0.00494869239628315, 0.03067796118557453, 0.016842087730765343, 0.0031264140270650387, 0.024315373972058296, -0.021133355796337128, 0.0002912872878368944, 0.005994284991174936, -0.028517382219433784, 0.0226726271212101, -0.09833517670631409, -0.003450147109106183, -0.009414983913302422, 0.041329286992549896, -0.02204582281410694, -0.029607223346829414, -0.009017392992973328, 0.007420461159199476, -0.0334416963160038, 0.030305756255984306, 0.02210775576531887, 0.021681301295757294, 0.015485677868127823, -0.0007458682521246374, -0.015532329678535461, -0.0237223319709301, -0.03776618093252182, -0.036055710166692734, -0.012628267519176006, -0.0423133447766304, -0.02622697502374649, 0.021224746480584145, -0.03313162550330162, 0.027947179973125458, 0.019778259098529816, 0.004602212458848953, 0.038455527275800705, 0.04153972864151001, -0.008496636524796486, -0.0014317859895527363, -0.011607826687395573, -0.04426608607172966, -0.014762675389647484, 0.028281332924962044, -0.013704757206141949, -0.020677369087934494, -0.01538911834359169 ]
unix-tar-extracting-creating-and-viewing-archives
https://markhneedham.com/blog/2013/08/22/unix-tar-extracting-creating-and-viewing-archives
false
2013-08-22 21:26:10
Model to answer your questions rather than modelling reality
[ "modeling" ]
[ "Software Development", "neo4j" ]
On the recommendation of https://twitter.com/iansrobinson[Ian Robinson] I've been reading the 2nd edition of William's Kent's 'http://www.waterstones.com/waterstonesweb/products/william+kent/data+and+reality/5270709/[Data and Reality]' and the author makes an interesting observation at the end of the first chapter which resonated with me: ____ Once more: we are not modelling reality, but the way information about reality is processed, by people. ____ It reminds me of similar advice in Eric Evans' http://www.amazon.co.uk/Domain-driven-Design-Tackling-Complexity-Software/dp/0321125215[Domain Driven Design] and it's advice which I believe is helpful when designing a model in a graph database. Last year I wrote a post explaining how I'd be using an approach of http://www.markhneedham.com/blog/2012/05/05/neo4j-what-question-do-you-want-to-answer/[defining questions that I wanted to ask] before modelling my data and in http://www.neo4j.org/[neo4j] land we can do this by writing http://docs.neo4j.org/chunked/snapshot/cypher-query-lang.html[cypher] queries up front. We can then play around with increasing the size of our data set in different ways to check that our queries are still performant and tweak our model if necessary. For example one simple optimisation would be to run an offline query to http://www.markhneedham.com/blog/2012/07/21/neo4j-embracing-the-sub-graph/[make implicit relationships explicit]. Although graphs are very http://neo4j.rubyforge.org/guides/why_graph_db.html[whiteboard friendly] and it can be tempting to design our whole model before writing any queries this often causes problems later on. When we eventually get to asking questions of our data we may find that we've modelled some things unnecessarily or have designed the model in a way that leads to inefficient queries. I've found an effective approach is to *keep the feedback loop tight* by minimising the amount of time between drawing parts of our model on a whiteboard and writing queries against it. If you're interested in learning more, Ian has http://flex.winfxpro.info/download/?noderef=workspace://SpacesStore/c1d32b3e-67f1-4f0d-b5b9-b055ebdf9444[a slide deck from a talk he did at JAX 2013] which covers this idea and others when building out graph database applications.
null
null
[ 0.01368597149848938, 0.015341662801802158, 0.015313796699047089, 0.05554978922009468, 0.08829286694526672, 0.007896517403423786, 0.041421081870794296, 0.02175845205783844, 0.038375720381736755, -0.022322537377476692, -0.021114464849233627, -0.008128003217279911, -0.053260717540979385, 0.023511892184615135, -0.019937947392463684, 0.07500877231359482, 0.04417865723371506, 0.011203711852431297, 0.023557191714644432, 0.0013441210612654686, 0.035192448645830154, 0.05166427418589592, 0.01694529317319393, 0.04971613734960556, 0.03818153217434883, -0.0018656139727681875, 0.01212374959141016, 0.00659067602828145, -0.033941108733415604, -0.009085671044886112, 0.05051003396511078, 0.004818922374397516, 0.005716789048165083, -0.009173157624900341, 0.030991356819868088, 0.008348611183464527, -0.05363043397665024, 0.014443377032876015, -0.011755391955375671, 0.004557861015200615, -0.08304230123758316, 0.058957964181900024, -0.026295723393559456, 0.014661177061498165, -0.037746526300907135, -0.019441068172454834, -0.0580226369202137, 0.03158567473292351, 0.020135553553700447, 0.01654878631234169, -0.08234962821006775, 0.049761172384023666, -0.0032469930592924356, 0.020519470795989037, -0.027659231796860695, 0.050349414348602295, 0.020951205864548683, -0.06758176535367966, 0.034728970378637314, -0.028798988088965416, -0.001329875783994794, -0.027681954205036163, -0.006718869786709547, 0.015340515412390232, -0.0017794643063098192, -0.055787961930036545, -0.009848834946751595, 0.05259472876787186, -0.04593087360262871, 0.021363237872719765, -0.011014203540980816, 0.02128615602850914, 0.007940785028040409, 0.00293046236038208, -0.015018590725958347, -0.05333947390317917, 0.018645230680704117, 0.06457847356796265, 0.03010551445186138, 0.037935469299554825, -0.02686084248125553, 0.016335705295205116, 0.0139347855001688, 0.031292546540498734, -0.019274255260825157, -0.05538855493068695, 0.010385430417954922, -0.040654491633176804, -0.06906278431415558, 0.0543140210211277, 0.0003010844229720533, -0.06356505304574966, 0.006274548824876547, 0.01933276280760765, -0.019932221621274948, 0.005511610768735409, 0.02231311798095703, 0.0021401839330792427, -0.004057836718857288, -0.027832623571157455, -0.01368428859859705, -0.04544247314333916, -0.014870946295559406, 0.00520178722217679, -0.08004345744848251, -0.041035160422325134, -0.023960094898939133, -0.02562791481614113, 0.0054624187760055065, 0.005562105216085911, -0.05515723675489426, 0.010347849689424038, -0.016412565484642982, -0.003048800630494952, -0.061838604509830475, 0.06826038658618927, 0.01106580812484026, -0.024893058463931084, -0.012727344408631325, 0.01600806973874569, 0.047508604824543, 0.00033867976162582636, -0.012193143367767334, 0.07536879926919937, -0.008430646732449532, 0.017608582973480225, -0.007968451827764511, 0.04701549932360649, -0.022505423054099083, -0.06777489185333252, 0.0030262430664151907, 0.05651438608765602, -0.043975792825222015, -0.01585349440574646, -0.006147787906229496, -0.045664332807064056, 0.00763718644157052, 0.017677826806902885, 0.041751086711883545, 0.05215185508131981, 0.002400487195700407, -0.049224648624658585, 0.032121457159519196, 0.0001588069280842319, 0.048496466130018234, 0.00307416426949203, 0.007319019641727209, -0.02029571682214737, -0.04076925292611122, -0.023765910416841507, 0.015694770961999893, 0.05781644955277443, 0.002406011102721095, -0.027436019852757454, 0.04355321079492569, 0.09953296929597855, 0.040778566151857376, 0.027219759300351143, -0.0062386938370764256, 0.029186954721808434, 0.05199483036994934, 0.03049631044268608, 0.018138429149985313, 0.030238719657063484, 0.01981888711452484, -0.010803693905472755, -0.0016629325691610575, 0.058870457112789154, 0.00581146078184247, 0.003074449487030506, -0.05408206582069397, -0.061356477439403534, 0.05159733071923256, -0.045143380761146545, -0.009683213196694851, 0.050871122628450394, 0.08582489937543869, 0.04122637212276459, 0.02574361488223076, -0.004492190200835466, -0.0852920413017273, 0.032660286873579025, 0.016033608466386795, 0.009198438376188278, -0.0013870199909433722, -0.012676021084189415, 0.06908494234085083, 0.040423545986413956, 0.008961090818047523, 0.053091127425432205, -0.08125373721122742, -0.0756002813577652, 0.00341551611199975, -0.02770286053419113, 0.06825795769691467, -0.013350890949368477, 0.0171981044113636, 0.061924904584884644, -0.0068104625679552555, 0.04989881068468094, 0.02846531569957733, 0.006158067844808102, 0.014769037254154682, -0.04665840044617653, -0.029579665511846542, 0.041235581040382385, 0.029311614111065865, -0.030937906354665756, -0.05261743441224098, 0.015790799632668495, -0.011474969796836376, -0.04092313349246979, 0.029597006738185883, -0.025851862505078316, 0.022511839866638184, 0.0031911819241940975, 0.050043076276779175, -0.009597432799637318, 0.0341358408331871, -0.0455765463411808, 0.03258411958813667, 0.028749991208314896, -0.015578731894493103, 0.013358741998672485, 0.016191283240914345, 0.11042065173387527, 0.05655677989125252, -0.029099535197019577, -0.055353738367557526, 0.015031980350613594, 0.009436408057808876, -0.021220065653324127, 0.032102297991514206, -0.015217005275189877, 0.00877804309129715, -0.012496166862547398, -0.04852546006441116, -0.011969457380473614, 0.035394087433815, -0.032170526683330536, -0.0015919842990115285, 0.04723828658461571, -0.02991238608956337, 0.060138992965221405, -0.010400687344372272, 0.022434284910559654, -0.011726115830242634, -0.021458672359585762, -0.06020289286971092, 0.024023257195949554, -0.012199142947793007, -0.007494625169783831, 0.06337366253137589, -0.009269165806472301, -0.017561474815011024, -0.03837401419878006, -0.020676571875810623, 0.037377092987298965, 0.05114057660102844, 0.06821546703577042, -0.019982995465397835, 0.05935762822628021, -0.02216891013085842, 0.03469514101743698, 0.0002019652893068269, -0.059574857354164124, -0.04325530305504799, -0.05247467756271362, 0.02976040355861187, 0.011195717379450798, 0.03501104190945625, -0.0039597428403794765, 0.030448684468865395, 0.015392313711345196, 0.008443273603916168, -0.00561424670740962, 0.03298506885766983, 0.008257838897407055, -0.0030878635589033365, -0.011739245615899563, -0.036471959203481674, 0.06683431565761566, -0.03913737088441849, -0.015864379703998566, -0.016185715794563293, -0.06462018936872482, 0.05764496698975563, -0.06281894445419312, -0.037114325910806656, -0.008365755900740623, 0.02888946793973446, 0.05609904229640961, 0.021669868379831314, 0.003916714806109667, 0.05749807506799698, 0.033980365842580795, -0.002283060923218727, -0.014639080502092838, -0.024690227583050728, 0.05467599257826805, -0.02040937729179859, 0.01735488697886467, 0.049155447632074356, -0.001806157291866839, 0.00871354341506958, -0.03185801953077316, 0.03613010421395302, -0.006601064465939999, -0.2875606119632721, 0.01750822365283966, -0.009787769988179207, -0.04875045642256737, 0.0024175336584448814, -0.024460546672344208, -0.00932319089770317, -0.030466808006167412, -0.03483935818076134, 0.0028390611987560987, -0.022064127027988434, -0.040910497307777405, -0.03455658629536629, 0.0382484495639801, 0.034333471208810806, 0.023436665534973145, 0.023072512820363045, -0.053598660975694656, -0.013155759312212467, 0.045592717826366425, -0.0032010169234126806, -0.059583090245723724, -0.019968589767813683, 0.026090260595083237, 0.03451022133231163, 0.049875665456056595, -0.10579121857881546, 0.01855614222586155, -0.06447251886129379, -0.000525162962730974, 0.0019787296187132597, -0.008985609747469425, 0.0038395726587623358, 0.002506562974303961, -0.005089642945677042, -0.013116682879626751, 0.038037531077861786, 0.01081270445138216, 0.0056199803948402405, 0.02083710767328739, -0.034118954092264175, -0.038978949189186096, -0.01714610680937767, 0.0030875266529619694, 0.07350488752126694, 0.014449344016611576, -0.08018512278795242, 0.0007821375038474798, -0.01650494523346424, 0.058065153658390045, -0.04156119003891945, -0.03557250276207924, 0.0029180708806961775, 0.035300835967063904, -0.01483557652682066, -0.02002759836614132, -0.000669674074742943, -0.035163719207048416, -0.0582355260848999, -0.03632122278213501, -0.006258849985897541, -0.03518453240394592, 0.0018774120835587382, -0.036444343626499176, 0.0016792156966403127, -0.04623173922300339, -0.08848067373037338, -0.026144374161958694, 0.05382832512259483, 0.018893390893936157, -0.019876454025506973, 0.038445860147476196, 0.004863276612013578, -0.1032663956284523, -0.014692460186779499, -0.023084377869963646, 0.007389257196336985, -0.00185656629037112, 0.013024214655160904, 0.047713834792375565, -0.03637290373444557, -0.05864543840289116, -0.01718197949230671, 0.02482621744275093, 0.021748188883066177, -0.007429033052176237, 0.03224562481045723, -0.013041661120951176, -0.040183842182159424, 0.01183109637349844, 0.05454710125923157, -0.00860743410885334, -0.025621777400374413, -0.02132452093064785, 0.0061680348590016365, -0.0002122453151969239, 0.02864861488342285, -0.0245819054543972, 0.01027983520179987, 0.04260428622364998, 0.015090805478394032, -0.05824045464396477, 0.020500004291534424, -0.01924789324402809, -0.017273258417844772, -0.017767075449228287, -0.03708285838365555, 0.010976971127092838, 0.02642042189836502, 0.003793192794546485, -0.009571273811161518, -0.024561412632465363, 0.0024697412736713886, -0.051430001854896545, -0.06337777525186539, -0.029778067022562027, 0.021665096282958984, 0.04723240062594414, 0.012495012022554874, -0.021888194605708122, -0.04877247288823128, 0.025900645181536674, 0.009701871313154697, -0.01836586929857731, -0.06085952743887901, -0.019927002489566803, -0.016744719818234444, -0.01846317946910858, 0.0014824778772890568, 0.02336658164858818, -0.019982509315013885, 0.03029218316078186, 0.014242377132177353, -0.030037831515073776, 0.031492091715335846, -0.005145448725670576, -0.05118221044540405, -0.014996570535004139, 0.02350948378443718, -0.0025149125140160322, 0.015979502350091934, 0.010965224355459213, 0.020973505452275276, 0.029357805848121643, 0.026960717514157295, 0.020725423470139503, 0.02491302788257599, -0.0007564321858808398, 0.04706443473696709, 0.005944231059402227, -0.005286801606416702, -0.04189850762486458, 0.031207524240016937, -0.045974407345056534, -0.015883048996329308, -0.019078712910413742, 0.041907962411642075, -0.032172899693250656, -0.024266580119729042, -0.02024068683385849, 0.012799031101167202, -0.04958951100707054, -0.02640794776380062, -0.02082906849682331, 0.02433733269572258, 0.07649868726730347, -0.036046065390110016, 0.010107860900461674, -0.01106958370655775, -0.032808832824230194, 0.017922723665833473, 0.01539583969861269, -0.04355059191584587, 0.0046493420377373695, 0.013261259533464909, 0.0029707320500165224, -0.01358254998922348, 0.014604770578444004, 0.04580821841955185, 0.013780648820102215, -0.007945678196847439, -0.013493828475475311, 0.00922832079231739, 0.025423865765333176, 0.05628255754709244, 0.03864647448062897, -0.009837878867983818, 0.008479448035359383, -0.011671476066112518, -0.019527409225702286, -0.02288825623691082, 0.0016407370567321777, -0.005149191245436668, 0.013680287636816502, -0.02876146137714386, -0.051254067569971085, 0.07417435199022293, -0.006130015477538109, 0.01132954191416502, 0.03608483076095581, 0.011466916650533676, -0.00004406258085509762, -0.011198418214917183, 0.024322986602783203, 0.056319709867239, -0.06492804735898972, -0.02656257152557373, -0.001620629569515586, -0.017289865761995316, 0.0038856924511492252, 0.004297785926610231, -0.03830631449818611, -0.04248742386698723, -0.02522997558116913, 0.019181111827492714, -0.0495896190404892, -0.026700181886553764, -0.009600110352039337, 0.006145576946437359, 0.007844063453376293, 0.012159944511950016, -0.0020255958661437035, 0.001541887759231031, -0.013038240373134613, -0.016797667369246483, 0.035274192690849304, -0.013753142207860947, 0.0018532638205215335, 0.01027289591729641, -0.04428432509303093, 0.007608530577272177, -0.02272542007267475, 0.0007668447215110064, 0.018771374598145485, -0.02399650402367115, 0.016230404376983643, -0.037071775645017624, 0.03286642208695412, -0.009300550445914268, 0.04530391842126846, -0.009402231313288212, -0.010621163062751293, -0.045070063322782516, 0.0018979456508532166, -0.03220466151833534, 0.019966816529631615, -0.014791589230298996, 0.002807524288073182, 0.011622708290815353, 0.030680332332849503, -0.001904189819470048, 0.009326601400971413, -0.019184762611985207, -0.02428179234266281, 0.03332676365971565, -0.04559776186943054, -0.022805387154221535, -0.0342058390378952, -0.06028600409626961, 0.0016192662296816707, 0.0028982835356146097, 0.023012174293398857, -0.009784501045942307, 0.045837707817554474, 0.04833995923399925, 0.03385480120778084, 0.0373227521777153, 0.007474759127944708, 0.02714350074529648, -0.04213252663612366, -0.008153337053954601, -0.07823456823825836, -0.0018069568322971463, 0.01845218800008297, 0.0030815964564681053, -0.004975597839802504, 0.005477431230247021, -0.03378363326191902, 0.03765090927481651, -0.0770409032702446, -0.029975567013025284, 0.02676142379641533, -0.007826501503586769, -0.01325700432062149, 0.013819031417369843, -0.0660003274679184, 0.006357446778565645, 0.018496377393603325, -0.032478801906108856, -0.048098139464855194, -0.022740159183740616, 0.03983287885785103, -0.01762309856712818, 0.03242327272891998, -0.023790787905454636, -0.012563002295792103, 0.07050348818302155, 0.01219053566455841, 0.009150075726211071, 0.04091774672269821, -0.0009292291942983866, 0.03613077476620674, 0.03773937001824379, 0.03267410025000572, 0.009892156347632408, 0.025501543655991554, -0.027532516047358513, -0.06563657522201538, 0.04164910688996315, -0.00033053435618057847, -0.022933153435587883, -0.04654046893119812, 0.06472648680210114, 0.02309836819767952, -0.034474801272153854, -0.04770684987306595, 0.028839686885476112, -0.03868183493614197, -0.0009295876370742917, -0.03340554237365723, -0.002919811522588134, -0.03830137476325035, 0.03785732015967369, -0.024793259799480438, 0.0073334407061338425, 0.059308964759111404, -0.0171047430485487, -0.013566057197749615, -0.01747084967792034, 0.09970434755086899, 0.09653165936470032, 0.06215531751513481, -0.0009691633749753237, 0.0787212997674942, 0.0007671014172956347, -0.038447700440883636, 0.008068547584116459, -0.0030265869572758675, -0.02634110301733017, -0.01569105125963688, 0.00929998978972435, 0.05350456014275551, -0.03705902025103569, 0.08548140525817871, -0.040217820554971695, -0.014864947646856308, -0.01003963965922594, 0.004329404793679714, 0.015548739582300186, 0.07843449711799622, 0.020307984203100204, 0.033949654549360275, -0.04471690207719803, -0.04093870520591736, -0.00035011922591365874, -0.01789330504834652, -0.02313286066055298, 0.02146982215344906, -0.014585018157958984, 0.0151518564671278, -0.003728587878867984, 0.04461929202079773, 0.0954391211271286, -0.04745045304298401, 0.006303415168076754, 0.001723063993267715, 0.0019414142007008195, -0.005512208212167025, 0.022927764803171158, -0.01583598554134369, -0.017893821001052856, 0.0031519208569079638, -0.039996303617954254, -0.029993128031492233, -0.026183249428868294, -0.0410865843296051, 0.021190665662288666, -0.021225644275546074, -0.025796588510274887, 0.00797323789447546, -0.019962197169661522, -0.03713800013065338, -0.06155044212937355, -0.03910167142748833, -0.02445131354033947, -0.07517240196466446, 0.012665321119129658, -0.008629576303064823, -0.016337931156158447, -0.027803361415863037, -0.006574131082743406, -0.017812836915254593, -0.034743063151836395, 0.07246915996074677, -0.06718068569898605, -0.012134846299886703, 0.016547664999961853, 0.026434198021888733, 0.013642262667417526, 0.027944492176175117, 0.04857253283262253, -0.013026331551373005, 0.006240284536033869, -0.013413755223155022, 0.004170356784015894, 0.033492062240839005, 0.04248968884348869, 0.002939278492704034, -0.09169649332761765, 0.0027876843232661486, 0.018567634746432304, -0.02786225639283657, -0.07932635396718979, 0.005454424303025007, 0.026335561648011208, 0.007606119383126497, 0.03617480769753456, -0.010042567737400532, 0.007879297249019146, -0.03110109455883503, 0.0071816593408584595, -0.002318738494068384, 0.008277760818600655, 0.026897594332695007, -0.02136842906475067, 0.08095292001962662, 0.02088707499206066, -0.023973718285560608, -0.02950814552605152, -0.019742850214242935, 0.006213288754224777, 0.0027687684632837772, -0.03581039980053902, -0.030849318951368332, -0.02758266218006611, -0.09135285764932632, -0.03178512677550316, 0.02117747813463211, -0.03547431901097298, -0.023851260542869568, 0.004215767607092857, 0.03008021041750908, -0.021748993545770645, 0.03210178017616272, -0.04614974185824394, 0.03136715665459633, -0.021481389179825783, -0.021176258102059364, -0.023512903600931168, 0.02092210203409195, 0.0036922916769981384, 0.024512769654393196, 0.003475829027593136, -0.06369626522064209, 0.0043611242435872555, -0.01067130733281374, 0.035746071487665176, 0.003929389640688896, 0.03502631559967995, -0.011076049879193306 ]
[ -0.05058542266488075, -0.0036744754761457443, -0.02724332921206951, -0.018083933740854263, 0.05395931005477905, -0.004133560694754124, -0.04354853928089142, 0.02889535203576088, 0.024856632575392723, -0.010375316254794598, 0.011799832805991173, -0.04172670468688011, -0.0005105886375531554, 0.016381975263357162, 0.07011336833238602, 0.006981323938816786, -0.014119946397840977, -0.060508470982313156, 0.0019593900069594383, 0.04910057410597801, 0.011007447727024555, -0.04446860030293465, -0.015888303518295288, -0.03536953032016754, 0.016327211633324623, 0.03173013776540756, 0.04031269624829292, -0.034599799662828445, 0.0009167019743472338, -0.22163213789463043, 0.012224216014146805, 0.029505042359232903, 0.03459800407290459, -0.01283765584230423, -0.0033664817456156015, 0.021851785480976105, 0.07067412883043289, -0.0021930639632046223, 0.01414960715919733, 0.04287265986204147, -0.005337581969797611, 0.006874048616737127, -0.03967104107141495, -0.003623914672061801, 0.05818186327815056, 0.03205964341759682, -0.0004147066792938858, -0.018427299335598946, -0.05022681504487991, -0.015878984704613686, -0.04177413508296013, -0.017830314114689827, -0.04229982942342758, -0.009958809241652489, 0.021879391744732857, 0.03922818601131439, 0.05034102872014046, 0.06451013684272766, 0.032315101474523544, 0.01721414551138878, 0.03796179220080376, 0.021182382479310036, -0.12195733934640884, 0.08771709352731705, 0.014093046076595783, 0.0407816506922245, -0.05597915127873421, -0.03732801973819733, -0.022523580119013786, 0.09275377541780472, -0.0013487408868968487, -0.020823752507567406, -0.03334769979119301, 0.03081687167286873, 0.01858469471335411, 0.011585951782763004, -0.0030620668549090624, 0.014452863484621048, 0.0348936952650547, -0.05178416892886162, 0.006083253771066666, 0.039567314088344574, -0.03333580493927002, -0.02185397408902645, -0.06278134882450104, 0.035279858857393265, -0.03212988004088402, 0.018468162044882774, -0.011406544595956802, 0.03607330098748207, 0.03067711740732193, 0.004406897351145744, 0.02208770252764225, 0.009782373905181885, -0.0502297505736351, -0.017617108300328255, -0.006330972071737051, 0.017053840681910515, -0.004914524033665657, 0.40197867155075073, 0.0006013305974192917, -0.02143203653395176, 0.06149252504110336, 0.06641335040330887, -0.03469462692737579, -0.023915095254778862, -0.010056721046566963, -0.07411276549100876, 0.04464271664619446, -0.0049344925209879875, -0.008358407765626907, -0.013233702629804611, 0.02986685000360012, -0.03839277848601341, 0.00927302148193121, 0.004207039717584848, 0.049411699175834656, 0.01630008965730667, -0.002387769054621458, -0.019702527672052383, -0.025774439796805382, 0.04261002317070961, 0.0420144759118557, -0.0022633697371929884, 0.01382728386670351, -0.010100210085511208, 0.0027940694708377123, 0.05879601836204529, 0.00868947058916092, 0.0012007137993350625, 0.046217214316129684, -0.012987838126718998, -0.07822901755571365, 0.02497725747525692, -0.012140768580138683, -0.016683781519532204, 0.04012106731534004, -0.0256270170211792, 0.006441411562263966, 0.04905582591891289, 0.003380127251148224, 0.01397724449634552, 0.015321427024900913, 0.010790104977786541, -0.042002953588962555, 0.1238260418176651, 0.021063605323433876, -0.046038154512643814, -0.03126421943306923, -0.03325962275266647, 0.015606522560119629, 0.04628753289580345, 0.001476501813158393, -0.06914591044187546, -0.014374880120158195, 0.017458004876971245, 0.07838211208581924, -0.015219627879559994, -0.10518380254507065, -0.013519909232854843, -0.01867447793483734, -0.018236106261610985, -0.05770019441843033, 0.07623914629220963, 0.02525000087916851, -0.10811135172843933, -0.020293598994612694, 0.012141354382038116, 0.031446438282728195, -0.06890153139829636, 0.013640851713716984, 0.01272550504654646, -0.049919500946998596, -0.006008615717291832, 0.06246349215507507, -0.018217965960502625, -0.04390876367688179, -0.007323823869228363, 0.025942500680685043, 0.004143859259784222, 0.018665432929992676, -0.00945823173969984, -0.010521339252591133, -0.00701556634157896, -0.07035286724567413, -0.07061383873224258, -0.04533166065812111, 0.024166066199541092, -0.015317102894186974, -0.043709851801395416, 0.017674827948212624, -0.005188025534152985, -0.071469746530056, 0.09940609335899353, -0.049257781356573105, -0.03946547582745552, 0.010860627517104149, 0.002245664596557617, -0.048055268824100494, -0.019085034728050232, -0.04970031604170799, 0.03017197549343109, -0.03587811067700386, -0.0082066236063838, -0.06410850584506989, 0.04124976694583893, 0.072429358959198, -0.03449581190943718, 0.07512261718511581, 0.031124642118811607, -0.06665194034576416, -0.019329285249114037, -0.03443281352519989, 0.01071052998304367, -0.007952354848384857, -0.0031731503549963236, 0.043304551392793655, 0.003603867022320628, -0.016036037355661392, 0.05095202848315239, -0.009305176325142384, 0.00021426609600894153, -0.030559908598661423, -0.36662033200263977, -0.0465325303375721, -0.028301198035478592, -0.003896641544997692, 0.02451304718852043, -0.050425294786691666, -0.0004294426180422306, -0.0047429269179701805, 0.0038321013562381268, 0.024646436795592308, 0.045353684574365616, 0.009652562439441681, -0.030601702630519867, -0.09246141463518143, 0.005554489325731993, 0.014139791950583458, -0.004414067137986422, -0.018756631761789322, -0.0780336782336235, -0.01554794143885374, -0.03265313804149628, -0.004680098500102758, -0.009045427665114403, -0.08689923584461212, -0.000066612999944482, -0.021429995074868202, 0.11396240442991257, -0.0227716863155365, 0.043555669486522675, -0.024509930983185768, 0.02120347134768963, -0.010862679220736027, -0.009163334034383297, -0.08529073745012283, 0.01828443445265293, -0.020810307934880257, 0.031064575538039207, 0.007255221251398325, -0.011172778904438019, -0.0381816104054451, -0.044764257967472076, -0.008670726791024208, -0.043838582932949066, -0.0375870019197464, -0.0826025977730751, 0.0369018092751503, -0.04066460207104683, -0.006935822311788797, -0.018645016476511955, 0.07358568161725998, 0.011958165094256401, 0.036625996232032776, 0.01206602156162262, 0.018544990569353104, -0.03881208971142769, -0.0507403127849102, -0.08787339180707932, -0.01695508509874344, -0.0005778218037448823, 0.04437999799847603, 0.015325731597840786, 0.04013582691550255, 0.017965123057365417, -0.0886637344956398, 0.023998510092496872, -0.013774728402495384, -0.00646536098793149, -0.001273305737413466, 0.04766117408871651, -0.0158076174557209, -0.017383120954036713, 0.12483739852905273, -0.0017687003128230572, 0.020213080570101738, 0.051347777247428894, 0.03390210121870041, 0.0005292493151500821, 0.029738133773207664, 0.027349185198545456, 0.017948560416698456, 0.023753002285957336, -0.05395803973078728, 0.08547991514205933, -0.0033826695289462805, 0.013129694387316704, 0.019838843494653702, 0.006082392297685146, -0.07066434621810913, 0.04042074829339981, 0.02699151821434498, -0.047863032668828964, 0.020653465762734413, -0.04893844947218895, -0.07431913167238235, 0.07408761233091354, -0.03145591542124748, -0.21974530816078186, 0.032893143594264984, 0.04430486634373665, 0.08307495713233948, 0.010264910757541656, 0.018850242719054222, 0.03250952064990997, -0.01304430328309536, 0.019913772121071815, -0.00640212744474411, 0.00946887955069542, 0.0445619635283947, 0.007873077876865864, 0.029470015317201614, -0.00198514387011528, -0.009132957085967064, 0.04616645351052284, -0.005990026984363794, 0.0273472610861063, -0.028336770832538605, 0.04619423672556877, -0.009372547268867493, 0.17156755924224854, 0.030303748324513435, 0.026246551424264908, 0.04224420711398125, -0.005481821950525045, -0.00756709324195981, 0.03592579439282417, 0.014764796942472458, -0.012022336944937706, 0.03629665449261665, 0.01775052212178707, 0.038655128329992294, 0.028536442667245865, -0.038711607456207275, -0.031550899147987366, 0.027102168649435043, 0.030316758900880814, -0.02593328431248665, 0.033078376203775406, 0.005444529466331005, 0.003669906174764037, 0.04495781660079956, 0.07876268029212952, 0.01729917712509632, -0.0036266420502215624, -0.010767027735710144, -0.07175140082836151, -0.0082233976572752, -0.030269725248217583, -0.05085759237408638, -0.004246239084750414, -0.019075317308306694, 0.024075398221611977, 0.07488080114126205, 0.031042704358696938, -0.020169487223029137, 0.013808873482048512, 0.00230312324129045, -0.026603253558278084, -0.019260775297880173, 0.10938770323991776, -0.006730376742780209, 0.011384242214262486 ]
[ 0.024040155112743378, 0.018357835710048676, 0.011079268530011177, 0.011211763136088848, -0.02502351626753807, -0.02871868945658207, -0.017467839643359184, -0.012060696259140968, -0.0303813423961401, 0.006027950439602137, -0.04062069579958916, 0.013357562944293022, 0.045141156762838364, -0.0006497460999526083, 0.011766988784074783, 0.03618239238858223, 0.019974147900938988, -0.001963983988389373, 0.014075301587581635, 0.0031804414466023445, -0.008013875223696232, 0.005756183993071318, -0.007788361981511116, -0.005936401896178722, -0.018385211005806923, 0.02226926013827324, -0.004272819496691227, 0.013908014632761478, 0.018010122701525688, -0.10279484838247299, -0.03692995384335518, -0.016610432416200638, -0.009751887992024422, 0.017200736328959465, -0.014890141785144806, -0.016701292246580124, -0.0047511570155620575, 0.013931828550994396, -0.0021739343646913767, 0.013121201656758785, 0.03432547673583031, -0.020317764952778816, -0.0019319922430440784, 0.011216665618121624, 0.014919860288500786, 0.013643274083733559, -0.025247888639569283, -0.05406701937317848, 0.008627189323306084, -0.031948287039995193, -0.029258323833346367, -0.03411027789115906, 0.004577504470944405, -0.0011765906820073724, -0.0036994251422584057, 0.01925577037036419, -0.034055665135383606, -0.012175260111689568, 0.005582147277891636, -0.027856286615133286, 0.016530774533748627, -0.0062227328307926655, -0.06390448659658432, -0.029186779633164406, 0.00346085662022233, -0.002369033172726631, -0.02441808022558689, 0.03571198880672455, 0.0012541590258479118, 0.002503582276403904, -0.010503876954317093, 0.04353700950741768, -0.07838303595781326, -0.05131319537758827, 0.007809126749634743, 0.009376037865877151, 0.04495369642972946, -0.026684295386075974, 0.006310473196208477, -0.0226071048527956, -0.015625372529029846, 0.013598112389445305, 0.012271187268197536, 0.002037337515503168, -0.019508974626660347, -0.0023917905054986477, -0.0016795251285657287, -0.011923597194254398, 0.007732569705694914, 0.0017888767179101706, -0.03600525110960007, -0.0027461613062769175, -0.023949867114424706, 0.016158802434802055, -0.09737782180309296, -0.005347934551537037, 0.024347273632884026, -0.009697901085019112, 0.010952671989798546, 0.860611081123352, 0.028292544186115265, 0.007178062107414007, -0.0020415238104760647, 0.046836696565151215, 0.02330249734222889, -0.0024831697810441256, 0.02356742136180401, 0.01956334337592125, -0.010019663721323013, -0.011594707146286964, 0.0015576633159071207, 0.014316796325147152, 0.017166543751955032, 0.0010440939804539084, 0.01455137599259615, 0.023742739111185074, -0.003114590421319008, 0.013613692484796047, 0.016671977937221527, -0.011422257870435715, -0.015783678740262985, 0.03943609073758125, -0.00041534044430591166, 0.023329216986894608, 0.007627088110893965, -0.16447637975215912, -0.024284731596708298, -7.537278593680139e-33, 0.025007491931319237, 0.013102849945425987, 0.04697204753756523, 0.003647061064839363, 0.005711423698812723, 0.004722443409264088, -0.01449055876582861, -0.02236144244670868, 0.01661658100783825, -0.006025991402566433, -0.01813235692679882, 0.025013931095600128, 0.009154261089861393, -0.03243214264512062, 0.04192148521542549, 0.007801329717040062, -0.0011434582993388176, 0.010292412713170052, -0.009880912490189075, -0.0031739952974021435, 0.022376641631126404, 0.041458457708358765, -0.0297937523573637, 0.006983567029237747, 0.002841780660673976, 0.017034169286489487, -0.00263773649930954, 0.00403272220864892, -0.009677807800471783, -0.04323114827275276, -0.03479577228426933, 0.008469896391034126, -0.0068807159550487995, -0.010601846501231194, -0.00006659809150733054, -0.02852420136332512, -0.016370287165045738, 0.0003984487848356366, -0.01579960249364376, -0.059941574931144714, -0.029025554656982422, -0.018694475293159485, -0.022331153973937035, -0.015967488288879395, -0.03851807117462158, -0.0022510779090225697, 0.0032321112230420113, 0.007086414378136396, -0.012609104625880718, -0.02177857793867588, 0.012140021659433842, -0.00001230918769579148, -0.010872874408960342, 0.01584559492766857, -0.03540170192718506, -0.002934432588517666, 0.01601232774555683, -0.00854608602821827, 0.015228570438921452, 0.04180581495165825, -0.005260303150862455, -0.017694702371954918, -0.0034279266837984324, 0.03645792976021767, 0.006445901468396187, 0.004099278710782528, -0.00789719820022583, -0.011173535138368607, -0.0030865275766700506, 0.0008004418923519552, -0.038243453949689865, 0.03396505117416382, -0.007863995619118214, -0.03517976403236389, 0.007414068561047316, -0.039860788732767105, 0.00539127504453063, -0.024464711546897888, -0.018102696165442467, 0.07612473517656326, -0.0013137670466676354, -0.024695592001080513, -0.011683664284646511, -0.023518014699220657, -0.006598985753953457, -0.008940942585468292, 0.04314040765166283, -0.00008111721399473026, 0.034912966191768646, 0.0036418677773326635, 0.019102470949292183, -0.009862571954727173, 0.005472975317388773, -0.02154448628425598, -0.005282167810946703, 7.61526015422972e-33, -0.005645010620355606, 0.007231172174215317, -0.01039864495396614, 0.008571073412895203, 0.04035231098532677, -0.023777944967150688, 0.02581021562218666, 0.0038544386625289917, -0.04753267019987106, 0.02013416960835457, -0.040870267897844315, -0.01131216250360012, 0.002595313126221299, 0.02764115482568741, 0.03226607292890549, 0.0009155916632153094, 0.017058828845620155, -0.05945973098278046, 0.010449694469571114, 0.04383901134133339, -0.01679239608347416, 0.006351637188345194, -0.011271958239376545, 0.014345542527735233, 0.014567283913493156, 0.045805249363183975, -0.009451078251004219, -0.0007359302253462374, -0.011788271367549896, 0.004332186654210091, -0.023772193118929863, -0.02164888195693493, 0.019046058878302574, -0.009769901633262634, -0.016156628727912903, 0.023448370397090912, -0.002353358780965209, -0.009892839938402176, 0.018067020922899246, -0.00511151971295476, -0.010485639795660973, 0.0009755731443874538, -0.03665175288915634, 0.04601094499230385, 0.03268285095691681, 0.03870921954512596, -0.00572229502722621, 0.002989985514432192, -0.00202183797955513, 0.022753749042749405, 0.006834737490862608, 0.02170298993587494, 0.013188435696065426, 0.02543051727116108, 0.0011800419306382537, -0.05465201660990715, -0.008560527116060257, 0.055299170315265656, 0.021528486162424088, -0.006042900029569864, -0.020224612206220627, 0.014280164614319801, -0.03639001026749611, 0.01377149112522602, -0.010464553721249104, 0.016263384371995926, -0.02857173979282379, 0.00006772181950509548, 0.00013160670641809702, -0.019218862056732178, -0.03797571733593941, 0.0015877124387770891, 0.006076856516301632, 0.017439143732190132, 0.03403012081980705, -0.024759095162153244, -0.04914894327521324, 0.008659301325678825, -0.03186070919036865, 0.04173555225133896, 0.00710150133818388, 0.011936330236494541, 0.04432401806116104, 0.007870039902627468, 0.00840297993272543, 0.018535122275352478, -0.01808176375925541, 0.03848913684487343, -0.04100360721349716, -0.0005533623625524342, 0.0026425558608025312, -0.03728916868567467, -0.02692292630672455, 0.04551330953836441, -0.03524978458881378, -1.3209075611086973e-8, -0.02956911362707615, -0.003591954940930009, -0.0010868037352338433, -0.019066056236624718, 0.013122590258717537, 0.032312534749507904, 0.037002116441726685, 0.006135280709713697, -0.006632841192185879, 0.0291542150080204, 0.03648917376995087, -0.01621011458337307, 0.013267080299556255, 0.022081861272454262, 0.007718438282608986, -0.02712882123887539, 0.014068619348108768, -0.03262057527899742, 0.031150752678513527, 0.007714211009442806, 0.008478197269141674, 0.06564806401729584, -0.022446870803833008, -0.0001575444475747645, 0.02254735864698887, 0.01529618538916111, 0.004987770225852728, -0.08185551315546036, -0.0076698847115039825, -0.00611424446105957, 0.0037996764294803143, -0.029689598828554153, -0.002489226870238781, 0.04718947410583496, -0.012797213159501553, -0.034623030573129654, 0.04139880836009979, 0.03413069620728493, 0.01863773912191391, 0.002826469484716654, -0.007956228218972683, 0.02639441005885601, -0.0319286473095417, -0.024626675993204117, -0.01654665172100067, 0.011123876087367535, -0.02417992800474167, -0.005968193057924509, 0.054924968630075455, -0.026867499575018883, -0.016431326046586037, -0.009148523211479187, 0.04061054810881615, 0.006215229630470276, 0.03256659954786301, -0.004428843501955271, 0.000023240272639668547, -0.00488152913749218, -0.004515493288636208, -0.014799852855503559, -0.004399970173835754, 0.01873738132417202, -0.03893708810210228, -0.02591175027191639 ]
model-to-answer-your-questions-rather-than-modelling-reality
https://markhneedham.com/blog/2013/08/22/model-to-answer-your-questions-rather-than-modelling-reality
false
2013-01-05 00:25:30
A new year's idea: Share what you learn
[ "software-development" ]
[ "Software Development" ]
_Apologies in advance for how meta this post is_. About 4 1/2 years ago https://twitter.com/thejayfields[Jay Fields] wrote a blog post where http://blog.jayfields.com/2008/08/be-your-start-up.html[he encouraged people to write, present and contribute] and outlined the advantages he'd seen in his career from doing so. In hindsight the bit which stood out the most for me was the following paragraph: ____ Don't know what to write about? The answers are all around you. Anything you do that's interesting, there's 100 people searching Google for how to do it. *Any question a colleague asks you, someone is searching Google for the same answer. Anything that's valuable to you\... yes, someone is googling for it*. ____ Motivated partly by this and partly by the fact that I was working away from home and staying in a hotel overlooking a motorway and had nothing else to do I started documenting what I was learning on here. I've now written over 1,000 posts but have failed to convince any of my friends that they should blog too and make people's Google experience better too! I have however managed to accrue a huge collection of reasons why people don't write about what they're learning and added to a quick twitter survey I did this morning here they are! == I learn more by coding This is the argument that I use against myself the most frequently - surely if my area of interest is programming then I will get better faster by coding more rather than writing about things. I probably convince myself that this is true 4 times out of 5 and then after spending a bit of time reflecting on what I've been doing by writing it up I wish I'd done so earlier! I've also been lucky enough that people much better than me have commented on my posts and showed me ways to improve which would have taken me much longer to discover by myself. I suppose I could have achieved that by going on an IRC channel but this way my whole thought process has been laid out, the code demonstrated and then another way explained. Writing code and putting it on github is awesome but writing a summary article explaining what you were doing and showing people some examples of what they can do with your code is even better. As a final incentive, the title you give the post and the language you use to describe what you're done will probably be more SEO friendly than pure code so others will be more likely to come across it. #win! == I don't have time Obviously I don't know everybody's personal circumstances and I'm sure in some cases it's true that people don't have time but when I explain how long it takes me to write a post people are often surprised. I was fairly sure that on average it takes me less than an hour but I thought I better time myself writing a few of my recent posts so I had some empirical evidence! * http://www.markhneedham.com/blog/2012/12/31/bitwise-operations-in-ruby-and-haskell/[Bit wise operations in Ruby and Haskell] - 1 hour * http://www.markhneedham.com/blog/2012/12/31/gamification-and-software-some-thoughts/[Reality is broken] - 1 hour * http://www.markhneedham.com/blog/2012/12/27/mahout-parallelising-the-creation-of-decisiontrees/[Parallelising Mahout forests] - 1 hour * http://www.markhneedham.com/blog/2013/01/02/haskell-reading-files/[Reading files in Haskell] - 25 minutes * http://www.markhneedham.com/blog/2012/12/24/the-tracer-bullet-approach-an-example/[Tracer Bullet] - 20 minutes * Posts on the http://www.markhneedham.com/blog/2012/12/31/haskell-strictness-and-the-monadic-bind/[union find data structure] http://www.markhneedham.com/blog/2012/12/31/haskell-an-impressively-non-performant-union-find/[in Haskell] - 2 hours I think the belief that it should take much longer than this derives from the thinking that a blog post needs to be a piece of art and that they need to be really extensive and cover every possibility. I try to apply the single responsibility principle when I'm writing and if I start drifting off into a different topic then I copy and paste that text and put it in another post.</li> I have a notepad with me at all times and whenever I see something interesting or something takes longer than it should I sketch out what the problem was and how we solved it and then write it up in the evening It's very easy to procrastinate when writing so I keep http://chrisyeh.blogspot.co.uk/2012/12/my-20-minute-secret-to-being-insanely.html[a pomodoro timer running] and it does the job of keeping me focused as well as providing motivation to try and finish the post within a time box. A bit of gamification always keeps things fun so I originally started out with the intention of writing one post per day which I eventually scaled back to about 16/17 posts a month which I achieved 2/3 of the months of 2012. I find doing that makes me keep my mind open to interesting things to write about and makes me do things that I can then write about. == I'm not doing anything interesting to write about It seems to be a universal truth that http://en.wiktionary.org/wiki/the_grass_is_always_greener_on_the_other_side[what other people are doing sounds more interesting to us than what we're doing]. This means that what you're currently working on is probably interesting to other people even if you don't think it will be. I have friends who have played around/done work with Go, Riak, Cassandra and Clojure to name but a few which sound fascinating to me but still haven't reached the 'interesting' threshold! Briefly brainstorming some other things that I'd find interesting: * Stories from first time/seasoned tech leads describing how they handle situations * How do hypermedia systems work in real life? Some war stories around trying to implement proper REST * How do people go about learning new programming languages? What problems do they run into? There are undoubtably way more interesting topics than what I've come up with - giving the topic your personal angle is often a good way of making the post stand out from other ones on the same topic. == Everybody already knows what I'd write about An interesting thing that I've noticed from 4 years of writing is that what I considered at the time to be my most pointless posts are the ones that are most useful to people. Two examples come to mind. One is a post I wrote in 2010 aggregating a bunch of instructions on http://www.markhneedham.com/blog/2010/07/08/installing-ruby-1-9-2-with-rvm-on-snow-leopard/[compiling Ruby 1.9.2 using RvM on Snow Leopard] - it's been read 25,000 times. The other I wrote at the start of 2012 about the idea of http://www.markhneedham.com/blog/2012/02/20/coding-packaging-by-vertical-slice/[organising code by domain area] rather than by layer which has 30 comments from people sharing their thoughts. Even if you do think everybody already knows what you want to write about it doesn't matter because you're writing first for yourself and then for everybody else. == I'm not good at writing This one is said less frequently but is still a fear for people and in this case I think Jay addresses it best: ____ Writing well is hard, but you're a programmer, so you needn't worry about that. No one expects you to be a good writer, they're happy if you are, but they're forgiving if you're not. Don't use your poor writing skills as an excuse not to write. ____ The only way to get better at writing is to write but 'http://www.amazon.co.uk/Writing-Well-Classic-Guide-Nonfiction/dp/141775057X[On Writing Well]' has some good pointers and describes common mistakes that people make. I still have advice from the book ringing in my head as I write every post. == People will criticise what I write One of the main fears that people seem to have is that what they write will be criticised by others and therefore they need to make sure every possible angle is covered before writing about anything. Out of the 1,000+ posts I've written I can only think of one or two occasions when I've been criticised in a way I didn't think was particularly constructive which at the time wasn't nice but eventually you realise it doesn't actually matter. Most of the time people were very kind if I'd got something wrong and I just corrected it. On the flip side, as I mentioned earlier, people tend to be really helpful and teach me new things by commenting on what I write. == I need to write my own blog I know this one is a bit sarcastic but many people seem to get distracted from sharing what they're learning by spending too much time working out how to do so i.e. writing their own blogging software I use http://wordpress.com/[WordPress] but I think http://pages.github.com/[github pages], http://jekyllbootstrap.com/[Jekyll] or https://www.tumblr.com/[tumblr] are probably better options. I will end the post with the provocative words of Eric Raymond in http://www.catb.org/esr/faqs/hacker-howto.html[How To Become a Hacker]: ____ Creative brains are a valuable, limited resource. They shouldn't be wasted on re-inventing the wheel when there are so many fascinating new problems waiting out there. To behave like a hacker, you have to believe that the thinking time of other hackers is precious -- so much so that *it's almost a moral duty for you to share information, solve problems and then give the solutions away just so other hackers can solve new problems instead of having to perpetually re-address old ones*. ____
null
null
[ 0.047429777681827545, 0.010914373211562634, 0.028370238840579987, 0.020167553797364235, 0.08586812764406204, 0.04760066792368889, 0.030354181304574013, 0.058692317456007004, 0.004927941132336855, -0.013359420001506805, -0.018727639690041542, -0.0034375437535345554, -0.058477986603975296, 0.01173338107764721, -0.047291263937950134, 0.0661853477358818, 0.06315572559833527, -0.002456934656947851, 0.02306475304067135, -0.000662158359773457, 0.025660432875156403, 0.07659441977739334, 0.014217941090464592, 0.024754883721470833, 0.04462992772459984, 0.0235768873244524, -0.0029897168278694153, 0.019502384588122368, -0.0638899877667427, -0.024840669706463814, 0.042177464812994, 0.0071102469228208065, 0.021150344982743263, 0.004325743764638901, -0.0054659368470311165, -0.040223926305770874, -0.00848204456269741, 0.013326856307685375, 0.007130391430109739, 0.01641867868602276, -0.05937149003148079, 0.03086443804204464, -0.025375021621584892, 0.020785070955753326, -0.046568818390369415, 0.006672922056168318, -0.034752145409584045, 0.007065258454531431, -0.0005312063731253147, -0.011290553957223892, -0.06622044742107391, 0.043317075818777084, 0.000043110365368193015, -0.007612565066665411, -0.017736822366714478, 0.05944262072443962, 0.04407399520277977, -0.06099985912442207, 0.0028632613830268383, -0.027201734483242035, 0.0015539105515927076, -0.008821563795208931, 0.02314337156713009, 0.03902765363454819, 0.01942267082631588, -0.03280314430594444, -0.000787935801781714, 0.05566505342721939, -0.04121094569563866, 0.019947445020079613, -0.022501133382320404, 0.004012306686490774, -0.006078088190406561, -0.02966153435409069, -0.0024182654451578856, -0.05164032801985741, 0.006459219381213188, 0.06821076571941376, 0.027176346629858017, 0.04363281652331352, -0.027727430686354637, 0.010512910783290863, 0.006174693815410137, 0.043117642402648926, -0.00749844079837203, -0.042391739785671234, -0.00802330020815134, -0.021849194541573524, -0.06462480127811432, 0.055833447724580765, -0.0012886921176686883, -0.05444159358739853, 0.027678342536091805, 0.03785685822367668, 0.011913673020899296, -0.00014447957801166922, 0.03716838359832764, 0.0002010070311371237, -0.01126668881624937, -0.02643807791173458, -0.04499802365899086, -0.03379080444574356, 0.01625574193894863, 0.0017685903003439307, -0.08481817692518234, 0.00696919159963727, -0.02990337461233139, -0.0013197142397984862, 0.01792602241039276, -0.0021786524448543787, 0.004101261030882597, 0.020037055015563965, -0.032897599041461945, 0.007903519086539745, -0.05664706230163574, 0.06727247685194016, 0.001858393894508481, -0.03852388635277748, -0.009555733762681484, -0.0037352365907281637, 0.02745831198990345, 0.023738455027341843, -0.0012538256123661995, 0.0894804373383522, 0.00957071129232645, 0.016637703403830528, -0.0101340152323246, 0.05631600320339203, -0.02944447658956051, -0.04861511290073395, -0.015123986639082432, 0.046495772898197174, -0.02632192336022854, -0.012748039327561855, 0.0008366742404177785, -0.024085797369480133, -0.01463999692350626, 0.0039232936687767506, 0.028652619570493698, 0.036007363349199295, 0.007416293025016785, -0.0426931157708168, 0.01134373340755701, 0.01043768785893917, 0.025016814470291138, -0.016076045110821724, -0.00187785888556391, -0.015548236668109894, -0.03835972398519516, -0.01374746486544609, 0.0016910561826080084, 0.00882610585540533, -0.0018812250345945358, -0.03719767555594444, 0.018835723400115967, 0.07223398983478546, 0.044468559324741364, 0.020080560818314552, -0.011271381750702858, 0.05618641525506973, 0.03676699101924896, 0.03126998245716095, 0.005526700522750616, 0.014130393974483013, 0.0053218514658510685, -0.026209387928247452, 0.007246887311339378, 0.0370844230055809, -0.002437588758766651, 0.01253650151193142, -0.05129852518439293, -0.035718295723199844, 0.059962306171655655, -0.02781064435839653, -0.043747127056121826, 0.035005100071430206, 0.08104585856199265, 0.03287786617875099, 0.04232904314994812, 0.012145056389272213, -0.08454185724258423, 0.026064418256282806, 0.020098891109228134, 0.02328895777463913, 0.009372098371386528, -0.03708662465214729, 0.07350458204746246, 0.020740916952490807, 0.004029801581054926, 0.026998886838555336, -0.07383231073617935, -0.08267389982938766, -0.020589973777532578, -0.012421954423189163, 0.07330764085054398, -0.03856485337018967, 0.01250193640589714, 0.0666133314371109, 0.019458111375570297, 0.058299385011196136, 0.005506051704287529, -0.012033912353217602, 0.03246147558093071, -0.04107727110385895, -0.04545240476727486, 0.05966433510184288, 0.0448136068880558, -0.027428263798356056, -0.03927135467529297, 0.024249199777841568, -0.01996121183037758, -0.006522754207253456, 0.054388511925935745, -0.01591276377439499, 0.017765332013368607, 0.010238642804324627, 0.06263674795627594, -0.021054336801171303, 0.04811563342809677, -0.032752640545368195, 0.018653487786650658, -0.011010756716132164, -0.01117384247481823, 0.02257361449301243, 0.015438327565789223, 0.1188882365822792, 0.060267992317676544, -0.07337083667516708, -0.032151393592357635, 0.013775370083749294, 0.009312077425420284, -0.03287924826145172, 0.011228211224079132, -0.01492221001535654, -0.011542984284460545, 0.014276628382503986, -0.05562266334891319, -0.048245370388031006, 0.01135613676160574, -0.05705464258790016, 0.0060884663835167885, 0.06447142362594604, -0.029710661619901657, 0.05843474715948105, -0.02232368104159832, -0.00707661360502243, -0.016093777492642403, -0.016734415665268898, -0.025322429835796356, 0.009370759129524231, 0.0004072811279911548, -0.02811274491250515, 0.04775247350335121, -0.023846957832574844, -0.025142839178442955, -0.04452085122466087, -0.033373866230249405, 0.007936069741845131, 0.049850620329380035, 0.06421593576669693, -0.02339710295200348, 0.057635001838207245, -0.0017775723244994879, 0.03558206185698509, 0.001388862612657249, -0.040356822311878204, -0.040956053882837296, -0.04354024678468704, -0.0030510134529322386, 0.036240994930267334, 0.007100600749254227, 0.03207269683480263, 0.02916574664413929, 0.014760281890630722, -0.002223028102889657, -0.0016716511454433203, 0.02987992949783802, -0.009066085331141949, 0.0011296295560896397, -0.02760353498160839, -0.032173041254282, 0.05077218636870384, -0.045558273792266846, -0.03114979714155197, 0.006428414024412632, -0.07090871036052704, 0.036828264594078064, -0.05008639022707939, -0.042154934257268906, -0.000032371455745305866, 0.01709420420229435, 0.03807689994573593, 0.003357870737090707, 0.02268114872276783, 0.06966014951467514, -0.0011918788077309728, 0.010240462608635426, -0.011543537490069866, -0.01723541133105755, 0.02945180982351303, -0.00394393177703023, 0.0025500336196273565, 0.03750627115368843, 0.005610791966319084, -0.013684083707630634, -0.05297369137406349, 0.04884698987007141, -0.03146611899137497, -0.2662992477416992, 0.04784924164414406, -0.0005347766564227641, -0.03768131881952286, 0.01581686921417713, -0.009092949330806732, 0.02034769020974636, -0.04316405951976776, -0.01767479069530964, 0.011661929078400135, -0.037511248141527176, -0.043629299849271774, -0.04548106715083122, 0.03223899006843567, -0.0004835055733565241, 0.02116318978369236, 0.00927120540291071, -0.01430114358663559, -0.00002301273161720019, 0.04259730875492096, -0.01860572025179863, -0.0669078603386879, 0.0036372081376612186, 0.0355231910943985, 0.05105264484882355, 0.05274977162480354, -0.08323931694030762, 0.033201929181814194, -0.06538999080657959, 0.008038773201406002, 0.003385045798495412, -0.0002849361626431346, 0.015329773537814617, -0.0179602038115263, -0.016260847449302673, -0.012420691549777985, 0.04770923778414726, -0.008302227593958378, 0.0019852444529533386, 0.009926660917699337, -0.023406296968460083, -0.01747671328485012, -0.0255341287702322, 0.00549328001216054, 0.07600604742765427, -0.004198022652417421, -0.08622349798679352, -0.007681307382881641, -0.011991765350103378, 0.06390763819217682, -0.04392109811306, -0.04327160120010376, -0.01707380637526512, 0.03758242726325989, -0.01232697069644928, -0.03567709028720856, -0.0032546664588153362, -0.01621532253921032, -0.04230497032403946, -0.043796807527542114, 0.007502134423702955, -0.01702479086816311, 0.0008347883704118431, -0.050659943372011185, 0.01184810884296894, -0.07797291874885559, -0.05654551461338997, -0.025345012545585632, 0.08771175146102905, 0.027343209832906723, -0.043145135045051575, 0.023992080241441727, -0.003889727406203747, -0.10123444348573685, 0.0065814657136797905, 0.001736778998747468, -0.020116692408919334, 0.024617420509457588, 0.007647087797522545, 0.04156613349914551, -0.03821904957294464, -0.04991776868700981, 0.026198076084256172, 0.004614471923559904, 0.028685444965958595, -0.033197421580553055, 0.03340001404285431, 0.006011022254824638, -0.028448380529880524, 0.004120732191950083, 0.0700385645031929, -0.007907531224191189, -0.02167556807398796, -0.006729318760335445, 0.032292332500219345, 0.02286103367805481, 0.03480960428714752, -0.014937463216483593, 0.002411521039903164, 0.040166959166526794, 0.008123683743178844, -0.05964725837111473, 0.0273929201066494, -0.020855214446783066, 0.0008330359123647213, 0.0018833563663065434, -0.06401743739843369, 0.02084258757531643, 0.03632337599992752, 0.015143266879022121, -0.008252503350377083, -0.034443411976099014, -0.006046394817531109, -0.04847414791584015, -0.04717400297522545, -0.02515312284231186, 0.002680463483557105, 0.025101983919739723, -0.0021870755590498447, -0.01770235039293766, -0.03151799365878105, 0.012280518189072609, -0.0069020893424749374, 0.014771728776395321, -0.06613409519195557, -0.015429636463522911, -0.008373269811272621, -0.03093557432293892, 0.024324696511030197, 0.029666977003216743, -0.0032699129078537226, 0.02122919261455536, -0.003251476911827922, -0.0496121309697628, 0.017147794365882874, -0.01942204311490059, -0.038578398525714874, -0.04071829468011856, 0.001396007719449699, 0.00012058860738761723, 0.004966494161635637, 0.026191337034106255, -0.0033133483957499266, 0.01417966466397047, 0.0552610382437706, 0.018950650468468666, 0.018188539892435074, -0.020369060337543488, 0.021868996322155, 0.019775329157710075, -0.010522136464715004, -0.07431509345769882, 0.015273375436663628, -0.05587874352931976, -0.024366598576307297, -0.020404813811182976, 0.04588809609413147, -0.027398239821195602, -0.045065294951200485, 0.004420766141265631, 0.004944962915033102, -0.06133491173386574, -0.03642882779240608, -0.0015422222204506397, 0.02230636030435562, 0.043079130351543427, -0.016848813742399216, 0.033481717109680176, -0.01259614061564207, -0.006829684134572744, 0.009131585247814655, 0.024093400686979294, -0.04537832364439964, 0.004771410953253508, 0.013721773400902748, -0.013761292211711407, -0.01356334239244461, 0.001740731531754136, 0.03209115192294121, 0.009589619003236294, 0.010524732060730457, -0.018956899642944336, -0.010592544451355934, 0.02632628008723259, 0.054464191198349, 0.017606735229492188, 0.005567597690969706, -0.011078068055212498, -0.021295448765158653, -0.00654754601418972, -0.05076654627919197, -0.010336511768400669, 0.024151140823960304, 0.020790904760360718, -0.03362719714641571, -0.07709116488695145, 0.04222673177719116, 0.02951335906982422, 0.006614900194108486, 0.017683126032352448, -0.018042976036667824, -0.0034983281511813402, -0.03977666422724724, 0.03365056961774826, 0.061040427535772324, -0.06439487636089325, 0.005268014967441559, -0.023824289441108704, 0.00539362570270896, 0.00596569012850523, 0.003396437969058752, -0.046504370868206024, -0.01892225071787834, -0.02902808040380478, 0.01661200076341629, -0.06719522923231125, -0.012749537825584412, -0.011282642371952534, 0.019309477880597115, -0.021946337074041367, 0.007691836450248957, -0.019975239410996437, -0.005077872425317764, -0.02097439393401146, -0.03126177936792374, 0.03925829008221626, -0.048369135707616806, 0.00922407303005457, 0.015274192206561565, -0.06490591168403625, 0.02007230930030346, -0.018657900393009186, 0.008839968591928482, 0.03548446297645569, -0.016524525359272957, -0.015566925518214703, -0.0300655085593462, -0.009106850251555443, -0.011792417615652084, 0.06225541979074478, 0.004437191411852837, -0.011906588450074196, -0.06991945207118988, -0.03080175817012787, -0.040799472481012344, 0.017576424404978752, -0.03199758008122444, 0.004270513076335192, 0.026497971266508102, 0.05591277405619621, 0.04819604009389877, 0.028743185102939606, -0.03336493670940399, -0.01851106993854046, 0.03799767792224884, -0.06296484917402267, -0.03748414292931557, -0.032252129167318344, -0.04414009302854538, 0.014394049532711506, 0.01766044832766056, 0.026911191642284393, -0.027517305687069893, 0.047415219247341156, 0.02770422399044037, 0.028848106041550636, 0.010426626540720463, -0.008058124221861362, 0.0144656952470541, -0.051827359944581985, 0.007749215699732304, -0.08204588294029236, 0.0033490594942122698, 0.03743980824947357, 0.006649937946349382, -0.003142215311527252, 0.0019561632070690393, -0.03579393029212952, 0.046558771282434464, -0.06994183361530304, -0.025338156148791313, 0.03337635472416878, 0.002156294649466872, -0.026597721502184868, 0.02624601311981678, -0.07618039101362228, 0.03600724786520004, 0.03498128056526184, -0.057729847729206085, -0.02073603868484497, -0.028233099728822708, 0.046076495200395584, -0.004070637281984091, 0.05093920975923538, -0.032811541110277176, -0.03966597467660904, 0.07486284524202347, 0.02557896077632904, -0.006612150929868221, 0.05127270519733429, -0.0002938182733487338, 0.04505731165409088, 0.05932167172431946, 0.008997536264359951, 0.0008837790810503066, 0.027739712968468666, -0.00858543161302805, -0.06847167760133743, 0.009990299120545387, -0.0014139271806925535, -0.05763860046863556, -0.037509333342313766, 0.07178161293268204, 0.030703462660312653, -0.036389682441949844, -0.05099044367671013, 0.008917178027331829, -0.0753755271434784, -0.009765321388840675, -0.03472977876663208, -0.006558146793395281, -0.048702094703912735, 0.048173051327466965, 0.02152678556740284, -0.0013638861710205674, 0.06001328304409981, -0.005122594069689512, -0.023267118260264397, -0.0246648658066988, 0.09519215673208237, 0.0837775468826294, 0.05926729738712311, -0.015418725088238716, 0.06578739732503891, -0.015071945264935493, -0.032690685242414474, 0.023204294964671135, -0.016135510057210922, -0.017341550439596176, -0.009196167811751366, 0.011676975525915623, 0.06536560505628586, -0.022653542459011078, 0.08292565494775772, -0.013999586924910545, -0.010304229333996773, 0.016710223630070686, 0.030552778393030167, 0.003567781997844577, 0.06794805824756622, 0.007637746166437864, 0.028562316671013832, -0.017117446288466454, -0.03632430359721184, 0.03784773871302605, -0.04944987595081329, -0.01971760205924511, 0.03126678243279457, -0.008818664588034153, 0.03339102491736412, 0.0100229661911726, 0.011829056777060032, 0.08140324801206589, -0.04166313633322716, 0.010465957224369049, -0.011495290324091911, 0.030981844291090965, -0.0265986118465662, 0.03608796000480652, -0.014578361995518208, -0.010250935330986977, -0.003683839924633503, -0.03708692640066147, -0.019405826926231384, -0.01995513215661049, -0.02694411762058735, 0.04056066647171974, -0.02250518463551998, -0.01555795967578888, 0.021865347400307655, 0.014669593423604965, -0.03472264111042023, -0.06246562302112579, -0.023335393518209457, -0.052297577261924744, -0.06478973478078842, -0.03128647431731224, -0.004713983274996281, -0.015276201069355011, -0.05045368894934654, -0.010360302403569221, -0.04309310391545296, -0.02169482223689556, 0.015361697413027287, -0.05535408481955528, -0.015357608906924725, 0.020180141553282738, 0.01396287139505148, 0.04480446130037308, 0.034455448389053345, 0.04173756390810013, -0.004377158358693123, -0.005378937814384699, -0.012798340059816837, 0.015292692929506302, 0.0305042527616024, 0.007576269097626209, -0.016614388674497604, -0.08414402604103088, 0.028049977496266365, 0.00991707481443882, 0.006442129146307707, -0.06962896138429642, 0.026835530996322632, 0.01102293562144041, 0.018583307042717934, 0.05721277743577957, -0.013440919108688831, 0.021825425326824188, -0.02080552652478218, 0.0063952249474823475, -0.009781710803508759, -0.006402285303920507, 0.0462154895067215, -0.016185440123081207, 0.08626217395067215, 0.0211790818721056, -0.02335716411471367, -0.0408654622733593, -0.020940233021974564, 0.0014761645579710603, -0.005442519672214985, -0.03312816098332405, -0.04425252228975296, -0.027629174292087555, -0.08036061376333237, -0.015587817877531052, 0.0277094766497612, -0.0025167919229716063, -0.023866506293416023, 0.034782908856868744, 0.027475235983729362, -0.021657926961779594, 0.04800870642066002, -0.061006613075733185, 0.03964534401893616, -0.009398353286087513, 0.0008658078731968999, -0.011821301653981209, 0.00858698133379221, -0.002428219886496663, -0.005565043073147535, -0.0018323721596971154, -0.037801098078489304, 0.010883258655667305, 0.015025969594717026, 0.03823597729206085, 0.02791350521147251, 0.012850274331867695, 0.01461721584200859 ]
[ -0.08706875890493393, -0.01841883361339569, -0.012377312406897545, -0.04247495159506798, 0.04592321440577507, -0.02919592335820198, -0.015809467062354088, 0.029865074902772903, -0.007472837343811989, -0.02024519257247448, 0.009386505000293255, -0.005390732083469629, 0.0006308575393632054, -0.022091133520007133, 0.07583460956811905, 0.034337762743234634, -0.0193325262516737, -0.07543589919805527, -0.01080949604511261, 0.012275072745978832, 0.020617857575416565, -0.04137038439512253, -0.013645348139107227, -0.030542239546775818, 0.03185294568538666, 0.02003595046699047, 0.01760288141667843, -0.04579319432377815, 0.001128767617046833, -0.1553240716457367, 0.012060624547302723, 0.016432935371994972, 0.06944005936384201, -0.02757997065782547, 0.0032087459694594145, 0.06929207593202591, 0.022570999339222908, 0.018345754593610764, -0.021000752225518227, 0.04807400330901146, 0.02634507790207863, -0.01319710910320282, -0.048100657761096954, -0.034673210233449936, 0.05360203608870506, -0.0012816141825169325, 0.004361849278211594, -0.05741623789072037, -0.01579255610704422, 0.021486753597855568, -0.0726052075624466, -0.031292710453271866, -0.04062962159514427, -0.03366198018193245, -0.019436556845903397, 0.02405800111591816, 0.0324321985244751, 0.09195370972156525, -0.011616634204983711, 0.015841897577047348, 0.033091671764850616, -0.01685488037765026, -0.11376378685235977, 0.10140804201364517, 0.044189274311065674, 0.04701177403330803, -0.04342013597488403, -0.0005098145338706672, -0.018764210864901543, 0.09867094457149506, 0.0017086716834455729, -0.007784733083099127, -0.030735233798623085, 0.05300049111247063, 0.011443467810750008, 0.009075540117919445, 0.01646077260375023, 0.023156985640525818, 0.020887209102511406, -0.05005249008536339, -0.03320032358169556, -0.006184671074151993, -0.011685454286634922, -0.010670606978237629, -0.03587982803583145, 0.01616542600095272, 0.003954581916332245, 0.0471775159239769, 0.040522072464227676, 0.017871571704745293, 0.0548824742436409, -0.0280326958745718, 0.013354784809052944, -0.01485059317201376, -0.09084054082632065, -0.037296880036592484, 0.010938630439341068, 0.03037278912961483, -0.0434848815202713, 0.4685438871383667, -0.029440930113196373, -0.012407640926539898, 0.0949193611741066, 0.012062269262969494, 0.0067247916013002396, -0.015107509680092335, 0.030330874025821686, -0.02591034024953842, 0.009667755104601383, -0.03337932750582695, 0.01777096651494503, 0.018413636833429337, 0.056607283651828766, -0.03127770125865936, 0.03180587291717529, 0.021499650552868843, 0.029711950570344925, 0.041873957961797714, 0.012591889128088951, -0.005969722289592028, -0.017693404108285904, 0.0015296749770641327, 0.022989941760897636, -0.02213558368384838, -0.04346533492207527, -0.04833861440420151, 0.02042097970843315, 0.0640709400177002, 0.03732135891914368, 0.013555885292589664, 0.05714957416057587, -0.013473018072545528, -0.05334636569023132, 0.011257393285632133, -0.0058593666180968285, 0.0073338779620826244, 0.01957579143345356, -0.029738591983914375, 0.007594332564622164, 0.05285746604204178, 0.009818604215979576, 0.004021640866994858, 0.03787579759955406, -0.006204636301845312, -0.030344340950250626, 0.10750332474708557, 0.011902175843715668, -0.024209434166550636, -0.02767273224890232, -0.06709108501672745, 0.0037620558869093657, 0.030399130657315254, -0.004512378480285406, -0.07360157370567322, 0.03453044220805168, -0.005110140889883041, 0.1044355034828186, -0.03175218403339386, -0.05695004016160965, -0.01871064119040966, -0.042103298008441925, -0.026971733197569847, -0.04942085221409798, 0.010931740514934063, 0.06275790184736252, -0.12468504905700684, 0.004722889047116041, 0.004782725591212511, 0.016444237902760506, -0.05012710019946098, -0.00026678768335841596, -0.015594793483614922, -0.03273387998342514, -0.02130800485610962, 0.039764631539583206, -0.047107502818107605, -0.029780065640807152, 0.028683386743068695, 0.06364128738641739, 0.031258754432201385, 0.03578559681773186, 0.005295454524457455, -0.02074119634926319, 0.008272342383861542, -0.04678218066692352, -0.07500904053449631, -0.03325584530830383, -0.016092592850327492, -0.03046293929219246, 0.011448447592556477, -0.041131164878606796, -0.025818126276135445, -0.08622872829437256, 0.057773295789957047, -0.02569861337542534, -0.005378091242164373, 0.03766319155693054, -0.01625397987663746, -0.018743393942713737, -0.022700924426317215, -0.07100724428892136, 0.009917281568050385, -0.045570798218250275, 0.021733572706580162, -0.05572442710399628, 0.0384780690073967, 0.07886379212141037, -0.03575299307703972, 0.10548285394906998, 0.06461629271507263, -0.05077013000845909, -0.04781792312860489, 0.022942082956433296, 0.006999628618359566, 0.013275795616209507, -0.028611859306693077, 0.011034484952688217, 0.04009062051773071, 0.005342938471585512, 0.018082620576024055, -0.027576718479394913, -0.014953195117413998, -0.03379347175359726, -0.30919480323791504, -0.04923960566520691, -0.009490154683589935, 0.02139148861169815, 0.00884243194013834, -0.05702633038163185, 0.031818270683288574, -0.028545306995511055, -0.026938049122691154, 0.016437863931059837, 0.08747632801532745, -0.041879892349243164, 0.030393660068511963, -0.07800459861755371, -0.003110184334218502, 0.00308622932061553, -0.02458001673221588, 0.004252731334418058, 0.015370864421129227, 0.0017852996243163943, 0.006994056981056929, -0.011727158911526203, 0.016628436744213104, -0.0656752809882164, -0.019479941576719284, -0.05260681360960007, 0.07612276077270508, 0.04096857085824013, 0.08303307741880417, -0.026552513241767883, 0.0542990081012249, -0.00604240084066987, 0.040300142019987106, -0.13508500158786774, 0.007403340190649033, 0.0023548344615846872, 0.0028083613142371178, -0.03799526020884514, 0.0035509238950908184, -0.048057060688734055, -0.04691935330629349, 0.015014244243502617, -0.07047636061906815, -0.035681940615177155, -0.09521184116601944, 0.010637525469064713, -0.04086693376302719, -0.05396435782313347, -0.04732605069875717, 0.06417800486087799, 0.014091788791120052, -0.02358097955584526, 0.02194879576563835, -0.00810373853892088, -0.001922507188282907, -0.03781057521700859, -0.0801156759262085, 0.029641738161444664, 0.01000270713120699, 0.006333526689559221, 0.03695482760667801, 0.04647136107087135, 0.009492240846157074, -0.04423344507813454, 0.0011387470876798034, 0.004433903377503157, -0.023995351046323776, 0.02288181520998478, 0.02028985135257244, -0.02239726111292839, -0.01838543452322483, 0.09234116226434708, 0.006718072574585676, 0.010564593598246574, 0.025169912725687027, 0.010543908923864365, -0.013736986555159092, 0.025325022637844086, 0.019960472360253334, -0.026515331119298935, 0.014371526427567005, -0.012101652100682259, 0.05133328214287758, -0.017041634768247604, -0.011764089576900005, 0.048325639218091965, -0.005622220225632191, -0.044377174228429794, 0.06011297553777695, 0.03189782425761223, -0.03897833824157715, 0.023330960422754288, -0.026367446407675743, -0.05707676708698273, 0.07744993269443512, -0.0030606191139668226, -0.2254527509212494, 0.004735820461064577, 0.05080191045999527, 0.03779544681310654, 0.004948175512254238, 0.028960518538951874, 0.05329066142439842, -0.048950135707855225, 0.0032384884543716908, 0.03378094732761383, 0.025014983490109444, 0.039149682968854904, -0.02390223927795887, 0.005409272387623787, 0.054444655776023865, -0.009278932586312294, 0.012608850374817848, 0.006522694136947393, -0.021627314388751984, 0.009031848981976509, 0.022055555135011673, -0.003970297519117594, 0.14707493782043457, -0.00490317540243268, 0.026782745495438576, 0.015418666414916515, 0.01263425126671791, 0.010074397549033165, 0.07014749199151993, 0.0005662577459588647, -0.0025061299093067646, -0.015348291955888271, 0.03308600187301636, 0.0044343494810163975, 0.016227049753069878, -0.07186301797628403, -0.02064438723027706, 0.020329749211668968, 0.021511748433113098, -0.0031224526464939117, 0.02277211844921112, -0.006931005511432886, -0.008405798114836216, 0.052814781665802, 0.05470458045601845, 0.01777752861380577, 0.015549972653388977, -0.05611705407500267, -0.06847938150167465, -0.022260632365942, -0.027595266699790955, -0.021856563165783882, 0.005607405211776495, 0.015066161751747131, -0.009664308279752731, 0.06597652286291122, 0.01922643557190895, -0.028234247118234634, -0.004162636119872332, -0.007350806146860123, -0.02506798505783081, -0.005503227934241295, 0.12352091819047928, 0.04332110285758972, 0.03937641531229019 ]
[ 0.009179298765957355, 0.00034893365227617323, 0.013626370579004288, -0.00005714226790587418, 0.012686025351285934, -0.021163335070014, 0.01888946071267128, -0.0022545745596289635, -0.006884644739329815, -0.003800275269895792, -0.012164064683020115, 0.036273036152124405, 0.02400045655667782, -0.014808688312768936, 0.032078783959150314, -0.005870039574801922, -0.0064667509868741035, -0.01259617693722248, 0.01665479503571987, 0.005400704685598612, -0.00953777227550745, 0.013529248535633087, 0.018728941679000854, 0.01736811362206936, -0.003372741863131523, 0.007022528443485498, -0.026835210621356964, -0.002868130337446928, 0.024031056091189384, -0.11936677992343903, -0.030222099274396896, 0.0031849564984440804, -0.019461236894130707, 0.02418137714266777, -0.020275946706533432, 0.0010752470698207617, -0.011176330037415028, 0.015204334631562233, 0.009725900366902351, 0.006845039315521717, -0.023626022040843964, -0.06858942657709122, -0.0207199864089489, 0.033224526792764664, 0.004725529346615076, 0.00486911041662097, 0.027251504361629486, -0.0307050421833992, 0.00035840863711200655, -0.04092678055167198, -0.038180477917194366, -0.03239449858665466, -0.025894498452544212, 0.0015574648277834058, -0.03520113229751587, -0.0091407410800457, -0.02113526500761509, 0.007511311676353216, 0.003494484582915902, -0.008693942800164223, 0.016208136454224586, -0.011985444463789463, -0.03630426153540611, -0.009381541982293129, 0.0012742632534354925, -0.004030392039567232, -0.005775277502834797, 0.0037904884666204453, -0.018786795437335968, 0.007025094702839851, 0.013609164394438267, 0.055232442915439606, -0.046275507658720016, -0.022746825590729713, 0.0062147099524736404, 0.0026678310241550207, -0.002326000016182661, 0.008502659387886524, 0.021632831543684006, -0.003670371137559414, -0.011125536635518074, 0.022226307541131973, 0.03218068927526474, 0.029647566378116608, -0.01268110703676939, -0.034962862730026245, 0.041224244982004166, 0.010042835026979446, -0.0018768912414088845, 0.013362503610551357, 0.00733910221606493, 0.009771340526640415, -0.0006641173968091607, 0.019658472388982773, -0.11085203289985657, -0.014146012254059315, -0.034810420125722885, -0.03156745433807373, -0.006551939528435469, 0.8598453402519226, 0.01737895794212818, 0.005947099067270756, 0.034909263253211975, 0.02114076353609562, 0.03904679790139198, 0.016284510493278503, 0.0024851616472005844, 0.028749778866767883, 0.030369766056537628, -0.027517598122358322, 0.0009246365516446531, 0.03986304998397827, -0.011266211979091167, 0.01567625068128109, 0.02616182528436184, 0.04785772040486336, 0.017548056319355965, -0.00017473332991357893, 0.020777089521288872, 0.02273366041481495, 0.01637398637831211, 0.03329350799322128, 0.004711116664111614, 0.009282825514674187, -0.010229692794382572, -0.16780385375022888, 0.003179724095389247, -7.517220251951295e-33, 0.061523932963609695, 0.01743081770837307, -0.012170342728495598, 0.004918373189866543, -0.008175872266292572, 0.002366776578128338, 0.0020308992825448513, 0.04713981971144676, -0.04685153812170029, -0.017627164721488953, 0.011839646846055984, -0.001840995973907411, 0.013606703840196133, -0.023847319185733795, 0.04480389505624771, -0.028456835076212883, -0.01899709366261959, 0.012952135875821114, 0.016712611541152, 0.024516403675079346, 0.029483914375305176, 0.024857260286808014, 0.0012637474574148655, 0.010560285300016403, 0.028170252218842506, 0.016604963690042496, 0.00669551407918334, -0.004709920380264521, -0.03205106034874916, -0.04271836206316948, -0.017894012853503227, -0.006387362256646156, -0.04129582643508911, -0.0351533368229866, 0.006377317477017641, -0.05049991235136986, -0.005177166312932968, 0.0026574681978672743, -0.01632312871515751, -0.027180902659893036, -0.04910029470920563, 0.007252924609929323, -0.017534654587507248, -0.043228309601545334, 0.001926541910506785, 0.0020966921001672745, -0.010051606222987175, 0.0020171471405774355, 0.01424120832234621, -0.011455433443188667, 0.027788488194346428, -0.0008519254042766988, -0.012446137145161629, 0.006152735091745853, -0.03096606396138668, 0.018185151740908623, -0.004605064634233713, 0.004705712199211121, 0.008298617787659168, 0.02805604785680771, 0.03544903174042702, -0.0031684518326073885, -0.01782035268843174, 0.0354480966925621, -0.004974247422069311, 0.0005363954114727676, 0.00854366272687912, 0.011292691342532635, 0.023110423237085342, -0.010624703951179981, -0.042052000761032104, 0.005460856482386589, -0.019400237128138542, -0.009332225657999516, -0.009486876428127289, 0.01195969432592392, -0.0194774828851223, -0.019375553354620934, -0.004292916506528854, 0.04438523203134537, -0.015114916488528252, 0.010135834105312824, -0.010486019775271416, -0.04389107972383499, -0.010424734093248844, 0.0037609199061989784, 0.03750653192400932, -0.006597747094929218, -0.020114542916417122, 0.010538642294704914, 0.03118228167295456, 0.04336543381214142, 0.0037002379540354013, -0.023793388158082962, -0.02452276460826397, 7.374329362717245e-33, -0.012506574392318726, -0.01521126739680767, -0.019731540232896805, 0.0001904914533952251, 0.024587472900748253, 0.006573015823960304, 0.05188834294676781, 0.02171855792403221, -0.054522041231393814, 0.05487421900033951, 0.007719115354120731, -0.00299334479495883, -0.014232282526791096, 0.018543416634202003, 0.04985790699720383, -0.02193882130086422, -0.007296585012227297, -0.045519761741161346, 0.0052031539380550385, 0.009785596281290054, -0.004184379242360592, 0.02243993990123272, -0.006832906510680914, 0.0052589187398552895, 0.013981505297124386, 0.04962586238980293, -0.011438635177910328, 0.024882396683096886, 0.00530828395858407, -0.0004454403533600271, 0.0026990999467670918, -0.019795183092355728, 0.02693207748234272, 0.0029453507158905268, -0.005023913457989693, 0.03336833044886589, -0.021967193111777306, -0.01787511073052883, 0.02534487098455429, -0.008844339288771152, 0.03456590324640274, -0.005411237943917513, 0.021729914471507072, 0.031561993062496185, -0.013905425556004047, -0.00954478234052658, -0.009708600118756294, 0.0015964398626238108, -0.016910631209611893, 0.011349634267389774, 0.02167811058461666, -0.0033246593084186316, -0.01513152476400137, -0.003731097560375929, -0.0032656078692525625, -0.040882743895053864, -0.020440367981791496, -0.008510682731866837, -0.04108522832393646, 0.006601858884096146, -0.018745847046375275, 0.005167099647223949, -0.006696557160466909, 0.001523394719697535, -0.01363745704293251, -0.04270394146442413, -0.033151775598526, 0.010916602797806263, -0.011993165127933025, -0.011880965903401375, 0.002802028087899089, 0.010509584099054337, 0.00039841767284087837, 0.021556025370955467, 0.04196310043334961, -0.02984866313636303, 0.0009892088128253818, 0.04127227142453194, -0.03079480491578579, 0.01698722504079342, 0.015912750735878944, 0.03717632591724396, 0.01602616347372532, -0.018697120249271393, -0.02112211100757122, 0.008373990654945374, -0.010809804312884808, 0.03145316615700722, 0.012105939909815788, -0.03173687309026718, 0.001622890355065465, -0.006368642207235098, -0.0068512666039168835, 0.021276993677020073, -0.003666010219603777, -1.3225587736087618e-8, -0.046227000653743744, 0.021927719935774803, -0.02666213922202587, 0.016925066709518433, 0.02126948907971382, -0.00044009333942085505, -0.004269011318683624, 0.007207653019577265, -0.020112773403525352, 0.01837819814682007, 0.03606317564845085, -0.02157796360552311, 0.0016412418335676193, 0.026314089074730873, 0.001314557041041553, -0.03105977177619934, -0.021462421864271164, -0.052643951028585434, 0.02868855930864811, 0.006004061549901962, 0.03949788585305214, 0.0344829261302948, -0.043189626187086105, 0.004886004142463207, 0.025369660928845406, -0.020176663994789124, -0.018070193007588387, -0.06834373623132706, -0.004474200773984194, 0.0030442350544035435, -0.00375552149489522, -0.03632264584302902, -0.0460420660674572, 0.0016687605530023575, -0.0016947780968621373, -0.036424558609724045, 0.02064199186861515, -0.023364322260022163, -0.01256511826068163, -0.00004975108822691254, -0.01959974318742752, -0.0299921166151762, 0.0011906216386705637, -0.03513126075267792, -0.023517077788710594, 0.005647779908031225, -0.020856356248259544, -0.013252816163003445, 0.018283655866980553, -0.026758883148431778, -0.023033373057842255, -0.01250786054879427, 0.03288331255316734, 0.06142902001738548, 0.02154458686709404, -0.014301721937954426, 0.0058088465593755245, -0.014080510474741459, -0.04075249284505844, -0.02578231506049633, 0.02088848128914833, 0.06001811474561691, -0.024711167439818382, -0.032385051250457764 ]
a-new-years-idea-share-what-you-learn
https://markhneedham.com/blog/2013/01/05/a-new-years-idea-share-what-you-learn
false
2013-01-02 00:16:50
Haskell: Reading files
[ "haskell" ]
[ "Haskell" ]
In writing the https://github.com/mneedham/algorithms2/blob/master/clustering.hs[clustering algorithm] which I've mentioned way too many times already I needed to process a text file which contained all the points and my initial approach looked like this: [source,haskell] ---- import System.IO main = do withFile "clustering2.txt" ReadMode (\handle -> do contents <- hGetContents handle putStrLn contents) ---- It felt a bit clunky but I didn't realise there was an easier way until I came across http://stackoverflow.com/questions/7867723/haskell-file-reading[this thread]. We can simplify reading a file to the following by using the +++<cite>+++http://zvon.org/other/haskell/Outputprelude/readFile_f.html[readFile]+++</cite>+++ function: [source,haskell] ---- main = do contents <- readFile "clustering2.txt" putStrLn contents ---- We need to read the file in the IO monad which explains why we have the 'do' notation on the first line. Another thing I http://www.haskell.org/ghc/docs/7.2.2/html/users_guide/interactive-evaluation.html[didn't realise until recently] was that you don't actually need to worry about the 'do' notation if you try to read from the IO monad inside GHCI. In this context we're reading from the IO monad when we bind 'readFile' to the variable 'contents' since 'readFile' returns type 'IO String': [source,text] ---- > :t readFile readFile :: FilePath -> IO String ---- We can therefore play around with the code pretty easily: [source,haskell] ---- > contents <- readFile "clustering2.txt" > let (bits, nodes) = process contents > bits 24 > length nodes 19981 > take 10 nodes [379,1669,5749,6927,7420,9030,9188,9667,11878,12169] ---- I think we're able to do this because by being in GHCI we're already in the context of the IO monad but I'm happy to be corrected if I haven't explained that correctly.
null
null
[ -0.0007784961489960551, 0.010423540137708187, -0.053816452622413635, 0.041154395788908005, 0.06813633441925049, 0.03036671318113804, 0.012089785188436508, 0.03136090561747551, 0.019890878349542618, -0.005735136102885008, 0.012280553579330444, -0.0027399833779782057, -0.07013110816478729, 0.011675171554088593, -0.017342466861009598, 0.040072888135910034, 0.07515270262956619, -0.04322633147239685, 0.005818855948746204, 0.011973154731094837, 0.005524752661585808, 0.07657331228256226, 0.00350469583645463, 0.01490842830389738, 0.023606136441230774, 0.009856144897639751, 0.010074005462229252, 0.011869067326188087, -0.048701394349336624, 0.022312676534056664, 0.043484896421432495, -0.005933298729360104, 0.013431212864816189, -0.010562448762357235, 0.031667981296777725, -0.015014640986919403, -0.006462202873080969, -0.006782008800655603, 0.02408555895090103, 0.021602582186460495, -0.06311009079217911, 0.03653281554579735, -0.020646534860134125, 0.0019555457402020693, -0.03493857756257057, -0.013456356711685658, -0.04333614930510521, 0.021146848797798157, -0.03549795597791672, 0.008699310943484306, -0.06147075816988945, 0.009713511914014816, -0.031137490645051003, -0.0186135396361351, 0.0017116613453254104, 0.06546702235937119, 0.02464582957327366, -0.04786677658557892, 0.05479983240365982, -0.031781237572431564, -0.016039447858929634, -0.05299099534749985, 0.029292169958353043, 0.024548938497900963, 0.03798176348209381, -0.029163774102926254, -0.0316949188709259, 0.0550227165222168, -0.04061908647418022, -0.024426309391856194, 0.0018387660384178162, 0.03992246463894844, -0.04869455471634865, -0.009675326757133007, 0.04337083920836449, -0.034261688590049744, -0.003816593438386917, 0.05351494625210762, 0.0010135809425264597, 0.04321093484759331, -0.03678346797823906, 0.042198456823825836, 0.0030521342996507883, 0.01675168052315712, 0.0022494904696941376, -0.026704080402851105, -0.02566940151154995, 0.009147020056843758, -0.05423850566148758, 0.060128502547740936, 0.0058448705822229385, -0.03797903656959534, -0.028221124783158302, 0.0187626201659441, 0.03185950219631195, 0.02186019904911518, 0.004502682946622372, 0.02074044570326805, 0.0038142080884426832, 0.0011542185675352812, -0.05567741394042969, -0.0019085448002442718, 0.01801484264433384, 0.0012975622666999698, -0.06665457785129547, -0.006227155216038227, -0.024004321545362473, -0.014716063626110554, 0.02979978919029236, -0.007348795887082815, 0.009969054721295834, -0.016008153557777405, -0.024452894926071167, 0.02197795920073986, -0.07261708378791809, 0.06486891955137253, 0.025905441492795944, -0.005851368885487318, 0.013732473365962505, 0.0516972579061985, 0.04018058255314827, 0.03668895363807678, 0.021524528041481972, 0.07842419296503067, 0.0035663575399667025, 0.02215416729450226, 0.013483094051480293, 0.045133549720048904, 0.0018243957310914993, -0.07264881581068039, -0.029575468972325325, 0.05038188397884369, -0.019271962344646454, -0.0006303782574832439, -0.019972164183855057, -0.008538522757589817, -0.021519601345062256, -0.007915426045656204, 0.044842690229415894, 0.044140223413705826, 0.011488575488328934, -0.05472194403409958, 0.010937763378024101, -0.042099397629499435, 0.021603427827358246, 0.01318589597940445, -0.021680021658539772, -0.013460229150950909, -0.025257760658860207, 0.029481325298547745, 0.026735223829746246, 0.025349030271172523, 0.05670281872153282, -0.03828873112797737, 0.020487062633037567, 0.09778851270675659, 0.01760181598365307, 0.030744412913918495, -0.0051654246635735035, 0.01821001246571541, 0.049751874059438705, 0.058529965579509735, 0.011935501359403133, 0.021533912047743797, 0.0136671531945467, -0.027262842282652855, -0.006141447927802801, 0.024183202534914017, -0.020110614597797394, -0.008854016661643982, -0.034729357808828354, -0.0389757975935936, 0.04776259511709213, -0.021032987162470818, -0.001283929217606783, -0.00039635036955587566, 0.07745246589183807, 0.012284873984754086, 0.03218209743499756, -0.015192633494734764, -0.08110947161912918, 0.030797719955444336, -0.0017187405610457063, 0.04068710282444954, -0.0005849833250977099, 0.00017270910029765218, 0.05940169095993042, 0.021344298496842384, 0.016159899532794952, -0.00040017510764300823, -0.05044597387313843, -0.09899161756038666, -0.02510894648730755, 0.007707488723099232, 0.07262906432151794, -0.01755439303815365, 0.0010982914827764034, 0.052261222153902054, 0.008512760512530804, 0.016168035566806793, 0.03388342633843422, -0.011169529519975185, 0.02229938842356205, -0.04236534237861633, -0.045109882950782776, 0.025048911571502686, 0.033053550869226456, -0.023610541597008705, -0.0556035153567791, -0.020249472931027412, -0.021631484851241112, 0.015504528768360615, 0.04293300211429596, -0.034063566476106644, 0.043473511934280396, 0.045541245490312576, 0.019778672605752945, -0.005776129197329283, 0.06849014759063721, -0.06134246662259102, 0.02943609468638897, -0.009840487502515316, -0.01184910163283348, -0.0083516426384449, -0.01363388728350401, 0.12730064988136292, 0.08004096150398254, -0.03588173910975456, -0.04054469242691994, 0.003026885911822319, -0.017895333468914032, -0.05766033008694649, 0.0049464101903140545, 0.02186458371579647, -0.019532939419150352, 0.0294888187199831, -0.04029180482029915, 0.00938061811029911, 0.011352336034178734, -0.03270972520112991, -0.025379816070199013, 0.06173054128885269, -0.010319573804736137, 0.02582215517759323, 0.03439558297395706, -0.02549606002867222, 0.012514867819845676, -0.030716247856616974, -0.06495866179466248, -0.005091311875730753, 0.024380814284086227, -0.0002954383671749383, 0.0366494283080101, -0.031080253422260284, -0.011927293613553047, -0.019064361229538918, -0.03647775575518608, 0.024494150653481483, 0.05770508199930191, 0.04773944243788719, -0.014343841932713985, 0.03167149797081947, -0.038737792521715164, -0.010442208498716354, -0.01849502883851528, -0.036521513015031815, -0.04865288734436035, -0.0028061065822839737, -0.0024225846864283085, 0.02110322192311287, 0.0075670466758310795, 0.002851911121979356, 0.023150408640503883, 0.0000025171684683300555, 0.0010969454888254404, -0.03198596090078354, 0.062180694192647934, -0.040766216814517975, -0.02188783697783947, -0.028378430753946304, -0.030775340273976326, 0.05995985493063927, -0.0483948215842247, -0.03212561085820198, -0.009248826652765274, -0.039528582245111465, 0.06485432386398315, -0.07101190090179443, -0.04481617733836174, -0.01804465427994728, 0.011804374866187572, 0.015589727088809013, -0.01870143972337246, -0.002733413130044937, 0.06665517389774323, 0.02629189006984234, 0.02658025175333023, 0.026946989819407463, 0.025137992575764656, 0.008217575028538704, -0.007278146222233772, 0.03183019906282425, 0.03458257392048836, -0.021920660510659218, -0.019183671101927757, -0.024288592860102654, 0.0054162838496267796, -0.00999445840716362, -0.2610687017440796, 0.05117480084300041, -0.023015908896923065, -0.03387036547064781, 0.028550108894705772, -0.02850314788520336, -0.015288284048438072, -0.0472438670694828, -0.010447896085679531, 0.0001774116390151903, -0.04084286466240883, -0.01593187265098095, -0.029194818809628487, 0.035872843116521835, 0.0053044394589960575, -0.0025160950608551502, -0.00871230661869049, -0.042566101998090744, -0.007246405817568302, 0.04161423072218895, -0.023300020024180412, -0.03512616083025932, 0.014877758920192719, 0.0412779301404953, -0.0009436177206225693, 0.030154399573802948, -0.09136433899402618, 0.06356672197580338, -0.02249195985496044, -0.03298184648156166, -0.02904300019145012, -0.02214941754937172, 0.01772516965866089, -0.02306426502764225, -0.007939523085951805, -0.024355750530958176, 0.029509248211979866, 0.03473271057009697, 0.034723423421382904, 0.02920006774365902, -0.02519361302256584, -0.050406888127326965, -0.022760678082704544, -0.05643044412136078, 0.07373601198196411, -0.0409470796585083, -0.074891097843647, -0.03486737608909607, -0.018262548372149467, 0.08200090378522873, -0.04440634325146675, -0.06151212379336357, -0.03357548266649246, 0.04522652179002762, 0.006110854912549257, -0.019532322883605957, 0.006647524423897266, -0.013377351686358452, -0.038448285311460495, -0.05177520588040352, -0.04077925905585289, -0.05874747410416603, -0.013469448313117027, -0.058986857533454895, -0.013141630217432976, -0.06382527947425842, -0.07642872631549835, -0.0011095321970060468, 0.05542982742190361, 0.020878037437796593, -0.013250145129859447, 0.025884537026286125, -0.04321564733982086, -0.11395163089036942, -0.036664918065071106, -0.024136066436767578, -0.03763853386044502, -0.01862516812980175, 0.01494640950113535, 0.04886665195226669, -0.05378018692135811, -0.04681674763560295, 0.037912655621767044, -0.0010767229832708836, 0.04863821342587471, -0.05497755855321884, 0.004909162409603596, -0.043845199048519135, -0.023179976269602776, -0.029970888048410416, 0.043740831315517426, -0.022876642644405365, 0.0016059239860624075, -0.029546089470386505, 0.01810174062848091, 0.032508473843336105, -0.012540161609649658, 0.005804223939776421, 0.015696797519922256, 0.03363135829567909, 0.06373903900384903, -0.030566468834877014, 0.024733522906899452, -0.025096338242292404, -0.025147438049316406, -0.005131246522068977, -0.06352347135543823, 0.04000525176525116, 0.03541216254234314, 0.018234774470329285, -0.02021193318068981, -0.02229274809360504, 0.022593367844820023, -0.056700002402067184, -0.008354930207133293, -0.0018443259177729487, -0.005700189154595137, 0.008189898915588856, 0.05887207016348839, 0.0023184989113360643, -0.0366833321750164, -0.015706272795796394, 0.027556901797652245, -0.03756430372595787, -0.04063937067985535, -0.03608568012714386, -0.007954033091664314, -0.022893330082297325, 0.031261418014764786, 0.02157256007194519, -0.036542512476444244, 0.02288132533431053, 0.04165610671043396, -0.034313786774873734, 0.03247026354074478, -0.04032284766435623, -0.022232361137866974, -0.04910961538553238, -0.012275127694010735, -0.01682102680206299, 0.022451451048254967, 0.009376457892358303, 0.03236791118979454, 0.039442870765924454, 0.06424134969711304, 0.0044986833818256855, 0.007168409414589405, 0.009591953828930855, -0.0015796525403857231, -0.023371731862425804, -0.011898116208612919, -0.054868102073669434, 0.01591477356851101, -0.010992645286023617, -0.05091780051589012, -0.03084397502243519, 0.03420502692461014, -0.01230979897081852, -0.02264048345386982, -0.04401884600520134, 0.039629384875297546, -0.004458345472812653, -0.015683140605688095, -0.030098451301455498, -0.00750040402635932, 0.05287523940205574, -0.023664632812142372, 0.06721722334623337, -0.022307565435767174, 0.0029340002220124006, 0.010362590663135052, 0.014620035886764526, -0.01884252205491066, 0.021625636145472527, -0.017937565222382545, -0.008980853483080864, 0.021169675514101982, 0.02648903802037239, 0.02796473726630211, 0.01671716198325157, -0.01319886650890112, -0.03623915836215019, 0.010152818635106087, 0.0023643418680876493, 0.049099601805210114, 0.026584608480334282, 0.003960529342293739, 0.0037352906074374914, -0.03768661990761757, -0.009787489660084248, -0.016772227361798286, 0.0014306212542578578, -0.024690687656402588, 0.0504201203584671, -0.02736246958374977, -0.08499694615602493, 0.024113550782203674, 0.010273046791553497, 0.012486148625612259, 0.005108184646815062, 0.016606001183390617, 0.008248216472566128, -0.004850766621530056, 0.014022285118699074, 0.06692662835121155, -0.03364536166191101, 0.0020402069203555584, 0.0038727784994989634, 0.03213493898510933, 0.019753435626626015, 0.00998509768396616, -0.05153084546327591, -0.019191531464457512, -0.009228508919477463, 0.0007999022491276264, -0.030017314478754997, -0.033002179116010666, -0.038758087903261185, 0.0007016477757133543, -0.01947699673473835, -0.0238173920661211, 0.0005395048065111041, -0.017632219940423965, -0.021539557725191116, -0.03047078661620617, -0.004551819059997797, -0.03545743599534035, -0.022047441452741623, 0.05643240734934807, -0.01865173503756523, 0.026231802999973297, -0.016186537221074104, 0.04219928756356239, 0.040861424058675766, -0.016964487731456757, -0.03636929392814636, -0.039027098566293716, 0.03138897567987442, -0.01576373167335987, 0.07644431293010712, 0.0050333961844444275, -0.013556317426264286, 0.0022176571656018496, 0.00880269892513752, -0.04473605751991272, -0.010129704140126705, -0.020539218559861183, -0.03988495096564293, 0.02302863448858261, 0.06820089370012283, -0.005169004667550325, 0.027905747294425964, -0.004054903984069824, -0.03361571207642555, 0.06188812851905823, -0.029654838144779205, -0.051047202199697495, -0.023724446073174477, -0.02137797512114048, 0.03339288383722305, 0.02256946824491024, 0.0062247756868600845, -0.039041876792907715, 0.030994130298495293, 0.06773936748504639, 0.04334801807999611, 0.02709493599832058, -0.019792679697275162, 0.03956441953778267, -0.03151482343673706, -0.01245701964944601, -0.10761061310768127, -0.018963050097227097, 0.006388487759977579, 0.0020810402929782867, -0.02746264822781086, -0.021064039319753647, 0.0017897007055580616, 0.030750697478652, -0.062009550631046295, -0.04323122650384903, 0.04383106157183647, -0.000032478044886374846, 0.027647478505969048, 0.017398854717612267, -0.05070514976978302, 0.007903233170509338, 0.03515894338488579, -0.02584080584347248, -0.03007490374147892, -0.03196431323885918, 0.03761649504303932, -0.010578213259577751, 0.021009597927331924, -0.005850887857377529, -0.024536551907658577, 0.053860098123550415, 0.044311415404081345, 0.002376104472205043, 0.061712827533483505, -0.02129751816391945, 0.03338579088449478, 0.0200099628418684, -0.028233973309397697, 0.003284235717728734, 0.012289988808333874, -0.03156456723809242, -0.03310604393482208, -0.004810101818293333, 0.040348052978515625, -0.0071611045859754086, -0.01637342944741249, 0.06575270742177963, 0.016976935788989067, -0.01945767179131508, -0.055004194378852844, 0.03599928319454193, -0.04044346138834953, 0.02443409524857998, -0.02730485051870346, 0.01766056939959526, -0.04021719843149185, 0.04248930141329765, 0.0009309534798376262, 0.018272629007697105, 0.08161559700965881, -0.0015433607622981071, -0.019727123901247978, 0.027408042922616005, 0.11468544602394104, 0.09416451305150986, 0.03964580222964287, 0.009124384261667728, 0.050821635872125626, -0.05168045684695244, -0.029758185148239136, -0.000029240962248877622, -0.0073755350895226, 0.008940012194216251, 0.022999485954642296, 0.010175393894314766, 0.07781219482421875, -0.01606559008359909, 0.07550305873155594, -0.052252694964408875, 0.004625324625521898, -0.007673686370253563, 0.025934336706995964, 0.033759504556655884, 0.03432584926486015, 0.02805168554186821, 0.04152889549732208, -0.005896547809243202, -0.040010321885347366, 0.021008530631661415, 0.01338107604533434, -0.012526427395641804, -0.016989434137940407, 0.006675726734101772, -0.003509811358526349, 0.03000185638666153, 0.05443442612886429, 0.0610756054520607, 0.013114731758832932, 0.017825022339820862, 0.010990348644554615, 0.015272797085344791, -0.022607896476984024, 0.026824038475751877, -0.02818433567881584, -0.02034258469939232, -0.01275706011801958, -0.023339828476309776, -0.021881848573684692, 0.02349042519927025, -0.03205952048301697, 0.02032707817852497, -0.04325466975569725, 0.009237030521035194, -0.008679716847836971, 0.0009482885361649096, -0.03606320545077324, -0.04672958329319954, -0.04043296352028847, -0.044776931405067444, -0.07213852554559708, 0.0155542166903615, 0.012872304767370224, -0.003144393675029278, -0.01824096217751503, -0.05265950784087181, -0.013638997450470924, -0.03494119644165039, 0.02629426307976246, -0.027357565239071846, 0.010820207186043262, -0.001947359531186521, 0.021018903702497482, 0.018603665754199028, 0.05838550999760628, 0.03188221529126167, -0.03195049613714218, 0.0043089985847473145, -0.010607496835291386, -0.022362591698765755, 0.04435119405388832, 0.005229298956692219, -0.0032489222940057516, -0.0905732735991478, -0.00019647621957119554, 0.05447880178689957, 0.02703872323036194, -0.09233500063419342, -0.006781086325645447, 0.03415229916572571, -0.006516598165035248, 0.01792588084936142, -0.02474607154726982, -0.013392701745033264, -0.011359326541423798, -0.018239490687847137, -0.03755548596382141, 0.01727861724793911, 0.057686857879161835, -0.02857465110719204, 0.0913206934928894, 0.03573856130242348, 0.01369387935847044, -0.03559302166104317, -0.012326928786933422, -0.026966797187924385, 0.05325937271118164, -0.016765672713518143, -0.017885800451040268, -0.05538272112607956, -0.050055358558893204, -0.038163118064403534, 0.01178752165287733, -0.02936912514269352, -0.032818496227264404, 0.029936064034700394, 0.03848988562822342, -0.06405415385961533, 0.03971279785037041, -0.03242272138595581, 0.004938087891787291, -0.0011734168510884047, -0.04941951483488083, -0.0012291136663407087, 0.013293321244418621, -0.00225075357593596, 0.0005762673099525273, 0.026557350531220436, -0.02269279956817627, -0.021344700828194618, 0.011734426952898502, 0.030631041154265404, 0.04193299636244774, -0.019942227751016617, 0.023623861372470856 ]
[ -0.08639121800661087, -0.028602462261915207, -0.03167762979865074, -0.017324406653642654, 0.006618601735681295, -0.06388617306947708, -0.026155492290854454, -0.0062288339249789715, -0.010523245669901371, -0.03757384419441223, 0.051192693412303925, -0.08846154063940048, 0.0263871680945158, -0.04341480880975723, 0.05354994535446167, -0.02316136285662651, 0.011041532270610332, -0.03302902728319168, -0.04151851311326027, 0.02257201075553894, 0.01905880868434906, -0.04811709746718407, -0.04231705516576767, -0.03617332503199577, 0.01281089335680008, 0.07328560948371887, 0.004466770216822624, -0.04268677160143852, -0.03741806000471115, -0.2467382848262787, -0.014341148547828197, 0.009360785596072674, 0.0818866640329361, -0.005588357336819172, -0.0002888236485887319, 0.04473546892404556, 0.05292414128780365, -0.009743141010403633, -0.009550788439810276, 0.04062817618250847, 0.041027240455150604, 0.00998807791620493, -0.02369903400540352, 0.0157557874917984, 0.02140900492668152, 0.004118528217077255, -0.09443335235118866, 0.0016030743718147278, -0.014070914126932621, -0.024192268028855324, -0.08377765864133835, -0.009470862336456776, -0.019551999866962433, 0.01874001882970333, 0.0041036163456737995, 0.021795127540826797, 0.04318961128592491, 0.09154149889945984, 0.015812380239367485, 0.013813064433634281, 0.005869656335562468, 0.031158259138464928, -0.10937408357858658, 0.09245846420526505, 0.04178212583065033, 0.043782301247119904, -0.046113528311252594, -0.03277025744318962, 0.0054235681891441345, 0.04692980647087097, -0.028406091034412384, 0.029703106731176376, -0.02091410756111145, 0.05085596442222595, 0.029434222728013992, -0.04320455342531204, 0.00548775726929307, 0.012900834903120995, 0.038352590054273605, -0.034739721566438675, -0.04407636821269989, 0.014020022004842758, -0.005091329105198383, 0.03794214874505997, -0.03558426350355148, -0.002783477073535323, -0.06518460065126419, 0.06469790637493134, 0.01579144224524498, -0.04578383266925812, 0.012831010855734348, -0.03015867806971073, 0.010942945256829262, 0.02941209264099598, -0.06841237843036652, -0.011841721832752228, -0.014205224812030792, 0.020083952695131302, 0.03469895198941231, 0.35619133710861206, -0.04085186496376991, 0.00039896744419820607, 0.032314982265233994, 0.046381521970033646, -0.008550254628062248, -0.01962205395102501, 0.00559586938470602, -0.03719564527273178, 0.007735053543001413, -0.013074023649096489, -0.014894968830049038, -0.027166876941919327, 0.04607720300555229, -0.08827720582485199, 0.021428093314170837, 0.01709749922156334, 0.04419926553964615, 0.00952791329473257, -0.01447354070842266, 0.022299643605947495, 0.018588725477457047, 0.011040172539651394, 0.016228510066866875, 0.030815009027719498, 0.027310581877827644, 0.02459244802594185, 0.022306006401777267, 0.02169034816324711, 0.04972302168607712, 0.03645471855998039, 0.04248831421136856, 0.02173709124326706, -0.055193204432725906, -0.0037217475473880768, 0.02880646474659443, 0.025334637612104416, 0.002821513684466481, -0.05337861180305481, -0.020270003005862236, -0.03707824647426605, 0.02113969810307026, -0.03778029978275299, 0.04780230671167374, -0.004516025073826313, 0.016784852370619774, 0.13173478841781616, 0.010600735433399677, -0.0468110628426075, 0.0029494748450815678, -0.03737465664744377, 0.01783137023448944, 0.04639885202050209, -0.03984080255031586, -0.06279292702674866, 0.004724108148366213, 0.03395016863942146, 0.04950571432709694, -0.01567993313074112, -0.04859454184770584, 0.015909874811768532, -0.056212082505226135, -0.018108941614627838, -0.04867556691169739, 0.10170314460992813, 0.01232832483947277, -0.03479655086994171, -0.03367225080728531, 0.01077188365161419, 0.015249340794980526, -0.07889444380998611, 0.03768467530608177, 0.015168800950050354, 0.014231801964342594, 0.033766210079193115, 0.04768888279795647, -0.024804148823022842, -0.029328854754567146, -0.026581592857837677, 0.0277576744556427, 0.04213719815015793, -0.000570942647755146, 0.028735047206282616, -0.04509662836790085, 0.018964018672704697, 0.015739116817712784, -0.06307351589202881, -0.08587173372507095, -0.0019781708251684904, -0.0221122894436121, -0.024836819618940353, -0.020210405811667442, 0.021510597318410873, -0.03881893679499626, 0.002027378184720874, -0.017735270783305168, -0.02949860319495201, 0.03463149070739746, 0.015191757120192051, -0.06788349151611328, 0.007027528714388609, 0.024041349068284035, 0.08157975971698761, -0.040315885096788406, 0.02333717979490757, -0.07798901945352554, -0.013682414777576923, 0.04460744559764862, -0.0718749538064003, 0.08728471398353577, -0.00269050314091146, 0.02161135897040367, -0.016361726447939873, -0.027290059253573418, 0.014952611178159714, -0.0072790347039699554, -0.010966059751808643, 0.06551051884889603, -0.02053629420697689, 0.001426474191248417, 0.0489710234105587, -0.014397675171494484, -0.056750744581222534, -0.09690572321414948, -0.31732064485549927, -0.07488635927438736, -0.01281694509088993, -0.03414946421980858, -0.02342476323246956, -0.09450716525316238, -0.016844309866428375, 0.0030052722431719303, -0.0029131488408893347, 0.05765390396118164, 0.07758684456348419, 0.012148176319897175, -0.03194176033139229, -0.08573717623949051, -0.012861570343375206, 0.028531741350889206, -0.015854600816965103, 0.00486459955573082, -0.047937460243701935, 0.062324948608875275, 0.015560224652290344, -0.041832394897937775, -0.03669017553329468, -0.053319234400987625, -0.015247169882059097, -0.021180953830480576, 0.10740606486797333, 0.011572049930691719, 0.07087686657905579, -0.025382595136761665, 0.05583646893501282, 0.017522193491458893, -0.036339860409498215, -0.07034365087747574, -0.016895348206162453, -0.019169043749570847, -0.013956036418676376, 0.036020830273628235, 0.03938324749469757, -0.01978057250380516, -0.045630164444446564, 0.008830110542476177, -0.045750707387924194, -0.018909456208348274, 0.011575284413993359, 0.016952667385339737, 0.033421117812395096, -0.05383400246500969, -0.013481258414685726, 0.018911726772785187, 0.013933696784079075, 0.0468875989317894, 0.0005486716399900615, 0.014983782544732094, -0.005479205399751663, -0.013371479697525501, -0.033526092767715454, -0.03768939524888992, -0.0021070889197289944, -0.041617415845394135, 0.03239479660987854, 0.06416334956884384, 0.03136083111166954, -0.009982846677303314, 0.03992106392979622, -0.04114939644932747, -0.05744551122188568, 0.019217368215322495, 0.0038574577774852514, -0.020391957834362984, 0.011855697259306908, 0.07245136797428131, -0.034235384315252304, -0.00028314796509221196, 0.036306194961071014, 0.04941386356949806, -0.027777479961514473, 0.0052060759626328945, 0.029049593955278397, 0.002403067657724023, 0.06189928203821182, 0.02467246726155281, 0.02162526547908783, 0.026754602789878845, -0.028983034193515778, 0.04976386949419975, -0.04056379199028015, 0.01947302184998989, 0.027888324111700058, 0.01759938709437847, -0.010023707523941994, 0.010253943502902985, -0.006603280082345009, 0.008437694981694221, 0.019708117470145226, 0.01329060923308134, -0.2734380066394806, 0.04958268627524376, 0.04122401028871536, 0.02913687564432621, -0.007201397325843573, -0.00787635613232851, 0.04053908586502075, -0.08133883774280548, -0.011866003274917603, -0.0028129764832556248, 0.03200549632310867, 0.07008520513772964, 0.028018690645694733, -0.04852031543850899, 0.02232384867966175, 0.013512161560356617, 0.0517212375998497, 0.05782381445169449, 0.0032139832619577646, -0.016851814463734627, 0.007527489680796862, 0.005228099878877401, 0.22748121619224548, -0.003098459681496024, -0.028121739625930786, 0.030373146757483482, -0.013498760759830475, 0.012387918308377266, 0.08192688971757889, 0.03742498531937599, 0.008172948844730854, -0.006115838885307312, 0.058762580156326294, 0.021820588037371635, 0.02671174891293049, -0.015652300789952278, 0.0503644123673439, 0.0445408895611763, 0.036536604166030884, -0.015796631574630737, -0.0025780065916478634, 0.02188793383538723, -0.021005835384130478, 0.027927394956350327, 0.04433012008666992, 0.00028986146207898855, -0.033850718289613724, -0.09445352852344513, -0.059380676597356796, 0.0425613708794117, -0.062345363199710846, -0.008931629359722137, -0.039548445492982864, -0.014854651875793934, -0.008738791570067406, 0.058718640357255936, -0.015160711482167244, -0.02856018766760826, -0.031970102339982986, 0.007351791486144066, 0.02269892208278179, -0.022810380905866623, 0.10595483332872391, 0.018647855147719383, 0.030247429385781288 ]
[ -0.004025948699563742, -0.030379051342606544, -0.03893580287694931, 0.04946066811680794, 0.01822330802679062, 0.014854243025183678, -0.0047620306722819805, 0.04371197894215584, -0.029420390725135803, -0.04144367203116417, -0.010071611031889915, -0.020466970279812813, 0.05544612556695938, -0.012173473834991455, -0.030294379219412804, -0.023819588124752045, -0.0008116153767332435, 0.007006772793829441, 0.04022587463259697, -0.08417309820652008, -0.03576603904366493, 0.0171881765127182, 0.040686238557100296, 0.03609945997595787, -0.01777920499444008, 0.04729049280285835, -0.04413892328739166, -0.014057493768632412, 0.007332353387027979, -0.10363112390041351, -0.03254176303744316, 0.011699788272380829, 0.04570692777633667, -0.0018326215213164687, 0.017717082053422928, 0.06486435979604721, 0.034144625067710876, 0.009493949823081493, -0.05722922086715698, -0.005652996711432934, 0.017948586493730545, -0.006524989847093821, 0.015713009983301163, -0.029005134478211403, 0.017298389226198196, 0.006457536015659571, -0.038191549479961395, -0.014740874990820885, -0.02684098295867443, 0.014576819725334644, -0.03929705545306206, 0.029573611915111542, 0.0047765872441232204, 0.01988583244383335, 0.016375716775655746, 0.01208932138979435, -0.007341974414885044, -0.04667939245700836, 0.002387912245467305, -0.05813858285546303, -0.008670101873576641, 0.006681895814836025, -0.035097524523735046, -0.009566362015902996, -0.012165187858045101, 0.025032611563801765, 0.022629426792263985, -0.0037509682588279247, 0.019214622676372528, -0.02695094794034958, 0.019116083160042763, 0.030221592634916306, -0.03952857106924057, -0.021704142913222313, -0.0016735236858949065, -0.0016160232480615377, 0.0775500163435936, -0.031831562519073486, 0.019189588725566864, 0.004970172420144081, -0.03483700007200241, -0.02860730141401291, 0.06826706975698471, 0.0010121824452653527, -0.027924703434109688, -0.006712464150041342, -0.03792991489171982, -0.012954681180417538, 0.029240118339657784, -0.05003675818443298, -0.029823770746588707, 0.06932029873132706, -0.03161361441016197, 0.005150293465703726, -0.02234688028693199, 0.01414638664573431, -0.04360295459628105, 0.009233701974153519, 0.029718253761529922, 0.7817985415458679, -0.013582130894064903, 0.03134547919034958, 0.012546539306640625, 0.014688621275126934, -0.010519737377762794, -0.01757512055337429, 0.011984125711023808, -0.005282103084027767, 0.021642815321683884, -0.03519316017627716, 0.07662048190832138, -0.00868893414735794, 0.03622584044933319, 0.023168230429291725, 0.012577238492667675, 0.00994967669248581, 0.06721450388431549, 0.011510735377669334, -0.02255309745669365, 0.02400079369544983, 0.022521663457155228, -0.029488103464245796, -0.0019061535131186247, 0.02128165401518345, 0.02260349504649639, -0.20638233423233032, -0.014650478959083557, -7.301497202108235e-33, 0.010424278676509857, -0.06149357929825783, 0.043311458081007004, 0.0012611523270606995, 0.03234415128827095, -0.0042095608077943325, -0.0022839587181806564, 0.018577322363853455, -0.041182417422533035, -0.04072607681155205, -0.011960909701883793, -0.026933202520012856, -0.010243276134133339, -0.03006046637892723, 0.055141836404800415, -0.027482975274324417, 0.023843172937631607, 0.03984518349170685, -0.020905449986457825, -0.01724270172417164, 0.028264960274100304, 0.06055925786495209, -0.014490609988570213, 0.006576266605407, -0.012463202700018883, 0.05364992842078209, 0.018783677369356155, -0.06407316029071808, 0.03202732279896736, -0.04444348067045212, -0.007719585206359625, -0.0007169903838075697, 0.0016223605489358306, -0.015801098197698593, -0.019679127261042595, -0.015586916357278824, -0.0016167223220691085, 0.007171557284891605, -0.01480904221534729, -0.023721782490611076, -0.030728429555892944, 0.03898246958851814, -0.01114004384726286, -0.06678620725870132, 0.02460361458361149, -0.011288665235042572, 0.0393420085310936, 0.006459113210439682, 0.01991616189479828, 0.003342545824125409, 0.025961274281144142, 0.0010544451652094722, 0.0007297946140170097, 0.021433616057038307, -0.009049813263118267, 0.019276224076747894, 0.003245782572776079, 0.0019278342369943857, 0.030464475974440575, 0.07056305557489395, 0.012084783986210823, -0.01269522961229086, -0.008049163967370987, 0.03457978367805481, 0.014727444387972355, -0.0345037505030632, 0.004543649032711983, 0.01998288743197918, 0.036314915865659714, 0.07487485557794571, -0.042666155844926834, 0.0036537416744977236, -0.021717989817261696, -0.0006295675993897021, 0.028443003073334694, -0.020875928923487663, -0.018461233004927635, -0.03433021530508995, -0.03614874556660652, 0.017918946221470833, 0.02447720803320408, -0.06149324029684067, -0.02070622704923153, -0.0005929345497861505, -0.003499054815620184, 0.013026619330048561, 0.014281014911830425, -0.008597047068178654, -0.036019738763570786, -0.017121421173214912, 0.013701711781322956, 0.03387036919593811, 0.016045432537794113, -0.039246417582035065, -0.016595400869846344, 7.731006674851375e-33, -0.017000630497932434, -0.027510205283761024, -0.026747694239020348, 0.02609880454838276, -0.015793655067682266, -0.002134302631020546, 0.032423313707113266, 0.029362663626670837, -0.012556974776089191, 0.05226888880133629, -0.00485698226839304, -0.0012915334664285183, -0.0006405829335562885, -0.024006495252251625, 0.015524514019489288, -0.021533556282520294, 0.03535136580467224, 0.025856224820017815, 0.052089352160692215, 0.02305208146572113, 0.027961423620581627, -0.03413010388612747, 0.020392341539263725, 0.00049189617857337, 0.0572069026529789, 0.05825677886605263, -0.02220502309501171, 0.016097407788038254, -0.022712338715791702, -0.002048186492174864, -0.004649127833545208, -0.03331391140818596, -0.008305244147777557, -0.023324888199567795, 0.02427714504301548, 0.03308527171611786, 0.008511560037732124, -0.007725366856902838, 0.014533289708197117, -0.025981023907661438, -0.004869906231760979, 0.0029604462906718254, -0.026371730491518974, -0.0037525412626564503, 0.005812458693981171, 0.034368548542261124, 0.007138861808925867, 0.004526065196841955, -0.0025715925730764866, -0.017308559268712997, 0.0027735258918255568, -0.012604565359652042, 0.031063614413142204, 0.012578685767948627, -0.007318152114748955, -0.007157826796174049, -0.00514424592256546, 0.034640125930309296, -0.05167686194181442, -0.02884630486369133, 0.007075217552483082, -0.02623876929283142, -0.03482571616768837, 0.00012820282427128404, -0.04299965128302574, -0.030468525364995003, 0.0042914096266031265, -0.06120032072067261, -0.006703925784677267, 0.03949928283691406, -0.05851307511329651, 0.026724230498075485, 0.002637695986777544, 0.059716954827308655, -0.030499210581183434, 0.010059966705739498, -0.0054453047923743725, 0.008327346295118332, 0.026314955204725266, 0.03378688544034958, -0.0018110403325408697, 0.01335110329091549, 0.016097739338874817, 0.009586651809513569, 0.055140163749456406, -0.03956589847803116, 0.0017524699214845896, 0.05793613940477371, 0.05876636505126953, 0.019662320613861084, -0.03960578888654709, -0.03520353510975838, -0.0021083038300275803, -0.04642903059720993, -0.04385112226009369, -1.2638063928704923e-8, -0.011508531868457794, -0.06141570210456848, -0.05377212166786194, 0.04222416877746582, 0.007438348140567541, 0.028025999665260315, -0.021623436361551285, 0.0019725821912288666, -0.045781947672367096, 0.0016530227148905396, 0.05251744017004967, 0.005460812244564295, -0.017827479168772697, 0.0009670427534729242, 0.028053993359208107, -0.01590411178767681, 0.05318534001708031, -0.046791430562734604, 0.019221797585487366, -0.024061458185315132, -0.007663262542337179, 0.02226315625011921, -0.005921943113207817, 0.00042993281385861337, -0.031844813376665115, -0.01633358560502529, 0.035664625465869904, -0.07867073267698288, -0.02811795473098755, -0.02852277271449566, 0.0023692769464105368, -0.05504507198929787, -0.018460489809513092, 0.048617467284202576, -0.022382179275155067, -0.02531580440700054, -0.02135348692536354, 0.07746607810258865, 0.03070642054080963, -0.015313380397856236, 0.004715003538876772, 0.0290176123380661, 0.007763578090816736, -0.0193235594779253, -0.0003850327047985047, -0.010594245046377182, -0.00002586769733170513, 0.014204462990164757, 0.03169684484601021, -0.02907511219382286, 0.03389352560043335, -0.03205455094575882, 0.007502449676394463, 0.023222314193844795, 0.01878068596124649, -0.0008150475332513452, 0.013173380866646767, -0.06317619234323502, 0.01099358033388853, 0.012339780107140541, 0.022326603531837463, 0.011363520286977291, -0.01788429729640484, -0.0408574640750885 ]
haskell-reading-files
https://markhneedham.com/blog/2013/01/02/haskell-reading-files
false
2013-01-20 19:14:08
Bellman-Ford algorithm in Python using vectorisation/numpy
[ "algorithms", "bellman-ford" ]
[ "Algorithms" ]
I recently http://www.markhneedham.com/blog/2013/01/18/bellman-ford-algorithm-in-python/[wrote about an implementation of the Bellman Ford shortest path algorithm] and concluded by saying that it took 27 seconds to calculate the shortest path in the graph for any node. This seemed a bit slow and while browsing the Coursera forums I came across a suggestion that the algorithm would run much more quickly if we used vectorization with http://www.numpy.org/[numpy] rather than nested for loops. Vectorisation refers to a problem solving approach where we make use of matrices operations which is what numpy allows us to do. To refresh, the core of the original algorithm reads like this: [source,python] ---- for i in range(1, vertices): for v in range(0, vertices): previous_cache = cache least_adjacent_cost = calculate_least_adjacent_cost(adjacency_list, i, v, previous_cache) cache[v] = min(previous_cache[v], least_adjacent_cost) # detecting negative cycles for v in range(0, vertices): previous_cache = copy.deepcopy(cache) least_adjacent_cost = calculate_least_adjacent_cost(adjacency_list, i, v, previous_cache) cache[v] = min(previous_cache[v], least_adjacent_cost) if(not cache == previous_cache): raise Exception("negative cycle detected") shortest_path = min(cache) ---- We want to try and simplify the first two lines where we have for loops through +++<cite>+++i+++</cite>+++ and +++<cite>+++v+++</cite>+++. I couldn't see a way to apply matrix operations to the +++<cite>+++i+++</cite>+++ loop since each iteration of +++<cite>+++i+++</cite>+++ makes use of the result of the previous iteration but with the +++<cite>+++v+++</cite>+++ loop the calculation of the shortest path for each vertex is independent of the calculation for other vertices so we can vectorise this bit of code. We want to try and get to the point where we can use numpy's +++<cite>+++http://docs.scipy.org/doc/numpy/reference/generated/numpy.minimum.html[minimum]+++</cite>+++ function where we'd pass in an array representing the previous iteration of +++<cite>+++i+++</cite>+++ and an array that represents the newly calculated cost for each vertex +++<cite>+++v+++</cite>+++. [source,python] ---- # We want to get to this point previous_cache = cache[:] # here we copy the contents of cache into previous_cache cache = minimum(previous_cache, new_shortest_paths) ---- It was initially a bit tricky to see how we could go about this but after sketching it out on paper it became clear that we needed to add the values in +++<cite>+++previous_cache+++</cite>+++ to the weights of the edges between different vertices and then find the minimum combined value for each vertex. It seemed much easier to achieve this if we used an adjacency matrix rather than an adjacency list to represent the graph and if we do that then the following example shows how we'd go about vectorising the algorithm. If our +++<cite>+++previous_cache+++</cite>+++ had the following values: [source,text] ---- 1 2 3 4 5 6 # these are the previous shortest paths for vertex 0,1…,n ---- And our adjacency matrix looked like this: [source,text] ---- inf inf 4 inf inf inf # edges for vertex 0 -2 inf inf inf inf inf # edges for vertex 1 inf -1 inf inf inf inf # and so on... inf inf 2 inf inf 1 inf inf -3 inf inf -4 inf inf inf inf inf inf ---- where the numeric values represent the edge weights between vertices and those with a value of 'inf' don't have a direct edge we'd except the initial combination of these two data structures to look like this: [source,text] ---- inf inf 5 inf inf inf # edges for vertex 0 0 inf inf inf inf inf # edges for vertex 1 inf 2 inf inf inf inf # and so on... inf inf 6 inf inf 5 inf inf 2 inf inf 1 inf inf inf inf inf inf ---- where 1 has been added to every value in the first row, 2 has been added to every value in the second row and so on. We can achieve that with the following code: [source,python] ---- >>> previous = arange(1,7).reshape((1,6)) >>> previous array([[1, 2, 3, 4, 5, 6]]) >>> adjacency_matrix = x = array([[inf,inf,4,inf,inf,inf],[-2,inf,inf,inf,inf,inf],[inf,-1,inf,inf,inf,inf],[inf,inf,2,inf,inf,1],[inf,inf,-3,inf,inf,-4],[inf,inf,inf,inf,inf,inf]]) >>> adjacency_matrix array([[ inf, inf, 4., inf, inf, inf], [ -2., inf, inf, inf, inf, inf], [ inf, -1., inf, inf, inf, inf], [ inf, inf, 2., inf, inf, 1.], [ inf, inf, -3., inf, inf, -4.], [ inf, inf, inf, inf, inf, inf]]) >>> previous.T + adjacency_matrix array([[ inf, inf, 5., inf, inf, inf], [ 0., inf, inf, inf, inf, inf], [ inf, 2., inf, inf, inf, inf], [ inf, inf, 6., inf, inf, 5.], [ inf, inf, 2., inf, inf, 1.], [ inf, inf, inf, inf, inf, inf]]) ---- Here we used the +++<cite>+++http://docs.scipy.org/doc/numpy/reference/generated/numpy.transpose.html[transpose]+++</cite>+++ function to get our +++<cite>+++previous+++</cite>+++ variable in the right shape so we could apply its first value to every item in the first row of +++<cite>+++adjacency_matrix+++</cite>+++ its second value to every item in the second row and so on. What we actually want is the shortest path for each vertex so we need to take the minimum value from each row for which the +++<cite>+++http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.min.html[min]+++</cite>+++ function comes in handy. [source,python] ---- >>> result = previous.T + adjacency_matrix >>> result.min(axis=1) array([ 5., 0., 2., 5., 1., inf]) ---- We have to tell it to apply itself to each row by passing 'axis=1' otherwise it will just take the minimum value of the whole matrix. Now to get our newly calculated cache we just need to combine our +++<cite>+++previous+++</cite>+++ value with this new one: [source,python] ---- >>> previous array([[1, 2, 3, 4, 5, 6]]) >>> result.min(axis=1) array([ 5., 0., 2., 5., 1., inf]) >>> minimum(previous, result.min(axis=1)) array([[ 1., 0., 2., 4., 1., 6.]]) ---- Now if we put this into our algorithm it ends up looking like this: [source,python] ---- adjacency_matrix = zeros((vertices, vertices)) adjacency_matrix[:] = float("inf") for line in file.readlines(): tail, head, weight = line.split(" ") adjacency_matrix[int(head)-1][int(tail)-1] = int(weight) def initialise_cache(vertices, s): cache = empty(vertices) cache[:] = float("inf") cache[s] = 0 return cache cache = initialise_cache(vertices, 0) for i in range(1, vertices): previous_cache = cache[:] combined = (previous_cache.T + adjacency_matrix).min(axis=1) cache = minimum(previous_cache, combined) # checking for negative cycles previous_cache = cache[:] combined = (previous_cache.T + adjacency_matrix).min(axis=1) cache = minimum(previous_cache, combined) if(not alltrue(cache == previous_cache)): raise Exception("negative cycle detected") ---- The only numpy function that's new is +++<cite>+++http://www.scipy.org/Numpy_Example_List_With_Doc#head-2cddd526f17674432305ae6deeed1f18673ee560[alltrue]+++</cite>+++ which is used to check whether every value of two arrays is the same. The https://github.com/mneedham/algorithms2/blob/master/shortestpath/shortestpaths-simple.py[code is on github] and the running time is now down from 27 seconds to 5 seconds per shortest path which is pretty cool I think!
null
null
[ -0.0024116153363138437, -0.010248774662613869, -0.01827859692275524, 0.024975750595331192, 0.0724637508392334, 0.0455995574593544, -0.001565871643833816, 0.06363919377326965, 0.0008047506562434137, -0.0442560650408268, 0.03869204968214035, -0.015159442089498043, -0.05581409111618996, -0.004784481134265661, -0.011509856209158897, 0.07388485968112946, 0.05885807424783707, 0.011196481995284557, -0.0010295487008988857, -0.008486724458634853, 0.026036981493234634, 0.06990320235490799, 0.02209647372364998, 0.05450206622481346, 0.03737645223736763, 0.01316172443330288, 0.0015427094185724854, 0.0009582897764630616, -0.04602109640836716, -0.02189886011183262, 0.020274655893445015, -0.008160698227584362, 0.0002672815462574363, 0.00003638031193986535, 0.04753100126981735, 0.019247345626354218, -0.03724394738674164, 0.007376459427177906, -0.022906554862856865, 0.013258145190775394, -0.057376742362976074, 0.04719909653067589, -0.030330495908856392, 0.011632578447461128, -0.04686930403113365, 0.03178739920258522, -0.04422931373119354, 0.007212156429886818, -0.012952395714819431, -0.031850483268499374, -0.08771388232707977, 0.04242725670337677, -0.00896972231566906, 0.013195354491472244, 0.002657330362126231, 0.05958518758416176, 0.010029858909547329, -0.06053300201892853, 0.041549745947122574, -0.03908105939626694, 0.01097535714507103, -0.0075898016802966595, -0.00020567943283822387, 0.03434811532497406, 0.009827070869505405, -0.030151216313242912, 0.016070730984210968, 0.05399088189005852, -0.043703049421310425, -0.010437734425067902, -0.024455476552248, 0.01904546283185482, -0.006482506170868874, 0.04387437179684639, -0.023957829922437668, -0.03871484100818634, 0.014721859246492386, 0.03964774310588837, 0.02115907520055771, 0.017043663188815117, 0.002584894187748432, 0.01319765206426382, -0.0011668418301269412, 0.04763685166835785, -0.002660084282979369, 0.002475902670994401, -0.03902973607182503, -0.029966117814183235, -0.08782242983579636, 0.036374229937791824, -0.0032053831964731216, -0.05527682974934578, -0.02387794479727745, 0.015338199213147163, -0.013499158434569836, -0.023159094154834747, 0.034576669335365295, 0.0026041308883577585, 0.012567299418151379, -0.01994635909795761, -0.018640801310539246, -0.05794540047645569, 0.0299377404153347, 0.02010589838027954, -0.08048009127378464, -0.024518635123968124, -0.03077470324933529, 0.026401694864034653, 0.004452275112271309, -0.017385857179760933, -0.027607273310422897, 0.0004931942676194012, -0.03477928414940834, 0.004181831609457731, -0.08274994045495987, 0.05391409993171692, 0.0028109815903007984, -0.04354013502597809, -0.010486617684364319, 0.007137690670788288, 0.062163032591342926, 0.052414730191230774, 0.008608291856944561, 0.08018044382333755, 0.0013421737821772695, 0.04695920646190643, 0.01755410060286522, 0.028618527576327324, -0.017816560342907906, -0.06311146169900894, 0.00950192753225565, 0.04172316938638687, -0.010667548514902592, -0.007138997316360474, -0.03403966873884201, -0.03593334183096886, -0.024358775466680527, 0.05109019950032234, 0.03316199406981468, 0.027217671275138855, -0.002417756477370858, -0.046774640679359436, 0.04659917950630188, -0.005589459557086229, 0.03624982759356499, -0.0275962445884943, 0.03351184353232384, -0.022041046991944313, 0.007944430224597454, -0.0026863128878176212, -0.009590646252036095, 0.001988169737160206, 0.0015687632840126753, -0.05030767247080803, 0.025913458317518234, 0.11139523237943649, 0.04280396178364754, 0.008826863020658493, -0.01529148779809475, 0.017220428213477135, 0.07884928584098816, 0.0172647163271904, 0.0058306800201535225, 0.03701429441571236, 0.006383679807186127, -0.02348162792623043, -0.00044339953456074, 0.05111130699515343, -0.04973909258842468, -0.014613931067287922, -0.048968538641929626, -0.045716896653175354, 0.06232793629169464, -0.04495958238840103, -0.01908353716135025, 0.018557829782366753, 0.06418650597333908, 0.03451581299304962, 0.016333799809217453, -0.01714174635708332, -0.07966571301221848, 0.06861038506031036, -0.0031628799624741077, 0.043299201875925064, 0.015704240649938583, -0.018366176635026932, 0.08727692812681198, 0.029878156259655952, 0.011981110088527203, -0.012303028255701065, -0.07198839634656906, -0.05644097924232483, -0.008474335074424744, -0.027654098346829414, 0.059319376945495605, -0.010422289371490479, 0.005445993971079588, 0.01145958248525858, 0.00044331082608550787, 0.06612992286682129, 0.019403617829084396, -0.036186542361974716, 0.01663699746131897, -0.06107821688055992, -0.05794304236769676, 0.0603543221950531, 0.03066498599946499, -0.041054341942071915, -0.05078217759728432, 0.04028293862938881, -0.004587472882121801, -0.026747677475214005, -0.007234348449856043, -0.008418588899075985, 0.021282311528921127, 0.019504619762301445, 0.04693378880620003, -0.00908617116510868, 0.06344269216060638, -0.04578474909067154, 0.01812867261469364, -0.0043723187409341335, -0.040870506316423416, -0.005436046048998833, -0.009436674416065216, 0.10722243040800095, 0.06572067737579346, -0.04269731044769287, -0.07246421277523041, 0.03799677640199661, 0.01247461512684822, -0.0161745622754097, -0.011535292491316795, -0.03681919723749161, -0.021331939846277237, -0.0020644650794565678, -0.044730689376592636, -0.013995476067066193, 0.022790929302573204, -0.020878510549664497, -0.027266724035143852, 0.04178208112716675, -0.020898006856441498, 0.07108992338180542, -0.00860274862498045, -0.025169188156723976, -0.0046105701476335526, -0.0312795452773571, -0.05613183230161667, 0.0047835069708526134, -0.02326068840920925, -0.0013336993288248777, 0.049252524971961975, -0.010148790664970875, -0.03056216798722744, -0.028158001601696014, -0.0210268497467041, 0.02673405222594738, 0.07520400732755661, 0.050255514681339264, -0.007085403893142939, 0.08649593591690063, 0.0033781067468225956, -0.004520132206380367, -0.029778819531202316, -0.07621276378631592, -0.0293956957757473, -0.014682569541037083, 0.03062986023724079, 0.047427572309970856, 0.015392091125249863, -0.0009075466659851372, 0.018793312832713127, -0.002777328249067068, -0.0046751187182962894, -0.011945742182433605, 0.0488220751285553, -0.010423404164612293, -0.025261396542191505, -0.030038200318813324, -0.018964963033795357, 0.07371751964092255, -0.05016679689288139, -0.011028180830180645, 0.018009766936302185, -0.045068394392728806, 0.037025030702352524, -0.05863615497946739, -0.029247701168060303, 0.010755307972431183, 0.00268031214363873, 0.035667918622493744, -0.01556948572397232, -0.013266774825751781, 0.03608318418264389, 0.034061867743730545, 0.007958167232573032, -0.01890420913696289, 0.015872178599238396, -0.017463484779000282, 0.023182548582553864, 0.017922012135386467, 0.014014491811394691, -0.002627338981255889, -0.02087492123246193, -0.004230753052979708, -0.005384685005992651, -0.0008714665309526026, -0.26227232813835144, 0.04914570972323418, -0.03102015145123005, -0.05333896726369858, 0.028984256088733673, -0.022218169644474983, -0.016066940501332283, -0.012992603704333305, -0.023087721318006516, 0.002869743388146162, -0.021245313808321953, -0.048869673162698746, -0.04464803636074066, 0.057709794491529465, -0.006564712151885033, 0.00803366769105196, -0.02429906092584133, -0.05467903986573219, -0.01345157902687788, 0.048332370817661285, 0.010555306449532509, -0.09341634064912796, -0.036663834005594254, 0.015309464186429977, 0.025203194469213486, 0.054975446313619614, -0.10086331516504288, 0.012561899609863758, -0.05592351779341698, -0.012444630265235901, -0.004087704233825207, -0.024414775893092155, 0.029216023162007332, -0.018099308013916016, -0.009609862230718136, -0.043999381363391876, 0.01694011688232422, -0.022789904847741127, 0.025052739307284355, 0.042877696454524994, -0.04405265673995018, -0.028967658057808876, -0.004411316476762295, -0.003963177558034658, 0.07163083553314209, 0.039072588086128235, -0.0409737154841423, -0.02928459644317627, -0.020486125722527504, 0.04331786558032036, -0.017456794157624245, -0.03209008648991585, -0.02835918217897415, 0.02918241173028946, -0.03369695320725441, 0.0011060406686738133, 0.00008783246448729187, -0.024327220395207405, -0.04235672578215599, -0.021432755514979362, -0.012594418600201607, -0.032934390008449554, 0.005658862646669149, -0.058258868753910065, -0.013246252201497555, -0.043642815202474594, -0.048326488584280014, 0.002771165454760194, 0.05665446072816849, 0.02760438434779644, -0.00866114441305399, 0.028256744146347046, -0.027356870472431183, -0.10162638127803802, -0.030646929517388344, -0.018941029906272888, -0.023944130167365074, 0.04048432782292366, -0.0025580504443496466, 0.052538491785526276, -0.034065332263708115, -0.06506722420454025, 0.011434577405452728, 0.018789876252412796, 0.012684551998972893, -0.0037273552734404802, 0.0021784587297588587, -0.011648697778582573, -0.002366378204897046, 0.00631972448900342, 0.06178370118141174, 0.009460409171879292, -0.021884508430957794, -0.041542187333106995, -0.011630043387413025, 0.008042334578931332, 0.010210500098764896, 0.031494058668613434, 0.007019481621682644, 0.022390302270650864, 0.03189970180392265, -0.04076957702636719, 0.008665894158184528, -0.014474080875515938, -0.04929160699248314, 0.002553308615460992, -0.03267543017864227, 0.03469480201601982, 0.036403488367795944, 0.0193023644387722, -0.006440954282879829, -0.029635798186063766, 0.054706551134586334, -0.04586571455001831, -0.01937706768512726, -0.006790450774133205, 0.01877223327755928, 0.024288972839713097, 0.010217598639428616, 0.012582086957991123, -0.08711417764425278, 0.04671516641974449, -0.006069577299058437, -0.0000673037429805845, -0.05626402422785759, -0.01699148491024971, -0.0159598495811224, -0.0077967531979084015, 0.009520667605102062, 0.031163692474365234, 0.002819080837070942, 0.05770154297351837, 0.020102515816688538, 0.015486784279346466, 0.018606236204504967, -0.04838249087333679, -0.033232394605875015, -0.042778585106134415, 0.005434220656752586, 0.008251558057963848, 0.0361059196293354, 0.014034313149750233, 0.015158379450440407, 0.009368621744215488, 0.044719014316797256, 0.04655277729034424, 0.059246864169836044, -0.026245856657624245, 0.018512560054659843, -0.010748647153377533, 0.006583774462342262, -0.01732584275305271, 0.005774936638772488, -0.03733522817492485, -0.010984626598656178, -0.024715254083275795, 0.03328173980116844, -0.044778283685445786, -0.05277571827173233, -0.0334593839943409, 0.042019959539175034, -0.03705286979675293, 0.007529133930802345, -0.018609285354614258, -0.02247629128396511, 0.08674799650907516, 0.0018061698647215962, 0.0060689873062074184, -0.003523312509059906, -0.007118193432688713, 0.01994016207754612, -0.032839853316545486, -0.06984521448612213, 0.011225157417356968, 0.00035798383760266006, -0.043216247111558914, 0.03411470353603363, -0.02046670950949192, 0.008361134678125381, 0.004513521678745747, -0.030084697529673576, -0.01308677438646555, 0.006039130035787821, 0.019420357421040535, 0.0503755621612072, 0.02078581415116787, -0.020833995193243027, 0.0075608668848872185, -0.024367431178689003, -0.009297474287450314, -0.007065165787935257, -0.021036623045802116, -0.01857822947204113, 0.006935179233551025, -0.009155760519206524, -0.044861648231744766, 0.02985050156712532, -0.0006784140132367611, 0.006486434955149889, 0.0034899876918643713, -0.018455762416124344, 0.010883955284953117, 0.011885060928761959, 0.04104810208082199, 0.03647061437368393, -0.053782980889081955, -0.005349724553525448, 0.026453932747244835, -0.0018434032099321485, -0.0032052386086434126, 0.007868525572121143, -0.03655700758099556, -0.004225824493914843, 0.011145749129354954, 0.02487080544233322, -0.00011332579015288502, -0.026459461078047752, -0.02546629123389721, 0.012030432000756264, 0.00833877269178629, -0.0031613283790647984, -0.016408465802669525, -0.010029538534581661, -0.01782827638089657, -0.024817995727062225, 0.04964054748415947, -0.00025584333343431354, -0.009320395067334175, 0.01278271060436964, -0.013821921311318874, 0.007946413941681385, -0.027409426867961884, 0.02397018112242222, 0.04669729992747307, 0.00498812785372138, 0.009751340374350548, -0.04372183606028557, -0.015509350225329399, -0.018055317923426628, 0.02826668880879879, -0.007098049856722355, 0.02334514446556568, -0.04417572170495987, 0.019378691911697388, -0.008023643866181374, 0.010072989389300346, 0.018022838979959488, -0.0342436283826828, 0.003270881250500679, 0.042443156242370605, -0.012661049142479897, 0.03397078067064285, 0.011043957434594631, -0.03411504626274109, 0.041479796171188354, -0.05648123100399971, -0.046905696392059326, -0.041375309228897095, -0.029426289722323418, 0.006497208960354328, -0.030015625059604645, 0.015263540670275688, -0.026295131072402, 0.057050857692956924, 0.034922774881124496, 0.029239149764180183, 0.05371616780757904, -0.0003127169038634747, 0.03457925468683243, -0.023202385753393173, 0.006953248288482428, -0.0965220034122467, -0.027438312768936157, 0.04646790027618408, 0.0014596604742109776, 0.015010875649750233, 0.012391976080834866, -0.0181907769292593, 0.029945941641926765, -0.08627301454544067, -0.023739043623209, 0.0497734434902668, 0.016050299629569054, -0.019419429823756218, 0.013507611118257046, -0.04014965519309044, 0.028854822739958763, 0.028378400951623917, -0.03176185116171837, 0.004339007660746574, -0.02333809994161129, 0.05499102547764778, -0.01326026488095522, 0.022324934601783752, -0.028460834175348282, -0.008493597619235516, 0.06778117269277573, 0.034393060952425, 0.0018871170468628407, 0.006506606005132198, -0.0408308282494545, 0.04853301867842674, 0.03903868421912193, 0.007006124127656221, -0.02269546128809452, 0.03733038902282715, -0.012072977609932423, -0.031814586371183395, 0.059643033891916275, -0.01004394143819809, -0.00007835056021576747, -0.054414208978414536, 0.0649595856666565, 0.04174778610467911, -0.04270500689744949, -0.06326542049646378, 0.03352579474449158, -0.05117356777191162, -0.029703160747885704, -0.00557536818087101, 0.0011252317344769835, -0.007423963397741318, 0.04711679369211197, -0.03195224702358246, 0.002552831545472145, 0.08519240468740463, -0.015184774063527584, -0.04052557051181793, 0.000993494875729084, 0.08486033231019974, 0.0725744441151619, 0.05005178973078728, -0.009894235990941525, 0.07758799195289612, -0.007838459685444832, -0.04461311548948288, 0.008585247211158276, -0.05371928587555885, -0.0209632720798254, -0.03158699721097946, 0.040089916437864304, 0.055283039808273315, -0.03733038902282715, 0.05788310244679451, -0.042656801640987396, 0.025914911180734634, 0.02569185383617878, 0.023786677047610283, 0.0002973477530758828, 0.0771319791674614, 0.0032373089343309402, 0.054733194410800934, -0.03332003578543663, -0.01934291608631611, 0.008218674920499325, -0.002721326658502221, -0.007638511713594198, 0.03089301846921444, -0.022608695551753044, 0.009689068421721458, 0.04923856630921364, 0.01921527273952961, 0.10363882780075073, -0.04573696851730347, -0.01589450053870678, -0.036190759390592575, 0.0051277512684464455, -0.022770142182707787, -0.0017964750295504928, 0.014638214372098446, -0.0338948629796505, -0.004418008960783482, -0.05209854617714882, -0.008435373194515705, -0.0037856476847082376, 0.003554538358002901, 0.03187699615955353, -0.004840592388063669, 0.02086699567735195, 0.022151734679937363, 0.009647593833506107, -0.02822299674153328, -0.02872454561293125, -0.04793087765574455, -0.0721423551440239, -0.062275342643260956, 0.0051398198120296, 0.015809189528226852, 0.005457249935716391, -0.05171380564570427, -0.03849709779024124, 0.00335342506878078, -0.011937263421714306, 0.014735069125890732, -0.044250499457120895, -0.04084194824099541, 0.0016711580101400614, 0.045370619744062424, 0.01653113029897213, 0.007639435585588217, 0.06844453513622284, -0.016496092081069946, 0.007505874615162611, 0.0024147960357367992, 0.013142049312591553, 0.005397594068199396, 0.03104572556912899, -0.0008696690201759338, -0.07876642793416977, -0.015424907207489014, -0.004969126544892788, -0.034737374633550644, -0.08740511536598206, 0.010907253250479698, 0.03975384309887886, 0.017693161964416504, 0.054949935525655746, -0.021652957424521446, 0.01967514678835869, -0.0663948804140091, -0.010839320719242096, 0.017277276143431664, -0.027163300663232803, 0.03239419683814049, -0.00494243111461401, 0.07089946419000626, 0.01261107437312603, -0.00661537004634738, -0.02893996238708496, 0.004333621822297573, -0.01464462373405695, 0.022245995700359344, -0.0500931441783905, -0.023807846009731293, -0.042895909398794174, -0.09642080217599869, 0.005967449862509966, 0.02568294294178486, -0.012704956345260143, -0.024523314088582993, 0.032796360552310944, 0.011934617534279823, -0.03901668265461922, 0.05013534054160118, -0.036810241639614105, -0.009994297288358212, -0.01384653802961111, -0.008678456768393517, 0.011926436796784401, 0.041249196976423264, -0.008893116377294064, 0.025386875495314598, 0.016474753618240356, -0.04010939225554466, 0.02053608000278473, -0.004571904893964529, 0.030834628269076347, 0.031229540705680847, 0.005706813186407089, 0.011449221521615982 ]
[ -0.08423629403114319, -0.01897178404033184, -0.03260156884789467, 0.025775998830795288, 0.02028176188468933, -0.049058444797992706, -0.035229962319135666, 0.027388202026486397, 0.035040274262428284, 0.004355181939899921, 0.027063706889748573, -0.08430668711662292, -0.008251123130321503, 0.010833830572664738, 0.05072034150362015, -0.02426622062921524, -0.01155067328363657, -0.0492156557738781, 0.00935325212776661, -0.021579906344413757, -0.00008058352250372991, -0.0464654341340065, -0.03793760761618614, -0.062317024916410446, 0.04268414154648781, 0.05052557960152626, 0.04400259628891945, -0.02394072152674198, -0.011820260435342789, -0.22877734899520874, 0.03923507034778595, -0.04000380262732506, 0.05328468233346939, -0.014889284037053585, 0.01332063041627407, 0.030150363221764565, 0.005844630766659975, 0.024755246937274933, -0.019955173134803772, 0.029440077021718025, 0.03374340757727623, 0.05642678216099739, -0.05172468721866608, 0.010217877104878426, 0.035605549812316895, 0.03140852227807045, -0.047435030341148376, -0.027358338236808777, -0.026949794963002205, -0.00221996265463531, -0.037113238126039505, -0.010474012233316898, -0.02080325223505497, -0.016727879643440247, 0.00826017465442419, 0.029962146654725075, 0.0426701083779335, 0.04581242799758911, 0.0015948289074003696, 0.010393345728516579, 0.016226891428232193, -0.0036700281780213118, -0.153052419424057, 0.06993285566568375, 0.05719881132245064, 0.0114887161180377, -0.028660539537668228, -0.05144520476460457, -0.03132273256778717, 0.13696956634521484, 0.007622287608683109, 0.004714878275990486, -0.016115261241793633, 0.031416747719049454, 0.0081432880833745, 0.009248829446732998, 0.008819921873509884, 0.017681734636425972, 0.03964807838201523, -0.0465298667550087, -0.03575223311781883, -0.010621803812682629, -0.021883761510252953, 0.005000964272767305, 0.0086053516715765, 0.006244216114282608, -0.0515148900449276, 0.027446068823337555, 0.020298954099416733, 0.0033813666086643934, 0.03382543474435806, 0.0012135354336351156, 0.030981043353676796, 0.014720000326633453, -0.07576815783977509, -0.035879332572221756, 0.036785829812288284, 0.012336546555161476, -0.01966395415365696, 0.38034138083457947, -0.008496983908116817, 0.021382629871368408, 0.047253772616386414, 0.05335992947220802, -0.011461356654763222, 0.009767748415470123, -0.024180756881833076, -0.04518009349703789, -0.004536550026386976, -0.019098449498414993, 0.02291356399655342, -0.023896025493741035, 0.0760362446308136, -0.06650635600090027, 0.024397293105721474, 0.0043954807333648205, 0.02108900249004364, 0.06384161859750748, 0.004082435742020607, 0.04831188917160034, -0.03467016667127609, -0.009378739632666111, 0.03103872388601303, -0.0012495171977207065, -0.008830877020955086, 0.022936981171369553, 0.010862003080546856, 0.059051763266325, 0.02821587771177292, 0.028447574004530907, 0.07393947243690491, -0.03830106928944588, -0.08299274742603302, 0.02313069999217987, 0.027202369645237923, -0.017898842692375183, 0.028994238004088402, -0.011980662122368813, -0.006631300784647465, -0.0023487501312047243, -0.04845380410552025, 0.002641289494931698, 0.05898922309279442, 0.009598810225725174, -0.027473676949739456, 0.13618895411491394, -0.002490007784217596, -0.05092071741819382, -0.030704885721206665, -0.04337558150291443, 0.02413804642856121, 0.003405914641916752, -0.012090472504496574, -0.07532215118408203, -0.017785705626010895, 0.00754615617915988, 0.06747328490018845, -0.00795359630137682, -0.04730981960892677, 0.01752631925046444, -0.05308433994650841, -0.021929431706666946, -0.051819439977407455, 0.05898551270365715, 0.06825986504554749, -0.11819030344486237, 0.0030281906947493553, 0.021895961835980415, 0.0012231895234435797, -0.07182217389345169, 0.035034164786338806, 0.029542556032538414, -0.017015840858221054, -0.02833130955696106, 0.05570489540696144, -0.022889394313097, -0.06799349188804626, 0.007615480571985245, 0.045278456062078476, 0.01038311142474413, 0.019414596259593964, -0.018870553001761436, -0.03210464492440224, -0.02247796207666397, -0.023211680352687836, -0.036867763847112656, -0.07908995449542999, -0.006458831951022148, -0.020602557808160782, -0.049608632922172546, -0.013339935801923275, -0.02105620875954628, -0.05573756620287895, 0.047159310430288315, -0.07832403481006622, -0.033643342554569244, 0.036617644131183624, -0.008590998128056526, -0.03129298985004425, 0.010665408335626125, 0.0018852988723665476, -0.005808989517390728, 0.012977948412299156, 0.039952438324689865, -0.07533934712409973, -0.004007883369922638, 0.02028137631714344, -0.048103854060173035, 0.07535438239574432, 0.06928516924381256, -0.019617266952991486, -0.07655660063028336, -0.016554374247789383, -0.01602628082036972, -0.02939819172024727, -0.0007787803770042956, 0.023274432867765427, 0.013236656785011292, -0.007459657732397318, 0.058993399143218994, -0.009756500832736492, -0.05357680097222328, -0.04944233596324921, -0.33732277154922485, -0.07045792788267136, -0.018815170973539352, 0.002325635403394699, 0.05586238577961922, -0.07311136275529861, -0.01402914710342884, -0.021429840475320816, -0.014396478421986103, 0.020950479432940483, 0.06916148215532303, 0.0013995337067171931, -0.0019002219196408987, -0.0743795782327652, 0.005244105588644743, 0.035774748772382736, -0.038534976541996, -0.015592245385050774, -0.04163682460784912, 0.020186472684144974, -0.008579614572227001, 0.0024036515969783068, -0.010503914207220078, -0.05190682038664818, -0.021699029952287674, -0.018548231571912766, 0.1380128115415573, -0.028876811265945435, 0.08675597608089447, 0.008551760576665401, 0.01117450837045908, -0.01167491264641285, -0.020981663838028908, -0.024419188499450684, -0.009908908046782017, -0.029218468815088272, 0.05671492591500282, 0.018306689336895943, 0.01286311075091362, -0.031581901013851166, -0.05819461867213249, 0.02347469888627529, -0.005110044497996569, -0.030096622183918953, -0.05890517309308052, 0.05447990074753761, -0.004861802794039249, -0.0326978862285614, 0.023841047659516335, 0.04026426374912262, 0.049400731921195984, 0.050652191042900085, 0.03619227185845375, -0.0056112539023160934, 0.0017468654550611973, -0.04657251760363579, -0.05196074768900871, 0.015002226456999779, -0.021601729094982147, 0.001322238938882947, -0.002017390448600054, -0.018510987982153893, 0.042600054293870926, -0.03649468347430229, 0.0011708203237503767, -0.005575976800173521, 0.012242872267961502, -0.035628676414489746, 0.025222284719347954, -0.003828297834843397, 0.00927045475691557, 0.12243098020553589, 0.01330499816685915, 0.005130505654960871, 0.04985567927360535, 0.006474175024777651, -0.010255622677505016, 0.08659128099679947, 0.004448398016393185, -0.008979888632893562, 0.04489222541451454, -0.03646979480981827, 0.04461127892136574, -0.012801764532923698, -0.024129128083586693, -0.007669706363230944, -0.005015531089156866, 0.0184201430529356, -0.0033840180840343237, 0.0414157472550869, 0.0026214318349957466, 0.010262697003781796, -0.02747768722474575, -0.02053077332675457, 0.05636649206280708, -0.00297335721552372, -0.26934853196144104, 0.011614177376031876, 0.05765128880739212, 0.02910621277987957, -0.0016749771311879158, 0.007200722582638264, 0.08055562525987625, -0.0208755973726511, 0.01242709718644619, -0.02823065221309662, -0.011862634681165218, 0.07822635769844055, 0.03474364057183266, 0.006150770001113415, 0.03126269578933716, -0.03276875987648964, 0.06244003027677536, -0.0028471562545746565, -0.013815431855618954, 0.007857617922127247, 0.03411971405148506, -0.01178615540266037, 0.1859847754240036, -0.014179016463458538, 0.017231248319149017, 0.02372145839035511, -0.02820315584540367, 0.006115068215876818, 0.0796436220407486, -0.01566316932439804, -0.011862638406455517, 0.010708749294281006, 0.04153309389948845, -0.0177453625947237, 0.03950638696551323, -0.019587108865380287, -0.032825738191604614, 0.06131773814558983, 0.030079713091254234, -0.005719498265534639, 0.007104223594069481, 0.0002610949450172484, -0.032490815967321396, 0.0020245430059731007, 0.06547003239393234, -0.02637464739382267, -0.0278459545224905, -0.017485525459051132, -0.057633426040410995, 0.019002165645360947, -0.018693773075938225, -0.020601077005267143, 0.009644520469009876, -0.013421756215393543, 0.048983264714479446, 0.06440107524394989, 0.004907495807856321, -0.030482744798064232, -0.01622004248201847, -0.006582394242286682, 0.009070781990885735, -0.044811349362134933, 0.10111142694950104, -0.011396680027246475, 0.049749281257390976 ]
[ -0.0031940857879817486, 0.007357925176620483, -0.03694566339254379, 0.0399443693459034, -0.019693491980433464, -0.02103331685066223, -0.03717486560344696, -0.006324038375169039, -0.08619624376296997, -0.004737090785056353, 0.006569542922079563, 0.02954009920358658, 0.014471624977886677, -0.002887787763029337, -0.00037394859828054905, 0.01635386422276497, 0.006851044483482838, 0.034706857055425644, 0.05356921628117561, -0.012420154176652431, -0.04434037581086159, 0.05053141713142395, 0.025101950392127037, -0.003300630021840334, -0.029530653730034828, 0.027182046324014664, -0.03519631177186966, 0.01463802345097065, 0.023769911378622055, -0.11118228733539581, -0.01974218711256981, -0.018624670803546906, 0.020836733281612396, -0.013344577513635159, -0.01754606142640114, -0.0025717539247125387, -0.04686075076460838, 0.02211168222129345, 0.014041106216609478, 0.004578593652695417, 0.037649139761924744, -0.0218105036765337, -0.023482518270611763, -0.0157743189483881, 0.0018754545599222183, -0.01182415522634983, -0.007770797703415155, -0.006245037075132132, 0.016240259632468224, -0.02897651493549347, -0.04260969161987305, -0.0010354004334658384, -0.01766945794224739, -0.040042102336883545, -0.024055207148194313, -0.04158168286085129, -0.012584519572556019, -0.010769989341497421, -0.03624087572097778, -0.02985343523323536, 0.057166364043951035, -0.021135320886969566, -0.04561996832489967, -0.017401069402694702, -0.010826034471392632, -0.020996542647480965, -0.022299280390143394, 0.005780615843832493, 0.0044514951296150684, -0.007733064237982035, 0.03910372778773308, 0.025843605399131775, -0.056663401424884796, -0.020486416295170784, -0.008335527963936329, -0.008156916126608849, 0.05874905362725258, 0.013813486322760582, 0.02124028466641903, -0.020930292084813118, -0.03104502521455288, -0.0007758624851703644, -0.0086636608466506, -0.006406758446246386, -0.005921827629208565, -0.04287813603878021, 0.024556411430239677, -0.004332680720835924, 0.03873719274997711, -0.020633403211832047, -0.012694571167230606, -0.021938566118478775, -0.024744942784309387, -0.004311337135732174, -0.08392037451267242, -0.0018709416035562754, 0.029660912230610847, -0.01349105965346098, -0.0020450910087674856, 0.8192233443260193, 0.02240467444062233, -0.01728506200015545, 0.0006080654566176236, 0.03044949471950531, -0.0023550225887447596, 0.06578901410102844, 0.025250151753425598, -0.008573351427912712, 0.006273010279983282, -0.041052721440792084, 0.03678116947412491, 0.049692388623952866, 0.039741840213537216, 0.011873972602188587, -0.003957870416343212, 0.011617563664913177, -0.004738036077469587, -0.0013727257028222084, 0.04150047525763512, 0.035114556550979614, -0.03172320872545242, -0.02244913950562477, 0.027762817218899727, 0.012239227071404457, 0.007377757225185633, -0.1752849817276001, -0.01845013163983822, -6.788277103223194e-33, -0.026623867452144623, -0.011470791883766651, 0.014681639149785042, -0.011236139573156834, 0.036928530782461166, 0.01106475479900837, -0.012522706761956215, -0.019019577652215958, -0.019799325615167618, -0.012776154093444347, 0.014728854410350323, -0.0016435879515483975, 0.01889239065349102, -0.02060099132359028, 0.012734860181808472, -0.03318598121404648, 0.0061415559612214565, 0.01393379457294941, 0.019671449437737465, -0.04354673996567726, 0.025989189743995667, 0.01756814494729042, 0.004105470608919859, 0.039332065731287, 0.02307848632335663, 0.009585492312908173, 0.017543217167258263, -0.026827260851860046, -0.0018192068673670292, -0.04130296781659126, -0.011791524477303028, 0.026496639475226402, -0.00994030386209488, 0.005008078180253506, 0.00031546689569950104, -0.02195495367050171, -0.01765133999288082, -0.017628440633416176, -0.027151308953762054, -0.009391081519424915, -0.030727937817573547, 0.024928197264671326, -0.027654271572828293, -0.036578599363565445, -0.07534734159708023, 0.025160236284136772, 0.0500020831823349, 0.06416089832782745, -0.001166615285910666, 0.037510838359594345, -0.014114845544099808, -0.0184643492102623, -0.0028271779883652925, -0.019593292847275734, -0.03956510126590729, -0.000044740139856003225, 0.039779890328645706, -0.015568184666335583, -0.0010774509282782674, 0.015752308070659637, 0.018582437187433243, -0.020776396617293358, 0.009483103640377522, -0.0026304577477276325, -0.0009285029955208302, 0.00175940350163728, -0.0035036569461226463, 0.005553768947720528, 0.01756295934319496, 0.029347578063607216, -0.04108286276459694, 0.019271500408649445, -0.015472857281565666, -0.016227856278419495, 0.0412285290658474, -0.01908166892826557, -0.008673149161040783, -0.010240680538117886, 0.006143203936517239, 0.03068268671631813, 0.011401772499084473, 0.032737620174884796, -0.03885100036859512, -0.05063266679644585, -0.011144514195621014, -0.017877699807286263, 0.005748992320150137, -0.016443703323602676, 0.018148353323340416, -0.013150401413440704, 0.026625094935297966, 0.033980462700128555, 0.00517418934032321, 0.01289429422467947, -0.012948204763233662, 7.21437617298101e-33, -0.018912242725491524, 0.004744536709040403, 0.013357963413000107, -0.011394677683711052, 0.030417321249842644, -0.024415181949734688, 0.0378781296312809, 0.0016551663866266608, -0.044062282890081406, 0.03159591183066368, -0.030431391671299934, -0.015817642211914062, 0.0006809702608734369, 0.037312570959329605, 0.07068420201539993, -0.009711414575576782, 0.02902204729616642, -0.02229068987071514, 0.009443183429539204, -0.0033862190321087837, -0.02194085717201233, 0.014875100925564766, -0.02072107419371605, -0.03032388538122177, 0.024777015671133995, 0.040580231696367264, -0.029166296124458313, 0.007637107744812965, -0.00016160735685843974, 0.020449375733733177, -0.017824290320277214, -0.000041559309465810657, -0.014407102949917316, 0.025025740265846252, 0.004702800419181585, 0.08662139624357224, 0.01624751091003418, -0.014922949485480785, 0.012274641543626785, 0.021193698048591614, 0.038206275552511215, -0.00024112805840559304, 0.0071436455473303795, 0.024128250777721405, 0.004169843625277281, 0.014979016967117786, 0.008098024874925613, 0.009246782399713993, -0.043135009706020355, 0.03472890704870224, 0.015975601971149445, 0.006715758237987757, -0.020131275057792664, 0.04234219342470169, 0.010286755859851837, 0.005764754954725504, -0.011337182484567165, 0.04536072164773941, -0.011911420151591301, 0.014463272877037525, -0.002367524430155754, -0.012533308006823063, -0.02956019714474678, 0.0030603324994444847, -0.03293154388666153, -0.015295919962227345, -0.015663407742977142, -0.018294669687747955, -0.02066207490861416, -0.003946586512029171, -0.03721850737929344, 0.014966939575970173, 0.002763669937849045, 0.021532092243433, -0.001160457031801343, -0.03004893660545349, 0.0029462380334734917, 0.02116580866277218, -0.026608740910887718, -0.008191017434000969, 0.030636567622423172, -0.03106517717242241, 0.009110203944146633, 0.007853430695831776, -0.001336980378255248, 0.038938816636800766, -0.023439107462763786, -0.005435592494904995, 0.02337624877691269, 0.012270734645426273, 0.0056211999617516994, -0.018554728478193283, 0.010463024489581585, 0.05259843170642853, -0.05017268657684326, -1.2481260469598965e-8, -0.058056700974702835, 0.012375184334814548, -0.01351404283195734, 0.0037847673520445824, 0.06932374835014343, 0.03634742274880409, 0.021403197199106216, 0.007441319525241852, -0.033483054488897324, 0.04864891245961189, 0.05601329356431961, -0.024273019284009933, -0.010873396880924702, 0.01886812224984169, -0.018359946087002754, -0.006330630276352167, -0.02036648988723755, -0.027932336553931236, 0.04441946744918823, -0.02333906479179859, 0.03454044833779335, 0.046970952302217484, -0.04608476534485817, 0.0404968187212944, 0.00558418408036232, -0.016115980222821236, 0.038968198001384735, -0.08635812252759933, 0.024368423968553543, -0.01423681154847145, -0.047865286469459534, 0.0031395975966006517, -0.027468252927064896, 0.004439425189048052, -0.01537143625319004, -0.03712936490774155, 0.03565460816025734, 0.07589752227067947, 0.030351722612977028, 0.029113324359059334, -0.016002211719751358, 0.021854782477021217, -0.03495286777615547, -0.02973240427672863, 0.004850104451179504, 0.024891087785363197, -0.04777238145470619, -0.002461603144183755, 0.03201804310083389, -0.05332764983177185, 0.01720588281750679, -0.024681534618139267, 0.04544892907142639, 0.04338689148426056, 0.0394672267138958, -0.017849406227469444, 0.0016719215782359242, -0.019133687019348145, 0.0066145327873528, 0.001439760671928525, 0.001969553530216217, 0.023493124172091484, 0.0005405752453953028, -0.045461010187864304 ]
bellman-ford-algorithm-in-python-using-vectorisationnumpy
https://markhneedham.com/blog/2013/01/20/bellman-ford-algorithm-in-python-using-vectorisationnumpy
false
2013-01-20 15:53:02
telnet/netcat: Waiting for a port to be open
[ "devops-2" ]
[ "Software Development", "DevOps" ]
On Friday http://junctionbox.ca/[Nathan] and I were setting up a new virtual machine and we needed a firewall rule to be created to allow us to connect to another machine which had some JAR files we wanted to download. We wanted to know when it had been done by one of our operations team and I initially thought we might be able to do that using telnet: [source,text] ---- $ telnet 10.0.0.1 8081 Trying 10.0.0.1... telnet: connect to address 10.0.0.1: Operation timed out telnet: Unable to connect to remote host ---- We wanted to put a http://en.wikipedia.org/wiki/Watch_(Unix)[watch] on the command so that it would be repeated every few seconds and indicate when we'd could connect to the port. However, as as far as I can tell there's no way to reduce the length of the telnet timeout so Nathan suggested using netcat instead. We ended up with the following command... [source,text] ---- $ nc -v -w 1 10.0.0.1 8081 nc: connect to 10.0.0.1 port 8081 (tcp) failed: Connection refused ---- \...which we can then wire up with watch like so: [source,text] ---- $ watch "nc -v -w 1 10.0.0.1 8081" Every 2.0s: nc -v -w 1 10.0.0.1 8081 Sun Jan 20 15:48:05 2013 nc: connect to 10.0.0.1 port 8081 (tcp) timed out: Operation now in progress ---- And then when it works: [source,text] ---- Every 2.0s: nc -v -w 1 10.0.0.1 8081 Sun Jan 20 15:49:53 2013 Connection to 10.0.0.1 8081 port [tcp] succeeded! ----
null
null
[ 0.03430462256073952, -0.02742788754403591, -0.007695339620113373, 0.02580072171986103, 0.08865909278392792, -0.001621614908799529, 0.015108132734894753, 0.027731791138648987, 0.019977670162916183, -0.013595924712717533, -0.043158479034900665, 0.016035305336117744, -0.06090531870722771, 0.03397470340132713, -0.029909810051321983, 0.08074454963207245, 0.07418400794267654, -0.03531476855278015, 0.019272422417998314, -0.018998296931385994, 0.02064616233110428, 0.0529998242855072, 0.009282499551773071, 0.029609642922878265, 0.014526783488690853, 0.01909814588725567, -0.013137617148458958, -0.02317112870514393, -0.02377268299460411, -0.0034984431695193052, 0.08119197934865952, -0.020668013021349907, 0.01125976163893938, -0.020951060578227043, -0.002510183025151491, -0.008505219593644142, 0.0010662556160241365, 0.011436850763857365, -0.00988872442394495, -0.002507933182641864, -0.04879431426525116, 0.05592234432697296, -0.015462655574083328, 0.021570390090346336, -0.014077972620725632, 0.04213760793209076, -0.01452487614005804, -0.0016167305875569582, 0.018568890169262886, 0.011497186496853828, -0.085149846971035, 0.030577989295125008, -0.027703803032636642, 0.012904491275548935, 0.019765472039580345, 0.035148561000823975, 0.01598404161632061, -0.08197792619466782, 0.049468543380498886, -0.025250138714909554, -0.0014334969455376267, -0.016520533710718155, 0.02085747942328453, 0.006346934009343386, -0.004375871736556292, -0.023853830993175507, 0.017156606540083885, 0.050690341740846634, -0.012146081775426865, -0.013037645258009434, -0.013369915075600147, 0.03444340080022812, -0.025849562138319016, -0.008128281682729721, 0.03956345096230507, -0.04843698441982269, 0.0000036635501601267606, 0.020040391013026237, 0.03387971222400665, 0.05933574214577675, -0.0333327017724514, 0.007690325379371643, 0.027901390567421913, 0.02590947225689888, 0.015290787443518639, -0.039807211607694626, -0.03325978294014931, 0.02501561865210533, -0.046181414276361465, 0.08146313577890396, 0.03464873507618904, -0.025298967957496643, 0.009410575963556767, -0.005752965807914734, -0.014165759086608887, -0.0028015028219670057, 0.019682230427861214, -0.013751155696809292, 0.016991084441542625, -0.02578921429812908, -0.006589630618691444, -0.013513913378119469, 0.011744755320250988, 0.031100869178771973, -0.07736566662788391, 0.004148168954998255, -0.0208655446767807, -0.019702909514307976, -0.023263709619641304, 0.012923267669975758, -0.02681167609989643, 0.011892752721905708, 0.007026647217571735, 0.016488943248987198, -0.09010151028633118, 0.059225693345069885, 0.00023741918266750872, -0.0676320493221283, 0.024957258254289627, 0.030584564432501793, 0.03514464572072029, 0.012813259847462177, -0.0373932421207428, 0.05591803789138794, 0.03228304162621498, 0.026395322754979134, 0.007710595615208149, 0.020989565178751945, -0.023649705573916435, -0.05742460489273071, -0.009889294393360615, 0.07433480769395828, -0.010418189689517021, -0.005962737370282412, -0.009999282658100128, -0.003733489429578185, -0.007255270145833492, -0.016803888604044914, 0.02621769718825817, 0.04512824863195419, 0.004083791747689247, -0.016227489337325096, 0.0090427715331316, 0.019524889066815376, 0.03952972590923309, 0.02761024609208107, 0.0032143399585038424, -0.045372601598501205, -0.028746388852596283, 0.0054001351818442345, -0.001069223857484758, -0.009295131079852581, 0.062424927949905396, -0.037995003163814545, -0.02680634893476963, 0.061162956058979034, 0.04894842952489853, 0.012676732614636421, -0.02891005575656891, -0.002687090542167425, 0.05984218791127205, 0.03614768013358116, 0.015409104526042938, 0.05637403577566147, 0.011407542042434216, -0.025383666157722473, -0.006289240904152393, 0.051047176122665405, 0.018900586292147636, 0.029807237908244133, -0.0577385239303112, -0.039854444563388824, 0.059861693531274796, -0.03912527114152908, -0.036283090710639954, 0.040241070091724396, 0.06366478651762009, 0.030908213928341866, 0.011566255241632462, -0.019937030971050262, -0.06649445742368698, 0.04625449329614639, 0.007762228604406118, 0.036445096135139465, 0.0420619361102581, 0.0028690912295132875, 0.05580340325832367, 0.022289548069238663, -0.004838527180254459, 0.016811924055218697, -0.0714666023850441, -0.0843602791428566, -0.024107040837407112, -0.0030350072775036097, 0.0524325966835022, -0.0336407870054245, 0.008479009382426739, 0.06276547908782959, 0.011876414529979229, 0.04305162653326988, 0.010673284530639648, 0.011536785401403904, 0.0594496950507164, -0.07131124287843704, -0.06448536366224289, 0.041398365050554276, 0.010399718768894672, -0.014466182328760624, -0.04187147691845894, 0.0034544121008366346, -0.02952004037797451, -0.002720041200518608, 0.01573558710515499, -0.03097614087164402, 0.0647629126906395, 0.02825850620865822, 0.04688810929656029, -0.03949689865112305, 0.031618423759937286, -0.027873795479536057, 0.0024647472891956568, 0.0057539790868759155, -0.019752806052565575, 0.03269709646701813, -0.009709756821393967, 0.11679534614086151, 0.07416342198848724, 0.0045664263889193535, -0.043990522623062134, 0.056886281818151474, 0.000297089311061427, -0.054177314043045044, -0.02265191823244095, -0.004673335701227188, 0.020809730514883995, 0.001045987126417458, -0.06435517966747284, -0.05204854905605316, -0.015138071961700916, -0.032429829239845276, 0.013268516398966312, 0.051229339092969894, 0.012322640046477318, 0.0621858574450016, -0.000024566283173044212, -0.022461893036961555, -0.0038403458893299103, -0.04845401644706726, -0.03768928349018097, 0.02806108258664608, 0.002727285260334611, -0.022518746554851532, 0.04921324551105499, -0.03266095370054245, -0.01707303896546364, -0.028980502858757973, -0.04613690823316574, 0.024284783750772476, 0.02813536487519741, 0.05933024361729622, -0.029115837067365646, 0.06435912847518921, -0.020970754325389862, 0.017088057473301888, -0.023327967151999474, -0.05802705138921738, -0.032796669751405716, 0.0059636859223246574, -0.014005289413034916, 0.013605399057269096, 0.024357756599783897, -0.015168324112892151, 0.011140224523842335, -0.030359990894794464, 0.033919550478458405, -0.017009155824780464, 0.04153940826654434, 0.020804081112146378, 0.02103406749665737, -0.019218413159251213, -0.005192842334508896, 0.04569381847977638, -0.03641178831458092, -0.003858439391478896, 0.027360476553440094, -0.04936210811138153, 0.03162936493754387, -0.08207511156797409, -0.04954502731561661, -0.03623447194695473, 0.000810721074230969, 0.020188208669424057, 0.03094104863703251, 0.02370144985616207, 0.03453326225280762, -0.0030411535408347845, 0.014049043878912926, 0.03234529867768288, 0.01924612745642662, 0.016247272491455078, 0.00013698087423108518, 0.020026199519634247, 0.01337882224470377, -0.010656848549842834, -0.008972547948360443, -0.0656060129404068, 0.01743495464324951, -0.042270295321941376, -0.2677246034145355, 0.05056116729974747, 0.03472909331321716, -0.04831117391586304, 0.04354696720838547, -0.028976447880268097, 0.04331792891025543, -0.031320713460445404, -0.025531841441988945, 0.01751391403377056, -0.022076576948165894, -0.039895761758089066, 0.003060899907723069, 0.022187266498804092, -0.023981845006346703, 0.01605568826198578, -0.009331165812909603, -0.07510587573051453, 0.03076189011335373, 0.0040084910579025745, -0.008320964872837067, -0.05259566754102707, 0.02474326267838478, 0.03728317841887474, 0.018060240894556046, 0.08310074359178543, -0.052231501787900925, 0.029127171263098717, -0.026466842740774155, 0.0028557931073009968, 0.005831556860357523, -0.016596302390098572, 0.0005815014010295272, 0.00793457217514515, -0.01727307215332985, -0.009230772964656353, 0.04768957570195198, -0.002601092681288719, 0.0009086354402825236, -0.00043896492570638657, -0.04389207065105438, -0.020059600472450256, 0.01826714724302292, 0.012908254750072956, 0.06583678722381592, 0.01272786594927311, -0.05045398697257042, -0.01614646054804325, -0.024348462000489235, 0.07754788547754288, -0.055304281413555145, -0.015072815120220184, 0.008869645185768604, 0.01868467777967453, -0.03822866827249527, -0.0054486640729010105, -0.04958546906709671, -0.016541309654712677, -0.03044733963906765, -0.02333691529929638, -0.019695216789841652, -0.03978187218308449, -0.038353368639945984, -0.05333341658115387, -0.004181010648608208, -0.04152921214699745, -0.058232251554727554, -0.02500804141163826, 0.07754119485616684, 0.005541629623621702, -0.02836943417787552, 0.0021991305984556675, -0.015804843977093697, -0.10826719552278519, -0.006165311671793461, -0.01686805859208107, -0.08428709954023361, 0.012245112098753452, 0.018601402640342712, 0.039894599467515945, -0.0529012568295002, -0.04231640696525574, 0.005983422510325909, 0.004933969117701054, 0.020735258236527443, -0.010148807428777218, 0.023389311507344246, -0.006288793403655291, -0.007154639810323715, -0.009024886414408684, 0.05772264301776886, -0.030305933207273483, -0.056464359164237976, -0.025916719809174538, -0.009683573618531227, -0.0019064386142417789, -0.008955279365181923, 0.025460032746195793, 0.0012527797371149063, 0.05238695442676544, 0.024045519530773163, -0.045692507177591324, 0.02637462690472603, -0.07140874117612839, 0.0032038376666605473, 0.004719967022538185, -0.040870487689971924, 0.03895338624715805, 0.010267318226397038, 0.04523394629359245, 0.005941515788435936, -0.04155317693948746, 0.019359150901436806, -0.04706193879246712, -0.041727785021066666, -0.014557604677975178, 0.003165316767990589, 0.03267721086740494, 0.04193020239472389, -0.02552313357591629, -0.056090328842401505, 0.014970541000366211, 0.05941050872206688, -0.004156448412686586, -0.041618943214416504, -0.01373300887644291, -0.019361507147550583, -0.01946314051747322, 0.04091273620724678, 0.015300304628908634, -0.02482420951128006, 0.032881446182727814, 0.0597897432744503, -0.007327786646783352, 0.011340419761836529, -0.03284154087305069, -0.03822910040616989, -0.0342368558049202, 0.003954307641834021, 0.025364626199007034, -0.04224470630288124, 0.016937900334596634, -0.01585782691836357, 0.03626636043190956, 0.040183987468481064, 0.02126690000295639, 0.02293105609714985, -0.02784545347094536, 0.03442571312189102, 0.010853501036763191, -0.016748150810599327, -0.06473325192928314, 0.011628586798906326, -0.04891565069556236, -0.0164916031062603, 0.004082090687006712, 0.042107343673706055, -0.01220123190432787, -0.036885764449834824, -0.014649522490799427, 0.021276148036122322, -0.06826741993427277, -0.010120471008121967, 0.0028392327949404716, -0.011465608142316341, 0.05382832512259483, -0.015117548406124115, 0.0017575111705809832, 0.008748454973101616, -0.01593552529811859, -0.004054092802107334, 0.0404064804315567, -0.029625488445162773, 0.03677432984113693, 0.002105757826939225, 0.00855010375380516, 0.006370385643094778, 0.024126240983605385, 0.03560350090265274, -0.00112546153832227, 0.025093721225857735, -0.002035311656072736, 0.021049311384558678, 0.029952777549624443, 0.027668219059705734, -0.00006974448479013517, -0.010595699772238731, 0.020317288115620613, -0.015444501303136349, -0.004659450147300959, 0.006031252909451723, 0.012464436702430248, -0.03844860941171646, 0.0022151723969727755, -0.017128843814134598, -0.07395902276039124, 0.03972484543919563, 0.019828593358397484, 0.03709699958562851, 0.025838274508714676, 0.012238099239766598, -0.011458959430456161, -0.032860610634088516, 0.04393281415104866, 0.0438726469874382, -0.04950549826025963, 0.018527435138821602, 0.004250313621014357, 0.029112618416547775, 0.0028413604013621807, -0.012699028477072716, -0.03344094008207321, -0.004688985645771027, -0.009794391691684723, 0.032733798027038574, -0.06809863448143005, -0.06298436969518661, -0.022202039137482643, 0.026881041005253792, -0.022714601829648018, 0.0167345330119133, -0.004875567741692066, -0.023768991231918335, -0.020440662279725075, -0.05479927733540535, 0.03592275455594063, 0.0024756575003266335, -0.018950484693050385, 0.008670827373862267, 0.005390606354922056, -0.009704744443297386, -0.04988190531730652, 0.036114469170570374, 0.02113494835793972, -0.025937475264072418, -0.028846289962530136, -0.038814183324575424, -0.02003897726535797, -0.03153683990240097, 0.05206587165594101, -0.004524982068687677, 0.022955559194087982, -0.046722471714019775, 0.02000751905143261, -0.03263932093977928, 0.02168833278119564, 0.03092619590461254, -0.02158815786242485, 0.029059022665023804, 0.018801623955368996, 0.0010794159024953842, -0.017923466861248016, -0.0326700285077095, -0.05475622043013573, 0.051330119371414185, -0.09220190346240997, -0.026889106258749962, 0.020155413076281548, -0.03693702071905136, 0.022608691826462746, 0.000296561949653551, -0.012627694755792618, -0.08831098675727844, 0.035527635365724564, 0.02336227521300316, 0.012244419194757938, 0.03956425562500954, 0.004902588203549385, 0.008959220722317696, -0.016914227977395058, -0.02043084055185318, -0.09813348948955536, 0.024318674579262733, 0.02257816307246685, -0.00864226184785366, -0.007225439418107271, 0.034542061388492584, -0.03039027377963066, 0.013871598988771439, -0.06592591106891632, -0.02801024541258812, 0.03835948929190636, -0.018939564004540443, -0.021419866010546684, 0.03362132981419563, -0.06844678521156311, 0.03475138545036316, 0.04821842908859253, -0.03442496433854103, 0.006199368275702, -0.036685116589069366, 0.06742627918720245, 0.01305594202131033, 0.02439896948635578, -0.021226000040769577, -0.047467563301324844, 0.05426203832030296, 0.012063225731253624, 0.01685141585767269, 0.05790654569864273, -0.011877892538905144, 0.006552805192768574, 0.024434585124254227, -0.012400133535265923, 0.001521604717709124, 0.00006647758709732443, -0.02647441066801548, -0.05476932227611542, 0.04117755964398384, 0.01345150824636221, 0.004086132161319256, -0.04165703430771828, 0.0584070049226284, 0.0023185990285128355, -0.044049106538295746, -0.03997620567679405, 0.023830536752939224, -0.051714230328798294, -0.04872770234942436, -0.031234921887516975, 0.03452083468437195, -0.03057951107621193, 0.04700283333659172, 0.008052830584347248, 0.02425527758896351, 0.0796888917684555, -0.010553199797868729, -0.02071954496204853, 0.03245222941040993, 0.07457838952541351, 0.09876687079668045, 0.008834967389702797, 0.007415767293423414, 0.05723518878221512, -0.0022708368487656116, -0.04926364868879318, 0.007695065811276436, -0.030821245163679123, -0.02727876603603363, -0.025864994153380394, 0.0020085901487618685, 0.07927113026380539, -0.031101183965802193, 0.046016860753297806, -0.015375536866486073, 0.019524261355400085, 0.011906584724783897, 0.02066713012754917, 0.023860041052103043, 0.018555570393800735, 0.018010323867201805, 0.0021091389935463667, 0.029990315437316895, -0.05317561700940132, 0.01750791445374489, -0.016582872718572617, -0.03342003375291824, 0.029703311622142792, -0.01330327708274126, 0.0147255165502429, -0.001590730738826096, -0.0011094502406194806, 0.058777596801519394, -0.013925479725003242, 0.00977639015763998, 0.025335803627967834, 0.05554192513227463, -0.035114482045173645, 0.012220080941915512, -0.01782963238656521, -0.011482714675366879, -0.013173738494515419, -0.003949017263948917, -0.02958426997065544, -0.038455262780189514, -0.01206331979483366, 0.027783110737800598, -0.013169635087251663, 0.010424712672829628, -0.0013487044489011168, -0.013969885185360909, -0.022257236763834953, -0.03426480293273926, -0.07615845650434494, -0.052348680794239044, -0.04580109566450119, -0.02943372167646885, 0.026020098477602005, 0.01178428903222084, -0.0464073047041893, -0.00896903034299612, -0.0035307288635522127, -0.026384802535176277, 0.008305937051773071, -0.036809127777814865, -0.014595399610698223, 0.022548899054527283, 0.0029416659381240606, 0.00942810159176588, 0.01251799426972866, 0.05767783895134926, 0.0006973856943659484, 0.0017839742358773947, -0.05423920974135399, 0.01025078259408474, 0.04418642818927765, 0.007879278622567654, -0.0033042049035429955, -0.0734032541513443, 0.015936216339468956, 0.01727207377552986, 0.008637572638690472, -0.05800960958003998, 0.003658666741102934, 0.019081132486462593, 0.02244340255856514, 0.06260691583156586, -0.05678073689341545, -0.012280342169106007, -0.044178593903779984, -0.0017881549429148436, -0.02118857018649578, -0.004165242426097393, 0.04432140663266182, -0.006964764557778835, 0.07606717199087143, 0.06710527092218399, -0.027591824531555176, -0.035620901733636856, 0.009870808571577072, 0.01859145238995552, 0.022483021020889282, -0.027550356462597847, -0.04342007264494896, -0.04319728910923004, -0.11911486089229584, -0.03573049604892731, 0.03393956273794174, -0.01122987736016512, -0.02921624667942524, 0.0047170971520245075, -0.003903276054188609, -0.06513243913650513, 0.0005304599762894213, -0.03788190707564354, -0.014754990115761757, -0.008974550291895866, -0.04203810542821884, -0.012379113584756851, 0.028273187577724457, -0.008144432678818703, -0.03255794569849968, 0.0445903018116951, -0.036209799349308014, -0.011340020224452019, -0.01542120985686779, 0.04166032373905182, 0.07386033236980438, 0.0165642611682415, 0.027410464361310005 ]
[ -0.09732897579669952, -0.05043083801865578, -0.010498273186385632, -0.03263510763645172, 0.030788440257310867, -0.06026092544198036, -0.00876549445092678, 0.031481362879276276, -0.02808476984500885, -0.01943434216082096, 0.04519037529826164, -0.029473787173628807, 0.023905562236905098, -0.008761589415371418, 0.08416051417589188, 0.019765062257647514, -0.0238230861723423, -0.10420941561460495, 0.026230642572045326, 0.0741412565112114, -0.013165228068828583, -0.03089885786175728, -0.01886734738945961, -0.02822076715528965, -0.003941572271287441, 0.03905211761593819, 0.04120023548603058, -0.032220784574747086, -0.01615740731358528, -0.17054671049118042, 0.00016535940812900662, -0.007885366678237915, -0.029879624024033546, 0.007265135645866394, 0.019971881061792374, -0.0038928017020225525, 0.02897142805159092, -0.031157856807112694, -0.013113407418131828, 0.041503556072711945, 0.03144202008843422, 0.040486741811037064, -0.059175554662942886, -0.02875388413667679, 0.018959546461701393, -0.03185249865055084, 0.013759820722043514, -0.0012531410902738571, 0.049108024686574936, -0.013073538430035114, -0.036726344376802444, 0.0006237218622118235, 0.025512617081403732, -0.017671529203653336, 0.003693218110129237, 0.01797497831285, 0.051047421991825104, 0.05274740606546402, 0.019777962937951088, 0.017009824514389038, 0.02668110840022564, -0.012818609364330769, -0.14010238647460938, 0.08522357791662216, 0.04108502343297005, 0.018969953060150146, -0.005187990143895149, 0.02298419550061226, -0.02011699229478836, 0.054881103336811066, -0.0076646581292152405, -0.01165759563446045, -0.06912064552307129, 0.03988044336438179, -0.000592954340390861, 0.020384235307574272, -0.007954169064760208, 0.033843010663986206, 0.028067665174603462, -0.030733898282051086, -0.02043377235531807, -0.023972542956471443, -0.02166476473212242, -0.014823314733803272, -0.044362783432006836, 0.010518824681639671, 0.0003011809312738478, 0.0756930485367775, -0.0066583422012627125, 0.03136331960558891, -0.014351269230246544, 0.025273388251662254, 0.04188894107937813, -0.008392886258661747, -0.11698460578918457, -0.02214924432337284, -0.010004715994000435, 0.003758698469027877, -0.05995595455169678, 0.4226069748401642, -0.007107232231646776, -0.023138249292969704, 0.0500396229326725, 0.04200167953968048, 0.0564563125371933, 0.025602396577596664, -0.004007628653198481, -0.04082956165075302, 0.013689843937754631, -0.005511462688446045, 0.03372897952795029, -0.005873147863894701, 0.06356249004602432, -0.028313124552369118, 0.041427258402109146, 0.03308042883872986, 0.008228483609855175, 0.017440741881728172, -0.012547602877020836, 0.03089640475809574, -0.05055736005306244, -0.005690356250852346, 0.05716114118695259, -0.008636485785245895, 0.01590835116803646, -0.05531873553991318, 0.04245632141828537, 0.06378679722547531, -0.01180698350071907, 0.03196585923433304, 0.03872145339846611, -0.05185198038816452, -0.019206440076231956, -0.005182398483157158, 0.025046220049262047, 0.015303888358175755, 0.02462579682469368, -0.05635426566004753, -0.012181605212390423, 0.003159215208142996, -0.022373579442501068, -0.04556172341108322, 0.036126647144556046, -0.007765736430883408, -0.0058840056881308556, 0.0843590572476387, 0.0389067679643631, -0.025615960359573364, -0.016559557989239693, -0.02970251254737377, 0.0016317004337906837, 0.005917421076446772, 0.009289667941629887, -0.0854828879237175, 0.007488547824323177, 0.02813625894486904, 0.09659089893102646, 0.02861260622739792, -0.05157845467329025, -0.014012807048857212, -0.004016383551061153, -0.045624107122421265, -0.0493118092417717, 0.05357249453663826, 0.04573727026581764, -0.11917716264724731, -0.021563250571489334, 0.014857704751193523, -0.008092373609542847, -0.0776427835226059, -0.04126134514808655, -0.0151603939011693, -0.01108755636960268, -0.023789983242750168, 0.03526538610458374, -0.05222358927130699, -0.03414732590317726, 0.01607748307287693, 0.014423264190554619, 0.022475501522421837, -0.03282458707690239, -0.018643880262970924, -0.019334396347403526, -0.017965203151106834, -0.01762331649661064, -0.06288095563650131, -0.06724818050861359, 0.011497743427753448, -0.014643113128840923, -0.043255891650915146, -0.057779114693403244, -0.04843945801258087, -0.0893784761428833, 0.07273602485656738, 0.009561951272189617, -0.04637651517987251, -0.0003083807823713869, 0.006755927111953497, -0.003049413673579693, -0.05117331072688103, 0.03486216440796852, -0.010947780683636665, -0.030463429167866707, 0.034260474145412445, -0.1029588058590889, 0.05375015363097191, 0.0426875464618206, -0.05367190018296242, 0.05449574440717697, 0.008549708873033524, -0.007691007107496262, 0.004007154144346714, 0.03196395933628082, 0.0212296973913908, -0.007922160439193249, -0.0204960685223341, -0.0035790004767477512, 0.05450120568275452, 0.024531831964850426, 0.03859115391969681, 0.006032261066138744, 0.048705779016017914, -0.02610509842634201, -0.3242497742176056, -0.0551624670624733, -0.033876605331897736, 0.008974344469606876, 0.014145469292998314, -0.04936506599187851, 0.012769689783453941, -0.00962019618600607, -0.0052708908915519714, 0.007810068782418966, 0.12029136717319489, 0.0171559639275074, 0.021268660202622414, -0.08909719437360764, -0.0014402659144252539, 0.008651252835988998, -0.02325786091387272, 0.026931561529636383, -0.025612181052565575, 0.02762860804796219, 0.00037732216878794134, -0.011118007823824883, -0.050678376108407974, -0.022652186453342438, -0.023337887600064278, -0.0055858781561255455, 0.11939834803342819, 0.0005372007726691663, 0.08926084637641907, -0.040732525289058685, 0.06333303451538086, 0.0387716069817543, 0.005343304481357336, -0.0983787253499031, -0.021465109661221504, -0.0004100626683793962, 0.0261538028717041, 0.026893094182014465, 0.04456239566206932, -0.01687530241906643, -0.11258450895547867, 0.032788895070552826, -0.03694174066185951, -0.037455227226018906, -0.008189758285880089, 0.0025739457923918962, -0.013055882416665554, -0.00044035434257239103, -0.04240758344531059, 0.04468783736228943, 0.022559748962521553, -0.011886443011462688, -0.010560228489339352, 0.012490752153098583, 0.03431377932429314, -0.026950737461447716, -0.045080289244651794, -0.0004655552620533854, 0.01863066479563713, -0.006003454327583313, 0.0317741259932518, 0.09888111054897308, 0.0059084296226501465, -0.07214683294296265, 0.03727790713310242, 0.02598092332482338, -0.0013742106966674328, 0.02908339723944664, 0.05451086163520813, -0.027744092047214508, -0.021442538127303123, 0.11259648203849792, -0.008484556339681149, 0.020728817209601402, -0.006580123212188482, 0.019780326634645462, -0.01235729269683361, 0.008874326013028622, 0.0013127041747793555, -0.02211443893611431, 0.05043597146868706, -0.04365911707282066, 0.052610330283641815, -0.04998729005455971, -0.032858941704034805, 0.032102279365062714, -0.00010950425348710269, 0.018252654001116753, 0.06725306808948517, 0.021885134279727936, -0.028361767530441284, -0.0035197711549699306, -0.006375831551849842, -0.0598064623773098, 0.08072561770677567, -0.00213802931830287, -0.25033167004585266, 0.021553395316004753, 0.06141863018274307, 0.03184622526168823, -0.03653058782219887, 0.01808919757604599, 0.04701562970876694, -0.020788151770830154, -0.022280141711235046, 0.005071492865681648, 0.024080120027065277, 0.011638731695711613, -0.031716395169496536, 0.0031643088441342115, 0.029630158096551895, -0.0020435841288417578, 0.01782410964369774, -0.0011537151876837015, -0.010570501908659935, 0.0022946204990148544, 0.004501216113567352, -0.006838022265583277, 0.13320715725421906, -0.008909453637897968, 0.03205719217658043, 0.03816256299614906, -0.003918016329407692, 0.04074868559837341, 0.05042947456240654, 0.0039278785698115826, -0.009171737357974052, -0.001441480009816587, 0.0006148928659968078, -0.02698691561818123, 0.04054125025868416, -0.09832483530044556, 0.023642005398869514, 0.02670552209019661, 0.030470669269561768, -0.02271365001797676, -0.03251456469297409, 0.03023289144039154, 0.016695626080036163, 0.02176619879901409, 0.06607550382614136, 0.020351363345980644, -0.015266429632902145, -0.022297371178865433, -0.009386173449456692, -0.011332932859659195, -0.06317903846502304, -0.07521811872720718, 0.058929361402988434, 0.016187239438295364, 0.010175749659538269, 0.08114561438560486, 0.012784055434167385, -0.0423511266708374, -0.01138378120958805, 0.026211922988295555, 0.005056061781942844, -0.06370512396097183, 0.12219583988189697, -0.028134619817137718, 0.02652963623404503 ]
[ -0.006703886669129133, 0.05882912874221802, -0.0011299157049506903, 0.005760675296187401, 0.027203500270843506, 0.016678623855113983, -0.011860408820211887, 0.011722266674041748, -0.0013354740804061294, 0.028393978253006935, 0.003219886217266321, 0.005288660526275635, 0.01849173568189144, -0.002161622978746891, -0.016433216631412506, -0.03452827408909798, 0.033717092126607895, 0.006164611782878637, 0.02776176482439041, 0.0018789268797263503, -0.029530245810747147, 0.026811005547642708, 0.051025912165641785, -0.03950614482164383, -0.0028207048308104277, 0.013131852261722088, -0.038355447351932526, 0.0065563335083425045, 0.010003636591136456, -0.1313260942697525, -0.05437300726771355, -0.000824501970782876, -0.056072086095809937, 0.02761489525437355, 0.0167662613093853, -0.030643386766314507, 0.012951930984854698, 0.038524385541677475, -0.053849779069423676, 0.015717457979917526, 0.05892178416252136, -0.02054590918123722, -0.010028891265392303, -0.011646979488432407, -0.033725567162036896, -0.027926387265324593, -0.006041662767529488, -0.009609751403331757, 0.02535940520465374, -0.0033794594928622246, -0.047549162060022354, 0.043186042457818985, 0.018648257479071617, 0.018013812601566315, 0.05499261990189552, 0.0073447274044156075, -0.013267196714878082, 0.033125296235084534, -0.02280893549323082, -0.03184746950864792, 0.0337250716984272, 0.0024869178887456656, -0.06629077345132828, -0.020958131179213524, -0.03408144786953926, -0.00981385912746191, -0.0012452941155061126, 0.019943159073591232, 0.002877578604966402, -0.008898893371224403, -0.03283005207777023, 0.049833979457616806, -0.0656699389219284, -0.02505398355424404, -0.026677686721086502, 0.04141831398010254, 0.04445793852210045, -0.010371219366788864, 0.008646833710372448, 0.020006759092211723, -0.06508810818195343, -0.0037021117750555277, -0.03218716010451317, 0.028060464188456535, -0.04981141909956932, 0.01109276618808508, -0.00397134805098176, 0.02097655087709427, 0.006947385147213936, -0.009969361126422882, -0.020638596266508102, 0.012947476468980312, 0.012079817242920399, -0.024092942476272583, -0.08092062175273895, 0.0008253718842752278, -0.030253753066062927, -0.015280429273843765, -0.011230510659515858, 0.8015516996383667, -0.001039183815009892, -0.017503269016742706, -0.00038939627120271325, 0.009853091090917587, -0.0020814472809433937, 0.022956036031246185, 0.01811051554977894, -0.0009162520291283727, 0.02000250667333603, -0.052285272628068924, 0.017048614099621773, 0.04096955060958862, 0.004604635294526815, 0.004461904056370258, 0.00199594022706151, 0.023633716627955437, 0.008429269306361675, 0.02410700172185898, 0.0007952268933877349, 0.03423440828919411, 0.028714735060930252, 0.000011584621461224742, -0.003135589649900794, 0.044838737696409225, -0.0084780128672719, -0.16570711135864258, 0.04387914761900902, -7.677024300841769e-33, 0.004996123258024454, -0.00917116180062294, -0.006000751629471779, -0.005420089699327946, 0.08528893440961838, -0.023706121370196342, 0.01875179633498192, 0.013231698423624039, -0.026759149506688118, -0.03435727208852768, -0.03820764273405075, -0.05229715630412102, 0.007142717484384775, -0.03581925854086876, 0.0518907867372036, -0.02333834394812584, -0.003133234800770879, 0.024584464728832245, -0.021480806171894073, -0.011359955184161663, -0.007911505177617073, 0.0038806304801255465, 0.01827508583664894, 0.027518173679709435, 0.0272983405739069, -0.02368462085723877, -0.020547060295939445, 0.025080356746912003, -0.006187060847878456, -0.04013456031680107, -0.004771473351866007, 0.025992615148425102, -0.01609336957335472, -0.04312080144882202, 0.014332327991724014, -0.046063315123319626, -0.002535502891987562, 0.006620039697736502, -0.02505400963127613, -0.02816002629697323, -0.04531145468354225, -0.008269516751170158, -0.02950470522046089, 0.025076698511838913, -0.024742191657423973, -0.05269692838191986, 0.006758641451597214, 0.040227849036455154, -0.006564534734934568, 0.014465916901826859, 0.025298548862338066, -0.00812296662479639, 0.005807740148156881, -0.02059950679540634, 0.019482843577861786, 0.030506214126944542, 0.044997844845056534, 0.018638096749782562, -0.014256070367991924, 0.05910980701446533, 0.04178343340754509, -0.025211362168192863, -0.02861964888870716, 0.041666481643915176, 0.014574112370610237, 0.01565334014594555, 0.016802368685603142, -0.01542593166232109, 0.0011412878520786762, 0.02160283923149109, -0.07397202402353287, 0.007107737939804792, -0.02230488322675228, 0.0007848112727515399, 0.058631524443626404, 0.008537068963050842, -0.002396185416728258, -0.0015194345032796264, 0.023411227390170097, 0.04877253994345665, 0.01738712005317211, -0.008606192655861378, 0.00812128558754921, -0.03462247550487518, -0.022593123838305473, -0.04662550240755081, -0.015132654458284378, -0.024431120604276657, 0.02418931946158409, -0.020187348127365112, 0.02311090938746929, 0.021070128306746483, 0.0511605441570282, -0.03229885175824165, -0.04034363478422165, 7.98313551942337e-33, -0.031325582414865494, -0.014556064270436764, -0.01823512837290764, -0.025591347366571426, -0.014258967712521553, 0.009760078974068165, 0.007950742729008198, -0.016305044293403625, -0.051511384546756744, 0.02183503285050392, -0.015078713186085224, 0.0009922034805640578, 0.0031965121161192656, 0.03659260645508766, 0.017621828243136406, -0.008236299268901348, 0.04267346113920212, -0.0033645264338701963, 0.03768553584814072, -0.001370182610116899, 0.012089951895177364, 0.004307829309254885, 0.026278844103217125, -0.018636507913470268, 0.021350588649511337, 0.034700483083724976, 0.029296187683939934, 0.03647893667221069, -0.01703648455440998, -0.018689129501581192, -0.010567654855549335, -0.02886815369129181, -0.014525321312248707, 0.008219401352107525, 0.011732795275747776, 0.03834502398967743, 0.07133467495441437, -0.011672310531139374, 0.022723183035850525, -0.005567670799791813, 0.03567979112267494, 0.014617091044783592, -0.016674824059009552, 0.0037025990895926952, -0.023820068687200546, 0.0245408546179533, -0.002192444633692503, -0.006768682971596718, -0.06049102172255516, 0.011053189635276794, -0.011099172756075859, 0.03564009815454483, 0.021731164306402206, 0.03365610912442207, -0.0071650720201432705, -0.0025819067377597094, -0.028372757136821747, 0.04750175401568413, 0.033105723559856415, 0.022602204233407974, 0.01820586994290352, -0.055544741451740265, -0.0181411262601614, 0.04890736564993858, -0.01472291350364685, 0.014281490817666054, 0.0075922091491520405, 0.026648350059986115, 0.004826366901397705, -0.03197237849235535, 0.0004776625137310475, 0.006274926010519266, -0.028260191902518272, 0.0406828410923481, 0.01742435246706009, -0.020675327628850937, -0.009047080762684345, -0.026121027767658234, -0.031050872057676315, 0.04631318151950836, -0.0022440713364630938, 0.03830064460635185, -0.05267554894089699, -0.017977306619286537, 0.015636611729860306, 0.03440084308385849, -0.022027859464287758, 0.025203092023730278, 0.0338485911488533, -0.018339375033974648, -0.020115993916988373, -0.04591210186481476, -0.02659224532544613, 0.06334434449672699, -0.011801162734627724, -1.2766640189454392e-8, -0.00629340298473835, 0.002451815875247121, -0.00207005487754941, 0.01976066455245018, 0.02838488295674324, 0.03593885898590088, -0.024344928562641144, -0.044378623366355896, -0.03028063476085663, 0.021507032215595245, -0.007219091057777405, -0.02716345526278019, -0.003983793780207634, 0.014673957601189613, 0.04197464510798454, -0.025029055774211884, 0.0047258916310966015, -0.014941743575036526, 0.046159952878952026, 0.006079081911593676, 0.06133675575256348, 0.04877036064863205, -0.0004999419907107949, 0.011016327887773514, -0.03416551649570465, -0.0010086847469210625, 0.022321317344903946, -0.06962765008211136, -0.021163739264011383, -0.014455867931246758, -0.010249421000480652, 0.0018868133192881942, -0.053160812705755234, 0.05313989147543907, -0.0568951815366745, -0.06283210217952728, -0.051278118044137955, 0.01985829509794712, 0.011182368732988834, 0.027630841359496117, 0.008137245662510395, 0.003908595070242882, -0.007759645115584135, -0.018242349848151207, 0.017888890579342842, 0.0002855102939065546, 0.02505728043615818, 0.001953981351107359, 0.006231440231204033, -0.06684156507253647, 0.04516645520925522, 0.0110253244638443, 0.016565736383199692, -0.004810832440853119, 0.002314183861017227, -0.014097852632403374, 0.03796571493148804, -0.045937128365039825, -0.031973838806152344, 0.015299205668270588, 0.01859782263636589, 0.038980137556791306, -0.03284592553973198, -0.02991611137986183 ]
waiting-for-a-port-to-be-open
https://markhneedham.com/blog/2013/01/20/waiting-for-a-port-to-be-open
false
2013-01-18 00:40:32
Bellman-Ford algorithm in Python
[ "algorithms", "graphs" ]
[ "Algorithms" ]
The latest problem of the https://www.coursera.org/course/algo2[Algorithms 2] class required us to write an algorithm to calculate the http://en.wikipedia.org/wiki/Shortest_path_problem[shortest path between two nodes on a graph] and one algorithm which allows us to do this is http://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm[Bellman-Ford]. Bellman-Ford computes the single source shortest path which means that if we have a 5 vertex graph we'd need to run it 5 times to find the shortest path for each vertex and then find the shortest paths of those shortest paths. One nice thing about Bellman-Ford compared to http://en.wikipedia.org/wiki/Dijkstra's_algorithm[Djikstra] is that it's able to handle negative edge weights. The pseudocode of the algorithm is as follows: * Let +++<cite>+++A+++</cite>+++ = 2-D array of size +++<cite>+++n+++</cite>+++ * +++<cite>+++n+++</cite>+++ where n is the number of vertices * Initialise +++<cite>+++A[0,s] = 0+++</cite>+++; A[0,v] = infinity for all v &ne; +++<cite>+++s+++</cite>+++ where +++<cite>+++s+++</cite>+++ is the node we're finding the shortest path for * for i=1,2,3,...n-1 ** for each v &isin; V *** A[i,v] = min { A[i-1, v], + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;min (w,v) &isin; E { A[k-1, w] + Cost~wv~ } + &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp} *** where (w,v) are the incoming edges of vertex v * check for negative cycles by running one more time and checking A[n] = A[n-1] * If they are equal then return A[n-1] otherwise report a negative cycle. My first version looked like this: [source,python] ---- import os file = open(os.path.dirname(os.path.realpath(__file__)) + "/g_small.txt") vertices, edges = map(lambda x: int(x), file.readline().replace("\n", "").split(" ")) adjacency_list = [[] for k in xrange(vertices)] for line in file.readlines(): tail, head, weight = line.split(" ") adjacency_list[int(head)-1].append({"from" : int(tail), "weight" : int(weight)}) s=0 cache = [[0 for k in xrange(vertices+1)] for j in xrange(vertices+1)] cache[0][s] = 0 for v in range(0, vertices): if v != s: cache[0][v] = float("inf") for i in range(1, vertices): for v in range(0, vertices): least_adjacent_cost = calculate_least_adjacent_cost(adjacency_list, i, v, cache[i-1]) cache[i][v] = min(cache[i-1][v], least_adjacent_cost) # detecting negative cycles for v in range(0, vertices): least_adjacent_cost = calculate_least_adjacent_cost(adjacency_list, i, v, cache[vertices-1]) cache[vertices][v] = min(cache[vertices-1][v], least_adjacent_cost) if(not cache[vertices] == cache[vertices-1]): raise Exception("negative cycle detected") shortest_path = min(cache[vertices-1]) print("Shortest Path: " + str(shortest_path)) ---- where +++<cite>+++calculate_least_adjacent_cost+++</cite>+++ is defined like so: [source,python] ---- def calculate_least_adjacent_cost(adjacency_list, i, v, cache): adjacent_nodes = adjacency_list[v] least_adjacent_cost = float("inf") for node in adjacent_nodes: adjacent_cost = cache[node["from"]-1] + node["weight"] if adjacent_cost < least_adjacent_cost: least_adjacent_cost = adjacent_cost return least_adjacent_cost ---- As you can see we're using an adjacency list as our graph representation, mapping from each node to its corresponding edges. We then initialise the cache as per the algorithm and then have two nested for loops which we use to work out the shortest path from +++<cite>+++s+++</cite>+++ to each vertex. The +++<cite>+++calculate_least_adjacent_cost+++</cite>+++ function is used to work out which of the incoming edges to a vertex has the lowest cost, taking into account previous shortest path calculations that we've done up to the source vertices of those incoming edges. We then have an extra call at the end to check for negative cycles. If there is no change in the values calculated from +++<cite>+++s+++</cite>+++ to each vertex then we know we don't have any negative cycles because otherwise one of them would have come into effect and given us a different result. This algorithm works but it's inefficient in its use of space - our cache has size n*n when we only ever care about 2 of the rows - the previous and current ones - so we can just use a list instead. If we do this the code now looks like this: [source,python] ---- s=0 cache = [[] for j in xrange(vertices+1)] cache[s] = 0 for v in range(0, vertices): if v != s: cache[v] = float("inf") for i in range(1, vertices): for v in range(0, vertices): previous_cache = cache least_adjacent_cost = calculate_least_adjacent_cost(adjacency_list, i, v, previous_cache) cache[v] = min(previous_cache[v], least_adjacent_cost) # detecting negative cycles for v in range(0, vertices): previous_cache = copy.deepcopy(cache) least_adjacent_cost = calculate_least_adjacent_cost(adjacency_list, i, v, previous_cache) cache[v] = min(previous_cache[v], least_adjacent_cost) if(not cache == previous_cache): raise Exception("negative cycle detected") ---- By doing this we lose the history of the algorithm over the run which means in its current state we wouldn't be able to work our what the shortest path was, we just know its cost. For a 1000 node, 47978 edge graph it takes 27 seconds to go over the whole graph and detect a negative cycle if there is one. The https://github.com/mneedham/algorithms2/blob/master/shortestpath/shortestpaths.py[code for this algorithm] is on github as always.
null
null
[ -0.00024853271315805614, 0.0038640396669507027, -0.024841373786330223, 0.046812765300273895, 0.07900596410036087, 0.034719318151474, 0.006019909400492907, 0.06408330798149109, -0.002184020821005106, -0.02712489292025566, 0.025758232921361923, -0.00851930771023035, -0.06322411447763443, -0.007861721329391003, -0.027325980365276337, 0.06157775595784187, 0.05427877604961395, 0.018073242157697678, 0.01340649463236332, -0.029411641880869865, 0.026103677228093147, 0.08181636780500412, 0.028412766754627228, 0.04800787568092346, 0.053978223353624344, 0.013344322331249714, 0.011579693295061588, 0.008763926103711128, -0.03151042014360428, 0.0017595364479348063, 0.04203581437468529, 0.0037311187479645014, 0.009916340000927448, -0.020115958526730537, 0.033531781286001205, 0.003141123568639159, -0.02796861156821251, -0.005282323341816664, -0.007219309918582439, 0.020079318434000015, -0.07727494090795517, 0.056289710104465485, -0.03622392565011978, 0.01789645105600357, -0.03220329061150551, 0.021663574501872063, -0.03955871984362602, 0.007974277250468731, 0.009264860302209854, -0.0051138573326170444, -0.10390128195285797, 0.04127040505409241, -0.028750723227858543, 0.02716492861509323, -0.03214605152606964, 0.03843776136636734, 0.023873206228017807, -0.05414522811770439, 0.027463609352707863, -0.042032405734062195, 0.020654190331697464, -0.0010700600687414408, 0.014484631828963757, 0.04559827968478203, 0.004729925189167261, -0.030504655092954636, 0.023801790550351143, 0.06876709312200546, -0.025711804628372192, -0.005730943288654089, -0.01069073099642992, 0.014114069752395153, -0.0191043633967638, 0.020872699096798897, -0.002317908452823758, -0.03336802124977112, 0.003817450487986207, 0.0447477325797081, 0.007568884640932083, 0.021491602063179016, -0.01614251546561718, 0.027285655960440636, -0.01074436865746975, 0.02898682840168476, 0.0032621370628476143, -0.011550563387572765, -0.04532686248421669, -0.03302630037069321, -0.08447430282831192, 0.029133273288607597, 0.0030870535410940647, -0.04793189838528633, -0.018630782142281532, 0.02150333859026432, -0.012486468069255352, -0.017897535115480423, 0.04366786777973175, -0.010821829549968243, -0.005764983594417572, -0.026865320280194283, -0.010851035825908184, -0.045223724097013474, 0.0374026894569397, 0.0030654340516775846, -0.0726473331451416, -0.013801283203065395, -0.0126963434740901, 0.02929534949362278, 0.028632905334234238, -0.006791098974645138, -0.037236083298921585, -0.002761727897450328, -0.03145955875515938, 0.006667790003120899, -0.07800614088773727, 0.06407486647367477, -0.007660839706659317, -0.042096663266420364, 0.005991451907902956, 0.028534777462482452, 0.05209257826209068, 0.028468649834394455, 0.008953306823968887, 0.0752486139535904, -0.009367796592414379, 0.027893751859664917, 0.002218571025878191, 0.03401133045554161, -0.023003123700618744, -0.0456874743103981, -0.020054126158356667, 0.06509459018707275, 0.005091389641165733, -0.006807086523622274, -0.03491738811135292, -0.04574032127857208, -0.002643030369654298, 0.03923207148909569, 0.025731466710567474, 0.03167819231748581, -0.015376383438706398, -0.04080699384212494, 0.034738343209028244, 0.002164552453905344, 0.03150440379977226, -0.010202239267528057, 0.018160831183195114, -0.015977265313267708, -0.01565246284008026, -0.001488300389610231, -0.021806996315717697, 0.005935565568506718, 0.011748536489903927, -0.04700975492596626, -0.0025636598002165556, 0.10927719622850418, 0.04510973393917084, 0.00962425209581852, -0.025109734386205673, 0.014321516267955303, 0.0714716985821724, 0.010441003367304802, 0.01815282180905342, 0.0404902920126915, -0.001901023555546999, -0.02761852741241455, 0.004699953366070986, 0.07314964383840561, -0.022495776414871216, -0.025407040491700172, -0.039785973727703094, -0.06727918982505798, 0.0599481537938118, -0.05343778431415558, -0.034929271787405014, 0.02535722777247429, 0.06858214735984802, 0.027877427637577057, 0.02210383303463459, -0.00577913224697113, -0.081455759704113, 0.05418001115322113, 0.021180298179388046, 0.03878024220466614, 0.0051764012314379215, -0.0189041905105114, 0.07979198545217514, 0.03890395909547806, 0.004450965207070112, -0.007046033162623644, -0.06268402934074402, -0.07371099293231964, -0.014629844576120377, -0.027624357491731644, 0.05980471149086952, -0.008170963265001774, 0.010805726982653141, 0.012925342656672001, -0.003941092640161514, 0.048160769045352936, 0.0067474511452019215, -0.01203056238591671, 0.026741860434412956, -0.04388180375099182, -0.06307916343212128, 0.0891093760728836, 0.021485164761543274, -0.022460198029875755, -0.05349928140640259, 0.014557581394910812, -0.01758139207959175, -0.017979880794882774, -0.0009922378230839968, -0.027317093685269356, 0.02230033092200756, -0.004179672338068485, 0.05879557132720947, -0.016730763018131256, 0.07367345690727234, -0.04807622730731964, 0.025422217324376106, 0.0037453146651387215, -0.036276496946811676, 0.013204261660575867, 0.013132119551301003, 0.12193098664283752, 0.06436221301555634, -0.021551739424467087, -0.05041683465242386, 0.03858654201030731, 0.009986368007957935, -0.03550340607762337, -0.0035588019527494907, -0.02861832082271576, -0.010085035115480423, -0.0037361367139965296, -0.04975666478276253, -0.03965764865279198, 0.02978327125310898, -0.030793391168117523, 0.008708992972970009, 0.05528601258993149, -0.042389437556266785, 0.07392971217632294, 0.0006555688451044261, -0.02148984745144844, 0.0038456537295132875, -0.041699040681123734, -0.04198770970106125, 0.011726775206625462, -0.020160891115665436, -0.011025799438357353, 0.0446663461625576, -0.006315089296549559, -0.040689218789339066, -0.021168192848563194, -0.007811938878148794, 0.028621824458241463, 0.08172081410884857, 0.05927625298500061, -0.0006060004816390574, 0.059216778725385666, -0.015779679641127586, 0.01812322996556759, -0.0422685332596302, -0.06809944659471512, -0.03776930645108223, -0.025604449212551117, 0.02696838788688183, 0.04503221437335014, 0.015756912529468536, -0.008430307731032372, 0.03356553986668587, 0.001911734463647008, -0.005030622705817223, -0.006648127920925617, 0.0691756084561348, 0.0030279855709522963, -0.021579770371317863, -0.022631529718637466, -0.025057291612029076, 0.06241891160607338, -0.03932703658938408, -0.027404405176639557, 0.011380497366189957, -0.053982723504304886, 0.060935474932193756, -0.0509992279112339, -0.009709561243653297, 0.018969668075442314, 0.014303786680102348, 0.04478821903467178, 0.0013221334666013718, -0.017863813787698746, 0.059893108904361725, 0.00036039718543179333, 0.018410054966807365, -0.00854823924601078, 0.024499982595443726, 0.006934270262718201, -0.01129399798810482, 0.027302689850330353, 0.022883040830492973, 0.017044125124812126, -0.013678048737347126, 0.002812001621350646, 0.0172874853014946, 0.02769918367266655, -0.24223750829696655, 0.03682318329811096, -0.021929394453763962, -0.05345313996076584, 0.01638229377567768, -0.01967674307525158, -0.002917136996984482, -0.026543905958533287, -0.02490268275141716, 0.010135120712220669, -0.027136117219924927, -0.0354929156601429, -0.03716495260596275, 0.043875545263290405, 0.013753606006503105, -0.006716292817145586, -0.019035710021853447, -0.06354708969593048, -0.006550334859639406, 0.04134812206029892, -0.0007879446493461728, -0.08783481270074844, -0.02063097432255745, 0.023085666820406914, 0.03131263330578804, 0.06234826147556305, -0.10086755454540253, 0.009340695105493069, -0.056494858115911484, -0.01937081106007099, -0.016678955405950546, -0.016340116038918495, 0.005854494869709015, -0.039999332278966904, -0.004668592941015959, -0.06306903064250946, 0.04334678128361702, -0.021891718730330467, 0.015668531879782677, 0.02929481491446495, -0.03475631773471832, -0.03197139874100685, 0.0027826502919197083, -0.007543160580098629, 0.07089681923389435, 0.026304451748728752, -0.04143914952874184, -0.0003456835402175784, -0.018993673846125603, 0.059218235313892365, -0.029704393818974495, -0.02368052303791046, -0.009434872306883335, 0.01649477146565914, 0.006112720817327499, -0.018609508872032166, 0.008693872019648552, -0.02659442648291588, -0.04889152571558952, -0.04317338764667511, 0.008456762880086899, -0.0222067441791296, -0.0015074710827320814, -0.07422226667404175, -0.01612582430243492, -0.04346160963177681, -0.05147761479020119, -0.004065787419676781, 0.05244477093219757, 0.010818418115377426, -0.00392340449616313, 0.0057740588672459126, -0.020698752254247665, -0.09397850185632706, -0.0231789480894804, -0.014323022216558456, -0.024816224351525307, 0.027022095397114754, -0.003045514691621065, 0.039158016443252563, -0.01437805499881506, -0.05554305389523506, 0.0008528525941073895, 0.014318765141069889, 0.009000085294246674, -0.019738538190722466, 0.005233724135905504, -0.0016268618637695909, -0.00932073500007391, 0.00069310242542997, 0.07691875845193863, 0.01863229088485241, -0.029446575790643692, -0.040396127849817276, 0.011323776096105576, 0.021091118454933167, 0.009568996727466583, 0.02408767305314541, 0.004353465978056192, 0.028003957122564316, 0.045344918966293335, -0.01654202863574028, 0.02948003076016903, -0.005956119857728481, -0.06284510344266891, 0.02457573264837265, -0.04549587145447731, 0.0315549336373806, 0.0299331396818161, 0.015348412096500397, -0.012887651100754738, -0.03510473668575287, 0.04942573234438896, -0.05600665882229805, -0.04013071209192276, -0.03126448392868042, 0.011250012554228306, 0.0312550850212574, 0.018179960548877716, -0.005981682799756527, -0.07595063000917435, 0.05900482460856438, -0.016153771430253983, -0.0246396716684103, -0.05987394601106644, -0.0162380188703537, -0.020091425627470016, -0.0017276951111853123, 0.01755240559577942, 0.02212401293218136, -0.01763562299311161, 0.05918029695749283, 0.024170929566025734, -0.002839630702510476, 0.007182632107287645, -0.025234360247850418, -0.045112304389476776, -0.045607876032590866, 0.02945064567029476, -0.015417401678860188, 0.016847940161824226, 0.03355111926794052, 0.017456132918596268, -0.006457431707531214, 0.07332172989845276, 0.007770072668790817, 0.028027815744280815, -0.016479279845952988, 0.013803113251924515, -0.013795524835586548, -0.008210879750549793, -0.01900039240717888, 0.025944316759705544, -0.03212112933397293, 0.004650528077036142, -0.02489732950925827, 0.026208478957414627, -0.03329874947667122, -0.05030106380581856, -0.00802708137780428, 0.026196077466011047, -0.047600969672203064, 0.012360507622361183, -0.02326069213449955, -0.01116508524864912, 0.09057871997356415, 0.007084537297487259, 0.012307385914027691, -0.0326688177883625, -0.032772090286016464, 0.035803139209747314, -0.023993829265236855, -0.058783289045095444, 0.01563270390033722, -0.0031375817488878965, -0.036701712757349014, -0.0028933065477758646, -0.00977435614913702, 0.016408653929829597, 0.0038276761770248413, -0.03697937726974487, -0.02493685856461525, 0.015748759731650352, 0.007518860977143049, 0.0380890816450119, 0.01914953626692295, -0.030636770650744438, -0.003040015697479248, -0.016737554222345352, -0.010973628610372543, 0.01551149319857359, -0.014680799096822739, -0.024944182485342026, 0.01865481771528721, -0.017507296055555344, -0.06042781099677086, 0.015266439877450466, -0.021925058215856552, 0.008462718687951565, 0.02035641297698021, -0.011515515856444836, 0.007275685202330351, -0.012098949402570724, 0.044294025748968124, 0.036500483751297, -0.06065049394965172, 0.019781969487667084, 0.015277785249054432, 0.023375583812594414, 0.0009985195938497782, -0.001356742694042623, -0.040662895888090134, 0.0010025693336501718, -0.01221633143723011, 0.023621536791324615, -0.04043170437216759, -0.041878726333379745, -0.013357368297874928, 0.0007360376184806228, 0.005961749702692032, 0.019323326647281647, -0.0035141909029334784, -0.004364551976323128, -0.03787356987595558, -0.024555278941988945, 0.060264986008405685, -0.0259535051882267, -0.011937114410102367, 0.019884219393134117, -0.018545500934123993, -0.014692997559905052, -0.012845925986766815, 0.013395264744758606, 0.027165986597537994, 0.003161771921440959, 0.004814560059458017, -0.06593915075063705, -0.019413333386182785, -0.03826465085148811, 0.0459958016872406, -0.006360196974128485, 0.0028595146723091602, -0.05334560200572014, -0.0005822142702527344, -0.010689285583794117, 0.0242730975151062, 0.0013387164799496531, -0.025379324331879616, 0.03007102571427822, 0.004316070582717657, -0.007176068611443043, 0.014023480005562305, -0.012474222108721733, -0.010128370486199856, 0.056142065674066544, -0.03398927301168442, -0.04647572338581085, -0.04618038237094879, -0.0359882153570652, 0.006914874538779259, -0.022404029965400696, 0.01688951812684536, -0.018399057909846306, 0.06277690827846527, 0.05713323503732681, 0.005460080690681934, 0.019215794280171394, -0.011822303757071495, 0.012216044589877129, -0.04253273084759712, 0.017823845148086548, -0.09827052056789398, 0.0009066622005775571, 0.011013614013791084, -0.0004906296380795538, 0.015164516866207123, 0.006236405111849308, -0.0102334413677454, 0.0022911732085049152, -0.09247284382581711, -0.017029963433742523, 0.04625336453318596, 0.003079157555475831, -0.002848624484613538, 0.01671084761619568, -0.04034276306629181, 0.030853981152176857, 0.05083603039383888, -0.04766896367073059, 0.015710683539509773, -0.03285517171025276, 0.04488062858581543, -0.011756852269172668, 0.017573894932866096, -0.013490104116499424, -0.003663601353764534, 0.061052512377500534, 0.046114157885313034, 0.023985231295228004, 0.03599384427070618, -0.04799455776810646, 0.04301595687866211, 0.041838597506284714, 0.002449046354740858, -0.018683135509490967, 0.03933045268058777, -0.02811473049223423, -0.04637526348233223, 0.050620708614587784, 0.015566142275929451, -0.009680038318037987, -0.056338753551244736, 0.06141354888677597, 0.03981760889291763, -0.05067039653658867, -0.05952475965023041, 0.009007301181554794, -0.0542263463139534, 0.002302865032106638, -0.011076493188738823, -0.004282659851014614, -0.008719676174223423, 0.0585457868874073, -0.04256632924079895, 0.0026713251136243343, 0.07935129106044769, 0.002191426232457161, -0.04189521446824074, -0.00634450139477849, 0.10809405148029327, 0.08961056917905807, 0.049840494990348816, -0.01563800498843193, 0.07844053953886032, -0.014564095996320248, -0.03265897557139397, 0.014780184254050255, -0.048668693751096725, -0.023487180471420288, -0.017388343811035156, 0.027225283905863762, 0.0547993928194046, -0.036732595413923264, 0.06557592004537582, -0.036585912108421326, 0.014167333953082561, 0.03690465912222862, 0.02326236106455326, 0.004274635575711727, 0.07264109700918198, -0.004660488106310368, 0.04656578227877617, -0.013644152320921421, -0.021308694034814835, 0.01847255975008011, 0.011362923309206963, -0.0065141357481479645, 0.016401611268520355, -0.038270436227321625, 0.022704198956489563, 0.023111116141080856, 0.030890215188264847, 0.10374757647514343, -0.038834765553474426, -0.015851352363824844, -0.01502742525190115, 0.011427734978497028, -0.0251007080078125, 0.003597990609705448, 0.01597777009010315, -0.032117269933223724, -0.01451338641345501, -0.0400649793446064, -0.006823923904448748, -0.021304721012711525, 0.0024656124878674746, 0.012550841085612774, 0.0069321938790380955, 0.03428792208433151, 0.01523432694375515, 0.006615105085074902, -0.02273588627576828, -0.029329760000109673, -0.0422818697988987, -0.06737552583217621, -0.06487208604812622, 0.006019278429448605, 0.0004416254232637584, -0.015071864239871502, -0.04233607277274132, -0.03741311654448509, -0.0005819493089802563, -0.015925580635666847, 0.025607777759432793, -0.026148255914449692, -0.011174703016877174, 0.00732343690469861, 0.045331984758377075, 0.012092554941773415, -0.004311121068894863, 0.05173593759536743, -0.017469868063926697, 0.0040182871744036674, -0.013467511162161827, 0.009561238810420036, 0.014825154095888138, 0.025645237416028976, -0.0019421539036557078, -0.06526314467191696, -0.008539888076484203, 0.0093474006280303, -0.03405246138572693, -0.08956870436668396, 0.02194668911397457, 0.03843323513865471, 0.013212194666266441, 0.04439688101410866, -0.01572757586836815, 0.012659275904297829, -0.06408428400754929, -0.01281766127794981, 0.0021302858367562294, -0.04328600689768791, 0.03186051920056343, -0.025700882077217102, 0.07905615866184235, 0.004327545873820782, -0.0002812551974784583, -0.04709646478295326, 0.0006894035614095628, -0.002785522723570466, -0.01217050850391388, -0.05913246423006058, -0.006882323417812586, -0.024209363386034966, -0.10447712987661362, -0.029027428478002548, 0.023206491023302078, -0.020138787105679512, -0.04839463159441948, 0.02837483212351799, 0.014232981950044632, -0.029888993129134178, 0.057360630482435226, -0.06175721436738968, 0.0033408307936042547, -0.030562443658709526, 0.00022630818421021104, -0.0035688295029103756, 0.03495052084326744, 0.00556922098621726, 0.0300035048276186, 0.009990721940994263, -0.02916625328361988, 0.009990397840738297, -0.018428735435009003, 0.040869638323783875, 0.03133205696940422, 0.007928971201181412, 0.020586227998137474 ]
[ -0.10179553180932999, -0.03505944088101387, -0.02458539791405201, 0.011089879088103771, 0.00407941360026598, -0.01766008324921131, -0.05002007633447647, 0.01702788658440113, 0.0008957929094322026, -0.004044237080961466, 0.025546129792928696, -0.07899945974349976, -0.01669285073876381, 0.00427478551864624, 0.08784046024084091, 0.011324921622872353, -0.009637267328798771, -0.020851435139775276, 0.006220717448741198, 0.006376001518219709, 0.011169192381203175, -0.06534761935472488, -0.0283777117729187, -0.06142116338014603, 0.007825596258044243, 0.03422599658370018, 0.0643666461110115, -0.027520546689629555, 0.016759121790528297, -0.22256694734096527, 0.010646418668329716, -0.015953214839100838, 0.03770066425204277, -0.02647455222904682, 0.016740046441555023, 0.006094558630138636, 0.02544792741537094, 0.01671440899372101, -0.02509131282567978, 0.012874721549451351, 0.02997659333050251, 0.05085904523730278, -0.017312729731202126, -0.03414703160524368, 0.04959675669670105, 0.03297332301735878, -0.025351401418447495, -0.005798177793622017, -0.014060729183256626, -0.02994665503501892, -0.04608770087361336, -0.012297015637159348, -0.011530407704412937, -0.022988762706518173, 0.0037701742257922888, 0.037872783839702606, 0.04325234144926071, 0.025840148329734802, 0.0010492060100659728, 0.037250589579343796, 0.01544323842972517, -0.011895316652953625, -0.13286715745925903, 0.05595218390226364, 0.054540589451789856, 0.022656971588730812, -0.01986509934067726, -0.03821389004588127, -0.04194486513733864, 0.13243922591209412, 0.05562068894505501, -0.0037405153270810843, -0.0005833966424688697, 0.00634481618180871, 0.01252763345837593, 0.016635319218039513, 0.005925603210926056, 0.002880875486880541, 0.033428847789764404, -0.051574382930994034, -0.04726812243461609, -0.021700773388147354, -0.03889184445142746, 0.015121660195291042, -0.005899152718484402, -0.006916220299899578, -0.048988062888383865, 0.02991732768714428, -0.02608591876924038, 0.018622471019625664, 0.058096036314964294, 0.006798333954066038, 0.04499802365899086, -0.0003239005454815924, -0.0894339308142662, -0.032933495938777924, -0.008302603848278522, 0.01613764651119709, -0.016502879559993744, 0.47381219267845154, -0.01930340938270092, 0.022266430780291557, 0.06865304708480835, 0.03470586612820625, -0.018030881881713867, 0.006457714829593897, -0.03514859080314636, -0.05376482754945755, 0.00028986838879063725, -0.004663085099309683, 0.02699188143014908, -0.03859393671154976, 0.05117841437458992, -0.05421805381774902, 0.005257579032331705, -0.01579020358622074, 0.06315109133720398, 0.052936162799596786, -0.01618959568440914, 0.04044409468770027, -0.02772044949233532, 0.020443720743060112, 0.03178687393665314, -0.009011964313685894, 0.014064819552004337, -0.036125000566244125, -0.020437050610780716, 0.02312919683754444, 0.0448702797293663, 0.019879858940839767, 0.03998521342873573, -0.033642835915088654, -0.03975711017847061, 0.010058348998427391, -0.0026094033382833004, -0.02065800316631794, 0.028895515948534012, -0.025744890794157982, -0.03387703374028206, -0.009521602652966976, -0.016475681215524673, 0.012009060010313988, 0.06967829912900925, -0.01765288971364498, -0.007840617559850216, 0.11389685422182083, 0.004539843648672104, -0.07188549637794495, -0.015904495492577553, -0.048064760863780975, 0.008332512341439724, -0.02296612225472927, -0.0039480989798903465, -0.06573014706373215, -0.010067100636661053, 0.011246533133089542, 0.057587821036577225, -0.015333580784499645, -0.050296515226364136, 0.022147467359900475, 0.0019122365629300475, 0.0002822764217853546, -0.0587027482688427, 0.06964558362960815, 0.07888570427894592, -0.09814651310443878, -0.002122277859598398, 0.001944506773725152, -0.0007530412985943258, -0.07104429602622986, 0.0234791561961174, 0.03727211803197861, -0.018248891457915306, -0.026287103071808815, 0.04763518646359444, -0.020320242270827293, -0.04591558873653412, -0.019140182062983513, 0.026320217177271843, -0.0045394813641905785, -0.012048785574734211, -0.01887444034218788, -0.018423885107040405, -0.031230192631483078, -0.032835397869348526, -0.027906153351068497, -0.053745996206998825, -0.012300829403102398, -0.022169923409819603, -0.02617017738521099, -0.01615271531045437, -0.010328707285225391, -0.040674686431884766, 0.05659959092736244, -0.07579179853200912, -0.044587235897779465, 0.01944218948483467, -0.02749529853463173, -0.02840953879058361, -0.0029395045712590218, -0.0005983845912851393, -0.015567936934530735, -0.003480430692434311, 0.02527167834341526, -0.0664152279496193, 0.01053527370095253, 0.02973131462931633, -0.04852147027850151, 0.05832410603761673, 0.06391651928424835, -0.02413199283182621, -0.07135148346424103, -0.008586372248828411, -0.01435837335884571, 0.02315153367817402, -0.0031257120426744223, 0.03448336571455002, 0.0028893176931887865, -0.00186720781493932, 0.04936618730425835, -0.006602871231734753, -0.03946705907583237, -0.046686284244060516, -0.2991357743740082, -0.08395139127969742, -0.020430756732821465, 0.015540306456387043, 0.04514582082629204, -0.026134084910154343, -0.007677904330193996, -0.0231294147670269, -0.011615022085607052, 0.026046259328722954, 0.07282523810863495, -0.01813812367618084, -0.01587110012769699, -0.07318228483200073, -0.015201445668935776, 0.03845461830496788, -0.02412293292582035, -0.021737104281783104, -0.011478749103844166, -0.003535366849973798, -0.007100050803273916, 0.01840444654226303, 0.00024073536042124033, -0.04268248379230499, -0.051295891404151917, -0.012068463489413261, 0.14391975104808807, -0.012471342459321022, 0.08561240881681442, -0.005991536192595959, 0.00439975131303072, -0.022545689716935158, -0.010748566128313541, 0.007793072145432234, 0.018874062225222588, -0.03147229924798012, 0.034422893077135086, -0.01686800643801689, 0.026468787342309952, -0.037161532789468765, -0.0717250406742096, 0.028706440702080727, -0.03481259196996689, -0.022779002785682678, -0.06473828852176666, 0.052363213151693344, -0.005601047072559595, -0.04321005195379257, 0.014110364019870758, 0.0570535846054554, 0.03247731178998947, 0.04279536381363869, 0.06156249716877937, -0.02364608459174633, 0.003598793875426054, -0.039242181926965714, -0.05273022502660751, 0.007400364615023136, 0.0016393796540796757, 0.019132351502776146, -0.015054208226501942, -0.006065757945179939, 0.026643848046660423, -0.03903580456972122, -0.0008625559858046472, 0.035866376012563705, -0.0007011627894826233, -0.025359420105814934, 0.03268720582127571, -0.005090874619781971, 0.0018077713903039694, 0.08920371532440186, 0.028259512037038803, 0.018035544082522392, 0.04293527454137802, 0.009208225645124912, 0.0316486693918705, 0.058760542422533035, 0.015869274735450745, -0.01245428342372179, 0.054616883397102356, -0.06622012704610825, 0.04890962690114975, -0.015585715882480145, -0.02581859566271305, 0.008972284384071827, -0.01184065267443657, -0.009029384702444077, 0.038715917617082596, 0.04398065432906151, 0.013099480420351028, 0.010949497111141682, -0.01322302594780922, -0.05223991349339485, 0.0615030974149704, -0.002807536395266652, -0.25216788053512573, 0.01954677700996399, 0.07080067694187164, 0.04763469472527504, -0.012718111276626587, 0.03829153627157211, 0.0882829949259758, -0.010683941654860973, 0.01103608775883913, -0.019102370366454124, 0.02096264250576496, 0.08634141087532043, 0.02324851043522358, 0.005458482075482607, 0.013342832215130329, -0.03497279807925224, 0.04294973984360695, -0.011146069504320621, -0.0036235384177416563, 0.03855421021580696, 0.032169681042432785, 0.01877053640782833, 0.1844516098499298, -0.01994873583316803, 0.03185524418950081, 0.030910715460777283, -0.024922175332903862, 0.008646796457469463, 0.059936027973890305, -0.01672324724495411, -0.016575461253523827, 0.018520597368478775, 0.026941420510411263, -0.02895737625658512, 0.04131803661584854, -0.023824799805879593, -0.012110359966754913, 0.05992687866091728, 0.04044782742857933, -0.0015202221693471074, 0.01366487517952919, -0.023115377873182297, -0.027034904807806015, 0.012673822231590748, 0.04918530210852623, -0.011721191927790642, -0.01811668463051319, 0.000384701561415568, -0.042283207178115845, 0.0272025428712368, -0.033891573548316956, -0.03267664462327957, 0.00000935577008931432, 0.003938889130949974, 0.02498011663556099, 0.06362799555063248, 0.013078499585390091, -0.062269605696201324, -0.031496934592723846, -0.017061365768313408, -0.018030235543847084, -0.036267369985580444, 0.07342110574245453, -0.03689419478178024, 0.0625513345003128 ]
[ -0.005554130766540766, 0.01679319143295288, -0.008453156799077988, 0.030746079981327057, -0.00028405568446032703, -0.00884302519261837, -0.031197810545563698, -0.015548444353044033, -0.0693359449505806, 0.005101019516587257, -0.013656731694936752, 0.029536349698901176, 0.0077569931745529175, -0.022051312029361725, -0.017254076898097992, 0.03822573646903038, 0.011318963952362537, 0.030447058379650116, 0.03707939386367798, -0.008168867789208889, -0.017043765634298325, 0.0363590307533741, 0.027327777817845345, -0.018293937668204308, -0.016198452562093735, 0.04842349514365196, -0.05029207468032837, 0.021789588034152985, 0.02687068283557892, -0.12400870025157928, -0.014357444830238819, -0.03318359702825546, -0.005200712475925684, 0.02796698920428753, -0.040548622608184814, 0.00476885074749589, -0.03816695883870125, 0.018800891935825348, -0.0032901454251259565, 0.014335351064801216, -0.004979267250746489, -0.016882676631212234, -0.04364481195807457, -0.005971512291580439, 0.014303655363619328, -0.0023950289469212294, -0.04307999834418297, 0.011453958228230476, 0.021676387637853622, -0.04526137188076973, -0.015678659081459045, 0.00033525144681334496, -0.010966786183416843, -0.04525315761566162, -0.026317905634641647, -0.03769546374678612, -0.0065850140526890755, 0.004529695026576519, -0.029771871864795685, -0.01614968664944172, 0.059444818645715714, 0.00242880592122674, -0.05722834914922714, -0.01813696324825287, -0.02615734189748764, -0.01929471455514431, 0.008229457773268223, -0.013717959634959698, -0.014971188269555569, -0.026009678840637207, 0.02678673528134823, 0.035131506621837616, -0.06802009046077728, 0.010949932970106602, -0.001130674034357071, -0.020846916362643242, 0.03148647025227547, 0.01236591674387455, 0.026020227000117302, -0.00924123078584671, -0.02930556610226631, -0.0075388140976428986, -0.029634185135364532, 0.012795462273061275, -0.016804583370685577, -0.008988352492451668, 0.006793146952986717, 0.0034950145054608583, 0.040488239377737045, -0.008340402506291866, -0.03441127389669418, -0.011941540986299515, -0.006168281193822622, 0.012631172314286232, -0.07851984351873398, 0.006052013020962477, -0.002124479738995433, -0.023328689858317375, 0.008758650161325932, 0.8110973238945007, -0.004535182379186153, -0.03284361585974693, 0.015121196396648884, 0.010956711135804653, 0.01719788648188114, 0.05717543140053749, 0.010323715396225452, 0.009193808771669865, -0.013567476533353329, -0.04743883013725281, 0.05445801094174385, 0.0314691886305809, 0.05164209008216858, -0.00015160242037381977, -0.014733275398612022, 0.015397856011986732, -0.001641310635022819, 0.006902860011905432, 0.038454219698905945, 0.02201666496694088, -0.037021394819021225, -0.010741937905550003, -0.003742395667359233, 0.019341759383678436, -0.026211367920041084, -0.20511789619922638, -0.01853351667523384, -7.04105393905608e-33, -0.025744104757905006, -0.017656661570072174, 0.01921599544584751, -0.005139506887644529, 0.03515998274087906, 0.019333524629473686, 0.003616990288719535, -0.021151326596736908, -0.03566013649106026, -0.019885892048478127, 0.004328357521444559, -0.03814712539315224, 0.03202138468623161, -0.0203147791326046, 0.04406052082777023, -0.029076552018523216, 0.023331264033913612, 0.01779615506529808, 0.01798725500702858, -0.03748475760221481, 0.03281820937991142, 0.006890756078064442, 0.010583252646028996, 0.016324808821082115, 0.010144558735191822, 0.025136323645710945, 0.018009645864367485, -0.05213409662246704, 0.012470136396586895, -0.0509830117225647, -0.03509550541639328, 0.03593695908784866, -0.003120983950793743, 0.00017087375454138964, 0.0018393717473372817, -0.007537709083408117, 0.00721826171502471, 0.009287131950259209, -0.04084884747862816, -0.011385107412934303, -0.003578886389732361, 0.047622889280319214, -0.03945448249578476, -0.024510705843567848, -0.0542597658932209, 0.0015958365984261036, 0.05260021239519119, 0.04736620932817459, 0.00016304402379319072, 0.016656991094350815, -0.04586004465818405, -0.009236916899681091, 0.00894845649600029, -0.014120678417384624, -0.018911343067884445, 0.019139692187309265, 0.0623638853430748, 0.020163988694548607, -0.008232856169342995, 0.026518404483795166, 0.021460045129060745, -0.011326085776090622, 0.008714810013771057, 0.022920668125152588, 0.009715278632938862, -0.0067530409432947636, -0.02157239429652691, -0.010854927822947502, 0.03994986042380333, 0.045713696628808975, -0.04636998102068901, 0.03677754104137421, 0.005422759335488081, -0.027423469349741936, 0.03164861351251602, -0.019779806956648827, -0.028250010684132576, -0.016983285546302795, -0.00369389564730227, 0.02510751597583294, -0.004184257239103317, 0.011164681054651737, -0.01781524531543255, -0.031176192685961723, -0.003249609377235174, -0.015443490818142891, 0.003874805523082614, -0.023440560325980186, -0.0013406240614131093, -0.0013859655009582639, 0.03812422975897789, 0.01957441121339798, -0.016894185915589333, 0.010011163540184498, 0.012713603675365448, 7.238383441044648e-33, -0.018564864993095398, 0.017575271427631378, 0.034934040158987045, 0.0069441176019608974, 0.032283443957567215, 0.009664732031524181, 0.029592400416731834, 0.008269029669463634, -0.04947130009531975, 0.05574239045381546, -0.025655211880803108, 0.027148820459842682, -0.005134753882884979, 0.04612652212381363, 0.0652361586689949, -0.01962827704846859, 0.04114868864417076, -0.022651247680187225, 0.018426058813929558, 0.020417675375938416, 0.0041623725555837154, 0.021914908662438393, -0.02200116030871868, -0.030928801745176315, 0.03890151530504227, 0.03332345932722092, -0.020075751468539238, -0.018113959580659866, -0.016595792025327682, 0.016595471650362015, -0.00465681916102767, -0.0027132194954901934, -0.004391251131892204, 0.013437042012810707, 0.011948578990995884, 0.06642648577690125, 0.015464656054973602, 0.013578028418123722, 0.017454421147704124, 0.02771107479929924, 0.013255253434181213, 0.011471054516732693, -0.0005236348370090127, 0.026457028463482857, 0.004410139750689268, -0.010733447037637234, 0.008655603043735027, 0.0024333035107702017, -0.06021346524357796, -0.013645283877849579, 0.004259560257196426, -0.01617506891489029, -0.012049107812345028, 0.04254426807165146, 0.01840985380113125, -0.020086850970983505, -0.032064568251371384, 0.03732664883136749, 0.006214877124875784, 0.016320016235113144, 0.005781220272183418, 0.008268752135336399, -0.031092531979084015, 0.01872904784977436, -0.029337428510189056, -0.010480089113116264, -0.019927455112338066, -0.025198962539434433, -0.029404617846012115, -0.015289099887013435, -0.04328335076570511, 0.014846623875200748, 0.022933606058359146, 0.018405068665742874, 0.01724240370094776, -0.043740708380937576, -0.0050116111524403095, 0.03586243838071823, -0.03515611216425896, 0.015035304240882397, 0.033399976789951324, -0.015106873586773872, 0.0006579476175829768, -0.009418021887540817, -0.0005501008126884699, 0.02861267514526844, -0.01877528429031372, 0.014744625426828861, 0.013166137970983982, 0.021374201402068138, 0.011574221774935722, -0.006626033689826727, 0.016277998685836792, 0.0411020927131176, -0.04402591660618782, -1.2313106090289239e-8, -0.052974820137023926, 0.02388691157102585, -0.007885119877755642, -0.01690678671002388, 0.06796848028898239, 0.04547560214996338, 0.02139129303395748, 0.004965984262526035, -0.032350875437259674, 0.04340047016739845, 0.03918696194887161, -0.030813466757535934, 0.002451969077810645, 0.04499487578868866, -0.0013977409107610583, -0.0027802777476608753, -0.007781810127198696, -0.014509154483675957, 0.04447772353887558, -0.0027723500970751047, 0.02691696397960186, 0.03795884922146797, -0.03452451899647713, 0.00010515237227082253, 0.018456894904375076, -0.05186397582292557, 0.023320620879530907, -0.0920354351401329, 0.02738405391573906, -0.006960579659789801, -0.06541459262371063, 0.025074588134884834, -0.04554400593042374, 0.0025759502314031124, -0.016421059146523476, -0.025386769324541092, 0.0002860022650565952, 0.06141294538974762, -0.010449538007378578, 0.03693264350295067, 0.0023259969893842936, 0.0022759183775633574, -0.010295257903635502, -0.03505013510584831, 0.011493810452520847, 0.03318232670426369, -0.004725705366581678, -0.017568599432706833, 0.02517983876168728, -0.06259014457464218, 0.028988244011998177, -0.01609390415251255, 0.035043373703956604, 0.026134775951504707, 0.02123410627245903, 0.004738873802125454, 0.013658242300152779, -0.04387689381837845, 0.004984838888049126, -0.02141484245657921, 0.004277645144611597, 0.020712804049253464, -0.0043357000686228275, -0.035891395062208176 ]
bellman-ford-algorithm-in-python
https://markhneedham.com/blog/2013/01/18/bellman-ford-algorithm-in-python
false
2013-01-27 15:14:01
Ruby: invalid multibyte char (US-ASCII)
[ "ruby" ]
[ "Ruby" ]
I've used Ruby on and off for the last few years but somehow had never come across the following error which we got last week while attempting to print out a currency value: +++<cite>+++blah.ruby+++</cite>+++ [source,ruby] ---- amount = "£10.00" puts amount ---- [source,text] ---- $ ruby blah.ruby blah.ruby:1: invalid multibyte char (US-ASCII) blah.ruby:1: invalid multibyte char (US-ASCII) ---- Luckily my pair http://www.linkedin.com/profile/view?id=13286237[Jae] had come across this before and showed me http://blog.grayproductions.net/articles/ruby_19s_three_default_encodings[a blog post which explains what's going on and how to sort it out]. It turns out that since Ruby 1.9 we need to explicitly specify which encoding we want to use for strings otherwise it will default to US-ASCII in my case at least. We can get around this by explicitly telling the interpreter that we want to use UTF-8 encoding by including the following comment at the top of our file: [source,ruby] ---- # encoding: UTF-8 amount = "£10.00" puts amount ---- Then when we interpret the file this time: [source,text] ---- $ ruby blah.ruby £10.00 ---- Since we were only editing one file it made sense to just set the comment manually but if we need to do that in a more widespread way then we'd want to use the https://github.com/m-ryan/magic_encoding[magic_encoding gem]. Yehuda Katz also wrote a post a few years ago http://yehudakatz.com/2010/05/05/ruby-1-9-encodings-a-primer-and-the-solution-for-rails/[explaining all things encoding in more detail].
null
null
[ 0.010270148515701294, 0.021045150235295296, -0.02099929377436638, 0.051986586302518845, 0.06581079214811325, 0.04825180396437645, 0.03544369712471962, 0.02901679463684559, 0.018096506595611572, -0.020702790468931198, -0.05738425254821777, 0.003717046929523349, -0.08078454434871674, 0.022908136248588562, -0.010275129228830338, 0.062274325639009476, 0.05458415299654007, 0.01659530960023403, 0.012117914855480194, -0.004916803911328316, 0.009724220260977745, 0.057310935109853745, 0.014904899522662163, 0.005831004120409489, 0.01228212658315897, -0.000051269205869175494, -0.02899215929210186, 0.004806212615221739, -0.0868806391954422, -0.007910016924142838, 0.03347502648830414, 0.027464676648378372, 0.024656200781464577, 0.023625407367944717, 0.028048895299434662, 0.03094131499528885, -0.04592398181557655, 0.0029389583505690098, 0.00634305365383625, 0.01665697805583477, -0.02695193514227867, 0.03686123341321945, 0.015761055052280426, 0.024582119658589363, -0.03628578037023544, -0.002164991106837988, -0.060173455625772476, -0.0054854596965014935, -0.010858875699341297, -0.00289583345875144, -0.04321343079209328, 0.03178854286670685, 0.00611511105671525, -0.05318201333284378, -0.0056566884741187096, 0.05463783070445061, -0.016369542106986046, -0.06274174898862839, 0.033769622445106506, -0.05817405506968498, 0.036094680428504944, -0.001640757778659463, 0.0016938830958679318, 0.02452983148396015, 0.03265140578150749, -0.03837743028998375, -0.0036224990617483854, 0.05508432537317276, -0.053572118282318115, -0.03261488303542137, 0.017458230257034302, 0.023423371836543083, -0.021079517900943756, -0.034572575241327286, 0.04022587835788727, -0.0407850444316864, -0.00659719156101346, 0.05493752658367157, 0.002148805884644389, 0.08336146920919418, -0.02249176986515522, 0.04922812804579735, 0.03542147949337959, 0.0268497746437788, 0.006042235530912876, -0.0457315593957901, -0.02644316665828228, 0.0029712023679167032, -0.0177657138556242, 0.06498111039400101, 0.021745063364505768, -0.03607763350009918, 0.04008835181593895, 0.017351537942886353, -0.044300831854343414, 0.009021473117172718, -0.05218528211116791, 0.012481742538511753, -0.023942798376083374, -0.01218477077782154, -0.06150950863957405, -0.028284559026360512, 0.03450319543480873, 0.024291157722473145, -0.06211390346288681, 0.016234325245022774, -0.044888727366924286, 0.015388102270662785, 0.03898705542087555, 0.016737572848796844, -0.02036944590508938, -0.01146725658327341, -0.04544816166162491, -0.03873122110962868, -0.050844527781009674, 0.029087737202644348, 0.019752103835344315, -0.052469030022621155, -0.032006315886974335, 0.028980113565921783, 0.05831453204154968, 0.0372047983109951, -0.01447110716253519, 0.06928485631942749, 0.030986499041318893, -0.011794840916991234, -0.009630456566810608, 0.05465179309248924, -0.03364209458231926, -0.06946947425603867, -0.01545639242976904, 0.07517994195222855, -0.004868252202868462, -0.00968929473310709, -0.004705637227743864, 0.024710005149245262, -0.00023761976626701653, -0.009207450784742832, 0.050249457359313965, 0.016025835648179054, -0.02112860418856144, -0.02161567658185959, -0.0374402292072773, 0.015084787271916866, 0.016401825472712517, 0.03364372253417969, -0.016685910522937775, -0.023768365383148193, -0.025287270545959473, 0.014496741816401482, -0.007867129519581795, 0.010838204063475132, 0.07376037538051605, -0.01059441827237606, -0.003518400015309453, 0.05053136870265007, 0.001623174175620079, 0.030027462169528008, -0.03522542491555214, 0.01940240152180195, 0.011266193352639675, 0.017011864110827446, 0.015563617460429668, 0.024282675236463547, 0.007619801908731461, 0.007734226994216442, 0.016689300537109375, 0.04886319115757942, -0.04275372996926308, 0.010708785615861416, -0.06473150849342346, -0.03145222365856171, 0.07552323490381241, -0.04092412069439888, -0.022845851257443428, 0.025754177942872047, 0.051687587052583694, 0.04009776562452316, 0.04883493483066559, -0.013719026930630207, -0.08756564557552338, 0.030556298792362213, -0.004722209647297859, 0.043683428317308426, 0.020741667598485947, -0.015444179065525532, 0.08103625476360321, 0.03987288847565651, 0.014718457125127316, 0.03725824132561684, -0.0731823593378067, -0.05157385766506195, -0.010255308821797371, -0.029606234282255173, 0.06866869330406189, -0.025291109457612038, -0.012411658652126789, 0.03166599199175835, 0.03024834766983986, 0.025116875767707825, 0.0067941551096737385, 0.00459320517256856, 0.015486996620893478, -0.04485486075282097, -0.018073394894599915, 0.03969864174723625, 0.08264143764972687, -0.028326867148280144, -0.023607784882187843, 0.015221834182739258, -0.001691125682555139, 0.0011500681284815073, 0.020487764850258827, -0.007194757927209139, 0.01541705522686243, 0.014203340746462345, 0.040605973452329636, -0.0271771177649498, 0.03490964323282242, -0.050384823232889175, 0.027584148570895195, 0.028937766328454018, 0.021685248240828514, -0.03795852139592171, -0.00008640024316264316, 0.1378079652786255, 0.05077020451426506, 0.023595327511429787, -0.046336058527231216, -0.018405187875032425, -0.013163920491933823, -0.06845530867576599, 0.018277039751410484, -0.0031089328695088625, -0.02092779614031315, -0.005074616521596909, -0.07826821506023407, -0.030208770185709, 0.022259535267949104, -0.024394894018769264, -0.011610111221671104, 0.08230460435152054, -0.0317460298538208, 0.03425774350762367, -0.019334353506565094, -0.015804046764969826, 0.014302783645689487, -0.03908763453364372, -0.06217944622039795, -0.004145893733948469, 0.03148021921515465, 0.011472517624497414, 0.018213797360658646, -0.014873061329126358, -0.02917308546602726, -0.018890658393502235, -0.026558242738246918, 0.020412731915712357, 0.05358901619911194, 0.03368945047259331, -0.023514019325375557, 0.07234346121549606, -0.0301558468490839, -0.01877722702920437, -0.026379382237792015, -0.025777174159884453, -0.02766154520213604, 0.0073678200133144855, 0.018769841641187668, 0.028758030384778976, 0.022997437044978142, 0.044866614043712616, -0.0028475383296608925, 0.018804224207997322, 0.019934047013521194, 0.011759242974221706, 0.05790784955024719, -0.014541344717144966, -0.0031995943281799555, -0.013063015416264534, -0.03838369622826576, 0.04409008100628853, -0.06005771830677986, -0.04295980557799339, -0.009646357037127018, -0.059850964695215225, 0.03387782350182533, -0.05640404671430588, -0.06176752597093582, -0.03416028246283531, 0.0020624324679374695, 0.02141602523624897, 0.01529950276017189, 0.007872273214161396, 0.0830656886100769, 0.009432717226445675, 0.03714151680469513, 0.04414127394556999, 0.021382007747888565, 0.06286045163869858, 0.0021752319298684597, 0.01570938341319561, 0.06463152915239334, -0.0008698982419446111, -0.021877609193325043, -0.059960633516311646, 0.0017503541894257069, -0.02152838371694088, -0.2597230076789856, 0.044522725045681, -0.07284481823444366, -0.05710838735103607, 0.019961634650826454, -0.0210725124925375, 0.004046947695314884, -0.04382544755935669, -0.010221113450825214, 0.008179356344044209, -0.02786836214363575, -0.03559780493378639, -0.03548391908407211, 0.011561674065887928, 0.022206861525774002, 0.0036293156445026398, 0.01365148089826107, -0.0266879852861166, -0.013520126231014729, 0.03121654875576496, 0.013256493024528027, -0.054053615778684616, 0.013273373246192932, 0.09169831871986389, 0.04465487599372864, 0.056664906442165375, -0.05651676282286644, 0.03140072152018547, -0.027934642508625984, -0.03458070382475853, -0.0026339420583099127, -0.018238259479403496, 0.0164073146879673, -0.026692084968090057, -0.0073946150951087475, -0.02916548401117325, 0.02961735799908638, 0.002422741148620844, 0.03597787767648697, 0.012224799953401089, -0.04171653836965561, -0.035508058965206146, 0.007599612697958946, -0.016400542110204697, 0.07248570770025253, -0.02849041111767292, -0.057993412017822266, 0.01772749423980713, -0.019154971465468407, 0.07505471259355545, -0.026304859668016434, -0.04676263779401779, 0.005994907580316067, 0.028581708669662476, -0.0019564758986234665, -0.006512949708849192, -0.014414623379707336, 0.013352137990295887, -0.031767286360263824, -0.03187572956085205, 0.008849003352224827, -0.051612649112939835, -0.005377490073442459, -0.02602919563651085, 0.008248834870755672, -0.060213781893253326, -0.046861108392477036, -0.0018517782445997, 0.07395027577877045, 0.046875499188899994, -0.019061187282204628, 0.018596291542053223, -0.020885709673166275, -0.10249791294336319, 0.017515361309051514, -0.02346133254468441, -0.035886380821466446, 0.010806223377585411, -0.03442965820431709, 0.025898896157741547, -0.03996037691831589, -0.0471121184527874, 0.017141714692115784, 0.020036326721310616, 0.005667792167514563, -0.025885118171572685, 0.010564832016825676, -0.02279519848525524, 0.004007091745734215, 0.015077660791575909, 0.0568520650267601, -0.02868097461760044, -0.01767776720225811, -0.0241226889193058, 0.014604803174734116, 0.009332282468676567, 0.047895029187202454, -0.014903237111866474, 0.03635433316230774, 0.03815450146794319, 0.013948619365692139, -0.06520117819309235, 0.01927490159869194, -0.07666527479887009, -0.012149863876402378, 0.02446608431637287, -0.04439319670200348, 0.009066839702427387, 0.03157474845647812, 0.00998621340841055, -0.03816384822130203, -0.04931313171982765, 0.00345870153978467, -0.05190223082900047, -0.04978586360812187, -0.01291955541819334, 0.021094370633363724, -0.009139218367636204, -0.00817347876727581, -0.02874712646007538, -0.0379687137901783, 0.0007974542677402496, 0.0319705531001091, -0.011756602674722672, -0.04749547317624092, -0.010234395042061806, -0.0028196540661156178, -0.0034941271878778934, -0.010311027988791466, -0.010428511537611485, -0.00048168146167881787, 0.011858702637255192, -0.011431626975536346, -0.04349050670862198, 0.02656136080622673, 0.030699435621500015, -0.028160393238067627, -0.01755545288324356, -0.013283371925354004, -0.02667059563100338, 0.037687163800001144, -0.01297870185226202, 0.01907038502395153, 0.03405210003256798, 0.024536924436688423, 0.009701014496386051, 0.025797022506594658, -0.00820430088788271, 0.0006866179755888879, 0.01938357576727867, 0.007274173200130463, -0.06698150187730789, 0.02069629356265068, -0.010701985098421574, -0.026035934686660767, 0.013773181475698948, 0.047470640391111374, -0.009256727993488312, -0.020514335483312607, -0.009450037963688374, 0.06563828140497208, -0.05372564122080803, -0.011409495957195759, -0.01101085264235735, 0.024458004161715508, 0.03852953016757965, 0.0009544046479277313, 0.016897078603506088, -0.006262864917516708, 0.03066232241690159, 0.006947255693376064, 0.052530594170093536, -0.022421976551413536, 0.016478726640343666, 0.037425246089696884, -0.02041463926434517, -0.022078095003962517, -0.00403490150347352, 0.058421261608600616, 0.015412758104503155, 0.027838319540023804, -0.023735813796520233, 0.03585889935493469, 0.02952301874756813, 0.027088331058621407, 0.01685052178800106, -0.01675712876021862, 0.005057799629867077, -0.023729657754302025, -0.032843537628650665, -0.031830061227083206, -0.007721732370555401, -0.0249796025454998, 0.02660534717142582, -0.0473872572183609, -0.05983804166316986, 0.007204339373856783, 0.05070232227444649, 0.0036985420156270266, 0.0418706014752388, 0.015926608815789223, 0.011210797354578972, -0.03542731702327728, -0.018517589196562767, 0.06578781455755234, -0.045504774898290634, -0.02287491410970688, 0.003960005473345518, -0.01840764470398426, 0.01792740635573864, 0.03127792105078697, -0.05383322760462761, -0.0022730878554284573, -0.00323609821498394, 0.02302597649395466, -0.03517761081457138, -0.035868894308805466, -0.006098266690969467, -0.013695113360881805, -0.0232778899371624, 0.008111030794680119, -0.011420676484704018, 0.021805452182888985, -0.011049110442399979, -0.03802875801920891, -0.007130097597837448, -0.009239248000085354, 0.014050282537937164, 0.003597759874537587, -0.01366942748427391, 0.019033830612897873, -0.034501735121011734, 0.0650080144405365, 0.04322799667716026, 0.010885963216423988, -0.01535060815513134, -0.05515529215335846, 0.016416151076555252, -0.012723724357783794, 0.021168909966945648, -0.00615342054516077, -0.026579806581139565, -0.020554624497890472, 0.010322709567844868, -0.021651746705174446, 0.010740255005657673, -0.035739414393901825, -0.03240318223834038, 0.002268185606226325, 0.04322437942028046, 0.001360962982289493, 0.036178141832351685, -0.01050619501620531, -0.03380275145173073, 0.0328352190554142, -0.059951938688755035, -0.01878000795841217, 0.0015594848664477468, -0.06130688264966011, 0.031274572014808655, 0.015414326451718807, 0.025390073657035828, -0.033329661935567856, 0.040898941457271576, 0.04090208187699318, 0.024877848103642464, 0.027977170422673225, -0.028283342719078064, 0.01998831517994404, -0.03263741731643677, 0.00023017209605313838, -0.0974566712975502, 0.036417119204998016, 0.016822965815663338, 0.007738445419818163, -0.019066816195845604, -0.020124906674027443, -0.0667450949549675, -0.01757107302546501, -0.04580789804458618, -0.02937130630016327, 0.020744165405631065, 0.02292664721608162, -0.010986252687871456, 0.014008088037371635, -0.07035621255636215, 0.02985089272260666, 0.034530434757471085, -0.050740111619234085, -0.04203186556696892, -0.028816111385822296, 0.06800520420074463, -0.005197212100028992, 0.03817635774612427, -0.03404366597533226, -0.010998026467859745, 0.042366962879896164, 0.03437028080224991, -0.004619973246008158, 0.025471339002251625, -0.04699792340397835, 0.02768271416425705, 0.016241947188973427, 0.011648482643067837, 0.04355546087026596, -0.00966622307896614, -0.035038165748119354, -0.053568385541439056, 0.010437666438519955, -0.008871715515851974, -0.027570705860853195, -0.009007781744003296, 0.06503065675497055, 0.012086964212357998, -0.0065118479542434216, -0.06998125463724136, 0.027473241090774536, -0.038633402436971664, -0.02940306067466736, -0.020368224009871483, 0.014829346910119057, -0.04369877651333809, 0.04885811731219292, 0.015826504677534103, -0.009555078111588955, 0.06133194640278816, -0.001959185814484954, -0.0018665954703465104, 0.0007393008563667536, 0.09485111385583878, 0.08195100724697113, 0.047066621482372284, 0.019511481747031212, 0.03471997380256653, -0.020508743822574615, -0.06255161762237549, 0.02320779673755169, -0.017217811197042465, 0.0003087867225985974, 0.016244245693087578, -0.016348520293831825, 0.05103832483291626, -0.03829839080572128, 0.08306550234556198, -0.007320879492908716, 0.011092388071119785, 0.010826998390257359, 0.006374345626682043, 0.007718782406300306, 0.05075762793421745, 0.0402192659676075, 0.024396881461143494, -0.014259745366871357, -0.025786085054278374, 0.0260408166795969, -0.004601269029080868, -0.019507287070155144, 0.0059588877484202385, -0.012859907932579517, 0.029548384249210358, 0.000509953941218555, 0.04671608656644821, 0.0745224803686142, -0.06919950991868973, -0.03161124885082245, 0.008219314739108086, 0.028345707803964615, -0.03359631076455116, 0.020432477816939354, -0.0008082999265752733, -0.03539407253265381, -0.03296782821416855, -0.03883892297744751, -0.0044480497017502785, -0.005843383260071278, -0.015204423107206821, 0.03293678164482117, -0.024312647059559822, -0.015740573406219482, 0.06013171002268791, -0.0035425801761448383, -0.034639570862054825, -0.05727618932723999, -0.07117744535207748, -0.03470112010836601, -0.07776152342557907, 0.015225921757519245, -0.004637795966118574, -0.006530572660267353, -0.04127116873860359, -0.03902680426836014, -0.029857903718948364, -0.00569870974868536, 0.007594945840537548, -0.07214406132698059, -0.06601395457983017, 0.006085249129682779, -0.004491425585001707, 0.004859983921051025, 0.056805890053510666, 0.03656558692455292, -0.01497850101441145, -0.009555227123200893, 0.004624651279300451, -0.02261107787489891, 0.06109499931335449, 0.026896847411990166, -0.01875365898013115, -0.10507258772850037, 0.016788242384791374, 0.06035265326499939, -0.003654023166745901, -0.049259357154369354, 0.01717350445687771, 0.008843942545354366, -0.029284358024597168, 0.05522565916180611, -0.0015999346505850554, 0.047077927738428116, -0.028331516310572624, -0.02541736699640751, -0.02231784164905548, 0.0001785680651664734, 0.02270505763590336, -0.01531372219324112, 0.1007019504904747, 0.03653455525636673, 0.0024730563163757324, -0.03365452215075493, -0.03183881565928459, -0.006529908161610365, -0.0047530196607112885, -0.0030530171934515238, -0.009817901067435741, -0.049606598913669586, -0.06461520493030548, -0.016904816031455994, 0.00278782588429749, -0.05683080106973648, -0.04640008881688118, 0.014412252232432365, 0.0279526486992836, -0.02539348602294922, 0.027019333094358444, -0.041468244045972824, 0.01082646194845438, -0.006943313404917717, -0.033505529165267944, -0.02970496565103531, 0.022352740168571472, 0.0013476578751578927, -0.026908254250884056, -0.006089917384088039, -0.017712140455842018, 0.025047849863767624, 0.00677542993798852, 0.03226345404982567, 0.02358333021402359, -0.00023418560158461332, 0.025161491706967354 ]
[ -0.08257003873586655, -0.02179594524204731, -0.055709388107061386, -0.011932807974517345, 0.014009046368300915, -0.08356720209121704, -0.03477299213409424, 0.011420884169638157, -0.00454167602583766, -0.014567987993359566, 0.02364119328558445, -0.055066946893930435, -0.01145458035171032, -0.003579584648832679, 0.060867514461278915, -0.020960591733455658, 0.0005339514464139938, -0.08450886607170105, -0.043498843908309937, 0.07923825830221176, 0.049340054392814636, -0.033483944833278656, 0.008026420138776302, -0.04737311229109764, 0.0028095885645598173, 0.030305322259664536, -0.0007238020771183074, -0.016071250662207603, -0.008776717819273472, -0.2104378640651703, 0.03383747488260269, 0.034226227551698685, 0.030936943367123604, -0.03725441172719002, 0.005077842622995377, 0.022616978734731674, 0.02213750220835209, -0.01067370641976595, 0.021237675100564957, 0.06823654472827911, 0.005389475729316473, 0.022325702011585236, -0.04877564683556557, -0.01705273985862732, 0.028341803699731827, 0.013684733770787716, -0.018473392352461815, 0.011236350983381271, -0.002439018338918686, 0.035036347806453705, -0.04861600324511528, 0.04137300327420235, 0.011729978024959564, -0.024005668237805367, 0.006672782823443413, 0.04752308502793312, 0.07054577022790909, 0.07476522028446198, -0.015701405704021454, -0.001937229884788394, 0.008668884634971619, -0.004364012740552425, -0.13931070268154144, 0.05969884246587753, 0.04360280930995941, 0.07174535095691681, -0.011319580487906933, -0.009936134330928326, -0.057433705776929855, 0.04356508329510689, -0.016295092180371284, -0.028749989345669746, -0.06151239201426506, 0.07087600231170654, -0.0019156846683472395, -0.018197480589151382, 0.008108114823698997, 0.02391623705625534, 0.035504888743162155, -0.015687091276049614, -0.054559726268053055, -0.02438420243561268, -0.03990340605378151, -0.014822922646999359, -0.030910823494195938, -0.01742304116487503, -0.014617379754781723, 0.07365291565656662, 0.01949221082031727, -0.008335785940289497, 0.022231897339224815, -0.03207555413246155, 0.021731248125433922, 0.044070471078157425, -0.0773715078830719, -0.006667475216090679, 0.030002448707818985, 0.04016164690256119, -0.047036703675985336, 0.42399078607559204, 0.003917190246284008, -0.042344238609075546, 0.06026831269264221, -0.006624657195061445, -0.002738651819527149, -0.0003877010603900999, -0.01616826467216015, -0.027229538187384605, -0.013093282468616962, -0.058886438608169556, 0.003603947116062045, -0.00970175676047802, 0.06263186782598495, -0.04028870910406113, 0.024838069453835487, 0.030816178768873215, 0.03972550854086876, 0.0006499458686448634, 0.027962585911154747, 0.013557666912674904, -0.044360965490341187, 0.024405885487794876, -0.015414334833621979, 0.00769254844635725, -0.032537877559661865, -0.023781275376677513, 0.04184786602854729, 0.08633503317832947, 0.0035876024048775434, 0.052833013236522675, 0.0376938097178936, -0.027547039091587067, -0.10078224539756775, -0.004358713515102863, -0.03971627727150917, 0.04886997863650322, 0.0180423054844141, -0.004887857940047979, 0.045938845723867416, 0.018158772960305214, -0.02460596151649952, -0.05542900785803795, -0.045071329921483994, 0.03896746411919594, -0.023206893354654312, 0.05695359408855438, -0.023067228496074677, -0.031536076217889786, -0.008347072638571262, -0.03458050265908241, -0.028883278369903564, 0.03190948814153671, -0.02204153686761856, -0.03843125328421593, -0.011526976712048054, 0.011903398670256138, 0.06557008624076843, -0.05275622382760048, -0.05659719184041023, -0.0008771662833169103, -0.007867880165576935, -0.08241897076368332, -0.032244838774204254, 0.017723428085446358, 0.03187663108110428, -0.09616892039775848, -0.043206196278333664, 0.014623945578932762, 0.0115238968282938, -0.1051170825958252, 0.03494170680642128, 0.005962808150798082, -0.02753324620425701, 0.001373089849948883, 0.05138950049877167, -0.05792565643787384, -0.011816440150141716, 0.009966003708541393, 0.017789753153920174, -0.0009978384478017688, 0.03813236579298973, 0.023148301988840103, -0.04285202547907829, 0.00983410608023405, -0.03757401183247566, -0.06676249206066132, -0.0735493078827858, -0.009872923605144024, 0.0060671488754451275, 0.008247197605669498, -0.023968441411852837, -0.0011253110133111477, -0.08882883191108704, 0.03621258959174156, 0.018069878220558167, 0.00787027645856142, 0.010399634949862957, 0.030122917145490646, -0.018849652260541916, -0.027577031403779984, 0.028934292495250702, 0.04600703343749046, -0.009942613542079926, 0.033543661236763, -0.035375792533159256, 0.010184409096837044, 0.0644335150718689, -0.029638653621077538, 0.04039884731173515, 0.009262057952582836, -0.0010430109687149525, 0.0170904528349638, -0.005163314752280712, 0.051054324954748154, -0.04725608229637146, -0.0336076058447361, 0.00272783893160522, -0.0013107657432556152, 0.02995089627802372, 0.011851185001432896, -0.033550843596458435, -0.08057260513305664, -0.02657501958310604, -0.35223671793937683, 0.004859152715653181, 0.029984386637806892, -0.01422321517020464, 0.04140302538871765, -0.0792342945933342, 0.02252952940762043, -0.00417947955429554, -0.010206962935626507, 0.04317433014512062, 0.05146792158484459, -0.02784338966012001, -0.006885692477226257, -0.08224354684352875, -0.007880425080657005, 0.04658343270421028, -0.04518398270010948, -0.019088532775640488, 0.007333851885050535, 0.05642605572938919, -0.026098797097802162, -0.04474291950464249, -0.021997084841132164, -0.024084778502583504, 0.013042117469012737, -0.042912375181913376, 0.10669658333063126, 0.02761916257441044, 0.034305594861507416, -0.058824438601732254, 0.025732802227139473, 0.030006755143404007, 0.002257209736853838, -0.0837070420384407, -0.0011961939744651318, -0.022466076537966728, 0.0054526678286492825, 0.03840351477265358, 0.04632319509983063, -0.0009467008640058339, 0.005553657189011574, -0.018667099997401237, -0.05560588091611862, -0.004720956552773714, -0.005604223348200321, 0.036695387214422226, -0.00288752862252295, -0.049861013889312744, 0.012629549950361252, 0.08242533355951309, 0.0333731472492218, 0.018177492544054985, 0.026432471349835396, 0.04643940553069115, -0.0005922610871493816, -0.042623501271009445, -0.08543915301561356, -0.018130207434296608, 0.01973179541528225, -0.012146607041358948, 0.05556469038128853, -0.0032733462285250425, 0.03444797545671463, -0.04860163852572441, -0.0012904525501653552, 0.006612378638237715, -0.009415662847459316, 0.002970671048387885, 0.02684888429939747, 0.021769938990473747, 0.021905452013015747, 0.11460493505001068, 0.02216469869017601, -0.01410331018269062, -0.008675377815961838, 0.08341440558433533, 0.012247493490576744, 0.02691728249192238, 0.03213292360305786, 0.012057770043611526, 0.036946721374988556, -0.011754754930734634, 0.06658023595809937, -0.013452635146677494, 0.018635235726833344, 0.06058604642748833, 0.0059549217112362385, -0.011181196197867393, 0.08712757378816605, 0.002409523818641901, -0.06184028461575508, -0.04105265811085701, 0.004323841538280249, -0.023970212787389755, 0.06174860894680023, -0.01788109913468361, -0.2494715005159378, 0.03004123456776142, 0.057005323469638824, 0.052082087844610214, 0.028857223689556122, 0.03065553493797779, 0.022444583475589752, -0.07729251682758331, -0.030666425824165344, 0.019537970423698425, 0.019858283922076225, 0.039229631423950195, 0.0114075792953372, -0.04180952161550522, 0.03590010851621628, -0.0247955285012722, 0.04002785682678223, -0.00566833233460784, -0.013022332452237606, 0.028436699882149696, 0.007188277319073677, -0.014991081319749355, 0.14831875264644623, 0.013667579740285873, -0.02257343754172325, -0.019022958353161812, -0.012944461777806282, 0.05154113098978996, 0.0957467183470726, 0.034249406307935715, -0.013874351978302002, 0.01889699511229992, 0.027227818965911865, 0.0037370838690549135, 0.017618734389543533, -0.034055523574352264, -0.04913138598203659, -0.008006587624549866, 0.03519643470644951, 0.00022913659631740302, -0.0134171973913908, 0.03600515425205231, -0.06113792955875397, 0.009115533903241158, 0.0405147559940815, 0.03521609306335449, -0.007564546074718237, 0.009433972649276257, -0.012963308952748775, -0.03319919854402542, 0.003256105585023761, -0.03387782350182533, -0.012489856220781803, 0.0042722998186945915, 0.014609362930059433, 0.0704665333032608, -0.034047339111566544, -0.037253718823194504, 0.010567247867584229, 0.016075726598501205, -0.017519062384963036, -0.031109075993299484, 0.09116096049547195, 0.022696897387504578, -0.01937711611390114 ]
[ -0.025009918957948685, -0.01423631701618433, -0.05820649862289429, 0.03523427993059158, -0.024764280766248703, 0.004506068769842386, 0.019983913749456406, 0.02771834284067154, -0.025005104020237923, -0.030954377725720406, -0.01648588664829731, 0.022969592362642288, 0.01412049401551485, -0.007574315182864666, 0.014932908117771149, -0.020488474518060684, 0.0005915956571698189, -0.0010209522442892194, -0.007167966105043888, 0.01024550385773182, 0.023508107289671898, 0.00934596173465252, 0.008786177262663841, 0.0076181720942258835, 0.028032861649990082, -0.0011055137729272246, -0.013105100020766258, -0.007334874477237463, 0.011676276102662086, -0.12379342317581177, 0.010941608808934689, -0.017554542049765587, 0.012425477616488934, -0.004191911313682795, 0.006391150411218405, -0.0314621664583683, 0.003349670907482505, 0.003300426295027137, 0.008075995370745659, 0.03134800121188164, -0.005319106392562389, -0.017807861790060997, -0.028778722509741783, -0.009587311185896397, 0.005690382793545723, 0.016609257087111473, 0.02601589262485504, 0.008938419632613659, 0.019368596374988556, -0.023966630920767784, -0.012701998464763165, 0.01378096453845501, 0.00468803383409977, -0.0133082689717412, -0.006798356771469116, -0.026096390560269356, 0.015772368758916855, -0.03248972073197365, -0.02067488059401512, -0.02471618540585041, -0.015528840012848377, 0.04376828297972679, -0.031159568578004837, -0.017656035721302032, 0.01155262440443039, 0.000007390188784484053, -0.045962270349264145, 0.0017870926531031728, -0.0503472164273262, -0.011778945103287697, 0.04260659217834473, -0.0474226251244545, -0.0543285571038723, -0.021039679646492004, 0.01063674408942461, 0.009713847190141678, 0.042359091341495514, -0.033919814974069595, -0.026623064652085304, -0.004591708071529865, -0.03604642674326897, -0.016501080244779587, 0.03583209589123726, 0.004865467082709074, 0.03286556527018547, -0.012083576992154121, -0.0017846653936430812, 0.01474587433040142, -0.0029958090744912624, 0.03106047213077545, 0.0017732963897287846, 0.014628002420067787, 0.03719739243388176, 0.03905371204018593, -0.07544706761837006, -0.03174902871251106, 0.0111225675791502, 0.007515547331422567, -0.007613379508256912, 0.7836686968803406, 0.024541618302464485, 0.045783888548612595, 0.044746581465005875, 0.024500401690602303, 0.005074141547083855, -0.008588207885622978, 0.04055318981409073, 0.0484098382294178, 0.06919042021036148, -0.05906897783279419, 0.06733919680118561, -0.008045564405620098, 0.003986549563705921, 0.012325398623943329, -0.00014103543071541935, 0.029462594538927078, 0.02228608727455139, -0.0033884672448039055, 0.01377751212567091, 0.02329576574265957, 0.039117105305194855, 0.0592205747961998, -0.020580077543854713, -0.013600943610072136, -0.009293276816606522, -0.1627153754234314, 0.015220608562231064, -7.032807846185061e-33, -0.010629898868501186, 0.01087119895964861, -0.0670870915055275, -0.013804487884044647, -0.048494867980480194, 0.07524161040782928, -0.05184230953454971, -0.010402112267911434, -0.007743210066109896, -0.013067062012851238, 0.04680158942937851, 0.010052391327917576, -0.0062615820206701756, -0.000954181479755789, -0.010211427696049213, -0.029209190979599953, -0.0016330297803506255, 0.04648739472031593, 0.05377943813800812, 0.032867420464754105, 0.04564017057418823, -0.001278035226278007, 0.019994979724287987, -0.0019167567370459437, 0.002151031279936433, 0.036860253661870956, 0.005370244383811951, -0.023402618244290352, 0.02927393466234207, -0.050739992409944534, 0.023612193763256073, 0.03122815489768982, 0.006319609470665455, -0.05878361314535141, -0.0019447520608082414, -0.0471988320350647, -0.011183121241629124, 0.029443828389048576, -0.0540703646838665, -0.015517201274633408, -0.011460247449576855, -0.014380593784153461, -0.03112449124455452, -0.014563044533133507, 0.02232225239276886, 0.04832718148827553, 0.012072338722646236, 0.042039964348077774, -0.011436782777309418, -0.04105457663536072, -0.03917239233851433, 0.004624178167432547, 0.0020054231863468885, 0.05952254310250282, -0.01871049962937832, -0.030650058761239052, -0.01885582134127617, -0.019636228680610657, -0.004708249121904373, -0.0653017908334732, 0.03606315702199936, 0.0014765445375815034, 0.0008804984972812235, 0.0197172649204731, -0.03087032027542591, -0.0003818310215137899, 0.050996068865060806, 0.02598242461681366, 0.003082347335293889, 0.03154368698596954, -0.06591254472732544, 0.035355810075998306, 0.01705080084502697, 0.006306060589849949, -0.030423155054450035, -0.039804957807064056, 0.011473802849650383, 0.036184344440698624, 0.011759866960346699, 0.052264485508203506, 0.008430063724517822, 0.009025674313306808, 0.008641723543405533, -0.0022411097306758165, -0.0006315814098343253, 0.05151110142469406, 0.05331072956323624, -0.04476676881313324, -0.019199766218662262, -0.018052786588668823, 0.02456752397119999, -0.007845723070204258, -0.016601162031292915, -0.07066387683153152, -0.0009126978693529963, 6.966412986514741e-33, -0.025864407420158386, -0.04072277620434761, 0.008607329800724983, 0.03456701710820198, 0.008912046439945698, -0.023441793397068977, 0.060428064316511154, -0.003466424997895956, -0.022760525345802307, 0.03367142751812935, -0.017853861674666405, -0.04228532314300537, 0.03020879253745079, -0.0031125377863645554, 0.06777151674032211, -0.03852611035108566, -0.005714026745408773, -0.0018516515847295523, 0.06665176898241043, 0.006732471752911806, -0.02018526755273342, -0.0007222360582090914, 0.020297549664974213, 0.03397523611783981, 0.032618798315525055, 0.02808195725083351, -0.052035532891750336, -0.028825340792536736, 0.0037646277341991663, -0.01709754206240177, 0.02552139014005661, 0.008706947788596153, 0.02262083999812603, -0.04298389330506325, -0.09580498188734055, 0.058204203844070435, 0.01093216147273779, -0.015973692759871483, 0.01872509904205799, 0.008655388839542866, 0.052887991070747375, -0.017358306795358658, -0.02666708454489708, 0.018748460337519646, -0.005533309653401375, 0.01047719269990921, -0.022054951637983322, 0.00034661684185266495, 0.015840502455830574, 0.008147276006639004, 0.029276104643940926, 0.0038566000293940306, -0.024842016398906708, -0.025186652317643166, 0.015520998276770115, -0.009392892010509968, -0.009323922917246819, 0.02052781544625759, -0.005147886462509632, -0.02595784142613411, -0.04264363646507263, 0.02984749525785446, 0.00277231028303504, 0.027324849739670753, -0.06220300868153572, -0.027618786320090294, 0.014785068109631538, -0.01892237178981304, 0.04644981771707535, -0.06464988738298416, -0.010459481738507748, -0.004800060298293829, 0.022315341979265213, 0.031598348170518875, 0.03225884214043617, 0.021804897114634514, -0.03391484171152115, 0.01304377056658268, 0.022096367552876472, 0.00678785378113389, 0.002388798166066408, 0.005624123848974705, 0.026914849877357483, 0.04509562626481056, 0.030788004398345947, 0.008225511759519577, -0.03850865364074707, 0.03140148147940636, -0.010783035308122635, -0.0354638397693634, -0.010413452051579952, -0.007195372600108385, 0.00922789890319109, 0.0013625354040414095, -0.03386068716645241, -1.2537604732187901e-8, -0.005999555811285973, -0.00008746238017920405, -0.04259562864899635, 0.02780049666762352, 0.03774388134479523, 0.011583414860069752, 0.018012365326285362, -0.02007414400577545, -0.03539159893989563, 0.02577117830514908, 0.024873415008187294, 0.0022920011542737484, -0.04734598472714424, -0.012148100882768631, 0.023301279172301292, -0.04385388642549515, -0.02538568340241909, -0.03109179437160492, 0.0331336073577404, 0.013362612575292587, 0.03478575870394707, 0.07056494802236557, -0.013911445625126362, -0.038762230426073074, 0.001658857916481793, 0.01581772230565548, -0.016753412783145905, -0.047347355633974075, 0.00617633992806077, -0.044452518224716187, 0.07599889487028122, -0.02375533990561962, -0.03762057051062584, -0.026819871738553047, 0.004782033618539572, -0.05646573007106781, 0.00925426185131073, 0.03894853964447975, 0.014511053450405598, -0.0013983764220029116, -0.009376677684485912, -0.011303924024105072, -0.03579475358128548, -0.02426454797387123, -0.04639538750052452, -0.07792925089597702, -0.04934430867433548, 0.010450795292854309, 0.01521197147667408, -0.04217029735445976, -0.008525574579834938, -0.017137086018919945, 0.03730855882167816, 0.06679093837738037, 0.031635820865631104, -0.019457444548606873, -0.003126363968476653, -0.051876142621040344, -0.030674483627080917, 0.008874470368027687, 0.018169965595006943, -0.04605989530682564, -0.050476737320423126, -0.019913915544748306 ]
ruby-invalid-multibyte-char-us-ascii
https://markhneedham.com/blog/2013/01/27/ruby-invalid-multibyte-char-us-ascii
false
2013-01-27 02:21:39
Python/numpy: Selecting values by multiple indices
[ "python", "numpy" ]
[ "Python" ]
As I http://www.markhneedham.com/blog/2013/01/27/pythonnumpy-selecting-specific-column-in-2d-array/[mentioned in my previous post] I've been playing around with http://www.numpy.org/[numpy] and I wanted to get the values of a collection of different indices in a 2D array. If we had a 2D array that looked like this: [source,python] ---- >>> x = arange(20).reshape(4,5) >>> x array([[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19]]) ---- I knew that it was possible to retrieve the first 3 rows by using the following code: [source,python] ---- >>> x[0:3] array([[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14]]) ---- What I wanted to do, however, was retrieve the 1st, 3rd and 4th rows which we can do by passing a collection to the array lookup function: [source,python] ---- >>> x[[0,2,3]] array([[ 0, 1, 2, 3, 4], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19]]) ---- My collection of indices was actually in a tuple so I needed to use the +++<cite>+++http://docs.python.org/2/library/functions.html#list[list]+++</cite>+++ function to convert it to the appropriate data structure first: [source,python] ---- >>> x[list((0,2,3))] array([[ 0, 1, 2, 3, 4], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19]]) ---- Pretty neat!
null
null
[ -0.013158174231648445, -0.047111306339502335, -0.020840244367718697, 0.015286079607903957, 0.053057167679071426, 0.027860311791300774, -0.023562615737318993, 0.0009737146319821477, 0.002033713972195983, -0.02247736230492592, 0.027200473472476006, -0.002222114708274603, -0.06339797377586365, 0.010547149926424026, -0.03226076811552048, 0.07663333415985107, 0.08646825700998306, -0.02683885395526886, -0.010457735508680344, 0.00008580844587413594, 0.018903551623225212, 0.02306206151843071, -0.00273272511549294, 0.015642324462532997, 0.006502569653093815, 0.0005179470172151923, 0.0008816355257295072, 0.02104889787733555, -0.02722769044339657, -0.009203871712088585, 0.007967271842062473, 0.014230306260287762, -0.011267885565757751, -0.003600657219067216, 0.03850727155804634, 0.004762779455631971, -0.022669419646263123, 0.015208621509373188, 0.00005501464329427108, 0.02069256827235222, -0.04391176253557205, 0.03277071937918663, -0.0006858893320895731, 0.03839545324444771, -0.033576272428035736, 0.01720770075917244, -0.05694454163312912, 0.005079974420368671, -0.009682738222181797, 0.030567191541194916, -0.029961371794342995, 0.0246843621134758, 0.0064896102994680405, -0.022880690172314644, -0.011898604221642017, 0.05131308361887932, -0.0021204291842877865, -0.04789004474878311, 0.04516003653407097, -0.011204587295651436, 0.013844176195561886, 0.024926936253905296, 0.0027922382578253746, 0.03738638386130333, 0.005486256908625364, -0.014856803230941296, -0.0004159633244853467, 0.056388117372989655, -0.025955939665436745, -0.002404939616099, -0.0349629782140255, -0.003733057528734207, -0.011141927912831306, 0.007700030691921711, -0.007799281273037195, -0.011995532549917698, -0.030531592667102814, 0.05403125658631325, 0.022578254342079163, 0.05265570431947708, -0.030016213655471802, 0.005313973408192396, 0.012508532032370567, 0.007151702884584665, 0.005066479090601206, -0.04334342107176781, -0.06412957608699799, -0.016897903755307198, -0.06258877366781235, 0.01941007748246193, -0.007717907428741455, -0.04757607728242874, 0.009476281702518463, 0.02355702593922615, -0.007317248731851578, -0.004518603440374136, 0.004729022737592459, -0.038111407309770584, -0.016427885740995407, -0.004605352878570557, -0.026648014783859253, -0.04798304662108421, 0.029623478651046753, -0.02266540750861168, -0.06916976720094681, -0.03814184293150902, 0.00338806863874197, 0.0008372145239263773, -0.012751569971442223, -0.013541962020099163, -0.04487201198935509, -0.02266700193285942, -0.028726084157824516, -0.03262007609009743, -0.07370605319738388, 0.036863088607788086, 0.033703580498695374, -0.007955187931656837, -0.03126770630478859, 0.02912968583405018, 0.0388617105782032, 0.039118193089962006, -0.005701275076717138, 0.0891479030251503, 0.014180898666381836, 0.006396368145942688, 0.019064651802182198, 0.06532895565032959, -0.023116812109947205, -0.04725584387779236, -0.02792792022228241, 0.03159007057547569, -0.021922647953033447, -0.02223171293735504, -0.001763031235896051, -0.06652984768152237, -0.08642788976430893, 0.05565883591771126, 0.0551508404314518, 0.03216623514890671, 0.023661568760871887, -0.03497862443327904, -0.008816292509436607, 0.005429285578429699, 0.0238104909658432, 0.02777073159813881, -0.00859308335930109, -0.0228999275714159, -0.01885116472840309, 0.013766327872872353, 0.02312040701508522, 0.03807612508535385, 0.03989687189459801, -0.041058242321014404, 0.02493332512676716, 0.08496057242155075, 0.03444771468639374, 0.041773825883865356, -0.009541126899421215, 0.007756091188639402, 0.026217719539999962, 0.0031825655605643988, 0.035199787467718124, 0.0506477877497673, 0.007134046405553818, -0.01502156350761652, 0.022331489250063896, 0.08120081573724747, 0.0063727619126439095, -0.022134117782115936, -0.05149664357304573, -0.058283038437366486, 0.03235601633787155, -0.02464190684258938, -0.018683891743421555, 0.007209985516965389, 0.07775001972913742, 0.02392834797501564, 0.04960398003458977, -0.05727182328701019, -0.07288279384374619, 0.02163209393620491, 0.008540724404156208, 0.019652297720313072, 0.0601469986140728, -0.012141896411776543, 0.09546272456645966, 0.019101211801171303, 0.01355842873454094, 0.0166183914989233, -0.05632869154214859, -0.07290902733802795, -0.038041017949581146, -0.022782500833272934, 0.05353919416666031, -0.047075316309928894, -0.00884593278169632, 0.07467547804117203, -0.00936723779886961, 0.012502992525696754, 0.01540139690041542, 0.00034934902214445174, -0.006961159408092499, -0.030096713453531265, -0.041915830224752426, 0.0027331621386110783, 0.050985414534807205, -0.029095567762851715, -0.019521169364452362, 0.03815540298819542, 0.011459676548838615, -0.00640752213075757, -0.006901052314788103, -0.042342714965343475, 0.07133830338716507, 0.04468689486384392, 0.04298197478055954, -0.018626229837536812, 0.048930734395980835, -0.07737492024898529, 0.047331713140010834, 0.021526429802179337, -0.019509602338075638, -0.02563902549445629, 0.014077774249017239, 0.15256640315055847, 0.07772886753082275, -0.02857184037566185, -0.04864296689629555, -0.017475351691246033, -0.009530681185424328, -0.009453794918954372, -0.013644499704241753, -0.01440066285431385, -0.04278368875384331, -0.0158090777695179, -0.03550473600625992, -0.03908739984035492, 0.007754105608910322, -0.030084559693932533, -0.051281511783599854, 0.09090881049633026, -0.020178809762001038, 0.022612085565924644, 0.020984819158911705, -0.04500766098499298, -0.0004454531008377671, -0.05233262851834297, -0.025884641334414482, -0.012459352612495422, 0.010912171564996243, -0.014853098429739475, 0.05829501897096634, -0.0326201356947422, -0.02900872752070427, 0.00513089494779706, -0.05850028619170189, -0.016398627310991287, 0.07045548409223557, 0.05137696862220764, -0.02568596974015236, 0.05233848839998245, 0.0012828155886381865, -0.01227368600666523, -0.013066890649497509, -0.054241832345724106, -0.04990215599536896, -0.03751734644174576, 0.035740263760089874, 0.044563956558704376, 0.05160484090447426, 0.029737835749983788, -0.015582875348627567, -0.01321940403431654, -0.01666775718331337, -0.03265992924571037, 0.02430696412920952, 0.010348249226808548, -0.012686599045991898, -0.05767562612891197, -0.008820581249892712, 0.049898892641067505, -0.016122622415423393, -0.03321448713541031, -0.025450043380260468, -0.03994397819042206, 0.04531708359718323, -0.062263619154691696, -0.013813085854053497, -0.018441498279571533, 0.015232290141284466, 0.03648154437541962, -0.038033902645111084, -0.046249907463788986, 0.04889257252216339, 0.02058141678571701, 0.004337165504693985, 0.032020580023527145, 0.030826909467577934, 0.0004570581659208983, -0.0025531284045428038, -0.006451835390180349, 0.05827845260500908, 0.008079337887465954, -0.02908525988459587, -0.04022717475891113, -0.02711082249879837, -0.022172607481479645, -0.26695162057876587, 0.013387591578066349, -0.029600152745842934, 0.006641000974923372, 0.021447181701660156, -0.01339612528681755, -0.01737741008400917, -0.02329040691256523, 0.0003948331286665052, 0.011548761278390884, -0.013871515169739723, -0.03711780905723572, -0.04126308113336563, 0.03857237473130226, 0.017552118748426437, 0.009743843227624893, 0.0010701559949666262, -0.02817561663687229, 0.01150469109416008, 0.051279690116643906, 0.004169860389083624, -0.03401888534426689, -0.013051468878984451, 0.04961859807372093, 0.009654725901782513, 0.07948678731918335, -0.08084703981876373, 0.011368826031684875, -0.07200849056243896, -0.0002768326085060835, -0.015095096081495285, -0.02409089356660843, 0.008419906720519066, -0.013088936917483807, -0.02640634961426258, -0.03823535889387131, 0.05208868905901909, -0.023164045065641403, -0.03158959001302719, 0.011284856125712395, -0.057879652827978134, -0.019826052710413933, -0.015147673897445202, 0.015318281017243862, 0.06573136150836945, -0.0056940834037959576, -0.04724932461977005, -0.011889944784343243, -0.01993640698492527, 0.03843850642442703, -0.009202828630805016, -0.013124356977641582, -0.0410081148147583, 0.03676161542534828, -0.028520315885543823, -0.014610095880925655, -0.021568313241004944, 0.01053547952324152, -0.025979559868574142, -0.006954672746360302, 0.01857745833694935, -0.050643566995859146, 0.006276404485106468, -0.06150262802839279, -0.034972336143255234, -0.07284899055957794, -0.06236155331134796, -0.0047598183155059814, 0.06599448621273041, 0.054580722004175186, -0.020818736404180527, -0.0030479957349598408, -0.0211155004799366, -0.09947845339775085, 0.01589070074260235, -0.004066701978445053, -0.036332547664642334, 0.024327082559466362, 0.011374321766197681, 0.033493973314762115, -0.06927084922790527, -0.06704217940568924, 0.03288786858320236, 0.026428597047924995, 0.0055733476765453815, -0.024845601990818977, -0.020346323028206825, 0.018104739487171173, -0.021838294342160225, -0.018627449870109558, 0.054580725729465485, -0.026336761191487312, 0.027755387127399445, -0.008517480455338955, 0.006238826084882021, 0.04384109005331993, 0.0438033826649189, 0.007556733675301075, 0.05364072322845459, 0.03895829617977142, 0.025921344757080078, -0.05501147732138634, -0.006966532673686743, -0.03458463028073311, -0.018175501376390457, 0.026506640017032623, -0.006509159691631794, 0.014730178751051426, 0.031882259994745255, -0.004567414056509733, -0.02552812173962593, -0.04505642130970955, 0.027046794071793556, -0.0617043599486351, 0.01657336950302124, -0.031060239300131798, 0.04427655413746834, 0.015750473365187645, 0.014764965511858463, -0.014160146936774254, -0.08704731613397598, 0.014306982047855854, -0.001465165987610817, -0.01918022334575653, -0.05085613206028938, -0.03343452513217926, -0.010342394933104515, -0.015085874125361443, 0.006964180618524551, 0.01820194162428379, 0.004989761859178543, 0.018569326028227806, 0.029842743650078773, -0.02695387601852417, 0.012909934855997562, -0.02276817336678505, 0.012650392949581146, -0.01278398372232914, -0.026732388883829117, 0.03140094131231308, 0.02249028906226158, -0.023343846201896667, -0.013618170283734798, 0.02797338180243969, 0.048337358981370926, 0.03695163130760193, 0.02643236517906189, 0.01523901242762804, 0.005834611598402262, 0.04508939012885094, -0.016415132209658623, -0.020013300701975822, 0.03227963671088219, -0.03883302956819534, -0.02496981807053089, 0.01935742050409317, 0.05034145340323448, -0.022455092519521713, -0.0073578027077019215, -0.03627225011587143, 0.026839271187782288, -0.03635762259364128, 0.0031714681535959244, -0.027361487969756126, -0.04159589856863022, 0.05139872059226036, 0.0010146701242774725, 0.025693131610751152, -0.013838590122759342, 0.046854496002197266, 0.03534936532378197, 0.021072909235954285, 0.006553278770297766, 0.01972660981118679, -0.0038400995545089245, -0.033114999532699585, 0.04186084866523743, 0.02913832850754261, 0.01700466126203537, -0.01214832253754139, -0.021859657019376755, -0.026305032894015312, 0.019850263372063637, 0.020355764776468277, 0.019492803141474724, 0.041405655443668365, -0.016296355053782463, -0.03851756453514099, -0.03731536492705345, -0.0474993996322155, -0.07244803756475449, -0.009741798043251038, -0.014867046847939491, -0.012379324994981289, -0.014928936026990414, -0.05558834597468376, 0.04587787762284279, 0.017370911315083504, -0.03375625982880592, 0.018342547118663788, -0.0019064303487539291, -0.01015825942158699, -0.031499940901994705, 0.03477965295314789, 0.0483379140496254, -0.040155600756406784, -0.005409318953752518, -0.00896939355880022, 0.019111797213554382, -0.013953134417533875, 0.05944859981536865, -0.0509292334318161, -0.004864679183810949, -0.01882830634713173, 0.016657615080475807, 0.01926242746412754, -0.022646209225058556, -0.017494430765509605, 0.031833451241254807, -0.02138950489461422, 0.02479841560125351, -0.015306228771805763, 0.02726823277771473, -0.010905091650784016, -0.0200028195977211, 0.02473166026175022, 0.0024103138130158186, -0.022763056680560112, 0.020036352798342705, -0.026413409039378166, 0.04309270158410072, -0.03161002695560455, 0.029028620570898056, 0.03092876635491848, 0.002133019035682082, -0.019040323793888092, -0.04917551204562187, 0.005021079909056425, -0.0124284029006958, 0.08110690861940384, -0.022394327446818352, -0.0023371013812720776, -0.026703692972660065, 0.0041726017370820045, -0.03260618448257446, -0.005984124261885881, 0.020945275202393532, -0.05929946154356003, 0.01359147671610117, 0.033302344381809235, 0.0035862510558217764, 0.02796700783073902, 0.019492527469992638, -0.03927652910351753, 0.04962898790836334, 0.009778013452887535, -0.015751134604215622, -0.02218211255967617, -0.04700969159603119, 0.00832579005509615, -0.012430853210389614, 0.031094105914235115, -0.05027943104505539, 0.03862836956977844, 0.02253745123744011, 0.023272018879652023, 0.043813686817884445, -0.0018433374352753162, 0.05190694332122803, -0.025739911943674088, -0.006791922263801098, -0.07531775534152985, -0.019621994346380234, 0.032042745500802994, 0.0347231924533844, -0.04064113274216652, -0.0015957147115841508, -0.032695744186639786, 0.020567724481225014, -0.08821187168359756, -0.02716798335313797, 0.038042109459638596, 0.0027082341257482767, 0.001895996043458581, 0.029816191643476486, -0.03516898676753044, -0.010945596732199192, 0.051977939903736115, -0.0252174511551857, 0.0057784938253462315, -0.03706716001033783, 0.05793457478284836, -0.0032483243849128485, 0.016888344660401344, 0.027431299909949303, 0.010022912174463272, 0.0510403998196125, 0.027597136795520782, 0.017387080937623978, 0.06679694354534149, -0.02344188652932644, 0.03851236775517464, 0.026897303760051727, -0.02772188000380993, -0.009109590202569962, 0.030521834269165993, 0.027933062985539436, -0.03300214931368828, 0.01069552917033434, 0.039329156279563904, -0.03686005249619484, -0.04782251641154289, 0.08379294723272324, 0.007763521280139685, -0.0419761948287487, -0.04472136124968529, 0.0035043349489569664, -0.07480988651514053, 0.010105879977345467, -0.021750526502728462, -0.03882284462451935, -0.012524448335170746, 0.04617061838507652, -0.03620831295847893, -0.011181129142642021, 0.046241872012615204, 0.014968338422477245, -0.027418803423643112, 0.027764229103922844, 0.06728319823741913, 0.10850132256746292, 0.06146026402711868, 0.01565716788172722, 0.039981529116630554, -0.020769573748111725, -0.039044853299856186, 0.025357307866215706, -0.03586437180638313, 0.024761613458395004, 0.01442665047943592, 0.026694273576140404, 0.06814993172883987, 0.0015007394831627607, 0.06353402137756348, -0.031185345724225044, 0.011051288805902004, -0.01805790886282921, -0.0012197594624012709, 0.026563838124275208, 0.057924360036849976, -0.010425858199596405, 0.03386005386710167, -0.03460297733545303, -0.037990059703588486, 0.04890350624918938, 0.020115379244089127, -0.012095697224140167, 0.022175047546625137, 0.01904883049428463, 0.010718339122831821, 0.02816017158329487, 0.05766453593969345, 0.06859588623046875, -0.026624217629432678, -0.03774358704686165, -0.0038215299136936665, 0.019358716905117035, -0.013179156929254532, -0.015207194723188877, -0.010238234885036945, -0.0283286664634943, 0.019754109904170036, -0.030441977083683014, -0.003176714526489377, -0.034761566668748856, -0.0053979698568582535, 0.03625093773007393, -0.008911455981433392, 0.0021424528677016497, 0.030174726620316505, 0.03418061137199402, -0.059791963547468185, -0.04924463480710983, -0.059008192270994186, -0.023320790380239487, -0.06859477609395981, 0.0007327179773710668, 0.05416152626276016, -0.008930652402341366, -0.0414155051112175, -0.011915897950530052, -0.0268356092274189, -0.007567753084003925, 0.018542788922786713, -0.037902459502220154, -0.01573628932237625, -0.016672298312187195, 0.0498538576066494, 0.04628115892410278, 0.03900878131389618, 0.038406167179346085, -0.00742441788315773, -0.01445615291595459, 0.009856929071247578, 0.012045629322528839, 0.07480723410844803, 0.03535638004541397, -0.012371591292321682, -0.07557216286659241, -0.014976554550230503, 0.03807126730680466, 0.004898069426417351, -0.07537658512592316, -0.018103281036019325, 0.036905717104673386, -0.0008584141032770276, 0.01861758902668953, -0.015582846477627754, -0.03306875377893448, -0.028969604521989822, -0.024045219644904137, 0.0006949789240024984, -0.000329721427988261, 0.036730311810970306, -0.04105234891176224, 0.051045890897512436, 0.038139473646879196, -0.005049972329288721, -0.019112445414066315, 0.0008093733340501785, 0.005573129281401634, 0.025517769157886505, -0.05883784592151642, -0.040454037487506866, -0.0603334978222847, -0.052460916340351105, -0.0015081566525623202, 0.01761613041162491, -0.012895655818283558, -0.0337207205593586, 0.003498602192848921, 0.03406690061092377, -0.04468167945742607, 0.048638906329870224, -0.03192972391843796, 0.020928295329213142, -0.02656637504696846, -0.04648962616920471, 0.011618508957326412, 0.0581163689494133, 0.0011705529177561402, 0.020064963027834892, 0.013783755712211132, -0.051245588809251785, -0.013811240904033184, -0.0220489501953125, 0.00470296386629343, 0.04521412402391434, -0.02674941159784794, 0.04756130650639534 ]
[ -0.08805613219738007, -0.033523980528116226, -0.017408709973096848, -0.02156253717839718, 0.03086034581065178, -0.03751106560230255, -0.0036633445415645838, 0.018744243308901787, -0.0014466089196503162, 0.00006350327748805285, 0.03314435854554176, -0.06458268314599991, 0.0005888750310987234, -0.01829547807574272, 0.006202200427651405, -0.0015516498824581504, -0.03285549581050873, -0.047811735421419144, -0.06593789905309677, 0.036079730838537216, 0.014843197539448738, -0.03502652421593666, -0.046603258699178696, -0.0740446001291275, 0.023964224383234978, 0.06322789937257767, 0.022524988278746605, -0.02084035985171795, -0.01603870280086994, -0.21974103152751923, 0.02051486074924469, 0.001231093076057732, 0.03598279878497124, -0.04529757425189018, 0.02692561410367489, 0.015401672571897507, 0.014754926785826683, 0.01635383628308773, 0.018377335742115974, 0.050218746066093445, 0.01803705096244812, 0.006362552754580975, -0.054374437779188156, -0.009969467297196388, 0.03344636783003807, -0.012363629415631294, -0.023378804326057434, 0.0013360881712287664, 0.029490787535905838, 0.009604550898075104, -0.07099653780460358, 0.029764719307422638, -0.04555486515164375, 0.001668123179115355, 0.013029703870415688, 0.025941887870430946, 0.03704814240336418, 0.03151123225688934, 0.005095272790640593, 0.008491580374538898, 0.018197130411863327, -0.029993342235684395, -0.09492982178926468, 0.10740458965301514, 0.02203717641532421, 0.03436114266514778, -0.032200735062360764, -0.040352221578359604, 0.009830674156546593, 0.06726022064685822, 0.002628159709274769, -0.005806592293083668, -0.007626814302057028, 0.04952864348888397, 0.015442822128534317, -0.06865011900663376, -0.01728830672800541, -0.015019827522337437, 0.041862934827804565, -0.00011211734090466052, -0.06620712578296661, -0.012204732745885849, 0.01605144888162613, -0.03210418298840523, 0.013932284899055958, 0.021839072927832603, -0.02967122010886669, 0.008970978669822216, 0.030097294598817825, 0.013637247495353222, 0.04679863527417183, 0.027764027938246727, -0.036210596561431885, 0.0454992949962616, -0.04711134731769562, -0.02875879593193531, 0.03593852370977402, 0.020414821803569794, -0.019464662298560143, 0.3746817111968994, -0.019675422459840775, -0.0062336390838027, 0.04702182486653328, 0.06538143754005432, -0.03374653682112694, -0.04315222054719925, -0.02452216111123562, -0.06598378717899323, -0.01859346590936184, -0.049709416925907135, -0.014218772761523724, -0.041104793548583984, 0.06678610295057297, -0.07395075261592865, -0.005412701517343521, 0.01242244616150856, -0.033651698380708694, 0.012956093065440655, 0.024398284032940865, 0.0013066706014797091, -0.027843205258250237, 0.012079015374183655, 0.038127560168504715, -0.0023082878906279802, 0.011538275517523289, 0.027498967945575714, 0.00011305711814202368, 0.06682136654853821, 0.01912856101989746, 0.03565797954797745, 0.055530887097120285, -0.021126337349414825, -0.10244375467300415, 0.027003228664398193, 0.013506975956261158, 0.03556768596172333, 0.07186217606067657, -0.008453605696558952, 0.01923055201768875, 0.020385202020406723, -0.010116233490407467, -0.05439047887921333, 0.04786132276058197, 0.006334096193313599, -0.01889854669570923, 0.1272783875465393, -0.02457108348608017, -0.028498679399490356, -0.041306301951408386, -0.04266135394573212, -0.004366218578070402, 0.03389611095190048, 0.0055025783367455006, -0.049922097474336624, 0.007214633747935295, 0.033441122621297836, 0.08246064186096191, -0.03264833986759186, -0.060638245195150375, -0.022161271423101425, -0.07137544453144073, -0.012112404219806194, -0.04463887959718704, 0.0358973927795887, 0.04749378189444542, -0.09569408744573593, -0.023784613236784935, 0.019036268815398216, -0.02424626052379608, -0.08193226158618927, 0.006564575247466564, 0.04725075140595436, -0.074294313788414, 0.009848508052527905, 0.06360823661088943, -0.03298892825841904, -0.049949854612350464, -0.027093971148133278, 0.10445845872163773, -0.0013568843714892864, -0.008721167221665382, 0.02066224068403244, -0.014675338752567768, -0.028115879744291306, -0.037875570356845856, -0.08502841740846634, -0.05502811819314957, 0.0209482591599226, -0.01648849807679653, -0.04168376699090004, 0.0010546486591920257, -0.05132782459259033, -0.08849300444126129, 0.05903451144695282, -0.049913547933101654, -0.011944295838475227, 0.03119722567498684, -0.010637692175805569, -0.010518228635191917, -0.02367410995066166, 0.05194484815001488, -0.004682194907218218, -0.002557573840022087, 0.05467134714126587, -0.02684232033789158, 0.025481419637799263, 0.07194565236568451, -0.05315699800848961, 0.047851987183094025, 0.049604956060647964, -0.01899324543774128, -0.047813016921281815, -0.0205121748149395, 0.013680879026651382, -0.02296840213239193, -0.0350554883480072, 0.011743131093680859, 0.005531937349587679, 0.025409424677491188, 0.019933946430683136, -0.0017841275548562407, -0.11963888257741928, -0.035395875573158264, -0.3460904657840729, -0.022885169833898544, -0.015303063206374645, -0.021736688911914825, -0.007295769173651934, -0.0735897570848465, -0.02328958362340927, -0.02067239210009575, -0.060307372361421585, 0.04399760812520981, 0.05815146490931511, 0.02259448543190956, 0.0071068378165364265, -0.08508265763521194, -0.028796911239624023, 0.013568310998380184, -0.04463367909193039, -0.03586066886782646, -0.01624847948551178, 0.012872070074081421, 0.0051836855709552765, 0.004329562187194824, -0.03436810523271561, -0.02425343729555607, -0.004380229860544205, -0.06035274267196655, 0.14658696949481964, 0.0263370294123888, 0.05513159558176994, -0.010610908269882202, 0.0611099936068058, -0.031956061720848083, -0.02280140109360218, 0.0036927564069628716, -0.000388274755096063, -0.03948502987623215, -0.046342555433511734, 0.03918512910604477, -0.015783824026584625, -0.004704886116087437, -0.017283910885453224, 0.030289823189377785, 0.0033697353210300207, -0.018939202651381493, -0.05170765519142151, 0.030314302071928978, 0.006850489415228367, -0.027514223009347916, 0.03008563071489334, 0.08107500523328781, 0.039069756865501404, 0.04233015701174736, 0.019403163343667984, -0.011060819961130619, 0.02609761618077755, 0.017351863905787468, -0.07106669247150421, -0.005244814325124025, -0.016110287979245186, -0.007296983618289232, -0.00009385808516526595, -0.01888052374124527, 0.03460394963622093, -0.057122550904750824, -0.014406614005565643, 0.004187654238194227, 0.01042400673031807, -0.0048367022536695, 0.015779707580804825, -0.013800054788589478, 0.0073662712238729, 0.07957256585359573, 0.02428796887397766, 0.03586830198764801, 0.02658458612859249, 0.055408310145139694, 0.00994065310806036, 0.06329379230737686, 0.048950325697660446, -0.016953153535723686, 0.025220809504389763, 0.002778830239549279, 0.024858124554157257, 0.0104410694912076, 0.03507218137383461, 0.009903592988848686, 0.0031611453741788864, 0.018301403149962425, 0.009368968196213245, -0.005421843379735947, -0.014367680065333843, -0.007114354055374861, -0.03761652112007141, 0.004618768580257893, 0.05883730575442314, 0.003310687141492963, -0.26145485043525696, 0.041972823441028595, 0.0548960343003273, 0.052306391298770905, -0.005584757309406996, 0.013058082200586796, 0.028025265783071518, -0.04812606796622276, 0.017149323597550392, 0.002280013170093298, 0.0028207635041326284, 0.03321240842342377, 0.0644436925649643, -0.013631460256874561, -0.020506713539361954, -0.024828912690281868, 0.06337769329547882, 0.004049365874379873, 0.01967375911772251, 0.03984695300459862, 0.06501497328281403, -0.002261208137497306, 0.19917958974838257, 0.02431143820285797, 0.026892350986599922, -0.026164991781115532, 0.0004379067977424711, -0.005682171322405338, 0.04565136134624481, 0.015292205847799778, 0.026948807761073112, -0.02739274874329567, 0.0657934918999672, -0.01453473325818777, 0.028285495936870575, -0.00546869495883584, -0.007300208322703838, 0.06307884305715561, 0.03268437832593918, -0.03688826039433479, -0.039103392511606216, 0.03333692252635956, -0.08830573409795761, 0.047603920102119446, 0.0797765925526619, 0.018512273207306862, 0.01768384501338005, -0.042356379330158234, -0.021300742402672768, 0.028175096958875656, -0.02265056036412716, -0.011230994015932083, -0.0033529417123645544, -0.02923061139881611, 0.02010687068104744, 0.07392226159572601, -0.0033534246031194925, -0.00471007963642478, 0.03165300935506821, 0.018460245802998543, -0.00492822052910924, -0.028920385986566544, 0.11155203729867935, 0.005178296472877264, 0.006873358506709337 ]
[ 0.008749660104513168, 0.06270715594291687, -0.04746009036898613, 0.00992249883711338, -0.02551056444644928, -0.05580207705497742, 0.010781198740005493, -0.07105045765638351, -0.0458914116024971, -0.03669426962733269, -0.05629774555563927, 0.04000828415155411, 0.0024530738592147827, -0.03272351622581482, -0.020411374047398567, 0.012615641579031944, -0.03108283318579197, 0.027622129768133163, 0.07182484120130539, -0.0011150140780955553, -0.031055234372615814, 0.03460210561752319, 0.01632397435605526, -0.0243258997797966, -0.016458559781312943, 0.04488137736916542, -0.01145893707871437, 0.02273031324148178, 0.009661541320383549, -0.06811719387769699, -0.032903797924518585, -0.027074843645095825, -0.002211927901953459, -0.015295742079615593, -0.03449751064181328, 0.0034459263551980257, -0.017730621621012688, -0.010398090817034245, 0.012728440575301647, 0.033770594745874405, 0.027122998610138893, 0.01617627963423729, -0.05451321601867676, -0.0143651831895113, -0.03318830952048302, -0.010948661714792252, -0.01523383054882288, -0.019566230475902557, 0.01569141261279583, -0.02460372820496559, -0.06856092065572739, 0.027862928807735443, -0.008600020781159401, 0.013844639994204044, 0.03378335013985634, -0.051651984453201294, -0.02969575859606266, -0.03715548291802406, 0.00245903292670846, -0.023206084966659546, 0.0195990651845932, 0.01903463713824749, -0.031678542494773865, -0.019519932568073273, -0.009636220522224903, -0.055178459733724594, -0.022126194089651108, 0.012471549212932587, 0.03439978137612343, -0.009034373797476292, -0.01741042360663414, 0.030058633536100388, -0.03203258290886879, -0.05763328820466995, -0.003854121547192335, -0.035542864352464676, 0.03775649890303612, -0.07390375435352325, 0.005621477495878935, 0.014926863834261894, -0.019596334546804428, 0.011318373493850231, 0.04867046698927879, 0.015221165493130684, -0.018622292205691338, -0.08990699797868729, -0.016495544463396072, 0.04118182882666588, -0.024233177304267883, -0.02897249162197113, 0.002383920131251216, -0.023010162636637688, -0.0032340483739972115, 0.030354289337992668, -0.057163551449775696, -0.01051662303507328, 0.028460778295993805, -0.005227935034781694, -0.030833173543214798, 0.794846773147583, 0.03174065425992012, -0.011564407497644424, -0.008659991435706615, 0.015412237495183945, 0.012671072967350483, 0.028807561844587326, 0.019347207620739937, -0.017179466784000397, -0.01829291693866253, -0.011896545067429543, 0.00644413847476244, -0.00009550526010571048, 0.03731323033571243, 0.020402060821652412, -0.007191985379904509, 0.05195540189743042, -0.007143254857510328, 0.013501346111297607, 0.015046018175780773, -0.008060604333877563, 0.023984134197235107, 0.010959259234368801, 0.05612102150917053, 0.01761448010802269, -0.008092203177511692, -0.1490827202796936, -0.011500285007059574, -7.676111088667974e-33, 0.030538827180862427, -0.008603384718298912, 0.012900161556899548, -0.008235123939812183, 0.021982019767165184, 0.01260431669652462, 0.0225913617759943, -0.01580323651432991, 0.00812582764774561, -0.014881083741784096, 0.02790139429271221, 0.005624490790069103, 0.0063668061047792435, 0.023971902206540108, 0.021957213059067726, -0.032429929822683334, 0.017376882955431938, 0.068121999502182, 0.04323900490999222, -0.009069626219570637, 0.0037945860531181097, 0.03817783668637276, 0.038839682936668396, 0.05045115575194359, -0.018767889589071274, -0.03395441919565201, -0.04566718265414238, -0.005223788786679506, -0.006777693051844835, -0.03785219043493271, -0.01688176766037941, 0.05819207802414894, -0.00929630920290947, -0.040906112641096115, 0.041251908987760544, -0.04862167686223984, -0.0012228473788127303, -0.004565339535474777, -0.00987263210117817, -0.03513557091355324, -0.030947480350732803, 0.040207985788583755, 0.037304650992155075, -0.044012971222400665, -0.04969813674688339, 0.014265079982578754, 0.010108915157616138, 0.05153000354766846, 0.037870217114686966, 0.045249342918395996, -0.020374057814478874, 0.00858156755566597, 0.007575382944196463, 0.022690782323479652, -0.00412784144282341, -0.010353266261518002, 0.03320940583944321, 0.026935312896966934, 0.01269424706697464, -0.018407709896564484, -0.021096928045153618, -0.02014041319489479, 0.022818483412265778, 0.032110460102558136, -0.009548424743115902, -0.00497164623811841, 0.04286746308207512, 0.03447879105806351, 0.022559477016329765, 0.026862898841500282, -0.059635430574417114, 0.047403205186128616, -0.027653487399220467, -0.04120703414082527, 0.03182177618145943, -0.05076005309820175, 0.004590673837810755, -0.03799351677298546, 0.00619086716324091, -0.003089526668190956, 0.054770659655332565, 0.03404485061764717, 0.0005151887889951468, -0.054271399974823, -0.027494335547089577, -0.031168265268206596, 0.005134753417223692, 0.03987311199307442, -0.009439355693757534, -0.0431206189095974, 0.02531488612294197, 0.03196744993329048, -0.05073438584804535, -0.030264895409345627, -0.017768152058124542, 6.916670473691758e-33, 0.0026739630848169327, -0.0009034537361003458, -0.034219786524772644, -0.016212904825806618, -0.0012097927974537015, -0.024568410590291023, 0.06894993782043457, 0.013242150656878948, -0.023790325969457626, 0.03627709671854973, 0.02530066855251789, -0.017729779705405235, -0.013730150647461414, 0.02182353287935257, 0.08034583181142807, -0.0010574880288913846, -0.026698704808950424, 0.016925599426031113, 0.0024965351913124323, -0.042022451758384705, -0.04375142604112625, -0.017634427174925804, 0.0009524170309305191, 0.02247520349919796, -0.03399081900715828, 0.01587735302746296, -0.020460793748497963, -0.038015030324459076, -0.010209525004029274, 0.026105668395757675, -0.015660960227251053, 0.002835020422935486, 0.018116146326065063, -0.004483913071453571, 0.016015876084566116, 0.05307061970233917, 0.010859464295208454, -0.02205169014632702, 0.003529987297952175, -0.018552765250205994, 0.08534285426139832, 0.0658758282661438, 0.03827939182519913, 0.03863196820020676, 0.0015017240075394511, -0.02758987806737423, 0.018279725685715675, 0.05350031331181526, -0.01177133433520794, -0.007068833336234093, -0.02057412825524807, 0.015048674307763577, -0.014499216340482235, 0.0020492461044341326, 0.011724982410669327, -0.02272152341902256, -0.03813314437866211, 0.021716460585594177, -0.040598466992378235, 0.003176056547090411, -0.029573854058980942, -0.040421586483716965, -0.05303184688091278, 0.0333537831902504, -0.015135449357330799, 0.023928195238113403, -0.062496937811374664, -0.019470596686005592, -0.012787734158337116, 0.04716071859002113, -0.014109587296843529, -0.012251196429133415, -0.0007345093763433397, -0.009090951643884182, -0.036027926951646805, -0.028086863458156586, -0.029082726687192917, 0.007781509310007095, -0.038247525691986084, 0.04475247114896774, 0.035614144057035446, -0.01105722226202488, 0.04650505632162094, -0.010707923211157322, -0.018166132271289825, -0.0016391797689720988, 0.01389607135206461, 0.002739561488851905, -0.02577376551926136, -0.03680795058608055, 0.016829589381814003, -0.008129972964525223, -0.012665641494095325, 0.02566702477633953, 0.03218608349561691, -1.2730877685385167e-8, -0.04201776906847954, 0.007169126067310572, 0.02190263569355011, 0.03320930153131485, 0.012378226965665817, 0.03634873032569885, -0.030166909098625183, 0.002141257980838418, -0.0008435522904619575, 0.018575992435216904, 0.01469004712998867, -0.01675916649401188, 0.0032738642767071724, 0.005660880357027054, 0.01756785809993744, -0.006561124697327614, 0.0019265402806922793, -0.026915764436125755, 0.027402319014072418, -0.03207601606845856, 0.000038620346458628774, 0.033495087176561356, -0.0019115866161882877, -0.009388592094182968, -0.03278642147779465, 0.013041885569691658, -0.004189252853393555, -0.0799625962972641, 0.003970589488744736, 0.013287787325680256, 0.031016003340482712, -0.025561440736055374, -0.007512208539992571, 0.015197649598121643, -0.010460080578923225, -0.03635495901107788, -0.013130301609635353, 0.003625864163041115, 0.01662183180451393, -0.017519839107990265, -0.03766412287950516, 0.019447002559900284, -0.006340483203530312, -0.0295078307390213, 0.0056222272105515, -0.0003673396131489426, -0.047193508595228195, 0.02519884891808033, 0.049100615084171295, -0.05040270835161209, 0.030271707102656364, -0.02095901221036911, 0.04671359062194824, -0.00745482137426734, 0.08719190210103989, 0.016034996137022972, -0.02632438950240612, 0.004469131585210562, 0.021081136539578438, 0.02967461384832859, 0.02398320473730564, 0.019476434215903282, -0.02769920788705349, 0.003769796108826995 ]
pythonnumpy-selecting-values-by-multiple-indices
https://markhneedham.com/blog/2013/01/27/pythonnumpy-selecting-values-by-multiple-indices
false
2013-01-27 02:30:05
Python: (Conceptually) removing an item from a tuple
[ "python" ]
[ "Python" ]
As part of some code I've been playing around I wanted to remove an item from a tuple which wasn't particularly easy because Python's tuple data structure is immutable. I therefore needed to create a new tuple excluding the value which I wanted to remove. I ended up writing the following function to do this but I imagine there might be an easier way because it's quite verbose: [source,python] ---- def tuple_without(original_tuple, element_to_remove): new_tuple = [] for s in list(original_tuple): if not s == element_to_remove: new_tuple.append(s) return tuple(new_tuple) ---- Which can be used like so: [source,python] ---- >>> tuple_without((1,2,3,4), 1) (2, 3, 4) ---- [source,python] ---- >>> tuple_without((1,2,3,4), 0) (1, 2, 3, 4) ---- The easiest approach seemed to be to build up a list containing all the values and then convert it to a tuple by using the +++<cite>+++http://docs.python.org/2/library/functions.html#tuple[tuple]+++</cite>+++ function. It'd be cool if there was a way to transform a tuple like this but I couldn't find such a function in my travels.
null
null
[ 0.022081302478909492, -0.029400428757071495, -0.02511606179177761, 0.021900590509176254, 0.06104952469468117, 0.017412131652235985, -0.05099000781774521, 0.0017232330283150077, 0.00857615564018488, -0.02742944285273552, -0.02622288279235363, 0.0339394137263298, -0.08699528127908707, 0.053477223962545395, -0.01147589460015297, 0.055744729936122894, 0.06338720768690109, -0.03394695743918419, -0.030562443658709526, -0.01789315603673458, 0.020371537655591965, 0.038150835782289505, -0.014269382692873478, 0.018433747813105583, 0.015562270767986774, 0.02976367250084877, 0.009695630520582199, -0.007601126097142696, -0.021111147478222847, -0.013571756891906261, 0.04214191436767578, 0.016843950375914574, -0.03607013449072838, -0.02581821382045746, 0.024851445108652115, -0.02236776426434517, -0.018670476973056793, -0.019427595660090446, 0.001340578543022275, 0.02561839483678341, -0.056329745799303055, 0.03353617340326309, -0.01377884205430746, 0.02844337560236454, -0.04657480865716934, -0.00792687013745308, -0.01741434819996357, 0.005337153095752001, -0.048462845385074615, 0.002183427568525076, -0.04099301993846893, 0.02483581379055977, 0.008492685854434967, -0.04736754670739174, -0.014848414808511734, 0.0865136981010437, 0.016696618869900703, -0.07932990789413452, 0.030401160940527916, -0.031589966267347336, -0.027121035382151604, 0.011003107763826847, 0.014831683598458767, 0.04184715449810028, -0.014438272453844547, -0.05421312153339386, -0.00960322842001915, 0.03954263776540756, -0.0406043641269207, -0.005765440873801708, -0.009031818248331547, -0.03066800720989704, -0.060860756784677505, -0.011986101977527142, -0.0243686530739069, -0.01376323588192463, -0.04247795790433884, 0.0416313037276268, 0.004367591813206673, 0.07658284157514572, 0.02650076523423195, 0.026506904512643814, 0.0187162384390831, -0.01245233416557312, 0.0410611517727375, -0.011246581561863422, -0.06599405407905579, 0.02826598845422268, -0.04474405199289322, 0.0070611354894936085, 0.014361660927534103, -0.04900578036904335, 0.010691838338971138, -0.0053812358528375626, 0.016876766458153725, 0.0016352477250620723, -0.011398530565202236, -0.006256608292460442, 0.0009659722563810647, -0.007840285077691078, -0.04005832597613335, -0.019371038302779198, 0.01859525591135025, -0.049524396657943726, -0.061987001448869705, -0.027772072702646255, -0.03515861555933952, -0.013642078265547752, 0.022345196455717087, -0.022030478343367577, -0.03380134701728821, -0.008735242299735546, -0.019893808290362358, 0.013064220547676086, -0.08161243796348572, 0.029957927763462067, 0.017843304201960564, 0.000727843726053834, -0.02362332120537758, 0.027074258774518967, 0.03236035257577896, -0.02378549985587597, 0.012684906832873821, 0.06745215505361557, 0.04486030712723732, 0.013708144426345825, 0.02795611321926117, 0.09104391932487488, -0.014832011424005032, -0.07632926851511002, -0.0001317947608185932, 0.03871754929423332, -0.03311878815293312, -0.0274809617549181, -0.0363306887447834, -0.0031502374913543463, -0.05656389147043228, 0.0095979617908597, 0.03825746849179268, 0.025469187647104263, 0.0026514451019465923, 0.0060874479822814465, -0.0464499332010746, 0.0021374488715082407, 0.036841005086898804, -0.00967663899064064, -0.013219387270510197, 0.012160556390881538, 0.007601349614560604, 0.049756765365600586, 0.017932837828993797, 0.0380530059337616, 0.0431622713804245, -0.03697355091571808, 0.011924984864890575, 0.07319965958595276, 0.04477739706635475, 0.0453454814851284, -0.016178501769900322, -0.01591101661324501, 0.029513590037822723, 0.017634684219956398, 0.03161102533340454, 0.047895755618810654, 0.014145638793706894, 0.012446274049580097, 0.004907009191811085, 0.07833796739578247, 0.0015597790479660034, 0.006108345929533243, -0.0271906740963459, -0.04767225682735443, 0.029784999787807465, -0.040599413216114044, 0.024884600192308426, 0.01765727624297142, 0.06363991647958755, -0.012423449195921421, 0.04949192702770233, -0.0073066758923232555, -0.07112016528844833, 0.041695673018693924, 0.0014943663263693452, 0.033149704337120056, 0.02076655440032482, 0.0014946303563192487, 0.08401261270046234, 0.03731416538357735, 0.037963856011629105, -0.001138793770223856, -0.06035728380084038, -0.09449503570795059, -0.021616095677018166, 0.012426698580384254, 0.07837022095918655, -0.04105806723237038, -0.03947414085268974, 0.08057247847318649, -0.0052154818549752235, 0.032868485897779465, -0.008627611212432384, 0.001235355157405138, -0.011449102312326431, -0.04126013442873955, -0.04234854876995087, 0.024494599550962448, 0.013699008151888847, -0.03522573411464691, -0.021135201677680016, 0.02844574674963951, 0.016430338844656944, 0.02815619483590126, 0.019192436710000038, -0.02300228923559189, 0.0454273521900177, 0.038078926503658295, 0.02759394608438015, -0.033395882695913315, 0.04938260465860367, -0.07481488585472107, 0.033706583082675934, 0.013410724699497223, -0.006880538072437048, -0.03664166107773781, 0.03816905990242958, 0.13607749342918396, 0.05805584415793419, -0.01549369003623724, -0.026667315512895584, 0.005445151124149561, -0.02235272340476513, -0.019545869901776314, -0.009409365244209766, 0.020560111850500107, -0.004401815123856068, -0.0022233754862099886, 0.002562371315434575, -0.0033766168635338545, 0.015543912537395954, -0.05985211208462715, -0.03377821668982506, 0.08294767886400223, -0.031201127916574478, 0.03926699608564377, 0.04401528462767601, 0.006732798181474209, 0.004888828378170729, -0.014133534394204617, 0.012026958167552948, -0.010286237113177776, 0.02451210841536522, -0.0068876068107783794, 0.0610162727534771, -0.03783866763114929, -0.023526662960648537, -0.017355842515826225, -0.029386021196842194, -0.0018186792731285095, 0.054201047867536545, 0.035224925726652145, -0.0528404638171196, 0.04598847031593323, -0.027845684438943863, -0.02013225480914116, -0.041105758398771286, -0.06061025336384773, -0.03089783526957035, -0.0055205789394676685, 0.04365113750100136, 0.021933838725090027, -0.005420847330242395, -0.005385511554777622, -0.0017155880341306329, 0.009456555359065533, -0.017479941248893738, -0.005074603017419577, 0.024160228669643402, -0.02317655272781849, -0.043314043432474136, -0.029512152075767517, 0.00560274813324213, 0.009358355775475502, -0.030010651797056198, -0.06983912736177444, -0.03544706106185913, -0.03891981393098831, 0.05942345783114433, -0.04161559417843819, -0.06329719722270966, -0.02147761546075344, 0.04090670868754387, 0.0376591794192791, -0.035249218344688416, 0.0007345224148593843, 0.055116329342126846, 0.028603436425328255, -0.01059340126812458, 0.03644789755344391, 0.040408529341220856, -0.009424981661140919, -0.00020375868189148605, 0.008793911896646023, 0.03853950276970863, -0.00220991438254714, -0.020797815173864365, -0.042989544570446014, 0.018508411943912506, -0.003290151944383979, -0.25050631165504456, 0.03593799099326134, -0.005245631095021963, 0.011180679313838482, 0.01813737489283085, -0.01778325065970421, -0.024548277258872986, -0.03814121335744858, -0.0175638310611248, 0.0009040285367518663, -0.031598906964063644, -0.03172101825475693, -0.010549791157245636, 0.06743776798248291, 0.03467661142349243, 0.03921380266547203, 0.006653987802565098, 0.010509834624826908, -0.01874551735818386, 0.042335525155067444, 0.0026725674979388714, -0.052156150341033936, -0.0024766367860138416, 0.03954727202653885, 0.003923843149095774, 0.004927291534841061, -0.0636606514453888, 0.025835884734988213, -0.0912032425403595, -0.03180578723549843, -0.00013780799054075032, -0.019059985876083374, 0.019717440009117126, -0.03479680046439171, 0.004265422932803631, -0.013386526145040989, 0.016955755650997162, 0.03644546866416931, -0.0006010302458889782, 0.0495680496096611, -0.03567120060324669, -0.03676933795213699, 0.018404748290777206, -0.010406670160591602, 0.0856846496462822, -0.015449216589331627, -0.035207778215408325, -0.038347698748111725, -0.03649076074361801, 0.07884269952774048, -0.034283772110939026, -0.02897380292415619, -0.023404717445373535, 0.04844214767217636, 0.00961386226117611, 0.009199784137308598, -0.01315778587013483, -0.015735605731606483, -0.03985957056283951, -0.017985563725233078, 0.0002862100664060563, -0.0447806753218174, 0.01381100807338953, -0.03692274168133736, -0.012860218062996864, -0.03165809065103531, -0.07032956928014755, -0.00960287544876337, 0.04033837467432022, 0.04521751031279564, -0.02145853266119957, 0.0008295209263451397, -0.01307874545454979, -0.0758369192481041, -0.012059108354151249, -0.05115964636206627, -0.04210351034998894, -0.010125121101737022, -0.025448519736528397, 0.0307773370295763, -0.08475600183010101, -0.05666990205645561, 0.0451468788087368, 0.016978971660137177, 0.013157527893781662, -0.04178255796432495, 0.04526284709572792, -0.029418254271149635, -0.03478892892599106, -0.04352198541164398, 0.04275894910097122, 0.0035762593615800142, -0.0019326898036524653, 0.004366751294583082, -0.00045501571730710566, 0.03569639474153519, 0.05076346918940544, -0.004814084619283676, 0.04137243703007698, 0.0036997366696596146, 0.015023918822407722, -0.01802537590265274, 0.007222183048725128, -0.0077420491725206375, -0.012055248022079468, 0.028603598475456238, -0.02923942543566227, 0.0008246584911830723, 0.008096408098936081, -0.013672184199094772, -0.011110515333712101, -0.0009313934715464711, 0.006446560379117727, -0.023636814206838608, -0.03410916402935982, -0.007593036163598299, 0.023684032261371613, -0.015760431066155434, 0.0009485733462497592, -0.02364630624651909, -0.0513455867767334, 0.010537883266806602, -0.030942941084504128, -0.012364034540951252, -0.04132990911602974, -0.061472926288843155, -0.0026591350324451923, -0.001602134550921619, 0.011196485720574856, 0.02830505557358265, 0.010775890201330185, 0.037193939089775085, 0.02389889769256115, -0.008206537924706936, 0.05055970326066017, -0.018310105428099632, -0.01816408336162567, -0.02435329370200634, -0.06105415150523186, 0.0058180480264127254, 0.004439621232450008, -0.028832223266363144, -0.012347260490059853, 0.00236347783356905, 0.06356080621480942, 0.013356436975300312, 0.0176544189453125, 0.03039824776351452, -0.017106693238019943, 0.07484958320856094, 0.017058195546269417, -0.03891777992248535, -0.0005021599354222417, -0.05736558511853218, -0.019643817096948624, 0.008612321689724922, 0.05058157071471214, -0.012834377586841583, -0.005073882173746824, -0.03581082820892334, -0.021110979840159416, -0.01039839442819357, 0.009884628467261791, -0.03233020752668381, -0.014330931939184666, 0.024146441370248795, -0.03662074729800224, 0.03840396925806999, 0.0007961610099300742, 0.01458860095590353, 0.010668452829122543, 0.0224009957164526, -0.03411492705345154, 0.032398417592048645, -0.0075195906683802605, -0.05752229318022728, 0.038201168179512024, 0.04928714036941528, -0.020299095660448074, -0.006346560083329678, 0.006901035085320473, -0.030828939750790596, 0.028051195666193962, -0.0014438634971156716, 0.05689084902405739, 0.04627466946840286, -0.01155770942568779, -0.03679198399186134, -0.029798123985528946, -0.047753360122442245, -0.05383092910051346, -0.02232399396598339, -0.013348573818802834, 0.018522033467888832, 0.008810941129922867, -0.06506254523992538, 0.012685852125287056, 0.026511477306485176, -0.030819149687886238, 0.020029684528708458, -0.0016596632776781917, -0.029000194743275642, 0.005181240849196911, 0.03621666133403778, 0.031868934631347656, -0.042263928800821304, 0.000313745898893103, -0.0013664145953953266, 0.008260843344032764, 0.029703276231884956, 0.057017385959625244, -0.06110795959830284, -0.02156105823814869, -0.00909951888024807, -0.004828281234949827, 0.031343162059783936, -0.011319021694362164, 0.007538684643805027, 0.019876530393958092, -0.035026948899030685, 0.018552342429757118, -0.008621765300631523, 0.03687025234103203, -0.004243999253958464, -0.017951419577002525, 0.03938278183341026, -0.0242291446775198, -0.010129055008292198, 0.02975716069340706, -0.03047659806907177, 0.027302077040076256, -0.05838138610124588, 0.02849869430065155, 0.00045846772263757885, 0.018054058775305748, -0.03672147914767265, -0.0443907156586647, 0.009805258363485336, -0.02863357402384281, 0.060670897364616394, -0.0129587072879076, -0.002342900726944208, -0.06101563572883606, -0.01530107855796814, -0.06737987697124481, -0.020093291997909546, -0.0055201067589223385, -0.003127223812043667, 0.013302191160619259, 0.06728250533342361, 0.031190043315291405, 0.021509725600481033, -0.02067594788968563, -0.044879522174596786, 0.0658787339925766, -0.04463464394211769, -0.024616654962301254, -0.029873572289943695, -0.019922958686947823, 0.036952339112758636, 0.03338294476270676, 0.04517780989408493, -0.037112023681402206, 0.009833664633333683, 0.04580582305788994, 0.015040379948914051, 0.033413227647542953, -0.01395419891923666, 0.010058245621621609, 0.0009124178322963417, 0.03528923913836479, -0.08004352450370789, -0.015746522694826126, 0.045980677008628845, 0.015775952488183975, -0.02483968995511532, -0.030088428407907486, -0.021431902423501015, 0.02221112698316574, -0.06208237633109093, -0.01907479204237461, 0.059454407542943954, 0.03822005167603493, 0.0326896533370018, 0.0006459946162067354, -0.010527637787163258, 0.031660694628953934, 0.045500967651605606, -0.01723669469356537, 0.01311709824949503, -0.02792634628713131, 0.060637954622507095, 0.014535565860569477, 0.010359064675867558, 0.028173202648758888, 0.015335671603679657, 0.031678952276706696, 0.03633180633187294, 0.03065391071140766, 0.04279302805662155, -0.007079813629388809, 0.014426778070628643, 0.02678558975458145, -0.028302257880568504, -0.004736870527267456, 0.04788593947887421, -0.001040256698615849, -0.040581800043582916, 0.02623242326080799, -0.006878247018903494, -0.0037162168882787228, -0.046744100749492645, 0.08601880818605423, -0.0002971050562337041, -0.03308861702680588, -0.06471824645996094, 0.009765928611159325, -0.05743676796555519, -0.006797168869525194, -0.016228340566158295, -0.06733331084251404, -0.04998115077614784, 0.06357711553573608, -0.036210812628269196, -0.004643699154257774, 0.050596050918102264, -0.00022783313761465251, 0.010133441537618637, -0.0038971188478171825, 0.04318741708993912, 0.08506887406110764, 0.043954502791166306, -0.014380339533090591, 0.005885216873139143, 0.005223375745117664, -0.03527447208762169, 0.015251022763550282, -0.041009947657585144, 0.003611080115661025, -0.003626660443842411, 0.05669359490275383, 0.06429095566272736, -0.023170819506049156, 0.042932987213134766, 0.018242867663502693, 0.011357364244759083, -0.014178474433720112, 0.006554151885211468, 0.015634631738066673, 0.06909887492656708, 0.03455916792154312, 0.03197897598147392, 0.0006417469121515751, -0.053957708179950714, 0.051050763577222824, 0.0021614094730466604, -0.01415410079061985, 0.03386422619223595, 0.004421682097017765, 0.011428571306169033, 0.07602810114622116, 0.04143891856074333, 0.09472746402025223, -0.009871930815279484, -0.027850598096847534, 0.008577343076467514, 0.034425508230924606, -0.024085599929094315, 0.007004732731729746, 0.03191464766860008, -0.02619818225502968, 0.029778117313981056, -0.05205670744180679, -0.012217814102768898, -0.023443514481186867, -0.016056030988693237, 0.039534926414489746, -0.007040181662887335, -0.04119054228067398, 0.012871515937149525, 0.005711369216442108, -0.06616220623254776, -0.04239670932292938, -0.06054488942027092, -0.05792318284511566, -0.09461678564548492, -0.010071811266243458, 0.01892467588186264, 0.0004944190732203424, -0.046921439468860626, -0.035852473229169846, -0.04031240940093994, -0.004410786088556051, 0.024214258417487144, -0.016078587621450424, -0.04497445002198219, 0.01109459437429905, 0.032700467854738235, 0.010790368542075157, 0.009360465221107006, 0.021275393664836884, 0.002606402151286602, -0.02622193843126297, 0.005179818719625473, -0.025193385779857635, 0.04294901713728905, 0.04891294240951538, 0.028457803651690483, -0.0612465962767601, 0.014548016712069511, 0.02375251241028309, 0.02126302197575569, -0.08780953288078308, 0.003057406982406974, 0.023523058742284775, 0.02046523429453373, 0.05043097585439682, -0.010741567239165306, -0.03154310584068298, -0.03823243826627731, 0.005744728725403547, 0.030415724962949753, -0.014239462092518806, 0.06926115602254868, -0.03716903552412987, 0.058585211634635925, 0.022038917988538742, -0.007040421012789011, -0.02613741159439087, -0.010435747914016247, -0.038858309388160706, 0.03098432347178459, -0.07356156408786774, -0.06044284254312515, -0.03655727207660675, -0.02218535542488098, -0.018384085968136787, 0.004028778523206711, -0.04132939875125885, -0.026218898594379425, 0.026218317449092865, 0.030133569613099098, -0.06176278740167618, 0.040226832032203674, -0.0416678711771965, 0.02316073141992092, -0.03869997709989548, -0.003659317269921303, -0.020237108692526817, 0.04995139688253403, 0.005700258072465658, 0.03593096137046814, 0.04282739758491516, -0.009070643223822117, 0.009313058108091354, -0.06155453994870186, -0.002105655847117305, 0.019306804984807968, -0.02459464967250824, 0.08533194661140442 ]
[ -0.08472247421741486, -0.01886535808444023, -0.0001529526198282838, 0.002236380474641919, 0.03858530893921852, -0.07216212898492813, 0.007493143435567617, 0.05051074177026749, 0.027322666719555855, 0.008103513158857822, 0.0032363610807806253, -0.07156873494386673, 0.010037664324045181, -0.03758891299366951, 0.06115118786692619, -0.017161238938570023, -0.03256841376423836, -0.017727971076965332, -0.07396142929792404, 0.00044400026672519743, 0.049687955528497696, -0.04834999144077301, -0.08192766457796097, -0.029498182237148285, 0.055806275457143784, 0.05193145200610161, -0.0035565104335546494, -0.02836781181395054, 0.0021752016618847847, -0.20425863564014435, 0.027123387902975082, -0.0075397370383143425, -0.005119789857417345, -0.022930381819605827, 0.029561709612607956, 0.04688190668821335, 0.025013918057084084, 0.03647272661328316, -0.02421051450073719, 0.07829023152589798, 0.04785630479454994, 0.03363533318042755, -0.0567474290728569, -0.021693222224712372, 0.008183472789824009, 0.038951173424720764, -0.003988754004240036, -0.04650779813528061, 0.026183076202869415, 0.008867618627846241, -0.036973461508750916, 0.009788059629499912, -0.0530218780040741, -0.018233653157949448, 0.010442408733069897, -0.00001792723014659714, 0.06330030411481857, 0.0598653107881546, 0.008086315356194973, 0.03221559897065163, 0.034685540944337845, -0.01967650279402733, -0.08897674828767776, 0.08194123953580856, 0.02012544684112072, 0.080389603972435, -0.0242039542645216, -0.042001232504844666, -0.00697343610227108, 0.0948050245642662, -0.0061553712002933025, -0.04153388366103172, -0.016312098130583763, 0.09687509387731552, 0.026869002729654312, -0.046885572373867035, -0.01631198823451996, -0.006667515262961388, 0.02466135285794735, -0.00360430427826941, -0.06850064545869827, -0.02089522033929825, -0.015172330662608147, -0.005640890449285507, -0.02726489119231701, -0.002410333137959242, -0.027935484424233437, 0.03849206119775772, 0.02278817631304264, -0.009070846252143383, 0.05234694853425026, 0.0010083102388307452, 0.01795894093811512, 0.039372753351926804, -0.033070389181375504, 0.00005712076017516665, 0.012054458260536194, -0.0005983065930195153, -0.033076610416173935, 0.36501559615135193, -0.05127720534801483, 0.013247465714812279, 0.015090842731297016, 0.006493557244539261, 0.013055403716862202, 0.007076319307088852, -0.009949981234967709, -0.04026246443390846, -0.03794302046298981, -0.04242432117462158, -0.0012760953977704048, -0.041274651885032654, 0.047427985817193985, -0.059631410986185074, 0.011752958409488201, 0.04768316447734833, 0.024376511573791504, 0.006250255741178989, 0.013662677258253098, 0.022422023117542267, -0.03801346570253372, -0.010574872605502605, 0.040313590317964554, 0.007492552977055311, -0.012976547703146935, 0.06795767694711685, 0.024146204814314842, 0.09062965214252472, 0.02184102311730385, 0.050764065235853195, 0.04040137305855751, -0.08615339547395706, -0.06937188655138016, 0.010274121537804604, 0.005462936125695705, 0.010784344747662544, 0.01581566222012043, -0.04866812005639076, 0.01554921269416809, 0.007364301476627588, 0.012586867436766624, -0.0686160996556282, -0.0013564323307946324, 0.020700369030237198, 0.014582362957298756, 0.11498496681451797, -0.020912501960992813, -0.050820641219615936, -0.05503097176551819, -0.0186346173286438, -0.053533006459474564, 0.011999601498246193, -0.007545389700680971, -0.05549173429608345, 0.005765341687947512, 0.039262644946575165, 0.06295166909694672, 0.017345106229186058, -0.05321049317717552, -0.00945446826517582, -0.0767114982008934, -0.05976389721035957, -0.04364437609910965, 0.036098409444093704, 0.029491540044546127, -0.07213892042636871, 0.013211133889853954, 0.002856087638065219, -0.0009925422491505742, -0.05246099457144737, 0.01397833600640297, 0.01422110665589571, -0.07392336428165436, -0.0058004711754620075, 0.06824887543916702, -0.021661121398210526, -0.029948586598038673, -0.02241271547973156, 0.08202143013477325, 0.011766018345952034, -0.0025774487294256687, 0.006518426816910505, -0.07252607494592667, -0.009384526871144772, -0.039190419018268585, -0.07642463594675064, -0.04668924957513809, 0.034545138478279114, 0.006735377013683319, 0.009545314125716686, -0.002074027433991432, -0.016159912571310997, -0.0670776516199112, 0.004858915228396654, -0.05256429314613342, -0.011626309715211391, 0.019319014623761177, 0.004244980402290821, -0.02302791178226471, 0.018636509776115417, -0.011289387010037899, 0.043127331882715225, 0.00026866240659728646, 0.016655178740620613, -0.06683191657066345, 0.025438807904720306, 0.06806918978691101, -0.04996565356850624, 0.04953617602586746, 0.05795148387551308, 0.020665224641561508, -0.029494477435946465, -0.02924395352602005, -0.005537248682230711, -0.00034920262987725437, -0.08384683728218079, 0.006402846425771713, -0.023709600791335106, 0.010356445796787739, 0.0029127392917871475, -0.034132882952690125, -0.0984022319316864, -0.014583505690097809, -0.3339930474758148, -0.033127978444099426, 0.010722476057708263, -0.023364674299955368, 0.040077339857816696, -0.10829214751720428, -0.02881966345012188, -0.03833238407969475, -0.05781884863972664, 0.018766675144433975, 0.05435704067349434, -0.04899536818265915, -0.005882263649255037, -0.01298455335199833, -0.0064381761476397514, 0.02339288778603077, -0.04150167480111122, -0.054055243730545044, -0.03276783600449562, 0.029956573620438576, -0.023504456505179405, 0.0005061933770775795, 0.03912576660513878, -0.053681135177612305, -0.02560584805905819, -0.028755545616149902, 0.14877048134803772, 0.012527980841696262, 0.0913381427526474, -0.03221821039915085, 0.007041685748845339, -0.00018450920470058918, -0.01598316617310047, -0.036703843623399734, -0.04561549052596092, -0.00007146366988308728, -0.053916167467832565, 0.019429903477430344, 0.02791832946240902, -0.020735276862978935, -0.018917346373200417, 0.02100146748125553, -0.029634015634655952, -0.05354341119527817, 0.015223381109535694, 0.040947649627923965, -0.007022880017757416, -0.011088240891695023, 0.03159400448203087, 0.12728498876094818, 0.039207082241773605, 0.03939347341656685, 0.01398989837616682, 0.03599337860941887, 0.026611249893903732, -0.01604168862104416, -0.06371983140707016, -0.006705213338136673, 0.0057852305471897125, -0.008295868523418903, -0.00631945813074708, 0.04000794142484665, 0.04479452967643738, -0.05396074056625366, -0.02641892246901989, 0.02805805206298828, 0.03226156160235405, 0.01349307969212532, 0.022135350853204727, -0.030104735866189003, -0.013174888677895069, 0.09384357184171677, 0.034000687301158905, -0.014256813563406467, -0.029332149773836136, 0.08858586102724075, -0.03267481550574303, 0.055684011429548264, 0.03585882484912872, -0.019215267151594162, -0.003474242752417922, 0.009586624801158905, 0.02279621548950672, -0.004832760896533728, -0.015680775046348572, 0.01624958962202072, -0.025674613192677498, -0.002297090832144022, 0.06290849298238754, -0.005139277316629887, 0.003345816396176815, -0.022067246958613396, 0.013914471492171288, 0.012382526881992817, 0.08187425881624222, -0.03120807185769081, -0.2508848309516907, 0.003673262195661664, 0.05222513899207115, 0.026709791272878647, 0.027671843767166138, 0.06399163603782654, 0.019404230639338493, -0.005603633355349302, -0.021339889615774155, -0.021712133660912514, -0.024190962314605713, 0.01605064608156681, 0.0007207703310996294, -0.019826708361506462, 0.022774361073970795, -0.004105021245777607, 0.08217358589172363, 0.003760373219847679, 0.025400938466191292, 0.08717662841081619, 0.05171271041035652, -0.020592857152223587, 0.18804730474948883, 0.007730853743851185, 0.0399947464466095, -0.012941251508891582, -0.01949109323322773, -0.006249662023037672, 0.07566768676042557, 0.020597020164132118, 0.020487621426582336, 0.020827537402510643, 0.04853735864162445, -0.025593426078557968, 0.037389952689409256, -0.03146195411682129, -0.009251142852008343, 0.04654784873127937, 0.004975843708962202, -0.04437313601374626, -0.032917194068431854, 0.010076568461954594, -0.05760961398482323, -0.014269610866904259, 0.09287755191326141, 0.02498522773385048, 0.013969901017844677, -0.05811164155602455, -0.047735411673784256, 0.006148966494947672, -0.022520020604133606, 0.00012144534412072971, -0.016127077862620354, 0.0075933379121124744, 0.037653349339962006, 0.06239961087703705, 0.020560594275593758, 0.003763477550819516, 0.012691241689026356, 0.008238552138209343, -0.02439088001847267, -0.053581222891807556, 0.10043802857398987, 0.03020407259464264, -0.0048278081230819225 ]
[ -0.011605765670537949, 0.025052977725863457, -0.007704937364906073, 0.010951480828225613, 0.03389914333820343, -0.02829412929713726, -0.003720575710758567, -0.029321214184165, -0.03376614302396774, -0.041703082621097565, -0.04148106276988983, 0.03319765627384186, 0.04075779765844345, -0.06005237251520157, 0.013720526359975338, 0.018664315342903137, -0.00879746489226818, 0.003662900533527136, 0.041612591594457626, -0.07408202439546585, -0.061887383460998535, 0.05048111081123352, -0.0052550844848155975, 0.023131396621465683, 0.042464133352041245, -0.03385777026414871, -0.05031552538275719, 0.0003446468326728791, -0.01898016966879368, -0.11436368525028229, -0.0343712717294693, -0.018721917644143105, 0.02161368541419506, -0.021241115406155586, 0.00616056565195322, 0.023420026525855064, -0.019158974289894104, 0.029698478057980537, -0.00990416668355465, 0.008651262149214745, 0.00398276699706912, 0.010853257961571217, -0.01447009015828371, -0.006068899296224117, -0.03177166357636452, 0.011895238421857357, -0.013142463751137257, -0.000042380226659588516, -0.0065160151571035385, -0.004499316681176424, -0.01856101118028164, 0.03536037728190422, -0.034250833094120026, -0.005745444912463427, 0.0038612536154687405, -0.028469929471611977, 0.008519269526004791, -0.05698476359248161, -0.017368106171488762, -0.04925094544887543, 0.00037764140870422125, -0.017393099144101143, -0.04730523005127907, -0.012693692930042744, -0.006950447801500559, -0.039972253143787384, -0.009428068064153194, 0.010857837274670601, 0.025120871141552925, 0.035150196403265, 0.02207343652844429, 0.002846623072400689, -0.046226002275943756, -0.010633144527673721, 0.03352782875299454, 0.0017335825832560658, 0.04597627371549606, -0.06578237563371658, -0.006295451894402504, 0.03519133850932121, -0.04671454057097435, 0.026317212730646133, -0.014757721684873104, 0.005518145393580198, 0.02032868191599846, -0.08051896840333939, -0.017223183065652847, 0.005872146692126989, -0.027044732123613358, 0.02188759669661522, -0.024116409942507744, 0.0015034805983304977, 0.031087955459952354, -0.017681444063782692, -0.055906713008880615, 0.0013700340641662478, 0.023555781692266464, -0.035725753754377365, -0.02282070368528366, 0.8034210205078125, 0.02972293458878994, 0.06310275197029114, 0.03502669557929039, 0.0006735970382578671, 0.019361574202775955, 0.02289450727403164, -0.02750897780060768, -0.05226094648241997, -0.03724122419953346, -0.01545456238090992, 0.036969125270843506, -0.04428553581237793, 0.05939917638897896, 0.0009277504286728799, 0.04072626680135727, 0.04251376539468765, -0.018459055572748184, -0.0014228853397071362, 0.008927381597459316, 0.015696244314312935, 0.03182017058134079, -0.022977229207754135, 0.036679819226264954, 0.01140450220555067, -0.007126611657440662, -0.1306428164243698, -0.011496679857373238, -6.898207865544155e-33, 0.02080748789012432, -0.002564342925325036, 0.02975601516664028, -0.0075450316071510315, 0.06008123606443405, 0.012978875078260899, -0.01168515719473362, 0.015669159591197968, -0.047730669379234314, -0.010430799797177315, -0.02395559847354889, 0.012890225276350975, 0.02152337320148945, 0.006457673851400614, 0.03139331191778183, -0.0006621914799325168, -0.011737526394426823, 0.050445232540369034, 0.010316740721464157, -0.007144829723984003, -0.0034532290883362293, 0.01523499097675085, -0.03363635018467903, 0.059799931943416595, -0.001224434352479875, -0.028964519500732422, -0.018040502443909645, 0.007821336388587952, -0.01772390678524971, -0.0464954636991024, -0.055963125079870224, 0.08387570083141327, 0.007242192048579454, -0.009510356932878494, 0.013447587378323078, -0.017999576404690742, -0.0007305500330403447, -0.01175803691148758, 0.00592077849432826, -0.018457144498825073, 0.010502761229872704, 0.054152440279722214, -0.004355839919298887, -0.030546024441719055, -0.04421566426753998, 0.009046448394656181, 0.003169579431414604, 0.03144020959734917, 0.027895359322428703, 0.04429271072149277, 0.02627750299870968, -0.012994837015867233, 0.013459033332765102, -0.0037686116993427277, -0.007792451418936253, -0.02197997085750103, -0.015452731400728226, -0.004227826837450266, 0.027923185378313065, -0.0017323328647762537, 0.0011823740787804127, 0.009986745193600655, 0.031398285180330276, 0.03222551941871643, 0.009349139407277107, 0.01116557139903307, 0.04595649614930153, 0.03251425549387932, 0.027458224445581436, -0.016230586916208267, -0.04588739573955536, 0.05269119143486023, -0.025267722085118294, -0.03437685966491699, 0.04784155637025833, -0.042457759380340576, -0.0013651845511049032, -0.06706024706363678, -0.02751544862985611, 0.032907113432884216, 0.013170304708182812, -0.0003121047921013087, -0.01097564585506916, -0.004840193782001734, 0.011353295296430588, -0.04350144416093826, 0.013787683099508286, 0.04828955605626106, 0.012128323316574097, -0.020963067188858986, 0.01801065355539322, 0.010919691063463688, -0.00641692103818059, -0.03247345611453056, -0.014584841206669807, 6.972967102204545e-33, -0.0002402716490905732, -0.031168196350336075, 0.0027827988378703594, -0.0033487631008028984, -0.039245039224624634, -0.0329267680644989, 0.019875312224030495, 0.03186090663075447, -0.003213406540453434, 0.04852580279111862, 0.034870684146881104, -0.041666179895401, 0.020859193056821823, -0.026505645364522934, 0.05299445241689682, -0.02091326005756855, -0.02228523977100849, 0.0012617158936336637, -0.01793784648180008, 0.002500375034287572, -0.04576072469353676, -0.019841549918055534, 0.03950154036283493, 0.007094660773873329, -0.01972414180636406, 0.04317699000239372, -0.03263695910573006, -0.03333142772316933, 0.01878167875111103, -0.00814754143357277, -0.0037365888711065054, 0.005837174132466316, 0.0073718721978366375, 0.021903999149799347, -0.025742672383785248, 0.048072729259729385, 0.005626671016216278, -0.004958325065672398, 0.022229092195630074, -0.00006340793333947659, 0.06319847702980042, 0.062493614852428436, 0.022279994562268257, 0.0262258630245924, 0.00277338526211679, -0.01897091045975685, 0.006151869427412748, 0.02822977490723133, -0.0025602090172469616, -0.023080449551343918, -0.0011234765406697989, 0.022110799327492714, -0.019688691943883896, 0.011254879646003246, 0.05603494122624397, -0.010224581696093082, -0.013482147827744484, 0.00416596932336688, -0.04039286449551582, -0.02322671003639698, -0.023078883066773415, 0.024163544178009033, -0.04704086482524872, -0.001608236925676465, -0.045029327273368835, 0.010767080821096897, -0.06655674427747726, 0.033270686864852905, -0.023709125816822052, 0.006357333157211542, -0.028339635580778122, 0.008959113620221615, 0.0175628699362278, 0.007443603128194809, -0.0019976762123405933, 0.014271044172346592, -0.02977411262691021, 0.048681993037462234, -0.01666353829205036, 0.038867220282554626, 0.025707116350531578, -0.035585008561611176, 0.011945422738790512, 0.0021226985845714808, -0.03781227767467499, -0.035042352974414825, -0.0256195031106472, 0.03747985512018204, 0.040590543299913406, 0.025776848196983337, -0.008613788522779942, -0.01807984709739685, -0.03512098640203476, 0.07062886655330658, 0.0247070100158453, -1.2562864526444173e-8, -0.03463448956608772, 0.005007104016840458, 0.003698852378875017, 0.00965408980846405, -0.012909067794680595, 0.03747059032320976, 0.010945560410618782, 0.01247256901115179, 0.0078435642644763, -0.009327816776931286, 0.0015127111691981554, 0.004906618967652321, -0.008700509555637836, -0.02963833138346672, 0.050207529217004776, 0.04513367637991905, 0.0038545450661331415, -0.012114843353629112, 0.040396492928266525, 0.00815783441066742, -0.0027757566422224045, 0.02396111749112606, -0.01596785895526409, 0.021453000605106354, -0.02540675178170204, 0.03096170350909233, 0.005884792190045118, -0.09322074055671692, 0.012496774084866047, -0.013966213911771774, 0.025946279987692833, -0.07016661018133163, -0.022656461223959923, 0.01667180471122265, 0.0052560921758413315, -0.04935332387685776, 0.004011110402643681, -0.013276226818561554, 0.02552693709731102, 0.019124511629343033, -0.023203622549772263, -0.010704436339437962, -0.06940285861492157, -0.03694772720336914, -0.022401731461286545, -0.02213766984641552, -0.03492957726120949, 0.01867925375699997, -0.014632763341069221, -0.019075309857726097, -0.008228431455790997, -0.03245275840163231, 0.05102580040693283, -0.013207405805587769, 0.05190782621502876, 0.0394291989505291, 0.024215376004576683, 0.00280860997736454, -0.019722651690244675, -0.01563015766441822, 0.011991076171398163, 0.026937680318951607, -0.011855609714984894, 0.004495726432651281 ]
python-conceptually-removing-an-item-from-a-tuple
https://markhneedham.com/blog/2013/01/27/python-conceptually-removing-an-item-from-a-tuple
false
2013-01-27 13:27:32
A/B Testing: Thoughts so far
[ "software-development", "absplittesting" ]
[ "Software Development" ]
I've been working at http://www.uswitch.com/[uSwitch] for about two months now and for the majority of that time have been working on an A/B test we were running to try and make it easier for users to go through the energy comparison process. I found the 'http://www.exp-platform.com/Documents/GuideControlledExperiments.pdf[Practical Guide to Controlled Experiments on the Web]' paper useful for explaining how to go about doing an A/B test and there's also http://mcfunley.com/design-for-continuous-experimentation[an interesting presentation by Dan McKinley] about how http://www.etsy.com/[etsy] do A/B testing. I've previously read about A/B tests which changed the page for users on the client side using tools like http://analytics.blogspot.co.uk/2012/06/helping-to-create-better-websites.html[Google Website Optimiser] but since we had made significant changes to the journey we split users on the server side. == Reporting Before we started running our test we needed to work out how we were measuring conversion and how we would get the data to allow us to calculate that. We decided to measure the number of people who started a comparison against the number of those who reached the thank you page and only included those who had an active session from the time we started the experiment. We were already recording the pages users were hitting so it wasn't difficult to write a query to derive the conversion rate. Unfortunately it was taking us a couple of hours to run other queries about the experiment because we had mixed together data about users' sessions and the experiment. The data therefore wasn't optimised for the types of queries we wanted to run. One of our next tasks is to +++<strong>+++split these concerns +++</strong>+++to make our lives a bit easier. == Conversion rate and time I learnt that *people don't necessarily finish a transaction in one sitting* so the conversion rate at the beginning of the experiment isn't representative. We saw it level out after a couple of weeks once we'd gone through a full 'season'. A season is a time period which cover all the days of the week and take into account the average amount of time that people take to go end to end in the process. We've worked out the amount of time that we need to run the test to unequivocally say that the control or experiment has fared better but there is a tendency to kill off the experiment if it's doing significantly worse. I still need to learn when you should stick with it and when it's best to kill it off. == Cognitive biases Although we were http://www.r-tutor.com/elementary-statistics/hypothesis-testing/two-tailed-test-population-proportion[using a hypothesis test] to determine whether the control or experiment was doing better some http://en.wikipedia.org/wiki/Cognitive_bias[cognitive biases] tried to creep in. When we started the experiment most people were fairly convinced that the experiment was going to fare better and so we http://en.wikipedia.org/wiki/Confirmation_bias[really wanted that to happen] and would look for the positives in how it was doing. As with the first example in the etsy talk there was quite a big difference between the two versions and as a result we'd spent a few weeks coding up the experiment and http://en.wikipedia.org/wiki/Sunk_costs#Loss_aversion_and_the_sunk_cost_fallacy[didn't want that work to feel wasted]. == What but not why From the data we could easily see what the users behaviour was but it was much more difficult to understand why that was the case even after drilling down into the data. I hadn't realised that http://en.wikipedia.org/wiki/Usability_testing[user testing] fills this gap quite well because people vocalise what they're thinking when going through the journey and you get an explanation about what other users might be doing as well. One of the suggestions from the etsy talk is to try and make your hypotheses smaller so that you can run *smaller tests with less variables* and therefore have more chance of explaining what's going on. I find this type of stuff fascinating so if anyone has some good papers/articles/blogs where others have written about their experiences I'd love to hear about them. These are some other posts that I've come across: * http://www.cennydd.co.uk/2009/statistical-significance-other-ab-test-pitfalls/[Statistical significance & other A/B test pitfalls] * http://37signals.com/svn/posts/1525-writing-decisions-headline-tests-on-the-highrise-signup-page[Writing Decisions: Headline tests on the Highrise signup page] * http://kylerush.net/blog/optimization-at-the-obama-campaign-ab-testing/[Optimization at the Obama campaign: a/b testing]
null
null
[ 0.031789377331733704, -0.008107325993478298, 0.005487962160259485, 0.05363147705793381, 0.0850629135966301, 0.006253775209188461, 0.02863655984401703, 0.04859500750899315, 0.03917495161294937, -0.00823968555778265, -0.00007635055953869596, 0.004319303203374147, -0.056974392384290695, 0.014466830529272556, -0.03226823732256889, 0.06972632557153702, 0.05775688588619232, 0.000467064295662567, 0.04040137305855751, -0.00030289884307421744, 0.02899654023349285, 0.057432498782873154, 0.03239232301712036, 0.039739225059747696, 0.048194583505392075, 0.002002547262236476, 0.015705250203609467, -0.01703195832669735, -0.061294473707675934, 0.003751218318939209, 0.03630154952406883, -0.006726016756147146, 0.0014417838538065553, 0.004172457382082939, 0.027809640392661095, -0.012201397679746151, -0.020783664658665657, 0.010060133412480354, -0.0036454324144870043, -0.002833950100466609, -0.09411676973104477, 0.048354245722293854, -0.014452915638685226, 0.017611782997846603, -0.03435841202735901, -0.00513738626614213, -0.01610609143972397, 0.007827449589967728, 0.00582065200433135, 0.005560821853578091, -0.08658259361982346, 0.04334314912557602, 0.00804072991013527, 0.01620553620159626, -0.023957068100571632, 0.05521846190094948, 0.01659238338470459, -0.04603351280093193, 0.011348893865942955, -0.04314989224076271, 0.01896241120994091, -0.0059150573797523975, 0.004506929311901331, 0.027856046333909035, 0.033010561019182205, -0.03836551308631897, 0.008327355608344078, 0.039146147668361664, -0.014776872470974922, 0.012034283019602299, -0.009240557439625263, -0.0009081528405658901, -0.019110942259430885, 0.0030310770962387323, 0.02980407513678074, -0.033806536346673965, -0.01181813608855009, 0.05011459067463875, 0.012987333349883556, 0.04531332850456238, -0.015788255259394646, 0.02392275258898735, 0.010121522471308708, 0.031923018395900726, -0.010738224722445011, -0.055224474519491196, -0.02442500926554203, -0.020572511479258537, -0.06167406216263771, 0.08502508699893951, 0.017882760614156723, -0.05345388129353523, 0.03974759951233864, 0.03499268367886543, -0.013459396548569202, 0.001006733044050634, 0.04049220308661461, -0.02178867720067501, -0.019184885546565056, -0.03454648330807686, -0.015226331539452076, -0.008959248661994934, 0.0196242555975914, 0.027971046045422554, -0.07052109390497208, 0.007533431053161621, -0.027106914669275284, -0.035941969603300095, 0.024242663756012917, 0.01900738663971424, -0.03340364620089531, 0.03251069039106369, -0.032235536724328995, 0.021404163911938667, -0.08482059091329575, 0.08378305286169052, 0.0262110847979784, -0.049950554966926575, -0.014161201193928719, 0.011864169500768185, 0.05146695300936699, 0.0266555342823267, -0.01338182669132948, 0.05323661491274834, 0.0033530539367347956, 0.022801561281085014, -0.0036267852410674095, 0.04896619915962219, -0.011649916879832745, -0.05359429866075516, 0.0006134877912700176, 0.04987388476729393, -0.022215882316231728, -0.010716437362134457, -0.007629778701812029, -0.04512286186218262, 0.022581160068511963, 0.002768763108178973, 0.06436959654092789, 0.04028111323714256, 0.004520260728895664, -0.04319475591182709, 0.01830526441335678, 0.003752963151782751, 0.021846959367394447, -0.012764056213200092, -0.0006940281018614769, -0.02969430387020111, -0.05353130027651787, -0.008922399953007698, 0.005006426479667425, -0.012953819707036018, 0.01693272963166237, -0.030904313549399376, 0.015901992097496986, 0.07602226734161377, 0.018360497429966927, -0.005617979913949966, -0.022447895258665085, 0.01445591077208519, 0.028742583468556404, 0.0365523025393486, 0.017825301736593246, 0.022633904591202736, 0.0009987857192754745, -0.004019421525299549, -0.004700617864727974, 0.05852164700627327, -0.023154430091381073, -0.005765735637396574, -0.05930459499359131, -0.030073238536715508, 0.06219002977013588, -0.0575224906206131, -0.020285366103053093, 0.07766962796449661, 0.07798819243907928, 0.030958862975239754, 0.021077942103147507, 0.015745751559734344, -0.07968876510858536, 0.047932326793670654, 0.025031432509422302, 0.028323091566562653, 0.03280971944332123, -0.03469718247652054, 0.07255078107118607, 0.036417409777641296, 0.02114880643785, 0.04230204224586487, -0.06886350363492966, -0.08421791344881058, -0.02641834318637848, -0.013586290180683136, 0.04574507847428322, -0.03704646974802017, 0.02191646583378315, 0.08097152411937714, 0.007001023273915052, 0.02707715518772602, 0.011649498715996742, 0.003829832887277007, 0.023917365819215775, -0.04810286685824394, -0.054999154061079025, 0.040742166340351105, 0.03506051003932953, -0.013969850726425648, -0.02752736769616604, 0.0037833540700376034, -0.028000328689813614, -0.014051913283765316, 0.03431127965450287, -0.012030684389173985, 0.015447829850018024, 0.01440113503485918, 0.05103304982185364, -0.012851902283728123, 0.06078507378697395, -0.042523980140686035, 0.04704010859131813, 0.03422273322939873, -0.01713523454964161, -0.01082908920943737, -0.0002951722126454115, 0.131205216050148, 0.06377477198839188, -0.04416682943701744, -0.038537319749593735, 0.03318996727466583, 0.00802052952349186, -0.04980647936463356, 0.012263723649084568, -0.016363950446248055, 0.013415371999144554, 0.013849616050720215, -0.06304361671209335, -0.026936136186122894, 0.03397779166698456, -0.05147166922688484, 0.01813814789056778, 0.05574638396501541, -0.010005186311900616, 0.07523610442876816, 0.0036336546763777733, -0.008049465715885162, -0.014087080955505371, 0.0012212394503876567, -0.06574731320142746, 0.011465598829090595, 0.008623447269201279, 0.0027208449319005013, 0.045203085988759995, -0.013002544641494751, -0.010707887820899487, -0.044213443994522095, -0.041988804936409, 0.03445969521999359, 0.052148621529340744, 0.08133306354284286, 0.007745322305709124, 0.05098375678062439, 0.01272529922425747, 0.026298336684703827, 0.016707606613636017, -0.04497933387756348, -0.0834333747625351, -0.048266079276800156, -0.00637796800583601, 0.017189830541610718, 0.035125475376844406, -0.009365920908749104, 0.023298533633351326, 0.019603220745921135, 0.006282448768615723, -0.008768911473453045, 0.04682140052318573, 0.0009398835245519876, -0.007693768013268709, -0.0025951063726097345, -0.023721542209386826, 0.04077969864010811, -0.03308926522731781, -0.02708473429083824, 0.012211724184453487, -0.08768084645271301, 0.03671605885028839, -0.06333443522453308, -0.03474178910255432, -0.005450381897389889, 0.025132102891802788, 0.041659317910671234, 0.031816691160202026, 0.013913683593273163, 0.08195711672306061, 0.012697827070951462, 0.008277609013020992, 0.004126142244786024, 0.005021159071475267, 0.05226205289363861, 0.018573710694909096, -0.010767964646220207, 0.020961225032806396, 0.002891214331611991, 0.00002901998595916666, -0.07540947198867798, 0.03194740042090416, -0.053765930235385895, -0.29414159059524536, 0.033198222517967224, 0.011526476591825485, -0.020962702110409737, 0.015195434913039207, -0.046882208436727524, 0.023969754576683044, -0.04300947114825249, -0.03220251202583313, 0.022586431354284286, -0.013368737883865833, -0.046913761645555496, -0.03984978422522545, 0.052586764097213745, 0.008602436631917953, 0.04405485466122627, 0.031501397490501404, -0.04499001428484917, 0.027820441871881485, 0.03487387299537659, 0.004261683207005262, -0.06514870375394821, -0.001578094088472426, 0.033701516687870026, 0.05914481729269028, 0.06453447043895721, -0.08094505965709686, 0.011249597184360027, -0.04293467104434967, -0.009785160422325134, 0.02531171217560768, 0.0003934585547540337, -0.004675435367971659, -0.02097979374229908, 0.035214319825172424, -0.04058440774679184, 0.02965083159506321, -0.004387261345982552, 0.012043452821671963, -0.007206473965197802, -0.022172627970576286, -0.012842734344303608, -0.017786264419555664, 0.03468167409300804, 0.0776052176952362, -0.007265682797878981, -0.06184801459312439, 0.0004340271116234362, -0.029744429513812065, 0.07108751684427261, -0.0068081640638411045, -0.019835086539387703, -0.01275599468499422, 0.025684913620352745, -0.02004452608525753, -0.03617667034268379, -0.02709895931184292, 0.0009095954592339694, -0.051482826471328735, -0.05023246258497238, -0.03617164120078087, -0.022429341450333595, 0.0037595191970467567, -0.049741268157958984, -0.010139920748770237, -0.051815178245306015, -0.050776008516550064, -0.022327886894345284, 0.07536672055721283, 0.00508287874981761, -0.0387243777513504, 0.016869476065039635, -0.003494981676340103, -0.10478681325912476, 0.012617724947631359, 0.003996440675109625, 0.0035165389999747276, 0.007138789165765047, 0.008257067762315273, 0.02464626543223858, -0.029489221051335335, -0.05156815052032471, 0.03208893910050392, 0.006904429290443659, 0.03317064791917801, -0.04143153503537178, 0.01933051086962223, 0.01464664377272129, -0.02530802972614765, 0.02895979769527912, 0.08999793976545334, -0.005957324057817459, -0.0321434885263443, -0.03077496960759163, 0.023453079164028168, 0.02092418633401394, 0.028383713215589523, -0.02303043007850647, 0.0004974314942955971, 0.015324917621910572, 0.013989129103720188, -0.046570539474487305, 0.028481455519795418, -0.03239114582538605, -0.027398530393838882, 0.01406912412494421, -0.045924361795186996, 0.027957210317254066, 0.0364394336938858, 0.005278276279568672, -0.011142444796860218, -0.02586199901998043, -0.00207803794182837, -0.028386449441313744, -0.03686261922121048, -0.004347124602645636, 0.02881208062171936, 0.026482295244932175, -0.012038743123412132, -0.0038483464159071445, -0.022543586790561676, 0.007205070927739143, 0.006456122733652592, -0.03267914801836014, -0.05528067797422409, -0.02822178415954113, -0.0128734540194273, 0.0039975326508283615, 0.015954868867993355, 0.021649561822414398, -0.02063649334013462, 0.024836311116814613, 0.01598726026713848, -0.03017442859709263, 0.008043813519179821, -0.006803107913583517, -0.08101385086774826, -0.039172619581222534, 0.019397035241127014, 0.007592180743813515, -0.011262081563472748, 0.00681567145511508, 0.01864401251077652, 0.028470847755670547, 0.05623733252286911, 0.027316724881529808, 0.03759894147515297, -0.019030164927244186, 0.012806080281734467, 0.006740766577422619, -0.007090042810887098, -0.057833366096019745, -0.009769936092197895, -0.024646146222949028, -0.012829284183681011, -0.013137921690940857, 0.049162253737449646, -0.001265155035071075, -0.03047078847885132, -0.034521326422691345, 0.0049410127103328705, -0.0931941568851471, -0.026993190869688988, -0.023591306060552597, 0.018004359677433968, 0.05820062756538391, -0.013345527462661266, 0.03672672435641289, -0.003058248432353139, -0.0007188051822595298, 0.006150432862341404, 0.01803542859852314, -0.042080849409103394, 0.010605533607304096, 0.006175215356051922, -0.009814429096877575, 0.002419851254671812, -0.010283553041517735, 0.05230731517076492, -0.006177927367389202, -0.010094551369547844, -0.013329138979315758, 0.0055806622840464115, -0.0027136437129229307, 0.05707371234893799, 0.012861767783761024, -0.031192492693662643, 0.011745576746761799, 0.007859226316213608, -0.006283728405833244, -0.012655389495193958, -0.03216569125652313, 0.004437383264303207, -0.0008689053938724101, -0.01832776702940464, -0.07944503426551819, 0.03951476514339447, 0.009004891850054264, 0.0008552345680072904, 0.025394894182682037, 0.0010738751152530313, -0.02150801755487919, -0.034354861825704575, 0.02626160904765129, 0.03502276912331581, -0.07563120126724243, -0.0014796399045735598, 0.003965915180742741, 0.007889972999691963, 0.009178543463349342, -0.0050930301658809185, -0.039065681397914886, -0.02087850123643875, -0.011474496684968472, 0.007083559408783913, -0.04342331737279892, -0.03523267060518265, -0.022423218935728073, 0.01325675193220377, -0.026566997170448303, 0.00679670600220561, -0.025092164054512978, -0.03166478872299194, -0.01608632318675518, -0.021334510296583176, 0.004506481811404228, -0.03240879252552986, -0.019165491685271263, 0.004379189107567072, -0.04351402819156647, -0.009391282685101032, -0.02081618644297123, 0.019720720127224922, 0.012694129720330238, -0.00836120080202818, 0.01559948455542326, -0.04080846533179283, 0.0011607494670897722, 0.004696615971624851, 0.03119116835296154, -0.040753353387117386, -0.034921448677778244, -0.04244709387421608, 0.010253955610096455, -0.0216061994433403, 0.017264997586607933, -0.027141191065311432, -0.009108854457736015, 0.041275154799222946, 0.04265768453478813, -0.009576465003192425, 0.0162834320217371, 0.004781561437994242, -0.028878917917609215, 0.043107952922582626, -0.06826578080654144, -0.02354702353477478, -0.01937626488506794, -0.05685950443148613, 0.007959293201565742, -0.010539229959249496, 0.014459709636867046, -0.04048333317041397, 0.029360011219978333, 0.0256024282425642, 0.04306314140558243, 0.03144572302699089, 0.0016222915146499872, 0.01614219881594181, -0.055842090398073196, 0.01492165308445692, -0.08778707683086395, -0.0025689341127872467, 0.041167303919792175, 0.012992149218916893, -0.012477265670895576, 0.0031034827698022127, -0.045446429401636124, 0.05427609756588936, -0.06394577026367188, -0.03413120284676552, 0.036833930760622025, 0.0036504417657852173, -0.005163880996406078, 0.028847353532910347, -0.05817597359418869, 0.017931003123521805, 0.01901398040354252, -0.04393712058663368, -0.01864168979227543, -0.006304353475570679, 0.06520305573940277, 0.0019175165798515081, 0.01864553987979889, -0.051661621779203415, -0.004636555910110474, 0.08241485804319382, 0.011083281598985195, 0.006811636500060558, 0.049073778092861176, -0.02486809715628624, 0.032930754125118256, 0.04067162796854973, -0.0022989450953900814, 0.0033216518349945545, 0.002346533816307783, -0.020143039524555206, -0.04625837877392769, 0.02931780181825161, 0.0015566992806270719, -0.03024783544242382, -0.050585806369781494, 0.06478827446699142, 0.015318884514272213, -0.035477861762046814, -0.08005271106958389, 0.00997439306229353, -0.06430356204509735, -0.03353231027722359, 0.0015086906496435404, 0.004103670362383127, -0.04722375422716141, 0.051477011293172836, -0.01956513524055481, 0.014532738365232944, 0.06324952840805054, 0.018274037167429924, -0.0005330102285370231, 0.0002663479244802147, 0.08275257050991058, 0.07279974967241287, 0.07264366000890732, 0.009951053187251091, 0.08196273446083069, 0.0021981922909617424, -0.03630310669541359, -0.006754945032298565, -0.02449798583984375, -0.04822559282183647, -0.0182865709066391, 0.002717257011681795, 0.051184508949518204, -0.017910700291395187, 0.05229995772242546, -0.01802646741271019, -0.02083113044500351, 0.0008352065924555063, 0.02406235598027706, 0.030292240902781487, 0.06945791095495224, -0.0013296438846737146, 0.005523180589079857, -0.015144964680075645, -0.056568682193756104, 0.017519626766443253, -0.033902980387210846, -0.010435058735311031, 0.033209364861249924, -0.029504530131816864, 0.01419856771826744, 0.01096560712903738, 0.03545907884836197, 0.06380639970302582, -0.04912217706441879, 0.019204460084438324, -0.014294721186161041, 0.026882542297244072, -0.004975646734237671, 0.012543559074401855, -0.016087036579847336, -0.0063360268250107765, -0.01989269070327282, -0.03414017707109451, -0.00390993058681488, -0.0066335732117295265, -0.01436967309564352, 0.032261256128549576, -0.030024340376257896, -0.00868693832308054, 0.05660464987158775, -0.010827327147126198, -0.04585542529821396, -0.06510233879089355, -0.04239945858716965, -0.043769918382167816, -0.04116055369377136, -0.0011405571131035686, 0.010608348995447159, -0.00005089507976663299, -0.03131021186709404, -0.0034835529513657093, -0.00654771039262414, -0.02921777218580246, 0.030549418181180954, -0.06305167078971863, -0.01899995282292366, 0.021173560991883278, 0.010531725361943245, 0.018823277205228806, 0.01000870019197464, 0.052156586199998856, -0.011283542029559612, 0.0005212313844822347, -0.02018890529870987, 0.014270293526351452, 0.046744488179683685, -0.004600712098181248, -0.0011815917678177357, -0.07094400376081467, 0.0033781619276851416, -0.005001613404601812, -0.012426631525158882, -0.07057380676269531, 0.02222319506108761, 0.010959137231111526, -0.023784680292010307, 0.04918915033340454, -0.024742530658841133, -0.0012446742039173841, -0.0362296961247921, -0.010110153816640377, -0.01855795830488205, -0.012935273349285126, 0.035284508019685745, -0.02104395627975464, 0.08138275891542435, 0.008505872450768948, -0.029504327103495598, -0.03136441484093666, -0.010075770318508148, 0.003704321337863803, -0.01178116723895073, -0.030565734952688217, -0.02570701763033867, -0.028807424008846283, -0.08304155617952347, -0.05246243625879288, 0.020922383293509483, -0.013630442321300507, -0.02798125334084034, 0.01643797941505909, 0.025802310556173325, -0.014163123443722725, 0.005001103971153498, -0.03796737641096115, 0.014693522825837135, -0.0230766162276268, -0.01699765957891941, 0.014162224717438221, 0.014364216476678848, -0.02349442057311535, -0.005840416066348553, -0.004391338210552931, -0.042576923966407776, -0.006417992990463972, -0.019546501338481903, 0.03150356933474541, 0.034579478204250336, 0.01638449914753437, -0.023494863882660866 ]
[ -0.07629216462373734, 0.0025836341083049774, -0.0377420037984848, -0.0012629544362425804, 0.05489632859826088, -0.015617245808243752, -0.013520514592528343, 0.033822767436504364, 0.0007870743284001946, -0.011634730733931065, 0.010091596283018589, -0.022345807403326035, -0.016384651884436607, -0.02062109112739563, 0.06582104414701462, 0.00767438393086195, -0.006352026015520096, -0.08772796392440796, -0.0077688563615083694, 0.06881283223628998, 0.010364214889705181, -0.030500929802656174, -0.02612883970141411, -0.025937555357813835, 0.018514150753617287, 0.004568807315081358, 0.04336632788181305, -0.02573840692639351, 0.006158594973385334, -0.18577829003334045, 0.02588478848338127, -0.007438178639858961, 0.04117460176348686, -0.009990224614739418, 0.01967453770339489, 0.04468388110399246, 0.024587374180555344, 0.0010530132567510009, 0.010527604259550571, 0.04094285890460014, 0.013748608529567719, 0.00009003854938782752, -0.047740086913108826, -0.0006828241748735309, 0.039646849036216736, 0.0359475277364254, 0.0020625873003154993, -0.004812901373952627, -0.024024924263358116, 0.047962725162506104, -0.0384911373257637, -0.020937034860253334, 0.0038344955537468195, -0.007730965968221426, 0.0054838708601891994, 0.027221940457820892, 0.01573168858885765, 0.051292095333337784, -0.005288558546453714, 0.017372649163007736, -0.00931592471897602, 0.0017415941692888737, -0.15983904898166656, 0.0761890709400177, 0.036592163145542145, 0.03584214672446251, -0.04855145514011383, -0.005410550627857447, -0.012609543278813362, 0.09030282497406006, -0.016773013398051262, -0.03142974525690079, -0.03405806049704552, 0.023501193150877953, 0.020540712401270866, 0.018927166238427162, 0.002893173834308982, 0.013340192846953869, 0.021314792335033417, -0.047278329730033875, -0.028351793065667152, 0.0024855590891093016, -0.009201488457620144, -0.004774733912199736, -0.04607098549604416, 0.011614874936640263, 0.008403877727687359, 0.06489092111587524, 0.03675685450434685, 0.030800752341747284, 0.053905997425317764, -0.005075812805444002, -0.016279330477118492, -0.0077521647326648235, -0.06082941219210625, -0.019552815705537796, -0.006712962407618761, 0.040625203400850296, -0.009816844947636127, 0.4590032994747162, -0.009664615616202354, 0.03254545480012894, 0.0417989045381546, 0.012094742618501186, -0.018510272726416588, -0.016281351447105408, 0.003165844362229109, -0.027168728411197662, 0.015415639616549015, -0.007635932881385088, 0.02169102057814598, 0.024087000638246536, 0.06528438627719879, -0.05218842998147011, 0.014639029279351234, 0.027001531794667244, 0.023940788581967354, 0.0020726092625409365, 0.02376939356327057, -0.015744326636195183, -0.029020195826888084, 0.02010502852499485, 0.032857418060302734, -0.02399594336748123, -0.02388320490717888, -0.03675989434123039, 0.04321903735399246, 0.062494710087776184, 0.005680582951754332, 0.0038214705418795347, 0.06572121381759644, -0.0648968368768692, -0.08294349163770676, 0.017327317968010902, -0.013128313235938549, -0.009354731999337673, 0.030744528397917747, -0.019390450790524483, 0.022883886471390724, 0.055756185203790665, -0.0018075935076922178, 0.003764386521652341, 0.012365219183266163, -0.04434437304735184, -0.04257364571094513, 0.1208842545747757, 0.05021049827337265, -0.027218544855713844, -0.027547406032681465, -0.04814472422003746, 0.013577203266322613, 0.030208611860871315, -0.012282169423997402, -0.07717389613389969, 0.013223832473158836, 0.028468651697039604, 0.07412772625684738, -0.016004091128706932, -0.06105334684252739, -0.018706833943724632, -0.00749683054164052, -0.004009222146123648, -0.056066155433654785, 0.026373637840151787, 0.07803292572498322, -0.09656528383493423, -0.02856505662202835, 0.0183203537017107, 0.02332930825650692, -0.06790807098150253, 0.012469195760786533, -0.009429815225303173, -0.0672389343380928, 0.004716482479125261, 0.046628210693597794, -0.043237119913101196, -0.025779223069548607, 0.014036469161510468, 0.02879893220961094, 0.0010998587822541595, 0.02005068026483059, -0.008608835749328136, -0.03585153445601463, 0.007827081717550755, -0.04729001969099045, -0.06252431869506836, -0.04973907396197319, -0.002815898973494768, -0.042410679161548615, 0.018477097153663635, -0.004281667992472649, -0.04171823337674141, -0.11744490265846252, 0.12264470756053925, -0.024075260385870934, -0.021541176363825798, -0.0013622944243252277, 0.000802412279881537, -0.04354280233383179, -0.021716175600886345, -0.019320759922266006, -0.0016764289466664195, -0.032835159450769424, 0.046983685344457626, -0.032782915979623795, 0.08949735015630722, 0.05557584390044212, -0.030938558280467987, 0.12717121839523315, 0.049422234296798706, -0.014940120279788971, -0.03400926664471626, -0.017093941569328308, 0.005104796029627323, 0.0028955924790352583, -0.01166574377566576, 0.014398704282939434, -0.01299196295440197, 0.03269324079155922, 0.03712915629148483, 0.004873895086348057, -0.012461653910577297, -0.007162236142903566, -0.3581736981868744, -0.0541522279381752, -0.011350146494805813, 0.01903420127928257, 0.045672137290239334, -0.043332040309906006, 0.018126945942640305, -0.005467092618346214, -0.009286588989198208, 0.020329317077994347, 0.06721006333827972, -0.008738662116229534, 0.0005252003902569413, -0.08864954113960266, -0.008388823829591274, 0.00011803811503341421, -0.03290801867842674, -0.012282836250960827, -0.012322850525379181, 0.00721613597124815, -0.014832407236099243, -0.015635205432772636, -0.015061073936522007, -0.052881378680467606, 0.008322717621922493, -0.038843899965286255, 0.11121176928281784, -0.00235267193056643, 0.05238340422511101, -0.0450890026986599, 0.021585358306765556, -0.010514318943023682, 0.016664069145917892, -0.0864454060792923, -0.011126249097287655, -0.015613525174558163, 0.01156506035476923, -0.004655509255826473, 0.017696687951683998, -0.04990142211318016, -0.07246215641498566, 0.007366760168224573, -0.05026629567146301, -0.029816240072250366, -0.07713518291711807, 0.018826061859726906, -0.00651164073497057, -0.02204333059489727, -0.055676013231277466, 0.057147085666656494, 0.03192877769470215, -0.007046076934784651, 0.026509301736950874, 0.0005991389625705779, -0.0011579339625313878, -0.03913649171590805, -0.06945382058620453, 0.0166026521474123, -0.012264523655176163, -0.009992917999625206, 0.023715579882264137, 0.043309446424245834, 0.03943091258406639, -0.033023905009031296, -0.004604757763445377, 0.0009635883616283536, 0.008509610779583454, 0.007081177551299334, 0.03559351712465286, -0.012200160883367062, -0.014221678487956524, 0.1024031862616539, -0.01961292140185833, -0.0002053320495178923, 0.014849099330604076, 0.040654104202985764, -0.02940709888935089, 0.004841533023864031, 0.0010316489497199655, 0.031348343938589096, 0.011116812005639076, -0.03553559631109238, 0.030592819675803185, -0.035238269716501236, -0.008089469745755196, 0.04913393780589104, -0.01085707452148199, -0.054350513964891434, 0.06059722974896431, 0.027728967368602753, -0.02865741029381752, -0.003153391182422638, -0.03669976070523262, -0.06108010932803154, 0.055055588483810425, 0.011461198329925537, -0.26320183277130127, 0.01001768372952938, 0.05016925185918808, 0.0609198659658432, -0.010681082494556904, 0.02374834381043911, 0.03421272709965706, -0.018480971455574036, 0.020946023985743523, 0.03480910137295723, 0.013081792742013931, 0.009750003926455975, 0.01803305745124817, 0.012921987101435661, 0.038599707186222076, 0.002251214813441038, 0.009666629135608673, 0.0013904464431107044, 0.0014881244860589504, 0.0028860103338956833, 0.0172506682574749, -0.02747259847819805, 0.15205325186252594, 0.03194620460271835, -0.0062924339435994625, 0.038205068558454514, -0.00208616373129189, 0.01152659673243761, 0.07660997658967972, -0.016911933198571205, -0.0010249275946989655, 0.011897377669811249, 0.00804391410201788, -0.002958759432658553, 0.03275100886821747, -0.06626394391059875, -0.04791583493351936, 0.010185398161411285, 0.02413271740078926, -0.004815008956938982, 0.02118169143795967, -0.005735366139560938, -0.009419826790690422, 0.03378809615969658, 0.07865707576274872, -0.003211278934031725, 0.004271683283150196, -0.05797713249921799, -0.048945482820272446, -0.030374350026249886, -0.01859491504728794, -0.041078850626945496, -0.0027724893298000097, 0.0002951579517684877, 0.0024783273693174124, 0.0695963054895401, -0.0007347118225879967, -0.02908105030655861, 0.02770981378853321, -0.004188579972833395, -0.0329488143324852, -0.00438458239659667, 0.08008810877799988, 0.015892215073108673, 0.038191504776477814 ]
[ -0.015159436501562595, 0.009588697925209999, 0.0033613466657698154, 0.04305412620306015, -0.007075967732816935, -0.030126988887786865, 0.007001642137765884, -0.029499785974621773, 0.0051986766047775745, 0.0008146423497237265, -0.033292174339294434, -0.011469642631709576, -0.0024923880118876696, -0.04353765398263931, 0.03155754879117012, 0.0013334030518308282, 0.01426734309643507, -0.01151952613145113, 0.015361309051513672, 0.0034549590200185776, -0.004221588373184204, -0.002213080180808902, 0.02624574676156044, -0.002012061420828104, -0.0216822512447834, -0.007281561382114887, -0.02627268247306347, 0.028516538441181183, 0.03625025600194931, -0.1368708461523056, -0.00969571154564619, -0.035684533417224884, -0.042530275881290436, -0.0066498699598014355, -0.024482570588588715, -0.005015977192670107, -0.02497715689241886, -0.022458819672465324, 0.02105380967259407, -0.004831508733332157, 0.01608235016465187, -0.04863990470767021, -0.012191965244710445, 0.03046025149524212, -0.00820955354720354, -0.005528182722628117, -0.02632647007703781, -0.029979271814227104, -0.03618629649281502, 0.02044260874390602, -0.019285276532173157, -0.00010011511767515913, -0.007948149926960468, 0.0008191685192286968, 0.020610982552170753, -0.01876371167600155, -0.0031790011562407017, -0.01692347601056099, 0.012534908019006252, -0.006267215590924025, -0.0017731160623952746, -0.01066511683166027, -0.03246632218360901, -0.015504242852330208, -0.010604534298181534, -0.009790328331291676, -0.019638005644083023, -0.010747087188065052, -0.002619028091430664, -0.022176869213581085, -0.038205184042453766, -0.011954866349697113, -0.04126783460378647, -0.0174966212362051, 0.011305821128189564, -0.015559808351099491, -0.017077285796403885, 0.0035634376108646393, -0.004507759585976601, 0.0009689018479548395, -0.023647449910640717, -0.00034167265403084457, 0.01785721629858017, 0.012177413329482079, -0.030739981681108475, -0.03590654209256172, 0.04191877320408821, 0.009170245379209518, 0.005476183257997036, -0.0005261700716800988, -0.01764463074505329, 0.026015182957053185, 0.008422666229307652, 0.02897937223315239, -0.08466199040412903, -0.012611052952706814, -0.040132585912942886, 0.004755420610308647, 0.01799056865274906, 0.8582983016967773, -0.005090322811156511, 0.03266742080450058, 0.010573333129286766, 0.02806607447564602, -0.03437713906168938, -0.04621833190321922, 0.0035502458922564983, 0.026822272688150406, 0.05306345596909523, -0.05389731749892235, 0.036001965403556824, 0.05530829727649689, 0.005643307231366634, 0.030281415209174156, -0.010626968927681446, -0.018171114847064018, 0.009600823745131493, -0.03230426460504532, 0.018035704270005226, 0.009835968725383282, 0.03221847489476204, 0.04181809723377228, 0.004883237183094025, 0.02834189683198929, 0.0209028422832489, -0.16164682805538177, 0.05085700750350952, -7.875195750659114e-33, 0.017477069050073624, -0.0069347252137959, 0.00890472810715437, -0.015848880633711815, 0.01825103908777237, 0.06159330531954765, 0.023642394691705704, 0.013912511058151722, -0.006197803653776646, -0.028059937059879303, 0.012184721417725086, 0.012263725511729717, 0.02282833307981491, -0.011825717985630035, 0.0402323417365551, -0.02849510870873928, -0.010838036425411701, 0.030342014506459236, 0.05442601814866066, -0.024934692308306694, 0.0482022687792778, 0.022432252764701843, 0.009378541260957718, 0.009939247742295265, -0.015497165732085705, 0.013692757114768028, -0.011729697696864605, 0.021579446271061897, -0.011847512796521187, -0.04935472458600998, 0.004670710302889347, 0.011887134052813053, -0.018358629196882248, 0.008704327046871185, -0.0010339346481487155, -0.03094763122498989, -0.0005595222464762628, 0.029176117852330208, -0.011054020375013351, -0.003903541946783662, -0.059747159481048584, 0.02871275320649147, -0.026134146377444267, -0.017055151984095573, -0.04593885317444801, 0.013369239866733551, -0.020545942708849907, 0.012200741097331047, 0.01423084270209074, 0.005241882987320423, -0.015231452882289886, 0.0013851377880200744, 0.04177089408040047, 0.014779709279537201, -0.011718044988811016, 0.03936740756034851, 0.001645916374400258, -0.010670104064047337, -0.014037659391760826, 0.01793535053730011, 0.014844340272247791, 0.0032549682073295116, 0.00013486550597008318, -0.0017776244785636663, -0.01858476549386978, -0.010974319651722908, 0.018556930124759674, 0.023227335885167122, -0.021584147587418556, -0.009470502845942974, -0.027355318889021873, -0.01395028829574585, -0.0012089937226846814, -0.0032946516294032335, 0.012589705176651478, -0.01892830617725849, -0.0064178048633039, 0.04890937730669975, -0.023849686607718468, 0.03677556663751602, 0.01686042733490467, -0.01066250167787075, -0.002209967467933893, -0.022373290732502937, -0.016578514128923416, -0.016749000176787376, -0.008239814080297947, -0.002438677242025733, -0.009209799580276012, -0.0077794273383915424, 0.0319545716047287, -0.005809773225337267, 0.007085267920047045, -0.008948051370680332, -0.005808711517602205, 8.002407749305102e-33, -0.01856912672519684, 0.006712539587169886, -0.00593134481459856, 0.03115616738796234, 0.036960478872060776, -0.013808585703372955, 0.04259362816810608, -0.0013735371176153421, -0.03952722251415253, 0.045581504702568054, 0.009365366771817207, -0.002615016885101795, -0.02961750701069832, 0.02571551501750946, 0.0209058690816164, -0.023693842813372612, 0.022715795785188675, -0.020510463044047356, 0.019663427025079727, 0.027270998805761337, 0.00563061935827136, 0.01599792018532753, -0.026356730610132217, -0.021027585491538048, 0.012476250529289246, 0.039394672960042953, 0.0006317502120509744, 0.006236877758055925, 0.0005031181499361992, -0.02349511720240116, -0.010239288210868835, 0.010804041288793087, 0.012066749855875969, 0.006673653144389391, -0.004268258344382048, 0.052558060735464096, 0.0008792686858214438, 0.006278308108448982, 0.010138386860489845, 0.006955382879823446, 0.03002932295203209, -0.0012326446594670415, 0.010297701694071293, 0.028892576694488525, 0.03091859258711338, 0.043526019901037216, -0.0158669613301754, -0.02382638119161129, -0.028517797589302063, 0.01709658093750477, 0.010998059995472431, 0.013805394060909748, -0.015044912695884705, 0.005268086679279804, -0.02814335562288761, -0.020556775853037834, -0.025290049612522125, 0.00023196384427137673, -0.03844889625906944, -0.0095170047134161, -0.025411784648895264, 0.03735866770148277, -0.010980482213199139, 0.044053815305233, -0.025552045553922653, -0.01275995559990406, -0.00807704497128725, -0.007076669484376907, 0.01976209506392479, -0.00005285337465466, -0.025192784145474434, 0.01213013380765915, -0.013265400193631649, 0.02754758670926094, 0.027231844142079353, -0.012705265544354916, -0.01598200760781765, -0.016163090243935585, -0.008506009355187416, 0.008481178432703018, -0.005503056105226278, 0.03304804861545563, 0.026705147698521614, -0.026452722027897835, -0.004504043143242598, 0.008349929936230183, -0.018258707597851753, 0.021293776109814644, 0.0265921950340271, -0.015236667357385159, -0.01148006971925497, -0.025382740423083305, -0.021378256380558014, 0.003589913947507739, -0.010567937046289444, -1.3390003772428827e-8, -0.020834974944591522, 0.02389802224934101, -0.0006989390240050852, 0.03982093557715416, 0.035105276852846146, 0.011612347327172756, 0.010281750001013279, -0.005071836058050394, -0.03527621552348137, 0.015392674133181572, 0.03304585814476013, -0.01980035938322544, 0.017614534124732018, 0.03874627873301506, -0.016193322837352753, -0.063117116689682, -0.011496448889374733, 0.014021096751093864, 0.0377679206430912, 0.006572066340595484, 0.01913822628557682, 0.05199851468205452, 0.009544787928462029, -0.009510557167232037, 0.05225592479109764, 0.014550894498825073, 0.00026040998636744916, -0.06017816811800003, -0.002363139297813177, -0.008481688797473907, 0.007210784591734409, -0.03190143033862114, -0.027989989146590233, -0.0018255064496770501, -0.00864490307867527, -0.028439132496714592, -0.02243592031300068, 0.04171760007739067, -0.008263790048658848, -0.022063076496124268, -0.04118862748146057, -0.014201665297150612, -0.005139429122209549, -0.012160020880401134, -0.009718433953821659, 0.0015731165185570717, -0.06879512220621109, 0.013753997161984444, 0.045265838503837585, -0.018956394866108894, 0.037838637828826904, -0.053141314536333084, 0.029468558728694916, 0.02267817035317421, 0.02152629941701889, -0.0071123624220490456, 0.004055188037455082, 0.0012816684320569038, -0.01797693781554699, -0.01913449726998806, 0.02935728058218956, 0.025278843939304352, -0.032839469611644745, -0.02176954410970211 ]
ab-testing-thoughts-so-far
https://markhneedham.com/blog/2013/01/27/ab-testing-thoughts-so-far
false
2013-01-27 02:10:10
Python/numpy: Selecting specific column in 2D array
[ "python" ]
[ "Python" ]
I've been playing around with http://www.numpy.org/[numpy] this evening in an attempt to improve the performance of a http://en.wikipedia.org/wiki/Travelling_salesman_problem[Travelling Salesman Problem implementation] and I wanted to get every value in a specific column of a 2D array. The array looked something like this: [source,python] ---- >>> x = arange(20).reshape(4,5) >>> x array([[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19]]) ---- I wanted to get the values for the 2nd column of each row which would return an array containing 1, 6, 11 and 16. For some reason I was expecting it to be quite complicated but in fact we can do this by http://stackoverflow.com/questions/2111163/selecting-specific-column-in-each-row-from-array[using matrix style syntax] like so: [source,python] ---- >>> x[:, 1] array([ 1, 6, 11, 16]) ---- Here we are first saying that we want to return all the rows by specifying ':' and then the '1' indicates that we only want to return the column with index 1. If we wanted to return a specific row as well then we'd specify a value before the comma and it'd be a standard 2D array value lookup: [source,python] ---- >> x[2,1] 11 ---- or [source,python] ---- >> x[2][1] 11 ----
null
null
[ -0.02751994878053665, -0.010831575840711594, -0.01552505325525999, 0.03313559666275978, 0.05179154872894287, 0.03653857484459877, -0.003391845617443323, 0.023006610572338104, 0.028872108086943626, -0.02616606093943119, -0.018834756687283516, -0.025774693116545677, -0.08637921512126923, 0.010607999749481678, -0.008531235158443451, 0.08621235191822052, 0.07931393384933472, 0.005800730083137751, -0.022571643814444542, 0.007423982955515385, 0.021297192201018333, 0.036734689027071, 0.009662399999797344, 0.024465886875987053, 0.013219389133155346, -0.018700430169701576, 0.024563970044255257, 0.0235231202095747, -0.01854724995791912, 0.004267152864485979, 0.0058678146451711655, -0.011269865557551384, 0.01275563146919012, -0.005286506377160549, 0.04097991809248924, -0.002289660507813096, -0.02058749832212925, 0.01450142078101635, -0.012244455516338348, 0.010566191747784615, -0.047202348709106445, 0.04086458683013916, -0.009512852877378464, 0.04826323688030243, -0.024801891297101974, 0.015729263424873352, -0.05878864973783493, -0.0018830602057278156, -0.02375582791864872, -0.0036915771197527647, -0.029342351481318474, 0.025628915056586266, 0.00241854484193027, -0.014612294733524323, 0.0017030638409778476, 0.05712167173624039, -0.008827387355268002, -0.04785994812846184, 0.009100976400077343, -0.021607594564557076, 0.011123682372272015, 0.016151320189237595, 0.005968520883470774, 0.05743767321109772, 0.006740828976035118, -0.0022276018280535936, 0.037481892853975296, 0.06117439642548561, -0.038929473608732224, -0.017018193379044533, -0.05653618648648262, -0.006095494143664837, -0.010855978354811668, -0.007030907087028027, -0.01450281124562025, 0.004698879551142454, -0.0007959190406836569, 0.0386633574962616, 0.015409274958074093, 0.0382675938308239, -0.04781842604279518, -0.009243269450962543, -0.007094928063452244, 0.006034351419657469, 0.002860645530745387, -0.04625198617577553, -0.06708060950040817, -0.0481296107172966, -0.08031819015741348, 0.019445739686489105, -0.007418189197778702, -0.03707582876086235, 0.005884936079382896, 0.02135968767106533, -0.016629314050078392, -0.004730106331408024, 0.00004293863457860425, -0.03613046929240227, -0.014502306468784809, -0.02091473713517189, -0.03813557326793671, -0.05018720403313637, 0.029670920222997665, -0.005527156870812178, -0.07342620939016342, -0.019524920731782913, 0.004520727321505547, 0.0005336247268132865, 0.00009286231215810403, -0.009428157471120358, -0.03410898521542549, -0.028961097821593285, -0.012339952401816845, -0.014666908420622349, -0.08514878153800964, 0.05232205614447594, 0.01235167682170868, -0.013261284679174423, -0.036069754511117935, 0.033029161393642426, 0.039794620126485825, 0.04109768941998482, -0.019003111869096756, 0.09296797215938568, 0.0004892035503871739, 0.0015271676238626242, 0.04046275094151497, 0.05968739092350006, -0.015037190169095993, -0.03539090231060982, -0.02766611985862255, 0.03410240635275841, -0.004010925535112619, 0.0031395319383591413, -0.0003516107681207359, -0.0633951723575592, -0.05353748798370361, 0.03538613021373749, 0.0359964594244957, 0.02914690598845482, 0.02351492829620838, -0.032391507178545, 0.023614389821887016, 0.003950148355215788, 0.013821817934513092, 0.020982202142477036, -0.0007942962693050504, -0.03982088714838028, -0.0004434020083863288, 0.007256326265633106, 0.01683656871318817, 0.044550955295562744, 0.05481041967868805, -0.04351087287068367, 0.014574247412383556, 0.07985537499189377, 0.023603226989507675, 0.0377013199031353, -0.01869947649538517, -0.0049292705953121185, 0.028397345915436745, 0.018771909177303314, 0.029229868203401566, 0.03648040071129799, 0.015416603535413742, -0.02343958616256714, 0.014592795632779598, 0.054247722029685974, -0.010856020264327526, -0.014572776854038239, -0.04598458111286163, -0.0473782904446125, 0.0574602410197258, -0.03163745999336243, -0.0257000420242548, 0.019439851865172386, 0.06505867838859558, 0.03638215735554695, 0.04519994929432869, -0.03252171725034714, -0.06643324345350266, 0.0411318764090538, -0.00203388137742877, 0.010929301381111145, 0.08193108439445496, -0.023842865601181984, 0.08085840195417404, 0.02854878641664982, 0.01741284690797329, 0.01620856113731861, -0.05832746624946594, -0.0639541819691658, -0.02720642276108265, -0.035063110291957855, 0.03791069984436035, -0.045982930809259415, -0.02089470811188221, 0.07129179686307907, 0.015572057105600834, 0.03380890190601349, 0.01454963255673647, 0.00793612189590931, 0.006129441782832146, -0.025799620896577835, -0.04514674097299576, 0.008460352197289467, 0.03971598297357559, -0.02908269688487053, -0.01258989330381155, 0.06549448519945145, 0.021331582218408585, -0.015106495469808578, -0.012438244186341763, -0.015553568489849567, 0.06251499801874161, 0.03909234702587128, 0.05271952226758003, 0.003659481182694435, 0.022381601855158806, -0.0718052014708519, 0.057644497603178024, 0.01662115938961506, -0.04109805077314377, -0.02251560240983963, 0.003064569551497698, 0.1704489141702652, 0.06204375997185707, -0.03168385103344917, -0.057550858706235886, -0.012304423376917839, -0.008085107430815697, -0.014191942289471626, 0.005683699622750282, -0.031028127297759056, -0.04053505137562752, 0.014773507602512836, -0.04823264107108116, -0.0314115546643734, 0.013460689224302769, -0.021934641525149345, -0.04698565602302551, 0.07319129258394241, -0.019169291481375694, 0.022612078115344048, 0.006598849315196276, -0.0421290323138237, 0.011164014227688313, -0.040008869022130966, -0.05767471715807915, 0.0007593940827064216, 0.0027033977676182985, -0.02260996587574482, 0.0637984424829483, -0.03543801233172417, -0.03947397321462631, 0.0008430760353803635, -0.05707307532429695, -0.014849497005343437, 0.07609383016824722, 0.0569266714155674, -0.023979634046554565, 0.061643920838832855, 0.012161600403487682, -0.01217126939445734, -0.019533386453986168, -0.055935557931661606, -0.039343785494565964, -0.01780993491411209, 0.013553488068282604, 0.04556168243288994, 0.060811396688222885, 0.02208213321864605, -0.03281547129154205, -0.02146020345389843, -0.010495848953723907, -0.01930520124733448, 0.03909895196557045, 0.0273892804980278, 0.00558361504226923, -0.025760162621736526, 0.005907768849283457, 0.059063736349344254, -0.03288586810231209, -0.02207580767571926, 0.010447363369166851, -0.048279713839292526, 0.018424224108457565, -0.04351739212870598, -0.016684051603078842, -0.004934739787131548, 0.009801022708415985, 0.046570468693971634, -0.00326624047011137, -0.029062841087579727, 0.03656741976737976, 0.021390443667769432, 0.01994159072637558, 0.030091537162661552, 0.01791454292833805, 0.0222180113196373, 0.038204073905944824, -0.0044602081179618835, 0.06568006426095963, 0.012435011565685272, -0.023950787261128426, -0.03991617262363434, -0.025631580501794815, -0.0221897903829813, -0.25893232226371765, 0.00537481065839529, -0.03812732547521591, -0.014525346457958221, 0.0193057581782341, -0.03786088526248932, -0.01798827201128006, -0.010054959915578365, 0.008929871954023838, 0.003484106855466962, -0.006399350240826607, -0.056464407593011856, -0.037968091666698456, 0.056003157049417496, 0.02400854043662548, -0.0026166520547121763, -0.012972578406333923, -0.032424990087747574, 0.03769694268703461, 0.050901465117931366, 0.02142825350165367, -0.03471441939473152, 0.014536414295434952, 0.05680680647492409, 0.011483102105557919, 0.09423371404409409, -0.08304981887340546, -0.007596998475492001, -0.056481968611478806, -0.011213971301913261, 0.00016027608944568783, -0.03511175513267517, 0.0068885767832398415, -0.01740039885044098, -0.016221987083554268, -0.04397519677877426, 0.050123002380132675, -0.04107370227575302, 0.00032195792300626636, 0.02507692575454712, -0.0517582930624485, -0.0038814616855233908, -0.008448027074337006, 0.030027085915207863, 0.05472090095281601, 0.0032489884179085493, -0.034901056438684464, 0.013954194262623787, -0.014108710922300816, 0.031470052897930145, -0.010349182412028313, -0.014803027734160423, -0.032329995185136795, 0.04098133742809296, -0.012774024158716202, -0.004025260452181101, -0.01804579608142376, -0.00283726304769516, -0.042128339409828186, 0.002433992689475417, 0.014452775940299034, -0.02645212784409523, -0.005892001558095217, -0.04864780604839325, -0.022858409211039543, -0.04689183458685875, -0.05366126447916031, 0.002501585753634572, 0.07060733437538147, 0.052093591541051865, -0.022321492433547974, -0.020611295476555824, 0.004397632088512182, -0.09008749574422836, 0.00712219811975956, 0.011556213721632957, -0.029755791649222374, 0.025141727179288864, 0.006342249922454357, 0.014180395752191544, -0.08383926004171371, -0.07361238449811935, 0.01788361184298992, 0.009858710691332817, 0.006540090776979923, -0.04043399170041084, -0.03271719440817833, 0.01882863976061344, -0.022419489920139313, -0.007525565102696419, 0.07881562411785126, -0.01779252290725708, 0.0181505735963583, -0.028056031093001366, 0.008205566555261612, 0.05493913218379021, 0.005856637842953205, -0.00824684090912342, 0.05366102606058121, 0.022608501836657524, 0.019484523683786392, -0.060340363532304764, 0.003732715966179967, -0.03456931188702583, -0.03714674338698387, -0.007425717543810606, -0.02933570183813572, 0.01649043895304203, 0.022344691678881645, 0.009435744024813175, -0.020876234397292137, -0.04252178966999054, 0.011242866516113281, -0.04539018124341965, 0.01790999434888363, -0.02734883315861225, 0.025688719004392624, 0.01911858282983303, 0.0048097590915858746, -0.011764191091060638, -0.08287343382835388, 0.0004944627871736884, -0.0023677474819123745, 0.004976154770702124, -0.049248360097408295, -0.0004798205627594143, 0.019947489723563194, -0.0009610987617634237, -0.00046808403567411005, 0.011569071561098099, -0.009617367759346962, 0.008589954115450382, 0.023123987019062042, -0.04453249275684357, 0.03126572445034981, -0.015481533482670784, -0.004265987314283848, -0.001657869084738195, -0.032159630209207535, 0.04672778397798538, 0.04246941953897476, 0.002189553575590253, -0.015195443294942379, 0.02978907898068428, 0.034665919840335846, 0.024239202961325645, 0.03226742893457413, 0.017013756558299065, 0.002185397781431675, 0.027618877589702606, -0.017008917406201363, -0.02011387050151825, 0.0497993528842926, -0.02323625609278679, -0.020412595942616463, 0.022051358595490456, 0.03485311195254326, -0.03571506589651108, -0.029846496880054474, -0.02047334983944893, 0.03832613676786423, -0.03527951240539551, -0.012492239475250244, -0.024930188432335854, -0.014809600077569485, 0.060537368059158325, 0.005253862123936415, -0.0014503420097753406, -0.03433334827423096, 0.06340068578720093, 0.02261783741414547, 0.015493004582822323, -0.02438848279416561, 0.012472376227378845, -0.0033051942009478807, -0.026695722714066505, 0.054373953491449356, 0.004931832663714886, 0.010226007550954819, -0.01651904731988907, -0.021931510418653488, -0.015495088882744312, -0.009183927439153194, 0.01694241352379322, 0.01735270954668522, 0.027361469343304634, -0.022211749106645584, -0.010376814752817154, -0.05104571953415871, -0.054495520889759064, -0.059688445180654526, 0.006640423089265823, -0.02291707508265972, -0.014306711964309216, -0.02458924613893032, -0.03791152685880661, 0.02563568577170372, 0.015093051828444004, -0.023541303351521492, 0.012940783984959126, -0.005808822810649872, 0.004217255394905806, -0.021279150620102882, 0.03512256219983101, 0.06164311617612839, -0.044492993503808975, 0.020186150446534157, -0.010666696354746819, 0.027445297688245773, 0.003252582624554634, 0.0308974701911211, -0.054452307522296906, 0.013454126194119453, -0.02078528329730034, 0.00005723115828004666, 0.005596126429736614, -0.03800991550087929, -0.030512597411870956, 0.008555637672543526, 0.002254991326481104, 0.0027182186022400856, -0.010251227766275406, 0.03922255337238312, -0.0367249920964241, -0.018017876893281937, 0.035285040736198425, 0.007102020084857941, -0.03448620066046715, 0.026498883962631226, -0.02234049141407013, 0.019171467050909996, -0.025432882830500603, 0.024242877960205078, 0.027172232046723366, -0.004121238831430674, -0.036660537123680115, -0.07978308200836182, -0.006201880518347025, -0.01760048232972622, 0.05691386014223099, -0.0012389067560434341, -0.01581057906150818, -0.031200837343931198, 0.020297838374972343, -0.015259410254657269, 0.020780039951205254, 0.011259977705776691, -0.06646919995546341, 0.005244626197963953, 0.030258962884545326, -0.009688091464340687, 0.026352660730481148, 0.016226185485720634, -0.036233965307474136, 0.038606755435466766, 0.0027083312161266804, -0.04181196168065071, 0.01921510137617588, -0.04978739097714424, 0.01907394640147686, -0.021523205563426018, 0.039524197578430176, -0.06408628076314926, 0.04506034776568413, 0.0011818681377917528, 0.010269533842802048, 0.03214952349662781, 0.008669746108353138, 0.058598220348358154, -0.01755370758473873, -0.029513292014598846, -0.09913691133260727, -0.011870931833982468, 0.026088902726769447, 0.02394714765250683, -0.029523959383368492, -0.01645933836698532, -0.0405532531440258, 0.007303583901375532, -0.07022112607955933, -0.03622027859091759, 0.07511423528194427, 0.015091029927134514, -0.0165348332375288, 0.026547249406576157, -0.027124330401420593, 0.002958809258416295, 0.03314107283949852, -0.046130191534757614, 0.0012126639485359192, -0.018395250663161278, 0.03645804524421692, -0.0019110224675387144, 0.026082094758749008, -0.001380613655783236, 0.007344583980739117, 0.06142941862344742, 0.04487813636660576, 0.03450952097773552, 0.028796549886465073, -0.04667259007692337, 0.037525907158851624, 0.04183575510978699, -0.012692147865891457, -0.010430745780467987, 0.055270906537771225, 0.020868703722953796, -0.04180648922920227, 0.0437830351293087, 0.006149273365736008, -0.013012121431529522, -0.056630004197359085, 0.07822377979755402, 0.012672562152147293, -0.05338113382458687, -0.049774762243032455, 0.011740854941308498, -0.08105381578207016, 0.008904313668608665, -0.028250496834516525, -0.04619846120476723, -0.0037099902983754873, 0.05088748410344124, -0.03259282186627388, -0.026231786236166954, 0.05675974860787392, 0.0029888360295444727, -0.022136319428682327, 0.015891818329691887, 0.08225734531879425, 0.09104148298501968, 0.0638003796339035, 0.008157933130860329, 0.027176445350050926, -0.02748985029757023, -0.053136855363845825, 0.012728539295494556, -0.058831486850976944, 0.01797134056687355, -0.004922636318951845, 0.036397501826286316, 0.0650000050663948, -0.010230137035250664, 0.0387839712202549, -0.03435106575489044, 0.013208075426518917, 0.018446845933794975, 0.0058126188814640045, 0.01913677155971527, 0.07607975602149963, 0.008540116250514984, 0.04858684912323952, -0.02599615976214409, -0.01648583635687828, 0.03712114319205284, 0.018951144069433212, -0.00780063821002841, 0.04117847979068756, -0.011008393950760365, 0.02699636109173298, 0.014650681056082249, 0.037110473960638046, 0.07880993187427521, -0.04163230210542679, -0.04510527476668358, -0.00576506182551384, 0.02749992161989212, -0.043407779186964035, -0.006186206359416246, 0.004528198856860399, -0.025563903152942657, 0.005405045580118895, -0.028116613626480103, -0.007869914174079895, -0.03811132535338402, 0.013187730684876442, 0.02834431268274784, 0.002018957631662488, 0.026329707354307175, 0.04910004884004593, 0.03185608610510826, -0.07954688370227814, -0.04097457230091095, -0.068612240254879, -0.04682854562997818, -0.06680507212877274, -0.0003405467141419649, 0.03614280745387077, -0.0019578146748244762, -0.015805356204509735, -0.0037920023314654827, -0.030259685590863228, -0.011614855378866196, 0.013624902814626694, -0.022372646257281303, -0.009971913881599903, 0.005734724458307028, 0.04952278733253479, 0.025493698194622993, 0.01931908167898655, 0.041346222162246704, 0.014816958457231522, -0.009987907484173775, 0.006991801783442497, 0.014120248146355152, 0.06073402985930443, 0.022096125409007072, -0.02183198742568493, -0.07234583795070648, -0.031959425657987595, 0.012750168330967426, -0.005670757032930851, -0.07377929985523224, -0.006406489294022322, 0.03664810582995415, 0.01789866015315056, 0.018601784482598305, -0.012407674454152584, -0.003614110639318824, -0.037611667066812515, -0.027265427634119987, 0.012124013155698776, -0.006299391854554415, 0.03733571991324425, -0.042409468442201614, 0.07152695953845978, 0.05444987118244171, -0.01111600175499916, -0.028851069509983063, 0.013167462311685085, -0.0030300947837531567, 0.03385920822620392, -0.05211174860596657, -0.03886645287275314, -0.05345713347196579, -0.08274590224027634, 0.008299611508846283, -0.006952265743166208, -0.0158370453864336, -0.03588423505425453, 0.003961148206144571, 0.022133832797408104, -0.04730214551091194, 0.0408729687333107, -0.06518296152353287, 0.02619798667728901, -0.04308924451470375, -0.03659021481871605, 0.010882855392992496, 0.043813761323690414, -0.0071604084223508835, -0.005467275157570839, 0.018959954380989075, -0.043198034167289734, -0.0003051533130928874, -0.031173178926110268, 0.0070006889291107655, 0.03189495950937271, -0.023887716233730316, 0.03572867810726166 ]
[ -0.0731964185833931, -0.03724087029695511, -0.028073757886886597, -0.023131441324949265, 0.023538030683994293, -0.039240360260009766, 0.01653718389570713, 0.026716390624642372, 0.019980285316705704, 0.004708883352577686, 0.04204969108104706, -0.06800387799739838, 0.00011431392340455204, -0.00569489598274231, 0.023280072957277298, 0.006734347436577082, -0.0193939246237278, -0.03241506591439247, -0.03640671446919441, 0.017143303528428078, 0.005488975904881954, -0.04358236491680145, -0.06009450927376747, -0.08086290210485458, 0.03642711415886879, 0.042097922414541245, 0.0326567105948925, -0.03983314707875252, -0.006303055677562952, -0.21546874940395355, 0.026949888095259666, -0.00470408471301198, 0.025447359308600426, -0.02004311978816986, 0.03637140989303589, 0.006058812141418457, 0.017310675233602524, -0.0018678343622013927, 0.020762333646416664, 0.03647719323635101, 0.004150738008320332, 0.015624608844518661, -0.03897891566157341, 0.0012810290791094303, 0.05389614775776863, 0.0063414243049919605, -0.056760720908641815, -0.01805439218878746, -0.0009162312489934266, 0.007065125275403261, -0.06258248537778854, 0.024150244891643524, -0.04926804453134537, -0.023889977484941483, 0.02594902366399765, 0.03909273445606232, 0.0319366417825222, 0.03937804698944092, 0.0015222138026729226, 0.022035200148820877, 0.03160214051604271, -0.0226285457611084, -0.132936492562294, 0.09925273805856705, 0.062034972012043, 0.020839262753725052, -0.00924587156623602, -0.02976766601204872, -0.009528731927275658, 0.08305303007364273, 0.0314633809030056, -0.008878193795681, -0.005886935628950596, 0.05745575204491615, 0.032074619084596634, -0.051996033638715744, -0.03289840370416641, 0.00552853848785162, 0.032149530947208405, -0.010452138260006905, -0.05022992938756943, -0.006465220358222723, -0.009982419200241566, -0.014836572110652924, -0.005057883448898792, 0.002736905822530389, -0.04644377529621124, 0.012951154261827469, 0.03480987623333931, 0.01860334537923336, 0.062304556369781494, 0.018386228010058403, -0.03845686838030815, 0.026750583201646805, -0.0701003298163414, -0.03482914716005325, 0.03474383056163788, 0.01814793236553669, -0.013299213722348213, 0.3864046037197113, -0.016754193231463432, 0.003968648612499237, 0.054160039871931076, 0.056795619428157806, -0.06301796436309814, -0.0330265536904335, -0.03219058737158775, -0.0535685196518898, -0.005764036905020475, -0.027109624817967415, -0.002380841178819537, -0.031041322275996208, 0.0853537768125534, -0.060002271085977554, -0.020237142220139503, -0.005820574704557657, -0.0008119653793983161, 0.010385620407760143, 0.013027959503233433, -0.0086058946326375, -0.028958268463611603, 0.0047135306522250175, 0.04468170925974846, 0.007975565269589424, -0.004675672855228186, 0.0149261225014925, 0.0007143447874113917, 0.09721451252698898, 0.019199468195438385, 0.028445346280932426, 0.07940293103456497, -0.024160558357834816, -0.08268684148788452, 0.029561204835772514, 0.02095792442560196, 0.0206521674990654, 0.06658247113227844, -0.014915199019014835, 0.014507820829749107, 0.038474831730127335, -0.025892896577715874, -0.048246078193187714, 0.05004756525158882, 0.024856271222233772, -0.01811857707798481, 0.10957379639148712, -0.03945733606815338, -0.030688369646668434, -0.03650960698723793, -0.03453316539525986, -0.009193903766572475, 0.026150407269597054, -0.00007086159894242883, -0.07161650061607361, -0.00750443059951067, 0.024437209591269493, 0.07614210247993469, -0.04171875864267349, -0.08212361484766006, -0.02279280684888363, -0.07496204972267151, -0.028901275247335434, -0.06353233754634857, 0.044509097933769226, 0.043549638241529465, -0.08606017380952835, -0.022854795679450035, 0.004230429884046316, 0.005892562214285135, -0.08446481078863144, 0.0023068212904036045, 0.02831416390836239, -0.07539524883031845, -0.011843454092741013, 0.06396077573299408, -0.0334043949842453, -0.06102724373340607, -0.009146067313849926, 0.06500759720802307, -0.012019990012049675, -0.012322474271059036, 0.023560065776109695, -0.023855702951550484, -0.015221817418932915, -0.030435865744948387, -0.05969785153865814, -0.057607829570770264, 0.0022480033803731203, -0.03214459866285324, -0.05793889984488487, -0.011762687936425209, -0.06318677216768265, -0.09514868259429932, 0.057206813246011734, -0.0463121272623539, -0.028686147183179855, 0.02795431949198246, 0.00637624878436327, 0.007815755903720856, -0.010363515466451645, 0.022368915379047394, -0.006717258132994175, -0.018257495015859604, 0.04307205602526665, -0.03414774313569069, 0.02791381999850273, 0.06597840785980225, -0.054506901651620865, 0.036685578525066376, 0.08559785783290863, -0.0015044973697513342, -0.0387311615049839, -0.02963784895837307, 0.009450496174395084, -0.020077358931303024, -0.025706620886921883, 0.013561869971454144, 0.02195645496249199, 0.0182780921459198, 0.04593942314386368, -0.006368972361087799, -0.07983983308076859, -0.018000515177845955, -0.3452824354171753, -0.03925039619207382, -0.010600862093269825, -0.015892691910266876, 0.008775047957897186, -0.04360675811767578, -0.01737668551504612, -0.013697286136448383, -0.05700179561972618, 0.0401323027908802, 0.05822756513953209, -0.0009339448297396302, 0.019485224038362503, -0.07129097729921341, -0.02688947319984436, 0.014996492303907871, -0.054490070790052414, -0.007264578249305487, -0.013872138224542141, 0.018537072464823723, 0.005586315877735615, 0.0049859159626066685, -0.00996413268148899, -0.051347870379686356, -0.016506252810359, -0.06394854187965393, 0.16007083654403687, 0.030240125954151154, 0.08053723722696304, 0.002712737303227186, 0.04906854405999184, -0.02277681604027748, -0.026177681982517242, -0.006357864942401648, 0.02151455171406269, -0.03441595658659935, -0.012517356313765049, 0.02696937881410122, 0.006792557891458273, -0.012552800588309765, -0.016212182119488716, 0.016166454181075096, -0.023165438324213028, -0.021834418177604675, -0.03753376007080078, 0.04275193065404892, 0.01358080841600895, -0.010550370439887047, 0.014864575117826462, 0.0941450297832489, 0.0484732948243618, 0.01899879239499569, 0.03306465595960617, -0.00013307305925991386, 0.05240793898701668, -0.0002407814172329381, -0.06523381918668747, -0.008859881199896336, -0.02157001942396164, 0.010740947909653187, -0.006165811326354742, 0.007495304569602013, 0.023867597803473473, -0.05145182088017464, -0.01691490039229393, 0.0166456401348114, 0.009648698382079601, -0.009811675176024437, 0.01480362843722105, -0.0036006614100188017, 0.004798389971256256, 0.08624818921089172, 0.029262376949191093, 0.027687162160873413, 0.042653199285268784, 0.042695287615060806, 0.004187750164419413, 0.05028138682246208, 0.0293781366199255, 0.0061447094194591045, 0.026907313615083694, -0.004083625040948391, 0.02878471277654171, 0.001684844959527254, 0.055468976497650146, -0.020000869408249855, 0.01618862710893154, 0.016362611204385757, 0.012432672083377838, -0.005711792036890984, -0.01697545312345028, -0.0035407657269388437, -0.021763574331998825, -0.02389136701822281, 0.05372452363371849, -0.025749003514647484, -0.27475255727767944, 0.01691504195332527, 0.036216795444488525, 0.06651350110769272, -0.014002642594277859, 0.013936018571257591, 0.023289339616894722, -0.021308645606040955, -0.00346039654687047, -0.005843278951942921, -0.007000666111707687, 0.047700557857751846, 0.055930376052856445, -0.000004206076937407488, -0.0041029006242752075, -0.037267185747623444, 0.06424318253993988, -0.006048474460840225, 0.015519785694777966, 0.010466005653142929, 0.05762462690472603, -0.012189071625471115, 0.1867157518863678, 0.0182445477694273, 0.021381763741374016, -0.012611428275704384, -0.02689627930521965, 0.0028033105190843344, 0.07443036884069443, 0.014015816152095795, 0.008956239558756351, -0.025250041857361794, 0.05657144635915756, -0.008293616585433483, 0.050684113055467606, -0.0023681640159338713, -0.029037918895483017, 0.04776812344789505, 0.040036946535110474, -0.04073791578412056, -0.02207953669130802, 0.018169840797781944, -0.0707017332315445, 0.047850996255874634, 0.0775819718837738, 0.022719886153936386, 0.01067254226654768, -0.04293002560734749, -0.0373460054397583, 0.014338950626552105, -0.02548360824584961, -0.01582074724137783, 0.0005172445671632886, -0.0351247563958168, 0.015170425176620483, 0.05185548588633537, 0.002222863957285881, -0.035068150609731674, -0.001906855613924563, 0.016536438837647438, -0.0013578312937170267, -0.027945714071393013, 0.11738450080156326, -0.004910778719931841, 0.035621900111436844 ]
[ 0.02008647471666336, 0.05480020120739937, -0.0745856910943985, -0.019903726875782013, -0.03509288281202316, -0.06481754779815674, 0.011821763589978218, -0.04853924363851547, -0.06546724587678909, -0.005262158345431089, -0.03342493996024132, 0.055361900478601456, 0.001639865804463625, -0.012502670288085938, -0.019356250762939453, 0.024841267615556717, 0.00923563726246357, 0.019096704199910164, 0.0681576132774353, 0.002012488665059209, -0.03623173385858536, 0.0028337438125163317, 0.010940082371234894, -0.02685975469648838, -0.033801183104515076, 0.06724996864795685, -0.009685109369456768, 0.038999348878860474, 0.0035807089880108833, -0.07676703482866287, -0.05407393351197243, -0.026404237374663353, -0.017687665298581123, 0.003726211842149496, -0.020915860310196877, 0.001002420554868877, -0.03965090960264206, -0.010370466858148575, 0.04476334899663925, 0.010470449924468994, 0.049695055931806564, -0.013588836416602135, -0.05822718143463135, 0.024576012045145035, -0.027942730113863945, -0.03809648007154465, -0.010066524147987366, -0.004553234204649925, 0.01934497430920601, -0.016986645758152008, -0.07314717769622803, 0.014298560097813606, -0.012985540553927422, -0.019034888595342636, 0.03330817446112633, -0.06021687015891075, -0.0172687117010355, -0.03517083823680878, -0.000714631169103086, -0.011923949234187603, 0.01763923093676567, -0.005326548125594854, -0.03022446669638157, -0.011086544021964073, -0.000838654872495681, -0.044385991990566254, -0.050211235880851746, 0.010256520472466946, 0.011808590963482857, -0.020412558689713478, 0.009797425009310246, 0.010725091211497784, -0.03820519521832466, -0.030186166986823082, -0.0076440260745584965, -0.050018612295389175, 0.046588439494371414, -0.027599094435572624, 0.03939726576209068, 0.012955407612025738, -0.029512904584407806, 0.008626091293990612, 0.015139065682888031, 0.0029313168488442898, -0.0364566370844841, -0.06324023753404617, -0.017923006787896156, 0.03478846698999405, 0.010961261577904224, -0.059877149760723114, 0.01181150320917368, -0.02220347337424755, -0.011728868819773197, 0.03357838839292526, -0.08755113184452057, -0.0294765867292881, 0.018428616225719452, -0.012706225737929344, -0.024565357714891434, 0.7974161505699158, 0.028021739795804024, -0.003442564746364951, 0.00782172754406929, 0.028949812054634094, -0.03934650123119354, 0.024340424686670303, 0.03897477686405182, 0.01860400289297104, -0.010185892693698406, -0.03151301294565201, -0.017167123034596443, 0.030226243659853935, 0.042689740657806396, 0.02509569749236107, -0.02627001516520977, 0.022834111005067825, -0.03725646063685417, 0.02108360081911087, 0.004625796806067228, 0.00022104845265857875, -0.0012299182126298547, -0.0051001301035285, 0.05738373473286629, 0.019904376938939095, -0.004215931054204702, -0.15052467584609985, -0.01877429522573948, -7.738559960739377e-33, -0.020453384146094322, -0.007732854224741459, 0.014393921941518784, 0.0106746144592762, 0.035982895642519, 0.010923500172793865, 0.0026111521292477846, -0.009179520420730114, 0.012304087169468403, -0.012281568720936775, 0.01905352808535099, -0.00024458992993459105, -0.01819254830479622, 0.015447010286152363, 0.034561194479465485, -0.021109307184815407, 0.03622380644083023, 0.042827751487493515, 0.052140284329652786, -0.03582710400223732, 0.03869429975748062, 0.02677440084517002, 0.04238426312804222, 0.03875650465488434, 0.0271750558167696, -0.023889126256108284, -0.02373695932328701, -0.01961136795580387, 0.017030533403158188, -0.03280027210712433, -0.017971977591514587, 0.0567813515663147, -0.027868133038282394, -0.04336509853601456, 0.022717516869306564, -0.04632797837257385, -0.011739006265997887, 0.011112370528280735, 0.005516269709914923, -0.020530803129076958, -0.0673551931977272, 0.027999935671687126, 0.025271417573094368, 0.003344027092680335, -0.03904542699456215, -0.020301366224884987, 0.01903875544667244, 0.06178189069032669, 0.025921979919075966, 0.02698718011379242, -0.038724638521671295, 0.018636338412761688, 0.025677211582660675, 0.013909012079238892, -0.0114079425111413, -0.039233677089214325, 0.03496025130152702, -0.010576434433460236, -0.010678946040570736, -0.008673983626067638, 0.0172402523458004, -0.018849849700927734, 0.014545784331858158, -0.000050713915697997436, -0.02102944627404213, -0.004612640477716923, 0.0266221035271883, 0.017720133066177368, 0.03418070450425148, 0.05262152478098869, -0.03905317559838295, 0.025510696694254875, -0.010306766256690025, -0.03920814394950867, 0.02541057951748371, -0.0423186719417572, 0.03178734332323074, -0.01539701595902443, 0.023676419630646706, -0.007129596080631018, 0.029019629582762718, 0.026732847094535828, -0.02822558768093586, -0.04015000909566879, -0.02244480513036251, 0.00627886364236474, -0.020443405956029892, -0.01363668218255043, -0.00784526951611042, -0.029015108942985535, 0.03630131855607033, 0.02458653226494789, -0.06859580427408218, -0.026311194524168968, -0.009127954952418804, 7.143842838511827e-33, 0.019704295322299004, 0.004861179739236832, -0.0441257506608963, -0.02693207375705242, 0.023235999047756195, -0.0433848537504673, 0.06916913390159607, -0.01183815486729145, -0.005311270244419575, 0.03489728644490242, -0.02898581698536873, -0.001937995431944728, 0.0027956950943917036, 0.01550688873976469, 0.07996590435504913, -0.004244341515004635, 0.019865456968545914, 0.023092836141586304, 0.01867600530385971, -0.04100928455591202, -0.036422520875930786, 0.014287572354078293, -0.008344247005879879, -0.0031401740852743387, -0.02368505299091339, 0.022097012028098106, -0.024318644776940346, -0.023055600002408028, -0.010787772946059704, 0.02953363209962845, -0.007875735871493816, -0.013519532047212124, 0.0044050500728189945, 0.013496694155037403, 0.003298569470643997, 0.07333135604858398, 0.012232212349772453, -0.022998549044132233, 0.007676306646317244, -0.01552552916109562, 0.058357056230306625, 0.012419191189110279, 0.0201700571924448, 0.03702716901898384, 0.010606587864458561, 0.010967767797410488, 0.015854287892580032, 0.02487236261367798, -0.004479878582060337, -0.02798689715564251, -0.002669937675818801, 0.05852235108613968, -0.024154921993613243, -0.0006058466387912631, 0.03241272270679474, -0.018590062856674194, -0.01601511985063553, 0.03347116708755493, -0.01608067750930786, -0.004075130447745323, -0.01899271085858345, -0.01747393235564232, -0.028865357860922813, 0.01893904246389866, -0.011704839766025543, 0.017066922038793564, -0.045896660536527634, -0.021363727748394012, 0.010683523491024971, 0.01692970283329487, -0.03693660348653793, -0.01827300526201725, 0.016821332275867462, 0.02165703848004341, -0.04270065575838089, -0.017840281128883362, -0.018483370542526245, 0.03873209282755852, -0.027031078934669495, 0.03368669003248215, 0.024923790246248245, -0.025952884927392006, 0.03955930098891258, 0.005149650853127241, -0.013973905704915524, 0.010295799933373928, 0.00716426270082593, -0.037148430943489075, -0.026441697031259537, -0.0032120216637849808, 0.03382163122296333, -0.014038785360753536, -0.02485502138733864, 0.00490999361500144, -0.023452291265130043, -1.2729294063262842e-8, -0.05052211135625839, 0.018499551340937614, 0.027573220431804657, 0.0004093183670192957, 0.04525667801499367, 0.010679969564080238, -0.007713740691542625, 0.01948768086731434, 0.001302440301515162, 0.028245655819773674, 0.019353149458765984, 0.010626843199133873, 0.006147648673504591, 0.033427223563194275, -0.005935388617217541, 0.006612423341721296, -0.005739219486713409, -0.02588825859129429, 0.02694939263164997, -0.043676260858774185, -0.006716640666127205, 0.0603841170668602, -0.02073402889072895, 0.0034619683865457773, -0.022797822952270508, 0.017591064795851707, -0.02435225062072277, -0.08604864776134491, 0.03762540593743324, 0.01055832952260971, -0.0007315693655982614, -0.027465680614113808, 0.010670904070138931, 0.013393816538155079, 0.007631012238562107, -0.014501608908176422, 0.018791884183883667, 0.031115064397454262, 0.013662478886544704, 0.002749507548287511, -0.03129612281918526, 0.03777089715003967, -0.028179867193102837, -0.009456719271838665, 0.0057992879301309586, 0.027108877897262573, -0.03443106263875961, 0.04322833567857742, 0.03732139617204666, -0.07789811491966248, 0.045039258897304535, -0.028895298019051552, 0.017022527754306793, -0.016229530796408653, 0.0525144599378109, -0.006903083994984627, -0.029273463413119316, -0.018366025760769844, 0.05975303426384926, 0.013490022160112858, 0.017708128318190575, 0.03539198637008667, -0.0369163379073143, -0.02692110277712345 ]
pythonnumpy-selecting-specific-column-in-2d-array
https://markhneedham.com/blog/2013/01/27/pythonnumpy-selecting-specific-column-in-2d-array
false
2013-01-11 00:40:49
Clojure: Reading and writing a reasonably sized file
[ "clojure" ]
[ "Clojure" ]
In a post a couple of days ago I http://www.markhneedham.com/blog/2013/01/08/kaggle-digit-recognizer-finding-pixels-with-no-variance-using-r/[described some code I'd written in R to find out all the features with zero variance] in the http://www.kaggle.com/c/digit-recognizer[Kaggle Digit Recognizer] data set and yesterday I started working on some code to remove those features. https://twitter.com/jennifersmithco[Jen] and I had previously written some code to parse the training data in Clojure so I thought I'd try and adapt that to write out a new file without the unwanted pixels. In the first version we'd encapsulated the reading of the file and parsing of it into a more useful data structure like so: [source,lisp] ---- (defn get-pixels [pix] (map #( Integer/parseInt %) pix)) (defn create-tuple [[ head & rem]] {:pixels (get-pixels rem) :label head}) (defn tuples [rows] (map create-tuple rows)) (defn parse-row [row] (map #(clojure.string/split % #",") row)) (defn read-raw [path n] (with-open [reader (clojure.java.io/reader path)] (vec (take n (rest (line-seq reader)))))) (def read-train-set-raw (partial read-raw "data/train.csv")) (def parsed-rows (tuples (parse-row (read-train-set-raw 42000)))) ---- So the def +++<cite>+++parsed-rows+++</cite>+++ gives an in memory representation of a row where we've separated the label and pixels into different key entries in a map. We wanted to remove any pixels which had a variance of 0 across the data set which in this case means that they always have a value of 0: [source,lisp] ---- (def dead-to-us-pixels [0 1 2 3 4 5 6 7 8 9 10 11 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 52 53 54 55 56 57 82 83 84 85 111 112 139 140 141 168 196 392 420 421 448 476 532 560 644 645 671 672 673 699 700 701 727 728 729 730 731 754 755 756 757 758 759 760 780 781 782 783]) (defn in? "true if seq contains elm" [seq elm] (some #(= elm %) seq)) (defn dead-to-us? [pixel-with-index] (in? dead-to-us-pixels (first pixel-with-index))) (defn remove-unwanted-pixels [row] (let [new-pixels (->> row :pixels (map-indexed vector) (remove dead-to-us?) (map second))] {:pixels new-pixels :label (:label row)})) (defn -main [] (with-open [wrt (clojure.java.io/writer "/tmp/attempt-1.txt")] (doseq [line parsed-rows] (let [line-without-pixels (to-file-format (remove-unwanted-pixels line))] (.write wrt (str line-without-pixels "\n")))))) ---- We then ran the main method using 'leon run' which wrote out the new file. A print screen of the heap space usage while this function was running looks like this: image::{{<siteurl>}}/uploads/2013/01/encapsulated-read-tiff.jpg[Encapsulated read tiff,406] While I was writing this version of the function I made a mistake somewhere and ended up passing the wrong data structure to one of the functions which resulted in http://www.javamex.com/tutorials/memory/string_memory_usage.shtml[all the intermediate steps that the data structure goes through getting stored in memory] and caused an OutOfMemory exception. A heap dump showed the following: image::{{<siteurl>}}/uploads/2013/01/gone-wrong-tiff.jpg[Gone wrong tiff,600] When I reduced the size of the erroneous collection by using a 'take 10' I got an exception indicating that the function couldn't process the data structure which allowed me to sort it out. I initially thought that the problem was to do with the loading of the file into memory at all but since the above seems to work I don't think it is. When I was working along that theory Jen suggested it might make more sense to do the reading and writing of the files within a 'with-open' which tallies with http://stackoverflow.com/questions/10098402/outofmemory-error-when-processing-a-big-file-in-clojure[a suggestion I came across in a StackOverflow post]. I ended up with the following code: [source,lisp] ---- (defn split-on-comma [line] (string/split line #",")) (defn clean-train-file [] (with-open [rdr (clojure.java.io/reader "data/train.csv") wrt (clojure.java.io/writer "/tmp/attempt-2.csv")] (doseq [line (drop 1 (line-seq rdr))] (let [line-with-removed-pixels ((comp to-file-format remove-unwanted-pixels create-tuple split-on-comma) line)] (.write wrt (str line-with-removed-pixels "\n")))))) ---- Which got called in the main method like this: [source,lisp] ---- (defn -main [] (clean-train-file)) ---- This version had the following heap usage: image::{{<siteurl>}}/uploads/2013/01/all-in-with-open-tiff.jpg[All in with open tiff,403] Its peaks are slightly lower than the first one and it seems like it buffers a bunch of lines, writes them out to the file (and therefore out of memory) and repeats. Any thoughts on this approach are as always very welcome!
null
null
[ -0.001267865183763206, -0.013500169850885868, -0.038698840886354446, 0.0344216525554657, 0.06936303526163101, 0.02276177890598774, 0.03126025199890137, 0.03232955187559128, 0.01324404776096344, -0.01139324251562357, -0.00401207385584712, -0.025549808517098427, -0.06489121168851852, 0.005793155636638403, -0.02374451607465744, 0.06759309023618698, 0.06583935767412186, -0.033894505351781845, 0.030005263164639473, 0.0354023352265358, 0.020203374326229095, 0.05463097617030144, 0.010279462672770023, 0.007507750298827887, 0.01590643636882305, -0.019482212141156197, 0.02629210613667965, 0.01178221870213747, -0.046168483793735504, -0.007989959791302681, 0.05382393300533295, 0.036557745188474655, -0.006577122490853071, -0.003475499339401722, 0.04266621917486191, 0.0005212121759541333, -0.02014518529176712, -0.010638412088155746, 0.005761780310422182, 0.034610386937856674, -0.07169333845376968, 0.025728410109877586, -0.019258620217442513, 0.019212251529097557, -0.03435167670249939, 0.002766203135251999, -0.07925179600715637, 0.0483696386218071, 0.007799349259585142, 0.02385583333671093, -0.04700181260704994, 0.02376324124634266, -0.007806515321135521, -0.018839256837964058, -0.019154077395796776, 0.03522346168756485, 0.03101409040391445, -0.06979378312826157, 0.0567094162106514, -0.03666495904326439, -0.0012108595110476017, -0.03607672452926636, -0.0051304250955581665, 0.013726281002163887, -0.015385978855192661, -0.040830694139003754, -0.016594475135207176, 0.043403249233961105, -0.04166761785745621, -0.0379435271024704, 0.0009154140716418624, 0.012804522179067135, -0.030738942325115204, -0.006752599496394396, 0.01576811447739601, -0.0463624931871891, 0.006844439543783665, 0.07096926867961884, 0.0174318328499794, 0.04858468472957611, -0.016086967661976814, -0.010424922220408916, 0.02570314146578312, 0.014746597036719322, 0.013547279872000217, -0.03786863759160042, -0.045001108199357986, -0.028102926909923553, -0.07443497329950333, 0.029999298974871635, 0.009385230951011181, -0.04829080030322075, -0.013848225586116314, 0.037008270621299744, -0.025290444493293762, 0.020850811153650284, -0.004901082720607519, -0.016441788524389267, -0.028308715671300888, -0.0165528804063797, -0.05194910615682602, -0.018191887065768242, 0.05656973272562027, 0.007523488253355026, -0.08800964057445526, -0.027814194560050964, -0.013414023444056511, -0.015116188675165176, 0.012878486886620522, 0.013495005667209625, -0.023432806134223938, -0.007591393776237965, -0.007046844810247421, 0.0006228514248505235, -0.07903938740491867, 0.05918876826763153, 0.0007211435586214066, -0.02030511572957039, 0.0033422906417399645, 0.023165112361311913, 0.03152093663811684, 0.03132156655192375, 0.008186937309801579, 0.07101824134588242, -0.0065635330975055695, 0.042085014283657074, 0.018400898203253746, 0.04613133519887924, -0.0021253302693367004, -0.04672400280833244, -0.02835051342844963, 0.05284041911363602, -0.03423656150698662, 0.00889458879828453, -0.021189384162425995, -0.0228077732026577, -0.0026243964675813913, -0.007846718654036522, 0.0891185998916626, 0.02901405841112137, 0.016549112275242805, -0.0237509086728096, 0.023443719372153282, -0.006462011020630598, 0.03357679769396782, 0.009053033776581287, -0.0109420046210289, 0.006053760647773743, -0.046760380268096924, 0.022777875885367393, 0.03596493974328041, 0.005033009219914675, 0.06704247742891312, -0.011485129594802856, 0.028271595016121864, 0.06470412760972977, -0.0023737577721476555, 0.040446314960718155, 0.005153251811861992, 0.009573369286954403, 0.03713054209947586, 0.02326478436589241, 0.001217253739014268, 0.04229889065027237, -0.011255109682679176, -0.003203753847628832, 0.029483668506145477, 0.043055687099695206, -0.030597832053899765, -0.01934967003762722, -0.023647688329219818, -0.05596790090203285, 0.04442169517278671, -0.015220865607261658, 0.026101714000105858, 0.01955525577068329, 0.06462842226028442, 0.027863506227731705, 0.058140337467193604, -0.006048704031854868, -0.07475894689559937, 0.05143497884273529, 0.04301904886960983, 0.037449948489665985, 0.0063117025420069695, -0.016394110396504402, 0.10168996453285217, 0.022211680188775063, 0.017584431916475296, 0.026846542954444885, -0.06916536390781403, -0.05871916189789772, -0.02302049659192562, -0.023263482376933098, 0.0854901596903801, -0.05360906571149826, 0.0041314768604934216, 0.04849527031183243, 0.013750462792813778, 0.04917532578110695, 0.0003131744742859155, -0.005407065153121948, 0.03746426850557327, -0.03648247942328453, -0.04621993750333786, 0.02651563473045826, 0.030148258432745934, -0.03873816132545471, -0.02961808815598488, 0.009540561586618423, -0.007664042059332132, 0.015129280276596546, 0.018424859270453453, -0.022384915500879288, 0.06485378742218018, 0.029596615582704544, 0.0460335910320282, -0.008097236976027489, 0.05537405610084534, -0.06026135012507439, 0.010552770458161831, 0.019127538427710533, -0.012188754975795746, 0.003905265824869275, 0.01807534508407116, 0.12475128471851349, 0.05790950730443001, -0.019850915297865868, -0.038577672094106674, 0.004340066108852625, -0.03613632172346115, -0.04340878501534462, 0.00857000146061182, -0.017522092908620834, -0.0042341030202806, -0.010186719708144665, -0.018797067925333977, -0.01777401752769947, 0.015234824270009995, -0.03064907342195511, -0.02280706912279129, 0.07520094513893127, -0.008754562586545944, 0.02627548575401306, 0.013069482520222664, -0.0069945803843438625, 0.003644508309662342, -0.028168151155114174, -0.0683501586318016, -0.02093191258609295, -0.002409030683338642, 0.00794446561485529, 0.0512787401676178, -0.04110679030418396, -0.009100633673369884, -0.03591737523674965, -0.05813528224825859, 0.00043470546370372176, 0.07150924205780029, 0.06194450706243515, -0.01678340882062912, 0.04623284563422203, -0.026258209720253944, -0.024999471381306648, -0.015650557354092598, -0.04763396456837654, -0.038713984191417694, -0.01862768828868866, 0.023085888475179672, 0.02590705081820488, 0.00415807357057929, 0.04480328410863876, 0.02038814313709736, 0.009642435237765312, 0.012919655069708824, -0.050859808921813965, 0.01170890498906374, 0.02479761838912964, -0.013567590154707432, -0.002459224546328187, -0.00493464432656765, 0.027880433946847916, -0.017404232174158096, -0.008088461123406887, -0.003080482827499509, -0.03931580111384392, 0.06665420532226562, -0.04322041571140289, -0.046460192650556564, 0.003697130596265197, 0.013622581027448177, 0.04294757917523384, -0.02922498807311058, -0.009183193556964397, 0.048086054623126984, 0.010923147201538086, 0.01738431118428707, 0.023216145113110542, 0.0076214917935431, 0.035561367869377136, 0.012915320694446564, 0.03178062662482262, 0.05830632522702217, -0.003370605641975999, -0.022504916414618492, -0.038365282118320465, 0.00095031299861148, -0.02491001971065998, -0.28699564933776855, 0.03139016032218933, 0.001727397902868688, -0.02920421026647091, 0.014055388979613781, -0.036001987755298615, 0.009180409833788872, -0.022899368777871132, 0.008368807844817638, 0.003335230052471161, 0.0041257115080952644, -0.02374385856091976, -0.05409904941916466, 0.04428249970078468, 0.008256942965090275, -0.009006315842270851, 0.013601897284388542, -0.03798040375113487, 0.014099887572228909, 0.07136587053537369, 0.025920800864696503, -0.05024614557623863, 0.006620064843446016, 0.04511081799864769, -0.006658235099166632, 0.0550677627325058, -0.08214998990297318, 0.02918921411037445, -0.06323312222957611, -0.026341168209910393, 0.02362511307001114, -0.025971798226237297, 0.01914249360561371, -0.006005620118230581, -0.0017490190220996737, -0.012323002330958843, 0.03803633153438568, 0.029120754450559616, 0.0188557431101799, 0.036917056888341904, -0.010815163142979145, -0.02947625331580639, 0.006067404989153147, -0.021340403705835342, 0.08658992499113083, 0.00409146910533309, -0.08912556618452072, 0.008520152419805527, -0.015965649858117104, 0.07185883820056915, -0.03171158209443092, -0.030915703624486923, -0.010919289663434029, 0.03892718628048897, -0.01762768067419529, -0.014958721585571766, -0.010287387296557426, -0.019267436116933823, -0.031430281698703766, -0.0454879067838192, 0.014233454130589962, -0.06552943587303162, -0.02741420827805996, -0.05963900685310364, -0.03732873499393463, -0.0784381777048111, -0.07840467244386673, -0.01474086195230484, 0.05582791566848755, 0.030184458941221237, -0.05122360587120056, -0.015076721087098122, -0.013723013922572136, -0.11097481101751328, -0.02156185731291771, -0.0362335667014122, -0.01268420834094286, -0.008707874454557896, 0.011429217644035816, 0.03978331387042999, -0.06525006890296936, -0.048925332725048065, 0.05899999290704727, 0.020808827131986618, 0.030887560918927193, -0.0331701897084713, 0.006662724073976278, -0.012464944273233414, -0.01194847747683525, -0.028742387890815735, 0.05695995315909386, -0.026290617883205414, -0.031221114099025726, -0.025829320773482323, -0.005643620155751705, 0.05292591080069542, 0.03882347047328949, -0.004514459986239672, 0.006265181116759777, 0.04229796305298805, 0.031071314588189125, -0.04692172259092331, 0.01184170600026846, -0.02329615317285061, -0.045396190136671066, 0.014369451440870762, -0.05932726338505745, 0.014618417248129845, 0.02413121610879898, 0.014226390048861504, -0.029894687235355377, -0.060277365148067474, -0.012699690647423267, -0.053579557687044144, 0.000731145148165524, -0.008898288011550903, 0.026272978633642197, -0.0006048593786545098, 0.03683222457766533, -0.035709016025066376, -0.0575447604060173, 0.0002589176001492888, -0.0109012546017766, -0.03916192427277565, -0.02444317191839218, -0.05084402114152908, -0.009184448979794979, -0.019405806437134743, -0.002009536372497678, 0.015131670981645584, -0.01935681700706482, 0.03528499975800514, 0.034428101032972336, -0.027192886918783188, 0.02938375622034073, -0.016571033746004105, -0.018918819725513458, -0.034659385681152344, -0.009641825221478939, 0.02079474739730358, 0.00425682170316577, -0.02749708853662014, 0.02310190163552761, 0.02793600596487522, 0.02088550478219986, 0.015086210332810879, 0.026963558048009872, -0.008420886471867561, 0.009726003743708134, -0.01024013664573431, 0.0009059666772373021, -0.026368260383605957, 0.022159477695822716, -0.010803945362567902, -0.03462391346693039, -0.032806240022182465, 0.02360689453780651, -0.013360190205276012, -0.023710308596491814, -0.04139775037765503, 0.04199778661131859, -0.00361187057569623, -0.00040337504469789565, -0.014352528378367424, -0.006759271025657654, 0.042268119752407074, 0.02164461649954319, 0.025662893429398537, -0.001505274442024529, -0.018986137583851814, -0.022320875898003578, -0.005158622283488512, -0.0171048603951931, 0.006366466637700796, -0.02461480349302292, -0.008374311961233616, 0.019880689680576324, 0.025218121707439423, -0.008472619578242302, -0.0024575877469033003, -0.004175120033323765, 0.0013468321412801743, 0.012013718485832214, 0.04321461543440819, 0.05163400247693062, 0.05268586426973343, 0.006073373835533857, -0.0049907551147043705, -0.01936577819287777, -0.02300272136926651, -0.03664245456457138, -0.011443623341619968, -0.033437445759773254, 0.026001092046499252, -0.03603021055459976, -0.06183429807424545, 0.0025657799560576677, 0.02662818506360054, 0.004951540380716324, 0.014539379626512527, -0.0064309630542993546, -0.013915100134909153, -0.005995321553200483, 0.024710215628147125, 0.07480274140834808, -0.05183761194348335, -0.010771307162940502, 0.0036126633640378714, -0.014086100272834301, 0.01718725450336933, 0.01143510453402996, -0.08494070172309875, 0.0013233358040452003, -0.030675237998366356, -0.005144266411662102, -0.029138639569282532, -0.047015510499477386, -0.03187733143568039, 0.01809808611869812, -0.023927615955471992, 0.004095501732081175, -0.013918410055339336, 0.0001582545373821631, -0.026950214058160782, 0.014491439796984196, -0.0010068468982353806, 0.006226383615285158, -0.006673614028841257, 0.039620619267225266, -0.027598993852734566, 0.02443022094666958, -0.021571792662143707, 0.04917941614985466, 0.03072979487478733, -0.025535766035318375, -0.0172027088701725, -0.0314314067363739, 0.01860448531806469, 0.005174366757273674, 0.06901226192712784, 0.003957333974540234, -0.006183480378240347, -0.043076176196336746, 0.03623979911208153, -0.015278819017112255, -0.0036710558924824, -0.015221553854644299, -0.03675362840294838, 0.02121860347688198, 0.04390847310423851, 0.0003378975379746407, 0.021577900275588036, -0.016481967642903328, -0.04426279291510582, 0.07064932584762573, -0.015812406316399574, -0.04578377306461334, -0.022268284112215042, -0.04304470121860504, 0.027630791068077087, 0.00785872433334589, 0.011338496580719948, -0.001571485074236989, 0.03312452882528305, 0.02938268892467022, 0.01472230814397335, 0.023440996184945107, -0.008227076381444931, 0.04600983485579491, -0.023446138948202133, -0.006960796657949686, -0.10745817422866821, -0.005564216524362564, 0.06087648496031761, -0.011433146893978119, -0.02423027716577053, -0.03159847855567932, -0.021425193175673485, 0.011880079284310341, -0.07005558162927628, -0.04159633442759514, 0.05652861297130585, -0.01215796172618866, 0.005807022098451853, 0.004661270417273045, -0.029925642535090446, 0.03213388845324516, 0.021286223083734512, -0.04147665947675705, -0.0306899044662714, -0.02886810153722763, 0.0391833670437336, -0.007414248306304216, 0.036724384874105453, -0.01584450900554657, -0.007980123162269592, 0.0576973482966423, 0.04135846346616745, 0.012968628667294979, 0.07253438234329224, -0.03107045218348503, 0.041355106979608536, 0.038956545293331146, -0.025802413001656532, 0.01358859334141016, 0.04440475255250931, -0.006868230178952217, -0.05072095990180969, -0.0006115276482887566, 0.02356221154332161, -0.031142542138695717, -0.04293807968497276, 0.08519428223371506, 0.01879960484802723, -0.035206880420446396, -0.05146225169301033, 0.03422345966100693, -0.050320759415626526, 0.007837886922061443, -0.016111548990011215, -0.005713459569960833, -0.03273425251245499, 0.05334637686610222, -0.015937210991978645, -0.011959204450249672, 0.06690090894699097, 0.019746793434023857, 0.0018280778313055634, 0.02820735052227974, 0.08503907918930054, 0.11785392463207245, 0.05274578556418419, 0.0036240448243916035, 0.03914016857743263, -0.02149563655257225, -0.025488656014204025, 0.026027973741292953, -0.0022872444242239, 0.0010402806801721454, -0.024140739813447, 0.014354065991938114, 0.07271910458803177, -0.016091857105493546, 0.07382538914680481, -0.040502600371837616, -0.01646622084081173, 0.0033872686326503754, -0.009901925921440125, 0.013544400222599506, 0.057459067553281784, 0.007563448511064053, 0.010305973701179028, -0.01170958299189806, -0.008892722427845001, 0.021180113777518272, -0.001216163276694715, -0.03792216628789902, -0.005956027656793594, -0.005415461026132107, 0.016404280439019203, 0.013162191025912762, 0.06436920911073685, 0.06988244503736496, -0.020013006404042244, -0.03169659152626991, -0.0044402871280908585, 0.04046717658638954, -0.01356048509478569, 0.025347162038087845, -0.025243153795599937, -0.0182447861880064, 0.00474529666826129, -0.023867018520832062, -0.023809636011719704, -0.00034861534368246794, -0.04067491739988327, 0.009205073118209839, -0.04561109095811844, -0.00594056723639369, 0.03648938983678818, 0.003988266922533512, -0.050008755177259445, -0.054739683866500854, -0.0342470146715641, -0.04698733240365982, -0.07060375064611435, -0.0354105643928051, -0.008030409924685955, -0.006343007553368807, -0.04331298545002937, -0.024904809892177582, -0.029656916856765747, -0.022186143323779106, 0.03126093000173569, -0.04852316901087761, 0.006765503901988268, 0.018878770992159843, 0.03632284328341484, 0.011807344853878021, 0.03535880893468857, 0.034288447350263596, 0.0024510035291314125, -0.009392838925123215, 0.01052470039576292, -0.005970914848148823, 0.06966094672679901, 0.030115079134702682, -0.008728789165616035, -0.08445262908935547, -0.005183622241020203, 0.03755449131131172, -0.013685058802366257, -0.08808672428131104, 0.020221181213855743, 0.004287767224013805, 0.002463117241859436, 0.026318687945604324, -0.003161808243021369, -0.0019193330081179738, -0.0234342310577631, -0.024670278653502464, -0.028816895559430122, 0.019163968041539192, 0.03852088376879692, -0.026943489909172058, 0.05744525045156479, 0.03666425123810768, 0.006110232789069414, -0.038224030286073685, -0.03728602081537247, -0.03741854801774025, 0.012105638161301613, -0.04092816263437271, -0.04173506423830986, -0.04696829989552498, -0.08094058185815811, -0.03374440222978592, 0.026492787525057793, -0.04689480736851692, -0.03596312552690506, 0.012449726462364197, 0.0437951534986496, -0.014439628459513187, 0.05012005195021629, -0.010250987485051155, 0.029014952480793, -0.021600866690278053, -0.027084091678261757, -0.028881311416625977, 0.050195202231407166, -0.028516404330730438, 0.03483838587999344, 0.015866857022047043, -0.03992093354463577, 0.0019156106282025576, -0.021036943420767784, 0.034954555332660675, 0.03595654293894768, -0.024974200874567032, -0.0024212831631302834 ]
[ -0.0933561772108078, -0.04546761140227318, -0.025228900834918022, -0.021730324253439903, 0.03869055211544037, -0.04647233709692955, 0.0003802343853749335, 0.0398770347237587, -0.014095456339418888, 0.011872833594679832, 0.03436141088604927, -0.07156970351934433, 0.007754565216600895, 0.013428890146315098, 0.09797491878271103, -0.01000609714537859, 0.013732160441577435, -0.04896945878863335, -0.021214628592133522, 0.012961099855601788, 0.020478904247283936, -0.05459726229310036, -0.035706158727407455, -0.04767872765660286, 0.010638819076120853, 0.03809242695569992, 0.028432177379727364, -0.05720652639865875, 0.0047101182863116264, -0.23647315800189972, 0.010241784155368805, 0.006576634477823973, 0.06549549847841263, -0.03858653083443642, -0.002722188364714384, 0.04028518497943878, 0.009896023198962212, 0.030884603038430214, -0.02374822273850441, 0.020508283749222755, 0.023742662742733955, 0.003833282506093383, -0.0521547794342041, -0.048952095210552216, 0.03738638386130333, -0.004917403683066368, -0.013356275856494904, -0.03722076117992401, -0.019911954179406166, 0.01755554974079132, -0.07243464142084122, -0.011974344030022621, 0.009713487699627876, -0.016443364322185516, 0.011967782862484455, 0.034923069179058075, 0.0471242219209671, 0.07411634922027588, 0.03493025153875351, 0.025999998673796654, 0.011736334301531315, -0.005016593728214502, -0.1302535980939865, 0.079385906457901, 0.03978424146771431, 0.04278971999883652, -0.015142055228352547, -0.054540298879146576, -0.02254377119243145, 0.07387349754571915, 0.015351487323641777, 0.00003501558967400342, -0.026877768337726593, 0.0660441592335701, 0.02042163349688053, -0.043430179357528687, -0.015738295391201973, 0.013803443871438503, 0.0076109482906758785, -0.04070550948381424, -0.0464644618332386, 0.02307537943124771, -0.012961601838469505, -0.013473175466060638, -0.02181381918489933, 0.008684762753546238, -0.04960806295275688, 0.03984680399298668, 0.017190776765346527, 0.01398460753262043, 0.03117377869784832, 0.014973370358347893, 0.049328893423080444, 0.009847930632531643, -0.09984049201011658, 0.008984507992863655, 0.006103879306465387, 0.035592131316661835, -0.023494930937886238, 0.39843127131462097, -0.022864459082484245, -0.02532222494482994, 0.037865810096263885, 0.03448576480150223, 0.007034182548522949, -0.02613828517496586, -0.005336213391274214, -0.044439952820539474, 0.013220039196312428, -0.029020005837082863, 0.03170617297291756, -0.01690913923084736, 0.05481959879398346, -0.02384939230978489, -0.0027624748181551695, -0.01089741662144661, 0.04555318132042885, 0.023841166868805885, 0.018744204193353653, 0.018899234011769295, -0.011036808602511883, 0.001928080222569406, 0.011470376513898373, 0.00019917417375836521, 0.03558911383152008, 0.029780982062220573, 0.01615164615213871, 0.07355016469955444, 0.041346002370119095, 0.0349234901368618, 0.03993583098053932, -0.031816720962524414, -0.07078149914741516, 0.03467445820569992, 0.007032156456261873, 0.012018746696412563, 0.04168762266635895, -0.04733815789222717, -0.01161204557865858, 0.009992972016334534, -0.03763417527079582, -0.011214100755751133, 0.05314812809228897, 0.02599990926682949, -0.01593511924147606, 0.12097478657960892, -0.024754492565989494, -0.03599048778414726, 0.0014343422371894121, -0.06776412576436996, 0.014067343436181545, 0.03898875415325165, -0.015967663377523422, -0.04419910907745361, 0.007746577262878418, 0.04135764390230179, 0.0739482194185257, -0.026700742542743683, -0.09065859764814377, -0.006144876591861248, -0.023389611393213272, -0.04385725408792496, -0.05127468332648277, 0.053106166422367096, 0.027054522186517715, -0.07135923206806183, -0.006045368034392595, 0.005692728329449892, 0.026722798123955727, -0.04713444411754608, 0.009477180428802967, 0.019957920536398888, -0.011258434504270554, -0.007454544305801392, 0.037166476249694824, -0.02114473097026348, -0.04203731566667557, 0.0033870316110551357, 0.036582302302122116, -0.00005865759158041328, -0.02622516267001629, -0.0045572686940431595, -0.03784298524260521, 0.01821785792708397, -0.03989478200674057, -0.07030865550041199, -0.048903688788414, 0.0037878283765167, -0.008973248302936554, 0.0061283232644200325, -0.003426422132179141, -0.027002455666661263, -0.04749470204114914, 0.04434962943196297, -0.03157825022935867, -0.02953360229730606, 0.001769291702657938, 0.006352046504616737, -0.04608319699764252, -0.05081234127283096, 0.012903587892651558, 0.04554375261068344, -0.01848137378692627, 0.010802960954606533, -0.05575156584382057, 0.03635947033762932, 0.056853286921978, -0.05570673197507858, 0.08123616129159927, 0.04635420814156532, 0.007576873991638422, -0.02356165647506714, -0.01612263172864914, 0.006451213266700506, -0.012276378460228443, -0.015613819472491741, 0.013052808120846748, -0.02227458357810974, 0.02149575762450695, 0.027021704241633415, -0.03349752351641655, -0.031951915472745895, -0.0666450709104538, -0.3715202808380127, -0.04084217920899391, -0.0006424699095077813, -0.003219475271180272, 0.03087201900780201, -0.08673027902841568, -0.003102728631347418, -0.0037212525494396687, 0.009753371588885784, 0.013152409344911575, 0.08438524603843689, -0.014813853427767754, -0.008097050711512566, -0.0769854485988617, 0.00003670127989607863, 0.015933005139231682, -0.017536770552396774, -0.023834537714719772, -0.035272423177957535, 0.00121644651517272, -0.0008560975547879934, 0.015879638493061066, -0.028162648901343346, -0.055071353912353516, 0.004057512152940035, -0.022605175152420998, 0.11597414314746857, 0.02724718675017357, 0.0854765847325325, -0.044224802404642105, 0.04162236303091049, -0.0042608571238815784, -0.007509395480155945, -0.0805901437997818, 0.02203793078660965, -0.031994499266147614, -0.018308298662304878, 0.01653994992375374, 0.009771264158189297, -0.011922577396035194, -0.05000082775950432, 0.017911292612552643, -0.048611171543598175, -0.051468510180711746, -0.03919757157564163, 0.03339080885052681, -0.034164540469646454, -0.013975990004837513, -0.0065946271643042564, 0.07678035646677017, 0.011133156716823578, -0.008653855882585049, 0.022285884246230125, 0.02359502576291561, 0.024860860779881477, -0.022250138223171234, -0.07314223051071167, -0.01484979223459959, 0.014468997716903687, -0.01594538800418377, 0.03959769383072853, 0.03530333563685417, 0.020979488268494606, -0.09992179274559021, 0.012504060752689838, 0.020813146606087685, -0.010225886479020119, -0.014017060399055481, 0.034820307046175, -0.01816689968109131, -0.03469954803586006, 0.12066715210676193, 0.02147187665104866, 0.006797893904149532, 0.03338010981678963, 0.06025481969118118, 0.0011755740270018578, 0.01791311800479889, -0.01519395224750042, 0.027164338156580925, 0.03741026297211647, 0.03360234946012497, 0.04453190788626671, -0.018384018912911415, -0.0014357635518535972, 0.018381046131253242, 0.024859560653567314, -0.029919512569904327, 0.05318982154130936, 0.024098752066493034, -0.002064578467980027, -0.00014356528117787093, -0.00042100195423699915, -0.06748157739639282, 0.09509089589118958, -0.007386249024420977, -0.26717841625213623, 0.026779532432556152, 0.03309454023838043, 0.06519574671983719, -0.002916171448305249, 0.024689171463251114, 0.03479064628481865, -0.062244076281785965, -0.021636702120304108, 0.012022076174616814, -0.027171103283762932, 0.05180174112319946, 0.012860322371125221, -0.018861068412661552, 0.033733148127794266, -0.01842554286122322, 0.030200820416212082, -0.008497587405145168, 0.03621917590498924, -0.004957615863531828, 0.024973133578896523, -0.03731856495141983, 0.17618106305599213, -0.010020525194704533, -0.01659337431192398, 0.01956002227962017, -0.01995917223393917, -0.0065251924097537994, 0.07701348513364792, 0.021741550415754318, -0.009725714102387428, 0.02414814755320549, 0.03911785036325455, 0.03253672644495964, 0.03925800323486328, -0.012238713912665844, -0.052289385348558426, 0.03650788590312004, -0.0020072415936738253, -0.005064862780272961, 0.02078322321176529, 0.046193696558475494, -0.03449009358882904, 0.021717049181461334, 0.0824020504951477, -0.003907941281795502, 0.010957158170640469, -0.021965013816952705, -0.04254255071282387, -0.019799357280135155, -0.008672394789755344, -0.03236648440361023, -0.01869075559079647, 0.0030570002272725105, 0.0005014071357436478, 0.07582039386034012, 0.008678510785102844, -0.03566445782780647, 0.008211653679609299, 0.007937822490930557, 0.019824175164103508, -0.058653563261032104, 0.08910023421049118, -0.0003639708738774061, -0.005828848574310541 ]
[ -0.021483030170202255, 0.0008573326631449163, -0.010710869915783405, -0.023468267172574997, 0.009489372372627258, -0.008205285295844078, 0.022109773010015488, 0.035903070122003555, -0.03635123744606972, -0.029117736965417862, -0.012072652578353882, 0.00819807592779398, 0.02741597220301628, -0.008931341581046581, -0.020082876086235046, -0.014731309376657009, -0.01272220816463232, 0.03652166947722435, 0.02646743878722191, 0.014776304364204407, -0.020947428420186043, 0.020964307710528374, 0.04184085130691528, -0.002352469600737095, -0.005092765670269728, 0.04373398795723915, -0.0004756706184707582, -0.01687639392912388, 0.0386645682156086, -0.1260073482990265, -0.007126741576939821, -0.003319208510220051, 0.014433199539780617, 0.01312129758298397, -0.015425986610352993, 0.004337112884968519, -0.025248995050787926, 0.0016389295924454927, -0.014861444011330605, -0.0002285884547745809, -0.0011788205010816455, -0.01779012195765972, -0.016079317778348923, 0.005314754322171211, 0.05242253839969635, 0.024501778185367584, -0.003262702841311693, -0.05131778493523598, -0.027375388890504837, -0.012292787432670593, -0.03404466435313225, -0.0024521294981241226, -0.014565001241862774, 0.02655080147087574, -0.003405320458114147, -0.04589563235640526, -0.036498893052339554, 0.0011533770011737943, 0.020795760676264763, 0.0008129844209179282, -0.004951258655637503, 0.0004805958305951208, -0.017682094126939774, -0.024379760026931763, -0.0026883024256676435, -0.03886310011148453, -0.004553170409053564, 0.0006408566841855645, 0.023816624656319618, -0.01291344128549099, 0.030119629576802254, 0.0590573325753212, -0.03824577108025551, -0.032574377954006195, -0.028415393084287643, 0.025603150948882103, -0.00920058786869049, -0.018812745809555054, -0.0010524970712140203, 0.0006062015891075134, -0.008351312950253487, -0.013814746402204037, 0.03364492580294609, 0.02173355035483837, 0.017729056999087334, -0.017756089568138123, 0.03490479290485382, 0.027710173279047012, 0.00872876588255167, 0.004797755274921656, -0.01754702441394329, 0.04121694341301918, -0.0058055161498487, 0.04253953695297241, -0.0978119820356369, 0.028741424903273582, -0.016569634899497032, 0.00583737064152956, -0.001007868442684412, 0.8495693206787109, 0.018096111714839935, 0.026369694620370865, 0.01182518433779478, 0.0448944978415966, 0.0025959566701203585, -0.00329425442032516, 0.02077101357281208, -0.01195840910077095, -0.004003873094916344, -0.02190183289349079, 0.029078055173158646, -0.006289416458457708, 0.021276947110891342, 0.017819173634052277, 0.0033477707765996456, 0.0063283867202699184, 0.005232549738138914, 0.05487131327390671, 0.018593886867165565, 0.026345767080783844, -0.02250504307448864, -0.016921378672122955, -0.027748363092541695, 0.012338118627667427, -0.006414220202714205, -0.1467890441417694, -0.014683152548968792, -6.347269826361073e-33, 0.04392169043421745, -0.014286431483924389, 0.01813623495399952, -0.03573828563094139, -0.009162346832454205, 0.0064543732441961765, 0.007028741296380758, -0.027628662064671516, -0.04238755628466606, -0.048082102090120316, -0.007824295200407505, -0.004998962860554457, -0.0025329412892460823, 0.0019113676389679313, 0.030813883990049362, 0.016565460711717606, -0.0022454862482845783, 0.0303121879696846, -0.0019861392211169004, -0.009564551524817944, 0.034797750413417816, 0.007954573258757591, -0.013490978628396988, 0.017454126849770546, 0.014318394474685192, 0.012100283056497574, 0.010477856732904911, -0.020369581878185272, -0.01263269130140543, -0.05071599781513214, -0.03267519921064377, 0.002000813838094473, 0.04087867960333824, -0.027579786255955696, 0.014780335128307343, -0.05130210146307945, 0.006458503194153309, 0.02954619936645031, -0.028829941526055336, -0.014477324672043324, -0.018263477832078934, -0.004577054642140865, -0.011175867170095444, -0.043712448328733444, -0.03192596510052681, -0.03933221101760864, 0.013808035291731358, 0.031800754368305206, -0.010468979366123676, 0.016438357532024384, -0.00885123759508133, -0.007783719338476658, -0.004509005695581436, -0.03838128224015236, -0.010363313369452953, -0.0073996009305119514, -0.010389486327767372, -0.00477428687736392, -0.01553597953170538, 0.010884343646466732, 0.022938821464776993, 0.014207965694367886, -0.0012721519451588392, 0.020768845453858376, -0.005615579430013895, -0.027066638693213463, 0.025072161108255386, -0.02481129951775074, -0.002213252242654562, 0.018896015360951424, -0.06408229470252991, 0.0008695954456925392, -0.02910025604069233, -0.0395655483007431, 0.03599728271365166, -0.04946810379624367, 0.010147552005946636, -0.021210717037320137, -0.009329065680503845, 0.03430010750889778, 0.019541895017027855, -0.020493075251579285, 0.0029200902208685875, 0.004815340507775545, -0.020352236926555634, -0.008237294852733612, 0.02966277115046978, -0.014929443597793579, 0.0024852375499904156, 0.016314392909407616, 0.05519682914018631, 0.012658733874559402, -0.015243305824697018, -0.01854872889816761, -0.044285401701927185, 7.063455187962906e-33, -0.016263224184513092, 0.03450348600745201, -0.012951578013598919, 0.02765933983027935, -0.017688050866127014, 0.007691710721701384, 0.06085549667477608, 0.031057538464665413, -0.01698058843612671, 0.022843413054943085, -0.026207540184259415, -0.0021228762343525887, -0.015376267023384571, 0.0034711502958089113, 0.04464979097247124, -0.005199195351451635, -0.006277448497712612, 0.03221086040139198, -0.0339781679213047, 0.01650238409638405, 0.007905569858849049, 0.027516676113009453, 0.009446236304938793, 0.006577497348189354, 0.024805253371596336, 0.06325837224721909, 0.003517206059768796, 0.03142256662249565, -0.030896442010998726, 0.00017668315558694303, -0.016284873709082603, -0.0328979529440403, -0.024377336725592613, -0.008165801875293255, -0.021120144054293633, 0.01368023082613945, 0.022357450798153877, -0.01766112633049488, 0.015631673857569695, 0.020046846941113472, 0.009331307373940945, 0.005036049988120794, -0.02616344951093197, 0.021294666454195976, -0.0033472853247076273, -0.018342837691307068, 0.013240900821983814, 0.04538019001483917, -0.005139592103660107, -0.034004952758550644, -0.0037768406327813864, 0.058021944016218185, -0.01685362122952938, 0.01415659673511982, 0.02048422209918499, -0.028249511495232582, -0.0492735281586647, 0.03958985209465027, -0.028210997581481934, 0.00850676279515028, -0.012531371787190437, -0.027679700404405594, -0.018869660794734955, 0.011562472209334373, -0.015671707689762115, 0.0066713569685816765, -0.023894738405942917, -0.015744837000966072, -0.012675091624259949, -0.01487575564533472, -0.011829109862446785, 0.021048426628112793, 0.004186649806797504, 0.019788779318332672, 0.00644394988194108, -0.0025348307099193335, -0.05789432302117348, 0.025355281308293343, 0.006633451208472252, 0.03260795399546623, 0.04471856355667114, 0.0042723361402750015, 0.011657560244202614, -0.0053755114786326885, 0.04901982843875885, 0.03665347397327423, -0.015407456085085869, 0.014680029824376106, 0.020049983635544777, -0.034398362040519714, 0.00324144191108644, -0.007953756488859653, 0.01601623371243477, 0.030510559678077698, -0.00855172984302044, -1.249166992067785e-8, -0.005653795320540667, -0.01792309433221817, -0.01594841293990612, 0.028851663693785667, 0.042163316160440445, 0.018726231530308723, -0.008811966516077518, 0.0023977779783308506, -0.006528325844556093, -0.0006412681541405618, 0.057459842413663864, -0.029403893277049065, -0.022163834422826767, 0.011487124487757683, 0.04454772546887398, -0.006939183454960585, 0.04857286438345909, 0.013386339880526066, 0.013092884793877602, 0.02540755830705166, -0.015181900933384895, 0.026507364585995674, -0.03449471294879913, -0.00527074933052063, -0.003838007804006338, -0.026901867240667343, 0.0330057330429554, -0.07473823428153992, 0.03236019238829613, -0.024873634800314903, 0.043019767850637436, -0.05273491516709328, 0.021814415231347084, 0.004500063601881266, -0.015305615030229092, -0.02112746611237526, 0.027585916221141815, 0.011280178092420101, 0.02924622781574726, 0.00646229600533843, -0.014567511156201363, -0.007102393079549074, -0.036780595779418945, -0.03647935763001442, -0.04532677307724953, -0.006100742612034082, -0.01412136945873499, -0.018255360424518585, -0.018467048183083534, 0.01481490209698677, 0.028743144124746323, -0.0056577022187411785, -0.00269175972789526, 0.020301656797528267, 0.04084702208638191, -0.019516468048095703, 0.04370103031396866, -0.04825034365057945, -0.04682642221450806, 0.01921388879418373, 0.013766773045063019, -0.00012132422853028402, -0.03665393963456154, -0.011912444606423378 ]
clojure-reading-and-writing-a-reasonably-sized-file
https://markhneedham.com/blog/2013/01/11/clojure-reading-and-writing-a-reasonably-sized-file
false
2013-01-07 00:47:34
Knapsack Problem: Python vs Ruby
[ "ruby", "python", "knapsack" ]
[ "Algorithms" ]
The latest algorithm that we had to code in https://www.coursera.org/course/algo2[Algorithms 2] was the http://en.wikipedia.org/wiki/Knapsack_problem[Knapsack problem] which is as follows: ____ The knapsack problem or rucksack problem is a problem in combinatorial optimization: Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible. ____ We did a slight variation on this in that you could only pick each item once, which is known as the 0-1 knapsack problem. In our case we were given an input file from which you could derive the size of the knapsack, the total number of items and the individual weights & values of each one. The pseudocode of the version of the algorithm which uses a 2D array as part of a dynamic programming solution is as follows: * Let +++<cite>+++A+++</cite>+++ = 2-D array of size +++<cite>+++n+++</cite>+++ (number of items) * +++<cite>+++W+++</cite>+++ (size of the knapsack) * Initialise +++<cite>+++A[0,X] = 0+++</cite>+++ for +++<cite>+++X=0,1,..,W+++</cite>+++ * for i=1,2,3,...n ** for x=0,1,2,\...,w *** A[i,x] = max { A[i-1, x], A[x-1, x-w~i~] + V~i~ } *** where V~i~ is the value of the i^th^ element and W~i~ is the weight of the i^th^ element * return A[n, W] This version runs in O(nW) time and O(nW) space. This is the main body of https://github.com/mneedham/algorithms2/blob/master/knapsack/knapsack.rb[my Ruby solution] for that: [source,ruby] ---- number_of_items,knapsack_size = # calculated from file cache = [].tap { |m| (number_of_items+1).times { m << Array.new(knapsack_size+1) } } cache[0].each_with_index { |value, weight| cache[0][weight] = 0 } (1..number_of_items).each do |i| value, weight = rows[i-1] (0..knapsack_size).each do |x| if weight > x cache[i][x] = cache[i-1][x] else cache[i][x] = [cache[i-1][x], cache[i-1][x-weight] + value].max end end end p cache[number_of_items][knapsack_size] ---- This approach works reasonably well when +++<cite>+++n+++</cite>+++ and +++<cite>+++W+++</cite>+++ are small but in the second part of the problem +++<cite>+++n+++</cite>+++ was 500 and +++<cite>+++W+++</cite>+++ was 2,000,000 which means the 2D array would contain 1 billion entries. If we're storing integers of 4 bytes each in that data structure then the https://www.google.co.uk/search?q=4+bytes+*+1+billion&oq=4+bytes+*+1+billion&aqs=chrome.0.57j0j62l3.3716&sugexp=chrome,mod=0&sourceid=chrome&ie=UTF-8[amount of memory required is 3.72GB] - slightly too much for my machine to handle! Instead a better data structure would be one where we don't have to allocate everything up front but can just fill it in as we go. In this case we can still use an array for the number of items but instead of storing another array in each slot we'll use a dictionary/hash map instead. If we take a bottom up approach to this problem it seems like we end up solving a lot of sub problems which aren't relevant to our final solution so I decided to try a top down recursive approach and this is what I ended up with: [source,ruby] ---- @new_cache = [].tap { |m| (@number_of_items+1).times { m << {} } } def knapsack_cached(rows, knapsack_size, index) return 0 if knapsack_size == 0 || index == 0 value, weight = rows[index] if weight > knapsack_size stored_value = @new_cache[index-1][knapsack_size] return stored_value unless stored_value.nil? return @new_cache[index-1][knapsack_size] = knapsack_cached(rows, knapsack_size, index-1) else stored_value = @new_cache[index-1][knapsack_size] return stored_value unless stored_value.nil? option_1 = knapsack_cached(rows, knapsack_size, index-1) option_2 = value + knapsack_cached(rows, knapsack_size - weight, index-1) return @new_cache[index-1][knapsack_size] = [option_1, option_2].max end end p knapsack_cached(rows, @knapsack_size, @number_of_items-1) ---- The code is pretty similar to the previous version except we're starting from the last item and working our way inwards. We end up storing 2,549,110 items in +++<cite>+++@new_array+++</cite>+++ which we can work out by running this: [source,ruby] ---- p @new_cache.inject(0) { |acc,x| acc + x.length} ---- If we'd used the 2D array that would mean we'd only populated 0.25% of the data structure, truly wasteful! I wanted to do a little bit of profiling on how fast this algorithm ran in Ruby compared to JRuby and I also recently came across http://www.martiansoftware.com/nailgun/[nailgun] - which allows you to http://www.tamingthemindmonkey.com/2012/10/15/jruby-faster-feedback-cycle-using-nailgun[start up a persistent JVM and then run your code via that] instead of starting a new one up each time - so I thought I could play around with that as well!~~~ ~~~ruby # Ruby $ time ruby knapsack/knapsack_rec.rb real 0m18.889s user 0m18.613s sys 0m0.138s # JRuby $ time ruby knapsack/knapsack_rec.rb real 0m6.380s user 0m10.862s sys 0m0.428s # JRuby with nailgun $ ruby --ng-server & # start up the nailgun server $ time ruby --ng knapsack/knapsack_rec.rb real 0m6.734s user 0m0.023s sys 0m0.021s $ time ruby --ng knapsack/knapsack_rec.rb real 0m5.213s user 0m0.022s sys 0m0.021s ~~~ The first run is a bit slow as the JVM gets launched but after that we get a marginal improvement. I thought the JVM startup time would be a bigger proportion of the running time but I guess not! I thought I'd try it out in Python as well because on one of the previous problems https://twitter.com/isaiah_p[Isaiah] had been able to write much faster versions in Python so I wanted to see if that'd be the case here too. This was the https://github.com/mneedham/algorithms2/blob/master/knapsack/knapsack.py[python solution]: ~~~python def knapsack_cached(rows, knapsack_size, index): global cache if(index is 0 or knapsack_size is 0): return 0 else: value, weight = rows[index] if(weight > knapsack_size and knapsack_size not in cache[index-1]): cache[index-1][knapsack_size] = knapsack_cached(rows, knapsack_size, index-1) else: if(knapsack_size not in cache[index-1]): option_1 = knapsack_cached(rows, knapsack_size, index-1) option_2 = value + knapsack_cached(rows, knapsack_size - weight, index-1) cache[index-1][knapsack_size] = max(option_1, option_2) return cache[index-1][knapsack_size] knapsack_size, number_of_items, rows = # worked out from the file result = knapsack_cached(rows, knapsack_size, number_of_items-1) print(result) ~~~ The code is pretty much exactly the same as the Ruby version but interestingly it seems to run more quickly: ~~~python $ time python knapsack/knapsack.py real 0m4.568s user 0m4.480s sys 0m0.078s ~~~ I have no idea why that would be the case but it has been for all the algorithms we've written so far. If anyone has any ideas I'd be intrigued to hear them!
null
null
[ -0.013924148865044117, -0.015285629779100418, -0.04009626805782318, 0.036972519010305405, 0.07994136214256287, 0.04175199940800667, -0.005265179555863142, 0.03960322588682175, -0.01913122460246086, -0.019666144624352455, -0.012480094097554684, -0.01703164540231228, -0.06007298827171326, -0.0002973152440972626, -0.05050106346607208, 0.08484843373298645, 0.06629253923892975, 0.004372145980596542, 0.00721414340659976, 0.00785735808312893, 0.027090881019830704, 0.056232716888189316, 0.04172597825527191, 0.03222942352294922, 0.019835861399769783, 0.006874016020447016, 0.012511543929576874, 0.0057774195447564125, -0.03709765523672104, -0.0021110232919454575, 0.025719620287418365, 0.0176051277667284, 0.02202325128018856, -0.003959010820835829, 0.006799404509365559, -0.010416698642075062, -0.019710157066583633, 0.006393953692167997, 0.000916170421987772, 0.015472489409148693, -0.0491466224193573, 0.04940987378358841, -0.027352165430784225, 0.021059036254882812, -0.04447679966688156, 0.01789294369518757, -0.0324852280318737, 0.00911120418459177, -0.021100420504808426, -0.029399588704109192, -0.06670057028532028, 0.02017059735953808, -0.008179239928722382, -0.01868639886379242, -0.03058241307735443, 0.06231200322508812, 0.010410135611891747, -0.05387928709387779, 0.037096474319696426, -0.05847493186593056, -0.011001337319612503, -0.000010404936801933218, 0.009795358404517174, 0.04254133626818657, -0.008525134064257145, -0.03589003160595894, 0.011816649697721004, 0.06445325165987015, -0.02942992001771927, -0.006482928059995174, -0.03659137710928917, 0.02071993052959442, -0.010636327788233757, -0.035114191472530365, -0.01916109025478363, -0.041399095207452774, -0.004294770769774914, 0.060901641845703125, -0.007078506518155336, 0.04659712314605713, -0.02876902185380459, 0.026516664773225784, -0.0006428427877835929, 0.021840233355760574, -0.007469265256077051, -0.028415825217962265, -0.06607922911643982, -0.020153716206550598, -0.07014840841293335, 0.04422033578157425, 0.031345002353191376, -0.04379703849554062, -0.012515988200902939, 0.031398046761751175, -0.00728754885494709, 0.004327783826738596, -0.011319458484649658, -0.01036487240344286, -0.01345464400947094, -0.008775535970926285, -0.0203031525015831, -0.03514275699853897, 0.04106905683875084, -0.0186578668653965, -0.08685451000928879, 0.007403332740068436, -0.007339457515627146, 0.01654633693397045, 0.020821521058678627, -0.00819568894803524, -0.023479383438825607, 0.004297936800867319, -0.02159145474433899, -0.02598126418888569, -0.07469476014375687, 0.054836444556713104, 0.014222729951143265, -0.015273014083504677, -0.003804955165833235, 0.04343274235725403, 0.01671459712088108, 0.024455476552248, -0.020855266600847244, 0.08402325958013535, 0.014785476960241795, 0.003483387641608715, 0.026992058381438255, 0.05583536624908447, -0.03869854658842087, -0.048172205686569214, -0.019818918779492378, 0.05443481355905533, -0.006293152458965778, -0.00129992444999516, -0.03272886946797371, -0.033031124621629715, -0.03641677647829056, 0.02827584557235241, 0.02565283514559269, 0.04036029800772667, -0.03698716685175896, -0.035614777356386185, 0.035773541778326035, 0.011157145723700523, 0.011459559202194214, -0.008631523698568344, 0.03560325503349304, -0.007953816093504429, -0.028188982978463173, -0.0029714449774473906, 0.0011805285466834903, -0.007854774594306946, 0.03264886885881424, -0.043038174510002136, 0.01562749780714512, 0.0853709876537323, 0.005230080336332321, 0.019431816413998604, -0.02619614079594612, 0.004694273695349693, 0.03928615152835846, 0.01626257784664631, 0.007374129723757505, 0.034691110253334045, -0.006136173382401466, -0.03065154142677784, 0.01992243342101574, 0.09216486662626266, -0.007274235133081675, -0.013661929406225681, -0.04789555072784424, -0.04913277179002762, 0.04702914506196976, -0.027627024799585342, -0.022860810160636902, 0.041344817727804184, 0.07610154151916504, 0.023735307157039642, 0.05157380923628807, 0.00024165977083612233, -0.08007436245679855, 0.039076559245586395, 0.0366496779024601, 0.0018716378835961223, 0.03390342742204666, -0.00481886463239789, 0.0810062363743782, 0.04184059426188469, 0.028677688911557198, 0.022165942937135696, -0.053553659468889236, -0.08192209899425507, -0.042647089809179306, -0.026673616841435432, 0.058233313262462616, -0.02212478220462799, 0.008445498533546925, 0.040546949952840805, -0.008006911724805832, 0.034522708505392075, 0.03237389028072357, 0.013405203819274902, 0.02960721217095852, -0.032894350588321686, -0.06566855311393738, 0.06504213809967041, 0.05637436360120773, -0.027762845158576965, -0.05579742044210434, 0.017815610393881798, -0.019819147884845734, -0.013794961385428905, 0.010190113447606564, -0.03700214996933937, 0.04731468856334686, 0.003788739675655961, 0.06569207459688187, 0.01891888491809368, 0.07533973455429077, -0.05844147503376007, 0.02243734337389469, -0.00008710135443834588, -0.01441965065896511, 0.008684071712195873, 0.014396865852177143, 0.11584962159395218, 0.06447609513998032, -0.026901422068476677, -0.0282102283090353, 0.013086389750242233, 0.013859977945685387, -0.05228491127490997, -0.0038477922789752483, 0.0026604963932186365, -0.00769083434715867, 0.01027662493288517, -0.06767897307872772, -0.027749404311180115, 0.020720940083265305, -0.04108961671590805, -0.03427140787243843, 0.09411448240280151, -0.03059490956366062, 0.0627928301692009, 0.026389097794890404, -0.02867729403078556, -0.015338658355176449, 0.0004303680034354329, -0.045389242470264435, 0.0033463663421571255, 0.007397611625492573, -0.004142157733440399, 0.04631642624735832, -0.006348527502268553, -0.023016368970274925, -0.03267600014805794, -0.007170694414526224, 0.005721847992390394, 0.07188159972429276, 0.06876601278781891, -0.007710179779678583, 0.04350119084119797, 0.008479275740683079, -0.005026260856539011, -0.04022463038563728, -0.07028009742498398, -0.04114606976509094, -0.018515247851610184, 0.02745581977069378, 0.03972191736102104, 0.024500122293829918, -0.00035425496753305197, 0.010642586275935173, -0.00634565157815814, 0.013827010989189148, -0.0363144725561142, 0.05585864186286926, 0.023085659369826317, -0.04390849173069, -0.02033659629523754, -0.022123001515865326, 0.061329472810029984, -0.03904419019818306, -0.044772859662771225, 0.022069327533245087, -0.06467916816473007, 0.050120025873184204, -0.07313437759876251, -0.032819412648677826, 0.012457553297281265, 0.004696018993854523, 0.049001943320035934, -0.04767536371946335, -0.020957158878445625, 0.05204537883400917, -0.009994613006711006, 0.010603794828057289, 0.020734379068017006, 0.03425663709640503, 0.003593181259930134, -0.014936513267457485, 0.011165643110871315, 0.013440781272947788, 0.01656048744916916, -0.013100477866828442, -0.047178965061903, 0.036486055701971054, -0.011771940626204014, -0.28039854764938354, 0.036097683012485504, 0.00058834656374529, -0.022566525265574455, 0.023529410362243652, -0.0035089801531285048, -0.009207594208419323, -0.03081975318491459, 0.0024126307107508183, 0.00811371672898531, -0.008068368770182133, -0.04840501770377159, -0.030027465894818306, 0.0600862056016922, 0.012361915782094002, 0.021057667210698128, 0.01967199705541134, -0.015925416722893715, -0.012991799972951412, 0.025583278387784958, 0.009656526148319244, -0.08697021752595901, -0.0030437482055276632, 0.03684559836983681, 0.017063574865460396, 0.06336605548858643, -0.08131338655948639, 0.02186599187552929, -0.05032580718398094, -0.02332817204296589, -0.012111088261008263, -0.01762964017689228, -0.0027594375424087048, -0.013543092645704746, 0.014992617070674896, -0.03997216746211052, 0.04721231758594513, -0.0012285925913602114, -0.002794364234432578, 0.03555558994412422, -0.009782915934920311, -0.027667595073580742, 0.008595764636993408, -0.007205197121948004, 0.08590958267450333, 0.026880549266934395, -0.03529050573706627, -0.021212317049503326, -0.026503434404730797, 0.07049728184938431, -0.008466983214020729, -0.04067806527018547, -0.017277931794524193, 0.045645177364349365, 0.004954266827553511, -0.027083391323685646, 0.013279339298605919, -0.004885826259851456, -0.02494615502655506, -0.03067990578711033, 0.013769618235528469, -0.025477590039372444, -0.0021644611842930317, -0.05021834373474121, -0.01042510848492384, -0.05606284737586975, -0.05076257884502411, -0.005267562344670296, 0.05468933284282684, 0.011325596831738949, -0.03680083155632019, -0.009070404805243015, 0.00223712669685483, -0.09706536680459976, -0.013328121975064278, -0.0030288726557046175, -0.03614466264843941, 0.004572233185172081, -0.009961468167603016, 0.043385524302721024, -0.052841655910015106, -0.06892113387584686, 0.036749217659235, 0.012055166997015476, 0.019037917256355286, -0.0482303760945797, 0.0020252298563718796, -0.005612868349999189, -0.022087635472416878, 0.0020065135322511196, 0.050815120339393616, 0.010757221840322018, -0.006421317812055349, -0.019806448370218277, 0.041626352816820145, 0.03486184403300285, 0.020538493990898132, 0.003251949092373252, 0.03391740471124649, 0.05118115618824959, 0.00903364084661007, -0.051824621856212616, 0.037259507924318314, -0.007407081313431263, -0.03473833575844765, 0.007487420458346605, -0.035732001066207886, 0.01441934984177351, 0.04919859766960144, 0.013485853560268879, -0.007159191183745861, -0.07227115333080292, 0.025030849501490593, -0.0650172084569931, -0.027742236852645874, -0.0034190115984529257, 0.028614467009902, 0.021999767050147057, 0.009396723471581936, 0.009158256463706493, -0.07425866276025772, 0.05291837826371193, -0.009233351796865463, -0.02110014483332634, -0.06874217838048935, -0.026831500232219696, -0.023359671235084534, -0.035504769533872604, -0.01625858247280121, -0.017831942066550255, -0.01939707249403, 0.03816267102956772, 0.02852625399827957, -0.04650638997554779, 0.03930475562810898, -0.002289070514962077, -0.03574313968420029, -0.06608947366476059, 0.013813643716275692, -0.015614913776516914, 0.007874597795307636, 0.0033837012015283108, 0.004955083131790161, -0.0047668772749602795, 0.05661656707525253, 0.010310362093150616, 0.05428251251578331, -0.008981005288660526, -0.0006266584387049079, 0.0013436361914500594, -0.0078033460304141045, -0.05396771430969238, 0.035609468817710876, -0.03448362648487091, 0.00266277021728456, -0.008964266628026962, 0.0316682867705822, -0.014934706501662731, -0.03783780336380005, -0.036545198410749435, 0.012838113121688366, -0.03252642974257469, -0.020662713795900345, -0.025669686496257782, 0.011615866795182228, 0.0770263522863388, -0.009756427258253098, 0.009338077157735825, -0.01514675747603178, 0.021340051665902138, 0.02429930493235588, -0.0015425127930939198, -0.07234151661396027, 0.003840111196041107, -0.006167034152895212, -0.045992642641067505, 0.048390571027994156, -0.007898804731667042, -0.005349180195480585, 0.005060967523604631, -0.02709329128265381, -0.03849005699157715, 0.020807107910513878, -0.011023728176951408, 0.05605146288871765, 0.030926838517189026, -0.029917418956756592, -0.003002712968736887, -0.04498926177620888, -0.025583839043974876, -0.015646373853087425, -0.01612214744091034, 0.0037622093223035336, 0.0001512013259343803, -0.001810809364542365, -0.05944237485527992, -0.0005444813286885619, 0.01780230738222599, 0.001041891286149621, 0.03953607752919197, -0.005209293682128191, 0.011249657720327377, -0.013095729053020477, 0.04117426648736, 0.05440381169319153, -0.06259182840585709, 0.009394093416631222, -0.02415163815021515, 0.052265770733356476, 0.017180586233735085, 0.008457201533019543, -0.026150686666369438, -0.01747647486627102, -0.0057441117241978645, 0.006760295480489731, -0.042467303574085236, -0.04771643877029419, 0.00721635902300477, 0.02001686580479145, -0.013690435327589512, -0.0028052031993865967, -0.0007735987892374396, 0.002870173193514347, -0.03784216195344925, -0.020868102088570595, 0.042726632207632065, -0.019191965460777283, -0.027461359277367592, 0.00614033080637455, -0.013609856367111206, -0.0026583424769341946, -0.05916673317551613, 0.014666902832686901, 0.034776680171489716, -0.0039950404316186905, -0.008275054395198822, -0.01685273088514805, 0.00816262699663639, -0.0253391545265913, 0.03244655951857567, -0.015564213506877422, -0.011829483322799206, -0.018362240865826607, 0.005225578788667917, -0.038689859211444855, 0.020935330539941788, 0.00013474376464728266, -0.024406343698501587, 0.05499246343970299, 0.03957170620560646, -0.0014047083677724004, 0.003379316069185734, -0.03423433005809784, -0.02127351611852646, 0.04880256578326225, -0.005233668722212315, -0.039554327726364136, -0.02553372271358967, -0.03530833497643471, 0.014490648172795773, -0.0194721482694149, 0.02511567622423172, -0.03248247876763344, 0.04737827926874161, 0.03555528447031975, 0.03126109018921852, 0.006377493962645531, -0.011190255172550678, 0.03254630044102669, -0.04379615560173988, 0.013431261293590069, -0.08809040486812592, -0.0006940256571397185, 0.014645167626440525, 0.01973765715956688, 0.01047100592404604, 0.013659132644534111, -0.04292237386107445, 0.027790401130914688, -0.07312624156475067, -0.027935702353715897, 0.029145656153559685, -0.0076926155015826225, 0.011157410219311714, 0.006263020448386669, -0.05036028474569321, 0.02562101185321808, 0.05766322463750839, -0.04166626185178757, 0.01172640174627304, -0.023144831880927086, 0.0555192232131958, 0.005653729662299156, 0.0011799782514572144, -0.008386162109673023, -0.001294123474508524, 0.05468900874257088, 0.020602252334356308, 0.027825597673654556, 0.03803949058055878, -0.0385042279958725, 0.020874585956335068, 0.019141772761940956, 0.00991438515484333, -0.005741862114518881, 0.03706255927681923, -0.02773417718708515, -0.05680202320218086, 0.03890494257211685, 0.008952928707003593, -0.02046041376888752, -0.03648880124092102, 0.06619741022586823, 0.034778136759996414, -0.03447454422712326, -0.04599524661898613, 0.02463936246931553, -0.07463940232992172, 0.0114435451105237, -0.01755865104496479, -0.02937157079577446, -0.029081061482429504, 0.06600884348154068, -0.018821360543370247, -0.011110147461295128, 0.08229994028806686, 0.008783522062003613, -0.028920164331793785, 0.00032144313445314765, 0.08376257866621017, 0.08283209800720215, 0.052737291902303696, 0.006314303260296583, 0.058361299335956573, -0.04281235113739967, -0.013541735708713531, -0.005215050652623177, -0.018601426854729652, -0.03455249220132828, -0.008143391460180283, 0.008233889006078243, 0.04779788851737976, -0.018752412870526314, 0.05020556226372719, -0.04836520925164223, 0.0033958302810788155, 0.020829807966947556, 0.027412042021751404, 0.019003788009285927, 0.0776774138212204, 0.006654718425124884, 0.04305528476834297, -0.020973660051822662, -0.031052451580762863, 0.042237959802150726, 0.03461698070168495, -0.004668967332690954, 0.014099221676588058, -0.03135453909635544, 0.019124196842312813, 0.03525470942258835, 0.033292256295681, 0.07814077287912369, -0.038585178554058075, -0.01724761351943016, -0.009549062699079514, 0.019657207652926445, -0.007835357449948788, 0.009960954077541828, -0.012685947120189667, -0.037053246051073074, -0.011569363996386528, -0.023088594898581505, -0.011736994609236717, -0.021287037059664726, 0.01700611226260662, 0.03560669347643852, 0.010893726721405983, 0.034703612327575684, 0.03314659371972084, 0.012443463318049908, -0.06019263714551926, -0.04123646765947342, -0.04360560327768326, -0.06804182380437851, -0.05265671759843826, 0.015937814489006996, 0.029436897486448288, 0.021220237016677856, -0.022274747490882874, -0.005119153298437595, 0.007161858957260847, -0.03071882762014866, 0.058873388916254044, -0.04218887537717819, -0.011440644972026348, -0.006193747278302908, 0.03979538008570671, 0.056489162147045135, 0.009387461468577385, 0.04084204509854317, -0.01196630671620369, -0.015119672752916813, -0.01103809755295515, 0.010580289177596569, 0.03265329450368881, 0.039682842791080475, -0.0021989340893924236, -0.06337253004312515, -0.022620227187871933, 0.037498023360967636, -0.043309085071086884, -0.0801616758108139, 0.0090445252135396, 0.009567857719957829, -0.0035045405384153128, 0.051750149577856064, -0.023369917646050453, 0.007411548867821693, -0.050700947642326355, -0.023539915680885315, -0.020673492923378944, -0.008423703722655773, 0.047857023775577545, -0.0440070666372776, 0.06787335872650146, 0.019460266456007957, -0.023464035242795944, -0.07699110358953476, -0.0004466137324925512, -0.021403843536973, 0.018589871004223824, -0.04071340337395668, -0.0019791126251220703, -0.028196336701512337, -0.06723925471305847, -0.008382092230021954, -0.0000800253328634426, -0.027788178995251656, -0.05664185807108879, 0.0266343392431736, 0.016514010727405548, -0.014599584974348545, 0.05020846426486969, -0.06330517679452896, 0.02863430231809616, -0.04370937496423721, 0.0035414034500718117, 0.013290145434439182, 0.02936292067170143, -0.02124897576868534, -0.00029818981420248747, 0.032207928597927094, -0.03169581666588783, -0.0029706794302910566, -0.0034014168195426464, 0.037987325340509415, 0.019678689539432526, -0.0076535847038030624, 0.003441381501033902 ]
[ -0.10457928478717804, -0.019255878403782845, -0.05197363719344139, -0.012217728421092033, 0.03674941137433052, -0.02570568397641182, -0.01960812136530876, 0.005839941091835499, -0.005632814951241016, -0.020685089752078056, 0.03003380261361599, -0.051763325929641724, -0.007970058359205723, -0.002614891156554222, 0.07725225389003754, 0.005109870806336403, -0.008607026189565659, -0.03640124574303627, -0.013416056521236897, 0.03310412913560867, 0.060715556144714355, -0.043836403638124466, -0.06308230012655258, -0.05902450159192085, 0.021150730550289154, 0.021697726100683212, 0.03853580728173256, -0.04249722510576248, 0.0032791774719953537, -0.24168533086776733, 0.018394868820905685, -0.015090223401784897, 0.06677521020174026, -0.03425072506070137, 0.021013163030147552, 0.04448951408267021, 0.016474591568112373, 0.0381285585463047, -0.04116439446806908, 0.05204370617866516, 0.03050105646252632, 0.034220367670059204, -0.034501124173402786, -0.049308471381664276, 0.050293177366256714, 0.020920442417263985, -0.03045867197215557, -0.00952304806560278, -0.00533198332414031, -0.005126631818711758, -0.0633191391825676, -0.02819879911839962, -0.018920492380857468, -0.008175174705684185, 0.010097752325236797, 0.02794446423649788, 0.03246254473924637, 0.033052243292331696, 0.012807591818273067, 0.02177058346569538, 0.021459737792611122, -0.014133119024336338, -0.13677507638931274, 0.05594739317893982, 0.052345845848321915, 0.026474300771951675, -0.006821155082434416, -0.02613214962184429, -0.03116387315094471, 0.11456115543842316, 0.051549822092056274, -0.000964237202424556, 0.020036160945892334, 0.03567534312605858, 0.026592738926410675, 0.012758098542690277, 0.005582564044743776, 0.023305533453822136, 0.04003945738077164, -0.021919667720794678, -0.06664925813674927, -0.008441338315606117, -0.023606643080711365, -0.006321151275187731, -0.04507589712738991, -0.0037986242678016424, -0.02807760052382946, 0.019488217309117317, 0.010652371682226658, 0.01618071272969246, 0.051469940692186356, 0.03380977734923363, 0.04914652928709984, -0.02520672418177128, -0.09524215757846832, 0.00046996353194117546, -0.00713976239785552, 0.038015276193618774, -0.045355699956417084, 0.464494913816452, -0.008749597705900669, 0.011356261558830738, 0.08262226730585098, 0.014083003625273705, -0.03571510314941406, -0.006310429889708757, -0.022031279280781746, -0.05383188650012016, 0.002236136933788657, -0.03772837296128273, 0.00516658928245306, 0.008947228081524372, 0.06944134086370468, -0.03135102614760399, -0.029548875987529755, -0.00037523615173995495, 0.021919799968600273, 0.04065026715397835, 0.0016594115877524018, 0.0295676589012146, -0.008119373582303524, 0.03177889063954353, 0.034352242946624756, -0.004670883063226938, -0.013839309103786945, -0.009771759621798992, -0.026128040626645088, 0.06526249647140503, 0.024557681754231453, 0.011949650011956692, 0.04627051204442978, -0.019567666575312614, -0.07262997329235077, 0.0030747062992304564, 0.001899292110465467, -0.011156649328768253, 0.03173040226101875, -0.024412037804722786, -0.006559183821082115, 0.0309516079723835, -0.033527910709381104, 0.001359606976620853, 0.03590606525540352, -0.026919566094875336, -0.028401248157024384, 0.13917472958564758, 0.005907293874770403, -0.02923886850476265, -0.0041053141467273235, -0.10038687288761139, 0.023084791377186775, -0.012044846080243587, 0.011383055709302425, -0.07189295440912247, 0.0022017585579305887, 0.006530475802719593, 0.0515025295317173, -0.015298762358725071, -0.04890788346529007, 0.010401638224720955, -0.036912862211465836, -0.02136187069118023, -0.056718308478593826, 0.014071824960410595, 0.05817988142371178, -0.0781233012676239, -0.010536542162299156, -0.012591645121574402, 0.0008626078488305211, -0.07126118242740631, 0.01450460497289896, 0.03920421749353409, -0.04472232609987259, 0.024121081456542015, 0.06376395374536514, -0.02212335914373398, -0.04374028369784355, 0.00627589225769043, 0.05151885002851486, -0.01454347837716341, 0.0002804083051159978, 0.009063966572284698, -0.051604121923446655, -0.0056162201799452305, -0.032273612916469574, -0.07186976820230484, -0.03771236538887024, -0.012947313487529755, -0.027167202904820442, 0.006302477326244116, -0.020314276218414307, -0.02883533202111721, -0.05809112265706062, 0.06443720310926437, -0.04316890239715576, -0.05034054070711136, 0.01943054609000683, -0.003418051404878497, -0.013644949533045292, -0.009574972093105316, -0.015615960583090782, 0.02437022142112255, -0.009031879715621471, 0.02487611025571823, -0.02762238308787346, 0.011809810064733028, 0.0324406772851944, -0.05028518661856651, 0.08811357617378235, 0.06021636724472046, 0.0026770285330712795, -0.03477055951952934, -0.028470315039157867, 0.012956562452018261, -0.01069597713649273, -0.02223590575158596, 0.010555279441177845, 0.00502411276102066, 0.00842578336596489, 0.03160747513175011, -0.0005498996470123529, -0.03960031643509865, -0.01984979584813118, -0.3310242295265198, -0.03450310230255127, -0.01718258298933506, -0.002459051553159952, 0.012152536772191525, -0.03301707282662392, 0.014584510587155819, -0.03983926400542259, -0.06234458461403847, 0.03586956113576889, 0.06607945263385773, -0.013481776230037212, -0.025861606001853943, -0.041572120040655136, 0.01737254485487938, 0.010811696760356426, -0.04277355223894119, -0.01648213155567646, -0.03288653492927551, 0.013769377022981644, -0.0022842460311949253, 0.010144689120352268, 0.005476416554301977, -0.03563996031880379, -0.027775771915912628, -0.051312580704689026, 0.1061638668179512, -0.016464652493596077, 0.08333984762430191, -0.038757409900426865, 0.03440084680914879, -0.0032203339505940676, -0.006000721361488104, -0.005934433545917273, -0.00425089243799448, -0.03275160863995552, 0.001721781911328435, -0.010680155828595161, 0.010327366180717945, -0.029494302347302437, -0.0775696337223053, 0.033611543476581573, -0.05332326516509056, -0.018075577914714813, -0.0536779910326004, 0.027220601215958595, -0.023112976923584938, -0.044498052448034286, -0.009244733490049839, 0.08313598483800888, 0.028995439410209656, 0.025484954938292503, 0.05642904341220856, -0.03353297710418701, 0.015086734667420387, -0.03699277341365814, -0.05134112015366554, -0.015476045198738575, 0.003356938948854804, 0.02523292787373066, 0.02607012912631035, 0.0022462853230535984, 0.00652373256161809, -0.03083120845258236, -0.00812634639441967, 0.016050951555371284, 0.0077263968996703625, 0.01815662905573845, -0.0006705964915454388, -0.020073778927326202, 0.019197287037968636, 0.10179830342531204, 0.044839855283498764, 0.007502789609134197, 0.039545927196741104, 0.02280590869486332, 0.01746494323015213, 0.044474221765995026, 0.018053196370601654, -0.011584264226257801, 0.04470158368349075, -0.040603190660476685, 0.03975103795528412, -0.01900300197303295, 0.005538088735193014, 0.04186689853668213, -0.015765080228447914, 0.013132373802363873, 0.04664630815386772, 0.034324366599321365, -0.0003646097902674228, -0.003298758761957288, -0.00634730001911521, -0.02508527785539627, 0.0789203867316246, 0.018412822857499123, -0.2628183960914612, 0.04168855771422386, 0.041398994624614716, 0.03132310137152672, 0.018009917810559273, 0.029001517221331596, 0.029369769617915154, -0.019340163096785545, 0.03741343691945076, -0.030555445700883865, 0.012997625395655632, 0.05963036045432091, 0.018776509910821915, 0.015371357090771198, 0.037764620035886765, -0.055287085473537445, 0.0455811433494091, -0.033483874052762985, 0.05196641758084297, -0.004256055224686861, 0.044203758239746094, 0.012515071779489517, 0.18634599447250366, -0.025435809046030045, 0.0230296291410923, 0.011717830784618855, -0.008452920243144035, 0.01595987379550934, 0.06650937348604202, -0.024831386283040047, -0.006728271953761578, 0.020031988620758057, 0.031523916870355606, -0.015145733952522278, 0.045273032039403915, -0.016548456624150276, -0.007251319009810686, 0.02214975468814373, 0.019901905208826065, -0.004695991054177284, 0.0021785846911370754, -0.0274441447108984, -0.03819531574845314, 0.03440827131271362, 0.06311692297458649, -0.0018425649031996727, 0.002504382049664855, -0.06678763031959534, -0.04248267784714699, 0.004278191365301609, -0.021837076172232628, -0.04078788310289383, 0.00492874626070261, -0.01804075390100479, 0.01514984667301178, 0.033136654645204544, -0.004403359722346067, -0.030351907014846802, -0.028902025893330574, 0.0016933177830651402, -0.02321506105363369, -0.02373310551047325, 0.07002329081296921, -0.005596289876848459, 0.02801329642534256 ]
[ 0.008302455767989159, 0.05453502759337425, -0.03558919578790665, 0.05641825497150421, -0.002192098181694746, -0.05961906164884567, -0.008018204011023045, -0.05014116317033768, -0.020362112671136856, -0.006389899645000696, -0.02934759110212326, 0.005891116801649332, 0.033164456486701965, -0.029554950073361397, 0.004055335186421871, -0.004724657628685236, 0.005326597020030022, -0.01301038172096014, 0.03218100219964981, -0.003194378688931465, 0.009333011694252491, 0.004756908398121595, 0.029051093384623528, -0.018762419000267982, -0.013073383830487728, 0.06657600402832031, -0.04532497003674507, 0.013440866954624653, 0.03678378090262413, -0.1198778823018074, -0.011729246005415916, -0.044189199805259705, 0.00884825550019741, 0.012684437446296215, -0.03986264020204544, 0.025728749111294746, -0.009106732904911041, 0.020326737314462662, -0.035099517554044724, -0.009013540111482143, -0.01063518039882183, 0.012556317262351513, -0.04638558253645897, 0.023139281198382378, -0.032154232263565063, -0.004837438464164734, -0.029912389814853668, -0.0011951905908063054, -0.017766812816262245, 0.030885938555002213, -0.025117261335253716, -0.012548006139695644, -0.008919975720345974, 0.04240933060646057, 0.0046962834894657135, -0.03861561790108681, -0.007006110157817602, 0.009896328672766685, -0.01637408696115017, -0.022812996059656143, 0.041040219366550446, 0.02613438479602337, -0.06865835189819336, 0.0011039995588362217, 0.03757632523775101, -0.03316139429807663, 0.01591377519071102, -0.002801689552143216, -0.012590652331709862, -0.03698843717575073, 0.06200016662478447, -0.0017012142343446612, -0.017168978229165077, -0.0037613571621477604, 0.0516505241394043, -0.007930383086204529, 0.02297549694776535, -0.01814100332558155, 0.01500474102795124, -0.009094160981476307, -0.020650172606110573, 0.02314351685345173, 0.018430620431900024, -0.031004182994365692, -0.026639418676495552, -0.022596023976802826, -0.013367301784455776, 0.003923539072275162, 0.02439754083752632, -0.017172593623399734, -0.024095647037029266, -0.0020559984259307384, -0.008279573172330856, 0.028949161991477013, -0.08440032601356506, 0.014529957436025143, 0.0186310987919569, 0.013716143555939198, -0.022162670269608498, 0.8090417385101318, 0.01609896682202816, -0.00005570039138547145, 0.03981819376349449, -0.02127486653625965, 0.028895845636725426, -0.005590719636529684, -0.0046675559133291245, 0.002122060162946582, -0.010568053461611271, -0.04076502472162247, 0.05010586604475975, 0.030171502381563187, 0.04402236267924309, 0.021341267973184586, 0.015689203515648842, 0.03641355410218239, 0.035891491919755936, 0.00492791086435318, -0.011255275458097458, 0.01045197993516922, -0.015018154866993427, -0.007139250636100769, 0.015306670218706131, 0.01664276234805584, -0.007212628610432148, -0.19543339312076569, -0.04130631685256958, -7.38744053283273e-33, -0.005157458130270243, -0.026081988587975502, 0.005344920326024294, 0.00982600450515747, 0.029206616804003716, -0.038763321936130524, 0.044178858399391174, 0.012291321530938148, -0.03718108683824539, -0.02061939425766468, 0.04510021209716797, -0.0014374474994838238, 0.0026979173999279737, -0.01754525676369667, 0.06932424753904343, -0.05895189940929413, 0.0024455063976347446, 0.043156784027814865, 0.060562945902347565, -0.0032948439475148916, 0.03171549364924431, -0.00423078378662467, 0.047112222760915756, 0.0068158251233398914, 0.024374965578317642, 0.010271617211401463, 0.025446999818086624, -0.031898196786642075, 0.01855436898767948, -0.04998617619276047, 0.0050942255184054375, 0.024405883625149727, -0.028175244107842445, -0.05053410306572914, 0.014128798618912697, -0.040036629885435104, -0.00894178170710802, 0.017020823433995247, -0.02581203728914261, -0.0449652299284935, -0.012478035874664783, -0.007297365460544825, 0.026294460520148277, -0.008816545829176903, -0.017030969262123108, -0.0168953575193882, 0.05395021289587021, 0.05447736382484436, -0.00877316389232874, 0.033465076237916946, -0.03799260035157204, -0.010878339409828186, 0.011437625624239445, 0.033575259149074554, -0.04564194008708, 0.005926682613790035, 0.035952623933553696, 0.022991906851530075, 0.0001979556545848027, 0.024370256811380386, 0.018535705283284187, 0.015345335006713867, 0.004838235210627317, 0.03896239027380943, -0.007224977482110262, -0.03159305080771446, 0.011349539272487164, -0.011218924075365067, 0.026649659499526024, 0.049529824405908585, -0.045149438083171844, -0.01852460950613022, -0.010408453643321991, 0.010987001471221447, 0.013519075699150562, -0.030353691428899765, 0.003160044550895691, 0.005127504467964172, -0.0036117073614150286, 0.007689364720135927, 0.03832017630338669, 0.003657044842839241, 0.024797294288873672, -0.004041962791234255, -0.06793783605098724, 0.0064154136925935745, 0.005002331454306841, -0.036289021372795105, -0.016995899379253387, -0.001983418595045805, 0.04900851100683212, 0.02160641923546791, -0.0391385555267334, -0.014783421531319618, -0.015639523044228554, 7.338244624882878e-33, 0.020502569153904915, -0.014782506041228771, -0.0024029656779021025, 0.004672751761972904, 0.0574953556060791, -0.02460252307355404, -0.017310716211795807, -0.014522875659167767, -0.03810092806816101, 0.03267960995435715, 0.027877073734998703, -0.005083189345896244, -0.01651030406355858, 0.07059453427791595, 0.07311712950468063, -0.012516274116933346, 0.012437572702765465, 0.0017125771846622229, 0.0241119135171175, -0.0036645233631134033, 0.007500853389501572, 0.007129021920263767, -0.029436184093356133, -0.002496989443898201, -0.0062431152909994125, 0.020927898585796356, -0.006827994715422392, 0.0048155211843550205, -0.009635592810809612, 0.031124623492360115, 0.009605331346392632, -0.013558616861701012, -0.010686728172004223, 0.011000423692166805, -0.0028877032455056906, 0.015708500519394875, 0.023604903370141983, 0.006306101102381945, 0.003570383880287409, 0.030794113874435425, 0.05451982468366623, 0.013555808924138546, -0.02150474116206169, 0.009696109220385551, 0.034175805747509, -0.04719463363289833, -0.0026694710832089186, -0.019263504073023796, 0.0023320759646594524, -0.011004149913787842, -0.0072056688368320465, -0.013539345934987068, -0.016942188143730164, 0.021433571353554726, 0.01219162717461586, -0.007521744351834059, -0.04738138988614082, 0.022516895085573196, -0.011060676537454128, -0.0016496655298396945, -0.039553508162498474, 0.028283631429076195, -0.006153808441013098, 0.0026321427430957556, -0.02472284808754921, -0.03435969352722168, -0.041788499802351, -0.03204411268234253, -0.04296417161822319, 0.04249640181660652, -0.04275237396359444, -0.002205917611718178, 0.0053041246719658375, 0.0058364556171, -0.01606523059308529, -0.03788863867521286, 0.021889811381697655, 0.031804975122213364, -0.03438748046755791, 0.014342050999403, 0.036466747522354126, 0.02218816615641117, 0.05437598004937172, 0.0006921281456016004, 0.021698839962482452, 0.025548473000526428, 0.01861467957496643, 0.007835200056433678, -0.03358631208539009, -0.005357394460588694, 0.03151804953813553, -0.0282105915248394, 0.007573828101158142, 0.009862675331532955, -0.0007497152546420693, -1.265818472262481e-8, -0.048998039215803146, 0.02649683691561222, -0.006862160749733448, 0.01648339442908764, 0.04626419022679329, 0.023923834785819054, -0.016734400764107704, -0.014950825832784176, -0.05692456290125847, 0.01952928677201271, 0.009620864875614643, -0.019808106124401093, -0.013888782821595669, -0.0032871838193386793, -0.00983917061239481, -0.010963126085698605, -0.020912928506731987, -0.008155730552971363, 0.02780756913125515, -0.03339365869760513, 0.039195552468299866, 0.0018086046911776066, 0.012113048695027828, 0.020111918449401855, 0.011918481439352036, 0.00971822440624237, -0.005672704894095659, -0.08262664824724197, 0.03408724069595337, 0.05845227837562561, -0.018876012414693832, -0.024388007819652557, -0.021949559450149536, -0.02346963994204998, 0.026667246595025063, -0.03529486060142517, -0.01634671725332737, 0.022994866594672203, -0.014550399035215378, 0.0077967154793441296, -0.04145291447639465, 0.03218755125999451, 0.006561398506164551, -0.028898926451802254, 0.02224009670317173, 0.025326533243060112, -0.05607004836201668, 0.007059527561068535, 0.03279919922351837, -0.049558449536561966, 0.036364346742630005, -0.026329297572374344, 0.021530842408537865, -0.00836417730897665, 0.026988564059138298, 0.002690203720703721, -0.01913265697658062, -0.06414898484945297, -0.00009676882473286241, -0.001108107273466885, 0.027355292811989784, -0.007021400146186352, -0.03107413463294506, -0.022997131571173668 ]
knapsack-problem-python-vs-ruby
https://markhneedham.com/blog/2013/01/07/knapsack-problem-python-vs-ruby
false
2013-01-09 00:12:25
Knapsack Problem in Haskell
[ "haskell", "knapsack" ]
[ "Haskell", "Algorithms" ]
I recently described two versions of the http://www.markhneedham.com/blog/2013/01/07/knapsack-problem-python-vs-ruby/[Knapsack problem written in Ruby and Python] and one common thing is that I used a global cache to store the results of previous calculations. From my experience of coding in Haskell it's not considered very idiomatic to write code like that and although I haven't actually tried it, potentially more tricky to achieve. I thought it'd be interesting to try and write the algorithm in Haskell with that constraint in mind and my first version looked like this: [source,haskell] ---- ref :: a -> IORef a ref x = unsafePerformIO (newIORef x) knapsackCached1 :: [[Int]] -> Int -> Int -> IORef (Map.Map (Int, Int) Int) -> Int knapsackCached1 rows knapsackWeight index cacheContainer = unsafePerformIO $ do cache <- readIORef cacheContainer if index == 0 || knapsackWeight == 0 then do return 0 else let (value:weight:_) = rows !! index best = knapsackCached1 rows knapsackWeight prevIndex cacheContainer in if weight > knapsackWeight && lookupPreviousIn cache == Nothing then do let updatedCache = Map.insert (prevIndex, knapsackWeight) best cache writeIORef cacheContainer updatedCache return $ fromJust $ lookupPreviousIn updatedCache else if lookupPreviousIn cache == Nothing then do let newBest = maximum [best, value + knapsackCached1 rows (knapsackWeight-weight) prevIndex cacheContainer] updatedCache = Map.insert (prevIndex, knapsackWeight) newBest cache writeIORef cacheContainer updatedCache return $ fromJust $ lookupPreviousIn updatedCache else return $ fromJust $ lookupPreviousIn cache where lookupPreviousIn cache = Map.lookup (prevIndex,knapsackWeight) cache prevIndex = index-1 ---- We then call it like this: [source,haskell] ---- let (knapsackWeight, numberOfItems, rows) = process contents cache = ref (Map.empty :: Map.Map (Int, Int) Int) knapsackCached1 rows knapsackWeight (numberOfItems-1) cache ---- As you can see, we're passing around the cache as a parameter where the cache is a Map wrapped inside an http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-IORef.html[IORef] - a data type which allows us to pass around a mutable variable in the IO monad. We write our new value into the cache on lines 11 and 17 so that our updates to the map will be picked up in the other recursive steps. Apart from that the shape of the code is the same as the Ruby and Python versions except I'm now only using a map with a pair as the key instead of an array + map as in the other versions. The annoying thing about this solution is that we have to pass the cache around as a parameter when it's just a means of optimisation and not part of the actual problem. An alternative solution could be the following where we abstract the writing/reading of the map into a +++<cite>+++memoize+++</cite>+++ function which we wrap our function in: [source,haskell] ---- memoize :: ((Int, Int) -> Int) -> (Int, Int) -> Int memoize fn mapKey = unsafePerformIO $ do let cache = ref (Map.empty :: Map.Map (Int, Int) Int) items <- readIORef cache if Map.lookup mapKey items == Nothing then do let result = fn mapKey writeIORef cache $ Map.insert mapKey result items return result else return (fromJust $ Map.lookup mapKey items) knapsackCached :: [[Int]] -> Int -> Int -> Int knapsackCached rows weight numberOfItems = inner (numberOfItems-1, weight) where inner = memoize (\(i,w) -> if i < 0 || w == 0 then 0 else let best = inner (i-1,w) (vi:wi:_) = rows !! i in if wi > w then best else maximum [best, vi + inner (i-1, w-wi)]) ---- We can call that function like this: [source,haskell] ---- let (knapsackWeight, numberOfItems, rows) = process contents cache = ref (Map.empty :: Map.Map (Int, Int) Int) knapsackCached rows knapsackWeight numberOfItems ---- Here we define an inner function inside +++<cite>+++knapsackCached+++</cite>+++ which is a partial application of the memoize function. We then pass our cache key to that function on the previous line. One thing which I noticed while writing this code is that there is some strangeness around the use of 'in' after let statements. It seems like if you're inside an if/else block you need to use 'in' unless you're in the context of a Monad (do statement) in which case you don't need to. I was staring a screen of compilation errors for about an hour until I realised this! These are the timings for the two versions of the algorithm: [source,text] ---- # First one $ time ./k knapsack2.txt real 0m14.993s user 0m14.646s sys 0m0.320s # Second one $ time ./k knapsack2.txt real 0m12.594s user 0m12.259s sys 0m0.284s ---- I'm still trying to understand exactly how to http://book.realworldhaskell.org/read/profiling-and-optimization.html[profile] http://www.haskell.org/haskellwiki/Performance/GHC[and] http://stackoverflow.com/questions/3276240/tools-for-analyzing-performance-of-a-haskell-program[then] http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/runtime-control.html[optimise] the program so any tips are always welcome.
null
null
[ -0.015308813191950321, 0.008504506200551987, -0.027725443243980408, 0.022349214181303978, 0.07386033236980438, 0.039862874895334244, 0.007357967551797628, 0.020394833758473396, 0.003233081428334117, -0.04412712901830673, -0.00931464321911335, -0.027826014906167984, -0.07713630050420761, 0.010221472010016441, -0.004049480427056551, 0.06361782550811768, 0.0741802230477333, -0.0037218492943793535, -0.010361246764659882, 0.03610258549451828, 0.014699732884764671, 0.0758519396185875, -0.002523456234484911, 0.022593634203076363, 0.011317132040858269, 0.030035315081477165, 0.01518690399825573, 0.008172959089279175, -0.06188049539923668, -0.01957656256854534, 0.028585104271769524, 0.03465784713625908, 0.009060772135853767, -0.004742514807730913, 0.019581519067287445, 0.006325250957161188, 0.010160124860703945, -0.018711335957050323, -0.017129866406321526, 0.025105079635977745, -0.03469448164105415, 0.03342197462916374, -0.026636233553290367, 0.008650231175124645, -0.06028327718377113, 0.022035667672753334, -0.02258610725402832, 0.01950172707438469, -0.04231656715273857, -0.039443373680114746, -0.052744992077350616, 0.013563931919634342, -0.0058800517581403255, -0.03288170322775841, -0.018899736925959587, 0.08354033529758453, 0.01731296442449093, -0.0792044997215271, 0.055616144090890884, -0.035585444420576096, -0.025779372081160545, -0.009337351657450199, 0.019968977198004723, 0.03923819214105606, -0.008443179540336132, -0.029947541654109955, -0.01613611727952957, 0.029197711497545242, -0.056737758219242096, -0.03740409389138222, -0.03537539765238762, 0.005636359099298716, -0.007915700785815716, -0.007104427553713322, -0.025907544419169426, -0.024766551330685616, -0.006608934607356787, 0.0729265883564949, 0.0020655738189816475, 0.05150548741221428, 0.0006920540472492576, 0.006583559792488813, -0.0131155950948596, 0.03281957656145096, 0.004637578502297401, -0.038238707929849625, -0.06237991526722908, -0.006899530068039894, -0.052377332001924515, 0.07662557810544968, 0.004153595305979252, -0.03724827244877815, 0.001414929167367518, -0.00433702114969492, -0.015476264990866184, -0.012603438459336758, -0.022728554904460907, -0.01126073393970728, 0.013987530022859573, 0.009626893326640129, -0.040473274886608124, -0.04991781339049339, 0.018926575779914856, -0.021035343408584595, -0.06759363412857056, 0.00999115128070116, -0.03932143747806549, -0.0005106311291456223, 0.014009525068104267, -0.020292194560170174, -0.027854878455400467, -0.003228982910513878, -0.004080886486917734, -0.014333954080939293, -0.0692073330283165, 0.03826122358441353, 0.0011489373864606023, -0.033879123628139496, -0.026789451017975807, 0.028119845315814018, 0.037112828344106674, 0.038669172674417496, -0.004778204020112753, 0.09661407768726349, 0.004840339999645948, 0.028291717171669006, 0.025161676108837128, 0.06133302301168442, -0.017770148813724518, -0.06966492533683777, -0.01150866225361824, 0.04113766551017761, -0.01204618252813816, -0.015266778878867626, -0.0412755012512207, -0.011754865758121014, -0.07898520678281784, 0.02168659307062626, 0.042393721640110016, 0.04153824970126152, 0.020291103050112724, -0.04196283593773842, 0.03896193578839302, 0.009477583691477776, 0.025704165920615196, -0.00041374043212272227, 0.04201388731598854, 0.0036515139508992434, 0.005564166232943535, 0.018371911719441414, 0.0016218377277255058, 0.04082391783595085, 0.04090896621346474, -0.022711386904120445, 0.016511835157871246, 0.0743769109249115, -0.004918178543448448, 0.008295427076518536, -0.005670814774930477, 0.01213522907346487, 0.02655150555074215, 0.02007761411368847, 0.0027722478844225407, 0.029268041253089905, 0.004094218835234642, 0.003175156656652689, -0.003984231036156416, 0.07386716455221176, 0.004846741445362568, -0.023462975397706032, -0.05161722004413605, -0.028307415544986725, 0.07889088243246078, -0.03313851356506348, -0.01067616418004036, 0.020206579938530922, 0.06796911358833313, 0.005538236815482378, 0.05225524678826332, -0.019397642463445663, -0.06845396757125854, 0.02689565159380436, -0.0007180434186011553, 0.03628798946738243, -0.010534069500863552, 0.021373309195041656, 0.07377547025680542, 0.03563511744141579, 0.007798810489475727, 0.02186870388686657, -0.07653039693832397, -0.05571865662932396, -0.029940780252218246, -0.036596618592739105, 0.07955422252416611, -0.016543520614504814, -0.003157116938382387, 0.04925680533051491, -0.0033227449748665094, 0.05321447551250458, 0.03413529694080353, -0.025271274149417877, 0.034240756183862686, -0.0512002557516098, -0.04720870032906532, 0.04921354725956917, 0.061268359422683716, -0.02058805152773857, -0.06351403146982193, 0.002986258827149868, 0.00588882714509964, -0.013777272775769234, 0.02634427137672901, -0.004113852046430111, 0.02128048613667488, 0.04163359850645065, 0.02707846648991108, 0.015936683863401413, 0.07413783669471741, -0.03992076963186264, 0.05621063709259033, 0.011536904610693455, 0.011853125877678394, -0.02564244531095028, -0.00009931974636856467, 0.10767406970262527, 0.05410489812493324, -0.038170818239450455, -0.03309612348675728, -0.0004125912964809686, -0.0003160321502946317, -0.04457228630781174, -0.010134908370673656, -0.007886508479714394, -0.02684159018099308, -0.009978546760976315, -0.02433072403073311, -0.004241469316184521, 0.009661884047091007, -0.02119245007634163, -0.03836911916732788, 0.10079623758792877, -0.009006474167108536, 0.03765493631362915, 0.02054031565785408, -0.023109856992959976, -0.01901346631348133, -0.01990273781120777, -0.04883858188986778, -0.00529682170599699, -0.00427043903619051, 0.005384092219173908, 0.07643219828605652, -0.008362684398889542, -0.021311691030859947, -0.02729022316634655, -0.023815887048840523, 0.03085314668715, 0.05985746160149574, 0.04896000772714615, -0.007704954128712416, 0.0435396246612072, -0.00423269672319293, -0.03846152126789093, -0.03846851736307144, -0.06801127642393112, -0.04099569469690323, -0.0012214110465720296, 0.012574044056236744, 0.016553623601794243, 0.049928970634937286, -0.01898145116865635, 0.010537104681134224, -0.0031533008441329002, -0.0026730254758149385, -0.02864100970327854, 0.03907149285078049, 0.0059543177485466, -0.04894611984491348, -0.027749108150601387, -0.022619225084781647, 0.05664747580885887, -0.056871261447668076, -0.030140837654471397, 0.012025410309433937, -0.04712340235710144, 0.05134033411741257, -0.07143666595220566, -0.050004906952381134, 0.010399785824120045, 0.027426231652498245, 0.016623666509985924, -0.04580715671181679, -0.0060585374012589455, 0.05767729878425598, 0.020573727786540985, 0.01265715528279543, 0.01913115382194519, 0.00902707502245903, -0.00403786962851882, 0.003517280565574765, 0.0063057588413357735, 0.03734632581472397, 0.000777452893089503, -0.00494923023506999, -0.04007681831717491, -0.001854104921221733, -0.02160818688571453, -0.2710053026676178, 0.031841862946748734, -0.03499780222773552, -0.03544272854924202, 0.03784086927771568, 0.00096002162899822, -0.026852956041693687, -0.0177376139909029, -0.003299836302176118, 0.021254034712910652, -0.003630204824730754, -0.05399330332875252, -0.022332653403282166, 0.048534538596868515, 0.001651445752941072, 0.012185880914330482, -0.007592256646603346, -0.01018248125910759, -0.006671621464192867, 0.03594089671969414, 0.0017358853947371244, -0.09720450639724731, 0.004860007669776678, 0.03442949801683426, 0.003710236633196473, 0.05417570099234581, -0.06003502756357193, 0.04146436229348183, -0.04524455964565277, -0.030198117718100548, -0.02062738686800003, -0.02415468543767929, 0.020016448572278023, -0.03623666614294052, -0.024095643311738968, -0.02921089343726635, 0.007893488742411137, 0.0159038994461298, 0.02422155998647213, 0.0551266148686409, -0.027227189391851425, -0.03087228164076805, -0.01812737248837948, -0.005933412350714207, 0.09651129692792892, 0.01190876867622137, -0.05564252287149429, -0.021888751536607742, -0.0489957295358181, 0.04963744059205055, -0.01672978512942791, -0.057702112942934036, -0.018304375931620598, 0.06190060079097748, -0.026796838268637657, -0.015259395353496075, 0.016687573865056038, -0.006540046539157629, -0.03750944882631302, 0.007254786789417267, -0.013440269976854324, -0.026310456916689873, -0.02123516984283924, -0.04007431119680405, -0.021419143304228783, -0.039761919528245926, -0.04589904472231865, 0.0001520461228210479, 0.048515044152736664, 0.015198915265500546, -0.03814968094229698, -0.01789899542927742, -0.006436999421566725, -0.10792510956525803, -0.04068839177489281, -0.02017705701291561, -0.01736512966454029, -0.0028559425845742226, -0.000704243837390095, 0.05782622843980789, -0.040475428104400635, -0.06070847436785698, 0.06008133292198181, 0.03793013468384743, 0.03414273262023926, -0.039872244000434875, -0.02337638847529888, -0.022816983982920647, -0.020353376865386963, -0.0017544865841045976, 0.05594398081302643, -0.006424038205295801, 0.000872753793373704, -0.018722500652074814, -0.0062070488929748535, 0.05215882137417793, 0.015680722892284393, -0.01676901802420616, 0.0322498194873333, 0.04577457532286644, 0.01432033535093069, -0.05056815221905708, 0.02513803541660309, -0.03206872195005417, -0.0012331807520240545, -0.004164593759924173, -0.04553552716970444, 0.04092910513281822, 0.04590693116188049, 0.019503440707921982, -0.009224235080182552, -0.06132753938436508, -0.012539946474134922, -0.0765971839427948, -0.04331914335489273, -0.0071687656454741955, 0.02985142171382904, 0.004441907629370689, -0.021563958376646042, 0.014010393992066383, -0.06982917338609695, -0.00046785754966549575, 0.016602274030447006, -0.006907910108566284, -0.054103005677461624, -0.03190814331173897, -0.021478427574038506, -0.03285950794816017, 0.014018608257174492, 0.021673083305358887, -0.01358990278095007, 0.031083451583981514, 0.020718351006507874, -0.045231785625219345, 0.046234361827373505, -0.004227944649755955, 0.0013161381939426064, -0.0462094321846962, -0.023699218407273293, -0.029336826875805855, 0.049926239997148514, -0.014492012560367584, -0.010158980265259743, 0.024572396650910378, 0.035413943231105804, 0.002692492911592126, 0.05357186496257782, -0.004495805595070124, -0.01523604430258274, -0.002084981417283416, -0.009045297279953957, -0.03856203332543373, 0.04486807435750961, -0.03432952240109444, -0.027424000203609467, -0.007552741095423698, 0.04069797694683075, -0.028904786333441734, -0.043106500059366226, -0.03192218393087387, 0.05820969492197037, -0.02435634844005108, -0.03368084877729416, -0.026985812932252884, 0.026755616068840027, 0.06539171189069748, -0.021139174699783325, 0.031047483906149864, -0.028265303000807762, 0.026822051033377647, -0.020829185843467712, 0.018074139952659607, -0.0639517530798912, 0.012681064195930958, 0.0017322846688330173, -0.034962207078933716, 0.03274514898657799, -0.005331381689757109, 0.002089114161208272, 0.0072989631444215775, -0.011830829083919525, -0.02462519146502018, 0.010749601759016514, -0.0030118084978312254, 0.04179759323596954, 0.004179045557975769, -0.00952839944511652, 0.03068024292588234, -0.015402146615087986, -0.028228603303432465, -0.03706984966993332, -0.01931927353143692, -0.017680367454886436, 0.04742514342069626, -0.0021083324681967497, -0.045268408954143524, 0.0009323166450485587, 0.011134604923427105, -0.0015606386587023735, 0.013093724846839905, 0.009517369791865349, 0.005913376342505217, 0.0052266051061451435, -0.0042595090344548225, 0.06914528459310532, -0.035283152014017105, -0.005383390933275223, -0.0011632301611825824, 0.04374481737613678, 0.022257793694734573, 0.02070826292037964, -0.02588311955332756, -0.013933049514889717, 0.024217966943979263, 0.00043895948329009116, -0.00879481341689825, -0.021067533642053604, -0.01277848333120346, -0.0017948338063433766, -0.015610895119607449, -0.004244744312018156, -0.01030813343822956, 0.012139368802309036, -0.030784130096435547, -0.0322725735604763, 0.01538274995982647, 0.009176425635814667, -0.017066819593310356, 0.015369598753750324, -0.020958365872502327, 0.0288312379270792, -0.03843027353286743, 0.039284344762563705, 0.018620379269123077, 0.008128478191792965, -0.013919143006205559, -0.0024858000688254833, 0.04026634618639946, -0.043354474008083344, 0.03294789418578148, 0.0006307167350314558, 0.0004751877277158201, 0.028590422123670578, -0.0059941909275949, -0.05038862302899361, 0.014202862046658993, 0.03038611449301243, -0.02539089508354664, 0.043979205191135406, 0.04440775513648987, -0.03206552565097809, 0.024561163038015366, 0.018176570534706116, -0.04198886826634407, 0.03302551805973053, -0.03919105976819992, -0.039708200842142105, -0.03775434568524361, -0.03491293266415596, 0.02811753936111927, -0.014451729133725166, 0.02746758982539177, -0.029801834374666214, 0.04673345386981964, 0.03548695892095566, 0.05054422840476036, 0.04834989830851555, -0.019383160397410393, 0.044362545013427734, -0.052557237446308136, 0.016413219273090363, -0.0862850546836853, 0.008728981018066406, -0.010298522189259529, 0.013290639966726303, -0.0216765645891428, -0.014903601258993149, -0.020858298987150192, 0.029916459694504738, -0.05788668245077133, -0.02159910649061203, 0.03214096277952194, -0.0172653179615736, 0.009931109845638275, 0.0038581087719649076, -0.0497627854347229, 0.015692025423049927, 0.010234280489385128, -0.008379865437746048, -0.01590212993323803, -0.041625797748565674, 0.0485592857003212, 0.018455274403095245, 0.02067592926323414, -0.02525009959936142, 0.010143355466425419, 0.05851577967405319, 0.04031923785805702, 0.00532528618350625, 0.03978439420461655, -0.030862513929605484, 0.02882479317486286, -0.0019438012968748808, 0.02011917345225811, 0.0257303174585104, 0.043169841170310974, -0.018376488238573074, -0.060495276004076004, 0.04091784730553627, 0.00811928603798151, -0.0148082310333848, -0.033697593957185745, 0.06813925504684448, 0.009709232486784458, -0.01812938041985035, -0.05604809150099754, 0.05326663330197334, -0.07912898063659668, -0.02365449257194996, 0.0023213971871882677, -0.025799620896577835, -0.05104038119316101, 0.0627843588590622, -0.006001976318657398, -0.024301636964082718, 0.05721428617835045, 0.001137399929575622, -0.003835818264633417, 0.006603906862437725, 0.105165995657444, 0.07351656258106232, 0.044975992292165756, -0.0005675280699506402, 0.04455442726612091, -0.03846338391304016, -0.023382581770420074, -0.031243838369846344, -0.035764798521995544, -0.015129494480788708, -0.002097817836329341, 0.022981205955147743, 0.04506969824433327, -0.029788848012685776, 0.05759295076131821, -0.05032148212194443, 0.015494448132812977, -0.0012552269035950303, 0.033286504447460175, 0.03224704787135124, 0.07140468060970306, 0.033431947231292725, 0.06206318363547325, -0.02414567768573761, -0.022837337106466293, 0.029828952625393867, 0.028909610584378242, -0.020970670506358147, -0.005908566527068615, -0.012175941839814186, -0.0019771838560700417, 0.05562875419855118, 0.013009145855903625, 0.05948122963309288, -0.03792671486735344, -0.019649319350719452, -0.018665680661797523, 0.010158867575228214, -0.01870419830083847, 0.0014248447259888053, -0.016404790803790092, -0.035718195140361786, 0.006084715947508812, -0.02671031840145588, -0.03587204962968826, 0.013465558178722858, -0.01055582333356142, 0.03160948306322098, 0.0015392873901873827, 0.024564160034060478, 0.024795103818178177, 0.017191864550113678, -0.06103930622339249, -0.03490316495299339, -0.05217953398823738, -0.06083586439490318, -0.06430120766162872, 0.03255000337958336, 0.010291974991559982, -0.0018039800925180316, -0.023883318528532982, -0.029044482856988907, 0.01426353957504034, -0.024633653461933136, 0.07281750440597534, -0.011549814604222775, -0.049217235296964645, 0.010932785458862782, 0.02393324486911297, 0.06324625760316849, 0.03799797222018242, 0.04090280085802078, -0.0229786429554224, 0.007224556058645248, 0.02251219004392624, -0.01234226580709219, 0.0522477924823761, 0.020947910845279694, -0.015021948143839836, -0.09051055461168289, -0.031326498836278915, 0.04694688320159912, -0.000020559245967888273, -0.07461725920438766, -0.004002795554697514, -0.00677602831274271, -0.017567802220582962, 0.039055660367012024, -0.020692240446805954, 0.02319764718413353, -0.014871813356876373, -0.015912344679236412, 0.015352335758507252, 0.04054580256342888, 0.04408460110425949, -0.027535298839211464, 0.08817903697490692, 0.025007396936416626, -0.027874503284692764, -0.043981969356536865, -0.004474904853850603, -0.04256041720509529, 0.010896394960582256, -0.01983603835105896, -0.03207175061106682, -0.056562379002571106, -0.03800787031650543, 0.004476667381823063, -0.012679237872362137, -0.020088588818907738, -0.03185351938009262, 0.015090233646333218, 0.05271344631910324, -0.030446665361523628, 0.0561768040060997, -0.039463791996240616, 0.03444352746009827, -0.03569979593157768, -0.04275624081492424, 0.014299655333161354, 0.05893753468990326, -0.005925759673118591, -0.0015744767151772976, 0.02677079103887081, -0.04318903386592865, 0.02635100670158863, 0.0012448239140212536, 0.03208955004811287, 0.01985892839729786, -0.049308713525533676, 0.037539634853601456 ]
[ -0.09994074702262878, -0.03974587470293045, -0.008096789941191673, 0.004490302409976721, 0.006673948839306831, -0.06557590514421463, -0.004458171781152487, -0.020574789494276047, 0.023261601105332375, -0.03480063006281853, 0.01618131250143051, -0.07991120964288712, 0.016613226383924484, 0.03411548584699631, 0.024605629965662956, -0.023640282452106476, -0.04984861984848976, -0.02077399380505085, -0.031625982373952866, 0.0077707660384476185, 0.06747304648160934, -0.060569602996110916, -0.03660466521978378, -0.03719773143529892, 0.02658124454319477, 0.025753334164619446, 0.02797137387096882, -0.014261099509894848, 0.006671920418739319, -0.24684913456439972, -0.018971124663949013, -0.049863122403621674, 0.06373462080955505, -0.03787156939506531, -0.007070321589708328, 0.04251796007156372, 0.029973464086651802, 0.030066441744565964, -0.04713970795273781, 0.08689870685338974, 0.021077189594507217, 0.05417047441005707, -0.034396495670080185, 0.006828214507550001, 0.030983932316303253, -0.0064589218236505985, -0.04958361014723778, -0.0414167195558548, 0.026838695630431175, 0.01707327924668789, -0.05727192014455795, 0.011171714402735233, 0.0005437589134089649, -0.010906592942774296, 0.01978338696062565, 0.017172200605273247, 0.07247620820999146, 0.09402857720851898, 0.004390303511172533, 0.016996031627058983, 0.041883260011672974, 0.0014120477717369795, -0.12943238019943237, 0.06337904185056686, 0.03986520320177078, 0.02677975781261921, -0.05395378917455673, -0.02372749336063862, -0.034454986453056335, 0.09126734733581543, 0.020628666505217552, 0.0007378623122349381, 0.011848258785903454, 0.07631994783878326, 0.024439919739961624, -0.03098614513874054, 0.011211720295250416, 0.01836540922522545, 0.05692727118730545, 0.007597487885504961, -0.08508611470460892, -0.025308800861239433, -0.01530627254396677, -0.0067298924550414085, -0.030933870002627373, 0.0034686801955103874, -0.048095133155584335, 0.0459291934967041, 0.04873627796769142, -0.004035296384245157, 0.007414571475237608, -0.010354422964155674, 0.03250635415315628, -0.0048057702369987965, -0.08255676925182343, 0.003562093246728182, 0.020028866827487946, 0.04837554320693016, -0.03707972913980484, 0.39887702465057373, 0.008265333250164986, 0.005534684751182795, 0.03257765620946884, 0.0349278599023819, -0.02571732923388481, -0.054787348955869675, 0.014310161583125591, -0.029782211408019066, -0.00600290484726429, -0.05957689508795738, -0.023866970092058182, 0.0014071771875023842, 0.06904496997594833, -0.03197846561670303, 0.005399798508733511, 0.023393146693706512, 0.03424655646085739, 0.027121108025312424, 0.017007535323500633, 0.04060887172818184, -0.012402919121086597, 0.02456587180495262, 0.03739257901906967, 0.010046551004052162, -0.00303353532217443, 0.018023425713181496, 0.012501507066190243, 0.06430216878652573, -0.016562113538384438, 0.029504135251045227, 0.053643666207790375, -0.019787156954407692, -0.07868456095457077, -0.009411833249032497, 0.01271365862339735, -0.01013422105461359, 0.023257166147232056, -0.05231453850865364, 0.0366518460214138, -0.014098238199949265, -0.014112257398664951, -0.0036047729663550854, 0.013859017752110958, -0.0071810283698141575, -0.0054330285638570786, 0.14100486040115356, -0.00008989912021206692, -0.013528776355087757, -0.04092364385724068, -0.09627725929021835, 0.01330218743532896, 0.005251740105450153, 0.025134926661849022, -0.07075873017311096, 0.0010722095612436533, 0.025460632517933846, 0.02064529061317444, -0.00828551221638918, -0.04308925196528435, 0.0067640868946909904, -0.06966450810432434, -0.027144964784383774, -0.022174494341015816, 0.017222372815012932, 0.010869486257433891, -0.05146395042538643, -0.039058517664670944, -0.0038510318845510483, 0.008874617516994476, -0.09140784293413162, 0.02559455670416355, 0.031036734580993652, -0.018332969397306442, 0.03806588798761368, 0.039004113525152206, -0.030734432861208916, -0.04745931550860405, -0.022430554032325745, 0.0427599772810936, 0.0019077669130638242, 0.013844740577042103, 0.007538839243352413, -0.05299903824925423, -0.004339703358709812, -0.01326197013258934, -0.05717910826206207, -0.05662008747458458, 0.0007759189466014504, -0.008073554374277592, -0.007022709120064974, -0.03290741145610809, 0.010900851339101791, -0.06444419175386429, 0.04815661534667015, -0.028745368123054504, 0.0007124700350686908, 0.007754852995276451, 0.0029757877346128225, -0.007461867295205593, -0.024750303477048874, 0.019276471808552742, 0.04843529313802719, -0.01382228173315525, 0.024760287255048752, -0.07245581597089767, -0.05154196172952652, -0.0012484295293688774, -0.0703553706407547, 0.07181994616985321, 0.033666592091321945, -0.019135907292366028, 0.007294957060366869, -0.0891319289803505, 0.03533320873975754, -0.03368399664759636, -0.049742866307497025, 0.01885738968849182, -0.023953381925821304, -0.0002306166716152802, 0.0017148690531030297, 0.02276015095412731, -0.05270394682884216, 0.003125048242509365, -0.34237009286880493, -0.014294920489192009, 0.010319288820028305, 0.024127773940563202, 0.015229592099785805, -0.09281941503286362, 0.03901277855038643, -0.041358232498168945, -0.08172864466905594, 0.032743848860263824, 0.04499823972582817, -0.05910089612007141, -0.02319774404168129, -0.01043067965656519, 0.03243877366185188, 0.00542169064283371, -0.038262493908405304, -0.035377759486436844, -0.03373805433511734, 0.032019954174757004, -0.0012164796935394406, -0.01756329834461212, 0.004531627055257559, -0.06751231104135513, 0.006402547005563974, -0.03512553870677948, 0.11112295836210251, -0.015350883826613426, 0.10280448198318481, -0.045334480702877045, 0.041008055210113525, -0.022651368752121925, -0.02852558344602585, -0.04425470530986786, 0.025395764037966728, -0.03275516256690025, 0.011832543648779392, 0.02551261894404888, 0.05213530361652374, -0.016308307647705078, -0.048590995371341705, 0.029038479551672935, -0.044603537768125534, -0.02848949283361435, -0.015906695276498795, 0.011570916511118412, -0.044106606394052505, -0.04950181394815445, -0.0019405008060857654, 0.06315940618515015, 0.009745565243065357, 0.01542944647371769, 0.03126418590545654, -0.016560420393943787, 0.02104782499372959, -0.05347586050629616, -0.024515703320503235, -0.05692911520600319, -0.018622078001499176, 0.012281614355742931, 0.03456994891166687, 0.026506030932068825, 0.02175999991595745, -0.006565042305737734, -0.008001092821359634, -0.0035926082637161016, 0.007989451289176941, -0.011372111737728119, -0.01498146541416645, -0.02838202938437462, -0.0121768144890666, 0.09098874032497406, 0.027725212275981903, 0.0011091707274317741, 0.050766002386808395, 0.05592770129442215, -0.00412978557869792, 0.06377234309911728, 0.037528056651353836, 0.013812156394124031, 0.03931381180882454, -0.014618011191487312, 0.04431767016649246, -0.011278997175395489, 0.03306542709469795, 0.04352540522813797, -0.01919064298272133, 0.07804697006940842, 0.02781830169260502, 0.0056263720616698265, -0.006760000251233578, 0.0061881025321781635, -0.017081575468182564, -0.014907929114997387, 0.05993054434657097, 0.011668949387967587, -0.24298620223999023, 0.03933757171034813, 0.033539094030857086, 0.0032371305860579014, 0.01679050549864769, 0.02270367182791233, 0.03945443779230118, -0.033436067402362823, -0.0032162326388061047, -0.018238622695207596, 0.013947021216154099, 0.06323790550231934, 0.03447119891643524, 0.04081517457962036, 0.030950551852583885, -0.049301717430353165, 0.06720629334449768, -0.026225516572594643, 0.008933772332966328, -0.00005580503784585744, 0.032173532992601395, -0.011474779807031155, 0.2116895467042923, 0.02197633869946003, 0.027499964460730553, 0.020941702648997307, 0.0028737185057252645, 0.010792809538543224, 0.09474039077758789, 0.009254306554794312, 0.028964990749955177, -0.01586265303194523, 0.026781607419252396, -0.008256124332547188, 0.034038569778203964, 0.0064302124083042145, 0.009034666232764721, 0.04012029990553856, 0.0029710903763771057, -0.008380399085581303, -0.014626819640398026, 0.018171139061450958, -0.013690285384654999, 0.0440937839448452, 0.05238278582692146, 0.027904797345399857, -0.016418877989053726, -0.09170496463775635, -0.031254082918167114, 0.000050138001824961975, -0.004438617266714573, -0.042178187519311905, 0.011357447132468224, -0.04120899364352226, 0.016398562118411064, 0.019203580915927887, -0.007747227791696787, -0.05091041326522827, -0.02148650772869587, 0.017529845237731934, 0.03571102395653725, 0.023973241448402405, 0.07291588187217712, -0.024650081992149353, -0.01061959844082594 ]
[ -0.01950008049607277, 0.04421897605061531, -0.02023175358772278, 0.03367110714316368, -0.03186052665114403, -0.03189230337738991, 0.023040631785988808, -0.002414252143353224, -0.03495058789849281, 0.003953941632062197, -0.051932960748672485, 0.013873344287276268, 0.022598186507821083, -0.03711984306573868, -0.012889858335256577, -0.01608363911509514, 0.06033829599618912, 0.03490109369158745, -0.03587329387664795, -0.007080509327352047, 0.004312766715884209, 0.02781977877020836, 0.038399048149585724, 0.005049244035035372, 0.005579908844083548, 0.010554640553891659, -0.042175449430942535, 0.012027873657643795, 0.02440459281206131, -0.07227680832147598, -0.05202397704124451, -0.031413301825523376, 0.013725845143198967, 0.00047197373351082206, -0.00004967087443219498, 0.05883150175213814, -0.024951796978712082, 0.0074112191796302795, -0.014795780181884766, -0.028106292709708214, -0.04111643508076668, -0.005239821504801512, -0.06626510620117188, -0.0009823564905673265, -0.016724880784749985, -0.0032770968973636627, 0.013197574764490128, 0.003984398208558559, -0.025976963341236115, -0.008916717022657394, -0.035595815628767014, 0.025703124701976776, -0.018900476396083832, 0.0364510640501976, -0.005568566266447306, -0.010041583329439163, -0.030365336686372757, -0.05143869295716286, -0.03282242268323898, -0.03398779779672623, 0.004880473017692566, 0.033871233463287354, -0.0355900339782238, 0.002542211441323161, 0.021064959466457367, 0.006133332848548889, -0.0021207157988101244, -0.009679763577878475, 0.007773275952786207, -0.0013080184580758214, 0.05592551827430725, 0.01310323178768158, -0.021878892555832863, -0.0012334655039012432, 0.014469154179096222, 0.0004984778934158385, 0.06503693014383316, -0.03879992663860321, 0.04341207444667816, -0.01885099709033966, -0.050189390778541565, 0.022122222930192947, 0.022694405168294907, 0.00656544417142868, 0.005297566764056683, -0.05209165811538696, 0.018263746052980423, 0.024010837078094482, 0.08983029425144196, -0.02273627184331417, -0.004608931951224804, 0.02682132087647915, 0.005721736699342728, 0.03216158226132393, -0.08766096830368042, -0.010580659843981266, -0.005198931787163019, 0.012016738764941692, -0.011306021362543106, 0.8002731204032898, 0.026328006759285927, 0.020100444555282593, 0.06004172936081886, 0.038393594324588776, 0.02624186873435974, -0.008211277425289154, 0.030387844890356064, -0.011659001000225544, 0.007691550068557262, -0.011513016186654568, 0.039622966200113297, 0.010709984228014946, 0.0700153112411499, 0.055473893880844116, -0.0033460487611591816, 0.016452020034193993, 0.018829969689249992, -0.009464853443205357, -0.0005538577679544687, 0.005885703954845667, 0.01061918307095766, -0.013861511833965778, 0.025822577998042107, 0.031554918736219406, 0.005422613117843866, -0.17452099919319153, -0.03413364291191101, -7.195009168867244e-33, -0.00834460649639368, -0.054367441684007645, 0.04009354114532471, 0.0002569688076619059, 0.006266314536333084, -0.019684212282299995, 0.027833707630634308, -0.013504543341696262, -0.04187578335404396, 0.01846894808113575, 0.02734348177909851, 0.010536479763686657, -0.02367301844060421, -0.009726237505674362, 0.05614231899380684, -0.0032944679260253906, -0.007264315616339445, 0.04873840883374214, 0.0475274883210659, -0.013763953000307083, 0.0074536907486617565, 0.014438925310969353, 0.03637593239545822, -0.00002707709245441947, 0.012640065513551235, 0.020364910364151, 0.03822685033082962, -0.028127005323767662, 0.01831885799765587, -0.035080794245004654, 0.017935849726200104, -0.02667710743844509, 0.015133140608668327, -0.04672456905245781, -0.04494190216064453, -0.04095592349767685, -0.012364103458821774, 0.037852343171834946, -0.04884909838438034, 0.008020452223718166, -0.01327125821262598, 0.010691703297197819, 0.001196404336951673, -0.05731573700904846, -0.009351401589810848, -0.014758927747607231, 0.030030272901058197, 0.0733804777264595, -0.021311672404408455, 0.028640203177928925, 0.007222113199532032, -0.027658231556415558, 0.03445010259747505, 0.022139472886919975, -0.052894312888383865, 0.005253601353615522, 0.019947480410337448, 0.0023101388942450285, -0.002395695773884654, 0.0482652448117733, -0.000499975576531142, 0.00923758652061224, 0.017808368429541588, 0.052035991102457047, -0.020387107506394386, -0.02805366739630699, 0.040231574326753616, -0.009218759834766388, -0.002408696338534355, 0.05515674129128456, -0.06584727019071579, -0.003763012820854783, -0.017502594739198685, -0.003449277486652136, -0.009930118918418884, -0.06565113365650177, -0.01349052507430315, -0.02490183524787426, -0.037778571248054504, 0.017865870147943497, 0.033711742609739304, -0.01629612036049366, -0.009570412337779999, 0.014125706627964973, -0.061826255172491074, -0.002166186925023794, 0.03216763958334923, -0.007671574596315622, -0.0014875198248773813, -0.009004519321024418, 0.020835578441619873, 0.01847023144364357, -0.008648679591715336, -0.03180855140089989, -0.011200549080967903, 7.54369532346769e-33, -0.005808400455862284, -0.025394422933459282, 0.003667130134999752, 0.012261821888387203, 0.018763020634651184, -0.03801577165722847, 0.029537832364439964, -0.04631860926747322, 0.006026176270097494, 0.033207960426807404, -0.03911920264363289, -0.04416320100426674, -0.00542346341535449, 0.049503833055496216, 0.08077257871627808, 0.009061874821782112, -0.003465387038886547, -0.009520887397229671, 0.024696923792362213, -0.008716464973986149, -0.011287447065114975, 0.005904580000787973, -0.034005917608737946, 0.008120999671518803, 0.013431636616587639, 0.022092560306191444, -0.033806800842285156, 0.04593992605805397, -0.01874864101409912, -0.0038067535497248173, 0.01580331102013588, -0.015041298232972622, -0.006774787325412035, -0.008885522373020649, -0.011287562549114227, 0.01185151468962431, 0.006429832894355059, -0.0438665933907032, -0.005777896847575903, 0.010558068752288818, 0.0482967309653759, -0.011286525055766106, 0.016017792746424675, 0.041927870362997055, -0.01341891847550869, -0.02814989723265171, -0.009339777752757072, -0.022341562435030937, 0.01847003772854805, -0.007342047989368439, 0.016754494979977608, -0.022509906440973282, -0.0298168808221817, 0.022210663184523582, 0.03382369130849838, 0.0005411012680269778, -0.031212957575917244, 0.03472944349050522, -0.014609460718929768, -0.039826396852731705, -0.016068924218416214, -0.0018948492361232638, -0.00014611735241487622, 0.001328290905803442, -0.010190178640186787, 0.0028005356434732676, -0.0026584018487483263, -0.07339964061975479, -0.035961251705884933, 0.008761970326304436, -0.039650674909353256, -0.001325853168964386, 0.005582121200859547, 0.02000121772289276, 0.008433766663074493, 0.01069764606654644, 0.01020723395049572, 0.02038772590458393, -0.010039336048066616, -0.008829104714095592, 0.02776937186717987, -0.02931877225637436, 0.04315657168626785, 0.008779830299317837, 0.01452940609306097, 0.0367627888917923, -0.0006153398426249623, 0.051649060100317, -0.010763298720121384, -0.017055636271834373, 0.010415604338049889, -0.05094914510846138, -0.0011687625665217638, -0.013127773068845272, -0.03853379562497139, -1.2594306042501557e-8, -0.005303721409291029, -0.0136113865301013, -0.04653559625148773, 0.046968620270490646, 0.023857304826378822, 0.0234125554561615, 0.028235679492354393, -0.005315315444022417, -0.0426982082426548, 0.009672635234892368, 0.05949263647198677, 0.017376041039824486, 0.004682035651057959, -0.00305553968064487, -0.022108294069767, -0.060302894562482834, -0.014414241537451744, -0.006570970173925161, 0.009587480686604977, -0.03561095520853996, -0.012063954956829548, 0.05324309691786766, 0.00438884599134326, -0.017798326909542084, -0.005038340575993061, -0.008669652044773102, 0.018026478588581085, -0.10218531638383865, 0.05828708037734032, 0.023263555020093918, 0.012084604240953922, -0.034523747861385345, 0.0041350917890667915, -0.013102639466524124, -0.002303525572642684, -0.03575450927019119, 0.004147817380726337, 0.056334126740694046, 0.030117733404040337, 0.01539447158575058, -0.03407173603773117, 0.006564405746757984, 0.005051590967923403, -0.03452172875404358, 0.003333084983751178, 0.001123594120144844, -0.07879164069890976, 0.0275356937199831, 0.029718691483139992, -0.01614796556532383, 0.0016695056110620499, -0.03423763066530228, 0.011904753744602203, -0.0051029943861067295, 0.04288052022457123, 0.0072431666776537895, 0.005736745428293943, -0.031409308314323425, -0.0021430409979075193, 0.03281093016266823, 0.03197585418820381, 0.007101852912455797, -0.0322209894657135, -0.03547730669379234 ]
knapsack-problem-in-haskell
https://markhneedham.com/blog/2013/01/09/knapsack-problem-in-haskell
false
2013-01-31 22:36:34
Levels of automation
[ "software-development" ]
[ "Software Development" ]
Over the last 18 months or so I've worked on a variety of different projects in different organisations and seen some patterns around the way that automation was done which I thought would be interesting to document. The approaches tend to fall into roughly three categories: == Predominantly Manual This tends to be less frequent these days as most developers have at some stage flicked through http://pragprog.com/the-pragmatic-programmer[The Pragmatic Programmer] and been persuaded that automating away boring and repetitive tasks is probably a good idea. It is still possible to drift into this mode when time pressured and addressing a problem for the first time. The general approach I've seen is to first address the crisis with a manual solution and then automate it so they don't have to handle it manually the next time. There can be a tendency to think that someone is a one off and that the effort it would take to automate it isn't worthwhile. In my experience *if something goes wrong once it's probably going to happen again* at some stage when you least want it to! == Partial Automation This is the stage where you have a few automation scripts for common tasks but there's still some human involvement. It might be that a developer needs to remember which machine to run the script against or which arguments to pass to the script but we're not quite at the 'click a button' stage. Interestingly when we have partial automation it can still feel as if we're solving problems manually because there's still a degree of human interaction involved. An example of this might be that we've fully automated the deployment of a service but manually take a server out of the load balancer, deploy to it, check that it passes a smoke test and then put it back into the load balancer. The main task is automated but we still need to babysit the deployment rather than being able to fire it off and then leave it running in the background while we focus on something else. == Full Automation At the fully automated stage we've abstracted away the complexity around the tasks we're automating and may now be at the stage where it's *possible for a non developer to use the tools we've written*. http://junctionbox.ca/nathan-fisher.html[We] fully automated the earlier service example by making use of http://docs.fabfile.org/en/1.4.3/index.html[Fabric] and http://boto.cloudhackers.com/en/latest/index.html[Boto] to get a collection of the appropriate AWS instances and then automated the removing/adding of them from the load balancer. We also wrote a simple smoke test which used curl to check that the main route returned a 200 response code and aborted the deployment if that wasn't the case. Another example of full automation is creating a dashboard to glue all the different parts together. For example we recently spent a couple of hours creating an interface on top of a bunch of https://github.com/defunkt/resque[Resque] queues. We had previously got in a situation where we knew there were jobs stuck somewhere but didn't know which node they were on because we have queues spread across 12 machines. This makes it easier. I have a tendency to want to automate absolutely everything and it can be tricky to tell when you're overdoing it although it's equally hard to know when you're undergoing it! It's nearly always initially faster manually if you know what you're doing. but in the long run you may just be spending time doing something that a computer can help with. One suggestion was to keep a tally chart of how often you end up doing something manually and then if it reaches a certain threshold put some automation in place.
null
null
[ 0.0242786705493927, 0.024768901988863945, -0.015330030582845211, 0.029559189453721046, 0.09123727679252625, 0.01887637935578823, 0.012352265417575836, 0.04503370076417923, 0.006698627024888992, -0.024614084511995316, -0.03843256086111069, -0.006177940405905247, -0.06840972602367401, -0.012807285413146019, -0.030299732461571693, 0.08082409203052521, 0.06622297316789627, -0.0161710474640131, 0.022395024076104164, -0.009672315791249275, 0.012343008071184158, 0.07660432904958725, 0.021754121407866478, 0.019886691123247147, 0.030877364799380302, 0.015332247130572796, 0.014432655647397041, -0.021759623661637306, -0.07240127772092819, -0.01414297241717577, 0.03228887543082237, -0.017413072288036346, 0.016662782058119774, -0.00782217737287283, 0.013804334215819836, -0.01993114873766899, -0.013628981076180935, 0.026632696390151978, -0.01681550405919552, 0.007616889663040638, -0.06561606377363205, 0.057730983942747116, -0.007499605882912874, 0.0023721526376903057, -0.02706972509622574, 0.013876494020223618, -0.0536758117377758, 0.0013803818728774786, 0.0016369113000109792, -0.012486007064580917, -0.07677824795246124, 0.024411413818597794, -0.030420765280723572, -0.0005358573980629444, 0.0013349627843126655, 0.050275564193725586, 0.02170095406472683, -0.07046987861394882, -0.007943801581859589, -0.024088645353913307, 0.002009363379329443, -0.007603927049785852, 0.00025271307094953954, 0.032965514808893204, 0.03289986029267311, -0.02464687079191208, -0.003359682159498334, 0.045283395797014236, -0.019485890865325928, 0.0035924643743783236, -0.004853656981140375, 0.005491336807608604, -0.023101961240172386, -0.02001212164759636, 0.010052528232336044, -0.0476822592318058, -0.008871743455529213, 0.0512268990278244, -0.001978456974029541, 0.04779401049017906, -0.04038291424512863, 0.02285691536962986, 0.004247188102453947, 0.026267049834132195, -0.0076173096895217896, -0.02811913564801216, -0.00538501376286149, 0.007928991690278053, -0.034070756286382675, 0.04842626675963402, 0.03654837608337402, -0.05986341834068298, 0.015139134600758553, 0.0401986688375473, -0.0018402226269245148, 0.025680404156446457, 0.02004149556159973, 0.03288584202528, -0.005676919594407082, 0.003262337762862444, -0.02913912571966648, 0.016976669430732727, 0.016624722629785538, -0.0008074213983491063, -0.07280432432889938, -0.006644387263804674, -0.023079445585608482, 0.019896836951375008, 0.0011024923296645284, 0.014670665375888348, -0.029281891882419586, 0.012705301865935326, -0.01964074932038784, 0.030185271054506302, -0.07128565013408661, 0.07328371703624725, -0.002011227188631892, -0.045255109667778015, 0.02754145674407482, -0.0034897481091320515, 0.04988907277584076, 0.012044151313602924, -0.02270425297319889, 0.07566038519144058, -0.022022375836968422, 0.02165602706372738, -0.028340112417936325, 0.04747195169329643, -0.01517716608941555, -0.05231555178761482, -0.013618625700473785, 0.0509222149848938, -0.020721055567264557, -0.005966524127870798, -0.014770245179533958, -0.000032092255423776805, 0.01039714552462101, 0.007488683331757784, 0.028927242383360863, 0.06009741127490997, -0.02832692489027977, -0.02963329292833805, 0.034110601991415024, 0.007059009745717049, 0.017050500959157944, 0.004592880140990019, 0.0019359769066795707, -0.037134818732738495, -0.04522755369544029, 0.006155132781714201, -0.0042391144670546055, 0.009481823071837425, 0.02424251101911068, -0.0459379218518734, 0.033016569912433624, 0.09473272413015366, 0.02770175226032734, 0.007253211457282305, -0.002689358312636614, -0.012065084651112556, 0.042278289794921875, 0.04100513830780983, -0.0012338764499872923, 0.022163648158311844, 0.02257031574845314, -0.020378006622195244, -0.005199332721531391, 0.03249543532729149, 0.018666639924049377, 0.0112448800355196, -0.0626884326338768, -0.03652109578251839, 0.06359873712062836, -0.06080908700823784, -0.033815231174230576, 0.04525665566325188, 0.08304399996995926, 0.03444816172122955, 0.03196951374411583, 0.007224136497825384, -0.07542704045772552, 0.028329238295555115, 0.004712454974651337, 0.01603040099143982, 0.049870576709508896, -0.028444088995456696, 0.06019248440861702, 0.015722140669822693, 0.004546595737338066, 0.015294407494366169, -0.061047933995723724, -0.10733351111412048, -0.005048795137554407, -0.018623020499944687, 0.024737024679780006, -0.03358212858438492, -0.006363098509609699, 0.10679234564304352, 0.007572353817522526, 0.03997787460684776, 0.019715169444680214, 0.015582378953695297, 0.005709047894924879, -0.0669553354382515, -0.04814140126109123, 0.05463072285056114, 0.03440803289413452, 0.0002766978577710688, -0.03893488645553589, 0.013532327488064766, -0.008641468361020088, -0.01785157062113285, 0.05368240550160408, -0.02407045103609562, 0.055075306445360184, 0.032020676881074905, 0.07262017577886581, -0.04110316187143326, 0.044974926859140396, -0.05370119959115982, 0.000525993702467531, 0.01771099679172039, -0.004518100060522556, 0.02975834533572197, -0.002474445616826415, 0.11278195679187775, 0.07799246162176132, -0.05043185502290726, -0.04189597815275192, 0.02934149093925953, 0.017181849107146263, -0.056424301117658615, -0.003984910435974598, -0.0061292583122849464, 0.009488735347986221, 0.025661641731858253, -0.045885153114795685, -0.03211158514022827, -0.018308894708752632, -0.03294515982270241, 0.010388514958322048, 0.05501287430524826, -0.02928161434829235, 0.061275821179151535, -0.006621376611292362, -0.02130068838596344, 0.0025886555667966604, 0.0031503874342888594, -0.05392316356301308, 0.012511983513832092, 0.023921674117445946, -0.031430866569280624, 0.031849779188632965, -0.022561589255928993, -0.03268863260746002, -0.042842376977205276, -0.03895632550120354, -0.0032450042199343443, 0.02674613706767559, 0.05969729274511337, -0.006901506334543228, 0.042075734585523605, -0.022652368992567062, 0.025080375373363495, 0.021743066608905792, -0.041871797293424606, -0.039947208017110825, -0.029760178178548813, -0.01565178856253624, 0.022272733971476555, 0.0030069274362176657, 0.021183855831623077, 0.018516555428504944, -0.00012617006723303348, 0.012905879877507687, -0.025166034698486328, 0.03005409985780716, 0.0010027929674834013, -0.017037339508533478, -0.014454063959419727, -0.011948365718126297, 0.05210750550031662, -0.04038708657026291, -0.010075731202960014, 0.020321248099207878, -0.08593624085187912, 0.05625023692846298, -0.0948205292224884, -0.05214574933052063, -0.0031340550631284714, 0.012134370394051075, 0.040999218821525574, 0.006960738450288773, 0.02220006287097931, 0.06412889063358307, -0.0097322016954422, 0.02027444913983345, 0.003509749425575137, 0.021290678530931473, 0.01781936176121235, 0.01675092987716198, -0.0018305431585758924, 0.018703803420066833, -0.013474431820213795, 0.002378364559262991, -0.04560470208525658, 0.04880129173398018, -0.044215474277734756, -0.28719720244407654, 0.027951980009675026, 0.017510371282696724, -0.054486267268657684, 0.011359200812876225, -0.015394026413559914, 0.01878112554550171, -0.03382745385169983, -0.011797845363616943, -0.0023127568420022726, -0.026172496378421783, -0.05457932874560356, -0.01475550327450037, 0.06115098297595978, 0.0007026043604128063, 0.04763949289917946, 0.009705020114779472, -0.04633427411317825, 0.025759264826774597, 0.0314706489443779, -0.027728430926799774, -0.0733877420425415, 0.02039841189980507, 0.04281767085194588, 0.03726338595151901, 0.04680948331952095, -0.06243835762143135, 0.053890325129032135, -0.04538865014910698, -0.011194772087037563, 0.013126762583851814, 0.0008946162415668368, -0.002992812544107437, -0.010758168995380402, -0.013747788034379482, -0.009956274181604385, 0.046954017132520676, 0.021681899204850197, 0.02884378470480442, 0.012147147208452225, -0.010151149705052376, -0.01818421669304371, -0.008655335754156113, 0.009825929999351501, 0.06097611412405968, -0.008097255602478981, -0.07782460749149323, 0.00048153684474527836, -0.0256477240473032, 0.0753101110458374, -0.03511632978916168, -0.008866223506629467, -0.0014221291057765484, 0.01263520773500204, -0.004152060020714998, -0.010464652441442013, -0.010518193244934082, -0.006778745446354151, -0.04958735406398773, -0.04081027954816818, -0.02607276849448681, -0.022902166470885277, -0.014435090124607086, -0.06595989316701889, 0.008482339791953564, -0.05037489905953407, -0.051323823630809784, -0.018518391996622086, 0.07349460572004318, 0.010667946189641953, -0.04267488792538643, 0.02729225903749466, -0.003834051312878728, -0.1134856566786766, -0.000048270296247210354, -0.014350945129990578, -0.03236955404281616, -0.0006401523132808506, 0.025024598464369774, 0.03731783106923103, -0.03299736976623535, -0.0658831000328064, 0.03286596015095711, -0.02002100832760334, 0.02577875554561615, -0.010910065844655037, 0.042484723031520844, 0.03220241889357567, -0.03248240426182747, 0.014600040391087532, 0.06996586918830872, -0.008789355866611004, -0.027306251227855682, -0.02480478398501873, 0.019952548667788506, -0.0009747538133524358, 0.019088000059127808, -0.01865091733634472, 0.002176566980779171, 0.02610049955546856, 0.005360370967537165, -0.06000814586877823, 0.03212621062994003, -0.00621519610285759, -0.00046118552563712, -0.01689240336418152, -0.07403691112995148, 0.025135353207588196, 0.0389912985265255, 0.027524463832378387, -0.004233046434819698, -0.018575401976704597, 0.01866818778216839, -0.060429539531469345, -0.02166934870183468, -0.00231504556722939, -0.00033119795261882246, 0.027759524062275887, -0.018538912758231163, -0.015983590856194496, -0.07591455429792404, 0.0003135385341010988, 0.014689083211123943, 0.007626090664416552, -0.05139630287885666, -0.03231760859489441, 0.0028785751201212406, -0.008244354277849197, 0.04735393822193146, 0.019971808418631554, -0.017517181113362312, 0.023312870413064957, 0.025967847555875778, -0.040532175451517105, 0.0010128084104508162, -0.02661859430372715, -0.05840433016419411, -0.033859983086586, -0.0010908042313531041, 0.002857430139556527, -0.016457892954349518, 0.02454499900341034, -0.0002814124745782465, -0.0037093465216457844, 0.04495001584291458, -0.013450759463012218, 0.03311387822031975, 0.002160251373425126, 0.0289603378623724, -0.001502102124504745, 0.02101886086165905, -0.05675576627254486, 0.014480484649538994, -0.04463128000497818, -0.020937716588377953, -0.027658946812152863, 0.03190963715314865, -0.015913914889097214, -0.05276002362370491, -0.023842012509703636, 0.023747827857732773, -0.04376788064837456, -0.033641040325164795, -0.03192981332540512, 0.013724241405725479, 0.05304171144962311, 0.0073501127772033215, 0.009014972485601902, -0.009246948175132275, 0.016086315736174583, -0.010305164381861687, 0.021630845963954926, -0.0378110334277153, -0.011551575735211372, 0.0019073574803769588, -0.005783773493021727, 0.001385715906508267, -0.012374293059110641, 0.0337548591196537, 0.008035807870328426, -0.014867616817355156, -0.016386037692427635, -0.013819214887917042, 0.026017218828201294, 0.04000205546617508, 0.01936025172472, 0.004436246119439602, 0.0029438615310937166, -0.013010134920477867, -0.01309577003121376, -0.03754056245088577, -0.008589121513068676, -0.004196228459477425, 0.00564733799546957, -0.02647371031343937, -0.06824633479118347, 0.07455985248088837, 0.033041901886463165, 0.02548510581254959, 0.0007596358191221952, -0.004626380279660225, -0.010983503423631191, -0.026926562190055847, 0.029247833415865898, 0.06686462461948395, -0.07100442051887512, 0.006249692291021347, -0.010183778591454029, 0.012195650488138199, 0.007212527561932802, -0.0013216944644227624, -0.03226897865533829, -0.02963993512094021, -0.04544086381793022, 0.006259567104279995, -0.06183385103940964, -0.03639989346265793, -0.012903806753456593, 0.0073545328341424465, -0.007820787839591503, -0.02601781114935875, -0.001144711277447641, -0.027924418449401855, -0.0030193550046533346, -0.01474545244127512, 0.0019313067896291614, -0.03088798187673092, 0.008666343055665493, 0.019087547436356544, -0.025034818798303604, -0.011315040290355682, -0.022211629897356033, 0.018074072897434235, 0.007838187739253044, -0.031828656792640686, -0.030940081924200058, -0.029165759682655334, 0.0009096994181163609, 0.014096741564571857, 0.032045260071754456, 0.006168649066239595, 0.0002334369346499443, -0.02442396990954876, -0.018759917467832565, -0.006921352818608284, -0.01047341339290142, -0.019784968346357346, -0.031031446531414986, 0.01533987931907177, 0.07735684514045715, 0.019201477989554405, 0.03246472775936127, -0.013824033550918102, -0.0054429154843091965, 0.03948342055082321, -0.07442232221364975, -0.01804935932159424, -0.01262598019093275, -0.05636419355869293, 0.018558036535978317, 0.009057371877133846, 0.021027296781539917, -0.042764510959386826, 0.0316983163356781, 0.035532232373952866, 0.0328095480799675, 0.01923113688826561, 0.011353129521012306, 0.04597533121705055, -0.04385441914200783, 0.002806504024192691, -0.08633214980363846, 0.01150142215192318, 0.024046344682574272, -0.004168166313320398, -0.018770743161439896, 0.023911090567708015, -0.027577823027968407, 0.034336961805820465, -0.05757392570376396, -0.021148324012756348, 0.0530560202896595, 0.007829474285244942, -0.026578260585665703, 0.01178267877548933, -0.09077084809541702, 0.04324955865740776, 0.02501550503075123, -0.058105528354644775, -0.012888670898973942, 0.006575237959623337, 0.06096296012401581, 0.016904540359973907, 0.00703855138272047, -0.0454217754304409, -0.013166728429496288, 0.08529585599899292, 0.01143927127122879, -0.022029129788279533, 0.0459001250565052, -0.028095519170165062, 0.0434596985578537, 0.027793990448117256, 0.0020409522112458944, -0.0407269150018692, 0.008842634968459606, -0.010225389152765274, -0.060257621109485626, 0.02138521336019039, 0.014003266580402851, -0.03331924229860306, -0.030428670346736908, 0.068918876349926, 0.02668619342148304, -0.04394077509641647, -0.06178862601518631, 0.01307186484336853, -0.06813640147447586, -0.015664419159293175, -0.011492040939629078, 0.00537017872557044, -0.05508885160088539, 0.04108411818742752, -0.019000142812728882, 0.012406352907419205, 0.07360335439443588, 0.005939115304499865, 0.015683088451623917, -0.014395070262253284, 0.07268194109201431, 0.08414550870656967, 0.0676625519990921, 0.0077008469961583614, 0.05060011148452759, -0.020758824422955513, -0.03237925097346306, 0.021040208637714386, -0.007214931305497885, 0.01181839406490326, -0.03885827586054802, 0.035630758851766586, 0.056185729801654816, 0.0012597126187756658, 0.06104200705885887, -0.006178193259984255, -0.02273021638393402, -0.005113805644214153, 0.03615688532590866, 0.004760413896292448, 0.08116862922906876, 0.040303412824869156, 0.004809986334294081, -0.011870238929986954, -0.036188069730997086, 0.025616319850087166, -0.052984438836574554, -0.025681277737021446, 0.0501604788005352, -0.004876087885349989, 0.02707623317837715, 0.0051147546619176865, 0.03801907226443291, 0.07783104479312897, -0.027847029268741608, 0.014159685000777245, -0.009720811620354652, 0.06594669818878174, -0.024917535483837128, 0.00827315729111433, -0.022899167612195015, -0.021214105188846588, 0.0022613282781094313, -0.026032011955976486, -0.028685688972473145, -0.00913707073777914, -0.03356565907597542, 0.061206117272377014, -0.012717247940599918, 0.017085367813706398, 0.04774673283100128, 0.007842127233743668, -0.027963897213339806, -0.04311646148562431, -0.04870814085006714, -0.04311323165893555, -0.033907536417245865, -0.03387216851115227, 0.038974542170763016, -0.0024587889201939106, -0.020430997014045715, -0.020849423483014107, 0.007006415165960789, -0.028096778318285942, 0.02157590165734291, -0.05588721111416817, -0.026998376473784447, 0.014029018580913544, 0.01864452287554741, 0.015337735414505005, 0.013572430238127708, 0.04177365079522133, 0.004321868997067213, -0.006567097268998623, -0.03363650664687157, 0.022668050602078438, 0.025494707748293877, -0.004579436965286732, 0.01296839490532875, -0.04386095702648163, 0.028596505522727966, 0.01617226004600525, -0.006985667161643505, -0.07183181494474411, 0.039815809577703476, 0.016783272847533226, 0.0015182452043518424, 0.053914450109004974, -0.05580515041947365, 0.015840597450733185, -0.05826813727617264, 0.005747244227677584, -0.016510987654328346, 0.030539900064468384, 0.04360126703977585, -0.02859586477279663, 0.09087078273296356, 0.033101797103881836, -0.0018291249871253967, -0.03280012682080269, 0.009492743760347366, -0.019452186301350594, -0.0036489274352788925, -0.02056722901761532, -0.04945450648665428, -0.044665977358818054, -0.08869194984436035, -0.036232635378837585, 0.00040034836274571717, -0.01797962188720703, -0.05207059904932976, 0.0323270782828331, 0.014287665486335754, -0.050772082060575485, 0.020201608538627625, -0.04014238715171814, 0.040396325290203094, -0.03960277512669563, -0.003726064693182707, 0.025773953646421432, 0.017957041040062904, -0.018712595105171204, 0.009661704301834106, 0.00039231564733199775, -0.02567698247730732, -0.0020232857204973698, -0.020629793405532837, 0.03018222749233246, 0.02793070673942566, 0.006661403924226761, -0.001651868224143982 ]
[ -0.0731557160615921, -0.020066846162080765, -0.0157210361212492, -0.041949085891246796, 0.024008437991142273, -0.01916012540459633, 0.001054377993568778, 0.020205166190862656, -0.043370913714170456, -0.024375002831220627, 0.005081811919808388, 0.01363874040544033, -0.014700004830956459, -0.014375603757798672, 0.08770385384559631, 0.021267298609018326, -0.028103802353143692, -0.05627376586198807, 0.032767802476882935, 0.012129192240536213, 0.013326112180948257, -0.02478313073515892, -0.05288057401776314, -0.04473400115966797, 0.002996862633153796, 0.03864895924925804, 0.03359875828027725, -0.024841932579874992, 0.008364774286746979, -0.16869831085205078, 0.01484308484941721, -0.006438335403800011, 0.06012430042028427, -0.027509905397892, 0.026584168896079063, 0.05795716494321823, -0.0003746653674170375, 0.024002479389309883, 0.006942435633391142, 0.027508076280355453, 0.02385823428630829, -0.010881666094064713, -0.04692816361784935, -0.03569132834672928, 0.030360963195562363, 0.023292021825909615, 0.0287459809333086, -0.037975020706653595, -0.035147540271282196, -0.00045899508404545486, -0.04638068377971649, -0.02412230521440506, 0.013779837638139725, -0.013186920434236526, -0.012012055143713951, -0.0019078063778579235, 0.035204026848077774, 0.07684067636728287, 0.019057249650359154, 0.024093762040138245, 0.0190482996404171, -0.016198452562093735, -0.140317901968956, 0.09629137068986893, 0.07125871628522873, 0.056817032396793365, -0.06171761080622673, -0.037223976105451584, -0.016020212322473526, 0.0891585722565651, 0.019986165687441826, -0.025266773998737335, -0.028155922889709473, 0.03405262902379036, 0.00047900970093905926, 0.0023072303738445044, -0.002148437313735485, 0.006017198320478201, 0.023852238431572914, -0.05091864988207817, -0.021267367526888847, -0.0005168758216314018, -0.040709253400564194, 0.013040624558925629, -0.08008566498756409, 0.023092327639460564, -0.013865292072296143, 0.0384492501616478, 0.054714299738407135, 0.0279549490660429, 0.0368727445602417, 0.00921060424298048, 0.0565200075507164, -0.01324346475303173, -0.06574074923992157, -0.013951166532933712, -0.004083761014044285, 0.00020486641733441502, -0.05070622265338898, 0.40563854575157166, 0.007194270845502615, -0.04257723689079285, 0.07973749935626984, 0.021428894251585007, -0.007946597412228584, 0.01479184441268444, -0.005332928616553545, -0.044859740883111954, 0.01971437782049179, -0.026716256514191628, 0.03415573760867119, 0.03324674069881439, 0.06342967599630356, -0.04934856668114662, 0.013914096169173717, 0.014833515509963036, -0.00223271525464952, 0.03280330076813698, 0.04672134667634964, -0.013678046874701977, 0.014753962866961956, 0.019649038091301918, 0.014400763437151909, 0.0006816419190727174, -0.02475564181804657, -0.028198909014463425, 0.05266888812184334, 0.05258707329630852, 0.014492841437458992, -0.011351177468895912, 0.06707564741373062, -0.050873659551143646, -0.041337087750434875, 0.01302856020629406, 0.03748491778969765, 0.0018256140174344182, 0.043759141117334366, -0.007866009138524532, -0.00873589888215065, 0.04887278005480766, 0.0037223738618195057, 0.00021935597760602832, -0.006198086775839329, -0.057536762207746506, -0.03640015423297882, 0.11225929856300354, 0.007362566888332367, -0.041284020990133286, -0.005256026051938534, -0.04161617159843445, 0.010974841192364693, 0.04197370633482933, 0.010194268077611923, -0.05663612484931946, 0.04445992410182953, 0.04458857327699661, 0.09549424052238464, -0.01131234597414732, -0.06933560222387314, 0.0074786413460969925, -0.015083798207342625, -0.007744363974779844, -0.06601335108280182, 0.049217339605093, 0.08333104848861694, -0.12569557130336761, -0.02978546917438507, -0.013394302688539028, 0.034399062395095825, -0.017106371000409126, -0.022884424775838852, 0.01782044768333435, -0.03750978037714958, -0.0056541068479418755, 0.061719272285699844, -0.02949884533882141, -0.027842624112963676, 0.044350866228342056, 0.03939524292945862, 0.043721821159124374, 0.006843348033726215, 0.018420197069644928, -0.0015953414840623736, -0.009392563253641129, -0.01087155845016241, -0.06224822252988815, -0.048303667455911636, -0.005991521291434765, -0.029481293633580208, -0.006971120834350586, -0.0009056342532858253, 0.012050360441207886, -0.059528641402721405, 0.09675643593072891, -0.014884504489600658, -0.00017202745948452502, 0.028085898607969284, -0.0407673716545105, -0.026423616334795952, -0.024282943457365036, -0.07030845433473587, 0.031118465587496758, -0.016752390190958977, 0.006746348924934864, -0.06689693033695221, 0.053289271891117096, 0.006854848936200142, -0.03405541181564331, 0.11508354544639587, 0.06656025350093842, -0.0502520427107811, -0.042272184044122696, 0.04221397638320923, 0.008672668598592281, -0.021076004952192307, -0.03711802512407303, -0.024698449298739433, 0.022982720285654068, 0.011553453281521797, 0.011013641022145748, -0.04069219157099724, 0.06950785964727402, -0.02304108254611492, -0.3317703902721405, -0.05038509890437126, -0.023472433909773827, -0.004289957694709301, 0.010700196027755737, -0.05516660958528519, 0.017722001299262047, -0.04445100575685501, -0.003893403336405754, -0.008028227835893631, 0.09044747799634933, -0.047340549528598785, 0.02373630367219448, -0.08575078845024109, 0.003041301155462861, 0.019599871709942818, -0.041913826018571854, -0.009660166688263416, -0.04634209722280502, 0.0436956062912941, 0.008365415968000889, -0.01550485659390688, -0.027145154774188995, -0.08722064644098282, -0.014103385619819164, -0.04401678964495659, 0.10918622463941574, -0.05737787485122681, 0.08169440180063248, -0.030137930065393448, 0.02599140629172325, -0.005551363807171583, 0.018770024180412292, -0.11157581955194473, -0.01078906748443842, -0.02563353069126606, 0.026358570903539658, 0.000734661880414933, 0.01617458462715149, -0.004530480597168207, -0.06662226468324661, 0.01373550295829773, -0.05425456166267395, -0.011574354022741318, -0.051284514367580414, -0.035583656281232834, -0.028895635157823563, -0.04749320447444916, -0.04233550280332565, 0.043453291058540344, 0.010350862517952919, -0.007923918776214123, -0.023059740662574768, -0.00590142235159874, -0.025709878653287888, -0.040789783000946045, -0.08078903704881668, 0.04079250246286392, -0.0011587889166548848, -0.022045796737074852, 0.03388327360153198, 0.06879471987485886, 0.013022796250879765, -0.057005271315574646, 0.02077425830066204, 0.001203490886837244, 0.0022792380768805742, 0.023511942476034164, 0.035334262996912, -0.004916345234960318, -0.0041143763810396194, 0.1504284292459488, 0.02182476967573166, -0.017116321250796318, 0.028627822175621986, 0.01882113516330719, 0.011288205161690712, 0.06644164770841599, 0.005871592555195093, -0.012574223801493645, 0.0037375991232693195, -0.02961920015513897, 0.022336667403578758, -0.007516920566558838, -0.0010003643110394478, 0.02606917731463909, -0.03891836106777191, -0.05476544424891472, 0.03358384966850281, 0.018156787380576134, -0.015623906627297401, 0.023732809349894524, -0.043837450444698334, -0.044709887355566025, 0.08499399572610855, 0.005825668573379517, -0.23412764072418213, 0.01090653333812952, 0.061218760907649994, 0.07191726565361023, -0.04054108262062073, 0.012970048002898693, 0.01373443752527237, -0.04070907086133957, 0.014660020358860493, 0.014788234606385231, -0.004542800597846508, 0.028639962896704674, -0.0024100246373564005, 0.005311602260917425, 0.06189589947462082, -0.012938451021909714, 0.04027007892727852, -0.010078328661620617, 0.007252610754221678, -0.0334693044424057, 0.002861317014321685, 0.009206118993461132, 0.1595766842365265, -0.002094428753480315, 0.04483014717698097, 0.046400219202041626, -0.01170151773840189, -0.014299520291388035, 0.07336276024580002, -0.0035916108172386885, -0.002998228184878826, 0.004940223414450884, 0.03526437282562256, 0.011897393502295017, 0.02415504865348339, -0.09102229028940201, -0.03341367468237877, 0.02117452584207058, 0.015024942345917225, -0.0022809829097241163, -0.01112205721437931, 0.006848413962870836, 0.004880921915173531, 0.007730213459581137, 0.07519573718309402, 0.007887586019933224, -0.013274693861603737, -0.08079448342323303, -0.039933063089847565, -0.0021105019841343164, -0.051346708089113235, -0.03986766189336777, -0.011845335364341736, 0.013460278511047363, 0.02351045422255993, 0.06933315098285675, 0.049250055104494095, -0.023861128836870193, -0.022443018853664398, -0.009419823996722698, -0.015324613079428673, -0.009532229043543339, 0.09994938969612122, 0.035620395094156265, 0.0348307266831398 ]
[ -0.03821239620447159, 0.011214397847652435, -0.0007516572368331254, -0.011115184985101223, -0.008509707637131214, -0.017530715093016624, -0.0021591782569885254, 0.016844792291522026, -0.012440559454262257, 0.021376177668571472, -0.023318104445934296, 0.008633889257907867, 0.015789782628417015, -0.007219450082629919, 0.031062358990311623, -0.002318961312994361, 0.007374633569270372, -0.023537060245871544, 0.03948430344462395, -0.0190874170511961, -0.03033602423965931, 0.040724482387304306, -0.016465067863464355, -0.015348988585174084, -0.016881385818123817, 0.018683290109038353, -0.036458734422922134, -0.00799648743122816, 0.02622842974960804, -0.13674820959568024, -0.019452016800642014, -0.03295636549592018, -0.018569083884358406, 0.004346916917711496, 0.00793583132326603, -0.024071181192994118, -0.006914615631103516, 0.024254923686385155, 0.0013977346243336797, -0.011978999711573124, 0.012951238080859184, -0.00699116475880146, -0.001957602333277464, 0.006033846642822027, -0.0011535475496202707, 0.015531179495155811, -0.018058257177472115, -0.042182158678770065, -0.0016978669445961714, -0.001811922062188387, -0.022558212280273438, -0.014907659962773323, 0.01734335720539093, 0.01521353330463171, 0.0103585384786129, -0.02086499333381653, 0.041712235659360886, -0.0014489269815385342, 0.019172169268131256, -0.007194193080067635, -0.014548471197485924, 0.004469805862754583, -0.06304464489221573, -0.02116665244102478, 0.009683329612016678, -0.013128040358424187, 0.0045957136899232864, -0.010062645189464092, -0.021423257887363434, -0.0048042344860732555, -0.027400659397244453, 0.012758808210492134, -0.008395076729357243, -0.011878575198352337, 0.007267269771546125, -0.0008676076540723443, -0.00792143028229475, -0.008615550585091114, 0.017843447625637054, -0.014648697338998318, -0.03914560750126839, 0.015186579897999763, 0.007843021303415298, 0.03281041607260704, -0.03612180054187775, 0.013244480825960636, -0.004090380854904652, 0.011380083858966827, 0.04417818412184715, 0.011891472153365612, -0.015344401821494102, 0.017679795622825623, -0.003080112859606743, 0.021561626344919205, -0.0909680426120758, -0.0008363996748812497, -0.021072939038276672, -0.02074354887008667, -0.007108541205525398, 0.8656550645828247, 0.00021784733689855784, 0.019441921263933182, 0.05294066667556763, -0.003531675785779953, 0.015793945640325546, 0.010838151909410954, -0.009357476606965065, -0.00619723554700613, 0.03478818014264107, -0.0626349151134491, -0.003663434647023678, 0.021499283611774445, 0.026243014261126518, -0.0035220710560679436, 0.012778888456523418, 0.002488897182047367, 0.02966136671602726, -0.010437355376780033, -0.02202867902815342, 0.013138490729033947, 0.04214823618531227, -0.0015023398445919156, -0.008733968250453472, 0.023547150194644928, 0.0462377667427063, -0.17207379639148712, 0.014322981238365173, -9.035953810425905e-33, 0.01908077672123909, -0.0007879326585680246, -0.0009114646818488836, 0.006561372894793749, 0.035257406532764435, 0.003402287606149912, 0.037477560341358185, 0.04345792159438133, 0.0005493193748407066, -0.01765306107699871, -0.005464594811201096, -0.003628622042015195, -0.011304755695164204, -0.01641293428838253, 0.011715142987668514, -0.023237934336066246, -0.003931949846446514, 0.0438711978495121, -0.009090927429497242, 0.02298232540488243, 0.020370380952954292, 0.013113243505358696, -0.006272271275520325, 0.01838536188006401, 0.02265704609453678, 0.02305987849831581, 0.025698700919747353, 0.03088940493762493, 0.009372562170028687, -0.04153455048799515, -0.019405191764235497, 0.034197621047496796, -0.03336469456553459, -0.0032239726278930902, -0.005113218445330858, -0.04165596887469292, -0.021329857409000397, 0.003681628033518791, -0.033705566078424454, 0.004750099498778582, -0.028497258201241493, -0.0003462619206402451, -0.03001435287296772, -0.015437579713761806, -0.006843261420726776, -0.03899919241666794, -0.006330367177724838, 0.022667504847049713, 0.036929722875356674, 0.005615775473415852, 0.018073296174407005, -0.01772736944258213, 0.014972210861742496, -0.0163008701056242, -0.005183101631700993, 0.03813029080629349, -0.005976768210530281, 0.02136605605483055, -0.005730502773076296, 0.011183960363268852, 0.01037136372178793, -0.0031300000846385956, -0.03444631025195122, 0.026286136358976364, -0.0028482992202043533, -0.03527473658323288, 0.026996886357665062, 0.007529184687882662, 0.03240356594324112, 0.01829148828983307, -0.04841500148177147, -0.00011242653999943286, -0.007529280614107847, -0.008162694051861763, 0.030102068558335304, -0.01118521299213171, 0.005301942117512226, 0.01190395001322031, -0.023239433765411377, 0.06163408234715462, -0.014316467568278313, 0.011145610362291336, -0.03383362665772438, -0.021447263658046722, -0.02862907014787197, -0.017484743148088455, 0.007700220216065645, 0.007006268948316574, -0.014648751355707645, 0.01385228056460619, 0.02370734140276909, -0.02601885423064232, 0.008704462088644505, 0.011798259802162647, -0.028509045019745827, 9.222938962127237e-33, 0.0006915109697729349, -0.005437611136585474, -0.03469612076878548, 0.021412670612335205, 0.031235983595252037, -0.005326136015355587, 0.03597266227006912, 0.000960413774009794, -0.03706089034676552, 0.022686272859573364, -0.0025205521378666162, 0.03020917810499668, -0.03870230168104172, 0.04134296998381615, 0.030506083741784096, -0.01660299301147461, 0.00636529503390193, -0.014398074708878994, 0.02459060028195381, 0.014854202046990395, 0.008842640556395054, 0.00965897087007761, -0.02135569229722023, 0.013149887323379517, 0.018100555986166, 0.043634187430143356, -0.03339536488056183, 0.023364977911114693, -0.0006467679049819708, -0.010593520477414131, -0.020910851657390594, 0.0016785742482170463, 0.02971401996910572, -0.009350539185106754, -0.012286675162613392, 0.011948857456445694, 0.006311507895588875, 0.0031410593073815107, 0.013171630911529064, -0.0032809791155159473, 0.030685078352689743, -0.00989764928817749, -0.001923578791320324, 0.009662153199315071, 0.0011758028995245695, 0.008170794695615768, 0.005871763452887535, -0.03864404559135437, -0.021608149632811546, 0.05390245094895363, -0.00660723727196455, 0.006666010245680809, 0.007156734354794025, -0.0025955296587198973, -0.010241160169243813, -0.026869602501392365, -0.020250769332051277, -0.007112857419997454, -0.014194723218679428, 0.032217927277088165, 0.006163233425468206, 0.025003310292959213, -0.015569550916552544, 0.02268567867577076, -0.033404674381017685, 0.005887677893042564, -0.010522658005356789, -0.01018027774989605, -0.002580534666776657, 0.001193941105157137, -0.026002410799264908, 0.017858285456895828, -0.01114791352301836, 0.022360939532518387, 0.014186441898345947, -0.035865917801856995, -0.013088964857161045, -0.019923284649848938, -0.02836013212800026, 0.011536325328052044, 0.010636736638844013, 0.002975406823679805, 0.0038441733922809362, 0.015647970139980316, -0.03619585186243057, 0.026838289573788643, -0.04800592362880707, 0.01757131516933441, 0.018477128818631172, -0.009894262067973614, -0.016937345266342163, -0.008845976553857327, 0.005635578650981188, 0.010212556459009647, -0.02631383016705513, -1.424448115017185e-8, 0.004514489322900772, 0.040308501571416855, 0.001310265390202403, 0.015065823681652546, 0.02965613268315792, 0.002132343826815486, -0.028856754302978516, 0.025196218863129616, -0.04012564942240715, 0.021320825442671776, 0.041463810950517654, -0.03217591345310211, -0.005755921360105276, 0.01983393356204033, 0.013355348259210587, -0.03549206629395485, -0.005701949819922447, -0.019923798739910126, 0.018320510163903236, 0.0219091959297657, 0.031429603695869446, 0.05580919235944748, -0.016658861190080643, 0.014749610796570778, 0.01039359625428915, -0.0021011882927268744, -0.009455714374780655, -0.0716361552476883, -0.001816636067815125, 0.032518040388822556, -0.022145379334688187, -0.01691809669137001, -0.045867424458265305, 0.012019545771181583, -0.012600788846611977, -0.030937690287828445, 0.030809275805950165, -0.005134212784469128, 0.0038322443142533302, -0.015948211774230003, 0.01920289918780327, 0.029446179047226906, -0.019684260711073875, -0.04308263957500458, -0.010195432230830193, -0.010023962706327438, -0.03721955791115761, -0.01899724267423153, 0.009260578081011772, -0.057680170983076096, 0.030507579445838928, -0.013787077739834785, 0.022080296650528908, 0.039239343255758286, 0.00910748727619648, 0.009992940351366997, 0.02844511717557907, -0.050658468157052994, -0.011203973554074764, 0.029303500428795815, 0.011078358627855778, 0.052153006196022034, 0.001803560764528811, -0.017255499958992004 ]
levels-of-automation
https://markhneedham.com/blog/2013/01/31/levels-of-automation
false
2013-01-31 23:24:55
Kaggle Digit Recognizer: A feature extraction #fail
[ "machine-learning-2", "kaggle" ]
[ "Machine Learning" ]
I've written http://www.markhneedham.com/blog/tag/kaggle/[a few blog posts] about our attempts at the http://www.kaggle.com/c/digit-recognizer[Kaggle Digit Recogniser] problem and one thing we haven't yet tried is feature extraction. Feature extraction in this context means that we'd generate some other features to train a classifier with rather than relying on just the pixel values we were provided. Every week https://twitter.com/jennifersmithco[Jen] would try and persuade me that we should try it out but it wasn't until I was flicking through http://columbiadatascience.com/2012/10/15/10-important-data-science-ideas/[the notes from the Columbia Data Science class] that it struck home: ____ The Space between the Data Set and the Algorithm *Many people go straight from a data set to applying an algorithm*. But there's a huge space in between of important stuff. It's easy to run a piece of code that predicts or classifies. That's not the hard part. The hard part is doing it well. One needs to conduct exploratory data analysis as I've emphasized; and conduct feature selection as Will Cukierski emphasized. ____ I've highlighted the part of the post which describes exactly what we've been doing! There were some http://www.kaggle.com/c/digit-recognizer/forums/t/2308/feature-extraction-technique[examples of feature extraction] on the Kaggle forums so I thought I'd try and create some other features using http://www.markhneedham.com/blog/category/r/[R]. I created features for the number of non zero pixels, the number of 255 pixels, the average number of pixels and the average of the middle pixels of a number. The code reads like this: [source,r] ---- initial <- read.csv("train.csv", header = TRUE) initial$nonZeros <- apply(initial, 1, function(entries) length(Filter(function (x) x != 0, entries))) initial$fullHouses <- apply(initial, 1, function(entries) length(Filter(function (x) x == 255, entries))) initial$meanPixels <- apply(initial, 1, mean) initial$middlePixels <- apply(initial[,200:500], 1, mean) ---- I then wrote those features out into a CSV file like so: [source,r] ---- newFeatures <- subset(initial, select=c(label, nonZeros, meanPixels, fullHouses, middlePixels)) write.table(file="feature-extraction.txt", newFeatures, row.names=FALSE, sep=",") ---- I then created a http://www.markhneedham.com/blog/2012/12/27/mahout-parallelising-the-creation-of-decisiontrees/[100 tree random forest using Mahout] to see whether or not we could get any sort of accuracy using these features. Unfortunately the accuracy on the cross validation set (10% of the training data) was only 24% which is pretty useless so it's back to the drawing board! Our next task is to try and work out whether we can derive some features which have a stronger correlation with the label values or combining the new features with the existing pixel values to see if that has any impact. As you can probably tell I don't really understand how you should go about extracting features so if anybody has ideas or papers/articles I can read to learn more please let me know in the comments!
null
null
[ -0.012137595564126968, 0.0026114508509635925, -0.0013267174363136292, 0.0383787639439106, 0.06105436384677887, 0.031234873458743095, 0.024219509214162827, 0.03455567732453346, 0.004629900678992271, -0.012896191328763962, -0.02128927782177925, -0.005807990673929453, -0.05693711340427399, 0.005369924940168858, -0.008921215310692787, 0.0730203315615654, 0.07329531013965607, -0.0007510458235628903, 0.038297828286886215, 0.03288789466023445, 0.01946411468088627, 0.054278209805488586, 0.01575382426381111, 0.01773967780172825, 0.02537170797586441, -0.0005012365872971714, 0.013736080378293991, 0.009727769531309605, -0.04902786761522293, -0.01043140422552824, 0.034971993416547775, 0.011880739592015743, 0.0004745615879073739, -0.013662206009030342, 0.04237767308950424, 0.0013784060720354319, -0.028142796829342842, 0.012193883769214153, 0.014834251254796982, 0.03784332051873207, -0.07034788280725479, 0.030249815434217453, -0.02210233360528946, 0.01889348030090332, -0.07714143395423889, -0.008523616008460522, -0.07955039292573929, 0.006727052386850119, 0.02147739566862583, 0.0021474442910403013, -0.0457225926220417, 0.05150413513183594, -0.016552764922380447, -0.007488183677196503, -0.0000616969628026709, 0.053192269057035446, 0.033528298139572144, -0.06422622501850128, 0.022974498569965363, -0.014326744712889194, 0.005182777531445026, -0.017991965636610985, -0.015266893431544304, 0.017625529319047928, 0.004440468270331621, -0.02937724068760872, -0.0006417177501134574, 0.04604949802160263, -0.03528614342212677, 0.0017522324342280626, -0.01305370032787323, 0.009187453426420689, -0.007169692777097225, -0.0021356414072215557, -0.00699193449690938, -0.04153575375676155, 0.016146350651979446, 0.0508226715028286, 0.02190556563436985, 0.02661251276731491, -0.018152477219700813, 0.0010260328417643905, 0.03969506919384003, 0.021141620352864265, -0.011715634725987911, -0.041167259216308594, -0.028216121718287468, -0.028793958947062492, -0.07481919229030609, 0.062272850424051285, 0.0004542432143352926, -0.06879344582557678, 0.03204753249883652, 0.025419315323233604, 0.00309003540314734, 0.004558274056762457, 0.00494170468300581, -0.027638068422675133, -0.029105404391884804, -0.02397659420967102, -0.02399929240345955, -0.02006840892136097, 0.019554415717720985, 0.02466418780386448, -0.09043391793966293, -0.02023988775908947, 0.007047856692224741, 0.012492038309574127, -0.01465022936463356, 0.013929816894233227, -0.0011781057110056281, -0.002219976158812642, -0.022034550085663795, -0.005836534313857555, -0.10499002784490585, 0.062194038182497025, 0.005007351282984018, -0.05234754830598831, 0.013083036057651043, 0.010218101553618908, 0.059461306780576706, 0.03935352712869644, -0.02853919193148613, 0.0522000789642334, -0.0048260982148349285, 0.02181943692266941, 0.015674984082579613, 0.05444308742880821, -0.009117341600358486, -0.05420304834842682, -0.026185935363173485, 0.030453059822320938, -0.017450271174311638, 0.005376507993787527, 0.02111612819135189, -0.04387712478637695, -0.0048200287856161594, -0.0031958248000591993, 0.06437209993600845, 0.02097306214272976, 0.008132124319672585, -0.05579862743616104, 0.013733204454183578, 0.016194848343729973, 0.009358043782413006, -0.003170006675645709, 0.0012136927107349038, -0.004068814683705568, -0.042873069643974304, -0.008645925670862198, 0.021377522498369217, 0.015344135463237762, 0.048192474991083145, -0.0458250418305397, 0.013862146995961666, 0.08363500982522964, 0.004642221610993147, 0.010255279019474983, 0.01797480136156082, 0.0232321098446846, 0.038369398564100266, 0.0013783471658825874, 0.016041120514273643, 0.020649293437600136, 0.009581699036061764, -0.03220021352171898, 0.026363492012023926, 0.0652935802936554, -0.019336313009262085, 0.016946114599704742, -0.020770417526364326, -0.04946466535329819, 0.0475187711417675, -0.026925671845674515, -0.005113631021231413, 0.034323908388614655, 0.07372546941041946, 0.04714415967464447, 0.039561305195093155, 0.005364276934415102, -0.08185674995183945, 0.02329021692276001, 0.00016203815175686032, 0.03152338042855263, 0.018412210047245026, -0.035150863230228424, 0.09676674008369446, 0.013189184479415417, 0.008950836025178432, 0.020017514005303383, -0.060970764607191086, -0.05345313996076584, -0.025065384805202484, -0.014117738232016563, 0.062176648527383804, -0.039249926805496216, 0.004472989123314619, 0.05140293389558792, 0.010304907336831093, 0.051272016018629074, 0.018495876342058182, 0.002609336283057928, 0.03630015254020691, -0.025427987799048424, -0.03387518599629402, 0.052576061338186264, 0.011484523303806782, -0.01875043846666813, -0.029072249308228493, 0.004092846531420946, -0.0005751701537519693, -0.014722853899002075, 0.031493838876485825, -0.018010839819908142, 0.03761922940611839, 0.04336955398321152, 0.07234663516283035, -0.029515698552131653, 0.04251788184046745, -0.037115614861249924, -0.035444021224975586, 0.019314328208565712, -0.020626870915293694, 0.00003959939567721449, 0.026762688532471657, 0.1352362334728241, 0.06892291456460953, -0.011726060882210732, -0.04588039591908455, -0.009060929529368877, -0.003514740150421858, -0.06227073445916176, 0.00994228944182396, -0.006865323521196842, -0.02198001928627491, -0.0020750132389366627, -0.03941136226058006, -0.030934220179915428, 0.03927651420235634, -0.021272744983434677, -0.0163949653506279, 0.06564333289861679, -0.02053474634885788, 0.03906887397170067, -0.005806444678455591, 0.001211686758324504, 0.02529539354145527, -0.021609313786029816, -0.04650599882006645, -0.01751348190009594, -0.004317838232964277, 0.009154072031378746, 0.016294406726956367, -0.037035223096609116, -0.02988535538315773, -0.033156849443912506, -0.044844597578048706, -0.0033767791464924812, 0.05998372659087181, 0.05329572781920433, 0.018300998955965042, 0.06289858371019363, -0.015031744726002216, 0.011293347924947739, -0.01230828557163477, -0.05073050782084465, -0.04008958861231804, -0.03495703637599945, 0.007878685370087624, 0.048798613250255585, 0.01628587581217289, 0.04037538915872574, 0.033217865973711014, -0.007176208775490522, 0.0062126778066158295, -0.029624635353684425, 0.04683209955692291, 0.020146813243627548, -0.01835588552057743, -0.012886698357760906, -0.032196175307035446, 0.05059655010700226, -0.040612563490867615, -0.003281345823779702, -0.012608679011464119, -0.06092656031250954, 0.04518836364150047, -0.07482563704252243, -0.04729404300451279, -0.0037980349734425545, -0.0026863606180995703, 0.04820855334401131, 0.008622264489531517, 0.017843810841441154, 0.04520320147275925, 0.008092323318123817, 0.016656989231705666, 0.008519493974745274, 0.00515897898003459, 0.04283687099814415, -0.011866005137562752, 0.012655599042773247, 0.06253603845834732, -0.009292524307966232, -0.03309350460767746, -0.04216201230883598, 0.01408920343965292, -0.02498314529657364, -0.3182334005832672, 0.03187469765543938, 0.005314878653734922, -0.049330223351716995, 0.0035607859026640654, -0.0501117929816246, 0.014666327275335789, -0.024242840707302094, -0.007350163068622351, 0.03031456470489502, -0.03352460637688637, -0.029937412589788437, -0.033946212381124496, 0.05076156556606293, 0.008625108748674393, 0.009080651216208935, 0.007606151979416609, -0.03787197172641754, 0.009483473375439644, 0.06947969645261765, -0.0023437843192368746, -0.05793929845094681, 0.004612960387021303, 0.060905128717422485, -0.0064400252886116505, 0.05893944576382637, -0.06532102078199387, 0.0014947603922337294, -0.06962039321660995, -0.011344808153808117, 0.008075732737779617, -0.0024039444979280233, -0.001052233623340726, -0.0029060584492981434, -0.0026745940558612347, -0.012838801369071007, 0.04239184036850929, 0.0006771619664505124, -0.003580272663384676, 0.027101511135697365, -0.000365223124390468, -0.027903536334633827, 0.013046622276306152, 0.020350750535726547, 0.07298387587070465, 0.014956079423427582, -0.06632053852081299, -0.0036026746965944767, -0.026665428653359413, 0.055935923010110855, -0.01584918051958084, -0.020017802715301514, -0.034110669046640396, 0.04940059781074524, -0.02845078520476818, -0.003234241856262088, -0.0021920260041952133, -0.004917595069855452, -0.045478977262973785, -0.04025843366980553, -0.025690624490380287, -0.028029385954141617, -0.008294803090393543, -0.06886330991983414, 0.009545224718749523, -0.06988570839166641, -0.07220524549484253, -0.02054564841091633, 0.07411575317382812, 0.012164216488599777, -0.04571675509214401, 0.004327388014644384, -0.011181321926414967, -0.10795426368713379, -0.010957561433315277, -0.01503907609730959, -0.009322885423898697, 0.014885231852531433, 0.007588475942611694, 0.07325984537601471, -0.03927752748131752, -0.06292188912630081, 0.06533122807741165, 0.0029765996150672436, 0.0015841999556869268, -0.03346256539225578, 0.02606404758989811, 0.013499888591468334, 0.015048179775476456, 0.004565305542200804, 0.06830597668886185, -0.006445165723562241, -0.025640159845352173, -0.010998940095305443, 0.013659479096531868, 0.02056054025888443, 0.03494032099843025, 0.005414020735770464, 0.00228568515740335, 0.018847480416297913, 0.01449534110724926, -0.0674765408039093, 0.0016950862482190132, -0.06003858894109726, -0.0434173084795475, 0.002691559726372361, -0.0511423721909523, -0.0031255052890628576, 0.055596884340047836, -0.0028136917389929295, -0.018226880580186844, -0.06979936361312866, 0.012998666614294052, -0.03779320418834686, -0.0035594182554632425, -0.01746409758925438, 0.020833950489759445, 0.010850150138139725, 0.012992683798074722, -0.026419026777148247, -0.03135424479842186, 0.012573715299367905, -0.0014719485770910978, -0.0012272457825019956, -0.03653385862708092, -0.04817682504653931, -0.01387747935950756, -0.01479773223400116, 0.008278624154627323, 0.003757728962227702, -0.013298066332936287, 0.04114586487412453, 0.010020371526479721, -0.016994254663586617, 0.03111213631927967, -0.004208546597510576, -0.052121974527835846, -0.032981064170598984, 0.01953136920928955, 0.014605882577598095, 0.0020320708863437176, -0.0031447794754058123, 0.005039624869823456, 0.02302495576441288, 0.04968941956758499, 0.008172985166311264, 0.04730574041604996, -0.015030975453555584, 0.02473914809525013, -0.009665584191679955, -0.006134064868092537, -0.05599075183272362, -0.0035520242527127266, -0.006984193809330463, -0.020541787147521973, -0.025533951818943024, 0.03842148557305336, 0.0004612361954059452, -0.03824487701058388, -0.03348304703831673, 0.048654377460479736, 0.00664965994656086, -0.016034245491027832, -0.03998229652643204, 0.025673802942037582, 0.051886219531297684, -0.009128042496740818, 0.0044612702913582325, 0.021153397858142853, 0.006278124172240496, 0.008641083724796772, 0.007224818225950003, -0.04055814817547798, 0.012888014316558838, 0.001052675535902381, -0.021574174985289574, 0.006963524967432022, 0.012243794277310371, 0.012870256789028645, 0.009775891900062561, -0.006869219243526459, -0.02005738578736782, -0.005222805775702, 0.04435081034898758, 0.0568058006465435, 0.054108548909425735, -0.01641959697008133, -0.005163999740034342, -0.017167607322335243, 0.008477489463984966, -0.046461913734674454, -0.0188478734344244, 0.006738633383065462, 0.011835460551083088, -0.040887683629989624, -0.05753085017204285, 0.01948592998087406, 0.0037273834459483624, 0.0077366274781525135, 0.010886238887906075, -0.000922090548556298, -0.01139611005783081, -0.02352619543671608, 0.03352658823132515, 0.06779249012470245, -0.06759939342737198, 0.010736586526036263, -0.0013911182759329677, -0.032198499888181686, 0.007226083893328905, 0.02090529166162014, -0.0751340463757515, -0.007409575395286083, -0.04257583990693092, 0.004671233240514994, -0.03840935230255127, -0.0428624264895916, -0.030396487563848495, 0.03914647176861763, -0.015195179730653763, -0.002190123777836561, -0.00414672214537859, -0.0012174639850854874, -0.008629626594483852, -0.00838593952357769, 0.016581246629357338, 0.003829028457403183, 0.011284977197647095, 0.034947313368320465, -0.040993254631757736, 0.0075021833181381226, -0.020902983844280243, 0.022860834375023842, 0.055093180388212204, -0.025149675086140633, -0.013044781982898712, -0.030639640986919403, 0.01625809632241726, 0.006718020420521498, 0.06872916221618652, 0.00611372385174036, -0.022461555898189545, -0.04435551166534424, 0.01696099154651165, -0.02811518870294094, 0.024315766990184784, -0.013575509190559387, -0.03782345727086067, 0.010515236295759678, 0.055495068430900574, 0.002642167964950204, 0.0009683101088739932, -0.017202619463205338, -0.043904539197683334, 0.044481318444013596, -0.04916661977767944, -0.02641409821808338, -0.024803033098578453, -0.03514131158590317, 0.02237808331847191, -0.00613701157271862, 0.023707548156380653, -0.010088328272104263, 0.03193560987710953, 0.018651466816663742, 0.03310129791498184, 0.005573771893978119, 0.013255853205919266, 0.041431497782468796, -0.029184265062212944, 0.0035827469546347857, -0.09418956935405731, -0.010771509259939194, 0.05433576926589012, -0.0039421552792191505, -0.0051172589883208275, -0.011106830090284348, -0.023777976632118225, 0.020172176882624626, -0.07713474333286285, -0.03385131061077118, 0.04850662127137184, 0.009544280357658863, -0.004725181497633457, -0.004396522883325815, -0.04258447512984276, 0.029389623552560806, 0.011382794938981533, -0.037194423377513885, -0.03438851237297058, -0.029398620128631592, 0.05482860282063484, -0.010402332991361618, 0.012094175443053246, -0.023503579199314117, -0.024014851078391075, 0.06598038226366043, 0.03159203380346298, 0.006869787350296974, 0.02953997068107128, -0.013610387220978737, 0.06763198971748352, 0.022385373711586, -0.011398615315556526, -0.009954352863132954, 0.00588997732847929, 0.014363722875714302, -0.07000762969255447, 0.02491358481347561, 0.013212285004556179, -0.03018544800579548, -0.05008183419704437, 0.07278522104024887, 0.01896735280752182, -0.02363918349146843, -0.05838668346405029, 0.045610878616571426, -0.051116034388542175, 0.021651120856404305, -0.003830854082480073, -0.040683481842279434, -0.03503083437681198, 0.05583129823207855, -0.007031468208879232, -0.015969105064868927, 0.06260241568088531, -0.017415378242731094, 0.013464776799082756, 0.013344966806471348, 0.09269065409898758, 0.08682814240455627, 0.06923113763332367, 0.028687965124845505, 0.05912833660840988, -0.026435675099492073, -0.048344701528549194, 0.042310681194067, -0.006417208816856146, -0.004986332263797522, -0.030697640031576157, 0.010346412658691406, 0.05696701630949974, -0.017757100984454155, 0.08365712314844131, -0.05005630850791931, 0.006254895124584436, 0.003274692455306649, 0.01641814224421978, 0.011465766467154026, 0.05077069252729416, 0.004113202448934317, -0.00527768861502409, -0.027555320411920547, -0.010164258070290089, 0.02058803290128708, -0.010312502272427082, -0.02370115928351879, 0.018868369981646538, -0.014909433200955391, 0.01821843348443508, -0.009049838408827782, 0.0563412569463253, 0.08339332044124603, -0.0394197516143322, -0.026355953887104988, 0.000616418314166367, 0.04136058688163757, 0.0022388685029000044, 0.03738529980182648, -0.028934121131896973, -0.004490402992814779, 0.00725398026406765, -0.0032438747584819794, -0.006107322406023741, 0.005078079178929329, -0.025835484266281128, 0.020592456683516502, -0.040600232779979706, -0.009889954701066017, 0.02256874367594719, 0.0016970490105450153, -0.03255346417427063, -0.04662584513425827, -0.0362810455262661, -0.04256077855825424, -0.06637024134397507, -0.03377261012792587, 0.012608961202204227, -0.004863090813159943, -0.03345942497253418, -0.04923638328909874, -0.02576567232608795, -0.024532873183488846, 0.025864899158477783, -0.07180972397327423, -0.018689081072807312, 0.018557770177721977, 0.019881319254636765, 0.02993529476225376, 0.021628495305776596, 0.02874111570417881, -0.0010987091809511185, 0.003996121697127819, -0.013456368818879128, -0.0028518415056169033, 0.04842119663953781, 0.028732217848300934, -0.0028650849126279354, -0.08051080256700516, -0.01790282502770424, 0.01010913122445345, -0.037789300084114075, -0.08219176530838013, 0.03415769338607788, 0.016673289239406586, 0.009844517335295677, 0.045062024146318436, -0.009173627942800522, -0.001964207738637924, -0.06924944370985031, -0.01695486530661583, -0.04943691939115524, 0.00044850935228168964, 0.019431674852967262, -0.01005314290523529, 0.07804194837808609, 0.019868850708007812, 0.004618240520358086, -0.03670060634613037, -0.02466544136404991, -0.010713322088122368, 0.014429768547415733, -0.04394863545894623, -0.036581382155418396, -0.024129945784807205, -0.09015363454818726, -0.0405757762491703, 0.03504025563597679, -0.010711650364100933, -0.04591825604438782, 0.03688832372426987, 0.024663928896188736, -0.0002635692653711885, 0.04186427593231201, -0.02658235654234886, 0.0010545628610998392, -0.028911957517266273, -0.023585813120007515, -0.014762811362743378, 0.049348700791597366, -0.034570466727018356, 0.017617961391806602, 0.004265021998435259, -0.038200296461582184, -0.0024022923316806555, -0.008917748928070068, 0.030368397012352943, 0.030244864523410797, 0.0016499978955835104, -0.009894859977066517 ]
[ -0.07793804258108139, -0.02608431503176689, -0.021593453362584114, -0.019170720130205154, 0.05169326439499855, -0.03253188729286194, 0.02272634766995907, 0.03233473002910614, -0.031361427158117294, -0.019600888714194298, 0.01844615302979946, -0.061469707638025284, -0.025302350521087646, -0.017945565283298492, 0.07938238233327866, 0.021429117769002914, 0.02964620478451252, -0.05431809276342392, 0.005761223845183849, 0.026654710993170738, 0.02070811577141285, -0.010559420101344585, -0.059816874563694, -0.03907500207424164, -0.017912939190864563, 0.030942756682634354, 0.03139691799879074, -0.0661582499742508, 0.013334987685084343, -0.21612583100795746, 0.010650590993463993, 0.0038298116996884346, 0.101195327937603, -0.0373615026473999, -0.002237357897683978, 0.03230903670191765, 0.030628109350800514, 0.047299765050411224, -0.018152203410863876, 0.029840506613254547, 0.0017443631077185273, -0.016940688714385033, -0.04705691337585449, -0.04092860221862793, 0.04085132107138634, 0.0017596109537407756, -0.0038499590009450912, -0.037056051194667816, -0.049282584339380264, 0.02359912358224392, -0.051530346274375916, -0.03296871855854988, -0.014532617293298244, 0.01275924127548933, -0.0061988914385437965, 0.02939377725124359, 0.04200685769319534, 0.05143524706363678, 0.02750830166041851, 0.029736267402768135, 0.012737052515149117, 0.0063476855866611, -0.12729980051517487, 0.07902061194181442, 0.004394105169922113, 0.04405658319592476, -0.0321720652282238, -0.04570842161774635, -0.008100942708551884, 0.06836318224668503, 0.04320759326219559, -0.011175173334777355, -0.02997748926281929, 0.04949058219790459, 0.006394829135388136, -0.01127095427364111, 0.00997593067586422, 0.020122220739722252, 0.03451425954699516, -0.0317830853164196, -0.02815381996333599, 0.01307336613535881, -0.020289605483412743, -0.014384943060576916, -0.028713492676615715, 0.007735973224043846, -0.026204928755760193, 0.02411654219031334, 0.013062173500657082, 0.030697625130414963, 0.029540549963712692, 0.020674418658018112, 0.013928310014307499, -0.014559793286025524, -0.07055824995040894, -0.035645317286252975, -0.0009098693844862282, -0.006674898322671652, -0.014611355029046535, 0.4274793565273285, -0.039175037294626236, -0.012561442330479622, 0.05081004649400711, 0.014108644798398018, -0.005043677985668182, -0.04459540173411369, -0.008368547074496746, -0.0481179878115654, 0.0008784754318185151, -0.05975668132305145, 0.02461673505604267, 0.022962383925914764, 0.021899856626987457, -0.0213996060192585, -0.006057806313037872, -0.027785802260041237, 0.021970165893435478, 0.024884015321731567, 0.05413128063082695, 0.0019308776827529073, -0.010445943102240562, 0.0030305208638310432, 0.0049792705103755, -0.02153048850595951, 0.016242362558841705, 0.003767542075365782, 0.03333694487810135, 0.08188074082136154, 0.041926801204681396, 0.03522777184844017, 0.057450782507658005, -0.03471598029136658, -0.09450659900903702, 0.015955312177538872, -0.0020311102271080017, -0.0006023616879247129, 0.04897616058588028, 0.012202762998640537, -0.03618396073579788, 0.016711561009287834, -0.028689924627542496, 0.01337775681167841, 0.05675014108419418, 0.0247779693454504, -0.03358832001686096, 0.12988930940628052, -0.051617562770843506, -0.027007723227143288, -0.012861381284892559, -0.07853080332279205, 0.03689829260110855, 0.012636230327188969, -0.030232178047299385, -0.05296165868639946, 0.00888618640601635, 0.03593913093209267, 0.07494055479764938, -0.04756147786974907, -0.08364830166101456, 0.009004298597574234, -0.01058972254395485, -0.030379414558410645, -0.02454109489917755, 0.02275349758565426, 0.08017575740814209, -0.10327436774969101, -0.004872228484600782, -0.0029161423444747925, 0.007934950292110443, -0.0660182312130928, 0.03322860598564148, 0.04059344530105591, -0.030193161219358444, 0.02003566175699234, 0.02090231142938137, -0.02789520099759102, -0.0526258647441864, 0.028455238789319992, 0.0461370050907135, -0.006255490239709616, 0.013037949800491333, -0.01045190915465355, -0.03958671912550926, -0.022641558200120926, -0.0395304299890995, -0.08061061799526215, -0.03856465220451355, 0.004254124127328396, -0.01418252568691969, 0.013637718744575977, 0.00818375963717699, -0.037341125309467316, -0.05450738966464996, 0.034249186515808105, -0.027646809816360474, -0.015816666185855865, 0.0221817959100008, -0.003565229242667556, -0.03959479182958603, -0.052725907415151596, -0.017085202038288116, 0.02446223422884941, 0.0012950808741152287, 0.009227911941707134, -0.04320361092686653, 0.04944700002670288, 0.06416413187980652, -0.04499739035964012, 0.09031625837087631, 0.036067504435777664, 0.007799798622727394, -0.052344150841236115, -0.0072168512269854546, -0.0026002887170761824, 0.011580760590732098, -0.021856149658560753, 0.012049973011016846, 0.0266235563904047, -0.008951794356107712, 0.035831518471241, -0.021364610642194748, -0.012389101088047028, -0.04071398451924324, -0.3665127754211426, -0.029001543298363686, 0.010942143388092518, 0.024137889966368675, 0.006124343257397413, -0.07036879658699036, 0.016889723017811775, 0.006120453588664532, -0.0015376413939520717, 0.025685908272862434, 0.07834414392709732, 0.004240479785948992, 0.00872096512466669, -0.07023908197879791, 0.005530038382858038, 0.01073353923857212, -0.018756691366434097, -0.028005070984363556, -0.030769381672143936, -0.0009477593121118844, -0.0014482466503977776, 0.028274046257138252, 0.003003723220899701, -0.06677660346031189, -0.0025487509556114674, -0.029903855174779892, 0.09098166972398758, 0.01641295850276947, 0.0800432562828064, -0.035544779151678085, 0.03319822996854782, -0.006586362142115831, 0.0018047362100332975, -0.07284221798181534, 0.032709140330553055, -0.03180466592311859, 0.002987137297168374, 0.03827319294214249, 0.0019220304675400257, -0.027572479099035263, -0.06605725735425949, 0.03735579177737236, -0.018943054601550102, -0.02879008650779724, -0.03374228999018669, 0.03536677733063698, -0.020653482526540756, -0.01544811762869358, -0.029795978218317032, 0.059089839458465576, 0.025235207751393318, 0.013870596885681152, 0.03631644695997238, 0.008496765978634357, -0.013944662176072598, -0.02759937383234501, -0.08202314376831055, 0.0016887891106307507, -0.013995715416967869, 0.009409058839082718, 0.0379643440246582, 0.004787346348166466, 0.03235470876097679, -0.09100942313671112, -0.004482578486204147, 0.025523362681269646, -0.04046826809644699, -0.007444047834724188, 0.020710362121462822, -0.03215555101633072, -0.023766161873936653, 0.13426092267036438, 0.007500935811549425, -0.002435122150927782, 0.03839113563299179, 0.02980109117925167, 0.020469089969992638, 0.0013657852541655302, 0.023867448791861534, 0.007537015248090029, 0.04283105209469795, -0.00894305668771267, 0.017811855301260948, -0.015350795350968838, 0.040152408182621, 0.02950948290526867, 0.038882866501808167, -0.02123124897480011, 0.03248327597975731, 0.03201856091618538, -0.004594809841364622, -0.014733284711837769, 0.010919267311692238, -0.07257601618766785, 0.07411742955446243, 0.005115189123898745, -0.25151893496513367, 0.019972126930952072, 0.06228521838784218, 0.07856542617082596, 0.012218035757541656, 0.01465938426554203, 0.04508446529507637, -0.06499919295310974, 0.01653251424431801, -0.026258334517478943, -0.0209105983376503, 0.009864188730716705, 0.024733711034059525, -0.021831611171364784, 0.027281180024147034, -0.0123219583183527, 0.045561812818050385, -0.015785474330186844, 0.02850871905684471, 0.007046154234558344, 0.046514082700014114, -0.011226596310734749, 0.1731424778699875, -0.01755763217806816, -0.004571041092276573, -0.00876638200134039, -0.027760649099946022, -0.03666016086935997, 0.08128644526004791, -0.0015199531335383654, 0.03173390403389931, 0.006580129265785217, 0.053467702120542526, 0.012132938951253891, 0.013551074080169201, -0.01362756360322237, -0.027567895129323006, 0.016671936959028244, -0.0012587852543219924, -0.01138203963637352, 0.0436503067612648, 0.013325824402272701, -0.03731129691004753, -0.0015906357439234853, 0.06895989179611206, -0.0047339159063994884, 0.03209612891077995, -0.03773537278175354, -0.0703764408826828, -0.015563412569463253, -0.011075291782617569, -0.0434553436934948, -0.04245714098215103, -0.006444938015192747, 0.013449867255985737, 0.08397415280342102, 0.010802694596350193, -0.023281030356884003, -0.0035762034822255373, 0.018687749281525612, 0.006360594183206558, -0.05990773066878319, 0.09107355028390884, 0.03148113563656807, 0.008035091683268547 ]
[ -0.040958914905786514, 0.0036169744562357664, -0.01968972571194172, -0.013047931715846062, -0.022289404645562172, 0.019787801429629326, 0.014880308881402016, 0.028827089816331863, -0.03538545221090317, -0.008064758963882923, -0.016240425407886505, 0.007451736833900213, 0.02755120024085045, -0.023126928135752678, -0.03263772651553154, -0.0015492124948650599, -0.017026444897055626, 0.0007652004715055227, 0.022754913195967674, -0.011126241646707058, -0.015273020602762699, -0.007625228725373745, -0.0019382499158382416, -0.01779281161725521, -0.030159683898091316, 0.03730064630508423, -0.03328739479184151, -0.015633411705493927, 0.043302055448293686, -0.11163187772035599, -0.04955320432782173, -0.03202510625123978, 0.01771155558526516, 0.022108113393187523, -0.012388745322823524, -0.02294112928211689, -0.05909731239080429, 0.0341031514108181, -0.029059503227472305, 0.016351832076907158, -0.006290114019066095, -0.025446409359574318, 0.005426200106739998, 0.028465045616030693, 0.024415718391537666, 0.011794501915574074, -0.009572151117026806, -0.009998776018619537, -0.017092347145080566, -0.02890981361269951, -0.031103309243917465, 0.010344760492444038, -0.0058325775898993015, 0.0325663723051548, -0.010334640741348267, -0.03843878209590912, -0.021430734544992447, 0.02053375355899334, 0.029309498146176338, 0.023333827033638954, 0.016141043975949287, -0.0050243497826159, -0.0011815886246040463, -0.012073477730154991, -0.0021713324822485447, -0.031296905130147934, -0.054357871413230896, 0.01598981022834778, 0.022945711389183998, -0.009493050165474415, 0.01767539046704769, 0.04339173436164856, -0.033086538314819336, -0.012545347213745117, 0.01932399719953537, -0.0061741722747683525, -0.01656116172671318, 0.007051106076687574, 0.008638294413685799, -0.0006560324691236019, -0.02427351102232933, 0.0063467505387961864, 0.034059055149555206, -0.014598521403968334, -0.010183434933423996, -0.032425109297037125, -0.0007764992769807577, 0.017744610086083412, -0.03051142208278179, -0.005036431830376387, -0.01607682555913925, 0.023822898045182228, -0.02351737581193447, -0.003867920022457838, -0.0949011966586113, 0.0006400513811968267, 0.023047612980008125, 0.004976046737283468, -0.02239448018372059, 0.8651447892189026, -0.005001934710890055, 0.021288691088557243, 0.013372198678553104, 0.029926078394055367, 0.014589707367122173, -0.01586560532450676, -0.01821207068860531, -0.018518462777137756, 0.014835719019174576, -0.05908067896962166, 0.007047765422612429, 0.0023092515766620636, 0.002633518073707819, 0.01042588334530592, 0.013287273235619068, -0.023283345624804497, -0.005740891210734844, 0.046090029180049896, 0.024998407810926437, 0.013083389960229397, -0.012757984921336174, -0.02203531004488468, -0.031269676983356476, 0.016368839889764786, 0.013398143462836742, -0.15660837292671204, 0.008731810376048088, -7.448018899518387e-33, 0.032206762582063675, 0.0010842361953109503, 0.001179547281935811, -0.027629049494862556, 0.008275063708424568, -0.023791776970028877, 0.006864695809781551, 0.007864968851208687, -0.024552782997488976, 0.0007538009085692465, -0.004081137012690306, 0.0064590247347950935, 0.008054355159401894, -0.00885932706296444, 0.05323456972837448, 0.0356309749186039, -0.009580529294908047, 0.01900751329958439, 0.007323753088712692, -0.00550849037244916, 0.05858251824975014, 0.009446456097066402, 0.005761683918535709, 0.028322022408246994, 0.01790154166519642, 0.01916440762579441, -0.018589520826935768, -0.00963081605732441, -0.01806909590959549, -0.04536678269505501, -0.039105579257011414, 0.05778102949261665, 0.012130078859627247, -0.0399724505841732, -0.0016179922968149185, -0.04595468193292618, 0.011254473589360714, 0.017094559967517853, -0.01216096431016922, -0.019813457503914833, -0.014038792811334133, -0.021284207701683044, -0.0030738089699298143, -0.038935545831918716, -0.01792081445455551, 0.0008740175981074572, 0.0268887709826231, 0.0316132977604866, -0.0037236325442790985, 0.008314431644976139, 0.005826394073665142, -0.013432435691356659, 0.013573517091572285, -0.004785842727869749, -0.015364707447588444, 0.0358743742108345, 0.012588382698595524, -0.013187889941036701, 0.006505928933620453, 0.02333802729845047, 0.013331761583685875, -0.012654660269618034, 0.0003420689608901739, 0.014410099014639854, -0.01806010864675045, -0.04379703849554062, 0.053105056285858154, -0.015582045540213585, 0.005251707974821329, 0.005832028109580278, -0.058933746069669724, 0.007505265064537525, -0.025802142918109894, -0.047262903302907944, 0.025880901142954826, -0.016138311475515366, 0.02643102966248989, 0.0208529494702816, -0.030230388045310974, 0.03676071763038635, 0.04213499650359154, -0.013701469637453556, 0.02565719373524189, -0.013628610409796238, -0.0014520521508529782, 0.0031875502318143845, 0.042173128575086594, -0.012237440794706345, -0.0021086118649691343, 0.014207233674824238, 0.02476661466062069, 0.042837005108594894, -0.009339839220046997, -0.021204795688390732, -0.019482383504509926, 7.778456973690255e-33, 0.029143866151571274, 0.010362834669649601, -0.006171742454171181, 0.01154009997844696, 0.00653662858530879, 0.014485005289316177, 0.03669824078679085, 0.022596130147576332, -0.029014140367507935, 0.031631000339984894, 0.016829537227749825, -0.016055190935730934, -0.014025148004293442, -0.0024017393589019775, 0.028713807463645935, 0.004146829713135958, -0.021358828991651535, 0.03353477269411087, -0.006413796450942755, 0.016269491985440254, -0.001680054934695363, 0.021652577444911003, -0.029068078845739365, -0.00006273232429521158, -0.008528492413461208, 0.03937802091240883, -0.003873273730278015, 0.02309582754969597, -0.011520144529640675, 0.027560079470276833, -0.01823226921260357, -0.016538633033633232, -0.013798719272017479, -0.003434058977290988, -0.03893815726041794, 0.012743561528623104, 0.02658260427415371, -0.0072579700499773026, 0.01777622103691101, 0.016285428777337074, 0.04425952956080437, 0.03236623480916023, -0.030994445085525513, 0.030106719583272934, 0.018340984359383583, -0.014433184638619423, 0.012446056120097637, 0.03231599181890488, -0.018301935866475105, 0.002946471329778433, 0.0015104137128219008, 0.02738211490213871, -0.007176590617746115, 0.02455354481935501, -0.005160794127732515, 0.009793225675821304, -0.04316575452685356, 0.03279978036880493, -0.024179155007004738, 0.011901866644620895, -0.026442140340805054, -0.010523692704737186, -0.020754043012857437, -0.011081512086093426, -0.020799482241272926, -0.0070060682483017445, -0.010106295347213745, 0.016748538240790367, -0.016846660524606705, -0.02065430022776127, -0.021033592522144318, 0.017991330474615097, 0.015199088491499424, 0.02664424106478691, -0.0064724041149020195, 0.0019279808038845658, -0.049522820860147476, 0.0210310947149992, -0.013274704106152058, 0.03464161604642868, 0.04490702226758003, -0.0039015370421111584, 0.022877534851431847, 0.004130372777581215, 0.0307155754417181, 0.04865230247378349, 0.016185743734240532, 0.00890694186091423, 0.022420242428779602, -0.028710046783089638, -0.02564665861427784, 0.016321586444973946, 0.02187635935842991, 0.010309921577572823, -0.001364188501611352, -1.3107046115123921e-8, -0.0030995383858680725, 0.02132088504731655, -0.006373486015945673, -0.014404929243028164, 0.036090631037950516, 0.02460486628115177, -0.016755761578679085, 0.013344470411539078, -0.04305938258767128, -0.00028254257631488144, 0.04225926846265793, -0.01796829141676426, -0.03356534242630005, 0.008434934541583061, 0.017792556434869766, -0.015093895606696606, -0.0037237301003187895, 0.001925711752846837, 0.023946333676576614, 0.04130241647362709, -0.0025214781053364277, 0.03362918645143509, -0.0032537244260311127, -0.020670801401138306, 0.02342398464679718, -0.028138641268014908, 0.013094386085867882, -0.06072073429822922, 0.023791378363966942, 0.0031144050881266594, -0.004133410286158323, -0.03563839942216873, 0.0007411048281937838, 0.013812973164021969, 0.00832761824131012, -0.0447055958211422, 0.025700442492961884, -0.002543587703257799, 0.018552307039499283, -0.010142821818590164, -0.012427998706698418, -0.017708366736769676, -0.050008535385131836, -0.03555573150515556, -0.036977216601371765, 0.0011429399019107223, -0.000481866009067744, -0.02821091189980507, 0.001719672349281609, -0.002300903433933854, 0.009017405100166798, -0.010500848293304443, -0.011282487772405148, 0.017529968172311783, 0.04274018108844757, -0.01779358461499214, 0.014011401683092117, -0.024557461962103844, -0.03507533296942711, 0.03051609918475151, -0.011448279954493046, 0.010332673788070679, -0.029013536870479584, -0.013818057253956795 ]
kaggle-digit-recognizer-a-feature-extraction-fail
https://markhneedham.com/blog/2013/01/31/kaggle-digit-recognizer-a-feature-extraction-fail
false
2013-01-08 00:48:07
Kaggle Digit Recognizer: Finding pixels with no variance using R
[ "kaggle" ]
[ "R", "Machine Learning" ]
I've http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-k-means-optimisation-attempt/[written] http://www.markhneedham.com/blog/2012/11/29/kaggle-digit-recognizer-weka-adaboost-attempt/[previously] http://www.markhneedham.com/blog/2012/10/23/kaggle-digit-recognizer-a-k-means-attempt/[about] http://www.markhneedham.com/blog/2012/10/27/kaggle-digit-recognizer-mahout-random-forest-attempt/[our] http://www.markhneedham.com/blog/2012/12/27/mahout-parallelising-the-creation-of-decisiontrees/[attempts] at the http://www.kaggle.com/c/digit-recognizer[Kaggle Digit Recogniser] problem and our approach so far has been to use the data provided and plug it into different algorithms and see what we end up with. From http://www.kaggle.com/c/digit-recognizer/forums/t/2308/feature-extraction-technique?page=2[browsing through the forums] we saw others mentioning feature extraction - an approach where we transform the data into another format , the thinking being that we can train a better classifier with better data. There was quite a nice quote from a post written by Rachel Schutt about the Columbia Data Science course which http://columbiadatascience.com/2012/10/15/10-important-data-science-ideas/[summed up the mistake we'd made]: ____ The Space between the Data Set and the Algorithm Many people go straight from a data set to applying an algorithm. But there's a huge space in between of important stuff. It's easy to run a piece of code that predicts or classifies. That's not the hard part. The hard part is doing it well. ____ One thing we'd noticed while visually scanning the data set was that a lot of the features seemed to consistently have a value of 0. We thought we'd try and find out which pixels those were by finding the features which had zero variance in their values. I started out by loading a subset of the data set and then taking a sample of that to play around with: [source,r] ---- initial <- read.csv("train.csv", nrows=10000, header = TRUE) # take a sample of 1000 rows of the input sampleSet <- initial[sample(1:nrow(initial), 1000), ] ---- Just for fun I thought it'd be interesting to see how well the labels were distributed in my sample which we can do with the following code: [source,r] ---- # get all the labels sampleSet.labels <- as.factor(sampleSet$label) > table(sampleSet.labels) sampleSet.labels 0 1 2 3 4 5 6 7 8 9 102 116 100 97 95 91 79 122 102 96 ---- There are a few more 1's and 7s than the other labels but they're roughly in the same ballpark so it's ok. I wanted to http://stackoverflow.com/questions/6286313/remove-an-entire-column-from-a-data-frame-in-r[exclude the 'label' field] from the data set because the variance of labels isn't interesting to us on this occasion. We can do that with the following code: [source,r] ---- # get data set excluding label excludingLabel <- subset( sampleSet, select = -label) ---- To find all the features with no variance we then do this: [source,r] ---- # show all the features which don't have any variance - all have the same value variances <- apply(excludingLabel, 2, var) # get the names of the labels which have no variance > pointlessFeatures <- names(excludingLabel[variances == 0][1,]) [1] "pixel0" "pixel1" "pixel2" "pixel3" "pixel4" "pixel5" "pixel6" "pixel7" [9] "pixel8" "pixel9" "pixel10" "pixel11" "pixel12" "pixel13" "pixel14" "pixel15" [17] "pixel16" "pixel17" "pixel18" "pixel19" "pixel20" "pixel21" "pixel22" "pixel23" [25] "pixel24" "pixel25" "pixel26" "pixel27" "pixel28" "pixel29" "pixel30" "pixel31" [33] "pixel32" "pixel33" "pixel51" "pixel52" "pixel53" "pixel54" "pixel55" "pixel56" [41] "pixel57" "pixel58" "pixel59" "pixel60" "pixel82" "pixel83" "pixel84" "pixel85" [49] "pixel86" "pixel88" "pixel110" "pixel111" "pixel112" "pixel113" "pixel114" "pixel139" [57] "pixel140" "pixel141" "pixel142" "pixel168" "pixel169" "pixel196" "pixel252" "pixel280" [65] "pixel308" "pixel335" "pixel336" "pixel364" "pixel365" "pixel392" "pixel393" "pixel420" [73] "pixel421" "pixel448" "pixel476" "pixel504" "pixel532" "pixel559" "pixel560" "pixel587" [81] "pixel615" "pixel643" "pixel644" "pixel645" "pixel671" "pixel672" "pixel673" "pixel699" [89] "pixel700" "pixel701" "pixel727" "pixel728" "pixel729" "pixel730" "pixel731" "pixel752" [97] "pixel753" "pixel754" "pixel755" "pixel756" "pixel757" "pixel758" "pixel759" "pixel760" [105] "pixel779" "pixel780" "pixel781" "pixel782" "pixel783" ---- We can count how many labels there are by using the +++<cite>+++length+++</cite>+++ function: [source,r] ---- # count how many labels have no variance > length(names(excludingLabel[apply(excludingLabel, 2, var) == 0][1,])) [1] 109 ---- I then wrote those out to a file so that we could use them as the input to the code which builds up our classifier. [source,r] ---- write(file="pointless-features.txt", pointlessFeatures) ---- Of course we should run the variance test against the full data set rather than just a sample and on the whole data set there are only 76 features with zero variance: [source,r] ---- > sampleSet <- read.csv("train.csv", header = TRUE) > sampleSet.labels <- as.factor(sampleSet$label) > table(sampleSet.labels) sampleSet.labels 0 1 2 3 4 5 6 7 8 9 4132 4684 4177 4351 4072 3795 4137 4401 4063 4188 > excludingLabel <- subset( sampleSet, select = -label) > variances <- apply(excludingLabel, 2, var) > pointlessFeatures <- names(excludingLabel[variances == 0][1,]) > length(names(excludingLabel[apply(excludingLabel, 2, var) == 0][1,])) [1] 76 ---- We've built decision trees using this reduced data set but haven't yet submitted the forest to Kaggle to see if it's any more accurate! I picked up the little R I know from the https://class.coursera.org/compdata-002/class/index[Computing for Data Analysis] course which started last week and from the book 'http://www.amazon.co.uk/R-in-a-Nutshell-ebook/dp/B009HE12MK/ref=sr_1_1?ie=UTF8&qid=1357606031&sr=8-1[R in a Nutshell]' which my colleague https://twitter.com/quantisan[Paul Lam] recommended.
null
null
[ 0.004291466902941465, 0.003444537753239274, 0.0009575562435202301, 0.055629290640354156, 0.07660974562168121, 0.0361088328063488, 0.039474498480558395, 0.027125297114253044, 0.010502004064619541, -0.006128556560724974, -0.016161683946847916, -0.012932810001075268, -0.05136418715119362, -0.005871810484677553, -0.037929467856884, 0.0700942799448967, 0.06949084997177124, 0.013467440381646156, 0.036672160029411316, 0.0223963875323534, 0.013815968297421932, 0.05119211599230766, 0.03632894530892372, 0.01081787422299385, 0.03432111814618111, 0.010806630365550518, 0.022385764867067337, 0.013208286836743355, -0.05336267128586769, -0.007462481036782265, 0.049636051058769226, 0.029901981353759766, -0.0004516241606324911, 0.011616247706115246, 0.04778742417693138, -0.0017131923232227564, -0.040023431181907654, 0.01235458254814148, 0.027526969090104103, 0.03811904415488243, -0.06868898868560791, 0.049298953264951706, -0.020276743918657303, 0.03443998098373413, -0.055435311049222946, -0.013418751768767834, -0.06929358094930649, 0.0063359239138662815, 0.01889107935130596, -0.00521190045401454, -0.05718826875090599, 0.03127582371234894, 0.0014721021289005876, -0.0011449778685346246, -0.018657028675079346, 0.058829039335250854, 0.031156785786151886, -0.06290562450885773, 0.029415369033813477, -0.016672857105731964, -0.006618440616875887, -0.02092229574918747, -0.005904889665544033, 0.02085322141647339, 0.00863607320934534, -0.027898676693439484, 0.010774187743663788, 0.045131511986255646, -0.028309369459748268, 0.0035211965441703796, -0.009597225114703178, 0.010372933000326157, 0.0012275341432541609, -0.0010465045925229788, -0.0070456042885780334, -0.041790563613176346, 0.016284797340631485, 0.05600091814994812, 0.018165558576583862, 0.011134743690490723, -0.020586319267749786, 0.005505474749952555, 0.026978828012943268, 0.026509955525398254, -0.03139014542102814, -0.039929501712322235, -0.02985329180955887, -0.03645436093211174, -0.08344609290361404, 0.05973878502845764, 0.005476292222738266, -0.0695805773139, 0.0245414599776268, 0.0394865907728672, -0.010680018924176693, 0.006195994559675455, 0.013363191857933998, -0.020610233768820763, -0.014356532134115696, -0.03303655609488487, -0.029332218691706657, -0.026388496160507202, 0.015560711733996868, 0.011570729315280914, -0.08207978308200836, -0.006140347104519606, -0.011196473613381386, 0.01662333495914936, -0.011552965268492699, 0.0066600763238966465, -0.022076379507780075, 0.01744448021054268, -0.002115254057571292, -0.011068902909755707, -0.08657635748386383, 0.05466509237885475, 0.007166044320911169, -0.06368816643953323, -0.007932987995445728, 0.009820527397096157, 0.06020216643810272, 0.03874612972140312, -0.03066352941095829, 0.06083746254444122, 0.00611436553299427, 0.016507534310221672, 0.013786175288259983, 0.056016311049461365, -0.018364278599619865, -0.0450761578977108, -0.022606616839766502, 0.0371229313313961, -0.012480557896196842, 0.0050084530375897884, 0.015626998618245125, -0.03665471822023392, -0.013141905888915062, 0.020992504432797432, 0.057813242077827454, 0.039668627083301544, 0.014592718333005905, -0.05521242320537567, 0.0076776184141635895, 0.027577659115195274, 0.012659288011491299, 0.007692164275795221, 0.004855164792388678, -0.0012429060880094767, -0.04381265863776207, -0.009330946020781994, -0.004252308048307896, 0.006314576603472233, 0.029257597401738167, -0.047972455620765686, 0.02043580450117588, 0.08559879660606384, 0.0046892170794308186, 0.014852873980998993, 0.01179905142635107, 0.035303205251693726, 0.02984585054218769, 0.0123556824401021, 0.006289248820394278, 0.02385667711496353, 0.01046251691877842, -0.026947181671857834, 0.03089992329478264, 0.06840383261442184, -0.010261688381433487, 0.027321618050336838, -0.029100382700562477, -0.057961076498031616, 0.05405006557703018, -0.039780423045158386, -0.018910931423306465, 0.035183437168598175, 0.08117900788784027, 0.05568651482462883, 0.03623542562127113, 0.003203385043889284, -0.08029182255268097, 0.035884466022253036, 0.01862458512187004, 0.02834724262356758, 0.012415162287652493, -0.006822607945650816, 0.09441258013248444, 0.024365847930312157, 0.02897562086582184, 0.04022243246436119, -0.05800798162817955, -0.06810720264911652, -0.02383318915963173, -0.026017911732196808, 0.06948627531528473, -0.023468296974897385, 0.022313741967082024, 0.046380750834941864, 0.00630774674937129, 0.05570639297366142, 0.027125069871544838, -0.013624412938952446, 0.02065221033990383, -0.032677315175533295, -0.046263061463832855, 0.058594997972249985, 0.027972355484962463, -0.04289322346448898, -0.037905823439359665, 0.0042362636886537075, -0.011874145828187466, -0.04258519411087036, 0.01378615852445364, -0.023215319961309433, 0.027040204033255577, 0.03137585520744324, 0.07524502277374268, -0.023969344794750214, 0.03695223852992058, -0.0274101160466671, -0.011325488798320293, 0.007646343670785427, -0.018730150535702705, 0.010836727917194366, 0.04624355211853981, 0.1334453970193863, 0.07887615263462067, -0.015637651085853577, -0.030338795855641365, -0.011495507322251797, 0.008021161891520023, -0.06514012813568115, 0.006588211748749018, -0.00951587874442339, -0.008759886026382446, -0.009375614114105701, -0.06074768677353859, -0.054593246430158615, 0.03881372511386871, -0.029627157375216484, -0.014799432829022408, 0.06386547535657883, -0.03881825879216194, 0.049401868134737015, 0.011013525538146496, -0.007993466220796108, 0.0048143635503947735, -0.019651584327220917, -0.051445022225379944, -0.007654949557036161, -0.009824677370488644, -0.00957659911364317, 0.015353115275502205, -0.029242776334285736, -0.025445980951189995, -0.03499193862080574, -0.034263238310813904, -0.006034244317561388, 0.05979570001363754, 0.05575520172715187, 0.014061267487704754, 0.06248555704951286, -0.025749189779162407, 0.002091259928420186, 0.0031350301578640938, -0.0544176809489727, -0.04685741662979126, -0.03571382164955139, 0.012243006378412247, 0.04912421479821205, 0.01178780384361744, 0.025769159197807312, 0.03962107002735138, 0.00958594772964716, 0.0019301533466205, -0.02659340389072895, 0.06119115650653839, 0.02170916460454464, -0.023374730721116066, -0.003528817556798458, -0.03812678903341293, 0.04804427549242973, -0.031223662197589874, -0.002081081038340926, 0.0007978418143466115, -0.08296189457178116, 0.04903246834874153, -0.07200146466493607, -0.04777165874838829, 0.023115478456020355, 0.003576937597244978, 0.04578707367181778, 0.00074971211142838, 0.0025898106396198273, 0.0516166165471077, -0.0011123991571366787, 0.0044992538169026375, 0.004310066346079111, -0.014096100814640522, 0.04633473977446556, -0.0037640894297510386, 0.023631978780031204, 0.055679693818092346, 0.005571150686591864, -0.023387659341096878, -0.05323871597647667, 0.011953877285122871, -0.022983752191066742, -0.30838486552238464, 0.02865392155945301, 0.013423087075352669, -0.04607735574245453, 0.00782108772546053, -0.01902981661260128, 0.010287088342010975, -0.028030531480908394, -0.020251041278243065, 0.0030984338372945786, -0.02335687354207039, -0.023546405136585236, -0.043711062520742416, 0.03179186210036278, 0.011779730208218098, -0.0020338469184935093, 0.003079635789617896, -0.033239174634218216, 0.022484397515654564, 0.05616793781518936, 0.005519586615264416, -0.053345803171396255, -0.0006212855805642903, 0.04989605396986008, 0.006020962260663509, 0.062441904097795486, -0.07312358170747757, 0.008088250644505024, -0.05715242773294449, -0.015549096278846264, 0.009303458966314793, 0.00033856966183520854, -0.0007862746715545654, -0.0068508777767419815, -0.0032463574316352606, -0.017538506537675858, 0.04091070219874382, -0.00034967041574418545, -0.017063599079847336, 0.029616575688123703, 0.005666922777891159, -0.020256176590919495, 0.010898319073021412, 0.025504354387521744, 0.08237385004758835, 0.03740386664867401, -0.07433069497346878, -0.007533229421824217, -0.02543392963707447, 0.05657858029007912, -0.030694937333464622, -0.02332219108939171, -0.03420194983482361, 0.04151929169893265, -0.009608225896954536, -0.012392718344926834, 0.004713148344308138, -0.015671266242861748, -0.03314141556620598, -0.02701987698674202, -0.01632499508559704, -0.021483654156327248, 0.010690122842788696, -0.07088105380535126, -0.005125101190060377, -0.07111836969852448, -0.0639244019985199, -0.019207336008548737, 0.0753386840224266, 0.01886504702270031, -0.047293052077293396, 0.019202757626771927, -0.007709104102104902, -0.10174676030874252, -0.006854897364974022, -0.006551096681505442, 0.0012930419761687517, 0.011435197666287422, 0.004870184231549501, 0.07327404618263245, -0.035578422248363495, -0.07594243437051773, 0.043809499591588974, -0.007312424015253782, 0.012212042696774006, -0.041358668357133865, 0.0046137068420648575, 0.02624620497226715, 0.014237990602850914, 0.01629183255136013, 0.05764612928032875, 0.017566878348588943, -0.03254705294966698, -0.017399681732058525, 0.02069290541112423, 0.031262561678886414, 0.032018885016441345, -0.008412934839725494, 0.005732270423322916, 0.028279677033424377, -0.0030255024321377277, -0.05912501737475395, 0.024744421243667603, -0.058005016297101974, -0.03865789622068405, 0.008736498653888702, -0.05507739260792732, -0.0015701762167736888, 0.041856799274683, -0.001851540058851242, -0.019375691190361977, -0.06174548715353012, 0.017841221764683723, -0.039580151438713074, -0.016277803108096123, -0.005598966032266617, 0.0166332945227623, 0.020899757742881775, 0.013299538753926754, -0.030772095546126366, -0.03646901994943619, 0.006792904809117317, 0.0066115232184529305, -0.005741081200540066, -0.037010520696640015, -0.04613908752799034, -0.021416451781988144, -0.001784990425221622, 0.0047280192375183105, -0.0067272791638970375, 0.00591267691925168, 0.03501802310347557, 0.016043903306126595, -0.024629434570670128, 0.020093698054552078, -0.011581609956920147, -0.050201598554849625, -0.02990112639963627, 0.032501187175512314, -0.006345069035887718, -0.004599160514771938, 0.0004269875935278833, 0.01976350136101246, 0.0157557912170887, 0.048950083553791046, 0.0030159379821270704, 0.03280489519238472, -0.024690575897693634, 0.03836987540125847, -0.0046868762001395226, -0.0008409880683757365, -0.06124353036284447, 0.010073763318359852, -0.019498661160469055, -0.002937585348263383, -0.0044945478439331055, 0.04554111137986183, -0.0034087863750755787, -0.03126399219036102, -0.02876393496990204, 0.026204122230410576, -0.017595823854207993, -0.023580756038427353, -0.05056864768266678, 0.025012822821736336, 0.06029317528009415, -0.028639646247029305, 0.014240576885640621, 0.016135139390826225, 0.0071985721588134766, 0.014552932232618332, 0.0011242737527936697, -0.039045996963977814, 0.015578752383589745, 0.007706908043473959, -0.014685310423374176, -0.011281248182058334, 0.021265976130962372, 0.012409031391143799, -0.0005332889850251377, -0.019176336005330086, -0.016845935955643654, -0.016333216801285744, 0.029124028980731964, 0.06743636727333069, 0.038060009479522705, -0.012287907302379608, 0.008344738744199276, -0.018717462196946144, -0.009589097462594509, -0.039216987788677216, -0.01347426325082779, 0.008703354746103287, 0.013228624127805233, -0.024806896224617958, -0.06471994519233704, 0.030034877359867096, 0.009445218369364738, -0.005272048059850931, 0.020387595519423485, -0.007336337585002184, 0.0024954616092145443, -0.01529026497155428, 0.014890779741108418, 0.07276878505945206, -0.07055980712175369, 0.0074818977154791355, -0.007301919627934694, -0.030694251880049706, -0.00805695541203022, 0.007220613770186901, -0.05662522464990616, -0.018191475421190262, -0.03905187174677849, 0.009166451171040535, -0.05274464935064316, -0.059687819331884384, -0.013618881814181805, 0.02789563313126564, -0.004210130777209997, -0.001812185626477003, -0.005273915361613035, -0.0016354089602828026, 0.007121313828974962, -0.019184637814760208, 0.016779964789748192, -0.004478743299841881, 0.009687766432762146, 0.020118404179811478, -0.03749244660139084, 0.0023283474147319794, -0.029103510081768036, 0.0020193886011838913, 0.052537884563207626, -0.02631826139986515, -0.007731292862445116, -0.03527066111564636, 0.004148534964770079, -0.002326725982129574, 0.061437781900167465, 0.002726942300796509, -0.02298775129020214, -0.05611186847090721, 0.0031168004497885704, -0.04125075414776802, 0.03218557685613632, -0.0218220055103302, -0.020276330411434174, 0.01944970153272152, 0.04386978596448898, -0.0020376979373395443, 0.022413892671465874, -0.02529084123671055, -0.021881313994526863, 0.043036095798015594, -0.03618932515382767, -0.02488139644265175, -0.049352794885635376, -0.037446245551109314, 0.011432606726884842, 0.0007494784076698124, 0.025094103068113327, -0.00495535833761096, 0.03987794741988182, 0.011369087733328342, 0.025393424555659294, 0.014514031819999218, 0.018260201439261436, 0.03513222187757492, -0.03787699341773987, 0.0022215661592781544, -0.09044647961854935, -0.016045650467276573, 0.03471584990620613, -0.004746465012431145, -0.010651827789843082, 0.0007024246733635664, -0.027015043422579765, 0.009653723798692226, -0.06520836055278778, -0.01758508011698723, 0.053686026483774185, -0.003497551428154111, -0.018787257373332977, -0.012256897985935211, -0.0466211698949337, 0.037546176463365555, 0.014798740856349468, -0.044005170464515686, -0.03350983187556267, -0.035441819578409195, 0.06168568879365921, -0.007751284167170525, 0.03670468181371689, -0.011590654961764812, -0.025403598323464394, 0.06369810551404953, 0.021166948601603508, 0.007722205948084593, 0.034904759377241135, -0.008769944310188293, 0.05134380981326103, 0.021628059446811676, -0.0002005502610700205, -0.01835114136338234, 0.014740010723471642, 0.005080475937575102, -0.07889337837696075, 0.04185882955789566, 0.002200908726081252, -0.026131510734558105, -0.034182045608758926, 0.0756160244345665, 0.03356834501028061, -0.02086871862411499, -0.05046214908361435, 0.03239480406045914, -0.0631227195262909, 0.012006726115942001, -0.006670111790299416, -0.009214482270181179, -0.04856326803565025, 0.05211589112877846, -0.01146665308624506, -0.022219398990273476, 0.05772485211491585, -0.018000561743974686, 0.006017917767167091, 0.014142307452857494, 0.09669143706560135, 0.0885080099105835, 0.05465015769004822, 0.02356644719839096, 0.06559330224990845, -0.025874648243188858, -0.03949996456503868, 0.027913415804505348, 0.003971821628510952, -0.036943577229976654, -0.03944593667984009, 0.013799077831208706, 0.046652309596538544, -0.03070000931620598, 0.07664629071950912, -0.0485902801156044, -0.004825057461857796, 0.012351956218481064, 0.040389128029346466, 0.01698674075305462, 0.04824826493859291, -0.007739471271634102, 0.009062914177775383, -0.04384291172027588, -0.03800404071807861, 0.033858440816402435, -0.00870612170547247, -0.01521009486168623, 0.00821646023541689, -0.021170957013964653, 0.025332720950245857, -0.0040891594253480434, 0.05245920270681381, 0.07251144200563431, -0.038665443658828735, -0.012836840003728867, -0.0022473777644336224, 0.04717402532696724, 0.0035162409767508507, 0.035806961357593536, -0.03568209707736969, -0.009062554687261581, -0.0006885642069391906, -0.012568606063723564, 0.000803627772256732, -0.016642708331346512, -0.02457549050450325, 0.01718590036034584, -0.04425853118300438, -0.022087756544351578, 0.025598963722586632, 0.009733413346111774, -0.03312641382217407, -0.04189043119549751, -0.034224677830934525, -0.021384069696068764, -0.060693029314279556, -0.022592367604374886, 0.010374060831964016, 0.007090359460562468, -0.021029122173786163, -0.032006386667490005, -0.03563018888235092, -0.03496722877025604, 0.02485368773341179, -0.07374085485935211, -0.01970001310110092, 0.0035227183252573013, 0.03430081531405449, 0.01842818595468998, 0.0175334345549345, 0.03720545396208763, -0.005642736796289682, -0.0034575671888887882, -0.008395669981837273, 0.0012243391247466207, 0.040686432272195816, 0.03105555661022663, -0.003972816746681929, -0.07029379904270172, 0.0027295714244246483, 0.01454130932688713, -0.0283979419618845, -0.07752476632595062, 0.025592554360628128, 0.021687474101781845, 0.005839139688760042, 0.032053712755441666, -0.009892195463180542, -0.005293846130371094, -0.052101075649261475, -0.019343405961990356, -0.043629150837659836, 0.0020780765917152166, 0.023896127939224243, -0.011313637718558311, 0.09424740821123123, 0.026461560279130936, -0.0051856026984751225, -0.04965655505657196, -0.02964875102043152, 0.002079540630802512, 0.00635382579639554, -0.03872102126479149, -0.04929845407605171, -0.034003835171461105, -0.08456791192293167, -0.03525983542203903, 0.03533388301730156, -0.021752944216132164, -0.050102706998586655, 0.03175891563296318, 0.019665662199258804, -0.008704207837581635, 0.03778356686234474, -0.038635801523923874, 0.004978978540748358, -0.03730574622750282, -0.010228059254586697, -0.009550304152071476, 0.03658229112625122, -0.04098359867930412, 0.016981223598122597, 0.0003822559956461191, -0.04868628457188606, 0.013685782440006733, 0.0013691118219867349, 0.02932794578373432, 0.026231205090880394, 0.005019646603614092, -0.021878916770219803 ]
[ -0.08633989095687866, -0.021177666261792183, -0.03325186297297478, -0.013391587883234024, 0.04034988954663277, -0.021725613623857498, 0.023487813770771027, 0.026569215580821037, -0.013224635273218155, -0.019969632849097252, 0.036672621965408325, -0.059787724167108536, -0.023644037544727325, -0.01203383132815361, 0.08636675775051117, 0.02623228169977665, 0.026985712349414825, -0.058841582387685776, -0.004448838997632265, 0.03145427256822586, 0.021803181618452072, -0.013852311298251152, -0.05426407977938652, -0.039951130747795105, -0.0009411448263563216, 0.026727117598056793, 0.035344529896974564, -0.06557897478342056, 0.024068841710686684, -0.22149330377578735, 0.012702660635113716, 0.000628827721811831, 0.10326992720365524, -0.03125284984707832, -0.00799751840531826, 0.028244132176041603, 0.039807286113500595, 0.04540858790278435, -0.02886851131916046, 0.02127218246459961, 0.0027462185826152563, -0.011572717688977718, -0.025868309661746025, -0.03568677604198456, 0.03623071312904358, 0.01847364380955696, -0.006880816537886858, -0.03473538160324097, -0.057369280606508255, 0.011711767874658108, -0.07051406055688858, -0.02825762890279293, -0.007677948102355003, 0.0007928807171992958, 0.01033838838338852, 0.01823069341480732, 0.041527099907398224, 0.0580827072262764, 0.025273175910115242, 0.020312609151005745, 0.01676531881093979, 0.0039986502379179, -0.11783979833126068, 0.06588074564933777, 0.007674104068428278, 0.04110969975590706, -0.015001296997070312, -0.056031856685876846, -0.013868259266018867, 0.07302869856357574, 0.050959959626197815, -0.019478866830468178, -0.015269645489752293, 0.020859109237790108, 0.0024207038804888725, -0.006013992242515087, 0.0007781934109516442, 0.021513834595680237, 0.02809750661253929, -0.027208726853132248, -0.021944303065538406, 0.019972361624240875, -0.025463735684752464, -0.01260512974113226, -0.0520227886736393, 0.0030115367844700813, -0.04822133481502533, 0.01187877543270588, 0.0070043886080384254, 0.034007444977760315, 0.042120009660720825, 0.026998601853847504, 0.02230776660144329, -0.008351481519639492, -0.07427152246236801, -0.01882164739072323, -0.008158188313245773, 0.01602865941822529, -0.010219346731901169, 0.428409606218338, -0.037618935108184814, -0.005665561184287071, 0.04325155168771744, 0.015881545841693878, -0.030735721811652184, -0.04854834824800491, -0.014782072044909, -0.04829075187444687, 0.021183717995882034, -0.05722838267683983, 0.03281962499022484, 0.004439443815499544, 0.04082415997982025, -0.006287543568760157, -0.022811030969023705, -0.020720280706882477, 0.04038696363568306, 0.029885128140449524, 0.039009939879179, 0.0036702314391732216, -0.010979334823787212, 0.01631166972219944, 0.0011040160898119211, -0.019828958436846733, 0.0173123050481081, 0.0020375328604131937, 0.03048587217926979, 0.06916976720094681, 0.044698383659124374, 0.024910451844334602, 0.0541783832013607, -0.051273446530103683, -0.08574669808149338, 0.008752899244427681, -0.01290642935782671, -0.015875866636633873, 0.05534810572862625, 0.005298874340951443, -0.011985310353338718, 0.007658412680029869, -0.012056076899170876, -0.001425631227903068, 0.04258090257644653, 0.031390879303216934, -0.03458119556307793, 0.14282836019992828, -0.03045509196817875, -0.04195239394903183, -0.004338749684393406, -0.0807565301656723, 0.04740346595644951, 0.025726988911628723, -0.02289394475519657, -0.057092223316431046, 0.022400105372071266, 0.030920008197426796, 0.08356547355651855, -0.048186901956796646, -0.08387380838394165, -0.0010664043948054314, -0.007522015366703272, -0.023234538733959198, -0.039010558277368546, 0.01932741515338421, 0.07221109420061111, -0.08339925855398178, -0.012463696300983429, -0.016405945643782616, 0.021621236577630043, -0.06343022733926773, 0.03303796052932739, 0.046557895839214325, -0.031266357749700546, 0.04021916911005974, 0.014428758062422276, -0.04072817414999008, -0.04519844800233841, 0.037211157381534576, 0.03531409054994583, -0.005859089083969593, 0.0028709799516946077, -0.002558276988565922, -0.033331189304590225, -0.004098979756236076, -0.030514612793922424, -0.0714578703045845, -0.04412462189793587, 0.00616086320951581, -0.018996166065335274, -0.004696107003837824, -0.00003219429709133692, -0.030491387471556664, -0.06276635080575943, 0.05457353591918945, -0.030310798436403275, -0.039138488471508026, 0.013728507794439793, 0.010103060863912106, -0.039537739008665085, -0.03372982516884804, -0.034432414919137955, 0.03565695509314537, -0.00857034232467413, 0.00743055297061801, -0.04472534358501434, 0.05060887336730957, 0.055370595306158066, -0.043757304549217224, 0.08757112920284271, 0.044774942100048065, 0.012361656874418259, -0.060234326869249344, -0.014837721362709999, 0.0005071688210591674, -0.0038024417590349913, -0.03107430413365364, 0.018245840445160866, 0.012305937707424164, -0.014813912101089954, 0.027771176770329475, -0.012536358088254929, 0.010764636099338531, -0.039435259997844696, -0.37066298723220825, -0.03566393628716469, 0.003177444916218519, 0.01497022993862629, 0.009838063269853592, -0.07874934375286102, 0.006346259731799364, 0.006359311286360025, -0.005589170381426811, 0.025402050465345383, 0.0663549154996872, 0.00887898076325655, 0.00844042282551527, -0.06292200088500977, 0.010571392253041267, 0.019693464040756226, -0.015795379877090454, -0.0239073745906353, -0.04295017570257187, 0.005268176551908255, -0.016887806355953217, 0.036088548600673676, -0.0012275446206331253, -0.05722283199429512, -0.017682723701000214, -0.036950960755348206, 0.1009199395775795, 0.014219642616808414, 0.09062688052654266, -0.01685076393187046, 0.03612047806382179, -0.0021888893097639084, -0.000772175844758749, -0.08588209003210068, 0.03771130368113518, -0.037988513708114624, 0.001937402063049376, 0.023146752268075943, 0.01673385128378868, -0.030895907431840897, -0.04645499587059021, 0.02721811644732952, -0.021277856081724167, -0.035005390644073486, -0.045221731066703796, 0.03875439614057541, -0.028504012152552605, -0.030400291085243225, -0.035769764333963394, 0.05373210459947586, 0.0093179726973176, 0.020316261798143387, 0.038388725370168686, 0.009666402824223042, -0.020661531016230583, -0.026808954775333405, -0.08553682267665863, -0.008777695707976818, -0.013357539661228657, 0.02077748067677021, 0.03850434347987175, 0.02138611301779747, 0.02445940300822258, -0.08315125852823257, -0.011901750229299068, 0.024680649861693382, -0.01938646472990513, 0.016489841043949127, 0.021230442449450493, -0.017847927287220955, -0.017320888116955757, 0.12626783549785614, -0.0021508855279535055, -0.009773972444236279, 0.037354838103055954, 0.051132600754499435, 0.01749599352478981, 0.00795090850442648, 0.009375629015266895, 0.029375702142715454, 0.057997941970825195, -0.010158530436456203, 0.030238788574934006, -0.014373804442584515, 0.04180833324790001, 0.028769152238965034, 0.036787111312150955, -0.01621079072356224, 0.030316678807139397, 0.022930679842829704, -0.009527303278446198, -0.012660951353609562, 0.007685711607336998, -0.08273933082818985, 0.08254075050354004, 0.014950712211430073, -0.24535559117794037, 0.02600180171430111, 0.043909817934036255, 0.07242186367511749, 0.0025986628606915474, 0.019067823886871338, 0.03242989256978035, -0.06666922569274902, 0.01846715435385704, -0.015429642051458359, -0.033542536199092865, 0.024327194318175316, 0.01950114220380783, -0.017642468214035034, 0.030230430886149406, -0.014922951348125935, 0.0526929534971714, -0.013052796013653278, 0.03629721328616142, -0.00954345427453518, 0.05269289389252663, -0.0010257984977215528, 0.1562667191028595, -0.00790353212505579, 0.006870358716696501, -0.0010932416189461946, -0.018868908286094666, -0.020977405831217766, 0.07991531491279602, -0.01048270519822836, 0.020929496735334396, 0.009455377236008644, 0.04485313966870308, 0.014782832004129887, 0.028284089639782906, -0.018823126330971718, -0.03581266105175018, 0.0027255576569586992, 0.020166654139757156, -0.0026912768371403217, 0.040297042578458786, 0.015527844429016113, -0.044710077345371246, 0.004719465505331755, 0.08359912782907486, 0.0026452455203980207, 0.018783733248710632, -0.054246652871370316, -0.0567830428481102, -0.0311703160405159, -0.010049673728644848, -0.03642214462161064, -0.028907399624586105, -0.020585481077432632, 0.01632877066731453, 0.08749279379844666, -0.0013592111645266414, -0.031671468168497086, -0.026473741978406906, -0.008459816686809063, -0.013275081291794777, -0.04870019480586052, 0.08139289170503616, 0.014916934072971344, 0.011764824390411377 ]
[ -0.025738712400197983, -0.00797206349670887, -0.032063983380794525, -0.014330796897411346, -0.028126059100031853, 0.014150789938867092, 0.011425496079027653, 0.012984707951545715, -0.028450526297092438, 0.0025004984345287085, -0.015197011642158031, 0.016015859320759773, 0.0031496461015194654, -0.010373336263000965, -0.03629240393638611, -0.004495758097618818, -0.004219657275825739, 0.017403332516551018, 0.03011305443942547, 0.0033455120865255594, -0.02353322133421898, -0.0035110183525830507, 0.00032800325425341725, -0.015524834394454956, -0.01632414013147354, 0.01721811480820179, -0.01863684132695198, -0.013957624323666096, 0.0340239480137825, -0.09435545653104782, -0.049152836203575134, -0.03615477681159973, 0.0032539991661906242, 0.024308808147907257, -0.01384261716157198, -0.03531347215175629, -0.034230079501867294, 0.04468228295445442, -0.03699875250458717, 0.019984249025583267, -0.0003149359254166484, -0.029223240911960602, 0.01980682834982872, 0.020078642293810844, 0.002558379899710417, 0.023355016484856606, -0.024267911911010742, -0.003819648642092943, -0.013066626153886318, -0.010968619026243687, -0.02813689596951008, 0.010174069553613663, -0.027762319892644882, 0.009579391218721867, -0.0047271884977817535, -0.037724003195762634, 0.0008025989518500865, 0.03385916352272034, 0.020395977422595024, 0.0065301149152219296, 0.04192131385207176, 0.008654841221868992, -0.006523722317069769, -0.018553389236330986, -0.007727756630629301, -0.010019074194133282, -0.039307981729507446, 0.006065610330551863, 0.02303536981344223, -0.0005021187826059759, 0.043701548129320145, 0.02368045598268509, -0.006561713293194771, -0.02976362407207489, 0.03210998326539993, -0.00816058274358511, -0.012931817211210728, 0.003386665601283312, 0.014081636443734169, -0.013730131089687347, -0.004907944239675999, 0.020164474844932556, 0.027241729199886322, -0.00978943519294262, 0.0015838684048503637, -0.047354746609926224, -0.009325254708528519, 0.01711156964302063, -0.03247116506099701, -0.032702717930078506, -0.0166027769446373, 0.00439127441495657, -0.03292229771614075, -0.01785706914961338, -0.10365024209022522, 0.0068867444060742855, 0.011653234250843525, 0.01766425371170044, -0.03014073520898819, 0.8427696824073792, -0.001908831181935966, 0.03639676049351692, -0.0002308258117409423, 0.0157146193087101, 0.01974031887948513, -0.0029945513233542442, -0.0013556127669289708, -0.03574731945991516, 0.022382883355021477, -0.044378139078617096, 0.014837837778031826, 0.016292376443743706, 0.00967947207391262, 0.027845822274684906, 0.03314400464296341, -0.0387236587703228, -0.0042466772720217705, 0.031065931543707848, 0.022607840597629547, 0.008742713369429111, -0.02203877829015255, -0.028289884328842163, -0.008801368065178394, 0.02861788310110569, 0.03106698952615261, -0.14393991231918335, -0.003933942411094904, -8.028483152742217e-33, 0.039616383612155914, -0.009495038539171219, 0.01839982345700264, -0.02521032840013504, 0.010881420224905014, -0.03784235194325447, -0.010643540881574154, -0.02283748798072338, -0.017554929479956627, -0.006622969172894955, -0.004026526119560003, -0.0007784590125083923, 0.0290369912981987, -0.007750497665256262, 0.06083868816494942, 0.027746712788939476, -0.018114140257239342, 0.0117420619353652, -0.008470338769257069, 0.0054212529212236404, 0.04142383858561516, 0.00426847580820322, -0.008198955096304417, 0.030634241178631783, 0.03408575430512428, 0.028912095353007317, -0.0132171381264925, -0.01647684909403324, -0.002545764436945319, -0.038591768592596054, -0.034432802349328995, 0.041661277413368225, 0.017301438376307487, -0.04445839673280716, -0.017765454947948456, -0.045143380761146545, 0.0017370326677337289, 0.028924033045768738, -0.012795074842870235, -0.0688537061214447, -0.01587825082242489, -0.02045607939362526, -0.022985583171248436, -0.035868119448423386, -0.00022055201407056302, 0.004220176488161087, 0.03959283605217934, 0.0655345693230629, -0.005319939460605383, -0.0015879529528319836, 0.004987368825823069, -0.027411118149757385, 0.00002791218321362976, 0.01631448045372963, -0.011746339499950409, 0.02993912063539028, 0.021603016182780266, -0.00794094055891037, 0.025054290890693665, 0.04359506815671921, 0.014759223908185959, -0.022882049903273582, 0.0029274250846356153, 0.030714772641658783, -0.030360916629433632, -0.03776666522026062, 0.0695640966296196, -0.017581453546881676, 0.023281719535589218, 0.024641364812850952, -0.06056959927082062, -0.009550791233778, -0.034533411264419556, -0.03078376315534115, -0.010530070401728153, -0.00545524200424552, 0.04939620941877365, 0.018831608816981316, -0.048233676701784134, 0.04555613547563553, 0.03886019438505173, -0.014791520312428474, 0.004698413889855146, -0.019734838977456093, 0.0038345984648913145, 0.0015021931612864137, 0.022605380043387413, -0.03532346338033676, -0.016369933262467384, 0.016706274822354317, 0.025849854573607445, 0.041080426424741745, -0.012559624388813972, -0.029817836359143257, 0.0023576889652758837, 8.257113130557306e-33, 0.020764192566275597, -0.013382532633841038, -0.012829964980483055, 0.010407764464616776, -0.008886276744306087, -0.0017565091839060187, 0.027980823069810867, 0.018138501793146133, -0.05050363019108772, 0.025401629507541656, 0.0014035089407116175, -0.020559176802635193, -0.013025832362473011, 0.006464244332164526, 0.02706914208829403, -0.004493015818297863, 0.005955837666988373, 0.07134232670068741, 0.028363244608044624, 0.013308859430253506, 0.03328946232795715, 0.038184307515621185, -0.01757458783686161, 0.004179363604635, 0.0018393209902569652, 0.038513947278261185, -0.015429570339620113, 0.03250902146100998, -0.008273385465145111, 0.00765943480655551, 0.0025424067862331867, -0.01258689071983099, -0.010336022824048996, -0.0037707285955548286, -0.04899485409259796, 0.013374775648117065, 0.026032019406557083, -0.039005208760499954, -0.014559464529156685, 0.03650173172354698, 0.029056666418910027, 0.03469191491603851, -0.0389079749584198, 0.0148569131270051, 0.01928083412349224, -0.010126599110662937, 0.01890568807721138, 0.02890811488032341, -0.01643291674554348, -0.023122554644942284, 0.01265580952167511, 0.009126732125878334, -0.015037687495350838, 0.031920839101076126, -0.042180873453617096, 0.025380901992321014, -0.042267344892024994, 0.04372115433216095, -0.015815697610378265, 0.03540138900279999, -0.02809692546725273, -0.014986657537519932, -0.0007685565506108105, -0.027438383549451828, -0.0385495088994503, -0.006102423183619976, 0.025641214102506638, -0.003824554616585374, -0.008671874180436134, -0.028545508161187172, -0.03525501489639282, 0.02259279042482376, 0.007491676602512598, 0.06137021258473396, 0.015223369002342224, -0.012811921536922455, -0.058290451765060425, 0.033401601016521454, -0.008712065406143665, 0.0231584832072258, 0.033284999430179596, -0.011200301349163055, 0.0019647208973765373, 0.008718077093362808, 0.032736703753471375, 0.0479995459318161, 0.014779534190893173, 0.022147025913000107, 0.006820277776569128, -0.03949528560042381, -0.030486401170492172, 0.025464195758104324, 0.0022538364864885807, 0.020097216591238976, -0.021099291741847992, -1.3402170928600299e-8, 0.003416588995605707, 0.03143773972988129, 0.012257386930286884, -0.02379833720624447, 0.03493161126971245, 0.014504910446703434, -0.010342814959585667, 0.031865861266851425, -0.06566218286752701, -0.020601311698555946, 0.03988638520240784, -0.030370188876986504, -0.0469377376139164, 0.006303037982434034, 0.03015676513314247, -0.02386127971112728, 0.0020072883926331997, -0.015511559322476387, 0.02154291793704033, 0.05290180444717407, 0.01723763719201088, 0.04086541011929512, 0.001057058572769165, -0.014952639117836952, -0.00020528024469967932, -0.008341658860445023, 0.027272237464785576, -0.057206545025110245, 0.009607052430510521, 0.009360060095787048, 0.008561580441892147, -0.04545034095644951, 0.005818442441523075, 0.02238278277218342, -0.010355142876505852, -0.03677317500114441, 0.007707605604082346, 0.013576319441199303, 0.01724756881594658, -0.013607438653707504, -0.0175134539604187, -0.023402685299515724, -0.05842628702521324, -0.03446505591273308, -0.0442764088511467, 0.021565519273281097, 0.0033634451683610678, -0.03086329996585846, -0.013310062699019909, -0.00796914380043745, -0.0001442510838387534, -0.007190095726400614, 0.005378352012485266, 0.02567685768008232, 0.02642073854804039, -0.02761104516685009, 0.015156391076743603, -0.0390203632414341, -0.014329494908452034, 0.031285256147384644, 0.013379504904150963, 0.014625630341470242, -0.020632309839129448, -0.015694327652454376 ]
kaggle-digit-recognizer-finding-pixels-with-no-variance-using-r
https://markhneedham.com/blog/2013/01/08/kaggle-digit-recognizer-finding-pixels-with-no-variance-using-r
false
2013-01-23 23:09:28
R: Ordering rows in a data frame by multiple columns
[ "r-2" ]
[ "R" ]
In one of the assignments of https://www.coursera.org/course/compdata[Computing for Data Analysis] we needed to sort a data frame based on the values in two of the columns and then return the top value. The initial data frame looked a bit like this: [source,r] ---- > names <- c("paul", "mark", "dave", "will", "john") > values <- c(1,4,1,2,1) > smallData <- data.frame(name = names, value = values) > smallData name value 1 paul 1 2 mark 4 3 dave 1 4 will 2 5 john 1 ---- I want to be able to http://stackoverflow.com/questions/1296646/how-to-sort-a-dataframe-by-columns-in-r[sort the data frame by value and name both in ascending order] so the final result should look like this: [source,text] ---- name value 3 dave 1 5 john 1 1 paul 1 4 will 2 2 mark 4 ---- To do that we can use the +++<cite>+++http://stat.ethz.ch/R-manual/R-patched/library/base/html/order.html[order]+++</cite>+++ function which will tell us the indices of the vector in sorted order. e.g. in our case [source,r] ---- > order(c(1,4,1,2,1)) [1] 1 3 5 4 2 ---- If we pass a collection of indices to the extract operation it'll reorder the rows. e.g. [source,r] ---- > smallData[c(5,4,3,2,1),] name value 5 john 1 4 will 2 3 dave 1 2 mark 4 1 paul 1 ---- In our case we wire everything together like this to sort by the second column (value): [source,r] ---- > smallData[order(smallData[,2]),] name value 1 paul 1 3 dave 1 5 john 1 4 will 2 2 mark 4 ---- It's a reasonably small tweak to get it to sort first by the second column and then by the first (name) which is what we want: [source,r] ---- > smallData[order(smallData[,2], smallData[,1]),] name value 3 dave 1 5 john 1 1 paul 1 4 will 2 2 mark 4 ---- If we wanted to use the column names instead of indices we'd do the following: [source,r] ---- > smallData[order(smallData$value, smallData$name),] name value 3 dave 1 5 john 1 1 paul 1 4 will 2 2 mark 4 ---- We could also rewrite it using the +++<cite>+++with+++</cite>+++ function if we want to reduce the code further: [source,r] ---- > smallData[with(smallData, order(value, name)),] name value 3 dave 1 5 john 1 1 paul 1 4 will 2 2 mark 4 ---- As I understand it, when we use +++<cite>+++with+++</cite>+++ we put +++<cite>+++smallData+++</cite>+++ into the environment and evaluate the second argument to +++<cite>+++with+++</cite>+++ with respect to that so in this case it allows us to refer to the column names of +++<cite>+++smallData+++</cite>+++.
null
null
[ -0.00876177754253149, 0.004442146979272366, -0.01750887557864189, 0.046039752662181854, 0.07129259407520294, 0.01956142671406269, -0.021805722266435623, -0.013636252842843533, 0.0014313874999061227, -0.002783220261335373, -0.004290453158318996, 0.0019099429482594132, -0.06162860989570618, 0.015428077429533005, -0.03671792894601822, 0.057543687522411346, 0.054990820586681366, -0.014544390141963959, 0.05181794613599777, -0.004243521485477686, 0.036895520985126495, 0.06100825220346451, -0.0176323764026165, 0.030875854194164276, 0.0428692102432251, -0.013793149031698704, -0.004053520038723946, 0.01708662323653698, -0.046922534704208374, 0.03180037811398506, 0.049290046095848083, 0.0061957272700965405, -0.0234853383153677, -0.022031735628843307, 0.02736731991171837, -0.02254696935415268, 0.010479937307536602, 0.0006306042778305709, 0.014966246671974659, -0.00819751713424921, -0.06225103884935379, 0.012149261310696602, -0.035205304622650146, 0.017138516530394554, -0.033075977116823196, 0.005323303397744894, -0.050436388701200485, 0.014405091293156147, 0.0018186625093221664, 0.014702496118843555, -0.0547381266951561, 0.044385168701410294, 0.018823513761162758, -0.02030961960554123, -0.0028385522309690714, 0.04332542419433594, 0.006970459129661322, -0.03195490315556526, 0.015305154025554657, -0.03581734746694565, 0.013620248064398766, 0.0050066569820046425, 0.00019972668087575585, 0.046577006578445435, 0.02332010492682457, -0.05841608718037605, -0.012018043547868729, 0.05546001344919205, -0.05017022415995598, -0.019374145194888115, -0.053183455020189285, -0.012353682890534401, -0.03380512818694115, 0.014749559573829174, -0.026896651834249496, -0.02604025974869728, -0.0034575825557112694, 0.06180659681558609, -0.013046645559370518, 0.02980859763920307, -0.028060903772711754, -0.010603168979287148, 0.018768416717648506, 0.01650085859000683, 0.008273319341242313, -0.027189362794160843, -0.07316737622022629, -0.06445075571537018, -0.05419430881738663, 0.03044860064983368, -0.044771939516067505, -0.04776526987552643, -0.008943315595388412, 0.02424774505198002, -0.044254399836063385, -0.0030499238055199385, 0.017281824722886086, -0.01831664703786373, 0.006283982656896114, -0.005116603337228298, -0.0669434443116188, -0.05418497323989868, 0.08612161129713058, 0.01782686449587345, -0.054664500057697296, -0.012709766626358032, 0.01258244551718235, -0.016637064516544342, 0.004598583094775677, -0.003243903862312436, -0.01069349143654108, -0.016521915793418884, -0.009738882072269917, 0.0015064424369484186, -0.06970485299825668, 0.05335414037108421, 0.026531485840678215, -0.015735013410449028, -0.02483396604657173, 0.008265059441328049, 0.03462289273738861, 0.03232216462492943, -0.007129760924726725, 0.06721994280815125, 0.01598505862057209, 0.03348338231444359, 0.035237204283475876, 0.041874147951602936, -0.02393117919564247, -0.06738456338644028, -0.01153660099953413, 0.05831259861588478, -0.016313476487994194, -0.01249789260327816, -0.02738015353679657, -0.038902509957551956, -0.01819644495844841, 0.008896910585463047, 0.046446509659290314, 0.02672170102596283, 0.04393427073955536, -0.011203032918274403, -0.012766617350280285, 0.007791589479893446, 0.02577487751841545, 0.016749542206525803, -0.022909728810191154, -0.05018828436732292, -0.026208000257611275, 0.011117410846054554, 0.027111290022730827, 0.02279067412018776, 0.0777687057852745, -0.030797770246863365, 0.022378845140337944, 0.08276072889566422, 0.04099862650036812, 0.04086897894740105, 0.012411842122673988, 0.0028068337123841047, 0.04823178052902222, 0.023568177595734596, 0.010515746660530567, 0.058024127036333084, -0.020595824345946312, -0.0128135085105896, 0.0373237282037735, 0.05271463096141815, -0.030402984470129013, 0.0016784494509920478, -0.038825612515211105, -0.06300682574510574, 0.05144082009792328, -0.005867641884833574, -0.0010644389549270272, 0.04840067774057388, 0.06438267976045609, 0.040878891944885254, 0.030122030526399612, -0.016961771994829178, -0.06680937856435776, 0.03650045394897461, -0.011874512769281864, 0.029104599729180336, 0.05411587283015251, -0.0066471463069319725, 0.10537968575954437, 0.0325719453394413, 0.029702218249440193, 0.03545075282454491, -0.05841579660773277, -0.07722505927085876, -0.04907685145735741, -0.017207598313689232, 0.04394707828760147, -0.022963151335716248, -0.011203983798623085, 0.0972580760717392, 0.005965348798781633, 0.020550798624753952, 0.020605461671948433, 0.031962860375642776, 0.021761734038591385, -0.050449565052986145, -0.03406583517789841, -0.0033956398256123066, 0.027907811105251312, 0.0026408822741359472, 0.0019479377660900354, 0.06414845585823059, -0.016231674700975418, 0.029561571776866913, -0.011396651156246662, -0.035433750599622726, 0.04900238290429115, 0.02399531938135624, 0.04782342165708542, 0.019503049552440643, 0.05624726042151451, -0.03192221745848656, 0.04467366263270378, -0.01981092430651188, -0.020907055586576462, -0.02839077077805996, -0.009742580354213715, 0.14018042385578156, 0.07865265756845474, -0.015389085747301579, -0.05357636883854866, 0.029175424948334694, -0.01404628623276949, -0.02870812639594078, 0.0046616955660283566, -0.010507012717425823, -0.02168325148522854, 0.011799376457929611, -0.030184868723154068, -0.01926165074110031, 0.029865378513932228, -0.03163384646177292, 0.001924451207742095, 0.06155964359641075, -0.008679471909999847, 0.0434708297252655, 0.029185594990849495, -0.00663770129904151, 0.02286079339683056, -0.02928175777196884, -0.07379748672246933, -0.013097844086587429, 0.02933364175260067, -0.01291676051914692, 0.0387147031724453, -0.042043205350637436, -0.02020782046020031, 0.00898998323827982, -0.051106493920087814, 0.016961989924311638, 0.07313182950019836, 0.023998526856303215, -0.035228293389081955, 0.0234348364174366, -0.020895948633551598, -0.016232671216130257, -0.01608857326209545, -0.048032697290182114, -0.049396757036447525, -0.054416146129369736, 0.00676761707291007, 0.03198583796620369, -0.002324753673747182, -0.010468642227351665, 0.014560460112988949, 0.012527605518698692, -0.011903108097612858, -0.028593722730875015, 0.043391626328229904, -0.016669850796461105, -0.005237639881670475, -0.030077187344431877, 0.0007964052492752671, 0.03604252636432648, -0.0005984447197988629, -0.03555559739470482, 0.0030244046356528997, -0.06546283513307571, 0.0448513925075531, -0.05341878533363342, -0.020697779953479767, 0.003512763185426593, 0.0037767342291772366, 0.02137792482972145, -0.00789561029523611, 0.007658299989998341, 0.026301514357328415, 0.017475591972470284, 0.020154913887381554, 0.005193738732486963, 0.006362416781485081, 0.045191556215286255, 0.016605878248810768, 0.026273032650351524, 0.051397357136011124, -0.009653311222791672, 0.0047968048602342606, -0.046095848083496094, -0.027201512828469276, 0.00748077780008316, -0.24412788450717926, 0.018923833966255188, -0.0034121712669730186, -0.02744334004819393, 0.03137355297803879, -0.05329478159546852, 0.013957959599792957, -0.014572683721780777, -0.016137709841132164, -0.004719089716672897, -0.005775471683591604, -0.012047726660966873, -0.0334995798766613, 0.04683335870504379, -0.0037396750412881374, 0.0680643767118454, -0.015631334856152534, -0.05050165578722954, 0.01280346792191267, 0.09208506345748901, 0.044471219182014465, -0.030719058588147163, -0.0300371702760458, 0.03431946784257889, 0.0036363766994327307, 0.0525512658059597, -0.0654636099934578, 0.0476541705429554, -0.041072867810726166, -0.04849759861826897, 0.032815445214509964, -0.016052143648266792, 0.024192174896597862, -0.023977259173989296, 0.02660480886697769, -0.06083274260163307, 0.04388865828514099, 0.03333054110407829, 0.01470351591706276, 0.029368456453084946, -0.028855880722403526, -0.020006103441119194, 0.010166700929403305, 0.004128126427531242, 0.06652484089136124, 0.0008422154933214188, -0.040740083903074265, 0.017223326489329338, -0.03144136816263199, 0.0748879462480545, -0.017959043383598328, -0.0015685477992519736, -0.025566451251506805, 0.005242448300123215, -0.03643698990345001, -0.0061989943496882915, -0.03597744554281235, 0.004432854242622852, -0.024735180661082268, -0.04745819792151451, -0.026898633688688278, -0.03375342860817909, 0.0025738144759088755, -0.05779189616441727, -0.019017500802874565, -0.07926952093839645, -0.06691350787878036, 0.008487486280500889, 0.039903752505779266, 0.04282128065824509, -0.025690672919154167, 0.01787429116666317, 0.021899767220020294, -0.11263325810432434, 0.033186912536621094, -0.051228977739810944, -0.007076492067426443, -0.002716850722208619, -0.00021140994795132428, 0.04074070602655411, -0.04082021489739418, -0.05860200151801109, 0.023570790886878967, 0.0064734602347016335, -0.006892710458487272, -0.026322750374674797, -0.0017469193553552032, 0.001406864495947957, -0.022836022078990936, -0.025088926777243614, 0.05173530429601669, -0.03553800284862518, -0.014208952896296978, 0.01171516440808773, -0.011190819554030895, 0.052940163761377335, -0.00026057095965370536, 0.009636897593736649, 0.04586092382669449, 0.0356602743268013, 0.031576383858919144, -0.04205919802188873, -0.003632178995758295, -0.06112165376543999, -0.03061411716043949, 0.022216860204935074, -0.08034446835517883, 0.02214590460062027, 0.011190760880708694, 0.012241818942129612, -0.008434276096522808, -0.04281852766871452, 0.04666993021965027, -0.04489387944340706, -0.011018664576113224, -0.015487718395888805, 0.0051335920579731464, 0.004592541139572859, 0.003238741774111986, -0.005326922982931137, -0.05780543014407158, -0.00776233384385705, -0.01894356869161129, -0.052502237260341644, -0.07230094075202942, -0.030829032883048058, 0.018295573070645332, -0.022809453308582306, -0.007790315430611372, 0.008233080618083477, -0.01447403896600008, 0.004289745353162289, 0.027707424014806747, -0.01711389049887657, 0.020884687080979347, -0.01255766674876213, -0.02635031007230282, -0.003682709066197276, 0.013836419209837914, 0.01188424602150917, -0.01832052692770958, -0.004988668020814657, -0.01866862177848816, 0.012231285683810711, 0.033382270485162735, -0.0015968873631209135, -0.00029517983784899116, 0.0060965740121901035, 0.00030174769926816225, 0.0020740411709994078, 0.015125974081456661, 0.021525662392377853, 0.014487329870462418, -0.03309812396764755, -0.037442825734615326, -0.005179204512387514, 0.05852968245744705, -0.008034160360693932, -0.042845383286476135, -0.03549991175532341, 0.008435522206127644, -0.03836852312088013, -0.012501010671257973, -0.026004770770668983, -0.0023890328593552113, 0.05356966704130173, 0.007486068643629551, 0.017153732478618622, 0.023807983845472336, -0.011159563437104225, -0.005104259587824345, 0.017320655286312103, -0.02305516228079796, 0.0017547487514093518, -0.01600700244307518, -0.029852403327822685, 0.045790888369083405, 0.03956059366464615, 0.013634176924824715, 0.028950316831469536, -0.025018051266670227, -0.01891191489994526, -0.00664990209043026, -0.006332477554678917, 0.027698490768671036, 0.052793484181165695, 0.0048935371451079845, 0.007254382129758596, -0.020496893674135208, -0.048448022454977036, -0.013545027002692223, -0.013438940048217773, 0.0012034649262204766, 0.012588909827172756, -0.029714062809944153, -0.05916271731257439, 0.0072793192230165005, 0.011486592702567577, -0.02798054926097393, 0.01999109424650669, -0.04875495657324791, 0.024399742484092712, -0.029112493619322777, 0.04955445975065231, 0.05313169211149216, -0.05677402392029762, 0.0015552581753581762, 0.006026644259691238, 0.0040804133750498295, 0.008907952345907688, -0.009939164854586124, -0.06491223722696304, 0.0026184695307165384, -0.018651263788342476, 0.008340280503034592, -0.0049448758363723755, -0.026731397956609726, -0.05274183675646782, -0.0008792575681582093, -0.019468162208795547, 0.011800813488662243, -0.03228185325860977, 0.021421106532216072, -0.022779904305934906, 0.021793916821479797, -0.004031478427350521, -0.0044500441290438175, -0.03714161366224289, 0.06344445794820786, -0.006169068161398172, 0.010639522224664688, -0.005998893175274134, 0.018718600273132324, 0.03150824084877968, -0.024332420900464058, -0.01125991903245449, -0.07151281088590622, -0.00959076825529337, 0.0317692905664444, 0.03874461352825165, 0.007353172171860933, -0.022803811356425285, -0.040660303086042404, 0.016393058001995087, -0.015250502154231071, -0.005928416736423969, -0.0002722835342865437, -0.026677170768380165, 0.04072650894522667, 0.040975287556648254, 0.002120730932801962, 0.0106543293222785, 0.011320292018353939, -0.04406018555164337, 0.07176519930362701, -0.02186695672571659, -0.06717468798160553, -0.04285763204097748, -0.025600913912057877, 0.015064086765050888, 0.016162047162652016, 0.02709268033504486, -0.05624126270413399, 0.04239565506577492, 0.03592551499605179, 0.046443432569503784, 0.05474906042218208, 0.004308520816266537, 0.04930068179965019, -0.052179157733917236, 0.015667414292693138, -0.08908393234014511, -0.03323705866932869, 0.0346188098192215, -0.0010044893715530634, -0.016614066436886787, -0.011176537722349167, -0.027235480025410652, 0.0099769476801157, -0.06307461857795715, -0.04204364866018295, 0.035169366747140884, -0.00034865940688177943, 0.019869647920131683, 0.000942064041737467, -0.035760581493377686, -0.0021135697606951, 0.04357581213116646, -0.048310890793800354, 0.024166373535990715, -0.040823839604854584, 0.06636270880699158, -0.01595226116478443, 0.028708400204777718, -0.008927729912102222, -0.03410044312477112, 0.03974740207195282, 0.039200711995363235, 0.0029997266829013824, 0.04268346726894379, -0.04393228143453598, 0.02603372000157833, 0.033080000430345535, -0.03400998190045357, 0.006449639797210693, 0.022347187623381615, 0.03956875950098038, -0.03380537033081055, 0.004078981000930071, 0.03179607912898064, 0.0092430105432868, -0.06526260823011398, 0.08236011117696762, -0.0022160285152494907, -0.053049828857183456, -0.04192938283085823, 0.004791259299963713, -0.04267648234963417, -0.004219918977469206, -0.0004074606404174119, 0.01300870906561613, -0.042371176183223724, 0.06124050170183182, 0.004042333457618952, -0.0020434767939150333, 0.07067494839429855, -0.011449604295194149, -0.02005038596689701, 0.005381849128752947, 0.06643572449684143, 0.11812572926282883, 0.06227936968207359, -0.014099962078034878, 0.037450335919857025, -0.024302110075950623, -0.05747503787279129, 0.015998419374227524, -0.042061347514390945, 0.023972494527697563, -0.02812829799950123, 0.009276367723941803, 0.06896298378705978, -0.02883201092481613, 0.06580571830272675, -0.023493530228734016, -0.007664752192795277, 0.018987424671649933, 0.03119581751525402, 0.043667200952768326, 0.04755838215351105, -0.023648863658308983, 0.044892508536577225, -0.01576184295117855, -0.024975962936878204, 0.003210449358448386, 0.033383581787347794, -0.006370485760271549, 0.021700065582990646, -0.011931521818041801, 0.007097689434885979, 0.014964728616178036, 0.00974304974079132, 0.10332377254962921, -0.03187847137451172, -0.029778549447655678, -0.0038770996034145355, 0.046508945524692535, -0.021534563973546028, 0.002619233215227723, -0.0153699591755867, -0.03629019856452942, 0.009319610893726349, -0.04528279975056648, -0.023950861766934395, 0.0016393648693338037, -0.026050783693790436, 0.01524430513381958, -0.03383190557360649, 0.024465730413794518, 0.04172637313604355, 0.014308439567685127, -0.051807668060064316, -0.06081542745232582, -0.060665715485811234, -0.06345321238040924, -0.057237379252910614, -0.006694433744996786, 0.03297191113233566, -0.00915609672665596, -0.04153310880064964, -0.024408414959907532, -0.04346337169408798, -0.003326732898131013, 0.014570998959243298, -0.04439758509397507, -0.02384452521800995, 0.0006799891707487404, 0.03453933075070381, 0.037628620862960815, 0.024693625047802925, 0.011001874692738056, -0.008991137146949768, -0.0112016461789608, -0.010481102392077446, 0.027233567088842392, 0.044498637318611145, 0.027988042682409286, 0.0009574320283718407, -0.08753638714551926, 0.02200494334101677, -0.01463917177170515, -0.01181825902312994, -0.07259953022003174, 0.004025104455649853, 0.021654736250638962, 0.0013814030680805445, 0.03253195062279701, -0.027454031631350517, 0.010496830567717552, -0.006088867783546448, -0.024414867162704468, -0.015292627736926079, 0.032745473086833954, 0.029374554753303528, -0.044342290610075, 0.07867565006017685, 0.026398230344057083, 0.03971776366233826, -0.07919701188802719, -0.021957557648420334, 0.006413200404495001, 0.013500920496881008, -0.053800325840711594, -0.022718120366334915, -0.03930816799402237, -0.07524026185274124, -0.027702774852514267, 0.029406387358903885, -0.05605153366923332, -0.03385597839951515, -0.0023930452298372984, 0.00951111689209938, -0.04700764641165733, 0.04693230614066124, -0.0431843064725399, 0.03225283324718475, -0.02582460269331932, -0.00769822159782052, -0.00034145719837397337, 0.06090977415442467, -0.013372589834034443, 0.029240960255265236, 0.002676905132830143, -0.025883173570036888, 0.009147977456450462, -0.008451839908957481, -0.002482773968949914, 0.07205196470022202, 0.014974414370954037, 0.017589258030056953 ]
[ -0.09619516879320145, -0.03176141902804375, -0.05406003072857857, -0.04053286463022232, 0.07885896414518356, -0.023461751639842987, -0.016080845147371292, 0.020990585908293724, 0.050105106085538864, 0.031185315921902657, 0.017845917493104935, -0.057255592197179794, 0.013472560793161392, 0.017618713900446892, 0.040852781385183334, -0.017846064642071724, -0.012911289930343628, -0.0008666054927743971, -0.048035942018032074, 0.017520014196634293, -0.024063995108008385, -0.058855779469013214, -0.08506233990192413, -0.059443358331918716, 0.05936911329627037, 0.01207849383354187, 0.0014134056400507689, -0.06335249543190002, -0.020322490483522415, -0.20925870537757874, -0.010133272036910057, 0.006200855132192373, 0.07751516997814178, -0.042469967156648636, 0.02322683110833168, 0.0029202736914157867, 0.02308618277311325, 0.02676064521074295, -0.0009120914037339389, -0.004460723139345646, 0.014261136762797832, -0.009722761809825897, -0.04624658823013306, -0.021060416474938393, 0.04030564799904823, 0.01767614111304283, -0.02998441830277443, -0.005351802799850702, -0.03229856863617897, 0.012743665836751461, -0.06472627818584442, 0.004492423962801695, -0.032614566385746, 0.002153289271518588, 0.01742667704820633, 0.03832264989614487, 0.048628069460392, 0.00411975709721446, 0.0035148244351148605, 0.042237553745508194, 0.035404570400714874, -0.015621401369571686, -0.1552673727273941, 0.08698629587888718, 0.030372070148587227, 0.02421661838889122, -0.0298719834536314, -0.030028291046619415, -0.02302018366754055, 0.0892128273844719, 0.011108254082500935, -0.010179928503930569, -0.034842442721128464, 0.06300228834152222, 0.011976859532296658, -0.046778760850429535, -0.011981706134974957, -0.012696555815637112, 0.042920585721731186, -0.017060277983546257, -0.046716801822185516, 0.017912179231643677, -0.010343803092837334, 0.0007191526237875223, 0.015440571121871471, 0.014480303972959518, -0.01265748031437397, 0.02019539475440979, -0.0063404846005141735, 0.018348494544625282, 0.05500755086541176, 0.0022721507120877504, 0.03572358936071396, 0.05191153660416603, -0.059562791138887405, -0.0185687318444252, 0.0015982139157131314, 0.01635541394352913, 0.016469238325953484, 0.37027332186698914, -0.015273146331310272, 0.0009647033293731511, -0.0029318148735910654, 0.043367546051740646, -0.003761691739782691, -0.002974259667098522, -0.02441268600523472, -0.06041022017598152, 0.010608826763927937, -0.03534841164946556, 0.006836645305156708, -0.0015045272884890437, 0.05418354272842407, -0.07383468002080917, 0.014318407513201237, -0.0018045512260869145, -0.007693182677030563, 0.0015786465955898166, 0.03278638422489166, 0.019853252917528152, -0.02354775369167328, -0.02811187319457531, 0.03304089233279228, 0.012239241972565651, 0.04102816805243492, -0.0166859682649374, 0.03252366557717323, 0.06032752990722656, 0.05304905027151108, 0.029734617099165916, 0.050990235060453415, -0.03880462795495987, -0.10879568755626678, -0.021788014099001884, -0.01645664870738983, 0.02664792351424694, 0.05251679942011833, -0.020432494580745697, 0.008658763952553272, -0.008025748655200005, -0.0029174985829740763, -0.026950692757964134, 0.03102126158773899, -0.0017840483924373984, -0.02585327997803688, 0.1783449798822403, -0.02831711620092392, -0.041041407734155655, -0.020792115479707718, -0.03262636065483093, 0.014587494544684887, 0.010304529219865799, -0.0006365528097376227, -0.05914636701345444, 0.008598286658525467, 0.01766076497733593, 0.06654225289821625, -0.04674912989139557, -0.05135142430663109, -0.04034268110990524, -0.022765835747122765, -0.017483236268162727, -0.0445803701877594, 0.03473971039056778, 0.05430629476904869, -0.09204544872045517, -0.05089902877807617, 0.041651401668787, 0.0013590158196166158, -0.058765530586242676, 0.0343487523496151, 0.042711179703474045, -0.0656961053609848, 0.004361745435744524, 0.06702186167240143, -0.01022613886743784, -0.002649266505613923, -0.01804472878575325, 0.0809454470872879, 0.01732218638062477, 0.03063368611037731, 0.0021029456984251738, -0.014239187352359295, -0.002073220908641815, -0.03190559521317482, -0.05098108574748039, -0.0604364387691021, 0.01295249629765749, -0.020408140495419502, -0.02657879702746868, -0.019092993810772896, -0.031315308064222336, -0.04317988455295563, 0.0910811573266983, -0.07389780879020691, -0.04665150120854378, 0.05380207300186157, 0.009221533313393593, -0.013133123517036438, -0.010762955993413925, 0.003342647571116686, 0.023273680359125137, 0.03255593776702881, 0.06465555727481842, -0.056746333837509155, 0.013755548745393753, 0.03540024906396866, -0.03360098600387573, 0.06474876403808594, -0.014069021679461002, 0.006519773043692112, -0.01204814575612545, -0.013126331381499767, -0.0020245735067874193, -0.01617445982992649, 0.006457027047872543, 0.012637008912861347, 0.0003892047388944775, 0.021835030987858772, 0.03581959381699562, 0.03350825235247612, -0.0724141001701355, -0.010485861450433731, -0.3608252704143524, -0.050534673035144806, -0.02484244480729103, -0.01039016805589199, 0.002053671283647418, -0.006345201283693314, 0.009977877140045166, 0.025148123502731323, -0.016587089747190475, 0.05715875327587128, 0.07154656201601028, -0.006091962568461895, -0.027471113950014114, -0.11305724084377289, -0.006869782228022814, 0.0358315035700798, -0.011427345685660839, -0.038081683218479156, -0.04361866042017937, -0.061946406960487366, -0.011506740935146809, -0.0017928556771948934, -0.027571378275752068, -0.04380841180682182, 0.04738486930727959, -0.03841225802898407, 0.1363486349582672, 0.010593817569315434, 0.05618486925959587, -0.033893171697854996, 0.04080268368124962, -0.017712831497192383, -0.001944262534379959, -0.019946934655308723, 0.03766239061951637, -0.05588335171341896, -0.02227221243083477, 0.01965155266225338, -0.018711427226662636, -0.01329743955284357, -0.015512006357312202, 0.016916995868086815, -0.013156916946172714, -0.027239324524998665, -0.03869518265128136, -0.0057129026390612125, -0.0035291353706270456, 0.0033902060240507126, 0.0017054729396477342, 0.06974717974662781, 0.013336789794266224, 0.002524175215512514, 0.024964120239019394, 0.04052390158176422, 0.0326082818210125, -0.008752051740884781, -0.03869973123073578, 0.0176763366907835, -0.007290869485586882, -0.06167143955826759, 0.025294583290815353, -0.00236248760484159, 0.03786253556609154, -0.04818107187747955, -0.04412518069148064, -0.021467532962560654, 0.012444213964045048, -0.018606502562761307, 0.04993569478392601, -0.009710759855806828, -0.02087613195180893, 0.07373461127281189, -0.03681786358356476, 0.03587716445326805, 0.04936380311846733, 0.05943014472723007, -0.018016163259744644, 0.012103698216378689, 0.024083347991108894, -0.004215598572045565, 0.06216910853981972, -0.04917206987738609, 0.03379958122968674, -0.04610384255647659, 0.05191167816519737, 0.0009803748689591885, 0.030820637941360474, 0.004196591209620237, 0.017064141109585762, 0.0604652501642704, -0.007196088321506977, -0.022141044959425926, -0.01213663537055254, -0.005197550170123577, 0.06261301785707474, -0.003940676338970661, -0.279793918132782, 0.06255152076482773, 0.00349687528796494, 0.031199241057038307, 0.005956829059869051, 0.005385373719036579, 0.02830655872821808, -0.058385442942380905, 0.010206349194049835, 0.01819433644413948, -0.004785490222275257, 0.07321547716856003, 0.08163720369338989, -0.011154660023748875, -0.01535946037620306, -0.011098374612629414, 0.01929430291056633, -0.009484962560236454, 0.01775379665195942, 0.024253012612462044, 0.0063749332912266254, -0.04356280341744423, 0.1584089696407318, 0.003903954289853573, 0.014406444504857063, -0.03242723271250725, -0.03472261503338814, -0.01833837665617466, 0.08850907534360886, 0.03385043889284134, 0.017434250563383102, -0.0026175156235694885, 0.0452992245554924, -0.009888901375234127, 0.021149326115846634, -0.005535128992050886, -0.020295191556215286, 0.07138287276029587, 0.05465579405426979, -0.011432046070694923, -0.006820220034569502, 0.016490137204527855, -0.07676385343074799, -0.0034427375067025423, 0.06220525875687599, -0.007793123833835125, -0.029622593894600868, -0.04086415469646454, -0.04903317242860794, 0.0118469363078475, -0.0009330626926384866, -0.006915564648807049, -0.011314659379422665, -0.024896826595067978, 0.0023789817932993174, 0.04292949289083481, 0.032142531126737595, 0.018913645297288895, 0.022504640743136406, -0.018884746357798576, 0.01292109489440918, -0.07168862223625183, 0.10637684166431427, 0.020057177171111107, 0.04420569911599159 ]
[ 0.03398953378200531, 0.04820588231086731, -0.027486974373459816, 0.020863547921180725, -0.012116690166294575, -0.00468755979090929, 0.0007152086473070085, -0.026272019371390343, -0.028183935210108757, 0.022345058619976044, -0.020570339635014534, 0.007210327312350273, 0.004071319475769997, -0.030113663524389267, -0.006636643782258034, -0.004032531753182411, 0.007243332453072071, 0.003311942331492901, 0.020725436508655548, -0.03658191114664078, -0.057566601783037186, 0.029092414304614067, -0.0009863747982308269, -0.02158801071345806, -0.012149998918175697, 0.07871025055646896, -0.043338898569345474, 0.01629159413278103, 0.01160397194325924, -0.14108480513095856, -0.018466757610440254, -0.032373882830142975, -0.02585052326321602, 0.040421001613140106, -0.05583077669143677, -0.0035633821971714497, -0.03851938620209694, 0.05244942754507065, 0.04137735441327095, 0.020475029945373535, -0.004665612708777189, 0.022011101245880127, 0.01036342978477478, 0.0108724320307374, -0.026743637397885323, -0.012265514582395554, -0.0294804684817791, -0.014400601387023926, -0.03310222178697586, -0.02778874896466732, -0.049564626067876816, 0.016312072053551674, 0.005909367464482784, 0.025767846032977104, -0.002553799422457814, -0.058840662240982056, -0.01958622597157955, -0.02640802599489689, -0.01124291867017746, 0.0054969037882983685, -0.011971687898039818, -0.01666921377182007, -0.03832411766052246, -0.010675426572561264, 0.015417098999023438, -0.050311412662267685, -0.030899519100785255, 0.0138274896889925, 0.01383268740028143, -0.02612272836267948, -0.023213859647512436, 0.015244841575622559, -0.03750862181186676, -0.004728788509964943, -0.03203011304140091, -0.01827976293861866, -0.0033395003993064165, -0.03688514605164528, 0.0038139992393553257, -0.0020381691865622997, -0.024741651490330696, 0.011433196254074574, -0.0525326132774353, 0.012752545066177845, -0.020710820332169533, -0.03783847764134407, 0.03805642947554588, 0.0017478938680142164, -0.006076973397284746, -0.018842259421944618, 0.02948961779475212, 0.016668502241373062, 0.004127869848161936, 0.018711965531110764, -0.07388436049222946, -0.008253611624240875, -0.013407143764197826, 0.006067634094506502, -0.015978971496224403, 0.8253964185714722, 0.012680472806096077, 0.0037861671298742294, -0.009091909974813461, 0.00865156576037407, -0.01078491285443306, -0.01603098213672638, 0.009942492470145226, -0.00715982960537076, -0.002722756238654256, -0.03955772891640663, 0.015428268350660801, 0.03492693230509758, 0.022945869714021683, 0.016045447438955307, -0.003933181520551443, 0.028464294970035553, 0.009825765155255795, 0.0028798002749681473, 0.02154255472123623, -0.019480060786008835, -0.023695150390267372, 0.019639667123556137, 0.029258212074637413, 0.011534255929291248, 0.003562379628419876, -0.13651549816131592, -0.00773101719096303, -6.102892265006797e-33, 0.03813288360834122, 0.007189457304775715, 0.01805277355015278, -0.027636835351586342, 0.03672553971409798, 0.008249162696301937, 0.0038688036147505045, -0.01727202534675598, 0.010651381686329842, -0.01459666807204485, 0.035930246114730835, 0.032261427491903305, 0.01661168783903122, -0.028529170900583267, 0.010466408915817738, -0.021643472835421562, 0.011333868838846684, 0.028742656111717224, 0.00259769381955266, 0.023185640573501587, 0.01147065032273531, 0.03767595812678337, 0.04851645231246948, 0.024750864133238792, -0.003771095536649227, -0.005054989363998175, 0.015471666119992733, -0.033491384238004684, 0.0166500061750412, -0.045452285557985306, -0.06021472066640854, 0.013139471411705017, 0.02608027681708336, -0.023126650601625443, 0.041477594524621964, -0.03753030672669411, 0.013523617759346962, 0.02182846888899803, 0.015815777704119682, -0.034926075488328934, -0.006772798486053944, -0.000534732302185148, -0.006337868049740791, 0.0007982680690474808, -0.051476676017045975, -0.008086314424872398, 0.04273626208305359, 0.08572760224342346, -0.0038220868445932865, 0.028536517173051834, -0.005371978040784597, -0.03490445762872696, 0.014778656885027885, 0.020769312977790833, 0.0031522009521722794, 0.025133974850177765, -0.00329198082908988, -0.010155458934605122, -0.0015408443287014961, 0.02162383869290352, -0.053472403436899185, 0.027520548552274704, 0.010677643120288849, 0.02669200301170349, 0.008146570064127445, -0.012365713715553284, 0.026821482926607132, -0.03775555267930031, 0.02516801655292511, 0.03274618834257126, -0.03410658240318298, 0.0027631684206426144, 0.01572907716035843, -0.02945144847035408, 0.08229038864374161, 0.015477938577532768, -0.027750177308917046, 0.00022560727666132152, 0.03884236887097359, -0.005267288535833359, 0.00790161732584238, 0.012070851400494576, 0.017723621800541878, -0.00267571653239429, -0.02597896195948124, -0.02742633782327175, 0.029122551903128624, 0.02562716230750084, -0.029248429462313652, -0.01168939657509327, 0.02206495963037014, 0.027849117293953896, -0.007467587012797594, -0.012928223237395287, 0.029068071395158768, 6.665567982624824e-33, 0.01602242887020111, 0.018334243446588516, 0.014795980416238308, 0.01883402280509472, 0.06041600927710533, -0.05018050596117973, 0.015966122969985008, 0.0060578142292797565, -0.01320153009146452, 0.046880848705768585, 0.00014170308713801205, -0.03806174173951149, -0.009957925416529179, 0.022508028894662857, 0.06860128790140152, 0.0016050776466727257, 0.009004760533571243, 0.029155109077692032, 0.0007451452547684312, 0.0173824280500412, -0.003389910561963916, 0.011288328096270561, 0.004215697757899761, 0.02625325135886669, 0.04435170814394951, 0.03331056237220764, 0.02114507183432579, -0.013546569272875786, -0.014073551632463932, -0.02438143454492092, -0.02209237590432167, -0.01635294407606125, -0.015192488208413124, -0.03777622804045677, -0.04915979504585266, 0.07151088863611221, 0.009891368448734283, -0.005830337759107351, -0.0035565730649977922, 0.010143325664103031, -0.00024249331909231842, 0.05008763074874878, -0.0031545129604637623, 0.01854553073644638, 0.0081637566909194, -0.037260159850120544, -0.02006714604794979, 0.03628195822238922, -0.024709220975637436, 0.006830647587776184, -0.022952066734433174, 0.0025343948509544134, -0.009701894596219063, -0.010211331769824028, 0.01532093808054924, -0.00892722699791193, -0.017755553126335144, 0.047172579914331436, -0.06553999334573746, 0.03182432800531387, -0.027713174000382423, -0.0026829352136701345, -0.00782868918031454, 0.02018733136355877, -0.004159477073699236, 0.026516148820519447, -0.019765475764870644, -0.027900753542780876, -0.022425709292292595, 0.03583187237381935, -0.025073962286114693, -0.06301914900541306, 0.05867857113480568, -0.01390168722718954, 0.010430572554469109, -0.007724967319518328, -0.03145532310009003, -0.0009981031762436032, 0.001187938149087131, 0.038576390594244, 0.049764327704906464, -0.03797071427106857, 0.023980168625712395, 0.008686733432114124, 0.0017901629908010364, 0.01513633318245411, 0.0034563569352030754, -0.007632292341440916, 0.020156927406787872, 0.016652092337608337, -0.0016708949115127325, -0.04896465316414833, 0.0311586856842041, 0.004364791326224804, -0.0015702536329627037, -1.223271617334376e-8, -0.015478776767849922, -0.029335470870137215, -0.005482307635247707, 0.019673531875014305, 0.044872913509607315, 0.015864495187997818, -0.03563927114009857, -0.04905593395233154, 0.009976289235055447, 0.016077550128102303, 0.03366466239094734, -0.009188794530928135, 0.007657572627067566, 0.014419476501643658, -0.012423771433532238, -0.0332053042948246, 0.01813266985118389, -0.03097967617213726, 0.03570082411170006, -0.015136265195906162, 0.013654272072017193, 0.016206560656428337, -0.027644382789731026, 0.0016925407107919455, 0.03999638184905052, -0.022274790331721306, 0.0467517226934433, -0.07178749889135361, 0.02388334460556507, -0.00978801865130663, 0.02794860117137432, -0.0220412015914917, 0.004169801250100136, -0.0020045111887156963, -0.003934497479349375, -0.04751520976424217, 0.020713822916150093, 0.023310862481594086, 0.022932467982172966, 0.002087419154122472, -0.04200536012649536, 0.019413581117987633, -0.021183308213949203, -0.03763085603713989, -0.016727572306990623, 0.004694601986557245, -0.04993537440896034, 0.005934400483965874, 0.036112453788518906, -0.05377690866589546, 0.0016240851255133748, -0.0062645492143929005, 0.0076967403292655945, 0.002059684135019779, 0.04897087439894676, 0.013467885553836823, 0.006067160051316023, 0.024773448705673218, -0.026144469156861305, -0.06345310807228088, -0.018832601606845856, 0.0033315150067210197, -0.014652829617261887, -0.03321106731891632 ]
r-ordering-rows-in-a-data-frame-by-multiple-columns
https://markhneedham.com/blog/2013/01/23/r-ordering-rows-in-a-data-frame-by-multiple-columns
false
2013-01-23 22:34:01
R: Filter a data frame based on values in two columns
[ "r-2" ]
[ "R" ]
In the most recent assignment of the https://www.coursera.org/course/compdata[Computing for Data Analysis] course we had to filter a data frame which contained N/A values in two columns to only return rows which had no N/A's. I started with a data frame that looked like this: [source,r] ---- > data <- read.csv("specdata/002.csv") > # we'll just use a few rows to make it easier to see what's going on > data[2494:2500,] Date sulfate nitrate ID 2494 2007-10-30 3.25 0.902 2 2495 2007-10-31 NA NA 2 2496 2007-11-01 NA NA 2 2497 2007-11-02 6.56 1.270 2 2498 2007-11-03 NA NA 2 2499 2007-11-04 NA NA 2 2500 2007-11-05 6.10 0.772 2 ---- We want to only return the rows which have a value in both the 'sulfate' and the 'nitrate' columns. I initially tried to use the +++<cite>+++http://www.r-bloggers.com/filtering-a-list-with-the-filter-higher-order-function/[Filter]+++</cite>+++ function but wasn't very successful: [source,r] ---- > smallData <- data[2494:2500,] > Filter(function(x) !is.na(x$sulfate), smallData) Error in x$sulfate : $ operator is invalid for atomic vectors ---- I'm not sure that +++<cite>+++Filter+++</cite>+++ is designed to filter data frames - it seems more appropriate for lists or vectors - so I ended up filtering the data frame using what I think is called an extract operation: [source,r] ---- > smallData[!is.na(smallData$sulfate) & !is.na(smallData$nitrate),] Date sulfate nitrate ID 2494 2007-10-30 3.25 0.902 2 2497 2007-11-02 6.56 1.270 2 2500 2007-11-05 6.10 0.772 2 ---- The code inside the square brackets returns a collection indicating whether or not we should return each row: [source,r] ---- > !is.na(smallData$sulfate) & !is.na(smallData$nitrate) [1] TRUE FALSE FALSE TRUE FALSE FALSE TRUE ---- which is equivalent to doing this: [source,r] ---- > smallData[c(TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, TRUE),] Date sulfate nitrate ID 2494 2007-10-30 3.25 0.902 2 2497 2007-11-02 6.56 1.270 2 2500 2007-11-05 6.10 0.772 2 ---- We put a comma after the list of true/false values to indicate that we want to return all the columns otherwise we'd get this error: [source,r] ---- > smallData[c(TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, TRUE)] Error in `[.data.frame`(smallData, c(TRUE, FALSE, FALSE, TRUE, FALSE, : undefined columns selected ---- We could filter the columns as well if we wanted to: [source,r] ---- > smallData[c(TRUE, FALSE, FALSE, TRUE, FALSE, FALSE, TRUE), c(1,2)] Date sulfate 2494 2007-10-30 3.25 2497 2007-11-02 6.56 2500 2007-11-05 6.10 ---- As is no doubt obvious, I don't know much R so if there's a better way to do anything please let me know. The https://github.com/mneedham/dataanalysis/blob/master/week2/complete.R[full code is on github] if you're interested in seeing it in context.
null
null
[ -0.0013976875925436616, 0.007229140028357506, -0.014357364736497402, 0.02510732412338257, 0.07098932564258575, 0.030378134921193123, -0.008061518892645836, -0.0219273678958416, -0.008876603096723557, 0.0016092794248834252, 0.01796705089509487, 0.004113498609513044, -0.06785088032484055, 0.02185370959341526, 0.00514970114454627, 0.05409257113933563, 0.05282751843333244, 0.009706228040158749, 0.042866311967372894, -0.005318132694810629, 0.040890391916036606, 0.06177365407347679, 0.010880209505558014, 0.028425663709640503, 0.04368835687637329, -0.01511918194591999, 0.00913822092115879, 0.028622254729270935, -0.03272394835948944, 0.03210369497537613, 0.04919332265853882, 0.05812269076704979, -0.03844885528087616, -0.022194474935531616, 0.014157449826598167, 0.012725734151899815, -0.00012507870269473642, 0.02104310318827629, 0.008233290165662766, -0.0024862922728061676, -0.08895658701658249, 0.03532193973660469, -0.03077203407883644, 0.020915141329169273, -0.02349148876965046, 0.03005748800933361, -0.03396620973944664, 0.005134728271514177, -0.023876622319221497, 0.014370819553732872, -0.04651839658617973, 0.02505302242934704, 0.011297274380922318, -0.03050237149000168, -0.014721721410751343, 0.06025984510779381, -0.01227167434990406, -0.057805318385362625, 0.018303709104657173, -0.0470646508038044, 0.025514602661132812, -0.004211415071040392, -0.01552338432520628, 0.00863026361912489, 0.025857675820589066, -0.01946549490094185, -0.017676878720521927, 0.05484447628259659, -0.041771870106458664, -0.0022479863837361336, -0.012951638549566269, 0.012627244926989079, -0.0564587228000164, -0.00231458549387753, -0.004699251614511013, -0.02633400447666645, -0.005784056149423122, 0.0207526758313179, 0.01638069935142994, 0.02458670176565647, -0.013664709404110909, 0.004175469279289246, 0.02063320390880108, -0.003926821518689394, 0.01176852360367775, -0.05476037412881851, -0.037970926612615585, -0.028390098363161087, -0.04993690177798271, 0.0284624882042408, -0.00432271882891655, -0.025417370721697807, 0.03519207984209061, -0.004437446128576994, -0.01908942498266697, 0.016826733946800232, 0.018245123326778412, -0.026886826381087303, 0.03569747507572174, 0.0009793899953365326, -0.0883578285574913, -0.05559878423810005, 0.05936571583151817, 0.024752257391810417, -0.08827792853116989, 0.004288642201572657, 0.0025468249805271626, 0.00007919914787635207, 0.016631804406642914, 0.021790167316794395, 0.0014112388016656041, -0.0012181793572381139, -0.009359738789498806, -0.025141548365354538, -0.0803443118929863, 0.056249238550662994, 0.027634084224700928, -0.0045144748874008656, -0.012211876921355724, 0.011975469067692757, 0.056382786482572556, 0.023589754477143288, -0.01383659802377224, 0.05380550026893616, 0.0074698138050735, 0.018988197669386864, 0.02540574222803116, 0.04828348010778427, 0.004006854258477688, -0.07437018305063248, -0.02115778438746929, 0.04191138222813606, -0.014825561083853245, 0.0003554176655597985, -0.006227352190762758, -0.03921030834317207, -0.024991896003484726, -0.011987515725195408, 0.04222223162651062, 0.008083277381956577, 0.05845054239034653, -0.01030727569013834, -0.004691590555012226, -0.008479408919811249, 0.07849198579788208, 0.0032426530960947275, 0.01338350772857666, -0.06294898688793182, -0.01531248539686203, -0.011885387822985649, 0.03032386675477028, 0.03633565455675125, 0.08496393263339996, -0.017444921657443047, 0.019620871171355247, 0.08265604078769684, 0.03928207978606224, 0.02503468468785286, -0.004175594076514244, -0.013639676384627819, 0.05665530264377594, 0.03591763228178024, 0.027636969462037086, 0.05497497320175171, -0.00845818780362606, -0.036871328949928284, 0.0069639598950743675, 0.047208357602357864, -0.015327959321439266, 0.009977472946047783, -0.04489520564675331, -0.08111310005187988, 0.050782397389411926, -0.009786045178771019, 0.02116820029914379, 0.02544044330716133, 0.06795582920312881, 0.0433833971619606, 0.0382864773273468, 0.0011549486080184579, -0.08558352291584015, 0.048279307782649994, -0.021838517859578133, 0.042258210480213165, 0.045531630516052246, -0.017807116732001305, 0.09971103072166443, 0.006912191864103079, 0.04380420967936516, 0.05421105772256851, -0.07157880067825317, -0.06602898240089417, -0.03342258185148239, -0.00788023043423891, 0.02824879251420498, -0.004264504183083773, -0.02256651222705841, 0.06790319085121155, 0.007138596847653389, 0.028733987361192703, 0.006733454763889313, 0.024535132572054863, 0.03552401438355446, -0.03778698667883873, -0.0320628322660923, -0.0026246258057653904, 0.032127249985933304, -0.035037215799093246, 0.0027277881745249033, 0.05851183459162712, -0.03942194581031799, 0.02899889647960663, -0.0011132338549941778, -0.03518788889050484, 0.05993892252445221, 0.049715131521224976, 0.05919071286916733, 0.029653433710336685, 0.04656055197119713, -0.0553489550948143, 0.037971992045640945, -0.021891824901103973, -0.0261281356215477, -0.02779438905417919, -0.016323143616318703, 0.12910595536231995, 0.06932098418474197, 0.0067858160473406315, -0.06397129595279694, 0.016797415912151337, -0.010857123881578445, -0.030693747103214264, 0.01828545331954956, -0.017040124163031578, -0.014527201652526855, 0.03413873538374901, 0.009271801449358463, -0.004206218756735325, 0.026468142867088318, -0.02223503775894642, -0.0044730231165885925, 0.06045554578304291, 0.0032537030056118965, 0.02973702736198902, -0.0063603706657886505, -0.01628868840634823, 0.017078084871172905, -0.017039833590388298, -0.06650406867265701, -0.023927360773086548, 0.024824973195791245, 0.002145217964425683, 0.023846551775932312, -0.06057638302445412, -0.0013477489119395614, -0.012737351469695568, -0.062366630882024765, 0.03757607191801071, 0.07859883457422256, 0.017319874837994576, -0.04929787665605545, 0.025566430762410164, -0.013947992585599422, -0.0044607785530388355, -0.02574760839343071, -0.04634488746523857, -0.026791607961058617, -0.02257802151143551, 0.004468886647373438, 0.0010853167623281479, 0.029801392927765846, -0.013590930961072445, -0.006414258852601051, -0.005134264938533306, 0.0018550571985542774, -0.039582498371601105, 0.027929233387112617, -0.0015680836513638496, -0.010566635057330132, -0.0231928750872612, 0.022225718945264816, 0.08847226947546005, -0.00014071741316001862, -0.02796468697488308, -0.023567046970129013, -0.052951738238334656, 0.09296897053718567, -0.02359972521662712, -0.02779105305671692, 0.0014064607676118612, 0.008386582136154175, 0.02060464210808277, 0.011686508543789387, -0.023348743095993996, 0.030332833528518677, 0.036724384874105453, -0.0010604645358398557, 0.036282770335674286, 0.01620725728571415, 0.03565486893057823, -0.015191732905805111, 0.014733957126736641, 0.06831831485033035, 0.006212871987372637, 0.004362543113529682, -0.04253707081079483, -0.005996318068355322, -0.002707966836169362, -0.24826449155807495, 0.03241514787077904, -0.026510152965784073, -0.024833766743540764, 0.019245075061917305, -0.06281031668186188, 0.0019018080784007907, -0.01911080814898014, -0.016644364222884178, -0.006716195493936539, 0.00724654970690608, 0.0009080753661692142, -0.023737430572509766, 0.045640334486961365, 0.0033549272920936346, 0.022062115371227264, -0.009833837859332561, -0.053954847157001495, -0.010062240064144135, 0.06177528202533722, 0.046212177723646164, -0.01950567401945591, -0.004664217587560415, 0.04656539112329483, 0.014748086221516132, 0.06195361912250519, -0.03217170387506485, 0.027337269857525826, -0.06998877227306366, -0.05890807509422302, 0.011417979374527931, -0.0443333201110363, 0.009273652918636799, -0.022251566872000694, 0.015403207391500473, -0.02251923270523548, 0.022554924711585045, 0.03216087445616722, 0.028445405885577202, 0.02604258805513382, -0.029852882027626038, -0.019777240231633186, 0.016512582078576088, -0.001164042390882969, 0.06924616545438766, 0.02129850722849369, -0.057713668793439865, 0.009128456935286522, -0.020164236426353455, 0.06840933114290237, -0.027533037588000298, -0.0024696572218090296, -0.04812302812933922, 0.019660985097289085, -0.058881163597106934, 0.0004108232678845525, -0.04086567834019661, 0.005128037184476852, -0.03234660252928734, -0.04704396799206734, -0.025329843163490295, -0.0306150671094656, -0.016006773337721825, -0.03912191838026047, -0.039490871131420135, -0.06624966114759445, -0.07608193904161453, -0.02392791025340557, 0.04756709560751915, 0.02033582702279091, -0.02712392620742321, 0.011741166934370995, -0.008754121139645576, -0.11009882390499115, 0.01649698242545128, -0.03443774953484535, -0.014313645660877228, -0.021240821108222008, -0.00025003007613122463, 0.056506164371967316, -0.03798042982816696, -0.05367762967944145, 0.03184833005070686, 0.018594538792967796, 0.004166096448898315, -0.0368586890399456, 0.019837869331240654, 0.002783323870971799, -0.03074699267745018, -0.022359872236847878, 0.080772764980793, -0.02532292529940605, -0.019051436334848404, 0.008175591006875038, -0.008089961484074593, 0.04613002762198448, -0.020671270787715912, -0.003663227427750826, 0.03845904767513275, 0.01697831228375435, 0.04965050518512726, -0.025397660210728645, 0.01412682794034481, -0.09906893223524094, -0.013765154406428337, -0.007792823016643524, -0.08399584144353867, 0.03560420870780945, -0.003074011765420437, 0.0014176145195960999, 0.002334207994863391, -0.002946885535493493, 0.04896383360028267, -0.056778524070978165, -0.017006196081638336, -0.014946691691875458, -0.00954312365502119, 0.009136214852333069, -0.0029180203564465046, -0.0009660969953984022, -0.03502039983868599, 0.015172116458415985, -0.007180660031735897, -0.06105492636561394, -0.0404670424759388, -0.04602372646331787, 0.03164462372660637, -0.010905256494879723, -0.020743809640407562, 0.008877059444785118, -0.006915091536939144, 0.012810653075575829, 0.015518225729465485, -0.016870176419615746, 0.03527696430683136, -0.03273041173815727, -0.05316821113228798, 0.005308414343744516, 0.01587529666721821, 0.029947929084300995, -0.011359295807778835, -0.014942836947739124, -0.013015100732445717, 0.038920022547245026, 0.0234993826597929, 0.005618090741336346, 0.02609739638864994, 0.02271377481520176, 0.0037240367382764816, 0.014092979952692986, -0.012272616848349571, 0.0137632442638278, -0.01478835754096508, -0.014338452368974686, -0.036782268434762955, -0.015470163896679878, 0.06616853922605515, 0.009764978662133217, -0.019684627652168274, -0.0662260353565216, -0.009312277659773827, -0.02799139730632305, -0.040552616119384766, -0.017409585416316986, -0.018647978082299232, 0.04884594678878784, 0.01357931736856699, -0.0075307488441467285, 0.013461940921843052, -0.010368827730417252, -0.0009813151555135846, 0.01083409134298563, -0.004667950794100761, 0.004639951046556234, -0.01081229466944933, -0.02319210022687912, 0.06279898434877396, 0.018870491534471512, -0.004397388081997633, 0.02028628997504711, -0.020668795332312584, -0.030412407591938972, -0.0048348489217460155, -0.006466567050665617, 0.02536006085574627, 0.058765776455402374, -0.01634753867983818, -0.0045684389770030975, 0.011178389191627502, -0.04496018588542938, -0.04598108306527138, -0.030854277312755585, 0.00868925079703331, -0.008621156215667725, -0.04068838432431221, -0.06250905245542526, 0.02439900115132332, 0.050893884152173996, -0.03613397851586342, 0.015335033647716045, -0.02774331532418728, 0.01246766559779644, -0.02852611057460308, 0.04671010375022888, 0.022456586360931396, -0.06627616286277771, 0.006508858408778906, 0.03491637483239174, -0.014924027025699615, 0.04106253758072853, -0.013463674113154411, -0.0584280900657177, 0.008124719373881817, -0.016510682180523872, 0.027262650430202484, -0.00867850799113512, -0.026324087753891945, -0.03390664979815483, 0.03098594956099987, -0.02487861178815365, 0.003979880828410387, -0.0338057316839695, -0.006304882001131773, -0.0278440173715353, 0.012958302162587643, 0.026523496955633163, 0.002858970081433654, -0.038908373564481735, 0.043434057384729385, -0.012645035982131958, -0.0033433386124670506, -0.001244138227775693, 0.011790203861892223, 0.022379117086529732, -0.01407043356448412, -0.013485278002917767, -0.035750456154346466, 0.0006450221408158541, -0.017262838780879974, 0.03890835493803024, -0.014628794975578785, 0.002441270975396037, -0.026574740186333656, 0.03087824210524559, -0.03455989807844162, -0.002616244601085782, -0.015873655676841736, -0.003425187896937132, 0.03542453795671463, 0.055509839206933975, 0.0023201198782771826, 0.0060965511947870255, -0.011751478537917137, -0.03855975717306137, 0.07931303232908249, -0.03472857549786568, -0.05625307187438011, -0.020177103579044342, -0.02869502082467079, 0.02147710882127285, 0.018143050372600555, 0.014084231108427048, -0.02686041221022606, 0.033109862357378006, 0.04210830107331276, -0.0011721873888745904, 0.06744671612977982, 0.003703188383951783, 0.059949133545160294, -0.042353373020887375, -0.005582027602940798, -0.0992618128657341, -0.009120035916566849, 0.039674486964941025, -0.007680431939661503, -0.02209741808474064, -0.016142696142196655, -0.021370060741901398, 0.008760841563344002, -0.04093918576836586, -0.06107836589217186, 0.041432980448007584, -0.0014373688027262688, 0.031989313662052155, 0.000658803794067353, -0.04568631201982498, -0.0013900534249842167, 0.048285841941833496, -0.05604415759444237, 0.005372863728553057, -0.042731769382953644, 0.057000428438186646, -0.021190878003835678, -0.004499292466789484, -0.03681214153766632, -0.011937596835196018, 0.05262943357229233, 0.024767152965068817, 0.015633121132850647, 0.0412195548415184, -0.048834044486284256, 0.016496336087584496, 0.03412884473800659, -0.0237851794809103, 0.01819867268204689, 0.010366006754338741, 0.028038838878273964, -0.020792370662093163, 0.0026592856738716364, 0.026024051010608673, -0.014543366618454456, -0.07727095484733582, 0.06531385332345963, 0.00581666175276041, -0.05583364889025688, -0.04578899219632149, -0.019518893212080002, -0.020494133234024048, 0.03170345723628998, -0.003941024653613567, -0.004013908561319113, -0.033087968826293945, 0.05065044015645981, -0.029271427541971207, -0.0012932518729940057, 0.070243701338768, -0.005827364511787891, -0.027062395587563515, 0.015826448798179626, 0.06250341236591339, 0.08729810267686844, 0.0375765822827816, -0.01165870763361454, 0.044778794050216675, -0.039403047412633896, -0.057063546031713486, 0.03677011653780937, -0.044192783534526825, 0.00530999293550849, -0.015729913488030434, -0.003501621540635824, 0.05272259935736656, -0.007483473978936672, 0.053166016936302185, -0.006560760550200939, -0.013261950574815273, 0.0011868007713928819, -0.03844316676259041, 0.05923626571893692, 0.026776978746056557, -0.002817686414346099, 0.0348774679005146, -0.0032850210554897785, 0.009026824496686459, -0.004964357707649469, 0.01651792600750923, -0.015003140084445477, -0.037204138934612274, -0.005012901034206152, -0.011493893340229988, 0.01841919496655464, 0.01856621354818344, 0.08346261084079742, -0.029486868530511856, -0.009339878335595131, -0.007641387637704611, 0.037625085562467575, -0.031085330992937088, -0.00898201484233141, -0.008305693045258522, -0.032039083540439606, -0.023125145584344864, -0.04692849889397621, -0.02506152354180813, -0.0009346084552817047, -0.02099503204226494, 0.006337332539260387, -0.03870556876063347, 0.0037446541246026754, 0.01310813706368208, -0.01174390222877264, -0.006509679835289717, -0.05327357351779938, -0.06602935492992401, -0.0692031979560852, -0.1013173758983612, 0.01591469533741474, -0.00035813753493130207, -0.025049403309822083, -0.040246348828077316, -0.039532873779535294, -0.007639011833816767, -0.012445083819329739, 0.010102061554789543, -0.05756226181983948, -0.00453241216018796, 0.007862668484449387, 0.03381584212183952, 0.014964372850954533, 0.007283371407538652, 0.02920411340892315, 0.017633648589253426, -0.007496736012399197, 0.00929232221096754, 0.004987633787095547, 0.050575438886880875, 0.029312903061509132, 0.009823362343013287, -0.07096382230520248, 0.0036438237875699997, -0.0087391696870327, -0.010781687684357166, -0.0906386747956276, 0.02470775693655014, 0.036875128746032715, 0.0003852319496218115, 0.04849422350525856, -0.006433476693928242, 0.0077561428770422935, -0.004652964882552624, -0.03369500860571861, -0.005921896081417799, 0.022336719557642937, 0.03041696362197399, -0.043066829442977905, 0.06277798116207123, 0.04085470363497734, 0.033047154545784, -0.052958033978939056, 0.008979223668575287, -0.031130366027355194, 0.012846789322793484, -0.07052269577980042, -0.025351570919156075, -0.04861878976225853, -0.09134343266487122, -0.047866202890872955, 0.011197756044566631, -0.05720933526754379, -0.02580004371702671, 0.014517889358103275, 0.028112443163990974, -0.04008503630757332, 0.02106349729001522, -0.021211957558989525, 0.038127053529024124, -0.03357968479394913, -0.015322844497859478, 0.008268275298178196, 0.052277885377407074, 0.005206471309065819, 0.04104305058717728, -0.001180236111395061, -0.024599634110927582, 0.00893795769661665, -0.0227703545242548, 0.02284551039338112, 0.08787886053323746, 0.00007854385330574587, 0.04216773435473442 ]
[ -0.07404769212007523, -0.005735071841627359, -0.04874243587255478, -0.017455076798796654, 0.07266231626272202, -0.05518252030014992, -0.005050105042755604, 0.02530565671622753, -0.002656778087839484, 0.023349780589342117, 0.035493433475494385, -0.04824640601873398, 0.024100543931126595, -0.007133095990866423, 0.021161487326025963, -0.0170400682836771, -0.016975924372673035, -0.023478109389543533, -0.0327845960855484, 0.03825568035244942, -0.0077870688401162624, -0.03247179463505745, -0.05734234303236008, -0.04552572965621948, 0.03410377725958824, 0.03794005885720253, 0.008188712410628796, -0.04564050957560539, -0.02633908949792385, -0.2370290905237198, -0.047213371843099594, 0.012870455160737038, 0.040162112563848495, -0.020730359479784966, 0.010235631838440895, 0.026333745568990707, 0.019627759233117104, 0.00993423443287611, 0.01069614663720131, 0.014469843357801437, 0.011571250855922699, -0.00003933144034817815, -0.030288005247712135, -0.011554662138223648, 0.0191668514162302, 0.01259078923612833, -0.054166413843631744, -0.024774039164185524, 0.0007940773502923548, 0.02505224570631981, -0.05351368337869644, 0.02060466818511486, 0.0003244218823965639, 0.028311867266893387, 0.014468672685325146, 0.03736043721437454, 0.03096167929470539, 0.03892851248383522, -0.013970456086099148, 0.029329469427466393, 0.007490668445825577, -0.023647164925932884, -0.1711764931678772, 0.11055974662303925, 0.010098782368004322, 0.035173334181308746, -0.030515749007463455, -0.028077295050024986, -0.019613632932305336, 0.05958478897809982, -0.012507401406764984, 0.00025006933719851077, -0.06252911686897278, 0.0680113285779953, 0.00864326674491167, -0.017483573406934738, -0.023225953802466393, -0.0005715573206543922, 0.040403831750154495, -0.04441884905099869, -0.015868887305259705, -0.00709949154406786, -0.002828095341101289, -0.021263638511300087, 0.02387608028948307, 0.003778314683586359, -0.02606658823788166, 0.008645710535347462, -0.008858476765453815, 0.031248563900589943, 0.015119659714400768, 0.009952576830983162, 0.06571315228939056, 0.055621519684791565, -0.03913727402687073, 0.006994913797825575, 0.024030067026615143, 0.020606212317943573, 0.01929771527647972, 0.37834352254867554, -0.008488520979881287, -0.006473192945122719, -0.021106654778122902, 0.020494727417826653, -0.002173853572458029, -0.016365379095077515, -0.018735148012638092, -0.037058986723423004, 0.02577608823776245, -0.010440162383019924, 0.03258991241455078, -0.020974362269043922, 0.05669400840997696, -0.10706010460853577, 0.016808781772851944, -0.03274277597665787, 0.045868244022130966, -0.019899487495422363, 0.017687838524580002, 0.005040054675191641, -0.036005474627017975, -0.04210240766406059, 0.051490433514118195, 0.02314244583249092, 0.03729043900966644, -0.011112433858215809, 0.027924075722694397, 0.07082191854715347, 0.04223373159766197, 0.05424143001437187, 0.06430783122777939, -0.04043598473072052, -0.08913251012563705, -0.020051531493663788, -0.012315571308135986, 0.010600997135043144, 0.03679496794939041, -0.024352969601750374, -0.02652793563902378, 0.030874930322170258, -0.04986140877008438, -0.01396500039845705, 0.009852991439402103, 0.01880485750734806, -0.046746913343667984, 0.14605635404586792, -0.007341498509049416, -0.016180355101823807, -0.04975639283657074, -0.07308261096477509, 0.026011576876044273, 0.04442499205470085, -0.0061614313162863255, -0.007849992252886295, 0.0037039348389953375, 0.010136079974472523, 0.04832286387681961, -0.04257029667496681, -0.08872630447149277, -0.032129574567079544, -0.028230968862771988, -0.040420107543468475, -0.042658716440200806, 0.05044672638177872, 0.05789877474308014, -0.044915761798620224, -0.05216561630368233, 0.036615144461393356, 0.005305586848407984, -0.042972251772880554, 0.01901027001440525, 0.009910882450640202, -0.04754629358649254, -0.012918812222778797, 0.0561976358294487, -0.0006215468165464699, -0.026119699701666832, 0.0048696547746658325, 0.03179467096924782, 0.01023909728974104, -0.008546192198991776, -0.010172645561397076, -0.024263976141810417, 0.02866830676794052, -0.007924560457468033, -0.0719723328948021, -0.04689111188054085, 0.045812565833330154, -0.008443949744105339, -0.016421400010585785, -0.04033321514725685, -0.04288705065846443, -0.066849485039711, 0.06919608265161514, -0.08176998049020767, -0.020296290516853333, 0.05845464766025543, -0.015699388459324837, -0.03196878358721733, -0.06992245465517044, 0.047454189509153366, -0.0005496666417457163, 0.014534782618284225, 0.06472501903772354, -0.04784766212105751, 0.014767596498131752, 0.025461729615926743, -0.03378644213080406, 0.05098332464694977, 0.023664917796850204, 0.00511587830260396, -0.001988983014598489, -0.05651822313666344, 0.0091744065284729, -0.021955886855721474, -0.0048407805152237415, 0.023191209882497787, -0.029009001329541206, 0.03490058332681656, 0.03286024555563927, 0.0013072672300040722, -0.06823735684156418, -0.050619736313819885, -0.3657868802547455, -0.04010520502924919, -0.00856282189488411, 0.016637496650218964, 0.025428494438529015, -0.05529835820198059, 0.0007786722853779793, 0.02058812603354454, -0.03760430961847305, 0.09358344972133636, 0.0263352133333683, 0.02034905180335045, 0.00040650018490850925, -0.07587580382823944, -0.0031534715089946985, 0.0552763007581234, 0.025648148730397224, -0.022457698360085487, -0.04057227447628975, 0.0010787565261125565, 0.00977883767336607, -0.017011336982250214, 0.004613041412085295, -0.024256115779280663, 0.058775894343853, -0.03276223689317703, 0.11873652786016464, 0.0013871182454749942, 0.057855576276779175, -0.035078104585409164, 0.04907992482185364, 0.014490563422441483, -0.0009016346884891391, -0.045840341597795486, -0.0009733265615068376, -0.07208889722824097, -0.04430093616247177, 0.05470455065369606, -0.021366633474826813, -0.03571136295795441, -0.0036316863261163235, -0.011451964266598225, -0.016545012593269348, -0.017717327922582626, 0.021813225001096725, 0.003627859754487872, -0.012857703492045403, 0.029865095391869545, -0.014713499695062637, 0.044721703976392746, 0.03598497062921524, -0.0058332509361207485, 0.021592313423752785, 0.032138414680957794, 0.028878534212708473, 0.0013958158669993281, -0.07199540734291077, 0.014623901806771755, 0.008691293187439442, -0.04142814874649048, 0.0038745899219065905, 0.002497634617611766, 0.03575655072927475, -0.05056462436914444, -0.01565253734588623, -0.007115848362445831, 0.02665121853351593, -0.02180344983935356, 0.035003412514925, -0.009733064100146294, -0.025690920650959015, 0.12356363236904144, -0.039267513900995255, 0.03476482629776001, 0.009760670363903046, 0.06199881434440613, -0.046063341200351715, -0.014363178052008152, 0.01583845354616642, 0.0049346936866641045, 0.053568899631500244, -0.03639909625053406, 0.049318622797727585, -0.01038636825978756, 0.07049836218357086, 0.03823148086667061, 0.02128642611205578, -0.0182865709066391, 0.01934637874364853, 0.024195289239287376, 0.0253010131418705, -0.03489133343100548, -0.023066550493240356, -0.042457081377506256, 0.06274314224720001, -0.0007826067740097642, -0.2884431481361389, -0.020191552117466927, 0.04220103099942207, 0.042902082204818726, -0.0021189344115555286, -0.006038852501660585, 0.00891305971890688, -0.06814909726381302, -0.007174919359385967, 0.008766361512243748, -0.009429285302758217, 0.052693404257297516, 0.05412595719099045, 0.00634028622880578, 0.00889848917722702, -0.018647948279976845, 0.05211697891354561, 0.009080368094146252, 0.03741121292114258, 0.034742571413517, 0.028171341866254807, -0.06445775181055069, 0.1679278314113617, 0.00834563933312893, -0.006230498198419809, -0.013660973869264126, -0.02892841026186943, -0.051825281232595444, 0.04281742498278618, 0.017821112647652626, 0.013453829102218151, 0.018703334033489227, 0.07660526782274246, -0.0013211636105552316, 0.0025333710946142673, 0.011714806780219078, -0.03275090828537941, 0.0738108828663826, 0.02677818387746811, -0.04077421873807907, -0.01113655511289835, 0.03841032832860947, -0.038481831550598145, 0.016952423378825188, 0.06521465629339218, -0.004320940002799034, -0.014302292838692665, -0.0326228141784668, -0.0157415010035038, -0.0025562576483935118, 0.004514440428465605, 0.04655294865369797, 0.018008625134825706, -0.019575240090489388, 0.03209017589688301, 0.019964391365647316, -0.020897533744573593, -0.012297546491026878, 0.02314756251871586, -0.012754717841744423, 0.026513047516345978, -0.0530569851398468, 0.07433352619409561, 0.03404957428574562, 0.03696339577436447 ]
[ -0.0027066566981375217, 0.02410721778869629, 0.0029799535404890776, 0.025437787175178528, 0.003964251838624477, -0.013137034140527248, 0.00044338544830679893, -0.03232154995203018, -0.01289734523743391, -0.00227569742128253, -0.01797349750995636, -0.00932585820555687, 0.03274206817150116, -0.013017664663493633, -0.025514211505651474, 0.0066531202755868435, -0.00995666068047285, 0.004274595994502306, 0.01973802223801613, -0.0010333374375477433, -0.020811548456549644, 0.03705376386642456, -0.009173015132546425, -0.007496334612369537, -0.026525048539042473, 0.06474478542804718, -0.04754924774169922, -0.00728577608242631, 0.005453039426356554, -0.11991407722234726, -0.030161863192915916, -0.00914422795176506, -0.008588338270783424, 0.019115326926112175, -0.030573533847928047, -0.016806291416287422, -0.051347073167562485, 0.07402733713388443, -0.005329849198460579, 0.00029673922108486295, -0.012053471058607101, 0.034906040877103806, 0.018491534516215324, -0.0017235314007848501, -0.016661640256643295, -0.045756254345178604, -0.0020653584506362677, -0.04693099111318588, -0.0020842552185058594, -0.011821706779301167, -0.04169517755508423, -0.006519146729260683, -0.035644907504320145, -0.007264204788953066, 0.0024015323724597692, -0.05112075060606003, -0.05087737366557121, -0.036585044115781784, -0.008381165564060211, -0.016846993938088417, 0.000916656746994704, 0.003954518120735884, -0.026886889711022377, -0.01424433384090662, 0.03489827737212181, -0.024783559143543243, -0.04879108443856239, 0.015260442160069942, 0.0023041574750095606, 0.008582936599850655, -0.039647653698921204, 0.017595896497368813, -0.025406992062926292, 0.018891669809818268, -0.03194577991962433, 0.010848022997379303, 0.03508101776242256, -0.06194768100976944, -0.0011927539017051458, -0.009827952831983566, -0.03384046256542206, 0.03806206211447716, -0.0006120119360275567, -0.017874177545309067, -0.0214721467345953, -0.03275500610470772, 0.02915940433740616, -0.00009150771802524105, 0.0341019444167614, -0.03110862337052822, 0.03956558182835579, 0.030067220330238342, 0.02633565478026867, 0.022653816267848015, -0.06400496512651443, -0.02761945314705372, -0.010845874436199665, 0.02033204212784767, 0.008708574809134007, 0.8307562470436096, 0.03830944746732712, 0.044775478541851044, -0.04947080835700035, 0.014682700857520103, -0.024149823933839798, -0.02268100157380104, 0.01945682428777218, -0.003995569888502359, -0.01758669503033161, 0.011971079744398594, -0.00023322472407016903, 0.039303120225667953, 0.01170814037322998, 0.0032311242539435625, 0.018817733973264694, 0.0628727376461029, 0.02770935744047165, -0.03857956826686859, -0.020806098356842995, -0.02943916991353035, -0.030969802290201187, -0.002165264915674925, 0.0005786344408988953, -0.011464031413197517, 0.03483964130282402, -0.1371750831604004, -0.009439549408853054, -6.660686007649065e-33, 0.030286362394690514, -0.0019350930815562606, 0.04227916896343231, -0.016286464408040047, 0.02285395935177803, 0.006055132951587439, -0.001493165036663413, -0.01420627348124981, 0.012075323611497879, 0.007642354350537062, 0.0005275005823932588, 0.016585206612944603, -0.0070767649449408054, -0.05688882991671562, 0.019508466124534607, -0.010793444700539112, 0.0005762195214629173, 0.009079083800315857, 0.0064391628839075565, -0.0012368963798508048, -0.0069054411724209785, 0.027311183512210846, 0.014786842279136181, 0.018725955858826637, 0.003310547210276127, 0.013300051912665367, 0.005488868337124586, -0.02759573608636856, -0.0037529878318309784, -0.04334726929664612, -0.00991871953010559, 0.01622653193771839, -0.009042815305292606, -0.007077149581164122, 0.02619391307234764, -0.0510331466794014, 0.000623825762886554, 0.02365909330546856, 0.00984797440469265, -0.007944080978631973, -0.03233693912625313, -0.015052554197609425, -0.011558874510228634, 0.014035793952643871, -0.007760581560432911, -0.03977927565574646, 0.019519301131367683, 0.09715768694877625, 0.0015154983848333359, 0.04114373400807381, -0.016990717500448227, -0.009399219416081905, -0.005519824102520943, -0.004844621289521456, -0.020822107791900635, 0.04384619742631912, -0.018128979951143265, -0.03442555293440819, 0.016418375074863434, 0.03285520523786545, -0.016016174107789993, 0.001203112886287272, -0.007325325161218643, 0.014471815899014473, 0.006963659543544054, 0.013027966022491455, 0.012363781221210957, -0.022013533860445023, 0.03669912740588188, 0.02807127870619297, -0.0380893312394619, -0.018143821507692337, 0.008953744545578957, -0.01605367846786976, 0.06485848128795624, -0.006583233363926411, 0.02760379947721958, -0.03106112778186798, 0.03164598345756531, 0.03422294929623604, 0.014595471322536469, -0.0230261143296957, 0.0011110565392300487, 0.01769384928047657, -0.0535530224442482, 0.0026242828462272882, 0.01423691213130951, 0.03737308084964752, 0.0034296431113034487, 0.011657393537461758, 0.01590440608561039, 0.03013809584081173, -0.02691197395324707, -0.0377899669110775, 0.01963433437049389, 6.930919669275632e-33, 0.04228837415575981, -0.00428025284782052, -0.016031039878726006, 0.009906643070280552, 0.06872076541185379, -0.07110421359539032, 0.01686875894665718, 0.023931270465254784, -0.009700438939034939, 0.02936096303164959, -0.010455787181854248, -0.026053573936223984, -0.013790723867714405, 0.010383684188127518, 0.03957750275731087, 0.024496909230947495, 0.011044745333492756, -0.0032445820979774, -0.0349201038479805, 0.02577228657901287, -0.04272172227501869, 0.02588876150548458, 0.0034280838444828987, 0.006917835678905249, 0.022471509873867035, 0.04164678603410721, 0.015961557626724243, -0.006518909242004156, 0.0007256602984853089, -0.00982439611107111, -0.0272772666066885, 0.014335616491734982, -0.010069589130580425, -0.0314217172563076, -0.04922884330153465, 0.035756561905145645, 0.001207629218697548, -0.02087731473147869, -0.007248738314956427, 0.005507351364940405, 0.01152872946113348, 0.04143037274479866, 0.004423033911734819, 0.036727771162986755, 0.026891246438026428, 0.022522203624248505, 0.029258543625473976, 0.04477425664663315, 0.0032121664844453335, 0.004966390784829855, -0.011508719064295292, -0.0018272687448188663, -0.006223111413419247, 0.018977807834744453, 0.029577938839793205, -0.011715088970959187, 0.011508040130138397, 0.016997428610920906, -0.0684194564819336, 0.021305913105607033, -0.03491314873099327, 0.014354673214256763, -0.031194312497973442, -0.03224626183509827, -0.03926823288202286, -0.004057664889842272, -0.0004739719443023205, -0.006027912721037865, 0.012899024412035942, 0.004309728741645813, -0.023199530318379402, -0.056444548070430756, 0.01135544665157795, -0.012285713106393814, -0.016480952501296997, -0.024654339998960495, -0.038894135504961014, 0.009081008844077587, 0.009724779054522514, 0.04860030114650726, 0.017504064366221428, 0.020358512178063393, 0.051098693162202835, 0.002029918599873781, 0.01990758441388607, 0.027346665039658546, -0.030215725302696228, -0.02265135571360588, 0.04620237275958061, -0.008075818419456482, -0.019128242507576942, -0.05598880350589752, -0.017753563821315765, 0.004246665630489588, -0.028808554634451866, -1.277926653386885e-8, -0.015425176359713078, 0.0032984442077577114, 0.007311978377401829, -0.004043555352836847, 0.027467381209135056, 0.03498060628771782, -0.02020178735256195, -0.013273787684738636, 0.025293877348303795, 0.041938986629247665, 0.05292520672082901, -0.005802390165627003, 0.011232531629502773, -0.00862983800470829, 0.002902090782299638, -0.012049732729792595, 0.010654198937118053, 0.013472288846969604, 0.016640417277812958, -0.02621455304324627, -0.008874010294675827, 0.033111441880464554, -0.03676219284534454, -0.0014485713327303529, 0.03314575180411339, 0.007587732281535864, -0.005410623271018267, -0.0863804891705513, 0.0019056265009567142, -0.009972633793950081, 0.034896671772003174, -0.03034098632633686, 0.02245423011481762, -0.04024501517415047, -0.004360906779766083, -0.025638755410909653, 0.04785516485571861, 0.00914941169321537, -0.011144813150167465, -0.013273557648062706, -0.0363343246281147, -0.0012650007847696543, -0.03304215520620346, -0.018318260088562965, -0.03788941726088524, 0.005566298961639404, -0.04784045368432999, -0.017966074869036674, 0.032160285860300064, -0.015794245526194572, 0.03966513276100159, -0.037133652716875076, 0.019567854702472687, 0.012512504123151302, 0.05730167031288147, 0.012819553725421429, 0.02335641346871853, -0.04591412842273712, -0.034521013498306274, -0.0316070020198822, 0.021174656227231026, 0.03062714822590351, -0.0051979562267661095, -0.03555816784501076 ]
r-filter-a-data-frame-based-on-values-in-two-columns
https://markhneedham.com/blog/2013/01/23/r-filter-a-data-frame-based-on-values-in-two-columns
false
2013-01-15 00:37:01
Fabric/Boto: boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials
[ "devops-2", "fabric", "boto" ]
[ "DevOps" ]
In our Fabric code we make use of https://github.com/boto/boto[Boto] to connect to the EC2 API and pull back various bits of information and the first time anyone tries to use it they end up with the following stack trace: [source,text] ---- File "/Library/Python/2.7/site-packages/fabric/main.py", line 717, in main *args, **kwargs File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 332, in execute results['<local-only>'] = task.run(*args, **new_kwargs) File "/Library/Python/2.7/site-packages/fabric/tasks.py", line 112, in run return self.wrapped(*args, **kwargs) File "/Users/mark/projects/forward-puppet/ec2.py", line 131, in running instances = instances_by_zones(running_instances(region, role_name)) File "/Users/mark/projects/forward-puppet/ec2.py", line 19, in running_instances ec2conn = ec2.connect_to_region(region) File "/Library/Python/2.7/site-packages/boto/ec2/__init__.py", line 57, in connect_to_region for region in regions(**kw_params): File "/Library/Python/2.7/site-packages/boto/ec2/__init__.py", line 39, in regions c = EC2Connection(**kw_params) File "/Library/Python/2.7/site-packages/boto/ec2/connection.py", line 94, in __init__ validate_certs=validate_certs) File "/Library/Python/2.7/site-packages/boto/connection.py", line 936, in __init__ validate_certs=validate_certs) File "/Library/Python/2.7/site-packages/boto/connection.py", line 548, in __init__ host, config, self.provider, self._required_auth_capability()) File "/Library/Python/2.7/site-packages/boto/auth.py", line 633, in get_auth_handler 'Check your credentials' % (len(names), str(names))) boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['QuerySignatureV2AuthHandler'] Check your credentials ---- We http://stackoverflow.com/questions/5396932/why-are-no-amazon-s3-authentication-handlers-ready[haven't told Boto about our AWS credentials] and I've come across two ways of providing them: == As environment variables [source,text] ---- export AWS_ACCESS_KEY_ID="aws_access_key_id" export AWS_SECRET_ACCESS_KEY="aws_secret_access_key" ---- == In the file +++<cite>+++~/.boto+++</cite>+++ [source,text] ---- [Credentials] aws_access_key_id = aws_access_key_id aws_secret_access_key = aws_secret_access_key ---- And that should do the trick!
null
null
[ 0.037997931241989136, -0.04790670424699783, -0.026531869545578957, 0.03613903373479843, 0.09922076761722565, 0.044167447835206985, -0.0014722433406859636, 0.02735906094312668, 0.001671115169301629, -0.011037638410925865, -0.018274620175361633, 0.005414922256022692, -0.0725070908665657, 0.009092779830098152, -0.03486936539411545, 0.060662876814603806, 0.0979522243142128, -0.0041859508492052555, 0.00747568067163229, -0.0181158185005188, 0.020156554877758026, 0.04987231642007828, -0.006052262149751186, 0.022375937551259995, -0.020764216780662537, 0.019653795287013054, -0.005619566421955824, -0.013199578039348125, -0.03825075924396515, 0.002949964255094528, 0.036331064999103546, -0.0012682508677244186, 0.04403037950396538, -0.024364283308386803, 0.006858451757580042, -0.00879169162362814, -0.029795927926898003, -0.00364366895519197, -0.01811092533171177, 0.007244347129017115, -0.04235796257853508, 0.036107491701841354, 0.0009581656195223331, 0.04208749160170555, -0.031443845480680466, 0.033176716417074203, -0.02698175422847271, 0.03853399306535721, 0.01072681974619627, 0.0020358783658593893, -0.0926903709769249, 0.03140372410416603, -0.043866708874702454, -0.040300194174051285, 0.02584913559257984, 0.04570755362510681, 0.027138959616422653, -0.07103534787893295, 0.047053415328264236, -0.04098876193165779, -0.011507059447467327, 0.021062999963760376, 0.028259869664907455, 0.034466035664081573, 0.025563323870301247, -0.014690457843244076, 0.010064898990094662, 0.05595377832651138, -0.030237548053264618, -0.031091032549738884, 0.008261898532509804, 0.011807248927652836, -0.01707344502210617, -0.0313168503344059, -0.010087532922625542, -0.04856337606906891, -0.0337260365486145, 0.04570100083947182, -0.0011291028931736946, 0.08650583028793335, -0.002241399371996522, 0.00032972637563943863, 0.01997259445488453, 0.013998860493302345, 0.006376439239829779, -0.024845724925398827, -0.06165836751461029, 0.006200206931680441, -0.02965736761689186, 0.06624358147382736, 0.011802817694842815, -0.04383571445941925, 0.007771684322506189, -0.009476819075644016, 0.009449584409594536, 0.012665882706642151, -0.01840195618569851, 0.012846044264733791, 0.014778328128159046, -0.024413403123617172, -0.042741868644952774, 0.03744882717728615, 0.003244980238378048, 0.016048211604356766, -0.05720343813300133, -0.002970135770738125, -0.032780297100543976, -0.04281510040163994, -0.003576128976419568, -0.004147534724324942, -0.01045953668653965, -0.0014763780636712909, -0.024756252765655518, -0.016313403844833374, -0.09125765413045883, 0.07109522074460983, -0.026852518320083618, -0.03044450469315052, -0.02464378997683525, 0.008008324541151524, 0.0634581670165062, 0.04908502474427223, -0.014314652420580387, 0.07742903381586075, 0.015906360000371933, 0.04457414895296097, 0.0126029709354043, 0.04122910648584366, -0.008432871662080288, -0.048137906938791275, -0.033522605895996094, 0.07621660828590393, -0.0011945260921493173, -0.0017891597235575318, -0.0031112919095903635, 0.009729773737490177, -0.009154528379440308, 0.025989804416894913, 0.07726931571960449, 0.04065919667482376, -0.010286821983754635, -0.006188537459820509, -0.0016771922819316387, -0.008785606361925602, 0.021211832761764526, 0.030688639730215073, 0.011546416208148003, -0.04557524994015694, -0.03164101019501686, 0.011537186801433563, 0.012471536174416542, 0.010534520260989666, 0.03282508626580238, -0.0337025411427021, -0.0036433031782507896, 0.07030241936445236, 0.043785009533166885, 0.012398535385727882, -0.03214055672287941, -0.009847542271018028, 0.0441863089799881, 0.048156220465898514, 0.002911425894126296, 0.0679730772972107, 0.012134591117501259, -0.04202421382069588, 0.007754307705909014, 0.046668753027915955, 0.023947233334183693, 0.014988825656473637, -0.06928451359272003, -0.05270132049918175, 0.058255359530448914, -0.04298324137926102, -0.01314106211066246, 0.016902927309274673, 0.08397509157657623, 0.003958211746066809, 0.030080098658800125, 0.009919988922774792, -0.06719668954610825, 0.06538242101669312, -0.0031502197962254286, -0.0044980114325881, 0.007866127416491508, 0.00011104633449576795, 0.09993068873882294, 0.009454267099499702, 0.006968517787754536, 0.040527988225221634, -0.05960063636302948, -0.0958729237318039, -0.010316465049982071, -0.00876180361956358, 0.06084061041474342, -0.00482114776968956, -0.0063476343639194965, 0.06935905665159225, 0.02046288549900055, 0.013954074122011662, 0.0003578717587515712, 0.017702871933579445, 0.007611001376062632, -0.04969125613570213, -0.06666478514671326, 0.028614331036806107, 0.02852482721209526, -0.033247847110033035, -0.031095104292035103, 0.01861734315752983, -0.033012859523296356, 0.010376653634011745, 0.028852729126811028, -0.02925409935414791, 0.04879707843065262, 0.024023670703172684, 0.04688302055001259, -0.014771729707717896, 0.058701422065496445, -0.05398457124829292, 0.01415211521089077, -0.01985318586230278, -0.00029682565946131945, -0.023927820846438408, 0.00645900284871459, 0.11161411553621292, 0.048172060400247574, -0.023018628358840942, -0.03194092586636543, 0.038251716643571854, -0.03683696687221527, -0.035476427525281906, -0.0104809096083045, -0.01892903260886669, -0.03018932044506073, -0.0017906309803947806, -0.022636251524090767, -0.034028682857751846, -0.013271518051624298, -0.014079640619456768, -0.017205551266670227, 0.06342184543609619, -0.03541379049420357, 0.04861669987440109, 0.02514639124274254, -0.015081068500876427, 0.00026387025718577206, -0.006451914086937904, -0.046029917895793915, 0.01606833003461361, 0.028316441923379898, 0.00009315016359323636, 0.060000866651535034, -0.04787873476743698, -0.03734418377280235, -0.025059020146727562, -0.04716622456908226, 0.011032907292246819, 0.015714991837739944, 0.06660038977861404, -0.0504327155649662, 0.048926208168268204, -0.04105518385767937, 0.021306071430444717, -0.006752727087587118, -0.04769139364361763, -0.06657834351062775, 0.0048988074995577335, 0.018361961469054222, 0.02103458344936371, 0.04042060300707817, -0.017307864502072334, 0.010596494190394878, -0.035894449800252914, 0.03882832080125809, 0.015031910501420498, 0.038590431213378906, -0.004276866093277931, -0.00868319720029831, -0.041820891201496124, 0.00011405665281927213, 0.04100662097334862, -0.062071919441223145, -0.03455507382750511, 0.031307466328144073, -0.044837720692157745, 0.039880041033029556, -0.10652963817119598, -0.02934948354959488, 0.012972488068044186, 0.02498016692698002, 0.06331678479909897, -0.032599736005067825, 0.031027233228087425, 0.047377657145261765, -0.026624420657753944, -0.0025940448977053165, 0.03099231794476509, 0.006364555098116398, 0.00913715548813343, 0.024969052523374557, 0.03267442062497139, -0.010778273455798626, -0.014836016111075878, -0.012887084856629372, -0.05898047611117363, 0.01141349133104086, -0.05660121515393257, -0.269150048494339, 0.041441068053245544, 0.019948212429881096, -0.0019246924202889204, 0.0350121445953846, -0.009107730351388454, 0.019193613901734352, -0.01388725358992815, -0.0034831727389246225, 0.0034244218841195107, -0.015001249499619007, -0.0391274057328701, -0.014445124194025993, 0.051422297954559326, -0.011649977415800095, 0.03173352777957916, -0.07228358834981918, -0.03875945508480072, 0.020528800785541534, 0.0060082124546170235, -0.026026014238595963, -0.027382519096136093, 0.021636970341205597, 0.024592049419879913, 0.011846744455397129, 0.011975829489529133, -0.08610038459300995, 0.0435904935002327, -0.05121743679046631, -0.0642712190747261, 0.004164440557360649, -0.017762316390872, -0.009523208253085613, 0.00012212034198455513, 0.024156125262379646, -0.03604651615023613, 0.010198698379099369, -0.006347008049488068, -0.018433235585689545, 0.003011125372722745, -0.048249680548906326, -0.02571532130241394, -0.0016441508196294308, 0.00953052006661892, 0.07785823196172714, 0.011140482500195503, -0.05718369036912918, -0.045303236693143845, -0.013319212943315506, 0.08509967476129532, -0.049832846969366074, -0.03639189526438713, -0.008378440514206886, 0.003207121742889285, -0.01178844552487135, 0.013512926176190376, -0.005983792711049318, 0.027492299675941467, -0.03844129294157028, -0.013335843570530415, -0.04242689162492752, -0.048408761620521545, 0.0011412480380386114, -0.06298752129077911, 0.02582325041294098, -0.03723931685090065, -0.05600660666823387, -0.0123441806063056, 0.059608761221170425, 0.015473687089979649, -0.05175036936998367, -0.0005802781670354307, -0.037054393440485, -0.10447093844413757, 0.024972015991806984, -0.05827198177576065, -0.03702700138092041, -0.03003755956888199, 0.019266050308942795, 0.009869206696748734, -0.057854656130075455, -0.0789114311337471, 0.0024382066912949085, -0.0022215901408344507, -0.008859754540026188, -0.017954029142856598, 0.022373342886567116, -0.0411197803914547, -0.03490941971540451, 0.0159734059125185, 0.06334488093852997, -0.010098441503942013, -0.03560210391879082, -0.022655386477708817, -0.005226112902164459, 0.031196163967251778, 0.03315364569425583, 0.0501532144844532, 0.004621617496013641, 0.06725393235683441, 0.010116051882505417, -0.06805519014596939, 0.00983644649386406, -0.02623528055846691, -0.012126412242650986, 0.010263166390359402, -0.0425909049808979, 0.004991497378796339, 0.03795996680855751, 0.02673095278441906, 0.013492689467966557, -0.027223048731684685, 0.016771098598837852, -0.05359702929854393, -0.038245778530836105, 0.01919151283800602, 0.01656242087483406, 0.0016730728093534708, 0.018873941153287888, -0.025382157415151596, -0.045752882957458496, 0.029178474098443985, 0.033278707414865494, 0.014933271333575249, -0.01604439504444599, -0.043713025748729706, -0.008760401047766209, 0.00030367239378392696, 0.04894931614398956, -0.012355386279523373, 0.0017649858491495252, 0.029338521882891655, 0.011138019151985645, -0.06489410996437073, 0.028257466852664948, -0.010638163425028324, -0.04396935552358627, -0.03177040070295334, 0.027727507054805756, 0.027196073904633522, -0.04151490703225136, 0.007431683596223593, 0.017782893031835556, 0.031845856457948685, 0.029578156769275665, 0.001716966857202351, 0.04074382036924362, 0.003050078870728612, 0.011360197328031063, -0.0011163243325427175, 0.02448062039911747, -0.031491126865148544, 0.0023256668355315924, -0.03285742178559303, -0.03433971107006073, -0.00022039806935936213, 0.05644898861646652, -0.02560592070221901, -0.016223687678575516, -0.018171751871705055, 0.026649152860045433, -0.03277476131916046, 0.0370037779211998, 0.008374905213713646, -0.020788751542568207, 0.027461513876914978, 0.0004913344164378941, 0.003455183934420347, -0.01942792907357216, -0.005253239069133997, 0.03662240505218506, 0.025941504165530205, -0.02538113296031952, 0.022658294066786766, -0.01671324484050274, 0.024201316758990288, 0.021676700562238693, 0.03393429517745972, 0.0027221362106502056, 0.007524512242525816, -0.010673326440155506, -0.013432960957288742, 0.028969930484890938, -0.023951129987835884, 0.030948491767048836, -0.007846721448004246, -0.01212254073470831, 0.01007029414176941, -0.014890111982822418, -0.032670650631189346, -0.013621966354548931, 0.011694728396832943, -0.0010206564329564571, 0.0012133225100114942, -0.0056160069070756435, -0.06808358430862427, 0.03838810697197914, 0.053578853607177734, 0.008720578625798225, 0.00881943292915821, -0.037137944251298904, 0.004548319615423679, -0.04528670758008957, 0.03280641883611679, 0.05775934085249901, -0.04389773681759834, 0.00418882817029953, -0.014337011612951756, 0.021832043305039406, -0.010888051241636276, 0.007881379686295986, -0.057084813714027405, -0.03855714201927185, 0.00034008242073468864, -0.017485450953245163, -0.03710799291729927, -0.07631003111600876, -0.011944549158215523, 0.03761560097336769, -0.0023689470253884792, 0.01124572567641735, 0.002075136173516512, 0.015277194790542126, -0.00265711173415184, -0.04808375611901283, 0.03367876261472702, -0.019721204414963722, -0.011936419643461704, 0.008948404341936111, -0.0025266516022384167, 0.003392704064026475, -0.030246052891016006, 0.038642752915620804, 0.0036058167461305857, -0.023320594802498817, -0.01672350987792015, -0.055957045406103134, -0.004243556875735521, 0.008630039170384407, 0.016794685274362564, 0.0005879075033590198, 0.02368302084505558, -0.03459940478205681, 0.010089526884257793, -0.022936392575502396, 0.018082905560731888, -0.005707839969545603, -0.04552828148007393, -0.0010144977131858468, 0.059704966843128204, 0.023507412523031235, 0.02967412956058979, -0.01251939032226801, -0.014911540783941746, 0.044886939227581024, -0.06903966516256332, -0.04059102386236191, -0.021274615079164505, -0.06384299695491791, 0.04198964685201645, 0.02731315605342388, 0.0029230050276964903, -0.06452656537294388, 0.020655488595366478, 0.024883750826120377, 0.015011083334684372, 0.02697511576116085, -0.024205299094319344, 0.003168463706970215, -0.036926109343767166, 0.02463102713227272, -0.08767711371183395, 0.02940065786242485, 0.02929205633699894, -0.01339489035308361, -0.02702690288424492, 0.015526997856795788, -0.03698626160621643, 0.026659660041332245, -0.048827338963747025, -0.010804384015500546, 0.06138221174478531, 0.008904136717319489, 0.0014082372654229403, 0.012112523429095745, -0.0560934916138649, 0.02570379339158535, 0.050526756793260574, -0.05276954174041748, 0.007464615162461996, 0.00866700615733862, 0.07303684204816818, -0.007916325703263283, 0.003138703526929021, -0.029648546129465103, -0.04895046725869179, 0.06786300241947174, -0.0004786204663105309, 0.013568725436925888, 0.04184255376458168, -0.004956176970154047, 0.041815340518951416, 0.017117930576205254, 0.03507182374596596, 0.014046740718185902, 0.024092545732855797, -0.01798108220100403, -0.04874904826283455, 0.047058481723070145, 0.008482544682919979, -0.010225716978311539, -0.030455438420176506, 0.05205656960606575, 0.004474862944334745, -0.06829717010259628, -0.04084767401218414, 0.028902843594551086, -0.07125137001276016, -0.021077679470181465, -0.019657697528600693, 0.016628937795758247, -0.050342779606580734, 0.0684456005692482, 0.02536209486424923, 0.021947329863905907, 0.06742840260267258, -0.009301986545324326, -0.01722756400704384, 0.03771020099520683, 0.04822591692209244, 0.07803228497505188, 0.035954058170318604, 0.03699374571442604, 0.03644082695245743, -0.017913255840539932, -0.0285214614123106, -0.01938503608107567, -0.005192520562559366, -0.03202918916940689, -0.011392518877983093, -0.01951933465898037, 0.06780579686164856, 0.012246916070580482, 0.06929746270179749, -0.032246679067611694, 0.029438583180308342, -0.029891759157180786, 0.025075865909457207, 0.015226468443870544, 0.0418330654501915, 0.015961242839694023, 0.05241457000374794, -0.0045642852783203125, -0.03310994431376457, 0.04011933505535126, -0.006509402766823769, 0.01319852564483881, 0.045205000787973404, -0.04209180176258087, 0.01052053738385439, 0.04690789058804512, 0.02579839713871479, 0.07891234755516052, -0.0004430945555213839, -0.005676863715052605, 0.010181150399148464, 0.011563906446099281, 0.013503453694283962, 0.006204049102962017, -0.01550060510635376, 0.02117754891514778, 0.005161611828953028, -0.04651067033410072, -0.00231767981313169, -0.034489694982767105, -0.02557307481765747, 0.04437711834907532, -0.011617092415690422, -0.005117719992995262, 0.006282792892307043, -0.006530982907861471, -0.01607852801680565, -0.02653125301003456, -0.06591012328863144, -0.04395383596420288, -0.03976058214902878, -0.01863180845975876, -0.0012134460266679525, -0.01717928983271122, -0.019764382392168045, -0.06203901395201683, -0.005316999275237322, -0.01880866289138794, 0.01717882603406906, -0.062368884682655334, -0.004051215946674347, 0.027451567351818085, 0.012067831121385098, 0.00020413361198734492, 0.0042158737778663635, 0.06694658100605011, 0.037797216325998306, -0.010859517380595207, -0.013967596925795078, -0.0026541315019130707, 0.03050515428185463, -0.011144264601171017, 0.03598393499851227, -0.07914353907108307, 0.03288676589727402, 0.014682319015264511, 0.03790944442152977, -0.0646820068359375, 0.020692812278866768, 0.0404658280313015, -0.002681985031813383, 0.0381963811814785, -0.026166055351495743, 0.001962310401722789, -0.029495516791939735, -0.023925459012389183, -0.01146260742098093, 0.0016611709725111723, 0.04031441733241081, 0.005732957273721695, 0.06982412934303284, 0.05845378339290619, 0.00029162716236896813, -0.03835722804069519, -0.013004603795707226, -0.021686578169465065, 0.007301791105419397, -0.04193317890167236, -0.020214462652802467, -0.04060604050755501, -0.08315309137105942, -0.03767526149749756, 0.011547631584107876, -0.010731334798038006, -0.04658624529838562, 0.007197652477771044, -0.027012741193175316, -0.029891105368733406, 0.006578557658940554, -0.03375361114740372, -0.0003069880185648799, -0.03131609782576561, -0.017288781702518463, 0.008546856231987476, 0.021346116438508034, -0.0037773773074150085, -0.013391260989010334, 0.011609245091676712, -0.027414634823799133, -0.013089792802929878, -0.020015502348542213, 0.03720671311020851, 0.05749085918068886, -0.014138207770884037, 0.01656712219119072 ]
[ -0.08689438551664352, -0.027027782052755356, -0.026635054498910904, -0.033718645572662354, 0.04721076786518097, -0.0821412056684494, -0.014350312761962414, 0.01953696459531784, -0.004715682938694954, -0.009830561466515064, -0.004785518627613783, -0.07232121378183365, -0.007462168112397194, -0.032137542963027954, 0.0790010318160057, -0.017246341332793236, -0.013908401131629944, -0.06652345508337021, -0.03269617259502411, 0.04156484082341194, 0.019599735736846924, -0.012100727297365665, -0.04813601076602936, -0.04399275779724121, -0.05207991227507591, 0.03471992909908295, 0.0149502819404006, -0.014577645808458328, -0.017007235437631607, -0.18788297474384308, 0.02296845242381096, -0.014263209886848927, -0.0030720485374331474, 0.011067377403378487, 0.04570745304226875, 0.02591707743704319, 0.02768341638147831, -0.023501764982938766, -0.008669090457260609, 0.016162218526005745, 0.03463964909315109, 0.0013301654253154993, -0.08209598809480667, -0.012171220034360886, 0.06303144991397858, -0.014940713532269001, 0.005663341376930475, 0.0025053087156265974, 0.0234390702098608, -0.017693595960736275, -0.03450106456875801, 0.0131722092628479, 0.0088477972894907, -0.06892658770084381, 0.012298613786697388, 0.024306906387209892, 0.04468001425266266, 0.08353763818740845, 0.031228691339492798, 0.025414353236556053, -0.0015750660095363855, -0.035487230867147446, -0.13207215070724487, 0.09611406177282333, 0.046378012746572495, 0.0477684810757637, -0.0680035874247551, -0.019025133922696114, -0.025129638612270355, 0.055407702922821045, -0.0023819319903850555, -0.03836715593934059, -0.034746553748846054, 0.06949696689844131, 0.0055670044384896755, 0.014315738342702389, -0.0016110081924125552, -0.010465793311595917, 0.04160550236701965, -0.035754527896642685, -0.052724163979291916, -0.00647794408723712, -0.016907641664147377, -0.0068628983572125435, -0.020695660263299942, 0.022583674639463425, 0.0016127575654536486, 0.09913771599531174, 0.0412631593644619, 0.027088729664683342, 0.015807315707206726, -0.046599432826042175, 0.0036079026758670807, 0.03680229187011719, -0.08142391592264175, -0.0014751149574294686, 0.012772833928465843, 0.015777956694364548, -0.019508760422468185, 0.43458396196365356, -0.007154235150665045, -0.014842080883681774, 0.04580281674861908, 0.04283071309328079, 0.031833358108997345, -0.006518219131976366, -0.013467678800225258, -0.04531252756714821, 0.03958047181367874, -0.032907307147979736, 0.0025288560427725315, -0.005569481290876865, 0.05530475080013275, -0.053698599338531494, -0.010160590521991253, 0.045767974108457565, -0.026623738929629326, -0.0009580129408277571, -0.02033933252096176, 0.04120291769504547, -0.016781684011220932, -0.017800262197852135, 0.04163505882024765, 0.027541613206267357, -0.010185726918280125, 0.008883331902325153, 0.07502195984125137, 0.04461582750082016, 0.01290955487638712, 0.026761692017316818, 0.04566827043890953, -0.012188770808279514, -0.070649154484272, 0.021125001832842827, -0.00946024339646101, 0.019848298281431198, 0.015022792853415012, -0.006568406242877245, -0.010498352348804474, 0.03249145671725273, -0.01079303678125143, -0.05314510315656662, 0.02893255278468132, -0.01943286694586277, -0.01907552406191826, 0.0917549729347229, 0.02200835384428501, -0.009895527735352516, -0.03286537155508995, -0.05149485170841217, -0.014005220495164394, 0.03256748244166374, 0.016536422073841095, -0.0516895055770874, 0.020125646144151688, 0.012182031758129597, 0.06472869217395782, 0.0011105422163382173, -0.055202413350343704, 0.016223561018705368, 0.009431992657482624, -0.040422290563583374, -0.04175606369972229, 0.06806964427232742, 0.02851971983909607, -0.1214732825756073, -0.029804222285747528, 0.004549426957964897, -0.004519554320722818, -0.04166261479258537, -0.006310346070677042, 0.0021997883450239897, 0.003112046979367733, -0.03611751273274422, 0.04098457098007202, -0.04068365693092346, -0.026315288618206978, 0.01666467823088169, 0.03846805542707443, 0.04898187518119812, -0.007468052674084902, -0.0016827303916215897, -0.04503314569592476, -0.0023024410475045443, -0.024974752217531204, -0.05997331067919731, -0.06420517712831497, -0.003628095146268606, -0.0160095002502203, -0.004490382969379425, -0.07851018011569977, 0.01458650641143322, -0.051934614777565, 0.066045381128788, 0.014932913705706596, -0.012478644959628582, -0.00904825795441866, -0.003525863401591778, -0.03710238263010979, -0.017381737008690834, 0.06080511584877968, 0.0368688628077507, -0.016128065064549446, 0.04833607003092766, -0.07050632685422897, 0.042330093681812286, 0.03851262107491493, -0.030585216358304024, 0.06785014271736145, 0.0299008097499609, -0.01772199012339115, -0.0099831223487854, 0.033246684819459915, 0.014081676490604877, -0.014933292753994465, -0.03211353346705437, -0.018928833305835724, 0.028223412111401558, 0.03478098660707474, 0.024687035009264946, -0.03471837565302849, 0.01651282235980034, -0.026241054758429527, -0.355383038520813, -0.03263264521956444, -0.026018505915999413, 0.009390566498041153, -0.011339398100972176, -0.03562605008482933, 0.03388293460011482, -0.029034603387117386, -0.030144210904836655, -0.000014861157978884876, 0.12707273662090302, -0.01280202902853489, 0.033056192100048065, -0.06025182455778122, -0.02364344522356987, 0.00928171444684267, -0.03263354301452637, -0.0057028974406421185, 0.007720060180872679, 0.05297129973769188, -0.006208856124430895, -0.03789839148521423, -0.004278093576431274, -0.0042721484787762165, -0.028883423656225204, -0.04644263535737991, 0.12958988547325134, -0.00357823702506721, 0.06914231926202774, -0.05830640345811844, 0.050327859818935394, 0.027533505111932755, 0.030782638117671013, -0.11704200506210327, -0.006210982333868742, -0.024183202534914017, 0.010672389529645443, 0.013629671186208725, 0.04417314752936363, -0.025427499786019325, -0.06931064277887344, 0.03194236755371094, -0.027668224647641182, -0.027845224365592003, -0.019635792821645737, -0.009904291480779648, -0.011132926680147648, -0.0124047277495265, -0.027903838083148003, 0.04088812693953514, 0.014840667136013508, 0.02977539412677288, 0.0019485626835376024, 0.011794950813055038, 0.020426234230399132, -0.01755300536751747, -0.0391354039311409, -0.02483390085399151, 0.014165005646646023, 0.010839874856173992, 0.03166632726788521, 0.05608704686164856, 0.020797934383153915, -0.06685944646596909, 0.023430654779076576, -0.0007925880490802228, 0.018627388402819633, -0.008580540306866169, 0.06135312467813492, -0.043899841606616974, 0.003216505516320467, 0.11552606523036957, 0.008510163053870201, -0.027158597484230995, 0.00039616491994820535, 0.02299284189939499, 0.002196755027398467, 0.03056134097278118, 0.041587021201848984, -0.001181450323201716, 0.06434006243944168, 0.0012868695193901658, 0.027241138741374016, -0.030743107199668884, 0.001139444881118834, 0.049525897949934006, -0.018233248963952065, -0.020536694675683975, 0.07955630868673325, 0.0010694630909711123, -0.03129470720887184, 0.00026484605041332543, -0.004583881702274084, -0.012732730247080326, 0.06992031633853912, 0.01223799679428339, -0.2722588777542114, 0.0263884998857975, 0.045652881264686584, 0.047628115862607956, -0.010502923280000687, 0.0017361963400617242, 0.0424407459795475, -0.06374413520097733, -0.006699841003865004, 0.017432672902941704, 0.0031416104175150394, 0.009363570250570774, -0.0029776464216411114, -0.0027648326940834522, 0.01799360290169716, 0.028171619400382042, 0.04418915882706642, -0.0028999412897974253, 0.0015390425687655807, 0.01150970347225666, -0.01605784334242344, -0.00869277585297823, 0.14050178229808807, 0.012141818180680275, 0.02195986919105053, 0.026577705517411232, -0.02208675816655159, 0.017814617604017258, 0.0734509602189064, 0.03770463541150093, -0.021742086857557297, 0.016284316778182983, 0.0000022362505660566967, -0.028389550745487213, 0.029291203245520592, -0.08453821390867233, -0.004086225293576717, -0.009902636520564556, 0.04105596989393234, -0.025780992582440376, -0.03498632460832596, -0.005235756281763315, -0.0388251394033432, -0.0021062144078314304, 0.04212097078561783, 0.026517100632190704, 0.0011314101284369826, -0.04121915623545647, -0.026202483102679253, -0.005136606749147177, -0.048695072531700134, -0.03867388516664505, -0.005051369778811932, 0.004122268408536911, 0.013823237270116806, 0.08571144193410873, 0.0042152926325798035, -0.032250791788101196, -0.017718220129609108, 0.027739081531763077, 0.005083887372165918, -0.07795446366071701, 0.09960592538118362, 0.01313050091266632, 0.012486275285482407 ]
[ 0.0184578038752079, 0.01627948507666588, 0.009996965527534485, 0.05576150864362717, 0.04275835305452347, 0.031272903084754944, -0.030355751514434814, 0.027127880603075027, -0.06891665607690811, 0.013123358599841595, 0.01345139555633068, 0.006219665985554457, 0.0240625012665987, 0.04477737098932266, 0.04158618673682213, -0.007511032745242119, 0.059629105031490326, -0.007828700356185436, 0.021432701498270035, -0.007128390949219465, -0.031301043927669525, 0.0026431723963469267, 0.03976872190833092, -0.000607428839430213, -0.02873018942773342, -0.04081423953175545, -0.03347519412636757, 0.007584846578538418, 0.021866044029593468, -0.10787641257047653, 0.02444124035537243, 0.023370038717985153, 0.035155560821294785, -0.013465159572660923, 0.07888255268335342, 0.08709179610013962, 0.054426249116659164, -0.05376937612891197, -0.057359326630830765, 0.016900798305869102, 0.0426160953938961, -0.02680935151875019, -0.039141155779361725, -0.014372206293046474, 0.008817209862172604, 0.0009740511886775494, 0.00042923446744680405, 0.015200323425233364, 0.011742765083909035, -0.02101532742381096, 0.0013796767452731729, 0.0075084008276462555, 0.05739784985780716, -0.045810721814632416, -0.015252542681992054, 0.010956650599837303, 0.028887229040265083, -0.00560764130204916, -0.015048624947667122, -0.02287532202899456, 0.03244564309716225, -0.011602825485169888, -0.017991606146097183, -0.021145733073353767, -0.013460497371852398, -0.04295986518263817, 0.020657245069742203, 0.0010347450152039528, -0.01051071472465992, 0.02890438213944435, -0.040056269615888596, -0.01346032228320837, 0.0034835070837289095, 0.011242695152759552, 0.049952760338783264, -0.0190131776034832, 0.03194679692387581, -0.03883001580834389, 0.004203725140541792, -0.002926599234342575, -0.08145186305046082, -0.015310365706682205, 0.009965885430574417, 0.003124261274933815, -0.0315912626683712, 0.02557218074798584, 0.021941818296909332, 0.008690083399415016, 0.009519081562757492, 0.016034569591283798, 0.012692396529018879, -0.024410488083958626, 0.029192710295319557, -0.00926401000469923, -0.05930961295962334, -0.01712433435022831, -0.007918092422187328, 0.051898043602705, 0.008681467734277248, 0.7490260601043701, -0.008827167563140392, -0.034686971455812454, 0.020269233733415604, 0.02824007347226143, 0.04367244988679886, -0.008416812866926193, -0.008315518498420715, 0.014486218802630901, 0.04578099027276039, -0.002699905773624778, 0.015225782990455627, -0.05318307504057884, 0.05178985744714737, 0.009528731927275658, 0.0077521405182778835, 0.05295530706644058, 0.04387025907635689, 0.035231318324804306, 0.03289427608251572, 0.10724878311157227, 0.05048692598938942, 0.0005841695819981396, 0.019681790843605995, 0.011167067103087902, -0.05059811472892761, -0.2217932790517807, 0.017761999741196632, -6.303202012516684e-33, 0.03190845251083374, -0.045109208673238754, 0.04304489493370056, -0.00820846762508154, 0.06220760941505432, -0.012759579345583916, -0.05449068546295166, 0.0020931344479322433, 0.01965571939945221, -0.03669357672333717, -0.04630972817540169, -0.016434893012046814, 0.0019443612545728683, 0.0327615849673748, 0.021756650879979134, -0.019207216799259186, -0.03194189444184303, 0.04216066002845764, -0.014623697847127914, 0.038939982652664185, 0.039194267243146896, -0.012305807322263718, -0.0014988352777436376, 0.011616895906627178, 0.04153750464320183, 0.03854580596089363, 0.021138546988368034, -0.002285795984789729, 0.007352585904300213, -0.029939807951450348, -0.023710986599326134, -0.043102163821458817, -0.0014567336766049266, 0.01995435357093811, -0.07884138077497482, -0.041991107165813446, -0.04703466221690178, 0.02582722343504429, -0.07169031351804733, -0.045633431524038315, 0.011675488203763962, 0.013577680103480816, 0.010940256528556347, -0.017121165990829468, -0.03608785569667816, -0.051467373967170715, 0.033111024647951126, 0.04592569172382355, 0.04465339332818985, -0.014148477464914322, 0.026680482551455498, 0.01616370677947998, 0.03718157112598419, -0.028191955760121346, 0.020795200020074844, -0.012542006559669971, 0.010752338916063309, -0.00029949095915071666, -0.009532094933092594, -0.050274450331926346, 0.03563185781240463, -0.03057040087878704, -0.013496103696525097, 0.01564161293208599, 0.032673344016075134, -0.004068471025675535, 0.01402244996279478, 0.030325118452310562, -0.03706228360533714, 0.003970075864344835, -0.10624731332063675, 0.04168089106678963, 0.02134796977043152, 0.007011604029685259, 0.011887791566550732, -0.03741323947906494, 0.0037420345470309258, 0.0085380170494318, -0.012855853885412216, 0.003770256880670786, -0.020785726606845856, -0.015551230870187283, -0.0035577486269176006, -0.01327297929674387, -0.006136670708656311, -0.005353222601115704, -0.00032911886228248477, 0.0008850566809996963, -0.031151961535215378, 0.008351764641702175, 0.00476326746866107, -0.016138695180416107, 0.011772739700973034, -0.021729180589318275, -0.02987862564623356, 6.807009340387516e-33, -0.019931135699152946, 0.02043258771300316, -0.0010960008949041367, 0.0032591158524155617, 0.009491106495261192, 0.00011293128045508638, 0.05053915083408356, 0.021848054602742195, -0.04058162868022919, 0.043639175593853, -0.0015740912640467286, -0.029667619615793228, 0.016483396291732788, 0.028822606429457664, 0.03259991481900215, 0.012003440409898758, 0.0315270833671093, 0.04520441219210625, 0.04673570394515991, -0.042998380959033966, -0.009014353156089783, -0.009647550992667675, 0.010096236132085323, -0.015556840226054192, 0.03565195947885513, 0.025324994698166847, -0.004615396726876497, -0.009573235176503658, -0.016951095312833786, 0.00144141202326864, 0.0036971429362893105, -0.03364826738834381, -0.014877069741487503, 0.017944715917110443, 0.0058478680439293385, -0.025627247989177704, -0.04626661539077759, 0.014512552879750729, -0.011369997635483742, -0.046059783548116684, 0.022925758734345436, 0.01106270682066679, -0.044665563851594925, -0.007934038527309895, 0.03198925405740738, -0.0035378942266106606, -0.04449914023280144, -0.0009456513216719031, -0.056075628846883774, -0.0332210399210453, -0.01617659069597721, 0.06912203133106232, 0.025734739378094673, -0.016552627086639404, 0.008064238354563713, 0.019452938809990883, -0.030043011531233788, 0.05058135837316513, 0.0013725191820412874, 0.007855778560042381, 0.020163629204034805, -0.0070000262930989265, -0.0033306742552667856, 0.03795161098241806, -0.02713943086564541, -0.016694113612174988, -0.11124920845031738, 0.010442225262522697, -0.04173829406499863, 0.010633290745317936, -0.003049966413527727, 0.05481542646884918, -0.04077726602554321, 0.03792790696024895, -0.04147818312048912, 0.013889542780816555, -0.021135495975613594, -0.029334930703043938, -0.026622183620929718, 0.033996112644672394, 0.0027376539073884487, -0.01903505064547062, 0.02665380761027336, 0.04696638509631157, 0.00957958959043026, 0.02506677433848381, -0.04598752036690712, 0.02553248032927513, 0.05735474079847336, 0.015488923527300358, -0.00790537241846323, -0.008139078505337238, -0.035016607493162155, 0.016957664862275124, -0.012337678112089634, -1.1741386529706688e-8, 0.01005980558693409, -0.02718137577176094, 0.005309754982590675, 0.02496420033276081, 0.029342813417315483, 0.0410473607480526, -0.04656883329153061, -0.01713261753320694, -0.058056581765413284, 0.022605838254094124, 0.024694766849279404, -0.03276917710900307, -0.020690979436039925, 0.030594581738114357, 0.04647056385874748, -0.04433569684624672, 0.005609374959021807, 0.0432162806391716, 0.028415143489837646, -0.013203443959355354, 0.015931904315948486, 0.012995820492506027, -0.019735196605324745, 0.02196824736893177, -0.014736063778400421, -0.0069810012355446815, 0.00364902731962502, -0.032588377594947815, -0.015050695277750492, -0.017189666628837585, -0.010627228766679764, -0.04439138248562813, -0.06360545754432678, 0.008563273586332798, -0.07564900070428848, -0.01357068307697773, -0.05913790315389633, -0.024531129747629166, -0.0010883266804739833, 0.03379571810364723, 0.014755186624825, 0.06497073173522949, 0.008448711596429348, -0.021283132955431938, 0.04484342411160469, -0.0473092682659626, 0.010144202969968319, -0.010516263544559479, -0.014471802860498428, -0.03740669786930084, 0.03998882323503494, -0.020963476970791817, -0.007794095668941736, 0.017143988981842995, 0.019552651792764664, 0.0012504816986620426, -0.03883746638894081, -0.06986529380083084, -0.02103595621883869, 0.024900969117879868, 0.017905067652463913, -0.02159568853676319, 0.009436346590518951, -0.019805356860160828 ]
fabricboto-boto-exception-noauthhandlerfound-no-handler-was-ready-to-authenticate-1-handlers-were-checked-querysignaturev2authhandler-check-your-credentials
https://markhneedham.com/blog/2013/01/15/fabricboto-boto-exception-noauthhandlerfound-no-handler-was-ready-to-authenticate-1-handlers-were-checked-querysignaturev2authhandler-check-your-credentials
false
2013-01-15 00:20:49
Fabric: Tailing log files on multiple machines
[ "devops-2", "python", "fabric" ]
[ "DevOps" ]
We wanted to tail one of the log files simultaneously on 12 servers this afternoon to try and see if a particular event was being logged and rather than opening 12 SSH sessions decided to get http://docs.fabfile.org/en/1.5/[Fabric] to help us out. My initial attempt to do this was the following: [source,text] ---- fab -H host1,host2,host3 -- tail -f /var/www/awesome/current/log/production.log ---- It works but the problem is that by default Fabric runs the specified command http://docs.fabfile.org/en/1.4.4/usage/execution.html#execution-strategy[one machine after the other] so we've actually managed to block Fabric with the tail command on 'host1'. The output of host1's log file will be printed to the terminal but nothing from the other two hosts. http://junctionbox.ca/[Nathan] showed me how to get around this problem by making use of Fabric's parallel execution which we can enable with the '-P' option: [source,text] ---- fab -P --linewise -H host1,host2,host3 -- tail -f /var/www/awesome/current/log/production.log ---- We also used the 'likewise' flag to ensure that data between the different tail processes didn't get mixed up although this wasn't necessary because Fabric http://docs.fabfile.org/en/1.4.4/usage/parallel.html[defaults to likewise if you're using parallel execution] mode anyway. On a side-note, http://oobaloo.co.uk/kafka-for-uswitchs-event-pipeline[Paul Ingles wrote up the approach taken to make data from log files more accessible] using a Kafka driven event pipeline but in this case we haven't got round to wiring this data up yet so Fabric it is for now.
null
null
[ 0.013632983900606632, -0.04532146453857422, -0.01796141266822815, -0.008794881403446198, 0.09778110682964325, 0.011821766383945942, 0.012406617403030396, 0.050654087215662, 0.002790476894006133, -0.02320989780128002, -0.007168408948928118, -0.02666134387254715, -0.07129377126693726, 0.02436460740864277, -0.0012151834089308977, 0.05801205709576607, 0.06658876687288284, -0.008885281160473824, 0.049788765609264374, -0.002299486892297864, 0.02919754385948181, 0.03857280686497688, 0.0015410317573696375, 0.029045142233371735, 0.017769163474440575, 0.0024872838985174894, 0.0033173952251672745, -0.012517578899860382, -0.011815797537565231, -0.01313924789428711, 0.020263291895389557, 0.017776209861040115, 0.014146239496767521, -0.0020502714905887842, 0.029624411836266518, -0.02083141729235649, -0.0266597718000412, -0.004699145443737507, 0.0008732686401344836, -0.004251680802553892, -0.08143407106399536, -0.00015098234871402383, -0.011889401823282242, 0.016031773760914803, -0.03416372090578079, 0.027560772374272346, -0.013413092121481895, 0.019135503098368645, 0.019372429698705673, 0.02417409047484398, -0.10824927687644958, 0.03747684508562088, 0.008321406319737434, -0.019685596227645874, 0.01709466055035591, 0.02579924650490284, 0.01820594072341919, -0.052065566182136536, 0.023828323930501938, -0.011562197469174862, -0.03524410352110863, -0.03176271542906761, -0.022500894963741302, 0.04332657903432846, 0.03002498485147953, -0.03904297575354576, 0.0030997106805443764, 0.044444359838962555, -0.0036834648344665766, -0.030075034126639366, -0.007873998954892159, 0.05649438872933388, -0.010942995548248291, -0.000418876763433218, 0.015971269458532333, -0.03567919135093689, 0.01554511021822691, 0.013873022049665451, 0.033581387251615524, 0.0781138464808464, -0.03244101628661156, -0.017415964975953102, 0.03485022485256195, 0.05451446399092674, 0.040521714836359024, -0.003779761493206024, -0.05577874928712845, 0.0054353815503418446, -0.04617289453744888, 0.07625739276409149, 0.00005031391265220009, -0.08674540370702744, -0.04347043111920357, 0.007468466646969318, 0.0026877056807279587, 0.03211167827248573, -0.008881188929080963, 0.021671514958143234, 0.027261147275567055, -0.015315726399421692, -0.059898488223552704, 0.0034433184191584587, -0.013954708352684975, 0.0465504415333271, -0.05382394418120384, -0.002132866997271776, -0.04063382372260094, -0.034185368567705154, 0.022509222850203514, -0.0014245687052607536, 0.0042467983439564705, 0.004696336109191179, -0.026990266516804695, 0.004623113200068474, -0.08982865512371063, 0.0809410959482193, 0.0026249291840940714, -0.055508650839328766, 0.02352168597280979, -0.009962988086044788, 0.051911093294620514, 0.046671632677316666, -0.00680174445733428, 0.06904935836791992, -0.0022534688469022512, 0.013896044343709946, 0.0072190421633422375, 0.05512125417590141, -0.036081910133361816, -0.06086573749780655, -0.0148481959477067, 0.07465683668851852, -0.033073607832193375, 0.017666740342974663, 0.0008936326485127211, 0.0006602595094591379, 0.01447246316820383, 0.019070401787757874, 0.07574862241744995, 0.040184956043958664, -0.017078857868909836, -0.03426092863082886, -0.007715063635259867, 0.0020871020387858152, 0.02872963808476925, 0.008996594697237015, -0.04833497479557991, -0.06110160052776337, -0.043159451335668564, -0.00026301469188183546, 0.0005259949248284101, 0.0048776110634207726, 0.06622045487165451, -0.04020494222640991, -0.009352562949061394, 0.09282734990119934, 0.03570947423577309, 0.008999627083539963, -0.03497479856014252, -0.006382533349096775, 0.03557271137833595, 0.04802456125617027, 0.011709518730640411, 0.045068658888339996, -0.004444545134902, -0.009170014411211014, 0.014054790139198303, 0.03460879251360893, -0.006166480947285891, 0.003251002635806799, -0.056110937148332596, -0.01046047918498516, 0.05452074110507965, -0.025093423202633858, -0.011546185240149498, 0.027582958340644836, 0.08302174508571625, 0.012852140702307224, 0.03641336038708687, -0.006415832322090864, -0.06319049745798111, 0.04690764844417572, 0.015490815043449402, 0.04007440060377121, 0.0026042910758405924, -0.009456544183194637, 0.06704354286193848, 0.004317963495850563, 0.013043619692325592, 0.03158861771225929, -0.06949103623628616, -0.09669415652751923, 0.013510195538401604, -0.015413586981594563, 0.047776319086551666, -0.04355056583881378, 0.014549175277352333, 0.03437631204724312, 0.04720707982778549, 0.030087294057011604, 0.0003175866149831563, -0.018734343349933624, 0.02244635671377182, -0.0627400279045105, -0.06667914241552353, 0.05006278678774834, 0.0016553491586819291, -0.046924274414777756, -0.04184948652982712, -0.0081884004175663, -0.02346811629831791, 0.04534163698554039, 0.03771180287003517, 0.004761948250234127, 0.08661159127950668, 0.008187401108443737, 0.011248552240431309, -0.024434154853224754, 0.05050062760710716, -0.03847607970237732, 0.031845055520534515, -0.0032854946330189705, -0.02228476293385029, 0.005666011478751898, 0.011911684647202492, 0.11972624808549881, 0.05232128128409386, -0.026327161118388176, -0.05086750537157059, 0.058383021503686905, -0.03016285039484501, -0.0337778776884079, -0.01024117786437273, -0.008682218380272388, -0.012631712481379509, 0.03518718108534813, -0.03648076578974724, -0.004681580234318972, -0.006597290281206369, -0.02024925872683525, 0.006912536919116974, 0.045247986912727356, -0.020812541246414185, 0.05091720446944237, 0.009283364750444889, -0.048299796879291534, 0.04397597536444664, -0.022830605506896973, -0.040514521300792694, -0.0005768519476987422, 0.0013862213818356395, 0.004094064235687256, 0.05321703106164932, -0.04785756394267082, -0.037026986479759216, -0.01472540758550167, -0.027424488216638565, 0.033525723963975906, 0.026058126240968704, 0.058495864272117615, -0.04949917644262314, 0.011284701526165009, -0.030155124142766, 0.026557980105280876, 0.008398015983402729, -0.029766783118247986, -0.031995803117752075, 0.004668192472308874, -0.0006907101487740874, 0.02124267816543579, 0.02880389802157879, -0.05741807445883751, 0.03588339313864708, -0.005335033871233463, 0.031240619719028473, -0.017730558291077614, 0.03936035558581352, 0.005975989159196615, -0.01028839685022831, -0.029660435393452644, 0.005393505562096834, 0.04123044013977051, -0.028889987617731094, -0.01913241669535637, 0.024680474773049355, -0.04094046354293823, 0.02165897563099861, -0.0515582300722599, -0.029074300080537796, -0.013235673308372498, 0.015899572521448135, 0.04335395246744156, 0.008051405660808086, 0.006689585745334625, 0.04050314426422119, 0.05568541958928108, -0.017246250063180923, 0.024119017645716667, 0.015089894644916058, 0.025844447314739227, -0.019787335768342018, -0.007051418535411358, 0.04173770919442177, -0.014818526804447174, -0.041740115731954575, -0.04937533661723137, 0.019603483378887177, -0.06920020282268524, -0.27242007851600647, 0.02959602326154709, 0.013886376284062862, -0.035412244498729706, 0.02191867306828499, -0.007139506749808788, -0.007004395592957735, -0.04480990022420883, -0.0006720391684211791, -0.014578175731003284, -0.0199730321764946, -0.052081216126680374, -0.015697911381721497, 0.042167793959379196, -0.022529464215040207, 0.04031195491552353, 0.0019184715347364545, -0.03598839044570923, 0.026821589097380638, 0.003993357066065073, -0.028114791959524155, -0.021048590540885925, -0.0010462661739438772, -0.005187769886106253, 0.05485968664288521, 0.00774465873837471, -0.09705642610788345, 0.040215153247117996, -0.018918689340353012, -0.02951139584183693, -0.004371280316263437, -0.02996961958706379, 0.019502798095345497, -0.014220262877643108, 0.009660745970904827, -0.020665111020207405, 0.019596461206674576, -0.0011309707770124078, 0.0013212127378210425, -0.00918099470436573, -0.019908908754587173, -0.038513146340847015, -0.04396866634488106, -0.0007707178010605276, 0.050387363880872726, -0.00048547322512604296, -0.04803115129470825, -0.011592959053814411, -0.0030138122383505106, 0.06551758944988251, -0.027497466653585434, -0.06156977638602257, -0.02052210085093975, -0.004084338899701834, -0.03080562688410282, 0.013692949898540974, -0.02206539176404476, -0.015584683045744896, -0.02908027172088623, -0.01820795051753521, -0.030281081795692444, -0.05493660271167755, -0.004406625404953957, -0.08636312931776047, 0.0038396711461246014, -0.02696608006954193, -0.062269482761621475, -0.010735392570495605, 0.06645280122756958, -0.00809890404343605, -0.01581657864153385, 0.004274075385183096, -0.012519240379333496, -0.12034853547811508, -0.018346430733799934, -0.036090146750211716, -0.03592123091220856, -0.004292193800210953, 0.031942952424287796, 0.02688279189169407, -0.029210204258561134, -0.05010692775249481, 0.0008540215785615146, -0.027358856052160263, 0.030817709863185883, -0.027731921523809433, 0.022488757967948914, -0.032901763916015625, -0.030162397772073746, 0.0014294615248218179, 0.03506314754486084, 0.0015170981641858816, -0.0224569384008646, -0.03177592530846596, 0.024270784109830856, 0.028844157233834267, 0.0019040078623220325, 0.023745393380522728, 0.008903558366000652, 0.028444064781069756, 0.04482978582382202, -0.05438517779111862, -0.005291847512125969, -0.07511017471551895, -0.014158207923173904, 0.040801357477903366, -0.02723667584359646, 0.037115659564733505, 0.050264790654182434, 0.048782993108034134, -0.0022593755275011063, -0.014861700125038624, 0.03558675944805145, -0.058462828397750854, 0.001994200050830841, -0.003220773534849286, 0.020157765597105026, 0.040640030056238174, 0.013731423765420914, -0.05672070384025574, -0.04194238409399986, 0.001685882220044732, 0.038030289113521576, -0.025546429678797722, -0.012273911386728287, -0.012558350339531898, 0.009207016788423061, -0.0161654744297266, 0.016073044389486313, -0.005288452375680208, 0.0015259949723258615, 0.01296029333025217, 0.05412466451525688, -0.02608904428780079, 0.0266307070851326, -0.04218556359410286, -0.042036741971969604, -0.03375980630517006, 0.012624449096620083, -0.002581820823252201, -0.05061072111129761, -0.007253922522068024, 0.00024483902961947024, 0.04179748147726059, 0.029930908232927322, 0.023281946778297424, 0.00032043448300100863, 0.0027743109967559576, 0.0197058767080307, 0.01924816332757473, 0.022870434448122978, -0.04421461001038551, 0.008593345992267132, -0.0018714242614805698, -0.025628071278333664, 0.001869830652140081, 0.05378003045916557, -0.01938961073756218, -0.02429460734128952, -0.052185431122779846, 0.04116709157824516, -0.04510857164859772, 0.016607455909252167, 0.008589927107095718, -0.030454428866505623, 0.03145502507686615, -0.020499294623732567, 0.05336359515786171, -0.03857303410768509, -0.009726054966449738, -0.01922128163278103, -0.001035622088238597, -0.032755784690380096, 0.03353695943951607, 0.0158558152616024, 0.01602502539753914, -0.004025493748486042, 0.044754624366760254, 0.03992288187146187, 0.027219852432608604, 0.005331206135451794, 0.0013707467587664723, 0.006838159170001745, -0.0013893869472667575, 0.0522623173892498, 0.01864800788462162, -0.0019201190443709493, 0.01855975203216076, -0.021610843017697334, -0.002916730707511306, -0.038620129227638245, 0.0027569790836423635, 0.004205503035336733, -0.02213124930858612, -0.0021939831785857677, -0.0748881921172142, 0.05526014417409897, 0.04015791416168213, -0.010149873793125153, -0.012301941402256489, -0.02485865168273449, 0.017798777669668198, -0.027024466544389725, 0.0037922870833426714, 0.03798574209213257, -0.029598336666822433, 0.00400535436347127, -0.007352196145802736, 0.026519404724240303, 0.00573650561273098, 0.014885973185300827, -0.05391698703169823, -0.004842720460146666, 0.009331155568361282, 0.021282406523823738, -0.050226956605911255, -0.030669642612338066, -0.020469574257731438, 0.047555506229400635, -0.007155530154705048, 0.022362232208251953, -0.02255060151219368, -0.0001638400281080976, -0.005692938342690468, -0.0634545385837555, 0.03009803034365177, -0.0006543148192577064, -0.009892936795949936, 0.050452250987291336, -0.005861983634531498, 0.031920090317726135, -0.051008712500333786, 0.036884646862745285, 0.02430395409464836, -0.017131999135017395, 0.004022740293294191, -0.03934309259057045, -0.004285964649170637, -0.0031794249080121517, 0.042587075382471085, 0.0037827384658157825, 0.017613986507058144, -0.04235530272126198, 0.033742912113666534, -0.030604250729084015, 0.00009821564162848517, -0.023114122450351715, -0.024351123720407486, 0.004673872608691454, 0.05319391191005707, -0.01714853011071682, 0.051535267382860184, -0.006944304332137108, -0.026288680732250214, 0.03810968995094299, -0.07559990882873535, -0.04027922451496124, -0.013124315068125725, -0.08380953967571259, 0.02001914754509926, 0.010642141103744507, -0.04159412160515785, -0.06546510010957718, 0.02888958528637886, 0.0212933998554945, 0.008531888015568256, 0.04626748338341713, 0.007468644063919783, 0.0014168572379276156, -0.005354211665689945, -0.029070207849144936, -0.08046919107437134, -0.008985830470919609, 0.03154199197888374, -0.017583364620804787, -0.004697331693023443, 0.012429443188011646, -0.021837372332811356, 0.03732367977499962, -0.049534253776073456, -0.034045953303575516, 0.04218045994639397, 0.0012440040009096265, 0.024076184257864952, 0.021759415045380592, -0.043666910380125046, 0.0551656074821949, 0.014596481807529926, -0.040680065751075745, -0.010666605085134506, 0.020827552303671837, 0.04266754165291786, -0.007251327857375145, 0.018294615671038628, -0.03350307047367096, -0.061427365988492966, 0.06528330594301224, 0.014608771540224552, 0.008140156976878643, 0.07827422767877579, -0.02982153557240963, 0.040513645857572556, 0.02046590857207775, -0.008519411087036133, 0.001310704043135047, -0.021378444507718086, -0.015723900869488716, -0.05363796651363373, 0.03137218952178955, 0.029615510255098343, 0.023042023181915283, -0.013186011463403702, 0.06349068135023117, 0.022593168541789055, -0.03940354660153389, -0.06968120485544205, 0.022824272513389587, -0.0702512115240097, 0.0015069860965013504, -0.014252053573727608, 0.01895901747047901, -0.06182199344038963, 0.04715430736541748, 0.026328841224312782, 0.02848404459655285, 0.06272595375776291, -0.029432279989123344, 0.027136147022247314, -0.0023942694533616304, 0.0633247047662735, 0.06250570714473724, 0.037805043160915375, 0.0415983572602272, 0.03255414590239525, -0.017073916271328926, -0.02470981702208519, -0.03151557594537735, -0.012907170690596104, -0.03753295913338661, -0.012688730843365192, 0.029897445812821388, 0.06847360730171204, -0.026020152494311333, 0.07043185830116272, 0.0009638249757699668, 0.029444564133882523, 0.0007415927830152214, 0.006978355348110199, 0.024457992985844612, 0.038746584206819534, 0.008495431393384933, -0.009373674169182777, 0.025876061990857124, -0.008281358517706394, 0.025999825447797775, -0.016097934916615486, -0.02311447076499462, 0.05297939479351044, 0.013638400472700596, 0.029070783406496048, 0.05015251412987709, 0.038438353687524796, 0.05639180913567543, 0.02796083875000477, -0.012274743057787418, -0.0036218559835106134, 0.003623401978984475, -0.03536127507686615, 0.010904303751885891, -0.023257233202457428, 0.020948871970176697, -0.0071426499634981155, -0.042403191328048706, -0.03919930011034012, -0.04840712249279022, 0.0018557236762717366, 0.01820080727338791, -0.01310123410075903, 0.03945042937994003, 0.0015657683834433556, -0.034801334142684937, -0.027484221383929253, -0.01906752400100231, -0.05637345090508461, -0.06884128600358963, -0.05549849197268486, -0.01879575476050377, 0.0013267602771520615, 0.02657342702150345, -0.0009110575192607939, -0.04348210245370865, -0.03750225901603699, 0.0035819094628095627, 0.013956885784864426, -0.06051404029130936, -0.029867522418498993, 0.02294478751718998, 0.006076446268707514, 0.015866629779338837, 0.019242774695158005, 0.06063450872898102, 0.04554494097828865, 0.0060045309364795685, -0.02224869094789028, 0.01732042245566845, 0.019029371440410614, -0.00557231018319726, -0.009450314566493034, -0.09071163088083267, 0.04914632439613342, -0.002677246928215027, 0.021259451285004616, -0.07312608510255814, 0.03579693287611008, 0.046893928200006485, -0.006018468644469976, 0.01799057424068451, -0.039018433541059494, -0.010856973938643932, -0.06311142444610596, -0.04132825508713722, -0.010471745394170284, -0.0034803543239831924, 0.03410346060991287, 0.006893078330904245, 0.0825161412358284, 0.09088674187660217, -0.029253138229250908, -0.03405618295073509, 0.013825749978423119, -0.028463833034038544, 0.0005402041133493185, -0.014044639654457569, -0.05307392776012421, -0.03139964118599892, -0.07890520989894867, -0.043152958154678345, 0.016279850155115128, -0.0011353074805811048, -0.02804006077349186, 0.049149468541145325, 0.016026685014367104, -0.055872224271297455, 0.011088947765529156, -0.04288145527243614, -0.027921156957745552, -0.020734164863824844, -0.025792239233851433, -0.007417892571538687, 0.022564522922039032, 0.01930108293890953, -0.0334760956466198, 0.017824556678533554, -0.04058748856186867, -0.009210384450852871, -0.02076445147395134, 0.016209911555051804, 0.04485795646905899, 0.013752377592027187, -0.02542024292051792 ]
[ -0.06604234129190445, 0.0018864047015085816, -0.037000373005867004, -0.0408899262547493, 0.05936845391988754, -0.03774428367614746, -0.049736138433218, -0.0068381959572434425, -0.006429445464164019, -0.001225183834321797, 0.02097824215888977, -0.05784360691905022, -0.026134546846151352, -0.01945818029344082, 0.09165460616350174, -0.000871798605658114, -0.005541860591620207, -0.06238706409931183, -0.03924983739852905, 0.040062401443719864, -0.008290402591228485, -0.041706886142492294, -0.07540443539619446, -0.042919084429740906, -0.003239474957808852, 0.020834699273109436, 0.024326559156179428, -0.06433383375406265, -0.010369484312832355, -0.20958557724952698, 0.039222147315740585, -0.012316993437707424, -0.015042994171380997, -0.038442883640527725, 0.034517206251621246, 0.026775622740387917, 0.04085299372673035, 0.013812337070703506, 0.0073661115020513535, 0.055384233593940735, 0.04602128639817238, 0.01348392479121685, -0.05109808221459389, -0.031081954017281532, 0.010382096283137798, -0.022810420021414757, 0.004141118377447128, 0.00027181042241863906, 0.008356495760381222, 0.018031010404229164, -0.011693453416228294, 0.0030374263878911734, -0.0002561536675784737, -0.04937375336885452, -0.003919388633221388, -0.005228967405855656, 0.038547683507204056, 0.05091356113553047, -0.003171134740114212, 0.020348455756902695, 0.0030150110833346844, -0.027272120118141174, -0.1390778124332428, 0.07894749939441681, 0.044114623218774796, 0.022398851811885834, -0.046684131026268005, -0.02835174649953842, -0.03481753543019295, 0.1036272943019867, -0.0219937264919281, -0.003995230887085199, -0.013514069840312004, 0.062028661370277405, 0.01456230878829956, -0.01331996452063322, 0.01796223782002926, 0.03378209471702576, 0.007795548997819424, -0.028644457459449768, -0.05535920709371567, -0.02804022654891014, -0.028513260185718536, -0.008559932932257652, -0.06796929240226746, 0.002988013904541731, -0.02198760025203228, 0.07692711055278778, 0.025606051087379456, 0.013047028332948685, 0.017102813348174095, 0.0006139465840533376, 0.07832100242376328, 0.0296506155282259, -0.09361208230257034, 0.030996311455965042, -0.003273981623351574, 0.026272263377904892, 0.034735552966594696, 0.409216046333313, -0.01583891548216343, -0.003110300749540329, 0.03825443983078003, 0.029280873015522957, 0.012065798975527287, -0.001026611658744514, -0.01478397287428379, -0.010701113380491734, 0.03474279120564461, -0.021109484136104584, 0.031454481184482574, -0.032290320843458176, 0.07622312754392624, -0.05269039422273636, 0.009377263486385345, 0.007874011062085629, 0.030696235597133636, 0.013623354956507683, -0.028781766071915627, 0.024291208013892174, 0.003624885343015194, -0.014707954600453377, 0.06660671532154083, -0.0001813933195080608, 0.017730385065078735, -0.000509059929754585, 0.053384359925985336, 0.06326896697282791, 0.041935067623853683, -0.00844749715179205, 0.022464333102107048, -0.04916824400424957, -0.025892173871397972, -0.008958990685641766, -0.011977861635386944, 0.021809974685311317, 0.031681109219789505, -0.039695966988801956, -0.010926907882094383, -0.004225439392030239, 0.002329364186152816, -0.0207427479326725, 0.06737817823886871, -0.02716122381389141, -0.008212234824895859, 0.08348271995782852, 0.023975100368261337, -0.03870052471756935, -0.054852813482284546, -0.07582321763038635, -0.018696485087275505, 0.024290304630994797, 0.018544552847743034, -0.06886116415262222, 0.014320573769509792, 0.03330070152878761, 0.03600034862756729, 0.03234338387846947, -0.031715091317892075, -0.020343173295259476, -0.004405918065458536, -0.032978836447000504, -0.006287630647420883, 0.03252699226140976, 0.024540940299630165, -0.09569478034973145, -0.024742914363741875, 0.0628938153386116, 0.02057824097573757, -0.08010334521532059, -0.019354648888111115, -0.017962785437703133, 0.0037593699526041746, -0.050954420119524, 0.012379265390336514, -0.03808993846178055, -0.020613376051187515, 0.013463186100125313, 0.05046142265200615, 0.04085730016231537, -0.007825539447367191, 0.005285752005875111, -0.030355537310242653, 0.012836857698857784, -0.02162719890475273, -0.10961465537548065, -0.07062036544084549, -0.0003896754060406238, -0.04323291406035423, -0.00701431417837739, -0.07985509186983109, -0.04693923145532608, -0.060418177396059036, 0.0814022421836853, 0.018464580178260803, -0.03919602930545807, 0.03527604416012764, 0.040571585297584534, -0.045210421085357666, -0.03512532636523247, 0.041029345244169235, 0.054165784269571304, -0.035466719418764114, 0.03968305140733719, -0.08596533536911011, 0.043470270931720734, 0.0018561568576842546, -0.03823608160018921, 0.065050408244133, 0.017442181706428528, -0.012104591354727745, 0.0010853970889002085, -0.011241278611123562, 0.019895298406481743, -0.04151427745819092, 0.007428756449371576, -0.017342202365398407, 0.01146473828703165, 0.030835585668683052, 0.022432606667280197, 0.012313551269471645, -0.02957812137901783, -0.01615048758685589, -0.36150655150413513, -0.05015500634908676, -0.013142524287104607, 0.0023881508968770504, 0.02499527297914028, -0.028760941699147224, 0.011758776381611824, -0.001299126772210002, -0.025115929543972015, -0.01241272408515215, 0.10550782084465027, -0.00755178602412343, -0.016175394877791405, -0.11194467544555664, -0.001166036119684577, 0.033740147948265076, -0.01912335678935051, -0.021314984187483788, -0.031167274340987206, 0.015074609778821468, 0.019772281870245934, -0.029723258689045906, -0.008746195584535599, -0.010594679042696953, 0.012058304622769356, -0.030168209224939346, 0.1007867157459259, -0.004965680651366711, 0.11392440646886826, -0.08818323165178299, 0.03744843974709511, 0.033627867698669434, 0.01568855158984661, -0.10799651592969894, -0.026955056935548782, 0.01587560586631298, 0.004950703587383032, -0.0017110094195231795, 0.03956431895494461, -0.0341351218521595, -0.10180681198835373, 0.039988067001104355, -0.05067416653037071, -0.07041933387517929, -0.03938606008887291, -0.005984042305499315, 0.00038186818710528314, -0.040415726602077484, -0.011267120018601418, 0.024490661919116974, 0.019259369000792503, 0.002980805467814207, 0.000830578850582242, 0.0344240702688694, 0.02796662040054798, -0.010954291559755802, -0.04612303897738457, 0.002894906559959054, 0.01294751837849617, 0.002607055241242051, 0.05493126064538956, 0.03526485711336136, -0.002375480020418763, -0.015087238512933254, 0.06037404388189316, 0.015907086431980133, -0.018838895484805107, -0.0031048699747771025, 0.061243753880262375, -0.039957474917173386, -0.021152783185243607, 0.08234041929244995, 0.0006248187855817378, 0.004631709773093462, 0.035338208079338074, 0.019382404163479805, -0.01207770500332117, 0.012239537201821804, 0.005360267125070095, 0.002811246318742633, 0.0913202166557312, -0.04780708625912666, 0.04000741243362427, -0.062320608645677567, -0.0038362948689609766, 0.07477161288261414, -0.011403871700167656, 0.03049158677458763, 0.07943522185087204, 0.006111641880124807, -0.020526258274912834, -0.007182125933468342, -0.011303952895104885, -0.03922056406736374, 0.05609709024429321, 0.022605763748288155, -0.24988433718681335, 0.02985485829412937, 0.01590435951948166, 0.04802478477358818, 0.026680845767259598, 0.022623788565397263, 0.0395866334438324, -0.02256041020154953, 0.01414694543927908, 0.024096496403217316, 0.016688335686922073, 0.028125910088419914, -0.00856824405491352, 0.003130024066194892, 0.05204391106963158, 0.017384983599185944, 0.02603502944111824, 0.03270330652594566, -0.012266097590327263, -0.03773217275738716, -0.0018618761096149683, -0.011901907622814178, 0.1419411450624466, 0.02223306894302368, 0.017921771854162216, 0.03450347110629082, -0.03503330796957016, 0.01508006639778614, 0.059258781373500824, 0.03486741706728935, 0.008006477728486061, -0.015032229945063591, 0.03366724029183388, -0.04331071302294731, 0.04575420543551445, -0.055560432374477386, 0.016516610980033875, 0.038265127688646317, 0.037617675960063934, -0.03530317544937134, -0.015499599277973175, 0.010441149584949017, -0.020599620416760445, 0.021006064489483833, 0.06760530918836594, -0.009825358167290688, -0.015080846846103668, -0.03596493601799011, -0.02903810888528824, 0.00044577030348591506, -0.02837018109858036, -0.020640475675463676, 0.01019824668765068, -0.004657880403101444, 0.00802445225417614, 0.06780321151018143, 0.026592280715703964, -0.019345341250300407, -0.015461981296539307, 0.026997528970241547, 0.027470186352729797, -0.03564263880252838, 0.08121069520711899, 0.029083024710416794, -0.0065656076185405254 ]
[ 0.04438379406929016, 0.017087986692786217, -0.012298427522182465, 0.033870138227939606, 0.021004315465688705, 0.029375996440649033, -0.0011247564107179642, 0.0036504468880593777, -0.004080166108906269, 0.04442271962761879, 0.0005925489822402596, 0.00846878346055746, 0.011511848308146, 0.0037800318095833063, 0.020507773384451866, -0.01683003269135952, 0.027147531509399414, -0.0049769156612455845, 0.021056562662124634, 0.029057567939162254, -0.016564277932047844, -0.022585852071642876, 0.024762868881225586, -0.01758641004562378, 0.004534430801868439, -0.031601499766111374, -0.03481572866439819, -0.02751723676919937, 0.009902258403599262, -0.12296287715435028, -0.007958834990859032, 0.02755463868379593, -0.02253875695168972, 0.0074271028861403465, 0.03874817118048668, 0.00782789383083582, 0.056363221257925034, 0.004126715008169413, -0.040855906903743744, 0.016249125823378563, 0.0396331325173378, -0.017178084701299667, -0.010731036774814129, -0.01441865786910057, -0.025595497339963913, -0.023388896137475967, -0.04193868115544319, 0.006775707937777042, 0.0033943885937333107, 0.015156740322709084, 0.0022760117426514626, 0.0024955959524959326, 0.018944332376122475, 0.030071159824728966, 0.048634130507707596, 0.02068025805056095, -0.004457687493413687, 0.013981420546770096, -0.011828887276351452, 0.01721261627972126, -0.01446711178869009, -0.013010245747864246, -0.039530325680971146, -0.037010081112384796, 0.03411302715539932, -0.056911859661340714, 0.018428442999720573, 0.03630317375063896, -0.01836859993636608, 0.0394001305103302, -0.052818216383457184, 0.011525790207087994, -0.04240256920456886, -0.01556307077407837, 0.016312578693032265, -0.00894212257117033, 0.006894070189446211, 0.04956036061048508, -0.003765448462218046, -0.020344113931059837, -0.08046005666255951, 0.002646902110427618, 0.007865944877266884, 0.03529137000441551, -0.04725290834903717, -0.029333123937249184, -0.028579168021678925, 0.03673071414232254, 0.020561257377266884, 0.0040023731999099255, -0.0021423071157187223, 0.016410091891884804, 0.014575711451470852, -0.013467002660036087, -0.08313676714897156, -0.01030418835580349, -0.04964220151305199, 0.019125906750559807, 0.03850022703409195, 0.7837631106376648, 0.001355839311145246, 0.011562416329979897, 0.03852146118879318, 0.03572028502821922, -0.012357469648122787, -0.003334377659484744, -0.018761498853564262, 0.015244840644299984, -0.003692794591188431, -0.04381996765732765, 0.027516383677721024, 0.014728862792253494, 0.01782681606709957, 0.007369259372353554, 0.011313535273075104, 0.027579642832279205, 0.022638604044914246, -0.026152174919843674, -0.006239552982151508, 0.06270861625671387, 0.03248009458184242, 0.02700423076748848, 0.021064769476652145, 0.04469064623117447, 0.00986828375607729, -0.20107680559158325, 0.026941295713186264, -6.424366092727691e-33, 0.04195829853415489, -0.0007620686083100736, 0.018894581124186516, -0.035584934055805206, 0.065101757645607, 0.006370829418301582, -0.02375606819987297, -0.013860977254807949, -0.04302925616502762, -0.018514467403292656, -0.03953045606613159, -0.019063465297222137, 0.005548030138015747, -0.032443225383758545, 0.03265726566314697, -0.037449777126312256, -0.016425391659140587, 0.02034357748925686, 0.01627350226044655, 0.013587801717221737, 0.0024258492048829794, 0.012029685080051422, -0.0002587522903922945, 0.0003859362914226949, 0.03731662780046463, 0.013336767442524433, 0.01557645108550787, 0.0144796222448349, 0.004925737623125315, -0.03505898267030716, 0.0019520572386682034, -0.009221920743584633, 0.007962713949382305, 0.010921861045062542, -0.05340813472867012, -0.03831537067890167, -0.04915294423699379, 0.022868512198328972, -0.07060002535581589, -0.03759586438536644, -0.00766654871404171, -0.013006472960114479, -0.014810093678534031, 0.0075662038289010525, -0.03771030902862549, -0.0317361019551754, 0.00011452182661741972, 0.024322688579559326, 0.017246749252080917, 0.009405585005879402, 0.04042796045541763, 0.0362388975918293, 0.01487379614263773, -0.022710148245096207, -0.0027735556941479445, 0.026433417573571205, 0.022792784497141838, -0.01675284281373024, -0.011594375595450401, 0.02920369617640972, 0.016300546005368233, -0.017201513051986694, -0.02304416336119175, 0.04536681994795799, 0.003215104341506958, -0.0028803059831261635, 0.03497050330042839, 0.020753152668476105, -0.031757842749357224, 0.025424404069781303, -0.07200930267572403, 0.01927242986857891, -0.0023480667732656, 0.0025340504944324493, 0.038588766008615494, 0.01287996768951416, -0.04084509611129761, 0.03341628611087799, 0.005087576806545258, 0.034212369471788406, -0.002414993243291974, -0.012034855782985687, -0.007801389321684837, -0.009404279291629791, -0.06345827132463455, -0.027230627834796906, -0.007133531384170055, 0.010046944953501225, -0.05211838334798813, -0.021588800475001335, 0.019367218017578125, -0.004469711799174547, 0.058122534304857254, -0.009086394682526588, -0.03153155744075775, 6.751331315776849e-33, -0.028343193233013153, 0.006422763224691153, 0.017690004780888557, 0.0006042176974005997, -0.0050562405958771706, 0.026049023494124413, 0.048330917954444885, -0.02518566884100437, -0.07170501351356506, 0.030398115515708923, 0.034266069531440735, 0.02075018547475338, -0.037236832082271576, 0.04209170490503311, 0.010929737240076065, 0.030049363151192665, 0.05651663616299629, 0.024598566815257072, 0.050774309784173965, -0.0503302700817585, 0.021245839074254036, -0.007159709930419922, -0.003978473134338856, 0.006128056440502405, -0.023679358884692192, 0.018033990636467934, 0.025156810879707336, -0.002981326309964061, -0.024375682696700096, -0.00060401571681723, 0.01451142504811287, -0.07191961258649826, -0.005319791845977306, -0.005854998715221882, 0.019236814230680466, 0.0195064228028059, -0.021070759743452072, 0.01640472188591957, -0.003948980011045933, -0.042682304978370667, 0.01733318157494068, 0.02917095273733139, -0.01754486747086048, 0.007001438178122044, -0.0033384724520146847, 0.0017602004809305072, -0.0474153570830822, -0.007538432255387306, 0.004457077011466026, -0.000928194320295006, -0.025715410709381104, 0.032308466732501984, 0.048624470829963684, 0.0031281199771910906, -0.011598687618970871, -0.009731967933475971, -0.019978422671556473, 0.0214335136115551, -0.014980453066527843, 0.024455131962895393, 0.0035666634794324636, 0.0421319454908371, 0.010033559054136276, 0.06285130977630615, 0.005302730482071638, -0.02396952174603939, -0.043855730444192886, -0.008318686857819557, -0.04351538047194481, 0.010608334094285965, -0.008319195359945297, 0.020961815491318703, -0.06224963441491127, 0.06548526883125305, 0.0033839549869298935, -0.005511357448995113, -0.0032038826029747725, -0.00374219729565084, -0.04964355006814003, 0.05606790632009506, 0.023922637104988098, -0.012977924197912216, -0.019335370510816574, 0.043913912028074265, -0.004565540701150894, 0.017540736123919487, -0.019393865019083023, 0.03167123720049858, 0.06742645800113678, 0.025191493332386017, -0.01733805052936077, -0.003364470787346363, -0.04556017369031906, 0.027711087837815285, -0.018023263663053513, -1.2038918306700452e-8, -0.029274504631757736, -0.04548247158527374, -0.02188814990222454, 0.01278844103217125, 0.035786960273981094, 0.0389411561191082, -0.04190567880868912, -0.027141841128468513, -0.06816352903842926, 0.01724890246987343, -0.03919946029782295, -0.050310418009757996, -0.004435480106621981, 0.03664104640483856, 0.03767804801464081, -0.06701558083295822, 0.015060599893331528, -0.017943767830729485, 0.02978496439754963, -0.021949104964733124, 0.03953968733549118, 0.04080875217914581, 0.013090896420180798, 0.004064856097102165, -0.01729436405003071, -0.03229726850986481, 0.006285808980464935, -0.060259196907281876, -0.003925176337361336, 0.001491809030994773, -0.0265052430331707, -0.0007628779858350754, -0.09755188226699829, 0.013598429970443249, -0.06284966319799423, -0.01809700019657612, 0.010415323078632355, -0.010342190973460674, 0.01769687794148922, 0.031024569645524025, -0.009064983576536179, 0.03158796578645706, 0.012344742193818092, -0.02540561929345131, 0.04837510734796524, -0.03699430078268051, -0.007986539974808693, -0.031181711703538895, -0.0006020049331709743, -0.023604104295372963, 0.061741143465042114, -0.0202028825879097, 0.012953251600265503, 0.026002725586295128, 0.020698189735412598, -0.002648308640345931, -0.035508036613464355, -0.045498985797166824, 0.03925773873925209, 0.03153171017765999, 0.025682270526885986, -0.04722702130675316, -0.002655048854649067, -0.0223153717815876 ]
fabric-tailing-log-files-on-multiple-machines
https://markhneedham.com/blog/2013/01/15/fabric-tailing-log-files-on-multiple-machines
false
2013-06-04 23:16:29
Ego Depletion
[ "software-development" ]
[ "Software Development" ]
On the recommendation of https://twitter.com/michael_jones[Mike Jones] I've been reading through Daniel Kahneman's http://www.amazon.co.uk/Thinking-Fast-Slow-Daniel-Kahneman/dp/0141033576/ref=sr_1_1?ie=UTF8&qid=1370274373&sr=8-1&keywords=thinking+fast+and+slow[Thinking Fast and Slow] in which the first part of the book covers our two styles of thinking: * *System 1* - operates automatically and quickly, with little or no effort and no sense of voluntary control. * *System 2* - allocates attention to the effortful mental activities that demand it, including complex computations. The operations of System 2 are often associated with the subjective experience of agency, choice, and concentration. He then uses a series of stories to explain this in more detail but I found an experiment run by Roy Baumeister the most interesting: ____ A series of surprising experiments [\...] has shown conclusively that all variants of voluntary effort - cognitive, emotional, or physical - draw at least partly on a shared pool of mental energy. Their experiments involve successive rather than simultaneous tasks. Baumeister's group has repeatedly found that an effort of will or self control is tiring; if you have had to force yourself to do something, you are less willing or less able to exert self-control when the next challenge comes around. The phenomenon has been named *ego depletion*. ____ This particularly resonates with me as I've frequently seen people (including myself) let a series of events involving another person to go by before finally snapping over something seemingly innocuous. Quite frequently the other person had no idea that the way they were behaving was irritating so the reaction comes as a surprise to them! We can get around this problem to some extent by http://www.markhneedham.com/blog/2013/05/23/feedback-reacting-immediately/[providing timely feedback] but in order for that to happen I think we need to admit to ourselves when we are frustrated rather than pretending that it doesn't bother us. It will probably feel silly to address these innocuous events so early on when we don't think they're bothering us that much but I think it's better than the explosive alternative!
null
null
[ 0.006954909302294254, 0.02633068524301052, -0.010069628246128559, 0.041598569601774216, 0.06357665359973907, 0.0340871661901474, 0.034600332379341125, 0.03313570097088814, 0.02626647986471653, -0.03150318190455437, -0.009273769333958626, 0.013419386930763721, -0.04346923157572746, -0.02044786885380745, -0.030220624059438705, 0.07765496522188187, 0.06135106459259987, 0.01713544875383377, 0.005123467650264502, -0.00331483269110322, 0.03852977231144905, 0.0829201489686966, 0.0538502000272274, 0.03767195716500282, 0.04929940029978752, 0.012304147705435753, 0.014060086570680141, -0.015195143409073353, -0.04967271164059639, -0.00021193147404119372, 0.030573109164834023, 0.025572240352630615, -0.018005739897489548, 0.005144861992448568, 0.023530656471848488, -0.007014434784650803, -0.024903027340769768, -0.002688629785552621, 0.0008746465900912881, 0.007719546556472778, -0.08683062344789505, 0.03560282662510872, -0.029269693419337273, -0.00040634398465044796, -0.054968468844890594, 0.008137653581798077, -0.045647211372852325, 0.0011540327686816454, -0.0075344364158809185, -0.02431548573076725, -0.06225992739200592, 0.04866481572389603, 0.022990776225924492, 0.005682250484824181, -0.02970711700618267, 0.04979546740651131, -0.010090556927025318, -0.0507277175784111, 0.002921168925240636, -0.06694100797176361, 0.006691085174679756, -0.004777697846293449, -0.0009239945793524384, 0.022483114153146744, 0.023747030645608902, -0.02771621197462082, 0.010516507551074028, 0.05158812552690506, -0.028613219037652016, 0.02437463402748108, -0.030786165967583656, 0.027761461213231087, -0.0020041342359036207, 0.015775008127093315, -0.011360527016222477, -0.06777312606573105, 0.0392179898917675, 0.046460919082164764, 0.019838005304336548, 0.03944256901741028, -0.0009599292534403503, 0.03983363136649132, 0.013179191388189793, 0.04036303982138634, -0.034748055040836334, -0.0412139818072319, 0.03300795704126358, -0.014879909344017506, -0.07495579868555069, 0.05843151733279228, 0.010353482328355312, -0.055102989077568054, 0.014871921390295029, 0.039861131459474564, -0.005687613505870104, 0.008046259172260761, 0.04512746259570122, -0.0036054090596735477, -0.04442794248461723, -0.021312030032277107, -0.016939513385295868, -0.04244043305516243, 0.004869095981121063, 0.019053321331739426, -0.07473493367433548, -0.018289802595973015, -0.009664013050496578, -0.0174939576536417, -0.004741215612739325, 0.01389404758810997, -0.02997468039393425, 0.021345851942896843, -0.026532035320997238, 0.0034009276423603296, -0.07945812493562698, 0.053970351815223694, 0.024888675659894943, -0.012149419635534286, 0.013871688395738602, 0.008260159753262997, 0.05085586756467819, 0.017548590898513794, -0.014215580187737942, 0.06262420862913132, 0.00809468049556017, 0.007936174049973488, -0.002421277342364192, 0.027457252144813538, -0.006267440505325794, -0.04535152390599251, 0.014226576313376427, 0.051519475877285004, -0.02510729804635048, -0.022006448358297348, -0.012534487061202526, -0.02011987380683422, 0.025506842881441116, 0.007234218064695597, 0.014315870590507984, 0.08919969946146011, 0.009940546937286854, -0.06483661383390427, 0.022226596251130104, 0.005029960069805384, 0.01667051389813423, -0.0074265641160309315, 0.0017474704654887319, -0.0021293004974722862, -0.047998227179050446, -0.02893594466149807, 0.01304558478295803, 0.010876554995775223, 0.022291310131549835, -0.019699953496456146, 0.021478842943906784, 0.07993316650390625, 0.04891878738999367, 0.021722279489040375, -0.0017307230737060308, 0.02155672386288643, 0.05670782923698425, 0.027028772979974747, 0.014685411006212234, 0.006303037982434034, 0.02742183953523636, -0.028673388063907623, -0.0039007726591080427, 0.06410578638315201, -0.022266728803515434, -0.006121206562966108, -0.04549634829163551, -0.03944581001996994, 0.04364452511072159, -0.03642508387565613, -0.017850633710622787, 0.03410173952579498, 0.05171583592891693, 0.04682858660817146, 0.04329190030694008, 0.018547918647527695, -0.0757477805018425, 0.03457758575677872, -0.0020218631252646446, 0.021354597061872482, 0.005032416898757219, -0.03357616439461708, 0.05144619569182396, 0.03984573483467102, -0.009044231846928596, 0.05583338066935539, -0.06565790623426437, -0.06810124218463898, -0.015308468602597713, -0.01581514999270439, 0.05379105731844902, -0.024395858868956566, 0.010692726820707321, 0.07098226249217987, 0.012777600437402725, 0.05935027450323105, 0.0073745655827224255, -0.016964541748166084, 0.008049776777625084, -0.022968020290136337, -0.039494190365076065, 0.06158694997429848, 0.03141309320926666, 0.008130923844873905, -0.02412649244070053, 0.0029004199896007776, -0.015834948047995567, -0.009959772229194641, 0.019907847046852112, -0.01480778492987156, 0.018524568527936935, 0.007275032810866833, 0.0618327334523201, 0.005236492957919836, 0.02199154533445835, -0.023864978924393654, -0.007144408766180277, 0.015331614762544632, -0.004737027920782566, 0.031865186989307404, 0.007249519228935242, 0.10873603075742722, 0.07407734543085098, -0.04717627167701721, -0.04424024373292923, 0.023418698459863663, 0.0022851743269711733, -0.03154337406158447, 0.006698060315102339, -0.011024313047528267, 0.0003018451388925314, 0.019964806735515594, -0.0491250604391098, -0.0377112440764904, 0.03179371356964111, -0.06115138158202171, -0.008589191362261772, 0.0443028062582016, -0.014696139842271805, 0.08631680905818939, -0.019834812730550766, -0.009605500847101212, 0.005441729910671711, -0.00041423345101065934, -0.06690586358308792, -0.010738750919699669, -0.02113242633640766, -0.0031300708651542664, 0.032740965485572815, -0.024131836369633675, -0.002950147492811084, -0.05160631239414215, -0.0242728590965271, 0.008694932796061039, 0.07350590825080872, 0.05500444024801254, -0.010024653747677803, 0.08872241526842117, -0.01277595479041338, 0.027651797980070114, -0.00123957684263587, -0.05219912901520729, -0.04207088425755501, -0.02256666123867035, 0.001633713487535715, 0.016829373314976692, 0.005325647071003914, -0.01069582812488079, 0.015328480862081051, 0.017344705760478973, -0.016805989667773247, 0.002157946117222309, 0.04910437390208244, 0.014463162049651146, -0.016431795433163643, -0.01608901470899582, -0.020055832341313362, 0.08187196403741837, -0.019874384626746178, 0.006908230949193239, 0.011966056190431118, -0.09754298627376556, 0.04337584227323532, -0.0446561798453331, -0.03891490772366524, -0.015152106061577797, 0.03001907281577587, 0.032691195607185364, 0.040415212512016296, 0.02164553664624691, 0.03882145136594772, 0.025065409019589424, 0.022707881405949593, 0.014124522916972637, 0.007055950816720724, 0.03744601085782051, 0.010479612275958061, -0.01889054663479328, 0.018793907016515732, 0.0012898261193186045, 0.013278195634484291, -0.032559700310230255, 0.03149735927581787, -0.01821775548160076, -0.27061927318573, 0.027726812288165092, 0.04265456646680832, -0.04305325075984001, 0.009304267354309559, -0.01782689243555069, 0.03375031799077988, -0.05513124167919159, -0.03755006566643715, 0.025312868878245354, -0.03698800504207611, -0.038442809134721756, -0.016376327723264694, 0.0646117776632309, 0.002083563944324851, -0.0034350149799138308, 0.020542141050100327, -0.056930169463157654, -0.01940484158694744, 0.0634283572435379, -0.013706406578421593, -0.063594289124012, -0.023906854912638664, 0.05002967268228531, 0.05469958484172821, 0.06590104848146439, -0.07235165685415268, 0.03740138188004494, -0.07095017284154892, 0.02578321099281311, -0.03258229047060013, 0.005355438683182001, 0.029068484902381897, -0.02801232598721981, 0.020973173901438713, -0.014017393812537193, 0.04811950400471687, -0.004097457975149155, 0.001990006072446704, 0.024069800972938538, -0.031899988651275635, -0.036322541534900665, 0.005368736106902361, 0.030827265232801437, 0.06466817855834961, 0.024625658988952637, -0.06922654062509537, -0.009162059053778648, -0.02080676518380642, 0.04691874235868454, -0.03247949853539467, -0.03817955031991005, -0.0213055070489645, 0.019038435071706772, -0.008670037612318993, -0.0033593049738556147, -0.0012506871717050672, -0.0354820154607296, -0.03954838216304779, -0.03752095252275467, 0.003359394147992134, -0.01249192375689745, -0.005535802338272333, -0.028043631464242935, -0.017749426886439323, -0.04994175210595131, -0.07263117283582687, -0.02805190160870552, 0.07440304011106491, 0.012334837578237057, -0.0342356376349926, 0.01582443155348301, -0.02336752414703369, -0.11577925086021423, -0.029011204838752747, 0.01627209410071373, -0.0486733540892601, 0.0025194603949785233, 0.01458775345236063, 0.06099829822778702, -0.03484269976615906, -0.06314041465520859, 0.007780378684401512, 0.006325808819383383, 0.045812495052814484, -0.02934839203953743, 0.028044013306498528, 0.008983894251286983, -0.013290629722177982, 0.0009327420848421752, 0.05701122432947159, 0.012199009768664837, -0.04773253574967384, -0.0401884987950325, 0.04260240122675896, 0.028064260259270668, 0.007037837523967028, -0.016491446644067764, 0.025006547570228577, 0.006967471446841955, -0.00029168205219320953, -0.05915936827659607, 0.027244335040450096, -0.01042818371206522, -0.025116676464676857, -0.0035740071907639503, -0.04959191754460335, 0.024868713691830635, 0.03830469772219658, 0.004210985265672207, 0.002121993573382497, -0.022099681198596954, 0.030527105554938316, -0.033009037375450134, -0.019329499453306198, -0.028766199946403503, 0.004521694499999285, 0.05785808339715004, -0.01847333088517189, 0.009659594856202602, -0.05775363743305206, 0.015263824723660946, -0.03312915936112404, -0.02783956192433834, -0.03821127489209175, 0.006567654199898243, -0.007113375701010227, -0.033522412180900574, 0.00039091118378564715, 0.03597190976142883, 0.0035785005893558264, 0.01293377485126257, 0.03424294292926788, -0.01583130843937397, 0.021049953997135162, -0.04910934716463089, -0.06959798187017441, -0.03301715478301048, 0.011393096297979355, -0.013774381950497627, -0.006021155044436455, -0.0003383547009434551, -0.0036072281654924154, 0.02313143014907837, 0.04419754445552826, 0.029881101101636887, 0.0026236942503601313, -0.037596479058265686, 0.02944902516901493, 0.002280977088958025, 0.028766188770532608, -0.04753369837999344, 0.006148342974483967, -0.02812761627137661, -0.021886419504880905, -0.010591818951070309, 0.025272194296121597, -0.027150573208928108, -0.021495796740055084, -0.011546251364052296, 0.0036566329654306173, -0.05946348235011101, -0.06109805777668953, -0.04471605643630028, 0.02574744261801243, 0.07510346174240112, -0.03452327102422714, 0.006979235913604498, 0.004419456236064434, -0.007118291221559048, 0.021881939843297005, -0.0036747357808053493, -0.041456758975982666, 0.004713859409093857, 0.001423647510819137, -0.0018591226544231176, -0.01080491952598095, -0.02944108285009861, 0.026099154725670815, -0.001075426465831697, -0.004888713359832764, -0.04030388221144676, 0.02385534718632698, -0.002818009117618203, 0.05472429096698761, 0.0117184454575181, -0.00027506714104674757, 0.008430560119450092, -0.031415026634931564, -0.027800217270851135, -0.04878322780132294, -0.0033040367998182774, -0.013158946298062801, -0.001299241790547967, -0.0233603548258543, -0.04598385468125343, 0.039652369916439056, -0.011852857656776905, -0.007154856808483601, 0.03147067874670029, 0.005186222493648529, -0.003626239951699972, -0.021324103698134422, 0.009505778551101685, 0.057916004210710526, -0.0684766098856926, -0.008126197382807732, -0.001835508388467133, -0.01650933548808098, 0.028795767575502396, -0.026021234691143036, -0.031419653445482254, -0.013977216556668282, -0.030113887041807175, 0.00867655873298645, -0.058582406491041183, -0.013168495148420334, -0.03971078246831894, -0.005937704350799322, 0.022665590047836304, 0.0075224097818136215, -0.004387699533253908, -0.04398327320814133, -0.015956692397594452, -0.007527305744588375, -0.008438190445303917, -0.038930829614400864, -0.01028368528932333, 0.031118711456656456, -0.03254202753305435, -0.026006430387496948, -0.0159288477152586, 0.006596600636839867, 0.02846389263868332, -0.052208151668310165, -0.0342756025493145, 0.002125705126672983, 0.011555389501154423, -0.011890586465597153, 0.02921239286661148, -0.010534247383475304, -0.02403654158115387, -0.05184630677103996, -0.0015160777838900685, -0.024847541004419327, 0.0107271084561944, -0.013938948512077332, -0.011043095029890537, 0.04724928364157677, 0.057571396231651306, 0.017659122124314308, 0.005874722730368376, -0.015389029867947102, -0.006503337528556585, 0.03941522166132927, -0.05294409766793251, -0.03418532758951187, -0.033528152853250504, -0.02836337499320507, -0.013254118151962757, 0.007633910048753023, 0.015925126150250435, -0.04117477685213089, 0.040582530200481415, 0.011711574159562588, 0.03471125662326813, 0.035127826035022736, 0.028096897527575493, 0.027209797874093056, -0.05754060670733452, 0.012667307630181313, -0.085799939930439, -0.047891002148389816, 0.010859709233045578, -0.003902298863977194, 0.017562441527843475, -0.0009496762650087476, -0.048493046313524246, 0.041874662041664124, -0.09869993478059769, -0.01689806766808033, 0.03925907239317894, -0.004380640108138323, -0.03322463110089302, 0.016692087054252625, -0.09076295793056488, -0.0014802529476583004, -0.009625539183616638, -0.04554294794797897, -0.036688849329948425, 0.0019247621530666947, 0.047160811722278595, 0.0004380629397928715, 0.01563331112265587, -0.04751336947083473, -0.00698517682030797, 0.06473065912723541, 0.016297100111842155, -0.01854448951780796, 0.030809273943305016, -0.004649670794606209, 0.0435720719397068, 0.02714395523071289, 0.046065013855695724, -0.009074350818991661, -0.010699559934437275, -0.00429082615301013, -0.06247890368103981, 0.0307694673538208, -0.02635616809129715, -0.017691083252429962, -0.04517512768507004, 0.05298659950494766, 0.02402336895465851, -0.016705840826034546, -0.04886890947818756, 0.017556702718138695, -0.043321430683135986, -0.01925092376768589, 0.017195269465446472, -0.0030243073124438524, -0.02538318745791912, 0.04768865182995796, -0.004220291040837765, 0.011987393721938133, 0.059861648827791214, -0.005894287955015898, -0.004943034145981073, 0.0035995838697999716, 0.11214983463287354, 0.08217988908290863, 0.07600364089012146, 0.016041569411754608, 0.10423494130373001, -0.0014096616068854928, -0.03353447839617729, 0.029461514204740524, 0.004202212672680616, -0.03777133673429489, -0.03329525515437126, 0.023444470018148422, 0.04731902852654457, -0.03313034772872925, 0.0648360326886177, -0.03498240187764168, -0.027288101613521576, -0.002619839971885085, 0.06714385002851486, 0.003702896647155285, 0.06037185341119766, 0.030115796253085136, 0.028114542365074158, -0.028746217489242554, -0.059456538408994675, 0.03347625583410263, -0.03330836817622185, -0.007529693190008402, 0.021937986835837364, -0.030813639983534813, 0.02051597647368908, 0.00900307297706604, 0.030652014538645744, 0.0807080939412117, -0.02113364078104496, 0.038899797946214676, 0.01029886957257986, 0.020605092868208885, -0.002246019197627902, 0.010729325003921986, -0.011419271118938923, -0.0064364406280219555, -0.016275448724627495, -0.0523751936852932, -0.03585537150502205, 0.004474896006286144, -0.015448758378624916, 0.02975977025926113, -0.040626127272844315, 0.008626904338598251, 0.022709570825099945, 0.00873975083231926, -0.056986067444086075, -0.050990473479032516, -0.02365298755466938, -0.022918615490198135, -0.03966797888278961, 0.009898969903588295, 0.02412222884595394, -0.0017540593398734927, -0.043854422867298126, -0.024714220315217972, 0.02304283156991005, -0.028200209140777588, 0.0294959619641304, -0.0631188228726387, -0.022353239357471466, 0.009558221325278282, 0.009700441733002663, 0.03057677485048771, -0.009200992994010448, 0.05944431200623512, 0.0013871340779587626, -0.0048604924231767654, -0.027404431253671646, 0.0055976370349526405, 0.029243800789117813, -0.00046507298247888684, 0.01452507171779871, -0.07613303512334824, -0.010858391411602497, 0.012856312096118927, -0.0447542630136013, -0.07070547342300415, 0.03573872521519661, 0.021549051627516747, 0.02765713259577751, 0.05613948032259941, -0.01649596355855465, 0.010063192807137966, -0.07962953299283981, -0.012774830684065819, 0.006800487171858549, -0.004043285269290209, 0.05994227156043053, -0.027888359501957893, 0.0792703852057457, 0.0082069868221879, -0.008608323521912098, -0.054034918546676636, -0.022376999258995056, 0.008206880651414394, -0.003767140442505479, -0.016035273671150208, -0.01761629618704319, -0.008488631807267666, -0.10263882577419281, -0.012117902748286724, 0.03794378787279129, -0.02730085887014866, -0.048097096383571625, 0.05120881274342537, 0.011109492741525173, -0.018800707533955574, 0.031015587970614433, -0.03596111014485359, -0.005021245218813419, -0.02138628624379635, -0.0012847143225371838, 0.019584592431783676, 0.015316064469516277, 0.009946216829121113, 0.006866586394608021, -0.009773272089660168, -0.04212263599038124, -0.004604770801961422, -0.00408031465485692, 0.020531291142106056, 0.04773671180009842, -0.002985004335641861, -0.020309779793024063 ]
[ -0.08438176661729813, 0.012448515743017197, -0.018295008689165115, 0.0030762949027121067, -0.009610416367650032, 0.028219126164913177, 0.04397386685013771, 0.0016837069997563958, 0.022384684532880783, -0.03077615238726139, 0.015687651932239532, -0.0158171858638525, -0.006813109386712313, 0.004650292918086052, 0.0757654681801796, 0.002167162485420704, -0.005984949413686991, -0.07540874928236008, -0.023801378905773163, 0.03213454782962799, 0.007355435285717249, -0.04247484728693962, -0.0326865017414093, -0.0017166035249829292, 0.0038682951126247644, -0.006867281626909971, 0.0575052872300148, -0.03802086040377617, -0.001755321747623384, -0.1540590226650238, 0.0284209456294775, -0.010410928167402744, 0.03943611681461334, -0.02890951931476593, -0.02952483296394348, 0.05320332199335098, -0.013586180284619331, 0.03779948875308037, -0.009790829382836819, 0.030599569901823997, 0.013158631511032581, 0.02664639800786972, -0.026837186887860298, 0.01133411843329668, 0.03203076869249344, 0.035312969237565994, 0.0009908260544762015, -0.02051505632698536, 0.0031119631603360176, -0.010852757841348648, -0.0739775076508522, -0.016985494643449783, -0.006939619779586792, 0.008452878333628178, 0.016717400401830673, 0.016106506809592247, 0.031483378261327744, 0.04278333857655525, 0.005399090237915516, 0.009346043691039085, 0.00567260105162859, -0.008082096464931965, -0.14672428369522095, 0.06670553237199783, 0.04774105176329613, 0.04477729648351669, -0.03853817284107208, -0.021810822188854218, -0.007126890122890472, 0.07031188160181046, -0.005599287338554859, 0.0006389623158611357, -0.006892602890729904, 0.021730685606598854, 0.035111766308546066, -0.004852248355746269, 0.008150069043040276, -0.0003834976232610643, 0.019001098349690437, -0.044380202889442444, 0.03997267410159111, 0.037312302738428116, -0.04315667599439621, -0.01718077063560486, -0.045747578144073486, 0.017062045633792877, -0.02378498949110508, 0.008307502605021, 0.0014416795456781983, 0.03233889862895012, -0.0036545516923069954, 0.007248192559927702, 0.0164602342993021, -0.010347395204007626, -0.056532472372055054, -0.01838376186788082, -0.020174996927380562, 0.0330209918320179, -0.06906400620937347, 0.443038672208786, -0.0057026962749660015, 0.048579681664705276, 0.0723591148853302, 0.041064679622650146, 0.004362413659691811, -0.010063600726425648, 0.010238914750516415, -0.08549568057060242, 0.00597993191331625, 0.0037478958256542683, 0.046234484761953354, 0.005495531018823385, 0.08175981044769287, -0.03264692798256874, 0.02208702638745308, 0.03335822746157646, 0.08548760414123535, 0.004637930076569319, 0.008312021382153034, -0.021675890311598778, -0.03190259262919426, 0.02628212235867977, 0.040887199342250824, -0.025547048076987267, -0.03289281576871872, -0.10141241550445557, 0.01179978996515274, 0.09452013671398163, 0.01430389191955328, -0.06362957507371902, 0.07291601598262787, -0.05915658175945282, -0.036656703799963, 0.008905556984245777, -0.008105301298201084, -0.005604311358183622, 0.0381852462887764, -0.011295772157609463, 0.04585712403059006, 0.021024517714977264, 0.033027533441782, -0.00720878504216671, -0.0040743970312178135, -0.07395391166210175, -0.03144748508930206, 0.1266375035047531, 0.06164843216538429, -0.06987719982862473, -0.0015900498256087303, 0.018879685550928116, 0.005443866364657879, 0.008834417909383774, -0.011314797215163708, -0.06558443605899811, 0.007574381306767464, -0.0038850971031934023, 0.08040660619735718, 0.012144863605499268, -0.04996972158551216, 0.0015166883822530508, -0.021926509216427803, 0.010831371881067753, -0.06697787344455719, 0.04970059543848038, 0.08484028279781342, -0.029471859335899353, -0.03788892924785614, -0.02981036715209484, 0.004201156552881002, -0.07396777719259262, 0.011516023427248001, -0.01997707411646843, -0.043639373034238815, 0.028467921540141106, 0.05566499009728432, -0.02222084254026413, -0.027880774810910225, 0.00834404956549406, 0.023155884817242622, 0.03101629950106144, 0.0357128344476223, -0.01913652941584587, -0.02410431206226349, -0.01082492247223854, -0.03606653958559036, -0.0605657696723938, -0.03011934645473957, -0.034669894725084305, -0.002162638120353222, 0.0063020652160048485, 0.007033458910882473, -0.03266693279147148, -0.08644045144319534, 0.0777205303311348, -0.06835277378559113, -0.05796986445784569, 0.010811345651745796, -0.005627344828099012, -0.07409944385290146, -0.006820477079600096, -0.08994191139936447, 0.0037333520594984293, -0.023010795935988426, 0.0138034513220191, -0.015896478667855263, 0.035409461706876755, 0.0197175070643425, -0.04113646596670151, 0.12514758110046387, 0.04319436848163605, -0.01156158372759819, -0.03936522826552391, -0.0032050167210400105, 0.03817446529865265, -0.003216872690245509, 0.00797746516764164, -0.016197718679904938, -0.005133536644279957, 0.004222942516207695, 0.0042474232614040375, -0.012737959623336792, -0.036942679435014725, -0.041407421231269836, -0.3219788670539856, -0.03806433454155922, -0.019425909966230392, -0.008576203137636185, 0.04089013487100601, -0.0560760423541069, 0.0033207950182259083, -0.011047697626054287, 0.001413052319549024, -0.00026448050630278885, 0.03157315030694008, -0.0174709465354681, -0.015110687352716923, -0.037348851561546326, 0.022867199033498764, 0.01081622950732708, -0.04749689996242523, -0.02592587098479271, -0.04297685623168945, 0.013279996812343597, 0.015443632379174232, 0.030941607430577278, -0.0035190742928534746, -0.0436897836625576, -0.030059030279517174, -0.03657963499426842, 0.10410451143980026, 0.046125613152980804, 0.06524160504341125, 0.005770423449575901, 0.013847076334059238, 0.01638682559132576, 0.04000193625688553, -0.11169438064098358, -0.008152788504958153, -0.02634243853390217, 0.014124582521617413, -0.05931549519300461, 0.0076858350075781345, -0.03749605640769005, -0.11097642779350281, 0.02289898507297039, -0.04712393134832382, -0.006788960192352533, -0.11179377138614655, 0.0229411069303751, -0.008450988680124283, -0.021770507097244263, -0.02866004779934883, 0.04653267189860344, 0.047604333609342575, 0.004056536126881838, -0.006277010310441256, -0.022467823699116707, -0.007541258819401264, -0.023878231644630432, -0.1078784391283989, 0.013284120708703995, -0.04649420082569122, 0.014592677354812622, -0.013930067420005798, 0.07103660702705383, 0.03942061588168144, -0.04764191806316376, -0.010618939995765686, 0.010092804208397865, -0.0052757421508431435, -0.011985575780272484, 0.03651139885187149, 0.009861008264124393, -0.0007237602840177715, 0.11071040481328964, -0.025137096643447876, -0.021580766886472702, 0.04456542804837227, 0.01490079890936613, -0.023275375366210938, 0.02773636393249035, -0.01692182570695877, 0.005631688050925732, 0.02129378542304039, -0.02363625168800354, 0.02682320587337017, -0.021387232467532158, -0.031961340457201004, -0.02814270369708538, -0.021045899018645287, -0.052036020904779434, 0.07452142238616943, 0.02842402644455433, -0.02215895801782608, 0.031162960454821587, -0.03942412883043289, -0.0696563720703125, 0.08683543652296066, -0.00038487702840939164, -0.24689717590808868, 0.024826301261782646, 0.05786588415503502, 0.05562340095639229, 0.0027346524875611067, 0.07023584097623825, 0.032651882618665695, -0.0038543662521988153, 0.014838775619864464, 0.02245461568236351, 0.022577030584216118, 0.011183470487594604, 0.029497457668185234, 0.04907021299004555, 0.0042532337829470634, -0.028739558532834053, 0.02842658758163452, -0.002161154057830572, 0.023884369060397148, 0.00833060871809721, 0.019728126004338264, 0.012013771571218967, 0.1236293613910675, 0.025462724268436432, 0.011308664456009865, 0.034495189785957336, 0.020368486642837524, -0.009610829874873161, 0.04812091961503029, -0.028047403320670128, 0.006444011814892292, 0.017714472487568855, 0.003967652563005686, -0.010015121661126614, 0.04010201245546341, -0.07545091956853867, -0.05179671570658684, 0.021221617236733437, 0.04545353725552559, -0.007638234179466963, 0.02061931975185871, 0.006049779709428549, 0.011220084503293037, 0.020893588662147522, 0.08807205408811569, -0.006652576383203268, -0.015160271897912025, -0.04096723347902298, -0.05488422513008118, 0.013241424225270748, -0.011326245032250881, -0.04078622907400131, 0.0206834077835083, 0.02384696528315544, 0.046420108526945114, 0.047165028750896454, 0.039129357784986496, -0.02297603338956833, 0.022192802280187607, -0.030040455982089043, -0.044967371970415115, 0.005893662106245756, 0.13032805919647217, 0.03292170539498329, 0.024739501997828484 ]
[ -0.0031142926309257746, -0.003755848854780197, 0.007563818246126175, 0.03681651130318642, 0.012546955607831478, -0.004078918602317572, 0.017254576086997986, 0.00019248439639341086, 0.024129459634423256, 0.009821814484894276, 0.00487378379330039, 0.002204920630902052, -0.0021781534887850285, -0.014630118384957314, 0.022356607019901276, -0.03102651797235012, 0.04895574599504471, -0.017235733568668365, 0.02457292005419731, 0.02436728961765766, -0.02175343967974186, -0.008054099045693874, 0.015363054350018501, 0.0018444182351231575, -0.02414858154952526, 0.030405396595597267, -0.010251062922179699, -0.026862772181630135, 0.03501225635409355, -0.1438993513584137, -0.012582425028085709, -0.04534020647406578, -0.006435365881770849, -0.012277903966605663, -0.00029162608552724123, -0.0008421593229286373, 0.013399734161794186, 0.011477187275886536, 0.024160966277122498, -0.008760028518736362, 0.010401785373687744, -0.039736662060022354, 0.00652875704690814, -0.00892034824937582, 0.0043915025889873505, 0.012100829742848873, 0.014394737780094147, -0.02926342748105526, -0.011992651037871838, -0.04470524564385414, -0.04312560334801674, 0.010773702524602413, -0.002640007995069027, 0.0015404187142848969, 0.034033000469207764, 0.01103237085044384, 0.02722993493080139, 0.02241641841828823, -0.021354038268327713, -0.005567082203924656, 0.003784440690651536, -0.02534652128815651, -0.04841960221529007, -0.012193744070827961, 0.0052250144071877, 0.012153799645602703, -0.001299445517361164, 0.01765451207756996, -0.034729816019535065, -0.0006262991228140891, 0.005513565614819527, -0.006533593405038118, -0.021702894940972328, -0.029864192008972168, 0.04660552740097046, -0.022243496030569077, -0.006576969753950834, -0.01411421224474907, 0.003331018378958106, -0.016034696251153946, -0.043306369334459305, 0.019165730103850365, 0.03592755272984505, -0.012203200720250607, -0.01885225810110569, -0.00023154971131589264, 0.0017335156444460154, -0.012990041635930538, 0.018435023725032806, -0.005496117752045393, 0.008718046359717846, 0.007748399395495653, -0.00031467556254938245, -0.01038898155093193, -0.06865592300891876, -0.007338473107665777, -0.01488849800080061, -0.009098229929804802, -0.02227426879107952, 0.856842577457428, -0.003907585050910711, 0.03448329493403435, 0.0382252000272274, 0.04432258754968643, 0.04048682749271393, 0.0001857909228419885, 0.004620527382940054, 0.014501974917948246, -0.011319681070744991, -0.015825064852833748, -0.00415767589583993, 0.009265492670238018, 0.02474312297999859, 0.04470318555831909, 0.02141653187572956, 0.013165375217795372, 0.003259363118559122, 0.02287297137081623, 0.021353308111429214, 0.025314994156360626, 0.04782044515013695, 0.01900302618741989, 0.009050372056663036, 0.012758570723235607, 0.017808811739087105, -0.14929930865764618, -0.01551658846437931, -8.491100423876267e-33, 0.021581629291176796, -0.019403785467147827, 0.02625281922519207, -0.013702774420380592, -0.0195467509329319, -0.017178969457745552, 0.007112620864063501, 0.01705653965473175, 0.01725160703063011, -0.018146328628063202, -0.0003717356885317713, -0.02571699768304825, 0.011827425099909306, 0.0027289309073239565, 0.047841593623161316, -0.021501483395695686, -0.02061663381755352, 0.0210335124284029, 0.007473023142665625, 0.0020211138762533665, 0.030625639483332634, 0.03371525928378105, -0.016642777249217033, -0.011478985659778118, 0.03406063839793205, 0.019788844510912895, -0.006453538313508034, 0.006389755290001631, 0.0038724737241864204, -0.03525878116488457, -0.047957323491573334, 0.04687337204813957, -0.04360199719667435, -0.029332268983125687, -0.013119908981025219, -0.029760140925645828, -0.00962692592293024, 0.024213524535298347, -0.010186435654759407, -0.031117120757699013, -0.027546819299459457, 0.020050048828125, -0.0426250584423542, -0.010069673880934715, -0.042278390377759933, -0.009051576256752014, 0.0163552388548851, 0.008155020885169506, 0.02368069440126419, 0.002036210149526596, 0.002286684000864625, 0.0007027024985291064, 0.00564579339697957, -0.008016667328774929, -0.00891193374991417, -0.022299213334918022, 0.02063874900341034, 0.007308027241379023, -0.016397975385189056, 0.026772163808345795, 0.02739422209560871, -0.008612440899014473, -0.03208286687731743, 0.03275563195347786, 0.01661428064107895, -0.00265900744125247, -0.033384524285793304, 0.0015006964094936848, 0.007480003405362368, -0.011382388882339, -0.045418210327625275, -0.018963338807225227, -0.0004279320710338652, -0.006480190437287092, 0.02201099880039692, -0.023957189172506332, -0.02466542273759842, 0.004677170887589455, -0.03989681228995323, 0.033356036990880966, -0.005001440644264221, -0.00371312303468585, -0.017834564670920372, -0.03428777679800987, 0.006622467655688524, 0.0049956729635596275, 0.0026298831216990948, -0.029637476429343224, -0.02386077679693699, -0.0023783580400049686, 0.008022736757993698, 0.020119842141866684, -0.005434607155621052, 0.017450880259275436, -0.04151153564453125, 8.501923053427494e-33, 0.011689415201544762, -0.040706753730773926, -0.009618433192372322, 0.012997966259717941, 0.04436676204204559, 0.021609870716929436, -0.019997023046016693, -0.014977282844483852, -0.04062758386135101, 0.016671037301421165, -0.03564060479402542, -0.0032064467668533325, -0.014947442337870598, 0.03838928043842316, 0.04073748737573624, -0.042054541409015656, 0.016836589202284813, -0.024452103301882744, 0.02518082596361637, 0.011765629053115845, 0.004691938869655132, 0.0014277850277721882, -0.005318586248904467, -0.022829929366707802, 0.027513669803738594, 0.03135596215724945, -0.005523528903722763, 0.02791270613670349, -0.0099896639585495, 0.0011047451989725232, -0.036265019327402115, -0.005849093198776245, -0.0024196768645197153, -0.016143588349223137, 0.004030677955597639, 0.03146502748131752, -0.01607300341129303, -0.014407278969883919, -0.030718086287379265, -0.011498947627842426, 0.006136077456176281, -0.009390986524522305, 0.013969741761684418, 0.04979652538895607, 0.047148529440164566, 0.024856150150299072, -0.005683906376361847, -0.020754992961883545, -0.04481648653745651, 0.053976383060216904, 0.007901703007519245, -0.0024621791671961546, -0.000740030431188643, 0.01977270096540451, 0.0015503651229664683, -0.01986216939985752, -0.002557794563472271, -0.011802991852164268, 0.003017856739461422, 0.01011969055980444, -0.03165615350008011, 0.023712096735835075, -0.030652329325675964, 0.010230361483991146, 0.006813117302954197, -0.010738546960055828, 0.007058960851281881, -0.0013890375848859549, 0.03416174650192261, -0.0032463110983371735, -0.0022962684743106365, -0.005432272329926491, -0.005000122357159853, 0.03253064677119255, 0.025373894721269608, -0.016539260745048523, -0.008682326413691044, 0.03644558787345886, -0.030118070542812347, -0.004911909811198711, 0.017654359340667725, 0.012663076631724834, 0.030708886682987213, -0.02079141139984131, -0.030014725401997566, 0.038523390889167786, -0.005103813484311104, 0.008305235765874386, -0.015486715361475945, 0.00417105620726943, 0.01638312079012394, -0.01450161263346672, 0.026152905076742172, 0.05097484961152077, -0.020708654075860977, -1.369352276014979e-8, 0.020082909613847733, -0.014184814877808094, 0.01644320785999298, 0.016993055120110512, 0.017559902742505074, 0.03884263336658478, -0.0246121846139431, -0.018657153472304344, -0.06596191227436066, 0.04314626008272171, 0.052998289465904236, -0.001554350834339857, 0.02444581501185894, 0.007528282236307859, 0.014122351072728634, -0.061747416853904724, -0.025524530559778214, -0.019934382289648056, 0.026852263137698174, 0.031835366040468216, 0.03657420352101326, 0.04708684980869293, -0.020625952631235123, -0.025976302102208138, 0.003403971204534173, -0.015413889661431313, -0.017548730596899986, -0.08080735057592392, -0.028819214552640915, -0.0006828978657722473, -0.008314883336424828, -0.014516903087496758, -0.030871201306581497, 0.04173994064331055, -0.011790336109697819, -0.07717796415090561, -0.002530630212277174, 0.029480256140232086, 0.012237155809998512, -0.0011913352645933628, 0.011767969466745853, 0.012799268588423729, 0.0017831214936450124, -0.01512856688350439, -0.0148478914052248, 0.013134847395122051, -0.04399607703089714, -0.015487710945308208, 0.05155499652028084, -0.033952247351408005, -0.004029814153909683, 0.01661299169063568, 0.028021667152643204, 0.023391835391521454, 0.006241594906896353, 0.03464621677994728, -0.0025557137560099363, -0.01038377545773983, -0.0635218471288681, -0.0057445550337433815, 0.026201194152235985, 0.04487871751189232, -0.032379478216171265, -0.027870405465364456 ]
ego-depletion
https://markhneedham.com/blog/2013/06/04/ego-depletion
false
2013-06-20 06:31:11
neo4j/cypher: CREATE with optional properties
[ "neo4j" ]
[ "neo4j" ]
I've written before about using the http://docs.neo4j.org/chunked/milestone/query-create.html[cypher CREATE statement] to http://www.markhneedham.com/blog/2013/05/25/neo4jcypher-properties-or-relationships-its-easy-to-switch/[add inferred information to a neo4j graph] and sometimes we want to do that but have to deal with optional properties while creating our new relationships. For example let's say we have the following people in our graph with the 'started' and 'left' properties representing their tenure at a company: [source,cypher] ---- CREATE (person1 { personId: 1, started: 1361708546 }) CREATE (person2 { personId: 2, started: 1361708546, left: 1371708646 }) CREATE (company { companyId: 1 }) ---- We want to create a 'TENURE' link from them to the company including the 'started' and 'left' properties when applicable and might start with the following query: [source,cypher] ---- START person = node:node_auto_index('personId:1 personId:2'), company = node:node_auto_index('companyId:1') CREATE person-[:TENURE_AT { started: person.started, left: person.left }]-company RETURN person, company ---- which throws an exception because not all people have a 'left' property: [source,text] ---- Error: org.neo4j.cypher.EntityNotFoundException: The property 'left' does not exist on Node[1] ---- We tweak our query a bit to make the property optional: [source,cypher] ---- START person = node:node_auto_index('personId:1 personId:2'), company = node:node_auto_index('companyId:1') CREATE person-[:TENURE_AT { started: person.started, left: person.left? }]-company RETURN person, company ---- which still doesn't work: [source,text] ---- Error: java.lang.IllegalArgumentException: Null parameter, key=left, value=null ---- After looking at this for a while https://twitter.com/apcj[Alistair] pointed out that we should just split the updating of the optional property from the creation of the relationship so we end up with the following: [source,cypher] ---- START person = node:node_auto_index('personId:1 personId:2'), company = node:node_auto_index('companyId:1') CREATE person-[tenure:TENURE_AT { started: person.started }]-company WITH person, tenure, company WHERE HAS(person.left) SET tenure.left = person.left RETURN person, company ---- The http://console.neo4j.org/?id=gdbpuv[code is on the console] if you want to see how it works.
null
null
[ 0.003263861872255802, -0.021772151812911034, -0.02017856389284134, 0.038978297263383865, 0.0929679274559021, -0.013076969422399998, 0.03308747336268425, 0.016170712187886238, 0.014087946154177189, -0.02345902845263481, -0.045265574008226395, 0.007875154726207256, -0.06276526302099228, 0.03443319350481033, 0.0009646527469158173, 0.05657607316970825, 0.04984414577484131, 0.025486567988991737, -0.0019708233885467052, -0.04643259942531586, 0.013834559358656406, 0.0661003589630127, -0.01280028373003006, 0.03949010372161865, 0.08150317519903183, -0.002861645305529237, -0.009356257505714893, 0.002024688757956028, -0.037406787276268005, -0.00040273688500747085, 0.03841825947165489, 0.0034765165764838457, 0.0010062188375741243, -0.015161173418164253, 0.03236844390630722, -0.010116751305758953, -0.05786750465631485, -0.012796751223504543, -0.02504321187734604, -0.009466415271162987, -0.049903273582458496, 0.04614096134901047, -0.01474296860396862, 0.026076236739754677, -0.0252341590821743, 0.009197584353387356, -0.05497896298766136, 0.03193284198641777, 0.010944926179945469, 0.0015310777816921473, -0.08944690972566605, 0.02468123473227024, -0.008592743426561356, 0.011451524682343006, 0.01595289446413517, 0.030410461127758026, 0.025469044223427773, -0.07714186608791351, 0.06824508309364319, -0.013376852497458458, 0.019207246601581573, -0.02455361932516098, 0.0027287050615996122, 0.03955546021461487, -0.012574011459946632, -0.06538616865873337, 0.0050234245136380196, 0.056021641939878464, -0.07769180089235306, -0.0056159887462854385, -0.014779411256313324, -0.002729991218075156, -0.014123470522463322, 0.0030538502614945173, -0.010906781069934368, -0.05529263615608215, -0.005778290797024965, 0.06134148687124252, 0.03105049766600132, 0.060602881014347076, -0.004020569380372763, 0.025049475952982903, 0.0029013704042881727, 0.011432324536144733, -0.019347624853253365, -0.023690054193139076, -0.013306993059813976, -0.020364433526992798, -0.04044900834560394, 0.02720995992422104, 0.02518640272319317, -0.053158488124608994, -0.015211503021419048, -0.009038231335580349, -0.04226474463939667, 0.0010221181437373161, -0.004626826383173466, 0.013914112001657486, 0.019509820267558098, 0.008807714097201824, -0.013536122627556324, -0.008126682601869106, -0.013530366122722626, 0.022096101194620132, -0.07156048715114594, -0.033417779952287674, -0.02509911172091961, -0.021934054791927338, 0.005232567433267832, -0.009648890234529972, -0.04579576104879379, 0.009714332409203053, -0.0035202819854021072, 0.02324245125055313, -0.08244393020868301, 0.057597629725933075, 0.019335700199007988, -0.0037337567191570997, -0.033378079533576965, 0.012721979059278965, 0.03718180954456329, -0.004964006133377552, 0.003058018395677209, 0.08158831298351288, -0.007480716798454523, 0.02980659529566765, -0.009828380309045315, 0.059507131576538086, -0.009297420270740986, -0.08692488074302673, -0.035146214067935944, 0.051749054342508316, 0.018804095685482025, -0.0065845465287566185, 0.005289112683385611, -0.03054879419505596, 0.006836945656687021, 0.029683345928788185, 0.06319581717252731, 0.011836233548820019, -0.005385269410908222, -0.046903349459171295, 0.05274585261940956, 0.004844396375119686, 0.02358921431005001, 0.008070702664554119, -0.014815645292401314, -0.02914949506521225, -0.035307981073856354, 0.018690666183829308, 0.020877765491604805, 0.03597872704267502, 0.06141113117337227, -0.016721008345484734, -0.014886729419231415, 0.11286129057407379, 0.0321442149579525, 0.020357701927423477, -0.009994695894420147, 0.023140452802181244, 0.05436674878001213, 0.01843709498643875, 0.009362518787384033, 0.063142791390419, 0.011484835296869278, -0.006391618400812149, -0.005909244529902935, 0.053905047476291656, -0.005831156391650438, -0.004444627556949854, -0.032908979803323746, -0.05695493146777153, 0.04097659885883331, -0.06372543424367905, -0.009563982486724854, 0.06014682352542877, 0.05475883558392525, -0.005389925558120012, 0.02242085710167885, 0.012345552444458008, -0.07108497619628906, 0.055690813809633255, -0.013965555466711521, -0.011683503165841103, 0.005041817203164101, 0.019307877868413925, 0.06324245780706406, 0.04049775376915932, 0.0013129316503182054, 0.018095897510647774, -0.09036511927843094, -0.06476263701915741, 0.003103822935372591, -0.02031903900206089, 0.061392150819301605, -0.009315893985331059, 0.014327754266560078, 0.047299426048994064, -0.0024089899379760027, 0.04108135402202606, 0.013233687728643417, -0.010759362950921059, 0.025169633328914642, -0.046473924070596695, -0.055281419306993484, 0.057105641812086105, 0.014533033594489098, -0.05611514672636986, -0.03165083006024361, 0.03280678391456604, -0.006666055880486965, 0.016323508694767952, 0.04412246122956276, -0.0211192574352026, 0.04071450233459473, -0.01497722789645195, 0.013250828720629215, -0.016017252579331398, 0.029269570484757423, -0.03583471477031708, 0.03142593055963516, 0.02595895156264305, -0.020852643996477127, 0.014568350277841091, -0.017211301252245903, 0.10790888220071793, 0.04799510911107063, -0.02947455272078514, -0.026488834992051125, 0.05679583549499512, 0.023114705458283424, -0.006513503380119801, 0.03983978182077408, -0.03839825093746185, 0.017405256628990173, 0.005383088253438473, -0.006053528282791376, -0.025493696331977844, 0.00962498877197504, -0.024429475888609886, 0.029689250513911247, 0.0617140531539917, -0.048081740736961365, 0.06310920417308807, 0.0011632587993517518, -0.006016551982611418, 0.012018718756735325, -0.04720543324947357, -0.04682444408535957, 0.03828161954879761, -0.003799065249040723, -0.015577176585793495, 0.07677805423736572, -0.01447581872344017, -0.01912515237927437, -0.036645498126745224, -0.023386569693684578, 0.043047547340393066, 0.029103782027959824, 0.05186454579234123, -0.02576054260134697, 0.0511355921626091, -0.04066171869635582, -0.005143987946212292, -0.007299825549125671, -0.05935732275247574, -0.03284340351819992, -0.009377292357385159, 0.02128523588180542, -0.0011199049185961485, 0.014269336126744747, -0.03580567240715027, 0.03060237504541874, -0.017391985282301903, 0.007784686051309109, -0.003543913597241044, 0.02992521971464157, 0.0006085626664571464, 0.00643049506470561, -0.04762732610106468, -0.030304348096251488, 0.032494042068719864, -0.05937489494681358, -0.06781677156686783, -0.008038652129471302, -0.056904733180999756, 0.02621641755104065, -0.057283371686935425, -0.04356240853667259, 0.012212974950671196, 0.019036393612623215, 0.043143972754478455, -0.00010754518734756857, 0.024929048493504524, 0.09296286106109619, 0.024607878178358078, 0.003620144445449114, 0.02625455893576145, 0.002934771589934826, 0.04500962421298027, -0.012283897958695889, 0.03477488458156586, 0.028598597273230553, -0.031769320368766785, 0.01137723308056593, 0.010044164024293423, -0.00843563862144947, -0.012208242900669575, -0.26960253715515137, 0.05080626532435417, -0.02915988676249981, -0.07035399228334427, 0.01685219630599022, -0.037711042910814285, 0.014995016157627106, -0.01851046085357666, -0.032497793436050415, 0.03350220248103142, -0.010797180235385895, -0.05939485877752304, -0.00014967551396694034, 0.027366040274500847, 0.01880349963903427, 0.022027770057320595, 0.00033508683554828167, -0.06463780254125595, -0.008567405864596367, 0.03874945640563965, -0.01592443324625492, -0.018164275214076042, -0.016158409416675568, 0.0033791966270655394, 0.016685565933585167, 0.04294012859463692, -0.08226807415485382, 0.043906137347221375, -0.06675703078508377, -0.03648652881383896, -0.003687771502882242, -0.025807714089751244, 0.015493255108594894, 0.001029046019539237, -0.018792489543557167, -0.03401397913694382, 0.043055128306150436, -0.004707197193056345, 0.00779288774356246, 0.0314275361597538, -0.059038881212472916, -0.07087132334709167, -0.0077221933752298355, 0.01179512869566679, 0.05909804254770279, -0.013153781183063984, -0.07920867204666138, -0.02566920407116413, -0.026953907683491707, 0.04773569479584694, -0.04225855693221092, -0.013062354177236557, 0.020599795505404472, -0.0033148739021271467, -0.012386215850710869, -0.01675383187830448, -0.003678201697766781, -0.002700842684134841, -0.0705375149846077, -0.023125676438212395, 0.003217254299670458, -0.03242398425936699, 0.02942805178463459, -0.04452640935778618, -0.00014217825082596391, -0.05101936310529709, -0.06367773562669754, -0.03426819667220116, 0.05380900576710701, 0.013329166918992996, -0.017640672624111176, 0.040135812014341354, 0.007081462536007166, -0.11520721018314362, -0.032011862844228745, -0.042115725576877594, 0.011334661394357681, -0.01407331321388483, -0.025924261659383774, 0.02591973915696144, -0.024365456774830818, -0.03344712406396866, 0.006708870641887188, 0.03857218846678734, 0.0031617635395377874, 0.015328992158174515, 0.02079920843243599, -0.021170876920223236, -0.03794707730412483, 0.008874763734638691, 0.05561661347746849, -0.0034534132573753595, -0.014671066775918007, 0.0012893452076241374, -0.007516252342611551, 0.03432677686214447, 0.006834007799625397, -0.030269233509898186, 0.011903568170964718, 0.04174601286649704, 0.06071001663804054, -0.021159380674362183, 0.019716644659638405, -0.0022931715939193964, -0.02102457918226719, 0.00993518065661192, -0.04443518444895744, 0.017496421933174133, 0.02741554006934166, 0.036454927176237106, -0.012372472323477268, 0.003676683409139514, -0.009454754181206226, -0.04205194115638733, -0.029118770733475685, -0.011925931088626385, -0.000931123155169189, 0.034240927547216415, 0.05272041633725166, -0.032016292214393616, -0.08510374277830124, 0.03218774124979973, 0.03643474355340004, -0.027943985536694527, -0.06779853999614716, -0.024543745443224907, -0.02698017656803131, -0.02369079366326332, -0.008126343600451946, 0.015837039798498154, -0.03187184035778046, 0.026433002203702927, 0.011740928515791893, -0.0013105375692248344, 0.028098201379179955, -0.009812633506953716, -0.026547061279416084, -0.03758229315280914, -0.0033411828335374594, -0.019757872447371483, -0.029047878459095955, -0.0022465521469712257, -0.017689334228634834, 0.048598725348711014, 0.03996745124459267, 0.001354991807602346, 0.014805993065237999, 0.011170401237905025, 0.02424495667219162, 0.017778147011995316, -0.01831933669745922, -0.027964914217591286, 0.036232247948646545, -0.038499243557453156, -0.0395946204662323, -0.028239039704203606, 0.0437350831925869, -0.0277134720236063, -0.03219617158174515, -0.03382979705929756, 0.034043021500110626, -0.07420530915260315, 0.03677520155906677, -0.016589827835559845, 0.02485748939216137, 0.06255573779344559, -0.024771740660071373, 0.013410352170467377, -0.051517050713300705, -0.02547943778336048, 0.01377018727362156, 0.004440451506525278, -0.037267085164785385, 0.008199656382203102, -0.005113647785037756, 0.006404967978596687, 0.03155386075377464, 0.03675124794244766, 0.014622916467487812, 0.020640239119529724, 0.0017467350699007511, 0.014498423784971237, 0.017930397763848305, 0.014983093366026878, 0.042735546827316284, 0.012050342746078968, -0.009625576436519623, 0.017819683998823166, -0.03221197426319122, -0.0011470253812149167, -0.0037629546131938696, -0.00974062830209732, -0.028400804847478867, 0.02331925369799137, -0.03218873590230942, -0.05892881006002426, 0.04087220877408981, -0.007616640068590641, 0.02195064164698124, 0.0409361906349659, 0.01872711442410946, -0.014349953271448612, -0.03552735969424248, 0.016575949266552925, 0.07749956846237183, -0.026380648836493492, 0.0005346642574295402, -0.016925660893321037, -0.03560570627450943, 0.006398722063750029, 0.020814739167690277, -0.04409066587686539, -0.03218690678477287, -0.0384979248046875, -0.0005292584537528455, -0.028718460351228714, -0.05079789087176323, -0.007386728189885616, 0.00012999627506360412, -0.006456401664763689, 0.04607504978775978, 0.019886061549186707, 0.04548139125108719, -0.029774297028779984, 0.00260627968236804, 0.053502365946769714, -0.048962634056806564, 0.0018557468429207802, 0.019134946167469025, -0.00708873150870204, 0.02241835556924343, -0.016590848565101624, 0.03150533139705658, 0.005168399307876825, -0.006323630455881357, -0.011273986659944057, -0.06419406086206436, 0.02462851256132126, 0.0004383913183119148, 0.044032417237758636, 0.010762035846710205, 0.012941925786435604, -0.04956389591097832, -0.013789298012852669, -0.01541898399591446, 0.002416255185380578, 0.000249599979724735, 0.008350842632353306, 0.011679275892674923, 0.0247383750975132, 0.013848203234374523, 0.04301750287413597, -0.009917997755110264, -0.04295581951737404, 0.05912278965115547, -0.047348394989967346, -0.04342884197831154, 0.0006298273801803589, -0.040459319949150085, 0.01601865328848362, 0.020461345091462135, 0.029860589653253555, -0.03259076178073883, 0.07058974355459213, 0.07438457757234573, 0.03069799207150936, 0.011982258409261703, -0.027424687519669533, 0.02763911709189415, -0.012634271755814552, -0.027105897665023804, -0.07582128047943115, 0.0024617065209895372, 0.02792312391102314, 0.010399505496025085, 0.014276562258601189, -0.030332352966070175, -0.03491475433111191, 0.0068024094216525555, -0.06338679045438766, -0.026567811146378517, 0.01723099686205387, -0.01527197752147913, 0.029109079390764236, 0.031757257878780365, -0.046147286891937256, -0.0056082275696098804, 0.059808019548654556, -0.03482251241803169, -0.03504201024770737, -0.05240672081708908, 0.04296648129820824, -0.019526662304997444, 0.04429304227232933, -0.020858513191342354, -0.01888170838356018, 0.07255516946315765, 0.022228291258215904, 0.045759815722703934, 0.06129594147205353, -0.03464561700820923, 0.0316571481525898, 0.054720379412174225, 0.007471191696822643, 0.005306013859808445, 0.03342342749238014, -0.020617637783288956, -0.06799411028623581, 0.022720539942383766, 0.013273234479129314, -0.027197714895009995, -0.05068241059780121, 0.06211279332637787, 0.011440537869930267, -0.056610237807035446, -0.045104749500751495, 0.03202962502837181, -0.024010546505451202, -0.021604012697935104, -0.0631086453795433, 0.02313580922782421, -0.04026049003005028, 0.051630739122629166, -0.04309571534395218, 0.014896878041327, 0.07932012528181076, -0.006850633304566145, 0.02070123888552189, 0.002461907221004367, 0.054826769977808, 0.09439848363399506, 0.04988668113946915, 0.0006340111722238362, 0.08222252130508423, -0.0023968489840626717, -0.03427194058895111, -0.011557028628885746, -0.04557478800415993, 0.0019318984122946858, 0.005809923633933067, 0.006746961735188961, 0.06907722353935242, -0.028898771852254868, 0.06134887784719467, -0.027900170534849167, -0.001741699525155127, -0.0089322654530406, -0.022425713017582893, 0.04844750463962555, 0.056450556963682175, 0.017898213118314743, 0.028922146186232567, -0.021807638928294182, -0.04085154831409454, -0.0031005297787487507, -0.01026116032153368, -0.01821555569767952, 0.022077104076743126, -0.013125961646437645, -0.004913542419672012, -0.0019392466638237238, 0.017463380470871925, 0.09951338171958923, -0.027269272133708, -0.012147372588515282, 0.0029872427694499493, 0.00518673425540328, -0.003954946994781494, 0.0130632184445858, -0.01212439127266407, -0.022713424637913704, 0.0026729791425168514, -0.05204734206199646, -0.030977770686149597, -0.015482950024306774, -0.034090831875801086, 0.00027816020883619785, 0.003169360803440213, -0.0018691649893298745, -0.020863384008407593, -0.007764939684420824, -0.019217418506741524, -0.0533931702375412, -0.025677639991044998, -0.04039034619927406, -0.07334934175014496, 0.015650615096092224, -0.029978016391396523, 0.0015672335866838694, -0.00804173480719328, -0.01063641905784607, -0.02290481887757778, -0.0004350118979346007, 0.06218181550502777, -0.03562844172120094, -0.0020911749452352524, -0.009462449699640274, 0.013007105328142643, 0.034924235194921494, 0.02550438418984413, 0.036286044865846634, -0.02067495323717594, 0.017267830669879913, -0.019605737179517746, 0.02851879596710205, 0.0315747894346714, 0.005114443600177765, -0.009906862862408161, -0.06202808395028114, 0.008905849419534206, 0.002130459761247039, -0.016894707456231117, -0.06745595484972, 0.007686336059123278, 0.05594106391072273, 0.017684487625956535, 0.05663028359413147, 0.010395538061857224, -0.021854043006896973, -0.017245693132281303, 0.012010673061013222, 0.019685048609972, -0.02706463262438774, 0.014213732443749905, -0.027936182916164398, 0.061553943902254105, 0.019185254350304604, -0.04209047928452492, 0.00784738827496767, -0.012965819798409939, 0.008594056591391563, -0.005758101120591164, -0.045494213700294495, -0.030902890488505363, -0.04017496109008789, -0.08979589492082596, -0.03504933789372444, 0.015811989083886147, -0.04070450738072395, -0.0166323259472847, 0.0025962188374251127, 0.0193104799836874, -0.046484772115945816, 0.04635441303253174, -0.03892197832465172, 0.05540642887353897, -0.015897070989012718, -0.017597079277038574, -0.030623985454440117, -0.015292278490960598, -0.013332012109458447, 0.012748845852911472, 0.022252190858125687, -0.045062605291604996, -0.003406667383387685, -0.04646877944469452, 0.03433464467525482, 0.018389342352747917, 0.003783709369599819, 0.03267187252640724 ]
[ -0.06393138319253922, -0.038394831120967865, -0.019549759104847908, -0.020234957337379456, 0.02748602069914341, -0.005635824520140886, -0.026641415432095528, -0.007307238876819611, 0.02675589919090271, 0.019145069643855095, 0.036366093903779984, -0.01803106814622879, 0.005457958672195673, -0.01036047749221325, 0.052336689084768295, 0.009884452447295189, -0.0716465637087822, 0.013798409141600132, -0.043001819401979446, 0.06318839639425278, 0.016415853053331375, -0.06579142063856125, 0.01042516902089119, -0.020196644589304924, 0.029805000871419907, 0.054203230887651443, 0.040412090718746185, 0.004328843671828508, -0.02066217176616192, -0.19434595108032227, 0.002495773136615753, 0.020777201279997826, 0.003924289718270302, 0.012184422463178635, 0.028707580640912056, 0.023403692990541458, 0.019359685480594635, -0.006674675736576319, -0.003763786284253001, 0.03153930976986885, 0.027378881350159645, 0.004938220605254173, -0.014094275422394276, -0.026114197447896004, 0.05133233591914177, 0.02036224864423275, 0.037467196583747864, -0.019658418372273445, -0.04796583950519562, 0.023517556488513947, -0.03318808972835541, -0.030230475589632988, -0.00931255891919136, -0.008617369458079338, 0.03330434113740921, 0.07808204740285873, 0.02632869780063629, 0.06963107734918594, 0.030741475522518158, 0.0345708467066288, 0.05015086382627487, -0.00220505241304636, -0.12395338714122772, 0.0633210763335228, -0.003641638206318021, 0.011714265681803226, -0.05919488146901131, 0.001111515099182725, -0.04713667929172516, 0.07023784518241882, 0.038023691624403, 0.0006423747981898487, -0.036294516175985336, 0.08897922188043594, -0.004797038156539202, 0.015763401985168457, -0.01570572517812252, 0.027018392458558083, 0.056972768157720566, -0.04430725425481796, -0.054318469017744064, -0.025330981239676476, -0.03897552192211151, 0.0011615908006206155, -0.06058615818619728, 0.07543549686670303, -0.019976245239377022, 0.01985859125852585, 0.006265127100050449, 0.0402410551905632, 0.03026159293949604, -0.018816621974110603, 0.04740060865879059, 0.01987176388502121, -0.10471153259277344, 0.007930691353976727, 0.009497040882706642, 0.013115101493895054, -0.006926786620169878, 0.39693501591682434, 0.004370725713670254, 0.006313175894320011, 0.009434239938855171, 0.0469755195081234, 0.01088872179389, -8.188890205929056e-7, 0.006858743727207184, -0.03772243484854698, 0.045344121754169464, -0.019260769709944725, -0.021516263484954834, -0.017741549760103226, 0.0032129434403032064, -0.10175935178995132, 0.006925782188773155, 0.02580585703253746, 0.029066437855362892, 0.02021447755396366, -0.03436931595206261, -0.008210628293454647, -0.0009984223870560527, 0.013494188897311687, 0.0017718796152621508, 0.03295600414276123, -0.00440257741138339, 0.031103452667593956, 0.00924310740083456, 0.03005509451031685, 0.019802814349532127, 0.01958833634853363, 0.048324115574359894, 0.00862499326467514, -0.06766949594020844, 0.02251344546675682, -0.015730038285255432, 0.000320626946631819, 0.005827493034303188, -0.03262709826231003, -0.01476303767412901, 0.0211735051125288, -0.01464881282299757, -0.03786001354455948, -0.00025211606407538056, 0.008723451755940914, -0.0015748474979773164, 0.1260669082403183, -0.00415044603869319, -0.0029866215772926807, -0.04116851091384888, -0.009273731149733067, -0.01858319342136383, 0.011242793872952461, -0.003271844470873475, -0.08187376707792282, -0.011037727817893028, 0.020067183300852776, 0.05687432736158371, -0.008018073625862598, -0.07655198872089386, 0.011861332692205906, 0.012085247784852982, -0.011273386888206005, -0.04540754854679108, 0.08812551200389862, 0.03515390679240227, -0.12498793005943298, -0.018595078960061073, 0.0654381513595581, -0.00474909832701087, -0.054432958364486694, 0.02375486120581627, -0.01859714463353157, -0.06933584809303284, -0.000607711321208626, 0.0903964713215828, 0.009432516060769558, -0.034841760993003845, -0.006470497697591782, 0.01505582220852375, 0.027272524312138557, -0.013722049072384834, 0.013976442627608776, -0.015572523698210716, 0.0020975663792341948, -0.07294933497905731, -0.058637913316488266, -0.04676932469010353, 0.008410610258579254, -0.04831647500395775, -0.02723591960966587, -0.02115982584655285, 0.01377097237855196, -0.0554848313331604, 0.07397325336933136, -0.0510474257171154, -0.01769993267953396, -0.0169560294598341, -0.013791166245937347, -0.011001745238900185, -0.05004846304655075, 0.06035001948475838, 0.05041811242699623, -0.007878508418798447, 0.006970053073018789, -0.07311657816171646, 0.0051671895198524, 0.06437386572360992, -0.009916986338794231, 0.0642852857708931, 0.018338419497013092, -0.06195506826043129, 0.011227001436054707, -0.03513312712311745, 0.0017274536658078432, -0.003793879644945264, -0.006180508993566036, -0.03633284568786621, 0.009550954215228558, 0.03218506649136543, 0.031655021011829376, -0.05530507490038872, 0.01741820201277733, 0.004766508936882019, -0.35663777589797974, -0.043459560722112656, -0.03523862734436989, -0.01930365338921547, -0.02170635014772415, -0.016210632398724556, 0.024692514911293983, -0.020505644381046295, -0.03945396840572357, 0.012355636805295944, 0.09773076325654984, -0.032637208700180054, -0.03382566198706627, -0.050651829689741135, -0.00136006239335984, 0.027058763429522514, -0.009449226781725883, -0.0003728815936483443, -0.015067625790834427, 0.02674935944378376, -0.013060295023024082, -0.07372423261404037, -0.017427265644073486, -0.07118730247020721, 0.017698857933282852, 0.005297117866575718, 0.10647004097700119, -0.01511163730174303, 0.009281196631491184, -0.048636239022016525, 0.05661609396338463, -0.0014041628455743194, -0.030955852940678596, -0.07598436623811722, 0.03255527466535568, -0.002677089534699917, -0.022417398169636726, -0.0015184326330199838, -0.022022636607289314, -0.02650078944861889, -0.00434181559830904, -0.014998853206634521, -0.033854734152555466, -0.018083443865180016, -0.010676705278456211, -0.01798049546778202, -0.04590744897723198, -0.0009598566102795303, 0.010768594220280647, 0.09575363248586655, 0.0037085218355059624, 0.0294562429189682, 0.024323929101228714, 0.03788433223962784, 0.007637316826730967, -0.04077400639653206, -0.07769259065389633, 0.007981004193425179, 0.03949163854122162, 0.03373034670948982, 0.022720638662576675, 0.04856529459357262, 0.019812501966953278, -0.06280151009559631, 0.05232243239879608, -0.05768856406211853, -0.01670256443321705, -0.008586294949054718, 0.004747158382087946, -0.053253497928380966, -0.03765728697180748, 0.10090522468090057, 0.02289128489792347, 0.00014357489999383688, 0.037336256355047226, 0.04305959865450859, -0.049770109355449677, -0.016967780888080597, 0.028253288939595222, 0.02198818139731884, -0.003343407530337572, -0.07176653295755386, 0.060962993651628494, 0.00591302290558815, -0.004253997001796961, 0.07189030945301056, -0.004767308477312326, -0.024208756163716316, 0.0818004161119461, -0.023115113377571106, -0.051056843250989914, 0.004520547576248646, -0.04111127555370331, -0.01921502873301506, 0.0772063359618187, -0.05387501046061516, -0.28373777866363525, 0.025912588462233543, 0.006066370289772749, 0.06274677067995071, 0.01074253674596548, 0.0131731778383255, 0.03314685821533203, -0.02384815737605095, -0.02610662393271923, 0.007904128171503544, 0.00849047489464283, 0.022262439131736755, 0.00023245788179337978, -0.01379066240042448, 0.011204122565686703, 0.005475119221955538, 0.035400211811065674, 0.029504874721169472, 0.027852272614836693, -0.013091216795146465, 0.06754710525274277, -0.019069893285632133, 0.1998891681432724, 0.050455328077077866, 0.02455468289554119, 0.035681117326021194, -0.008832575753331184, -0.00207721465267241, 0.020881136879324913, -0.001386091229505837, -0.02896954119205475, 0.05040733516216278, 0.05022798106074333, 0.05546640604734421, -0.004948670510202646, -0.028719669207930565, 0.01070138905197382, 0.023093488067388535, 0.0172586590051651, -0.043128062039613724, -0.03790491446852684, -0.018850088119506836, -0.02772362157702446, 0.051057424396276474, 0.08888185769319534, -0.02170533314347267, -0.007753069046884775, 0.0031546172685921192, -0.05633189529180527, 0.011994008906185627, -0.034427136182785034, -0.02528286911547184, -0.036330852657556534, -0.004716057796031237, -0.00477663055062294, 0.020932573825120926, 0.03437049686908722, 0.006964505650103092, 0.029112007468938828, 0.010561891831457615, -0.029554292559623718, -0.02470116876065731, 0.0885750949382782, -0.007176136132329702, 0.009730786085128784 ]
[ -0.014646947383880615, 0.06197339668869972, 0.009242238476872444, 0.029675044119358063, -0.016323260962963104, 0.008205474354326725, -0.05281687527894974, 0.007916963659226894, -0.017634114250540733, -0.00570398336276412, -0.00730765238404274, 0.003078223904594779, 0.040815744549036026, -0.021215390413999557, 0.002561373868957162, 0.013121286407113075, -0.03192871809005737, 0.05561446025967598, 0.020176470279693604, -0.04735705256462097, -0.022549796849489212, 0.007344892248511314, 0.018201667815446854, -0.015061005018651485, 0.009920091368258, -0.00418408727273345, -0.02427791804075241, 0.029362861067056656, 0.03605189919471741, -0.09239982068538666, -0.026000717654824257, -0.0189704280346632, -0.002771922154352069, 0.02466282993555069, -0.024754855781793594, 0.03514678031206131, 0.03878144919872284, 0.028255628421902657, 0.008273208513855934, 0.01188004668802023, 0.028905972838401794, -0.006535970605909824, -0.029693370684981346, 0.00024396622029598802, 0.007342782337218523, -0.02625727467238903, -0.027427157387137413, -0.003899528644979, -0.007965519092977047, -0.002984104910865426, -0.06828083097934723, -0.035648029297590256, 0.03706434369087219, 0.01917850971221924, 0.007053576875478029, 0.052170634269714355, -0.0554509162902832, -0.011210285127162933, 0.0023674662224948406, -0.027019843459129333, 0.044597987085580826, 0.004226527642458677, -0.039942238479852676, -0.039057500660419464, -0.012716706842184067, -0.004874131176620722, -0.013250988908112049, 0.022142216563224792, -0.009494413621723652, 0.004675030708312988, 0.00363579741679132, 0.009846498258411884, -0.08294672518968582, 0.01895585097372532, -0.019068878144025803, 0.06817712634801865, 0.03843184933066368, 0.013028103858232498, 0.014681198634207249, -0.03521180897951126, -0.024508096277713776, -0.0013921953504905105, 0.0028719473630189896, 0.02708805352449417, -0.07620862126350403, 0.010887646116316319, -0.007516108453273773, 0.004671010654419661, 0.01670755445957184, 0.028884246945381165, -0.024415569379925728, 0.019298942759633064, -0.006488434039056301, -0.01929306797683239, -0.1023288443684578, 0.03185445815324783, 0.0062813544645905495, -0.0195832047611475, 0.023213719949126244, 0.7797669172286987, 0.007917913608253002, -0.02389322780072689, 0.02870229259133339, 0.021687466651201248, -0.008749728091061115, 0.0026014491450041533, -0.010641619563102722, -0.0008633738616481423, -0.004485504701733589, 0.026157217100262642, -0.019755899906158447, 0.010227056220173836, -0.026072194799780846, 0.01674036681652069, 0.0010078703053295612, 0.02293383702635765, 0.010392322205007076, -0.008073755539953709, -0.006659815553575754, 0.010130032896995544, 0.027359437197446823, 0.028791366145014763, -0.02046472206711769, 0.006274801678955555, -0.015459578484296799, -0.18761023879051208, -0.03864532336592674, -7.115421589160852e-33, 0.04009596258401871, 0.01898965612053871, 0.0608193576335907, 0.01858561486005783, -0.000057270812249043956, 0.04724007844924927, -0.02548222802579403, -0.001582294120453298, -0.03272678703069687, -0.020538929849863052, -0.030916303396224976, -0.008597973734140396, 0.031354546546936035, -0.06722056120634079, -0.0002348901325603947, -0.0366421602666378, 0.00846480205655098, 0.0114524457603693, 0.0014109982876107097, -0.00288440496660769, 0.032499268651008606, 0.042191602289676666, -0.026455925777554512, 0.047015901654958725, 0.001989605138078332, 0.01252447534352541, -0.013548146933317184, -0.0020475941710174084, -0.017598720267415047, -0.04846151918172836, -0.05025545507669449, 0.032197993248701096, 0.012819869443774223, -0.03529205545783043, -0.010898015461862087, -0.08200393617153168, -0.024588607251644135, -0.021784735843539238, -0.0394783541560173, -0.0702565610408783, -0.06138881295919418, -0.006570002064108849, 0.036294907331466675, -0.041245970875024796, -0.062106695026159286, 0.015049854293465614, 0.019651662558317184, -0.009099991992115974, 0.019610505551099777, 0.02929888293147087, -0.0085328733548522, 0.03660678490996361, 0.0021267745178192854, 0.011261039413511753, -0.0398179292678833, -0.007684790063649416, 0.006936483085155487, 0.010273073799908161, -0.028672920539975166, -0.007600331678986549, 0.01945088803768158, -0.029059430584311485, -0.015686145052313805, 0.03439989686012268, -0.007590796332806349, 0.0191707331687212, -0.019704146310687065, 0.013960578478872776, 0.004193068016320467, 0.036005277186632156, -0.04281523823738098, 0.04614410549402237, -0.015088374726474285, -0.029597533866763115, 0.028256414458155632, -0.07081656157970428, 0.01405040081590414, -0.021413959562778473, 0.004980879370123148, 0.058570247143507004, -0.02569510228931904, -0.02904524840414524, 0.02185032144188881, 0.005615884903818369, 0.02664593607187271, -0.038406141102313995, 0.05032844468951225, 0.03918307647109032, 0.039987847208976746, 0.0353790707886219, 0.04795687645673752, 0.018165938556194305, -0.026920150965452194, 0.008090987801551819, -0.0017267880029976368, 6.463382954283391e-33, -0.005587912630289793, -0.002995262620970607, -0.0032817828468978405, -0.005446404218673706, 0.058895986527204514, 0.000738589558750391, 0.00540253845974803, 0.0152633897960186, -0.04435262084007263, 0.05142385885119438, 0.008953338488936424, -0.056248653680086136, -0.023134557530283928, 0.02880706451833248, 0.03717828914523125, -0.01826673187315464, 0.02091088332235813, -0.07957596331834793, 0.02374771609902382, 0.03841273859143257, 0.014037826098501682, 0.006837794557213783, -0.027419190853834152, 0.05694662034511566, 0.049252863973379135, 0.009800116531550884, -0.01241485495120287, 0.007957234978675842, -0.039548490196466446, 0.0012755671050399542, -0.00800006091594696, -0.033456336706876755, -0.006385708227753639, -0.02171803079545498, 0.0355905257165432, -0.026965025812387466, -0.03169848024845123, -0.02694844640791416, 0.0211999099701643, -0.02358003333210945, 0.029085973277688026, -0.0022563887760043144, -0.022686632350087166, 0.07886210829019547, 0.03816065564751625, -0.004060359671711922, 0.015116879716515541, 0.01838792860507965, 0.009552818723022938, 0.017614144831895828, 0.011009477078914642, 0.039612822234630585, 0.009146427735686302, 0.0479455292224884, 0.02145358920097351, -0.05976765602827072, 0.00885435938835144, 0.03983856737613678, -0.0063468702137470245, 0.031215397641062737, -0.022819919511675835, -0.033875174820423126, -0.03977866470813751, 0.05479172617197037, -0.02253478765487671, -0.05769852176308632, -0.014894481748342514, 0.018327148631215096, -0.034237414598464966, -0.009036265313625336, -0.009622299112379551, 0.002511708065867424, 0.004426298197358847, 0.015243198722600937, 0.04421171173453331, -0.029787827283143997, 0.001690252567641437, -0.03735412657260895, -0.0491035133600235, -0.0007392605184577405, 0.013259092345833778, 0.006743147037923336, 0.027780499309301376, 0.020665807649493217, -0.018863623961806297, -0.0070849210023880005, -0.0167363453656435, 0.03275910019874573, -0.011509470641613007, 0.005492749158293009, 0.015368402935564518, -0.03281022235751152, -0.04652585834264755, 0.06623641401529312, -0.05303196236491203, -1.2502153090565571e-8, -0.05867971479892731, 0.03294461593031883, -0.015887821093201637, -0.0110592907294631, -0.0013857947196811438, -0.0057646664790809155, 0.015105594880878925, 0.006958590354770422, 0.0038479564245790243, 0.03248303756117821, 0.025557203218340874, -0.003946172539144754, -0.00539345433935523, 0.011007240042090416, 0.005991748534142971, -0.05660713091492653, -0.006569474935531616, -0.009064893238246441, 0.03623543679714203, 0.025128362700343132, -0.011021149344742298, 0.03590410575270653, -0.050575971603393555, 0.006862286478281021, 0.01829761452972889, -0.04277503490447998, 0.03219477832317352, -0.03970721364021301, 0.0311735812574625, 0.0001482714433223009, -0.0010970468865707517, -0.013494749553501606, -0.006423610728234053, 0.024466179311275482, -0.04560414329171181, -0.012278896756470203, 0.029770448803901672, 0.044331975281238556, 0.020564930513501167, 0.04951360449194908, 0.022275984287261963, 0.033822596073150635, -0.051842618733644485, -0.019337397068738937, -0.024228937923908234, -0.0004398847231641412, -0.05473892390727997, 0.008897598832845688, 0.06541292369365692, -0.07270709425210953, -0.027360279113054276, -0.03077119030058384, 0.04222404211759567, -0.025340907275676727, 0.040680937469005585, -0.018425168469548225, 0.009274840354919434, -0.009265486150979996, -0.02203465811908245, -0.03220563009381294, 0.03958143666386604, -0.03184846043586731, 0.010468927212059498, -0.021487554535269737 ]
neo4jcypher-create-with-optional-properties
https://markhneedham.com/blog/2013/06/20/neo4jcypher-create-with-optional-properties
false
2013-06-20 07:21:46
neo4j: A simple example using the JDBC driver
[ "neo4j", "cypher" ]
[ "neo4j" ]
https://twitter.com/mesirii[Michael] recently pointed me to the https://github.com/rickardoberg/neo4j-jdbc[neo4j JDBC driver] which he and https://twitter.com/rickardoberg[Rickard] have written so I thought I'd try and port http://www.markhneedham.com/blog/2013/06/20/neo4jcypher-create-with-optional-properties/[the code from my previous post] to use that instead of the console. To start with I added the following dependencies to my POM file: [source,xml] ---- <dependencies> ... <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-jdbc</artifactId> <version>1.9</version> </dependency> </dependencies> <repositories> <repository> <id>neo4j-maven</id> <name>neo4j maven</name> <url>http://m2.neo4j.org</url> </repository> </repositories> ---- I then tried to create a connection to a local neo4j server instance that I had running on port 7474: [source,java] ---- Neo4jConnection connect = new Driver(). connect("jdbc:neo4j://localhost:7474", new Properties()); ---- which leads to the following exception: [source,text] ---- Exception in thread "main" java.lang.NoClassDefFoundError: org/neo4j/cypherdsl/grammar/Execute at org.neo4j.jdbc.Driver.<init>(Driver.java:52) at org.neo4j.jdbc.Driver.<clinit>(Driver.java:43) at com.centrica.bigquery.JDBCTest.main(JDBCTest.java:17) 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.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: java.lang.ClassNotFoundException: org.neo4j.cypherdsl.grammar.Execute at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 8 more ---- It turns out we also need to add the following dependency: [source,xml] ---- <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j-cypher-dsl</artifactId> <version>1.9</version> </dependency> ---- We can now run the following code to create some people and then query for one of them: [source,java] ---- Neo4jConnection connect = new Driver(). connect("jdbc:neo4j://localhost:7474", new Properties()); List<String> dataLoad = new ArrayList<String>(); dataLoad.add("CREATE (person1 { personId: 1, started: 1361708546 })"); dataLoad.add("CREATE (person2 { personId: 2, started: 1361708546, left: 1371708646 })"); dataLoad.add("CREATE (company { companyId: 1 })"); connect.createStatement().executeQuery(StringUtils.join(dataLoad, "\n")); ResultSet resultSet = connect.createStatement(). executeQuery("START person1 = node:node_auto_index('personId:1') RETURN person1"); if(resultSet.next()) { Map<String, Object> e = (Map<String, Object>) resultSet.getObject("person1"); System.out.println("personId: " + e.get("personId") + ", started: " + e.get("started")); } ---- which gives the following output: [source,text] ---- Connecting to URL http://localhost:7474 Starting the Apache HTTP client Executing query: START person1 = node:node_auto_index('personId:1') RETURN person1 with params{} Starting the Apache HTTP client personId: 1, started: 1361708546 ---- I haven't done much more with it but JDBC seems like quite a neat integration point because so many other understand that API.
null
null
[ 0.005696295294910669, -0.01762736216187477, -0.022284885868430138, 0.028979970142245293, 0.08155103027820587, 0.002612452022731304, 0.050432417541742325, 0.0236915722489357, 0.017865657806396484, -0.018201099708676338, -0.012950857169926167, 0.0002151554508600384, -0.07037865370512009, 0.02081364206969738, -0.013929879292845726, 0.050419531762599945, 0.0659979060292244, 0.0009973532287403941, 0.017677970230579376, -0.0076095666736364365, 0.009460695087909698, 0.045770853757858276, 0.016005277633666992, 0.04991324990987778, 0.03387100622057915, 0.030578089877963066, 0.016569843515753746, 0.022525403648614883, -0.05252790451049805, -0.022517628967761993, 0.050039470195770264, 0.008751966059207916, 0.025864116847515106, -0.002733915811404586, 0.02076295018196106, -0.0018462444422766566, -0.031373120844364166, -0.004944873973727226, -0.0015461796429008245, 0.013076779432594776, -0.06539007276296616, 0.03981112316250801, -0.0058659762144088745, 0.0411277674138546, -0.03845108672976494, 0.020211728289723396, -0.014708791859447956, 0.03745162487030029, 0.01459408551454544, -0.011175052262842655, -0.09447559714317322, 0.019931411370635033, -0.03025241009891033, 0.016615519300103188, 0.01930566504597664, 0.04502984508872032, 0.028283821418881416, -0.10484927147626877, 0.058363426476716995, -0.03285403177142143, 0.007153350859880447, 0.0013270581839606166, -0.008649837225675583, 0.022904515266418457, -0.009113617241382599, -0.031568266451358795, -0.004505572374910116, 0.052730709314346313, -0.0662853866815567, -0.015577775426208973, -0.012012764811515808, 0.01405403669923544, -0.014888805337250233, -0.010704822838306427, 0.020008720457553864, -0.059235624969005585, -0.00809479970484972, 0.055926062166690826, 0.027143556624650955, 0.05849955230951309, -0.03072887659072876, -0.01419968344271183, 0.030191347002983093, 0.02276402711868286, -0.0037413095124065876, -0.034005001187324524, -0.031207788735628128, -0.016168436035513878, -0.04740268737077713, 0.03625106438994408, 0.015201523900032043, -0.028080083429813385, -0.012399645522236824, 0.015767434611916542, -0.028250211849808693, 0.021983129903674126, 0.014004050754010677, 0.024316811934113503, 0.02587873302400112, -0.018602823838591576, -0.018258441239595413, -0.03190860524773598, -0.01644100807607174, 0.03359379991889, -0.06284737586975098, -0.02474747784435749, -0.03885342553257942, -0.02663731388747692, -0.007121016271412373, -0.006636814679950476, -0.02603479102253914, 0.01640899106860161, -0.006577388383448124, -0.0025160640943795443, -0.07664278894662857, 0.08546251803636551, 0.0017487648874521255, -0.028557900339365005, -0.01145114004611969, 0.02261759154498577, 0.04625120013952255, 0.034974124282598495, -0.0014220286393538117, 0.076350137591362, -0.025520209223031998, 0.05970032513141632, -0.019428584724664688, 0.04698220267891884, -0.028047997504472733, -0.06881110370159149, -0.01071725133806467, 0.0546809621155262, 0.012567817233502865, 0.03147853538393974, -0.017905347049236298, -0.019406646490097046, -0.02058360166847706, 0.014364685863256454, 0.045718804001808167, 0.02693348564207554, -0.016737962141633034, -0.05253955349326134, 0.007784041576087475, 0.006071230862289667, 0.029410067945718765, 0.03833998367190361, 0.004387581720948219, -0.032497260719537735, -0.03148847818374634, 0.02163214236497879, 0.004252904560416937, 0.0519072487950325, 0.05123865231871605, -0.00974223017692566, 0.003837765660136938, 0.09557359665632248, 0.02235076017677784, 0.014693856239318848, -0.030251648277044296, 0.03844032064080238, 0.05681653320789337, 0.0410129688680172, 0.007109704427421093, 0.04789893701672554, 0.01355967577546835, -0.021351376548409462, 0.006790793035179377, 0.03821902722120285, 0.010728121735155582, 0.008273707702755928, -0.0367877334356308, -0.11126270890235901, 0.04972662776708603, -0.0455879308283329, -0.01547920610755682, 0.012859516777098179, 0.0638655349612236, -0.00692684156820178, 0.03674590215086937, 0.007606438361108303, -0.07888901978731155, 0.047967005521059036, 0.03736305981874466, 0.0005389571306295693, 0.005786098539829254, 0.009008029475808144, 0.06182800605893135, 0.022639598697423935, -0.012581352144479752, 0.030689392238855362, -0.08572382479906082, -0.09298140555620193, -0.00044738961150869727, -0.00617310032248497, 0.05100104212760925, -0.013661019504070282, -0.001514699892140925, 0.05444599688053131, 0.02594141475856304, 0.012147577479481697, 0.007321259006857872, -0.02171746827661991, 0.02621164359152317, -0.061752695590257645, -0.056194085627794266, 0.05934278666973114, 0.028015758842229843, -0.04824771359562874, -0.06925850361585617, 0.013643048703670502, -0.025106610730290413, -0.008662720210850239, 0.023026645183563232, -0.022783026099205017, 0.06239872798323631, 0.02434515580534935, 0.023368073627352715, -0.018046889454126358, 0.025805706158280373, -0.04297654703259468, 0.03789067640900612, 0.00622238265350461, -0.015545741654932499, 0.00015545554924756289, 0.009010079316794872, 0.1006351038813591, 0.04458533227443695, -0.025775449350476265, -0.08253718912601471, 0.0469769723713398, 0.014897136949002743, -0.025393953546881676, 0.01940429024398327, -0.026213888078927994, 0.002110519912093878, -0.015642907470464706, -0.019120750948786736, -0.02199842967092991, -0.0061116088181734085, -0.024803075939416885, 0.012463790364563465, 0.08050979673862457, -0.06561274826526642, 0.05531755089759827, 0.024588068947196007, -0.022222967818379402, -0.0004846185620408505, -0.057188842445611954, -0.05139196291565895, 0.0215959120541811, 0.007909049279987812, -0.013281415216624737, 0.058421503752470016, -0.01998179405927658, -0.019205864518880844, -0.020716648548841476, -0.05560028925538063, 0.03962882235646248, 0.03268369659781456, 0.059178102761507034, -0.023849526420235634, 0.0430271215736866, -0.05081789195537567, 0.015027373097836971, -0.017407527193427086, -0.048842743039131165, -0.016669180244207382, -0.015675529837608337, 0.029979461804032326, 0.022488100454211235, 0.014714457094669342, 0.002637365600094199, 0.016104964539408684, -0.01154312863945961, 0.008390193805098534, -0.014167973771691322, 0.021752888336777687, -0.009630939923226833, -0.002194126369431615, -0.031064186245203018, -0.04534285515546799, 0.04789816960692406, -0.06447122246026993, -0.05089890956878662, -0.014937893487513065, -0.053241338580846786, 0.04435931146144867, -0.05490177124738693, -0.040664058178663254, 0.019457820802927017, 0.03232281282544136, 0.05901392921805382, 0.011823367327451706, -0.003995072096586227, 0.07538634538650513, -0.015261789783835411, 0.014609784819185734, -0.0012740610400214791, -0.003142587374895811, 0.03556492179632187, -0.017334945499897003, 0.047679465264081955, 0.015879739075899124, -0.013639315962791443, 0.010425988584756851, -0.014761066064238548, 0.006918441969901323, 0.0003687526914291084, -0.25042325258255005, 0.06603308767080307, -0.01995236799120903, -0.07353228330612183, 0.02673954702913761, -0.003043206874281168, -0.005502556450664997, -0.021025536581873894, -0.021453605964779854, -0.002014271216467023, -0.015887541696429253, -0.012210902757942677, -0.004066755063831806, 0.022931165993213654, -0.006379096303135157, 0.0027228891849517822, -0.011542601510882378, -0.05016389861702919, -0.003206009278073907, 0.026845544576644897, 0.00313094025477767, -0.03371952474117279, 0.007939637638628483, 0.0014609730569645762, 0.014023604802787304, 0.03778703510761261, -0.10126372426748276, 0.060361575335264206, -0.025801237672567368, -0.012828579172492027, 0.005627366714179516, -0.0144807705655694, -0.0008308836841024458, 0.005557636264711618, -0.039678025990724564, 0.010042090900242329, 0.016199398785829544, 0.00590269872918725, -0.0008340528002008796, 0.03347654640674591, -0.04674787074327469, -0.07443473488092422, -0.011308583430945873, -0.02170979231595993, 0.07739543169736862, 0.000991213833913207, -0.09855879098176956, -0.0014434052864089608, -0.010795511305332184, 0.07956462353467941, -0.04592771828174591, -0.03460721671581268, -0.0010033893631771207, 0.0351591557264328, 0.003979294560849667, -0.020142637193202972, -0.021975185722112656, -0.007774122525006533, -0.044358037412166595, -0.030195215716958046, -0.000178508460521698, -0.045514173805713654, -0.0027519853319972754, -0.033198852092027664, -0.04022924602031708, -0.06559047102928162, -0.06553754210472107, -0.02129611186683178, 0.061203986406326294, 0.029017409309744835, -0.01573750004172325, 0.050723712891340256, -0.008850829675793648, -0.11659262329339981, -0.027415171265602112, -0.04649457708001137, -0.031982533633708954, -0.0024572396650910378, -0.029238663613796234, 0.05121487006545067, -0.04138503596186638, -0.023014487698674202, -0.023188872262835503, 0.02296360582113266, 0.005001744721084833, 0.012317929416894913, 0.02482498809695244, -0.026440612971782684, -0.013719633221626282, 0.014756018295884132, 0.06325128674507141, -0.04228216037154198, -0.0281785037368536, -0.024867506697773933, -0.009893047623336315, 0.028542980551719666, 0.002843264490365982, 0.01421172171831131, 0.0009214454330503941, 0.0434456504881382, 0.04967416450381279, -0.047433480620384216, 0.011644847691059113, -0.030904728919267654, -0.019329573959112167, -0.006281813606619835, -0.05270642787218094, 0.02182677760720253, 0.007189509924501181, 0.05779481306672096, 0.0037597434129565954, -0.03726862743496895, 0.02718321606516838, -0.03609519079327583, -0.03930958732962608, -0.00829257071018219, 0.008109918795526028, 0.01733003556728363, 0.04935861751437187, -0.02808268368244171, -0.05047318711876869, 0.033790189772844315, 0.03208257630467415, -0.027086803689599037, -0.03449677303433418, -0.013142640702426434, -0.02370399609208107, -0.03170536458492279, -0.0035798826720565557, 0.018991364166140556, -0.029239196330308914, 0.024067077785730362, 0.03311874717473984, -0.012049756944179535, 0.02676217630505562, -0.02552337758243084, -0.03608287125825882, -0.04772718623280525, 0.023559410125017166, -0.00908886082470417, -0.008541502989828587, -0.004069146700203419, -0.03146902471780777, 0.02226456068456173, 0.036517880856990814, 0.009455310180783272, 0.027057433500885963, 0.027738729491829872, 0.01586008071899414, 0.004353821277618408, 0.016628295183181763, -0.03351837769150734, 0.025492044165730476, -0.040888987481594086, -0.05262084677815437, -0.007867294363677502, 0.05309462174773216, -0.020912818610668182, -0.017089467495679855, -0.030915047973394394, 0.034266795963048935, -0.06958425790071487, 0.023647399619221687, 0.01610446348786354, -0.018892623484134674, 0.0525544099509716, -0.018262391909956932, 0.02669338509440422, -0.024549514055252075, -0.03540770336985588, 0.02278737537562847, 0.005546801723539829, -0.043691277503967285, 0.02604273334145546, 0.020430343225598335, 0.021990206092596054, 0.003334332723170519, 0.04340432211756706, 0.035821378231048584, 0.021020151674747467, -0.023767821490764618, -0.003816668875515461, 0.035690054297447205, 0.00445283018052578, 0.031973257660865784, 0.027518071234226227, -0.01349775493144989, 0.0015949811786413193, -0.017040150240063667, -0.000599607068579644, -0.013927396386861801, 0.020379556342959404, -0.006230712402611971, 0.032016366720199585, -0.02308139018714428, -0.06079687923192978, 0.04469061642885208, -0.01645869016647339, 0.009810841642320156, 0.032109055668115616, 0.01389893889427185, 0.0009794920915737748, -0.03737007826566696, 0.05971013009548187, 0.06346751749515533, -0.05203806981444359, -0.011045018211007118, -0.017979666590690613, -0.002996172523126006, -0.005702394992113113, 0.023180365562438965, -0.073525071144104, -0.01905505172908306, -0.013972088694572449, 0.0029238315764814615, -0.029143942520022392, -0.04870224371552467, 0.013957950286567211, -0.0032064744736999273, 0.011818971484899521, 0.016014479100704193, 0.023095974698662758, 0.00654549291357398, -0.01623702235519886, -0.018518945202231407, 0.05093163624405861, -0.022180847823619843, -0.004122627899050713, 0.014120452105998993, -0.037848226726055145, 0.013568732887506485, -0.020327579230070114, 0.02151775173842907, 0.012987736612558365, -0.00026465501287020743, 0.00026466179406270385, -0.05968266725540161, 0.025773413479328156, 0.0018718527862802148, 0.04387268051505089, 0.009426744654774666, 0.023119091987609863, -0.03200233727693558, -0.009886426851153374, -0.039058733731508255, 0.017184125259518623, -0.0048947702161967754, 0.007147104479372501, 0.00690821697935462, 0.018105244264006615, 0.02131267637014389, 0.023959042504429817, -0.010829678736627102, -0.003994366619735956, 0.06435345113277435, -0.038974687457084656, -0.057447370141744614, 0.0005933224456384778, -0.07647262513637543, 0.01082576997578144, 0.02903800457715988, 0.011544068343937397, -0.031027385964989662, 0.06861530244350433, 0.04605429619550705, 0.0037786702159792185, 0.032719824463129044, -0.013647799380123615, 0.03221971169114113, -0.03562253713607788, -0.04468563571572304, -0.0925661250948906, 0.0034484623465687037, 0.047968123108148575, -0.014540474861860275, 0.015551798045635223, -0.02985931746661663, -0.03304740786552429, -0.01676212251186371, -0.06636731326580048, -0.016246890649199486, 0.015253458172082901, -0.0353059321641922, -0.00232908152975142, 0.011643222533166409, -0.03741542622447014, 0.020411383360624313, 0.024477295577526093, -0.03540513291954994, -0.06864916533231735, -0.046316467225551605, 0.05128348991274834, 0.025798175483942032, 0.05114215984940529, -0.036322955042123795, -0.02267340011894703, 0.09585137665271759, 0.014173184521496296, 0.04191027209162712, 0.04017462208867073, -0.013013635762035847, 0.04258926212787628, 0.04146162047982216, 0.004512597806751728, 0.0018193036084994674, 0.028428466990590096, -0.020315119996666908, -0.06328949332237244, 0.021116238087415695, 0.006405429448932409, -0.03172912821173668, -0.0333942174911499, 0.058985475450754166, 0.023847470059990883, -0.0442296601831913, -0.019307831302285194, 0.02075011283159256, -0.020477265119552612, -0.026317259296774864, -0.07467225193977356, 0.0281221866607666, -0.04112266004085541, 0.05467222258448601, -0.018224313855171204, 0.0220002681016922, 0.07120420783758163, -0.002911053132265806, 0.0006158558535389602, -0.0002458239905536175, 0.08465175330638885, 0.08821632713079453, -0.00621814327314496, 0.025813547894358635, 0.05601290240883827, 0.000858923071064055, -0.02807525545358658, -0.007451003883033991, -0.02816985733807087, -0.03501300886273384, -0.017162485048174858, -0.019283778965473175, 0.058306556195020676, -0.01547390315681696, 0.07646264880895615, -0.013231203891336918, -0.00840760301798582, -0.0039054693188518286, -0.008570928126573563, 0.009175240993499756, 0.037025779485702515, 0.01388380117714405, 0.05565473064780235, -0.0321916788816452, -0.02981116622686386, 0.027693046256899834, -0.024045614525675774, -0.020819323137402534, 0.010048629716038704, -0.003908391576260328, 0.00767859723418951, 0.01850937306880951, 0.03817920386791229, 0.0864286795258522, -0.01984252780675888, -0.006892221048474312, 0.008186392486095428, 0.014017716981470585, -0.00023003347450867295, 0.005006563849747181, -0.02305964194238186, -0.01575165055692196, -0.011691770516335964, -0.03732086718082428, -0.003889836836606264, -0.018810885027050972, -0.022848689928650856, 0.02621425688266754, -0.02427656389772892, -0.005344553384929895, -0.002865809015929699, -0.0257888026535511, -0.04072475805878639, -0.05355948954820633, -0.018609151244163513, -0.03693622723221779, -0.07167873531579971, -0.018070096150040627, 0.0010958093916997313, -0.006957032717764378, -0.021078195422887802, 0.009671010076999664, -0.03614047169685364, -0.0102677121758461, 0.056769974529743195, -0.05187917500734329, 0.007268527057021856, 0.0018760979874059558, 0.002744311699643731, 0.012716401368379593, 0.03544308990240097, 0.06331071257591248, -0.003393024206161499, 0.0007733794045634568, -0.02493758127093315, 0.01843654178082943, 0.05743509903550148, 0.02153467759490013, 0.024492692202329636, -0.08157426863908768, 0.004608909133821726, 0.015434865839779377, 0.011740212328732014, -0.06643088907003403, -0.0020872526802122593, 0.055451005697250366, 0.00943317636847496, 0.049508895725011826, 0.01117338240146637, -0.008395987562835217, 0.0030287737026810646, 0.0006263319519348443, 0.002609672723338008, 0.0006253939354792237, 0.027225220575928688, -0.012923335656523705, 0.06725415587425232, 0.044073235243558884, -0.025177214294672012, -0.009473119862377644, -0.013854923658072948, 0.0096516702324152, -0.009616490453481674, -0.03647493198513985, -0.04230546951293945, -0.06453607231378555, -0.10607901215553284, -0.011188614182174206, 0.024439629167318344, -0.026776239275932312, -0.022996963933110237, 0.006283738650381565, 0.021135177463293076, -0.03930464759469032, 0.01646941713988781, -0.054473452270030975, 0.02664177678525448, -0.017669526860117912, -0.035555850714445114, -0.012805046513676643, -0.01951598934829235, 0.004425263963639736, -0.0015512289246544242, 0.018229665234684944, -0.044275492429733276, -0.007435365114361048, -0.03342372924089432, 0.03689578175544739, 0.03870061784982681, 0.02266797423362732, 0.005495596211403608 ]
[ -0.050084833055734634, -0.028073493391275406, -0.022684788331389427, -0.028699707239866257, 0.047822579741477966, -0.06276548653841019, -0.048574041575193405, 0.0510437898337841, 0.014514894224703312, -0.04615906998515129, 0.01573249138891697, -0.02373562753200531, 0.0028332332149147987, -0.0093738604336977, 0.06240773946046829, -0.0012223584344610572, -0.026744402945041656, -0.031428102403879166, 0.015922224149107933, 0.03447047621011734, -0.05405257269740105, -0.06353335827589035, 0.00028080851188860834, -0.06838404387235641, 0.01135058794170618, 0.06837771087884903, 0.058592602610588074, -0.029497697949409485, -0.024883413687348366, -0.19009922444820404, -0.00548953004181385, 0.01869640313088894, -0.01985284686088562, -0.00673400703817606, 0.010827900841832161, 0.016295403242111206, 0.031126031652092934, -0.03073582611978054, -0.003999045584350824, 0.026201365515589714, -0.0016707632457837462, 0.010649841278791428, -0.05296622961759567, -0.004188069142401218, 0.050363752990961075, -0.02934415638446808, -0.005468000192195177, -0.015915071591734886, 0.010634515434503555, 0.004117233213037252, -0.052809420973062515, 0.005774777382612228, 0.017162976786494255, -0.02203560434281826, 0.03241114690899849, 0.050423283129930496, 0.0445600301027298, 0.09104349464178085, 0.022972580045461655, 0.030128594487905502, 0.03472699970006943, -0.0007009617984294891, -0.13969843089580536, 0.0750361904501915, 0.01473276037722826, 0.0030905145686119795, -0.0267629437148571, 0.0006600149208679795, 0.0013785470509901643, 0.05225413292646408, 0.0028031915426254272, -0.003144103568047285, -0.047641124576330185, 0.07975910604000092, -0.011553777381777763, 0.0329476036131382, 0.0021232173312455416, 0.01837221533060074, 0.040332868695259094, -0.05347229912877083, -0.04104730114340782, -0.0013633009511977434, -0.04713231697678566, -0.02904333546757698, -0.06699251383543015, 0.047709666192531586, -0.03720543533563614, 0.0711313858628273, -0.029782244935631752, 0.042184170335531235, -0.007219959050416946, 0.024665672332048416, 0.07268070429563522, 0.010503173805773258, -0.09976944327354431, 0.0022946905810385942, -0.00856824591755867, 0.003234943374991417, 0.0011976701207458973, 0.3744605779647827, 0.03876623138785362, -0.015526694245636463, 0.025864427909255028, 0.07135041803121567, -0.005731088574975729, -0.0022936526220291853, -0.012522147037088871, -0.058658499270677567, 0.0575396753847599, -0.01570841856300831, -0.021042032167315483, -0.061166658997535706, 0.03440415486693382, -0.06761174649000168, -0.008157282136380672, -0.0016793033573776484, 0.016369380056858063, 0.031217582523822784, -0.07160504907369614, 0.04180455207824707, -0.022729547694325447, -0.005383831448853016, 0.05033223330974579, 0.03795038163661957, 0.05847478285431862, -0.004696753807365894, -0.03552256152033806, 0.01891125924885273, 0.034395553171634674, 0.020168989896774292, 0.011434262618422508, 0.013085608370602131, -0.05803314223885536, 0.015873204916715622, 0.00989457219839096, 0.014012938365340233, -0.003009587060660124, -0.05215881019830704, -0.02077251859009266, 0.022640950977802277, -0.04257418215274811, -0.03392169252038002, -0.01028454676270485, 0.005456264596432447, -0.03914337232708931, 0.07476993650197983, 0.0009232828160747886, -0.013621460646390915, -0.010843681171536446, -0.020649051293730736, 0.03240299969911575, 0.04354390129446983, -0.013911966234445572, -0.039012935012578964, -0.016544828191399574, -0.0003654297033790499, 0.06713088601827621, 0.0017838203348219395, -0.08702727407217026, 0.022096680477261543, -0.010952631942927837, -0.03972584009170532, -0.01907680742442608, 0.1060451939702034, 0.012055013328790665, -0.10005263239145279, -0.03319273516535759, 0.02978772483766079, 0.00725902384147048, -0.05831608921289444, 0.003659504000097513, 0.030262241140007973, -0.03168005123734474, -0.021423228085041046, 0.06814129650592804, -0.015531129203736782, 0.01247064396739006, -0.015457198955118656, 0.04477042704820633, 0.03783126547932625, 0.02704041451215744, 0.014410383999347687, -0.04372524842619896, -0.03788966313004494, -0.04984132945537567, -0.0596623457968235, -0.08363428711891174, 0.022687343880534172, -0.0403522253036499, -0.0647488683462143, -0.039034999907016754, 0.026278669014573097, -0.051441341638565063, 0.06792879104614258, 0.002858961233869195, -0.049709219485521317, -0.009611410088837147, -0.01524368952959776, 0.017758801579475403, -0.049942050129175186, 0.07674802094697952, 0.04171155020594597, -0.002019347157329321, 0.05171109735965729, -0.07616888731718063, 0.0076125310733914375, 0.07353560626506805, -0.017294572666287422, 0.028926055878400803, 0.0017804583767428994, -0.06732732057571411, 0.0031436607241630554, -0.010205056518316269, 0.04294738173484802, -0.021644366905093193, 0.009486989118158817, -0.007009722292423248, 0.013602698221802711, 0.05560845881700516, 0.037060339003801346, -0.04350780323147774, 0.021471809595823288, -0.018174277618527412, -0.33549997210502625, -0.022069014608860016, -0.023738685995340347, -0.016953008249402046, -0.019103989005088806, 0.002207496901974082, 0.011639699339866638, -0.04124440997838974, 0.006315325852483511, 0.011740542016923428, 0.11709395051002502, -0.035359956324100494, 0.013249794952571392, -0.10278507322072983, 0.013711970299482346, 0.027654066681861877, -0.023840341717004776, -0.0020809806883335114, -0.027018200606107712, -0.021610016003251076, -0.010093673132359982, -0.05614348128437996, -0.03148624673485756, -0.010953706689178944, 0.0019125975668430328, 0.01693020574748516, 0.1001233458518982, -0.01918194815516472, 0.021587882190942764, -0.07465661317110062, 0.05894262343645096, 0.035795047879219055, -0.0026480199303478003, -0.10634424537420273, -0.01679231785237789, -0.029684972018003464, 0.016979342326521873, 0.028547775000333786, 0.012472559697926044, 0.023158559575676918, -0.03246360644698143, -0.020896850153803825, -0.04376501590013504, -0.07556893676519394, 0.013612175360321999, -0.004722399637103081, -0.03537507355213165, -0.009712554514408112, 0.013680016621947289, 0.08942553400993347, -0.013101291842758656, 0.031496793031692505, -0.012469552457332611, 0.03443893417716026, 0.016444748267531395, -0.036843206733465195, -0.04707006365060806, -0.012697135098278522, 0.05742514878511429, 0.05928700417280197, 0.03538248687982559, 0.05713756009936333, 0.03330644965171814, -0.08871553838253021, 0.02600533328950405, -0.003474300028756261, -0.013629894703626633, 0.007479444611817598, 0.06134337559342384, -0.04915948584675789, -0.04467303305864334, 0.09756454825401306, 0.01092864666134119, 0.034504350274801254, 0.030432233586907387, 0.03738788515329361, 0.0026918575167655945, -0.01257325243204832, 0.042301326990127563, -0.002604208653792739, 0.007548538502305746, -0.024495184421539307, 0.11864574253559113, -0.015586335211992264, -0.024512527510523796, 0.09606461971998215, 0.00762047478929162, -0.01775089092552662, 0.048688363283872604, 0.005909495055675507, -0.03179120272397995, -0.007006652187556028, -0.009639387018978596, -0.04409274086356163, 0.07332833111286163, -0.015066493302583694, -0.24800200760364532, 0.0391855463385582, 0.01130483578890562, 0.028035853058099747, 0.009581295773386955, -0.00015240960055962205, 0.03160632774233818, -0.05132817104458809, -0.015373210422694683, -0.006063000299036503, 0.05898250639438629, 0.027661282569169998, -0.023888589814305305, -0.00518262991681695, 0.04905693605542183, -0.001179899089038372, 0.012796911410987377, 0.0483267679810524, 0.021263306960463524, -0.02264287695288658, 0.017012936994433403, -0.01700163446366787, 0.15948587656021118, 0.042386602610349655, 0.00855009164661169, 0.058668822050094604, -0.039549559354782104, 0.034650083631277084, 0.06079211086034775, 0.007871298119425774, -0.030608363449573517, 0.0508321076631546, 0.024686481803655624, 0.013978451490402222, 0.011004353873431683, -0.061670903116464615, -0.00009831602801568806, 0.02632368728518486, 0.022419851273298264, -0.0020025288686156273, -0.03263993561267853, 0.05987435579299927, -0.03996589407324791, 0.03745531663298607, 0.09534837305545807, -0.03215482085943222, -0.024384459480643272, -0.029554395005106926, -0.08227083832025528, -0.0037586891558021307, -0.0403258353471756, -0.059865839779376984, -0.0019915117882192135, -0.01855175383388996, -0.0001038921982399188, 0.05984482541680336, 0.009456569328904152, -0.025933507829904556, -0.01354154385626316, 0.015345380641520023, 0.0016049292171373963, -0.04618973657488823, 0.11626496911048889, -0.004870100412517786, 0.0010316340485587716 ]
[ 0.048520565032958984, 0.027901839464902878, -0.003377558896318078, -0.010859972797334194, -0.018617447465658188, -0.025782333686947823, -0.008291022852063179, 0.006611995864659548, -0.02528291940689087, -0.019190296530723572, -0.013990369625389576, 0.015942605212330818, 0.037381455302238464, -0.006311916746199131, -0.019796553999185562, 0.006070123519748449, 0.012984889559447765, 0.023881834000349045, 0.044074513018131256, 0.02281392738223076, -0.028150390833616257, -0.021199503913521767, 0.03008366748690605, -0.0479731485247612, -0.023915983736515045, 0.022073525935411453, -0.012772911228239536, 0.0006032196688465774, 0.00850525964051485, -0.13016241788864136, -0.01005073357373476, -0.020706113427877426, -0.008877876214683056, -0.026408351957798004, -0.010716964490711689, 0.011765576899051666, 0.03575209155678749, 0.006084682885557413, -0.038617052137851715, 0.023652780801057816, 0.021523689851164818, -0.008128736168146133, -0.022733287885785103, 0.027301602065563202, -0.02465156838297844, -0.06020503118634224, -0.007142075803130865, -0.05218029022216797, -0.00018212063878308982, -0.05000970512628555, -0.043542809784412384, -0.013498489744961262, 0.016428444534540176, -0.025055477395653725, -0.0022408373188227415, 0.009833265095949173, -0.019440792500972748, 0.0033336328342556953, 0.026850644499063492, -0.012031898833811283, 0.024074971675872803, -0.0016387712676078081, -0.061856720596551895, -0.03261411562561989, -0.02447354421019554, -0.021575646474957466, 0.04190042242407799, -0.005183616187423468, -0.022915882989764214, 0.014237512834370136, -0.04238588362932205, 0.06906849890947342, -0.07380374521017075, -0.019393393769860268, -0.03587813675403595, 0.06460511684417725, 0.057617638260126114, -0.009607303887605667, 0.0019570966251194477, 0.005618848372250795, -0.03472961112856865, 0.03445503115653992, -0.040391769260168076, 0.010746261104941368, -0.030517399311065674, 0.036274801939725876, -0.0148465596139431, -0.008209992200136185, 0.02472722716629505, 0.05276548117399216, -0.034113794565200806, 0.008406956680119038, -0.025327151641249657, -0.006210762076079845, -0.09809605777263641, -0.016451600939035416, 0.02634846419095993, -0.007340719923377037, 0.0180242620408535, 0.8180379867553711, 0.03407968953251839, 0.014126419089734554, 0.021304259076714516, 0.025251010432839394, -0.004694642964750528, 0.022430643439292908, -0.021315189078450203, 0.016730396077036858, 0.007994631305336952, 0.015284636989235878, -0.00916414987295866, 0.03829192742705345, 0.013330371119081974, 0.0007997683132998645, 0.006547110620886087, 0.05274586006999016, 0.0267192255705595, 0.01246810331940651, 0.018665166571736336, 0.04538475722074509, 0.011723593808710575, 0.02161448262631893, -0.009627225808799267, 0.013830859214067459, 0.02335374429821968, -0.1443292796611786, 0.006740960292518139, -6.999984370490257e-33, 0.05154245346784592, -0.014229416847229004, 0.04763389006257057, 0.012813366949558258, 0.017035074532032013, -0.005333574954420328, -0.0048209624364972115, -0.001718539628200233, -0.004953379742801189, -0.054433759301900864, -0.04013073071837425, -0.007617422845214605, -0.002771500265225768, -0.04280319809913635, 0.005047412123531103, -0.0027195513248443604, 0.007069580722600222, 0.021951282396912575, -0.008599400520324707, 0.009294182062149048, -0.013913409784436226, 0.04984373226761818, -0.03561883419752121, 0.011345195583999157, 0.024862054735422134, 0.04022245481610298, 0.02837548591196537, 0.008997119963169098, -0.011144869029521942, -0.03787156939506531, -0.04182779788970947, 0.005320113617926836, -0.03471294417977333, -0.012638983316719532, 0.031892161816358566, -0.07629594951868057, -0.03389599174261093, 0.01547363679856062, -0.04009931534528732, -0.056236207485198975, -0.050273582339286804, 0.00723751587793231, -0.011467209085822105, 0.0006482970784418285, -0.028709547594189644, -0.053805019706487656, -0.007939910516142845, 0.04624788835644722, -0.0001023055228870362, 0.008769668638706207, -0.012027283199131489, 0.007822016254067421, 0.0025588348507881165, 0.018803559243679047, -0.03506277874112129, 0.006940943654626608, 0.005774055141955614, 0.01973019354045391, -0.02682081237435341, 0.014788827858865261, 0.025702591985464096, 0.0026058326475322247, -0.011779511347413063, 0.05909501016139984, 0.04209955036640167, 0.03355954587459564, -0.02685319073498249, 0.007116520311683416, -0.005086416844278574, 0.05097055062651634, -0.03128757327795029, 0.006116039585322142, -0.007883846759796143, -0.006033456418663263, 0.021405205130577087, -0.049527958035469055, -0.0009136756998486817, -0.03031873144209385, 0.004732950124889612, 0.051587752997875214, -0.029902132228016853, -0.011038592085242271, -0.00580567866563797, -0.03045772574841976, -0.008310227654874325, -0.005510349757969379, 0.02088824287056923, 0.025349227711558342, 0.028626201674342155, 0.0449741929769516, 0.029346099123358727, 0.025709647685289383, -0.002388295251876116, -0.020519956946372986, -0.025392265990376472, 6.055122378641287e-33, -0.04891134053468704, -0.003332095453515649, -0.01117225456982851, -0.0013030717382207513, 0.014940784312784672, 0.010586127638816833, 0.0020979600958526134, 0.013064186088740826, -0.051175784319639206, 0.028805702924728394, -0.0462714359164238, 0.0102824866771698, -0.004448688589036465, 0.02763335034251213, 0.024143503978848457, -0.003916658461093903, 0.004337366670370102, -0.02884671837091446, -0.0032027969136834145, 0.03855939209461212, -0.016752751544117928, 0.014170167036354542, 0.011040049605071545, 0.03231034055352211, 0.04492611438035965, -0.0011874898336827755, -0.0005950697814114392, 0.006184219848364592, -0.04275079444050789, -0.012382038868963718, 0.029463088139891624, -0.0194148737937212, -0.006556435953825712, -0.020701201632618904, -0.008703963831067085, 0.009618817828595638, 0.004960852209478617, 0.012222743593156338, 0.014389757998287678, 0.009149995632469654, 0.0036007086746394634, -0.03636942803859711, -0.012239884585142136, 0.07720671594142914, 0.005986187141388655, 0.0211519505828619, -0.0019045706139877439, 0.007598900236189365, -0.0064182099886238575, 0.04874886944890022, -0.018452495336532593, 0.03516899049282074, 0.045965541154146194, 0.03545832633972168, 0.010840840637683868, -0.04569979012012482, 0.012728597968816757, 0.033553145825862885, 0.026899181306362152, 0.03371189534664154, -0.016879253089427948, -0.03103763423860073, -0.04804577678442001, 0.028080204501748085, -0.01639690063893795, -0.023347411304712296, -0.011044718325138092, 0.02771870046854019, -0.03298747539520264, -0.023408927023410797, -0.014264780096709728, 0.0054565127938985825, -0.010805048979818821, 0.022386575117707253, 0.03415515273809433, -0.011938867159187794, -0.01239166222512722, -0.012219890020787716, -0.052160438150167465, 0.02792532742023468, 0.013890072703361511, 0.02783418633043766, 0.0054920148104429245, -0.01008048839867115, 0.020366093143820763, -0.0152092594653368, -0.034802842885255814, 0.011662987992167473, -0.050575923174619675, 0.001660044421441853, 0.021740946918725967, 0.01999749056994915, -0.05126360431313515, 0.04338136315345764, -0.037863921374082565, -1.2184178999063988e-8, 0.027155624702572823, -0.030808644369244576, -0.02007424645125866, 0.012599391862750053, 0.0035243507008999586, 0.03291880711913109, -0.03295654430985451, 0.009779714979231358, -0.03129235655069351, 0.0410124808549881, 0.01599256508052349, 0.012715513817965984, 0.03711465746164322, 0.016124732792377472, 0.010406572371721268, -0.024074317887425423, 0.016285216435790062, -0.02598128467798233, 0.014971748925745487, 0.008229865692555904, 0.0063260807655751705, 0.0168019887059927, -0.02642197720706463, 0.03231402859091759, 0.0012593938736245036, -0.03360045328736305, 0.0520089715719223, -0.047271594405174255, -0.019096624106168747, -0.014890572987496853, -0.02042021043598652, -0.001072522485628724, -0.05991340056061745, 0.005212851800024509, -0.048244230449199677, 0.003784752916544676, 0.020122820511460304, 0.03399623557925224, 0.03276101499795914, 0.02384614199399948, -0.014166743494570255, 0.016361868008971214, -0.04071270301938057, -0.02278161607682705, -0.03251061588525772, 0.006303005386143923, -0.0625927671790123, -0.006594143807888031, 0.038313351571559906, -0.018229102715849876, -0.021221879869699478, 0.011101260781288147, 0.022294212132692337, 0.00784213375300169, 0.03071083314716816, 0.0043708207085728645, 0.009681697003543377, -0.0191150214523077, -0.00727295083925128, -0.013675179332494736, 0.03990499675273895, 0.022653797641396523, -0.027203304693102837, -0.02819756790995598 ]
neo4j-a-simple-example-using-the-jdbc-driver
https://markhneedham.com/blog/2013/06/20/neo4j-a-simple-example-using-the-jdbc-driver
false
2013-06-27 10:32:18
neo4j/cypher: Aggregating relationships within a path
[ "neo4j", "cypher" ]
[ "neo4j" ]
I recently came across an interesting use case of paths in a graph where we wanted to calculate the frequency of communication between two people by showing how frequently each emailed the other. The model looked like this: image::{{<siteurl>}}/uploads/2013/06/emails.png[Emails,458] which we can create with the following cypher statements: [source,cypher] ---- CREATE (email1 { name: 'Email 1', title: 'Some stuff' }) CREATE (email2 { name: 'Email 2', title: "Absolutely irrelevant" }) CREATE (email3 { name: 'Email 3', title: "Something else" }) CREATE (person1 { name: 'Mark' }) CREATE (person2 { name: 'Jim' }) CREATE (person3 { name: 'Alistair' }) CREATE (person1)-[:SENT]->(email1) CREATE (person2)-[:RECEIVED]->(email1) CREATE (person3)-[:RECEIVED]->(email1) CREATE (person1)-[:SENT]->(email2) CREATE (person2)-[:RECEIVED]->(email2) CREATE (person2)-[:SENT]->(email3) CREATE (person1)-[:RECEIVED]->(email3) ---- We want to return a list containing pairs of people and how many times they emailed each other, so in this case we want to return a table showing the following: [source,text] ---- +-------------------------------------------+ | Person 1 | Person 2 | P1 -> P2 | P2 -> P1 | |-------------------------------------------| | Alistair | Mark | 0 | 1 | | Jim | Mark | 1 | 2 | +-------------------------------------------+ ---- I started out with the following query which finds all the emails and then traverses out to find the sender and receiver and aggregates them together: [source,cypher] ---- START email = node:node_auto_index('name:"Email 1" name:"Email 2" name: "Email 3"') MATCH sender-[:SENT]->email<-[:RECEIVED]-receiver RETURN sender.name, receiver.name, COUNT(email) AS count ---- which returns the following: [source,text] ---- ==> +-------------------------------------+ ==> | sender.name | receiver.name | count | ==> +-------------------------------------+ ==> | "Mark" | "Jim" | 2 | ==> | "Jim" | "Mark" | 1 | ==> | "Mark" | "Alistair" | 1 | ==> +-------------------------------------+ ---- It gives us all the pairs that have sent emails to each other but doesn't group them together which is a bit annoying. Having realised that it was quite difficult to get that grouping of people if I started from the emails I changed the query to start from people instead and then traverse in on the emails they'd written to each other: [source,cypher] ---- START personA = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"'), personB = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"') MATCH personA-[s:SENT]->email<-[r:RECEIVED]-personB WHERE personA <> personB WITH personA, personB, LENGTH(COLLECT(s)) AS AToB MATCH personB-[s?:SENT]->email<-[r:RECEIVED]-personA RETURN personA.name, personB.name, AToB, LENGTH(COLLECT(s)) AS BToA ---- Here we start with our list of people and then find all the combinations where personA has sent an email that's been received by personB. If we execute just the first half of that we can see the email sent/received combinations: [source,cypher] ---- START personA = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"'), personB = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"') MATCH personA-[s:SENT]->email<-[r:RECEIVED]-personB WHERE personA <> personB RETURN personA, personB, email ---- [source,text] ---- ==> +---------------------------------------------------------------------------------------------------------+ ==> | personA | personB | email | ==> +---------------------------------------------------------------------------------------------------------+ ==> | Node[4]{name:"Mark"} | Node[5]{name:"Jim"} | Node[1]{name:"Email 1",title:"Some stuff"} | ==> | Node[4]{name:"Mark"} | Node[5]{name:"Jim"} | Node[2]{name:"Email 2",title:"Absolutely irrelevant"} | ==> | Node[5]{name:"Jim"} | Node[4]{name:"Mark"} | Node[3]{name:"Email 3",title:"Something else"} | ==> | Node[4]{name:"Mark"} | Node[6]{name:"Alistair"} | Node[1]{name:"Email 1",title:"Some stuff"} | ==> +---------------------------------------------------------------------------------------------------------+ ---- In the second half of the query we find the inverse relationships but we also want to indicate if one person hasn't sent any emails to the other one (e.g. Alistair to Mark) which is why I brought in the optional 'SENT' relationship. If we run that we get the following: [source,text] ---- ==> +-------------------------------------------+ ==> | personA.name | personB.name | AToB | BToA | ==> +-------------------------------------------+ ==> | "Jim" | "Mark" | 1 | 2 | ==> | "Mark" | "Alistair" | 1 | 0 | ==> | "Mark" | "Jim" | 2 | 1 | ==> +-------------------------------------------+ ---- It's a bit better in that we've now got the emails sent by pairs of people on the same row but we still have duplication e.g. Jim/Mark and Mark/Jim show as separate rows even though they show the same information. We also won't see a row if Person A hasn't sent an email to PersonB even if Person B has emailed Person A. At this stage I was a bit stuck but https://twitter.com/maxdemarzi[Max] pointed out that we could use the http://docs.neo4j.org/chunked/milestone/query-match.html#match-all-shortest-paths[all shortest paths algorithm] to solve the problem. We started out with the following query: [source,cypher] ---- START personA = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"'), personB = node:node_auto_index('name:"Mark" name: "Jim" name: "Alistair"') WITH personA,personB MATCH p = AllShortestPaths(personA-[:SENT|RECEIVED*..2]-personB) RETURN p ---- which returns: [source,text] ---- ==> +------------------------------------------------------------------------------------------------------------------------------+ ==> | p | ==> +------------------------------------------------------------------------------------------------------------------------------+ ==> | [Node[4]{name:"Mark"}] | ==> | [Node[4]{name:"Mark"},:SENT[0] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[1] {},Node[5]{name:"Jim"}] | ==> | [Node[4]{name:"Mark"},:SENT[3] {},Node[2]{name:"Email 2",title:"Absolutely irrelevant"},:RECEIVED[4] {},Node[5]{name:"Jim"}] | ==> | [Node[4]{name:"Mark"},:RECEIVED[6] {},Node[3]{name:"Email 3",title:"Something else"},:SENT[5] {},Node[5]{name:"Jim"}] | ==> | [Node[4]{name:"Mark"},:SENT[0] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[2] {},Node[6]{name:"Alistair"}] | ==> | [Node[5]{name:"Jim"},:RECEIVED[1] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"},:RECEIVED[4] {},Node[2]{name:"Email 2",title:"Absolutely irrelevant"},:SENT[3] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"},:SENT[5] {},Node[3]{name:"Email 3",title:"Something else"},:RECEIVED[6] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"}] | ==> | [Node[5]{name:"Jim"},:RECEIVED[1] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[2] {},Node[6]{name:"Alistair"}] | ==> | [Node[6]{name:"Alistair"},:RECEIVED[2] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] | ==> | [Node[6]{name:"Alistair"},:RECEIVED[2] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[1] {},Node[5]{name:"Jim"}] | ==> | [Node[6]{name:"Alistair"}] | ==> +------------------------------------------------------------------------------------------------------------------------------+ ---- Since we're only really interested in the emails that people have sent to each other we'll narrow down the result set to only include those paths: [source,cypher] ---- START personA = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"'), personB = node:node_auto_index('name:"Mark" name: "Jim" name: "Alistair"') WITH personA,personB MATCH p = AllShortestPaths(personA-[:SENT|RECEIVED*..2]-personB) WHERE ANY (x IN relationships(p) WHERE TYPE(x)= 'SENT') RETURN p ---- [source,text] ---- ==> +------------------------------------------------------------------------------------------------------------------------------+ ==> | p | ==> +------------------------------------------------------------------------------------------------------------------------------+ ==> | [Node[4]{name:"Mark"},:SENT[0] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[1] {},Node[5]{name:"Jim"}] | ==> | [Node[4]{name:"Mark"},:SENT[3] {},Node[2]{name:"Email 2",title:"Absolutely irrelevant"},:RECEIVED[4] {},Node[5]{name:"Jim"}] | ==> | [Node[4]{name:"Mark"},:RECEIVED[6] {},Node[3]{name:"Email 3",title:"Something else"},:SENT[5] {},Node[5]{name:"Jim"}] | ==> | [Node[4]{name:"Mark"},:SENT[0] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[2] {},Node[6]{name:"Alistair"}] | ==> | [Node[5]{name:"Jim"},:RECEIVED[1] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"},:RECEIVED[4] {},Node[2]{name:"Email 2",title:"Absolutely irrelevant"},:SENT[3] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"},:SENT[5] {},Node[3]{name:"Email 3",title:"Something else"},:RECEIVED[6] {},Node[4]{name:"Mark"}] | ==> | [Node[6]{name:"Alistair"},:RECEIVED[2] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] | ==> +------------------------------------------------------------------------------------------------------------------------------+ ---- There's currently some duplication because we have paths going both ways between people included. e.g. [source,text] ---- [Node[4]{name:"Mark"},:SENT[0] {},Node[1]{name:"Email 1",title:"Some stuff"},:RECEIVED[1] {},Node[5]{name:"Jim"}] ---- and: [source,text] ---- [Node[5]{name:"Jim"},:RECEIVED[1] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] ---- refer to the same thing. We'll filter by keeping the starting node which has a higher node id - we could use any property to do this comparison but id will do: [source,cypher] ---- START personA = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"'), personB = node:node_auto_index('name:"Mark" name: "Jim" name: "Alistair"') WITH personA,personB MATCH p = AllShortestPaths(personA-[:SENT|RECEIVED*..2]-personB) WHERE ANY (x IN relationships(p) WHERE TYPE(x)= 'SENT') AND ID(head(nodes(p))) > ID(head((tail(tail(nodes(p)))))) RETURN p ---- [source,text] ---- ==> +------------------------------------------------------------------------------------------------------------------------------+ ==> | p | ==> +------------------------------------------------------------------------------------------------------------------------------+ ==> | [Node[5]{name:"Jim"},:RECEIVED[1] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"},:RECEIVED[4] {},Node[2]{name:"Email 2",title:"Absolutely irrelevant"},:SENT[3] {},Node[4]{name:"Mark"}] | ==> | [Node[5]{name:"Jim"},:SENT[5] {},Node[3]{name:"Email 3",title:"Something else"},:RECEIVED[6] {},Node[4]{name:"Mark"}] | ==> | [Node[6]{name:"Alistair"},:RECEIVED[2] {},Node[1]{name:"Email 1",title:"Some stuff"},:SENT[0] {},Node[4]{name:"Mark"}] | ==> +------------------------------------------------------------------------------------------------------------------------------+ ---- Now we just need to do a bit more manipulation of these paths and we have exactly what we need: [source,cypher] ---- START personA = node:node_auto_index('name:"Mark" name:"Jim" name:"Alistair"'), personB = node:node_auto_index('name:"Mark" name: "Jim" name: "Alistair"') WITH personA,personB MATCH p = AllShortestPaths(personA-[:SENT|RECEIVED*..2]-personB) WHERE ANY (x IN relationships(p) WHERE TYPE(x)= 'SENT') AND ID(head(nodes(p))) > ID(head((tail(tail(nodes(p)))))) RETURN HEAD(NODES(p)) AS personA, HEAD((TAIL(TAIL(NODES(p))))) AS personB, LENGTH(FILTER(y IN COLLECT(HEAD(RELS(p))): TYPE(y)= 'SENT')) as AToB, LENGTH(FILTER(y IN COLLECT(HEAD(TAIL(RELS(p)))): TYPE(y)= 'SENT')) as BToA ---- What we've done here is count the number of 'SENT' relationships from person A's side of the path and then do the same for person B's side of the path. There's currently no way to do slicing of a collection in cypher otherwise we wouldn't need those nested calls to TAIL! We do however get the result we want: [source,text] ---- ==> +---------------------------------------------------------------+ ==> | personA | personB | AToB | BToA | ==> +---------------------------------------------------------------+ ==> | Node[6]{name:"Alistair"} | Node[4]{name:"Mark"} | 0 | 1 | ==> | Node[5]{name:"Jim"} | Node[4]{name:"Mark"} | 1 | 2 | ==> +---------------------------------------------------------------+ ---- I have no idea how well this query would perform for any significantly sized data set but it's an interesting query nonetheless.
null
null
[ 0.03177034482359886, -0.0004488349659368396, -0.019275879487395287, 0.047802358865737915, 0.09772369265556335, 0.01472877524793148, 0.01002747192978859, 0.028261873871088028, 0.027599306777119637, -0.024389445781707764, 0.0009813997894525528, -0.0012362080160528421, -0.07189491391181946, 0.007058068178594112, -0.004422971047461033, 0.0684359148144722, 0.044518712908029556, 0.02190243825316429, 0.006024939473718405, -0.020902277901768684, 0.02619873732328415, 0.05373409390449524, -0.0016958954511210322, 0.03852466866374016, 0.05773674324154854, 0.017874618992209435, 0.006785089615732431, -0.019049085676670074, -0.04545747488737106, 0.016614794731140137, 0.06011156365275383, -0.009077665396034718, 0.003795155556872487, -0.03703272342681885, 0.00980416964739561, -0.008949601091444492, -0.038471367210149765, 0.0013658009702339768, -0.020603356882929802, -0.006889889482408762, -0.03867628797888756, 0.032101504504680634, -0.014033244922757149, 0.010505974292755127, -0.04847218841314316, -0.0009552942938171327, -0.0869673490524292, 0.048782821744680405, 0.016181454062461853, 0.016261858865618706, -0.09215392917394638, 0.02325437404215336, -0.014691263437271118, 0.010308717377483845, 0.00912183802574873, 0.045784179121255875, 0.008080096915364265, -0.07351649552583694, 0.04445761814713478, -0.028278883546590805, 0.014175969175994396, -0.014297205954790115, 0.01746411807835102, 0.022278059273958206, -0.00855052936822176, -0.04169705882668495, 0.006657471414655447, 0.07152286916971207, -0.052307095378637314, -0.01596742682158947, -0.016209129244089127, 0.010728812776505947, -0.00391235388815403, -0.010949366725981236, -0.012814100831747055, -0.04591386392712593, 0.006360011175274849, 0.041347287595272064, 0.029454592615365982, 0.030305391177535057, -0.023165371268987656, 0.028451241552829742, -0.011353923007845879, 0.018941698595881462, -0.007684076204895973, -0.03368442878127098, -0.026553409174084663, -0.001637197914533317, -0.05260276049375534, 0.04398738965392113, 0.012843383476138115, -0.07475993037223816, -0.002922551240772009, -0.018280187621712685, -0.029929760843515396, 0.0032761080656200647, 0.008405975066125393, 0.001920810085721314, -0.01836715266108513, -0.017339205369353294, -0.001330612343735993, -0.020821649581193924, 0.00485149584710598, -0.007889771834015846, -0.09561077505350113, -0.009440877474844456, -0.031513772904872894, -0.01962236315011978, 0.02388528548181057, -0.011486387811601162, -0.030582550913095474, -0.013529138639569283, -0.01629544235765934, 0.02966490387916565, -0.08243634551763535, 0.07540129870176315, 0.02033376507461071, 0.0009580811019986868, -0.009428352117538452, 0.016002973541617393, 0.05219712853431702, 0.0004547450807876885, 0.026741815730929375, 0.08713900297880173, 0.01679159142076969, 0.025059210136532784, 0.02109004557132721, 0.04452783241868019, -0.023149846121668816, -0.06334274262189865, -0.029115496203303337, 0.05727114528417587, 0.012146605178713799, 0.001465644221752882, -0.0005782657535746694, -0.054672788828611374, -0.0012525712372735143, 0.013172592967748642, 0.026847906410694122, 0.025897657498717308, 0.011133001185953617, -0.03210700675845146, 0.04043913632631302, -0.01684115268290043, 0.02500027045607567, 0.021152330562472343, -0.03192302584648132, -0.025415169075131416, -0.010797406546771526, 0.011169242672622204, -0.0013648949097841978, 0.014759177342057228, 0.03264404833316803, -0.040920425206422806, 0.008924158290028572, 0.0968882367014885, 0.03215315192937851, 0.009398477151989937, -0.022954782471060753, -0.002014629542827606, 0.042599618434906006, 0.02144547738134861, 0.011439809575676918, 0.04815270006656647, 0.003658008063212037, -0.019140392541885376, 0.002652725437656045, 0.06083013489842415, -0.022432873025536537, -0.0003597437753342092, -0.06073829159140587, -0.030076295137405396, 0.06731031835079193, -0.023877346888184547, -0.02305476740002632, 0.06054528057575226, 0.0586702786386013, 0.023562058806419373, 0.03214293718338013, 0.003744079265743494, -0.07843401283025742, 0.03459860384464264, -0.002543155336752534, 0.005167245864868164, 0.01830667443573475, -0.026538396254181862, 0.07971487194299698, 0.02299894019961357, -0.005246252752840519, 0.04264923185110092, -0.08419610559940338, -0.08487936109304428, -0.001839672913774848, 0.0009100321913138032, 0.0594092532992363, -0.041605014353990555, 0.019883546978235245, 0.05386821925640106, 0.02375778555870056, 0.030727392062544823, 0.01594596542418003, 0.0028155732434242964, 0.03215800225734711, -0.036080606281757355, -0.05554422363638878, 0.04717772454023361, 0.011911384761333466, -0.045142270624637604, -0.04536662623286247, 0.018707627430558205, -0.022862624377012253, -0.013563168235123158, 0.03702849522233009, -0.020997419953346252, 0.031706757843494415, 0.026405977085232735, 0.025569289922714233, 0.010502628050744534, 0.013339539058506489, -0.05122321471571922, 0.018817372620105743, 0.011335168965160847, -0.028972970321774483, 0.017830081284046173, -0.018568729981780052, 0.12902867794036865, 0.07407443970441818, -0.010488167405128479, -0.04722331836819649, 0.038411695510149, 0.013526547700166702, -0.02609117142856121, 0.019222958013415337, -0.037101127207279205, 0.0008723569335415959, 0.0009240076178684831, -0.04935121908783913, -0.0244288370013237, 0.026203909888863564, -0.04661896452307701, 0.018718311563134193, 0.06059467792510986, -0.035098470747470856, 0.06970373541116714, -0.000651466369163245, 0.003933609463274479, -0.007495151367038488, -0.04199257120490074, -0.05343865603208542, 0.04225235432386398, 0.005073024891316891, -0.01762286201119423, 0.056692562997341156, -0.019022146239876747, -0.010989736765623093, -0.028829755261540413, -0.003760681487619877, 0.04576806724071503, 0.06063493341207504, 0.054306335747241974, -0.027034277096390724, 0.04260461404919624, -0.028204867616295815, 0.015326477587223053, -0.013381252996623516, -0.06847432255744934, -0.03766150027513504, -0.03798537328839302, 0.016805104911327362, -0.007968605495989323, 0.04496090114116669, -0.02884574420750141, 0.02159428969025612, 0.02283301018178463, 0.019205931574106216, 0.005176996812224388, 0.022132745012640953, 0.010048882104456425, -0.03261273354291916, -0.03665466234087944, -0.028164083138108253, 0.06560409069061279, -0.03878038749098778, -0.027725839987397194, 0.007910462096333504, -0.052549488842487335, 0.061657603830099106, -0.055299580097198486, -0.004566195886582136, 0.0018145475769415498, 0.03092302195727825, 0.04476664215326309, 0.012129087001085281, -0.0004999196389690042, 0.07289107888936996, 0.0025761155411601067, 0.011532706208527088, 0.016621246933937073, 0.010919284075498581, 0.05077771842479706, 0.006576471962034702, 0.03243524581193924, 0.033211756497621536, -0.01627090573310852, -0.014447961933910847, -0.020488368347287178, 0.012601390480995178, -0.0180687066167593, -0.2637588381767273, 0.0323544405400753, -0.0037657693028450012, -0.04615810886025429, 0.01138077862560749, -0.031088778749108315, 0.012160690501332283, -0.042475730180740356, -0.008688405156135559, -0.009307589381933212, -0.010507743805646896, -0.04158645495772362, -0.026638928800821304, 0.03448069095611572, 0.037882886826992035, 0.022467967122793198, -0.02164361998438835, -0.07200023531913757, 0.010503563098609447, 0.05302548408508301, 0.0054009235464036465, -0.05574173480272293, -0.01553014200180769, 0.01425202190876007, 0.010690012015402317, 0.022873295471072197, -0.07250667363405228, -0.016148244962096214, -0.0582464374601841, -0.008319073356688023, -0.0029009487479925156, -0.0319196991622448, 0.013819809071719646, -0.01059989258646965, -0.008729181252419949, -0.04770071431994438, 0.07054119557142258, 0.006702512502670288, 0.007356949150562286, 0.018933329731225967, -0.02793983556330204, -0.028108978644013405, -0.00425596721470356, -0.02581644430756569, 0.08628710359334946, 0.011615711264312267, -0.043901968747377396, -0.008200381882488728, -0.0236318651586771, 0.06375934183597565, -0.041361670941114426, -0.02766326069831848, -0.00678544444963336, 0.01067422516644001, -0.026000168174505234, -0.008294573053717613, -0.01687508262693882, 0.0038799792528152466, -0.07366593927145004, -0.030581774190068245, 0.0024406765587627888, -0.03919462114572525, 0.02425789088010788, -0.05572442337870598, 0.003801533952355385, -0.046073585748672485, -0.0672992616891861, -0.022252274677157402, 0.05342820659279823, 0.010921331122517586, -0.00579282408580184, 0.013718392699956894, -0.018382655456662178, -0.092289999127388, -0.025918351486325264, -0.007491456810384989, 0.00571197597309947, -0.004426639061421156, 0.012640716508030891, 0.022132718935608864, -0.029478877782821655, -0.05491543188691139, -0.0017521074041724205, 0.01075661089271307, 0.04436323419213295, -0.028018774464726448, 0.0207812637090683, -0.012331030331552029, -0.049948547035455704, -0.009807592257857323, 0.05574675649404526, -0.028282932937145233, -0.0073928674682974815, -0.004158169496804476, 0.0016447497764602304, 0.028661033138632774, 0.021349478513002396, -0.009052661247551441, 0.009340515360236168, 0.06016195937991142, 0.027000488713383675, -0.046785227954387665, 0.009313751943409443, -0.03555779531598091, -0.046399541199207306, 0.006720410659909248, -0.05022827535867691, 0.015341104939579964, 0.04101327061653137, 0.010655567049980164, -0.0025560290087014437, -0.02124909870326519, 0.026827670633792877, -0.03872419893741608, -0.02874397672712803, -0.03207648918032646, 0.023206224665045738, 0.032986074686050415, 0.04015427455306053, -0.0315040685236454, -0.08276904374361038, 0.036214929074048996, 0.02008792571723461, 0.0067061735317111015, -0.06421041488647461, -0.03500004857778549, -0.028335141018033028, -0.01955256052315235, -0.008952253498136997, 0.024404631927609444, -0.02346349135041237, 0.016036255285143852, 0.026764845475554466, -0.03797736018896103, 0.055810607969760895, 0.009357376955449581, -0.044038355350494385, -0.03392224758863449, -0.013124736025929451, 0.001955250510945916, -0.009071750566363335, 0.009477854706346989, 0.020024796947836876, 0.04167526960372925, 0.04161137714982033, 0.0015521784080192447, -0.011019944213330746, -0.004681188613176346, 0.004043792374432087, 0.0010399126913398504, -0.016466567292809486, -0.017168864607810974, 0.025664586573839188, -0.03861686587333679, -0.001733150682412088, 0.006657106336206198, 0.04066210985183716, -0.02968301624059677, -0.05016644299030304, -0.027741175144910812, 0.02928466908633709, -0.04935126006603241, 0.0035604785662144423, -0.03304525464773178, 0.00783977285027504, 0.07551723718643188, -0.01849599927663803, 0.009256589226424694, -0.019875645637512207, -0.014054096303880215, 0.020467689260840416, -0.020369496196508408, -0.034544844180345535, 0.02117953635752201, -0.01826106198132038, 0.0023770472034811974, 0.004451812244951725, 0.017650065943598747, 0.02437526360154152, 0.017273258417844772, -0.03944651409983635, -0.014210160821676254, -0.003835102776065469, 0.030082762241363525, 0.06393995136022568, 0.050966378301382065, -0.023304928094148636, -0.0021152053959667683, -0.025049671530723572, -0.010554949752986431, -0.005862911697477102, 0.008868243545293808, -0.047589030116796494, 0.0006908735958859324, -0.043511584401130676, -0.0737849771976471, 0.01862526126205921, -0.00634393747895956, 0.002007062314078212, 0.028443610295653343, 0.0241857897490263, -0.006592649035155773, -0.02132044918835163, 0.0173775777220726, 0.05010446533560753, -0.05887703597545624, 0.0007271598442457616, 0.016022291034460068, -0.0016740269493311644, 0.01533221174031496, 0.010504702106118202, -0.04782671481370926, -0.02742130123078823, -0.027579622343182564, 0.017548810690641403, -0.013293750584125519, -0.043039992451667786, -0.01799888163805008, -0.0014502282720059156, -0.01252696756273508, 0.026248034089803696, 0.0027510381769388914, -0.006290588993579149, -0.018356099724769592, -0.020411444827914238, 0.04307358339428902, -0.036587443202733994, -0.007355226203799248, 0.011415918357670307, -0.010817082598805428, 0.007349706254899502, -0.01563975028693676, 0.03760170564055443, 0.025482777506113052, -0.0017565959133207798, -0.0012641436187550426, -0.0647355169057846, 0.012851251289248466, 0.005483373999595642, 0.04867035150527954, -0.006610400043427944, -0.006616684142500162, -0.055016111582517624, -0.012687485665082932, -0.010483462363481522, 0.03663467615842819, 0.012839644216001034, -0.014015723951160908, 0.023832110688090324, 0.024502402171492577, -0.012385737150907516, 0.050241269171237946, -0.02317417599260807, -0.02668043226003647, 0.05444653332233429, -0.037981852889060974, -0.02308688499033451, -0.003936602734029293, -0.043520644307136536, 0.008650454692542553, -0.010394051671028137, 0.008857283741235733, -0.03470864146947861, 0.044937994331121445, 0.05176275223493576, 0.027499346062541008, 0.04282413423061371, -0.018819252029061317, 0.03761991858482361, -0.024040963500738144, 0.01835448481142521, -0.08275069296360016, -0.0017880320083349943, 0.03017164207994938, -0.012255050241947174, -0.004820061381906271, 0.015780048444867134, -0.02972494438290596, 0.00912002194672823, -0.05732797458767891, -0.03048255667090416, 0.030600547790527344, -0.02002866193652153, 0.014587042853236198, 0.03607077896595001, -0.05895627662539482, 0.0171812754124403, 0.05049440637230873, -0.034886348992586136, -0.018757475540041924, -0.010984151624143124, 0.06590639799833298, -0.034964244812726974, 0.02300083450973034, 0.011581804603338242, -0.008893347345292568, 0.06615205854177475, 0.036420077085494995, 0.0356149859726429, 0.0670485720038414, -0.03824979439377785, 0.034585367888212204, 0.040213827043771744, -0.02263103425502777, -0.012132884934544563, 0.04678099602460861, -0.025862442329525948, -0.05943705514073372, 0.03832109645009041, 0.009199880994856358, -0.012951535172760487, -0.06264040619134903, 0.07543733716011047, 0.009095764718949795, -0.04642770439386368, -0.05773121863603592, 0.03717826306819916, -0.025848686695098877, 0.0030980082228779793, -0.02102060057222843, 0.00021120991732459515, -0.04026441648602486, 0.06413698941469193, -0.024551257491111755, 0.0029451658483594656, 0.07531294226646423, -0.000861133448779583, -0.019021984189748764, -0.008842533454298973, 0.08224524557590485, 0.09876646101474762, 0.06381524354219437, 0.011908435262739658, 0.0740579217672348, -0.010027306154370308, -0.03692993149161339, -0.023546410724520683, -0.01824980415403843, -0.011159018613398075, 0.014013642445206642, 0.025810208171606064, 0.0873742550611496, -0.02347322180867195, 0.06713618338108063, -0.024146918207406998, -0.0059624770656228065, 0.021787770092487335, -0.0007708303164690733, 0.027369113638997078, 0.08103311061859131, 0.02202225849032402, 0.04465688392519951, -0.020284360274672508, -0.03513965755701065, 0.023549845442175865, -0.014451604336500168, -0.020241761580109596, 0.05328371748328209, -0.04097035899758339, 0.013760345987975597, -0.00818809773772955, 0.041645850986242294, 0.10379605740308762, -0.038706060498952866, -0.00743240537121892, -0.002638825448229909, 0.014598683454096317, -0.00101156672462821, 0.011628568172454834, -0.021069111302495003, -0.0070451050996780396, -0.025872087106108665, -0.05479861795902252, -0.053681887686252594, -0.05175003781914711, -0.03502677008509636, 0.0003641289658844471, -0.0026223682798445225, -0.009005428291857243, 0.010092921555042267, 0.004337249789386988, -0.01972953788936138, -0.04923444241285324, -0.05494751036167145, -0.046835873275995255, -0.06847519427537918, 0.0018388812895864248, -0.008395873010158539, -0.00819491595029831, -0.0332949198782444, 0.009813223034143448, -0.015870746225118637, 0.00037639663787558675, 0.0526893213391304, -0.032012589275836945, 0.004819072782993317, 0.018832026049494743, 0.03051609918475151, 0.020433425903320312, -0.004057766404002905, 0.04091022163629532, -0.0036553642712533474, 0.003677946049720049, -0.03868718072772026, 0.01191357709467411, 0.04282436519861221, 0.012759731151163578, -0.008142131380736828, -0.08727454394102097, -0.0066984714940190315, 0.007763337343931198, -0.029538827016949654, -0.09268585592508316, 0.026575084775686264, 0.03848385065793991, 0.030181201174855232, 0.054303452372550964, -0.011164690367877483, -0.025993894785642624, -0.030142806470394135, 0.002886381698772311, 0.003089097561314702, 0.0011476067593321204, 0.04994594305753708, -0.03880671411752701, 0.08385863900184631, 0.02332642301917076, -0.04242836311459541, -0.03324767202138901, -0.015113282948732376, -0.003056379035115242, 0.00910264253616333, -0.03880521282553673, -0.00408700667321682, -0.013871037401258945, -0.10334235429763794, -0.021485574543476105, 0.013240979053080082, -0.024055585265159607, -0.042892783880233765, -0.0028189036529511213, 0.01267394982278347, -0.007785306312143803, 0.020798787474632263, -0.05291194096207619, 0.029336892068386078, -0.016722511500120163, -0.0161933321505785, -0.042180486023426056, 0.004099228885024786, -0.0233768243342638, 0.03392868489027023, -0.00037884118501096964, -0.04551064223051071, -0.013269593007862568, -0.02295800857245922, 0.03581089898943901, 0.0167922955006361, 0.012454740703105927, 0.014856886118650436 ]
[ -0.05552822723984718, -0.011063975282013416, -0.03474529832601547, -0.0066199516877532005, 0.03409126400947571, -0.030266419053077698, 0.016472462564706802, -0.0033480743877589703, 0.04931124299764633, -0.018113333731889725, 0.027387358248233795, -0.02418462000787258, 0.022959351539611816, -0.021545425057411194, 0.07302679121494293, 0.012499206699430943, -0.011998348869383335, -0.07035475224256516, -0.04857989773154259, 0.039656464010477066, 0.01219217386096716, -0.05623340979218483, -0.03129133954644203, -0.009675133973360062, 0.029977088794112206, 0.04441705718636513, 0.028187304735183716, -0.03405006602406502, -0.03002820909023285, -0.18883275985717773, 0.016703426837921143, 0.010517545975744724, 0.014474201947450638, 0.010688760317862034, -0.003161722095683217, 0.013306901790201664, 0.02724214270710945, -0.015396399423480034, -0.011703693307936192, 0.03265529125928879, 0.033683184534311295, 0.00004836624066228978, -0.009704354219138622, -0.038205940276384354, 0.0253827515989542, -0.01740545593202114, -0.024087199941277504, -0.010333606041967869, -0.01735832914710045, -0.004466492682695389, -0.03329262509942055, -0.03304603323340416, 0.008846310898661613, -0.0004215366207063198, 0.0021599987521767616, 0.07330968976020813, 0.0492732860147953, 0.06378071010112762, 0.02543981559574604, 0.04386945441365242, 0.01007777638733387, 0.011621630750596523, -0.13297916948795319, 0.07596053928136826, 0.0036454403307288885, 0.02438993938267231, -0.06367144733667374, -0.0033034058287739754, -0.04361577704548836, 0.10869546234607697, 0.02548060566186905, -0.019388968124985695, -0.03488612547516823, 0.06582889705896378, 0.00487378379330039, 0.0029848346021026373, -0.029062146320939064, 0.03675760328769684, 0.00855018850415945, -0.028969688341021538, -0.06843458116054535, 0.02523348294198513, -0.01904921978712082, 0.014340383931994438, -0.004836115054786205, 0.03685573861002922, -0.005352382082492113, 0.02536773681640625, -0.0007759954896755517, -0.003147352719679475, 0.018030893057584763, 0.023786650970578194, 0.010356335900723934, 0.019919998943805695, -0.10679151117801666, -0.053509898483753204, -0.011593783274292946, 0.01206857617944479, -0.042372092604637146, 0.4085984528064728, -0.028759490698575974, 0.007890747860074043, 0.06531364470720291, 0.03885897248983383, -0.005919189658015966, -0.0020411794539541006, 0.03529469296336174, -0.0714637041091919, 0.016245944425463676, -0.016285836696624756, -0.011452978476881981, -0.043341994285583496, 0.01915805973112583, -0.10432422906160355, 0.03668089583516121, 0.038868699222803116, 0.0645928904414177, 0.0151650570333004, -0.010723673738539219, -0.01530124805867672, 0.00015704949328210205, 0.02746596746146679, 0.035284820944070816, 0.0023816507309675217, 0.017894675955176353, 0.01778588630259037, 0.0701763853430748, 0.06416158378124237, 0.03579806536436081, 0.0227592121809721, 0.0570654422044754, 0.016163954511284828, -0.05639253556728363, 0.005541977472603321, -0.03081834688782692, 0.007758853491395712, 0.004876543767750263, -0.044113148003816605, -0.009723789989948273, 0.04771747812628746, 0.022934526205062866, -0.01873122900724411, 0.04039496183395386, -0.0017835362814366817, -0.015350811183452606, 0.17901916801929474, 0.008433349430561066, -0.04151687026023865, -0.03311428427696228, -0.04499618336558342, -0.010286183096468449, 0.0214602779597044, 0.02987687848508358, -0.09470021724700928, -0.0017812146106734872, 0.03733530640602112, 0.06484891474246979, -0.009620207361876965, -0.050290342420339584, -0.0018952505197376013, -0.008228053338825703, -0.04948996379971504, -0.05872868001461029, 0.09225858002901077, 0.06091056019067764, -0.1296292394399643, -0.003297412535175681, 0.016928916797041893, 0.00510431220754981, -0.08402494341135025, 0.022098373621702194, 0.007050653453916311, -0.02240067347884178, 0.000004497395366342971, 0.047412265092134476, -0.017690803855657578, -0.029432853683829308, -0.021649405360221863, 0.025854337960481644, 0.01405252143740654, -0.012227404862642288, 0.018766682595014572, -0.037312865257263184, 0.02820310741662979, -0.07916618138551712, -0.028031352907419205, -0.053220801055431366, 0.029198704287409782, -0.02448246441781521, -0.03055552765727043, -0.03393837809562683, -0.006877110805362463, -0.018800530582666397, 0.08066205680370331, -0.08557432144880295, -0.036510713398456573, -0.009642749093472958, -0.0006011065561324358, -0.029870513826608658, -0.03476129099726677, -0.0008015368366613984, -0.009931371547281742, -0.030115658417344093, 0.008720853365957737, -0.07037394493818283, 0.023311378434300423, 0.03797193244099617, -0.023923644796013832, 0.08070353418588638, 0.02796540968120098, -0.013504543341696262, -0.013672903180122375, 0.0057996115647256374, 0.011812249198555946, -0.0065535553731024265, -0.008610660210251808, -0.011577880010008812, 0.0010886534582823515, 0.027531787753105164, 0.05532759055495262, -0.026152875274419785, -0.02036496251821518, -0.01741158589720726, -0.3412858843803406, -0.055894847959280014, 0.021752096712589264, 0.004398497752845287, 0.009753755293786526, -0.04904518276453018, 0.022962963208556175, -0.012551137246191502, 0.007846898399293423, 0.0334138423204422, 0.08167293667793274, -0.010492800734937191, -0.0305720716714859, -0.07290830463171005, 0.010335915721952915, 0.021155251190066338, -0.04007621109485626, -0.008602532558143139, -0.018476979807019234, 0.03403297811746597, -0.01759316213428974, -0.01854356937110424, 0.013012460432946682, -0.05385291948914528, -0.004133683629333973, -0.003782135434448719, 0.1260739266872406, 0.016886277124285698, 0.018283234909176826, -0.0602077953517437, 0.03505881503224373, 0.009411395527422428, 0.002212072256952524, -0.044687580317258835, 0.021651843562722206, -0.01918429508805275, 0.011762200854718685, -0.011819339357316494, 0.008066114969551563, -0.016954749822616577, -0.08958473801612854, -0.00025148296845145524, -0.020751575008034706, -0.02300989255309105, -0.06825079023838043, 0.009831322357058525, -0.017868826165795326, -0.06308513134717941, -0.014428072609007359, 0.07866985350847244, 0.019507629796862602, -0.007608566898852587, 0.024168621748685837, 0.03320258483290672, 0.02647717483341694, -0.042576372623443604, -0.06513535231351852, -0.0014284440549090505, -0.026358438655734062, -0.005949261132627726, -0.00868094153702259, 0.024931039661169052, 0.018626879900693893, -0.06510532647371292, 0.02763248048722744, 0.01571504771709442, -0.014727595262229443, -0.011195081286132336, 0.024077294394373894, -0.010488414205610752, -0.02305532433092594, 0.08623100072145462, -0.010871533304452896, 0.006455509923398495, 0.049100033938884735, 0.025805208832025528, -0.03353463113307953, 0.00024156624567694962, -0.013019010424613953, 0.004200353287160397, 0.06506246328353882, -0.0459139347076416, 0.06235496699810028, -0.02085564285516739, 0.0048060230910778046, 0.014722551219165325, 0.019830195233225822, -0.02865845523774624, 0.060715191066265106, 0.02921290509402752, -0.009836486540734768, -0.027328796684741974, -0.022483408451080322, -0.04675636440515518, 0.08024285733699799, -0.033487655222415924, -0.28839537501335144, 0.02123439870774746, 0.027836943045258522, 0.07445185631513596, 0.01046463381499052, 0.03161652386188507, 0.02757207676768303, 0.006393108516931534, -0.01826752908527851, -0.00019651312322821468, 0.0015265210531651974, 0.040831293910741806, 0.023072199895977974, -0.022341391071677208, 0.00013785719056613743, 0.012454780749976635, 0.0516502745449543, -0.014243756420910358, -0.012390954419970512, 0.019101891666650772, 0.02158329449594021, -0.02857009693980217, 0.18080955743789673, 0.03798840939998627, 0.013217893429100513, 0.03049403987824917, -0.001987380674108863, -0.003275818657130003, 0.05232120677828789, -0.011161353439092636, -0.0037017555441707373, -0.019819917157292366, 0.026472309604287148, 0.02338024415075779, 0.02789662964642048, -0.038479581475257874, 0.005867043975740671, 0.029255567118525505, 0.0037877224385738373, -0.03275764361023903, 0.001805288135074079, -0.006934315897524357, -0.04280850663781166, 0.027127306908369064, 0.05490608885884285, 0.0003919692535419017, -0.0070607527159154415, -0.004737171344459057, -0.029011426493525505, -0.01197006180882454, -0.018925856798887253, -0.05102591961622238, -0.0220877043902874, 0.032672178000211716, 0.028664909303188324, 0.09286244958639145, 0.031036045402288437, -0.019132306799292564, -0.0004865853115916252, 0.01045556366443634, -0.03941207006573677, -0.013769635930657387, 0.12362924218177795, -0.045090798288583755, 0.012977507896721363 ]
[ -0.0009262735839001834, 0.03002817928791046, 0.04282582551240921, 0.041783396154642105, 0.004941317718476057, -0.034986767917871475, -0.024005118757486343, 0.013365712948143482, 0.006559776607900858, 0.005395646672695875, -0.013491540215909481, 0.00870508048683405, 0.05271023139357567, 0.012735513038933277, 0.0181428249925375, 0.008622068911790848, 0.004232555162161589, 0.0251014344394207, 0.05532630905508995, -0.024084771052002907, -0.03179371356964111, -0.0036163784097880125, 0.04457814618945122, -0.03328781947493553, 0.008313124999403954, 0.005843140184879303, -0.014287340454757214, 0.023221801966428757, 0.0218982994556427, -0.10825846344232559, -0.019084814935922623, -0.01772393472492695, -0.011739008128643036, 0.030454175546765327, -0.061182279139757156, -0.011723767966032028, 0.038000594824552536, 0.03221873566508293, 0.03272043541073799, -0.00031234812922775745, 0.015383577905595303, -0.0248631089925766, -0.001116731553338468, -0.021702051162719727, 0.0244390070438385, -0.0012852911604568362, -0.03003942035138607, 0.013288654386997223, -0.03463082015514374, 0.0019598372746258974, -0.03273440897464752, -0.032142091542482376, 0.004903451073914766, 0.010941016487777233, 0.03917719051241875, 0.023213356733322144, -0.05338921770453453, 0.003059329465031624, 0.0001549644221086055, -0.036927152425050735, 0.0019321361323818564, -0.01729447953402996, -0.07117269933223724, -0.029336318373680115, 0.013168231584131718, -0.03834344446659088, -0.006674192845821381, 0.01960952766239643, 0.028685571625828743, 0.007111636456102133, -0.02391747012734413, 0.018311714753508568, -0.055964577943086624, 0.003271776018664241, 0.012845516204833984, 0.03677096962928772, 0.017902936786413193, 0.012496966868638992, 0.003864475293084979, -0.012841364368796349, -0.019912056624889374, -0.002430373802781105, -0.03423123061656952, 0.017414186149835587, 0.020631447434425354, -0.03501765802502632, -0.006966278422623873, 0.016773462295532227, 0.007548692170530558, -0.008133620023727417, -0.027809884399175644, 0.01247791200876236, -0.007519134320318699, 0.019900932908058167, -0.11341587454080582, 0.010634617879986763, -0.01499850396066904, -0.002664951840415597, 0.019251665100455284, 0.828766942024231, 0.04493673890829086, -0.004924210254102945, 0.016999265179038048, 0.029782669618725777, 0.01555200107395649, 0.010469644330441952, -0.01605965755879879, 0.002680448116734624, -0.022375978529453278, -0.008091896772384644, 0.014460676349699497, 0.006403451785445213, 0.006532470230013132, 0.007735083345323801, 0.009955856949090958, 0.035014864057302475, -0.007585837040096521, 0.04716600105166435, 0.02845856174826622, 0.01883740909397602, -0.005999412853270769, -0.01879660226404667, -0.018059317022562027, -0.004323501139879227, -0.013864153996109962, -0.20586375892162323, 0.011654134839773178, -7.258715085210058e-33, 0.007038521114736795, 0.0024141089525073767, 0.06898555159568787, -0.008559871464967728, 0.016457993537187576, 0.019208455458283424, 0.0011795354075729847, -0.006603797897696495, -0.027400782331824303, -0.05870417505502701, -0.019092705100774765, 0.011452801525592804, 0.01823597215116024, -0.016111813485622406, 0.013341562822461128, -0.023177022114396095, 0.01582556590437889, 0.0233245100826025, 0.018449191004037857, -0.004416415933519602, 0.023427482694387436, -0.011366486549377441, -0.016551358625292778, 0.019354073330760002, 0.02988543175160885, 0.012520752847194672, 0.011649217456579208, -0.022388746961951256, -0.004097944591194391, -0.049239035695791245, -0.030027087777853012, 0.03257979452610016, 0.0032389541156589985, 0.008164355531334877, 0.000097162694146391, -0.04651477187871933, -0.017691923305392265, 0.0026346826925873756, -0.01784154213964939, -0.057108793407678604, -0.030757134780287743, 0.001584960031323135, -0.0008001623209565878, -0.018306637182831764, -0.0711551234126091, 0.014547521248459816, 0.019326122477650642, -0.008425457403063774, -0.0020411505829542875, -0.0006887575727887452, 0.044960688799619675, -0.015487552620470524, -0.03239407762885094, 0.024801243096590042, -0.005737716797739267, 0.006841073743999004, 0.009026759304106236, 0.02388869598507881, -0.003642721800133586, 0.02421889267861843, 0.008104048669338226, 0.014315513893961906, 0.011689373292028904, 0.04614173248410225, -0.0026169202756136656, 0.015564911998808384, -0.02156924270093441, 0.010110204108059406, -0.002200196497142315, 0.04697723686695099, -0.0358513742685318, 0.06052980571985245, -0.00319674052298069, -0.03786265105009079, 0.0505172535777092, -0.051549382507801056, -0.04149510711431503, -0.03605135902762413, -0.005756670143455267, 0.030996253713965416, -0.04338207468390465, -0.019606230780482292, -0.03390417993068695, 0.003918258473277092, -0.003763871267437935, -0.03711593896150589, 0.002332007512450218, 0.036788418889045715, -0.03587190806865692, 0.017848698422312737, 0.0623883381485939, 0.01407530251890421, 0.008580130524933338, 0.015861090272665024, -0.010640986263751984, 7.632805142099712e-33, -0.006804122589528561, 0.036912672221660614, 0.0039889756590127945, -0.004733165726065636, -0.0036122207529842854, -0.007444198243319988, 0.045951519161462784, 0.017562558874487877, -0.021428793668746948, 0.02857288159430027, -0.018331078812479973, -0.0029957944061607122, 0.005312082823365927, 0.029617704451084137, 0.05510340631008148, -0.03444686159491539, 0.032169077545404434, -0.004683719016611576, 0.011578358709812164, 0.021799521520733833, -0.01807856746017933, -0.006841954775154591, 0.0061060478910803795, 0.03127649798989296, -0.004116208758205175, 0.04283587634563446, 0.0037810602225363255, -0.007580220233649015, -0.0010070356074720621, 0.006544459145516157, 0.0002828029391821474, -0.030622689053416252, 0.006417898461222649, -0.02436983585357666, 0.017499417066574097, 0.006888594012707472, 0.013261840678751469, 0.0024800964165478945, 0.016517268493771553, 0.0036584604531526566, 0.01651286706328392, 0.02881380170583725, -0.024655677378177643, 0.05544706806540489, 0.02823818475008011, 0.020608512684702873, -0.004198300186544657, -0.004462304059416056, -0.02247985638678074, 0.015730835497379303, 0.010161946527659893, 0.024915974587202072, -0.032166898250579834, 0.029967593029141426, 0.019693709909915924, -0.01949436403810978, -0.032421089708805084, 0.02723683789372444, 0.008748904801905155, -0.026548290625214577, -0.03862394392490387, -0.009676257148385048, -0.04261074960231781, 0.018543044105172157, 0.012927081435918808, -0.01528187096118927, -0.02775205299258232, 0.0007452501449733973, -0.009766588918864727, 0.018025437369942665, -0.013184629380702972, 0.007975212298333645, -0.017664212733507156, 0.018052157014608383, 0.04643119499087334, -0.011074995622038841, -0.019238609820604324, -0.00397885637357831, -0.019474845379590988, 0.036459993571043015, 0.0359506830573082, -0.03445683792233467, 0.0035540007520467043, 0.022435203194618225, -0.03111823834478855, -0.022861236706376076, -0.027770141139626503, 0.017740905284881592, 0.014598323032259941, 0.027035562321543694, 0.03888161480426788, -0.018733467906713486, -0.02773474156856537, 0.04639551788568497, -0.014851495623588562, -1.2775636548667535e-8, -0.05303972586989403, -0.025080606341362, -0.022090207785367966, -0.008000840432941914, 0.028565771877765656, 0.016372106969356537, 0.02083749510347843, 0.004910739604383707, 0.009102735668420792, 0.005043691024184227, 0.011288047768175602, -0.0074765984900295734, -0.004060720093548298, 0.0388561487197876, 0.014339076355099678, -0.03811754286289215, 0.009269112721085548, -0.03764045238494873, 0.03759869933128357, 0.017873195931315422, -0.014542272314429283, 0.0427631177008152, -0.057137951254844666, 0.002600938780233264, 0.014334343373775482, -0.014888201840221882, 0.01086108572781086, -0.062160003930330276, -0.0050886268727481365, -0.03373575955629349, -0.006403557490557432, -0.042442742735147476, -0.016449682414531708, 0.06488274782896042, -0.07765455543994904, -0.036183472722768784, 0.007333705667406321, 0.0026737493462860584, 0.014762750826776028, 0.057663459330797195, 0.013033762574195862, 0.00613746140152216, -0.028955809772014618, -0.027357200160622597, -0.011160675436258316, 0.008910132572054863, -0.008761976845562458, -0.011958872899413109, 0.003913531545549631, -0.03171743452548981, -0.004865214694291353, -0.012331495992839336, 0.002477840753272176, 0.004928012378513813, 0.01734793744981289, -0.010763377882540226, 0.00495713297277689, -0.028981365263462067, -0.007688009180128574, -0.000719442090485245, 0.010975144803524017, 0.02257763408124447, -0.030217008665204048, -0.02248353697359562 ]
neo4jcypher-aggregating-relationships-within-a-path
https://markhneedham.com/blog/2013/06/27/neo4jcypher-aggregating-relationships-within-a-path
false
2013-06-29 08:44:00
Vagrant 1.2.2: `[]': can't convert Symbol into Integer (TypeError)/The following settings don't exist
[ "vagrant" ]
[ "Software Development" ]
As I mentioned in my previous post I've been playing around with Vagrant for the past couple of days and I was trying to adapt a https://gist.github.com/nfisher/4982076[Vagrantfile that Nathan created] a few months ago to do what I wanted. I'm using Vagrant 1.2.2 and I started out with the following Vagrantfile: [source,ruby] ---- Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.define :neo01 do |neo| neo.vm.network :hostonly, "192.168.33.101" neo.vm.forward_port 8080, 4569 end end ---- Unfortunately a 'vagrant up' doesn't quite work as expected: [source,bash] ---- $ vagrant up /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/kernel_v2/config/vm.rb:146:in `[]': can't convert Symbol into Integer (TypeError) from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/kernel_v2/config/vm.rb:146:in `network' from /Users/markneedham/projects/support/haproxy/Vagrantfile:19:in `block (2 levels) in <top (required)>' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/v2/loader.rb:37:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/v2/loader.rb:37:in `load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/loader.rb:104:in `block (2 levels) in load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/loader.rb:98:in `each' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/loader.rb:98:in `block in load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/loader.rb:95:in `each' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/config/loader.rb:95:in `load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:329:in `machine' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:131:in `block in with_target_vms' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:164:in `call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:164:in `block in with_target_vms' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:163:in `map' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/plugin/v2/command.rb:163:in `with_target_vms' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/up/command.rb:42:in `block in execute' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:206:in `block (2 levels) in batch' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:204:in `tap' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:204:in `block in batch' from <internal:prelude>:10:in `synchronize' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:203:in `batch' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/up/command.rb:41:in `execute' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/cli.rb:46:in `execute' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/environment.rb:467:in `cli' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/bin/vagrant:84:in `<top (required)>' from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load' from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>' ---- The problem line is 'neo.vm.network :hostonly, "192.168.33.101"' which I learnt is because https://github.com/mitchellh/vagrant/issues/1628[the way you setup networking has changed slightly between the versions]. We now need something like this: [source,ruby] ---- Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.define :neo01 do |neo| neo.vm.network :private_network, ip: "192.168.33.101" neo.vm.forward_port 8080, 4569 end end ---- If we run 'vagrant up' again we'll see that error has been removed and we have a new one! [source,bash] ---- $ vagrant up Bringing machine 'neo01' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: vm: * The following settings don't exist: forward_port ---- It turns out the way that we do port forwarding has also changed. Annoyingly if you google 'vagrant port forwarding' it still points you to the http://docs-v1.vagrantup.com/v1/docs/getting-started/ports.html[old documentation] rather than the http://docs.vagrantup.com/v2/getting-started/networking.html[newer one]. We need to change our code to the following: [source,ruby] ---- Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.define :neo01 do |neo| neo.vm.network :private_network, ip: "192.168.33.101" neo.vm.network :forwarded_port, host: 4569, guest: 8080 end end ---- If we run 'vagrant up' now it's much happier: [source,bash] ---- $ vagrant up Bringing machine 'neo01' up with 'virtualbox' provider... [neo01] Setting the name of the VM... [neo01] Clearing any previously set forwarded ports... ... ----
null
null
[ 0.010722292587161064, -0.01970929652452469, -0.01740558259189129, 0.049838677048683167, 0.08407465368509293, 0.04463201388716698, 0.03882106766104698, -0.012065180577337742, 0.013400842435657978, -0.04474197328090668, -0.03764471411705017, -0.010331904515624046, -0.06062305346131325, 0.02579154260456562, -0.002293588826432824, 0.05481688305735588, 0.06672899425029755, -0.006154288072139025, -0.020780259743332863, 0.007047080434858799, 0.023273739963769913, 0.046348437666893005, 0.034619368612766266, 0.021404679864645004, 0.0032177676912397146, 0.02483835257589817, 0.02261572889983654, -0.016294175758957863, -0.07909231632947922, 0.01694408990442753, 0.006592510733753443, -0.011982731521129608, 0.025830306112766266, -0.04426330700516701, 0.018688412383198738, -0.011466733179986477, -0.020813019946217537, -0.011049067601561546, 0.010572437196969986, -0.011834229342639446, -0.05322583392262459, 0.03722969815135002, 0.014232303947210312, 0.02414718270301819, -0.0048622675240039825, 0.024716945365071297, -0.0266864113509655, 0.01889876089990139, 0.013399011455476284, -0.016158785670995712, -0.04288299381732941, 0.016618018969893456, 0.007439308799803257, -0.03451527655124664, 0.012768002226948738, 0.03027019463479519, 0.0072991200722754, -0.08556395024061203, 0.04818820580840111, -0.029965059831738472, -0.0012048031203448772, 0.011131078004837036, 0.015499560162425041, 0.009309045970439911, 0.026188168674707413, -0.017826689407229424, -0.02022348716855049, 0.03219345957040787, -0.0423692986369133, -0.0244885440915823, 0.019748114049434662, -0.005164140369743109, -0.029303448274731636, -0.01732700690627098, 0.0408119261264801, -0.02781098708510399, -0.005133930128067732, 0.05328713729977608, 0.02046613022685051, 0.05603129416704178, -0.047351326793432236, 0.0024553316179662943, 0.019695686176419258, 0.0341905802488327, 0.007011298090219498, -0.07108627259731293, -0.03408830985426903, 0.012247378937900066, -0.039017267525196075, 0.0849062129855156, 0.05932334437966347, -0.05816061794757843, 0.0552382655441761, 0.004112325143069029, -0.004349289461970329, 0.013140919618308544, -0.002571635879576206, -0.037662677466869354, 0.0016360643785446882, 0.00405307300388813, -0.05487093701958656, 0.00923487264662981, -0.017712131142616272, 0.01283755712211132, -0.07008221745491028, 0.007323287893086672, -0.045683883130550385, -0.025789830833673477, -0.02009071782231331, -0.018910806626081467, -0.008730432949960232, 0.022900937125086784, -0.012467441149055958, 0.007095725741237402, -0.0724543109536171, 0.06094687059521675, 0.046949245035648346, -0.06760237365961075, -0.0005135504179634154, 0.01670319028198719, 0.07776778936386108, 0.02709094248712063, -0.017642294988036156, 0.049490123987197876, 0.004960394464433193, 0.010900057852268219, 0.015107681043446064, 0.02939491532742977, -0.02344733104109764, -0.044723108410835266, -0.020562579855322838, 0.09516631811857224, 0.011186513118445873, 0.028660297393798828, -0.0013758722925558686, -0.017413998022675514, -0.024924324825406075, -0.03813733905553818, 0.059493038803339005, 0.006872913334518671, -0.021010538563132286, -0.012287532910704613, 0.014145360328257084, -0.0015846980968490243, 0.01500292681157589, 0.03148888796567917, 0.016578538343310356, -0.04214423522353172, -0.037363793700933456, 0.007562247570604086, -0.0004856590530835092, 0.013928765431046486, 0.04953262209892273, -0.0199652761220932, -0.005252577364444733, 0.08534444868564606, 0.04129721224308014, 0.0041639613918960094, -0.015633586794137955, -0.011997275985777378, 0.01367151364684105, 0.029411202296614647, 0.03125106170773506, 0.07254663109779358, 0.023972930386662483, -0.011710280552506447, -0.001314243534579873, 0.061158712953329086, 0.0210955198854208, 0.008953836746513844, -0.04128517955541611, -0.09086978435516357, 0.06339332461357117, -0.03601996228098869, -0.005642248317599297, 0.01793515495955944, 0.09752759337425232, 0.019362350925803185, 0.01829635724425316, -0.024160712957382202, -0.08464886248111725, 0.030886203050613403, 0.003609700594097376, 0.04239827021956444, 0.03385546803474426, -0.007765446323901415, 0.050590917468070984, 0.018884753808379173, 0.009217395447194576, 0.02520759217441082, -0.07191505283117294, -0.062270816415548325, -0.019082875922322273, -0.0038826344534754753, 0.04830406978726387, -0.010401747189462185, -0.031211795285344124, 0.0386502631008625, 0.01161819975823164, 0.014529327861964703, 0.00924625713378191, -0.02170346863567829, 0.013197684660553932, -0.0478488989174366, -0.058064162731170654, 0.061757899820804596, 0.03413159027695656, -0.0032032225281000137, -0.05664440244436264, -0.0011264629429206252, -0.03388753905892372, -0.012004395015537739, 0.05221301317214966, -0.046217333525419235, 0.0785064622759819, 0.01801306940615177, 0.022026225924491882, -0.02358081378042698, 0.003569203894585371, -0.013186612166464329, 0.01593567617237568, 0.0007867247913964093, -0.012435086071491241, -0.012364157475531101, -0.0017413103487342596, 0.12169650942087173, 0.047049086540937424, -0.018787238746881485, -0.047583069652318954, -0.0027266584802418947, 0.018889617174863815, -0.05335104465484619, -0.003247758373618126, -0.013296685181558132, 0.003984837327152491, 0.009399831295013428, -0.030215226113796234, -0.04863421618938446, 0.01339265238493681, -0.03143605962395668, 0.00843078549951315, 0.0729236900806427, -0.023336483165621758, 0.04220563545823097, 0.009462635964155197, -0.01770351268351078, 0.009127307683229446, -0.042736366391181946, -0.06511335074901581, -0.001543212216347456, 0.054880935698747635, -0.010902706533670425, 0.02237323299050331, -0.012246141210198402, 0.007648419588804245, -0.011831034906208515, -0.04805959388613701, 0.04427657648921013, 0.028047997504472733, 0.06342127919197083, -0.007949665188789368, 0.03683081269264221, -0.03809098154306412, 0.012369227595627308, -0.03402003273367882, -0.02920893393456936, -0.03690836578607559, 0.013494365848600864, 0.017802149057388306, 0.010273979976773262, 0.028405556455254555, -0.00848535168915987, 0.009146231226623058, -0.012454274110496044, 0.049847111105918884, -0.022649653255939484, 0.03996005281805992, 0.007451181765645742, -0.017327256500720978, -0.037462495267391205, -0.014170206151902676, 0.05958655849099159, -0.05959644913673401, 0.015514781698584557, -0.0012827778700739145, -0.03814275562763214, 0.05658326297998428, -0.07634248584508896, -0.016944020986557007, -0.031037824228405952, 0.044644858688116074, 0.039031513035297394, 0.04245208948850632, 0.02550129033625126, 0.05469314381480217, 0.03121090680360794, 0.035146165639162064, 0.038580115884542465, 0.009748438373208046, 0.05574388429522514, 0.0018462440930306911, 0.0035102153196930885, 0.031168891116976738, -0.018048137426376343, -0.01888863556087017, -0.04642932489514351, 0.01443764939904213, -0.03195759654045105, -0.26566874980926514, 0.06483189016580582, -0.017650309950113297, -0.033004697412252426, 0.027729704976081848, -0.0031365901231765747, -0.007541514467447996, -0.03792582079768181, -0.026937570422887802, 0.012257011607289314, -0.022964509204030037, -0.032001882791519165, 0.011375886388123035, -0.003780198749154806, -0.031799815595149994, 0.004334222991019487, 0.011986726894974709, -0.055325910449028015, 0.01675848662853241, -0.017985446378588676, -0.03013937547802925, -0.04269444942474365, 0.012588298879563808, 0.06155667081475258, 0.020397590473294258, 0.052194420248270035, -0.06445521861314774, 0.049100250005722046, -0.027481094002723694, -0.006265442818403244, 0.002621069783344865, -0.013961365446448326, 0.012753741815686226, 0.019018424674868584, -0.007404474075883627, -0.013694890774786472, 0.0303096491843462, 0.0032358199823647738, 0.08947966992855072, 0.01284101139754057, -0.029059158638119698, -0.005719705950468779, 0.0014290399849414825, -0.00324367918074131, 0.06899252533912659, -0.06426740437746048, -0.08508102595806122, -0.0013108000857755542, -0.02723781391978264, 0.08580786734819412, -0.011448106728494167, -0.056992337107658386, -0.015057018026709557, 0.02581118606030941, 0.01907198317348957, -0.0001195346558233723, -0.02307102456688881, -0.002400921657681465, -0.04650101065635681, -0.03888264670968056, -0.011590941809117794, -0.0251919012516737, -0.01102911401540041, -0.05973352491855621, -0.0037864346522837877, -0.03809279575943947, -0.07164760679006577, -0.03996320813894272, 0.05682424455881119, 0.04176497086882591, -0.03583620861172676, 0.014446230605244637, -0.023357730358839035, -0.10577534884214401, -0.008071827702224255, -0.02369553968310356, -0.05541612580418587, 0.0063477312214672565, -0.012982023879885674, 0.04775678366422653, -0.03713520988821983, -0.03788336366415024, 0.012950217351317406, 0.003277045441791415, -0.005948258098214865, 0.0037868362851440907, -0.005541703198105097, -0.042761921882629395, -0.0020097652450203896, -0.000020899991795886308, 0.0609014667570591, -0.048926230520009995, -0.04762866348028183, -0.0068568941205739975, 0.010519185103476048, 0.021293533965945244, 0.02096911147236824, -0.0014290643157437444, 0.02425013855099678, 0.08214792609214783, 0.02692362852394581, -0.0498010516166687, 0.003172593656927347, -0.036376770585775375, -0.011789252050220966, 0.015889450907707214, -0.048815980553627014, 0.026535067707300186, 0.04303475469350815, 0.0460808239877224, -0.029256680980324745, -0.06992244720458984, 0.024514097720384598, -0.06829874217510223, -0.007534919772297144, -0.004867199342697859, 0.03258601948618889, 0.018317686393857002, 0.02365959994494915, 0.02482704445719719, -0.034323662519454956, -0.01268858928233385, 0.013798503205180168, -0.014693479984998703, -0.03300187364220619, 0.011532586999237537, 0.0023112320341169834, 0.009692938067018986, -0.0036575240083038807, -0.012842782773077488, -0.030558288097381592, 0.00040970652480609715, 0.008783304132521152, -0.04997016862034798, 0.020968331024050713, -0.005888346116989851, -0.04712994396686554, -0.04332880303263664, 0.019071733579039574, -0.0025018472224473953, -0.05126779526472092, 0.010408488102257252, 0.030257850885391235, 0.023854030296206474, 0.0609012097120285, 0.015176918357610703, 0.04829087853431702, -0.019357604905962944, -0.005609653424471617, -0.012409987859427929, -0.0065475511364638805, -0.06682483106851578, 0.023214150220155716, -0.027408728376030922, -0.039233624935150146, -0.010388711467385292, 0.05785323306918144, -0.018861835822463036, -0.011659033596515656, -0.026873890310525894, 0.02501295506954193, -0.06856651604175568, -0.06476864963769913, 0.004539282526820898, -0.005297359544783831, 0.05197823420166969, 0.02120853215456009, -0.00851651094853878, -0.009822526946663857, 0.025453878566622734, 0.01978195272386074, 0.029829535633325577, -0.027704209089279175, -0.006509818602353334, -0.013983145356178284, -0.0030951278749853373, -0.018847061321139336, 0.03339984267950058, 0.02684839442372322, -0.020794449374079704, 0.005384160205721855, -0.020564960315823555, 0.025082295760512352, 0.019558532163500786, 0.03683757781982422, -0.006766218692064285, -0.031846173107624054, 0.01304798386991024, -0.0030652154237031937, -0.013180375099182129, -0.04141711816191673, 0.03439920395612717, -0.014132319018244743, 0.0029105129651725292, -0.025908775627613068, -0.07522483170032501, 0.020346691831946373, 0.007798357866704464, -0.014857923611998558, -0.019965803250670433, 0.01058394555002451, -0.03363198786973953, -0.04651382192969322, 0.021505339071154594, 0.10568755865097046, -0.0536075234413147, -0.010596460662782192, -0.009787255898118019, 0.006026093848049641, 0.0028511204291135073, 0.030627598986029625, -0.051870472729206085, -0.0016263031866401434, -0.011999033391475677, 0.01979418657720089, -0.05223468691110611, -0.027621997520327568, 0.006352853495627642, -0.019242428243160248, -0.01989959552884102, 0.0054499683901667595, 0.010631862096488476, 0.03539184108376503, 0.00560199236497283, -0.043811529874801636, -0.017080847173929214, -0.003717554034665227, 0.013199922628700733, -0.04436062276363373, -0.009123286232352257, -0.005012258887290955, -0.029060635715723038, 0.05510227009654045, 0.017364779487252235, -0.01408614031970501, -0.0036038646940141916, -0.014674808830022812, -0.0020999812986701727, -0.035347215831279755, 0.04329106956720352, -0.004666744731366634, -0.021723244339227676, -0.044277142733335495, 0.005239000543951988, -0.01793384552001953, 0.008267535828053951, -0.028651926666498184, -0.018843764439225197, 0.01644383929669857, 0.04070841893553734, 0.0004840517067350447, 0.020529603585600853, -0.01699722744524479, -0.028568875044584274, 0.05126313865184784, -0.06858223676681519, -0.057021886110305786, 0.021977625787258148, -0.0619252510368824, 0.023021118715405464, 0.026802847161889076, 0.00584429083392024, -0.06656806915998459, 0.04942450299859047, 0.04018034785985947, -0.01284191757440567, 0.04432366043329239, -0.016775060445070267, 0.019204290583729744, -0.062169406563043594, -0.010178137570619583, -0.07453819364309311, 0.04173685610294342, 0.0050078886561095715, -0.029637103900313377, 0.002238728804513812, -0.0037035418208688498, -0.024036623537540436, 0.02276889607310295, -0.059827692806720734, -0.03899779170751572, 0.01914265565574169, -0.0004731407098006457, 0.024031512439250946, 0.004620889667421579, -0.05067719146609306, 0.043317876756191254, 0.0503840446472168, -0.011899936012923717, -0.027214866131544113, 0.002513554645702243, 0.044477738440036774, -0.012257472611963749, 0.04266391694545746, -0.01145114004611969, -0.037931591272354126, 0.07332302629947662, 0.012832450680434704, 0.035301484167575836, 0.01356926467269659, -0.013263986445963383, 0.0443890318274498, 0.034433502703905106, 0.0014908179873600602, 0.04365713894367218, 0.014591741375625134, -0.006837664637714624, -0.05126992240548134, 0.02604883350431919, 0.00040165273821912706, 0.00394419115036726, -0.031893305480480194, 0.05727832391858101, 0.015848301351070404, -0.019592687487602234, -0.037320446223020554, 0.024011017754673958, -0.03370702266693115, -0.023291446268558502, -0.022133663296699524, 0.0009891135850921273, -0.03429882228374481, 0.03061366081237793, -0.016046367585659027, -0.006250442937016487, 0.06350553035736084, 0.014852491207420826, 0.0007859139586798847, 0.011935937218368053, 0.0723365992307663, 0.08892932534217834, 0.046402253210544586, 0.033638257533311844, 0.07439452409744263, -0.024898182600736618, -0.036681968718767166, -0.016051147133111954, -0.030970653519034386, -0.009728893637657166, -0.0022661930415779352, 0.013843817636370659, 0.1001468077301979, -0.013728863559663296, 0.07698545604944229, -0.007742945104837418, 0.011132256127893925, -0.013928770087659359, -0.020192725583910942, 0.04461953416466713, 0.0585140697658062, 0.013711259700357914, 0.027443623170256615, -0.020881030708551407, -0.017180591821670532, -0.0043868860229849815, -0.02600203827023506, -0.01561794150620699, 0.010062183253467083, -0.014013765379786491, 0.025482287630438805, -0.012888169847428799, 0.04282495751976967, 0.05610084533691406, -0.040204647928476334, -0.01101543940603733, 0.0007836583536118269, 0.0566219799220562, -0.03573210909962654, 0.012418831698596478, -0.040871258825063705, -0.017224477604031563, -0.00991116277873516, -0.025576336309313774, -0.0541219636797905, -0.0011440870584920049, 0.01803888939321041, 0.036577243357896805, -0.02597113884985447, -0.014033951796591282, 0.04333316534757614, -0.00986207090318203, -0.009928395971655846, -0.03345124423503876, -0.05034031346440315, -0.05284005030989647, -0.06848561763763428, -0.0029387089889496565, -0.01975838653743267, 0.013052435591816902, -0.0423872284591198, -0.025510812178254128, -0.0025023918133229017, -0.012846813537180424, 0.030457722023129463, -0.04842311888933182, -0.02952745370566845, -0.0035372998099774122, 0.005006883759051561, 0.023010805249214172, 0.03930322080850601, 0.054143209010362625, 0.0294528566300869, -0.002623087028041482, -0.029772192239761353, -0.021903187036514282, 0.04959125444293022, 0.008579210378229618, -0.010818539187312126, -0.06820522248744965, 0.04232402890920639, 0.04233880713582039, 0.025993267074227333, -0.05504481494426727, 0.001649811863899231, 0.02677386812865734, -0.0059881750494241714, 0.08149722963571548, -0.030973954126238823, -0.003875681897625327, -0.042171768844127655, 0.013167482800781727, -0.03588710352778435, -0.012584837153553963, 0.02114090882241726, 0.0030520448926836252, 0.06860358268022537, 0.015390952117741108, 0.007113645784556866, -0.02228695899248123, -0.0007132072350941598, 0.013647230342030525, -0.001197288976982236, -0.04282275214791298, -0.010945102199912071, -0.04163466393947601, -0.0650419071316719, -0.03471354395151138, 0.0016340367728844285, -0.03308494761586189, -0.04673460125923157, 0.005495539866387844, -0.009967140853404999, -0.039331283420324326, 0.04576810076832771, -0.05881589651107788, -0.0011155353859066963, -0.016147848218679428, -0.013510205782949924, -0.027885762974619865, 0.029913078993558884, 0.004576168488711119, -0.010872534476220608, 0.023584702983498573, -0.028908630833029747, -0.002330896444618702, -0.040292706340551376, 0.0395176075398922, 0.036617737263441086, -0.008836821652948856, 0.05836893990635872 ]
[ -0.07520798593759537, -0.03049354813992977, 0.0010114498436450958, -0.050301846116781235, 0.04943153262138367, -0.0761425569653511, -0.036458101123571396, -0.01423727348446846, -0.029134586453437805, 0.014821277000010014, 0.02108137682080269, -0.04063686355948448, 0.014057043008506298, -0.0682251900434494, 0.0905831903219223, 0.0003009025240316987, -0.023789534345269203, -0.05232391878962517, 0.0149117736145854, 0.050327420234680176, -0.0006474147667177022, -0.010090627707540989, -0.001958223292604089, -0.044934891164302826, -0.0341414138674736, 0.03931115195155144, 0.04477378726005554, -0.001341452938504517, 0.011280064471065998, -0.18200057744979858, 0.024156251922249794, 0.041905343532562256, -0.022856228053569794, 0.003239488461986184, 0.031148403882980347, 0.018970388919115067, 0.007487299386411905, -0.005996230524033308, 0.004652884788811207, 0.038528040051460266, 0.03681586682796478, -0.006183428689837456, -0.086466945707798, -0.006470322143286467, 0.024951359257102013, 0.011974991299211979, -0.011176408268511295, -0.006472601089626551, -0.006135186180472374, -0.014443442225456238, -0.022768795490264893, 0.019728884100914, -0.0038351849652826786, -0.020642410963773727, 0.010464150458574295, 0.01445290818810463, 0.07178141921758652, 0.07760323584079742, 0.02219291403889656, 0.02795788086950779, 0.036071039736270905, 0.020933812484145164, -0.15242962539196014, 0.07081481069326401, 0.025089124217629433, -0.017024630680680275, -0.0726245865225792, -0.039296314120292664, -0.04246009513735771, 0.07430542260408401, -0.010854784399271011, -0.01748945750296116, -0.07583152502775192, 0.04817818105220795, 0.017804931849241257, 0.031161312013864517, -0.007385589648038149, 0.036869559437036514, 0.04648834094405174, -0.015706053003668785, -0.04406122863292694, 0.0011635805713012815, -0.09827591478824615, 0.019197996705770493, -0.03249508515000343, 0.02301095984876156, -0.026484154164791107, 0.07711903750896454, 0.038121163845062256, -0.0046161781065166, 0.015516464598476887, -0.013584381900727749, 0.021132083609700203, 0.018283216282725334, -0.07304082810878754, -0.03349265828728676, 0.04560033231973648, -0.0034065591171383858, -0.051660943776369095, 0.4021115303039551, 0.0027671766001731157, -0.04167194291949272, 0.015063359402120113, 0.0059179398231208324, 0.035615719854831696, 0.029175635427236557, -0.026707405224442482, -0.04312647879123688, 0.03267206996679306, -0.009284697473049164, -0.0011857588542625308, -0.01854872703552246, 0.05014343187212944, -0.06454992294311523, 0.024991337209939957, 0.02333316206932068, -0.013225028291344643, 0.006224925629794598, -0.02787349559366703, 0.02555220201611519, -0.001760520855896175, 0.0025707068853080273, 0.040823306888341904, -0.002701887395232916, 0.045698121190071106, -0.009259020909667015, 0.014989645220339298, 0.052873291075229645, 0.0037393865641206503, 0.06195851415395737, 0.019165875390172005, 0.014495371840894222, -0.05821119621396065, -0.0342012420296669, -0.02525750920176506, 0.04157506674528122, 0.03409208357334137, -0.01631944440305233, -0.0039869314059615135, 0.055220797657966614, -0.021652277559041977, -0.015024974010884762, -0.0015957943396642804, 0.05073203518986702, -0.01219212170690298, 0.07417187839746475, -0.02421879768371582, -0.027667874470353127, -0.01570786163210869, -0.046507224440574646, -0.023806987330317497, 0.0326835997402668, -0.0026337900198996067, -0.05355685576796532, 0.003968813456594944, -0.008535023778676987, 0.054990023374557495, 0.01012369617819786, -0.08369190245866776, 0.02571379579603672, 0.01329426746815443, -0.06450887024402618, -0.05585573986172676, 0.03688562288880348, 0.019187789410352707, -0.10910621285438538, -0.027377109974622726, -0.0021480016876012087, 0.002500175731256604, -0.06262459605932236, -0.022803593426942825, -0.0052361153066158295, -0.01511294674128294, -0.026694780215620995, 0.06506086140871048, -0.06314156949520111, 0.004270198754966259, 0.0005989016499370337, 0.023892739787697792, 0.025635141879320145, -0.018331633880734444, -0.011601356789469719, -0.01552996039390564, 0.011440572328865528, -0.04772105813026428, -0.05705922469496727, -0.07335344702005386, -0.011588691733777523, -0.04368635267019272, -0.045519206672906876, -0.05023900046944618, 0.02348976396024227, -0.07685909420251846, 0.03744392469525337, 0.0253446102142334, 0.0013267098693177104, -0.03950808569788933, 0.04954463243484497, 0.005938414484262466, -0.024270953610539436, 0.03128306195139885, 0.055193301290273666, -0.00663721514865756, 0.004771051928400993, -0.09304681420326233, 0.017275091260671616, 0.03579739108681679, -0.06328179687261581, 0.03570534661412239, 0.047744400799274445, -0.039456646889448166, 0.017781902104616165, 0.01736198365688324, 0.04624709486961365, -0.0266867782920599, 0.0005031087202951312, -0.03232899680733681, 0.018709620460867882, 0.08748527616262436, 0.038797635585069656, -0.026277579367160797, -0.00046500860480591655, -0.03833424299955368, -0.35487839579582214, -0.027100753039121628, -0.000957491691224277, -0.017224667593836784, 0.008496010676026344, -0.018245665356516838, 0.034344881772994995, -0.016685757786035538, -0.013147791847586632, 0.0026055388152599335, 0.09102436900138855, -0.03495022654533386, 0.03840817138552666, -0.03144121170043945, 0.004962769336998463, 0.044708501547575, 0.005382027011364698, -0.00013288002810440958, 0.006031116470694542, 0.029566532000899315, -0.016770901158452034, -0.08420161157846451, 0.01606614515185356, -0.0294226985424757, -0.01792724058032036, -0.018373673781752586, 0.10291426628828049, -0.018626883625984192, 0.03496886417269707, -0.047784473747015, 0.0497930571436882, 0.042600471526384354, 0.006970279850065708, -0.11433855444192886, 0.023394858464598656, -0.023244015872478485, 0.02770877629518509, 0.062359441071748734, 0.05794370546936989, 0.035560473799705505, -0.02424343302845955, 0.024748625233769417, -0.051923491060733795, -0.05833141505718231, 0.006105442065745592, 0.024755965918302536, -0.0162742231041193, -0.026861462742090225, -0.02343233861029148, 0.06968437880277634, 0.030950207263231277, 0.05648822337388992, -0.0074379295110702515, 0.004258975386619568, 0.0241934172809124, -0.04527793824672699, -0.04966394603252411, -0.0072831022553145885, 0.05274587869644165, 0.036862488836050034, 0.03268157318234444, 0.059438105672597885, 0.028074271976947784, -0.09799789637327194, 0.013595846481621265, 0.01861455664038658, -0.0065642050467431545, 0.029808038845658302, 0.06555625051259995, -0.024547941982746124, -0.013769399374723434, 0.07075373083353043, 0.007328209467232227, 0.009174816310405731, 0.02697427198290825, 0.02618824504315853, -0.04080505296587944, 0.044046804308891296, 0.02436860091984272, -0.00395338935777545, -0.004293989855796099, -0.04584832862019539, 0.04047944396734238, -0.0710122138261795, -0.045466672629117966, 0.056683942675590515, -0.010844705626368523, -0.014871617779135704, 0.055504973977804184, 0.021086683496832848, -0.04415297135710716, -0.025813177227973938, 0.005187436006963253, -0.018623674288392067, 0.053572461009025574, -0.014349905773997307, -0.24593721330165863, 0.020420575514435768, 0.0459575355052948, 0.07119794189929962, -0.015075980685651302, 0.01454881764948368, 0.040379174053668976, -0.05801614001393318, -0.0345250740647316, -0.016260197386145592, 0.02689247950911522, 0.0073014660738408566, -0.009189274162054062, 0.02616678737103939, 0.045038141310214996, 0.007016307674348354, 0.028403451666235924, -0.003548253560438752, -0.013481546193361282, -0.04648485779762268, -0.004077888559550047, -0.02064608782529831, 0.1498388648033142, 0.018700724467635155, -0.03818916529417038, 0.017209986224770546, -0.010236350819468498, 0.01799808070063591, 0.05931670591235161, 0.016944261267781258, -0.023226404562592506, 0.01072321180254221, 0.060744330286979675, -0.0009044308098964393, 0.05962259694933891, -0.053746990859508514, -0.009537330828607082, 0.019265322014689445, 0.05213748663663864, -0.02661431021988392, -0.03038054332137108, 0.023686286062002182, -0.048490408807992935, 0.047729428857564926, 0.04099005088210106, -0.061742354184389114, 0.024181105196475983, 0.029344476759433746, -0.03067082352936268, -0.023294571787118912, -0.03096691332757473, -0.041614945977926254, 0.015994422137737274, 0.0069344728253781796, 0.04195300489664078, 0.05311223864555359, 0.0007182614644989371, -0.07039782404899597, 0.0004389850073494017, 0.03902759402990341, 0.000774566491600126, -0.02550719864666462, 0.15140984952449799, -0.020200040191411972, 0.011250622570514679 ]
[ -0.001252860645763576, 0.015038512647151947, 0.0042752972804009914, 0.02216312475502491, 0.010901154018938541, -0.0012971664546057582, -0.0474528968334198, 0.003456505248323083, -0.03516356647014618, -0.010483370162546635, 0.01130407303571701, 0.023035116493701935, -0.02912953309714794, -0.007137731183320284, 0.013728643767535686, 0.02135903388261795, 0.049865659326314926, 0.058707140386104584, 0.042536430060863495, 0.04695703834295273, -0.009889090433716774, 0.07809498906135559, 0.013409596867859364, -0.0252187829464674, 0.005711530800908804, -0.0023768628016114235, -0.08994907885789871, 0.018775559961795807, 0.02337188459932804, -0.14739342033863068, -0.015292113646864891, -0.011233608238399029, -0.019828861579298973, 0.046870313584804535, 0.00014750994159840047, 0.02465641498565674, -0.024866409599781036, -0.005040791817009449, -0.046480461955070496, 0.012787221930921078, 0.024057744070887566, -0.010843978263437748, -0.005915004760026932, 0.0022587361745536327, 0.0018582293996587396, 0.016361674293875694, 0.01471987459808588, -0.012259612791240215, 0.019875967875123024, 0.01023135893046856, -0.01497571635991335, 0.03282841295003891, 0.04041995108127594, -0.008996741846203804, -0.022968454286456108, -0.010128812864422798, 0.012783358804881573, 0.032979171723127365, 0.023643001914024353, -0.04292359575629234, 0.022546714171767235, 0.05575194209814072, -0.023106195032596588, -0.05403289571404457, -0.02004144713282585, -0.031531572341918945, -0.006198023445904255, -0.023233041167259216, -0.025505591183900833, -0.030923716723918915, -0.019413456320762634, 0.06474355608224869, -0.04239576309919357, -0.02448374405503273, -0.016097890213131905, 0.009198366664350033, -0.01400720700621605, -0.008208388462662697, 0.016194166615605354, 0.005177945364266634, -0.020494787022471428, 0.0066565778106451035, -0.054014481604099274, 0.037743180990219116, -0.02587432600557804, 0.04024575278162956, 0.017787283286452293, 0.010145002976059914, 0.027175532653927803, -0.02101115509867668, -0.008622126653790474, -0.023754719644784927, 0.017328595742583275, 0.04117128252983093, -0.08457837998867035, -0.04482259228825569, 0.008520453236997128, -0.04242190718650818, -0.005808975547552109, 0.7680742144584656, -0.013521194458007812, -0.020921990275382996, 0.03932458907365799, 0.017288656905293465, 0.03542505204677582, 0.007052614353597164, 0.012581040151417255, 0.013283791020512581, -0.017030876129865646, -0.008648116141557693, 0.03373737633228302, 0.0026273326948285103, 0.05207822844386101, 0.002031706739217043, 0.033893488347530365, 0.05135657638311386, 0.0019296602113172412, 0.01663060486316681, 0.009893529117107391, 0.01633242331445217, 0.0587339848279953, -0.012055018916726112, -0.017128359526395798, 0.002054610289633274, -0.04652796685695648, -0.2126651555299759, 0.050447747111320496, -6.31152083910066e-33, -0.008296521380543709, -0.009454211220145226, 0.005090335384011269, 0.03277777507901192, 0.03299909830093384, 0.00022057352180127054, -0.017072517424821854, -0.0004145358398091048, -0.015100501477718353, -0.01245060283690691, -0.03664714843034744, -0.04167160019278526, 0.0110480897128582, 0.037466924637556076, -0.00677519990131259, -0.014569622464478016, 0.00014640607696492225, 0.021424010396003723, 0.0463407076895237, 0.01890597678720951, 0.033878013491630554, -0.00971116591244936, -0.026649337261915207, -0.0022597177885472775, -0.030834101140499115, -0.005594133865088224, 0.021767940372228622, -0.0137923713773489, 0.0009717664797790349, -0.055347785353660583, 0.004544724244624376, 0.015511131845414639, 0.04964195564389229, -0.0471586212515831, -0.029954763129353523, -0.05062873661518097, -0.0011036532232537866, -0.006017990410327911, -0.06160498410463333, -0.04206669330596924, 0.008982965722680092, 0.028396178036928177, -0.05012841895222664, -0.016982534900307655, -0.0036372749600559473, -0.0263882577419281, 0.005663389805704355, 0.04712933301925659, 0.019445933401584625, -0.006229536607861519, -0.03040740080177784, -0.021993745118379593, -0.009889368899166584, 0.002149735577404499, 0.026620538905262947, -0.013597051613032818, 0.0047754268161952496, 0.051845207810401917, -0.020727917551994324, 0.004253461491316557, 0.019009264186024666, -0.022445188835263252, -0.004891923163086176, 0.006814179942011833, 0.0007933375891298056, 0.0022754231467843056, -0.043505534529685974, 0.0018106353236362338, 0.003131959354504943, 0.04397452250123024, -0.06425304710865021, 0.027903767302632332, -0.02475454844534397, -0.052860695868730545, -0.013300495222210884, -0.08134281635284424, 0.032049551606178284, 0.002428613370284438, -0.0007476405589841306, 0.027157876640558243, -0.010583270341157913, 0.004298494663089514, -0.04522591829299927, -0.00028282671701163054, -0.03770596534013748, 0.00033745032851584256, 0.01624208502471447, -0.011387161910533905, -0.01960570365190506, -0.014123618602752686, 0.0016288190381601453, 0.03236469626426697, 0.02184220217168331, -0.03242340683937073, -0.011806867085397243, 6.447499821551874e-33, -0.01901080831885338, -0.0011418138165026903, 0.02369621768593788, 0.018048632889986038, 0.05646398290991783, 0.010173926129937172, 0.038494277745485306, -0.04403921589255333, -0.04935711249709129, 0.016734957695007324, -0.07854848355054855, 0.0455000139772892, -0.013348283246159554, 0.027257267385721207, 0.05249231308698654, 0.009285644628107548, 0.02797258459031582, -0.025015654042363167, 0.0548677071928978, 0.012790435925126076, -0.0741233304142952, 0.05063338577747345, 0.017742706462740898, 0.025167245417833328, 0.014410346746444702, 0.005965868476778269, -0.024636613205075264, 0.00799744762480259, -0.035395845770835876, -0.007552890107035637, 0.04459111765027046, -0.008144891820847988, 0.017464473843574524, 0.021023139357566833, 0.004139421973377466, 0.023977920413017273, 0.017692716792225838, 0.021383823826909065, 0.023596126586198807, 0.0010600682580843568, 0.037745848298072815, -0.05093727260828018, -0.0520663745701313, -0.028177710250020027, 0.012724027968943119, 0.0458245575428009, 0.0061346543952822685, -0.009180969558656216, -0.008158930577337742, 0.009659985080361366, 0.0048640426248312, 0.035718195140361786, -0.031838059425354004, 0.058263421058654785, 0.022393692284822464, -0.0013881322229281068, -0.03390771523118019, 0.04392891377210617, 0.05382963642477989, -0.0016418718732893467, 0.01305079273879528, 0.022769998759031296, 0.010595367290079594, 0.021777262911200523, -0.04710376262664795, -0.04813607409596443, -0.006118819583207369, -0.0004064073145855218, 0.034241825342178345, 0.010426199994981289, -0.006597032304853201, 0.03457016125321388, 0.006063936278223991, 0.02194144017994404, -0.024356048554182053, -0.03932016342878342, 0.004403861705213785, -0.0038289898075163364, -0.056325871497392654, -0.012278116308152676, -0.0196083951741457, -0.012329292483627796, 0.010682727210223675, 0.0014348351396620274, 0.01886735111474991, 0.040039241313934326, -0.05629236623644829, 0.028989562764763832, 0.04994278401136398, 0.004985694773495197, -0.010537872090935707, -0.06183629855513573, -0.02183852344751358, -0.007176349405199289, -0.06830812990665436, -1.2058573695128416e-8, 0.028606560081243515, -0.016664547845721245, -0.020833048969507217, 0.0023598847910761833, 0.006649156101047993, 0.04281032085418701, -0.0015566329238936305, 0.03814539313316345, -0.03391391783952713, 0.044740334153175354, 0.0008576110121794045, 0.001921962364576757, -0.01619911566376686, 0.04006347060203552, 0.08451798558235168, 0.014303646981716156, 0.004750396125018597, 0.06062771752476692, 0.02056341990828514, 0.01946551539003849, 0.009300013072788715, 0.05758519843220711, -0.022027742117643356, 0.002596187172457576, -0.003280355827882886, -0.004455103538930416, -0.008038626983761787, -0.1052192896604538, -0.01977912336587906, -0.018464917317032814, 0.018561426550149918, 0.015088624320924282, -0.03601469472050667, -0.02958330698311329, -0.06297194957733154, 0.0005267288652248681, -0.01040864922106266, 0.044136613607406616, -0.0009095774148590863, -0.01974894478917122, 0.03769350051879883, -0.0157675389200449, -0.0029369890689849854, -0.04980359598994255, -0.01663803495466709, -0.009866350330412388, 0.030897412449121475, -0.026301587000489235, -0.005112931132316589, -0.02541353739798069, -0.018160583451390266, 0.023212838917970657, 0.0007141820387914777, 0.02185101993381977, 0.012940402142703533, 0.0028045845683664083, 0.002716237911954522, -0.01865031011402607, -0.001205771928653121, -0.044941045343875885, 0.03814178705215454, 0.011858836747705936, -0.010620957240462303, -0.04568170756101608 ]
vagrant-1-2-2-cant-convert-symbol-into-integer-typeerrorthe-following-settings-dont-exist
https://markhneedham.com/blog/2013/06/29/vagrant-1-2-2-cant-convert-symbol-into-integer-typeerrorthe-following-settings-dont-exist
false
2013-06-29 07:38:35
Vagrant/Virtual Box: There was an error executing the following command with VBoxManage - Progress object failure: NS_ERROR_CALL_FAILED
[ "vagrant", "virtualbox" ]
[ "Software Development" ]
I've been playing around with http://www.vagrantup.com/[Vagrant] a bit again lately and having installed it on a new machine was running into the following exception when I tried to run 'vagrant up' on a new virtual machine: [source,text] ---- ERROR vagrant: /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/providers/virtualbox/driver/base.rb:292:in `block in execute' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/retryable.rb:17:in `retryable' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/providers/virtualbox/driver/base.rb:282:in `execute' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/providers/virtualbox/driver/version_4_2.rb:165:in `import' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/providers/virtualbox/action/import.rb:15:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/builtin/handle_box_url.rb:38:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/runner.rb:61:in `block in run' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/busy.rb:19:in `busy' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/runner.rb:61:in `run' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/builtin/call.rb:51:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/builtin/config_validate.rb:25:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/warden.rb:34:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/builder.rb:109:in `call' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/runner.rb:61:in `block in run' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/util/busy.rb:19:in `busy' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/action/runner.rb:61:in `run' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/machine.rb:129:in `action' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/commands/up/command.rb:37:in `block in execute' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/plugin/v2/command.rb:182:in `block in with_target_vms' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/plugin/v2/command.rb:180:in `each' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/plugin/v2/command.rb:180:in `with_target_vms' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/plugins/commands/up/command.rb:32:in `execute' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/cli.rb:46:in `execute' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/lib/vagrant/environment.rb:406:in `cli' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.2/bin/vagrant:60:in `<top (required)>' /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load' /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>' INFO interface: error: There was an error executing the following command with VBoxManage: ["import", "/Users/markneedham/.vagrant.d/boxes/precise32/virtualbox/box.ovf"] ---- I tried running the command directly against Virtual Box to see if that would tell me anything else but it didn't shed much light: [source,text] ---- $ VBoxManage import "/Users/markneedham/.vagrant.d/boxes/precise32/virtualbox/box.ovf" 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting /Users/markneedham/.vagrant.d/boxes/precise32/virtualbox/box.ovf... OK. Disks: vmdisk1 85899345920 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized box-disk1.vmdk -1 -1 Virtual system 0: 0: Suggested OS type: "Ubuntu_64" (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values) 1: Suggested VM name "precise64" (change with "--vsys 0 --vmname <name>") 2: Number of CPUs: 2 (change with "--vsys 0 --cpus <n>") 3: Guest memory: 384 MB (change with "--vsys 0 --memory <MB>") 4: Network adapter: orig NAT, config 3, extra slot=0;type=NAT 5: CD-ROM (disable with "--vsys 0 --unit 5 --ignore") 6: IDE controller, type PIIX4 (disable with "--vsys 0 --unit 6 --ignore") 7: IDE controller, type PIIX4 (disable with "--vsys 0 --unit 7 --ignore") 8: SATA controller, type AHCI (disable with "--vsys 0 --unit 8 --ignore") 9: Hard disk image: source image=box-disk1.vmdk, target path=/Users/markneedham/VirtualBox VMs/precise64/box-disk1.vmdk, controller=8;channel=0 (change target path with "--vsys 0 --unit 9 --disk path"; disable with "--vsys 0 --unit 9 --ignore") 0%... Progress object failure: NS_ERROR_CALL_FAILED ---- That gave me enough information to Google my way to https://github.com/mitchellh/vagrant/issues/1847[an issue on github] where it was suggested that this was a problem with VirtualBox 4.2.14 and that downgrading with 4.2.10 would more profitable. As I'd downloaded the latest VirtualBox the version I had was indeed 4.2.14: [source,bash] ---- $ VBoxManage --version 4.2.14r86644 ---- </p> I grabbed https://www.virtualbox.org/wiki/Download_Old_Builds_4_2[an older copy] of Virtual Box and that seemed to do the trick although I later ran into a problem which I foolishly haven't kept the stack trace of and found that upgrading my vagrant version solved that.<p> So to summarise, my current versions of vagrant and Virtual Box which work splendidly: [source,bash] ---- $ vagrant -v Vagrant version 1.2.2 $ VBoxManage -version 4.2.10r84104 ---- YMMV and all that!
null
null
[ 0.0030146613717079163, 0.0004096861812286079, -0.026089098304510117, 0.039677172899246216, 0.07344863563776016, 0.03558753430843353, 0.04967566579580307, 0.0019964950624853373, 0.005492020398378372, -0.033670924603939056, -0.05350419133901596, -0.010566123761236668, -0.06809166818857193, 0.02710275910794735, -0.008447548374533653, 0.05307796970009804, 0.059833087027072906, -0.00006959809979889542, -0.0032036055345088243, -0.01786903105676174, 0.027396250516176224, 0.06782704591751099, 0.02326180785894394, 0.02567194774746895, 0.016713334247469902, 0.009045762941241264, 0.026782788336277008, -0.01653406210243702, -0.08038443326950073, -0.011867779307067394, 0.009341729804873466, 0.01912717893719673, 0.03311982378363609, -0.03098813258111477, 0.03312564641237259, -0.006584074813872576, -0.011233283206820488, -0.02493429370224476, 0.001234321272931993, -0.004191527608782053, -0.028936676681041718, 0.03271070122718811, -0.004183699376881123, 0.022955739870667458, -0.013039754703640938, 0.03782466799020767, -0.017097217962145805, 0.024248000234365463, 0.0059636482037603855, -0.02186606265604496, -0.028687817975878716, 0.0365266427397728, -0.008641486056149006, -0.030691808089613914, 0.01542233768850565, 0.02742902934551239, 0.008251582272350788, -0.0943601056933403, 0.049389053136110306, -0.02613854594528675, -0.0005025702994316816, 0.02009473368525505, 0.012815996073186398, 0.004067014902830124, 0.03832114115357399, 0.001246376079507172, -0.004702513571828604, 0.04910445213317871, -0.054663825780153275, -0.0406794510781765, 0.002763040130957961, 0.005967101082205772, -0.032629989087581635, -0.02007819153368473, 0.041571054607629776, -0.042139213532209396, 0.0007715511019341648, 0.03852485120296478, 0.02452845498919487, 0.07292617112398148, -0.01841316930949688, -0.007122695446014404, 0.023330025374889374, 0.036689553409814835, 0.021841276437044144, -0.06128815561532974, -0.05647760257124901, 0.012933892197906971, -0.035897184163331985, 0.08403250575065613, 0.05108780413866043, -0.04426844045519829, 0.0498797670006752, 0.009261826984584332, -0.023352619260549545, 0.009674006141722202, 0.010811480693519115, -0.02378627471625805, 0.015766266733407974, 0.011661955155432224, -0.0466715544462204, 0.02065260335803032, -0.010871442034840584, 0.03608860820531845, -0.06116025149822235, 0.021436745300889015, -0.0335395447909832, -0.01876588724553585, -0.02431603893637657, -0.00418169004842639, -0.01707453839480877, 0.04052267596125603, -0.021825376898050308, 0.004991537891328335, -0.06916867196559906, 0.07830559462308884, 0.03400428593158722, -0.06883034855127335, 0.027287498116493225, 0.021608609706163406, 0.0720779076218605, 0.01435086689889431, -0.02743411995470524, 0.05263758450746536, 0.0193864107131958, 0.01483952160924673, -0.00962480902671814, 0.03791851922869682, 0.001171878189779818, -0.037446387112140656, -0.017460361123085022, 0.1078992635011673, 0.01702619157731533, 0.02160969190299511, -0.0018892086809501052, -0.01317740511149168, -0.012204229831695557, -0.021113602444529533, 0.04773170128464699, 0.00042166540515609086, -0.02998512051999569, -0.002231393940746784, -0.009086910635232925, -0.0006125413347035646, 0.012658368796110153, 0.04324740171432495, 0.005748070776462555, -0.017413046211004257, -0.04153284430503845, 0.01619131490588188, 0.01243616733700037, 0.03261571004986763, 0.038038220256567, -0.021401049569249153, -0.005338598042726517, 0.08023537695407867, 0.04164896532893181, 0.013173731043934822, -0.026900678873062134, -0.02924058958888054, 0.015734994783997536, 0.03641616180539131, 0.01991572603583336, 0.0545327328145504, 0.015808098018169403, -0.02210100181400776, -0.00005823426545248367, 0.05310274660587311, 0.016547203063964844, 0.01469600573182106, -0.09436819702386856, -0.0817975401878357, 0.060573626309633255, -0.05554758757352829, -0.01593780517578125, 0.025280388072133064, 0.08989983797073364, 0.03366182744503021, 0.04512401670217514, -0.006325350143015385, -0.07939831912517548, 0.024236315861344337, -0.0002588261559139937, 0.03775012493133545, 0.019373612478375435, 0.01495672669261694, 0.05571114271879196, 0.008558591827750206, 0.001509256660938263, 0.026768406853079796, -0.07062146812677383, -0.07469853013753891, -0.016376152634620667, -0.0033985017798841, 0.037141721695661545, 0.0007954681641422212, -0.024240585044026375, 0.03922455012798309, 0.01188276894390583, 0.03275641053915024, -0.016750983893871307, 0.024882178753614426, 0.01267588697373867, -0.05659598857164383, -0.06126789003610611, 0.06497009843587875, 0.0527733638882637, -0.008921601809561253, -0.06436523050069809, 0.006101757287979126, -0.03543750196695328, 0.0016050038393586874, 0.0459463857114315, -0.029856598004698753, 0.09056543558835983, 0.024050062522292137, 0.03177204728126526, -0.03592386469244957, 0.02735457383096218, -0.03345296531915665, 0.008840125985443592, 0.0021448137704283, 0.0016732775839045644, 0.004778758622705936, 0.002978075295686722, 0.10617818683385849, 0.04153408110141754, -0.0038414583541452885, -0.04120124876499176, -0.032039824873209, 0.0008740157936699688, -0.040607623755931854, -0.013607916422188282, -0.014776934869587421, 0.01849016547203064, 0.02509574592113495, -0.018684154376387596, -0.056800875812768936, 0.02547105960547924, -0.042765017598867416, -0.021976863965392113, 0.07182295620441437, -0.013891390524804592, 0.05820313096046448, 0.02636287361383438, -0.02673215977847576, 0.006339804735034704, -0.031341034919023514, -0.0704832449555397, -0.0013681979617103934, 0.047807104885578156, -0.015165085904300213, 0.02231704071164131, -0.009285880252718925, 0.009221901185810566, -0.01347496546804905, -0.03221867233514786, 0.03236488252878189, 0.031345535069704056, 0.0552653968334198, -0.02277081087231636, 0.049592144787311554, -0.05449337512254715, -0.0025498950853943825, -0.030482934787869453, -0.042413026094436646, -0.050106361508369446, 0.012627936899662018, 0.025359326973557472, 0.0032420563511550426, 0.026657860726118088, -0.01177462562918663, 0.006649572867900133, -0.012264291755855083, 0.04754830151796341, -0.01791924424469471, 0.04057546705007553, 0.020415835082530975, -0.014768244698643684, -0.033522166311740875, -0.01543178129941225, 0.04619939625263214, -0.045498330146074295, 0.008572358638048172, 0.009536027908325195, -0.05700671300292015, 0.06564203649759293, -0.07688718289136887, -0.04676437005400658, -0.009455953724682331, 0.018459273502230644, 0.03174733370542526, 0.030084973201155663, 0.022748762741684914, 0.04313768818974495, 0.013603508472442627, 0.022737659513950348, 0.042920008301734924, 0.009347032755613327, 0.03792254254221916, 0.020284730941057205, 0.025093773379921913, 0.02109898440539837, -0.02961355447769165, -0.0010274844244122505, -0.05100354924798012, 0.0007499062921851873, -0.04101855307817459, -0.25438952445983887, 0.03519266098737717, 0.003887308994308114, -0.03647729381918907, 0.0387425497174263, 0.002610994502902031, -0.004226358607411385, -0.043962813913822174, -0.03944922983646393, 0.01637239195406437, -0.028903182595968246, -0.028351861983537674, 0.029917707666754723, -0.004420590586960316, -0.02487301081418991, 0.005548048764467239, 0.020822014659643173, -0.06399469077587128, 0.010429258458316326, -0.010228210128843784, -0.01925165019929409, -0.0602690614759922, 0.002442336641252041, 0.03394726663827896, 0.042411647737026215, 0.04882704094052315, -0.015884796157479286, 0.03582604601979256, -0.030987489968538284, -0.012966914102435112, 0.019049309194087982, -0.01346943061798811, -0.001919694128446281, 0.006481361109763384, -0.006990839261561632, -0.01835654117166996, 0.014885016717016697, -0.005643169861286879, 0.0776708647608757, 0.024707389995455742, -0.02201615832746029, -0.04402048885822296, 0.026162700727581978, 0.008360452018678188, 0.059840183705091476, -0.04657532274723053, -0.06747851520776749, -0.0008948115864768624, -0.03909768536686897, 0.09294339269399643, -0.017231786623597145, -0.04392240568995476, -0.014646461233496666, 0.03632444143295288, 0.0201703030616045, 0.028982438147068024, -0.02263142354786396, 0.01201899815350771, -0.04706054925918579, -0.022136477753520012, -0.017660554498434067, -0.03628600761294365, -0.02781868912279606, -0.052090879529714584, -0.005645547527819872, -0.034995146095752716, -0.0604482926428318, -0.03902114927768707, 0.04894523322582245, 0.03523239865899086, -0.03333841636776924, 0.005938161630183458, -0.020509621128439903, -0.10346591472625732, -0.007541594095528126, -0.0013715436216443777, -0.055376023054122925, 0.02250814065337181, 0.004599541891366243, 0.03302453085780144, -0.03956848010420799, -0.02841065637767315, -0.0005909653264097869, -0.014379678294062614, -0.010453264228999615, -0.03341243416070938, 0.021101748570799828, -0.03020230494439602, -0.0037700373213738203, -0.015435315668582916, 0.061580415815114975, -0.03127449005842209, -0.04508080333471298, -0.006218391004949808, -0.006257213186472654, 0.03166121989488602, 0.01624142751097679, 0.010026652365922928, 0.0038626801688224077, 0.06881896406412125, 0.003067441750317812, -0.06669482588768005, -0.006583011243492365, -0.0679519847035408, -0.01014107745140791, 0.01606162078678608, -0.04846487566828728, 0.016628827899694443, 0.030169235542416573, 0.035510238260030746, 0.00009965768549591303, -0.06024802476167679, 0.03558938577771187, -0.07415958493947983, 0.0005241981125436723, -0.02379480190575123, 0.041737429797649384, 0.02671058662235737, 0.03431092947721481, 0.017085900530219078, -0.054430704563856125, -0.008398639969527721, 0.007080272771418095, -0.003325854195281863, -0.031072132289409637, 0.01872914284467697, 0.00788477435708046, 0.017456378787755966, 0.007755200378596783, -0.01791231893002987, -0.023097354918718338, 0.002836924046278, 0.02523151971399784, -0.03242122009396553, 0.004641675390303135, -0.0034695786889642477, -0.04881349578499794, -0.04825613647699356, -0.008729199878871441, 0.004589328542351723, -0.022308774292469025, 0.00026867317501455545, 0.00850849598646164, 0.0010315902763977647, 0.06416137516498566, -0.006728476844727993, 0.05195530131459236, -0.015656696632504463, 0.008152613416314125, 0.0031200433149933815, -0.012324443086981773, -0.06854119896888733, 0.047236040234565735, -0.022191070020198822, -0.05481646582484245, 0.0006977514130994678, 0.044635530561208725, -0.03803776949644089, -0.03358651325106621, -0.02963140420615673, 0.02307518757879734, -0.0589209720492363, -0.052607763558626175, 0.0014752113493159413, 0.006474663503468037, 0.05363377556204796, 0.024490637704730034, -0.030898716300725937, -0.016361122950911522, 0.01603035070002079, 0.03255302459001541, 0.03035876154899597, -0.015259495936334133, -0.00408932426944375, -0.014153682626783848, -0.01122481282800436, -0.02287878654897213, 0.026385672390460968, 0.014653140679001808, -0.002616888377815485, -0.015861622989177704, -0.02188113145530224, 0.04481663554906845, 0.004868720658123493, 0.03489118069410324, 0.0076597752049565315, -0.04103463888168335, 0.010719386860728264, -0.002482929965481162, -0.03351524472236633, -0.03696293383836746, 0.030030768364667892, 0.0012678067432716489, -0.0009323519188910723, -0.021394938230514526, -0.08717437088489532, 0.01245324220508337, 0.003479858860373497, -0.022691698744893074, -0.026654941961169243, 0.01611783541738987, -0.02126072719693184, -0.03716433048248291, 0.025317206978797913, 0.09888460487127304, -0.059954121708869934, -0.008191296830773354, -0.008438254706561565, 0.0062670460902154446, 0.022952983155846596, 0.03145017847418785, -0.0329660065472126, 0.024672644212841988, -0.031124189496040344, 0.008458191528916359, -0.05745299160480499, -0.039272550493478775, -0.0004887428949587047, -0.014776832424104214, -0.021571677178144455, -0.008614473976194859, -0.011907140724360943, 0.014266795478761196, -0.018312618136405945, -0.06220752000808716, -0.008181455545127392, -0.0077870795503258705, -0.015552972443401814, -0.010256610810756683, -0.005733044818043709, -0.0020086378790438175, -0.02407948300242424, 0.040344007313251495, 0.010004684329032898, -0.01943335495889187, -0.012143660336732864, -0.01904977671802044, -0.014802596531808376, -0.009734866209328175, 0.02443719655275345, 0.00038085514097474515, -0.012774334289133549, -0.033267538994550705, -0.005461359862238169, -0.01218460313975811, 0.01925693452358246, 0.0005090198246762156, -0.015165898948907852, 0.0163575429469347, 0.03410029783844948, -0.008422545157372952, 0.031248796731233597, -0.011008183471858501, -0.009426457807421684, 0.04915519803762436, -0.07698926329612732, -0.04687448590993881, 0.015474226325750351, -0.05852356180548668, 0.03952934965491295, 0.039520155638456345, 0.000027495996619109064, -0.04795704782009125, 0.04615102708339691, 0.02733129821717739, -0.023073213174939156, 0.04721708968281746, 0.004385056905448437, 0.01163558941334486, -0.06652174144983292, -0.0014012058963999152, -0.08731641620397568, 0.037269141525030136, 0.017994843423366547, -0.05205969512462616, 0.005814456846565008, -0.011052332818508148, -0.04938391596078873, 0.01452228520065546, -0.05394357815384865, -0.03704097494482994, 0.019081518054008484, -0.009007289074361324, 0.0031684497371315956, 0.012951340526342392, -0.03920026868581772, 0.04913155362010002, 0.04969165846705437, -0.019071336835622787, -0.02401380054652691, -0.004139129538089037, 0.04612118750810623, 0.005356294102966785, 0.043906550854444504, -0.0292231235653162, -0.039295125752687454, 0.07053469121456146, 0.016667300835251808, 0.04632517322897911, 0.021786246448755264, -0.025352001190185547, 0.04691140353679657, 0.037207961082458496, -0.002202096162363887, 0.01908900775015354, 0.006301194429397583, -0.02474088780581951, -0.06283683329820633, 0.02898266911506653, -0.01831362396478653, 0.008845911361277103, -0.03522106260061264, 0.05147193372249603, 0.010261441580951214, -0.004036085680127144, -0.017372291535139084, 0.019517479464411736, -0.06135158613324165, -0.027610287070274353, -0.040152426809072495, -0.006057675462216139, -0.022591309621930122, 0.04154699295759201, -0.009655864909291267, 0.0254003144800663, 0.05766429379582405, 0.003304538782685995, 0.006584592629224062, 0.02245931886136532, 0.07079378515481949, 0.08522356301546097, 0.03632311895489693, 0.015555786900222301, 0.08261414617300034, -0.029139319434762, -0.054558165371418, -0.0076348623260855675, -0.05483701825141907, -0.01590728387236595, -0.017557749524712563, -0.007695792708545923, 0.085992731153965, -0.0008357612532563508, 0.06835760921239853, -0.0064583127386868, 0.03347552567720413, -0.006781750824302435, -0.009042473509907722, 0.030912814661860466, 0.035967499017715454, 0.02315419539809227, 0.02435837872326374, 0.005817316472530365, -0.016853392124176025, -0.009917221963405609, -0.009310970082879066, -0.016249993816018105, 0.01103345025330782, -0.027146829292178154, 0.024216962978243828, -0.0088493088260293, 0.01677774451673031, 0.060862571001052856, -0.013074076734483242, -0.003360802074894309, -0.001989855896681547, 0.06932526081800461, -0.022080708295106888, -0.003098656190559268, -0.04631953313946724, -0.021583808586001396, -0.006790980696678162, -0.02702341228723526, -0.011517608538269997, -0.009777190163731575, -0.03094054013490677, 0.03850970417261124, -0.027728283777832985, 0.0029738012235611677, 0.052725326269865036, -0.01368702482432127, -0.00403017271310091, -0.028124844655394554, -0.06169132515788078, -0.021369008347392082, -0.04745602607727051, 0.007554070558398962, -0.004230470396578312, 0.01030738465487957, -0.04712386056780815, -0.029297929257154465, 0.02690863236784935, -0.015487750060856342, 0.03229081630706787, -0.07007219642400742, -0.042360737919807434, 0.008981273509562016, -0.009724797680974007, 0.03341822698712349, 0.03098343312740326, 0.06030532345175743, 0.003610905259847641, -0.025141926482319832, -0.020112676545977592, -0.038350727409124374, 0.0674533098936081, -0.0026798939798027277, 0.015054233372211456, -0.08944933861494064, 0.04917657747864723, 0.05280018970370293, 0.02065162919461727, -0.04406410828232765, -0.009436492808163166, 0.03197305276989937, -0.014009717851877213, 0.07381360232830048, -0.022050531581044197, 0.007600529119372368, -0.04360141232609749, -0.005472079385071993, -0.03235969319939613, 0.004461238160729408, 0.0196556244045496, -0.007653443142771721, 0.08177122473716736, 0.013615510426461697, 0.026189524680376053, -0.04516530781984329, 0.019830690696835518, 0.010768098756670952, -0.02631171979010105, -0.03879226744174957, -0.006185654550790787, -0.03601374104619026, -0.08447668701410294, -0.015203472226858139, 0.01209375448524952, -0.01907322183251381, -0.04276677593588829, 0.000040534410800319165, -0.004828610457479954, -0.06793972104787827, 0.04077481850981712, -0.04957271367311478, -0.01762492023408413, -0.026961971074342728, -0.015084893442690372, -0.01048602256923914, 0.03921543434262276, -0.0036499316338449717, -0.0031266948208212852, 0.010060714557766914, -0.014192430302500725, 0.011951508931815624, -0.041255537420511246, 0.04469398409128189, 0.023207703605294228, -0.0321594662964344, 0.056533705443143845 ]
[ -0.09254942089319229, -0.029254121705889702, 0.012417991645634174, -0.03945772722363472, 0.0485549196600914, -0.07494814693927765, -0.03090190328657627, 0.01138177141547203, -0.01133252214640379, 0.009145841933786869, 0.010768482461571693, -0.040670301765203476, -0.0009253425523638725, -0.04304136708378792, 0.07317454367876053, 0.02597815729677677, -0.017426658421754837, -0.06449651718139648, 0.012393354438245296, 0.02390291914343834, 0.02132980152964592, -0.026038439944386482, -0.00638621998950839, -0.0484669990837574, -0.05047318711876869, 0.0513179749250412, 0.04284261167049408, -0.008618364110589027, -0.004879046697169542, -0.14971396327018738, -0.0003626406833063811, 0.02006990648806095, -0.015987461432814598, 0.0037947846576571465, 0.030524423345923424, 0.0446711964905262, 0.012675069272518158, 0.040508516132831573, 0.013860761187970638, 0.03917310759425163, 0.017207179218530655, 0.0020473129115998745, -0.11306525766849518, -0.031653717160224915, 0.04147123545408249, -0.0016591391758993268, -0.003763756016269326, -0.013081047683954239, 0.022236960008740425, -0.022976404055953026, -0.050828658044338226, 0.004959361162036657, 0.015790821984410286, -0.04683941602706909, -0.016925519332289696, 0.0141293341293931, 0.09504713863134384, 0.0700913667678833, 0.00803363136947155, 0.039775583893060684, 0.03825753927230835, -0.009875227697193623, -0.1392807811498642, 0.0542445033788681, 0.03472734987735748, -0.008741538971662521, -0.044158171862363815, -0.05690225958824158, -0.04372106119990349, 0.05211015045642853, 0.006766308564692736, -0.03334500640630722, -0.051796868443489075, 0.050703972578048706, 0.01225347351282835, 0.0182100310921669, -0.005035872105509043, 0.02424768917262554, 0.031558651477098465, -0.010468733496963978, -0.03796713054180145, -0.0031424215994775295, -0.07488004118204117, 0.010796714574098587, -0.033517125993967056, 0.028443902730941772, -0.024678638204932213, 0.08478707075119019, 0.06384419649839401, 0.014791766181588173, 0.02574002742767334, 0.00033049675403162837, 0.04267439618706703, 0.02619323693215847, -0.09180674701929092, -0.04287638142704964, 0.04691411927342415, -0.021780038252472878, -0.06628777086734772, 0.3989446759223938, -0.012460011057555676, -0.018303636461496353, 0.02481558546423912, 0.017558174207806587, 0.02019917406141758, 0.037979479879140854, -0.0407344326376915, -0.04180075228214264, 0.0041273958049714565, -0.03779837116599083, 0.006925895344465971, -0.012467100284993649, 0.06903718411922455, -0.04047340154647827, 0.008394189178943634, 0.011067990213632584, 0.007348134182393551, 0.002157149137929082, -0.05549147352576256, 0.015712033957242966, -0.006166631821542978, -0.0011047874577343464, 0.054171234369277954, -0.00008152614464052022, 0.014345183037221432, -0.01762864924967289, 0.0468907505273819, 0.0618138387799263, 0.0024479394778609276, 0.023744193837046623, 0.015945345163345337, 0.008263572119176388, -0.04955092445015907, -0.041158098727464676, -0.022824252024292946, 0.027612116187810898, 0.01316770724952221, -0.0167649295181036, 0.0006058258004486561, 0.041610270738601685, -0.041007786989212036, -0.027960745617747307, -0.019650593400001526, 0.018547000363469124, -0.0009567441884428263, 0.06195858120918274, 0.011105692014098167, 0.011281064711511135, -0.013882406987249851, -0.038118474185466766, -0.023488400503993034, 0.01146368682384491, -0.0006507107755169272, -0.04468943923711777, 0.028109204024076462, -0.00419463450089097, 0.05549493432044983, 0.0003939086163882166, -0.040071167051792145, 0.019411051645874977, 0.034494124352931976, -0.07558099925518036, -0.06532777845859528, 0.052255209535360336, 0.035908397287130356, -0.10017262399196625, -0.032621800899505615, 0.0028911810368299484, -0.015363018028438091, -0.02935217134654522, -0.0230010524392128, 0.005649500526487827, -0.008519958704710007, -0.026557475328445435, 0.0364864245057106, -0.0731523185968399, -0.013206129893660545, 0.01624155603349209, -0.0021794128697365522, 0.03781226649880409, -0.002068684669211507, 0.015230143442749977, -0.027405573055148125, 0.00120463315397501, -0.03003772720694542, -0.0724131166934967, -0.04801962524652481, -0.015937594696879387, -0.024199392646551132, -0.057468123733997345, -0.07552206516265869, -0.018637770786881447, -0.07225186377763748, 0.047200340777635574, 0.021578118205070496, 0.027229342609643936, -0.03773373365402222, 0.015542050823569298, 0.004188591614365578, -0.02963353507220745, 0.03130195289850235, 0.0460674874484539, -0.01068494189530611, 0.037918005138635635, -0.0841749981045723, 0.03600138798356056, 0.00662669213488698, -0.04564777761697769, 0.03989462926983833, 0.011865702457726002, -0.055915556848049164, 0.022625217214226723, 0.023392075672745705, 0.03835082799196243, -0.021300632506608963, 0.01364666223526001, -0.0620831735432148, 0.02255854196846485, 0.07239162921905518, 0.03852439671754837, -0.021716849878430367, 0.005029679741710424, -0.012335537001490593, -0.3588011562824249, -0.025430239737033844, -0.02022441476583481, -0.00395680358633399, -0.043786682188510895, -0.011528905481100082, 0.0445389486849308, -0.03498709201812744, -0.023929130285978317, 0.015470718964934349, 0.09634777158498764, -0.044521182775497437, 0.056009694933891296, -0.05489734932780266, 0.018579382449388504, 0.017788318917155266, -0.03637844696640968, 0.0025577694177627563, -0.020763425156474113, 0.028704233467578888, -0.01009870320558548, -0.09843428432941437, 0.019101275131106377, -0.03292008489370346, -0.030757490545511246, -0.00495904078707099, 0.11684412509202957, 0.02234799601137638, 0.045516930520534515, -0.05765891447663307, 0.06958363950252533, 0.04028862714767456, 0.011787771247327328, -0.12568573653697968, 0.02649211511015892, -0.03373344987630844, 0.02164151705801487, 0.02540896274149418, 0.04321562498807907, 0.007483175490051508, -0.056892357766628265, 0.03207215294241905, -0.0745832771062851, -0.05581829696893692, 0.00738484924659133, 0.00023553805658593774, -0.01531236618757248, -0.009497647173702717, -0.014680194668471813, 0.08702123165130615, 0.04154988378286362, 0.050621602684259415, 0.011844024062156677, 0.032897744327783585, 0.03153836354613304, -0.03229347616434097, -0.06852911412715912, -0.02095887064933777, 0.04623254016041756, 0.026049528270959854, 0.053962431848049164, 0.07440705597400665, 0.049020472913980484, -0.08844053745269775, 0.012263323180377483, 0.013362154364585876, 0.013890691101551056, 0.03435010835528374, 0.06986863911151886, -0.010480723343789577, -0.04295313358306885, 0.08932172507047653, 0.003346808720380068, -0.02023596502840519, -0.005570919718593359, 0.030906938016414642, -0.028895357623696327, 0.01857222616672516, 0.014300549402832985, -0.002547368174418807, -0.007113848812878132, -0.04278730973601341, 0.02716692164540291, -0.053012676537036896, -0.04624860733747482, 0.05813915655016899, -0.04334712773561478, -0.009238477796316147, 0.08171853423118591, 0.008023670874536037, -0.03206727281212807, -0.0035172344651073217, -0.020005060359835625, -0.03385084494948387, 0.07791512459516525, -0.0006241504452191293, -0.23020347952842712, 0.011878957971930504, 0.07384210079908371, 0.059397466480731964, -0.017047086730599403, 0.03421761840581894, 0.036474693566560745, -0.061303671449422836, 0.002505742246285081, -0.03271087631583214, 0.027697330340743065, 0.0024120358284562826, -0.008862082846462727, 0.028001271188259125, 0.032152533531188965, 0.0033119977451860905, 0.04524213448166847, 0.0285517368465662, -0.0026003310922533274, -0.02700968272984028, -0.020749900490045547, -0.024168726056814194, 0.12548597157001495, 0.022742852568626404, -0.04208207502961159, -0.013684753328561783, -0.012842686846852303, 0.022661354392766953, 0.03483741357922554, 0.02139177732169628, -0.020003000274300575, -0.011564290151000023, 0.07623245567083359, 0.0031177313067018986, 0.06235393509268761, -0.06720651686191559, 0.009657537564635277, 0.018589403480291367, 0.05749824270606041, -0.00030754084582440555, -0.025844857096672058, 0.04147789627313614, -0.035661015659570694, 0.04284535348415375, 0.03685888648033142, -0.04647474363446236, 0.023641377687454224, 0.015144290402531624, -0.030329076573252678, 0.0018188380636274815, -0.006546122953295708, -0.05252838507294655, 0.0025538529735058546, 0.026289377361536026, 0.043309979140758514, 0.08035963773727417, 0.027924247086048126, -0.06530645489692688, -0.009038103744387627, 0.026123424991965294, 0.015839561820030212, -0.009835397824645042, 0.1377575397491455, -0.02008446492254734, 0.048799216747283936 ]
[ -0.004800890572369099, 0.023266257718205452, -0.011030611582100391, 0.015858875587582588, 0.022328363731503487, 0.02560296282172203, -0.03419721499085426, 0.007092795800417662, -0.031134724617004395, -0.019317971542477608, 0.03702912852168083, 0.034965500235557556, -0.03393660485744476, -0.024182626977562904, -0.009952157735824585, 0.012426512315869331, 0.08473356068134308, 0.06237110495567322, 0.031069790944457054, 0.05622747913002968, -0.025231875479221344, 0.07369646430015564, 0.014385764487087727, -0.0220064464956522, -0.012938388623297215, -0.0011443314142525196, -0.09044109284877777, 0.011628435924649239, 0.027558648958802223, -0.14930588006973267, -0.018180545419454575, -0.024510610848665237, 0.0019219822715967894, 0.011877394281327724, 0.03130846470594406, 0.03524911403656006, -0.03240305185317993, -0.004205115605145693, -0.04245668277144432, -0.006621434818953276, -0.008919823914766312, -0.012864897958934307, -0.007318505086004734, -0.01170007698237896, 0.024445652961730957, 0.0019150425214320421, 0.0008004025439731777, -0.016125086694955826, 0.023057445883750916, -0.00032178653054870665, -0.0029471127782016993, 0.06973069161176682, 0.050588760524988174, -0.0011803662637248635, -0.03192619979381561, -0.009066097438335419, 0.011393409222364426, 0.04244743287563324, 0.026338087394833565, -0.013583464547991753, 0.02097940631210804, 0.042176567018032074, -0.01786494068801403, -0.06137273088097572, -0.02541489526629448, -0.018304629251360893, -0.02348112314939499, -0.04841598495841026, -0.031140122562646866, -0.02795397862792015, -0.011515021324157715, 0.0457112193107605, -0.04424111917614937, -0.03270694613456726, -0.01859455183148384, 0.0018191892886534333, -0.025345809757709503, -0.0014049788005650043, 0.03337167575955391, 0.017766285687685013, -0.030861129984259605, 0.011190860532224178, -0.05038530379533768, 0.0437459722161293, -0.025503555312752724, 0.02948250249028206, 0.019285384565591812, 0.019822146743535995, 0.0233816709369421, -0.02605574205517769, -0.008992129005491734, -0.029178589582443237, 0.03144160285592079, 0.05424565449357033, -0.08186402916908264, -0.03954915702342987, 0.020950952544808388, -0.06306048482656479, 0.0021053559612482786, 0.751964807510376, -0.0175799373537302, -0.009499561041593552, 0.04855668544769287, 0.03108241967856884, 0.017342565581202507, 0.00019528680422808975, -0.01070401445031166, 0.015752628445625305, -0.010290470905601978, -0.040360476821660995, 0.04890580102801323, -0.02394471876323223, 0.04819679632782936, 0.011558452621102333, 0.02705780416727066, 0.03903404623270035, -0.016029605641961098, -0.0005217109574005008, 0.01798369735479355, 0.027392122894525528, 0.07413367927074432, -0.024488411843776703, -0.011095688678324223, 0.007554482202976942, -0.02696414478123188, -0.22538483142852783, 0.05035177618265152, -6.622291423415332e-33, 0.0034189028665423393, 0.0023318168241530657, -0.00625591678544879, 0.021087713539600372, 0.01224812027066946, 0.0005945415468886495, -0.02489336207509041, 0.022207867354154587, -0.002118861535564065, -0.02526722103357315, -0.018369261175394058, -0.04667393118143082, 0.021319426596164703, 0.0061659617349505424, -0.001456400379538536, -0.0032562895212322474, -0.01243538036942482, 0.027991119772195816, 0.041566021740436554, 0.023009825497865677, 0.04951859638094902, 0.0031898932065814734, -0.02820652909576893, -0.004820105619728565, -0.03558749705553055, 0.00024659084738232195, 0.009445151314139366, 0.0078258803114295, 0.00040390685899183154, -0.0457858182489872, 0.005819440353661776, 0.025524241849780083, 0.022894680500030518, -0.055164434015750885, -0.031861938536167145, -0.027675246819853783, 0.005950507242232561, -0.011854558251798153, -0.07735791057348251, -0.025253448635339737, 0.034765757620334625, 0.043269429355859756, -0.06741775572299957, -0.02822624146938324, 0.014528675004839897, 0.007050825748592615, -0.006125542335212231, 0.007129370234906673, 0.03200025483965874, -0.005230205599218607, -0.040062837302684784, -0.007644879166036844, 0.007521261926740408, 0.022995920851826668, 0.02137114852666855, -0.0054967268370091915, -0.016214530915021896, 0.05509508028626442, -0.014715059660375118, -0.002245135372504592, 0.014593595638871193, -0.029572872444987297, 0.009759873151779175, 0.007031699642539024, -0.016998564824461937, -0.021187033504247665, -0.03962381184101105, -0.014034660533070564, -0.009083757176995277, 0.027581553906202316, -0.060595523566007614, 0.01806330308318138, -0.025298571214079857, -0.04627244919538498, -0.037927549332380295, -0.04908156022429466, 0.04472237825393677, 0.010810282081365585, -0.012584816664457321, 0.009283414110541344, -0.014642721973359585, -0.001557357027195394, -0.02556813322007656, -0.03810152783989906, -0.03229125216603279, -0.017918217927217484, -0.0124005526304245, -0.018025994300842285, -0.010930265299975872, -0.03589458763599396, -0.0010955041507259011, 0.049515631049871445, 0.029704028740525246, -0.023603539913892746, -0.0088445283472538, 6.435549452107827e-33, 0.0019194242777302861, -0.02225562185049057, 0.03061896376311779, 0.009208748117089272, 0.04406270012259483, 0.007534531410783529, 0.015627454966306686, -0.04223543033003807, -0.04659801721572876, 0.004572899546474218, -0.09771696478128433, 0.04317992180585861, -0.006598911713808775, 0.03269454836845398, 0.038611263036727905, 0.02122468501329422, 0.022288557142019272, -0.03211868926882744, 0.052036356180906296, 0.0495242103934288, -0.07889184355735779, 0.05033490061759949, 0.022667672485113144, 0.011484330520033836, 0.0036015489604324102, 0.03957616910338402, -0.028619790449738503, 0.013120023533701897, -0.01699056476354599, -0.014485611580312252, 0.06717231124639511, -0.01619303971529007, 0.01012920867651701, 0.038555338978767395, -0.00678067235276103, 0.04194224253296852, 0.006851126905530691, 0.016859570518136024, 0.0038476819172501564, 0.01982930488884449, 0.03958224505186081, -0.034113138914108276, -0.030369797721505165, -0.030109766870737076, 0.04916403070092201, 0.02624291181564331, -0.0033434992656111717, -0.015887709334492683, 0.007068573497235775, 0.020591318607330322, -0.002455320442095399, 0.027100788429379463, -0.03027103841304779, 0.05704210326075554, -0.002807203447446227, -0.0029501987155526876, -0.018686404451727867, 0.040226228535175323, 0.022067416459321976, -0.007435050792992115, 0.015403203666210175, 0.023047326132655144, 0.01790463738143444, 0.015413798391819, -0.052176833152770996, -0.020471559837460518, 0.009235173463821411, -0.006302151363343, 0.01839802786707878, -0.0008308262913487852, -0.002087183063849807, 0.034657321870326996, -0.001155357575044036, 0.023158682510256767, -0.005004093982279301, -0.008676075376570225, 0.0021190026309341192, -0.014003133401274681, -0.04187938570976257, -0.03293963894248009, -0.013340274803340435, -0.016582639887928963, 0.018177829682826996, -0.00819039810448885, 0.0009632440633140504, 0.04653177782893181, -0.07954856008291245, 0.010308203287422657, 0.025605103000998497, 0.0008745068917050958, -0.001653853920288384, -0.050829846411943436, -0.01593863032758236, -0.010480635799467564, -0.07495099306106567, -1.219080925096705e-8, 0.03546875715255737, -0.007766609080135822, -0.027570512145757675, -0.004225374199450016, 0.016779061406850815, 0.009490513242781162, 0.012775515206158161, 0.028728002682328224, -0.03135327622294426, 0.035109128803014755, 0.00004986684143659659, -0.015417087823152542, -0.025086723268032074, 0.045313186943531036, 0.0961509495973587, 0.02061881683766842, -0.022162890061736107, 0.06510631740093231, 0.017766796052455902, 0.028913864865899086, 0.0013583656400442123, 0.06890387088060379, -0.0020274240523576736, 0.0026950605679303408, -0.020377760753035545, -0.003709783311933279, 0.006636732257902622, -0.10517121851444244, 0.003492907388135791, 0.003465102519840002, 0.019761523231863976, 0.018580405041575432, -0.01060510240495205, -0.043477218598127365, -0.059360720217227936, -0.00559567054733634, -0.0035050776787102222, 0.019162410870194435, -0.010194660164415836, -0.027915868908166885, 0.05357563495635986, -0.0031064178328961134, -0.006971170660108328, -0.0553620345890522, -0.010517334565520287, -0.03120950609445572, 0.019582541659474373, -0.03478814288973808, -0.011313158087432384, -0.022121038287878036, -0.022515494376420975, 0.031907543540000916, 0.0010699257254600525, 0.034301549196243286, 0.009467652067542076, 0.013542546890676022, 0.011526975780725479, -0.008437375538051128, 0.001683386624790728, -0.04826747998595238, 0.021618148311972618, -0.018130505457520485, -0.00011084255675086752, -0.03333829343318939 ]
vagrantvirtual-box-there-was-an-error-executing-the-following-command-with-vboxmanage-progress-object-failure-ns_error_call_failed
https://markhneedham.com/blog/2013/06/29/vagrantvirtual-box-there-was-an-error-executing-the-following-command-with-vboxmanage-progress-object-failure-ns_error_call_failed
false
2013-06-19 05:32:50
neo4j: WrappingNeoServerBootstrapper and the case of the /webadmin 404
[ "neo4j" ]
[ "neo4j" ]
When people first use neo4j they frequently start out by http://docs.neo4j.org/chunked/stable/tutorials-java-embedded.html[embedding it in a Java application] but eventually they want to explore the graph in a more visual way. One simple way to do this is to start neo4j in server mode and use the web console. Our initial code might read like this: [source,java] ---- public class GraphMeUp { public static void main(String[] args) { GraphDatabaseService graphDb = new EmbeddedGraphDatabase("/path/to/data/graph.db"); } } ---- or: [source,java] ---- public class GraphMeUp { public static void main(String[] args) { GraphDatabaseService graphDb = new GraphDatabaseFactory(). newEmbeddedDatabaseBuilder("/path/to/data/graph.db"). newGraphDatabase(); } } ---- And to start our graph up in server mode we can use the +++<cite>+++http://components.neo4j.org/neo4j-server/1.9/apidocs/org/neo4j/server/WrappingNeoServerBootstrapper.html[WrappingNeoServerBootstrapper]+++</cite>+++ class which is packaged in neo4j-server so we first need to add that dependency: [source,xml] ---- <dependency> <groupId>org.neo4j.app</groupId> <artifactId>neo4j-server</artifactId> <version>1.9</version> </dependency> ---- [source,java] ---- public class GraphMeUp { public static void main(String[] args) { GraphDatabaseService graphDb = new GraphDatabaseFactory(). newEmbeddedDatabaseBuilder("/path/to/data/graph.db"). newGraphDatabase(); new WrappingNeoServerBootstrapper((GraphDatabaseAPI)graphDb).start(); } } ---- If we then browse to http://localhost:7474/webadmin/ we'll be greeted by a 404 error: [source,text] ---- HTTP ERROR 404 Problem accessing /webadmin/. Reason: Not Found Powered by Jetty:// ---- sad panda :( Until I came across http://stackoverflow.com/questions/8111959/use-wrappingneoserverbootstrapper-with-spring-data-neo4j[this post on StackOverflow by Michael] I didn't realise that there's actually another dependency that we need to include to get the web admin goodness! To get things worked as we'd expect we need to include the following dependency: ~~~xml +++<dependency>++++++<groupId>+++org.neo4j.app+++</groupId>+++ +++<artifactId>+++neo4j-server+++</artifactId>+++ +++<version>+++1.9+++</version>+++ +++<type>+++jar+++</type>+++ +++<classifier>+++static-web+++</classifier>+++ +++<scope>+++compile+++</scope>++++++</dependency>+++ ~~~ I hadn't come across the +++<cite>+++classifier+++</cite>+++ attribute before but what this does is include the following JAR: ~~~bash $ ls -alh ~/.m2/repository/org/neo4j/app/neo4j-server/1.9/neo4j-server-1.9-static-web.jar -rw-r--r-- 1 markhneedham staff 3.5M 17 Jun 11:28 /Users/markhneedham/.m2/repository/org/neo4j/app/neo4j-server/1.9/neo4j-server-1.9-static-web.jar ~~~ If we run our code again we should see the bright and cheery web admin interface and all is good with the world.
null
null
[ 0.015144458040595055, -0.03432326763868332, -0.0057045272551476955, 0.02435009926557541, 0.08769020438194275, -0.025047078728675842, 0.030612926930189133, 0.03131173178553581, 0.008520643226802349, -0.026447312906384468, -0.006315540987998247, -0.010379730723798275, -0.06777157634496689, 0.00767225306481123, -0.005531211383640766, 0.03841155394911766, 0.07868872582912445, -0.002529783407226205, 0.018499568104743958, -0.016503827646374702, 0.0023863399401307106, 0.04543241113424301, -0.008281180635094643, 0.047967102378606796, 0.05594407394528389, 0.017392942681908607, 0.01731189712882042, -0.002076521748676896, -0.04024149104952812, -0.00981846172362566, 0.037690334022045135, -0.009510082192718983, 0.02623332478106022, -0.009765070863068104, 0.02538755163550377, -0.018313171342015266, -0.043554242700338364, 0.03288446366786957, -0.00516655296087265, -0.004667975474148989, -0.0758475586771965, 0.030074352398514748, 0.011588245630264282, 0.02709018625319004, -0.03452420234680176, 0.02192467823624611, -0.05288037285208702, 0.03919865936040878, 0.024065786972641945, -0.015003112144768238, -0.10843155533075333, 0.043164778500795364, -0.03169388324022293, 0.023166125640273094, 0.010605387389659882, 0.03119683638215065, 0.030364826321601868, -0.06802863627672195, 0.04391670972108841, -0.03535358980298042, 0.012837599962949753, -0.00044018367771059275, -0.0011178388958796859, 0.032720208168029785, -0.0013897060416638851, -0.042148690670728683, -0.012372934259474277, 0.06266898661851883, -0.04591109976172447, -0.0004527902929112315, -0.012825354933738708, 0.0010038247564807534, -0.03512730076909065, 0.0005974436644464731, 0.012746197171509266, -0.05299410969018936, -0.01345059834420681, 0.05426611751317978, 0.019973335787653923, 0.061457373201847076, -0.03197208791971207, 0.026309845969080925, 0.005726971663534641, 0.0002700297918636352, 0.0032773034181445837, -0.03377585858106613, -0.031491417437791824, -0.024571804329752922, -0.05331268161535263, 0.043731022626161575, 0.004870489705353975, -0.05113247036933899, -0.014608055353164673, 0.015178176574409008, -0.022153934463858604, 0.033614836633205414, 0.012895412743091583, 0.0038831359706819057, 0.04000197350978851, -0.010858282446861267, -0.021765556186437607, -0.01964322291314602, 0.008465051651000977, 0.00795662309974432, -0.07368116080760956, -0.0443362295627594, -0.014763474464416504, -0.03147710859775543, -0.011701339855790138, -0.021569279953837395, -0.04215395078063011, -0.012389921583235264, -0.03131287544965744, 0.01975991576910019, -0.07695916295051575, 0.07904799282550812, 0.007418413180857897, -0.01900036446750164, -0.025515180081129074, 0.01174616627395153, 0.04800328239798546, 0.0278793778270483, -0.010857108980417252, 0.08682774752378464, -0.027256574481725693, 0.05766662582755089, -0.01818871684372425, 0.04651292413473129, -0.009862979874014854, -0.06538238376379013, -0.028374042361974716, 0.0597534216940403, 0.014713980257511139, 0.020519977435469627, -0.0062048425897955894, -0.02643422596156597, 0.006603610701858997, 0.023127028718590736, 0.04928973689675331, 0.0168868787586689, -0.011836746707558632, -0.05361434072256088, 0.03149819374084473, -0.01890461891889572, 0.018807101994752884, 0.008504622615873814, -0.021563393995165825, -0.03717225044965744, -0.020932717248797417, 0.03494145721197128, 0.015934759750962257, 0.03931735083460808, 0.05255437642335892, -0.0302840918302536, 0.020982984453439713, 0.11422353982925415, 0.017314350232481956, 0.010681333020329475, -0.001334141124971211, 0.021678341552615166, 0.04462483525276184, 0.02891741506755352, 0.0011924876598641276, 0.07915335893630981, 0.0000212446138903033, -0.018694082275032997, -0.00919521413743496, 0.044901248067617416, -0.0027460490819066763, 0.009543281979858875, -0.02975521981716156, -0.08779634535312653, 0.03960512951016426, -0.031148670241236687, 0.013935667462646961, 0.043298982083797455, 0.06328824162483215, -0.007288300432264805, 0.01746903359889984, 0.0007830248214304447, -0.0717231035232544, 0.05228937417268753, 0.028624674305319786, -0.01694229431450367, -0.013520344160497189, 0.009617362171411514, 0.07477453351020813, 0.03879156336188316, 0.001046238699927926, 0.013315540738403797, -0.07387153059244156, -0.08401001244783401, -0.0050902413204312325, -0.0019947129767388105, 0.0607854463160038, -0.022402193397283554, -0.0182338859885931, 0.04891602694988251, 0.011588566936552525, 0.023298025131225586, 0.03390287607908249, -0.03107299841940403, 0.02544678933918476, -0.04303942248225212, -0.05685637518763542, 0.0468231700360775, 0.014025386422872543, -0.0479622557759285, -0.04977695271372795, 0.010594550520181656, -0.0303227286785841, 0.005140146240592003, 0.018723731860518456, -0.012904942035675049, 0.05646917596459389, 0.017490847036242485, 0.008775653317570686, -0.017802631482481956, 0.04830063134431839, -0.04401615262031555, 0.03166244551539421, -0.013553241267800331, -0.032049939036369324, -0.007535005919635296, 0.008025935851037502, 0.11049098521471024, 0.04784178361296654, -0.029595453292131424, -0.05194706469774246, 0.048578739166259766, 0.026900898665189743, -0.04203421249985695, 0.04577122628688812, -0.0248382817953825, 0.011374911293387413, -0.013674397021532059, -0.019434191286563873, -0.0063022044487297535, -0.005537012126296759, -0.03293825313448906, 0.02954510599374771, 0.058772869408130646, -0.04709503427147865, 0.05157475173473358, 0.03304184228181839, -0.025633934885263443, 0.005168033763766289, -0.04404985532164574, -0.04828854650259018, 0.023839380592107773, 0.018379073590040207, -0.006053444929420948, 0.07189985364675522, -0.018030477687716484, -0.0211247019469738, -0.02772398293018341, -0.027425453066825867, 0.04423856735229492, 0.010123824700713158, 0.056211329996585846, -0.005743328481912613, 0.01667141541838646, -0.059204962104558945, 0.022908417508006096, -0.019778188318014145, -0.050879377871751785, -0.005819931160658598, -0.004805293865501881, 0.038673508912324905, 0.016150906682014465, 0.008429340086877346, -0.030673420056700706, 0.053537916392087936, 0.01669662445783615, -0.004180849064141512, -0.029540173709392548, 0.02948412299156189, 0.006937291007488966, -0.009590605273842812, -0.045085541903972626, -0.04127056896686554, 0.03643575683236122, -0.06183122843503952, -0.03669675812125206, -0.010857048444449902, -0.048446618020534515, 0.06127980351448059, -0.06842897832393646, -0.04718019813299179, -0.00525480043143034, 0.05810423567891121, 0.055750854313373566, 0.01521623507142067, 0.010512998327612877, 0.07800903916358948, 0.009110642597079277, 0.005709939636290073, 0.013504276052117348, 0.005857696756720543, 0.04194793477654457, -0.02494705282151699, 0.04407800734043121, 0.0371343269944191, -0.028287075459957123, -0.01884811371564865, -0.023413334041833878, 0.029604852199554443, -0.023532012477517128, -0.26394012570381165, 0.04810630530118942, -0.027488507330417633, -0.055378858000040054, 0.01655193604528904, -0.03353992477059364, 0.0016370409866794944, -0.02683335542678833, -0.008607828989624977, 0.01930011250078678, -0.017926258966326714, -0.02838532067835331, -0.013991001062095165, 0.0493764765560627, -0.00882603507488966, 0.021057363599538803, 0.006695866119116545, -0.0444219671189785, 0.008340324275195599, 0.04137204587459564, -0.017522744834423065, -0.041554711759090424, 0.0039119115099310875, 0.008724045939743519, 0.00907964538782835, 0.04192637652158737, -0.11512575298547745, 0.06269780546426773, -0.02283613756299019, -0.023929519578814507, 0.013128374703228474, -0.04004831984639168, 0.002255704952403903, 0.015684304758906364, -0.02245497517287731, -0.036802761256694794, 0.02477349154651165, 0.025348251685500145, 0.004580180160701275, 0.019465669989585876, -0.03569209575653076, -0.06834941357374191, -0.044997647404670715, -0.007990540936589241, 0.08424686640501022, -0.014037159271538258, -0.07916225492954254, -0.004845701158046722, -0.02271757833659649, 0.08197979629039764, -0.03908562287688255, -0.03397233784198761, 0.013832462951540947, 0.013930082321166992, -0.01919372007250786, -0.046868838369846344, 0.003326436271890998, 0.011089703999459743, -0.05007077753543854, -0.0273693036288023, -0.01202736608684063, -0.04599064961075783, 0.00831068679690361, -0.07974749803543091, -0.006306754890829325, -0.06515344232320786, -0.05648823827505112, -0.016574332490563393, 0.04354112222790718, 0.03096066601574421, -0.02367842197418213, 0.040284037590026855, 0.0025806324556469917, -0.11250293254852295, -0.013318552635610104, -0.08385765552520752, -0.015282041393220425, -0.01791474223136902, -0.008124970830976963, 0.05739566683769226, -0.024522611871361732, -0.02415335364639759, -0.005134378559887409, 0.023491989821195602, 0.011532123200595379, 0.013337584212422371, 0.019909247756004333, -0.041193753480911255, -0.013887711800634861, 0.00024484473397023976, 0.07139183580875397, -0.02086750604212284, -0.022372255101799965, -0.009960075840353966, 0.011743438430130482, 0.0521477572619915, 0.012287154793739319, -0.009918095543980598, 0.01986834593117237, 0.032589517533779144, 0.0549062043428421, -0.01847750134766102, 0.017140014097094536, -0.003712560050189495, -0.013081658631563187, -0.018680671229958534, -0.07021540403366089, 0.01728716678917408, 0.030806491151452065, 0.024852806702256203, -0.023122910410165787, -0.01585085503757, 0.009081571362912655, -0.054180171340703964, -0.035567089915275574, -0.006827052216976881, 0.0162230022251606, 0.005251470021903515, 0.03763918951153755, -0.023020999506115913, -0.04684355854988098, 0.01690826751291752, 0.05488431826233864, -0.00612161448225379, -0.047792669385671616, -0.03857824578881264, -0.02057950757443905, -0.035573799163103104, 0.012165332213044167, 0.01705736666917801, -0.00814254954457283, 0.045264799147844315, 0.026937592774629593, -0.01826000027358532, 0.02870332822203636, -0.009631171822547913, -0.015751177445054054, -0.03898954391479492, 0.027586258947849274, -0.007459829095751047, -0.020355915650725365, 0.016143713146448135, -0.0023727803491055965, 0.02238585241138935, 0.03191717714071274, -0.004478501155972481, 0.01857355423271656, 0.017346909269690514, 0.012759163975715637, -0.008299287408590317, -0.000630111841019243, -0.0395912267267704, -0.001905187382362783, -0.0333111472427845, -0.04439063370227814, -0.012088704854249954, 0.06725369393825531, -0.05053185299038887, -0.05330480635166168, -0.04333249107003212, 0.04410183057188988, -0.0784987062215805, -0.001985307317227125, -0.01004351582378149, -0.01019437424838543, 0.05835873633623123, -0.007389307953417301, 0.028398588299751282, -0.028087779879570007, -0.04796028137207031, 0.03453940153121948, 0.007135458756238222, -0.030594846233725548, 0.017043786123394966, 0.014537977054715157, 0.011957967653870583, -0.0011455215280875564, 0.05349994823336601, 0.05308006703853607, 0.021941741928458214, -0.004756595008075237, -0.0019384153420105577, 0.0043077245354652405, -0.007401865907013416, 0.03853486850857735, 0.015151341445744038, -0.00738777918741107, 0.02430541440844536, -0.00608715508133173, -0.0035753250122070312, 0.0007237427053041756, -0.0021528920624405146, -0.01913406327366829, 0.013177124783396721, -0.016100501641631126, -0.07258664816617966, 0.04481983557343483, -0.00900973193347454, 0.006624027155339718, 0.018319901078939438, 0.00607445789501071, 0.02012890949845314, -0.049366530030965805, 0.07045973837375641, 0.0632011666893959, -0.046185534447431564, -0.007670439779758453, 0.004127250052988529, -0.002368832239881158, -0.012084771879017353, 0.027236878871917725, -0.05158182978630066, -0.02423873543739319, -0.019813941791653633, 0.009790802374482155, -0.021734975278377533, -0.0591602586209774, -0.0036388994194567204, 0.0050890459679067135, 0.01717199943959713, 0.006939239334315062, 0.02699858695268631, 0.005728327669203281, -0.028009219095110893, -0.0146846454590559, 0.04311010614037514, -0.021121587604284286, -0.01359870471060276, -0.0015988636296242476, -0.022802302613854408, 0.023046327754855156, -0.010402534157037735, 0.04341785982251167, -0.00727525120601058, -0.01587686315178871, 0.009568207897245884, -0.059400737285614014, 0.03231484442949295, 0.02958379127085209, 0.04097987338900566, 0.005139454267919064, 0.02122022584080696, -0.051295213401317596, -0.02393500879406929, -0.030003678053617477, -0.011001206003129482, -0.017681237310171127, 0.015570325776934624, -0.002199701964855194, 0.035268690437078476, 0.008194400928914547, 0.02602880820631981, 0.011497145518660545, -0.025737758725881577, 0.057766180485486984, -0.046058282256126404, -0.06373625248670578, 0.020568445324897766, -0.0655059739947319, 0.003991606645286083, 0.028943035751581192, 0.015558089129626751, -0.029384788125753403, 0.0600910447537899, 0.05541574954986572, 0.018722500652074814, -0.0027569488156586885, -0.01538918912410736, 0.0393291674554348, -0.024774037301540375, -0.002772687003016472, -0.07545886188745499, 0.011538028717041016, 0.05464256554841995, 0.02762451022863388, -0.0008646310889162123, -0.017774496227502823, -0.02042509615421295, 0.015423196367919445, -0.045216154307127, -0.019858920946717262, 0.0191801805049181, -0.014504515565931797, 0.010180157609283924, -0.004761143121868372, -0.06353775411844254, 0.02254386432468891, 0.03052641451358795, -0.03619621694087982, -0.034882813692092896, -0.03957344964146614, 0.043702177703380585, -0.010591923259198666, 0.045715343207120895, -0.027727345004677773, -0.010207945480942726, 0.08041367679834366, 0.01794828474521637, 0.04010752961039543, 0.04260041564702988, -0.011917321011424065, 0.035994600504636765, 0.04701990634202957, -0.029329851269721985, 0.0013584786793217063, 0.021616917103528976, -0.013074414804577827, -0.050733741372823715, 0.010704439133405685, -0.0030471445061266422, -0.02903037890791893, -0.05189695209264755, 0.06740519404411316, 0.03176390379667282, -0.04759569093585014, -0.04561007395386696, 0.031925443559885025, -0.01416369155049324, -0.009228595532476902, -0.06882792711257935, 0.02446291223168373, -0.045770395547151566, 0.05243469774723053, -0.010280289687216282, -0.0006561940535902977, 0.06752660125494003, -0.009310915134847164, -0.021977979689836502, -0.016847172752022743, 0.06895789504051208, 0.09379588812589645, 0.03737306222319603, 0.021058214828372, 0.055078234523534775, 0.011313014663755894, -0.04154612496495247, -0.020497290417551994, -0.015731828287243843, -0.02017776295542717, 0.003995914477854967, 0.003838554723188281, 0.06087741628289223, -0.012667706236243248, 0.06317474693059921, -0.03624105453491211, -0.003461283864453435, -0.013842851854860783, 0.01577604189515114, 0.016979681327939034, 0.03322196006774902, 0.008762044832110405, 0.04935624822974205, -0.01724427193403244, -0.01871168054640293, 0.007826575078070164, -0.026543430984020233, -0.007475570309907198, 0.03459808975458145, 0.0010565242264419794, -0.009126855060458183, 0.032730188220739365, 0.0368301123380661, 0.09115640819072723, -0.010708760470151901, -0.018668871372938156, -0.001658766996115446, 0.0004890451091341674, -0.0032410642597824335, -0.011387679725885391, -0.011380864307284355, -0.022898223251104355, -0.008528189733624458, -0.02261986769735813, -0.02798685058951378, -0.020786238834261894, -0.022511303424835205, 0.005799370817840099, -0.01676582731306553, -0.004685896448791027, -0.012942359782755375, -0.010642588138580322, -0.04413418099284172, -0.04681006819009781, -0.03952454775571823, -0.052044838666915894, -0.07076185196638107, -0.009984858334064484, -0.0055224476382136345, 0.001126619172282517, -0.008484337478876114, -0.020657505840063095, -0.02602802775800228, -0.012174856849014759, 0.03307768329977989, -0.051113422960042953, 0.007981422357261181, 0.01964699663221836, 0.028505919501185417, 0.03419420123100281, 0.028100064024329185, 0.04571248218417168, 0.022476928308606148, 0.0013941203942522407, -0.02152479626238346, 0.01674884371459484, 0.06073848903179169, 0.004721519537270069, 0.004911585245281458, -0.08443077653646469, -0.0065617067739367485, 0.015822602435946465, 0.015521717257797718, -0.07374344021081924, -0.008427794091403484, 0.0476389117538929, 0.017600949853658676, 0.021097848191857338, 0.006069586146622896, -0.01434414740651846, -0.0010529649443924427, 0.01924244500696659, 0.0028141082730144262, 0.002887846902012825, 0.0266841072589159, -0.01364512275904417, 0.07532720267772675, 0.037712350487709045, -0.030334055423736572, -0.015836531296372414, -0.01365326065570116, -0.01120884157717228, 0.0017249045195057988, -0.06167905405163765, -0.031741973012685776, -0.03331746533513069, -0.07585198432207108, -0.008303743787109852, -0.0002020816464209929, -0.010143010877072811, -0.02162901498377323, -0.007218457292765379, 0.03947696089744568, -0.04858298599720001, 0.030295364558696747, -0.04662037268280983, 0.018768344074487686, -0.008320135995745659, -0.02549896389245987, -0.006525697652250528, 0.002407389460131526, -0.007899993099272251, 0.0032527598086744547, 0.019669102504849434, -0.03909468278288841, -0.02206430584192276, -0.0247981995344162, 0.0250075813382864, 0.03139142692089081, 0.015074346214532852, 0.011048251762986183 ]
[ -0.04671814292669296, -0.02066478319466114, -0.03607512265443802, -0.05274675413966179, 0.06832731515169144, -0.007897866889834404, -0.039699018001556396, 0.02913861908018589, 0.010272366926074028, -0.026020390912890434, 0.022434566169977188, -0.014476136304438114, -0.015503108501434326, 0.01647534966468811, 0.07417953014373779, 0.006250096019357443, -0.052272066473960876, -0.03165198490023613, 0.003083819290623069, 0.03405893221497536, 0.008947840891778469, -0.03436783328652382, -0.0016722697764635086, -0.06303228437900543, 0.007133555598556995, 0.06062685698270798, 0.0434088371694088, -0.020932024344801903, -0.008516740053892136, -0.192444309592247, 0.012507465668022633, 0.0017629713984206319, 0.0281686894595623, -0.011315897107124329, -0.00952138751745224, 0.030933259055018425, 0.05279208719730377, 0.006073669996112585, -0.001220234204083681, 0.04811663553118706, 0.005601045209914446, 0.0018453532829880714, -0.0637359768152237, -0.005153152626007795, 0.04865649715065956, -0.006046116352081299, 0.011073884554207325, -0.007989414967596531, -0.017538323998451233, 0.009347871877253056, -0.04525319114327431, -0.00723816966637969, 0.016237515956163406, -0.014649942517280579, 0.022240959107875824, 0.04107201471924782, 0.06289895623922348, 0.046055249869823456, 0.005302804056555033, 0.043455272912979126, 0.008227125741541386, 0.004045440349727869, -0.13166934251785278, 0.070822574198246, 0.014338470064103603, 0.029423922300338745, -0.04497767239809036, 0.005607668310403824, -0.009638633579015732, 0.07875324040651321, 0.03460870310664177, 0.005505405832082033, -0.03147214651107788, 0.04812069609761238, -0.009281319566071033, 0.019409894943237305, 0.0021546597126871347, 0.0016730842180550098, 0.04412320628762245, -0.07137400656938553, -0.052540916949510574, 0.01275930181145668, -0.03674865886569023, -0.005616509821265936, -0.04180646315217018, 0.05746234953403473, -0.03251788392663002, 0.06753011047840118, -0.00891263596713543, 0.06421176344156265, 0.01970614306628704, 0.01668744906783104, 0.0586857944726944, 0.009178210981190205, -0.08976902812719345, -0.02206648327410221, 0.013825537636876106, 0.012181746773421764, 0.021563241258263588, 0.414352685213089, 0.01622786559164524, -0.014240119606256485, 0.03402409330010414, 0.061461418867111206, 0.0005994612583890557, -0.03660372272133827, 0.00020583448349498212, -0.06104172766208649, 0.047113850712776184, -0.005355745553970337, -0.016642536967992783, -0.024562224745750427, 0.02551160752773285, -0.08366836607456207, 0.005177952349185944, -0.012951190583407879, 0.010364868678152561, 0.0196090005338192, -0.02641916461288929, 0.02857280895113945, -0.006919948849827051, 0.021328266710042953, 0.013562340289354324, 0.014242640696465969, 0.04645613953471184, -0.022977877408266068, 0.011920402757823467, 0.008194160647690296, 0.04564699903130531, 0.012233597226440907, 0.051286544650793076, 0.02519339881837368, -0.08317591995000839, 0.03287171199917793, -0.017767347395420074, -0.0011059934040531516, 0.03701280429959297, -0.03465045988559723, -0.03796858713030815, 0.01830221153795719, -0.0125728789716959, 0.002438603900372982, 0.016174254938960075, -0.008906591683626175, -0.06464379280805588, 0.10356777161359787, -0.005588278640061617, -0.029248254373669624, -0.02056855708360672, -0.055060047656297684, 0.01008626725524664, 0.04248927906155586, 0.001472735428251326, -0.046315986663103104, -0.019904570654034615, 0.00970055814832449, 0.07016953080892563, -0.015483951196074486, -0.0824962705373764, -0.0025075310841202736, -0.04022476077079773, -0.024778664112091064, -0.03397943079471588, 0.0855836272239685, 0.06346913427114487, -0.08880813419818878, -0.027880532667040825, 0.022353094071149826, 0.01638031378388405, -0.05712544918060303, -0.020468508824706078, 0.03324223309755325, -0.02633492462337017, -0.02371344156563282, 0.08562517166137695, -0.016714461147785187, -0.01220400258898735, -0.01839333213865757, 0.021407974883913994, 0.004492965526878834, -0.002105604624375701, -0.013793895952403545, -0.05721138045191765, -0.01989942602813244, -0.06875376403331757, -0.0746680274605751, -0.09651205688714981, 0.02369645982980728, -0.030985677614808083, -0.03640061616897583, -0.03249070793390274, 0.03342213109135628, -0.05847122520208359, 0.09016484022140503, -0.030596649274230003, -0.02094372920691967, -0.019272474572062492, -0.012975284829735756, -0.025301365181803703, -0.049303680658340454, 0.031705643981695175, 0.025892941281199455, -0.008941182866692543, 0.04521038755774498, -0.0701972246170044, 0.018440404906868935, 0.08297828584909439, -0.020134562626481056, 0.08127279579639435, 0.012503894977271557, -0.06181691959500313, 0.010559359565377235, -0.00391981890425086, 0.03416970372200012, -0.019543834030628204, -0.0030763791874051094, 0.013077011331915855, -0.0008361632353626192, 0.034342244267463684, 0.05286383256316185, -0.03271389752626419, 0.01462704036384821, -0.020915629342198372, -0.3467499911785126, -0.04237615317106247, -0.0049945516511797905, 0.0032364046201109886, 0.02289990894496441, -0.017474332824349403, 0.018577085807919502, -0.03537957742810249, 0.015393456444144249, 0.0008878448861651123, 0.08987833559513092, -0.025724951177835464, 0.006058007478713989, -0.08061198145151138, 0.0015219345223158598, 0.056987226009368896, -0.003440108383074403, 0.005135723389685154, -0.025750236585736275, -0.016947384923696518, -0.0015433651860803366, -0.05498843640089035, -0.0034611402079463005, -0.049869097769260406, -0.018105195835232735, -0.0164448581635952, 0.10983270406723022, -0.02142898179590702, 0.03736881911754608, -0.051516201347112656, 0.036640796810388565, -0.015479402616620064, -0.02882779948413372, -0.10283420234918594, -0.011628654785454273, -0.030995763838291168, 0.013518822379410267, 0.012381012551486492, -0.021579675376415253, -0.008525516837835312, -0.01699019782245159, -0.020553698763251305, -0.05124620348215103, -0.03022651933133602, -0.023581845685839653, 0.018657075241208076, -0.03779284656047821, -0.02264193259179592, 0.015655718743801117, 0.049065001308918, 0.0034548325929790735, 0.015735123306512833, 0.0011134111555293202, 0.054878633469343185, 0.0007604109705425799, -0.04711609706282616, -0.05545080825686455, -0.005630125757306814, 0.04094064608216286, 0.027765579521656036, 0.02146734669804573, 0.05847494304180145, 0.0021344036795198917, -0.07743909955024719, 0.033399902284145355, 0.011228754185140133, -0.02572392299771309, -0.0053252000361680984, 0.05623921751976013, -0.042300526052713394, -0.03244487941265106, 0.1056213453412056, 0.0107461242005229, 0.008733276277780533, 0.03373998403549194, 0.04775986075401306, -0.011955016292631626, 0.0008432745235040784, 0.0437965914607048, 0.024919219315052032, 0.02867458015680313, -0.030588913708925247, 0.06379173696041107, -0.022635437548160553, -0.04484643414616585, 0.0733470618724823, 0.027222512289881706, -0.05959666147828102, 0.056320060044527054, 0.015305460430681705, -0.021529966965317726, 0.009816542267799377, -0.029106177389621735, -0.05603857338428497, 0.06680726259946823, -0.034869711846113205, -0.29137158393859863, 0.041875794529914856, 0.03421127796173096, 0.06949795037508011, -0.0071368166245520115, 0.0055581373162567616, 0.03016488067805767, -0.017309071496129036, 0.008952714502811432, 0.004110509995371103, 0.03461945429444313, 0.021480198949575424, 0.0008649735827930272, -0.0031039840541779995, 0.008811590261757374, 0.014690660871565342, 0.030638553202152252, 0.026227781549096107, 0.026442356407642365, -0.024284906685352325, 0.034951597452163696, -0.01745639555156231, 0.16895949840545654, 0.020606573671102524, 0.032781705260276794, 0.04914580658078194, -0.02003200724720955, 0.01178500335663557, 0.056946761906147, 0.01897701434791088, -0.021932438015937805, 0.02841011993587017, 0.028624653816223145, 0.019886216148734093, 0.02524588070809841, -0.04687578231096268, -0.002409296575933695, 0.04362732172012329, 0.018379705026745796, -0.01654086448252201, -0.0019485166994854808, 0.021834956482052803, -0.04851442202925682, 0.033370040357112885, 0.06950508058071136, -0.01581781730055809, 0.005516498815268278, -0.025967679917812347, -0.05913793668150902, -0.022730685770511627, -0.046373818069696426, -0.06294440478086472, -0.04050102457404137, -0.012139453552663326, -0.02754887193441391, 0.05848036706447601, 0.024609744548797607, -0.019301926717162132, 0.0007491654832847416, -0.019937489181756973, -0.0050340499728918076, -0.03547864407300949, 0.08254693448543549, 0.0018308749422430992, -0.006587508134543896 ]
[ 0.02612420916557312, 0.029062265530228615, -0.005061496049165726, 0.03899694234132767, -0.022936878725886345, -0.01051317434757948, -0.010716590099036694, 0.013320780359208584, -0.053089745342731476, 0.017753686755895615, -0.01815856620669365, 0.016305003315210342, 0.04681151360273361, 0.006629128009080887, 0.010801058262586594, 0.03741707652807236, 0.035816583782434464, 0.0035042527597397566, 0.028232160955667496, -0.005424626171588898, -0.029733944684267044, -0.02211303450167179, 0.03659003973007202, -0.05203652381896973, 0.01086049061268568, 0.0328083410859108, -0.040191248059272766, -0.023114129900932312, 0.02886507660150528, -0.09058348089456558, 0.004870058503001928, -0.03510064631700516, -0.03275880217552185, 0.0067281099036335945, -0.02482323907315731, 0.020833291113376617, 0.0370962880551815, 0.016757838428020477, -0.0008851746097207069, 0.05629532039165497, 0.023938115686178207, -0.0012846445897594094, -0.03278420865535736, 0.02017623372375965, 0.01508609764277935, -0.036992497742176056, -0.05448691174387932, -0.023995574563741684, 0.03861454874277115, -0.010504902340471745, -0.035387612879276276, -0.04789838567376137, 0.0039025857113301754, -0.0009247568086721003, 0.022093892097473145, 0.0007648018654435873, -0.016309309750795364, -0.004604140296578407, 0.033313870429992676, 0.0583760105073452, 0.06646683067083359, 0.0007210467010736465, -0.027128849178552628, -0.017861690372228622, -0.012698374688625336, -0.0022638600785285234, 0.01314916368573904, -0.0024189124815165997, 0.0115457559004426, 0.023407569155097008, -0.001240550889633596, 0.04382218047976494, -0.09185391664505005, -0.01586400903761387, -0.06889577955007553, 0.03936935216188431, 0.040359944105148315, 0.00297038396820426, -0.021006517112255096, -0.017455225810408592, -0.03919874504208565, 0.03032105043530464, -0.025837842375040054, -0.0017121825367212296, -0.05212927609682083, 0.05969536677002907, 0.006126409396529198, -0.05529685690999031, -0.0026510432362556458, 0.03540342301130295, -0.03839632496237755, 0.014914733357727528, -0.014377103187143803, -0.020555390045046806, -0.09858620911836624, 0.00816231407225132, 0.03756095468997955, -0.00605589896440506, 0.0017244997434318066, 0.7827881574630737, 0.00230696820653975, 0.0020040255039930344, 0.01761776953935623, 0.027344975620508194, -0.0202352125197649, -0.00897969026118517, -0.007888395339250565, 0.00260116602294147, -0.05059200897812843, 0.034658581018447876, -0.019220465794205666, 0.03322003409266472, 0.015315225347876549, 0.04775542393326759, 0.005752358585596085, 0.010186142288148403, 0.040004096925258636, -0.024361759424209595, 0.024959661066532135, 0.04984946921467781, 0.0038529722951352596, 0.022159036248922348, -0.0006129409885033965, -0.0013406809885054827, 0.0014044592389836907, -0.14491771161556244, -0.0013422660995274782, -6.544594185561856e-33, 0.05331104248762131, -0.030633850023150444, 0.06353796273469925, 0.026362989097833633, 0.025658192113041878, 0.022728821262717247, -0.05581675097346306, -0.0004753761168103665, -0.009960321709513664, -0.01563717983663082, -0.04808134585618973, -0.015259240753948689, 0.03665923327207565, -0.0010757920099422336, 0.01901877671480179, -0.00854056142270565, 0.02727942168712616, -0.0036464363802224398, -0.005059007555246353, -0.009820391424000263, -0.017733236774802208, 0.04734763875603676, -0.015702074393630028, 0.04685932397842407, -0.0202168058604002, 0.05076197162270546, -0.001387648400850594, 0.01180583331733942, 0.009863669984042645, -0.04096367955207825, -0.05951916426420212, -0.009916975162923336, -0.010159713216125965, -0.02491355873644352, -0.010425248183310032, -0.07432588189840317, -0.028187673538923264, -0.0020434807520359755, -0.04235650971531868, -0.09296973794698715, -0.04188146814703941, 0.004855104256421328, -0.03477611020207405, -0.0405653677880764, -0.04814241826534271, -0.012543495744466782, -0.023860864341259003, -0.0010410072281956673, -0.007729933597147465, -0.010691768489778042, -0.03844217583537102, 0.03348508104681969, -0.0009946862701326609, 0.03221337869763374, -0.03823871165513992, 0.0040861996822059155, 0.031631674617528915, 0.009261428378522396, -0.022243065759539604, 0.01686030998826027, 0.014983491972088814, -0.020187649875879288, -0.008746898733079433, 0.03542427718639374, 0.02025505341589451, 0.01830488070845604, -0.03061070665717125, -0.011441330425441265, -0.002770164515823126, 0.019818628206849098, -0.03526109457015991, 0.05651799216866493, -0.0027195028960704803, -0.0024985047057271004, 0.02698470652103424, -0.050888992846012115, -0.0024056073743849993, -0.023004014045000076, -0.03191239386796951, 0.018702946603298187, -0.03485477715730667, -0.048115864396095276, 0.006364565342664719, -0.04356721043586731, 0.009887460619211197, -0.03240162134170532, 0.04918210580945015, 0.012151917442679405, 0.044328682124614716, 0.027557069435715675, 0.036786485463380814, 0.03254424035549164, -0.0045432448387146, -0.02534962072968483, -0.023203697055578232, 6.015891356708547e-33, -0.0030561815947294235, 0.026220550760626793, -0.00355185242369771, -0.011414963752031326, 0.049498479813337326, 0.010635399259626865, -0.005024419166147709, 0.02557769976556301, -0.07835880666971207, 0.04771968722343445, -0.019045520573854446, -0.00760955223813653, -0.010382582433521748, 0.03659867122769356, 0.03770573437213898, -0.0027003942523151636, 0.011526349931955338, -0.07635746151208878, -0.01488516665995121, 0.026282211765646935, -0.0009819515980780125, -0.0014938806416466832, -0.00713169714435935, 0.016238633543252945, 0.09955932199954987, 0.002617425285279751, -0.002396971918642521, 0.02561827562749386, -0.03592579811811447, -0.00004430158878676593, 0.00719758216291666, -0.03648388758301735, -0.0070033506490290165, -0.029754338786005974, -0.017031410709023476, -0.007321934215724468, -0.008071085438132286, 0.02636132948100567, 0.02604072354733944, 0.004301788285374641, 0.011851605959236622, -0.011380781419575214, -0.06541875004768372, 0.060857608914375305, 0.02470344863831997, 0.012068250216543674, -0.016318894922733307, 0.05044938251376152, -0.037611354142427444, 0.015913942828774452, -0.002776198787614703, 0.013038687407970428, 0.03566286340355873, 0.028813926503062248, 0.027735881507396698, -0.055417727679014206, 0.02499203383922577, 0.04203343763947487, -0.0028069119434803724, 0.020461779087781906, -0.015693681314587593, -0.03708440437912941, -0.008710726164281368, 0.03231999650597572, -0.03833351656794548, -0.03364912420511246, 0.008955085650086403, -0.004930226132273674, -0.046981390565633774, 0.006481665652245283, 0.03240378201007843, 0.007161347195506096, -0.01995692029595375, 0.030221043154597282, 0.08084460347890854, -0.017518602311611176, -0.019267098978161812, 0.009509272873401642, -0.06566523015499115, 0.02128816395998001, 0.014729582704603672, 0.0344744436442852, 0.00403000321239233, -0.005878613796085119, 0.010904354974627495, -0.019770154729485512, -0.02715481072664261, 0.025768352672457695, -0.052899427711963654, 0.001088230754248798, 0.004436042159795761, -0.008052029646933079, -0.0622623935341835, 0.03999289870262146, -0.013126620091497898, -1.1949531142363412e-8, -0.03794601559638977, 0.006719721015542746, -0.006121040787547827, -0.013071190565824509, 0.027952909469604492, 0.01369585283100605, 0.006237209774553776, 0.02490767277777195, 0.006126537919044495, 0.034115083515644073, 0.013930651359260082, -0.014370720833539963, 0.017205392941832542, 0.003717089770361781, 0.0232585109770298, -0.029407603666186333, 0.021052028983831406, -0.04317284747958183, 0.030510593205690384, 0.022962776944041252, 0.017928684130311012, 0.006618959829211235, -0.041804440319538116, 0.028026005253195763, 0.0058161672204732895, -0.050543345510959625, 0.04505380243062973, -0.045900795608758926, -0.039182133972644806, -0.016837559640407562, -0.01870954968035221, 0.007993524894118309, 0.013654051348567009, -0.014734850265085697, -0.05104270949959755, 0.0015857862308621407, 0.06591486185789108, 0.04423531889915466, 0.019165365025401115, 0.02940603718161583, -0.011867301538586617, 0.026295889168977737, -0.029639961197972298, -0.04018494486808777, -0.029693791642785072, 0.030000511556863785, -0.039161402732133865, 0.025331951677799225, 0.05969468504190445, -0.024666717275977135, -0.04008760675787926, -0.017277317121624947, 0.022869829088449478, -0.011063187383115292, 0.020881351083517075, -0.009586554020643234, -0.00740805035457015, -0.01069730706512928, -0.009290669113397598, 0.006256225984543562, 0.03704579919576645, -0.021589957177639008, -0.030996903777122498, -0.02960996888577938 ]
neo4j-wrappingneoserverbootstrapper-and-the-case-of-the-webadmin-404
https://markhneedham.com/blog/2013/06/19/neo4j-wrappingneoserverbootstrapper-and-the-case-of-the-webadmin-404
false
2013-06-26 15:23:14
Unix/awk: Extracting substring using a regular expression with capture groups
[ "awk" ]
[ "Shell Scripting" ]
A couple of years ago I http://www.markhneedham.com/blog/2011/09/12/gawk-getting-story-numbers-from-git-commit-messages/[wrote a blog post] explaining how I'd used http://www.gnu.org/software/gawk/[GNU awk] to extract story numbers from git commit messages and I wanted to do a similar thing today to extract some node ids from a file. My eventual solution looked like this: [source,bash] ---- $ echo "mark #1000" | gawk '{ match($0, /#([0-9]+)/, arr); if(arr[1] != "") print arr[1] }' 1000 ---- But in the comments an alternative approach was suggested which used the Mac version of awk and the RSTART and RLENGTH global variables which get set when a match is found: [source,bash] ---- $ echo "mark #1000" | awk 'match($0, /#[0-9]+/) { print substr( $0, RSTART, RLENGTH )}' #1000 ---- Unfortunately http://stackoverflow.com/questions/2957684/awk-access-captured-group-from-line-pattern[Mac awk doesn't seem to capture groups] so as you can see it includes the # character which we don't actually want. In this instance it wasn't such a big deal but it was more annoying for the node id extraction that I was trying to do: [source,bash] ---- $ head -n 5 log.txt Command[27716, Node[7825340,used=true,rel=14547348,prop=31734662]] Command[27716, Node[7825341,used=true,rel=14547349,prop=31734665]] Command[27716, Node[7825342,used=true,rel=14547350,prop=31734668]] Command[27716, Node[7825343,used=true,rel=14547351,prop=31734671]] ---- [source,bash] ---- $ head -n 5 log.txt | awk 'match($0, /Node\[([^,]+)/) { print substr( $0, RSTART, RLENGTH )}' Node[7825340 Node[7825341 Node[7825342 Node[7825343 Node[7825336 ---- I ended up having to +++<cite>+++brew install gawk+++</cite>+++ and using a variation of the +++<cite>+++gawk+++</cite>+++ command I mentioned at the beginning of this post: [source,bash] ---- $ head -n 5 log.txt | gawk 'match($0, /Node\[([^,]+)/, arr) { print arr[1]}' 7825340 7825341 7825342 7825343 7825336 ----
null
null
[ 0.004924871493130922, -0.024159621447324753, -0.004916713107377291, 0.0022994454484432936, 0.0748862624168396, 0.025431718677282333, 0.029144970700144768, 0.03130445256829262, 0.01964818872511387, 0.01804434508085251, -0.013133130967617035, 0.0021424375008791685, -0.08461833745241165, -0.011993912979960442, -0.031404316425323486, 0.04586723819375038, 0.05265175551176071, -0.007756259758025408, 0.017131689935922623, -0.0173075869679451, 0.01580275595188141, 0.012576966546475887, -0.009063092060387135, 0.04000761732459068, 0.020849091932177544, 0.01804930903017521, 0.015653740614652634, -0.025124842301011086, -0.03916090726852417, 0.043520670384168625, 0.053874123841524124, 0.0012145900400355458, 0.056495301425457, -0.03792715445160866, 0.0012072923127561808, 0.018077950924634933, -0.03133847936987877, -0.003546813502907753, 0.015852032229304314, 0.029282819479703903, -0.05356941744685173, 0.020477846264839172, -0.03793633356690407, -0.0012130244867876172, -0.02467719465494156, 0.015107162296772003, -0.0926409587264061, 0.018406406044960022, -0.012376508675515652, 0.019480528309941292, -0.07680553197860718, 0.021102430298924446, -0.029847756028175354, -0.05014358088374138, 0.004137272946536541, 0.054192230105400085, 0.019768664613366127, -0.07581720501184464, 0.03916853293776512, -0.023078683763742447, -0.00769349979236722, -0.04436933621764183, 0.0040852827951312065, 0.05810176953673363, 0.031244508922100067, -0.006529251113533974, 0.02158539742231369, 0.05608038231730461, -0.03792489692568779, -0.02404005639255047, -0.0035073396284133196, 0.014609383419156075, -0.023583587259054184, -0.023994537070393562, 0.028991686180233955, -0.011038118042051792, 0.00015543292101938277, 0.0344751812517643, 0.020459959283471107, 0.058514900505542755, -0.04305783286690712, 0.0010403109481558204, -0.02410421520471573, -0.01009295228868723, 0.02552678994834423, -0.03740119934082031, 0.0075866966508328915, -0.03812806308269501, -0.05939449369907379, 0.0708938017487526, 0.012698635458946228, -0.039712175726890564, -0.029094558209180832, 0.011478978209197521, 0.006907925941050053, 0.01318180188536644, -0.010868897661566734, -0.0013658178504556417, -0.01306923944503069, -0.04281843081116676, -0.056122466921806335, 0.005502043291926384, 0.013128726743161678, -0.009963976219296455, -0.10158300399780273, -0.025935256853699684, -0.012319211848080158, -0.0052663302049040794, 0.02046544849872589, -0.01882697455585003, -0.016005046665668488, -0.0034449307713657618, 0.00452627707272768, 0.0003943978517781943, -0.07740247994661331, 0.0825103223323822, 0.017778662964701653, -0.03679656982421875, 0.01568893902003765, 0.023089846596121788, 0.03154992312192917, 0.04709043726325035, 0.006466010585427284, 0.07983452826738358, 0.0074082124046981335, 0.0069114393554627895, 0.038797393441200256, 0.05122125521302223, -0.052194636315107346, -0.059877555817365646, -0.015562598593533039, 0.061700496822595596, 0.006549112033098936, 0.015486768446862698, 0.012469721026718616, -0.010096845217049122, -0.023073876276612282, -0.027452120557427406, 0.06213950738310814, 0.02058548294007778, 0.0047081233933568, -0.013379376381635666, 0.008026494644582272, -0.01043159794062376, 0.002147440332919359, 0.01702592335641384, -0.03332339972257614, -0.046394508332014084, -0.05604027211666107, 0.022161757573485374, 0.039121173322200775, 0.006550205871462822, 0.07892503589391708, -0.03672606498003006, 0.0073360842652618885, 0.11367057263851166, 0.029866298660635948, 0.004803689196705818, -0.007639316841959953, -0.007425134070217609, 0.04808977246284485, 0.044741153717041016, 0.027306517586112022, 0.05110636726021767, -0.023402031511068344, -0.02193695493042469, 0.025452718138694763, -0.022892260923981667, -0.049198370426893234, -0.00782859418541193, -0.014635776169598103, -0.023935236036777496, 0.07080802321434021, 0.006861741188913584, 0.05190904811024666, -0.017102427780628204, 0.040024686604738235, 0.043649978935718536, 0.009975754655897617, 0.01111987791955471, -0.06456703692674637, 0.06876597553491592, -0.004363065119832754, 0.023255443200469017, 0.04020285606384277, -0.02071283757686615, 0.05019090697169304, 0.009373635984957218, 0.006077843718230724, 0.03408512473106384, -0.09069801867008209, -0.04701948165893555, -0.02664041705429554, 0.010104437358677387, 0.049846913665533066, -0.02700934000313282, 0.013026378117501736, 0.06313971430063248, 0.03867008537054062, 0.027792368084192276, -0.015550504438579082, -0.008119117468595505, 0.03421809524297714, -0.03290998190641403, -0.04985249415040016, 0.03791863098740578, 0.019664350897073746, 0.000710654363501817, -0.0012168677058070898, -0.0032204913441091776, -0.0019002186600118876, 0.04284586384892464, 0.02165648341178894, -0.013720872811973095, 0.035196252167224884, 0.03182614967226982, 0.013559115119278431, -0.021823326125741005, 0.01795051619410515, -0.046787504106760025, -0.00967952236533165, 0.012735005468130112, -0.049582235515117645, -0.026840388774871826, 0.019026806578040123, 0.1187509149312973, 0.05338572710752487, -0.003413122845813632, -0.05964983254671097, 0.03373441845178604, -0.031599096953868866, -0.032760463654994965, 0.01791955903172493, 0.003031533444300294, -0.016723744571208954, 0.011183305643498898, -0.05694226920604706, -0.033262308686971664, 0.006905275862663984, -0.02110818400979042, 0.036055948585271835, 0.026112623512744904, -0.022687144577503204, 0.0494888573884964, 0.022621512413024902, -0.008211828768253326, 0.02207244001328945, -0.0511707179248333, -0.05294448882341385, 0.003557948861271143, 0.0005576208932325244, 0.004641050938516855, 0.03148316964507103, -0.037506699562072754, -0.028813526034355164, -0.012383253313601017, -0.0681871548295021, -0.0021751816384494305, 0.0028934169095009565, 0.058329690247774124, -0.0007278723642230034, 0.056727711111307144, -0.025723731145262718, 0.015325620770454407, -0.027107950299978256, -0.026955829933285713, -0.08206257224082947, 0.037434227764606476, 0.0028530133422464132, -0.009323708713054657, 0.007311551366001368, 0.0462302565574646, -0.01399755198508501, -0.03282064571976662, 0.008047000505030155, -0.037501126527786255, 0.04599984362721443, -0.014618752524256706, -0.006715725641697645, -0.027450405061244965, -0.030759844928979874, 0.013184349052608013, -0.08491834253072739, -0.024418307468295097, 0.02689504623413086, -0.030118055641651154, 0.05136653035879135, -0.017869185656309128, -0.030855875462293625, -0.017064161598682404, -0.005884956568479538, 0.030312854796648026, -0.013053970411419868, 0.02474835328757763, 0.02857265993952751, 0.017696820199489594, 0.03683646395802498, 0.037438008934259415, 0.02562970481812954, 0.04544810205698013, 0.030445663258433342, 0.020579064264893532, 0.06179361417889595, -0.042403969913721085, -0.03359702229499817, -0.03700209781527519, -0.007287980988621712, -0.016072962433099747, -0.2748475968837738, 0.06149003282189369, -0.026606613770127296, -0.0547993928194046, 0.008000853471457958, -0.04730658233165741, -0.00339027913287282, -0.03592592105269432, -0.004193725064396858, 0.004403579980134964, -0.025213701650500298, -0.037948086857795715, 0.037567391991615295, 0.026224227622151375, -0.006668781861662865, -0.013461435213685036, 0.03391435369849205, -0.052927423268556595, 0.026105651631951332, 0.024335132911801338, -0.0077375322580337524, -0.036803506314754486, 0.01768667623400688, 0.04748762026429176, 0.017359668388962746, 0.08196284621953964, -0.0767974779009819, -0.0006628670962527394, -0.040328249335289, -0.01495321374386549, -0.005991776008158922, -0.026048235595226288, -0.007409416604787111, 0.04117293655872345, -0.017377058044075966, -0.015458882786333561, 0.057094596326351166, -0.0053410897962749004, 0.0289023295044899, 0.03208997845649719, -0.004989373032003641, -0.03677903488278389, -0.0048391204327344894, 0.019812246784567833, 0.05404508858919144, 0.009816196747124195, -0.02682310901582241, -0.028048964217305183, 0.009264335967600346, 0.06955068558454514, -0.033476583659648895, -0.0006678809877485037, -0.012732598930597305, -0.0018305234843865037, -0.003200532402843237, -0.01849844679236412, -0.03948644548654556, -0.010165252722799778, -0.0448872335255146, -0.010293574072420597, -0.008237609639763832, -0.05688457190990448, 0.014158014208078384, -0.06091918423771858, -0.025242114439606667, -0.06108708307147026, -0.05773771554231644, -0.06182411313056946, 0.07532373070716858, -0.04432830959558487, -0.05862414836883545, -0.025818470865488052, -0.05117158964276314, -0.10397108644247055, -0.04676767438650131, -0.02806437388062477, -0.04113118723034859, 0.00936933420598507, -0.007631690241396427, 0.01642736792564392, -0.07047979533672333, -0.025129983201622963, 0.03796837106347084, 0.01681889407336712, 0.02000577002763748, -0.0018387913005426526, -0.007864013314247131, -0.039877504110336304, -0.0261244997382164, 0.0007368004298768938, 0.06480587273836136, -0.02614964172244072, -0.011696063913404942, -0.005541552789509296, 0.0228852741420269, 0.02831866778433323, 0.0018371886108070612, -0.0059072100557386875, 0.034798942506313324, 0.03351530805230141, 0.04826769977807999, -0.040207453072071075, 0.013034520670771599, -0.07145961374044418, -0.011922813020646572, -0.00047060285578481853, -0.029485423117876053, 0.02039235085248947, 0.008775705471634865, 0.023804547265172005, -0.0008562416769564152, -0.039899587631225586, 0.016637243330478668, -0.05762125179171562, -0.005177821032702923, -0.016881342977285385, -0.00034506534575484693, 0.007410652469843626, 0.04917992278933525, -0.023146335035562515, -0.031678229570388794, -0.0010853861458599567, 0.0005008387961424887, -0.01984836533665657, -0.03916721045970917, -0.0738159567117691, 0.0009925897466018796, 0.0023292212281376123, 0.007669673301279545, -0.0032671294175088406, -0.004772949032485485, 0.03955370932817459, 0.030427943915128708, -0.021265029907226562, 0.023108912631869316, -0.006229021120816469, -0.04310108721256256, -0.030193662270903587, 0.004546894691884518, 0.03651263192296028, -0.05391447991132736, -0.003713228041306138, -0.026744302362203598, 0.06838014721870422, 0.051431361585855484, -0.001446266658604145, 0.06565455347299576, -0.026914844289422035, 0.04117390513420105, -0.00790021475404501, -0.007535611744970083, -0.04613376408815384, 0.038592465221881866, -0.02332870103418827, -0.022871436551213264, 0.00031534116715192795, 0.029421230778098106, 0.00744818476960063, -0.027800627052783966, -0.04084501788020134, 0.04908905550837517, -0.0021713245660066605, 0.05381627008318901, -0.011242683976888657, -0.027986472472548485, 0.01799514703452587, -0.008170142769813538, 0.06111690029501915, -0.021837551146745682, -0.02080497145652771, -0.023211220279335976, 0.03798121586441994, -0.027650361880660057, 0.044186726212501526, 0.010703058913350105, -0.014473098330199718, 0.040863774716854095, 0.05004417151212692, 0.007793523371219635, 0.020030902698636055, 0.010441005229949951, -0.036523763090372086, 0.02196894958615303, 0.07410396635532379, 0.017414340749382973, 0.032726988196372986, -0.01180392224341631, -0.016097337007522583, -0.06667158752679825, 0.006015154533088207, 0.006660242564976215, -0.025359250605106354, -0.0006012958474457264, -0.011045853607356548, -0.042549263685941696, -0.024451300501823425, 0.00834475364536047, 0.04204826429486275, 0.028630319982767105, 0.01684373803436756, 0.006256530527025461, 0.00976544339209795, -0.053187668323516846, 0.019071705639362335, 0.036981627345085144, -0.023598896339535713, -0.002901629079133272, -0.004488182719796896, 0.011970805935561657, 0.005621957592666149, 0.04816039651632309, -0.07892867177724838, -0.048131346702575684, 0.007901115342974663, 0.030991001054644585, -0.019879568368196487, -0.018083686009049416, -0.04010232910513878, 0.0189803596585989, -0.03791803494095802, 0.049768757075071335, -0.007519179955124855, 0.024189762771129608, 0.04250366985797882, -0.010376316495239735, 0.018308350816369057, -0.023601897060871124, -0.010928390547633171, 0.032346151769161224, -0.001008623861707747, -0.002225874224677682, -0.031097039580345154, 0.060578618198633194, 0.04043589159846306, 0.0015998169546946883, -0.017100457102060318, -0.05778313800692558, 0.002315620658919215, -0.027680452913045883, 0.043042246252298355, 0.02450779639184475, 0.010146627202630043, -0.012726044282317162, 0.020286908373236656, -0.008098333142697811, -0.017105931416153908, -0.022308984771370888, -0.03280198946595192, 0.005375404842197895, 0.08014906197786331, 0.029560614377260208, 0.03408064693212509, -0.029172712936997414, -0.024755574762821198, 0.0542663112282753, -0.03326087445020676, -0.041366007179021835, 0.006488189101219177, -0.06794802099466324, 0.04404778033494949, 0.04058090224862099, 0.03326202929019928, -0.07318856567144394, 0.04735265672206879, 0.039528097957372665, 0.0063406736589968204, 0.0071899439208209515, -0.005391922313719988, 0.025646710768342018, -0.037135493010282516, -0.024021673947572708, -0.06367187947034836, 0.018599262461066246, 0.04904351010918617, -0.015752287581562996, 0.0019520227797329426, -0.011102600023150444, -0.025238066911697388, 0.005025933496654034, -0.028282811865210533, -0.03528452292084694, 0.044812094420194626, -0.022388126701116562, -0.004722242243587971, -0.008803123608231544, -0.07522174715995789, 0.027069369331002235, 0.06090297922492027, -0.035872314125299454, -0.0069465190172195435, -0.06284771114587784, 0.046973373740911484, -0.003991039469838142, 0.04129704460501671, 0.003930146340280771, -0.05298396199941635, 0.08929365128278732, 0.030017057433724403, 0.006367985624819994, 0.03515920415520668, -0.035245854407548904, 0.008932005614042282, 0.023256614804267883, -0.035663727670907974, 0.031572528183460236, 0.005141656845808029, -0.043604642152786255, -0.03922528401017189, -0.0035829595290124416, 0.02250702679157257, -0.018875904381275177, -0.019171444699168205, 0.06362907588481903, 0.024660637602210045, -0.030976902693510056, -0.05592351779341698, 0.037740301340818405, -0.013901732861995697, 0.024319853633642197, -0.029058320447802544, 0.02011665515601635, -0.062067434191703796, 0.044317711144685745, 0.023864174261689186, 0.04730096831917763, 0.061686303466558456, -0.004688822664320469, -0.0001836117880884558, 0.013778121210634708, 0.04271737113595009, 0.09721461683511734, 0.03892340138554573, 0.03553782030940056, 0.010565186850726604, -0.027285095304250717, -0.05614393576979637, -0.011125089600682259, 0.005187499336898327, 0.010479765944182873, 0.011249896138906479, -0.02203526720404625, 0.06248120218515396, -0.026321595534682274, 0.07433127611875534, -0.017672168090939522, -0.01232503168284893, -0.013635892421007156, -0.016453495249152184, 0.034374188631772995, 0.05021257326006889, -0.01270404364913702, -0.003884337143972516, -0.007770536933094263, -0.008550861850380898, 0.03319006413221359, -0.012246639467775822, -0.025552688166499138, 0.023906467482447624, -0.002601427724584937, -0.0037382275331765413, 0.004674270283430815, 0.05061151459813118, 0.07250981777906418, -0.03002113290131092, 0.025553002953529358, 0.009271438233554363, 0.03767738118767738, -0.014063107781112194, 0.028592921793460846, 0.020393813028931618, -0.000224005663767457, -0.012329338118433952, -0.04355219751596451, -0.01299675740301609, -0.025605875998735428, -0.03155019134283066, 0.017698893323540688, -0.019428284838795662, 0.0021350739989429712, 0.036114711314439774, -0.03075103461742401, -0.007584304083138704, -0.0458342544734478, -0.07798627018928528, -0.03343823924660683, -0.05563506856560707, -0.03235991299152374, 0.026528287678956985, 0.030294692143797874, -0.016860561445355415, -0.013192877173423767, -0.04219920560717583, -0.023381153121590614, 0.008792937733232975, -0.03054603934288025, 0.0344710648059845, 0.006390389986336231, 0.012016963213682175, 0.01169528253376484, 0.03748106211423874, 0.023930752649903297, 0.02412712574005127, -0.017487386241555214, 0.0033824562560766935, 0.019860733300447464, 0.008665947243571281, 0.0018092349637299776, -0.038809165358543396, -0.05633707717061043, -0.0016512980218976736, 0.030447231605648994, -0.00857453141361475, -0.06600067764520645, 0.020161818712949753, -0.014184858649969101, -0.03163808584213257, 0.05476725101470947, -0.03585384041070938, 0.020046792924404144, -0.027496349066495895, -0.030963456258177757, -0.06754965335130692, -0.018281403928995132, 0.05710732564330101, -0.014362896792590618, 0.04963076487183571, 0.04244677349925041, -0.015101554803550243, -0.06485302001237869, -0.01440347358584404, -0.024664850905537605, 0.03644479066133499, -0.02163170836865902, -0.03563160076737404, -0.034334372729063034, -0.06068538874387741, -0.013984652236104012, 0.0011600166326388717, -0.0023543157149106264, -0.033522337675094604, 0.0235618706792593, -0.019887536764144897, -0.021542014554142952, 0.002803367329761386, -0.008181804791092873, -0.0032414374873042107, -0.009194420650601387, -0.05265555903315544, -0.042320892214775085, 0.0161588154733181, -0.017438514158129692, 0.0036228373646736145, 0.030299346894025803, -0.006021866109222174, -0.012104779481887817, 0.009792149066925049, 0.010915549471974373, 0.05422686040401459, 0.010542470961809158, 0.009350360371172428 ]
[ -0.06815218180418015, -0.023574726656079292, -0.03939437493681908, -0.0185790304094553, 0.0658627599477768, -0.07653877139091492, -0.013522295281291008, -0.012926900759339333, -0.026075059548020363, -0.03859315067529678, 0.019073903560638428, -0.011587051674723625, 0.03307700529694557, -0.0498368926346302, 0.04469405114650726, 0.0068499064072966576, -0.017761973664164543, -0.05883118137717247, -0.016779640689492226, 0.012235298752784729, -0.0005396059132181108, -0.040014125406742096, -0.0005942202406004071, -0.030081074684858322, 0.026611167937517166, 0.04583562910556793, 0.0016827578656375408, -0.027906788513064384, -0.032598212361335754, -0.21215248107910156, 0.01040580589324236, 0.012731004506349564, 0.0239523034542799, -0.02821505255997181, 0.025297081097960472, 0.06119942665100098, 0.0200112983584404, -0.006049674469977617, -0.015483342111110687, 0.05747613310813904, 0.04106994345784187, 0.009914237074553967, -0.05136027932167053, 0.0026454534381628036, 0.05166590213775635, -0.022114168852567673, -0.02592855878174305, -0.030309176072478294, -0.012333144433796406, 0.0020731370896101, -0.06416250020265579, 0.006594154052436352, -0.009841300547122955, -0.0059266299940645695, -0.013950981199741364, 0.03623560443520546, 0.03943456709384918, 0.06544596701860428, 0.023971477523446083, 0.022825639694929123, 0.017428530380129814, 0.010623255744576454, -0.14068995416164398, 0.06564480811357498, 0.04152879863977432, 0.03817727416753769, -0.02904784493148327, -0.031228847801685333, 0.026643821969628334, 0.055183131247758865, -0.017466003075242043, -0.011971977539360523, -0.04868000000715256, 0.0570785216987133, -0.024105096235871315, -0.003612256608903408, -0.01019360776990652, 0.04130091890692711, 0.030428437516093254, -0.045200955122709274, -0.08580006659030914, 0.03175930306315422, -0.013138853013515472, -0.02139919064939022, -0.04773872345685959, -0.009499241597950459, -0.016521142795681953, 0.046940043568611145, 0.0381636805832386, 0.02020888961851597, 0.06761723756790161, 0.0010233623906970024, 0.05443746596574783, 0.0047966414131224155, -0.1016661524772644, -0.014212976209819317, -0.005557593889534473, 0.012908267788589, -0.0032988283783197403, 0.40036243200302124, -0.014998494647443295, -0.021456101909279823, 0.019221177324652672, 0.044601183384656906, 0.04299851134419441, 0.012819623574614525, -0.019304785877466202, -0.06094018369913101, 0.005164409521967173, -0.00772214587777853, -0.0011564361630007625, -0.02087983302772045, 0.05676952376961708, -0.05219030752778053, 0.058489300310611725, 0.017476890236139297, 0.031696293503046036, 0.022380348294973373, -0.01565237157046795, 0.018229905515909195, -0.007994437590241432, -0.001403757487423718, 0.02917795442044735, -0.003964890725910664, 0.0395493321120739, 0.010011552833020687, -0.002635672688484192, 0.06441648304462433, 0.04919712617993355, 0.040330059826374054, 0.05786048248410225, 0.0011407622369006276, -0.04557464271783829, 0.013952904380857944, -0.020252758637070656, 0.020664382725954056, 0.028533414006233215, -0.023766471073031425, -0.028216896578669548, -0.012941044755280018, -0.0070955269038677216, -0.04387717694044113, 0.008764500729739666, 0.017005745321512222, -0.0637555867433548, 0.11017995327711105, -0.014401549473404884, -0.024727463722229004, -0.043534934520721436, -0.06207328662276268, 0.013710607774555683, 0.022365065291523933, -0.011743898503482342, -0.04113158583641052, -0.014949235133826733, 0.044544097036123276, 0.05948888882994652, 0.019953476265072823, -0.08113489300012589, -0.007030304055660963, -0.00025845487834885716, -0.046350881457328796, -0.024652063846588135, 0.045414332300424576, 0.08172997087240219, -0.08899176120758057, -0.008722826838493347, 0.019571909680962563, 0.007993938401341438, -0.0906473770737648, 0.026641635224223137, 0.01834164373576641, -0.004607447423040867, -0.03167464956641197, 0.006933709606528282, -0.03988508880138397, -0.019228091463446617, 0.00877072848379612, 0.052862782031297684, 0.01945626176893711, -0.03751179575920105, -0.01681843400001526, -0.02276669442653656, 0.019589006900787354, -0.043349940329790115, -0.12072184681892395, -0.08497973531484604, 0.028614701703190804, -0.026536086574196815, 0.007491642143577337, -0.01922738179564476, -0.011773927137255669, -0.04846011847257614, 0.05124708637595177, -0.01710926741361618, -0.04331366345286369, -0.006178508512675762, 0.024207545444369316, -0.002055577002465725, -0.04976436123251915, 0.06583908200263977, 0.014661057852208614, -0.023583274334669113, -0.003441933076828718, -0.09857899695634842, 0.002802232513204217, 0.02874135412275791, -0.05565129593014717, 0.03742381930351257, 0.033978741616010666, -0.026522492989897728, 0.009844038635492325, 0.004973308648914099, 0.00789977889508009, -0.029992301017045975, -0.028808362782001495, -0.002622945699840784, 0.017212260514497757, 0.020149804651737213, 0.009197048842906952, -0.05388663336634636, -0.032694827765226364, -0.023467009887099266, -0.3669527769088745, -0.05242650583386421, 0.0006612358265556395, 0.00991686712950468, 0.050144027918577194, -0.06550140678882599, 0.016239166259765625, -0.007283726241439581, 0.005164334084838629, 0.033055081963539124, 0.06589055061340332, -0.02205577678978443, -0.01610536500811577, -0.08028049767017365, -0.010016443207859993, 0.04524601250886917, -0.031145812943577766, -0.034187134355306625, 0.03396062180399895, 0.056859444826841354, 0.01289448607712984, -0.033653054386377335, -0.06113813444972038, -0.035149574279785156, 0.002971864538267255, -0.01827075146138668, 0.09991789609193802, 0.048117175698280334, 0.047988541424274445, -0.03237677365541458, 0.0170596893876791, 0.019036201760172844, 0.03224031999707222, -0.0788230150938034, 0.0010629072785377502, 0.013469889760017395, -0.03835297375917435, 0.03150772675871849, 0.042600177228450775, -0.02069888822734356, -0.06512915343046188, 0.00319719803519547, -0.04517171531915665, -0.06941390782594681, -0.017344657331705093, 0.012984390370547771, -0.028924066573381424, -0.043705377727746964, 0.024091271683573723, 0.0558835044503212, 0.03836028277873993, 0.059437114745378494, 0.016984691843390465, 0.00301909726113081, 0.016206758096814156, -0.0047647967003285885, -0.05314437299966812, 0.0104176951572299, 0.028245052322745323, -0.021527526900172234, 0.03955061733722687, 0.018111132085323334, 0.005997991189360619, -0.04386205971240997, 0.02906782552599907, 0.023716794326901436, -0.02047368884086609, 0.021967535838484764, 0.05221274867653847, -0.028465261682868004, 0.00679242005571723, 0.09627115726470947, 0.004427987616509199, 0.03022703528404236, 0.009846792556345463, 0.054385580122470856, -0.008764845319092274, -0.0389530323445797, -0.023937273770570755, -0.02815655991435051, 0.03453952819108963, -0.026744669303297997, 0.08197707682847977, -0.04746567830443382, -0.020170802250504494, 0.06918395310640335, 0.01198271568864584, -0.020477760583162308, 0.08483272045850754, 0.0009516599238850176, 0.005711923819035292, -0.02995922788977623, -0.015316454693675041, -0.059196993708610535, 0.05834006518125534, -0.0062908572144806385, -0.24807174503803253, 0.044615671038627625, 0.01863333396613598, 0.035952337086200714, 0.015234514139592648, 0.0047453599981963634, 0.038826774805784225, -0.038692355155944824, 0.002293884288519621, 0.018734963610768318, 0.04261868819594383, 0.058920446783304214, -0.028297781944274902, -0.022849038243293762, 0.008055395446717739, 0.010772953741252422, 0.032029516994953156, -0.007952732034027576, -0.015647895634174347, 0.040013883262872696, 0.03434960916638374, 0.0031018289737403393, 0.19944632053375244, 0.015198220498859882, -0.01484997384250164, 0.018458284437656403, -0.0002491091436240822, 0.020491590723395348, 0.08278008550405502, 0.008342080749571323, 0.01501039881259203, -0.01136706117540598, 0.040011025965213776, 0.00006592175486730412, 0.04390522837638855, -0.01711718924343586, 0.010660514235496521, 0.04378855228424072, 0.01033767405897379, -0.016619104892015457, -0.021164188161492348, 0.037086423486471176, -0.009477424435317516, 0.016411764547228813, 0.06969770789146423, -0.03891945257782936, -0.00042817590292543173, -0.04741448909044266, -0.03003409132361412, 0.0035769687965512276, -0.04872770980000496, -0.002097273478284478, -0.027431733906269073, -0.024984143674373627, 0.02757023647427559, 0.06775858253240585, 0.0248335599899292, -0.009788136929273605, -0.015960071235895157, 0.01546450238674879, -0.023848822340369225, -0.04861246794462204, 0.120367631316185, 0.037667352706193924, -0.0016013395506888628 ]
[ -0.013789094053208828, 0.05755399167537689, -0.03581951558589935, 0.02804218977689743, 0.04016343131661415, -0.029188303276896477, -0.004183752927929163, -0.02100483700633049, 0.025650925934314728, 0.030075006186962128, -0.033631812781095505, 0.004723106045275927, 0.057132843881845474, -0.03387456014752388, 0.0014625273179262877, -0.016691844910383224, -0.02486198954284191, 0.02065379172563553, 0.027933785691857338, -0.03713693842291832, -0.056984543800354004, 0.05387365072965622, 0.043078646063804626, 0.017635174095630646, -0.007034707814455032, -0.014172636903822422, -0.015688283368945122, 0.01687375269830227, 0.01784161478281021, -0.12833376228809357, 0.002723401878029108, -0.011612702161073685, 0.003022150369361043, 0.033578235656023026, -0.013497067615389824, 0.03634867072105408, -0.009628715924918652, -0.005453530699014664, -0.02818414382636547, 0.025436721742153168, 0.026425890624523163, 0.00950129795819521, 0.005374329164624214, -0.006706285290420055, 0.05545567348599434, -0.013518965803086758, -0.07966382056474686, -0.004621191415935755, -0.019320737570524216, 0.02214234322309494, -0.02868683822453022, -0.02429627999663353, -0.04326457157731056, 0.008208305574953556, 0.034393470734357834, -0.04368990659713745, -0.018328558653593063, -0.04179287701845169, 0.037133634090423584, -0.03513287007808685, 0.02348184771835804, 0.0174268689006567, -0.03179726004600525, -0.05822473764419556, -0.024737639352679253, -0.014132740907371044, -0.011715291067957878, 0.007073264103382826, 0.03287294879555702, 0.027081552892923355, -0.01075324323028326, 0.006281388457864523, -0.0374690443277359, -0.033786822110414505, -0.0505049042403698, 0.003658442758023739, -0.0030712594743818045, -0.0013983070384711027, -0.014546518214046955, 0.001499017234891653, -0.045293115079402924, -0.0028625226113945246, 0.011328009888529778, 0.003202625783160329, -0.056710708886384964, 0.004747217055410147, -0.008056639693677425, 0.04701194912195206, -0.0013251833152025938, 0.014849272556602955, 0.01836174726486206, 0.0014491260517388582, 0.019342347979545593, 0.024517403915524483, -0.06923230737447739, -0.02054353430867195, -0.014509911648929119, 0.026373060420155525, -0.0045706783421337605, 0.8098960518836975, 0.015681708231568336, 0.024867931380867958, -0.014243129640817642, -0.006688124034553766, 0.0001651115162530914, -0.014340054243803024, 0.029318425804376602, -0.004629017319530249, -0.0071604205295443535, -0.058166563510894775, 0.01595919020473957, 0.007826685905456543, 0.004749019164592028, 0.031873371452093124, 0.037077389657497406, 0.017373889684677124, 0.021434104070067406, -0.020180614665150642, -0.009620347060263157, 0.02987496554851532, 0.05693918466567993, 0.021592669188976288, 0.0005141210276633501, 0.027731047943234444, -0.005155608989298344, -0.1494569331407547, 0.008206328377127647, -6.416200080409323e-33, 0.05001090094447136, -0.008273960091173649, -0.0028833462856709957, -0.011550753377377987, -0.005617087706923485, 0.03277475759387016, -0.002302363282069564, -0.011382275260984898, -0.014455105178058147, -0.018662618473172188, -0.002936628879979253, -0.007306085433810949, -0.02003684639930725, -0.012508564628660679, 0.02619803696870804, -0.026254834607243538, -0.023394694551825523, 0.04336535930633545, -0.012993432581424713, -0.002739890478551388, -0.00969365332275629, 0.016953343525528908, -0.024328002706170082, -0.004805803298950195, 0.040900133550167084, 0.026666346937417984, -0.002378985518589616, -0.0321868471801281, 0.0035464055836200714, -0.04969184473156929, 0.0005079497350379825, 0.019271647557616234, 0.009063293226063251, -0.02820674516260624, 0.0025745981838554144, -0.04084039106965065, -0.009646858088672161, 0.019070735201239586, 0.016063515096902847, -0.02463846653699875, -0.07629358768463135, 0.003925018478184938, -0.05292338505387306, -0.024274513125419617, 0.006758966017514467, -0.008313658647239208, 0.004263818729668856, 0.046033844351768494, 0.01573994569480419, -0.0022650440223515034, 0.010949413292109966, 0.028447125107049942, 0.02210763283073902, -0.02868851274251938, 0.006108995992690325, 0.00566338375210762, 0.01811468042433262, 0.003380022244527936, -0.010815160349011421, 0.016445113345980644, 0.021429622545838356, -0.004315400496125221, 0.020400287583470345, 0.021225733682513237, 0.02347148023545742, 0.026383794844150543, 0.0006449587526731193, 0.03948986157774925, 0.008896333165466785, 0.05826336517930031, -0.026283057406544685, 0.028673885390162468, 0.0007128599099814892, -0.028460951521992683, 0.006236413959413767, -0.014459491707384586, -0.0044860816560685635, 0.026441702619194984, -0.036693960428237915, 0.08485785871744156, -0.0019173502223566175, -0.011418983340263367, -0.02628248743712902, -0.009795828722417355, 0.006195618771016598, 0.022646483033895493, 0.03633025288581848, -0.012241283431649208, -0.043779414147138596, 0.0017884308472275734, 0.05204083397984505, 0.050025928765535355, -0.02593860775232315, -0.04803740233182907, -0.001607817132025957, 7.194575705325378e-33, 0.014160671271383762, 0.02757873199880123, -0.023522017523646355, 0.023608848452568054, -0.014020701870322227, -0.04604945331811905, 0.018321171402931213, -0.01647805981338024, -0.023729143664240837, 0.033342618495225906, -0.022662820294499397, 0.01453914400190115, -0.02287578210234642, 0.006253011990338564, 0.07259009033441544, -0.0391845777630806, 0.0003445317270234227, 0.018131811171770096, 0.01880929246544838, -0.002250027609989047, 0.030429376289248466, 0.010028627701103687, 0.028265494853258133, -0.00038987555308267474, 0.045075539499521255, 0.011679906398057938, -0.015978671610355377, 0.0025792643427848816, -0.002215313259512186, -0.02179061435163021, 0.00510046724230051, -0.03606696054339409, 0.0016505116363987327, -0.012858385220170021, -0.01367088221013546, 0.015940329059958458, -0.0013094129972159863, 0.0371086411178112, 0.02703145518898964, -0.00831360649317503, 0.033260051161050797, 0.02567625790834427, -0.010018439032137394, -0.009503694251179695, -0.01464579626917839, 0.04350318759679794, 0.047852687537670135, 0.04348596930503845, 0.0007644433062523603, -0.022192031145095825, 0.012787748128175735, 0.00812595710158348, 0.011294085532426834, 0.007970812730491161, 0.008496827445924282, -0.0075920457020401955, -0.05032670125365257, 0.01739352196455002, -0.032353393733501434, 0.004721121396869421, -0.004853184800595045, 0.035185307264328, -0.010230840183794498, 0.00023839627101551741, -0.04203597456216812, -0.018833735957741737, -0.020475376397371292, -0.03920202702283859, 0.0029651792719960213, 0.011027956381440163, 0.012732853181660175, -0.009965726174414158, -0.01136446837335825, 0.030159909278154373, 0.021669510751962662, 0.03832058608531952, -0.04795708879828453, 0.025106197223067284, -0.028739914298057556, 0.03893156722187996, 0.01883624866604805, 0.055338211357593536, -0.012556874193251133, 0.023222899064421654, 0.0022938032634556293, 0.008762435056269169, -0.047174856066703796, 0.040191955864429474, 0.050165873020887375, 0.002137616043910384, -0.03108859620988369, -0.05047397315502167, -0.0050206612795591354, -0.0024778021033853292, -0.0393829308450222, -1.2288333017806963e-8, -0.054948437958955765, 0.017671650275588036, -0.02233927510678768, 0.02786846086382866, 0.02298351563513279, 0.02525935135781765, -0.030906671658158302, -0.005197583697736263, -0.016418784856796265, 0.01497811358422041, 0.03109097294509411, -0.050941552966833115, -0.0047971452586352825, 0.005810308735817671, 0.008714837022125721, -0.07700031995773315, 0.03826480731368065, -0.044880978763103485, 0.035322386771440506, -0.0024750339798629284, 0.013833444565534592, 0.024671224877238274, 0.015279844403266907, -0.021676601842045784, -0.02673492580652237, -0.01657281257212162, 0.018256565555930138, -0.05718105658888817, -0.01567961275577545, -0.004197808913886547, 0.06397639960050583, -0.03431396931409836, -0.038816459476947784, 0.038573604077100754, 0.007750475779175758, -0.04688718169927597, -0.021334132179617882, 0.03625962510704994, 0.028922060504555702, -0.017085807397961617, -0.026882018893957138, -0.011902821250259876, 0.007900387048721313, -0.023978982120752335, -0.05058635398745537, -0.034435808658599854, -0.01864512823522091, -0.04408924654126167, 0.030445830896496773, -0.054043397307395935, 0.05595904588699341, -0.05138879269361496, 0.040194422006607056, 0.025012552738189697, 0.04941428452730179, 0.015197533182799816, 0.06238922104239464, -0.03326255828142166, -0.020307404920458794, -0.004929549526423216, 0.041353851556777954, -0.0008952047792263329, -0.0016556199407204986, -0.021831713616847992 ]
unixawk-extracting-substring-using-a-regular-expression-with-capture-groups
https://markhneedham.com/blog/2013/06/26/unixawk-extracting-substring-using-a-regular-expression-with-capture-groups
false
2013-06-09 16:57:35
neo4j.rb HA: NameError: cannot load Java class org.neo4j.graphdb.factory.HighlyAvailableGraphDatabaseFactory
[ "neo4j" ]
[ "neo4j" ]
https://github.com/andreasronge/neo4j[neo4.rb] is a JRuby gem that allows you to create an http://docs.neo4j.org/chunked/stable/tutorials-java-embedded.html[embedded neo4j database] and last week I was working out how to setup a neo4j 1.8.2 HA cluster using the gem. There is an example showing how to https://github.com/andreasronge/neo4j/tree/master/example/ha-cluster[create a HA cluster using neo4j.rb] so I thought I could adapt that to do what I wanted. I had the following Gemfile: [source,ruby] ---- source 'http://rubygems.org' gem 'neo4j', '2.2.4' gem 'neo4j-community', '1.8.2' gem 'neo4j-advanced', '1.8.2' gem 'neo4j-enterprise', '1.8.2' ---- And the following code copied from https://github.com/andreasronge/neo4j/blob/master/example/ha-cluster/myapp.rb[the example] to start up the cluster: [source,ruby] ---- require "rubygems" require "bundler" require 'fileutils' require 'neo4j' def start(machine_id) # override this default config with this machine configuration Neo4j.config['enable_ha'] = true Neo4j.config['ha.server_id'] = machine_id Neo4j.config['ha.server'] = "localhost:600#{machine_id}" Neo4j.config['ha.pull_interval'] = '500ms' Neo4j.config['ha.discovery.enabled'] = false other_machines = [1,2,3].map{|id| "localhost:500#{id}"}.join(',') puts "ha.initial_hosts: #{other_machines}" Neo4j.config['ha.initial_hosts'] = other_machines Neo4j.config['ha.cluster_server'] = "localhost:500#{machine_id}" Neo4j.config[:storage_path] = "db/neo#{machine_id}" Neo4j.start end ---- As per the example's instructions I started up an irb session and tried to start up an instance: [source,ruby] ---- $ bundle exec install $ bundle exec irb irb(main):001:0> require 'myapp' => true irb(main):002:0> start 1 ha.initial_hosts: localhost:5001,localhost:5002,localhost:5003 I, [2013-06-09T17:23:09.110000 #33848] INFO -- : starting Neo4j in HA mode, machine id: 1 at localhost:6001 db /Users/markhneedham/projects/neo4j-rb-ha/db/neo1 NameError: cannot load Java class org.neo4j.graphdb.factory.HighlyAvailableGraphDatabaseFactory from org/jruby/javasupport/JavaClass.java:1225:in `for_name' from org/jruby/javasupport/JavaUtilities.java:34:in `get_proxy_class' from file:/Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/jruby.jar!/jruby/java/java_package_module_template.rb:4:in `const_missing' from /Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/neo4j-core-2.2.4-java/lib/neo4j-core/database.rb:188:in `start_ha_graph_db' from /Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/neo4j-core-2.2.4-java/lib/neo4j-core/database.rb:62:in `start' from org/jruby/ext/thread/Mutex.java:149:in `synchronize' from /Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/neo4j-core-2.2.4-java/lib/neo4j-core/database.rb:53:in `start' from /Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/neo4j-core-2.2.4-java/lib/neo4j/neo4j.rb:41:in `start' from /Users/markhneedham/projects/neo4j-rb-ha/myapp.rb:21:in `start' from (irb):2:in `evaluate' from org/jruby/RubyKernel.java:1066:in `eval' from org/jruby/RubyKernel.java:1392:in `loop' from org/jruby/RubyKernel.java:1174:in `catch' from org/jruby/RubyKernel.java:1174:in `catch' from /Users/markhneedham/.rbenv/versions/jruby-1.7.1/bin/irb:13:in `(root)' ---- A quick scan of the neo4j code indicated that the class +++<cite>+++HighlyAvailableGraphDatabaseFactory+++</cite>+++ didn't actually exist in any of the neo4j 1.8.2 jars and https://twitter.com/maxdemarzi[Max] then pointed out the https://github.com/andreasronge/neo4j/blob/master/CHANGELOG[neo4j.rb change log] which indicated that the clustering example was based around a neo4j 1.9 cluster. If we want to create a neo4j 1.8 cluster then we need to tweak the settings a bit. The instructions are available from https://github.com/andreasronge/neo4j/commit/022d93909739245703d2321761de0f2218f6184c[an earlier revision of the neo4j.rb] repository but I've cloned the repository and created a https://github.com/mneedham/neo4j-1/tree/1.8HA/example/ha-cluster[1.8HA tag] for future reference. Essentially we'd need to revert back to the '2.2.1' version of the neo4j.rb gem and then run a script to startup some Zookeeper instances before following a similar process as described at the beginning of this post.
null
null
[ 0.025680167600512505, -0.0042181359604001045, -0.03740265965461731, 0.012937648221850395, 0.0831715315580368, 0.00021222762006800622, 0.04843492433428764, -0.012909943237900734, 0.014494569972157478, -0.013853025622665882, -0.050665177404880524, -0.022159025073051453, -0.08996301144361496, 0.0317668579518795, -0.025178212672472, 0.045562680810689926, 0.05286850780248642, 0.002361101098358631, 0.014087359420955181, -0.005224719177931547, 0.0226199422031641, 0.07077087461948395, 0.013605739921331406, 0.02400248870253563, 0.03373179957270622, 0.01223279070109129, 0.03858231380581856, 0.023317232728004456, -0.04515949264168739, -0.02923022396862507, 0.03332112729549408, -0.021804479882121086, 0.045416463166475296, -0.005041999276727438, 0.03976820781826973, 0.00104920391459018, -0.04168371483683586, -0.019238239154219627, -0.012507401406764984, -0.016144460067152977, -0.031858060508966446, 0.046197064220905304, -0.002544216113165021, 0.03579714149236679, -0.039605677127838135, 0.01379149779677391, -0.049736931920051575, 0.05147404223680496, 0.028344150632619858, -0.012232253327965736, -0.09100883454084396, 0.02272208407521248, 0.005478024482727051, -0.014668804593384266, -0.005742679350078106, 0.03471184894442558, 0.03380110487341881, -0.06959875673055649, 0.06394617259502411, -0.01243747491389513, -0.007618098985403776, 0.0037350489292293787, 0.014600598253309727, 0.018421849235892296, -0.0021485062316060066, -0.04229353368282318, 0.006702248938381672, 0.057782091200351715, -0.05902235954999924, -0.020792869850993156, 0.021491767838597298, -0.020580356940627098, -0.04104418307542801, -0.0117645887658, 0.015564867295324802, -0.04406660795211792, -0.0035333612468093634, 0.037324484437704086, 0.02017032913863659, 0.07263809442520142, -0.04427983611822128, 0.004970837850123644, -0.011101962067186832, 0.027695558965206146, -0.0027482095174491405, -0.05146724730730057, -0.051371488720178604, -0.011405923403799534, -0.07966173440217972, 0.07066287100315094, 0.024490173906087875, -0.04322831705212593, 0.023948688060045242, -0.00518671004101634, -0.015024315565824509, 0.027347305789589882, -0.002588692819699645, 0.01649279147386551, 0.037415727972984314, -0.0005313200526870787, -0.031304266303777695, -0.0026068491861224174, -0.035376228392124176, -0.0031135755125433207, -0.06953343003988266, 0.019785014912486076, -0.015013853088021278, -0.04105830192565918, -0.01654285192489624, -0.051519617438316345, -0.010690259747207165, -0.005652052816003561, -0.03513392433524132, 0.02865496650338173, -0.05279221758246422, 0.06763435155153275, 0.004498817026615143, -0.047123026102781296, -0.03792722523212433, 0.0014997818507254124, 0.0504593700170517, 0.05326002463698387, -0.014137684367597103, 0.06698954105377197, -0.022691192105412483, 0.032814085483551025, 0.002679492812603712, 0.039998091757297516, -0.02612818032503128, -0.06842605024576187, -0.017275862395763397, 0.06823889166116714, 0.017997514456510544, 0.026271464303135872, -0.012048263102769852, -0.002980893710628152, -0.012389839626848698, 0.022591810673475266, 0.060601018369197845, 0.014391451142728329, 0.013443142175674438, -0.03769298270344734, 0.010627278126776218, -0.006420355290174484, 0.005679630674421787, 0.024957623332738876, -0.004079050850123167, -0.05415555462241173, -0.02627994492650032, 0.01416113693267107, -0.009268912486732006, 0.016300611197948456, 0.040125977247953415, -0.01674775965511799, 0.01841854862868786, 0.08363962918519974, 0.03791022300720215, 0.004209209233522415, -0.0031903614290058613, -0.00014022176037542522, 0.016648489981889725, 0.03891398757696152, 0.014772978611290455, 0.06833650916814804, 0.023432360962033272, -0.005102517083287239, 0.009019115939736366, 0.058240097016096115, 0.002023372333496809, -0.02250012755393982, -0.047923196107149124, -0.08243991434574127, 0.0724337175488472, -0.04043683782219887, -0.021230291575193405, 0.026953749358654022, 0.07551147788763046, 0.003495511831715703, 0.024356184527277946, -0.010183403268456459, -0.0715838372707367, 0.05617337301373482, 0.021134428679943085, 0.019800269976258278, 0.018114523962140083, -0.024029087275266647, 0.08035001158714294, 0.02374953217804432, 0.013637891970574856, 0.04794253781437874, -0.09508278965950012, -0.07236827909946442, 0.00497648399323225, -0.025347713381052017, 0.07731373608112335, -0.01305379904806614, -0.02368546649813652, 0.03264165669679642, 0.025059612467885017, 0.00570290582254529, 0.0010605124989524484, -0.026184961199760437, -0.004105148836970329, -0.05593601614236832, -0.03738228976726532, 0.05278533324599266, 0.01625758782029152, -0.040810272097587585, -0.04139597713947296, -0.003931039944291115, -0.006768412422388792, -0.00041197246173396707, 0.036966364830732346, -0.04475095495581627, 0.021710537374019623, 0.0452096201479435, 0.018540818244218826, -0.027968313544988632, -0.012444160878658295, -0.0019330878276377916, 0.04587444290518761, 0.008382684551179409, -0.013585276901721954, -0.0014200839214026928, -0.006092587020248175, 0.0899166688323021, 0.04337228462100029, -0.010193319991230965, -0.04580775648355484, 0.05364064872264862, -0.00020389087148942053, -0.032003119587898254, 0.02834491990506649, -0.016983890905976295, 0.008343163877725601, -0.01221273560076952, -0.04615310579538345, -0.03984509035944939, -0.015412523411214352, -0.023724010214209557, 0.00840529054403305, 0.07819182425737381, -0.0422731377184391, 0.02497176080942154, 0.014023036696016788, -0.03055763430893421, 0.0156609695404768, -0.03907330334186554, -0.07763487845659256, 0.03510943055152893, 0.02156859263777733, -0.01496169250458479, 0.07050906121730804, -0.0036963799502700567, -0.006435564253479242, -0.029544685035943985, -0.012798289768397808, 0.03993673250079155, 0.0032802263740450144, 0.05083703622221947, -0.011251476593315601, 0.031742505729198456, -0.07597684115171432, 0.028284868225455284, -0.011114823631942272, -0.0370740182697773, -0.027334287762641907, -0.03321518003940582, 0.019378019496798515, -0.012133719399571419, 0.02291189879179001, -0.011636034585535526, 0.04906738921999931, 0.004850688856095076, 0.025266297161579132, -0.00437548104673624, 0.03413446247577667, -0.021136699244379997, -0.006150749512016773, -0.03168174996972084, -0.04514709487557411, 0.057902414351701736, -0.06706258654594421, -0.02824382297694683, -0.031953006982803345, -0.06284944713115692, 0.06615116447210312, -0.0733191967010498, -0.036516301333904266, -0.004233329091221094, 0.022318745031952858, 0.08181658387184143, 0.025780316442251205, 0.025428365916013718, 0.08593074977397919, 0.03667357191443443, 0.022338375449180603, 0.02498738095164299, 0.0009315102361142635, 0.06694824993610382, -0.03762773424386978, 0.03562772274017334, 0.01257301215082407, -0.036195266991853714, -0.002745706355199218, -0.05073651298880577, -0.011782829649746418, -0.020272759720683098, -0.26059094071388245, 0.037858229130506516, -0.06399676948785782, -0.06947693973779678, 0.015288342721760273, -0.006850965786725283, -0.02356080524623394, -0.012935729697346687, -0.024947088211774826, -0.013998846523463726, -0.013065321370959282, -0.0407683439552784, 0.011521920561790466, 0.01894293539226055, 0.0028625831473618746, 0.0006936725112609565, -0.002599142026156187, -0.033022768795490265, 0.0047613512724637985, 0.012747026979923248, -0.03416777402162552, -0.033861663192510605, -0.009139840491116047, 0.024459807202219963, -0.0010503982193768024, 0.03584558889269829, -0.07960447669029236, 0.04119065776467323, -0.03681958094239235, -0.03871623054146767, -0.0006855007377453148, -0.02705399878323078, 0.012952174060046673, 0.013823314569890499, -0.005365814082324505, -0.01565401442348957, 0.045500498265028, 0.00816541351377964, 0.04659205675125122, 0.029934760183095932, -0.038493812084198, -0.03320476785302162, -0.030076663941144943, -0.006019908934831619, 0.0746249407529831, -0.03745556250214577, -0.07075969874858856, -0.005556389689445496, -0.03420300409197807, 0.0762644037604332, -0.029667111113667488, -0.023082705214619637, 0.010977129451930523, 0.03186492249369621, 0.004794977605342865, -0.03029133938252926, -0.012917024083435535, 0.03159095719456673, -0.044655922800302505, -0.02607506513595581, -0.02669219858944416, -0.03702026605606079, 0.009421024471521378, -0.06000629812479019, -0.004940765909850597, -0.043541550636291504, -0.04483816772699356, -0.026122964918613434, 0.03854281082749367, 0.019377680495381355, -0.022075878456234932, 0.030097398906946182, -0.01761399209499359, -0.09833327680826187, -0.029742132872343063, -0.03954412415623665, -0.007995394058525562, 0.00020141084678471088, -0.017666682600975037, 0.06199892982840538, -0.043772369623184204, -0.03305589035153389, 0.0005394675536081195, 0.0015620671911165118, 0.01794579066336155, 0.00817357562482357, 0.023364229127764702, -0.03172491863369942, -0.0018502172315493226, 0.02129480428993702, 0.05728624016046524, -0.03660888969898224, -0.05565067380666733, 0.010411297902464867, -0.002850715070962906, 0.04184560850262642, 0.004656223580241203, -0.01033103559166193, 0.038767073303461075, 0.07224133610725403, 0.028935102745890617, -0.022173263132572174, 0.01551937684416771, -0.02163640782237053, -0.012789656408131123, 0.001771212904714048, -0.06348835676908493, 0.02107241563498974, 0.022177690640091896, 0.05029253289103508, -0.018362728878855705, -0.04103288799524307, 0.027494829148054123, -0.045634154230356216, -0.02960207313299179, -0.02861170656979084, -0.0030460043344646692, -0.016493255272507668, 0.04275639355182648, 0.007808668538928032, -0.0739598423242569, 0.013170445337891579, 0.050407376140356064, -0.028515461832284927, -0.043779268860816956, -0.013028639368712902, -0.019452618435025215, -0.016842490062117577, 0.019783034920692444, 0.02303219400346279, -0.009103702381253242, 0.0056971777230501175, 0.004281815141439438, -0.02774871699512005, 0.038410037755966187, -0.0016992096789181232, -0.037640538066625595, -0.029210953041911125, 0.01791432686150074, -0.00013476089225150645, -0.038852326571941376, 0.007516436744481325, 0.015613000839948654, 0.05340072512626648, 0.051881324499845505, 0.018812377005815506, 0.03592323884367943, 0.024245021864771843, 0.013024423271417618, -0.029139084741473198, -0.006900378968566656, -0.03483961522579193, -0.004894895013421774, -0.04596196115016937, -0.04469824582338333, -0.005272178910672665, 0.04787422716617584, -0.025689195841550827, -0.047174710780382156, -0.022821789607405663, 0.02868487685918808, -0.06155576556921005, -0.01011157501488924, 0.004900908097624779, 0.01843566820025444, 0.0646892860531807, -0.02782142162322998, 0.028144998475909233, -0.03695891425013542, -0.0063140480779111385, 0.018873877823352814, 0.005274910479784012, -0.004596885293722153, -0.005993193946778774, 0.0060345763340592384, 0.021188339218497276, -0.014669537544250488, 0.056030139327049255, 0.044919051229953766, -0.0021585477516055107, 0.004325097892433405, -0.003656909102573991, 0.02770935371518135, 0.003936898894608021, 0.02702457644045353, 0.007380893919616938, -0.034706633538007736, 0.01442558690905571, 0.010932421311736107, 0.006303755566477776, -0.004143844824284315, 0.007692307233810425, -0.008377236314117908, 0.037828102707862854, -0.009081401862204075, -0.08624466508626938, 0.041881367564201355, -0.015826089307665825, 0.00284021464176476, 0.015416392125189304, 0.023674527183175087, 0.0028136426117271185, -0.04664512351155281, 0.05216031149029732, 0.08172431588172913, -0.03873681277036667, -0.022875040769577026, -0.0007446432136930525, 0.0009759468375705183, -0.0060545774176716805, 0.011665760539472103, -0.07569701224565506, -0.028066664934158325, 0.015962231904268265, 0.020817669108510017, -0.017174893990159035, -0.05978129059076309, 0.010530415922403336, -0.00392794469371438, 0.00016896922898013145, 0.026540471240878105, 0.02435973472893238, 0.03677842393517494, 0.005674160085618496, -0.03715818002820015, 0.02082526683807373, 0.0031764903105795383, 0.012426531873643398, -0.03564747795462608, -0.008139326237142086, 0.017796620726585388, -0.013128306716680527, 0.07413911074399948, 0.009013885632157326, 0.005251820664852858, 0.007629533763974905, -0.042908549308776855, 0.019883953034877777, -0.003054967848584056, 0.021702468395233154, 0.004341966938227415, 0.03699367493391037, -0.022013213485479355, -0.0016076033934950829, -0.01938500627875328, -0.02119111828505993, 0.000008562922630517278, 0.01738261617720127, 0.018366731703281403, 0.027142437174916267, 0.015295939520001411, 0.020762944594025612, 0.00026700651505962014, -0.024519864469766617, 0.05378146097064018, -0.03481387346982956, -0.04233870655298233, 0.026803383603692055, -0.06671889871358871, 0.018754489719867706, 0.04798849672079086, 0.009828351438045502, -0.04994712024927139, 0.049609992653131485, 0.04510237276554108, 0.005361826624721289, 0.004432558547705412, -0.05583507940173149, 0.03396398574113846, -0.0504169687628746, -0.011734931729733944, -0.08360075950622559, 0.01472373865544796, 0.033082105219364166, -0.018724661320447922, 0.020991940051317215, -0.006274279206991196, -0.037621788680553436, -0.006532259285449982, -0.026950053870677948, -0.028275419026613235, 0.038103990256786346, -0.02843554876744747, 0.00876863393932581, 0.0019235494546592236, -0.05560227856040001, 0.01487775519490242, 0.06523751467466354, -0.02661914937198162, -0.035119861364364624, -0.029213396832346916, 0.0425083301961422, -0.01079945731908083, 0.0625644400715828, -0.028958197683095932, -0.03605213016271591, 0.07580317556858063, 0.03048817627131939, 0.027125531807541847, 0.03277779370546341, -0.010737613774836063, 0.046008069068193436, 0.017718011513352394, 0.017259590327739716, 0.001709983916953206, 0.022050268948078156, -0.028739968314766884, -0.030098862946033478, 0.04809775948524475, -0.0008779242634773254, -0.01690226048231125, -0.021473057568073273, 0.06793977320194244, -0.000006868853688501986, -0.0563666895031929, -0.04214567691087723, 0.05719630420207977, -0.03882163390517235, -0.04634789749979973, -0.04784395918250084, -0.012916767969727516, -0.03628479689359665, 0.03345561400055885, -0.035536203533411026, 0.014971691183745861, 0.06401551514863968, 0.0017659321893006563, -0.015649130567908287, -0.0025409224908798933, 0.06682979315519333, 0.09181559830904007, 0.027032002806663513, 0.016276614740490913, 0.06199367344379425, 0.011295540258288383, -0.04675669223070145, -0.0029860639479011297, -0.03942233696579933, -0.008459528908133507, 0.000483249343233183, -0.005868130829185247, 0.042392246425151825, -0.023518573492765427, 0.04975472018122673, -0.014700228348374367, 0.008321117609739304, -0.015513168647885323, -0.006137985270470381, 0.040852174162864685, 0.05639176815748215, 0.04837443307042122, 0.06787840276956558, -0.025504345074295998, -0.023745641112327576, 0.006754948757588863, -0.008944092318415642, -0.027952972799539566, 0.024315770715475082, -0.014971769414842129, 0.008471621200442314, 0.027822688221931458, 0.016535276547074318, 0.05926688760519028, -0.013813738711178303, -0.021159345284104347, 0.010425674729049206, 0.006415722891688347, -0.044707637280225754, 0.021137982606887817, -0.0009370549814775586, -0.023220745846629143, -0.02648291364312172, -0.017229320481419563, -0.0017986333696171641, -0.005711977835744619, -0.01003964338451624, 0.022002166137099266, -0.009987306781113148, 0.008827602490782738, -0.014042955823242664, -0.01726054772734642, -0.021577879786491394, -0.037925854325294495, -0.028509248048067093, -0.06773656606674194, -0.05372278764843941, 0.010274600237607956, -0.015121427364647388, 0.0021890478674322367, -0.012089691124856472, -0.025083454325795174, -0.015233416110277176, -0.001354652806185186, 0.03604650869965553, -0.06390384584665298, 0.004677460994571447, -0.029099509119987488, -0.000967986648902297, 0.025500977411866188, 0.06712625175714493, 0.06499962508678436, 0.008828962221741676, -0.008870717138051987, -0.013795842416584492, -0.00507285725325346, 0.03787075728178024, 0.01951391063630581, -0.00522443326190114, -0.0627605989575386, -0.0025441148318350315, 0.03750257194042206, 0.0293766837567091, -0.06084676831960678, 0.014722775667905807, 0.05312233790755272, 0.02390284836292267, 0.04273536428809166, -0.012721550650894642, -0.018494663760066032, -0.01183849573135376, 0.013224706053733826, -0.035823166370391846, 0.003879236290231347, 0.00981834065169096, -0.002980966819450259, 0.08285340666770935, 0.03380702808499336, -0.014388344250619411, -0.010943914763629436, -0.017862334847450256, -0.0024221448693424463, 0.00034261963446624577, -0.04418250918388367, -0.030459661036729813, -0.0758168175816536, -0.0924859493970871, -0.051285285502672195, 0.007917294278740883, -0.029982881620526314, -0.022676430642604828, -0.009976771660149097, -0.009003394283354282, -0.02703135833144188, 0.032717812806367874, -0.045926593244075775, 0.03999507799744606, -0.03517046198248863, -0.03208335489034653, -0.01194177195429802, -0.008422328159213066, 0.007985196076333523, -0.02256661467254162, 0.03382137045264244, -0.029357070103287697, -0.0010438835015520453, -0.03847246617078781, 0.030970126390457153, 0.025503793731331825, 0.014725898392498493, 0.017819762229919434 ]
[ -0.053600408136844635, -0.03743899613618851, -0.05650273710489273, -0.021115422248840332, 0.06575489789247513, -0.03704662621021271, -0.05609367787837982, 0.013189578428864479, -0.008639353327453136, -0.02429591678082943, 0.025403711944818497, -0.06028710678219795, -0.010257969610393047, -0.015735721215605736, 0.08016537874937057, 0.017155522480607033, -0.050533223897218704, -0.04482482373714447, -0.020540663972496986, 0.04868094250559807, -0.023472081869840622, -0.034930214285850525, 0.0037364165764302015, -0.03665454313158989, -0.004842133726924658, 0.05766104906797409, 0.04996628686785698, -0.0077307517640292645, -0.0230670478194952, -0.19059781730175018, 0.02392677217721939, 0.01731354370713234, 0.02408693917095661, -0.0003658338391687721, 0.021361714228987694, 0.026230541989207268, 0.032476890832185745, -0.021307064220309258, -0.025106122717261314, 0.05873436853289604, 0.013490934856235981, -0.007153806276619434, -0.0614389143884182, -0.002576871309429407, 0.05592181533575058, 0.017062826082110405, -0.022678622975945473, -0.006994037423282862, -0.009766681119799614, -0.0076833125203847885, -0.0339510403573513, 0.008856255561113358, -0.005371531937271357, -0.032761093229055405, 0.02305983379483223, 0.03972669318318367, 0.055830229073762894, 0.06096521392464638, 0.016436733305454254, 0.03822508454322815, 0.02109757624566555, 0.02131214737892151, -0.11980368942022324, 0.05161964148283005, 0.025347277522087097, 0.012666143476963043, -0.065864697098732, -0.02235524170100689, -0.004534880165010691, 0.07505062967538834, 0.020908363163471222, 0.023893631994724274, -0.042810965329408646, 0.06702584773302078, -0.0326286181807518, 0.019664065912365913, -0.0038560344837605953, 0.004750082269310951, 0.035579483956098557, -0.04137852042913437, -0.06315477937459946, 0.017937669530510902, -0.07018401473760605, -0.005616670940071344, -0.04563630372285843, 0.040532954037189484, -0.025251904502511024, 0.050523485988378525, -0.0150372963398695, 0.061110105365514755, 0.007744398899376392, 0.03464481607079506, 0.04368094727396965, 0.033668722957372665, -0.09106964617967606, -0.027661044150590897, 0.009153621271252632, -0.015713177621364594, 0.002416874747723341, 0.387097030878067, 0.025082720443606377, -0.012350736185908318, 0.03868918493390083, 0.03938454017043114, -0.020762627944350243, -0.015218370594084263, -0.01829216256737709, -0.04744059965014458, 0.06700104475021362, -0.01670956052839756, 0.011836248449981213, -0.04202253371477127, 0.04293528571724892, -0.10960610210895538, 0.0012356502702459693, -0.02945929579436779, 0.030699126422405243, 0.03210758790373802, -0.03174620866775513, 0.019236627966165543, 0.005486474838107824, 0.012220869772136211, 0.04692999646067619, 0.016411572694778442, 0.050087470561265945, 0.01961340941488743, -0.0012603761861100793, 0.026122499257326126, 0.037638042122125626, 0.029487088322639465, 0.039495799690485, 0.039951618760824203, -0.06659835577011108, 0.028492333367466927, -0.0062254942022264, 0.0238808486610651, 0.034811314195394516, -0.037351757287979126, -0.010217506438493729, 0.012913547456264496, -0.032569535076618195, -0.029871881008148193, 0.006763787940144539, 0.012778556905686855, -0.03564513474702835, 0.06959947943687439, -0.022540627047419548, -0.02271403931081295, -0.023452654480934143, -0.03384186699986458, -0.008397236466407776, 0.027900537475943565, -0.013077586889266968, -0.04659915342926979, -0.011528951115906239, 0.01436479203402996, 0.06222792714834213, -0.039973460137844086, -0.07729620486497879, 0.01647195778787136, -0.032017771154642105, -0.03880313038825989, -0.01645367033779621, 0.08345260471105576, 0.040025170892477036, -0.11545221507549286, -0.029543574899435043, 0.01642671972513199, 0.040594976395368576, -0.06470617651939392, 0.00016369296645279974, 0.018066681921482086, -0.018360121175646782, -0.006825143005698919, 0.09370192140340805, -0.04086759313941002, -0.01215346809476614, -0.012531268410384655, 0.02068156935274601, -0.003949095029383898, 0.01760083995759487, 0.008825387805700302, -0.03068687580525875, -0.000985172693617642, -0.06715381890535355, -0.06354818493127823, -0.09444534033536911, 0.014174730516970158, -0.039585914462804794, -0.04315504804253578, -0.06881165504455566, 0.02981920912861824, -0.06571315228939056, 0.08101633936166763, -0.00982863362878561, -0.03215337172150612, -0.023475568741559982, 0.0162452831864357, -0.013249382376670837, -0.03002789430320263, 0.021776868030428886, 0.054659873247146606, -0.013004072941839695, 0.033713292330503464, -0.08642341196537018, 0.008773233741521835, 0.08286678045988083, -0.021557435393333435, 0.06584765762090683, 0.009610784240067005, -0.051489971578121185, 0.0004630071052815765, -0.0063295490108430386, 0.02607068233191967, -0.02345637045800686, -0.0025715678930282593, -0.0012378181563690305, -0.026624545454978943, 0.018070649355649948, 0.04745204374194145, -0.029452849179506302, 0.006043134722858667, -0.05008050054311752, -0.3410537540912628, -0.011523373425006866, -0.031647469848394394, -0.016849704086780548, 0.03210582584142685, -0.011408048681914806, 0.051967915147542953, -0.03048660419881344, 0.014689994044601917, -0.009926107712090015, 0.11102734506130219, -0.024503525346517563, 0.02046828158199787, -0.07650838792324066, -0.007366877514868975, 0.08362217247486115, 0.0037489598616957664, -0.0064471992664039135, -0.0257207490503788, 0.026383645832538605, 0.025899214670062065, -0.07681433111429214, 0.016255203634500504, -0.03821767121553421, -0.02491082064807415, -0.026417843997478485, 0.10472767800092697, -0.004414138849824667, 0.029026856645941734, -0.046297337859869, 0.05232061445713043, 0.009117617271840572, -0.024533970281481743, -0.1100790873169899, -0.009120244532823563, -0.024708984419703484, 0.04775938764214516, 0.04212226718664169, 0.01546621136367321, 0.02143850177526474, -0.02513803541660309, -0.016662519425153732, -0.06250669807195663, -0.06680891662836075, 0.013536859303712845, 0.02384556084871292, -0.026897475123405457, 0.015219729393720627, 0.032960619777441025, 0.03822653368115425, 0.013956266455352306, 0.030566347762942314, -0.012381642125546932, 0.04814786836504936, 0.008101819083094597, -0.03533712774515152, -0.07579339295625687, -0.021690702065825462, 0.03282011300325394, 0.052202895283699036, 0.02539074420928955, 0.04709932208061218, -0.0075097414664924145, -0.09324502944946289, 0.05198817327618599, -0.0128340944647789, -0.03685034438967705, 0.02144606225192547, 0.05430813506245613, -0.04239645600318909, -0.009323395788669586, 0.10935382544994354, 0.01761198602616787, 0.026820413768291473, 0.030300723388791084, 0.025606408715248108, -0.0001992332108784467, -0.001632898347452283, 0.05072624981403351, 0.02719590812921524, 0.013979969546198845, -0.03376438841223717, 0.06958457827568054, -0.0061873518861830235, -0.025777896866202354, 0.07200412452220917, 0.0020973312202841043, -0.05383585765957832, 0.056001462042331696, 0.0050523593090474606, -0.047429632395505905, -0.015342824161052704, -0.02195509895682335, -0.0385083332657814, 0.052650243043899536, -0.024891141802072525, -0.2600162625312805, 0.06341192871332169, 0.04167001321911812, 0.05446718633174896, -0.0015257953200489283, -0.004425399471074343, 0.026476873084902763, -0.04978608712553978, 0.011116402223706245, 0.0051297759637236595, 0.04641824960708618, 0.0565207414329052, -0.009649383835494518, -0.011801314540207386, 0.020599164068698883, -0.0026810006238520145, 0.012318243272602558, 0.027534406632184982, -0.0017047796864062548, -0.0111825130879879, 0.029558952897787094, -0.005236929282546043, 0.1639285534620285, 0.015291010029613972, 0.00019544082169886678, 0.06330808252096176, -0.03878491371870041, 0.011847855523228645, 0.03321078419685364, 0.011162356473505497, -0.024587241932749748, 0.053567659109830856, 0.0077972980216145515, 0.03161882981657982, 0.01343080960214138, -0.027394119650125504, -0.01089384127408266, 0.03416736051440239, 0.04278072342276573, -0.01792212575674057, -0.02903556078672409, 0.03873293101787567, -0.044139519333839417, 0.027298428118228912, 0.07511447370052338, -0.03848883509635925, -0.007942667230963707, -0.022531580179929733, -0.07227005064487457, -0.03198782727122307, -0.057527538388967514, -0.05283533036708832, -0.02473505586385727, -0.010888717137277126, -0.0058468482457101345, 0.07378581166267395, 0.01946382410824299, -0.040844134986400604, 0.012757085263729095, -0.003963555674999952, 0.013200382702052593, -0.029635636135935783, 0.10536601394414902, -0.01779804565012455, 0.002925070933997631 ]
[ 0.05275099352002144, 0.027546022087335587, -0.04818728193640709, 0.09178395569324493, -0.0030540297739207745, 0.015299113467335701, -0.02154705300927162, 0.003697168081998825, -0.04507916793227196, -0.02779281884431839, -0.017589924857020378, 0.03428976237773895, 0.06714241951704025, -0.00714496336877346, -0.036385852843523026, 0.008085256442427635, 0.005756648723036051, 0.034542229026556015, 0.0310239065438509, -0.027156177908182144, -0.034178320318460464, 0.00731474906206131, 0.04590514302253723, 0.007984500378370285, -0.013148832134902477, 0.0002526533789932728, -0.013522778637707233, 0.005991075653582811, 0.0006115103606134653, -0.10107021033763885, -0.038503021001815796, -0.03071078099310398, 0.026073208078742027, 0.01320878230035305, -0.0012274046894162893, 0.03941180929541588, 0.040918558835983276, 0.004477679263800383, -0.02755095809698105, 0.04405280947685242, 0.04772171750664711, -0.007836412638425827, -0.03889325261116028, 0.000254676619078964, -0.008264435455203056, -0.021008392795920372, -0.05407940223813057, -0.007035247981548309, 0.015021457336843014, -0.02845449559390545, -0.05203811079263687, 0.009761825203895569, 0.010439730249345303, -0.021137014031410217, -0.035229314118623734, 0.015661101788282394, -0.02008053846657276, -0.04200103133916855, 0.03586767613887787, -0.017532847821712494, 0.03732607886195183, 0.017745820805430412, -0.023447223007678986, -0.04780527204275131, -0.025804001837968826, -0.01624593697488308, 0.008677395060658455, 0.0303612370043993, 0.02361864037811756, 0.002431877190247178, 0.004446749109774828, 0.07100716978311539, -0.08226560056209564, -0.03168945759534836, -0.036245062947273254, 0.02645166963338852, 0.07052209973335266, -0.02950013056397438, -0.01110099721699953, 0.048449862748384476, -0.047349587082862854, -0.004516661632806063, -0.00009061838500201702, -0.0038268992211669683, -0.06026312708854675, 0.022870773449540138, -0.020799875259399414, -0.03161120042204857, 0.0041849794797599316, 0.010032327845692635, -0.04613913968205452, 0.02317097783088684, -0.022504199296236038, -0.010798411443829536, -0.068898044526577, -0.029921552166342735, 0.031532496213912964, -0.015650615096092224, 0.041342440992593765, 0.7631385922431946, 0.02425728179514408, -0.017739923670887947, 0.02150457724928856, 0.01485420297831297, -0.011184277944266796, -0.01638481765985489, 0.014658096246421337, -0.010713895782828331, 0.011904616840183735, 0.027366574853658676, -0.014934979379177094, 0.0029283801559358835, 0.030196307227015495, 0.020271655172109604, 0.019860005006194115, 0.05970295891165733, 0.05811614170670509, -0.006932741962373257, -0.005447402596473694, 0.04087251424789429, 0.051941879093647, 0.02054804190993309, 0.02197170816361904, 0.0055021001026034355, 0.022434791550040245, -0.17959648370742798, -0.05854757875204086, -6.661601423874768e-33, 0.03053506836295128, -0.02738543599843979, 0.06552135199308395, 0.01901506818830967, 0.022184470668435097, -0.005893714260309935, -0.04593236744403839, -0.032780587673187256, -0.00755004957318306, -0.033470332622528076, -0.032254673540592194, -0.010307841934263706, 0.009747692383825779, -0.031189480796456337, -0.004939765203744173, -0.029903436079621315, 0.02918122336268425, 0.03290053829550743, -0.021537551656365395, 0.006944970227777958, -0.016720304265618324, 0.032428789883852005, -0.029225625097751617, 0.05226144567131996, -0.017151352018117905, 0.026370353996753693, 0.027711592614650726, -0.015537784434854984, 0.007619560696184635, -0.04459912329912186, -0.038957804441452026, 0.00858677551150322, -0.024453500285744667, -0.041640788316726685, -0.0037877012509852648, -0.05533232167363167, -0.026442788541316986, 0.010259397327899933, -0.049810852855443954, -0.07339505851268768, -0.0314582958817482, 0.002890554955229163, -0.002039085142314434, -0.050562288612127304, -0.0017302494961768389, -0.0129177151247859, 0.020400192588567734, 0.027678029611706734, 0.0009253027383238077, 0.0029761798214167356, -0.01350452285259962, 0.013439918868243694, 0.03663908317685127, 0.030482305213809013, -0.03389858081936836, -0.003803835716098547, 0.02964453026652336, 0.014173818752169609, 0.02970356121659279, -0.013703249394893646, 0.017926577478647232, -0.036643367260694504, -0.033295322209596634, 0.026395482942461967, 0.025701280683279037, 0.0344444215297699, 0.01324866246432066, 0.05680864676833153, 0.016321199014782906, 0.08849331736564636, -0.02872668392956257, 0.03880168870091438, -0.028865786269307137, -0.010006857104599476, -0.015606122091412544, -0.07673097401857376, 0.001995324855670333, -0.01481468603014946, -0.021608710289001465, 0.058165181428194046, -0.0020215886179357767, -0.01001020148396492, -0.04672880098223686, -0.016078563407063484, 0.0012646683026105165, 0.00021387274318840355, 0.05815168470144272, 0.028825830668210983, 0.004879357293248177, 0.022525468841195107, 0.01968105509877205, 0.02437576837837696, 0.011466625146567822, -0.04310927912592888, -0.02660883404314518, 6.310753829036748e-33, 0.008837222121655941, -0.04149828851222992, -0.0356927365064621, 0.02664833515882492, 0.05432074889540672, 0.014217250049114227, -0.004881300497800112, 0.02919851616024971, -0.05375082790851593, 0.023442545905709267, -0.008833358064293861, -0.023630104959011078, -0.006892424076795578, 0.0016830358654260635, 0.03496673330664635, -0.0006940134335309267, 0.03257787227630615, -0.04708871617913246, 0.03357740864157677, 0.04563712328672409, -0.03512675315141678, -0.0011817350750789046, 0.018093038350343704, 0.024626649916172028, 0.03682564198970795, 0.0011505313450470567, -0.02745988965034485, 0.0084765600040555, -0.04777805879712105, 0.006467920262366533, 0.008450055494904518, -0.03855447843670845, 0.0036140205338597298, 0.005074051208794117, -0.03039592318236828, 0.01723536290228367, -0.00512264110147953, 0.028682466596364975, 0.004438293166458607, -0.028018426150083542, 0.028119543567299843, -0.02400459162890911, -0.06003290414810181, 0.055602364242076874, 0.030259113758802414, 0.05061604082584381, 0.02089875563979149, 0.013728934340178967, -0.025023674592375755, 0.012619029730558395, -0.0005964258452877402, 0.011175540275871754, -0.01390083134174347, 0.017391400411725044, 0.023944463580846786, -0.03565124794840813, -0.01678771898150444, 0.054174844175577164, -0.029634609818458557, 0.021277187392115593, -0.016359515488147736, -0.0472019799053669, -0.04280800372362137, 0.03837205469608307, -0.039977069944143295, -0.05236905813217163, -0.0001213926007039845, -0.005809482652693987, -0.007088941987603903, -0.0002003253612201661, -0.013555497862398624, 0.07170195132493973, 0.015227746218442917, 0.04741968214511871, 0.0190676748752594, -0.0003840191930066794, -0.02775570936501026, -0.0009946702048182487, -0.04057580605149269, 0.04080449044704437, -0.01441453117877245, -0.0036098365671932697, -0.011729033663868904, -0.013920191675424576, 0.05062676966190338, -0.008682409301400185, -0.02598731406033039, 0.049329664558172226, -0.0159769169986248, 0.0014019159134477377, 0.01463476475328207, -0.019743045791983604, -0.03476661071181297, 0.018632827326655388, -0.08499913662672043, -1.1923365406119046e-8, 0.013385003432631493, 0.009154865518212318, -0.007339730393141508, -0.00606810487806797, -0.0071388306096196175, 0.03009684756398201, -0.01982351765036583, 0.006010092329233885, -0.0427825041115284, 0.042863670736551285, 0.017141029238700867, -0.0011364070232957602, -0.000196251246961765, -0.003634311491623521, 0.02805597335100174, -0.04405110701918602, 0.003349042497575283, -0.005290931090712547, 0.03635060042142868, 0.0134771429002285, 0.004750183783471584, 0.031691279262304306, -0.030695129185914993, 0.04884854331612587, 0.009858313016593456, -0.0213545560836792, 0.03292323276400566, -0.07637044787406921, -0.022052479907870293, -0.06358179450035095, 0.001157936523668468, -0.017508529126644135, -0.02887638844549656, 0.014052477665245533, -0.026905501261353493, -0.013560599647462368, 0.009352974593639374, 0.06018296256661415, 0.02253119833767414, 0.03326520696282387, 0.01703033596277237, 0.02277107536792755, -0.05231652036309242, -0.04931357502937317, -0.03884544596076012, 0.017957547679543495, -0.0386195182800293, 0.007215868216007948, 0.05187311768531799, -0.053049538284540176, -0.02620973251760006, 0.00019219188834540546, 0.023754281923174858, 0.02297019399702549, 0.06109517440199852, 0.003120455192402005, 0.027014432474970818, -0.027173327282071114, 0.020702321082353592, -0.008197838440537453, 0.05576344579458237, -0.023571250960230827, -0.04542941972613335, -0.02824566327035427 ]
neo4j-rb-ha-nameerror-cannot-load-java-class-org-neo4j-graphdb-factory-highlyavailablegraphdatabasefactory
https://markhneedham.com/blog/2013/06/09/neo4j-rb-ha-nameerror-cannot-load-java-class-org-neo4j-graphdb-factory-highlyavailablegraphdatabasefactory
false
2013-06-09 23:10:34
Unix: find, xargs, zipinfo and the 'caution: filename not matched:' error
[ "unix" ]
[ "Shell Scripting" ]
As I mentioned http://www.markhneedham.com/blog/2013/06/09/neo4j-rb-ha-nameerror-cannot-load-java-class-org-neo4j-graphdb-factory-highlyavailablegraphdatabasefactory/[in my previous post] last week I needed to scan all the jar files included with the neo4j-enterprise gem and I started out by finding out where it's located on my machine: [source,bash] ---- $ bundle show neo4j-enterprise /Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/neo4j-enterprise-1.8.2-java ---- I then thought I could get a list of all the jar files using +++<cite>+++http://unixhelp.ed.ac.uk/CGI/man-cgi?find[find]+++</cite>+++ and pipe it into +++<cite>+++http://linux.about.com/library/cmd/blcmdl1_zipinfo.htm[zipinfo]+++</cite>+++ via http://linux.die.net/man/1/xargs[xargs] to get all the file names and then search for +++<cite>+++HighlyAvailableGraphDatabaseFactory+++</cite>+++: Unfortunately when I tried that it didn't quite work: [source,bash] ---- $ cd /Users/markhneedham/.rbenv/versions/jruby-1.7.1/lib/ruby/gems/shared/gems/neo4j-enterprise-1.8.2-java/lib/neo4j-enterprise/jars/ $ find . -iname "*.jar" | xargs zipinfo caution: filename not matched: ./lib/neo4j-enterprise/jars/logback-classic-0.9.30.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/logback-core-0.9.30.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/neo4j-backup-1.8.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/neo4j-com-1.8.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/neo4j-consistency-check-1.8.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/neo4j-ha-1.8.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/neo4j-udc-1.8.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/org.apache.servicemix.bundles.netty-3.2.5.Final_1.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/server-api-1.8.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/slf4j-api-1.6.2.jar caution: filename not matched: ./lib/neo4j-enterprise/jars/zookeeper-3.3.2.jar ---- I switched 'zipinfo' to 'echo' to see what was going on which resulted in the following output: [source,bash] ---- $ find . -iname "*.jar" | xargs echo ./log4j-1.2.16.jar ./logback-classic-0.9.30.jar ./logback-core-0.9.30.jar ./neo4j-backup-1.8.2.jar ./neo4j-com-1.8.2.jar ./neo4j-consistency-check-1.8.2.jar ./neo4j-ha-1.8.2.jar ./neo4j-udc-1.8.2.jar ./org.apache.servicemix.bundles.netty-3.2.5.Final_1.jar ./server-api-1.8.2.jar ./slf4j-api-1.6.2.jar ./zookeeper-3.3.2.jar ---- As I understand it, xargs expects arguments to be separated by a space and I thought it would apply the command to each argument individually but it seemed to be including the space as part of the file name. I've previously used the '-n' flag to +++<cite>+++xargs+++</cite>+++ to explicitly tell it to call the corresponding command with one argument at a time and that seemed to do the trick: [source,bash] ---- $ find . -iname "*.jar" | xargs -n1 zipinfo Archive: ./log4j-1.2.16.jar 481535 bytes 346 files -rw---- 2.0 fat 3186 bX defN 30-Mar-10 23:25 META-INF/MANIFEST.MF -rw---- 2.0 fat 0 bl defN 30-Mar-10 23:25 META-INF/ -rw---- 2.0 fat 11366 bl defN 30-Mar-10 23:14 META-INF/LICENSE -rw---- 2.0 fat 160 bl defN 30-Mar-10 23:14 META-INF/NOTICE -rw---- 2.0 fat 0 bl defN 30-Mar-10 23:25 META-INF/maven/ -rw---- 2.0 fat 0 bl defN 30-Mar-10 23:25 META-INF/maven/log4j/ ... ---- Of course to solve this particular we don't actually need to use +++<cite>+++find+++</cite>+++ and +++<cite>+++xargs+++</cite>+++ since we can just call +++<cite>+++zipinfo+++</cite>+++ http://rubenerd.com/caution-filename-not-matched-unzip-error/[with the wildcard match]: [source,bash] ---- $ zipinfo \*.jar Archive: log4j-1.2.16.jar 481535 bytes 346 files -rw---- 2.0 fat 3186 bX defN 30-Mar-10 23:25 META-INF/MANIFEST.MF -rw---- 2.0 fat 0 bl defN 30-Mar-10 23:25 META-INF/ -rw---- 2.0 fat 11366 bl defN 30-Mar-10 23:14 META-INF/LICENSE -rw---- 2.0 fat 160 bl defN 30-Mar-10 23:14 META-INF/NOTICE -rw---- 2.0 fat 0 bl defN 30-Mar-10 23:25 META-INF/maven/ -rw---- 2.0 fat 0 bl defN 30-Mar-10 23:25 META-INF/maven/log4j/ -rw---- ... ---- I'm curious why +++<cite>+++xargs+++</cite>+++ didn't work as I expected it to though - have I just misremembered its default behaviour or is something weird going on?
null
null
[ 0.006777014117687941, -0.001308277016505599, -0.014680582098662853, 0.02939048409461975, 0.10173055529594421, 0.010064341127872467, 0.0481913685798645, 0.015203041955828667, -0.0024453490041196346, -0.021752510219812393, -0.02973170019686222, -0.01965872198343277, -0.06377595663070679, 0.035700488835573196, -0.007321266923099756, 0.05453488975763321, 0.06744497269392014, 0.02980540134012699, 0.018875394016504288, 0.0010006023803725839, 0.026593945920467377, 0.035165898501873016, 0.012305792421102524, 0.02508379891514778, 0.021523453295230865, 0.004515648819506168, 0.012818860821425915, 0.0024372295010834932, -0.06122779846191406, -0.009622829034924507, 0.02621057815849781, -0.002515606116503477, 0.03741814196109772, -0.008265092968940735, 0.02007284387946129, 0.030811844393610954, -0.04294542968273163, 0.004991429857909679, -0.009629961103200912, 0.0017964615253731608, -0.040220726281404495, 0.05149365961551666, -0.0032491290476173162, 0.031979355961084366, -0.05370846763253212, 0.02083730511367321, -0.044717926532030106, 0.02909850887954235, 0.03269056975841522, 0.005311678163707256, -0.07188176363706589, 0.013144410215318203, -0.009185058996081352, -0.016878649592399597, 0.0007871708367019892, 0.0376521460711956, 0.012944902293384075, -0.0745357945561409, 0.04670827463269234, -0.011971704661846161, -0.005993603728711605, -0.014179029501974583, -0.006065673660486937, 0.03318252041935921, -0.0009599372860975564, -0.04756110534071922, 0.0020231984090059996, 0.06276780366897583, -0.05025280639529228, 0.00391253549605608, 0.007964935153722763, 0.00999188981950283, -0.017705244943499565, -0.00789960753172636, 0.024112675338983536, -0.03322850167751312, -0.003963909577578306, 0.04140458628535271, 0.01981499046087265, 0.062129490077495575, -0.04563850909471512, 0.007001455873250961, 0.01431534718722105, 0.009534993208944798, 0.001647879253141582, -0.05350072681903839, -0.0319628082215786, -0.028952691704034805, -0.0617220476269722, 0.04942775517702103, 0.028925633057951927, -0.049272459000349045, 0.008588295429944992, 0.010522644966840744, -0.02882598713040352, 0.002395679708570242, 0.012040593661367893, 0.007980906404554844, 0.020163649693131447, -0.007114158943295479, -0.04073977842926979, -0.03328930214047432, -0.01741858571767807, 0.021733995527029037, -0.07963377982378006, -0.015694022178649902, -0.014420149847865105, -0.026835590600967407, -0.005851550493389368, -0.022541526705026627, -0.02094390243291855, 0.024548465386033058, -0.03096828982234001, 0.0027549511287361383, -0.07844548672437668, 0.0807574912905693, 0.024637451395392418, -0.042569007724523544, -0.012972702272236347, 0.036650996655225754, 0.03694844990968704, 0.05760534107685089, -0.00888943113386631, 0.07101262360811234, -0.006313797552138567, 0.044665563851594925, -0.013507428579032421, 0.026928847655653954, -0.026928184553980827, -0.08141744881868362, -0.005551402922719717, 0.06749391555786133, -0.003758651204407215, 0.02873176336288452, -0.009476607665419579, -0.021761944517493248, -0.00885046273469925, 0.010268600657582283, 0.04558200389146805, 0.02238434925675392, 0.004244984593242407, -0.040468987077474594, 0.00026144113508053124, 0.012232417240738869, 0.033790525048971176, 0.012966345995664597, -0.0262936819344759, -0.032664328813552856, -0.03413056954741478, 0.014275029301643372, -0.010958228260278702, 0.046436410397291183, 0.045936740934848785, -0.02560495398938656, 0.021738102659583092, 0.12193533778190613, 0.02132892981171608, 0.015272625721991062, -0.03569820150732994, 0.009995090775191784, 0.02462109364569187, 0.045774076133966446, 0.014214223250746727, 0.06897596269845963, -0.022288529202342033, -0.016709672287106514, -0.013549121096730232, 0.04828474298119545, -0.00395953981205821, 0.00920907873660326, -0.025343097746372223, -0.09291389584541321, 0.058916397392749786, -0.033215757459402084, -0.014852001331746578, 0.027906915172934532, 0.08605378121137619, 0.013965810649096966, 0.03246017172932625, -0.020481696352362633, -0.07904818654060364, 0.05299948900938034, 0.021276112645864487, 0.01606813259422779, -0.0025105720851570368, 0.002896183403208852, 0.07892731577157974, 0.03697215020656586, 0.012394437566399574, 0.042028702795505524, -0.09337054193019867, -0.07922172546386719, 0.004626925569027662, -0.020500915125012398, 0.07214479893445969, -0.008727962151169777, -0.007427535019814968, 0.02342560701072216, -0.0030607515946030617, 0.023894356563687325, 0.000279629894066602, -0.019162334501743317, 0.01630524918437004, -0.07495342195034027, -0.06306758522987366, 0.06150970235466957, 0.025136740878224373, -0.037106484174728394, -0.024479897692799568, 0.021339498460292816, -0.018863622099161148, -0.002380500314757228, 0.027458153665065765, -0.03911835327744484, 0.048560649156570435, 0.020754080265760422, 0.019580906257033348, -0.028093725442886353, 0.03660361096262932, -0.0285824965685606, 0.017921365797519684, 0.010872526094317436, -0.0342300608754158, 0.009703190997242928, 0.012273459695279598, 0.11019901186227798, 0.049908846616744995, -0.02897530235350132, -0.05563071370124817, 0.036171332001686096, 0.058074939996004105, -0.05309925600886345, 0.017117254436016083, -0.01683579757809639, -0.006914166733622551, -0.012947267852723598, -0.04425019770860672, -0.03702449053525925, 0.009886657819151878, -0.026913149282336235, -0.00023342951317317784, 0.06567727774381638, -0.025821367278695107, 0.0440668910741806, 0.01349419541656971, -0.023635737597942352, 0.006006307899951935, -0.04674322530627251, -0.06416967511177063, 0.0040540629997849464, 0.03215603530406952, -0.0028657116927206516, 0.0360746830701828, -0.03097948245704174, -0.008390480652451515, -0.034350402653217316, -0.03272879123687744, 0.03134973719716072, 0.03777462989091873, 0.06632890552282333, -0.007083945907652378, 0.04918133467435837, -0.05453808605670929, 0.03131237253546715, -0.026592204347252846, -0.0319296196103096, -0.02168530784547329, -0.03684835508465767, 0.021920347586274147, 0.01470102183520794, 0.0016120324144139886, 0.005611170083284378, 0.02030087262392044, 0.014707358554005623, 0.038718946278095245, -0.005047071259468794, 0.024202488362789154, 0.008685574866831303, 0.0066573042422533035, -0.03837358579039574, -0.0318094827234745, 0.0525263175368309, -0.06031673774123192, -0.019254585728049278, -0.006900925654917955, -0.06684243679046631, 0.04665300250053406, -0.039644479751586914, -0.036901358515024185, -0.01735500991344452, 0.005857338663190603, 0.04343390464782715, 0.02066463977098465, 0.005310968495905399, 0.05359402298927307, 0.023980464786291122, 0.018580783158540726, 0.01912737637758255, 0.009573394432663918, 0.0580352284014225, -0.028152838349342346, 0.03899025917053223, 0.02593633159995079, -0.014532671310007572, 0.0027519098948687315, -0.03869514539837837, -0.00405097333714366, -0.03309500962495804, -0.2782135307788849, 0.04738178849220276, -0.030613720417022705, -0.060877829790115356, 0.006024577189236879, -0.028070779517292976, -0.01660698652267456, -0.03170006349682808, -0.01683330535888672, 0.00592995248734951, -0.01363210380077362, -0.014118551276624203, 0.009728665463626385, 0.039408858865499496, 0.0055783456191420555, 0.018298080191016197, 0.030516617000102997, -0.041738349944353104, 0.002673885552212596, 0.013278000988066196, -0.0019269303884357214, -0.04045971482992172, -0.010014268569648266, 0.04229244589805603, 0.004026961978524923, 0.06859399378299713, -0.09248898178339005, 0.05125891789793968, -0.05361929535865784, -0.029492007568478584, 0.019648022949695587, -0.026191329583525658, -0.029624922201037407, 0.0026338589377701283, -0.006945680361241102, -0.007025986909866333, 0.015204289928078651, 0.00955930259078741, 0.02038341946899891, 0.02438901551067829, -0.03758132830262184, -0.04742340371012688, -0.02417074330151081, -0.007520378567278385, 0.08045586943626404, -0.023190882056951523, -0.10202299803495407, -0.012545358389616013, -0.023285621777176857, 0.07662581652402878, -0.033883120864629745, -0.039812151342630386, -0.00024657079484313726, 0.026249270886182785, 0.0038609805051237345, -0.04589180275797844, -0.01910988986492157, -0.00582446763291955, -0.039525989443063736, -0.030881468206644058, -0.0022741847205907106, -0.03561238572001457, 0.003345760051161051, -0.052977584302425385, -0.03349388390779495, -0.05845438316464424, -0.06669657677412033, -0.04057396948337555, 0.06491857767105103, 0.011518302373588085, -0.024922939017415047, 0.03730086609721184, -0.005328733008354902, -0.10528246313333511, -0.025326626375317574, -0.016799505800008774, -0.03141341730952263, -0.006818289868533611, -0.01855059713125229, 0.05564480647444725, -0.05137290060520172, -0.03470524027943611, 0.015117856673896313, 0.01675531268119812, 0.012831185944378376, -0.007823310792446136, -0.0010941950604319572, -0.014280440285801888, -0.016343826428055763, 0.010896728374063969, 0.05556182563304901, -0.03571675717830658, -0.02193536050617695, -0.011051188223063946, 0.006669635884463787, 0.02899716980755329, 0.01160054374486208, -0.019763855263590813, 0.03022179566323757, 0.08519169688224792, 0.03519926220178604, -0.05203552171587944, 0.0268044825643301, -0.03554941713809967, -0.02071351557970047, -0.01502478588372469, -0.03565480560064316, 0.00987947452813387, 0.01820950210094452, 0.020512357354164124, -0.004550897981971502, -0.028585737571120262, 0.025997858494520187, -0.05569833517074585, -0.030584990978240967, -0.016155824065208435, 0.014265768229961395, 0.04248187318444252, 0.04430964216589928, -0.0031286226585507393, -0.05532626062631607, 0.015043084509670734, 0.007007396314293146, -0.03911606967449188, -0.060742974281311035, -0.01633709855377674, -0.021694302558898926, -0.02768843062222004, 0.006802277639508247, 0.01078584510833025, -0.03589446097612381, 0.01966790109872818, 0.03280622139573097, -0.029283033683896065, 0.030385244637727737, -0.035282813012599945, -0.03875526413321495, -0.02608104608952999, 0.02394387498497963, -0.010806331411004066, -0.01390395499765873, 0.00405544089153409, 0.0010733618400990963, 0.06059557944536209, 0.036644645035266876, 0.01296850387006998, 0.035383496433496475, -0.0006615478778257966, 0.02756490744650364, -0.017486605793237686, -0.010572672821581364, -0.04136466234922409, 0.03209954500198364, -0.031970951706171036, -0.03663584217429161, -0.014559954404830933, 0.05016162991523743, 0.0008345269015990198, -0.031056640669703484, -0.029878392815589905, 0.034620095044374466, -0.05989035964012146, 0.012560996226966381, 0.012376448139548302, -0.028750140219926834, 0.06506495177745819, -0.006323179230093956, 0.042330723255872726, -0.022781049832701683, -0.0018258701311424375, 0.003936200402677059, 0.028298551216721535, -0.013082794845104218, 0.012394318357110023, 0.018212368711829185, 0.007675230037420988, 0.013075700961053371, 0.02897486463189125, 0.0530027411878109, 0.02454712986946106, -0.027207016944885254, -0.029759109020233154, 0.005947852041572332, 0.015879284590482712, 0.03027617745101452, 0.022963035851716995, -0.0313401035964489, 0.0019209462916478515, -0.012189154513180256, -0.027626564726233482, -0.0035515683703124523, 0.010681132785975933, -0.012755200266838074, 0.022361496463418007, -0.027121340855956078, -0.08343338221311569, 0.04500488564372063, -0.022873064503073692, 0.015855254605412483, 0.03537902235984802, 0.00043036986608058214, 0.0009495959966443479, -0.03998812288045883, 0.052606310695409775, 0.06517907232046127, -0.0551593154668808, -0.02140187658369541, 0.008396689780056477, -0.013780268840491772, 0.007281391881406307, -0.0046204556711018085, -0.05391676351428032, -0.0075073386542499065, 0.014723477885127068, 0.046115584671497345, -0.0401267446577549, -0.028272004798054695, 0.0017308808164671063, 0.011222166009247303, 0.00006121191108832136, -0.00038044084794819355, 0.022116398438811302, 0.025062987580895424, -0.010454731062054634, -0.013344177044928074, 0.02161523513495922, -0.005285221617668867, -0.006821026559919119, -0.018658317625522614, -0.013624847866594791, 0.01632920280098915, -0.02330968715250492, 0.03472409397363663, 0.028213219717144966, -0.0059197130613029, 0.008623803034424782, -0.024839546531438828, 0.007478578481823206, -0.0044981325045228004, 0.026975709944963455, 0.008735524490475655, 0.010582027025520802, -0.03270391747355461, 0.005024638958275318, -0.027566321194171906, -0.007685172837227583, -0.01909068040549755, 0.002315443241968751, 0.008117679506540298, 0.045938849449157715, 0.012058019638061523, 0.0410347506403923, -0.005292581859976053, -0.030143005773425102, 0.06481188535690308, -0.03617639094591141, -0.04435119032859802, 0.005936866160482168, -0.04951358586549759, 0.004449754953384399, 0.032157693058252335, 0.019707411527633667, -0.029202045872807503, 0.056455109268426895, 0.040291719138622284, -0.010185148566961288, 0.00706265727058053, -0.025508996099233627, 0.026549899950623512, -0.056158121675252914, -0.02258184924721718, -0.0743086114525795, 0.02126883715391159, 0.03670033439993858, -0.013362543657422066, 0.007120299618691206, -0.008250678889453411, -0.042396750301122665, 0.004270274192094803, -0.05832771956920624, -0.050539370626211166, 0.02134563773870468, -0.04402284324169159, -0.0013165745185688138, 0.011869959533214569, -0.055476896464824677, 0.013060489669442177, 0.039760224521160126, -0.027812840417027473, -0.043570708483457565, -0.04325965419411659, 0.058000192046165466, -0.012017976492643356, 0.04668685793876648, -0.006205571815371513, -0.012920139357447624, 0.0724569782614708, 0.01865549385547638, 0.021606523543596268, 0.038030050694942474, -0.007002273108810186, 0.025081800296902657, 0.044300008565187454, -0.008174504153430462, 0.02372497320175171, 0.02329782024025917, -0.014216499403119087, -0.03627295792102814, 0.0074716475792229176, -0.003984893672168255, -0.006175544112920761, -0.020763782784342766, 0.05561886355280876, 0.016229521483182907, -0.027556398883461952, -0.03936973959207535, 0.04138650745153427, -0.02642250247299671, -0.008010853081941605, -0.05769503861665726, -0.003097368171438575, -0.04634828120470047, 0.04466000199317932, -0.013815912418067455, 0.013169804587960243, 0.07512593269348145, 0.01946750096976757, -0.009060250595211983, 0.008207529783248901, 0.09084611386060715, 0.09364891052246094, -0.004580914508551359, 0.024764278903603554, 0.07557767629623413, -0.0005410729208961129, -0.029559990391135216, -0.004833378363400698, -0.02609054185450077, -0.012657873332500458, 0.010365729220211506, -0.007170157507061958, 0.054769210517406464, -0.03091309778392315, 0.06755700707435608, -0.02765871025621891, 0.0035226012114435434, -0.022223522886633873, -0.0058006709441542625, 0.038583945482969284, 0.053130388259887695, 0.006021545268595219, 0.062014177441596985, -0.05669068545103073, -0.02907293103635311, 0.006842501927167177, -0.007319299038499594, -0.013635746203362942, 0.0372023768723011, -0.021039599552750587, 0.004318662453442812, 0.014345008879899979, 0.030802560970187187, 0.0670831948518753, -0.04344206675887108, -0.005961975548416376, -0.02176187001168728, 0.019981972873210907, -0.012907915748655796, 0.011723904870450497, -0.009817688725888729, -0.01675836741924286, -0.032995425164699554, -0.04722753167152405, -0.019187822937965393, -0.006679500453174114, -0.013489496894180775, 0.020304447039961815, -0.03081311285495758, 0.0046307966113090515, 0.009502573870122433, 0.002219039248302579, 0.00024429839686490595, -0.04596457630395889, -0.041835613548755646, -0.042079005390405655, -0.07880765199661255, 0.01620664820075035, -0.004041231237351894, 0.013260424137115479, -0.04080598056316376, 0.007467273622751236, -0.017339661717414856, -0.014708086848258972, 0.03940526396036148, -0.08157095313072205, -0.004685553256422281, -0.01153511181473732, 0.03243657946586609, 0.011014667339622974, 0.04111812636256218, 0.0664888322353363, -0.002390035428106785, 0.009622422978281975, 0.0010267726611346006, 0.008776694536209106, 0.05125339329242706, 0.023930251598358154, 0.0027866652235388756, -0.08149533718824387, 0.017729243263602257, 0.011926600709557533, -0.007599648088216782, -0.0576990507543087, -0.012961138971149921, 0.050611067563295364, -0.01780276745557785, 0.046351686120033264, 0.015172276645898819, -0.012936675921082497, -0.029868924990296364, 0.019910024479031563, -0.011381961405277252, -0.01938040181994438, 0.018541067838668823, -0.007480901665985584, 0.0798288881778717, 0.051756277680397034, -0.005931203253567219, -0.04659169539809227, -0.032636430114507675, 0.023300817236304283, -0.0032910271547734737, -0.045837316662073135, -0.04465780779719353, -0.04086523503065109, -0.10770396143198013, -0.03182283416390419, -0.012452644295990467, -0.01885518617928028, -0.03663760423660278, 0.004224920645356178, 0.02157934568822384, -0.012673436664044857, 0.021190302446484566, -0.049235839396715164, 0.03196588158607483, -0.022195862606167793, -0.022359048947691917, -0.01312852930277586, 0.00824984721839428, -0.0024515215773135424, 0.015657052397727966, 0.020202388986945152, -0.04893738031387329, -0.01678958348929882, -0.03393291309475899, 0.03357095271348953, 0.06701729446649551, 0.030551183968782425, -0.01322935614734888 ]
[ -0.056440602988004684, -0.017988473176956177, -0.03057870827615261, -0.04156108200550079, 0.06852224469184875, -0.06361762434244156, -0.046171728521585464, 0.03490511700510979, -0.010861337184906006, -0.023323360830545425, 0.04215201362967491, -0.036220330744981766, -0.0008452235488221049, 0.009839467704296112, 0.07481538504362106, 0.010839979164302349, -0.029212811961770058, -0.027872497215867043, -0.01524537056684494, 0.01795424520969391, -0.006548759993165731, -0.04001022130250931, 0.013375108130276203, -0.06239917874336243, -0.020228028297424316, 0.05204041302204132, 0.052466560155153275, -0.011997939087450504, -0.047646939754486084, -0.21664516627788544, 0.0006146918749436736, 0.012488734908401966, 0.014168394729495049, -0.022513365373015404, 0.03263810649514198, 0.041416071355342865, 0.05330205336213112, -0.001531372545287013, 0.005169697105884552, 0.03331198915839195, 0.011276204138994217, 0.0037653560284525156, -0.06478707492351532, 0.00422147149220109, 0.021754726767539978, 0.009424205869436264, -0.005925748031586409, -0.025998488068580627, 0.014989593997597694, -0.005261886864900589, -0.05301213636994362, 0.02367725409567356, 0.03646006062626839, -0.04494328424334526, -0.012175770476460457, 0.022826476022601128, 0.054164327681064606, 0.07914149016141891, 0.015010868199169636, 0.03154611214995384, -0.010686319321393967, 0.003534338204190135, -0.13679862022399902, 0.07584205269813538, 0.009696649387478828, -0.000872514268849045, -0.03757571429014206, -0.04609031602740288, -0.015802286565303802, 0.05987897887825966, 0.01600201241672039, 0.014347057789564133, -0.02702391892671585, 0.08277886360883713, -0.04997742176055908, 0.02024279534816742, 0.02852601185441017, -0.0089691998437047, 0.026324855163693428, -0.0655059665441513, -0.08078818023204803, -0.017438288778066635, -0.024863949045538902, -0.02209228277206421, -0.04533638432621956, 0.05881933495402336, -0.019709542393684387, 0.05742226541042328, 0.024694062769412994, 0.07436620444059372, 0.03777800127863884, 0.0083433473482728, 0.09740183502435684, 0.02927442267537117, -0.11189961433410645, -0.001273258705623448, 0.001211995375342667, 0.017753150314092636, 0.017489710822701454, 0.3900086581707001, 0.008811822161078453, -0.028080983087420464, 0.02518109604716301, 0.05370374768972397, -0.014294324442744255, -0.019889414310455322, -0.025426682084798813, -0.04473234340548515, 0.04130319878458977, -0.013286074623465538, 0.029009360820055008, -0.0500972606241703, 0.05809348076581955, -0.07738626003265381, -0.01280179899185896, -0.016375234350562096, 0.035859327763319016, -0.0012277602218091488, -0.06899769604206085, 0.029179375618696213, -0.006640301086008549, 0.010981427505612373, 0.03551752492785454, -0.002128609921783209, 0.022777702659368515, 0.024670669808983803, -0.012772592715919018, 0.023084253072738647, 0.04136053845286369, 0.005794094875454903, 0.02182674966752529, 0.004080422222614288, -0.08002477139234543, -0.0031001679599285126, -0.011264393106102943, 0.04728349298238754, 0.03511198237538338, -0.06309070438146591, -0.014196041040122509, 0.023321444168686867, -0.017950931563973427, -0.050951648503541946, -0.010132698342204094, 0.024173997342586517, -0.05450883507728577, 0.056437309831380844, -0.0015244557289406657, -0.014681984670460224, -0.02150704525411129, -0.035113461315631866, 0.012395876459777355, 0.0724477767944336, 0.007380261551588774, -0.014319458976387978, 0.016448259353637695, 0.0043975734151899815, 0.09544506669044495, -0.002123527228832245, -0.09671361744403839, 0.009549061767756939, 0.009390676394104958, -0.04203392192721367, -0.01476939208805561, 0.07271701842546463, 0.0429576151072979, -0.07801210135221481, -0.030419573187828064, 0.02512439526617527, 0.02271915227174759, -0.05424404516816139, 0.0009735916974022985, 0.02784552611410618, -0.018994569778442383, -0.016510726884007454, 0.05936240404844284, -0.03129526227712631, 0.0031267162412405014, -0.026587970554828644, 0.025042658671736717, 0.020099163055419922, -0.009760967455804348, -0.005059139337390661, -0.04149334132671356, -0.028507068753242493, -0.036879781633615494, -0.06356795877218246, -0.07844304293394089, 0.02990805357694626, 0.00505864666774869, -0.033010292798280716, -0.039278171956539154, 0.013494041748344898, -0.03744231536984444, 0.07879896461963654, -0.02308802120387554, -0.02885492704808712, -0.0023186104372143745, -0.005905958823859692, -0.00026400265051051974, -0.04906601458787918, 0.0805223137140274, 0.04650462791323662, 0.00948205403983593, 0.056014396250247955, -0.06427904963493347, 0.007179776206612587, 0.04675648733973503, -0.00999318528920412, 0.044697731733322144, -0.015214464627206326, -0.07482300698757172, -0.0013464153744280338, -0.008682145737111568, 0.0450797975063324, -0.041470352560281754, -0.015906985849142075, 0.004696229938417673, -0.009348906576633453, 0.03346427157521248, 0.031046763062477112, -0.060145460069179535, -0.021352116018533707, -0.058780521154403687, -0.3468785583972931, -0.010598547756671906, -0.03836428001523018, 0.00029680857551284134, -0.0030003623105585575, 0.010072119534015656, 0.02581184357404709, -0.01695583388209343, -0.0005709636025130749, 0.003058219328522682, 0.08660607039928436, -0.02724272757768631, 0.006975225638598204, -0.07960142195224762, 0.0015101998578757048, 0.05562787503004074, -0.0080978162586689, 0.004193542059510946, -0.028757110238075256, -0.0004535711486823857, 0.0021749648731201887, -0.09017859399318695, -0.008389932103455067, -0.0068548088893294334, 0.0069629475474357605, -0.027653729543089867, 0.10301794856786728, 0.024973608553409576, 0.02572600543498993, -0.06879371404647827, 0.043486956506967545, 0.06307025998830795, -0.013739343732595444, -0.09380541741847992, 0.0199064239859581, -0.016443051397800446, -0.016780976206064224, 0.04153023287653923, 0.011019516736268997, 0.013681406155228615, -0.03847406804561615, -0.02777082659304142, -0.040094465017318726, -0.04535187408328056, -0.0033664146903902292, 0.012140554375946522, -0.01987181045114994, -0.031207744032144547, 0.03493596240878105, 0.055965445935726166, -0.0030837140511721373, 0.03808457776904106, -0.008426574990153313, 0.024645894765853882, 0.015122871845960617, -0.041858285665512085, -0.0473804846405983, 0.004913808312267065, 0.030584994703531265, 0.02520911768078804, 0.050386179238557816, 0.06475763022899628, 0.004119787830859423, -0.053332485258579254, 0.022446220740675926, -0.0020662385504692793, -0.033763956278562546, 0.014369606040418148, 0.05140594765543938, -0.040360476821660995, -0.012971249409019947, 0.09893739968538284, 0.004170508123934269, 0.027904430404305458, 0.03543948754668236, 0.060084518045186996, 0.0007267960463650525, -0.0034297131933271885, 0.038544222712516785, 0.01546475663781166, -0.0003545679210219532, -0.009665733203291893, 0.09296774119138718, -0.030320338904857635, -0.017047947272658348, 0.09182312339544296, 0.007729676086455584, -0.04169066622853279, 0.050205666571855545, -0.01765730045735836, -0.0326361283659935, 0.011911528185009956, -0.03498725965619087, -0.04589049890637398, 0.08382738381624222, 0.004329887684434652, -0.24599595367908478, 0.06239476799964905, 0.04227188229560852, 0.058667369186878204, -0.01068523433059454, 0.016155768185853958, 0.02272864431142807, -0.04961894452571869, 0.03529655560851097, 0.0040414417162537575, 0.06005631759762764, 0.03947785496711731, -0.023890841752290726, -0.028585433959960938, 0.005388087127357721, 0.012961296364665031, 0.03813483938574791, 0.02349136583507061, 0.05844758450984955, -0.019438190385699272, 0.0198782030493021, -0.034656014293432236, 0.16539804637432098, 0.026663264259696007, -0.008078479208052158, 0.03389546275138855, -0.03330906853079796, 0.01690850593149662, 0.026132436469197273, -0.0033463931176811457, -0.04036794230341911, 0.031683020293712616, -0.0016354925464838743, 0.02517389878630638, 0.007884101010859013, -0.022615909576416016, 0.0039310334250330925, 0.034876417368650436, 0.029435208067297935, -0.03232558071613312, -0.01133266743272543, 0.03175421431660652, -0.07181902974843979, 0.028791654855012894, 0.06913340836763382, -0.046351198107004166, -0.015583889558911324, 0.00805688463151455, -0.061448585242033005, -0.013577690348029137, -0.020770857110619545, -0.07603321224451065, -0.03707165643572807, -0.0013390925014391541, -0.01952666975557804, 0.05404451861977577, -0.0033076689578592777, -0.0455130897462368, -0.015150289982557297, -0.002146767685189843, 0.009144796058535576, -0.03508755564689636, 0.11174700409173965, -0.023033108562231064, -0.0006857571424916387 ]
[ 0.014080079272389412, 0.053567200899124146, -0.060971226543188095, 0.031411848962306976, 0.00637280847877264, 0.013693556189537048, 0.0017808073898777366, 0.020376648753881454, -0.052221741527318954, 0.001850816304795444, 0.0048932707868516445, 0.0335419587790966, 0.07970546185970306, 0.001661138259805739, -0.011840439401566982, -0.014187052845954895, -0.009276380762457848, 0.04631783068180084, 0.01789417490363121, -0.028804099187254906, -0.01225719042122364, 0.013123451732099056, 0.05687183141708374, -0.029866183176636696, 0.019351381808519363, 0.025195162743330002, -0.015651274472475052, -0.03770770505070686, -0.00713074766099453, -0.1368183195590973, -0.019915778189897537, -0.014458280056715012, 0.014660417102277279, -0.006479256320744753, 0.007372197695076466, 0.005652537569403648, 0.023402297869324684, 0.02890772372484207, -0.0017634517280384898, 0.02022927813231945, 0.012871281243860722, 0.006668464280664921, -0.04254964366555214, 0.021269341930747032, -0.04875241592526436, -0.04378974810242653, -0.03349697217345238, -0.042456090450286865, 0.033185191452503204, 0.0027533851098269224, -0.05081713944673538, -0.008217197842895985, 0.003838461358100176, -0.031524401158094406, -0.0028348644264042377, -0.018547413870692253, -0.006338570266962051, -0.014369738288223743, 0.029469965025782585, -0.0015678838826715946, 0.052080005407333374, -0.007574817165732384, -0.05358937010169029, -0.01589205488562584, -0.0345471017062664, -0.03050657920539379, 0.012927251867949963, 0.02157735638320446, 0.00035802400088869035, 0.007413867395371199, -0.01747855730354786, 0.0429207980632782, -0.08898018300533295, -0.027362829074263573, -0.0284864604473114, 0.034446101635694504, 0.07088460773229599, 0.005952507257461548, -0.02759399078786373, 0.00488908588886261, -0.054895658046007156, 0.03187788650393486, -0.012466710060834885, -0.02472492679953575, -0.0620143860578537, 0.038406852632761, -0.013594347983598709, -0.020454896613955498, 0.019086094573140144, 0.03513319790363312, -0.016408752650022507, 0.0048839859664440155, -0.015973789617419243, -0.006556503940373659, -0.10332682728767395, -0.0016934614395722747, 0.035252414643764496, 0.015833193436264992, 0.007452570367604494, 0.7980888485908508, 0.016871962696313858, 0.028003649786114693, 0.023048778995871544, 0.02786845527589321, -0.011366844177246094, -0.0010805792408064008, -0.010542010888457298, 0.0035162835847586393, -0.008308200165629387, 0.0017985058948397636, 0.0013097816845402122, 0.008686287328600883, 0.03277328610420227, 0.021351715549826622, 0.031037213280797005, 0.03516842797398567, 0.03920835256576538, -0.03909798339009285, -0.0007713632076047361, 0.027482805773615837, 0.031805165112018585, 0.018653754144906998, 0.016643045470118523, 0.002642083214595914, 0.015689920634031296, -0.11963138729333878, -0.028633860871195793, -5.822056746361767e-33, 0.03458356857299805, 0.003203508909791708, 0.068814717233181, 0.02360890619456768, -0.0313434898853302, 0.017643257975578308, -0.04230387508869171, -0.02024751715362072, -0.02135881781578064, -0.01579947955906391, -0.025115879252552986, 0.009126859717071056, -0.006026081275194883, -0.03202328458428383, -0.009027399122714996, -0.017876850441098213, 0.027919523417949677, 0.02086351066827774, -0.004308671224862337, 0.01197919249534607, -0.01829182542860508, 0.019992271438241005, -0.03612615540623665, 0.047459524124860764, 0.004526508506387472, 0.05655016750097275, 0.05124397203326225, -0.008561893366277218, 0.020132185891270638, -0.04287845268845558, -0.01205264963209629, 0.011954578571021557, -0.01097988523542881, -0.017929386347532272, -0.005916092544794083, -0.06374770402908325, -0.05270664021372795, 0.004358592443168163, -0.04677067697048187, -0.08245336264371872, -0.05660836026072502, 0.024070261046290398, -0.033594127744436264, -0.01065884344279766, -0.0087205795571208, -0.029930830001831055, -0.010896272026002407, 0.011638939380645752, -0.016046637669205666, 0.038730088621377945, -0.011389780789613724, 0.034604512155056, 0.030588699504733086, 0.041079893708229065, -0.015263435430824757, 0.008859582245349884, 0.0052722785621881485, 0.00934098195284605, -0.01916377618908882, -0.006660839077085257, 0.05159644037485123, 0.0018788103479892015, -0.02022736705839634, 0.04171055927872658, 0.053804099559783936, 0.031379155814647675, -0.01245474349707365, 0.0024691608268767595, -0.004045133013278246, 0.06831622123718262, -0.029891233891248703, 0.016226833686232567, 0.017228350043296814, -0.004699451383203268, 0.03473149985074997, -0.050697654485702515, 0.001766843255609274, -0.0042529720813035965, -0.007553189992904663, 0.02263633906841278, -0.022914981469511986, -0.04339200630784035, -0.0004213934298604727, -0.039900388568639755, -0.02277546003460884, -0.007311487104743719, 0.040891509503126144, -0.0008261410985141993, 0.032000582665205, 0.021653683856129646, 0.04838689789175987, 0.04056178778409958, -0.006714881397783756, -0.01391481701284647, -0.047206927090883255, 5.9329841074870354e-33, 0.02108876034617424, -0.004729176871478558, 0.005817920435220003, 0.0033656067680567503, 0.02746022865176201, 0.020104965195059776, -0.0143097760155797, 0.0032130912877619267, -0.078482985496521, 0.01442806888371706, -0.0179295651614666, -0.01190365944057703, -0.017900381237268448, 0.012180184945464134, 0.05632685497403145, 0.01936931721866131, 0.03843008726835251, -0.05724172294139862, -0.02408631332218647, 0.04480062052607536, -0.01853873021900654, 0.021970244124531746, -0.004959938116371632, 0.026790155097842216, 0.03245524689555168, -0.009583238512277603, -0.040214765816926956, 0.031335845589637756, -0.028499141335487366, -0.014643363654613495, 0.0454198494553566, -0.022876976057887077, -0.026001419872045517, -0.012057770974934101, -0.03417403995990753, -0.005894356407225132, -0.017762094736099243, 0.043063368648290634, 0.03027314879000187, 0.015667298808693886, -0.0031923672650009394, -0.005279466509819031, -0.03787485510110855, 0.04083260893821716, 0.008664444088935852, 0.030025895684957504, -0.0012242994271218777, 0.035849858075380325, -0.000820291112177074, 0.01583021506667137, -0.022782206535339355, 0.02868012897670269, 0.002047835849225521, -0.003452304983511567, 0.016739308834075928, -0.030693141743540764, 0.021369077265262604, 0.056979481130838394, -0.03410036861896515, 0.04936181381344795, -0.014285285025835037, -0.003590028267353773, 0.00599563866853714, 0.023705169558525085, -0.058523401618003845, -0.03915517032146454, -0.006166723091155291, 0.014691426418721676, -0.024467192590236664, -0.01326863095164299, 0.03318053111433983, -0.0007910662097856402, -0.009242109023034573, 0.03736844286322594, 0.07679638266563416, -0.013496697880327702, -0.017616435885429382, 0.0071812523528933525, -0.07365074753761292, 0.006669165100902319, 0.014002809301018715, 0.026066450402140617, -0.006888320669531822, 0.01156263891607523, 0.015743069350719452, 0.018210966140031815, -0.02930021844804287, 0.015434573404490948, -0.01638180948793888, -0.007485225796699524, 0.020967286080121994, -0.02741314098238945, -0.04398328438401222, 0.045263949781656265, -0.007605330087244511, -1.1803450661318493e-8, -0.041127510368824005, -0.020890092477202415, -0.009753715246915817, -0.026340609416365623, 0.01865292340517044, 0.028261540457606316, -0.022774644196033478, 0.00763203389942646, -0.034877073019742966, 0.029677534475922585, 0.01540131401270628, -0.026200607419013977, 0.01033330149948597, 0.014358021318912506, 0.016287636011838913, -0.030402744188904762, 0.024663733318448067, 0.004011743236333132, 0.026062415912747383, 0.012130924500524998, 0.010500282049179077, 0.021106120198965073, -0.03206382319331169, 0.033946484327316284, -0.024955298751592636, -0.014424929395318031, 0.050351619720458984, -0.08458098024129868, -0.001353652449324727, -0.014976448379456997, 0.02033858932554722, -0.001317279296927154, -0.018987907096743584, -0.008328654803335667, -0.02895449660718441, -0.015963638201355934, 0.04160450026392937, 0.037286560982465744, 0.00729026086628437, 0.02058509737253189, -0.027325190603733063, 0.009437776170670986, -0.03486664965748787, -0.034956078976392746, -0.04811333492398262, 0.011909542605280876, -0.04491565749049187, -0.0012081582099199295, 0.02766851894557476, -0.039600543677806854, -0.00830142106860876, 0.013919017277657986, 0.02889607846736908, -0.005665844772011042, 0.02144099958240986, 0.00040396128315478563, 0.006002201233059168, -0.006661686580628157, -0.013777809217572212, -0.007834586314857006, 0.037913527339696884, -0.05093168094754219, -0.03357938677072525, -0.01703404262661934 ]
unix-find-xargs-zipinfo-and-the-caution-filename-not-matched-error
https://markhneedham.com/blog/2013/06/09/unix-find-xargs-zipinfo-and-the-caution-filename-not-matched-error
false
2013-06-09 14:02:27
neo4j/cypher 2.0: The CASE statement
[ "neo4j", "cypher" ]
[ "neo4j" ]
I've been playing around with how you might model Premier League managers tenures at different clubs in neo4j and eventually decided on the following model: image::{{<siteurl>}}/uploads/2013/06/managers-tiff.png[Managers tiff,530] The date modelling is https://speakerdeck.com/vpacher/cloudeast-how-shutl-uses-neo4j-to-delivery-even-faster?slide=62[based on an approach I first came across in a shutl presentation] and is described in more detail in the http://docs.neo4j.org/chunked/snapshot/cypher-cookbook-path-tree.html#cookbook-return-partly-shared-path-ranges[docs]. I created a dummy data set with some made up appointments and dismissals and then tried to write a query to show me who was the manager for a team on a specific date. ~~~cypher CREATE (year2013 { name: "2013" }) CREATE (january2013 { name: "January" }) CREATE (january012013 { name: "1st" }) CREATE (january022013 { name: "2nd" }) CREATE (january032013 { name: "3rd" }) CREATE (january042013 { name: "4th" }) CREATE (january052013 { name: "5th" }) CREATE (chelsea { name: "Chelsea", type: "team" }) CREATE (joseMourinho { name: "Jose Mourinho"}) CREATE (mourinhoChelsea { name: "Mourinho tenure at Chelsea" }) CREATE (manUtd { name: "Manchester United", type: "team" }) CREATE (davidMoyes { name: "David Moyes"}) CREATE (davidMoyesUnited { name: "Moyes tenure at Manchester United" }) CREATE (year2013)-[:`January`]-(january2013) CREATE (january2013)-[:`01`]-(january012013) CREATE (january2013)-[:`02`]-(january022013) CREATE (january2013)-[:`03`]-(january032013) CREATE (january2013)-[:`04`]-(january042013) CREATE (january2013)-[:`05`]-(january052013) CREATE (january012013)-[:NEXT]-(january022013) CREATE (january022013)-[:NEXT]-(january032013) CREATE (january032013)-[:NEXT]-(january042013) CREATE (january042013)-[:NEXT]-(january052013) CREATE (mourinhoChelsea)-[:HIRED_ON {date: "January 1st 2013"}]\->(january012013) CREATE (mourinhoChelsea)-[:MANAGER]\->(joseMourinho) CREATE (mourinhoChelsea)-[:TEAM]\->(chelsea) CREATE (mourinhoChelsea)-[:FIRED_ON]\->(january032013) CREATE (davidMoyesUnited)-[:HIRED_ON {date: "January 2nd 2013"}]\->(january022013) CREATE (davidMoyesUnited)-[:MANAGER]\->(davidMoyes) CREATE (davidMoyesUnited)-[:TEAM]\->(manUtd) ~~~ ~~~cypher START team = node:node_auto_index('name:"Chelsea" name:"Manchester United"'), date = node:node_auto_index(name="5th") MATCH date\<-[:NEXT*0..]-()\<-[hire:HIRED_ON]-tenure-[:MANAGER]\->manager, tenure-[:TEAM]\->team, tenure-[fired?:FIRED_ON]-dateFired RETURN team.name, manager.name, hire.date, dateFired ~~~ The query starts from January 5th, then gets all the previous dates and looks for a 'HIRED_ON' relationship and then follows that to get the manager and the team for which it applies to. We then traverse an optional 'FIRED_ON' relationship as well because we don't want to say a manager is currently at a club if they've been fired. It returns the following: ~~~text =\=> +----------------------------------------------------------------------------------+ =\=> | team.name | manager.name | hire.date | dateFired | =\=> +----------------------------------------------------------------------------------+ =\=> | "Manchester United" | "David Moyes" | "January 2nd 2013" | +++<null>+++| =\=> | "Chelsea" | "Jose Mourinho" | "January 1st 2013" | Node[5]{name:"3rd"} | =\=> +----------------------------------------------------------------------------------+ =\=> 2 rows ~~~ In this data set Jose Mourinho gets fired on the 3rd January so Chelsea shouldn't have a manager on the 5th January. One way to exclude him is to collect all the dates that our 'NEXT' relationship takes us to and then check if the 'dateFired' is in that collection. If it is then the manager has been fired and we shouldn't return them: ~~~cypher START team = node:node_auto_index('name:"Chelsea" name:"Manchester United"'), startDate = node:node_auto_index(name="5th") MATCH startDate\<-[:NEXT*0..]-day WITH team, startDate, COLLECT(day) AS dates MATCH startDate\<-[:NEXT*0..]-day\<-[hire:HIRED_ON]-tenure-[:MANAGER]\->manager, tenure-[:TEAM]\->team, tenure-[?:FIRED_ON]-dateFired WHERE dateFired IS NULL OR NOT dateFired IN dates RETURN team.name, manager.name, hire.date, dateFired ~~~ That returns the following: ~~~text =\=> +----------------------------------------------------------------------+ =\=> | team.name | manager.name | hire.date | dateFired | =\=> +----------------------------------------------------------------------+ =\=> | "Manchester United" | "David Moyes" | "January 2nd 2013" | +++<null>+++| =\=> +----------------------------------------------------------------------+ =\=> 1 row ~~~ Unfortunately we now don't get a row for Chelsea because the WHERE clause filters Mourinho out. I couldn't think how to get around this so https://github.com/wfreeman[Wes] http://stackoverflow.com/questions/17004814/neo4j-cypher-modelling-football-managers-hired-fired-dates/17008425#17008425[suggested using neo4j 2.0] and the http://docs.neo4j.org/chunked/milestone/cypher-expressions.html[CASE] statement which makes this very easy. I eventually ended up with the following query which does the job: ~~~cypher START team = node:node_auto_index('name:"Chelsea" name:"Manchester United"'), startDate = node:node_auto_index(name="2nd") MATCH startDate\<-[:NEXT*0..]-day WITH team, startDate, COLLECT(day) AS dates MATCH startDate\<-[:NEXT*0..]-day\<-[hire:HIRED_ON]-tenure-[:MANAGER]\->manager, tenure-[:TEAM]\->team, tenure-[?:FIRED_ON]\->dateFired RETURN team.name, CASE WHEN dateFired is null THEN manager.name WHEN dateFired IN dates THEN null ELSE manager.name END as managerName, CASE WHEN dateFired is null THEN hire.date WHEN dateFired IN dates THEN null ELSE hire.date END as hireDate ~~~ Here we've introduced the CASE statement which works pretty similarly to how the http://msdn.microsoft.com/en-us/library/ms181765.aspx[SQL CASE statement] works so it should be somehow familiar. That query returns the following: ~~~text =\=> +----------------------------------------------------------+ =\=> | team.name | managerName | hireDate | =\=> +----------------------------------------------------------+ =\=> | "Manchester United" | "David Moyes" | "January 2nd 2013" | =\=> | "Chelsea" | +++<null>+++| +++<null>+++| =\=> +----------------------------------------------------------+ =\=> 2 rows ~~~ which is exactly what we want. Now I need to import http://en.wikipedia.org/wiki/List_of_Premier_League_managers[a real data set] to see what it looks like!+++</null>++++++</null>++++++</null>++++++</null>+++
null
null
[ -0.0019840493332594633, -0.008762255311012268, -0.015513733960688114, 0.020935237407684326, 0.07928354293107986, -0.016806207597255707, 0.036363475024700165, 0.03324608504772186, 0.020648567005991936, -0.013786463998258114, -0.003509135916829109, 0.015118780545890331, -0.05500821769237518, 0.031655844300985336, -0.002382925944402814, 0.0503188818693161, 0.034529026597738266, 0.03689739480614662, 0.007416020147502422, -0.0199921652674675, 0.03885482996702194, 0.06339631974697113, 0.008018462918698788, 0.03450271114706993, 0.052772700786590576, -0.0019508360419422388, 0.020340852439403534, -0.01851850375533104, -0.05682696774601936, -0.005328423343598843, 0.03356235474348068, -0.026122473180294037, 0.019404375925660133, -0.011792733334004879, 0.035571761429309845, -0.018033554777503014, -0.05438688397407532, -0.006188047584146261, -0.01002519205212593, -0.010083140805363655, -0.06795598566532135, 0.04056978225708008, -0.0067941551096737385, -0.0041486164554953575, -0.058969493955373764, 0.01649491675198078, -0.046301309019327164, 0.041865088045597076, 0.008911591954529285, -0.0008921529515646398, -0.07676802575588226, 0.03282066062092781, -0.014197067357599735, 0.001159724430181086, -0.009382117539644241, 0.03429018706083298, 0.0209520161151886, -0.05738095939159393, 0.009554597549140453, -0.03169988468289375, 0.007425911724567413, -0.026194052770733833, 0.007838220335543156, 0.0008886415744200349, 0.009826185181736946, -0.045355942100286484, -0.007255667354911566, 0.045212674885988235, -0.0452386848628521, -0.0066299717873334885, -0.012894751504063606, -0.012075042352080345, -0.0013659773394465446, 0.004711715970188379, 0.012924614362418652, -0.0643991082906723, 0.018858125433325768, 0.07395214587450027, 0.02872536890208721, 0.055733222514390945, -0.03218836337327957, 0.014302557334303856, 0.012039115652441978, 0.027034351602196693, -0.032879289239645004, -0.025224002078175545, -0.03592122346162796, -0.03945630043745041, -0.049464378505945206, 0.056845635175704956, 0.01901816390454769, -0.06133490055799484, 0.013443570584058762, 0.023306403309106827, -0.024197988212108612, -0.00008206484926631674, 0.027594897896051407, 0.02654559724032879, 0.0017833589809015393, -0.03291838988661766, -0.022669967263936996, -0.026230964809656143, -0.004303629044443369, 0.005019327159970999, -0.08579685539007187, -0.02214561216533184, -0.03443165868520737, 0.0031383438035845757, -0.002560730092227459, -0.027966216206550598, -0.02825518697500229, 0.023129506036639214, -0.023513589054346085, 0.031805891543626785, -0.07277319580316544, 0.07060332596302032, 0.021797897294163704, -0.01804555021226406, -0.006572532933205366, 0.023791402578353882, 0.02406284213066101, 0.008475528098642826, -0.00486627034842968, 0.07697945833206177, -0.012959016487002373, 0.027141228318214417, -0.015743933618068695, 0.05327318608760834, -0.041992951184511185, -0.0784476175904274, -0.015839004889130592, 0.06646846979856491, -0.020116489380598068, 0.012761072255671024, -0.01308360043913126, -0.059069838374853134, -0.01702195219695568, 0.01679445244371891, 0.07552026957273483, 0.04039517790079117, -0.0010766411432996392, -0.01712910644710064, 0.026752907782793045, 0.021299099549651146, 0.030817532911896706, -0.0022640256211161613, -0.020206471905112267, -0.02981489896774292, -0.008773818612098694, 0.001860371557995677, 0.03730155527591705, 0.009009822271764278, 0.05186159163713455, -0.02907693013548851, 0.029483523219823837, 0.1013539656996727, 0.05835031345486641, -0.015424164943397045, -0.010848581790924072, 0.015140470117330551, 0.043103575706481934, 0.01203932799398899, 0.011750353500247002, 0.05167793855071068, 0.006146496627479792, -0.024146977812051773, 0.0013300772989168763, 0.058000288903713226, -0.005672809202224016, -0.0018763085827231407, -0.045763641595840454, -0.06234904006123543, 0.06614497303962708, -0.03145551681518555, -0.020187510177493095, 0.09563235938549042, 0.062410660088062286, 0.013300823979079723, 0.04165401682257652, 0.007044991943985224, -0.0747188925743103, 0.0551019161939621, 0.035057663917541504, 0.008112476207315922, 0.04451454430818558, -0.014865773729979992, 0.08878271281719208, 0.033081863075494766, 0.01837257482111454, 0.03368319943547249, -0.07990001887083054, -0.056362275034189224, -0.0007896246388554573, -0.023471040651202202, 0.04028330743312836, -0.019296795129776, 0.019791673868894577, 0.06102217361330986, 0.001982307294383645, 0.05133907124400139, 0.016531212255358696, 0.0011524332221597433, 0.024548422545194626, -0.03101985901594162, -0.04626360535621643, 0.03769738972187042, 0.02564377337694168, -0.031109152361750603, -0.020460395142436028, 0.044031862169504166, -0.024654418230056763, -0.006041399668902159, 0.03475293144583702, -0.02443798817694187, 0.030806424096226692, 0.008973675779998302, 0.04806874319911003, -0.026275312528014183, 0.029907314106822014, -0.06201329827308655, 0.057067226618528366, 0.05219268053770065, -0.01961860992014408, 0.001114411628805101, 0.009080387651920319, 0.10578121989965439, 0.04425764083862305, -0.03254124894738197, -0.0487678125500679, 0.01345991063863039, 0.03415708243846893, -0.004740911070257425, 0.010156522504985332, 0.0015180197078734636, 0.03756071627140045, -0.03208056837320328, -0.05453759804368019, -0.032367266714572906, 0.006238996982574463, -0.04069378226995468, 0.02602558024227619, 0.0504540354013443, -0.009993455372750759, 0.044312819838523865, -0.0050977673381567, -0.005825283471494913, -0.028539879247546196, -0.02471119537949562, -0.05418169125914574, 0.040708549320697784, 0.018177786841988564, -0.00965773593634367, 0.050540219992399216, -0.011489787138998508, -0.027072200551629066, -0.02513940818607807, -0.03395083546638489, 0.05887176841497421, 0.041468244045972824, 0.08883118629455566, -0.0014030867023393512, 0.050147607922554016, -0.037104472517967224, 0.016801677644252777, -0.02501537650823593, -0.04792344197630882, -0.054041892290115356, -0.04765608161687851, 0.005110714118927717, -0.010745958425104618, 0.014632084406912327, -0.031037388369441032, 0.010135659947991371, 0.016797512769699097, 0.02942168153822422, 0.011240842752158642, 0.020452318713068962, 0.004186341073364019, -0.011057392694056034, -0.03986191004514694, -0.04127594083547592, 0.028010720387101173, -0.03720554709434509, -0.03492175415158272, -0.005992215126752853, -0.07739874720573425, 0.025774305686354637, -0.07089603692293167, -0.0031915486324578524, -0.0051942854188382626, 0.009312869049608707, 0.029589977115392685, 0.022546764463186264, 0.022465772926807404, 0.027893520891666412, 0.007112935185432434, 0.028719959780573845, 0.01709407940506935, -0.0021398458629846573, 0.04855470359325409, -0.0008443071274086833, 0.02988051250576973, 0.05396711081266403, -0.059178438037633896, 0.038083892315626144, -0.04086839780211449, 0.02723071351647377, -0.02006438747048378, -0.281791627407074, 0.049686770886182785, -0.019443346187472343, -0.04840826988220215, 0.03149951249361038, -0.02488929033279419, 0.009576252661645412, -0.03231073543429375, -0.02520742453634739, 0.005529450718313456, -0.023741507902741432, -0.03618158772587776, -0.020108696073293686, 0.03400275856256485, 0.037028633058071136, 0.029253318905830383, -0.005950686521828175, -0.05636522173881531, -0.01593218371272087, 0.053160302340984344, -0.002478055888786912, -0.04849369451403618, -0.03200232982635498, 0.03446873277425766, 0.014465977437794209, 0.05793028697371483, -0.0668073445558548, -0.021644864231348038, -0.08283594250679016, -0.018118632957339287, 0.013251133263111115, -0.017859719693660736, 0.01434202492237091, 0.005308523774147034, -0.03524070605635643, -0.03357130289077759, 0.0401613749563694, 0.011723891831934452, 0.0003776805242523551, -0.018161702901124954, -0.023830194026231766, -0.03677624464035034, -0.019791379570961, -0.008572708815336227, 0.08486807346343994, 0.027220623567700386, -0.08478472381830215, -0.0108363451436162, -0.02882164902985096, 0.061822615563869476, -0.033770352602005005, -0.022356489673256874, 0.007780170068144798, 0.02741917222738266, -0.008786923252046108, -0.010282611474394798, 0.009197084233164787, -0.0032089955639094114, -0.04721194505691528, -0.024708256125450134, -0.015567253343760967, -0.04292343929409981, 0.007638812996447086, -0.04588435962796211, -0.018536223098635674, -0.06073843687772751, -0.061324551701545715, -0.031595829874277115, 0.047301989048719406, 0.003932600375264883, -0.02686675824224949, 0.006859703455120325, -0.021522458642721176, -0.08926542103290558, -0.027271147817373276, -0.025690125301480293, -0.0003166571259498596, -0.002526509342715144, 0.010264512151479721, 0.033194608986377716, -0.04205271601676941, -0.05706208571791649, 0.006959431804716587, 0.02555610053241253, 0.01584797538816929, 0.020524675026535988, 0.041465092450380325, 0.0007234750664792955, -0.025236044079065323, -0.008553377352654934, 0.05257171764969826, -0.007481748703867197, -0.024585705250501633, 0.023301050066947937, 0.008690317161381245, 0.00006711054447805509, -0.028105249628424644, 0.0040037985891103745, 0.0035492153838276863, 0.04702570289373398, 0.022228773683309555, -0.044551897794008255, -0.006939796265214682, -0.0031681670807302, -0.01862303540110588, -0.0011771430727094412, -0.046731628477573395, -0.0021020525600761175, 0.01862114481627941, 0.02933255396783352, 0.030731407925486565, -0.013205140829086304, 0.000889020215254277, -0.031026571989059448, -0.04971608519554138, -0.01458111684769392, 0.03299082815647125, 0.03507480397820473, 0.02170233428478241, -0.011579013429582119, -0.08817341923713684, 0.028752274811267853, -0.01006992720067501, 0.0020101256668567657, -0.06441685557365417, -0.009960961528122425, -0.01971239410340786, -0.0015786932781338692, 0.011000264436006546, -0.002904016524553299, -0.0399896502494812, 0.020629599690437317, 0.017948918044567108, -0.03533792123198509, 0.04443348944187164, 0.007716102991253138, -0.03792853653430939, -0.06801597028970718, -0.0017288243398070335, -0.015114433132112026, -0.01088318508118391, 0.013131948187947273, 0.01941303163766861, 0.030266480520367622, 0.03626148775219917, -0.0025403329636901617, 0.010673366487026215, -0.00672366376966238, 0.018766975030303, 0.03483262285590172, 0.013919893652200699, -0.030067309737205505, 0.012105002999305725, -0.06421355158090591, -0.002221327042207122, -0.004829643294215202, 0.03852343186736107, -0.024865055456757545, -0.017754802480340004, -0.02910553477704525, 0.024240905418992043, -0.031064361333847046, -0.0116898063570261, -0.010213695466518402, 0.024482347071170807, 0.07541488111019135, -0.00042561686132103205, -0.003927135374397039, 0.0018233910668641329, -0.003454584861174226, -0.0015570776304230094, -0.013357048854231834, -0.05778084695339203, -0.025295166298747063, -0.007882040925323963, 0.0009524388588033617, 0.00432651536539197, 0.043487656861543655, 0.024705182760953903, 0.013798906467854977, -0.007994797080755234, -0.0041921185329556465, 0.010768362320959568, 0.015156026929616928, 0.046240292489528656, 0.042602796107530594, -0.019103918224573135, -0.009223139844834805, -0.016109632328152657, -0.022001851350069046, -0.001041525974869728, 0.013527621515095234, -0.04145537316799164, -0.011501839384436607, -0.05166742578148842, -0.053617727011442184, 0.0511871799826622, 0.002294301288202405, 0.018429048359394073, 0.017216559499502182, -0.0022971087601035833, -0.01904134452342987, -0.027795594185590744, 0.02647588774561882, 0.05489001050591469, -0.06767147779464722, -0.028417879715561867, -0.003599154530093074, -0.028264036402106285, -0.0016669577453285456, 0.0022039413452148438, -0.032163865864276886, -0.0320308655500412, -0.028851905837655067, 0.020834242925047874, -0.05939716473221779, -0.035022057592868805, -0.023146411404013634, -0.0012212111614644527, 0.00921133067458868, 0.034405600279569626, -0.0029590704943984747, 0.0128544382750988, -0.007211131975054741, -0.0005733290454372764, 0.027221208438277245, -0.021585581824183464, 0.026887036859989166, -0.0027752150781452656, -0.031292624771595, 0.02427583374083042, -0.036760326474905014, 0.01624995283782482, 0.02406594157218933, -0.020739056169986725, 0.00872849952429533, -0.0400163009762764, 0.005860909353941679, 0.024493105709552765, 0.02576540969312191, -0.0016410419484600425, 0.00011941682896576822, -0.04037080332636833, -0.014210444875061512, -0.017668774351477623, 0.002792402869090438, 0.012760446406900883, 0.00669217761605978, 0.012361281551420689, 0.04042995348572731, 0.01688465289771557, 0.04127432778477669, -0.01319231279194355, -0.007412177976220846, 0.05190368741750717, -0.043221376836299896, -0.007274450268596411, -0.009328801184892654, -0.04249282553792, 0.009481155313551426, 0.004172278102487326, 0.017594320699572563, -0.038867413997650146, 0.040845807641744614, 0.054418545216321945, 0.0282593946903944, 0.050889573991298676, 0.005919692572206259, 0.04147079586982727, -0.03254646435379982, -0.004765392281115055, -0.08272676914930344, 0.0003660772927105427, 0.050377365201711655, 0.022317014634609222, -0.0026957944501191378, 0.012284094467759132, -0.014883577823638916, 0.022534126415848732, -0.053333330899477005, -0.04451744630932808, 0.018094846978783607, -0.046922121196985245, 0.006714983843266964, 0.03575211390852928, -0.0621393620967865, 0.00042868786840699613, 0.026452595368027687, -0.038346197456121445, -0.024311276152729988, -0.0217570997774601, 0.057793259620666504, -0.05411865562200546, 0.044031716883182526, -0.03917473927140236, -0.02636476792395115, 0.0724407210946083, 0.035794876515865326, 0.03670521080493927, 0.030120063573122025, -0.0022763661108911037, 0.024187441915273666, 0.021751059219241142, 0.028640536591410637, 0.008529533632099628, 0.04463708773255348, -0.03455665707588196, -0.062184982001781464, 0.016988271847367287, -0.005975543521344662, -0.020442701876163483, -0.037915684282779694, 0.07141271978616714, 0.008801748976111412, -0.03902585059404373, -0.038513269275426865, 0.014368460513651371, -0.02398376166820526, -0.017506172880530357, -0.036841489374637604, 0.0197076927870512, -0.05226178839802742, 0.05009705200791359, -0.004329356364905834, 0.014589245431125164, 0.06199150159955025, -0.012598296627402306, -0.010408408008515835, 0.008936487138271332, 0.09755398333072662, 0.08636569231748581, 0.058428630232810974, -0.014085979200899601, 0.0889025330543518, 0.00827266275882721, -0.052162349224090576, -0.0028947012033313513, -0.0025106852408498526, 0.006006885785609484, 0.018587667495012283, 0.006618385668843985, 0.08784220367670059, -0.03399094194173813, 0.04584077000617981, -0.0026393109001219273, -0.027899708598852158, -0.0030650922562927008, -0.017753448337316513, 0.03415312245488167, 0.07016187906265259, 0.03151554986834526, 0.018918145447969437, -0.04005531221628189, -0.03287917375564575, 0.02573252283036709, -0.017397895455360413, -0.0175740048289299, 0.048539284616708755, -0.04524628818035126, 0.008721381425857544, -0.02622528001666069, 0.04477659612894058, 0.08083616197109222, -0.029131364077329636, -0.010084770619869232, 0.00029960015672259033, -0.0083870654925704, 0.015046877786517143, 0.015745144337415695, -0.005387103650718927, -0.0071558039635419846, -0.0222458653151989, -0.0362209714949131, -0.0348079651594162, 0.0003405823081266135, -0.05730276554822922, 0.011314384639263153, 0.0011459153611212969, -0.016344977542757988, 0.0076658716425299644, -0.01860896684229374, -0.02113346755504608, -0.032436735928058624, -0.04180651158094406, -0.06941386312246323, -0.06707857549190521, -0.019327953457832336, 0.04054412245750427, 0.013321995735168457, -0.027863245457410812, 0.012222330085933208, 0.013789102435112, -0.030566388741135597, 0.05759422853589058, -0.05525600165128708, 0.012862821109592915, 0.016034811735153198, 0.027111927047371864, 0.024922337383031845, 0.009786497801542282, 0.048733923584222794, 0.005607459228485823, -0.004108162596821785, -0.02241467870771885, 0.008435813710093498, 0.03005785308778286, 0.021117722615599632, -0.0018807115266099572, -0.08983854204416275, -0.0061420598067343235, 0.037743669003248215, -0.06359026581048965, -0.08140810579061508, 0.02967396378517151, 0.03295677900314331, 0.007721384055912495, 0.02880186401307583, -0.013579798862338066, -0.001330857863649726, -0.02070402167737484, 0.0332244336605072, -0.003593167057260871, -0.016179535537958145, 0.02690873108804226, -0.024233795702457428, 0.08710213750600815, 0.045449551194906235, -0.027719151228666306, -0.03233175352215767, -0.009982863441109657, -0.015402288176119328, 0.010031107813119888, -0.061579056084156036, -0.027298569679260254, -0.055700354278087616, -0.08803725987672806, -0.030431324616074562, 0.032372619956731796, -0.042922765016555786, -0.03384223207831383, 0.0008558365516364574, 0.00014269047824200243, -0.0007484597153961658, 0.01633487269282341, -0.05788704752922058, 0.02725854702293873, -0.004979952238500118, -0.0006752140470780432, -0.036431290209293365, 0.011183067224919796, 0.014632593840360641, 0.02439209260046482, -0.011529932729899883, -0.04681362956762314, 0.00009498500730842352, -0.03858012333512306, -0.01960662379860878, 0.00523607712239027, 0.033611807972192764, 0.03480980545282364 ]
[ -0.03970334678888321, 0.010979102924466133, -0.019323769956827164, -0.02312653139233589, 0.07499170303344727, -0.015513484366238117, 0.0016043842770159245, 0.0008954270160757005, 0.060611262917518616, -0.015385689213871956, 0.0208277590572834, -0.05616411939263344, -0.02302807755768299, -0.0031586249824613333, 0.06119243800640106, -0.020169910043478012, -0.06317334622144699, -0.06780952960252762, -0.029522594064474106, 0.03074362687766552, -0.00659910636022687, -0.029291804879903793, -0.034418996423482895, -0.019709426909685135, 0.02074938267469406, 0.02158230170607567, 0.04771317169070244, -0.005976138636469841, -0.03887456655502319, -0.21239353716373444, -0.0012093171244487166, 0.007163735572248697, 0.017953770235180855, -0.007373331114649773, 0.03401758894324303, 0.025621136650443077, 0.021447625011205673, 0.0036535446997731924, 0.04915976524353027, 0.03579948469996452, 0.01676592044532299, -0.009118900634348392, -0.03626104071736336, -0.03920257091522217, 0.047749727964401245, 0.0073535447008907795, -0.004812073893845081, 0.0022080668713897467, -0.03747927024960518, 0.0431789830327034, -0.01836770959198475, -0.001321384683251381, -0.012105746194720268, 0.0020119112450629473, -0.007916849106550217, 0.09067219495773315, 0.04394719749689102, 0.05411149188876152, 0.021725356578826904, 0.062894806265831, 0.025750236585736275, 0.014802440069615841, -0.17079868912696838, 0.06577514857053757, -0.017230037599802017, -0.012646675109863281, -0.04834717512130737, -0.006918658036738634, -0.030988968908786774, 0.08757349848747253, 0.019877715036273003, -0.05479161813855171, -0.025076288729906082, 0.03086535818874836, 0.012718469835817814, 0.002148711821064353, -0.01083748135715723, 0.017893170937895775, 0.014926896430552006, -0.011712062172591686, -0.030786637216806412, 0.02092312090098858, -0.05506821721792221, -0.04436217248439789, -0.05902007222175598, 0.039562076330184937, -0.02928844280540943, 0.029350345954298973, -0.017344895750284195, 0.0430024154484272, 0.048221249133348465, 0.038067735731601715, 0.033491674810647964, 0.02325510047376156, -0.12099795043468475, -0.030724894255399704, 0.01230676006525755, 0.022489573806524277, -0.020432008430361748, 0.4182838499546051, 0.015180526301264763, -0.0012239055940881371, 0.024763373658061028, 0.054226670414209366, -0.007528850808739662, -0.005865756422281265, 0.014328708872199059, -0.048844385892152786, 0.024110844358801842, -0.002178675727918744, -0.0339769683778286, -0.006499984301626682, 0.03157220780849457, -0.09177260845899582, 0.0150928208604455, 0.03301149234175682, 0.04916061833500862, 0.0026387334801256657, -0.03186576068401337, 0.00214214064180851, 0.013509253039956093, 0.022884465754032135, 0.015551355667412281, 0.02525152452290058, -0.028770359233021736, 0.05806632712483406, 0.02399612031877041, 0.054657578468322754, 0.029325516894459724, -0.0010200425749644637, 0.03777839243412018, -0.012119834311306477, -0.08726902306079865, 0.015169450081884861, 0.010628542862832546, 0.002301406115293503, 0.015643304213881493, -0.047039009630680084, -0.011052429676055908, 0.044358283281326294, -0.023138171061873436, -0.06324238330125809, 0.030570177361369133, -0.0005396166234277189, -0.03730266913771629, 0.14364118874073029, -0.0061497255228459835, -0.046689312905073166, -0.032379552721977234, -0.005550517700612545, -0.021937279030680656, 0.043904859572649, 0.03840016946196556, -0.0809386745095253, -0.011350375600159168, -0.004479371942579746, 0.06048394367098808, -0.025962771847844124, -0.07301544398069382, 0.001042900956235826, -0.02739204838871956, -0.04868505150079727, -0.043009448796510696, 0.07265396416187286, 0.026228727772831917, -0.145193949341774, -0.0021955547854304314, -0.0072184968739748, 0.009223030880093575, -0.07216526567935944, 0.004438553471118212, 0.0020244379993528128, -0.031496863812208176, 0.017108727246522903, 0.0629519373178482, 0.01646309345960617, -0.014827555045485497, -0.024418946355581284, 0.04961589351296425, -0.009733281098306179, 0.00039647071389481425, -0.01851089857518673, -0.047827526926994324, 0.006494095083326101, -0.05980689078569412, -0.0302434042096138, -0.054392483085393906, -0.01052219606935978, -0.040225714445114136, -0.024084148928523064, -0.03746477887034416, 0.009625057689845562, -0.044787611812353134, 0.07531721144914627, -0.032610367983579636, -0.0034255129285156727, -0.026239002123475075, -0.00021475179528351873, -0.020756686106324196, -0.04334017634391785, -0.034142255783081055, 0.021517788991332054, -0.015457279048860073, -0.012438079342246056, -0.05116486921906471, 0.029800279065966606, 0.048077210783958435, 0.0035015051253139973, 0.09271501749753952, 0.028384171426296234, -0.055961061269044876, -0.015398112125694752, -0.010723787359893322, -0.0033078971318900585, 0.003093627979978919, 0.031366512179374695, -0.007655158173292875, -0.0012029607314616442, 0.02353518083691597, 0.033017851412296295, -0.004829900339245796, 0.046966660767793655, -0.000020258306903997436, -0.3457895517349243, -0.015097537077963352, -0.052800145000219345, -0.0169182401150465, -0.00021631718846037984, -0.016151022166013718, 0.021130867302417755, -0.04522952437400818, 0.031562745571136475, 0.0392027348279953, 0.052745070308446884, 0.0012261758092790842, -0.019465403631329536, -0.056545522063970566, -0.014247758314013481, 0.02843368984758854, -0.022947680205106735, 0.018153389915823936, -0.01953573152422905, 0.034137092530727386, 0.063368059694767, -0.026090102270245552, -0.04365590214729309, -0.04154474288225174, 0.0034325902815908194, -0.037937846034765244, 0.12789160013198853, 0.038985952734947205, 0.014892625622451305, -0.06577689200639725, 0.04152803495526314, -0.00573683949187398, 0.00893798191100359, -0.07935431599617004, 0.03386499732732773, -0.01870817318558693, 0.015493398532271385, -0.04050453379750252, -0.0010249551851302385, -0.05025925114750862, -0.006563801318407059, -0.0061914813704788685, -0.058118052780628204, -0.019707003608345985, -0.05470503866672516, 0.03819312900304794, -0.023952830582857132, -0.017577340826392174, -0.031139478087425232, 0.07270802557468414, 0.016777707263827324, 0.007326789665967226, 0.0529702790081501, -0.014657409861683846, 0.03176594898104668, -0.044606707990169525, -0.07154688984155655, -0.003929979167878628, -0.012006605975329876, 0.021174553781747818, 0.0033098231069743633, 0.018864445388317108, 0.02648768573999405, -0.07334412634372711, -0.0006591702695004642, -0.023710859939455986, -0.005247390363365412, 0.00026530923787504435, 0.002855028258636594, -0.02597666345536709, -0.02035139873623848, 0.05633905157446861, 0.003559960052371025, 0.024424534291028976, 0.05347801744937897, 0.02317243255674839, -0.020318161696195602, 0.015878550708293915, -0.006193641107529402, 0.018671495839953423, 0.03377627953886986, -0.04763896018266678, 0.08332481980323792, -0.00399583438411355, 0.01421402022242546, 0.04506858065724373, 0.03696267679333687, -0.0273579191416502, 0.06567803025245667, 0.003907457925379276, -0.033208511769771576, 0.01828264631330967, -0.04164024069905281, -0.028618086129426956, 0.05327526479959488, -0.03877011314034462, -0.23833313584327698, 0.049410708248615265, 0.03524155169725418, 0.052535783499479294, 0.037314243614673615, 0.009370067156851292, -0.029723340645432472, -0.024676820263266563, -0.03050469234585762, 0.036898527294397354, 0.023339232429862022, 0.033021312206983566, -0.0008716693264432251, 0.0013983234530314803, -0.010424409992992878, -0.0011063297279179096, 0.032096002250909805, 0.000643975508864969, 0.03615119680762291, 0.007633971516042948, 0.03229285031557083, -0.027699226513504982, 0.1791127473115921, 0.015420372597873211, 0.04800799489021301, 0.07687864452600479, -0.02310977876186371, -0.011590966954827309, 0.0255189947783947, 0.00364628410898149, 0.013618772849440575, 0.009601781144738197, 0.03890758380293846, 0.06629446893930435, 0.011562351137399673, -0.023706845939159393, -0.029953548684716225, 0.08041436970233917, 0.004303003661334515, -0.03420170024037361, 0.0007887274259701371, 0.0469651073217392, -0.03251935541629791, 0.024311497807502747, 0.06964463740587234, 0.010361140593886375, -0.009303740225732327, 0.00465816305950284, -0.07434094697237015, -0.014887067489326, -0.02953280135989189, -0.04217703267931938, -0.015969211235642433, 0.006058501545339823, 0.01435822993516922, 0.04656378924846649, 0.05118272081017494, -0.04739229381084442, 0.0326475091278553, -0.0053283460438251495, -0.02936321683228016, -0.022350162267684937, 0.08716823905706406, -0.02144247107207775, 0.03423762694001198 ]
[ 0.037290025502443314, 0.04969504475593567, -0.0018837017705664039, 0.038896191865205765, -0.01888168230652809, 0.02151666209101677, -0.04158065468072891, -0.014662664383649826, -0.00013502158981282264, -0.004197022877633572, -0.019375048577785492, 0.012049684301018715, 0.04504047706723213, -0.0039322818629443645, -0.007529132068157196, -0.0019706315360963345, -0.008828758262097836, 0.022789327427744865, 0.035232190042734146, -0.029532605782151222, -0.010414528660476208, -0.01455299835652113, -0.0075674201361835, -0.023785201832652092, -0.029920775443315506, 0.0014928701566532254, -0.0329752154648304, 0.03608791157603264, 0.02012214995920658, -0.11426705867052078, -0.034186262637376785, -0.028283534571528435, 0.00602651247754693, 0.011066903360188007, 0.007154744118452072, 0.0011977368267253041, 0.022520458325743675, 0.011990534141659737, 0.031006747856736183, 0.024885879829525948, 0.0376422218978405, -0.027957096695899963, -0.024619346484541893, -0.015648096799850464, 0.002806031843647361, 0.02093285694718361, -0.01868147775530815, -0.02644103579223156, -0.015802226960659027, 0.008250665850937366, -0.048031728714704514, -0.026874888688325882, 0.031104281544685364, 0.025291793048381805, 0.019007431343197823, 0.022476961836218834, -0.04407372325658798, -0.008746335282921791, -0.013716466724872589, -0.009596074931323528, 0.01285458728671074, 0.008994742296636105, -0.06000032275915146, -0.025037510320544243, -0.024718504399061203, -0.012989080511033535, -0.016583582386374474, 0.02378149703145027, 0.008780029602348804, 0.004470817744731903, -0.011923041194677353, 0.022976277396082878, -0.038725052028894424, -0.00705671077594161, -0.02391180582344532, 0.01598300412297249, 0.039285510778427124, -0.033514685928821564, 0.02016342431306839, -0.030009375885128975, -0.010705492459237576, 0.003393659135326743, -0.02872258983552456, -0.006980312056839466, -0.04764046519994736, -0.0076585193164646626, 0.021058082580566406, -0.011963923461735249, 0.010186070576310158, 0.028609804809093475, 0.0027753703761845827, 0.0031895870342850685, -0.006707984022796154, 0.020923973992466927, -0.09140422940254211, -0.004428036045283079, 0.0023877774365246296, 0.0036057094112038612, 0.01603841595351696, 0.8483393788337708, -0.00126153405290097, -0.001249943277798593, -0.0072357808239758015, -0.006660704500973225, -0.012605126015841961, 0.009270626120269299, 0.0050207143649458885, 0.004034859128296375, -0.02857520431280136, 0.009230047464370728, -0.026186741888523102, 0.024796131998300552, -0.013763690367341042, 0.019733108580112457, -0.002739169169217348, 0.0247819647192955, -0.0042433952912688255, -0.006611556280404329, -0.019315402954816818, -0.007566908840090036, 0.03311634436249733, 0.011443637311458588, -0.01432742178440094, 0.02852165699005127, -0.015932103618979454, -0.17581084370613098, -0.018623992800712585, -6.968848463872851e-33, 0.035646114498376846, 0.003485382068902254, 0.05615745857357979, 0.016368785873055458, 0.02149074710905552, 0.03430749475955963, 0.009438812732696533, -0.023118620738387108, -0.006881402339786291, -0.024662218987941742, -0.006215551868081093, -0.0010200969409197569, -0.007466847542673349, -0.04262376204133034, -0.0011162993032485247, -0.02457319013774395, 0.0042779999785125256, 0.019360331818461418, -0.01415878813713789, -0.0007820314494892955, 0.01452958956360817, 0.03579592704772949, -0.02370700053870678, 0.0215148888528347, 0.02261718176305294, 0.02862534485757351, -0.006794478744268417, -0.024929646402597427, 0.006804651115089655, -0.046615228056907654, -0.036906711757183075, -0.01866435818374157, 0.009117442183196545, -0.02491854503750801, -0.004801384173333645, -0.05842352658510208, -0.03229113668203354, -0.008867527358233929, -0.028509626165032387, -0.043623875826597214, -0.06093509867787361, -0.022084834054112434, -0.007147700991481543, -0.0069948709569871426, -0.05034908279776573, -0.0013268841430544853, -0.015436386689543724, 0.028526129201054573, -0.020961230620741844, 0.005916333291679621, 0.016219813376665115, 0.013518715277314186, -0.006731576751917601, -0.0011400310322642326, -0.016132721677422523, -0.003261326579377055, 0.0022002235054969788, 0.023700788617134094, 0.008741382509469986, -0.007205508183687925, 0.037166137248277664, -0.009786389768123627, -0.029671117663383484, 0.04555105045437813, 0.006572223734110594, 0.011156375519931316, -0.011035959236323833, -0.018575675785541534, -0.004168058279901743, 0.03130808100104332, -0.05754895880818367, 0.04771585389971733, 0.0005059771938249469, -0.01663215458393097, 0.03183688595890999, -0.06416818499565125, 0.02090652845799923, 0.025526681914925575, 0.013287611305713654, 0.03918617591261864, -0.009541187435388565, -0.013607362285256386, 0.02792748250067234, -0.025876859202980995, -0.0008697221055626869, -0.022203324362635612, 0.04593024402856827, 0.0339970737695694, 0.029383080080151558, 0.03877564147114754, 0.02235293760895729, 0.01671464741230011, -0.0077126771211624146, 0.017643695697188377, -0.007753645535558462, 6.467550816441025e-33, -0.007976367138326168, -0.0019983339589089155, -0.01231424417346716, -0.0023347146343439817, 0.029850881546735764, -0.0032033249735832214, 0.010616317391395569, -0.006173215806484222, -0.04815804585814476, 0.03189966082572937, -0.006170364562422037, -0.012528417631983757, -0.022511865943670273, 0.028917474672198296, 0.06176747754216194, -0.029382679611444473, 0.053376778960227966, -0.06710440665483475, -0.020974084734916687, 0.04039617255330086, -0.0023232540115714073, 0.016028249636292458, 0.0001337616122327745, 0.03901026025414467, 0.0029646134935319424, 0.030416851863265038, 0.023773714900016785, 0.01133898925036192, -0.026400696486234665, 0.013997094705700874, 0.007257549557834864, -0.06848113983869553, 0.003818589262664318, -0.012132856994867325, 0.008081596344709396, 0.016441358253359795, -0.03448498621582985, 0.007630176842212677, 0.008048990741372108, 0.045185595750808716, 0.011522822082042694, -0.0033264770172536373, -0.014336691237986088, 0.05486949533224106, 0.011517149396240711, 0.015471233986318111, -0.02061118371784687, -0.016350964084267616, 0.017150819301605225, 0.01971779391169548, -0.00040140916826203465, 0.01282968744635582, -0.04818293824791908, 0.019238494336605072, 0.02356814220547676, -0.04430071637034416, -0.007295545656234026, -0.0009243891690857708, 0.004806465934962034, -0.011239809915423393, -0.029411181807518005, -0.015432916581630707, -0.027301693335175514, 0.01729622296988964, 0.002538959728553891, -0.02348528616130352, -0.034051768481731415, -0.02943309210240841, 0.0018971791723743081, -0.002553199417889118, -0.005552385002374649, -0.0020467746071517467, 0.008489590138196945, 0.04374617338180542, 0.001980607630684972, -0.032461442053318024, -0.027333255857229233, -0.007859643548727036, -0.02940189465880394, 0.01590755023062229, -0.011129328049719334, 0.002884365851059556, 0.028008338063955307, 0.0035501946695148945, -0.015897564589977264, 0.01983029954135418, 0.0074432725086808205, 0.04414290562272072, -0.0147012984380126, -0.0009746801224537194, 0.03610368072986603, -0.04825155809521675, -0.011409062892198563, 0.060934003442525864, -0.021151751279830933, -1.2855879027995343e-8, -0.0423162505030632, 0.013744814321398735, 0.0033578097354620695, -0.008568479679524899, 0.0010909494012594223, -0.016581973060965538, 0.0013889899710193276, -0.01826026849448681, 0.02571149542927742, 0.021659841760993004, 0.03255196660757065, -0.017230741679668427, 0.01158047839999199, 0.012381089851260185, 0.029245855286717415, -0.021244270727038383, -0.028248785063624382, -0.002280566841363907, 0.02745428867638111, -0.0036761127412319183, -0.009537992998957634, 0.038945212960243225, -0.06110186129808426, 0.028943786397576332, 0.03043239191174507, 0.01508084125816822, 0.009794940240681171, -0.07559458166360855, -0.00609738240018487, -0.021332422271370888, 0.031193114817142487, -0.013351629488170147, 0.008612998761236668, 0.018748490139842033, -0.04215795174241066, 0.007018080912530422, 0.02945704013109207, 0.00991894956678152, 0.018236396834254265, 0.022165123373270035, -0.010722832754254341, 0.008031738921999931, -0.030127527192234993, -0.02075831964612007, -0.01828194223344326, 0.002337467158213258, -0.018637128174304962, -0.013491681776940823, 0.038429275155067444, -0.022248081862926483, -0.01301596686244011, 0.0041258493438363075, 0.024994857609272003, 0.023891599848866463, 0.031410232186317444, -0.0014363410882651806, 0.007476514205336571, -0.009574547410011292, -0.015492974780499935, -0.023312542587518692, 0.017192907631397247, -0.015818553045392036, -0.015546280890703201, 0.003542152000591159 ]
neo4jcypher-2-0-the-case-statement
https://markhneedham.com/blog/2013/06/09/neo4jcypher-2-0-the-case-statement
false
2013-06-30 13:13:14
Vagrant: Multi (virtual) machine with Puppet roles
[ "vagrant" ]
[ "Software Development" ]
I've been playing around with setting up a http://docs.neo4j.org/chunked/stable/ha-haproxy.html[neo4j cluster] using Vagrant and HAProxy and one thing I wanted to do was define two different roles for the HAProxy and neo4j machines. When I was working at http://www.uswitch.com/[uSwitch] http://junctionbox.ca/[Nathan] had solved a similar problem, but with AWS VMs, by defining the role in an environment variable in the VM's spin up script. In retrospect I think I might have been able to do that by using the http://docs.vagrantup.com/v2/provisioning/shell.html[shell provisioner] and calling that before the http://docs.vagrantup.com/v2/provisioning/puppet_apply.html[puppet provisioner] but Nathan, https://twitter.com/garethr[Gareth Rushgrove] and https://twitter.com/russbuelt[Gregor Russbuelt] suggested that using http://puppetlabs.com/puppet/related-projects/facter/[facter] might be better. When I initially looked at the 'Custom Facts' section of http://docs.vagrantup.com/v2/provisioning/puppet_apply.html[the docs] I thought it was only possible to set facts for the Vagrant file as a whole but you can actually do it on a per VM basis which is neat. I added a method called 'provision_as_role' to the 'Vagrant::Config::V2::Root' class: [source,ruby] ---- module Vagrant module Config module V2 class Root def provision_as_role(role) vm.provision :puppet do |puppet| puppet.manifests_path = "puppet/manifests" puppet.module_path = "puppet/modules" puppet.manifest_file = "base.pp" puppet.facter = { "role" => role.to_s } end end end end end end ---- and then passed in a role depending on the VM in my Vagrantfile: [source,ruby] ---- require File.join(File.dirname(__FILE__), 'lib', 'root.rb') Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.define :neo01 do |neo| neo.vm.hostname = "neo01" neo.vm.network :private_network, ip: "192.168.33.101" neo.provision_as_role :neo end config.vm.define :lb01 do |lb| lb.vm.hostname = "lb01" lb.vm.network :private_network, ip: "192.168.33.104" lb.provision_as_role :lb end end ---- We can now access the variable '$role' in our puppet code which I used like so: +++<cite>+++puppet/base.pp+++</cite>+++ [source,puppet] ---- class all_the_things { exec { 'apt-get update': command => '/usr/bin/apt-get update'; } package { 'curl': ensure => '7.22.0-3ubuntu4', } class { 'apt': } } node default { class { 'all_the_things': } class { $role: require => Class['all_the_things'] } } ---- The 'neo' and 'lb' classes look like this: [source,puppet] ---- class neo { class { 'java': version => '7u25-0~webupd8~1', } class { 'neo4j': require => Class['java'], } } ---- [source,puppet] ---- class lb { class { 'haproxy': } } ---- The full code is on https://github.com/mneedham/haproxy-neo4j[github] but it's behaving a bit weirdly in some scenarios so I'm still trying to get it properly working.
null
null
[ 0.03427322208881378, -0.026289429515600204, -0.012447396293282509, 0.03266555815935135, 0.09827978163957596, 0.0034162120427936316, 0.021245403215289116, -0.010556039400398731, 0.02047555334866047, -0.021442318335175514, -0.02502843737602234, 0.013319872319698334, -0.0490058995783329, 0.033888619393110275, -0.004831661004573107, 0.05340395122766495, 0.08203823119401932, 0.011520867235958576, -0.014072218909859657, -0.021189071238040924, 0.03311989828944206, 0.05322583392262459, 0.02497098222374916, 0.03608274087309837, -0.000264430302195251, 0.029299912974238396, 0.021281160414218903, -0.027008146047592163, -0.04409588873386383, 0.0035379130858927965, 0.009917061775922775, -0.00830044411122799, 0.02382661961019039, -0.004226649645715952, 0.012565283104777336, -0.026063688099384308, 0.00018805620493367314, -0.014490092173218727, -0.023780353367328644, -0.021392326802015305, -0.06310445070266724, 0.04071827977895737, -0.00012240294017829, 0.024356024339795113, -0.03153904154896736, -0.010824074037373066, -0.018627803772687912, 0.04976509511470795, 0.011994665488600731, -0.007357604801654816, -0.09896340221166611, 0.022367246448993683, -0.017347009852528572, -0.02576305903494358, -0.004259368404746056, 0.01147620938718319, 0.035864900797605515, -0.0864887610077858, 0.030760057270526886, -0.01849946193397045, -0.034809648990631104, 0.008722864091396332, 0.03281276673078537, 0.017569946125149727, 0.03322838246822357, -0.03359569236636162, -0.007427000906318426, 0.057639095932245255, -0.04499702528119087, -0.03445710241794586, -0.0022473062854260206, 0.00971629936248064, -0.022282453253865242, -0.013149680569767952, 0.014962120912969112, -0.04605833813548088, -0.0006435572868213058, 0.050855036824941635, 0.033332932740449905, 0.0429573729634285, -0.03977399691939354, -0.001514768460765481, 0.017702443525195122, 0.02571478858590126, 0.009890731424093246, -0.0547039769589901, -0.0340178944170475, 0.006173352245241404, -0.031036095693707466, 0.06987188011407852, 0.03598266839981079, -0.05243457481265068, -0.011299754492938519, 0.006653434131294489, 0.003809278830885887, 0.015756843611598015, 0.00008481259283144027, -0.021456867456436157, 0.025199314579367638, -0.0077943354845047, -0.04194042459130287, 0.017957376316189766, -0.034511592239141464, -0.023135893046855927, -0.06586237996816635, 0.001998774241656065, -0.04767382889986038, -0.01969965361058712, -0.008663521148264408, 0.018750833347439766, -0.03636281564831734, -0.0018056666012853384, -0.0020551171619445086, 0.02809477224946022, -0.06277041137218475, 0.06579530239105225, 0.014649351127445698, -0.050804752856492996, -0.00911733414977789, 0.010062083601951599, 0.06799676269292831, 0.046501826494932175, -0.005871204659342766, 0.06978292763233185, -0.0206117145717144, 0.02306276559829712, -0.017891360446810722, 0.028948545455932617, -0.027138598263263702, -0.04624222218990326, -0.0033310421276837587, 0.09216421842575073, 0.012455279938876629, 0.02353544346988201, -0.03711698204278946, -0.013650769367814064, -0.025739844888448715, 0.015110095962882042, 0.09158460050821304, 0.012522416189312935, -0.01324526872485876, -0.030080515891313553, 0.023143015801906586, -0.009040074422955513, 0.04181930422782898, 0.017740264534950256, 0.0012138611637055874, -0.04950585216283798, -0.05810081213712692, -0.0043632155284285545, 0.011530202813446522, -0.003251609392464161, 0.04591415449976921, -0.007502824999392033, 0.02351612225174904, 0.06887748837471008, 0.04537763446569443, -0.016008248552680016, -0.010539079084992409, -0.018028130754828453, 0.034455232322216034, 0.04064381495118141, 0.018330052495002747, 0.07971639186143875, 0.00021189491963014007, -0.020817508921027184, -0.019833555445075035, 0.07076116651296616, 0.01724017783999443, -0.005063126794993877, -0.06627193093299866, -0.04682696610689163, 0.06099497526884079, -0.05338410288095474, 0.0033830583561211824, 0.018087605014443398, 0.048314034938812256, -0.007225395645946264, 0.005896764807403088, -0.016101013869047165, -0.07300516963005066, 0.04688183218240738, 0.017200810834765434, 0.010705635882914066, 0.03175186738371849, 0.006825685501098633, 0.0681261271238327, 0.0383586585521698, 0.02576333098113537, 0.028313307091593742, -0.07935232669115067, -0.07605040073394775, -0.004476686008274555, -0.005784190725535154, 0.0625770166516304, 0.019528675824403763, -0.0077452827244997025, 0.033109650015830994, 0.03304317593574524, 0.0147762605920434, 0.020226016640663147, -0.0141270961612463, 0.0052015637047588825, -0.02528385818004608, -0.06300295889377594, 0.06438928842544556, 0.019245462492108345, -0.02327348291873932, -0.030861398205161095, 0.001957331784069538, -0.02253757044672966, 0.028695683926343918, 0.019370706751942635, -0.013233794830739498, 0.0507533885538578, 0.020348867401480675, 0.02644147351384163, -0.03550640493631363, 0.013749449513852596, -0.022546224296092987, 0.05215029418468475, 0.001117193722166121, -0.017227552831172943, -0.015920571982860565, -0.012537510134279728, 0.11688384413719177, 0.047041647136211395, -0.03536054864525795, -0.05616116523742676, 0.05728147551417351, -0.009910967200994492, -0.02613169327378273, 0.010743199847638607, -0.004669353365898132, 0.007711115293204784, 0.010608870536088943, -0.047143708914518356, -0.031575798988342285, -0.013238249346613884, -0.038710787892341614, 0.01863803341984749, 0.05410389602184296, -0.028001412749290466, 0.05431709066033363, 0.02653668448328972, -0.01824735663831234, 0.009848962537944317, -0.015454372391104698, -0.07379310578107834, 0.021660542115569115, 0.029320593923330307, -0.010206186212599277, 0.06436043232679367, -0.01918414607644081, 0.002909662202000618, -0.019517676904797554, -0.060440994799137115, 0.037327125668525696, 0.009475192986428738, 0.06548729538917542, -0.03907055780291557, 0.06500151008367538, -0.0547916516661644, 0.003529961686581373, -0.008847007527947426, -0.03033934161067009, -0.051329247653484344, -0.002455238252878189, 0.010384999215602875, 0.0026315758004784584, 0.037284769117832184, -0.03347286581993103, 0.02229662612080574, -0.045531388372182846, 0.03345699980854988, -0.017029045149683952, 0.025391075760126114, 0.009506884962320328, 0.018303170800209045, -0.0478280633687973, -0.0045669712126255035, 0.0677884891629219, -0.03745552524924278, -0.010353507474064827, -0.010360159911215305, -0.047393158078193665, 0.05418002977967262, -0.08495794236660004, -0.012599781155586243, -0.02642686665058136, 0.03777209669351578, 0.052491530776023865, 0.05359064042568207, 0.005566778127104044, 0.026747876778244972, 0.010045565664768219, 0.023910460993647575, 0.032293565571308136, 0.0013436551671475172, 0.04652230441570282, -0.015557381324470043, 0.022857461124658585, 0.012127083726227283, -0.012090908363461494, 0.01822645217180252, -0.04923088103532791, 0.005218139849603176, -0.04866014048457146, -0.2770213484764099, 0.050031695514917374, 0.014032852835953236, -0.021257847547531128, 0.032742127776145935, -0.03423439711332321, 0.01150098443031311, -0.03285069391131401, -0.01769779808819294, 0.017911341041326523, -0.027133341878652573, -0.014777939766645432, -0.01420767791569233, 0.03435780480504036, -0.010774700902402401, 0.023346485570073128, -0.03629571944475174, -0.05490872263908386, 0.009621880017220974, -0.021830162033438683, -0.04339599609375, -0.02601725421845913, 0.023258697241544724, 0.0014832919696345925, 0.047123879194259644, 0.04377202317118645, -0.08118956536054611, 0.04800637811422348, -0.04625960811972618, -0.04892420396208763, 0.0006227391422726214, -0.024647438898682594, 0.01971960999071598, 0.01964738592505455, 0.0008330148411914706, -0.012500421144068241, 0.046694349497556686, 0.014011400751769543, 0.036667171865701675, -0.013664141297340393, -0.059660814702510834, -0.0602811723947525, -0.02194235287606716, -0.011841733008623123, 0.07103264331817627, 0.0008006452117115259, -0.08844329416751862, -0.014733785763382912, -0.03237561881542206, 0.08334799855947495, -0.019116241484880447, -0.03707551211118698, -0.0030349213629961014, 0.01262970082461834, -0.0020068627782166004, 0.01415257342159748, -0.026708301156759262, 0.007618364877998829, -0.05273877829313278, -0.04333397373557091, -0.0208217054605484, -0.049157679080963135, -0.01781802624464035, -0.06396062672138214, -0.0045072357170283794, -0.021227125078439713, -0.07206092029809952, -0.04147500917315483, 0.06834342330694199, -0.0038191750645637512, -0.03960219398140907, 0.003336411900818348, -0.015862155705690384, -0.10538321733474731, 0.005746166687458754, -0.06074608862400055, -0.05624904856085777, -0.023614371195435524, -0.016150686889886856, 0.03738924115896225, -0.03647463396191597, -0.06444409489631653, 0.00006275642954278737, -0.011274272575974464, 0.01719594933092594, 0.02081184647977352, 0.03507358208298683, -0.029535667970776558, -0.012349533848464489, 0.01699388027191162, 0.06690989434719086, -0.006046763621270657, -0.02977299690246582, 0.0037968687247484922, -0.0015670068096369505, 0.025093771517276764, -0.007677678018808365, 0.02260514907538891, -0.01385303121060133, 0.05278586968779564, 0.03243618085980415, -0.042545393109321594, -0.0018134318524971604, -0.0164126418530941, -0.002289836062118411, 0.022079886868596077, -0.056510079652071, 0.015678158029913902, 0.049373362213373184, 0.06353384256362915, -0.0037411246448755264, 0.0015760675305500627, 0.044474732130765915, -0.047053415328264236, 0.004638544283807278, 0.015051519498229027, 0.012920647859573364, 0.0002840164816007018, 0.03349178656935692, -0.00918684434145689, -0.057552825659513474, -0.0006161855417303741, 0.03228325769305229, -0.003253974486142397, -0.04515054449439049, 0.0006645999965257943, -0.0026283611077815294, 0.0009862348670139909, 0.042806170880794525, 0.011393890716135502, -0.003136157989501953, 0.010909345000982285, 0.013778290711343288, -0.05474066734313965, 0.03741271421313286, -0.007272255141288042, -0.054502226412296295, -0.05498167872428894, 0.015711819753050804, 0.008384780026972294, -0.05969448387622833, -0.01951434276998043, 0.024892721325159073, 0.01403606217354536, 0.04083825275301933, -0.01642412133514881, 0.029722655192017555, -0.009092039428651333, 0.021953698247671127, -0.011996201239526272, 0.009183766320347786, -0.01916496641933918, -0.014573749154806137, -0.026058465242385864, -0.017118943855166435, -0.01640971750020981, 0.04922310635447502, -0.05127467215061188, 0.006704328116029501, -0.026850473135709763, 0.02519053965806961, -0.074676014482975, 0.0046690404415130615, 0.004147934727370739, 0.008704169653356075, 0.046045105904340744, 0.003541398560628295, 0.015644289553165436, -0.017324600368738174, 0.010122427716851234, 0.05269789323210716, 0.037837475538253784, -0.02459411695599556, -0.00011197714047739282, -0.011315077543258667, 0.011977432295680046, 0.01339119952172041, 0.0528251938521862, 0.013433841988444328, 0.011735853739082813, 0.030113013461232185, 0.0029571906197816133, 0.01967882551252842, -0.006403683684766293, 0.03018821030855179, 0.018731283023953438, -0.03547098487615585, 0.017823053523898125, -0.02331058867275715, -0.0000991342167253606, -0.036875441670417786, 0.024136686697602272, -0.047038424760103226, 0.006630891468375921, -0.003997934050858021, -0.07653141021728516, 0.03054860606789589, -0.0021644565276801586, 0.028589598834514618, -0.0011549657210707664, -0.007983343675732613, -0.009252267889678478, -0.03138938173651695, 0.021114541217684746, 0.06287913769483566, -0.03332196921110153, -0.03612050786614418, -0.013592449016869068, 0.024816151708364487, -0.006967830006033182, 0.035849861800670624, -0.05776265636086464, -0.010962816886603832, 0.005626716185361147, 0.004809405189007521, -0.06900227069854736, -0.061375994235277176, -0.027409592643380165, -0.018610438331961632, 0.0020191767252981663, 0.031065212562680244, 0.0007951492443680763, 0.036161087453365326, -0.007409893441945314, -0.04258526489138603, 0.0032660621218383312, -0.03311088681221008, -0.026871923357248306, 0.017833111807703972, -0.023835884407162666, -0.005373368039727211, -0.004030934534966946, 0.03423735871911049, 0.017091860994696617, -0.004621992819011211, -0.0010721016442403197, -0.05116022750735283, -0.0013777080457657576, -0.03223555162549019, 0.02414107136428356, -0.00962122529745102, 0.012465154752135277, -0.05260355770587921, -0.003350871615111828, -0.029731664806604385, 0.00979258120059967, -0.0009767413139343262, -0.010916430503129959, 0.020416082814335823, 0.04383357614278793, 0.017550069838762283, 0.025048788636922836, -0.01422823779284954, -0.00943183246999979, 0.047471508383750916, -0.037434473633766174, -0.054543349891901016, -0.007719856686890125, -0.06347984075546265, 0.029534142464399338, 0.027069495990872383, -0.006157479714602232, -0.0724920779466629, 0.03368198499083519, 0.05690913647413254, 0.0022513065487146378, 0.03877900168299675, -0.02388996258378029, 0.01431695930659771, -0.03766673430800438, -0.013409831561148167, -0.07076779007911682, 0.0293038971722126, 0.019252853468060493, 0.00046102647320367396, 0.011901254765689373, -0.01216377504169941, -0.0428270623087883, 0.04344915598630905, -0.06859554350376129, -0.012482471764087677, 0.06053084507584572, 0.0017989750485867262, 0.003057601395994425, -0.0003015726979356259, -0.0839301124215126, 0.03418031334877014, 0.027560723945498466, -0.03499956429004669, -0.028383396565914154, -0.002707751002162695, 0.037508830428123474, -0.017961803823709488, 0.03366459161043167, -0.017804410308599472, -0.03244985640048981, 0.08242370188236237, 0.013300023972988129, 0.013456214219331741, 0.04934342950582504, -0.019832201302051544, 0.04948806390166283, 0.01936987042427063, 0.024087896570563316, 0.009805114939808846, 0.03692636638879776, -0.032140716910362244, -0.05554626137018204, 0.03613564372062683, -0.0026574921794235706, -0.01140716951340437, -0.053784966468811035, 0.02954798936843872, -0.00011335770977893844, -0.03428982198238373, -0.06420334428548813, 0.048514239490032196, -0.01992238126695156, -0.022424714639782906, -0.04145248606801033, 0.014178968966007233, -0.03247253596782684, 0.024255799129605293, -0.013003813102841377, 0.023575114086270332, 0.053141236305236816, -0.011502396315336227, -0.0038687647320330143, 0.022404568269848824, 0.04738744720816612, 0.07454130798578262, 0.06829298287630081, 0.01866644248366356, 0.06143831089138985, -0.006483296398073435, -0.04146568849682808, -0.013822238892316818, -0.0022890958935022354, 0.006845326162874699, 0.026163889095187187, -0.002318676793947816, 0.07741636782884598, -0.013903978280723095, 0.07813932746648788, 0.008557039313018322, 0.0033911806531250477, -0.023182643577456474, -0.01676585152745247, 0.02298763394355774, 0.051946911960840225, 0.022875340655446053, 0.04269085079431534, -0.02553478814661503, -0.021235836669802666, 0.029003359377384186, -0.013489961624145508, -0.011959880590438843, 0.027674445882439613, -0.02996952272951603, 0.023637909442186356, 0.00928833894431591, 0.02158993110060692, 0.05496479198336601, -0.010552984662353992, 0.026674536988139153, 0.02345159463584423, 0.004567708820104599, -0.05004575103521347, 0.008378133177757263, -0.025391999632120132, -0.010890362784266472, 0.00046902793110348284, -0.038890160620212555, -0.02283284068107605, 0.003216461045667529, -0.021940134465694427, 0.046625737100839615, -0.04417239502072334, 0.038592975586652756, -0.002948099747300148, -0.013179742731153965, -0.03738309070467949, -0.012050891295075417, -0.05432109534740448, -0.03105524554848671, -0.04862962290644646, 0.004132756032049656, -0.004610465839505196, 0.019682126119732857, -0.016159169375896454, -0.023022852838039398, -0.014254190027713776, 0.000840830965898931, 0.05805525928735733, -0.04203227534890175, -0.019089004024863243, -0.007226376328617334, 0.002430096035823226, 0.013080812990665436, 0.023869507014751434, 0.059700239449739456, 0.022701885551214218, -0.0011096958769485354, -0.03568364307284355, -0.0016587857389822602, 0.04782959446310997, -0.033411361277103424, -0.014548998326063156, -0.08837340772151947, 0.019536703824996948, 0.025029003620147705, 0.009578358381986618, -0.0713673084974289, 0.010352740995585918, 0.03473391756415367, 0.004236640874296427, 0.04547851160168648, -0.0288783498108387, -0.0016774380346760154, -0.010246645659208298, 0.010415205731987953, -0.005414235405623913, -0.015208006836473942, 0.03435419127345085, -0.001852735411375761, 0.09003925323486328, 0.029787437990307808, -0.0026703914627432823, -0.044566184282302856, -0.0042239404283463955, -0.03113335371017456, 0.014526662416756153, -0.05363570898771286, -0.019366605207324028, -0.0416388101875782, -0.07899978756904602, -0.056334417313337326, 0.003675160463899374, -0.01953273080289364, -0.041422802954912186, -0.003156637540087104, 0.000461163348518312, -0.033477675169706345, 0.02804870344698429, -0.031001029536128044, 0.01691659726202488, -0.01855824887752533, -0.015403634868562222, 0.027459153905510902, 0.027683045715093613, -0.01239106897264719, -0.014208866283297539, 0.038302838802337646, -0.0469721183180809, -0.03400358557701111, -0.0293030496686697, 0.03076847828924656, 0.06672140210866928, 0.01597476564347744, 0.04306250438094139 ]
[ -0.0625198632478714, -0.01691841147840023, 0.004462180193513632, -0.030226431787014008, 0.046745508909225464, -0.025014271959662437, -0.013772505335509777, -0.013583178631961346, -0.009211580269038677, -0.012363270856440067, 0.01673073321580887, -0.012726078741252422, 0.02633856236934662, -0.00963032990694046, 0.1097961962223053, -0.012986148707568645, -0.029534026980400085, -0.020904576405882835, -0.04522867873311043, 0.06368783861398697, -0.009787340648472309, -0.05434538051486015, -0.004247982520610094, -0.04762548208236694, -0.03812344744801521, 0.03742937371134758, 0.014165878295898438, 0.00042358197970315814, 0.004404088016599417, -0.19064195454120636, 0.028208496049046516, -0.006392050534486771, -0.03414803370833397, 0.0029161821585148573, -0.006575870793312788, 0.04301664978265762, 0.029778290539979935, -0.007357374764978886, 0.0033784988336265087, 0.030091198161244392, 0.02286718413233757, -0.0020391358993947506, -0.06740741431713104, -0.015884893015027046, 0.04088601842522621, -0.0048703704960644245, -0.012532275170087814, 0.001122929621487856, -0.05967484414577484, -0.025839021429419518, -0.0027405882719904184, 0.01294340007007122, -0.018064262345433235, 0.0015818927204236388, 0.022585980594158173, 0.010148703120648861, 0.03330039605498314, 0.07900362461805344, 0.003508966648951173, 0.03374450281262398, 0.028467897325754166, 0.028199506923556328, -0.13802273571491241, 0.06541724503040314, -0.011268100701272488, -0.012003563344478607, -0.08682484179735184, -0.058671459555625916, -0.029677988961338997, 0.0642404556274414, -0.013304739259183407, -0.026884660124778748, -0.05588538944721222, 0.04037950932979584, -0.014616484753787518, 0.012104775756597519, -0.014331337064504623, 0.03212059661746025, 0.052294157445430756, -0.041687872260808945, -0.06665558367967606, 0.0018713150639086962, -0.07376259565353394, 0.020088577643036842, 0.0057877409271895885, 0.042611099779605865, 0.009904547594487667, 0.018923860043287277, 0.00989678967744112, 0.041959598660469055, 0.002447502687573433, -0.00033936987165361643, 0.061621762812137604, 0.031869977712631226, -0.050002820789813995, -0.0029948947485536337, 0.007435401435941458, 0.008735230192542076, -0.0187951922416687, 0.3953644335269928, 0.009168829768896103, -0.03489512577652931, 0.007609799038618803, 0.007046050857752562, 0.002559080021455884, -0.0020056532230228186, -0.015436436980962753, -0.05589579418301582, 0.04767763987183571, 0.012801801785826683, 0.020444270223379135, -0.017291592434048653, 0.0023449640721082687, -0.11324801295995712, -0.02147243730723858, 0.0022886721417307854, 0.015731044113636017, 0.041826918721199036, -0.032941482961177826, 0.000988260144367814, 0.003062219824641943, 0.000022395457563106902, 0.05859585106372833, 0.024098819121718407, 0.033992767333984375, 0.03642595559358597, 0.0417935848236084, 0.06823789328336716, 0.02410641871392727, -0.001472117961384356, 0.029427528381347656, -0.004565296228975058, -0.05786484479904175, -0.02795758843421936, 0.0053731524385511875, 0.03381162881851196, 0.005898898933082819, -0.04068824648857117, 0.013306505978107452, 0.054264381527900696, -0.04206416383385658, -0.016617819666862488, -0.017749672755599022, 0.02988322265446186, -0.00006184107041917741, 0.08093471080064774, -0.012737778015434742, -0.011775515973567963, -0.03949699550867081, -0.03133048489689827, -0.07237046957015991, 0.040753740817308426, -0.00658202962949872, -0.07555581629276276, -0.015679001808166504, 0.013199269771575928, 0.0180463008582592, 0.009366669692099094, -0.07790685445070267, -0.005166311748325825, 0.012261229567229748, -0.06703297793865204, 0.008233685977756977, 0.049377698451280594, 0.013924028724431992, -0.12037832289934158, -0.026179706677794456, 0.029925178736448288, 0.04256104305386543, -0.04340808838605881, -0.01954289712011814, 0.004177826922386885, -0.03952750563621521, -0.04907609894871712, 0.051459066569805145, -0.03556127846240997, -0.026874879375100136, 0.049045976251363754, 0.031244300305843353, 0.011989896185696125, -0.006980566773563623, -0.02505684830248356, -0.043918903917074203, -0.010706152766942978, -0.0749029815196991, -0.05921808257699013, -0.06892362236976624, 0.023795055225491524, -0.0659589096903801, -0.06374793499708176, -0.03872385248541832, 0.02716556377708912, -0.05272703617811203, 0.041471268981695175, 0.03147367015480995, -0.013430293649435043, -0.025793470442295074, 0.042702723294496536, -0.018169749528169632, -0.012381982058286667, 0.016744021326303482, 0.05261937528848648, -0.020273005589842796, 0.033943627029657364, -0.10480478405952454, 0.034644965082407, 0.037901245057582855, -0.035354435443878174, 0.08496035635471344, 0.05540486052632332, -0.052027955651283264, 0.029695706441998482, -0.03910818323493004, 0.04089881107211113, -0.03667433559894562, 0.041412901133298874, -0.030286820605397224, 0.0071031441912055016, 0.0458124540746212, 0.032398272305727005, -0.01195937767624855, 0.010558485984802246, 0.007314324378967285, -0.36792615056037903, -0.05993451550602913, -0.03908732905983925, -0.006468053441494703, -0.028385886922478676, 0.004601524211466312, 0.034558139741420746, 0.0004642939893528819, 0.0014984963927417994, 0.022250622510910034, 0.09846988320350647, -0.02215607278048992, 0.013738881796598434, -0.042725998908281326, 0.00003435488179093227, 0.031746987253427505, 0.030697036534547806, -0.040145423263311386, -0.03769981116056442, 0.03891916945576668, 0.033830706030130386, -0.07664671540260315, 0.010184216313064098, -0.027616845443844795, 0.017786074429750443, -0.0006772529450245202, 0.09105626493692398, 0.0015137442387640476, 0.05043485388159752, -0.03469614312052727, 0.07547909766435623, 0.014078941196203232, -0.009597087278962135, -0.10979640483856201, 0.03144649788737297, -0.03164374828338623, 0.03241526708006859, -0.0042728763073682785, 0.03292854502797127, 0.02081531286239624, -0.0027138381265103817, 0.009645909070968628, -0.07098925113677979, -0.06277236342430115, 0.016350995749235153, 0.00795823335647583, -0.05348046496510506, 0.048631999641656876, 0.0070623974315822124, 0.01984921656548977, 0.03311187028884888, 0.030354240909218788, -0.04377487301826477, 0.003462339285761118, -0.010794260539114475, -0.01982460357248783, -0.035097636282444, -0.029045360162854195, 0.0347248874604702, 0.07671087980270386, 0.023217251524329185, 0.042695533484220505, 0.02643541619181633, -0.06588616967201233, 0.007009412627667189, -0.018459279090166092, 0.005761921871453524, 0.011845246888697147, 0.04584413021802902, -0.0822686180472374, -0.03528342396020889, 0.09026522934436798, 0.007338912691920996, 0.03170957416296005, 0.03593304753303528, -0.00659222062677145, -0.005436185281723738, 0.008188328705728054, 0.02874119207262993, 0.021717244759202003, 0.045965418219566345, -0.04957495257258415, 0.04528820142149925, -0.015704503282904625, -0.033589690923690796, 0.05439116805791855, -0.011503385379910469, -0.016197791323065758, 0.06363482773303986, 0.03043566271662712, -0.05685792863368988, -0.0007121686358004808, -0.02685347944498062, 0.006137141026556492, 0.043254390358924866, 0.0034955840092152357, -0.24795778095722198, 0.025944119319319725, 0.019992545247077942, 0.08576598763465881, -0.001176848541945219, -0.016663677990436554, -0.002491334453225136, -0.06521281599998474, -0.0048477561213076115, 0.005445423536002636, 0.050358306616544724, 0.04493474215269089, 0.004678978119045496, 0.03829951211810112, 0.0011315821902826428, 0.03283100575208664, 0.03972255438566208, 0.024628521874547005, -0.016291864216327667, -0.03279190883040428, 0.03871188685297966, -0.008754219859838486, 0.18341287970542908, 0.04726741462945938, -0.020004862919449806, 0.034734729677438736, -0.03539588674902916, 0.02291584573686123, 0.015301520004868507, -0.004570274613797665, 0.013558405451476574, 0.027419984340667725, 0.03580443188548088, 0.03984825685620308, 0.03050057776272297, -0.05925187095999718, 0.0031324783340096474, 0.026181889697909355, 0.04576592892408371, 0.0015430566854774952, -0.012174595147371292, 0.009096012450754642, -0.014528695493936539, 0.01568732224404812, 0.062013931572437286, -0.07427486032247543, 0.03182992711663246, -0.004217300098389387, -0.04550294950604439, 0.004881936125457287, -0.06767880916595459, -0.03465784713625908, 0.0033381253015249968, 0.00776220578700304, 0.03549152612686157, 0.05861889198422432, 0.03258784860372543, -0.03422180563211441, 0.005970395170152187, 0.00515988701954484, -0.023936141282320023, -0.030944673344492912, 0.1188807412981987, -0.01906176470220089, 0.03893200308084488 ]
[ 0.028752893209457397, 0.05412046238780022, -0.006975769065320492, 0.018674660474061966, -0.0012526159407570958, 0.036285948008298874, -0.04197443649172783, -0.011535798199474812, -0.06130724027752876, -0.005398749839514494, -0.0024733173195272684, 0.025972837582230568, 0.014983227476477623, -0.02841833420097828, 0.01588352955877781, 0.023497991263866425, 0.033829230815172195, 0.07907573878765106, 0.041383046656847, -0.017592933028936386, -0.026526184752583504, 0.00891013815999031, 0.030609896406531334, -0.01722109690308571, 0.01447161752730608, -0.02020333707332611, -0.05686847120523453, 0.0076171113178133965, 0.027977872639894485, -0.14151820540428162, -0.010231157764792442, 0.015389467589557171, 0.0041441242210567, 0.003968584816902876, 0.022768158465623856, 0.019567102193832397, -0.006786557845771313, -0.018966292962431908, -0.007889055646955967, -0.0048088617622852325, 0.06180610880255699, 0.016078101471066475, -0.03079582005739212, -0.0032365908846259117, -0.0007832218543626368, 0.028290171176195145, 0.025515902787446976, 0.0022140599321573973, 0.02199324406683445, -0.0166164580732584, -0.00847445335239172, 0.012718499638140202, 0.03647201508283615, 0.013053001835942268, -0.060783714056015015, -0.019468382000923157, 0.0029876164626330137, 0.002339569851756096, -0.020816611126065254, -0.011283588595688343, 0.017854876816272736, 0.02805410884320736, -0.012797042727470398, -0.05921486020088196, -0.0027248263359069824, -0.01507977768778801, 0.0037271168548613787, 0.013350025750696659, -0.013900035992264748, -0.01300947368144989, -0.02183719538152218, 0.059048209339380264, -0.009805168025195599, -0.032453764230012894, -0.00045724306255578995, -0.039131443947553635, 0.033424220979213715, -0.002670103218406439, 0.04962871968746185, 0.02308419533073902, -0.033182039856910706, 0.037762049585580826, -0.062012217938899994, 0.014935032464563847, -0.02507665380835533, -0.008369547314941883, -0.0016644764691591263, -0.005994039122015238, 0.005684638395905495, 0.005305685568600893, -0.004461302421987057, -0.0037001429591327906, 0.036902640014886856, -0.005285739898681641, -0.05168977007269859, -0.003781908191740513, 0.008407095447182655, -0.026611970737576485, 0.021389808505773544, 0.7867392301559448, -0.02806733548641205, -0.028928298503160477, 0.009672047570347786, 0.020818514749407768, 0.02735150419175625, 0.022617178037762642, -0.012697134166955948, 0.0035327442456036806, -0.008901797235012054, 0.006985523272305727, -0.02303917333483696, 0.011853381991386414, 0.018551863729953766, -0.005567628424614668, -0.006720012053847313, 0.004479614552110434, 0.027732595801353455, -0.021499039605259895, -0.012101821601390839, 0.00653767678886652, 0.0631176009774208, 0.011638280935585499, 0.03668936342000961, -0.012971902266144753, -0.004167492035776377, -0.2223687320947647, 0.011929964646697044, -7.28231901177457e-33, 0.02550460211932659, -0.019585702568292618, 0.045674797147512436, 0.03967883810400963, 0.06492903083562851, 0.02001795545220375, -0.010108907707035542, 0.004817363806068897, -0.034311357885599136, -0.03679493069648743, -0.037084851413965225, -0.048883453011512756, -0.0012558497255668044, 0.007648661267012358, -0.02019299939274788, -0.03531285747885704, -0.005256874021142721, 0.04618929326534271, 0.027407988905906677, -0.008516215719282627, 0.004754155408591032, -0.003403159324079752, -0.04178609699010849, 0.044098954647779465, 0.008978422731161118, 0.0033865408040583134, 0.0051170652732253075, 0.0060769603587687016, -0.01768266223371029, -0.026575153693556786, -0.025820603594183922, 0.04009110480546951, 0.03808652237057686, -0.05502131208777428, -0.03792821615934372, -0.055837228894233704, -0.03381124138832092, -0.00846825260668993, -0.03995806351304054, -0.05024674907326698, -0.02258484996855259, 0.025426924228668213, 0.005056273657828569, -0.01897539012134075, -0.054860539734363556, -0.04784637317061424, -0.01930193416774273, 0.0352177694439888, 0.03791200369596481, 0.030047543346881866, 0.006990017835050821, -0.02355729229748249, 0.02335580438375473, -0.030382273718714714, 0.011749302968382835, -0.025573471561074257, -0.0028818363789469004, 0.042405322194099426, -0.03301219642162323, -0.00202589831314981, 0.009606004692614079, -0.024347463622689247, -0.03516945615410805, 0.03128719702363014, 0.010256035253405571, 0.0013129797298461199, -0.015212180092930794, 0.013740342110395432, 0.00912339799106121, 0.04322805255651474, -0.07605676352977753, 0.024640627205371857, -0.02385294809937477, -0.03374974802136421, -0.012213201262056828, -0.08681156486272812, 0.012901815585792065, -0.0036673129070550203, 0.00315896631218493, 0.0405903197824955, 0.021843452006578445, -0.008789986371994019, -0.027823014184832573, -0.030603105202317238, -0.012316407635807991, -0.009336847811937332, 0.007761168293654919, 0.008510900661349297, 0.004231316968798637, -0.007824771106243134, 0.00008068879105849192, -0.0011365676764398813, 0.028171410784125328, -0.03946273401379585, -0.013324442319571972, 6.910309579885871e-33, -0.0034034468699246645, 0.0036981930024921894, -0.017798323184251785, 0.02775084599852562, 0.030329236760735512, 0.0022058337926864624, 0.040456924587488174, -0.00016023986972868443, -0.06593568623065948, 0.025212600827217102, -0.02266043983399868, 0.01997041329741478, -0.04755682125687599, 0.03877183049917221, 0.040000174194574356, 0.017999907955527306, 0.018621494993567467, -0.054695986211299896, 0.06281711906194687, 0.022186970338225365, -0.03997597098350525, 0.017144441604614258, 0.015726011246442795, -0.00004650017581298016, 0.00781815405935049, -0.010299778543412685, -0.03202866390347481, 0.027342312037944794, -0.009075348265469074, 0.03371832147240639, 0.007792958989739418, -0.0479687936604023, -0.0001419295003870502, 0.021442992612719536, -0.005056285299360752, -0.011830087751150131, -0.025437163189053535, 0.014698803424835205, 0.00496363639831543, -0.009950872510671616, 0.047853875905275345, -0.03526334837079048, -0.036954112350940704, -0.009979133494198322, 0.010091820731759071, 0.019967183470726013, 0.009502044878900051, 0.0239694993942976, -0.009397522546350956, 0.0379602275788784, 0.002118548145517707, 0.028222251683473587, -0.012285244651138783, 0.07597801834344864, 0.005792197771370411, -0.02027926966547966, -0.0563943088054657, 0.014495202340185642, 0.013482349924743176, -0.009746246039867401, -0.005170213058590889, 0.013142837211489677, -0.007694984320551157, 0.039541590958833694, -0.029112648218870163, -0.049989115446805954, -0.014954514801502228, -0.004984758328646421, 0.01211563777178526, -0.00027583783958107233, -0.007906604558229446, 0.014867285266518593, -0.013064092956483364, 0.02417374588549137, 0.00541255809366703, -0.01505617517977953, -0.0368373766541481, -0.01361193135380745, -0.05207647383213043, 0.008685930632054806, -0.04141363129019737, -0.01313373539596796, -0.0023335134610533714, 0.002373429946601391, 0.023064589127898216, 0.006809839978814125, -0.03716760128736496, 0.06036580353975296, 0.0644625872373581, 0.04225115478038788, 0.0019169586012139916, -0.03959260880947113, -0.026507897302508354, 0.02965695969760418, -0.05559394136071205, -1.269052773977819e-8, 0.001189480535686016, 0.028338205069303513, -0.015584276989102364, -0.0037383618764579296, 0.0004100270161870867, 0.0026912884786725044, -0.039133768528699875, 0.000713912071660161, -0.019558776170015335, 0.05625562369823456, 0.02648053877055645, -0.005491836462169886, -0.023884456604719162, 0.0016241938574239612, 0.08739934116601944, -0.028911499306559563, -0.0020132563076913357, 0.04506612569093704, 0.016243869438767433, 0.015565716661512852, 0.010353234596550465, 0.05675258859992027, -0.007688251789659262, 0.010299433954060078, 0.013612073846161366, 0.02333923801779747, -0.00909348763525486, -0.10181516408920288, -0.01896931789815426, 0.0009083251352421939, 0.03182729706168175, -0.009695236571133137, -0.031073667109012604, -0.0010806944919750094, -0.07468018680810928, -0.024930929765105247, -0.013565554283559322, 0.02936938963830471, 0.027955079451203346, 0.00025955375167541206, 0.04989178851246834, 0.015189127996563911, -0.023096205666661263, -0.023895036429166794, -0.012509901076555252, 0.009021757170557976, -0.006019240245223045, -0.014238137751817703, 0.017397822812199593, -0.025300418958067894, 0.008565029129385948, 0.011479372158646584, -0.020044397562742233, 0.03222018480300903, 0.028190746903419495, 0.009698426350951195, 0.017699694260954857, -0.01807207241654396, 0.033668048679828644, -0.04229147732257843, 0.03509117290377617, 0.014475294388830662, -0.007572107948362827, -0.017855530604720116 ]
vagrant-multi-virtual-machine-with-puppet-roles
https://markhneedham.com/blog/2013/06/30/vagrant-multi-virtual-machine-with-puppet-roles
false
2013-06-30 22:53:14
Ruby: Calculating the orthodromic distance using the Haversine formula
[ "ruby", "orthodromicdistance" ]
[ "Ruby" ]
As part of the http://www.markhneedham.com/blog/2013/06/30/leaflet-js-resizing-a-map-to-keep-a-circle-diameter-inside-it/[UI I'm building around my football stadiums data set] I wanted to calculate the distance from a football stadium to a point on the map in Ruby since http://docs.neo4j.org/chunked/milestone/cypher-query-lang.html[cypher] doesn't currently return this value. I had the following cypher query to return the football stadiums near Westminster along with their lat/long values: [source,ruby] ---- lat, long, distance = ["51.55786291569685", "0.144195556640625", 10] query = " START node = node:geom('withinDistance:[#{lat}, #{long}, #{distance}]')" query << " RETURN node.name, node.team, node.lat, node.lon" rows = result["data"].map do |row| { :team => row[1], :stadium => row[0], :lat => row[2], :lon => row[3] } p rows ---- which returns the following: [source,ruby] ---- [{:team=>"Millwall", :stadium=>"The Den", :lat=>51.4859, :lon=>-0.050743}, {:team=>"Arsenal", :stadium=>"Emirates Stadium", :lat=>51.5549, :lon=>-0.108436}, {:team=>"Chelsea", :stadium=>"Stamford Bridge", :lat=>51.4816, :lon=>-0.191034}, {:team=>"Fulham", :stadium=>"Craven Cottage", :lat=>51.4749, :lon=>-0.221619}, {:team=>"Queens Park Rangers", :stadium=>"Loftus Road", :lat=>51.5093, :lon=>-0.232204}, {:team=>"Leyton Orient", :stadium=>"Brisbane Road", :lat=>51.5601, :lon=>-0.012551}] ---- In the neo4j spatial code the distance between two points is referred to as the 'orthodromic distance' but searching for that didn't come up with anything. However, I did eventually come across http://codingandweb.blogspot.co.uk/2012/04/calculating-distance-between-two-points.html[the following post] which referred to the http://en.wikipedia.org/wiki/Haversine_formula[Haversine formula] which is exactly what we want. There is a http://mathforum.org/library/drmath/view/51879.html[good explanation of the formula on the Ask Dr Math forum] which defines the formula like so: [source,text] ---- dlon = lon2 - lon1 dlat = lat2 - lat1 a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2 c = 2 * atan2(sqrt(a), sqrt(1-a)) d = R * c ---- where: * R - the radius of the Earth * c - the great circle distance in radians * c - the great circle distance in the same units as R * lat1, lat2, lon1, lon2 - latitude and longitudes in radians To convert decimal degrees to radians we need to multiply the number of degrees by +++<cite>+++pi/180+++</cite>+++ radians/degree. The Ruby translation of that formula looks like this: [source,ruby] ---- def haversine(lat1, long1, lat2, long2) radius_of_earth = 6378.14 rlat1, rlong1, rlat2, rlong2 = [lat1, long1, lat2, long2].map { |d| as_radians(d)} dlon = rlong1 - rlong2 dlat = rlat1 - rlat2 a = power(Math::sin(dlat/2), 2) + Math::cos(rlat1) * Math::cos(rlat2) * power(Math::sin(dlon/2), 2) great_circle_distance = 2 * Math::atan2(Math::sqrt(a), Math::sqrt(1-a)) radius_of_earth * great_circle_distance end def as_radians(degrees) degrees * Math::PI/180 end def power(num, pow) num ** pow end ---- And if we change our initial code to use it: [source,ruby] ---- lat, long, distance = ["51.55786291569685", "0.144195556640625", 10] query = " START node = node:geom('withinDistance:[#{lat}, #{long}, #{distance}]')" query << " RETURN node.name, node.team, node.lat, node.lon" rows = result["data"].map do |row| { :team => row[1], :stadium => row[0], :distance => haversine(lat, long, row[2], row[3]).round(2), :lat => row[2], :lon => row[3] } p rows ---- which gives us the output we want: ~~~ruby [{:team\=>"Millwall", :stadium\=>"The Den", :distance\=>4.87, :lat\=>51.4859, :lon\=>-0.050743}, {:team\=>"Arsenal", :stadium\=>"Emirates Stadium", :distance\=>5.57, :lat\=>51.5549, :lon\=>-0.108436}, {:team\=>"Chelsea", :stadium\=>"Stamford Bridge", :distance\=>5.94, :lat\=>51.4816, :lon\=>-0.191034}, {:team\=>"Fulham", :stadium\=>"Craven Cottage", :distance\=>8.18, :lat\=>51.4749, :lon\=>-0.221619}, {:team\=>"Queens Park Rangers", :stadium\=>"Loftus Road", :distance\=>8.21, :lat\=>51.5093, :lon\=>-0.232204}, {:team\=>"Leyton Orient", :stadium\=>"Brisbane Road", :distance\=>9.33, :lat\=>51.5601, :lon\=>-0.012551}]~~~
null
null
[ 0.00420395378023386, -0.018696295097470284, -0.010898268781602383, 0.01847284659743309, 0.08285916596651077, -0.006023499649018049, 0.035508014261722565, 0.03155247122049332, 0.03383713588118553, -0.01675628498196602, -0.00808324757963419, -0.04263687878847122, -0.07470115274190903, 0.028505193069577217, -0.0013041072525084019, 0.07730485498905182, 0.060416679829359055, 0.020497014746069908, 0.009227503091096878, 0.0030627709347754717, 0.038390111178159714, 0.07151281833648682, -0.005239651072770357, 0.0308845117688179, 0.051328036934137344, 0.0056741186417639256, -0.003024347824975848, 0.004994667135179043, -0.05843566730618477, 0.017064422369003296, 0.04522203654050827, 0.004406250547617674, 0.02617102488875389, -0.011082892306149006, 0.023207563906908035, 0.0037770834751427174, -0.030465414747595787, 0.012015705928206444, -0.02418167144060135, -0.020555749535560608, -0.048081494867801666, 0.046531278640031815, -0.016817893832921982, 0.02391343005001545, -0.04327221214771271, -0.0008747143438085914, -0.057147495448589325, 0.039302706718444824, -0.0047071282751858234, 0.005605784710496664, -0.06115182489156723, 0.028075505048036575, -0.025323566049337387, 0.005014067981392145, -0.018009953200817108, 0.046923838555812836, 0.0053128148429095745, -0.08145076781511307, 0.05027526989579201, -0.027422454208135605, -0.00019460248586256057, -0.007517558988183737, 0.009730727411806583, 0.025355732068419456, 0.015563884750008583, -0.038987018167972565, -0.03046313486993313, 0.05466760694980621, -0.0458291620016098, -0.029497714713215828, -0.005046931095421314, 0.021915631368756294, -0.0025793772656470537, -0.00509984465315938, -0.004141387064009905, -0.050240859389305115, -0.007434143219143152, 0.06280095130205154, 0.008288387209177017, 0.0475865863263607, -0.0291274581104517, -0.003691496094688773, 0.01475251093506813, 0.02704908326268196, -0.0017602038569748402, -0.02303231693804264, -0.0342564694583416, -0.021892286837100983, -0.045381754636764526, 0.055786654353141785, 0.04375849664211273, -0.04650216922163963, 0.019430315122008324, 0.0028939666226506233, -0.003684636205434799, -0.018591774627566338, -0.01318279653787613, 0.005012297537177801, -0.028844473883509636, -0.05779792740941048, -0.013854995369911194, -0.03683846816420555, 0.006999964360147715, 0.0036691080313175917, -0.07850039750337601, -0.03127479925751686, -0.023491254076361656, -0.004041055217385292, 0.031934890896081924, -0.0032718197908252478, -0.06779561191797256, 0.011635544709861279, -0.0002978699340019375, 0.007844086736440659, -0.07296793907880783, 0.04592159762978554, 0.03271916136145592, -0.013617384247481823, -0.023098787292838097, 0.03525162115693092, 0.03800481557846069, 0.021554656326770782, 0.009140051901340485, 0.07448454946279526, -0.00025050799013115466, 0.03732255473732948, -0.0060686892829835415, 0.055249571800231934, -0.03374437615275383, -0.050641197711229324, -0.01277119666337967, 0.06380820274353027, -0.03503283113241196, 0.0063832225278019905, -0.009825366549193859, -0.04163169860839844, -0.03389028459787369, -0.002851844299584627, 0.06256017088890076, 0.03656759858131409, 0.012841591611504555, -0.024802371859550476, 0.029151424765586853, 0.004915197845548391, 0.03159651532769203, 0.005139683838933706, -0.022379541769623756, -0.033552385866642, -0.017454273998737335, 0.016834234818816185, 0.008936376310884953, 0.028154704719781876, 0.049447521567344666, -0.01838669925928116, -0.00022628428996540606, 0.09031358361244202, 0.027089836075901985, -0.014867995865643024, -0.023353861644864082, 0.021206829696893692, 0.04346204921603203, 0.026306914165616035, 0.01733938790857792, 0.061471302062273026, -0.015131122432649136, 0.0034378853160887957, 0.026461973786354065, 0.08511471748352051, 0.00799746997654438, -0.025708358734846115, -0.031061021611094475, -0.06137973070144653, 0.08144412189722061, -0.025375783443450928, -0.00887959823012352, 0.030861394479870796, 0.06623855978250504, 0.035129088908433914, 0.017404822632670403, -0.019070923328399658, -0.07600121945142746, 0.03684758394956589, 0.0006305449642241001, 0.03271583840250969, 0.035419393330812454, -0.009808246046304703, 0.09279484301805496, 0.04575953632593155, -0.0020001577213406563, 0.0158081091940403, -0.06786154955625534, -0.08149335533380508, -0.041922640055418015, -0.009626057930290699, 0.07317065447568893, -0.029588758945465088, 0.019164789468050003, 0.01812015101313591, 0.004486996214836836, 0.05172204226255417, 0.008684244006872177, -0.005706798750907183, 0.033927980810403824, -0.034657351672649384, -0.03212149813771248, 0.046210095286369324, 0.03879557549953461, -0.033109087496995926, -0.05448480695486069, 0.04814772680401802, -0.02426639012992382, -0.013484488241374493, 0.01915716752409935, -0.022016072645783424, 0.01889524981379509, 0.005799314938485622, 0.04108165204524994, -0.0225522480905056, 0.03926306590437889, -0.05594295635819435, 0.026943989098072052, 0.05324932187795639, -0.020283257588744164, 0.0025828182697296143, 0.012579946778714657, 0.11552944034337997, 0.05832159146666527, 0.0017381631769239902, -0.07718377560377121, -0.002886413596570492, -0.009938030503690243, -0.041265953332185745, 0.0029718182049691677, -0.025940489023923874, 0.0039561134763062, -0.03629642352461815, -0.03454725071787834, -0.024387946352362633, -0.006329012103378773, -0.042329467833042145, -0.01182259526103735, 0.05693627521395683, 0.004677780903875828, 0.06118001043796539, -0.012251477688550949, -0.0030111433006823063, 0.009448925964534283, -0.034529127180576324, -0.0447305329144001, 0.0194895938038826, 0.0004421650373842567, -0.01274824421852827, 0.036505620926618576, 0.0011011010501533747, 0.01103187631815672, -0.01395746786147356, -0.02840227633714676, 0.04050784930586815, 0.05649282783269882, 0.06695946305990219, 0.0024471718352288008, 0.07219831645488739, -0.02924773283302784, -0.002873482182621956, -0.025263700634241104, -0.05611183121800423, -0.05187617242336273, -0.03681478649377823, 0.019303444772958755, 0.007979066111147404, 0.04325290396809578, 0.014641521498560905, 0.03800049424171448, 0.0036836406216025352, -0.0017944670980796218, 0.0008757492178119719, 0.014739670790731907, 0.00522055895999074, -0.019264161586761475, -0.022328980267047882, -0.02613513357937336, 0.040420953184366226, -0.03614802286028862, -0.03574540093541145, 0.014267071150243282, -0.04981086030602455, 0.048481542617082596, -0.06442558765411377, -0.006912366487085819, -0.015932098031044006, 0.0160452201962471, 0.043984923511743546, 0.025493349879980087, 0.02453587017953396, 0.05450650677084923, 0.0015385262668132782, 0.02784872055053711, 0.011878348886966705, -0.00017568215844221413, 0.040431853383779526, -0.02569253370165825, 0.05106594040989876, 0.037001609802246094, -0.0510898157954216, 0.005086448043584824, -0.03695147484540939, 0.00299126747995615, -0.008874993771314621, -0.2603621482849121, 0.07272755354642868, -0.028994645923376083, -0.03951701894402504, 0.021963950246572495, -0.02100234106183052, -0.024190979078412056, -0.03879448026418686, -0.04640807956457138, 0.006799669936299324, -0.018074972555041313, -0.03955356776714325, -0.029800161719322205, 0.024812037125229836, 0.039899200201034546, -0.006118683144450188, -0.01444335002452135, -0.04560140147805214, -0.0016004585195332766, 0.03909646347165108, -0.00129872711841017, -0.061209943145513535, -0.008013352751731873, 0.026376992464065552, 0.01638595014810562, 0.08276426047086716, -0.04942674934864044, 0.00417443597689271, -0.07182051986455917, -0.016900338232517242, 0.019773030653595924, -0.02961837500333786, 0.029861731454730034, 0.0028105422388762236, -0.036148205399513245, -0.01905832067131996, 0.03238488733768463, 0.008943885564804077, 0.006017242558300495, -0.011315027251839638, -0.05643989518284798, -0.02430574968457222, 0.02208978310227394, -0.015253870747983456, 0.09227722883224487, -0.009305876679718494, -0.06831225007772446, -0.017427602782845497, -0.030635016039013863, 0.061418063938617706, 0.004233160056173801, -0.03550151363015175, -0.011427169665694237, 0.026968078687787056, -0.02894027717411518, -0.035722482949495316, -0.010504906997084618, -0.0402909517288208, -0.06077198684215546, -0.02632720395922661, 0.007270789239555597, -0.028192510828375816, -0.009202422574162483, -0.02777068316936493, 0.00534338504076004, -0.06078561022877693, -0.0749829113483429, -0.007485903799533844, 0.024175314232707024, -0.0010256948880851269, -0.032660745084285736, -0.004552945494651794, -0.025150643661618233, -0.0948740616440773, -0.06703950464725494, -0.007728524971753359, -0.004976209253072739, -0.01464410312473774, -0.0008260347531177104, 0.045116689056158066, -0.08337734639644623, -0.051229994744062424, 0.008276458829641342, 0.038508422672748566, 0.014186214655637741, 0.005453441292047501, 0.005271031521260738, 0.003941258881241083, -0.023481087759137154, -0.0001931870065163821, 0.06410308927297592, -0.03725802153348923, -0.015172836370766163, -0.0025964765809476376, -0.01474029291421175, 0.020879272371530533, 0.020877374336123466, -0.022147323936223984, 0.01887776516377926, 0.06806241720914841, 0.010802026838064194, -0.01883484423160553, 0.020174922421574593, -0.012458081357181072, -0.027239568531513214, 0.0025145558174699545, -0.0359124019742012, 0.03251824900507927, 0.022878829389810562, 0.008983230218291283, 0.019397156313061714, -0.012441826984286308, 0.013164573349058628, -0.04886608198285103, -0.04510639235377312, -0.01794014312326908, 0.040175069123506546, 0.015160002745687962, 0.04103691130876541, -0.042746689170598984, -0.07341525703668594, 0.017426757141947746, 0.02266031876206398, -0.0072936262004077435, -0.05951063334941864, 0.00376719213090837, -0.029999472200870514, -0.013038408011198044, 0.03062242455780506, 0.003851888934150338, -0.0371527336537838, 0.031083252280950546, 0.027378497645258904, -0.011555484496057034, 0.031526967883110046, -0.02258862368762493, -0.05512484163045883, -0.03366352245211601, 0.01818421669304371, 0.0030409437604248524, 0.018380656838417053, -0.014548986218869686, 0.023334529250860214, 0.054196227341890335, 0.02370660938322544, 0.001878606854006648, 0.002378597389906645, -0.00820312649011612, 0.024144820868968964, 0.009165586903691292, -0.008121289312839508, -0.02585591748356819, 0.02960122749209404, -0.04710026830434799, -0.0034157014451920986, 0.00222791382111609, 0.04114909470081329, -0.020856549963355064, -0.03137153014540672, -0.04105629771947861, 0.03719418868422508, -0.03541317954659462, -0.00867246463894844, -0.004433717578649521, 0.0012886349577456713, 0.06262489408254623, 0.010664579458534718, 0.01301484927535057, -0.029874956235289574, -0.001110836281441152, 0.008831119164824486, -0.0301432553678751, -0.04483562707901001, 0.013463497161865234, -0.029296481981873512, 0.022561002522706985, 0.011217044666409492, 0.029216352850198746, 0.0041015115566551685, 0.013554617762565613, -0.007132481783628464, 0.003364736679941416, 0.03081754967570305, 0.041874878108501434, 0.0407196469604969, 0.03386038541793823, -0.01969366893172264, -0.00032650685170665383, -0.0009999085450544953, -0.00642566941678524, -0.027884477749466896, 0.0011152266524732113, -0.059298187494277954, 0.00506407069042325, -0.03159322217106819, -0.06758048385381699, 0.03411077708005905, -0.0008178171701729298, 0.006627284921705723, 0.04493157938122749, 0.01914004050195217, -0.031639426946640015, 0.005823813378810883, -0.00462436955422163, 0.06209716573357582, -0.04646681621670723, -0.011443504132330418, 0.010583612136542797, -0.018060121685266495, -0.005884451325982809, 0.010503817349672318, -0.04509266838431358, -0.04077528044581413, -0.00044397852616384625, 0.0275082066655159, -0.020373905077576637, -0.0342290960252285, -0.010411986149847507, -0.0072893742471933365, -0.018464067950844765, 0.04033982753753662, -0.004366511944681406, 0.0010443341452628374, -0.01397788804024458, -0.0035292874090373516, 0.043659090995788574, -0.028485821560025215, -0.012056437321007252, 0.0016913270810618997, -0.03074769861996174, 0.018487919121980667, -0.022220684215426445, 0.032427072525024414, 0.038433559238910675, 0.018541982397437096, 0.018999649211764336, -0.049639713019132614, 0.014888832345604897, -0.021193254739046097, 0.06716124713420868, -0.03164075314998627, -0.014243103563785553, -0.028255878016352654, 0.014845509082078934, -0.012308300472795963, 0.009775570593774319, -0.01650063507258892, -0.006028501782566309, 0.0030283909291028976, 0.024769751355051994, -0.010582523420453072, 0.027836456894874573, -0.005563692655414343, -0.024689264595508575, 0.04496127367019653, -0.046296440064907074, -0.033596161752939224, 0.004979101940989494, -0.04461635276675224, 0.01642478071153164, -0.021705524995923042, 0.003357513574883342, -0.040955450385808945, 0.04612421616911888, 0.040263447910547256, -0.005392185412347317, 0.03472152724862099, -0.0206736009567976, 0.015711253508925438, -0.03297422081232071, -0.008176598697900772, -0.08596369624137878, 0.03612397983670235, 0.023723116144537926, -0.008328125812113285, -0.022722069174051285, 0.02284129336476326, -0.040686652064323425, 0.007861487567424774, -0.061737310141325, -0.034071918576955795, 0.04926326870918274, -0.003164737718179822, 0.0005010586464777589, 0.018220530822873116, -0.05156724527478218, 0.011208642274141312, 0.05172169953584671, -0.02612249180674553, -0.027199961245059967, -0.04051573947072029, 0.023410746827721596, -0.04502113163471222, 0.031921178102493286, -0.01607339084148407, -0.00946882925927639, 0.05541430786252022, 0.021395474672317505, 0.027912568300962448, 0.05149763450026512, -0.036023542284965515, 0.05056223273277283, 0.023736653849482536, 0.009687719866633415, 0.0006955748540349305, 0.035042859613895416, -0.00924253836274147, -0.058179859071969986, 0.040695980191230774, -0.00005598054485744797, -0.008479599840939045, -0.039007216691970825, 0.08771917223930359, 0.019640320912003517, -0.03953184932470322, -0.031350117176771164, 0.023009976372122765, -0.03143942728638649, -0.027557192370295525, -0.02845662832260132, -0.01646382547914982, -0.03840291500091553, 0.041173048317432404, -0.004263538401573896, 0.006104384548962116, 0.07390636205673218, 0.008663848973810673, -0.02539363130927086, 0.03336581960320473, 0.09790115058422089, 0.09956508874893188, 0.04799971729516983, 0.005302635487169027, 0.07066924124956131, -0.01539347693324089, -0.04319499433040619, -0.019971031695604324, -0.04340276122093201, -0.0017224664334207773, -0.00700738001614809, 0.00188183702994138, 0.07204461842775345, -0.021257147192955017, 0.0743870660662651, -0.0356186181306839, -0.02038678340613842, 0.02359963208436966, -0.008737744763493538, 0.03590824082493782, 0.0662606954574585, 0.012235498055815697, 0.06119545176625252, -0.03407120332121849, -0.02459251508116722, 0.04362083226442337, 0.003638564608991146, -0.007689524441957474, 0.013547665439546108, -0.04528918117284775, 0.017364779487252235, -0.0036790368612855673, 0.03627898171544075, 0.07196010649204254, -0.057051900774240494, 0.004317800048738718, 0.0012172766728326678, 0.02359968051314354, -0.010992550291121006, 0.026358474045991898, 0.00430790102109313, -0.0003973482525907457, -0.003787604859098792, -0.03546088561415672, -0.05271018296480179, -0.023752450942993164, -0.04448758810758591, 0.003430678742006421, -0.006273371167480946, 0.015279886312782764, -0.004362846724689007, -0.01793048530817032, -0.02100934460759163, -0.04305011406540871, -0.07280915975570679, -0.06448569893836975, -0.09943897277116776, 0.0032803949434310198, 0.010963920503854752, 0.0026011306326836348, -0.022864878177642822, 0.018555255606770515, -0.009325540624558926, -0.019767198711633682, 0.013431991450488567, -0.015344464220106602, 0.00016296941612381488, 0.022851798683404922, 0.012992676347494125, 0.027515264227986336, 0.03174066171050072, 0.07151775062084198, -0.03746573626995087, 0.004246777854859829, -0.02149925008416176, 0.0028104872908443213, 0.06384363025426865, 0.03133459389209747, -0.009125552140176296, -0.06949559599161148, -0.00945909321308136, 0.036288175731897354, -0.022026143968105316, -0.08091217279434204, 0.004802228417247534, 0.022823581472039223, 0.011448604986071587, 0.023687027394771576, -0.036755431443452835, -0.005205257795751095, -0.04588025435805321, 0.0164638664573431, 0.01386382058262825, -0.007325262762606144, 0.02962011657655239, -0.02636333554983139, 0.07121344655752182, 0.01928958296775818, -0.02919861488044262, -0.036017656326293945, -0.03386067599058151, -0.007515315432101488, 0.009534847922623158, -0.0515621155500412, -0.037653353065252304, -0.048556145280599594, -0.10469051450490952, -0.03799580782651901, 0.017654340714216232, -0.026892611756920815, -0.038539715111255646, -0.002804084215313196, 0.04023364186286926, -0.01936439983546734, 0.050042930990457535, -0.028214100748300552, 0.06660926342010498, -0.024693841114640236, -0.022701406851410866, -0.025720523670315742, 0.03285975009202957, -0.0008742791833356023, 0.040168847888708115, 0.03149529546499252, -0.041291914880275726, 0.028318846598267555, -0.028972266241908073, -0.0025365506298840046, 0.0221604835242033, 0.01393598411232233, 0.02418946847319603 ]
[ -0.014115060679614544, -0.023414697498083115, 0.0031800195574760437, -0.008477481082081795, 0.09193360805511475, -0.04235370084643364, 0.002339987549930811, 0.014479742385447025, 0.012497021816670895, -0.0008131006616167724, -0.00032646171166561544, -0.11412107199430466, -0.016683688387274742, -0.014079569838941097, 0.047165147960186005, -0.038259029388427734, -0.03191559389233589, -0.05665873363614082, -0.03923312947154045, 0.05383084714412689, -0.0002501436974853277, -0.0004413537972141057, -0.015371089801192284, -0.026030153036117554, 0.025831082835793495, 0.051732636988162994, 0.034348759800195694, -0.0029575377702713013, -0.03719324991106987, -0.20725978910923004, 0.013799303211271763, -0.010400883853435516, 0.015326330438256264, -0.020357105880975723, -0.007416283246129751, 0.017468808218836784, 0.036787714809179306, -0.012924153357744217, 0.06115056946873665, 0.07306491583585739, 0.0340423583984375, 0.022181568667292595, -0.03576872497797012, -0.007917254231870174, 0.03151564300060272, -0.0004956592456437647, -0.022791841998696327, 0.015526242554187775, 0.002022149506956339, 0.014922257512807846, -0.008065412752330303, 0.030479755252599716, -0.007169432006776333, -0.032051682472229004, 0.020094234496355057, 0.08888406306505203, 0.02249380387365818, 0.08580582588911057, 0.03309745341539383, 0.027970701456069946, 0.031491272151470184, -0.008776837959885597, -0.17582547664642334, 0.07228302955627441, 0.013761207461357117, 0.010590614750981331, -0.05609875172376633, -0.014840321615338326, -0.03974759951233864, 0.060005564242601395, 0.022299092262983322, -0.011540093459188938, -0.03597516193985939, 0.06601350009441376, 0.016485413536429405, 0.0024813616182655096, -0.04053334891796112, 0.029422512277960777, 0.033286839723587036, -0.044200971722602844, -0.03750507906079292, 0.009822671301662922, -0.06234064698219299, -0.0030683951918035746, -0.005820759106427431, 0.0258003119379282, -0.047968342900276184, 0.06013057753443718, 0.007735435385257006, 0.04375355318188667, 0.03530250862240791, -0.0030778024811297655, -0.01752559468150139, 0.027652520686388016, -0.10529648512601852, -0.06290436536073685, 0.0111436378210783, 0.026970863342285156, -0.004137171432375908, 0.3824727237224579, -0.001021138858050108, 0.0030411253683269024, 0.03101213648915291, 0.061550602316856384, -0.020233457908034325, -0.0383865162730217, -0.002187428530305624, -0.0478130467236042, 0.013297611847519875, 0.015122638083994389, 0.012517265975475311, -0.036711685359478, 0.04423460364341736, -0.04078183323144913, -0.011104266159236431, 0.021443095058202744, 0.03996344283223152, 0.03204767033457756, -0.018732838332653046, 0.014439499005675316, -0.053593408316373825, 0.02759290300309658, -0.008801083080470562, 0.0226291436702013, 0.0018130417447537184, 0.03089645877480507, 0.03319850191473961, 0.052505720406770706, 0.018958037719130516, 0.03962988033890724, 0.03403906151652336, -0.026919879019260406, -0.09753970056772232, -0.001279223128221929, -0.037882592529058456, 0.01848921738564968, 0.03705812245607376, -0.023929890245199203, -0.0002521622518543154, 0.06505855172872543, -0.012430309318006039, -0.0629759430885315, 0.049230124801397324, 0.0081111965700984, -0.031676582992076874, 0.1064106822013855, -0.01970207877457142, -0.05087073892354965, -0.023429546505212784, -0.03698252514004707, -0.006014250218868256, 0.0037121055647730827, -0.0145606379956007, -0.04334383085370064, -0.039060257375240326, 0.03178586810827255, 0.024427978321909904, -0.01339157484471798, -0.040960557758808136, 0.004613460972905159, -0.01986648142337799, -0.03621407970786095, 0.008331297896802425, 0.059773270040750504, 0.026771467179059982, -0.12423723936080933, -0.022362589836120605, 0.013553887605667114, -0.00007674274093005806, -0.08508722484111786, -0.02740219421684742, 0.015882346779108047, -0.010715220123529434, 0.005302116274833679, 0.07927361130714417, -0.0012512700632214546, -0.03583255037665367, 0.003836244810372591, 0.05306245759129524, -0.016242321580648422, -0.016430512070655823, -0.004223797470331192, -0.001141341752372682, -0.029141144827008247, -0.04004048556089401, -0.036126282066106796, -0.09276565909385681, -0.01072061900049448, -0.028909403830766678, -0.006632464937865734, -0.012342389672994614, -0.0379943773150444, -0.055564120411872864, 0.01972355507314205, -0.017575962468981743, -0.020103618502616882, -0.012498184107244015, -0.016207000240683556, 0.04807286709547043, -0.00879119336605072, 0.002205780940130353, 0.00576756289228797, -0.03193054720759392, 0.007945561781525612, -0.027511857450008392, 0.014183968305587769, 0.10406288504600525, -0.024268826469779015, 0.046656981110572815, 0.032171525061130524, -0.030732886865735054, -0.03042229451239109, -0.01769358664751053, -0.014668738469481468, 0.014148324728012085, -0.012239277362823486, -0.02416587434709072, -0.013332465663552284, -0.0021018150728195906, 0.05866793915629387, -0.029380492866039276, -0.04223187267780304, -0.02996119298040867, -0.3523384928703308, -0.03418940678238869, -0.024515511468052864, 0.0011388546554371715, 0.014480175450444221, -0.0152732003480196, 0.006013534031808376, -0.002675045281648636, 0.020885195583105087, 0.02200968563556671, 0.12283955514431, -0.025863591581583023, -0.016649387776851654, -0.05321500822901726, -0.02416553534567356, 0.03143608197569847, -0.06281650811433792, 0.018403097987174988, -0.02873954176902771, 0.01642863266170025, 0.04723118990659714, -0.025891901925206184, -0.06562682241201401, -0.038835309445858, -0.013427464291453362, -0.06905077397823334, 0.13491502404212952, -0.012923773378133774, 0.03704604506492615, -0.07725780457258224, 0.028832849115133286, -0.0303444005548954, 0.00029016545158810914, -0.029006078839302063, -0.0009400445269420743, -0.027322234585881233, 0.03161921724677086, 0.02992647886276245, 0.004206564277410507, -0.04442651942372322, -0.04355490952730179, 0.03253801167011261, -0.045583367347717285, -0.03443536162376404, -0.020281245931982994, 0.06236925348639488, -0.010501219891011715, -0.04175867140293121, 0.032385870814323425, 0.07856782525777817, 0.021829592064023018, 0.010830733925104141, 0.055568333715200424, -0.013956322334706783, 0.05188681557774544, -0.021110039204359055, -0.08305656909942627, -0.009616335853934288, -0.005401228554546833, 0.02812332659959793, 0.0035454740282148123, 0.012355081737041473, 0.03842739015817642, -0.08814303576946259, 0.01760675199329853, 0.013602650724351406, 0.0065475944429636, -0.005953581538051367, 0.02574813738465309, -0.006584614049643278, -0.012582860887050629, 0.05193213000893593, 0.02386479638516903, 0.014714217744767666, 0.034497685730457306, 0.025638286024332047, 0.04343242943286896, 0.07545638829469681, 0.06434515118598938, 0.0466279610991478, 0.056900862604379654, -0.025477105751633644, 0.07701405137777328, -0.020944751799106598, 0.005755745340138674, 0.049383580684661865, 0.02378733456134796, -0.04202331602573395, 0.04053249582648277, 0.0012106637004762888, -0.02213381603360176, -0.007391321938484907, -0.010826122015714645, -0.033627673983573914, 0.05026385188102722, -0.032578255981206894, -0.2714795768260956, 0.020837130025029182, 0.06158190593123436, 0.030190875753760338, 0.0031006443314254284, 0.012187935411930084, 0.0345119945704937, -0.00860704854130745, -0.03222459927201271, -0.006273199804127216, 0.032567210495471954, 0.02325059100985527, 0.01177834253758192, -0.06157368794083595, 0.021481696516275406, -0.019560635089874268, 0.04673827067017555, -0.0020553318317979574, 0.01302874181419611, 0.017134394496679306, 0.06092105433344841, -0.007901784032583237, 0.1592686027288437, 0.035947706550359726, 0.028917832300066948, 0.06591364741325378, -0.03485643118619919, -0.017929919064044952, 0.06061188876628876, 0.000314531906042248, -0.012577056884765625, -0.0018304628320038319, 0.015118381008505821, 0.03505099192261696, -0.006113054696470499, -0.020129675045609474, -0.010885207913815975, 0.06928708404302597, 0.013585732318460941, -0.06382575631141663, 0.004885386675596237, 0.022796621546149254, -0.05957489460706711, 0.02230086922645569, 0.06438887119293213, 0.004921178333461285, -0.010653484612703323, 0.005646623205393553, -0.038324471563100815, -0.02178722247481346, -0.026427650824189186, -0.053150951862335205, -0.022230030968785286, -0.033031195402145386, 0.014188021421432495, 0.0876787081360817, 0.012168217450380325, -0.036876603960990906, -0.005509147886186838, 0.008444507606327534, -0.018736280500888824, -0.056193504482507706, 0.07873434573411942, -0.04961749166250229, 0.051053863018751144 ]
[ 0.04298127070069313, 0.05098215118050575, 0.005214671604335308, 0.0029604467563331127, 0.019718553870916367, 0.02971162460744381, -0.019386401399970055, 0.01635676436126232, -0.02030549757182598, 0.005535861011594534, -0.04263610020279884, -0.004188223741948605, 0.008229855448007584, -0.016066445037722588, 0.02340002730488777, -0.009260664694011211, -0.03639886900782585, 0.0022341941948980093, 0.006599247921258211, -0.019767381250858307, -0.023575114086270332, 0.001732822391204536, 0.012348375283181667, 0.02707461640238762, -0.004423611797392368, 0.039063919335603714, -0.007998439483344555, 0.056836094707250595, 0.01520892046391964, -0.10861042886972427, -0.051433730870485306, -0.03897976502776146, 0.01696806773543358, 0.030102120712399483, -0.040655042976140976, -0.004331078380346298, -0.003904639510437846, -0.005700357258319855, 0.02174597978591919, 0.04055097699165344, 0.00838458351790905, -0.04999074712395668, -0.023199662566184998, 0.02891535870730877, 0.0278310663998127, -0.006444514729082584, -0.04046391323208809, 0.002146806102246046, -0.005657829809933901, 0.0021625044755637646, -0.02760392799973488, -0.006405001971870661, 0.007401878479868174, -0.01158007513731718, 0.023756610229611397, 0.010744436644017696, -0.0525168813765049, 0.02673301100730896, 0.01136800181120634, -0.02168162912130356, 0.009331075474619865, 0.011015248484909534, -0.043595749884843826, -0.03174614906311035, -0.015901142731308937, -0.04709123075008392, -0.02180495299398899, 0.010811911895871162, 0.021650264039635658, 0.012672015465795994, 0.03064649924635887, 0.028266986832022667, -0.03867873176932335, -0.00720859644934535, -0.005690115038305521, 0.043189410120248795, -0.010847666300833225, -0.014372655190527439, -0.026116983965039253, -0.01785925216972828, -0.01817256212234497, -0.004128155764192343, -0.003685550531372428, 0.01908132992684841, -0.022666558623313904, -0.028754232451319695, 0.017599646002054214, 0.0221827644854784, 0.019865091890096664, 0.02688756212592125, -0.02982919290661812, -0.04341086372733116, -0.017782192677259445, 0.04748794808983803, -0.08719822019338608, 0.006064597051590681, 0.008860754780471325, -0.03294411674141884, 0.0020141229033470154, 0.8345531821250916, 0.007814777083694935, 0.012793976813554764, 0.0020146991591900587, 0.017952388152480125, 0.01514411810785532, 0.002236161846667528, -0.0007646306767128408, 0.013824520632624626, 0.015009764581918716, -0.013125162571668625, 0.006331237498670816, 0.01378354337066412, -0.021066972985863686, 0.03577279672026634, -0.026546768844127655, 0.05650785192847252, 0.006996814627200365, -0.011618026532232761, -0.004310887772589922, 0.007917625829577446, 0.018028130754828453, 0.020181404426693916, -0.052826348692178726, 0.0350915752351284, -0.0052244458347558975, -0.18051756918430328, -0.013097962364554405, -6.85706042047759e-33, 0.002226283773779869, -0.010392842814326286, 0.012848658487200737, -0.02488255314528942, -0.02670108713209629, 0.011722699739038944, -0.010294503532350063, -0.012563497759401798, -0.0105148209258914, -0.030457088723778725, 0.005433094687759876, 0.0015227599069476128, -0.003874549176543951, -0.054380208253860474, 0.03376861661672592, -0.020268980413675308, -0.009683172218501568, 0.00484480382874608, -0.028701085597276688, 0.024616245180368423, 0.012308540754020214, 0.020088203251361847, -0.014860574156045914, 0.02180681750178337, 0.028883693739771843, 0.021192800253629684, -0.020206764340400696, -0.00339540746062994, -0.01130825188010931, -0.0417465940117836, -0.028888491913676262, 0.012406368739902973, -0.030742043629288673, 0.003079066053032875, 0.018678784370422363, -0.06423086673021317, -0.01553959958255291, -0.010335680097341537, -0.033383920788764954, -0.04711875319480896, -0.05520748347043991, -0.015898525714874268, -0.01992855779826641, -0.00013552593009080738, -0.025959232822060585, -0.014401767402887344, 0.0041492232121527195, 0.026049194857478142, 0.012039744295179844, -0.021547401323914528, 0.0405658595263958, 0.021540014073252678, -0.01789114624261856, -0.007145683281123638, 0.0029273610562086105, 0.015459254384040833, 0.014603003859519958, 0.014258076436817646, -0.015314015559852123, 0.0046737887896597385, 0.03957897052168846, -0.027761170640587807, 0.008215143345296383, 0.04449206218123436, -0.0019032275304198265, 0.02978626824915409, -0.0046242475509643555, 0.00325915333814919, 0.009312381036579609, 0.0018054338870570064, -0.0268696416169405, 0.04939370974898338, 0.004810282029211521, -0.02472342737019062, 0.009219621308147907, -0.032801005989313126, -0.0042976452969014645, 0.0010310461511835456, -0.004939423408359289, 0.04088803380727768, -0.0096743768081069, 0.0030258914921432734, -0.004368912428617477, -0.02605210617184639, 0.013629065826535225, -0.017445260658860207, 0.04091562703251839, 0.03618020936846733, 0.010752876289188862, 0.011004927568137646, 0.03882143273949623, 0.05703701078891754, -0.024958090856671333, -0.033609259873628616, -0.03172798454761505, 6.65116964619519e-33, -0.01916823349893093, -0.002178228460252285, -0.007622218690812588, -0.007163211703300476, 0.004533648956567049, -0.014809606596827507, 0.02554219588637352, 0.025314224883913994, -0.022289741784334183, 0.06014784052968025, -0.037636931985616684, -0.016974378377199173, -0.01565471850335598, -0.019886460155248642, 0.04189877584576607, -0.032714471220970154, 0.026433857157826424, -0.029628902673721313, -0.004232082050293684, 0.037844058126211166, 0.0014708653325214982, -0.005779835395514965, 0.0231263879686594, 0.009220488369464874, -0.014504367485642433, 0.015422111377120018, 0.005206945817917585, -0.00625945208594203, -0.031065959483385086, -0.022474395111203194, 0.010189061984419823, -0.04527173936367035, -0.0009583194041624665, -0.050795163959264755, 0.01734970696270466, 0.04389401525259018, 0.009881529957056046, -0.009120223112404346, -0.0038329032249748707, -0.013270446099340916, 0.02091480791568756, -0.015666482970118523, -0.014802121557295322, 0.043979134410619736, 0.0316324457526207, -0.02335873804986477, -0.0029293622355908155, -0.0076146493665874004, 0.012604602612555027, 0.04370821639895439, 0.028274821117520332, 0.024757958948612213, -0.01763121224939823, 0.03361791744828224, 0.023579802364110947, -0.033838074654340744, -0.03904109075665474, 0.027581077069044113, -0.004698256496340036, -0.014984709210693836, -0.01589040458202362, -0.035269204527139664, -0.03944350406527519, 0.05259643495082855, 0.0000799261179054156, 0.009783495217561722, -0.032903190702199936, 0.005190060939639807, -0.003253066446632147, 0.038946062326431274, -0.00654179323464632, 0.030786171555519104, -0.0024074057582765818, 0.04360366240143776, -0.021000539883971214, -0.009867067448794842, -0.008846801705658436, 0.016930097714066505, -0.006258213892579079, 0.04289485886693001, 0.04584207758307457, -0.006244664080440998, 0.032496377825737, -0.009857150726020336, 0.012642038986086845, -0.014039912261068821, -0.0192680973559618, 0.023102840408682823, 0.006801672745496035, -0.0030259089544415474, 0.06823443621397018, -0.0319560207426548, -0.026204155758023262, 0.03359883278608322, -0.031038260087370872, -1.2756084188936256e-8, -0.058915019035339355, 0.028101671487092972, -0.035133253782987595, 0.02761908620595932, -0.0026418869383633137, -0.019102007150650024, 0.021919457241892815, -0.033660680055618286, -0.006441222503781319, 0.01009878609329462, 0.02420506253838539, 0.0034595178440213203, 0.007328076288104057, 0.023571521043777466, 0.01207303162664175, -0.06143563240766525, -0.030788294970989227, -0.01902616024017334, 0.03135165199637413, 0.044979218393564224, -0.016703851521015167, 0.03387385979294777, -0.04987755045294762, 0.01963529735803604, 0.01918317936360836, -0.025027554482221603, -0.015412812121212482, -0.06337133795022964, 0.004888593684881926, -0.04386856034398079, 0.04318131133913994, -0.010487280786037445, 0.010075748898088932, 0.034645695239305496, -0.010800833813846111, -0.04927271604537964, 0.04604726284742355, 0.015007046982645988, 0.015530401840806007, 0.05038917064666748, -0.014547399245202541, 0.006531252060085535, -0.03781852498650551, -0.030393311753869057, 0.016335640102624893, 0.009031160734593868, -0.022059710696339607, -0.007838422432541847, 0.021240096539258957, -0.05362485349178314, 0.0016416014404967427, -0.014912654645740986, 0.03206417337059975, -0.019790366291999817, 0.058428287506103516, 0.0021940083242952824, 0.003836279269307852, -0.008132927119731903, -0.02214963734149933, -0.01683463528752327, -0.007427760865539312, 0.0038000624626874924, -0.01072295755147934, -0.008450346998870373 ]
ruby-calculating-the-orthodromic-distance-using-the-haversine-formula
https://markhneedham.com/blog/2013/06/30/ruby-calculating-the-orthodromic-distance-using-the-haversine-formula
false
2013-06-30 22:23:50
Leaflet JS: Resizing a map to keep a circle diameter inside it
[ "javascript", "leafletjs" ]
[ "Javascript" ]
I've been working on creating a UI to make searching for http://www.markhneedham.com/blog/2013/06/24/neo4j-spatial-indexing-football-stadiums-using-the-rest-api/[the football stadiums] that I wrote about last week a bit easier and I thought I'd give http://leafletjs.com/[Leaflet JS] a try. Leaflet is a Javascript library which was recommended to me by https://twitter.com/jasonneylon[Jason Neylon]) and can be used as a wrapper around Open Street Map. I started by creating a simple form where you could fill in a lat/long and distance and it would centre the map on that lat/long and show you a list of the stadiums within that diameter next to the map. Having done that I wanted to draw the diameter onto the map and then show the location of the stadiums which fitted inside the circle. I had the following code to centre the map and draw a circle: [source,javascript] ---- var distance = 10; $("#inputDistance").val(distance); var latLong=[51.505, -0.11398315429687499]; $("#inputLatLong").val(latLong) var map = L.map('map').setView(latLong,11); var layer = L.tileLayer('http://{s}.tile.cloudmade.com/e7b61e61295a44a5b319ca0bd3150890/997/256/{z}/{x}/{y}.png', { maxZoom: 18 }); layer.addTo(map); var currentDiameter = L.circle(latLong, distance * 1000); currentDiameter.addTo(map); var currentPositionMarker = L.marker([latLong[0], latLong[1]]); currentPositionMarker.addTo(map); ---- which creates this map: image::{{<siteurl>}}/uploads/2013/06/map.jpg[Map,300] I wanted to be able to change the diameter of the circle from the form and have it pick up more stadiums which I did with the following code: [source,javascript] ---- $("#inputDistance").change(function() { map.removeLayer(currentDiameter); currentDiameter = L.circle(currentPositionMarker.getLatLng(), $("#inputDistance").val() * 1000); currentDiameter.addTo(map); }); ---- I updated the diameter to be 16km and the map looked like this: image::{{<siteurl>}}/uploads/2013/06/map-diameter.jpg[Map diameter,300] It just about fits inside the map but setting it to anything higher means that the area of the diameter falls outside of the visible map which is annoying. I wanted to be able to resize the map when the circle changed in size and after a bit of browsing of the Leaflet code I came across a function called 'fitBounds' which lets us achieve this. I changed the code like so: [source,javascript] ---- $("#inputDistance").change(function() { map.removeLayer(currentDiameter); currentDiameter = L.circle(currentPositionMarker.getLatLng(), $("#inputDistance").val() * 1000); currentDiameter.addTo(map); map.fitBounds(currentDiameter.getBounds()); }); ---- Now if I change the distance the map resizes too: image::{{<siteurl>}}/uploads/2013/06/map-diameter-fixed.jpg[Map diameter fixed,300] Much better! The full code to do this reads like so: [source,javascript] ---- $(document).ready(function() { var distance = 10; $("#inputDistance").val(distance); var latLong=[51.505, -0.11398315429687499]; $("#inputLatLong").val(latLong) var map = L.map('map').setView(latLong,11); var layer = L.tileLayer('http://{s}.tile.cloudmade.com/e7b61e61295a44a5b319ca0bd3150890/997/256/{z}/{x}/{y}.png', { maxZoom: 18 }); layer.addTo(map); var currentDiameter = L.circle(latLong, distance * 1000); currentDiameter.addTo(map); var currentPositionMarker = L.marker([latLong[0], latLong[1]]); currentPositionMarker.addTo(map); $("#inputDistance").change(function() { map.removeLayer(currentDiameter); currentDiameter = L.circle(currentPositionMarker.getLatLng(), $("#inputDistance").val() * 1000); currentDiameter.addTo(map); map.fitBounds(currentDiameter.getBounds()); }); }); ---- The https://github.com/mneedham/neo4j-football-stadiums[code for this is all on github] although I've refactored it a bit now so it doesn't look exactly like this. I tried to put it on http://jsfiddle.net/[jsfiddle] as well but it didn't seem to work very well so screenshots it is!
null
null
[ 0.0044619375839829445, -0.019750114530324936, 0.003717628540471196, 0.0002900500549003482, 0.052845731377601624, -0.01343593094497919, 0.01873178221285343, 0.04901827871799469, 0.02312125824391842, -0.025455409660935402, 0.006345765199512243, -0.049252234399318695, -0.07106389850378036, 0.01468607410788536, 0.010004004463553429, 0.06455720961093903, 0.05939868092536926, 0.009122192859649658, 0.018972327932715416, 0.002243735594674945, 0.01736748218536377, 0.07710385322570801, -0.006229906342923641, 0.019080249592661858, 0.04654067009687424, 0.008045690134167671, 0.0044984370470047, 0.02404845505952835, -0.059078365564346313, -0.004435528069734573, 0.03723951801657677, 0.004298434127122164, 0.014583518728613853, -0.025620678439736366, 0.004355232696980238, -0.031577590852975845, -0.011410306207835674, 0.014814691618084908, -0.0077057951129972935, -0.013557177037000656, -0.053520411252975464, 0.03960015997290611, -0.011126522906124592, 0.023371873423457146, -0.034472450613975525, 0.0169452503323555, -0.04334611818194389, 0.02854105643928051, -0.01351232547312975, -0.00023529845930170268, -0.05805468186736107, 0.03848494216799736, -0.03277449309825897, 0.008504475466907024, -0.012731688097119331, 0.04026337340474129, 0.026437705382704735, -0.09192143380641937, 0.05184439942240715, -0.03456484526395798, -0.01281251385807991, 0.002308980096131563, 0.002775955945253372, 0.03780965879559517, 0.005850604269653559, -0.02648129127919674, -0.04245594143867493, 0.05177043005824089, -0.0481051541864872, -0.02253861352801323, -0.004681854974478483, 0.019564254209399223, -0.005599822849035263, 0.004551352467387915, 0.009655976668000221, -0.07180288434028625, -0.016765907406806946, 0.0686175599694252, -0.0003990202094428241, 0.03100525215268135, -0.027094541117548943, -0.026004355400800705, 0.0390942245721817, 0.028797375038266182, 0.011991777457296848, -0.010566704906523228, -0.024852756410837173, 0.0019628123845905066, -0.026513800024986267, 0.04842517524957657, 0.04473339393734932, -0.061213720589876175, 0.03495686128735542, 0.016606826335191727, 0.017594408243894577, -0.03054588846862316, -0.0081156762316823, 0.01419759914278984, -0.01951192319393158, -0.04643930867314339, -0.012898413464426994, -0.029486993327736855, 0.010964836925268173, 0.021657636389136314, -0.06361605226993561, -0.027115458622574806, -0.01653226837515831, -0.011587432585656643, 0.025165293365716934, 0.00987013429403305, -0.04525946453213692, 0.010771675035357475, -0.016394326463341713, 0.017274120822548866, -0.0698828250169754, 0.055345695465803146, 0.05227045714855194, 0.0001931062142830342, -0.01770622842013836, 0.043607763946056366, 0.03187023475766182, 0.0297783762216568, 0.005407130345702171, 0.08003710210323334, -0.02177235297858715, 0.04209320992231369, -0.013017591089010239, 0.06150896102190018, -0.03140004724264145, -0.05695486068725586, 0.013109185732901096, 0.05187039449810982, -0.028865167871117592, 0.008038949221372604, 0.0059360722079873085, -0.025753341615200043, -0.031675707548856735, -0.02783345989882946, 0.07180240750312805, 0.024930384010076523, 0.011684658005833626, -0.04412916675209999, 0.020483072847127914, -0.01432734727859497, 0.026469580829143524, 0.015331149101257324, -0.008629512041807175, -0.03853017836809158, -0.015827350318431854, 0.023976020514965057, 0.022860508412122726, 0.034364521503448486, 0.06203591823577881, -0.008384105749428272, -0.0197074506431818, 0.09681530296802521, 0.027052948251366615, -0.012931600213050842, -0.015276419930160046, 0.03398648649454117, 0.049443285912275314, 0.03297135606408119, 0.0005200773011893034, 0.06551685929298401, -0.02787502110004425, -0.011958131566643715, 0.014416083693504333, 0.08464585989713669, 0.0173532385379076, -0.0329030305147171, -0.03294552117586136, -0.057317428290843964, 0.06342307478189468, -0.023445410653948784, -0.00485581811517477, 0.02356540784239769, 0.08008209615945816, 0.0033916078973561525, 0.03443647548556328, 0.021179256960749626, -0.07295126467943192, 0.024366838857531548, 0.026338636875152588, 0.024079052731394768, 0.0522264763712883, -0.014050163328647614, 0.09482908993959427, 0.05031841620802879, -0.02157123014330864, 0.007004707586020231, -0.04682590439915657, -0.08260009437799454, -0.06560487300157547, 0.01745126210153103, 0.056553665548563004, -0.04186340048909187, 0.005390224978327751, 0.055895451456308365, 0.03717012330889702, 0.05913306400179863, 0.00741203548386693, -0.015240462496876717, 0.04114494100213051, -0.042793355882167816, -0.03182796388864517, 0.020759299397468567, 0.03204677999019623, -0.0337451733648777, -0.043940745294094086, 0.0361519530415535, -0.021830977872014046, -0.0073699066415429115, 0.038095623254776, -0.0028535956516861916, 0.01795828714966774, 0.002625991590321064, 0.041670482605695724, -0.01669200137257576, 0.04766631871461868, -0.054302144795656204, 0.025922730565071106, 0.045870982110500336, 0.00007681309944018722, -0.004116503056138754, 0.002863922854885459, 0.11922241002321243, 0.046112291514873505, -0.027058307081460953, -0.08249754458665848, -0.015550854615867138, -0.009062805213034153, -0.03809427097439766, 0.009207330644130707, -0.026194283738732338, 0.0038369037210941315, -0.03622918203473091, -0.012054044753313065, -0.031486883759498596, -0.004716739524155855, -0.045114994049072266, -0.0030010107439011335, 0.07716411352157593, -0.007468230556696653, 0.06142096593976021, -0.011803371831774712, -0.005733340512961149, 0.006165842059999704, -0.018726982176303864, -0.025780554860830307, 0.02393808215856552, 0.0005328653496690094, -0.017195865511894226, 0.019930081441998482, -0.009952818043529987, -0.018199028447270393, -0.014936580322682858, -0.04607219249010086, 0.03062414564192295, 0.060775276273489, 0.08048504590988159, 0.023003319278359413, 0.060602735728025436, 0.005664859898388386, 0.006087428890168667, -0.023383712396025658, -0.05634823441505432, -0.03621596843004227, -0.03516082838177681, 0.01430811733007431, 0.022126397117972374, 0.04900294542312622, 0.031571924686431885, 0.04315175116062164, 0.010493434965610504, -0.028148513287305832, -0.02217237837612629, 0.003073470201343298, 0.010154672898352146, -0.025548918172717094, -0.036765195429325104, -0.018306296318769455, 0.057326942682266235, -0.02310454472899437, -0.039726074784994125, 0.02193920686841011, -0.04638238251209259, 0.030619120225310326, -0.07937685400247574, -0.019059691578149796, -0.005764645989984274, 0.01807977817952633, 0.03724169358611107, 0.016694704070687294, 0.030113479122519493, 0.0429607629776001, -0.01692330837249756, 0.019902635365724564, -0.008566481061279774, -0.025873009115457535, 0.022171640768647194, -0.03449643403291702, 0.03099927492439747, 0.04309447109699249, -0.050605323165655136, -0.0024005190934985876, -0.039096418768167496, 0.022298675030469894, -0.03859306871891022, -0.2759535610675812, 0.060423240065574646, -0.0011908909073099494, -0.04710620641708374, 0.020193375647068024, -0.016331924125552177, -0.006931200623512268, -0.04537343978881836, -0.029340380802750587, 0.009341331198811531, -0.037151969969272614, -0.034520283341407776, -0.051211677491664886, 0.03480808809399605, 0.018578099086880684, -0.000889680755790323, -0.008916755206882954, -0.023015281185507774, -0.0009611420682631433, 0.04109904542565346, -0.0203861016780138, -0.06599394977092743, 0.013486041687428951, 0.03420349210500717, 0.03330700099468231, 0.08371345698833466, -0.05454898625612259, 0.02978547289967537, -0.06166445463895798, -0.006732300855219364, 0.025206035003066063, -0.03603043779730797, 0.014012300409376621, 0.0026061953976750374, -0.05116146057844162, -0.012921004556119442, 0.03289034590125084, 0.004731848835945129, -0.007883871905505657, -0.03148810938000679, -0.036274224519729614, -0.025231825187802315, -0.007610897999256849, -0.023161783814430237, 0.07671790570020676, -0.0222032330930233, -0.08946752548217773, -0.023981284350156784, -0.03758731856942177, 0.06260331720113754, 0.010999846272170544, -0.03661511465907097, -0.005149684846401215, 0.0321638286113739, -0.030404340475797653, -0.0402885340154171, -0.007255207747220993, -0.0357835479080677, -0.06253699213266373, -0.04004494473338127, 0.0037105956580489874, -0.035867705941200256, -0.02939854934811592, -0.017771612852811813, 0.016557058319449425, -0.0757121741771698, -0.061327867209911346, -0.01240839995443821, 0.040342941880226135, 0.012034573592245579, -0.025041786953806877, -0.03265167027711868, -0.015601304359734058, -0.10494762659072876, -0.056504666805267334, -0.02270396798849106, -0.009397724643349648, -0.025052927434444427, 0.0017510055331513286, 0.050852060317993164, -0.06665920466184616, -0.048716701567173004, 0.01710348017513752, 0.03172984719276428, 0.008240277878940105, 0.0056934235617518425, 0.010349630378186703, -0.0009501542081125081, -0.011972465552389622, 0.0033817405346781015, 0.07613850384950638, -0.041676077991724014, -0.012055797502398491, -0.01557861641049385, -0.01177339255809784, 0.013297799043357372, 0.01429214421659708, -0.021855181083083153, 0.008577889762818813, 0.06397763639688492, 0.026342887431383133, -0.01744159311056137, 0.01097912434488535, 0.009854025207459927, 0.0007522504893131554, 0.006691689137369394, -0.036997973918914795, 0.044909872114658356, 0.010064509697258472, 0.013372276909649372, 0.01848512701690197, -0.011281397193670273, 0.007944198325276375, -0.04140587896108627, -0.039000727236270905, -0.015293020755052567, 0.021362217143177986, 0.011693743988871574, 0.01858835108578205, -0.05134458839893341, -0.06179358810186386, 0.009450272656977177, 0.014121964573860168, -0.0041567496955394745, -0.04068794101476669, 0.0128329424187541, -0.04455966502428055, -0.034787897020578384, 0.04567870497703552, 0.005798093508929014, -0.009325679391622543, 0.044486578553915024, 0.021357428282499313, -0.0276340339332819, 0.029207352548837662, -0.04581518843770027, -0.03813362494111061, -0.03566857799887657, 0.02347683720290661, -0.003036828711628914, 0.0029625804163515568, 0.011672570370137691, 0.024670744314789772, 0.038371119648218155, 0.032494060695171356, -0.006027762312442064, 0.009564238600432873, -0.002426960738375783, -0.008896070532500744, 0.010612322017550468, 0.004968231078237295, -0.031654320657253265, 0.012246293015778065, -0.037606555968523026, -0.013126171194016933, -0.0159210953861475, 0.021558960899710655, -0.021595345810055733, -0.007730493322014809, -0.05279109627008438, 0.03190049156546593, -0.05599342659115791, -0.044452764093875885, 0.012461824342608452, -0.008939295075833797, 0.05664689093828201, 0.01562071405351162, 0.033722322434186935, -0.01208532229065895, -0.010833477601408958, 0.0310555137693882, -0.0340154767036438, -0.035870231688022614, -0.006731082685291767, -0.03833026811480522, 0.03257210925221443, 0.015751926228404045, 0.018240677192807198, -0.004755062982439995, 0.008000251837074757, -0.004272763151675463, 0.004785234108567238, 0.029081568121910095, 0.03384792432188988, 0.04481123760342598, -0.007483440451323986, -0.02134028822183609, -0.0011131478240713477, -0.007719379384070635, -0.0029163926374167204, -0.030485423281788826, 0.015089720487594604, -0.048499517142772675, 0.00034965225495398045, -0.031075356528162956, -0.07567309588193893, 0.02594873495399952, -0.00030371389584615827, -0.0013026038650423288, 0.04049408435821533, 0.006482117809355259, -0.018929200246930122, -0.015965048223733902, 0.012379969470202923, 0.06494779139757156, -0.04508817195892334, 0.009161662310361862, -0.002750610001385212, -0.015015935525298119, -0.0028165134135633707, 0.001113884150981903, -0.04702615737915039, -0.024444639682769775, -0.022659435868263245, 0.028165969997644424, -0.01637844182550907, -0.040907010436058044, -0.036355141550302505, 0.017472712323069572, -0.01711619831621647, 0.018947582691907883, 0.0056123388931155205, -0.033595550805330276, -0.025735778734087944, 0.004489196464419365, 0.0355103462934494, -0.024305379018187523, -0.010469124652445316, 0.006885018665343523, -0.02671005018055439, 0.041699498891830444, -0.024980302900075912, 0.03590280935168266, 0.06128951162099838, 0.004393917042762041, 0.017337163910269737, -0.04267459735274315, 0.009012156166136265, 0.02188926935195923, 0.07729257643222809, -0.018453726544976234, -0.005080993287265301, -0.04036834463477135, 0.014171238988637924, 0.00559773575514555, 0.02124105393886566, -0.0240333192050457, 0.003400501562282443, 0.0034632214810699224, 0.054587047547101974, -0.012103145942091942, 0.002454184228554368, 0.002441129880025983, -0.014347994700074196, 0.05785592272877693, -0.06355955451726913, -0.031012289226055145, -0.01796407252550125, -0.041566189378499985, 0.022297866642475128, -0.011813030578196049, 0.006734644994139671, -0.04616343602538109, 0.048394910991191864, 0.029393494129180908, -0.010928266681730747, 0.021680952981114388, -0.01000836119055748, 0.010478368028998375, -0.03209417685866356, -0.020684460178017616, -0.08290573954582214, 0.023468805477023125, 0.024876432493329048, -0.0002753215376287699, -0.04278842732310295, 0.013373258523643017, -0.039377663284540176, 0.033388182520866394, -0.06578822433948517, -0.03686977177858353, 0.044704653322696686, 0.0031565844547003508, -0.004617057740688324, 0.003783513093367219, -0.04521862789988518, 0.02259751409292221, 0.05525268614292145, -0.03766046464443207, -0.03147656470537186, -0.045371707528829575, 0.017456702888011932, -0.022428592666983604, 0.014544695615768433, -0.024207115173339844, 0.02594800665974617, 0.07014967501163483, 0.01741764508187771, 0.008690522983670235, 0.0428488664329052, -0.02285274676978588, 0.06886647641658783, 0.03213939070701599, 0.01625204086303711, -0.004502624738961458, 0.03299380838871002, 0.0008993454976007342, -0.048848122358322144, 0.04945290461182594, 0.004674765281379223, -0.008973533287644386, -0.050982989370822906, 0.07419098168611526, 0.013299853540956974, -0.032127220183610916, -0.005109359510242939, 0.028330547735095024, -0.02401905134320259, -0.026714976876974106, -0.04605158045887947, -0.023732947185635567, -0.02738933451473713, 0.042573150247335434, -0.0179363414645195, -0.0024356471840292215, 0.07765016704797745, -0.012967661954462528, -0.020664293318986893, 0.02166740968823433, 0.07595861703157425, 0.0757184624671936, 0.04099838063120842, -0.00996908824890852, 0.08774492889642715, 0.0011552906362339854, -0.029371341690421104, -0.00991322286427021, -0.04049623757600784, -0.009074529632925987, -0.0256669819355011, 0.004112951923161745, 0.07284953445196152, -0.013765661977231503, 0.08358348906040192, -0.017444776371121407, -0.030665909871459007, 0.029583223164081573, 0.007613096386194229, 0.027674317359924316, 0.038737960159778595, 0.011702646501362324, 0.05685470998287201, -0.025483621284365654, -0.0030606305226683617, 0.054378483444452286, -0.037569668143987656, -0.00624540401622653, 0.00484893936663866, -0.027365736663341522, 0.02222485840320587, -0.013483996503055096, 0.04585425928235054, 0.05888674408197403, -0.03263787925243378, -0.015795066952705383, -0.007823266088962555, 0.020158905535936356, 0.009920699521899223, 0.02283608168363571, -0.004470706917345524, 0.020523320883512497, -0.013626468367874622, -0.010647534392774105, -0.01613669842481613, -0.018219077959656715, -0.03483958914875984, 0.011575456708669662, -0.017473462969064713, 0.016761068254709244, -0.004638020880520344, -0.018717540428042412, -0.04847727343440056, -0.042914845049381256, -0.03633200749754906, -0.07204226404428482, -0.09818092733621597, -0.00536939175799489, 0.021718863397836685, -0.013351241126656532, -0.0349799208343029, 0.002154729561880231, 0.0025796759873628616, -0.029009530320763588, 0.001495648524723947, -0.022561846300959587, 0.001715366612188518, 0.027035167440772057, 0.014923734590411186, 0.01310980785638094, 0.022835897281765938, 0.058521825820207596, -0.03337062895298004, -0.010091004893183708, -0.03235101327300072, -0.0003286043356638402, 0.06178960204124451, 0.0340254008769989, 0.01417385134845972, -0.07384279370307922, -0.0042369915172457695, 0.029994439333677292, 0.0010760558070614934, -0.07678209245204926, -0.0037151300348341465, 0.03148398548364639, 0.004111277870833874, 0.032457463443279266, -0.035190023481845856, -0.0091500049456954, -0.04560183733701706, 0.001967971445992589, 0.018050873652100563, 0.011158588342368603, 0.03817035257816315, -0.027278805151581764, 0.05772040784358978, 0.011709962971508503, -0.02712780050933361, -0.02369522489607334, -0.00953543372452259, -0.016675150021910667, 0.00417092302814126, -0.050839126110076904, -0.06300074607133865, -0.05263689532876015, -0.09228190034627914, -0.03218933939933777, 0.030031848698854446, -0.01241536159068346, -0.017920322716236115, -0.0018724651308730245, 0.053073056042194366, -0.030607638880610466, 0.05977536365389824, -0.015685807913541794, 0.04318060725927353, -0.02187603898346424, -0.007787409238517284, 0.0008871018071658909, 0.03184961900115013, 0.028674377128481865, 0.041734229773283005, 0.03597741946578026, -0.04120989888906479, 0.015726197510957718, -0.01828416809439659, -0.014651278965175152, 0.036410853266716, 0.00017324218060821295, 0.014493552036583424 ]
[ -0.021852806210517883, -0.028282510116696358, 0.02420632727444172, -0.031225452199578285, 0.09836805611848831, -0.009526104666292667, 0.009311807341873646, 0.013054080307483673, -0.004664185456931591, 0.009747076779603958, -0.030331984162330627, -0.08481121808290482, -0.03312388435006142, 0.011848913505673409, 0.0590214841067791, -0.026601891964673996, -0.02685450203716755, -0.061211224645376205, -0.029848167672753334, 0.021046984940767288, 0.018481744453310966, 0.015615610405802727, -0.02918597310781479, -0.03148502856492996, -0.001955122919753194, 0.04140854626893997, 0.03271004185080528, -0.03047388233244419, 0.0032291042152792215, -0.1875949203968048, 0.010739528574049473, -0.00892692618072033, 0.01311112754046917, -0.018236210569739342, -0.04282422736287117, 0.007816222496330738, 0.02306857518851757, 0.026634132489562035, 0.06563931703567505, 0.0386882945895195, 0.026972537860274315, 0.018262185156345367, -0.054360564798116684, -0.03715633973479271, 0.060990381985902786, -0.025177156552672386, -0.027524011209607124, 0.01766218990087509, -0.005042712669819593, 0.024592552334070206, 0.0015432782238349319, 0.0022983818780630827, -0.009518529288470745, -0.02501770667731762, -0.004648473579436541, 0.06837175786495209, 0.016220955178141594, 0.08053036779165268, 0.028924858197569847, 0.04447684437036514, 0.054317452013492584, -0.03194423392415047, -0.15092483162879944, 0.10644178092479706, -0.016421055421233177, 0.02467014081776142, -0.03771968185901642, 0.01843377575278282, -0.02108911983668804, 0.06303897500038147, 0.03913199529051781, -0.021484041586518288, -0.013921120204031467, 0.05422331765294075, 0.03896605595946312, -0.021810755133628845, -0.04270239174365997, 0.040020652115345, 0.018249254673719406, -0.03810321167111397, -0.03640326112508774, 0.017398621886968613, -0.04137478023767471, 0.0019611367024481297, -0.029306763783097267, 0.020901350304484367, -0.05725003033876419, 0.06987212598323822, 0.0026645041070878506, 0.04859909787774086, 0.046325620263814926, -0.02537931129336357, 0.01803274266421795, 0.0008993902592919767, -0.10816445201635361, -0.04909105598926544, -0.0035960304085165262, 0.004647914785891771, -0.018948514014482498, 0.40114063024520874, -0.017023703083395958, -0.00012210496061015874, 0.04591589421033859, 0.052321434020996094, -0.004465509671717882, -0.03244274482131004, -0.006084518041461706, -0.0659136176109314, -0.0026569408364593983, 0.028874265030026436, -0.009319834411144257, -0.01742156781256199, 0.010810630396008492, -0.027185935527086258, -0.015191410668194294, -0.010426373220980167, 0.022940443828701973, 0.035827912390232086, -0.022787703201174736, 0.03288726136088371, -0.0373496487736702, 0.027226632460951805, -0.017473498359322548, 0.015487058088183403, 0.011364920996129513, 0.01255415566265583, 0.031008480116724968, 0.030728813260793686, 0.04456675797700882, 0.026344768702983856, 0.044325727969408035, -0.009942842647433281, -0.07256016880273819, 0.003388939658179879, -0.01952369697391987, 0.005965409334748983, 0.026777559891343117, -0.02087586559355259, -0.006503894459456205, 0.06435026973485947, 0.007777262479066849, -0.013543215580284595, 0.06005275249481201, -0.02971348725259304, -0.011632746085524559, 0.10640997439622879, -0.009437677450478077, -0.05281728878617287, 0.0023023628164082766, -0.043015506118535995, 0.028288574889302254, 0.012603283859789371, -0.016509104520082474, -0.03413892164826393, -0.029397841542959213, 0.035810425877571106, 0.022063491865992546, 0.0005808925488963723, -0.030218401923775673, 0.010767864063382149, -0.021168123930692673, -0.02232699654996395, 0.014552637934684753, 0.040408093482255936, 0.019617833197116852, -0.13988785445690155, -0.027739357203245163, -0.0022532709408551455, 0.001828772947192192, -0.08194322884082794, -0.03605704754590988, 0.019032709300518036, -0.021201396360993385, 0.012193596921861172, 0.07710912823677063, 0.024642396718263626, -0.03759458288550377, 0.00786381121724844, 0.05882790684700012, -0.012965437024831772, -0.017181897535920143, -0.018049700185656548, -0.018233031034469604, -0.04029944911599159, -0.04621582478284836, -0.04315792769193649, -0.06173032522201538, -0.0255136601626873, -0.016192497685551643, 0.010382313281297684, -0.007622864563018084, -0.021613046526908875, -0.0582178570330143, 0.036857832223176956, -0.032593734562397, -0.026845870539546013, 0.007023479323834181, -0.04795573651790619, 0.04634864255785942, -0.018585078418254852, -0.009475039318203926, 0.00281314505264163, -0.02195349894464016, 0.016491174697875977, -0.005821817088872194, 0.0436406284570694, 0.0955289751291275, -0.04744882136583328, 0.07364805787801743, 0.016373442485928535, -0.03246287629008293, -0.017191853374242783, -0.004785875789821148, -0.028030257672071457, 0.02651229500770569, 0.0015149888349696994, -0.0033069620840251446, -0.0006790504558011889, 0.0060211652889847755, 0.06950638443231583, -0.03699905425310135, -0.028386786580085754, -0.03196205571293831, -0.3490419387817383, -0.05553683638572693, -0.026317408308386803, 0.021772706881165504, -0.005353638902306557, -0.013010667636990547, -0.008601594716310501, -0.0011874496703967452, 0.029305804520845413, 0.009859743528068066, 0.13912248611450195, -0.026845330372452736, -0.00972685869783163, -0.07194864749908447, -0.013241359032690525, 0.033571042120456696, -0.04990440234541893, -0.0008336736937053502, -0.022289643064141273, 0.001325072254985571, 0.0366419181227684, 0.006219375412911177, -0.05871676281094551, -0.04112868756055832, -0.01270765345543623, -0.06502160429954529, 0.11682623624801636, 0.0006172946887090802, 0.03778161108493805, -0.06763221323490143, 0.04508556053042412, -0.0359916090965271, -0.004117879550904036, -0.0661066323518753, -0.0013724624877795577, -0.005475382786244154, 0.013269632123410702, 0.018611041828989983, 0.009194494225084782, -0.04666059836745262, -0.06202203780412674, 0.03790397569537163, -0.053828272968530655, -0.05008748173713684, -0.032503753900527954, 0.046823129057884216, -0.02389233186841011, -0.04260000213980675, 0.005311906803399324, 0.06830833107233047, 0.007838655263185501, -0.0040863389149308205, 0.04901659116148949, -0.0020200377330183983, 0.03608827665448189, -0.024302249774336815, -0.07200159877538681, 0.004119159188121557, -0.002933492884039879, 0.017391182482242584, 0.0200512558221817, 0.016881046816706657, 0.04710305109620094, -0.07018258422613144, 0.02158861793577671, 0.035854894667863846, -0.018272917717695236, -0.021522119641304016, 0.042353399097919464, -0.01652105338871479, -0.016267187893390656, 0.058970704674720764, 0.020086398348212242, 0.014362229034304619, 0.059666965156793594, 0.007649596780538559, 0.02861873432993889, 0.0542556531727314, 0.049403537064790726, 0.042349282652139664, 0.03079880215227604, -0.02000095322728157, 0.06392258405685425, -0.03048662841320038, -0.017174994572997093, 0.05893491581082344, 0.011347120627760887, -0.05623343959450722, 0.022933630272746086, -0.007264690939337015, 0.014243544079363346, 0.01539787370711565, -0.004431796260178089, -0.07215026766061783, 0.03538171201944351, -0.03127777576446533, -0.2736102342605591, 0.016204269602894783, 0.09018541127443314, 0.04401727393269539, -0.01581665873527527, 0.022045543417334557, 0.036066971719264984, -0.006707437802106142, -0.013218406587839127, 0.006911655887961388, 0.007065602112561464, 0.023154640570282936, 0.0020527062006294727, -0.051116544753313065, 0.02195647358894348, -0.02821771427989006, 0.031081512570381165, 0.012172648683190346, 0.032892487943172455, -0.0003179609775543213, 0.04896645247936249, -0.012254132889211178, 0.17653612792491913, 0.02069699950516224, 0.020689168944954872, 0.06892015039920807, -0.018295468762516975, -0.03484426066279411, 0.06449444591999054, -0.0011464531999081373, -0.010279027745127678, -0.0013867031084373593, 0.03583312779664993, 0.04492178186774254, 0.024243144318461418, -0.06884811073541641, -0.019166290760040283, 0.07605128735303879, -0.011723845265805721, -0.025885866954922676, 0.00519047025591135, 0.03143352270126343, -0.0523160845041275, 0.018285304307937622, 0.047578584402799606, 0.00487247621640563, -0.008170721121132374, 0.015494310297071934, -0.04868330433964729, -0.016636725515127182, -0.0382794514298439, -0.06847721338272095, -0.0361039973795414, -0.04882116615772247, -0.0061309561133384705, 0.0805412158370018, 0.02949211746454239, -0.038369569927453995, 0.010959104634821415, 0.015072107315063477, -0.007694161497056484, -0.057626672089099884, 0.0802311822772026, -0.018506929278373718, 0.0637011006474495 ]
[ 0.0316389724612236, 0.044314999133348465, 0.026955286040902138, 0.00652903551235795, 0.0531071312725544, 0.03373481705784798, -0.0005095997476018965, 0.01706056110560894, -0.024504447355866432, -0.03151068836450577, -0.0067597427405416965, 0.023365119472146034, -0.010171442292630672, -0.022847669199109077, 0.022890465334057808, -0.008903609588742256, -0.028696687892079353, 0.01406888011842966, 0.02027132734656334, -0.005572202615439892, -0.020985975861549377, -0.008145028725266457, 0.018309205770492554, -0.0028664846904575825, 0.0015865270979702473, 0.03737765550613403, -0.0027269762940704823, 0.018788009881973267, 0.016473572701215744, -0.1430055797100067, -0.020132016390562057, -0.05432084947824478, -0.01621522568166256, 0.0095808245241642, -0.05808467045426369, -0.02065867744386196, -0.00916557852178812, -0.03222615644335747, 0.02408384531736374, 0.012747149914503098, 0.005395948886871338, -0.018142851069569588, -0.008004310540854931, 0.021785305812954903, 0.008512592874467373, -0.007907262071967125, -0.03035612218081951, -0.01056933868676424, -0.017781762406229973, -0.003440061118453741, -0.017280330881476402, -0.048319391906261444, -0.02474340982735157, -0.004403569269925356, -0.016631118953227997, -0.007038065232336521, -0.07529833912849426, 0.01842559687793255, 0.024768130853772163, -0.0012136590667068958, 0.017591577023267746, -0.006458835210651159, 0.00809548981487751, -0.02554408833384514, 0.008350754156708717, -0.036102913320064545, -0.019614078104496002, -0.01443461049348116, 0.00376806128770113, -0.017413726076483727, 0.046789489686489105, 0.030260683968663216, -0.017442958429455757, -0.04055255651473999, -0.011731608770787716, -0.0048635732382535934, -0.0390939861536026, 0.010021625086665154, -0.005934098735451698, -0.01987810619175434, 0.006869808305054903, -0.003914218861609697, 0.006589888129383326, 0.053279392421245575, 0.005192993208765984, -0.010025682859122753, -0.013243664056062698, 0.020729301497340202, 0.0045751119032502174, 0.002389456145465374, -0.028488321229815483, 0.003954405430704355, -0.014026814140379429, 0.06503985822200775, -0.08143738657236099, 0.009831336326897144, -0.019833894446492195, -0.026297150179743767, -0.05325963720679283, 0.8424288034439087, -0.01011775154620409, 0.004997975658625364, 0.022228339686989784, 0.007953137159347534, 0.030452638864517212, -0.008670839481055737, -0.006146382074803114, -0.009783466346561909, -0.017863120883703232, -0.02885410748422146, 0.012512831017374992, 0.01772039197385311, -0.002758982591331005, 0.03866566717624664, -0.022121412679553032, -0.0024027563631534576, 0.03595370054244995, 0.008137296885251999, 0.011882121674716473, 0.03860384225845337, 0.018264098092913628, 0.0018497653072699904, -0.04207756742835045, -0.030392207205295563, 0.008290939964354038, -0.17835232615470886, -0.009008307009935379, -6.82668785050425e-33, 0.036136265844106674, 0.011492330580949783, 0.03208037093281746, -0.004175628535449505, -0.031153511255979538, -0.02542458102107048, -0.00897818524390459, 0.01590222492814064, -0.007768580224364996, -0.032795049250125885, -0.016041358932852745, -0.0024712360464036465, -0.02890232764184475, 0.003340262919664383, 0.05244585499167442, 0.009707710705697536, -0.013282851316034794, 0.02205926552414894, -0.013046538457274437, 0.011602898128330708, -0.0025673299096524715, 0.0037293077912181616, 0.00404359120875597, -0.001297335373237729, -0.01734834723174572, 0.03770671412348747, -0.004104529973119497, 0.03188379853963852, -0.027142085134983063, -0.041794225573539734, -0.002222595503553748, -0.000791527796536684, 0.021663565188646317, 0.03001520410180092, 0.05658964440226555, -0.03257892653346062, -0.021756067872047424, 0.006799977272748947, -0.022227954119443893, -0.02400735765695572, -0.03473267704248428, -0.022297821938991547, -0.043915681540966034, 0.022743074223399162, -0.029177241027355194, -0.025521650910377502, -0.013039346784353256, 0.030744830146431923, 0.007932096719741821, -0.0010971066076308489, 0.006738415453583002, 0.02752719633281231, -0.040441080927848816, -0.025103449821472168, -0.0008595822728239, -0.0006502539617940784, -0.01892155036330223, 0.03205760568380356, -0.0195782408118248, -0.004106068518012762, 0.023771706968545914, -0.03415723145008087, 0.013158616609871387, 0.04996710270643234, -0.014398863539099693, 0.0025922267232090235, 0.0013515776954591274, -0.0014986080350354314, 0.011286143213510513, -0.040362920612096786, -0.019250718876719475, 0.04354285076260567, 0.0031354918610304594, -0.01916550099849701, 0.029618164524435997, -0.03748951852321625, 0.0049551003612577915, 0.02866816148161888, 0.01564047671854496, 0.030549431219697, 0.034967709332704544, -0.031303770840168, 0.026044463738799095, -0.04134564846754074, 0.01565912738442421, -0.033775512129068375, 0.04465265944600105, 0.031874243170022964, 0.01611543819308281, 0.03971850872039795, 0.045796338468790054, 0.06319954246282578, 0.007577929180115461, -0.006879148539155722, -0.02644619718194008, 7.219196434503351e-33, -0.02865896001458168, 0.0004831206169910729, -0.015575321391224861, -0.006849734578281641, -0.0053546009585261345, -0.015401256270706654, 0.03883703798055649, 0.03554363548755646, -0.0183997955173254, 0.05793137103319168, -0.054384708404541016, 0.0005699485191144049, -0.006072038318961859, 0.008180527947843075, 0.04369538649916649, -0.02127189189195633, 0.026088589802384377, -0.00003425465547479689, 0.008213937282562256, -0.009177729487419128, -0.010184665210545063, 0.001021396485157311, 0.019010642543435097, 0.0037819177377969027, -0.01574387215077877, 0.057216402143239975, -0.00027486239559948444, -0.00925744790583849, -0.02987471967935562, -0.006795511581003666, 0.016323983669281006, -0.04742363095283508, 0.03178123012185097, -0.018234044313430786, 0.012599841691553593, 0.02909145876765251, 0.005234868265688419, 0.006435703951865435, 0.012875840067863464, -0.015378003939986229, -0.005820375867187977, -0.04043184220790863, 0.013481663540005684, 0.00369396829046309, 0.011008982546627522, -0.061005547642707825, 0.004004935268312693, 0.004534569103270769, 0.0026640244759619236, 0.023537175729870796, -0.00410047173500061, 0.027662113308906555, -0.009128366596996784, 0.03352750837802887, 0.028702029958367348, -0.020903367549180984, -0.05308876931667328, 0.005614512134343386, -0.0005928243044763803, 0.002254330087453127, -0.01036522351205349, -0.04023858159780502, -0.03892548009753227, 0.061291228979825974, -0.0003074991691391915, 0.020771723240613937, -0.028384722769260406, -0.04440460726618767, 0.0014158105477690697, 0.0442143976688385, 0.0039288997650146484, -0.011238882318139076, 0.009950879029929638, 0.020829346030950546, 0.008875064551830292, -0.011552099138498306, 0.026807276532053947, 0.008494783192873001, -0.004102333914488554, 0.01607598550617695, 0.019779568538069725, -0.039646998047828674, 0.018666720017790794, -0.030456937849521637, 0.021449271589517593, -0.016422640532255173, -0.019276902079582214, -0.0025380058214068413, -0.008154484443366528, -0.016178665682673454, 0.03082207776606083, -0.016928113996982574, -0.03797897696495056, 0.029305236414074898, 0.029542194679379463, -1.2615671174387444e-8, -0.029978910461068153, 0.0201865267008543, -0.00751252006739378, 0.00690340343862772, 0.015398694202303886, -0.012189670465886593, 0.019797788932919502, -0.017169030383229256, -0.0014991543721407652, 0.008928382769227028, 0.02051847241818905, 0.005721747409552336, 0.006309574004262686, 0.006379864644259214, 0.011503363959491253, -0.060897525399923325, -0.0023156781680881977, 0.002101367339491844, 0.03286789730191231, 0.045751336961984634, -0.01797160506248474, 0.02580193057656288, 0.011841712519526482, 0.006779488641768694, 0.02258901298046112, -0.024592634290456772, -0.0013511957367882133, -0.047473277896642685, 0.00648804847151041, 0.0038213678635656834, 0.0360468290746212, -0.020841099321842194, 0.016983874142169952, -0.00749455951154232, -0.03766702860593796, -0.03853900730609894, 0.032113902270793915, 0.007882019504904747, 0.005944614764302969, 0.0353722870349884, 0.0181654654443264, 0.023084204643964767, -0.005003215745091438, -0.02075548656284809, 0.027835365384817123, 0.009706692770123482, 0.0010112199233844876, -0.0016178664518520236, 0.018015651032328606, -0.027804818004369736, -0.013197537511587143, -0.027158105745911598, -0.0012817754177376628, -0.010837688110768795, 0.03849267587065697, -0.015653537586331367, 0.03892790153622627, 0.00761693948879838, -0.0340762659907341, 0.004556055646389723, 0.00935598649084568, 0.03826179355382919, -0.009685921482741833, -0.011662647128105164 ]
leaflet-js-resizing-a-map-to-keep-a-circle-diameter-inside-it
https://markhneedham.com/blog/2013/06/30/leaflet-js-resizing-a-map-to-keep-a-circle-diameter-inside-it
false
2013-06-06 22:36:04
The Affect Heuristic
[ "software-development" ]
[ "Software Development" ]
In my continued reading of Daniel Kahneman's http://www.amazon.co.uk/Thinking-Fast-Slow-Daniel-Kahneman/dp/0141033576/ref=sr_1_1?ie=UTF8&qid=1370274373&sr=8-1&keywords=thinking+fast+and+slow[Thinking Fast and Slow] I've reached the section which talks about *the affect heuristic* which seems particularly applicable to the technical decisions that we make. ____ The dominance of conclusions over arguments is most pronounced where emotions are involved. The psychologist Paul Slovic has proposed an affect heuristic in which *people let their likes and dislikes determine their beliefs about the world*. ____ The way I've seen this heuristic coming into play in the software world is when we do an 'objective' overview of the technical tools/options that we could use to solve a particular problem. We may do this by coming up with a list of advantages/disadvantages for each technology but the way we come up with this will probably be influenced by which of the technologies we prefer. We'll therefore place strong emphasis on the advantages of a technology and not think too much of disadvantages or work arounds that we have to implement. For example if Clojure were the technology in question then as an advocate of Clojure you might focus on the reduced lines of code and benefits of the functional way of programming and place less emphasis on the learning curve that new team members will have to overcome. Equally if you weren't a fan of Clojure then you'd do the opposite. I covered similar ground in http://www.markhneedham.com/blog/2013/02/28/compatible-opinions-confirmation-bias/[a post I wrote a few months ago] about compatible opinions where I suggested people used confirmation bias to back up their own opinions. I think the affect heuristic is slightly different though because it applies even when we think we're being impartial in our judgement. When I read things I like to try and think what action I should be taking as a result of learning new information. In this case I think the take away is to be more self aware than usual when talking about things we're passionate about. One way to achieve that could be to run our opinions via someone who is knowledgeable in the subject area but is less emotionally involved. It'd be interesting to see whether this resonates with others as well and how you handle it.
null
null
[ -0.00009038309508468956, 0.03198771923780441, -0.025644654408097267, 0.04496455937623978, 0.07849354296922684, 0.03062671609222889, 0.012761599384248257, 0.0361001156270504, 0.03908504545688629, -0.03578955680131912, -0.020520024001598358, -0.005200780928134918, -0.04329781234264374, -0.003964633215218782, -0.033004045486450195, 0.07094191759824753, 0.04989069700241089, -0.004519625101238489, 0.01102192047983408, -0.002535274950787425, 0.0320802740752697, 0.0831962451338768, 0.01897866278886795, 0.03208821639418602, 0.042261868715286255, -0.010038294829428196, 0.02304978296160698, -0.012410067953169346, -0.05295878276228905, 0.003542018821462989, 0.04025883600115776, 0.02018403820693493, -0.020521650090813637, 0.01429967861622572, 0.009053097106516361, -0.002778222318738699, -0.01392914354801178, 0.005784073378890753, 0.003261683974415064, 0.024902477860450745, -0.07454752177000046, 0.06089414656162262, -0.00640359940007329, 0.01752166636288166, -0.03766854852437973, 0.011338426731526852, -0.05215785279870033, 0.01949712634086609, 0.0061107506044209, -0.001436577644199133, -0.05533784255385399, 0.03366541117429733, 0.008850623853504658, 0.008336490951478481, -0.016402337700128555, 0.0391504131257534, 0.021969590336084366, -0.06603961437940598, 0.003296289825811982, -0.04112214967608452, -0.007910597138106823, -0.016209835186600685, 0.014451147988438606, 0.038325224071741104, 0.023427031934261322, -0.032703813165426254, -0.021785007789731026, 0.03853655233979225, -0.04257327690720558, 0.007662814576178789, -0.02745966427028179, 0.0028072651475667953, -0.017295382916927338, -0.0011550700291991234, -0.007743000518530607, -0.04644984379410744, 0.0060933963395655155, 0.0553337000310421, 0.015618442557752132, 0.029934769496321678, -0.012831654399633408, 0.023841602727770805, 0.010187503881752491, 0.03414051607251167, -0.0036662952043116093, -0.028612324967980385, 0.02680128812789917, -0.02065911330282688, -0.07658044248819351, 0.049760013818740845, 0.016749858856201172, -0.0572073720395565, -0.0007887184037826955, 0.03061525709927082, -0.0037855368573218584, 0.0060797990299761295, 0.03899844363331795, 0.00040042283944785595, -0.01592952013015747, -0.03707907348871231, -0.02054995484650135, -0.04442295804619789, -0.009282338432967663, -0.0049863955937325954, -0.08827152848243713, -0.019566012546420097, -0.008543642237782478, -0.018483934924006462, 0.01315887738019228, 0.009380688890814781, -0.034943196922540665, 0.02889023721218109, -0.006371024996042252, 0.006809605751186609, -0.07064805924892426, 0.06163939833641052, -0.008888229727745056, -0.047606486827135086, 0.0008244639029726386, 0.010320386849343777, 0.035671986639499664, 0.014664463698863983, -0.02330293320119381, 0.07243206351995468, 0.012055404484272003, 0.015812594443559647, -0.0029885454569011927, 0.0394725501537323, -0.0012477838899940252, -0.04580645263195038, -0.0036564981564879417, 0.05307628959417343, -0.040400683879852295, -0.013148771598935127, -0.03046054020524025, -0.030387451872229576, 0.013256621547043324, -0.00247505446895957, 0.02463947981595993, 0.06794624775648117, 0.015523742884397507, -0.06507547944784164, 0.02834845893085003, 0.0008641265449114144, 0.026862598955631256, -0.01020482275635004, 0.026339463889598846, 0.009225842542946339, -0.04764300212264061, -0.042669884860515594, 0.0014476041542366147, 0.005332613363862038, 0.028642792254686356, -0.029813941568136215, 0.03262733668088913, 0.08388136327266693, 0.030839310958981514, 0.03632828965783119, -0.0006688837893307209, 0.02736111916601658, 0.03545518219470978, 0.029223307967185974, 0.022075384855270386, 0.009431329555809498, 0.03286388888955116, -0.015356280840933323, 0.009969005361199379, 0.06491661071777344, -0.003448497038334608, 0.004203852266073227, -0.04362424090504646, -0.050826456397771835, 0.05184708908200264, -0.038459375500679016, -0.007188002113252878, 0.029792115092277527, 0.06671513617038727, 0.030716804787516594, 0.06381700187921524, -0.0011932114139199257, -0.06771686673164368, 0.035707954317331314, 0.006870748475193977, 0.022184064611792564, 0.014453575946390629, -0.02668883092701435, 0.052503228187561035, 0.02186877839267254, -0.0010308048222213984, 0.05335705727338791, -0.07412491738796234, -0.07848531752824783, -0.017355365678668022, -0.02795945666730404, 0.0663616806268692, -0.039717089384794235, 0.027374155819416046, 0.060295313596725464, 0.018017012625932693, 0.05835939943790436, 0.030829772353172302, -0.009728937409818172, 0.033826008439064026, -0.0157746784389019, -0.03622880578041077, 0.0472714938223362, 0.027191923931241035, -0.00966785941272974, -0.04561770334839821, 0.015338324010372162, -0.02168406918644905, -0.003159052925184369, 0.035822492092847824, -0.007426215335726738, 0.017635198310017586, 0.006626031827181578, 0.06670507788658142, -0.010058985091745853, 0.032413583248853683, -0.03272348642349243, -0.008489531464874744, 0.008356970734894276, 0.008926453068852425, 0.029117444530129433, 0.028494207188487053, 0.10868673771619797, 0.06854206323623657, -0.0535036064684391, -0.06115791201591492, 0.02851623110473156, -0.008038594387471676, -0.028077559545636177, 0.0019554041791707277, -0.022000979632139206, 0.017948243767023087, -0.00004829224417335354, -0.04393981024622917, -0.036201730370521545, 0.030728621408343315, -0.053331583738327026, -0.02434854581952095, 0.04952116683125496, -0.00945916585624218, 0.07318135350942612, -0.012749348767101765, -0.0004974775365553796, -0.01612829603254795, -0.01608973927795887, -0.07398603111505508, 0.01776413805782795, -0.006656970363110304, -0.0031377237755805254, 0.031968921422958374, -0.0225411094725132, -0.027368852868676186, -0.041984740644693375, -0.018962668254971504, 0.027501771226525307, 0.0699731856584549, 0.059018272906541824, -0.01425760518759489, 0.06248465180397034, -0.01767723076045513, 0.04397017881274223, -0.0023833191953599453, -0.060657769441604614, -0.041957639157772064, -0.0372735820710659, -0.009988409467041492, 0.03182317689061165, 0.003233858849853277, -0.02093355357646942, 0.03591221198439598, 0.008972560055553913, -0.03967271372675896, -0.014092314057052135, 0.02879626676440239, 0.026468833908438683, -0.011894713155925274, -0.01540575735270977, -0.01422219816595316, 0.07604715973138809, -0.01184073742479086, 0.011647321283817291, 0.012694250792264938, -0.07483503222465515, 0.050684258341789246, -0.05838300287723541, -0.035143475979566574, 0.008708508685231209, 0.025949673727154732, 0.0375078022480011, 0.02314598113298416, 0.02305968664586544, 0.07242929190397263, 0.01821429468691349, 0.022847695276141167, 0.000979471835307777, -0.004135080147534609, 0.041431836783885956, 0.009373302571475506, -0.008450440131127834, 0.034843526780605316, 0.0181170292198658, 0.010832053609192371, -0.03990187123417854, 0.045772384852170944, -0.02022746205329895, -0.28741469979286194, 0.024874849244952202, 0.025678636506199837, -0.04123274236917496, 0.011496078222990036, -0.020408909767866135, 0.020778702571988106, -0.050668712705373764, -0.02573031187057495, 0.007295927964150906, -0.035698872059583664, -0.03323032334446907, -0.02839077077805996, 0.05439220741391182, -0.0046975864097476006, -0.016781548038125038, 0.01099107600748539, -0.04727388918399811, -0.013273603282868862, 0.04810907691717148, -0.010205281898379326, -0.06360001116991043, -0.008111081086099148, 0.043116893619298935, 0.03825080394744873, 0.06002039089798927, -0.07535567879676819, 0.03762917220592499, -0.0605943500995636, 0.012899495661258698, -0.011469748802483082, -0.000010986117558786646, 0.024706007912755013, -0.018605293706059456, 0.017926862463355064, -0.015123780816793442, 0.05020207166671753, -0.006712924689054489, 0.016268517822027206, 0.04528835043311119, -0.016074908897280693, -0.0024297081399708986, -0.0000748399761505425, 0.024583986029028893, 0.07106839120388031, 0.011891085654497147, -0.08136376738548279, -0.0014917893568053842, -0.02879326604306698, 0.07241176068782806, -0.037582870572805405, -0.03136720135807991, -0.014037525281310081, 0.044980451464653015, -0.01205694954842329, -0.013071410357952118, 0.0025185286067426205, -0.05475235357880592, -0.046152081340551376, -0.03948214650154114, -0.019447945058345795, -0.015133324079215527, -0.005358019378036261, -0.05176731199026108, -0.010912544094026089, -0.07220634818077087, -0.09272140264511108, -0.018039394170045853, 0.056490059942007065, -0.0007034401642158628, -0.0347633920609951, 0.014988139271736145, -0.0034213962499052286, -0.11105049401521683, -0.03397129848599434, -0.010047371499240398, -0.03612293303012848, 0.0034791063517332077, 0.011221259832382202, 0.05406101420521736, -0.022231219336390495, -0.0638725534081459, 0.002518894150853157, 0.01861460693180561, 0.05004081130027771, -0.019888252019882202, 0.028897350654006004, 0.00764346681535244, -0.009611254557967186, -0.0007111982558853924, 0.046939101070165634, -0.004850097931921482, -0.04740350320935249, -0.04456746205687523, 0.02950921654701233, 0.011541719548404217, 0.005464489571750164, -0.02037959359586239, 0.028734764084219933, 0.022841263562440872, -0.014061248861253262, -0.04699362441897392, 0.019706180319190025, -0.016006138175725937, -0.032485272735357285, -0.006054978352040052, -0.038143184036016464, 0.025582222267985344, 0.040234822779893875, 0.020764440298080444, -0.011532056145370007, -0.026834454387426376, 0.01665240339934826, -0.039354875683784485, -0.04236062616109848, -0.022011270746588707, -0.009286774322390556, 0.04313252866268158, 0.00791512057185173, -0.0013489192351698875, -0.04955928400158882, 0.005173009820282459, -0.0316125862300396, -0.0210495013743639, -0.053338125348091125, -0.005460630636662245, -0.013574706390500069, -0.038178764283657074, 0.008037827908992767, 0.031751375645399094, -0.005625617224723101, 0.025360804051160812, 0.02467799186706543, -0.015333334915339947, 0.023191196843981743, -0.04531806707382202, -0.05294209346175194, -0.024219568818807602, 0.0009562754421494901, -0.009965470992028713, -0.006735166534781456, 0.0023703572805970907, 0.01718328520655632, 0.005446907598525286, 0.03382515534758568, 0.009331916458904743, 0.008300107903778553, -0.020975613966584206, 0.012637926265597343, -0.013824270106852055, 0.010256078094244003, -0.04703722521662712, 0.032860830426216125, -0.03010861948132515, -0.005677494220435619, -0.015109578147530556, 0.02651912160217762, -0.015228894539177418, -0.03918008878827095, -0.017569245770573616, 0.015180641785264015, -0.049120690673589706, -0.047780975699424744, -0.04039010778069496, 0.04807077348232269, 0.08353618532419205, -0.020077819004654884, 0.02695527672767639, 0.0006655428442172706, -0.034189265221357346, 0.008741212077438831, 0.0048869820311665535, -0.060481470078229904, 0.005359837785363197, -0.004838941153138876, -0.015007305890321732, -0.0022362321615219116, -0.011052487418055534, 0.022306548431515694, -0.00020316432346589863, -0.02371896058320999, -0.03114394284784794, 0.01576228067278862, 0.02118111588060856, 0.05016808584332466, 0.026276208460330963, -0.0016948619158938527, 0.004438412841409445, -0.02034158818423748, -0.029151009395718575, -0.05605010315775871, -0.0030671930871903896, -0.004384270869195461, 0.0034298275131732225, -0.02505587413907051, -0.05959445983171463, 0.039700161665678024, 0.00012566517398227006, -0.007028742227703333, 0.0034657923970371485, -0.005000314675271511, -0.003023975295946002, -0.032468099147081375, 0.013343962840735912, 0.05092770978808403, -0.06712600588798523, 0.002514284336939454, -0.003355455119162798, -0.00489776162430644, 0.015504514798521996, -0.01362320315092802, -0.056209366768598557, -0.014064031653106213, -0.024280931800603867, -0.0028089452534914017, -0.06391197443008423, -0.021694909781217575, -0.02296503819525242, 0.0003601483767852187, 0.016290640458464622, -0.015172956511378288, -0.024340743198990822, -0.03158781677484512, -0.010658287443220615, -0.008513416163623333, 0.006763594225049019, -0.034511107951402664, 0.006036951672285795, 0.02050066739320755, -0.022983402013778687, -0.002074808580800891, -0.037068113684654236, 0.029419098049402237, 0.02789648063480854, -0.03725530579686165, -0.0114411236718297, -0.010692812502384186, 0.01723717339336872, -0.01709875278174877, 0.026787789538502693, -0.0036104496102780104, -0.032107874751091, -0.04611421748995781, 0.0014908210141584277, -0.03867490589618683, 0.008342194370925426, -0.018718423321843147, -0.011783044785261154, 0.022095516324043274, 0.06391257792711258, 0.0037794699892401695, 0.02331930585205555, -0.023854022845625877, -0.012863604351878166, 0.038436681032180786, -0.03715730085968971, -0.02676237002015114, -0.041048601269721985, -0.04030940309166908, 0.005063056014478207, 0.0034654242917895317, 0.025881106033921242, -0.03738165274262428, 0.03141948580741882, 0.012237618677318096, 0.02923458069562912, 0.030415037646889687, 0.02523786760866642, 0.02331051230430603, -0.06246698275208473, 0.007924900390207767, -0.0890820100903511, -0.026837006211280823, 0.014877538196742535, 0.0078077297657728195, 0.011216859333217144, 0.006472879555076361, -0.024580880999565125, 0.05199318751692772, -0.09738209843635559, -0.009475674480199814, 0.04808151349425316, -0.015800349414348602, -0.02733791433274746, 0.020803239196538925, -0.08133503049612045, 0.018178168684244156, 0.021308371797204018, -0.0401267483830452, -0.03603152930736542, -0.012231625616550446, 0.041619040071964264, -0.009681209921836853, 0.052438884973526, -0.038450513035058975, -0.007649520877748728, 0.07111791521310806, 0.017563872039318085, 0.008573995903134346, 0.04257386550307274, -0.005686649587005377, 0.036733776330947876, 0.025537967681884766, 0.040101438760757446, -0.006977732293307781, 0.017720643430948257, -0.018518056720495224, -0.05579578876495361, 0.043389298021793365, -0.002790554892271757, -0.025754306465387344, -0.034577760845422745, 0.05611250177025795, 0.024289660155773163, -0.008237187750637531, -0.03989216685295105, 0.022163553163409233, -0.07050628960132599, 0.013013852760195732, 0.001969938399270177, -0.022402295842766762, -0.02996828965842724, 0.04886233061552048, -0.018442116677761078, 0.03630315884947777, 0.06084246188402176, 0.009031835943460464, -0.013235600665211678, 0.0024564089253544807, 0.09189730137586594, 0.08088299632072449, 0.08310695737600327, 0.005390217527747154, 0.07201723754405975, -0.010900845751166344, -0.026036666706204414, 0.01047608070075512, 0.0038820654153823853, -0.03298928216099739, -0.026903225108981133, 0.027944069355726242, 0.05268719047307968, -0.022954070940613747, 0.06688687950372696, -0.025298694148659706, -0.019513709470629692, -0.0026964712888002396, 0.04556387662887573, 0.01757502183318138, 0.07680528610944748, 0.010066146031022072, 0.03011806309223175, -0.05076536908745766, -0.05180947482585907, 0.033335208892822266, -0.02168898843228817, -0.0341033972799778, 0.017699651420116425, -0.017010701820254326, 0.034166280180215836, 0.02304263599216938, 0.04250651225447655, 0.08351801335811615, -0.04752350226044655, 0.034529563039541245, 0.002009348012506962, 0.026339707896113396, -0.01834072172641754, 0.008826014585793018, -0.0027426164597272873, -0.015822742134332657, -0.00731881195679307, -0.03182082995772362, -0.030954018235206604, -0.005637706257402897, -0.028234215453267097, 0.02169608697295189, -0.05177680775523186, 0.0068095047026872635, 0.04584626108407974, 0.014490409754216671, -0.0625990703701973, -0.06573009490966797, -0.01718018390238285, -0.04343467205762863, -0.051969535648822784, -0.007209427654743195, 0.017250197008252144, 0.00509824650362134, -0.03658609837293625, -0.022287901490926743, 0.01666046679019928, -0.009654849767684937, 0.04092487320303917, -0.07637728750705719, -0.019085807725787163, 0.010280962102115154, 0.03138226270675659, 0.01658123917877674, 0.009494082070887089, 0.044486675411462784, -0.011583752930164337, -0.007482045330107212, -0.010783345438539982, 0.02477163076400757, 0.027514047920703888, 0.0038718360010534525, 0.013334443792700768, -0.09121828526258469, -0.017316386103630066, 0.03154124692082405, -0.016181040555238724, -0.07319345325231552, 0.04033900424838066, 0.007975523360073566, 0.011605954729020596, 0.06164137274026871, 0.008259722962975502, 0.017600486055016518, -0.05220027640461922, -0.010259825736284256, -0.008104204200208187, 0.00781642459332943, 0.051601409912109375, -0.026021428406238556, 0.09405473619699478, 0.010273313149809837, -0.021120477467775345, -0.06026572361588478, -0.02241213619709015, -0.004249108023941517, 0.005287114530801773, -0.005274795927107334, -0.018997514620423317, -0.012426240369677544, -0.09692028164863586, -0.017680151388049126, 0.03436806797981262, -0.04412518069148064, -0.04115593060851097, 0.026438435539603233, 0.023519374430179596, -0.012572278268635273, 0.04215960577130318, -0.05896005406975746, 0.015994437038898468, -0.0030144047923386097, 0.013247220776975155, 0.006862413138151169, 0.02461899071931839, -0.00040166222606785595, 0.02010633423924446, 0.028733162209391594, -0.05718226358294487, 0.008830704726278782, -0.007561406586319208, 0.018942605704069138, 0.03128623217344284, 0.007302263751626015, -0.020800793543457985 ]
[ -0.0968431830406189, 0.000492171966470778, -0.024630902335047722, -0.030608639121055603, 0.01458006538450718, -0.009203600697219372, 0.010547838173806667, 0.027393821626901627, -0.003403955837711692, -0.020853783935308456, 0.00001376941418129718, -0.009188154712319374, 0.0032938625663518906, -0.01862696185708046, 0.0951225534081459, 0.01839464344084263, 0.011233401484787464, -0.0747014656662941, -0.0071199568919837475, 0.025945249944925308, 0.011822449043393135, -0.04880356416106224, -0.01516053918749094, -0.04431216046214104, 0.011401169933378696, 0.0045552607625722885, 0.056536976248025894, -0.0333932526409626, 0.009387930855154991, -0.17088842391967773, 0.030222836881875992, 0.017323026433587074, 0.06848029047250748, -0.03223256394267082, 0.004680996295064688, 0.054867614060640335, 0.015945857390761375, 0.02045133151113987, -0.05106242746114731, 0.037879593670368195, 0.007188619114458561, 0.006965670268982649, -0.03143008425831795, -0.008387848734855652, 0.025386082008481026, 0.010290076956152916, 0.022053677588701248, -0.02831917069852352, -0.07339637726545334, -0.008473374880850315, -0.055429697036743164, -0.03167438879609108, -0.010601654648780823, -0.030114369466900826, -0.014575838111341, 0.0226532444357872, 0.02503739297389984, 0.08690523356199265, 0.008766597136855125, -0.004078912083059549, 0.02594820223748684, 0.0034760090056806803, -0.15481878817081451, 0.09841670095920563, 0.043455254286527634, 0.05213057994842529, -0.03608325496315956, -0.038878533989191055, -0.029124297201633453, 0.08861639350652695, 0.0021053769160062075, -0.0031198940705507994, -0.014279419556260109, 0.03370095044374466, 0.022944003343582153, 0.0031655337661504745, 0.011696798726916313, 0.021170062944293022, 0.03397097811102867, -0.0534609816968441, 0.010302037931978703, 0.04572100564837456, -0.054980333894491196, -0.005815787240862846, -0.01999950036406517, 0.023059731349349022, -0.026569772511720657, 0.043280716985464096, 0.01716172695159912, 0.007541297934949398, 0.026276273652911186, -0.014579907059669495, 0.04386751353740692, -0.0160493403673172, -0.06978479772806168, -0.003014074405655265, 0.006103323772549629, 0.018508967012166977, -0.0490725003182888, 0.4135122001171112, -0.025463396683335304, 0.007372875232249498, 0.06897701323032379, 0.042910922318696976, 0.014556343667209148, -0.008728458546102047, 0.0024095650296658278, -0.06580225378274918, 0.03135433420538902, -0.011991642415523529, 0.022119855508208275, 0.0005426634452305734, 0.07210075855255127, -0.01796518638730049, 0.0029414284508675337, 0.03173963353037834, 0.03660198301076889, 0.021028703078627586, 0.028696460649371147, -0.013420715928077698, -0.023461708799004555, 0.03464200720191002, 0.020897990092635155, -0.027134256437420845, -0.01569698005914688, -0.04778992384672165, 0.00472276983782649, 0.07903347164392471, 0.010652107186615467, -0.017678746953606606, 0.05925359949469566, -0.06325196474790573, -0.039809636771678925, 0.019348228350281715, 0.010557464323937893, 0.0037578733172267675, 0.002045143162831664, -0.029409637674689293, 0.0017466573044657707, 0.05526819825172424, 0.023191509768366814, -0.0035861844662576914, 0.009193764068186283, -0.038800377398729324, -0.04948222637176514, 0.1168229952454567, 0.06610095500946045, -0.033474210649728775, -0.0134076913818717, -0.003913735970854759, -0.0013408531667664647, 0.0290999598801136, -0.01630007103085518, -0.07537326216697693, 0.00047511988668702543, 0.02489873208105564, 0.08246579766273499, 0.007017915602773428, -0.09470658749341965, 0.0037300358526408672, -0.010535486042499542, 0.00923861749470234, -0.0649072602391243, 0.049702443182468414, 0.04895060136914253, -0.053703878074884415, -0.0025750265922397375, -0.001309433369897306, 0.0468083880841732, -0.03273472934961319, -0.01477146428078413, 0.01524975337088108, -0.01113454345613718, 0.006038156803697348, 0.051906928420066833, -0.02983449585735798, -0.0367768295109272, 0.001068897545337677, 0.043145835399627686, 0.014685802161693573, 0.02996598556637764, -0.006619257852435112, -0.025928933173418045, -0.007106154691427946, -0.04070442542433739, -0.056888945400714874, -0.04107257351279259, -0.014872264117002487, -0.03436807170510292, -0.004790756851434708, -0.0006529217353090644, -0.0018568049417808652, -0.06566614657640457, 0.11133020371198654, -0.04841239005327225, -0.036549679934978485, -0.0017035441705957055, 0.007008335553109646, -0.06686364114284515, -0.008398648351430893, -0.07090607285499573, 0.020578358322381973, -0.05718313157558441, 0.00854435097426176, -0.05507393553853035, 0.02647779881954193, 0.04103066772222519, -0.07001026719808578, 0.12589959800243378, 0.044698767364025116, -0.014400225132703781, -0.02101018838584423, 0.0015270404983311892, 0.03596789762377739, -0.015296016819775105, -0.00010444691724842414, 0.014621964655816555, 0.00022306450409814715, 0.009623303078114986, 0.012418081983923912, -0.030682679265737534, 0.0050835758447647095, -0.046002283692359924, -0.3489067256450653, -0.07209328562021255, -0.04832346737384796, 0.010645214468240738, 0.047097861766815186, -0.07836947590112686, 0.0025327932089567184, -0.01078947726637125, 0.0007318740244954824, 0.026734231039881706, 0.053146619349718094, -0.010570261627435684, -0.019730625674128532, -0.06597527861595154, 0.026687141507864, -0.018383760005235672, -0.02470768429338932, -0.025490954518318176, -0.0634874776005745, 0.014044968411326408, -0.008188719861209393, 0.026677146553993225, -0.022338975220918655, -0.09592240303754807, -0.018455995246767998, -0.03605249524116516, 0.09599946439266205, -0.005707183387130499, 0.057077646255493164, -0.01089921873062849, 0.0187304075807333, -0.014396301470696926, 0.030971888452768326, -0.10285218060016632, -0.0003054476692341268, 0.0013958100462332368, 0.02859427221119404, -0.04097643867135048, -0.009592842310667038, -0.03303926810622215, -0.0622890368103981, 0.011802381835877895, -0.07732117921113968, -0.03714604303240776, -0.10317042469978333, 0.014233998954296112, -0.00812527071684599, -0.018357466906309128, -0.03783637285232544, 0.057002440094947815, 0.026958927512168884, 0.020867332816123962, 0.025657787919044495, -0.001182560925371945, -0.0019667574670165777, -0.03953509405255318, -0.10548854619264603, 0.009155882522463799, 0.001058149035088718, 0.029027575626969337, 0.014585353434085846, 0.06184606999158859, 0.015262005850672722, -0.059720367193222046, -0.0023645309265702963, -0.02528395503759384, 0.019081927835941315, 0.011177700012922287, 0.03218459710478783, -0.005014744587242603, -0.005594248883426189, 0.12408775836229324, -0.014047018252313137, -0.0060590533539652824, 0.046328626573085785, 0.012797879986464977, 0.003648026380687952, 0.05573112145066261, -0.002827754709869623, 0.004195883870124817, 0.037861403077840805, 0.006564040668308735, 0.03312281519174576, -0.017317088320851326, -0.02748173289000988, -0.016145016998052597, -0.002704086946323514, -0.06157978996634483, 0.0412050224840641, 0.03106442466378212, -0.037853386253118515, 0.027429914101958275, -0.02031130902469158, -0.0744020938873291, 0.07486624270677567, 0.011425312608480453, -0.22693423926830292, 0.034650418907403946, 0.03821074590086937, 0.0596291683614254, -0.0120660699903965, 0.026145942509174347, 0.04244364798069, -0.07200760394334793, 0.0049984208308160305, 0.0016872866544872522, -0.007865812629461288, 0.0355997309088707, 0.02261757291853428, 0.01701749674975872, 0.042556002736091614, -0.02895957976579666, 0.05130649730563164, -0.01995137520134449, 0.018759779632091522, -0.012011384591460228, 0.03940363973379135, -0.0018928556237369776, 0.17449040710926056, 0.00045483632129617035, 0.028278864920139313, 0.028252780437469482, 0.006876938045024872, -0.00025832647224888206, 0.04334552213549614, -0.015892550349235535, -0.003112001344561577, 0.011284012347459793, 0.006963616237044334, -0.016039343550801277, 0.022238662466406822, -0.055979084223508835, -0.041143421083688736, 0.004284413065761328, 0.01777747832238674, 0.0048463549464941025, 0.026362521573901176, 0.027724280953407288, 0.0031172637827694416, 0.017544610425829887, 0.10701373219490051, 0.02162487991154194, 0.006021957844495773, -0.030079666525125504, -0.05263408273458481, 0.0013851962285116315, -0.01873531937599182, -0.03256573900580406, 0.0045269993133842945, -0.006252126302570105, 0.018518993631005287, 0.059697140008211136, 0.04122724384069443, -0.029210321605205536, -0.010243359953165054, -0.020432768389582634, -0.004971753340214491, -0.006234566681087017, 0.12339649349451065, 0.03619205206632614, 0.041452355682849884 ]
[ 0.0063040717504918575, 0.007531362120062113, 0.006171579472720623, -0.004375116899609566, 0.005688457749783993, -0.01885383017361164, 0.020213758572936058, -0.00044609635369852185, 0.013049537315964699, 0.010098475962877274, -0.005500044208019972, 0.007150397635996342, 0.031929802149534225, -0.018041212111711502, 0.02075059711933136, -0.0034576200414448977, 0.0041710627265274525, -0.010943938046693802, 0.01472275611013174, 0.008242555893957615, -0.018485112115740776, 0.005867518950253725, -0.00760208023712039, -0.006848812103271484, -0.033017080277204514, 0.01924051158130169, 0.003220647107809782, -0.025869442149996758, 0.030560627579689026, -0.12320300191640854, -0.03510960936546326, -0.022593775764107704, 0.003630407154560089, 0.0017337740864604712, -0.022884046658873558, -0.0024945763871073723, -0.014102536253631115, 0.0014226631028577685, 0.013590431772172451, 0.012585628777742386, -0.017038555815815926, -0.02288714423775673, -0.016510048881173134, 0.009891275316476822, 0.01804380863904953, 0.026906054466962814, 0.006870037876069546, -0.02611430175602436, -0.018223142251372337, -0.045035455375909805, -0.05829785764217377, -0.010506455786526203, -0.023695489391684532, -0.006996724754571915, 0.019199514761567116, -0.01352254580706358, -0.007787854410707951, 0.018249785527586937, 0.023860430344939232, -0.0046996199525892735, 0.006741931661963463, -0.05232205614447594, -0.040774017572402954, -0.009729101322591305, 0.008261598646640778, -0.0025528185069561005, -0.003451673313975334, 0.01964680477976799, -0.037960439920425415, 0.015533531084656715, 0.03159913048148155, 0.04939879849553108, -0.03085717186331749, -0.03767118975520134, 0.010828659869730473, -0.0015335914213210344, 0.01766609586775303, -0.011196761392056942, 0.01843700371682644, -0.02472732402384281, -0.029479581862688065, 0.0236346498131752, 0.018252283334732056, -0.003704287577420473, -0.0068021900951862335, -0.00491113867610693, 0.02746359445154667, -0.01710502989590168, 0.003656842280179262, 0.009148156270384789, 0.002088216133415699, -0.012842687778174877, 0.00048748767585493624, -0.02804338000714779, -0.08165211230516434, -0.0025832313112914562, -0.00723011652007699, -0.021632537245750427, -0.029165230691432953, 0.8831831812858582, 0.0174523014575243, 0.046111974865198135, 0.0038219427224248648, 0.024508485570549965, 0.0010962552623823285, -0.001784116611815989, 0.005177491810172796, 0.03708173707127571, -0.0015596657758578658, 0.007830238901078701, -0.030280567705631256, 0.020957468077540398, 0.017022626474499702, 0.027853799983859062, -0.004475369118154049, 0.010317321866750717, 0.009826225228607655, 0.018711242824792862, 0.021548261865973473, 0.02297244779765606, 0.012419463135302067, 0.023345984518527985, 0.003242902457714081, -0.001528288470581174, 0.008012954145669937, -0.16566964983940125, -0.009509505704045296, -8.461104746779159e-33, 0.03327329084277153, -0.0020762342028319836, 0.0158665981143713, -0.01599857211112976, -0.04685187712311745, 0.006598103791475296, 0.027272678911685944, -0.0003415859246160835, -0.02756950818002224, -0.019474666565656662, -0.002190470229834318, 0.003348318161442876, 0.00036328405258245766, -0.006079619284719229, 0.03153412789106369, -0.016547981649637222, -0.023062027990818024, 0.02061719261109829, -0.013616946525871754, 0.005895061418414116, 0.028114082291722298, 0.014921204186975956, -0.010991528630256653, 0.006033299025148153, 0.022961700335144997, -0.016961971297860146, 0.016364343464374542, 0.015600275248289108, 0.003693451639264822, -0.03853408247232437, -0.04527425393462181, 0.03474745154380798, -0.017822815105319023, -0.021306753158569336, 0.003783843945711851, -0.042382124811410904, -0.01787712238729, 0.011382408440113068, -0.0048698559403419495, -0.005293592344969511, -0.022604839876294136, 0.0043541365303099155, -0.0236535482108593, -0.009225776419043541, -0.02697339467704296, 0.0024033738300204277, -0.004562716465443373, 0.007895737886428833, 0.025196785107254982, 0.012047525495290756, -0.0038630471099168062, 0.01399831660091877, 0.016498222947120667, -0.017354657873511314, -0.010481353849172592, -0.012287168763577938, 0.01824869029223919, -0.01456201821565628, -0.0017946958541870117, 0.026696767657995224, 0.019437016919255257, 0.014531778171658516, -0.021803991869091988, 0.01699310541152954, -0.0008606932242400944, -0.0037260446697473526, 0.001269937609322369, 0.0245150625705719, 0.019046831876039505, -0.02687947452068329, -0.03485827147960663, -0.013263867236673832, 0.0005795317701995373, -0.01171960961073637, -0.0014202033635228872, -0.0063605294562876225, -0.019425049424171448, 0.012749719433486462, -0.01984541118144989, 0.02464761957526207, 0.0033732254523783922, -0.01873917132616043, -0.01680069975554943, -0.03272772952914238, 0.00609982293099165, 0.018494151532649994, 0.009897290728986263, -0.019003553315997124, 0.0008202250464819372, -0.0009300943929702044, 0.024076303467154503, 0.01433862466365099, -0.016062714159488678, -0.003590516746044159, -0.03893282264471054, 8.391916618657698e-33, 0.015372415073215961, -0.04558694735169411, -0.007672553416341543, 0.027785617858171463, 0.03598162904381752, 0.016334833577275276, 0.005774415098130703, 0.003750508651137352, -0.05553416535258293, 0.015197929926216602, -0.019062181934714317, 0.0035663768649101257, -0.020081276074051857, 0.028228003531694412, 0.03473719581961632, -0.024493318051099777, 0.01753425970673561, -0.03965350612998009, 0.017131460830569267, 0.013800399377942085, 0.013179940171539783, -0.002464026678353548, -0.008676320314407349, 0.012669859454035759, 0.008286031894385815, 0.051790930330753326, -0.010693466290831566, 0.01717468537390232, 0.000999228679575026, 0.007869078777730465, -0.0284122321754694, -0.005349566228687763, 0.005061875097453594, 0.008171598426997662, 0.00850478932261467, 0.019882386550307274, -0.016009220853447914, -0.024741927161812782, 0.014328117482364178, -0.009236487559974194, 0.0036249931436032057, -0.010224098339676857, 0.003629562444984913, 0.01488683931529522, 0.015490500256419182, 0.008340209722518921, -0.00776648661121726, -0.004803108982741833, 0.005323216784745455, 0.016427472233772278, 0.01668132096529007, 0.029230933636426926, 0.008125059306621552, 0.01143429335206747, -0.004429276566952467, -0.031208433210849762, -0.044988855719566345, -0.016027022153139114, -0.011751478537917137, 0.03048899956047535, -0.017252353951334953, -0.016744546592235565, -0.0013759350404143333, -0.004710940644145012, -0.025248665362596512, -0.01862097531557083, 0.0006259681540541351, -0.0016598247457295656, 0.006821601651608944, -0.011240244843065739, -0.04041440784931183, -0.01054250169545412, -0.0022712259087711573, 0.02661103568971157, 0.011681524105370045, -0.02100967802107334, -0.01763046160340309, 0.03129219636321068, -0.018397163599729538, 0.03811503201723099, 0.013843262568116188, 0.015575584024190903, 0.03075544908642769, 0.002048191847279668, -0.012113627977669239, 0.02430644817650318, -0.01279565878212452, 0.015862250700592995, -0.0001355913409497589, -0.024936256930232048, -0.001481026061810553, -0.0046377405524253845, 0.032279931008815765, 0.026762885972857475, -0.027584025636315346, -1.4042684348680723e-8, 0.00173646688926965, -0.02057885006070137, 0.011361983604729176, 0.027211438864469528, 0.0289491955190897, 0.014351765625178814, -0.013392549939453602, -0.021450292319059372, -0.04869849607348442, 0.022817110642790794, 0.029647886753082275, -0.009533003903925419, -0.001989881508052349, 0.014951451681554317, 0.029268775135278702, -0.037103597074747086, 0.010810553096234798, -0.02453683502972126, 0.03872589021921158, 0.015079339034855366, 0.023839227855205536, 0.054198190569877625, 0.002153903478756547, -0.010840498842298985, 0.024115832522511482, -0.024004701524972916, -0.010401101782917976, -0.08690904825925827, -0.02461608685553074, 0.003909159451723099, -0.01724800281226635, -0.04087897017598152, -0.035943422466516495, 0.015961457043886185, 0.020081570371985435, -0.040498968213796616, 0.009326467290520668, 0.03453758358955383, 0.02108919247984886, -0.008718687109649181, -0.00044339304440654814, 0.02746565081179142, -0.0064593530260026455, -0.025608692318201065, -0.012810065411031246, 0.010859765112400055, -0.02889939770102501, -0.0009111646213568747, 0.00030633030110038817, -0.031532593071460724, 0.007617394905537367, 0.006764175370335579, 0.042202867567539215, 0.029635172337293625, 0.033359743654727936, 0.00915774330496788, 0.006741983816027641, -0.04537437856197357, -0.04877111688256264, 0.012939605861902237, 0.010522672906517982, 0.03118458390235901, -0.008142735809087753, -0.01883292943239212 ]
the-affect-heuristic
https://markhneedham.com/blog/2013/06/06/the-affect-heuristic
false
2013-06-24 07:17:15
neo4j Spatial: Indexing football stadiums using the REST API
[ "neo4j" ]
[ "neo4j" ]
Late last week my colleague https://twitter.com/peterneubauer[Peter] wrote up some documentation about http://neo4j.github.io/spatial/#spatial-server-plugin[creating spatial indexes in neo4j via HTTP], something I hadn't realised was possible until then. I previously wrote about http://www.markhneedham.com/blog/2013/03/10/neo4jcypher-finding-football-stadiums-near-a-city-using-spatial/[indexing football stadiums using neo4j spatial] but the annoying thing about the approach I described was that I was using neo4j in http://docs.neo4j.org/chunked/stable/tutorials-java-embedded.html[embedded mode] which restricts you to using a JVM language. The rest of my code is in Ruby so I thought I'd translate that code. To recap, I'm parsing a CSV file of football stadiums that I downloaded from http://www.doogal.co.uk/FootballStadiums.php[Chris Bell's blog] which looks like this: [source,text] ---- Name,Team,Capacity,Latitude,Longitude "Adams Park","Wycombe Wanderers",10284,51.6306,-0.800299 "Almondvale Stadium","Livingston",10122,55.8864,-3.52207 "Amex Stadium","Brighton and Hove Albion",22374,50.8609,-0.08014 ---- The code to process the file and index the stadiums in neo4j is https://github.com/mneedham/neo4j-football-stadiums/blob/master/create_stadiums.rb[as follows] (and is essentially a translation of the +++<cite>+++https://github.com/neo4j/spatial/blob/413317048eee7c2d3b25950d361634fc20c238d2/src/test/java/org/neo4j/gis/spatial/SpatialPluginFunctionalTest.java#L238[find_geometries_within_distance_using_cypher]+++</cite>+++ test): [source,ruby] ---- require 'csv' require 'httparty' require 'json' HTTParty.post("http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer", :body => { :layer => 'geom', :lat => 'lat', :lon => 'lon' }.to_json, :headers => { 'Content-Type' => 'application/json' } ) HTTParty.post("http://localhost:7474/db/data/index/node", :body => { :name => 'geom', :config => { :provider => 'spatial', :geometry_type => 'point', :lat => 'lat', :lon => 'lon' } }.to_json, :headers => { 'Content-Type' => 'application/json' } ) contents = CSV.read(File.join(File.dirname(__FILE__), 'data', 'stadiums.csv')) contents.shift contents.each do |row| name, team, capacity, lat, long = row node_id = HTTParty.post("http://localhost:7474/db/data/node", :body => { :lat => lat.to_f, :lon => long.to_f, :name => name, :team => team, :capacity => capacity }.to_json, :headers => { 'Content-Type' => 'application/json' } )['self'].split("/")[-1] HTTParty.post("http://localhost:7474/db/data/index/node/geom", :body => { :key => 'dummy', :value => 'dummy', :uri => "http://localhost:7474/db/data/node/#{node_id}"}.to_json, :headers => { 'Content-Type' => 'application/json' } ) end ---- One change from the previous version is that I'm not indexing the stadiums using point based geometry rather than wkt. If we want to find the number of stadiums within 10 km of Centre Point in London we'd write the following query: [source,cypher] ---- START node = node:geom('withinDistance:[51.521348,-0.128113, 10.0]') RETURN node.name, node.team; ---- [source,text] ---- ==> +--------------------------------------------+ ==> | node.name | node.team | ==> +--------------------------------------------+ ==> | "Emirates Stadium" | "Arsenal" | ==> | "Stamford Bridge" | "Chelsea" | ==> | "The Den" | "Millwall" | ==> | "Loftus Road" | "Queens Park Rangers" | ==> | "Craven Cottage" | "Fulham" | ==> | "Brisbane Road" | "Leyton Orient" | ==> +--------------------------------------------+ ==> 6 rows ---- I have https://github.com/mneedham/neo4j-football-stadiums[put the code on github] in case you're interested in playing around with it.
null
null
[ 0.026288511231541634, -0.011475375853478909, 0.0025021263863891363, 0.018657909706234932, 0.09030119329690933, 0.000720245239790529, 0.02624894492328167, 0.0459328331053257, 0.019589198753237724, -0.03156602755188942, -0.00022732390789315104, -0.039269234985113144, -0.06798546016216278, 0.027216477319598198, -0.012214919552206993, 0.07291088998317719, 0.04413031041622162, 0.011295866221189499, 0.00864754430949688, -0.005807563662528992, 0.04091556370258331, 0.0630490630865097, 0.009885329753160477, 0.028278818354010582, 0.034200627356767654, 0.017044343054294586, -0.00030322777456603944, 0.017234977334737778, -0.04633904621005058, -0.00802504550665617, 0.04524588584899902, 0.0075981831178069115, 0.024092337116599083, -0.015337427146732807, 0.0273759663105011, -0.005778343882411718, -0.036358628422021866, 0.020563997328281403, -0.006461156066507101, -0.004629258997738361, -0.0658997893333435, 0.04812414199113846, -0.02631474658846855, 0.0306849405169487, -0.04409570246934891, 0.014398293569684029, -0.05221934989094734, 0.04016600549221039, -0.0014869760489091277, 0.023317860439419746, -0.07846581935882568, 0.02266283519566059, -0.018289528787136078, 0.006426962558180094, -0.023049047216773033, 0.05107913166284561, 0.008150297217071056, -0.07584374397993088, 0.03436749428510666, -0.025955824181437492, -0.011969128623604774, -0.02327110432088375, 0.00032380037009716034, 0.02619897946715355, 0.014469735324382782, -0.03195282444357872, -0.01312683429569006, 0.05829714983701706, -0.03654399514198303, -0.010130674578249454, 0.0024303446989506483, 0.022778725251555443, 0.004166570026427507, -0.006886498536914587, 0.009484329260885715, -0.07549038529396057, 0.009910345077514648, 0.08307425677776337, 0.02504163607954979, 0.05675865709781647, -0.03349437937140465, -0.0015266038244590163, -0.0033122883178293705, 0.02164951153099537, -0.0028251956682652235, -0.034907836467027664, -0.033311858773231506, -0.01774679496884346, -0.05608176812529564, 0.04926266893744469, 0.025870615616440773, -0.04745212197303772, -0.004817694891244173, 0.01171118300408125, -0.0026211701333522797, 0.01483440212905407, 0.01697171851992607, 0.01904849335551262, -0.0054751550778746605, -0.033711083233356476, -0.03405890613794327, -0.022372718900442123, -0.010919058695435524, 0.015837498009204865, -0.07265922427177429, -0.04793256148695946, -0.025389820337295532, -0.006249340251088142, 0.011287289671599865, -0.01951703615486622, -0.025599459186196327, 0.012863651849329472, -0.013477537781000137, -0.01399803627282381, -0.0680786743760109, 0.04907526448369026, 0.027028271928429604, -0.016238592565059662, -0.020552940666675568, 0.011404053308069706, 0.042810264974832535, 0.0314093716442585, -0.009160784073174, 0.07409873604774475, -0.01726309210062027, 0.023515356704592705, 0.0026895939372479916, 0.051459092646837234, -0.03855208307504654, -0.059430550783872604, -0.017878979444503784, 0.05710522457957268, -0.020187320187687874, 0.011082874611020088, 0.0008100824197754264, -0.04273419827222824, -0.01910666562616825, -0.0008716813172213733, 0.06405715644359589, 0.028605487197637558, 0.014041781425476074, -0.04776335507631302, 0.01994330622255802, 0.010177074000239372, 0.04628578573465347, 0.005283236503601074, -0.001095128245651722, -0.030780091881752014, -0.02361723594367504, 0.013287168927490711, 0.011985096149146557, 0.016969820484519005, 0.046770963817834854, -0.0322088822722435, 0.008570489473640919, 0.12278223037719727, 0.04484080150723457, 0.0018964617047458887, -0.02269018068909645, 0.04440820589661598, 0.04654987156391144, 0.03444312512874603, 0.009051794186234474, 0.04327530041337013, -0.015915991738438606, -0.017670543864369392, 0.007959063164889812, 0.07157701998949051, 0.020559262484312057, 0.0024783748667687178, -0.032845526933670044, -0.0703602209687233, 0.06356849521398544, -0.030573127791285515, -0.012046853080391884, 0.04181769862771034, 0.06503260880708694, 0.0033570013474673033, 0.03256242349743843, -0.002518507419154048, -0.08094516396522522, 0.03367989510297775, 0.029968254268169403, 0.03471299633383751, 0.012856582179665565, -0.007788623217493296, 0.08591753244400024, 0.0329739935696125, 0.008026023395359516, 0.04034047946333885, -0.08185166120529175, -0.09964247792959213, -0.02866426482796669, -0.01508011482656002, 0.06113012507557869, -0.01792030781507492, 0.028140077367424965, 0.03198961913585663, 0.010097984224557877, 0.033414509147405624, 0.01721935160458088, -0.0033187377266585827, 0.022640230134129524, -0.04616919532418251, -0.05576404184103012, 0.043355975300073624, 0.03521566838026047, -0.03802904859185219, -0.05149337276816368, 0.03238750994205475, -0.013704091310501099, -0.0077813854441046715, 0.033531174063682556, -0.03553725406527519, 0.028311865404248238, 0.012992575764656067, 0.0388469398021698, 0.0021819514222443104, 0.03372405469417572, -0.059568122029304504, 0.029409954324364662, 0.02598482370376587, -0.01877785287797451, 0.020224688574671745, 0.0069871339946985245, 0.11973649263381958, 0.05232667550444603, -0.034768763929605484, -0.05289386957883835, 0.005136752966791391, 0.021282225847244263, -0.025089547038078308, 0.003047185717150569, -0.024025825783610344, 0.008072808384895325, -0.0288154985755682, -0.04128913953900337, -0.03767745569348335, 0.001053068321198225, -0.03278743475675583, 0.0010158412624150515, 0.0568971112370491, -0.014007500372827053, 0.04356823489069939, -0.0033324717078357935, -0.01208276767283678, -0.009423166513442993, -0.03663712367415428, -0.05060776695609093, 0.027712056413292885, 0.0022356233093887568, -0.016289036720991135, 0.032954201102256775, -0.010232587344944477, -0.008677884936332703, -0.03892377391457558, -0.023546813055872917, 0.04118501394987106, 0.05633434280753136, 0.06396909803152084, -0.00925973430275917, 0.05698345974087715, -0.03213987872004509, 0.015760386362671852, -0.030142050236463547, -0.05154750123620033, -0.027708720415830612, -0.04074627533555031, 0.01009972020983696, 0.008467748761177063, 0.026689624413847923, 0.022995600476861, 0.013297154568135738, 0.009063569828867912, 0.004334581550210714, -0.021663637831807137, 0.025413090363144875, 0.00252667092718184, -0.006625709123909473, -0.03121519461274147, -0.04597872495651245, 0.0430944487452507, -0.050103530287742615, -0.032884884625673294, -0.013901046477258205, -0.05350985378026962, 0.04406798258423805, -0.05048169195652008, -0.03110077977180481, -0.004185160622000694, -0.0012971998658031225, 0.034965530037879944, 0.011390401981770992, 0.004092036280781031, 0.04785322770476341, 0.013661638833582401, 0.014329829253256321, -0.0035841884091496468, -0.005101585760712624, 0.02061997354030609, -0.023925568908452988, 0.03378891944885254, 0.04191933572292328, -0.0374278761446476, -0.005846808664500713, -0.04640547186136246, 0.01598239690065384, -0.018422575667500496, -0.2762565612792969, 0.04990401118993759, -0.011800252832472324, -0.04821593314409256, 0.019204149022698402, -0.006017259322106838, -0.017380492761731148, -0.03549780324101448, -0.02607971429824829, -0.009532076306641102, -0.027230003848671913, -0.04762990027666092, -0.00029680872103199363, 0.022655107080936432, 0.02243291772902012, 0.003960138652473688, 0.0008577876724302769, -0.039111051708459854, -0.012976458296179771, 0.043655071407556534, -0.006100552622228861, -0.058403659611940384, 0.003796596312895417, 0.027403054758906364, 0.018977997824549675, 0.0771961361169815, -0.08649808168411255, 0.020193681120872498, -0.056906428188085556, -0.02079010382294655, 0.02395910769701004, -0.02680007368326187, 0.012314592488110065, 0.009209518320858479, -0.046022679656744, -0.0009409087360836565, 0.0315452478826046, 0.012366918846964836, -0.01891709677875042, -0.006430674344301224, -0.028339114040136337, -0.013156476430594921, -0.023629700765013695, -0.0325838141143322, 0.09674771875143051, -0.002743433928117156, -0.08132956922054291, -0.005194313824176788, -0.019973307847976685, 0.05686700716614723, -0.008466510102152824, -0.020320914685726166, 0.008546881377696991, 0.045087240636348724, -0.030277404934167862, -0.04360384866595268, 0.000390907604014501, -0.01895986497402191, -0.0406174473464489, -0.028025373816490173, 0.006281736306846142, -0.044696420431137085, -0.002479500137269497, -0.03657574951648712, 0.0015934441471472383, -0.058325618505477905, -0.06885965913534164, -0.0077622015960514545, 0.053368836641311646, -0.012370862998068333, -0.0352204330265522, 0.025616107508540154, 0.0051714228466153145, -0.10271424055099487, -0.04248129203915596, -0.017622359097003937, -0.033560849726200104, -0.02737979032099247, 0.005181590095162392, 0.0598185770213604, -0.04975373297929764, -0.06397533416748047, -0.00020903382392134517, 0.04050104692578316, 0.008761703968048096, 0.002981974044814706, 0.024263432249426842, 0.0017823288217186928, -0.018345829099416733, 0.004871434066444635, 0.06805103272199631, -0.04636305943131447, -0.011458664201200008, -0.0014414568431675434, 0.0015826222952455282, 0.030237019062042236, 0.003829667344689369, -0.01796809956431389, 0.0205327570438385, 0.08696299046278, 0.027707532048225403, -0.04556544870138168, 0.020480187609791756, -0.007249108515679836, -0.003066849661991, 0.0004750974476337433, -0.03698145970702171, 0.014768385328352451, 0.023415332660079002, 0.02819504588842392, 0.020253941416740417, -0.018844176083803177, 0.016546262428164482, -0.045080188661813736, -0.041344691067934036, -0.008868864737451077, 0.025974532589316368, 0.017777984961867332, 0.032802339643239975, -0.03193773701786995, -0.06376916915178299, 0.024366727098822594, 0.00972749199718237, -0.01881384290754795, -0.05839468911290169, -0.010324371047317982, -0.026686765253543854, -0.020249050110578537, 0.021388933062553406, 0.0029230464715510607, -0.011696762405335903, 0.03755152225494385, 0.03536621853709221, -0.016995131969451904, 0.035924654453992844, -0.012208539992570877, -0.03982451558113098, -0.04518672823905945, 0.03086630441248417, 0.004399637691676617, 0.007848968729376793, 0.009110601618885994, -0.004215920809656382, 0.056957345455884933, 0.03307225555181503, 0.015654055401682854, 0.013856876641511917, 0.004222744144499302, 0.036079660058021545, -0.0024193774443119764, -0.006022420711815357, -0.048743974417448044, 0.019195979461073875, -0.051353298127651215, -0.028429249301552773, -0.010649951174855232, 0.04884294793009758, -0.02318553254008293, -0.018684087321162224, -0.025998033583164215, 0.029486173763871193, -0.0419892817735672, -0.018149789422750473, 0.0031856601126492023, -0.00290302699431777, 0.07331903278827667, -0.010884322226047516, 0.030569251626729965, -0.033488839864730835, -0.000031641429814044386, 0.020607030019164085, 0.0030409980099648237, -0.0485842227935791, 0.00862535834312439, -0.011895662173628807, 0.011514217592775822, 0.00410334812477231, 0.032913688570261, 0.03789542615413666, 0.02066933549940586, -0.014638451859354973, -0.002673559123650193, 0.01834237016737461, 0.03013036772608757, 0.052937377244234085, 0.020713115110993385, -0.018220003694295883, -0.013185899704694748, 0.001044183038175106, -0.016980107873678207, -0.03998064249753952, 0.018932536244392395, -0.03304482251405716, 0.022160453721880913, -0.019432399421930313, -0.06586848199367523, 0.04716823250055313, -0.0037209794390946627, -0.004556578584015369, 0.04187975823879242, 0.012231571599841118, -0.006056120153516531, -0.020227627828717232, 0.02778959833085537, 0.06004548817873001, -0.04559037834405899, -0.019783440977334976, -0.006610937416553497, -0.021145444363355637, -0.006953041069209576, 0.0072270771488547325, -0.04659564048051834, -0.03278869763016701, -0.009122297167778015, 0.027689337730407715, -0.029322270303964615, -0.028401505202054977, -0.0025837644934654236, -0.012968016788363457, -0.00591403478756547, 0.026392001658678055, 0.012487082742154598, 0.004095227457582951, -0.020754164084792137, -0.026459936052560806, 0.04019457846879959, -0.00935140997171402, 0.0044358400627970695, 0.003824702464044094, -0.029724538326263428, 0.030316395685076714, -0.02716697007417679, 0.01739615574479103, 0.03458378091454506, -0.007976275868713856, 0.013135786168277264, -0.043364934623241425, 0.0009509458905085921, -0.012377649545669556, 0.07226187735795975, -0.010948856361210346, -0.015879835933446884, -0.03757267817854881, 0.01762131042778492, -0.046493809670209885, 0.01675986684858799, -0.027376556769013405, 0.0066308556124567986, 0.01081059593707323, 0.03578903153538704, 0.019328977912664413, 0.033129267394542694, -0.021776586771011353, -0.02227623015642166, 0.04974595084786415, -0.05333169922232628, -0.031502045691013336, -0.01932339556515217, -0.04692450538277626, -0.015054551884531975, 0.0015279569197446108, 0.0015571304829791188, -0.011177937500178814, 0.05942494794726372, 0.045117806643247604, 0.004093131050467491, 0.033209916204214096, -0.014220950193703175, 0.022015562281012535, -0.04390158876776695, -0.015760082751512527, -0.09024523198604584, 0.01081144530326128, 0.03480575606226921, 0.006921370979398489, -0.0037430396769195795, 0.01296723261475563, -0.027740754187107086, 0.01535241212695837, -0.08843326568603516, -0.048289038240909576, 0.02822527475655079, -0.02142740972340107, 0.006741111632436514, -0.01964348368346691, -0.057301320135593414, -0.0034993761219084263, 0.049880966544151306, -0.04800250381231308, -0.02161262184381485, -0.04197594150900841, 0.03127029165625572, -0.04230339080095291, 0.046711016446352005, -0.017804155126214027, -0.028261467814445496, 0.06275762617588043, 0.011894774623215199, 0.014462859369814396, 0.04208631068468094, -0.013850530609488487, 0.0389338918030262, 0.02625579759478569, -0.014036010950803757, 0.02350682206451893, 0.009407187812030315, -0.01058113481849432, -0.055021461099386215, 0.023199496790766716, 0.0075442977249622345, -0.02773662842810154, -0.03716520220041275, 0.08103251457214355, 0.03256843984127045, -0.034921105951070786, -0.020883426070213318, 0.02624802105128765, -0.034412357956171036, -0.018399039283394814, -0.04142148792743683, 0.010201996192336082, -0.038048017770051956, 0.04954658821225166, -0.010259372182190418, 0.0055779339745640755, 0.08319384604692459, 0.001876098569482565, -0.026089195162057877, 0.018546372652053833, 0.09831248223781586, 0.09853967279195786, 0.024170100688934326, -0.008551159873604774, 0.07745420187711716, 0.003103253897279501, -0.039391469210386276, 0.005438748747110367, -0.012444321997463703, -0.021462468430399895, 0.007759918924421072, -0.0005422862013801932, 0.07194873690605164, -0.03573984280228615, 0.08882888406515121, -0.033990200608968735, -0.020129747688770294, 0.006073613651096821, 0.002220755908638239, 0.01920159161090851, 0.05455053225159645, 0.0014590586069971323, 0.05232996493577957, -0.0350656695663929, -0.029689881950616837, 0.018341559916734695, -0.011881227605044842, -0.021639343351125717, 0.014529431238770485, -0.025642242282629013, 0.018271027132868767, -0.004358054604381323, 0.03898165002465248, 0.07580103725194931, -0.03531437739729881, 0.0035580045077949762, -0.009291383437812328, 0.0198545940220356, -0.0012098929146304727, 0.027671504765748978, -0.025492649525403976, -0.0002941289567388594, -0.02108367159962654, -0.036348722875118256, -0.018759416416287422, -0.022603558376431465, -0.03892906755208969, 0.02357901632785797, -0.009726762771606445, -0.0018176123267039657, -0.007796942256391048, -0.013722834177315235, -0.03300099074840546, -0.055847976356744766, -0.04675906151533127, -0.06054673716425896, -0.09035765379667282, -0.0001510993461124599, 0.03132808953523636, -0.005487814545631409, -0.025278104469180107, 0.0009927155915647745, -0.0379408523440361, -0.02124057710170746, 0.045177116990089417, -0.04282858967781067, 0.009501603431999683, -0.0069491080939769745, 0.03946112096309662, 0.02287270314991474, 0.027330977842211723, 0.06750103831291199, -0.009198160842061043, 0.007856516167521477, -0.014974706806242466, 0.009268985129892826, 0.04551004245877266, 0.043332502245903015, -0.016145259141921997, -0.09037504345178604, 0.004308584611862898, 0.03655170276761055, -0.011629361659288406, -0.07904455065727234, 0.003251774003729224, 0.04357319697737694, 0.012630236335098743, 0.027515675872564316, -0.03536747395992279, 0.0014592331135645509, -0.025591036304831505, 0.016735386103391647, 0.0010425678920000792, -0.007253038696944714, 0.038093045353889465, -0.01911873370409012, 0.07415995746850967, 0.0481916107237339, -0.028154024854302406, -0.028560569509863853, -0.011080714873969555, 0.001790599781088531, 0.002084135776385665, -0.04785187542438507, -0.04236367717385292, -0.06849514693021774, -0.10228648781776428, -0.038406308740377426, 0.02517864480614662, -0.03521601855754852, -0.03263425454497337, 0.011051815003156662, 0.02917533367872238, -0.013270176015794277, 0.01660596765577793, -0.026719585061073303, 0.05629800260066986, -0.009163965471088886, -0.014282982796430588, -0.041764408349990845, 0.008995669893920422, 0.014770451001822948, 0.01748492754995823, 0.03334571048617363, -0.05473047122359276, 0.01830928772687912, -0.008458137512207031, -0.003052702872082591, 0.02993849292397499, 0.029172010719776154, 0.02866268716752529 ]
[ -0.014724377542734146, -0.023012416437268257, -0.0060736737214028835, -0.03397940471768379, 0.10834740847349167, -0.0202759001404047, -0.027431493625044823, 0.013135893270373344, 0.021338654682040215, -0.00891534611582756, 0.0029723471961915493, -0.07671592384576797, -0.03838195279240608, 0.0038348708767443895, 0.05339835584163666, -0.03447103872895241, -0.06667117774486542, -0.06387774646282196, 0.00045237314770929515, 0.019376078620553017, -0.0018090776866301894, 0.011485787108540535, -0.014717952348291874, -0.05046966299414635, -0.009043870493769646, 0.036002080887556076, 0.04487726464867592, -0.003344518830999732, -0.02893034741282463, -0.20949767529964447, 0.016372540965676308, -0.0005522165447473526, 0.022119322791695595, 0.002587727503851056, -0.006131529342383146, 0.00024118798319250345, 0.019632620736956596, -0.0005716113955713809, 0.05226817727088928, 0.06533392518758774, 0.00797024741768837, 0.0029183467850089073, -0.03683353587985039, -0.02006193809211254, 0.03825601190328598, 0.010998617857694626, -0.014931900426745415, 0.003816150827333331, 0.0028881484176963568, 0.021019430831074715, -0.025943048298358917, 0.03453404828906059, -0.009202180430293083, -0.019835758954286575, 0.00608278252184391, 0.06458543986082077, 0.04350263625383377, 0.08691181987524033, -0.005978396162390709, 0.04630988836288452, 0.06555402278900146, 0.003053956897929311, -0.15452110767364502, 0.06660769134759903, 0.004590829834342003, -0.009616103023290634, -0.048573486506938934, -0.015927977859973907, -0.016385331749916077, 0.06177634000778198, 0.005947129800915718, -0.00732224527746439, -0.030279813334345818, 0.041527166962623596, 0.035258643329143524, -0.011881418526172638, -0.04222165420651436, 0.02667072042822838, 0.016008637845516205, -0.042950090020895004, -0.02902146428823471, 0.011572422459721565, -0.058238767087459564, -0.018918249756097794, -0.04199294000864029, 0.044335998594760895, -0.05873989313840866, 0.08010540157556534, -0.006726435385644436, 0.06010199338197708, 0.03421589359641075, -0.0027250356506556273, 0.03863181918859482, 0.019262507557868958, -0.09175381064414978, -0.015711957588791847, 0.002271147444844246, 0.019944870844483376, 0.003302885452285409, 0.4058203399181366, 0.015852879732847214, -0.01793089136481285, 0.03327802196145058, 0.060668058693408966, -0.009514259174466133, -0.02739143557846546, 0.005409934092313051, -0.050326816737651825, 0.029552092775702477, 0.02645038440823555, -0.02284378744661808, -0.011980411596596241, 0.042194876819849014, -0.03225335478782654, -0.013017996214330196, 0.00024259222846012563, 0.029063867405056953, 0.0247828159481287, -0.024196205660700798, 0.018527265638113022, -0.037122566252946854, 0.025639211758971214, 0.0005601850571110845, 0.028568273410201073, 0.014100184664130211, 0.009543097577989101, -0.018456870689988136, 0.03482189401984215, 0.05274765565991402, 0.0267651230096817, 0.027890674769878387, -0.015900032594799995, -0.08260679990053177, 0.016415754333138466, -0.0018618288449943066, 0.017541417852044106, 0.035760607570409775, -0.02719063311815262, -0.012129204347729683, 0.048854656517505646, 0.006860894616693258, -0.054799407720565796, 0.037723276764154434, -0.00650954432785511, -0.028463952243328094, 0.12548919022083282, -0.0007922158110886812, -0.06403078883886337, 0.0036570995580404997, -0.0423586331307888, 0.02816077321767807, 0.03116101771593094, -0.01258813589811325, -0.051715802401304245, -0.04553404077887535, 0.022015418857336044, 0.043027717620134354, -0.022962339222431183, -0.06675026565790176, -0.005733526311814785, -0.022243626415729523, -0.030368607491254807, 0.001044509932398796, 0.07688258588314056, 0.03027048520743847, -0.14553651213645935, -0.03685451298952103, 0.010917811654508114, 0.010286211036145687, -0.08235039561986923, -0.019689742475748062, 0.00045593769755214453, -0.03446429967880249, 0.026241658255457878, 0.06717684864997864, 0.010178780183196068, -0.03434167802333832, 0.014043822884559631, 0.056876569986343384, -0.008566704578697681, 0.007031062617897987, -0.02033664844930172, -0.031033385545015335, -0.025041863322257996, -0.06720219552516937, -0.05543511360883713, -0.09742353856563568, 0.003296025563031435, -0.02344351075589657, -0.009275080636143684, -0.03280985727906227, -0.021877724677324295, -0.06574621796607971, 0.04794664680957794, -0.021925410255789757, 0.007555703166872263, -0.0029833209700882435, -0.02923283353447914, 0.03245432674884796, -0.033029478043317795, -0.01442509051412344, 0.016559943556785583, -0.0453982949256897, 0.0251612551510334, -0.040333811193704605, 0.028312601149082184, 0.09849584847688675, -0.021195244044065475, 0.055690303444862366, 0.019757824018597603, -0.04379453510046005, -0.027534455060958862, -0.009662344120442867, 0.003421932924538851, 0.008341258391737938, -0.0024725268594920635, -0.012003656476736069, -0.004734005779027939, 0.003951437305659056, 0.03997090831398964, -0.022442609071731567, -0.01894286833703518, -0.03509172052145004, -0.337816447019577, -0.04141487181186676, -0.03162140026688576, -0.00583993922919035, -0.01415619533509016, -0.014954905025660992, 0.011755825020372868, -0.023495011031627655, 0.031062904745340347, 0.03237856924533844, 0.10336226224899292, -0.033517785370349884, -0.0051419297233223915, -0.06470594555139542, -0.031169211491942406, 0.029377112165093422, -0.050446610897779465, 0.007347275037318468, -0.040704406797885895, -0.012327066622674465, 0.05284015089273453, -0.008474505506455898, -0.06972026824951172, -0.009810731746256351, 0.0017570857889950275, -0.0666881799697876, 0.11526039987802505, 0.007761969231069088, 0.058008499443531036, -0.06910084187984467, 0.05149701237678528, -0.023583071306347847, 0.010898617096245289, -0.0872965008020401, 0.018751010298728943, -0.010133815929293633, 0.025957955047488213, 0.017545118927955627, 0.019718367606401443, -0.04057329520583153, -0.04148197919130325, -0.009657652117311954, -0.039146121591329575, -0.04471421241760254, -0.033691469579935074, 0.048257458955049515, -0.021809818223118782, -0.06791925430297852, 0.01598251983523369, 0.07172848284244537, 0.020098695531487465, -0.0048564523458480835, 0.045011263340711594, 0.01198600884526968, 0.03368273749947548, -0.033025093376636505, -0.07054470479488373, -0.0018443125300109386, 0.012487920001149178, 0.04010797664523125, 0.02266271971166134, 0.004891043528914452, 0.04763384163379669, -0.08505971729755402, 0.034365974366664886, 0.024760810658335686, -0.004543717484921217, 0.0019567881245166063, 0.03875964507460594, -0.010754047892987728, -0.011874623596668243, 0.07715827226638794, 0.00927513837814331, 0.021132206544280052, 0.031680405139923096, 0.020968152210116386, 0.034844107925891876, 0.04802766814827919, 0.0474240742623806, 0.02190125361084938, 0.054314445704221725, -0.04498881846666336, 0.07571077346801758, -0.017439313232898712, 0.012434945441782475, 0.061001479625701904, 0.015564242377877235, -0.056881699711084366, 0.042248692363500595, 0.016327816992998123, -0.016138900071382523, 0.012308450415730476, -0.027695897966623306, -0.045599907636642456, 0.0361640527844429, -0.04112960770726204, -0.2523525059223175, 0.03936251625418663, 0.07049711048603058, 0.03994836285710335, 0.0160888209939003, 0.001745050773024559, 0.02252030186355114, -0.019832393154501915, 0.004974210634827614, 0.02129811979830265, 0.025293339043855667, 0.005549615249037743, 0.01283397525548935, -0.02796964906156063, 0.0060837892815470695, -0.026597440242767334, 0.037506166845560074, 0.03804245591163635, 0.037247974425554276, -0.0053367759101092815, 0.0464199036359787, -0.008288480341434479, 0.1678619682788849, 0.02987397462129593, 0.029465073719620705, 0.06298983097076416, -0.012395382858812809, -0.015062591060996056, 0.025991402566432953, 0.0047493283636868, -0.018871616572141647, 0.02419053576886654, 0.014332565478980541, 0.03919374197721481, 0.006450036074966192, -0.044313691556453705, -0.010513536632061005, 0.0864202156662941, -0.0005750886630266905, -0.057814743369817734, -0.027232401072978973, 0.04598478227853775, -0.05146001651883125, 0.024387337267398834, 0.05034099891781807, 0.016991637647151947, -0.0033244627993553877, 0.005327417980879545, -0.05207543075084686, -0.03306077420711517, -0.04569340869784355, -0.07930688560009003, -0.020082086324691772, -0.047314319759607315, -0.004171156324446201, 0.0693749263882637, 0.01863018237054348, -0.03975078463554382, 0.017454490065574646, 0.029593627899885178, -0.0010341857559978962, -0.05393842235207558, 0.07886144518852234, -0.0149435019120574, 0.023700406774878502 ]
[ 0.08181652426719666, 0.047009024769067764, -0.01333020068705082, -0.011970464140176773, 0.028264455497264862, 0.034269388765096664, -0.014658159576356411, 0.007122845854610205, -0.02700965479016304, 0.011648440733551979, -0.07861300557851791, 0.01588202267885208, 0.04316015914082527, 0.01923419162631035, 0.0015634119044989347, -0.02231600135564804, -0.04689309746026993, -0.011888249777257442, 0.012098124250769615, 0.005132334306836128, 0.010798158124089241, -0.03254786878824234, -0.0016160698141902685, -0.0284622423350811, -0.022564316168427467, 0.03835852071642876, 0.0016130396397784352, 0.05336611717939377, 0.000690610846504569, -0.10186232626438141, -0.054127346724271774, -0.04770734906196594, 0.022692076861858368, 0.02111915312707424, -0.013398063369095325, 0.007234933320432901, 0.00220847362652421, -0.0044231838546693325, -0.02866348996758461, 0.07400055229663849, -0.01122894324362278, -0.04430340230464935, -0.0036242767237126827, 0.030440201982855797, -0.0008339712512679398, 0.014095657505095005, -0.0229769516736269, -0.009162659756839275, 0.037795327603816986, -0.027645815163850784, -0.031702008098363876, -0.014509143307805061, 0.03139737620949745, -0.03101538121700287, 0.011988011188805103, 0.016224822029471397, -0.047126226127147675, 0.007540477439761162, -0.00465549249202013, -0.028709005564451218, 0.049038004130125046, 0.013289839960634708, -0.04029059410095215, -0.03306835517287254, -0.061198603361845016, -0.03882189840078354, -0.002038736827671528, 0.04161214455962181, 0.01167721301317215, 0.010840530507266521, 0.028617804870009422, 0.06313752382993698, -0.03671145439147949, -0.05467003211379051, -0.020436132326722145, 0.06973402202129364, -0.00974304135888815, -0.018801206722855568, 0.007202548906207085, -0.027242956683039665, -0.015044037252664566, 0.0037966687232255936, -0.006868113297969103, -0.0034157512709498405, 0.003299553180113435, 0.014682869426906109, 0.007588946260511875, -0.024970028549432755, 0.000045461019908543676, 0.04260488227009773, -0.001741382060572505, -0.027111973613500595, 0.00209006667137146, 0.031020203605294228, -0.09996707737445831, 0.004423718899488449, 0.012585918419063091, -0.026518451049923897, 0.0031631707679480314, 0.806477427482605, -0.0073783062398433685, -0.006005465984344482, 0.007987290620803833, 0.02440236695110798, 0.01287507452070713, -0.0149232791736722, -0.0018786947475746274, 0.04966007173061371, 0.0011710294056683779, 0.002765755169093609, 0.006624775473028421, 0.030267752707004547, -0.008809502236545086, 0.053080882877111435, -0.03387794643640518, 0.08277667313814163, 0.009707009419798851, -0.0105467289686203, -0.012423387728631496, 0.00806432869285345, 0.006931618321686983, 0.027028705924749374, -0.031891047954559326, 0.02803751267492771, 0.0022411872632801533, -0.15688885748386383, -0.020222848281264305, -7.087300825553306e-33, 0.026252197101712227, -0.04570914804935455, 0.0034459626767784357, -0.012549618259072304, -0.027053754776716232, 0.0029723281040787697, -0.015653518959879875, -0.01189233548939228, -0.013101998716592789, -0.01826472021639347, 0.014397481456398964, 0.0004717528645414859, 0.01977807655930519, -0.0514720194041729, 0.02605353109538555, -0.05851520970463753, -0.018168145790696144, -0.003591658780351281, -0.016369426622986794, 0.019706962630152702, 0.0011080296244472265, 0.04295652359724045, -0.022955866530537605, 0.017861155793070793, 0.014362315647304058, 0.04317881911993027, -0.030192894861102104, -0.015837833285331726, -0.012489917688071728, -0.03255520761013031, -0.032365649938583374, -0.011530163697898388, -0.03285748139023781, -0.019167041406035423, 0.04102734848856926, -0.06994524598121643, -0.014804963953793049, 0.002159126801416278, -0.046570178121328354, -0.04052423685789108, -0.051681868731975555, -0.029185881838202477, -0.03182148560881615, -0.0035702611785382032, -0.02775459550321102, -0.003453996265307069, 0.00245963828638196, 0.021245509386062622, -0.007351899053901434, -0.02378951385617256, 0.004444488789886236, 0.0425189770758152, 0.003985190764069557, -0.018165787681937218, 0.002698157448321581, 0.009281222708523273, 0.020823834463953972, 0.02831677906215191, -0.01806500367820263, -0.020420242100954056, 0.04011484980583191, -0.024634940549731255, -0.02538670226931572, 0.039611220359802246, 0.016945242881774902, 0.010941806249320507, 0.016531841829419136, -0.0067377411760389805, 0.002358084311708808, -0.016569308936595917, -0.000598451413679868, 0.05298491567373276, 0.006094974931329489, -0.004769022110849619, -0.01180982869118452, -0.036285899579524994, 0.021673450246453285, 0.03206394612789154, -0.009236650541424751, 0.02219497039914131, -0.002336965873837471, 0.01643826998770237, 0.0007356494315899909, -0.0316472053527832, 0.010858074761927128, 0.021092576906085014, 0.05792413279414177, 0.011286924593150616, 0.02509412355720997, -0.002720253076404333, 0.017824623733758926, 0.049306873232126236, -0.04758601635694504, -0.04354638606309891, -0.05040249601006508, 6.974238840155341e-33, -0.022734500467777252, -0.0044540963135659695, -0.011311088688671589, -0.02257424220442772, 0.006571121513843536, 0.01305951178073883, 0.02986595407128334, 0.001028915517963469, -0.04099300503730774, 0.04332324489951134, -0.054417934268713, 0.016930552199482918, 0.004332912620157003, 0.002147978637367487, 0.023355145007371902, -0.04843994602560997, 0.015301537699997425, -0.048081252723932266, -0.013982608914375305, 0.03558042272925377, 0.015996813774108887, -0.007192688994109631, 0.03625793382525444, -0.003713532816618681, -0.00004450334745342843, 0.004767985083162785, -0.010776516981422901, 0.023421844467520714, -0.05788799375295639, 0.010813305154442787, 0.04810807481408119, -0.044215068221092224, -0.010916775092482567, -0.03046359121799469, -0.009468751028180122, 0.01490975171327591, 0.021536802873015404, -0.010239771567285061, -0.0022422478068619967, 0.012333273887634277, 0.02861645631492138, -0.0023080918472260237, 0.013294999487698078, 0.05626005679368973, 0.017084559425711632, -0.008307999931275845, -0.020431773737072945, 0.0012454533716663718, 0.007796326652169228, 0.01605275832116604, -0.018671942874789238, 0.007257410790771246, -0.03820739686489105, 0.015747064724564552, 0.024859780445694923, -0.03644019737839699, -0.00007687057950533926, 0.01163296028971672, -0.0024770896416157484, 0.027516279369592667, -0.015806250274181366, -0.02642962522804737, -0.04167754948139191, 0.05321540683507919, -0.005937976762652397, 0.02142886072397232, -0.04265632480382919, -0.0008444588165730238, -0.013851746916770935, 0.021930431947112083, -0.022758280858397484, -0.00016572819731663913, 0.0025801071897149086, 0.05550694093108177, -0.007246931083500385, -0.027142584323883057, -0.009434797801077366, 0.05703803151845932, -0.022623233497142792, 0.04451734945178032, 0.02519294247031212, 0.015200234949588776, 0.02985776960849762, -0.024932723492383957, 0.03156818822026253, 0.008296133019030094, -0.014111258089542389, 0.023098193109035492, -0.015464468859136105, -0.008192854933440685, 0.07284035533666611, 0.022636057808995247, -0.0030431761406362057, 0.02899668551981449, -0.024118995293974876, -1.2578739827517893e-8, -0.022570310160517693, 0.020887449383735657, -0.037576865404844284, -0.010727944783866405, -0.009226683527231216, -0.02212340384721756, -0.007136995904147625, -0.03212425112724304, -0.002995110582560301, 0.01111635472625494, 0.03170130401849747, -0.018013564869761467, -0.010284876450896263, 0.010881072841584682, 0.024370912462472916, -0.024208329617977142, -0.03292262181639671, -0.028729606419801712, 0.018341684713959694, 0.056013960391283035, -0.013896008022129536, 0.05360851064324379, -0.04379752650856972, 0.02348134107887745, 0.04432986304163933, -0.009352737106382847, -0.007799436803907156, -0.09982875734567642, -0.01579233817756176, -0.023447347804903984, 0.03216520696878433, 0.011540260165929794, -0.015437598340213299, 0.0023531587794423103, 0.0003371528291609138, -0.017315883189439774, 0.05452164262533188, 0.008347810246050358, 0.006867106072604656, 0.024085603654384613, -0.01431253645569086, 0.0072501227259635925, -0.039114516228437424, -0.026357702910900116, 0.029882019385695457, 0.007184797432273626, -0.044435448944568634, -0.0061367591843008995, 0.04034453630447388, -0.0626877099275589, -0.015378913842141628, 0.027711113914847374, 0.030965648591518402, 0.031062453985214233, 0.06271583586931229, -0.009163015522062778, -0.0156373530626297, 0.008188383653759956, 0.01547241024672985, -0.008360004983842373, -0.01339267659932375, 0.011101762764155865, -0.020030496641993523, 0.011306212283670902 ]
neo4j-spatial-indexing-football-stadiums-using-the-rest-api
https://markhneedham.com/blog/2013/06/24/neo4j-spatial-indexing-football-stadiums-using-the-rest-api
false
2013-06-15 10:28:28
Java: Finding/Setting JDK/$JAVA_HOME on Mac OS X
[ "java" ]
[ "Java" ]
As long as I've been using a Mac I always understood that if you needed to set +++<cite>+++$JAVA_HOME+++</cite>+++ for any program, it should be set to +++<cite>+++/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK+++</cite>+++. On my machine this points to the 1.6 JDK: [source,bash] ---- $ ls -alh /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents ---- This was a bit surprising to me since I've actually got Java 7 installed on the machine as well so I'd assumed the symlink would have been changed: [source,bash] ---- $ java -version java version "1.7.0_09" Java(TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode) ---- https://twitter.com/andres_taylor[Andres] and I were looking at something around this yesterday and wanted to set +++<cite>+++$JAVA_HOME+++</cite>+++ to the location of the 1.7 JDK on the system if it had been installed. We eventually came across http://developer.apple.com/library/mac/#qa/qa1170/_index.html[the following article] which explains that you can use the +++<cite>+++/usr/libexec/java_home+++</cite>+++ command line tool to do this. For example, if we want to find where the 1.7 JDK is we could run the following: [source,bash] ---- $ /usr/libexec/java_home -v 1.7 /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home ---- And if we want 1.6 the following does the trick: [source,bash] ---- $ /usr/libexec/java_home -v 1.6 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home ---- We can also list all the JVMs installed on the machine: [source,bash] ---- $ /usr/libexec/java_home -V Matching Java Virtual Machines (3): 1.7.0_09, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home 1.6.0_45-b06-451, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 1.6.0_45-b06-451, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home ---- I'm not sure how I've never come across this command before but it seems pretty neat.
null
null
[ -0.0018917827401310205, 0.02468845434486866, -0.013208998367190361, 0.014429616741836071, 0.09461798518896103, -0.007227873895317316, 0.04541017860174179, 0.0281266737729311, -0.019784359261393547, -0.03530411049723625, -0.012331707403063774, -0.0006667954730801284, -0.051292240619659424, -0.004438353236764669, -0.04579908400774002, 0.06945143640041351, 0.08270196616649628, 0.0022293159272521734, -0.0023073640186339617, 0.026550186797976494, 0.028642619028687477, 0.049627598375082016, 0.0009903900790959597, 0.02324501797556877, -0.0007302065496332943, -0.0034584805835038424, 0.020019840449094772, -0.018354743719100952, -0.08115772157907486, -0.009098113514482975, 0.03795821964740753, 0.0028559279162436724, 0.012162039056420326, -0.009639185853302479, -0.001874191453680396, 0.024972043931484222, -0.030234407633543015, 0.012633945792913437, 0.021399177610874176, 0.02653678134083748, -0.06468291580677032, 0.03704594820737839, 0.02348473109304905, 0.028595546260476112, -0.05362092703580856, 0.027643393725156784, -0.04568982869386673, 0.010430463589727879, -0.009476296603679657, 0.003987206611782312, -0.051472440361976624, 0.015331924892961979, -0.019160818308591843, -0.006586985196918249, 0.010430642403662205, 0.034870266914367676, 0.010753790847957134, -0.07305523753166199, 0.02322203293442726, -0.033701833337545395, 0.012449899688363075, -0.01643167994916439, 0.0015197101747617126, 0.041842326521873474, -0.01495822798460722, -0.020401451736688614, -0.0001467203546781093, 0.01447096187621355, -0.05476517602801323, -0.0012711946619674563, 0.012148121371865273, 0.014056471176445484, -0.02378394454717636, -0.026520295068621635, 0.03687846660614014, -0.033265214413404465, -0.013341887854039669, 0.050468698143959045, 0.006813285872340202, 0.05903160199522972, -0.05185957998037338, -0.004842573776841164, 0.022358138114213943, 0.024444064125418663, 0.01291002705693245, -0.03779544308781624, -0.01270359754562378, -0.03509220480918884, -0.044162046164274216, 0.06370525807142258, 0.031080393120646477, -0.01691555045545101, 0.017657678574323654, 0.02923106774687767, -0.020732983946800232, -0.015150909312069416, 0.02439206838607788, -0.022657999768853188, 0.011244969442486763, 0.006807809695601463, -0.040731336921453476, -0.028152501210570335, 0.009202366694808006, 0.02106640301644802, -0.07835589349269867, -0.002959148958325386, -0.013708111830055714, 0.007126640062779188, -0.00025358673883602023, -0.01773609034717083, -0.0033031783532351255, 0.039671577513217926, 0.01149140577763319, -0.00880759209394455, -0.05048893764615059, 0.07508663088083267, -0.013974172063171864, -0.06009642034769058, -0.0019319596467539668, 0.0497724674642086, 0.03857896104454994, 0.06283067911863327, -0.013084376230835915, 0.08744491636753082, 0.01680462434887886, 0.03691337630152702, -0.009999919682741165, 0.04293757304549217, -0.01566505804657936, -0.08450569957494736, 0.0013652242487296462, 0.053615231066942215, 0.012492619454860687, 0.0012605334632098675, -0.03030960075557232, -0.007845777086913586, 0.00843371544033289, 0.006163332145661116, 0.039050254970788956, 0.03881794586777687, -0.01140588615089655, -0.044342100620269775, -0.01744873821735382, -0.0014101241249591112, 0.031405698508024216, 0.021317586302757263, -0.02452278323471546, -0.02577883005142212, -0.02726336196064949, 0.02569705806672573, 0.004009457770735025, 0.052734728902578354, 0.03886892646551132, -0.023127608001232147, 0.013195419684052467, 0.10662174969911575, 0.03646359220147133, 0.00813639722764492, -0.04289542883634567, 0.01680290885269642, 0.03598785027861595, 0.04441023990511894, 0.005877008195966482, 0.04793482646346092, 0.00019776937551796436, 0.018793826922774315, 0.0010625155409798026, 0.030088912695646286, 0.002929501701146364, -0.0003883596509695053, -0.05906348302960396, -0.0860380008816719, 0.06103649362921715, -0.029023723676800728, -0.013508268631994724, 0.03309725224971771, 0.0937194675207138, 0.020965198054909706, 0.049672529101371765, 0.029886780306696892, -0.08660028874874115, 0.04719661921262741, 0.02182118035852909, 0.023228120058774948, 0.04364679753780365, -0.018184784799814224, 0.05750203877687454, -0.004141832236200571, 0.0036268976982682943, 0.010113544762134552, -0.07550831884145737, -0.07957828044891357, -0.008967811241745949, 0.0005525037413462996, 0.05836586281657219, -0.025436492636799812, -0.02642030268907547, 0.041972361505031586, 0.025011325255036354, 0.03229964151978493, 0.03221222385764122, -0.006451131775975227, 0.028825243934988976, -0.07769333571195602, -0.053462181240320206, 0.01873123273253441, 0.028538083657622337, -0.021396905183792114, -0.018956659361720085, 0.03380526602268219, 0.002744699362665415, -0.0005237475852482021, 0.01730935089290142, -0.0031527522951364517, 0.03621181100606918, 0.005588465835899115, 0.022902686148881912, -0.04524631053209305, 0.04503422975540161, -0.03374901041388512, 0.01758418045938015, 0.0004060609790030867, -0.022311298176646233, 0.00739941606298089, 0.018974320963025093, 0.11006356030702591, 0.0542292557656765, -0.03178092837333679, -0.028011176735162735, 0.04859084635972977, 0.02099403738975525, -0.06077893450856209, -0.00542445806786418, -0.01003461703658104, 0.012796251103281975, -0.003968685865402222, -0.043044526129961014, -0.01423855870962143, 0.023349657654762268, -0.02899106591939926, 0.009193329140543938, 0.08132264018058777, -0.030026765540242195, 0.04084388539195061, 0.0033302977681159973, -0.032030221074819565, 0.0007949763094075024, -0.029223332181572914, -0.08587180078029633, -0.016823403537273407, 0.03357960283756256, -0.006356532219797373, 0.056214842945337296, -0.04953239858150482, -0.027726516127586365, -0.025362756103277206, -0.04542377218604088, 0.0422431156039238, 0.02377156913280487, 0.06283071637153625, -0.025164596736431122, 0.03667378053069115, -0.012547328136861324, 0.0043763648718595505, -0.011497437953948975, -0.039595846086740494, -0.011250854469835758, -0.004454547073692083, -0.006975066382437944, -0.002463757758960128, -0.01725083962082863, 0.010729591362178326, 0.0150026585906744, -0.012430058792233467, 0.010601354762911797, 0.006179392337799072, 0.023589011281728745, -0.0016548674320802093, -0.008744903840124607, -0.04593412205576897, -0.013621782884001732, 0.045390624552965164, -0.024481534957885742, -0.01368744671344757, 0.020650066435337067, -0.044595472514629364, 0.05471694469451904, -0.09052899479866028, -0.03995407372713089, -0.02062881365418434, 0.01955070160329342, 0.014707998372614384, -0.0038382806815207005, 0.04330381378531456, 0.07479293644428253, 0.02909669652581215, 0.01374213770031929, 0.018759334459900856, -0.004422236233949661, 0.04658317565917969, 0.004118307027965784, 0.017636016011238098, 0.04277465492486954, 0.005067378748208284, 0.0021759194787591696, -0.016146894544363022, -0.004183564335107803, -0.016384145244956017, -0.2741398215293884, 0.024691496044397354, -0.03136471286416054, -0.07001202553510666, -0.004026125650852919, -0.009539540857076645, -0.012151489965617657, -0.06439077854156494, -0.018957538530230522, 0.008286561816930771, -0.014914053492248058, -0.05381540209054947, -0.0018491150112822652, 0.0395214781165123, -0.03082568384706974, 0.008062661625444889, 0.03307632356882095, -0.05542035028338432, -0.011426492594182491, 0.00767827033996582, 0.0009672412998043001, -0.053392913192510605, 0.0170619934797287, 0.055235784500837326, 0.027863625437021255, 0.06580700725317001, -0.06926196813583374, 0.07297077029943466, -0.04944565147161484, -0.005147767718881369, -0.006901847198605537, -0.006196137517690659, -0.03083314560353756, -0.020792927592992783, -0.010195240378379822, -0.01497798040509224, 0.0166801568120718, -0.0035189727786928415, 0.028942584991455078, 0.029738880693912506, -0.014022894203662872, -0.0450836606323719, -0.014142636209726334, 0.00035770126851275563, 0.052444614470005035, -0.018642481416463852, -0.08898831903934479, -0.012181021273136139, -0.042503535747528076, 0.07930607348680496, -0.048888206481933594, -0.04150541499257088, -0.009400058537721634, 0.046685438603162766, -0.005434028804302216, -0.03674779832363129, -0.007087558042258024, -0.0204399935901165, -0.021738948300480843, -0.02808198146522045, -0.006549063604325056, -0.06164192408323288, -0.025679748505353928, -0.0494828075170517, -0.008142129518091679, -0.07068248093128204, -0.06943757086992264, -0.0025965035893023014, 0.07516325265169144, 0.017321038991212845, -0.015797389671206474, -0.006054414436221123, -0.018008746206760406, -0.10616518557071686, -0.005784608889371157, -0.0380503311753273, -0.06804836541414261, -0.007151989731937647, -0.012674154713749886, 0.04152819886803627, -0.04045715555548668, -0.0037774427328258753, 0.015161258168518543, 0.010050589218735695, 0.005139374174177647, -0.04668733477592468, -0.017577653750777245, 0.01751057803630829, 0.00696492288261652, 0.0009771879995241761, 0.05725216120481491, -0.04336174577474594, -0.02473532035946846, -0.03531848266720772, 0.00814762618392706, 0.007379266433417797, 0.019277574494481087, -0.008364765904843807, 0.056927308440208435, 0.062098775058984756, 0.018794270232319832, -0.06395018100738525, 0.014342527836561203, -0.02160109393298626, -0.030827892944216728, -0.007671297062188387, -0.06357542425394058, 0.017344916239380836, 0.03018415905535221, 0.03864332288503647, -0.034849174320697784, -0.04200580343604088, 0.02133401855826378, -0.07658057659864426, -0.048896849155426025, -0.026225214824080467, 0.025708699598908424, 0.022473299875855446, 0.02002423070371151, -0.016550643369555473, -0.057687852531671524, 0.017697587609291077, 0.0038461729418486357, -0.038069434463977814, -0.04685294255614281, 0.0024823956191539764, -0.013052373193204403, 0.00766694126650691, -0.00008306769450427964, 0.02278415486216545, -0.050605785101652145, 0.030966181308031082, 0.04938673600554466, 0.006873444188386202, 0.0102077042683959, -0.012007566168904305, -0.018431639298796654, -0.016664622351527214, 0.004127179272472858, -0.013110550120472908, -0.028617965057492256, 0.026107052341103554, 0.013688798062503338, 0.018897827714681625, 0.02154468186199665, 0.006302767898887396, 0.04588032141327858, 0.005278307944536209, -0.0004741841403301805, -0.011281592771410942, 0.01662996970117092, -0.04088180884718895, 0.04563937336206436, -0.013888845220208168, -0.05804136395454407, -0.02384870871901512, 0.037575140595436096, -0.009321783669292927, -0.035771921277046204, -0.022473812103271484, 0.01975289173424244, -0.04538558050990105, -0.0018185126828029752, -0.0009756737854331732, -0.03850540518760681, 0.0654466524720192, 0.030909350141882896, 0.04435713216662407, -0.025648130103945732, 0.004898072686046362, 0.012463933788239956, 0.005010072607547045, -0.03218323364853859, 0.013147112913429737, 0.00038159795803949237, -0.009606944397091866, 0.01775016076862812, 0.010479426011443138, 0.05305741727352142, 0.020418209955096245, 0.008805914781987667, -0.012235790491104126, 0.0006265548290684819, 0.019886109977960587, 0.03641233220696449, -0.019038235768675804, -0.01746758259832859, -0.005811857059597969, -0.0069540878757834435, -0.04481275752186775, 0.011023196391761303, -0.004558956250548363, -0.008321122266352177, -0.002909852424636483, -0.02796063758432865, -0.08601241558790207, 0.01940646581351757, 0.03086683712899685, 0.004939287900924683, 0.00826472882181406, -0.027994364500045776, 0.018879776820540428, -0.03397567570209503, 0.057026516646146774, 0.07924922555685043, -0.06247521564364433, 0.018858950585126877, -0.00010824156925082207, -0.005000514443963766, 0.012791757471859455, -0.015617546625435352, -0.060296036303043365, 0.005773887038230896, 0.006729713641107082, 0.015229287557303905, -0.029511211439967155, -0.036460746079683304, 0.0034768651239573956, -0.0024648550897836685, -0.00815942045301199, 0.00784994475543499, 0.009448437951505184, 0.011342895217239857, -0.012957212515175343, -0.030991321429610252, 0.009613484144210815, -0.004373402334749699, 0.039398256689310074, 0.033677373081445694, -0.03413280472159386, 0.025652378797531128, -0.035156674683094025, 0.032437797635793686, 0.04064164683222771, -0.01727869175374508, -0.005878929048776627, -0.03957253694534302, 0.01931329257786274, 0.0009003095328807831, 0.03659877926111221, 0.010071167722344398, -0.00616214144974947, -0.044519249349832535, 0.008190592750906944, -0.04340273141860962, -0.03849568963050842, -0.04419999197125435, -0.01095863338559866, 0.012745192274451256, 0.037670593708753586, -0.009231586940586567, 0.02726466953754425, -0.010332301259040833, 0.0011114266235381365, 0.06711559742689133, -0.04936148226261139, -0.05275976285338402, -0.0029826455283910036, -0.05014726519584656, 0.007270673755556345, 0.007916944101452827, 0.04196852445602417, -0.0545947328209877, 0.041571397334337234, 0.027083201333880424, -0.000026757918021758087, 0.010197334922850132, -0.03199296444654465, 0.02681528776884079, -0.04979293420910835, -0.028448887169361115, -0.10876647382974625, 0.0032412204891443253, 0.0228535458445549, 0.01344351191073656, -0.035917893052101135, 0.0036417862866073847, -0.0638895109295845, 0.01001689862459898, -0.07099955528974533, -0.024932483211159706, 0.003924225922673941, -0.01916862279176712, 0.006671595387160778, 0.018465721979737282, -0.03894665464758873, 0.04795900359749794, 0.02871369756758213, -0.027745546773076057, -0.020349331200122833, -0.041348084807395935, 0.05210234597325325, 0.03286762908101082, 0.04054740071296692, -0.018349872902035713, 0.012382118962705135, 0.09261869639158249, 0.03468533232808113, 0.016297727823257446, 0.01749601773917675, -0.013108274899423122, 0.03809414803981781, 0.05861175060272217, 0.012597018852829933, 0.00809874851256609, -0.009044142439961433, -0.014656090177595615, -0.04091321676969528, -0.0099568422883749, 0.008702111430466175, -0.025177789852023125, -0.013991118408739567, 0.050339534878730774, 0.028624970465898514, -0.019992724061012268, -0.05318111926317215, 0.028546130284667015, -0.027891919016838074, -0.007492068223655224, -0.04503871127963066, 0.006244678515940905, -0.056613143533468246, 0.048630714416503906, 0.007699334062635899, 0.02612510696053505, 0.06856758892536163, 0.01718071848154068, -0.024540795013308525, 0.003960679285228252, 0.095164954662323, 0.06204775720834732, 0.03464369848370552, 0.030513012781739235, 0.05727897956967354, -0.018539072945713997, -0.03716357424855232, -0.025273960083723068, -0.0038903746753931046, -0.020718693733215332, -0.025553066283464432, 0.011436078697443008, 0.08459169417619705, -0.011105221696197987, 0.06314153224229813, -0.022883044555783272, -0.009803123772144318, -0.006278259214013815, 0.003161844564601779, 0.03101140633225441, 0.03907473385334015, 0.01265735924243927, 0.04123856872320175, -0.026995161548256874, -0.020689280703663826, 0.03141113743185997, -0.009008546359837055, -0.007455003913491964, 0.023400790989398956, 0.003941182512789965, 0.020107101649045944, 0.03481566905975342, 0.02928454987704754, 0.08671511709690094, -0.018740734085440636, -0.018775932490825653, 0.009625011123716831, 0.06631773710250854, 0.017083732411265373, 0.023294107988476753, -0.021464060992002487, -0.035025373101234436, -0.007068379316478968, -0.020809253677725792, -0.022424684837460518, 0.004896878730505705, -0.008620980195701122, 0.035218868404626846, -0.02246045134961605, 0.009469305165112019, 0.033135149627923965, 0.0008067056187428534, -0.037991657853126526, -0.05812052637338638, -0.032623935490846634, -0.0472591258585453, -0.03663680702447891, -0.006872137542814016, 0.0032967631705105305, -0.014039880596101284, -0.04155939817428589, -0.014631972648203373, -0.03306924179196358, -0.017794664949178696, 0.011050560511648655, -0.06787822395563126, -0.043041523545980453, 0.02020830661058426, 0.020649489015340805, 0.003609246574342251, 0.033171989023685455, 0.06059590354561806, -0.013489339500665665, -0.012777525000274181, -0.005526338703930378, 0.009243902750313282, 0.05506417527794838, -0.004663093946874142, -0.000919917190913111, -0.07222642004489899, 0.05429316684603691, 0.02057589218020439, 0.003109467215836048, -0.05264723673462868, 0.005554629489779472, 0.03151758387684822, -0.029830582439899445, 0.046298082917928696, -0.01755778305232525, 0.03163505718111992, -0.007439740933477879, -0.024179063737392426, 0.01449525635689497, 0.014255738817155361, 0.04839780554175377, 0.01932314597070217, 0.11702815443277359, 0.03377601504325867, -0.008015284314751625, -0.03519045561552048, -0.014273233711719513, 0.010262803174555302, -0.013609672896564007, -0.03087913617491722, -0.01689535565674305, -0.06099087372422218, -0.08499418199062347, 0.006511187180876732, -0.011763929389417171, -0.05349096655845642, -0.038332853466272354, -0.004105498548597097, 0.021455923095345497, -0.04950771853327751, 0.008403998799622059, -0.04438379779458046, -0.009478350169956684, -0.005877859424799681, -0.01548741478472948, 0.002416762989014387, 0.007210986688733101, 0.0014916498912498355, 0.006990727502852678, 0.012529746629297733, -0.03527498617768288, -0.0003339737595524639, -0.0021202191710472107, 0.01874394342303276, 0.03323114663362503, 0.018568091094493866, -0.015130821615457535 ]
[ -0.07265929877758026, -0.01171195413917303, -0.029426485300064087, -0.04416275769472122, 0.04048873856663704, -0.06055114418268204, -0.030959956347942352, 0.030653642490506172, 0.005112350452691317, -0.03332739695906639, 0.00902633834630251, -0.023930177092552185, 0.006763479672372341, -0.02311810478568077, 0.09871063381433487, -0.008653172291815281, -0.02716379053890705, -0.0166831873357296, 0.03451615944504738, -0.01072467677295208, 0.01960292086005211, -0.030215932056307793, 0.026310907676815987, -0.05245862528681755, 0.03209390118718147, 0.07960771769285202, 0.031902823597192764, -0.022888388484716415, 0.003247546963393688, -0.1955662965774536, 0.0036018656101077795, 0.005234648939222097, 0.02780122682452202, -0.010515455156564713, -0.03299984335899353, 0.06443710625171661, 0.006578552536666393, 0.014630680903792381, 0.000830995268188417, 0.0538361594080925, 0.05050261691212654, 0.04622973874211311, -0.024712415412068367, 0.008139442652463913, -0.016060110181570053, -0.013431991450488567, 0.044253408908843994, -0.029600342735648155, 0.007947098463773727, -0.00817504245787859, -0.0534978061914444, 0.014439892023801804, 0.022141072899103165, 0.0037057374138385057, 0.004093207884579897, 0.0261177197098732, 0.055974531918764114, 0.07817239314317703, -0.025265377014875412, 0.008830346167087555, -0.007687835954129696, -0.02860201522707939, -0.1869666576385498, 0.10548380762338638, 0.05115924030542374, 0.01673789881169796, -0.015654612332582474, -0.0026426133699715137, -0.02532072551548481, 0.07766759395599365, -0.020647719502449036, 0.01518108882009983, -0.06952070444822311, 0.07035060226917267, -0.010149682871997356, -0.02648024447262287, 0.026653343811631203, 0.026868559420108795, 0.045974671840667725, -0.07057318091392517, -0.02731342241168022, -0.03095577098429203, -0.008942118845880032, -0.04676322266459465, -0.020466146990656853, 0.007802129257470369, -0.003938273061066866, 0.05496418476104736, 0.014871180057525635, 0.006654510274529457, -0.008706183172762394, -0.053697843104600906, 0.088313989341259, 0.011281758546829224, -0.08309560269117355, 0.019475487992167473, 0.015316187404096127, 0.011324441991746426, -0.018416132777929306, 0.3886624574661255, -0.00821062084287405, -0.024837063625454903, -0.012444255873560905, 0.021637575700879097, 0.010881518013775349, -0.010116462595760822, -0.006740981712937355, -0.020078275352716446, 0.03977637737989426, -0.04192297160625458, 0.019685743376612663, 0.01887260004878044, 0.07276565581560135, -0.022227320820093155, 0.024233154952526093, -0.006010126788169146, 0.05830074101686478, 0.03218687325716019, 0.0035776442382484674, 0.003228220622986555, 0.0002082131541101262, 0.012193259783089161, 0.019440017640590668, 0.015703599900007248, 0.042689789086580276, -0.04551571607589722, -0.018727682530879974, 0.0198875293135643, 0.03720993176102638, -0.035214103758335114, 0.013826120644807816, -0.07827252149581909, -0.08222684264183044, -0.02954746223986149, 0.023905746638774872, 0.06705070286989212, 0.00645213108509779, -0.05952496454119682, 0.023002542555332184, 0.013529294170439243, -0.024912871420383453, -0.019463680684566498, 0.009484580717980862, 0.00863252580165863, -0.04918947443366051, 0.10980764031410217, 0.005263287108391523, -0.004027131479233503, -0.024493500590324402, -0.035476621240377426, 0.009206357412040234, 0.05684749409556389, -0.012922273948788643, -0.02312709204852581, 0.016008304432034492, 0.01985836960375309, 0.060393497347831726, 0.0036257286556065083, -0.048900309950113297, -0.02620535157620907, -0.03537769243121147, -0.01652202568948269, -0.046512797474861145, 0.052740659564733505, 0.07104294002056122, -0.058000288903713226, -0.04544469714164734, 0.04963027313351631, -0.013022487051784992, -0.03165286034345627, 0.018375862389802933, 0.026305904611945152, -0.006903558969497681, 0.021472664549946785, 0.04447954520583153, -0.03574245050549507, -0.006889644078910351, 0.059170402586460114, 0.036524251103401184, 0.0048995595425367355, 0.032393764704465866, -0.0028945361264050007, -0.05649489164352417, -0.010054000653326511, 0.0048224302008748055, -0.09296469390392303, -0.0885530635714531, 0.018708916381001472, -0.009631561115384102, 0.007004448212683201, -0.0163629911839962, -0.0018880399875342846, -0.028458109125494957, 0.04069775342941284, 0.009487387724220753, -0.02929750271141529, 0.023572074249386787, 0.02260724827647209, 0.0443083681166172, -0.045397426933050156, 0.005343959666788578, 0.07029297202825546, -0.0053470502607524395, 0.01897025853395462, -0.08451104164123535, -0.009318670257925987, 0.01840445026755333, -0.04582539200782776, 0.04308931529521942, -0.002337281359359622, -0.055186428129673004, 0.0016202690312638879, 0.018931671977043152, 0.0016801559831947088, -0.032409392297267914, -0.0334576740860939, -0.01896449364721775, -0.0065350779332220554, 0.05162135511636734, 0.02313036099076271, -0.04585367068648338, -0.04276164248585701, -0.018065335229039192, -0.35451894998550415, -0.033491119742393494, -0.007409373298287392, 0.0008029203163459897, 0.00562821701169014, -0.049999479204416275, -0.0006912204553373158, -0.05143803730607033, -0.028361033648252487, 0.00687171658501029, 0.052884750068187714, -0.08337146043777466, -0.004953817464411259, -0.03994404152035713, -0.020027322694659233, 0.04264223948121071, -0.011880277656018734, -0.03661036863923073, -0.015298676677048206, 0.02665654756128788, 0.020617639645934105, -0.026467064395546913, -0.09432248026132584, -0.02468371018767357, -0.006246640812605619, -0.037459295243024826, 0.05592566356062889, 0.01743202470242977, 0.06924085319042206, -0.08305956423282623, 0.06254532188177109, 0.044036734849214554, -0.013724980875849724, -0.13711172342300415, -0.06135005131363869, 0.0017753959400579333, -0.051619045436382294, 0.019108843058347702, -0.0005281237536109984, -0.007949083112180233, -0.028075119480490685, 0.023250434547662735, -0.0489935502409935, -0.03683972358703613, -0.03346415236592293, -0.04676220938563347, 0.00808599404990673, -0.06588692963123322, 0.034117791801691055, 0.05428138002753258, -0.02971893548965454, 0.015336903743445873, -0.02002774178981781, 0.0016821107128635049, 0.03300304338335991, -0.02816959097981453, -0.02986272983253002, -0.019874712452292442, 0.041836753487586975, -0.030535362660884857, 0.0664900615811348, 0.059295423328876495, 0.031048938632011414, -0.023812780156731606, -0.005031919106841087, 0.0029013939201831818, -0.01840711571276188, -0.00206175004132092, 0.033273614943027496, -0.020951122045516968, -0.02514135278761387, 0.04334976151585579, 0.033458441495895386, 0.02713642083108425, 0.010898930951952934, 0.03288080915808678, 0.027003630995750427, -0.01662435382604599, 0.00205660006031394, -0.0364452600479126, 0.024683956056833267, 0.003474530065432191, 0.05474798381328583, 0.0036546741612255573, -0.019156161695718765, 0.07019667327404022, -0.01672327145934105, 0.0010083394590765238, 0.03375127911567688, -0.010932005010545254, -0.06217385455965996, -0.018935734406113625, 0.015109873376786709, -0.05916142463684082, 0.05748909339308739, 0.0353371798992157, -0.23980462551116943, 0.04256602004170418, 0.05021018907427788, 0.0635104849934578, 0.0016551195876672864, 0.00003700016895891167, 0.0572306327521801, -0.06685859709978104, -0.007161830086261034, 0.014902928844094276, 0.01370619609951973, 0.027660440653562546, 0.004106489475816488, -0.041291963309049606, 0.061051759868860245, -0.0213115606456995, 0.07986874133348465, 0.026288466528058052, 0.03394285961985588, -0.025494176894426346, 0.026441922411322594, -0.012591689825057983, 0.1617676466703415, -0.004759704694151878, -0.000582361884880811, 0.02817312441766262, 0.01202297955751419, 0.050684187561273575, 0.07918161898851395, -0.0004332630487624556, 0.02844984084367752, -0.004126646555960178, 0.07709192484617233, 0.010192345827817917, 0.01412153709679842, -0.038586147129535675, -0.023629970848560333, 0.010351077653467655, 0.012820614501833916, -0.002991441171616316, -0.0237804614007473, 0.028963344171643257, -0.08537489920854568, 0.043908391147851944, 0.09154513478279114, -0.010257882997393608, 0.007954725995659828, -0.009284150786697865, -0.03336356207728386, -0.04105604439973831, -0.044677674770355225, -0.049472175538539886, 0.0017395514296367764, -0.0037837589625269175, 0.03976575657725334, 0.0432334765791893, 0.02894771471619606, 0.0050156801007688046, -0.06919904798269272, -0.001650187885388732, 0.0243864543735981, -0.0022132520098239183, 0.12713882327079773, 0.026348672807216644, 0.01817432790994644 ]
[ 0.001245751976966858, 0.012374632991850376, -0.017506176605820656, -0.01672026328742504, 0.037003375589847565, 0.0007500696810893714, 0.0033925024326890707, 0.045898813754320145, -0.03006567619740963, -0.014215117320418358, -0.004234958905726671, -0.02789532206952572, 0.013847969472408295, -0.022706104442477226, 0.022609325125813484, -0.04418610408902168, -0.0256508681923151, 0.05392226576805115, 0.048374906182289124, -0.004327945876866579, -0.02563834935426712, 0.045026808977127075, 0.03535791486501694, -0.039824653416872025, 0.0399884395301342, 0.050530433654785156, -0.002854571444913745, 0.01054467260837555, 0.0023324687499552965, -0.13653554022312164, -0.02081645093858242, 0.0019027853850275278, 0.0011183462338522077, -0.022646240890026093, 0.002712905639782548, 0.009497290477156639, 0.0019297261023893952, 0.024349341168999672, -0.025188172236084938, -0.010503765195608139, -0.021257415413856506, 0.007304575759917498, 0.0020237844437360764, -0.015324284322559834, -0.048364877700805664, -0.035235386341810226, -0.017575830221176147, -0.04221275821328163, 0.002892186399549246, 0.009930332191288471, -0.0409105084836483, -0.003120591165497899, 0.006289429496973753, -0.010703780688345432, 0.03592612221837044, 0.0005250663380138576, -0.013830514624714851, 0.011879830621182919, 0.001580681768245995, -0.029772011563181877, 0.0000376088974007871, -0.008583342656493187, -0.037189848721027374, -0.02158084511756897, -0.02936563454568386, -0.07397817820310593, 0.006841845810413361, 0.0009271751623600721, 0.0071861702017486095, -0.013004622422158718, -0.01679900847375393, 0.028941303491592407, 0.004267754033207893, -0.03837452828884125, -0.05182391032576561, 0.0403500497341156, 0.0005981685244478285, 0.0030317252967506647, 0.03842916339635849, -0.010553461499512196, -0.03264717385172844, 0.019786784425377846, -0.04009397700428963, -0.0003735880018211901, -0.030781997367739677, 0.012426123954355717, -0.01792127452790737, 0.00994840357452631, 0.02952764369547367, 0.05497970059514046, 0.029571473598480225, 0.011777987703680992, 0.02454901486635208, -0.03254014998674393, -0.06693459302186966, 0.012753094546496868, -0.030559513717889786, -0.011260372586548328, 0.0292223934084177, 0.8187708854675293, -0.007834046147763729, 0.06115037947893143, 0.044817425310611725, 0.02609744295477867, 0.05086376145482063, 0.01905542053282261, -0.04706354811787605, 0.03801610320806503, 0.021605314686894417, -0.02605556882917881, 0.02397414669394493, -0.010790050029754639, 0.0633249282836914, -0.003644787473604083, 0.02993396669626236, 0.013901893049478531, 0.0672031119465828, 0.0019752897787839174, 0.01941596157848835, 0.008868593722581863, 0.05039441958069801, -0.023407358676195145, 0.01918499730527401, -0.010422083549201488, -0.006484993267804384, -0.15256302058696747, -0.008217623457312584, -6.740697500005723e-33, 0.05476311221718788, -0.05471458658576012, 0.017187608405947685, -0.00038192784995771945, -0.011973261833190918, -0.007994800806045532, -0.004481411073356867, 0.05873580276966095, -0.012380990199744701, -0.0396234430372715, -0.010279632173478603, -0.021627040579915047, 0.000879918981809169, -0.025721749290823936, 0.011499219574034214, -0.02255728840827942, -0.0062469723634421825, 0.030174948275089264, -0.04019259288907051, 0.011365145444869995, 0.010349835269153118, 0.0007065513636916876, -0.01784704253077507, 0.0051316991448402405, -0.014208984561264515, 0.011626217514276505, 0.05269705876708031, -0.0025099962949752808, -0.015549836680293083, -0.03486624360084534, -0.017953909933567047, -0.009579918347299099, -0.018756477162241936, -0.012676214799284935, 0.030192367732524872, -0.0544380359351635, -0.03391335904598236, -0.003792210016399622, -0.029487714171409607, -0.03453561291098595, -0.04421919211745262, -0.005977259483188391, -0.020633336156606674, 0.02114994265139103, 0.005023200064897537, -0.018076855689287186, -0.0036761255469173193, 0.037842731922864914, -0.023505808785557747, 0.0693219006061554, 0.01218574307858944, -0.002670862013474107, -0.0016664474969729781, -0.006270220968872309, -0.024030163884162903, 0.05498279631137848, 0.0013756040716543794, 0.036416392773389816, -0.02999849058687687, 0.03354080766439438, -0.029099956154823303, 0.020140739157795906, -0.02646559849381447, 0.03892672434449196, 0.013765658251941204, 0.03919540345668793, -0.01978861726820469, -0.042012769728899, -0.01490809302777052, 0.0531424842774868, -0.025385107845067978, 0.03185030445456505, -0.00093176553491503, -0.02418997883796692, -0.0008350260322913527, -0.036212000995874405, -0.0128492321819067, -0.01900521107017994, -0.011140941642224789, 0.013892496936023235, 0.004268335644155741, -0.00772273913025856, -0.01574297994375229, -0.024958183988928795, 0.004799372982233763, 0.01357951108366251, 0.0020474290940910578, -0.006865985691547394, -0.007111786399036646, 0.0016532264417037368, 0.059132471680641174, 0.04882187396287918, -0.014002899639308453, -0.021286651492118835, -0.03883557394146919, 6.644265086252047e-33, -0.011989472433924675, -0.007410394959151745, -0.004647496622055769, 0.003967294003814459, -0.005103486590087414, -0.0006127696833573282, 0.01176647562533617, 0.0033743777312338352, -0.0782875046133995, -0.009907099418342113, -0.06823693215847015, 0.038519881665706635, -0.010556918568909168, 0.006574264727532864, 0.052708208560943604, 0.009693720377981663, 0.027095025405287743, -0.0034959244076162577, -0.0015960229793563485, 0.011752689257264137, 0.026187989860773087, -0.0015983337070792913, 0.028818197548389435, 0.025830239057540894, 0.058497488498687744, -0.016268674284219742, -0.01164152193814516, 0.01919628493487835, -0.028830014169216156, 0.023005200549960136, 0.047163788229227066, -0.010839834809303284, -0.03595048934221268, -0.03778865560889244, 0.009024783968925476, 0.017193537205457687, -0.024093564599752426, 0.002823241986334324, 0.014660483226180077, 0.008816038258373737, -0.00029483853722922504, -0.04066901654005051, -0.002440046751871705, 0.014308948069810867, 0.010239283554255962, 0.013753349892795086, -0.0004914964083582163, 0.04270247370004654, -0.0011452310718595982, -0.027401387691497803, -0.013109051622450352, 0.0021468251943588257, 0.0030923127196729183, 0.005730415228754282, -0.011868083849549294, -0.022408580407500267, -0.024958189576864243, 0.05391215905547142, -0.0015321525279432535, 0.03790353983640671, 0.0326109454035759, -0.024916138499975204, -0.010974527336657047, 0.025737054646015167, -0.03224978223443031, -0.040575623512268066, 0.01405656710267067, 0.013238397426903248, -0.019853783771395683, -0.04416591301560402, 0.023795248940587044, -0.027922015637159348, -0.017531713470816612, 0.037479862570762634, 0.04281718656420708, -0.07022201269865036, 0.007077758200466633, 0.015984319150447845, -0.022696346044540405, 0.02307800203561783, 0.028588488698005676, 0.05229198560118675, -0.004815620370209217, -0.013945421203970909, 0.03873777762055397, 0.01718570478260517, -0.030164720490574837, 0.021006841212511063, -0.005120732821524143, 0.0006465970654971898, -0.017889967188239098, 0.025326145812869072, -0.023144198581576347, 0.030132398009300232, -0.020083695650100708, -1.230507340466147e-8, 0.017722008749842644, -0.0533343143761158, -0.0034412385430186987, -0.0011478356318548322, 0.06649953871965408, 0.0231840331107378, -0.044622112065553665, 0.005188293755054474, -0.013004273176193237, 0.009969435632228851, 0.026239419355988503, 0.0032871710136532784, 0.01808122545480728, 0.06876552104949951, 0.00687888078391552, -0.008730453439056873, 0.02461821585893631, 0.013593791052699089, 0.0051134261302649975, 0.024331994354724884, 0.023878248408436775, 0.022844240069389343, 0.003439368214458227, 0.004578699357807636, 0.004173301160335541, -0.03062616102397442, 0.0356120727956295, -0.051114361733198166, 0.023685447871685028, 0.007938358932733536, -0.0031915446743369102, -0.007595124654471874, -0.059538211673498154, 0.00648806057870388, -0.027989424765110016, -0.008390018716454506, -0.008011052384972572, 0.02955055423080921, -0.008387990295886993, 0.010645603761076927, -0.056325558573007584, -0.01878732070326805, -0.007005066145211458, -0.02713663876056671, -0.04300420731306076, -0.0038528095465153456, -0.022145748138427734, 0.038932330906391144, -0.007428659126162529, -0.01688760705292225, 0.010935801081359386, 0.024028543382883072, 0.021772634238004684, 0.00926891528069973, 0.0037681569810956717, -0.026564573869109154, 0.027251215651631355, -0.02347010374069214, -0.007913252338767052, -0.019378134980797768, 0.03947852551937103, 0.009435099549591541, -0.01924111507833004, -0.032868240028619766 ]
java-findingsetting-jdkjava_home-on-mac-os-x
https://markhneedham.com/blog/2013/06/15/java-findingsetting-jdkjava_home-on-mac-os-x
false
2013-06-15 13:04:53
neo4j/cypher: Finding single hop paths
[ "neo4j", "cypher" ]
[ "neo4j" ]
The neo4j docs have a few examples explaining how to to write http://docs.neo4j.org/chunked/snapshot/cypher-cookbook-path-tree.html#cookbook-return-partly-shared-path-ranges[cypher queries dealing with path ranges] but an interesting variation that I came across recently is where we want to find the individual hops in a path. I thought http://en.wikipedia.org/wiki/List_of_Chelsea_F.C._managers[the managers that Chelsea have had] since Roman Abramovich took over would serve as a useful data set to show how this works. So we create all the managers and a 'SUCCEEDED_BY' relationship between them as follows: [source,cypher] ---- CREATE (ranieri {name: "Claudio Ranieri"}) CREATE (mourinho {name: "Jose Mourinho"}) CREATE (grant {name: "Avram Grant"}) CREATE (scolari {name: "Luiz Felipe Scolari"}) CREATE (wilkins {name: "Ray Wilkins"}) CREATE (hiddink {name: "Guus Hiddink"}) CREATE (ancelotti {name: "Carlo Ancelotti"}) CREATE (villasBoas {name: "Andre Villas Boas"}) CREATE (diMatteo {name: "Roberto Di Matteo"}) CREATE (benitez {name: "Rafael Benitez"}) CREATE (ranieri)-[:SUCCEEDED_BY]->(mourinho) CREATE (mourinho)-[:SUCCEEDED_BY]->(grant) CREATE (grant)-[:SUCCEEDED_BY]->(scolari) CREATE (scolari)-[:SUCCEEDED_BY]->(wilkins) CREATE (wilkins)-[:SUCCEEDED_BY]->(hiddink) CREATE (hiddink)-[:SUCCEEDED_BY]->(ancelotti) CREATE (ancelotti)-[:SUCCEEDED_BY]->(villasBoas) CREATE (villasBoas)-[:SUCCEEDED_BY]->(diMatteo) CREATE (diMatteo)-[:SUCCEEDED_BY]->(benitez) CREATE (benitez)-[:SUCCEEDED_BY]->(mourinho) ---- We want to write a query which will return the 'SUCCEEDED_BY' pairs starting from Claudio Ranieri and working down. We might start out with this query which starts from Ranieri and goes all the way down the tree finding the next successor: [source,cypher] ---- START m = node:node_auto_index(name="Claudio Ranieri") MATCH path = (m)-[rel:SUCCEEDED_BY*]->(successor) RETURN EXTRACT(n IN NODES(path): n.name) ---- [source,text] ---- ==> +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ==> | EXTRACT(n IN NODES(path): n.name) | ==> +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ==> | ["Claudio Ranieri","Jose Mourinho"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins","Guus Hiddink"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins","Guus Hiddink","Carlo Ancelotti"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins","Guus Hiddink","Carlo Ancelotti","Andre Villas Boas"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins","Guus Hiddink","Carlo Ancelotti","Andre Villas Boas","Roberto Di Matteo"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins","Guus Hiddink","Carlo Ancelotti","Andre Villas Boas","Roberto Di Matteo","Rafael Benitez"] | ==> | ["Claudio Ranieri","Jose Mourinho","Avram Grant","Luiz Felipe Scolari","Ray Wilkins","Guus Hiddink","Carlo Ancelotti","Andre Villas Boas","Roberto Di Matteo","Rafael Benitez","Jose Mourinho"] | ==> +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ==> 10 rows ---- That gives us all the combinations but unfortunately it includes all the previous successors as well so it's not quite what we want. We need to manipulate the query such that we have a list of all the managers and can then follow a single 'SUCCEEDED_BY' relationship to find their successor. We could easily get that list of managers by following the 'SUCCEEDED_BY' relationship and getting the nodes on the other side but that would lead to Claudio Ranieri being excluded since he doesn't have an incoming relationship. To keep Ranieri we can make use of the 0 length path like so: [source,cypher] ---- START m = node:node_auto_index(name="Claudio Ranieri") MATCH path = (m)-[rel:SUCCEEDED_BY*0..]->(mm) RETURN mm ---- [source,text] ---- ==> +--------------------------------------+ ==> | mm | ==> +--------------------------------------+ ==> | Node[8]{name:"Claudio Ranieri"} | ==> | Node[9]{name:"Jose Mourinho"} | ==> | Node[10]{name:"Avram Grant"} | ==> | Node[11]{name:"Luiz Felipe Scolari"} | ==> | Node[12]{name:"Ray Wilkins"} | ==> | Node[13]{name:"Guus Hiddink"} | ==> | Node[14]{name:"Carlo Ancelotti"} | ==> | Node[15]{name:"Andre Villas Boas"} | ==> | Node[16]{name:"Roberto Di Matteo"} | ==> | Node[17]{name:"Rafael Benitez"} | ==> | Node[9]{name:"Jose Mourinho"} | ==> +--------------------------------------+ ==> 11 rows ---- If we now follow the 'SUCCEEDED_BY' relationship from our list of managers we end up with pairs of managers: [source,cypher] ---- START m = node:node_auto_index(name="Claudio Ranieri") MATCH path = (m)-[rel:SUCCEEDED_BY*0..]->(mm)-[:SUCCEEDED_BY]->(successor) RETURN DISTINCT mm.name, successor.name ---- [source,text] ---- ==> +-----------------------------------------------+ ==> | mm.name | successor.name | ==> +-----------------------------------------------+ ==> | "Claudio Ranieri" | "Jose Mourinho" | ==> | "Jose Mourinho" | "Avram Grant" | ==> | "Avram Grant" | "Luiz Felipe Scolari" | ==> | "Luiz Felipe Scolari" | "Ray Wilkins" | ==> | "Ray Wilkins" | "Guus Hiddink" | ==> | "Guus Hiddink" | "Carlo Ancelotti" | ==> | "Carlo Ancelotti" | "Andre Villas Boas" | ==> | "Andre Villas Boas" | "Roberto Di Matteo" | ==> | "Roberto Di Matteo" | "Rafael Benitez" | ==> | "Rafael Benitez" | "Jose Mourinho" | ==> +-----------------------------------------------+ ==> 10 rows ---- The code for this is available on the http://console.neo4j.org/?id=dzs5bn[neo4j console] if you're interested in playing with it further.
null
null
[ 0.012676378712058067, -0.0033830106258392334, -0.003886437974870205, 0.04359899088740349, 0.10281872749328613, -0.02797064371407032, 0.027414245530962944, 0.017197871580719948, 0.03158978745341301, -0.029873043298721313, -0.005535269156098366, -0.0017228199867531657, -0.051254741847515106, 0.013975856825709343, -0.004677156917750835, 0.04209045693278313, 0.06673622131347656, 0.03941846638917923, -0.00887941475957632, -0.030620696023106575, 0.024682829156517982, 0.05685211718082428, 0.004109795670956373, 0.04432534798979759, 0.044191863387823105, 0.01634298823773861, -0.002401995938271284, -0.02352091111242771, -0.03755195811390877, 0.0027856461238116026, 0.04230803996324539, -0.0363093726336956, 0.027479926124215126, -0.044271402060985565, 0.025811348110437393, 0.0020288280211389065, -0.03483603894710541, 0.00243782764300704, -0.011465455405414104, -0.011401370167732239, -0.07748299092054367, 0.031504809856414795, -0.018879972398281097, 0.01651744171977043, -0.02998911589384079, 0.0014399290084838867, -0.07288899272680283, 0.04124767705798149, 0.01355199795216322, 0.023691430687904358, -0.08094967156648636, 0.03105930984020233, -0.021670226007699966, 0.005170305259525776, 0.0036186857614666224, 0.05434563755989075, 0.007849782705307007, -0.04349231719970703, 0.048710934817790985, -0.012989381328225136, -0.013952942565083504, -0.0028200435917824507, 0.0008397166966460645, 0.02408084273338318, 0.008811475709080696, -0.05428049713373184, -0.0030119374860078096, 0.047166455537080765, -0.04317197576165199, -0.005035909358412027, -0.012969398871064186, 0.0016405752394348383, 0.0016468116082251072, 0.00466952845454216, -0.0003043070901185274, -0.06291542202234268, 0.008802484720945358, 0.06885426491498947, 0.036600857973098755, 0.0589759536087513, -0.021755853667855263, 0.004034613724797964, -0.021820474416017532, 0.015746448189020157, -0.025959055870771408, -0.03195619210600853, -0.032901931554079056, -0.04388407617807388, -0.04700960963964462, 0.04188375174999237, 0.015799816697835922, -0.08662476390600204, 0.002110698726028204, 0.002944364445284009, -0.014596011489629745, 0.004059188533574343, 0.03445851057767868, 0.010810771957039833, 0.011050570756196976, -0.025723887607455254, -0.027940895408391953, -0.01814255490899086, -0.0021486312616616488, 0.01443599071353674, -0.07258334755897522, -0.028520965948700905, -0.032795146107673645, -0.002972376998513937, 0.0076359533704817295, -0.008188447915017605, -0.05352618917822838, 0.018457762897014618, -0.010825135745108128, 0.03184013441205025, -0.09036402404308319, 0.07518259435892105, 0.02254083938896656, 0.00019224458083044738, -0.012353888712823391, 0.023836251348257065, 0.04371229559183121, 0.016482632607221603, 0.012992332689464092, 0.07653754949569702, -0.01194906048476696, 0.025245893746614456, 0.0024656974710524082, 0.04902000352740288, -0.01655193790793419, -0.06273674964904785, -0.04402971640229225, 0.06938329339027405, -0.016205208376049995, 0.01133812963962555, -0.02585829421877861, -0.04053302854299545, -0.0009701305534690619, 0.02401041053235531, 0.02808772772550583, 0.033715493977069855, -0.014751879498362541, -0.021363548934459686, 0.03596228361129761, 0.0018555321730673313, 0.03525272756814957, 0.010824358090758324, -0.02443208545446396, -0.04284513741731644, -0.016720440238714218, 0.016215944662690163, 0.03218365088105202, 0.012678983621299267, 0.07536186277866364, -0.028068389743566513, -0.006507947109639645, 0.10103857517242432, 0.05306744575500488, -0.0007313578389585018, -0.027728043496608734, -0.010344741865992546, 0.0619206503033638, 0.019602734595537186, 0.03873908519744873, 0.042402394115924835, -0.0035877188201993704, -0.011224411427974701, 0.007680405862629414, 0.07440932095050812, -0.00891075935214758, 0.026689652353525162, -0.03154958412051201, -0.0550604984164238, 0.058686353266239166, -0.03087584860622883, -0.025029249489307404, 0.04292875528335571, 0.04711703956127167, 0.016958635300397873, 0.03845410421490669, 0.004334480967372656, -0.070378378033638, 0.06213647499680519, 0.007550319656729698, -0.007790619041770697, 0.009924311190843582, -0.0008599249995313585, 0.09873464703559875, 0.033411528915166855, 0.020959695801138878, 0.03991237282752991, -0.07614482939243317, -0.08493300527334213, -0.011734436266124249, -0.024684224277734756, 0.054309945553541183, -0.030163101851940155, 0.023270802572369576, 0.01593017391860485, 0.014426280744373798, 0.038285885006189346, 0.020569169893860817, -0.009286110289394855, 0.03524624556303024, -0.040103986859321594, -0.05381111055612564, 0.06375449150800705, 0.01710072159767151, -0.045684121549129486, -0.030190208926796913, 0.02185751684010029, -0.01936434581875801, 0.008068087510764599, 0.0359625369310379, -0.028813393786549568, 0.04154357686638832, 0.010949304327368736, 0.018307069316506386, -0.005493019707500935, 0.040117643773555756, -0.039115652441978455, 0.03217329457402229, 0.02593403123319149, -0.024007566273212433, 0.009628389962017536, 0.017842084169387817, 0.1120830550789833, 0.06172419711947441, -0.030545931309461594, -0.06417197734117508, 0.014940516091883183, 0.013104554265737534, -0.026236969977617264, 0.020983507856726646, -0.0024189536925405264, -0.013848190195858479, -0.01655402220785618, -0.02855578623712063, -0.018905555829405785, 0.010245156474411488, -0.0326177142560482, 0.015017143450677395, 0.057903729379177094, -0.003517327830195427, 0.045928675681352615, 0.015599488280713558, -0.00825842097401619, -0.00016889140533749014, -0.018351798877120018, -0.05580245703458786, 0.033501602709293365, 0.01869012787938118, -0.0011522124987095594, 0.05371839925646782, -0.02790578082203865, -0.0017694886773824692, -0.02071698009967804, -0.026791436597704887, 0.04332844913005829, 0.05645531043410301, 0.06818456947803497, 0.002577179577201605, 0.05300876498222351, -0.021001480519771576, 0.012174989096820354, -0.008422663435339928, -0.048762641847133636, -0.05295448377728462, -0.040052030235528946, 0.02452985756099224, -0.0067421868443489075, 0.013037282973527908, -0.00792938657104969, 0.025934690609574318, 0.007815168239176273, 0.021090645343065262, 0.008195909671485424, 0.003099282504990697, 0.011562068946659565, 0.00621966365724802, -0.02907855622470379, -0.034559573978185654, 0.04242899268865585, -0.04723706096410751, -0.01557102520018816, -0.005339690949767828, -0.057837050408124924, 0.048124752938747406, -0.07128587365150452, -0.016792841255664825, 0.0028572522569447756, 0.023343268781900406, 0.0321316234767437, 0.01901821792125702, 0.01272672414779663, 0.043544307351112366, -0.0055847144685685635, 0.011036933399736881, 0.01966671645641327, -0.010114030912518501, 0.05508030578494072, 0.008903013542294502, 0.0471058189868927, 0.042739998549222946, -0.04468616843223572, 0.01778094470500946, -0.014284326694905758, 0.010539832524955273, -0.012341607362031937, -0.2802450656890869, 0.06105021759867668, -0.02811148203909397, -0.03643328323960304, -0.0007986270356923342, -0.02199413813650608, -0.026497770100831985, -0.03855935484170914, -0.031061047688126564, 0.012560101225972176, -0.031248770654201508, -0.04090329259634018, -0.02010897360742092, 0.038250815123319626, 0.01987970620393753, 0.006977664772421122, -0.0208306722342968, -0.06905537098646164, -0.016315005719661713, 0.044450726360082626, 0.007168283220380545, -0.05559848994016647, -0.02030317671597004, 0.030680689960718155, 0.026584921404719353, 0.03414027765393257, -0.08002292364835739, 0.006591589190065861, -0.07586883008480072, -0.0350508913397789, -0.00016920766211114824, -0.01990235038101673, 0.009904221631586552, -0.00131605111528188, -0.03487767279148102, -0.0341152660548687, 0.05230191349983215, -0.00848418939858675, 0.003636675188317895, 0.014979053288698196, -0.03670057654380798, -0.03259190917015076, -0.030461762100458145, -0.020296858623623848, 0.07731135189533234, 0.010453376919031143, -0.07400514930486679, -0.0004994640476070344, -0.021312111988663673, 0.0628642588853836, -0.031192179769277573, -0.041278306394815445, -0.0021679941564798355, 0.019366532564163208, 0.005159988533705473, -0.025992272421717644, 0.00794797670096159, -0.02679898776113987, -0.05101848393678665, -0.01997586525976658, -0.0039172181859612465, -0.03299948573112488, 0.009460615925490856, -0.04794091358780861, -0.006273448001593351, -0.05242853984236717, -0.0695410668849945, -0.01972310058772564, 0.04280604422092438, 0.0003588321269489825, -0.03419454023241997, 0.023807214573025703, -0.03534773364663124, -0.09913173317909241, -0.04062267392873764, -0.01119967084378004, 0.0005622348398901522, 0.009371483698487282, -0.01010947860777378, 0.04228276386857033, -0.05069786682724953, -0.03337988257408142, -0.0033014207147061825, 0.015860700979828835, 0.031261950731277466, 0.024303771555423737, 0.009548969566822052, -0.018273666501045227, -0.03202012553811073, 0.008542286232113838, 0.06770773977041245, -0.004429942462593317, -0.0041699702851474285, 0.010183288715779781, 0.0017263576155528426, 0.019722556695342064, 0.00009318328375229612, -0.013706020079553127, 0.010577517561614513, 0.05453392490744591, 0.04439590498805046, -0.036651019006967545, 0.012304514646530151, 0.0018885813187807798, -0.034604787826538086, -0.004160112235695124, -0.058605439960956573, 0.031131356954574585, 0.027737675234675407, 0.024487346410751343, -0.004277331288903952, -0.00601613475009799, 0.01613546349108219, -0.04084315523505211, -0.04832179844379425, -0.028888585045933723, 0.029904022812843323, 0.0326833538711071, 0.03043336234986782, -0.021846404299139977, -0.07825236022472382, 0.030794711783528328, 0.013518163003027439, -0.0247783325612545, -0.07898560911417007, -0.023282881826162338, -0.026506822556257248, -0.011470511555671692, 0.0032835949677973986, 0.014416273683309555, -0.04443514347076416, 0.026983872056007385, 0.027285072952508926, -0.036854058504104614, 0.0294345710426569, -0.014575520530343056, -0.05402299016714096, -0.041780851781368256, 0.00346907926723361, -0.011662675999104977, -0.03389658033847809, 0.02919132448732853, 0.023387975990772247, 0.056415967643260956, 0.039560917764902115, 0.0012424959568306804, 0.009902872145175934, -0.003446639981120825, 0.005503819324076176, 0.0019463762873783708, 0.013685883022844791, 0.004559017717838287, 0.028424160555005074, -0.043636661022901535, -0.012586905620992184, -0.009803459979593754, 0.041778597980737686, -0.014444834552705288, -0.023074712604284286, -0.0268604326993227, 0.03219464421272278, -0.05840953439474106, 0.023814622312784195, -0.003499838290736079, -0.0017436029156669974, 0.07471901923418045, -0.015821343287825584, 0.007188478950411081, -0.043355777859687805, -0.007950308732688427, 0.018833499401807785, -0.008436509408056736, -0.05870847404003143, -0.013801411725580692, -0.02530605159699917, 0.016415651887655258, -0.005121226422488689, 0.053716991096735, 0.006631051655858755, 0.016988253220915794, -0.011038297787308693, -0.016437413170933723, 0.017336104065179825, 0.003970991354435682, 0.034399256110191345, 0.018573880195617676, -0.02399630658328533, -0.008094863034784794, -0.019035760313272476, -0.01862970180809498, -0.011232639662921429, 0.007968546822667122, -0.0414559543132782, 0.017971264198422432, -0.0370633602142334, -0.06141643971204758, 0.04383555427193642, 0.00018118055595550686, 0.006473298650234938, 0.025934062898159027, -0.0009098444133996964, -0.02284535951912403, 0.0016520866192877293, 0.016088414937257767, 0.06347115337848663, -0.04857488349080086, -0.02212408185005188, 0.006392324343323708, 0.0004110648878850043, 0.00030002195853739977, 0.01543248537927866, -0.06701012700796127, -0.033491697162389755, -0.010097228921949863, 0.02738812193274498, -0.04884693771600723, -0.020210925489664078, -0.02243899554014206, -0.014752228744328022, 0.00485498970374465, 0.038670942187309265, -0.0009966440265998244, 0.012907616794109344, -0.014741828665137291, 0.0016932286089286208, 0.03863702714443207, -0.024179063737392426, -0.00998061615973711, 0.014547880738973618, -0.027323715388774872, 0.010637004859745502, -0.02002604864537716, 0.026193024590611458, 0.01801658421754837, -0.012734673917293549, 0.01449410431087017, -0.06623441725969315, 0.0002778536290861666, -0.012022878043353558, 0.03771812468767166, -0.0014870557934045792, -0.004631228744983673, -0.026202861219644547, -0.0025080416817218065, -0.011113854125142097, -0.00594004150480032, -0.009477811865508556, -0.025075437501072884, 0.02177211083471775, 0.04496772214770317, 0.013983253389596939, 0.04674225673079491, -0.0030668764375150204, -0.024621110409498215, 0.06766925752162933, -0.03479732945561409, -0.022900741547346115, -0.013220538385212421, -0.04370661824941635, 0.02644934691488743, 0.025765307247638702, 0.02322159707546234, -0.04586123302578926, 0.041804417967796326, 0.06751479208469391, -0.0014718653401359916, 0.024596812203526497, -0.01204350683838129, 0.025227215141057968, -0.04643082618713379, -0.0010124180698767304, -0.09025715291500092, 0.0092630535364151, 0.034929294139146805, 0.004542325157672167, 0.00523767713457346, 0.006170513574033976, -0.023462709039449692, 0.010700715705752373, -0.07969384640455246, -0.030889363959431648, 0.019911348819732666, -0.04152097925543785, 0.021210122853517532, 0.01379483100026846, -0.05943450331687927, -0.0012131179682910442, 0.05362880602478981, -0.029775265604257584, -0.025188224390149117, -0.03082803077995777, 0.06022508442401886, -0.04404287412762642, 0.05213800072669983, -0.002557446015998721, -0.05416915938258171, 0.07571201026439667, 0.029280351474881172, 0.02290249429643154, 0.05335283279418945, -0.027714909985661507, 0.020270144566893578, 0.051568880677223206, -0.0014391319127753377, 0.017785269767045975, 0.0548505000770092, -0.02454744465649128, -0.058960869908332825, 0.024177486076951027, 0.004649332724511623, -0.01314495224505663, -0.05750488117337227, 0.06136884540319443, -0.003928552381694317, -0.03896419703960419, -0.047415830194950104, 0.0218373890966177, -0.01248111855238676, -0.013297894038259983, -0.025405388325452805, 0.047179605811834335, -0.0347432903945446, 0.033014051616191864, -0.03346802294254303, 0.016188636422157288, 0.05740116164088249, -0.009309976361691952, -0.023410368710756302, -0.00854063592851162, 0.09698321670293808, 0.08790534734725952, 0.04777054861187935, 0.0009405154269188643, 0.06806441396474838, -0.0005255008582025766, -0.045352041721343994, -0.02389489859342575, -0.01697981171309948, 0.004446171689778566, 0.0020390418358147144, 0.022435957565903664, 0.07455743104219437, -0.025376657024025917, 0.06829313933849335, -0.0105289863422513, -0.032883431762456894, -0.006057337857782841, -0.018513675779104233, 0.02175135537981987, 0.07876709848642349, 0.016399715095758438, 0.04731827601790428, -0.028723640367388725, -0.032556209713220596, 0.028135165572166443, -0.008401849307119846, -0.03437779098749161, 0.041587620973587036, -0.040518105030059814, -0.00015784207789693028, 0.00935328472405672, 0.049214284867048264, 0.0916699469089508, -0.041489988565444946, 0.007508900947868824, 0.0038073305040597916, -0.0012977008009329438, -0.011569932103157043, 0.02447790838778019, -0.0035925572738051414, -0.007985380478203297, -0.025874296203255653, -0.055906742811203, -0.03733792155981064, -0.019059067592024803, -0.035785675048828125, 0.018670707941055298, 0.005911391228437424, 0.014283735305070877, -0.002545122290030122, -0.012718535959720612, -0.012923342175781727, -0.04803149402141571, -0.044214509427547455, -0.05427084490656853, -0.06378646194934845, -0.007615268230438232, 0.007839033380150795, -0.006042201537638903, -0.017835158854722977, 0.010991076938807964, -0.00814289040863514, -0.015858322381973267, 0.05329493060708046, -0.02763689123094082, 0.008421285077929497, 0.010085459798574448, 0.04860389232635498, 0.012163558043539524, 0.016566814854741096, 0.05433482676744461, -0.0070971413515508175, 0.0005580508732236922, -0.027230745181441307, -0.001958854030817747, 0.04925147444009781, 0.010432026349008083, -0.0037691649049520493, -0.07809848338365555, -0.002375017385929823, 0.025391653180122375, -0.015997793525457382, -0.07840128988027573, 0.020893476903438568, 0.0406438447535038, 0.0023555555380880833, 0.034196313470602036, -0.02364947833120823, -0.017249399796128273, -0.04138199985027313, 0.01437313575297594, -0.003674686187878251, -0.04053682088851929, 0.04551459103822708, -0.02705455757677555, 0.08101271837949753, 0.03213489428162575, -0.01216104719787836, -0.05497698485851288, -0.0250552911311388, -0.0062343361787498, 0.016407186165452003, -0.02832084894180298, -0.024546831846237183, -0.04383751004934311, -0.09014935791492462, -0.028754262253642082, 0.005779984872788191, -0.033900242298841476, -0.02521090768277645, -0.010891089215874672, 0.02073780633509159, 0.01783151738345623, 0.04014483839273453, -0.06179417669773102, 0.04148577153682709, -0.019648613408207893, -0.013296554796397686, -0.02655929885804653, 0.01169935055077076, -0.00639144703745842, 0.031999919563531876, 0.008764195255935192, -0.0518525093793869, 0.003029609564691782, -0.04056714475154877, 0.009995149448513985, 0.011572135612368584, 0.019788648933172226, 0.019818706437945366 ]
[ -0.03694019094109535, -0.0076146433129906654, -0.026740441098809242, -0.02054140716791153, 0.0509905070066452, -0.015105181373655796, 0.005450747441500425, 0.008839460089802742, 0.055630799382925034, -0.026445146650075912, 0.014595887623727322, -0.052435312420129776, -0.01343509927392006, 0.004616300109773874, 0.07106620818376541, -0.0066880127415061, -0.06538119167089462, -0.03372640907764435, -0.03696677088737488, 0.027181830257177353, -0.03240319341421127, -0.046260010451078415, -0.005057449918240309, -0.017028706148266792, 0.01700848713517189, 0.020801538601517677, 0.06337611377239227, -0.008221358060836792, -0.02694634348154068, -0.21723109483718872, 0.003216022392734885, 0.03044257126748562, 0.01731967180967331, -0.006182570476084948, 0.01682976633310318, 0.03236078843474388, -0.00009911407687468454, 0.009043356403708458, 0.036826301366090775, 0.022338518872857094, 0.023394323885440826, -0.0037137367762625217, -0.0238887257874012, -0.024538852274417877, 0.060710493475198746, 0.02544614113867283, -0.010568268597126007, 0.0059700473211705685, -0.015168127603828907, 0.04204387590289116, -0.04942568391561508, -0.0009241041843779385, -0.002011060481891036, -0.008483492769300938, 0.014070326462388039, 0.09273120760917664, 0.06119101494550705, 0.057727258652448654, 0.025279071182012558, 0.0683327317237854, 0.02987680770456791, 0.018376611173152924, -0.15830561518669128, 0.044652584940195084, 0.004753071814775467, -0.01705441251397133, -0.054393887519836426, 0.011678957380354404, -0.02860056795179844, 0.08840327709913254, 0.027963677421212196, -0.04533166065812111, -0.003893353743478656, 0.04520013555884361, -0.004699337761849165, -0.010634933598339558, -0.031388718634843826, 0.009224203415215015, 0.004424192011356354, -0.01706920564174652, -0.043469902127981186, 0.018842970952391624, -0.06426367908716202, -0.01195052545517683, -0.06186971068382263, 0.04993845522403717, -0.01475539244711399, 0.03716989606618881, -0.031003296375274658, 0.03762524202466011, 0.033877499401569366, 0.032928094267845154, 0.04190164431929588, 0.03835144639015198, -0.12139837443828583, -0.054361406713724136, -0.010391471907496452, 0.01041730958968401, -0.01581745781004429, 0.438589870929718, 0.005497352220118046, 0.0013670059852302074, 0.05028606951236725, 0.05841539427638054, -0.011570755392313004, -0.004183617886155844, 0.015601576305925846, -0.05842876806855202, 0.03050481714308262, 0.00945423636585474, -0.02316359430551529, -0.03020668402314186, 0.011487790383398533, -0.07706105709075928, 0.020354459062218666, 0.012564008124172688, 0.035416532307863235, 0.014074422419071198, -0.05479554831981659, 0.014641625806689262, 0.00926358811557293, 0.009524751454591751, 0.018899761140346527, 0.030005522072315216, -0.024639254435896873, 0.03602459281682968, 0.009583242237567902, 0.043129194527864456, 0.04633082449436188, 0.04347788915038109, 0.0429832823574543, 0.020366599783301353, -0.0826001912355423, 0.034721121191978455, -0.00936838984489441, -0.007173660211265087, 0.02185632474720478, -0.04558861255645752, -0.03491724282503128, 0.025250960141420364, -0.010582384653389454, -0.05157266557216644, 0.04301406443119049, 0.0005590319633483887, -0.021595269441604614, 0.11149131506681442, -0.005947227589786053, -0.035498522222042084, -0.01907903142273426, -0.02111191675066948, -0.02208535745739937, 0.027056431397795677, 0.029488781467080116, -0.0827532708644867, -0.030445046722888947, 0.014558549970388412, 0.06521496176719666, -0.026350244879722595, -0.07993632555007935, 0.0002854492049664259, -0.02157866396009922, -0.03487931191921234, -0.054291196167469025, 0.08740521967411041, 0.03614823892712593, -0.13228191435337067, -0.017900746315717697, 0.0058397711254656315, 0.002185523509979248, -0.07987785339355469, 0.012486605904996395, -0.00305999256670475, -0.03559357672929764, 0.021183384582400322, 0.04510753974318504, 0.007466465700417757, -0.034587591886520386, -0.02981107495725155, 0.04572506248950958, -0.0034529520198702812, 0.020612258464097977, -0.02414131537079811, -0.0498533621430397, -0.00781328696757555, -0.05026429519057274, -0.025088338181376457, -0.07048909366130829, -0.017492750659585, -0.03472694382071495, -0.0105340126901865, -0.027110761031508446, 0.03120393306016922, -0.02137475088238716, 0.03724057227373123, -0.035678185522556305, -0.009002583101391792, -0.02262861281633377, 0.00684254989027977, -0.009825731627643108, -0.036463744938373566, -0.03175938129425049, 0.007991698570549488, -0.01310702133923769, -0.005342238117009401, -0.06274336576461792, 0.008578023873269558, 0.044725991785526276, -0.009402870200574398, 0.088588647544384, 0.024274853989481926, -0.054110269993543625, -0.00029940163949504495, -0.007451098412275314, 0.021464237943291664, -0.015939734876155853, 0.001969187520444393, -0.027851028367877007, 0.010980981402099133, 0.032336506992578506, 0.02968909591436386, -0.020646097138524055, -0.0034017502330243587, -0.03994714841246605, -0.3410828411579132, -0.031000318005681038, -0.032071903347969055, -0.011676785536110401, -0.0038237872067838907, -0.022057147696614265, 0.012831032276153564, -0.0384872741997242, 0.003571108216419816, 0.015596932731568813, 0.06665996462106705, -0.036302123218774796, -0.0103675602003932, -0.03492157906293869, -0.010650292038917542, 0.03834819793701172, -0.005283552687615156, 0.02353508211672306, -0.001222164835780859, 0.04704326391220093, 0.05484461784362793, -0.0178892370313406, -0.019699858501553535, -0.020891685038805008, -0.03127318620681763, -0.0475999154150486, 0.1344728171825409, 0.05334531515836716, 0.03965258598327637, -0.05545829236507416, 0.05678955093026161, 0.0025213940534740686, -0.005480275489389896, -0.06415320932865143, 0.021178752183914185, -0.015630217269062996, 0.039058100432157516, -0.043118324130773544, 0.02133961208164692, -0.03646925836801529, -0.005201437976211309, -0.013505075126886368, -0.040663477033376694, -0.019578998908400536, -0.05203118920326233, 0.03695523366332054, -0.0444030836224556, -0.03461499884724617, 0.004811484832316637, 0.06152986362576485, 0.023189950734376907, 0.0335313081741333, 0.03542027622461319, -0.028940735384821892, 0.022579146549105644, -0.04411127790808678, -0.063679039478302, 0.004477784503251314, -0.012180665507912636, 0.0316174179315567, -0.009011800400912762, 0.03180160000920296, 0.03707041218876839, -0.07796836644411087, 0.019278230145573616, -0.008701355196535587, -0.016406448557972908, 0.003887086408212781, 0.03421449288725853, -0.023006107658147812, -0.021360382437705994, 0.06888359785079956, -0.004333973862230778, 0.015447353012859821, 0.06105058267712593, 0.020574534311890602, 0.006564426235854626, -0.0055176797322928905, 0.002977566095069051, 0.01809072494506836, 0.025443069636821747, -0.052467718720436096, 0.07722447067499161, -0.02233879268169403, 0.0030402690172195435, 0.039249565452337265, 0.030410030856728554, -0.04684946686029434, 0.07613050937652588, 0.00880485586822033, -0.022016700357198715, 0.014501637779176235, -0.027514120563864708, -0.006725231185555458, 0.05584428831934929, -0.031169120222330093, -0.2570168972015381, 0.04600764811038971, 0.035912029445171356, 0.049195464700460434, 0.03563614562153816, 0.0021974591072648764, 0.018719127401709557, -0.032701872289180756, -0.006989303044974804, 0.019773732870817184, 0.051498737186193466, 0.010591400787234306, 0.019653422757983208, 0.00010372936958447099, -0.016358260065317154, -0.001385565847158432, 0.0272748414427042, 0.026206016540527344, 0.04440387338399887, 0.029025893658399582, 0.025311540812253952, -0.007300255820155144, 0.19039450585842133, -0.0021652025170624256, 0.03214852139353752, 0.054326605051755905, -0.03843328356742859, -0.020805012434720993, -0.003183908760547638, 0.011835913173854351, -0.0036650842521339655, 0.021905742585659027, 0.02629011869430542, 0.061043936759233475, 0.03273317217826843, -0.013317570090293884, -0.025812089443206787, 0.060810305178165436, -0.011705656535923481, -0.05513744056224823, -0.01779915951192379, 0.035855066031217575, -0.029446840286254883, 0.018472949042916298, 0.05954700708389282, 0.0021330092567950487, 0.0008861590176820755, 0.004728863015770912, -0.07347320020198822, -0.00917847827076912, -0.034352198243141174, -0.041687652468681335, -0.026426110416650772, -0.00008706841617822647, 0.012775885872542858, 0.04409731552004814, 0.015648407861590385, -0.05578305944800377, 0.020941026508808136, 0.010111108422279358, -0.04287011921405792, -0.0340142622590065, 0.0942494198679924, -0.01993856392800808, 0.000628188659902662 ]
[ 0.0314788818359375, 0.03835385665297508, -0.00698460265994072, 0.024131914600729942, -0.028199946507811546, 0.02577665075659752, -0.031691502779722214, -0.005869370885193348, 0.0010902504436671734, -0.01323543768376112, -0.01735580898821354, 0.024189282208681107, 0.04630928114056587, 0.0030286877881735563, -0.0043027265928685665, 0.021555129438638687, -0.019454188644886017, 0.04638391733169556, 0.005890116561204195, -0.03651857376098633, -0.015151333063840866, -0.010576157830655575, 0.017232878133654594, -0.008455037139356136, -0.021843384951353073, -0.0009181061759591103, -0.02455688826739788, 0.015553116798400879, 0.02667408622801304, -0.1210760697722435, -0.0004466521495487541, 0.00012635004532057792, -0.000269213953288272, 0.011446754448115826, 0.002070993883535266, 0.0016345992917194963, 0.023624375462532043, 0.02163730561733246, 0.0241618063300848, 0.011886077001690865, 0.05253175273537636, -0.007101390976458788, -0.01170778926461935, 0.01476545725017786, -0.018437398597598076, 0.019453831017017365, -0.01876704953610897, -0.024958902969956398, -0.002112374408170581, 0.00015725447156000882, -0.05451558530330658, -0.017706166952848434, 0.011834303848445415, 0.017906464636325836, -0.003216141602024436, 0.013287167996168137, -0.046991437673568726, 0.009207608178257942, 0.009557626210153103, -0.015909429639577866, 0.00882850680500269, -0.002923005959019065, -0.06424795091152191, -0.01743103377521038, -0.017018426209688187, 0.0016842406475916505, -0.03587847948074341, 0.029334094375371933, 0.009164899587631226, 0.013755601830780506, -0.013141868636012077, 0.02340005524456501, -0.07599974423646927, -0.015156427398324013, -0.022204512730240822, 0.044105734676122665, 0.03563970699906349, -0.017475705593824387, -0.009464206174015999, -0.03781695291399956, -0.01879311352968216, 0.015358962118625641, -0.02754444256424904, -0.02517840638756752, -0.017402688041329384, 0.010686978697776794, 0.01732882484793663, -0.03370818868279457, 0.048565953969955444, 0.021625978872179985, -0.008807625621557236, -0.009401712566614151, 0.0008559757843613625, -0.015028150752186775, -0.0878915935754776, -0.005025496240705252, 0.014063112437725067, -0.04034821316599846, 0.02869667299091816, 0.8387907147407532, 0.0029684032779186964, -0.0066601065918803215, -0.0061629293486475945, -0.009806950576603413, -0.006857575848698616, 0.03640316054224968, 0.036643315106630325, 0.008812044747173786, 0.0047454326413571835, 0.02155480347573757, -0.041360463947057724, 0.02047017775475979, 0.010214618407189846, 0.009532075375318527, 0.00730117317289114, 0.009138863533735275, 0.005838395562022924, -0.0279600378125906, -0.020849134773015976, 0.021284764632582664, 0.013937181793153286, 0.0046228161081671715, -0.0024179343599826097, 0.011711160652339458, -0.023279491811990738, -0.17850178480148315, -0.022648412734270096, -6.76991514677938e-33, 0.05223318189382553, 0.012331892736256123, 0.05878820642828941, 0.02758011221885681, 0.005642119329422712, 0.03214431554079056, 0.002942351158708334, -0.02307431772351265, -0.029579536989331245, -0.011376764625310898, -0.0349523201584816, 0.0015062418533489108, -0.0036240043118596077, -0.037030234932899475, 0.010404766537249088, -0.01672869361937046, 0.004276413004845381, -0.0031227755825966597, 0.007081347517669201, -0.006036432459950447, -0.00006546256190631539, 0.022051123902201653, -0.02967173047363758, 0.013255932368338108, 0.000010082007975142915, 0.0317913182079792, 0.008091901428997517, 0.001187679823487997, -0.024767369031906128, -0.04016388580203056, -0.05318869650363922, 0.0033344877883791924, -0.021693864837288857, -0.05854440852999687, -0.0007480668136849999, -0.04365137219429016, -0.0271002184599638, -0.005001274403184652, -0.004962532315403223, -0.02409694902598858, -0.06714248657226562, -0.0012581610353663564, 0.0000967125452007167, -0.012931506149470806, -0.04465385898947716, -0.018897362053394318, -0.007574891671538353, 0.011417561210691929, -0.003365269862115383, 0.026814214885234833, 0.004604283720254898, 0.02655978873372078, 0.021713949739933014, -0.015533600002527237, -0.0007963957032188773, -0.0175572969019413, -0.009066839702427387, 0.01553221046924591, 0.0030749232973903418, 0.021380428224802017, 0.07387391477823257, 0.005463890731334686, -0.03807654604315758, 0.0359807051718235, 0.021389104425907135, 0.031824611127376556, -0.013929205015301704, 0.0018120993627235293, 0.013150988146662712, 0.025470837950706482, -0.04783405736088753, 0.02757595106959343, 0.004759821575134993, -0.00930273812264204, 0.028346529230475426, -0.06267497688531876, -0.020475907251238823, -0.0243084654211998, 0.03083641454577446, 0.03078557923436165, -0.03682499751448631, -0.027370184659957886, 0.008645923808217049, -0.021040309220552444, 0.014747940935194492, -0.02094419114291668, 0.021348964422941208, 0.020366182550787926, 0.02017046883702278, 0.02441357634961605, 0.04016856104135513, 0.012971717864274979, 0.003241196507588029, 0.02391790971159935, -0.01036094594746828, 6.444524351476355e-33, -0.01467808522284031, 0.017808379605412483, -0.006901867222040892, -0.005740595515817404, 0.014355570077896118, 0.011080040596425533, 0.0109174819663167, -0.0033159973099827766, -0.04383357986807823, 0.04603812098503113, -0.019493455067276955, 0.002893810858950019, -0.00008875508501660079, 0.020849674940109253, 0.07766459137201309, -0.006528624799102545, 0.025358570739626884, -0.07970535755157471, -0.0007284438470378518, 0.026945989578962326, 0.006021987646818161, 0.006050765048712492, -0.023019930347800255, 0.03968397155404091, 0.015362080186605453, 0.034619227051734924, 0.01797289028763771, 0.022491950541734695, -0.007075667846947908, -0.0006140856421552598, -0.00392547994852066, -0.05145910382270813, -0.0230482816696167, -0.015519186854362488, 0.02847014181315899, 0.0006137097952887416, -0.013744625262916088, 0.024956468492746353, 0.01435452327132225, 0.0017363069346174598, 0.03063916228711605, -0.01784585975110531, 0.0026946202851831913, 0.0633661299943924, 0.016552329063415527, 0.010677394457161427, -0.002969540888443589, -0.0077763935551047325, 0.001996598206460476, 0.025087855756282806, 0.014045183546841145, 0.026526492089033127, -0.06489449739456177, 0.024698395282030106, 0.017965951934456825, -0.03959513083100319, -0.012708805501461029, 0.008541746065020561, -0.01413478422909975, -0.012542142532765865, -0.029969308525323868, -0.010559950955212116, -0.010100181214511395, 0.03648344799876213, -0.0003053728141821921, -0.02378379926085472, -0.017933042719960213, 0.012630797922611237, -0.02243611589074135, -0.008816474117338657, -0.010904781520366669, -0.009626095183193684, 0.0037334999069571495, 0.03380656614899635, 0.014981511980295181, -0.0345110259950161, -0.02198674902319908, -0.03212684765458107, -0.011968037113547325, 0.01659311354160309, 0.003627049969509244, 0.01798609457910061, 0.033407632261514664, -0.017010042443871498, 0.0020631947554647923, 0.011165408417582512, -0.02724273130297661, 0.030507151037454605, 0.007344670593738556, -0.00847479049116373, 0.03871297463774681, -0.04330777749419212, -0.010199310258030891, 0.037777818739414215, -0.02520517073571682, -1.264159710245849e-8, -0.049520570784807205, 0.016098545864224434, -0.006855899468064308, -0.006316161714494228, -0.009603912942111492, -0.0038565052673220634, -0.012425079010426998, -0.0017186839831992984, 0.00420335540547967, 0.021347742527723312, 0.0273453239351511, 0.002937781158834696, 0.014521574601531029, 0.029316386207938194, 0.04472983255982399, -0.01631285436451435, -0.009569630958139896, -0.011402594856917858, 0.029145512729883194, 0.026609431952238083, -0.005196841433644295, 0.05664007365703583, -0.0511602982878685, 0.006251636892557144, 0.021418960765004158, -0.025168387219309807, 0.007764001842588186, -0.07729141414165497, 0.0037198378704488277, -0.02252013608813286, 0.03189452365040779, -0.011571314185857773, -0.00460437685251236, 0.00925805140286684, -0.044411491602659225, 0.004793159198015928, 0.007060102187097073, 0.024231605231761932, -0.003972478676587343, 0.004333775490522385, -0.016029490157961845, 0.0008670048555359244, -0.03580622747540474, -0.025077665224671364, -0.020037826150655746, -0.009773582220077515, -0.03573331609368324, -0.013804310001432896, 0.0331205315887928, -0.03879208117723465, -0.026123644784092903, 0.01780284382402897, 0.048560820519924164, 0.03018376976251602, 0.040010303258895874, -0.029177771881222725, -0.014127453789114952, -0.02029012329876423, 0.0008943380671553314, -0.05390414223074913, 0.02093159221112728, 0.004231512080878019, -0.02730131708085537, -0.015647653490304947 ]
neo4jcypher-finding-single-hop-paths
https://markhneedham.com/blog/2013/06/15/neo4jcypher-finding-single-hop-paths
false
2013-06-15 09:53:15
neo4j/cypher/Lucene: Dealing with special characters
[ "neo4j", "lucene", "cypher" ]
[ "neo4j" ]
neo4j uses http://lucene.apache.org/core/[Lucene] to handle indexing of nodes and relationships in the graph but something that can be a bit confusing at first is how to handle special characters in Lucene queries. For example let's say we set up a database with the following data: [source,cypher] ---- CREATE ({name: "-one"}) CREATE ({name: "-two"}) CREATE ({name: "-three"}) CREATE ({name: "four"}) ---- And for whatever reason we only wanted to return the nodes that begin with a hyphen. A hyphen is a special character in Lucene so if we forget to escape it we'll end up with an impressive stack trace: [source,cypher] ---- START p = node:node_auto_index("name:-*") RETURN p; ---- [source,text] ---- ==> RuntimeException: org.apache.lucene.queryParser.ParseException: Cannot parse 'name:-*': Encountered " "-" "- "" at line 1, column 5. ==> Was expecting one of: ==> <BAREOPER> ... ==> "(" ... ==> "*" ... ==> <QUOTED> ... ==> <TERM> ... ==> <PREFIXTERM> ... ==> <WILDTERM> ... ==> "[" ... ==> "{" ... ==> <NUMBER> ... ==> ---- So we change our query to escape the hyphen: [source,cypher] ---- START p = node:node_auto_index("name:\-*") RETURN p; ---- which results in the following exception: [source,text] ---- ==> SyntaxException: invalid escape sequence ==> ==> Think we should have better error message here? Help us by sending this query to cypher@neo4j.org. ==> ==> Thank you, the Neo4j Team. ==> ==> "START p = node:node_auto_index("name:\-*") RETURN p" ==> ---- The problem is that the cypher parser also treats '\' as an escape character so we need to use two of them to make our query do what we want: [source,cypher] ---- START p = node:node_auto_index("name:\\-*") RETURN p; ---- [source,text] ---- ==> +------------------------+ ==> | p | ==> +------------------------+ ==> | Node[4]{name:"-one"} | ==> | Node[5]{name:"-two"} | ==> | Node[6]{name:"-three"} | ==> +------------------------+ ==> 3 rows ---- Alternatively, as https://twitter.com/cleishm[Chris] pointed out, we could make use of parameters in which case we don't need to worry about how the cypher parser handles escaping: [source,ruby] ---- require 'neography' neo = Neography::Rest.new query = "START p = node:node_auto_index({query}) RETURN p" result = neo.execute_query(query, { :query => 'name:\-*'}) p result["data"].map { |x| x[0]["data"] } ---- [source,text] ---- $ bundle exec ruby params.rb [{"name"=>"-one"}, {"name"=>"-two"}, {"name"=>"-three"}] ----
null
null
[ -0.023476600646972656, 0.010527307167649269, -0.002703604055568576, 0.04242631047964096, 0.08617518097162247, -0.008828974328935146, 0.02051994763314724, 0.018849244341254234, -0.002389053348451853, -0.01808229647576809, -0.05458493530750275, -0.004597922787070274, -0.0549471415579319, 0.017317457124590874, 0.01146459486335516, 0.07261446118354797, 0.08057882636785507, 0.020641691982746124, 0.010701128281652927, -0.04366680607199669, -0.0006049516377970576, 0.023759538307785988, -0.005248648580163717, 0.027920113876461983, 0.05345330014824867, 0.03051324002444744, -0.027758903801441193, 0.01917784847319126, -0.05341095104813576, -0.007863280363380909, 0.0663837417960167, -0.006879892665892839, 0.044421009719371796, -0.005054501350969076, 0.035393666476011276, 0.013127608224749565, -0.05081676319241524, -0.008339443244040012, 0.02027864195406437, 0.020134400576353073, -0.05450372397899628, 0.01001238077878952, -0.02845766767859459, 0.007834585383534431, -0.026019742712378502, -0.008524788543581963, -0.08994400501251221, 0.02946631610393524, -0.01815417781472206, 0.031174160540103912, -0.07635057717561722, 0.03675970435142517, 0.0008130120695568621, 0.01572171226143837, 0.014629713259637356, 0.03292664512991905, 0.012454019859433174, -0.07001246511936188, 0.05387713387608528, -0.012362571433186531, -0.0037931425031274557, -0.03021824173629284, -0.020200222730636597, 0.02867036871612072, -0.0015085424529388547, -0.03789515048265457, -0.0038546358700841665, 0.04689896106719971, -0.0838230773806572, -0.031986720860004425, 0.013822025619447231, 0.02210792526602745, -0.00629569822922349, -0.020927025005221367, 0.01452566683292389, -0.04223296046257019, -0.017234712839126587, 0.057122547179460526, 0.048413679003715515, 0.07766368985176086, -0.039349719882011414, 0.02087431773543358, 0.011508569121360779, 0.012261593714356422, -0.010324574075639248, -0.023312661796808243, -0.026663945987820625, -0.011263894848525524, -0.011495236307382584, 0.025229673832654953, 0.03904891759157181, -0.05709179863333702, -0.0028840394224971533, 0.0001033886001096107, -0.022652413696050644, 0.021169215440750122, 0.0202177744358778, -0.025333289057016373, 0.022579582408070564, 0.003197693033143878, -0.047334372997283936, -0.018899358808994293, 0.02143893763422966, 0.005557194352149963, -0.07079093158245087, -0.01153069082647562, -0.031574852764606476, -0.03144225850701332, 0.0015066757332533598, -0.0045960466377437115, -0.059861063957214355, -0.009172962978482246, -0.0061186570674180984, 0.007537089288234711, -0.07526984810829163, 0.040326863527297974, 0.030428942292928696, 0.00016931851860135794, -0.010503530502319336, 0.03505061939358711, 0.04459529370069504, 0.011811680160462856, 0.011803976260125637, 0.07605345547199249, -0.03321946784853935, 0.032670896500349045, -0.010382764972746372, 0.05568421632051468, -0.014843808487057686, -0.0526675209403038, -0.03396987169981003, 0.072239950299263, 0.024785183370113373, 0.02436435967683792, -0.016337774693965912, -0.0278847087174654, -0.031605664640665054, 0.02068748138844967, 0.07414861768484116, 0.00244571128860116, -0.01427686121314764, -0.03763927146792412, -0.00005940947085036896, -0.025722678750753403, 0.03537101298570633, 0.027601996436715126, -0.00020232345559634268, -0.030008267611265182, -0.028140990063548088, 0.01523555163294077, 0.016245083883404732, 0.0377996601164341, 0.06353013962507248, -0.01312151551246643, -0.0212858859449625, 0.09994964301586151, 0.0034840251319110394, 0.0065368786454200745, -0.010144450701773167, 0.025605490431189537, 0.011066599749028683, 0.0057252682745456696, -0.02039090171456337, 0.06568031013011932, 0.009609540924429893, -0.0077513097785413265, -0.00438234768807888, 0.05908752232789993, -0.04181999713182449, 0.036962345242500305, -0.027664145454764366, -0.0595819391310215, 0.05458470433950424, -0.08083644509315491, 0.015271266922354698, 0.027103981003165245, 0.06968866288661957, 0.017658459022641182, 0.01736176759004593, 0.004635592456907034, -0.07863561064004898, 0.053059376776218414, -0.0209492240101099, 0.0013856790028512478, -0.017705177888274193, 0.006868050899356604, 0.07118339836597443, 0.03281303867697716, 0.014521067962050438, 0.007371129002422094, -0.10439268499612808, -0.0692969262599945, -0.04339161515235901, -0.016779858618974686, 0.05196341127157211, -0.0523320771753788, 0.03187401592731476, 0.033690180629491806, -0.00837008748203516, 0.00872395932674408, 0.013525156304240227, 0.010402100160717964, 0.025921346619725227, -0.04709411412477493, -0.036579400300979614, 0.0503881499171257, 0.06634674966335297, -0.06593736261129379, -0.04099808260798454, 0.026179959997534752, 0.007664399221539497, 0.013820172287523746, 0.022158661857247353, -0.014901204966008663, 0.03827354684472084, 0.012096174992620945, 0.04060729220509529, -0.02172056771814823, 0.02405419759452343, -0.029753945767879486, 0.04717094078660011, -0.010663989931344986, -0.041023362427949905, -0.02373277023434639, -0.015564550645649433, 0.12164628505706787, 0.06304070353507996, -0.007869892753660679, -0.05487548187375069, 0.042266976088285446, 0.007683404255658388, -0.0700170174241066, 0.04357801005244255, -0.027690503746271133, -0.012052597478032112, -0.017690351232886314, -0.038157831877470016, -0.020346328616142273, 0.032765425741672516, -0.03371564298868179, -0.018194152042269707, 0.041421398520469666, -0.05250253528356552, 0.05106023699045181, 0.015205035917460918, -0.013773445971310139, -0.010034044273197651, -0.040366895496845245, -0.02978268265724182, 0.02197624184191227, -0.006649246904999018, -0.023338116705417633, 0.03621651232242584, -0.02851816639304161, -0.009112550877034664, -0.02947298437356949, -0.04891471937298775, 0.06100129336118698, 0.06066499650478363, 0.03667987510561943, -0.01861422322690487, 0.05345035716891289, -0.033922601491212845, 0.005201532505452633, -0.007495427969843149, -0.06099146232008934, -0.012592645362019539, -0.005568498745560646, 0.02763974666595459, 0.019080180674791336, -0.005810676608234644, 0.006756376940757036, 0.033717915415763855, -0.00016054797742981464, 0.016458721831440926, -0.012691867537796497, 0.06487549096345901, 0.006342602428048849, 0.001238484401255846, -0.021810146048665047, -0.01374666765332222, 0.04562392830848694, -0.07174316048622131, -0.06462938338518143, -0.05092808976769447, -0.03752356767654419, 0.0373912937939167, -0.053672317415475845, -0.060228776186704636, -0.012580891139805317, 0.0373375341296196, 0.049754414707422256, -0.01044992171227932, 0.004480118863284588, 0.05968404933810234, -0.0038561157416552305, 0.009555725380778313, 0.03593489155173302, 0.013545118272304535, 0.06318806856870651, -0.002848799340426922, 0.04892909154295921, 0.051835715770721436, -0.015844587236642838, 0.0041274079121649265, -0.03169235214591026, -0.01356580015271902, -0.0040522245690226555, -0.23886145651340485, 0.052716031670570374, -0.03855503350496292, -0.02923804335296154, 0.012476880103349686, -0.03663264960050583, -0.011544137261807919, -0.006363721564412117, 0.0016426282236352563, 0.004756524693220854, 0.0031787471380084753, -0.01064860075712204, -0.006479695439338684, 0.009266230277717113, -0.022121546790003777, 0.00546802394092083, -0.006215074099600315, -0.05169890820980072, -0.024464081972837448, 0.026067428290843964, 0.01077884528785944, -0.026327775791287422, 0.010125711560249329, 0.011665998958051205, 0.03700684756040573, 0.04112560674548149, -0.06886912882328033, 0.03027481585741043, -0.024153102189302444, -0.04055933281779289, 0.011132935993373394, -0.016324669122695923, 0.015650907531380653, 0.010038716718554497, -0.02302391268312931, -0.022945335134863853, 0.022513382136821747, -0.026979761198163033, 0.017695413902401924, 0.04187608137726784, -0.0618039071559906, -0.07412918657064438, -0.011131500825285912, -0.0322556234896183, 0.07327966392040253, -0.017278382554650307, -0.07710825651884079, 0.009389513172209263, -0.023185109719634056, 0.04179858788847923, -0.023240581154823303, -0.027968604117631912, -0.01351543515920639, 0.036057405173778534, 0.035508155822753906, 0.006280842702835798, -0.026352819055318832, -0.013038023374974728, -0.04532637819647789, -0.05403885617852211, -0.01453398633748293, -0.06659489870071411, -0.005195373669266701, -0.04219820722937584, -0.022691072896122932, -0.07350902259349823, -0.049053747206926346, -0.019742226228117943, 0.06598425656557083, 0.033216748386621475, -0.003162805922329426, 0.05954382196068764, 0.006621448788791895, -0.09336640685796738, -0.028901569545269012, -0.050419289618730545, -0.006263150367885828, -0.022609584033489227, -0.06444954872131348, 0.03819003701210022, -0.060685764998197556, -0.03676297515630722, -0.003320429939776659, 0.0252683162689209, 0.03087664395570755, -0.00978719163686037, 0.022142836824059486, -0.05023929849267006, -0.012977217324078083, 0.005665487609803677, 0.06366962194442749, -0.025383910164237022, -0.032410502433776855, -0.0019746513571590185, 0.006249418947845697, 0.02641189470887184, 0.01384697575122118, 0.0040987832471728325, 0.01193181797862053, 0.043641313910484314, 0.04516658931970596, -0.023615503683686256, 0.04765503108501434, -0.024309074506163597, 0.007622661534696817, 0.024906979873776436, -0.02703307382762432, 0.02961559407413006, 0.044842228293418884, -0.00014485442079603672, -0.0023762534838169813, -0.008276802487671375, 0.008232773281633854, -0.017929665744304657, -0.0329873152077198, -0.03403886780142784, 0.024784712120890617, -0.0055801221169531345, 0.03735033795237541, -0.05580651015043259, -0.05434776097536087, 0.046044204384088516, 0.03887927532196045, -0.03083287551999092, -0.04576248675584793, -0.026047609746456146, -0.020783675834536552, 0.002254133578389883, 0.021410364657640457, 0.005675839260220528, -0.04011613875627518, 0.01857691816985607, -0.0039850627072155476, -0.009744362905621529, 0.06831043213605881, -0.029322972521185875, 0.01129638310521841, -0.01308402419090271, -0.00046050516539253294, 0.016901712864637375, 0.0004508554411586374, 0.022384680807590485, -0.003511837450787425, 0.042550597339868546, 0.056097596883773804, -0.0010672525968402624, 0.014904086478054523, -0.010024165734648705, 0.005420074798166752, 0.003547010011970997, -0.00043591068242676556, -0.03164961189031601, 0.02197433076798916, -0.05572248250246048, -0.04047001525759697, -0.013729228638112545, 0.053761210292577744, -0.029227696359157562, 0.0006150577683001757, -0.04629987105727196, 0.029235567897558212, -0.0392192043364048, 0.019238190725445747, -0.006501098163425922, 0.0033543980680406094, 0.03184918314218521, -0.014210567809641361, 0.03554721921682358, -0.03773481771349907, -0.01158228237181902, 0.009178965352475643, 0.04059620946645737, -0.030497808009386063, 0.011500782333314419, 0.01324095856398344, -0.017674699425697327, 0.0023559173569083214, 0.053391460329294205, -0.00006148480315459892, 0.05523494631052017, 0.0031994518358260393, 0.010960611514747143, 0.01726311445236206, 0.03266219049692154, 0.048267900943756104, -0.012571045197546482, -0.008239141665399075, -0.0026879985816776752, -0.04461633414030075, -0.02975490875542164, 0.006725882645696402, -0.01360626332461834, -0.04226478561758995, 0.025925301015377045, -0.033748745918273926, -0.03459981456398964, 0.04084404930472374, 0.0024978804867714643, 0.012355281971395016, 0.0527118556201458, 0.018583741039037704, -0.0037415761034935713, -0.032993484288454056, 0.030409103259444237, 0.020293664187192917, -0.03677474707365036, -0.002092912560328841, -0.025115981698036194, -0.024089058861136436, -0.0013311597285792232, 0.004378445912152529, -0.04924137890338898, -0.009019176475703716, 0.004363242536783218, -0.006435681600123644, -0.015534964390099049, -0.05302697792649269, 0.019040636718273163, 0.012206118553876877, -0.005307327024638653, 0.056559909135103226, -0.006678764708340168, 0.01690697856247425, -0.0320574976503849, 0.04287632554769516, 0.06567532569169998, 0.0029935105703771114, -0.01691993698477745, 0.028542373329401016, 0.008829861879348755, 0.023930873721837997, -0.01308942586183548, 0.02824600227177143, 0.013350279070436954, 0.0008270094986073673, -0.01782999373972416, -0.04634670168161392, 0.013737701810896397, -0.006316122133284807, 0.053509484976530075, 0.008486282080411911, 0.0018186697270721197, -0.004224560223519802, 0.015546738170087337, -0.01643216982483864, 0.02634640783071518, 0.004417981021106243, -0.042076967656612396, -0.007319293916225433, 0.040218692272901535, 0.010509072802960873, 0.03625478968024254, -0.025217000395059586, -0.04559827595949173, 0.06840172410011292, -0.009438257664442062, -0.043951790779829025, 0.016253260895609856, -0.06620979309082031, 0.026945244520902634, 0.038724351674318314, 0.00643110042437911, -0.024205012246966362, 0.05901053920388222, 0.06256567686796188, 0.037250399589538574, -0.010302032344043255, -0.02520217001438141, 0.031107081100344658, -0.013980267569422722, -0.02589728869497776, -0.06065056845545769, 0.013791409321129322, 0.06431268900632858, 0.017910314723849297, 0.026141254231333733, -0.043817248195409775, -0.040192749351263046, -0.05249412730336189, -0.04075748100876808, -0.04161945357918739, 0.026759322732686996, -0.012236692942678928, 0.040520407259464264, 0.03074837476015091, -0.07005452364683151, -0.014706091023981571, 0.04392242804169655, -0.0367535762488842, -0.04315072298049927, -0.04699373617768288, 0.06927917152643204, -0.013388117775321007, 0.034935545176267624, -0.02653321623802185, -0.013906223699450493, 0.05971621349453926, 0.03596123680472374, 0.038738101720809937, 0.04646702855825424, -0.04683872312307358, 0.03505254536867142, 0.03962858021259308, -0.018966371193528175, 0.005408914759755135, 0.030402034521102905, -0.04157596454024315, -0.06717393547296524, 0.026715632528066635, 0.007585986517369747, -0.017293548211455345, -0.043678946793079376, 0.04518920183181763, 0.015373864211142063, -0.022485485300421715, -0.037094682455062866, 0.02626350335776806, -0.01713232509791851, -0.026364557445049286, -0.04527299851179123, 0.03031011112034321, -0.0072700632736086845, 0.05392104759812355, -0.03967181593179703, -0.0053027295507490635, 0.0808488056063652, -0.018646851181983948, 0.036715324968099594, 0.024795472621917725, 0.06604412198066711, 0.09952304512262344, 0.03090621531009674, 0.012408564798533916, 0.053917739540338516, -0.02509721741080284, -0.04240788146853447, -0.0026804988738149405, -0.04521029070019722, -0.013563577085733414, -0.0044879550114274025, -0.02336224354803562, 0.046803560107946396, -0.011950683780014515, 0.06733368337154388, -0.02778545394539833, -0.00974550936371088, -0.022932669147849083, -0.002620963379740715, 0.044858552515506744, 0.02377450093626976, 0.004482076037675142, 0.02746361866593361, -0.024869170039892197, -0.015714384615421295, 0.009512471035122871, 0.0008117271936498582, -0.05632094666361809, 0.0045747896656394005, -0.010588649660348892, -0.0006408515037037432, 0.008390223607420921, 0.03559206798672676, 0.09297996014356613, -0.020554091781377792, -0.0251978300511837, 0.011530591174960136, 0.000532010686583817, -0.0204198956489563, 0.026437344029545784, -0.030574386939406395, -0.03132085129618645, -0.049965038895606995, 0.001878131995908916, -0.024255437776446342, -0.0025172207970172167, -0.04080238565802574, 0.038891591131687164, -0.031020881608128548, -0.0167554821819067, -0.0191645510494709, -0.008652145974338055, -0.03876560926437378, -0.04476390779018402, -0.056767139583826065, -0.02158454619348049, -0.08107084780931473, 0.007373502943664789, -0.004132067784667015, -0.005162650719285011, -0.016457179561257362, 0.005997221451252699, -0.0429455041885376, -0.009536778554320335, 0.027302997186779976, -0.03261187672615051, 0.02719893865287304, 0.008770246058702469, 0.020546650514006615, -0.0030551468953490257, 0.053385328501462936, 0.03876355662941933, -0.012325864285230637, 0.03089587390422821, -0.0009366787853650749, -0.0032298441510647535, 0.03317706659436226, 0.014763922430574894, 0.011407609097659588, -0.07463828474283218, -0.026871560141444206, 0.02203366905450821, -0.004406921565532684, -0.07056368887424469, 0.03350763022899628, 0.03621167317032814, -0.03863884136080742, 0.04319849982857704, -0.007347328122705221, 0.012363187968730927, -0.012177589349448681, -0.013872487470507622, 0.003198992693796754, -0.015364367514848709, 0.032850854098796844, -0.015143145807087421, 0.04341684654355049, 0.017440034076571465, 0.004739764146506786, -0.024927373975515366, -0.01684415526688099, 0.004531176295131445, 0.03464773669838905, -0.05397262051701546, -0.04810958355665207, -0.08542249351739883, -0.08560602366924286, 0.005726599600166082, 0.02143806591629982, -0.029689645394682884, -0.051536306738853455, -0.012444489635527134, -0.0027811999898403883, -0.055562201887369156, 0.027895595878362656, -0.02772078849375248, 0.02663024142384529, 0.0039641233161091805, -0.02978581190109253, -0.013377613388001919, -0.001489670597948134, 0.0008881569956429303, -0.0021704474929720163, 0.03856904059648514, -0.0265576783567667, 0.03394969925284386, -0.04558815062046051, 0.024818364530801773, 0.008266597986221313, 0.04450502246618271, 0.008537676185369492 ]
[ -0.06331678479909897, 0.008074467070400715, -0.057681914418935776, 0.00549373310059309, 0.039080794900655746, -0.05964723601937294, -0.027141494676470757, 0.010536889545619488, 0.016129931434988976, -0.016896383836865425, 0.023084372282028198, -0.023228174075484276, 0.007202995475381613, -0.01132140401750803, 0.07023362815380096, -0.01649681106209755, -0.028411664068698883, -0.026012597605586052, -0.04655623808503151, 0.04819853603839874, 0.026076028123497963, -0.023199599236249924, 0.0050815315917134285, -0.049879152327775955, -0.018202826380729675, 0.04594706371426582, 0.06161034479737282, -0.02443115971982479, -0.02967933937907219, -0.21795836091041565, -0.009593234397470951, 0.01371140405535698, 0.0016542464727535844, -0.0009444858296774328, 0.007532482035458088, 0.02753242291510105, 0.012509835883975029, -0.020340533927083015, 0.00921379029750824, 0.036247074604034424, 0.021193282678723335, -0.018385695293545723, -0.04993567243218422, 0.0032470214646309614, 0.06057015061378479, 0.010781098157167435, -0.011110106483101845, -0.0050537800416350365, -0.044625476002693176, 0.01613050326704979, -0.04811235889792442, -0.008613940328359604, 0.01828358694911003, -0.00893442239612341, 0.018211081624031067, 0.02892940863966942, 0.05184464901685715, 0.03294724225997925, -0.010209782980382442, 0.02849821373820305, 0.007551777176558971, 0.013024935498833656, -0.11474782973527908, 0.06635470688343048, 0.017598163336515427, 0.023114386945962906, -0.04539426416158676, -0.01594734750688076, -0.03738884627819061, 0.0521639883518219, 0.03168800100684166, -0.028068969026207924, -0.05123806744813919, 0.07938529551029205, 0.006545461248606443, 0.02179776504635811, 0.0032858499325811863, -0.00918541569262743, 0.047615956515073776, -0.03207167983055115, -0.04606019705533981, -0.0090445252135396, -0.029305193573236465, -0.015531855635344982, -0.014914197847247124, 0.033472683280706406, -0.03963563218712807, 0.07070442289113998, 0.014682022854685783, 0.012209227308630943, -0.0008174384711310267, -0.02531890943646431, 0.009334620088338852, 0.029105544090270996, -0.07213931530714035, -0.02321070060133934, 0.012388462200760841, 0.0036752496380358934, -0.001409068121574819, 0.42580175399780273, -0.0019612605683505535, 0.0013774376129731536, 0.032693974673748016, 0.04099409654736519, 0.01785382255911827, -0.01175788976252079, 0.00872786808758974, -0.05543047562241554, 0.03650616854429245, -0.03405407816171646, 0.0002796264016069472, -0.022818317636847496, 0.03996449336409569, -0.09792731702327728, 0.00226296903565526, 0.0005546408938243985, 0.060605332255363464, 0.02474125288426876, -0.018106689676642418, 0.016335979104042053, -0.02574228309094906, 0.01673869602382183, 0.0017453553155064583, 0.01459902711212635, 0.053761664777994156, 0.007041032891720533, 0.0032876553013920784, 0.04227278009057045, 0.015902914106845856, 0.044387754052877426, 0.03847939893603325, 0.0033005964942276478, -0.05200997740030289, 0.017288589850068092, -0.020740795880556107, 0.008738458156585693, 0.0157530028373003, -0.0574050135910511, -0.011215061880648136, 0.021483147516846657, -0.0323297455906868, -0.05064156651496887, -0.015583031810820103, 0.0035860047210007906, -0.046052366495132446, 0.1343608945608139, -0.027659615501761436, -0.02672692947089672, -0.024374620988965034, -0.043394364416599274, -0.008578945882618427, 0.06052086874842644, -0.017522379755973816, -0.06317268311977386, -0.021358277648687363, 0.015555288642644882, 0.07780233770608902, -0.01305720116943121, -0.07250066846609116, -0.019408702850341797, 0.0047524855472147465, -0.014780184254050255, -0.04412528872489929, 0.10953950881958008, 0.027035610750317574, -0.072354756295681, -0.03150269761681557, 0.022409087046980858, 0.006240267306566238, -0.0543784499168396, 0.017787525430321693, 0.01034686341881752, -0.046515390276908875, -0.016551252454519272, 0.05049595981836319, -0.0033489656634628773, -0.027166899293661118, -0.048445601016283035, 0.004064881708472967, 0.0006465660408139229, -0.03125631809234619, 0.009196764789521694, -0.027617590501904488, 0.01842126064002514, -0.05149001628160477, -0.06384174525737762, -0.0727701187133789, 0.03169079124927521, -0.026649123057723045, -0.013316560536623001, -0.048772960901260376, 0.028813986107707024, -0.02535906992852688, 0.09345950931310654, -0.02718009240925312, -0.007811914198100567, -0.041920363903045654, 0.0029883012175559998, -0.033184800297021866, -0.0493503101170063, 0.09243094176054001, 0.030850335955619812, -0.002663449849933386, 0.029576772823929787, -0.040459971874952316, -0.011095487512648106, 0.08643779158592224, -0.0355403907597065, 0.04345507547259331, 0.003458078484982252, -0.04816858842968941, 0.029320459812879562, -0.00918077677488327, 0.01579347625374794, -0.010984206572175026, -0.049602214246988297, -0.014644655399024487, 0.022512365132570267, 0.03150593489408493, 0.02314886637032032, -0.05331884324550629, -0.03229069337248802, -0.057050883769989014, -0.3425840735435486, -0.05410543456673622, -0.009183330461382866, -0.02336721308529377, 0.029309013858437538, -0.01337118074297905, -0.006382365245372057, -0.023820631206035614, 0.0075611453503370285, 0.02098141424357891, 0.05944674089550972, -0.010713757015764713, -0.029202112928032875, -0.10237181931734085, -0.00207318807952106, 0.043216522783041, 0.01823028177022934, -0.005654136184602976, 0.011336523108184338, 0.0008334340527653694, 0.027812322601675987, -0.058313652873039246, 0.009289325214922428, -0.04485461860895157, -0.02377803809940815, 0.02162962593138218, 0.1016005277633667, 0.017932767048478127, 0.04582748934626579, -0.07355836778879166, 0.03807923197746277, -0.025210412219166756, 0.0035148903261870146, -0.04306810349225998, -0.0028309551998972893, -0.013837083242833614, 0.014043590053915977, 0.03961379453539848, -0.01639106124639511, -0.00844527967274189, -0.039966434240341187, -0.016553716734051704, -0.0660419836640358, -0.030742771923542023, 0.02069598063826561, 0.023098211735486984, -0.03795916214585304, -0.030066201463341713, 0.01236758753657341, 0.08403726667165756, 0.014883363619446754, 0.028255213052034378, 0.007932436652481556, 0.0490315780043602, 0.004977391567081213, -0.017958955839276314, -0.061582669615745544, -0.03802711144089699, 0.019661910831928253, 0.019962219521403313, 0.03208061307668686, 0.003712803591042757, 0.0349879115819931, -0.07577727735042572, 0.023169849067926407, 0.002774292603135109, -0.0009388490580022335, 0.00843975692987442, 0.04053756222128868, -0.053223054856061935, -0.05335269495844841, 0.12656375765800476, 0.012756246142089367, 0.018354158848524094, 0.03142558038234711, 0.05216663330793381, -0.01651621237397194, -0.020755674690008163, 0.036220815032720566, 0.008974834345281124, 0.0825183168053627, -0.010362720116972923, 0.08535507321357727, -0.01696128398180008, -0.026280036196112633, 0.08251850306987762, 0.02001205086708069, -0.043229468166828156, 0.06551395356655121, -0.0003422160225454718, -0.04393637552857399, 0.020859524607658386, -0.028923233970999718, -0.019367709755897522, 0.024185150861740112, -0.035349395126104355, -0.2706499397754669, 0.07482390850782394, 0.033888883888721466, 0.0670090913772583, 0.020049145445227623, -0.0011600502766668797, 0.016844136640429497, -0.07421141862869263, -0.018850255757570267, 0.007059501484036446, 0.03741305693984032, 0.04440225660800934, 0.010823038406670094, -0.0376690998673439, -0.001586084603331983, 0.017148202285170555, 0.02025432698428631, 0.04783092439174652, 0.010169547982513905, 0.026511773467063904, 0.030826644971966743, 0.0013413509586825967, 0.1992816925048828, 0.02664610557258129, -0.014317743480205536, 0.01704765297472477, 0.00030620876350440085, 0.024622421711683273, 0.03399382531642914, 0.010501433163881302, 0.003683233866468072, 0.07594109326601028, 0.03994086757302284, 0.024811146780848503, 0.026900792494416237, -0.047526199370622635, -0.004427628591656685, 0.03625397011637688, 0.03656935319304466, -0.029372554272413254, 0.00566590903326869, 0.020405195653438568, -0.049038954079151154, -0.0037887622602283955, 0.06766531616449356, -0.015390831045806408, 0.016112420707941055, 0.0059692030772566795, -0.0537257194519043, 0.011008701287209988, -0.04085006192326546, 0.00849846750497818, -0.031570401042699814, -0.004074264317750931, -0.029486970975995064, 0.04230285808444023, 0.0104833310469985, -0.02584434486925602, -0.0025516676250845194, 0.02449909597635269, -0.026668671518564224, -0.03925241157412529, 0.07401835918426514, 0.02107349783182144, -0.003781360574066639 ]
[ 0.04234644025564194, 0.02861698530614376, -0.006001487839967012, 0.055807773023843765, -0.03149370104074478, 0.007556055206805468, -0.03701925650238991, -0.0010766027262434363, -0.04029759392142296, -0.008113236166536808, -0.02609000913798809, -0.001209921552799642, 0.03555704653263092, -0.009486454539000988, -0.0511096827685833, 0.009226958267390728, -0.04265781119465828, 0.020327245816588402, 0.03066868707537651, -0.021073073148727417, -0.0078014531172811985, -0.028741346672177315, 0.03418928012251854, -0.02477904036641121, -0.014024117030203342, 0.0009465988841839135, -0.05938258022069931, 0.011787309311330318, 0.02885769121348858, -0.08650834858417511, -0.047032587230205536, -0.018753565847873688, 0.003391229547560215, 0.06755145639181137, -0.031300850212574005, 0.02425459213554859, 0.010346394963562489, 0.02393675222992897, -0.022828929126262665, 0.025395724922418594, 0.039010871201753616, -0.023015350103378296, -0.04883258417248726, 0.037260569632053375, -0.0017613775562494993, -0.03679210692644119, -0.036111485213041306, -0.029911043122410774, 0.03286949545145035, -0.010803327895700932, -0.07189332693815231, -0.025195715948939323, -0.007186155300587416, -0.0018596953013911843, 0.024608377367258072, 0.04477575048804283, -0.03658569976687431, -0.03416373208165169, 0.01944253221154213, -0.022779526188969612, 0.08076987415552139, -0.017921844497323036, -0.05234263837337494, -0.05158701539039612, -0.024492137134075165, -0.015333665534853935, -0.003277882933616638, 0.009489210322499275, 0.0013581394450739026, -0.0069554876536130905, 0.0007118033827282488, 0.030535932630300522, -0.08941575884819031, -0.013064922764897346, -0.02404697611927986, 0.07173282653093338, 0.05368015915155411, -0.014661216177046299, 0.012729167938232422, 0.00040964671643450856, -0.0027534791734069586, -0.0051757339388132095, 0.014822350814938545, 0.0216017197817564, -0.04895839840173721, 0.010505679063498974, 0.0056706927716732025, -0.055382709950208664, 0.026320653036236763, 0.0069959149695932865, -0.03915225714445114, -0.013566819950938225, -0.012972945347428322, -0.01682283915579319, -0.06762158870697021, 0.04882180690765381, 0.010082176886498928, 0.005228884518146515, 0.01866116188466549, 0.7749012112617493, 0.006257942877709866, -0.04097757861018181, -0.02287490852177143, 0.006011271849274635, -0.035861045122146606, 0.023284075781702995, 0.029599150642752647, 0.010655191726982594, 0.000029278739020810463, 0.0025592425372451544, -0.012100303545594215, 0.045157648622989655, -0.01630772277712822, -0.00274798646569252, -0.010581327602267265, 0.004693376831710339, 0.030817300081253052, -0.004454446490854025, 0.00254223239608109, 0.04048094153404236, 0.0021270171273499727, 0.031116021797060966, 0.010400406084954739, -0.00981203094124794, 0.02912835404276848, -0.16361530125141144, -0.025746149942278862, -6.825346317576374e-33, 0.08237173408269882, 0.04319818690419197, 0.0511457584798336, 0.008918827399611473, -0.027002109214663506, 0.014453108422458172, 0.01348599512130022, 0.023740621283650398, -0.048408981412649155, -0.05424453318119049, -0.021175172179937363, 0.002688433974981308, 0.014525099657475948, -0.05471140518784523, 0.022135645151138306, -0.0332624614238739, 0.032222017645835876, 0.0002897691447287798, 0.004971225745975971, -0.050720930099487305, -0.00797178689390421, 0.0372253954410553, -0.019976550713181496, 0.030734093859791756, 0.016844941303133965, 0.001293681561946869, -0.015373659320175648, -0.02411552146077156, -0.014913716353476048, -0.04113411530852318, -0.05326268449425697, 0.02409459464251995, 0.015046750195324421, -0.0057742600329220295, -0.005136419553309679, -0.05687020346522331, -0.038104452192783356, 0.01803894340991974, -0.0010450882837176323, -0.05886194109916687, -0.06950675696134567, 0.018466532230377197, 0.007207724265754223, -0.08087236434221268, -0.00970862340182066, -0.002290127333253622, -0.029039110988378525, 0.023921333253383636, -0.0023788425605744123, 0.02262265607714653, 0.029297705739736557, 0.025941545143723488, 0.00944238156080246, 0.02671685442328453, -0.004655575845390558, 0.03836334869265556, 0.04554992541670799, 0.007355786859989166, -0.031007446348667145, -0.00030718569178134203, 0.0445982962846756, -0.017537260428071022, -0.014744017273187637, 0.04263707250356674, 0.06082771718502045, 0.041080374270677567, -0.014563915319740772, 0.008981830440461636, -0.01675570011138916, 0.06325183063745499, -0.051929742097854614, 0.01692666858434677, -0.006264543626457453, -0.020559635013341904, 0.004409156274050474, -0.04713789373636246, -0.024480493739247322, -0.042894791811704636, -0.004075503908097744, 0.0294178519397974, -0.03387325257062912, -0.02161072939634323, 0.031208081170916557, -0.03242730349302292, 0.009967243298888206, -0.01914813742041588, 0.01300442311912775, 0.02958737500011921, 0.04121090844273567, 0.01750733144581318, 0.06922123581171036, 0.03038758784532547, -0.014175419695675373, -0.009293041191995144, -0.039473190903663635, 6.477116401720841e-33, -0.031799737364053726, 0.003006842453032732, -0.03238478675484657, 0.008079171180725098, 0.05166484788060188, 0.005245945416390896, 0.0020082234404981136, -0.00029413867741823196, -0.050637561827898026, 0.0737721174955368, 0.00935325212776661, -0.036878541111946106, -0.005620897281914949, -0.001180565101094544, 0.004602230619639158, 0.012398418970406055, 0.004541428759694099, -0.06053607165813446, 0.000939820718485862, 0.042161665856838226, 0.00751678179949522, 0.019740525633096695, -0.01907694712281227, 0.01917286403477192, 0.05390477180480957, -0.017398210242390633, 0.011219090782105923, -0.0033939152490347624, -0.02621484361588955, -0.0025477127637714148, 0.015984004363417625, -0.04606190323829651, 0.002818416804075241, -0.006928904447704554, 0.0005199425504542887, 0.004369474481791258, -0.04514474421739578, -0.0395178496837616, 0.05054927244782448, -0.007565238047391176, 0.01845252700150013, -0.00586839159950614, -0.0016305805183947086, 0.05712445452809334, 0.0320238433778286, -0.005897111259400845, 0.0030851466581225395, 0.01946372725069523, -0.007370179984718561, 0.005567230749875307, 0.01706869713962078, 0.011844980530440807, 0.015850411728024483, 0.016583912074565887, -0.001378082437440753, -0.04138627648353577, 0.017588675022125244, 0.04068802669644356, -0.0157295111566782, 0.02649841457605362, -0.02480970323085785, -0.013364647515118122, -0.03598787635564804, 0.05594378337264061, -0.01994774304330349, -0.006735552102327347, -0.049698662012815475, 0.028174249455332756, -0.05119785666465759, -0.03790261968970299, -0.003213886870071292, -0.011761948466300964, -0.014902617782354355, 0.025272395461797714, 0.0358184278011322, -0.018518440425395966, -0.00949606578797102, 0.007449005264788866, -0.047068268060684204, 0.0390445813536644, 0.00023637844424229115, 0.06326356530189514, 0.015788624063134193, 0.03258828818798065, 0.000038608272006968036, -0.01454827468842268, -0.011463926173746586, 0.05052006244659424, -0.043219007551670074, -0.0028031980618834496, 0.06248662993311882, -0.014469070360064507, -0.007714738138020039, 0.03360167145729065, 0.0018082397291436791, -1.213314249071118e-8, -0.03671690449118614, 0.05390822887420654, -0.019663991406559944, 0.038929201662540436, 0.005872229114174843, 0.007445349358022213, 0.0012601892231032252, 0.009910288266837597, -0.024668676778674126, 0.046685416251420975, 0.01140645146369934, -0.014351138845086098, 0.007183958776295185, 0.01455499604344368, 0.03328899294137955, -0.054782070219516754, -0.012977168895304203, -0.013172860257327557, 0.0263888668268919, 0.026288172230124474, -0.02683030627667904, 0.05222184211015701, -0.04071765020489693, 0.035592712461948395, -0.004561322741210461, -0.04075811058282852, 0.03281765058636665, -0.062182046473026276, 0.00774735352024436, 0.014680173248052597, 0.005347936414182186, -0.0043539744801819324, -0.020002292469143867, 0.021068356931209564, -0.0577210895717144, -0.008976607583463192, -0.0015804637223482132, 0.022009531036019325, 0.006580748595297337, 0.06274596601724625, 0.023964829742908478, 0.04348849505186081, -0.014852502383291721, -0.020407527685165405, -0.03928742557764053, 0.007989556528627872, -0.04421788826584816, -0.014372063800692558, 0.08699669688940048, -0.0590207539498806, -0.015338720753788948, -0.014192959293723106, 0.029015690088272095, -0.003573163179680705, 0.029034581035375595, 0.009988237172365189, -0.004533583298325539, 0.0017327411333099008, 0.002835215302184224, -0.03883617743849754, 0.04128625988960266, -0.013970041647553444, -0.03197835385799408, 0.0057073128409683704 ]
neo4jcypherlucene-dealing-with-special-characters
https://markhneedham.com/blog/2013/06/15/neo4jcypherlucene-dealing-with-special-characters
false
2013-06-13 22:18:31
git: Having a branch/tag with the same name (error: dst refspec matches more than one.)
[ "git" ]
[ "Version Control" ]
https://twitter.com/andres_taylor[Andres] and I recently found ourselves wanting to delete a remote branch which had the same name as a tag and therefore the normal way of doing that wasn't worked out as well as we'd hoped. I created a dummy repository to recreate the state we'd got ourselves into: [source,bash] ---- $ echo "mark" > README $ git commit -am "readme" $ echo "for the branch" >> README $ git commit -am "for the branch" $ git checkout -b same Switched to a new branch 'same' $ git push origin same Counting objects: 5, done. Writing objects: 100% (3/3), 263 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To ssh://git@bitbucket.org/markhneedham/branch-tag-test.git * [new branch] same -> same $ git checkout master $ echo "for the tag" >> README $ git commit -am "for the tag" $ git tag same $ git push origin refs/tags/same Counting objects: 5, done. Writing objects: 100% (3/3), 266 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To ssh://git@bitbucket.org/markhneedham/branch-tag-test.git * [new tag] same -> same ---- We wanted to delete the remote 'same' branch and the following command would work if we hadn't created a tag with the same name. Instead it throws an error: [source,bash] ---- $ git push origin :same error: dst refspec same matches more than one. error: failed to push some refs to 'ssh://git@bitbucket.org/markhneedham/branch-tag-test.git' ---- We learnt that what we needed to do was refer to the full path for the branch when trying to delete it remotely: [source,bash] ---- $ git push origin :refs/heads/same To ssh://git@bitbucket.org/markhneedham/branch-tag-test.git - [deleted] same ---- To delete the tag we could do the same thing: [source,bash] ---- $ git push origin :refs/tags/same remote: warning: Deleting a non-existent ref. To ssh://git@bitbucket.org/markhneedham/branch-tag-test.git - [deleted] same ---- Of course the tag and branch still exist locally: [source,bash] ---- $ ls -alh .git/refs/heads/ total 16 drwxr-xr-x 4 markhneedham wheel 136B 13 Jun 23:09 . drwxr-xr-x 5 markhneedham wheel 170B 13 Jun 22:39 .. -rw-r--r-- 1 markhneedham wheel 41B 13 Jun 23:08 master -rw-r--r-- 1 markhneedham wheel 41B 13 Jun 23:08 same $ ls -alh .git/refs/tags/ total 8 drwxr-xr-x 3 markhneedham wheel 102B 13 Jun 23:08 . drwxr-xr-x 5 markhneedham wheel 170B 13 Jun 22:39 .. -rw-r--r-- 1 markhneedham wheel 41B 13 Jun 23:08 same ---- So we got rid of them as well: [source,bash] ---- $ git checkout master Switched to branch 'master' $ git branch -d same Deleted branch same (was 08ad88c). $ git tag -d same Deleted tag 'same' (was 1187891) ---- And now they are gone: [source,bash] ---- $ ls -alh .git/refs/heads/ total 8 drwxr-xr-x 3 markhneedham wheel 102B 13 Jun 23:16 . drwxr-xr-x 5 markhneedham wheel 170B 13 Jun 22:39 .. -rw-r--r-- 1 markhneedham wheel 41B 13 Jun 23:08 master $ ls -alh .git/refs/tags/ total 0 drwxr-xr-x 2 markhneedham wheel 68B 13 Jun 23:16 . drwxr-xr-x 5 markhneedham wheel 170B 13 Jun 22:39 .. ---- Out of interest we'd ended up with this situation by mistake rather than by design but it was still fun to do a little bit of git digging to figure out how to solve the problem we'd created for ourselves.
null
null
[ 0.014719541184604168, 0.00036544911563396454, -0.02428230084478855, 0.02088283933699131, 0.1137300655245781, 0.02000727318227291, 0.016182100400328636, 0.028369883075356483, 0.003451904049143195, -0.0025357212871313095, -0.028962761163711548, -0.01150521356612444, -0.09193119406700134, 0.0476139672100544, -0.057585444301366806, 0.06273588538169861, 0.07579537481069565, -0.011406298726797104, 0.015522841364145279, 0.01691751554608345, 0.011645551770925522, 0.09152710437774658, 0.020070455968379974, 0.03888017311692238, 0.03254076465964317, 0.03595712035894394, 0.014469405636191368, -0.02206176146864891, -0.041162289679050446, 0.0018978314474225044, 0.029104813933372498, -0.0034231627359986305, 0.03711194545030594, 0.011767138727009296, 0.02059069834649563, -0.006706658750772476, -0.029921745881438255, 0.003441138193011284, 0.00221072300337255, -0.0022455041762441397, -0.0367748998105526, 0.02154340036213398, -0.022360175848007202, -0.010319250635802746, -0.04298625513911247, 0.005448848940432072, -0.05972998961806297, -0.009727708995342255, -0.006201186683028936, -0.005898705217987299, -0.07174988836050034, 0.02156226895749569, -0.03153969347476959, -0.04879581555724144, -0.02173345535993576, 0.03997163102030754, 0.02205245941877365, -0.0952821746468544, 0.018890321254730225, -0.03049667924642563, -0.005110081285238266, -0.011446250602602959, 0.020926568657159805, 0.020482929423451424, 0.03166181221604347, -0.05511408671736717, 0.008978097699582577, 0.034878380596637726, -0.03896276652812958, -0.0006486286874860525, 0.0011223587207496166, -0.0042856051586568356, -0.026250556111335754, -0.01792682707309723, 0.00612495606765151, -0.03239645063877106, -0.008089096285402775, 0.054342593997716904, 0.022518698126077652, 0.08483447879552841, -0.050165802240371704, 0.0013349044602364302, 0.0014060664689168334, 0.012907189317047596, 0.033759623765945435, -0.03584577888250351, -0.04247773438692093, -0.020499631762504578, -0.06299001723527908, 0.06318598240613937, -0.012989258393645287, -0.055225227028131485, -0.008862290531396866, 0.024662857875227928, 0.01638115383684635, -0.03925563022494316, 0.005729798227548599, 0.018582826480269432, 0.00790015421807766, -0.015820618718862534, -0.05248059332370758, -0.012321104295551777, 0.011899702250957489, 0.0042576356790959835, -0.08000412583351135, -0.006224497687071562, -0.035324789583683014, -0.005616509821265936, 0.021691275760531425, -0.02682683989405632, -0.044154487550258636, 0.02359265647828579, -0.025665268301963806, 0.027465006336569786, -0.06712426990270615, 0.08209391683340073, -0.0029559219256043434, -0.05270538851618767, 0.01810653693974018, 0.015626419335603714, 0.03335655853152275, 0.03739103674888611, -0.025917207822203636, 0.06877124309539795, 0.033286839723587036, 0.02839377149939537, 0.010252121835947037, 0.023211585357785225, -0.0589505098760128, -0.06321611255407333, 0.005379980430006981, 0.05710149183869362, -0.002397294621914625, -0.008380278013646603, -0.047497183084487915, -0.023284178227186203, -0.004703520331531763, -0.025353170931339264, 0.05292925983667374, 0.030846625566482544, -0.00021289449068717659, 0.0063018170185387135, -0.03607424348592758, -0.01305642630904913, 0.030230674892663956, 0.04316723719239235, -0.011390911415219307, -0.01604427769780159, -0.023158663883805275, 0.030923811718821526, 0.002639047335833311, -0.006738501600921154, 0.04404890164732933, -0.04483168572187424, 0.018811820074915886, 0.08783290535211563, 0.01920219697058201, 0.003320787800475955, -0.017590884119272232, 0.01656877063214779, 0.0589727982878685, 0.005919275805354118, 0.01601068116724491, 0.05777483060956001, 0.01892278529703617, -0.0029327799566090107, 0.004818793851882219, 0.03534146025776863, -0.018058862537145615, -0.010170872323215008, -0.03571103885769844, -0.04009997472167015, 0.06086140125989914, -0.025859203189611435, 0.02184760384261608, 0.004629817325621843, 0.03752664104104042, 0.03264583274722099, 0.014314092695713043, 0.02010227181017399, -0.06774220615625381, 0.05841054767370224, 0.026788150891661644, 0.045016322284936905, 0.0029659592546522617, 0.0032465180847793818, 0.06463763862848282, 0.030256183817982674, 0.010441535152494907, 0.038785193115472794, -0.08837252855300903, -0.08664540201425552, -0.015384402126073837, 0.007711273618042469, 0.06122620031237602, -0.03506825119256973, -0.02217770367860794, 0.07598192989826202, 0.03094262257218361, 0.0014692457625642419, -0.02430840954184532, 0.002239823807030916, 0.011955955065786839, -0.0466754324734211, -0.0593542605638504, 0.050013650208711624, -0.0021495455875992775, -0.01588256284594536, -0.004226799588650465, 0.012327037751674652, 0.0032826357055455446, 0.026726242154836655, 0.04643861949443817, -0.014922271482646465, 0.018534505739808083, -0.006309927441179752, 0.023889051750302315, -0.04149159789085388, 0.03410491719841957, -0.031224524602293968, -0.009362411685287952, 0.026334581896662712, -0.021032821387052536, 0.02207760699093342, -0.0058934953995049, 0.11438490450382233, 0.048533856868743896, -0.023100363090634346, -0.048938360065221786, 0.03378710523247719, -0.014417466707527637, -0.06269943714141846, -0.0010337685234844685, 0.007722886279225349, -0.020034577697515488, 0.01922600343823433, -0.06302784383296967, -0.009371022693812847, -0.010226791724562645, -0.054159995168447495, 0.0009397902176715434, 0.06609907001256943, -0.03450804203748703, 0.0517391562461853, -0.00635929498821497, -0.018084721639752388, -0.012274842709302902, -0.020520228892564774, -0.06608936190605164, 0.011078828945755959, 0.012757215648889542, -0.01524934358894825, 0.04718761146068573, -0.04386700317263603, -0.03095380589365959, -0.033822838217020035, -0.036144763231277466, 0.018188273534178734, -0.001965284114703536, 0.06317472457885742, -0.04896713048219681, 0.07302886992692947, -0.03502862527966499, 0.016119925305247307, -0.05491774529218674, -0.02790583111345768, -0.04699559137225151, 0.019729994237422943, -0.007332556881010532, 0.011290177702903748, 0.016075465828180313, 0.027826368808746338, 0.01190740056335926, -0.008084324188530445, 0.013451622799038887, -0.0404067300260067, 0.02308710850775242, 0.00890169758349657, 0.016729142516851425, -0.0160442516207695, -0.02205595001578331, 0.027401316910982132, -0.06434517353773117, -0.03937004879117012, 0.009610691107809544, -0.07237778604030609, 0.04060208797454834, -0.05405556038022041, -0.039536114782094955, -0.0026060070376843214, 0.03244383633136749, 0.03746454045176506, 0.007522049359977245, 0.042159803211688995, 0.023373408243060112, 0.007117071188986301, 0.025444496423006058, 0.03881724178791046, 0.037590816617012024, 0.03225022926926613, 0.0063276165165007114, 0.010332184843719006, 0.034876421093940735, -0.03361998125910759, 0.017104247584939003, -0.05547545477747917, 0.026823630556464195, -0.011705881915986538, -0.25760626792907715, 0.04587779566645622, 0.021581022068858147, -0.01746327430009842, 0.04262441396713257, -0.03011501207947731, 0.04465370252728462, -0.011815372854471207, -0.008994242176413536, 0.02885531820356846, -0.012692439369857311, -0.03743148222565651, 0.02328699827194214, 0.014882859773933887, -0.0076653845608234406, 0.004592974204570055, 0.018459949642419815, -0.06102008745074272, 0.010709631256759167, 0.03055020235478878, -0.037568021565675735, -0.04886285588145256, 0.007562484126538038, 0.048611126840114594, 0.02002350613474846, 0.052861087024211884, -0.07274012267589569, 0.039845749735832214, -0.037500400096178055, -0.021070707589387894, -0.018210971727967262, -0.002033221535384655, -0.007231874391436577, 0.015177441760897636, -0.01003948599100113, 0.0009268828434869647, 0.020142165943980217, -0.005444447975605726, 0.014737004414200783, 0.02699851244688034, -0.03788544610142708, -0.019100667908787727, 0.007358586881309748, -0.010773970745503902, 0.05648022145032883, -0.01207154244184494, -0.038912225514650345, -0.0361647754907608, -0.014012887142598629, 0.07058053463697433, -0.047996923327445984, -0.043054915964603424, 0.003957196604460478, 0.004437235649675131, -0.000074982744990848, -0.00406200485303998, -0.03818071261048317, -0.005333098582923412, -0.0523851104080677, -0.028247103095054626, -0.005491539370268583, -0.03388381004333496, -0.017977191135287285, -0.044943563640117645, 0.0038178854156285524, -0.058558523654937744, -0.04685889929533005, -0.018104510381817818, 0.07475456595420837, -0.005799075588583946, -0.05735927075147629, -0.009748569689691067, -0.01768402010202408, -0.10093436390161514, -0.032232511788606644, -0.02846524678170681, -0.04256469011306763, 0.02194076217710972, -0.012569677084684372, 0.030673015862703323, -0.04541225731372833, -0.007885033264756203, 0.03179672732949257, 0.02667594514787197, 0.009256715886294842, 0.003822889644652605, 0.02560126967728138, 0.03133975341916084, -0.0326712392270565, 0.012148108333349228, 0.03851454704999924, 0.0037650465965270996, -0.037407416850328445, -0.019605571404099464, 0.009551964700222015, 0.010374217294156551, 0.005798250902444124, 0.0048856050707399845, 0.0016858425224199891, 0.0355408638715744, 0.0452331118285656, -0.05278740078210831, 0.032705649733543396, -0.07285197079181671, -0.02113473042845726, 0.006099571939557791, -0.03543112054467201, 0.04598970711231232, 0.006986470893025398, 0.06345837563276291, 0.002504637697711587, 0.019572682678699493, 0.008421954698860645, -0.05715790018439293, -0.03828774020075798, 0.017158742994070053, -0.012776440940797329, 0.025767995044589043, 0.04402735456824303, -0.01674870029091835, -0.01837228797376156, 0.02650982327759266, 0.019793756306171417, -0.017374612390995026, -0.03591778129339218, -0.05344274640083313, -0.020846256986260414, 0.01888478361070156, 0.009659831412136555, -0.007633920758962631, 0.027427980676293373, 0.029175948351621628, 0.03846713900566101, -0.02024698443710804, 0.030728671699762344, 0.008613642305135727, -0.036503102630376816, -0.04576277732849121, 0.025933876633644104, -0.011412551626563072, -0.026705782860517502, 0.014270965941250324, 0.0030615809373557568, 0.0033870229963213205, 0.04862414300441742, -0.02156543731689453, 0.045545417815446854, -0.017309918999671936, 0.007306569255888462, 0.011401617899537086, 0.030270297080278397, -0.06125347316265106, 0.02469811588525772, -0.052791107445955276, -0.003955119289457798, -0.006347320973873138, 0.013976502232253551, -0.04077812656760216, -0.027423182502388954, -0.0244404599070549, 0.004509015008807182, -0.029521165415644646, 0.05761370062828064, -0.013137631118297577, -0.031102389097213745, 0.03793442249298096, -0.0010707542533054948, 0.040776729583740234, -0.03424932807683945, -0.01635822094976902, -0.014193804003298283, -0.0010345822665840387, -0.031082525849342346, 0.0071855285204946995, 0.006473643705248833, 0.027140233665704727, 0.03221026808023453, 0.03049423359334469, 0.027335427701473236, 0.014714821241796017, 0.01509165484458208, -0.002421778393909335, 0.018771592527627945, 0.03152545541524887, 0.0230534877628088, 0.018857909366488457, -0.005600500386208296, 0.02217985689640045, -0.03522573038935661, -0.011786331422626972, -0.019150665029883385, -0.006096297409385443, 0.0007558386423625052, 0.01700163446366787, -0.0294430460780859, -0.0608634352684021, 0.01916377805173397, 0.02132539451122284, 0.0353601835668087, 0.04534301161766052, -0.028698420152068138, -0.001700656022876501, -0.017211370170116425, 0.022010229527950287, 0.05229094251990318, -0.04426642879843712, 0.00049546331865713, 0.0006937285070307553, 0.0036198548041284084, -0.011250652372837067, 0.0110083669424057, -0.05472172051668167, -0.05737682059407234, -0.019571548327803612, 0.054101329296827316, -0.02709428407251835, -0.015826726332306862, -0.049800992012023926, 0.017457803711295128, -0.019817598164081573, 0.02941308356821537, 0.014812195673584938, 0.025483829900622368, 0.022675933316349983, -0.034863073378801346, 0.012661931104958057, -0.040862374007701874, 0.03834284096956253, 0.04695064574480057, -0.01219097152352333, 0.010746429674327374, -0.0374910831451416, 0.0499366819858551, 0.028944190591573715, 0.010625851340591908, -0.03765392303466797, -0.01472600270062685, 0.0007182714180089533, -0.06102664768695831, 0.018683506175875664, -0.00917948316782713, 0.013059765100479126, -0.029967594891786575, 0.01518512237817049, -0.03141504153609276, -0.02308160997927189, -0.005558381788432598, -0.019405078142881393, 0.014144093729555607, 0.08260829001665115, 0.025089364498853683, 0.009191443212330341, -0.051110174506902695, 0.0018846479943022132, 0.06803430616855621, -0.06838492304086685, -0.030564188957214355, -0.058612652122974396, -0.05180233344435692, 0.02849235199391842, 0.04230904206633568, 0.046382077038288116, -0.08227154612541199, 0.036544088274240494, 0.03414030000567436, 0.011480261571705341, 0.03298138454556465, -0.016572510823607445, -0.008241284638643265, -0.02818465046584606, -0.013943498954176903, -0.08659815788269043, 0.028597909957170486, 0.0212253388017416, -0.05122194439172745, 0.01740131713449955, -0.0007877444149926305, -0.025347920134663582, -0.009152822196483612, -0.031794220209121704, -0.014985832385718822, 0.04784724861383438, 0.012192977592349052, 0.002403001068159938, 0.04158664122223854, -0.07152572274208069, 0.015836505219340324, 0.040718674659729004, -0.038510385900735855, -0.04518885165452957, -0.04742257297039032, 0.07659905403852463, 0.003895633388310671, 0.03315705433487892, -0.021293653175234795, -0.0321907103061676, 0.05090281739830971, 0.0206108707934618, 0.008701213635504246, 0.06491611152887344, -0.006022301036864519, 0.031266167759895325, 0.018436705693602562, 0.03007490560412407, 0.0022199605591595173, 0.02518504485487938, -0.03404589369893074, -0.03944062441587448, 0.02775667794048786, -0.012753034941852093, -0.030820203945040703, -0.026464544236660004, 0.06043194979429245, -0.0014250986278057098, -0.04589592292904854, -0.07412303239107132, 0.03677656501531601, -0.04053884372115135, -0.027844147756695747, -0.037074435502290726, -0.011936195194721222, -0.05150192975997925, 0.04653215780854225, 0.018735310062766075, 0.06132446601986885, 0.07252590358257294, -0.023576373234391212, -0.005075038410723209, 0.007488729897886515, 0.060891248285770416, 0.07428313791751862, 0.045491985976696014, -0.010519780218601227, 0.031692709773778915, -0.009394998662173748, -0.03574547916650772, 0.009644584730267525, -0.020678430795669556, -0.01904422789812088, -0.008975590579211712, -0.026026472449302673, 0.08339472860097885, -0.07154965400695801, 0.06578687578439713, -0.008654553443193436, 0.005728861317038536, -0.006439210381358862, 0.032671503722667694, 0.038863975554704666, 0.04035639762878418, 0.013836110010743141, 0.014768757857382298, -0.01227627508342266, -0.026785526424646378, 0.036211080849170685, -0.022388478741049767, -0.017154773697257042, 0.023377422243356705, -0.02093774452805519, 0.0377449207007885, -0.0007207895978353918, 0.013114417903125286, 0.06020606309175491, -0.016591636463999748, -0.0075849913991987705, -0.0072020720690488815, 0.03811150789260864, -0.007812376134097576, 0.035541191697120667, 0.0221860334277153, -0.003678875742480159, -0.015227553434669971, -0.036880072206258774, 0.015400992706418037, 0.013956085778772831, -0.018716979771852493, 0.0402086116373539, 0.006273487117141485, -0.016127947717905045, 0.021241217851638794, 0.008694984950125217, -0.015203083865344524, -0.021131914108991623, -0.09220539778470993, -0.06872116774320602, -0.023889342322945595, 0.00006599428888875991, 0.023812172934412956, 0.00965015310794115, -0.02564234286546707, -0.01600141078233719, -0.026607707142829895, -0.057699430733919144, 0.037547241896390915, -0.017781144008040428, -0.011041969992220402, -0.0019146637059748173, 0.011355261318385601, -0.0011404461693018675, 0.034982506185770035, 0.05323501303792, -0.006520656403154135, -0.015585536137223244, -0.01714789681136608, 0.0170152448117733, 0.05242373049259186, 0.013708227314054966, -0.029275886714458466, -0.05155710503458977, 0.02538261190056801, 0.026394130662083626, 0.004158986732363701, -0.06379728019237518, 0.019571810960769653, 0.005368548445403576, -0.0591178722679615, 0.06181224063038826, -0.04725867882370949, -0.013749255798757076, -0.05163973197340965, 0.007968893274664879, -0.04180523008108139, -0.019581591710448265, 0.054061923176050186, -0.012565749697387218, 0.10737548768520355, 0.015140456147491932, -0.03593336045742035, -0.07750951498746872, -0.006595401559025049, 0.014209301210939884, -0.03283704072237015, 0.008230725303292274, -0.06672700494527817, -0.041129350662231445, -0.07901538908481598, -0.03311816230416298, 0.018993183970451355, 0.006370396353304386, -0.034315790981054306, 0.0023922990076243877, 0.011372586712241173, -0.03928151726722717, -0.011488674208521843, -0.030473534017801285, 0.01753724180161953, -0.027122382074594498, -0.02654658816754818, -0.024652928113937378, 0.02427627518773079, -0.016132481396198273, 0.04432949796319008, 0.03621893376111984, -0.002073256764560938, 0.00921100378036499, 0.01253353152424097, 0.028101176023483276, 0.03803430497646332, 0.011657399125397205, 0.03360904008150101 ]
[ -0.07054552435874939, -0.0488751195371151, -0.02238576114177704, -0.002498274203389883, 0.07856472581624985, -0.0852292999625206, 0.01705639809370041, -0.0035033507738262415, 0.01672263629734516, -0.0320761501789093, 0.03896203637123108, -0.02578345499932766, 0.010714922100305557, -0.028760842978954315, 0.10133028030395508, 0.014258789829909801, -0.05008122697472572, -0.013980137184262276, -0.02111462876200676, 0.006526358425617218, 0.04659505560994148, -0.03256956487894058, -0.0034661234822124243, 0.0109523581340909, 0.03569909930229187, 0.02693360485136509, 0.012488903477787971, -0.035452164709568024, -0.014392142184078693, -0.18870215117931366, 0.011685446836054325, 0.013903799466788769, -0.015704531222581863, 0.0011422157986089587, 0.02459261380136013, 0.07453297078609467, 0.02895248495042324, -0.0036572860553860664, -0.03161285072565079, 0.053392283618450165, 0.036304134875535965, 0.011565693654119968, -0.050907034426927567, -0.039025045931339264, 0.015739193186163902, 0.014151088893413544, -0.02525053732097149, -0.031060075387358665, 0.017517896369099617, 0.030805978924036026, -0.015992218628525734, -0.01320994645357132, -0.01564933732151985, -0.0013176293577998877, -0.007626183796674013, 0.06187964230775833, 0.0675709918141365, 0.09641250967979431, 0.0022909408435225487, -0.021019546315073967, 0.03245752677321434, 0.00002476842018950265, -0.13620465993881226, 0.062080465257167816, 0.06786961853504181, 0.03825300931930542, -0.015681136399507523, -0.009570331312716007, 0.019416550174355507, 0.0869368240237236, 0.012906757183372974, 0.004250263795256615, -0.0451626181602478, 0.06623464077711105, -0.02485736832022667, -0.013158007524907589, -0.012476637959480286, 0.04662005230784416, 0.022078068926930428, -0.03158353641629219, -0.0855943113565445, -0.01777956448495388, -0.044897060841321945, -0.0057966806925833225, -0.06652466207742691, -0.01775764673948288, 0.004225253127515316, 0.0840260311961174, 0.03633914142847061, 0.037907835096120834, 0.05750477313995361, -0.01782899536192417, 0.11033592373132706, -0.016572684049606323, -0.10204336047172546, -0.00034467544173821807, -0.009235167875885963, 0.016460293903946877, -0.04826565831899643, 0.40270179510116577, -0.03873192518949509, -0.002809857716783881, 0.0312509685754776, 0.02787535823881626, 0.05403907224535942, 0.03531842678785324, 0.001485543791204691, -0.039288315922021866, 0.010451911017298698, -0.013544091023504734, 0.03078027255833149, -0.03147519379854202, 0.06102294102311134, -0.06764385849237442, 0.026369556784629822, 0.0061012315563857555, 0.03235894814133644, 0.04198248311877251, -0.0455566830933094, 0.035625942051410675, -0.021513666957616806, 0.005115763284265995, 0.02732003480195999, 0.031654298305511475, -0.00035799419856630266, -0.006739017087966204, 0.020361607894301414, 0.05940702557563782, 0.020775271579623222, 0.013458936475217342, 0.03356269747018814, -0.011319385841488838, -0.05145370960235596, 0.006728659383952618, -0.019663121551275253, 0.0300360806286335, 0.035745907574892044, -0.042033419013023376, -0.02049611136317253, -0.015947820618748665, -0.0028194934129714966, -0.019152481108903885, 0.009393779560923576, -0.03152995556592941, -0.07824287563562393, 0.07883934676647186, -0.019294608384370804, -0.025661909952759743, -0.038191888481378555, -0.06152572110295296, -0.005380504764616489, 0.002287638373672962, 0.019242070615291595, -0.0374004952609539, -0.006656328681856394, 0.03027602657675743, 0.051793765276670456, 0.021489055827260017, -0.005153649486601353, 0.01228510495275259, -0.0038141959812492132, -0.056784488260746, -0.03909625485539436, 0.017147080972790718, 0.061224132776260376, -0.08335337787866592, -0.017378058284521103, -0.002806216012686491, 0.025471603497862816, -0.03462317958474159, -0.006317669991403818, -0.019074980169534683, 0.0344330333173275, -0.026561666280031204, 0.03237416595220566, -0.052466701716184616, 0.021828262135386467, -0.011195325292646885, 0.034737728536129, 0.04733940586447716, -0.001572145614773035, -0.016479747369885445, -0.011641709133982658, 0.022881146520376205, -0.04193177446722984, -0.06266650557518005, -0.08189947158098221, -0.01151792611926794, 0.0036236108280718327, 0.004766499157994986, -0.07204130291938782, -0.019991891458630562, -0.05894992873072624, 0.02941323071718216, -0.015843186527490616, -0.018610544502735138, -0.003096496220678091, -0.010417504236102104, 0.0012881553266197443, -0.01540159247815609, 0.01933901011943817, 0.030070150271058083, -0.039096686989068985, 0.021145053207874298, -0.10595139116048813, 0.019193880259990692, 0.019180603325366974, -0.05008963122963905, 0.015811534598469734, 0.039613571017980576, -0.03838714212179184, 0.039719108492136, -0.025515427812933922, 0.029493190348148346, -0.013229519128799438, -0.06385862082242966, -0.02041822299361229, 0.03898197039961815, 0.05500679463148117, 0.014374791644513607, -0.05696756765246391, 0.017152966931462288, -0.00801649410277605, -0.34171175956726074, -0.07124052941799164, -0.005484490655362606, 0.014621483162045479, 0.041435420513153076, -0.054999273270368576, 0.024358874186873436, -0.0359422042965889, -0.03585178405046463, 0.007139196619391441, 0.06372224539518356, -0.0431668721139431, -0.029522255063056946, -0.05648808553814888, 0.005965797230601311, 0.04052359238266945, -0.0418643094599247, -0.004418667405843735, -0.0034355977550148964, -0.001242486061528325, -0.00945238582789898, -0.034989744424819946, 0.018659725785255432, -0.04773133993148804, 0.01013221126049757, -0.004222828894853592, 0.10401079803705215, 0.03526817262172699, 0.0777246281504631, -0.007056208793073893, 0.05394719913601875, 0.0011786355171352625, 0.05868228152394295, -0.11621300876140594, 0.002346283756196499, 0.018218757584691048, -0.043382614850997925, 0.01593385450541973, 0.06627006828784943, -0.0045625194907188416, -0.055610012263059616, -0.013469511643052101, -0.04524178057909012, -0.073248952627182, 0.023275114595890045, 0.013382365927100182, -0.03971760347485542, -0.01705373078584671, 0.013656355440616608, 0.024944914504885674, 0.01836204342544079, -0.017317483201622963, -0.003925520461052656, 0.02474145032465458, 0.027491115033626556, -0.008174165152013302, -0.020263219252228737, -0.0031724271830171347, 0.017174633219838142, -0.041280150413513184, -0.005928570870310068, 0.06600336730480194, 0.0316055566072464, -0.05887376517057419, 0.046153947710990906, 0.015589210204780102, -0.031516071408987045, 0.0324442982673645, 0.010420558974146843, -0.0536174513399601, -0.021171821281313896, 0.09039148688316345, 0.02091953717172146, -0.01361498236656189, 0.029678521677851677, 0.02878590114414692, -0.053589094430208206, 0.0074164606630802155, -0.028231903910636902, -0.04097878560423851, 0.012382199987769127, -0.028735682368278503, 0.08008518069982529, -0.005627848673611879, -0.047235239297151566, 0.08562622964382172, -0.01020047441124916, -0.047878921031951904, 0.08694591373205185, -0.004737407434731722, 0.008653638884425163, -0.012867145240306854, -0.03910618647933006, -0.04651787504553795, 0.07290523499250412, -0.02678203023970127, -0.2472367286682129, 0.05319613218307495, 0.04410768300294876, 0.016816508024930954, -0.011140321381390095, 0.03904801979660988, 0.08604346215724945, -0.048935212194919586, 0.0053149075247347355, 0.03364245221018791, 0.034791093319654465, 0.07445868849754333, -0.0018857924733310938, -0.005027462262660265, 0.00012516399146988988, 0.0044539924710989, 0.01610523834824562, -0.01847991719841957, -0.013078856281936169, 0.040571924299001694, -0.013729789294302464, -0.05191590636968613, 0.14064492285251617, 0.0006411095964722335, 0.002420103410258889, 0.023805245757102966, -0.01210689079016447, 0.04221855849027634, 0.09740670770406723, 0.02146206609904766, -0.026477957144379616, 0.007258221041411161, 0.0474853590130806, -0.028275704011321068, 0.05816355720162392, -0.04209105670452118, 0.01803143508732319, -0.006849392782896757, -0.00004979562072549015, -0.03977152332663536, -0.05966205894947052, 0.045314494520425797, 0.005201677791774273, -0.006609825417399406, 0.08561108261346817, -0.06034117937088013, -0.01795048452913761, -0.028801677748560905, -0.04143013432621956, -0.015750957652926445, -0.0201681200414896, -0.0047362251207232475, -0.038777779787778854, 0.01273554190993309, 0.0433182567358017, 0.07361816614866257, 0.016729354858398438, -0.020320331677794456, -0.04328812286257744, 0.017189087346196175, -0.011890817433595657, -0.025600969791412354, 0.08991226553916931, -0.012106808833777905, 0.0165193323045969 ]
[ 0.017794564366340637, -0.02733803540468216, -0.03950207680463791, 0.02655044198036194, -0.0033911087084561586, -0.03339778631925583, -0.0004156501090619713, 0.012681002728641033, 0.03612618148326874, 0.024133389815688133, 0.0049807168543338776, 0.008663496002554893, 0.03755008429288864, 0.001972259022295475, 0.0015227587427943945, -0.006969137117266655, -0.02213907055556774, 0.017159631475806236, 0.033602628856897354, -0.004474366549402475, -0.039744049310684204, 0.022794654592871666, 0.022154895588755608, 0.024295154958963394, 0.0532243512570858, -0.03539819270372391, -0.03096911311149597, -0.0006963459891267121, 0.009163380600512028, -0.15064798295497894, -0.015189321711659431, -0.003281650133430958, -0.011661159805953503, 0.021134307608008385, 0.008444370701909065, 0.029500501230359077, 0.01575055718421936, 0.017893142998218536, 0.010763461701571941, 0.018380824476480484, 0.02732768841087818, -0.0018380112014710903, 0.030138300731778145, -0.04690057039260864, 0.009134117513895035, 0.004906677640974522, -0.05331432819366455, -0.012524938210844994, -0.009763753972947598, -0.008195177651941776, -0.021347489207983017, -0.02304770238697529, 0.015618412755429745, 0.036415718495845795, 0.022365624085068703, 0.016789143905043602, 0.02599458210170269, -0.0012545752106234431, 0.03193606063723564, -0.010917561128735542, -0.010300480760633945, 0.030627958476543427, -0.04125231131911278, -0.032515477389097214, -0.00020066818979103118, -0.01077314279973507, -0.030030976980924606, 0.010458093136548996, 0.017192522063851357, 0.008380611427128315, -0.0005586399929597974, -0.033783651888370514, -0.032978836447000504, -0.04115380346775055, -0.033290620893239975, -0.005646590143442154, 0.03641420602798462, 0.01728760078549385, -0.014128204435110092, 0.020668530836701393, -0.07261766493320465, -0.009718777611851692, -0.003368646837770939, -0.038170311599969864, -0.03566336631774902, 0.032345470041036606, 0.02186794951558113, 0.028247985988855362, 0.043493904173374176, 0.011380739510059357, -0.013047680258750916, 0.03623294457793236, 0.006546559277921915, -0.02323407307267189, -0.07485805451869965, -0.03863956406712532, -0.014824285171926022, -0.024752723053097725, 0.006190430838614702, 0.814906895160675, 0.0336536169052124, 0.01767035946249962, 0.03947601467370987, 0.005843213759362698, -0.0030478769913315773, 0.03801512345671654, 0.002117508091032505, -0.008236370049417019, 0.012583295814692974, -0.036271627992391586, 0.025307340547442436, -0.01038036122918129, 0.013459510169923306, 0.04552014172077179, 0.011993501335382462, 0.05527676269412041, 0.027577267959713936, 0.0031854906119406223, -0.03298076614737511, 0.029211536049842834, 0.03983071818947792, -0.01621554046869278, 0.002859610365703702, 0.024365270510315895, -0.027810662984848022, -0.1701338142156601, -0.011742782779037952, -7.532082173965535e-33, 0.037828702479600906, -0.027913471683859825, -0.00705752894282341, -0.03628640994429588, 0.014054783619940281, 0.048855267465114594, -0.031286902725696564, -0.002041393192484975, -0.02078995667397976, -0.0025481833145022392, 0.008085777051746845, -0.026703575626015663, -0.005973374005407095, -0.007480807136744261, 0.0004803427145816386, -0.03540918976068497, -0.021949363872408867, 0.03624295815825462, 0.01236977893859148, 0.05116032809019089, 0.003517296863719821, 0.029376689344644547, -0.04195393621921539, -0.005130799952894449, 0.035582441836595535, -0.00807606428861618, 0.015001596882939339, -0.00502434466034174, 0.014338857494294643, -0.049219973385334015, -0.02108149230480194, 0.01650461181998253, 0.00406496599316597, -0.04484665393829346, -0.009334755130112171, -0.06672587245702744, -0.01722511276602745, -0.00005396551568992436, -0.02727222442626953, -0.03057906962931156, 0.03933044150471687, -0.01079440489411354, -0.040910251438617706, 0.011383102275431156, 0.005303827580064535, 0.004732946399599314, 0.03299359604716301, 0.007995164021849632, 0.030771376565098763, 0.03352159634232521, 0.008185185492038727, 0.006781402509659529, 0.005945424549281597, -0.015777884051203728, -0.015267927199602127, 0.004207408521324396, -0.013087603263556957, 0.0327339805662632, 0.014087012968957424, 0.012609423138201237, -0.010743212886154652, -0.011032194830477238, -0.024888163432478905, 0.013594944961369038, 0.012612924911081791, 0.01796278916299343, 0.009885312989354134, 0.06978783756494522, -0.0016793289687484503, -0.0008399207144975662, -0.07792019098997116, -0.004811421502381563, -0.00925140455365181, -0.024486107751727104, 0.016608312726020813, -0.04873243719339371, 0.006489862687885761, 0.0385839007794857, 0.02111366204917431, 0.011779608204960823, -0.030021635815501213, 0.001350289792753756, -0.059348125010728836, 0.0021501469891518354, -0.029169240966439247, 0.03028849884867668, 0.03793763369321823, -0.015595450066030025, -0.0287335142493248, 0.01719554513692856, 0.050561096519231796, 0.05745032802224159, -0.013412981294095516, -0.016485964879393578, 0.012571661733090878, 7.392704543472506e-33, -0.034432779997587204, -0.02975650131702423, -0.005200569052249193, 0.010847827419638634, -0.002129076514393091, -0.043767835944890976, 0.008793688379228115, -0.006953578442335129, -0.03450324013829231, -0.017480669543147087, -0.03644908219575882, 0.022781923413276672, -0.05847872421145439, 0.028279542922973633, 0.09753801673650742, -0.031626712530851364, 0.016272936016321182, -0.007050758693367243, 0.009984216652810574, 0.028978431597352028, 0.025781231001019478, 0.0045237913727760315, 0.008200908079743385, 0.046201400458812714, 0.009006131440401077, 0.05917100980877876, -0.023564057424664497, -0.013715429231524467, 0.03627261146903038, -0.03232581540942192, -0.003378736786544323, -0.0038481373339891434, 0.005196853540837765, -0.028496677055954933, -0.01076318509876728, 0.018383929505944252, 0.01897645741701126, 0.018628962337970734, 0.0029710372909903526, -0.006263801362365484, 0.006047689355909824, 0.01689729653298855, -0.015362942591309547, 0.012849155813455582, -0.04281913489103317, 0.021842557936906815, 0.020683130249381065, -0.004590688273310661, -0.021414272487163544, 0.006821371614933014, -0.008647816255688667, -0.007179600652307272, -0.007865422405302525, -0.02462664246559143, 0.02787115052342415, -0.04080619290471077, -0.019901439547538757, 0.012223768047988415, -0.01762411557137966, -0.02918594889342785, -0.017369907349348068, 0.014840133488178253, 0.007984710857272148, 0.03514447435736656, -0.03564960137009621, -0.021685484796762466, -0.017031753435730934, -0.020372597500681877, -0.0017034882912412286, 0.024966711178421974, -0.007281019352376461, 0.040297601372003555, -0.02413170412182808, 0.025047682225704193, 0.011549876071512699, -0.006667673587799072, -0.03558284416794777, -0.009426422417163849, 0.00034614495234563947, 0.02995150350034237, 0.0009695504559203982, 0.04740143567323685, -0.041391000151634216, -0.02003687061369419, 0.006394106894731522, 0.0013976948102936149, -0.02940644882619381, 0.029197614639997482, 0.052573006600141525, -0.016338041052222252, 0.0055946349166333675, -0.03894645348191261, -0.001459311111830175, 0.011530382558703423, -0.03613416105508804, -1.2847406694049823e-8, -0.005413411185145378, 0.0029284036718308926, -0.03129738196730614, 0.044968534260988235, -0.009500841610133648, -0.019478095695376396, -0.011040248908102512, -0.010289588943123817, -0.04346432536840439, -0.016173364594578743, 0.02379596419632435, 0.032335132360458374, -0.006296220235526562, 0.031765542924404144, 0.025564782321453094, -0.044464148581027985, -0.013934200629591942, -0.021116668358445168, 0.04649779573082924, 0.04684751480817795, -0.008084099739789963, 0.03202800080180168, -0.008616556413471699, -0.025535238906741142, -0.020714551210403442, 0.011899370700120926, 0.03430870175361633, -0.026952991262078285, -0.022939303889870644, -0.0069251530803740025, 0.0868101641535759, -0.018347136676311493, -0.07307258248329163, 0.04973308742046356, -0.019900750368833542, -0.05044475570321083, -0.005143013317137957, -0.00561643997207284, 0.010645965114235878, 0.02127891220152378, 0.008404348976910114, -0.021687371656298637, -0.01085009053349495, -0.026707690209150314, -0.04570673033595085, -0.021567784249782562, 0.002290676813572645, 0.0027306720148772, 0.03541845455765724, -0.02522946149110794, 0.007720396388322115, -0.016061684116721153, -0.03381895646452904, 0.020383745431900024, 0.038132645189762115, 0.025311080738902092, 0.038988664746284485, -0.036626268178224564, -0.012716641649603844, -0.008625517599284649, 0.04753908887505531, 0.014818314462900162, -0.0004738427815027535, -0.048952870070934296 ]
git-having-a-branchtag-with-the-same-name-error-dst-refspec-matches-more-than-one
https://markhneedham.com/blog/2013/06/13/git-having-a-branchtag-with-the-same-name-error-dst-refspec-matches-more-than-one
false
2013-12-20 18:07:36
Supporting production code: Start with the simple things
[ "software-development" ]
[ "Software Development" ]
A few months ago I wrote about http://www.markhneedham.com/blog/2013/07/22/lessons-from-supporting-production-code/[my experiences supporting production code] while working at http://www.uswitch.com/[uSwitch]. Since then I've been working on support for Neo4j customers and I've realised that there are a couple of other things to keep in mind while debugging production problems that I missed from the initial list. == Keep a clear head / Hold back your assumptions The first is that it's very helpful to completely *clear your head of any assumptions* when looking at a problem. I've got into the habit of pattern matching different error messages that I come across with root causes and while that's sometimes useful, often there are subtle differences which mean the root cause is different. Although I still sometimes fall into the assumptions trap I've found that it helps to ask exactly what someone is trying to do rather than immediately trying to solve the problem. == Look for the simple things Along with the assumptions another mistake I make is to imagine the most complicated version of events that could lead to a problem manifesting. Sometimes this is the case but more frequently a configuration setting may have been misunderstood or a query poorly designed and the problem can be resolved more easily. To stop myself making this mistake I have a rough flow chart in my head working down from simpler causes to more complicated ones for different problem areas. As I said, I still do make assumptions and look for complicated reasons for problems but by keeping these two things in mind I think/hope I'm doing it less often than I used to!
null
null
[ 0.02398304082453251, 0.012876053340733051, -0.01304803229868412, 0.03630959615111351, 0.08820871263742447, 0.03262965753674507, 0.03732816502451897, 0.013019394129514694, 0.015305567532777786, -0.024019453674554825, -0.02954709343612194, 0.0017775893211364746, -0.07586478441953659, 0.024505265057086945, -0.0419032983481884, 0.06378214061260223, 0.048499707132577896, 0.0035646134056150913, 0.021577954292297363, -0.009565811604261398, 0.02269427664577961, 0.04749728739261627, 0.006640509236603975, 0.03069632686674595, 0.04595028609037399, -0.0043507786467671394, 0.0048863450065255165, -0.018656739965081215, -0.05568288266658783, -0.008101788349449635, 0.05814620479941368, 0.02912265621125698, 0.020048566162586212, -0.031100353226065636, 0.0021343627013266087, -0.0006799940019845963, -0.03916133567690849, 0.02694992534816265, -0.009845954366028309, 0.006648593116551638, -0.07133828103542328, 0.044996701180934906, 0.0034692727494984865, 0.022099334746599197, -0.03673391416668892, -0.00977393239736557, -0.04192836582660675, 0.017182618379592896, 0.005394196603447199, -0.0037129512056708336, -0.09573445469141006, 0.0474238246679306, 0.002664994914084673, 0.010918495245277882, -0.018860574811697006, 0.05392635241150856, 0.012388361617922783, -0.08204641193151474, 0.019309045746922493, -0.024220502004027367, -0.020461831241846085, -0.005486243404448032, -0.016075415536761284, 0.02841120958328247, 0.01620400696992874, -0.02864481508731842, 0.01327570155262947, 0.049898646771907806, -0.0628599300980568, -0.002845094306394458, -0.0011090749176219106, 0.01740795187652111, -0.002002696506679058, -0.010777264833450317, 0.014416906982660294, -0.030895093455910683, -0.005476676858961582, 0.04766366630792618, 0.025790000334382057, 0.05745774134993553, -0.028175218030810356, 0.020027827471494675, 0.021301619708538055, 0.004938766360282898, 0.042882289737463, -0.058823782950639725, 0.01600797101855278, -0.047210633754730225, -0.04428901895880699, 0.048225872218608856, 0.03737356886267662, -0.05548889562487602, 0.018328169360756874, 0.02536194585263729, -0.022901345044374466, 0.007232724688947201, 0.02431388758122921, -0.011895298957824707, 0.017027001827955246, -0.022566692903637886, -0.025923186913132668, -0.03328811749815941, -0.010952947661280632, 0.016353875398635864, -0.07719505578279495, -0.021708372980356216, -0.026061981916427612, -0.0038459086790680885, 0.011628434993326664, 0.0042916471138596535, -0.0540042407810688, 0.02614646404981613, -0.008776083588600159, 0.007198094855993986, -0.08066194504499435, 0.06306116282939911, 0.002886217785999179, -0.035132814198732376, -0.010581837967038155, 0.021526239812374115, 0.0568474642932415, 0.021159283816814423, -0.015077977441251278, 0.07993634045124054, -0.020004326477646828, 0.038116730749607086, -0.00925558153539896, 0.049081604927778244, -0.02712978608906269, -0.07584941387176514, -0.017235497012734413, 0.053210265934467316, -0.0038726008497178555, -0.020981166511774063, -0.004465581849217415, -0.030992459505796432, 0.0011075364891439676, 0.023587534204125404, 0.03351190686225891, 0.05610641837120056, -0.001120714470744133, -0.05412478744983673, 0.031640227884054184, 0.018902791664004326, 0.021786348894238472, 0.013469323515892029, -0.008290395140647888, -0.009690133854746819, -0.02018926665186882, -0.005651963874697685, 0.014400365762412548, 0.03397984802722931, 0.02334154024720192, -0.02886420674622059, 0.013738858513534069, 0.1067495048046112, 0.022095968946814537, 0.011021445505321026, -0.0197125393897295, 0.025707485154271126, 0.03886725381016731, 0.0346614308655262, 0.006492632441222668, 0.0610482394695282, 0.0035443573724478483, -0.007293425966054201, -0.004658429883420467, 0.039221636950969696, -0.003028441919013858, 0.033990491181612015, -0.030072761699557304, -0.054361481219530106, 0.06933091580867767, -0.04675985872745514, -0.010252616368234158, 0.06037032976746559, 0.08066599071025848, 0.018344486132264137, 0.025478051975369453, -0.00011933823407161981, -0.07658408582210541, 0.04993605986237526, -0.0027987502980977297, -0.00013700974523089826, -0.002919011050835252, -0.004179709125310183, 0.05605243891477585, 0.03903558477759361, 0.016802987083792686, 0.032938770949840546, -0.08826975524425507, -0.09651670604944229, -0.01054918859153986, -0.01723463460803032, 0.05457380786538124, -0.019465763121843338, 0.014135988429188728, 0.06295888125896454, -0.01023213379085064, 0.05858610197901726, 0.034551218152046204, -0.0005853492766618729, -0.0026521116960793734, -0.026630405336618423, -0.04527966305613518, 0.07311863452196121, 0.049113307148218155, -0.028809767216444016, -0.05524362251162529, 0.011336829513311386, -0.016177764162421227, -0.012962177395820618, 0.041787128895521164, -0.01879735477268696, 0.027630571275949478, 0.024928314611315727, 0.0291669350117445, -0.046278998255729675, 0.040058594197034836, -0.029518641531467438, 0.020256923511624336, 0.022099550813436508, -0.017466992139816284, -0.0010879681212827563, 0.013749457895755768, 0.11278069764375687, 0.05429643765091896, -0.04659562185406685, -0.04634303227066994, 0.029503263533115387, 0.01067189872264862, -0.03844638541340828, 0.015445630997419357, -0.009672087617218494, -0.001362722017802298, -0.0069117434322834015, -0.05474188178777695, -0.028163200244307518, 0.016440607607364655, -0.03279940038919449, 0.03221871331334114, 0.06351158022880554, -0.06717056035995483, 0.060578830540180206, -0.02318223938345909, -0.005087708123028278, -0.006165273487567902, -0.019085196778178215, -0.06462012231349945, 0.03831007331609726, 0.008545562624931335, -0.006792136467993259, 0.07386525720357895, -0.020026518031954765, -0.033466219902038574, -0.040649574249982834, -0.038032568991184235, 0.025779329240322113, 0.041556429117918015, 0.07761577516794205, -0.005972855258733034, 0.06686048209667206, -0.018837040290236473, 0.014187402091920376, 0.004698906559497118, -0.05429389700293541, -0.033374786376953125, -0.010740532539784908, 0.029376313090324402, 0.014330286532640457, 0.022082047536969185, 0.008531305007636547, 0.026986071839928627, 0.021497882902622223, 0.007961847819387913, -0.015329692512750626, 0.027810625731945038, 0.0017824152018874884, -0.0005275343428365886, -0.01731400191783905, -0.01870487630367279, 0.044215306639671326, -0.06379789859056473, -0.026144901290535927, 0.014456738717854023, -0.04472259059548378, 0.048703018575906754, -0.05814075842499733, -0.04567178338766098, 0.013979417271912098, 0.007884809747338295, 0.04508897289633751, 0.0015029419446364045, 0.014074450358748436, 0.08012067526578903, 0.008296619169414043, 0.02193126454949379, -0.009728207252919674, 0.01022843923419714, 0.05936933308839798, -0.004687212407588959, 0.013800435699522495, 0.036335792392492294, -0.003527996363118291, 0.002887559588998556, -0.04534808546304703, 0.037097420543432236, -0.026650525629520416, -0.3025738596916199, 0.040438927710056305, -0.007173231802880764, -0.041370004415512085, 0.02323533035814762, -0.03776608034968376, 0.01174481213092804, -0.030770469456911087, -0.026337819173932076, 0.018787287175655365, -0.016252649948000908, -0.05379796400666237, -0.05133036896586418, 0.02237909659743309, -0.004345789551734924, 0.01203103456646204, 0.02115836925804615, -0.046279825270175934, 0.003251649672165513, 0.03468954935669899, -0.025171328336000443, -0.05266024172306061, -0.007536724209785461, 0.023704178631305695, 0.03974563255906105, 0.06648316979408264, -0.11199209839105606, 0.05122263729572296, -0.06827672570943832, -0.030257757753133774, -0.008016088046133518, 0.005638983100652695, -0.02431095391511917, -0.023363327607512474, 0.003191933734342456, -0.011607642285525799, 0.011971848085522652, -0.004779582377523184, 0.01038469560444355, 0.030758248642086983, -0.03566228970885277, -0.05998987704515457, 0.002313242293894291, 0.016749944537878036, 0.07545631378889084, 0.006341610103845596, -0.08824315667152405, -0.012649537064135075, -0.02835746668279171, 0.06115735322237015, -0.04221981391310692, -0.007895568385720253, 0.022543055936694145, 0.022367529571056366, 0.0038852449506521225, -0.02165982313454151, -0.005344859324395657, -0.02231637015938759, -0.054455097764730453, -0.032638296484947205, -0.006565495859831572, -0.04260633513331413, 0.010962337255477905, -0.04981115087866783, 0.010388382710516453, -0.04147445037961006, -0.06686747819185257, -0.03064904548227787, 0.07794670015573502, 0.015212999656796455, -0.011099555529654026, 0.040962036699056625, 0.03423592448234558, -0.09591160714626312, -0.02857293374836445, -0.02460445649921894, -0.012334118597209454, -0.023287560790777206, -0.0009781722910702229, 0.023890044540166855, -0.034348588436841965, -0.049532923847436905, 0.030718360096216202, 0.020999837666749954, 0.01637890189886093, -0.003955116495490074, 0.022341201081871986, -0.0056377281434834, -0.042237162590026855, 0.04663465544581413, 0.0651116743683815, 0.00009620156924938783, -0.022274313494563103, -0.024166759103536606, 0.013879992067813873, 0.010211425833404064, 0.02401869371533394, -0.032764773815870285, 0.02957608364522457, 0.03556016832590103, 0.009487311355769634, -0.06107356399297714, 0.04766270890831947, -0.028942711651325226, -0.015323836356401443, -0.0057395705953240395, -0.04042269289493561, 0.03692463040351868, 0.04229121655225754, 0.01316679734736681, 0.003319541923701763, -0.020173119381070137, 0.0036055841483175755, -0.03974829986691475, -0.05484634265303612, -0.0018435639794915915, 0.01224764995276928, 0.03380516543984413, 0.006761444732546806, -0.028771037235856056, -0.03748651221394539, 0.010467618703842163, 0.027843311429023743, 0.015421353280544281, -0.06306660920381546, -0.023548495024442673, -0.021621672436594963, -0.00839811097830534, 0.012164231389760971, 0.027022577822208405, -0.016973787918686867, 0.037481632083654404, 0.02051662839949131, -0.03406665474176407, 0.03260547295212746, -0.008590699173510075, -0.03446752578020096, -0.004563425667583942, -0.004343914799392223, -0.017776712775230408, 0.00578287011012435, 0.007969969883561134, -0.0011457798536866903, 0.03473604470491409, 0.04120291769504547, -0.00027748828870244324, 0.01146832387894392, -0.019381515681743622, 0.01719619147479534, 0.007039620541036129, 0.008664930239319801, -0.05871922895312309, 0.021842991933226585, -0.043446727097034454, -0.02757261134684086, -0.003953760955482721, 0.04358131065964699, -0.022694788873195648, -0.03520234674215317, -0.013372917659580708, 0.03322771564126015, -0.0688207596540451, -0.023380743339657784, -0.010204206220805645, -0.002912763739004731, 0.06182129681110382, -0.02927551046013832, 0.026584696024656296, -0.030772706493735313, 0.026012875139713287, -0.011348862200975418, 0.028061261400580406, -0.05888662487268448, 0.014621199108660221, 0.024035347625613213, 0.008367607370018959, 0.008044786751270294, -0.007272008340805769, 0.04229824244976044, 0.003115297295153141, -0.005572269205003977, -0.011709513142704964, -0.002995059359818697, 0.021301325410604477, 0.02736840210855007, -0.008752425201237202, -0.018519990146160126, 0.002231354359537363, -0.005141579080373049, -0.01681768149137497, -0.04483146592974663, -0.014082335866987705, -0.004793952684849501, 0.031000256538391113, -0.03417171165347099, -0.06500593572854996, 0.049674924463033676, -0.002724222606047988, 0.014126327820122242, 0.03864486888051033, 0.009754778817296028, 0.0014913761988282204, -0.03443723917007446, 0.01219918392598629, 0.06585268676280975, -0.06133609637618065, -0.02349361591041088, 0.009253976866602898, -0.004566837567836046, 0.01862986572086811, 0.006525050848722458, -0.046235766261816025, -0.04389500990509987, -0.03319190442562103, 0.016410574316978455, -0.06648007780313492, -0.04699462279677391, -0.0007139096851460636, 0.0196465402841568, -0.008031588047742844, 0.007867946289479733, -0.0009712100145407021, 0.015534324571490288, -0.016913725063204765, -0.014484873972833157, 0.01212393306195736, -0.034246139228343964, 0.018438100814819336, 0.01643647812306881, -0.033646076917648315, -0.005247307941317558, -0.00993327796459198, 0.039017219096422195, 0.011358577758073807, -0.0012163405772298574, -0.015761593356728554, -0.0547548271715641, 0.024500178173184395, -0.019043974578380585, 0.027397513389587402, -0.005294634960591793, -0.035793326795101166, -0.0116947116330266, -0.003135089762508869, -0.025124892592430115, 0.030837932601571083, -0.028107939288020134, -0.019866809248924255, 0.006384202744811773, 0.04550938680768013, 0.027884503826498985, 0.03527786210179329, -0.013285585679113865, -0.015321693383157253, 0.04719515144824982, -0.05000230669975281, -0.034186191856861115, -0.0396796315908432, -0.0656547024846077, 0.010679739527404308, 0.0038447901606559753, 0.00403149938210845, -0.021400438621640205, 0.026751168072223663, 0.03171320632100105, 0.04002511873841286, 0.02007622830569744, 0.007753567770123482, 0.03394214063882828, -0.05829966813325882, -0.007929451763629913, -0.08232460170984268, 0.024869095534086227, 0.025723939761519432, -0.008607783354818821, -0.008694606833159924, -0.025881236419081688, -0.03557390719652176, 0.021746691316366196, -0.0564335398375988, -0.01778152585029602, 0.01894192397594452, 0.006075410638004541, 0.0054334732703864574, 0.019803527742624283, -0.07136622816324234, -0.004009316675364971, 0.021094447001814842, -0.028751572594046593, -0.03730715066194534, -0.03483238443732262, 0.06354989111423492, 0.004428571090102196, 0.02110910788178444, -0.03437560051679611, -0.011840767227113247, 0.07534587383270264, 0.03445030376315117, 0.040633730590343475, 0.03148099035024643, -0.018910378217697144, 0.03393309935927391, 0.04873475059866905, 0.016862930729985237, 0.010020175948739052, 0.03143000602722168, -0.02816171944141388, -0.06378556042909622, 0.026901403442025185, 0.013461143709719181, -0.02988707646727562, -0.03971117362380028, 0.053725745528936386, 0.008507939986884594, -0.018322831019759178, -0.03654716536402702, 0.0010487954132258892, -0.03449559956789017, -0.02353113517165184, -0.01639413833618164, -0.007953573949635029, -0.036612968891859055, 0.05039070174098015, -0.024822071194648743, 0.007187448441982269, 0.0747615396976471, 0.007991915568709373, 0.003970948979258537, -0.012557078152894974, 0.08502296358346939, 0.07833899557590485, 0.04629288986325264, 0.01612658053636551, 0.0516737625002861, -0.010763264261186123, -0.027761384844779968, 0.015586650930345058, -0.02164108119904995, -0.029021278023719788, -0.021609367802739143, 0.0156401414424181, 0.05833294242620468, -0.0043421159498393536, 0.0744343176484108, -0.016821209341287613, 0.0013592460891231894, 0.009087049402296543, 0.022556712850928307, 0.01022889744490385, 0.075544074177742, 0.002236692002043128, 0.004025268834084272, -0.014029146172106266, -0.042085014283657074, 0.013643087819218636, -0.036352332681417465, -0.025090694427490234, 0.01897117868065834, 0.002549517899751663, 0.01325799711048603, 0.02317134104669094, 0.03258988633751869, 0.08047940582036972, -0.044498931616544724, -0.0025641373358666897, 0.01680637337267399, 0.03738703578710556, -0.02876986376941204, 0.018138162791728973, -0.019627084955573082, -0.032709117978811264, 0.011349432170391083, -0.02394745871424675, -0.013034678995609283, -0.024805467575788498, -0.0419461652636528, 0.03797188028693199, -0.03774181008338928, -0.014720842242240906, 0.01582382246851921, 0.0016779162688180804, -0.011524816043674946, -0.06965336203575134, -0.031636424362659454, -0.04109538346529007, -0.0608784444630146, -0.02274123579263687, -0.023961547762155533, -0.006433473434299231, -0.009988524951040745, 0.012869923375546932, -0.044063445180654526, -0.05655928701162338, 0.05688510462641716, -0.057805582880973816, -0.001845332677476108, 0.01327839121222496, 0.03752299025654793, 0.0169361624866724, 0.026741066947579384, 0.012534936890006065, 0.0009409391204826534, 0.02001195028424263, 0.014769373461604118, 0.006150077562779188, 0.022580847144126892, -0.0014748689718544483, -0.007415270432829857, -0.08684248477220535, 0.011171686463057995, 0.020232118666172028, -0.012447766959667206, -0.06667114049196243, 0.01986544393002987, 0.011251717805862427, -0.012656139209866524, 0.053883813321590424, -0.027110561728477478, 0.0016644371207803488, -0.012645483948290348, 0.010014441795647144, -0.017901252955198288, 0.007264609448611736, 0.031702835112810135, -0.02008388563990593, 0.0607261061668396, 0.014033077284693718, -0.026167506352066994, -0.03486581891775131, -0.011564215645194054, -0.0019329908536747098, 0.003847181797027588, -0.024249454960227013, -0.03462902829051018, -0.021454107016324997, -0.09174548089504242, -0.03633710369467735, -0.0014229585649445653, -0.0025092121213674545, -0.031064899638295174, 0.007983764633536339, 0.018330395221710205, -0.03956231847405434, 0.034906819462776184, -0.02694425731897354, 0.04771920666098595, -0.038030024617910385, -0.027809403836727142, 0.0015997433802112937, 0.0005650718230754137, -0.002975031966343522, -0.008531415835022926, 0.015259020030498505, -0.058847762644290924, -0.004963185638189316, -0.02234114706516266, 0.042954202741384506, 0.008480831980705261, 0.004686641972512007, -0.0036881137639284134 ]
[ -0.07460414618253708, -0.023488029837608337, -0.017243176698684692, -0.009024962782859802, 0.052038632333278656, -0.03925627842545509, -0.007052557542920113, 0.05434602126479149, -0.005590177606791258, -0.039409663528203964, 0.030668506398797035, -0.04077016934752464, -0.005589618813246489, 0.010611822828650475, 0.071147121489048, 0.025021325796842575, -0.01892416924238205, -0.0655801072716713, 0.015538335777819157, 0.03009624406695366, -0.02499338611960411, -0.04068906977772713, -0.04202241078019142, -0.021410977467894554, -0.0012687533162534237, 0.03264835476875305, 0.045808807015419006, -0.0190933495759964, -0.007594511844217777, -0.2011309713125229, -0.012011237442493439, 0.033082135021686554, 0.03174136206507683, -0.02354487031698227, 0.022098492830991745, 0.04286500811576843, 0.018352597951889038, 0.007388855330646038, 0.010728211142122746, 0.046034783124923706, 0.01472178939729929, 0.015404281206429005, -0.042714282870292664, -0.04114377871155739, 0.027132604271173477, 0.03532242774963379, -0.01019642036408186, -0.017852289602160454, -0.032636433839797974, 0.012573116458952427, -0.06141042336821556, -0.025741256773471832, -0.02912055514752865, -0.015023360960185528, -0.0094068618491292, 0.0335514098405838, 0.026423295959830284, 0.09013637900352478, 0.01707346737384796, 0.03083767183125019, 0.03293807432055473, -0.014632483944296837, -0.1328909546136856, 0.0616324245929718, 0.03409935161471367, 0.04194803535938263, -0.028736772015690804, -0.007652164902538061, -0.015861235558986664, 0.10240296274423599, 0.0020987545140087605, -0.024533715099096298, -0.02485557831823826, 0.05696789175271988, 0.011716606095433235, 0.037332430481910706, 0.012403090484440327, 0.02685021609067917, 0.010341501794755459, -0.040335167199373245, -0.021472543478012085, 0.02948679029941559, -0.02801971510052681, -0.0032137162052094936, -0.044783979654312134, 0.046032972633838654, -0.008700034581124783, 0.0706261545419693, 0.031756721436977386, 0.03203388303518295, 0.03464558720588684, 0.016937023028731346, 0.04552002251148224, 0.006867062300443649, -0.06731908023357391, 0.005177962593734264, 0.01148687768727541, 0.015206159092485905, -0.04102698713541031, 0.4237712323665619, 0.006419769953936338, -0.02796585112810135, 0.06180556118488312, 0.056064385920763016, -0.03129710629582405, -0.02196563594043255, -0.005420670844614506, -0.04089352861046791, 0.04603096842765808, -0.023857759311795235, 0.006619405932724476, -0.007588359992951155, 0.05965898931026459, -0.07159693539142609, 0.0127186868339777, 0.030459947884082794, 0.04983758553862572, 0.017846470698714256, -0.006950619630515575, 0.00899941474199295, -0.018987635150551796, 0.010861026123166084, 0.029238475486636162, -0.0036159500014036894, -0.010018140077590942, -0.028122080489993095, 0.015485182404518127, 0.06520550698041916, 0.013657444156706333, -0.0055856830440461636, 0.049079712480306625, -0.018811210989952087, -0.07285244017839432, 0.035148512572050095, 0.012908589094877243, -0.009536963887512684, 0.0398021936416626, -0.0050506298430264, -0.0067615569569170475, 0.053458623588085175, -0.011631594970822334, -0.021806921809911728, 0.0003325177531223744, 0.01917218044400215, -0.04228958487510681, 0.10902958363294601, 0.0010019524488598108, -0.038835566490888596, -0.02299630269408226, -0.0723269060254097, 0.009709695354104042, 0.04492694512009621, -0.025057543069124222, -0.06029452010989189, 0.01750905252993107, 0.013711178675293922, 0.08762707561254501, -0.026047540828585625, -0.07549672573804855, 0.011697476729750633, -0.014824691228568554, -0.02226284332573414, -0.049003541469573975, 0.04309718683362007, 0.03901141509413719, -0.08838184922933578, -0.013378300704061985, -0.012262431904673576, 0.054049741476774216, -0.0627618357539177, 0.003306195605546236, 0.014133302494883537, -0.011983638629317284, -0.032125696539878845, 0.033193740993738174, -0.021735025569796562, -0.047974977642297745, 0.009374948218464851, 0.03240643069148064, 0.03643486276268959, 0.023840773850679398, 0.0008711802074685693, -0.04357447102665901, 0.007319690193980932, -0.05642647296190262, -0.09987106174230576, -0.057586707174777985, 0.04156867042183876, -0.037557076662778854, -0.014817122370004654, -0.02571258135139942, -0.038179218769073486, -0.09421536326408386, 0.08901747316122055, -0.035493992269039154, -0.0445326492190361, 0.003107351716607809, 0.02292731963098049, -0.0340447835624218, -0.017774585634469986, -0.0066156466491520405, 0.04055751860141754, -0.028917856514453888, 0.019042832776904106, -0.0706113949418068, 0.05684218555688858, 0.058321066200733185, -0.05123766139149666, 0.07918298989534378, 0.048846032470464706, -0.04538024589419365, -0.001344376360066235, -0.001970113255083561, 0.019453255459666252, 0.0038032846059650183, 0.008395173586905003, 0.021608367562294006, 0.006802241317927837, 0.005388639867305756, 0.02991834282875061, -0.011188829317688942, -0.0036947315093129873, -0.03331410884857178, -0.36003872752189636, -0.06286674737930298, -0.014766084961593151, -0.00606579938903451, -0.0009230151190422475, -0.038628287613391876, 0.007263469509780407, -0.017686806619167328, -0.02465233951807022, 0.011391263455152512, 0.07775188237428665, -0.017994916066527367, -0.007810242008417845, -0.10984282195568085, 0.003800487145781517, 0.010219410061836243, -0.014929852448403835, -0.022692568600177765, -0.06307963281869888, -0.00750032439827919, -0.03712351247668266, -0.04241003096103668, 0.0029278884176164865, -0.08034583181142807, -0.004124934785068035, -0.01842435635626316, 0.09965956956148148, 0.0057713850401341915, 0.05694032460451126, -0.02809208817780018, 0.02908189594745636, -0.024000588804483414, 0.013062506914138794, -0.09269485622644424, 0.022458598017692566, 0.000060306363593554124, 0.013951912522315979, -0.0036694668233394623, -0.0010182273108512163, -0.024473119527101517, -0.03351525217294693, -0.02639028988778591, -0.07573407143354416, -0.026169588789343834, -0.05166918411850929, 0.018281685188412666, -0.049310240894556046, -0.0028393680695444345, -0.01715783216059208, 0.07652632892131805, 0.019084477797150612, 0.027896970510482788, 0.013144571334123611, 0.02023337036371231, 0.011569969356060028, -0.02738506905734539, -0.08838336169719696, 0.016746345907449722, 0.019529903307557106, 0.017122499644756317, 0.031979192048311234, 0.05290301889181137, 0.039309535175561905, -0.08299966901540756, 0.006259888410568237, 0.0019653737545013428, -0.015114881098270416, -0.009067822247743607, 0.03244582936167717, 0.002376462100073695, -0.023203842341899872, 0.12192068248987198, -0.007059370167553425, -0.018913080915808678, 0.024303030222654343, 0.030034441500902176, -0.03296221047639847, 0.011989456601440907, 0.008667928166687489, 0.0003779276739805937, 0.04472653940320015, -0.03797849267721176, 0.05680771544575691, -0.0008653919794596732, -0.011466099880635738, 0.06151869148015976, 0.003878322895616293, -0.06575887650251389, 0.08533000946044922, 0.014928409829735756, -0.03992079943418503, 0.010763079859316349, -0.04709210619330406, -0.06642371416091919, 0.07918279618024826, -0.017159510403871536, -0.23014971613883972, 0.022955548018217087, 0.04411185532808304, 0.04998383671045303, -0.009854276664555073, 0.031567804515361786, 0.03127923980355263, -0.023633811622858047, 0.015309571288526058, -0.023054752498865128, 0.0232223067432642, 0.03674101084470749, -0.01944367028772831, 0.0031533539295196533, 0.029976120218634605, 0.003498370759189129, 0.02706124633550644, -0.0030891757924109697, 0.03360794857144356, 0.004178143572062254, 0.04494258388876915, -0.0024581612087786198, 0.16039301455020905, 0.03436997905373573, -0.006951601710170507, 0.016509780660271645, -0.016363561153411865, 0.02127833105623722, 0.05175220966339111, -0.011126606725156307, -0.01791328936815262, 0.0298011414706707, 0.007733241189271212, 0.029645904898643494, 0.028514057397842407, -0.061490219086408615, -0.03258023038506508, 0.030502157285809517, 0.05010493844747543, -0.018058639019727707, 0.03382360562682152, 0.0026760855689644814, -0.03636150807142258, 0.04091848433017731, 0.07474604994058609, -0.014893784187734127, -0.0001715019898256287, -0.0249648354947567, -0.06598981469869614, -0.02190539985895157, -0.04800310358405113, -0.01982101984322071, -0.0022993048187345266, 0.0002521124843042344, -0.020349282771348953, 0.06475113332271576, 0.023420244455337524, -0.028554903343319893, 0.02392035536468029, 0.016843657940626144, -0.007524426095187664, -0.053664397448301315, 0.09143585711717606, 0.00022231758339330554, 0.018589485436677933 ]
[ 0.00021170770924072713, 0.017971713095903397, 0.017760418355464935, 0.011410401202738285, -0.009787335991859436, -0.03017379343509674, -0.035990942269563675, 0.005442251916974783, -0.030125420540571213, 0.018997587263584137, -0.019314689561724663, 0.04330813139677048, 0.02339850924909115, 0.005366343539208174, -0.014430123381316662, -0.00031814794056117535, -0.03150777891278267, 0.0077022165060043335, 0.029546700417995453, -0.019178027287125587, -0.011605571955442429, 0.007852572947740555, -0.006333344615995884, -0.0014554563676938415, -0.002819698303937912, 0.01637050323188305, -0.001116033992730081, 0.015374308452010155, 0.009494977071881294, -0.12989571690559387, -0.02721848152577877, -0.01036141999065876, 0.0009994149440899491, -0.012579474598169327, 0.0051459623500704765, 0.00992327556014061, 0.013642995618283749, 0.0018183279316872358, 0.003276875941082835, 0.01963258907198906, 0.0574098601937294, -0.016124609857797623, -0.02066035196185112, -0.006994793191552162, -0.0020569146145135164, -0.02515735849738121, -0.00904974527657032, -0.027247536927461624, 0.002065422711893916, -0.039708174765110016, -0.006732394453138113, -0.01381208747625351, -0.0004201080009806901, -0.015279161743819714, 0.014765672385692596, 0.012136577628552914, 0.009648973122239113, -0.02385970763862133, 0.015915751457214355, 0.006809753831475973, 0.036056678742170334, -0.023524601012468338, -0.046812623739242554, -0.028640275821089745, -0.03545484319329262, -0.002742927288636565, 0.02346699871122837, 0.0414893664419651, -0.03624774143099785, 0.0037543256767094135, -0.04633880406618118, 0.04365875944495201, -0.0645933672785759, -0.01700654812157154, -0.011944504454731941, 0.01571548730134964, 0.04245247319340706, -0.04077180474996567, -0.019218390807509422, 0.016751132905483246, -0.029199466109275818, 0.018767090514302254, 0.002839126856997609, -0.02019726112484932, -0.04489437863230705, 0.008491452783346176, 0.02247186191380024, 0.0024113571271300316, 0.0431884229183197, 0.017360417172312737, -0.028867416083812714, -0.013155153021216393, -0.008145700208842754, -0.010491013526916504, -0.07103891670703888, 0.0005033612833358347, 0.01742437481880188, -0.01647658832371235, 0.018808305263519287, 0.8537135124206543, 0.021824480965733528, 0.0013137231580913067, -0.00020216796838212758, -0.005372108891606331, 0.0022527207620441914, 0.008253832347691059, -0.00011965714656980708, 0.045200150460004807, -0.027245957404375076, -0.006109985057264566, -0.024458466097712517, 0.029628640040755272, -0.0151698999106884, -0.005051057320088148, 0.033481400460004807, 0.007698557805269957, 0.022413738071918488, -0.01812303625047207, -0.035772696137428284, 0.0009963123593479395, 0.025249004364013672, 0.038465715944767, 0.0020995023660361767, 0.02870398573577404, 0.01651851087808609, -0.17995311319828033, -0.026652447879314423, -8.020140081587256e-33, 0.04981270805001259, -0.014907803386449814, 0.020972471684217453, -0.013725072145462036, 0.005137320142239332, 0.04797817021608353, 0.03175610676407814, 0.019252635538578033, -0.013599619269371033, -0.02742268517613411, 0.016255026683211327, -0.015660017728805542, -0.004333753604441881, -0.0452578105032444, 0.01579926535487175, -0.012217065319418907, -0.0036657312884926796, 0.039474885910749435, -0.03605271130800247, 0.025806983932852745, -0.005990093573927879, 0.015898987650871277, -0.05272243171930313, 0.02332635410130024, 0.020888783037662506, 0.005384908057749271, 0.0019989816937595606, 0.004562707152217627, -0.027199484407901764, -0.053042713552713394, -0.013314633630216122, 0.019862495362758636, -0.011713903397321701, -0.015046695247292519, 0.015250946395099163, -0.03669948875904083, -0.03183184936642647, -0.012893691658973694, -0.029121611267328262, -0.040486909449100494, -0.051188334822654724, 0.011393357999622822, -0.02722804620862007, 0.002145470352843404, -0.0009520070743747056, 0.0004486793768592179, -0.02122902311384678, 0.008172993548214436, 0.014647855423390865, 0.011231891810894012, -0.008752514608204365, 0.06621081382036209, 0.01762862503528595, 0.0058835349045693874, 0.005063951946794987, -0.00373806431889534, 0.008947459980845451, -0.0218779519200325, 0.003773651784285903, 0.018736060708761215, -0.008242684416472912, 0.0073184603825211525, -0.04371625557541847, 0.049277350306510925, 0.00012311426689848304, 0.006360949482768774, 0.004582883324474096, 0.028933871537446976, -0.018458127975463867, 0.03280211612582207, -0.040900394320487976, -0.014906068332493305, -0.015670420601963997, -0.0009470081422477961, -0.0027484814636409283, -0.01330651342868805, -0.016965005546808243, 0.022406138479709625, -0.010602314956486225, 0.04984935000538826, -0.016532588750123978, -0.009049111045897007, -0.01937606744468212, -0.03325055539608002, 0.0012126999208703637, 0.01749378815293312, 0.01763625256717205, 0.015644049271941185, 0.02824133262038231, 0.03523669391870499, 0.02564697153866291, 0.017448222264647484, 0.0030586463399231434, -0.0007832850096747279, -0.04038972780108452, 7.916903759594227e-33, 0.00862446054816246, -0.001593751017935574, -0.03555433079600334, 0.012162166647613049, 0.0015151140978559852, 0.013330891728401184, 0.018302973359823227, 0.015502315014600754, -0.05892692878842354, 0.0265874732285738, -0.006550154183059931, 0.0292478296905756, -0.017308589071035385, 0.004889827221632004, -0.011746925301849842, -0.013535610400140285, 0.030427463352680206, -0.03835301846265793, 0.019108841195702553, 0.017562352120876312, -0.012114453129470348, 0.01304042711853981, -0.004107153508812189, -0.015910526737570763, -0.001291488646529615, 0.034987352788448334, -0.008779951371252537, 0.022347375750541687, -0.02865030989050865, 0.0011609118664637208, 0.01163052674382925, -0.04073368012905121, 0.028330449014902115, 0.004493089858442545, -0.012978182174265385, 0.02150503173470497, -0.025539981201291084, -0.012358753941953182, 0.02196982502937317, 0.0074504888616502285, 0.00594647042453289, 0.010655996389687061, 0.009870235808193684, 0.058780163526535034, -0.005171212367713451, 0.0056056855246424675, 0.007660317700356245, -0.0024581633042544127, 0.005773164331912994, 0.026107341051101685, -0.0010549633298069239, 0.016714133322238922, 0.007283950224518776, 0.014936872757971287, -0.010985434986650944, -0.03445018455386162, -0.04240076616406441, 0.013938214629888535, -0.04609033465385437, 0.05278626084327698, -0.025005852803587914, -0.005840449593961239, 0.013253641314804554, 0.010315150022506714, -0.02160864695906639, -0.026236139237880707, 0.00467701256275177, 0.0032330297399312258, 0.016387075185775757, -0.023760903626680374, -0.02438194677233696, 0.008195551112294197, -0.019488787278532982, 0.02323262207210064, 0.030724771320819855, -0.04878639429807663, -0.04346299171447754, -0.013908343389630318, -0.03425172343850136, 0.04795556142926216, 0.01270304061472416, 0.012473072856664658, 0.00925972405821085, 0.013296983204782009, -0.005777148064225912, 0.028092147782444954, 0.007989180274307728, 0.0531252883374691, 0.01676979847252369, -0.02035367488861084, -0.0023943609558045864, 0.003533189883455634, -0.024285253137350082, 0.02678942307829857, -0.02312427945435047, -1.323204212866358e-8, -0.010855530388653278, 0.017603367567062378, 0.0014185890322551131, 0.018971195444464684, 0.021143699064850807, -0.006109023932367563, -0.007915331982076168, -0.007833431474864483, -0.027667611837387085, 0.058624908328056335, 0.01688108965754509, -0.021969102323055267, -0.007748385891318321, 0.010915227234363556, 0.041894618421792984, -0.03464638814330101, -0.012876993045210838, 0.021825401112437248, 0.0193652231246233, 0.008506972342729568, 0.003419365966692567, 0.046473417431116104, -0.04323233291506767, 0.01795969344675541, 0.016668196767568588, -0.0011487462325021625, 0.03829330578446388, -0.06146988272666931, -0.0013708998449146748, 0.013839125633239746, 0.004497647751122713, -0.02035033144056797, -0.033964451402425766, 0.023617655038833618, -0.028625067323446274, -0.022845076397061348, 0.024042295292019844, 0.011276905424892902, 0.027338311076164246, 0.021834243088960648, -0.03342914208769798, 0.012052376754581928, 0.004193899687379599, -0.006491469219326973, -0.02531253546476364, 0.015561231411993504, -0.05892970412969589, -0.01399471890181303, 0.027493774890899658, -0.042172182351350784, 0.013109594583511353, -0.005632877349853516, 0.0377148799598217, 0.038814663887023926, 0.04632735624909401, -0.004678777884691954, 0.019222619011998177, -0.00695508299395442, -0.0023559241089969873, -0.005135104060173035, 0.02826964482665062, 0.005146251991391182, -0.008648106828331947, -0.017280321568250656 ]
supporting-production-code-start-with-the-simple-things
https://markhneedham.com/blog/2013/12/20/supporting-production-code-start-with-the-simple-things