github feature proposal simulator
Bloplang Pull Request #48592: Add zip method to iterators
β
β
β
This is a proposal to add the zip method to iterators. This would allow you to join two iterators together, alternating between results from both. E.g. tens.zip(hundreds) would give [10, 100, 20, 200, 30].... This has been the most requested feature on our wishlist for seven months, and my initial implementation here provides a 12% speed up on the test_cases/thousands_of_types.blop. π 532 π 12 π 226 π 114 π 3
BlobBot says: Hi red_bean
! Thanks for opening a pull request to Bloplang! I've run your code, and found this: Maximum regression: 0.05%. Maximum improvement: 12.03%. I've assigned curly_brace
to approve your code. Don't forget to leave a star! π 221 π 179 π 12
BlopBot added the "BlopBot Seal of Approval" "No regressions" labels.
I've never heard of "zip" before. Googling it, it seems to be a compression algorithm? Not sure what this has to do with iterators. I suggest naming it interleave instead. π 23 π 34
zip seems to be pretty widely accepted. For example, Rust and Python call it zip. π 27 π 1
yeah i've never head of zip before. interleave is too long tho, how about weave π 54 π 27
βοΈ This comment was marked as off-topic.
βΉοΈ
requested 1 change.
This
forloop could be better expressed as amap. π 1
How about spritz? In the idiolect of English spoken by my Discord server, spritz is very commonly used to refer to mixing things together. EDIT If you're going to laugh react, please leave a comment explaining why. π 5 π 143
wtf is a spritz π 5 π 26
βοΈ This comment was marked as off-topic.
βοΈ This comment was marked as off-topic.
Please don't leave "+1" comments. They pollute the thread and send useless emails. Use the react feature to add thumbs ups to the pull request if you want to express your approval. π 118 π 4
who else is here from reddit? π 122 π 16 π 33
- [ Click to load 281 additional comments ] *
That's a bug with your Linux distributionβs zip command, which has nothing to do with Bloplang. Open a thread on the Fedora forums to discuss that, although they'll probably tell you that Fedora 32 is EOL. π 66
Okay, so we have 17 votes in favour of zip, 12 for weave, 5 for spritz, and somehow only 2 for interleave. Oh, and 1 each for sprinkle, intersperse_at_least_two_iterators_with_each_other, and sum. I'm beginning to suspect botting. π 7 π 12
Hey read bean
- this pull request is out of sync with main. Could you rebase on top of the twelve thousand commits that have occurred since you opened this? Thanks! π 63 π 2
whats stoping this from being merged? can we get an eta π 12 π 2
It's mostly a debate on the name to use. I'm not sure why people aren't voting for interleave. I've provided numerous arguments as to why it's the obvious option, and I've even linked a conversation with ChatGPT 4-o proving that it makes the most sense. Sigh. π 2 π 70 π 11
βΉοΈ Pull request #53223 "Add interleave method to iterators" was marked as a duplicate of this one.
βοΈ This comment was marked as off-topic.
π€ No activity detected for 90 days. π 121 π 89
Stalebot π€ marked this pull request as stale.
Conversation locked and limited to contributors.
If your criticism of "big tech" is merely a result of the unhappiness about the fact that Meta, Google and Microsoft aren't EU-corporations you are missing the point.
There is nothing that indicates that SAP or Deutsche Telekom would hesitate a second at the chance of becoming equally violent and exploitative forces.
The solution to Big Tech isn't EU Big Tech. It's de-commercialisation and democratization of tech.
i didn't think it would be so controversial to download high quality recordings from torrent sites but i'm taking a lot of flac
Hello Fediverse!
We currently do not have any other social media accounts. Any such account (on Twitter or elsewhere) should be considered "unofficial", unless announced here or on https://librewolf.net.
Please report issues at: https://codeberg.org/librewolf/issues/
Check our documentation and FAQ at: https://librewolf.net/docs/faq/
Talk to us and find a supportive community on: https://matrix.to/#/#librewolf:matrix.org
I couldn't find an existing list of Canadian alternatives to American Internet services, so I've started one:
https://worktree.ca/taffer/canadian-alternatives
Please spread far and wide, and let me know if you have any updates for the page!
#canada #cira #internet #cloud #alberta #british_columbia #bc #manitoba #new_brunswick #newfoundland #labrador #newfoundlandlabrador #northwest_territories #nwt #nova_scotia #nunavut #ontario #prince_edward_island #pei #quebec #saskatchewan #yukon #buycanadian #elbowsup
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012710
Nsfw
Let's hope the future won't have any more wars.
- sustainable / openhardware electronics
- "homemade" electronic components (logic gates, resistors, etc.)(CC @North)
Basically if society would end tomorrow, how could we re-build our current technology without making the same mistakes ?
I think about sustainably living with nature in this scenario while also having electric power and e.g. computers.
Please boost for further reach.
#electronics #sustainable