I love the concept of PGP and how well it seems to be integrated. I also don't know a single person who uses it or a provider/software capable of decrypting it. I think that's the biggest issue with PGP. Short of asking someone directly, you don't know if they'd be able to receive a PGP encrypted email, so you wont send one.
It's no big deal if you really need to send a private message.
I tried it and the experience (mainly visually, fonts colours etc) wasn't very good so I can understand why the Zed developers are reluctant to formally release windows binaries.
Python offers an "extended" form of list comprehensions that lets you combine iteration over nested data structures.
The irony is that the extensions have a left-to-right order again, but because you have to awkwardly combine them with the rest of the clause that is still right-to-left, those comprehensions become completely unreadable unless you know exactly how they work.
E.g., consider a list of objects that themselves contain lists:
toolboxes = [
Box(tools=["hammer"]),
Box(tools=["wrench", "screwdriver"])
]
To get a list of lists of tools, you can use the normal comprehension: toolsets = [b.tools for b in toolboxes]
But to get a single flattened list, you'd have to do: tools = [t for b in toolboxes for t in b.tools]
Where the "t for b" looks utterly mystifying until you realize the "for" clauses are parsed left-to-right as [t (for b in toolboxes) (for t in b.tools)]
while the "t" at the beginning is parsed right-to-left and is evaluated last.for a in b:
for c in a:
use(a,b,c)
This would be[use(a,b,c) for a in b for c in a]
Everything stays the same except the "use" part that goes in the front (the rule also includes the filters - if).
I didn't know about picocrypt but I already have two options for safely encrypting files: 7zip with its AES-256 (simple) and veracrypt with various algorithms (more involved but allows you to mount the encrypted vols). Actually these are already mentioned in the tool's readmy, great work: https://github.com/Picocrypt/Picocrypt?tab=readme-ov-file#co...