79280043

Date: 2024-12-14 04:12:03
Score: 3
Natty:
Report link

conigure httpconduit along with setting maxredirects set up httpclientproxy

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

79280037

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

The Python PATH you can setup when you are installing Python, if you checked it. Or you can use sublime text to code and cmd to run. Its better way than trying to setup envi on VS Code with Python

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

79280020

Date: 2024-12-14 03:41:57
Score: 2.5
Natty:
Report link

in the chat playground, there should be a view code option/button (left top) that will generate corresponding code block that you can call. The restful openai call should contain AI search index parameters that references document knowledge base. Worth giving it a try.

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

79280013

Date: 2024-12-14 03:26:55
Score: 1.5
Natty:
Report link

Maybe you just need run CMD as Admin then command python -v again. It worked for me.

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

79280007

Date: 2024-12-14 03:24:55
Score: 2.5
Natty:
Report link

To resolve I modified the B2C_1A_TRUSTFRAMEWORKBASE policy selfAsserted to a later version. However, I also had to add ":contract" in addition to upgrading the version from 1.1.0 to 2.1.7.

Credit to bolt-io for his answer here: https://stackoverflow.com/a/79277857/312826

enter image description here

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: davewilliams459

79280004

Date: 2024-12-14 03:22:54
Score: 5.5
Natty:
Report link

Do you have the following in your build.gradle?

android {
    buildFeatures {
        androidResources = true
    }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: vlazzle

79279986

Date: 2024-12-14 03:05:51
Score: 1
Natty:
Report link

I'm using IPopupService instance to open and close the popups.

I can elaborate it if you need further implementation.

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

79279985

Date: 2024-12-14 03:04:50
Score: 1.5
Natty:
Report link

Try: =Left(D2,find(".",D2,1)-1)

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • High reputation (-2):
Posted by: Ed Nelson

79279980

Date: 2024-12-14 03:00:50
Score: 1.5
Natty:
Report link

I believe CodeSignal AI is correct in identifying an issue with your solution. Consider this test case: ["apple", "banana", "banana"]. Your code currently returns "", but the answer should be "apple".

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

79279975

Date: 2024-12-14 02:55:49
Score: 1
Natty:
Report link

For anyone looking for a newer option (currently .Net 6/8), and one that works on Linux or Windows, then consider KuzniaSolutions.LdapClient (Full disclosure, I am the author). It also completely supports security identifiers on all platforms, which is currently unique.

https://www.nuget.org/packages/KuzniaSolutions.LdapClient

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

79279972

Date: 2024-12-14 02:50:48
Score: 0.5
Natty:
Report link

If I understand what your looking for. You have the const currentPage within the loop, so it will never be anything but 1 for every page.

Add this above the loop.

let currentPage = 0;

Then have this within the loop, before the createHeader()

currentPage++;

Should work better.

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

79279967

Date: 2024-12-14 02:41:45
Score: 6.5 🚩
Natty:
Report link

How can you know it? I'm Vietnamese but I haven't heard it. I don't say it wasn't true but I just want know why no news about it in few days ago. Is it just happen today? If you have any news about it, please give me a link. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): please give me
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can you
  • Low reputation (1):
Posted by: Zaria

79279964

Date: 2024-12-14 02:40:43
Score: 6.5 🚩
Natty:
Report link

I have the same error I have to install Xvfb to use: xvfb :99 & export DISPLAY=':99'

In order to TIBCO executes normally

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28775640

79279959

Date: 2024-12-14 02:33:41
Score: 0.5
Natty:
Report link

In order to install realm, requires as follows, in build.gradle (:app)

apply plugin: 'realm-android'

in build.gradle (:Project level)

buildscript {
    ext.realm_version = '10.15.1'
    repositories {
        google()
        maven { url "https://github.com/realm/realm-java" } // Realm repository
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.3.1'
        classpath "io.realm:realm-gradle-plugin:$realm_version"
        classpath "io.realm:realm-gradle-plugin:$realm_version-transformer-api"
        classpath "io.realm:realm-gradle-plugin:10.15.1" // Use the latest version
    }
}

enter image description here

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

79279954

Date: 2024-12-14 02:28:41
Score: 0.5
Natty:
Report link

You can use the disableVerticalSwipes method to prevent unwanted vertical swipes and the enableVerticalSwipes method to enable them. These methods control the state of the isVerticalSwipesEnabled property in Telegram Mini Apps.

According to the Telegram Web App documentation:

If isVerticalSwipesEnabled is set to true, vertical swipes by the user will minimize the mini app. If set to false, the mini app will only be minimized when the user swipes the header.

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Low reputation (1):
Posted by: آرمین رزاق نژاد

79279953

Date: 2024-12-14 02:28:41
Score: 1
Natty:
Report link

Finally, I found a solution to the issue of handling events from a C# COM object in VBA using the WithEvents keyword. Below is the code and explanation that helped me resolve the problem:

C# Code :

In the C# code, I implemented a COM object that raises an event (OnTaskCompleted) when a task is completed. The key part is the use of the [ComSourceInterfaces] attribute, which allows the COM object to expose the event to VBA.

TaskRunner.cs

using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Collections.Concurrent;

namespace ComEventTest
{
    [Guid("cc6eeac0-fe23-4ce4-8edb-676a11c57c7c")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    public interface ITaskRunner
    {
        [DispId(1)]
        void RunTask(string input);
    }

    [Guid("619a141c-5574-4bfe-a663-2e5590e538e2")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    public interface ITaskRunnerEvents
    {
        [DispId(1)]
        void OnTaskCompleted(string result);
    }

    [ComVisible(true)]
    [Guid("9acdd19f-b688-48c0-88d9-b81b7697d6d4")]
    [ClassInterface(ClassInterfaceType.None)]
    [ComSourceInterfaces(typeof(ITaskRunnerEvents))]
    public class TaskRunner : ITaskRunner
    {
        [ComVisible(true)]
        public delegate void TaskCompletedEventHandler(string result);

        [DispId(1)]
        public event TaskCompletedEventHandler OnTaskCompleted;

        private ConcurrentQueue<string> taskQueue = new ConcurrentQueue<string>();
        private bool isProcessingQueue = false;

        public void RunTask(string input)
        {
            taskQueue.Enqueue(input);
            ProcessQueue();
        }

        private async void ProcessQueue()
        {
            if (isProcessingQueue)
                return;

            isProcessingQueue = true;

            while (taskQueue.TryDequeue(out string input))
            {
                try
                {
                    await Task.Delay(5000); // Simulate work
                    OnTaskCompleted?.Invoke($"Task completed with input: {input}");
                }
                catch (Exception ex)
                {
                    OnTaskCompleted?.Invoke($"Task failed: {ex.Message}");
                }
            }

            isProcessingQueue = false;
        }
    }
}

VBA Code :

In the VBA code, I used the WithEvents keyword to handle the OnTaskCompleted event. This allows VBA to listen for and process events raised by the C# COM object. I also created an event handler class (TaskRunnerEventHandler) to handle the event and process the results.

Class Module: TaskRunnerEventHandler

Option Compare Database
Option Explicit

Public WithEvents taskRunner As ComEventTest.taskRunner

Private Sub taskRunner_OnTaskCompleted(ByVal result As String)
    'MsgBox result
    Debug.Print result
End Sub

Public Sub InitializeTaskRunner()
    Set taskRunner = New ComEventTest.taskRunner
End Sub

Public Sub FireEvent(poraka As String)
    taskRunner.RunTask poraka
End Sub

Usage module

Option Compare Database
Option Explicit

Dim eventHandlers As Collection

Sub InitializeEventHandlers()
    Set eventHandlers = New Collection
End Sub

Sub TestTaskRunner(Optional retr As String)

    If eventHandlers Is Nothing Then
        InitializeEventHandlers
    End If

    Dim newEventHandler As TaskRunnerEventHandler
    Set newEventHandler = New TaskRunnerEventHandler

    newEventHandler.InitializeTaskRunner

    eventHandlers.Add newEventHandler

    Dim i As Integer
    For i = 1 To 10
        newEventHandler.FireEvent "Task " & retr & "-" & i
        Sleep 100 ' Simulate delay for async task running
        Debug.Print "Task " & retr & "-" & i & " is running asynchronously!"
    Next i
    
End Sub

Sub TestTaskRunner_MultCalls()
    ' Fire multiple calls to TestTaskRunner
    Dim i As Integer
    For i = 1 To 10
        Debug.Print "New CALL SUB fire " & i
        TestTaskRunner CStr(i)
        Sleep 500 ' Simulate delay between multiple calls
    Next i
End Sub

Explanation:

The C# COM object exposes an event (OnTaskCompleted) that is triggered after completing a task asynchronously.

In VBA, I used the WithEvents keyword to declare the COM object and catch the (OnTaskCompleted) event. This allows me to process the result of each task in the taskRunner_OnTaskCompleted method. I also simulated multiple task submissions in the VBA code using Sleep to delay the execution and give time for the events to be raised and handled.

This solution worked, and now I can handle asynchronous events from the C# COM object seamlessly in VBA.

Any ideas to improve the above solution are welcome!

Reasons:
  • Blacklisted phrase (1): Any ideas
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Adrijano Toys Shop

79279940

Date: 2024-12-14 02:08:37
Score: 4
Natty: 5
Report link

You just saved me a ton of time. Deactivating the security plugins was the key. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: moritzvii

79279937

Date: 2024-12-14 02:06:36
Score: 4
Natty: 5
Report link

I used the link given and so far so good, thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Bonacci

79279934

Date: 2024-12-14 02:03:35
Score: 1.5
Natty:
Report link

Older Butterknife versions still worked, refer to the Butterknife changelog docs

implementation 'com.jakewharton:butterknife:10.0.0'  
annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'

enter image description here

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

79279932

Date: 2024-12-14 02:00:35
Score: 2
Natty:
Report link

In my case I tried to an empty dictionaries under Tracing Domains and Nutrition Label Types and it works fine. My iOS build approved. Because the error simply states that "Keys and values in your app’s privacy manifests must be valid." and due to empty dictionaries that error occured.

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

79279930

Date: 2024-12-14 01:58:34
Score: 1.5
Natty:
Report link

Client Certificate Authentication with Spring Boot

https://medium.com/geekculture/authentication-using-certificates-7e2cfaacd18b

# Define a custom port instead of the default 8080
server.port=8443

# Tell Spring Security (if used) to require requests over HTTPS
security.require-ssl=true

# The format used for the keystore 
server.ssl.key-store-type=PKCS12
# The path to the keystore containing the certificate
server.ssl.key-store=classpath:keystore.p12
# The password used to generate the certificate
server.ssl.key-store-password= {your password here}
# The alias mapped to the certificate
server.ssl.key-alias=tomcat
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chizl

79279921

Date: 2024-12-14 01:37:31
Score: 2.5
Natty:
Report link

Ok but... can you animate rotation of parent without rotating child? Been trying to crack this for a while but am stuck... :(

.layout {
  display: grid;
  grid-template-columns: 1fr 4fr;
  height: 100vh;
  width: 80%;
  padding-top: 25px;
  gap: 1rem;
}
.nav {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-pic {
  border-radius: 50%;
  width:100px;
  height:100px;
}

#cont{
  background: linear-gradient(to top left, #28b487, #7dd56f);
  width: 100%;
  border-radius: 50%;
  padding: 10px;
  margin: 0;
  line-height: 0;
  position: relative;
  animation: rotate 5.2s infinite linear;
 }
  
#box{
  background: #000000;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 0;
  margin: 0;
}


@keyframes rotate {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
<div class="layout">
  <div class="nav">
  <!--  a div dynamically positioned on page... -->
  
    <!--  content to animate -->
    <div id="cont">
      <!--  keep this still -->
      <div id="box">
        <img src="maple.jpg" class="profile-pic">
      </div>
    </div>
    
    
  </div>
</div>

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (1.5): am stuck
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Paul

79279920

Date: 2024-12-14 01:36:31
Score: 1
Natty:
Report link

As Jeffrey's answer said, window.performance.now() gives microsecond accuracy on most browsers. However, the actual value it returns is in milliseconds; it's just that its decimal portion enables microseconds to be calculated. I.e.: window.performance.now() * 1000.

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

79279919

Date: 2024-12-14 01:35:31
Score: 1.5
Natty:
Report link

Check the setup.exe here : C:\Program Files (x86)\Microsoft Visual Studio\Installer and make sure if the full installation has been completed

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

79279914

Date: 2024-12-14 01:29:29
Score: 3.5
Natty:
Report link

I am writing to report a fraudulent transaction involving my account Unfortunately an unauthorized transfer of funds has been made from my account to another person account via RTGS I kindly request your urgent assistance in resolving this matter and taking necessary steps to prevent further unauthorized transactions I am Valuable customer RTGS banking ke through 253000 I would like to inform pls investigate refund the money Pls look into take the action pls ensure me given postive response

Reasons:
  • RegEx Blacklisted phrase (2): urgent
  • No code block (0.5):
  • Low reputation (1):
Posted by: ABHISHEK SINGH

79279910

Date: 2024-12-14 01:27:29
Score: 3.5
Natty:
Report link

I love it! This part is Product Sans the font I cannot use it. It is shortened to 'Sans'. I think I can use it on CSS.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Reyansh Mishra

79279903

Date: 2024-12-14 01:18:28
Score: 1.5
Natty:
Report link

As of today December 2024 this older Butterknife version is still working:

implementation 'com.jakewharton:butterknife:8.7.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'

enter image description here

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

79279900

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

Same problem with me, when I use conda create R environment.

Below it work for me, change the path of site-library.

Try this instead.

sudo chmod 777 -R /usr/local/lib/R/site-library
Reasons:
  • Whitelisted phrase (-1): Try this
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: zemise_

79279892

Date: 2024-12-14 01:06:26
Score: 2
Natty:
Report link

My first guess would've been that your gibberish was Shift JIS mistakenly encoded as IBM437. Personally, I'd use this website here in the future (be sure to push the Swap button after encoding but before decoding). (I used to use string-functions.com for this sorta thing, but it's gone now.)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marco Trevisan

79279889

Date: 2024-12-14 00:59:24
Score: 1
Natty:
Report link

I got the following two errors when installing.

1.make failedNo such file or directory - make
2.make: gcc: No such file or directory

The following command solved my problem:

sudo apt install -y make gcc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BabyFire

79279876

Date: 2024-12-14 00:50:22
Score: 4
Natty: 4
Report link

try a link opener maybe not too sure tbh

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

79279870

Date: 2024-12-14 00:42:21
Score: 0.5
Natty:
Report link

You may be experiencing a bug. As was previously stated, the Chrome badge is added to bookmark icons. So you know it is not a PWA.

This can happen even if the Play Store is unreachable, even if everything is copasetic on the server, the client, the manifest and the website. "Unreachable" includes there being no signed-in user. For mysterious reasons, Play Store access is needed currently to install a PWA.

You can weigh in on this. A bug report has been filed at https://issues.chromium.org/issues/372866273. I encourage all readers to make their way over and vote for it.

We really care because our users are often in places where the Play Store is almost unreachable. Our users give up before the http transaction with the Play Store times out. This, even though the web server is right next door.

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

79279869

Date: 2024-12-14 00:40:20
Score: 1.5
Natty:
Report link

As old as this thread is, I think it worth adding that this "behavior" differs between browsers. So advice ought always be given specifying which browser, and ideally also which version that the suggested solution works on. Generally speaking it has been my experience that Firefox and it's "derivatives" have been the browsers that curtailed this the hardest... Though can of course change over time... and I could be wrong

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

79279866

Date: 2024-12-14 00:37:20
Score: 1.5
Natty:
Report link

Okay, so I guess posting the question is all I needed to find the answer. The answer was a combination of

reduce($$ ++ $)

which helped reduce the array of key/value pairs down into a single JSON object

and putting the proper parens() around the functions to include both the fieldMappings and the reduce

and then being able to put the as Object after the reduce, but before the end of the function that spits out the array of objects

Makes sense when I really think about it, but I'm new to DataWeave script and so the notion of nested functions isn't something I am familiar with.

Anyway, for those interested here is what worked:

%dw 2.0
input csvData application/csv
input fieldMappings application/json
input objectProperties application/json
var apexClass = objectProperties.ObjectName

output application/apex
---

csvData map ((row) ->
    (
        (
        fieldMappings map (fieldMapping) ->
        (fieldMapping.target) : if(row[fieldMapping.source] != "") row[fieldMapping.source] else fieldMapping."defaultValue"
        )
        reduce ($$ ++ $)
    ) as Object
)
Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: caleb

79279862

Date: 2024-12-14 00:32:19
Score: 0.5
Natty:
Report link

unexpected token ',' means "that comma is nonsense". Lean 3 had commas at the end of lines, Lean 4 does not. Delete the comma, and then you'll get another error unexpected token ',' which means you should delete that comma too. Repeat a third time. You'll then get an unknown tactic error because you're using the Lean 3 cases syntax, not the Lean 4 cases syntax. Did an LLM which can't tell the difference between Lean 3 and Lean 4 write this code by any chance? You can change cases to cases'. You'll then get another error about a comma etc etc. Basically your code doesn't work because it's full of syntax errors.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kevin Buzzard

79279860

Date: 2024-12-14 00:30:17
Score: 5.5
Natty: 4.5
Report link

I tried deleting my credentials.json, and it worked once. Now, couple days later I'm facing the same issue again "Access token refresh failed: invalid_grant: Token has been expired or revoked."

Any new solution for this?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user28774891

79279851

Date: 2024-12-14 00:20:15
Score: 1
Natty:
Report link

I believe I have found the solution to this myself, by reading the words of the wise Mr Graham Dumpleton, author of mod_wsgi: "if you are going to leave these running permanently, ensure you use --server-root option to specify where to place generated files. Don't use the default under /tmp as some operating systems run cron jobs that remove old files under /tmp, which can screw up things."

I was running things under /tmp. I am now adding --server-root to my "python manage.py runmodwsgi" command, and will see whether this resolves the issue.

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

79279849

Date: 2024-12-14 00:19:14
Score: 2
Natty:
Report link

Your L1-regularized logistic regression (a.k.a. Lasso penalty) might pick different subsets of correlated features across runs because L1-regularization enforces sparsity in a somewhat arbitrary way when correlation is present. Zeroed-out coefficients aren’t necessarily “worthless”; they may just be overshadowed by a correlated feature that the model latched onto first.

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

79279848

Date: 2024-12-14 00:19:14
Score: 1
Natty:
Report link

This issue was resolved by upgrading to Aspose version 24.12.0.

@Hoodlum, I don't think this is what you're dealing with, but I chose to address the security vulnerability reference in Aspose v 24.12.0's reference to System.Security.Cryptography.Pkcs 8.0 with a direct reference:

<PackageReference Include="System.Security.Cryptography.Pkcs" Version="9.*" />

This override passed our test suite, including the use of password protection (which did not work under Aspose 21.12.0).

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • User mentioned (1): @Hoodlum
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Eric Patrick

79279843

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

found it in Dependencies - .NET 8.0 - Projects - OpenAI, right click - Delete (maybe it was Edit - Delete, I don't remember)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: me.at.coding

79279828

Date: 2024-12-14 00:00:10
Score: 2
Natty:
Report link

It sounds like the problem is you are not changing the apple id when you make purchase.

In production users will have their own user account and apple id.

The solution would be to make more test flight accounts so can simulate a different user with a different apple id

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

79279813

Date: 2024-12-13 23:46:08
Score: 0.5
Natty:
Report link

I've get an error AttributeError: 'str' object has no attribute 'pid'
small fix in order to run it: notify = connection.notifies.pop().payload -> notify = connection.notifies.pop()

Here is a full example that was taken from documentation and a bit changed, it is without timeout, thanks @snakecharmerb for link listen.py

import select

import psycopg2.extensions

CHANNEL = 'process'
# DSN = f'postgresql://{USER}:{password}@{HOST}/{DBNAME}'


def listen():
    curs = conn.cursor()
    curs.execute(f"LISTEN {CHANNEL};")

    print("Waiting for notifications on channel 'test'")
    while True:
        select.select([conn], [], [], 5)
        conn.poll()
        while conn.notifies:
            notify = conn.notifies.pop(0)
            print("Got NOTIFY:", notify.pid, notify.channel, notify.payload)


if __name__ == '__main__':
    conn = psycopg2.connect(host=HOST, dbname=DBNAME, user=USER, password=PASSWD)
    # conn = psycopg2.connect(DSN) # alternative connection
    conn.set_isolation_level(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
    listen()
  1. Run listener python listen.py
  2. Via pgAdmin Query Tool or Postgres Shell run select pg_notify('process', 'update'); or just NOTIFY process, 'This is the payload';

note: it should be the same DB, for listener and notifier

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @snakecharmerb
  • Low reputation (0.5):
Posted by: akpp

79279809

Date: 2024-12-13 23:41:07
Score: 3
Natty:
Report link

Combine both component into a parent component.

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

79279797

Date: 2024-12-13 23:33:05
Score: 2
Natty:
Report link

You have used sqlselect twice -- given the corrected code. Check if this works String sqlInsert = " Update Table1 Set ort = 'C' WHERE ID = '10' "; pepaw = conn.prepareStatement(sqlInsert);

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

79279796

Date: 2024-12-13 23:32:05
Score: 2
Natty:
Report link

It's more a npm installation related error. In the render.com settings of your project you should have a build command like that:

npm install && npm run build

enter image description here

for my project i have src/ relative path, don't pay attention.

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

79279783

Date: 2024-12-13 23:23:03
Score: 2
Natty:
Report link

Go to the directory where undetected_chromedriver is installed (usually in site-packages). Open the patcher.py file (located in site-packages/undetected_chromedriver/). Replace the LooseVersion import line from distutils.version with a direct import from packaging.version, which is a more modern and widely used alternative:

Change this

from distutils.version import LooseVersion

To this

from packaging.version import Version

sorry my bad english, use translator

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

79279781

Date: 2024-12-13 23:21:02
Score: 11.5
Natty: 7
Report link

I have the same issue. Did you solve it ?

I don't know how to send thruth data to override document pared with the custom parser.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mélanie GAULT

79279755

Date: 2024-12-13 22:55:59
Score: 1.5
Natty:
Report link

You are litteraly setting this value by doing constpaciente.setTipo_negocio("Tipo_Estabelecimento") as you did it you should retrieve value with getString() method from ResultSet

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

79279752

Date: 2024-12-13 22:54:58
Score: 1
Natty:
Report link

I don't think there is or will be anything in the standard (as of c++26) allowing you to do that at compile time. Few options remain:

The former is trivial and efficient; the second depends on what you may use, and the latter is many orders of magnitude more difficult...

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

79279751

Date: 2024-12-13 22:53:58
Score: 1.5
Natty:
Report link

Fast forward for years to the end of 2024, and we now have a NuGet package called Hardware.Info:

https://github.com/Jinjinov/Hardware.Info

I'm not involved in this project, simply sharing for future searchers.

I'm using it in .NET 8.

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

79279750

Date: 2024-12-13 22:51:57
Score: 4
Natty: 4.5
Report link

Can You use the 'If on edge bounce' block? Please try to clarify your question and maybe add a link to the project you are trying to make.

Reasons:
  • 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 use the
  • Low reputation (1):
Posted by: Twineee

79279742

Date: 2024-12-13 22:47:56
Score: 0.5
Natty:
Report link

You just need to add loop: true into the Howl settings.

this.sounds[audioFile] = new Howl({
              src: [audioFile],
              volume: this.volume,
              preload: true,
              onend: () => {},
              loop: true,
            });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eloi

79279734

Date: 2024-12-13 22:43:55
Score: 4.5
Natty:
Report link

Try use back quotes around line breaks: This how it looks in visual studio

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

79279722

Date: 2024-12-13 22:32:52
Score: 2.5
Natty:
Report link

Although we need to see the JSON response in order to define the problem, but as @NickSlash comment's says, this might be because of invalidation of the JSON.

For example, the JSON below has an extra comma at the end (commas are used to seperate entites in an object. An extra comma at the end makes us to expect for another entity which doesn't exists.):

Reasons:
  • No code block (0.5):
  • User mentioned (1): @NickSlash
  • Low reputation (1):
Posted by: Ali Almasi

79279721

Date: 2024-12-13 22:31:52
Score: 0.5
Natty:
Report link

First of all I suggest you to read more attentively the documentation about CrudRepository method. The answers of your questions is clearly wrote on it. For example, for findAllById(... ids) method, doc says :

If some or all ids are not found, no entities are returned for these IDs.

So, if no ids are found, no entities will be returned and you will got an empty list. Otherwise, if some ids are found, matching entities will be returned and you will got list containing only matching entities. Your method should not have to always return a list whose size is equal to your names list size

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

79279713

Date: 2024-12-13 22:26:51
Score: 3.5
Natty:
Report link
linkvertise(1265898, {whitelist: [], blacklist: [""]});
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrés Román Meza

79279709

Date: 2024-12-13 22:25:51
Score: 1
Natty:
Report link

So, thanks to the comments, I managed to find an answer. When setting attributes like -alpha, some window managers delay applying them until the window is fully realized and shown. By adding root.update_idletasks() before root.attributes("-alpha", 0.5) my script now behaves like the terminal.

The updated code is now:

import tkinter as tk

if __name__ == "__main__":
    root = tk.Tk()
    root.geometry("400x400")
    root.update_idletasks()
    root.attributes("-alpha", 0.5)
    root.mainloop()

Thanks for the help! I am leaving the answer here in case someone faces the same issue in the future.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nathan Gavenski

79279707

Date: 2024-12-13 22:24:51
Score: 1.5
Natty:
Report link

I don't know if is this the best way, but for me solved changing version of the kotlin.android plugin to 2.0.0.

id "org.jetbrains.kotlin.android" version "2.0.0"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rodrigo Murta

79279705

Date: 2024-12-13 22:23:51
Score: 1.5
Natty:
Report link

In my case the fix was editing my C:\windows\system32\drivers\etc\hosts file, adding a entry for my SVN server.

SVN is doing some weird DNS stuff that does not work properly on windows in that it takes forever. This seems to bypass that.

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

79279703

Date: 2024-12-13 22:22:50
Score: 1.5
Natty:
Report link

In my case the fix was editing my C:\windows\system32\drivers\etc\hosts file, adding a entry for my SVN server.

SVN is doing some weird DNS stuff that does not work properly on windows in that it takes forever. This seems to bypass that.

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

79279698

Date: 2024-12-13 22:19:49
Score: 1
Natty:
Report link

If df is the given dataframe with 7 rows,

df.set_index('date', inplace=True)  # date as index

Create the main dataframe df2 with one row per minute

timestamps = pd.date_range('2024-12-12 10:43', '2024-12-14 05:42', freq='1min') 
df2 = pd.DataFrame({'value': np.nan}, index=timestamps)

df2.loc[df.index] = df  # fill with the known values in df
df2['value'].fillna(method='ffill', inplace=True)  # forward fill the missing values (bfill for backfoward)

display(df2[-25:-15])

res

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

79279696

Date: 2024-12-13 22:18:49
Score: 1.5
Natty:
Report link

Since your build appears to start normally, becomes unresponsive midway through the process and restarting the instance restores connectivity, there is most likely a resource exhaustion issue that happens during the build. Try increasing the size of the disk attached to your instance and increasing the allocated RAM and the number of vCPUs you are using.

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

79279694

Date: 2024-12-13 22:17:49
Score: 0.5
Natty:
Report link

did you check console on possible errors? If there is no errors, other possible reason of not rendering is ChangeDetection strategy such as onPush, you need change it to onDefault or use markForCheck() method in a place when you need rendering

   import { Component, ChangeDetectorRef } from '@angular/core';
    
    @Component({
      selector: 'app-example',
      template: `
        <p>Count: {{ count }}</p>
        <button (click)="increment()">Increment</button>
      `,
      changeDetection: ChangeDetectionStrategy.OnPush 
    })
    export class ExampleComponent {
      count = 0;
    
      constructor(private cdr: ChangeDetectorRef) {}
    
      increment() {
        this.count++;
        // Manually trigger change detection
        this.cdr.markForCheck(); 
      }
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (0.5):
Posted by: IgorK

79279687

Date: 2024-12-13 22:12:48
Score: 0.5
Natty:
Report link

To read your data from Excel into Python, you'll want to use the following lines of code:

import pandas as pd

df = pd.read_excel("path_name.xlsx")

This reads in the library most used for tables of data, pandas, and reads in the data from the file into a variable called df, which stands for dataframe.

Then to transform as appropriate, you can do:

df = pd.melt(df, id_vars="Date").rename(columns={"variable": "Name", "value": "On/Off"})

I'll explain the code so you can learn for yourself how to use it in future. pd.melt is a way of changing the format of dataframes. Other methods include df.stack, df.unstack, and df.pivot. Frankly, I can never remember which does what, so I just try them all until something gives me what I want the dataframe to be transformed into.

Setting id_vars="Date" just means that the date column is left alone rather than being transformed, while the other columns (the ones with the people's names) are transformed.

Then I rename the newly transformed columns using .rename({...}) and include a dictionary of the column names I want to replace. This gives me a dataframe that looks like the following:

| Index| Date | Name | On/Off | |-------|-------------|------|--------| | 0 | 1/1/2025 | Bob | 0 | | 1 | 1/2/2025 | Bob | 1 | | 2 | 1/3/2025 | Bob | 1 | | 3 | 1/1/2025 | Joe | 0 | and so on.

I can then write this out to a CSV using:

df.to_csv("new_filepath.csv", index=False)

and that will write out the table to a new CSV without the index column, just as in your example. I hope that all makes sense!

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Filler text (0.5): -------------
  • Filler text (0): --------
  • Low reputation (0.5):
Posted by: AJH

79279683

Date: 2024-12-13 22:10:47
Score: 8 🚩
Natty: 5
Report link

were you able to successfully run this flutter project? Did face comparison (to verify if both images are of the same person) work fine?

Reasons:
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Regina Phalange

79279671

Date: 2024-12-13 22:02:45
Score: 2.5
Natty:
Report link

try badge plugin, it's forked from groovy postbuild plugin and support modern icons such as ionicons-api-plugin, font-awesome-api-plugin

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

79279663

Date: 2024-12-13 21:57:44
Score: 3.5
Natty:
Report link

I am sorry but i tried this and it failed. It even messed up the httpd.vhosts config

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

79279650

Date: 2024-12-13 21:48:42
Score: 1.5
Natty:
Report link

OK just quickly, use NWCOnnection.newConnectionHandler (Documentation)

I (hopefully) will update this answer after I implement this into my code

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

79279648

Date: 2024-12-13 21:47:42
Score: 2.5
Natty:
Report link

I see them expanding, but you have a link in the href, use # instead, otherwise you get redirected.

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

79279647

Date: 2024-12-13 21:46:42
Score: 1.5
Natty:
Report link

Ohh... I found a problem in my case. When you create a new field for an entity you should setup access to this field for a particular role:

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

79279639

Date: 2024-12-13 21:43:41
Score: 1
Natty:
Report link

You asked several questions at once, why the request code, there are no problems in it. The question is how to save a string in localStorage, because a string is the same binary data, you will just have a problem if you copy it because of the zero byte. In general, the essence is simple, convert blob to Uint8Array, go through the bytes extracting numbers and save them in the characters of the string text += String.fromCharCode(var_Uint8Array[i]) save the string in localStorage, it's elementary simple. Well, and the encoding should be eight-bit accordingly.

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

79279638

Date: 2024-12-13 21:43:41
Score: 2
Natty:
Report link

I got a bad-request-response when i accidentally used a wrong access-token (instead of something like 401- or 403-response).

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

79279632

Date: 2024-12-13 21:41:40
Score: 5.5
Natty:
Report link

could you please provide further information on:

  1. What is your Thingsboard version (like version number, Community/Professional Edition)?
  2. What does your dashboard look like (how many entries/entities, does the table have/how many widgets are in the dashboard)? Do you use any cell/content-style functions?
  3. Maybe you can share a screenshot of the missing & working scroll bar (and since you can see the popup, can you scroll in that popup with the mouse even though you don't see a scroll bar?). (black out private information before sharing)

I want to hide those at first and then let the user select the figures to display by using "Columns To Display"

This is a simple setting you can turn on by going into your table widget, in the Data-Tab below your Device-Source you should see the Columns. Click on the Gear-Icon of a columns and change those Settings:

Default column visibility: Hidden
Column selection in 'Columns to Display': Enabled


I was not able to reproduce your problem, but in my test, the scroll bar style was different between Firefox and Edge (styles can often be different between browsers).

Image of the Difference (on demo system v.3.8.1.9) Difference Between Firefox and MS-Edge

Reasons:
  • Blacklisted phrase (1): What is your
  • RegEx Blacklisted phrase (2.5): could you please provide
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Electronout

79279630

Date: 2024-12-13 21:39:39
Score: 0.5
Natty:
Report link

For people running into this issue, I was able to resolve this by changing this line of code in app.module

provideAuth(() => getAuth())

to

provideAuth(() => {
          if (Capacitor.isNativePlatform()) {
            return initializeAuth(getApp(), {
              persistence: indexedDBLocalPersistence
            })
          } else {
            return getAuth()
          }
        })
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sanjay Tibrewal

79279629

Date: 2024-12-13 21:39:39
Score: 1
Natty:
Report link

I've stumped upon the same issue , and figured out why .

This issue occurs because Laravel uses a single-threaded request-handling model (in most configurations), meaning that while the SSE endpoint is running and keeping the connection open, Laravel cannot handle other incoming requests. The result is that requests are effectively "blocked" until the SSE process completes.

So basically you have to use Websocket , because it uses a different protocol WS which won't block the HTTP requests that Laravel uses .

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

79279627

Date: 2024-12-13 21:37:39
Score: 1
Natty:
Report link

I found the solution thanks to comment from lorem ipsum:

if(comment.id.wrappedValue == mainCommentId){
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-2): I found the solution
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Coddo

79279620

Date: 2024-12-13 21:33:38
Score: 2
Natty:
Report link

According to my knowledge 3 basis steps for Javascript data management 1.Relational Schemas 2.JavaScript-Based Databases 3.Generator Functions if you want a complete imformation vist this website.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Share Archiver

79279605

Date: 2024-12-13 21:23:35
Score: 5
Natty:
Report link

For anybody having the same problem but csrf is disabled:

  1. Check that you permitted the controller url in your SecurityFilterChain if you are using Spring Security, although this should create an access denied exception.
  2. Make sure to select the correct mapping for the controller method. @GetMapping for a get request and @PostMapping for a post request.

If you send a post request to a method declared with @GetMapping spring boot will throw the 405 error.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • User mentioned (1): @GetMapping
  • User mentioned (0): @PostMapping
  • User mentioned (0): @GetMapping
  • Low reputation (1):
Posted by: FullMetalJack

79279599

Date: 2024-12-13 21:19:34
Score: 1
Natty:
Report link

One method with a pivot table:

df2 = df[list['abde']].copy() # take only the 4 columns needed
df2['e'] = df2['e'].astype(int)  # transform True/False to 1/0
pt = df2.pivot_table(index=['a', 'b'], columns=['e'], values='d', aggfunc='min').fillna(0)
display(pt) 

pt

pt[1] has the values for the column f for a given ('a', 'b')

df['f_calc'] = df.apply(lambda row: pt[1].loc[row['a'], row['b']], axis=1)
display(df)

res

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

79279591

Date: 2024-12-13 21:15:33
Score: 2.5
Natty:
Report link

react-native-image-header-scroll-view is a 4 year old library you should try to search for an alternative if possible because at some point play store or app store will reject your app because of this library.

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

79279589

Date: 2024-12-13 21:15:33
Score: 2
Natty:
Report link

in my case, I added the title variable to the res.render call, but had not restarted the server. The change was not picked up and threw the error mentioned until I restarted the server.

Something like nodemon can help avoid this problem while you are developing.

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

79279580

Date: 2024-12-13 21:12:31
Score: 6 🚩
Natty:
Report link

Thanks for the guidance.

Lots of grumpy downvoters. Just wanted a hand.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2): downvote
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cyoung75

79279562

Date: 2024-12-13 21:05:29
Score: 0.5
Natty:
Report link

You quickly check whether a bundle was signed using:

keytool  -printcert -jarfile {pathto}/app-release.aab

I filed a bug with Android Studio:

b/384076359 | P1 | AS says bundle signing successful but it failed to sign because "debuggable true"

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

79279556

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

In web browsers, when you enter a URL without a scheme, they often assume you want to navigate to that domain using the default scheme (usually http://).

-You can add a default scheme (typically http:// or https://) when a URL doesn't start with http://, https://, or another recognized scheme (like ftp://). -The URL constructor in JavaScript can be used, along with a base URL to ensure that properly constructed URLs are formed. -If you need to resolve a relative URL based on a base URL, you can also use the URL constructor by providing a base URL.

Using the URL constructor is a reliable way to handle URLs while ensuring they are correctly formatted, similar to how web browsers manage them. If URL no including a scheme, prepend a default scheme. For relative URLs, provide a base URL, which allows you to construct the absolute URL correctly. Happy coding!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Diego Vieira Dos Santos

79279553

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

I think that previous answer is partly incorrect. Translation vector is a coordinates in camera's coordinate system. So the distance from the camera to aruco marker is not just z coordinate of tvec, it is a euclidean norm of tvec

import cv2
import numpy as np

img = cv2.imread('img.png')  # replace with your path to image
# Replace with your camera matrix
camera_matrix = np.array([
    [580.77518, 0.0, 724.75002], 
    [0.0, 580.77518, 570.98956], 
    [0.0, 0.0, 1.0]
])
# Replace with your distortion coefficients
dist_coeffs = np.array([
    0.927077, 0.141438, 0.000196, -8.7e-05, 
    0.001695, 1.257216, 0.354688, 0.015954
])
# Replace with your aruco dictionary
dictionary = cv2.aruco.Dictionary_get(cv2.aruco.DICT_4X4_50)
parameters = cv2.aruco.DetectorParameters_create()
marker_size = 0.8  # marker size in some units

corners, ids, _ = cv2.aruco.detectMarkers(
    img, dictionary, parameters=parameters
)
rvec, tvec, _ = cv2.aruco.estimatePoseSingleMarkers(
    corners, marker_size, camera_matrix, dist_coeffs 
)
# The distance will be in the same units as marker size
distance = np.linalg.norm(tvec[0][0])

Also as @Simon mentioned you need to calibrate your camera first to get camera matrix and distortion coefficients

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

79279551

Date: 2024-12-13 20:57:27
Score: 2
Natty:
Report link

Just simply add 2 single quotes, you will get the single quotes enclosed for any string in Excel. Eg: Column A1: '' Column A2: Adam Column A3: '' Column A4: =CONCAT(A1,A2,A3) Result: Column A4: 'Adam'

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

79279546

Date: 2024-12-13 20:54:26
Score: 1.5
Natty:
Report link

I was getting a similar error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hc/core5/http2/HttpVersionPolicy at org.apache.hc.client5.http.config.TlsConfig$Builder.build(TlsConfig.java:211) at org.apache.hc.client5.http.config.TlsConfig.(TlsConfig.java:47) at

The solution was to add this library to the project.

httpcore5-h2-5.3.1.jar [https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5-h2/5.3.1][1]

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Todo-System Todo-System

79279545

Date: 2024-12-13 20:54:26
Score: 5.5
Natty:
Report link

You need to configure your server to receive preflight requests and respond appropriately. Check this link for more information: https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chibuokem Onyekwelu

79279528

Date: 2024-12-13 20:44:23
Score: 4
Natty:
Report link

It's a bug in the SDK. This will fix this issue: https://github.com/microsoftgraph/msgraph-sdk-objc-models/pull/36

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

79279527

Date: 2024-12-13 20:44:23
Score: 2.5
Natty:
Report link

This was user error. Cloudflare has updated the UI for its Pages settings - the environment (production/preview) dropdown scrolls out of view when accessing the binding setting. My binding was configured correctly, it had just never been established for the preview environment.

Cloudflare Pages Settings Environment Setting Location

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

79279521

Date: 2024-12-13 20:42:22
Score: 1.5
Natty:
Report link

AWS Glue’s get_logger() sends logs to the stderr stream by default, which is why they appear in the Error Log Stream in CloudWatch.

If you prefer to stick with glueContext.get_logger() but ensure its logs appear in the Output Log Stream, you can redirect stderr to stdout

Add this line early in your script:

import sys sys.stderr = sys.stdout

This ensures all logs, including those from the Glue logger, go to the Output Log Stream in CloudWatch

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

79279518

Date: 2024-12-13 20:41:22
Score: 1.5
Natty:
Report link

@Barmar brings up a good point that product id and names should be grouped together. The following code makes that assumption, and that id/names are not unordered:

WITH RankedAttributes AS (
    SELECT 
        Value AS ProductValue,
        ROW_NUMBER() OVER (ORDER BY NULL) AS rn,
        Attribute
    FROM your_table_name
),
GroupedAttributes AS (
    SELECT 
        MAX(CASE WHEN Attribute = 'product_id' THEN ProductValue END) AS product_id,
        MAX(CASE WHEN Attribute = 'product_name' THEN ProductValue END) AS product_name
    FROM RankedAttributes
    GROUP BY (rn - ROW_NUMBER() OVER (PARTITION BY Attribute ORDER BY rn))
)
SELECT product_id, product_name
FROM GroupedAttributes
WHERE product_id IS NOT NULL;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Barmar
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Silver Spade

79279514

Date: 2024-12-13 20:40:22
Score: 1.5
Natty:
Report link

After installing dj-databse-url, don't forget to update the requirements.txt (using pip freeze) and push the change to heroku (git push heroku main).

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

79279504

Date: 2024-12-13 20:35:21
Score: 0.5
Natty:
Report link

Not sure if this is what you are looking for, but it is useful anyway. Print to the SQL output can be done using \qecho.

Example:

\qecho '\nDrop Trigger Functions:'
drop function if exists trade_tx_before();
drop function if exists trade_tx_after();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Crashmeister

79279495

Date: 2024-12-13 20:32:18
Score: 6 🚩
Natty:
Report link

Please share what solution finally worked for the OP.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share what solution
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Saranya

79279487

Date: 2024-12-13 20:30:16
Score: 12 🚩
Natty: 6.5
Report link

Sorry I had to create a answer because I can't create a comment because I don't have 50 reputation points... regular SoF BS...

I have same issue, can you please give me more details how you solve it?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please give me
  • RegEx Blacklisted phrase (1.5): I don't have 50 reputation points
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: com sat

79279477

Date: 2024-12-13 20:26:15
Score: 0.5
Natty:
Report link

hope this helps :)

<FormControl fullWidth>
    <InputLabel shrink>Label</InputLabel>
    <Select label="Label" defaultValue={undefined} notched>
        <MenuItem value="1">One</MenuItem>
        <MenuItem value="2">Two</MenuItem>
    </Select>
</FormControl>
<TextField
    label="Label"
    slotProps={{
        inputLabel: {
        shrink: true,
        },
    }}
/>

https://stackblitz.com/edit/vitejs-vite-jsxsscjo?file=src%2FApp.tsx

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Atharva Upadhye

79279473

Date: 2024-12-13 20:22:13
Score: 5
Natty: 6
Report link

I tried what was listed above. When I run this command in a task I am getting kicked out of the playbook not just the current task:

Reasons:
  • Blacklisted phrase (1): How do I
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dkirk

79279464

Date: 2024-12-13 20:14:12
Score: 2.5
Natty:
Report link

I spent some time working on this today and found that the import for the css file is not getting loaded into the component. My workaround has been to put the App.css file in a public folder or CDN and use it from there and it worked like a charm. There is an ongoing bug report at github on this issue.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel T Sasser II

79279460

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

You need to configure the metro bundler. Shake the device, then select "Configure bundler", and in the dialog that pops up, enter the IP address of the network both devices are on.

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