79115147

Date: 2024-10-22 17:14:16
Score: 0.5
Natty:
Report link

I use this code and it compiles and runs in debug mode. If thing_initialized is true, it executes. If false, this is gets a runtime error.

fn main() {
    #[cfg(debug_assertions)]
    let thing_initialized = false;
    
    if cfg!(debug_assertions) {
        assert!(thing_initialized);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vadtam

79115140

Date: 2024-10-22 17:07:15
Score: 1
Natty:
Report link

For anyone struggling with variables that have been modified.

In my case filepaths to Uri:

var sideOne = UserDataPaths.GetDefault().Desktop + "\\TestFolder\\SideOne.png"

var source = new Uri($@"{sideOne}", UriKind.RelativeOrAbsolute);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Queen Mochi

79115138

Date: 2024-10-22 17:07:15
Score: 0.5
Natty:
Report link

I managed to make it with a trick. Though I'm not sure it will work as expected independently of compiler implementation. Please post if you see any caveat.

First, add a trivial member to struct, at first position, which must always have the same name (busin this case):

//list of sensors with a member for each sensor
typedef struct {
    cOneSensor_ini bus    = cOneSensor_ini("A4",   0); // <<--- HERE fixed member    
    cOneSensor_f A4_temp1 = cOneSensor_f  ("A4t1", 0x1234);
    //... more sensor of different types
}Sensor_list_4_s;

Now you can use this first member with known name as a pointer to the whole struct: sensors_array = &this->bus;:

template <typename T>
class cSensorsList: public T
{
//...
public:
    cSensorsList(int bus_code):bus_code(bus_code)
    {
        nSensors = sizeof(T);
        p_sensors_array = &this->bus; // <<--- HERE get pointer to template members
    }
    void update(void) {/*...*/}
};

But I'm pretty sure (or I wish) there should be a more elegant solution.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Please post
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: piedramania

79115136

Date: 2024-10-22 17:06:15
Score: 2
Natty:
Report link

Maybe it will help someone: We need to put (surface->format)->format into the function.

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

79115126

Date: 2024-10-22 17:04:14
Score: 1
Natty:
Report link

You can use/create a algorithm that changes the numbers into letters. I don't know any specific encryption engine that can encrypt without numbers, probably because they already are really safe chars.

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

79115122

Date: 2024-10-22 17:03:13
Score: 1.5
Natty:
Report link

Your embeddings are in a numpy array object, rather than a list of floats as is required by the Pinecone upsert method. Try using .tolist() on the array to convert it to a list of floats.

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

79115109

Date: 2024-10-22 17:00:12
Score: 4
Natty:
Report link

Close it. Found the problem and resolved.

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

79115099

Date: 2024-10-22 16:57:12
Score: 1.5
Natty:
Report link

The most upvoted solution does not work if you have a custom DestinationStream as SonicBoom will only work with files and file descriptors

Error: SonicBoom supports only file descriptors and files
Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MintBerryCrunch

79115095

Date: 2024-10-22 16:56:11
Score: 1
Natty:
Report link

Just change postgres service type to LoadBalancer, add port 5432 to ingress, and open the tunnel, for minikube it would be:

minikube tunnel
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mircea Sirghi

79115074

Date: 2024-10-22 16:51:10
Score: 0.5
Natty:
Report link

To ensure that you get a decimal value when performing your calculations in SQL, you need to make sure that the division operation involves decimal types rather than integers. If any part of the operation involves integers, SQL will perform integer division, which will truncate any decimal portion and result in a whole number.

Solution :

First, Convert your integers to decimal before the division operation. This ensures that SQL treats the division as a decimal operation.

declare @percents decimal(16,2) = convert(decimal(16,2), 100);

declare @fifteenPercentage decimal(16,2) = 
    (convert(decimal(16,2), @fifteen) / convert(decimal(16,2), @total)) * @percents;

select '1-15: (' + trim(str(@fifteen)) + ') ' + trim(str(@fifteenPercentage)) + '%' as ratingB;

By converting @fifteen and @total to decimal(16,2) before performing the multiplication and division, SQL will handle the entire operation in decimal format, preserving the decimal part in the result.

The convert(decimal(16,2), @total) ensures that even if @total is zero, you would get a division error or a specific message instead of the entire operation resulting in an integer.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @fifteen
  • User mentioned (0): @total
  • User mentioned (0): @total
  • User mentioned (0): @total
  • Low reputation (1):
Posted by: Nikson Nadar

79115071

Date: 2024-10-22 16:49:09
Score: 1
Natty:
Report link

The two signatures are equivalent. So, both are correct. With the intermediate expression and binding, type checking just runs a little different and thus finds a function with one parameter, returning a function, while in the first case it finds a partial function.

Contentwise, of course, the second version does not delay the function.

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

79115068

Date: 2024-10-22 16:48:09
Score: 2
Natty:
Report link

Found the issue! It is Not the launch.json configuration that is incorrect. In VS code, the "RUN AND DEBUG" button selected the "Current File", not the SpringBoot application start file that contains the main method.

It is a silly mistake, but it took me a day to fix!

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

79115067

Date: 2024-10-22 16:48:09
Score: 1.5
Natty:
Report link

I just checked: in Android Studio Hedgehog | 2023.1.1, when you click the record button of the emulator (above the emulator), before you start recording, there is the option checkbox to "Show Tabs" - no need to get developer options.

https://developer.android.com/studio/debug/am-video?utm_source=android-studio

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Philipp Breuss-Schneeweis

79115062

Date: 2024-10-22 16:45:08
Score: 0.5
Natty:
Report link

enter image description here

I went to Android Studio > Preferences > Build, Execution, Deployment > Build Tools > Gradle. Under Gradle JDK, I found that JetBrains Runtime (JDK 21) was selected by default. I changed this to Homebrew OpenJDK 17 (or any compatible JDK 17 installation) from the dropdown.

My Android Studio, Gradle plugin everything is up to date and latest.

Reasons:
  • No code block (0.5):
Posted by: MD. Shafiul Alam Biplob

79115056

Date: 2024-10-22 16:44:08
Score: 4.5
Natty:
Report link

Add @import "primeng/resources/primeng.css" in styles.scss

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @import
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sergey Ronmanenko

79115042

Date: 2024-10-22 16:37:06
Score: 0.5
Natty:
Report link

The short answer is yes.

Some Laptops may switch from a powerful GPU to a lightweight GPU or viceversa, causing the GPU to temporarily or permanently disappear and thus give you a device lost.

Depending on the type of app you're developing, you will need to handle this situation.

A fullscreen videogame will rarely feel the need for this because it never wants the lightweight GPU.

But if your app is a tool (e.g. CAD, or you're the Qt library using Vulkan as its backend, whatever) you're much more likely to encounter this scenario, and these types of tools will at least need you to save all user data before crash, or ideally recover as if nothing happened.

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

79115037

Date: 2024-10-22 16:34:05
Score: 0.5
Natty:
Report link

if the problem that from the frontend endpoint and port you can't get any result or data from tha backend then as i think there's a solution for this by adding this code to your backendApplication file |-- Application | |-- controller | |-- Entity | |-- DTO | |-- BackendApplication.jav here is the code =>

@Bean
  public CorsFilter corsFilter() {
      CorsConfiguration corsConfiguration = new CorsConfiguration();
      corsConfiguration.setAllowCredentials(true);
      corsConfiguration.setAllowedOrigins(Arrays.asList("http://localhost:4200"));
      corsConfiguration.setAllowedHeaders(Arrays.asList("Origin", "Access-Control-Allow-Origin", "Content-Type",
            "Accept", "Authorization", "Origin, Accept", "X-Requested-With",
            "Access-Control-Request-Method", "Access-Control-Request-Headers"));
      corsConfiguration.setExposedHeaders(Arrays.asList("Origin", "Content-Type", "Accept", "Authorization",
            "Access-Control-Allow-Origin", "Access-Control-Allow-Origin", "Access-Control-Allow-Credentials"));
      corsConfiguration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS"));
      UrlBasedCorsConfigurationSource urlBasedCorsConfigurationSource = new UrlBasedCorsConfigurationSource();
      urlBasedCorsConfigurationSource.registerCorsConfiguration("/**", corsConfiguration);
      return new CorsFilter(urlBasedCorsConfigurationSource);
  }

don't forgot this annotation @Bean

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

79115034

Date: 2024-10-22 16:33:05
Score: 1.5
Natty:
Report link

I often give the user a choice to convert (using a variable in an input control) and avoid inputting the M for million beside the value. I'll indicate the number format in the column/row header (in Millions).

Input control changes both the header title at the top (Millions / Thousands / hundreds, etc) adjust the key figure by dividing to the correct multiple.

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

79115033

Date: 2024-10-22 16:32:04
Score: 5.5
Natty: 5
Report link

@snarkwell I know it's an old post, but would you be willing to share that language file you created? I'm looking for something with this simplicity.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @snarkwell
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Hector Jimenez

79115023

Date: 2024-10-22 16:31:04
Score: 1.5
Natty:
Report link

By using listenaddress=192.168.0.10 you are binding the listener to that specific interface. localhost will typically resolve to ::1 or 127.0.0.1, neither of which will match 192.168.0.10. You can use listenaddress=0.0.0.0 to listen on all interfaces, this may also solve the issue.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Steve HW

79115020

Date: 2024-10-22 16:30:03
Score: 1
Natty:
Report link

You can change the prebundle option for the development server in the angular.json file in order to handle this case.

Example:

"serve": {
  "configurations": {
    "development": {
      "prebundle": {
        "exclude": ["@myorg/my-ngx-library"]
      }
    }
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Haupt

79115017

Date: 2024-10-22 16:29:03
Score: 2
Natty:
Report link

Its so simple. For customized error pages like 401, 402, 403, 404, 429, 500, 503. follow this setup I will guide you in a very simple way.

  1. Enter or just copy past this command "php artisan vendor:publish --tag=laravel-errors".
  2. Now just go to public/view/resources/views/error/*.

Now you can see all error pages are available here. just customize it according your needs.

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

79115012

Date: 2024-10-22 16:28:03
Score: 3.5
Natty:
Report link

To forward to http on 3.18.0 ngrok version use: ngrok http --scheme=http 80

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

79115010

Date: 2024-10-22 16:27:02
Score: 1
Natty:
Report link

Try add this tag. More info https://github.com/dotnet/aspnetcore/issues/58313

<RuntimeFrameworkVersion>8.0.8</RuntimeFrameworkVersion>
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: valentasm

79115005

Date: 2024-10-22 16:26:02
Score: 0.5
Natty:
Report link

My working YAML configuration:

quarkus:
  datasource:
    jdbc:
      driver: "software.amazon.jdbc.Driver"
      url: "jdbc:aws-wrapper:postgresql://<your-db-hostname>:5432/<your-db-name>"
      additional-jdbc-properties:
        wrapperPlugins: "iam"
      username: "<your-db-username>"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel

79114997

Date: 2024-10-22 16:23:01
Score: 1
Natty:
Report link

Adding InnerException helped track down the problem assemblies. Some were missing, but the final problem is the nuget build for iText7 seems to have an incorrect reference?

Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.0.2.0, ...

Looking at nuget, there is no such version. It appears there's some dll in iText7 that is referencing it (even though the iText7 project files don't as far as I can see).

I substituted the iText7 dlls found for iText7Module on PowerShell gallery and targeted 7.2.0 (which is what they are labeled) and it now works. The iText7 dlls from iText7Module labeled as 7.2.0 aren't the same as the ones with the same version from nuget. Not sure what is going on exactly, but it resolved the issue.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: evandrunen

79114995

Date: 2024-10-22 16:23:01
Score: 1
Natty:
Report link

you'll need to have a manifest.in as mentioned in above answer, as well as you'll also need to add it to your setup.py by adding this param too: include_package_data=True

so it will look something like:

setup(
    ....
    packages=find_packages(),
    include_package_data=True,
    ...
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: iamDyeus

79114979

Date: 2024-10-22 16:19:00
Score: 0.5
Natty:
Report link

I think your mistake is how you get the "faultstring" property. Remember that you are setting the "soapenv" namespace and the "faultcode" property does not have this namespace. This is the example I was trying:

<?php

$xml = <<<XML
<?xml version='1.0' encoding='UTF-8'?>
    <soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
        <soapenv:Body>
            <soapenv:Fault>
                <faultcode>soapenv:Server</faultcode>
                <faultstring>For input string</faultstring>
                <detail />
            </soapenv:Fault>
        </soapenv:Body>
    </soapenv:Envelope>
XML;

$xmlObject = simplexml_load_string($xml);
$namespaces = $xmlObject->getNamespaces(true);
$body = $xmlObject->children($namespaces['soapenv'])->Body->Fault;

print_r($body->xpath('faultstring'));

This is the result: 1

I also leave you an example of how I think it would be easier to obtain the value you need from the "faultstring" property:

<?php

try {
    $dom = new DOMDocument();
    $dom->loadXML($xml);
    $xpath = new DOMXPath($dom);

    // Execute XPath query to get "faultstring" property value
    $faultString = $xpath->evaluate('//soapenv:Fault/faultstring');

    var_dump($faultString->item(0)->nodeValue);
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}

This is the result:

enter image description here

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

79114974

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

It looks like you’re dealing with a JDBC connection leak issue in a Glassfish application server. Here’s a summary of the steps you can take to monitor and identify the leak:

Enable Monitoring: Go to Configurations -> server-config -> Monitoring. Check the Enabled checkbox next to the Monitoring Service. Set the monitoring level to HIGH for the JDBC Connection Pool.

Check Monitored Data: Navigate to the Monitor tab in the server link. Go to the Resources tab to view JDBC Connection Pool data. Look for high values in WaitQueueLength, indicating many connection requests are queued.

Enable Connection Leak Monitoring: Go to the Advanced tab of the connection pool. Set a non-zero value for Leak Timeout to enable leak monitoring.

These steps should help you identify and address the connection leak issue.

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

79114973

Date: 2024-10-22 16:15:59
Score: 0.5
Natty:
Report link

Using axios alone from node.js would be faster and more reliable than using puppeteer to do so (unless you absolutely must use puppeteer for whatever reason).

Also, use networkidle2 to make sure the page is fully loaded before the download takes place.

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

79114969

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

Thank you TryingToLearn for that insight! Helped me a ton. FYI, Chrome has deprecated the flag chrome://flags/#third-party-storage-partitioning.

Now the same can be achieved with the command line argument --disable-features=ThirdPartyStoragePartitioning.

Example using Mac terminal:

open -a "Google Chrome" --args --disable-features=ThirdPartyStoragePartitioning
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kal

79114962

Date: 2024-10-22 16:10:58
Score: 4.5
Natty:
Report link

Have you binded the secret to the function? If you have, you can share the part of the code where you initialized the secret?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Richard Kenneth

79114957

Date: 2024-10-22 16:09:57
Score: 11
Natty: 7.5
Report link

How did you solve this issue ?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this
  • RegEx Blacklisted phrase (1.5): solve this issue ?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How did you solve this is
  • Low reputation (1):
Posted by: Wesal

79114955

Date: 2024-10-22 16:08:57
Score: 2
Natty:
Report link

Did you try reparing IDE? File -> Repair IDE

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Kevin Meneses Palta

79114946

Date: 2024-10-22 16:05:56
Score: 0.5
Natty:
Report link

Thanks @Alvin for pointing me to the right direction. However, the scheduler in his yml file is somehow not recognized by Azure, even though the file is validated with no issue. I had to modify it a bit, not sure what is wrong.

Here is my modified yml:

# ASP.NET Core

# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
#inputs options: https://github.com/tinglesoftware/dependabot-azure-devops/blob/main/extension/README.md
trigger: none 
schedules:
- cron: 0 13 * * 0 # 1pm in UTC = 6/7am PST cron syntax defining a schedule
  displayName: weekly build on Sunday # friendly name given to a specific schedule
  branches:
    include: [ dev ] # which branches the schedule applies to
  always: true # whether to always run the pipeline at the scheduled time, even if there have been no changes
  batch: false # whether to run the pipeline if the previously scheduled run is in-progress; the default is false
jobs:
  - job: null
    displayName: Scan dependencies
    pool:
      name: Azure Pipelines
      vmImage: ubuntu-latest    
    steps:    
    - task: dependabot@2
      displayName: 'Run Dependabot'
      inputs:
        autoApprove: true
        setAutoComplete: true
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Alvin
  • Self-answer (0.5):
Posted by: Hoang Minh

79114945

Date: 2024-10-22 16:05:56
Score: 1.5
Natty:
Report link

I'm dumfounded. I could do this stuff age 25, with one hand, while watching Dr. Who and eating a Cheese and Beetroot sandwich.

Now I'm 50 I can't workout diddly-squat !

Set Var ddate=%date%

[ or Set Var ddate = %date% ]

Echo %ddate% a

Echo %ddate bb

Echo ddate ccc

Echo %%ddate dddd

Echo %ddate % eeeee

====

a

ddate bb

ddate ccc

%ddate dddd

eeeee

( Windows 10 .Bat file )

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

79114941

Date: 2024-10-22 16:04:56
Score: 2.5
Natty:
Report link

Step 1: Run this command - adb reverse tcp:8081 tcp:8081

Step 2: To resolve the issue, press Cmd+M in the emulator, choose Change Bundle Location, enter localhost:8081, and click OK.

enter image description here

enter image description here

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

79114938

Date: 2024-10-22 16:03:55
Score: 2.5
Natty:
Report link

The filter route works perfectly, I've be doing this forever since I have some automated messages being sent from my personal email address and I don't want those ending up in my "Sent" folders.

enter image description here

(also related: https://superuser.com/questions/1465363/prevent-gmail-from-saving-sent-mail/1859523#1859523)

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

79114925

Date: 2024-10-22 16:00:54
Score: 1.5
Natty:
Report link

Answering my own question, configuring a menu entry is quite simple actually:

windows {
    ...
    menu = true
    menuGroup = "My Company Name"
    ...
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: joe1806772

79114923

Date: 2024-10-22 15:59:54
Score: 3.5
Natty:
Report link

you can actually do items.is_enabled_ids!

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

79114920

Date: 2024-10-22 15:59:54
Score: 3.5
Natty:
Report link

Please update your flutter and I hope the issue will resolved. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Scarletioshub

79114919

Date: 2024-10-22 15:59:54
Score: 2
Natty:
Report link

Use the --existing and --assumeyes flags.

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

79114918

Date: 2024-10-22 15:59:53
Score: 5.5
Natty:
Report link

I am in search of away to hide/show app opened in task bar. I am using .NET MUAI blazor hybride ( windows)

user32.dll is possible the option but i dont know where to put import statement,

pls advise

Reasons:
  • RegEx Blacklisted phrase (2.5): pls advise
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): user32
  • Low reputation (1):
Posted by: Sanong Penmongkol

79114915

Date: 2024-10-22 15:58:53
Score: 1
Natty:
Report link

You don't need a function for this, as you can just use the JavaScript filter function on the axes array.

This will create a new array with the filtered objects.

const response = pm.response.json();

let search = response.axes.filter(obj => 
    obj.is_validation_required === false && 
    obj.additionnal_day_allowed === true && 
    obj.remaining_days > 0);

console.log(search);

Console Log

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

79114913

Date: 2024-10-22 15:56:52
Score: 0.5
Natty:
Report link

You can use merging media source with a custom renderers factory that creates multiple renderers and loads them with the specific video tracks using a custom track selector logic. By this method, you can have multiple video renderers rendering to a specific surface views and Exoplayer takes care of the synchronisation.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shri Hari

79114905

Date: 2024-10-22 15:55:52
Score: 1.5
Natty:
Report link

Currently the Diagrams plugin in the IntelliJ IDEA supports the following chart types:

Unfortunately it currently does not support package diagram.

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

79114901

Date: 2024-10-22 15:54:52
Score: 0.5
Natty:
Report link

Simple just put one line in your activity

getWindow().setStatusBarColor(Color.TRANSPARENT);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Mihir Trivedi

79114885

Date: 2024-10-22 15:49:50
Score: 1
Natty:
Report link

My problem was briefly the same -hundreds of products, which numbers are continuously increasing- and didn't find any feasable code based solution, also Woocommerce documentation looks intentionally outdated.

Long story short: Use built-in WooCommerce Product CSV Importer and Exporter tool to achieve this goal. Makes things way simpler and faster in the long run. Although Woocommerce states the following:

In the long term, this extension will be phased out... source

Would be logical to just refer to variation id, when it comes to selecting the default one for each product, right? For some reason it was implemented differently...

I'll guide you through an example, which already includes some variable products and their variations. Here's an example

  1. Export your products or create a CSV UTF-8 sheet based on parameters available in Woocommerce documentation. Here

  2. Add the following columns with their respective number as:

Attribute 1 default Attribute 2 default
  1. Choose the desired attribute value and insert it under the corresponding column. Eg.: Attribute 1 value has: S, M, L and you'd like to have the default variation size as M, then put M here.

Attribute related header titles in order in this example:

Type SKU Name Visibility in catalogue Tax class In stock? Stock Regular price Parent Attribute 1 name Attribute 1 value(s) Attribute 1 visible Attribute 1 global Attribute 1 default Attribute 2 name Attribute 2 value(s) Attribute 2 visible Attribute 2 global Attribute 2 default

Since it's a plain text database, you can let your excel skills push the limit of this method, and save load of time by using formulas, just like me or even better: scripting the whole process.

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

79114884

Date: 2024-10-22 15:48:50
Score: 1
Natty:
Report link

It's not an answer yet...

Indeed, looks strange:

enter image description here

C4="A"&{1;2}
D4=BYROW(C4#;LAMBDA(X;INDIRECT(X)))
C7=BYROW(C4#;LAMBDA(X;X))
D7=INDIRECT(C7#)

while INDIRECT(C7) is 0.

INDIRECT("A"&{1;2}) returns {#VALUE!;#VALUE!}.

Reasons:
  • Blacklisted phrase (1): not an answer
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: rotabor

79114870

Date: 2024-10-22 15:44:49
Score: 0.5
Natty:
Report link

const values =["",0,"one",NaN,1,"two",2,null,"three",undefined,3,false]
let filterValue = values.filter((e) => {
  if (e === "" || e === 0) {
    return Boolean(!e)
  }
  return Boolean(e)
});

console.log(filterValue)

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

79114865

Date: 2024-10-22 15:43:48
Score: 0.5
Natty:
Report link

Ran into this today and came across this question.

You may need to wrap your modal in its own SafeAreaContextProvider.

See the doc here: https://www.npmjs.com/package/react-native-safe-area-context#safeareaprovider

You should add SafeAreaProvider in your app root component. You may need to add it in other places like the root of modals and routes when using react-native-screens.

In my case, I was using Portal from react-native-paper, and adding a SafeContextProvider nested directly under the Portal solved my problem. In your example wrapping the component that the Stack.Screen serves might have done the trick.

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

79114858

Date: 2024-10-22 15:41:48
Score: 0.5
Natty:
Report link

No. You can not share instances of a DevBox. You can share images of a dev box that would make getting up to speed quicker.

We recently ran into a similar issue where we wanted to create a VM and then allow one person to use it at the time and after creating the VM realized i couldn't share it :( '

See the associated link for more info: https://learn.microsoft.com/en-us/answers/questions/1336888/shared-devbox

enter image description here

Reasons:
  • Blacklisted phrase (1): :(
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Nix

79114856

Date: 2024-10-22 15:40:47
Score: 0.5
Natty:
Report link

In some cases this will work:

 /**
 * @ts-expect-error
 */

Of course if you do not want to change the config file.

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

79114850

Date: 2024-10-22 15:38:46
Score: 2.5
Natty:
Report link

i tried

export OPENSSL_CONF=/dev/null (with normal npm start command working fine with pm2 command still throwing error)

OR

I suggest you to comment out the lines providers = provider_sectin in the file/etc/ssl/openssl.cnf it will work perfectly

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: vishal sharma

79114847

Date: 2024-10-22 15:37:46
Score: 2
Natty:
Report link

Inside your dockerfile, Add

ENV variable_name=variable_value
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vineesh Velayudhan

79114834

Date: 2024-10-22 15:35:46
Score: 3.5
Natty:
Report link

You can use the official guide on Installation to React or NextJS applications

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anton

79114829

Date: 2024-10-22 15:34:45
Score: 3.5
Natty:
Report link

Setting border-style to solid should do the trick.

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

79114815

Date: 2024-10-22 15:31:44
Score: 2
Natty:
Report link

The documentation for the 'Set' operation gives a bit of information:

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

79114811

Date: 2024-10-22 15:30:44
Score: 1.5
Natty:
Report link

That symbol is only available if you have Xcode 15.1+, upgrade your build environment to a more modern Xcode

https://developer.apple.com/documentation/storekit/transaction/offer/paymentmode/4307062-freetrial

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Mike Hardy

79114809

Date: 2024-10-22 15:29:44
Score: 2
Natty:
Report link

In the end the culprit is the z-index: -1; style set for the iwideo-wrapper element. When I removed it, it works fine.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Miloš Kroulík

79114800

Date: 2024-10-22 15:27:43
Score: 4.5
Natty:
Report link

I thought of using static variables for shared data and maximum limit.

I am trying to figure out possible scenarios where this can be used in real time. Please help me for that.

Code :

#include<stdio.h>
#include<pthread.h>

pthread_mutex_t pmLock;
static int shared = 0;
static int limit = 10;

void* printEven(){
    printf("This is printEven() start.\n");
    pthread_mutex_lock(&pmLock);
    while(shared <= limit){
        if(shared%2 == 0){
            printf("Even:%d\n",shared);
            shared++;
        }
        pthread_mutex_unlock(&pmLock);
    }
    printf("This is printEven() End.\n");
}

void* printOdd(){
    printf("This is printOdd() start.\n");
    pthread_mutex_lock(&pmLock);
    while(shared <= limit){
        if(shared%2 != 0){
            printf("Odd:%d\n",shared);
            shared++;
        }
        pthread_mutex_unlock(&pmLock);
    }
    printf("This is printOdd() End.\n");
}

int main(){

    //init mutex lock.
    if (pthread_mutex_init(&pmLock, NULL) != 0) { 
        printf("\n mutex init has failed\n"); 
        return 1; 
    }

    pthread_t thread_ids[2];
    printf("Before Thread\n");

    pthread_create(&thread_ids[0], NULL, printEven, NULL);
    pthread_create(&thread_ids[1], NULL, printOdd, NULL);

    pthread_join(thread_ids[0], NULL);
    pthread_join(thread_ids[1], NULL);

    printf("After Thread\n");

    // destroy mutex
    pthread_mutex_destroy(&pmLock);
    return 0;
}
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Please help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: msankpal

79114792

Date: 2024-10-22 15:26:43
Score: 2
Natty:
Report link

The solution of @jylls will work but not with svg. The right way to do it if you want to save as svg is this :

fig = plt.figure()
s = plt.scatter([1, 2, 3], [4, 5, 6])
s.set_urls(['https://www.bbc.com/news', 'https://www.google.com/', None])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jylls
  • Low reputation (1):
Posted by: user27933724

79114784

Date: 2024-10-22 15:24:41
Score: 5.5
Natty:
Report link

I am also facing the same issue. Using the following libs and MySQL database:

Django==5.1.2

djangorestframework==3.15.2

django-filter==24.3

django-cors-headers==4.5.0

markdown==3.7

mysqlclient==2.2.5

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Low reputation (1):
Posted by: Aman

79114782

Date: 2024-10-22 15:24:41
Score: 1
Natty:
Report link

If you are using a table, you can refer to the column and it will take the entire range. Just click on the header of the table column and it will add something like "Table1[Column1]" to refer to the whole column.

Otherwise, pick some arbitrarily large number in your rows, like 100000.

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

79114770

Date: 2024-10-22 15:19:40
Score: 3.5
Natty:
Report link

What is your support setting key value flight.client.readiness.timeout.millis ? You can try to set this key to higher value.

Reasons:
  • Blacklisted phrase (1): What is your
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is you
  • Low reputation (0.5):
Posted by: hieuiph

79114758

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

Versions from 2.26.0 of git have new option <pathspec>…​

which allows us to make work simply:

git rm --cached <pathspec>...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Oleg

79114756

Date: 2024-10-22 15:15:39
Score: 4
Natty:
Report link

This bug seems to be resolved in MySQL 8.0.31. Thanks Oracle

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: WormyGels

79114754

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

just add null aware (??) condition to handle the case when formKey is null.

(formkey.currentState.validate() ?? false)
                      ? const SizedBox()
                      : Container()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Vivek Chib

79114752

Date: 2024-10-22 15:15:38
Score: 1.5
Natty:
Report link
  1. onClick={() => setState(!currentState)}

  2. onClick={() => setState((prev) => !prev)}

here is the functional component version

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

79114741

Date: 2024-10-22 15:12:37
Score: 2.5
Natty:
Report link

use format_number funtion :-

Converts a number to a string and formats the number according to the locale specified in $_XDOLOCALE and to the number of decimal positions specified in n using Java's default symbols. For example: returns -12 345,00

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

79114733

Date: 2024-10-22 15:11:37
Score: 0.5
Natty:
Report link

I asked the same question on Tutor LMS' support and got the following answer:

To implement a feedback system using a scaling method in Tutor LMS, you can utilize the following approach:

Custom Quiz Questions: While Tutor LMS primarily focuses on quizzes with correct answers, you can create a custom quiz with questions designed for feedback. Use the "Multiple Choice" question type to simulate a scale. For example, create options labeled 1 to 5, where each number represents a level of clarity.

Survey Plugins: Consider integrating a survey or form plugin like WPForms, Gravity Forms, or Formidable Forms. These plugins allow you to create surveys with scaling questions and can be embedded within your course content.

Course Feedback: Tutor LMS has a built-in course feedback feature. You can customize this feature to include questions that use a scaling system. Navigate to Tutor LMS settings and enable course feedback, then customize the feedback form to include your scaling questions.

Custom Code: If you have development resources, you can add custom code to create a feedback form directly within the course content. This approach requires PHP and WordPress development knowledge.

Third-Party Integrations: Use third-party tools like Google Forms or SurveyMonkey to create your feedback survey. You can then link to these surveys from within your course content.

By using one of these methods, you can effectively gather feedback from students using a scaling system without needing correct answers.

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

79114726

Date: 2024-10-22 15:10:36
Score: 1
Natty:
Report link

This is doable one. Renaming the Mesh itself is quite challenging but that can be done via some ways. I have done using custom Asset Post processor and Modify that using Importing the asset. Later you need to script for the renaming set as well and what it does is it will Passes the user-defined settings to the CustomModelProcessor script which we created early. After doing this You just need to reimport the Models you want and trigger the On PostProcess model methos in customModel Postprocessor you created.

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

79114719

Date: 2024-10-22 15:08:35
Score: 5
Natty:
Report link

We are building our own dot net core application for attendance using ZKTeco, can you please guide us the following:

  1. how to connect to the device
  2. how to register staff picture to the device

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): can you please guide us
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Haroon Ahmad

79114710

Date: 2024-10-22 15:06:35
Score: 2.5
Natty:
Report link

Have you tried installing the packages one after the other? Also, have you tried upgrading to Node v20?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Whitelisted phrase (-1): have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Richard Kenneth

79114697

Date: 2024-10-22 15:04:34
Score: 3
Natty:
Report link

While writing up this question, I discovered that ""/usr/bin/python3": not found" is actually the problem. I happen to have symlinks in my node_modules

$ find ./node_modules/ -type l -ls | grep python
 53108278      0 lrwxrwxrwx   1 user     user           16 Sep 10  2023 ./node_modules/cpu-features/build/node_gyp_bins/python3 -> /usr/bin/python3
 53108265      0 lrwxrwxrwx   1 user     user           16 Sep 10  2023 ./node_modules/ssh2/lib/protocol/crypto/build/node_gyp_bins/python3 -> /usr/bin/python3

I guess buildkit changed how symlinks are handled, but fails to provide adiquate error messages. (I still normally use DOCKER_BUILDKIT=0 because the output is more useful).

But then WHY does COPY package.json node_modules/ ./ work???

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

79114687

Date: 2024-10-22 15:02:34
Score: 3
Natty:
Report link

Command: sudo apt --fix-broken install

Result: Error: Sub-Process /usr/bin/dpkg returned an error code (1)

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

79114683

Date: 2024-10-22 15:01:33
Score: 0.5
Natty:
Report link

You can't. This is shown as a security measure for the user, not for you to put any description inside this. Maybe this will change in the future, but for now there is simply no option to do so. You can see all options which are supported on the MDN documentation.

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

79114679

Date: 2024-10-22 15:01:33
Score: 3.5
Natty:
Report link

In macOS SystemSettings > Security > Local Network make sure that searches are enabled.

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

79114676

Date: 2024-10-22 15:01:33
Score: 0.5
Natty:
Report link

The approach you're using is causing this error because, when using the @PreMatching filter, it is expected that the actions are non-blocking, since the event loop is always used for these operations. The operation of reading the InputStream within the ContainerRequestContext is blocking, and since it is executed in the event loop, the org.jboss.resteasy.reactive.common.core.BlockingNotAllowedException is thrown.

Considering the exception being thrown and the purpose of the filter you mentioned in a previous comment, I believe a possible solution to the problem is as follows:

  1. Remove the @PreMatching annotation from the class.
  2. Use the @ServerRequestFilter annotation directly on the method (without passing attributes, to use the default configuration). This will ensure that the method is called before the request reaches the endpoint, and its operations will be executed in a non-blocking manner (executed in a worker thread).
  3. Remove the implementation of the ContainerRequestFilter interface. This is important because using @ServerRequestFilter in a class that implements this interface causes the method to be executed twice before reaching the endpoint.
package com.example;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.logging.Logger;

import org.jboss.resteasy.reactive.server.ServerRequestFilter;

import com.fasterxml.jackson.databind.ObjectMapper;

import io.vertx.core.http.HttpServerRequest;
import jakarta.ws.rs.container.ContainerRequestContext;
import jakarta.ws.rs.container.PreMatching;
import jakarta.ws.rs.core.Context;
import jakarta.ws.rs.ext.Provider;

@Provider
public class TesteFilter {
    private static final Logger LOGGER = Logger.getLogger(TesteFilter.class.getName());

    @Context
    HttpServerRequest request;

    @ServerRequestFilter
    public void doFilter(ContainerRequestContext containerRequestContext) throws IOException {
        LOGGER.info("Intercepting the request in the Filter");

        String body = new String(containerRequestContext.getEntityStream().readAllBytes());
        LOGGER.info("Original request body: " + body);

        ObjectMapper mapper = new ObjectMapper();
        Language language = mapper.readValue(body, Language.class);
        
        String modifiedBody = mapper.writeValueAsString(
                new Language("Modified-" + language.getType(),
                             "Modified-" + language.getName()
                            ));
        LOGGER.info("Modified request body: " + modifiedBody);

        containerRequestContext.setEntityStream(new ByteArrayInputStream(modifiedBody.getBytes()));
    }
}

Here’s the Quarkus documentation covering this topic: Request or response filters - Quarkus Documentation

Lastly, but no less important, you mention that you're using Quarkus version 3.8.6.redhat-00005, which leads me to believe that you already have a subscription to the Red Hat Build of Quarkus. Don’t hesitate to open a support ticket with Red Hat to get help with issues like this.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @PreMatching
  • User mentioned (0): @PreMatching
  • User mentioned (0): @ServerRequestFilter
  • User mentioned (0): @ServerRequestFilter
  • Low reputation (1):
Posted by: IanBMesquita

79114664

Date: 2024-10-22 14:58:32
Score: 1.5
Natty:
Report link

I have same issue.I checked some documents and I found the following solution: add a time.sleep after os.startfile.

import os

import sys

import time

os.startfile(r"D:/DEV/Python-Diverses/os/testb.png", "print")

time.sleep(5)

It works for me. Maybe it works for you too.

P.S I got this solution from the following page: https://www.geeksforgeeks.org/how-to-print-all-files-within-a-directory-using-python/

Reasons:
  • Whitelisted phrase (-1): works for me
  • Whitelisted phrase (-2): solution:
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Postal

79114657

Date: 2024-10-22 14:58:32
Score: 5.5
Natty:
Report link

Resolved, I needed to add an advanced parameter for the key and value and now it works. enter image description here

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: M Davie

79114654

Date: 2024-10-22 14:57:32
Score: 4
Natty:
Report link

createDecorationsCollection return interface IEditorDecorationsCollection. You call this method only one time and then work with returned object. https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IEditorDecorationsCollection.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Александр Галещук

79114652

Date: 2024-10-22 14:56:31
Score: 2
Natty:
Report link

Support for workspace:* was added in @manypkg/[email protected], so make sure your CI runs a more recent version of manypkg.

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

79114628

Date: 2024-10-22 14:49:29
Score: 3.5
Natty:
Report link

https://docs.appetize.io/testing provides full Playwright support for native or cross-platform iOS & Android apps

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

79114625

Date: 2024-10-22 14:48:29
Score: 0.5
Natty:
Report link
  1. Open DevTools
  2. Inspect the chart and locate the element of the line you want to hide.
  3. Right-click on the element and choose “Delete Element” or use the console:
document.querySelector('path.your-target-class').style.display = 'none';
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Amir Ben Shimol

79114617

Date: 2024-10-22 14:44:26
Score: 6.5 🚩
Natty: 5.5
Report link

which versions you ended up using?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): which
  • Low reputation (1):
Posted by: Anto Pisciolari

79114605

Date: 2024-10-22 14:42:25
Score: 4
Natty: 5
Report link

I have a similar situation, however the tab names are not sequential or numerical. In fact i extracted them in array format using "=(GET.WORKBOOK(1))&T(NOW())", and similarly to the above query I'd like to use the indirect formula to get cell C2 of each sheet.

I'm using this formula "=LET(A, "'" &A14#& "'!"&"C2", B,BYROW(A,LAMBDA(X,INDIRECT(X))), B)" However I'm getting a value! error. Strangely enough when I workout "A" named range in a separate cell and then refer to that cell using "#" since it would be a dynamic array, it works. However it is not very neat. Any help on this?

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

79114599

Date: 2024-10-22 14:41:24
Score: 0.5
Natty:
Report link

Thanks to @A Kiwi, because this same problem happened to me under different circumstances. I had completed a good number of SFML (.dylib, not framework) projects on an Intel Mac running Mojave, and when I migrated my work to a new M3 Mac running Sequoia (and also updated from SFML 2.5.1 to 2.6.1) my project source files would no longer compile, getting almost the exact errors as the OP, including

Library not loaded: @rpath/...

Reason: no LC_RPATH's found

For some reason, I now have to include -rpath /usr/local/lib (or whatever the path is to your .dylib binaries) in my command line options (which in XCode is accomplished by going to Build Settings->Linking-General->Runpath Search Paths, and adding the appropriate path).

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

79114597

Date: 2024-10-22 14:41:24
Score: 2.5
Natty:
Report link

To pass the AWS AIF-C01, focus on practicing with high-quality dumps like those from Passexam4sure. They provide real exam questions and detailed answers that help you prepare efficiently.

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

79114595

Date: 2024-10-22 14:40:24
Score: 3.5
Natty:
Report link

=COUNTIFS(range,"tru?",range,"?rue"). Personally I am not satisfied with this formula but it gives the desired result. My issue is there are several hundreds titles in the and I am trying to find duplicates. So title "True" is just one of many and it defeats the purpose of formula, if I have to deal in a cumbersome way like this.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mi49024

79114589

Date: 2024-10-22 14:40:24
Score: 3
Natty:
Report link

Thanks so much, though I'm not sure why your solution lost the "bassoon-cat-dog" row. Anyway I changed it to this which gives what I want:

=let( data, query( importrange("1jzBPxUMkRIhvGAqEJO4O57vx0D_rl_ZO7LgM5R9mhAs","A:I"), "select Col5, Col2, Col3, Col4, Col6, Col7, Col8, Col9 where Col1 = 'y' order by Col5, Col6 desc, Col2, Col3", 1 ), arrayformula(regexreplace(to_text(data), "([^)]*)", ""))
)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Divertimento Personnel

79114588

Date: 2024-10-22 14:39:24
Score: 0.5
Natty:
Report link

I think what you might want to do is to use TransactionScope for example in a process-pattern style at top level of your logic to contain all the single DB Transactions.

using (TransactionScope scope = new TransactionScope())
{
    //do all required stuff here
    ...
    scope.Complete();//commit top layer transaction
}

note, that since you are most likely going to operate on different connection transaction will most likely get elavated to Distributed Transaction, so I suggest you get some reading of MSDTC and Distributed Transactions - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771686(v=ws.10)?redirectedfrom=MSDN

Here is documentation regarding TransactionScope - https://learn.microsoft.com/en-us/dotnet/api/system.transactions.transactionscope

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

79114578

Date: 2024-10-22 14:39:24
Score: 1.5
Natty:
Report link

If you server is running please stop that and try to rename. Most probably it will be fixed. After renaming you can of course spin up you server again.

If the problem still appears, please cleanup npm the cache and then try again.

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

79114574

Date: 2024-10-22 14:38:23
Score: 1
Natty:
Report link

I actually found limitations in the implementation of th MCPWM hardware which were not so clear to me from the documentation:

  1. A roup cannot have 4 operators. 2 operators worked, but I tried 4 (for the two half bridges and the two enable inputs, and got the message "no free operators in group 0").
  2. One operator can have up to 2 comparators.
  3. One operator can have up to 2 generators.
  4. A generator can only react on comparator events from itsown operator.

With these limitations I currently don't see a way to generate the 4 independent signals for half step mode. Feel free to use my test system on github as a base for your research.

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

79114573

Date: 2024-10-22 14:38:23
Score: 0.5
Natty:
Report link

django-import-export can be used to export to csv either programmatically or with Admin UI integration.

It's built on tablib so supports other formats including xlsx, json, yaml etc.

It's well documented and there are lots of extension points for customizing output.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): can
  • High reputation (-1):
Posted by: Matthew Hegarty

79114569

Date: 2024-10-22 14:37:23
Score: 1
Natty:
Report link

I think the error is because griddb do not support the NOW() function. In my opinion you should calculate the current timestamp and then pass the same as part of your query. You should use datetime function of python to calculate the current time and then subtract 24 hours from your result. I hope this will help.

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Salman

79114568

Date: 2024-10-22 14:37:23
Score: 4.5
Natty: 5.5
Report link

This blows goats. I just want a wireframe draw antialiased, it's completely wasted on my texture draws. stupid d3d wants so many other settings changed between draw calls but AA can't be changed?? is there a good reason for this limitation or just another clown aspect of d3d11?

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

79114523

Date: 2024-10-22 14:28:21
Score: 2
Natty:
Report link

You seem to be trying to find the object in the P&ID database,

Project pj = projeto.ProjectParts["PnId"];

which is causing the exception "ObjectDoesNotHaveLink" which means "I cant find what you are looking for".

To access the 3D data, you must use:

Project pj = projeto.ProjectParts["Piping"];

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

79114521

Date: 2024-10-22 14:27:20
Score: 0.5
Natty:
Report link
you should your services each by column like

    
@foreach($accounts as $account)
<table>
    <thead>
        <tr>
            <th>Service {{$account->id}}</th>
            <th>Email</th>
            <th>Password</th>
            <th>Country</th>
            <th>Expiration</th>
            <th>Last Days</th>
        </tr>
    </thead>
    <tbody>

            <tr>
                <td width="20">{{ $account->service->name }}</td>
                <td width="35">{{ $account->email }}</td>
                <td width="13">{{ $account->password }}</td>
                <td width="10">{{ $account->pais }}</td>
                <td width="20">{{ $account->dateto }}</td>
                <td width="10">{{ $account->last_days }}</td>
            </tr>
    
    </tbody>
</table>

@endforeach
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: spacecowboy

79114513

Date: 2024-10-22 14:26:20
Score: 1
Natty:
Report link

Two options I have found that work for removing majorGridlines:

I.

chart_name.y_axis.majorGridlines = None

II.

from openpyxl.chart.axis import ChartLines
from openpyxl.chart.shapes import GraphicalProperties
from openpyxl.drawing.line import LineProperties

chart_name.y_axis.majorGridlines = ChartLines(GraphicalProperties(ln=LineProperties(noFill=True)))

The second option allows you to really fine tune your properties in the chart. There are a ton of options you can set by following the breadcrumbs. But this requires you to really dig into the documents.

https://openpyxl.readthedocs.io/en/stable/_modules/openpyxl/chart/axis.html#ChartLines

https://openpyxl.readthedocs.io/en/stable/_modules/openpyxl/chart/shapes.html#GraphicalProperties

https://openpyxl.readthedocs.io/en/stable/_modules/openpyxl/drawing/line.html#LineProperties

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