79171407

Date: 2024-11-08 20:05:53
Score: 2.5
Natty:
Report link

Python 3.13 is currently unsupported for pynput unfortunately. You can add a comment on the issue above, that you have the same problem, but until then, try an older Python version.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • High reputation (-1):
Posted by: Cow

79171403

Date: 2024-11-08 20:04:52
Score: 2
Natty:
Report link

Just use the small letter that's it... here is the example

const vendorStatusEnum = pgEnum("status", ["active", "suspended", "pending"]);

https://github.com/drizzle-team/drizzle-orm/issues/646#issuecomment-2465651364

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

79171400

Date: 2024-11-08 20:03:52
Score: 2
Natty:
Report link

Use this. It is very simple. One C/C++ file & header provides 8 functions:

https://sourceforge.net/projects/tinyfiledialogs/

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

79171386

Date: 2024-11-08 19:57:50
Score: 1
Natty:
Report link

I guess, the problem arises from proper inheritance and function visibility in your contract.

  1. Check your contract properly inherits from ERC721.
  2. Check the function visibility.

Hope it would be helpful. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Steven

79171385

Date: 2024-11-08 19:56:50
Score: 2
Natty:
Report link

Oh I think it's because I am in Windows OS.

I checked the milvus-lite readme and it says it only supports Ubuntu and MacOS. So, in windows os, the milvus-lite package won't be installed along with pymilvus.

FYI:

Milvus Lite currently supports the following environments:

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

79171383

Date: 2024-11-08 19:56:50
Score: 2
Natty:
Report link

Thanks to @Brad suggestions, I set up rsync on windows and ssh in my mac. Step by step instructions below:

  1. Install an SSH Server on Your Mac (if it’s not already enabled):
  1. Install rync
  2. Create rsync script in Windows. My final script looks something like this.

#!/bin/bash

# Define source and destination paths
SOURCE="/c/path/to/windowsdev/"  # Adjust this path to your specific source folder on Windows
DESTINATION="user@host:/path/to/macdev/"  # Use your Mac's username and host, and the correct path

# Run rsync to sync changes, excluding specific directories
rsync -avz --delete \
--exclude '.idea/' \
--exclude '.dart_tool/' \
--exclude 'build/' \
"$SOURCE" "$DESTINATION"

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

79171370

Date: 2024-11-08 19:49:49
Score: 2
Natty:
Report link

Identify Categories: List all the categories you need to manage or display.

Tagging System: Implement a tagging system where each task or item is tagged with a category.that makes to easier filter and find what needed you.

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

79171358

Date: 2024-11-08 19:44:47
Score: 5.5
Natty:
Report link

enter image description here

Download in Android Studio

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stojan Gašić Brieva

79171354

Date: 2024-11-08 19:44:47
Score: 0.5
Natty:
Report link

Try changing...

formLayout.html('bottom', btn)

With:

formLayout.html('bottom', btn.getHTML())

The problem is probably happening because the formLayout.html() is using btn.toString()...

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

79171353

Date: 2024-11-08 19:44:47
Score: 1.5
Natty:
Report link

Have no idea why this is the case, but wrapping the window.require line in

if (typeof window !== 'undefined') {}

fixed it.

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

79171346

Date: 2024-11-08 19:40:45
Score: 5.5
Natty: 5.5
Report link

Any way to do this on MACOS excel that can't use MSXML?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AustinS

79171345

Date: 2024-11-08 19:40:45
Score: 2
Natty:
Report link

below is the call equivalent of

gcloud auth application-default login
credentials_new = compute_engine.Credentials()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gbvikas

79171341

Date: 2024-11-08 19:38:45
Score: 3
Natty:
Report link

You need to manually convert that, Liquibase won't fix it for you.

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

79171336

Date: 2024-11-08 19:35:44
Score: 2
Natty:
Report link

As the file is inside /liquibase/lib , you don't need the --classpath parameter. Try removing it.

Why? you are copying the file inside liquibase/lib directory:

RUN cp /node-app/run-custom-command.jar /liquibase/lib/run-custom-command.jar

Liquibase automatically loads everything inside this directory to the classpath, you don't need to use classpath if the file is there. After that you are pointing to it again using --classpath (and I believe it should be --classpath=./lib/run-custom-command.jar ), so it may be causing some classloading issues as the file is being loaded twice ?

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Lautert

79171328

Date: 2024-11-08 19:32:43
Score: 1.5
Natty:
Report link

I can't fully explain why, but thanks to this issue reffering to this one , you need to print() explicitely your ggplot element by changing base with print(base) . It's seem to be an easy workaround. Those issues are old (2016-2018), I don't understand why it happen nowadays.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: VinceGreg

79171327

Date: 2024-11-08 19:32:43
Score: 3
Natty:
Report link

Using Angular with VS Code - having same issue with VS Code Version: 1.95.2 and Chrome Version 130.0.6723.117 - I know it was VS Code update and possibly Chrome update as well - not sure which one caused the issue but all worked fine before.

I tried everything suggested but could not make it work. The issue is with break points - if you remove/disable them Chrome starts but as soon as you put them back it hangs again.

The only way to be able to debug I found is to put "debugger;" statement in your code - if you use it instead of a break point the debugger stops on it same way it used to stop at a breakpoint.

Of course you can debug the code inside Chrome browser but it is a different story

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having same issue
  • Low reputation (0.5):
Posted by: Pavel Popov

79171326

Date: 2024-11-08 19:32:41
Score: 7 🚩
Natty: 6.5
Report link

in the back of my mind, to build a DIY Book Scanner as well. I've seen many commercial models but they are all limited to A3 format (or extremely expensive). Did you manage to complete yours? Mind to share some details? Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (3): Did you manage to
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Federico

79171318

Date: 2024-11-08 19:28:40
Score: 0.5
Natty:
Report link

I'm still encountering the issue, which appears to stem from a third-party library. This external library was built with Webpack, while the project I'm using it in was built with Vite (both are React TypeScript projects), so unfortunately, I can't modify the library itself.

The error only occurs when I run the tests using npm run test:

"Automatic publicPath is not supported in this browser"

Any guidance on how to work around this conflict between Vite and Webpack in the testing environment would be greatly appreciated.

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

79171316

Date: 2024-11-08 19:27:39
Score: 3
Natty:
Report link

I'm risking some reputation here... But I'll gamble a little...

For short...

"Can a race condition occur after the user clicks the modal OK, between the callback (a) that sets the boolean, and the Promise callback (b) that tests it?"

Yes! It can. How to do it? Well... that's another question.

But, I want to remind that a race is something asynchronous that happens between promises. It's like "give me the result of the promise (in a set of them) that fulfills first".

Your example/explanation/details only points out one Promise. So where's the need for a race?

I'm guessing you have a submit event handler that shows the modal and sets the promise... Then you want the promise to await for the ok button effect on the modal? If so you can try something like this:

const form = document.querySelector('#myForm');
const modal = document.querySelector('#myModal');
const modalButton = modal.querySelector('#myOk');
const variable = document.querySelector('#myVar');

form.addEventListener('submit', submitEventListener);
modalButton.addEventListener('click', okEventListener);

function okEventListener ( event )
{
  variable.value =
  (
    (variable.value == 'true')
    ? 'false'
    : 'true'
  );
  
  modal.open = false;
  
  console.log('OK sets a new variable value:', variable.value);
  
  event.target.resolver(variable.value);
}

async function submitEventListener ( event )
{
  event.preventDefault();
  
  // Do ajax stuff here...
  
  let newPromise = new Promise
  (
    async ( resolve, reject ) =>
    {
      modalButton.resolver = value => resolve(value);
    }
  );
  
  modal.open = true;
  
  console.clear();
  console.log('Current variable value:', variable.value);
  
  // You can make any race here, including newPromise.
  console.log('Suppose that a race is running starting now.');
  
  // This will await for the user to click ok on the modal.
  await newPromise; // or await your race...
  
  // Then print something to the console...
  console.log("Awaited for the variable changed value:", variable.value);
}
dialog
{
  background-color: lightgray;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0 solid black;
}
<dialog id="myModal">
  <button id="myOk">OK</button>
</dialog>
<form method="dialog" action="about:blank" id="myForm">
  <label for="myVar">
    VARIABLE:
    <input type="text" id="myVar" name="myVar" value="true" disabled="disabled" />
  </label>
  <button id="openModal" type="submit">Open Modal</button>
</form>

PS.: As no code was exposed in the question, I made one out of my imagination as an example.

Reasons:
  • Blacklisted phrase (1): another question
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: KLASANGUI

79171313

Date: 2024-11-08 19:26:39
Score: 0.5
Natty:
Report link

This issue may be due to a misconfigured project path or an incorrectly set project directory in Android Studio.

Invalidate Cache and Restart:

Go to File > Invalidate Caches / Restart and select Invalidate and Restart. This forces Android Studio to clear its cache and might fix the directory issue.

Check Project Paths in Settings:

Open File > Settings > Build, Execution, Deployment > Build Tools > Gradle. Ensure that the Gradle user home path is set correctly. Delete .idea and .gradle Folders:

Close Android Studio.

In your project’s root directory, delete the .idea folder and the .gradle folder if they’re pointing to incorrect paths. Reopen Android Studio, and it should recreate these folders in the correct directory.

Re-import Project:

Close the project and go to File > Open to re-import it from the correct directory. This ensures Android Studio resets its internal paths.

If the issue persists, you may also want to check for any custom configurations or symlinks in your project setup that could be redirecting Android Studio to the wrong folder.

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

79171307

Date: 2024-11-08 19:23:38
Score: 1.5
Natty:
Report link

To access local variables you would either need to pass it directly into test() as a parameter or pass vars() into test() as a parameter. Essentially you need to use parameters, thats the only convenient method outside of actually finding the variable in memory and getting the value from there which is just annoying.

tl;dr use parameters

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

79171305

Date: 2024-11-08 19:22:37
Score: 0.5
Natty:
Report link

I don't know the root of the problem with VB not auto recognizing it's a date, but this sample should help you.

 Dim Date1 As DateTime = DateTime.ParseExact(dtrow(1).ToString(), "yyyy-MM-dd", 
        System.Globalization.DateTimeFormatInfo.InvariantInfo)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: joaocarlosib

79171291

Date: 2024-11-08 19:17:36
Score: 1
Natty:
Report link

I know that this question is very old but I like to contribute. I had the exact situation described by Anatoly Bugakov, checking all 3 points. However, my task was working fine. What happened to fix was something totally unexpected, I simply disabled the "Read only root file system" checkbox in the container definition and redeployed. Like magic, it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabio Urquiza

79171290

Date: 2024-11-08 19:17:36
Score: 2
Natty:
Report link

string FactorImagename = factor.FactorImage;

if (System.IO.File.Exists(Request.MapPath("~/Images/Factor/" + FactorImagename))) { System.IO.File.Copy(HttpContext.Server.MapPath("~/Images/Factor/") + FactorImagename, HttpContext.Server.MapPath("~/Images/Account/") + acDocument.Img, true); }

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

79171287

Date: 2024-11-08 19:15:36
Score: 1.5
Natty:
Report link

select * from (select ve.event_date, vc.prim_key from vol_att va inner join vol_evn ve on va.event_fkey = ve.prim_key left join vol_con vc on va.contact_fkey = vc.prim_key where va.attendance_type is not null ) pivot ( count(distinct prim_key) for event_date in ( to_date('2023-03-30', 'yyyy-mm-dd') Mar_30_2023, to_date('2023-04-18', 'yyyy-mm-dd') Apr_18_2023 ) );

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

79171271

Date: 2024-11-08 19:10:34
Score: 2.5
Natty:
Report link

Thank you for the explanation. It works flawlessly. I have a small addition.

The method 'GeteBayDetails' for SiteId 77 (Germany) fails because the ENUM member 'COD' is missing in the enum BuyerPaymentMethodCodeType. Just add it, and then the call goes through without exception

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nesh

79171266

Date: 2024-11-08 19:09:34
Score: 1
Natty:
Report link

The best architecture to do this looks like a CDN or image proxy in front of S3 that allows for the signing and possibly even the encryption of URLs sent to the client. You are right to want to avoid sending the whole file by downloading it and passing it on to the client.

See imgproxy, an open source image proxy that enables resizing of images, signing and encrypting image URLs, serving images from an S3 bucket and more. There are alternatives that do similar things too.

If it were me, I'd use a server side implementation that encrypts/signs the URL and passes it to the client. I'd configure the headers on the response from the image proxy to determine how long the browser should cache the image.

I found this helpful blog post describing a basic set up of this kind of flow.

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

79171262

Date: 2024-11-08 19:07:33
Score: 5.5
Natty:
Report link

I am facing the same issue. Can not see lldb-vscode in debugger option. Any support would help.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: vineet yagnik

79171258

Date: 2024-11-08 19:06:33
Score: 1
Natty:
Report link

Move Multiple Files on FormSubmit

I modified your code this can now handle and move multiple files on formsubmit.

Here's the code:

function onFormSubmit(e) {

  const responses = e.values;
  const companyName = responses[1];
  const logoFileId = responses[2];
  const photoFileId = responses[3];
  const videoFileId = responses[4];

  const parentFolderId = 'paste-parent-folder-id-here';
  const parentFolder = DriveApp.getFolderById(parentFolderId);
  const companyFolder = parentFolder.createFolder(companyName);

  extractFileId(logoFileId, `${companyName}_Logo`);
  extractFileId(photoFileId, `${companyName}_Photo`);
  extractFileId(videoFileId, `${companyName}_Video`);

  function extractFileId(url, name) {
    const data = url;
    if (data.includes(',')) {
      const splitedData = data.split(',');
      for (let i = 0; i < splitedData.length; i++) {
        moveAndRenameFile(splitedData[i].split("=")[1], name)
      }
      return
    } else if (!data) {
      console.log("No Action taken");
      return;
    }
    moveAndRenameFile(data.split("=")[1], name)
    return
  }


  function moveAndRenameFile(fileId, newName) {
    try {
      if (fileId) {
        Logger.log(`Attempting to move file ID: ${fileId}`);
        const file = DriveApp.getFileById(fileId);
        file.setName(newName);
        file.moveTo(companyFolder);
      }
    } catch (error) {
      Logger.log(`Error with file ID ${fileId}: ${error.message}`);
    }
  }

}

Here is how you create a form question with attach multiple files.

Sample 1

Sample Output

Lime Husky

Lime Husky Child Folder

Lime Husky Child Folder Output


References:

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

79171249

Date: 2024-11-08 19:05:32
Score: 1.5
Natty:
Report link

Check you java configuration of the project and the java configuration of gradle. Should be the same and works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Diego Virgüez

79171248

Date: 2024-11-08 19:04:32
Score: 1
Natty:
Report link

For windows my solution was to add your root directory with setChroot:

$dompdf->getOptions()->setChroot('d:\\www');
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: lisandro

79171247

Date: 2024-11-08 19:04:32
Score: 1.5
Natty:
Report link

OPFS cache only works with HTTPS. It doesn't work if the browser is communicating over HTTP.

Is the IIS server, serving the webpage via HTTP ? If so, then OPFS will fail.

Reconfig IIS Server, to host an HTTPS endpoint and OPFS will re-activate.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: michael beale

79171243

Date: 2024-11-08 19:01:31
Score: 2.5
Natty:
Report link

If you need to position an element that is relative to your parent element, then you need to specify not 'fixed' but 'absolute' then the element will be located relative to the parent element.

enter image description here If your content will simply be located in the middle of the block with a fixed position, then it is enough to add indents through "padding'enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Denis Zhuzhkov

79171242

Date: 2024-11-08 19:01:31
Score: 1.5
Natty:
Report link

Does making the argument a generic parameter instead work for you?

So something like this:

abstract class BaseClass {
  public abstract userAuth<
    TResponse extends MyResponse = MyResponse,
    TError extends unknown = unknown
  >(): TResponse | UIError<TError>;
}

class TestClass extends BaseClass {
  public userAuth<
    TResponse extends MyResponse = MyResponse, TError extends unknown = unknown>(): TResponse | UIError<TError> {
      throw new Error("Method not implemented.")
  }
}
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Eri

79171238

Date: 2024-11-08 18:58:30
Score: 3
Natty:
Report link

This has been happening to me recently as well - no idea why. Closing Chrome and restarting seems to fix it, though.

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

79171235

Date: 2024-11-08 18:55:29
Score: 1
Natty:
Report link

Those parameter are used as changelog parameters, not liquibase parameters: that's why they are not working. You would need to set this in the scope, but I don't see a way to do it in CDI.

Maybe you could set the ResourceAcessor and tame it to your needs. I guess CDI uses the DirectoryResourceAcessor but you could create one that better suits your needs, like SearchPath used in Maven plugin.

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

79171234

Date: 2024-11-08 18:55:29
Score: 0.5
Natty:
Report link

Well, upon reading some unrelated things from SO for another problem, I stumbled upon a reference to the android:windowSoftInputMode="adjustResize" being used in the <activity> tag instead of the <application> tag.

Moving from the application tag to the activity tag fixed all my issues 😭

Hopefully this helps someone in the future to not do the same newbie mistake as me!

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

79171218

Date: 2024-11-08 18:50:26
Score: 7 🚩
Natty: 4.5
Report link

very good. work fine with WIN 11, Visual Studio 2022 , vb windows form. do you have an update specific for win11?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have an
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Massimo GIAMMATTEI

79171214

Date: 2024-11-08 18:48:25
Score: 1.5
Natty:
Report link

I usually do

$ cd <where Project.toml lives>
$ julia --project=. test/runtests.jl
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Stepan Zakharov

79171206

Date: 2024-11-08 18:45:24
Score: 1
Natty:
Report link

Late to the party, but I'm writing my Bachelor Thesis on this subject and developed a Python module that acts as a subscriber-publisher (using Paho-MQTT library to do so) with a multithreaded interface to do exactly this. I'm also writing a Mosquitto native plugin in C++ to do the same thing within the broker, without the need of sending your data to an external client. It's all very rough because I'm no such expert programmer, with many issues, but it works and the basic idea is there if anyone wants to take a look. Also, check HiveMQ, I think they implemented something similar in their broker software.

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

79171199

Date: 2024-11-08 18:43:23
Score: 4.5
Natty: 4
Report link

nah, just ignore it maaan, it's fine

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

79171197

Date: 2024-11-08 18:41:23
Score: 3.5
Natty:
Report link
    String[][] matrix = new String[][]{
            {"", "why ", "did ", "I ", "lose ", "reputation ", " ", ""},
            {"", "points ", "for ", "this ", "question? ", "(dk)", "", ""}};

    Arrays.stream(matrix, 0, 2)
            .flatMap(s -> Arrays.stream(s, 1, 7))
            .forEach(System.out::print);
}

why did I lose reputation points for this question? (dk)

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): why did I
  • Low reputation (1):
Posted by: Dominic J

79171193

Date: 2024-11-08 18:40:20
Score: 10.5 🚩
Natty: 6.5
Report link

were you able to solve this ? I am stuck in a similar situation where i can see the audio buffer in the backend getting transmitted to aws transcribe but getting empty results array.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (1.5): solve this ?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sarthak

79171190

Date: 2024-11-08 18:38:19
Score: 0.5
Natty:
Report link

Do you see following warning in your build log?

[WARNING]: !Failed to set up process.env.secrets

Secrets in AWS amplify are very confusing with Gen1 vs Gen1, Frontend vs Backend, build-time vs run-time.

I found that this works:

plus you also need and IAM Service role with permissions to read from SSM parameter store, namely ssm:GetParametersByPath.

See this immensely helpful comment on github issue:

If you did everything right, you shouldn't see that warning in the build log.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Trane9991

79171181

Date: 2024-11-08 18:34:18
Score: 1
Natty:
Report link

Very simply, there is a major difference between alter and drop/create. Without getting into details this comes down to the way that database pages work at a structural level. Some changes (adding a column) can be done using alter as long as you understand that the new column will most likely end up on a different page from the rest of the table. Other changes (inserting a column) must drop and create so that the new column can be placed on the correct page to be in the correct order. Either way, Drop / Create is the best way to ensure that at that you don't end up with fragmentation at the page level. It's the cleanest and most efficient way to make table changes.

This also brings up a very important piece of advice: Script everything, test, test and retest before you roll anything to production!!

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

79171176

Date: 2024-11-08 18:32:17
Score: 0.5
Natty:
Report link

When creating a Game object with games = Game('Alex', 'heads', 3), the parameters should be instances of Player, Coin, and Dice, not strings.

Also, the play method in the Game class runs a loop for 20 turns, but the return statement immediately exits after the first turn. The return should be moved outside the loop to return the final position after 20 turns.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Shreyas Salankimatt

79171171

Date: 2024-11-08 18:29:17
Score: 3
Natty:
Report link

In this case it turned out to be an extension called indent-rainbow, not a built in VS Code setting!

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

79171168

Date: 2024-11-08 18:28:17
Score: 3.5
Natty:
Report link

For anyone having this problem, it seems it was inherent to the downloadable tinyMCE from version 6.4 through the latest 7.5, where the size is again what it should be.

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

79171159

Date: 2024-11-08 18:25:15
Score: 2
Natty:
Report link

use VSHarpoon extension, this will let you create multiple groups of 10 tabs, eg; group 1 has 10 tabs, group 2 has 10 tabs and so on. you also will be able to jump each to tab with keybinding. quite fast and enjoyable

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

79171158

Date: 2024-11-08 18:24:15
Score: 1.5
Natty:
Report link

If your reading a large json object like a geojson feature collection use JSON.parse on the object prior to use

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

79171147

Date: 2024-11-08 18:19:13
Score: 1
Natty:
Report link

As few people have already suggested, this happens due to JEP 451. Allowing the dynamic loading of agents using the -XX:+EnableDynamicAgentLoading option is not a good solution. It just masks the problem. And even if you allow it for some reason, you should really avoid loading agents dynamically anyway. Upcoming versions of Java will get you in trouble this way.

Instead, following the Mockito's guide (in case you are using Mockito, of course), you can load the agent properly (and yes, you can directly load mockito-core as an agent, no need to load byte-buddy-agent in this case; the error message might be a little misleading). If you are not using Mockito, the process is the same, just point at the agent that needs to be loaded according to the error message (e.g. net.bytebuddy:byte-buddy-agent:jar).

From your question I see your problem is with IntelliJ. The above solution fixes the problem only when you use a build tool to run your tests (e.g. when you run mvn test on the command line), but if you want to just click on the green arrow on the left side of your test and run it from there, the message will still be present. The reason is that this way you execute directly the java command and the build tool is not involved at all. A way to mitigate this is to update your run configuration by appending to the VM options filed the -javaagent property (usually, you will already have -ea set there).

The catch here is that since you are not using a build tool, you can't get automatically the path to the agent's JAR, like you would have it otherwise (e.g. ${org.mockito:mockito-core:jar} in case of Maven + Mockito). Instead, you can do this:

-javaagent:$MAVEN_REPOSITORY$/org/mockito/mockito-core/5.14.2/mockito-core-5.14.2.jar

Unfortunately, as you can see, you need to point to a specific Mockito version since you can't know at this point the version used by your build tool.

Another catch is that you need to use this specific run configuration to run your test. If you click instead on the green arrow on the left side of the test class/method, IntelliJ will create a new run configuration that doesn't have your VM option set. I am not sure off the top of my head if the option could be set globally in the IntelliJ's settings, so that it is present every time a new run configuration is created. If someone knows a way, please share.

I know this is not the best approach, but on the good side, this is just a problem in the IDE. I really hope the folks from JetBrains come up with a solution for this.

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Radoslav Stoyanov

79171144

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

This error is thrown when xarray is unable to import dask, which almost certainly means that dask is not properly installed in your environment. You should try all the suggestions for re-installing dask and its dependencies using your preferred package manager.

The accepted answer should not be to downgrade xarray - that's not necessary.

Reasons:
  • No code block (0.5):
Posted by: ThomasNicholas

79171140

Date: 2024-11-08 18:15:12
Score: 4
Natty: 5
Report link

I would like to know how I can insert a curly bracket in a legend to gather the data in specific categories. Something like:

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Fiore

79171125

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

I think you want to search for tools to simulate network traffic / jitter / drops. There are quite a few hits on a quick web search.

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

79171117

Date: 2024-11-08 18:08:09
Score: 1
Natty:
Report link

If there are rows in the table that have a colspan set to a value greater than 1, you may need to add the same colspan to the <td> tag containing the image

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

79171108

Date: 2024-11-08 18:02:08
Score: 1.5
Natty:
Report link

The likely way to start understanding to what I am asking is to learn:

Configuration in ASP.NET Core and Use multiple environments in ASP.NET Core

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

79171099

Date: 2024-11-08 17:58:07
Score: 0.5
Natty:
Report link

I found the solution!

If the metadata and screenshots are located in the default folders and the paths to the default folders are set in the Fastfile like I did, the upload does not work, but Fastlane does not notice this.

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Thomas

79171097

Date: 2024-11-08 17:57:07
Score: 3
Natty:
Report link

You can achieve this with Gitlab's custom collapsible sections

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

79171072

Date: 2024-11-08 17:51:05
Score: 3.5
Natty:
Report link

It came up with tonnes of nonsense but it did kill the process C:\WINDOWS\system32>taskkill /im TiWorker.exe /f SUCCESS: The process "TiWorker.exe" with PID 5420 has been terminated.

C:\WINDOWS\system32>net stop wuauserv /y The Windows Update service is stopping. The Windows Update service could not be stopped.

C:\WINDOWS\system32>rmdir "%systemroot%\SoftwareDistribution\Download" /s /q C:\WINDOWS\SoftwareDistribution\Download\8E3CAC~1\Metadata\UpdateAgent.dll - Access is denied.

C:\WINDOWS\system32>del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" /s /f /q Could Not Find C:\ProgramData\Application Data\Microsoft\Network\Downloader\qmgr*.dat

C:\WINDOWS\system32>cleanmgr /sageset:65535 & cleanmgr /sagerun:65535 this is what it came up with is this bad?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dan

79171057

Date: 2024-11-08 17:47:03
Score: 5.5
Natty:
Report link

I have followed the steps to the dot. But I am getting Address not found error. How did you create the connections using service principal? enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mohtasim Mapkar

79171055

Date: 2024-11-08 17:46:03
Score: 3
Natty:
Report link

I have same issue and I am on

I created new SO at IntelliJ - modifying <groupId> in maven pom.xml to contain a variable shows "Properties in parent definition are prohibited"

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • High reputation (-2):
Posted by: pixel

79171042

Date: 2024-11-08 17:41:02
Score: 2
Natty:
Report link

You can't.

This feature has been removed in 0.9.0: https://github.com/gephi/gephi/releases/tag/v0.9.0

Remove ClusteringAPI from codebase. It needs a complete rewrite.

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

79171038

Date: 2024-11-08 17:39:01
Score: 1
Natty:
Report link

It's the Bundle ID you're looking for. No fingerprints required for iOS. See https://firebase.google.com/docs/ios/setup for instructions.

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

79171033

Date: 2024-11-08 17:38:01
Score: 1.5
Natty:
Report link
Better example of using HTMLemail formatting 

``######################################################################### ## PowerShell Script: # #########################################################################

#Global Variable Section
#########################################
#Email Variables
$emailTo = "test.org"
$emailFrom = "test.org"
$smtpServer = "Mail.test.org" 
$message = ""
$subject = "J-Summary"
$message = ""

#Default Summary Variables; Set to Zero/Blank
$totalDollar = 0
$totalAccptDollar = 0
$numTrans = 0
$numAccptTrans = 0
$batchNum = ""
$transDetail = ""

#HTML Header Variables
$Header1 = "J "
$Header2 = "EC OPERATIONS"
$Header3 = " ALIDATION STATUS REPORT"

#File Path Section
#########################################
# Specify the path to EDI 820/824/997 Files
$filePath820 = "C:\Users\test\Desktop\Chase-Summary_Files\JPM820.outb*"
$filePath824 = "C:\Users\test\Desktop\Chase-Summary_Files\Chase_SH_AP_824_*"
$filePath997 = "C:\Users\test\Desktop\Chase-Summary_Files\Chase_SH_AP_997_*"
$archiveFolder = "C:\Users\test\Desktop\Chase-Summary_Files\_Archive\"

# Read the content of the Summary file
$content820 = Get-Content -Path $filePath820 -Raw
$content824 = Get-Content -Path $filePath824 -Raw
$content997 = Get-Content -Path $filePath997 -Raw

#Remove Line Feeds from EDI File Used For Easier Processing/Parsing Logic
$content820 = [string]::join("",($content820.split("`n")))
$content824 = [string]::join("",($content824.split("`n")))
$content997 = [string]::join("",($content997.split("`n")))

#HTML Compiler Section
#########################################
#Build Header HTML Section
$rptHeader = @"
<html>
<body>
<center><strong>$($Header1)</strong></center>
<center><strong>$($Header2)</strong></center>
<center><strong>$($Header3)</strong></center>
<br>
"@

#Build Footer HTML Section
$rptFooter = @"
</table>
<br>
<br>
STATUS(ST): TA=ACCEPTED TC=ACCEPTED W/CHANGE TE=ACCEPTED W/ERROR TR=REJECTED
<br>
<br>
<br>
IF YOU HAVE ANY QUESTIONS, PLEASE OPEN A SERVICENOW INCIDENT
ASSIGNED TO <strong>APP-BUSINESS-MATERIALS MANAGEMENT</strong>
<br>
<center>*****END OF REPORT*****</center>
</body>
</html>
"@

#EDI Reader Section to Finalize HTML Compiler
#########################################
#Read EDI 820 File (Used to Gather Total Received Number of Transactions and Dollar Amount)
$ediSegments = $content820 -split "\\"
##Parse Through Fields of Section and Get Total Dollar Amount Sent For All Transactions Regardless of Status For Summary Line
for ($s = 0; $s -lt $ediSegments.Count; $s++) {
    $ediSummarySegment = $ediSegments[$s] -split "\*"
    
    #Calculate Total Dollar Amount By Collecting Amount From Each Read BPR Section
    if ($ediSummarySegment[0] -eq "BPR") {
        $totalDollar = $totalDollar + $ediSummarySegment[2]
    }
    #Collect Total Number of Transactions From the GE Section
    elseif ($ediSummarySegment[0] -eq "GE") {
        $numTrans = $ediSummarySegment[1]
    }
}

#Read EDI 824 File (Used to Gather Total Processed Number of Transactions and Dollar Amount)
$ediSegments = $content824 -split "\\"
##Parse Through Fields of Section and Get Total Number of Accepted Dollar Amount and Accepted Transactions
for ($e = 0; $e -lt $ediSegments.Count; $e++) {
    $ediSummarySegment = $ediSegments[$e] -split "\*"

    #Calculate Total Dollar Amount By Collecting Amount From Each Read AMT Section
    if ($ediSummarySegment[0] -eq "AMT") {
        $totalAccptDollar = $totalAccptDollar + $ediSummarySegment[2]
    }
    #Collect Total Number of Transactions From the GE Section
    elseif ($ediSummarySegment[0] -eq "GE") {
        $numAccptTrans = $ediSummarySegment[1]
    }
}

#Parse Through Fields of Section
for ($i = 0; $i -lt $ediSegments.Count; $i++) {
    $ediSegment = $ediSegments[$i] -split "\*"

    #Collect and Format Date Value From the ISA Section
    if ($ediSegment[0] -eq "ISA") {
        $Customer = $ediSegment[8].TrimEnd()
        $Date = $ediSegment[9]
        $FormatDate = "$($Date.Substring(2,2))/$($Date.Substring(4,2))/$($Date.Substring(0,2))"
        $Time = $ediSegment[10]
        $FormatTime = "$($Time.Substring(0,2)):$($Time.Substring(2,2))"

        #Create Report Info Table
        $rptInfo = @"
<table border="0">
<tr><td>Customer ID: $($Customer)</td><td>&nbsp;</td><td>$($FormatDate) $($FormatTime) PT</td></tr>
</table>
<br>
"@
    }
    elseif ($ediSegment[0] -eq "ST") {
        $ediType = $ediSegment[0] -split "\*"    
    }
    elseif ($ediSegment[0] -eq "BGN") {
        #Collect Batch Number and Build Summary Table Section Based on First Collected Occurrence; Ignore All Other Values As They Would Be Duplicating This Section
        if ($batchNum -eq "") {
            $batchNum = $ediSegment[2]
                
            #Create Summary Table For First Time - Include Table Header
            $rptSummary = @"
<table border="1">
<tr><th>FILE# / BATCH#</th><th>AMOUNT</th><th># TRANS</th><th>STATUS</th></tr>
<tr><td>$($batchNum)</td><td>$($totalDollar)</td><td>$($numTrans)</td><td>TRANS RECEIVED</td></tr>
<tr><td>$($batchNum)</td><td>$($totalAccptDollar)</td><td>$($numAccptTrans)</td><td>TRANS ACCEPTED</td></tr>
</table>
<br>
"@
        }
    }
    elseif ($ediSegment[0] -eq "OTI") {
        #Collect and Format Date Value
        $effDate = $ediSegment[6]
        $effFormatDate = "$($effDate.Substring(4,2))/$($effDate.Substring(6,2))/$($effDate.Substring(0,4))"

        #Collect Transaction Detail and Build Detail Table and Rows Based on Each OTI Section Found in EDI File
        if ($transDetail -eq "") {
            #Create Transaction Detail Table For First Time - Include Table Header
            $transDetail = @"
<table border="1">
<tr><th>ST</th><th>TRANS #</th><th>TRACE #</th><th>EFF DATE</th><th>AMOUNT</th><th>MESSAGE</th></tr>
<tr><td>$($ediSegment[1])</td><td>$($ediSegment[9])</td><td>$($ediSegment[3])</td><td>$($effFormatDate)</td>
"@
        }
        #Build Additional Table Rows
        else {
        $transDetail = $transDetail + 
 @"
<tr><td>$($ediSegment[1])</td><td>$($ediSegment[9])</td><td>$($ediSegment[3])</td><td>$($effFormatDate)</td>
"@
        }
    }
    #Append Amount Value as Last Column in Row
    elseif ($ediSegment[0] -eq "AMT") {
        if ($transDetail -ne "") {
            $transDetail = $transDetail + "<td>$($ediSegment[2])</td><td></td></tr>" + "`r`n"
        }
    }
}

#Reset Variables to Avoid Duplication of Displayed Data
$errDetail = ""
$errReport = ""

#Read 997 EDI File (Used to Gather Total Number of Errored Transactions and Dollar Amounts)
$ediSegments = $content997 -split "\\"

#Parse Through Fields of Section
for ($i = 0; $i -lt $ediSegments.Count; $i++) {
    $ediSegment = $ediSegments[$i] -split "\*"
    
    #Collect Transaction Error Detail and Build Detail Table and Rows Based on Each AK2 Section Found in EDI File
    if ($ediSegment[0] -eq "AK2") {
        if ($errDetail -eq "") {
            #Create Transaction Error Detail Table For First Time - Include Table Header
            $errDetail = @"
<table border="1">
<tr><th>TRANS #</th><th>MESSAGE</th></tr>
<tr><td style="color:red"><strong>$($ediSegment[2])</strong></td><td style="color:red"><strong>TRANSACTION NOT ACCEPTED</strong></td></tr> `r`n
"@
        }
        #Build Additional Table Rows
        else {
            $errDetail = $errDetail + 
 @"
<tr><td style="color:red"><strong>$($ediSegment[2])</strong></td><td style="color:red"><strong>TRANSACTION NOT ACCEPTED</strong></td></tr> `r`n
"@
        }
    }
}

#Check If Error Detail Data Exists
if ($errDetail -eq "") {
    #Display Default Message to Customer Alerting No Errors Exist
    $errReport = @"
<br>
No Errors Exist.
<br>
"@
}
else {
    #Append Built Transaction Error Table to End Table Tag
    $errReport = @"
$($errDetail)
</table>
<br>
"@
}

#Build Email Message Body Section
#########################################
#Compile HTML Code
$body = @"
$($rptHeader)
$($rptInfo)
$($rptSummary)
$($errReport)
$($transDetail)
$($rptFooter)
"@

#Build Email Notification Section
#########################################
$message = $body
$anonUsername = "anonymous"
$anonPassword = ConvertTo-SecureString -String "anonymous" -AsPlainText -Force
$anonCredentials = New-Object System.Management.Automation.PSCredential($anonUsername,$anonPassword)
Send-MailMessage -smtpserver "$smtpServer" -from "$emailFrom" -to "$emailTo" -subject "$subject" -body "$message" -BodyAsHtml -credential $anonCredentials 

#Cleanup EDI File Section
#########################################
#Move Files to Archive Directory
Move-Item -Path $filePath820 -Destination $archiveFolder
Move-Item -Path $filePath824 -Destination $archiveFolder
Move-Item -Path $filePath997 -Destination $archiveFolder
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2):
  • Filler text (0.5): #########################################################################
  • Filler text (0): #########################################################################
  • Low reputation (0.5):
Posted by: Configueroa

79171030

Date: 2024-11-08 17:37:00
Score: 2.5
Natty:
Report link

U can try to make foreign relation with both tables and when u delete relation from table where is exists many to many relation, u can easily see that in both tables matched rows are deleted

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

79171023

Date: 2024-11-08 17:35:00
Score: 2
Natty:
Report link

Check the permission for Users-permissions in API Tokens there should be allowed to find users.

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

79171013

Date: 2024-11-08 17:31:59
Score: 0.5
Natty:
Report link

Here's a straightforward bash script to flatten just one level of directories while keeping deeper subfolders intact. You can save as flatten-one-level.sh

#!/bin/bash

for dir in */; do
    if [ -d "$dir" ]; then
        echo "Processing directory: $dir"
        for file in "$dir"*; do
            if [ -f "$file" ]; then
                mv "$file" .
            fi
        done
        rmdir "$dir" 2>/dev/null || true
    fi
done

To make the script executable and run it:

chmod +x flatten-one-level.sh

Hope it will be helpful. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alen Schmitt

79171007

Date: 2024-11-08 17:28:58
Score: 2.5
Natty:
Report link

Failure [DELETE_FAILED_USER_RESTRICTED] Failure [DELETE_FAILED_USER_RESTRICTED] Success Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 2217 is older than current 8942] ❌

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

79170989

Date: 2024-11-08 17:23:56
Score: 1.5
Natty:
Report link

Does the JVM allocate memory for the entire array length * 4 bytes, i.e. 4000 bytes after the above statement

Java will do it as you say, and one more thing is that the memory needs to be contiguous. Because the data of arrar is consecutive, it is necessary to fully allocate it when initializing the array, if there is no contiguous memory, out of mem will occur.

Some space will be needed for the array itself, but it's only about 4 to 8 bytes

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thành Lê

79170956

Date: 2024-11-08 17:09:52
Score: 2.5
Natty:
Report link

In response to silver-soul CommentedJul 9 at 16:36 on Papanito post. "Please do note that {theredirectURL} needs to be encoded , otherwise the error mentioned by @papanito in the comments does occur"

Would you happen to have an example of an encoded {theredirectURL} ? I'm in the same situation with my URL looking identical to the example provided by user papanito, except I get

  1. That’s an error.

The server cannot process the request because it is malformed. It should not be retried. That’s all we know.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @papanito
  • Low reputation (1):
Posted by: BobDanburg

79170951

Date: 2024-11-08 17:08:52
Score: 1.5
Natty:
Report link

Don't forget a comma between classes. This should be:

.foo,.bar {
  /* style details */
}

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

79170940

Date: 2024-11-08 17:03:51
Score: 1.5
Natty:
Report link

You are using and modifying pool->waiting_in_queue but where are you assigning it an initial value?

Also if sdm_threadpool and the other types like it are custom structures please include the definition of those structures.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tanmeet Singh Chhabra

79170936

Date: 2024-11-08 17:01:51
Score: 1
Natty:
Report link
$specificationIds = array_filter(array_column($request->specification, 'id'), function($value) {return !empty($value);});

$specification = ProductSpecification::whereIn('id', $specificationIds)->get();
if(count($specification) > 0){
$specification->delete();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahesh Kumar Saini

79170930

Date: 2024-11-08 16:59:50
Score: 2
Natty:
Report link

After making changes to the configuration or dependencies, it's always a good idea to clear the npm cache and reinstall everything:

rm -rf node_modules rm package-lock.json npm install

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

79170921

Date: 2024-11-08 16:57:49
Score: 0.5
Natty:
Report link

You need to return the result of func(a, b) within the isNumeric function. Currently, nothing is returned.

Corrected:

def decoratorIsNumber(func):
    def isNumeric(a, b):
        a = a if str(a).isnumeric() else 0
        b = b if str(b).isnumeric() else 0
        return func(a, b) 
    return isNumeric
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: EuanG

79170920

Date: 2024-11-08 16:57:49
Score: 5
Natty:
Report link

As @MatsLindh said in the comments, the problem was due to the UTF-8 BOM and was solved by simply removing it.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @MatsLindh
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jonathan Gómez Pérez

79170913

Date: 2024-11-08 16:53:47
Score: 1.5
Natty:
Report link

I also had this issue. One minute the code was working, the other it wasn't.

This error occurs when there is no workbooks opened (Workbooks.Count = 0). You need to add a dummy Workbook in order to add the AddIn.

I ended up finding the solution to this question in another post (with a code example). I leave my reply here as I found this post first.

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

79170911

Date: 2024-11-08 16:51:44
Score: 10.5 🚩
Natty:
Report link

how could you solve it?

I try to solve it using this post

https://learn.microsoft.com/en-us/sql/relational-databases/security/authentication-access/azure-ad-authentication-sql-server-linked-server?view=sql-server-ver16

Authentication with Microsoft Entra Password, Without success

enter image description here

I'm using this prvider string = "Server=<"enviromentname".crm4.dynamics.com,1433>;Authentication=ActiveDirectoryPassword" enter image description here

enter image description here

enter image description here

I am exhausting all options before using CData, but I download the free trial and test it success

If you have news about solutions, please tell me.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (2): could you solve
  • RegEx Blacklisted phrase (2.5): please tell me
  • RegEx Blacklisted phrase (1.5): solve it?
  • Probably link only (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: Diego Mesa

79170901

Date: 2024-11-08 16:49:43
Score: 2
Natty:
Report link

The same thing happened to me with error 0x80040402, and after trying to reinstall and update it didn't solve it. I was able to solve it by unchecking the box "Place the solution and the project in the same directory". This way, the new project was created correctly. (answer using translate)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hernan Pablo Toniutti

79170896

Date: 2024-11-08 16:47:41
Score: 11 🚩
Natty:
Report link

I'm having the same issue, any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: GSFZamai

79170879

Date: 2024-11-08 16:40:38
Score: 3
Natty:
Report link

I now i'm a bit late, but maybe this little guide will help you out. It's not quite what you currently have, but it will get you through some general ideas how to pull this off.

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

79170862

Date: 2024-11-08 16:35:35
Score: 7.5 🚩
Natty: 3.5
Report link

Did you ever solve this @human.io

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever solve this
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: GCN Controller

79170854

Date: 2024-11-08 16:32:34
Score: 0.5
Natty:
Report link

It does not work with the extractors because you used the preprocessor (ColumnTransformer) to fit and transform. You can get them by specifying the step within the ColumnTransformer:

preprocessor["cat"].get_feature_names_out()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ranemak

79170852

Date: 2024-11-08 16:31:34
Score: 1.5
Natty:
Report link

The results of a query are discarded after 24 hours. Once a query has been evicted from the cache, trying to reuse the result in post-processing will result in the error you're seeing.

I was able to reproduce your scenario and observed the exact same results.

Since the current version of Snowpark Python is erroring out, they're likely attempting to use the cached results of the query instead of attempting to re-run the base query.

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

79170843

Date: 2024-11-08 16:30:33
Score: 1
Natty:
Report link

In my case, behind a proxy I had to provide a valid entry in the npm configuration file located at

%userprofile%\.npmrc

The line I had to include was

registry="http://specific.value.to.be.adapted/.../"

npm could then know where it's company specific repository was located and it started working as expected and downloaded the project dependency in a decent time.

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

79170841

Date: 2024-11-08 16:29:33
Score: 0.5
Natty:
Report link

To answer to comments asking to move only some settings to a custom file I found the file attribute that should help:

in web.config:

...
<appSettings file="otherSettings.config">
    <add key="owin:AutomaticAppStartup" value="false" />
    <add key="Environment" value="Test" />
</appSettings>

in otherSettings.config:

 <appSettings>
    <add key="Usuer" value="myUser" />
    <add key="Password" value="thePassword" />
 </appSettings>

I tried and the app reads both settings in the web.config file and in the otherSettings.config. HTH

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vjncenzo

79170833

Date: 2024-11-08 16:28:32
Score: 2.5
Natty:
Report link

UPDATE :

Manage to get it working with docker run --add-host=myapp1.test:host-gateway

Had some trouble getting my docker app fetching the data correctly because it's a secure link with unverified certificate, but

wget --no-check-certificate https://myapp1.test:443/

worked from inside the container!

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

79170825

Date: 2024-11-08 16:23:31
Score: 0.5
Natty:
Report link

If EAV would be the superior solution to everything (regarding database design) then why is there no database vendor that offers me just that engine with only three build in tables called Entity, Attribute and Value and we can skip all that cumbersome DDL like CREATE TABLE etc. It certainly would be much cheaper as there is far less to implement. Still Oracle and Microsoft SQL Server leave us out here in the cold or simply wont give up their old bad ways. Maybe they just dont like making money!!! The appealing fact that it is so flexible to so many developers comes at a heavy price. Typelessnes (or hard to implement), constraintless (or hard to implement except when you are a developer with 'RED' years of experience or are age minus 30, all entries that could have been avoided with constraints). EAVs perform horribly when the number of attributes exceeds a small amount as Hospitals and Magento found out.

For OP add these columns to the tables that need them or ask your self why you need them. If for auditing purposes this isnt very secure. Try to stick to more simple designs and proven designs.

For everyone involved in databses i really would recommend Bill Karwin's book. I bought it initially as "might be interesting, why not" but it turned out to be a must have.

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

79170822

Date: 2024-11-08 16:22:30
Score: 2.5
Natty:
Report link

Here's my 2 cents: Why not use YAML?

Code:

import os, yaml

bool(yaml.load(os.getenv(MY_VAR) or "", yaml.Loader))

Test:

for val, expected in {
    "yes": True,
    "no": False,
    "on": True,
    "off": False,
    "true": True,
    "false": False,
    "1": True,
    "0": False,
    "": False,
    None: False,
}.items():
    actual = bool(yaml.load(val or "", yaml.Loader))
    assert actual == expected
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Lariel

79170818

Date: 2024-11-08 16:21:30
Score: 2.5
Natty:
Report link

In that view's settings, ensure that Choice column is checked off. Then on the calendar view, you can format the view and that choice column should then be visible as an option, and you can color code from there. If you want a color that isn't in the default options, select anything and then you can edit the JSON to be any other color using proper color code: https://zerg00s.github.io/sp-modern-classes/

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

79170815

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

I solved it Entities.Graphics should be used with URP Forward+. Change Rendering Path on URP-HighFidelity-Renderer for best compatibility.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Javin Yang

79170810

Date: 2024-11-08 16:18:29
Score: 2.5
Natty:
Report link

Entities.Graphics should be used with URP Forward+. Change Rendering Path on URP-HighFidelity-Renderer for best compatibility.

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

79170805

Date: 2024-11-08 16:16:29
Score: 2.5
Natty:
Report link

Just create Statement 2 for ResultSet 2

Statement statement2 = connection.createStatement();

ResultSet resultSet2 = statement2.executeQuery("");

If you use Statement 1 for ResultSet 2, Connection is Closed Error comes.

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

79170803

Date: 2024-11-08 16:16:29
Score: 3
Natty:
Report link

Indeed up persing omanova VPN Ip from Tanzania indeed help

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

79170793

Date: 2024-11-08 16:14:28
Score: 1.5
Natty:
Report link

Tha's seems correct you can't add users to admin group. Use the below REST API call to create or update the users. If you are the owner/creator of APIM instance then you can update your email under Notification template. This will allow any update the admin email

https://learn.microsoft.com/en-us/rest/api/apimanagement/user/create-or-update?view=rest-apimanagement-2024-05-01&tabs=HTTP

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

79170778

Date: 2024-11-08 16:10:28
Score: 1
Natty:
Report link

From this tailwind issue, with Firefox it actually needs to set the outline-style property when also setting the outline-color.

So it needs to explicitly add the tailwind class focus:outline as seen here https://play.tailwindcss.com/dDz1DnaYbm

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

79170777

Date: 2024-11-08 16:10:28
Score: 3.5
Natty:
Report link

¿Te gustaría que Analyticalpost destacara en periódicos digitales reconocidos como La Razón o MSN?

Trabajamos con empresas como la tuya que buscan ganar visibilidad y mejorar su reputación en internet. La aparición en medios digitales no solo te aportará mayor credibilidad, sino que también te permitirá:

Desde 195€, te ofrecemos la oportunidad de obtener esta exposición de alto valor. Además, garantizamos la devolución del dinero si no alcanzamos los resultados.

Si te interesa, me encantaría mostrarte algunos casos de éxito y hablar contigo sobre cómo podemos aplicar todo esto a Analyticalpost.

¿Me compartes tu número para coordinar una breve llamada? ¿Te iría mejor por las mañanas o por las tardes?

Quedo a la espera de tu respuesta.

Un saludo,

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (1): cómo
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Elena

79170776

Date: 2024-11-08 16:10:28
Score: 2.5
Natty:
Report link

This can be a pain. When I use the tool, it opens maximized to both my screens with no resize available. I simply re-click the icon, open a second PRT (which opens normal), then hover over the icon until both thumbnails appear, then right click close the giant one.

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

79170775

Date: 2024-11-08 16:10:28
Score: 3.5
Natty:
Report link

Checke you Contry Setting in your Sheet for EU you have to USE ; and not ,

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

79170773

Date: 2024-11-08 16:10:28
Score: 0.5
Natty:
Report link

I've just changed tabindex="-1" to tabindex="1" Then working properly

<div class="modal fade" id="userModal" tabindex="1" role="dialog" aria-labelledby="userModalLabel" aria-hidden="false" aria-busy="true" >
</div

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