79106260

Date: 2024-10-20 02:24:41
Score: 1.5
Natty:
Report link

You can use CMake to generate a visual studio solution and then build this solution to get libbitsandbytes_cuda124.dll

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: user22248229

79106237

Date: 2024-10-20 01:55:37
Score: 1.5
Natty:
Report link

While reading your code i noticed a part that might be part of your issue. Right after your comment line to check if a person or face was detected in the previous second your loop checks if the time since the last detection is less then a second and if it is then it checks for if a person or a face is detected and if not there is an else statement to make the light green. However there's no if statement preventing this if statement from occurring if nothing is detected meaning it occurs nonstop so the if statement always occurs less then a second from the previous detection resulting in in always returning true preventing the else statement from ever occurring and henceforth preventing the green light from ever appearing. This really fast loop with no waiting whatsoever may also be causing miscalculations and possibly resulting in your red and turquoise lights being on the fritz. It's always good practice to include a wait of somekind in a loop

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

79106220

Date: 2024-10-20 01:25:32
Score: 2.5
Natty:
Report link

I've been working with another project and had similar issues. The issue is that your running your computers global python to run the program which doesn't include your environment specific libraries. To fix do it with path files to run it with the python of your environment, there should be a folder named bin in your environment folder and in it should be a file named python or python3.11 depending on your version do file path run ./python and then the file path to your file with your code in it ex: ./python /home/TheEngineerM/project/main.py. This is just from my experience though so your environment may be set up differently so i cant guarantee it'll work but i hope it does! :)

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TheEngineerM

79106208

Date: 2024-10-20 01:10:28
Score: 1
Natty:
Report link

Your configuration is incorrect: do not use supervisor in the debug mode, because you have 0 workers in it. Your num_workers configuration option is ignored. Workers in debug mode are allocated per request. Docs about debug mode: https://docs.roadrunner.dev/docs/php-worker/developer#debug-mode Docs about debugging with XDEBUG is here: https://docs.roadrunner.dev/docs/php-worker/debugging

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

79106203

Date: 2024-10-20 00:54:26
Score: 2.5
Natty:
Report link

Many of the answers here helped point me in the right direction but not fully addressed the problem. The actual answer is the comments:

I put my actual email as Username and From and it worked on the spot. Are you still getting the same error message?

Thank you @user573431

The problem here is that I was sending from any email that was not my own. The From and ReplyTo must be your email registered in SMTP.js. Hope this helped someone out!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): Hope this help
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Contains question mark (0.5):
  • User mentioned (1): @user573431
  • Self-answer (0.5):
Posted by: Ethan

79106173

Date: 2024-10-20 00:24:20
Score: 0.5
Natty:
Report link
const customTheme = createTheme({
  components: {
    MuiTextField: {
        defaultProps: {
          variant: "filled",
        },
        styleOverrides: {
          root: {
            input: {
              color: "#153243",
            },
          },
        },
      },
  },
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jakub Łobos

79106170

Date: 2024-10-20 00:20:19
Score: 0.5
Natty:
Report link

It seems like you intialized firestore correctly, i belive you have installed all needed dependenvies and librarys.

  1. Make sure your firebase setup is setup correctly and the service account has the right permissions
  2. If it runs locally but not on deployment check the environment variables if they may differ
  3. Debugging logs check the firebase logs for more detailed error messages, you can do that via the Firebase consle (helps a lot) there you'll probably find the error message helping you advance in your project
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fridolin

79106156

Date: 2024-10-20 00:09:17
Score: 3.5
Natty:
Report link

Here's another use case: encoding ASCII DNA data in binary as fast as the data can be served: paper code

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

79106150

Date: 2024-10-20 00:03:15
Score: 1.5
Natty:
Report link

This could solve

class A(object):
    def foo(self):
        pass

class B(A):
    def __init__(self):
        self.bar = self.foo()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DJYuan

79106132

Date: 2024-10-19 23:36:10
Score: 4.5
Natty:
Report link

Thank you so much mramsath. I'm very new to coding and I had been trying to install the missing gdb for Visual Studio Code for days! And finally reading your answer to Muhammad Shayan Usman's question (thank you also), I've at last managed to use the Command Prompt (which I'd never used before!) and install the whole mingw-w64. I didn't think I was ever going to do it. THANKS AGAIN

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): THANKS
  • RegEx Blacklisted phrase (1.5): I'm very new
  • No code block (0.5):
  • Low reputation (1):
Posted by: Percy F

79106130

Date: 2024-10-19 23:33:09
Score: 4
Natty: 4.5
Report link

Use : CMI Payment Gateway Laravel package https://packagist.org/packages/baidouabdellah/cmi-payment-gateway

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

79106126

Date: 2024-10-19 23:29:08
Score: 2.5
Natty:
Report link

3 years later, the tooltip language still english only... I've didnt' see anything in release note about that :/

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

79106111

Date: 2024-10-19 23:13:05
Score: 0.5
Natty:
Report link

Getting Swift to compile locally is so challenging,

from my experience, you need to have the following in your CMake options:

cmark-gfm_DIR=/Users/mostafa.essam/swift-project/build/Ninja-RelWithDebInfoAssert/cmark-macosx-arm64/cmake/modules/

-Dcmark-gfm_DIR:PATH=/Users/mostafa.essam/swift-project/build/Ninja-RelWithDebInfoAssert/cmark-macosx-arm64/cmake/modules/

-DCMAKE_PREFIX_PATH=/Users/mostafa.essam/swift-project/build/Ninja-RelWithDebInfoAssert/llvm-macosx-arm64/lib/cmake/llvm

-DLLVM_DIR=/Users/mostafa.essam/swift-project/build/Ninja-RelWithDebInfoAssert/llvm-macosx-arm64/lib/cmake/llvm/

-DClang_DIR=/Users/mostafa.essam/swift-project/build/Ninja-RelWithDebInfoAssert/llvm-macosx-arm64/lib/cmake/clang

-DSWIFT_PATH_TO_CMARK_BUILD=/Users/mostafa.essam/swift-project/build/Ninja-RelWithDebInfoAssert/cmark-macosx-arm64

for reference, this's how it looks when configured using CLion:

enter image description here

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

79106103

Date: 2024-10-19 23:05:04
Score: 2.5
Natty:
Report link

Here's what I came up with. If anybody sees something that needs to be tweaked, please let me know ASAP. This is going into a released app so I need to get it shipped as soon as I can.

 func update_Foreign_Key()
    {
        let the_Version = ModelData.get_Current_Version()
        var theArray = [get_Case_XRef]()
        
        if the_Version == 6
        {
            do {
                try Database_GRDB.shared.databaseConnection!.read { db in
                    theArray = try get_Case_XRef.fetchAll(db, sql: "SELECT * FROM Case_Supplies_Media")
                }
            } catch {
                print("Getting the values from table Case_Supplies_Media failed! (AppDelegate) \(error)")
            }
            
            do {
                try Database_GRDB.shared.databaseConnection!.write { db in
                    try db.create(table: "Case_Supplies_Media_x") { t in
                        
                        t.column("SupplyID_XRef", .integer) .primaryKey() .notNull() .references("Supplies_DVD_List")
                        t.column("CaseID_Supply_XRef", .integer) .notNull() .references("My_Cases")
                        t.column("Supply_Count", .integer)
                        t.column("Supply_Type", .text)
                    }
                    
                    // insert into Case_Supplies_Media_x
                    for theKey in theArray
                    {
                        try db.execute(sql: "INSERT INTO Case_Supplies_Media_x (SupplyID_XRef, CaseID_Supply_XRef, Supply_Count, Supply_Type) VALUES (?, ?, ?, ?)",
                                       arguments: [theKey.SupplyID_XRef, theKey.CaseID_Supply_XRef, theKey.Supply_Count, theKey.Supply_Type])
                    }
                    
                    // Drop table Case_Supplies_Media
                    try db.drop(table: "Case_Supplies_Media")
                    
                    // Rename table Case_Supplies_Media_x to Case_Supplies_Media
                    try db.execute(sql: "ALTER TABLE Case_Supplies_Media_x RENAME TO Case_Supplies_Media")
                    
                    // Set the version to 7
                    try db.execute(sql: "UPDATE My_Settings SET Version = :version WHERE SettingsID = :id", arguments: ["version": 7, "id": 1])
                }
            } catch {
                print("Updating the Foreign_Key values failed! (AppDelegate) \(error)")
            }
        }
    }
Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Quailcreek

79106087

Date: 2024-10-19 22:45:00
Score: 0.5
Natty:
Report link

// set the dimensions and margins of the graph
var margin = {top: 10, right: 30, bottom: 30, left: 60},
    width = 460 - margin.left - margin.right,
    height = 400 - margin.top - margin.bottom;

// append the svg object to the body of the page
var svg = d3.select("#my_dataviz")
  .append("svg")
    .attr("width", width + margin.left + margin.right)
    .attr("height", height + margin.top + margin.bottom)
  .append("g")
    .attr("transform",
          "translate(" + margin.left + "," + margin.top + ")");

//d3.csv("https://raw.githubusercontent.com/holtzy/data_to_viz/master/Example_dataset/2_TwoNum.csv", function(data) {
//console.log(data);
//});
  var data = [
    { x: 1, y: 2500000 },
    { x: 2, y: 3800000 },
    { x: 3, y: 5000000 },
    { x: 4, y: 6900000 },
    { x: 5, y: 6900000 },
    { x: 6, y: 7500000 },
    { x: 7, y: 10000000 },
    { x: 8, y: 17000000 }
  ];

  // Add X axis
  var x = d3.scaleLinear()
    .domain([0, 10])
    .range([ 0, width ]);
  svg.append("g")
    .attr("transform", "translate(0," + height + ")")
    .call(d3.axisBottom(x));

  // Add Y axis
  var y = d3.scaleLinear()
    .domain([0, 20000000])
    .range([ height, 0]);
  svg.append("g")
    .call(d3.axisLeft(y));

  // Add dots - scatter plot
  //svg.append('g')
  //  .selectAll("dot")
  //  .data(data)
  //  .enter()
  //  .append("circle")
  //    .attr("cx", function (d) { return x(d.x); } )
  //    .attr("cy", function (d) { return y(d.y); } )
  //    .attr("r", 1.5)
  //    .style("fill", "#69b3a2")
  svg.append("path")
      .datum(data)
      .attr("fill", "none")
      .attr("stroke", "steelblue")
      .attr("stroke-width", 1.5)
      .attr("d", d3.line()
        .x(function(d) { return x(d.x) })
        .y(function(d) { return y(d.y) })
        )

  svg.append("text")             
      .attr("transform",
            "translate(" + (width/2) + " ," + 
                           (height + margin.top + 20) + ")")
      .style("text-anchor", "middle")
      .text("season");

  // Add the y Axis
  svg.append("g")
      .call(d3.axisLeft(y));

  // text label for the y axis
  svg.append("text")
      .attr("transform", "rotate(-90)")
      .attr("y", 0 - margin.left)
      .attr("x",0 - (height / 2))
      .attr("dy", "1em")
      .style("text-anchor", "middle")
      .text("viewers"); 

</script>
<script src="https://d3js.org/d3.v4.js"></script>

<!-- Create a div where the graph will take place -->
<div id="my_dataviz"></div>
@Marek Piotrowski 5430833 | Code below for update post 2023-10-30

//svg.style("text-anchor", "middle") //updated post 2023-10-30

addCSS(".chartDiv > svg {text-anchor: middle}");

function addCSS described as follows:

function addCSS(styleText) {
styleElement = window.document.createElement("style")
styleElement.setAttribute("id","style");
styleElement.innerText = styleText;
window.document.getElementById("HeadNodeID").appendChild(styleElement);
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Marek
  • Low reputation (1):
Posted by: Kwesi

79106083

Date: 2024-10-19 22:44:00
Score: 1
Natty:
Report link

I got the same issue. I shifted my internet connection to mobile data from Wifi and it install the package successfully. I do not know the exact reason but it works for me. Using Mac M1.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Junaid Nawab

79106064

Date: 2024-10-19 22:30:58
Score: 1
Natty:
Report link

If you're on macos, I had to install homebrew and then use:

brew install libmemcached
LIBMEMCACHED=/opt/homebrew/Cellar/libmemcached/1.0.18_2 pip install pylibmc
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anthony Joseph

79106053

Date: 2024-10-19 22:20:56
Score: 0.5
Natty:
Report link

It is possible to generate error bars automatically with a tool called superb (summary plot with error bars).

First, lets have more than one point per sample using random data

df2 <- data.frame(
  Sample = rep(c("Sample1", "Sample2", "Sample3", "Sample4", "Sample5"),5),
  Weight = rep(c(10.5, NA, 4.9, 7.8, 6.9),5)+rnorm(25)
)

Then load the library and ask for the plot (default will be to show 95% confidence intervals):

library(superb)
superb( Weight ~ Sample, df2)

Mean plot of the 5 samples

You can ask for standard error (SE) rather than the default confidence intervals (CI) and add any additional formatting options, for example:

p <- superb( Weight ~ Sample, df2,
  errorbar = "SE" # or CI for confidence intervals
) + 
scale_y_continuous(expand = c(0,0), limits = c(0, 12)) + 
theme_classic() + 
theme(axis.text.x = element_text(angle = 45, hjust = 1))
p

Mean plot of the 5 samples with standard error and formating

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

79106048

Date: 2024-10-19 22:14:54
Score: 1.5
Natty:
Report link

After you reset your password and you don't want to automatically login in, youse below code snippets.

import { useAuth, useSignIn } from "@clerk/clerk-expo"; const { signOut } = useAuth(); await your signOut()

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

79106039

Date: 2024-10-19 22:08:53
Score: 0.5
Natty:
Report link

If you want to get the data from bar two to baz two, the following code works.

s.loc[:, ("bar", "two"):("baz", "two")]

The result looks like this:

first            bar                      baz
second           two          one         two
     0     -1.088971    -0.502949   -1.066722
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Koki

79106034

Date: 2024-10-19 22:06:53
Score: 0.5
Natty:
Report link

I got the solution!

  1. Tim, you’re right that the form does not need to pass on the mailitem object. Just open the form and let it return a value based on the user choice in the form.
  2. The problem was that GetInspector is only possible when the Inspector window is displayed. The problem occurred while opening the modal form because the process of NewInspector stopped pending execution of the procedures called before the actual message was displayed. Opening the form non modal did not interfere with the NewInspector procedure. Because some procedures included modification of the message body (which needed GetInspector), such procedures are only available after the event Inspector.Activate (See example on https://www.vboffice.net/en/developers/newinspector-and-inspector-activate/)

The adjusted procedures are:

Private WithEvents objOpenInsp As Outlook.Inspector
Private WithEvents objInsp As Outlook.Inspectors

Private Sub objInsp_NewInspector(ByVal Inspector As Outlook.Inspector)
    If TypeName(Inspector.CurrentItem) = "MailItem" Then
        Set objOpenInsp = Inspector
    End If
End Sub

Private Sub objOpenInsp_Activate()
    Dim objItem As Outlook.MailItem
    Dim frm As frmLanguage
    Dim lngLang As Long
    
    Set objItem = objOpenInsp.CurrentItem
    If Len(objItem.EntryID) = 0 And Len(objItem.Subject) = 0 Then 
        'This procedure is only for new email messages. 
        'Note that if you leave the subject line empty and try to close
        'the objItem window, the Activate event is triggered too and may 
        'get stuck in a loop.
        Set frm = New frmLanguage
        frm.Show
        lngLang = frm.lngRetValue
        Unload frm
        If lngLang > 0 Then
            'MyNewMessage Inspector.CurrentItem, lngLang
            MyNewMessage objItem, lngLang
        Else 'User pressed Cancel or closed the form
            objItem.Subject = " " 'prevent loop
            objItem.Close olDiscard
        End If
    End If
    Set frm = Nothing
    Set objItem = Nothing
End Sub

Again, thx for your help!

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

79106015

Date: 2024-10-19 21:51:48
Score: 7 🚩
Natty: 6
Report link

I imported copy and I still get this name error, any ideas ?

Reasons:
  • Blacklisted phrase (1): any ideas
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: matt

79106011

Date: 2024-10-19 21:49:47
Score: 1
Natty:
Report link

According to its documentation, this happens because a few modern browsers are blocking third party cookies. Modern Browsers with Tracking Protection

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Hola Soy Edu Feliz Navidad

79106001

Date: 2024-10-19 21:42:45
Score: 2.5
Natty:
Report link

In the emulator that I'm using, I got it to work by pressing the left and middle mouse buttons together one time, then moving the mouse for zooming, and then repeating the combined click to stop. I'm using the emulator provided with Android Studio Koala 2024.1.1

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

79105978

Date: 2024-10-19 21:23:39
Score: 6.5 🚩
Natty: 5
Report link

I have same problem. Embedded Youtube videos are not on autoplay on the website.

Reasons:
  • Blacklisted phrase (1): I have same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same problem
  • Low reputation (1):
Posted by: Simon Giz

79105968

Date: 2024-10-19 21:18:38
Score: 2.5
Natty:
Report link

TaskOptions has this method that is meant to enable creating suborchestrations with given ID. This should enable sending events from parent orchestration to suborchestration.

public SubOrchestrationOptions WithInstanceId(string instanceId)

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

79105963

Date: 2024-10-19 21:15:37
Score: 3.5
Natty:
Report link

clean up the code and sync the project again

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

79105943

Date: 2024-10-19 21:08:36
Score: 3
Natty:
Report link

QCsuper is a tool that can be used to monitor RRC messages and more for Qualcom based ship. Actually i'm looking for something similar to debug the modem for mediatek devices i will return to you if i can find something usefull since QCsuper is not working for me you can use the mobileinsight as well but it is not working for me since it says that diag mode is not enabled despite of setting usb to diag setprop sys.usb.config diag,adb

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (3): not working for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ghassen Kannou

79105937

Date: 2024-10-19 21:07:36
Score: 2.5
Natty:
Report link

There are good apps for managing NDEF-records like NXP TagWriter but you have to prepare the Mifare Classic first. Here are instructions on how to adapt a Mifare Classic so that it can be used as an NDEF card: https://sol6.eu/tech/Mifare_Classic_-_NDEF/

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

79105931

Date: 2024-10-19 21:00:34
Score: 1
Natty:
Report link

I fix error with rename files for example my error

> Export encountered errors on following paths:
        /dashboard/post/edit/page: /dashboard/post/edit

for fix this, I renamed file page.tsx to index.tsx

#next.js #nextjs #typescript #next.js14

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

79105918

Date: 2024-10-19 20:58:34
Score: 0.5
Natty:
Report link

In v5.x, Instead of color, you have to use buttonColor and textColor.

<Button
  mode = 'text'
  buttonColor={'#000'}
  textColor={'#fff'}
  className="mt-7"
  onPress={(id) => UpdateTripEvent(id)}>
  {'Confirm'}
</Button>

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

79105908

Date: 2024-10-19 20:53:32
Score: 1.5
Natty:
Report link

I guess this is because browser suddenly decides to pause tab's main thread. We cannot control this. But instead, we can use web workers and they will work at background. So, try to move your timer to web worker

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

79105905

Date: 2024-10-19 20:51:32
Score: 2
Natty:
Report link

It works with the function INDIRECT:

=INDIRECT("Lookup_Sheet!A" & ((ROW() + 3) / 4)+1)

Lookup_Sheet!A2 is given to Protocol!A2

Lookup_Sheet!A3 is given to Protocol!A5

Lookup_Sheet!A3 is given to Protocol!A9

and so on.

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

79105867

Date: 2024-10-19 20:31:28
Score: 3
Natty:
Report link

I decided to use ORDS instead of EPG and host the app using Apache Tomcat and the issue was resolved.

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

79105861

Date: 2024-10-19 20:27:27
Score: 1.5
Natty:
Report link

DISCLAIMER: I am the author of this package

There is a simple-password-manger library on github:
https://github.com/image357/password

It is suitable for both Windows and Linux (32 and 64 bit) and has cross-platform file storage. By default it stores encrypted passwords as files and folders. However, you can also turn on hashed storage if you are only concerned with reset / login use-cases.

It uses AES256 encryption with a state-of-the-art and secure hashing algorithm (Argon2). You can also enable recovery mode, which is effectively multi-key encryption. It also employs data padding if you are concerned with password length attacks.

Additionally, you can start a REST service for access to your password storage.

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

79105856

Date: 2024-10-19 20:25:26
Score: 2
Natty:
Report link

You have passed two separate lists to the functions, Instead of passing two separate lists, try group both 'salary', and 'education' in to a single list

groupby(["education", "salary"])

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

79105855

Date: 2024-10-19 20:24:26
Score: 1.5
Natty:
Report link

DISCLAIMER: I am the author of this package

There is a simple-password-manger library on github:
https://github.com/image357/password

It is suitable for both Windows and Linux (32 and 64 bit) and has cross-platform file storage. By default it stores encrypted passwords as files and folders. However, you can also turn on hashed storage if you are only concerned with reset / login use-cases.

It uses AES256 encryption with a state-of-the-art and secure hashing algorithm (Argon2). You can also enable recovery mode, which is effectively multi-key encryption. It also employs data padding if you are concerned with password length attacks.

Additionally, you can start a REST service for access to your password storage.

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

79105854

Date: 2024-10-19 20:24:26
Score: 2
Natty:
Report link

You don't translation tokens in you PO files. Pass your keywords in the translation function _("Hola"), that way django-admin makemessages will include them in the PO files for you to translate them.

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

79105853

Date: 2024-10-19 20:23:25
Score: 1
Natty:
Report link

If you are using @EnableBatchProcessing, which is not required in your configuration class remove it and try again, it will work.

Refer to the official spring documentation.

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

79105851

Date: 2024-10-19 20:22:25
Score: 1.5
Natty:
Report link

DISCLAIMER: I am the author of this package

There is a simple-password-manger library on github:
https://github.com/image357/password

It is suitable for both Windows and Linux (32 and 64 bit) and has cross-platform file storage. By default it stores encrypted passwords as files and folders. However, you can also turn on hashed storage if you are only concerned with reset / login use-cases.

It uses AES256 encryption with a state-of-the-art and secure hashing algorithm (Argon2). You can also enable recovery mode, which is effectively multi-key encryption. It also employs data padding if you are concerned with password length attacks.

Additionally, you can start a REST service for access to your password storage.

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

79105849

Date: 2024-10-19 20:21:25
Score: 1.5
Natty:
Report link

Do not try escape characters with replace/replaceAll because there is a lot corner cases. Instead, you should use encodeURIComponent (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent). It will replace characters such as &, \ correctly which is already globally tested:

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: egorgrushin

79105845

Date: 2024-10-19 20:19:24
Score: 1
Natty:
Report link

In my case I was running the app from a shared folder on a network drive that had all the correct permissions. As noted in the comments, I moved the .exe file to a local drive, changed the Action > Start a program > Program/script and it worked.

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

79105842

Date: 2024-10-19 20:18:24
Score: 3
Natty:
Report link

It should be a lot of different problem. One of them if the "Build configuration" is Release then there should go -Onone error. You should change Release to Debug in the scheme. Edit scheme dialog

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Umut ADALI

79105836

Date: 2024-10-19 20:15:23
Score: 5
Natty: 4
Report link

I am facing problem with #keras importing in #VSCode. I have installed #tensorflow package. I am using python3.12. I have tried so many ways to solve this problem. What should I do ? I can import #tensorflow, the problem is only in importing #keras

Reasons:
  • Blacklisted phrase (2): What should I do
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zarlala khan

79105831

Date: 2024-10-19 20:11:22
Score: 2
Natty:
Report link

There is a section on how to use environment variables in Hono's Getting Started docs: https://hono.dev/docs/getting-started/cloudflare-workers#load-env-when-local-development

I hope this helps.

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

79105822

Date: 2024-10-19 20:07:21
Score: 2.5
Natty:
Report link

Please check this, As of August 31, 2024, Azure classic administrator roles (along with Azure classic resources and Azure Service Manager) are retired and no longer supported. If you still have active Co-Administrator or Service Administrator role assignments, convert these role assignments to Azure RBAC immediately.

You need to assign the roles https://learn.microsoft.com/en-us/azure/role-based-access-control/classic-administrators?tabs=azure-portal#prepare-for-co-administrators-retirement

Reasons:
  • Blacklisted phrase (1): Please check this
  • No code block (0.5):
  • Low reputation (1):
Posted by: Midhun K

79105812

Date: 2024-10-19 20:03:20
Score: 0.5
Natty:
Report link

A way with the standard cycle:

var a = [, , , 6, undefined, , 5, , null, 7];
for (var i = a.length - 1; i > -1; i--) {
    if (!(i in a)) a.splice(i, 1);
}

undefined and null are not removed as expected.

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

79105807

Date: 2024-10-19 19:59:19
Score: 2.5
Natty:
Report link

imes = int(input("Enter the no of values you want to read: ")) values = [] for _ in range(times): value = int(input()) values.append(value)

print(values)

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

79105802

Date: 2024-10-19 19:57:18
Score: 0.5
Natty:
Report link

This is what worked for me:

Box(
    contentAlignment = Alignment.Center,
    modifier = Modifier.fillMaxSize()
) {
    CircularProgressIndicator(
        modifier = Modifier
            .size(64.dp)
    )
}

loading indicator

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gauri Gadkari

79105800

Date: 2024-10-19 19:56:18
Score: 1.5
Natty:
Report link

The following works: But you have to include both statements int the xml layout file:

        android:scaleType="fitEnd"
        android:gravity="bottom"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: i_o

79105796

Date: 2024-10-19 19:54:17
Score: 1
Natty:
Report link

I am not sure beforehand I would also try updating the gradle versions in android/build.gradle, android/app/build.gradle and android/gradle/wrapper/gradle-wrapper.properties. If that doesn't work I would think that maybe it's time to migrate from cordova to capacitor 5 which currently has targetsdkversion 34.

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

79105790

Date: 2024-10-19 19:53:17
Score: 0.5
Natty:
Report link

I think you are looking for this

or,

https://stackoverflow.com/a/72831318/13086781

This is just a sample code that I wrote like 2 years ago. It should still work.

const express = require("express");
const next = require("next");
const cluster = require("cluster");
const os = require("os");

const dev = process.env.NODE_ENV !== "production";
const app = next({ dev });
const handle = app.getRequestHandler();

//if the cluster is master
if (cluster.isMaster) {
  for (let i = 0; i < numCpu; i++) {
    cluster.fork();
  }

  //if worker dies or is killed
  cluster.on("exit", (worker, code, signal) => {
    cluster.fork();
  });
} else {
  app
    .prepare()
    .then(() => {
      const server = express();

      server.all("*", (req, res) => {
        return handle(req, res);
      });

      server.listen(port, (err) => {
        if (err) throw err;
        console.log(`> Ready on http://localhost:${port}`, process.pid);
      });

    })
    .catch((ex) => {
      console.error(ex.stack);
      process.exit(1);
    });
  }
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gp Adhikari

79105789

Date: 2024-10-19 19:53:17
Score: 2
Natty:
Report link

I also had the same issue, i replaced logback with log4j v 2.20.0 and it worked fine.I am also running Java 17 with Spring boot 3.1.0

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

79105785

Date: 2024-10-19 19:52:16
Score: 1.5
Natty:
Report link

For the 1st time I am writing a reply on stack overflow. The whole day i have wasted and just now i got the solution by installing tensor flow 2.10.0. Now showing Gpu is available 1 Compatibility things Cuda 11.8 or above Cudnn 8.0 or more (For 11.8, cudnn 8.6) Follow the steps to copy folders file of cudnn to cuda Python version 3.8

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

79105784

Date: 2024-10-19 19:52:16
Score: 3.5
Natty:
Report link

A market listing has three parts as far as I know, M A D, with M being the listing ID and A being the assetid (D always provided)

An example of a non-populated (can be found in regular inventory response) steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20M%listingid%A%assetid%D910550409944203216

And one populated: steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20M5231585837963410495A36933563414D14870894776049808240

This populated one of course returns the float and other values you're looking for (in this case 0.31265467405319214), I utilized CSInventoryAPI.com for that.

Can you share a little more about the data returned about each marketplace item? That would make it easier to help : )

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: kevalane

79105768

Date: 2024-10-19 19:38:12
Score: 9.5 🚩
Natty: 4.5
Report link

@Cola_Colin - Which path worked finally? I have similar issue with PouchDB Sqlite Ionic.

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Contains question mark (0.5):
  • User mentioned (1): @Cola_Colin
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: amtoo17

79105762

Date: 2024-10-19 19:35:10
Score: 11.5
Natty: 9
Report link

Can you help me with how exactly the problem was solved?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1.5): solved?
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you help me with
  • Low reputation (1):
Posted by: Gal_Zoli

79105757

Date: 2024-10-19 19:33:09
Score: 0.5
Natty:
Report link

On producer side add to your application.properties file:

spring.kafka.template.observation-enabled=true

On consumer side add to your application.properties file:

spring.kafka.listener.observation-enabled=true

Assuming you have set up the Spring boot 3 obersvations correctly.

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

79105754

Date: 2024-10-19 19:32:09
Score: 2
Natty:
Report link

You can install Azure Devops Server locally and on the same server install a Pipeline Agent, you do have to pay attention to dependencies, like .NET or Visual Studio.

Azure DevOps does not have release pipelines though.

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

79105751

Date: 2024-10-19 19:29:08
Score: 1
Natty:
Report link

Created some bash-script for adding an extension to files where it is missing. Based the code on provided answer, but with some addition way to make an educated guess for files where the response would be ???.

These are the important parts of the script:


# First try to guess the extension using `file --extension`
extension=$(file -b --extension "$file" | awk -F'/' '{print $1}')

# If the extension is "???" or similar (invalid), try the second method
if [[ "$extension" == "???" || -z "$extension" ]]; then
    # Guess the file type description using `file`
    file_type=$(file -b "$file")
    # Use the function to get a better extension based on the description
    extension=$(get_extension_by_description "$file_type")
fi


# Function to map file descriptions to appropriate extensions
get_extension_by_description() {
    local file_type="$1"

    case "$file_type" in
        *PDF*) echo "pdf" ;;
        *EPUB*) echo "epub" ;;
        *HTML*) echo "html" ;;
        *ASCII*) echo "txt" ;;
        *Zip*) echo "zip" ;;
        *RAR*) echo "rar" ;;
        *JPEG*) echo "jpg" ;;
        *PNG*) echo "png" ;;
        *DjVu*) echo "djvu" ;;
        *Mobipocket\ E-book*) echo "mobi" ;;
        *Microsoft\ Word*) echo "docx" ;;
        *OpenDocument\ Text*) echo "odt" ;;
        *Microsoft\ Excel*) echo "xlsx" ;;
        *OpenDocument\ Spreadsheet*) echo "ods" ;;
        *MP3*) echo "mp3" ;;
        *MPEG*) echo "mpg" ;;
        *Matroska*) echo "mkv" ;;
        *Video*) echo "mp4" ;;
        *Audio*) echo "wav" ;;
        *) echo "unknown" ;;
    esac
}

Full script can be found here: https://gist.github.com/Aldo-f/eefbc893dd7f2403953e7cd01e3c8848

Reasons:
  • Blacklisted phrase (1): ???
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aldo

79105741

Date: 2024-10-19 19:23:07
Score: 1
Natty:
Report link

Use nc utility for that, smth like

    # After hostname, the port can be specified
    # Let's set connection timeout to 1 sec
    if nc -zw1 $hostname >/dev/null 2>&1
    then
        echo "'$hostname' is reachable!"
    fi
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: arcadius

79105740

Date: 2024-10-19 19:23:07
Score: 2
Natty:
Report link

You can try using the shadow part:

.custom-pop-over::part(arrow){
  z-index:12;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Koby

79105727

Date: 2024-10-19 19:16:05
Score: 1
Natty:
Report link

The second version is likely correct, but you need to change each int(rgbr), int(rgbg), int(rgbb) with:

rgbr = int(rgbr)
rgbg = int(rgbg)
rgbb = int(rgbb)

Without any further information about the error, I cannot help further.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: LuxGiammi

79105722

Date: 2024-10-19 19:11:04
Score: 3
Natty:
Report link

Your server is on a dynamic IP address. You have to update the firewall at MongoDB

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

79105717

Date: 2024-10-19 19:10:03
Score: 3
Natty:
Report link

This is not really a solution, as I believe an issue exists with the libraries currently, but I found a workaround, by basically saving short videos with libcamera which turns out to be functional, and then parsing that as input for analysis for the opencv

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

79105708

Date: 2024-10-19 19:05:02
Score: 4
Natty: 5
Report link

HOw can I label my x axis in the Altair such that I should be able to find out specific data while I have collased data structure

Reasons:
  • Blacklisted phrase (0.5): HOw can I
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): HOw can I
  • Low reputation (1):
Posted by: anand kshirsagar

79105707

Date: 2024-10-19 19:05:02
Score: 3
Natty:
Report link

try animate.css with all readymade fade styles. The website is https://animate.style/

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

79105698

Date: 2024-10-19 19:01:01
Score: 2.5
Natty:
Report link

Either buy a plan for tunneling services such as https://ngrok.com/ or https://pinggy.io/ , or get a server in the cloud.

Google Cloud and AWS both offer free tier: https://cloud.google.com/free/docs/free-cloud-features#compute

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

79105697

Date: 2024-10-19 19:00:00
Score: 0.5
Natty:
Report link

I haven't done any development with Tauri personally, but according their guide you should be able to just implement the traits serde::Deserialize and serde::Serialize for Vec<Row> and return Vec<Row> like usual. Although, I think it would be more practical to map the Row result to some custom struct, and then just derive serde::Serialize and serde::Deserialize for its type. If you're dealing with different types of results, you could make the result type generic for the function, or wrap the result type in an enum type.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 414Sigge

79105675

Date: 2024-10-19 18:46:57
Score: 2.5
Natty:
Report link

You can add event listener to the table use e.target.cellIndex to get column index use e.target.parentNode.rowIndex to get row index

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

79105669

Date: 2024-10-19 18:44:57
Score: 3.5
Natty:
Report link

I think you should definitely try LibVLCSharp library. Check out the NuGet package (https://www.nuget.org/packages/LibVLCSharp/) and main documentation (https://code.videolan.org/videolan/LibVLCSharp/-/blob/3.x/docs/home.md). There is also a nice Q/A page that showcases common usages - “How Do I do X”

Recently I developed a simple demo project and wrote a blog post about it. I'm pretty sure you'll find it helpful. Basically I used Visual Studio 2022 as IDE, Avalonia UI as framework, LibVLCSharp package as audio API, and was able to play an URI based audio file. Probably you'll be able to use resource URI similarly in your project. Please download the complete source code from GitHub (https://github.com/Monsalma/Monsalma.AvaloniaUI/tree/main/Monsalma_AvaloniaAudioTest). There is a blog post that will take you through the process step by step (https://monsalma.net/avalonia-ui-audio-playback-demo/) so be sure to check it out.

Reasons:
  • Blacklisted phrase (1): How Do I
  • Blacklisted phrase (0.5): check it out
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Monsalma

79105665

Date: 2024-10-19 18:42:56
Score: 1
Natty:
Report link

This what I get from your input:

import rdkit

print('\n-------------------------------')

print('\n rdkit Version : ', rdkit.__version__)

print('\n-------------------------------')


from rdkit import Chem

from rdkit.Chem.Draw import IPythonConsole

from rdkit.Chem import Draw


mol = Chem.MolFromSmiles("FC(C=CC=C1)=C1C2=NN=CO2.IC1=CC=C(OC)C=C1.C(=O)([O-])[O-].[Cs+].[Cs+].C1COCCO1.[Cu+].[I-].CC(C)(C)[C-]1([CH]2=C34P(C5CCCCC5)C6CCCCC6)[CH]7=[CH]3[Fe+2]7189%10%1124[CH]%12=C([CH]9=[CH]%10[C-]%12%11C(C)(C)C)8P(C%13CCCCC%13)C%14CCCCC%14.FC1=C(C2=NN=C(C3=CC=C(OC)C=C3)O2)C=CC=C1",
                         
                         # sanitize = False)
                         
                         sanitize = True)

Draw.ShowMol(mol)

Output :

File ".../.../.../.../rdkit/Chem/Draw/__init__.py", line 233, in MolToImage
    raise ValueError('Null molecule provided')

ValueError: Null molecule provided

with :

sanitize = False

Output :

enter image description here

Am I doing something wrong ?

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: pippo1980

79105662

Date: 2024-10-19 18:40:55
Score: 1
Natty:
Report link

Check that the working directory is the proper one. My problem was that I was in the venv environment directory instead of the main project directory.

import os
print(os.getcwd())

Run this to check the Current Working Directory.

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

79105661

Date: 2024-10-19 18:39:55
Score: 1
Natty:
Report link

After the proposed solution, here should be the final one and now it passes all performance tests:

        int result = 0;
        int ones = 0;
        int len = a.length;

        for (int i = len - 1; i >= 0; i--) {
            if (a[i] == 1) {
                ones++;
            } else {
                result += ones;
            }
        }

        return (result > 1000000000 || result < 0) ? -1 : result;

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

79105653

Date: 2024-10-19 18:34:54
Score: 1
Natty:
Report link

see: app router migration

export default async function Page() {
  // This request should be cached until manually invalidated.
  // Similar to `getStaticProps`.
  // `force-cache` is the default and can be omitted.
  const staticData = await fetch(`https://...`, { cache: 'force-cache' })
 
  // This request should be refetched on every request.
  // Similar to `getServerSideProps`.
  const dynamicData = await fetch(`https://...`, { cache: 'no-store' })
 
  // This request should be cached with a lifetime of 10 seconds.
  // Similar to `getStaticProps` with the `revalidate` option.
  const revalidatedData = await fetch(`https://...`, {
    next: { revalidate: 10 },
  })
 
  return <div>...</div>
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Md. Jubaer Hosain

79105650

Date: 2024-10-19 18:31:53
Score: 1
Natty:
Report link

In Android Studio

 fvm dart run flutter_launcher_icons 

Just use dart as prefix to use active dart varient in fvm project.

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

79105642

Date: 2024-10-19 18:28:52
Score: 1.5
Natty:
Report link

I'd just like to agree with ZEELz.

If it's failing at the BeforeInstall hook, it means you already have permissions, but it's missing an appspec.yml file.

If you're using CodeBuild, go back to your CodeBuild project and change the artifacts > files to include your appspec file (you can include everything with "**/*" or you can just use - appspec.yml).

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

79105640

Date: 2024-10-19 18:25:51
Score: 9
Natty: 7.5
Report link

I ran into this same issue. any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Olu Bello

79105628

Date: 2024-10-19 18:20:50
Score: 1
Natty:
Report link

🔍 Overriding Symbols in Dynamically Linked Executables 🔄

In software development, managing symbols is key, especially in C/C++. Overriding symbols in non-dynamic sections can enhance debugging, improve functionality, and ensure backward compatibility.

Key methods include: Modify Source Code: Direct but not always feasible. Linker Scripts: Redirect symbols effectively. Function Interposing: Use LD_PRELOAD for dynamic overrides. Preprocessor Directives: Redefine at compile time. Mastering these techniques empowers developers to build more robust applications! 💻✨

Read in Detail: How to Override Symbols in Non-Dynamic Sections of Dynamically Linked Executables

#SoftwareDevelopment #CProgramming #DynamicLinking #Debugging

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

79105627

Date: 2024-10-19 18:20:50
Score: 1
Natty:
Report link

In my case, using Springboot 2.7.18 with external WAR deployment to Tomcat 9 the Springboot SseEmitter will throw an IOException when trying to send an event to a client that is not there anymore.
I nonetheless implemented a server side "ping" to the client so that stale connections are cleaned up quickly and not when you actually attempt to send something.

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

79105622

Date: 2024-10-19 18:17:49
Score: 0.5
Natty:
Report link

For those looking for a pure-JS solution to this problem, the following also works:

document.addEventListener("contextmenu", function (e) {
  e.preventDefault()
  e.stopPropagation()
  console.log("Stopped")
  return false;
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bricksphd

79105618

Date: 2024-10-19 18:15:49
Score: 2.5
Natty:
Report link

I think something like this on my project If your project have multiple targets, try to set minimum deployment target for all targets you have to same for example iOS 13

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

79105616

Date: 2024-10-19 18:14:48
Score: 1.5
Natty:
Report link

I wrote a super simple python3 package called real2tex.

You can install it with pip:

pip install real2tex

And use it as follows:

from real2tex import real2tex

tex = real2tex(1.2345e-6, precision=2)
print(tex) # "1.23 \cdot 10^{\minus 6}"

If you want to see how it works or edit the code, you can found the source on GitHub. The code consist of only one file (/src/real2tex.py) and two functions.

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

79105606

Date: 2024-10-19 18:07:46
Score: 2.5
Natty:
Report link

change the PHP Max Input Vars = 5000

it will work. If you are using wordpress and trying to install a theme and you noticed the error, set the Max Input Vars to = 5000

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

79105601

Date: 2024-10-19 18:04:46
Score: 2.5
Natty:
Report link

You are probably facing the same issue I faced several years ago. This is a question and the answer: https://stackoverflow.com/a/45882434/2909375

Angular's http client sometimes doesn't call any rxjs callbacks in case of some network troubles or very fast requests.

Also, I would suggest to you to not subscribe inside effects. Instead, you have to return underlying observable:

@Effect()
customAction$ = this._actions$.pipe(
    ofType<CustomAction>(Actions.CustomAction),
    tap(() => console.log('Custom Action was triggered')),
    switchMap(() => this.myservice.DoApiCall().pipe(
        catchError(() => {
            console.log('error() triggered...');
            return EMPTY;
        }),
        finalize(() => {
            console.log('finalize triggered...');
        }),
    )),
);

I put nested pipe which is not necessary but will help you avoid logging at this._actions$ observable completion/error.

If you want your requests won't be canceled once you emit next action, you should replace switchMap to mergeMap.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
Posted by: egorgrushin

79105600

Date: 2024-10-19 18:04:46
Score: 2.5
Natty:
Report link

There is a bracking change in v5. Consider this guide: https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/docs/upgrade-to-v5.md

Now this call should be like:

//var message = ....
//var saveToSentItems = ...

var body = new Microsoft.Graph.Me.SendMail.SendMailPostRequestBody
{
    Message = message,
    SaveToSentItems = saveToSentItems
};

await graphServiceClient.Me
    .SendMail
    .PostAsync(body);
Reasons:
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3459232

79105594

Date: 2024-10-19 18:00:44
Score: 4.5
Natty: 5.5
Report link

It didn't work for me out of all the things I viewed👍

Reasons:
  • Blacklisted phrase (1): It didn't work for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: to your eternity

79105568

Date: 2024-10-19 17:51:41
Score: 4.5
Natty:
Report link

The response here https://stackoverflow.com/a/79075865/2363850 is what worked for me. Use openssh from choco install.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TheDodd

79105558

Date: 2024-10-19 17:48:40
Score: 2.5
Natty:
Report link

The fix for this is just to disable the section that uses the function using the macro and since its not mandatory to wipe pages it doesn't cause no issues, however using qemu with haxm doesn't even work anymore with qemu so if you came here trying to fix this I would just recommend using linux for qemu cause KVM is faster either way

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

79105544

Date: 2024-10-19 17:36:38
Score: 1.5
Natty:
Report link

fetch and AbortSignal are browser APIs, and their implementation isn’t something Jest or your Node environment controls. In this case, the timeout behavior is baked into how the Web API works, so you’re limited to mocking to simulate it. Unit testing, by its nature, focuses on your code rather than the behavior of third-party APIs or the environment.

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

79105542

Date: 2024-10-19 17:36:38
Score: 2
Natty:
Report link

Top Follows APK is your solution for gaining followers on popular platforms like Instagram, TikTok, and Twitter Visit us to get Top Follows APK and watch your online audience grow effortlessly.

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

79105529

Date: 2024-10-19 17:31:37
Score: 1
Natty:
Report link

Thanks for solutions!

The great solution:

npm install --save react-clear-cache

npm uninstall -g create-react-app

npm install -g --force create-react-app

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wilson L. Oliveira

79105520

Date: 2024-10-19 17:27:36
Score: 0.5
Natty:
Report link

If one considers muti-class classification then your formulas for micro-averaged precision and recall are incorrect, in particular their denominators. Also, if ttl_samples denotes the total number of samples then it is also incorrect - in the presented case it is equal 125 (assuming TN = 0).

In the multi-class case the "positive" and the "negative" are treated as two classes and micro-averaged precision (and recall) is calculated as (TP+TN)/(TP+TN+FP+FN), i.e. expresses how many samples among all the classified samples are classified to the proper class, which is equal to the accuracy. In such a case TP and TN should be interpreted as the number of samples correctly classified to, respectively, the first and the second class. TN in your case is apparently equal 0.

Your formula for "micro-averaged precision" is valid for binary classification case when we effectively consider only the positive class.

Reasons:
  • Whitelisted phrase (-1): in your case
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: kewals

79105517

Date: 2024-10-19 17:26:36
Score: 1.5
Natty:
Report link

Python 3.13 should work with Fastapi but you have it version pinned to a quite old release - same for pydantic. Py 3.13 may not work with (very) old packages. Especially old fastapi with latest asyncio would conflict in my mind...

Consider using/trying more recent versions of (all?) packages.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: yan-hic

79105506

Date: 2024-10-19 17:23:35
Score: 1
Natty:
Report link

I solved it by moving the annotation @Primary to the database containing the credentials

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lucas Amaral

79105492

Date: 2024-10-19 17:11:32
Score: 5
Natty:
Report link

I was also getting the same issue, i tried the above given solution but it was not work, so i just commented all the lines then it was worked. Can anyone explain why it is needed local.properties

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Darshan Jadhav

79105479

Date: 2024-10-19 17:05:30
Score: 2.5
Natty:
Report link

Change <article> to <div> it helps to any update in-future

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

79105477

Date: 2024-10-19 17:04:30
Score: 1
Natty:
Report link

The error AttributeError: module 'kms' has no attribute 'PixelFormat' you’re seeing usually indicates a problem with the Picamera2 library or how it’s communicating with your Raspberry Pi's camera. This is especially relevant since you’re using the Raspberry Pi 5, which may have some specific requirements or compatibility issues. When working with camera modules on the Raspberry Pi, they rely on the libcamera framework for managing image capture and processing. The Picamera2 library is built on top of this framework, and any discrepancies between the versions of these libraries can lead to the kind of error you’re encountering. Essentially, if the library you have installed is looking for a feature that’s not available in the version of libcamera on your system, you’ll run into problems. Another aspect to consider is how you’ve configured the camera in your code. In your setup, you're specifying the pixel format and size when creating the camera configuration. If these settings don’t align with what your camera supports, it could cause issues. For instance, if you're trying to use a pixel format that the camera doesn’t recognize, that would trigger an attribute error. It’s also worth mentioning that ensuring your Raspberry Pi is up to date can help avoid these kinds of problems. The operating system and the libraries it uses get updated frequently, and those updates can include fixes for hardware compatibility issues. If your OS is behind, it might not be playing nicely with newer hardware or libraries. Lastly, tapping into the broader community can be really helpful. Others have likely faced similar issues, and checking forums or platforms like GitHub can provide insights or fixes that you might not find in official documentation. Sometimes, the best solutions come from real-world experiences shared by other users dealing with the same tech. So, in a nutshell, this error is likely due to version mismatches or misconfigurations related to your camera setup and the libraries involved. Keeping everything updated and checking community resources can be key to resolving these kinds of issues.

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

79105470

Date: 2024-10-19 16:59:29
Score: 4
Natty:
Report link

I'm facing exactly the same issue. The number of tokens used doesn't make sense, even following the logic of RAG, where we need to count the tokens of the system prompt + main prompt + chunks. In my case, I'm retrieving 3 chunks of 256 tokens, asking a very small prompt and it results in ~3k tokens. More details here: https://learn.microsoft.com/en-us/answers/questions/2103832/high-token-consumption-in-azure-openai-with-your-d.

Wondering if there are additional steps running under the hood.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I'm facing exactly the same issue
  • Low reputation (1):
Posted by: Filipa Castro

79105468

Date: 2024-10-19 16:59:28
Score: 1.5
Natty:
Report link

I accomplished something very similar to this using the below video utilizing the django form wizard. The one difference is that it won't submit between the forms, but one final submit once all the data is entered. This may end up being a better solution depending on your needs.

Maybe not an exact solution, but may lead you down the right path to finding the right solution for your situation.

Django Form Wizard

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