79203389

Date: 2024-11-19 12:20:34
Score: 2
Natty:
Report link

i used this code and i think it worked, to have a coupon working only on thursdays but on sunday the client received an order with this coupon and discount. I don´t find the error in this code:

add_filter( 'woocommerce_coupon_is_valid', 'coupon_week_days_check', 10, 2); function coupon_week_days_check( $valid, $coupon ) {

// Set HERE your coupon slug   <===  <===  <===  <===  <===  <===  <===  <===  <===  <===  
$coupon_code_wd = 'xxxxx';
// Set HERE your defined invalid days (others: 'Mon', 'Tue', 'Fri', 'Wed' and 'Thu')  <===  <===
$invalid_days = array('Mon', 'Tue', 'Wed', 'Fri', 'Sat', 'Sun');

$now_day = date ( 'D' ); // Now day in short format

// WooCommerce version compatibility
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
    $coupon_code = strtolower($coupon->code); // Older than 3.0
} else {
    $coupon_code = strtolower($coupon->get_code()); // 3.0+
}

// When 'xyz' is set and if is not a week day we remove coupon and we display a notice
if( $coupon_code_wd == $coupon_code && in_array($now_day, $invalid_days) ){
    // if not a week day
    $valid = false;
}
return $valid;

}

add_filter('woocommerce_coupon_error', 'coupon_week_days_error_message', 10, 3); function coupon_week_days_error_message( $err, $err_code, $coupon ) {

// Set HERE your coupon slug   <===  <===  <===  <===  <===  <===  <===  <===  <===  <===  
$coupon_code_wd = 'xxxxx';
// Set HERE your defined invalid days (others: 'Mon', 'Tue', 'Wed' and 'Thu')  <===  <===
$invalid_days = array('Mon', 'Tue', 'Wed', 'Fri', 'Sat', 'Sun');

$now_day = date ( 'D' ); // Now day in short format

// WooCommerce version compatibility
if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
    $coupon_code = strtolower($coupon->code); // Older than 3.0
} else {
    $coupon_code = strtolower($coupon->get_code()); // 3.0+
}

if( $coupon_code_wd == $coupon_code && intval($err_code) === WC_COUPON::E_WC_COUPON_INVALID_FILTERED && in_array($now_day, $invalid_days) ) {
    $err = __( "El Cupón $coupon_code_wd solo funciona los jueves", "woocommerce" );
}
return $err;

}

Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pablo Enlazarte

79203385

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

Just to share some useful information: there's an experimental feature in the ClipboardItem API that supports SVG images. As of November 2024, this feature is implemented in Chrome, Edge, and Opera. You can check the compatibility details here: Can I Use - ClipboardItem API (image/svg+xml).

For more details on how to use this feature, here are two relevant blog posts:

As of now, I'm not sure which apps currently support pasting SVGs, but the functionality is worth exploring!

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

79203384

Date: 2024-11-19 12:20:34
Score: 3
Natty:
Report link

Name Atul soni

Age 22

Address ajaygarh

Vard.no. 15

District. Panna

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

79203382

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

I had the same issue, but it got resolved folllowing the steps: Go to Team Configuration, add the Iteration Path and Area Path to include "sub areas".

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: maQbex

79203379

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

An answer to the issue (= getting the name of the sheet where the code is written, not the name of the active sheet) is Me.Name. If you want the sheet number (=the codename), just use Me.CodeName.

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

79203374

Date: 2024-11-19 12:18:34
Score: 1.5
Natty:
Report link

Deleting the pubspec.lock file fixed it for me.

In my case, this seems to have been caused by running flutter pub get with circular dependancies.

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

79203368

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

The issue occurs because the UBI8 container doesn't automatically use the same repositories as the host. To fix it, register the container with the Red Hat Subscription Manager using subscription-manager register --username=<your_username> --password=<your_password> and attach the subscription with subscription-manager attach. Then, enable the required repositories with subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms --enable rhel-8-for-$(arch)-baseos-rpms --enable rhel-8-for-$(arch)-appstream-rpms. Finally, install EPEL inside the container using yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sanderson Corrêa

79203361

Date: 2024-11-19 12:14:33
Score: 0.5
Natty:
Report link

There's a recent issue with the Android plugin that most likely causes this: https://youtrack.jetbrains.com/issue/IDEA-363320

Workarounds are:

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

79203357

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

Jul 22, 2011 at 5:19 rMX's user avatar rMX 1,0901616 silver badges2323 bronze badges Thanks for your reply , am removing that ,but still its not working – AGK CommentedJul 22, 2011 at 5:43 am placing the .htaccess file in the folder engineering – AGK CommentedJul 22, 2011 at 5:45 when am checking the url localhost/engineering/course_view.php "it shows 404 no page found error" – AGK CommentedJul 22, 2011 at 5:46 Thanks for your edit, But its not working ,this is my present htaccess file – AGK CommentedJul 22, 2011 at 6:27 Options +FollowSymlinks RewriteEngine on RewriteRule ^/engineering/(.)_(.).php$ /engineering/management/administrator/modules/$1/$2.php – AGK CommentedJul 22, 2011

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): its not working
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Rafi Islam Shuvo

79203355

Date: 2024-11-19 12:13:33
Score: 3
Natty:
Report link

Sorry for necrobumping but if anyone have similar problem in my case there was no lsb-release package in my system and for some reason in few cases, I must removed wazuh-agent before installation lsb-release So:

sudo apt remove wazuh-agent

and

sudo apt install lsb-release

and of course do all above answers including changing server address in /var/ossec/etc/ossec.conf after fresh install of wazuh-agent from server url

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): have similar problem
  • Low reputation (1):
Posted by: Bartosz Zbudniewek

79203352

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

To fix this, I added this code to UILabel's parent view:

override func layoutSubviews() {
   super.layoutSubviews()

   // fix for preventing truncating in UIStackView
   label?.preferredMaxLayoutWidth = bounds.width
}

It works! Hope it will save you some time

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

79203350

Date: 2024-11-19 12:13:33
Score: 3
Natty:
Report link

<%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_fui2vcry" enableEventValidation="false" %>

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

79203349

Date: 2024-11-19 12:13:33
Score: 0.5
Natty:
Report link

Soon you can use https://developer.mozilla.org/en-US/docs/Web/CSS/calc-size

with this, we should be able to do something like

height: calc-size(calc-size(max-content, size), size + 40px);
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yogee

79203346

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

Updating to macOS 15 resolved our problems, however, we had to update the certificate signing as well to work with macOS 15 and XCode 16.

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

79203337

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

In the second version, the following changes ensure proper transformation:

transformOptions: { enableImplicitConversion: true }

This option allows ValidationPipe to implicitly convert types based on the destination type in the DTO or class. In this case, it converts strings to numbers or arrays of numbers without needing explicit @Type decorators. Documentation: ValidationPipe Options - transformOptions

Decorators like @Type(() => Number):

This explicitly tells class-transformer how to convert incoming query parameters to the intended type, making sure that arrays like ['1', '2'] is converted to [1, 2]. Documentation: @Type Decorator - class-transformer

But the first example by default the enableImplicitConversion is set to false and this prevent the convertion of the param criteria

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Type
  • Low reputation (1):
Posted by: Saeed Ghofrani

79203332

Date: 2024-11-19 12:06:31
Score: 0.5
Natty:
Report link

Sorry, but what you want is not supported by Android.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: CommonsWare

79203331

Date: 2024-11-19 12:06:31
Score: 3.5
Natty:
Report link

The problem was the "Set upload/monitor/test port" on VS Code was not set to AUTO, but to COM5.

Setting it to AUTO fixed the issue. Screenshot of VS Code showing where to change the port

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

79203327

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

I think the problem is the character "~" which Excel seems to treat wrong for your formula.

To handle the ~ character correctly in your VLOOKUP formula, you need to "escape" it by adding another ~ in front of it "~~". This tells Excel to treat the ~ as a literal character and not as a special character.

Or replace it with an empty string or another character.

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

79203320

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

Fixed by setting codec to libx264 and max B-frames to 0:

ffmpeg -stream_loop -1 -re -i ./video.mp4 -c:v libx264 -bf 0 -rtsp_transport tcp -f rtsp rtsp://localhost:8554/output
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Amitai Fensterheim

79203316

Date: 2024-11-19 12:01:30
Score: 3.5
Natty:
Report link

Your approach is completely fine and should not raise any error

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

79203299

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

Although the questions is old, others might still looking for a solution to similar problem.

From version 5.3.2 the spyder module changes the PYTHONPATH when its start and this may cause the problem. One option is to downgrade spyder to 5.3.1 Also it is possible to unset PYTHONPATH before invoking spyder and handle it later in the code.

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

79203298

Date: 2024-11-19 11:57:29
Score: 1.5
Natty:
Report link

if you using anaconda/conda, you can directly install from conda

conda install selenium

it's work for me

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

79203294

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

After restart your server you need to enable extension. After that you can query pg_stat_statements. Check documentation https://www.postgresql.com/docs/current/pgstatstatements.html

CREATE EXTENSION pg_stat_statements;
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RPA Developer

79203293

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

Maybe a bit late to the show but I also struggled with this. It said "Approved" with a yellow timer icon next to it but I couldn't get any tester to join via the public url.

I ended up removing the build from Testflight and adding the same one again. After that, the testers were able to download the new version via the public link from Testflight

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

79203290

Date: 2024-11-19 11:56:29
Score: 1.5
Natty:
Report link

Do you think that code maybe can work for you? I tested in your playlist and it is working.

<iframe
  src="https://www.youtube.com/embed/zckH4xalOns?autoplay=1?list=PL4cUxeGkcC9hL6aCFKyagrT1RCfVN4w2Q" 
  width="560"
  height="315"
  frameborder="0"
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
  allowfullscreen  
  >  
</iframe>

I guess the mistake was in ?autoplay=1 and not &autoplay=1 and it needs to come right after the video id.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Alexandre B.

79203278

Date: 2024-11-19 11:48:26
Score: 3.5
Natty:
Report link

I know it's late but have you concluded the problem? It seems like the tutorial says mfcc and other methods are applicable to other models, not wav2vec2.

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

79203277

Date: 2024-11-19 11:48:26
Score: 4.5
Natty: 4
Report link

I wrote a custom function to catch errors in contract functions without executing a transaction. You can read the article here. https://medium.com/@Arslan_786/guide-to-simulating-ethereum-smart-contract-calls-with-web3-js-6d55cfa1550a

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

79203274

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

Flux<Object> intead of Flux<String> should return

["a", "b"] instead of "ab"

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

79203267

Date: 2024-11-19 11:44:24
Score: 1.5
Natty:
Report link
numbers = [10, 20, 30, 40, 50]

average = sum(numbers) / len(numbers) print("The average is:", average)

in python it is good to do the calculations separately, because it interprets each instruction not compiles.Therefore make the sum separately and divide by the length.

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

79203264

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

In my case, the cause was session being regenerated with every page reload, which was caused by the Carbon::setTestNow() function incorrectly used in the AppServiceProvider.php. This caused all of the sessions to be expired right after creation. Try to disable that if you use it somewhere. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ondrej_sanetrnik

79203261

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

I think that this question was already answered here: Liquibase Changesets within JAR files

In short: use classpath: prefix in your include/file

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

79203258

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

After taking a quick look at your code I found at least two possible causes of your issues.

  1. you want to trade BTCUSD but you set your capital to $1000. As you did not show a sample of the data you used, it might be possible that your strategy tries to buy btc but it cant because your account has not enough cash. Set your cash to higher amount and try again.
  2. this part of your function is not doing what you expect. :
def next(self):
    current_time = datetime.now()
    if current_time.weekday() >= 5:  # Skip weekends
        return

the datetime.now() function gives you the actual current date not the current date in your backtest. If you run your backtest on a weekend it will not even attempt to buy anything.

We could give you a better answer if you would have included a data sample and a sample log of your program. Maybe another look at documentation could help. DateTime Management

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

79203256

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

nothing. We do not use names at all in the solver.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Laurent Perron

79203251

Date: 2024-11-19 11:38:22
Score: 2
Natty:
Report link

Forget most of the above. I had the same problem and updated to Apache 2.4.58 and the problem went away. It was obviously an Apache bug.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user6109692

79203245

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

I have got the same error couples of days back for postcss file. But the real error was in my tailwind.config.ts, there was a syntax error for font-family array. It previously looked like below:

font-family: [sans-serif\n ,inter\n, ......]

i have made it to:

font-family: [sans-serif, inter.....]

An then i ran 'convert indentation to spaces' in vscode command pallete(cntrl+shift+p). And then it solved my error.

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

79203238

Date: 2024-11-19 11:31:20
Score: 4
Natty:
Report link

I have resorted to ldap of openliberty

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

79203236

Date: 2024-11-19 11:30:20
Score: 6.5 🚩
Natty:
Report link

As in this site, as the scroll goes down, the navbar goes up and finally gets fixed. Does anyone have an example of how I can do this? I'm going to do this in an Angular project.

https://www.woolmark.com/

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have an example
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hseyinyrekli

79203233

Date: 2024-11-19 11:29:19
Score: 2
Natty:
Report link

please how to fix this issues, FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package name 'com.example.chat_sms_app' * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights.

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

79203229

Date: 2024-11-19 11:27:19
Score: 1.5
Natty:
Report link

using these commands in terminal worked for me:

npx expo-doctor@latest npx expo install --check

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: nkunim sarkodee

79203227

Date: 2024-11-19 11:27:19
Score: 1
Natty:
Report link

Check oracle environment variables ORACLE_HOME, and PATH. Open cmd as an administrator and then run the following separately:

echo %ORACLE_HOME%

echo %PATH%

%ORACLE_HOME% should output like C:\Users\HP\Oracle\homes\OraDB21Home2.

%PATH% should include like C:\Users\HP\Oracle\homes\OraDB21Home2\bin

If they are not, set :

set ORACLE_HOME=C:\Users\HP\Oracle\homes\OraDB21Home2

set PATH=%ORACLE_HOME%\bin;%PATH%

Run the oradim command:

oradim -STARTUP -SID YOUR_SID

Put your SID instead of YOUR_SID, which is in the command above

If the specified service doesn't exist, run this to recreate:

oradim -NEW -SID YOUR_SID -STARTMODE AUTO -PFILE "C:\Users\HP\Oracle\homes\OraDB21Home2\database\initXE.ora"

Change YOUR_SID and the path specified in the command above. YOUR_SID to your sid, path : "YOUR_ORACLE_HOME_PATH\database\initXE.ora". And then run the oradim command again.

Now you can test SQL Developer

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

79203218

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

For me in 2024 the same. name and fallbackUri are red -> Cannot resolve property 'name' in java.util.Map

          filters:
            - name: CircuitBreaker
              args:
                name: exampleCircuitBreaker
                fallbackUri: forward:/fallback
            - StripPrefix=1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TechnicalFreak

79203215

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

Google Test Adaptor includes gtest.h through the pre-compiled header.

You need to include this in your code:

#include "pch.h"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: User55412

79203212

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

If you are working with I think you have to add a scrapy.cfg file which hold this configuration: [settings] default = <name_of_your_scrapy project>.settings this works as an entry point where the process of crawling strats.

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

79203210

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

You can pass a root key into the initializer method:

ActiveModelSerializers::SerializableResource.new(MyObject.new(name: 'Hi'), serializer: MyObjectSerializer, root: '')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: danbeggan

79203208

Date: 2024-11-19 11:21:17
Score: 4.5
Natty:
Report link

Esse erro ocorre quando, por exemplo, você puxa uma resposta de uma api e ela está undefined.

const response = await api.get('/endpoint', {
    headers: {
      'Authorization': `Basic ${token}`
    },
    params: {
      parametro1: valorParametro
    }
  })
const data = response.data[0];
  
  setCampos({
    observacao: data.obs || '' // Se a observação estiver vazia insira aspas vazias. <--
  })

O erro está onde coloquei "<--" apenas faça aquilo

Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raul UM

79203205

Date: 2024-11-19 11:20:16
Score: 2.5
Natty:
Report link

Albeit 10+ years ago. I am trying to do similar to: @Chirag Jhaveri.

'column' # 1-4 displays OK. But # 5 won't display anything, no errors.

 <p:dataTable var="beWhereWhenMobile" value="#{beWhereWhenController.beWhereWhenByMobile}"
                     lazy="true"
                     style="width:100%"
                     rowKey="#{beWhereWhenMobile.id}"
                     border="1"
                     headerText="beWhereWhenMobile"
                     scrollable="false">

            <p:subTable var="events" value="#{beWhereWhenMobile.events}">

                <!-- 1 of 9 -->
                <!-- mobile -->
                <p:column visible="true">
                    <f:facet name="header">
                        <h:outputText value="beWhereWhenMobile mobile"/>
                    </f:facet>

                    <h:outputText value="#{beWhereWhenMobile.mobile}">
                    </h:outputText>
                </p:column>

                <!-- 2 of 9 -->
                <!-- events.eventName -->
                <p:column visible="true">
                    <f:facet name="header">
                        <h:outputText value="subTableBeWhereWhenMobile events eventName"/>
                    </f:facet>

                    <h:outputText value="#{events.eventName}">
                    </h:outputText>
                </p:column>

                <!-- 3 of 9 -->
                <!-- events.fromDateStart -->
                <p:column visible="true">
                    <f:facet name="header">
                        <h:outputText value="beWhereWhenMobile events fromDateStart"/>
                    </f:facet>

                    <h:outputText value="#{events.fromDateStart}">
                    </h:outputText>
                </p:column>

                <!-- 4 of 9 -->
                <!-- events.toDateEnd -->
                <p:column visible="true">
                    <f:facet name="header">
                        <h:outputText value="beWhereWhenMobile events toDateEnd"/>
                    </f:facet>

                    <h:outputText value="#{events.toDateEnd}">
                    </h:outputText>
                </p:column>
            </p:subTable>

            <p:subTable var="people" value="#{events.people}">
                <!-- 5 of 9 -->
                <!-- events.people.userName -->
                <p:column visible="true">
                    <f:facet name="header">
                        <h:outputText value="beWhereWhenMobile events people userName"/>
                    </f:facet>

                    <h:outputText value="#{people.userName}">
                    </h:outputText>
                </p:column>
            </p:subTable>
...
</>

Using:

TIA

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2): TIA
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Chirag
Posted by: NOTiFY

79203203

Date: 2024-11-19 11:19:16
Score: 2
Natty:
Report link

Daman App Login is your gateway to a world of entertainment and rewards. It offers a seamless, secure, and quick way to access your account. With this login, you can manage your progress, explore new games, and interact with the vibrant community. Say goodbye to complicated processes—Daman App Login is here to simplify gaming for you.

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

79203200

Date: 2024-11-19 11:19:16
Score: 1.5
Natty:
Report link

Great! @Mr. Y for identifying the root cause, the correct approach for signing PDFs is to use certificates stored in Azure Key Vault instead of keys.

Thank you to @mkl for suggesting that I share this as an answer to help others who might face a similar issue.

enter image description here

Use the CryptographyClient.signData method to sign the raw PDF content instead of the digest.

Code:

CryptographyClient cryptoClient = new CryptographyClientBuilder()
    .keyIdentifier("<your-key-vault-url>/certificates/my-certificate")
    .credential(new DefaultAzureCredentialBuilder().build())
    .buildClient();

// Sign the raw PDF content
SignResult signResult = cryptoClient.signData(SignatureAlgorithm.RS256, pdfContent);
byte[] signature = signResult.getSignature();

The signed PDF is now valid, as it contains the required certificate chain. Adobe Acrobat validates the signature successfully.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): face a similar issue
  • User mentioned (1): @mkl
  • High reputation (-1):
Posted by: Suresh Chikkam

79203181

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

That's a breaking change in Primefaces 10, caused by the fix for issue #6563 which introduces this new validation error: https://github.com/primefaces/primefaces/issues/6563

Suggested changes are:

See also: https://github.com/primefaces/primefaces/issues/7272

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Giovanni P.

79203171

Date: 2024-11-19 11:13:14
Score: 4
Natty:
Report link

I also had the same issue. The answer explains where to add the relayState but it shows a placeholder and does not explain how to configure it. Can anyone explain what to put in the relay-state-her placeholder?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain what
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Mark Tyers

79203169

Date: 2024-11-19 11:13:14
Score: 1
Natty:
Report link
strIp = inet_ntoa (*(struct in_addr*) &ip)

Here ip should be in correct byte order, for example, a number returned by inet_addr ()

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

79203168

Date: 2024-11-19 11:13:14
Score: 2
Natty:
Report link

This worked in the end:

driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NewUser

79203159

Date: 2024-11-19 11:10:12
Score: 10.5 🚩
Natty: 5.5
Report link

i have same issue , do you find a solution for this case ?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you find a
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MoG

79203158

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

Place your .env.local file in the root directory of your project, at the same level as your vite.config.ts file

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

79203156

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

If you need just copy original field value:

db.collection.updateMany(
{},
[
    {"$set": {"field_2": { "$concat": ["$field_1", ""]}}}
]

)

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

79203155

Date: 2024-11-19 11:09:12
Score: 14.5
Natty: 7.5
Report link

I have exact same problem. Did you find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have exact same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: brc17

79203131

Date: 2024-11-19 11:04:10
Score: 4.5
Natty: 4
Report link

.NET 4.8.0 solved this behavior

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

79203129

Date: 2024-11-19 11:04:09
Score: 0.5
Natty:
Report link

The problem is your go.Surfaece trace definitions. In Plotly, you need to provide grids for x,y and z that align with the surface your are plotting.

Define grids for each plane:

x = np.linspace(0, 2, 3)
y = np.linspace(0, 2, 3)
z = np.linspace(0, 2, 3)


# Z-plane (constant z=1)
z_plane = np.ones((3, 3))  # z is constant
zsurf = go.Surface(x=np.outer(x, np.ones(3)), y=np.outer(np.ones(3), y), z=z_plane)

# Y-plane (constant y=1)
y_plane = np.ones((3, 3))  # y is constant
ysurf = go.Surface(x=np.outer(x, np.ones(3)), y=y_plane, z=np.outer(np.ones(3), z))

# X-plane (constant x=1)
x_plane = np.ones((3, 3))  # x is constant
xsurf = go.Surface(x=x_plane, y=np.outer(y, np.ones(3)), z=np.outer(np.ones(3), z))

Create the figure and add the surfaces

fig = go.Figure()
fig.add_trace(zsurf)
fig.add_trace(ysurf)
fig.add_trace(xsurf)

enter image description here

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

79203122

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

You have to put in media_recorder a number of millisecond after whose collecting audio data, for example

media_recorder.start(200);

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

79203116

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

Does Angular signals effect works in different tabs ?

For example i change value of signal in my tab 1 and as i have used effect in signals so does that change will apply in tab 2 without reloading

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

79203102

Date: 2024-11-19 10:56:07
Score: 0.5
Natty:
Report link

According to this firebase-ios-sdk/issues/10799;

...the default sampling rate for sessions is 1%...

So if you are testing on "your device", once you have 100 sessions, then you will have a visible one.

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

79203097

Date: 2024-11-19 10:54:06
Score: 3
Natty:
Report link

I'm having the same issue for my react application since today and i think its a bug in the new NodeJs version. I fixed it by downgrading my version from 23.2.0 (newest at this time) to the LTS 22.11.0. Hope this will do the trick for you aswell.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Max

79203094

Date: 2024-11-19 10:53:06
Score: 5
Natty: 4.5
Report link

Right click on project->Property page check if there are verison mismatch here or you upgraded the project to 4.8 but it is still showing 4.5

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

79203092

Date: 2024-11-19 10:53:05
Score: 1
Natty:
Report link

on popos-24 libgtk-3-dev is installed, but flutter doesn't detect it

first check with

pkg-config --exists --print-errors 'gtk+-3.0'

in my case libei-1 error Just by installing libei-dev the problem is solved

sudo apt install libei-dev
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nobshh

79203088

Date: 2024-11-19 10:52:05
Score: 1
Natty:
Report link

Upon closer inspection, I observed that I had explicitly zoomed out on Google Sheets to 50%, which was affecting the zoom levels of the top menu bars in both Google Docs and Google Slides.

Google Sheets

When I changed the zoom level of Google Sheets back to 100%, the zoom levels of the top menu bars in Google Docs and Google Slides were fixed as well.

Whatever zoom level you set for Google Slides will also apply to the zoom levels of the top menu bars in both Google Docs and Google Slides.

Here’s a screen recording to demonstrate the same: https://youtu.be/XFxf0iVg0ck.

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: SYED ASAD KAZMI

79203084

Date: 2024-11-19 10:51:05
Score: 0.5
Natty:
Report link

To ensure compatibility with SQL Server, you should use IANA timezone IDs (like "Asia/Kathmandu"), which are recognized by both JavaScript and SQL Server. In JavaScript, you can get the user's timezone like this:

const timeZoneName = Intl.DateTimeFormat().resolvedOptions().timeZone;
console.log(timeZoneName); // Outputs something like "Asia/Kathmandu"

This gives you a reliable and valid timezone ID.

Once you have a valid timezone ID, pass it to your SQL procedure to handle the conversion. Here’s how the query should look:

SELECT DateUtc AT TIME ZONE 'UTC' AT TIME ZONE @TimeZoneName AS dateTimeCreated

Make sure @TimeZoneName contains a valid timezone ID like the one from JavaScript.

If you’re displaying dates directly in the browser, you can skip the server-side conversion and handle it all in JavaScript. Just send the UTC date in ISO 8601 format (e.g., "2024-11-19T10:34:14.682Z") and let JavaScript handle the conversion:

const date = new Date("2024-11-19T10:34:14.682Z");
console.log(date.toLocaleString()); // Converts to the user's local timezone

This approach is simpler if you don’t need to worry about timezone consistency across different users.

Let me know if you need further clarification

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @TimeZoneName
  • Low reputation (1):
Posted by: Apostol Eusebiu

79203081

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

mine also doesnt show when i use <img> tag but I try to change it to <Image> and I also import Image from 'next/image' it works.

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

79203080

Date: 2024-11-19 10:49:04
Score: 1.5
Natty:
Report link

Based on my research, I found that integrating Google Assistant App Actions with widgets using custom intents is not possible.

There is currently no available solution for this.

I contacted the Google App Actions team via email, and they responded that widgets are supported only for certain built-in intents (BII), such as:

  1. Get Message
  2. Get Exercise Observation
  3. Get Food Observation
  4. Get Health Stats
  5. Get Item List
Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: KomalG

79203078

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

Use esp_err_t esp_task_wdt_init(uint32_t timeout_seconds, bool panic) to configure watchdog timeout in setup(). The range of timeout is 0-60 secs. panic sets the alarm:true if alarm is needed, otherwise it's false

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

79203077

Date: 2024-11-19 10:48:04
Score: 1
Natty:
Report link

If you need it quick and your objective is just about images then check out 3rd party services like imagekit. They can connect with your S3 bucket.

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

79203074

Date: 2024-11-19 10:48:04
Score: 0.5
Natty:
Report link

Adding an extra generic type to the function parameter works (Don't know how. I guess List makes resource URI's to be resolved before persisting the entity)

public class Items<T> {
    private List<T> items;
}

public @ResponseBody String createUserWithSkill(@RequestBody CollectionModel<EntityModel<Items<User>>> users)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kiran Kyle

79203070

Date: 2024-11-19 10:48:04
Score: 3.5
Natty:
Report link

You should edit the nginx-load-balancer-microk8s-conf configmap, not the nginx-ingress-tcp-microk8s-conf.

Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niko

79203067

Date: 2024-11-19 10:47:04
Score: 1
Natty:
Report link

First of all mkl was right to point out that CryptographyClient.signData instead of CryptographyClient.sign had to be used to sign the PDF signed attributes, which is always more than 32 bytes long.

After some investigation, we have also reached the following conclusions, which led to a working solution to the signature invalid issue:

  1. A Keys object can never be matched to a Certificates object in Azure Key Vault. This means that signing using a Keys object, while embedding a downloaded Certificates object in the signed PDF will always fail because the public keys of the two objects will never match!
  2. A Certificates object is always created with a hidden private key, which means that it can be used to sign content as well. In addition, the Certificates object may be downloaded as a certificate chain to be embedded into the signed PDF and its public key matches that of the signing hidden private key. This is actually the solution to the problem.

In addition, the following were used to implement the PDF signing process using the PDFBox library:

  1. Class CreateSignatureBase.java and its supporting classes
  2. Implement a custom version of org.bouncycastle.operator.ContentSigner to leverage the CryptographyClient.signData method for signing with Azure Key Vault.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mr. Y

79203063

Date: 2024-11-19 10:46:03
Score: 3
Natty:
Report link

Asking for help on the Foreman developer forum more or less confirms that the issue lies with the load order specific to Foreman. At least the current development branch, which has switched to Rails-7 and Zeitwerk autoloader does not show the same symptoms.

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

79203059

Date: 2024-11-19 10:44:03
Score: 4
Natty: 5
Report link

very simple and easy to use. Try it with https://www.npmjs.com/package/@duyvq/ng-tooltip-directive

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

79203056

Date: 2024-11-19 10:44:02
Score: 0.5
Natty:
Report link

Here a solution that follow @Mark Amery best answer and handle the escaping of all UNICODE Control Characters generating a fully valid JSON string (+ the replacement regex is only one):

const chars = {
  "\"": "\\\"",
  "\\": "\\\\",
  "\/": "\\/",
  "\u0000": "\\u0000",
  "\u0001": "\\u0001",
  "\u0002": "\\u0002",
  "\u0003": "\\u0003",
  "\u0004": "\\u0004",
  "\u0005": "\\u0005",
  "\u0006": "\\u0006",
  "\u0007": "\\u0007",
  "\u0008": "\\u0008",
  "\u0009": "\\u0009",
  "\u000A": "\\u000A",
  "\u000B": "\\u000B",
  "\u000C": "\\u000C",
  "\u000D": "\\u000D",
  "\u000E": "\\u000E",
  "\u000F": "\\u000F",
  "\u0010": "\\u0010",
  "\u0011": "\\u0011",
  "\u0012": "\\u0012",
  "\u0013": "\\u0013",
  "\u0014": "\\u0014",
  "\u0015": "\\u0015",
  "\u0016": "\\u0016",
  "\u0017": "\\u0017",
  "\u0018": "\\u0018",
  "\u0019": "\\u0019",
  "\u001A": "\\u001A",
  "\u001B": "\\u001B",
  "\u001C": "\\u001C",
  "\u001D": "\\u001D",
  "\u001E": "\\u001E",
  "\u001F": "\\u001F",
  "\u007F": "\\u007F",
  "\u0080": "\\u0080",
  "\u0081": "\\u0081",
  "\u0082": "\\u0082",
  "\u0083": "\\u0083",
  "\u0084": "\\u0084",
  "\u0085": "\\u0085",
  "\u0086": "\\u0086",
  "\u0087": "\\u0087",
  "\u0088": "\\u0088",
  "\u0089": "\\u0089",
  "\u008A": "\\u008A",
  "\u008B": "\\u008B",
  "\u008C": "\\u008C",
  "\u008D": "\\u008D",
  "\u008E": "\\u008E",
  "\u008F": "\\u008F",
  "\u0090": "\\u0090",
  "\u0091": "\\u0091",
  "\u0092": "\\u0092",
  "\u0093": "\\u0093",
  "\u0094": "\\u0094",
  "\u0095": "\\u0095",
  "\u0096": "\\u0096",
  "\u0097": "\\u0097",
  "\u0098": "\\u0098",
  "\u0099": "\\u0099",
  "\u009A": "\\u009A",
  "\u009B": "\\u009B",
  "\u009C": "\\u009C",
  "\u009D": "\\u009D",
  "\u009E": "\\u009E",
  "\u009F": "\\u009F"
};
export const escapeJsonString = str => str.replace(/[\"\\\/\u0000-\u001F\u007F\u0080-\u009F]/g, match=>chars[match]);

Note that \b \f \n \r \t are not listed as already matched by \u0008 \u000C \u000A \u000D \u0009 respectively.

The proposed code is expected to be in a JS module due to the bulky chars replacement map, but you can also remove the export and add it all in a function if you prefer.

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

79203053

Date: 2024-11-19 10:42:01
Score: 4
Natty:
Report link

Try my YouTube channel for any SQL related queries

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

79203039

Date: 2024-11-19 10:38:00
Score: 3
Natty:
Report link

Mockito now supports verification after delay: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/verification/VerificationAfterDelay.html

verify(mock, after(500).never()).bar();
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user838568

79203035

Date: 2024-11-19 10:37:00
Score: 3
Natty:
Report link

To resolve the "foo" component issue, ensure IDs match accurately in the hierarchy. Misconfigurations often cause errors. For similar queries, consider forums discussing Lightroom old version fixes.

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

79203034

Date: 2024-11-19 10:35:59
Score: 3
Natty:
Report link

You must register your reader to a location upon connection.

https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=bluetooth#connect-reader

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

79203014

Date: 2024-11-19 10:31:58
Score: 0.5
Natty:
Report link

I solve the problem, by not using '%property{RequestId}' in the AdditionalFields & ConversionPattern. Per default it sends all the defined properties from the log4net.*Context.Properties list.

<appender name="GelfUdpAppender" type="Gelf4Net.Appender.GelfUdpAppender, Gelf4Net">
  <remoteAddress value="..." /> 
  <remotePort value="12201" />
  <layout type="Gelf4Net.Layout.GelfLayout, Gelf4Net">
    <param name="AdditionalFields"  value="Level:%level,Thread:%thread" />
    <param name="ConversionPattern" value="Level:%level,Thread:%thread %n%m" />
  </layout>
</appender>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hombianer

79203007

Date: 2024-11-19 10:28:57
Score: 2
Natty:
Report link

In general, properties with hyphens are tricky to map correctly as it is not clear which representation to map to. So try to avoid hyphens if you can.

See this issue for more info.

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

79202994

Date: 2024-11-19 10:25:56
Score: 6
Natty: 7
Report link

the answer is very Good , but i need it without /27 CIDR [0-9]+(?=.[0-9]+/)

Could you please tell me ; if i wanna the Third Octet , for example: IP: 10.49.2.3 and the Result should be: 2

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (2.5): Could you please tell me
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mohamad Mardini

79202992

Date: 2024-11-19 10:24:56
Score: 1.5
Natty:
Report link

According to AWS Docs for AWS::ApiGatewayV2::Integration, for Websockets we need to always add IntegrationMethod: POST

I was missing that from my CloudFormation code

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

79202991

Date: 2024-11-19 10:24:55
Score: 8.5
Natty: 7
Report link

I'm having the same problem and have been looking for an answer for 2 days but it's not working, can I have the complete code for this part from you?

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bùi Quang Hùng

79202981

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

Simply restarting Visual Studio worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mathias Graabeck

79202978

Date: 2024-11-19 10:18:54
Score: 1.5
Natty:
Report link

I had the same issue because my "api/[...nextauth]/route.ts" was on the wrong folder for nextjs 15

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Hugo Del-Negro

79202977

Date: 2024-11-19 10:18:54
Score: 1
Natty:
Report link
i get this error:

5.082   running build_ext
5.082   building 'MySQLdb._mysql' extension
5.082   creating build/temp.linux-x86_64-cpython-311/src/MySQLdb
5.082   gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-Dversion_info=(2, 2, 6, 'final', 0)" -D__version__=2.2.6 -I/tmp/tmphe4xilyv/.venv/include -I/usr/local/include/python3.11 -c src/MySQLdb/_mysql.c -o build/temp.linux-x86_64-cpython-311/src/MySQLdb/_mysql.o pkg-config mysqlclient --cflags -std=c99
5.082   gcc: error: unrecognized command-line option ‘--cflags’
5.082   error: command '/usr/bin/gcc' failed with exit code 1**strong text**

but i did install it apt-get install --no-install-recommends -y curl python3-dev default-libmysqlclient-dev build-essential pkg-config

Reasons:
  • RegEx Blacklisted phrase (1): i get this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Scoopy

79202963

Date: 2024-11-19 10:15:53
Score: 4
Natty:
Report link

https://forum.yiiframework.com/t/setting-a-personal-git-server/825

you got your answer using this same link please check and get your answer.

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

79202961

Date: 2024-11-19 10:15:53
Score: 0.5
Natty:
Report link

Here's the solution :

$.parties.applicants[?(@.role == 'USER' && @.sequenceNumber == 1)].companyDetails.company

But if you don't have access to sequenceNumber or if sequenceNumber is not the counter, you will have to change your querying language and use JMESPATH or Jq.

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

79202954

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

Please add this SnackBarBehavior.floating, like this:

  SnackBar(
    content: Text(loginResponse.message),
    behavior: SnackBarBehavior.floating, // Make the snackbar float above other content
  ),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AzPsu

79202950

Date: 2024-11-19 10:10:52
Score: 3.5
Natty:
Report link

We can also try to use timerTask for scheduling tasks in ktor here is the reference article that have gone through. Scheduler's in ktor

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

79202934

Date: 2024-11-19 10:05:50
Score: 0.5
Natty:
Report link

Here a solution that handle also the escaping of all UNICODE Control Characters generating a fully valid JSON string (+ the replacement regex is only one):

const chars = {
  "\"": "\\\"",
  "\\": "\\\\",
  "\/": "\\/",
  "\u0000": "\\u0000",
  "\u0001": "\\u0001",
  "\u0002": "\\u0002",
  "\u0003": "\\u0003",
  "\u0004": "\\u0004",
  "\u0005": "\\u0005",
  "\u0006": "\\u0006",
  "\u0007": "\\u0007",
  "\u0008": "\\u0008",
  "\u0009": "\\u0009",
  "\u000A": "\\u000A",
  "\u000B": "\\u000B",
  "\u000C": "\\u000C",
  "\u000D": "\\u000D",
  "\u000E": "\\u000E",
  "\u000F": "\\u000F",
  "\u0010": "\\u0010",
  "\u0011": "\\u0011",
  "\u0012": "\\u0012",
  "\u0013": "\\u0013",
  "\u0014": "\\u0014",
  "\u0015": "\\u0015",
  "\u0016": "\\u0016",
  "\u0017": "\\u0017",
  "\u0018": "\\u0018",
  "\u0019": "\\u0019",
  "\u001A": "\\u001A",
  "\u001B": "\\u001B",
  "\u001C": "\\u001C",
  "\u001D": "\\u001D",
  "\u001E": "\\u001E",
  "\u001F": "\\u001F",
  "\u007F": "\\u007F",
  "\u0080": "\\u0080",
  "\u0081": "\\u0081",
  "\u0082": "\\u0082",
  "\u0083": "\\u0083",
  "\u0084": "\\u0084",
  "\u0085": "\\u0085",
  "\u0086": "\\u0086",
  "\u0087": "\\u0087",
  "\u0088": "\\u0088",
  "\u0089": "\\u0089",
  "\u008A": "\\u008A",
  "\u008B": "\\u008B",
  "\u008C": "\\u008C",
  "\u008D": "\\u008D",
  "\u008E": "\\u008E",
  "\u008F": "\\u008F",
  "\u0090": "\\u0090",
  "\u0091": "\\u0091",
  "\u0092": "\\u0092",
  "\u0093": "\\u0093",
  "\u0094": "\\u0094",
  "\u0095": "\\u0095",
  "\u0096": "\\u0096",
  "\u0097": "\\u0097",
  "\u0098": "\\u0098",
  "\u0099": "\\u0099",
  "\u009A": "\\u009A",
  "\u009B": "\\u009B",
  "\u009C": "\\u009C",
  "\u009D": "\\u009D",
  "\u009E": "\\u009E",
  "\u009F": "\\u009F"
};
export const escapeJsonString = str => str.replace(/[\"\\\/\u0000-\u001F\u007F\u0080-\u009F]/g, match=>chars[match]);

Note that \b \f \n \r \t are not listed as already matched by \u0008 \u000C \u000A \u000D \u0009 respectively.

The proposed code is expected to be in a JS module due to the bulky chars replacement map, but you can also remove the export and add it all in a function if you prefer.

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

79202931

Date: 2024-11-19 10:04:50
Score: 1.5
Natty:
Report link

I feel you can use "is_in" in your query to search particular lat and lon inside the area, polygon

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

79202927

Date: 2024-11-19 10:03:50
Score: 1.5
Natty:
Report link

Have you tried Django Q or multiprocessing. Both can be used to safely execute tasks in parallel or in the background. Avoid slowing down the main request-response cycle.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ogcPYTHON

79202923

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

thanks, I had the same problem, after the update I changed it to: ARDUINO_EVENT_WIFI_AP_STACONNECTED ARDUINO_EVENT_WIFI_AP_STADISCONNECTED

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zilvinas S

79202919

Date: 2024-11-19 10:01:49
Score: 2.5
Natty:
Report link

Cash In Received. Amount: Tk 500.00 Uddokta: 01850770770 TxnID: 7363JO1O Balance: 3,90,00.00 19/11/2024 11:06 Md Rasib

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: BPL T20 BANGLADESH CRICKET KHU

79202918

Date: 2024-11-19 10:01:49
Score: 1
Natty:
Report link

I had same problem while hosting Swagger API . This trick worked for me

IIS Manager -> Sites -> MySite -> HandlerMappings -> aspNetCore -> Edit

-> Request Restrictions -> Access -> None (it was Script).

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AASTHA GUPTA

79202909

Date: 2024-11-19 09:58:48
Score: 13.5
Natty: 7.5
Report link

I have the same issue, did you solve it?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yuniel Montalván

79202904

Date: 2024-11-19 09:57:47
Score: 5
Natty:
Report link

You can try reactpress: https://github.com/fecommunity/reactpress

it is a free blog and cms developed by react.

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