79571650

Date: 2025-04-13 14:24:50
Score: 1.5
Natty:
Report link
var a = 10;

function Obj() {
  console.log(a);
  let a = 10;
}

Obj()

var a = 10;

function Obj() {
  console.log(a);
  let a = 10;
}

Obj()

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

79571643

Date: 2025-04-13 14:16:48
Score: 3
Natty:
Report link

ah ok thats how I have it. So i create 2 lists:

COLOR_NAMES = ["RED", "BLUE", "YELLOW", "GREEN"]
COLOR_LIST = ["0,1,1,1", "0,0,1,1", "1,1,1,1", "1,0,0,1"]

instead of the name "Red" he just gives me the first letter "R". Thats because of this line?
random_index = random.randrange(len(self.COLOR_NAMES))

should I get rid of len funktion?
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tim Fuhrmann

79571642

Date: 2025-04-13 14:13:47
Score: 2.5
Natty:
Report link

WorkManager.getInstance(...)
.beginWith(Arrays.asList(workA, workB))
.then(workC)
.enqueue();(dpl10000)

header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Da Ra

79571631

Date: 2025-04-13 14:05:45
Score: 2
Natty:
Report link

go file in Gradle Scripts -> libs.versions.toml

[versions]
agp = "8.7.1"

Change the version as require and

File -> Invalidate Caches

that will do the Job

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

79571613

Date: 2025-04-13 13:49:40
Score: 0.5
Natty:
Report link

I actually found the answer now. All was ok, but the TestBase still needs to reset the Recorder of the inherited RulesTestFixture class. The Recorder counds the amount of invocations for the rule and is also used as reference when verifying the rules execution count using x.Rule().Fired(). So the Setup method of the TestBase must look like this:

    [SetUp]
    public void SetUp()
    {
        Recorder.Clear();
    }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Chris

79571612

Date: 2025-04-13 13:49:40
Score: 1
Natty:
Report link

While I can help you with the code solution, you might also be interested in checking out a ready-to-use random animal generator at https://randomgenerator.pro/random-animal-generator if you need quick inspiration or testing data.

For the coding solution, here's how you can implement the random animal classification system:

#include <iostream>

#include <cstdlib>

#include <ctime>

using namespace std;

int getRandomAnswer() {

return rand() % 2; // Returns 0 or 1 randomly

}

int main() {

// Seed the random number generator

srand(time(0));

cout << "Random Animal Generator\n\n";

// First question

cout << "Is the animal a vertebrate? ";

int answer = getRandomAnswer();

cout << (answer ? "Yes" : "No") << " - ";

if (!answer) {

cout << "The animal is an Insect!\n";

} else {

// Second question (only if vertebrate)

cout << "Not Insect\nIs the animal warm-blooded? ";

answer = getRandomAnswer();

cout << (answer ? "Yes" : "No") << " - ";

if (!answer) {

cout << "The animal is a Reptile!\n";

} else {

// Third question (only if warm-blooded)

cout << "Not Reptile\nCan the animal fly? ";

answer = getRandomAnswer();

cout << (answer ? "Yes" : "No") << " - ";

if (answer) {

cout << "The animal is a Bird!\n";

} else {

cout << "The animal is a Mammal!\n";

}

}

}

return 0;

}

The code above implements a basic random animal classifier. However, if you need a more comprehensive solution with actual animal data and characteristics, the online generator I mentioned above might be helpful alongside your code implementation.

Let me know if you need any clarification on the code!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: indian cricket

79571611

Date: 2025-04-13 13:49:40
Score: 3.5
Natty:
Report link

Need to install pwa module to your magento instance:

https://github.com/magento/magento2-pwa/

From step 2 to the end

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

79571605

Date: 2025-04-13 13:43:38
Score: 1.5
Natty:
Report link

If you are using Spring Cloud Config and getting -org.springframework.beans.factory.BeanCreationException: Error creating bean with name '***Controller': Injection of autowired dependencies failed

try checking the spring.application.name property in yml/properties file of your application. The name of the application should be in double quotes ("") . This resolved my exception.

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

79571584

Date: 2025-04-13 13:30:34
Score: 5
Natty:
Report link

This issue has been resolved
click here

Reasons:
  • Contains signature (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Keei

79571579

Date: 2025-04-13 13:25:33
Score: 3.5
Natty:
Report link

You can read all messages, and then do some processing by queuing by timestamp.

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

79571572

Date: 2025-04-13 13:11:30
Score: 4
Natty:
Report link

The solution was to upgrade to V12 & enable the logging-jul-capture module.

The question now is how to remove the default Jetty SLF4J binding & force jetty's internal logs to use logaback instead of the default Jetty SLF4J provider ?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: timmacp

79571570

Date: 2025-04-13 13:07:28
Score: 1
Natty:
Report link

You're missing the converter type in your url, try these:
path('post/<str:slug>/', post, name='post')

path('post/<slug:slug>/', post, name='post')

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

79571569

Date: 2025-04-13 13:07:28
Score: 1
Natty:
Report link

Next.js expects the config to be either CommonJS (module.exports) or ESM (export default in .mjs files).

Keep your file name as next.config.js and change its content (for export) like this - module.exports = nextConfig;

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

79571568

Date: 2025-04-13 13:06:28
Score: 4
Natty: 5
Report link

https://vm.tiktok.com/ZMBqnUfnp/ Esta publicação é compartilhada via TikTok Lite. Baixe o TikTok Lite para curtir mais publicações: https://www.tiktok.com/tiktoklite

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

79571563

Date: 2025-04-13 13:04:27
Score: 0.5
Natty:
Report link

Still curious how to define a new note, but using variables gets close enough:

\version "2.24.4"
\include "utils.ly"

snarerim = \drummode {\withSlash snare}

\drums {
snare \snarerim
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Flo

79571555

Date: 2025-04-13 12:56:25
Score: 3
Natty:
Report link

It's different from C++ references. In Go, it's an actual copy of the value, not a reference to the original element in the slice.

When you iterate over a slice with range in Go, the variable v is reused for each iteration - it's not creating N separate variables.

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

79571542

Date: 2025-04-13 12:41:22
Score: 0.5
Natty:
Report link
isSorted: {[xs]
    isSortedInner:{[xs;i;len]
        $[i>=len;1; (
            $[xs[i]<xs[i-1];
              0;
              .z.s[xs;i+1;len]
             ]
            )]
    };

    len: count xs;
    isSortedInner[xs;1;len]
};

This is recursive port of the python logic. Took me over an hour because I don't know KDB.

I doubt this is idiomatic or the fastest way of doing it. I don't even know if it's space efficient because of the recursion.

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

79571535

Date: 2025-04-13 12:34:20
Score: 1
Natty:
Report link

You can try to use "_rec_name = 'location'" in your partner_bank_id model like below

 class SalesPartnerBankInherit(models.Model):
    _inherit = 'res.partner.bank'
    _rec_name = 'location'

    display_on_sales = fields.Boolean(string='Display On Sales Quotation '
                                             'Report', readonly=False)
    location = fields.Char()
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jason

79571533

Date: 2025-04-13 12:32:19
Score: 1.5
Natty:
Report link

Actually I found a solution myself. It was sufficient to duplicate the constraint multiple times, each time with a different column:

  CONSTRAINT `RegistrationsInvoices1`
    FOREIGN KEY (`RegistrationID1`)
    REFERENCES `EBS`.`Registrations` (`RegistrationID`),
  CONSTRAINT `RegistrationsInvoices2`
    FOREIGN KEY (`RegistrationID2`)
    REFERENCES `EBS`.`Registrations` (`RegistrationID`),
  CONSTRAINT `RegistrationsInvoices3`
    FOREIGN KEY (`RegistrationID3`)
    REFERENCES `EBS`.`Registrations` (`RegistrationID`),
  CONSTRAINT `RegistrationsInvoices4`
    FOREIGN KEY (`RegistrationID4`)
    REFERENCES `EBS`.`Registrations` (`RegistrationID`),
  CONSTRAINT `RegistrationsInvoices5`
    FOREIGN KEY (`RegistrationID5`)
    REFERENCES `EBS`.`Registrations` (`RegistrationID`)

The only error was then just on the syntax of multiple constrains simultaneously. Thanks to @progman to pointing me in the right direction

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @progman
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Bob-it

79571532

Date: 2025-04-13 12:31:19
Score: 3.5
Natty:
Report link

try to use Hilt di dagger. it can helps you

print(System.out)

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

79571526

Date: 2025-04-13 12:23:17
Score: 4
Natty:
Report link

installing both worked for me:
enter image description here enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rajesh T

79571522

Date: 2025-04-13 12:19:15
Score: 3
Natty:
Report link

Thanks for your speedy reply! I have tried some of the solutions that you mentioned and the results are ->

  1. The position change from "relative" to "absolute" makes the stars align randomly only on a diagonal line from top left corner to bottom right rectangle corner.
  2. I will link the HTML code here as I think that there are no problems with the HTML code below.
  3. There could be some problem with the css gradient or z-axis part as you mentioned but Im not quite sure which part. Im sorry if the code is messy let me know and I can clear it up a little bit.
  4. When I try Mobile browser simulation on chrome dev tools it displays all animations properly but when i switch to my android device it doesnt. or even on iphone I had to enable animations and then it displayed. but on my android device I cant find any show animations option in settings only on iphone settings.

Why is that and why cant the animations play by default on mobile devices for apple and for android it doesnt even work at all?

/* TABLE ------------------------------------------------ */
svg {
  margin-left: 0;
  width: 100%;
  position: relative;
  border-radius: 3%;
  }


a {
  font-size: 1.5em;
}
footer {
  font-size: 1.3em;
}
/* TABLE------------------------------------------------ */


/* TERMINAL WINDOW ------------------------------------------------ */

/* CONTENT ----------------------------------- */

#fake__Screen:-ms-fullscreen p {
  visibility: visible;
  font-size: 2.0em;
  overflow: auto;
}
#fake__Screen:fullscreen {
  font-size: 2.0em;
  width: 100vw;
  height: 100vh;
  overflow: auto;
}

span {
  color: #fff;
  font-family: monospace;
  text-align: left;
  font-size: 1.5em;
  display: inline-flex;
}
a {
  color: #fff;
  font-family: monospace;
  text-align: left;
}
.codeHead {
  color: rgb(0, 229, 255);
  font-family: monospace;
  text-align: left;
  font-size: 1.5em;
  display: inline-flex;
}

.typewriter {
  width: fit-content;
  color: #fff;
  font-family: monospace;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .7em solid rgb(0, 229, 255); /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: -10 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  -webkit-animation: 
    typing 3.5s steps(30, end),
    blink-caret .5s step-end infinite;
  animation: 
    typing 3.5s steps(30, end),
    blink-caret .9s step-end infinite;
}
.typewriter1 {
  width: fit-content;
  color: #fff;
  font-family: monospace;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .7em solid rgb(0, 229, 255); /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: -10 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  -webkit-animation: 
    typing 1s steps(60, end),
    blink-caret .5s step-end infinite;
  animation: 
    typing 1s steps(60, end),
    blink-caret .9s step-end infinite;
}
.bio:hover {
  color: rgb(0, 229, 255);
}
.work:hover {
  color: rgb(0, 229, 255);
}
.projects:hover {
  color: rgb(0, 229, 255);
}
/* The typing effect */
@-webkit-keyframes typing {
  from { width: 0 }
  to { width: 40% }
}
@keyframes typing {
  from { width: 0 }
  to { width: 40% }
}
/* The typewriter cursor effect */
@-webkit-keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgb(0, 238, 255) }
}
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: rgb(0, 208, 255) }
}

#id {
  overflow-y:auto;
}
/* CONTENT ----------------------------------- */

body {
  background-color: rgb(84, 96, 97);
  padding: 10px;
  margin-bottom: 0;
  padding-bottom: 0;
  }
  
  .fakeButtons {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  border: 1px solid #000;
  position: relative;
  top: 6px;
  left: 6px;
  background-color: #ff3b47;
  border-color: #9d252b;
  display: inline-block;
  }
  
  .fakeMinimize {
  left: 11px;
  background-color: #ffc100;
  border-color: #9d802c;
  }
  
  .fakeZoom {
  left: 16px;
  background-color: #00d742;
  border-color: #049931;
  }
  
  .fakeMenu {
  max-width: 748px;
  box-sizing: border-box;
  height: 25px;
  background-color: #bbb;
  margin: 0 auto;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  text-align: left;
  }
  
  .fakeScreen {
  background-color: #151515;
  box-sizing: border-box;
  max-width: 748px;
  height: 467.50px;
  margin: 0 auto;
  padding: 20px;
  overflow: auto;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  
  }
  
  p {
  position: relative;
  left: 22%;
  margin-left: -8.5em;
  text-align: left;
  font-size: 2.5em;
  font-family: monospace;
  white-space: normal;
  overflow: hidden;
  width: 0;
  }
  
  .hide {
    display: none;
  }

  /* TERMINAL WINDOW ------------------------------------------------ */

  /* LAPTOP SYLE */

html {
  font-size: 62.5%;
  }
  
  .container {
  margin-top: 70px;
  }
  
  .laptop {
  position: relative;
  margin: auto;
  max-width: 80rem;
  
  .laptop__screen {
    position: relative;
    z-index: 1;
    padding: 3%;
    border-radius: 2rem;
    background: #ecf1f7;
    background-image: linear-gradient(to bottom, #333, #111);
    box-shadow: 0 .1rem 0 #cfcfcf;
    border: 2px solid #ccc;
    
    -webkit-box-shadow:0px 0px 105px 30px rgba(119,171,156,0.55);
    -moz-box-shadow: 0px 0px 105px 30px rgba(119,171,156,0.55);
    box-shadow: 0px 0px 105px 30px rgba(119,171,156,0.55);

  
    img {
      display: block;
      max-width: 100%;
      height: auto;
      aspect-ratio: attr(width) / attr(height);
      background: #000;
    }

  }
  
  .laptop__bottom {
    position: relative;
    z-index: 1;
    margin-right: -7%;
    margin-left: -7%;
    height: .7rem;
    background: #e9eff5;
    background-image: linear-gradient(to right, #d2dde9 0%, #f9fcff 15%, #e5ebf2 40%, #e5ebf2 60%, #f9fcff 85%, #d2dde9 100%);
    
    &::before {
      display: block;
      margin: 0 auto;
      width: 20%;
      height: .7rem;
      border-radius: 0 0 .2rem .2rem;
      background: #f6f9fc;
      background-image: linear-gradient(to right, #c3cfdb 0%, #f6f9fc 10%, #f6f9fc 90%, #c3cfdb 100%);
      content: " ";
    }
  }
  
  .laptop__under {
    position: absolute;
    top: 100%;
    left: 25%;
    display: block;
    width: 50%;
    height: 1.5rem;
    background: #e2e8f0;
    background-image: linear-gradient(to bottom, #e2e8f0, #bec7d1);
  
    &::after, &::before {
      position: absolute;
      top: 0%;
      right: 100%;
      bottom: 0;
      display: block;
      width: 50%;
      border-bottom-left-radius: 100%;
      background: inherit;
      content: " ";
    }
  
    &::after {
      right: auto;
      left: 100%;
      border-bottom-right-radius: 100%;
      border-bottom-left-radius: 0;
    }
  }
  
  .laptop__shadow {
    position: absolute;
    right: -10%;
    bottom: -2.5rem;
    left: -10%;
    z-index: 0;
    height: 2rem;
    background: radial-gradient(ellipse closest-side,#000,transparent);
    opacity: 0.5;
  }
  }
  svg {
  margin-left: 0;
  width: 100%;
  position: relative;
  }
  .bg {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: url(https://i.imgur.com/g2aFOGP.png) no-repeat fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 0px 10px rgba(255, 255, 255, 0.2), 0px 1px 2px rgba(0, 0, 0, 0.3), -5px 5px 15px rgba(0, 0, 0, 0.3);
  width: 85vw;
  height: 100vh;
  position: fixed;
  top: 2%;
  left: 7%;
  max-height: 600px;
  overflow: hidden;
  }

/* LAPTOP SYLE 000000000000000000000000000000000000000000000000*/

/* CLOUDS SYLE 000000000000000000000000000000000000000000000000*/

/* KEYFRAMES */

@-webkit-keyframes animateCloud {
  0% {
      margin-left: -1000px;
  }
  100% {
      margin-left: 100%;
  }
}

@-moz-keyframes animateCloud {
  0% {
      margin-left: -1000px;
  }
  100% {
      margin-left: 100%;
  }
}

@keyframes animateCloud {
  0% {
      margin-left: -1000px;
  }
  100% {
      margin-left: 100%;
  }
}

/* ANIMATIONS */

.x1 {
-webkit-animation: animateCloud 35s linear infinite;
-moz-animation: animateCloud 35s linear infinite;
animation: animateCloud 35s linear infinite;

-webkit-transform: scale(0.65);
-moz-transform: scale(0.65);
transform: scale(0.65);
}

.x2 {
-webkit-animation: animateCloud 20s linear infinite;
-moz-animation: animateCloud 20s linear infinite;
animation: animateCloud 20s linear infinite;

-webkit-transform: scale(0.3);
-moz-transform: scale(0.3);
transform: scale(0.3);
}

.x3 {
-webkit-animation: animateCloud 30s linear infinite;
-moz-animation: animateCloud 30s linear infinite;
animation: animateCloud 30s linear infinite;

-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
transform: scale(0.5);
}

.x4 {
-webkit-animation: animateCloud 18s linear infinite;
-moz-animation: animateCloud 18s linear infinite;
animation: animateCloud 18s linear infinite;

-webkit-transform: scale(0.4);
-moz-transform: scale(0.4);
transform: scale(0.4);
}

.x5 {
-webkit-animation: animateCloud 25s linear infinite;
-moz-animation: animateCloud 25s linear infinite;
animation: animateCloud 25s linear infinite;

-webkit-transform: scale(0.55);
-moz-transform: scale(0.55);
transform: scale(0.55);
}

/* OBJECTS */

.cloud {
background: #fff;
background: -moz-linear-gradient(top,  #fff 5%, #f1f1f1 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#fff), color-stop(100%,#f1f1f1));
background: -webkit-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
background: -o-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
background: -ms-linear-gradient(top,  #fff 5%,#f1f1f1 100%);
background: linear-gradient(top,  #fff 5%,#f1f1f1 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f1f1f1',GradientType=0 );

-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;

-webkit-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);

height: 120px;
position: relative;
width: 350px;
}

.cloud:after, .cloud:before {
  background: #fff;
content: '';
position: absolute;
z-indeX: -1;
}

.cloud:after {
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;

height: 100px;
left: 50px;
top: -50px;
width: 100px;
}

.cloud:before {
-webkit-border-radius: 200px;
-moz-border-radius: 200px;
border-radius: 200px;

width: 180px;
height: 180px;
right: 50px;
top: -90px;
}

/* CLOUDS SYLE 000000000000000000000000000000000000000000000000*/

    /* SUNRISE - SUNSET END ------------------------------------------- */


    @keyframes sunrise {
      from {
        transform: rotate(-45deg);
      }
      
      to {
        transform: rotate(315deg);
      }
      }
      
      @keyframes moonrise {
      from {
        transform: rotate(0deg);
      }
      
      to {
        transform: rotate(180deg);
      }
      }
      
      @keyframes dawn {
      0% {
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      60% {
        opacity: 0;
      }
      }
      
      @keyframes noon {
      0% {
        opacity: 0;
      }
      50% {
        opacity: 1;
      }
      75% {
        opacity: 0;
      }
      }
      
      @keyframes dusk {
      0% {
        opacity: 0;
      }
      50% {
        opacity: 0;
      }
      70% {
        opacity: 1;
      }
      90% {
        opacity: 0;
      }
      }
      
      @keyframes midnight {
      0% {
        opacity: 1;
      }
      25% {
        opacity: 0;
      }
      50% {
        opacity: 0;
      }
      80% {
        opacity: 1;
      }
      }
      
      body {
      --animation-speed: 1200s;
      background-color: #63689b;
      
      }
      
      body.pause {
      --animation-speed: 0;
      }
      
      .sky {
      width: 85vw;
      height: 100vh;
      position: fixed;
      top: 2%;
      left: 7%;
      max-height: 600px;
      overflow: hidden;
      }
      
      .sky__phase {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      transition: opacity 0.2s;
      }
      
      .sky__dawn {
      background: linear-gradient(
        0deg,
        rgba(254, 215, 102, 1) 0%,
        rgba(205, 237, 246, 1) 100%
      );
      animation: linear dawn infinite var(--animation-speed);
      }
      
      .sky__noon {
      background: linear-gradient(
        0deg,
        rgba(205, 237, 246, 1) 0%,
        rgba(36, 123, 160, 1) 100%
      );
      animation: linear noon infinite var(--animation-speed);
      }
      
      .sky__dusk {
      background: linear-gradient(
        0deg,
        rgba(255, 32, 110, 1) 0%,
        rgba(10, 0, 94, 1) 100%
      );
      animation: linear dusk infinite var(--animation-speed);
      }
      
      .sky__midnight {
      background: linear-gradient(
        0deg,
        rgba(2, 0, 20, 1) 0%,
        rgba(10, 0, 94, 1) 100%
      );
      animation: linear midnight infinite var(--animation-speed);
      }
      
      .orbit {
      position: relative;
      width: 500px;
      height: 500px;
      margin: 200px auto;
      transform: rotate(-45deg);
      animation: linear sunrise infinite var(--animation-speed);
      }
      
      @media (min-width: 768px) {
      .sky {
        max-height: 600px;
      }
      .orbit {
        width: 700px;
        height: 700px;
        margin: 150px auto;
      }
      }
      
      @media (min-width: 940px) {
      .orbit {
        width: 800px;
        height: 800px;
      }
      }
      
      @media (min-width: 1200px) {
      body {
        --animation-speed: 1204s;
      }
      .orbit {
        width: 1000px;
        height: 1000px;
        margin: 200px auto;
      }
      }
      
      @media (min-width: 1500px) {
      body {
        --animation-speed: 1206s;
      }
      .orbit {
        width: 1300px;
        height: 1300px;
      }
      }
      
      .sun {
      position: absolute;
      top: -40px;
      left: -40px;
      width: 80px;
      height: 80px;
      background-color: rgb(254, 215, 102);
      border-radius: 50%;
      box-shadow: 0 0 14px 14px rgba(254, 215, 102, 0.2);
      }
      
      .moon {
      position: absolute;
      bottom: -40px;
      right: -40px;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background-color: #ebf3fe;
      box-shadow: inset -40px 0px 0px #d8e8f7, inset 20px 0px 0px #ffffff, inset -50px 0px 0px 20px #e2eefa, 0px 0px 0px 20px  rgba(255, 255, 255, 0.05), 0px 0px 0px 40px  rgba(255, 255, 255, 0.025), 0px 0px 0px 60px  rgba(255, 255, 255, 0.0125);
      transition: all 0.2s ease-in;
      }
      .moon:after {
      content: "";
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background-color: #d8e8f7;
      position: absolute;
      top: 20%;
      left: 20%;
      box-shadow: 40px -20px 0px -10px #d8e8f7, 40px 10px 0px -15px #d8e8f7;
      }
      
      #sky__stars > div {
      width: 3px;
      height: 3px;
      background-color: #fff;
      border-radius: 50%;
      position: absolute;
      }
      
      #toggle-animation {
      position: fixed;
      bottom: 1em;
      right: 1em;
      text-transform: uppercase;
      background-color: rgb(2, 0, 20);
      color: #fff;
      border: 0;
      padding: 0.5em 1em;
      letter-spacing: 0.5px;
      }
      
      #toggle-animation:hover {
      background-color: rgb(61, 0, 21);
      cursor: pointer;
      }
      
      .paused {
      display: none;
      }
      
      .pause .paused {
      display: block;
      }
      
      .pause .playing {
      display: none;
      }
      

    /* SUNRISE - SUNSET END ------------------------------------------- */
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="theme-color" content="#000000" />
    <meta
      name="description"
      content="Web site created using create-react-app"
    />
    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />

    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

    <title>React App</title>
  </head>
  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>

  </body>
</html>

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (0.5): Why is that
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mirza Baig

79571517

Date: 2025-04-13 12:11:13
Score: 2.5
Natty:
Report link

I had similar issue where, initially, things worked fine until I did a side project and created a different schema with a usual table name "cart".

In the former schema (of the project facing similar error), "cart" table has a similar column STATUS of type INT.

In the new schema's "cart" table, the column STATUS is of type VARCHAR

I have since renamed tables of the new schema to avoid collisions and my project has successfully started up.

Conclusion:
'It's like' Hibernate reads the entire database and matches only a single table name to an entity, ignoring the schema (db) specified in the properties file

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar error
  • Low reputation (1):
Posted by: david n

79571515

Date: 2025-04-13 12:07:12
Score: 1.5
Natty:
Report link

you question must be that how axis=0 works because pandas summing across rows means summing up values of each columns.
enter image description here
Now: df.isnull().sum(axis=0)

We’re summing nulls per column, so:

This is summing downwardalong rows—affecting each column.

Think of it like:

axis=0:   ↓
          ↓
          ↓
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shivansh Mittal

79571514

Date: 2025-04-13 12:07:12
Score: 3.5
Natty:
Report link

The input prop is not supported by the UploadButton component

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

79571505

Date: 2025-04-13 12:00:10
Score: 1
Natty:
Report link

Yes its possible, declare your activity and extend it to ExpandedControllerActivity, like this

MyCustomExpandedController : ExpandedControllerActivity() {}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cheloespinoza

79571504

Date: 2025-04-13 12:00:10
Score: 2.5
Natty:
Report link

This solved my exact same problem: If you guys are archiving with WinRAR new versions and the file should have password because of some security considerations WinRAR will use "AES+Deflate" compression method which can be checked here: see file compression method by winrar

To Solve I had to change the compression method to "Deflate", and this is done by selecting "ZIP" option in archive format and then checking "ZIP legacy encryption" in "set password" like this: enter image description here

and then enter password

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

79571502

Date: 2025-04-13 11:54:09
Score: 2.5
Natty:
Report link

I finally found out how do do this, so on the version of macos i am running on(the lastest) raw socket's are EXTREMELY restricted, and so i cannot use raw sockets for my program, and after a bit of research, I found out how nmap bypasses these restrictions: It goes to the Data-Link layer(this may make the program better for multiple platforms without modifying much of the code), thats were the custom packets are injected, so as I am using python, i should use a library like pcapy.

Thank you very much for your answers!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): i cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Daniel Muntean

79571494

Date: 2025-04-13 11:46:07
Score: 2.5
Natty:
Report link

I have no experience with Manim, but I am wondering if this could be related to the camera, which probably gives a perspective projection, and not an orthographic projection. Not sure if you can change this. Alternatively, you could try to set the camera at a large distance.

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

79571484

Date: 2025-04-13 11:30:02
Score: 1
Natty:
Report link

This weird behaviour arises because you're adopting an erroneous workflow. From the docs:

Currently, the only way to generate a 2D mesh within the editor is by either importing an OBJ file as a mesh, or converting it from a Sprite2D.

Instead of creating a Mesh2D manually, you should first add a Sprite2D to your scene, then convert it to a Mesh2D using the toolbar controls above the editor viewport:

Godot editor menu to convert a Sprite2D into a Mesh2D

Please refer to the official tutorial to learn more about conversion parameters and intended use cases.

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

79571474

Date: 2025-04-13 11:22:00
Score: 1
Natty:
Report link

You can just define a function that verifies whether a list is sorted or not

isSorted:{x~asc x}

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

79571473

Date: 2025-04-13 11:18:59
Score: 4
Natty:
Report link

(https://i.sstatic.net/6HH5v8cB.png)

you need to check Allow delivery of PDF and ZIP

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

79571471

Date: 2025-04-13 11:13:57
Score: 2
Natty:
Report link

The problem was that the API was set to "Custom" instead of "Maven plugin"

enter image description here

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

79571460

Date: 2025-04-13 11:02:54
Score: 5
Natty: 4.5
Report link

I have solution. contact @ [email protected] ..

Regards,

Said Khan

Reasons:
  • Blacklisted phrase (1): Regards
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Said Khan

79571449

Date: 2025-04-13 10:51:51
Score: 1.5
Natty:
Report link

You're using your Server-to-Server OAuth Client ID and Client Secret to generate the Meeting SDK signature, but the Meeting SDK requires SDK credentials, not OAuth ones.

In your.env add this and also update your code as requered

ZOOM_SDK_KEY=your_sdk_key_here ZOOM_SDK_SECRET=your_sdk_secret_here

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdullah Al Shahed

79571436

Date: 2025-04-13 10:35:47
Score: 1.5
Natty:
Report link

TRY OPENING THE SOLUTION IN VS2022 IT WORKED FOR ME

Reasons:
  • Whitelisted phrase (-1): IT WORKED
  • Whitelisted phrase (-1): WORKED FOR ME
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Red and Blue Yo

79571433

Date: 2025-04-13 10:34:47
Score: 2
Natty:
Report link

Running npx expo install --fix will fix the issue.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Umar Javed

79571429

Date: 2025-04-13 10:25:45
Score: 2
Natty:
Report link

buyConfirmation = close > open and close[1] > open[1]

sellConfirmation = close < open and close[1] < open[1]

finalBuy = filteredBuy and buyConfirmation

finalSell = filteredSell and sellConfirmation

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

79571424

Date: 2025-04-13 10:23:44
Score: 1
Natty:
Report link

finally solved by remove /var/lib/postgresql/data/*

after delete and wait few secends, the Laradock will auto initdb again...

# docker-compose exec postgres bash
df27e9f8c8a8:/# rm -rf /var/lib/postgresql/data/*
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Denise Die

79571404

Date: 2025-04-13 09:59:38
Score: 4
Natty: 5
Report link

I am experiencing the same problem but when I tried your method, I start not to be able to run any program. when I try to, for example, " pintos -f -q", it gives only the following message in kernel:

PiLo hda1 Loading............
Kernel command line: -q run echo
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.

it constantly stucks here.

in addition, I can't pass the tests because I receive a timeout error when I run "make check" in src/userprog/build.

I returned to start point so I am unable to send the codes.

what else do I need to do ?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Filler text (0.5): ............
  • Low reputation (1):
Posted by: Ömer Kaya

79571403

Date: 2025-04-13 09:59:37
Score: 1.5
Natty:
Report link

When i use JS debugger, i found the grey background color value is contained within the ThemeProvider,so i search this keyword,finally,problem solved by useing following code:

const MyTheme = {
  ...DefaultTheme,
  colors: {
    ...DefaultTheme.colors,
    background: 'transparent',
  },
};

 <NavigationContainer
      style={{ backgroundColor: 'transparent' }}
      theme={MyTheme}
    >
  ...
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When i use
  • Low reputation (1):
Posted by: leon.s

79571390

Date: 2025-04-13 09:41:33
Score: 1
Natty:
Report link

Add the debug to your agent to your java program or server


java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar your-app.jar

Use the below command to port forward using your bastion host

ssh -i ~/.ssh/remote.pem  -o "ProxyCommand ssh -i jumpboxkey.pem  -W %h:%p ec2-user@<bastion-public-ip>"  ec2-user@<private-ec2-ip>  -L 5005:localhost:5005

Connect Intellij

Also there is a more secured approach to do the same using SSM port forwarding check the below article

https://aws.amazon.com/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/

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

79571388

Date: 2025-04-13 09:38:32
Score: 2.5
Natty:
Report link

I think you mean to use Alt + Shift + Down It works well on my end.

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

79571384

Date: 2025-04-13 09:32:30
Score: 2.5
Natty:
Report link

You should run the project defining the dll path explicitly. It might be troublesome to get the dll out of the jar, anyhow it doesn't seem to be working for you. Try defining -Djava.library.path = "%~dp0natives", and place the dll in "rundir/natives/jni/win/x86_64/jd2xx.dll"

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

79571383

Date: 2025-04-13 09:32:30
Score: 3.5
Natty:
Report link

"/RSD2/wjtitle? is only a piece of the path. I have some mutable parameters after the path like

"/RSD2/wjtitle?Hid=787655678 and other params

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30258009

79571379

Date: 2025-04-13 09:26:29
Score: 1
Natty:
Report link

In Express 4 and earlier, app.all('*') acted as a catch-all route for all requests without the need to name the wildcard. However, in Express 5, it seems that the unnamed wildcard is no longer allowed and must be named.

app.get('/', (req: Request, res: Response) => {
    res.send('Hello World!');
});

app.all('/*splat', (req: Request, res: Response) => {
    res.status(404).json({
        message: `The URL ${req.originalUrl} doesn't exist`
    });
});
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MOHAMMAD HASHEMI

79571377

Date: 2025-04-13 09:21:27
Score: 2.5
Natty:
Report link

Switch to Node.js v20.x (LTS) unless you specifically need v22 hope this will fix your error.

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

79571376

Date: 2025-04-13 09:20:27
Score: 2
Natty:
Report link

Instead of using an auto-import pop-up, you can do it while typing your code instantly.

Hope it helps

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

79571371

Date: 2025-04-13 09:12:25
Score: 3.5
Natty:
Report link

do any one has the solution because i also want to know that.

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

79571370

Date: 2025-04-13 09:07:24
Score: 0.5
Natty:
Report link

I faced the same issue after upgrading to Flutter 3.29.0+, and it's not directly related to your code or dependencies, but rather due to the changes introduced in the Flutter Android Gradle plugin.

Starting with Flutter 3.19.0+, the previous way of applying the Android Gradle plugin has been deprecated, which affects how your Android build files are structured and processed. If you haven’t already updated your Gradle setup, this will likely cause build or runtime failures.

To resolve this, you’ll need to migrate your project’s Gradle configuration properly. The necessary changes involve updating the following files:

The Flutter team has provided an official migration guide that walks through exactly how to restructure your Gradle setup to be compatible with the latest versions:

Flutter Gradle Plugin Migration Guide

Make sure to follow this guide carefully to avoid future compatibility issues. Once the migration is complete, your build and run problems should be resolved.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sahad Kachhawala

79571367

Date: 2025-04-13 09:05:23
Score: 3.5
Natty:
Report link

I'm just the opposite, I'm adding one less slash at the end

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

79571364

Date: 2025-04-13 08:58:21
Score: 4
Natty: 4.5
Report link

I also encountered the same problem
The only thing I can do is ignore this warning in rsbuild.config.ts

export default defineConfig({
  plugins: [pluginVue()],
  source: {
    ...
  },
  tools: {
    rspack:{
      ignoreWarnings: [/Critical dependency: require function is used in a way in which dependencies cannot be statically extracted/],
    }
  }

Besides, I also saw another solution↓

https://juejin.cn/post/7454129441716207625

tools: {
  rspack: (config, {rspack}) => {
    config.cache = true;
    config.plugins.push(
      /**
       * 关闭警告:
       * public/tools/regulex中存在动态require
       * Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
       */
      new rspack.ContextReplacementPlugin(/require\(\[".*"\]\)/, resolve('public'))
    );
  }
}

Does anyone know how to use it correctly?

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Casey Fu

79571363

Date: 2025-04-13 08:55:20
Score: 0.5
Natty:
Report link
textStyle = TextStyle(
    fontFamily = interFontFamily,
    fontSize = 14.sp,
    fontWeight = FontWeight.Normal,
    color = Color.Black,
    platformStyle = PlatformTextStyle(
        includeFontPadding = false,
    )
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Maruf Alam

79571356

Date: 2025-04-13 08:51:19
Score: 1
Natty:
Report link
  1. Type pip3 list or pip list to see the global scope when not in the virtual environment.
  2. If ipykernel appears in the output it is installed globally.
  3. If the error message is “Command not found”, it also means that ipykernel is not installed.

Most importantly, is it safe to uninstall such packages globally, or could that break system-level tools?

It's totally fine.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 3moredays

79571355

Date: 2025-04-13 08:49:18
Score: 0.5
Natty:
Report link

Well, the setting doesn't have much effect if not at the host level.

That said, you may put SSLVerifyClient optional at the host level, then at the locations you do want to check the client certificate put `

Require ssl-verify-client

`

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

79571339

Date: 2025-04-13 08:26:13
Score: 2
Natty:
Report link

your installer version is not update.

install new version of Visual Studio Installer.

then open it . and confirm modify or update visual studio.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ali asghar Fendereski

79571335

Date: 2025-04-13 08:23:12
Score: 2
Natty:
Report link

Answer: In latest version of express (v5) req.query is changed to be a getter so I guess it is immutable now, I remember I have been using express 4 for my previous project which for that version req.query is still mutable.

The solution I found is to mutate req.url instead which reflect the changes made in it to req.query

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

79571333

Date: 2025-04-13 08:21:10
Score: 7.5 🚩
Natty: 4.5
Report link

have you sloved it? i have the same error

Reasons:
  • RegEx Blacklisted phrase (1): i have the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: cos moscos

79571329

Date: 2025-04-13 08:16:09
Score: 2
Natty:
Report link

I faced same issue. What happend was in my status bar there were so many icons and not enough room for new icons. What I did was, just hide, remove unwanted plugins by right click on top of status bar and clicked on already clicked, selected plugins that shows with right mark.

enter image description here

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

79571325

Date: 2025-04-13 08:11:08
Score: 2.5
Natty:
Report link

Just points web.config file to ./dist/main.js and then upload the node_modules directory , and your nest js app is working 👌

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamed Saeed bin Omar

79571324

Date: 2025-04-13 08:10:07
Score: 1
Natty:
Report link

It happened to me also, Fixed with grant these roles

roles/cloudbuild.builds.editor # Trigger Cloud Build
roles/appengine.serviceAdmin # Needed to set traffic
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kaslie

79571316

Date: 2025-04-13 07:58:03
Score: 4.5
Natty: 5
Report link

Julia still maintains the C backend: https://github.com/JuliaHubOSS/llvm-cbe

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

79571315

Date: 2025-04-13 07:52:02
Score: 1.5
Natty:
Report link

I ran into the same problem, my iOS device just wouldn’t connect to the Metro server while testing a React Native app. After trying a bunch of things, what finally worked was changing the Wi-Fi Private Address setting on the Mac.

Here's what I did:

  1. On the Mac, go to Settings > Wi-Fi.
  2. Tap the Details button next to the connected network.
  3. Switch Private Wi-Fi Address from Rotating to Fixed.

After this change, my device was able to connect to the Metro server without any problems.

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

79571308

Date: 2025-04-13 07:43:00
Score: 1.5
Natty:
Report link

Thanks to the comments, I was able to pinpoint the problem: the database was originally a MySQL/MariaDB. It was converted into an MS SQL database using the tool "ESF Database Migration Toolkit - Pro". During the conversion, the tool used the type "datetime" for DateTime columns, which would work fine for the classic Entity Framework 6. However, EF Core uses the type "datetime2". And that's where the problems came from.

I learned a lot through that.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Cleo

79571307

Date: 2025-04-13 07:42:00
Score: 2
Natty:
Report link

I used the code from the below link to manually call the shutdown events

https://github.com/fastapi/fastapi/discussions/11872#discussioncomment-10134866

from contextlib import asynccontextmanager
from fastapi import FastAPI

@asynccontextmanager
async def lifespan(app: FastAPI):
    yield
    for on_shutdown in  app.router.on_shutdown:
        await on_shutdown()

app = FastAPI(lifespan=lifespan)

async def get_profiler_result():
    print("On shutdown has been called")

app.add_event_handler("shutdown", get_profiler_result)

Caveat: This is just a hack. also see

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: serendipty01

79571306

Date: 2025-04-13 07:39:58
Score: 8.5 🚩
Natty: 5.5
Report link

@Scott Craner

I want to highlight all the rows in a table where I don't know the column number but I know the table name. So can you tell me what the code is for dynamic table rows?

Range(Cells(a.Row, 1), Cells(a.Row, 6)).Interior.Color = currentColor
Reasons:
  • RegEx Blacklisted phrase (2.5): can you tell me what the code
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Scott
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Mahafuzur Rahaman

79571290

Date: 2025-04-13 07:19:53
Score: 2
Natty:
Report link

Sorry, my bad; it was the problem with the COMSPEC path, and it worked after I changed it from c:\windows\system32 to c:\windows\system32\cmd.exe.

Now it was working fine

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TEJA

79571288

Date: 2025-04-13 07:17:52
Score: 2.5
Natty:
Report link

Just add extra space in label text e.g.

'   a   ' instead of 'a'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Luka

79571280

Date: 2025-04-13 07:07:49
Score: 2
Natty:
Report link

There is a with_mip_gap method provided by the lp_solvers feature/crate. Perhaps you can just replace default_solver with default_solver.with_mip_gap(0.05).unwrap()?

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

79571277

Date: 2025-04-13 07:01:47
Score: 1
Natty:
Report link

You can now use SQLFormatteR:

SQLFormatteR::sql_format("create table bookings (ds DATE, id_reservation varchar(255), id_listing varchar(255)); insert into bookings (ds, id_reservation, id_listing) VALUES('2010-11-02','242805deab','28e5c6fa-4038-4994-b8cd-554578033e7b'),('2010-09-20','f82ed9bf0c','e0ef7dcf-74d9-4a94-8047-9287efea1d50');") %>% cat

CREATE TABLE bookings (
  ds DATE,
  id_reservation varchar(255),
  id_listing varchar(255)
);
INSERT INTO
  bookings (ds, id_reservation, id_listing)
VALUES
(
    '2010-11-02',
    '242805deab',
    '28e5c6fa-4038-4994-b8cd-554578033e7b'
  ),
(
    '2010-09-20',
    'f82ed9bf0c',
    'e0ef7dcf-74d9-4a94-8047-9287efea1d50'
  );
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Morgan Durand

79571273

Date: 2025-04-13 06:55:46
Score: 0.5
Natty:
Report link

Do not add them to .gitignore because they are essential for ensuring that everyone’s database schema is in sync.

Even if its django, php laravel or Express Sequelize migrations we dont add them in gitignore and to update the db always run migrations

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ateeb Ur Rahmaan

79571262

Date: 2025-04-13 06:36:42
Score: 3.5
Natty:
Report link

I don't really know what I'm talking about with this but I don't have enough to comment; anyways mine looks like this:

    {
      protocol: "https",
      hostname: "*.githubusercontent.com",
      port: "",
      pathname: "**",
    },
    {
      protocol: "https",
      hostname: "*.googleusercontent.com",
      port: "",
      pathname: "**",
    }

maybe the 'port' option matters?

Reasons:
  • Blacklisted phrase (1): to comment
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Alex Mathers

79571252

Date: 2025-04-13 06:21:38
Score: 3
Natty:
Report link

There is atleast 4 scripters in Helicity and twisted so I would actually hire someone and pay them atleast 500 - 800 robux to script the cycles and also the type like Wedge, Rope, Cone, etc... And recycling but I do notice one thing in each game they both have parts they slowly appear if you look close and I would make the max wind speed for EF5 to 321 because 321 is the fastest wind speed recorded in Oklahoma and most likely in history from 1900 - 2025. I hope this helped -From Steam_Gui (edit: I would also make the models in Blender for better shapes/ MetaBalls) enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): hope this help
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Steam_gui

79571245

Date: 2025-04-13 06:12:36
Score: 1
Natty:
Report link

I don't know why the dislike; we all start somewhere... I understand what you mean, but if-statement doesn't work like that. The computer isn't going to read word by word the print statement you read and determine if that's the correct solution. Take this Sudo code as an example:

if this statement is true:
Perform this action1
else (otherwise):
Perform this action2

if the first statement is correct (True), it'll perform that action below regardless of what you write.

If you're trying to use different modulo number such as %7, you might get funky results, that not the code issue that more of a modulo problem, as its very common to use %2. Any modulo higher then 2 might yield different results.

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

79571244

Date: 2025-04-13 06:11:36
Score: 2
Natty:
Report link

There is an updated information about the json_normalize (in short, use pandas.json_normalize) in the following thread.

ImportError: cannot import name 'json_normalize' from 'pandas.io.json'

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

79571232

Date: 2025-04-13 05:53:32
Score: 1.5
Natty:
Report link

You need to run a pip install of the SQLite module in the notebook, the below code should do the fix

%pip install sqlite
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hire Mark

79571223

Date: 2025-04-13 05:25:25
Score: 1
Natty:
Report link

Elastic Beanstalk might block certain routes by default. To ensure access to the Swagger UI:

Make sure that the web.config file (or similar configuration) exists in your project and is properly configured.

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

79571211

Date: 2025-04-13 04:55:19
Score: 0.5
Natty:
Report link

Approach 1: Create a style element manually

import React from 'react';
import { createRoot } from 'react-dom/client';
import Content from './Content';
import styles from '@assets/styles/index.css?inline'; // Use the ?inline query to get CSS as string

const container = document.createElement('div');
const shadowRoot = container.attachShadow({ mode: 'open' });

// Create a style element manually
const styleElement = document.createElement('style');
styleElement.textContent = styles;
shadowRoot.appendChild(styleElement);

document.body.appendChild(container);

const root = createRoot(shadowRoot);
root.render(<Content />);

Approach 2: Use constructable stylesheets (more modern)

import React from 'react';
import { createRoot } from 'react-dom/client';
import Content from './Content';
import styles from '@assets/styles/index.css?inline';

const container = document.createElement('div');
const shadowRoot = container.attachShadow({ mode: 'open' });

// Create a constructable stylesheet
const sheet = new CSSStyleSheet();
sheet.replaceSync(styles);
shadowRoot.adoptedStyleSheets = [sheet];

document.body.appendChild(container);

const root = createRoot(shadowRoot);
root.render(<Content />);

reference: https://github.com/rezasohrabi/chrome-ext-starter/tree/main

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

79571207

Date: 2025-04-13 04:46:17
Score: 1
Natty:
Report link
    Dim user_id As String = CType(Session("user_id"), String)
this one you can using if it not existing actually or you sure it within session section so you can ignor it and use this 

If ( Session("user_id") isNot   Nothing Or Is Nothing !! easy
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mido hamed

79571206

Date: 2025-04-13 04:45:17
Score: 2.5
Natty:
Report link

how can mouseover work and not mouseleave, it doesn't make sense, no way to miss an event... We can read that an event can be missed if we move the mouse very quickly in and out of the frame; this is unthinkable.

I'm coming to the conclusion that either the browser's JavaScript context is a load of crap, or, more likely, we're reading a lot of rubbish on the subject. This deserves to be clarified.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): how can
  • Low reputation (1):
Posted by: user30256753

79571203

Date: 2025-04-13 04:42:16
Score: 0.5
Natty:
Report link

It's hard to reproduce exactly what you have due to many things to fix in your code. However, just looking at your plot and what "the book" offers, I think your problem is the use of ppplot instead of qqplot . So change

probplot.ppplot(line='45')

to

probplot.qqplot(line='45')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Toonia

79571202

Date: 2025-04-13 04:34:14
Score: 5.5
Natty: 4.5
Report link

enter image description here

MicroG Services unlock kra do

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Karan Singh

79571188

Date: 2025-04-13 03:57:06
Score: 1
Natty:
Report link

With Java 15, use the text block. There is no need to escape them !!

String message = 
"""
Java 15 does allow quotes (" or ') inside strings
"""
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohan

79571183

Date: 2025-04-13 03:50:05
Score: 3
Natty:
Report link

Maybe it (the text) is formatted as an image (or similar)?
A way around this is to use Google Lens to select the text.

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

79571182

Date: 2025-04-13 03:50:05
Score: 2.5
Natty:
Report link

I think FlightAware API is what you need.

Up to $5 free per month which should be enough to query at least 50 flights.

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

79571177

Date: 2025-04-13 03:38:01
Score: 1.5
Natty:
Report link

I also faced same issue. primeng version:19.0.2. The backend server should return response as below. then (onUpload) event triggers perfectly

{"success": true} 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: L.GANESH

79571175

Date: 2025-04-13 03:37:01
Score: 0.5
Natty:
Report link

It's solved. Eventually I arranged a mobile emulator in order to access web inspector, and saw that actual error was an unrelated logging error inside of the client query method. It was surfaced as unhandled Promise rejection, which I think is because the innermost catch included a logger method that was also failing.

A mistake in my logger assumed structure of the error call stack that was different between browsers, hence the inconsistent behavior.

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

79571174

Date: 2025-04-13 03:37:01
Score: 0.5
Natty:
Report link

More back and forth about this annoyance in these closed issues https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/140#issuecomment-2542495018
and https://github.com/ImageMagick/ImageMagick/issues/7077

Seems to me that the ImageMagick installer needs some attention (by someone more clever than me).

"C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\PerlMagick\README.txt" that comes with ImageMagick-7.1.1-47 (2025-03-29) gives instruction about ppm install Image-Magick.ppd

This barfs when using latest Strawberry Perl (5.40)

PS C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\PerlMagick>  ppm install Image-Magick.ppd
Installing package 'Image-Magick.ppd'...
Error installing package 'Image-Magick.ppd': Read a PPD for 'Image-Magick.ppd', but it is not intended for this build of Perl (MSWin32-x64-multi-thread-5.40)

My guess is that when "Install PerlMagick for Strawberry Perl" is checked during the MSI installation that particular error is not being handled. I see something flash up about Strawberry Perl, but it is too quick for me to read.

My workaround

The comment at https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/140#issuecomment-1756627785 includes this little gem:

I'm now getting essentially the same with ImageMagick-7.1.1-19-Q16-HDRI-x64-dll.exe. The only hack I've done is to comment out the line 279 in MagickCore/magick-baseconfig.h that was there for no other purpose than to unnecessarily throw an error.

I commented out line 267 in "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\include\MagickCore\magick-baseconfig.h"

Line number differs to the original comment because I am using 7.1.1-47, but it was easy to spot the line

#    error ImageMagick was build with a 64 channel bit mask and that requires a C++ compiler

then change it to

/*
#    error ImageMagick was build with a 64 channel bit mask and that requires a C++ compiler
*/

Lo and behold, cpan Image::Magick works now!

I now have "C:\strawberry\perl\site\lib\Image\Magick.pm" where I expect it to be. My older .bat and .pl scripts using PerlMagick are working again.

Comparing the new Image\Magick.pm to an old backup verion (when I was using Strawberry Perl 5.30), I see that there are no code changes. The version number, copyright date and description text have changed.

That's good enough for me. Your mileage may vary.

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rixtech

79571171

Date: 2025-04-13 03:26:58
Score: 3
Natty:
Report link

Try ruff and run `ruff format path_to_your_file`.

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

79571170

Date: 2025-04-13 03:22:58
Score: 1
Natty:
Report link

I have solved it by commenting the plugins after that saving the file pom.xml and then uncommenting the plugin.

Reasons:
  • Whitelisted phrase (-2): I have solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yumerth Mijail

79571169

Date: 2025-04-13 03:20:57
Score: 2
Natty:
Report link

The fd:number code above will not work unmodified in modern versions of Python. You will have to call os.set_inheritable(r, True) to allow the openssl process to actually inherit the file descriptor.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alan Bawden

79571159

Date: 2025-04-13 02:59:52
Score: 3.5
Natty:
Report link

in my case it was simply because i'd not declared the array 1st: $request = array();

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: n1ce-0ne

79571156

Date: 2025-04-13 02:54:51
Score: 1
Natty:
Report link

Turns out you're not supposed to add

'sqlite:///'

in front of the path, and instead, the full path. This is because 'sqlite:///' is used for SQLAlchemy connections

Here is what I changed in my code at the top:

import sqlite
import os

def connect_db():
    db_path = os.path.join(current_app.instance_path, 'app.db')
    print(f"path: {db_path}")
    conn = sqlite3.connect(db_path)
    conn.row_factory = sqlite3.Row
    return conn
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lifeable

79571153

Date: 2025-04-13 02:49:49
Score: 1
Natty:
Report link
int highNum = 0;
int list[4] = {10, 4, 7, 8};
    for (int m = 0 ; m < list.size() ; m++)
    {
        if (list[m] > highNum)
            highNum = list[m];
    }
cout << highNum;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sai raam

79571150

Date: 2025-04-13 02:43:47
Score: 4.5
Natty: 5
Report link

If you want sonarqube scanner to perform maven build and then code quality check

Or let's say trivy vulnerability scan, how will you do same in dynamic slave ?

How that's all possible in dynamic jenkins slave?

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

79571148

Date: 2025-04-13 02:39:46
Score: 0.5
Natty:
Report link

If this is your actual call:

      <?  require ("photos_placement_simple.inc");  ?>

Then you are missing the "php" portion of your opening tag.

      <?php  require ("photos_placement_simple.inc");  ?>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tyrsson

79571145

Date: 2025-04-13 02:37:45
Score: 3.5
Natty:
Report link

I have the same situation, hopefully someone has solved it.

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

79571142

Date: 2025-04-13 02:32:44
Score: 1.5
Natty:
Report link

import React from 'react';

import './App.css';

import Chat from './Chat';



function App() {

  return (

    <div className="App">

      <Chat />

    </div>

  );

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

79571139

Date: 2025-04-13 02:29:43
Score: 2
Natty:
Report link

Well maybe you are in the same situation that i was, if you are using azure static web apps with Managed functions then you are not able to set the managed roles here is the doc.

You need to switch to azure functions Bring your own functions.
https://learn.microsoft.com/en-us/azure/static-web-apps/apis-functions

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

79571137

Date: 2025-04-13 02:29:43
Score: 0.5
Natty:
Report link

Note that as of a long time ago, GOMAXPROCS now defaults to the number of threads on your machine. So if you have an intel processor with 4 cores and each has hyperthreading enabled, runtime.GOMAXPROCS(0) will return 8.

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