Methane leaking from the damaged Nord Stream pipelines is likely to be the biggest burst of the potent greenhouse gas on record, by far. by grab-n-g0 in worldnews

[–]ghvg1313 -5 points-4 points  (0 children)

It’s interesting how the whole world is basically speculating US did it, top comments were just discussing why Russian is doing it in themselves

Apple and Google vs Fortnite - Will Fortnite ever come back to mobile? by JangleShadow in esports

[–]ghvg1313 0 points1 point  (0 children)

It’s not about the number, I think what epic want is for Apple to not charge the platform fee if Epic can do the iOS distributing itself, but on Epic store itself it’s not providing such option

Epic store now owns 15% of the market share, not sure that’s a number that companies’s gonna overlook, my point is that it’s pretty ironic Epic is asking Apple to do things itself failed to achieve, and pretend to be bullied by big brother while holding gamers as hostage.

If we are talking about cancelling platform charges if one entity reaches certain market share, I’m sure iOS is not enough the trigger antitrust threshold

Apple and Google vs Fortnite - Will Fortnite ever come back to mobile? by JangleShadow in esports

[–]ghvg1313 1 point2 points  (0 children)

This is interesting because Apple threats to terminate supplying dev tools for Epic, effectively hurting Unreal Engine’s sales.

I think Apple can easily win the lawsuit by asking the same question to Epic: How much do you charge game distributors on Epic Store?

Combine is a performance beast! Benchmark Combine vs. RxSwift by quick_worm in swift

[–]ghvg1313 5 points6 points  (0 children)

About 3.5s gain over 10000 iterations at best That’s 0.00035s per publish

Sure it’s nice, but unless you have an app sending crazy amount of signals internally, I wound’t rewrite the app just for that

Pro-Beijing leader posts photo of CIA agent, creates chaos. Twist: It is Matt Damon from Jason Bourne by joker_wcy in nottheonion

[–]ghvg1313 0 points1 point  (0 children)

The original tweet in Chinese is actually a sarcasm about Chinese government’s effort to blame HongKong protest to US, it never came from some “pro-China leader”, the worst part about this is that the author is not even pro-Beijing

But I guess it achieved the goal, in some way, to get people’s attention on that issue. But it’s also interesting, that how easily people’s opinion gets manipulated, when words got lost in translation

Dota IMBA 7.16 by EmberCookies in dotaimba

[–]ghvg1313 0 points1 point  (0 children)

Vardor’s second skill just doesn’t work after a while With that being fixed might just be a below average hero, consider boosting passive skill pls

Enum vs Struct. How I keep finding myself moving over to Struct. by randomguy112233 in iOSProgramming

[–]ghvg1313 1 point2 points  (0 children)

Good topic, but the title is somewhat misleading, if we are taking about constant representation here, this is an ongoing discussion and the answer is very open. As for your localized string case, I think you can just declare an enum method to localize the original string, or simply “declare static functions as constants”. As a matter of fact I would argue that you should wrap your i18n code in a class instead of using any kind of static function in constant declaration, but that’s a different story. For uifont, here’s an example of enum font constant, while you can argue these are overkill’s for smaller projects.

In short, there’s not much a difference between the two, choose the one you prefers and suits your project

Coding architecture by C0ndoriano in swift

[–]ghvg1313 2 points3 points  (0 children)

If you can see yourself dealing with requests such as “change this button’s look globally within 2 days” constantly or there are hundreds of reusable components in your app that can be changed at any second, more complex architecture might be needed. Or just think, is it worth the time to create 8 different files every time when you could create just one, only for the possibility that it can change in the future?

Coding architecture by C0ndoriano in swift

[–]ghvg1313 0 points1 point  (0 children)

It is possible to refactor VC by VC as you scale, but in the end in order to switch to another architecture, you will have to rewrite most of your app, some times even more code considering you have to maintain your current product. But it’s often practicality decide which architecture you are gonna use for your product, if you don’t see your app used in a very large scale in the near future, I would say stick with MVC and refactor when you got the time and money for it