79641425

Date: 2025-05-28 02:44:19
Score: 1
Natty:
Report link

I've rebuilt a React Native app using Expo, and from that experience, I would highly recommend using Expo. Even the official React Native documentation recommends it.

Native Modules Are Still Possible with Development Builds,

Regarding the concern about libraries that require native code (like Scandit or NeptuneLiteApi), you can still access native capabilities in Expo by using a development build instead of the default Expo Go app. see here for more information about development build

With a development build, you can write and include custom native code in the android/ and ios/ directories—just like in a regular React Native project.

About NeptuneLiteApi,

If there's no ready-made Expo package for NeptuneLiteApi, you can:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: David

79641418

Date: 2025-05-28 02:26:15
Score: 1
Natty:
Report link

I've been asking myself about using @Observable (replacement macro for ObservableObject) outside of SwiftUI for some time, it seems it was considered in the initial proposals but not implemented, and the workaround solutions feel like... workarounds. I was excited to see that Observations got implemented in Swift 6.2:

https://github.com/swiftlang/swift-evolution/blob/main/proposals/0475-observed.md

So now, outside of a SwiftUI view, you could write:

@Observable
final class Person {
  var firstName: String
  var lastName: String
 
  var name: String { firstName + " " + lastName } 

  init(firstName: String, lastName: String) { 
    self.firstName = firstName
    self.lastName = lastName 
  }
}

var person = Person(firstName: "John", lastName: "Doe")

let personNameChanges = Observations { person.name }

for newName in personNameChanges {
    print("Hello, \(newName)"
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Observable
  • Low reputation (1):
Posted by: Jim M

79641413

Date: 2025-05-28 02:13:12
Score: 1.5
Natty:
Report link

you can solve this :

1. adb kill-server
2. adb start-server
3. connect with other port like this adb connect 192.168.xxx.xxx:5556

i try this and success

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rilas agung pambudi

79641410

Date: 2025-05-28 02:09:11
Score: 2.5
Natty:
Report link

I think its a springboot REST application. But i dont see the annotations, so i wonder whether it really is one. Anyway, assuming that you would be adding the annotations once u get past compiler errors.

So, for this compile error, I would recommend get and IDE like STS - https://www.geeksforgeeks.org/how-to-download-and-install-spring-tool-suite-spring-tools-4-for-eclipse-ide/ this might help. and ensure u have java set in the eclipse like:enter image description here .

Then try Project > BuildAll .. from there u can start debugging if your compiler does not give any more errors in STS

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: VS.

79641406

Date: 2025-05-28 02:03:09
Score: 5.5
Natty:
Report link

I'm also stuck on this , what was the fix btw . Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1.5): I'm also stuck
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Imran Khan

79641394

Date: 2025-05-28 01:38:03
Score: 4
Natty:
Report link

I gave up on simpleaudio and just started using winsound, I appreciate the help that was provided. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DarkMud OfHorror

79641391

Date: 2025-05-28 01:35:02
Score: 2
Natty:
Report link

💸 Helping people earn real Cash App rewards!

🎁 Get exclusive offers & gift cards – no tricks, just legit deals.

✅ 100% Free | 📍 USA Only | 🕐 Limited-Time Offers

👇 Tap the link & start earning today!

Click Here: ✅✅ https://smrturl.co/a/s7bca5dc991/11279?s1= ✅✅

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kavin Price

79641390

Date: 2025-05-28 01:35:02
Score: 0.5
Natty:
Report link

Note that the accept answer suggests using the OpenCensus Python SDK which has been retired as of July 2023.

Instead, Microsoft suggest switching across to their OpenTelemetry offering and provide the following migration guidance as well as a guide for how to get started with azure-monitor-opentelemetry .

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zac Scott

79641386

Date: 2025-05-28 01:21:58
Score: 4
Natty:
Report link

helo, try using this site.. forward Emil to webhook

https://hubpanel.net/blog/receive-emails-and-forward-them-to-rest-apis-with-email-webhooks

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ncung thecat

79641374

Date: 2025-05-28 00:57:52
Score: 5.5
Natty: 4
Report link

@luigimarangio If init__.py is literally empty, shared_code folder may not be recognized as a module. If you add something like '# -*- coding: utf-8 -*-' as a comment to __init__.py , does it change the behavior in any way?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Ifis
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ecormaksin

79641370

Date: 2025-05-28 00:51:50
Score: 4.5
Natty:
Report link

try using this site. email to webhook

https://hubpanel.net/blog/receive-emails-and-forward-them-to-rest-apis-with-email-webhooks

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ncung thecat

79641369

Date: 2025-05-28 00:51:49
Score: 4
Natty: 4.5
Report link

yo logre realizar rl algoritmo con la ayuda de Chat GPT, yo puse la lógica de como debía abordar y programar el algoritmo, soy matemático no soy programador, resuelvo el problema manualmente y con ese diseño manual logre que chat lo programara. resolver una semana manualmente me ha llevado hasta 4 días, con el algoritmo lo hace de una vez, en menos del minuto, he generado hasta 100 semanas respuesta para un solo problema.

Reasons:
  • Blacklisted phrase (2): ayuda
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Franklin Rivera

79641364

Date: 2025-05-28 00:39:46
Score: 0.5
Natty:
Report link

Such an implementation would be a button that looks like it's on the bottom navbar but in reality, it's just a regular button on the bottom bar, and when you route to the page,

options={{
  presentation: 'modal',
}}

needs to be added to the Stack.Screen definition under options.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: th0rin0

79641361

Date: 2025-05-28 00:30:44
Score: 1
Natty:
Report link

I was going to comment, but for readability this will be easier as an answer. I'm not sure this qualifies as an answer as I am not familiar with Gradle.

Regarding:

Are there tools, best practices ... that can help enforce strict module boundaries and encapsulation

...and keeping in mind:

I've structured each domain module into two sub-modules: api and impl.

This answer https://stackoverflow.com/a/62257045/39094 talks about access with regards to modules. On the basis of that I'd have thought you can have one module instead of two for a given domain, and just have it so only the API methods are set as public / accessible on the module. That way encapsulation can be enforced as you want it, and you have less modules and a simpler design.

Regarding Dependency Cycles. @SpaceTrucker makes an excellent point - just because calls go in both directions doesn't mean it's necessarily cyclical as in a death spiral, but it does indicate some potential coupling or at least that they work closely together to achieve something. Might be worth a design review, but doesn't mean you should panic right off the bat.

Some kind of static code review would probably be a good way to test for the presence of stuff like that, but I have not used static code analysis before so can't comment further. It looks like there's no shortage of tooling options for Java in that regard.

Internet search informs me that yes, you can use Gradle to control/initiate static code review - so yes it's possible, and based on my generic software engineering experience such an approach would not be an objectively bad idea.

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (1): can't comment
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @SpaceTrucker
  • High reputation (-2):
Posted by: Adrian K

79641356

Date: 2025-05-28 00:21:41
Score: 2.5
Natty:
Report link

There is no limit built into SQL. In practice, you will most likely hit limiting factors like memory or performance issues.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Shaun

79641355

Date: 2025-05-28 00:20:41
Score: 1
Natty:
Report link

You need to assign this role on the ACR to the identity that is associated with your AKS cluster.

AcrPull

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: old_newb

79641343

Date: 2025-05-28 00:00:36
Score: 1
Natty:
Report link

When you set your new value to the loc, specifying the data type seems to satisfy that error message.

df.loc[df["Measure"] == metric.label, "source_data_url"] = str(metric.source_data_url)

For instance, if you want to set it equal to an empty value that is not None, you'll have to specify that it's a string first.

df.loc[df["Measure"] == metric.label, "source_data_url"] = str('')
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: William Duncan

79641340

Date: 2025-05-27 23:56:35
Score: 1
Natty:
Report link

Caching is not storing the data.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: MrWaqasAhmed

79641339

Date: 2025-05-27 23:55:35
Score: 0.5
Natty:
Report link

In my own case, it was a extreme edge case of NEXT_SERVER_ACTIONS_ENCRYPTION_KEY causing the module to be omitted from the build.

A simple regeneration of the the key with openssl rand -base64 32 resolved the issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Harvey

79641335

Date: 2025-05-27 23:43:32
Score: 2
Natty:
Report link

Hm in CDK v2 everything is one big size pack like aws-cdk-lib but its still organised by service like S3, Lambda, EC2 etc so these are the "modules" and when it says "check the notes..." they mean look at the section for each service liek aws-3 or aws-lambda in the release notes on GitHub release notes cos thats where they list the changes for each part

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: keyueen

79641333

Date: 2025-05-27 23:42:32
Score: 3
Natty:
Report link

I ran the test in my environment and it works correctly. Could the error be here?

Error: Could not find or load main class Files\\Common
Caused by: java.lang.ClassNotFoundException: Files\\Common

Is it possible that you have the path to the jdk environment variables misconfigured?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fouad Aharchi Fuasito

79641332

Date: 2025-05-27 23:39:31
Score: 1
Natty:
Report link

A slightly simpler solution without LINQ:

static String GetNumbers(String input)
    => new String(Array.FindAll(input.ToCharArray(), Char.IsDigit));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AlphaOmega

79641329

Date: 2025-05-27 23:35:30
Score: 1
Natty:
Report link

Answering for anyone stumbling on this question today. For Microsoft 365 and later, zeros can be avoided by appending an empty string to the Indirect's output. Though keep in mind your output will become a string. This works on array outputs as well.

Indirect(Reference) & ""
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Façade

79641326

Date: 2025-05-27 23:33:29
Score: 0.5
Natty:
Report link

If you know the target is safe for dev purposes, you can use environment variable `PACT_DISABLE_SSL_VERIFICATION=true`

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Payam

79641324

Date: 2025-05-27 23:29:28
Score: 6
Natty: 7
Report link

What was your reasoning behind using max_delta step as 0.7?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What was you
  • Low reputation (1):
Posted by: Srijita Mukherjee

79641317

Date: 2025-05-27 23:23:26
Score: 2
Natty:
Report link

In addition to @Ruan Mendes, to have the context menu display at the proper location you can just get the component current XY focus value , then add it to the coordinates:

    var click_x_pos = e.pageX + html_editor.getFocusEl().getX();
    var click_y_pos = e.pageY + html_editor.getFocusEl().getY();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Ruan
  • Low reputation (1):
Posted by: Adekunle Owolabi

79641314

Date: 2025-05-27 23:16:24
Score: 5
Natty:
Report link

Go ask to AI , we don't need stackoverflow again. I hate the community back then

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: GPT AI

79641312

Date: 2025-05-27 23:12:23
Score: 3
Natty:
Report link

I found this guide helpful: https://medium.com/snowflake/snowflake-security-service-accounts-9663beeb1d30 Just replace the text for the RSA_PUBLIC_KEY with the actual public key that you generate.

-- Create Service User
CREATE OR REPLACE USER ingestionservice 
    DEFAULT_ROLE = 'INGESTION_ROLE' 
    TYPE = SERVICE DEFAULT_SECONDARY_ROLES = ('ALL') 
    -- NETWORK_POLICY = INGESTIONSERVICENETWORKPOLICY -- Recommended: see the link for details.
    RSA_PUBLIC_KEY='MIIB....' -- Snowflake shows how to create this here: https://docs.snowflake.com/en/user-guide/key-pair-auth
    COMMENT = 'Service User for Ingestion';
Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (0.5): medium.com
  • RegEx Blacklisted phrase (1): see the link
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ward W

79641310

Date: 2025-05-27 23:10:23
Score: 2.5
Natty:
Report link

pip install tensorflow==2.15.0 tensorflow-hub keras==2.15.0

after 6 hours searching with AIs and internet, the above code finally work for me !!!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sadra92

79641304

Date: 2025-05-27 23:00:20
Score: 1.5
Natty:
Report link

For anyone else who have found there way here after pounding there head on this issue, this comment worked for me. There are other useful suggestions in that thread as well.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jvp

79641302

Date: 2025-05-27 22:57:20
Score: 1.5
Natty:
Report link

Maybe not an answer to your question, but a suggestion: Python often has built in tools doing the work for you. This question looks like an exercise for split():

sentence = "Humpty Dumpty sat on a wall" #input("Please type in a sentence: ")
print([word[0] for word in sentence.split()])
Reasons:
  • Blacklisted phrase (1): not an answer
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kaksi

79641290

Date: 2025-05-27 22:50:17
Score: 4
Natty: 5.5
Report link

Have you answered the question about it, and I need it too

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Danh Nguyễn Minh

79641289

Date: 2025-05-27 22:49:17
Score: 0.5
Natty:
Report link

I was able to solve this oddity by converting text into image.

As far as my testing goes: Liquid Retina (camera notch) has a slightly different vertical alignment for text and will behave oddly (passive vs active desktop focus, aligns opposite ways, etc), unlike all other displays I've checked (external 4K 16:9, M1 Air 16:10).

However, the images were always aligned, so:

class AppDelegate {
    //...
    let status: NSMutableAttributedString() = NSAttributedString(string: "Hello World"))
    
    DispatchQueue.main.async {
        let size = status.size()
        let image = NSImage(size: size)image.lockFocus()
        status.draw(at: .zero)
        image.isTemplate = true
        image.unlockFocus()
        button.image = image
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: raphinzo

79641280

Date: 2025-05-27 22:35:13
Score: 0.5
Natty:
Report link

I ended up going with this:

increase((count by (repo,workflow) (github_workflow_run_status{repo='xxxx/yyy', workflow='zzz'}) - sum by (repo,workflow) (github_workflow_run_status{repo='xxx/yyy', workflow='zzz'}))[2h:5m])

This gives me the number of failed jobs in the last two hours to work with for my alert.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Brett Wagner

79641277

Date: 2025-05-27 22:30:12
Score: 2
Natty:
Report link

If your project allows, adding "type": "module" to my package.json fixed this for me.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jordan

79641275

Date: 2025-05-27 22:28:11
Score: 2.5
Natty:
Report link

Total commander file list (copy) Total files: 1 /storage/emulated/0/Download Laq1Zen Tennessee (1).mp3 1402927 2025-04-04 20:38:56

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Александр Дон

79641273

Date: 2025-05-27 22:26:10
Score: 2
Natty:
Report link

libs.versions.toml:

materialCalendarVersion = "2.0.0"
materialCalendarVersion2 = "1.5.3"
materialCalendarVersion3 = "1.9.2"
materialCalendarVersion4 = "2.1.5"


material-calendar-view = { group = "com.github.prolificinteractive", name = "material-calendarview", version.ref = "materialCalendarVersion" }

material-calendar-view2 = { group = "com.github.dorukkangal", name = "material-calendar-view", version.ref = "materialCalendarVersion2" }

material-calendar-view3 = { group = "com.applandeo", name = "material-calendar-view", version.ref = "materialCalendarVersion3" }

material-calendar-view4 = { group = "com.kizitonwose.calendar", name = "view", version.ref = "materialCalendarVersion4" }

I'm getting the same error. I've tried all these libraries, but the one that worked for me without any errors is the latest one. Why?

Library (prolificinteractive): The latest version is old, I think it's 2020. And it's not ready for androidx, so it creates conflicts. Needs to add jitpack.io. https://github.com/prolificinteractive/material-calendarview

Library (dorukkangal): It uses appcompat-v7 and android.support, so it conflicts with androidx and is outdated. Needs to add jitpack.io.
https://jitpack.io/p/dorukkangal/material-calendar-view

Library (applandeo): It works correctly, uses androidx, but it's not adapted for Jetpack Compose. You need MavenCentral, which is already included in the project by default.
https://github.com/Applandeo/Material-Calendar-View

Library (kizitonwose): It's the newest and works for XML, Compose, and cross-platform compose. You need MavenCentral, which is already included in the project by default. https://github.com/kizitonwose/Calendar?tab=readme-ov-file

It's the one I'm going to use. Compose is the future of views on Android.

Hope this helps.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I'm getting the same error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm getting the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Fouad Aharchi Fuasito

79641272

Date: 2025-05-27 22:26:10
Score: 2
Natty:
Report link
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamed abied

79641257

Date: 2025-05-27 22:13:07
Score: 3.5
Natty:
Report link

if length on event is 5 then length on on string is 0 there will be no number to be defined and it will be 0

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ankita gurung

79641250

Date: 2025-05-27 22:05:05
Score: 1.5
Natty:
Report link

If you're testing locally or your server has an incorrect system time:

(await fetch("https://cdn.doubleverify.com/dvbm.js")).headers.get("date");

This works because https://cdn.doubleverify.com/dvbm.js returns both:

I'm using this specific URL since it shows up in your network logs on any page you load using StackOverflow.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: VisualPlugin Rōblox

79641249

Date: 2025-05-27 22:05:05
Score: 1.5
Natty:
Report link

DigitalOcean is closed for 465 and 578 ports, its impossible, you can use email api service tool.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ege Ağırgöl

79641248

Date: 2025-05-27 22:03:05
Score: 1.5
Natty:
Report link

The error suggests that PyPi might be blocked by a proxy, as you initially thought.

There are 2 real ways around it: get in touch with your work's IT admin(s) and ask them if they can install it for you, or, if they won't, try using a VPN; plenty of free ones out there, I'd recommend either xvpn or proton VPN.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mark Smith

79641244

Date: 2025-05-27 22:00:04
Score: 1
Natty:
Report link

There might be spaces in the FileName and Char(34) might not work.

Put the " in the command.

    FileName = Button1.Text
    mciSendString("open """ & FileName & """ alias myDevice", Nothing, 0, 0)
    mciSendString("play myDevice", Nothing, 0, 0)


    FileName = Button2.Text
    mciSendString("open """ & FileName & """ alias myDevice", Nothing, 0, 0)
    mciSendString("play myDevice", Nothing, 0, 0)
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Paul

79641239

Date: 2025-05-27 21:55:03
Score: 3
Natty:
Report link

Sometimes just keep it simple , make sure that you have the library under maven jars in your ide , if it is the case just try to restart your ide and it will load the package

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: aymenmhidhi

79641232

Date: 2025-05-27 21:50:01
Score: 1
Natty:
Report link
[hideLoading]=true
  <formio [form]="form" [submission]="{ data: submission.data }" (submit)="submission = null"
  [hideLoading]=true>
  </formio>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: C Halsema

79641230

Date: 2025-05-27 21:50:01
Score: 0.5
Natty:
Report link

It's just the act of storing data for late use indeed.

The stored data is called the cached data. And a strategy used to cache data is called a caching strategy.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: wovano

79641228

Date: 2025-05-27 21:48:01
Score: 2
Natty:
Report link

So I was able to move past the error I was receiving, it was a combination of a couple of things:

  1. Reviewing the blog article helped as it provided the location to add the appropriate files https://medium.com/apparence/how-to-fix-no-such-module-flutter-error-in-xcode-d05931905def

  2. The more relevant issue was that the error I was receiving was in the Pods target. I ended up loading the ios/Runner.xcworkspace file and selecting the Pods Target and the going to the url_launcher_ios sub-target and adding Flutter.xcframework to the Framework and Libraries located there.

That fixed my issue and allowed me to continue the build. I ended up getting some flutter.h file not found as well but I added the Flutter.xcframework to the sub-target that spawned the error and that resolved it also.

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kevin Moore

79641199

Date: 2025-05-27 21:16:53
Score: 4
Natty: 4
Report link

why not just check the path? C:\Program Files (x86)\Microsoft\EdgeWebView\Application

seems a lot easier than checking the reg. important if you are doing a silent install: MicrosoftEdgeWebview2Setup.exe /silent /install

you need check in a loop with a 2 sec pause if the path exists before starting up the app.

https://developer.microsoft.com/en-us/microsoft-edge/webview2

its the evergreen standalone installer

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): why not
  • Low reputation (1):
Posted by: dev

79641195

Date: 2025-05-27 21:11:51
Score: 4
Natty:
Report link

Here is an example for using Qt5 to build a Mac Silicon compatible app

https://gitlab.kitware.com/aaron.bray/packexample

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aaron Bray

79641191

Date: 2025-05-27 21:08:50
Score: 0.5
Natty:
Report link

I’ve just released a new high-performance NoSQL local database built entirely in Dart — QuantaDB. It’s designed to overcome the limitations of existing local databases by offering:

If you're building Flutter/Dart apps and need a robust local storage solution, give it a try:

Pub.dev
Documentation

Reasons:
  • No code block (0.5):
Posted by: Tushar Nikam

79641182

Date: 2025-05-27 21:03:49
Score: 0.5
Natty:
Report link

Regarding the NEVER propagation: based on the documentation, its behavior is different. It will throw an exception if it runs within an existing transaction. However, your case is different—you want to ensure that no new transaction is started, and consequently, that no connection is fetched from the pool. In this scenario, SUPPORTED is more appropriate. It will run regardless of whether a transaction is active or not.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mircea Sirghi

79641181

Date: 2025-05-27 21:02:47
Score: 10.5 🚩
Natty: 5.5
Report link

Did you get the solution? I am getting this error right now.enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (3): Did you get the solution
  • RegEx Blacklisted phrase (1): I am getting this error
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Faiza Karim

79641176

Date: 2025-05-27 20:55:44
Score: 8.5 🚩
Natty: 5.5
Report link

I'm facing the same issue. Have you made any progress on the solution?

Reasons:
  • Blacklisted phrase (0.5): made any progress
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Igor Pestana

79641175

Date: 2025-05-27 20:54:44
Score: 4
Natty: 4.5
Report link

May 2025, instructions work

thank you!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vladislav Yuferov

79641166

Date: 2025-05-27 20:46:41
Score: 1.5
Natty:
Report link

For NVIDIA GPUs, there are numerous GPU-accelerated libraries that are available for different data processing operations across domains.

CV-CUDA is an open-source library that offers GPU-accelerated operators (Python, C++) for image processing/transformation functions like resizing, center crop etc. These are based on hand-optimized kernels that can be faster than some of the other GPU-supported libraries out there. It also has strong interop support with popular DL frameworks like PyTorch and TF with zero-copy interface. https://github.com/CVCUDA/CV-CUDA

Also available for pip install via PyPI: https://pypi.org/project/cvcuda-cu12/ https://pypi.org/project/cvcuda-cu13/

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: SHiremath

79641165

Date: 2025-05-27 20:45:41
Score: 2
Natty:
Report link

At least for iperf3, only the client send the test parameters to the server, including the client's version, but the server does not send any parameters settings to the client. Therefore, the client does not know the server's version. The assumption is that the different versions are fully backward compatible, but of course that doesn't let you know what features are supported by the server.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Bar-On

79641163

Date: 2025-05-27 20:42:40
Score: 3
Natty:
Report link

You can try this course in Udemy I started it few days ago and it is goes very well

https://www.udemy.com/course/developing-a-multithreaded-kernel-from-scratch/?srsltid=AfmBOoosOpjhTQUluEOaewKJnXf7fBvsFgLkkQ4g-_egGFFRP5N2cFWU&couponCode=ST19MT280525G1

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniel Davtyan

79641149

Date: 2025-05-27 20:29:37
Score: 0.5
Natty:
Report link

I would like to share what I do, because I suffer with pusblishing to iOS too.

First I test everything on Simulator or my local iPhone device.

At Visual Studio 2022:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rodas PT

79641148

Date: 2025-05-27 20:29:37
Score: 0.5
Natty:
Report link

I would like to share what I do, because I suffer with pusblishing to iOS too.

First I test everything on Simulator or my local iPhone device.

At Visual Studio 2022:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rodas PT

79641144

Date: 2025-05-27 20:26:37
Score: 0.5
Natty:
Report link

After lots of trial and error I got these two variants which both work:

INSERT INTO test_csv 
    SELECT 
        a,
        cast(splitByChar(',', b) as Array(Int16)) AS c
    FROM file('test.csv', 'CSVWithNames', 'auto')
    SETTINGS schema_inference_make_columns_nullable = 0


INSERT INTO test_csv 
    SELECT 
        a,
        arrayMap(x -> toInt16(x), splitByChar(',', b)) AS c
    FROM file('test.csv', 'CSVWithNames', 'auto')
    SETTINGS schema_inference_make_columns_nullable = 0

Also, if there are values where the column b is empty (such as a line y,"") then replace b in the statements above with:

CASE WHEN b = '' THEN '0' ELSE b END

I am not sure why adding the SELECT * around the entire query does not work. I guess the nested select causes confusion for ClickHouse? I think this may be a bug?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Alexandros

79641142

Date: 2025-05-27 20:23:36
Score: 2
Natty:
Report link

You should to make sure you have this configuration in your application.properties file:

spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect

spring.jpa.show-sql=true

spring.jpa.hibernate.ddl-auto=update

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hugo E Martinez

79641138

Date: 2025-05-27 20:19:34
Score: 3
Natty:
Report link

For anyone seeing this in 2025: You might want to use the filenamify NPM package :)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: neoncube

79641137

Date: 2025-05-27 20:17:34
Score: 0.5
Natty:
Report link

I found an issue similar to your question that might be helpful, as it resolved the issue with Datastream from PostgreSQL to BigQuery. This suggests assigning the Superuser permission to your user and trying the query below with this documentation.

ALTER USER <the user> WITH REPLICATION;

Another troubleshooting step you could try is checking PostgreSQL Memory and Configuration; Review PostgreSQL’s memory configuration (e.g., shared_buffers, work_mem) and ensure they are appropriately set. Increase the memory limits if required to accommodate larger workloads, especially when Datastream is trying to process a high volume of changes.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KikoZam

79641131

Date: 2025-05-27 20:10:32
Score: 2
Natty:
Report link

Apparently the version of win-acme I was using created a cert that powershell can't use, (but IIS Manager can.)

I've updated to a newer version of win-acme to generate the certs. The exact same powershell script is now working.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Brian Heward

79641129

Date: 2025-05-27 20:07:31
Score: 1
Natty:
Report link

Issue resolved

the issue was due to

onImageCaptureNavigate = { route ->
                        navController.navigate(it)},

where it is an object of NavbackStackEntry
while navController.navigate needs a route (route is of type T which is @Serializable

the issue was resolved when I passed route instead of it

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tanmay Vaity

79641117

Date: 2025-05-27 19:54:28
Score: 4
Natty:
Report link

Try flutter_esim or esim_installer_flutter packages instead of native kotlin implementation.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: swiftenjoyer

79641109

Date: 2025-05-27 19:48:26
Score: 3.5
Natty:
Report link

This will give the nodes you want: //a | //z

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Peter Jeffrey Gale

79641104

Date: 2025-05-27 19:44:25
Score: 1
Natty:
Report link

Log4J

<logger name="org.hibernate.SQL">
     <level value="debug"/>
</logger>

Log4J2

<Logger name="org.hibernate.SQL" level="debug"/>

Logback

<logger name="org.hibernate.SQL" level="DEBUG"/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arman

79641093

Date: 2025-05-27 19:34:23
Score: 3
Natty:
Report link

2 Başarılı bir performans teprik ederim bende yeni bir başlangıç yapmak istiyorum

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Furkan DEDE

79641086

Date: 2025-05-27 19:25:17
Score: 7 🚩
Natty:
Report link

Did you ever find a solution or workaround to this issue? I'm experiencing the exact same problem. Takes ~120ms to close the port.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: TC_ComputerEngineer

79641065

Date: 2025-05-27 19:10:10
Score: 6 🚩
Natty:
Report link

(((((a)^2)/(-((b)^2)))/(((c)^2)/(-((d)^2)))) = (((-((e)^2))/((f)^2))/((-((g)^2))/((h)^2)))) °=((a(b))(c(d)))=((e(f))(g(h)))

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: user30652120

79641063

Date: 2025-05-27 19:08:09
Score: 4.5
Natty:
Report link

Lumen 8-10 config cache and route cache implementation examples.

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: marius-ciclistu

79641059

Date: 2025-05-27 19:04:07
Score: 7.5
Natty: 7
Report link

I love the code and very interested in see the code... can you share the code with me?

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): can you share the code
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ok dan

79641058

Date: 2025-05-27 19:04:07
Score: 4
Natty: 4.5
Report link

Alpha version of the hot reload feature for multiplatform: https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-hot-reload.html

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: santyas

79641056

Date: 2025-05-27 19:01:06
Score: 2.5
Natty:
Report link

Without seeing the error, it is difficult to say, but try instantiating a StaffList in your main method, and then calling searchLastName on this object. If the method is set up correctly then that should run.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel H

79641054

Date: 2025-05-27 19:01:06
Score: 3
Natty:
Report link

The way to use equation 2.1 is to do the following for the 5 iterations:

1: 0+0.5(1-0)=0.5

2:0.5+0.5(1-0.5)=0.75

....

5:0.93750+0.5(1-0.93750)=0.96875

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30651880

79641050

Date: 2025-05-27 18:59:05
Score: 4
Natty: 5
Report link

https://projectlombok.org/setup/maven
just follow this, everything will be easy

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Subrata Pramanik

79641046

Date: 2025-05-27 18:55:04
Score: 1
Natty:
Report link

I searched for quite a while for an answer to the same question but couldn't find any answers. I do have an idea, though:

(1) Save the form field values as cookies.

(2) Make your submit "button" a simple link to a script. Since it's a link, right-click to open in new window/tab will appear and work.

(3) Have that script grab the form values from the cookies.

Since there are no other solutions to this on the web that I can find, I should get a gazillion points for this answer.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael Bluejay

79641042

Date: 2025-05-27 18:54:03
Score: 3
Natty:
Report link

You might want to check out ControlAuth - it handles exactly this use case. Full disclosure: I'm the creator, but I built it specifically because I ran into this same problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SaasAcer

79641036

Date: 2025-05-27 18:49:02
Score: 3
Natty:
Report link

When you clicked Compare Changes, a new tab opened for Current Changes <-> Incoming Changes.

You can return to the original tab to accept a change.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Henry Tso

79641035

Date: 2025-05-27 18:49:02
Score: 8.5
Natty: 7.5
Report link

i know it is an old post but i am having the same exact problem. can you help me by any chance on this? would be much appreciated

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sanskar

79641033

Date: 2025-05-27 18:47:01
Score: 2
Natty:
Report link

Your method signature is wrong. If you want to work with the list

public static void searchLastName(List<StaffObject> staffList){
    
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30651361

79641031

Date: 2025-05-27 18:44:01
Score: 3.5
Natty:
Report link

I had the exact same issue. It appears this has been fixed but hasn't been officially released yet:
https://github.com/kivy/pyjnius/pull/753

https://github.com/kivy/kivy/commit/5a1b27d7d3bdee6cedb55440bfae9c4e66fb3c68

I just edited my local files with these changes and that fixed the issue.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Matthew Devilbiss

79641029

Date: 2025-05-27 18:41:00
Score: 1.5
Natty:
Report link

Since a sequence isn't a relation, you need to return an empty list after your call block.

{{ return({"relations": []}) }}

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sean R

79641027

Date: 2025-05-27 18:40:00
Score: 1.5
Natty:
Report link

After trying a bunch of different apt packages, I eventually found the package that installs /usr/bin/nvidia-smi:

apt install -y cuda-drivers
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Autumn Kelsey

79641021

Date: 2025-05-27 18:37:59
Score: 2
Natty:
Report link

<p class="contact">Contact Us</p>
I think

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: XLEB

79641017

Date: 2025-05-27 18:34:58
Score: 3.5
Natty:
Report link

You can try disabling the antivirus, and checking the code integrity on windows

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ALLCA6

79641016

Date: 2025-05-27 18:33:58
Score: 2.5
Natty:
Report link

apt-get update

apt-get install -y ffmpeg

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Yuretz

79641015

Date: 2025-05-27 18:33:58
Score: 2
Natty:
Report link

The issue lies in the id conflict between the two ForEach loops. Since the first few elements have duplicate ids, the lazy layout fails to render them correctly. After giving them elements unique id, the rendering issue fixed.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mark Daylight

79641010

Date: 2025-05-27 18:28:57
Score: 0.5
Natty:
Report link

For those coming to this post recently, Swiper has a breakpoints prop that allows you to specify custom settings based on the breakpoint,

for example:

breakpoints={{
  320: {
    slidesPerView: 1,
  },
  768: {
    slidesPerView: 2,
}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Val

79641003

Date: 2025-05-27 18:25:56
Score: 3.5
Natty:
Report link

Hmm, ... the npm community doesn't seem to be aware of NODE_MODULES https://github.com/npm/cli/issues/8328#issuecomment-2910596072

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: user1303800

79641002

Date: 2025-05-27 18:23:55
Score: 2
Natty:
Report link

sffffffffff
header 1 header 2
cell 1 cell 2
cell 3 cell 4
header 1
cell 1
cell 3

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: affffffff

79641001

Date: 2025-05-27 18:23:54
Score: 13.5 🚩
Natty: 5.5
Report link

I'm having the same problem, but I can access my app the first time I install it, but the second time I try to access it, these logs appear and the app stays in a flashing screen state. This only happens on one specific smartphone (LM X430), and it happens after I upgraded Flutter from version 2.10.5 to 3.27.0, does anyone have a solution?

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (3): have a solution?
  • RegEx Blacklisted phrase (3): does anyone have a solution
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anderson André

79640998

Date: 2025-05-27 18:19:50
Score: 12 🚩
Natty:
Report link

I have the same issue with cf. I would appreciate it if anyone could help with this

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (1.5): would appreciate
  • RegEx Blacklisted phrase (3): anyone could help
  • RegEx Blacklisted phrase (0.5): anyone could help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wajid Khilji

79640997

Date: 2025-05-27 18:19:50
Score: 1
Natty:
Report link

I know you have probably solved this by now. However if I were going to be doing something like this, and I have, I would not download the data in EBCDIC. I would create a custom translate table on the z/OS side and then use FTP, with SSL enabled of course, in TEXT mode and let z/OS translate the data from EBCDIC to ASCII.

Or if you have one of PKWare's or Data21's "ZIP" programs, create a custom translate table for it and compress the data as text and let them convert from EBCDIC to ASCII. Then download the compressed file in binary mode.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: jgilt62

79640993

Date: 2025-05-27 18:14:49
Score: 1.5
Natty:
Report link

I agree with @Hackinet and @Kamyar Safari. To better understand the scenario, an authorization code is needed at first which will be used to get an access token and refresh token. If the access token expires, the refresh token can be used to obtain a new one. However, to avoid any errors, ensure that your scopes match during the initial authorization and that the correct client_id and client_secret is used.

You can also take a look at this related Stack Overflow post. The question was made years ago but it could still provide some helpful insights.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Hackinet
  • User mentioned (0): @Kamyar
  • Low reputation (0.5):
Posted by: yannco

79640991

Date: 2025-05-27 18:13:48
Score: 1.5
Natty:
Report link

I found this list useful for binary string manipulation. List of php binary safe string functions:

mb_substr

mb_strlen

mb_str_split

mb_substr_count

str_replace

mb_strpos

mb_substr_replace

The problem is, if the function is not binary safe it will still probably work most of the time. This is not an acceptable level of fault tolerance for the professional. It must work with every string. Good luck with your projects!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mark Williamson

79640976

Date: 2025-05-27 18:02:45
Score: 0.5
Natty:
Report link

The tl;dr solution to this is that having images in $lib is a dumb requirement.

I have instead put images in static/assets/<image> and updated the code as follows. It seems that the performance difference between $lib and static/ is irrelevant in this scenario.

<script>
    export let title;
    export let bg_img;
</script>

<div
    class="top-level-card flex h-35 justify-center rounded-2xl bg-cover bg-center shadow-xl"
    style:background-image={`url(/assets/${bg_img})`}
>
    <p class="bg-primary text-text-1 h-fit rounded-b-2xl px-3 pb-1 text-xl">{title}</p>
</div>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Zax71

79640971

Date: 2025-05-27 17:53:43
Score: 2
Natty:
Report link

my approach would be to script it...

I'm gonna guess python?

def main():
    my_string = "array: ['thing1', 'thing2', 'thing3'],"
    my_string= my_string[8:-2] #remove array: [    ],
    
    split_string=my_string.split(",")
    result="objects: {\n"
    for item in split_string:
        result+="\t{\n"
        result+=f"\t\tname: {item}\n"
        result+="\t},\n"
    result+="},\n"
    print(result)

main()

result:

objects: {
        {
            name: 'thing1'
        },
        {
            name:  'thing2'
        },
        {
            name:  'thing3'
        },
},
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hapkin

79640965

Date: 2025-05-27 17:47:41
Score: 0.5
Natty:
Report link

The issue is likely with your JSON structure in the reportState request. The Google Home API expects a specific format where device states should be directly under the device ID, not nested under a "states" object.

Try this corrected structure:

{
`  "requestId": "456e09af-20df-463c-936e-92519cd1f554",
  "agentUserId": "xxx",
  "payload": {
    "devices": {
      "xxxx": {
        "online": true,
        "temperatureUnitForUX": "C",
        "temperatureRange": {
          "minThresholdCelsius": -20,
          "maxThresholdCelsius": 99
        },
        "temperatureAmbientCelsius": 1.2,
        "humidityAmbientPercent": 0
      }
    }
  }
}`

Additional troubleshooting steps:

Verify device ID:

Ensure "xxxx" matches the exact device ID from your SYNC response

Check supported traits: Make sure your device actually supports the traits you're reporting (temperature, humidity)

Validate state values: Ensure all values are within acceptable ranges and data types

Helpful resources:

Report State API Reference

Device State Schema

Debug tips:

Enable detailed logging in your Node.js app to see the exact request being sent

Use the Actions Console to test your integration

Check that your JWT token has the correct scopes for reportState

Can you also share your device's SYNC response to verify the supported traits match what you're reporting?

Reasons:
  • Whitelisted phrase (-1): Try this
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: MS_dpe