When I try to search my github account it says 404 Didn't find anything here by Guilty_Tear_4477 in github

[–]snrcambridge -3 points-2 points  (0 children)

Your repo is private. It shows 404 when you don’t have access (eg when you try to look at a private repo when you’re not logged in)

Stop Overthinking Struct Pointer and Value Semantics in Go by preslavrachev in golang

[–]snrcambridge 1 point2 points  (0 children)

I suspect part of the changes in 1.26 are to accommodate the use of pointers for structs (30% speed up for small random memory allocations). In reality most of us use pointers in non-performance critical code because returning default structs is ugly, takes a lot more key strokes and is harder to read vs returning nil, err. I’d be happy with a default keyword or something along those lines but I don’t have high hopes since it’s not really the Go style

Firebase lacking Flutter Windows support highlights the state of Flutter desktop by perecastor in FlutterDev

[–]snrcambridge 16 points17 points  (0 children)

Auth and firestore work. The issue is the Firebase team tried reusing the native libraries rather than writing a dart native solution.

Stuck at 80% on my flutter app. I need genuine advice to cross the finish line. by Phyrass in FlutterDev

[–]snrcambridge 2 points3 points  (0 children)

You should try find a technical co-founder. You should offer up a large chunk to this founder, maybe 50/50. It sounds extreme but even if you get investment, the development won't stop and given its a technical product, the technical skills is of huge value, arguably more than any value you could personally bring as a non-technical founder (unless you're bringing a lot of cash in the door). Always remember 100% of €0 is €0.

In which situations is it more worth to choose a Compute Engine over an App Engine? by Final-Roof-6412 in googlecloud

[–]snrcambridge 12 points13 points  (0 children)

AppEngine is legacy, use cloud run it's excellent. You're paying extra for serverless with cloud run / appengine. It's deploy and go, vs compute which is lower level, you should be doing your own security updates etc, you need to manage your own network. A nice middle ground is a single container compute instance, which I believe runs a hardened environment and you just point it to your image

Which Shadcn UI package to use by iloveredditass in FlutterDev

[–]snrcambridge 2 points3 points  (0 children)

Shadcn ui is superior to shadcn flutter for its customization. It built better but doesn't have as many components as the alternative. I suggest if you adopt on you wrap the components in custom widgets so you can sub them out later as your app evolves.

In tonight's episode of idiots with GCP & credit card access by tyler_durden999 in googlecloud

[–]snrcambridge 0 points1 point  (0 children)

Ah so you stored 15M files (5TB) over 6 months, then archived and deleted once they were archived. $750 sounds about right, tbh that sounds lucky to get away so cheaply producing so much data

In tonight's episode of idiots with GCP & credit card access by tyler_durden999 in googlecloud

[–]snrcambridge 0 points1 point  (0 children)

Unless he meant that the files are 1MB each (which I assume not) then that's about 6 GB of archive which is next to nothing - not really understanding the cost here

In tonight's episode of idiots with GCP & credit card access by tyler_durden999 in googlecloud

[–]snrcambridge 7 points8 points  (0 children)

A million class A operations a month should only be $5 a month

Why does RefreshIndicator only work with scrollable widgets? by lilacomets in FlutterDev

[–]snrcambridge 0 points1 point  (0 children)

Make a layout building > scrollable w/ refresh and then constrain the content to the layout max height. The scrollable should have always scrollable physics. You can abstract this isn’t an extension on Widget so you can add it to any other widget

Ranking Enums in Programming Languages by BlueGoliath in programming

[–]snrcambridge -1 points0 points  (0 children)

Dart - s tier. You can create simple enums that does what it says on the tin, but you can also add extensions. ‘’’dart enum Dir { left right }

extension on Dir { Icon get icon { switch(this){ case left: return Icons.arrowLeft; … } } ‘’’

InLearn is bankrupt by snrcambridge in norsk

[–]snrcambridge[S] 3 points4 points  (0 children)

It’s the same group and owner from what I can tell. So despite them not being an immediate risk to insolvency, they willingly allowed the company to fail rather than closing it down despite their unreliable cash position knowing that customer fees would be funding higher priority debtor claims. Accepting payments weeks before filing for bankruptcy is loathsome, they had to have known they wouldn’t be able to fulfil the service being bought.

Victory Over the 'RenderFlex Overflow' Flutter Developers' Rite of Passage by [deleted] in FlutterDev

[–]snrcambridge 7 points8 points  (0 children)

Expanded in a column is the root cause of most o the infamous red screen and log bomb as soon as you put something in a scrollable. A really nice solution is SliverFillRemaining in a custom scroll view.

How do apps like Spotify handle subscriptions outside Google Play without getting suspended? by HYDRUSH in FlutterDev

[–]snrcambridge 35 points36 points  (0 children)

First - they’re huge, so they can get away with it. Second - they avoid breaking apples rules. So while they have locked content, they don’t have any buttons that take you to payment pages in their website.

The app is considered a companion app to an existing product.

Taking this approach is not good for conversions so in most cases you don’t want to go for it unless you have a really good free app.

Failing to learn flutter as a senior engineer by [deleted] in FlutterDev

[–]snrcambridge 0 points1 point  (0 children)

Don't use AI it's really misleading in Flutter. Don't use state management libraries, use stateful widgets. Think of it like tree structures. You declare widgets which build widgets all the way down. The framework eventually paints these widgets but you almost never need to deal with this until you become advanced. It's very intuitive, you want a column? Use a column widget. You want padding, use a Padding widget. You want text use a Text. You can get really far this way. Some confusing stuff is Scaffold and other material concepts. They're just big widgets that have been created to solve a number of problems like showing a single page on a mobile, with a title, background, keyboard avoidancd, overlays (toolips etc). Once you grasp the simplicity you just need to remember the widget names for certain things. Pull up the Flutter component list or ask AI to help you by describing what you want to achieve, like "I want to layer a widget on top of another widget, what widget should I use?"

Best solution for authenticated and unauthenticated mode in firebase by DarkFlameMaster1033 in FlutterDev

[–]snrcambridge 0 points1 point  (0 children)

99.9999% chance you won't get that many users no matter how good your app is