(30,27): error TS7006: Parameter 'fuck' implicitly has an 'any' type.
(30,27): error TS7006: Parameter 'fuck' implicitly has an 'any' type.
This is due to the default sorter in JavaScript sorting by the string value. The reason for that is that this won’t create errors at runtime. Since JavaScript does not have types, this is the safest way of sorting.
This works:
const unsorted = [1, 100000, 21, 30, 4]
const sorted = unsorted.sort((a, b) => a - b)
I worked with Azure Boards and the entire TFS stack for multiple years and it’s a horrible experience. It’s very slow, buggy and especially the access-management is so poorly designed, most engineers had admin rights, because we tried for hours and ended it with “fuck it” and gave them admin rights, so they could do their job.
deleted by creator
It’s not. The default sorter does that, because that way it can sort pretty much anything without breaking at runtime. You can overwrite it easily, though. For the example above you could simply do it like this:
[3, 1, 10].sort((a, b) => a - b)
Returns: [
]
JS !== Java
Try Javascript some day!
Try Javascript today!
I have my own mailserver just for me and it wasn’t that complicated to be honest. I set it up with Mailcow in Docker in under a day. So far it has been stable with regular backups and updates through Lighthouse.
Maintenance comes down to 5 minutes every three months because somehow Let’s Encrypt and Mailcow don’t like each other and I have to renew the certificate manually.
Yes, 4 tons exactly.
Yes, just like I said.
You mean the people running big corporations and not giving a fuck about the environment, right?
They are becoming smarter the further climate change progresses!
Being rich implies you are evil. If you were good, you would give back to the people who create your wealth.
A good person understands they are not entitled to that much money with so much bad things in the world nor need it in the first place to live a decent live.