79518984

Date: 2025-03-19 02:33:46
Score: 2
Natty:
Report link

https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/s3-cross-region.html
Next, when you create your S3 client, enable cross-Region access as shown in the snippet. By default, access is not enabled.

S3AsyncClient client = S3AsyncClient.builder()
                                    .crossRegionAccessEnabled(true)
                                    .build();
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pyzhou

79518983

Date: 2025-03-19 02:32:45
Score: 1
Natty:
Report link

First, I see this question is tagged azure-web-app-service, but your question indicates you are not running the best practice method of running WordPress on App Service, which is by running the official Microsoft WordPress container image. Learn more about running WordPress on Azure using best practices here.

Second, to answer your question, I'm unable to tell if you're running an App Service with the PHP stack or as a virtual machine running in Azure. I'm thinking it must be a virtual machine.

Additionally, is there any option in the Azure Portal to modify the configuration so that I can apply chmod 755 and chmod 644?

If you truly are running an App Service, then your best option is to use Kudu. This will allow you to access SSH and have full access to the web app as you will be the root user. You will find 'Advanced Tools' on the left navigation under 'Developer Tools'. The URL will look similar to https://[your-app-service-name].scm.azurewebsites.net/. To access the new UI, which also provides a file editor for you, go to https://[your-app-service-name].scm.azurewebsites.net/newui.

By the sounds of you are already have SSH access. In which case it's hard to know what the issue could be without knowing:

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Sam Rueby

79518981

Date: 2025-03-19 02:30:44
Score: 8.5 🚩
Natty: 5.5
Report link

I met the same problem. Have you figured it out?

Reasons:
  • RegEx Blacklisted phrase (3): Have you figured it out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tao

79518980

Date: 2025-03-19 02:30:44
Score: 4.5
Natty:
Report link

I have fixed the issue by coming to this URL https://console.cloud.google.com/google/maps-apis/home?inv=1&invt=AbsaKA&authuser=0enter image description here

here you do this "hello world" and click on preview APIs

enter image description here

and then start playing with the code demo on jsfiddle and for some strange reason it enables the old "Places API" and start working everything

enter image description here

I have enabled it on here now that shows

enter image description here

there is something to do with "Places API" and "Places API (New)" https://console.cloud.google.com/google/maps-apis/apis/places-backend.googleapis.com/credentials

have a good evening and good luck troubleshooting this :)

Reasons:
  • Blacklisted phrase (1): good evening
  • Probably link only (1):
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luca

79518977

Date: 2025-03-19 02:29:43
Score: 3
Natty:
Report link

Try asking ChatGPT or Grok for your question, if it can help. A user who doesn't understand code but likes Who says, lol

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

79518972

Date: 2025-03-19 02:25:43
Score: 1.5
Natty:
Report link

show all ROLES granted to a USER:

postgres-# select roleid, rolname, usename, member  
postgres-# from pg_auth_members 
postgres-# join pg_roles on pg_roles.oid = pg_auth_members.roleid 
postgres-# join pg_user on pg_user.usesysid = pg_auth_members.member  
postgres-# where usename = '...' ;    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: daywalker

79518971

Date: 2025-03-19 02:24:42
Score: 1
Natty:
Report link

As others have mentioned in the comments there is no even remotely easy way to accomplish this with standard WinForms.

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

79518961

Date: 2025-03-19 02:10:40
Score: 1
Natty:
Report link
  1. Change the network from public to private

  2. Open port 5986 on the firewall by using the cmd

    netsh firewall add portopening TCP 5986 "WinRM over HTTP"
    
  3. Allow the remote machine "Remote_IP" as trusted host on the client by using cmd.

    winrm set winrm/config/client '@{TrustedHosts="Remote_IP"}'
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nmtinh

79518959

Date: 2025-03-19 02:05:39
Score: 1
Natty:
Report link

You need to initialize the Quill containers in the fetch method after the PartialView is loaded into the DOM. With jQuery.load, I had been initializing Quill in the PartialView. Google's AI Overview gave me the answer:

fetch('/your-partial-view-url')
      .then(response => response.text())
      .then(html => {
        document.getElementById('your-container').innerHTML = html;
        initializeQuill();
      })
      .catch(error => console.error('Error fetching partial view:', error));
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Momenee

79518945

Date: 2025-03-19 01:57:37
Score: 2.5
Natty:
Report link

I just fixed. It seems the current db is invalidate. I should try

  1. connect mysql without database

  2. then create a new database

  3. reconnect with new database

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ngô Tấn Điền

79518943

Date: 2025-03-19 01:56:37
Score: 1.5
Natty:
Report link

As of 2025, none of these above recommended solution work for me on Visual Studio 2022. When I click the properties of the project, it is empty. When I try to find it on menu, it does not exist on menu anymore. However, they do allow you to edit launch.vs.json by clicking Debug -> Debug and Launch settings for xxx, which allows you to pass an args parameter array. It works like a charm for me.

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

79518936

Date: 2025-03-19 01:51:37
Score: 2.5
Natty:
Report link

I personally did repair work using "sql server installation center" and it fixed my problems. Btw, I set my own instance name and id instead of relying on the one given by the default instance. I am not sure if it changes anything but thought would be useful.

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

79518926

Date: 2025-03-19 01:41:35
Score: 4.5
Natty:
Report link

enter image description here

please read the picture, you have some errors

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

79518924

Date: 2025-03-19 01:38:34
Score: 9 🚩
Natty: 6
Report link

I've been having this exact same issue. Did you end up finding a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you end up finding a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ModernNeesh

79518923

Date: 2025-03-19 01:37:33
Score: 0.5
Natty:
Report link

it seems it is a formal company

https://www.esplb.com/cms/page/1/privacy-policy.html this is its privacy policy.

and they support Paypal.I think safety is not a problem.

About the refund,you can use paypal,they support at least 90 days

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jim Zhang

79518922

Date: 2025-03-19 01:35:33
Score: 1.5
Natty:
Report link

You should use useGetMyNewCustomEndpointQuery instead of useGetMyNewCustomEndpoint ... notice the Query suffix.

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

79518916

Date: 2025-03-19 01:27:32
Score: 2
Natty:
Report link

Use the @drawable keyword followed by a slash and the name of the image. Example provided below. Again, this is for a LinearLayout in Android.

android:background="@drawable/hex_background"

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @drawable
  • Low reputation (1):
Posted by: James Allan

79518913

Date: 2025-03-19 01:25:31
Score: 3.5
Natty:
Report link

Wildcards can be useful for people who want to do complex stuff with their input.

Refer for examples -> https://jmespath.org/specification.html#wildcard-expressions
Play around with your input -> https://jmespath.org/tutorial.html

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

79518906

Date: 2025-03-19 01:16:28
Score: 9 🚩
Natty: 5.5
Report link

Did you find a solution to your problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to your problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to you
  • Low reputation (1):
Posted by: Júnior Michalski

79518902

Date: 2025-03-19 01:09:27
Score: 1
Natty:
Report link

In addition to JJuice's answer above, it is also required for the password text field to be on the same screen as a username/phone/email text field (and therefore in an AutofillGroup with it). It seems that if a password field exists on its own - even if wrapped in an AutofillGroup - iOS won't currently recognise it as a sign up form. This caused me an issue as the previous sign up flow for my app gave each text field its own screen, which is not uncommon.

I will also flag that Autofill Credential Provider was not required in my case to get this working. I believe this would only be required if you're building eg a third party password manager.

https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.developer.authentication-services.autofill-credential-provider

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

79518901

Date: 2025-03-19 01:09:27
Score: 2.5
Natty:
Report link

Pass the this flag on to gcc to disable this warning

-Wno-free-nonheap-object

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ramanan T

79518899

Date: 2025-03-19 01:07:26
Score: 0.5
Natty:
Report link

I believe simplesamlphp is meant for native php, and there's no direct documentation for laravel integration. What you can do is to find laravel compatible saml authentication library.

I think you can use this library if you want your laravel app to act as the IDP.

https://github.com/codegreencreative/laravel-samlidp

If you want your laravel app to act as the SP, then this library should work.

https://github.com/24Slides/laravel-saml2

I personally have used laravel-saml2 for microsoft Azure AD integration, and it works well, but I haven't tried the laravel-samlidp yet.

Regards,

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tatachiblob

79518898

Date: 2025-03-19 01:07:26
Score: 1
Natty:
Report link

There was a breaking change after WinSCP 6.1.2 causing MissingMethodException as a method was missing, but .NET optimisation had this used implicitly. So BizTalk 2016 can only be used up to this version. Later BizTalk 2020 CU6 has been recompiled with latest WinSCP without this removed method. CU6 uses WinSCP 6.3.5 by default, but later can be used with AssemblyRedirect also. The easiest is to not install WinSCP, but only copy the automation.zip contents into BizTalk installation folder. It can be confusing to install and have one version in GAC installed and other from automation.zip, especially with consultants, outsourcing vendors, different people involved. Even if not installed and you need to troubleshoot from the server with GUI, you can still use WinSCP.exe manually from extracted automation.zip.

Version matching information with different CUs are listed here:
https://learn.microsoft.com/en-us/biztalk/core/sftp-adapter

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

79518889

Date: 2025-03-19 00:53:24
Score: 5.5
Natty: 7
Report link

I’m running into an issue with my own project that seems you already fixed in yours and could use some guidance. Could you point me to the steps or resources you used to fork the Fantom network with Ganache? I’m trying to set up a local blockchain and swap FTM for CUSTOM COIN, but I’m stuck. Any help would be awesome—thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (1.5): m stuck
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Primea

79518886

Date: 2025-03-19 00:51:24
Score: 3.5
Natty:
Report link

Reinstala con composer eso me hizo poder correr tu codigo

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

79518878

Date: 2025-03-19 00:44:22
Score: 2.5
Natty:
Report link

You can check code templates in android studio settings (image below).

enter image description here

If its not there you can try restarting the SDK Manager or reinstalling the SDK. You could also try creating just a layout xml file (image below). If neither of those work, create a new file with a .xml extension, then copy and paste the template from https://developer.android.com/develop/ui/views/layout/declaring-layout (make sure the file is in the res/layout folder)

enter image description here

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

79518876

Date: 2025-03-19 00:43:22
Score: 3.5
Natty:
Report link

replace the path of xml file to default is src\main\resources

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

79518870

Date: 2025-03-19 00:36:21
Score: 2.5
Natty:
Report link

I used TCPView and couldn't find what application is holding the port 5432 yet i had PostgreSQL13 running on 5433 so i disconnected it, then changed the pg17 server port to be 5433 rather than 5432, it connected right away.

Only connect to one server at a time? maybe

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

79518867

Date: 2025-03-19 00:36:21
Score: 2
Natty:
Report link

The industry standards are:

  1. Maven: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
  2. Gradle: https://gradle.org/
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: AndrewL

79518864

Date: 2025-03-19 00:32:21
Score: 1.5
Natty:
Report link

ContentProvider actually has multiple signatures for the insert method. I suppose what's happening here is that Android is actually always calling the other override, which inside the Dart code is called insertWithExtras

I stumbled upon this when I were writing tests for the plugin - source

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

79518861

Date: 2025-03-19 00:26:20
Score: 1
Natty:
Report link

If you’re looking for a **simple and efficient way to manage Java packages**, I highly recommend checking out **[Cryxie](https://cryxie.com)**. It’s a lightweight tool designed specifically to simplify Java package management, and it’s been a game-changer for me.

Here’s why Cryxie stands out:

- **1-Click Deploy**: Deploy Java packages with just a single command – no more complicated setups.

- **Seamless Installation**: Install and update packages without worrying about dependency issues.

- **Developer-Friendly**: It’s intuitive, lightweight, and doesn’t require you to manually configure everything.

I’ve been using it for a few weeks now, and it’s saved me so much time and frustration. You can get started quickly by following their **[Getting Started Guide](https://cryxie.com/documentation/getting-started)**.

Give it a try – it might be exactly what you’re looking for!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eliézer Assunção de Paulo

79518860

Date: 2025-03-19 00:26:20
Score: 1.5
Natty:
Report link
from graphviz import Digraph

def crear_mapa_conceptual():
    dot = Digraph(format='png')
    dot.attr(rankdir='TB', size='10')
    
    # Nodo principal
    dot.node('MERCADO', shape='box', style='filled', fillcolor='lightblue')
    
    # Definición del mercado
    dot.node('Definición', 'Definición y Concepto', shape='ellipse', style='filled', fillcolor='lightgray')
    dot.edge('MERCADO', 'Definición')
    
    # Tipos de Mercado según Kotler
    dot.node('Tipos', 'Tipos de Mercado (Kotler)', shape='box', style='filled', fillcolor='lightgreen')
    dot.edge('MERCADO', 'Tipos')
    dot.node('Consumidores', 'Consumidores')
    dot.node('Productores', 'Productores')
    dot.node('Revendedores', 'Revendedores')
    dot.node('Gobierno', 'Gobierno')
    dot.node('Institucional', 'Institucional')
    dot.node('Internacional', 'Internacional')
    
    for tipo in ['Consumidores', 'Productores', 'Revendedores', 'Gobierno', 'Institucional', 'Internacional']:
        dot.edge('Tipos', tipo)
    
    # Segmentación del Mercado
    dot.node('Segmentación', 'Segmentación del Mercado', shape='box', style='filled', fillcolor='lightyellow')
    dot.edge('MERCADO', 'Segmentación')
    dot.node('Consumo', 'Mercado de Consumo')
    dot.node('Desarrollo', 'Mercado de Desarrollo')
    dot.edge('Segmentación', 'Consumo')
    dot.edge('Segmentación', 'Desarrollo')
    
    # Elementos del Mercado
    dot.node('Elementos', 'Elementos del Mercado', shape='box', style='filled', fillcolor='lightcoral')
    dot.edge('MERCADO', 'Elementos')
    
    elementos = ['Producto o Servicio', 'Vendedor', 'Comprador', 'Precio', 'Oferta', 'Demanda']
    for elem in elementos:
        dot.node(elem, elem)
        dot.edge('Elementos', elem)
    
    # Clasificación por Ámbito Geográfico
    dot.node('Geográfico', 'Clasificación Geográfica', shape='box', style='filled', fillcolor='lightpink')
    dot.edge('MERCADO', 'Geográfico')
    geografico = ['Local', 'Regional', 'Nacional', 'Internacional', 'Global']
    for geo in geografico:
        dot.node(geo, geo)
        dot.edge('Geográfico', geo)
    
    # Tipos de Competencia
    dot.node('Competencia', 'Tipos de Competencia', shape='box', style='filled', fillcolor='lightblue')
    dot.edge('MERCADO', 'Competencia')
    competencia = ['Perfecta', 'Monopolista', 'Imperfecta', 'Monopsonio']
    for comp in competencia:
        dot.node(comp, comp)
        dot.edge('Competencia', comp)
    
    # Generar el diagrama
    dot.render('mapa_conceptual_mercado')
    print("Mapa conceptual generado como 'mapa_conceptual_mercado.png'")

crear_mapa_conceptual()
Reasons:
  • Blacklisted phrase (2): crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ramírez Pérez Kennia

79518858

Date: 2025-03-19 00:22:19
Score: 2
Natty:
Report link

You have to use the android:text property.

android:inputType="text"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: James Allan

79518850

Date: 2025-03-19 00:17:18
Score: 2.5
Natty:
Report link

Shouldn't the label be followed by lower case QMName or user normally? E g:
ibmwebspheremqqm1 (sample for server QM1)
ibmwebspheremqmyuser (sample for client MyUser)

I had issues with this and it seems IBM MQ.NET client wants to use TLS 1.0 cipher by default even though it is running on Windows 2019 (client) and Windows 2022 (IBM MQ server) where only TLS 1.2 is enabled in registry. My channel was set to use "ANY_TLS12_OR_HIGHER" also. My application had automatic negotiation so I couldn't change the CipherSpec. I re-enabled TLS 1.0 in registry and I created a new server-connection channel with "ANY" SSL setting and I set these registry keys on both client and server to find out more (I don't recommend to use TLS 1.0 other than during troubleshooting):

AMQ_TLS_V1_ENABLE=1 | TRUE

AMQ_TLS_WEAK_CIPHER_ENABLE=ALL

Then it started to work and by default it was using "TLS_RSA_WITH_AES_256_CBC_SHA" cipher.

You can see the current CipherSpec used on all channels with this command :
-----
runmqsc.exe QM1
DISPLAY CHSTATUS(*) SSLCIPH
-----

I have tested with latest 9.4.0.10 and 9.3.0.27 client versions (Windows 2019) against IBM MQ 9.3.5.0 and 9.4.2.0 servers (Windows 2022).

I also have .NET registry set to use strong crypto, but this includes some more secure TLS 1.0 ciphers as well, so not avoiding TLS 1.0.

My remaining questions:
Why is IBM MQ.NET managed client trying to use the least secure by default?

Why does it try to use TLS 1.0 ciphers when TLS 1.0 server and client are blocked in Windows registry? (HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0)

Why is IBM MQ.NET managed client not negotiating TLS 1.2 connection automatically when my channel SSL is set to "ANY_TLS12_OR_HIGHER"?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: r4v3n6

79518835

Date: 2025-03-18 23:59:15
Score: 4.5
Natty: 6.5
Report link

You are an idiots with grand XY-troubles. Question was: how to show .hta file from .html w/o downloading it. Author didn't ask You about accessibility hta in browser - he did ask HOW TO DO? I develop .hta application and need normal simple and lightaccesible instrument for debug interface part. I need load/reload .hta in browser w/o rename file into .html each time for debugging. Can anybody reset youself brains from narcissism mode to work state and simply answer for question?

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Александров Александр

79518821

Date: 2025-03-18 23:43:12
Score: 1
Natty:
Report link

In VS 2022, I found the selection in the Properties of DLL which was unable to be debugged.

Properties, Build, General, "Debug symbols"

enter image description here

In my case, initially "No symbols are emitted" was selected.

Changing that option to "PDB file, current platform" solved my particular problem. I am not sure why it was set to "No symbols are emitted".

The value is stored for .NET Framework in the .csproj file, under the DebugType entry, and there can be an entry for Debug, and for Release builds.

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

79518804

Date: 2025-03-18 23:28:09
Score: 3
Natty:
Report link

Uncheck both of the 'Send message' options after clicking on edit button for your knowledge sources.

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

79518798

Date: 2025-03-18 23:21:08
Score: 2.5
Natty:
Report link

https://www.facebook.com/obsaa.ahmed.75470Resolved: Ad Library

Feb 24, 2025

Resolved icon

Resolved

chevron

Feb 24 2025 9:12 PM GMT+3: Resolved

We've recovered from an issue impacting the Ad Library. Thank you for your patience, and we apologize for the inconvenience.

Feb 24 2025 8:21 PM GMT+3: Some disruptions

We are aware of an issue with the Ad Library. Our teams are working to address the issue, and we apologize for any inconvenience.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: dg bfj

79518795

Date: 2025-03-18 23:18:07
Score: 2
Natty:
Report link

I was having the same issue until I found this article. It explains how to use property binding in runtime.

So I went ahead and used the same idea:

  1. Add a new parameter to your report with the deployed path (I had to do this to avoid dealing with deployment issues with report designs, so I have a property bound to the deployment profile in maven to do the trick)

  2. Use that parameter on the Property binding tab in the Data Source

  3. Now it works on both the IDE and tomcat

I hope this works for you as well.

enter image description here

Reasons:
  • Blacklisted phrase (1): this article
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ElLicido

79518791

Date: 2025-03-18 23:14:06
Score: 2.5
Natty:
Report link

300 ms × 20 times = 6000 ms, which exceeds the default TWDT timeout of 5000 ms. This will trigger the panic handler and cause a restart. Please check the TWDT documentation in the ESP-IDF or simply increase the timeout value to 7000 ms.

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

79518788

Date: 2025-03-18 23:10:05
Score: 4.5
Natty:
Report link

The answer is in the other post provided by @l3l_aze in the comment: I fetched an html page with linked jS files in the and that was the source of this problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @l3l_aze
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3196181

79518769

Date: 2025-03-18 22:59:03
Score: 5.5
Natty: 3
Report link

create unforgettable travel experience by offering luxury tours and engaging shores journeys.if you interested in this please let us know here https://www.kairosoceancruiseline.com/

Reasons:
  • RegEx Blacklisted phrase (2.5): please let us know
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Babar khan

79518766

Date: 2025-03-18 22:57:02
Score: 1.5
Natty:
Report link

I had the same issue. I found out that my current subscription (me as a customer) payment was alipay - and that is not supported for portal subscription switching. I changed the payment method to credit card and the subscription update button appears.

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

79518765

Date: 2025-03-18 22:55:02
Score: 3
Natty:
Report link

You should use ActivityCompat.requestPermissions() with an array of permissions to request permissions, it is likely that only one of your permissions is being granted.

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

79518760

Date: 2025-03-18 22:52:01
Score: 2.5
Natty:
Report link

I've managed to integrate Deepgram into my react-native expo app using the code I've shared in the blog post — https://denieler.com/blog/deepgram-integration-react-native. Hope it will help somebody to waste less time than I did 🙇‍♂️

Reasons:
  • Whitelisted phrase (-1): Hope it will help
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: denieler

79518759

Date: 2025-03-18 22:52:01
Score: 1
Natty:
Report link

Have you tried "strict": true for the compiler options? Im new to Ts also but this is how i have my projects set up at the tsconfig.json

   {
  "compilerOptions": {
    "target": "ES2017",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "paths": {
      "@/*": ["./src/*"]
    }
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules"]
}
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1.5): Im new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user12577611

79518756

Date: 2025-03-18 22:46:00
Score: 5.5
Natty: 5
Report link

I was reading through the thread as part of my research project on enhancing Intelligent Traffic Management Systems (ITMS). Given that the K-Nearest Neighbors (KNN) algorithm is one of the nine used for Traffic Flow Prediction, I believe its ability to predict future values based on the similarity to nearby data points could significantly contribute to improving ITMS. Is it possible to make the prediction process even faster?

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Madison Wisdom II

79518754

Date: 2025-03-18 22:42:59
Score: 4.5
Natty:
Report link

You can't use ScreenUpdating but there is a work around if you hide your "reporting" sheet. You can find the solution here: Equivalent of “ScreenUpdating” in Google Apps Script (equivalent VBA-GAS )

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

79518733

Date: 2025-03-18 22:16:55
Score: 4
Natty:
Report link

code look fine issue might be somewhere else

here is sandbox I tried https://codesandbox.io/p/devbox/peaceful-wing-7k654w?workspaceId=ws_Q5TTAYWhq3YSybYKpigpM8

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

79518729

Date: 2025-03-18 22:13:53
Score: 8.5 🚩
Natty: 4
Report link

Hey did you find out how to do this? I'm having the same issue trying to move an item to a drop list which i change from display : none to display : block, however the drop event isn't being triggered

Reasons:
  • RegEx Blacklisted phrase (3): did you find out
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Conor O'Malley

79518727

Date: 2025-03-18 22:11:53
Score: 2.5
Natty:
Report link

I'm running into the same problem. I think this is because serve uses buildTarget to depend on build, which is an Angular executor argument that is unaware of Nx's dependsOn properties. It's not an "Nx executor", it's an Angular one. You'd have to specify a (seemingly redundant) chain of dependsOn in both build and serve to have it "fall through" like this.

Unfortunately, e2e is often configured a similar way, with a devServerTarget executor argument that points to serve. So it seems like in a regular app you'd even have to specify a dependsOn chain up to three levels.

Did you figure out any alternative to this? I'm unsure about reporting it as an issue to Nx because it seems like it's "as designed".

Reasons:
  • RegEx Blacklisted phrase (3): Did you figure out any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: MattTreichel

79518722

Date: 2025-03-18 22:06:52
Score: 1
Natty:
Report link

Loosely speaking, converting the camera coordinates to real-world coordinates allows you to locate the UAV relative to the camera position. You know the LEDs are 400mm apart along a shared edge, so you can scale the pixel distance in your imaging to that distance.

Depending on how much detail/nuance you desire to introduce, you may wish to take the orientation of the UAV into account if it is not oriented perpendicularly to the ray between the UAV and camera.

To locate the distance away from the camera, you will need to know the angle subtended between the rays of neighbouring LEDs. If you know the FOV information of your camera, you should be able to calculate this angle and use trigonometry to calculate the distance between the camera and UAV.

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

79518720

Date: 2025-03-18 22:03:51
Score: 2
Natty:
Report link

Im not sure if this will help....But i was having the same issue with in-app purchases not allowing me to check the "Multi-quantity" checkbox when i was setting up a new item, it was like it was disabled. The solution for me was simple. YOU have to setup a pricing template then when you edit or add a new item simply select the pricing template you made and the check box becomes available

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

79518708

Date: 2025-03-18 21:50:49
Score: 1
Natty:
Report link

update your jest configuration to

 "jest": {
    "preset": "jest-expo",
    "testEnvironment": "jsdom" <--
  },
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matheus Santos Araújo

79518704

Date: 2025-03-18 21:49:49
Score: 2.5
Natty:
Report link

This can also be broken (and mitigated by) this:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/certificates-and-public-key-infrastructure-pki/dpapi-masterkey-backup-failures

When the issue described in that article exists, then the PowerShell call to [System.Security.Cryptography.ProtectedData]::Protect will fail.

Applying the registry change in the article enables that call to succeed again.

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

79518686

Date: 2025-03-18 21:35:46
Score: 1
Natty:
Report link

I was having same problem - to set custom order of attributes.
I am syncing data with external source over API. Fortunately for me, I was able to delete all attributes on products (not attributes themselves) and resync it again.
Order of attribute array as I filled product was also visible order in wp eshop detail page.

I haven't found any plugin or solution for ordering attributes list. It's designed to be reordered on product.

Hint: I had to delete attributes by setting it to empty array, and then update product with ordered attribute array (update was not enough).

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

79518679

Date: 2025-03-18 21:32:45
Score: 0.5
Natty:
Report link

From the docs:

public static ProfileCredentialsProvider create(String profileName)

Create a ProfileCredentialsProvider using the given profile name and ProfileFile.defaultProfileFile(). Use builder() for defining a custom ProfileCredentialsProvider.

Parameters:

profileName - the name of the profile to use from the ProfileFile.defaultProfileFile()

See: ProfileCredentialsProvider.html#create(java.lang.String)

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

79518674

Date: 2025-03-18 21:26:44
Score: 1
Natty:
Report link

As @cyanfish mentioned in comment section, "it's vital that the bottom CYGTLS_PADSIZE bytes of the stack are not in use before you call cygwin_dll_init()". I have tried to reserve those bytes via stackalloc and it seems to work.

IntPtr pcygwin = LoadLibrary("cygwin1.dll");
IntPtr pcyginit = GetProcAddress(pcygwin, "cygwin_dll_init");
Action init = (Action)Marshal.GetDelegateForFunctionPointer(pcyginit, typeof(Action));

var thread = new Thread(() => {
    unsafe {
        var bytes = stackalloc char[8096];
        init();
        
        // Now I can freely call functions from cygwin1.dll
    }
}, Int.MaxValue);

thread.Start();
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @cyanfish
  • Low reputation (1):
Posted by: malevrovich

79518638

Date: 2025-03-18 21:07:40
Score: 0.5
Natty:
Report link

Yes, use Dtos. Here is a common practice example:

    @Test
    void PersonController_FindPersonById() throws Exception {

        PersonDto personDto = new PersonDto(null, "John", "Doe", 28, null);

        long personId = 1;

        when(personService.getPersonById(personId)).thenReturn(personDto);

        ResultActions response = mockMvc.perform(get("/person/1")
                .contentType(MediaType.APPLICATION_JSON)
                .content(objectMapper.writeValueAsString(personDto))
        );

        response.andExpect(MockMvcResultMatchers.status().isOk())
                .andExpect(MockMvcResultMatchers.jsonPath("$.firstname", CoreMatchers.is(personDto.firstname())))
                .andExpect(MockMvcResultMatchers.jsonPath("$.lastname", CoreMatchers.is(personDto.lastname())))
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Klaus Weimer

79518636

Date: 2025-03-18 21:06:39
Score: 9.5 🚩
Natty: 4
Report link

Did you find a solution to this problem? I am facing the same issue. The only thing I have changed is the agent IP, and as you said, the error occurs randomly...

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution to this problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution to this
  • Low reputation (1):
Posted by: Lili Kami

79518629

Date: 2025-03-18 21:00:37
Score: 1
Natty:
Report link

You aren't allowed to remove the Banner.

It is for development purposes only and should not be used in production.

This is there to prevent commercial use, since Maps3D isn't launched yet (It's Experimental) and usage on it is not being charged either.

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

79518622

Date: 2025-03-18 20:58:37
Score: 2
Natty:
Report link

Conceptually, Apache Kafka and Event Hubs are very similar.

They're both partitioned logs built for streaming data, whereby the client controls which part of the retained log it wants to read.

The following table maps concepts between Apache Kafka and Event Hubs.

enter image description here

Source: https://learn.microsoft.com/en-us/azure/event-hubs/azure-event-hubs-apache-kafka-overview

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

79518618

Date: 2025-03-18 20:56:36
Score: 0.5
Natty:
Report link

So, two things solve this: adding this to forge.config.cjs:

rebuildConfig: { force: true, }, 

and adding a redo script between rebuild and make:

npm run build; 
npm run rebuild; 
npm run redo; 
npm run make; 

package.json:

"redo": "rm -rf node_modules/macos-alias/build && rm -rf node_modules/sqlite3/build && npm rebuild macos-alias && npm rebuild sqlite3"

(I was also having trouble with macos-alias throwing a fit saying it was compiled with a different version of node.)

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

79518616

Date: 2025-03-18 20:56:36
Score: 3
Natty:
Report link

Just type "exit" in PowerShell window!

Voilà

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

79518596

Date: 2025-03-18 20:40:33
Score: 1
Natty:
Report link

I used VSCode's built in "Paste as Text" without needing to turn on format on paste. I actually just ended up changing my Ctrl + V keybinding to Paste as Text by default. In the rare cases that I need to paste anything verbatim, I'll run the regular Paste command.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Elijah

79518595

Date: 2025-03-18 20:40:33
Score: 3
Natty:
Report link

My project is not using typescript, it is using cypress with javascript, but cypress-xpath not recognize. Will that work for same?

since the package.json has key "types": "src" and the index.d.ts is in that folder.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29988611

79518594

Date: 2025-03-18 20:38:32
Score: 1
Natty:
Report link

Fifteen year after the original post, I just published an Apache module to handle resizing "on-the-fly" with libvips.

You can have a look at https://ppomes.github.io/mod_image_resize/

This is simple, I do not have feedback yet, but it is working for me (however, consider it as alpha)

Hope this helps!
Pierre

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pierre POMES

79518584

Date: 2025-03-18 20:30:30
Score: 0.5
Natty:
Report link

You may try:

=LET(a, COUNTIF(Sheet1!B1:B, "Rey"),
     b, COUNTIFS(Sheet1!B1:B, "Rey", Sheet1!C1:C,"invalid"),
     c, COUNTIFS(Sheet1!B1:B, "Rey", Sheet1!C1:C,"valid"),
     VSTACK(a,b,c)) 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gyul

79518576

Date: 2025-03-18 20:26:29
Score: 2
Natty:
Report link

Good afternoon, has anyone managed to use the SDK to print? I followed the examples in the documentation and managed to record the magnetic strip. I generated a bitmap with what I want to print on the front of the card. However, the printer does not print. The code returns OK.

I tested the printing on Evolis Premium Suite 2 and CardPress, and the printing works without problems on both.

Check the class that does the printing...

C# code:

using Evolis;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Text; // Adicionado para Path.GetFullPath

namespace EvolisPrinter
{
    public class CardImpre
    {
        public static bool ImpressorasOk()
        {
            var devices = Evolis.Evolis.GetDevices();

            var selected = -1;

            for (int i = 0; i < devices.Count; ++i)
            {
                if (selected == -1 || (!devices[selected].isOnline && devices[i].isOnline))
                {
                    selected = i;
                }
            }
            if (selected >= 0)
            {
                return devices[selected].isOnline;
            }

            return false;
        }
        public static string GeraVerso(string nome, string numero)
        {
            numero = AdicionarEspacos(numero);
            // Defina o tamanho da imagem
            int largura = 800;
            int altura = 600;

            // Crie um novo bitmap com o tamanho definido
            Bitmap bitmap = new Bitmap(largura, altura);

            // Crie um objeto Graphics para desenhar no bitmap
            using (Graphics graphics = Graphics.FromImage(bitmap))
            {
                // Defina a cor de fundo (branco)
                graphics.Clear(Color.White);

                // Defina a fonte e a cor do texto
                Font fonte = new Font("Courier New", 42);
                Font fonteNegrito = new Font("Courier New", 44, FontStyle.Bold);
                Brush corTexto = new SolidBrush(Color.Black);

                // Calcule a posição para o nome (alinhado à esquerda, acima do número)
                SizeF tamanhoNome = graphics.MeasureString(numero, fonte);
                float posicaoXNome = 25; // Alinhado à esquerda com margem de 20 pixels
                float posicaoYNome = (altura * 3 / 4) - tamanhoNome.Height / 2; // Metade inferior

                // Desenhe o nome no bitmap
                graphics.DrawString(nome, fonte, corTexto, posicaoXNome, posicaoYNome);

                // Calcule a posição para o número (metade inferior, alinhado à esquerda)
                SizeF tamanhoNumero = graphics.MeasureString(nome, fonteNegrito);
                float posicaoXNumero = 25; // Alinhado à esquerda com margem de 20 pixels
                float posicaoYNumero = posicaoYNome - tamanhoNome.Height - 5; // Acima do número com espaçamento de 5 pixels

                // Desenhe o número no bitmap
                graphics.DrawString(numero, fonte, corTexto, posicaoXNumero, posicaoYNumero);


            }

            // Salve o bitmap como um arquivo .bmp
            string caminhoArquivo = "imagem_gerada.bmp";
            bitmap.Save(caminhoArquivo, ImageFormat.Bmp);

            return Path.GetFullPath(caminhoArquivo);
        }
        public static string GeraFront(string nome, string numero)
        {
            numero = AdicionarEspacos(numero);
            // Defina o tamanho da imagem
            int largura = 800;
            int altura = 600;

            // Crie um novo bitmap com o tamanho definido
            Bitmap bitmap = new Bitmap(largura, altura);

            // Crie um objeto Graphics para desenhar no bitmap
            using (Graphics graphics = Graphics.FromImage(bitmap))
            {
                // Defina a cor de fundo (branco)
                graphics.Clear(Color.White);

                // Defina a fonte e a cor do texto
                Font fonte = new Font("Arial Black", 42);
                Font fonteNegrito = new Font("Arial Black", 46, FontStyle.Bold);
                Brush corTexto = new SolidBrush(Color.Black);

                // Calcule a posição para o nome (alinhado à esquerda, acima do número)
                SizeF tamanhoNome = graphics.MeasureString(numero, fonte);
                float posicaoXNome = 25; // Alinhado à esquerda com margem de 20 pixels
                float posicaoYNome = (altura * 3 / 4) - tamanhoNome.Height / 2; // Metade inferior

                // Desenhe o nome no bitmap
                graphics.DrawString(nome, fonte, corTexto, posicaoXNome, posicaoYNome);

                // Calcule a posição para o número (metade inferior, alinhado à esquerda)
                SizeF tamanhoNumero = graphics.MeasureString(nome, fonteNegrito);
                float posicaoXNumero = 25; // Alinhado à esquerda com margem de 20 pixels
                float posicaoYNumero = posicaoYNome - tamanhoNome.Height - 5; // Acima do número com espaçamento de 5 pixels

                // Desenhe o número no bitmap
                graphics.DrawString(numero, fonte, corTexto, posicaoXNumero, posicaoYNumero);


            }

            // Salve o bitmap como um arquivo .bmp
            string caminhoArquivo = "imagem_gerada.bmp";
            bitmap.Save(caminhoArquivo, ImageFormat.Bmp);

            return Path.GetFullPath(caminhoArquivo);
        }

        public static bool ImprimeCartoes(List<Card> cartores)
        {
            if (!cartores.Any()) return false;
            var devices = Evolis.Evolis.GetDevices();
            if (devices.Any())
            {
                Connection co = new Connection(devices.Find(x => x.link == ConverterStringParaLink("USB")).name);
                if (co.GetInfo(out PrinterInfo pi))
                {
                    Console.WriteLine("> Printer info:");
                    Console.WriteLine("-   Name: {0}", pi.name);
                    Console.WriteLine("-   Model: {0}", pi.model);
                    Console.WriteLine("-   Serial number: {0}", pi.serialNumber);
                    Console.WriteLine("-   Duplex printer: {0}", pi.hasFlip ? "yes" : "no");
                    Console.WriteLine("-   ...");
                }
                else
                {
                    Console.WriteLine("> Error: GetInfo() failed with error: {0}", co.GetLastError());
                }
                if (co.GetRibbonInfo(out RibbonInfo rii))
                {
                    Console.WriteLine("> Ribbon info:");
                    Console.WriteLine("-   Name: {0}", rii.description);
                    Console.WriteLine("-   Type: {0}", rii.type);
                    Console.WriteLine("-   Remaining capacity: {0} over {0}", rii.remaining, rii.capacity);
                    Console.WriteLine("-   ...");
                }
                else
                {
                    Console.WriteLine("> Error: GetRibbonInfo() failed with error: {0}", co.GetLastError());
                }
                if (co.GetCleaningInfo(out CleaningInfo ci))
                {
                    Console.WriteLine("> Cleaning info:");
                    Console.WriteLine("-   Number of card before next cleaning: {0}", ci.cardCountBeforeWarning);
                    Console.WriteLine("-   Print head under warranty: {0}", (ci.printHeadUnderWarranty) ? "yes" : "no");
                    Console.WriteLine("-   Number of regular cleaning: {0}", ci.regularCleaningCount);
                    Console.WriteLine("-   Number of advanced cleaning: {0}", ci.advancedCleaningCount);
                    Console.WriteLine("-   ...");
                }
                else
                {
                    Console.WriteLine("> Error: GetCleaningInfo() failed with error: {0}", co.GetLastError());
                }
                if (co.GetStatus(out Status status))
                {
                    // Check, for example, if there are cards in the feeder:
                    if (status.IsOn(Status.Flag.WAR_FEEDER_EMPTY))
                        Console.WriteLine("> No cards in the feeder.");
                    // Check if printer cover is open:
                    if (status.IsOn(Status.Flag.WAR_COVER_OPEN))
                        Console.WriteLine("> Printer cover is open, please close it.");
                }
                else
                {
                    Console.WriteLine("> Error: GetStatus() failed with error: {0}", co.GetLastError());
                }
                if (co.GetState(out State.MajorState mas, out State.MinorState mis))
                {
                    if (mas == State.MajorState.READY)
                        Console.WriteLine("> Printer is READY.");
                    else
                        Console.WriteLine("> Printer state is {0}:{1}", mas, mis);
                }
                else
                {
                    Console.WriteLine("> Error: GetState() failed with error: {0}", co.GetLastError());
                }
                State state;
                if (!co.GetState(out state) || state.GetMajorState() != State.MajorState.READY)
                {
                    Console.WriteLine("> Error: Printer {0} is not READY ! Current state: {1} / {2}.", devices.FirstOrDefault().name,
                        state.GetMajorState(), state.GetMinorState());
                }
                else
                {
                    foreach (var card in cartores)
                    {
                        MagSession ms = new MagSession(ref co);
                        ReturnCode rc;
                        // Write magnetic tracks:
                        ms.SetCoercivity(MagCoercivity.AUTO);

                        if (card.Tracks is not null)
                        {
                            if (card.Tracks.Length <= 3)
                            {
                                foreach (var track in card.Tracks)
                                {
                                    ms.SetTrack(0, MagFormat.ISO1, track);
                                }
                            }
                        }
                        if ((rc = ms.Write()) == ReturnCode.OK)
                        {
                            Console.WriteLine("> Write done.");
                        }
                        else
                        {
                            Console.WriteLine("> Write error: {0}.", rc);
                        }
                        if (co.GetRibbonInfo(out RibbonInfo ri))
                        {
                            PrintSession ps = new PrintSession(ref co, ConverterStringParaRibbonType(ri.type.ToString()));

                            string front = GeraFront(card.NomeFrente, card.NumeroFrente);

                            ps.SetImage(CardFace.FRONT, front);
                            //here the impression occurs
                            ReturnCode r = ps.Print();

                            if (r != ReturnCode.OK)
                            {
                                Console.WriteLine("> Error: Print failed");
                                if (!co.GetState(out state))
                                {
                                    Console.WriteLine("> Error: failed to get state");
                                }
                                else
                                {
                                    Console.WriteLine("> State: major={0}, minor={1}", state.GetMajorState(), state.GetMinorState());
                                }
                            }
                        }
                    }
                }
            }
            return true;
        }
        public static RibbonType ConverterStringParaRibbonType(string riTypeString)
        {
            RibbonType ribbonType;

            if (Enum.TryParse(riTypeString, true, out ribbonType))
            {
                return ribbonType;
            }
            else
            {
                return RibbonType.UNKNOWN;
            }
        }
        public static Link ConverterStringParaLink(string riLinkString)
        {
            Link link;

            if (Enum.TryParse(riLinkString, true, out link))
            {
                return link;
            }
            else
            {
                return Link.INVALID;
            }
        }
        private static string AdicionarEspacos(string numero)
        {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < numero.Length; i++)
            {
                if (i > 0 && i % 4 == 0)
                {
                    sb.Append(" ");
                }
                sb.Append(numero[i]);
            }
            return sb.ToString();
        }
        public static void ShowActiveFlags(Status status)
        {
            Console.WriteLine("> Active flags: " + status.ToString());
            Console.WriteLine("> Flags on:");
            foreach (Evolis.Status.Flag v in Enum.GetValues(typeof(Evolis.Status.Flag)))
            {
                if (status.IsOn(v))
                    Console.WriteLine("  {0}", v);
            }
        }

    }
}
Reasons:
  • Blacklisted phrase (1): Good afternoon
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kaique Oliveira

79518572

Date: 2025-03-18 20:19:28
Score: 1.5
Natty:
Report link

import matplotlib.pyplot as plt

import numpy as np

# Data points

distance = np.array([5, 13, 27, 18, 8, 22, 45])

cost = np.array([1500, 600, 1200, 800, 1350, 950, 1000])

# Regression parameters

intercept = 1184.1996

slope = -6.4449

# Create scatter plot for data points

plt.figure(figsize=(8, 6))

plt.scatter(distance, cost, color='blue', label='Data Points')

# Generate x values for the regression line

x_line = np.linspace(min(distance), max(distance), 100)

y_line = intercept + slope * x_line

# Plot the regression line

plt.plot(x_line, y_line, color='red', label=f'Regression Line: y = {intercept:.4f} - {abs(slope):.4f}x')

# Label the axes and add a title

plt.xlabel('Distance from School (miles)')

plt.ylabel('Cost of Supplies ($)')

plt.title('Distance vs. Cost of Supplies')

plt.legend()

plt.grid(True)

plt.show()

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

79518570

Date: 2025-03-18 20:19:28
Score: 3.5
Natty:
Report link

I was facing the same problem. I could visualize the summary table by including the parameter: -p:VSTestUseMSBuildOutput=false

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

79518569

Date: 2025-03-18 20:17:28
Score: 0.5
Natty:
Report link

There is currently no API for the appointment scheduling feature: https://support.google.com/calendar/thread/215260523/google-calendar-appointment-scheduler-api?hl=en

When there is, you should be able to find it here.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Code on the Rocks

79518565

Date: 2025-03-18 20:15:27
Score: 2
Natty:
Report link

I had this error in Eclipse: I had updated the JDK to 21 (keeping Java 8 and 17 alongside), but I had not updated the Eclipse plugins to support this. After an update, these errors went away.

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

79518563

Date: 2025-03-18 20:14:26
Score: 2
Natty:
Report link

This is a non-issue. The debugger shows the environment as a module, but let's say you pass environment.propThatExists to a function and then while debugging, you step into that function. The value will be there, even though Chrome's debugger showed it as undefined before you stepped in. This is an issue with the Chrome debugger and not with your code, so you can just ignore it.

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

79518561

Date: 2025-03-18 20:14:26
Score: 1
Natty:
Report link

This can be fixed by changing const ErrorHandler = require('./middleware/ErrorHandler'); to const ErrorHandler = module.exports = ErrorHandler. You seem to have mixed up Common.js exports and ES exports.

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

79518555

Date: 2025-03-18 20:11:26
Score: 1
Natty:
Report link

I would say simplify the first answer like the second answer.

Maven "install" your javafx project, it will create a artifact/library/jar in your local Maven repository.

Add the jar by "Manually add Library from repository" (the "Search repositories" didn't work for me, gave failed to install)

enter image description here

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

79518554

Date: 2025-03-18 20:11:26
Score: 1.5
Natty:
Report link

I found the solution. I needed to scaffold the page with:

dotnet aspnet-codegenerator identity --files "Account.Manage._ManageNav"

Then i commented the sections i didnt want.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I found the solution
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bourrelle

79518553

Date: 2025-03-18 20:09:26
Score: 2
Natty:
Report link

You could try using plt.xticks([0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24]).

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

79518551

Date: 2025-03-18 20:09:26
Score: 1.5
Natty:
Report link

So here's how I got it to work (I changed it to use "GET" instead of "POST)". The deepl doc should get updated. Not sure why POST did not work.

~$ curl -i -X GET \
 -H "Authorization:DeepL-Auth-Key mysecretkey:fx" \
 'https://api-free.deepl.com/v2/translate?text=hello%20world&target_lang=EL'
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user603749

79518516

Date: 2025-03-18 19:44:20
Score: 0.5
Natty:
Report link

Installing winrar on my Windows PC worked for me.

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

79518513

Date: 2025-03-18 19:42:20
Score: 2
Natty:
Report link

I set out to do this today what @gimly was attempting 8 years ago. After an hour of poking around for an hour, I finally bumped into YARP, which looks to be 100% what I need.

The clear answer today, IMHO, is YARP. @spencer741 and @surya were there long before me, but their answers aren't as prominent as they ought to be.

I wish I'd seen this question and an answer of YARP a lot sooner.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • User mentioned (1): @gimly
  • User mentioned (0): @spencer741
  • User mentioned (0): @surya
Posted by: Wellspring

79518505

Date: 2025-03-18 19:39:19
Score: 0.5
Natty:
Report link

Have you tried checking if you have xdotool installed? Also try to reproduce this in another C# project, only trying to run xdotool. Check if you have imported System.Diagnostics .

Try using the Process class instead (I wouldn't recommend this one for your use case as it works better on windows, but it might work):

Process xdotool = new Process();

xdotool.StartInfo.FileName = "xdotool";
xdotool.StartInfo.Arguments = "key comma";
xdotool.Start();
xdotool.WaitForExit(); // wait for finish
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Throwaway

79518500

Date: 2025-03-18 19:37:19
Score: 1
Natty:
Report link
model Products {
  id    String @id @default(auto()) @map("_id") @db.ObjectId
  csso  Json
}

const addProd = await prisma.products.create({
    data: {
        csso: {
                image: req.file.filename,
                name: req.body.name,
                desc: req.body.desc
            }
    }
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gcarts

79518492

Date: 2025-03-18 19:34:18
Score: 1.5
Natty:
Report link

You are using the wrong path. Use /sys/fs/cgroup/cpu/docker/<container id>/cpu.cfs_quota_us instead.

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

79518485

Date: 2025-03-18 19:30:17
Score: 2.5
Natty:
Report link

The following services offer a self-hosted edition which is in most cases open source and free:

I prepared a comprehensive comparison of 30 web analytics solutions including most of the above tools plus several cloud-based tools. You can also download a free Google Sheet with all details of my evaluation.

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

79518475

Date: 2025-03-18 19:22:15
Score: 1.5
Natty:
Report link

Looks like you're looking for DATE_TRUNC.

DATE_TRUNC('minute', order.term::TIMESTAMP)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bryan Crystal-Thurston

79518469

Date: 2025-03-18 19:19:15
Score: 2.5
Natty:
Report link

I managed to solve my by clearing out the entire class content and compiling it. As expected, the first compile failed. Then, I pasted the original content back into the class and compiled it again. After that, everything worked fine—the code was running normally.

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

79518467

Date: 2025-03-18 19:18:15
Score: 0.5
Natty:
Report link

When you enable IAM Auth, the proxy will use the IAM token from the machine where it is running. When you run the proxy locally, it will use your gcloud auth credentials. However, if you run it on the bastion host, it will use the service account from that host.

We recommend running the Auth Proxy locally, however, mainly for security reasons.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Jonathan Hess

79518457

Date: 2025-03-18 19:15:13
Score: 2.5
Natty:
Report link

I ended up just writing a script to add a key called updatedAtNumber set equal to the conversion from string to decimal, then delete updatedAt, create a new updatedAt set to updatedAtNumber values, then delete updatedAtNumber

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

79518456

Date: 2025-03-18 19:15:13
Score: 1
Natty:
Report link

While other answers correctly mention that WiredTiger defaults to a B+ Tree, it’s important to clarify that WiredTiger specifically uses these structures for storing table data in memory. The explanation provided by Keith Smith sheds further light on this topic:

Within the WiredTiger team, we tend to refer to our tables "B-Trees". I think this is mostly for simplicity, and not because it is the precisely correct term. But that does lead to some inconsistency (as you've found) in the documentation and comments.

The exact answer, however, is a bit complicated. WiredTiger includes a number of optimizations and design choices that don't adhere to the classic definitions of a B-Tree or a B+ Tree. I expect that if you look in detail at any other widely used database you will find similar variations.

There is not, to my knowledge, a precise definition of a B+ tree. Two features that are commonly cited are:

  1. All keys reside in the leaves.

  2. The leaves are linked for easy sequential access.

WiredTiger B-Trees do store all keys and values in the leaf pages. (An exception are overflow pages where we store large keys and values that might be inefficient to store in the leaf page. This is one of those optimizations I mentioned.) So in that regard they behave like B+ trees.

WiredTiger does *not* (as you've found) provide links directly from one leaf page to the next. This is because WiredTiger always writes an updated page to a new location in the file. So linking leaf pages in this manner would be impractical. When we update a leaf page, we write it to a new file location. That means we would need to update the pointer in the leaf pages pointing to it, and therefore we would write those pages to new locations, until we rewrite every leaf page.

WiredTiger moves from one leaf page to the next by going back through the parent page. This is pretty efficient because the WiredTiger cache will never evict an internal B-Tree page if any of its child pages are in the cache. Therefore any time we need to move from one leaf to the next, the parent is guaranteed to be in the cache.

FWIW, Douglas Comer's classic paper on B-Trees from 1979 says that in B+ trees "leaf nodes are *usually* linked together" (p. 129, emphasis mine). So it has never been a strict requirement that B+ trees have these links.

Keith

Reference: https://groups.google.com/g/wiredtiger-users/c/1YHbNXPw-1A

WiredTiger follows a B+ Tree-like structure but with notable deviations. It stores all keys and values in leaf nodes but does not link them directly. Instead, it navigates between leaf nodes through the parent node, leveraging caching to maintain efficiency. This design choice avoids excessive rewrites caused by WiredTiger’s approach of writing updated pages to new file locations.

Reasons:
  • Blacklisted phrase (1): these links
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Prashanth

79518445

Date: 2025-03-18 19:09:12
Score: 2.5
Natty:
Report link

Probably it is not the best solution but it is compact enough, it is what I ended up writing:

    public FilteredDE map(Result re) {
        FilteredDE filteredDE = new FilteredDE();
        for (Group group : re.getGroup()) {
            for (Record record : block.getRecord()) {
                map(record, filteredDE);
            }
        }
        return filteredDE;
    }

    @BeanMapping(
            nullValuePropertyMappingStrategy= NullValuePropertyMappingStrategy.IGNORE,
            nullValueCheckStrategy=NullValueCheckStrategy.ALWAYS)
    public abstract FilteredDE map(Record re, @MappingTarget FilteredDE filt);

Is there any better please?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
Posted by: Viktor

79518444

Date: 2025-03-18 19:08:12
Score: 1.5
Natty:
Report link

There was nothing wrong with spark itself – the issue was actually due to a bug (SPARK-42613), which was fixed in version 3.5.0. With this fix, execution now behaves as expected. Since I wasn't explicitly setting spark.task.cpus, it defaulted to 1, which in turn limited the number of cores available to SHAP. After setting spark.task.cpus to the number of cores, the execution time per iteration matched the expected performance!

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

79518433

Date: 2025-03-18 19:04:11
Score: 2
Natty:
Report link

Download and install the latest x86 and x64 versions from: Microsoft Visual C++ Redistributables

My problem was solved by this method,

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Muhammad Farhan Arif

79518431

Date: 2025-03-18 19:03:11
Score: 1.5
Natty:
Report link

my example, add google, here, microsoft basemap to ESRI basemap gallery !!!!!

How to add? see my source code, it is free. This is world first time, you see google map reside in ESRI basemap Gallery !!!!!

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: hoogw

79518428

Date: 2025-03-18 19:02:11
Score: 0.5
Natty:
Report link

You’re trying to sort your DataFrame, but it’s a bit tricky to get the desired order, right? No worries, there’s a clean way to do this without loops. The key is to create a custom sorting logic for the Type column and then use it together with Time to keep the movements in the right sequence.

# import...
data = { # input here
    "ID": [1, 1, 1, 1, 1, 1, 1, 1],
    "Type": ["Enter", "Out", "In", "Out", "In", "Out", "In", "Exit"],
    "Department": ["A", "A", "A", "A", "A", "A", "B", "B"],
    "Time": ["11:00", "11:00", "11:00", "11:00", "11:00", "12:30", "12:30", "15:00"],
    "Code": [519, 519, 620, 620, 588, 588, 322, 322]
}
df = pd.DataFrame(data)
# sorting by 'Type'
sort_order = {"Enter": 0, "Out": 1, "In": 2, "Exit": 3} 
df['SortKey'] = df['Type'].map(sort_order)
# sorting by others...
df = df.sort_values(by=["ID", "Time", "SortKey", "Department"]).reset_index(drop=True)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Remigiusz Petrykowski

79518427

Date: 2025-03-18 19:02:10
Score: 8 🚩
Natty: 5
Report link

Were you able to find the answer to why it was taking too much time?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Emad Bin Abid

79518420

Date: 2025-03-18 18:57:09
Score: 0.5
Natty:
Report link

I am able to resolve it, but not in a manner that I'm extremely satisfied with.

I've replaced the following

.AddMicrosoftAccount(options =>
    {
        options.ClientId = aadConfig.ClientId;
        options.ClientSecret = aadConfig.ClientSecret;
        options.AuthorizationEndpoint = aadConfig.AuthorityEndpoint;
        options.TokenEndpoint = aadConfig.TokenEndpoint;
    })

With this, this somehow resolves it.

AddOpenIdConnect("Microsoft", options =>
    {
        options.Authority = aadConfig.Authority;
        options.ClientId = aadConfig.ClientId;
        options.ClientSecret = aadConfig.ClientSecret;
        options.ResponseType = OpenIdConnectResponseType.Code;
        options.SaveTokens = true;
        options.GetClaimsFromUserInfoEndpoint = true;
        options.MapInboundClaims = false;
        options.TokenValidationParameters.NameClaimType = JwtRegisteredClaimNames.Name;
    })
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Richard Vo

79518418

Date: 2025-03-18 18:56:09
Score: 2.5
Natty:
Report link

May be using useEffect & useLocation hook will solve that issue, it will check if there is a location.hash on page load. If there is, it will scroll to the corresponding section.

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

79518406

Date: 2025-03-18 18:49:07
Score: 1
Natty:
Report link
gh repo view -w
gh repo view [<repository>] [flags]

Displays the description and the README of a GitHub repository.

With no argument, the repository for the current directory is displayed.

With --web, open the repository in a web browser instead.

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

79518394

Date: 2025-03-18 18:46:06
Score: 1
Natty:
Report link

The most likely cause is that Tailwind 3.4.x has changes that affect how external CSS is processed. I've seen this before with other packages. Try these fixes:

Downgrade Tailwind to a slightly older version:

[email protected]

This version is more stable with external CSS libraries like Swiper. I had to do this on my last project too.

Or you could exclude Swiper CSS from Tailwind processing. You'll need to modify your build config to tell it not to run Swiper's CSS through the Tailwind processor.

The error is happening because Tailwind is trying to process Swiper's CSS files and can't find some property it expects (future). Either solution should fix it - I'd try the downgrade first since it's quicker.

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