79458221

Date: 2025-02-21 17:44:55
Score: 0.5
Natty:
Report link

I know it's been a while, but as of 2025, after days of searching, I discovered that unfortunately, mock doesn't work with Javascript ES6 (ECMAScript). Read here

// sample-module.js
export const value = 'value'
export const aFunction = () => 'a Function is called'
export default () => 'I am a default export'

export function add(a, b) {
  return a + b
}

Instead we must use jest.unstable_mockModule

// sample-module.test.js
import { expect, it, jest } from '@jest/globals'
import defaultExport2, { aFunction as oldFunction } from './sample-module.js'

console.log('oldFunction:', oldFunction()) // oldFunction: a Function is called
console.log('defaultExport2:', defaultExport2()) // defaultExport2: I am a default export


jest.unstable_mockModule('./sample-module.js', () => ({
  default: jest.fn(() => 'mocked that doesn\'t work'), // here doesn't work
  value: 'mocked value',
  aFunction: jest.fn(),
  add: jest.fn(),
}))

const { default: defaultExport, value, aFunction, add } = await import('./sample-module.js')
// const defaultExport = await import('./sample-module.js')

it('should do a partial mock', () => {
  expect(value).toBe('mocked value')

  const defaultExportResult = defaultExport.mockReturnValue('mocked default export')()
  expect(defaultExportResult).toBe('mocked default export')
  expect(defaultExport).toHaveBeenCalledTimes(1)

  aFunction.mockReturnValue('aFunction mocked')
  expect(aFunction()).toBe('aFunction mocked')

  add.mockImplementation((a, b) => a * b)
  expect(add(6, 12)).toBe(72)
})

it('add is an empty function', () => {
  expect(add()).not.toBeDefined()
})
Reasons:
  • Blacklisted phrase (1): I know it's been
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nima

79458216

Date: 2025-02-21 17:40:54
Score: 3
Natty:
Report link

java.lang.ArrayIndexOutOfBoundsException: Index 9 out of bounds for length 9

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

79458206

Date: 2025-02-21 17:35:53
Score: 1.5
Natty:
Report link

Adding

<Target Name="CollectSuggestedVisualStudioComponentIds" />

to the project file seems to have cured

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

79458191

Date: 2025-02-21 17:28:51
Score: 4
Natty:
Report link

Since the math itself is going to work the same way on both platforms (other than very minor floating point errors) it's likely an issue with how you're applying it, and possibly a performance issue. Two things come to mind for the choppiness:

However, it's difficult to say more without seeing the code. Can you post it?

And I'm not quite sure what you mean by a "tail". A screenshot could bring clarity.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you post
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ChrisOrris

79458189

Date: 2025-02-21 17:28:51
Score: 4
Natty:
Report link

My case was similar to @Valera - I accidentally put my instance in the wrong VPC (which I was using for testing) than the ECS service. Ooops! Very misleading error IMO from AWS.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Valera
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josh-LastName

79458185

Date: 2025-02-21 17:27:51
Score: 4
Natty:
Report link

go to project structure -> modules -> dependencies and select the correct dependency.

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: Akash Arora

79458183

Date: 2025-02-21 17:25:50
Score: 1.5
Natty:
Report link

I experience the same issue on net48 with a similar setup.

Debugging in to it reveals that the Default trace listener is added to trace listeners before the config file is parsed, and then the listeners defined in app.config are not loaded.

Calling Trace.Reset makes it work.

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

79458182

Date: 2025-02-21 17:25:50
Score: 3.5
Natty:
Report link

The logic above is skipping a defined field that is blank for all values on the file doesn't output the duplicate records / fields.

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

79458156

Date: 2025-02-21 17:12:48
Score: 1
Natty:
Report link

It is an open Feature Request in the Chromium bug tracker:

https://issues.chromium.org/issues/40736398

As alternatives, you could:

  1. ZIP all files and download the final joined file. If you do it client-side, take into consideration the final file size, as you have browser memory constraints.
  2. Start multiple downloads at the same time, but in this case, you might need to manage the download queue and handle errors, as different browsers/versions/user settings might affect how many files can be downloaded simultaneously.
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Vasile Razdalovschi

79458155

Date: 2025-02-21 17:12:48
Score: 1
Natty:
Report link

The issue occurs because the (.content div) is aligned to the left while the .card-layout wraps, making it appear off-center when the cards stack.

To fix this, wrap (.content) inside a flex container and center it using align-items: center; while keeping the header left-aligned inside (.content). Additionally, set align-self: center; on (.card-layout) to maintain centering when wrapping.

Alternatively, use max-width and margin: auto; on (.content) to ensure it remains centered while allowing the header to stay aligned to the left.

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

79458148

Date: 2025-02-21 17:09:47
Score: 1.5
Natty:
Report link

By design passthrough TCP load balancers will not close connections. I recommend to check on the client or application logs, as most likely the connection is "hang". Not sure if you have a proxy in front of your app which could close it or where you can analyze the traffic there.

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

79458138

Date: 2025-02-21 17:07:46
Score: 2.5
Natty:
Report link

I deployed a next app and the storybook app separately by not including a vercel.json. I made all the configurations directly in the vercel UI. Besides, I made the deploy config with the following: https://vercel.com/docs/projects/overview#ignored-build-step

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

79458131

Date: 2025-02-21 17:04:45
Score: 3.5
Natty:
Report link

Was not able to comment due to lack of reputation points :), but the lemma about median laying on the diagonal is not correct (also for odd sizes of X and Y) so I think it's better to write it down in some visible place. Let's take: X=[1,2,3,4,5] and Y = [10,20,30,31,50]

The resulting matrix is:

11 12 13 14 15

21 22 23 24 25

31 32 33 34 35

32 33 34 35 36

51 52 53 54 55

The median will be by definition the 13th element (counting from 1) and when we sort X+Y we get:

11 12 13 14 15 21 22 23 24 25 31 32 32 33 33 34 34 35 35 36 51 52 53 54 55

32 is a median and does not lay on the diagonal: 15 24 33 33 51.

For the linear complexity algorithm we already mentioned paper can be used: http://www.cse.yorku.ca/~andy/pubs/X+Y.pdf

While for O(nlogn) algorithm we have e.g.: http://euro.ecom.cmu.edu/people/faculty/mshamos/1976Stat.pdf

Either way very hard to figure out during the interview.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): reputation points
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cyryl Karpiński

79458120

Date: 2025-02-21 17:01:45
Score: 2
Natty:
Report link

also note that the filename can also cause such error to happen if it contains spacial characters.

"I tried the below file path but all of the below fail with above error message, I tried renaming the file to one without spaces and alphanumeric character and it works fine."

ref: https://learn.microsoft.com/en-us/answers/questions/858303/formrecognizer-rest-api-urlsource-formatting-issue

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

79458119

Date: 2025-02-21 17:01:45
Score: 5.5
Natty:
Report link

Mandarb Gune can you please specify how you changed the header to make it work?

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

79458109

Date: 2025-02-21 16:57:43
Score: 6.5 🚩
Natty:
Report link

I have similar problem. Downgrading to grpc-netty-shaded:1.65.1 is a workaround, but I am still looking for a better solution

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have similar problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrej Agejev

79458105

Date: 2025-02-21 16:53:42
Score: 0.5
Natty:
Report link

The Databricks SDK for Python has a built-in current_user API.

Below is an example in a Notebook source file:

# Databricks notebook source
# MAGIC %pip install --upgrade databricks-sdk
# MAGIC
# MAGIC dbutils.library.restartPython()

# COMMAND ----------

from databricks.sdk import WorkspaceClient

w = WorkspaceClient()

me2 = w.current_user.me()

print(me2)

https://databricks-sdk-py.readthedocs.io/en/latest/getting-started.html

https://databricks-sdk-py.readthedocs.io/en/latest/workspace/iam/current_user.html

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Adam Westbrook

79458093

Date: 2025-02-21 16:47:41
Score: 2
Natty:
Report link

I also ran into the problem of request/response logs not showing up in BQ after PATCH-ing.

I was able to fix by re-deploying my model to the patched endpoint.

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

79458085

Date: 2025-02-21 16:44:39
Score: 8 🚩
Natty: 4.5
Report link

download it and reinstall. i face same issue. by downloading it from this link help me to fix the problem

https://github.com/microsoft/WSL/releases/tag/2.0.15

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): help me to fix
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i face same issue
  • Low reputation (1):
Posted by: Raphael Ekpenisi

79458083

Date: 2025-02-21 16:44:39
Score: 1
Natty:
Report link

This will create an infinite number of ping.xxx files in the / of your running container image.

Keep that in mind.

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

79458074

Date: 2025-02-21 16:40:39
Score: 3
Natty:
Report link

After more digging, it is going to be simpler to write a Java program and process the jar file "top down" rather than use -Djava.system.class.loader

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

79458072

Date: 2025-02-21 16:40:39
Score: 3
Natty:
Report link

Having the button active, meant that users were more connected with facebook/meta and its products. Now people with distance further more from facebook/meta. Good luck facebook/meta with your gloomy future.

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

79458059

Date: 2025-02-21 16:34:37
Score: 3.5
Natty:
Report link

Groupchat doesnt allow agents with tool, instead we can use SelectorGroupChat or other conversation patterns to accommodate agents with tools/function calling.

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

79458058

Date: 2025-02-21 16:34:37
Score: 2
Natty:
Report link

From a Cplex instance use the get_version() method. It returns the Cplex version as a string:

cpx = cplex.Cplex()
cpx.get_version()

returns

'20.1.0.0'

For more, see:

https://www.ibm.com/docs/en/icos/22.1.1?topic=SSSA5P_22.1.1/ilog.odms.cplex.help/refpythoncplex/html/cplex.Cplex-class.htm

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

79458054

Date: 2025-02-21 16:33:37
Score: 0.5
Natty:
Report link

Thanks to the answer of @winner_joiner I fixed this.

Only addition I made: with wget I got the source of the script-files and I copied them files locally

<script src="sources/chart.js"></script>
<script src="sources/moment.js"></script>
<script src="sources/chartjs-adapter-moment.js"></script>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @winner_joiner
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TheGlasses

79458053

Date: 2025-02-21 16:33:37
Score: 0.5
Natty:
Report link

Maybe I am wrong but is the issue that a deeper nested component's api call(via hook) is being fired before the app has time to do some part of its authentication process. Meaning you get 401 since you haven't 'timed' some logic concerning the token in the app?

If this is the case, then it's because react builds the app bottom up, in that case the solution for me was to conditionally render the part of the app that requires some state to be set. In my app I simply have a useState(false) that is turned into 'true' by a simple effect.

{someState && <App />}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Freddy Momonosuke

79458051

Date: 2025-02-21 16:32:36
Score: 9.5 🚩
Natty: 4
Report link

Did you ever figure this out? I am having the same issue. For me it happens when I initialize google mobile ads.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever figure this out
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Austin Anderson

79458048

Date: 2025-02-21 16:32:36
Score: 3
Natty:
Report link

I just had this same issue.

To resolve I needed to install [email protected]

npm install [email protected]

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sujith kallingal

79458044

Date: 2025-02-21 16:30:35
Score: 5.5
Natty: 6.5
Report link

[enter image description here][1]

222222222222222222222 [1]: https://i.sstatic.net/pB7IHSkf.jpg

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Filler text (0.5): 222222222222222222222
  • Low reputation (1):
Posted by: Данил Шилякин

79458035

Date: 2025-02-21 16:27:34
Score: 0.5
Natty:
Report link

I had the same error. If you are converting a function to net8.0, make sure you have these three lines in your settings: "FUNCTIONS_WORKER_RUNTIME": "dotnet", "FUNCTIONS_EXTENSION_VERSION": "~4", "FUNCTIONS_INPROC_NET8_ENABLED": "1" That fixed it for me.

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

79458033

Date: 2025-02-21 16:25:34
Score: 1.5
Natty:
Report link

This issue is related to TransactionExpiredBlockheightExceededError.

The error TransactionExpiredBlockheightExceededError indicates that the transaction has expired because it was not confirmed within the allowed block height range. On Solana, transactions have a recent blockhash that is only valid for a limited number of blocks (approximately 150 blocks, or ~1 minute). If the transaction is not confirmed within this time frame, it expires and cannot be processed.

To transfer SPL tokens in TypeScript using the Solana Web3.js library, you need to include the latestBlockhash and potentially increase the priority fees to ensure your transaction is processed promptly.

You can check this link: https://docs.chainstack.com/docs/transferring-spl-tokens-on-solana-typescript

Good luck!

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: VietThanh Sai

79458031

Date: 2025-02-21 16:25:34
Score: 5
Natty:
Report link

The top left corner has a global base map of the North Pole

But I wanted to show the Eastern Hemisphere, not the North Pole.How do I change the below code?

import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import geopandas as gpd
import os
import numpy as np
import cartopy.io.img_tiles as cimgt

map_crs1 = ccrs.LambertConformal(central_longitude=105, standard_parallels=[25, 47])
map_crs2 = ccrs.LambertAzimuthalEqualArea(central_longitude=100)
data_crs = ccrs.PlateCarree()

fig, ax = plt.subplots(figsize=(16,9),subplot_kw={'projection': map_crs1})
ax.set_extent([78,128,15,56],crs=data_crs)
mini_ax1 = ax.inset_axes([.0, 0.72, 0.26, 0.26],projection=map_crs2,transform=ax.transAxes)

google = cimgt.GoogleTiles(style='satellite', cache=True)
extentd = [-180,180,-90,90]
zoomlev = 2
mini_ax1.set_extent(extentd, crs=data_crs)
imgfactory = mini_ax1.add_image(google, zoomlev)

enter image description here

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Chenqi Fang

79458029

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

you have to specify a WHERE condition to limit it to 7days

tablename.tablecolumnfordate >= CURDATE() - INTERVAL 7 DAY

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

79458028

Date: 2025-02-21 16:24:33
Score: 0.5
Natty:
Report link

Make sure that your request path in your HealthCheckPolicy configuration is a valid endpoint that returns 200 OK responses or else you will keep getting unhealthy status on your backend service. You can refer to this article for setting up your liveness check. Also, validate that your healthcheck is pointing to the correct port on which your service pod is listening and exposed.

You can also try switching your healthcheck type to HTTP instead of HTTPS and see if it helps.

          config:
            type: HTTP    # Switch to HTTP instead of HTTPS
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ponsy

79458025

Date: 2025-02-21 16:23:33
Score: 0.5
Natty:
Report link

An improvement on @Oswin's solution. This works for me. Replace conda list with your own command after testing.

import sys
import subprocess
executable = sys.executable
conda_init_shell = '/'.join([*executable.split('/')[:-4], 'etc/profile.d/conda.sh'])
conda_init_shell
cmd = f'. {conda_init_shell} && conda activate YOUR-ENVIORONMENT-HERE && conda list'
subprocess.run(cmd, shell=True)
Reasons:
  • Whitelisted phrase (-1): works for me
  • Has code block (-0.5):
  • User mentioned (1): @Oswin's
  • Low reputation (1):
Posted by: Martin David Grunnill

79458023

Date: 2025-02-21 16:22:33
Score: 3
Natty:
Report link

You may also use SystemTrayNotification.bat by npocmaka which does work without external tools and up to Windows 11.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Thomas H. Schmidt

79458014

Date: 2025-02-21 16:20:32
Score: 3
Natty:
Report link

@Shubham's answer didn't help me. I'm on Ubuntu Desktop 24.04 The error resolved by removing node_modules dir and re-installing the app. To be honest I have no idea what's going on my machine, coz I have 2 different machines with the same Ubuntu Desktop 24.04 - Asus PC 32GB RAM and Asus TUF Gaming Laptop with 16GB RAM and have that error even in google chrome when I 'm watching youtube videos. Dunno.

Reasons:
  • Blacklisted phrase (1): help me
  • No code block (0.5):
  • User mentioned (1): @Shubham's
  • Low reputation (0.5):
Posted by: Alexey Khachatryan

79458008

Date: 2025-02-21 16:18:32
Score: 2.5
Natty:
Report link

OpenSSF has started to develop Secure Coding for Python.

One Stop Shop for Secure coding in Python

It is using CWEs as its structure. It is designed for learning and research.

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

79458007

Date: 2025-02-21 16:16:32
Score: 0.5
Natty:
Report link

On Github it was pointed out that yfinance has changed the data frame to include MultiIndex parameters. The following code seems to work for me to resolve that.

import pandas as pd
import yfinance as yf
...

            stock = yf.download(Stock,period=ts,actions=True)   #   stock is dataframe used to find stock prices
            if isinstance(stock.columns, pd.MultiIndex):
                stock=stock.xs(key=Stock, axis=1, level=1)  # Extract relevant ticker's data
...

The only other issue I found was when looking at the market at 2 minute intervals the time was given in GMT so I had to subtract a couple hours for my time zone.

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

79458004

Date: 2025-02-21 16:15:31
Score: 2.5
Natty:
Report link

If i understand well you want nested groups with clipPath ?

┌─ Parent Group
│ 
├── ClipPath A : Frame
│ 
├──┌─ Child group
│  │
│  │
│  ├─ ClipPath B : Circle
│  │
│  ├─ Child objects [objects]
│  └─
└─

Example below

JS Fiddle (edited)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: DocAmz

79457997

Date: 2025-02-21 16:12:31
Score: 3
Natty:
Report link

deben actualizar Windows para que les funcione. sirve para errores: 1310 y 1500.

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

79457994

Date: 2025-02-21 16:12:31
Score: 1
Natty:
Report link

I used @DaveL 's answer above, but I had to add to the index.html file:

<link href="manifest.webmanifest" rel="manifest" crossorigin="use-credentials" />

The "crossorigin="use-credentials"" made it work. I found this months ago somewhere on the internet, but couldn't find it again. Adding it here just in case someone else has the same issue.

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

79457982

Date: 2025-02-21 16:08:30
Score: 3.5
Natty:
Report link

hjsgfusjksdg98skfsrhjgsoifhseiedhjemjerge aergtuiauhieroguGfuiwhfsdjkfhsefhweufhesugfweafbhRGUIhkKhugyvh ygucjfyuxhgyugiyfuchxyugc

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: koppany

79457978

Date: 2025-02-21 16:08:30
Score: 0.5
Natty:
Report link

I found a solution to my problem without need to run JavaScript when PDF-File is opened.

In case somebody need this, DateTime-Picker can be added to the PDF-Document using the following annotation. It basically adds script 'AFDate_FormatEx("dd.mm.yyyy")' for 'Format' and 'Keystroke' actions.

/AA <<
/F <<
/JS (AFDate_FormatEx\("dd.mm.yyyy"\))
/S /JavaScript
>> 
/K <<
/JS (AFDate_FormatEx\("dd.mm.yyyy"\))
/S /JavaScript
>> 
>> 
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3653175

79457974

Date: 2025-02-21 16:07:29
Score: 2
Natty:
Report link

Nginx reads and seek the config file multiple times. When nginx reads the file the first time the named pipe FIFO content is consumed, keeping nginx from verifying what it needs on a second read (like directives/includes etc.)

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

79457973

Date: 2025-02-21 16:07:29
Score: 2.5
Natty:
Report link

Have you tried?

module.exports = {
  images: {
    domains: ['res.cloudinary.com'],
  },
}

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Marta G

79457969

Date: 2025-02-21 16:06:29
Score: 1.5
Natty:
Report link

invisible border that occupies space

border: 2px solid rgba(255, 255, 255, 0)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Calvin

79457959

Date: 2025-02-21 16:04:29
Score: 1
Natty:
Report link

Wouldn't the easiest thing just to grep the source code for @GET, @POST, etc? If you want to avoid false positives, grep for the import statements for them. Doing this via code seems to be the wrong way.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @GET
  • User mentioned (0): @POST
  • Single line (0.5):
  • High reputation (-2):
Posted by: Gabe Sechan

79457957

Date: 2025-02-21 16:04:29
Score: 1
Natty:
Report link

Correct your Swagger URI request matchers.

Try below.

.requestMatchers("/book/**", "/swagger-ui/**", "/swagger-ui.html", "/v3/api-docs/**", "/auth/**", "/login").permitAll()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sushil Behera

79457954

Date: 2025-02-21 16:02:28
Score: 0.5
Natty:
Report link

I soved it by trying out dx 11 samples link it helped to say that when i created the orthographic camera i switched x and y values for my clip space which i even forgot to attach

void Camera::Init(float left, float right, float bottom, float top, float nearPlane, float farPlane)
{
    mySettings.myUsePerspective = false;
    myInverse = myTransform.GetMatrix().GetFastInverse();

    myClipSpace(1, 1) = 2.0f / (right - left);
    myClipSpace(2, 2) = 2.0f / (top - bottom);
    myClipSpace(3, 3) = 1.0f / (farPlane - nearPlane);
    myClipSpace(4, 4) = 1.0f;
    myClipSpace(4, 1) = -(right + left) / (right - left);
    myClipSpace(4, 2) = -(top + bottom) / (top - bottom);
    myClipSpace(4, 3) = -nearPlane / (farPlane - nearPlane);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Simon Henriksson

79457937

Date: 2025-02-21 15:56:27
Score: 0.5
Natty:
Report link

You will probably need to add the log value to both the x and y scale.

Example:

n=500

x = np.log(np.linspace(10, 1000, num = n))
y = np.log([random.randint(10, 1000) for _ in range(n)])

plt.scatter(np.sort(x), np.sort(y), alpha=0.6, edgecolor='k', s=130)


# Plot 45 degrees reference line
dmin, dmax = np.min([x,y]), np.max([x,y])
diag = np.linspace(dmin, dmax, 1000)
plt.plot(diag, diag, color='red', linestyle='--')
plt.gca().set_aspect('equal')

plt.yscale('log')
plt.xscale('log')

plt.show()

Output:

Figure

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

79457933

Date: 2025-02-21 15:53:27
Score: 0.5
Natty:
Report link

In my case, I was running things on an M2 Mini Mac running macOS 15.3.0 and this error happens whenever the Python binary is updated (I use micromamba, i.e. a conda environment).

I need to manually allow incoming connections on local network for some reason. Then the commands no longer fail.

enter image description here

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Cornelius Roemer

79457931

Date: 2025-02-21 15:52:26
Score: 2.5
Natty:
Report link

Reviewing the context you indicate, Python, TF, Keras is installed on your computer. However, the difficulty lies in the VScode interface, you must select the kernel for the “python environment” execution (upper right corner). More vscode details

I did a test with your lines of code using the default environment and then one with a correct environment, this worked without problem. when installing jupyter notebook on conda, this problem did not occur.

Look at the following images: environment error:Environment:: Pytorch2 python 3.12.19

environment successEnvironment:: Tf python 3.12.19

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Manrv

79457929

Date: 2025-02-21 15:51:26
Score: 5
Natty: 4.5
Report link

Direct link: gitleaks releases

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: user2595855

79457917

Date: 2025-02-21 15:47:25
Score: 3
Natty:
Report link

time.sleep(5) might solve the problem for you. The 5 can be replace with how long you want to wait

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

79457912

Date: 2025-02-21 15:46:24
Score: 0.5
Natty:
Report link

You could INDEX the row to do this:

=INDEX($B$2:$I$2,ROW()-2)=J3

Example: enter image description here

Note: you may need to adjust the number you substract depending on where your table starts on the sheet.

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

79457909

Date: 2025-02-21 15:45:24
Score: 1
Natty:
Report link

If you are just watching in the debugger and some value inexplicably appears to evaluate to null, make sure you don't have a System.Debugger.DebuggerDisplay attribute on that type which can evaluate to null under some circumstances!

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

79457908

Date: 2025-02-21 15:45:24
Score: 5.5
Natty:
Report link

Are you making sure you have no cookies with valid sessions when testing a route?

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

79457905

Date: 2025-02-21 15:43:23
Score: 2
Natty:
Report link

5 years latter I was struggeling with this issue, filly stupid mistakes thanks for posting your correction

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
Posted by: Gregoire Mulliez

79457904

Date: 2025-02-21 15:43:23
Score: 1
Natty:
Report link

The issue you're facing is due to Next.js's server-side rendering (SSR) behavior. When your Home component runs, it executes on the server at build time (or on demand with caching). This means that Math.floor(Math.random() * 9) is executed once on the server, and the result is sent to the client. Since the page is cached by default on platforms like Vercel, refreshing the page does not generate a new random number.

when using npm run dev, Next.js runs in development mode where it does not apply aggressive caching. Each request re-runs the function, so you get a new random value every time.

To fix this, move the random selection to the client side using useEffect, so a new question is picked whenever the page loads. Alternatively, use getServerSideProps instead of getStaticProps to ensure a fresh random question is selected on every request. The first approach is more efficient, while the second guarantees a new question even for bots and crawlers.

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

79457899

Date: 2025-02-21 15:42:23
Score: 3.5
Natty:
Report link

You can do pod bursting in GKE now

https://cloud.google.com/kubernetes-engine/docs/how-to/pod-bursting-gke

https://cloud.google.com/blog/products/containers-kubernetes/introducing-gke-autopilot-burstable-workloads/

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

79457896

Date: 2025-02-21 15:40:22
Score: 5
Natty: 5.5
Report link

Guest post test Guest post test2

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

79457892

Date: 2025-02-21 15:40:22
Score: 4.5
Natty:
Report link

this really helped !

I was struggling to get the option

Reasons:
  • Blacklisted phrase (1.5): this really helped
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pranit Jangada

79457890

Date: 2025-02-21 15:39:22
Score: 1.5
Natty:
Report link

Try restarting apache2 server:

sudo service apache2 restart
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fernando Moro

79457887

Date: 2025-02-21 15:38:21
Score: 2.5
Natty:
Report link

My Hostinger plan doesn't allow me to add websockets. So it wouldn't be productive for me to hire another server just for this.

I tried using AJAX, but it stopped working overnight. I don't know what could have happened, but now it doesn't even run the tests of writing to the screen with "script"

My code with AJAX:

<?php
    //OPÇÃO DE SELECIONAR ATENDIMEENTO PARA A CONVERSAR OU DE VINCULAR A UMA PESSOA CRIANDO NOVO ATENDIMENTO

    //COLUNA DA CONVERSA
        echo "<div class='col-md-6'>";

            // MENSAGEM AZUL É DO NUMERO DA META, UM SUPORTE ATENDENDO UM CLIENTE (SEND MESSAGE)
                // $_SESSION['messages']
            // MENSAGEM CINZA É DO CLIENTE, UM CLIENTE RESPONDENDO A META (WEBHOOK)

            set_time_limit(0); // Permite execução infinita

            include_once ("../webhook/db_connection/functions.php");
            include ("../whatsapp/functions.php");
            $dotenvPath = __DIR__ . '/../webhook/controllers/.env';
            if (file_exists($dotenvPath)) {
                $dotenv = fopen($dotenvPath, 'r');   // Carrega variáveis de ambiente do arquivo .env
                if ($dotenv) {
                    while (($line = fgets($dotenv)) !== false) {
                        putenv(trim($line));
                    }
                    fclose($dotenv);
                }
            } else {
                file_put_contents('php://stderr', "Arquivo .env não encontrado\n");
            }

            //$numeroCliente = '553193926517';  // Número do cliente
            $numeroCliente = $_GET['wa_from'];  // Número do cliente
            // Obtenha as mensagens iniciais
            $mensagens = buscarMensagensChat($conexao, $numeroCliente);
            $ultimoIdMensagem = buscarUltimoIdMensagemRecebida($conexao, $numeroCliente);
            //var_dump($ultimoIdMensagem);

            // --------------------------------------------------- Vincular a mensagem pendente ao usuario que abriu a mensagem
            

            ?>
            
            <!-- ------------------------------------------------- Script pra recarregar a pagina quando receber uma nova mensagem -->
            <script>
                console.log("Último ID da mensagem (JS):", ultimoIdMensagemJS);
                saida.innerHTML += "<br>Verificando novas mensagens...<br>";
                
                let ultimoIdMensagemJS = <?php echo json_encode($ultimoIdMensagem); ?>;
                console.log("Último ID da mensagem (JS):", ultimoIdMensagemJS);

                
                function recarregaPagina() {
                    const saida = document.getElementById('saida');
                    saida.innerHTML += "<br>Verificando novas mensagens...<br>";
                    saida.innerHTML += `<br><strong>Ultimo Id da mensagem:</strong> ${ultimoIdMensagemJS}<br>`;

                    fetch(`../whatsapp/msg.php?acao=executar&ultimoIdMensagemJS=${ultimoIdMensagemJS}&numeroCliente=${numeroCliente}`)
                        .then(response => {
                            saida.innerHTML += `<br><strong>response:</strong> ${response}<br>`;

                            // Verificar o status da resposta
                            if (!response.ok) {
                                throw new Error(`Erro na resposta do servidor: ${response.status}`);
                            }
                            return response.json(); // Converte a resposta em JSON
                        })
                        .then(data => {
                            //saida.innerHTML += `<br><strong>data:</strong> ${data}<br>`;
                            // Exibir a resposta do servidor na página
                            //saida.innerHTML += `<br><strong>Resposta do servidor:</strong> ${JSON.stringify(data)}<br>`;

                            if (data.recarregar) {
                                ultimoIdMensagemJS = data.novoUltimoIdMensagem;
                                //saida.innerHTML += `<p>Nova mensagem detectada! Recarregando a página...</p>`;
                                // Recarrega a página
                                //setTimeout(() => {
                                    location.reload(); // Recarrega a página
                                //}, 10000); // 5000ms = 5 segundos
                            } else {
                                //saida.innerHTML += `<p>Sem novas mensagens.</p>`;
                            }
                        })
                        .catch(err => {
                            // Imprimir o erro diretamente na página
                            //saida.innerHTML += `<p>Erro ao chamar a função: ${err.message}</p>`;
                        });
                }
                
                setInterval(recarregaPagina, 3000);     // Chama a função a cada 3 segundos
            </script>

            <?php

            // CORPO DA PÁGINA - <!-- Main content -->
            echo "<section class='content'>";
                echo "<div class='container-fluid'>";
    ............................... code +
Reasons:
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mares

79457884

Date: 2025-02-21 15:37:21
Score: 0.5
Natty:
Report link

Add to the Pipeline Settings (JSON not UI):

"event_log": {
    "name": "<table_name>",
    "schema": "<schema_name>",
    "catalog": "<catalog_name>",
    "visible": true
},

Then query the resulting table.

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

79457878

Date: 2025-02-21 15:36:21
Score: 1
Natty:
Report link

I believe the issue lies in the fact that you're using toList(), which returns an immutable list instead of mutable list. Could you change:

.toList()

to:

.collect(Collectors.toList())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aimene Nouri

79457876

Date: 2025-02-21 15:35:20
Score: 1.5
Natty:
Report link

I edited ~/snap/flutter/common/flutter/packages/flutter_tools/gradle/build.gradle.kts

to add

repositories {
    google()
    mavenCentral()
}

and it now works.

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

79457870

Date: 2025-02-21 15:34:20
Score: 0.5
Natty:
Report link

'code' is the built in shortcut to open VSCode in Mac terminal, but you need to enable it initially from VSCode.

Open the Command Palette (Cmd+Shift+P), type 'shell' or 'shell command', and run the Shell Command: Install 'code' command in PATH command.

Note: You can also see the uninstall option there as well.

See [here][1] for more details

[1]: https://code.visualstudio.com/docs/setup/mac#:~:text=Open%20the%20Command%20Palette%20(Cmd,editing%20files%20in%20that%20folder.

Reasons:
  • No code block (0.5):
Posted by: ng10

79457867

Date: 2025-02-21 15:33:20
Score: 1.5
Natty:
Report link

Recap: Bad File Discriptor Error

Some users are getting a Bad file descriptor error when uploading files to Google Drive. The uploads mostly work, but this error happens for a few users. OP finds out that the error is nothing to do with Google Drive but more on the library they are using.

Based on my experience, this error is usually related to file access. As mentioned in the comments, it can occur when the program attempts to access a file that either doesn't exist or for which it lacks the necessary permissions.

@James Allen clarified that the problem isn't with Google Drive, but with the misleading error message from the http library being used.

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

79457865

Date: 2025-02-21 15:32:19
Score: 3.5
Natty:
Report link

Turn off the Num keys and press 0. That should fix it

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

79457859

Date: 2025-02-21 15:30:19
Score: 1.5
Natty:
Report link

For environments that cannot easily upgrade to GLIBC_2.28 (e.g. Ubuntu 18), it is possible to get prebuilt binaries with glibc2.17 from https://unofficial-builds.nodejs.org/download/

Source: https://github.com/nodejs/node/issues/52241

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

79457853

Date: 2025-02-21 15:29:19
Score: 2.5
Natty:
Report link

be carefull !!

put

in all services !!!!!!!

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

79457852

Date: 2025-02-21 15:29:19
Score: 1
Natty:
Report link

don't overengineer it :-)

getOwnProcessId = getObject("winmgmts:\.\root\cimv2").ExecQuery("Select * From Win32_Process Where ProcessId=" & createObject("wscript.shell").Exec("rundll32").ProcessID).itemIndex(0).ParentProcessId

if oWShell and oWMI is already defined in your script:

getOwnProcessId = oWMI.ExecQuery("Select * From Win32_Process Where ProcessId=" & oWShell("rundll32").ProcessID).itemIndex(0).ParentProcessId

No need to actively terminate your temporarily created child-process:

rundll32 just terminates if called without parameter, but the exec-object is still properly initiated with the parentId information

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

79457845

Date: 2025-02-21 15:26:18
Score: 0.5
Natty:
Report link

I found a solution. The key is to pass the two apps to the worker:

import asyncio
import nest_asyncio
nest_asyncio.apply()

async def start_worker(worker: faust.Worker) -> None:
    await worker.start()

def manage_loop():
    loop = asyncio.get_event_loop_policy().get_event_loop()
    try:
        worker = faust.Worker(*[app1, app2], loop=loop)
        loop.run_until_complete(start_worker(worker))
        loop.run_forever()
    finally:
        worker.stop_and_shutdown()
        worker.close()

if __name__=='__main__':
    manage_loop()

And then to start the app you need to call

python test_faust.py worker
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: VMGA

79457842

Date: 2025-02-21 15:25:18
Score: 3.5
Natty:
Report link

The screenshot you shared of the error doesn't actually contain any error information, it just shows the usage output from UnrealBuildTool.

Since I can't see the log of what actually failed, and since you said you're relatively new to UE, I will recommend ensuring that you have installed and configured Visual Studio correctly. There are a number of additional components that you must explicitly configure in order for UBT to function.

See this official Epic doc on how to install and configure Visual Studio for UE dev.

After you ensure your VS installation is correct, try to Generate Project Files again. If that doesn't work, please share the new screenshot of the error (try to scroll up above the usage information to see the actual error).

Ideally instead of a screenshot, copy+paste the log if you can.

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Xist

79457817

Date: 2025-02-21 15:18:16
Score: 1
Natty:
Report link

The exception is caused by a failure to connect to the database.

It was using the production connection string because the ASPNETCORE_ENVIRONMENT environment variable was not set in the Developer Command Prompt.

The production connection string uses:

Authentication=Active Directory Managed Identity

The "local" connection string uses:

Authentication=Active Directory Interactive

I set the environment variable:

SET ASPNETCORE_ENVIRONMENT=local

Once it was using the correct Authentication for running from a local computer it was able to connect to the Azure SQL database and successfully scaffold the objects.

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

79457811

Date: 2025-02-21 15:16:16
Score: 0.5
Natty:
Report link

Oof, I tried like twenty different statsmodels methods and finally got what I want although I honestly don't really understand from the docs why this works and .predict or .forecast don't.

I finally got what I wanted using .apply(). For my data:

fore=model_fit.apply(endog=oos_df[outcome],exog=oos_df[[exog vars]])

And then I can retrieve the values using:

print(fore.fittedvalues)

Hope this helps someone who is wondering the same thing!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AustinC

79457809

Date: 2025-02-21 15:15:15
Score: 0.5
Natty:
Report link

Try to add this to .toml:

[versions]
kotlin_jvm = "2.1.20-RC"
// ...

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin_jvm" }

and add this to project .gradle file:

plugins {
    // ...
    alias(libs.plugins.kotlin.jvm) apply false
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Александр Кундрюков

79457805

Date: 2025-02-21 15:14:15
Score: 2
Natty:
Report link

The Git plugin now (at least since 5.7.0) has on option to delete untracked nested repositories.

Documentation: Remove subdirectories which contain .git subdirectories if this option is enabled. This is implemented in command line git as git clean -xffd.

enter image description here

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

79457804

Date: 2025-02-21 15:13:15
Score: 2
Natty:
Report link

You use API routes when you want to expose the data via the /API route. This might be useful when there are other apps outside of your current project that want to interact with the server.

If not, you should use server actions.

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

79457801

Date: 2025-02-21 15:12:14
Score: 0.5
Natty:
Report link

libguestfs does exactly this. Install it and then do:

virt-tar-out -a image.qcow2 / dump.tar

This will dump the whole image. You can also change / to /boot to only dump a subset.

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

79457790

Date: 2025-02-21 15:08:13
Score: 1
Natty:
Report link

I solved this problem by adding a setStatus (int code, String msg) method to Tomcat's Response class

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

79457789

Date: 2025-02-21 15:08:13
Score: 4
Natty:
Report link

Add robots.txt to /public folder.

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

79457787

Date: 2025-02-21 15:07:13
Score: 2.5
Natty:
Report link

enter image description here

Earlier I used the Selenium Java on Eclipse with both ways such as adding jars in classPath and/or via Maven POM.xml file and both worked. I tried both these ways in VSCode but both failed.

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

79457786

Date: 2025-02-21 15:07:13
Score: 1.5
Natty:
Report link

...a/com.termux/files/home/build/config.json.save.1 Modified "rdmsr": true, "wrmsr": true, "numa": true, "scratchpad_prefetch_mode": 1 }, "cpu": { "enabled": true, "huge-pages": true, "hw-aes": null, "asm": true, config.json config.json "max-threads-hint": 50, "pools": [ { "url": "stratum+tcp://sha256.poolbinance.co> "user": "Manuju.001", "pass": "123456", "keepalive": true, "tls": false } ] } }

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

79457778

Date: 2025-02-21 15:06:12
Score: 8.5 🚩
Natty: 6.5
Report link

Did you figure this out? I am trying to do something similar.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Did you figure this out
  • 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
  • Low reputation (1):
Posted by: Emily Jowers

79457771

Date: 2025-02-21 15:03:11
Score: 4
Natty:
Report link

@sensen, I just followed this tutorial successfully with QGIS (v3.34.15-Prizren)

My custom map style loaded into QGIS

Have you verified your style is public? Again - as stated in the tutorial my end point is structured as..

https://api.mapbox.com/styles/v1/YOUR_USERNAME/YOUR_STYLE_ID/wmts?access_token=YOUR_MAPBOX_ACCESS_TOKEN
Reasons:
  • Blacklisted phrase (1): this tutorial
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @sensen
  • Low reputation (0.5):
Posted by: Andrew-Sepic

79457765

Date: 2025-02-21 15:02:10
Score: 1
Natty:
Report link

Any reason to use it in initSate() ?

Use ref.watch(userDataNotifierProvider) in build function of your Widget.

You are printing the results before even network is fetching data.

With ref.watch() when your data is available widget rebuilds if its already been built.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: pbs_mhl

79457757

Date: 2025-02-21 14:58:10
Score: 0.5
Natty:
Report link

I had the same problem (my logs were identical), I spent almost 15 days without being able to get this problem through the CS50 check, it turns out that in the end the check looks for the convert() function to do the tests so I changed the name of my original function from "formart_verifier" to "convert" and only used that function in my test file (not one of the ones I created) and that did the trick. It only took me 2 weeks to figure it out.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cat Rivas

79457750

Date: 2025-02-21 14:55:09
Score: 1.5
Natty:
Report link

you can also use

ApplicationDBContext context = app.ApplicationServices.CreateScope().ServiceProvider.GetRequiredService<ApplicationDBContext>();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arash Ansari

79457747

Date: 2025-02-21 14:54:08
Score: 3
Natty:
Report link

You need write list, not specific element. Just use: print(list(x)), withnot [0] or different number.

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

79457732

Date: 2025-02-21 14:50:07
Score: 2
Natty:
Report link

KeyTweak - only this worked for me.

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

79457730

Date: 2025-02-21 14:48:07
Score: 0.5
Natty:
Report link

To authenticate a user using their database record's primary key, you may use the loginUsingId method. This method accepts the primary key of the user you wish to authenticate:

Auth::loginUsingId(1);

https://laravel.com/docs/11.x/authentication#authenticate-a-user-by-id

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

79457711

Date: 2025-02-21 14:44:06
Score: 1
Natty:
Report link

You probably mean this:

xAxis: {
   range: [0, 1],
}

It will stretch your chart horizontally so that it starts from the origin without offset. And their documentation does not make this clear.

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

79457707

Date: 2025-02-21 14:42:05
Score: 0.5
Natty:
Report link

If you have an already active tmux session, and you connecting via Putty or mRemoteng. Do the following to have it use VT100 termainl to not have to redeploy putty.

  1. Open putty
  2. Window > Translation > Adjust how PuTTY handles line drawing characters -> Enable VT100 line drawing even in UTF-8 mode
  3. Go back to session in Putty, save to default.
  4. Now open a Putty session, or a Mremoteng session

Lines should be drawn properly.

Source: tmux in putty displays border as 'qqqqq' or 'xxxx'

Reasons:
  • No code block (0.5):
Posted by: Dave

79457701

Date: 2025-02-21 14:40:05
Score: 3.5
Natty:
Report link

A simple restart just solved the greyed out issue for me.

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

79457690

Date: 2025-02-21 14:38:04
Score: 2.5
Natty:
Report link

I have recently encountered the same behaviour. I had a nice chance to have a support call with AWS X-Ray and Lambda Teams. The reason of such a "gap" lies in sampling configuration in X-Ray. It can skip several invocations and then capture Nth invocation and attach there an Init phase.

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

79457672

Date: 2025-02-21 14:26:02
Score: 3
Natty:
Report link

its work after added double quotes before and after the string value

chr(34) = "

shpObj2.CellsU("Prop.SiteName").FormulaU = chr(34) + "Test" + chr(34)

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

79457670

Date: 2025-02-21 14:25:01
Score: 3.5
Natty:
Report link

ich besitze einen Android Fernseher von Telefunken,dieser hat die Android Version 11 drauf,könnt ihr mit Bitte sagen,wann kommt da mal eine neue Version?Es läuft soweit alles gut aber Android 11 ist ja schon wieder veraltet.

Mit besten Grüßen Jürgen Kräuter

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jürgen Kräuter