79482069

Date: 2025-03-03 20:32:25
Score: 1
Natty:
Report link

The logical operator || is only used to verify whether multiple conditions will obtain a true or false value. It's not used for finding items in a string. Instead use else if-statements:

if (str.find("Legs") != std::string::npos) {
    ...
}
else if (str.find("Arms") != std::string::npos) {
    ...
}
.
.
.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Quatumiser 101

79482068

Date: 2025-03-03 20:31:25
Score: 1
Natty:
Report link

In our case, we were using the wrong subfolder/URL. Changing the URL to match the virtual folder configured in IIS fixed the issue.

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

79482067

Date: 2025-03-03 20:31:24
Score: 8 🚩
Natty: 4.5
Report link

Хорошее видео на ютубе иллюстрирующее вашу работу https://www.youtube.com/watch?v=xmw3iIKXDlE https://www.youtube.com/watch?v=XrrTgCNT3cg

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: Пётр Ларин

79482065

Date: 2025-03-03 20:30:24
Score: 0.5
Natty:
Report link

You can use like this

.where("posts.type", "=", sql<PostType>`${type}::"PostType"`)
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user14298448

79482045

Date: 2025-03-03 20:20:21
Score: 0.5
Natty:
Report link
function fibonacciDP(n) {
    // Validate input
    if (typeof n !== 'number' || !Number.isInteger(n) || n < 0) {
        return NaN; // Handle invalid input
    }

    // Base cases
    if (n === 0) return 0;
    if (n === 1) return 1;

    // Create an array to store Fibonacci numbers up to n
    const fibArray = new Array(n + 1);
    fibArray[0] = 0; // F(0)
    fibArray[1] = 1; // F(1)

    // Fill the array using the previous two values
    for (let i = 2; i <= n; i++) {
        fibArray[i] = fibArray[i - 1] + fibArray[i - 2];
    }

    return fibArray[n]; // Return the nth Fibonacci number  
}

It is classic example of dynamic programming. you can follow below link for better understanding, https://www.geeksforgeeks.org/program-for-nth-fibonacci-number/

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

79482039

Date: 2025-03-03 20:18:21
Score: 1.5
Natty:
Report link

Adding the wildcard

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
    <Content Remove="**\google-services.json" />
</ItemGroup>

Got past this error for me. It does not work with a forward slash, must use back slash to match windows pathing.

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

79482038

Date: 2025-03-03 20:18:20
Score: 6.5 🚩
Natty: 5
Report link

So, is it possible to remove the metadata from an electronically signed PDF file and keep the signature valid?

If it is possible, I would appreciate some code to implement it.

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): is it possible to
  • Blacklisted phrase (1.5): would appreciate
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: rampunseng

79482025

Date: 2025-03-03 20:10:18
Score: 3
Natty:
Report link

@click is handled by the compiler and template compilation, so the binding of the event handler won't work.

Why not do all of this logic inside vue.js and components? Fetch the data in a wrapper component and render conditionally whatever you're tryin to do.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @click
  • Low reputation (0.5):
Posted by: aleksKamb

79482022

Date: 2025-03-03 20:10:18
Score: 2
Natty:
Report link

Currently rewriting my companies custom primeng theme that used css overrides for the past 6 years and got screwed when primeng renamed them so I would suggest looking into using design tokens so you don't have to worry about mappings

https://primeng.org/theming#architecture

https://primeng.org/theming#customization

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

79482014

Date: 2025-03-03 20:05:17
Score: 2.5
Natty:
Report link

I tried to reproduce it with this sample on Windows 10 with both Chrome and Edge and it seemed to work as expected: https://github.com/adamenagy/Container/blob/master/shared-model-box-selection.html

See video: https://youtu.be/BZJlZwq0oDs

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Adam Nagy

79481992

Date: 2025-03-03 19:50:14
Score: 0.5
Natty:
Report link

Workaround to eliminate the warning:

Use:

import html2pdf from 'html2pdf.js/dist/html2pdf.min.js';

Instead of:

import html2pdf from 'html2pdf.js';

This is a known issue with the html2pdf.js library. See open issue for more details: https://github.com/eKoopmans/html2pdf.js/issues/570

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

79481990

Date: 2025-03-03 19:49:14
Score: 1.5
Natty:
Report link

(Exported Computer\HKEY_CURRENT_USER limb for each account first, for backup).

I succeeded in enabling/installing the FastReport VCL components by starting RegEdit with my Admin account and exporting the registry limb:

Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0

Then, I ran RegEdit with my regular user account then imported the file I exported in the previous step.

More recently, I had similar trouble, though I had not used "Run as administrator" to install FastReports. The install went fine, but the components did not appear, and I was not able to Install the packages within the Delphi IDE. Kept getting "... could not be found" error.

This I remedied by copying the following limb

Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Environment Variables

from Administrator account registry to regular account registry.

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

79481981

Date: 2025-03-03 19:43:13
Score: 0.5
Natty:
Report link

With k3s, checking the kube-apiserver pod specification does not work, because the API server is embedded in the k3s binary and there is no process to inspect, nor is there any manifest for a static pod.

If you use a config.yaml configuration file, the options won't appear in the k3s service nor the process, anyway.

Calling the raw API does not seem to work either.

In my case, I was looking to confirm that k3s really took in my configuration file and the admission plugin that I had enabled was part of the kube-apiserver arguments. The simplest way that I found to confirm that with k3s is checking the k3s.io/node-args annotation on the node which reveal the actual arguments used on the k3s command:

> kubectl get node <control-plane-node> \
  -o jsonpath='{.metadata.annotations.k3s\.io/node-args}' | jq .
[
  "server",
  "--secrets-encryption",
  "true",
  "--kube-apiserver-arg",
  "enable-admission-plugins=ExtendedResourceToleration"
]

Here, the next to last item in the array specifies an argument for kube-apiserver (--kube-apiserver-arg) and the last item is the value for this argument. It's equivalent to running kube-apiserver with --enable-admission-plugins=ExtendedResourceToleration. See the k3s documentation on the 'k3s server' command for reference.

It's not a complete list of enabled admission controllers, of course, only those which were enabled with --enable-admission-plugins.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SylvainC

79481975

Date: 2025-03-03 19:41:13
Score: 3
Natty:
Report link

import javax.swing.; import java.awt.; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.util.LinkedList; import java.util.Random; public class SnakeGame extends JPanel implements ActionListener { private static final int TILE_SIZE = 30; // Tamanho de cada quadrado (tile) private static final int WIDTH = 600; // Largura do campo de jogo private static final int HEIGHT = 400; // Altura do campo de jogo private static final int NUM_TILES_X = WIDTH / TILE_SIZE; private static final int NUM_TILES_Y = HEIGHT / TILE_SIZE; private LinkedList snake; // A cobrinha private Point food; // A comida private boolean isGameOver; // Condição de fim de jogo private char direction; // Direção atual da cobrinha private Timer timer; // Timer para atualizar o jogo public SnakeGame() { this.setPreferredSize(new Dimension(WIDTH, HEIGHT)); this.setBackground(Color.BLACK); this.setFocusable(true); snake = new LinkedList<>(); snake.add(new Point(NUM_TILES_X / 2, NUM_TILES_Y / 2)); // Inicia a cobrinha no centro direction = 'R'; // Direção inicial (direita) generateFood(); // Listener para as teclas direcionais addKeyListener(new KeyAdapter() { @Override public void keyPressed(KeyEvent e) { switch (e.getKeyCode()) { case KeyEvent.VK_UP: if (direction != 'D') direction = 'U'; // Para não ir para a direção oposta break; case KeyEvent.VK_DOWN: if (direction != 'U') direction = 'D'; break; case KeyEvent.VK_LEFT: if (direction != 'R') direction = 'L'; break; case KeyEvent.VK_RIGHT: if (direction != 'L') direction = 'R'; break; } } }); // Timer para chamar a atualização do jogo timer = new Timer(100, this); timer.start(); } @Override public void actionPerformed(ActionEvent e) { if (isGameOver) { return; // Se o jogo acabou, não faz nada } moveSnake(); checkCollisions(); repaint(); } private void moveSnake() { Point head = snake.getFirst(); // A cabeça da cobra Point newHead = null; // Movendo a cobra de acordo com a direção switch (direction) { case 'U': // Cima newHead = new Point(head.x, head.y - 1); break; case 'D': // Baixo newHead = new Point(head.x, head.y + 1); break; case 'L': // Esquerda newHead = new Point(head.x - 1, head.y); break; case 'R': // Direita newHead = new Point(head.x + 1, head.y); break; } // Adicionando a nova cabeça snake.addFirst(newHead); // Verificando se a cobra comeu a comida if (newHead.equals(food)) { generateFood(); // Gerar nova comida } else { snake.removeLast(); // Remover a cauda se não comer a comida } } private void checkCollisions() { Point head = snake.getFirst(); // Checar se a cabeça da cobra bateu nas paredes if (head.x < 0 || head.x >= NUM_TILES_X || head.y < 0 || head.y >= NUM_TILES_Y) { isGameOver = true; } // Checar se a cobra bateu em si mesma for (int i = 1; i < snake.size(); i++) { if (head.equals(snake.get(i))) { isGameOver = true; } } } private void generateFood() { Random rand = new Random(); int x = rand.nextInt(NUM_TILES_X); int y = rand.nextInt(NUM_TILES_Y); food = new Point(x, y); } @Override protected void paintComponent(Graphics g) { super.paintComponent(g); // Desenhar a cobra g.setColor(Color.GREEN); for (Point p : snake) { g.fillRect(p.x * TILE_SIZE, p.y * TILE_SIZE, TILE_SIZE, TILE_SIZE); } // Desenhar a comida g.setColor(Color.RED); g.fillRect(food.x * TILE_SIZE, food.y * TILE_SIZE, TILE_SIZE, TILE_SIZE); // Desenhar o texto de fim de jogo if (isGameOver) { g.setColor(Color.WHITE); g.setFont(new Font("Arial", Font.BOLD, 30)); g.drawString("Game Over!", WIDTH / 3, HEIGHT / 2); } } public static void main(String[] args) { JFrame frame = new JFrame("Jogo da Cobrinha"); SnakeGame gamePanel = new SnakeGame(); frame.add(gamePanel); frame.pack(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }javac SnakeGame.java

Reasons:
  • Blacklisted phrase (1): não
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Override
  • User mentioned (0): @Override
  • User mentioned (0): @Override
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miguel

79481974

Date: 2025-03-03 19:39:12
Score: 1
Natty:
Report link

There's actually a more direct way to solve this, in case you have a lot of annoying arguments to fill.

mocked_method.assert_called_once()
args, kwargs = mocked_method.call_args

self.assertEqual(args[0], "your_positional_arg_value")
self.asssertEqual(kwargs.get("keyword_arg"), "your_keyword_arg_value")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicolas Johnson

79481973

Date: 2025-03-03 19:38:12
Score: 1
Natty:
Report link

Looking at GCC's implementation of std::stof they throw this error if the float is smaller than FLT_MIN, not FLT_TRUE_MIN.

The reason for this is probably because FLT_TRUE_MIN was introduced in C++17, while std::stof in C++11.

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

79481971

Date: 2025-03-03 19:37:12
Score: 1
Natty:
Report link

There are only two elements here ..

Class name jobs-save-button__text has only 2 elements actually

for every click on job posting more will be come but thats dynamic so only 2 elements manifest at anby give time.

So you will write a loop, click on each job posting item //li[ div/div[contains(@class, "job-card")]], and get 2 elements each time and loop through next posting item again..

additonal_postings_click

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

79481970

Date: 2025-03-03 19:37:11
Score: 5.5
Natty: 5
Report link

Works on iOS, Android, and Tablets without extra configuration.

https://www.npmjs.com/package/@ammarwahid/react-native-responsive-layout

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

79481966

Date: 2025-03-03 19:35:10
Score: 1.5
Natty:
Report link

You can use the Firebase CLI tool to upload the mapping file manually for your app using crashlytics:mappingfile:upload. See https://firebase.google.com/docs/cli#crashlytics-commands

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matthew Robertson

79481955

Date: 2025-03-03 19:29:09
Score: 3
Natty:
Report link

I have trying to implement in nav with Tailwind css

flex ml-auto

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

79481944

Date: 2025-03-03 19:23:08
Score: 3.5
Natty:
Report link

that thfhdbffhbfbfbfhbcgbvhjsbhavfgvfgcvsgvisvgacvsdkhcbsnbbdsvhskxbnhsdbcxhjzbvhbvhjzbchjzdvchgvgha

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MAFODAY WALKER

79481941

Date: 2025-03-03 19:21:08
Score: 2
Natty:
Report link

Googling does not give simple examples and it's giving me a headache trying to figure out IIS 6.0, ASP.Net, HTML, Forms, Post Method Verb, AND PHP all mixed together. My suggestion is to just customize your HTTP 405 Error page as it is the default result for POST attempts. Is SO much easier as this only took me 2 minutes of web design for 405 and that was back in 2009. Today, still no google result seems to help. Trust me, 405 is easier than years of headache. 🤬

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

79481937

Date: 2025-03-03 19:18:07
Score: 3
Natty:
Report link

I don't believe there is a way to actually track what variables have been modified. The way I am solving this at the moment is to keep a mirror of values before the evaluation and then comparing against the mirror after the .value() function completes. Not optimal, but then again, no big deal.

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

79481928

Date: 2025-03-03 19:15:06
Score: 1.5
Natty:
Report link

The userGuess variable is not getting set to the user inputs as the program runs. Add in a line before you call checkIfCorrect to update the variable before you pass it to the function..

userGuess = getTest("userInput");

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

79481914

Date: 2025-03-03 19:07:05
Score: 3.5
Natty:
Report link

they ignore the question.

...To learn more, see our tips on writing great answers...

No thank you, the question is good enough.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29874551

79481908

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

Apparently if your co-pilot license is through business they are now respecting the flag at the org level for experimental editor features. Assuming your copilot is handled through your organization, you need your work admin to go in and flip the "Editor preview features" flag before it will come back.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rudy A. Hernandez

79481906

Date: 2025-03-03 19:00:03
Score: 1.5
Natty:
Report link

We use screen to keep sessions going if the ssh connection drops. screen --version to see if its installed on your system, get your admin to install it if not. Then start a screen session from an ssh terminal: screen -S To reconnect if your ssh session drops reconnect with ssh then : screen -x

https://linuxize.com/post/how-to-use-linux-screen/

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

79481899

Date: 2025-03-03 18:58:03
Score: 1.5
Natty:
Report link

$wsh = New-Object -ComObject WScript.Shell while (1) { $wsh.SendKeys('+{F15}') Start-Sleep -seconds 59 }

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

79481896

Date: 2025-03-03 18:58:03
Score: 0.5
Natty:
Report link

The try-with-resources statement is designed to automatically close resources that implement the AutoCloseable interface (or its sub-interface Closeable). When the try block exits, the close() method is called on the resource, ensuring that it is properly closed and any associated resources are released.

  1. When you use try-with-resources, the ScheduledExecutorService is automatically closed as soon as the try block exits. This means that the executor service is shut down before it has a chance to execute any tasks.

2.When ScheduledExecutorService is closed (via close() or shutdown()), it stops accepting new tasks and attempts to terminate any ongoing tasks. This is why your scheduled task never runs when using try-with-resources.

For ScheduledExecutorService, you should manually manage its lifecycle. This typically involves:

  1. Explicitly call shutdown() or shutdownNow() when you no longer need the executor service.
  2. Ensure that any scheduled tasks have completed or been canceled before shutting down the executor.

@Test public void testScheduledExecutorService() throws InterruptedException { Logger LOG = LogManager.getLogger();

ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1);
executorService.scheduleWithFixedDelay(() -> LOG.info("Doing something …"), 0, 1, TimeUnit.SECONDS);

Thread.sleep(5000); // Let the executor run for a while

// Shutdown the executor service
executorService.shutdown();
try {
    // Wait for tasks to finish, but no longer than 10 seconds
    if (!executorService.awaitTermination(10, TimeUnit.SECONDS)) {
        executorService.shutdownNow(); // Force shutdown if tasks didn't finish
    }
} catch (InterruptedException e) {
    executorService.shutdownNow(); // Force shutdown if interrupted
    Thread.currentThread().interrupt(); // Preserve interrupt status
}

LOG.info("Finishing at {}", LocalDateTime.now().format(DateTimeFormatter.ISO_LOCAL_DATE_TIME));

}

here we did:

  1. The executorService.shutdown() method initiates an orderly shutdown of the executor service. It allows previously submitted tasks to execute but does not accept new tasks.

  2. The awaitTermination() method blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.

  3. If the tasks do not complete within the specified timeout, shutdownNow() is called to attempt to stop all actively executing tasks.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Test
  • Low reputation (1):
Posted by: Debashis Kar Suvra

79481892

Date: 2025-03-03 18:56:02
Score: 2
Natty:
Report link

The fix turns out to be passing --full-source-path to perf script.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Camelid

79481887

Date: 2025-03-03 18:53:02
Score: 0.5
Natty:
Report link

This is a typing issue - you just need to convert them to date time and then you can do the date math...

df["Date/Time Opened"] = pd.to_datetime(df["Date/Time Opened"])
df["Date/Time Closed"] = pd.to_datetime(df["Date/Time Closed"])

df["Duration (hours)"] = (df["Date/Time Closed"] - df["Date/Time Opened"]).dt.total_seconds() / 3600

Dates are stored in seconds, so the divide by 3600 is simply converting the seconds of the datetime fields into days in this instance.

Make sense?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Nate

79481875

Date: 2025-03-03 18:48:01
Score: 2
Natty:
Report link

For now, I'm going to make a single { SharedViewModel() }, and add a reset method to the VM, so once the tournament creation is done, it will just replace the state with the default one - it's probably the cleanest solution I came up with.

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

79481874

Date: 2025-03-03 18:48:01
Score: 3
Natty:
Report link

There is no platform build for that version you requested, amd64 and arm64/v8 only available for mysql:8 image.

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

79481865

Date: 2025-03-03 18:41:59
Score: 2.5
Natty:
Report link

I am on Linux Ubuntu 11 and apt install libyaml-dev solved my problem.

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

79481857

Date: 2025-03-03 18:38:59
Score: 2
Natty:
Report link

You can edit “mingw64.ini” or “msys2.ini” or "UCRT64.ini" in the MSys2 install directory. Uncomment the line that reads:

MSYS2_PATH_TYPE=inherit

It should let Msys2 see paths for the Windows Python or any other Windows tools or libraries.

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

79481856

Date: 2025-03-03 18:38:59
Score: 1
Natty:
Report link

Try ExtensionsBuilder, much less code https://stackoverflow.com/a/77183562/6166627.

Be aware that some gql clients don't support top-level extensions like Apollo.

As an alternative, consider just putting your warnings inside the data itself: "data": {"warnings":[{"code":"NOT_FOUND", ids: [1,2,3], message: "Articles not found"}], articles:[...]}

related https://github.com/spring-projects/spring-graphql/issues/1138

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sam

79481848

Date: 2025-03-03 18:36:58
Score: 0.5
Natty:
Report link

The + operator must be used to move the clock by one tick.

As an example (you can omit the : Self-message part if not needed):

obj=Lifeline A~a
a->a +: Self-message

enter image description here

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

79481846

Date: 2025-03-03 18:35:58
Score: 1.5
Natty:
Report link

I standing here with eight minutes in my hands in this venerable and rather magnificent institution, I was going to assure you that I belong to the Henry VIII School of public speaking - that as Henry VIII said to his wives 'I shall not keep you long'. But now finding myself the seventh speaker out of eight in what must already seem a rather long evening to you I rather feel like Henry VIII's the last wife. I know more or less of what expected of me but I am not sure how to do it any differently.

Perhaps what I should do is really try and pay attention to the arguments that have advanced by the Opposition today. We had for example Sir Richard Ottaway suggesting - challenging the very idea that it could be argued that the economic situation of the colonies was actually worsened by the experience of British colonialism.

Well I stand to offer you the Indian example, Sir Richard. India share of the world economy when Britain arrived on it's shores was 23 per cent, by the time the British left it was down to below 4 per cent. Why? Simply because India had been governed for the benefit of Britain.

Britain's rise for 200 years was financed by it's depredations in India. In fact Britain's industrial revolution was actually premised upon the de-industrialisation of India.

The handloom weaver's for example famed across the world whose products were exported around the world, Britain came right in. There were actually these weaver's making fine muslin as light as woven wear, it was said, and Britain came right in, smashed their thumbs, broke their looms, imposed tariffs and duties on their cloth and products and started, of course, taking their raw material from India and shipping back manufactured cloth flooding the world's markets with what became the products of the dark and satanic mills of the Victoria in England

That meant that the weavers in India became beggars and India went from being a world famous exporter of finished cloth into an importer when from having 27 per cent of the world trade to less than 2 per cent.

Meanwhile, colonialists like Robert Clive brought their rotten boroughs in England on the proceeds of their loot in India while taking the Hindi word loot into their dictionary as well as their habits.

And the British had the gall to call him Clive of India as if he belonged to the country, when all he really did was to ensure that much of the country belonged to him.

By the end of 19th century, the fact is that India was already Britain's biggest cash cow, the world's biggest purchaser of British goods and exports and the source for highly paid employment for British civil servants. We literally paid for our own oppression. And as has been pointed out, the worthy British Victorian families that made their money out of the slave economy, one fifth of the elites of the wealthy class in Britain in 19th century owed their money to transporting 3 million Africans across the waters. And in fact in 1833 when slavery was abolished and what happened was a compensation of 20 million pounds was paid not as reparations to those who had lost their lives or who had suffered or been oppressed by slavery but to those who had lost their property.

I was struck by the fact that your Wi-Fi password at this Union commemorates the name of Mr Gladstone - the great liberal hero. Well, I am very sorry his family was one of those who benefited from this compensation.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Flute Lessons

79481835

Date: 2025-03-03 18:31:57
Score: 1
Natty:
Report link

I had exactly the same use case and I reached out to Clerk's support.

They responded that this is definitely possible and they pointed me to this blog from Turso: https://turso.tech/blog/why-we-transitioned-to-clerk-for-authentication that gives some hints on how they used Clerk with their CLI.

I haven't tried it myself yet but I thought to share it!

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: George Eracleous

79481833

Date: 2025-03-03 18:29:56
Score: 1.5
Natty:
Report link

Currently, there is no way to select the desired version (this is a limitation of the developer offering the solution Odoo in this case), with a new deployment you are directed to the latest version.

Please get in touch with the Odoo support directly via:

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

79481831

Date: 2025-03-03 18:28:56
Score: 3.5
Natty:
Report link

I'm writing to report an issue with my lnstagram account. Recently When l try to log in to my account, l'm experiencing the following problem: You Submitted an Appeal On 7 February 2025

My account details are:

: Username: [_valeriiya_24]

: Email:

[email protected]

Phone Number: 0985693012

Please fix Soon as possible. Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Contains signature (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Valeriiya

79481830

Date: 2025-03-03 18:27:56
Score: 4
Natty: 4.5
Report link

This is application for naming photo before capture. It's easy and function

https://play.google.com/store/apps/details?id=com.lumir.TakeNamedPhoto

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lukas Lumir Hubert

79481825

Date: 2025-03-03 18:25:55
Score: 2.5
Natty:
Report link

This has nothing to do with your project. It's a warning in the plugin you've added, nothing to worry about.

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

79481824

Date: 2025-03-03 18:25:55
Score: 2
Natty:
Report link

Had the same issue, I managed to solved by this two line of code from mysql MaraiDB(xampp shell)

MariaDB [(none)]> SET time_zone = '+00:00'; Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> SET GLOBAL time_zone = '+00:00'; Query OK, 0 rows affected (0.001 sec)

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

79481819

Date: 2025-03-03 18:24:55
Score: 0.5
Natty:
Report link
$ find dir01 -type f -path "*/dir03/myfile.txt"
dir01/dir02/dir03/myfile.txt
dir01/dir04/dir05/dir03/myfile.txt

You probably don't need -type f but it felt instinctual for me to include it

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

79481818

Date: 2025-03-03 18:24:55
Score: 2
Natty:
Report link

As of 3/2025, @AidaMartinez is right on the money. I had Type set to Python instead of Spark. The screenshot of the AWS console shows off what I'm talking about. The commands likely are similar in a script editing capacity.

screen shot of Job details

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

79481811

Date: 2025-03-03 18:23:54
Score: 0.5
Natty:
Report link

It is possible to host a Streamlit app in SageMaker Studio, but apps running in a JupyterLab space require access to that specific Studio environment. This means only Studio users can access Streamlit dashboards hosted on SageMaker.

Currently, SageMaker Studio doesn't offer a feature to share dashboards with external users (or publicly).

A workaround could be to create a lightweight container image with the Streamlit application and deploy it using ECS or EKS, with the necessary access controls in place.

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

79481802

Date: 2025-03-03 18:19:53
Score: 0.5
Natty:
Report link

Some of the trickiest code involves checks and checkmates, and stalemates, promotions

Write some separate independent code that works as a chess engine. That code can be asked questions about various board positions from the code managing Tiles/Grid/Board

For example if the chess engine can't find any legal move that gets the player whose turn it is out of check, that's checkmate. Similar for stalemate when the king is not in check

Likewise, for castling, en passant, don't allow them if the chess engine hasn't

To get started you could borrow an open source chess engine or load a binary. There is a standard interface for loading chess engines that works in several programming languages, probably all the popular ones.

Then if you need some extra information that you can't get either customize an open source one or write your own.

I would argue that you should start out architecting it around the chess engine first. That way you make the chess engine do most of the work. All your UI layer has to do is refuse moves that are not on the list of legal moves.

I found this out the hard way.

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

79481801

Date: 2025-03-03 18:18:53
Score: 1.5
Natty:
Report link

I'm afraid you're using a very old version of OpenDaylight. The package org.opendaylight.netconf.restconf-nb-bierman02/1.7.4.SNAPSHOT is:

  1. Almost 7 years old (released on 2018-12-05).
  2. Removed from the latest OpenDaylight releases.

I suggest using a more recent version of OpenDaylight and referring to the following tutorial to migrate your application from the draft to RFC8048.

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

79481800

Date: 2025-03-03 18:18:53
Score: 2.5
Natty:
Report link

The syntax you used is correct, but when building your Next.js application, it uses the empty variable. This may be due to the way environment variables are injected during the build process.

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

79481799

Date: 2025-03-03 18:18:53
Score: 2.5
Natty:
Report link

As someone said, "something else must be happening". I found out that we are using ThrowContextEnricher which provides the exactly 'functionality' I was confused about.

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

79481785

Date: 2025-03-03 18:13:52
Score: 1
Natty:
Report link

Yes, in Carbon 3.x, diffInSeconds() now returns a signed value, unlike Carbon 2.x, which always returned positive.

Fix:

Use abs() to get a positive value:

$duration_in_secs = abs($time_after->diffInSeconds($time_before));

Or swap the arguments:

$duration_in_secs = $time_before->diffInSeconds($time_after);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Foysal Rahman

79481778

Date: 2025-03-03 18:10:51
Score: 1
Natty:
Report link

You can also offload some environment variables over to Parameter Store or Secrets Manager.

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

79481768

Date: 2025-03-03 18:07:50
Score: 3.5
Natty:
Report link

As @JohnH suggested, seems like having SET SEARCH_PATH TO XXX at the beginning of each transaction is enough for PgBouncer operating in transactional mode.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @JohnH
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mikhail Shulga

79481744

Date: 2025-03-03 17:56:47
Score: 4.5
Natty:
Report link

If anyone wants to do this in Swift, I made a library based on Myndex's answer that you may find useful: https://github.com/gregmturek/color-perception

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

79481736

Date: 2025-03-03 17:52:47
Score: 1.5
Natty:
Report link

A couple of checks... is the yamada.gltf model accessible? Check the Network tab of your browser to see if the model is actually retrieved or does it generate a 404 error?

Then, if it is accessible, try using a hiro preset to see if the marker can be used to display the yamada model.

TLDR; check for availability of model and then scale/position of model. Then it is mainly due to GPS coordinates. Remember that GPS coordinates need to be more precise. A 0.5 change can put you miles away.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Abhijit Karnik

79481734

Date: 2025-03-03 17:51:46
Score: 2
Natty:
Report link

This is not an error, you are just stuck on breakpoint. If you click on blue sticker at line 120, you will disable it and execution is going to continue.

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

79481725

Date: 2025-03-03 17:48:45
Score: 3.5
Natty:
Report link

Update: About an hour after acknowledging the Paid Apps Agreement, the app subscriptions worked as designed.

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

79481709

Date: 2025-03-03 17:38:43
Score: 5
Natty: 4
Report link

Do you still have a copy of this GATS Generators data? I am starting to work with this dataset and noticed that PJM does not publish an archive. So I am looking for some historic files to identify any changes over time.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: newuser12345

79481696

Date: 2025-03-03 17:29:41
Score: 6 🚩
Natty: 4
Report link

Extension to this problem, I do face the similar issue that my jenkins slave node taking lot of time to provision in ECS Fargate. In the ECS it showing the node is provisioning. In the cloudwatch it showing the following Error.

i.j.plugins.sqs.SqsPollerImpl#getMessagesAndDelete: Error to retrieve messages from . java.net.MalformedURLException: no protocol:

any idea on this?

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): face the similar issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Bellamkonda Narendra Venkata S

79481689

Date: 2025-03-03 17:25:40
Score: 3
Natty:
Report link

simply just decompile an apk and hit the marked button

gradle project will be store in your PC

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

79481687

Date: 2025-03-03 17:24:39
Score: 3.5
Natty:
Report link

I disabled "Highlight Active Indent" in my settings, and its resolved, not sure if I've created other problems! <3

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

79481685

Date: 2025-03-03 17:24:39
Score: 1
Natty:
Report link

I have faced with this problem too. You used incorrect path to mount here:

COPY --from=builder /home/builder/target/wiremock-transformer-1.0.jar /home/wiremock/extensions/

Correct path /var/wiremock/extensions/

Because of this your extension cannot be found

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

79481683

Date: 2025-03-03 17:24:39
Score: 3
Natty:
Report link

Neither of these answers are the solution as they don't allow you to open SEVERAL at once..

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

79481678

Date: 2025-03-03 17:22:39
Score: 1
Natty:
Report link

I would suggest to only add the form once on the page. And then use JavaScript to show the form when opening the accordion. Then you need to make sure, that only one accordion item can be opened at time showing the form.

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

79481671

Date: 2025-03-03 17:21:38
Score: 0.5
Natty:
Report link

You can easily set and get any Electron state using the electron-store library.

First, install the library using npm i electron-store -D

main.js

import Store from 'electron-store';

function createWindow() {
  // Initialize electron store
  const store = new Store();
  
  // Create the browser window with previous store settings
  const mainWindow = new BrowserWindow({
    ...
    width: store.get('width') || 640,
    height: store.get('height') || 360
  });

  // Save window states for later
  function storeWindowState() {
    const [width, height] = mainWindow.getSize();
    store.set('width', width);
    store.set('height', height);
  }

  // Save window size after resizing
  mainWindow.on('resized', storeWindowState);
  mainWindow.on('maximize', storeWindowState);
  mainWindow.on('unmaximize', storeWindowState);
}

If needed, you can also save the window position using the moved event: https://www.electronjs.org/docs/latest/api/browser-window#event-moved-macos-windows

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

79481670

Date: 2025-03-03 17:20:38
Score: 5.5
Natty: 5
Report link

Iam trying something similar but cannot get it to work. can you please elaborate on how you got the udp stream to play on the vlc media player.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please elaborate
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nado

79481668

Date: 2025-03-03 17:20:38
Score: 2
Natty:
Report link

I know this is an old question but I ran into a similar problem and my solution was to create a top level .env file and then just create a sym link to it in each of the folders for the containers I wanted that .env file to be accessible for, this works.

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

79481663

Date: 2025-03-03 17:16:37
Score: 2.5
Natty:
Report link

Open the cube in Visual Studio then click on Extension tab -> Model -> Translations and export an empty json, then edit it as you want for the required dimensions, after that you import the edited json translation and deploy the cube.

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

79481654

Date: 2025-03-03 17:12:35
Score: 4
Natty:
Report link

The answer is in the question.

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

79481652

Date: 2025-03-03 17:11:35
Score: 14.5
Natty: 9.5
Report link

I have the same problem as you, do you have a solution?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (3): have a solution?
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hưng Vũ

79481648

Date: 2025-03-03 17:09:34
Score: 3.5
Natty:
Report link

I sure af don't understand any of this so why in the hell is this stuff in my system logs someone pls pls lmk

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Monique Alexander Kane

79481647

Date: 2025-03-03 17:09:34
Score: 3
Natty:
Report link

A: By putting the FAB and a TextView with the same elevation in a FrameLayout.

Source: https://stackoverflow.com/a/39518405/343825

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Henrik Erlandsson

79481642

Date: 2025-03-03 17:08:34
Score: 5
Natty:
Report link

Newbie here but maybe create different turtles so that they can follow a + 1 or + 2 for how many patches they are allowed to move per tick?

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

79481636

Date: 2025-03-03 17:05:33
Score: 3
Natty:
Report link

{reduxCart.length > 0 ? ( reduxCart.map((item) => ....

The problem lies here. There is no need for "(" or ")" in this expression

{reduxCart.length > 0 ? reduxCart.map(...) : ....}

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

79481634

Date: 2025-03-03 17:05:33
Score: 1.5
Natty:
Report link

You must check again whether what you're running is actually what you wrote.

You should make a double check about the green "run" button in the Pycharm IDE. Sometimes, Clicking this button will run another project you wrote directly, instead of the pygame project you wrote.

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

79481633

Date: 2025-03-03 17:04:33
Score: 3.5
Natty:
Report link

You can try implementing your own MessageConverter which will determine for what packages it should be used, as it is done here:

https://stackoverflow.com/a/36689772/9956901

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

79481624

Date: 2025-03-03 16:59:32
Score: 3.5
Natty:
Report link

xmlSchemaSetValidStructuredErrors is also a good way to get errors.

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

79481622

Date: 2025-03-03 16:58:31
Score: 4.5
Natty: 5
Report link

Triggers are now available in preview in CockroachDB v25.1: https://www.cockroachlabs.com/docs/stable/triggers

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

79481617

Date: 2025-03-03 16:56:30
Score: 1
Natty:
Report link

Firebase CLI takes -j, --json option to format output in JSON rather than text.

Other options and commands can be listed with firebase --help.

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

79481614

Date: 2025-03-03 16:55:30
Score: 2.5
Natty:
Report link

This is intensly frustrating. ALL of the guidance on YOUTUBE and in LBO help says simply enter the function and it will just work. Some say compile some don't. I 'm on Fedora 41 and it does not work!!! I made the 'VOL' function as suggested by LBO help and 'nothing'!!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: JiMM

79481610

Date: 2025-03-03 16:53:30
Score: 1.5
Natty:
Report link

For even df_even = df.iloc[::2] For odd df_odd = df.iloc[1::2]

Then call either df_even or df_odd

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

79481607

Date: 2025-03-03 16:52:30
Score: 2
Natty:
Report link

The answer for tfjs-npy-node is to install a different library @tensorflow/tfjs-backend-cpu and import import "@tensorflow/tfjs-backend-cpu" into the project. Idk if there is a fix for npyjs yet.

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

79481599

Date: 2025-03-03 16:50:29
Score: 1.5
Natty:
Report link

I think the fastest and the easiest way to implement this is going for Throughput Shaping Timer

In combination with Concurrency Thread Group and Feedback function it will only be required to configure the Throughput Shaping Timer like this:

enter image description here

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

79481597

Date: 2025-03-03 16:49:29
Score: 2
Natty:
Report link

Hey just figured this out myself. Looks like the button to open the form has an option for Single-click: Button can only be clicked once and it's enabled by default (not sure why??)

If you disable this, it should (hopefully) allow everyone on the channel to submit.

Steps

  1. Click the Edit button (pencil icon) on the message that's being sent to your channel (will probably be step 1 in your workflow)
  2. Click the Edit button (pencil icon) on the button in the bottom 'button' section
  3. Uncheck the setting for 'Single-click - Button can only be clicked once'

I'm not allowed to post pictures directly to Stackoverflow yet, so I have to add a link to the pic, but here's what it should look like.

https://i.sstatic.net/Um6ezL7E.png

Reasons:
  • Blacklisted phrase (0.5): why?
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nick Schneider

79481589

Date: 2025-03-03 16:45:28
Score: 1
Natty:
Report link

Clustering is meant to be used on point features. You can't use it directly on other geojson types (lines, polygons etc..)

I would rethink what you are trying to accomplish. If you are just trying to show a count of routes available, in each group, you can retrieve them and put them into a popup or render them into a sidebar.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrew-Sepic

79481585

Date: 2025-03-03 16:43:27
Score: 0.5
Natty:
Report link

The pip-compatible interface of uv is:

uv pip 

and NOT uv run pip!

If you look at uv pip --help, then the -e (--editable) option is listed there.

So, try simply:

uv pip install -e .

and not: uv run pip install -e ..

And simply remove the run inbetween.

I haven't tested it yet - just yesterday in the night read about uv and was fascinated. But reading your question I was like - but why "uv run pip" and not uv pip?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Gwang-Jin Kim

79481584

Date: 2025-03-03 16:43:27
Score: 1.5
Natty:
Report link

It's not currently possible to do this with the Generally Available release of ML Runtime and Notebook. However Snowflake does have this functionality available in Private Preview utilising a 'Headless' mode of execution, where you can initiate execution from an external client e.g. VSCode. If your interested in participating in the Private Preview you can reach out to your Snowflake Sales/Technical representative who can assist in getting you added to the Private Preview program.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Fieldy

79481582

Date: 2025-03-03 16:43:27
Score: 3
Natty:
Report link

try just opening a google doc or something and sharing it with your friend, then you can both chat just the same.

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

79481579

Date: 2025-03-03 16:42:27
Score: 0.5
Natty:
Report link

You can simply use the following syntax

import pandas as pd
df = pd.DataFrame(columns=['A', 'B', 'C'])
df[['D', 'E', 'F']] = None
print(df)

This creates an empty dataframe with columns from 'A' to 'F' with below result

 >>Empty DataFrame
 >>Columns: [A, B, C, D, E, F]
 >>Index: []
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pramod B R

79481571

Date: 2025-03-03 16:40:26
Score: 9 🚩
Natty: 5.5
Report link

Hi how did you solve this ...I am facing same issue

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rabia Anand

79481570

Date: 2025-03-03 16:40:26
Score: 2
Natty:
Report link

This happened to me because I was trying to install and run a 64-bit Windows Service binary that was included as a dependency in the output directory of an AnyCPU project. I had to switch the AnyCPU project to be 64-bit.

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

79481567

Date: 2025-03-03 16:39:25
Score: 2.5
Natty:
Report link

Elimination technique is used for LL parsers and it needs a grammar that can be parsed by LL parsers. Those grammars are called LL grammars which are subset of context free grammar. Therefore not all context free grammar are LL or can be transformed to LL. That's why this algorithm fails. I have to check whether the grammar is LL or LL-convertible.

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

79481562

Date: 2025-03-03 16:35:25
Score: 2.5
Natty:
Report link

Already solved this a while ago. think I found the problem, putting this together for you I found it. A bit confused how this happened. Probably one of my kids when I was not looking sorry to waste your time. I will just look up the correct line and fix it sigh oh the problem is - _EXPORT_STD template <class w, class _Duration = typename _Clock::duration> the w should not be there. So a simple typo from my 5yr old touching my keyboard. Thanks for the response

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

79481560

Date: 2025-03-03 16:34:25
Score: 1
Natty:
Report link

You can also include the color mapping vector in get_con():

geom_conn_bundle(data = get_con(from = from, to = to, color = data_df_color_mapping), 
                   aes(color = color, alpha = .3, width = 2)

I had a similar problem and found this solution in this post.

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

79481557

Date: 2025-03-03 16:33:24
Score: 2.5
Natty:
Report link

So as the guy above me said, it calls that function, though imo it is too much bloated code, this should do the trick. I did this and it did what I wanted it to, nothing. Do mine if you prefer non-bloat and if your stack_chk or so works idk. Use his if you want a working "__stack_chk_fail_local" or so. Thanks.

int __stack_chk_fail_local = 0; This will resolve the error. atleast for me

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: llcch

79481551

Date: 2025-03-03 16:32:24
Score: 4
Natty: 5
Report link

thanks for the answer. its working fine now

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anish Adhikari

79481550

Date: 2025-03-03 16:32:24
Score: 2
Natty:
Report link

I had similar problem, and it was because a local repository setted in my Nuget.config. To solve I added 'AllowInsecureConnection' to true in my local repository. .

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

79481544

Date: 2025-03-03 16:29:23
Score: 3
Natty:
Report link

I wanted to share that I did some digging through the clerk discord and found an unofficial code example for this using Node.js. Here it is, I plan on using it as a reference for my CLI tool. https://github.com/clerk/cli-auth-unofficial-example

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

79481541

Date: 2025-03-03 16:29:23
Score: 1
Natty:
Report link

Maybe it helps you:


        _app.add_widget(Button(text='open settings', 
                               size=_app.size, 
                               pos=_app.pos, 
                               on_release=self.DoOpenSettings))

...

    def DoOpenSettings(self, bla):
        self.close_settings()
        self.destroy_settings()
        self.open_settings()

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