As someone doing mostly C development at work I've really come to enjoy Zig in my side projects at home. At work we are moving a lot of newer development to Rust, which makes sense in terms of safety, the speed we want from C and "modernising"/becoming more attractive as an employer. However, when I'm doing projects for my own amusement at home I want something that doesn't feel like work, and getting into Zig and have something working took me no time. It's so easy to interface with C libraries that I can spin up most things with existing C libraries for the things Zig doesn't already provide itself.
Started on these at mid-March when the recommendation for quarantine came in effect in my country. Most are incomplete and WIP (I love switching back and forth between projects):
- Slack RTM bot which picks up my morning and goodbye messages in our channel and stash the duration into our time registration system so I don't have to do it manually. Using Slack library for Go, compiled to C library using gccgo for C ABI compatibility, then using Zig's cImport functionality to develop the bot in Zig (because why do it the easy way)
- mbedTLS bindings to Zig (Zig can generate alot of this out of the box, but I'm tailoring it by hand)
- HTTP/1.1 client in Zig, ties into the mbedTLS bindings I want to provide TLS support
> Then they just decided to shut down 2 of our newest customers and hold 100% of their funds ransom for 180 days
So Braintree supports payments through a number of providers, credit cards and PayPal, Apple Pay, etc. When you say they hold 100% of their funds, is this for PayPal payments via Braintree, or is it also credit card payments (i.e. payments directly to Braintree)? In other words, are the 100% fund you mention stored at PayPal?
The reason I'm asking is because Braintree does credit card disbursement a couple of days (or something like that) after a credit card payment has been performed. So if they shut a customer down, wouldn't they "only" hold the money from the first transaction after the last payout, till the shutdown occured? In other words, if the last payout from Braintree happened on Monday, and there was another transaction on Tuesday due to be paid out to the merchant by Braintree on Thursday, and Braintree shut them down on Wednesday, this would mean the "100% funds" mentioned is the transactions happening on from Tuesday till Wednesday, since they were shutdown on Wednesday?
I hope the question make sense! Just trying to make sense of this :-) (using Braintree as well, but not Marketplace)