You don’t want the service to create arbitrary outbound connections, but you want your device to be able to communicate with the service.
It’s been a while since I’ve done network stuff, but it sounds like a pretty simple textbook problem.
You don’t want the service to create arbitrary outbound connections, but you want your device to be able to communicate with the service.
It’s been a while since I’ve done network stuff, but it sounds like a pretty simple textbook problem.
A self-hosted service requires local network, not internet
You don’t have to audit code to ensure it doesn’t call home.
Ridiculous take.
There’s a vast difference between using a cloud service that definitely spies on you, and a self-hosted solution that you can ensure doesn’t.
Removed by mod
Small Basic is about equivalent to Scratch in terms of what you can do, but you have to actually write the code. It reinforces various coding principles in a more explicit way than Scratch.
The website has a printable curriculum that looks reasonable.
I think it’s an excellent stepping stone.
Installs, not downloads.
That’s my understanding as well. You could have a game on Steam that you haven’t even updated in years, and then you suddenly have to start paying for new installs from existing owners.
Actually, it’s potentially even worse. You could have a game that you released and then later removed from every storefront, but if people keep installing it, Unity will demand payment.
How does your engine compare to MonoGame?
Still sucks if you’ve got a team that’s really good at Unity, but yeah
Microsoft has Unity games. I can’t imagine they’re happy.
Same guy: https://kotaku.com/unity-john-riccitiello-monetization-mobile-ironsource-1849179898
Hindsight is 20/20, but maybe devs should have seen this coming 😑
I agree you should use a switch where applicable, but ternaries are the expression equivalent of if-else statements. If I have two conditions and a default, and each branch simply evaluates to a value of the same type, I’ll probably just use a ternary.
Yes, you need to read code to understand it. If else statements can also do the job of a switch, so the exact same argument applies.
PHP is the only language in existence with a left associative ternary operator. Ignoring PHP, the operator has worked exactly the same way for decades. And even PHP has now fixed the operator.
I don’t think it’s reasonable to avoid a very commonly supported pattern just because a single badly designed language implemented it wrong.
How is it unsafe?
In the given example I’d probably use a switch / match expression, but ternaries are usually more flexible than switches and I don’t think it’s an issue to write a nested ternary instead of if else statements.
Ternary expressions aren’t switches though
Why?
It’s perfectly readable.
You can block a service from establishing outbound connections while allowing it to respond to inbound connections. It’s pretty common to do this because server software generally has no business calling out unprompted.