rcmlz | @ng0177 would you be interested in trying an „reproduceability“ setup approach using Nix? | 05:09 | |
07:55
dakkar joined
08:26
camelia left
08:42
camelia joined
12:44
human-blip left,
human-blip joined
13:30
human-blip left
13:32
human-blip joined
13:58
guifa_ left
14:02
guifa joined
15:02
guifa left
15:03
guifa joined
16:35
dakkar left
|
|||
ng0177 | Appreciate the offer, to be honest: not now. Thanks. | 16:41 | |
Sorry for the late reply: I double checked and found no other error than the JavaScripdt::D3" error you mentioned above. | 16:49 | ||
If you do not mind, please let me have some hints on how to use (i) "JavaScripdt::Google::Charts" or (ii) VS Code. Thanks. | 16:50 | ||
antononcube | There is a movie, or two, about VS Code and “JavaScripdt::Google::Charts”. | 18:38 | |
See: www.youtube.com/watch?v=Rkk_MeqLj_k | 18:40 | ||
18:59
lizmat left
19:01
lizmat joined
19:30
librasteve_ joined
20:48
avuserow left
20:54
ACfromTX left
21:07
ACfromTX joined
|
|||
thowe | I can't seem to figure out the documentation for "first" to search an array. I have an array of hashes, and I want to be able to search the array and find the first element that has a particular hash value. something like @myarray.first($_{'key} == value) and get an array index of that value. | 21:27 | |
, Oh, I needed brackets... | 21:38 | ||
ab5tract | m: my @a = <a b c>; dd @a.pairs.first(*.value eq 'c').key | 21:43 | |
camelia | 2 | ||
ab5tract | thowe: ^^ | ||
thowe | i did @a.first({$_{'key' == $value}, :k); Is that a less good way to do it? | 21:45 | |
missed a bracket in the above, but I think you see | |||
ab5tract | ah, now that's fine too | 21:55 | |
*no |