79163100

Date: 2024-11-06 14:49:23
Score: 0.5
Natty:
Report link

Try a formatted string for your last line where you are generating result go from:

result = cursor.execute(eightspdSQL + "AND speed=?", [speed]) + "ORDER BY brand ASC")

TO

result = cursor.execute(f"{eightspdSQL} AND speed={speed} ORDER BY brand ASC")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matthew S Giancola

79163091

Date: 2024-11-06 14:45:22
Score: 3
Natty:
Report link

Please find a detailed answer to a similar question here:

My text file is riddled with question marks. How can I make it readable?

It's in another forum similar to this one, superuser.com. I don't want to just copy the answer, its feel unpolite :).

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Salvador Jesús Romero

79163086

Date: 2024-11-06 14:44:22
Score: 2
Natty:
Report link

There is now an option in Git Tower that allows us to skip hooks:

Skip Hooks CheckBox

https://www.git-tower.com/blog/git-hooks-husky/

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

79163080

Date: 2024-11-06 14:42:22
Score: 1.5
Natty:
Report link

Workaround/Solution found in this issue on gitlab : https://gitlab.com/gitlab-org/charts/gitlab-runner/-/issues/560#note_1a6554148a64b08308e17607cec4df501d761b4a

Mainly the solution consist of setting the poll_timeout to 3600 in the values.yaml. This solution will still log a lot of containers with unready status however at some point it will have the time to pull the image and will set the status to ready.

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

79163072

Date: 2024-11-06 14:41:21
Score: 3.5
Natty:
Report link

If none of this works, creating a new domain and generating EARs may be a solution.

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

79163065

Date: 2024-11-06 14:39:21
Score: 2
Natty:
Report link

Cloud Logging can be used with the following query. The kubelet logs are available from what I can see and this answer should be updated.

resource.type="k8s_node"
resource.labels.project_id="project-name"
resource.labels.location="gcp-cluster-region"
resource.labels.cluster_name="cluster-name"
resource.labels.node_name="gke-node-name"
logName="projects/project-name/logs/kubelet"
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: rgravlin

79163060

Date: 2024-11-06 14:38:20
Score: 1.5
Natty:
Report link

Here is one line code:

const removePaths = (url, numsPathToRemove) => url.replace(/\/+$/, "").split("/").slice(0, -numsPathToRemove).join("/");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ABDULLAH SH

79163053

Date: 2024-11-06 14:37:20
Score: 0.5
Natty:
Report link

The better approach here is to test the type in the method.

AddOrUpdate<TorC>( TorC entryOrEntries)
{
    if (typeof(ToC).IsAssignableTo(typeof(IEnumerable)) {
        AddOrUpdateEnumerable( entryOrEntries);
    } else {
        AddOrUpdateSingle( entryOrEntries);
    }
}

This reduces unintentional errors because the caller doesn't have to remember to specify the type when passing a value. In the other approach, if the caller forgets to specify the type then the compiler will not complain and the wrong method will be called.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: sjb

79163039

Date: 2024-11-06 14:34:19
Score: 0.5
Natty:
Report link

I checked your repo on Github and you are missing postcss.config.js file in your root.

Add it in your root like this:

postcss.config.js

 export default {
  plugins: {
    tailwindcss: {},
  },
};

Or run this command:

npx tailwindcss init -p

More info: https://tailwindcss.com/docs/guides/vite

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

79163038

Date: 2024-11-06 14:33:19
Score: 3
Natty:
Report link

I managed to resolve this one. Basically the path to the docker file to the image builder was not correctly set and after doing that, I was able to get the image built and the testcontainer running that image.

Thanks,

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tenacious

79163037

Date: 2024-11-06 14:33:19
Score: 1.5
Natty:
Report link

Alright, after hours of researching and trial-n-error. Finally, I fixed the issue by re-enabling the SIP back on. Now the error is gone and the VS Code works perfectly.

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: Chun Kit Ma

79163033

Date: 2024-11-06 14:32:19
Score: 0.5
Natty:
Report link

When utilizing the SoapCore library in an ASP.NET Core service, use the XmlType attribute with the Namespace property set to the desired namespace for the DeliveryType class in order to include a specific namespace for the types in the WSDL specification. Nevertheless, creating distinct schema documents for every namespace is not supported by SoapCore. Use a different SOAP library or generate the WSDL by hand if you require distinct schema documents.

[Serializable]
[XmlType("deliveryType", Namespace = "http://www.ech.ch/xmlns/eCH-0020-f/3")]
public class DeliveryType
{
    [XmlAttribute(AttributeName = "Test")]
    public string Test { get; set; }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Sander

79163023

Date: 2024-11-06 14:29:18
Score: 1.5
Natty:
Report link

I think this is a known issue on Google Cloud Run Function, especially when you are using the “Test Function” feature that blocks the user from testing or deploying.

Upon checking the Cloud Run Function public issue tracker, there is an ongoing discussion about the issue. You can also upvote or comment to monitor any updates coming directly from Google Cloud Support and Engineering Team. You can also check the release notes page to keep you updated on the recent updates about Cloud Run Function.

For the meantime, you can try the suggested workaround which is to test the function locally via the functions framework or the functions emulator.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: KikoZam

79163011

Date: 2024-11-06 14:26:17
Score: 2.5
Natty:
Report link

In my case I use the "store" module. And I have the same problem export = syntax in the lib.

To solve my problem, I created file

types.d.ts

declare module 'store' {
  export interface StoreJsAPI extends globalThis.StoreJsAPI {
     // your methods to overwrite
    method(options?: any): any;
  }

  export const store: StoreJsAPI;
}

and in my ts file

import * as store from 'store';

store.method({})

And it let me extend lib types with export = syntax :)

I hope It helps somebody :)

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Whitelisted phrase (-1): hope It helps
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Aleksey Zikrackiy

79163010

Date: 2024-11-06 14:26:17
Score: 1
Natty:
Report link

You are right that both of these generate the same answer. I also had this question so I looked up for MySQL reference manual and a book by Sumita Arora :"Informatic Practices for class 12", and it is clearly stated in each of the them that DAY() and DAYOFMONTH() are synonyms to each other and are used to display the date in range 1 to 31(If you enter a date such as 2024-00-00 or 0000-00-00 then you will get 0 as your output).

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

79163003

Date: 2024-11-06 14:25:17
Score: 1
Natty:
Report link

Provide answers to the items below clearly indicating in your submission what each part refers to. If we cannot work out which item that parts of your submission refer to then you may miss marks.

  1. (Propositional Logic) Hurkle World Environment - H=Hurkle H page 2 of 4 Hurkle (H) is a beast that lives in a 4x4 grid world. Hurkle can at most be in only one square. Consider the environment definition of the Hurkle world as shown above which uses the notation used for the Wumpus world in Figure 7.3 in the book Artificial Intelligence: A Modern Approach. To avoid clutter the grid numbers are not shown here. Hurkle world is a lot simpler than the Wumpus world – no gold, no pits, no breeze and no stench. In this question, you will use the logic module of the AIMA-Python code repository, which you have used in the lab classes. Your task is to create a Python Jupyter Notebook that uses AIMA-Python code to implement the Hurkle world environment incrementally using Propositional Logic. The environment should allow a human user to play the ‘Hurkle Hunt’ game. There are several versions of this game – e.g. the MSDOS Hurkle Hunt game. Our version of this coursework is simpler than any of these. The main idea behind our version is that the Hurkle environment knows from the start where the Hurkle is in the Hurkle world and the user has a fixed number of attempts to guess the location of the Hurkle. Initially, the user guesses the Hurkle location randomly. If the user is lucky and the random guess is correct the Hurkle environment should confirm that the Hurkle is ‘caught’ by the user and the game stops. Otherwise, the environment gives a clue to the user asking her to move in one of the eight directions - N, E, W, S, NE, SE, SW, NW from the wrongly guessed location. The user then makes another guess informed by the clue. The game continues until the user makes the correct guess of Hurkle’s location. The number of guesses used to locate the Hurkle is the user’s score (low scores are better). You will not implement the Hurkle environment fully. You will incrementally build the Hurkle environment in each of the tasks below. Although the Hurkle environment is new to you, you will benefit from a good understanding of the Wumpus world discussed in lectures which is also discussed thoroughly in sections 7.3 and 7.4 in the AIMA textbook. The inferences in the Wumpus world as demonstrated in the logic Jupyter notebook in AIMA-Python code repository will be useful to you while working on the tasks below. NOTE:
  2. Each of you will assume a different randomly chosen location for the Hurkle which will remain the same for you in all the tasks below.
  3. The tasks below are described using the Hurkle location H13 as shown above in the figure. You shall have to interpret the instructions relative to your chosen Hurkle location.
  4. For all the parts below, higher marks are given for clear explanations.
  5. All the explanations should be directly added to the Jupyter notebook in the markdown cells. i. Initial Simple Environment: Add the required Symbols and only one Sentence ‘telling’, in Propositional Logic to a PropKB knowledgebase, the location of the Hurkle which is ‘known’ to the Hurkle World Environment. Explain (directly in a markdown cell) this simple environment using the contents of the knowledgebase. In this task, you will play only the first initial random guess. In this task consider that as a user you make a wrong guess such as H42 (Since H13 is chosen (which will be different for each of you), this is a wrong guess). Is your simple environment created in this task able to logically ‘infer’ that this guess of H42 is false (not true)? Make the required inference in the notebook and explain your findings. (5 marks) ii. Intermediate-level Environment: Feel free to reinitialize your knowledgebase if required in this task. One of the constraints on the Hurkle location is that the Hurkle can at most be in only one square. Add the required sentences or rules to the knowledgebase and rerun the inference from the above task I and explain your findings. (5 marks) page 3 of 4 iii. Advanced-level Environment: Feel free to reinitialize your knowledgebase if required in this task. Define the required symbols for this task. Add rules to the knowledgebase that allow user to check each of the eight directions to learn the direction clue from the environment. Run one example check in your notebook. Your check for NW should call the usual inference mechanism as shown below: Hurkle_kb.ask_if_true(NW), Hurkle_kb.ask_if_true(~NW) (5 marks)
  6. (First Order Logic). Consider the following paragraph which you will use to create a FolKB (a knowledgebase in First Order Logic) using the code in the AIMA-Python Knowledge and Reasoning module: “Olympians who are physically and mentally healthy win gold medals. Persons who eat healthy, sleep well and exercise regularly are always physically healthy. Persons who have positive friends and watch less TV are always mentally healthy. Sports persons have positive friends. Sports persons always do a lot of physical exercise and always eat a healthy diet. Sports persons always watch less TV. Simone Biles is a gymnast and an Olympian. She sleeps well.” i. Create a FolKB using the information content (knowledge) in the above paragraph. Add any general knowledge required to complete your knowledgebase. (8 marks) ii. Using the forward chaining algorithm, fol_fc_ask in Knowledge and Reasoning module, list the Olympians who win gold medals showing the intermediate steps in the inference process.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Constance Nneka Eze

79162995

Date: 2024-11-06 14:22:14
Score: 15 🚩
Natty: 6
Report link

do you have any debug message? i have the same problem, I asked some of my more experienced mates they said : "you don't have a handler or it works correctly for patch requests with getting a user from a token or something" Still got no idea what is that handler. But i want to ask a question, did you fix this trouble?

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (3): did you fix this
  • RegEx Blacklisted phrase (1.5): fix this trouble?
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (2.5): do you have any
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: MR Mindeleew

79162994

Date: 2024-11-06 14:21:13
Score: 4
Natty:
Report link

founded solution in main spring boot class I added @EnableAsync and above doSomething method I added @Async now it works with fixed-rate as I wanted, thanks a lot for the help.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @EnableAsync
  • User mentioned (0): @Async
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jan

79162987

Date: 2024-11-06 14:20:13
Score: 1.5
Natty:
Report link

Please help configure my async CSS + early hint setup. I would like to start loading XXX.css as early as possible BUT giving bandwidth priority to the main HTML (which has inline CSS and inline JS that are more urgent)

This seems a bit of a contradiction in terms. If it's not a high priority then you shouldn't be trying to load it as early as possible. In particular Early Hints (on Chrome at least) does not support different fetch priorities so there's a good chance it will interfere with the more critical HTML and JS.

A preload for 'XXX.css' is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.

I don't think this is anything to do with the crossorigin attrobute and think it's more to do with your media attribute being missing (and so it not matching your link).

The resource XXX.css was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

I suspect this is partially due to your missing media attribute on your Early Hint as mentioned already, but I also think there is a risk with the following (particularly when using Early Hints) that the link may be loaded already by the time you start the <script> evaluation so the onload event has already fired before you attach the event handler.

IMHO you're be better inserting the <link> element (with the load handler at the same time) in your script:

<!-- Another preload for browsers that don't support Early Hints Preload (Safari) -->
<link rel="preload" as="style" href="/XXX.css" media="print">

<!-- Add the real link with an onload handler -->
<script>
  const link = document.createElement("link");
  link.rel = "stylesheet";
  link.media = "print";
  link.href = "XXX.css";
  link.addEventListener("load", function() { link.media = "all"});
  document.head.appendChild(link);
</script>

<!-- Handle when JS is disabled -->
<noscript>
<link id="main-css" rel="stylesheet" media="all" href="/XXX.css">
</noscript>

But honestly I'd remove it from Early Hints completely and let that deal with the more critical JS. The async stylesheet can wait IMHO if it really is async.

Reasons:
  • RegEx Blacklisted phrase (3): Please help
  • RegEx Blacklisted phrase (2): urgent
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Barry Pollard

79162982

Date: 2024-11-06 14:19:12
Score: 2.5
Natty:
Report link

In the Account Holder section, go to the Business section where you will see agreements. Click on the agreement to accept it, then close Xcode, reopen it Xcode project.then It will work perfectly.

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

79162966

Date: 2024-11-06 14:16:11
Score: 2
Natty:
Report link

I recently ran into this problem and came up with a solution using sparse matrices to compute the toepliz. I posted it at the torch forums. I hope it might help.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: leandro souza rosa

79162938

Date: 2024-11-06 14:10:09
Score: 2.5
Natty:
Report link
#include <Windows.h>
#ifdef max
# undef max
#endif 
//...
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: onlooker

79162935

Date: 2024-11-06 14:09:09
Score: 2.5
Natty:
Report link

Ok, I think I can answer my own question here, although not everything is answered yet.

  1. CPython does cache smaller integers. Say I have x = 5 y = 5 x is y , the answer will be true. That is why the refcount is so high, as apparently imported libraries from the Python script also use those numbers I was using.

  2. The same concept.

  3. This one I cannot answer yet, but since my Python script uses PyTorch there appears an issue with that. I updated my PyTorch version and do explicitely cast .detach() on everything that I have now, and if possible use the GPU for inference. Like this I capped the memory consumption growth at a much lower rate, albeit it still increases slowly even with dummy input. I will leave it as is for now, since at least my problem is solved, but an explanation would be not so bad. I can provide example code.

  4. Using the Py_SET_REFCNT() to set that to zero led to segfaults, because I was deleting shared objects, see point 1 and 2. I will explain below the function and how it works in CPython.

  5. In general the C++ code should not be able to catch errors that happen in the underlying Python. For how to deal with errors in this situation see e.g. https://docs.python.org/3/extending/extending.html#intermezzo-errors-and-exceptions

  6. I will describe below.

As for the code and the conventions here, the following applies. In my code I first construct a list. This list has a refcount of 1. Then, in a loop I construct subsequent objects p_symbol, each with a refcount of 1 as well (in my real code I use lists of lists, but the same principle applies). The function PyList_SetItem() transfers ownership of p_symbol to p_list. Meaning, when p_symbol goes out of scope the object the p_symbol referred to still has a refcount of 1. Instead, freeing the memory held by p_symbol is responsibility of p_list now.

Then, I do call a Python script, which takes my list. As per convention my function still owns p_list, and it is my functions responsibility to remove it. Therefore, I should call Py_DECREF() at the end of my function or whenever I do not need p_list anymore. Since the refcount of p_list is 1 before the call PyDECREF() will free p_list, which will do the same for all its objects it is holding as well (or decreasing their refcount by 1 if larger).

The function PyList_GetItem() just returns a reference, but does not transfer ownership to my function. Hence I should not mess with their content, i.e. leave their counts as is.

And finally, also as per convention, functions in CPython that create objects and return them also transfer ownership. This means for my function that it is now its responsibility to call Py_DECREF() on p_result afterwards. This will again take care of the contents of p_result as well.

I hope this explanation helps, and feel free to modify. In general, this recourse helped me a lot: https://docs.python.org/3/extending/extending.html#

Also, reading the relevant code parts in the CPython GitHub repo: https://github.com/python/cpython

Reasons:
  • Blacklisted phrase (1): helped me a lot
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RBaumgar

79162932

Date: 2024-11-06 14:09:08
Score: 3.5
Natty:
Report link

Upon looking deeper at what the query was pulling we found a DB view that our userID was not given access too. This solved the issue!

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

79162924

Date: 2024-11-06 14:05:07
Score: 3.5
Natty:
Report link

I guess you are missing maybe this "qtquick3d-native" in the DEPENDS.

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

79162909

Date: 2024-11-06 14:01:06
Score: 1
Natty:
Report link

Suggest registering the custom taxonomy before registering the custom post type. If that doesn't work, then try setting show_in_rest on the taxonomy config to true.

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

79162907

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

Not sure it is relevant however today there are several very efficient solutions: Davoice.io and Picovoice.ai You can check the battery usage by installing the example apps: Here is a link to my demo app: https://github.com/frymanofer/ReactNative_WakeWordDetection

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

79162894

Date: 2024-11-06 13:57:05
Score: 2
Natty:
Report link

For Windows 11 (Oct 2024), Windows Terminal, not any special settings/config is needed. Unicode works naturally.

I try to write some Unicode characters in the console and you can see it displays well. It even works with other tools like iPython (try to assign Unicode string to variable, display it value ...)

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

79162892

Date: 2024-11-06 13:57:05
Score: 2
Natty:
Report link

The following steps resolved the issue:

  1. Update Flutter to the latest version by running: flutter upgrade
  2. Use the latest version : firebase_auth: ^5.3.1
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jitendra Mistry

79162887

Date: 2024-11-06 13:56:04
Score: 2.5
Natty:
Report link

If you still can't solve your problem.

In my case:

  1. Reupload your project
  2. File -> Invalidate Caches -> Invalidate and Restart
  3. Add as Maven Project

Good luck!

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

79162875

Date: 2024-11-06 13:51:03
Score: 1.5
Natty:
Report link

Not writing an answer but rather linking the official Cognito doc, that talks about Setting up SAML Federation in AWS Cognito for IDP initiated Single Sign On (SSO).

https://aws.amazon.com/blogs/security/how-to-set-up-saml-federation-in-amazon-cognito-using-idp-initiated-single-sign-on-request-signing-and-encrypted-assertions/

Hope this helps you as much as it helped me.

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

79162868

Date: 2024-11-06 13:50:02
Score: 2.5
Natty:
Report link

It is not possible. I assume you are trying to create Elasticsearch NodeSet. If so it is stateful by nature, Elasticsearch is sateful application and it must be done with Statefulset.

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

79162859

Date: 2024-11-06 13:48:02
Score: 2
Natty:
Report link

This problem occurs mostly on VScode installations which were installed using user-installer in windows system. Solutition: Close the running Vscode application. Get the System installer under https://code.visualstudio.com/download# for windows and excecute it. Restart your application and the shortcuts problem is gone

Vscode System installer

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

79162858

Date: 2024-11-06 13:48:02
Score: 2.5
Natty:
Report link

My solution was to move the project directory to a folder that isn’t synced with iCloud. Give it a try! :)

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

79162850

Date: 2024-11-06 13:46:01
Score: 5
Natty: 6.5
Report link

so in spotify tell me how can i preview the 30sec track with api? and doesnt it need premium for that?

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dawa Sherpa

79162848

Date: 2024-11-06 13:45:00
Score: 1.5
Natty:
Report link

It doesn't matter who installs Jenkins on a system. Generally you want to setup server programs like Jenkins (doesn't matter if it's master or a slave node) to run in the system context ( IE, as a service), as a local system user that's not you, and has the lowest privileges possible. I usually just create a local system account named Jenkins with minimal privileges.

The slave nodes are easy to setup but not totally straight forward. At a high level, each requires a unique key generated by the Jenkins master under Manage Jenkins -> Nodes, and the master has to be setup with the proper configuration settings to allow slaves to connect under Manage Jenkins -> Security -> Agents. Sorry I can't be more help on the slaves, it's been a long time since I set one up.

Reasons:
  • RegEx Blacklisted phrase (0.5): Sorry I can't
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Scot Kreienkamp

79162841

Date: 2024-11-06 13:45:00
Score: 1
Natty:
Report link

If the only use cases that you (will) have are char[4], char[4], uint16_t, and float, then following the advice of @Jarod42 and @463035818_is_not_an_ai is enough. If there's more, and since you have used the tag oop, I propose the following option:

Instead of enumerating your Tags, define a small class for each Tag item, and have a virtual method for handling t. Delegate handling what to do with t in the classes you derive from here.

A partial answer would be as follows:

template <typename T>
class Tag {
public:
  virtual void operator() (T& t) = 0;
};

template <typename T>
class A : public Tag<T> {
public:
  void operator() (T& t) override {
    printf("D: A::operator()\n");
  }
};

template <typename T>
class B : public Tag<T> {
public:
  void operator() (T& t) override {
    printf("D: B::operator()\n");
  }
};
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Jarod42
  • User mentioned (0): @463035818_is_not_an_ai
  • Low reputation (1):
Posted by: Mahyar

79162839

Date: 2024-11-06 13:44:00
Score: 3
Natty:
Report link

Remove ./web and run flutter create . --platforms=web as official Flutter team suggests:

https://docs.flutter.dev/platform-integration/web/initialization#upgrade-an-older-project

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

79162834

Date: 2024-11-06 13:42:59
Score: 2.5
Natty:
Report link

You can find the solution in this thread: https://stackoverflow.com/a/79068663

  1. Update the com.android.application plugin to version 8.3.2 in the android/settings.gradle file

  2. setting the distributionUrl to version 8.5 in the gradle-wrapper.properties file

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jitendra Mistry

79162827

Date: 2024-11-06 13:40:59
Score: 2.5
Natty:
Report link

After also reading through the passport.js docs a bit, I suggest you try to accomplish your goals with the JWT strategy by passport: https://www.passportjs.org/packages/passport-jwt/ and the Google strategy by passport: https://www.passportjs.org/packages/passport-google-oauth20/

If you don't want to use passport at all, this post goes into detail on how to do it yourself without a library by Google: https://permify.co/post/oauth-20-implementation-nodejs-expressjs/

Google does also provide a library to make things a bit easier: https://cloud.google.com/nodejs/docs/reference/google-auth-library/latest

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

79162825

Date: 2024-11-06 13:40:59
Score: 3
Natty:
Report link

remove body tag as it isn't allowed, use enclose the content inside body in another div tag.

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

79162815

Date: 2024-11-06 13:38:58
Score: 3.5
Natty:
Report link

Just Remove the Colorzilla extension from your browser and refresh the page

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

79162814

Date: 2024-11-06 13:37:58
Score: 0.5
Natty:
Report link

The main difference between commitSync() and commitAsync() in Kafka’s Consumer API lies in how each method handles retries and response guarantees during the commit process. The commitSync() function will continue retrying the commit until it either succeeds or encounters a non-retriable error, like an offset out-of-range issue. This provides a reliable commit by handling any temporary issues. However, it may cause the consumer to hang if there’s a network or broker delay, potentially impacting performance and leading to a timeout. In contrast, commitAsync() doesn’t wait for confirmation from the broker and won’t retry if a commit fails. The method simply sends the commit request and moves on, making it faster and non-blocking. However, because commitAsync() doesn’t retry, there’s a chance that the offset may not be committed in the event of a network issue or a broker failure, which can lead to potential offset inconsistencies. This might be acceptable in use cases where occasional duplicate processing is tolerable. Although commitAsync() doesn’t guarantee the commit (since it won’t retry failures), it’s a better fit for lower latency

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

79162805

Date: 2024-11-06 13:33:54
Score: 6 🚩
Natty:
Report link

I'm facing the same issue. Any updates on this ?

"react-native": "0.73.2", "@react-navigation/native": "^6.1.9", "@react-navigation/native-stack": "^6.9.17", "@react-navigation/stack": "^6.3.20", "@react-navigation/drawer": "^6.7.2",

Reasons:
  • Blacklisted phrase (1): Any updates on
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dev Mobile-Android

79162797

Date: 2024-11-06 13:31:51
Score: 7 🚩
Natty: 4.5
Report link

i am geting same error using "using (Globals.port = new SerialPort(Globals.portName, Globals.BAUDRATE, Globals.parity, Globals.DATABIT, Globals.StopBits)) {}" should i leave this?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am geting same error
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: umair ijaz

79162790

Date: 2024-11-06 13:30:50
Score: 2.5
Natty:
Report link

Please give it a try by adding a validate/validator for sentTo field

sentTo: {
  type: [mongoose.Schema.Types.ObjectId],
  type: [mongoose.Schema.Types.ObjectId],
  ref: "Users",
  ref: 'Users',
  required: [true, "At Least One senderId required"],
  required: [true, 'At Least One senderId required'],
  validate: {
    validator: function (v) {
      return v.length > 0;
    },
    message: 'The sentTo array cannot be empty',
  },
Reasons:
  • RegEx Blacklisted phrase (2.5): Please give
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sharad Paul

79162784

Date: 2024-11-06 13:29:50
Score: 5.5
Natty: 5.5
Report link

If I have a environment variable with the same name in both which one is taken?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Karol Topor

79162783

Date: 2024-11-06 13:29:50
Score: 0.5
Natty:
Report link

I understand that arrow functions have a lexical this binding

Yes.

but I was hoping .call or .apply would still allow me to change the context.

No. It's purely lexical.

Can someone explain why this is happening

That is how arrow functions are designed

or suggest an alternative approach?

Don't use an arrow function if you don't want lexical binding. Lexical binding is the point of arrow functions.

var obj = {
  method() {
    console.log(this)
  }
}

obj.method();

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone explain
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Quentin

79162778

Date: 2024-11-06 13:28:50
Score: 1
Natty:
Report link
- name: downloading a file in groupa

hosts: groupa tasks: - include: tasks/download_file.yml

note: here replace tasks with roles it should work

main.yml {

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

79162772

Date: 2024-11-06 13:26:49
Score: 2.5
Natty:
Report link

Data classes where first introduced in Python 3.7 and provide a simple way to define classes for storing data. Unlike regular Python classes, data classes require less boilerplate code because they come with default implementations for common methods like the constructor, equality, string representation etc.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): where
  • Low reputation (0.5):
Posted by: mab0189

79162771

Date: 2024-11-06 13:26:49
Score: 1
Natty:
Report link

thank you for your reply. I came up with a solution. I am using composed model and so it returns the docType inside the documents in the response.

"documents": [ 
       { 
           "docType": "model-composed-1:model-doc1-en-1" 
        } 
        ..... ] 

When a doc gets extracted by this model type "model-doc1-en-1", I am expecting some content which is specifically in that particular doc type only. So when I am uploading a unknown document the content will be extracted but the expected content in that particular document will not be present and it will be filtered.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aakash Nakarmi

79162770

Date: 2024-11-06 13:25:48
Score: 4
Natty:
Report link

In components you can enable the flag "Never overwrite" to "YES".

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

79162763

Date: 2024-11-06 13:23:48
Score: 0.5
Natty:
Report link

and another mutool solution using mutool run:

make a file myscript.js containing,

var doc = Document.openDocument(scriptArgs[0]);
var n = doc.countPages();

print(n, "pages");

To run,

mutool run myscript.js mypdf.pdf
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: symmetry

79162752

Date: 2024-11-06 13:19:47
Score: 1
Natty:
Report link
 buildTypes {
        release {
            signingConfig = signingConfigs.debug
            debuggable true <---- Delete this line and run flutter build apk again in the terminal
            minifyEnabled true
            shrinkResources true
        }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: codeaybu

79162741

Date: 2024-11-06 13:17:46
Score: 4
Natty: 4
Report link

any sample code available for casting from android to roku

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

79162731

Date: 2024-11-06 13:12:44
Score: 1
Natty:
Report link

Below code is working and giving the expected output.

[ {
  "bI" : {
    "id" : "t1",
    "locale" : [ "id_ID", "id_ID" ],
    "tempName" : null,
    "name" : "Test1",
    "isActive" : false,
    "pT" : "Re"
  },
  "id" : "t1",
  "ContextID" : "id_ID",
  "cf" : {
    "name" : "asd"
  },
  "dE" : {
    "sS" : "arte"
  },
  "mk" : { },
  "pd" : { }
} ]
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Akhila REDDY

79162726

Date: 2024-11-06 13:11:43
Score: 3
Natty:
Report link

This device is standard vga at least as it's configured by qemu/kvm.

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

79162725

Date: 2024-11-06 13:11:43
Score: 2.5
Natty:
Report link

After more extensive research, the problem, not directly linked to the described behavior can be found here :

https://bz.apache.org/bugzilla/show_bug.cgi?id=69399

Probably it's best to avoid 9.0.96 until it's fixed.

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

79162709

Date: 2024-11-06 13:08:42
Score: 1.5
Natty:
Report link

In your controller, you’re returning the view as logged.start, but your start.blade.php file is likely in the resources/views folder.

return view('start', compact('products'));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Surjith

79162704

Date: 2024-11-06 13:07:42
Score: 5
Natty:
Report link

We're facing the same issue.. Tried to create a tokenmanager class to force update the refresh.. No luck so far..

              connection_properties["accessToken"] = token_manager.get_access_token()  # Ensure fresh token
              connection_properties["queryTimeout"] = str(timeout)
              
              df = spark.read.jdbc(url=azure_sql_url, table=query, properties=connection_properties)
              return df

Anybody managed to solve this? Databricks runtime 14.3lts , latest msal

Reasons:
  • Blacklisted phrase (1): No luck
  • RegEx Blacklisted phrase (1.5): solve this?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Wim

79162703

Date: 2024-11-06 13:07:41
Score: 0.5
Natty:
Report link

Very good, based on the above answers, I have summarized this answer, and I believe my implementation has the best performance.

Since the above answers have been explained quite clearly, I did not add any comments.

I think this is what you need:

using System;
using System.Net;
using System.Net.Sockets;

internal static class Program
{
    // stackoverflow.com/a/3294698/162671
    private static ulong SwapEndianness(ulong x)
    {
        return (((x >> 24) & 0x000000ff) | ((x >> 8) & 0x0000ff00) | ((x << 8) & 0x00ff0000) | ((x << 24) & 0xff000000)) * 1000;
    }

    private static void Main(string[] args)
    {
        var time = new DateTime(1900, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);
        var data = new byte[48];
        data[0] = 0x1B;
        using (var socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp))
        {
            socket.Connect(Dns.GetHostAddresses("time.apple.com"), 123);
            socket.Send(data);
            socket.Receive(data);
        }
        unsafe
        {
            fixed (byte* ptr = data)
            {
                var intPart = (uint*)(ptr + 40);
                var fractPart = (uint*)(ptr + 44);
                time = time.AddMilliseconds((SwapEndianness(*fractPart) >> 32) + SwapEndianness(*intPart));
                Console.WriteLine(time);
                Console.WriteLine(time.ToLocalTime());
            }
        }
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lalaki

79162689

Date: 2024-11-06 13:03:41
Score: 1
Natty:
Report link

Defining global variables and inlining scripts are not good practices, but Blade and alpine.js both seem to encourage doing that.

If your app isn't too big, maybe you can put everything in app.js (in, imported from, indirectly imported from, whatever as long as it's in the build system's output app.js file).

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

79162684

Date: 2024-11-06 13:01:40
Score: 3
Natty:
Report link

This doesn't work for your specific case but it could for someone else with a similar issue. Check that env.config() comes before you initialize your db

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

79162683

Date: 2024-11-06 13:01:40
Score: 0.5
Natty:
Report link

I don't know about garments in particular, but running ComfyUI without GPU is possible. I run ComfyUI using python3 main.py --cpu and can use many popular image generation models this way. Of course it's dog slow. And you may also run out of RAM if you use one of the larger models. Stable Diffusion 1.5 should be fine though, it uses only a GB of RAM.

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

79162661

Date: 2024-11-06 12:56:39
Score: 3
Natty:
Report link

On windows cmd

pingT.bat

@echo off ping -t %1|cmd /q /v /c "(pause&pause)>nul & for /l %%a in () do (set /p "data=" && echo(!date! !time! !data!)&ping -n 2 localhost>nul"

pingT 1.1.1.1

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @echo
  • Low reputation (1):
Posted by: Zbyna Jaros

79162657

Date: 2024-11-06 12:54:39
Score: 3.5
Natty:
Report link

after checking, it seems that the swap overconsumption is caused by the tar command issued after the mariabackup to archive the command result.

Is there any way of obtaining a tar file directly from the mariabackup command?

For your information:

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kévin Pemonon

79162649

Date: 2024-11-06 12:52:38
Score: 1
Natty:
Report link

It appears this is an issue with JRE's that do not support "TLS half-close policy". Open JDK 8/1.8 fully works. However, the IBM JDK8 used at my organization does not. I resolved this issue by using httpClient-5.3.1.

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

79162639

Date: 2024-11-06 12:50:37
Score: 0.5
Natty:
Report link

I don't think anyone would say CSR is a good practice. It's acceptable if you don't care about SEO. Try using Lighthouse for example to see the score you can get.

If you include client-side rendered content inside a server-side rendered page, you will lose the benefits of SSR for that part of the page.

If a user interaction pulls data that belongs to another page, I think it doesn't hurt SEO since the search engine can still have an SSR version of that other page.

Reasons:
  • No code block (0.5):
Posted by: Rivenfall

79162638

Date: 2024-11-06 12:50:37
Score: 2.5
Natty:
Report link

I solved it, just stopped coding php

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

79162632

Date: 2024-11-06 12:47:37
Score: 5.5
Natty: 5
Report link

How to change the language related to the current language on the application. for example if I change it to fr the widget should be also on fr and same for english?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Mohamed Oussama MSAID

79162624

Date: 2024-11-06 12:45:35
Score: 2.5
Natty:
Report link

I used this formula to get it to work:-

=LOOKUP(10^6,1*MID(B2,MIN(FIND({0,1,2,3,4,5,6,7,8,9},B2&"0123456789",FIND("NBU"," "&B2&" "))),{2,3,4,5,6}))

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

79162610

Date: 2024-11-06 12:42:35
Score: 0.5
Natty:
Report link

To include the pattern-fill module in Highcharts, you can load it directly from the following URL:

https://code.highcharts.com/modules/pattern-fill.src.js
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy

79162605

Date: 2024-11-06 12:41:34
Score: 1.5
Natty:
Report link

Found the solution of this.

We need to convert file to binary and send it:

$sendBinaryFileContent = 'data:application/pdf;base64,'.base64_encode(file_get_contents($filePath));

Binary file handle:

$binaryFile = str_replace('data:application/pdf;base64,', '', $binaryFile); 
$file = base64_decode($binaryFile);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Payal Desai

79162595

Date: 2024-11-06 12:38:34
Score: 2
Natty:
Report link

Try this formula. It might help

=IFERROR(VALUE(MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),6)), LOOKUP(2,1/--MID(A1,MIN(INDEX(FIND(ROW($1:$10)-1,A1&1/17),,)),ROW(INDIRECT("1:"&LEN(A1))))))

enter image description here

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Karthikraja B

79162594

Date: 2024-11-06 12:38:34
Score: 2
Natty:
Report link

I got this error once after using VS2022 instead of my usual VS 2017. The solution for me was to do the following:

This error also come when Window SDK Version is higher then 10.0.17763.0.

Project Settings > C/C++ > Code Generation > Struct Member Alignment (change to Default)

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

79162590

Date: 2024-11-06 12:37:33
Score: 2
Natty:
Report link

Ensure that you are using the "https://fcm.googleapis.com/v1/" API for sending notifications, as the previous "https://fcm.googleapis.com/fcm/send" endpoint is deprecated and no longer works.

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

79162589

Date: 2024-11-06 12:35:33
Score: 0.5
Natty:
Report link

I know - this is resurrecting an old thread - but it was the first search result so I thought of updating the answer.

With C++23 there is a easier solution by using

v1.append_range(v2);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bernhard Leichtle

79162584

Date: 2024-11-06 12:34:32
Score: 1
Natty:
Report link

Well, I just needed to waste my time and write the question, so suddenly fix it, great.

Add these lines to proguard-rules.pro:

-keep class javax.net.ssl.** { *; }
-keep class android.security.net.config.** { *; }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Javad

79162580

Date: 2024-11-06 12:33:32
Score: 2.5
Natty:
Report link

SELECT continent,name from ( SELECT continent, name, ROW_NUMBER() OVER (PARTITION BY continent ORDER BY name) AS row_num FROM world ) AS ranked WHERE row_num = 1;

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

79162579

Date: 2024-11-06 12:33:32
Score: 1.5
Natty:
Report link

you need to only the following group

$user_info = Usermeta::get()->groupBy('browser')

after get and you will get your result

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

79162563

Date: 2024-11-06 12:26:31
Score: 1.5
Natty:
Report link

Oddly enough there's nothing to see in the migration guide. However, I could find the possible missing mappings using the Javadoc:

DeferredAuthentication -> AuthenticationState.Deferred
UserAuthentication -> AuthenticationState.Succeeded
Authentication -> AuthenticationState

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Rob Spoor

79162545

Date: 2024-11-06 12:20:29
Score: 3.5
Natty:
Report link

I was having the same issue, and stumbled upon this documentation. You just need to Drag and Drop the icons from the secondary sidebar to the primary like this: https://code.visualstudio.com/docs/editor/custom-layout

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Breno Maia

79162539

Date: 2024-11-06 12:18:28
Score: 0.5
Natty:
Report link

My solution to this problem:

Sub ExportSelectionToBMP()
    Dim vsoSelection As Visio.Selection
    Dim vsoPage As Visio.Page
    Dim exportPath As String
    Dim resolution As Double
  

    exportPath = "C:\Users\USERNAME\Desktop\11.bmp"
    resolution = 140
    
    Application.Settings.SetRasterExportResolution visRasterUseCustomResolution, resolution, resolution, visRasterPixelsPerInch
    
    
    
    Set vsoWindow = ActiveWindow
    Set vsoSelection = ActiveWindow.Selection
    

    If Not vsoSelection Is Nothing Then
        vsoSelection.Export (exportPath)
        MsgBox "Done.", vbInformation
          Else
        MsgBox "No selection", vbExclamation
    End If
End Sub
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gregory A

79162535

Date: 2024-11-06 12:16:26
Score: 7.5 🚩
Natty:
Report link

can you please elaborate as to what exactly happens after downloading it to your local storage does it open at all or gives you a prompt to choose which viewer you want use? or nothing happens?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please elaborate
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can you please
  • Low reputation (1):
Posted by: Aatif Shaikh

79162534

Date: 2024-11-06 12:16:26
Score: 0.5
Natty:
Report link

Consulting the official docs there is an example dag.

According to it you should modify your import: from: from airflow.providers.papermill.operators.papermill import PapermillOperator

to: from airflow.operators.papermill_operator import PapermillOperator

Here is a link to the official example.

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

79162531

Date: 2024-11-06 12:15:23
Score: 11 🚩
Natty: 6.5
Report link

did you find som solution? I have the same problem

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you find
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find
  • Low reputation (1):
Posted by: Tatyana Chahaljan

79162523

Date: 2024-11-06 12:13:23
Score: 1
Natty:
Report link

When using Docker, localhost in the container points to the container itself, not your host machine. In your case changing http://localhost:8088 to http://host.docker.internal:8088 lets the container access services on your host’s localhost, which fixes the connection issue.

Reasons:
  • Whitelisted phrase (-1): In your case
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Gisoo

79162522

Date: 2024-11-06 12:13:23
Score: 1.5
Natty:
Report link

https://github.com/KxSystems/kdb/blob/master/utils/dbmaint.md#fncol

fncol[`:.;`tab;`eventType;{enlist each x}]
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: rianoc

79162515

Date: 2024-11-06 12:10:21
Score: 4
Natty: 6
Report link

Where did you add those buttons ? Im trying to add them, but i cant see them at all in my game

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where did you add those
  • Low reputation (1):
Posted by: Quicky

79162513

Date: 2024-11-06 12:09:21
Score: 0.5
Natty:
Report link

I found on my way, It is working, but it is right way i don't know!!!


    val activity = context.findActivity() as ComponentActivity

    // Registering the result launcher for intent sender resolution
    val resolutionLauncher = remember {
        activity.activityResultRegistry.register("resolutionLauncher", ActivityResultContracts.StartIntentSenderForResult()) { result: ActivityResult ->
            if (result.resultCode == RESULT_OK) {
                locationViewModel.requestLocationUpdates()
            } else {
                locationViewModel.removeLocationUpdates()
            }
        }
    }
    

And i need to use this launcher to send resolution pending intent,

  resolutionLauncher.launch(IntentSenderRequest.Builder(
                            resolvable.resolution.intentSender).build())
Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Santhosh Kumar

79162510

Date: 2024-11-06 12:08:21
Score: 3
Natty:
Report link

delete android:src="@tools:sample/avatars" and edit the line app:srcCompat="@drawable/custom_img" /> to android:src="@drawable/custom_img"/>

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

79162506

Date: 2024-11-06 12:07:20
Score: 1
Natty:
Report link

In the "Device catalog", when viewing a device, at the top where it says "Overview" there's a "Show more" link. In my Play Console, it lists the actual reasons why the device is unsupported.

See this screenshot with the "Show more" on the right:

device catalog overview screenshot

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

79162498

Date: 2024-11-06 12:06:20
Score: 2.5
Natty:
Report link

(Responding in part to @chadnewbry, and for any users who might be on Render.)

If this is an issue with env vars:

Reasons:
  • No code block (0.5):
  • User mentioned (1): @chadnewbry
  • Low reputation (1):
Posted by: lessgin

79162495

Date: 2024-11-06 12:05:20
Score: 4
Natty:
Report link

Just use next problem solved..

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

79162482

Date: 2024-11-06 12:00:18
Score: 1
Natty:
Report link

Excel's formula version of Black cat's VBA:

Formula in B2: =A2

Formula in B3:

=IFERROR(SCAN(B2, A3:A10, LAMBDA(current_time, dummy, XLOOKUP(current_time + 30 / 60 / 24, A3:A10, A3:A10, "", 1, 1))), "")

Basically, it is trying to use a dummy array in SCAN to get away with a recursive lambda.

enter image description here

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

79162466

Date: 2024-11-06 11:54:17
Score: 3
Natty:
Report link

As Tobias said, Chrome now supports the media query in the source tag. It works fine when you load le page. Though, once loaded, if you change the orientation (turn your mobile), the media query isn't evaluated again and the previous source is still used.

Is there a Javascript function to force the change?

I've tried :

myVideo.load()

It works, but it is probably a bit too violent, no ?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: emmguyot

79162465

Date: 2024-11-06 11:54:17
Score: 1.5
Natty:
Report link

This solution worked for me: https://gist.github.com/bekarice/923ca4cb590612f46a86

I like it more than the solution by LoicTheAztec because it looks more "native".

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andrey B.

79162455

Date: 2024-11-06 11:51:16
Score: 2.5
Natty:
Report link

I recommend you to use 'openiddict', it's an open-source .NET library that implements the OpenID Connect (OIDC) and OAuth 2.0 protocols.

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

79162439

Date: 2024-11-06 11:46:15
Score: 4
Natty: 4.5
Report link

"So I use this value to determine whether the intro offer should be shown in the UI."

How to you use that information in UI? Are you using storekit views or in what element are you using that as a parameter?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jake

79162438

Date: 2024-11-06 11:46:14
Score: 0.5
Natty:
Report link

Here is R equivalent of your SAS code:

library(dplyr)

df |> 
  select(ID,GENDER,BIRTHYEAR) |> 
  group_by(ID) |> 
  summarize(count = n())

Where df is your dataframe. select, group_by and summarize are all dplyr verbs.

You can learn more about the R dplyr package here: https://dplyr.tidyverse.org/

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