79203529

Date: 2024-11-19 13:06:49
Score: 0.5
Natty:
Report link

Does it have to be via fmt? Should be fairly straight-forward without:

#include <vector>
#include <iostream>
#include <iomanip>

int main ()
{
    std::vector<int> v = {1,1,2,3,5,8,13,21,34};
    
    for (size_t i = 0; i < v.size(); ++i) {
        std::cout << ((i > 0) ? "|" : "") << std::setfill(' ') << std::setw(2) << v[i] ;
    }
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: André

79203527

Date: 2024-11-19 13:06:49
Score: 2.5
Natty:
Report link

class MyClass: def init(self, name, age): self.name = name self.age = age

obj = MyClass(name="Alice", age=30) obj_dict = obj.dict print(obj_dict)

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

79203526

Date: 2024-11-19 13:06:49
Score: 1
Natty:
Report link

Another reminder that was tripping me up. If you don't put:

'order' => 'ASC',

in there, it won't perform the orderby. You can of course also do a DESC, but the direction must be stated. Was confused by this because in normal SQL, the ASC/DESC is optional and defaulted to ASC.

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

79203521

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

you need to load the .env like this

  const env = loadEnv(process.env.NODE_ENV, process.cwd(), "");
  return {
    plugins: [react(), legacy()],
    define: {
      __APP_ENV__: env,
      "process.env": env
    },
  };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Irrfan23

79203518

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

this fixed for me

 npm install @mui/material @emotion/react @emotion/styled --force
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: efesydss

79203516

Date: 2024-11-19 13:02:48
Score: 1.5
Natty:
Report link

IORW allows to do both write-and-read in one call, if you need to pass params for the "read" operation , the ioctl alllows you to pass a struct with BOTH the params by "write" , and then do a "read" to pass data from kernel to user.

i.e. the kernel code will do "copy from user" + preare the data + "copy to user".

Also read/write are blocking , only one thread can call it , i think ioctl can be called by multiple user threads, same as poll()

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

79203507

Date: 2024-11-19 13:00:47
Score: 1.5
Natty:
Report link

Your code causes an issue because the initialization of MailMessage and its properties occurs directly within the class scope, which is not allowed. Instead, this should be done within a method, like Main() or another function. Class-level statements in C# can only declare fields and methods.

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

79203501

Date: 2024-11-19 12:59:47
Score: 0.5
Natty:
Report link

Django is a Python web development framework used for full-stack web applications, including both front-end and back-end.

Django Rest Framework (DRF) is a library built on top of Django specializes in simplifying the process of building robust APIs.Django is a Python web development framework used for full-stack web applications, including both front-end and back-end.

Django Rest Framework (DRF) is a library built on top of Django specializes in simplifying the process of building robust APIs. It allows you to reuse chunks of code instead of reinventing the wheel. It also nudges you to write better, cleaner, and less error-prone code.

REST (Representational State Transfer) refers to an architectural style for designing networked applications. API (Application Programming Interface) is a set of rules that allows one software application to interact with another.

In short:
Django is for web development.
Django Rest Framework is for building REST APIs in Django, making it easier and more efficient than doing so with regular Django alone.

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

79203479

Date: 2024-11-19 12:51:45
Score: 3.5
Natty:
Report link

When you are inside the folder: git stage .

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you are in
  • Low reputation (1):
Posted by: Gil Salomon

79203474

Date: 2024-11-19 12:50:44
Score: 4
Natty: 5
Report link

can confirm - in a modal make sure you don't reload the bootstrap.js

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: Paul Matthews

79203468

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

The closest I know of is libcloudproviders but I haven't used it.

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

79203465

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

Same issue with circuitbreaker. The problem are the ReadOnlyHttpHeaders from netty.

java.lang.UnsupportedOperationException: null at org.springframework.http.ReadOnlyHttpHeaders.remove(ReadOnlyHttpHeaders.java:135)

https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway/gatewayfilter-factories/removerequestheader-factory.html also not working.

<dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-gateway</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId>
        </dependency>
spring:
  cloud:
    gateway:
      routes:
        - id: test-route
          uri: id: test-route
          uri: http://httpbin.org/
          predicates:
            - Path=/test/**
          filters:
            - StripPrefix=1
            - name: CircuitBreaker
              args:
                name: exampleCircuitBreaker
                fallbackUri: forward:/fallback
Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TechnicalFreak

79203462

Date: 2024-11-19 12:46:42
Score: 8 🚩
Natty: 5
Report link

Curious to know, were you able to configure and run the app successfully from the customized URL context with "/front/"?

Reasons:
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arindam Kundu

79203445

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

I installed Mayavi version 4.8.2 using MacPorts.

Steps:

  1. port install vtk +python39
  2. port install py39-mayavi

I had been struggling in installing Mayavi using MacPorts for the last two months.

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

79203437

Date: 2024-11-19 12:38:40
Score: 3.5
Natty:
Report link

Esse erro ocorre quando você passa uma função em um onClick() usando React.JS:

<Button type="button" onClick={rodarFuncao(parametro)}>
   Excluir
</Button>

Só que de vez de fazer do jeito que mostrei você tem que passar () =>, por exemplo:

<Button type="button" onClick={() => rodarFuncao(parametro)}> // Jeito certo
   Excluir
</Button>
Reasons:
  • Blacklisted phrase (3): você
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raul UM

79203431

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

SideInputsseems not to be supported by DirectRunner, see the docs, here

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: no-stale-reads

79203426

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

If you are developing an API, for authentication, you should use:

builder.Services.AddKeycloakWebApiAuthentication(builder.Configuration);

For a web app, use:

builder.Services.AddKeycloakWebAppAuthentication(builder.Configuration);

For authorization, use:

builder.Services.AddKeycloakAuthorization().AddAuthorizationServer(configuration);

You can follow the migration guide below:

Source:https://nikiforovall.github.io/keycloak-authorization-services-dotnet/migration.html

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

79203422

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

So in my situation in case anyone ever comes across this. For purposes of security, I created a seperate user to purely run my nextjs application. Additionally I sought such a third party application out to run it in the background since when i would run

npm run dev nohup&

this would ultimately fail due to the background services unable to "access" the application files due to ownership being given to the created account. I say this because this ultimately would made pm2 produce failed commands and unable to actually start the nextjs server. Long story short I ended up updating permissions on the folder itself and was able to get this working with

pm2 start "npm run dev" --name "nextjs server"

and whenever I need to check logs i do

pm2 logs "nexjs server"

if i update files sometimes it automatically propagates when i use git but sometimes it does not so you can do

pm2 restart "nextjs server"

or

pm2 stop "nextjs server"

pm2 start "nextjs server"

Dont forget! sometimes you need to do maintenance and restart server. run pm2 save and it will save the processes you are running cause I imagine your running some kind of backend as well.

I know this was probably more then you needed but the other commands did not work to get my nextjs going and if your running into same issues maybe this will help you!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kid Yume

79203420

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

Check CMakeLists.txt: Ensure your CMakeLists.txt includes the proper PyBind11 configuration:

cmake_minimum_required(VERSION 3.12) project(cmake_example)

set(CMAKE_CXX_STANDARD 14) find_package(pybind11 REQUIRED)

pybind11_add_module(cmake_example src/main.cpp)

2.Rebuild the Project: After confirming the CMakeLists.txt is correct, rebuild the project by running:

Code: python setup.py build

3.Ensure Correct Python Version: Verify that the Python version used in your virtual environment matches the one used during the build process (python --version).

4.Check the Build Output: After rebuilding, check the output directory for the .pyd file (e.g., cmake_example.cp311-win_amd64.pyd) and make sure it's in your Python path (e.g., same directory as the test script). Then run the test again.

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

79203416

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

It is possible to create such a Shelve CL.

To do this, it is necessary to:

However, an error will occur when unshelving this Shelve CL: enter image description here

In other words, Perforce is somewhat limited in this regard.

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

79203415

Date: 2024-11-19 12:30:38
Score: 4
Natty: 7
Report link

I installed awx operator in aks, it's working, but I have issue with env variables injected by aks. even though I added the no_proxy env with ENV in my Containerfile, AKS overrirde my values. You have idea how can I force env variables to automation-job pod created by awx when a playbook is runnging by awx.??

Reasons:
  • Blacklisted phrase (0.5): how can I
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Said Dadda

79203414

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

Some testing frameworks, like JUnit, might mark a test as passed or failed prematurely if there are incorrect assertions or missing verifications. Ensure: Assertions and verifications are placed correctly. The test doesn’t conclude after testing the first function.

You can also test both the function seprately

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

79203412

Date: 2024-11-19 12:29:37
Score: 0.5
Natty:
Report link

Trivial loop function:

function loop()
    -- your code here
    while true do
        -- your loop code there
    end
end

More not trivial loop:

function loop ()
    -- your loop code there
    return loop()
end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: darkfrei

79203401

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

//you are right, just need to handle floating points for corner cases

double termOfGP(int A,int B,int N) { double nthTerm = (A * (double) ( (double) pow(B, N-1) / (double) pow(A, N-1) ) );

 return nthTerm;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nitin

79203390

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

According to MaterialIconsUrlProvider.kt, the icons are bundled in jar and loaded from "images/material/icons/". Not sure which jar actually contains it, though. I couldn't find it in current version or any old version I downloaded.

After a commit at 2020-01-16, they support loading it from sdk, so now it's all in Sdk/icons/material.

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

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ũ