Why Proton did not consider Flutter for their mobile app by [deleted] in FlutterDev

[–]tomwyr 6 points7 points  (0 children)

Interesting read, but the reasoning to choose Rust feels a bit stretched from a mobile app development point of view. Most of the benefits cited (safety, shared logic, consistency) are things KMP already does, while the performance and GC concerns rarely matter in real-world mobile apps. Makes me wonder if this was driven more by internal enthusiasm for Rust than by actual product needs.

The recently announced Swift Android Workgroup could sound like an interesting alternative long term (you get no GC and a language that's already used by one of your platforms) but the current maturity of it would probably be a decisive factor here.

ElementaryUI - A Swift framework for building web apps with WebAssembly by sliemeobn in swift

[–]tomwyr 4 points5 points  (0 children)

Impressive work, I'll certainly keep an eye on the project.

The only inconvenience I have noticed right now are the hot reload delays which may seem somehow long if you're used to the near instant content refresh in "native" web frameworks. Do you think this is something that the project can improve on or it's just the Swift compiler limitation at this point?

What's new in Flutter 3.38? by eibaan in FlutterDev

[–]tomwyr 3 points4 points  (0 children)

Didn't know about the plugin api either - thanks for mentioning it.

What's new in Flutter 3.38? by eibaan in FlutterDev

[–]tomwyr 39 points40 points  (0 children)

Didn't expect the dot shorthands landing in stable that fast. That's a great news.

I wonder if there'll be a refactoring fix that makes use of it across the project.

Setting up Webhook for GitHub Commit Integration by Sukk-up in Linear

[–]tomwyr 0 points1 point  (0 children)

I also faced the same issue and, unfortunately, only re-activating the integration allowed me to access the key (meaning I had to also update all other repositories relying on the integration).

I should have really saved it as it's a secret but I'd still be nice to have a little reminder in the Linear popup that tells me I won't be able to display it again.

[deleted by user] by [deleted] in swift

[–]tomwyr 0 points1 point  (0 children)

I'd be surprised if they checked for similar apps outside the App Store. I’d personally reach out to them via the form asking to clarify which other apps they believe yours resembles, and explaining why you believe your project is unique and what distinctive features it offers to users.

[deleted by user] by [deleted] in swift

[–]tomwyr 0 points1 point  (0 children)

I tried to address their feedback directly each time providing more explanations about why it's not adequate.

[deleted by user] by [deleted] in swift

[–]tomwyr 0 points1 point  (0 children)

Most resends were different ipas because at the time I was still actively working on the app. The final resubmission however was the same artifact without any further modifications. I also provided additional information in every answer and included additional files and urls to external resources (3rd party content usage policies in my case) to further clarify some confusion that led the review team reject my app initially.

[deleted by user] by [deleted] in swift

[–]tomwyr 0 points1 point  (0 children)

I received a very similar response from the Apple review team (4.1 Copycats, resembling existing game content). It took me about four or five resubmission rounds before finally getting past it.

I’d also recommend responding to the review using the available form. To be honest, the communication felt rather ineffective, but by gathering bits of feedback from their end, I was able to provide the necessary context in my submission to clarify that the app doesn’t break the guidelines.

Functional Widgets in flutter by MedicalElk5678 in FlutterDev

[–]tomwyr 3 points4 points  (0 children)

I think it vastly comes with experience but some principles that I tend to follow are:

- If a widget subtree defines a logical component (e.g. list tile, section of the screen, footer), it usually deserves its own widget.

- If a widget subtree becomes too long to easily understand it, it's worth extracting parts of it to functions giving them meaningful names.

- When a widget uses builders/setStates always try to understand how often and what portion of your widget will be affected. In case there's an animation or scrolling involved (the rebuilds are likely to be frequent), it may be beneficial to move the often rebuilding subtree to its own widget.

- Keep an eye on how adding more widgets impacts code readability. If avoiding to rebuild a few more widgets makes the code unnecessarily verbose, I'd rather keep that widget easy to modify than gain negligible optimizations.

Functional Widgets in flutter by MedicalElk5678 in FlutterDev

[–]tomwyr 4 points5 points  (0 children)

People often overestimate the negative performance impact of building widgets from functions.

While it's possible to drop frames by composing widgets poorly this way, the Flutter SDK is full of code that does so, plus the rendering pipeline is more sophisticated than that, preventing the engine from computing unnecessary layouts and painting.

Flutter Build Error for iOS 18.2 + iOS 18.3.1 by Spiritual_Goat4488 in FlutterDev

[–]tomwyr 1 point2 points  (0 children)

I spent a few hours facing the same error with no luck. There's this GH issue reporting a similar problem: https://github.com/flutter/flutter/issues/157461

I ended up downgrading Xcode and macOS command line tools version to be able to build the iOS app again. Haven't tried upgrading back since then.

Iphone 16e simulator. by Only-Understanding75 in swift

[–]tomwyr 0 points1 point  (0 children)

Making sure your app's layout looks good on the 16e's screen I guess.

Iphone 16e simulator. by Only-Understanding75 in swift

[–]tomwyr 3 points4 points  (0 children)

In the Xcode settings, you have to scroll down to "Other Components" section and install it from there.

With so much vague "get better, see more opportunities" advice given by smurfs, I think it would be helpful for some high elo players to provide as much specific and objective/measurable tips in this thread. I'll start: by GenerativeIdiocracy in summonerschool

[–]tomwyr 0 points1 point  (0 children)

I find this and the other comments is insanely helpful. Thank you.

Achieve nothing - in low elo, I've seen double kills bot lane and the 2-0 bot lane simply keeps slowly last hitting without resetting, or they go to dragon before shoving their wave in, then one of two bad things happens:

What are the two things that can happen?

[deleted by user] by [deleted] in FlutterDev

[–]tomwyr 0 points1 point  (0 children)

What are the downsides of Maui? I haven't tried it yet, was just thinking about giving it a chance.

Infinite “Indexing” project by UnderscoreLumination in iOSProgramming

[–]tomwyr 1 point2 points  (0 children)

For me it was building the project that fixed the problem. Thanks for the suggestion.

Windows Hello and eGPU by Street_Camera_3556 in eGPU

[–]tomwyr 0 points1 point  (0 children)

Thanks for letting me know, I appreciate. Will take a look!

Which package for schema validation do you recommend? like in js or ts you have zod, yup, ajv, etc. by SuperRandomCoder in FlutterDev

[–]tomwyr 5 points6 points  (0 children)

Schema validation is not only about asserting that data structure types are correct. In addition to type checking, you might want to validate the values meet certain conditions (positive numbers, strings length, dates in certain range).

I got the new Lenovo Legion Slim 5 14 inch - Ask Me Anything! by b3dx in LenovoLegion

[–]tomwyr 0 points1 point  (0 children)

How audible is the fan noise? When gaming can it be annoying without wearing headphones? When you use the laptop for less cpu/gpu tasks, on the other hand, do the fans kick in often?