The worst thing about the future is that everything is fucking data mining and ads. Yes, EVERYTHING, from cars to fucking refrigerators.
The worst thing about the future is that everything is fucking data mining and ads. Yes, EVERYTHING, from cars to fucking refrigerators.
Very interesting. Actually the part you mention about there being an initial 'btn'
class is a good point. Using arrays and joining would be nice for that. I wish more people would chime in. Because between our two examples, I think mine is more readable. But yours would probably scale better. I also wonder about the performance implications of creating arrays. But that might be negligible.
Ok how about this then, I frequently do something like this:
let className = 'btn'
if (displayType) {
className += ` ${displayType}`
}
if (size) {
className += ` ${size}`
}
if (bordered) {
className += ' border'
}
if (classNameProp) {
className += ` ${classNameProp}`
}
How would this be made better with a functional approach? And would be more legible, better in anyway?
Hm I’m having trouble visualizing this do you know a quick little example to illustrate this?
What is the advantage of this VS just overwriting the var?
This guy jits it
Sorry for my ignorance I tried googling but what is this exactly? A server for files or? A media server?
I find something extremely satisfying giving money to people who are working for free and offering a superb free service. So many awesome libraries that are given to us ad free by people.
Do you have a proper good tutorial to recommend?
I hate git and all it’s unintuitive commands.
Expert sexchange, you say?
Someone explain this to my dumb ass.
Yea can you share more info / process / settings?
Sir, this is Wendy’s…
Just kidding, I had to do it to ya 😅
I feel this pain… Every so often I install Linux hoping this is the year it will be easy… And then I try to install something simple as a password manager I used to use on windows and 5h later I finally figure it out after stackoverflow and googling… But then I’m just exhausted…
How do I make a backup of my pi and all its settings? I set everything up following guides and am not great with Linux. Is there a way to make like a full clone, so I can just copy paste into a new pi in case?
Getting a virus takes real effort. I feel like the whole virus debate is just 2000s hangover, and people never update their shit talking points.
What is actually a threat are scams. Seniors being called, lied to and forced to compromise themselves. Those are the real viruses of 2023. And obviously 99% of seniors are on Windows.
Wait what do mean? The Ethernet is slower than WiFi on the tv?
All the childish stuff he does aside, if that wasn’t enough, my problem with him is that he’s actively promoting fascist and undermining the working class.
This mother fucker has all the money in the world and he’s not content to do the kid dream stuff you describe, he’s actively helping fascist spread misinformation and is actively fighting against good wages and conditions for the working class.
So yea, fuck Elon and pretty much all of the rest of the billionaires.