79328007

Date: 2025-01-04 00:54:22
Score: 1.5
Natty:
Report link

Yes according to the AWS documentation for elastic load balancers, changing the Scheme requires replacement.

Scheme

Required: No

Type: String

Allowed values: internet-facing | internal

Update requires: Replacement

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

79328005

Date: 2025-01-04 00:52:21
Score: 4
Natty:
Report link

After upgrading to v4.37.1 and facing this same issue, I ran wsl --update

Still facing the same issue, I unchecked 'Enable integration with my default distro"

My Docker displays : "You don't have any WSL 2 distros installed. Please convert a WSL 1 distro to WSL 2, or install a new distro and it will appear here."

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: emeka

79327996

Date: 2025-01-04 00:45:18
Score: 6 🚩
Natty: 5.5
Report link

I have the same problem by in visual studio 2022, i solvent: Delete the old file exp FacturacionDataSet.Designer.cs and using the new FacturacionDataSet1.Designer.cs. thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Erick Guardado

79327991

Date: 2025-01-04 00:39:16
Score: 4
Natty:
Report link

If someone needs an implementation in spring-boot, wish u find it helpful: https://github.com/yaeby/TextFromImage.git

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

79327972

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

Try this package.

It provides a fast, simple, and movable slider.
It can be used in connection with tkinter as well as other GUIs other than pyqt.

https://pypi.org/project/seolpyo-mplchart/

seolpyo-mplchart

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: django.seolpyo.com

79327971

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

Try this package.

It provides a fast, simple, and movable slider.
It can be used in connection with tkinter as well as other GUIs other than pyqt.

https://pypi.org/project/seolpyo-mplchart/

seolpyo-mplchart

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: django.seolpyo.com

79327952

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

I found a solution to this. Apparently it is an issue with corrupted volumes You have to stop all the containers, prune the volumes, then restart

  1. docker compose down
  2. docker volume prune
  3. docker compose up -d
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oluwatobi Emmanuel

79327940

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

Try using CDate(Range(A1).Value), this converts the values to a date on the fly https://learn.microsoft.com/en-us/office/vba/language/concepts/getting-started/type-conversion-functions

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

79327939

Date: 2025-01-03 23:47:06
Score: 2.5
Natty:
Report link

I believe Solaris threads are a combination of user and kernel scope. See this ref

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

79327938

Date: 2025-01-03 23:46:05
Score: 4
Natty:
Report link

pls check if you have correct java version into runner enter image description here

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

79327933

Date: 2025-01-03 23:42:04
Score: 1.5
Natty:
Report link

I created a script to extract the unicode code point map from Google Fonts: https://github.com/terros-inc/expo-material-symbols

This can then be used after adding the font that can be downloaded from Google's releases page: https://github.com/google/material-design-icons/releases/latest

For example:

import glyphMap from './map.json'
const MaterialSymbols = createIconSet(glyphMap, 'Material Icons', 'MaterialIcons-Regular.ttf')
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: techied

79327932

Date: 2025-01-03 23:41:03
Score: 7 🚩
Natty: 5
Report link

Años despues, este articulo me ha ayudado mucho. Muchas gracias al señor Gwang. Muy clara su expliacion y la mejor respuesta a este problema.

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (2): gracias
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ruben Bermudez

79327925

Date: 2025-01-03 23:32:01
Score: 3
Natty:
Report link

Thank you very much: @JB-007, @z.. & @Spectral Instance; I truly appreciate your attention to this issue. For brevity, I ended up using the formula: =CONCAT(IF(ISNUMBER(SEARCH(C$1:C$11,A1)),D$1:D$11,"")) and it worked on my work laptop (M365) and also worked (briefly) on my home laptop (Microsoft Student Office 2019), but when I moved my reference table, Cols C & D, to their own worksheet (Sheet2!) is where I ran into problems.

  1. Like I said it worked as long as all the content stayed in the same worksheet, except Excel put brackets ({}) around my formula: enter image description here
  2. I moved my small example table to its own worksheet, Sheet2: enter image description here
  3. When I ran my updated formula, I got no value at all in the cell. Then when I clicked on the Formula Wizard, Excel completely crashed and shut down. enter image description here

I am assuming these issues are probably all linked to the destination version of Excel I'm using, but I'd rather hear from you. Thank you once again for your help!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @JB-007
  • User mentioned (0): @Spectral
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Umby

79327924

Date: 2025-01-03 23:32:01
Score: 1
Natty:
Report link

Open file descriptors mean that JVM has open connections, which unfortunately cannot survive checkpoint dump via CRIU. Apparently, that's java specific problem, because CRIU claims that it persists open sockets and whatnot in linux.

Use org.crac.Resource to close and restore anything that opens sockets.

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

79327922

Date: 2025-01-03 23:31:01
Score: 0.5
Natty:
Report link

In Spark, xxhash64 does not use a customizable seed; it may default to 0 or a predefined value. In Python, xxhash.xxh64() requires an explicit seed, which defaults to 0 if not provided.

So, first find the seed used in Spark (consult the documentation or test values). then apply the same in Python.

import xxhash seed = 0 # Replace with the actual seed value used in Spark print(xxhash.xxh64('b', seed=seed).intdigest())

Reasons:
  • No code block (0.5):
Posted by: Ali Saberi

79327912

Date: 2025-01-03 23:22:59
Score: 3.5
Natty:
Report link

providing an empty ssl-ca will raise this error as well..

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

79327909

Date: 2025-01-03 23:20:58
Score: 1
Natty:
Report link

Reza Dorrani has a video and a GitHub repository (linked in the video description) that provides a solution for a dynamic form in Power Apps.

It requires a second list to supply the list of fields, or "properties" as you mentioned.

He provides the ability to convert the form fields to JSON and write it to a list, as well as convert the JSON to a collection.

HTH

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

79327908

Date: 2025-01-03 23:19:58
Score: 1
Natty:
Report link

Characters with accents, such as á, é, í, ó, ú, which I use because I work with the Spanish language, can be displayed correctly in the listings using the following configuration:

\lstset{
literate=%
{á}{{\'a}}{1}
{é}{{\'e}}{1}
{í}{{\'i}}{1}
{ó}{{\'o}}{1}
{ú}{{\'u}}{1}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ángel Reyes Guzmán

79327905

Date: 2025-01-03 23:19:58
Score: 1
Natty:
Report link

Another option might be using a new version of a library I programmed that I have just uploaded to make it public.

It is based on pdfbox.

It is not mature yet but it is a good improvement compared to the previous version.

I am open to work together with somebody who is for making it better. ([email protected])

A link for downloading it: Java Pdf table extraction library v2.0

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Francisco Javier Rojas

79327896

Date: 2025-01-03 23:09:56
Score: 2.5
Natty:
Report link

In the end, I programmatically edited the faulty jar-dependency bytecode (and stripped the impacted methods/classes from the superfluous annotation) as part of my gradle build, through a gradle "TransformAction" class (and a bytecode editor library; javassist in my case).

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

79327890

Date: 2025-01-03 23:06:56
Score: 3.5
Natty:
Report link

If possible, the class name should start with a capital letter, and the first letter of the word that appears after it should also be capitalized.

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

79327881

Date: 2025-01-03 22:59:54
Score: 1.5
Natty:
Report link

You can always determine R2. All you need to do is to determine the naive model, (in this case can be a simple average). You take your predicted values, observed values and naive model predicted values. R2 is simply:

R2 = 1- Sum of squares (predicted, observed)/ Sum of squares (predicted_naive model, observed)

That is all.

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

79327858

Date: 2025-01-03 22:44:50
Score: 2
Natty:
Report link

The same problem happens to me. I'm also on windows, and I have a strong suspicion, that that's causing the problem. Can anyone write an answer, that doesn't use WSL? I tried updating pip, npm and node, and reinstalling all of the servers (emmet_lsp, clangd, pyright) none of them worked. I tried the kickstarter config, and everything worked in there, except for the Lsp. I'm truly lost.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Flórián Filkóházi

79327853

Date: 2025-01-03 22:42:49
Score: 7.5 🚩
Natty: 4.5
Report link

Did you find the solution for this problem? i am also exposed to it now

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the solution
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the solution for this
  • Low reputation (1):
Posted by: Abdelrahman Hammam

79327848

Date: 2025-01-03 22:39:48
Score: 0.5
Natty:
Report link

Instead of

precision_curve, recall_curve, thresholds = precision_recall_curve(y_test, y_scores)

it should be

precision_curve, recall_curve, thresholds = precision_recall_curve(1-y_test, y_scores)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: oliver13

79327838

Date: 2025-01-03 22:34:47
Score: 0.5
Natty:
Report link

This is what I came up with

import tkinter as tk

def notifyTkInter(message):
    root = tk.Tk()
    root.geometry('400x100+1500+900')
    lbl = tk.Message(root,  fg='black', border=1, text=message, width=200, font=("Arial", 15))
    lbl.pack()
    root.mainloop()

notifyTkInter("Hello World")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SomeGenericDev

79327836

Date: 2025-01-03 22:32:47
Score: 1
Natty:
Report link

ensure your server supports multisite if it does then add custom code to .htacess and wp-confi files

adding the code define( 'WP_ALLOW_MULTISITE', true );

.htacess /* Multisite */ define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); // Set to true if using subdomains define( 'DOMAIN_CURRENT_SITE', 'example.com' ); // Your main site domain define( 'PATH_CURRENT_SITE', '/' ); // The path where the network is installed define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );

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

79327833

Date: 2025-01-03 22:30:46
Score: 1
Natty:
Report link
Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: velazcod

79327825

Date: 2025-01-03 22:27:45
Score: 1
Natty:
Report link

You don't need to have 2 React apps. The correct way is to use your controller to validate and redirect to the correct place, depending on the user's roles.

When you validate users, you can return to a different page using Inertia->render and passing the necessary props for each page. In that view, you can import whatever component you need for your interface, but creating two different React apps is not the best approach.

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

79327824

Date: 2025-01-03 22:27:45
Score: 1
Natty:
Report link

Yes, you can subclass Net::HTTP, override the private on_connect method, then use setsockopt on @socket.io.setsockopt to set the socket options including TCP Keepalive, e.g.

class KeepaliveHttp < Net::HTTP
  def on_connect
    @socket.io.setsockopt(Socket::SOL_SOCKET, Socket::SO_KEEPALIVE, true)
    @socket.io.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPIDLE, 5)
    @socket.io.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPINTVL, 20)
    @socket.io.setsockopt(Socket::SOL_TCP, Socket::TCP_KEEPCNT, 5)
  end
end

Inspired by this answer: https://stackoverflow.com/a/73704394/994496

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Emil O

79327815

Date: 2025-01-03 22:23:44
Score: 2
Natty:
Report link

I was facing a similar situation as I was trying to brute force a canary in a ctf pwn challenge. Your code exploit looks good buts it is missing a few things. You should make the process connection,p, also global. Don't forget to close the processes before the next iterations so that you don't get an OSError number 24.

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

79327799

Date: 2025-01-03 22:14:42
Score: 1.5
Natty:
Report link

Here is something that worked for me:
transition: ease-in-out 1s;
Though it looks kind of weird while it's growing, at least it's working (for me).

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Unhsihas Illapevras

79327793

Date: 2025-01-03 22:10:41
Score: 2.5
Natty:
Report link

I just press "ctrl-v", to highlight the line. Then "alt-k" or "alt-j" to move it up or down respectively.

Not sure if it works on all nvim versions. I use LazyVim.

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

79327787

Date: 2025-01-03 22:07:41
Score: 2.5
Natty:
Report link

GET file:///E:/main-KPJ5OKOH.js net:ERR_FILE_NOT_FOUND

This kind of error usually happens when your index.html uses absolute paths to scripts, styles, etc., like /main-KPJ5OKOH.js. Electron will look of the file in the system's (or drive's) root directory. The same issue occurs when you have <base href="/"> in index.html, which seems to be inserted by Angular by default.

What you can do is setting the the base URL to something like . or ./ either in your angular.json, index.html, or via build flag:

ng build --base-href .

See also:

Reasons:
  • Blacklisted phrase (1): How should I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: mwopitz

79327784

Date: 2025-01-03 22:06:40
Score: 0.5
Natty:
Report link

I was here trying to reference an Azure DevOps parameter (as apposed to a variable) in a bash script step of my Pipeline. My script wasn't in a file; it was defined in the YML itself.

I eventually figured it out: instead of prefixing the reference in a dolor-sign and wrapping in parenthesis like $(), I needed to wrap my parameter reference in double brackets like ${{ }}.

Here is my YML:


parameters:
 - name: name
  displayName: Customer Name
  type: string
  default: ABC
  values:
  - ABC
  - DEF
  - GHI

# ...

    - bash: |
        my_cli --customer ${{ parameters.customer }}

Utilizing bash environment variables didn't seem to work for me, but maybe it could have. See Examples | Bash@3 - Bash v3 task for more on that.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patrick Byers

79327776

Date: 2025-01-03 21:59:39
Score: 0.5
Natty:
Report link

Edit- looks like it was low battery power on my mac. Once it was plugged in then it worked fine.

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

79327771

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

I also had the same problem so I built my own tool maven-module-graph.

Try it out on this project: https://github.com/eclipse/steady/tree/3d261afe9513f7c708324aa0183423ab2e9e4692

$ java -jar maven-module-graph-1.0.0-SNAPSHOT.jar --project-root . --plain-text output.txt --plain-text-indent 0

You can also use indent to show the hierarchy in the modules. Json format is also available.

org.eclipse.steady:root:3.2.5
org.eclipse.steady:rest-backend:3.2.5
org.eclipse.steady:rest-lib-utils:3.2.5
org.eclipse.steady:frontend-bugs:3.2.5
org.eclipse.steady:frontend-apps:3.2.5
org.eclipse.steady:plugin-maven:3.2.5
org.eclipse.steady:cli-scanner:3.2.5
org.eclipse.steady:kb-importer:3.2.5
org.eclipse.steady:patch-lib-analyzer:3.2.5
org.eclipse.steady:patch-analyzer:3.2.5
org.eclipse.steady:repo-client:3.2.5
org.eclipse.steady:lang-python:3.2.5
org.eclipse.steady:lang-java-reach-soot:3.2.5
org.eclipse.steady:lang-java-reach-wala:3.2.5
org.eclipse.steady:lang-java-reach:3.2.5
org.eclipse.steady:lang-java:3.2.5
org.eclipse.steady:lang:3.2.5
org.eclipse.steady:shared:3.2.5
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AMAN SHARMA

79327768

Date: 2025-01-03 21:53:37
Score: 2
Natty:
Report link

I faced this issue when upgrading to splunk logging lib 1.11.8 and upgrading to a runtime using Java 17. I ended up downloading the splunk logger lib from github and debugging it directly - turns out the call to the Splunk HEC was failing with "invalid index". Updating the Splunk HTTP log4j config to add the splunk index associated with my Splunk token (index attribute) fixed the issue.

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

79327766

Date: 2025-01-03 21:51:36
Score: 2
Natty:
Report link

You need to move your fizzbuzz check up to the top of your if statements. 45 is divisible by 3 and so the if statement is passed, the contents executed and then no more checks are done.

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

79327762

Date: 2025-01-03 21:50:36
Score: 0.5
Natty:
Report link

RouterLink wasn't imported in app.component.ts

old code:

import { Component } from '@angular/core';
import {  RouterOutlet } from '@angular/router';


@Component({
  selector: 'app-root',
  imports: [RouterOutlet, RouterLink],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {
  title = 'angular-ecommerce';
}

Working Code:

import { Component } from '@angular/core';
import { RouterLink, RouterOutlet } from '@angular/router';


@Component({
  selector: 'app-root',
  imports: [RouterOutlet, RouterLink],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {
  title = 'angular-ecommerce';
}

My bad that was an easy fix I should've figured that out earlier

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jace Johnson

79327757

Date: 2025-01-03 21:48:33
Score: 9 🚩
Natty:
Report link

@rd.vdw do you have remote config i am having same issue can you share remote and host config for translate

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am having same issue
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: will smith

79327736

Date: 2025-01-03 21:40:30
Score: 2.5
Natty:
Report link

You could do this with a Custom Command using the LINX Custom Command.vi. You will have to code the functionality into the Arduino board's firmware by following the instructions here. Disclaimer: I am about to do this myself for the first time. I'll report here in the comments with any tips and gotchas I come up with across respectively.

Regards,

Paul

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (1): any tips
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul Sirianni

79327731

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

This is because your main() code never calls Client::set_a. And your update() does not modify anything in any Client instance.

Before asking questions, you have to run your code under the debugger, it should solve all problems like that.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79327725

Date: 2025-01-03 21:36:29
Score: 2
Natty:
Report link

The issue turned out to be incorrect configuration of the console UART. It seems that if the wrong UART is selected then bl31 gets stuck (and of course no console output appears in this case).

By default, ATF defines IMX_BOOT_UART_BASE=0x30890000 which is the address for UART2. This aligns with the block diagram supplied by Phytec 1, which incorrectly shows the serial debug console wired to UART2. In fact, the console is wired to UART1 (0x30860000).

Setting IMX_BOOT_UART_BASE=0x30860000 enables ATF to access the console and allows the boot process to continue.

Thanks to @Frant for the helpful suggestions - while the issue turned out to be something else, the suggestion to print the contents of x0 on the UART led me down the right path to find the real problem.

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

79327718

Date: 2025-01-03 21:31:27
Score: 2.5
Natty:
Report link

https://www.itdroplets.com/iis-php-and-windows-authentication-run-as-a-service-account/

In Section (1), go to system.webServer/serverRuntime and change authenticatedUserOverride from UseAuthenticatedUser to UseWorkerProcessUser (2). Make sure you click on Apply.

Dropping this here so when I forget in the future I can look it up again. This is what resolved the issue for me. :)

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

79327708

Date: 2025-01-03 21:26:26
Score: 0.5
Natty:
Report link

This is an old question, but the existing answers are incorrect in 2024. It is now possible for server-side code to distinguishing incoming XHR requests from non-XHR requests by looking at the "Sec-Fetch-Dest" request header. In all modern browsers now the Sec-Fetch-Dest value for XHR requests is the literal string "empty". For non-XHR requests it's something else.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest

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

79327705

Date: 2025-01-03 21:25:26
Score: 3.5
Natty:
Report link

I am also having the same problem at the moment.

As pointed out in https://stackoverflow.com/a/7476709/11025934 they don't expect the client_secret to stay secret. That being said the thread that is being quoted is really old (from 2011) and it seems weird that they haven't fixed that or in their words "phased it out".

To me this means that they treat the client_secret the same as the client_id. If that's the case, then it is probably ok to use it. My problem with this however is that adding a Desktop OAuth 2.0 client in https://console.cloud.google.com/auth/clients does not require a redirect_uri and I believe this is a big security risk.

As shown above, there doesn't seem to be a redirect_uri field for a Desktop application OAuth 2.0 client.

For me there are 2 solutions:

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am also having the same problem
  • Low reputation (1):
Posted by: Panagiotis Vasileiou

79327696

Date: 2025-01-03 21:22:25
Score: 3
Natty:
Report link

Ensure that you invalidate the cache with all 3 checkboxes checked. When I left them unchecked, it did not work for me. Also, I had an issue with the terminal window immediately closing and after doing it, it was resolved.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gdoodle Dev

79327694

Date: 2025-01-03 21:21:24
Score: 10.5 🚩
Natty:
Report link

I am having the same problem here. If any solution is available, please reply in comment!

Loads of thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1.5): please reply
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (3): thanks in advance
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Low reputation (1):
Posted by: Sriram Ganesh

79327692

Date: 2025-01-03 21:20:23
Score: 2.5
Natty:
Report link

I just ran into this error. I was querying data from a view, and landing it to a table. When I ran INSERT INTO []..SELECT.. I got a truncation error on one of the columns on the destination table. ADF simply was complaining with 'Received an invalid column length from the bcp client for colid'

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

79327685

Date: 2025-01-03 21:16:22
Score: 1
Natty:
Report link

Sometimes it may so happen that you move your main folder and forget to update the new path in the Pylance icon on the window's down-right side. Just updating to the new path worked for me.

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

79327682

Date: 2025-01-03 21:14:22
Score: 2.5
Natty:
Report link

This can also happen when you upgrade to say, java 17 from java 8 and you don't have JAVA_HOME set. In my case, because I used to use jenv to manage my JDKs and it doesn't work via JAVA_HOME, it would fail with the same error.

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

79327681

Date: 2025-01-03 21:12:21
Score: 4
Natty: 4.5
Report link

Hmmmm... Software like FreeTube and no problem! 👍

https://www.slo.ru/files/video_players/freetube

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

79327680

Date: 2025-01-03 21:10:20
Score: 0.5
Natty:
Report link

In case if you are using CMake, a potential reason could be incorrect usage of add_subdirectory(IncoRRECTCase) which later can be interpreted incorrectly with Unity builds as an example.

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

79327677

Date: 2025-01-03 21:09:20
Score: 1
Natty:
Report link

I tried to run the same code locally and works fine for me.

Screenshot of the successful run

Please try to execute the script directly from powershell using the following command:

python mysql.py

To ensure that the problem is not the IDLE shell.

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

79327668

Date: 2025-01-03 21:00:18
Score: 0.5
Natty:
Report link

Try another port number

I tried everything in this thread to forward to port 50111, which I was doing without issue on Windows 10. I could only connect to it by using the wsl address directly.

Get your hostname:

<WINDOWS CMD PROMPT>$ wsl.exe hostname -I
172.20.48.194 172.17.0.1

For this example, I will use my host IP:172.20.48.194, remember to substitute your host IP.

Add a rule in C:\Windows\System32\drivers\etc\hosts

172.20.48.194 wsl

Results:

<WINDOWS CMD PROMPT>$ curl http://localhost:25001
--- WORKS: got expected output
<WINDOWS CMD PROMPT>$ curl http://localhost:50111
curl: (7) Failed to connect to localhost port 50111 after 2208 ms: Could not connect to server

Lesson: try other port numbers. There is some information out there referring to ports past 50000 as ephemeral ports used mostly for output.

This was all without any port forwarding. However, if I want to refer to my own IP (instead of localhost), I get this:

curl http://192.168.1.100:25001
curl: (7) Failed to connect to 192.168.1.100 port 25001 after 2035 ms: Could not connect to server

To fix this I needed to do 2 things:

  1. Open this port on my machine. For a reasonably "how to" explanation see this: https://support.warriortrading.com/support/solutions/articles/19000113122-how-to-open-ports-in-windows-10-and-windows-11-firewall
  2. Forward the port:
netsh interface portproxy set v4tov4 listenport=25001 listenaddress=* connectport=25001 connectaddress=wsl

WARNING: Opening the port seems to be immediate, but forwarding the port can take a few moments.

Wait for a little bit before testing less than 2-3 minutes at most.

After opening the port:

<WINDOWS CMD PROMPT>$ curl http://192.168.1.100:25001
--- WORKS: got expected output

So:

  1. You can connect to ports running in WSL via localhost on your machine with no configuration. But there seem to be ports that do not automatically work, avoid them.
  2. If you want to access your WSL port from outside your Windows machine you will need to:
Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: BruceJo

79327650

Date: 2025-01-03 20:50:16
Score: 2
Natty:
Report link

make sure you have done what @raphael said you should do. if issue persist,

python manage.py makemigrations --merge
python manage.py migrate --fake
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @raphael
  • Low reputation (0.5):
Posted by: Idris Olokunola

79327646

Date: 2025-01-03 20:50:16
Score: 0.5
Natty:
Report link

To directly answer your question, the problem is in the {:ok, _storage} = Supervisor.start_child(supervisor, {Usersystem.Storage, name: {:via, Registry, {Usersystem.Registry, "storage"}}}). First, there is no name in child_spec, the closest field you might find is the id, but it also does not solve your issue, since this id is local to the supervisor. Your tuple is valid enough for starting the supervisor, but the {:via, Registry, _} does not mean registering it in the registry table. You need to add this tuple to the Usersystem.Storage server instead:

defmodule Stackoverflow do
  require Logger

  def start() do
    opts = [strategy: :one_for_one, name: Usersystem.Supervisor]

    {:ok, supervisor} = Supervisor.start_link([], opts)

    # The supervisor starts a registry table, which can be used by servers later
    {:ok, _} =
      Supervisor.start_child(supervisor, {Registry, keys: :unique, name: Usersystem.Registry})

    {:ok, _storage} =
      Supervisor.start_child(
        supervisor,
        # A map child spec, check https://hexdocs.pm/elixir/1.12/Supervisor.html#child_spec/2
        %{
          # {Module callback, function callback from module, params to the function (in this case ignored)}
          start: {Usersystem.Storage, :start_link, [:ok]},
          # This id is internal to the supervisor, it is only recognizable under `Usersystem.Supervisor`
          id: :storage
        }
      )

    # I did not imported Plug.Cowboy since this example does not need it
    # {:ok, _router} = Supervisor.start_child(supervisor, {Plug.Cowboy, scheme: :http, plug: Usersystem.Router, options: [port: 8080] })

    res = Registry.lookup(Usersystem.Registry, "storage")

    sup_children = Supervisor.which_children(Usersystem.Supervisor)

    Logger.info("registry response: #{inspect(res)}")
    # [info] registry response: [{#PID<0.149.0>, nil}]

    # I will not log the long response, but note how the supervisor logs the storage child with the `:storage` id we provided
    Logger.info("Supervisors children response: #{inspect(sup_children)}")

    {:ok, supervisor}
  end
end

defmodule Usersystem.Storage do
  use GenServer

  def start_link(_) do
    # This will register the server properly in the Usersystem.Registry table under "storage"
    GenServer.start_link(__MODULE__, [], name: {:via, Registry, {Usersystem.Registry, "storage"}})
  end

  def init(_), do: {:ok, nil}
end

However, if you have only one storage server, maybe you don't even need the Registry. instead of GenServer.start_link(__MODULE__, [], name: {:via, Registry, {Usersystem.Registry, "storage"}}), you could just do GenServer.start_link(__MODULE__, [], name: :my_storage_server. Which makes the server start under the atom name you provided. Note that you could name this as :storage and it would not conflict with the supervisor child id also called :storage at all, since the sup id is internal, I'm just using a different name to make this example clearer. You can verify the name is reachable, by simply starting the supervisor and typing: Process.where_is(:my_storage_server), which will return the id of your server. When your server restarts, it will be registered under the same atom name, so it will be available without knowing its pid. Since it is a genserver, any process calling the GenServer.call/cast passing the my_storage_server as first parameter will find the storage server.

Some notes:

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gabriel Gonçalves Blankenburg

79327643

Date: 2025-01-03 20:50:16
Score: 3.5
Natty:
Report link

http://deol.free.nf/spectrum1.php

If link works, test it out. It worked

Reasons:
  • Whitelisted phrase (-1): It worked
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bhupinder Deol

79327637

Date: 2025-01-03 20:47:15
Score: 3
Natty:
Report link

use 2 nodes and balance requests between them so old requests continue executing in old root and new ones will go to a new one without breaking old sessions

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

79327631

Date: 2025-01-03 20:46:15
Score: 1
Natty:
Report link

Correct me if I am wrong, but variables with THIS scope in application.cfc will be accessible with the APPLICATION scope throughout your code outside of Application.cfc

datasource="#Application.datasource#"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Harold Price

79327623

Date: 2025-01-03 20:43:13
Score: 4
Natty:
Report link

This article has provided answer to the issue of JPARepository and CrudRepository. Hence its just about what you're implementing at the end of the day.

Reasons:
  • Blacklisted phrase (1): This article
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chinwendu Ochonma

79327608

Date: 2025-01-03 20:34:11
Score: 0.5
Natty:
Report link

BoxShadow.offset defines the direction in which the shadow is moved. It takes an Offset(dx, dy) object as a value. Where dx is offset by the x-axis and dy is offset by the y-axis.

Offset(0, 0):

enter image description here

No offset. The source of light is above the center of the container.

Offset(20, 0):

enter image description here

dx = 20. Shadow moved to the right 20px. The source of light is on the left side.

Offset(-20, 0):

enter image description here

dx = -20. Shadow moved to the left 20px. The source of light is on the right side.

Offset(0, 20):

enter image description here

dy = 20. I don’t see the logic here. Why the y-axis is directed down? If positive dx moves the shadow to the right, then positive dy should move the shadow up. But ok, we have what we have.

Offset(0, -20):

enter image description here

Offset(-20, -20):

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Yuriy N.

79327602

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

My 3rd party excel plugin would not SSL/TLS connect to SSL webapp server host. The .NETframework\v4 or v5 registry setting worked for me after a reboot- did not test the logout and back in method (idk if reboot was required). If you're root CA is in your Trusted root certificate authorities, that method will not work (even after reboot). You can check workstation ciphers: ps>get-tlsCipherSuite to get a list. The ps>enable-tlsciphersuite is good if you know your missing one on your workstation and you know what you're missing to add.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AsSceneOnTV

79327584

Date: 2025-01-03 20:20:07
Score: 0.5
Natty:
Report link

Matrix exponentiation solution with numpy:

import numpy as np

def fib(n):
    A = np.array([[1, 1], [1, 0]])
    return np.linalg.matrix_power(A, n)[0][1]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Vardan Grigoryants

79327583

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

another thing that might help is to go into .idea folder, then open compiler.xml. You should something like this:

make sure the path is correct and lombok version matches the one in your pom.xml.

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

79327578

Date: 2025-01-03 20:14:06
Score: 0.5
Natty:
Report link

Ok apparently I spoke to soon. This is the following code:

#Configure if using mods. 
ModEnabled="1" # If 1 = Install/update mods 
DayZModList=("1559212036" "1828439124" "2545327648"

#Update Mods
if [ $ModEnabled == "1" ];then
    printf "[ ${yellow}REALM-SERVER${default} ] Updating/Downloading Mod files!\n"
    for value in ${DayZModList[@]}; do
        ${HOME}/servers/steamcmd/steamcmd.sh +force_install_dir ${HOME}/servers/dayzserver/ +login "${SteamUser}"  +workshop_download_item 221100 "${DayZModList}" validate +quit
        printf "[ ${green}REALM-SERVER${default} ] Done downloading and updating Mod files!\n"
    done
else
    printf "[ ${red}Error${default} ] You have not enabled downloading and updating mods, skipping!\n"
fi

However, it skips everything after "1559212036", it doesn't actually download them.

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

79327561

Date: 2025-01-03 20:07:04
Score: 0.5
Natty:
Report link

Just add a couple of parentheses:

            ((std::clog << "[" << std::put_time(std::gmtime(&t), "%F %T") << "]" << "[DEBUG] ") << ... << args) << '\n';

This makes the fold expression well formed, by clearly identifying the "init" term.

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

79327555

Date: 2025-01-03 20:06:04
Score: 1.5
Natty:
Report link

SO won't let me add a comment... using the -M "text/html" option generates an error: s-nail: Only one of -M, -m or -q may be given s-nail (s-nail v14.9.22): send and receive Internet mail

I specify -M, -r, -s and multiple -a options, and for the input use a "heredoc" that contains the html code.

I don't know why it's complaining about "only one of -M, -m or -q" when that's what I have...

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

79327532

Date: 2025-01-03 19:56:02
Score: 0.5
Natty:
Report link

Inspired by @user10249692 I wrote a generic "hidden start" AutoHotKey script hstart.ahk:

; Abstract: hidden start 
;           start an application with a hidden window 
; 
;    Usage: hstart [-d] <app> [<arg1>...<argn>]
; 
;    -d shows the Run command argument and does not hide the app's window
; 
; 2025 Jan 2 jhm original creation
; 

#NoTrayIcon

if (a_args[1] = "-d") {
  debug := 1
  runOption := ""
  a_args.RemoveAt(1)
} else {
  debug := 0
  runOption = "Hide"
}

if (!FileExist(a_args[1])) {
  MsgBox, % a_args[1] . " file does not exist"
  exit
}

if (debug) {
  MsgBox, % Join(" ",a_args*)
}

Run, % Join(" ",a_args*),,% runOption
exit

Join(sep, params*) {
    for index,param in params
        str .= param . sep
    return SubStr(str, 1, -StrLen(sep))
}

Consider using the AutoHotKey ahk2exe compiler to add hstart.exe to your utility bin!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @user10249692
  • Low reputation (0.5):
Posted by: James

79327526

Date: 2025-01-03 19:54:02
Score: 1.5
Natty:
Report link

Thanks to @yuk's comments, I was able to narrow the problem down to the textshaping package (a dependent of ragg, which is a dependent of officer, which is a dependent of flextable). Upon a closer reading of this thread (How to unload a package without restarting R), I realized that unloadNamespace wasn't doing everything I needed. Instead, plugging in pkgload::unload("textshaping") before the plot functions solved the issue. Including library(textshaping) after I've rendered the charts puts it back in place just fine for when I need it later.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: bcarothers

79327523

Date: 2025-01-03 19:51:01
Score: 1.5
Natty:
Report link

I also experienced this issue in a @DataJpaTest. I had a class that had an auto-generated ID like below.

  @Id
  @GeneratedValue(generator = "system-uuid")
  @GenericGenerator(name = "system-uuid", strategy = "uuid2")
  private String id;

I was then setting this ID manually before calling .save(). After I stopped manually setting the ID before the save I no longer received this exception.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @DataJpaTest
  • Low reputation (1):
Posted by: chessgeek2000

79327521

Date: 2025-01-03 19:51:01
Score: 1
Natty:
Report link

you can use the 'printf();' function from the cstdio built in library to achieve the same speeds of the 'printf' function from the C language and removing the '\n' will also speed up your C++ program.

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

79327514

Date: 2025-01-03 19:49:00
Score: 0.5
Natty:
Report link

try this: const canvas = new fabric.Canvas('iCV', { backgroundImage: new fabric.Image(imageBG), })

Reasons:
  • Whitelisted phrase (-2): try this:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Türkmen Halil

79327511

Date: 2025-01-03 19:48:00
Score: 1
Natty:
Report link

This solution should address your requirements:

sed -Ei "s/^([[:space:]]*)([^#]*\b$a\b)/\1#\2/" file
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thibaut

79327509

Date: 2025-01-03 19:46:59
Score: 1
Natty:
Report link

I can't vouch for the binaries ever being gone, beyond what I see in this thread. But of the binaries seem to have returned to pecl as available binary downloads.

For example https://pecl.php.net/package/APCu/5.1.22/windows as requested by OP and https://pecl.php.net/package/APCu/5.1.24/windows for the latest.

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

79327505

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

This https://stackoverflow.com/a/65952397/6508873 was useful answer for me. I have put @DirtiesContext to my tests that use testcontainers and it solved no more exceptions like:

java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30008ms (total=10, active=10, idle=0, waiting=0)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mario Kusek

79327503

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

The only thing that magically worked for me was unchecking the "Internet Protocol version 6 (TCP/IPv6)" box in the Ethernet properties.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mustafa Zuberi

79327499

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

I would like to recommend the "Virtual Machines: Versatile Platforms for Systems and Processes" from the "The Morgan Kaufmann Series in Computer Architecture and Design", I think it's a great overview of virtualization techniques and applications.

Link on amazon: https://www.amazon.com/Virtual-Machines-Versatile-Platforms-Architecture/dp/1558609105

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

79327483

Date: 2025-01-03 19:34:56
Score: 2.5
Natty:
Report link

you should check luke chang's Spatial Navigation, it has all that you need and it's easy to increment/modify it's functions based on your needs.

luke-chang Spatial Navigation

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

79327480

Date: 2025-01-03 19:33:55
Score: 4.5
Natty: 4.5
Report link

https://learn.microsoft.com/en-us/answers/questions/1866035/how-to-set-an-existing-online-meeting-to-an-event

Check this out maybe this can help.

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

79327475

Date: 2025-01-03 19:30:55
Score: 0.5
Natty:
Report link

Tharun Tej Yerra was kinda right, problem was about creating a local variable "status" instead of changing global "status", also function math.fabs() didn"t worked idk why. I'm putting working code below:

from tkinter import *
window = Tk()
frame = Frame(window).grid()

files = []
btn=[]
status=[]

def click_update(btn,i):
    def in_func(btn,i):
        global status
        if status[i]==0:
            status[i]=1
        elif status[i]==1:
            status[i]=0
        if status[i]==1:
            btn.config(bg="black")
        if status[i]==0:
            btn.config(bg="white")
    return(lambda: in_func(btn,i))
    
for i in range(2500): #to tylko do testów
    files.append("button"+str(1))
    
for i in range(len(files)):
    status.append(int(0))
    btn.append(Button(frame,font=("Arial",3),width=2,height=2))
    btn[i].grid(row=int(i//50),column=int(i%50),sticky="we")
    btn[i].config(bg="white", command=click_update(btn[i],i))
    
window.mainloop()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BarszczKZ

79327473

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

try this version

pip install opencv-python==4.5.3.5

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aroop Josy

79327467

Date: 2025-01-03 19:26:54
Score: 2.5
Natty:
Report link

After try a bunch of different approach's, from dozens of sources, I stumble across below solution provided by Tobias J.

"Starting with .NET 6, it is finally possible to work with time zones in a cross-platform manner, so these manual workarounds are no longer needed. There no need anymore for external libraries, with this native solution you can translate from and two any pair of timezones, using either windows or iana timezone id.

The TimeZoneInfo.FindSystemTimeZoneById(string) method automatically accepts either Windows or IANA time zones on either platform and converts them if needed."

Below is the link to the original solution by Tobias. How to translate between Windows and IANA time zones?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Alberico Lima

79327465

Date: 2025-01-03 19:25:53
Score: 4.5
Natty: 4.5
Report link

But roc = round(roc_auc_score(y_test, test_scores))

is for supervised learning,

In the above example, if there is no ground truth, can we use roc auc? if yes,how?

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

79327459

Date: 2025-01-03 19:23:52
Score: 5
Natty:
Report link

I think u better to use openssl to ensure the responses are the same.

tar cvf foo.tar ./foo
openssl sha1 foo.tar

reference

  1. https://stackoverflow.com/a/57931341/2876087
  2. https://www.geeksforgeeks.org/tar-command-linux-examples/
  3. How to installing sha1sum in MAC OS?
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Alpha

79327452

Date: 2025-01-03 19:20:51
Score: 1
Natty:
Report link

Finally I found a way to do what I needed, this is the function I used:

 def filter_measurement(stationid, measure, input_json):
        if input_json:
    
            data = jmespath.search("""
               sensors[].{
               value: data[].""" + measure + """,
               time: data[].ts,
               sensor_id: lsid
               }
               """, input_json)
    
            result_dic = []
    
            for i in data:
                if i["value"]:
                    num_values = len(i["value"])
                    for val in range(num_values):
                        date_val = datetime.fromtimestamp(i["time"][val])
                        result_dic.append({"station_id": stationid, "sensor_id": i["sensor_id"], "measurement": measure, "datetime": str(date_val), "Year": date_val.year, "Month": date_val.month, "Day": date_val.day, "Hour": date_val.hour, "Minute": date_val.minute, "value": i["value"][val]})
            return result_dic
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Claudia Sanchez

79327451

Date: 2025-01-03 19:19:49
Score: 11 🚩
Natty: 4.5
Report link

I have the same issue. Scaling down back down to 1 replica waits 5 minutes even though the cooldownPeriod is 10. Did you ever find the reason?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you ever find the
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Julien Roberge

79327442

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

I was not using await syntax on my custom expectation.

BAD

test("my test", async({fixture}) => {
  expect(fixture).customExpect()
}

GOOD

test("my test", async({fixture}) => {
  await expect(fixture).customExpect()
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Pinwheeler

79327434

Date: 2025-01-03 19:09:47
Score: 0.5
Natty:
Report link

you can use in your prompt:

yarn config set nodeLinker node-modules
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leandro Safra

79327432

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

enter image description here

idk if this helps anyone but in Runner -> Build settings under deployment, one of my Targeted Device Families for one of my build configurations also included Watch so I had to remove it to reflect the picture.

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

79327427

Date: 2025-01-03 19:06:46
Score: 0.5
Natty:
Report link

You can use Data Management API specifically looks at this workflow to publish a Cloud Workshared Revit Model. It is handy - provides options to publish Revit models with or without links

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

79327425

Date: 2025-01-03 19:05:46
Score: 1.5
Natty:
Report link

I had the same error message. I missed to install a RN package via npm install. After I installed teh package the error was gone.

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

79327422

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

After testing this out I figured the problem is a Rails issue with compiling assets. In development the issue is only present when using a class that hasn't been used elsewhere in the application already. Assets have to be precompiled again in order for new classes to show up. This is not an issue in production.

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

79327420

Date: 2025-01-03 19:02:46
Score: 1.5
Natty:
Report link

As of January 2025, the following is the case:

Client Version Works Displays other attachments (if any)
Thunderbird 128.5.1esr
Roundcube Webmail 1.6.0
SOGo Webmail 5.11.2 ⚠️ (only after user accepts warning about loading “external” images)
K-9 Mail 8.0
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: TuringTux

79327414

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

I want to remove all the cafe's plots that are far away from Transjakarta's line. I just want to show the cafe that intersects with Transjakarta's line because the radius range is only 200m from Transjakarta's line. How can I do that?

You just need to intersect your cafes' points with a 200-meter buffer around your transit lines.

import osmnx as ox

# get the transit lines near some point
point = (34.05, -118.25)
tags = {"railway": ["light_rail", "subway"]}
gdf_rail = ox.features.features_from_point(point, tags, dist=1500)
bbox = gdf_rail.union_all().envelope
gdf_rail = ox.projection.project_gdf(gdf_rail)

# get the cafes within 200 meters of the transit lines
tags = {"amenity": "cafe"}
gdf_poi = ox.features.features_from_polygon(bbox, tags).to_crs(gdf_rail.crs)
gdf_poi = gdf_poi[gdf_poi.intersects(gdf_rail.union_all().buffer(200))]
gdf_poi.shape

# plot the transit lines and nearby cafes
ax = gdf_rail.plot()
ax = gdf_poi.plot(ax=ax)

How can I show the legend title?

Previously answered at Title for matplotlib legend

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): can I do
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: gboeing

79327410

Date: 2025-01-03 18:57:45
Score: 0.5
Natty:
Report link

This would work just fine if you were passing in numeric values, but you are passing in strings within a SQL statement for your varchar arguments. Where are your quotation marks?

string Item1 = "123";
DateTime Item2 = DateTime.Now.AddDays(-3);
DateTime Item3 = DateTime.Now;

var result = await context.Set<string>().FromSqlInterpolated
            ($"EXECUTE proc @item1='{Item1}', @item2='{Item2.ToString()}', @item3='{Item3.ToString()}'")
            .FirstOrDefaultAsync();
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Xavier J

79327408

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

Messi answer worked for me, I just re run the step 6 "Create a DataFrame" before to starting the new table

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gonzalo Escajadillo

79327405

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

Only if they have a custom logic and if your services' tests are not directly covering that custom logic you already implemented in those DAOs

And I recommend that you install a test coverage analysis tool in order to check if the code is covered to a certain percentage

Up to you

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

79327403

Date: 2025-01-03 18:52:44
Score: 1.5
Natty:
Report link
  1. You could check it on a gem page. For example: https://rubygems.org/gems/d3-charts
  1. At github gem repo in file [gem-name].gemspec . Same example: https://github.com/bmalets/d3-charts/blob/master/d3-charts.gemspec
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Octocat