Woot! Just completed the first set of challenges from #cryptopals ๐
Just completed cryptopals set 1 challenge 4: detect single-character XOR in #ziglang. :D
https://github.com/leroycep/cryptopals/commit/8781a22d2407a72f6ff1eb18f605668ca595526f
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.
https://spacepub.space/videos/watch/1619c000-7c44-4330-9177-29a0854bd759
Forks & pull requests versus emails
Made a simple chat app using #ziglang, SDL2, pathfinder[0], and ENet[1]! The long-term plan is to make a multiplayer game like minecraft.
[0]: https://github.com/servo/pathfinder
[1]: http://enet.bespin.org/index.html
#Pinephone by @PINE64 running #SailfishOS talks to #Pinetime.
Video by @adampigg@twitter.com
https://twitter.com/adampigg/status/1255826610147725314
@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@cybre.space @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:
https://blog.wirelessmoves.com/2020/03/jitsi-meet-and-the-number-of-video-participants.html
Built a snake game using zig and #WebAssembly, you can check it out here: https://leroycep.github.io/snake-game/
We're thrilled to welcome Mozilla to the Matrix federation! Moznet IRC was disabled yesterday, so come join Mozilla on Matrix! https://matrix.org/blog/2020/03/03/moznet-irc-is-dead-long-live-mozilla-matrix