79164769

Date: 2024-11-07 01:41:56
Score: 1
Natty:
Report link

It might be the problem with your internet service provider. You can change mirror to download by selecting option "Problem Downloading" on SourceForge and then under "Choose a different mirror" select "Auto Select".

This method worked for me.

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

79164747

Date: 2024-11-07 01:21:52
Score: 2
Natty:
Report link

https://socketry.github.io/async/guides/asynchronous-tasks/index.html

I know this is an old question but, You may want to check this.

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

79164739

Date: 2024-11-07 01:15:50
Score: 2
Natty:
Report link

(IF YOUR NOT USING MAVEN) Well in this scenario you will need to download the JAR files in zip, extract it and later add the External JAR files in the 'build-path' under the 'Classpath' section. Download the slf4j-api JAR and slf4j-simple JAR from the given website, yeah its not secure but its safe I have used it to download these JAR files when I run into the same problem, http://www.java2s.com/

enter image description here

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

79164732

Date: 2024-11-07 01:10:49
Score: 2
Natty:
Report link

C sharp divides integers like a child. Throwing away any leftover fractional part. Simply cast the denominator as a double or a float and it will work the way you expect. When you divide by a constant integer remember to put a .0 after the integer to make it a double.

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

79164725

Date: 2024-11-07 01:06:48
Score: 3.5
Natty:
Report link

Update your platforms\android\cdv-gradle-config.json "SDK_VERSION":35 and "MIN_BUILD_TOOLS_VERSION":"35.0.0"

enter image description here

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

79164724

Date: 2024-11-07 01:05:48
Score: 0.5
Natty:
Report link

Sorry, the issue was with the semicolon in Google Spreadsheet. It has to be ;, not ,. So this one worked: =(IF(ISBLANK(C2);B2;C2)+E3)*(1+H2)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Legionar

79164719

Date: 2024-11-07 00:58:45
Score: 10 🚩
Natty: 5
Report link

Please help me 🙏😭 and I can feedback on this weekend to time do you want to URL and I didn't no idea please let me know 🥺

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): 🙏
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (3): Please help me
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ariel Florendo

79164704

Date: 2024-11-07 00:44:42
Score: 1.5
Natty:
Report link

Thanks for bringing this to our attention! It appears that due to a recent update to libphonenumber (which is used by Identity Verification to validate phone number input prior to attempting verification), the phone number for the Ben Wyatt test user no longer works. The team is looking at this issue to replace the phone number for Ben, but for right now, this test user cannot be used. (When Ben's number is updated, I'll edit this answer and leave a comment.)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Single line (0.5):
Posted by: Alex

79164703

Date: 2024-11-07 00:43:42
Score: 2
Natty:
Report link

Here's another possibility: if you use symlinks (symbolic link to a another file in your solution), and you delete the original file without getting rid of the link, you will get this error. You can delete the link in the .csproj file.

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

79164701

Date: 2024-11-07 00:43:42
Score: 0.5
Natty:
Report link

First, declare your gtag in the component:

declare var gtag;

Secondly, trigger your gtag conversion using your gtag id and label id (after your payment is successful):

makeAGoogleConversion(){
  gtag('event', 'conversion', {
    'send_to': 'AW-123456789/8a4588Tfd23646',
  });
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sheikh Wahab Mahmood

79164697

Date: 2024-11-07 00:42:42
Score: 1
Natty:
Report link

As of 2024-11-06, the accepted answer is outdated.

According to the same documentation linked in that answer (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.Copying.html), the updated command is:

aws rds copy-db-parameter-group \
    --source-db-parameter-group-identifier "${SOURCE_ID}" \
    --target-db-parameter-group-identifier "${TARGET_ID}" \
    --target-db-parameter-group-description "${TARGET_DESCRIPTION}"
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: andreswebs

79164693

Date: 2024-11-07 00:38:40
Score: 5.5
Natty:
Report link

React has its own built in environmental variable system. check this link for more.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tsogang Mosweswe

79164683

Date: 2024-11-07 00:29:38
Score: 2.5
Natty:
Report link

I faced the same issues. In the end it turned out some of my packages were using View Engine libraries, whose support was removed in angular 16 since the Angular Compatibility Compiler (ngcc) is removed in v16.

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

79164677

Date: 2024-11-07 00:27:37
Score: 1
Natty:
Report link

I was using custom font in angular 17, First I import custom font in style.scss and then i used the piece of code and just changed font variable in mat.define-typegraphy-config($font-family: '"custom_font_name"').

@use '@angular/material' as mat;

$open-sans-typography: mat.define-typography-config($font-family: '""');

@include mat.typography-hierarchy($open-sans-typography);

$app-theme: mat.define-light-theme(( typography: $open-sans-typography ));

@include mat.all-component-themes($app-theme);

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @use
  • User mentioned (0): @include
  • User mentioned (0): @include
  • Low reputation (0.5):
Posted by: MHK

79164675

Date: 2024-11-07 00:25:36
Score: 0.5
Natty:
Report link

This issue only occurs in Play Billing Library 7.1.1. It does not occur in Play Billing Library 7.0.0.

This issue has also been reported in the issue tracker, but there has been no official response yet.
[Play Billing Library 7.1.1] launchBillingFlow() does not work on Android 6 (Marshmallow)

As @Robert mentioned, Play Billing Library 7.1.1 seems to use classes available starting with Android 7 (Java 8).

Luckily, we have an Android 6 test device. We tested it by turning on the desugaring option in build.gradle.kts as below and confirmed that the issue is resolved.

I think this should be documented in the Play Billing Library 7.1.1 release notes.

build.gradle.kts

android {
    ...

    compileOptions {
        isCoreLibraryDesugaringEnabled = true
    }
}

dependencies {
    ...

    implementation( "com.android.billingclient:billing:7.1.1" )

    coreLibraryDesugaring( "com.android.tools:desugar_jdk_libs:2.1.2" )
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Robert
  • Low reputation (0.5):
Posted by: Blue Ocean

79164674

Date: 2024-11-07 00:25:36
Score: 1.5
Natty:
Report link

It sounds like updates can cause compatibility issues between Microsoft Edge and Power Automate Desktop. Here’s a troubleshooting suggestion: try using the Chrome browser instead, as it’s known to work smoothly with Power Automate.

To get started, install and activate the Chrome Power Automate Desktop extension. You can follow the instructions here: Dicas de Como Instalar a Ferramenta de RPA Power Automate. I apologize that this guide is in Portuguese, but you could translate it, and probably it should walk you through each step.

Switching to Chrome should help resolve the communication issue in your Power Automate flows!

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gabriel Braico Dornas

79164673

Date: 2024-11-07 00:24:36
Score: 1
Natty:
Report link

Since the mixin is not being applied correctly, a workaround is to call the mixin function directly:

await PlaybackMixin.playAsync.call(sound);

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

79164672

Date: 2024-11-07 00:24:34
Score: 7.5 🚩
Natty: 6
Report link

Did you figure out the answer. I am hitting the same problem and same error

Reasons:
  • RegEx Blacklisted phrase (3): Did you figure out the answer
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Cindy

79164671

Date: 2024-11-07 00:23:33
Score: 2
Natty:
Report link

I came across this issue very recently. This was fixed by changing the single quotation marks to double quotes!

'APPL' -> "APPL".

Not sure why this is the case, maybe someone else can share more information on the reason behind this!

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

79164661

Date: 2024-11-07 00:14:32
Score: 0.5
Natty:
Report link

According to the docs, you need to specify the types of pull requests you are opening.

   on:
     push:
       branches: [main]
     pull_request:
       types: [opened, reopened]
       branches: [main]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rafael Fernandes

79164645

Date: 2024-11-07 00:00:29
Score: 2
Natty:
Report link

Check out this simpler version.

x = eval(input("Enter a number: "))
s = 0
for i in range(1, x):
    if x % i == 0:
        s += i
        
print(s)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prince Mensah

79164638

Date: 2024-11-06 23:54:27
Score: 1
Natty:
Report link

inert attribute

$('.myLink').prop('inert', true);
.myLink {
  &[inert] { opacity: .5 }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KABA

79164635

Date: 2024-11-06 23:51:26
Score: 1
Natty:
Report link

It looks like you are missing trying to exchange userPlatform.authToken for a long-living token. However, you first need to update userPLatform.authToken with the value from tokenResponse.access_token. Or, just use it directly in your userLongLiveTokenApi request.

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

79164628

Date: 2024-11-06 23:47:26
Score: 1
Natty:
Report link

Like Kalindu, adding import "./index.scss" at the top of remote components is the simplest way to fix the issue for me.

My this index.scss is including:
    @tailwind base;
    @tailwind components;
    @tailwind utilities;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dominic Lee

79164619

Date: 2024-11-06 23:46:25
Score: 1
Natty:
Report link

Change the homepage name!!! I had similar problem - homepage not looking right missing images / modules. I (logged in)went into the template - homepage settings changed homepage to a completely different page with same modules and with different name , saved that setting and logged out, then viewed the new page on the browser(whilst logged out). The new page displayed correctly then (logged in )reset the homepage back to original and logged out and checked on browser. The original page now looked correct. So it is to do with cache(database , browser or otherwise) I think although I refreshed database etc the browser or database was referring to a previous version cached and not displaying the page correctly.

This is probably because my site was being developed and I was building and testing the page continuously (same thing on my mobile phone it was not displaying because I was also testing on that too). The homepage switch fixed that as well.

You could rename the page and that would trick/force the browsers/database to rewrite the final version which is basically what I did. I also tested on another computer prior and had noted similar problem even though the page had not even be loaded which leads me to believe that by switching between pages helped rewrite the data files correctly on the server end.

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

79164604

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

TL;DR: Wrap the dependency and stub your wrapper; don't try to stub the dependency.

The solution I found was to:

// My wrapper module, PubSub.ts
const pubSub = new PubSub()
export async function publishBytes(topicName: string, bytes: Uint8Array): Promise<void> {
    const topic = pubSub.topic(topicName)
    const data = Buffer.from(bytes)
    await topic.publishMessage({ data })
}

// My test code
import * as PubSub from "./PubSub"
sinon.spy(PubSub, "publishBytes")...
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Christopher Simmons

79164586

Date: 2024-11-06 23:27:20
Score: 5
Natty: 4
Report link

Windows server 2008 R2 Itanium 2 based problem is only two roles are available such iis web services and framework 3.5, impossible to promote as PDC active directory, DHCP, DNS, wins server services are not delivered, gprep tool on the dvd but what for? Discontinued product ok why Microsoft who knows everything didn't provide us development tools such c++ c# or importation toolbox why? Microsoft must pay for that. .iso can't be installed under virtual box on windows 11 64 bits why one more time?regards

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (0.5): why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thierry Trouillet

79164583

Date: 2024-11-06 23:27:20
Score: 0.5
Natty:
Report link

You didn't edit the following line to include the name of your .env file. I used the name virus_total.env

# load_dotenv will look for a .env file and if it finds one it will load the environment variables from it
load_dotenv("virus_total.env")

"""
/////  IMPORTANT  /////
ADD .env to gitignore to keep it from being sent to github
and exposing your API key in the repository
"""

In this .env file, you need a line as follows (as an example only):

API_KEY1="5da36e3aa622a8b6d81dd168334ef12379bdad4d1fa7f11ce3f75829ccc5e9ac"

You get this api key from your account on the virus total website.

Then, you will get the following result

python vt-ip-url-analysis.py -s google.com

                                                            google.com
community score      0/96  :  security vendors flagged this as mali...
last_analysis_date                            Wed Nov  6 16:04:21 2024
last_analysis_stats  {'malicious': 0, 'suspicious': 0, 'undetected'...
redirection_chain                                 [http://google.com/]
reputation                                                        2700
times_submitted                                                 200860
tld                                                                com
virustotal report    https://www.virustotal.com/gui/url/cf4b367e49b...
Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Charles Knell

79164582

Date: 2024-11-06 23:27:20
Score: 2
Natty:
Report link

Try Image hashing it creates a compact, fixed-length hash that represents an image's visual features. I have used it on images of BIOS it worked well in my case.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abad Sid

79164575

Date: 2024-11-06 23:23:18
Score: 2.5
Natty:
Report link

Debug is broken in the latest version of VS Code (1.95.1). (https://github.com/microsoft/vscode/issues/232651). You need to deactivate AutoUpdate and install the 1.94.2 version until they repaired it (1.95.2?)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Frédéric Chauvière

79164574

Date: 2024-11-06 23:23:18
Score: 3
Natty:
Report link

Thank you Glassy. changing it to function deactivate() worked for me

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

79164563

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

It turns out the original variable assignment was the problem. I should have used single quotes instead of double quotes. This code:

$Passwd = 'StringWith`Character'      # <-- entered by user
$new_pw = $Passwd.replace('`','``')
write-output "Passwd = $Passwd"
write-output "New_pw = $new_pw"

Produces this output:

Passwd = StringWith`Character
New_pw = StringWith``Character
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ken

79164559

Date: 2024-11-06 23:16:17
Score: 1
Natty:
Report link

I guess that each command creates its own shell, just like make does.

Try merging it into a single, ugly, line

cd $READTHEDOCS_OUTPUT/; pwd; ls -lt; cmake ..; make html; exit 0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paweł Wójcik

79164551

Date: 2024-11-06 23:15:16
Score: 2
Natty:
Report link

No, I don't think this is possible.

I've been trying to implement it for a few days because I have a code base I am refactoring to use ag-grid, which had previously used <ng-template to render its cell components. The most logical way to go about it would be to set a @viewChild() to bring the ng-template reference into the component layer and then set it as the cellRenderer of the column, but I have been unable to make this work.

I think we have to take the more long winded approach and set up Components with their own templates. They have pretty good documentation on how to do it (https://www.ag-grid.com/angular-data-grid/components/) and I was able to use the child to parent communication to reduce the amount of refactoring required to split ng-templates out to their own components.

I agree, it would be awesome if they add support for ng-template references for all the times we need relatively simple cell components.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @viewChild
  • Low reputation (1):
Posted by: Zane Geiser

79164548

Date: 2024-11-06 23:12:16
Score: 0.5
Natty:
Report link

To expand on Redim's answer - your code didn't work. Here I made it better:

from google.cloud import bigquery_datatransfer

transfer_client = bigquery_datatransfer.DataTransferServiceClient()
project_id = "your_project"
region_id = "your_region"
parent = transfer_client.common_location_path( project_id, region_id)
configs = transfer_client.list_transfer_configs(parent=parent)
print("Got the following configs:")
for config in configs:
    print(f"\tID: {config.name}, Schedule: {config.schedule}")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Franek Szczytnicki

79164547

Date: 2024-11-06 23:11:15
Score: 3.5
Natty:
Report link

Why not create a Context outside and import the in the App.js so that the child with useParams can consume the states

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why not
  • Low reputation (1):
Posted by: Hammed Sanni

79164531

Date: 2024-11-06 23:02:13
Score: 5
Natty:
Report link

Excellent explanation. Deklaration i the h and definition in the c file. https://youtu.be/Wqm1tSzmqkY?si=AgafuyCB6DnRnz2c

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jonas W

79164515

Date: 2024-11-06 22:58:12
Score: 1
Natty:
Report link

The HDF5 global lock is not shared across separate processes on a single machine. Each process that opens an HDF5 file has its own instance of the HDF5 library and thus maintains its own separate global lock. This means that the lock only applies within a single process and does not affect other processes accessing the same file.

So did you mean actual processes on the same OS or hardware machine? Or did you mean processes in shared memory such as multiple threads?

You mention later needing to write to two files in the same process, which is completely different that the first specification.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Richard Keene

79164508

Date: 2024-11-06 22:55:11
Score: 4.5
Natty:
Report link

Could any of you may help me another time? Thanks for the link, but it didnt brought me any further. I have tried to integrate Modelaniamtor and wanted to import ModelAnimator with import com.google.ar.sceneform.animation - didnt work. Do I need to change build.gradle? What do I need to chnage in the code? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: salomon

79164507

Date: 2024-11-06 22:55:11
Score: 1
Natty:
Report link

No, f-strings are of no use here.

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

79164505

Date: 2024-11-06 22:54:09
Score: 10 🚩
Natty: 5.5
Report link

I'm facing this same error in executing my spring-boot app.

I have already tried clearing the Maven repository and forcing updates with the -U switch, but the issue persists. This error prevents any Maven build from completing successfully. Does anyone have insights on what might be causing this issue or how to resolve it? Here are some of the environment settings and actions I've tried:

-Switching between Java JDK versions -Using different Maven versions -Clearing the .m2 repository -Running Maven with -X for debug output -No Blocks in firewall or Anti-Virus

Any suggestions or guidance from anyone would be greatly appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): I have already tried
  • RegEx Blacklisted phrase (1.5): how to resolve it?
  • RegEx Blacklisted phrase (2): Any suggestions
  • RegEx Blacklisted phrase (3): Does anyone have
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vishwanath Rajasekaran

79164503

Date: 2024-11-06 22:53:08
Score: 1.5
Natty:
Report link
last_month = df['month'].max()
excl = df[df['month']==last_month]['ID'].values
df[df.apply(lambda r: not r['ID'] in excl,axis=1)]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ThxAlot

79164502

Date: 2024-11-06 22:53:08
Score: 4
Natty:
Report link

The SslHostCertificateFingerprint was outdated and I used the new key and WINSCP continued to work as normal...Thanks

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

79164496

Date: 2024-11-06 22:50:08
Score: 1
Natty:
Report link

I had the same error except it was gwt-dev.jar that had the javax.xml.parsers class that was conflicting with the JRE. It was shown by using CTRL-SHIFT-T and typing javax.xml.parsers.

I opened the gwt-dev.jar in 7zip and removed the javax.xml.parsers folder and the error went away from my GWT project.

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

79164485

Date: 2024-11-06 22:42:06
Score: 1.5
Natty:
Report link

The SCIM endpoint must be internet-facing for use with the Entra provisioning service unless you use Entra's on-premises provisioning agent. The agent requires outbound internet connectivity and opens a connection to Entra, eliminating the need for inbound connections to be allowed. The agent also doesn't need to be on the same server as the application, as long as it has internal (intranet) network connectivity to the application.

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

79164481

Date: 2024-11-06 22:40:05
Score: 1
Natty:
Report link

Finally UNIX_TIMESTAMP worked and my column of type timestamp(3) can be cast to string

select myts_col,UNIX_TIMESTAMP(CAST(myts_col AS STRING)), CAST(myts_col AS STRING),DATE_FORMAT(myts_col,'yyyy-MM-dd HH:mm:ss') from mytable

mycol_ts    conv_col
2024-11-06 06:34:53.316 1730874893
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Faisal Ahmed Siddiqui

79164480

Date: 2024-11-06 22:40:05
Score: 1
Natty:
Report link

Have you tried to use appsrc element? https://gstreamer.freedesktop.org/documentation/app/appsrc.html?gi-language=c

You can add data from your RAM to an appsrc element using its signal need-data: https://gstreamer.freedesktop.org/documentation/app/appsrc.html#appsrc::need-data

There are many examples on how the appsrc element can be used. I suggest to look into the official GStreamer tutorial: https://gstreamer.freedesktop.org/documentation/tutorials/basic/short-cutting-the-pipeline.html?gi-language=c

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Lho

79164469

Date: 2024-11-06 22:31:03
Score: 2.5
Natty:
Report link

Rather than doing it through code, you can put the opacity of the button to zero and once someone touches that table or row anything, make it one for that time. This should solve your case.

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

79164464

Date: 2024-11-06 22:28:03
Score: 0.5
Natty:
Report link

The move semantics are too well explained in Rust Book. It's general concept, so if you read it you will also understand how move works in C++ and other languages. The one thing I will notice that in C++ there are no safety checks like in Rust.

Personally, I understood how move works in C++, Rust, etc. after reading these 2 sentences (I couldn't do it after reading dozens of articles on the topic of move in C++):

If you’ve heard the terms shallow copy and deep copy while working with other languages, the concept of copying the pointer, length, and capacity without copying the data probably sounds like making a shallow copy. But because Rust also invalidates the first variable, instead of being called a shallow copy, it’s known as a move.

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

79164459

Date: 2024-11-06 22:27:02
Score: 0.5
Natty:
Report link

I believe the issue is as Michael Logothetis suggested. You are having issues because of the %2F. Flask is automatically decoding the parameter you're passing as a string by default (see https://flask.palletsprojects.com/en/stable/api/#url-route-registrations). You can specify a converter to accommodate for the possibility that your string will include a / by using /getExposeIds/<path:cookie> as your endpoint.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zeta-Squared

79164454

Date: 2024-11-06 22:25:02
Score: 3
Natty:
Report link

I am struggling with Glue and Great Expectations. What version are you using? Did you just add it as %additional_python_modules great_expectations? I managed to do all steps, but in the end I get

"ConfigNotFoundError: Error: No great_expectations directory was found here!
    - Please check that you are in the correct directory or have specified the correct directory.
    - If you have never run Great Expectations in this project, please run `great_expectations init` to get started."

but i am running in glue notebook, so that's not an option.

Would you be so kind sharing your set up and some simple examples? Plase!!

Reasons:
  • Blacklisted phrase (1): I am struggling
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: kassy

79164446

Date: 2024-11-06 22:21:01
Score: 3
Natty:
Report link

simply disabling my vpn solved this issue for me

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

79164439

Date: 2024-11-06 22:18:00
Score: 1
Natty:
Report link

As of the 2023-09-28 release of Docker 4.24 Resource Saver is no longer a Feature in development as Alexander describes in his answer.

You can disable or configure Resource Saver in Docker Desktop for Windows (Mac is documented as the same) by going to Settings / Resources and then unchecking the Enable Resource Saver button

enter image description here

Source: Docker documentation on Resource Saver.

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

79164433

Date: 2024-11-06 22:11:59
Score: 4
Natty:
Report link
Cnt = CALCULATE( DISTINCTCOUNT( BRAND[pIn_nbr] ), ALLSELECTED( BRAND[pIn_nbr] ) )

enter image description here

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

79164432

Date: 2024-11-06 22:11:59
Score: 0.5
Natty:
Report link

Delete your existing sha1 keys from both firebase and Google Cloud Credentials and then just add the upload and signing sha1 keys from google play console. This should generate a new google-services.json. Use this to build the app bundle. This worked for me.

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sai Rohan Bangari

79164418

Date: 2024-11-06 22:01:56
Score: 2
Natty:
Report link

Thank you for everyones input. It helped me understand better how the SQL was calculating.

I was able to resolve my issue with overriding precedence using parenthesis as shown below.

SELECT (24/24*16.34+6) * 48 * 40 / 1728 as CUBIC_FT 
FROM ...
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mrdiu

79164410

Date: 2024-11-06 21:58:55
Score: 1.5
Natty:
Report link

Thanks for the tip! I was doing some work translating some Excel calculations that used Excel's IsError function and the Mid function. I had already replaced all the IfError functions in Access, with a combination of Iif and IsError, and was still getting the same #Func! error. It turns out, the Mid function in Access does not return a true error in the same way Excel does, but a zero, which kind of make sense but that was completely messing my original logic which as I mentioned came from Excel. In the end, I substututed this

Iif(IsError(Mid(Afield,Start,End)),AlternateValue,Mid(Afield,Start,End))

with this other formula

Iif(Mid(Afield,Start,End)=0,AlternateValue,Mid(Afield,Start,End))

This is a much more compact and easier to understand formula in Access, and it actually worked! All thanks for your answer that took 6 years to figure out! It is now another 6 years in 2024 when I am reading your comments, it is now my time to give something back. Thanks you very much!

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

79164407

Date: 2024-11-06 21:56:55
Score: 1
Natty:
Report link

The most straightforward way I could come up with is the join method for strings.

>>> a = ('x','y','z')
>>> print(f'{" ".join(a)}')
x y z

If your tuple elements aren't strings, they have to be converted (if possible).

>>> a = (0,-1,1)
>>> print(f'{" ".join(map(str, a))}')
0 -1 1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: moosemaimer

79164403

Date: 2024-11-06 21:55:54
Score: 1
Natty:
Report link

Not to self-promote, but you should take a look at my repository, unstatistical/engine. When I started this project, I was fairly new to Wayland and EGL development, but I believe that some code may still be relevant. Wayland code can be found in src/wayland.

I believe the best way to control window position is using a wl_region object. You can create a region using this function:

wlContext.region = wl_compositor_create_region(wlContext.compositor);

And then, you can set the window's position like so:

wl_region_add(wlContext.region, x, y, w, h);

Best of luck on your project.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: unstatistical

79164401

Date: 2024-11-06 21:54:54
Score: 2.5
Natty:
Report link

EDIT: original and not for stackoverflow simplified code to replace the string is:

$entry=preg_replace('/[^-a-z0-9_ßüÜöÖäÄßÜüÖöÄä_@:\.\, ]/i', '', $entry); 

and in my question i used this simplified code:

$entry = preg_replace( '/[^a-z0-9 ]/i', '', $entry );

That should do it, as gre_gor commented. So the problem is the not-simplified preg_replace above. Solved. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: babawo

79164399

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

If you wanted it to be all one element, you would definitely need an SVG. This question has roots in another question relating to masking/cutting out parts of an element. I've come up with a way to create the shape you have drawn in 2 div shapes wrapped under a div, based on the accepted answer to the previously stated question, but it currently relies on a fixed height and width. Each div is given a different color to differentiate between them:

:root {
  --rounding-factor: 20px;
}

body {
  margin: 20px;
}

#wrapperDiv {
  background-color: pink;
  height: calc(200px + var(--rounding-factor));
  width: 400px;
  position: relative;
}

#lDiv {
  position: absolute;
  top: var(--rounding-factor);
  width: 50%;
  height: 200px;
  border-top-left-radius: var(--rounding-factor);
  overflow:hidden;
  z-index: 1;
}


#lDiv::after {
  content: '';
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 200px;
  height: var(--rounding-factor);
  border-top-left-radius: var(--rounding-factor);
  box-shadow: 0px 0px 0px 2000px orange;
}

#rDiv {
  position: absolute;
  right: 0;
  width: 50%;
  height: 200px;
  border-bottom-right-radius: var(--rounding-factor);
  overflow:hidden;
  z-index: 1;
}


#rDiv::after {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  width: 200px;
  height: var(--rounding-factor);
  border-bottom-right-radius: var(--rounding-factor);
  box-shadow: 0px 0px 0px 2000px yellow;
}

#content {
  position: absolute;
  z-index: 2;
  width: 100%;
  top: var(--rounding-factor);
  height: calc(200px - var(--rounding-factor));
  background-color: rgba(100, 255, 200, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" href="style.css" />
  <title>Browser</title>
</head>

<body>
  <div id="wrapperDiv">
    <div id="lDiv">
    </div>
    <div id="rDiv">
    </div>
    <div id="content">
      <p>Some content here.</p>
    </div>
  </div>
</body>

</html>

Reasons:
  • Blacklisted phrase (1): another question
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BrodBlox09

79164390

Date: 2024-11-06 21:48:53
Score: 2
Natty:
Report link

the dx2 and dy2 may be wrong, d/dx of cos = - sin you have + sin

also check num_points as the cast to int might drop precision, or have other issues when it rounds up and down.

is "duration" defined in scope? as it is not listed on this page?

check your parametric equation and that your trig identities are correct.

best luck

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: tahir mehmet

79164382

Date: 2024-11-06 21:43:51
Score: 10.5
Natty: 8.5
Report link

Same issue here...any solutions?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1): Same issue
  • RegEx Blacklisted phrase (2): any solutions?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jr00n

79164380

Date: 2024-11-06 21:43:50
Score: 2
Natty:
Report link

As you suspected, events is the way to do this.

execution.events during past 7d
| summarize number_of_users = user.count() by context.device_platform 

Result example

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

79164377

Date: 2024-11-06 21:41:50
Score: 3.5
Natty:
Report link
                    <sandbox> 
           
       
      com.sandbox.system.stackoverflow 

<https://www.sanbox.com/privacy/page

/sandbox>

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: user28169554

79164373

Date: 2024-11-06 21:40:50
Score: 1
Natty:
Report link

Before throwing an exception, it would be interesting to ask some questions like : Do I only need a custom error to return to the user in a specific controller or endpoint ? Or do I have to set a consistent error responses across the API with centralizing error handling ?

Depending on the need, you can add or not exception throwing. So you have two approches :

1 - Returning a ResponseEntity with an Error Code Directly (for quick responses with minimal logic): lets say all we want is returning an error because we know that the response is not the right one :

@GetMapping("/example-failure")
    public ResponseEntity<String> getExampleFailure() {
        //Return a response of type String instead of MyResponseType.
        String response = "This is an invalid response";
        return new ResponseEntity<>(response, HttpStatus.NOT_ACCEPTABLE);
    }

2 - If you really need an exception handling knowing that exceptions are often reserved for truly exceptional cases or errors that need to propagate up the stack but can also be used for consistent error responses across your API.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @ControllerAdvice
  • Low reputation (1):
Posted by: redaclucard

79164356

Date: 2024-11-06 21:34:48
Score: 0.5
Natty:
Report link

The answer given by @Bob only returns the imaginary part of the transform. If you'd like to return a complex number (more similar to the scipy hilbert function), you can return a complex tensor like so.

def hilbert_transform(data):
    # Allocates memory on GPU with size/dimensions of signal
    data = torch.from_numpy(data).to('cuda')
    transforms = -1j * torch.fft.rfft(data, axis=-1)
    transforms[0] = 0;
    imaginary = torch.fft.irfft(transforms, axis=-1)
    real = data
    return torch.complex(real, imaginary)

This will play nicely with functions like torch.angle to get signal phase and torch.abs to get the envelope using both real and imaginary components.

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

79164351

Date: 2024-11-06 21:30:48
Score: 0.5
Natty:
Report link

Curl now has --etag-save and --etag-compare

https://curl.se/docs/manpage.html#--etag-compare

You should be able to use these together as of 7.70.0

curl --etag-compare etag.txt --etag-save etag.txt http://example.org

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

79164336

Date: 2024-11-06 21:22:46
Score: 1
Natty:
Report link

Well this is not strictly possible with RBAC from the docs :(

Note: You cannot restrict create or deletecollection requests by their resource name. For create, this limitation is because the name of the new object may not be known at authorization time. If you restrict list or watch by resourceName, clients must include a metadata.name field selector in their list or watch request that matches the specified resourceName in order to be authorized. For example, kubectl get configmaps --field-selector=metadata.name=my-configmap

https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources

I will try allowing create for any resource name, but restricting other verbs with resourceNames

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

79164332

Date: 2024-11-06 21:20:45
Score: 1.5
Natty:
Report link

Fully working example with Angular 18, custom fonts and no need of customize html toolbar of quill editor.

https://github.com/Samyssmile/quill-angular-example

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

79164325

Date: 2024-11-06 21:17:45
Score: 0.5
Natty:
Report link

Your destination needs to be a filename, not an existing folder. And, you need to specify a raw string as shown below:

for example:

url = "https://github.com/CharlesKnell/folder-display/blob/main/dist/folder_display_2.2.1.exe"
destination = r"C:\Users\charl\Downloads\folder_display_2.2.1.exe"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Charles Knell

79164315

Date: 2024-11-06 21:15:44
Score: 1.5
Natty:
Report link

Fully working example with Angular 18, custom fonts and no need of customize html toolbar of quill editor.

https://github.com/Samyssmile/quill-angular-example

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

79164292

Date: 2024-11-06 21:08:43
Score: 3
Natty:
Report link

I created a fully working example with Angular 18 and without need to customize html.

https://github.com/Samyssmile/quill-angular-example

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

79164286

Date: 2024-11-06 21:07:42
Score: 4.5
Natty: 5
Report link

Apple's tech site for all iPhones

https://support.apple.com/en-us/docs/iphone

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

79164269

Date: 2024-11-06 21:01:40
Score: 1
Natty:
Report link

So I believe you are missing the gist here by mentioning it. Lazy loading simply means, nothing will be worked upon until compute() function is called, which will then take care of execution.!

So you need to have all your logic in place, at the end you can call compute function.

If your data is too large, compute internally merges everything and brings the entire data into the caller, which may still kill you application, die to OOM, so better to use map_partions with compute, to write it into separate files or push output to some database.!

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

79164266

Date: 2024-11-06 21:00:40
Score: 0.5
Natty:
Report link

Solution to move async to the whole function in the callback:

mediaRecorderAudio.addEventListener("dataavailable", async (stream) => {
    // Send stream data while mediaRecorderAudio is active
       let blob = new Blob(stream.data, { type: "audio/ogg; codecs=opus" });
       let buffer = await blob.arrayBuffer();
       let data_to_send =  new Uint8Array(buffer);
       socket.emit('socket_audio',JSON.stringify(data_to_send))
});
mediaRecorderAudio.start(100);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: bazylevnik0

79164264

Date: 2024-11-06 21:00:40
Score: 0.5
Natty:
Report link

The crash is likely due to an unrecognised selected error, common when a method is called on an object that doesn't support it. Check your extensions or modifications to standard controllers, and ensure all objects are initialised properly. Also, confirm compatibility with any external libraries.

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

79164261

Date: 2024-11-06 21:00:40
Score: 3
Natty:
Report link

The problem is that this feature is only for premium and ultimate users as you can see here at the top

See how it looks

https://docs.gitlab.com/ee/ci/secrets/#use-vault-secrets-in-a-ci-job

Although I don't know why, but they left Free on this page, which made me confused too.

See how it looks https://docs.gitlab.com/ee/ci/secrets/

PS. Now in 17.+ versions you are not allowed to use CI_JOB_JWT, instead use id's https://docs.gitlab.com/ee/ci/yaml/index.html#id_tokens

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Данила Хлебоказов

79164248

Date: 2024-11-06 20:56:39
Score: 1.5
Natty:
Report link

The simplest correct answer is:

Get-Process SourceTree | Stop-Process -Force

"SourceTree" is a process name.

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

79164247

Date: 2024-11-06 20:55:38
Score: 3.5
Natty:
Report link

I finnaly solved it. I created a fully working git repository with Angular 18

https://github.com/Samyssmile/quill-angular-example

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

79164241

Date: 2024-11-06 20:52:38
Score: 2.5
Natty:
Report link

i got same error

3061' Too few parameters. Expected 2. anyone help me please

here is vb code

Private Sub Form_AfterUpdate()
On Error GoTo ErrorHandler

Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim calculatedSalesPercents As Double
Dim salesPercentsID As Variant

' Store the value of the SalesPercents control and calculate the result
calculatedSalesPercents = IIf([RePrice] = 0 Or [BDDUTY] = 0, 0, Round(1 - ([BDDUTY] / [RePrice]), 2))
salesPercentsID = Forms![Item Menu Suplier(03)]![SalesPercents]  ' Value from the SalesPercents textbox

' Set up the database and recordset
Set db = CurrentDb()
' Add the value from the SalesPercents textbox directly to the SQL statement
Set rs = db.OpenRecordset("SELECT * FROM ItemName WHERE ID = " & salesPercentsID, dbOpenDynaset)

' If a record is found, update it
If Not rs.EOF Then
    rs.Edit
    rs("SalesPercents") = calculatedSalesPercents
    rs.Update
End If

rs.Close
Set rs = Nothing
Set db = Nothing
Exit Sub

ErrorHandler: MsgBox "Error " & Err.Number & ": " & Err.Description End Sub

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2): help me please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmad

79164225

Date: 2024-11-06 20:47:36
Score: 0.5
Natty:
Report link

In addition to @Quentin's answer, this issue also occurs when the for attribute in your <label> element does not reference any <input>, or <select> element id

For example:

<label for="filter">Filter Options</label>
<select name="filter">
  <option value="asc">Ascending</option>
  <option value="desc">Descending</option>
  <option value="def">Default</option>
</select>

To fix this, make sure, the input or select element id matches with the for attribute.

Essentially:

<label for="filter">Filter Options</label>
<select name="filter" id="filter"> <!-- id="filter" now references for="filter" -->
  <option value="asc">Ascending</option>
  <option value="desc">Descending</option>
  <option value="def">Default</option>
</select>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Quentin's
  • Low reputation (0.5):
Posted by: Victor Eke

79164220

Date: 2024-11-06 20:46:36
Score: 4
Natty:
Report link

Unfortunately, there are no features like this. But you can try some plugins instead.

https://plugins.jetbrains.com/plugin/7793-markdown/versions/stable

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

79164214

Date: 2024-11-06 20:45:35
Score: 1.5
Natty:
Report link

try:

(sizeof(int16_t)

instead of

sizeof(uint16_t))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: john doe

79164206

Date: 2024-11-06 20:43:35
Score: 1
Natty:
Report link

I did exactly what you wrote : 60f346c11edf_venv/bin# systemctl status gunicorn.service × gunicorn.service - gunicorn daemon for Django project Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: en> Active: failed (Result: exit-code) since Wed 2024-11-06 21:35:51 CET; 1min 7s ago Main PID: 268969 (code=exited, status=200/CHDIR) CPU: 2ms

Nov 06 21:35:51 vps-etus-relizane systemd[1]: Started gunicorn daemon for Django proj> Nov 06 21:35:51 vps-etus-relizane systemd[268969]: gunicorn.service: Changing to the > Nov 06 21:35:51 vps-etus-relizane systemd[268969]: gunicorn.service: Failed at step C> Nov 06 21:35:51 vps-etus-relizane systemd[1]: gunicorn.service: Main process exited, > Nov 06 21:35:51 vps-etus-relizane systemd[1]: gunicorn.service: Failed with result 'e> lines 1-11/11 (END)

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

79164204

Date: 2024-11-06 20:43:35
Score: 2
Natty:
Report link

React Router has built-in support since v6.12.0 by enabling the v7_startTransition feature flag:

https://reactrouter.com/en/6.22.3/guides/api-development-strategy#react-router-future-flags

<BrowserRouter future={ { v7_startTransition: true } }>
  <Routes> ... </Routes>
</BrowserRouter>

//OR

<RouterProvider
  router={ router }
  future={ { v7_startTransition: true } }
/>
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ayhan Arif

79164169

Date: 2024-11-06 20:33:32
Score: 2.5
Natty:
Report link

well in my case there was empty brackets [] which then I removed and problem solved

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Zia Khan

79164161

Date: 2024-11-06 20:28:31
Score: 2
Natty:
Report link

I found the main reason. When I installed @twilio/conversations package, in its modals there were lots of unnecessary symbols so I just removed them, and patched those files.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Arman Grigoryan

79164157

Date: 2024-11-06 20:28:31
Score: 0.5
Natty:
Report link

In the end I wrote a js script in another file.

const ghpages = require('gh-pages');
const { execSync } = require('child_process');

try {
    const commitHash = execSync('git rev-parse HEAD').toString().trim();
    ghpages.publish('build', {
        dotfiles: true,
        message: `Deploying commit ${commitHash}`
    }, (err) => {
        if (err) console.error('Deployment error:', err);
        else console.log('Deployed successfully');
    });
} catch (error) {
    console.error('Error fetching commit hash:', error);
}

Called from package.json with:

"deploy": "node scripts/deploy.cjs"
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kauê Rodrigues

79164150

Date: 2024-11-06 20:25:30
Score: 3.5
Natty:
Report link

I was able to sort of solve this in an excel template by making the first sheet hold all rows, the second sheet uses excel formula to decide whether to keep an id/name. I'm not sure this is a robust solution, though, and it doesn't answer my question if my goal was to do it in one sheet, since I created a dependency on the data sheet rather than doing it in-place.

Does anyone have a suggestion for this as a single sheet only method?

here's how I did the two sheet method, note this is psuedocode since otherwise i'd need to attach the excel workbook

Dynamic List Sheet
A1.Comment = jx:each (items="data" var="row" lastCell="C2")
A2.Comment = jx:each(items="data" var="row" lastCell="C2")
A2.Value = ${row.ID}
B2.Value = ${row.NAME}
C2.Value = ${row.TERM}
Compute Sheet
A1.Comment = jx:each (items="data" var="row" lastCell="C2")
A2.Comment = jx:area(lastCell="C2")
A2.Formula=IF(COUNTIF('Dynamic list'!$A$2:A2, 'Dynamic list'!A2) > 1, "",  'Dynamic list'!A2)
B2.Formula=IF(COUNTIF('Dynamic list'!$A$2:B2, 'Dynamic list'!B2) > 1, "",  'Dynamic list'!B2)
C2.Formula='Dynamic list'!C2```
Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have a suggestion
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: zitot

79164143

Date: 2024-11-06 20:19:28
Score: 1
Natty:
Report link

I found the problem, a Promise have 3 state.

  • pending - The initial state of a promise.

  • fulfilled - The state of a promise representing a successful operation.

  • rejected - The state of a promise representing a failed operation.

and a promise can hold state of pending forever(until page exist and not closed) therefore codes after await Swal.fire... in above example, never run because that is always in pending state. (a bug that resolved in sweetalert version 11)

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MohammadMehdi.Takalloo

79164138

Date: 2024-11-06 20:18:28
Score: 1
Natty:
Report link

Figured it out!

foo <- <a gt_tbl object>

library(ggplot2)
library(ggplotify)
library(rsvg) #required to render SVG cells

foo_1 <- as_gtable(foo)
foo_2 <- as.ggplot(foo_1)
ggsave('path/to/file.png', foo_2)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rich Ard

79164125

Date: 2024-11-06 20:14:26
Score: 3.5
Natty:
Report link
SELECT Name, SUM(Marks) from table1 GROUP BY Name;  

Should do it?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: user2275460

79164118

Date: 2024-11-06 20:13:21
Score: 6.5 🚩
Natty: 6.5
Report link

have you found the solution? using same theme. I would like on product category page to show description, not overriding it with content block

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found the solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vytas

79164116

Date: 2024-11-06 20:13:19
Score: 6 🚩
Natty: 4
Report link

Também tive este problema! A solução que encontrei foi fazer o update do pacote log4net da versão 2.0.8 para versão 2.0.12, fiz também o update de todos os pacotes do crystal reports para ultima versão. Após isso reinstalei o SAP Crystal Reports Runtime conforme imagem.

Versões que instalei na minha máquina do SAP

Reasons:
  • Blacklisted phrase (2): solução
  • RegEx Blacklisted phrase (2): encontrei
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Romário Ferreira

79164101

Date: 2024-11-06 20:08:17
Score: 0.5
Natty:
Report link

The developers of kableExtra were able to resolve this issue. Details found here. add_header_above must be placed prior to kable_styling

---
title: "Test"
output: pdf_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
library(tidyverse)
library(knitr)
library(kableExtra)
```

Some text to anchor the first table.

```{r test-table}
tibble(col1 = rep("Random text", 80),
       n1 = 1:80,
       perc1 = 1:80,
       n2 = 1:80,
       perc2 = 1:80) %>% 
  kbl(col.names = c("Category", "n", "\\%", "n", "\\%"),
      caption = "Reproducible caption",
      longtable = TRUE, escape = FALSE, booktabs = TRUE, linesep = "") %>% 
  add_header_above(c(" " = 1,
                     "Group 1" = 2,
                     "Group 2" = 2)) %>%
  kable_styling(latex_options = c("HOLD_position", "repeat_header"),
                position = "left")
```
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jeff Hoover

79164089

Date: 2024-11-06 20:03:16
Score: 1
Natty:
Report link

I lost two hours in this problem and was solved using

collectionView.contentInset = .init(top: 1, left: 15, bottom: 1, right: 15)
    collectionView.scrollIndicatorInsets = .init(top: 1, left: 1, bottom: 1, right: 1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pedro Teloeken

79164072

Date: 2024-11-06 19:56:14
Score: 0.5
Natty:
Report link

I made a project that does exactly this, I put it on my github to take a look. https://github.com/LeonardoQueres/Integration-Docker---.NET---SQL-SERVER

In the program.cs file add the line of code below.

builder.Services.AddHttpsRedirection(options =>
{
    options.RedirectStatusCode = Status308PermanentRedirect;
    options.HttpsPort = 3001;
});

if (app.Environment.IsDevelopment())
{
    app.UseSwagger();
    app.UseSwaggerUI();

    var application = app.Services.CreateScope().ServiceProvider.GetRequiredService<ApplicationDbContext>();

    var pendingMigrations = await application.Database.GetPendingMigrationsAsync();
    if (pendingMigrations != null)
        await application.Database.MigrateAsync();
}

Update your dockerfile confirm the code below adding the migration lines.

FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER app
WORKDIR /app
EXPOSE 3000
EXPOSE 3001


FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["project/project.csproj", "project/"]
COPY ["Thunders_Repositories/Thunders_Repositories.csproj", "Thunders_Repositories/"]
COPY ["Thunders_Borders/Thunders_Borders.csproj", "Thunders_Borders/"]
COPY ["Thunders_UseCases/Thunders_UseCases.csproj", "Thunders_UseCases/"]
RUN dotnet restore "./project/project.csproj"
COPY . .
WORKDIR "/src/project"
RUN dotnet tool install --global dotnet-ef 
ENV PATH="$PATH:/root/.dotnet/tools"
RUN dotnet build "./project.csproj" -c $BUILD_CONFIGURATION -o /app/build
CMD dotnet ef database update --environment Development --project src/project_Repositories

FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "./project.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "project.dll"]

The code below belongs to docker-compose, update yours as needed.

services:
  project:
    environment:
      - ASPNETCORE_ENVIRONMENT=Development
      - ASPNETCORE_HTTP_PORTS=3000
      - ASPNETCORE_HTTPS_PORTS=3001
    container_name: project
    image: ${DOCKER_REGISTRY-}project
    build:
      context: .
      dockerfile: project/Dockerfile   
    ports:
      - "3000:3000"
      - "3001:3001"
    volumes:
      - ${APPDATA}/Microsoft/UserSecrets:/home/app/.microsoft/usersecrets:ro
      - ${APPDATA}/ASP.NET/Https:/home/app/.aspnet/https:ro
    networks:
      - compose-bridge
    depends_on:
      sqlserver:
        condition: service_healthy

  sqlserver:
    image: mcr.microsoft.com/mssql/server:2022-preview-ubuntu-22.04
    container_name: sqlserver    
    ports:
      - "1433:1433"
    environment:
      - SA_PASSWORD=passwork 'não pode ser uma senha fraca, sql nao funciona. nada de usar 123456 hehehehe'
      - ACCEPT_EULA= Y       
    volumes:
      - ./sqlserver/data:/var/opt/mssql/data
      - ./sqlserver/log:/var/opt/mssql/log   
    networks:
      - compose-bridge 
    healthcheck:
      test: /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "leoQueres123" -Q "SELECT 1" -b -o /dev/null
      interval: 10s
      timeout: 3s
      retries: 10
      start_period: 10s  

volumes: 
  sqlserver:

networks:
  compose-bridge:
    driver: bridge

I hope I helped.

Reasons:
  • Blacklisted phrase (1): não
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leonardo Queres

79164063

Date: 2024-11-06 19:53:13
Score: 3
Natty:
Report link

You should use default import of dynamic:

import dynamic from 'next/dynamic';

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

79164055

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

'''

Future<void> getLocation() async {
setState(() {
  _isLoading = true;
});

// Optimized location settings with reduced accuracy for faster fetching
LocationSettings locationSettings;
if (defaultTargetPlatform == TargetPlatform.android) {
  locationSettings = AndroidSettings(
    accuracy: LocationAccuracy.reduced,  // Using reduced accuracy for faster results
    forceLocationManager: true,
  );
} else if (defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.macOS) {
  locationSettings = AppleSettings(
    accuracy: LocationAccuracy.reduced,  // Using reduced accuracy for faster results
    activityType: ActivityType.other,
     // Reduced timeout since we expect faster response
  );
} else {
  locationSettings = LocationSettings(
    accuracy: LocationAccuracy.reduced,  // Using reduced accuracy for faster results
  );
}

try {
  // Check if location services are enabled
  bool serviceEnabled = await Geolocator.isLocationServiceEnabled();
  if (!serviceEnabled) {
    serviceEnabled = await Geolocator.openLocationSettings();
    if (!serviceEnabled) {
      setState(() {
        _isLoading = false;
      });
      AwesomeDialog(
        context: context,
        dialogType: DialogType.error,
        animType: AnimType.scale,
        title: 'Location Services Disabled',
        titleTextStyle: TextStyle(
          color: Color(0XFF0068B3),
          fontWeight: FontWeight.bold,
          fontSize: 16.sp,
        ),
        desc: 'Please enable location services to continue.',
        descTextStyle: TextStyle(
          color: Color(0XFF585F65),
          fontWeight: FontWeight.w500,
          fontSize: 12.sp,
        ),
        btnOkText: 'Open Settings',
        buttonsTextStyle: TextStyle(
          fontSize: 14.sp,
          color: Colors.white,
        ),
        btnOkColor: Colors.blue,
        btnOkOnPress: () async {
          await Geolocator.openLocationSettings();
        },
      ).show();
      return;
    }
  }

  // Check and request permissions
  LocationPermission permission = await Geolocator.checkPermission();
  if (permission == LocationPermission.denied) {
    permission = await Geolocator.requestPermission();
    if (permission == LocationPermission.denied) {
      setState(() {
        _isLoading = false;
      });
      AwesomeDialog(
        context: context,
        dialogType: DialogType.warning,
        animType: AnimType.scale,
        title: 'Location Permission Required',
        titleTextStyle: TextStyle(
          color: Color(0XFF0068B3),
          fontWeight: FontWeight.bold,
          fontSize: 16.sp,
        ),
        desc: 'Please grant location permission to use this feature.',
        descTextStyle: TextStyle(
          color: Color(0XFF585F65),
          fontWeight: FontWeight.w500,
          fontSize: 12.sp,
        ),
        btnOkText: 'Request Permission',
        buttonsTextStyle: TextStyle(
          fontSize: 14.sp,
          color: Colors.white,
        ),
        btnOkColor: Colors.blue,
        btnOkOnPress: () async {
          await getLocation();
        },
      ).show();
      return;
    }
  }

  if (permission == LocationPermission.deniedForever) {
    setState(() {
      _isLoading = false;
    });
    AwesomeDialog(
      context: context,
      dialogType: DialogType.error,
      animType: AnimType.scale,
      title: 'Location Permission Denied',
      titleTextStyle: TextStyle(
        color: Color(0XFF0068B3),
        fontWeight: FontWeight.bold,
        fontSize: 16.sp,
      ),
      desc: 'Location permission is permanently denied. Please enable it from app settings.',
      descTextStyle: TextStyle(
        color: Color(0XFF585F65),
        fontWeight: FontWeight.w500,
        fontSize: 12.sp,
      ),
      btnOkText: 'Open Settings',
      buttonsTextStyle: TextStyle(
        fontSize: 14.sp,
        color: Colors.white,
      ),
      btnOkColor: Colors.blue,
      btnOkOnPress: () async {
        await Geolocator.openAppSettings();
      },
    ).show();
    return;
  }

  // Try to get the last known location first
  Position? lastKnownPosition = await Geolocator.getLastKnownPosition(
    forceAndroidLocationManager: true,
  );

  if (lastKnownPosition != null ) {
    // Use last known position if it's recent
    latitude = lastKnownPosition.latitude;
    longitude = lastKnownPosition.longitude;
    print("lat and lon from lastknwnlocation ${latitude}${longitude}");
  } else {
    // Get current position with reduced accuracy settings
    Position position = await Geolocator.getCurrentPosition(
      locationSettings: locationSettings,
    );

    latitude = position.latitude;
    longitude = position.longitude;
    print("lat and lon from currentlocation ${latitude}${longitude}");
  }

  if (latitude != null && longitude != null) {
    await getCurrentPlace();
  } else {
    setState(() {
      _isLoading = false;
    });
    AwesomeDialog(
      context: context,
      dialogType: DialogType.error,
      animType: AnimType.scale,
      title: 'Location Not Found',
      desc: 'Unable to fetch your current location. Please try again.',
      btnOkText: 'Retry',
      btnOkColor: Colors.blue,
      btnOkOnPress: () async {
        await getLocation();
      },
    ).show();
  }
} catch (e) {
  print('Error fetching location: $e');
  setState(() {
    _isLoading = false;
  });
  // More specific error handling
  String errorMessage = 'Failed to fetch location. Please try again.';
  if (e is TimeoutException) {
    errorMessage = 'Location fetch is taking too long. Please check your GPS signal and try again.';
  }

  AwesomeDialog(
    context: context,
    dialogType: DialogType.error,
    animType: AnimType.scale,
    title: 'Error',
    titleTextStyle: TextStyle(
      color: Color(0XFF0068B3),
      fontWeight: FontWeight.bold,
      fontSize: 16.sp,
    ),
    desc: errorMessage,
    descTextStyle: TextStyle(
      color: Color(0XFF585F65),
      fontWeight: FontWeight.w500,
      fontSize: 12.sp,
    ),
    btnOkText: 'Retry',
    buttonsTextStyle: TextStyle(
      fontSize: 14.sp,
      color: Colors.white,
    ),
    btnOkColor: Colors.blue,
    btnOkOnPress: () async {
      await getLocation();
    },
  ).show();
} finally {
  setState(() {
    _isLoading = false;
  });
}

}

'''

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Ahamed habeeb