79239428

Date: 2024-11-30 11:40:31
Score: 8.5 🚩
Natty: 6
Report link

Have you found the solution to your problem? I'm facing the same issue and a cannot find something useful.

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found the solution to your problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gianmarco Santi

79239422

Date: 2024-11-30 11:35:30
Score: 2.5
Natty:
Report link

-webkit-font-smoothing: antialiased;

-moz-osx-font-smoothing: grayscale;

line-height: 1.6rem; /* نفس قيمة Figma */

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

79239415

Date: 2024-11-30 11:30:28
Score: 1.5
Natty:
Report link

The reason you are getting this error is your flutter project is been synced with the icloud . Just unsync the Directory where you flutter project is being runned. For me I did this and it solved by problem. Also mnake sure to push in git before u unsync coz after disable syncing all code will be lost .

enter image description here

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

79239413

Date: 2024-11-30 11:28:27
Score: 2.5
Natty:
Report link

The only difference I see in the 2 codes is the si register. In the first code you did not use it, you used values to access the memory adress.
I don't know how PutStr is implemented, probably in io.mac, but it seems like it is changing the si register.

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

79239396

Date: 2024-11-30 11:19:25
Score: 1.5
Natty:
Report link

This is a general solution for this type of errors that have appeared with recent android studio and flutter updates.

Modify android>settings.gradle file with this;

id "com.android.application" version "8.3.2" apply false

Modify android>gradle>gradle-wrapper.properties file with this;

distributionUrl=https://services.gradle.org/distributions/gradle-8.4-all.zip

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

79239390

Date: 2024-11-30 11:13:24
Score: 1.5
Natty:
Report link

I figure it out! using this password = jsondecode(data.aws_secretsmanager_secret_version.db_password_version.secret_string)["password"]instead of password = data.aws_secretsmanager_secret_version.db_password_version.secret_string

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

79239387

Date: 2024-11-30 11:10:23
Score: 2
Natty:
Report link

It all started on April 20th 1889 in a small town called brow am in in Austria a baby boy was born to Alois and Clara Hitler they named him Adolf no one knew this little boy would grow up to shake the world as a child Adolf wasn't special he loved playing outside drawing pictures and imagining a big future but life wasn't perfect his father Alois was very strict Alois wanted Adolf to study hard and get a government job just like him but Adolf had a different dream I want to be an artist he would tell his mother Clara his mother loved him deeply and supported his dream but she couldn't change Alois his mind adolf's childhood was full of fights with his father his father would shout art is not a real job and Adolf would stay quiet hiding his tears when he was 13 years old his father died suddenly some people thought Adolf would feel free but losing his father left a hole in his heart Adolf started skipping school he was once a good student but now he didn't care teachers would say Adolf is smart but he is lazy all he wanted to do was draw after finishing school Adolf packed his bags and moved to Vienna the capital of Austria he was so excited Vienna is the city of art I will become a famous painter here he thought he applied to the Academy of Fine Arts a big Art School but when the results came his heart broke he didn't get in the school told him your work is not good enough adol felt humiliated I'll try again he said but the next year the school rejected him again he was devastated without school or a job adolf's life became hard he lived in tiny dirty rooms and sometimes slept on the streets he painted postcards and sold them to tourists for a little money why is life so unfair he often thought during this time adolf's mother passed away he was alone and angry he started to blame other people for his failures it's not my fault he would say in 1914 everything changed World War I started and Adolf saw a chance to make his life meaning ful he joined the German Army he loved being a soldier finally I am part of something big he thought Adolf was Brave in the war he carried messages across dangerous battlefields and received two medals for his courage but in 1918 Germany lost the war Adolf was Furious our leaders betrayed us he shouted he felt Germany needed someone strong to bring it back to Power after the war Adolf returned to Germany the country was in chaos people were poor and hungry many were angry about the war's end Adolf saw this as his opportunity he joined a small political group called the German Workers Party Adolf was a powerful speaker when he spoke people listened his words were full of anger passion and Promises Germany will rise again he would say slowly more and more people started following him Adolf changed the name of the group to the National Socialist German Workers Party also known as the Nazi party he designed their symbol a red flag with a black swastika this will become the most powerful symbol in the world he declared his speeches became famous thousands of people came to hear him they believed in his dream of a strong Germany but adolf's ideas were dangerous he blamed certain groups of people for Germany's problems and wanted to make Germany only for Germans after World War I Germany was in big trouble people had no jobs food was expensive and many families were hungry the country had to pay a lot of money to other nations because they lost the war Germans were angry and sad Adolf Hitler saw this pain he told the people it's not your fault I know who is to blame his words gave people hope but they also made them angry at others slowly Adolf became a popular name Adolf worked hard to grow his party he held big meetings and gave loud emotional speeches Germany can be great again he shouted people people clapped and cheered they believed in his dream in 1923 Adolf tried to take control of the German government by force this was called The Beer Hall PCH but it failed Adolf was arrested and sent to jail for 9 months while in jail Adolf wrote a book called mine comp which means my struggle in this book he wrote about his ideas he said Germany needed to become powerful and that certain groups of people were the enemy the book became popular and many Germans started to believe in his ideas after getting out of jail Adolf worked even harder the Nazi party became Stronger by 1933 Adolf Hitler was chosen as the chancellor of Germany the country's top leader this was the start of a new chapter Adolf promised jobs a strong military and a bright future the people trusted him but they didn't know what he was planning next as Chancellor Adolf made many changes he built roads factories and schools more people got jobs and Germany started to look strong again the people were happy they said Hitler is a hero but behind this success Adolf had dangerous plans he controlled newspapers radios and schools people were told you can only believe in Adolf Hitler those who didn't agree with him were punished or sent to prison Adolf created a strong Army called the SS and a group of young boys called the Hitler Youth they trained to fight and spread Nazi ideas everywhere in Germany people saw the swastika flag it became the symbol of adolf's power adolf's speeches became even more powerful he would say Germany is the best we will rule the world crowds cheered and shouted H Hitler in 1939 Adolf made his boldest move he ordered his army to invade Poland this act started World War II adolf's dream was to take over all of Europe and make Germany the most powerful country in the world at first adolf's Army won many battles they were strong and well trained but as the war went on things started to go wrong Adolf had made too many enemies while the War was happening Adolf was doing something terrible he wanted to remove all Jewish people and others he thought didn't belong in his vision of Germany this was called the Holocaust one of the darkest chapters in human history millions of innocent people were killed killed in camps by 1944 Germany started losing the war adolf's enemies like the United States the Soviet Union and Britain were too strong bombs fell on German cities and the people who once called Adolf a hero began to lose hope Adolf became paranoid he trusted no one and spent most of his time hiding in his bunker by 194 four Adolf Hitler's dreams of ruling the world were falling apart his army which once seemed Unstoppable was now losing battles everywhere the Soviet Union one of his biggest enemies pushed the German Army back from the East at the same time American and British soldiers attacked from the West German cities were bombed day and night families lost their homes and the people began to turn against Adolf why did we follow him many asked but Adolf didn't give up he sat in his bunker giving orders to his generals we will not surrender he shouted but deep inside even Adolf knew the war was lost in early 1945 Adolf stayed in a bunker deep underground in Berlin the bunker was cold and dark but it was safe from bombs inside Adolf spent his his time planning though there was little hope left he was not alone his most loyal followers were with him including his girlfriend Ava Brown Ava had been by his side for many years though Adolf kept their relationship private she loved him even in his Darkest Days outside the bunker the sound of gunfire grew louder every day the Soviet Army was getting closer to Berlin the end is near whispered his advisers leaders from other countries begged Adolf to surrender save the people of Germany they said but Adolf refused he believed surrender was a sign of weakness if Germany loses it is because the people were not strong enough he said coldly by April 1945 Berlin was surrounded the Soviet Army attacked the city from all sides buildings collapsed fires burned and people ran for their lives on April 29th 1945 Adolf made a surprising decision he married Ava Brown in the bunker it was a simple ceremony with just a few people you've always been by my side Ava Adolf said Ava smiled even though she knew this was not a happy moment after the wedding Adolf and Ava spent hours together talking about their lives and what they had done they both knew the end was near on April 30th 1945 Adolf made his final decision he called his closest followers Into the Bunker and told them I will not be captured alive Adolf believed it was better to die than to let his enemies take him he and Eva went to a small room moments later they took their own lives Adolf was 56 years old when the Soviet soldiers reached the bunker they found Adolf and Eva's bodies the war in Europe ended shortly after Germany surrendered on May 8th 1945 the people of Germany were left with nothing but ruins adolf's dream of making Germany powerful had instead brought destruction and sorrow millions of lives were lost because of his actions after adolf's death the world worked to rebuild Germany became a peaceful country people remembered the horrors of the Holocaust and World War II to ensure such events never happen again today Adolf Hitler's name is a reminder of the dangers of hatred unchecked ambition and misuse of power power finally his story teaches us every decision we make shapes our future adolf's choices led to pain and loss not just for him but for millions of others this reminds us that every action no matter how small matters we must Choose Wisely and always think about the impact our decisions have on others and importance of compassion and unity hate and division only tear people apart the world is a much better place when we come together respect each other and work towards peace life is too short for anger and judgment by being kind and understanding we can create a future filled with hope not regret so remember Choose Love over hate humility over pride and unity over division these simple lessons can make our world a better place this was the story of Adolf Hitler a man whose life changed the world forever it's a story of Dreams power and the mistakes that led to tragedy remember history is not just about the past it teaches us how to build a better future

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Computer Skills

79239380

Date: 2024-11-30 11:08:22
Score: 1
Natty:
Report link

Code Placement Issue: Ensure the header code is in the and footer code before . Ad Blockers: Visitors with ad blockers won't see ads. JavaScript Conflicts: Check for errors or script conflicts in the browser console. Non-Responsive Ads: Use responsive ad units for mobile. Policy or Inventory Issues: Ensure compliance with Google Ads policies. PHP Errors: Fix any warnings in your PHP error logs. Vensen Digital Marketing Agency in Coimbatore can help resolve these issues for seamless ad performance. for more info. https://vensen.in/unlimited-images/

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

79239368

Date: 2024-11-30 11:01:20
Score: 2.5
Natty:
Report link

I will teach you.

  1. Learn how to use The GNU Project Debugger.
  2. Debug your project and see where error occurs.
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Александр Алибеков

79239356

Date: 2024-11-30 10:54:19
Score: 0.5
Natty:
Report link

To combine ON CONFLICT DO NOTHING to ensure data integrity and improve insertion efficiency during batch insertions, you can follow these steps to modify: First, you need to make sure that the database you're using (SQLite in this case) supports the ON CONFLICT DO NOTHING statement. For your existing code, suppose you want to insert the table is MarketData, can modify bulk_insert_mappings part code like this: the from sqlalchemy. Dialects. Sqlite import inserts

Build a list of data to insert

data_to_insert = [ { 'date': date.fromtimestamp(ts), 'time': some_time, 'asset': some_asset_id, 'opening': some_opening_value, 'high': some_high_value, 'low': some_low_value, 'closing': some_closing_value, 'volume': some_volume_value } for ts, some_time, some_asset_id, some_opening_value, some_high_value, some_low_value, some_closing_value, some_volume_value in your_data_source ]

Perform the insert operation

insert_stmt = insert(MarketData).values(data_to_insert) on_conflict_stmt = insert_stmt.on_conflict_do_nothing(index_elements=['date']) # Assume that the 'date' column is a possible conflict column session.execute(on_conflict_stmt) session.commit() In the above code, you first create an insert statement insert_stmt and then use the on_conflict_do_nothing method to specify that no operation is performed in the event of a conflict (based on the specified column date). Finally, the statement is executed through session.execute and the transaction is committed. In this way, when the newly inserted data conflicts with the existing data in the date column, no operation is performed. In this way, the insertion efficiency is improved while data integrity is ensured. Note that you need to modify the column values in the data_to_insert and specify appropriate columns that may conflict based on the actual table structure and data.

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

79239354

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

According to the node-canvas wiki you need install some packages first:

sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

After installation i was able install canvas on Raspberry Pi 4.

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

79239348

Date: 2024-11-30 10:51:18
Score: 3
Natty:
Report link

Okay so the code itself has no problem. I guess i just forgot to save or build the solution but every time i run the code, the solution automatically builds itself. Eitherway, nothing is wrong with the code and everything is working now. The password is also being hashed properly and added to the database

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

79239339

Date: 2024-11-30 10:42:16
Score: 1
Natty:
Report link

Given known batch_size is equal to 2:

batch_size=2
inversed = np.unique(slided.reshape(batch_size, -1)).reshape(batch_size, -1)

Outputting:

[[ 1  2  3  4  5  6  7]
 [ 8  9 10 11 12 13 14]] (2, 7)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Muhammad Ikhwan Perwira

79239338

Date: 2024-11-30 10:42:16
Score: 3
Natty:
Report link

Excel worksheet cell has limitations to maximum characters in can contain and that may be causing this. Try saving the cookie in a text file.

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

79239335

Date: 2024-11-30 10:41:16
Score: 3
Natty:
Report link

Make sure ID in this table auto increment, and tru to run migrate.

see image here

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

79239334

Date: 2024-11-30 10:41:16
Score: 1
Natty:
Report link

You're getting this error because in Next.js 15, params is actually a Promise that needs to be awaited. Here is how you can fix this,

export async function GET(
  req: Request, 
  context: { params: Promise<{ providerId: number }> }
) {
  const providerId = (await context.params).providerId;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Durgesh Upadhyay

79239329

Date: 2024-11-30 10:37:15
Score: 4
Natty: 4
Report link

Key generated inside current folder even if windows prompt shows C:/user/.ssh/id_rsa as path of rsa key. Thanks @Gupiter.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Gupiter
  • Low reputation (1):
Posted by: Badr Louachama

79239325

Date: 2024-11-30 10:34:14
Score: 2.5
Natty:
Report link

Hello everyone I'm from Pakistan 🇵🇰 and I'm 12 years old and who adopted me

Blockquote

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

79239324

Date: 2024-11-30 10:34:14
Score: 1
Natty:
Report link

Alternatively, if you don't mind whether those key values exist NOW but just want to add the constraint for future entries, you can turn off validation on your alter table statement by adding NOVALIDATE at the end:

ALTER TABLE table2
ADD FOREIGN KEY (EMPNO)
REFERENCES table1(EMPNO) 
NOVALIDATE;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: crilopez

79239321

Date: 2024-11-30 10:32:14
Score: 1.5
Natty:
Report link

I faced with a very similar case after Spring Boot 3 and Spring Security 6 upgrade with one of the custom token authenticated WebSocket service. I used the CustomWebSocketHandshakeHandler handler for extracting the token from websocket connection and then stored the user information in "simpUser" parameter of the websocket session. Afterwards, spring security could manage to authenticate the user with RabbitMQ easly. Here is the whole implementation details: https://medium.com/@ysrgozudeli/handling-custom-websocket-authentication-in-spring-boot-3-0-upgrade-619168d1a1c9

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: A. Yasar G.

79239315

Date: 2024-11-30 10:26:12
Score: 2
Natty:
Report link

Changing the number of views limits in a dashboard (Microsfot Dynamics CRM)

Go to MSCRM_CONFIG

Go to DeploymentProperties Table

Where ColumnName = DashboardMaximumControlsLimit

Set IntColumn = 50

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mazyar Shafaat Doust

79239313

Date: 2024-11-30 10:26:12
Score: 2
Natty:
Report link

import numpy as np

def softmax(x): """ Softmax函数实现 """ e_x = np.exp(x - np.max(x)) return e_x / e_x.sum()

假设的带符号8个整数输入

input_numbers = np.array([-2, 1, 3, -1, 0, 2, 4, -3])

softmax_result = softmax(input_numbers)

print(softmax_result)

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

79239302

Date: 2024-11-30 10:20:11
Score: 0.5
Natty:
Report link

If you are using compose and edgeToEdge is enabled, you can use Modifier.displayCutoutPadding() or Modifier.safeDrawingPadding() to get rid of this issue.

Do not try to apply the padding yourself by using WindowInsets.displayCutout.asPaddingValues() because it will not work.

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

79239290

Date: 2024-11-30 10:16:09
Score: 2
Natty:
Report link

Solution (thanks to @MrMT's answer in comments):

var isPaused = false;
// replaced a random number with a counter to check that it doesn't reset
let num = 0;
function draw() {
    function loop() {

        if (isPaused === false) {
            num++;
            testArea.textContent = `${num}`;
        }
        else {
            return;
        }

        setTimeout(() => { requestAnimationFrame(loop); }, 200);
        return;
    }
    loop();
}
function pauseMenu() {
    pauseScreen.classList.remove("hide");
    console.log("paused");
    isPaused = true;

    resumeButton.addEventListener("click", pauseResume);
}

function pauseResume() {
    isPaused = false;
    console.log("unpaused");
    pauseScreen.classList.add("hide");
    
    // otherwise after passing over if (isPaused === false)
    // current line will exit the loop altogether!
    draw();
}

It worked in my canvas animation code too with a few edits. Much appreciated!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): appreciated
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @MrMT's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: touchofstatic

79239280

Date: 2024-11-30 10:08:08
Score: 1.5
Natty:
Report link

I also faced the same problem. They are tracing lines inside my bidurcation diagram. I found this solution.

Here is my code.

import matplotlib.pyplot as plt
import numpy as np

def logistic(x, a):
    return a * x * (1 - x)

# Range of 'a' values
k = np.linspace(2.8, 4, 1000)

# Number of iterations and data collection after transients
n = 200
m = 50  # Collect the last 50 points to visualize bifurcation

x_axis = []
y_axis = []

for a in k:
    x0 = 0.1  # Initial value of x
    # Iterate to remove transient behavior
    for i in range(n):
        x0 = logistic(x0, a)
    # Collect data for plotting bifurcation
    for i in range(m):
        x0 = logistic(x0, a)
        x_axis.append(a)
        y_axis.append(x0)

# Plotting the bifurcation diagram
plt.figure(figsize=(10, 7))
plt.plot(x_axis, y_axis, ',k', alpha=0.25)  # Small markers for clarity
plt.title("Bifurcation Diagram")
plt.xlabel("Parameter a")
plt.ylabel("Population")
plt.show()

But the problem here why is it loop until 100 at the first loop and then continue the iteration?

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

79239278

Date: 2024-11-30 10:05:07
Score: 3
Natty:
Report link

I am having problems with Case 'No' only. Let me explain, Under Case "No" i have want to find with range in coulmn A(there are multiple cells to find with word doument) and paste value in 2 different way. Let assume 1 way is to paster value in the next para . So i used below code and it works

Set wordRange = newWordDoc.Content

            With wordRange.Find
                .Text = Left(description, 255)
                .Replacement.Text = ""
                .Forward = True
                .Wrap = 1
                .Format = False
                .MatchCase = False
                .MatchWholeWord = False
                .MatchWildcards = False
                .MatchSoundsLike = False
                .MatchAllWordForms = False
            End With
            

If wordRange.Find.Execute Then ' Paste the value in the next paragraph after the description wordRange.Collapse Direction:=0 wordRange.MoveEnd Unit:=4, Count:=1 wordRange.Text = wordRange.Text & valueToPaste wordRange.Font.Bold = False End If

however there are some para where table are appearing in the word doc and these have 3 columns , i want to paste with under table at specificed row let support ....in excel column a text appearing "A.4" at cell A320 the same text is in word document "A.4" is appearing and there is table after than , so i want to paste value from column E (say cell E320) with function cell offset (0,5) under row 2 column 3 of the table (2,3) appearing in the word document , then "A.4" is also appearing in cell A321 of in excel now i want to paste value of cell E320 in the "A.4" para appearing in word but now in the table row 3 column 3 (3,3) . I used the below code but its only pasting value of E319 in row 2 and 3 .....so how can i define multiple criteria for pasting value for example then next criteria for "A.5"..... "? also the how to limit the first criteria .Text = Left(description, 255) to not execute on A.4 , A.5 as its is find a paste funciton for all the value matched

Else If wordRange.Find.Execute.Text="A.4" Then If wordRange.Tables.Count > 0 Then ' Paste the value in the respective row and last column

        Set table = wordRange.Next(wdParagraph).Tables(1)
        table.cell(2,3).Range = valueToPaste
             
Reasons:
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (1): I am having problem
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Anas Zubair

79239274

Date: 2024-11-30 10:03:07
Score: 1.5
Natty:
Report link

Yes you can. The context is allways created, and if you check the generated code, you can see the context as uses 'this' when the correspoding listener function is called, so it must be exist!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: György Gulyás

79239265

Date: 2024-11-30 09:59:06
Score: 0.5
Natty:
Report link

I found what is wrong in my code...

its bcz of Color(0xE8024585) where i have used opacity E8 (first two letters showing opacity value).. and i changed to FF and it is solved..

it was overlaping with safearea default colors...Thats it.

Reasons:
  • Whitelisted phrase (-1): it is solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Irfan Ganatra

79239263

Date: 2024-11-30 09:57:05
Score: 2
Natty:
Report link

The BigDecimal class is part of the java.math package, not java.lang. The Javadoc for methods using BigDecimal should refer to the correct package: java.math.BigDecimal. If you're able to submit an issue, submit the reference to java.math.BigDecimal to avoid confusion.

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

79239257

Date: 2024-11-30 09:56:05
Score: 2.5
Natty:
Report link

as far as I know, Visual Studio Code does not have this feature built in. But I solved this problem with this plugin: VSCode Highlight Matching Tag Extension

Here's how it works, I recommend you use it: VSCode Highlight Matching Tag Extension Working Screen Video (GIF)

Thanks...

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Agah Toruk

79239255

Date: 2024-11-30 09:55:05
Score: 2
Natty:
Report link

also try:

int[] numbers = { 1, 2, 3, 4, 5 };
double average = numbers.Average();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben Sella

79239249

Date: 2024-11-30 09:53:04
Score: 1
Natty:
Report link

The Answer is Here: Article by Doctor Scripto and is referenced in many places for solutions to System log queries via Powershell.

get-winevent -ComputerName $CompName -FilterHashtable @{logname='system'; level=1; StartTime=(get-date).AddDays(-30) } | Format-Table -Auto -Wrap

The key is the -FilterHashtable parameter. It seems to be specifically designed to process this type of information. Furthermore, it delivers the error's Message, it runs exponentially faster!

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

79239238

Date: 2024-11-30 09:47:03
Score: 1.5
Natty:
Report link

yes, exactly I observed the same problems in using the pytube library since the last days: Everything I tried duced to same Error: HTTP Bad Request By inspecting the network traffic I have recognized, that the problems ist too complicated for my knowledge. I hope, that the creators of pytube can fix it.

Greetings

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

79239236

Date: 2024-11-30 09:46:02
Score: 1.5
Natty:
Report link

You need to set the vertical alignment of buttons.

button {
  vertical-align: middle;
}

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

79239230

Date: 2024-11-30 09:42:01
Score: 0.5
Natty:
Report link

In my case, the pom file is right, the java version, source, target version are set correctly, but I was compiling from command line and the default java interpreter is set to JAVA 1.8. Updating it to JAVA 17 made it work.

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

79239224

Date: 2024-11-30 09:39:00
Score: 1.5
Natty:
Report link

This is a general solution for this type of errors that have appeared with recent android studio and flutter updates.

Modify android>settings.gradle file with this = id "com.android.application" version "8.3.2" apply false

Modify android>gradle>gradle-wrapper.properties file with this => distributionUrl=https://services.gradle.org/distributions/gradle-8.4-all.zip

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

79239219

Date: 2024-11-30 09:37:00
Score: 1.5
Natty:
Report link

Well, meanwhile I found out that the problem could be caused by incorrect assignment of X, Y arrays to (x, y) variables in plot. I swapped them to:

ax.pcolormesh(Y, X, C)

and the problem is gone. Hope, that some day this will help somebody.

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

79239218

Date: 2024-11-30 09:36:00
Score: 2
Natty:
Report link

You might try the unofficial Zeppelin Notebook extension with Remote-SSH.

FYI, The local notebook file will sync its metadata with the server when changes happen in cells. To make git version control easier, when you compare a notebook in history, you may disable metadata change view via "..." botton at the top right corner.

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

79239216

Date: 2024-11-30 09:34:59
Score: 7 🚩
Natty: 5.5
Report link

What permissions do i need to fully finish this. now i hane only whatsapp_business-messages. When requesting whatsapp_buisness_management im getting rejection. Can you help , please And after making request https://graph.facebook.com/v21.0/496216376907463/register i get such error

"message": "(#12) Deprecated for versions v21.0 or higher", "type": "OAuthException",

Reasons:
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (3): Can you help
  • RegEx Blacklisted phrase (1): i get such error
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Fingroup Projects

79239214

Date: 2024-11-30 09:32:58
Score: 2.5
Natty:
Report link

Make sure road side is safely because life is pressure life is xpersifu Make money in honest way because tomorrow you may live it and go different world 🌎**

  1. strong text

**

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

79239211

Date: 2024-11-30 09:31:57
Score: 1.5
Natty:
Report link

There's a maximum of 65535 characters in a line of code. (I had serialized a file for testing purposes into one line). If you exceed this line length, you'll get this error. I also went the route "repair" and that didn't work. I'm using VS 2017, C#, ASP.Net Core 2.1. 一行代码中最多有 65535 个字符。(为了测试目的,我已将一个文件序列化为一行)。如果超过此行长度,则会收到此错误。我也走了 “repair” 的路线,但没有用。我正在使用 VS 2017、C# ASP.Net Core 2.1。

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

79239210

Date: 2024-11-30 09:30:57
Score: 3
Natty:
Report link

Just make sure to exclude your gradle & project folder at your antivirus if you still need the antivirus on

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

79239204

Date: 2024-11-30 09:28:56
Score: 6 🚩
Natty: 4.5
Report link

Do you see any Autofac Resolve performance issue with HostApplicationBuilder?

I am asking a question about that at Autofac Resolve is extremely slow in .NET Generic Host HostApplicationBuilder. Please share your experience if any.

Thank you very much.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Please share your
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kelvin Nguyen

79239203

Date: 2024-11-30 09:27:56
Score: 0.5
Natty:
Report link

First of all, you must instead of GLES31.glTexImage2D create immutable texture to be able a compute shader to write on it:

    GLES31.glTexStorage2D(
        GLES31.GL_TEXTURE_2D,
        1,                       // 1 level
        GLES31.GL_RGBA32F,
        1,                       // Texture width
        1,                       // Texture height
    )

Secondly, referring to this answer https://stackoverflow.com/a/53993894/7167920 ES version of OpenGL does not support using texture image data directly, you should use FrameBuffer.

Initialize it when you init:

frameBuffers = IntArray(1)
GLES20.glGenFramebuffers(1, frameBuffers, 0)

And here the working code of readAndLogPixelFromTexture():

checkGLError { GLES31.glBindFramebuffer(GLES31.GL_FRAMEBUFFER, frameBuffers[0]) }
checkGLError {
        GLES31.glFramebufferTexture2D(
            GLES31.GL_FRAMEBUFFER,
            GLES31.GL_COLOR_ATTACHMENT0,
            GLES31.GL_TEXTURE_2D,
            textures[texture],
            0
        )
    }
if (GLES31.glCheckFramebufferStatus(GLES31.GL_FRAMEBUFFER) != GLES31.GL_FRAMEBUFFER_COMPLETE) {
   throw RuntimeException("Framebuffer is not complete")
}
val pixelData = FloatArray(4)
GLES31.glReadPixels(pixel.first, pixel.second, 1, 1, GLES31.GL_RGBA, GLES31.GL_FLOAT, FloatBuffer.wrap(pixelData))
checkGLError { GLES31.glBindFramebuffer(GLES31.GL_FRAMEBUFFER, 0) }

// Log the color value to verify it
val r = pixelData[0]
val g = pixelData[1]
val b = pixelData[2]
val a = pixelData[3]
Log.d(TAG, "Compute shader result: R: $r, G: $g, B: $b, A: $a")
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Max Lebedev

79239200

Date: 2024-11-30 09:26:55
Score: 1.5
Natty:
Report link
You can implement like this.
    
 public IActionResult SignIn()
 {
    var redirectUrl = Url.Action("LoginCallback", "Account");
    var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
    return Challenge(properties, OpenIdConnectDefaults.AuthenticationScheme);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nitin P

79239195

Date: 2024-11-30 09:21:54
Score: 3.5
Natty:
Report link

The Project's Cmake has been changed, but Clion is not reloading the cmake file, so another way to fix it is to just reload the cmake project and it would fix the issue.

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

79239181

Date: 2024-11-30 09:12:52
Score: 1.5
Natty:
Report link

I can get the first half simply by using the same seed ie 12345 and generating 150 points, however how do i generate the next 150 points such that they are the same as 151-300 points generated in original sequence? what is the seed that i have to provide, is there a way to calculate that seed value?

I don't think you can do that. Your best bet is to use a different seed for every parallel section: generate 150 points on one machine with one seed, and 150 points with a different seed on the second machine.

Warning: Do not use the same seed in different parallel sections! Doing so will duplicate the work done by another machine and the randomness of your results will decrease.

You could alter your sequential program to change seed after 150 generated points. This way, you could achieve reproducibility between sequential and parallel program.

Reasons:
  • Blacklisted phrase (1): how do i
  • Blacklisted phrase (1): is there a way
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Janez Kuhar

79239156

Date: 2024-11-30 09:07:51
Score: 2.5
Natty:
Report link

It would be good to see the pubspec.yaml file and error message to solve this problem. When adding assets to the pubspec.yaml file, you need to make sure that the places you will put are correct, including spaces, it would be good to provide more details to solve the problem.

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

79239153

Date: 2024-11-30 09:06:50
Score: 2
Natty:
Report link

Powershell:

Get-Content <filename> -First 5
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrei

79239152

Date: 2024-11-30 09:04:50
Score: 1
Natty:
Report link

From experience - it is not so simple. You need to have take into account:

  1. engine used for inference (TGI? pure transformers? llama-cpp)
  2. card type (really it matters whether it is H100 or L40S or A100)
  3. batch size
  4. is it a chatbot like experience or maybe you need to process offline?
  5. What is the maximum context you would like to process?

On basis of this you need to run some benchmark and generalize it

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: artona

79239151

Date: 2024-11-30 09:04:50
Score: 1
Natty:
Report link

correctify someone's answer

To @Róbert Nagy's answer

According to How to Use Tooltips in Jetpack Compose

There are now TooltipBox function (added in 1.2.1 version in androidx.compose.material3 dependency)

The TooltipBox function is defined as follows.

fun TooltipBox(
    positionProvider: PopupPositionProvider,
    tooltip: @Composable TooltipScope.() -> Unit,
    state: TooltipState,
    modifier: Modifier = Modifier,
    focusable: Boolean = true,
    enableUserInput: Boolean = true,
    content: @Composable () -> Unit,
)

To Art Shendrik's answer

There are no PlainTooltipBox function in 1.3.1 version in androidx.compose.material3 dependency.

No PlainTooltipBox function in 1.3.1 version in androidx.compose.material3 dependency.

Here are code snippets of libs.version.toml (I use the Maven)

libs.version.toml

[versions]
// ...
material3 = "1.3.1"

[libraries]
// ...

androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Róbert
  • Low reputation (1):
Posted by: GeeksMathGeeks

79239146

Date: 2024-11-30 08:59:49
Score: 2.5
Natty:
Report link

It could be a selection issue caused by the browser. Try user-select: none CSS rule

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

79239133

Date: 2024-11-30 08:53:48
Score: 1
Natty:
Report link

Do you not need to use AddHostedService. The default template code should work fine

Vs 2022 project creation

public class Program
{
    public static void Main(string[] args)
    {
        var builder = WebApplication.CreateBuilder(args);

        // Add services to the container.

        builder.Services.AddControllers();

        var app = builder.Build();

        // Configure the HTTP request pipeline.

        app.UseAuthorization();


        app.MapControllers();

        app.Run();
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zubaer Naseem

79239131

Date: 2024-11-30 08:52:47
Score: 1.5
Natty:
Report link

Why did you make a table with a construction from columns, and not from rows? All you had to do was pass the emit('delete', row.id). And in the parent component, where you store the rawTable reactive data, delete the row by index.

In your case, you need to delete data from the roleColumn, and you will have to go through all the columns and remove the row whose ID you pass. Since the data is reactive, there will be no need to refresh the page, and everything will be updated immediately.

Reasons:
  • Whitelisted phrase (-1): In your case
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why did you
  • Low reputation (1):
Posted by: Mentat_Radnor

79239120

Date: 2024-11-30 08:44:45
Score: 8 🚩
Natty: 5.5
Report link

I couldn't get it to work, do you have the complete code?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have the
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shanth Kumar

79239119

Date: 2024-11-30 08:44:45
Score: 1.5
Natty:
Report link

Use driver.quit() method and it will be solved.

Explaination: The rootcasue of this error is that the socket is not closed properly. Websocket is still open so when we are executing this class step definition then it won't get the socket when you are closing it and will throw the error. So, just use driver.quit() method and error will be gone.

enter image description here

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

79239111

Date: 2024-11-30 08:38:43
Score: 2
Natty:
Report link

You have to install OpenBLAS in Windows too. Since you don't have Conda you have to get the official binary packages for your Windows version in the releases section of the GitHub project page.

This link explains how to install. Here are the instructions:

There are separate packages for x86-64 and x86. The zip archive contains the include files, static and shared libraries, as well as configuration files for getting them found via CMake or pkg-config. To use these binaries, create a suitable folder for your OpenBLAS installation and unzip the .zip bundle there (note that you will need to edit the provided openblas.pc and OpenBLASConfig.cmake to reflect the installation path on your computer, as distributed they have "win" or "win64" reflecting the local paths on the system they were built on)

Reasons:
  • Blacklisted phrase (1): This link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lewis

79239110

Date: 2024-11-30 08:37:43
Score: 0.5
Natty:
Report link

Thanks to the input from @FrankHeikens, i found the random_page_cost parameter. Indeed, lowering that value (to tell postgres its not that expensive to access random parts of the disk) makes postgres use the index.

I found that in my example on my system, for 10M rows, the value needs to be 1.15 or lower.

ALTER TABLESPACE pg_default SET (random_page_cost=1.1);

EXPLAIN ANALYZE SELECT COUNT(*) FROM auction_jsonb_indexed WHERE item->>'author' = 'Author 1';

Aggregate  (cost=10906.93..10906.94 rows=1 width=8) (actual time=4.152..4.154 rows=1 loops=1)
  ->  Bitmap Heap Scan on auction_jsonb_indexed  (cost=87.60..10882.00 rows=9970 width=0) (actual time=2.803..3.858 rows=10000 loops=1)
        Recheck Cond: ((item ->> 'author'::text) = 'Author 1'::text)
        Heap Blocks: exact=10000
        ->  Bitmap Index Scan on jsonb_author  (cost=0.00..85.11 rows=9970 width=0) (actual time=1.465..1.466 rows=10000 loops=1)
              Index Cond: ((item ->> 'author'::text) = 'Author 1'::text)
Planning Time: 0.076 ms
Execution Time: 4.271 ms

(Btw: Note that the number of different values in the indexed field also changes the plan. If I create the table with cnt % 10, a slightly different plan is used. It still benefits from the index, but is considerably slower.)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @FrankHeikens
  • Self-answer (0.5):
Posted by: dbu

79239109

Date: 2024-11-30 08:37:43
Score: 1
Natty:
Report link

You can’t use git-format-patch(1) as a transport format like git-clone(1) since it doesn’t deal with merge commits. There’s also the missing committer metadata problem.

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

79239101

Date: 2024-11-30 08:30:41
Score: 1
Natty:
Report link

The easiest way is to use Filter, month, and year:

=filter('Form Responses 1' !A2:N,month('Form Responses 1' !G2:G)=12,year('Form Responses 1' !G2:G)=2025)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ganesh Chandak

79239098

Date: 2024-11-30 08:30:40
Score: 9.5 🚩
Natty:
Report link

did you find a solution i tried this video but it work's only on version 7.6.3 of gradle and lower video : https://www.youtube.com/watch?v=o8FGDFtPqQk&t=533s

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • RegEx Blacklisted phrase (3): did you find a solution
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a solution i
  • Low reputation (1):
Posted by: yassine oubihi

79239091

Date: 2024-11-30 08:26:38
Score: 4
Natty:
Report link

The problem is that the h1 element has default margins that are pushing it down. You can fix the header alignment according to w3school guide: https://www.w3schools.com/css/tryit.asp?filename=trycss_website_layout_navbar

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

79239084

Date: 2024-11-30 08:22:37
Score: 1
Natty:
Report link

Use Modularization If your project is large, consider breaking it into smaller modules. This practice not only reduces the size of generated classes but also improves build times and maintainability.

Review Custom Resource Usage Custom implementations that dynamically generate a lot of resources can also contribute to this issue. Simplify such logic or use alternative approaches.

By applying these methods, you can effectively address the "Class too large" error and ensure your project is optimized for performance and maintainability. If the issue persists, consider analyzing the APK or AAB using the APK Analyzer in Android Studio to pinpoint oversized classes and resource usage. Read It For More Information!

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

79239081

Date: 2024-11-30 08:21:37
Score: 2
Natty:
Report link

Pushing from the local repository after converting all the branches can restore up to 95% of the repository. However, historical PR data does not get restored (this happened to me). If you don't need it, then it should be fine. But if you do, you should contact Atlassian support as soon as possible. It took about a week with continuous follow-ups, but the repository was eventually restored.

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

79239080

Date: 2024-11-30 08:21:37
Score: 2.5
Natty:
Report link

OpenJDK is available on Github. You could try forking it and creating a Pull Request.

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

79239074

Date: 2024-11-30 08:18:36
Score: 1
Natty:
Report link

Verify Digest-Tag Match: Ensure the digest matches the :latest tag. Run:

bash Copy code docker manifest inspect MY_REPO/my-product/development/my_artifact:latest Pull by Digest Only: Try pulling without the :latest tag:

bash Copy code docker pull MY_REPO/my-product/development/my_artifact@sha256:e911cd696274444426a8da826da75710cf6909e87887b57f929b9fb8741ffa9a Authenticate: Ensure you’re logged into the private registry:

bash Copy code docker login MY_REPO Check Registry Support: Confirm your registry supports digest-based pulls or verify using the API.

Clear Cache: Pull with --no-cache:

bash Copy code docker pull --no-cache MY_REPO/my-product/development/my_artifact@sha256:e911cd696274444426a8da826da75710cf6909e87887b57f929b9fb8741ffa9a Inspect Permissions: Ensure you have access to the repository and digest.

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

79239070

Date: 2024-11-30 08:17:36
Score: 3
Natty:
Report link

To reference to another table, the id referenced must be primary key, and in mysql or mariadb don't use serial but instead use AUTO_INCREMENT if you want the id to be generated

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

79239068

Date: 2024-11-30 08:16:35
Score: 2
Natty:
Report link

Answering an old post, but since I managed to get here I will add my findings. According this issue

The C files generated are for testing purposes only.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: A. Penner

79239065

Date: 2024-11-30 08:16:35
Score: 0.5
Natty:
Report link

To test it, I opened a sheet more than 60 times. On open, there were running some Google App script code. Each run took around 1 second. In my case, it ran more than 60 times and is still running if I open that particular Google Sheet. I think the execution limit might be like:

Execute it as many times as you want till the app script cumulative run time is not exceeding 90 minutes in a 24 hour time period. 90 minutes means 5400 seconds. To validate it, I can't test the 5400 second limit manually. Note: I have a free Google account.

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

79239063

Date: 2024-11-30 08:15:35
Score: 8
Natty: 8.5
Report link

how can we have this code for Products image widget ???

Reasons:
  • Blacklisted phrase (1): how can we
  • Blacklisted phrase (1): ???
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how can we have this code for
  • Low reputation (1):
Posted by: Behnam mk

79239051

Date: 2024-11-30 08:09:33
Score: 1.5
Natty:
Report link

Interesting short code by James Black January 14,2013. Just an idea for the given answer;

Line from code quoting:- "
WriteToFile(pngData, length, "plot.png"); " Adding a path to where the file is written could make it easier to find, such as "C:\users\myFolder\plot.png". Or even a path to send this graph image via Bluetooth or email.

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

79239040

Date: 2024-11-30 08:01:32
Score: 0.5
Natty:
Report link

As of 2024, the Natim's answer does not seem to work. I ran

pip install torch==2.5.0
pip install torchvision

and this automatically upgraded torch to 2.5.1. The correct way now is to pass the --no-deps argument to pip:

pip install torch==2.5.0
pip install torchvision --no-deps
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fizz Areh

79239030

Date: 2024-11-30 07:50:29
Score: 1.5
Natty:
Report link

I suspect there is no way to do this in git, unless there has been some recent addition. Although the question asked isn't exactly the same, the answers to What is the opposite of `git diff HEAD^`?, Referencing the child of a commit in Git, and How do I find the next commit in Git? (child/children of ref) seem to suggest that there is no way to do this in git.

(Many of the answers erroneously suggest that this is impossible as a matter of principle — but it's not impossible, as git log --oneline --graph --all shows; git just won't let you do it.)

Reasons:
  • Blacklisted phrase (1): How do I
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Wyatt Carpenter

79239026

Date: 2024-11-30 07:48:29
Score: 0.5
Natty:
Report link

Looks like tp add custom data on dashboard page I need to create a new card with command like :

php artisan nova:card vendor/package

But not lense, as I tried

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: mstdmstd

79239017

Date: 2024-11-30 07:39:27
Score: 1
Natty:
Report link

You can add a script to a GameObject if the class is derived from MonoBehaviour.

In this case:

public class RopeEditor : Editor

The class "RopeEditor" is derived from "Editor". There is probably a script called "Rope" which can be added to your game objects. Good luck!

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

79239016

Date: 2024-11-30 07:38:27
Score: 2
Natty:
Report link

I encountered the same problem, but I think the only way to do these is just manually create the secret by using GCP UI or gcloud cli. In the Secret Manager UI, when creating the screct it will ask whether the secret should auto replicated or manually set locations.

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

79238999

Date: 2024-11-30 07:27:24
Score: 5
Natty:
Report link

any workaround how to solve the issue. I'm also getting the error when configuring IAM identity center as external provider for keycloak

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1): I'm also getting the error
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Swarnim Pratap Singh

79238995

Date: 2024-11-30 07:24:23
Score: 5.5
Natty:
Report link

have you found an answer to your question? I'm just looking into the same functionality and wondering the same questions.

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found an answer to your question
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sami Ali

79238975

Date: 2024-11-30 07:05:19
Score: 0.5
Natty:
Report link

This way, we’ll have all the object’s fields initialized at the moment of creation. Final modifiers in fields’ declaration won’t let us change their values in future. To make this object deserializable, we simply need to add a couple of annotations to this constructor:

  @JsonCreator(mode = JsonCreator.Mode.PROPERTIES)
public Employee(@JsonProperty("id") long id, @JsonProperty("name") String name) {
    this.id = id;
    this.name = name;
}

Let’s take a closer look at the annotations we have just added.

First of all, @JsonCreator tells Jackson deserializer to use the designated constructor for deserialization.

There are two modes that can be used as a parameter for this annotation – PROPERTIES and DELEGATING. PROPERTIES is the most suitable when we declare an all-arguments constructor, while DELEGATING may be useful for single-argument constructors.

After that, we need to annotate each of constructor arguments with @JsonProperty stating the name of the respective property as the annotation value. We should be very careful at this step, as all the property names must match with the ones that we used during serialization.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JsonCreator
  • User mentioned (0): @JsonProperty
  • Low reputation (1):
Posted by: 刚刚好

79238971

Date: 2024-11-30 07:04:19
Score: 2.5
Natty:
Report link

You need to define main method signature like this public static void main(String[] args) because this is entry point of your program. Also, You can save your .java filename with the same name of defined public class of your source code.

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

79238967

Date: 2024-11-30 07:00:18
Score: 4.5
Natty: 5
Report link

Connecting Modbus Devices to the Cloud - https://iiotdatareader.com/blog/connecting-modbus-devices-to-the-cloud.html

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

79238964

Date: 2024-11-30 06:55:17
Score: 2
Natty:
Report link

%PDF-1.5 %âãÏÓ 4 0 obj <</Filter/FlateDecode/Length 609>>stream xœ­U]kA½0…)4­©ó"Ô—qfö+ñQÐBßÔ}3>YZ#„þÓ!Ї¾˜Zc@lkIÏ]·FAwC6vöknν眹û^>Ž¥ª¦ U¼+ŸÄò™tj‡ŸZe0xnúNÅùð©UÖ¨xOn=ˆßðÚÙ£^wþ ²¡Ñ^¤"ÏéÐÿì”sŒ©+Ž<üÔ4IÄóíô¢»/·DM”¨GS±BÔãYÔèPlâê”x^¢¯ôwqÿƒ®èX´ßÑP”4«˜¯ðr,ÚèˆcñpÎFíã|µ\þQÄËW8ï&$d”çG:p*Œ<Ýr×åÙË›•ACš ÁÊ5ð‚X¾ÉÃ9í=Ñ�+k a…Îh ÖÚ]º,ˆl£¼¡K.eNÄ P^¦aAPÏæÖ;! ø˜úûÞèõm6½e± 1G zŠI4 b6æ¡nÄp~”1¥Ïn8ÇžY”[ëtdsÒëØå}8)õ&X™­Ô#1ã]xú §ŠKÛ„Y¬$&NuþÝw’žƒt@Ï}Œ*iŒ*=JGá´<4Ëì¼Ñ9Gs$l¶v·(" r˜Ø j«Sjs‚q;ß™µôô8£Õ‘A¤×o勹 BäÎÍ tº‹£_}bO±„%¬YC«º‰s®º@DŽ³Ô®cƒ ÐcÆxÃφLÂ1°î¯Õÿù*íÀ†7±É)éJÉGr¶‹¢6=O~ð:Ý¢Ût§h›²‘vìÄ(Û‰5ZÅñ*è•ôn99ø-_vÎêT_�ü' ÉúÇ endstream endobj 1 0 obj <</Tabs/S/Group<</S/Transparency/Type/Group/CS/DeviceRGB>>/Contents 4 0 R/Type/Page/Resources<</ColorSpace<</CS/DeviceRGB>>/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]/Font<</F1 2 0 R/F2 3 0 R>>>>/Parent 5 0 R/MediaBox[0 0 595 842]>> endobj 6 0 obj [1 0 R/XYZ 0 852 0] endobj 2 0 obj <</Subtype/Type1/Type/Font/BaseFont/Helvetica/Encoding/WinAnsiEncoding>> endobj 7 0 obj <</Length1 12664/Filter/FlateDecode/Length 6276>>stream xœí;yxWïÍXÖ-ÍèÖHi$Y’%˲äÛNl7Žs8 I줹HR’iÚ„ÐBép—Ò– ÉmH/ Ô»@”v¶ß.eS(=ØJwé·´|-´[ •ö÷ތƒ“B—]þØïÃÓŸÞofÞ¼÷»™a„F,²ï<tPDnDþŽ0çí×EúÙcÀoAx×…—Ÿw25·nÁ¬Ø¯öìÞ±ë¹/<ÐP‚<Ó³.è®l ÂyÎ¥=¼ìØ}Ì4œŸ‹÷ú…ïÜQìKYʽ!¶vÑŽËö·õ· #T„s$î¿t÷þ“uÀùA8o#´Àyvê$2NÏü=Æ×ÏžÄõ¿9‰ÆB_šÙm[s'ΊâøÞ±y¼N˜,\ÈDc³âÄ<›˜X;ŸçĹÉ]sℸgÇ®ù¶áÆî¹ÙNq­›Ù ¿ï˜‰ÎÌ4t÷ìl¬ÓFÖi£ëÌÍ ç«+œOW€Þ„Iºì”8Ï&§gÖÌÌ ÌŒÍ¢Qq|þé™ùÆÑÙY˜¥×(…ñê½^•fhÖg�1(«¬›™ Ì£Ù¹9å,?<7˜>Ôó“èE0Z|aD½�’ +²‰ñ“øð4½u8 ñh< tÎŽÁÞÆìÔº™q 4:›õ¢.ø¹†MƒUpÈ J:A…b;¢¬#ê®ysž™¿ù+6ýÆo˜—ß´!ŒÜõ‡ÐçÁ2Œô ú„O–»+%½Ç}Wòâ}©ý}—ß}üC‡?ÿYb1Ê3wiÏ]8x¦âæâ=ån¹ÄßuqòbøïÅÛßݱÏ|øjåtú6zhk¦¬/—¾}Ï=·Eéœ|ý÷è�†dŽæ°t]}<äô”ºø«Õí¶Z=Aeðçê/ÕŸÃ<~Q]«kqÜ…ùZ-YÇ/¾ùc"´3(R/Ç?E6¡³Ûv;ÌN¸9ØF&lÃFÏuËÉxŒ |©«Òƒ—‹é+Ób<½|y:–ò…{*aŸ7\

Reasons:
  • Blacklisted phrase (1): ¿
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: เกล้าตะวัน ศรีวงศ์

79238963

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

The issue seems to be related to the scrolling mechanism in Flutter Web when running on iOS browsers like Safari and Chrome. Here are some steps you can try to fix the issue:

  1. Change the Renderer: Make sure you are using the right graphics option in Flutter (like html instead of CanvasKit) to improve compatibility with iOS browsers.
  2. Disable Overscroll: iOS browsers add an Overscroll effect which can cause issues. You can adjust the scroll settings to disable this effect.
  3. Test the production version: Sometimes the issues are related to development mode only. Create a production version (flutter build web --release) and test it on your device.
  4. Update the Flutter environment: Make sure you are using the latest version of Flutter, as updates may contain improvements or fixes for this issue.
  5. Check the performance: If the issue is related to performance, you can reduce the graphics load through design improvements like reducing the use of complex graphics.

If the issue persists, please share more details about the settings you are using (such as browser type and version)

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ftoon Salem 443051942

79238960

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

To solve this problem, you need to check the definition and use of the escape function. Make sure that it is called correctly and that it can handle the incoming string parameters. In addition, this part of the code coloror =','. Join (data ['color'] for data in product_data) looks like an attempt to concatenate multiple colors into a string. In general, first focus on checking whether the escape function is used correctly, and then see if there are any errors in the way the parameters associated with it are passed.

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

79238957

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

You can add this line in your application.properties

springdoc.api-docs.enabled=true
springdoc.swagger-ui.enabled=true
springdoc.swagger-ui.path=/swagger-ui.html
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Girish G

79238956

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

This error may appear in the windows system after updating the java version to a newer one. In System Variables, even after updating the java version and deleting all files of the previous version, the path will still point to non-existent files of the old version. Read more here

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

79238950

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

Stack Overflow, founded in 2008 by Jeff Atwood and Joel Spolsky, is a popular computer programming question-and-answer site with over 23 million registered users. It offers a secure knowledge-sharing solution for businesses, and in July 2023, generative AI will be integrated into both its public platform and Stack Overflow for Teams.As your legal counsel, I strongly advise reviewing all documentation thoroughly before proceeding. It’s crucial to ensure compliance with applicable laws to avoid potential liabilities.truck accidents

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

79238947

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

I tried every solution mentioned here but nothing worked. But what worked for me was that I did the following git configurations Fire these commands from project terminal

git config --global http.lowSpeedLimit 60
git config --global http.lowSpeedTime 99999999
git config --global http.postBuffer 524288000

if I list my git config list it looks like below

git config --global --list 

I hope this will work for you as well.

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Inzimam Bhatti

79238945

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

RCP 2.0 parameters cannot update from Swift code. It's a one way ticket.

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

79238939

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

If you're using SingleChildScrollView(), it's not using lazy loading. Use ListView() instead. ListView will improve performance

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

79238934

Date: 2024-11-30 06:30:11
Score: 6 🚩
Natty:
Report link

I am facing the same issue, i have used nginx for load balancing

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Palash Mahajan

79238924

Date: 2024-11-30 06:26:10
Score: 2.5
Natty:
Report link

it took me some time but it figured it out i just wanted to remove the slash after the mongodb.net/ in.env file

before MONGODB_URI= mongodb+srv://ruhith:[email protected]/

After MONGODB_URI= mongodb+srv://ruhith:[email protected]

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

79238919

Date: 2024-11-30 06:24:09
Score: 1
Natty:
Report link

First, check that your dependency configuration is correct. Make sure that when you update the Kotlin version in the toml file, the relevant plug-ins and dependencies are updated correctly. Second, make sure that your project uses libraries or code structures that are outdated or incompatible with Kotlin 2.0. You need to check all the dependencies in the project to see if you need to update to a version that supports Kotlin 2.0. In addition, it may also be a problem of building the configuration. Check your Gradle configuration file to make sure there are no missing or incorrect configuration items.

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

79238909

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

In Bootstrap 5, this code may NOT work

<td class="text-right">
  text aligned
</td>

But this one will:

<td class="text-end">
  text aligned
</td>

It seems that start and end is now preferred in this situation.

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

79238904

Date: 2024-11-30 06:00:05
Score: 1
Natty:
Report link

I agree with @youssef and @user17726418 answer, just adding extension to it if you are working with multiple states.

 BlocBuilder<UploadPhotoBloc, UploadPhotoState>(
      builder: (context, state) {
        if (state is UploadPhotosLoading) {
          return const LoadingButton();
        }
        return BlocBuilder<UserProfileBloc, UserProfileState>(
            builder: (context, state) {
          if (state is UserProfileLoading) {
            return const LoadingButton();
          } else {
            return CustomButton(
              title: 'Submit',
              onTapCallBack: () async {
                 // your logic
                },
               ),
            }
           })
        }),
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @youssef
  • User mentioned (0): @user17726418
  • Low reputation (1):
Posted by: Priyanshi Pandya

79238902

Date: 2024-11-30 05:59:05
Score: 0.5
Natty:
Report link

Could be several reasons:

I presume, that's because of size limitation issue, try to increase the buffer size:

# following sets the buffer to 500Mb
git config --global http.postBuffer 524288000

Reference: http.postBuffer

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

79238899

Date: 2024-11-30 05:53:04
Score: 1
Natty:
Report link

this is complete connection block. try using a complete block

connection {
    type        = "ssh"
    user        = "ec2-user"
    private_key = file("keypair2.pem")
    host        = aws_instance.my_instance.public_ip
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kashish B

79238897

Date: 2024-11-30 05:52:04
Score: 1
Natty:
Report link
arr = [2, 0, 1, 2,5]

count = 0

for i in range(len(arr)):
    if arr[i] != 0:
        arr[count] = arr[i]
        count += 1

while count < len(arr):
    arr[count] = 0
    count += 1
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Danyal Ahmed

79238892

Date: 2024-11-30 05:45:02
Score: 1
Natty:
Report link

On API 24+, use android_get_device_api_level().

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

79238890

Date: 2024-11-30 05:44:02
Score: 1.5
Natty:
Report link

using patch package will solve the issue, in my case I just add

"postinstall": "patch-package" in package.json script object. and and then run npm i patch-package

After the install finish I create the build and upload it to testflight and it works.

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