79313091

Date: 2024-12-28 02:20:14
Score: 2
Natty:
Report link

Depending on your specific situation... try this grid option: domLayout="autoHeight".

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

79313090

Date: 2024-12-28 02:19:13
Score: 3
Natty:
Report link

You may have more luck with the new version of bacpypes3 and BAC0

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

79313086

Date: 2024-12-28 02:14:13
Score: 1.5
Natty:
Report link

OK I find an alternative solution.

I replace the optional by | undefined:

ReferentialEnum<{ color : string ; optional? : string }> 
ReferentialEnum<{ color : string ; optional : string | undefined }> 

I would have preferred to keep the :

ReferentialEnum<{ color : string ; optional? : string }> 

Playground

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

79313085

Date: 2024-12-28 02:13:12
Score: 1.5
Natty:
Report link

Try modifying your config xml file and add pagination logic. Also, you can use start and toe parameters.

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

79313084

Date: 2024-12-28 02:09:12
Score: 2.5
Natty:
Report link

Having a similar issue, except using gpucomputationrenderer from 'three/examples/jsm/misc/GPUComputationRenderer.js' and not the drei hook. Disabling StrictMode doesn't seem to fix it in my case. Only the first gpgpu variable texture actually updates and then the compute chain seems to break. It worked perfectly in the three.js version but something breaks in r3f.

Can't seem to find a solution atm. Found this implementation though: https://codesandbox.io/p/sandbox/admiring-christian-nnxq97?file=%2Fsrc%2FuseGPGPU.ts, and I followed it. The structure of implementation in the example works in the sandbox version but not in my app. Maybe this example could help you.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): Having a similar issue
  • Low reputation (1):
Posted by: user28961630

79313078

Date: 2024-12-28 02:01:11
Score: 0.5
Natty:
Report link

I know this is quite late but I think this might be what you're looking for:

xcrun xcdevice list

It returns a list of both simulators and non-simulators with the same info from the GUI.

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

79313068

Date: 2024-12-28 01:52:08
Score: 4
Natty: 4.5
Report link

Image from: https://codehs.com/student/5885981/section/597103/assignment/150441768 Primative data types don't have methods whereas reference data types do.

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

79313067

Date: 2024-12-28 01:52:07
Score: 1.5
Natty:
Report link

Dim varSearchTerm as String

Perhaps shorten the first string search in the subject as indicated with a *wildcard. (is an attachment in the subject?) And concate the end string in the varSearchTerm with a wildcard either side of this one. No 2nd wildcard needed if all total strings end the same way.

Regarding wildcard concated around a string in a generic formula as in your example

"" & varSearchTerm & "" Is a technique in standalone Excel formulas. Wildcard stars are omitted from inside the two sets of speech marks when posted.

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

79313057

Date: 2024-12-28 01:37:04
Score: 2
Natty:
Report link

Thank you for posting this, it helped me a lot. Just like you, I needed to retrieve EPO data from my orders, though, my structure was more complex than just one field (I have around 20 different options). I did not use it as a function because it did not work but modified your code with unserialize:

Note: EPO is now stored in wp_woocommerce_order_itemmeta table and works with key pairs

$output = ''; 
$epos = unserialize($yourmetavalue);  
if (is_array($epos) ){
    foreach ($epos as $key => $epo) {
        if ($epo && is_array($epo)){
            $output .= '' . $epo['name'] .': '. $epo['value'] .'<br>';
        }
    }
}
echo $output;

Since I wanted to exclude certain values (like comments) and have links for EPO files uploaded by the clinets this is my actual code:

$output = ''; 
$epos = unserialize($epodata); 
    if (is_array($epos) ){
        foreach ($epos as $key => $epo) {
            if ($epo && is_array($epo) && $epo['name'] != "Commentaire"){
                if (strpos($epo['value'], 'http') === 0) {
                    $epo['value'] = "<a target='_blank' href='".$epo['value']."'>See file</a>";
                }
                $output .= '' . $epo['name'] .': '. $epo['value'] .'<br>';
            }
        }
    }
echo $output;

Be aware that I was unable to make your code work, (skill issue). The reason I am posting here is because I have never seen anyone try to extract EPO data from the DB other than you.

Hope it can help others.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): helped me a lot
  • Whitelisted phrase (-1): Hope it can help
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: François

79313055

Date: 2024-12-28 01:34:04
Score: 2.5
Natty:
Report link

Try with this code I can able to validate my username

if not register.objects.filter(username=username).exists():

return Response("User is Not Valid")

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

79313053

Date: 2024-12-28 01:33:04
Score: 1
Natty:
Report link

For bit-identical reproducible builds, I found via https://wiki.debian.org/ReproducibleBuilds/OggSerialNumbers that you have to call oggenc -s $number $input to override the random serial number in the bitstream.

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

79313049

Date: 2024-12-28 01:18:02
Score: 2
Natty:
Report link

server component console logs won't display anything on browser, you can see those logs on the console where the next js server is running.

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

79313036

Date: 2024-12-28 00:55:59
Score: 1.5
Natty:
Report link

In addition to the above chage to build.gradle, I also needed to fix Android -> build.gradle as described here and then I needed to remove the package=com.whatever... parameter in src/main/AndroidManifest.xml

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chris Nadovich

79313034

Date: 2024-12-28 00:52:57
Score: 6 🚩
Natty:
Report link

Did you ever get any results with this? I'm basically doing a search on a email in the past 7 days and getting results with empty EMAIL_LOG_SEARCH_RECIPIENT. Doesn't give me anything useful.

for example the same user in the UI returns 30 + results, but doing this, return 7 but all empty receivers.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Alan P

79313030

Date: 2024-12-28 00:47:56
Score: 1
Natty:
Report link

To build on the above answers, I used powershell to PATCH each build to set the retainedByRelease flag to false.

First build a file out of the build.id values lets say buildsToPatch.txt. It would just be a line delimited list. Use the $responses of https://stackoverflow.com/a/58889636/27840602 to construct the list like this:

$defId = <integer> find it in the url of the build pipeline
$results = $response.value | Where {$_.retainedByRelease -eq "true" -and $_.definition.id -eq $defId}
$results > buildsToPatch.txt

Create the patch body:

$body = @{
      "retainedByRelease" = "False"
} | ConvertTo-Json

Then call the following powershell:

gc ./buildsToPatch.txt | % {
  Invoke-RestMethod -Uri "https://dev.azure.com/your-org/your-project/_apis/build/builds/$($_)?api-version=7.1" -Method Patch -ContentType 'application/json' -Body $body -Headers @{Authorization = "Basic $token"}
}

Note $token is same as what was used to GET the builds in the answer: https://stackoverflow.com/a/58889636/27840602

This allowed me to then delete the Pipeline for the build I no longer wanted.

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

79313021

Date: 2024-12-28 00:32:53
Score: 4
Natty: 5.5
Report link

pude cerrar la ventana de consola en linux con ctrol + D, antes de esto solo ppodia hacerlo escribiendo exit y luego exit, porque desde el menu , archivo cerrar ventana tampoco funcionaba

Reasons:
  • Blacklisted phrase (1): porque
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28961232

79313019

Date: 2024-12-28 00:29:51
Score: 1.5
Natty:
Report link
for i in LENGTH-1:
    model.add(q_shifts[t][i] <= q_shifts[t][i+1])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anonymous

79313016

Date: 2024-12-28 00:23:51
Score: 1
Natty:
Report link

Use the next() method:

$('nav .dropdown-toggle').click(function(e) {

$(this).toggleClass('show');
$(this).next('.dropdown-menu').toggleClass('show');

$(this).attr('aria-expanded', function (i, attr) {
   return attr == 'true' ? 'false' : 'true'

});

});

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

79313012

Date: 2024-12-28 00:14:49
Score: 0.5
Natty:
Report link

Example with Axios ajax callback:

...
    .catch((thrown) => {
       if (thrown.code === 'ERR_NETWORK') {
          alert(thrown.message); // Network Error
       }
    })
...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Gigoland

79313006

Date: 2024-12-28 00:02:47
Score: 3
Natty:
Report link

I think the country is blocked, or It looks like some phone carriers(numbers providers) are blocking SMS with URLs

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

79313005

Date: 2024-12-28 00:01:47
Score: 1
Natty:
Report link

You have to set GenerateClientClasses to true to generate the class and then set SuppressClientClassesOutput to true to not output the class. The interface will now reflect the methods in the class but will not be a part of your output.

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

79313001

Date: 2024-12-27 23:58:46
Score: 2.5
Natty:
Report link

JSON Blob might suit but it purges blobs not accessed within 30 days, so you'd need some kind of ping to prevent data loss.

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

79312994

Date: 2024-12-27 23:53:45
Score: 1
Natty:
Report link

It happened to me recently; in my case, some of the functions related to StateFlow, such as stateIn(), were still accessible.

I also tried copying and pasting the import statements like below, and it just worked fine.

import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow

So, in the end, the code completions and suggestions were not working for me, but I could still build the code by manually writing those codes without any auto completions.

I hope it helps someone, somehow haha.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • RegEx Blacklisted phrase (3): not working for me
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: shoheikawano

79312981

Date: 2024-12-27 23:39:42
Score: 1.5
Natty:
Report link

Thank you, it worked for me. Happy holidays to everyone :)

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

79312976

Date: 2024-12-27 23:35:42
Score: 0.5
Natty:
Report link

Be it with SageMath 10.2 or SageMath 10.4, the following input

b, c = SR.var('b, c')
f = function('f')
equation = (b - f(0))*(c - f(0))*D[0](f)(0) - 1 == 0
new_equation = equation.subs({f(0): b + c})
solve(new_equation, D[0](f)(0))

gives the following output

[D[0](f)(0) == 1/(b*c)]

What version of SageMath are you having trouble with?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Samuel Lelièvre

79312970

Date: 2024-12-27 23:27:41
Score: 2.5
Natty:
Report link

Do While Range("A22") = "Macro L: Running"

I have a load of code after this that stops if you select cell A22 (on a Freeze Pane) and press DEL. Your code before:

Loop

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

79312969

Date: 2024-12-27 23:27:41
Score: 3.5
Natty:
Report link

GPP was what ended up using when my search came here. Nice article here:

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

79312954

Date: 2024-12-27 23:18:38
Score: 3
Natty:
Report link

FOR WINDOWS Type in cmd: echo %PROCESSOR_ARCHITECTURE%

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

79312949

Date: 2024-12-27 23:11:37
Score: 0.5
Natty:
Report link

Another answer for anyone who installs using Snap:

I installed Flutter on Ubuntu 24.10 with sudo snap install flutter

Run flutter in bash at least once to initialize Dart.

Afterwards, you should be able to find the dart sdk at /home/your_name/snap/flutter/common/flutter/bin/cache/dart-sdk

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

79312948

Date: 2024-12-27 23:11:37
Score: 1
Natty:
Report link

The recently published .NET memory model spec says

Reads cannot be introduced.

So the answer is: you don't need to protect against read introduction, it will not happen.

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

79312945

Date: 2024-12-27 23:07:36
Score: 2
Natty:
Report link

There are a number of possible reasons. 1.) check that you are not including alpineJs script multiple times by chance. 2.) include defer keyword in your alpineJs script as seen from this solution here

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

79312944

Date: 2024-12-27 23:06:36
Score: 2
Natty:
Report link

Generate a new SSH Key Pair in the terminal with: ssh-keygen -t rsa -b 4096 ~/.ssh/new-cloudDigital-key

Add the public key ~/.ssh/new-cloudDigital-key.pub (ensure extension .pub) in the Digital Ocean. Lets me know if it's fixed

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

79312937

Date: 2024-12-27 23:00:34
Score: 4.5
Natty: 4
Report link

You could try the nice example at https://authjs.dev/guides/refresh-token-rotation

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

79312917

Date: 2024-12-27 22:51:32
Score: 1
Natty:
Report link

I also had a similar problem when using langchain. You can also explicitly import the library before importing the library causing the error.

import pydantic.deprecated.decorator
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Brian

79312916

Date: 2024-12-27 22:51:31
Score: 4.5
Natty:
Report link

this is a bug reported by me and others to google please check this link: https://issuetracker.google.com/issues/243061086?pli=1 we are getting ANR in the play console for android 13 and 14. seems like there is an issue with the player itself from 2022.

Reasons:
  • Blacklisted phrase (1): please check this
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fahad Alkamli

79312910

Date: 2024-12-27 22:44:30
Score: 0.5
Natty:
Report link

The part that says your-cloud-key is talking about the private SSH key that you created earlier in the process. The digitalocean instructions should have had you use your terminal to create an SSH key and then input the public key into digitalocean. So you'll use the private key to connect via SSH.

As for the issue with the web terminal telling you to wait, I have run into issues when using the smallest instance type on DO where it will have trouble booting up the first time because the memory is so low. But I have found that just restarting the instance fixes it.

So give it a try by restarting from the digitalocean dashboard and then see if you can connect with the web console.

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

79312908

Date: 2024-12-27 22:42:29
Score: 3
Natty:
Report link

Checkout https://jwtrevoke.com for managing and revoking JSON Web Tokens (JWTs) efficiently.

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

79312905

Date: 2024-12-27 22:41:29
Score: 0.5
Natty:
Report link

After rails new bundle install could be broken if you don't have any installed bundler version.

Remove the created directory and try gem install bundler first then run your rails new command again.

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

79312903

Date: 2024-12-27 22:36:28
Score: 1
Natty:
Report link

While macropod's answer didn't work, it did get me to the right track and I managed to make the code work. It might not be the most elegant solution, but it does what I need it to do:

Sub FormatTilde()

    Set TildeStyle = ActiveDocument.Styles("Approx")
    'Start from the beginning of the document
    Selection.HomeKey Unit:=wdStory
    
    With Selection.Find
        .Forward = True
        .ClearFormatting
        .MatchWholeWord = False
        .MatchCase = False
        .Wrap = wdFindContinue
        .Execute FindText:="~"
        Selection.Style = TildeStyle
        Do While Selection.Find.Execute
            Selection.Style = TildeStyle
        Loop
    End With
    
    ActiveDocument.UndoClear

End Sub

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

79312902

Date: 2024-12-27 22:35:28
Score: 0.5
Natty:
Report link

thanks for the answer. I was stopped with this.

"MISSING A callback handler is also needed for the X button when you close the dialog otherwise it never closes and remains in the background." I tried the attached code to solve this, but without success. The code execution doesn't stop.. Thanks

-- window_callbacks.ads

with Gtkada.Builder; use Gtkada.Builder;

package Window_Callbacks is
  function On_Window1_Delete_Event (Builder : access Gtkada_Builder_Record'Class) return Boolean;
  procedure On_File1_File_Set (Builder : access Gtkada_Builder_Record'Class);
end Window_Callbacks;



-- window_callbacks.adb

-- units from GtkAda
with Gtk.Main;

-- units from GtkAda
with Gtk.File_Chooser;           use Gtk.File_Chooser;
with Gtk.File_Chooser_Button;    use Gtk.File_Chooser_Button;

with Gtkada.File_Selection;      use Gtkada.File_Selection;


-- units from Glib
with Glib;              use Glib;
with Glib.Object;       use Glib.Object;

-- Ada predefined units
with Ada.Text_IO;            use Ada.Text_IO;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;
with Ada.Exceptions;

package body Window_Callbacks  is

  -----------------------------------------------
  -- On_Window1_Delete_Event
  -----------------------------------------------
  function On_Window1_Delete_Event 
                 (Builder : access Gtkada_Builder_Record'Class) return Boolean is
    pragma Unreferenced (Builder);
    begin
      Gtk.Main.Main_Quit;
      return False;
    end On_Window1_Delete_Event;

  ---------------------------------
  -- On_File1_File_Set  --
  ---------------------------------
  procedure On_File1_File_Set (Builder : access Gtkada_Builder_Record'Class) is
                                                      
    Button : access Gtk_File_Chooser_Button_Record;

    function Name_Strict (File_Name : string) return string is
      I : natural := File_Name'Last; 
      begin
        loop
          exit when File_Name (I) = Solidus or File_Name (I) = Reverse_Solidus or I = File_Name'First;
            I := @ - 1;
        end loop;
        if File_Name (I) = Solidus or File_Name (I) = Reverse_Solidus then 
            return File_Name (I+1..File_Name'Last); --folder is present
          else
            return File_Name;     -- folder is absent
        end if;
      end; 

    begin
      -- Get the file chooser button
      Button := Gtk_File_Chooser_Button (Get_Object(Builder, "file1"));

      -- Get the filename
      declare
        File_Name   : constant string := Get_FileName (Button);
        Folder_Name : constant string := Get_Current_Folder (Button);
        begin
          Ada.Text_IO.Put_Line ("File selected : "    & File_Name);
          Ada.Text_IO.Put_Line ("Current Folder : "   & Folder_Name);
          Ada.Text_IO.Put_Line ("Strict File Name : " & Name_Strict (File_Name));
          New_line;
        end;

    end On_File1_File_Set;

end Window_Callbacks;



-- Glade_8

-- units from Gtk
with Gtk.Main;
with Glib.Error;     use Glib.Error;
with Gtk.Widget;     use Gtk.Widget;
with Gtk.Builder;    use Gtk.Builder;
with Gtkada.Builder; use Gtkada.Builder;

-- Ada predefined units
with Ada.Text_IO;       use Ada.Text_IO;

-- Application specific units
with Window_Callbacks; use Window_Callbacks;

procedure Glade_8 is

  Mon_Interface   : Constant String :=
    "<?xml version=""1.0"" encoding=""UTF-8""?>"
  & "<!-- Generated with glade 3.40.0 -->"
  & "<interface>"
  & "  <requires lib=""gtk+"" version=""3.20""/>"
  & "  <object class=""GtkAdjustment"" id=""adjustment1"">"
  & "    <property name=""upper"">100</property>"
  & "    <property name=""step-increment"">1</property>"
  & "    <property name=""page-increment"">10</property>"
  & "  </object>"
  & "  <object class=""GtkListStore"" id=""liststore1"">"
  & "    <columns>"
  & "      <!-- column-name gchararray1 -->"
  & "      <column type=""gchararray""/>"
  & "    </columns>"
  & "    <data>"
  & "      <row>"
  & "        <col id=""0"" translatable=""yes"">test1</col>"
  & "      </row>"
  & "      <row>"
  & "        <col id=""0"" translatable=""yes"">test2</col>"
  & "      </row>"
  & "      <row>"
  & "        <col id=""0"" translatable=""yes"">test3</col>"
  & "      </row>"
  & "    </data>"
  & "  </object>"
  & "  <object class=""GtkWindow"" id=""window"">"
  & "    <property name=""can-focus"">False</property>"
  & "    <child>"
  & "      <object class=""GtkFixed"" id=""fixed1"">"
  & "        <property name=""visible"">True</property>"
  & "        <property name=""can-focus"">False</property>"
  & "        <child>"
  & "          <object class=""GtkFileChooserButton"" id=""file1"">"
  & "            <property name=""width-request"">196</property>"
  & "            <property name=""visible"">True</property>"
  & "            <property name=""can-focus"">False</property>"
  & "            <property name=""title"" translatable=""yes""/>"
  & "            <signal name=""file-set"" handler=""on_file1_file_set"" swapped=""no""/>"
  & "          </object>"
  & "          <packing>"
  & "            <property name=""x"">9</property>"
  & "            <property name=""y"">234</property>"
  & "          </packing>"
  & "        </child>"
  & "      </object>"
  & "    </child>"
  & "  </object>"
  & "</interface>";
  
  Builder       : Gtkada_Builder;
  Error         : aliased Glib.Error.GError;
  use type Glib.Guint;
     
  begin
    Gtk.Main.Init;

    -- Etape 1 : créer un Builder
    Gtk_New (Builder);
    
    if Add_From_String (Gtk_Builder(Builder), Mon_Interface, Error'Access) = 0 then
      Put_Line ("Error : " & Get_Message (Error));
      Error_Free (Error);
      return;
    end if;
   
    -- Etape 2 : créer les handlers des events
    Register_Handler (Builder, "on_window1_delete_event", On_Window1_Delete_Event'Access);
    Register_Handler (Builder, "on_file1_file_set", On_File1_File_Set'Access);

    -- Etape 3 : Do_Connect connecte tous les handlers enregistrés en une fois.
    Do_Connect (Builder);

    -- Etape 4 : Afficher la fenetre avec ses dépendances
    Show_All (Gtk_Widget (Get_Object (GTK_Builder (Builder), "window")));

    -- Etape 5 : Lancer la boucle infinie.
    Gtk.Main.Main;

    -- Etape 6 : Unref pour libérer la memoire associée au Builder.
    Unref (Builder);

  end Glade_8;
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mark

79312901

Date: 2024-12-27 22:35:28
Score: 3
Natty:
Report link

Check this out if you want to Revoke JWT .. https://jwtrevoke.com

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

79312897

Date: 2024-12-27 22:34:27
Score: 1.5
Natty:
Report link

That's because secure boot doesn't allow unknown modules to be loaded into kernel.

Try signmod it generates a certificate/key pair during installation and installs cert in MOK, later the signmod script uses the generated key to self sign the modules, enabling seamless loading.

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

79312891

Date: 2024-12-27 22:28:27
Score: 3
Natty:
Report link

If you already have a hierarchy with the respective boundaries geometries just group based on elements that ST_Within or ST_Contains according to the zoom. level.

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

79312887

Date: 2024-12-27 22:25:26
Score: 0.5
Natty:
Report link

As far as I am aware of, there is no place to find a grant list of permissions required to perform any specific AWS action. That being said, there are a few things that may be helpful for your situation:

  1. It is recommended to have restricted access for operational purposes, but usually it does not make sense to apply strict rules for development. Unless there is a specific task role that performs and only performs Lambda code upload operation, I won't recommend spend too much time to figure out the exact boundary of a deployment role. Admin access is appropriate in this case.
  2. For lambda code upload, the only required permission is UpdateFunctionCode. If you upload the file to S3, the S3 permission is also required. It seems you are also using CloudFormation to make deployments. It is a bit unclear how you are deploying the code, as the permissions required differ by the frameworks. Sometimes it is just a trial-and-error process.
  3. IAM Policy Simulator let you test your role permissions, if you know which operations you are performing.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Xufan Wang

79312883

Date: 2024-12-27 22:22:25
Score: 0.5
Natty:
Report link

For me tailwindcss broke as soon as I opened the (Chrome) Dev Tools while using next dev --turbopack.

Using it without --turbopack fixed this problem.

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

79312863

Date: 2024-12-27 22:05:21
Score: 2.5
Natty:
Report link

Noboybgave the right answer and everybody here is beong cocky and not helpful.

The guy asked a sinple question. By renaming the folder to .nomedia, the folder got deleted. Disappeared. Hpw to get it back? If you can answer the question, pöease go ahead. Otherwise, please don't write anything back.

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

79312859

Date: 2024-12-27 22:03:21
Score: 2
Natty:
Report link

We had a similar issue. My colleague explained that by default, Android/Expo Go does not allow API calls over HTTP. That's why it functions as you said by using ngrok. I think, you still can use HTTP but you need to configure manually it in xml file about restriction.

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

79312858

Date: 2024-12-27 22:01:21
Score: 2
Natty:
Report link

I suggest you try making another query where you extract the data and aggregate it according to the average you need to calculate. Once you have your dataset, you can directly merge it with the first one you extracted. The commands for averaging and aggregation are directly available with LINQ.

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

79312851

Date: 2024-12-27 21:53:19
Score: 2
Natty:
Report link

After some analysis of the error, it was the config property ${scheduler.flowTrigger.parallelForEach.maxConcurrency} that was empty "" and it shouldn't

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

79312848

Date: 2024-12-27 21:52:19
Score: 1
Natty:
Report link

i used google_generative_ai package and did it like this:

This site really helped me

final content = [
        Content.text(prompt),
        Content.data("audio/aac", await File(_recordedFilePath!).readAsBytes()),
      ];
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kapkap

79312846

Date: 2024-12-27 21:51:19
Score: 1
Natty:
Report link

This issue was caused by how the field was set. I was setting the data through pydantic model_dump_json.

raw_data = DataRaw(
    data=customer.model_dump_json(),
)

This however saved the JSON just as a string. Too bad SQLAlchemy gave no errors/warnings for that.

The problem was solved by replacing model_dump_json with model_dump.

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

79312837

Date: 2024-12-27 21:45:17
Score: 7 🚩
Natty: 6
Report link

how long did it take to get verified?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: andi

79312832

Date: 2024-12-27 21:41:15
Score: 1.5
Natty:
Report link

The issue was how I was executing the test in Xcode.

Test button

Pressing the play button next to the @Test annotation runs the test with a single argument.

Suite button

Pressing the play button next to the @Suite annotation runs the test with all arguments. Unfortunately, this also run all tests in the suite.

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

79312824

Date: 2024-12-27 21:35:15
Score: 1
Natty:
Report link

default can also improve maintainability with structs, ie if I change

public class MyDto
{
    public int Id { get; set; }
}

to

public class MyDto
{
    public int? Id { get; set; }
}

then

if (dto.Id == default)

will continue to function just fine.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can also
  • Low reputation (0.5):
Posted by: mariusz96

79312821

Date: 2024-12-27 21:34:14
Score: 1.5
Natty:
Report link

I've found it here BTW

\\wsl.localhost\docker-desktop\mnt\docker-desktop-disk\data\docker\containers
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mostafa Hidari

79312810

Date: 2024-12-27 21:31:13
Score: 3
Natty:
Report link

You have to register the closing, doc: https://getbootstrap.com/docs/4.0/components/modal/ you can add to your js:

$('#submit').modal('hide');
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Davide Baldelli

79312807

Date: 2024-12-27 21:25:12
Score: 0.5
Natty:
Report link

The following block in "settings.json" colorizes (), {}, [] :

{
    "workbench.colorCustomizations": {
        "[One Dark Pro]": {  // the colorscheme I am using
            "editorBracketHighlight.foreground1": "#bdb2ff",
            "editorBracketHighlight.foreground2": "#80c4ff",
            "editorBracketHighlight.foreground3": "#acdcdd",
            "editorBracketHighlight.foreground4": "#baff8f",
            "editorBracketHighlight.foreground5": "#fdefb6",
            "editorBracketHighlight.foreground6": "#ff8dad",
        }
    }
}

enter image description here

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

79312790

Date: 2024-12-27 21:15:09
Score: 11 🚩
Natty: 5.5
Report link

I am facing the same situation. Were you able to solve it? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: frenkg

79312779

Date: 2024-12-27 21:07:07
Score: 0.5
Natty:
Report link

Figured out the answer while I was writing the question. Run this in powershell:

PS> Start-Process notepad++ -ArgumentList "-multiInst -nosession"

Please note, this window will not reopen if you close notepad++ like the "default session" does. Also note, if you run powershell as administrator, then notepad++ will also open in administrator mode

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

79312768

Date: 2024-12-27 20:58:05
Score: 3.5
Natty:
Report link

i got assistance from xiaospy1 platform on tiktok

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

79312763

Date: 2024-12-27 20:54:04
Score: 1.5
Natty:
Report link

@artioni in the comments found the solution.

Just an assumption, can't be the issue be related to filed name, I refer that is starting with is which in Java is considered getter for boolean field while here you have a String?

The first field with the keyword is within it gets confused with the actual keyword. By simply changing the fields to exclude is, then all data is added to the database correctly.

EDIT: Doing a bit of research helped me understand valid keys in JSON:

Do not use the reserved keywords that are generally used in programming languages. They can lead to unexpected behavior.

In which is is a common reserved keyword in many programming languages.

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

79312760

Date: 2024-12-27 20:54:04
Score: 1.5
Natty:
Report link

You might have new keyboard shortcuts since the last update, which you can modify or delete.

Enter "Preferences: Open Keyboard Shortcuts" on the command palette, type Ctrl + Enter, remap or delete the mappings you do not want.

enter image description here

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

79312757

Date: 2024-12-27 20:49:03
Score: 3.5
Natty:
Report link

You have to manually close the modal after submitting

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

79312752

Date: 2024-12-27 20:47:03
Score: 1.5
Natty:
Report link

I upgraded the generativeai dependency from 0.2.2 to 0.9.0 and now it works. Give that a try 👍

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

79312746

Date: 2024-12-27 20:41:02
Score: 2.5
Natty:
Report link

I was having the same issue. Then felt it's probably something to do with VS Code. I realized I'd recently reinstalled Python and had not rebooted the IDE since then. Rebooted VS Code and the issue was resolved.

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

79312724

Date: 2024-12-27 20:25:59
Score: 2.5
Natty:
Report link

Well, I didn't solve the problem, and while I don't recall the exact nature of the problem anymore, I remember that my solution involved removing Selenium from the project and migrating my API from Render to Railway. After these changes, everything functioned correctly. I suspect the core issue was related to an unstable IP address associated with a specific port on the previous hosting service (Render).

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

79312723

Date: 2024-12-27 20:22:58
Score: 2.5
Natty:
Report link

Similar question with context that may be helpful.

I'm a fan of using OpenTelemetry because it "just works". Spring has done all of the integration work to let us get our base cases for observability done.

Reasons:
  • RegEx Blacklisted phrase (1): Similar question
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: TinaC

79312722

Date: 2024-12-27 20:21:57
Score: 0.5
Natty:
Report link

This worked for me in Android Studio Ladybug:

First add this in build.gradle (of the 'app' folder):

dependencies {
implementation("com.github.eincs:android-gpuimage:v1.4.1-eincs-1.0.1")}

Then in settings.gradle include this appropriately and sync the project:

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
    google()
    mavenCentral()
    maven ("https://jitpack.io")
    jcenter()
}}

You can refer to these links:

Could not find method dependencyResolutionManagement() for arguments [build_ckqar66poaozqtyzw4dyn6sx4$_run_closure3@a921a13] on project app

https://jitpack.io/#gradle

Reasons:
  • Blacklisted phrase (1): these links
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eric Thogo

79312718

Date: 2024-12-27 20:19:56
Score: 6.5 🚩
Natty:
Report link

Can you show an image of the errors and also the code where you are putting new articles ? because only with a form we can't help you! tahnks!

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Ignacio Olivieri

79312711

Date: 2024-12-27 20:13:54
Score: 11.5
Natty: 7.5
Report link

I have the same problem, do you find a solution?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): do you find a
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Diego Leon

79312708

Date: 2024-12-27 20:12:53
Score: 1
Natty:
Report link

I currently use this

const doc = new jsPDF();
doc.autoPrint();
window.open(doc.output("bloburl"));

works on Chrome and Firefox

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

79312704

Date: 2024-12-27 20:10:53
Score: 3.5
Natty:
Report link

toast.success("Wow so easy!", { theme: "colored" }); //set your theme

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

79312702

Date: 2024-12-27 20:08:52
Score: 3
Natty:
Report link

Is it possible move UP a Outlook profile where already multiple profiles were configured ? By using registry key? Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles Let I want to move Gmail to top and move Yahoo to down as in this attached I am not asking Always use this profile drop down

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Manas Dash

79312697

Date: 2024-12-27 20:05:51
Score: 1.5
Natty:
Report link

I also encountered this error message in Visual Studio 2022 when trying to compile the standard library with the module syntax (namely import std;) turns out it was related with the /Z7 flag, and when switch to /Zi it worked just fine !

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

79312688

Date: 2024-12-27 19:59:50
Score: 2.5
Natty:
Report link
  1. Which way was used for install Node.js? Try to use brew install
  2. Remove current project and pull from remote git and try to fresh boot
  3. Check for existing all required files, such as .env
  4. If u have installed docker, try to boot project there, maybe something wrong with your Mac configuration Hope, something will help u :)
Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: Zakhar_627

79312673

Date: 2024-12-27 19:51:49
Score: 2
Natty:
Report link

tell application "workflow" to open "Macintosh HD:Users:user_name:Library:Mobile Documents:com~apple~CloudDocs:test.pdf"

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

79312668

Date: 2024-12-27 19:49:48
Score: 0.5
Natty:
Report link

You're not alone in this struggle—finding a font like Math Bold Script as a standard TTF or OTF is notoriously challenging. The issue lies in how these characters are encoded and rendered:

Unicode Limitation: Math Bold Script characters exist as extended Unicode glyphs. These are typically rendered through Unicode fallback mechanisms, which graphic software often doesn’t fully support.

Lack of Ready-to-Use Fonts: Fonts containing these glyphs are usually embedded in specialized systems (like LaTeX) and not distributed as standard TTF or OTF files.

Technical Barriers: Extracting these glyphs into a font file for universal use requires significant effort, as converting Unicode fallback-rendered characters into scalable and editable formats is nearly impossible with standard tools.

But there's good news! To address this gap, I developed Freaky Font, inspired by Math Bold Script and available in TTF and SVG formats. Unlike traditional solutions, Freaky Font allows you to use these bold script characters as a standalone, fully functional font in any software. Each glyph matches its Unicode counterpart—𝓐 looks like A, 𝓑 like B, and so on.

Download Freaky Font at https://fontfreaky.com/ and start integrating this bold and elegant style into your projects with ease. No more workarounds—just pure creativity unleashed!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Артём Кан

79312665

Date: 2024-12-27 19:47:48
Score: 2
Natty:
Report link

@cmdlineuser in polars discord answered with:

pl.col("sights").list.eval(pl.element().struct.field("name").value_counts(sort=True)).list.head(2)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sebosp

79312657

Date: 2024-12-27 19:40:46
Score: 0.5
Natty:
Report link

For me, this worked on VS Code for Linux (v 1.96.2) . I had to include the hash symbols on both lines to get bold to work.

### <div id="Section_1"></div>
### Section 1

And for links to this section:
[Section 1](#Section_1)

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

79312645

Date: 2024-12-27 19:32:43
Score: 6.5 🚩
Natty: 5.5
Report link

Please check this document to manage users using the extension. Details in this blog explained clearly. https://medium.com/@wasiualhasib/streamlining-postgresql-access-control-with-the-manage-user-permissions-extension-5a0e98096197

or go to github document.

https://github.com/pgmode/manage_user_permissions

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): Please check this
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sheikh Wasiu Al Hasib

79312639

Date: 2024-12-27 19:27:42
Score: 3
Natty:
Report link

By adding https://github.com/apollographql/apollo-ios.git SPM package select up to Next Major Version with 0.50.0 and only select Apollo option.

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

79312637

Date: 2024-12-27 19:25:41
Score: 2
Natty:
Report link
const result = await navigator.mediaCapabilities.decodingInfo({
    type: 'media-source',
    audio: {
        contentType: 'audio/mp4;codecs=ec-3',
        channels: 16,
        spatialRendering: true
    }
});
console.log(result);

https://webapi.streaming.dolby.com/v0_9/help_files/topics/checking_immersive_capability.html

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

79312627

Date: 2024-12-27 19:22:41
Score: 0.5
Natty:
Report link

Drag spinner from its textfield: enter image description here

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Spinner;
import javafx.scene.control.SpinnerValueFactory;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class DraggableSpinnerApp extends Application {

    @Override
    public void start(Stage primaryStage) {
        Spinner<Integer> spinner = new Spinner<>();
        
        SpinnerValueFactory<Integer> valueFactory = new SpinnerValueFactory.IntegerSpinnerValueFactory(Integer.MIN_VALUE, Integer.MAX_VALUE, 0);
        spinner.setValueFactory(valueFactory);
        // There will be a little conflict between text selection and dragging
        spinner.setEditable(true);
        
        final double[] mouseAnchorY = {0d};
        final double[] spinnerValOnStartDrag = {0d};
        
        spinner.getEditor().setOnMousePressed(event -> {
            // Capture the starting Y position and spinner value
            mouseAnchorY[0] = event.getSceneY();
            spinnerValOnStartDrag[0] = spinner.getValue();
        });

        // Mouse dragged event to calculate new value
        spinner.getEditor().setOnMouseDragged(event -> {
            double deltaY = mouseAnchorY[0] - event.getSceneY(); // Calculate the delta

            // Observe values in console
            System.out.printf("%s %s %s delta=%s%n",mouseAnchorY[0],event.getSceneY(),event.getEventType(),deltaY);
            
            // For bigger initial values we want proportionally big delta factor
            var valAbs = Math.abs(spinnerValOnStartDrag[0]);
            var factor = String.valueOf(valAbs).length();
            
            int newValue = (int) (spinnerValOnStartDrag[0]+deltaY*factor);
            spinner.getValueFactory().setValue(newValue);
        });
        

        VBox vbox = new VBox(spinner);
        Scene scene = new Scene(vbox, 400, 200);
        primaryStage.setScene(scene);
        primaryStage.setTitle("Draggable Spinner Example");
        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}

Maybe it would be better to bind this listener to buttons instead.

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

79312611

Date: 2024-12-27 19:13:39
Score: 2
Natty:
Report link

For Vue templates do:

<!-- /* v8 ignore next 5 */ -->
<template>
  <div v-if="someProp">
    {{ someProp }}
  </div>
</template>

In case you happen to run into this coverage bug:

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

79312609

Date: 2024-12-27 19:12:37
Score: 6 🚩
Natty: 5
Report link

What this is still not working! It's almost 2 years

Reasons:
  • Blacklisted phrase (2): still not working
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What this is
  • Low reputation (1):
Posted by: Omar BS

79312599

Date: 2024-12-27 19:06:35
Score: 2
Natty:
Report link

Firstly you should import this library. (from selenium.webdriver.common.by import By) Then, you can create an assignment called button. After call the function. Like that; button = driver.find_element(By.ID, "button-id")
button.click() You can set it with your own code.

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

79312590

Date: 2024-12-27 19:03:35
Score: 1.5
Natty:
Report link

The problem is that not every device has a name. If it scans a device without name and shows in logcat, it gives null and crash. To solve it just add if statement and check whether getName is null.

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

79312589

Date: 2024-12-27 19:01:34
Score: 1
Natty:
Report link

I found the answer to my own question elsewhere. In the slot function within the QMainWindow object you would, after defining the QWidget object, write the code:

self.widget.setWindowModality(QtCore.Qt.WindowModality.ApplicationModal)

Applying an integer as a parameter to the self.widget.setWindowmodality(2) function worked in PyQt5 but is deprecated in PyQt6 and PySide6 therefore should be avoided as both ways work in PyQt5

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

79312581

Date: 2024-12-27 18:53:33
Score: 1.5
Natty:
Report link

You can set your href to #! instead of #

For example,

<a href="#!">Link</a>

will not do any scrolling when clicked.

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

79312567

Date: 2024-12-27 18:44:31
Score: 1
Natty:
Report link

Please double check the URL you are editing. There are times where users edit a temporary domain without noticing. Other solution its to flush the server cache. If this doesn't work, then contact the server directly to find the issue.

I hope this helps!

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

79312564

Date: 2024-12-27 18:42:30
Score: 2.5
Natty:
Report link

hey reply guy not sure if you found a fix but I seemed to fix my issue. Im running voidlinux so my installs were a bit different but in the AUR there is a blueman package that contain dependencies you might want to try downloading. My issue on void was not having the gtk+3-devel pacakge installed. might be different for u arch users but try manually installing the dependencies that are listed here https://archlinux.org/packages/extra/x86_64/blueman/

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

79312558

Date: 2024-12-27 18:40:29
Score: 9 🚩
Natty: 4
Report link

even i getting this error but i couldnt figure why im still getting this error and also im using AKS(Azure Kubernetes Service) using 3 replicas-set of mongodb pod

Here is my error MongoServerError[Unauthorized]: not authorized on admin to execute command

and following this documentation for install https://github.com/mongodb/mongodb-kubernetes-operator/blob/master/config/samples/mongodb.com_v1_mongodbcommunity_cr.yaml

plse help me how can i solve

Reasons:
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): plse help me
  • RegEx Blacklisted phrase (1): i getting this error
  • RegEx Blacklisted phrase (1): im still getting this error
  • No code block (0.5):
  • Low reputation (1):
Posted by: cloudnetwork

79312549

Date: 2024-12-27 18:33:27
Score: 1.5
Natty:
Report link

Your case statement has an END, but the trigger itself does not. Add another END.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Caleb Carl

79312542

Date: 2024-12-27 18:30:25
Score: 4
Natty:
Report link

I prefer you use Swiper or Slick slider with responsive

that will solve your problem

https://kenwheeler.github.io/slick/

https://swiperjs.com/demos

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

79312541

Date: 2024-12-27 18:29:24
Score: 4.5
Natty: 4
Report link

Ninja type game's like ninja archi

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

79312536

Date: 2024-12-27 18:27:23
Score: 0.5
Natty:
Report link

Using STRING_SPLIT will do what you want.

SELECT value AS food
     , SUM(x.count) AS count
FROM record AS x
    CROSS APPLY string_split(REPLACE(REPLACE(x.food_preference, '[', ''), ']', ''), ',') AS z
GROUP BY value;

DBFiddle

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

79312535

Date: 2024-12-27 18:27:23
Score: 0.5
Natty:
Report link

The issue described is generally clear, yet nothing is said about the NIC vendor and the exact model in use (PCI IDs from lspci output would be ideal). The use of the bucket mempool already rings a bell as it is known to be used on a specific datapath implementation of one of the NIC vendors, yet the user can enforce a specific mempool type at build time, so it would be better to clarify whether it's indeed the said vendor-specific case or the OP has enabled "bucket" themselves.

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

79312534

Date: 2024-12-27 18:27:23
Score: 0.5
Natty:
Report link

You can use spread operator syntax(this creates a shallow copy too but you may save some of your hassle) For eg,

const [object , setObject] = useState({ prop1:val1, prop2:val2, prop3:val3, });

Now, while changing the state : useState( {...object, propertyToBeChanged:newValue} )

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tazim Esaf roll no 26

79312530

Date: 2024-12-27 18:25:22
Score: 0.5
Natty:
Report link

I was able to get it working. I had to change my mutation file.

mutation {
  category_insert(
    data: {id: "2709c745-34c5-495d-9c89-85c4402350bf", active: false, description: "", name: "Home & Garden"}
  )

  category_insertMany(
    data: [
      {
        id: "22222222-3333-4444-5555-666666666666", 
        parent: {id: "2709c745-34c5-495d-9c89-85c4402350bf"}, 
        active: false, 
        description: "", 
        name: "Adult Clothing"
      }

In my original question, I was trying to add the parent category and children categories in the same _insertMany mutation.

So under the hood, graphql needed the parent record created first, then create the child records. After I made the above modification this mutation worked (I verified it in the database)

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jim Shelly

79312522

Date: 2024-12-27 18:19:21
Score: 0.5
Natty:
Report link

I also had this problem after upgrading from RN 0.74.x to 0.76.5. The upgrade helper said to update the iOS deployment target to 15.1, but I also had the following in my ios/Podfile file which had to be updated:

platform :ios, '14.0'

to

platform :ios, '15.1'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eirik H