79160941

Date: 2024-11-05 23:09:35
Score: 1
Natty:
Report link

If you're running MongoDB inside Docker and want to start the MongoDB server use

sudo nohup mongod --quiet --config /etc/mongod.conf &
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: murage kibicho

79160925

Date: 2024-11-05 23:03:31
Score: 7 🚩
Natty: 5
Report link

Those who downvoted this... why did you downvote? I'm seeing this as a viable option for wiping a fired employee's device. But is it not effective?

Reasons:
  • RegEx Blacklisted phrase (2): downvote
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Charles Christensen

79160912

Date: 2024-11-05 22:57:29
Score: 1.5
Natty:
Report link
new Date().toLocaleString("en-US", { timeZone: "America/New_York" });

try that one, you can find the list of timezones online

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

79160909

Date: 2024-11-05 22:56:29
Score: 3
Natty:
Report link

Thanks to Phil, intercepted the OPTIONS request and sent the 200 status code and everything else worked correctly.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Sourav Das

79160907

Date: 2024-11-05 22:56:29
Score: 2
Natty:
Report link

What distro and kernel version are you using to create your AMI with? When did you first create the base AMI and have you updated the software on it to the latest versions?

You can also try connecting to your instance using the EC2 Serial Console to let you see early boot prints to the console during reboot.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Geoffrey Blake

79160897

Date: 2024-11-05 22:52:28
Score: 2
Natty:
Report link

XAML live preview can be disabled by going to the

Tools → Options... → Debugging → XAML Hot Reload

and unchecking the WPF (or other unneeded) option in Enable XAML Hot Reload section.

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

79160888

Date: 2024-11-05 22:46:27
Score: 0.5
Natty:
Report link

Solved:

<input
name="datepicker"
ngbDatepicker
#datepicker="ngbDatepicker"
[autoClose]="'false'"
(dateSelect)="onDateSelection($event, datepicker)"/>

and

 onDateSelection(date: NgbDate, datepicker: NgbInputDatepicker) {
    // Close the datepicker if both fromDate and toDate are selected
    if (this.fromDate && this.toDate) {
      datepicker.close();
    }
  }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nataša Kunić

79160883

Date: 2024-11-05 22:44:26
Score: 0.5
Natty:
Report link

You can partially automate this using Git.
Clone your repository on your machine, then modify your jupyter files from there. Git automatically tracks changes. You have only to commit them and push to GitHub.

If you want to completely automatically update your changes to GitHub, a solution could be to create a script which runs periodically looking for changes: if it detects any modification, it automatically commit, with a standard message, and push to GitHub.

Working on Windows this answer could be useful for compose a python script which periodically checks file changes (you can do this comparing last modification date), then this tutorial could be helpful to make the system able to run the script at every startup on Windows.
If you are working on Linux you can use this tutorial to find how to run scripts on startup on your system.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mass

79160882

Date: 2024-11-05 22:44:26
Score: 1
Natty:
Report link

You have to add an init method to your class, to accept argument. The name, email, and password are defined as mapped column but not a parameter so you add an init method.

def __init__(self, email, password, name):
    self.name = name
    self.email = email
    self.password = password
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abednego Tenge

79160878

Date: 2024-11-05 22:41:25
Score: 2.5
Natty:
Report link

Since RPM 4.14, there has been a quote macro. Using your example,

%{hello %{quote:Dak Tyson}}
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mavit

79160870

Date: 2024-11-05 22:37:25
Score: 2.5
Natty:
Report link

ENDOFQUARTER() is Time Intelligence func, rather than Time func.

QuarterEnd = EOMONTH( DATE( YEAR( combined[Dates] ), QUARTER( combined[Dates] ) * 3, 1 ), 0 )

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

79160867

Date: 2024-11-05 22:35:24
Score: 0.5
Natty:
Report link

https://github.com/soundcloud/lhm/pull/84

Looks like this has changed since the approved answer was suggested. Now you should not specify name: or index_name:, just pass it as the second argument:

m.add_unique_index [:bar_id, :baz], "shortened_index_name"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dan Rice

79160865

Date: 2024-11-05 22:35:24
Score: 5.5
Natty:
Report link

.Net Maui - unable to archive iOS project from Visual Studio 2022

I have exactly the same problem.

I have my certificates and profiles on my Windows computer running Visual Studio 17.11.5.

In the Build Options I have "Manual Provisioning", Signing Automatic and Provisioning Automatic.

I link to my Mac, and while in Release mode and Remote Device I start the publishing process.

Start the process and suddenly the following error appears.....

"Failed to create App archive..."

But I don't see any explanation or reason for the error.

I urgently need to publish my application! Help!

Reasons:
  • RegEx Blacklisted phrase (2): urgently
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have exactly the same problem
  • Low reputation (1):
Posted by: Jose Raul Torres

79160858

Date: 2024-11-05 22:29:23
Score: 1.5
Natty:
Report link

I only needed to set the Spark log level to debug.

spark.sparkContext.setLogLevel("DEBUG")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: John Black

79160854

Date: 2024-11-05 22:28:22
Score: 6.5
Natty: 7
Report link

How would you automate this if you don't mind me asking, or if you have automated it already?

Thanks so much.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): How would you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Paula Fon

79160852

Date: 2024-11-05 22:26:21
Score: 2
Natty:
Report link

In my own case, it was a trailing space in the lib folder. like this lib /main instead of lib/main You should probably double check if you encounter this issue.

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

79160850

Date: 2024-11-05 22:26:21
Score: 2
Natty:
Report link

How do I remedy "The breakpoint will not currently be hit. No symbols have been loaded for this document." warning?


I got this error using Visual Studio 2022 and Team Foundation Server with a Microsoft Dynamics 365 project.


Solution #1

If any of the above doesn't apply, breakpoints will not be hit.


Solution #2

If solution 1 above is insufficient for hitting breakpoints on your extension files, you can add them to the files to debug as follows:

  1. If you're already debugging, stop.
  2. VS > Tools > Options > Dynamics 365 > Debugging > Search Packages for your extension > Select your extension
  3. Happy debugging :-)
Reasons:
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do I
  • High reputation (-1):
Posted by: Super Jade

79160849

Date: 2024-11-05 22:26:21
Score: 3.5
Natty:
Report link

When I check in developer tools I can see the Cookie Data for GET request, but not able to see in Jmeter - results tree- request body GET data [no cookies], how to handle this

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Rekha Sayapparaju

79160843

Date: 2024-11-05 22:23:21
Score: 2.5
Natty:
Report link

For anyone still searching for a solution

https://stackoverflow.com/a/30071634/23307867

go to this one and follow @rubenvb's guide and/or follow this guide too, imo @rubenvb's guide is enough

  1. Download and Install MSYS2:

    ▶ Visit the MSYS2 website and download the installer.

    ▶ Follow the installation instructions to set up MSYS2 on your system.

  2. Run MSYS2 UCRT64 Named App Instance:

    which looks like this image
    ▶ Open the MSYS2 terminal by launching the ucrt64 named app instance from your start menu or desktop shortcut.

  3. Update Package Database and Core System Packages:
    ▶ In the MSYS2 terminal, run the following command:
    pacman -Syuu

    ▶ If the terminal closes during the update, reopen the ucrt64 instance and run the command again.
    ▶ The program may ask for your approval sevaral times asking you to typeY

  4. Install Essential Development Tools and MinGW-w64 Toolchain:
    ▶ Run the following command to install the necessary packages:
    pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
    ▶ just to let you know the --needed option ensures that only outdated or missing packages are installed. The base-devel package group includes essential development tools. according to internet.

  5. Add binary folder to PATH:
    ▶ If you did not change the default installation path/folder your bin folder location should be this - C:\msys64\ucrt64\binadd it to your system environment variables PATH.

  6. Update MinGW-w64:
    ▶ To update MinGW-w64 in the future, repeat from step 3.

  7. Verify the Compiler Installation:
    ▶ To check if the compiler is working, run the following command in the terminal:
    gcc --version
    g++ --version
    gdb --version

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @rubenvb's
  • User mentioned (0): @rubenvb's
  • Low reputation (1):
Posted by: Abdur Rafay ID 1013

79160841

Date: 2024-11-05 22:18:20
Score: 1.5
Natty:
Report link

After going back and forth with Oracle Support on this problem without any assistance from them, I worked more closely with my networking team to see if they could identify the issue. I was able to run my script on a virtual machine my team uses for development, but couldn't get the script to work on my own work computer, so we started there with troubleshooting to see if we could find a difference.

The solution that finally enabled me to stop getting the error above was to have the networking team bypass ZScaler SSL decryption for the OCI API URL, database.us-sanjose-1.oraclecloud.com. (I found that URL from my full error message while debugging.)

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

79160839

Date: 2024-11-05 22:17:19
Score: 0.5
Natty:
Report link

This code is just from the end of the link. This is the full link.

https://؟.؟؟؟؟.؟؟/؟؟؟؟-؟؟؟-3d/?post=4e6a45794d444d32&f4at=aHR0cHM6Ly9hc2QucXVlc3Q=HhZ35wNXMr,AiOcxVQPcsu3Ae59WleF_ao6eEwwG-EOMWpXs0P4QaLnrziEOLpea5FZwwmzNxydRR962hrmj5kNER0OleNxjMOMwGjp_TwXsC-W3e6kyFXhNtzR5_QMQeRnwV3VoQ5nw1tGguX2lrYIzJp1rv0pV7ATBBHc2e7OoB7119bcQp8s2F9lrDzmuxk_bu9YX_S7_0NjiTizMPoPXWgjN6Skle7KARhse1Gqh4sb7CMNtWaKepF4LnPxPiXgg-hzcUTyqyIe3MXcZKHQ5N8a0rn4l8pesiwN0zfzGo7rqmk1DJ-Z3mF7VRgULRzZQWkhRmOxCK0sQRDvb0AtNKLV6Sr4Aku4GoGYfZfD8UP-x41MVIzwwScD0skzPwBQNML-lrwv4CJLrRofpbZiwFoGWml8jLlHug7cjVozmlS4WpM01n_UNORRdohIoQD-9dB06Xy_BdBQAygSuM0dqNe
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: black- wolf

79160838

Date: 2024-11-05 22:17:19
Score: 1
Natty:
Report link

In Studio, the graphical view can help to identify the structure for Parameter Types

Anypoint Studio - Database Operation - Parameter types -> Expression or Bean reference -> Show Graphical View

DataWeave View of Expression or Bean reference at Parameter types

output application/java
---
[{
    key: '' as String,
    typeClassifier: {
        "type": '' as String,
        customType: '' as String
    }
} as Object {
    class : "org.mule.extension.db.api.param.ParameterType"
}]

So, the XML to work needs to be something like:

    <db:insert doc:name="Insert" 
        config-ref="Database_Config_Oracle"
        queryTimeoutUnit="DAYS" 
        autoGenerateKeys="true" 
        parameterTypes="#[[{
    key: 'ID' as String,
    typeClassifier: {
        'type': 'LONGNVARCHAR' as String,
        customType: '' as String
}}]]">
        <db:sql><![CDATA[#[ vars.db.query ]]]></db:sql>
        <db:input-parameters><![CDATA[#[vars.db.inputParameters]]]></db:input-parameters>
        <db:auto-generated-keys-column-names />
    </db:insert> 
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AndyDaSilva52

79160836

Date: 2024-11-05 22:17:19
Score: 1
Natty:
Report link

Model-based control uses a "best-guess" plant for use by the controller. If all things were perfect, the best-guess plant matches the actual plant. To test how robust the model-based controller is, it helps to have an actual plant that differs in many ways, e.g., the mass, center of mass, and inertia of bodies, the location of joints, actuator limits, friction constants, sensor models, etc.

Hence, it is helpful to have two plants. One for the controller and one for the actual plant.

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

79160829

Date: 2024-11-05 22:14:18
Score: 2
Natty:
Report link

Great IntelliJ IDEA, PHPStorm or WebStorm does only support nyc for coverage in the IDE. Package "c8-as-nyc" solves the problem with IntelliJ IDEs and any cli tools that want to use nyc.

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

79160823

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

Check if you are trying to decode the encoded string or not. This occurs typically when you are trying to decode plaintext at the following place in your code

Base64.getDecoder().decode(encodedText);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ramya Musunuru

79160816

Date: 2024-11-05 22:09:17
Score: 5.5
Natty: 4.5
Report link

have you resolved this problem? I have met the same problem as yours.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 叶兆原

79160815

Date: 2024-11-05 22:09:17
Score: 0.5
Natty:
Report link

Check if you are trying to decode the encoded string or not. This occurs typically when you are trying to decode plaintext at the following place in your code

Base64.getDecoder().decode(encodedText);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ramya Musunuru

79160793

Date: 2024-11-05 21:58:15
Score: 2
Natty:
Report link

Looks like this is a general issue. My case was also different. I just setup a monorepo and I want a .gitlab-ci.yml file in the root folder and I also added a .gitlab-ci.yml to each sub project. Once I renamed the files with different names in the sub projects, the issue was gone.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Duba

79160786

Date: 2024-11-05 21:52:13
Score: 0.5
Natty:
Report link

If you are using Text mesh pro component for your UI text then you need to create this type of reference TextMeshProUGUI

That means instead of having this

public List<TMP_Text> oreCountTexts;

You should change it to this

public List<TextMeshProUGUI> oreCountTexts;

You can read more about it here: TextMesh Pro Documentation

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

79160781

Date: 2024-11-05 21:50:13
Score: 4.5
Natty: 7.5
Report link

this works for me, but PASS/FAIL output disappears from the shell output: how can I have both ?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marco Merlin

79160780

Date: 2024-11-05 21:50:13
Score: 1
Natty:
Report link

Try adding "simplify = FALSE" to your apply function:

mat <- matrix(1:6, ncol=2)
f <- function (x) cbind(1:sum(x), sum(x):1)
do.call(rbind, apply(mat, 1, f))

mat <- f(3)
apply(mat, 1, f, simplify = FALSE)
do.call(rbind, apply(mat, 1, f, simplify = FALSE))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rob Moses

79160778

Date: 2024-11-05 21:50:13
Score: 4
Natty:
Report link

Use ViewThatfits

https://developer.apple.com/documentation/swiftui/viewthatfits

Thanks to your comment, I was able to find this API

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kngw Kngw

79160772

Date: 2024-11-05 21:49:10
Score: 9 🚩
Natty:
Report link

Have you guys found any answers? because I'm having the same issue and can't solve it

I get the following error code: {"message":"In order to use this service, you must agree to the terms of service. Japanese version terms of service: https://github.com/a-know/Pixela/wiki/%E5%88%A9%E7%94%A8%E8%A6%8F%E7%B4%84%EF%BC%88Terms-of-Service-Japanese-Version%EF%BC%89 , English version terms of service: https://github.com/a-know/Pixela/wiki/Terms-of-Service .","isSuccess":false}

and our codes are pretty much the same

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you guys found any answers
  • RegEx Blacklisted phrase (1): I get the following error
  • Probably link only (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Leonardo Momo

79160768

Date: 2024-11-05 21:47:08
Score: 2
Natty:
Report link

Solution is: uncomment the line -- { name = 'nvim_lsp' }, in above file completions.lua. This way, Pyright is enabled to make auto-completion suggestions. Source: a comment beginning with "For anyone that..." below the video https://youtu.be/iXIwm4mCpuc?si=fBTLwIr3gUr__8-K

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Whitelisted phrase (-1): Solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: silfer1200

79160766

Date: 2024-11-05 21:47:08
Score: 1
Natty:
Report link

I was working on an older solution that was migrated to a new workstation when I received the above error. My fix was to update my AspNet.ScriptManager.jQuery NuGet package to the latest stable version. It was at version 1.8.2 and I updated it to version 3.7.1. Cleaned/rebuilt and then restarted the site in VS - the error went away.

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

79160757

Date: 2024-11-05 21:42:08
Score: 3
Natty:
Report link

need to turn off auto save (File > Preferences > Settings)

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

79160753

Date: 2024-11-05 21:40:07
Score: 0.5
Natty:
Report link

In addition to what other people suggest, net_address also offers a simple and lightweight way to work with IPs and ranges.

In the OP's case, you can do something like:

iex(9)> import IP
IP
iex(10)> ip_ranges = [~i"49.14.0.0..49.14.63.255", ~i"106.76.96.0..106.76.127.255"]
[~i"49.14.0.0..49.14.63.255", ~i"106.76.96.0..106.76.127.255"]
iex(11)> {:ok, ip} = from_string("49.14.1.2")
{:ok, {49, 14, 1, 2}}
iex(12)> ip
{49, 14, 1, 2}
iex(13)> Enum.any?(ip_ranges, fn ip_range -> ip in ip_range end)
true
iex(14)> {:ok, ip} = from_string("49.14.64.1")
{:ok, {49, 14, 64, 1}}
iex(15)> Enum.any?(ip_ranges, fn ip_range -> ip in ip_range end)
false

For more info, check out this documentation.

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

79160751

Date: 2024-11-05 21:39:07
Score: 0.5
Natty:
Report link

You get an error because of wrong reference to fetchTranscript.

Here is the correct way:

 var yt = require("youtube-transcript");
 var transcript_obj = await yt.YoutubeTranscript.fetchTranscript('_cY5ZD9yh2I'

 const text = transcript_obj.map((t) => t.text).join(' ');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ugmurthy

79160749

Date: 2024-11-05 21:39:07
Score: 3.5
Natty:
Report link

This was an issue when I used the "prefilled Link" Once you use the correct link/form then this issue will go away.

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

79160741

Date: 2024-11-05 21:36:06
Score: 0.5
Natty:
Report link

This code snippet cleared the cookies for my website upon loading my logout page.

if (!IsPostBack)
{
    // Clear cookies for Drawing Viewer upon logout
    if (Request.Cookies != null)
    {
        var cookies = Request.Cookies.AllKeys;
        foreach (var cookie in cookies)
        {
            var httpCookie = new HttpCookie(cookie)
            {
                Expires = DateTime.Now.AddDays(-1),
                Value = string.Empty
            };
            Response.Cookies.Add(httpCookie);
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user18337380

79160736

Date: 2024-11-05 21:32:05
Score: 1
Natty:
Report link

In new Ubuntu 24.04.1 LTS it seems that the *.list files are obsolete, and only *.sources files are used. To avoid this annoying message you can add not mandatory field:

Architectures: amd64

somewhere in the beggining of the file. I did it for google-chrome and microsoft-edge repos:

Types: deb
URIs: https://dl.google.com/linux/chrome/deb/
Suites: stable
Architectures: amd64
Components: main
Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK-----
 ........etc.....
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28151547

79160735

Date: 2024-11-05 21:32:05
Score: 0.5
Natty:
Report link

So, you've got these two search engines in RavenDB - Lucene and Corax right? Here's how you can tell RavenDB which one you want to use:

The easiest way in code would be something like this:

{
    public YourIndex()
    {
        // Just tell it straight up which engine you want to use
        SearchEngineType = Raven.Client.Documents.Indexes.SearchEngineType.Lucene;
        
        // That's it! Simple as that
    }
}

But here's the thing - you've got options!

  1. You can set it right in your code (like shown above)
  2. You can click around in the RavenDB Studio if you're more of a visual person
  3. Or you can edit the settings.json file if you're old school

I totally get that you might have some complex indexes that aren't ready for Corax yet - no worries! That's actually super common. My friendly advice? Start with explicitly setting Lucene for those complex indexes in your code, keeps everything stable while you figure out your next move.

Need me to clarify anything? I'm here to help!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Thiago Cezário

79160732

Date: 2024-11-05 21:30:05
Score: 1.5
Natty:
Report link

To override the minSDK use:

<uses-sdk tools:overrideLibrary="com.xxxx.xxxx"/>

To fix the merge error use:

android {
packagingOptions {
    pickFirst 'google/protobuf/*.proto'
    pickFirst 'google/protobuf/compiler/*.proto'
    }
}

source: https://github.com/protocolbuffers/protobuf/issues/8694

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ramiro G.M.

79160729

Date: 2024-11-05 21:28:04
Score: 2.5
Natty:
Report link

I've tested this issue.

Steps performed:

  1. New Azure VPN config downloaded from the Azure Portal VPN Gateway P2S (doesn't work)

  2. Checking of ipconfig /all , route print, tracert, nslookup, test-netconnection, telnet, wifi/wired interfaces settings (all checked, no issues)

  3. The problem is somehow related to the the Microsoft EDGE web browser DNS settings. When open Microsoft EDGE -> Settings -> search for "dns" -> look for "Use secure DNS to specify how to lookup the network address for websites". By default there is a settings set "Use current service provider". To solve the case and have the internet connection while on Azure VPN select "Choose a service provider", click in the empty field below and select e.g. "Cloudflare (1.1.1.1)". It will appear as "https://chrome.cloudflare-dns.com/dns-query". Screens attached. Then reboot the web browser - Microsoft Edge - and the internet will start to work right away.

enter image description here

enter image description here

Security info: In this Cloudflare DNS is used to resolve your DNS queries. If you do not want to do that try with your own DNS servers or other DNS you prefer in this step.

NOTE: If this will help you feel free to leave short comment or just share this to other that have such issue.

In case of questions feel free to let me know via comments as well.

Best regards,

Tomasz Wieczorkowski

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tomasz Wieczorkowski

79160725

Date: 2024-11-05 21:27:04
Score: 2.5
Natty:
Report link

A bit late but this c# code will do it. It finds the most uniform (least ragged) solution for a given number of lines, or a max line length.

It works by using recursion to bifurcate at each word separator. Then it sorts the potential solutions by lowest-standard-deviation-of-line-length, and returns the first solution.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: dynamicbutter

79160723

Date: 2024-11-05 21:26:04
Score: 1
Natty:
Report link

thank you all for your contributions! I am quite new to all of this, but a way around it was using another Playwright function that allowed to manipulate the HTML string to match the text. So, instead of using :text-matches I used inner_text()

Please find the code snippet that was modified below:

while names_to_find:
    # Get all <tr> elements in the table body
    rows = page.locator("table tbody tr")

    # Iterate over each row in the table
    for i in range(await rows.count()):
        # Get the name in lowercase
        name_unit = await rows.nth(i).locator('td[data-label="nameunit"]').inner_text()
        name_unit_lower = name_unit.strip().lower()
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sofía Fayó

79160714

Date: 2024-11-05 21:22:03
Score: 3
Natty:
Report link

I tried Flutter_blue_plus, it is pretty simple to understand. I am having however some issues connecting to BLE devices on Android. I wrote a simple test app and I have to try connect several times before connection is successful. I don't seem to have this issue on iOS though.

According to this article, another good library is flutter_reactive_ble.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Matte86

79160704

Date: 2024-11-05 21:19:02
Score: 1.5
Natty:
Report link

I had the exact same problem, but it was solved when I installed the correct SDK version.

Since the PySpin module is looking for "libSpinnaker.so.4" and you are using Python3.10, it seems you that you have installed the python wheel for Spinnaker 4.x.x on Ubuntu 20.04. However, you should install Spinnaker 3.2.0.62 and use Python3.8 if you are on Ubuntu 20.04.

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

79160692

Date: 2024-11-05 21:15:01
Score: 2
Natty:
Report link

this is really a very annoying issue but there is a solution to it.

import os module and then you have to enter two path variable as follows: Note: please look for the tcl and tk libraries in your python313 folder. and copy the relevant path. for me it can be the fllowing:

import os

os.environ['TCL_LIBRARY'] = r'C:\Users\User1\AppData\Local\Programs\Python\Python313\tcl\tcl8.6'

os.environ['TK_LIBRARY'] = r'C:\Users\User1\AppData\Local\Programs\Python\Python313\tcl\tk8.6'

do it inside the program/script you are writing.

it will defeinitly solve the issue..

get back to me if it doesn't

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): User1
  • User mentioned (0): User1
  • Low reputation (1):
Posted by: ikram ullah

79160688

Date: 2024-11-05 21:14:00
Score: 3.5
Natty:
Report link

Can you enable Liberty trace with trace string com.ibm.ws.security.* and com.ibm.ws.classloading.*, recreate the problem and send me the trace.log and message.log.

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Ut Le

79160683

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

To me, it was "Python Indent" that caused the issue.

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

79160680

Date: 2024-11-05 21:10:59
Score: 4.5
Natty: 5
Report link

Here are the settings for GitHub Copilot VsCode plugin: https://code.visualstudio.com/docs/copilot/copilot-settings

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

79160679

Date: 2024-11-05 21:10:59
Score: 1
Natty:
Report link

Is it possible to search without using nested fields, achieving exact matches within the same object in an array in ElasticSearch?

Short answer: No

Explanation: In Elasticsearch, non-nested fields within an array are “flattened” at indexing time, so Elasticsearch doesn’t inherently recognize that individual field values in an array of objects are associated within the same object. Without the nested field type, fields in an array of objects are treated as if they were part of a single object, which means searches can’t distinguish between values belonging to separate objects.

Official explanation: The nested type is a specialised version of the object data type that allows arrays of objects to be indexed in a way that they can be queried independently of each other. https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html

Workaround: If you’re unable to use nested fields, another option is to restructure your data to avoid arrays of objects.

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • High reputation (-1):
Posted by: Musab Dogan

79160678

Date: 2024-11-05 21:10:59
Score: 1
Natty:
Report link

I recommend you to use DrissionPage python library for web scraping and automation projects.

DrissionPage is a python-based web automation tool. It can control the browser, send and receive data packets, and combine the two into one. It can take into account the convenience of browser automation and the high efficiency of requests. It is powerful and has numerous user-friendly designs and convenient functions built in. Its syntax is concise and elegant, with little code and is friendly to novices.

Please reference the following url: https://drissionpage.cn/dp40docs/

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

79160653

Date: 2024-11-05 20:59:55
Score: 1
Natty:
Report link

Instead of

sh.getRange ('1' + e.range.columnStart)

you may change it to

sh.getRange (1 , e.range.getColumn())

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

79160646

Date: 2024-11-05 20:57:54
Score: 2
Natty:
Report link

minimumElasticInstanceCount is a parameter used in Autoscaling. It is used to define the number of instances that should be available at the minimum when the load is very low. You can see more about autoscaling at Microsoft TechCommunity - Apps on Azure Blog

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

79160644

Date: 2024-11-05 20:56:54
Score: 3.5
Natty:
Report link

Not sure if this limit is hard for all the bots, but it's good to have a reference of avoiding more than 30 messages per second. https://telegram.org/tos/bot-developers#6-2-5-broadcasting-messages-with-stars

Another suggestion:

  1. Use a VPN to avoid having multiple accounts from the same IP.
  2. Use one account to consume data from the first channel and a different one to produce into the second one.
  3. I considered having the consumer and the producer bots running into different VPS, communicating via API.
  4. Rate limit of 20-30 messages per minute.
  5. Avoid using virtual numbers?
Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Martín Morales

79160638

Date: 2024-11-05 20:54:53
Score: 3.5
Natty:
Report link

Pixi support for Visual Studio Code to manage Pixi projects VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=jjjermiah.pixi-vscode

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

79160637

Date: 2024-11-05 20:54:53
Score: 2
Natty:
Report link

Is this possible using scapy?

Likely not, here the Scapy documentation discusses specifics of loopback interface and its usage: link.

Are there other ways to do it ?

I can only recommend connecting two machines and sending packets from one machine two another. One can use virtual machines, for example, created in VirtualBox, to do experimenting with only one physical machine available.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (0.5):
Posted by: Pavel Shishpor

79160616

Date: 2024-11-05 20:47:52
Score: 1.5
Natty:
Report link

You can check this out, it looks simple. You have to include the number as well.

num = int(input("Enter a number: "))

for i in range(1, num + 1):
    if num % i == 0:
        print(i, end=" ")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prince Mensah

79160615

Date: 2024-11-05 20:47:52
Score: 1
Natty:
Report link

T in std::vector<T> can be accessed through value_type:

template<typename C, typename T = C::value_type, std::invocable<T> Visitor>
void template_ref_visit(C& c, Visitor& visit) { visit(c[0]); }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nil Admirari

79160611

Date: 2024-11-05 20:45:49
Score: 9.5 🚩
Natty: 5.5
Report link

I am facing the same issue. Did you able to fix it?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nihal

79160605

Date: 2024-11-05 20:42:48
Score: 0.5
Natty:
Report link

As far as I know you can’t directly set a sessionID for an insertAll request using the BigQuery Java client. insertAll is designed for streaming inserts and doesn't participate in explicit transactions the same way queries do.

I think a parameterized INSERT statement within your transaction would be a good alternative. This way, you guarantee atomicity of your operations, so either all changes are applied, or none are. This is a better approach for managing multiple changes within a single transaction in BigQuery.

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

79160603

Date: 2024-11-05 20:42:48
Score: 3
Natty:
Report link

Turns out the problem was with the definition of the layout in landscape mode. Elements from the main layout were showing up on top of the graph's legend.

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

79160601

Date: 2024-11-05 20:38:47
Score: 1.5
Natty:
Report link

You can specify that you wish to use the Corax engine in 3 ways/levels:

  1. Setting the search engine server-wide (for all databases):
    update your settings.json file as shown in this link:
    https://ravendb.net/docs/article-page/6.2/csharp/indexes/search-engine/corax#select-search-engine-server-wide
  2. Setting the search engine per database:
    done via the Studio as shown in this link:
    https://ravendb.net/docs/article-page/6.2/csharp/indexes/search-engine/corax#select-search-engine-per-database
  3. Setting the search engine per index:
    can be done via the client API code as shown in this link:
    https://ravendb.net/docs/article-page/6.2/csharp/indexes/search-engine/corax#select-index-search-engine-using-code
Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Danielle

79160596

Date: 2024-11-05 20:37:45
Score: 11.5 🚩
Natty: 6
Report link

I'm having the same issue here, have you been able to fix it? thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1.5): have you been able to
  • RegEx Blacklisted phrase (1.5): fix it?
  • 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 (1):
Posted by: Pato Draghi

79160586

Date: 2024-11-05 20:34:41
Score: 6 🚩
Natty: 4
Report link

Unfortunately this doesn't work for me. Checked and correct PATH is exposed to the running process but still getting No ST-LINK detected

Version: 1.16.1 Build: 22882_20240916_0822 (UTC)

OSX version 15.0.1

Any ideas?

Reasons:
  • Blacklisted phrase (1): Any ideas
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: dstrbad

79160585

Date: 2024-11-05 20:34:41
Score: 3
Natty:
Report link

this problem is solutioned by subscription-manager refresh

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JORGE MARIO MARQUEZ COTES

79160550

Date: 2024-11-05 20:19:37
Score: 1
Natty:
Report link

I also just ran into this issue, and in my case I fixed it by moving away from bodyParser to using the express.json() and express.text() built-in middleware functions.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SuperZooper3

79160545

Date: 2024-11-05 20:18:37
Score: 2
Natty:
Report link

I see, the acutal reason missing in all answers. Its because you are trying to open a large file using Document() , which throws package not fount exception. Try to use docx2txt or other libs for the same usecase , it will work .

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

79160541

Date: 2024-11-05 20:16:34
Score: 15 🚩
Natty:
Report link

I am having the same error. Do you have any solutions?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1): I am having the same error
  • RegEx Blacklisted phrase (2.5): Do you have any
  • RegEx Blacklisted phrase (2): any solutions?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kevin

79160530

Date: 2024-11-05 20:13:34
Score: 1
Natty:
Report link
#include <iostream>
#include <chrono>

int main() {

    using namespace std::chrono;

    seconds sec(5);

    milliseconds ms = duration_cast<milliseconds>(sec);

    std::cout << "5 seconds is " << ms.count() << " milliseconds.\n";

    return 0;
}

When converting between different time units using std::chrono in C++, the typical approach is to use the duration_cast function. This ensures that conversions are precise and explicit.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Saurabh Rajput

79160526

Date: 2024-11-05 20:11:33
Score: 2
Natty:
Report link

For those developing for the web, the solution would be to use event.stopPropagation(). It stops clicks for the parent not to trigger the child and vice versa

https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation

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

79160514

Date: 2024-11-05 20:06:32
Score: 1.5
Natty:
Report link

I based my answer on @walyrious idea. I execute bash -c 'source run.sh; custom-script.sh' in maven-antrun-plugin so that custom-script.sh is in the same shell as the sourced run.sh. Though, I think this maven execution is much cleaner than his answer:

<plugin>
    <artifactId>maven-antrun-plugin</artifactId>
    <groupId>org.apache.maven.plugins</groupId>
    <executions>
        <execution>
            <id>source file</id>
            <phase>process-resources</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
                <target>
                    <exec executable="bash">
                        <arg line="-c 'source run.sh; custom-script.sh'"/>
                    </exec>
                </target>
            </configuration>
        </execution>
    </executions>
</plugin>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @walyrious
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kyle Seaman

79160511

Date: 2024-11-05 20:05:32
Score: 2
Natty:
Report link

SOLVED. Here is what I did : Copy the file opencv_world4xxx.dll to the same directory of your_project.exe. If in cargo run mode, copy to target/debug. Then you will get new error collerated with onnxruntime.dll, then simply download onnxruntime.zip from here : https://github.com/microsoft/onnxruntime and extract it then copy onnxruntime.dll to the same directory of your_project.exe just like the previous opencv_world file

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

79160508

Date: 2024-11-05 20:03:31
Score: 3
Natty:
Report link

This problem exist because in express lib in node_modules in index.d.ts file no export of 'express' function, instead it exports 'e' function. So we must use 'e' from 'express' instead of 'express'. enter image description here

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

79160505

Date: 2024-11-05 20:03:31
Score: 3
Natty:
Report link

Quit buttons are banned from the apple app store, as they ruin the seamless user experience that Apple wish to provide, as Ios has it's own way to open and close applications.

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

79160493

Date: 2024-11-05 19:55:29
Score: 0.5
Natty:
Report link

I had the same issue on Win 11 and solved it by installing setuptools with the following:

python3 -m pip install -U setuptools
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Koray Biçer

79160486

Date: 2024-11-05 19:51:28
Score: 1
Natty:
Report link

You have clearly a different configurations, one has run.skip-dirs, the other doesn't. Also, you seem have something like:

issues:
  new-from-rev: "origin/develop"

in your configuration which appears to be missing in the fork - this could explain the different outputs. Please provide a minimal, reproducible example we can check out and analyze when you require a more precise explanation.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: eik

79160479

Date: 2024-11-05 19:49:28
Score: 1.5
Natty:
Report link

Just to close out this question and answer the below,

God no! I am not using an email hash as the only thing that authenticates a user. I am using a pair of an access token and a refresh token to authenticate users. Both are signed by different, randomly generated, keys and verified by the middleware in every request to a protected route. Both have expiry times, the access token having a very short and refresh token a bit longer lifetime and I keep track of the refresh token family in case a consumed refresh token is used. In this case I invalidate all tokens, because someone is trying to use a token that was probably scraped by a hacker. For anyone that might be interested in a more detailed explanation, check out this article: https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/

The original question was just concerning access to a part of the DB, but as was commented on my initial post, the client shouldn't (and won't) be used as a cache. Instead, the DB will be queried directly.

What I mostly wanted to know was the answer by CBHacking in the first three paragraphs (before the However). I wasn't sure how secure salted hashes really are and now I know! :)

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

79160474

Date: 2024-11-05 19:47:28
Score: 0.5
Natty:
Report link

when it comes to focusing components between open/active states you need to wrap the focus setter around a setTimeout with a very small delay, so your code should look something like this:

useEffect(() => {
  if (commandRef.current) {
    setTimeout(() => {
      commandRef.current.focus();
    }, 50)
  }
}, []);

if you're trying to highlight a CommandItem component, you'll want to set the data-selected attribute alongside the focus, which looks something like this:

useEffect(() => {
  if (commandItemRef.current) {
    setTimeout(() => {
      commandItemRef.current.setAttribute("data-selected", "true")
      commandRef.current.focus();
    }, 50)
  }
}, []);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when it
  • Low reputation (1):
Posted by: seb crossa

79160472

Date: 2024-11-05 19:47:28
Score: 2.5
Natty:
Report link

im faced with behabior now , i have aconcurrent job what fails showing this menssage :

failed to execute with exception Exceeded maximum concurrent compute capacity for your account: 1000. Please retry after currently running jobs complete

and

failed to execute with exception Exceeded maximum concurrent compute capacity for your account: 1000. Please retry after currently running jobs complete. (Service: AWSGlueJobExecutor; Status Code: 400; Error Code: InvalidInputException

The max job concurrencyis set to 200 , so i dont know what happend any help ?

Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Cristián Vargas Acevedo

79160462

Date: 2024-11-05 19:41:26
Score: 1
Natty:
Report link

Update for 2024, I had to do the following to get my styling to apply to an a-tag.

.my-content-with-link {
    :deep(a) {
        color: red;
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrew Pye

79160448

Date: 2024-11-05 19:29:23
Score: 2.5
Natty:
Report link

Why note fanout directly from the SNS to the SQS queues?

Like: SNS -> SQS (P0 - PN)

I think that's the standard in this case.

https://docs.aws.amazon.com/sns/latest/dg/sns-sqs-as-subscriber.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
Posted by: Raul Barreto

79160446

Date: 2024-11-05 19:29:21
Score: 6 🚩
Natty:
Report link

This has been solved thanks to pskink's comment on my question:

this could be a good starting point: pastebin.com/YTyCPVZd – pskink

thank you so much brother, please post the answer yourself so I can choose it !

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): please post the answer your
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Youssef Hanna

79160422

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

You can create a directory within the root directory and save the data to the file within that directory. Ex: C:\Test\Metric.csv

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

79160405

Date: 2024-11-05 19:13:17
Score: 1
Natty:
Report link

Host your Node.JS Backend separately from the React Frontend app and create a .env file in the Remote Backend project. You can try setting up dotenv this way.

import * as dotenv from "dotenv";
dotenv.config();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Richard Kenneth

79160403

Date: 2024-11-05 19:12:17
Score: 5.5
Natty: 6.5
Report link

here link for avr mcu washing machine program. never been tasted. temperature measurement is not implemented

https://docs.google.com/document/d/1zpD91VNDjDGJ6VeZuVOODWFSMHn1mkZ9a7_tIjchrlU/view?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sergii Kovalenko

79160389

Date: 2024-11-05 19:07:15
Score: 1
Natty:
Report link

Jeremy's suggestion to use JsonSchema.Net.OpenApi is good, but I'd recommend going one step further and using Graeae. Graeae provides Open API description models and supports validation and dereferencing.

Disclaimer: Both JsonSchema.Net and Graeae are my projects.

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

79160380

Date: 2024-11-05 19:04:14
Score: 1
Natty:
Report link

I did it like this, to me it seems easier to read

def caught_speeding(speed, is_birthday):
   value = 0
        
   if is_birthday:
       speed -= 5
   if speed >= 81:
       value = 2
   elif speed >= 61:
       value = 1

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

79160379

Date: 2024-11-05 19:03:14
Score: 0.5
Natty:
Report link

The error occurred because I used an incorrect cast while trying to display enum values in a dropdown in the Razor view. Since Enum.GetValues can't be directly used as an array, it needed to be cast to DifficultyLevel with Cast(). The incorrect expression wasn't understood by Razor, resulting in an error.

In Edit.cshtml, I replaced the form in which I perform Enum operations with the following form:

 <div class="form-group mb-4">
      <label asp-for="Difficulty" class="form-label font-weight-bold">Zorluk Derecesi</label>
      <select asp-for="Difficulty" class="form-control bg-secondary text-light border-0 shadow-sm">
          <option value="">Seçiniz</option>
          @foreach (var level in Enum.GetValues(typeof(Question.DifficultyLevel)).Cast<Question.DifficultyLevel>())
          {
              <option value="@level">@level</option>
          }
      </select>
      <span asp-validation-for="Difficulty" class="text-danger"></span>
  </div>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: onurkaygn

79160378

Date: 2024-11-05 19:02:13
Score: 2.5
Natty:
Report link

dotnet core api.

builder.Services.AddControllers().AddJsonOptions(options => options.JsonSerializerOptions.PropertyNamingPolicy=null);

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

79160374

Date: 2024-11-05 19:00:13
Score: 0.5
Natty:
Report link

I got this error on mac. Seems like a rights issue. One thing that works is settings-> privacy-&security-> full disk access .Add cursor.

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

79160371

Date: 2024-11-05 18:59:13
Score: 1.5
Natty:
Report link

You would need to update the IOS version in Project->Targets->General->Minimum Deployments should be set to the lowest IOS version then only your older version simulator will appear. Open Xcode. Select the "Window" menu. Select "Devices and Simulators". Select Simulators tab. Click on the "+" icon at the left bottom. Choose the desired device & preferred iOS. Click "Create".

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

79160357

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

In C# 6.0 or later (which includes .NET Framework 4.6, .NET Core 1.0, and all subsequent versions)

string formattedDate = $"{DateTime.Now:dd/MM/yyyy}";

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

79160345

Date: 2024-11-05 18:48:09
Score: 0.5
Natty:
Report link

You may request here for a higher quota value for the encountered error message quota exceeded.

If you find that you can't request an adjustment from the console, request the increase from Cloud Customer Care you may ask here as well your confusion why you have the project ID which is not owned by your organization.

Cloud Quotas adjustment requests are subject to review. If your quota adjustment request requires review, you receive an email acknowledging receipt of your request. If you need further assistance, respond to the email. After reviewing your request, you receive an email notification indicating whether your request was approved.

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

79160344

Date: 2024-11-05 18:48:09
Score: 5.5
Natty:
Report link

I have the same exact problem and I've tried everything to fix it but with no luck unfortunately.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Blacklisted phrase (1): no luck
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: john_doe99

79160334

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

i've been using it in prod for a while now

br {
    content: '';
    display: block;
    height: 5px;
}

works beautifully 👍

thanks @Morrisramone and @Rok

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Morrisramone
  • User mentioned (0): @Rok
  • High reputation (-1):
Posted by: Felipe Chernicharo

79160330

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

One of the main reasons I see why it took 19 seconds to run in Node.js is because the Vertex AI SDK for Node.js lets you use the Vertex AI Gemini API to build AI-powered features and applications. Both TypeScript and JavaScript are supported. The sample code in this document is written in JavaScript. There are additional installations that might take some time before it fully executes the code.

Key Factors Contributing to Latency Differences:

Tips for Optimizing Node.js Performance:

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

79160329

Date: 2024-11-05 18:43:08
Score: 3
Natty:
Report link

r.HairStrands.PathTracing.InvalidationThreshold -1

run this console command, fixed it for me. It doesn't have to be -1, just a negative number..

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