79270349

Date: 2024-12-11 02:56:50
Score: 1.5
Natty:
Report link

I followed @GuiFalourd's approach, but it did not work for me. It is possibly because my repo deletes PR branch automatically right after PR is merged. So in my case I was successfully able to retrieve PR using github.sha with gh cli.

name: Get PR on Push

on:
  push:
    branches:
      - main

jobs:
  spec:
    name: Prepare spec
    permissions: read-all
    runs-on: ubuntu-latest
    outputs:
      pr-number-closed: ${{ steps.gh-cli.outputs.pr-number-closed }}
    steps:
      - name: Checkout for gh cli
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Get PR Number
        id: gh-cli
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: echo "pr-number-closed=$(gh pr list --search ${{ github.sha }} --state merged --json number -q '.[] | .number' || echo "")" >> $GITHUB_OUTPUT
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @GuiFalourd's
  • Low reputation (0.5):
Posted by: Hiro

79270348

Date: 2024-12-11 02:55:49
Score: 1.5
Natty:
Report link

Microsoft made asctime "conformant" in Visual Studio 2015. Current versions have the expected space padding.

https://learn.microsoft.com/en-us/cpp/porting/visual-cpp-change-history-2003-2015?view=msvc-140

To avoid confusion use a current version of VC++

Or if you have issues consuming the output after re-compiling in a current version (as I did recently), make sure any external processes that parse the generated dates, are updated to expect the actual format.

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

79270338

Date: 2024-12-11 02:48:47
Score: 3.5
Natty:
Report link

I've solved it myself, it was a mistake, the tracing_on was turned off by me accidently, waste my a whole day. Turn it on, and everything works as expected.

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

79270327

Date: 2024-12-11 02:43:46
Score: 2
Natty:
Report link

For me it was very weird. The files have a prefix attached to them, basically a reference to a folder. I had to go to "Associated Packages & DLC", then you click on the build (probably colored in yellow or red). Then where it says "Depots Included", you want to click on the corresponding depot, and it should bring up the "Depot Manifest (AppID)" Page where you can see all the associated files. Just copy the path of the .exe file exactly, and paste it in your launch option. That is what fixed this problem for me! (Very proud of myself for figuring this out lol)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Spoon

79270323

Date: 2024-12-11 02:41:46
Score: 2
Natty:
Report link

If you want to removes all data and columns and reassigns the dataframe to an empty frame: myDf=pd.DataFrame(None) #does the trick,

if you want to keep column names: myDf.iloc[0:0]

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

79270320

Date: 2024-12-11 02:40:44
Score: 6 đźš©
Natty: 4.5
Report link

i have created a youtube video on this, please find the link https://www.youtube.com/watch?v=y9HQYSqhs98

Reasons:
  • Blacklisted phrase (1): youtube.com
  • RegEx Blacklisted phrase (1): i have created a youtube video on this, please
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Afazal

79270314

Date: 2024-12-11 02:30:42
Score: 3
Natty:
Report link

YITH AJAX Product Filters Help your customers to easily find the products they are interested in.

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

79270305

Date: 2024-12-11 02:19:40
Score: 3.5
Natty:
Report link

After years, technologies advance to maybe a new way to do so if it's regarding old browser ways and security is not a concern: https://www.youtube.com/watch?v=EVBW3cwT4Gk

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luo Haihong

79270300

Date: 2024-12-11 02:16:39
Score: 2.5
Natty:
Report link

I meet the same error. I search it many times to solve it. In the end, please check the file is empty(0byte) or not. LOL. How stupid I am.

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

79270272

Date: 2024-12-11 01:58:35
Score: 2
Natty:
Report link

fix add global.structuredClone = require('structured-clone'); in the setUpTests

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

79270269

Date: 2024-12-11 01:57:35
Score: 0.5
Natty:
Report link

Maybe this could be useful:

// The carousell
<Carousel
    ref={(el) => {
      carouselRef = el;
    }}
</Carousel>

// The custom button
<button
        onClick={() => {
          if (carouselRef) {
            carouselRef.next(1);
          }
        }}
      >
        Next
</button>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Victor Santiago Manzanilla

79270259

Date: 2024-12-11 01:48:33
Score: 4.5
Natty: 5
Report link

I really like it! Thank you so much!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rebecca Rabbit Easter Bunny

79270257

Date: 2024-12-11 01:47:32
Score: 1
Natty:
Report link

Normally in business world this is a matter of event awareness. And it mostly adds up to order of magnitude of time.

Real time

Systems are aware of an event within seconds.

Sample: stock market orders.

Near real time

Systems are aware of an event within minutes.

Sample: package shipment tracking.

Batch

Systems are aware of a bulk of events within days, weeks or even months.

Sample: banks international money transfers.

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

79270255

Date: 2024-12-11 01:47:32
Score: 1
Natty:
Report link

maybe you can try this in PQ

split the delimiter to rows

enter image description here

enter image description here

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ryan

79270250

Date: 2024-12-11 01:44:31
Score: 9.5
Natty: 7
Report link

Hello i think is an old post but Âżcould you share a full example of how do you achieve to get a date picker and how to use it in the queries?

Thanks you :)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): how do you
  • Blacklisted phrase (1): Âż
  • RegEx Blacklisted phrase (2.5): could you share
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fredy Jose Daniel Reyes

79270244

Date: 2024-12-11 01:40:30
Score: 1.5
Natty:
Report link

SetFocus for Option button click and Change for textbox does the trick:

Private Sub OptionO_Click()
    Me.TextO.SetFocus
End Sub

Private Sub TextO_Change()
    Me.OptionO.Value = True
End Sub
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Chris Peh

79270232

Date: 2024-12-11 01:35:28
Score: 2
Natty:
Report link

The Moodle SCORM player does not have any built-in mechanism to allow you to hook custom JS onto it, or fire any postMessage events based on SCORM actions. You would have to either customize mod/scorm/datamodels/scorm_12.js, or the mod/scorm/player JS files if you wanted to be able to catch any of the SCORM events and do something additional with them.

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

79270231

Date: 2024-12-11 01:33:28
Score: 0.5
Natty:
Report link

I hope I was able to understand your question correctly, and given below is the answer you're looking for..

  1. Running Quantum Circuits

In Qiskit, there are several methods to execute a quantum circuit and get measurement results in a local environment

The only way to run a circuit and get measurements on local environments is by running the circuits on simulators. Qiskit provides various simulators, both noise-less (AerSimulator, Clifford Simulation) and noisy (FakeBackends, AerSimulator). QASM was a cloud simulator that was retired in May of this year.

  1. Measuring Quantum Circuits

From what I understand, samplers and estimators are built upon simulators.

Samplers and Estimators are qiskit primitives (just like int, bool, and char are some common primitive datatypes for other coding languages) used to measure any quantum circuit that is run on any quantum device (simulator or real backend). More on these primitives can be found in the IBM Documentation or this Medium article.

So, without getting into much detail here - the way measurements in quantum mechanics work is we either read the probability amplitudes of a wave function or we read the expectation value of an observable. These two form two primitve measurement techniques widely used to obtain/read useful information from any quantum mechanical system. So, for our purposes of measuring quantum circuits,

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

79270225

Date: 2024-12-11 01:27:27
Score: 3
Natty:
Report link

This repo was created as a comprehensive answer to the question covering an educational example of ECDSA without any external modules working it most modern browsers: https://github.com/RayRizzling/js-ecdsa

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: rizzling

79270220

Date: 2024-12-11 01:25:26
Score: 2.5
Natty:
Report link

it is too late for answer but maybe it is related to how you upload image to s3. i mean that error is says signature does not match. so maybe there is something went wrong that generating signed url

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

79270215

Date: 2024-12-11 01:21:25
Score: 1.5
Natty:
Report link

jax.profiler.start_server doesn't take a trace by itself. It allows you to use the Tensorboard UI for starting a trace (https://jax.readthedocs.io/en/latest/profiling.html#manual-capture-via-tensorboard). This could be a good way to control how many seconds you're capturing.

That's odd that your trace is < 1GB, yet it says you're hitting the 2GB limit. I can't comment to ask questions that would help debug, so I suggest filing an issue at https://github.com/jax-ml/jax/issues and we can help you more there.

As a workaround, I suggest capturing many smaller traces instead of one large 300s trace.

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Skye Wanderman-Milne

79270205

Date: 2024-12-11 01:13:23
Score: 13.5
Natty: 7.5
Report link

I have exact same problem, have anyone found any solution for this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have exact same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CADSol

79270196

Date: 2024-12-11 01:05:21
Score: 4
Natty:
Report link

Random guy from internet,this helped me out if a way different situation! Used the wrong formula but got the right answer! Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sandiegen

79270189

Date: 2024-12-11 01:00:19
Score: 1
Natty:
Report link

If you only want to change between two colors, you can try editing it on the css directly.

tr:nth-of-type(even) td {
  background: #d9dcde;
}

tr:nth-of-type(odd) td {
  background: #e3bfcd;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JoĂŁo Calapez

79270186

Date: 2024-12-11 00:58:19
Score: 0.5
Natty:
Report link

It supports nowadays


const utcDate = '2024-12-09T02:03:30.419+02:00'

const now = DateTime.fromISO(utcDate, { locale: 'he' }).setZone(DEFAULT_TIMEZONE)

const startOfWeek = now.startOf('week', { useLocaleWeeks: true }).toISO()
const endOfWeek = now.endOf('week', { useLocaleWeeks: true }).toISO()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Min Somai

79270185

Date: 2024-12-11 00:55:19
Score: 1.5
Natty:
Report link

I had this problem because I made a mistake in my shell startup script. As in this answer, I had replaced the return near the top of .bashrc with an exit. Undoing that change fixed both rsync and non-interactive ssh for me.

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

79270178

Date: 2024-12-11 00:49:17
Score: 0.5
Natty:
Report link

No. Your code does not give you a file. And I cannot understand why that code wants to print TipyWolf a few thousand times.

. . .
   kicked_members = await client.get_participants(group_id, filter=ChannelParticipantsKicked)

   # Define the file name
   file_name = 'kicked_members.txt'
   # Open the file in write mode ('w')
   with open(file_name, 'w') as file:
       for member in kicked_members:
       file.write(member + '\n')

I assumed member is a string holding usernames, adjust the file.write() if its not. The file would be in the same directory of the python file.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (0.5):
Posted by: lemon8de

79270172

Date: 2024-12-11 00:44:16
Score: 2
Natty:
Report link

I think you need to apply the Read & Write policies on your AWS s3 bucket. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_s3_rw-bucket.html

Can you please try with page reload to see if your latest image is still showing or not? Sometime browser need time to load it.

But it's totally related to Read of objects policies. May be you have missed something while applying the policy rules on AWS S3.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rizwan Ali

79270170

Date: 2024-12-11 00:43:16
Score: 1.5
Natty:
Report link

The Partner Center Service Health dashboard has a relevant notice on it:

Last updated:December 10, 2024 at 5:33:04 PM

Some Partner users are unable to access customers M365 Admin Center Portal via GDAP (Admin on Behalf Of). Partners will receive a generic permissions error. M365 Admin Center Engineering teams are working on the resolving the issue.

While not an exact description of the issue I believe this is the cause.

https://partner.microsoft.com/dashboard/v2/support/service-health-status

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

79270165

Date: 2024-12-11 00:39:15
Score: 1
Natty:
Report link

No, there is no list or database with all possible timezones and their abbreviations because timezones and their abbreviations have been, and will continue to be, declared by bureaucrats at various times and in various places, rather than an actual standards body such as IEEE, IETF, ISO, etc. Reading some of the notes in the TZ DB will corroborate this.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Andrew

79270156

Date: 2024-12-11 00:28:13
Score: 2
Natty:
Report link

You can find the solution here:https://github.com/explosion/spaCy/discussions/12941

In short, you need to use a previous version of cython:

pip install Cython==0.29.36
pip install spacy==3.0.6 --no-build-isolation
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Samuel Teixeira

79270144

Date: 2024-12-11 00:20:12
Score: 1.5
Natty:
Report link

I had the same issue, and this solution fixed it: Use legacy Razor editor for ASP.NET Core.

enter image description here

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sayed Mahmoud

79270142

Date: 2024-12-11 00:19:11
Score: 0.5
Natty:
Report link
  1. Check your directories. I've read that you have checked the directories but no harm in doing another pass.

    import os
    print(os.getcwd())
    
  2. Check for syntax errors on the animal_shelter.py, unrelated but _init_() is not a constructor but __init__() is.

  3. Restart the notebook kernel, or just close and reopen it altogether.

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

79270139

Date: 2024-12-11 00:18:11
Score: 2
Natty:
Report link

Setting the healthcheck-path at the Service level.

apiVersion: v1
kind: Service
metadata:
  namespace: color-app
  name: green-service
  labels:
    app: green-app
  annotations:
    alb.ingress.kubernetes.io/healthcheck-path: /green/index.html

https://aws.amazon.com/blogs/containers/how-to-expose-multiple-applications-on-amazon-eks-using-a-single-application-load-balancer/

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

79270135

Date: 2024-12-11 00:14:10
Score: 2
Natty:
Report link

I managed to solve this by writing a custom view renderer.

The following question/answer helped me to solve this: Return View as String in .NET Core

in particular, Pharylon's answer.

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

79270132

Date: 2024-12-11 00:10:10
Score: 1
Natty:
Report link

The answer is simpler then I though. Sqlc( At least for postgres) can't translate the in to a list of items. The result should be got using the ANY and bigserial

select c.* from TB_COMMENTS c where c.id = ANY ($1::BIGSERIAL[]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TalesMGodois

79270130

Date: 2024-12-11 00:08:09
Score: 2
Natty:
Report link

You do not need to include fullDefinition: true in the changeset's changes.

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

79270126

Date: 2024-12-11 00:07:09
Score: 1
Natty:
Report link

When storing JWTs in HttpOnly cookies, you're protecting the token from JavaScript-based XSS (Cross-Site Scripting) attacks, as these cookies cannot be accessed or manipulated by client-side scripts. However, this alone does not prevent CSRF (Cross-Site Request Forgery) attacks, where a malicious website might automatically include the JWT cookie in a request to your server, potentially leading to unwanted actions.

To defend against CSRF attacks, you need to implement a CSRF token. The CSRF token is usually stored in a non-HttpOnly cookie or as part of the HTML response. This token is then manually sent with requests, often in a custom HTTP header (e.g., X-CSRF-Token). When a request is made, the server validates that the CSRF token matches what was set for that session. Since an attacker’s site won’t have access to this token, they cannot forge legitimate requests.

In this way, the HttpOnly cookie protects the JWT from XSS, while the CSRF token ensures requests are coming from legitimate sources, offering comprehensive protection.

For further reading on the topic, consider reviewing the following resource:

  1. https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html

  2. JWT and CSRF differences

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Ufia Irene

79270115

Date: 2024-12-10 23:57:07
Score: 3
Natty:
Report link

Another option is hyparquet which is a lightweight: pure js, no dependencies, 9.2kb minzipped, and has good support for modern parquet files in my experience.

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

79270107

Date: 2024-12-10 23:47:05
Score: 3
Natty:
Report link

this is not working in a multi module setup. my parent maven module contains 2 child modules. 1.java-based module 2.kotlin-based module

all java files are in 1. and all kotlin files are in 2.

i add the solution from kotlin docs and @yole answer to parent pom. but i still get the "cannot find symbol" error.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @yole
  • Low reputation (1):
Posted by: rlokray

79270104

Date: 2024-12-10 23:43:04
Score: 0.5
Natty:
Report link

I had the same error.

In my case the reason was that in my script when i started a session

from sqlalchemy import create_engine

engine= create_engine(DATA_BASE_URL, connect_args={"check_same_thread": False})

I used as DATA_BASE_URL a mounted directory outside my container

And when i changed it to the directory inside the container the issue was resolved

So make sure that you pass database url that strats with "/app/{your database location inside the container}"

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

79270102

Date: 2024-12-10 23:41:04
Score: 0.5
Natty:
Report link

Looking at your code I presume you're using Amplify Gen 2 backend?

They've moved from the Gen 1 way of doing this (where amplify generates the table variables etc.). The Lambda should use the schema with generateClient from aws-amplify/data to access the dynamodb tables. This is far better than messing around with env variables everywhere IMO. The schema has to allow the lambda function to do this - permissions defined in the (amplify/data/resource.ts).

Follow the guide here:

https://docs.amplify.aws/react-native/build-a-backend/functions/examples/create-user-profile-record/

You need the latest version of everything amplify. To support importing env from "$amplify/env/post-confirmation" I had to add the path to the amplify/tsconfig.json:

{
  "compilerOptions": {
    "target": "es2022",
    "module": "es2022",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": true,
    "paths": {
      "$amplify/*": ["../.amplify/generated/*"]
    }
  },
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: upp22

79270098

Date: 2024-12-10 23:39:03
Score: 2.5
Natty:
Report link

you had to follow serge's instructions more carefully. you had to subscribe to his courses to get access to that class file. personally, i don't like his approach of collecting emails. but that's his right. P.S. I don't like SO's approach to collecting emails either.

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

79270090

Date: 2024-12-10 23:34:02
Score: 2
Natty:
Report link

To spell it clearly:

Prompt string needs to be enclosed in double quotes "..." to convert vars to values. Single quotes will display varible names instead.

Variable itself is of form ${ENV_VARIABLE}

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

79270078

Date: 2024-12-10 23:24:01
Score: 1
Natty:
Report link

Actually, there is an API in preview: https://microsofttranslator.github.io/CustomTranslatorApiSamples/#/ We used it to automate the entire process of uploading training files, kicking of a training, and publishing the model...although it wasn't easy. For example, you first upload your documents, poll them to see when they finish being 'processed', then you have to get their ids to pass to the create model API. If you need to know when it is done, you also need to poll it's status is "Training succeeded" or "Deployed", depending on how you set the IsAutoDeploy parameter in the model POST body.

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

79270074

Date: 2024-12-10 23:21:00
Score: 1.5
Natty:
Report link

im trying to use the office js package in a chrome extension for office-word did this set up work? i followed the same steps and got this err it seems like the office package needs things like window, localstorage, session storage and im guessing that its depending alot on which window - context you inject into and the office-word site seams to have multiple iframes making it more difficult to figure out where we are supposed to inject that sandbox or where its supposed to run but if i had to guess its probably the main parent html document but i was not able to access it, i got this err

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

79270071

Date: 2024-12-10 23:16:59
Score: 1.5
Natty:
Report link

It is possible.

Pass date as range of data (from,to)

"departureDate": ("2024-12-24","2025-04-12")

It works fine.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Radosław Szczerba

79270066

Date: 2024-12-10 23:12:59
Score: 0.5
Natty:
Report link

You probably need to add some policies to your node role, such as

arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly

This article goes through the whole setup.

Reasons:
  • Blacklisted phrase (1): This article
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Shawn

79270065

Date: 2024-12-10 23:12:59
Score: 2
Natty:
Report link

Go to Settings/Editor/General, scroll to the bottom and adjust the On Save options. By default PyCharm (and all JetBrain IDEs) automatically saves files, so this will occur whenever you modify a file.

On Save settings

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

79270063

Date: 2024-12-10 23:12:59
Score: 3
Natty:
Report link

I recently had issue with timeout eventhough keycloak and ntp were in sync.. By increasing tolerance with time skew within keycloak, it resolved issue.

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

79270059

Date: 2024-12-10 23:10:58
Score: 1.5
Natty:
Report link

It seems like CORS (Cross-Origin Resource Sharing) is not properly setup or your Cloud Run can’t handle the POST method.

Found this answer by John Hanley from this post that might be helpful for you:

Notice the HTTP 302 response on your POST. That means the client is being instructed to go to a new Location. Your client is then converting the POST into a GET and making another request at the new location.

Cloud Run only supports HTTPS. Your POST request is being sent to an HTTP endpoint. The Cloud Run frontend will automatically redirect the client to the HTTPS endpoint.

Change your request from using HTTP to HTTPS.

You can also check this documentation about Handling CORs (a way to let applications running on one domain access another domain) and CORS limitations since you are encountering a CORS Error.

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

79270044

Date: 2024-12-10 23:02:56
Score: 0.5
Natty:
Report link

I found an answer from Clerk Discord that is working for me:

Hey folks, we've have quite a few reports of users running into this type of error when spinning up new NextJs apps or upgrading older apps. Here's how to resolve the error:

This error is caused by @types/react version 18.3.14. If you run into this issue we recommend the following versions.

If using Next 15, you'll have to have the following versions to resolve the error:
  "next": "15.0.4",
  "react": "^19.0.0",
  "react-dom": "^19.0.0",
  "@types/react": "^19.0.1",


If using Next 14, you can utilize the following versions:
  "next": "14.2.20",
  "react": "^18.3.1",
  "react-dom": "^18.3.1",
  "@types/react": "^18.3.12",

You'll have to stay on this version until this [PR][1] is merged.

PR: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/71388

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

79270040

Date: 2024-12-10 22:58:56
Score: 2
Natty:
Report link

I ran into the problem of translate3d producing low quality results when scaling images in a gallery. The solution for me was to use translateX(...) translateY(...) scale(...) instead of translate3d(...) scale(...). It results in high-quality scaled/transformed content. If you need to manipulate the Z axis too, I'm sure you can add translateZ(...) into the mix.

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

79270035

Date: 2024-12-10 22:57:55
Score: 2.5
Natty:
Report link

Thanks @jonrsharpe that was easy to fix!

def customparse(x):
    return parse(x, fuzzy=True, ignoretz=True, dayfirst=True).date().isoformat()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @jonrsharpe
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: cardamom

79270027

Date: 2024-12-10 22:53:54
Score: 5.5
Natty: 6.5
Report link

See this article: https://medium.com/@alaa.mezian.mail/ditch-recaptcha-on-mobile-securing-your-java-services-with-firebase-app-check-8a7b542f8e3b

They make app check work in java

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mr_Gain

79270010

Date: 2024-12-10 22:46:52
Score: 2.5
Natty:
Report link

Google Cloud BigQuery Client Libraries is the nearest we can compare to Boto3, please see this link for the guide and how to’s. There is also a free trial that you can use to explore and test what you need here.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (1): see this link
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: marky

79270009

Date: 2024-12-10 22:46:52
Score: 1.5
Natty:
Report link

Make sure all your serializable classes have a default constructor including HAS-A classes. In my case adding @NoArgsConstructor worked in Spring Boot

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

79270006

Date: 2024-12-10 22:44:51
Score: 1.5
Natty:
Report link

You can return the row and column reference, and subtract 1 to account for the title row / column.

For X use;

=SUMPRODUCT(($B$2:$K$11=O2)*(COLUMN($B$2:$K$11)-1))

And Y;

=SUMPRODUCT(($B$2:$K$11=O2)*(ROW($B$2:$K$11)-1))

enter image description here

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

79270004

Date: 2024-12-10 22:43:51
Score: 0.5
Natty:
Report link

I had to specify the UpdateSourceTrigger property. The Text property defaults to LostFocus, so when I changed to it PropertyChanged, it works as expected.

<TextBox x:Name="MultistageCountValue" 
  Text="{Binding MultistageCount, UpdateSourceTrigger=PropertyChanged}"
  PreviewTextInput="NumericTextBox_PreviewTextInput"
  TextChanged="MultistageCountValue_TextChanged"/>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kenbuja

79270003

Date: 2024-12-10 22:42:51
Score: 1
Natty:
Report link

Error cause by typo

You have an error typo that's why the output is always undefined, change your function valueBeforeEdit = event.oldvalue to oldValue.

From this:

const valueBeforeEdit = event.oldvalue;

To this:

const valueBeforeEdit = event.oldValue;

You can read more about simple triggers and installable triggers on this link - Event Objects.

Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lime Husky

79269988

Date: 2024-12-10 22:33:49
Score: 0.5
Natty:
Report link

As I understand, you're trying to handle a multipart file as well. Have you tried using @RequestPart? It allows you to separate the multipart file from the JSON object and handle it as a separate parameter.

I think, handling both a multipart file and JSON payload together isn't natively supported in Spring, as @RequestBody is designed to handle a single, serialized JSON object in the request body.

@PutMapping(value = "/submit", consumes = "multipart/form-data")
public ResponseEntity<FormData> submit(
@RequestPart Submission submission, @RequestPart MultipartFile file) throws IOException {}
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @RequestPart
  • User mentioned (0): @RequestBody
  • Low reputation (1):
Posted by: ragav ravi

79269986

Date: 2024-12-10 22:31:49
Score: 2.5
Natty:
Report link

For those looking for a similar answer '@react-native-community/datetimepicker' provides a solution that works very well for inline mode.

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

79269982

Date: 2024-12-10 22:29:49
Score: 0.5
Natty:
Report link

Altair has the ability to resolve each axes' scale independently:

working image

import altair as alt
import pandas as pd

# Sample data
data = {
    'Group': ['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C', 'C'],
    'Category': ['A1', 'A2', 'A3', 'B1', 'B2', 'B3', 'C1', 'C2', 'C3'],
    'Value': [10, 15, 7, 8, 12, 18, 12, 10, 9]
}

df = pd.DataFrame(data)

# Create the grouped bar chart
chart = alt.Chart(df).mark_bar().encode(
    x=alt.X('Category:N', title='Category'),
    y=alt.Y('Value:Q', title='Value'),
    column=alt.Column('Group:N', title='Group')
)

chart.resolve_scale(x='independent')
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kgoodrick

79269977

Date: 2024-12-10 22:29:49
Score: 0.5
Natty:
Report link

Thank you all very much! With a combination of the Information of the posts and a better understanding of the box model and its corners i found this solution, somehow the text in the paragraph with z-index: 5 still stays under the image with z-index: 3 where it should in my mind be on top.

.hide-overflow {
  overflow: hidden;
}
.green-frame {
  position: relative;
    background-color: #ECF8E3;
    padding: 2rem;
    z-index: 0;
}

.green-text {
    position: relative;
    margin: 1rem;
  padding: 1rem;
    background-color: #FFF;
    box-shadow: 0px 0px 10px black;
    border: 3px solid gold;
    z-index: 2;
  
}

p{
    font: 1rem "Segoe UI";
    z-index: 5;
}

.green-deco {
    position: absolute;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}
.left-deco{
    top: 50%;
    left: 0;
    translate: -50% -50%;
}
.right-deco {
    top: 50%;
    right: 0;
    translate: 50% -50%;

}

.flip-deco {
    transform: scaleX(-1);
}
.inward-deco {
    z-index: 3;
}

.center {text-align: center}
<div class="hide-overflow">
            <h1 class="center">Frame Outward Decoration</h1>
            <div class="green-frame">
              <div class="green-deco left-deco flip-deco"><img src="https://static.vecteezy.com/system/resources/thumbnails/009/307/514/small/green-leaves-of-palm-tree-isolated-on-tranaparent-background-file-png.png"></div>
              <div class="green-text">
                <p>
                  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
                </p>
              </div>
              <div class="green-deco right-deco"><img src="https://static.vecteezy.com/system/resources/thumbnails/009/307/514/small/green-leaves-of-palm-tree-isolated-on-tranaparent-background-file-png.png"></div>
            </div>
          </article>

          <p>
            Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
          </p>

          <article>
            <h1 class="center">Frame Inward Decoration</h1>
            <div class="green-frame">
              <div class="green-deco left-deco inward-deco"><img src="https://static.vecteezy.com/system/resources/thumbnails/009/307/514/small/green-leaves-of-palm-tree-isolated-on-tranaparent-background-file-png.png"></div>
              <div class="green-text">
                <p>
                  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
                </p>
              </div>
              <div class="green-deco right-deco flip-deco inward-deco"><img src="https://static.vecteezy.com/system/resources/thumbnails/009/307/514/small/green-leaves-of-palm-tree-isolated-on-tranaparent-background-file-png.png"></div>
            </div>
          </div>

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 360Bits

79269974

Date: 2024-12-10 22:27:48
Score: 2
Natty:
Report link

since this method changing shell is deprecated and the recommended way is to use profiles, here's what to add in vsc settings

"terminal.integrated.profiles.windows": {
    "Fish": {
    "path": "C:\\Cygwin64\\bin\\bash.exe",
    "args": ["-lic","fish"]
    }
},
"terminal.integrated.defaultProfile.windows": "Fish"

edit: that moment when you find a stackoverflow post that helps you with your problem and then you see its your own post from some years ago... thanks for posting this, past-me!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: apfreelance

79269973

Date: 2024-12-10 22:26:47
Score: 5.5
Natty: 4.5
Report link

I know this is an old thread and only partially relates to my problem but I'm desperate.

I have a file that gives jsx errors on every line. But I don't want to ever use or check jsx. I tried removing an unknown line in package.json that had jsx in it with no improvement. The file is a vue file that uses pug. It has an extension of .vue. The errors start on line one which is where pug starts.

Is there a way to make vscode permanently forgot jsx exists?

Help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (3): Help would be appreciated
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: mark-hahn

79269967

Date: 2024-12-10 22:22:46
Score: 2.5
Natty:
Report link

As Paul Beusterien noted - the problem lies in Xcode version in relation to the dependencies

Because I have an old mac, I could not figure out a solution (my model is unsupported for higher versions of Xcode/MacOS)

The solution for me is to patch the newest MacOS version through OpenCore software. Worked like a charm for me. Open Core Legacy Patcher

Note: If you happen to use this tool, make sure you usb flash drive is at least 32GB, preferrably 64GB

Reasons:
  • Blacklisted phrase (1): Worked like a charm
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Thalis

79269962

Date: 2024-12-10 22:21:46
Score: 0.5
Natty:
Report link

I faced a similar issue in the past while working on an imbalanced classification problem. Focal loss can be helpful, but sometimes it’s not enough on its own. Here are a few additional strategies that worked well for me:

Taking fewer data of the majority class or taking more from the minority one (even if for binary classification, it will both do the same, it is up to you to give meaning you want to the word "epoch"). When undersampling, don't forget to randomly select the data so you can still exploid the whole diversity of the majority class. With that you will get a better distribution but then you might be careful not to overfit the minority class. Here's why the second point comes in.

Of course, this will depend a lot on your data but as long as it stays recognizable it might work well with the sampling trick.

Just like "strong augmentation" it will depend a lot on the data you're manipulating but I ended up combining data to enhance the classification. With some kind of morphism, you could train using a X% positive data.

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

79269960

Date: 2024-12-10 22:20:46
Score: 0.5
Natty:
Report link

I don't know why this weird behavior started to happen, I never seen this before.

Maybe that is because I upgraded of Visual Studio, I don't remember any different thing I did before the breakpoints started to get lost and often acting bizarre: they are moving randomly over time (fast. in seconds. maybe after builds) and, if I try to delete one of these breakpoints, the editor deletes and moves the focused line to lines away. So frustrating.

The bizarre behavior stopped after I manually deleted all "obj" folders (Clean Solution won't work to this).

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

79269959

Date: 2024-12-10 22:20:46
Score: 2
Natty:
Report link

Powershell as Admin

$computer = get-content C:\temp\computers.txt Get-WMIObject Win32_NetworkAdapterConfiguration -computername $computer |where{$_.IPEnabled -eq “TRUE”}

Returns this for each host:

DHCPEnabled : False IPAddress : {10.12.31.10, fe80::df00:2718:3685:318b} DefaultIPGateway : {10.12.31.1} DNSDomain : ServiceName : e1i65x64 Description : Intel(R) 82574L Gigabit Network Connection Index : 1

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

79269958

Date: 2024-12-10 22:20:46
Score: 0.5
Natty:
Report link

you can use spring profiling to enable/disable xray for different environments:

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

79269957

Date: 2024-12-10 22:18:45
Score: 3.5
Natty:
Report link

For people using newer PDM, It's a bit different:

You have to add custom scripts in the project folder to let pylint recognize the correct python interpreter (check here: https://vi.stackexchange.com/questions/45737/pylint-unable-to-find-imports-from-currently-active-virtual-environment)

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

79269945

Date: 2024-12-10 22:12:43
Score: 2.5
Natty:
Report link

And what about SuperBuilder when B is derived from A where A is abstract ? i'd like builder for B with mandatory parameter from A...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: user1568220

79269944

Date: 2024-12-10 22:12:43
Score: 2.5
Natty:
Report link

For a workaround I've created a second Athena table on the same bucket with the old partition projection template and use UNION to query across them.

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

79269928

Date: 2024-12-10 22:05:42
Score: 3
Natty:
Report link

The only way I have found is to migrate restore it to a same version of the server and then generate scripts to complete the restore. This can be done via powershell library like dbatools or SSMS using a process like: https://www.mssqltips.com/sqlservertip/2810/how-to-migrate-a-sql-server-database-to-a-lower-version/

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

79269919

Date: 2024-12-10 22:02:41
Score: 2
Natty:
Report link

I tried parent.document.getElementById("someId"); inside the iFrame's document, but got 'null', until I set both ID and Title on the iFrame to something in the parent Document.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rubber Telly Media

79269913

Date: 2024-12-10 22:00:41
Score: 2.5
Natty:
Report link

Jess, it appears to be a straight up bug. If you add Microsoft.IdentityModel.Protocols.OpenIdConnect and specifically add version 7.1.2, you'll still get the bad behavior. It's called out in the dependency section of Nuget Package Manager. And it says >=7.1.2. But that's a lie. Install >=8.whatever.

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

79269906

Date: 2024-12-10 21:54:40
Score: 2.5
Natty:
Report link

Have you tried Oxen.ai? its been the fasted and easiest to use for me, plus the UI features are great.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mathias Barragan

79269903

Date: 2024-12-10 21:52:39
Score: 3
Natty:
Report link

Having updated to the latest release of json_theme_plus (v6.6.6), my application runs without hanging now.

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

79269902

Date: 2024-12-10 21:52:38
Score: 8.5 đźš©
Natty: 5.5
Report link

I have the exact same setup and same problem on my end, did you ever find a solution?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Etienne Clerc

79269897

Date: 2024-12-10 21:50:37
Score: 1
Natty:
Report link

Simple enough,

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wcs7JTM0rUTBU0lEyNDVGkCYWUDJWB67ICChkbGJuCabMTECUkRlItbGxoQGyQpCYkaWpIZgyMwUrNDQEU0ZAhbEA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Client = _t, Expected = _t, #"Week 1" = _t, #"Week 2" = _t, #"Week 3" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Client", type text}, {"Expected", Int64.Type}, {"Week 1", Int64.Type}, {"Week 2", Int64.Type}, {"Week 3", Int64.Type}}),

    #"Added Column Closest" = Table.AddColumn(#"Changed Type", "Closest", (r) => List.Min(List.Skip(Record.ToList(r), 2), null, each Number.Abs(_-r[Expected])))
in
    #"Added Column Closest"

enter image description here

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

79269894

Date: 2024-12-10 21:48:36
Score: 2
Natty:
Report link

Based on the answer from @peter-willis, fmt.Sprintf("%.*s", n, s) does not require a hard-coded length.

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

79269881

Date: 2024-12-10 21:45:35
Score: 2
Natty:
Report link

My solution

  1. A sheets formula is checking for #REF! error in cell A4
  2. The sheets formula is printing "Please reload Sheet/refresh browser window"
  3. An installable onOpen trigger (running at owner privilegs) is checking cell A4 for #REF! error and is adding 1000 more rows
  4. At the end, script deletes all unused rows

DONE

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

79269873

Date: 2024-12-10 21:41:34
Score: 0.5
Natty:
Report link

Add this to your DockerFile, this works for me!

FROM node:18-alpine

RUN apk add --no-cache openssl
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arthu0x

79269871

Date: 2024-12-10 21:40:34
Score: 2
Natty:
Report link

What I had to do was find the "Docker Desktop" inside the Contents folder. This is done by right clicking on the "Docker" inside Applications, and selecting show package contents

Show Package contents of Docker

Once inside the Contents folder, navigate to "Docker Desktop" by going to the MacOS Folder.

Docker Desktop inside the Docker

Right click on "Docker Desktop" and create an Alias.

Creating an Alias for Docker Desktop

Once Alias is created, move the Alias to Applications folder. Now you can invoke this alias directly.

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Starts with a question (0.5): What I
Posted by: Krishna Vedula

79269870

Date: 2024-12-10 21:39:34
Score: 3
Natty:
Report link

In my case, (I was using debug mode and the server was running in eclipse) remove all the breakpoints, restart in normal mode and finally restart y debug mode again.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mario Andres Ibañez Grajales

79269869

Date: 2024-12-10 21:39:33
Score: 12 đźš©
Natty: 5.5
Report link

Did You managed how to solve that problem ?

Regards, Radek

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (3): Did You manage
  • RegEx Blacklisted phrase (1.5): how to solve that problem ?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did You
  • Low reputation (1):
Posted by: Radosław Pawelec

79269868

Date: 2024-12-10 21:39:32
Score: 2
Natty:
Report link

Might be useful: there is a extension Diff Tab Auto Close in vscode which auto closes diff tab when it loses focus, very convenient for me

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Konstantin Samkowskiy

79269864

Date: 2024-12-10 21:36:31
Score: 2
Natty:
Report link

Try updating all you packages, that worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jóhann Páll Hreinsson

79269863

Date: 2024-12-10 21:35:31
Score: 3.5
Natty:
Report link

I have the "@badeball/cypress-cucumber-preprocessor": "^21.0.3" installed and got the same error running

npx cypress-cucumber-diagnostics

The link below is returning 404

https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/diagnostics.md

Reasons:
  • Blacklisted phrase (1): The link below
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marcello Noah Marques Muniz

79269847

Date: 2024-12-10 21:29:30
Score: 1.5
Natty:
Report link

You can achieve the desired behavior by shifting the NOT in your order of operations.

SELECT NOT 'a' LIKE ANY ('b','%b%', 'b', 'a'); returns false as intended

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

79269838

Date: 2024-12-10 21:24:29
Score: 2
Natty:
Report link

try underscore and then dasherize

"myCamelCase".underscore.dasherize
# => my-camel-case
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jader Zanotti

79269832

Date: 2024-12-10 21:22:28
Score: 4
Natty:
Report link

PhpSpreadsheet have a lot samples... and one match your case- check out: 01_Simple_download_xlsx.

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

79269827

Date: 2024-12-10 21:19:27
Score: 0.5
Natty:
Report link

I had the same issue and nothing helped - only splitting up the commit in various smaller commits and it was done in fractions of a second. It was with about 80 dart-files - a really small amount of data...

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

79269824

Date: 2024-12-10 21:17:26
Score: 1
Natty:
Report link

Thank you Christoph John - I looked more carefully at the message being sent to the admin, and realized as per your suggestion) that the

Initiator.start()

snippet which is in thequickfix.py module is actually calling on the

GainApplication.toAdmin()

method, from the gain module (where the client is defined,) which I have modified:

def toAdmin(self, message, sessionID):
    try:
        msgType = fix.MsgType()
        message.getHeader().getField(msgType)
        if msgType.getValue() == fix.MsgType_Logon:
            uuid = self.Settings.get().getString('Username')
            password = self.Settings.get().getString('Password')
            sendersubID = self.Settings.get().getString('SenderSubID')
            rawdata = self.Settings.get().getString('RawData')
            message.getHeader().setField(fix.RawData(rawdata))
            message.getHeader().setField(fix.SenderSubID(sendersubID))
            message.getHeader().setField(fix.Password(password))
            message.getHeader().setField(fix.StringField(12003, uuid))
            print('Perhaps we have a way!!!!!!!!!!!!!****************')
        self.Logger.info("Sending Admin message to server. Session: %s. Message: %s" % (sessionID, message))
        self.__messageStore.addRequest(message)
    except fix.RuntimeError as e:
        self.Logger.error('Error in toAdmin', e)
    return

This seems to place the correct message to the server, so now I can move forward. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: William Wood

79269822

Date: 2024-12-10 21:15:26
Score: 1
Natty:
Report link

Not 100% if it is applicable in your situation, but in case if we have a SSR NextJS component and it need to show a skeleton while this component is in the loading state, we can simply define a loading.js (jsx/tsx) file and show what we need to show.

The doc is here: https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming

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

79269804

Date: 2024-12-10 21:09:25
Score: 1
Natty:
Report link

In my case, the exact error occured because something went wrong with the Animator tab and it can't draw anything, so you can try closing the Animator tab and re-opening it again. Closing Unity also works but it would fix everything instead of only the root problem.

Worked for me btw.

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

79269796

Date: 2024-12-10 21:05:24
Score: 2
Natty:
Report link

Make sure you are accounting for the reads incurred by your security rules. If your rules themselves access documents, every read and write can incur additional reads. You could consider disabling your security rules and checking if then your counts match for quick confirmation.

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

79269779

Date: 2024-12-10 21:00:23
Score: 3
Natty:
Report link

R CMD check expects that you are checking out a tarball (.tar.gz file) created with R CMD build. It looks like you may have run R CMD check on your package directory.

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

79269771

Date: 2024-12-10 20:56:22
Score: 2
Natty:
Report link

In case anyone isnt helped by the main answer here, my issue and fix were different. I needed to change which firebase environment I was emulating - we have a dev and prod environment which changes the project id in the url structure, causing an error falsely labeled as a cors failure. so for me, firebase:use dev

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: italianmike