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

79571130

Date: 2025-04-13 02:19:41
Score: 2
Natty:
Report link

I'm sorry I saw this post a bit late, but I have a solution.

Visiting this link can help you get your program whitelisted by Microsoft. All you must do is fill out a form and just wait until they respond. Although it's a fairly lengthy process, so it all really boils down to how much you care.

I posted this solution four and a half years later, so I don't think you care, but this is some pretty good future advice. (You're probably better at coding than I am though haha)

Nonetheless, I hope this solution somewhat helped you or resolved your issue and I hope you continue to have a magnificent day!

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

79571128

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

Try passing the resource path in this manner and make exportId as a replacement variable (checkbox)

https://[instance].mktorest.com/bulk/v1/leads/export/
exportId
/enqueue.json
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Smit Bosamiya

79571127

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

I know this is really old question, but if you are reading this is because you need a state-of-the-art answer:

process.exit();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paulo Marques

79571119

Date: 2025-04-13 01:54:35
Score: 0.5
Natty:
Report link

Here you go:

def remove_quoted_numbers(text):
  # Finds quoted stuff
  pattern = r'"(?:[^"\\]|\\.)*"'

  def remove_numbers(match):
    quoted_string = match.group(0)
    return re.sub(r'\d', '', quoted_string)

  return re.sub(pattern, remove_numbers, text)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: olives

79571102

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

I know I am really late, but I just wanted to say this:

Apparently, the issue has something to do with the way PyInstaller compresses it, which is why it's marked as a virus. I have honestly experienced this issue twice before and it's extremely frustrating.

Fortunately, there is a way to get it whitelisted, though. If you visit this link, you can get your software whitelisted by Microsoft. Although it is a long process, depending on how important your application is it may be worth it. All you need to do is fill out a form and you should be all set.

I really hope this solution helped you, even though I saw this pretty late. Still, I figured it could be of at least a little use. Anyways, I hope you have a good rest of your day!

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

79571094

Date: 2025-04-13 01:04:20
Score: 7 🚩
Natty: 6.5
Report link

Вы нашли решение? Столкнулся с такой же проблемой, но не уверен, что это системная невозможность

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Lol Lol

79571089

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

Because it's not possible. Tree structures are based on a BST and are sorted, this is what gives them O(lg(n)) time efficiency. List allows duplicates. There is a TreeSet, and TreeMap, no duplicate elements/keys are allowed.

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

79571085

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

js/ts:

function getRage(start: number = 0, count: number = 10) {
  let arr = [];
  while (count > 0) {
    arr.push(start);
    start++;
    count--;
  }
  return arr;
}

vue:

<select>
    <option v-for="v in getRage(1, 31)" value="v">{{ v }}</option>
</select>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tyler Xue

79571080

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

Another good option is to use AddVectoredExceptionHandler. This is essentially the same exception handler that @Alexey Frunze demonstrated, but it doesn't require a __try/__except block, and can be installed globally in the application and removed when no longer needed.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Alexey
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: SergeyT

79571079

Date: 2025-04-13 00:35:12
Score: 4.5
Natty:
Report link

I was told this is intended behavior (https://issuetracker.google.com/issues/362137845). To avoid this, use enableEdgeToEdge().

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

79571074

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

I came across the same issue, but SASS has nothing to do with the pseudoclass :global.

It has to do with CSS Modules: https://github.com/css-modules/css-modules

They list the frameworks which use CSS Modules. CSS Modules should be usable outside of these frameworks, but I do not know yet atm how to do so.

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

79571055

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

I ended up using the Facebook Graph API for this project, but in my later travels I did come across a tool called "Postman" when I was looking into the Klaviyo API that can help with exploring different APIs and endpoints. I think you could probably use this in conjunction with the Instagram Graph API docs to help explore the API.

https://www.postman.com/meta/instagram/collection/6yqw8pt/instagram-api

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Sanfly

79571036

Date: 2025-04-12 23:26:56
Score: 4.5
Natty:
Report link

Great article. you can learn more about that here: https://focusmedsrx.com

Reasons:
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: focusmedsrx

79571029

Date: 2025-04-12 23:15:53
Score: 1.5
Natty:
Report link

You can not.

Event handlers cannot be passed to Client Component, if you need interactivity, consider converting part of this to a Client Component.

In Nextjs, a server component can not pass a function to a client component.

Why not converting ColumnSearch to a client component? You can pass the data to your client component, and let it handle DOM logic.

If you want to keep Filter component as a server component responsible of fetching your data, it should not handle UI events..etc Let client components handle the UI.

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

79571027

Date: 2025-04-12 23:12:52
Score: 1.5
Natty:
Report link

You are correct in that it seems like fastapi_profiler has not been updated to use the new lifespan setup. Looking at the code, I can't see any obvious way to work around that. Maybe you should submit a pull request? Or at least, open an issue?

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

79571026

Date: 2025-04-12 23:11:51
Score: 1.5
Natty:
Report link

The main issue is that users (customers or barbers) don't always see the correct screen after logging in, likely because the isServiceProvider field isn't retrieved or set correctly in Firestore. Additionally, data handling in the UserModel and navigation logic can cause incorrect screens or rendering errors. Here's how to fix it:

  1. Fix UserModel to validate iServiceProvider: Avoid default values ​​that can cause misclassification of user types.
class UserModel {
  final String uid;
  final String name;
  final String fullName;
  final String email;
  final String? phoneNumber;
  final bool isServiceProvider;

  UserModel({
    required this.uid,
    required this.name,
    required this.fullName,
    required this.email,
    this.phoneNumber,
    required this.isServiceProvider,
  });

  Map<String, dynamic> toMap() {
    return {
      'uid': uid,
      'name': name,
      'fullName': fullName,
      'email': email,
      'phoneNumber': phoneNumber,
      'isServiceProvider': isServiceProvider,
    };
  }

  factory UserModel.fromMap(Map<String, dynamic> map) {
    if (!map.containsKey('isServiceProvider')) {
      throw Exception('isServiceProvider is missing');
    }
    return UserModel(
      uid: map['uid'] as String? ?? '',
      name: map['name'] as String? ?? map['fullName'] as String? ?? '',
      fullName: map['fullName'] as String? ?? map['name'] as String? ?? '',
      email: map['email'] as String? ?? '',
      phoneNumber: map['phoneNumber'] as String?,
      isServiceProvider: map['isServiceProvider'] as bool,
    );
  }
}
  1. Improve login logic: Ensure navigation is based on a valid UserModel and handles errors.
void _getUserDataAndNavigate(String uid, BuildContext context) async {
  try {
    final firestoreService = FirestoreService();
    final userData = await firestoreService.getUserById(uid);

    if (userData == null) {
      ScaffoldMessenger.of(context).showSnackBar(
        const SnackBar(content: Text('Error: No se encontraron datos de usuario')),
      );
      return;
    }

    if (!context.mounted) return;

    Navigator.pushReplacement(
      context,
      MaterialPageRoute(
        builder: (context) => userData.isServiceProvider
            ? BarberHomePage(userData: userData)
            : CustomerHomePage(userData: userData),
      ),
    );
  } catch (e) {
    if (context.mounted) {
      ScaffoldMessenger.of(context).showSnackBar(
        SnackBar(content: Text('Error: $e')),
      );
    }
  }
}
  1. Fix HomePage to avoid unnecessary reloads: Use initial data and handle loading status correctly.
class HomePage extends StatefulWidget {
  final UserModel userData;
  const HomePage({super.key, required this.userData});

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  bool _isLoading = false;
  late UserModel _userData;

  @override
  void initState() {
    super.initState();
    _userData = widget.userData;
  }

  @override
  Widget build(BuildContext context) {
    if (_isLoading) {
      return const Scaffold(body: Center(child: CircularProgressIndicator()));
    }

    return _userData.isServiceProvider
        ? BarberHomePage(userData: _userData)
        : CustomerHomePage(userData: _userData);
  }
}
  1. Validate Firestore: Make sure all user documents in Firestore have an isServiceProvider field (true for barbers, false for clients). If it's missing, update the documents:
await FirebaseFirestore.instance.collection('users').doc(uid).update({
  'isServiceProvider': false, // O true para barberos
});

Next steps:

Reasons:
  • RegEx Blacklisted phrase (2): encontraron
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Santiago Galo

79571025

Date: 2025-04-12 23:07:50
Score: 2
Natty:
Report link

Can also be fixed in some other modules by doing import PO from "pofile" rather than import { PO } from "pofile".

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can also
  • Low reputation (0.5):
Posted by: Zezombye

79571021

Date: 2025-04-12 23:03:49
Score: 2
Natty:
Report link

for future people :downgrade from tw v4 to

"tailwindcss": "^3.3.3",
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: elmouden

79570993

Date: 2025-04-12 22:20:38
Score: 1
Natty:
Report link

When: You need class Meta whenever using forms.ModelForm to create a form based on a database model (like your Empleado model).

Where: Write it inside your form class (EmpleadoForm), indented.

How: Inside Meta, you primarily define:

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

79570990

Date: 2025-04-12 22:14:37
Score: 1
Natty:
Report link
def extract_date(text):
    date_pattern = re.compile(r'\b(?:\d{1,4}[-/.]\d{1,2}[-/.]\d{2,4}|\d{1,2}[-/.]\d{1,2}[-/.]\d{2,4})\b')
    dates = re.findall(date_pattern, text)
    return dates[0] if dates else None
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Py_Ninja

79570986

Date: 2025-04-12 22:08:36
Score: 1
Natty:
Report link

This is the solution I came up with using Allen Browne's Concatenate function:

sAssySearch = ConcatRelated("[AssyPN]", "tblBOMr14", "PN =""" & Me.cboSearch.Text & """", "[AssyPN]", "' OR PN = '") & "'"
        
strFilter = "PN Like " & sSearch & " OR PN = '" & sAssySearch

It took a few stabs to get all the single quotes and double quotes right but it works!

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Noel de la Rosa

79570982

Date: 2025-04-12 22:01:34
Score: 3
Natty:
Report link

What worked for me on windows 10:

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Sara

79570970

Date: 2025-04-12 21:45:29
Score: 4.5
Natty:
Report link

The documentation is clear about prerendering, but to inject the route IDs as parameters I need to be authenticated in Firebase to get the IDs. How will I authenticate during build time?

Any idea

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Daniel Otero

79570969

Date: 2025-04-12 21:45:29
Score: 1
Natty:
Report link

at bnch.run(PG:1)

at bcrs.run(PG:1)

at

java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)

at

java.util.concurrent.ThreadPoolExecutor$Worker.ru

n(ThreadPoolExecutor.java:641)

at bcqx.run(PG:2)

at bcrd.run(PG:4)

Caused by: java.lang.NullPointerException:

getString(i++) must not be null

at java.lang.Thread.run(Thread.java:920) at bsnb.a(PG:1)

at vnb.invoke(PG:4)

at vnh.a(PG:5)

at bsnh.a(PG:2)

at bsmh.d(PG:2)

at bsmj.run(PG:9)

6 more

Caused by: vko

at vld.h(PG:1)

at vld.d(PG:1)

vnm.f(PG:6)

at vnm.d(PG:11)

at vne.cZ(PG:3)

at cbuf.o(PG:4)

at ccds.run(PG:14)

at bnch.run(PG:1)

6 more

by: vko

at vld.g(PG:3)

at vol.a(PG:4)

at bnct.run(Unknown Source:6)

at boei.run(PG:2)

6 more

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

79570963

Date: 2025-04-12 21:40:28
Score: 3
Natty:
Report link

I too struggled with this. The fix for me was I just dragged the right side of the Body Border up to the closest object and no more added page.

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

79570948

Date: 2025-04-12 21:20:24
Score: 1.5
Natty:
Report link

The lifetime of the inner event loop loop is the existence of MainWindow, which is essentially the lifetime of the application. What if you put your inner loop in some object that you can make go away, for example a button that gets created and then destroyed? Then I bet you would see that that inner loop stops handling events and the main loop does again.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JG Miller

79570944

Date: 2025-04-12 21:16:23
Score: 0.5
Natty:
Report link

From documentation: https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-SQL-Server-from-Windows

Based on your SQL server version, use the respective driver:

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

79570943

Date: 2025-04-12 21:15:23
Score: 2
Natty:
Report link

One other point in the bullets- shouldn't the underscores be dashes/hyphens?

Also- how does one code bindings for modifier keys, like the option key?

I want to do different amounts of processing, depending whether the Option key is held down during Command w keystroke.

I'm working in MacOS.

I've tried root.bind_all('<Alt-w>',func) and root.bind_all('<Alt-Command-w>',func) Neither works.

I'd check the event.state attribute with an appropriate modifier key mask in the callback func but the execution never gets there.( breakpoint not hit)

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: dday52

79570929

Date: 2025-04-12 20:48:17
Score: 2.5
Natty:
Report link

There is a very good and effective solution that I am implementing after I file a complaint that what I ordered is not the product that I received. That is to stop shopping at Walmart.com.

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

79570925

Date: 2025-04-12 20:47:16
Score: 10.5 🚩
Natty: 6.5
Report link

I'm having a similar problem.

Running ModSecurity 2.9.8. OWASP CRS 4.13.0 with Apache 2.4.63 on AlmaLinux 9.5

Had the rules as:
SecRule REQUEST_FILENAME "@endsWith .ttf" "id:200000003,phase:1,nolog,allow"

But still getting modsec blocks, going to try:
SecRule REQUEST_URI ".ttf" "id:200000004,phase:1,nolog,t:urlDecode,t:lowercase,t:normalizePath,ctl:ruleRemoveById=920440"

Any other suggestions?
Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I'm having a similar problem
  • RegEx Blacklisted phrase (2): Any other suggestions?
  • No code block (0.5):
  • Me too answer (2.5): I'm having a similar problem
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: FL538

79570924

Date: 2025-04-12 20:46:15
Score: 0.5
Natty:
Report link

I have a long ago memory that you could do an inequality check query asking for items where that value is more than max value and if unfiltered then that query would return all the items that had odd values.

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

79570915

Date: 2025-04-12 20:38:13
Score: 5
Natty:
Report link

Did not need answer so overwrtite it

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did not
  • Low reputation (1):
Posted by: readthemanual

79570906

Date: 2025-04-12 20:26:10
Score: 1
Natty:
Report link

Just select an HTML element(body, for example), and call the onContextMenu getter on it:

web.window.document.querySelector('body')?.onContextMenu.listen((event) {});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Radomir Epur

79570898

Date: 2025-04-12 20:17:07
Score: 2
Natty:
Report link

Try this version:

npm install @ffmpeg/[email protected] --save-exact

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Otieno Oduor

79570889

Date: 2025-04-12 20:09:04
Score: 4.5
Natty:
Report link

Good morning everyone, hope this message finds you well! Wondering if there's any changes need to be done to the following lines of code as tt's returning the following exceptions(provided in output section). Your support is highly appreciated. Pls advise. Thanks

code.. starts from here....

public interface AuthService {

   @PostMapping(
    value = "/oauth/token",
   consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE,
   //consumes = {"application/x-www-form-urlencoded"},
    produces = MediaType.APPLICATION_JSON_VALUE
    //produces = {"application/json"}
  )
  LoginResponse authenticate(
    @RequestParam(name = "grant_type") String grantType,
    @RequestParam String username,
    @RequestParam String password,
   @RequestBody String reqBody
 ) ;}

code....code ends here.

Output:

[AuthService#authenticate(String,String,String,String)]: [{"error":"invalid_request","error_description":"Missing form parameter: grant_type"}]] with root cause feign.FeignException$BadRequest: [400 Bad Request] during [POST]

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Good morning
  • RegEx Blacklisted phrase (2.5): Pls advise
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30254997

79570886

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

What you were doing before:

You were calling facades directly with the global namespace operator:

`\Log::info('message');
\DB::table('users')->get();`
Without declaring:

use Illuminate\Support\Facades\Log;

And it used to work.
Why?
Because Laravel used to auto-alias core facades like Log, DB, etc., via class aliases in the config.

Why it’s failing now:

As of Laravel 10+ and PHP 8.2+, especially Laravel 12, automatic aliasing of facades like Log and DB is no longer guaranteed unless explicitly defined in your app.
Laravel removed global aliases from config/app.php in recent versions for performance and clarity. So if you use \Log or \DB without importing them or aliasing them manually, PHP just says:

“Hey, I don’t know what Log is. Class not found.”

How to make it behave like before .

Option 1: Import Facades Explicitly .

Option 2: Restore Class Aliases in config/app.php

Steps

1 . Open config/app.php
2. Scroll to the aliases array
3. Add the missing facades:

'Log' => Illuminate\Support\Facades\Log::class,

'DB' => Illuminate\Support\Facades\DB::class,

Now you should be able to use:
\Log::info(...); as you want

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What you we
  • Low reputation (1):
Posted by: PriscaEbuka

79570878

Date: 2025-04-12 19:59:01
Score: 2
Natty:
Report link

I have reviewed the information suggested by @Brendan Mitchell, @Mark Tolonen and @JonSG, thank you.

I would like to accept their comments as an answer because a Windows shortcut created by windows explorer is a special file, not a symlink or a junction.

That means that os.scandir [os.listdir, et al] will not follow the *.lnk file, even if the parameter "follow_symlinks=True". I also cannot find any windows stat().st_file_attribute that would indicate that the file is a shortcut.

So the only way to determine a shortcut is by comparing the file extension:

if os.path.splitext(filename)[1] == ".lnk"

or

if filename[-4:] == ".lnk"

Determining the target of a shortcut has been discussed elsewhere.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Brendan
  • User mentioned (0): @Mark
  • User mentioned (0): @JonSG
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: at2010

79570875

Date: 2025-04-12 19:58:01
Score: 0.5
Natty:
Report link

If you --wath the test, re-run it and see.

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

79570865

Date: 2025-04-12 19:45:58
Score: 1
Natty:
Report link

That's correct! I just simply added an extra "false element". Once the city variable reaches it, the program shuts down. Here's the code I came up with which is super simple, and it works:


        city_array = ['1', '2', '3', '4']
        city = get_next_element(city_array)
        print(f"Assigned value: {city}")

        if city == '4':
            break
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jedihomeslice

79570862

Date: 2025-04-12 19:41:57
Score: 3
Natty:
Report link

My versions, it works

pyspark 3.5.4

spark-3.5.5-bin-hadoop3

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Владислав Владимирович

79570860

Date: 2025-04-12 19:40:56
Score: 4
Natty:
Report link

Deleting all the excluded architectures fixed the frustrating issue for me. Just open the workspace file with xcode and delete the lines.

enter image description here

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

79570856

Date: 2025-04-12 19:36:55
Score: 3.5
Natty:
Report link

Make sure you don't have Source overrides enabled. This is what fixed it for me.

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

79570845

Date: 2025-04-12 19:23:51
Score: 2.5
Natty:
Report link

Solved
max_input_vars was set to max_input_vars=10000000000000000
I added this in .htaccess now working fine

<IfModule mod_php.c>
    php_value max_input_vars 3000
</IfModule>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Filler text (0.5): 0000000000000000
  • Low reputation (1):
Posted by: Ovais Jetnetix

79570842

Date: 2025-04-12 19:21:51
Score: 2
Natty:
Report link

You can just check if "city" variable is at the last index of the array and break accordingly ie. if all elements are unique.

otherwise you can keep track of the current index and increment it everytime after the selenium code, once it becomes len(cities)-1 you can break the loop.

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

79570834

Date: 2025-04-12 19:09:47
Score: 4
Natty: 5
Report link

It seems still to be an unresolved issue

https://github.com/apache/camel-karaf/issues/562

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

79570831

Date: 2025-04-12 19:05:46
Score: 1.5
Natty:
Report link

reg.predict expects 2D arrays, so you need to turn it into list

reg.predict([[1740]])

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

79570823

Date: 2025-04-12 18:57:44
Score: 0.5
Natty:
Report link

In case anyone stumbles across this whilst using Assembly Definitions...

You'll need to explicitly add a reference to `UnityEngine.InputSystem` to the relevant assembly definition

enter image description here

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

79570822

Date: 2025-04-12 18:56:44
Score: 1
Natty:
Report link
  @import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
  
  .eb-garamond-text {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    line-height: 1.5;
  }
</style>

<div class="eb-garamond-text">
  <!-- Your content here -->
  <p>This text will appear in EB Garamond font.</p>
  <p>You can add as many paragraphs as needed.</p>
</div>```
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dff

79570820

Date: 2025-04-12 18:53:43
Score: 1
Natty:
Report link

Try to use this in your ColorMap section

depth_colormap = cv2.applyColorMap(
    cv2.convertScaleAbs(depth_image, alpha=0.03),
    cv2.COLORMAP_JET
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: poisoned_monkey

79570818

Date: 2025-04-12 18:52:42
Score: 3
Natty:
Report link

I think, it will be just like you upload any file (e.g image, pdf, etc). You need to upload the file to a Backend then the Backend need to give back a url to your react.

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

79570805

Date: 2025-04-12 18:30:37
Score: 1.5
Natty:
Report link

Answer: "PMIx" = "OpenPMIx". This is answered elsewhere in the documentation. https://docs.openpmix.org/en/latest/ says, "You will see OpenPMIx frequently referred to as just PMIx. While there is a separate PMIx Standard, there are (as of this writing) no alternative implementations of that Standard. In fact, the Standard post-dates the library by several years, and often lags behind the library in terms of new definitions. Thus, it is customary to refer to the library as just PMIx and drop the longer name - at least, until some other implementation arises (which many consider unlikely)." And https://docs.open-mpi.org/en/v5.0.x/installing-open-mpi/required-support-libraries.html says, 'While OpenPMIx is the formal name of the software that implements the PMIx standard, the term “PMIx” is used extensively throughout this documentation to refer to the OpenPMIx software package.'

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cavalcade of Cats

79570795

Date: 2025-04-12 18:23:35
Score: 0.5
Natty:
Report link

A simple approach would be to check whether a dependable git bisect artifact like it's log file .git/BISECT_LOG exists, so:

[ -f .git/BISECT_LOG ] && echo "git bisect in progress"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Sri Kadimisetty

79570790

Date: 2025-04-12 18:17:34
Score: 0.5
Natty:
Report link

Important: See the documentation link below about Plesk Obsidian using a composer extension. If you are using Plesk Obsidian this is the recommended way to run composer on a plesk server.

From the Plesk documentation:

Run Composer from a command-line interface

Where X.X is a PHP version:

Documentation links:

https://www.plesk.com/kb/support/how-to-run-composer-with-plesk-php/

https://www.plesk.com/extensions/composer/

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

79570762

Date: 2025-04-12 17:42:26
Score: 0.5
Natty:
Report link

I agree with answers above: you generally don't need micro-optimizations, especially with high-level languages with optimizing compilers.

However, I want to add one more, slightly lower point of view.

Let's pretend (almost)all optimizations are OFF and find out what machine code we end up with:

In case 1:

In case 2:

Real examples (built with `gcc -c -O0 testX.c -o testX`):

test1.c:

    #include <stdio.h>
    void log(void) { printf("Hello\n"); }
    int main(int argc, char **argv)
    {
        int logMode = 0;
        int result;
        while (1) {
            if (logMode == 1) {
                log();
            }
            result = 1; /* simulate useful work */
        }
        return result;
    }

test1 disassembly fragment:

    ...
    0000000000000016 <main>:
      16:   55                      push   %rbp
      17:   48 89 e5                mov    %rsp,%rbp
      1a:   48 83 ec 20             sub    $0x20,%rsp
      1e:   89 7d ec                mov    %edi,-0x14(%rbp)
      21:   48 89 75 e0             mov    %rsi,-0x20(%rbp)
      25:   c7 45 fc 00 00 00 00    movl   $0x0,-0x4(%rbp)
    /* start of loop */
      2c:   83 7d fc 01             cmpl   $0x1,-0x4(%rbp) /* compare `logMode` to `1` */
      30:   75 05                   jne    37 <main+0x21>  /* if `false`, jump directly to "useful work" (37) */
      32:   e8 00 00 00 00          call   37 <main+0x21>  /* call log */
      37:   c7 45 f8 01 00 00 00    movl   $0x1,-0x8(%rbp) /* "useful work" */
      3e:   eb ec                   jmp    2c <main+0x16>  /* back to start of the loop */
    ...

test2.c:

    #include <stdio.h>
    void log(void) { printf("Hello\n"); }
    void noop(void) { /* nothing here */ }
    void (*func_ptr)(void);
    int main(int argc, char **argv)
    {
        int logMode = 0;
        int result;
        if(logMode == 1){
            func_ptr = log;
        } else {
            func_ptr = noop;
        }
        while (1) {
            func_ptr();
            result = 1; /* simulate useful work */
        }
        return result;
    }

test2 disassembly fragment:

    ...
    0000000000000016 <noop>:        /* here's five lines of our "empty" function */
      16:   55                      push   %rbp
      17:   48 89 e5                mov    %rsp,%rbp
      1a:   90                      nop
      1b:   5d                      pop    %rbp
      1c:   c3                      ret
    
    000000000000001d <main>:
      1d:   55                      push   %rbp
      1e:   48 89 e5                mov    %rsp,%rbp
      21:   48 83 ec 20             sub    $0x20,%rsp
      25:   89 7d ec                mov    %edi,-0x14(%rbp)
      28:   48 89 75 e0             mov    %rsi,-0x20(%rbp)
      2c:   c7 45 fc 00 00 00 00    movl   $0x0,-0x4(%rbp)
      33:   83 7d fc 01             cmpl   $0x1,-0x4(%rbp)
      37:   75 10                   jne    49 <main+0x2c>
      39:   48 8d 05 00 00 00 00    lea    0x0(%rip),%rax
      40:   48 89 05 00 00 00 00    mov    %rax,0x0(%rip)
      47:   eb 0e                   jmp    57 <main+0x3a>
      49:   48 8d 05 00 00 00 00    lea    0x0(%rip),%rax
      50:   48 89 05 00 00 00 00    mov    %rax,0x0(%rip)
    /* start of loop */
      57:   48 8b 05 00 00 00 00    mov    0x0(%rip),%rax   /* loading function pointer from memory into register */
      5e:   ff d0                   call   *%rax            /* calling function regardless we want logs */ 
      60:   c7 45 f8 01 00 00 00    movl   $0x1,-0x8(%rbp)  /* useful work */
      67:   eb ee                   jmp    57 <main+0x3a>   /* back to start of the loop */
    ...
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30222012

79570750

Date: 2025-04-12 17:26:21
Score: 4
Natty:
Report link

In addition, $this refers to: WP_Event_Manager::instance()

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