79456927

Date: 2025-02-21 09:48:51
Score: 1.5
Natty:
Report link

Paste with mask=img2 would handle the transparent problem:

img1.paste(img2, position, mask=img2)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lufy

79456925

Date: 2025-02-21 09:48:51
Score: 1
Natty:
Report link

With the deprecation of faces managed beans in favour of CDI beans in Jakarta EE 10, the <managed-bean> solution doesn't (appear to) work.

In later versions, the below code defines a CDI bean which can inject a LocalDate for use as "#{currentDate}". The @Named annotation is optional, and it can be trivially modified to inject a java.util.Date for use with <f:convertDateTime> instead. See also the CDI spec's section on Producer methods (https://jakarta.ee/specifications/cdi/3.0/jakarta-cdi-spec-3.0.pdf, section 3.2).

import java.time.LocalDate;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Produces;
import jakarta.inject.Named;

@ApplicationScoped
public class CurrentDateBean {
    
    @Produces
    @Named("currentDate")
    public static LocalDate getCurrentDate() {
        return LocalDate.now();
    }
    
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Named
  • Low reputation (1):
Posted by: ninvti

79456921

Date: 2025-02-21 09:46:50
Score: 3.5
Natty:
Report link

I spent all week looking for the answer to pre-filling hidden fields in Google Forms, and found the answer here :- https://stackoverflow.com/a/79299369/29738588

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stewart Collins

79456920

Date: 2025-02-21 09:45:50
Score: 2
Natty:
Report link

Possible!

Just use include key word in gitlab-ci.yml

It let's you to 'import' another .yml, so it is possible to reuse same .yml code in many places.

Moreover, you can import for example one job and override some of its attributes, like variables.

It is really flexible.

Please see: https://docs.gitlab.com/ci/yaml/includes/

Have fun 😎

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

79456918

Date: 2025-02-21 09:45:50
Score: 1.5
Natty:
Report link

tldr: use jest.advanceTimersByTime(milliseconds);

The other solutions make sense, but did not work for me. In such case consider:

function toBeTested(){
    setTimeout(() => { /* do stuff later */}, 500);
}

it('does stuff later', () =>{
   toBeTested();
   jest.advanceTimersByTime(600);
   expect(/* things to be done */)
});

Docs: https://jestjs.io/docs/timer-mocks#advance-timers-by-time

Reasons:
  • Blacklisted phrase (1): did not work
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: DBencz

79456917

Date: 2025-02-21 09:45:50
Score: 2
Natty:
Report link

An update thing is should use .sizeOf instead of .of(context).size to optimize performance

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Duy Tran

79456911

Date: 2025-02-21 09:42:49
Score: 3
Natty:
Report link

Laravel is such an amazing PHP framework.

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

79456904

Date: 2025-02-21 09:40:49
Score: 3
Natty:
Report link

You can look into the Waze Transport SDK, which provides deeper integration capabilities with Waze, including navigation-related events. However, access to this SDK is restricted and requires you to become a Waze partner. You can apply for partnership through the Waze Partners Program.

enter image description here

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

79456900

Date: 2025-02-21 09:39:48
Score: 2
Natty:
Report link

You don't need the keyed subtree, you can just add a UniqueKey to the Column you return in your builder. A key will identify each element in your listview so when you're rearranging them, they're correctly identified, so you have to add the key at the topmost widget in the subtree, in this case for each view card, the topmost element would be the Column, so just give it a UniqueKey(), that should sort it.

If you wanna understand it more, you can check this video

Reasons:
  • Blacklisted phrase (1): check this video
  • Blacklisted phrase (1): this video
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: public static void Main

79456896

Date: 2025-02-21 09:36:48
Score: 2.5
Natty:
Report link

Your program is ill-formed. You probably shouldn't be trying to redefine what ISO/ANSI standards committees have spent umpteen man/woman hours defining, and instead roll with the flow. That's just my opinion. I could be wrong, but I doubt it.

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

79456892

Date: 2025-02-21 09:34:47
Score: 2
Natty:
Report link

Editing tsvn:projectlanguage is no option for me. But Melebius suggestion worked perfect for me (Windows 10 Pro with latest patches). I used the en_US.dict as the template file instead of the en_GB.dict. The Regex change can be easily done using the vsCode editor.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andreas Köster

79456890

Date: 2025-02-21 09:34:47
Score: 1.5
Natty:
Report link

When to Create groups ?

Creates a group structure in your project that matches the structure of the selected files and folders on disk. Xcode creates a group in the Project navigator for each folder you add, and it adds the contents of the folder to that group. Choose this option when you want the group structure in Xcode to differ from the directory structure on disk, or you want to reference files outside your project.

When to Create folders ?

Displays the folders in the Project navigator, and either copies, moves, or references files depending on the selection you make in the Action picker. In the Project navigator, each added folder points to a folder in the file system. Choose this option when you want your Project navigator folders to match the file and directory structure on disk, and to minimize changes to your project file when you add or remove files.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When to
  • Low reputation (0.5):
Posted by: rohit sankpal

79456889

Date: 2025-02-21 09:34:47
Score: 0.5
Natty:
Report link
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib.dates as mdates


df = pd.read_excel('sample_data.xlsx')
df['Date_TrailClean'] = pd.to_datetime(df['Date_TrailClean'])

# Sort x-axis 
df = df.sort_values('Date_TrailClean')
x = df['Date_TrailClean']
y = df['AdjTotItems']


fig, ax = plt.subplots(figsize=(10, 6))
ax.plot(x, y, color='blue', marker='o', label='Adjusted Total Items')
ax.xaxis.set_major_locator(mdates.MonthLocator(bymonth=(1, 7)))
ax.xaxis.set_minor_locator(mdates.MonthLocator())

ax.xaxis.set_major_formatter(mdates.DateFormatter('%b %Y'))  # e.g., Jan 2025, Jul 2025

plt.xticks(rotation=45)

ax.set_xlabel('Date')
ax.set_ylabel(r'Adjusted Total Items')
ax.set_title('Adjusted Total Items Over Time')
ax.grid(True)
plt.tight_layout()  
plt.show()

plot

As others pointed out, sorting the x-axis data gives you above plot.

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

79456886

Date: 2025-02-21 09:33:47
Score: 2
Natty:
Report link

As per https://learn.microsoft.com/en-us/graph/extensibility-overview?tabs=python#comparison-of-extension-types, note 1:

Due to an existing service limitation, delegates cannot create open extension-appended events in shared mailbox calendars. Attempts to do so will result in an ErrorAccessDenied response.

So I guess, you can create exception in any mailbox (not only currently logged user) except shared.

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

79456885

Date: 2025-02-21 09:33:47
Score: 2
Natty:
Report link

For info, I asked the question yesterday because my own distribution DBIx-DataModel-3.12 was displayed in grey, a few minutes after it was posted on CPAN. So I knew for sure that it was the latest version. But today that distribution is displayed in normal color. So my guess is that there must be some delay before MetaCPAN knows which is the latest version of a distribution.

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

79456882

Date: 2025-02-21 09:30:46
Score: 0.5
Natty:
Report link

This is finally supported in mlr3 and mlr3learners for xgboost (currently using the latest github versions).

See example here. Setting offset in the task means also that it is applied automatically during internal tuning/validation of xgboost as well.

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

79456874

Date: 2025-02-21 09:27:45
Score: 5
Natty: 5.5
Report link

free(..., type = 'label') according to https://github.com/thomasp85/patchwork/issues/285

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

79456871

Date: 2025-02-21 09:27:45
Score: 1.5
Natty:
Report link

To specify a different version of a registered CloudFormation module, you need to use the TypeVersionArn property. Here’s the correct approach:

enter code here

sftpTransferLambda: Type: ORG::Lambda::SFTPTransfer::MODULE TypeVersionArn: "arn:aws:cloudformation:us-east-1:123456789012:type/module/ORG-Lambda-SFTPTransfer/000001" Properties: SourceBucketName: !Sub l.lz-${Environment}-${Client}-${DataSource} DestinationBucketName: !Sub l.bronze-${Environment}-${Client}-${DataSource}

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

79456868

Date: 2025-02-21 09:26:45
Score: 2.5
Natty:
Report link

"The same question bothered me for a night...
I just followed the first answer: close the opened launch.json, and then everything worked.

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

79456856

Date: 2025-02-21 09:21:43
Score: 2
Natty:
Report link

Updating macOS to the latest publicly available OS often resolves the issue. After updating to the most up-to-date version, down to the last decimal point, it was immediately resolved.

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

79456841

Date: 2025-02-21 09:16:42
Score: 0.5
Natty:
Report link

Figured it out:

= (Location,SectionNr) =>
let 
    Sections = Text.Split(Location,","),
    SectionValue =  Sections{SectionNr-1}
in 
    SectionValue

The problem was that I was [] brackets instead of {} brackets. Also because the list index start from 0, and I prefer to send the SectionNr as 1-n, I just subtract 1 from the SectionNr.

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

79456838

Date: 2025-02-21 09:14:42
Score: 1
Natty:
Report link

I was struggling with the same error and I couldn't find issue in my .NET Web API with Open Telemetry. This problem was really strange for me, since I've not implemented anything custom regarding logging. I was only using Nuget packages for OpenTelemetry and the problem was occuring.

The root cause of this problem is explained by this answer: https://github.com/open-telemetry/opentelemetry-dotnet/issues/6138#issuecomment-2665815098

According to this, downgrade of OpenTelemetry Nuget Packages form 1.11 to 1.10 resolves the problem at this moment.

Of course it will be fixed in the future - see related GitHub issues.

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

79456836

Date: 2025-02-21 09:14:42
Score: 0.5
Natty:
Report link

This might help

  1. Make sure your frontend requests include credentials: 'include' eg

    fetch('your refresh token endpoint', { method: 'GET', credentials: 'include' })

  2. Make sure you have CORS parameter set in your settings.py

    CORS_ALLOW_CREDENTIALS = True
    CORS_ALLOWED_ORIGINS = [

    #Add any url u use for your frontend code ] CSRF_COOKIE_HTTPONLY = True CSRF_COOKIE_SECURE = False # make this to True in when u are on prod CSRF_COOKIE_SAMESITE = 'Lax' SESSION_COOKIE_SAMESITE = 'Lax'

3.make sure the frontend contains the CSRF token in the headers if you have any tho.

Also remember if refresh_token cookie is set to httponly=True, Javascript can't read it which is normal. But the browser will send it automatically with requests.

so, Make sure you're calling the refresh endpoint from the browser, not Postman (Postman won’t send cookies) and Use secure=True only if you're on HTTPS; otherwise, it might not work in local.

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

79456832

Date: 2025-02-21 09:13:42
Score: 1
Natty:
Report link

Storing access and /or Id tokens in cookies is best avoided, yes it is possible to store them securely, however if not done correctly its easy for them to be insecure. Also its easy to break the 4k cookie limit, I know I've just been caught out. You could use the ChunkingCookieManager but then if you are on .Net MVC app you will fall foul of the cookie monster bug https://dzone.com/articles/catching-systemwebowin-cookie https://www.nuget.org/packages/Kentor.OwinCookieSaver What's worse is will fail silently, so I've now moved to having only an encrypted reference token in a cookie and the refresh token. The reference token is then used to fetch the real token from a memory cache

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

79456831

Date: 2025-02-21 09:13:42
Score: 3
Natty:
Report link

my reputation < 50 so place as Answer instate of comment back here

I'm pretty sure that video preview is provide by google photos MediaContentProvider and show on system Android sheet app (com.android.intentresolver, you can check it with adb or some reverse tools).

I guess there some hidden API maybe that we cannot use it, but I not found it yet (´;ω;`)

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • No code block (0.5):
  • Low reputation (1):
Posted by: how8570

79456830

Date: 2025-02-21 09:12:41
Score: 1.5
Natty:
Report link

Using @supersize's answer, to keep it alongside my other keybinding overrides I added this to VSCode's user settings (JSON):

"vim.normalModeKeyBindingsNonRecursive": [
    {
        "before": ["<C-o>"],
        "commands": ["workbench.action.navigateBack"]
    },
    {
        "before": ["<C-i>"],
        "commands": ["workbench.action.navigateForward"]
    },
    // other overrides here
]

note: normalModeKeyBindingsNonRecursive is mentioned in VSCodeVim's README.md

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @supersize's
  • Low reputation (1):
Posted by: dandan

79456823

Date: 2025-02-21 09:11:41
Score: 3
Natty:
Report link

you can run debug mode on real device? use flutter run --release it may catch smoe error。

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

79456806

Date: 2025-02-21 09:03:38
Score: 6 🚩
Natty: 5
Report link

To the OP, just curious if you ever got this working. I am trying to figure this out too. Would be grateful for any insight.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2): Would be grateful
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Bingham-Hawk

79456801

Date: 2025-02-21 09:02:38
Score: 1
Natty:
Report link

I know this is an old question, and that it doesn't follow proper etiquette, but since I just spent half an hour figuring out part 2 myself, I thought I could jot the answer down for anyone else ever stumbling across it:

(1) You have to include 'total = TRUE' in your controls (which should, at least by now, be the default though). If you want to have the total column before the others, then also add 'total.pos = "before"'.

(2) You need to also specify the test you want to use for the variable, so for example 'kwt', 'anova' or 'notest'. Then, you would specify it as follows: 'anova(URV.days, "median")'.

HTH

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

79456794

Date: 2025-02-21 08:58:37
Score: 1
Natty:
Report link

Because you don't understand the difference between a function and a function template. In your code print_all() is a function template that takes type T. It's only instantiated if the compiler detects a call to print_all(T), and your print_all() code assumes that T has defined operator[]. f is a function (not a function template) that takes type std::vector, which is ill-formed, as all vectors require a type they hold, i.e. std::vector<int>, std::vector<char*>, std::vector<something_i_found_under_thecouch>, there is no such thing as just std::vector. If you want your print_all() function to work with any vector, you'll need to redeclare it as a function template:

template <class T>
void f(const std::vector<T>& v);

and/or

template <class T>
void f(std::vector<T>&& v);

Cheers!

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

79456773

Date: 2025-02-21 08:50:35
Score: 1.5
Natty:
Report link

Finally! I got it!!! The issue was caused by Laravel’s event dispatcher, which was accumulating event listeners during batch inserts, leading to memory exhaustion. The fix was simply to disable the event dispatcher:

DB::connection()->unsetEventDispatcher();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Puka

79456763

Date: 2025-02-21 08:48:35
Score: 3.5
Natty:
Report link

for me issue got resolved, by adding MapJsonbAsClob=true; in the source endpoint.

what it does consider the jsonb as NCLOB.

refer to below doc:-

https://docs.aws.amazon.com/dms/latest/APIReference/API_PostgreSQLSettings.html

https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.Prerequisites

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

79456759

Date: 2025-02-21 08:48:35
Score: 3.5
Natty:
Report link

On Android, the memory limit is set to Jave VM. Therefore, once you use C++ code to run the LLMs, much more memory can be utilized.

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

79456758

Date: 2025-02-21 08:47:35
Score: 3.5
Natty:
Report link

Is there any recommendation which method should be used? For instance, when we are querying by PK and are sure that there's only one result?

If your querying with PK, prefer FindAsync(), because of this method firstly checks cache and after that procude SQL command and sends db. We may say the FindAsync() method is faster version of FirstOrDefaultAsync() when query parameter is PK.

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: gorkemkayas

79456754

Date: 2025-02-21 08:45:34
Score: 1
Natty:
Report link

For dichtomous variables, the tbl_summary() function provides the option to display only one category by using the type argument. The following code provides the solution. It correctly considers the total N.

library(gtsummary)
d<-tibble::tribble(
      ~Gender, ~Treatment,      
      "Male", "A",
      "Male", "B", 
      "Female", "A",
      "Male", "C",
      "Female", "B",
      "Female", "C")

d %>% tbl_summary(
  by    = Treatment, 
  # declare Gender as dichotomous variable
  type  = list(Gender ~ 'dichotomous'), 
  # set the value to show
  value = list(Gender ~ 'Female'), 
  # by default as characteristic still "Gender" is shown, change to "Female"
  label = list(Gender ~ 'Female'))

The output:

tbl_summary() output

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

79456753

Date: 2025-02-21 08:44:34
Score: 1
Natty:
Report link

You can take a look at aesfile : https://github.com/bibi21000/AesFile

To encrypt :

import aesfile

with open(source, 'rb') as fin, aesfile.open(destination, mode='wb', aes_key=key) as fout:
    while True:
        data = fin.read(7777)
        if not data:
            break
        fout.write(data)

And decrypt :

import aesfile

with aesfile.open(source, mode='rb', aes_key=key) as fin, open(destination, 'wb') as fout :
    while True:
        data = fin.read(8888)
        if not data:
            break
        fout.write(data)

Or you can compress (with zstd) and encrypt in one pass, simply replace

import aesfile

with

import aesfile.zstd

Look at https://github.com/bibi21000/CofferFile/blob/main/BENCHMARK.md for performance impact.

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

79456752

Date: 2025-02-21 08:44:34
Score: 0.5
Natty:
Report link

For me this works:

vercel.json

{
  "version": 2,
  "functions": {
    "api/index.ts": {}
  }
}

package.json

{
  "scripts": {
    "dev": "nodemon api/index.ts",
    "build": "tsc",
  },
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cygra

79456741

Date: 2025-02-21 08:39:33
Score: 1
Natty:
Report link

This is a follow up to the answer by a deleted user (user12635841).

I run a website in German and have analyzed my spam for a few days. Here is a figure of the analysis I did in R:

R plot of the data analysis

As you can see, within my sample

To identify language of the message, I use a list of the 500 or so most common word forms in German that I have cleaned of strings that appear in the most common Latin alphabet spam languages also (English, Dutch, French, Spanish etc.). I calculate a percentage of German-appearing words in the message (because some languages have strings that look like German words, e.g. English die and German die). Most spam has 0% German-appearing words, while German messages consist of about 30% or more of German-appearing "words".

I use a combination of all this information to filter out the majority of spam. I have set the filter to allow some spam (e.g. I don't filter on URL in message body) so I don't filter out any legitimate messages.

What I recommend is:

Analyze your spam and your legitimate messages for enough time to understand what differentiates the two. Then install a filter that fits your use case. Do not blindly employ one or all of the procedures given in the other answers without understanding your spam situation or you may miss important messages. Customers will buy elsewhere if you don't reply to them in a timely manner so avoid of false positives!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): user12635841
  • Low reputation (0.5):
Posted by: Ben

79456734

Date: 2025-02-21 08:36:32
Score: 2
Natty:
Report link

thanks for asking this question, this helps us to refine the Dapr and Spring Boot integration. Is there any way you can share your code in GitHub for me to take a look at it? I think we can definitely add a test upstream to demonstrate how to configure this scenario, but we need to look at the code a little bit closer (errors, and how you are calling the service).

Please create an issue in the https://github.com/dapr/java-sdk/ repository so we can keep track of this.

If you have time, you can also check this PR, which we are working with the folks from https://microcks.io to cover more complex testing scenarios: https://github.com/salaboy/pizza/pull/13/files

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Is there any
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: salaboy

79456732

Date: 2025-02-21 08:36:32
Score: 0.5
Natty:
Report link

Although hitting shift twice opens a search dialogue that includes files, and you can scope down to only files by hitting tab twice straight afterwards (four keystrokes!), you can also jump straight to a file-path-only search with command + shift + o.

Other keystrokes to search specific scopes are listed in the docs.

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

79456731

Date: 2025-02-21 08:35:32
Score: 1.5
Natty:
Report link

the simplest workaround would be

logging.getLogger('uvicorn.error').name = 'newnamehere'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ultrafunkamsterdam

79456730

Date: 2025-02-21 08:34:30
Score: 6 🚩
Natty:
Report link

Having the same issue. Mine only happens when steam is running. Im in the steam stable not beta either. Couldn't find a fix.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fricking memory leaks

79456725

Date: 2025-02-21 08:29:29
Score: 0.5
Natty:
Report link

This was a problem for me as well couldn't figure it out. Finally found a way via a different Stackoverflow post.

appcompat-v7 v23.0.0 statusbar color black when in ActionMode

Here is what worked for me

<color name="abc_decor_view_status_guard" tools:override="true">@color/colorAccent</color>
<color name="abc_decor_view_status_guard_light" tools:override="true">@color/colorAccent</color>
Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: James Weber

79456724

Date: 2025-02-21 08:29:29
Score: 4.5
Natty:
Report link

In the meantime I found a workaround: You need to install the vscode extensions locally - see https://code.visualstudio.com/docs/remote/ssh#_advanced-forcing-an-extension-to-run-locally-remotely

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

79456721

Date: 2025-02-21 08:27:28
Score: 4
Natty:
Report link

I had this problem and solve it by installing (in my case) version 6 of .net.

https://dotnet.microsoft.com/es-es/download/dotnet/6.0

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

79456715

Date: 2025-02-21 08:23:27
Score: 0.5
Natty:
Report link

Sure, you can, This is a Python Code for same:

    from slack_bolt import App
    from slack_sdk import WebClient
    from slack_bolt.adapter.socket_mode import SocketModeHandler
    import json
    import os
    from slack_sdk.errors import SlackApiError

    @app.event("app_mention")
    def handle_mention(event, say):
        """
        Handles mentions of the bot and sends a table message to the Slack channel.
        Parameters:
        - event (dict): The event data.
        - say (function): The function to send a message to the channel.
        """
        # Example data
        headers = ["Name", "Age", "Gender"]
        rows = [["Yagna","22","Male"], ["Ray","22","Male"] ]
        # Create the payload
        payload = {
            "blocks": [
                {
                    "type": "table",
                    "rows": [
                        [
                            {
                                "type": "rich_text",
                                "elements": [
                                    {
                                        "type": "rich_text_section",
                                        "elements": [
                                            {
                                                "type": "text",
                                                "text": header,
                                                "style": {
                                                    "bold": True
                                                }
                                            }
                                        ]
                                    }
                                ]
                            } for header in headers
                        ]
                    ] + [
                        [
                            {
                                "type": "rich_text",
                                "elements": [
                                    {
                                        "type": "rich_text_section",
                                        "elements": [
                                            {
                                                "type": "text",
                                                "text": cell
                                            }
                                        ]
                                    }
                                ]
                            } for cell in row
                        ] for row in rows
                    ]
                }
            ]
        }
        # Send the message to the Slack channel
        try:
            response = say(blocks=payload["blocks"])
            print("Message sent successfully:", response)
        except SlackApiError as e:
            print(f"Error sending message: {e.response['error']}")

Also, You can visit this website(Slack Block-Kit), for better understanding: https://app.slack.com/block-kit-builder/T03P1RF97KL#%7B%22blocks%22:%5B%7B%22type%22:%22table%22,%22rows%22:%5B%5B%7B%22type%22:%22rich_text%22,%22elements%22:%5B%7B%22type%22:%22rich_text_section%22,%22elements%22:%5B%7B%22type%22:%22text%22,%22text%22:%22Header%201%22,%22style%22:%7B%22bold%22:true%7D%7D%5D%7D%5D%7D,%7B%22type%22:%22rich_text%22,%22elements%22:%5B%7B%22type%22:%22rich_text_section%22,%22elements%22:%5B%7B%22type%22:%22text%22,%22text%22:%22Header%202%22,%22style%22:%7B%22bold%22:true%7D%7D%5D%7D%5D%7D%5D,%5B%7B%22type%22:%22rich_text%22,%22elements%22:%5B%7B%22type%22:%22rich_text_section%22,%22elements%22:%5B%7B%22type%22:%22text%22,%22text%22:%22Datum%201%22%7D%5D%7D%5D%7D,%7B%22type%22:%22rich_text%22,%22elements%22:%5B%7B%22type%22:%22rich_text_section%22,%22elements%22:%5B%7B%22type%22:%22text%22,%22text%22:%22Datum%202%22%7D%5D%7D%5D%7D%5D%5D%7D%5D%7D

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

79456699

Date: 2025-02-21 08:14:25
Score: 3
Natty:
Report link

try this command pd.read_excel(easygui.fileopenbox())

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: prince

79456692

Date: 2025-02-21 08:10:24
Score: 3
Natty:
Report link

Since 2023 you can not use neither Basic Authentication, nor SMTP AUTH for Microsoft Exchange Services anymore. Source: Deprecation of Basic authentication in Exchange Online

You have to choose between 2 following alternatives:

Implement OAuth authentication for SMTP as described in this Article: Authenticate an IMAP, POP or SMTP connection using OAuth

or

Use Microsoft Graph API instead, and more precisely Outlook mail API

Reasons:
  • Blacklisted phrase (1): this Article
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: Gennadiy Litvinyuk

79456691

Date: 2025-02-21 08:09:24
Score: 3.5
Natty:
Report link

Try adding style display: table-header-group; in thead tag. This should do the trick !

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

79456689

Date: 2025-02-21 08:07:24
Score: 1.5
Natty:
Report link

I got the same run time error 5097 word has encountered a problem, after adding the parameter names in Documents.Add() function, I didnt get the issue.

Documents.Add(Template:=Filename, Visible:=True)

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

79456683

Date: 2025-02-21 08:04:23
Score: 2.5
Natty:
Report link

if you are using Angular 17 then you can Use BehaviorSubject....

Reasons:
  • Whitelisted phrase (-1.5): you can Use
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rinku kumar

79456682

Date: 2025-02-21 08:04:23
Score: 1
Natty:
Report link
module.exports = {
content: [
  "./src/**/*.{js,jsx,ts,tsx}", // React component files
],
theme: {
  extend: {
    colors: {
      primary: '#3476d3',  
      danger: '#df1c6a',   
      accent: '#23f7aa',   
      neutral: '#3f4140',  
    },
  },
},
plugins: [],

};

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

79456668

Date: 2025-02-21 07:53:21
Score: 0.5
Natty:
Report link

I beleive allow_nil: true will not work as we expect, Because it

create database query:
select 1 as one from table_name
where table_name.column_name is null # Column needs to be validated
and table_name.id != current_object_id limit 1;

So rails finds another record where column_name IS NULL and it mistakenly thinks the uniqueness is voilated

So according to me the better approach will be

validates :column_name, uniqueness: true, if: -> { column_name.present }

This approach will completely skip the uniqueness validation when column_name value is not present and rails will not run the uniqueness query for nil value, avoiding false uniqueness error.

THANKS

Reasons:
  • Blacklisted phrase (0.5): THANKS
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Md Aqib

79456651

Date: 2025-02-21 07:46:19
Score: 2
Natty:
Report link

So in latest versions of Jupyter you can just Use Shift+L for Mac and Shift+L for windows to toggle on the Line numbers in native Jupyter Lab.

Or you can turn on in the GUI by navigating to View>Show Line Numbersenter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NANDA KIRAN K

79456650

Date: 2025-02-21 07:46:19
Score: 2
Natty:
Report link

You could try this version: qiskit==0.44.0 qiskit-machine-learning==0.6.1

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: silent

79456643

Date: 2025-02-21 07:44:19
Score: 2
Natty:
Report link

It sounds like the API key might not be linked to the right context or domain. Double-check that your key is configured correctly and ensure you're passing all the necessary session details.

For a quick guide on solving reCAPTCHA v2, check out this doc. Should help clear things up!

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

79456633

Date: 2025-02-21 07:42:18
Score: 3.5
Natty:
Report link

Before using git via python you have to download and install git from internet.

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

79456625

Date: 2025-02-21 07:38:18
Score: 1
Natty:
Report link

So I had this same issue and after some research. I find the fix to be manually installing setimmediate package.

npm i setimmediate

Then import it in the index.ts file. Also it should be the first import in the file

import 'setimmediate'

for reference check here https://github.com/software-mansion/react-native-reanimated/issues/4140

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

79456620

Date: 2025-02-21 07:35:17
Score: 2
Natty:
Report link

You can refer this code: https://github.com/latifahkagamecohort/mhl_tree/blob/8cc6898fe593e45e69f8999cec248f43648c1549/add.c

Which is using function like this to sum 10 numbers:

int sum (int a,int b,int c,int d,int e,int f,int g,int h,int i,int j)
{
    return a+b+c+d+e+f+g+h+i+j;
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AmitJhaIITBHU

79456616

Date: 2025-02-21 07:34:17
Score: 3
Natty:
Report link

To find out real error had to open the Virtualbox, find the Homestead entry and click the "Show" button in the panel to reveal the console with error. Turned out that the file system required a manual fsck in my case.

enter image description here

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

79456613

Date: 2025-02-21 07:32:16
Score: 5
Natty: 5
Report link

Has anyone encountered this issue with better_player_plus?

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

79456606

Date: 2025-02-21 07:28:15
Score: 2.5
Natty:
Report link

I guessed that the issue was caused by FFmpeg's inability to infer the video container format from the encoding format and file path, so appending a suffix like ".mp4" to the path resolved it.

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

79456603

Date: 2025-02-21 07:27:15
Score: 2
Natty:
Report link

You're looking for the setTimeout() function from the React library, here's some information from the docs itself: https://react.dev/learn/synchronizing-with-effects#putting-it-all-together

Your solution would be adding a slight delay to the mapbox resize with the usage of the setTimeout check the sandbox here:

https://codesandbox.io/p/sandbox/epic-napier-2lpf29

Goodluck!

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rien de jong

79456597

Date: 2025-02-21 07:26:15
Score: 0.5
Natty:
Report link

I think the problem is exactly the view offset of the reflector camera,just like
gianoseduto said in the comment,but instead of set the offset,but clear the offset.you can simply try deleting the virtualcamera.projectionmatrix.copy(camera.projectionmatrix) in the reflector.js,it works for me,the stretch disappeared.

Reasons:
  • Whitelisted phrase (-1): works for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: 江方舟

79456584

Date: 2025-02-21 07:19:13
Score: 1
Natty:
Report link

document.querySelector('button').addEventListener('click', function () {
  document.querySelector('output').innerHTML = document.querySelector('textarea').value;
})
<textarea>... <img src=void ufrdrfonerror="alert('hacked')" /> ...</textarea>
<button>Go</button>
<output></output>

Hake

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

79456582

Date: 2025-02-21 07:19:13
Score: 0.5
Natty:
Report link

Go to here:

https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/?cs=2626455528&form=MA13LH

Download the driver that matches your version of Edge. Extract and rename it from 'msedgedriver.exe' to 'edgedriver.exe'

Move the edgedriver.exe file to the following folder: C:\Users\YourName\AppData\Local\SeleniumBasic

Make sure you have a reference to Selenium in EXCEL or whatever program your using VBA with:

VBA Editor/Tools/References, look for and check: 'Selenium Type Library'

To start Selenium:

Add variable and assign at the very top of your VBA code below 'Option Explicit':

Option Explicit
Dim bot As New Selenium.EdgeDriver

In your VBA code add:

Sub buscarPreco()

 bot.Start
 bot.Get "your URL Here"
 bot.Wait 5000

 Dim myElementValue as String

 myElementValue = bot.FindElementById("price_inside_buybox").Attribute("innerText")

 If isnull(myElementValue) or myElementValue = "" then

   msgbox "No Element Value Found", vbInformation, "For Information..."

  else

   Cells(2, 2).Value = myElementValue 

 End if

 bot.Quit

End Sub
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Steven Wilson

79456579

Date: 2025-02-21 07:18:13
Score: 1
Natty:
Report link
<Annotation Term="UI.SelectionFields">
<Collection>
<PropertyPath>Compcode</PropertyPath>
</Collection>
</Annotation>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: York Chen

79456566

Date: 2025-02-21 07:11:11
Score: 1.5
Natty:
Report link

One simple solution during development is to disable the app sandbox. Open the Platforms/MacCatalyst/Entitlements.plist file and set the property below to false:

        <key>com.apple.security.app-sandbox</key>
        <false/>

See also: https://tonyedwardspz.co.uk/blog/maui-access-subfolders-from-mac-desktop/

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

79456553

Date: 2025-02-21 07:06:10
Score: 0.5
Natty:
Report link

The formula uses the REDUCE function in cell L23 and drag down.

=REDUCE(H23,H$23:H$31,LAMBDA(a,v,IF(ISERROR(VLOOKUP(a,H$23:I$31,2,FALSE)),a,VLOOKUP(a,H$23:I$31,2,FALSE))))

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Black cat

79456552

Date: 2025-02-21 07:05:09
Score: 1.5
Natty:
Report link

[overlapTrigger]="false" works in the opposite way. If there are many menu items, applying this attribute may not work as expected. It is effective only when there are fewer menu items, as the default behavior is non-overlapping. However, if the user sets [overlapTrigger]="true", the menu overlay will overlap the trigger button.

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

79456548

Date: 2025-02-21 07:04:09
Score: 1.5
Natty:
Report link

Thanks to Mark Dickinson. No need to math module:

list = ['3.14', '1.59', '2.65', '3.58']

floor_list = [int(float(i)//1) for i in list]

# floor_list = [3, 1, 2, 3]
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ehsan Paknejad

79456546

Date: 2025-02-21 07:04:09
Score: 3.5
Natty:
Report link

EPPlus 4 doesn't accept NUMBERVALUE as a valid function (introduced in v5). You can check all the supported functions in: https://github.com/EPPlusSoftware/EPPlus/wiki/Supported-Functions

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

79456540

Date: 2025-02-21 07:01:08
Score: 4.5
Natty:
Report link

How I usually do it: Split the preview components Set default values ​​for Composables https://developer.android.com/develop/ui/compose/tooling/previews?hl=en#preview-viewmodel

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): How I
  • Low reputation (1):
Posted by: Văn Phước Thái

79456536

Date: 2025-02-21 06:59:08
Score: 1.5
Natty:
Report link

java.lang.IllegalStateException: Cannot stop. Current container state was: CONSTRUCTED

If you are getting this error and using intelij Idea. navigate to search bar and type "Maven" and select the highlighted option to reload all the maven projects.

That will help you to resolve the issus.

java.lang.IllegalStateException: Cannot stop. Current container state was: CONSTRUCTED

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

79456531

Date: 2025-02-21 06:54:07
Score: 3
Natty:
Report link

Now a days SSL for internal IP, internal URLs, localhost, and server names is available commercially from intranetssl.

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

79456525

Date: 2025-02-21 06:50:06
Score: 1.5
Natty:
Report link

The problem was of these dependencies: simplejavaemail 6.4.4 and atlassian-renderer 8.0.30

simplejavaemail 6.4.4 depens on org.simplejavamail (core-module) 6.4.4 which uses jakarta.activation 1.2.1

atlassian-renderer 8.0.30 depens on javax.activation 1.0.2

jakarta.activation 1.2.1 includes package name javax.activation and com.sun.activation.registries.MailcapFile.getMailcapList returning Map

javax.activation 1.0.2 com.sun.activation.registries.MailcapFile.getMailcapList returning Hashtable

com.atlassian.renderer 9.0.3 the first version of artifact which depends on javax.activation 1.1.1, the older versions depens on javax.activation 1.0.2

javax.activation 1.1.1 com.sun.activation.registries.MailcapFile.getMailcapList returning Map as well

Since version 7.0.0 of simplejavamail (core-module) up dependency of jakarta.activation (2.0.1) which is using another namespace jakarta.activation and it does not overlap with javax.activation

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

79456523

Date: 2025-02-21 06:49:06
Score: 1
Natty:
Report link

No Spring Data does not support this.

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

79456521

Date: 2025-02-21 06:49:06
Score: 1
Natty:
Report link

@rahulP's method works.

The reason for this error is that in the ServiceModelConfiguration class, properties is a Map<String, ServiceModel>. This means that Spring Boot would expect to have a node in the configuration file that corresponds to the properties and that contains multiple key-value pairs under this node, each corresponding to a ServiceModel.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @rahulP's
  • Low reputation (0.5):
Posted by: LaiFQZzr

79456517

Date: 2025-02-21 06:46:05
Score: 1.5
Natty:
Report link

You should use Aspose.Slides.NET6.CrossPlatform. Please note that Aspose.Slides.NET6.CrossPlatform requires GLIBC 2.23 and higher for Linux systems. For macOS, the fontconfig package has to be installed. I am working as a support developer at Aspose.

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

79456516

Date: 2025-02-21 06:44:05
Score: 5
Natty: 6.5
Report link

WWW.Instagrm.com[enter image description here][1]

[1]: https://i.sstatic.net/4hPHVXnL.jpg**strong text**

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Liju B

79456515

Date: 2025-02-21 06:44:05
Score: 1
Natty:
Report link
module.exports = {
  root: true,
  extends: '@react-native',
  overrides: [
    {
      files: ['*.js', '*.jsx', '*.ts', '*.tsx'],
      parserOptions: {
        requireConfigFile: false,
      },
    },
  ],
  parserOpts: {
    plugins: ["jsx"]
  }
};
Use this hopefully it works
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DevMukh

79456506

Date: 2025-02-21 06:39:04
Score: 1
Natty:
Report link

import requests import time import ccxt # Biblioteca para conectar com exchanges

def get_bitcoin_price(): url = "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" response = requests.get(url) if response.status_code == 200: data = response.json() return data["bitcoin"]["usd"] else: print("Erro ao obter o preço do Bitcoin") return None

def sell_bitcoin(exchange, symbol, amount): try: order = exchange.create_market_sell_order(symbol, amount) print(f"Venda realizada: {order}") except Exception as e: print(f"Erro ao vender Bitcoin: {e}")

def monitor_price(threshold, exchange, symbol, amount): while True: price = get_bitcoin_price() if price: print(f"Preço atual do Bitcoin: ${price}") if price >= threshold: print(f"\nALERTA! O preço do Bitcoin atingiu ${price}, ultrapassando o limite de ${threshold}! Realizando venda...\n") sell_bitcoin(exchange, symbol, amount) time.sleep(30) # Aguarda 30 segundos antes de verificar novamente

if name == "main": exchange = ccxt.binance({ 'apiKey': 'SUA_API_KEY', 'secret': 'SUA_SECRET_KEY' }) symbol = 'BTC/USDT' amount = 0.001 # Quantidade de BTC para vender threshold_price = float(input("Defina um preço limite para a venda automática: ")) monitor_price(threshold_price, exchange, symbol, amount)

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

79456505

Date: 2025-02-21 06:39:04
Score: 0.5
Natty:
Report link

Biggest water park in delhi ncr It seems like you're encountering an issue where the Ansible provisioning step during your Packer build is stuck because of SSH connection issues (specifically related to SFTP/SSH key authentication) while working with VMware and Ansible. Here are a few things you can try to resolve this issue:

  1. Ensure SSH Password Authentication is Enabled: Although you mentioned that the image should accept a password, it’s worth double-checking the SSH configuration in your VM to ensure that password authentication is explicitly enabled. You can do this by connecting to the VM manually and modifying the /etc/ssh/sshd_config file:

bash Copy PasswordAuthentication yes Then restart the SSH service:

bash Copy sudo systemctl restart ssh If password authentication is enabled, you can manually verify SSH login with the password to confirm that it works as expected.

  1. Force Ansible to Use Password Authentication: Since you are using password-based authentication, try configuring Ansible to explicitly use password authentication by setting up the following in your ansible.cfg file or as environment variables for the playbook:

ini Copy [defaults] transport = ssh

[ssh_connection] ssh_args = -o PubkeyAuthentication=no -o PasswordAuthentication=yes Alternatively, you can specify the SSH password in the ansible-playbook command with the --ask-pass flag:

bash Copy ansible-playbook --ask-pass ... 3. SSH Key Issues: It appears that Ansible is trying to use SSH key-based authentication (/tmp/ansible-key830595791) as part of the provisioning process. If your VM is set up to use password authentication rather than SSH keys, make sure to specify the ansible_ssh_pass variable in your playbook or command.

You can pass the password explicitly in your Ansible command:

bash Copy ansible-playbook -e ansible_ssh_pass="your_password" ... 4. Switch to SCP Instead of SFTP: Since you're receiving warnings about both SFTP and SCP transfer mechanisms failing, try to force Ansible to use SCP for file transfer. This can be done by modifying your ansible.cfg file like this:

ini Copy [ssh_connection] scp_if_ssh = True 5. Check for VM Connectivity: You’ve mentioned that the port 22 is open, but double-check if there’s any firewall or SELinux/iptables rule blocking SSH access from the Packer VM during provisioning. Use the following commands to verify connectivity:

Verify SSH access from the host machine:

bash Copy ssh -i /tmp/ansible-key830595791 ubuntu@<VM_IP> Make sure the SSH service is up and running inside the VM:

bash Copy systemctl status ssh 6. Check VMware Settings: Make sure VMware Workstation is properly configured for networking so that the VM can be accessed from the host (especially if you're using NAT or bridged networking). The VM must have proper network access (either via NAT or bridged connection) to communicate with Ansible.

  1. Increase Ansible Debug Level: Since you have ANSIBLE_DEBUG=1 set, examine the debug logs for additional details about the failure, especially about SSH authentication errors, which might give you more information on why the SCP and SFTP mechanisms are failing.

Check for errors specifically related to the SSH keys or password authentication in the Ansible debug output.

Summary of Steps: Ensure password authentication is enabled inside the VM (/etc/ssh/sshd_config). Modify your ansible.cfg to disable key-based authentication if using password authentication. Add ansible_ssh_pass to specify the password explicitly. Force Ansible to use SCP by setting scp_if_ssh=True. Verify connectivity and SSH service in the VM. Increase Ansible debug output to get more detailed error information. These steps should help resolve the issue you're encountering with SSH/SCP connection failures in the Packer and Ansible workflow. Let me know if you need further clarification!

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

79456504

Date: 2025-02-21 06:37:03
Score: 3
Natty:
Report link

You can install the plugin in wordpress known as ACF (Advanced Custom Field) where you can create a custom post type and the taxonomy also you can add the custom meta fields.

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

79456498

Date: 2025-02-21 06:34:01
Score: 8 🚩
Natty:
Report link

How to get all feed 3 in agoda affiliate?enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: bennytan susanto

79456485

Date: 2025-02-21 06:26:59
Score: 0.5
Natty:
Report link

You can create free cloudflared tunnels like this: cloudflared tunnel --url localhost:<PORT>

after this you should see a URL like this: https://completely-random-genearted-name.trycloudflare.com that's your application

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

79456477

Date: 2025-02-21 06:19:58
Score: 0.5
Natty:
Report link

Easiest way is :

  1. Go to github-desktop repository and go to realeases(below)

Realeases

  1. Download file that is suitable for your linux distribution.

  2. Then install it with :

    sudo apt install "[.deb file location]"
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nima pm

79456474

Date: 2025-02-21 06:18:57
Score: 1.5
Natty:
Report link

For your information - it's no matter, what laptop / device you using while you try to learn - try to install git-app for an a mac os and ZSH-terminal for an understanding more information + if you need how_to code in a MacOs - install DevTools for an Apple and earn a code from an Apple for your app :)

2nd moment - try to install vm-software :)


Starter pack in Python is just an a software-orienthed method for a development :)

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

79456472

Date: 2025-02-21 06:17:57
Score: 0.5
Natty:
Report link

While I've been unable to turn this off, I found a semi-functional workaround is to increase the Workbench > Hover: Delay value from 500 to 1000. I don't think I tend to use the workbench hovers very often, so the extra delay for the tooltips I want isn't too much of an irritation.

This was happening to me typically when I was selecting a tab then clicking back to the terminal. I've only just learned that you can focus the terminal by double-clicking on the tab. You can also change this behaviour to happen on single click by changing the Terminal > Integrated > Tabs: Focus Mode setting. At least this way I'm not needing to click on the terminal behind the tooltip, and can move the mouse toward the code panel. I wish I'd known the double-click shortcut earlier.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tvStatic

79456466

Date: 2025-02-21 06:10:56
Score: 3
Natty:
Report link

CREATE OR REPLACE FUNCTION p_proposal(pol IN VARCHAR2) RETURN VARCHAR2 IS result VARCHAR2(100); BEGIN SELECT CASE WHEN proposal_no = pol THEN 'yes' ELSE 'no' END INTO result FROM proposal_sec1 WHERE proposal_no = pol; RETURN result; END p_proposal; / I need calling function query

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29737459

79456465

Date: 2025-02-21 06:10:56
Score: 2
Natty:
Report link

In my case, this error came up when I attempted to convert a Jupyter notebook with Statsmodels regression summaries into a PDF document. As a workaround, I took screenshots of the regression results, then displayed those screenshots within my notebook instead of the original summary text.

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

79456464

Date: 2025-02-21 06:10:56
Score: 1
Natty:
Report link

When test in Web Chat, it doesn't include an authorization header in the request to the bot. However, the downloaded project contains below logic, that returns Unauthorized response in this case. You can remove this logic in order to test in Web Chat.

if (!req.headers.authorization && process.env.RUNNING_ON_AZURE === '1') {
    return res.send(401, 'unauthorized');
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: blackchoey

79456463

Date: 2025-02-21 06:10:56
Score: 4.5
Natty: 5
Report link

After a lot of browsing, I finally found the answer here - https://github.com/swagger-api/swagger-codegen/issues/5309#issuecomment-1572836790.

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

79456461

Date: 2025-02-21 06:10:55
Score: 2
Natty:
Report link

The problem there is the version of the elasticsearch container and the elasticsearch that made the snapshot. If the version of the one who did the snapshot is newer than the elasticsearch who wants to read the snapshot the second one won't be able to read the index right and won't recognize the snapshot, therefore, won't be recognized. Changing the version of the elasticsearch in the container solved the problem.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ignacio Ovidio Muñoz Nicolás

79456459

Date: 2025-02-21 06:09:55
Score: 1.5
Natty:
Report link

I Assume you are sending mail via a smtp client of your language programatically, I think the problem is for the mail client to process jsonld, the would require mail with DKIM or SPF authentication even for self-testing. Normally the mail sent from even gmail to gmail would ignore those headers. I suggest you send mail from register domain, which would have those authentication or send it from google testing tool AppScript

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

79456452

Date: 2025-02-21 06:05:55
Score: 2
Natty:
Report link

I am using the following method to make the icon larger.

.k-svg-icon.k-icon-xs {
    width: 20px;
    height: 20px;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Joe Ngan

79456443

Date: 2025-02-21 06:00:53
Score: 4
Natty:
Report link

if your still stuck please share the sabre body that you are using to hit the api and also the response when you have successfully created token

according to the 1st error i feel that your token wasnt set properly to hit the api and the body seems missing few paramaters

im not sure for the 2nd error but usually 3 month difference is allowed

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nada Mumtaz

79456438

Date: 2025-02-21 05:54:52
Score: 2
Natty:
Report link

Search ID can be literally anything you want. I never understood the meaning of it, neither i really punched my head against wall why it works.

Same goes for ACS devices. SearchID is any string. It has to be provided, but its your call what will u put

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

79456437

Date: 2025-02-21 05:54:52
Score: 2.5
Natty:
Report link

On which platform you are running the application like (Android, iOS, Windows, Linux, Web)?

See if its platform specific problem, i once had a problem with the app. I launched it on web and the firebase connectivity was ok but when i launched it on real android device the connection fails.

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

79456424

Date: 2025-02-21 05:45:50
Score: 1.5
Natty:
Report link

It's hard to understand why such basic HTTP server functionality is "outside of the scope of Boost::Beast". In any case, the examples for Asio do include a request parser, see for example, https://think-async.com/Asio/asio-1.30.2/src/examples/cpp11/http/server/request_parser.cpp (there are multiple HTTP server versions).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Joe Abbate