@theseer@phpc.social avatar

theseer

@theseer@phpc.social

This profile is from a federated server and may be incomplete. Browse more on the original instance.

theseer, to random
@theseer@phpc.social avatar

Is there a way to replicate changes in an append-only fashion to a secondary/backup mysql/mariadb server? So pretty much, only INSERT statements.

This is an event store, so once written, events will never change.

For added security and data protection, I want to ensure that the backup can not ever loose anything by accident or due to an attack.

I know about "replication-with-restricted-privileges", but that will break when checks fail. I'm not sure I want this, or do I?

/cc @isotopp

theseer,
@theseer@phpc.social avatar

@isotopp Basically because it's boring technology that exists already, is known conceptually and honestly just works flawlessly for the use cases they have.

I'm just trying to be paranoid and want an append-only backup. The account used to write already has no permissions to update or delete...

I guess, the backup doesn't even have to be stored in mysql...

theseer, to pizza
@theseer@phpc.social avatar

Hey , coole Idee diese Matten, aber +230° max? Echt jetzt? Wozu soll das denn gut sein? Zum aufwärmen von ner Tiefkühlpizza? Denn für ne sinnvolle, selbstgemachte wie abgebildet reicht das jedenfalls mal kein Stück... Schade.

image/jpeg

theseer,
@theseer@phpc.social avatar

@heiglandreas okay, auch wieder wahr. Wäre allerdings für den Transport total praktisch gewesen ;-)

theseer, to random
@theseer@phpc.social avatar

Why did I only today learn about the awesome https://mailcatcher.me/ project?

theseer,
@theseer@phpc.social avatar

@bcremer 🤯

afilina, to random
@afilina@phpc.social avatar

Lufthansa, why do you ask me for date in mm/dd/yyyy format?

theseer,
@theseer@phpc.social avatar

@afilina Doesn't your browser locale suggest that format? 🤔

But then, the LH website never was very smart...

ramsey, to random
@ramsey@phpc.social avatar

I don’t understand folks getting super-excited that they won’t have to use an XML config file. Is using an XML config file that big of a hurdle to developer happiness?

theseer,
@theseer@phpc.social avatar

@katrakikas @ramsey What does XML have to do with SOAP? It's an implementation detail behind the scene. With any sane (yeah, i know..) SOAP implementation, you generate the WSDL or simply consume it and get a client ready to use. The definition could could be a binary blob for all I care...

There are many valid points against SOAP, but XML is just irrelevant - imho

theseer,
@theseer@phpc.social avatar

@heiglandreas @brunty @ramsey MacOS and XML: I honestly believe that some poor dev was tasked to create the a config file format and one of the requirements was it to be XML. Already hating XML for some reason, he (or she) decided to come up with the worst possible (ab)use of XML just to share the pain.

It's literally impossible to come up with a worse construct. Or almost: I recall a widget engine back in the days even having the order of attributes matter when parsing...

theseer,
@theseer@phpc.social avatar

@ramsey @katrakikas I remember these issues as well.

But that still is not a problem of XML but of SOAP, the specs around it and the respective client or server implementations.

That's like saying Gecko and Chrome render things differently and that's the fault of HTML ;)

theseer, to random
@theseer@phpc.social avatar

Sometimes, summer vacation has benefits: Given many of our clients are on vacation, I finally have time to work on my open source projects 🙂

This week's output:I believe to have finished implementing Templado 5 (https://github.com/templado/engine).

100% Line Coverage
100% Branch Coverage
Almost 100% Mutation Score (the last ones will be killed later today)

Next Up: Write Documentation and Migration guide ;--)

Oh, and update the project website https://templado.io - anyone interested in helping?

isotopp, (edited ) to random German
@isotopp@chaos.social avatar

deleted_by_author

  • Loading...
  • theseer,
    @theseer@phpc.social avatar

    @isotopp Naja, keiner würde ich jetzt nicht so sagen ;-)

    Aber ist laaange her...

    theseer,
    @theseer@phpc.social avatar

    @isotopp Und, wenn ich mich richtig erinnere, lief da (zu meiner Zeit.. hust-..) AIX drauf.. Also irgendwie schon ein UNIX..

    Skoop, to random
    @Skoop@phpc.social avatar

    The new UI so far is mostly confusing. Perhaps it takes some time to get used to, but it also behaves weirdly (or buggy)

    theseer,
    @theseer@phpc.social avatar

    @Skoop @rob I actually got used to it pretty quickly. It took me a bit to figure out that most things I used to use the menu(s) for that I need on a daily basis are easier to reach by other means though...

    What also took me a bit: One can re-enable the top menu bar to not rely on the "burger menu" only, and then the rest is actually just nice. Imho.

    I find it a bit sad that they in many ways try to just copy the VS UI instead of coming up with even superior solutions, but maybe that's just me.

    theseer, to random
    @theseer@phpc.social avatar

    I have an question: The _Throws-Mutation effectively removes my exit condition to avoid an endless recursion loop and thus runs into a Timeout.

    The Timeout though apparently is considered bad, given it's not considered a "killed" mutation.

    So, how do I make infection happy? I don't know how to avoid an endless recursion when infection would mutate my exit condition away ;)

    theseer,
    @theseer@phpc.social avatar

    @alessandrolai That sounds like a good idea. I'll check that.

    theseer,
    @theseer@phpc.social avatar

    @alessandrolai Awesome! That of course worked. Such a simple yet perfect solution! Why didn't I come up with that?

    theseer, to random
    @theseer@phpc.social avatar

    Google completely lost it: https://github.com/RupertBenWiser/Web-Environment-Integrity/blob/main/explainer.md

    What a complete and utter bllshit.

    For the sake of the open web, you might have a look at the "DON`T"-Issue : https://github.com/RupertBenWiser/Web-Environment-Integrity/issues/28 and react appropriately.

    Schrank, to random German
    @Schrank@phpc.social avatar

    lese meiner Frau einen Reisebericht über Island vor
    Sie haben Scheine zu 500, … und maximal 10.000 ISK… das sind rechne 82€ (Stand 2016)… deren größter Schein sind 82€?!

    Antwort der Frau: „die kaufen auch keine Häuser mit Bargeld“

    … immer die richtige Antwort parat.

    theseer,
    @theseer@phpc.social avatar

    @Schrank Tut man in Deutschland auch nicht ;)

    theseer,
    @theseer@phpc.social avatar

    @Schrank Nicht seit April 2023. Es gibt ein Barzahlverbot.

    theseer,
    @theseer@phpc.social avatar
    theseer, to Dom
    @theseer@phpc.social avatar

    Working on my templating engine Templado this afternoon - but getting frustrated.

    How did PHP - the language of the web - manage to lack behind DOM Standards so badly? Apart from bizarre bugs, basic things are just missing: DOMNode::isConnected or at least DOMNode::compareDocumentPosition are just missing. PHPStorm claims the latter exists, but that's just a lie... sigh

    Can't we just throw away libxml2 and use a modern standard supporting implementation from someone else?

    theseer,
    @theseer@phpc.social avatar

    @ramsey Looks interesting but the List of (additional) things they implement makes me want to cry..

    Why doesn't PHP have all those natively? sigh

    We're the language of the WEB. How can we NOT have a working, up to standard DOM Implementation natively?

    theseer,
    @theseer@phpc.social avatar

    @ramsey Niels Dossche (@nielsdos on github) is doing a LOT of work on it these days.

    But I'm not sure we can "fix" ext/dom because that would cause a lot of BC breaks. For that reason one of the fixes he made for b0rked namespace handling also didn't (yet) land.

    I think we just need some sort of "DOMi" <- note the "i" at the end ;)

    herndlm, to Mac
    @herndlm@phpc.social avatar

    Why is on with bind mounts still crappy. Or our Macs are.. Currently looking into a quickfix like workaround with the mutagen extension.

    theseer, (edited )
    @theseer@phpc.social avatar

    @Schrank @heiglandreas @herndlm To me, podman is pretty much superior to docker in every aspect. Particularly when it comes to rootless containers and docker compose with the useless networking complexity :)

    I never used ddev but I fail to see how one would need any special support for podman: You just start the podman socket service to have docker alike endpoint that mimics the API.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • thenastyranch
  • ngwrru68w68
  • magazineikmin
  • khanakhh
  • rosin
  • mdbf
  • Youngstown
  • slotface
  • everett
  • cisconetworking
  • kavyap
  • DreamBathrooms
  • anitta
  • InstantRegret
  • Durango
  • osvaldo12
  • ethstaker
  • modclub
  • GTA5RPClips
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines