--- Log opened Fri Oct 09 00:00:41 2020 03:05 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #utreexo 03:08 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 240 seconds] 04:02 -!- rjected[m] [rjectedmat@gateway/shell/matrix.org/x-yxaxknxqzjxnvszx] has quit [Quit: killed] 04:10 -!- rjected[m] [rjectedmat@gateway/shell/matrix.org/x-ymmvswkikplweobu] has joined #utreexo 04:34 -!- Netsplit *.net <-> *.split quits: dergoegge 04:40 -!- dergoegge [sid453889@gateway/web/irccloud.com/x-jzdktyxxskljzfdk] has joined #utreexo 08:42 < ja> kcalvinalvin: did you see https://github.com/utreexo-log/utreexo-irc-log/blob/53c8913548d178d80e740932f9973e0e52ecd0b5/2020-07-19.log#L64 08:43 < ja> in short, it moves the destination positions based on swaps that happen on higher levels, afaik 08:55 < kcalvinalvin> ja wait ok so it is supposed to be doing something 08:55 < kcalvinalvin> https://github.com/mit-dci/utreexo/blob/92d6ee46da74f1304dd15a62c57c3ceb221b357c/accumulator/transform.go#L54 08:56 < kcalvinalvin> We're not passing a pointer so it does nothing 08:57 < kcalvinalvin> oh wait it does do something... hmm go is weird 09:05 < kcalvinalvin> https://play.golang.org/p/C8DMNup8F5u 09:05 < kcalvinalvin> odd behavior 09:07 < dergoegge> thats normal, you have been looking too much at rust :D 09:08 < kcalvinalvin> I may have... 09:14 < kcalvinalvin> wait ok I love rust now 09:15 < kcalvinalvin> https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=35ce9fb51cc7a09dca42e518d6bf8204 09:15 < kcalvinalvin> More explicit 09:30 < ja> then you'll love haskell, it lets you put IO actions in the type system ;) 09:34 < ja> kcalvinalvin: slices are always references, the go example you posted has a function taking a slice 09:34 < ja> kcalvinalvin: people say "go doesn't have reference passing", but since it has slices and slices are always references, i found that to be confusing 09:37 < kcalvinalvin> computers are tricky --- Log closed Sat Oct 10 00:00:43 2020