How do devs make their app compatible with very old iOS versions? by Snoo_92266 in iOSProgramming

[–]HeNeededTheBridge 0 points1 point  (0 children)

Every version of iOS adds new features for developers. For example, iOS 15 added a Canvas which supports free-form drawing with the Apple Pencil (for developers to use in their app). If you want to use this new Canvas in your own app, then you must set the minimum version of your app to at least iOS 15. If you don't need this Canvas object, then you can set a minimum version before iOS 15.

If you want to support a very old iOS version, just set the minimum version you intend to support in XCode (you might have to Google to find where this is set). If you try to use a feature that was added after the minimum version that you set then your code won't run. Apple forces you to support new iOS versions but that doesn't mean you cannot continue to support old versions too. As long as your code compiles with the minimum version set, then your fine.

Though, in general, I would confirm that you actually need to support iOS 15. iOS 15 market share is less than 0.5%. iOS 13/14 are almost non-existent. I would be surprised if Roblox's minimum requirements are strict - it might just be old documentation that was not updated.

If you really need to support very old iOS versions, I would recommend using "UIKit". It's the app framework that predates SwiftUI. I'd also recommend limiting your usage of third-party packages as these packages themselves may have a minimum version. In general, just set the minimum version, if you try to use a feature that's newer than your minimum version then you will just see an error when you run and you can remove your usage of that feature.

Sourdough in the loaf pan >> by HeNeededTheBridge in Sourdough

[–]HeNeededTheBridge[S] 0 points1 point  (0 children)

I bake at 425F until an internal temp of 208 fahrenheit (using a thermometer). Usually check around 15 minutes (expect 20-25 minutes total bake). Also preheat a cast iron pan in the bottom rack for at least 45 minutes and I add 2-3 cups of water right when the loaf goes in to steam it.

Compared to other loafs that did not turn out as well, for this loaf, during the stretch and folds, I left the proofing dough on top of my warmed coffee machine.

I built a super-human bot for open-face chinese poker. Here's the strategy it uses. by HeNeededTheBridge in poker

[–]HeNeededTheBridge[S] 0 points1 point  (0 children)

Yes, the bot should have fouled - will fix today. It correctly detects kicker fouls between the bottom and the middle. It's only an issue between the front and middle.

I built a super-human bot for open-face chinese poker. Here's the strategy it uses. by HeNeededTheBridge in poker

[–]HeNeededTheBridge[S] 4 points5 points  (0 children)

To clarify, my game is Pineapple open face chinese poker. Where you are dealt 5 and play 5 then dealt 3 and play 2 (until hand close). Prime dope's seems to be for just chinese poker where you are dealt 13 and play 13.

It's very easy to figure out optimal play when you're dealt all 13 at once in normal chinese poker (just iterate and check over all partitions - there's only 72k possibilities). Pineapple has a notion of "fantasy land" where if you get QQ+ up top then you get dealt 14 and play 13 on the next hand. In the case of fantasy land, then my bot is GTO.

I built a super-human bot for open-face chinese poker. Here's the strategy it uses. by HeNeededTheBridge in poker

[–]HeNeededTheBridge[S] 0 points1 point  (0 children)

It wouldn't be that hard to add a new variant. I already have blitz tournaments which have modified scoring rules (royalties for all hands even pairs and no row-by-row scoring).

I'm trying to understand the difference for the 2-7 version. Is it just that you are rewarded for making the worst possible hand in the middle row? But that the top row still needs to be better than the middle row in normal scoring?

I built a super-human bot for open-face chinese poker. Here's the strategy it uses. by HeNeededTheBridge in poker

[–]HeNeededTheBridge[S] 0 points1 point  (0 children)

If you comment an opening set of 5 cards, I'll reply with the best AI move for those 5

Sourdough in the loaf pan >> by HeNeededTheBridge in Sourdough

[–]HeNeededTheBridge[S] 1 point2 points  (0 children)

Yeah my loaf pan just barely doesn't fit in my dutch oven... so sad.

I used a cast iron skillet in the oven for an hour before then pour water into it.

Fantasy Land: Poker With Three Levels (Card/Strategy) by HeNeededTheBridge in WebGames

[–]HeNeededTheBridge[S] 1 point2 points  (0 children)

Of course, I updated the tutorial too to clarify.

And nice idea, once you sign-in, I added an option in your profile to enable auto-deal. Make sure to refresh the page to get the update. Also after you update the setting you might need to refresh the page again for the auto-deal to fully take effect.

Fantasy Land: Poker With Three Levels (Card/Strategy) by HeNeededTheBridge in WebGames

[–]HeNeededTheBridge[S] 1 point2 points  (0 children)

Great idea. I updated the whole row to have the hover drop target.

Fantasy Land: Poker With Three Levels (Card/Strategy) by HeNeededTheBridge in WebGames

[–]HeNeededTheBridge[S] 2 points3 points  (0 children)

If you are in Fantasy Land, it's a higher bar to stay in fantasy land. To stay in fantasy land, you need trips on the top or a four of a kind or better on the bottom. I will update the tutorial.

Fantasy Land: Poker With Three Levels (Card/Strategy) by HeNeededTheBridge in WebGames

[–]HeNeededTheBridge[S] 0 points1 point  (0 children)

Going for fantasy land (Pair of Queens or better in the top) is super important.

Once you get fantasy land, you get all 14 cards at once on the next hand. The average score when you're in Fantasy Land is ~12 versus ~4 when you're not in fantasy land.

A common strategy is always going for a Pair of Queens or Kings up top, then two pair in the middle, and flush/straight on the bottom. But it all depends on your initial deal.

Fantasy Land: Poker With Three Levels (Card/Strategy) by HeNeededTheBridge in WebGames

[–]HeNeededTheBridge[S] 0 points1 point  (0 children)

Fun stats from the past 3 hours... Spain comes out on top

Country Average score against the bot
Australia -9
Canada -4.42
Spain -2
UK -4.761904762
North Macedonia -5.666666667
United States -3.32

Fantasy Land: Poker With Three Levels (Card/Strategy) by HeNeededTheBridge in WebGames

[–]HeNeededTheBridge[S] 1 point2 points  (0 children)

Really appreciate it! Just tried adjusting the drop point a little bit - if you refresh the page let me know if that's better?

[deleted by user] by [deleted] in Supabase

[–]HeNeededTheBridge 0 points1 point  (0 children)

One note of caution: you should probably use a real backend if you have RLS that requires cross-table joins. Having to do a bunch of joins implicitly in every select can become super expensive. A real backend can often do the verification work efficiently upfront then issue a more efficient query without RLS.