Woot! Just completed the first set of challenges from #cryptopals 😁
Just completed cryptopals set 1 challenge 4: detect single-character XOR in #ziglang. :D
Just solved "Search in Rotated Sorted Array" on Leetcode: https://leetcode.com/problems/search-in-rotated-sorted-array/submissions/
It was interesting to solve it in `O(log n)` time, as I had to use a binary search to find the pivot, instead a specific value. I love problems that take an old tool and use it in a new way.
Forks & pull requests versus emails
Silly but fun demo of self-hosted Zig progress:
It compiles a zig source file with 1,000,000 calls to print("hello world") in 0.67 seconds using 471 MiB resident memory. This is 8x as fast as clang on equivalent C code and 3x less memory.
Video by @firstname.lastname@example.org
@sir It's a couple of craftsmanships (design, implementation, probably something else). So you can make science of it (e.g. what goes fast for what kind of problem etc.), you can use it to create art (just like painting a craft, but the way you do it makes it art) so it may be subject to both, one, or none. But I'd not say it *is* one or the other.
@LogicalDash @ajroach42 I don't think this is necessary. Artists can still sell their time (i.e. commissions), and can still sell prints or access to the digital art. They can also use Patreon and the likes to get support. But nobody "deserves" money just because they happen to make art.
I'm not against a state sponsered art program, but it would still have to decide who it sponsors. It's usefulness is independent of copyright.
Jitsi Meet: How many video participants in a single conference room can a self hosted server support? Didn't find a good answer so I tried it out myself: