![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/0d5e3a0e-e79d-4062-a7bc-ccc1e7baacf1.png)
You were making a good point then went batshit 🤷♂️
You were making a good point then went batshit 🤷♂️
I second this motion. People also need to stop posting images of themselves all over the web. Especially their own kids. Parents plastering their kids images all over social media should not be condoned.
And on a related note we need much better sex-education in this country and a much healthier relationship with nudity.
I really wish we could have a license like if your revenue is 5mil + you have to kick in something to the devs
Your eyes can’t possibly tell the difference. We’re past the max eye resolution at this point.
Exactly. I’d also like to add, look at Google stuff their ui / ux is routinely horseshit. So don’t tell me there are ui/ux gurus out there GIGAchading user interfaces.
A lot of this shit is trial and error and even then they still fuck it up.
Make it accessible, make it legible and then fine tune it after.
Code golf! I just learned something new 😂
wHy dOeS aNyOnE nEeD rOoT??? - morons replying to me when I tell them rooting our phones is essential to have FULL control over it.
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
This comment? You guessed it! Propaganda!
Sorry for my ignorance I tried googling but what is this exactly? A server for files or? A media server?
Do you have a proper good tutorial to recommend?
I hate git and all it’s unintuitive commands.
Expert sexchange, you say?
Got em!
What is a web page vs web application? The web is so complex with features these days that pretty much everything is an application.
Man, I kind of feel for the poster.
A while back I was tinkering with some website and installed some npm packages.
Then I tried to delete the nodes modules folder… NOTHING worked… Safe mode, permissions change, command line deletion,… I spend like an hour googling and raging, it’s my fucking computer I put the fucking file there, let me delete it!!!
I was ready to give up and finally stumbled on the answer on stack overflow. The npm folder that was created (I forget exactly what it was) had the ~ symbol in path name and that basically made the folder invincible.
Luckily the poster also posted the command line to nuke the fucker and I was finally able to delete it.
So yea, I kinda get it. Seeing that stupid you don’t have permission to delete this file pop-up is rage inducing.