Right alt + 4 for me lol
derpgon
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.
"As you can see on this graph, the Twitter axis represents time, and the Y axis represents total number of unique visitors"
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.
Oh I am liking this trend. I absolutely hate this form of self-censorship (like some people writing"sh*t" - what did someone dl to you? Who huer you?), but this I can get behind.
The app is supposed to be something like 10$, no subscription. Not sure if it's paid atm.
Vaultwarden, a FOSS Bitwarden server compatible with upstream clients, is able to store TOTP, and when self hosted, you are the watchmen.
Most of these services are FOSS and they can't be shut down because they don't break any laws. The only thing that is in the gray zone are torrent sites, which are in abundance and it's not really that hard to switch from one to another or create a new one as operating costs are almost zero.
Or the fine is so small it's just a "cost of doing business"
I understand where the strictness comes from. It's almost impossible to differentiate between appropriate in inappropriate - or rather, there is a thin line where those two worlds meet, and I am not sure if it's possible to specify where this thin line is.
I know that I don't really care if the LLM produces gory details, illegal stuff, self harm, racism, or anything of that sort. But does Google / Facebook / others want to be associated with it? "Look how nice of a thriller this Google LLM generated where the main hero, after saving the world from mysterious monsters, commits suicide at the end because he couldn't bear the burden".
Society is fucked, and this is where we got to - overappropriation. Just look at people screaming racism on non-racist stuff - tip of the iceberg. And it's been happening more and more over the last few years. People are bored and want to outraged at SOMETHING.
I do, and I'd like a push in the right direction.