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

79327402

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

The real difference is reusability. The compiler will make the top-level stuff as private. The coding approach is quick and dirty, but may obviously present other challenges.

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

79327400

Date: 2025-01-03 18:50:43
Score: 11
Natty: 8
Report link

I have the same problem but I use k3s, so I don't have a kube-flannel.yml, what should I do?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (2): what should I do
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dami00

79327399

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

i think onclick event wouldn't be efficient to reach what you are looking for maybe instead you should use onplay/onpause. if you insisted on using onclick even you can attach it to the parent element div which has btm class element

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

79327384

Date: 2025-01-03 18:41:40
Score: 1
Natty:
Report link

Fantastic hack created by jeb!

But including their solution break some needed functionality:

@echo off& setlocal
<:GetCaller <nul call GetCaller.bat myCallerVar
echo I'm : "%~f0"
echo My arguments : %*
echo My caller : "%myCallerVar%"
endlocal& set "%~1=[%myCallerVar%]"& exit /b 0

In the last line, the set command just store and return a empty data and no longer works as intended.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bedfford Arroyo

79327363

Date: 2025-01-03 18:34:39
Score: 1
Natty:
Report link

Just prevent the default behavior of the form:

<form onSubmit={event => {
    event.preventDefault();
    form.handleSubmit(onSubmit)(event);
}}>

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

79327360

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

To make your mdlabel expand with the text, set the height property to this: height=self.texture_size[1]

However, you must understand that the containing parent widget must also have self.minimum_height as its height and None size_hint_y to accomodate the expansion of its child widget

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

79327359

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

I am just now learning to use this, so while I don't have an exact answer, I'd say that the url is incorrect. The url should lead directly to the image, direct image links will have .jpg/png and so on appended to the end.

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

79327354

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

I was able to pass the relevant information using System Properties. It all worked out well.

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

79327346

Date: 2025-01-03 18:27:37
Score: 1.5
Natty:
Report link

Something simple like this using lookup()?

enter image description here

You can edit the structure in the formula to match what you want as I am not sure as your multiplier expressions don't match what you have in your function.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Solar Mike

79327345

Date: 2025-01-03 18:27:37
Score: 1.5
Natty:
Report link

This works too

this.$scope.$watch(() => [
    this.number1,
    this.number2,
    this.myArray
  ],
  callback,
  true);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kspdrgn

79327342

Date: 2025-01-03 18:25:37
Score: 3.5
Natty:
Report link

sudo chown -R $(whoami):$(id -gn) /usr/lib/node_modules

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

79327334

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

This helped me: ./adb server -a

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Stefan Cizmar

79327333

Date: 2025-01-03 18:22:36
Score: 1
Natty:
Report link

So far this is my best answer from a previous question that made me think to write this post.

mydict = {'key1': 'valueA', 'key2': 'valueB', 'key3': 'valueC'}
key_list = list(mydict.keys())
counter = 0
for i in [key_list[0], key_list[2]]:
    counter = counter + 1

print('Looped through:', counter)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shane Gervais

79327325

Date: 2025-01-03 18:20:35
Score: 1
Natty:
Report link

GCC 15.0 supports it with -fsearch-include-path bits/std.cc.

gcc -std=c++20 -fmodules -fsearch-include-path bits/std.cc file.cpp

That will take a few seconds, once it’s done you'll have a cache file at gcm.cache/std.gcm. You’ll then be able to compile faster by removing -fsearch-include-path bits/std.cc from your command.

gcc -std=c++20 -fmodules file.cpp

References:

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

79327320

Date: 2025-01-03 18:18:34
Score: 11.5 🚩
Natty: 6.5
Report link

Please were you able to resolve this? I am currently facing exactly the same error

Reasons:
  • Blacklisted phrase (0.5): exactly the same error
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing exactly the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdulrahmon Adisa

79327314

Date: 2025-01-03 18:14:32
Score: 5
Natty: 6.5
Report link

This article explains these endpoints in great detail https://techcommunity.microsoft.com/blog/azurearchitectureblog/understanding-azure-synapse-private-endpoints/2281463

Reasons:
  • Blacklisted phrase (1): This article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bakhrom T

79327299

Date: 2025-01-03 18:07:30
Score: 1
Natty:
Report link

What V8's Ignition Does

V8’s Ignition is responsible for converting the Abstract Syntax Tree (AST) of JavaScript code into bytecode. But instead of compiling the entire code to machine code right away, Ignition first creates a compact intermediate representation (bytecode). This helps speed up the initial execution of code, enabling the program to start running faster.


In short, Ignition helps V8 process JavaScript code efficiently at runtime by first converting it into bytecode, ensuring that code can start running quickly while still leaving room for optimization later on with TurboFan.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Ernest Yoyowah

79327292

Date: 2025-01-03 18:04:29
Score: 2.5
Natty:
Report link

I’m a bit late but I got this to work: you just need to hash with a 42 but seed (I used mmh3 package):

mmh3.hash(‘Foo’,42)

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

79327290

Date: 2025-01-03 18:04:29
Score: 4.5
Natty:
Report link

The documentation for syscall.SyscallN is available here (note the query component in the URL): https://pkg.go.dev/syscall?GOOS=windows#SyscallN

Seems they have removed the documentation you mentioned. There is really just the function prototype and no text below. Sorry for asking in an answer, but can someone post a link to some documentation about SyscallN and related functions? The official docs have no text.

Reasons:
  • RegEx Blacklisted phrase (2.5): can someone post
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Andy Harper

79327286

Date: 2025-01-03 18:03:28
Score: 4
Natty:
Report link

Is there another application.cfc in the subfolder directory? If so, you need to copy the setting line to those as well.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there another
  • Low reputation (1):
Posted by: Jeff

79327281

Date: 2025-01-03 18:02:28
Score: 1.5
Natty:
Report link

For me what worked was first downloading the image to in your computer, then going to your downloads copying the image from there and there going to your VSCODE (cs50) and pasting to your file space. Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29042261

79327279

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

Binary search on the result (max-min edge cost). Use max flow min cost algorithm to validate the current edge cost.

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

79327272

Date: 2025-01-03 17:58:26
Score: 1.5
Natty:
Report link

The default for max_ongoing_requests was changed to 5 in a recent release, which is the most likely issue. Try tuning it upwards like:

@serve.deployment(max_ongoing_requests=100)
@serve.ingress(app)
class FastAPIDeployment:
    def __init__(self):
        self.connections = {}

    @app.websocket("/ws")
    async def websocket_endpoint(self, websocket: WebSocket):
        await websocket.accept()
        # Connection handling logic

Reference docs: https://docs.ray.io/en/latest/serve/configure-serve-deployment.html#configurable-parameters

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