79194255

Date: 2024-11-15 23:53:15
Score: 0.5
Natty:
Report link

Ok, I've struggled my way though this for almost 2 days now, and finally have something I'm sort-of happy with. There's still room for improvement. Eventually I got it sorted using Vips with some tip offs from this github conversation and this GoRails thread on saving variants in a job.

Model:

class Company < ApplicationRecord # :nodoc:
  has_one_attached :logo do |attachable|
    attachable.variant :medium, resize_to_fit: [300, nil]
    attachable.variant :large, resize_to_fit: [700, nil]
  end

  after_save :process_logo_if_changed

  private
    def process_logo_if_changed 
      ImagePreprocessJob.perform_later(logo.id) if logo.blob&.saved_changes?
    end
end

Job:

class ImagePreprocessJob < ApplicationJob
  queue_as :latency_5m

  def perform(attachment_id)
    attachment = ActiveStorage::Attachment.find(attachment_id)
    raise "Attachment is not an image" unless attachment&.image?

    # svg and jfif will break Vips variants, convert to png
    if attachment.content_type == "image/svg+xml" || jfif?(attachment.blob)
      convert_to_png(attachment)
      attachment = attachment.record.send(attachment.name) # switch to new png attachment
    end

    raise "Attachment ID: #{attachment.id} is not representable" unless attachment.representable?

    # save variants
    attachment.representation(resize_to_fit: [300, nil]).processed # medium size
    attachment.representation(resize_to_fit: [700, nil]).processed # large size
  end

  def convert_to_png(attachment)
    filename = attachment.filename.to_s.rpartition(".").first # remove existing extension

    png = Vips::Image.new_from_buffer(attachment.blob.download, "")

    attachment.purge
    attachment.record.send(attachment.name).attach(
      io: StringIO.new(png.write_to_buffer(".png")),
      filename: "#{filename}.png",
      content_type: "image/png"
    )
  end

  def jfif?(blob)
    file_content = blob.download
    return (file_content[6..9] == "JFIF")
  end
end

I played with preprocessed: true in the model as described in the Active Storage Guide, but it would fill the log up with errors as it tries to create variants on invariable svg files before the job runs. So I just moved the processing/saving of variants into the job.

I was not able to solve this using the image_processing gem despite trying several ways. On the whole it was still far more difficult and a more convoluted solution than I expected - I won't mark this as the answer for quite a while as I'd love to see a more elegant and streamlined implementation, and I'm open to suggestions on how this could be improved.

Reasons:
  • Blacklisted phrase (1): days now
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: NGobin

79194248

Date: 2024-11-15 23:50:14
Score: 0.5
Natty:
Report link

The error is due to missing permissions. According to the official LinkedIn docs, you need one of those:

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

79194246

Date: 2024-11-15 23:49:14
Score: 7.5
Natty: 7.5
Report link

could you please share your Azure Function code if possible, without secret credentials?

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): could you please share your
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mithryll

79194245

Date: 2024-11-15 23:48:13
Score: 3.5
Natty:
Report link

I made a video how to export it as fbx with the animation

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

79194242

Date: 2024-11-15 23:46:12
Score: 0.5
Natty:
Report link

If you're using OpenID Connect (Considering your scopes are profile, email), you should use the endpoint /userInfo.

To access /me, you need the r_basicprofile permission (not r_liteprofile, which is deprecated).

For more details, refer to the official LinkedIn documentation:

Good luck!

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

79194239

Date: 2024-11-15 23:42:11
Score: 4
Natty:
Report link

the ec2 may be running into dhcp issue. specifically dhclient unable to renew expired lease on ip address due to time change. see https://access.redhat.com/errata/RHBA-2020:1858 and the referenced bug https://bugzilla.redhat.com/show_bug.cgi?id=1729211

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

79194235

Date: 2024-11-15 23:40:11
Score: 3
Natty:
Report link

You could use neologger that provides methods to remark logs, or you can set up a template and even apply styles like italic or bold.

This is a log with a label. Example with Label

This is a log with template. Example of Template

This is a log with custom styles Example of Custom font styles

For more details on how to implement it follow this link: NeoLogger

And the PiPy page here: enter link description here

Hope it helps.

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope it helps
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NeoLink

79194227

Date: 2024-11-15 23:32:09
Score: 2
Natty:
Report link

I was able to get it back up and running again, I had to:

  1. Open the Nuget Package manager and install (or uninstall and reinstall) the Package:
  2. Nuget
  3. Microsoft.NET.Test.Sdk
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tom

79194226

Date: 2024-11-15 23:32:09
Score: 1.5
Natty:
Report link

The issue is resolved. It was due to incorrect port specified in the values.yaml. It should be 8080 instead of https. the paths of the probes in Pod manifest are fine. these probes are not application probes but the ones injected by istio.

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

79194222

Date: 2024-11-15 23:31:09
Score: 4
Natty: 5.5
Report link

com.google.android.material.textfield.TextInputEditText{b81a487 VF.D..CL. ........ 0,0-984,196}

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): ........
  • Low reputation (1):
Posted by: RH NASRI

79194216

Date: 2024-11-15 23:26:08
Score: 1
Natty:
Report link

TL;DR

Change /rest to /v2.

Long answer

According to the official LinkedIn changelog:

Starting with version 202307, API decoration will no longer be supported for any API. We’ve created this video to assist you with this change.

Unfortunately, as of now, LinkedIn has not provided an alternative method to achieve this without using decorations. I'm still using v2 to all of my calls.

Reasons:
  • Blacklisted phrase (1): this video
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ron Zano

79194204

Date: 2024-11-15 23:17:06
Score: 4
Natty: 4
Report link

Did you make custom action for .NET? I found advanced installer is an option but now sure it is similar to Wix

Reasons:
  • Low length (1):
  • 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: rumel

79194201

Date: 2024-11-15 23:15:02
Score: 10.5 🚩
Natty:
Report link

Thank you for your answers, I have been thinking about your suggestions and I have done some more testing.

Example code where errors from play() are handled:

document.addEventListener('DOMContentLoaded', () => {
    const videoBox = document.getElementById('video-box');

    const video = document.createElement('video');
    videoBox.replaceChildren(video);

    setInterval(async () => {
        try {
            await video.play();
        } catch (error) {
            console.warn("error from play()");
        }
    }, 1000);

    setInterval(() => {
        video.load();
    }, 2000);
});

It seems to work without warnings. Except when I navigate away from the page and do something else for a few minutes, when I check again I see my warning has been logged a couple times.

Now when I do not await the promise:

document.addEventListener('DOMContentLoaded', () => {
    const videoBox = document.getElementById('video-box');

    const video = document.createElement('video');
    videoBox.replaceChildren(video);

    setInterval(async () => {
        video.play();
    }, 1000);

    setInterval(() => {
        video.load();
    }, 2000);
});

I get the familiar error: Uncaught (in promise) DOMException: The fetching process for the media resource was aborted by the user agent at the user's request.. But the backtrace points to the line with load(), not play()!

With the call to play() removed completely, I cannot get any error to show up:

document.addEventListener('DOMContentLoaded', () => {
    const videoBox = document.getElementById('video-box');

    const video = document.createElement('video');
    videoBox.replaceChildren(video);

    setInterval(() => {
        video.load();
    }, 2000);
});

This lines up with what @KLASANGUI quoted from the documentation:

Calling load() aborts all ongoing operations involving this media element

The process of aborting any ongoing activities will cause any outstanding Promises returned by play() being fulfilled or rejected as appropriate based on their status before the loading of new media can begin. Pending play promises are aborted with an "AbortError" DOMException.

The backtrace points to load(), which is somewhat confusing. While load() is what triggers the error, the play() method is where the exception is actually raised and needs to be caught. Without a call to play() anywhere, there is no error.

I am inclined to accept @KLASANGUI's answer, but it is the most downvoted one. If you disagree with their answer and my reasoning here, can you explain why?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): why?
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2.5): can you explain
  • RegEx Blacklisted phrase (1): I get the familiar error
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @KLASANGUI
  • User mentioned (0): @KLASANGUI's
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Derkades

79194195

Date: 2024-11-15 23:13:02
Score: 0.5
Natty:
Report link

Another thing to check is to make absolutely sure that the file(s) you are targeting with your task are contained within the root of your VSCode project folder at or below the same level as your .vscode folder that contains the tasks.json file.

I just experienced the same issue with a C project. Restarting VSCode and rebooting the computer had no effect. I eventually realized the copy of the .c file I was attempting to build had been opened from outside the root of the project. Once I opened the correct file inside the project folder everything worked as expected.

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

79194194

Date: 2024-11-15 23:12:01
Score: 2.5
Natty:
Report link

const express = require('express'); const swaggerUi = require('swagger-ui-express');

const app = express();

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

79194181

Date: 2024-11-15 23:05:00
Score: 3.5
Natty:
Report link

I wrote an article about implementing a custom lifecycle hook, I think you can make use of the example there. You can replace the mentioned session manager service with a focus manager service for your needs.

https://medium.com/@r.daniel.szendrei/implementing-a-custom-lifecycle-hook-in-angular-you-probably-shouldnt-but-i-m-not-your-mum-e05e150610a6

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

79194180

Date: 2024-11-15 23:04:00
Score: 3
Natty:
Report link

In Xcode 16, .h file's Target Membership should be set as Public. Select the header file, open the Inspector window located right side, and set Target Membership as Public.

Could not build Objective-C module solution

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

79194179

Date: 2024-11-15 23:04:00
Score: 1
Natty:
Report link

It makes no sense to have a case-default clause inside a unique-case. The unique keyword is to inform that the case is full and that all case items are mutually exclusive. Any case with a case-default clause is, per definition, full. And, also per definition, a default-case-item will never match any other case-item. So, from a synthesis perspective, adding a case-default to a unique-case it is the same as having a regular-case. The only difference between regular-case and unique-case with case-default will be from simulation tool perspective: for the unique-case, it will generate a warning if two case-items match for the same case expression.

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

79194175

Date: 2024-11-15 23:01:59
Score: 4
Natty: 4.5
Report link

https://github.com/spring-projects/sts4/wiki/Previous-Versions/723da72be5fce9fc64567281212700aed5fb2edd

this URL is to download 4.11 sts version

this URL for all older versions:

https://github.com/spring-projects/sts4/wiki/Previous-Versions

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

79194171

Date: 2024-11-15 22:59:58
Score: 5
Natty: 5.5
Report link

See https://aws.amazon.com/about-aws/whats-new/2024/05/amazon-ec2-api-public-endorsement-key-nitrotpm/ , where an API is added to fetch the EK from a Nitro TPM.

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

79194167

Date: 2024-11-15 22:57:57
Score: 4
Natty: 5
Report link

what do I if I added >>If timer equal to zero then -1>> if I play before the timer it will subtract 1

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what do I
  • Low reputation (1):
Posted by: 3334wdw

79194166

Date: 2024-11-15 22:57:57
Score: 1.5
Natty:
Report link

Take a look at https://www.npmjs.com/package/@siteed/expo-audio-stream

It should do what you need, won't work with Expo Go.

I haven't tried it yet as my current focus is on playing streamed audio rather than recording.

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

79194161

Date: 2024-11-15 22:56:57
Score: 0.5
Natty:
Report link

Indeed, the elements field is not supported in the LinkedIn API for job postings.
Furthermore, job postings should be made through the /simpleJobPostings endpoint, not /posts.
For more details, refer to the LinkedIn Job Postings API Documentation.

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

79194154

Date: 2024-11-15 22:51:56
Score: 3.5
Natty:
Report link

This has been resolved by adding input parameters to the transformation and setting the variables in the transformation as well

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

79194151

Date: 2024-11-15 22:48:55
Score: 2
Natty:
Report link

Apparently WebStorm needs to have these files associated with the TypeScript config file type.

In Settings, Editor > File Types, I needed to add tsconfig.backend.json and tsconfig.base.json to the File name patterns list.

WebStorm settings UI, depicting Settings > Editor > File Types, then Recognized File Types, then TypeScript config, then adding the desired files to File name patterns

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: callmetwan

79194146

Date: 2024-11-15 22:47:55
Score: 1.5
Natty:
Report link

I just add geom_subtile() and geom_subrect() function in package ggalign to subdivide rectangles with shared borders into a grid.


df <- tibble::tibble(
    id = c(LETTERS[1:6], LETTERS[1:5]),
    value = c(paste0("V", 1:6), paste0("V", 1:5)),
    group = c(rep("group_1", 6), rep("group_2", 5))
)
library(ggalign)
ggplot(df, aes(x = id, y = value, fill = group)) +
    geom_subtile()

enter image description here

It can do more:

## arranges by row
ggplot(data.frame(value = letters[seq_len(5)])) +
    geom_subtile(aes(x = 1, y = 1, fill = value))

enter image description here

## arranges by column
ggplot(data.frame(value = letters[seq_len(9)])) +
    geom_subtile(aes(x = 1, y = 1, fill = value), byrow = FALSE)

enter image description here

## one-row
ggplot(data.frame(value = letters[seq_len(4)])) +
    geom_subtile(aes(x = 1, y = 1, fill = value), direction = "h")

enter image description here

## one-column
ggplot(data.frame(value = letters[seq_len(4)])) +
    geom_subtile(aes(x = 1, y = 1, fill = value), direction = "v")

enter image description here

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

79194138

Date: 2024-11-15 22:38:54
Score: 1
Natty:
Report link

The answer is quite late but what is the problem about using the app token here?
Also, I would suggest to use a user token instead of credentials with login & password.

Anyway, you have a point, the official API docs say the app_token is optional but in most cases it is actually required.

I have developed a whole bidirectional interface between GLPI and another ticketing system, it worked perfectly fine with just including the app_token in session creation.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user28323721

79194130

Date: 2024-11-15 22:34:53
Score: 2
Natty:
Report link

I ran into the exact same error even after I had already completed some React tests that were working just fine.

I don't know if this is what happened to you, but if anyone else comes across this, I simply forgot to right click on Command Prompt and choose Run as Administrator. d'oh!

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

79194128

Date: 2024-11-15 22:33:52
Score: 3
Natty:
Report link

If you really want to make this suggestion, you can make it here: https://github.com/w3c/uievents-code/issues/

You can refer to this list whenever you need: https://www.w3.org/TR/uievents-code/#key-alphanumeric-writing-system

There's all the current KeyboardEvent codes described there.

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

79194120

Date: 2024-11-15 22:28:51
Score: 1.5
Natty:
Report link

Thanks for reaching out! I am Ruokun and I am one of the engineers on the Drasi team.

The StoredProc reaction was recently reviewed and updated to use our Node Reaction SDK. However, this update wasn't included in the previous release (version 0.1.5, the one that you were you using earlier), so it was still relying on the outdated configuration settings. Sorry for any confusion as the docs were updated before we had a new Drasi release.

We have just published a new release (version 0.1.6) for Drasi this afternoon. Please re-install the latest version of CLI using the CLI installation script (https://drasi.io/reference/command-line-interface/) and re-deploy Drasi to your Kubernetes cluster. You should be able to deploy the StoredProc Reaction now. Please do not hesitate to reach out to me if there are any additional questions.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ruokun-niu

79194119

Date: 2024-11-15 22:27:51
Score: 0.5
Natty:
Report link

Just use a Docker compose file and point your Spring project to the right file, like explained in the Spring DOCs :

spring.docker.compose.file=../my-compose.yml

Look up the InfluxDB docker image DOCs for the configuration you need. Minimal example:

services:
  time-series-database:
    # Change to your version of choice - https://hub.docker.com/_/influxdb/tags
    image: influxdb:2.7-alpine
    ports:
      - 127.0.0.1:8086:8086
    environment:
      - DOCKER_INFLUXDB_INIT_MODE=setup
      - DOCKER_INFLUXDB_INIT_USERNAME=john-doe
      - DOCKER_INFLUXDB_INIT_PASSWORD=my-super-secret-password
      - DOCKER_INFLUXDB_INIT_ORG=acme-inc
      - DOCKER_INFLUXDB_INIT_BUCKET=my-bucket
      - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=0YVmO2e179ymcr4AZoA9FOEAIZSdDmezA8yIuLnSL4ERowgKZGKWEKqZAR64BCVn1aC4tN6Jq7aVM0ldAMZJIQ==
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SimpleJack

79194115

Date: 2024-11-15 22:23:50
Score: 2.5
Natty:
Report link

Hy i am also trying the same and it says no matching version found but the package is still present in codeartifact. When I make the upstream as Allow it works but when I block it it does not work.

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

79194113

Date: 2024-11-15 22:21:49
Score: 2
Natty:
Report link

It is simple.

  1. Put the table in DESIGN mode
  2. Change the column to had IDENTITY specification
  3. Create a change script
  4. Copy the script and open a query window to paste it into
  5. Run the script

The script will handle creating a temp table, setting the identity insert, dropping the existing table, and renaming the temp table.

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

79194107

Date: 2024-11-15 22:18:48
Score: 2
Natty:
Report link

You need to make sure that there are no whitespace before the output. Double check your required files and see if there are any whitespace or newlines.

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

79194102

Date: 2024-11-15 22:17:48
Score: 1
Natty:
Report link

According to the docs, OpenID's profile scope is:

"Required to retrieve the member's lite profile including their id, name, and profile picture."

It doesn't provide information about the user's positions.
To access that, you should use /me with r_liteprofile or r_basicprofile, but note that access requires approval through the LinkedIn Partner Program.

See the LinkedIn API docs.

Reasons:
  • RegEx Blacklisted phrase (1): See the Link
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ron Zano

79194095

Date: 2024-11-15 22:11:47
Score: 0.5
Natty:
Report link

I Think that there is Two Node versions on you machine you could try to list all node versions npm -g ls Alternatively you could uninstall npm and make sure no npm on your machine then install it again versions npm -g rm Then install it again

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

79194089

Date: 2024-11-15 22:09:46
Score: 1
Natty:
Report link

The actual solution for me was to use ~/.bash_profile for msys instead of ~/.profile (or you can symlink it).

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

79194088

Date: 2024-11-15 22:09:46
Score: 3.5
Natty:
Report link

Old plugin are no longer accessible due to license issue.

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

79194081

Date: 2024-11-15 22:05:45
Score: 1
Natty:
Report link

I was seeing the same issue despite COM references being set up correctly, blowing away/redownloading dll file, etc. Then I found a similar issue online that outlined a way to uninstall/reinstall Office 365. Following these steps resolved the issue for me:

Open your Control Panel (Start Button on Desktop, then click the Settings gear icon), the select the Apps category and scroll down until you see 'Microsoft 365 Apps'. Click once on Microsoft 365 Apps and then select "Modify". I recommend a "Online Repair".

https://learn.microsoft.com/en-us/answers/questions/258475/unable-to-cast-com-object-of-type-microsoft-office

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

79194073

Date: 2024-11-15 22:03:45
Score: 1
Natty:
Report link

If you don't mind to see square brackets around each row and commas between each number in a row you can do:

java.util.Arrays;
for (int row = 0; row < ttt1.length; row++)
       System.out.println(Arrays.toString(ttt1[row]));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zvi Barak

79194056

Date: 2024-11-15 21:56:43
Score: 0.5
Natty:
Report link

When the spawn terminal completes its task, it can trigger a USR1 signal to the root terminal. What you need to do is trap that signal from the root script and do the housekeeping work.

#!/usr/bin/env bash

sigusr1_received=false

function catch_sigusr1() {
    sigusr1_received=true
    echo "OK"
}

trap catch_sigusr1 USR1

gnome-terminal -- bash -c "bash -ic 'source temp.bash' ; kill -USR1 $$"&

while ! $sigusr1_received ; do
    sleep 1
    echo -n .
done
echo
echo "SIGUSR1 received"
# do something after receiving SIGUSR1
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When the
  • Low reputation (1):
Posted by: wmarini

79194053

Date: 2024-11-15 21:55:42
Score: 0.5
Natty:
Report link

yes in dbplyr 2.5.0, the sql_query_wrap.Oracle function was removed.

you can use dbplyr::nest() as an alternatve

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

79194042

Date: 2024-11-15 21:51:42
Score: 3.5
Natty:
Report link

The env var MF_METADATA_DB_TIMEOUT can be set for this. Reference: https://github.com/Netflix/metaflow-service/issues/448.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: José Daniel Montoya Salazar

79194032

Date: 2024-11-15 21:46:40
Score: 0.5
Natty:
Report link
  1. Verify Node.js versions: Check available versions here to ensure you are using a compatible version for your Next.js project.

  2. Install and use the correct version with nvm: Using nvm allows you to switch between Node.js versions easily, ensuring compatibility with different projects. Run the following commands to install and use the correct version:

    nvm install 22.5.1
    nvm use 22.5.1
    
  3. Re-run your development server: After switching versions, run your project again:

    npm run dev
    

sample image enter image description here

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

79194028

Date: 2024-11-15 21:46:40
Score: 1
Natty:
Report link

I think for stop loss and take profit orders to go through you need to send them during regular trading hours (RTH): "Interactive Brokers has regular trading hours from 9:30 to 16:00 ET"

Since you're testing sending them after 4pm ET the parent order works but the bracket (stop loss and take profit) will fail.

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

79194015

Date: 2024-11-15 21:41:39
Score: 1
Natty:
Report link

The problem is that B$ has already been defined (explicitly or implicitly) before your line 4240.

Per the documentation, https://www.sol20.org/manuals/basic5.pdf, DM error means:

Dimension error. Attempt to dimension (DIM) array more than once in program

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

79194010

Date: 2024-11-15 21:38:37
Score: 7 🚩
Natty: 5
Report link

I am running into this issue where we had to use a phone with sms to verify the account. We do not want this number publicly visible. You mentioned changing to a different number. Did you have to go through the verification process all over again with this new number, or were you able to update the listed number through some type of setting? It says you can change the information at any time through the payment profiles, but this did not work for us.

Reasons:
  • Blacklisted phrase (1): did not work
  • RegEx Blacklisted phrase (3): were you able
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Brian

79194001

Date: 2024-11-15 21:32:35
Score: 4.5
Natty: 4
Report link

That (#19) works (if print(wb.properties) is added) but is there a way to also have it return the name of the file? Then it becomes useful in a batch scan of xls files.

Reasons:
  • Blacklisted phrase (1): is there a way
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: krabapple

79193992

Date: 2024-11-15 21:27:33
Score: 1
Natty:
Report link

Solved. When the CodeBuild step was created, from the AWS Template for Maven, it defaults to a CodeBuild Buildspec.yml file, rather than the one in the codebase - rather annoyingly - and it doesn't tell you it's doing that.

When I moved the buildspc.yml file contents into the AWS Console Buildspec section within CodeBuild then things started to work again.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Michael Cropper

79193969

Date: 2024-11-15 21:15:31
Score: 3
Natty:
Report link

You need to create a access token under the File location drop down on the right, then you can view and download the file via the console. "Create new access token"

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

79193967

Date: 2024-11-15 21:13:30
Score: 2.5
Natty:
Report link

In my case I discovered that I had a VPN blocking the request. If you have a VPN or other proxy, try turning it of when you install that package. It was able to verify the certificate after I turned mine off.

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

79193951

Date: 2024-11-15 21:04:29
Score: 2
Natty:
Report link

This is not an answer to your question, but additional insight.

First of all, great job on your analysis. It's spot on to what I've found out myself.

I've noticed that even a blank Flutter app (created with default settings) has the same freezing behavior on Wear OS devices under the conditions you described. This suggests that the problem stems from how Flutter interacts with Wear OS specifically, rather than an issue within your app's code.

From a technical standpoint, this issue seems to be unique to Wear OS due to differences in how the operating system manages app lifecycles and background processes compared to standard Android devices. Wear OS imposes stricter limitations on background activities to conserve battery life and optimize performance for wearable devices with limited resources (Link).

I'm currently looking this as well and will provide an update on any discoveries.

Reasons:
  • Blacklisted phrase (1): not an answer
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Corbin Meier

79193944

Date: 2024-11-15 21:02:28
Score: 2
Natty:
Report link

Apparently this is due to upgrading Visual Studio Code to version 1.95. The only solution I have found is to downgrade to version 1.94.2. Check the version you have and while they fix it, disable automatic updates and install version 1.94.2 over the current one. You can download it from https://vscode.download.prss.microsoft.com/dbazure/download/stable/384ff7382de624fb94dbaf6da11977bba1ecd427/VSCodeUserSetup-x64-1.94.2.exe

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

79193939

Date: 2024-11-15 21:00:25
Score: 7 🚩
Natty: 5
Report link

Some one is jacking with my Wi-Fi camera and one name is leavit the other is Tahiti if you could help me there’s all kinds of cartoon looking naked people on there

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): you could help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robert Davenport

79193931

Date: 2024-11-15 20:57:22
Score: 10.5 🚩
Natty:
Report link

I am facing same issue, do you have any lead?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have any
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sourabh Yadav

79193929

Date: 2024-11-15 20:56:22
Score: 1.5
Natty:
Report link

Maybe it has something to do with the usage of euler angles, as described here : https://docs.unity3d.com/ScriptReference/Transform-eulerAngles.html The rotations are stored as Quaternions You are affecting the whole rotation of the object, but if you just wanna rotate around the x and/or the y axis, juste call the Rotate() method, and then specify the axis and value, as manipulating quaternions can be tricky.

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

79193925

Date: 2024-11-15 20:54:21
Score: 1
Natty:
Report link

It's been a while, but I thought my response would be appropriate.

You can use optimistic or pessimistic blocking

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

79193916

Date: 2024-11-15 20:51:20
Score: 1
Natty:
Report link

Another alternative to clamp:

font-size: max(min(calc(100vw / 60), 28px), 10px);

This sets the font size to depend on the view width, with min and max limits.

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

79193884

Date: 2024-11-15 20:40:17
Score: 4
Natty:
Report link

In vite import.meta.env.SOME_KEY. See https://vite.dev/guide/env-and-mode

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miguel Pérez Rodríguez

79193872

Date: 2024-11-15 20:36:15
Score: 2.5
Natty:
Report link

The last post was year 2022, and advising not to post pictures in an image, instead to use the table function. I do have exact problem like this. Now, to question about your suggestion, I do not understand why didn't mentioned the details after you prohibiting posting an image.

Please enlighten me on this.

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

79193867

Date: 2024-11-15 20:33:15
Score: 4
Natty:
Report link

the answer is in this video from 10:20 to 11:04 Login with Google

Reasons:
  • Blacklisted phrase (1): this video
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: abdulrahman BAKRIN

79193854

Date: 2024-11-15 20:29:13
Score: 4
Natty:
Report link

django-heroku is now deprecated.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Maria Campbell

79193851

Date: 2024-11-15 20:27:13
Score: 3
Natty:
Report link

In addition to the answer provided regarding permissions, it is also important to note that a 'multi-select' custom field cannot be used as an 'Ask for Details' custom field.

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

79193846

Date: 2024-11-15 20:26:12
Score: 0.5
Natty:
Report link

For me, perform() was only called after I conformed my intent also to LiveActivityIntet like this:

struct AnAppIntent: AppIntent & LiveActivityIntent {
}

I could also remove the empty init() ...

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

79193845

Date: 2024-11-15 20:26:12
Score: 0.5
Natty:
Report link

I faced a similar issue and found that the documentation provided a clear solution. you can check it out here

it helped me to resolve the problem, and i hope it works for you too. Good luck! Hope it helps! 🍀

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Whitelisted phrase (-1): Hope it helps
  • Whitelisted phrase (-1): hope it works
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Adeodatus Abdul

79193843

Date: 2024-11-15 20:24:12
Score: 1
Natty:
Report link

The reference should be by the name of the entity, not the original name of the table in the DB. So this shall be:

@ManyToOne
@JoinColumn(name="cart_id", nullable=false)
private CartEntity cart;

And the same shall be applied to the item entity.

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

79193842

Date: 2024-11-15 20:24:12
Score: 2.5
Natty:
Report link

This for construct serves the purpose of iterating through the list of nodes, which are interlinked objects. The first part (let node = list) establishes the starting position of the list by storing it in the variable node. The second section (node) verifies the presence of node and as long as it is present (i.e. not null or undefined) the loop persists. The third aspect (node = node.rest) allows traversing to the subsequent node in the linked structure by accessing the rest reference that leads to the following node in the sequence.

The .rest is not a reserved word; it simply serves as an identifier for the child element, which is used to link the current chain to the next one, and is often referred to as .next in other such programs. The above loop continues in a serial manner visiting all the chain links until the last link is opened. It is like a path in which every move leads to another!

Please let me know if you have any further queries. I would be more than happy to answer

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mastertanzeel

79193832

Date: 2024-11-15 20:20:11
Score: 0.5
Natty:
Report link

You will have to use something like this if you are updating table_A from table_B in redshift.

update schema.table_A
set new_var = schema.table_B.new_var
from schema.table_B
where schema.table_A.record_id = schema.table_B.record_id
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nvsk. avinash

79193828

Date: 2024-11-15 20:18:10
Score: 0.5
Natty:
Report link
<div class="bg-img">
<form method="POST" action="https://click2call.aosystemsgroup.com/wcb.php">
<div class="input-container">
    <span class="material-icons icon" style="font-size: 14px; background: rgb(22,58,130); background: linear-gradient(0deg, rgba(22,58,130,1) 30%, rgba(112,172,222,1) 70%)">call</span>
    <input type="text" class="input-field" name="num" placeholder="Phone Number:" id="webcallbackinput" onkeydown="javascript:backspacerDOWN(this,event);" onkeyup="javascript:backspacerUP(this,event);" value=""/>
    <input type="hidden" id="dest" value="http://click2call.aosystemsgroup.com/wcb.php"/>
    <input type="hidden" id="i" value="1"/>
    <input type="image" height="37" src="images/c2c_button.png" width="145" style="  position: relative; left: 8px; top: 145px" alt="submit"/>
</div>
</form>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rel82me

79193826

Date: 2024-11-15 20:18:10
Score: 1.5
Natty:
Report link

Check that the whole code block does not have an

if (false)

or

if (false && ...)

surrounding it. I sometimes use this because I'm too lazy to comment it out.

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1):
  • Has code block (-0.5):
Posted by: Markus

79193819

Date: 2024-11-15 20:14:09
Score: 2.5
Natty:
Report link

Unfortunately, there is a bug in Terraform AWS provider that prevents using shared PCAs across AWS accounts. There is a PR, but it is not getting attention https://github.com/hashicorp/terraform-provider-aws/pull/39952

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

79193814

Date: 2024-11-15 20:10:08
Score: 2.5
Natty:
Report link

Redshift temp tables only exists for one session. Once the session times-out there is no other option other than re-creating it.

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

79193807

Date: 2024-11-15 20:06:08
Score: 3.5
Natty:
Report link

compress your file and zip it and then upload it

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

79193804

Date: 2024-11-15 20:05:07
Score: 5.5
Natty:
Report link

This is very useful code, but I need to know how to limit the output to folders. I see there is a -Directory setting, but I'm unable to get it to work.

Below is a sample of my code. Any help would be greatly appreciated.

$FileFirst4Char=$file._Name.substring(0,4)
$FolderSearchStr=$dxfNetworkFolder + $FileFirst4Char+"*"
if (($namefromdir=(get-item "$FolderSearchStr").fullname) | select-object -First 1) {
    $dxfNetworkFolder=$namefromdir
    }
    else {
    $dxfNetworkFolder=$dxfNetworkFolder + "MISCELLANEOUS - DRAWINGS"
}
Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help would be greatly appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JRDumont

79193801

Date: 2024-11-15 20:04:07
Score: 2.5
Natty:
Report link

You could use DISTINCT to avoid duplicates and to avoid time-out you could filter on the table with a date range if you have any cols storing date range

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

79193784

Date: 2024-11-15 19:58:05
Score: 1
Natty:
Report link

I was able to get the behavior I wanted by putting &nbsp; in between the spans and using this CSS:

span::before {
    content: "";
    display: block;
}

I was able to confirm that this works in Firefox too.

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

79193783

Date: 2024-11-15 19:58:05
Score: 1
Natty:
Report link

I also have problem with the node.next_sibling("name1"). I have about 100 siblings with "name1". When I loop through them, sometimes the loop reaches the end, but most of the times it abandons in the middle of the length of siblings.

Always in the same position. I checked the XML file and there is no difference. I checked the address (in the debugger) between siblings and when the loop interrupts the address of the next sibling has a larger offset than the other siblings. I do not know why this happens.

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

79193765

Date: 2024-11-15 19:50:03
Score: 1.5
Natty:
Report link

Ok, I changed a line like this:

@PayloadRoot(namespace = NAMESPACE_URI, localPart = "addRequest")

(lower case 'addRequest') and this works now.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Papp Zoltán

79193748

Date: 2024-11-15 19:45:01
Score: 1
Natty:
Report link
Scanner scanner = new Scanner(System.in, System.out.charset());

This solution works with Java 18+. This works both in Eclipse with default settings and in Windows command prompt having code page 852. Checking the code page:

chcp

Changing it to 852:

chcp 852

Thanks for everyone who helped reaching the solution!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Csaba Faragó

79193745

Date: 2024-11-15 19:45:01
Score: 3
Natty:
Report link

If someone is still struggling, try with SHA-1 Key not SHA-256.

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

79193711

Date: 2024-11-15 19:28:55
Score: 12 🚩
Natty:
Report link

Good afternoon

Dear Sir, I would like to ask you if you have the same problem regarding the options for tables, projects, data sources. When we try to run or enter them, we get an error indicating that they do not exist. Do you have the same error? And if not, could you tell me how I could solve it? Oh, it's just that this free version has these limitations.

Reasons:
  • Blacklisted phrase (1): Good afternoon
  • RegEx Blacklisted phrase (2.5): could you tell me how
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (2.5): Do you have the
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Me too answer (0): have the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: systemtt

79193702

Date: 2024-11-15 19:24:54
Score: 1
Natty:
Report link

The JavaScript solution above is great, but I would instead opt for a custom style, since :not() is broadly supported nowadays. If you are in need of a pure CSS solution, I would use the following:

.elementor-social-icon:not([href]) {
  display: none !important;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Foxx Greeley

79193696

Date: 2024-11-15 19:22:54
Score: 2
Natty:
Report link

If your app configures itself to self-manage phone calls, you don't need the POST_NOTIFICATIONS permission in order for your app to send notifications that use the Notification.CallStyle notification style.

https://developer.android.com/develop/ui/views/notifications/notification-permission#exemptions-self-manage-phone-calls

See that link and the APIs it links to for how to configure an app that way.

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

79193691

Date: 2024-11-15 19:21:54
Score: 1
Natty:
Report link

The answer is

  const auto position = cpBodyGetPosition(_props.body.get());
  const int count = cpPolyShapeGetCount(_props.shape.get());

  std::vector<cpVect> vertices(count);
  for (int i = 0; i < count; ++i) {
    vertices[i] = cpPolyShapeGetVert(_props.shape.get(), i);
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rodrigo

79193689

Date: 2024-11-15 19:19:53
Score: 2
Natty:
Report link

Go NVIDIA Control Panel -> Select Manage 3D Settings and choose Auto-select, it works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Normie Dạo Phố

79193666

Date: 2024-11-15 19:11:51
Score: 1
Natty:
Report link

you can use AJV to define a schema where the fields property changes based on the type using if then else. eg. if type is GPS, the fields must have lat and lng, and no extra fields are allowed. Similarly for ROOM it should only have temp and humidity

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

79193663

Date: 2024-11-15 19:10:51
Score: 1
Natty:
Report link

+91 96612 57987, +91 91022 71266, +91 7460 853 085, +91 85219 55608, +91 99168 12863, +91 70041 99106, +91 76670 82406, +91 85700 83249, +91 81022 80239, +220 262 5275, +91 62649 80889, +91 63953 77921, +91 70499 01895, +91 72240 01333, +91 75095 23599, +91 78797 42901, +91 788 007 7125, +91 821 747 3768, +91 83407 10549, +91 83580 16378, +91 84595 94232, +91 84679 05451, +91 86020 97303, +91 90952 41999, +91 93213 98776, +91 93730 77584, +91 95163 89121, +91 95168 58737, +91 98926 13897

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MR.sumsung Yousar

79193651

Date: 2024-11-15 19:04:49
Score: 1
Natty:
Report link

Repartition with coalesce can be used:

x_repartitioned = x.coalesce(y.getNumPartitions())  # Match partitions of y
z = x_repartitioned.zip(y).collect()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samhita

79193637

Date: 2024-11-15 18:59:48
Score: 1.5
Natty:
Report link

A static function in belongs to the class rather than any specific instance (object) of the class. It does not require an object to be called and can only access static members of the class. A non-static function in is tied to a specific object. It operates on the instance of the class and has access to both static and non-static members of the class.

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

79193622

Date: 2024-11-15 18:55:47
Score: 1
Natty:
Report link

Sheets Set Column Width

Here is a workaround to the sheet problem you've encountered.

function to allow me to manually set the size of columns, or add additional spacing to AutoResizeColumn

Additional Code:

headers.forEach((x, i) => {
  sht.setColumnWidth(i + 1, sht.getColumnWidth(i + 1) + 10)
});

Sample Output Before:

Sample 1

Sample Output After:

Sample 2

Reference:

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

79193618

Date: 2024-11-15 18:53:46
Score: 0.5
Natty:
Report link

The problem also occurs with Symfony 7.

The solution is to install the

apache-pack https://packagist.org/packages/symfony/apache-pack

from Symfony.

It adds an .htaccess file to the public directory, which then takes over the redirects for the profiler paths. You can also use the dynamic asset mapping of the AssetMapper without having to compile the assets with it. Of course, this should only be used in the dev system.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stephan

79193617

Date: 2024-11-15 18:53:46
Score: 3.5
Natty:
Report link

Here thanks to @dada67 hint. I just upgraded js 7, suddenly got exactly same error above only when deployed. I just added jasperreports-jdt dependency in pom. dada, Works! Just curious, any hint about why work fine in local dev ide, but failed when deployed in container env.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @dada67
  • Low reputation (1):
Posted by: tao.wang.pro

79193616

Date: 2024-11-15 18:53:46
Score: 4
Natty:
Report link

This solves the problem using "typescript": "^5.6.3" or downgrade the @types/next-intl next-intl routing.ts giving TS2554: Expected 0 arguments, but got 1

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

79193605

Date: 2024-11-15 18:48:45
Score: 1.5
Natty:
Report link

If you are running Django + gunicorn with NGINX or Caddy and you are sure your configurations are correct, one thing to check is that you are connecting to NGINX / Caddy and not gunicorn itself.

i.e. If you are connected to localhost:8000/admin, you are connected to gunicorn and you will not get CSS / static files. Connect instead to localhost/admin

Coming back to a django project after a few months away and I was bashing my head against this for hours.

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

79193604

Date: 2024-11-15 18:48:45
Score: 0.5
Natty:
Report link

Ok added a conditional check in agent.py to skip processing key_name unless it exists. This prevents the error and ensures compatibility for setups where key_name is not required.

Proposed Fix: A conditional check can be added in agent.py to skip processing key_name unless it's present and valid:

if "key_name" in env_var and env_var["key_name"] in unnacepted_attributes:
continue

This ensures the error doesn’t occur when key_name is absent but unnecessary for the task.

I created a Pull request here

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

79193603

Date: 2024-11-15 18:48:45
Score: 1.5
Natty:
Report link

Change that line, you have a mistake.

"clang-format.executable": "C:\\Program Files (x86)\\LLVM\\bin\\clang-format.exe"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Garnik

79193599

Date: 2024-11-15 18:46:44
Score: 0.5
Natty:
Report link

I got the answer, we can add externalModules like this in my-app-stack.ts

bundling: {
        externalModules: ["@gen-fellow/rust-lib"],
      }
//my-app-stack.ts
import * as cdk from 'aws-cdk-lib'
import { Construct } from 'constructs'
import * as lambda from 'aws-cdk-lib/aws-lambda'
import * as apigw from 'aws-cdk-lib/aws-apigateway'
import { NodejsFunction } from 'aws-cdk-lib/aws-lambda-nodejs'

export class MyAppStack extends cdk.Stack {
  constructor(scope: Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props)

    const fn = new NodejsFunction(this, 'lambda', {
      entry: 'lambda/index.ts',
      handler: 'handler',
      runtime: lambda.Runtime.NODEJS_20_X,
      bundling: {
        externalModules: ["@gen-fellow/rust-lib"],
      }
    })
    fn.addFunctionUrl({
      authType: lambda.FunctionUrlAuthType.NONE,
    })
    new apigw.LambdaRestApi(this, 'myapi', {
      handler: fn,
    })
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shyam Raghuwanshi

79193588

Date: 2024-11-15 18:41:43
Score: 2
Natty:
Report link

It turns out that I have to git add . and then commit and push to the repo to get the artifacts to appear.

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

79193565

Date: 2024-11-15 18:32:41
Score: 0.5
Natty:
Report link

For me the key was adding the autoplay attribute to the video tag. I also added playsinline, so that the video did not go fullscreen. Here's my full html tag:

<video id="video" autoplay playsinline>Video stream not available.</video>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: OffTheBricks

79193556

Date: 2024-11-15 18:29:39
Score: 3.5
Natty:
Report link

Possible ways

  1. You Can create action and create a function to convert natural language to SQL query using Azure Functions and Query MySQL DataBase HTTPS Call enter image description here
Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yash Kavaiya