HN user

amimetic

115 karma

Developer and data scientist at Motivii.

iOS Apps: http://practices.complexview.com/ Android Apps: https://play.google.com/store/apps/dev?id=7284356060201587173 Website: www.complexview.com

Previously Economics Research Fellow at City University London/part of EC funded Crisis Project.

Posts3
Comments43
View on HN

I assume RAM will also be a major constraint for on device ML; most Macs still default to 8GB (with absurd bumps in price to upgrade) so I'd guess some very high percentage of Macs sold in last 2 years are going to be quite bad for any major new software stuff Apple release in 2024. That is assuming they even are supported at all; if Apple follow their iPhone playbook they might just release the new stuff on late 2024 Macs.

Releasing the (more) mainstream model “as early as the end of 2025” or about two and a half years from now seems pretty depressing if accurate.

Allowing another year for some kind of volume of sales that might justify the development of apps etc suggests we are a long way off this being a supported, mainstream computing platform.

Is there really a minimum of 3? It seems to offer a "Just me" option.

I also noticed it seems to include something equivalent to a standard zoom subscription so this whole thing might save me money!

PS A lot of the comparison tables etc are confusing and in past I noticed (I'm in UK) the offer details vary by country.

Stateful hot reload is pretty awesome when doing UI work. On desktop that is pretty hard to find.

Also, as a TypeScript/Swift/Kotlin person, Dart is fine; sure I’d like algebraic data types but overall it is good. The tooling (auto completion etc) is great. And it has a few cool unique(ish?) features like cascade and every class is an ‘interface’.

Today is a weird time to get into mobile app dev. The standard 'native' UI frameworks are pretty terrible in terms of how they cope with complexity and their ability to change over time with their dated OOP APIs. Though on both platforms the tooling has been climbing ever upwards towards local maxima.

The best options available for most Apps today (even if just for a single platform) are typically React Native or Flutter. With their React(-ish) UI approaches you can both quickly build and iterate in the future.

SwiftUI is not ready for most uses (I've shipped a small but non trivial app https://apps.apple.com/us/app/pattern-maker/id1484249212 and was surprised by how many bugs there are for very standard things and how many hacks seemed to be required). Jetpack Compose seems to be at an even earlier stage. I expect both will be great but probably not for some time.

This is exactly the kind of thing that is unnecessarily hard in non-React-like UI frameworks. XML definitely does not do this well!

In React Native or Flutter I can just declaratively go from an array to rows of UI. It will be a few lines of code and will be incredibly clear (and easy to change).

In Android or iOS I can either do something procedural (which is messy, hard to reason about etc) or do something horrifyingly boilerplate-y (as you suggest), spreading things across multiple files and greatly increasing cognitive load.

I've worked with native Android, native iOS, React Native and (a tiny bit) with Flutter. I really wouldn't use vanilla native Android or iOS (even for a single platform app) unless there were some particular requirements around perf or whatever; so much more tedious, slower and (this one is subtle and will be missed by simple comparisons) so, so much harder to go back and make changes or additions to.

SwiftUI and Jetpack compose look promising for the future. But neither are ready for mainstream (enterprise?) use today.

"better tools for mocking in tests, ways to build custom lint rules": thanks to Elm being pure functional you don't really need mocking. And the amazing DX/tooling would make linting in style of JS completely unnecessary. So no need to toil over these issues at all in Elm. It won't help with isomorphic rendering.

(I write this as someone who mainly does TypeScript, but did a few months of paid Elm work. The main problems with Elm I see are the lack of jobs + as of 0.19 the hostile (NB technically, not personally) approach to those not aligned with Evan's direction for Elm).

A scaled resolution is now default on most MacBooks. I haven't noticed battery problems but certainly seen RAM usage at least double that of Chrome and considerably above Safari.

Dart is strongly typed and pre-compiled, at least when packaged. It can run in interpreted mode in development for live/hot reload: a major advantage over Swift. Flutter also provides a first class Reactive UI story: something sorely lacking in native iOS (or Mac) development.

PS Java (or Kotlin) are AOT compiled in all recent versions of Android.

Yeah, as a developer I do find iOS and Android compelling: there are such low barriers to entry I can (and have) released games for both.

Does anyone else find the overwhelmingly positive coverage of Switch and its games a little puzzling?

From a consumer's perspective I just don't get it. The Switch costs more than a vastly more powerful PS4 or Xbox One S. It (particularly) versus a PS4 has a tiny library of games. And the PS4 has actual VR. But even more remarkable is comparing the prices of games on the systems: often you will pay 2-3x as much for a (probably inferior) version of a game (compared to PS4/Xbox/iOS/Android).

I bought a Switch a few months ago. Played (and loved) the nostalgia of Mario. Played and dropped (as it seemed frustrating/grind-y) Zelda. And as far as I can tell that is basically the two games worth getting it for it. So I sold it. As I have a dozen great games ready to go on my PS4, and seems like more excellent stuff on the way, I just don't get the point of the Switch. If I want to play games on the move I can use my iPhone.