79156243

Date: 2024-11-04 16:30:54
Score: 2
Natty:
Report link

In my case, it was caused by the version of Spring Boot I was using. I was using version 3.1.0, then switched to newer version 3.1.10 and the problem was gone.

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

79156237

Date: 2024-11-04 16:28:53
Score: 0.5
Natty:
Report link

This query can be used to solve this issue

SELECT m1.*
FROM messages m1
INNER JOIN
(
    SELECT t.v1 AS sender_id, t.v2 AS receiver_id, MAX(t.timestamp) AS maxTime
    FROM
    (
        SELECT CASE WHEN sender_id < receiver_id THEN sender_id ELSE receiver_id END AS v1,
               CASE WHEN sender_id < receiver_id THEN receiver_id ELSE sender_id END AS v2,
               timestamp
        FROM messages
    ) t
    GROUP BY t.v1, t.v2
) m2
ON ((m1.sender_id = m2.sender_id AND m1.receiver_id = m2.receiver_id) OR (m1.sender_id = m2.receiver_id AND m1.receiver_id = m2.sender_id)) AND m1.timestamp = m2.maxTime 
UNION ALL 
SELECT m1.*
FROM messages m1
INNER JOIN
(
    SELECT MAX(timestamp) AS maxTime
    FROM messages
  GROUP BY group_id
) m3
ON m1.timestamp = m3.maxTime
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dt delhi

79156229

Date: 2024-11-04 16:25:52
Score: 1.5
Natty:
Report link

i needed to add a closing "</div>" in my javascript

  let y = "";
    for (let i = 0; i<player.production.length; i++) y = y + `<div id="production${i+1}"><img src="./img/button/production_empty.svg" id="productionButton${i+1}"><progress min="0" max="1" id="production${i+1}Progress"></progress>`;
    document.getElementById('productionList').innerHTML = y;
Reasons:
  • Blacklisted phrase (0.5): i need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ThatLittleDrummerBoi

79156228

Date: 2024-11-04 16:25:52
Score: 1
Natty:
Report link

The extra arrays that are being printed are a result of the System.out.println(Arrays.toString(arr)); statement within your merge method. This line causes the program to print the array every time the merge method is called, which happens multiple times as the algorithm sorts the array step by step.

To resolve this issue, you should remove or comment out the line that prints the array in the merge method. Instead, you can keep the print statement in the main method so that it only displays the final sorted array once all the sorting is complete.

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

79156217

Date: 2024-11-04 16:22:51
Score: 4.5
Natty:
Report link

This is valid issue from qase-pytest plugin and it has been fixed in v.6.1.8.

Reference : https://github.com/qase-tms/qase-python/issues/296

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Didit Setiawan

79156199

Date: 2024-11-04 16:15:49
Score: 2.5
Natty:
Report link

let finalString = exampleString.replacingOccurrences(of: "([a-z])([A-Z])", with: "$1 $2", options: .regularExpression)

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

79156197

Date: 2024-11-04 16:15:49
Score: 3.5
Natty:
Report link

File -> Print -> Change Printtarget to: save as pdf

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

79156189

Date: 2024-11-04 16:09:48
Score: 2.5
Natty:
Report link

As a Rider user, I want to add that I tried everything above, and no solutions worked for me.

What I needed to do was download the latest experimental release of Rider, and then it "magically worked". No code change. Anybody reading this and desperate may try the same or use the 30 day trial.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pim Massink

79156188

Date: 2024-11-04 16:09:48
Score: 1
Natty:
Report link

You can lookup here how to manipulate strings in bash: https://tldp.org/LDP/abs/html/string-manipulation.html

And by utilizing expr you can do regular expressions:

#!/bin/bash

# Various irrelevant stuff
https_proxy="http://username:password@proxy-host:port"
proxy_user=`expr $https_proxy : '.*\/\([^:]*\)'`
proxy_pw=`expr $https_proxy : '.*\:\(.*\)@'`

echo $proxy_user
echo $proxy_pw
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: White Owl

79156186

Date: 2024-11-04 16:09:48
Score: 1
Natty:
Report link

After 3 years, I answer my own question. Just add a question mark at the point that makes errors. It will execute if the variable exists.

<router-link v-bind:to="{ name: 'categories.show', params: { id: post?.category_id } }">
    {{ post?.category_name }}
</router-link>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user16806454

79156178

Date: 2024-11-04 16:06:47
Score: 1
Natty:
Report link

Instead of loading bootstrap via CDN try installing bootstrap, using this command npm install bootstrap then import Bootstrap in their main CSS (style.css) import 'bootstrap/dist/css/bootstrap.min.css';

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

79156176

Date: 2024-11-04 16:06:47
Score: 1
Natty:
Report link

I got the authentication working. Thanks to Shiraz Bhaiji's answer I started looking into the token sent by the client. I started implementing my own AuthenticationHandler on the server side to see what was going on. I think one of the issues was that the authentication issuer wasn't matching: the server was expecting login.microsoftonline.com, but the client was sending sts.windows.net.

After some googling I found a fix by changing requestedAccessTokenVersion from "null" to "2" in the App Registration manifest on Azure.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): I found a fix
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Menno Kemp

79156175

Date: 2024-11-04 16:05:47
Score: 1.5
Natty:
Report link

I am not sure SUM is just syntactic sugar for simple sums of a colum, or that SUM ( 'Table'[Column] ) is shorthand for (and will be translated to by the engine at query time) SUMX ( 'Table' , 'Table'[Column] ).

In my experience is a performance difference:

see https://maxpowerbi.pro/the-dax-summary-pattern/

It's also what Marco Russo and Alberto Ferrari recommend https://www.daxpatterns.com/currency-conversion/

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

79156174

Date: 2024-11-04 16:05:47
Score: 1
Natty:
Report link

What is going wrong? You convolved the PDF of one variable with the CDF of the other.

np.convolve(a=pdf, v=cdf)

Problem: Convolving a PDF with a CDF does not yield a valid PDF or CDF. The convolution operation for summing random variables specifically requires convolving the PDFs of the variables.

Incorrect Formula:

𝐹𝑋+𝑌(𝑎)=(𝐹𝑋∗𝑔)(a)

How to Correct It:

Convolve the PDFs of X and Y to get the PDF of Z= X +Y and then Integrate the resulting PDF to obtain the CDF of Z.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (0.5):
Posted by: EuanG

79156163

Date: 2024-11-04 16:02:46
Score: 1.5
Natty:
Report link

I do not think you can add headers with the Exit Point widget. The best you could do would be to add parameters since those can be injected directly into the url String.

So if you are trying to add some authentication headers I think you are out of luck here.

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

79156160

Date: 2024-11-04 16:01:45
Score: 1.5
Natty:
Report link

You can try playing around with the margins on the shapes:

For example:

Add this to .honeycomb .row:nth-child(odd)

margin-bottom: -30px;
margin-top: -30px;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qa test

79156158

Date: 2024-11-04 16:01:45
Score: 0.5
Natty:
Report link

I will help you with the knowledge I have about the intricacies of graph theory. Understanding the difference between graph traversal algorithms and shortest path-finding algorithms is crucial for effectively applying these concepts in various scenarios.

Graph Traversal Algorithms: Algorithms like Breadth-First Search (BFS) and Depth-First Search (DFS) are primarily designed to explore all the nodes and edges of a graph systematically. BFS operates by exploring the graph level by level, ensuring that all nodes at the current depth are visited before moving on to the next level. This characteristic makes BFS particularly effective for unweighted graphs when the goal is to find the shortest path in terms of the number of edges traversed. However, it’s important to note that BFS does not consider edge weights, which limits its applicability in graphs where weights are significant.

DFS, on the other hand, explores as far down a branch as possible before backtracking. While DFS can be useful for tasks such as topological sorting or checking for connectivity, it does not guarantee finding the shortest path in any scenario.

Shortest Path Finding Algorithms: The shortest path finding algorithms like Dijkstra's and A* are specifically designed to compute the shortest path between two nodes while taking edge weights into account. Dijkstra's algorithm systematically explores paths from the starting node to all other nodes, updating the shortest known distance based on the weights of the edges. This makes it suitable for weighted graphs, where the cost of traversing edges varies. A* enhances Dijkstra's approach by incorporating heuristics to guide the search, making it more efficient in certain scenarios, particularly in pathfinding on maps or grids.

Therefore, when choosing between these algorithms, consider the nature of the graph (weighted vs. unweighted) and the specific requirements of your problem (exploration vs. shortest path). Understanding these distinctions will help you choose the right algorithm based on the problem at hand, optimizing both performance and accuracy in your applications.

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

79156151

Date: 2024-11-04 15:59:44
Score: 1.5
Natty:
Report link

A formula based alternative may be this; (prepared on Excel 2010)

=SUMPRODUCT((TRIM(MID(SUBSTITUTE(A1& ",";",";REPT(" ";255));1+(ROW(A$1:A$999)-1)*255;255)) & "0")/10)

enter image description here

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

79156150

Date: 2024-11-04 15:59:44
Score: 3
Natty:
Report link

Ok I just had the same problem because I wanted to use FNT and importing SharpFont with nuget didn't work. I imported the SharpFont .dll from FNT and it worked !

how i added the SharpFont.dll

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

79156148

Date: 2024-11-04 15:59:44
Score: 0.5
Natty:
Report link

You must declare your set as follows in your model file:

{TimedNode} ExtGraphNodes = ...;

See the doc about Initializing sets.

I hope this helps.

Chris.

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

79156146

Date: 2024-11-04 15:58:44
Score: 2
Natty:
Report link

maybe with library https://docs.python.org/3/library/urllib.request.html

example

from urllib.request import urlretrieve
urlretrieve(link_url, 'path_to_your_folder/give_me_a_name.pdf')
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M András

79156117

Date: 2024-11-04 15:49:41
Score: 2.5
Natty:
Report link

step by step guide for anyone looking for clean way (without meddling with URLs or panths while cloning]

works transparently and automatically, when you switch directories. No action is required.

https://medium.com/@srikanth.nutigattu/setting-up-git-config-for-work-and-personal-in-a-clean-way-37722c22a558

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: srikanth Nutigattu

79156104

Date: 2024-11-04 15:46:41
Score: 0.5
Natty:
Report link

For Ubuntu users, it is possible you have installed Mesa OpenGL or some library as dependencies (sudo apt autoremove). The option command

--disable-gpu --disable-software-rasterizer

runs without using the libraries. The problem is there.

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

79156103

Date: 2024-11-04 15:46:41
Score: 1.5
Natty:
Report link

To display an HTML help page inside a Material-UI (MUI) dialog in React, you can use an MUIDialog component along with an iframe or div to render the HTML content.

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

79156102

Date: 2024-11-04 15:45:38
Score: 7.5 🚩
Natty: 5.5
Report link

if you solve this problem please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dimiana Fayek

79156099

Date: 2024-11-04 15:45:38
Score: 0.5
Natty:
Report link

The issue is that Babel 7.0 and up doesn’t recognize the env preset anymore. just switch it to @babel/preset-env in your .babelrc.

  1. Install the new preset:

    npm install @babel/preset-env --save-dev
    
  2. Update your .babelrc:

    {
        "presets": [
            "@babel/preset-env"
        ]
    }
    

Try building again

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

79156098

Date: 2024-11-04 15:45:38
Score: 1
Natty:
Report link

In the original code, the issue was that calling this.foobar() in A's constructor invoked the foobar method of the derived class (B), if B overrode it. This happened because this in the A constructor refers to the instance being created, which is actually an instance of B.

To resolve this, you directly call A.prototype.foobar.call(this); within A's constructor instead of this.foobar(). This approach ensures that A's original foobar method is called, even if B or any other subclass overrides foobar.

So, instead of relying on this to find the method, we specifically tell JavaScript to use A's version of foobar.

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

79156096

Date: 2024-11-04 15:44:38
Score: 1.5
Natty:
Report link

Download an entire wiki by installing with below

pip install wikiteam3 --upgrade

And running the below

wikiteam3dumpgenerator http://wiki.domain.org --xml --images

Their repo is at https://github.com/saveweb/wikiteam3

More info at https://wiki.archiveteam.org/index.php?title=WikiTeam

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

79156095

Date: 2024-11-04 15:44:38
Score: 3
Natty:
Report link

We ran import.sh and everything went smooth. But when we do procedures, it fails for some. Upon failing, it also terminates the session. Is there any way, that upon error, program itself move to next procedure and executes instead of terminating the session. It do not save/commit the successfully created procedures as well.

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vik Nagpal

79156093

Date: 2024-11-04 15:44:37
Score: 4
Natty:
Report link

This is possible use Database Roles: see Snowflake Documentation and Snowflake Blog.

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

79156080

Date: 2024-11-04 15:40:35
Score: 15
Natty: 7
Report link

I'm having the same problem as you. There is practically no Sustainsys authentication documentation for ASP.NET Web Forms. Did you manage to solve it? If so, could you post it here?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I'm having the same problem
  • RegEx Blacklisted phrase (2.5): could you post
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Vinicius Sanches

79156074

Date: 2024-11-04 15:39:33
Score: 9.5 🚩
Natty:
Report link

I also get the same issue, bro. Can you solve it?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I also get the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ye Linn Oo

79156071

Date: 2024-11-04 15:37:32
Score: 1
Natty:
Report link

Try changing the column type using:

df['some_col1'] = pd.to_numeric(df['some_col1']).apply(lambda x: float(x) if pd.notnull(x) else None)
df['some_col2'] = pd.to_numeric(df['some_col2']).apply(lambda x: float(x) if pd.notnull(x) else None)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28128403

79156058

Date: 2024-11-04 15:34:31
Score: 2.5
Natty:
Report link

You can try to add the drools-mvel dependency.

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

79156056

Date: 2024-11-04 15:34:31
Score: 2.5
Natty:
Report link

Why? Is that really intended or have I misconfigured anything?

As mentioned by @artem the documentation does mention some fatal exceptions which bypass the custom error handling logic.

DeserializationException
MessageConversionException
ConversionException
MethodArgumentResolutionException
NoSuchMethodException
ClassCastException

Therefore, for anyone willing to apply the same error strategy independently of the origin of the error, the default provided by Spring can be overridden as follow:

@Bean
CommonErrorHandler commonErrorHandler() {

    var exponentialBackOff = new ExponentialBackOff();
    exponentialBackOff.setMaxInterval(Duration.ofHours(1).toMillis());

    var handler = new DefaultErrorHandler(exponentialBackOff);
    handler.setClassifications(Map.of(), true);

    return handler;
}
Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @artem
  • Self-answer (0.5):
  • Starts with a question (0.5): Why
  • Low reputation (0.5):
Posted by: gdevxy

79156052

Date: 2024-11-04 15:32:30
Score: 2
Natty:
Report link

double check use client directive ,but make sure it's not in a subdirectory that defaults to server components.

if u use product component with another product compnts ,ensure that the parent component is also a client component if it needs to render Product.

check react compatible

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

79156043

Date: 2024-11-04 15:28:29
Score: 0.5
Natty:
Report link

in my case, i had to add this field:

class UpdateDeletePostView (ModelViewSet) :
    http_method_names = ['get', 'post', 'patch', 'delete']

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

79156030

Date: 2024-11-04 15:25:28
Score: 3
Natty:
Report link

I was getting a 400 bad request because I was missing the username which is mandatory.

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

79156029

Date: 2024-11-04 15:25:28
Score: 1
Natty:
Report link

I got feedback from the pyinstaller mailing list to run the build command with --hiddenimport=multiaddr.codecs.idna

After I added that to the build command I got a simmilar error but referencing another library, I added that as well, and now works. I ended up running it like this:

pyinstaller -F --hiddenimport=multiaddr.codecs.idna --hiddenimport=multiaddr.codecs.uint16be --clean apt.py

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Matias Salimbene

79156028

Date: 2024-11-04 15:25:28
Score: 1
Natty:
Report link

So you want to check if numeric and then add?

Function sumCSVNumbers(val As String)
    Dim arr As Variant:  arr = Split(val, ",")
    If IsNumeric(arr(0)) = True And IsNumeric(arr(1)) = True Then sumCSVNumbers = Application.Sum(arr(0), arr(1))
End Function
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Cyril

79156027

Date: 2024-11-04 15:25:28
Score: 0.5
Natty:
Report link

The problem wasn't the script itself,
it was the CSP policy of the website I was visiting.
The script worked well on another website.
I am using firefox,
and it seems you can't disable CSP for a particular website or tab in firefox.

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

79156025

Date: 2024-11-04 15:25:28
Score: 2.5
Natty:
Report link

Upgrading to nu.studer:java-ordered-properties:2.2 solved the issue. It plays well with the gradle version 7.4.2 I have. System didn't require for the java-ordered-property dependency once I upgraded.

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

79156022

Date: 2024-11-04 15:24:27
Score: 0.5
Natty:
Report link

Asking ChatGPT proves to be a valid way to get ideas:

class EnforceDateTimeProviderUsageTest : FunSpec({

val scope = Konsist
    .scopeFromProduction()
    .files
    .filter { it.name != "DateTimeProvider" }

  listOf(
    "LocalDate.now()", 
    "LocalDateTime.now()", 
    "Instant.now()"
  ).forEach { forbiddenCall ->
      scope.filter { it.text.contains(forbiddenCall) }.shouldBeEmpty()
  } 
})
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Martin

79156019

Date: 2024-11-04 15:23:27
Score: 1.5
Natty:
Report link

I had this same problem today, with the road traffic library. The condition on one of my do - while loops was making it be an infinite loop. No errors, just a stuck model. By changing the condition to never be an infinite loop, the model runnered normally. Hope it helps.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matheus Martins

79156012

Date: 2024-11-04 15:22:26
Score: 0.5
Natty:
Report link

Means there's a mismatch in the length of the validity mask (used for null values) and the number of data values in a column. Check if the data you're working with has consistent lengths for columns and their null masks.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Balraj Singh

79156005

Date: 2024-11-04 15:21:26
Score: 3
Natty:
Report link

I found a solution ! With my first Deployement. In the php container cmd i added before the php-fpm, a cache clear and a cache warmup and it fixed all my problems

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

79156003

Date: 2024-11-04 15:20:26
Score: 2.5
Natty:
Report link

This can be controlled with tethering.

https://github.com/real-logic/aeron/wiki/Flow-And-Congestion-Control#subscription-tethering

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

79155992

Date: 2024-11-04 15:18:25
Score: 0.5
Natty:
Report link

YumekaMengjiaLYU your understanding of the space complexity for a recursive algorithm on a balanced binary search tree is mostly correct, but there’s an important nuance to consider. When you perform a traversal like in-order traversal, the maximum depth of the recursive calls corresponds to the height of the tree. For a balanced binary search tree, this height is indeed ( O(\log N) ). Therefore, the space complexity for the call stack during the recursion would typically be ( O(log N) ) in the best case.

However, the answer is C because while the space complexity is at least ( O(log N) ), it could potentially be worse in certain scenarios. For instance, if the tree were not perfectly balanced or if the algorithm were to use additional data structures that depend on the number of nodes, the space complexity could increase. Thus, the statement in option C accurately reflects that while the space complexity starts at ( O(log N) ), it could also scale up depending on the specific implementation details or the nature of the input data, making it a more comprehensive choice than A.

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

79155974

Date: 2024-11-04 15:14:23
Score: 5
Natty: 5
Report link

I know this is an old thread but I've run into the exact same problem with Adobe, can you remember if you found an answer?

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

79155972

Date: 2024-11-04 15:13:23
Score: 3.5
Natty:
Report link

Wrong way:

enter image description here

Right way: enter image description here

See in the code https://go.dev/play/p/PyKok5AFxJ4

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
Posted by: Junior Grão

79155971

Date: 2024-11-04 15:13:23
Score: 3.5
Natty:
Report link

It turns out i had 'npm install'ed the i18next packages to the project root directory and not the app directory. Installing the packages in the app directory fixed the problem.

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

79155965

Date: 2024-11-04 15:11:22
Score: 0.5
Natty:
Report link

If the API doesn't offer a way to configure this, and it only returns a flat image (.png, .jpg, etc.) then you're pretty much stuck with standard image manipulation techniques, as far as I'm aware.

You'll need to develop them yourself in accordance with the effects you desire. Standard stuff like contrast and colour grading might not be too difficult.

Stuff like adjusting line thicknesses is likely to be surprisingly tricky; creating a filter that can distinguish, say, the line in a horizontal rule from the lines in text is not likely to be an easy task with a reliably good output.

This might be easier if your third-party API returns something like an SVG, which contains vector values amenable to manipulation.

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

79155952

Date: 2024-11-04 15:07:21
Score: 0.5
Natty:
Report link

If you are using a different port number, configure your .env file like this:

database.default.hostname = localhost
database.default.database = dbname
database.default.username = root
database.default.password = 
database.default.DBDriver = MySQLi
database.default.DBPrefix =
database.default.port = 3308
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ruhunage Deshan

79155950

Date: 2024-11-04 15:07:21
Score: 2
Natty:
Report link

https://craftydev.tools/sitemap-generator

This tool generates sitemap according to rules and you can choose which rules need to be apply and can create from list of urls or manual or by domain, sometime I use this tool to yet all list of urls in full website, by pasting domain and when switch to by list I will get all links

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

79155949

Date: 2024-11-04 15:07:21
Score: 1
Natty:
Report link

Here is how i managed to set default pin & stroke (link) colors by type

   * Initializes the graph and canvas.
   * @param canvasElement - The HTMLCanvasElement to initialize LiteGraphCanvas with.
   */
  const initializeGraph = (canvasElement: HTMLCanvasElement): void => {
    const customLinkTypeColors = {
        integer: "#d2ffb0",
        string: "#f3b0ff",
        boolean: "#F77",
        float: "#b0e0ff",
        column: "#fffdb0"
    };
    
    graph.value = new LGraph()
    graphCanvas.value = new LGraphCanvas(canvasElement, graph.value)

    graphCanvas.value.default_connection_color_byType  = customLinkTypeColors
    graphCanvas.value.default_connection_color_byTypeOff  = customLinkTypeColors

    Object.assign(LGraphCanvas.link_type_colors, customLinkTypeColors);

    graph.value.start()
  }

And the result: enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Iakov Belkov

79155946

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

This might not be relevant for everyone, but it recently happened to me and could help someone in the future. I encountered this issue while using Visual Studio 2022 Preview 4. Switching back to the non-preview version resolved it.

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

79155945

Date: 2024-11-04 15:06:20
Score: 1.5
Natty:
Report link

For me after migrating Spring boot 3 and Spring cloud to 4.0.x. Spring cloud stream Kafka was not getting started/consuming the events.

As @Gondri mentioned in the comments, spring.cloud.stream.function.definition moved to spring.cloud.function.definition. After changing this, it started working.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Gondri
  • Low reputation (0.5):
Posted by: Clover

79155942

Date: 2024-11-04 15:05:20
Score: 0.5
Natty:
Report link

Clear your browser cache and try deploying in an incognito/private window to bypass cached assets. If issues are still there then verify your CDN or server caching settings to ensure updates are being fetched correctly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Balraj Singh

79155932

Date: 2024-11-04 15:01:16
Score: 12.5 🚩
Natty: 5.5
Report link

Did you find an answer to this problem because I have the same issue ? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you find an answer to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you find an answer to this
  • Low reputation (1):
Posted by: Raph Pépé

79155926

Date: 2024-11-04 15:00:15
Score: 1
Natty:
Report link

Unfortunately, this is, as of now, not supported by the Meta WhatsApp API. Hence, it's also not possible with the Twilio WhatsApp API.

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

79155924

Date: 2024-11-04 14:59:15
Score: 1.5
Natty:
Report link

There are many problems with the code.

Firstly, you defined the function allowDrop but then you reference the function allowdrop (lowercase) which is not defined, so it is not executing that function at all.

Secondly, your drag-and-drop functions do not do anything. To drag and drop you need to move the element to the mouse's position.

To fix this code would require many changes.

Consider reading about how to drag-and-drop in HTML here:

How to Drag and Drop in HTML

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

79155920

Date: 2024-11-04 14:59:15
Score: 0.5
Natty:
Report link

Your token is generally a key of your data object (and not the "data" itself), in the "Post Response" field, the following script should work :

let data =res.body ;
bru.setEnvVar("token",data.access_token);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: demiton

79155919

Date: 2024-11-04 14:59:15
Score: 0.5
Natty:
Report link

This is now supported as of MyFaces 4.1.0-RC3 you can create UberJars

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Melloware

79155914

Date: 2024-11-04 14:58:14
Score: 0.5
Natty:
Report link

The issue was with semantic-release (python) which didn't handle Twine uploads anymore.

I removed the the release-package script from semantic-release flow and added as an independent step after semantic-release version instruction.

The script is now executed within the correct context and picks up global variables.

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

79155913

Date: 2024-11-04 14:58:14
Score: 2
Natty:
Report link

Round No:216913797829388800OGZLZ Seed:6yefwRGmzmtcIG1dWprkyEU4k42N9zsqTlQMd8gg Seed Cipher:6fe59c0aff58e2992f3a78b4177091f06261b31acc7860a421e3f17541aa2f3b Result:2.16 Seed and result:6yefwRGmzmtcIG1dWprkyEU4k42N9zsqTlQMd8gg2.16 Result Cipher:052dd14a0a2ab84433dcd1b2f5cec4fcd7e6291eade064a535dcac4e7a28291f

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

79155910

Date: 2024-11-04 14:58:14
Score: 0.5
Natty:
Report link

Use <audio> HTML element with property loop:

A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio.

See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio#loop

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

79155903

Date: 2024-11-04 14:54:13
Score: 4
Natty: 5
Report link

for those who are still searching. There is task.assignor.class property in later versions. https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java#L766

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Сергей Гребенюк

79155902

Date: 2024-11-04 14:54:13
Score: 0.5
Natty:
Report link

Make sure your mesh has the correct UV mapping in Blender before exporting. This makes texture alignment smoother in Three.js. Also, match your canvas texture dimensions to the screen mesh size for a better fit. Adjusting the texture's center and rotation can help fine-tune the alignment.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Balraj Singh

79155899

Date: 2024-11-04 14:53:13
Score: 0.5
Natty:
Report link

This PEP removes a bunch of modules from the standard library, including imghdr, and proposes alternatives for some of them.
You can still install the package with

pip install standard-imghdr
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bottledmind

79155898

Date: 2024-11-04 14:53:13
Score: 4.5
Natty: 4.5
Report link

Please follow the steps from here https://www.jenkins.io/doc/book/system-administration/admin-password-reset-instructions/

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

79155897

Date: 2024-11-04 14:53:12
Score: 1.5
Natty:
Report link

The name of the module

module subroutines

was different from the name used in the 'use' statement

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

79155892

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

First time when you add view to your table, view keeps the columns given from table and when you add a new row, you must alter your view just to see a new column in your view.

alter view your_view_name
as
select  *
from your_table
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shakhzod Bobokhonov

79155891

Date: 2024-11-04 14:52:12
Score: 2
Natty:
Report link

I followed the hints from Robert Dodier and did not use KS. I used a polygon representation of both data sets and calculated the area difference. If the difference was greater than a threshold, the test failed. The K-S test was the wrong approach here. Interpolating the results to the same "grid" introduced numerical artifacts that confused the results. Morale of the story: tests have limits.

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

79155890

Date: 2024-11-04 14:52:12
Score: 0.5
Natty:
Report link

There are some schedulers that exist to avoid this problem and also make it more robust if the program stops for a longer time period.

https://github.com/reugn/go-quartz is one of them and allows you to trigger tasks with different scheduling methods (CRON, durations, ...). Quartz can persist its triggers to a db so that even if your program stops for a long time when it resumes it will still retrieve its schedule.

You also have https://github.com/go-co-op/gocron which is well known in the go community.

I recommend using a clear and established library but you could also look at their implementation and create your own solution if you prefer.

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

79155883

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

Perhaps it is already late for this but putting it here in case anyone ends up here looking for the solution.

I realised that Postman has a setting to default the HTTP method to GET or getting it from the parent collection/folder. If you enable the setting to ON in the below screenshot, you will be a able to see your endpoint working - if your URL is correct.

See the setting screenshot here

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

79155882

Date: 2024-11-04 14:49:10
Score: 2
Natty:
Report link

Just to clarify, Oracle Standard Edition 2 is a valid target for DMS. Also, DMS doesn't support the container database but it does support the pluggable databases in the container database. The only caveat being that you have to use the binary reader for CDC and not logminer.

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

79155881

Date: 2024-11-04 14:49:10
Score: 1.5
Natty:
Report link

|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_F9E8BCAFAC761E508458B24906835F87EB81FE1CA016EE5401669FD3E4187ABD2FE0E253B8536CF641D7DF3858B04D296B7AFEB284D88675EA8A0F7A13F568F764D595739F8DF331093EB34D21FC704599B19FA935AECF1BF913912F89221220BB47C013FFA9D4E25D1B417C331A945853B185460A8CBE8A7AE10A5F76F7DE15BB5369E96D5995A16FBDAB547747912F297667D8C658C158D5C085D835857E78D30205113D9EA7021CDDA0C4E96E5A95CAFBBCF7B40382D661AD5027AE8B71BCADCA0D53F89B465D8B4626E7628309A64E192B9B522B4E9B0E080AA90A3B0EDD4F1F8343D3F857D30E9E01364688998669580DF892C630E92A0B4D490F36F297BC7A16F86045D18941172976293859523E09014E5D162B46F828B0A5302805F66D34E59E0B135149083EB61BFDED8FFA95D4AC3EE8CF25B464638E00DCD20914E403F04BA95990A5144FCD70E629A634FC2110C462BB211B06A89C1086D0F15FF52FAEC06DE066EB68A3A8794C7AC00CB61D7BF97FA59AFFDC46512D228957A087B46E8AD31C651B36B817ACF257EC25B4AEBB1A1CC44989BBC5A7CE018AB36EE3E65623EEFC3F013D24671B96441C5D9746F9F7FB19A95C15CB0B111AD17CAF1A8050C55BA8F91F50EBF042BC7C4C61B06F6CA17629783938D5EDFC75A19B436A7F3E764BE324DDE727ADE1D17F534CDDB40CEC8C49AA30162E80F68424A7542104EC5C3561352629DCC24DA08137F0717EC2ED91AA2C92732610F20BFA58893D15D7530EF99AFD19712C8DC92EBD42F744A2EAED692782441EEF1B7D03BD6D1C77FAC277EE45DAB66B13F34367D7DB56433A4CFE3A5A990A2CE01B997D408916A2AE2570D9D91D1A3D0D86B2DD45A061B7CF8226612C09DEF12ACBED52B05AD3772ADBBA279CA0785941B4E391F6EDF779CFC0

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tado taha

79155874

Date: 2024-11-04 14:48:10
Score: 0.5
Natty:
Report link

(here goes the answer) both algorithms you've implemented have similar time and space complexities.

  1. get_item_from_list1 (Two Pointer Algorithm)

Time Complexity:

In the worst case, this algorithm checks every element in the list, resulting in a time complexity of O(n), where n is the length of the list. While it checks two elements per iteration (one from the left and one from the right), the asymptotic complexity remains O(n).

Space Complexity:

This algorithm uses constant extra space (for the indices and collection length), resulting in a space complexity of O(1).

  1. get_item_from_list2 (Single Pointer Algorithm)

Time Complexity:

This algorithm also iterates through the list, leading to a worst-case time complexity of O(n).

Space Complexity:

Similar to the first algorithm, this one uses a constant amount of extra space, resulting in a space complexity of O(1).

So, both algorithms have the same theoretical time and space complexities. While the two-pointer algorithm may perform slightly better in practice due to checking two elements per iteration, this difference is insignificant in big-O notation.

If you're looking for a more efficient search method for sorted lists, consider using binary search. This method has a time complexity of O(log n), but it requires the list to be sorted beforehand.

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

79155871

Date: 2024-11-04 14:47:07
Score: 7 🚩
Natty:
Report link

Getting same issue applied all the mentioned steps. but no luck.

Reasons:
  • Blacklisted phrase (1): no luck
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Getting same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pawan Kumar Singh

79155849

Date: 2024-11-04 14:41:05
Score: 2
Natty:
Report link

(Based on this answer and comments mentioned by user85421 & Ivar https://stackoverflow.com/a/31515771/16037941)

Try using a logical font such as SANS_SERIF which should pull from one or more physical font sources to generate the correct output initially.

Next check to see which of those texts can be displayed on the user computer using a function run on startup based the code provided in user85421's comment. IF there are languages which can't be used as there is no available font for them, then I would also mention to the user in some type of aside/settings: "We can't display language X because your PC does not have the font installed" that or attempt to sub fonts in the case where the OS is windows or attempt to install a font or font(s) yourself on first startup you know would work, but that for me is a touch dicey and can by annoying (I have had to do this for programs run through WINE, its a pet-peeve)

To add some additional context: To my knowledge there is not alot you can do, some non-latin characters require a bit of config on to OS side. Best of luck

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): user85421
  • User mentioned (0): user85421
  • Low reputation (0.5):
Posted by: Matthew S Giancola

79155839

Date: 2024-11-04 14:38:04
Score: 0.5
Natty:
Report link

I had the same problem with iPadOS 17 and Safari 18.1 on the desktop. "Use for Development" was the only thing I could do and it did nothing.

I tried the following:

Nothing helped. Finally, I installed Safari TP on my Mac. And it works there.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anton Rusak

79155834

Date: 2024-11-04 14:37:03
Score: 1
Natty:
Report link

This document from Blackberry / QNX 6.5 on the qcc compiler interface explains that qcc does not understand the -std argument.

The document suggests we pass certain options to the compiler thusly

-W phase,arg[,arg ...]
    Pass the specified option and its arguments through to a specific phase:

        p — preprocessor
        c — compiler
        l — linker
        a — assembler.

So to compile for C99 we should invoke qcc as

qcc -Wc,-std=c99 {other parameters} [source file]

CMake cannot do this for you when you add set(CMAKE_C_STANDARD 99) to your CMake project.
One possible workaround I am working with does...

if (CMAKE_C_COMPILER_VERSION GREATER 4.4.2)
    set(CMAKE_C_STANDARD 99)
else()
    add_compile_options(
        $<$<COMPILE_LANGUAGE:C>:-Wc,-std=gnu99>
    )
endif()

Please note that these instructions apply to QNX 6.5 only!

As of QNX 7, the -std argument is supported by qcc and you should be able to nominate the C standard in the way CMake intended without any of this "fuss".

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

79155828

Date: 2024-11-04 14:36:03
Score: 2.5
Natty:
Report link

I got similar issue that see "Unhandled exception in router" sometimes, and I sovled it by adding error handler for 404.

It was due to nessus scan which sending bad request - authority/path is null, path not start with "/", refer this: https://github.com/vert-x3/vertx-web/blob/master/vertx-web/src/main/java/io/vertx/ext/web/impl/RoutingContextImpl.java#L80-L87

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

79155820

Date: 2024-11-04 14:34:02
Score: 3.5
Natty:
Report link

For anyone looking for a term for what these dots/dashes are called - these are termed as "leaders"

https://www.w3.org/Style/Examples/007/leaders.en.html

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

79155819

Date: 2024-11-04 14:34:02
Score: 2.5
Natty:
Report link

According to your ApplicationUser Entity model db validation should do properly. Could you please check ApplicationUser related ViewModel validation.

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

79155810

Date: 2024-11-04 14:32:01
Score: 4
Natty: 4
Report link

sudo npm uninstall -g @vue/cli

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

79155806

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

Use this function:

function removeDupliSpaces(string) {
    return string.replace(/\s+/g, ' ').trim();
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: adriano machado

79155799

Date: 2024-11-04 14:28:00
Score: 1
Natty:
Report link

Why? Where do these 1845,1846,821 come from?

%5c in scanf reads exactly 5 characters from the input and stores them as characters in a char array without adding a null terminator. But the code you provided currently is sing %5c with an int variable (int w) may causes scanf to interpret the w variable’s memory incorrectly. So it causes unpredictable results.

If you want to use %5c properly, you can declare w as a char array of sufficient size instead of int variable.

int y = 0;
char w[6] = {0};

scanf("%d %5c", &y, w);
printf("%d, %s\n", y, w);
Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why
  • Low reputation (0.5):
Posted by: Shelton Liu

79155777

Date: 2024-11-04 14:19:57
Score: 0.5
Natty:
Report link

I don't know if it's my fault but it's doesn't work. my new code is this:

function myFunction() {

let objects = SpreadsheetApp.getActive().getSheetByName("Feuille 7").getRange('D:E').getValues()
let order = SpreadsheetApp.getActive().getSheetByName("Feuille 7").getRange('A:A').getValues().flat()

/* Create a mapping object `orderIndex`:
*/

let orderIndex = {}
order.forEach((value, index) => orderIndex[value] = index);

// Sort
objects.sort((a, b) => orderIndex[a] - orderIndex[b]) 

// Log
Logger.log("/////////////////////////order////////////////////////////////")
Logger.log(order)
Logger.log("/////////////////////////objects////////////////////////////////")
Logger.log(objects)


SpreadsheetApp.getActive().getSheetByName("Feuille 7").getRange('H:I').setValues(objects)
}

a array 1D b 156 array 2D b 156 result
b f 68 f 68
c a 507 a 507
d c 22 c 22
e d 430 d 430
f e 555 e 555
g g 689 g 689
h k 62 k 62
i l 395 l 395
j i 209 i 209
k j 745 j 745
l h 37 h 37
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Romain Gapteau

79155774

Date: 2024-11-04 14:18:56
Score: 3.5
Natty:
Report link

Could you not just add 20 px of leading padding to the entire VStack?

.padding(.leading, 20) instead of .padding()

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

79155773

Date: 2024-11-04 14:18:56
Score: 1.5
Natty:
Report link

Iam leaving it here to just preserve knowledge

element = wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, '[aria-label="your_aria_label_value"]')))

I spent 1 hour trying to troubleshoot this stupid thing turns out I was using ' instead of " in the selector string 😭 beware

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

79155764

Date: 2024-11-04 14:15:55
Score: 1
Natty:
Report link

Basically it does read you data, butit reads the raw data which need to be changed to another format like "utf8" to make sense try using :

const data = fs.readFile("input.txt","utf8",function (err,data){
    if(err){
        return err
    }
    console.log(data);
})

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

79155760

Date: 2024-11-04 14:14:55
Score: 1
Natty:
Report link

To use Oracle database links with Amazon RDS DB instances between peered VPCs, the two DB instances should have a valid route between them. Verify the valid route between the DB instances by using your VPC routing tables and network access control list (ACL).

The security group of each DB instance must allow ingress to and egress from the other DB instance. The inbound and outbound rules can refer to security groups from the same VPC or a peered VPC.

Look at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/peer-with-vpc-in-another-account.html to setup the peering between 2 accounts VPCs.

Ultimately, you may want to create 2 EC2 instances, one in every VPC private subnet where you DB reside and test the connection from here.

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

79155757

Date: 2024-11-04 14:14:55
Score: 1.5
Natty:
Report link

you can do it by using useRouter from next/navigation; use router.back() to go to back

 const handleCloseProfile = () => {
  router.back();

};

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

79155755

Date: 2024-11-04 14:14:55
Score: 3.5
Natty:
Report link

There is facet_manual function in the ggh4x package, which serves this purpose: https://teunbrand.github.io/ggh4x/reference/facet_manual.html

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

79155747

Date: 2024-11-04 14:10:54
Score: 1
Natty:
Report link

Stopping the app and running flutter clean worked for me.

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

79155746

Date: 2024-11-04 14:10:54
Score: 2
Natty:
Report link

The start of every month is the first day of the month.

Therefore, simply print out 01 instead of %d, and leave the date otherwise unchanged.

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

79155740

Date: 2024-11-04 14:07:53
Score: 2
Natty:
Report link

in Editor -> Code Style -> php in "if() statement" There are 4 items that you can activate

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: syeed masoud tayefi

79155739

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

According to this line in vite https://github.com/vitejs/vite/blob/fb227ec4402246b5a13e274c881d9de6dd8082dd/packages/vite/src/node/plugins/asset.ts#L430

You should be able to use

background-image: url("@assets/file.svg#file");
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Tofandel

79155732

Date: 2024-11-04 14:05:52
Score: 2
Natty:
Report link

Yeah, I've experienced the same issue. Airflow has a per task time out parameter that you can tweak to avoid it failing: waiter_countdown. Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alfonso García Naranjo