79314769

Date: 2024-12-29 00:22:22
Score: 1.5
Natty:
Report link

I use the in_app_purchase plugin as well. I set the user ID in the PurchaseParam in the Flutter project and I see the user ID in the notification on the server.

In the DecodedPayload.Data.SignedTransactionInfo:

Details: https://developer.apple.com/documentation/appstoreserverapi/appaccounttoken enter image description here

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

79314760

Date: 2024-12-29 00:09:18
Score: 6.5 🚩
Natty: 5
Report link

can someone give a template in witch it works

Reasons:
  • RegEx Blacklisted phrase (2.5): can someone give
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can someone give a
  • Low reputation (1):
Posted by: IDRISSA MAÏGA

79314754

Date: 2024-12-29 00:01:17
Score: 2
Natty:
Report link

Polynomials and generally in parameter-linear models like y=w*g(x) are linear in parameters, it means the learning/optimization is to solve sets of linear equations to find w because y and x becomes measured data. By g(x) you define the nonlinear mapping of features x to y. In case you have not too long x (len(x)<100) you can be fine with up to 4th order full polynomial(s) or just define your nonlinearities that may be intrinsic to the system. Levenberg-Marquardt and Conjugate Gradients are working great. But all matters, choice of x, g(x), sampling, ... , I recently found cases where1,2,3rd order polynomials did not work, but 4th one converged greatly. But proper training still does not mean it truly learned proper causal relations...needs proper testing (and perhaps pruning).

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ibukki

79314748

Date: 2024-12-28 23:55:16
Score: 1
Natty:
Report link

incluye este codigo

document.addEventListener('DOMContentLoaded', function() {
  // Anula la creación de nuevos elementos de audio
  window.Audio = function() {
    return { play: function() {} }; // Sobrescribe la función de reproducir
  };
});

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: El refugio del pirata tutorial

79314746

Date: 2024-12-28 23:54:16
Score: 3.5
Natty:
Report link

Adding authMechanism=SCRAM-SHA-1 in the connection string did the trick for me.

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

79314745

Date: 2024-12-28 23:52:16
Score: 1.5
Natty:
Report link

Try use this:

import nltk
nltk.download('punkt_tab')
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shijia Bian

79314741

Date: 2024-12-28 23:44:14
Score: 3
Natty:
Report link

"Disable your antivirus momentarily and try installing composer." This fixed the error for me.

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

79314738

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

Please follow this steps: (Force clear cache and install @sap/cds-dk)

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

79314737

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

Please follow this steps: (Force clear cache and install @sap/cds-dk)

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

79314726

Date: 2024-12-28 23:34:12
Score: 0.5
Natty:
Report link

Turns out InetPton expects a UTF-16 string by default, so I just called InetPtonA, which expects a "normal" ASCII char*, so instead of calling

int result = InetPton(AF_INET, serverAddress, &serverAddr.sin_addr.S_un.S_addr); which redirects to InetPtonW(),

I used int result = InetPtonA(AF_INET, serverAddress, &serverAddr.sin_addr.S_un.S_addr);.

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

79314723

Date: 2024-12-28 23:33:12
Score: 1.5
Natty:
Report link

You can make a utility more important by adding the ! character at the beginning.

!text-green-400

 <ListSubheader className="!text-green-400">Hi</ListSubheader>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammed Bayhan

79314721

Date: 2024-12-28 23:32:12
Score: 0.5
Natty:
Report link

In my case, my activity content was complex, so accessing it through Custom-Theme method was not suitable. @Shouheng Wang's suggestion was the best, but his suggestion needs some modifications. First, I changed it to Kotlin code. And 'resources.getIdentifier' is slow/heavy and is not recommended. My suggestions for improvement are as follows:

Step 1.

Create a 'BarUtils.kt' file. And fill in the following code:

object BarUtils {
   private const val TAG_STATUS_BAR = "TAG_STATUS_BAR"

   // for Lollipop (SDK 21+)
   fun transparentStatusBar(window: Window) {
       window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS)
       window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS)
       val option =
       View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
       val vis = window.decorView.systemUiVisibility
       window.decorView.systemUiVisibility = option or vis
       window.statusBarColor = Color.TRANSPARENT
   }

   fun applyStatusBarColor (window: Window, color: Int, isDecor: Boolean, getStatusBarHeight: Int): View {
       val parent = if (isDecor) window.decorView as ViewGroup else (window.findViewById<View>(R.id.content) as ViewGroup)
       var fakeStatusBarView = parent.findViewWithTag<View>(TAG_STATUS_BAR)
       if (fakeStatusBarView != null) {
           if (fakeStatusBarView.visibility == View.GONE) {
              fakeStatusBarView.visibility = View.VISIBLE
           }
          fakeStatusBarView.setBackgroundColor(color)
       } else {
          fakeStatusBarView = **createStatusBarView** (window, color, getStatusBarHeight)
          parent.addView(fakeStatusBarView)
       }
       return fakeStatusBarView
   }

   private fun createStatusBarView (window: Window, color: Int, **getStatusBarHeight**: Int): View {
       val statusBarView = View(window.context)
       statusBarView.layoutParams = ViewGroup.LayoutParams(
          ViewGroup.LayoutParams.MATCH_PARENT, **getStatusBarHeight**
       )
       statusBarView.setBackgroundColor(color)
       statusBarView.tag = TAG_STATUS_BAR
       return statusBarView
   }

}

Step 2:

Then, insert the following code into the Activity to get getStatusBarHeight, which is the height of the Status Bar.

if (Build.VERSION.SDK_INT >= 24) {
   enableEdgeToEdge()
   ViewCompat.setOnApplyWindowInsetsListener(maBinding.root) { v, windowInsets ->
      val currentNightMode = (resources.configuration.uiMode
                 and Configuration.UI_MODE_NIGHT_MASK)
      val insets = windowInsets.getInsets(WindowInsetsCompat.Type.statusBars())
      v.run {
          updateLayoutParams<ViewGroup.MarginLayoutParams> {
             topMargin = insets.top
             when (currentNightMode) {
                  Configuration.UI_MODE_NIGHT_NO -> {
                     BarUtils.applyStatusBarColor(window, Color.WHITE,true, topMargin)
                  }
                  Configuration.UI_MODE_NIGHT_YES -> {
                     BarUtils.applyStatusBarColor(window, Color.BLACK,true, topMargin)
                  }
                  Configuration.UI_MODE_NIGHT_UNDEFINED -> {
                     BarUtils.applyStatusBarColor(window, Color.WHITE,true, topMargin)
                  }
              }
          }
      }
      windowInsets
      //WindowInsetsCompat.CONSUMED
  }      
}  else {
    BarUtils.transparentStatusBar(window)
}

note:

  1. If you forget enableEdgeToEdge(), the StatusBar color will not appear correctly.

  2. A crash occurs if it is located before the activity's setContentView().

  3. If you do not use v.run {}, 'ViewCompat' changes the height of the activity StatusBar. Don't forget that this code only retrieves the value of 'getStatusBarHeight'. (For the same reason, 'windowInsets' was used instead of 'WindowInsetsCompat.CONSUMED'.)

  4. The 'currentNightMode' part is for dark mode.

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

79314718

Date: 2024-12-28 23:27:11
Score: 1.5
Natty:
Report link

For me it was dumper than not using the injectable decorator or importing the service in a providers list. It was because my service constructor had one parameter, and the injection is parameterless so it was not being injected correctly, once the constructor was updated it worked correctly.

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

79314717

Date: 2024-12-28 23:27:10
Score: 5.5
Natty:
Report link

I created the rule space-in-generics, and submitted an issue to eslint-stylistic.

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vnva

79314711

Date: 2024-12-28 23:20:09
Score: 3.5
Natty:
Report link

Yes, Nitro PDF has this functionality. More details here.

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

79314710

Date: 2024-12-28 23:19:08
Score: 3.5
Natty:
Report link

I have the same error calling driver.takeScreenshot() or driver.saveScreenshot(...) with WebDriverIO + Appium.

The solution was to switch context to NATIVE_APP then takeScreenshot and finally switch context back to FLUTTER.

await driver.switchContext("NATIVE_APP");
await driver.takeScreenshot();//or saveScreenshot(screenshotPath)
await driver.switchContext("FLUTTER");

I know that is not directly answering your question but I hope it might help you in some way!

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
  • Low reputation (0.5):
Posted by: ZoRdAK

79314694

Date: 2024-12-28 23:03:04
Score: 5
Natty:
Report link

Something was wrong with intellij.

File -> Manage IDE Settings -> Restore Default Settings (You can also do it using Ctrl + Shift + A)

When IntelliJ restarts select "Skip Import". If you import old IDE settings you will face the same issue again.

Thank you everyone for the support.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): face the same issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Venky

79314681

Date: 2024-12-28 22:55:02
Score: 0.5
Natty:
Report link

When you put it in the hook, you’re creating a new axios instance every time the hook rerenders, which isn’t good.

Your interceptors apply to the first instance only, since the useEffect only runs on mount. Your hook always return the latest created instance. So if the hook renders more than once you’re out of luck.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: johnhaup

79314660

Date: 2024-12-28 22:39:59
Score: 3.5
Natty:
Report link

Try using the "pak" package to install. I was having the same exact issue until I came across this suggestion here: https://forum.posit.co/t/tidyverse-and-gdal-based-packages-doent-work-in-shiny-with-docker/189389/2

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

79314656

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

I use a bash one-liner for this:

psql -c '\l' | awk '{print $1}' | grep -E '.*june.*' | xargs -n 1 dropdb
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stephanos

79314651

Date: 2024-12-28 22:33:57
Score: 3.5
Natty:
Report link

This is kind LATE!!! I just saw this message and because I have the same issue. I fixed doing this on Git -> Manage Remotes, change Prune remote branches during fetch to true. See image below. You can do other configurations as well. enter image description here

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-2): I fixed
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Flavio Sampaio

79314641

Date: 2024-12-28 22:24:55
Score: 1.5
Natty:
Report link

For anyone still looking, the answer is yes.

In my case, I have a .NET 9.0 application and a .NET 9.0 xUnit test project and I run both of them in Docker. In order to be able to see the tests in TeamCity, I had to install a TeamCity plugin as per this link :

And modify my Dockerfile a little ( again, this is specific to xUnit ). I had to add this to lines at the end:

ENV TEAMCITY_PROJECT_NAME = <YourProjectName>
CMD ["dotnet", "test", "--logger:console;verbosity=detailed", "--results-directory=/app/TestResults"]
Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eugen

79314627

Date: 2024-12-28 22:13:53
Score: 2
Natty:
Report link

answer: set parent property align-items to start.

.d0 {
   align-items: start;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: plotmaster473

79314622

Date: 2024-12-28 22:04:51
Score: 1.5
Natty:
Report link

The problem turned out to be that I defined the google Storage Client object globally in my script.

When I refactored the code to be modular, and put the storage client & bucket initialization in the setup function of my DoFn, it started working.

I don't know why it failed silently like this and left no trace, this was such a pain to debug.

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

79314611

Date: 2024-12-28 21:56:50
Score: 2.5
Natty:
Report link

def sum(a, b): return (a + b)

a = int(input('Enter 1st number: ')) b = int(input('Enter 2nd number: '))

print(f'Sum of {a} and {b} is {sum(a, b)}')

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Said Ahmed Dhagadheere

79314610

Date: 2024-12-28 21:55:49
Score: 8.5 🚩
Natty: 6.5
Report link

Did you find an answer to this? I teach Beginning Programming. I do not want the exit code printed on my students' work.

Reasons:
  • Blacklisted phrase (1): answer to this?
  • RegEx Blacklisted phrase (3): Did you find an answer to this
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find an answer to this
  • Low reputation (1):
Posted by: Jill DeSplinter

79314606

Date: 2024-12-28 21:51:47
Score: 0.5
Natty:
Report link

I would avoid using scripts to apply formatting and use native excel formula instead. In a new column use this pseudo code if( round down to integer <> original value then text( original value, "#.###") else text( original value, "#"))

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

79314604

Date: 2024-12-28 21:50:47
Score: 2
Natty:
Report link

/etc/elasticsearch/jvm.options

-Xms2g
-Xmx2g

for java this should be enough

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

79314589

Date: 2024-12-28 21:41:45
Score: 0.5
Natty:
Report link

Adding a simple explanation to the accepted answers (Applies to only websocket and http/https requests):

In general,

  1. Origin is sent for all websocket requests.

  2. For Http/Https Requests:

It’s primarily the mode and destination that decide whether origin is sent or not.

- a. If mode is navigate, origin header is always omitted.(Clicking on link or entering URL in address bar)

- b. If mode is "cors" and destination is empty, origin header is not sent for Same origin GET and HEAD. But for same origin POST, PUT etc… origin header is sent.(destination is empty when fetch()/XMLHttpRequest api is used and cant be changed, but when we're using HTML destination cant be set to empty manually with the exception of and )

- c. If mode is cors but destination is not empty, origin header is sent for all same origin and cross origin requests.(This can only be done through HTML, i.e. by using img, script, link etc... tags. No way to do this through fetch()/XMLHttpRequest call)

- d. If mode is no-cors and method is HEAD or GET, origin header is NOT sent irrespective of destination value and the resource being same origin or cross origin(mode can be set to "no-cors" through HTML(the default setting for embedded resources)/fetch() but not with XMLHttpRequest).

- e. If mode is no-cors and method is POST, origin header is sent irrespective of destination value and the resource being same origin or cross origin.( This can only be done using fetch() API as you cant set method to POST with "no-cors" mode using HTML or XMLHttpRequest).

Also, presence or absence of origin does nt determine whether the resource participates in CORS protocol or not, i.e. same origin resources don’t obey Access-Control-Allow- headers present in response headers even if origin header is sent in the request*.

But, when we're using fetch() API call, Response.type seems to indicate whether CORS protocol was followed or not.

If Response.type is "basic", the request was same-origin in nature and CORS protocol was NOT followed.

If Response.type is "cors", the request was cross-origin in nature and CORS protocol was followed.

If Response.type is "opaque", the request was cross-origin in nature BUT CORS protocol was NOT followed.

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

79314579

Date: 2024-12-28 21:33:44
Score: 0.5
Natty:
Report link

This is still a problem in 2024, I had Štefan as my username folder, after I moved my AVD from

c:\Users\Štefan\.android\avd\{avd_name} to C:\{avd_name} 

and I changed paths in the c:\Users\Štefan\.android\avd\{avd_name}.ini to the new one, the AVD magically started

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

79314575

Date: 2024-12-28 21:32:43
Score: 5
Natty: 4.5
Report link

How to check if an input is empty in React: using State or Refs

https://medium.com/@glasshost/how-to-check-if-an-input-is-empty-in-react-78d0b0d945bb

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Anastasiia Lukianets

79314567

Date: 2024-12-28 21:26:42
Score: 3
Natty:
Report link

i am gettting some kind same problem but for simple program it is throwing that required parameter password is not present my code is enter image description here

and view is enter image description here

error is enter image description here

i think i am getting this because password is not present in request but only name but don't know to resolve

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: vishnu Sharma

79314556

Date: 2024-12-28 21:16:40
Score: 0.5
Natty:
Report link

Figured it out, has to be done on a Mac

openssl ecparam -name prime256v1 -genkey -noout -out private_key.pem
openssl ec -in key.pem -pubout -text -noout 2> /dev/null | grep "pub:" -A5 | sed 1d | xxd -r -p | base64 | paste -sd "\0" - | tr -d '\n\r ' > publicKey.txt
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Robert Green MBA

79314543

Date: 2024-12-28 21:09:36
Score: 6 🚩
Natty:
Report link

enter image description here

how about this

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: Yaseen Ali

79314537

Date: 2024-12-28 21:05:35
Score: 1.5
Natty:
Report link

Issue resolved

Root cause - the broker service's initContainer to test zookeeper connectivity together with the broker itself were too resource heavy for the node types in the node group (t3.small, 2gb RAM).

Created a new nodegroup, with t3.medium nodes, 4gb RAM, and migrated the cluster to use that instead.

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

79314534

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

For this case I've made use of fgetcsv()

    // Count Lines
    $handle     = fopen($csvfile, "r");
    $numrows    = 0;

    while (($data = fgetcsv($handle, 0)) !== FALSE) {
        $numrows++;
    }
    fclose($handle);

The second arg of fgetcsv (length) can be null since PHP 8.0

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

79314519

Date: 2024-12-28 20:52:32
Score: 1.5
Natty:
Report link

In my case it was colorzilla extension, i had no errors anymore after I disabled it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Alessander Franca

79314516

Date: 2024-12-28 20:48:31
Score: 0.5
Natty:
Report link

I needed a way to get the user input values from a multi-select DataTable (using the select plugin). I'm going to add this code, but it wouldn't be that hard to adapt to a non-multi-select use case.

Basically, it's building an array of the id of each selected row. That array is looped through and it makes an array of the selected data for each row (which it finds by the row ID). At this point, I'm making an array of objects to upload with ajax. This last step could be altered depending on your use case:

async function processUserInput() {
        cardioArry = [];
        var rowData = tblRecentCardio.rows({ selected: true }).data().toArray();
        await rowData.forEach(getUserInput);
        await postCardioLog(cardioArry)
    }

    async function getUserInput(rowData) {
        let rowId = rowData.RowId
        let exerciseId = rowData.ExerciseId;
        let description = rowData.Description;
        let duration = $(`table#tbl-cardio tr#${rowId}`).find('#duration').val();
        let calories = $(`table#tbl-cardio tr#${rowId}`).find('#calories').val();
        let distance = $(`table#tbl-cardio tr#${rowId}`).find('#distance').val();
        buildCardioObj(exerciseId, description, duration, calories, distance);
    }

    function buildCardioObj(exerciseId, description, duration, calories, distance) {

        const cardioObj = {
            ExerciseId: exerciseId,
            Description: description,
            Duration: duration,
            Distance: distance,
            Calories: calories,
            Date: activityDate,
        }
        cardioArry.push(cardioObj);
    }

    // Ajax post done here:
    async function postCardioLog(cardioArry) {

        dtUserInput(cardioArry);

        // const url = '/api/log/';
        // const params = {
        //     CardioBulkLog: cardioArry,
        // }
        // this.isFetching = true;
        // const data = await request(url, params, 'POST');
        // this.isFetching = false;  
        // if (data == "1") {

        // }          
    }

cardioArray is a globally available variable. "tblRecentCardio" is the jquery name for the table, and "tbl-cardio" is the html table id. Also, in the above example, "#duration" is the id of an input element in the table row.

The function "processUserInput()" is attached to a button external to the DataTable.

The function "dtUserInput(cardioArry);" is just another DataTable I used in the demo to display the user input. This would be removed and the object array could be posted to the backend in this function.

This does require that each row has a unique row ID, because jquery is finding the selected rows by the row id.

I made a live demo and it's available at the link below. It's using Alpine.js, but that's mainly to load the data. Nothing with the above code requires Alpine.js:

http://vue.qwest4.com/playground/datatables-user-input-multiselect.html

Reasons:
  • Blacklisted phrase (1): the link below
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user1544428

79314512

Date: 2024-12-28 20:45:31
Score: 3
Natty:
Report link

You can install the TM Terminal Plugin and use git for from there like in any other command line.

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

79314510

Date: 2024-12-28 20:45:31
Score: 3.5
Natty:
Report link

You need to include the comma in your format specification, as in this example

as.Date(c("Feb 21, 2020", "Feb 3, 2021"), "%b %d, %Y")
[1] "2020-02-21" "2021-02-03"

The output of as.Date() will be formatted as YYYY-MM-DD. Is there any reason you can't use that?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: FJCC

79314490

Date: 2024-12-28 20:32:28
Score: 2.5
Natty:
Report link

To remove unwanted Add-Ons from Word Online (Office 365)

you must clear your browser's local storage.

Entries to remove are identified by their ID.

enter image description here

enter image description here

enter image description here

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

79314479

Date: 2024-12-28 20:21:25
Score: 4.5
Natty: 5.5
Report link

I need it. Is there a workaround?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: ChaosSpeeder

79314474

Date: 2024-12-28 20:17:24
Score: 1.5
Natty:
Report link

Probably the lombok not working. I solved this by manually adding getter, setter funcs

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zhenghang Wu

79314472

Date: 2024-12-28 20:15:23
Score: 2
Natty:
Report link

I know this is an old question but I've just had this issue. My problem was that I had a flatlist in a modal component and the component was in a scrollview in the parent page. Moving the component reference outside of the parent scrollview fixed the issue for me.

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

79314453

Date: 2024-12-28 20:01:21
Score: 0.5
Natty:
Report link

This is not a question, but just a comment that may help others that have found this thread (Note that I'm an old C programmer, so C#, XAML, .Net Maui, & Object Orientation are all new to me). I wanted to simply display a table with a variable # of rows, and also needed to calculate some of the cells on the fly. My thinking was to define the table in XAML, and then add additional rows & values in my C# code-behind. I started with a Grid, but couldn't figure out how to add the rows dynamically so I started researching and found TableView, ListView, DataTable, DataGrid, and something magical called FlexLayout. I also tried combinations thereof, to no avail. I finally stumbled on the Grid Methods of "AddRowDefinition" and "Childen.Add" and discovered that I could solve my problem by going back to my simple Grid, wrapped inside a ScrollView. I'm sure there are more elegant solutions, but the below seems to work (note that recently I discovered "Table" in xaml which sounds promising, but that was after I came up with the soln below) For an example, the code below simply calculates the Squares & Square Roots of the first N integers, and displays them table format (XAML code first, followed by the C# code): Code will be include in following posts.

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

79314450

Date: 2024-12-28 19:58:20
Score: 3
Natty:
Report link

I have no idea what all of this is but when i tried the code, it told me that the value could not be null. I also don't know what to put it the public variables. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aryana Rana

79314440

Date: 2024-12-28 19:48:18
Score: 1.5
Natty:
Report link

minikube + strimzi were really helpful althought a little harder to configure. I fixed this issue a longer time ago but have answered only now :D

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: elenwen

79314438

Date: 2024-12-28 19:47:18
Score: 1
Natty:
Report link

When you import something in Python, it automatically searches the module on a variable called as PATH. More exactly in python we use the PYTHONPATH enviroment variable.

You can add the directory you are having problems with easily by following one of these 3 methods:

import sys
import os

sys.path.insert(0, os.path.abspath("./PADS"))

import PADS.Automata

Note that this method only works if the path is modified before any imports to the module are done. (Not so scalable for other use cases)

For doing this build a sh script (or ps1 if you are in windows) that updates the PYTHONPATH and run it once for each terminal. The script would be something like the following:

#!/bin/sh
export PYTHONPATH=$PYTHONPATH:'path_to_the_package'

# Example: $PYTHONPATH:'/home/user/PADS'

From now on python will search automatically in the PADS directory and you won't have to update any python file. Even better if you want to automatize this method only append this script to the /home/user/.bashrc file (that will be executed on all terminals).

Pros: Easy, Non-invasive and automatizable method for your packages. Do it once and always work.

This method is the scalable one. Just update all the imports of the package of your friend as follows:

from Util import arbitrary_item  # bad
from PADS.Util import arbitrary_item  # good :D

If you want to feel even more professional then add some __init__.py files to link all the dependencies and generate a setup.py file so you can install the package of your friend with pip install and never depend on its dependencies again :D.

Although this method is slow, it is better for production packages/libraries. There is a tutorial in this link

- PADS
    - my-script.py
    - __init__.py
    - Automata.py
    - Util.py
    - ...
Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Samthink

79314431

Date: 2024-12-28 19:37:16
Score: 2.5
Natty:
Report link

Those methods are obsolete and cumbersome! The way you do it is make sure .net 9.0 SDK is installed AND in Visual Studio go to Extensions and find .NET Upgrade Assistant. Right click project in list and say Upgrade and it will let you pick whatever .net you like!

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

79314429

Date: 2024-12-28 19:35:16
Score: 3.5
Natty:
Report link

Got same issue on .net 8.0. Downgrade Microsoft.AspNetCore.Authorization to 8.0.11

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

79314423

Date: 2024-12-28 19:33:16
Score: 1
Natty:
Report link

This also works for Spotify Login. just replace <data with =>

 <data
    android:scheme="${appAuthRedirectScheme}" //appAuthRedirectSchema being ur apps authSchema ( mostly appAuthRedirectScheme inside defaultConfig => manifestPlaceholders in build.gradle
    android:host="oauthredirect" />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jai Gupta

79314422

Date: 2024-12-28 19:32:15
Score: 3.5
Natty:
Report link

Using VPN or changing WiFi connection seems to work for me.

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

79314419

Date: 2024-12-28 19:30:13
Score: 6 🚩
Natty: 6.5
Report link

I am trying to connect to coinbasePro using RESTClient. The code 'pip install coinbase-advanced-py' does not recognize -advanced-py. Did this problem ever get resolved? I am currently here as well.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (1.5): resolved?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: drNirvana

79314418

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

You may take API from www.licenseplatelookup.org. They may help you find details about license plate owner lookup.

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

79314417

Date: 2024-12-28 19:26:12
Score: 1.5
Natty:
Report link

If your request is to a different domainthen the Cross-origin resource sharing (aka CORS) rules apply. You may need to add Access-Control-Expose-Headers on your server. See Why is Access-Control-Expose-Headers needed?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Kristof Neirynck

79314415

Date: 2024-12-28 19:22:11
Score: 2.5
Natty:
Report link

I was having the same question. I did not find how to achieve that with vanilla Astro, but I found the following Astro plug-in that does exactly that: https://github.com/ixkaito/astro-relative-links

Reasons:
  • Blacklisted phrase (1): how to achieve
  • Low length (1):
  • No code block (0.5):
Posted by: s427

79314414

Date: 2024-12-28 19:21:11
Score: 1
Natty:
Report link

Is there any simple and clear way to implement this?

No.

To implement this, you would need to have a detailed understanding of how the debug info is encoded, and how to interpret it.

I assume I need a parser of dwarf format, find AT_DW_location of arguments in .debug_info, maybe then refer to .debug_loc for location list ...

Yes, and more. You could compile your example program, and then study the output from readelf -wi a.out.

Look for DW_TAG_subprogram, followed by DW_TAG_formal_parameters. Each parameter will have DW_AT_type and DW_AT_location, which will tell you the type and location of the parameter.

I don't know if this is a feasible

It's feasible, but by the time you are done you will have implemented 30-50% of a real debugger. At which point a reasonable question is: why not use a real debugger which exists already?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is there any
  • High reputation (-2):
Posted by: Employed Russian

79314412

Date: 2024-12-28 19:20:11
Score: 0.5
Natty:
Report link

Update the JDK Path You can directly update the JDK path using the flutter config command:

flutter config --jdk-dir /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home

then run

flutter doctor

this work for me

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

79314408

Date: 2024-12-28 19:17:09
Score: 3.5
Natty:
Report link

Give more details about the script, or post it here!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sidney Teodoro Araujo Junior

79314404

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

If you are using a private VPC, private subnet, and ECS, ensure you create the following 4 VPC endpoints to enable ECS tasks to pull images from a private ECR repository:

S3 Gateway Endpoint: Required because ECR images are stored in S3. ECR API Endpoint: For ECS to authenticate and interact with ECR. ECR DKR Endpoint: To pull container images from ECR. Logs Endpoint: To send ECS logs to CloudWatch (if configured). Once these endpoints are set up correctly, your ECS task should be able to pull images from a private ECR repository.

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

79314385

Date: 2024-12-28 18:58:06
Score: 2
Natty:
Report link

I needed to add setTimeout to make it work

setTimeOut() => {
...scrolling code
}, 100)
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marcin Żmigrodzki

79314384

Date: 2024-12-28 18:58:06
Score: 3
Natty:
Report link

sir web only read and show html file. html is structure of web and these json can't show to you. webpage you must use html file and use json in html or js

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

79314377

Date: 2024-12-28 18:49:04
Score: 4.5
Natty:
Report link

Okay, i just lost in async threads

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

79314363

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

I did use json (1.8.6) with rails 4.2.10

then fix some parsing issue using json (2.9.1) when upgrade to rails 5.2.8.1

maybe works for you as well

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

79314345

Date: 2024-12-28 18:29:00
Score: 3.5
Natty:
Report link

Write a program that receives a string of numbers as input and calculates the sum of digits less than 5 that occur in this string.

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

79314341

Date: 2024-12-28 18:24:59
Score: 3
Natty:
Report link

GLMakie seems to have a lot of color-related bugs (even the first example in the tutorial shows color anomalies). CairoMakie seems to be more reliable at this time.

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

79314336

Date: 2024-12-28 18:22:59
Score: 2
Natty:
Report link

I'm also getting this exception when I connect via VPN to my office. My code tries to get TXT record instead of MX. I do not understand why, but adding , tcp = True solves my problem.

Try to add this parameter to the end of resolve function:

dns.resolver.resolve("cmrit.ac.in", 'MX', tcp = True)

PS.

  1. Adding , lifetime=10 also solves the problem, but it waits answer too long.

  2. When I tested getting TXT record through nslookup:

nslookup -q=subdomain.example.com

, I have noticed that there were no nameserver-list in output when I use VPN.


Maybe someone can explain this behavior?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: SerjProch

79314335

Date: 2024-12-28 18:22:59
Score: 3.5
Natty:
Report link

enter image description here

Interestingly, in my case the feature is "Experimental" and it was set to "native". Switching it to "js" seemed to resolve the issue, but the python seems to be lost as it is not picked up from terminal.

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

79314334

Date: 2024-12-28 18:20:58
Score: 5.5
Natty:
Report link

easymeaning.com is in the lowercase letters

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Easymeaning Admin

79314324

Date: 2024-12-28 18:16:57
Score: 2.5
Natty:
Report link

In 2024, if you are still facing this error, first ensure that you have enabled two-factor authentication. After doing that, you can create an app password using the following link.

https://myaccount.google.com/apppasswords

enter image description here

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

79314319

Date: 2024-12-28 18:14:56
Score: 1
Natty:
Report link

Tools > Options > Web Forms Designer > General

Select "Legacy Web Forms Designer" and "Start pages in" = Source view

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

79314318

Date: 2024-12-28 18:14:56
Score: 0.5
Natty:
Report link

Use GtkHeaderBarset_custom_title which can be any widget. Here is pygtk example.

import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk

class HeaderEg(Gtk.Window):
    def __init__(self):
        Gtk.Window.__init__(self)
        self.eNtry = Gtk.Entry()
        self.set_default_size(-1, 200)
        self.connect("destroy", Gtk.main_quit)
        headerbar = Gtk.HeaderBar()
        headerbar.set_custom_title(self.eNtry)
        headerbar.set_show_close_button(True)
        self.set_titlebar(headerbar)


window = HeaderEg()
window.show_all()
Gtk.main()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Murdoch Ravlin

79314317

Date: 2024-12-28 18:13:56
Score: 2.5
Natty:
Report link

This account will be disabled in 180 days Are you sure that you want to log out?

You only have 180 days left to request a review. After that, your account will be permanently disabled. This showing only

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

79314300

Date: 2024-12-28 17:59:53
Score: 2.5
Natty:
Report link

If memory serves, the format for definding a sub-bus is [from..to], not [from...to].

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Trebor the MadOverlord

79314299

Date: 2024-12-28 17:58:53
Score: 0.5
Natty:
Report link

The solution is simple. And I tried to find some potential cause of it worked then did't work overnight.

The solution

The solution is provided by @Estus Flask . I removed my existing node installation (22 lts) and used node 20 lts instead. with both npm and node are lower version, the script that was previously not able to run passed. I would suggest future me or anyone struggle to do the same (use a slightly older version of npm and node), delete your node-module, then rebuild your modules.

The potential cause

I usually mindlessly update my node whenever there's notification in my terminal. Seems like it is not a good thing. Please avoid it if you like to do whatever they said in terminal like I did.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): solution is
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Estus
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Creaper9487

79314296

Date: 2024-12-28 17:56:52
Score: 3
Natty:
Report link

"The terms are frequently abbreviated to the numeronyms i18n (where 18 stands for the number of letters between the first i and the last n in the word internationalization." - Wikipedia

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

79314295

Date: 2024-12-28 17:56:52
Score: 1
Natty:
Report link

I had this same problem, but it started when I made a deeply recursive type. I think while the intellisense was trying to making sense of the type, it stuck on an infinite loop, which would be why it was stuck on loading.

What I did that solved the issue on my case was:

For a reference on the recursive type I made:


/**
 * Enumerate numbers from 0 to N-1
 * @template N - The upper limit (exclusive) of the enumeration
 * @template Acc - An accumulator array to collect the numbers
 *
 * @see {@link https://stackoverflow.com/a/39495173/19843335 restricting numbers to a range - StackOverflow}
 */
type Enumerate<
    N extends number,
    Acc extends number[] = [],
> = Acc["length"] extends N // Check if the accumulator array's length has reached N
    ? Acc[number] // If so, return the numbers in the accumulator array as a union type
    : Enumerate<N, [...Acc, Acc["length"]]>; // Otherwise, continue the enumeration by adding the current length to the accumulator array

/**
 * Create a range of numbers from F to T-1
 * @template F - The starting number of the range (inclusive)
 * @template T - The ending number of the range (exclusive)
 *
 * @see {@link https://stackoverflow.com/a/39495173/19843335 restricting numbers to a range - StackOverflow}
 */
type IntRange<F extends number, T extends number> = Exclude<
    Enumerate<T>, // Enumerate numbers from 0 to T-1
    Enumerate<F> // Exclude numbers from 0 to F-1, resulting in a range from F to T-1
>;

/**
 * Define a range of numbers for question steps, from 1 to 10 (inclusive of 1, exclusive of 10)
 *
 * @see {@link https://stackoverflow.com/a/39495173/19843335 restricting numbers to a range - StackOverflow}
 */
type QuestionsStepsRange = IntRange<1, 11>;

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

79314288

Date: 2024-12-28 17:54:52
Score: 3.5
Natty:
Report link

The issue is caused by the excessive margin-top: 600px !important on the footer and overflow: hidden in the @media (max-width: 768px) styles. Removing the margin and the overflow: hidden property fixes it. Also, avoid overusing !important, as it makes CSS harder to maintain. See the attached screenshot mobile screenshot

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @media
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bridget Amana

79314287

Date: 2024-12-28 17:52:51
Score: 1
Natty:
Report link

Fired when a payment session is completed, successfully or not.

This event can be used to receive interesting information for internal use, via a parameter added to your payment link. The parameter should be called "client_reference_id". For example https://buy.stripe.com/test_fZe8AdgMFewR6sM9AA?client_reference_id=10

The interesting thing you ask in the comments is: how do I know if it has finished successfully without having to listen to the payment_intent.succeeded event?

Yes, you can. If you want to be absolutely sure that the payment has been completed successfully, simply see the value .getPaymentStatus() of com.stripe.model.checkout.Session object, and check that it has the value "paid":

EventDataObjectDeserializer dataObjectDeserializer = event.getDataObjectDeserializer();
            
            
            StripeObject stripeObject = null;
            
           
            com.stripe.model.checkout.Session checkoutSession;
            
            
            if (dataObjectDeserializer.getObject().isPresent()) {
                stripeObject = dataObjectDeserializer.getObject().get();
               
                

                        // Handle the event
                  switch (event.getType()) {
                          
                        case "checkout.session.completed":
                          checkoutSession = (com.stripe.model.checkout.Session) stripeObject;


                          if(checkoutSession!=null){
                             
                               if(checkoutSession.getPaymentStatus().equals("paid")){
                                    ...
                                }


                           
Reasons:
  • Blacklisted phrase (1): how do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Manuel

79314268

Date: 2024-12-28 17:44:50
Score: 0.5
Natty:
Report link

The file not found appears to be python not the script. Try putting in the absolute path to python to confirm and fix.

Note that the documents recommend using an absolute path for the executable since resolving the executable path is platform-specific.

https://api.dart.dev/stable/3.3.4/dart-io/Process/start.html

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

79314250

Date: 2024-12-28 17:30:47
Score: 0.5
Natty:
Report link

Starting with python 3.11 you can just unpack tuple/array with a star operator:

class CategoryRequest(BaseModel):
    class_name: Literal[*CLASS_NAME_VALUES]
    icon_name: Literal[*ICON_NAME_VALUES]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Valerij

79314244

Date: 2024-12-28 17:26:46
Score: 2.5
Natty:
Report link

Is paypal's sandbox IPN simulator still there? It's mentioned in their docs.

I have not used it for a scary length of time, I do remember that it was hard to find. I looked around in sandbox and cannot find it.

This post has a useful test tool for sending one's own fake IPNs for testing listeners.

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

79314242

Date: 2024-12-28 17:26:46
Score: 0.5
Natty:
Report link

this behavior is not expected.

First of all, I saw in your video that you are using react-router-dom, as they say on the npmjs page you should move import from react-router instead.

Then you should open an issue directly on their Github. I hope they will find an answer quickly to your problem :)

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

79314240

Date: 2024-12-28 17:24:45
Score: 4
Natty:
Report link

try curl_setopt($ch, CURLOPT_HTTPGET, 1);

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Francisco Juan

79314237

Date: 2024-12-28 17:22:44
Score: 2.5
Natty:
Report link

Have a look here: https://www.youtube.com/watch?v=iSbmB7ZJ5zw

Basically, I had to change the URI's from http to https.

Instead of: tomcat-users version="1.0" xmlns="http://tomcat.apache.org/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tomcat.apache.org tomcat-users.xsd"

This one worked: tomcat-users version="1.0" xmlns="https://tomcat.apache.org/xml" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://tomcat.apache.org tomcat-users.xsd"

Reasons:
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • Low reputation (1):
Posted by: FrankL42

79314228

Date: 2024-12-28 17:15:43
Score: 1.5
Natty:
Report link

Finally it funcionned with this code:

 await gapi.client.classroom.courses.courseWork.list({courseId: idcourse }).then(function(data){
    var courseWorks = data.result.courseWork;
}

The response "data" show results into "result", that it contain a array witdh all taks in the course witdh id "idcourse".

Thanks you!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Manuel Cera Vera

79314210

Date: 2024-12-28 17:06:40
Score: 0.5
Natty:
Report link

As the error states, the OnAdLoaded method, when overridden provides a parameter of type Java.Lang.Object. Similarly, OnAdFailedToLoad provides a parameter of type LoadAdError

It seems you're trying to implement Interstitial Ads in your app and you are expecting the provided parameter of OnAdLoaded method to be of type InterstitialAd.

I would suggest to follow the approach specified in this link to achieve this.

You just have to create a custom callback class instead of directly using InterstitialAdLoadCallback to get InterstitialAd as parameter to OnAdLoaded method.

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bhavanesh N

79314209

Date: 2024-12-28 17:06:40
Score: 5
Natty:
Report link

Sorry for the super late response. We developed an Incremental Naive Bayes learner as part of our undergrad thesis: https://github.com/Geekynawab/UNDERGRAD/blob/main/FYP_Phase1_Report%20(1).pdf

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nawab

79314185

Date: 2024-12-28 16:50:37
Score: 0.5
Natty:
Report link

Try to add --disable-popup-blocking option browser_options.arguments

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

79314183

Date: 2024-12-28 16:49:36
Score: 4
Natty: 4.5
Report link

[enter image description here][1]

[1]: https://i.sstatic.net/vtjBIyo7.jpg which ic is used in this picture

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hrishikesh Panchal

79314170

Date: 2024-12-28 16:45:35
Score: 1.5
Natty:
Report link

There are couple different methods Take a look into intunewin32app powershell module first There is also intune manager by Micke-K on github that have some useful modules for that. Lastly graphs api with instruction here https://github.com/microsoftgraph/powershell-intune-samples/tree/master/LOB_Application

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

79314168

Date: 2024-12-28 16:42:34
Score: 1.5
Natty:
Report link

0

I am stress testing a flask application using ab -n 10000 -c 1000 http://192.168.1.16:9090/, and monitoring ListenDrops with nstat -az TcpExtListenDrops on Ubuntu 22.04 (Kernel: 6.8.0-49-generic). My understanding is, each ListenDrops indicates a request that should be discarded, and the client should receive either an error, or no response at all. Despite this, ab says everything was a success

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

79314167

Date: 2024-12-28 16:42:34
Score: 2.5
Natty:
Report link

As pointed out by A Haworth, one only has to enable the "print background" in the printer dialog.

printer dialog

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

79314156

Date: 2024-12-28 16:36:33
Score: 1
Natty:
Report link

Firebase Dynamic Links is deprecated, but still supported. From the FAQ on its deprecation and upcoming sunset:

I need to onboard onto Firebase Dynamic Links to enable email link auth in Firebase Authentication. What should I do?

It currently is not possible to newly onboard onto Firebase Dynamic Links if your Firebase project doesn't already have FDL enabled as of the sunset announcement date on August 25th, 2023.

If you need to enable Firebase Dynamic Links to enable email link authentication, please contact Firebase Support and we'll reach back to you to help get you configured.

Note that this continuation of functionality is separate from using Firebase Dynamic Links for the primary use cases of store and web routing, deferred and regular deep-linking, which will be deprecated according to the migration timeline shared above.

So you should reach out to Firebase support to get their help enabling Firebase Dynamic Links on your project for the purpose of using it in email link authentication.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2): What should I do
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Frank van Puffelen

79314149

Date: 2024-12-28 16:33:32
Score: 0.5
Natty:
Report link

Building upon the anwser by @Steve on using the bin/ folder for automatic staging of python scripts:

Something that some might find useful is that you can also add symbolic links into your bin/ folder. You can then access all python files inside that symlinked folder using relative imports.

For example, if you have a folder nextflow-pipeline containing your nextflow setup and a separate folder containing your python source code src,

$ tree .
.
├── nextflow-pipeline
│   ├── bin
│   │   └── script1.py
│   └── main.nf
└── src
    └── py_src_1.py

you could symlink the src folder inside bin

$ cd nextflow-pipeline/bin
$ ln -s ../../src/ .
$ tree .
.
├── nextflow-pipeline
│   ├── bin
│   │   ├── script1.py
│   │   └── src -> ../../src/
│   └── main.nf
└── src
    └── py_src_1.py

such that a python script like script1.py

#!/usr/bin/env python3

from src.py_src_1 import outside_test_fn

outside_test_fn()

can be called inside a nextflow workflow

process TestPythonImport {

    script:
    """
    script1.py
    """

}

workflow {

    TestPythonImport()

}

without errors.

This is useful for example if you don't want to move your full python source code inside the nextflow project folder.

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

79314144

Date: 2024-12-28 16:31:31
Score: 5.5
Natty:
Report link

@Roko C. Buljan thanx for this.

I suggest you take a look at refactored version in TypeScript here

See also Life demo

Reasons:
  • Blacklisted phrase (1): thanx
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Roko
  • Low reputation (1):
Posted by: pravosleva

79314132

Date: 2024-12-28 16:23:29
Score: 1.5
Natty:
Report link

The Problem is you perform object detection in the "frame read loop". Decouple "frame reading" and detection, use a Queue to push frames from the read thread, and pull it from the detection thread. See my comment

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

79314131

Date: 2024-12-28 16:23:29
Score: 1.5
Natty:
Report link

Check your webhook for what's happening. When I encountered the same issue the message sent to my webhook was this:

"Message failed to send because more than 24 hours have passed since the customer last replied to this number"

So text the real number from the recipient phone and you will be able to send messages to it for the 24 hours.

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

79314130

Date: 2024-12-28 16:22:29
Score: 2
Natty:
Report link

As someone, whose post has been deleted for some reason, just posted, it was indeed a problem with the Python version being too new and libcst apparently not yet compatible. It works when I go back to 3.10.

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

79314125

Date: 2024-12-28 16:20:28
Score: 2.5
Natty:
Report link

Function AddSlashes(Text) Dim MyString As String MyString = Replace(Replace(Replace(Text, "", "\"), "'", "'"), Chr(34), "" & Chr(34)) AddSlashes = MyString

End Function

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