Arrays are passed by copy by default. Every scalar or array value is copied by value. Every other thing (objects basically) is copied by reference.
Passing array by reference passes everything it used to copy by reference.
Attempting to clone an array will result in an error.
Reassignment of a variable containing an array will do the same as if passed to a function by value.
Reassignment of a variable containing an array using the reference operator will do the same as if passed to a function by reference.
So, in order to deep copy an array, just reassign and recursively traverse the array calling clone on each object. Of course, this would break (or not, depending on the intended use) when the same object is referenced multiple times under different keys.
Same, plain old HTML, and if I need some reactivity then Stimulus. And if need even more reactivity, then VueJS / Alpine. If the form can’t be submitted via a regular submit button, it infuriates me.
Burying bodies in my garden eating shitty food in order to sate my hunger for human flesh which usually makes me go on a killing spree to calm my cravings for blood less productive.
We had the same (all yellow, but personal part was white, or at least as white as the shitty paper could be). But they were called “Golden pages” instead (“Žluté” (yellow) vs “Zlaté” (golden)), probably because in our language it sounds better.
Yeah, those people are delusional, but that’s what you get when you raise kids in a world where having expensive shit is more important than teaching them frugality, money saving, and being nice to each other.
Blue bubbles go brrrr, doesn’t matter the kid doesn’t have attention span due to watching TikTok all day, or eating junk food cuz parents order fast food and have frozen pizza every day for dinner.
Fight the system, if someone laughs at you for having a green bubble, just counter by saying you are special and they are just normies like everyone else with blue bubble.
I self-host Hauk, although I could not polish all the bugs myself, it works pretty well.
We have location sharing on 24/7, it was consensual on both sides, and it is great when coordinating.
I am 27, tho, back in my teenager days there was no location tracking easily available, but I’d use it in a heartbeat. Better than getting asked if I am already on the way home or still at the party.
It is open source, but Louis said that albeit it is open source, the app is 10$ or something like that, but you are free to pirate it and he won’t be stopping you.
Or, rather, the “premium” features. No idea what are those tho.