79273300

Date: 2024-12-11 22:09:50
Score: 1
Natty:
Report link

You need to add an "r" to make a raw string so the backslashes will be interpreted correctly

food['GPA'] = food['GPA'].astype(str).str.extract(r'(\d*\.\d+|\d+)', expand=False)
food['GPA'] = pd.to_numeric(food['GPA'], errors='coerce')
print(food['GPA'].unique())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: joel

79273298

Date: 2024-12-11 22:08:50
Score: 2.5
Natty:
Report link

For me it worked when I used case when statement first, created a new column and then used that new column to filter out for the observations that I wanted to keep.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kamila rywelska

79273295

Date: 2024-12-11 22:06:49
Score: 1
Natty:
Report link

I ran into Same issue even after setting up CORS currectly adding Cache-controle and pragmain the headers request fixed it for me

 const response = await fetch(`s3bucketurl`, {
        headers: {
            "Cache-Control": "no-cache",
             Pragma: "no-cache",
        }
    });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SetUp

79273285

Date: 2024-12-11 21:59:48
Score: 1.5
Natty:
Report link

Just use iloc and slice as you would do with a list i.e. start:end:step. Example:

df = pd.DataFrame({"A":range(100)})
display(df.T)
display(df.iloc[0::5].T)
display(df.iloc[1::5].T)
display(df.iloc[2::5].T)
# ...

res

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

79273282

Date: 2024-12-11 21:58:47
Score: 2.5
Natty:
Report link

first of all it's Tanstack Router.
What's in MyComponent.tsx?, if there is nothing related to routing (I imagine not, since the error indicates that you are not exporting a Route) move it from the routes folder

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tomás Canales

79273281

Date: 2024-12-11 21:58:47
Score: 1.5
Natty:
Report link

I had this issue also. For me, the problem is that GAppM-10.24.0.tgz has files inside it with very long names. These long names cannot extract to the C:\Users{username}\AppData\Local\XamarinBuildDownloadCache\ directory because it violates the MAX PATH length of 260 characters. (At least on Windows 10). So it hangs trying to create a file it cannot create.

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

79273276

Date: 2024-12-11 21:54:46
Score: 1
Natty:
Report link

No. In order to call the third-party api while keeping the API Key secret a server side request should be made instead (i.e: A request on the backend) and the response of that request should then be sent to your frontend/web client.

Any request sent on the frontend would be logged in the network console on the browser devtools where you can get details about the request including any authorization headers. enter image description here

To keep your secret key SECRET, It is better you set up your API Request on your backend server, such that the request is securely handled on the backend and the response of that request is sent over to the frontend through the existing secure API integration between your frontend and your backend.

Extra tips include:

  1. Storing your SECRET Key in an environment variable on the Backend
  2. Using an API gateway or service to manage and authenticate API requests
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Harrylever

79273268

Date: 2024-12-11 21:49:45
Score: 1.5
Natty:
Report link

You should use the hasAuthority annotation instead.

@PreAuthorize("hasAuthority('AGNI_OIMIVR')")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamza Naceur

79273262

Date: 2024-12-11 21:48:45
Score: 2
Natty:
Report link

It is not the same:

ML.net: https://dotnet.microsoft.com/en-us/apps/ai/ml-dotnet

Tensorflow.net: https://github.com/SciSharp/TensorFlow.NET

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

79273246

Date: 2024-12-11 21:40:43
Score: 2.5
Natty:
Report link

I solved the problem opening the project in VS first. There the missing things were clearer. And after installing all the missing files in VS and compiling it there, Rider worked and compiled smoothly

Sorry if I don't have the correct words but I am a beginner/enthusiast coder.

Reasons:
  • Whitelisted phrase (-2): I solved
  • RegEx Blacklisted phrase (2): I am a beginner
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Loxevan

79273240

Date: 2024-12-11 21:36:42
Score: 2
Natty:
Report link

Consider switching to Vite.

Here's how to set up a new React project using Vite:

# Create new Vite project
npm create vite@latest my-react-app

# Navigate to project directory
cd my-react-app

# Install dependencies
npm install

# Start dev server
npm run dev

https://github.com/facebook/create-react-app/issues/13717#issuecomment-2537222504

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

79273238

Date: 2024-12-11 21:35:41
Score: 0.5
Natty:
Report link

The answer to my problem, was some wort of weird behaviour, axios actually made the requests to http://sub.domain.tld/api/path, while my reverse proxy forwarded that to the IP:Port, as it was http and not https, after adding a '/' at the end of the api_url, not the base_path, I could finally get everything to work.

Hope this helps anyone else :)

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: crazywolf

79273217

Date: 2024-12-11 21:27:39
Score: 1
Natty:
Report link

It looks like the setting:

spark.sql.ansi.enabled true

Must be set on non-serverless job/non SQL warehouse clusters for the behaviour to be consistent. This is on by default in those clusters, but not others.

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

79273214

Date: 2024-12-11 21:26:39
Score: 2.5
Natty:
Report link

hi so I'm smart and intelligient and I can answer this very good questeion so when your background colors have an argument they call a divorse lawyer and they have to go to either marriage concilling or get a divource and if they do then you should pick if you want to go with mommy or daddy but its hard choice because yeah

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jimbob funglepants

79273201

Date: 2024-12-11 21:22:37
Score: 4
Natty: 4.5
Report link

yes im very intelligent and can answer this very complicated question and say that the sharp means that its sharp and if you touch it you'll feel ouch!!!!!!!!!!!!!!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Filler text (0.5): !!!!!!!!!!!!!!
  • Low reputation (1):
Posted by: jimbob funglepants

79273196

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

I found out that even though I could see the file in file explorer at the file location, when I went to the command line there, and listed the directory, the file name was actually readFile.txt.txt. It was displayed as readFile.txt with text file type. I renamed the file and removed the extra .txt and it was found by the code. Thanks for all the help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Michele

79273186

Date: 2024-12-11 21:16:35
Score: 5
Natty: 5
Report link

is there a way of using multiple arrays in indirect function? Unfortunately vstack function is not available in the 2019 version....

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): is there a way
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there a
  • Low reputation (1):
Posted by: David Titz

79273182

Date: 2024-12-11 21:15:34
Score: 1
Natty:
Report link

To complete the answer from John Rotenstein.

A stateless machine, service, or component does not retain information about the state of a session or transaction after it has been processed.

Thus, in the case of the NACL, it can't work on OSI layer 4 as it can't record session begin and end. However it have nothing to do with the fact that NACL block traffic by default, this is because it's policy is "deny by default".

To answer the original question, it seems that NACL are stateless in order to avoid unintended complexity while optimizing bandwidth as is the AWS mindset (simplexity).

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

79273175

Date: 2024-12-11 21:12:33
Score: 1.5
Natty:
Report link

This can be too late to answer but the capabilities that Python libraries do for Excel are very limited based on my experience.

Intead, SheetFlash, which is my favorite Excel add-in, can be your solution. You don't have to write any codings but you can set up the automation workflows within Excel. You don't need to learn coding.

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

79273174

Date: 2024-12-11 21:12:33
Score: 2
Natty:
Report link

Draw(Line, 2, color)

but make sure you add the direct 9 library and includes in visual studio in properties.

Also if you wanna learn how to draw in Direct9, 11, 11.1 & 11.2 go here: http://www.directxtutorial.com/

It contains all the information you need to get you started.

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

79273173

Date: 2024-12-11 21:12:33
Score: 4.5
Natty:
Report link

It is possible using Snowsight webui. You can create filters with static lists or dynamic lists from a table. Refer to this documentation for creating filters. I'm not sure if it is feasible in Datagrip or Beaver. It is annoying to type or paste values.

Creating filters example

filter use

results

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: neeru0303

79273172

Date: 2024-12-11 21:11:33
Score: 1
Natty:
Report link

It doesn't require another call to the API.

In the YouTube iFrame's onReady handler, getPlayerState() will return -1 (unstarted) for "unavailable" videos, while all other videos should return a status of 5 (video cued).

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

79273164

Date: 2024-12-11 21:08:31
Score: 4
Natty:
Report link

What does onPointerEnterCapture and onPointerEnterLeave mean? What types do they hold? I thought they were used for assistive text but I'm not sure.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What do
  • Low reputation (1):
Posted by: Delilah

79273163

Date: 2024-12-11 21:07:31
Score: 0.5
Natty:
Report link

Got a response from an Apple engineer on how to correctly handle this:

.onPreferenceChange(HeightKey.self) { [$height] height in
  $height.wrappedValue = height
}

I feel a little sheepish for not realizing this earlier.

The approach that avoids preferences by @Benzy Neez is also a good one.

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

79273151

Date: 2024-12-11 21:03:30
Score: 1
Natty:
Report link

I'm going to add an additional option here that doesn't require a loop.

If want to do this 'n' times, you can do:

const timeReduction = (time, n) => time * Math.pow(0.955, n)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kofu

79273144

Date: 2024-12-11 21:00:29
Score: 3
Natty:
Report link

Using Environment.isExternalStorageLegacy() does what I need. I tested it on Android 10 with request/preserveLegacyExternalStorage and without. Without, you cannot access databases outside of app specific storage and SAF is required to access documents outside of the app.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dana Bell

79273132

Date: 2024-12-11 20:54:27
Score: 1
Natty:
Report link

When you add builder.AddServiceDefaults(); to your applications which implemented on ServiceDefaults project , its adds this code builder.Services.AddServiceDiscovery().

Service discovery read your urls from "Services" section on the application settings

So use this:

builder.Configuration.GetSection("Services").GetChildren();

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you addto you
  • Low reputation (1):
Posted by: Mohamed Dawood

79273125

Date: 2024-12-11 20:52:27
Score: 1.5
Natty:
Report link

only create 3 topics

It should create 11

randomly it is creating three topics

Yes, those are internal topics for utilities.

can anyone explain what does tasks.max property do?

For JDBC source - nothing, since it is limited to just 1. Otherwise, imagine if you were using MirrorMaker2, then the tasks should equal the amount of partitions to distrubue


Suggest reading through https://docs.confluent.io/platform/7.1/connect/concepts.html#connectors

Reasons:
  • RegEx Blacklisted phrase (2.5): can anyone explain what
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: OneCricketeer

79273122

Date: 2024-12-11 20:49:26
Score: 1
Natty:
Report link

I agree with your assesment. This warning apparently assumes that all queries start with graph.V(), which is not the case for your example. It would be best to report the issue here.

Issuing a query that causes a full graph scan is not a fatal error. The gremlin VM running in JanusGraph will simply time out if your graph is large and server resources will become available again for more sensible queries.

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

79273113

Date: 2024-12-11 20:42:24
Score: 1
Natty:
Report link

I had a similar problem where I needed to obtain the correct value that a user's keypress would generate to evaluate it properly, so I learned from other answers here and wrote my own.

function getNewValue(evt) {
    var start = evt.target.selectionStart,
        end = evt.target.selectionEnd,
        charCode = (evt.which) ? evt.which : evt.keyCode,
        original = $(evt.target).val(),
        char = String.fromCharCode(charCode),
        newer = "", inserted = false, single = 0;
    
    if (start == end) single = 1;

    if (original.length > 0) {
        for (var i = 0; i < original.length; i++) {
            if (!inserted) {
                if (single && i == start) {
                    newer += char + original[i];
                    inserted = true;
                } else if (!single && i == start) {
                    newer += char; inserted = true;
                } else
                    newer += original[i];
            } else {
                if (single)
                    newer += original[i];
                else if (i < start || i >= end)
                    newer += original[i];
            }
        }
        if (!inserted) newer += char;
    } else newer += char;

    console.log("newer: " + newer);
    // You can add conditions here to evaluate "newer".
    // Use "return false" to reject "newer".
}

I use this function by adding the following to the HTML element that I want to evaluate:

onkeypress="return getNewValue(event)"

I haven't had any problems with it, but I'll update this answer if I find a better alternative or notice any problems.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Gojon

79273110

Date: 2024-12-11 20:41:23
Score: 4.5
Natty: 5
Report link

This is a good explanation of what those logs are and how to access them.

https://www.thedfirspot.com/post/sum-ual-investigating-server-access-with-user-access-logging

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

79273106

Date: 2024-12-11 20:38:23
Score: 1.5
Natty:
Report link

It seems that plyer's uniqueid.py file does not work on ios by default. Changing the line uuid = UIDevice.currentDevice().identifierForVendor.UUIDString() to uuid = UIDevice.currentDevice().identifierForVendor.UUIDString resolves this issue.

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

79273101

Date: 2024-12-11 20:35:22
Score: 2
Natty:
Report link

Chat gpt solved it:

import tensorflow as tf
from tensorflow import keras

# Callback personalizado
class ExponentialLearningRate(keras.callbacks.Callback):
    def __init__(self, factor):
        super().__init__()
        self.factor = factor
        self.rates = []
        self.losses = []

    def on_batch_end(self, batch, logs=None):
        logs = logs or {}
        self.losses.append(logs.get("loss", None))

        # Obtener el valor de learning_rate y asegurarnos de que sea un número
        lr = self.model.optimizer.learning_rate
        if isinstance(lr, tf.Variable):
            lr = lr.numpy()  # Convertir a valor numérico si es un tf.Variable

        # Registrar la tasa de aprendizaje
        self.rates.append(lr)

        # Actualizar el learning rate
        if isinstance(lr, (float, int)):
            new_lr = lr * self.factor
            self.model.optimizer.learning_rate.assign(new_lr)  # Modificar learning_rate

# Modelo simple
model = keras.models.Sequential([
    keras.layers.Flatten(input_shape=[28, 28]),
    keras.layers.Dense(300, activation="relu"),
    keras.layers.Dense(100, activation="relu"),
    keras.layers.Dense(10, activation="softmax")
])

# Compilar modelo
model.compile(
    loss="sparse_categorical_crossentropy",
    optimizer=keras.optimizers.SGD(learning_rate=1e-3),
    metrics=["accuracy"]
)

# Crear el callback
expon_lr = ExponentialLearningRate(factor=1.005)

# Ajustar modelo
history = model.fit(
    X_train, y_train,
    epochs=1,
    validation_data=(X_valid, y_valid),
    callbacks=[expon_lr]
)

Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jjvvrr

79273082

Date: 2024-12-11 20:25:19
Score: 0.5
Natty:
Report link

The above logic was good, something was wrong with my prototype. Here is some drier code that I can confirm works on ESP32C6 that also implements a suggestion by @romkey. This is running with a 10K external resistor and not esp_sleep_pd_config().

#include <Arduino.h>
#include <esp_sleep.h>

uint64_t gpio_pin_mask = (1ULL << 4);
RTC_DATA_ATTR unsigned btn_state;

void setup() {
  Serial.begin(115200);
  pinMode(4, INPUT_PULLUP);
}

void loop() {
  btn_state = digitalRead(4);
  Serial.println("btn state " + String(btn_state));
  if (btn_state == 0) {
    esp_sleep_enable_ext1_wakeup_io(gpio_pin_mask, ESP_EXT1_WAKEUP_ANY_HIGH);
  } else {
    esp_sleep_enable_ext1_wakeup_io(gpio_pin_mask, ESP_EXT1_WAKEUP_ANY_LOW);
  }
  Serial.println("Entering sleep...");
  delay(1500);
  esp_deep_sleep_start();
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @romkey
  • Self-answer (0.5):
Posted by: DaveL17

79273058

Date: 2024-12-11 20:12:16
Score: 0.5
Natty:
Report link

The feature was introduced in VSCode 1.85 but is only noted in the release notes. There is no official documentation for it.

See https://github.com/microsoft/vscode-docs/blob/main/remote-release-notes/v1_85.md#opt-out-of-extensions for the details.

Use - prefix to opt-out the extension, example:

    "customizations": {
        "vscode": {
            "extensions": [
                "-dbaeumer.vscode-eslint"
            ]
        }
    }
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Jakub Míšek

79273042

Date: 2024-12-11 20:06:13
Score: 18.5
Natty: 10
Report link

I have same problem.Did you solve it? How did you solve ? Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I have same problem
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (3): did you solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (1.5): solve ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Burçin ATALAY

79273041

Date: 2024-12-11 20:06:13
Score: 3
Natty:
Report link

Is so disheartening to loose money to scammers, it happened to me then I came to realize that you can never be too careful, well I'm glad today that I was able to recover my funds back Alex cryptoFX @ writeme dot com got me back my funds, it was hard to believe until I received my money

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

79273034

Date: 2024-12-11 20:05:13
Score: 2.5
Natty:
Report link

Verify that you are using the company name that you use when signing into ConnectWise. Do not use one from the companies section of Manage or from the company search once you are signed in.

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

79273029

Date: 2024-12-11 20:04:12
Score: 1
Natty:
Report link

Expanding a bit on top of the @Pavel Strakhov's answer, inspired by @kevinarpe's comment.

The name of the metatype registered using qRegisterMetaType must EXACTLY match the signature of the signal (including all namespaces etc.)

It may be a bit cumbersome or surprising when dealing with nested classes:

struct XyzService 
{ 
  struct Result {};

  signals:
    void signalDoWork(const Result&);
};

in this case, the matching registration would be:

qRegisterMetaType<XyzService::Result>("Result")

If you would like to be overly explicit, you may give the signal signature a fully qualified name, then it becomes:

struct XyzService 
{ 
  struct Result {};

  signals:
    void signalDoWork(const XyzService::Result&);
};

and the corresponding registartion:

qRegisterMetaType<XyzService::Result>("XyzService::Result")

works without warnings.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Pavel
  • User mentioned (0): @kevinarpe's
  • Low reputation (1):
Posted by: Piotr Pałucki

79273024

Date: 2024-12-11 20:02:12
Score: 1.5
Natty:
Report link

you didn't install..

pip install pyautogui
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SSujitXX

79273013

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

As of Dec 2024, video media queries work again on all major browsers.

<video>
    <source src="/small.mp4" media="(max-width: 600px)">
    <source src="/large.mp4">
</video>

ref: https://scottjehl.com/posts/using-responsive-video/

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

79272990

Date: 2024-12-11 19:47:08
Score: 4
Natty:
Report link

In case helpful; filters are also listed at source in the function: def _get_network_filter in _overpass.py : https://github.com/gboeing/osmnx/blob/main/osmnx/_overpass.py

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: dbo

79272982

Date: 2024-12-11 19:46:07
Score: 2
Natty:
Report link

I got this error when I pressed F5 in VSCode with a _test.go file open. When I switched to a non-test file, I could run the program just fine.

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

79272970

Date: 2024-12-11 19:40:06
Score: 2.5
Natty:
Report link

It can't. If the thread is woken spuriously, it will re-compare the value and wait again if unchanged.

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

79272964

Date: 2024-12-11 19:36:05
Score: 3
Natty:
Report link

Order of the components also matter. In my case the parent component was a FlatList and you also need to add "keyboardShouldPersistTaps={'handled'}" there to make it work

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

79272961

Date: 2024-12-11 19:35:05
Score: 3.5
Natty:
Report link

just restarting powershell after setting env path variable worked

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

79272955

Date: 2024-12-11 19:34:05
Score: 2.5
Natty:
Report link

Thanks for all the pointers everyone the thing that ended up working however was adding FROM node:20-alpine3.17 to the docker and docker compose files. As shown in this comment https://github.com/nodejs/docker-node/issues/2175#issuecomment-2530559047

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: codernoob8

79272952

Date: 2024-12-11 19:33:04
Score: 2.5
Natty:
Report link

If you are using PowerShell on Windows it aliases "gs" to the command Get-Member - make sure you run your code from the regular console....

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

79272951

Date: 2024-12-11 19:32:04
Score: 3
Natty:
Report link

Please try checking the folder nearby. I had almost the same problem some time ago, and I found reports in a folder called "/".

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

79272944

Date: 2024-12-11 19:29:03
Score: 1
Natty:
Report link

screensize: QtCore.QSize = (
    self.screen().size() * self.screen().devicePixelRatio()
)

This method retrieves the DPI-aware resolution of the screen in pixels. It ensures accurate scaling for high-DPI displays.

Source

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

79272937

Date: 2024-12-11 19:27:03
Score: 3
Natty:
Report link

My takeaway, is if the documentation says the datatype is opaque, use the functions of the library the datatype came with to manipulate its contents.

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

79272931

Date: 2024-12-11 19:25:02
Score: 4
Natty:
Report link

I am not sure I understand the question. I ran this on my laptop and it did give me the ids you are calling.enter image description here

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

79272928

Date: 2024-12-11 19:25:02
Score: 4.5
Natty: 5
Report link

I wrote a whole bluesky thread about this: https://bsky.app/profile/cecisharp.bsky.social/post/3ld2bpp5qj22h

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

79272917

Date: 2024-12-11 19:19:00
Score: 1
Natty:
Report link

To solve your problem you may use application FF-JW_02-8(shooting from a cannon at sparrows) from 1, that satisfies your Constraints(including Input Constraints) and Objective. you must run the app in variant "By Output Resource" with input data(in text file): 7 13 0 6 200 200 0 1 5 0 1 1 0 2 2 0 1 2 0 3 1 0 1 3 1 4 200 0 2 4 2 4 200 0 3 5 3 4 200 0 1 6 1 5 200 0 1 7 2 5 200 0 2 8 2 5 200 0 3 9 4 6 15 0 1 10 5 6 10 0 1 11 0 4 200 1 1 12 0 5 200 1 1 13

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

79272881

Date: 2024-12-11 19:02:56
Score: 2
Natty:
Report link

The issue is likely caused by enabling for install builds only in Xcode under -> Runner -> Build Phases -> Run Script. If you previously encountered a Command PhaseScriptException error, you should disable the "For install builds only" option in the Run Script. After making this change, run the code in Xcode again and check the detailed error message to catch the error as follows. I' m writing this since i have encountered the same issue and mine was about flutter fire.

xcode-detailed-error-message

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

79272879

Date: 2024-12-11 19:01:55
Score: 4
Natty: 4.5
Report link

This permission is not from ScreenCaptureKit but rather CoreAudioTaps. https://developer.apple.com/documentation/coreaudio/capturing-system-audio-with-core-audio-taps

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

79272876

Date: 2024-12-11 19:01:55
Score: 1
Natty:
Report link

The following worked for me (December 2024):

![SVG Image](file.svg)

In this case, file.svg is in the same directory as the containing .md file.

An example: https://github.com/NadavAharoni/Oop_5785/blob/main/Module_004/csharp-boxing-unboxing.md

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nadav Aharoni

79272872

Date: 2024-12-11 19:00:55
Score: 0.5
Natty:
Report link

If someone is editing a Korn (ksh) script this might be the pattern you seek:

printf '%s\n' "${variableWithTabs//[[:blank:]]/}" 
# or 
variable_withoutTabs="${variable_withTabs//[[:blank:]]/}" 

According to this page there is a tab ([[:tab:]]), but that didn't work on the Korn shell where I tested.

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

79272866

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

While importing the excel file to dataverse, if the connection is not live than changes won't automatically reflect inside the dataverse. Just re-import again the excel-file or you can use power Query as well.

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

79272854

Date: 2024-12-11 18:55:53
Score: 2
Natty:
Report link

We must look at the other end points of the two segments of a polygon which meet at this vertex. If these points lies on the same side of the constructed line,(the first option on your picture) then the intersection point counts as an even number of intersection. But if they lie on the opposite side of constructed line,(2 option on your pic.) then the intersection points counts as a single intersection.

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

79272851

Date: 2024-12-11 18:54:53
Score: 1.5
Natty:
Report link

I had done a direct file transfer of the repo to a new machine and the process did not capture the hidden file .github/workflows/jekyll.yml

This is what triggers the github action to run.

Once added back to the repo the push successfully triggered actions.

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

79272848

Date: 2024-12-11 18:54:53
Score: 2
Natty:
Report link

but ⚠️ if you are using workspace there is still an issue

https://github.com/vitest-dev/vitest/issues/5933

currently I have a workaround: use

vitest --no-file-parallelism
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marc Nicole

79272847

Date: 2024-12-11 18:53:52
Score: 0.5
Natty:
Report link
import time

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
# set driver at specific folder.
driver = webdriver.Chrome()
driver.get("https://google.com")
#driver.quit()
#time.sleep(30)
while(True):
    pass
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paresh Hirpara

79272844

Date: 2024-12-11 18:53:52
Score: 1.5
Natty:
Report link

Additional context is that in years/decades past, the Shift+F4 and Shift+F5 keys did in fact differ in one important way. In those Beforetimes, Shift+F4 was for a local refresh from cache, and Ctrl+F5 was used for refresh from server, bypassing cache. At that time, it took much longer (seriously, minimum 3-5 actual human seconds) to refresh from server v. local. That reason no longer exists since today there is effectively no difference between local and server refresh, and that is why they now do the same thing. Or, they are still doing the vintage thing and we just can't tell the difference.

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

79272843

Date: 2024-12-11 18:52:52
Score: 0.5
Natty:
Report link

Someone found a working solution for me :

sudo mkdir -p /var/www/.config/google-chrome/Crashpad
sudo chown -R www-data:www-data /var/www/.config

https://github.com/chrome-php/chrome/issues/649

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

79272835

Date: 2024-12-11 18:50:51
Score: 2
Natty:
Report link

Thanks to @Reinderien in the comments for the solution idea. Scipy has a solve_sylvester function specifically for this problem, namely,

import scipy

X = scipy.linalg.solve_sylvester(A, -A, B)

This could use optimizations for my case, but it will work well enough. Unfortunately, the function does not seem to support batching.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Reinderien
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ben

79272830

Date: 2024-12-11 18:47:50
Score: 2
Natty:
Report link

The error "/system.slice/cron.service is not a snap cgroup" suggests that some systemd services or processes are interfering with Firefox or WebDriver. The snap packages for Firefox or Chromium might be causing conflicts with WebDriver operations.

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

79272820

Date: 2024-12-11 18:42:49
Score: 2
Natty:
Report link

The OP's example data does not have a header row, but if it did, the message would be presented because "Year" cannot be inserted into an integer column. This is the scenario that caused this same message for me (although, for me, it was "eligible_date" trying to go into a datetime column). I added the FIRSTROW = 2 parameter.

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

79272819

Date: 2024-12-11 18:40:48
Score: 10
Natty: 8
Report link

How do you use this Supabase in Java like how did you create the client to perform CRUD. Can you please guide me??

Reasons:
  • Blacklisted phrase (1): guide me
  • Blacklisted phrase (1): How do you
  • RegEx Blacklisted phrase (2.5): Can you please guide me
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How do you use this
  • Low reputation (1):
Posted by: Kaizoku

79272815

Date: 2024-12-11 18:39:47
Score: 11 🚩
Natty: 6.5
Report link

@Gleb Nebolyubov, did you find a way to fix this issue? I have pretty much the same scenario resulting to an HTTP 500 error outside of root app: Path-based App Service + EasyAuth behind Application Gateway - HTTP 500 error on /.auth/login/aadcallback

Reasons:
  • RegEx Blacklisted phrase (3): did you find a way to fix this
  • RegEx Blacklisted phrase (1.5): fix this issue?
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Gleb
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Franck Cornu

79272809

Date: 2024-12-11 18:35:45
Score: 4
Natty:
Report link

" Hi, can you test it with latest Intune SDK release 20.2.1, also does the app access files at background? if yes then will need to set MaxFileProtectionLevel within the IntuneMAMSettings dictionary to NSFileProtectionCompleteUntilFirstUserAuthentication. https://learn.microsoft.com/en-us/mem/intune/developer/app-sdk-ios-phase3#configure-settings-for-the-intune-app-sdk "

Check here> https://github.com/microsoftconnect/ms-intune-app-sdk-ios/issues/503

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sunil Saini

79272801

Date: 2024-12-11 18:30:44
Score: 4
Natty: 4.5
Report link

here's a bluesky thread about it in C++, maybe it'll be useful to you!

https://bsky.app/profile/cecisharp.bsky.social/post/3ld2bpp5qj22h

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

79272799

Date: 2024-12-11 18:30:44
Score: 2.5
Natty:
Report link

I think I first need to figure out how to add persistent storage in the Dockerfile - the '/' mount refers to my docker run where I instantiate the storage....

on the mysql write error, I have not seen this before and am trying to find solution so I can run my bash script and pop the output into a table

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

79272797

Date: 2024-12-11 18:28:43
Score: 1
Natty:
Report link

Anytime you add an Xcode 16-only feature to your project, the format will automatically be updated.

For those who ended up on this thread because of a similar issue with the Project Navigator, explanation below:

When you right-click on the Project Navigator in Xcode, you have the options "New Folder" (Xcode 16 only) or "New Group" (any Xcode version). When you create a New Folder, your objectVersion will automatically be bumped to 70.

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

79272795

Date: 2024-12-11 18:28:43
Score: 2
Natty:
Report link

The android developer website there are 2 possible ways to achieve the navigation and the recommendation is to first use fragments with compose and view based screens and then gradually get rid of fragments and have compose in place.

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

79272788

Date: 2024-12-11 18:23:42
Score: 3
Natty:
Report link

Appending /Library/Frameworks/Python.framework/Versions/3.12/bin to the PATH fixed the problem. I'm surprised the Installation section at xlwings.org doesn't say to do this (sigh).

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

79272779

Date: 2024-12-11 18:20:41
Score: 0.5
Natty:
Report link

It's from copying/pasting content from Google Sheets directly into the site editor.

Other related attributes:

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

79272778

Date: 2024-12-11 18:20:41
Score: 1
Natty:
Report link

I use AI tools like Chatgpt. Give it the cloud formation json file and ask it to convert to SAM all the time. In my case i have to clean up some stuff, mainly env vars in CF that get converted into the SAM file because I usually create a SAM config for local testing and emulation of serverless components on my machine so I hard code those values, mostly with stub values. But if you don't need to change your vars from CF to SAM I think it's works pretty well for conversations back and forth.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Puerto

79272768

Date: 2024-12-11 18:17:41
Score: 2.5
Natty:
Report link

It doesn't work because this.state.champions.data.Akali.image[0] has "Akali.png" and not a full link to get the image. Use this url instead: "ddragon.leagueoflegends.com/cdn/12.4.1/img/champion/Akali.png"

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

79272764

Date: 2024-12-11 18:16:40
Score: 2.5
Natty:
Report link

Is your service running within a docker container? If so, you'll always get root as your user.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: William Hicks

79272763

Date: 2024-12-11 18:16:40
Score: 2
Natty:
Report link

Was not able to figure out then saw the checkbox which is inside security tab just select the checkbox

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

79272753

Date: 2024-12-11 18:13:40
Score: 3.5
Natty:
Report link

Share to your email and it should be converted to .webp

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

79272752

Date: 2024-12-11 18:13:38
Score: 11 🚩
Natty: 6.5
Report link

Did you find any solution? I'm struggling with this for the last couple of days, mo luck

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find any solution
  • Low reputation (1):
Posted by: Tsvetomir Dimitrov

79272751

Date: 2024-12-11 18:13:38
Score: 1.5
Natty:
Report link

The issue was due to a library called cryptography, which is a dependency of snowflake.snowpark. To fix it I reverted the library version to 43.0.3. You can follow the issue here.

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

79272741

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

If you want to use fixed-width and equally sized boxes and ensure that the text inside fits within these boxes, you can use the auto size text package. This package adjusts the fontSize of the text to fit within the container.

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

79272736

Date: 2024-12-11 18:04:36
Score: 0.5
Natty:
Report link

Resolved by installing the "Desktop development with C++" workload for Visual Studio.

Microsoft visual studio installer, desktop environment with C++

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: Stevoisiak

79272723

Date: 2024-12-11 18:00:34
Score: 0.5
Natty:
Report link

From main docs

from pytoniq import LiteBalancer, WalletV4R2, begin_cell
import asyncio

mnemonics = ["your", "mnemonics", "here"]

async def main():
    provider = LiteBalancer.from_mainnet_config(1)
    await provider.start_up()

    wallet = await WalletV4R2.from_mnemonic(provider=provider, mnemonics=mnemonics)
    USER_ADDRESS = wallet.address
    JETTON_MASTER_ADDRESS = "EQBlqsm144Dq6SjbPI4jjZvA1hqTIP3CvHovbIfW_t-SCALE"
    DESTINATION_ADDRESS = "EQAsl59qOy9C2XL5452lGbHU9bI3l4lhRaopeNZ82NRK8nlA"

    USER_JETTON_WALLET = (await provider.run_get_method(address=JETTON_MASTER_ADDRESS,
                                                        method="get_wallet_address",
                                                        stack=[begin_cell().store_address(USER_ADDRESS).end_cell().begin_parse()]))[0].load_address()
    forward_payload = (begin_cell()
                      .store_uint(0, 32) # TextComment op-code
                      .store_snake_string("Comment")
                      .end_cell())
    transfer_cell = (begin_cell()
                    .store_uint(0xf8a7ea5, 32)          # Jetton Transfer op-code
                    .store_uint(0, 64)                  # query_id
                    .store_coins(1 * 10**9)             # Jetton amount to transfer in nanojetton
                    .store_address(DESTINATION_ADDRESS) # Destination address
                    .store_address(USER_ADDRESS)        # Response address
                    .store_bit(0)                       # Custom payload is None
                    .store_coins(1)                     # Ton forward amount in nanoton
                    .store_bit(1)                       # Store forward_payload as a reference
                    .store_ref(forward_payload)         # Forward payload
                    .end_cell())

    await wallet.transfer(destination=USER_JETTON_WALLET, amount=int(0.05*1e9), body=transfer_cell)
    await provider.close_all()

asyncio.run(main())
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: doctor_mabuze

79272718

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

Maybe you forget to run

npx @chakra-ui/cli snippet add

It will installed required dependencies and add recommended snippets, It will also create provider.tsx in you src/components/ui.

Here is link to read more https://www.chakra-ui.com/docs/get-started/frameworks/vite#add-snippets

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

79272705

Date: 2024-12-11 17:52:33
Score: 1
Natty:
Report link

I am working on something similar to what you are doing right now. I found that the main issue why we can't sent the updates to UI is because both background_service and UI or main serivce is isolated from each other.

Since these services are isolated it can not be shared directly. I tried to do with localstorage. but the problem is that it can't be streamed directly to UI . since its local storage the changes are not streamed. Now what I am hoping is that it might work by using channels, or ports to listen to changes from background_service . to main service.

background_service and main service are isolated from each other. So the instance created in these service is not shared directly.

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

79272695

Date: 2024-12-11 17:49:32
Score: 1.5
Natty:
Report link

I don't know if you can do it in MS Access, but it almost sounds like a CTE would work the best for you. You could have had with TableA(a,b,c,d,dollarAmt)(do math), etc. Then, at the end, you would have your final query that works in everything and only brings in the columns you want by doing a left outer join. then you would have select vendor,tableAsum,TableBSum etc.

I just don't know if you can do that in MS Access but that's what it sounds like it would solve your issue.

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

79272693

Date: 2024-12-11 17:48:32
Score: 0.5
Natty:
Report link

for such issues, please delete the ./bootstrap/cache/*.php files and run command again.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Alp Altunel

79272687

Date: 2024-12-11 17:45:31
Score: 4
Natty:
Report link

Because that command is not available for XAML editor context. Command window

Status bar

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

79272686

Date: 2024-12-11 17:45:31
Score: 2
Natty:
Report link

I found the mistake. When calling the daterange-picker component, we have to use wire:model.live property instead of simple wire:model

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

79272677

Date: 2024-12-11 17:43:30
Score: 3
Natty:
Report link

if you want to change the key binding, you can do it via the Command Palette. The command is called 'Add Selection to Next Find Match', and in my case, it is currently bound to Ctrl + D . enter image description here

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

79272675

Date: 2024-12-11 17:42:29
Score: 3.5
Natty:
Report link

What about to use "wp_update_post" ?

$save_dbarray = array(
  'email'  => '[email protected]',
  'adress' => 'adress'
);
 
$data = array(
  'ID' => $post_id,
  'meta_input' => $save_dbarray
);
wp_update_post( $data );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Leartes

79272674

Date: 2024-12-11 17:42:29
Score: 4
Natty:
Report link

RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3

https://github.com/nodejs/docker-node/issues/2175#issuecomment-2530130523

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

79272668

Date: 2024-12-11 17:40:29
Score: 2.5
Natty:
Report link

I followed the above (very carefully) but could not find 'Disable service account key creation' and therefore could not generate the create new key / JSON file?

Any advice? I'm SURE that 'Disable service account key creation' was not listed in Organisation Policies....

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user3154113

79272634

Date: 2024-12-11 17:28:25
Score: 3.5
Natty:
Report link

try removing the backslash on the Path and try again

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

79272627

Date: 2024-12-11 17:26:25
Score: 1
Natty:
Report link
    $(document).ready(function(){
jQuery("#country").change(function(){
var id=jQuery(this).val();
jQuery.ajax({
    type:'POST',
    url:'find_state.php',
    data:'id='+id,
    success:function(result){
     jQuery('#state').html(result);
    }
})
})

})

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

79272609

Date: 2024-12-11 17:19:24
Score: 0.5
Natty:
Report link

Solution:

I forgot to specify, but besides the lambda_function.py I was also using some helper functions to keep my code ordered. However, it seems that the modules for the AWS Lambda Layers are not visible for these, so ideally all the imports should be in the main lambda_function.py that is invoked by the handler.

I didn't find any information about this on the documentation, so I'm posting the solution in case anyone finds it useful.

  1. When using AWS Lambda Layers, all module imports should be on the main function called by the handler (e.g. lambda_function.py)

  2. Python version for packages should be the same as the AWS Lambda runtime environment (follow this tutorial https://docs.aws.amazon.com/lambda/latest/dg/python-layers.html)

  3. Changes take some time to reflect (even if AWS says it's ready), so after deploying and uploading layer, give it 2-3 minutes for the backend to update (only in case it doesn't work initially)

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-2): Solution:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: OmegaCoding