79333232

Date: 2025-01-06 13:52:47
Score: 1
Natty:
Report link

First- We need to install Git on our VM "sudo yum install git"

Second- Check is it install or not "git -v"

Third- Check the installed Path "which git"

Fourth- Add Path "Manage Jenkins -> global tool configuration -> Git -> Git Installations -> Path to Git executable."

Fifth- Save and restart http://xyz:8180/restart

enter image description here

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jai Nath Gupta

79333230

Date: 2025-01-06 13:52:47
Score: 3.5
Natty:
Report link

I had the exact same error.

pip3 install wtforms==2.3.0 worked form me

see github docs (installation requirements) here https://github.com/pallets-eco/flask-admin/blob/master/requirements-skip/tests-min.txt

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

79333223

Date: 2025-01-06 13:49:46
Score: 0.5
Natty:
Report link

For me cal -m works.
cal --version

cal from util-linux 2.40.2

cal -m

    January 2025    
Mo Tu We Th Fr Sa Su
       1  2  3  4  5
 6  7  8  9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31      
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Koronis Neilos

79333220

Date: 2025-01-06 13:49:45
Score: 5.5
Natty: 5.5
Report link

Any update here? Any way we can get the buffering percentage?

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

79333217

Date: 2025-01-06 13:48:44
Score: 3.5
Natty:
Report link

Is it supposed to works in 1.5 version because I'm trying and it does not.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: David Vander Elst

79333211

Date: 2025-01-06 13:45:43
Score: 4.5
Natty: 4
Report link

Have you got this issue fixed? I am getting same defect trying to play audio in dart flutter application via UDP: releaseBuffer: mUnreleased out of range, !(stepCount:8 <= mUnreleased:0 <= mFrameCount:4096)

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nícolas Brinkhus

79333209

Date: 2025-01-06 13:44:42
Score: 3.5
Natty:
Report link

Does it hang if you try with -K rather than --become-method ?

ansible localhost -m command -a whoami -K
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: T.I

79333207

Date: 2025-01-06 13:44:42
Score: 1
Natty:
Report link

Roy Smith's suggestion worked for me https://github.com/microsoft/vscode-python/issues/24656 downgrading the python basically it's downgrading the python extension to version 2024.22.0 which fixed it and let's the discovery succeed again

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

79333205

Date: 2025-01-06 13:43:41
Score: 4
Natty:
Report link

Restarting Mac resolved the issue

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

79333183

Date: 2025-01-06 13:31:39
Score: 0.5
Natty:
Report link

I updated my code this way; I think it's better than the previous version.

List<Model> findAndOperate({
  required double value,
  required Operations operations,
  required List<Model> mainList,
  required List<Model> selectedList,
}) {
  for (final item in mainList) {
    if (selectedList.contains(item)) {
      final itemIndex = mainList.indexOf(item);
      final changeItem = switch (operations) {
        Operations.PLUS => item.copyWith(price: item.price + value),
        Operations.MULTIPLICATION => item.copyWith(price: item.price * value)
      };
      mainList[itemIndex] = changeItem;
    }
  }
  return mainList;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kaan

79333181

Date: 2025-01-06 13:31:39
Score: 1
Natty:
Report link

After switching from Maven to Gradle, we had the same problem. We got the tests running again by navigating to Run | Edit Configurations then selecting this option:

Intellij Kotlin Run | Edit Configurations dialog

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

79333180

Date: 2025-01-06 13:30:38
Score: 1.5
Natty:
Report link

oblivisheee. I little a bit modified your compose config to build and start this docker service by itself, without requiring a surrealdb, a redis, a loki and a nats services. My compose config looks like:

services:
  assistant:
    image: ghcr.io/kiroshi-ai/kiroshi-ai-assistant:v1
    build:
      context: ./assistant
      context: .
      dockerfile: Dockerfile
      dockerfile_inline: |
        FROM debian:bookworm
    ports:
      - "3500:3500"
    depends_on:
      - surrealdb
      - redis
      - loki
      - nats

    command:
      - sleep
      - "3600"

    dns:
      - 8.8.8.8
      - 8.8.4.4
      - 1.1.1.1
      - 9.9.9.9
      - 168.63.129.16
      - 20.62.61.128
      - 20.98.195.77
      - 84.200.69.80
      - 8.26.56.26
      - 208.67.222.222
      - 10.254.254.254
    extra_hosts:
      - "host.docker.internal:host-gateway"
    networks:
      - default
      - db
      - logs
      - nats
      - nginx



networks:
  default:
    driver: bridge
  db:
    name: kiroshi-ai-db-network
  logs:
    name: kiroshi-ai-logs-network
  nats:
    name: kiroshi-ai-nats-cluster
  nginx:
    name: kiroshi-ai-nginx-network

So, in general, your compose service has access to the global network. I checked it the next way:

# ping amazon.com
PING amazon.com (205.251.242.103) 56(84) bytes of data.
64 bytes from s3-console-us-standard.console.aws.amazon.com (205.251.242.103): icmp_seq=1 ttl=230 time=202 ms
64 bytes from s3-console-us-standard.console.aws.amazon.com (205.251.242.103): icmp_seq=2 ttl=230 time=222 ms
64 bytes from s3-console-us-standard.console.aws.amazon.com (205.251.242.103): icmp_seq=3 ttl=230 time=245 ms
^C
--- amazon.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 202.095/223.137/245.254/17.635 ms

Try to reproduce, and if you still haven't access to the amazon.com from docker, check do you have access to amazon from the host system.

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have a
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mchist

79333177

Date: 2025-01-06 13:29:37
Score: 5.5
Natty: 5
Report link

Looks like might be related to IJPL-8337, tried updating the IntelliJ?

https://youtrack.jetbrains.com/issue/IJPL-8337/IntelliJ-forgets-Tomcats-location-and-I-cannot-re-configure-it

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: c4da

79333171

Date: 2025-01-06 13:27:36
Score: 4
Natty:
Report link

I found the similar answer here Click Here

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

79333168

Date: 2025-01-06 13:26:35
Score: 2.5
Natty:
Report link

The dependency you are looking for does exist in your repo or it the corporate firewall might be blocking you from connecting to the repo to pull the artifact.

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

79333166

Date: 2025-01-06 13:26:35
Score: 2.5
Natty:
Report link

Start-Process -FilePath "C:\Users\pkriz\Downloads\WebDeploy_amd64_en-US.msi" -ArgumentList "/quiet /norestart"

the above should work with your Powershell admin mode

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

79333154

Date: 2025-01-06 13:22:34
Score: 1
Natty:
Report link

check your imports in "your repository",

import org.apache.catalina.User;

change it to :

import org..User

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

79333147

Date: 2025-01-06 13:18:34
Score: 0.5
Natty:
Report link

I had the same problem, but in my case I'm using Material for MKDocs to deploy the website.

To solve this, I noticed that the CNAME file was not created (or copied) on the branch that the Github Pages was configured, just moving the CNAME file to the docs folder (in case of MKDocs), but there is the possibility to change the pipeline to create it on the correct branch.

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

79333137

Date: 2025-01-06 13:14:33
Score: 2.5
Natty:
Report link

findAnomalies.php was removed in 2022. The wiki page for it still contains a script, but it no longer works.

In my case, I used AttachLatest:
Run

cd /path/to/your/wiki
maintenance/run AttachLatest

This will list what would be changed. If this shows some changes, run

maintenance/run AttachLatest --fix

If not, or it still doesn't work, you can reattach all pages via

maintenance/run AttachLatest --regenerate-all --fix
Reasons:
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Redjard

79333135

Date: 2025-01-06 13:13:32
Score: 4.5
Natty:
Report link

Try specifying the python interpreter inside your inventory/hosts file.

enter image description here

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

79333132

Date: 2025-01-06 13:12:32
Score: 2
Natty:
Report link

Your application may have problems resolving file paths or network addresses when executing from a mapped drive on the network. This can happen due to the mapping or drive letter not being resolved accurately within the application

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

79333131

Date: 2025-01-06 13:12:31
Score: 4
Natty:
Report link

Try searching on vsix hub website

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

79333127

Date: 2025-01-06 13:11:31
Score: 2.5
Natty:
Report link

Use regex like shown in below snapshot...extra forward slash wherever it is single slash.

Regexpression

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

79333111

Date: 2025-01-06 13:04:29
Score: 3.5
Natty:
Report link

How to connect Wkcxvgvdnngcxdrrjnrfbjre vhdxmng not sure if ngani ano hahahah eme lang Ako sa harong Tano man I was ka doman ta truck

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Karen may L Dela peña

79333096

Date: 2025-01-06 13:00:27
Score: 9 🚩
Natty: 5.5
Report link

have you found a solution to this problem, I have the same problem and also modal does not open

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): have you found a solution to this problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Coşkun Karakoç

79333095

Date: 2025-01-06 12:59:26
Score: 1.5
Natty:
Report link

The correct answer in the end for this question: The function was hanging due to not having enough resources to deploy.

It was a very simple function that was deployed on the lower end of resource groups.

If the deploys are taking very long time and failing try increasing it's resources.

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

79333089

Date: 2025-01-06 12:56:25
Score: 2
Natty:
Report link

https://blog.octalabs.com/enhancing-security-in-spring-boot-managing-multiple-jwt-issuers-b8d74e2c71c4

You can use the configurationProps to further reduce the individual issuer reference variable declarations

enter image description here

enter image description here

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

79333086

Date: 2025-01-06 12:55:25
Score: 2
Natty:
Report link

Without data we can't be very helpful.

However you can check the {ggtree} package.

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

79333084

Date: 2025-01-06 12:55:25
Score: 1
Natty:
Report link
  1. Load the key-value pairs using the json module from the json file.
  2. Create a DataFrame using the key-value pairs, with orient="index" which means keys will be the index and the values will be the rows.
  3. Now simply create your plot from the dataframe.
import pandas as pd
import json
import matplotlib.pyplot as plt

with open('temp.json', 'r') as file:
    data_pairs = json.load(file)

dataframe = pd.DataFrame.from_dict(data_pairs, orient="index")

dataframe[:5].plot(legend=False, figsize=(3 , 3))
_ = plt.xticks(rotation=45)
dataframe[5:].plot(legend=False, figsize=(3 , 3))
_ = plt.xticks(rotation=45)

Plots

Graph For first 5 pairs

Graph For first 5 pairs

References:

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

79333069

Date: 2025-01-06 12:48:23
Score: 0.5
Natty:
Report link

Make sure you dont have VPN on else it will be picking the VPN ipaddress and you can use different ip address checker service to confirm the ip addresses are the same with the one digital ocean is showing

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

79333060

Date: 2025-01-06 12:44:22
Score: 0.5
Natty:
Report link

You can try pattern validation using reactive forms for eg:- export const MNC = '^([0-9][0-9][0-9]|[0-9][0-9])$'; export const MCC = /^(001|999|[2-7][0-9]{2})$/; You can use above to match for these validations.

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

79333055

Date: 2025-01-06 12:43:22
Score: 1
Natty:
Report link

I am facing the issue while running the docker image, attached the Dockerfile content here :

FROM eclipse-temurin:21 RUN apt-get update VOLUME /tmp EXPOSE 8080 ADD target/spring-boot-aws-exe.jar spring-boot-aws-exe.jar ENTRYPOINT [ "java", "-jar", "/spring-boot-aws-exe.jar " ]

The error while running the docker command from git bash: Unable to access jarfile

please see below command which I have run it from GIT bash **** MINGW64 ~/Downloads/springjpa (master) $ docker images REPOSITORY TAG IMAGE ID CREATED SIZE springjpa latest dcb2d2eabe26 18 seconds ago 1.09GB eclipse-temurin 21 1f1cad73899c About an hour ago 863MB

**** MINGW64 ~/Downloads/springjpa (master) $ docker run -p 8080:8080 dcb2d2eabe26 Error: Unable to access jarfile /spring-boot-aws-exe.jar

****MINGW64 ~/Downloads/springjpa (master)

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

79333051

Date: 2025-01-06 12:41:21
Score: 1
Natty:
Report link

I was able to come up with my own answer. The code is below.

Notes:

  1. This only applies to number formatting but can easily be modified for any Styler format.
  2. pandas display options usually print the minimum number of rows and the maximum number of columns (no option display.min_columns).

I had some help from the thread StackOverflow: Merging Pandas styler object side by side.

from IPython.display import display, HTML

# Function
def style_with_truncation(df, formatter='{:.2f}', min_rows=10, max_columns=20):
    half_rows = min_rows // 2
    half_cols = max_columns // 2

    # Left half
    upper_left = df.iloc[:half_rows ,:half_cols].style.format(formatter=formatter)
    lower_left = df.iloc[-half_rows:,:half_cols].style.format(formatter=formatter)

    ellipsis_half_row_left = pd.DataFrame([['...'] * (half_cols)],
                                          index=['...'], columns=upper_left.data.columns)
    
    left_half = upper_left.concat(ellipsis_half_row_left.style).concat(lower_left)

    # Right half
    upper_right = df.iloc[:half_rows ,-half_cols:].style.format(formatter=formatter)
    lower_right = df.iloc[-half_rows:,-half_cols:].style.format(formatter=formatter)
    
    ellipsis_half_row_right = pd.DataFrame([['...'] * (half_cols)],
                                          index=['...'], columns=upper_right.data.columns)

    right_half = upper_right.concat(ellipsis_half_row_right.style).concat(lower_right)

    # Middle
    ellipsis_column = pd.DataFrame({'...' : ['...'] * (min_rows+1)}, columns=['...'])
    ellipsis_column = ellipsis_column.style
    
    # Set the Styler attribute to be shown side by side
    left_half.set_table_attributes("style='display:inline'")
    right_half.set_table_attributes("style='display:inline'")
    ellipsis_column.set_table_attributes("style='display:inline'")

    # Display the styler objects inline
    row_col_text = f"<p>{df.shape[0]:d} rows × {df.shape[1]:d} columns</p>"
    display(HTML(left_half._repr_html_() +
                 ellipsis_column.hide(axis="index")._repr_html_() +
                 right_half.hide(axis="index")._repr_html_()
                 + row_col_text))

# Example of a function call
min_rows = pd.options.display.min_rows
max_columns = pd.options.display.max_columns
style_with_truncation(df, formatter='{:.2f}', min_rows=min_rows, max_columns=max_columns)

Output: Successful truncation of a stylized DataFrame

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

79333043

Date: 2025-01-06 12:39:21
Score: 0.5
Natty:
Report link

Depending on the version and configuration of your H2 database AUTO_INCREMENT might not be supported.

See this answer for a variety of how to get the same effective result with a more modern syntax.

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Jens Schauder

79333042

Date: 2025-01-06 12:38:20
Score: 3.5
Natty:
Report link

Adding both the file path you are editing and an entry for $DERIVED_FILE_DIR into your output files for the matching file path will fix this issue without modifying User Script Sandboxing.

The location where you add the entries for the above instructions.

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

79333039

Date: 2025-01-06 12:36:20
Score: 0.5
Natty:
Report link

I ended up with a LESS plugin. less-lib.js:

registerPlugin(
    {
        install: function (less, pluginManager, functions)
        {
            functions.add('rp', function (rpx)
            {
                return new tree.Dimension(rpx.value / 16, 'rem');
            });
        }
    }
)

Using:

@plugin "less-lib";
.my-class
{
    width: rp(20);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shtole

79333035

Date: 2025-01-06 12:35:19
Score: 4
Natty: 4.5
Report link

You may use my library https://github.com/filinvadim/wall-clock-ticker PR's are welcomed

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

79333032

Date: 2025-01-06 12:35:19
Score: 1.5
Natty:
Report link

I know this is old, but it is important to "inform" the django application of the presence of celery. You should therefore add

from .celery import app as celery_app

__all__ = ('celery_app',)

To your init.py file. In this case it sohuld be in proj/proj/init.py

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

79333027

Date: 2025-01-06 12:32:18
Score: 1.5
Natty:
Report link

Seems that reading the value of a JSON element with value null triggered the message; after handling the "Jsonelem_type_empty" case separately (and not accessing the element's value at all), the message disappeared.

Funny somehow, that the printed message refers to a datatype 0 - in Carl's findings here you can see that this type should have the value 64...

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

79333024

Date: 2025-01-06 12:32:18
Score: 1
Natty:
Report link

Comment: The answers did not work for me but in my case, the issue was that my page break was outside the print area. I fixed it like that

With Sheets("sheet2").PageSetup .PrintArea = "A1:BB1000" End With

Probably trivial for all you pros. And there might be a more elegant solution.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: FloquetDeNeu

79333020

Date: 2025-01-06 12:31:18
Score: 0.5
Natty:
Report link
COPY <<'DASH' /etc/rc.local
    set -x
    printenv
DASH

RUN chmod +x /etc/rc.local
ENTRYPOINT dash -xc '/etc/rc.local && <the original entrypoint> $1' "$@"
CMD <the original cmd>

Explain:

  1. The file /etc/rc.local is a historical filename for putting scripts that will be executed by pre-systemd-era-daemon SysV init during the system boot: https://unix.stackexchange.com/questions/49626/purpose-and-typical-usage-of-etc-rc-local.

    Another similar path for this purpose is /etc/init.d/*: https://unix.stackexchange.com/questions/3537/etc-rc-d-vs-etc-init-d.

    Here we just take this filename for convention as in docker container there's no init/systemd daemon by default and the ENTRYPOINT is the pid 1.

  2. The original value of image ENTRYPOINT can be found in its Dockerfile or get overrided by compose.yaml.

  3. And setting a new ENTRYPOINT will reset the original CMD to empty string: https://docs.docker.com/reference/dockerfile/#understand-how-cmd-and-entrypoint-interact

    If CMD is defined from the base image, setting ENTRYPOINT will reset CMD to an empty value. In this scenario, CMD must be defined in the current image to have a value.

    so we have to copy the value of CMD from the Dockerfile of original image or compose.yaml if get overrided in it.

  4. dash -xc 'echo $1' arg is a way to pass shell arguments into sh -c: https://unix.stackexchange.com/questions/144514/add-arguments-to-bash-c/144519#144519, and this example shall run echo arg that can be verified by set -x.

  5. $@ is the value of all shell arguments except the first one like $argv[0] or $0 which is the value being passed to execv.

    In the shell env of entrypoint when a container is created, its $@ will be the value of Dockerfile CMD: https://docs.docker.com/reference/dockerfile/#understand-how-cmd-and-entrypoint-interact, so we could pass the value CMD from outer shell into the inner that created by sh -c 'echo $1' "$@".

    Double-quoting it "$@" will prevent shell IFS= word splitting for passing the whole Dockerfile CMD as a single argument into $1 in sh -c

Taking the offical docker image php as a example: We can find its original ENTRYPOINT is docker-php-entrypoint and original CMD is php-fpm, so we should fill them with:

ENTRYPOINT dash -xc '/etc/rc.local && docker-php-entrypoint $1' "$@"
CMD php-fpm

If the order of executing script before or after the entrypoint get started is not important for you, also try the much simpler post-start lifecycle hook in Docker Compose: docker-compose, run a script after container has started?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: n0099

79333018

Date: 2025-01-06 12:30:17
Score: 1.5
Natty:
Report link

If you don't have an absolute need to reimplement the Java code in python, you may want to consider Jython. It makes it easy to call some code from a jar file. You will have to figure out how to extend the classpath and to call methods that were not supposed to be exposed to the outside world, but all in all, I wouldn't be surprised if it would require less lines of code than what you already posted.

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

79333017

Date: 2025-01-06 12:30:17
Score: 3
Natty:
Report link

Is this resolved? Don't you have issues related to the EntityManagerFactory interface conflict when deploying Spring Boot 3.x on WildFly?

issue: `Handler java.util.logging.ConsoleHandler is not defined 16:54:46,607 ERROR [org.springframework.boot.SpringApplication] (ServerService Thread Pool -- 92) Application run failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1806) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:954) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:174) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:154) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:96) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171) at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:204) at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:187) at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42) at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:255) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:88) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:70) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:840) at [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:513) Caused by: java.lang.IllegalStateException: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy(AbstractEntityManagerFactoryBean.java:469) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:403) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802) ... 36 more Caused by: java.lang.IllegalArgumentException: methods with same signature getSchemaManager() but incompatible return types: [interface org.hibernate.relational.SchemaManager, interface jakarta.persistence.SchemaManager] at java.base/java.lang.reflect.ProxyGenerator.checkReturnTypes(ProxyGenerator.java:311) at java.base/java.lang.reflect.ProxyGenerator.generateClassFile(ProxyGenerator.java:488) at java.base/java.lang.reflect.ProxyGenerator.generateProxyClass(ProxyGenerator.java:178) at java.base/java.lang.reflect.Proxy$ProxyBuilder.defineProxyClass(Proxy.java:558) at java.base/java.lang.reflect.Proxy$ProxyBuilder.build(Proxy.java:670) at java.base/java.lang.reflect.Proxy.lambda$getProxyConstructor$1(Proxy.java:440) at java.base/jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329) at java.base/jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205) at java.base/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:438) at java.base/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1037) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy(AbstractEntityManagerFactoryBean.java:464) ... 40 more

16:54:46,608 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 92) MSC000001: Failed to start service jboss.deployment.unit."wildfly-0.0.1-SNAPSHOT.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.unit."wildfly-0.0.1-SNAPSHOT.war".undertow-deployment: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:73) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:840) at [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:513) Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:257) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:88) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:70) ... 8 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1806) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:205) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:954) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.SpringApplication.run(SpringApplication.java:335) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:174) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:154) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:96) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:171) at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:204) at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:187) at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42) at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1421) at [email protected]//io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:255) ... 10 more Caused by: java.lang.IllegalStateException: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy(AbstractEntityManagerFactoryBean.java:469) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:403) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:366) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1802) ... 36 more Caused by: java.lang.IllegalArgumentException: methods with same signature getSchemaManager() but incompatible return types: [interface org.hibernate.relational.SchemaManager, interface jakarta.persistence.SchemaManager] at java.base/java.lang.reflect.ProxyGenerator.checkReturnTypes(ProxyGenerator.java:311) at java.base/java.lang.reflect.ProxyGenerator.generateClassFile(ProxyGenerator.java:488) at java.base/java.lang.reflect.ProxyGenerator.generateProxyClass(ProxyGenerator.java:178) at java.base/java.lang.reflect.Proxy$ProxyBuilder.defineProxyClass(Proxy.java:558) at java.base/java.lang.reflect.Proxy$ProxyBuilder.build(Proxy.java:670) at java.base/java.lang.reflect.Proxy.lambda$getProxyConstructor$1(Proxy.java:440) at java.base/jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329) at java.base/jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205) at java.base/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:438) at java.base/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1037) at deployment.wildfly-0.0.1-SNAPSHOT.war//org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy(AbstractEntityManagerFactoryBean.java:464) ... 40 more

16:54:46,610 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "wildfly-0.0.1-SNAPSHOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."wildfly-0.0.1-SNAPSHOT.war".undertow-deployment" => "java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] Caused by: java.lang.IllegalStateException: EntityManagerFactory interface [interface org.hibernate.SessionFactory] seems to conflict with Spring's EntityManagerFactoryInfo mixin - consider resetting the 'entityManagerFactoryInterface' property to plain [jakarta.persistence.EntityManagerFactory] Caused by: java.lang.IllegalArgumentException: methods with same signature getSchemaManager() but incompatible return types: [interface org.hibernate.relational.SchemaManager, interface jakarta.persistence.SchemaManager]"}} 16:54:46,641 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Preview 33.0.0.Final (WildFly Core 25.0.0.Final) started (with errors) in 21084ms - Started 541 of 775 services (2 services failed or missing dependencies, 326 services are lazy, passive or on-demand) - Server configuration file in use: standalone.xml - Minimum feature stability level: preview

`

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: ashwani gupta

79333010

Date: 2025-01-06 12:29:17
Score: 0.5
Natty:
Report link

It's highly recommended that you switch to cssbundling-rails (and jsbundling-rails) for Bootstrap 5+ on Rails 8 with propshaft as your asset management library. I couldn't find a way to do it without these, although I personally needed SASS support for a different reason.

Some things are configured automatically with bin/rails css:install:sass so start there.

In Gemfile, add:

gem "jsbundling-rails"
gem "cssbundling-rails"

Then run bundle install.

I needed to create app/assets/stylesheets/application.sass.scss

@import "application.bootstrap";
@import "fontawesome";

app/assets/stylesheets/application.bootstrap.scss looks like this:

@import 'bootstrap/scss/bootstrap';
@import 'bootstrap-icons/font/bootstrap-icons';

Ensure you run bin/dev to start your RoR server, as rails server didn't seem to be sufficient anymore.

FontAwesome

For fontawesome support, app/assets/stylesheets/fontawesome.scss looks like this, as per this article: https://www.babar.im/blog/programming/ruby/how-to-use-fontawesome-5-6-with-rails-7-and-propshaft.html

$fa-font-path: "./webfonts";

@import "@fortawesome/fontawesome-free/scss/regular";
@import "@fortawesome/fontawesome-free/scss/brands";
@import "@fortawesome/fontawesome-free/scss/solid";
@import "@fortawesome/fontawesome-free/scss/fontawesome";

You'll also need to create the build:css:fontawesome build step in package.json and run that manually (as explained in the article)

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nigel Sheridan-Smith

79333008

Date: 2025-01-06 12:28:16
Score: 1
Natty:
Report link

It is possible to combine "count" and "for_each" in a terraform resource block

But you have to be "dynamic" about it

Here's an example of what I have in place (and working)

resource "azurerm_network_security_group" "nsg-001" {
count               = var.nsg-deploy.deploy ? 1 : 0

dynamic "security_rule" {
    for_each = local.nsg_001_ruleset_001
    content {}
}

Cheers

-=A=-

.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrew Haigh

79333006

Date: 2025-01-06 12:28:16
Score: 2
Natty:
Report link

if you have this version "face-api.js": "0.22.2", its require face-api.js version 0.22.2 requires TensorFlow.js version 1.x, but recent updates to TensorFlow.js (version 3.x or above) are not compatible with face-api.js. you have to use npm install @tensorflow/[email protected]

its working fine for me

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

79332998

Date: 2025-01-06 12:26:16
Score: 2
Natty:
Report link

1.Try adding ansible_python_interpreter=/usr/bin/python3 in your inventory file.

  1. If that doesnt help, specify the path to your venv as your python interpreter, ie:

ansible_python_interpreter=/path/to/venv

enter image description here

Lastly, if that doesn't resolve the problem, create a venv, install the desired packages and execute the playbook from INSIDE the venv. Some packages do not work on all ubuntu versions hence a venv is required.

Had a similar problem with the proxmoxer package. enter image description here

Once installed inside the venv and ran ansible from there it resolved the issue. enter image description here

PLaybook runs just fine:

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: T.I

79332995

Date: 2025-01-06 12:24:15
Score: 0.5
Natty:
Report link
<?php
$css_attrs = array(
    "width"         => "11px",
    "height"        => "11px",
    "border-radius" => "20px",
    "cursor"        => "help"
);
?>
<span style="<?php echo str_replace("=",":",http_build_query($css_attrs,"","; "));?>"></span>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nic Bug

79332983

Date: 2025-01-06 12:14:13
Score: 0.5
Natty:
Report link

From iOS 17 you can do it with scrollView and scrollTargetBehavior Here example

struct ContentView: View {
    var body: some View {
        ScrollView(.horizontal) {
            LazyHStack {
                ForEach(0..<10) { i in
                    RoundedRectangle(cornerRadius: 25)
                        .fill(Color(hue: Double(i) / 10, saturation: 1, brightness: 1).gradient)
                        .frame(width: 300, height: 100)
                }
            }
            .scrollTargetLayout()
        }
        .scrollTargetBehavior(.viewAligned)
        .safeAreaPadding(.horizontal, 40)
    }
}

For more information please go here: https://www.hackingwithswift.com/quick-start/swiftui/how-to-make-a-scrollview-snap-with-paging-or-between-child-views

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

79332978

Date: 2025-01-06 12:14:13
Score: 0.5
Natty:
Report link

For anyone interested, I managed to make it work by looping over tr_elements in the html source file

from selenium import webdriver
from selenium.webdriver.common.by import By

PATH = "C:\\Program Files (x86)\\chromedriver.exe"
cService = webdriver.ChromeService(executable_path= PATH)
driver = webdriver.Chrome(service = cService)
href_links = []
date = "1.5.2025"
driver.get("https://mydata.com")
tableID = driver.find_element(By.CLASS_NAME,"DetailTable")
tbody = tableID.find_element(By.TAG_NAME,"tbody")
tr_elements = [tbody.find_elements(By.TAG_NAME,"tr") for tbody in tbodies]

links = [[] for i in range(len(tr_elements))]

for i in range(len(links)):
    for tr_element in tr_elements[i]:
        td_elements = tr_element.find_elements(By.TAG_NAME,'td')
        temp = td_elements[1].find_element(By.TAG_NAME,"span").get_attribute("innerHTML")
        temp = temp.strip()
        if temp==date:
            temp_link = td_elements[5].find_element(By.TAG_NAME,'center')
            temp_link = temp_link.find_element(By.TAG_NAME,"a")
            links[i].append(temp_link)

This just picks apart each tr element into separate td elements and checks the date against the td containing the date and then returns the href value of the td element containing the href I need

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

79332973

Date: 2025-01-06 12:11:13
Score: 0.5
Natty:
Report link

With Angular 18.2.8 the installation of [email protected] (currently latest) still fails. But I was able to install it successfully by using the latest @18 verion of PrimeNG.

npm install [email protected]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bernd

79332959

Date: 2025-01-06 12:05:10
Score: 7.5 🚩
Natty: 5.5
Report link

Try to install VCRedist. https://learn.microsoft.com/ru-ru/cpp/windows/latest-supported-vc-redist?view=msvc-170

If it won't help please provide logs from Event Viewer if you use windows

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • RegEx Blacklisted phrase (1.5): help please
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Владимир Фёдоров

79332957

Date: 2025-01-06 12:03:09
Score: 4
Natty:
Report link
Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rana safi

79332956

Date: 2025-01-06 12:03:09
Score: 3.5
Natty:
Report link

If anyone is still looking for the answer to this:

https://github.com/laravel/nova-issues/issues/3802#issuecomment-1088427155

try using License Key instead of Password to authenticate

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

79332943

Date: 2025-01-06 11:59:08
Score: 2
Natty:
Report link

The THEMEMODE cookie is being set without an expiration date, which causes it to behave like a session cookie. This means the cookie is deleted when the browser is closed.

Update the following code might work

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

79332941

Date: 2025-01-06 11:58:07
Score: 4
Natty:
Report link

As of 2025, use "Keyboard Shortcut Exporter" extension instead of "Keyboard Shortcut Explorer", as mentioned in @fastmultiplication's answer.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @fastmultiplication's
  • Single line (0.5):
  • Low reputation (1):
Posted by: Benjamin Berman

79332940

Date: 2025-01-06 11:58:06
Score: 11.5 🚩
Natty: 5.5
Report link

I have exactly the same issue. Did you find out anything helpful here?

Regards Marc

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

79332922

Date: 2025-01-06 11:51:04
Score: 1
Natty:
Report link
  1. Search for .zshrc using command+shift+h+. in mac.
  2. Write export JAVA_HOME=/usr/local/Cellar/openjdk@17/17.0.8/libexec/openjdk.jdk/Contents/Home or your specified java version.
  3. Save the file
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Neha Durani

79332913

Date: 2025-01-06 11:46:02
Score: 5.5
Natty: 5.5
Report link

Would addCustomView worked for subgrids?

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

79332912

Date: 2025-01-06 11:46:01
Score: 3
Natty:
Report link

Thanks ghostdivider! Your answer worked for me!

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

79332903

Date: 2025-01-06 11:43:01
Score: 3
Natty:
Report link

There can be a couple of reasons, both I was stuck doing the same. First being the permission and secondly, migrating the model, once created on the UI.

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

79332902

Date: 2025-01-06 11:43:01
Score: 1.5
Natty:
Report link

As @Cashiuus mentioned in the comments on the answer by @Liudvikas, open the logfile and navigate to the binary mentioned at the top-

The path should look like this:

C:\Users\ABC\AppData\Local\Package Cache\{5d57524f-af24-49a7-b90b-92138880481e}

Run the binary as administrator. It should uninstall properly now.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Cashiuus
  • User mentioned (0): @Liudvikas
  • Low reputation (1):
Posted by: Jatin Rathour

79332899

Date: 2025-01-06 11:41:00
Score: 2.5
Natty:
Report link

You can safely remove unwanted Schadcn components, you should look into the concerned component and the dependecies it uses, you could then trace the dependency to the package.json file and uninstall the dependecies through the terminal. That should do, I believe.

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

79332887

Date: 2025-01-06 11:37:59
Score: 3
Natty:
Report link

Fixed using disabledKeyboardNavigation flag

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: themayank21

79332884

Date: 2025-01-06 11:35:59
Score: 0.5
Natty:
Report link

The simplest way is via a laptop or desktop PC, plug in the flipper via USB and you can flash Momentum Firmware via Chrome. Alternatively, installing Unleashed or RougeMaster can be done via downloading their respective firmware via Github Releases and and flashing via qFlipper (desktop app) or Flipper Labs (in browser).

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

79332878

Date: 2025-01-06 11:33:58
Score: 3
Natty:
Report link

click on deployment name hyperlink in your screenshot and go to the deployment detail page as below:

enter image description here

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

79332876

Date: 2025-01-06 11:32:58
Score: 2.5
Natty:
Report link

Alpine is a lightweight container; we don't need many libraries/packages in Ubuntu for node applications. If we go with Ubuntu and some other libraries get vulnerabilities, our application will also be in danger. For security best practices, we should consider Alpine.

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

79332872

Date: 2025-01-06 11:30:58
Score: 3.5
Natty:
Report link

Also looking for an answer (example) of how to do this.

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

79332868

Date: 2025-01-06 11:28:57
Score: 2.5
Natty:
Report link

From looking at Android's source code at:

https://android.googlesource.com/platform/packages/apps/Browser2/+/master/src/org/chromium/webview_shell/WebViewBrowserActivity.java

It appears that WebView settings are necessary but not sufficient:

    private void loadUrl(String url) {
        // Request read access if necessary
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
                && "file".equals(Uri.parse(url).getScheme())
                && PackageManager.PERMISSION_DENIED
                        == checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE)) {
            requestPermissionsForPage(new FilePermissionRequest(url));
        }
        // If it is file:// and we don't have permission, they'll get the "Webpage not available"
        // "net::ERR_ACCESS_DENIED" page. When we get permission, FilePermissionRequest.grant()
        // will reload.
        mWebView.loadUrl(url);
        mWebView.requestFocus();
    }

Did you include in your AndroidManifest.xml the following?

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: ususer

79332864

Date: 2025-01-06 11:27:57
Score: 1
Natty:
Report link
  1. The break; statements are missing in the switch cases. This means that the code would continue to the next case, which in fact is not needed.

  2. I'm pretty sure you can avoid the inner loop. You're checking every Item in mainList with every Item in selectedList

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wessel van der zijl

79332860

Date: 2025-01-06 11:26:56
Score: 1.5
Natty:
Report link

Blockquote

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Сергей Васильцев

79332853

Date: 2025-01-06 11:22:55
Score: 2
Natty:
Report link

def embed_screenshot_to_receipt(screenshot_path, pdf_path): """Embeds the screenshot to the bot receipt""" pdf = PDF() pdf.add_watermark_image_to_pdf(image_path=screenshot_path, source_path=pdf_path, output_path=pdf_path)

Using pdf.add_watermark_image_to_pdf

This method you can embed screenshot in pdf

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

79332833

Date: 2025-01-06 11:09:53
Score: 1
Natty:
Report link

You have a missing dependency SubscriberRequest about your form request. Just follow below code.

public function subscribe(SubscriberRequest $request) 
{
    // for only validated request data
    dd($request->validated());
    // for all form request data
    dd($request->all());
    // ...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Md. Abdul Majid

79332819

Date: 2025-01-06 11:03:52
Score: 2
Natty:
Report link

Solutions for tailwind CSS conflicts in micro frontends.

  1. Add important: true in remote CSS config so it will priority over host CSS.

  2. Using POSTCSS prefix.

npm i postcss postcss-prefix-selector autoprefixer

Add postcss prefix in the config as shown in the picture

wrap remote component with this selector.

Add remote parent unique selector

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

79332814

Date: 2025-01-06 11:02:51
Score: 2
Natty:
Report link

We seem to find that the problem is with the fact that events (unfortunately we have been naive to enable all events) are enabled on the server and the server is trying to send the events to the clients. And hence the presence of org.apache.ignite.internal.util.nio.GridNioServer$WriteRequestImpl

We are now trying go avoid usage of Ignite Events (we wanted to leverage the expiry event), disable all the events and have our own custom mechanism to determine the expiry.

We are still experimenting.

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

79332810

Date: 2025-01-06 11:01:51
Score: 1
Natty:
Report link

to avoid the error in console just assign a handler for the 'error' event, like this:

spawn('ffmpeg').on('error', () => {})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rejetto

79332797

Date: 2025-01-06 10:54:50
Score: 2
Natty:
Report link

you are using an powershell task, might just read the file and then filter the line by key name?

- task: PowerShell@2
    displayName: Run gradle sonar
    inputs:
        targetType: 'inline'
        pwsh: true
        workingDirectory: ${{ parameters.workingDirectory }}
        script: |
            $searchText = "VERSION_CODE"
            $filteredLine = Get-Content -Path 'gradle.properties' | Select-String -Pattern $searchText
                
            if ($filteredLine) {
                $splitLine = $filteredLine -split '='
                $version = $splitLine[1].Trim()
                $version
            }
            $GRADLE_COMMAND = "./gradlew sonar"
            $GRADLE_COMMAND += " ""-Dsonar.projectVersion=$(version)"""
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: qkfang

79332796

Date: 2025-01-06 10:54:50
Score: 2.5
Natty:
Report link

I specialize in Search Engine Optimization (SEO) and Google Ads Campaign Management. Below are some examples of the projects I’ve worked on:

موقع خدمات ويب

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

79332791

Date: 2025-01-06 10:51:48
Score: 4.5
Natty: 4
Report link

works fine now with this solution

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

79332790

Date: 2025-01-06 10:51:48
Score: 1.5
Natty:
Report link

Right now, Chart XY widget doesn't support this advanced functionality but you can configure dynamically colored lines using the new Vega chart widget.

https://www.palantir.com/docs/foundry/workshop/widgets-vega-chart

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

79332786

Date: 2025-01-06 10:50:47
Score: 1
Natty:
Report link

Firebase answered me with this reCAPTCHA SMS toll fraud protection which is only in preview right now https://cloud.google.com/identity-platform/docs/recaptcha-tfp for Firebase Auth and Google Cloud Identity Platform that will allow you to manage your own risk tolerance. Generally speaking, no carriers are expected to be blocked for projects using reCAPTCHA SMS toll fraud protection, so "error:39" messages should no longer occur.

I'm curious if anyone started implementing this.

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

79332782

Date: 2025-01-06 10:48:47
Score: 2.5
Natty:
Report link

You can try to check implementation of the function

func validBannerSizes(for adLoader: GADAdLoader) -> [NSValue]

It's part of GAMBannerAdLoaderDelegate This function is responsible for setting sizes of the ad which you want to request from GAM https://developers.google.com/admob/ios/api/reference/Protocols/GAMBannerAdLoaderDelegate#-validbannersizesforadloader:

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Viktor Drykin

79332781

Date: 2025-01-06 10:48:47
Score: 1.5
Natty:
Report link

I'm also facing this issue on android device only In IOS device it's working fine.So I use expo-image, like Image as ExpoImage and give the width and height and the issue resolved.Below is the example: import {Image as ExpoImage} from 'expo-image';

<ExpoImage
        source={require('../../assets/images/user.png')}
        style={{width: 50, height: 50}} contentFit="contain" />

You can adjust width and height according to your view and style.

Reasons:
  • Blacklisted phrase (1): also facing this
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rao Asad-Ullah Ahmad

79332770

Date: 2025-01-06 10:43:41
Score: 7.5 🚩
Natty: 6.5
Report link

i have same issue now how you're solved that issue for your case, i was tried too many methods but i can't resolved this issue , if anyone willing to help me for this issue ?

here i am using js and jquery toggle option ios does support toggle?

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: vinoth

79332769

Date: 2025-01-06 10:43:39
Score: 12.5 🚩
Natty:
Report link

It doesn't work for me, because when I install scikit-learn==1.5.2 "from keras.wrappers.scikit_learn import KerasClassifier" doesn't work but it works with scikit-learn==1.3.1 and if I install scikit-learn==1.3.1 this problem appears "'super' object has no attribute 'sklearn_tags'". Do you know how to solve this problem?

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this problem?
  • RegEx Blacklisted phrase (2.5): Do you know how
  • RegEx Blacklisted phrase (2): doesn't work for me
  • RegEx Blacklisted phrase (2): know how to solve
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Daniela Guisao Marín

79332766

Date: 2025-01-06 10:41:38
Score: 5
Natty:
Report link

Notice that this error can show up if you not safeguard the request to the action_manage_overlay_permission. Android developer:

In some cases, a matching Activity may not exist, so ensure you safeguard against this.

Verify you are not missing <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> in the Android manifest.

But the error should propably come from await requestExactAlarmPermission2(); could you give more details on this code?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you give
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Maoux

79332751

Date: 2025-01-06 10:34:37
Score: 1.5
Natty:
Report link

the PySpark error message is misleading and, as you have correctly identified, is caused by a different OpenSSL version being present in the Conda environment and the Foundry Build's environment.

Newer version of Python Transforms ship with OpenSSL 3.4.0, so you can fix this issue by making sure you don't pin the openssl version in your meta.yaml file and by upgrading your repository to the latest template version.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Schmelczer András

79332746

Date: 2025-01-06 10:32:36
Score: 1.5
Natty:
Report link

In my case (typo3 10.4) I told the list plugin to load the detail view at a separate page but forgot to add the detail plugin at this page. My error message has been: No Content Object definition found at TypoScript object path "tt_content.list.20.9" in typo3_src-10.4.37/typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php:165

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

79332744

Date: 2025-01-06 10:30:36
Score: 2
Natty:
Report link

Use Box::pin:

async fn test(data: i32) -> i32 {
    if data == 0 {
        0
    } else {
        Box::pin(test(data - 1)).await
    }
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FliegendeWurst

79332743

Date: 2025-01-06 10:29:35
Score: 0.5
Natty:
Report link

Where your cell formulas reference the sheet you are deleting, if the sheet name stays the same with the one you are replacing it with, you can use =INDIRECT('Sheet3') and that should ignore sheet 3 being deleted. Your newly added sheet will need to be renamed to Sheet3 however.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where you
  • Low reputation (1):
Posted by: the7engine

79332741

Date: 2025-01-06 10:28:35
Score: 2
Natty:
Report link

At first you need to check the emulator path is added on evironment variable properly

C:\Users<user>\AppData\Local\Android\Sdk\emulator

This path should give inside environment variable - path

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ADARSH K VINOD

79332738

Date: 2025-01-06 10:27:35
Score: 0.5
Natty:
Report link

To change the URL into a CORS proxy URL, you typically add the proxy url before your target URL.

With the popular open source CORS proxy (cors-anywhere):

https://cors-anywhere.herokuapp.com/http://suggestqueries.google.com/complete/search?client=firefox&ds=yt&q=proxy

or alternatively for a hosted CORS Proxy (Corsfix)

https://proxy.corsfix.com/?http://suggestqueries.google.com/complete/search?client=firefox&ds=yt&q=proxy

I want to change this url to cors proxy url (want to bypass cors issue)

In order to bypass the CORS issue, you would use the proxied URL when doing fetch as follows

fetch("https://proxy.corsfix.com/?http://suggestqueries.google.com/complete/search?client=firefox&ds=yt&q=proxy")
  .then((response) => response.text())
  .then((text) => console.log(text))

Result

["proxy",["proxy","proxy server","proxy parent lucky day","proxy war","proxy for school chromebook 2024","proxy singed","proxy vs reverse proxy","proxy server explained","proxy gate tactician","proxy martin garrix"],[],{"google:suggestsubtypes":[[512,433],[512,433],[512],[512],[512],[512,433],[512],[512],[512,433],[512]]}]

(I am affiliated with Corsfix)

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: reynaldi

79332736

Date: 2025-01-06 10:27:35
Score: 2.5
Natty:
Report link

Thanks for the answers, the problem is upstream in bracket-lib, it seems to be broken on Wayland environments at the moment as mentioned in the link from Ry- & user2722968 (https://github.com/amethyst/bracket-lib/issues/362)

I was able to workaround the issue with the workaround mention in the bug report, via using X11 instead of Wayland: WINIT_UNIX_BACKEND=x11 cargo run

For using the workaround in VSCode I edited the launch.json and added the environment variable to it:

"env": {
    "WINIT_UNIX_BACKEND": "x11"
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): user2722968
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Void4

79332722

Date: 2025-01-06 10:18:33
Score: 4.5
Natty:
Report link

your question is not clear?! kindly be more specific and support your issue with code, so we can help?

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

79332717

Date: 2025-01-06 10:16:32
Score: 1.5
Natty:
Report link

I had the same issue, and solved it by adding the correct origin to the account-console client in the keycloak UI. Clients -> account-console -> Web origins

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

79332716

Date: 2025-01-06 10:16:32
Score: 3.5
Natty:
Report link

Take a look here, it’s meta’s api to get the result for lift studies - https://developers.facebook.com/docs/marketing-api/guides/lift-studies/

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

79332714

Date: 2025-01-06 10:15:32
Score: 0.5
Natty:
Report link

Informatica PowerCenter 10.5 est conçu pour fonctionner efficacement sur diverses plateformes, y compris Red Hat Enterprise Linux (RHEL) 8. Voici des détails concernant la compatibilité, les avantages et d'autres aspects liés à l'utilisation d'Informatica 10.5 sur un système d'exploitation Red Hat 8 :

Compatibilité

  1. Système d'exploitation :

    • Informatica PowerCenter 10.5 est officiellement pris en charge sur Red Hat 8, ce qui signifie qu'il a été testé et optimisé pour fonctionner sur cette version spécifique de Linux.
  2. Prérequis matériels :

    • Il est essentiel de respecter les exigences matérielles minimales, telles que la capacité du processeur, la mémoire RAM, et l'espace disque, spécifiées dans la documentation d'Informatica pour garantir des performances optimales.
  3. Dépendances logicielles :

    • Assurez-vous que toutes les bibliothèques et packages nécessaires sont installés sur RHEL 8. Cela inclut des composants comme Java, qui est requis pour le fonctionnement de certains outils d'Informatica.
  4. Base de données :

    • Informatica 10.5 est compatible avec plusieurs systèmes de gestion de bases de données (SGBD) qui peuvent être exécutés sur RHEL 8, comme Oracle, SQL Server, MySQL, etc.

Avantages d'Informatica 10.5 sur Red Hat 8

  1. Performance et Scalabilité :

    • RHEL 8 est conçu pour offrir des performances élevées et une meilleure gestion des ressources. Informatica peut tirer parti de ces améliorations pour un traitement plus rapide des données et une scalabilité accrue lors de l'exécution de workflows complexes.
  2. Sécurité :

    • Red Hat 8 intègre des fonctionnalités de sécurité avancées, telles que SELinux et d'autres contrôles d'accès, qui peuvent renforcer la sécurité des processus d'intégration de données dans Informatica.
  3. Support des conteneurs :

    • La compatibilité avec des technologies de conteneur comme Docker sur RHEL 8 permet aux utilisateurs d'exécuter Informatica dans des environnements conteneurisés, offrant ainsi une flexibilité et une portabilité accrues.
  4. Gestion des mises à jour :

    • RHEL 8 facilite la gestion des mises à jour logicielles, ce qui permet de maintenir Informatica à jour avec les dernières fonctionnalités et correctifs de sécurité sans perturber les opérations en cours.
  5. Support technique et communauté :

    • En utilisant une plateforme largement adoptée comme RHEL, les utilisateurs bénéficient d'un support technique solide de la part de Red Hat, ainsi que d'une vaste communauté pour partager des conseils et des meilleures pratiques.

Autres considérations

En somme, l'utilisation d'Informatica PowerCenter 10.5 sur Red Hat 8 offre une combinaison de performances, de sécurité et de flexibilité, ce qui en fait un choix solide pour les entreprises souhaitant gérer efficacement leurs données.

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

79332712

Date: 2025-01-06 10:14:32
Score: 2.5
Natty:
Report link

What if you try, (after setting the position) add another line like this:

foreground_clip=foreground_clip.with_effects([vfx.FadeIn(1,0), vfx.FadeOut(1,0)])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What if you
  • Low reputation (1):
Posted by: Jimmy

79332694

Date: 2025-01-06 10:08:29
Score: 4.5
Natty:
Report link

You have to install matplotlib to plot detailed graphs.

See documentation https://docs.sympy.org/latest/modules/plotting.html

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

79332693

Date: 2025-01-06 10:08:29
Score: 1.5
Natty:
Report link

Wanted to comment on AKX answer, but I can't. rep too low. This is how i did mine.

docs_url=None if APP_MODE == "production" else "/docs" #disables docs
redoc_url=None if APP_MODE == "production" else "/redoc" #disables redoc
openapi_url=None if APP_MODE == "production" else "/openapi.json" #disables openapi.json suggested by tobias comment.
app = FastAPI(docs_url=docs_url, redoc_url=redoc_url, openapi_url=openapi_url)

where APP_MODE is os.environ.get("APP_MODE", "production")

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