It’s a shorthand for writing this:
variable = if (input != null) input else default
This is equivalent:
variable = input ?: default
It’s a shorthand for writing this:
variable = if (input != null) input else default
This is equivalent:
variable = input ?: default
It’s a shorthand for writing this:
variable = if (input != null) input else default
This is equivalent:
variable = input ?: default
The answers confusing it with the ternary operator are wrong.
Because it’s not one. Ternary operator is A ? B : C, Elvis operator is A ?: B. The same two characters are involved, but both the syntax and effect is different.
Yeah, the environmental issues that are orders of magnitude less problematic than literally pumping the toxic chemicals into the atmosphere like with fossil fuels, vs comparatively miniscule amount of solid waste to store inert.
I am not in the US. But the purpose is gaining credit score and rewards, at no cost.
To make it more specific I guess, what’s the problem with that? It’s like having a “people living on boats” and “people with no long term address”. You could include the former in the latter, but then you are just conveying less information.
I use my credit card all the time, and it’s set to auto pay off all of it every month, so there is never any interest charged. It basically delays the time my money leaves my bank account from the time of purchase to up to a month later, with no downside, while building credit history. The interest may be 300%, I don’t care because I’m never charged it.
I am not aware of any definition of closed source published by OSI.
Closed source (or proprietary software) means computer programs whose source code is not published.
It’s not closed source, since the source is publicly published. It’s source available.
I said Vivaldi is not open source a 2 comments ago. I said I recommend Firefox and derivatives, including Librewolf, I said Brave may be more secure, but shouldn’t be used for reasons that have nothing to do with it. Since you are not reading my comments anyway, I won’t spend the time.
I don’t dispute Brave may be private in the current version, but with all the things they did they are not trustworthy, with many write ups online, some going as far as to call it malware. You are of course free to disagree, if you don’t think your browser adding extra tracking to your links is a deal breaker.
I don’t know where you are reading that Vivaldi is closed source. The source code is right here: https://vivaldi.com/source/
It does have fingerprinting protection, it has blocking trackers and ads built-in, and you can enable site isolation and turn off third party cookies if you choose to.
I’ve never heard of Cromite so don’t have an opinion, but Brave is super shady, with crypto-shilling, ad-injecting, adding tracking codes to clicked URLs that didn’t have them, something so privacy ruining you’d be better of using Chrome. They can’t be trusted, and I’m not even getting to the CEO being a questionable figure. Nobody should use it, let alone anyone caring about privacy. People prioritizing privacy should be using Firefox or Vivaldi, both privacy focused browsers.
Vivaldi is not closed source. It’s not open source either (they don’t accept PRs), but the source is available.
I use it for a few years now, it’s very customizable. In my opinion the best Chromium-based browser. I recommend either Vivaldi or Firefox depending on your needs.
Glad I’m not alone
It’s just a phone number on the website. It’s macOS/iOS that decides that clicking a phone number should open FaceTime, and the restaurant has nothing to do with this - they just put their phone number on their website.
I imagine because it’s supposed to encompass blog writers, comic authors, and other creators of, well, content, that isn’t necessarily a video.
There is a difference between running in the background and being in memory.
Recent Apps may or may not be in memory, that’s why when you switch to a “recent” app not used in a while it restarts anyway instead of continuing where you left it, it’s effectively just a bookmark to a closed app. So the list being long doesn’t mean these apps are using memory.
While running in the background is unrelated, apps can run in the background regardless if they are in the Recents list or not. And it can absolutely cause issues or excessive battery usage, but clearing the Recents list is not the solution.
You could make an argument that there was some kind of huge spinning gyroscope reaction wheel system on that axis which projected the explosion that way.
But we all know there wasn’t.
@RemindMe @RemindMe@programming.dev 15 years, tell this guy he’s wrong
It’s in Kotlin and some other languages. C# has it but there it’s actually
A ?? B
.