79268448

Date: 2024-12-10 13:44:31
Score: 7 🚩
Natty:
Report link

Any solution? I have this same problem and I have tried everything, I added item name="android:windowLayoutInDisplayCutoutMode">never to the mainactivity theme and it doesn't work either

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (2): Any solution?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ITECH

79268440

Date: 2024-12-10 13:40:30
Score: 2.5
Natty:
Report link

Starting in Chrome 81, Integrated Authentication is disabled by default for off-the-record (Incognito/Guest) profiles, and the user will need to enter the username and password. See https://issues.chromium.org/issues/40405715#comment63

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

79268436

Date: 2024-12-10 13:39:30
Score: 1
Natty:
Report link

I understand your problem and tbh I don't have a clear cut answer. However, using the same validation set repeatedly like you propose is also not desired since you risk (over)fitting your hyperparams on that specific part of the data.

You could pre-specify the folds and impute the validation fold based on the other training folds. You could also accept that there is a small chance of leakage due to one or two observations ending up in the validation fold. Of course, this totally depends on your data and method of imputation. Wildly varying performance across the CV folds is an indicator that leakage is a problem.

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

79268420

Date: 2024-12-10 13:32:28
Score: 0.5
Natty:
Report link

There is issue with v0.3.6 which doesn't have dist folder.

Adding a override to version 0.3.5 in package json to root works here

"overrides": {
"@jridgewell/gen-mapping": "0.3.5"
}

Link to issue - https://github.com/jridgewell/gen-mapping/issues/14

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

79268401

Date: 2024-12-10 13:25:26
Score: 2.5
Natty:
Report link

Am repeatedly getting these 2 errors, have even checked the official documentation please share some code which gets chatgpt to work in google colab using the paid API key:

TypeError: Client.init() got an unexpected keyword argument 'proxies'

You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.

Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28

Reasons:
  • RegEx Blacklisted phrase (2.5): please share some code
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: aaa

79268388

Date: 2024-12-10 13:19:24
Score: 2
Natty:
Report link

for whos lives in Iran and another Restricted countries if firebase login --reauth and another ways still not working you should change your VPN or DNS and problem will be gone .

Reasons:
  • Blacklisted phrase (2): still not working
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Erfan

79268384

Date: 2024-12-10 13:18:24
Score: 2.5
Natty:
Report link

This method use inside of model class Note: If you used createdTime field inside model class

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muthu Kumar M

79268382

Date: 2024-12-10 13:17:24
Score: 0.5
Natty:
Report link

Unfortunately what you are describing is not possible directly. NSCameraUsageDescription is a static string included in the Info.plist file and it's documented to require only one string (localized to multiple languages).

Apple's guideline in cases where more than one description is needed for different contexts is to use a custom pre-alert screen.

As @mehul-thakkar already pointed, try to generalize the string for NSCameraUsageDescription, but before displaying the system alert, show a custom screen or view that provides more context with one button that displays the system alert. You might want to make sure that this custom pre-alert screen is only displayed if permission is being requested for the first time.

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

79268360

Date: 2024-12-10 13:09:21
Score: 0.5
Natty:
Report link

That's because you have an array inside another array. What you're doing is adding an element to the outer array, you wish to add it to the inner. You reach the inner array using $tblData[0], so what you need to do is:

$tblData[0][] = array("Hot dogs" => "Big No");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Malmgren

79268359

Date: 2024-12-10 13:09:21
Score: 5.5
Natty:
Report link

You could check the following link: https://medium.com/@KaushalVasava/in-app-update-in-android-2023-c47beb1e3a7e

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cristian Talavera

79268348

Date: 2024-12-10 13:06:20
Score: 0.5
Natty:
Report link
__global__ void swizzle_kernel(half *A,half* B){
    
    __shared__ half s[32][64];
    int lane_id = threadIdx.x % 32;
    int warp_id = threadIdx.x / 32;
    int row = warp_id /4 * 16 + lane_id % 16 ;
    int col = ((warp_id % 4) * 2 +lane_id/ 16) ^ (row & 7);

    *((int4*)(&s[row][col * 8])) = *((int4*)(A + row * 64 + ((warp_id % 4) * 2 +lane_id / 16 ) * 8));

    __syncthreads();
    int4 tmp;
    tmp =  *((int4*)(&s[((warp_id+1)%8) / 4 *16 + lane_id / 2 ][col * 8]));

While the above distribution of data and threads is theoretically free of bank conflict, when I try to prioritize the layout of both data and threads, the bank conflict disappears. So my answer for the time being is to keep the thread and shared memory layout clean, so maybe the compiler will better optimize the code.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: li bai

79268331

Date: 2024-12-10 13:00:17
Score: 6.5 🚩
Natty:
Report link

Has anyone figured out why this still prevents downloads on newer frameworks? A year later "use node18" is still just a workaround.

Reasons:
  • RegEx Blacklisted phrase (3): Has anyone figured
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mitch

79268313

Date: 2024-12-10 12:55:15
Score: 1
Natty:
Report link

⌘+D to split panes vertically

Shift+⌘+D to split panes horizontally

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

79268308

Date: 2024-12-10 12:54:15
Score: 3
Natty:
Report link

For older versions that use mattable make sure you:

import { CdkTableModule } from '@angular/cdk/table';

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

79268298

Date: 2024-12-10 12:52:14
Score: 2
Natty:
Report link
com.liferay.portal.kernel.log.LogSanitizerException: org.osgi.framework.BundleException

I was facing this similar above exception while I was deploying my service jar so I added this export (attached image below) in bnd.bnd file of event-user-registration-service-service folder which resolved my issue. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Burhan Atique

79268294

Date: 2024-12-10 12:50:13
Score: 1
Natty:
Report link

I tried the following setup however it did not work.

% which npx
/usr/local/bin/npx
{
  "mcpServers": {
    "filesystem": {
      "command": "/usr/local/bin/npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/xxx/Desktop"
      ]
    }
  }
}

However, I tried the following setup and this worked. Perhaps this was a path issue.

% which node
/usr/local/bin/node
{
  "mcpServers": {
    "filesystem": {
      "command": "/usr/local/bin/node",
      "args": [
        "/usr/local/lib/node_modules/@modelcontextprotocol/server-filesystem/dist/index.js",
        "/Users/xxx/Desktop"
      ]
    }
  }
}
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ganessa

79268291

Date: 2024-12-10 12:49:13
Score: 1
Natty:
Report link

You can download updated OpenSSL libraries from SLProWeb. Choose the 32-bit version to match your Delphi program, and replace libeay32.dll and ssleay32.dll in your app’s directory after backing up the originals. This ensures compatibility with modern SSL/TLS standards.

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

79268287

Date: 2024-12-10 12:49:13
Score: 3
Natty:
Report link

for me the solution was to set the Project Format to Xcode 16.0 for my main target in xcode. It was set to Xcode 9.5 before and was giving this exact error.

enter image description here

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

79268280

Date: 2024-12-10 12:47:12
Score: 4
Natty:
Report link
lifecycle:
  preStop:
    exec:
      command: ["/bin/sh", "-c", "yourscript.sh > /proc/1/fd/1"]

ref: How to monitor executing of `preStop` command?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: chestack

79268278

Date: 2024-12-10 12:46:11
Score: 0.5
Natty:
Report link

FlashList inside scroll makes nested scroll, if you need to implement two FlashList with same direction you should try it makes unbounded layout case render all list item at onLoad, you should try

  1. Join both data in array and render with one FlashList, FlashList Doc: If your list has heterogenous views, pass their types to FlashList using getItemType prop to improve performance.
  2. Make one small list through array mapping in {ListFooter, ListHeader}Component as per your need.

Follow any one from above example if you face any issue leave comment, I will help you to fix.

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

79268265

Date: 2024-12-10 12:41:10
Score: 0.5
Natty:
Report link

I don't know, if this is useful:

trait Printer {
  def apply(message: String = "Warning: The message argument is empty!"): Unit
}

val console: Printer = (message: String) => println(message)

console("Hello World!") // Hello World!
console() // Warning: The message argument is empty
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joe

79268255

Date: 2024-12-10 12:38:09
Score: 1
Natty:
Report link

After some tests, it looks like the problem happens with the PowerShell version installed in the mcr.microsoft.com/dotnet/sdk:8.0.404 image (and all the other dotnet 8 images that I tested). The exact PowerShell version is 7.4.6.

I'm not sure if the problem happens because of the PowerShell version or the way it's installed in the image, but everything works like expected in dotnet 9 images or when installing PowerShell manually in a Debian bookworm container.

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

79268254

Date: 2024-12-10 12:38:09
Score: 2
Natty:
Report link

This appears to be "sort of" fixed in the latest versions:

openSUSE Leap 15.5 with all available updates installed

Samsung Galaxy S21 ultra 5G latest OS update 8 December 2024

Now when I plug in the USB cable between phone and PC and click the Disks and Devices in the KDE system tray and then Click Browse Files with File Manager, it open a file manager window with a warning message "Could not access device..." and at the same time the phone pops up a dialog asking me whether I want to allow access to phone data. If I touch on Allow, the Internal Storage in the phone appears in the file manager window, but the warning message doesn't go away, although it can be dismissed by clicking on its close button.

A bit clumsy, but usable.

So if you still have a problem, the "solution" seems to be to wait until your Linux distribution supplier updates their file browser and your phone manufacturer updates your phone software.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Richard Parkins

79268253

Date: 2024-12-10 12:38:09
Score: 2.5
Natty:
Report link

I have built an app with APS viewer, and i can't get this to work. When i upload a new model to the same bucket with the same name, even using 'x-ads-forcƩ': 'true', and HTTP_REQUEST_HEADERS, Will still show old model.

This is my translation fuction:

export const createTranslationJob = async (urn: string) => {
const responseToken = await getToken();
const token = responseToken.data.access_token;
const postURL = `${credentials.BaseURL}/modelderivative/${credentials.Version}/designdata/job`;

const postBody = {
    input: {
        urn
    },
    output: {
        formats: [
            {
                type: "svf2",
                views: ["2d", "3d"]
            }
        ]
    }
}

const response = await axios.post(postURL, postBody, {
    headers: {
        'Content-Type': 'application/json',
        // 'Accept': 'application/json',
        'Authorization': `Bearer ${token}`,
        'x-ads-force': 'true', //force to delete the existing manifest and create a fresh manifest
        //CORS
        'Access-Control-Allow-Origin': `${process.env.NEXTAUTH_URL}`,
    }
});

return response;}

And this is my init viewer fuction:

export const initViewer = async (divId: string) => {
let viewer: Autodesk.Viewing.GuiViewer3D;

const getClientToken = await Client.getAccesstoken();
// debugger;
const tolkenData = getClientToken.data;
const tolken = tolkenData.access_token;
const options = {
    env: 'AutodeskProduction2',
    api: 'streamingV2',
    accessToken: tolken,
};

await Autodesk.Viewing.Initializer(options, () => {
    const config3d = {
        extensions: [
            // 'CameraLockExtension',
            // 'EventsTutorial',
            // 'CustomizedToolbarExtension'
            // 'rebarColorExtension',
        ],
    };
    Autodesk.Viewing.HTTP_REQUEST_HEADERS = {
        "If-Modified-Since": "Sat, 29 Oct 1994 19:43:31 GMT"
    };
    const htmlDiv = document.getElementById(divId);
    viewer = new Autodesk.Viewing.GuiViewer3D(htmlDiv!, config3d);
    const startedCode = viewer.start();
    if (startedCode > 0) {
        console.error('Failed to create a Viewer: WebGL not supported.');
    }
    console.log('Initialization complete, loading a model next...');


});
return viewer!;

}

Any help??

Reasons:
  • Blacklisted phrase (1): Any help
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gabriel Jordan

79268250

Date: 2024-12-10 12:37:09
Score: 1.5
Natty:
Report link

I have faced the same issue.. but finally decided to go as follows:

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: ahmad.zuhd

79268244

Date: 2024-12-10 12:36:08
Score: 1
Natty:
Report link

So, I really really really hate this... When debugging we found that we needed to set the baseURL as our Keycloak client name. Then it worked.

After this we've upgraded our production environment and get this, the stupid problem didn't occur... Everything is still the same as it was before.

I have no idea what went wrong or why it works now but it does...

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Eli

79268242

Date: 2024-12-10 12:35:08
Score: 1
Natty:
Report link

I create a simple Github project available via composer https://github.com/bigb06/PHPCypherFile

PHPCypherFile provides a robust solution for encrypting large files securely without significant memory overhead. It combines the power of RSA for public/private key encryption and AES-256-CBC for symmetric encryption, ensuring both performance and security.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nicolas Chevallier

79268241

Date: 2024-12-10 12:35:07
Score: 7 🚩
Natty:
Report link

I have the same problem. It does not seem to come from imports indeed.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thoms

79268238

Date: 2024-12-10 12:34:07
Score: 3.5
Natty:
Report link

RigModels.com is baded on ThreeJS, you may use their programmings by reading website HTML/JS:

Useful links:

https://rigmodels.com/3d.php?view=MCRH01YX820KXIMJ6N1FF4HIP&ee=&mobileuser=0

https://rigmodels.com/3d_LOD.php?view=MCRH01YX820KXIMJ6N1FF4HIP

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

79268232

Date: 2024-12-10 12:32:06
Score: 4
Natty:
Report link

Just another option if someone is facing the same issues:

Check, if interactive plots are enabled in the PyCharm settings.

Search for: Use "mpld3" interactive plots for Matplotlib

and disable it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (0.5):
Posted by: Mario

79268231

Date: 2024-12-10 12:32:06
Score: 2
Natty:
Report link

I finally figured this out after 5 yeats of trying lol. ms-outlook://emails/message/open?restID=<messageId> https://heusser.pro/p/ios-deep-link-to-open-specific-email-in-outlook-app-firi7irtgqzn/

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mozzie

79268209

Date: 2024-12-10 12:26:04
Score: 2
Natty:
Report link

The issue was library libwinpthread-1.dll was missing in the system at runtime in the native code. My solution was to link statically libwinpthread and all now works fine!

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

79268207

Date: 2024-12-10 12:25:03
Score: 2.5
Natty:
Report link

If you’re planning to transfer a domain from Wix to Squarespace, I’ve created a comprehensive guide that walks through the entire process step by step. It’s particularly helpful for small business owners or individuals who want to ensure their domain transfer is seamless and doesn't impact their site's performance.

Here’s the link to the guide: https://affialapp.com/transfer-domain-from-wix-to-squarespace/

Let me know if you have questions or if there’s anything I could improve. Your insights would be greatly appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juber

79268204

Date: 2024-12-10 12:25:03
Score: 4.5
Natty: 4.5
Report link

As I have low reputation to comment, I have to reply. This is not a good solution : Chart1.ChartAreas[0].Position.X = 0;

It will destroy additional objects as legends to the chart and it will be overlapped with the graph.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): low reputation to comment
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ondrej Mackovic

79268200

Date: 2024-12-10 12:23:02
Score: 2
Natty:
Report link

You should try running npx expo doctor.

It should fix the broken dependencies

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

79268198

Date: 2024-12-10 12:21:01
Score: 2
Natty:
Report link

I have a similar problem but on a Linux machine. I'd summarize the problem and solution, which is already raised in the https://github.com/microsoft/azure-pipelines-tasks/issues/19255 GitHub issue.

Basically, the UsePythonVersion@0 expected to work on hosted agent out of the box. In self-hosted agent, you'll need some tinkering. Add the downloaded Python library folder to the LD_LIBRARY_PATH path:

  1. Connect to the VM via SSH, open the ~/.bashrc file and set the library path:
export LD_LIBRARY_PATH=/home/<your_agent_name>/agent/_work/_tool/Python/3.12.8/x64/lib

On Ubuntu machine, the libpython3.12.so.1.0 library file can be found at the /home/<your_agent_name>/agent/_work/_tool/Python/3.12.8/x64/lib path.

  1. Set the native library path before the Azure pipeline task:
variables:
  pythonVersion: '3.12.8'

jobs:
- job:
  pool: <self_hosted_agent>
  steps:
  - script: |
      echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]:/home/<your_agent_name>/agent/_work/_tool/Python/$(pythonVersion)/x64/lib"
    displayName: Add the Python library path to the Linux native code library path
  - task: UsePythonVersion@0
    inputs:
      versionSpec: $(pythonVersion)
    displayName: Use Python $(pythonVersion) version

Importantly, you need to specify the exact Python version in order to set the proper path.

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar problem
Posted by: PƩter SzilvƔsi

79268196

Date: 2024-12-10 12:21:01
Score: 3.5
Natty:
Report link

Add to Scaffold mofifier .imePadding()

enter image description here

enter image description here

look here https://canopas.com/keyboard-handling-in-jetpack-compose-all-you-need-to-know-3e6fddd30d9a

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

79268178

Date: 2024-12-10 12:13:59
Score: 0.5
Natty:
Report link

This happens when you try to connect without pairing.

You should call device.connectGatt() if

model.bondState == BluetoothDevice.BOND_BONDED
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Athira

79268172

Date: 2024-12-10 12:11:58
Score: 1
Natty:
Report link

If your app runs properly in Flutter version 3.24.5 but fails during a release build, follow these steps to fix it:

Check Logs: Use flutter build apk --release and review the error logs for details. Dependencies: Ensure all dependencies are compatible with the Flutter version by running flutter pub outdated and updating them if needed. ProGuard/R8: If using ProGuard, check your rules in proguard-rules.pro to avoid obfuscation issues. Clean Build: Run flutter clean and then rebuild with flutter build apk --release. Platform-Specific Code: Verify platform configurations (e.g., Android build.gradle or iOS settings) for compatibility.

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

79268171

Date: 2024-12-10 12:11:58
Score: 1
Natty:
Report link

Faced the same issue with custom formatter.

I split the the date into two interpolations

validations:
  date:
    min: "{{path}} must be after {{min, date(format: MMM DD)}}, {{min, date(format: YYYY)}}"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Roman Mikhaelyan

79268157

Date: 2024-12-10 12:05:56
Score: 1
Natty:
Report link

This is more of a workaround than a solution and has limited usage but for me it was enough to set merger.setDocumentMergeMode(PDFMergerUtility.DocumentMergeMode.OPTIMIZE_RESOURCES_MODE);

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

79268156

Date: 2024-12-10 12:05:56
Score: 1
Natty:
Report link
SELECT A,B,C FROM tabel1 where (tabel1.D,tabel1.E) in (SELECT tabel2.A,tabel2.B FROM tabel2 WHERE tabel2.Z);

We can give multiple conditions to the WHERE condition, then we can extract matching records only.

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

79268147

Date: 2024-12-10 12:02:55
Score: 3
Natty:
Report link

you need to update your android/build.gradle , android/app/build.gradle prefer šŸ‘‰šŸ» this document.

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tulsi virani

79268137

Date: 2024-12-10 11:57:54
Score: 1.5
Natty:
Report link

I used uv to to create the package. for adding shared libraries I simply placed them in src folder of the package and called uv build. And then the shared libraries available after users install the package in the same folder of the package.

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

79268136

Date: 2024-12-10 11:57:54
Score: 1.5
Natty:
Report link

The error ORA-00932: inconsistent data types occurs when Oracle Database encounters a mismatch in expected data types during execution. The issue arises with the SELECT * query in Oracle Application Express (APEX) when the SQL TEXT field is dynamic.

Try use DBMS_SQL for Dynamic Queries.

Another test you can do to identify the column is to select COLUMN from table until you find the column with the problem in the data.

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

79268135

Date: 2024-12-10 11:57:54
Score: 3.5
Natty:
Report link

The best way to do that is Testcontainers. Please check their documentation https://testcontainers.com/modules/redis/

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

79268133

Date: 2024-12-10 11:55:53
Score: 7 🚩
Natty:
Report link

@Arko, but the definition is nothing therefore remediation cannot add. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Arko
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Romeo

79268132

Date: 2024-12-10 11:55:53
Score: 2
Natty:
Report link
enum Status
{
    case PAID;
    case Cancelled;

    public static function get(): array
    {
        return [
            self::PAID->value,
            self::Cancelled->value
        ]
    }

Status::get();

The enum case is not dynamic. If we need to update the enum value, we need to update the Status enum, so why can't we do that?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Hasan Ali Haolader

79268124

Date: 2024-12-10 11:51:52
Score: 1.5
Natty:
Report link

After years I let vs Code go and moved to Visual Studio 2022, I discovered it on the web by mistake the answer. the issue was that there was no .Net install, which is why the issue occurred. you can download it from here: https://dotnet.microsoft.com/en-us/download and it should fix the issue. even though I have found a solution, as a more experiment unity developer I suggest you today to move to Visual Studio 2022, it's much better

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Noam Riahi

79268119

Date: 2024-12-10 11:50:52
Score: 1
Natty:
Report link

It was a file permissions problem. The console user didn't have read access of the .env file, but there was no error at time of reading.

I have been setting permissions as strict as possible and loosening them each time a problem arose... unfortunately this time took too long to realise it was a permissions problem.

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

79268116

Date: 2024-12-10 11:49:51
Score: 4
Natty:
Report link

To insert a non-breaking space in PhpStorm or any software, you do not need to install Persian (Standard). This operation is not performed by the software itself; it's related to the operating system. In Windows, this can be done with the shortcut key Shift + Ctrl + 2 (you must have the language set to Persian). However, in PhpStorm, this shortcut is already assigned to another function.

To avoid the need to install Persian (Standard) and to prevent the hassle of switching between normal and standard Persian, you need to remove this shortcut from PhpStorm. To do this, go to Settings, then navigate to the Keymap section, and search for mark. You will find the following option after scrolling down slightly: enter image description here

As you can see in the screenshot, I removed the option Toggle Bookmark 2, which was assigned to the shortcut Ctrl + Shift + 2. From now on, without needing to install Persian (Standard), I can create a non-breaking space using this default Persian language in the operating system by pressing Ctrl + Shift + 2.

If you have any questions about working with editors, please message me on Telegram at @arefalapour.

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): enter image description here
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @arefalapour
  • Low reputation (1):
Posted by: Aref

79268114

Date: 2024-12-10 11:49:50
Score: 4
Natty:
Report link

Since Laravel 8 you can generate a schema file: https://laravel.com/docs/11.x/migrations#squashing-migrations

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

79268105

Date: 2024-12-10 11:47:48
Score: 6 🚩
Natty:
Report link

At the moment, I have the same problem, but no solution. After removing and re-installing spyder, "conda doctor -v" reports two missing files: Scripts/gui-64.exe and Scripts/spyder-script.py. Maybe, this gives a hint to experts.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Thomas

79268093

Date: 2024-12-10 11:43:47
Score: 3
Natty:
Report link

File->Settings->Tools->Gemini

Uncheck this box

"Enable AI-based inline code completions"

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

79268090

Date: 2024-12-10 11:42:46
Score: 1
Natty:
Report link

As of nginx version 1.27.3 non-enterprise versions can also use resolve parameter on server inside upstream block to make the DNS record re-resolve.

upstream http_backend {
    server custom.domain.tld:443 resolve;

    keepalive 16;
}

server {
    ...

    location /http/ {
        proxy_pass https://http_backend;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
        ...
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paku

79268083

Date: 2024-12-10 11:39:45
Score: 1.5
Natty:
Report link

I added the following line into my Dockerfile:

RUN npm set strict-ssl false

This solved the problem for me.

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

79268080

Date: 2024-12-10 11:37:45
Score: 1
Natty:
Report link

As of nginx version 1.27.3 non-enterprise versions can also use resolve parameter on server inside upstream block to make it re-resolve.

upstream http_backend {
    server custom.domain.tld:443 resolve;

    keepalive 16;
}

server {
    ...

    location /http/ {
        proxy_pass https://http_backend;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
        ...
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paku

79268077

Date: 2024-12-10 11:35:44
Score: 0.5
Natty:
Report link

Now it's available, you can use it like

<GoogleAnalytics gaId="G-XYZ" debugMode />
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Siarhei

79268076

Date: 2024-12-10 11:35:44
Score: 3.5
Natty:
Report link

TWinControl has no exposed Color property. Look in to the Brush property, Brush.Color to be exact. For (not so much) further reading consult: https://docwiki.embarcadero.com/Libraries/Athens/en/Vcl.Controls.TWinControl.Brush

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

79268062

Date: 2024-12-10 11:32:43
Score: 3
Natty:
Report link

Mr Dagga code gives this output

403 Forbidden

403 Forbidden


nginx
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sachin Dingare

79268059

Date: 2024-12-10 11:31:43
Score: 1.5
Natty:
Report link

Overriding theme is not a good solution at all. You must handle border settings through ExpansionTile interface.

ExpansionTile(
    shape: LinearBorder.none,
    ...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Yousefi

79268053

Date: 2024-12-10 11:29:42
Score: 1.5
Natty:
Report link

I recently wrote a detailed guide about transferring a domain from Wix to Squarespace, as it’s a common issue for small business owners moving between platforms. The post includes a step-by-step process to ensure a smooth transition, avoiding downtime and preserving SEO rankings.

Check out the guide here: https://kadirwebex.com/transfer-domain-from-wix-to-squarespace/

Feel free to share your experiences or ask questions. I'd love to hear feedback and learn from this amazing community!

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

79268051

Date: 2024-12-10 11:29:42
Score: 2
Natty:
Report link

I'll post my answer here for people who have encountered the same error. I had installed the latest versions of the NuGet packages for my .NET MAUI project, which led to dependency errors since those versions were intended for .NET 9, whereas my project was based on .NET 8. Installing the appropriate versions meant for .NET 8 resolved my issue.

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

79268047

Date: 2024-12-10 11:27:41
Score: 0.5
Natty:
Report link

It's possible, but not very simple.

From google side:

You need Enable the Google Analytics Data API, create a service account and Grant Access to the Google Analytics Property.

From Oracle side: Create a python script that Authenticate with the API Using Service Account, then Insert Data into Oracle APEX Database.

After this, you can schedule on crontab.

Hope it helps.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eduardo Cunha

79268041

Date: 2024-12-10 11:25:41
Score: 1.5
Natty:
Report link

I also suggest to add

%matplotlib inline
%load_ext autoreload
%autoreload 2

to the head of py file in case "Open as a Jupyter Notebook" not responding

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

79268031

Date: 2024-12-10 11:23:40
Score: 2
Natty:
Report link

To remove a Git submodule:

Delete the submodule entry in .gitmodules and .git/config. Run git rm --cached path_to_submodule. Delete the submodule folder manually. Commit the changes. git submodule rm isn’t a valid command; the process requires manual steps.

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

79268008

Date: 2024-12-10 11:17:39
Score: 1
Natty:
Report link

Loading Runtime Configurations:

You usually don't need to recompile if your program is configured to read the property file dynamically at runtime. As long as the program can detect or reload changes, many frameworks, including Java's Spring Boot, let modifications to property files without recompilation. Compilation-Time Property Embedding: You must recompile your project in order for changes to take effect if property file values are embedded within the compiled code (for example, by being turned into constants or included in the build artifacts). Frameworks for Development Tools: Changes may take effect automatically without the need for manual recompilation or restarting if you're using a framework or tool with hot-reloading capabilities, like webpack in a JavaScript project or devtools in a Spring Boot application.

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

79268002

Date: 2024-12-10 11:15:38
Score: 2.5
Natty:
Report link

For me this was caused by the host running out of disk space.

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

79268001

Date: 2024-12-10 11:15:38
Score: 0.5
Natty:
Report link

For others experience the same problem, I found a solution and documented it over here: Blazor WebAssembly CSS isolation scoped identities doesn't match

In summary; change the modified dates of your base blazor CSS files to force them to be re-transpiled (like Layout/MainLayout.razor.css and Layout/NavMenu.razor.css)

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

79267998

Date: 2024-12-10 11:15:38
Score: 1.5
Natty:
Report link

Starting in Chrome 132, DevTools has built in support for viewing extension storage. You can read more about it here: https://developer.chrome.com/docs/devtools/storage/extensionstorage

This is currently in Chrome beta and will be available in stable early January.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Oliver Dunk

79267995

Date: 2024-12-10 11:13:38
Score: 0.5
Natty:
Report link

Same thing happened to me, and I trawled a lot of StackOverflow queries that suggested cleaning and rebuilding would sort it, which it didn't.

Then I realised that there must be something about the blazor compiler only rebuilding when it thinks the original sources have changed.

So I opened /Layout/NavMenu.razor.css and Layout/MainLayout.razor.css, added a blank line and saved them. Then the publish worked - it must have checked the modified-dates on these files and decided that it didn't need to regenerate the scoped versions. Changing that modified time caused it to re-transpile them.

Note that you might have other transpiled CSS files (likely native Blazor ones, rather than your own components) that you may need to touch to force than trans-compilation.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: skotl

79267992

Date: 2024-12-10 11:12:37
Score: 2
Natty:
Report link

in 2024, you can resolve this by

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

79267990

Date: 2024-12-10 11:11:37
Score: 3.5
Natty:
Report link

I finally figured it out. I added a min and max in the group footer then created a formula that calculates the difference between the two dates.

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

79267988

Date: 2024-12-10 11:10:37
Score: 1
Natty:
Report link

I also encountered an issue when trying to send email verifications. Specifically, you need a Gmail account that won't ends with @gmail.com. If you're using a different type of Gmail, such as a college or office email (e.g., [email protected]), it may support less secure apps in its settings.

For accounts like these, you may need to enable App Passwords in the Gmail settings. If you'd like, I can provide my Gmail for testing purposes. Feel free to message me on Instagram (https://www.instagram.com/_charitraa_/), and I’ll share my Gmail to help you test the email verification process.

Alternatively, you can enable App Passwords on my another account and try it yourself. i have two account of my college.

Verification.enter image description here

enter image description here

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

79267986

Date: 2024-12-10 11:10:37
Score: 1.5
Natty:
Report link

Starting in Chrome 132, DevTools has built in support for viewing extension storage. You can read more about it here: https://developer.chrome.com/docs/devtools/storage/extensionstorage

This is currently in Chrome beta and will be available in stable early January.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Oliver Dunk

79267973

Date: 2024-12-10 11:05:36
Score: 1
Natty:
Report link
sips:youremailaddress

worked for me. Just sip: open zoom. lynk15 doesnt find chat.

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

79267969

Date: 2024-12-10 11:03:35
Score: 0.5
Natty:
Report link

Here is an example of curve edge:

library(visNetwork) # v2.1.2

nodes = data.frame(id = letters[1:6], 
                   label = letters[1:6])

edges = data.frame(from = c("a", "a", "a", "a", "b", "d", "d", "e"),
                   to = c("b", "c", "d", "e", "c", "e", "f", "f"))

edges <- (edges 
          %>% mutate(
            smooth.enabled= TRUE,
            smooth.type='dicrete',
            roundness=0.8
          )
)

visNetwork(
  nodes = nodes, 
  edges = edges
) 

Try other options explained here :

And convert it to R visNetwork. For example "smooth": { "type": "cubicBezier" } becomes smooth.type='cubicBezier'.

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

79267956

Date: 2024-12-10 10:59:34
Score: 1.5
Natty:
Report link

Update: For Flask 2.3 and later use this:

app.json.sort_keys = False

Source

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

79267955

Date: 2024-12-10 10:59:34
Score: 1
Natty:
Report link

You could also do like:

<form method="post" id="myForm">
    <button type="submit">Submit</button>
</form>
<button type="submit" form="myForm" class="btn btn-primary">Save changes</button>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matheus Sch

79267939

Date: 2024-12-10 10:55:32
Score: 8.5
Natty: 7.5
Report link

Having the same exact problem, did you manage to figure out what's wrong?

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to figure out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Spyros Kousk

79267937

Date: 2024-12-10 10:55:32
Score: 0.5
Natty:
Report link

Eh, for anyone wondering, it turned out that you can disable "New UI" which was released in 2024.

The solution is simply to:

  1. From the main menu, navigate to File | Settings | Plugins | Marketplace
  2. Search for classic ui
  3. Click the Install button
  4. Restart the IDE to get the old UI back

Full answer can be found here

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Domin

79267932

Date: 2024-12-10 10:54:32
Score: 3.5
Natty:
Report link

Similar issue here but with 3.12.4 kernel, I have noted that error when printing out such --> name=input("please enter your name: "), I have to interrupt the execution and restart the kernel
The funny is if write it on a plain .py program (rather a .ipynb) it works!

Reasons:
  • RegEx Blacklisted phrase (1): Similar issue
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28714135

79267927

Date: 2024-12-10 10:52:31
Score: 2
Natty:
Report link

I faced the same problem a year ago. In my case, it was due to trying to install everything manually. However, jafingerhut has nice scripts to get everything set up and running correctly on a fresh Ubuntu 20.04/22.04/24.04 install. And virtual machine images too, in case that's an option for you.

See here: https://github.com/jafingerhut/p4-guide/blob/master/bin/README-install-troubleshooting.md

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

79267924

Date: 2024-12-10 10:51:31
Score: 2
Natty:
Report link

Run the following command to disable SSL during Git operations like cloning:

git config --global http.sslverify "false"

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

79267923

Date: 2024-12-10 10:50:30
Score: 9.5 🚩
Natty: 5
Report link

I am trying to do more or less the same. You can install the LoRa-RF python library (standard one, not a third party), as all the implementation is thought to be with SPI. Or maybe you can use https://github.com/chandrawi/LoRaRF-Python , that is more or less the same but with some upgrades (third party).

I have worked with SX127X as it seems to be fine.

But i am struggling with SX1262. As i always get 0x00 from the SPI. This, for example, is the output of your program: GetStatus 0x0 GetPacketStatus 0x0 ReadBuffer 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0

But i have tried with very simple tests and always get 0x00. My RPi SPI seems to be working fine as i can connect with the already mentioned SX127X. But i am unable with SX126X. My comm jumpers are both at B and the M1 and M0 are both short. Do you have any idea of what can be happening to me, as you seem to have this working?

Regards!

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (1): i am struggling
  • Blacklisted phrase (1): I am trying to
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Do you have any
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: gixeska

79267920

Date: 2024-12-10 10:49:29
Score: 6.5 🚩
Natty: 6
Report link

any update on this one? Martijn

Reasons:
  • Blacklisted phrase (1): update on this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: bond beheer

79267918

Date: 2024-12-10 10:48:28
Score: 1.5
Natty:
Report link

It's a suggestion, if there's an inconsistency, plz point it out. So, what if traversal start with max value of used compared to capacity, then after that it selects nxt node based on say highest used/cap ratio in its neighbors and so on, if it reaches a node that doesn't have untraversed neighs, it can backtrack,and u can continue this way endlessly

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

79267916

Date: 2024-12-10 10:48:28
Score: 2.5
Natty:
Report link

It is closed ticket, but let there be noted the solution> select query text right click / preferences / Resource / Text file encoding - other / US-ASCII

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

79267909

Date: 2024-12-10 10:46:25
Score: 7 🚩
Natty:
Report link

Hello I developed a desktop web automation program with C# selenium, but when publishing it, it does not work on another computer (without Visual Studio 2022 installed) and gives this error. What should I do? enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (2): What should I do
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Ali Akdoğan

79267905

Date: 2024-12-10 10:43:24
Score: 1
Natty:
Report link

"...to change row 4's..."

import openpyxl
from openpyxl.styles import Font
col_range = sh.max_column  #get max columns in the worksheet
for k in range(1, col_range + 1): 
    sh.cell(row=4, column=k).font = Font(name='Arial', size=8)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28712982

79267902

Date: 2024-12-10 10:42:24
Score: 0.5
Natty:
Report link

I find this solution that seem like work well. Sure is not best and elegant solution but i'm working with few data and i don't care too much to benchmark and i have only 2 days for develop calendar in custom cms. I stuck for a few hours on .refreshEvents() but seem like to work only with function or json but i can't manipulate data from db in the cms RESTAPI and i need to do in my browser JS.

This is my solution, declare and render calendar in function:

let calendarEl=[] // Global declaration
calendarOption={events: calendarEvent} // Calendar option

async function  createCalendar (){
      await $.get("/calendar/getAllEvents", function (response) {
            refreshEvents(response.data) // fnc manipulate response
          })
        // Declare calendar
        let calendar = new Calendar(calendarEl, calendarOption);
        calendar.destroy();
        calendar.render();
    }

In manipulation function i fetch the end point for update but if the calendarEvent.length>0 i set length of array to 0. This is the only solution that i find working. If you set calendarEvent=[] give me some issue and refresh not work.

function refreshEvents (data){
            //calendarEvent=[] This not work
            if(calendarEvent.length>0){
              // this work
              calendarEvent.length = 0
            }
            for (let i = 0; i < data.length; i++) {
                const el = data[i];
                // manipulate data
                event={
                    // create event object
                }
                // update global array
                calendarEvent.push(event)
            }
         }

In the end i call createCalendar() on startup and after insert/update/delete action

$(document).ready(async function () {      
      await createCalendar ()
      .
      .
}

Hope this is usefull for someone

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (3): give me some
  • Whitelisted phrase (-2): This is my solution
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jacklondon

79267900

Date: 2024-12-10 10:42:24
Score: 1.5
Natty:
Report link

Just create another default project. Then copy old folders lib, assets and paste in new project. Copy the dependencies packages in pubspec.yaml and paste it into new pubspec.yaml. Change also ndk version to highher ex:"25.1.8937393" in build.gradle. Ensure targetSdk, compileSdk, minSdk versions is properly put. Update version into settings.gradle Finally, try run project. It's done!!! :)

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

79267896

Date: 2024-12-10 10:40:23
Score: 3.5
Natty:
Report link

It seems to be a bug in test subscription handling on MacOS side. Production subscriptions work as expected after a release to AppStore.

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

79267879

Date: 2024-12-10 10:34:22
Score: 2
Natty:
Report link

What fixed the issue for me is this:

In aws console, go to EKS,and create access entry (of the type Standard) for the user - > first add AmazonEKSAdminViewPolicy and then test you are able to run basic view commands such as kubectl get svc. Then come back to console and in same access entry, edit to also add AmazonEKSClusterAdminPolicy. Sometimes, creation of access policies is hindered by errors if you try to add multiple policies at same time, so go sequentially.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): What fix
  • Low reputation (1):
Posted by: Irshad Nizami

79267875

Date: 2024-12-10 10:32:21
Score: 4
Natty:
Report link

i think its possible to scale ui......

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

79267853

Date: 2024-12-10 10:25:19
Score: 1.5
Natty:
Report link

Some of the answers above are missing a vital piece of information:

  1. L1 or L2 regularization of a vector of parameters IS NOT THE SAME AS NORM of that vector of respective order.

  2. It is NOT WRONG to apply different regularization to different layers or even on selected model parameters only. It is only a best practice to apply it consistently on all model parameters. For example, what if I want first layer of my model to be more interpretable than the second? Given that,

Given the above reasons,

  1. the statement in @rainy's answer:
l1_regularization += torch.norm(param, 1)**2

should be modified to:

l1_regularization += torch.norm(param, 1)

because norm of order 1 wasn't square-root(ed) and **2 would make the term as |w|^2, which is not even l1 or l2 :P

  1. The statement in @sasank's answer:
l2_regularization = lambda2 * torch.norm(all_linear2_params, 2)

should be modified to:

l2_regularization = lambda2 * torch.norm(all_linear2_params, 2)**2

because norm of order 2 is square-root(ed) and l2 regularization should be without square-root, although adding a square root version would simply scale down the gradients.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @rainy's
  • User mentioned (0): @sasank's
  • Low reputation (0.5):
Posted by: bitspersecond

79267847

Date: 2024-12-10 10:21:17
Score: 6.5 🚩
Natty: 5
Report link

I have the same problem,I have the same problem,I have the same problem,I have the same problem,I have the same problem,I have the same problem,

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: cheng xin

79267845

Date: 2024-12-10 10:21:17
Score: 1
Natty:
Report link

You can pass the parameter recreate="always" to the method batch_alter_column so that a new table is created and the old one is deleted. This way, you won't have problems with prior constraints. This can be helpful with the migrations of not so big tables (as otherwise the performance would be bad). Check Alembic's docs here.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JosƩ Martinho

79267842

Date: 2024-12-10 10:20:16
Score: 4
Natty:
Report link

I have same problem but i tried out this

void main() {
  print(fixNumber(8123456789, amountOfZeroes: 4));    // 1000056789
  print(fixNumber(9665789456789, amountOfZeroes: 5)); // 1000009456789
}

int fixNumber(int number, {required int amountOfZeroes}) {
  return int.parse('1' + '0' * amountOfZeroes + number.toString().substring(amountOfZeroes + 1));
}
Reasons:
  • Blacklisted phrase (1): I have same problem
  • Has code block (-0.5):
  • Me too answer (2.5): I have same problem
  • Low reputation (1):
Posted by: Nehal Babu

79267830

Date: 2024-12-10 10:16:15
Score: 1
Natty:
Report link

Here is the solution

eas build -p android --profile production

eas.json:

"production": {
      "android": {
        "applicationArchivePath": "android/app/build/outputs/**/*.aab"
      }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Karim Kalashov