Here I am preferring 200, with success boolean / message string…
Iike HTTP errors codes for real fuck up’s, if I see 500 somethings fucked in the app, otherwise a standardised json response body seems way easier
Here I am preferring 200, with success boolean / message string…
Iike HTTP errors codes for real fuck up’s, if I see 500 somethings fucked in the app, otherwise a standardised json response body seems way easier
Absolutely. My baseline is that I want everyone to be treated equally and with respect. I want everyone have the same protections from the government and everyone to be allowed to be and to love whoever they want.
Past that, it gets into minutia I just can’t get on board with and it’s hurting the left as a whole because people are trying to force language and thought policing on people, which I don’t like, it’s authoritarian, and I think it’s a losing strategy.
🤣 For real, the dude is describing exactly why containers were invented
A feature that permanently deletes 5000 files with one click without warning deserves a fuck you.
FUCK IT!!! WE’LL DO IT LIVE!!!
Nature has been telling us all long, but we don’t listen!
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.
I really wish we could have a license like if your revenue is 5mil + you have to kick in something to the devs
Thank you for sharing this.
I found this long time ago then lost the link.
Wft isn’t there just a nice clean git UI that tells you in human terms what you are doing.
Command line interfaces suck ass.
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.
Ah ok, well that’s not for me
Can you make screens / folders? And use icon packs?
I tried it, but it seems like you can’t make screens / folders? What am I missing?
Code golf! I just learned something new 😂
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?
Same goes for games BTW
Fuck online requirements