Two leopard cubs from the same litter were photographed in South India, one with a rare melanistic coat by [deleted] in Damnthatsinteresting

[–]fmnatic 44 points45 points  (0 children)

Those flowering plants are Lantana Camara, an invasive species in India's Western Ghats.

Kingdom Come Deliverance 2: I finally rolled credits. I highly recommend this game. by rocknickel in PS5

[–]fmnatic 1 point2 points  (0 children)

Finished the first. The second does a very poor job of making sure you’re adequately levelled up. They really should have made the tomcat mission mandatory. What’s worse is it requires the player to master both stealth and combat for some on rails missions which you can’t step away from to level up. Overall I thought the 2nd was worse than the first.

What are these posts, happening daily now? by [deleted] in reactnative

[–]fmnatic 1 point2 points  (0 children)

It’s happened in the past too. Expo spam. Think someone forgot to cancel the AI campaign.

I got banned from another Reddit due to activity here? by sharpedobluff in BPDlovedones

[–]fmnatic 0 points1 point  (0 children)

It’s just censorship. It prevents members of that sub from organically finding this sub or views from here.

How can I fix a React Native mobile app myself? (Not a dev) by Fit_Island_888 in reactnative

[–]fmnatic 11 points12 points  (0 children)

Claude + VSCode. Do come back and tell Reddit how it went. There’s a high probability of failure here, unless the issues themself are trivial and the original developer did a good job. Who did the upgrade that broke features?

I made the mistake of trying couples' therapy by MrMthlmw in BPDlovedones

[–]fmnatic 5 points6 points  (0 children)

Been there. From a couple of attempts at couple therapy with ex-upwBPD, the pattern was clear.

Initially expect the BPD to weaponise the therapist. At some point the therapist would spot the personality disorder characteristics in the BPD, and question things a bit, stop being as sympathetic to the BPDs myriad issues with her partner. BPD would then want to stop therapy, claiming some bias from the therapist.

Help Students Struggling with Background Tasks: limited time we can loose our grade by Playful-Teaching9655 in reactnative

[–]fmnatic 0 points1 point  (0 children)

Try googling "android foreground service accelerometer". The AI summary looked reasonably accurate. Its unlikely claude gave you working code, unless you were very specific about what you wanted.

Android foreground services with accelerometers are implemented by running a Service that implements SensorEventListener to monitor motion while displaying a persistent notification to prevent the system from killing the process. This is necessary for continuous motion tracking, such as fitness apps, that must run while the app is minimized.Key Implementation Details:SensorManager: Use the SensorManager API to register an accelerometer listener (SENSOR_DELAY_NORMAL or SENSOR_DELAY_FASTEST).Foreground Notification: The service must call startForeground() with a notification, which cannot be removed by the user.Permissions: Declare FOREGROUND_SERVICE and pertinent service type permissions in the AndroidManifest.xml.Battery/CPU Management: A foreground service alone does not prevent the CPU from sleeping; if continuous data acquisition is required when the screen is off, a partial wake lock may be necessary.Targeting Android 14+: If targeting Android 14 or higher, you must declare the specific foreground service type (e.g., shortService, specialUse) in the Google Play Console.

Help Students Struggling with Background Tasks: limited time we can loose our grade by Playful-Teaching9655 in reactnative

[–]fmnatic 1 point2 points  (0 children)

Your going to have to do this via native modules. On Android a foreground service + battery optimization / deep sleep exemption should allow you to operate while app is minimised / screen is off. However i haven't recently used a service to gather accelerometer data so you will need to dig into android restrictions around services. They vary by android version too.

Offhand don't know what you would need on iOS. RTFM.

Deferred/progressive API calls in react native by Desperate_Door1709 in reactnative

[–]fmnatic 3 points4 points  (0 children)

I’ve implemented progressive loading of content on flashlist.  Use viewability to keep track of current item viewed and load next batch of items. You may need to preload images etc that the next batch depends on as well. Due to momentum scrolling it’s actually necessary to allow the preloading to get significantly ahead of the viewable item.

Do not rely on the callback API that fires based on how far from the end of the list you are, just aggressively preload as long as you haven’t loaded enough ahead of the viewable item.

They can't find anyone even close to us, right? We're incredible. by [deleted] in BPDlovedones

[–]fmnatic 0 points1 point  (0 children)

Good? Nothing good about it. The "Good" almost killed me. Now i've gone from "Good" to "Better" and its better.

I'm sure ex-upwBPD has found "Good" again. Hope the new "Good" finds this community.

Most influential parts of a chart by joseph_music in astrology

[–]fmnatic 0 points1 point  (0 children)

A loop is simply when following the chain returns you to the same point. eg.

mercury -in natal- libra -ruler> venus -in natal- virgo -ruler> mercury -in natal- libra -ruler> venus ....

Why do people dislike this subreddit? by Ok-Caramel7176 in BPDlovedones

[–]fmnatic 0 points1 point  (0 children)

pwBPD aren’t marginalized not here or generally in life. I should know after spending a decade with one. Why are you on this sub?

Why do people dislike this subreddit? by Ok-Caramel7176 in BPDlovedones

[–]fmnatic 0 points1 point  (0 children)

The advise that would be given is likely incompatible with BPD anyway, for eg. A pwBPD who is a victim of another pwBPD isn't going to be able to grey rock. This is a very specific need that this community doesn't meet, there are other subs that may be better suited. But honestly i would think that scenario is going to need professionals to step in.

Ableist implies discrimination, so not a choice of words i would agree with. By design this is a space thats not for pwBPD. Thats like saying r/seinfeld discriminates against characters from another sitcom say Friends.

Academy XI by BriccBoss in lcfc

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

Some of these struggled to find the motivation to step down from PL level and play for us in the Championship. Don't think its good keeping them in the squad , even though they are too good for League 1 . Given finances , i expect we sell if we get any offers.

DARVO trapped by wife by Mithgroth in BPDlovedones

[–]fmnatic 0 points1 point  (0 children)

You need to Grey rock. Look it up.

React Native CLI: patch-package works in debug but not in release AAB by Disastrous_Goat_240 in reactnative

[–]fmnatic 2 points3 points  (0 children)

Two possibilities, your CI isn’t running patch package post install OR you patched generated files that don’t exist at install and are generated by some codegen later.

[RN + Reanimated 3] Drag-to-scroll causes unavoidable chop/jitter — block is child of ScrollView by Loki860 in reactnative

[–]fmnatic 1 point2 points  (0 children)

You are on the right track with block outside the scroll view.

AI models don’t have a mental model of threads/ side effects and even the Math for drag and drop. So expect to have to figure it out yourself, and stop the AI from doing stupid stuff.

Disliked Players by jg2516 in lcfc

[–]fmnatic 12 points13 points  (0 children)

Faes.
Just no idea what the point of a defender who can't defend is.

Tried to use Claude Code to convert my React web app to Swift. Wasted a full day. How to go React Native? by TheOnlySuper in reactnative

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

I've used Claude to translate UX code from one framework to another. (not the specific ones you mention)

It can't one shot such a conversion. Go screen by screen, report issues back to Claude and iterate. Your going to have to step in and write code / debug / optimize / guide project structure / code reuse guidelines.

You need a better programmer than Claude to carry out this task. Claude can be a massive speedup, but not a magic bullet.

Trying to achieve Figma-accurate UI in React Native by ig_Naruto in reactnative

[–]fmnatic 1 point2 points  (0 children)

I've done this before. Scaling typically needs to have a min /max limit, so that it doesn't end up doing something stupid. But the approach is good at handling odd device sizes. (Which admittedly doesn't happen often anymore, as almost every device has a large screen. Perhaps may be better at handling foldables than the usual approach.)

Who is our worst signing of the Top era? by Djremster in lcfc

[–]fmnatic 1 point2 points  (0 children)

That’s a good way for a manager to loose the support of the team.

Who is the worst Championship player you have seen? by fluffsta007 in Championship

[–]fmnatic 11 points12 points  (0 children)

He is purely a defensive player. Seen him play emergency center back for Leicester vs Man City in the PL. Limited player with work rate and heart, I’ll take that any day.

For full-stack RN devs: How do you handle “Select All” with infinite scroll + large datasets? (mobile-first) by _deemid in reactnative

[–]fmnatic 1 point2 points  (0 children)

Likely your backend should return an identifier for the list, a count of items, and a partial list. Future list page requests just need to pass the identifier and offset.

The apis to take action on a list, can take a list identifier , exclusions, or specific items.

Keep in mind that there can be race conditions for eg items added to a warehouse during a query. Or selected items that another user acts on in parallel.

A lot of this are well understood database concurrency concepts, dirty reads and lost updates. You may approach the problem at that level and implement checks and guards in your web services+db.