• 0 Posts
  • 21 Comments
Joined 2 years ago
cake
Cake day: July 2nd, 2023

help-circle
  • I’ve added some of those. Actually sharing can just be a link to the publish URL for Facebook. Not in any way different from a normal link to other websites.

    The share button usually just uses the Share API, which is handled by your browser.

    But yes, you can use the Facebook and Twitter javascript api to add additional tracking and “a more fluent experience”, but it’s usually easier to not do that.




  • I really like SEPA mandates for this. Yes, they’re pull, but you can cancel them with one click within 52 days, and the money is back in your account in a few hours (if not instantly).

    Most companies that use it are very clear, since auto-pay by law needs a reminder or the refund is an automatic legal cancellation of the contract. (Of course, this is sometimes disguised as an upsell, mostly by telco’s or “disruptive startups”).

    And they work across Europe, so my German cloud provider can use debits to pull the money from my Durch bank account.

    The US not having such a consumer friendly system is really unfortunate, but not surprising.




  • I too, tried using regex to strip html tags. This was in php with hardly any knowledge of oop.

    A university education really improved me there, since they trained you in Java to a high degree within 20 weeks (alongside stuff like UML). PHP is a fine starter language, but as applications grow, a more native oop approach with build-time validation, really made me a better developer.




  • I’ve said this on reddit before, but once for a joke I tried to make a windows program to play doot.wav during October at random, and tried programming it on Linux.

    Sinds playing audio and working with the system tray was tricky, I ended up with electron.

    So yeah, an atrocious 120 mb application to play a 6kb wav file with a Math.random(). I don’t remember the memory consumption, but it was probably just as gross.