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

79518280

Date: 2025-03-18 17:43:51
Score: 9 🚩
Natty: 5.5
Report link

please can someone help me explaining this part of the code,
if [Index.1]>0

then if [Index.1] - 1 and [Index] = [Index]

then 0

else 1

else 1
I'm having the same issue has the example but I was not able to use the M code
thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can someone help me
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Low reputation (1):
Posted by: user29988187

79518279

Date: 2025-03-18 17:42:51
Score: 2.5
Natty:
Report link

I am not a expert in PINN. But I think the problem is about extrapolation. Like a polynomial a neural network is NOT a genetic function approximator. You may use a Fourier Layer. This can help.

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

79518275

Date: 2025-03-18 17:40:50
Score: 4.5
Natty: 6
Report link

Nice piece of code. How can I see only directories in the selection

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bertrand

79518270

Date: 2025-03-18 17:38:49
Score: 4
Natty:
Report link

I have been facing this challenge for almost a week I am so frustrated... I have tried everything here but still.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fuse Koda

79518269

Date: 2025-03-18 17:36:48
Score: 15.5 🚩
Natty: 5
Report link

I wanted to know if you could help me by giving me the code for how you logged in. I have the same problem and I don't know how to solve it.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (3): you could help me
  • RegEx Blacklisted phrase (2): I don't know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Renato Tejada

79518266

Date: 2025-03-18 17:35:47
Score: 3
Natty:
Report link

You can change @ng-bootstrap/ng-bootstrap from 13 to "@ng-bootstrap/ng-bootstrap": "^12.0.0".This will resolve your problem.

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

79518264

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

The most simple solution is probably to create a script (.bat/.sh/...) which will run a proccess for each bot by passing different tokens to main(). What's more, you can put them into different tmux session, cmd windows and etc.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 3RD

79518262

Date: 2025-03-18 17:34:47
Score: 3
Natty:
Report link

Try using "wrap-table-header"

Specifies how the table header is wrapped. Set to 'all' to wrap all column headers. Set to 'none' to clip all column headers. Set to 'by-column' to wrap/clip column headers based on the wrap/clip setting for that individual column. The default is 'none'.

https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/specification

Thanks You,
Preeti Pujari,
Salesforce Consultant, Winobell Inc
For amazing insights on upcoming trends in Salesforce platform follow us at:
https://www.linkedin.com/company/winobell/
https://www.winobell.com/contact

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Preeti Pujari

79518256

Date: 2025-03-18 17:32:46
Score: 1.5
Natty:
Report link

It seems that although the __getitem__-docs list slice support as optional, the typing information requires both support for integer indices and slices. Implementing them resolves both warnings.

The code below no longer produces warnings for me.

from collections.abc import Sequence
from typing import override, overload

class MySeq(Sequence[float]):
    def __init__(self):
        self._data: list[float] = list()

    @override
    def __len__(self) -> int:
        return len(self._data)

    @overload
    def __getitem__(self, key: int) -> float:
        pass

    @overload
    def __getitem__(self, key: slice) -> Sequence[float]:
        pass

    @override
    def __getitem__(self, key: int | slice) -> float | Sequence[float]:
        return self._data[key]

Thanks for the comments of @jonrsharpe and @chepner for providing the right direction with this.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jonrsharpe
  • User mentioned (0): @chepner
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: 502E532E

79518244

Date: 2025-03-18 17:28:45
Score: 11.5 🚩
Natty: 5.5
Report link

I'm having the same issue and was wondering if you were able to resolve this issue?

Reasons:
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SMcN89

79518243

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

Bootstrap 5 has reserved a $zindex-fixed: 1030; variable which places elements below the $zindex-modal: 1055;. It took me a while to wrap my head around but this actually helped me solve this same issue in my Vue project. My child component also has the modal inside it, whereas the element that I want to be "above everything else … but not modals" I just assign this variable to.

@use 'bootstrap' as bs;

.my-fullscreen {
  position: fixed;
  z-index: bs.$zindex-fixed;
  // …
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
Posted by: WoodrowShigeru

79518239

Date: 2025-03-18 17:25:44
Score: 2.5
Natty:
Report link

Temporarily deactivate all plugins except Elementor and Elementor Pro (if you have it) can help rule out plugin conflicts. If the issue resolves, reactivate plugins one by one to identify the culprit.

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

79518234

Date: 2025-03-18 17:21:43
Score: 1
Natty:
Report link

This is the easy way:

<%= form_with url: destroy_user_session_path, method: :delete do %>
  <%= submit_tag 'Log Out' %>
<% end %>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohammad Habibur Rahman

79518231

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

@Ben Richards, I know this method and I like it a lot, the code looks very clear. Your code doesn't work for me, I have applied minor improvements and now it works.

# Define variables for readability
$IDMPath = "C:\Program Files (x86)\Internet Download Manager\IDMan.exe"
$DownloadPath = "C:\Users\Andrzej\Desktop\qap 22"
$FileName = "foo bar.exe"
$DownloadURL = "https://www.foobar2000.org/files/foobar2000-x64_v2.24.3.exe"

# Build the argument list as an array to avoid quoting issues
$Arguments = @(
     '/p'
     """$DownloadPath"""
     '/h'
     '/n'
     '/q'
     '/f'
     """$FileName"""
     '/d'
     """$DownloadURL"""
)

# Start IDM with arguments using Start-Process
Start-Process -FilePath $IDMPath -ArgumentList $Arguments -NoNewWindow -Wait

or

# Define variables for readability
$IDMPath = "C:\Program Files (x86)\Internet Download Manager\IDMan.exe"
$DownloadPath = "C:\Users\Andrzej\Desktop\qap 22"
$FileName = "foo bar.exe"
$DownloadURL = "https://www.foobar2000.org/files/foobar2000-x64_v2.24.3.exe"

# Build the argument list as an array to avoid quoting issues
$Arguments = @(
     "/p ""$DownloadPath"""
     '/h'
     '/n'
     '/q'
     "/f ""$FileName"""
     "/d ""$DownloadURL"""
)

# Start IDM with arguments using Start-Process
Start-Process -FilePath $IDMPath -ArgumentList $Arguments -NoNewWindow -Wait
Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Ben
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Andy666

79518222

Date: 2025-03-18 17:15:41
Score: 1
Natty:
Report link
(setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kingsjester

79518220

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

If you're using SQL Server, you're looking for UNPIVOT:

select Location, Type, Date, Account, Value
from t unpivot (Value for Account in (Quantity, Net)) av;

See it running on some of your data.

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

79518217

Date: 2025-03-18 17:14:41
Score: 2.5
Natty:
Report link

I would like to add that if you don't want to use migrationBuilder.Sql() and are trying to change the column type via standard EF Core methods, there is a workaround. The only way to get around this without SQL is to create a new column, drop the old one, and rename the new one.

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

79518215

Date: 2025-03-18 17:13:41
Score: 3
Natty:
Report link

I'm seeing the same, unfortunately. I haven't reached any quotas, and I have the necessary speech permissions.

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

79518211

Date: 2025-03-18 17:11:40
Score: 3
Natty:
Report link

Uninstall and reinstall the app;

that should resolve the issue.

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

79518199

Date: 2025-03-18 17:08:40
Score: 0.5
Natty:
Report link

After debugging, this was the answer:

  1. Run a build with EAS_LOCAL_BUILD_SKIP_CLEANUP=1 eas build --platform ios --profile preview --local
  2. Pull the logs from the error log
  3. If the error is because "Provisioning profile "*[expo] XXX AdHoc XXX" doesn't include signing certificate "Apple Distribution: XXX" #1201”, then follow this comment: (delete all apple distribution…) vertificates in keychain access, then use this comment: Provisioning profile "*[expo] XXX AdHoc XXX" doesn't include signing certificate "Apple Distribution: XXX" · Issue #1201 · expo/eas-cli
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ganning Xu

79518194

Date: 2025-03-18 17:07:39
Score: 12
Natty: 7
Report link

Having similar problems. How did you solve the problem?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having similar problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: fixxel

79518188

Date: 2025-03-18 17:05:39
Score: 1
Natty:
Report link

In case anyone else runs into the issue, there was problem in the reverse proxy where the whole request wasn't being properly forwarded to the Firebase Auth server - just the URL. We had to change from fetch(updatedURL) to `fetch(new Request(updatedUrl, oldRequest))`. And then it worked :)

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cory Harasha

79518183

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

In case it helps anyone, this error was solved by setting the AbstractFileSystem for gs URIs per (this)[https://github.com/GoogleCloudDataproc/hadoop-connectors/blob/master/gcs/INSTALL.md].

.config("spark.hadoop.fs.gs.impl", "com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem")

I have no idea why downloading the JAR file from https://storage.googleapis.com/hadoop-lib/gcs/gcs-connector-hadoop3-latest.jar works though

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

79518164

Date: 2025-03-18 16:57:37
Score: 1.5
Natty:
Report link

I believe that you need to use no buffer -N or --no-buffer in curl for this.

curl -N XYZ | jq -r -c '.results[0].data[0].row[]'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Federico Caputo

79518160

Date: 2025-03-18 16:54:36
Score: 0.5
Natty:
Report link

In older versions of Android Studio there was an option for "Empty Activity" (as well as "No Activity" and other Activity options). These activities used the Views XML layout format. Now in Android Studio, all the older activities are called Views Activity as they use the older Views format. There is now a choice for "Empty Activity" which uses the Compose layout, which is declarative (programmatic) layout, not XML. The old "Empty Activity" is now called "Empty Views Activity".

The views are for backward compatibility. For new projects it is suggested you use the new Compose declarative layout which is much easier to handle in code.

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

79518159

Date: 2025-03-18 16:54:36
Score: 0.5
Natty:
Report link

Since version 3.12.0 it's possible to omit the version of the annotation processor library if it is defined inside the dependency management.

See MCOMPILER-391

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

79518153

Date: 2025-03-18 16:52:35
Score: 1.5
Natty:
Report link

You likely can't directly make an element inside a closed new accordian tab visible outside before it's opened due to Elementor's optimization. Consider these shorter alternatives:

  1. Move the visible element next to the accordion itme and position it visually.
  2. Use the older toggle widget if it suits your needs.
  3. Build a custom accordion like structure with HTML/CSS/JS.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zaheer Ahmad Safeer