faddat is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
faddat boosted

looking good! OSH Park just shipped my PCBs, so this is starting to look like it's going to happen for real.

faddat boosted

Iterate two things together at once:

iter1.zip(iter2).map(|(i1,i2)|…)

for (i1,i2) in iter1.zip(iter2) {…}

To iterate more you can nest zip():

for ((i1,i2),i3) in iter1.zip(iter2).zip(iter3) {}

or better, use Itertools::multizip.

iter.zip example: is.gd/5Xq53J

Hello Mastodon! I like p2p stuff! Interested to see how this thing here operates :).