79338087

Date: 2025-01-08 06:03:18
Score: 0.5
Natty:
Report link

You should get the access-token and refresh-token first time manually. Save it somewhere. Then automate the API call to get new access token periodically, e.g. every 24 days in your example. I have done similar procedure in automation workflows and it works.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Haris ur Rehman

79338085

Date: 2025-01-08 06:01:18
Score: 1
Natty:
Report link

Your model is over-parametrized. You will be able to fit just as well with any two of the parameters, and then the uncertainty will be reduced significantly.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Matt Haberland

79338084

Date: 2025-01-08 06:01:18
Score: 0.5
Natty:
Report link
import { NativeMethods, TextInputProps } from "react-native"

const inputRef = React.useRef<TextInputProps & NativeMethods>(null);

// later on in jsx

return (
  <TextInput
     ref={inputRef}
     style={styles.input}
     onChangeText={onChangeText}
     value={text}
  />
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Quintin Walker

79338083

Date: 2025-01-08 05:59:18
Score: 1
Natty:
Report link

Hi the list has its own editActions like .delete

also I tried with this code and the delete swipe action is inside of the list.

struct ContentView: View {
@State private var users = ["Glenn", "Malcolm", "Nicola", "Terri"]

    var body: some View {
        NavigationStack {
            List($users, id: \.self) { $user in
                Text(user)
                    .containerShape(RoundedRectangle(cornerRadius: 10))
                    .swipeActions {
                        Button(role: .destructive) {
                            users.removeFirst()
                        } label: {
                            Label("Delete", systemImage: "trash")
                        }
                    }
            }
        }
    }

}

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DiegoMod1

79338078

Date: 2025-01-08 05:55:16
Score: 1
Natty:
Report link

What worked for me was going to Windows Registry to Computer\HKEY_CURRENT_USER\Environment and updating the Path variable with \AppData\Local\nvm;

I had NVM_HOME defined properly in Computer\HKEY_CURRENT_USER\Environment, as well as in the User Variables and System Variables defined in Environment Variables, but none of these allowed nvm to work properly in Cmd.

It appears CMD was not and is not using the path defined in %NVM_HOME% to run nvm, at least in my case.

enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: arshie26

79338074

Date: 2025-01-08 05:53:16
Score: 2.5
Natty:
Report link

Download new version from the Docker website solved the problem. Mac OSX 15.2 (24C101)

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

79338072

Date: 2025-01-08 05:52:16
Score: 3
Natty:
Report link

Prateek's addendum is correct. Jdk 8u101 is the max for Oracle 12c 12.2.1.4.0 for installing on Mac with Apple Silicon

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

79338070

Date: 2025-01-08 05:51:15
Score: 1
Natty:
Report link

I encountered the same problem and resolved it by updating the project in Eclipse. Here are the steps I followed:

  1. Right-click on the pom.xml file in your project.
  2. Navigate to Maven > Update Project.
  3. In the dialog that appears, ensure that your project is selected.
  4. Click OK to update the project.

This should refresh your project and resolve any issues related to Maven dependencies or project configuration.

I hope this solution helps!

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

79338062

Date: 2025-01-08 05:46:15
Score: 0.5
Natty:
Report link

You can customise your expo apps splash screen like following ,

{
  "expo": {
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain", // Options: "contain", "cover", "native"
      "backgroundColor": "#ffffff" // Set the background color
    }
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nazmul

79338058

Date: 2025-01-08 05:43:09
Score: 6 🚩
Natty:
Report link

what is the transport Activity used for.maybe a transport view can handle it.could you describe what you want in detail

Reasons:
  • RegEx Blacklisted phrase (2.5): could you describe what you
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (1):
Posted by: Ted Lee

79338053

Date: 2025-01-08 05:41:08
Score: 2
Natty:
Report link

I had the same issue, i checked and made sure i used the correct value for my environment variable

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tabot Charles Bessong

79338051

Date: 2025-01-08 05:39:06
Score: 7.5 🚩
Natty: 5
Report link

Thank you very much ..........................................

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Filler text (0.5): ..........................................
  • Low entropy (1):
  • Low reputation (1):
Posted by: Mr. RR

79338048

Date: 2025-01-08 05:37:06
Score: 3.5
Natty:
Report link

Can you set like this?

languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_1)

KotlinVersion class is public in my case. What gradle version do you use?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: jokuskay

79338040

Date: 2025-01-08 05:34:05
Score: 0.5
Natty:
Report link

As invite_key_fields is a class method from the devise_invitable gem, in your User model, you can overwrite this class method (assuming first_name and last_name attrs are in this model):

def self.invite_key_fields
  %i[email first_name last_name]
end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ffscalco

79338034

Date: 2025-01-08 05:31:04
Score: 2.5
Natty:
Report link

It seems that both ChatGPT and Gemini insist those class exist.

The class have changed name to LegacyTransaction

Looks like Nethereum changes a lot and different version is not compatible with older version.

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

79338032

Date: 2025-01-08 05:30:04
Score: 0.5
Natty:
Report link

With help from the .Net team, I was able to determine that the property I need to add is

<WasmFingerprintAssets>false</WasmFingerprintAssets>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: gregsdennis

79338018

Date: 2025-01-08 05:21:02
Score: 0.5
Natty:
Report link

You can try something like this: qemu-system-x86_64 -serial stdio -kernel linux-3.9.2/arch/x86/boot/bzImage -append "root=/dev/ram0 console=ttyS0

since the default console is ttyS0

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

79338009

Date: 2025-01-08 05:14:00
Score: 4
Natty:
Report link

I have the same issue here, I followed a online video to create Identity propject. It uses below .net core 8, but my project is 8. when I run it, it shows the same error. My _jwtSettings.Key was 19 chars. I change it to longer. Than it works.

var symmetricSecurityKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_jwtSettings.Key));

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: paddywide

79337996

Date: 2025-01-08 05:00:57
Score: 1
Natty:
Report link

try below commands step by step:

npm uninstall ajv ajv-keywords
npm install [email protected] [email protected]
npm cache clean --force
rm -rf node_modules package-lock.json
npm install
npm start
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jay Limbasiya

79337978

Date: 2025-01-08 04:44:53
Score: 11.5 🚩
Natty:
Report link

Facing the same problem here. Any solution?

Reasons:
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (2): Any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AJB

79337969

Date: 2025-01-08 04:33:51
Score: 2.5
Natty:
Report link

i use windows, restart my laptop works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zulfikar Ditya

79337964

Date: 2025-01-08 04:28:50
Score: 1
Natty:
Report link

(If you're even reading this) There is a dedicated red "contains" block in the variables category that scans your list verbatim for a matching element. This way you don't have to work with the way the green "contains" block retrieves information in a list.

However the real issue in your code is the "stop script" block, and the way it's functioning in your code (if the prior red "contains" block was implemented) is it halts the script every time the "if" loop is fulfilled. This looks like checking the list if it contains your newly selected number, which it won't upon initiation, fulfilling the "if" loop, then adding the number to the list and swapping the backdrop and immediately stopping the script. Obviously you want it to run repeatedly, so I'd say you replace the forever loop with a 27 loop and get rid of the stop block.

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

79337962

Date: 2025-01-08 04:27:49
Score: 2.5
Natty:
Report link

var list1 = new List() { "apple", "bread", "cheese" };

var list2 = new List() { "bread", "cheese", "mango" };

var result = list1.Intersect(list2);

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

79337957

Date: 2025-01-08 04:21:48
Score: 9.5 🚩
Natty: 4.5
Report link

Did you find a solution for this? I'm having the same issue with the solid black reference

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution for this
  • Low reputation (1):
Posted by: Carlos Alberto Valencia

79337955

Date: 2025-01-08 04:20:47
Score: 4.5
Natty:
Report link

Could someone possibly do a video of extracting this? I pasted the 1st function in C1, and nothing happenedenter image description here.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gja2nd

79337954

Date: 2025-01-08 04:17:46
Score: 1.5
Natty:
Report link

What you're experiencing is a known issue with postman vscode extension. Until they fix this, use postman desktop app or any other client

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What you
  • High reputation (-1):
Posted by: Inder

79337952

Date: 2025-01-08 04:17:46
Score: 2.5
Natty:
Report link
dependency_overrides:
  cloud_firestore: 5.6.1
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Trung Kiên Nguyễn

79337951

Date: 2025-01-08 04:16:45
Score: 2.5
Natty:
Report link

It is seems to be an AVR logical conflict. Instruction

SUB Rd,Rr. ; give C=1 when Rd<Rr

COM Rd ; operation like 0xff-Rd , this would give C=0. But actually the complement instruction always give C=1

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29100520

79337943

Date: 2025-01-08 04:09:44
Score: 3
Natty:
Report link

I am afraid that this script lacks clarity, does not express clearly what problem does it solve, and quite frankly I do not see what possible language it makes use of .


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

79337926

Date: 2025-01-08 03:53:40
Score: 1.5
Natty:
Report link

you should switch to using React Native Firebase because expo-firebase-analytics is currently facing numerous issues on both Android and iOS.
Even if you manage to resolve all the errors on iOS, expo-firebase-analytics still cannot run on Gradle 8 (Android).

Here is a guide to migrating from expo-firebase-analytics to React Native Firebase.
I have applied and tested it, and everything is now working perfectly on both platforms.

Migrating from Expo Firebase (expo-firebase-analytics) to React Native Firebase https://github.com/expo/fyi/blob/main/firebase-migration-guide.md

Then read this document for more details about React Native Firebase: https://rnfirebase.io/#expo

[Firebase] Automatically collected events https://support.google.com/analytics/answer/9234069?hl=en&ref_topic=13367566&sjid=3847978116116908888-AP

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

79337918

Date: 2025-01-08 03:48:40
Score: 0.5
Natty:
Report link

If you want to navigate to new screen clearing all the previous screens, use this,

Navigator.pushAndRemoveUntil(context, MaterialPageRoute(builder: (context) => NewScreen()),(route)=>false);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Prakash pratap Singh

79337915

Date: 2025-01-08 03:43:39
Score: 0.5
Natty:
Report link

Your question is not related to SameSite.

First, if SameSite=None is set, the following becomes possible:

You are originally logged in at webshopA, and the cookie has SameSite=None specified.

Next, you navigate to webshopB, and from a page on webshopB, you navigate to a page on webshopA using the POST method.

In this case, the cookie with SameSite=None is sent to webshopA.

If this cookie has SameSite=Lax, it will not be sent to webshopA with the POST method. If it's the GET method, it will be sent to webshopA.

SameSite=None does not cause cookies to be sent to other sites. It changes the behavior when navigating from other sites.

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

79337908

Date: 2025-01-08 03:36:37
Score: 3
Natty:
Report link

Update: I ended up creating a method channel and calling the iOS native project's clever tap function. I removed the clever tap plugin from flutter and invoked method of native iOS for clever tap functions.

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

79337898

Date: 2025-01-08 03:26:35
Score: 2
Natty:
Report link

It looks like an issue with the "advanced-custom-fields-pro" plugin in WordPress on one of your sites. Try manually disabling that plugin, using a guide like this. If that resolves the issue, then contact the plugin developer directly for further support, they may need to update something.

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

79337895

Date: 2025-01-08 03:24:35
Score: 1
Natty:
Report link

Google One Tap login and Google Sign In require OAuth 2.0 client ID configuration in the background, although you may not have explicitly used it. Ensure that your OAuth 2.0 client ID configuration in Google Cloud Console matches the signing certificate (SHA-1) used for Google Play App Signing. Update your OAuth configuration to ensure that the package name and signing certificate are correct. I encountered the same problem, the key point being the difference in signature certificates. When you upload AAB to Google Play, Google Play will use its own signature certificate for signing, and you may have used a different signature certificate during development. Therefore, ensure that the OAuth 2.0 client ID configured in Google Cloud Console uses the correct SHA-1 signing certificate (i.e. the certificate used by Google Play), rather than the certificate generated locally.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 欧阳平涛

79337894

Date: 2025-01-08 03:24:35
Score: 1
Natty:
Report link

just add

  onPressed: () async {
    await Navigator.of(context).push(MaterialPageRoute(
        builder: (context) => BuatAssesment(
              eventId: widget.classEventsData['id'],
            )));
    setState(() {});
  },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dika desu

79337890

Date: 2025-01-08 03:20:34
Score: 1
Natty:
Report link

Ensure you are configuring the open_basedir setting, per here.

There is a syntax error in your 2nd attempt open_base_dir.

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

79337886

Date: 2025-01-08 03:18:34
Score: 0.5
Natty:
Report link

Frame challenge: I don't need to compare the two files, I can do sed shenanigans.

  1. Extract matching lines from master to have the entire line.
  2. Wrangle the lines to have just the path.
  3. Use sed grouping to copy the old path and filename, then build a sed command in place inside a new file.
  4. Execute the new file.

This means that the python snippet looks like:

commands = ['program finder.exe "flaggedfile" > list.txt'
           ,'sed "\#"`pwd`"#d" list.txt | sed "s/:.*//" > moved.txt'
           ,'program mover.exe moved.txt .'
           ,'grep -f moved.txt master.txt | grep -o "\/.*\.txt" | sed -r "s?^(.*/)(.*)?sed -i \\"s#\\1\\2#`pwd`/\\2#g\\" master.txt?g" > updatemaster.txt'
           ,'. ./updatemaster.txt'
           ]

I tested this and it does work. Thank you to everyone for your advice. I understand that I have weird constraints that I'm working with, and I'm sorry that I can't use python properly because of it.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: David Robie

79337885

Date: 2025-01-08 03:18:34
Score: 0.5
Natty:
Report link

Sorry, I made a mistake about this problem.

The problem is, on MacOS, it will automatically add _ prefix to all function, except our own assembly code.

So when calling test_func() in the main(), it is actually calling to _test_func().

I will edit this to previous question.

Then we can keep all the function in c file unchanged, and define the assembly code like this:

#ifdef __APPLE__
#define DEFINE_FUNC(func) \
    .global _##func; \
    _##func
#define END_FUNC(...) /*_*/
#else
#define DEFINE_FUNC(func)\
    .global func;   \
    .type func,%function; \
    func
#define END_FUNC(func)\
    .size func,.-func;
#endif

DEFINE_FUNC(test_func):
    mov x0, x1
    ret
END_FUNC(test_func)

So now I think I solved this problem elegantly. If there is a better way, please post your idea without any hesitation.

Reasons:
  • Whitelisted phrase (-2): I solved
  • RegEx Blacklisted phrase (2.5): please post your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tall

79337881

Date: 2025-01-08 03:13:33
Score: 3
Natty:
Report link

To anyone out there still struggling with this and has tried all solutions in google, including this wiping data of their emulator, and still doesn't work. Look into development builds https://docs.expo.dev/develop/development-builds/create-a-build/. Here is a video explanation from the expo team. https://www.youtube.com/watch?v=FdjczjkwQKE&t=470s

Why this works most libaries just need that native environment to work.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dennis Kainga

79337880

Date: 2025-01-08 03:12:32
Score: 3
Natty:
Report link

You can also set the environment variables on the dashboard (lambda).

Check this :

Create Lambda environment variables

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

79337874

Date: 2025-01-08 03:03:31
Score: 3
Natty:
Report link

I think it's a BUG in compose that I get the same crash when I try to use AnimatedVisibility in ConstraintLayout layout, repeatedly controlling AnimatedVisibility to show and hide

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

79337848

Date: 2025-01-08 02:37:26
Score: 2
Natty:
Report link

I am also finding a way to flag the wanted candles and export to csv easily im so suprised that such a complete system doesnt have such function. otherwise its too stupid to record the timestemp manually.

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

79337831

Date: 2025-01-08 02:28:24
Score: 3.5
Natty:
Report link

Pencilcheck answers should be the correct one

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Juan Sebastián González Rivera

79337829

Date: 2025-01-08 02:26:23
Score: 4
Natty:
Report link

Thank you Hasan! 4 simple steps and thats all she wrote!!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AgenolM

79337826

Date: 2025-01-08 02:24:22
Score: 1
Natty:
Report link

Not related with this question however, for the guys who use typescript you should first initialize the ts via

npx tsc --init

then you should add this flag in the tsconfig.json file if you are using react

"jsx": "react",
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Berkay Aslan

79337825

Date: 2025-01-08 02:23:22
Score: 0.5
Natty:
Report link

If I specify the size of the file for the length argument would it then load the entire file?

Most likely, No. Might not load a single page into physical memory.

On our rhel linux platform, no data was loaded into physical memory. When we read a word for the first time in a mmap memory page, a page fault occurred and this fault was handled by the OS under-the-hood to load that page into physical memory. To load the entire file, we read a word on each of the mmap memory pages.

We did this before we began timing the algorithms. We didn't want the OS page faults and memory load steps to affect the basic algorithm timings.

what is the maximum sized file I can mmap on a 64-bit system?

We had enough memory to handle the entire file. Here's a link that addresses mmap limits.

Using mmap() to map a file does not copy the file to physical memory so there's no reason to limit it. As long as the entire file can be represented by the virtual address space, it can be mapped. The way this works is that each page is not resident in memory and so accessing it triggers a page fault. The kernel transparently uses this opportunity to access that part of the file.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: PaulH

79337824

Date: 2025-01-08 02:23:22
Score: 1
Natty:
Report link

one approach can be to delete grid-template-columns: 1fr 1fr and then add the following in the dashboard component class:

width: 100%; min-height: 80vh;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user19259811

79337811

Date: 2025-01-08 02:10:19
Score: 2
Natty:
Report link

its not that your bluetooth did not receive any data your bluetooth.connect() returns a boolean, so your connection in connection = bluetooth.connect(...) is also a boolean, and boolean dont have a output() method

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

79337804

Date: 2025-01-08 02:02:18
Score: 1
Natty:
Report link

Create new Cluster for current data in /main.

Step by step.

(1) sudo systemctl stop postgresql

(2) edit postgresql.conf

data_directory = '/var/lib/postgresql/12/main3'

(3) sudo -u postgres /usr/lib/postgresql/12/bin/initdb -D /var/lib/postgresql/12/main3

(4) sudo cd /var/lib/postgresql/12/

(5) sudo rm -Rf main3

(6) sudo cp -a main main3

(7) sudo systemctl start postgresql

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kitisak Auttasran

79337802

Date: 2025-01-08 02:01:17
Score: 1.5
Natty:
Report link

Removing @import 'sanitize.css'; from the <style> tag and adding import 'sanitize.css'; to the <script> tag resolves the issue.

I came to this solution when reading the "Where should I put my global styles?" section of the FAQ for vite-plugin-svelte

This pointed out three issues with my original +layout.svelte file:

  1. Global styles should always be placed in their own stylesheet files whenever possible, and not in a Svelte component's tag

  2. The stylesheet files can then be imported directly in JS and take advantage of Vite's own style processing.

  3. The global attribute in my <style> tag is a feature from svelte-preprocess, which I was not using or had plans to use. If I were to use global styles in the <style> tag I should instead use the nested :global { ... } syntax, which not is recommended for global styles.

The fixed +layout.svelte looks like this:

<script lang="ts">
    import 'sanitize.css';
    let { children } = $props();
</script>

{@render children()}
Reasons:
  • Blacklisted phrase (1.5): Where should I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Matthew Moran

79337800

Date: 2025-01-08 01:59:17
Score: 1
Natty:
Report link

.requestMatchers("/api/v1/students/set-password.html", "/set-password").permitAll()

It looks like you're incorrectly specifying the path to the restapi and html.Try changing it to

.requestMatchers("/api/v1/students/set-password", "/set-password.html").permitAll() 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 影缝余弦

79337787

Date: 2025-01-08 01:46:14
Score: 1.5
Natty:
Report link

What is the real intention - just having a bidrectional communication with the Raspberry Pi with text commands ending with \n?

If yes, then why not using the ethernet? Sending e. g. UDP/HTTP packets in both directions should work.

Or using RS232 the UART pins + some electronics and a USB-to-serial adapter from a 2nd USB port?

Thonny Python IDE communicates with the Raspberry Pi via USB too? Then what works and what does not - is probably defined by Thonny.

I normally access my Raspberry Pi via ethernet/SSH and start the python scripts directly in the shell console of the Ubuntu running on my Raspberry. There is even a command line debugger in python integrated - on Raspberry too?

If you don't use Thonny Python IDE the USB is unused and could be perhaps reconfigured with a proper library and simulate a serial interface for the connected PC (similar to FTDI's chip for RS232 = UART = serial interface).

Asking in the raspberry pi forum could bring also help.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (0.5):
Posted by: BitLauncher

79337785

Date: 2025-01-08 01:44:14
Score: 0.5
Natty:
Report link

So the implementation idea is:
Valkey stream–based queue with a threshold for batch processing.
The producer adds tasks to the stream (using XADD).
The consumer checks the stream length (using XLEN) and reads tasks from the stream via a consumer group (using XREADGROUP).
Once the threshold is reached, tasks are processed in a single batch and acknowledged (using XACK) to remove them from the stream.

For the fun, created both for python and node the examples of usage, using valkey-glide client, and created a repo: https://github.com/avifenesh/glide-consumer-supplier-queue

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: avifen

79337783

Date: 2025-01-08 01:41:13
Score: 2
Natty:
Report link

I resolved this by re-configuring the Firebase app using the flutterfire_cli. Check this link for instructions on how to do the Flutter Firebase configuration. https://firebase.google.com/docs/flutter/setup

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-2): I resolved
  • RegEx Blacklisted phrase (1): Check this link
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: prahack

79337780

Date: 2025-01-08 01:38:12
Score: 3
Natty:
Report link

in my case the project was on kapt, i migrated from kapt to ksp and it solved the problem.

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

79337773

Date: 2025-01-08 01:34:12
Score: 3.5
Natty:
Report link

ng-include is AngularJS code. AngularJS is no longer maintained

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

79337770

Date: 2025-01-08 01:31:11
Score: 1
Natty:
Report link

Setting datePicker.contentHorizontalAlignment = .center worked for me on UIKit

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

79337768

Date: 2025-01-08 01:29:11
Score: 2.5
Natty:
Report link

It's an expected behavior. The output directory is cleaned at the start of the tests. See https://playwright.dev/docs/api/class-testproject#test-project-output-dir

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

79337750

Date: 2025-01-08 01:19:09
Score: 1
Natty:
Report link

In Spring Boot, primitive types (like Boolean or Integer) are serialized directly as a pure value in the response body, without being wrapped in an object (so you get true and false).

Make a class in your kotlin code

data class BooleanResponse(val value: Boolean)

then, dear @padmalcom, you can write something like

@GetMapping("/api/v1/user/existsByUsername/{username}", produces = [MediaType.APPLICATION_JSON_VALUE])
@ResponseBody
fun userExistsByUsername(@PathVariable("username") username: String): ResponseEntity<BooleanResponse> {
    val exists = userService.usernameExists(username)
    return ResponseEntity.status(HttpStatus.OK).body(BooleanResponse(exists))
}

that uses your class.

So your JSON return will be:

{
  "value": true
}

with curly braces.

Fast & ̶f̶u̶r̶i̶o̶u̶s̶ simple

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @padmalcom
  • Low reputation (1):
Posted by: PHPKiatofiaFlowOverUs

79337744

Date: 2025-01-08 01:10:07
Score: 2
Natty:
Report link

edit the .gitconfig file found in your home directory

[url "https://<youruser>:<your token>@github.com/<org>"]
        insteadOf = https://github.com/<org>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29098930

79337741

Date: 2025-01-08 01:10:07
Score: 1.5
Natty:
Report link

I made a piece of javascript which is embeded into this test page. It tests to see if the user is using the FACEBOOK browser and then if it is it tells the user how to break out.

You can copy the code and use it for your own page if you want.

Here is my test page.

https://infoaboutspain.com/article/facebook_browser

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: John Granadainfo

79337730

Date: 2025-01-08 01:02:06
Score: 2
Natty:
Report link

My question is, is there anyway to optimize the code further? I have tried many things but can not make any improvement with respect to the normal code.

I'll toss in some other lessons from a career doing this stuff:

• Sometimes the processor you are working on is just slow / narrow. Something on the order of a raspberry pi might have the Neon unit "double pumped", which is to say that while the register is indeed 128-bits wide the ALUs that service it are only 64-bits wide and so every 128-bit vector instruction is cracked internally in the processor to be 2 instructions, like ancient MMX or 32-bit ARM processors. This is especially likely on implementations that are low power and have instructions that work on half-sized vectors. If I was getting a 2x speed gain and that seemed to be the speed of light, I would start getting some documentation on the implementation details of the processor to find out whether it had been double pumped. We might imagine that a particularly low energy and tiny processor might be quad pumped. Really, this is among the first questions I ask before taking on an optimization project for a new processor. Where can I get the processor implementation details? Often the company doesn't just hand them out, but there might be third party sources who have run experiments to figure out, such as Agner Fog's excellent latency tables at agner.org.

• Not all instructions are equal. The ones that operate lanewise -- that is, the ones where each element in argument 1 operates on the corresponding element of argument 2, and not horizontally within the same vector -- tend to be more efficient. The ones that do not are often cracked into microcode and run internally as several instructions. We might imagine that vaddvfp for example could be cracked into as many as 3 vaddpfp instructions, so might count double or triple the normal instruction, depending on the ALU width as described above, not to mention inserting some long latency pipeline bubbles. You should in general avoid any instructions that operate horizontally, though there might be some exceptions where adjacent lanes combine to make a larger result like vaddl and similar. An exception is usually the permute/shuffle instructions, though those can be cracked as well. 32-bit neon implementations frequently have vtbl1 as a single instruction, but vtbl2/3/4 are cracked into multiple. On 64-bit vtbl1q might be a single instruction and indeed maybe even vtbl2q depending on maker, but the 3/4 variants probably not. Usually be suspicious of anything likely to be cracked in this way. An exception might be SVE for which this is a part of the design and which has a mechanism to solve the slowdown on future hardware.

• You'll need to be aware of other machine hazards such as read after write to the same address or a similar address on another page, a possible 10 cycle delay between the vector ALUs and the Integer ALUs with the vector just running 10 cycles behind everything else, denormal faults, page faults, extra long latency instructions like division, etc. Usually these can be spotted by running an assembly level sampler and looking for instructions that seem to take up an unusually long period of time (have a lot of samples landing on them). You'll need to be aware of decoders that process multiple instructions per cycle which may cause a repeating pattern of samples landing on every 4th instruction rather than equally distributed around. If you see a lot of time going to something in comparison to everything else, either its a loop and those instructions are getting hammered, or something quite wrong is happening there, and then you'll need to figure out what is causing it (cache inhibited memory, anyone?) and see if there is a solution. Code that runs well has the time evenly distributed among the instructions in the trace.

• Some other replies have pointed out instruction latency as a problem. This certainly is a problem for in-order machines, but most of those are long gone. Something raspberry-pi grade, however, might still be in order. (I haven't bothered to pick up the platform.) Still the capabilities of smaller out of order hardware and older phones might be quite limited. When out of order is working well, we should expect loops to unroll into the out of order buffering mechanism with possibly several hundred instructions in flight. In this case, it is likely your latency is covered by the other loop iterations hoisted between the instructions from the current one. It is possible to write code where each loop iteration depends on the last (like a IIR audio filter). Then that doesn't work. Usually however, a loop loads some data from memory, does stuff too it and writes it back somewhere. For those, the loads of succeeding loop iterations will hopefully be hoisted past stores of the previous loops (assuming no false aliasing stalls) and the arithmetic can fill all the pipeline bubbles.

Unfortunately, at the end of the day, it is unusual that people can just sit down and look at the code and say definitively "There's your problem!" There are some obvious things like division and cache misses, but much of the other stuff is situation dependent and may be hidden by a higher level language. I find the best approach is to look at the assembly level sampler output and read the tea leaves from there. Once you know the problem, then the optimization will suggest itself. Don't just optimize because you think you know the answer. Measure.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ian Ollmann

79337726

Date: 2025-01-08 00:56:04
Score: 2.5
Natty:
Report link

You can read the article -> https://cloudinary.com/pricing particularly the following section -> The Most Powerful Free Plan on Earth (with examples)

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

79337712

Date: 2025-01-08 00:45:02
Score: 3
Natty:
Report link

The table should include style table-layout: fixed; for size to work.

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

79337711

Date: 2025-01-08 00:45:01
Score: 1
Natty:
Report link

Turns out the project is using two different wrapper libraries (?!):

  1. Firebase JS SDK firebase for authentication, which uses config.js to reference environment variables. https://docs.expo.dev/guides/using-firebase/
  2. react-native-firebase for analytics, which uses the google-services.json file https://rnfirebase.io/#installation-1

While I'm here, I also learned that OAuth "Sign in with Google" requires the Web app id, not the Android/iOS app ids.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: giraffe.guru

79337707

Date: 2025-01-08 00:41:01
Score: 0.5
Natty:
Report link

The previous answer gives a NullPointerException when File object has no path, namely, it is just a filename.

A minor modification works for that case as well

File file1 = ... // as before
File file2 = new File(file1.getCanonicalPath());
String path = file2.getParentFile().getCanonicalPath();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nick

79337705

Date: 2025-01-08 00:38:00
Score: 3
Natty:
Report link

How to acces to command openvpninstaller.exe /S /SELECT_SERVICE=1 /SELECT_OPENSSLDLLS=1

No comand liste

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: HarveyWNvm

79337699

Date: 2025-01-08 00:28:59
Score: 3
Natty:
Report link

That's Terminal Inline Chat, you can usually always dismiss popups, like this, by pressing Esc

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

79337697

Date: 2025-01-08 00:23:58
Score: 1
Natty:
Report link

I needed to center the label on a radio button. What worked for me was:

vertical-align: top;
padding-top: 6px;
Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AntLink

79337684

Date: 2025-01-08 00:14:56
Score: 1.5
Natty:
Report link

Using IIS 10 on Windows Server 2022

In my case the issue was related to having multiple FTP servers on different ports associated with different sites.

The only connection allowed was to the server on the default port 21. I had to combine all the FTP accounts on one server, and access the different websites through virtual directories.

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

79337677

Date: 2025-01-08 00:10:55
Score: 2.5
Natty:
Report link

(this could have went in a comment, but I do not have enough reputation for posting one)

Odd, the provided query does work for me out of the box. Do you happen to have QUOTED_IDENTIFIERS_IGNORE_CASE set to TRUE (try SHOW PARAMETERS LIKE 'QUOTED_IDENTIFIERS_IGNORE_CASE')? Either way, qualifying the table name does allow me to retrieve the value in the column regardless of that:

select * from TEST t where t."current_date" ='2027-10-01' limit 10;
Reasons:
  • RegEx Blacklisted phrase (1.5): I do not have enough reputation
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tevo

79337667

Date: 2025-01-08 00:01:53
Score: 8.5
Natty: 7
Report link

Same question here, does anyone managed to get it working?

Reasons:
  • RegEx Blacklisted phrase (1): Same question
  • RegEx Blacklisted phrase (2): working?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Okeanos

79337619

Date: 2025-01-07 23:32:47
Score: 2.5
Natty:
Report link

10; TECNO KD7 Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.135 Mobile Safari/537.36 OcIdWebView ({"os":"Android","osVersion":"29","app":"com.google.android.gms","appVersion":"244738000","style

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

79337615

Date: 2025-01-07 23:30:47
Score: 1.5
Natty:
Report link

I ran into this problem using NestJS, and this section of the documentation included the correct pattern to fix the problem: https://docs.nestjs.com/techniques/mongodb#sessions

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Evan Kleiner

79337611

Date: 2025-01-07 23:29:47
Score: 2
Natty:
Report link

Answering for anyone else wondering this:

valgrind has a tool called lackey (https://www.cs.cmu.edu/afs/cs.cmu.edu/project/cmt-40/Nice/RuleRefinement/bin/valgrind-3.2.0/docs/html/lk-manual.html) which has an option --trace-mem=yes that will perform a memory trace:

valgrind --tool=lackey --trace-mem=yes --log-file=<log file> <app>
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jkang

79337608

Date: 2025-01-07 23:26:46
Score: 0.5
Natty:
Report link

This error is due to a version mismatch between the React version installed (19.0.0) and the peer dependency requirement of @testing-library/react (^18.0.0).

Delete the node_modules folder and run:

npm install --legacy-peer-deps

OR

npm install --force
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ak Ab

79337607

Date: 2025-01-07 23:26:46
Score: 3
Natty:
Report link

I agree, but I am using [Authorize] on each page.

  1. It is working fine after login on normal navigation
  2. But If I refresh the page it sends me back to the login page.

I am using static data for testing

Please check code from image

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

79337604

Date: 2025-01-07 23:24:45
Score: 5
Natty: 5
Report link

It's available on Archive.org :) https://web.archive.org/web/20131111234110/https://waratek.com/blog/november-2013/introduction-to-real-world-jvm-memory-utilisation

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

79337589

Date: 2025-01-07 23:15:44
Score: 1.5
Natty:
Report link

The error is resolved after adding partition key in request header.

client.DefaultRequestHeaders.Add("x-ms-documentdb-partitionkey", "[\"MyPartitionKey\"]");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vinod Shinde

79337587

Date: 2025-01-07 23:13:43
Score: 1
Natty:
Report link

It is editor from GitExtensions. You can setup it by

git config --global core.editor "\"C:/YourPath/GitExtensions/GitExtensions.exe\" fileeditor"

By me it was done automatically on GitExtensions installation.

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

79337584

Date: 2025-01-07 23:12:43
Score: 0.5
Natty:
Report link

I wish there was a standard out there rather than having to discover/invent it ourselves. In my case, I need such a naming that can immediately shows and . On top of that, many times I will need to use that dictionary in a loop, so I will need similar naming to represent each of its element. For the time being I use something like below. I'm aware that not everyone aggress with the usage of _ (even I try to avoid it).

foreach (country_provinces in countries_provinces)
{
  ...
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: peter.aryanto

79337580

Date: 2025-01-07 23:09:42
Score: 1.5
Natty:
Report link

In your example, you are comparing a string ("2023-01-01") with the values stored in the "variable.name". Strings can not be compared but date objects can be. Probably you can do the following....

df$variable.name = as.Date(df$variable.name) #make sure the variable is date object

df2023 = subset(df,df$variable.name >= as.Date("2023-01-01") & df$variable.name <= as.Date("2023-12-31"))

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chowdhury arafat hossain

79337567

Date: 2025-01-07 23:00:39
Score: 1.5
Natty:
Report link

It looks your PCC is missing some keyword settings. You'd contact the Sabre account manager to clarify :)

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

79337553

Date: 2025-01-07 22:56:38
Score: 3
Natty:
Report link

do you have your own PCC? if so you can combine the userid like this: V1:EPR:PCC:AA. Then it should works.

If you have self registered application. you can also try that. the full string will be showing in your account page.

ref:

Build your User ID using your: 
1) EPR, 
2) PCC (a.k.a. Group), 
3) Domain ("AA" for Travel Network customers, or your airline code for Airline Solutions customers, e.g. "LA"). 
Separate each value with a colon.

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have your
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Shiny

79337552

Date: 2025-01-07 22:56:38
Score: 2.5
Natty:
Report link

Unfortunately you did not show, what were your attempts with CTE.

With cascading/nesting some CTEs it could be solved:

What about this:

WITH groupLimits AS ( -- all places where neighboring rows change (col2 in (1,3) vs. col2 not in (1,3))
    SELECT A.Record_Number arn, A.Col1 ac1, A.Col2 ac2,
           B.Record_Number brn, B.Col1 bc1, B.Col2 bc2,
           CASE WHEN A.Col2 IN (1, 3) THEN 1 ELSE 0 END ain,
           CASE WHEN B.Col2 IN (1, 3) THEN 1 ELSE 0 END bin
    FROM tbl1 A
    JOIN tbl2 B
      ON A.Record_Number + 1 = B.Record_Number
         AND (
               (A.Col2 IN (1, 3) AND B.Col2 NOT IN (1, 3))
               OR
               (A.Col2 NOT IN (1, 3) AND B.Col2 IN (1, 3))
             )
    order by A.Record_Number
), groups as (
   select ...
   from groupLimits C
   join groupLimits D
     on ...
...
select ...
...

With above groupLimits you get the idea where groups of (neighbor) rows, that have the same condition, either Col2 IN (1, 3) or Col2 NOT IN (1, 3) end (even if the group contains only 1 row).

The (neighboring) entries of groupLimits could be joined again with each other to get the minimum and maximum record_number of a group of tbl1 entries, that have all either Col2 IN (1, 3) or Col2 NOT IN (1, 3) (ain, bin can help). Perhaps you have to add an additional entry for first and last of record_number in tbl1.

Then you can calculate the col3 value for a group of rows with Col2 NOT IN (1, 3) (e. g. record_number 3 and 4), that is the value of record_number 2 (before 3) = 456. The col3 value for all records in a group with rows with Col2 IN (1, 3) is anyway its col1 value and easy to handle.

Are these enough ideas/hints to solve it?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve it?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: BitLauncher

79337550

Date: 2025-01-07 22:54:37
Score: 0.5
Natty:
Report link

Error code 5.7.57 in a non-delivery report (also known as an NDR, bounce message, delivery status notification, or DSN). This bounce message indicates a problem in the configuration of the connecting application or device.

Some things you could check:

Things to try:

Troubleshooting & workarounds shared by the community members and external support:

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

79337545

Date: 2025-01-07 22:52:37
Score: 1.5
Natty:
Report link

I have found that casting to numeric with scale 2 then casting back to float works best.

`SELECT

j.job_title,

AVG(j.salary)::NUMERIC(10,2)::FLOAT as average_salary,

COUNT(p.id) as total_people,

SUM(j.salary)::NUMERIC(10,2)::FLOAT as total_salary

FROM people p

JOIN job j

ON p.id = j.people_id

GROUP BY j.job_title;`

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Toluse Alemika

79337542

Date: 2025-01-07 22:50:37
Score: 1
Natty:
Report link

The official github repository of the spring framework contains a migration guide from 5.3 to 6.x. If you aren't on 5.3, then you have to read the other migration guide from 5.x to 5.3 first.

If it doesn't mention anything about the XML, then it should be fine, but keep a backup of your code base just in case (e.g. VCS or copying to another directory)

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

79337539

Date: 2025-01-07 22:48:36
Score: 0.5
Natty:
Report link

Without knowing more about your dependent variable, population sizes, etc. this response will be a little generic, and I am no expert in R.

Tests make assumptions about your data and the relationships between the dependent and independent variables. In this case linearity. You can independently evaluate what that non-linearity is, so that you can better understand it and determine what impact it will have on the assumptions of your model. It may lead you to conclude that a higher order polynomial will capture that non-linearity accurately or it may even indicate that regression is not an appropriate model.

Instead of a higher order polynomial you could explore your data using a spline. Piecewise cubic splines are commonly used in finance to fit curves. This [article] (https://www.nature.com/articles/s41409-019-0679-x) provides more information for clinicians.

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

79337506

Date: 2025-01-07 22:32:33
Score: 2
Natty:
Report link
  1. The test_size = 0.25 don't really have an impact on the metrics I think. But you're model is too good probably because the function that the label follows is very simple. So your Adaboost don't need more than a DecisionTree(depth=1) to learn that function. But, you're probably using the same name y_pred in all the code and thus, y_pred should be actualized when you make any changes on the model or on the test dataset. The test_size actually modifies the length of the test dataset and the previous length was 25% of the total size of the dataset. If you modify the test_size, you modify that test dataset and you need to actualize y_pred with adb.predict(X_test) both for having new prediction matching with new datapoints, and not have a mismatch error.

  2. To fix the issue, you just need to to add before using any function that needs y_test and y_pred : y_pred = adb.predict(X_test)

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Menegraal

79337505

Date: 2025-01-07 22:31:32
Score: 5.5
Natty: 4
Report link

I have the same problem, but the problem occurs before inserting the data to the database, Entity Framework is creating a query that truncates the string, the string is complete when calling the SaveChanges() method, but after checking the database logs, the query that Entity Framework creates, the string is truncated. I already set the parameters needed for Entity Framework to use the same values for the field in the database, which is a VARCHAR(MAX) field. I don't know what else to do, the string is always complete in my code, but Entity Framework keeps truncating it, and I don't have control over it.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rogelio Ramírez

79337502

Date: 2025-01-07 22:30:31
Score: 2
Natty:
Report link

Use printf with the %V format specifier.

printf "%V\n%V\n%V\n", var1, var2, var3
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: EBADBEEF

79337500

Date: 2025-01-07 22:28:31
Score: 1
Natty:
Report link

CSnakes provides a new potential answer to this. Their docs include a discussion on efficient sharing of buffers. It's Python-centric, in that it allows C# Span "views" into native NumPy arrays.

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

79337498

Date: 2025-01-07 22:27:31
Score: 2.5
Natty:
Report link

You have confluent Snowflake connections that simply provide the JSON data; implementing a Snowflake stored procedure to create the tables or merging the tables is a possibility, and the materialized views are often built on the JSON structure.

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

79337494

Date: 2025-01-07 22:23:30
Score: 1
Natty:
Report link

I think the appropriate solution here has two parts:

  1. For working with Adobe Premier, you most likely need local VM storage. There are different tiers, with HDD being the cheapest and Premium SSD being the most expensive which is probably worthwhile. I would try using an HDD and see if that works well enough. https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types
  2. Your web all use case is a different story. That should use blob storage to store data, that will be much easier to work with in the case of a web app. And I assume that a web app is not going to use the files in the same way that Premier will, or even the same files, is that right?

If you really want to re-use blob storage on both the VM and for the web app, you would need to make the blob storage container look like a source accessible natively to Premier running on Windows, using something like this solution here: https://www.msp360.com/drive/microsoft-azure/

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: KonTheCat

79337493

Date: 2025-01-07 22:22:29
Score: 2
Natty:
Report link

The solution I came up with was to modularize the CKEditor into a child component, in which I import the library using dynamic. Then, in the parent component, I import this child component, also using dynamic.

Also, I used a personalized build created in ckeditor builder.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Estefanía Osses Vera

79337492

Date: 2025-01-07 22:22:29
Score: 2
Natty:
Report link

This typically happens on a device/emulator if you haven't logged in to a Google account in the Play Store/Chrome. Make sure your emulator has Google Play store, login to a Google account by opening chrome or Play Store and then run your app again to see if it works.

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

79337488

Date: 2025-01-07 22:18:28
Score: 2
Natty:
Report link

try pip3 install PyQt5 , its work for me

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

79337478

Date: 2025-01-07 22:15:28
Score: 1.5
Natty:
Report link

I used the recorder to get this code, and it seems to work?

function main(workbook: ExcelScript.Workbook) {
    let selectedSheet = workbook.getActiveWorksheet();
    
    // Set range A1:B3 on selectedSheet
    selectedSheet.getRange("A1:B3").setValues([["A",1],["B",2],["C",3]]);

    // Insert chart on sheet selectedSheet
    let chart_1 = selectedSheet.addChart(ExcelScript.ChartType.columnClustered, selectedSheet.getRange("A1:B3"));

    // Change fill color for point on series on chart chart_1
    chart_1.getSeries()[0].getPoints()[0].getFormat().getFill().setSolidColor("ffc000");
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: wandyezj