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

79518386

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

By default, CSV files store table data in text format and does not support columns.
You need a tool like Excel text to column function to do it. But if you convert it using Excel, you'll need to save if as a Excel file, since CSV does not support columns.

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

79518379

Date: 2025-03-18 18:32:03
Score: 2.5
Natty:
Report link

@user8581670

Yeah, changing the file path to a shorter path was successful for me, It Worked!

Reasons:
  • Whitelisted phrase (-1): It Worked
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @user8581670
  • Low reputation (1):
Posted by: mfaizhussain7

79518364

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

For anyone else stumbling upon this and wondering how to fix this with Google Sheets:
When its an integer you don't have to do anything like @Diego Queiroz said.

The problem with Google Sheet fields' numbers is fixed by selecting the column, Format > Number > 0 (close to bottom of the list).

Afterwards remove the data source in Google Data Studio and reimport it. Afterwards it was fixed for me.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Diego
  • Low reputation (0.5):
Posted by: h4x0r

79518352

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

I have found this on YouTube shorts, it is regarding Null reference exception , it might help you

https://youtube.com/shorts/2A5Zk3es4Jo?feature=share

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: phani sai

79518350

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

If its a fixed device, maybe you could hardcode the MAC in and connect without looking for the advertisement? That reduces it to near minimum and is common practise for hardware that connects over bluetooth (like speakers that connect to each other via bluetooth).

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

79518346

Date: 2025-03-18 18:16:00
Score: 2
Natty:
Report link

The original documentation is very poor. You can use the tutorials to learn at this website: https://www.pythonguis.com/pyqt5-tutorial/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jerrystyl McGames

79518344

Date: 2025-03-18 18:12:59
Score: 0.5
Natty:
Report link

I think that the problem is in the way you structure your post route and in which context are you using it..

You can't just type "/add" in your browser address bar. That's a GET request, but your code only handles POST.

You need to add in your index.ejs file a form like this:

<form action="/add" method="POST">
  <input type="text" name="country" placeholder="Enter a country">
  <button type="submit">Add Country</button>
</form>

Just put this form on your page, fill a country name, and submit. That will trigger the POST request your route is expecting. Browser address bars can only do GET requests.

@Extra: If you want to test your POST route directly without creating a form, Insomnia is perfect for that. Just download Insomnia, create a new POST request to http://localhost:3000/add, set the body to 'Form URL Encoded' format, add a key-value pair with 'country' as the key and your country name as the value, then hit send. It's way easier for testing API endpoints than trying to build forms every time. You can test routes almost in real-time, that will boost your production.

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

79518342

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

These are local variables, and they are automatically managed by Dart’s memory management system. Note that the garbage collector will end up deleting it once its no longer referenced anywhere. On the upside, no memory leaks. On the downside, each time the function runs (like a callback execution), the variables are re-created and do not retain any previous state.

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

79518341

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

2025-03-18 21:15:26 INFO root - Rasa server is up and running. Bot loaded. Type a message and press enter (use '/stop' to exit):

Your input -> what is chat gpt
I'm here to assist with any questions related to forms. If you need help with our services, features, or how to fill out a form, feel free to ask!

Your input -> hello
Hey there! What's your name?

Your input -> my name is John

In which city do you live?

Your input -> im from new york
Can i get your phone number? Your input -> 0123456789
Hey vishwa,New York is a very beautifull place. Your phone number is 0123456789

Your input -> sdas
Your input ->

i have some issues :
1 Out of Context
what is chat gpt or what is world these are out of context messages for these i need to respons like this "I'm here to assist with any questions related to forms. If you need help with our services, features, or how to fill out a form, feel free to ask!" becuse user can ask differnet questions this bot will only focus on form filling.
2 Unclear
sdas and in intent example if i give a something not difine in it there then say "Sorry, I didn't understand that. Can you rephrase?" ex there is example like this my name is [Jhon] (name) but i give a prompt like this my name is new york. for that i need to say i cant understand can you rephrase like that . and this is not only for name and i need a solution without hardcording how to do this what is the best way use in rasa.

how to get a solution for both senarios.

Reasons:
  • Blacklisted phrase (1): i need a solution
  • Blacklisted phrase (0.5): i need
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vishwa Udayantha

79518340

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

Another late reply but the above (apparently now "below" answer is still the best anwser according to Google search results (It should be awarded "best answer"). I should add that it depends on the mouse you're using. I'm using a Logitech M100 and it doesn't exhibit this quirk, but if I attach one of my other gaming mouse/mice to my computer (A Zowie S2 and a Microsoft Intellimouse Pro) it has this problem. It's easy enough to solve, you just have to figure out which keyboard HID device to disable, since apparently there can be multiple "HID Keyboard Device" entries in the device manager!

I just registered here today, I'm not sure if it's encouraged to answer very old threads in StackOverflow, so apologies in advance!

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anon7222

79518334

Date: 2025-03-18 18:05:57
Score: 8.5 🚩
Natty: 6
Report link

I'm working on something similar but I'm not understanding what data is in the A, B, and D reference cells. Can you clarify that? Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Can you clarify
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anika

79518330

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

There is no off the shelf support for nanoseconds. You will be limited to MicroSeconds even while you use the stopwatch class.

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

79518322

Date: 2025-03-18 18:00:56
Score: 2
Natty:
Report link

To set a max-width (like 1200px) and center your container in the free Elementor:

  1. Select the Section.

  2. Go to Layout tab.

  3. Set "Content Width" to "Boxed".

  4. Set "Width" to 1200 px.

  5. Set "Horizontal Align" to "Center".

This uses Elementor's built-in settings, no custom CSS needed.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zaheer Ahmad Safeer

79518318

Date: 2025-03-18 17:58:55
Score: 1.5
Natty:
Report link

For me deleting the lock file mentioned in the error message worked.

Note: Deleting that file results in loosing you plugins and any other custom settings that you would have added since it resets.

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

79518314

Date: 2025-03-18 17:57:55
Score: 3
Natty:
Report link

try to update your typescript may solve your problem because it seems like your using the older version of Typscript

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

79518304

Date: 2025-03-18 17:52:54
Score: 1
Natty:
Report link

I managed to resolve this - It was caused by a difference in environment variables.

Specifically, The CI job set the AWS_ACCOUNT_ID which I didn't have set locally. That env var was having a some interaction with a change made in botocore 1.37.0 related to DynamoDB URLs.

Setting that env var locally allowed me to reproduce the error locally. Pinning botocore to 1.36.x fixed the issue locally and on the CI server.

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

79518303

Date: 2025-03-18 17:52:54
Score: 3.5
Natty:
Report link

IP checking websites like https://www.whatismyip.com are blocked by oxylabs default.

Use https://ip.oxylabs.io instead.

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

79518294

Date: 2025-03-18 17:48:53
Score: 1
Natty:
Report link

I also ran into this issue. I did not want to download the pre-built wheel as Rajeesh suggested, instead I ran the installation instruction as found in the packages installation documentation: https://pillow-heif.readthedocs.io/en/latest/installation.html

Probably the error comes from an outdated libheif-dev version, following said instalation instructions, I now have version 1.19.5 of libheif-dev, the old version that came with my system was 1.14.2.

After the update of libheif-dev, the installation of pillow-heif with pip worked as a charm.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alexander Köb

79518284

Date: 2025-03-18 17:45:52
Score: 4
Natty:
Report link

resolved by removing editor.stickyScroll.maxLineCount thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mario Lopes

79518282

Date: 2025-03-18 17:43:52
Score: 4
Natty: 4
Report link

I just applied load prop I mean this one loader={customLoader} and it was fixed properly

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