79613883

Date: 2025-05-09 10:03:51
Score: 1
Natty:
Report link

RH says there is a bug in logrotate w.r.t. compression when special conditions are met, one of the conditions is sharedscripts statement.

So logrotate might not behave as documented in the end.

Affected systems are RH 7 to RH 9 at least.

Article is here: https://access.redhat.com/solutions/7100229

It is for RH subscribers only, so I am reluctant to copy/paste from article.

One can get access to the article by subscribing to free RH developers program.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: J. Will

79613881

Date: 2025-05-09 10:01:50
Score: 5.5
Natty: 7
Report link

What if my curl request is similar but I want to upload a file then how can I simulate that request.

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What if
  • Low reputation (1):
Posted by: user30490738

79613871

Date: 2025-05-09 09:55:48
Score: 1.5
Natty:
Report link

as a workaround for now you can add this on your pubspec.yaml

dependency_overrides:
  intl: ^0.19.0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SncOne

79613864

Date: 2025-05-09 09:53:47
Score: 1
Natty:
Report link

https://github.com/jlesage/docker-baseimage-gui/issues/160#issuecomment-2862376646

Your requirements similar like this?

From

https://github.com/oneclickvirt/dockerfile-templates/tree/main/idea

and

https://github.com/jlesage/docker-crashplan-pro?tab=readme-ov-file#routing-based-on-url-path

I want to use a custom path for reverse proxy access to a container based on the jlesage/baseimage-gui:ubuntu-22.04-v4 base image, instead of using the default root path /

Create a custom network named web-net to enable communication between containers:

docker network create web-net

Start the IDEA container without exposing any ports, connect it to the web-net network (the container's web port is set to 31000 at the Dockerfile stage):

docker run -d \
  --name idea \
  --network web-net \
  jetbrains-idea-plug-cuda:v2024.2.5

Create a file named default.conf in the current directory with the following content:

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

upstream idea_app {
    # Use the reachable container name for reverse proxy
    server idea:31000;
}

server {
    listen       80;
    server_name  _;

    location = /ide {
        return 301 $scheme://$http_host/ide/;
    }

    location /ide/ {
        rewrite ^/ide(/.*)$ $1 break;

        proxy_pass http://idea_app/;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
        proxy_read_timeout 86400;
    }
}

Create a file named Dockerfile in the current directory with the following content:

FROM nginx:alpine

COPY default.conf /etc/nginx/conf.d/default.conf

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]

Build the custom NGINX image and run the container, connect it to the web-net network, and map port 80 of the container to port 31000 on the host:

docker build -t custom-nginx-proxy .
docker run -d \
  --name nginx-proxy \
  --network web-net \
  -p 0.0.0.0:31000:80 \
  custom-nginx-proxy

Now can access the service via http://<host-ip>:31000/ide/

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

79613861

Date: 2025-05-09 09:52:47
Score: 1
Natty:
Report link

The way to keep the items unsorted , as stated many times before here, is indeed:

<div *ngFor="let item of object | keyvalue: unsorted">

But the function for unsorted should return 1, and nowadays be protected as well:

protected readonly unsorted = () => 1;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wim van der Veen

79613860

Date: 2025-05-09 09:51:47
Score: 0.5
Natty:
Report link

I was running on a fresh ubuntu install so some of the packages were not installed but are necessary.$

conda install cmake git

conda install -c conda-forge openmp

sudo apt install build-essential cmake git libopenblas-dev liblapack-dev libatlas-base-dev libgomp1

sudo apt install libomp-dev

sudo apt update

sudo apt upgrade

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt update

sudo apt install gcc-11 g++-11

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11

NB: create a virtual env before running the python specific packages.

pip install scikit-build-core cython

pip install langchain[all]

pip install llama-cpp-python==0.1.48

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

79613851

Date: 2025-05-09 09:44:45
Score: 2.5
Natty:
Report link

You can refer :

TaskScheduler.scheduleAtFixedRate(task, delay, period);

It allows you to create schedules manually.

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

79613824

Date: 2025-05-09 09:27:40
Score: 0.5
Natty:
Report link

I’d start by checking whether this issue is isolated to iOS.

First, try running your app in Android Studio.

If it crashes on Android as well, you'll at least have better debugging tools available, like logcat, to help you investigate further.

If it runs fine on Android, the issue is likely iOS-specific. Common culprits include:

Another approach—especially if your project is still relatively small—is to create a fresh React Native project and gradually migrate your code into it in small chunks. This way, you can isolate and identify what exactly is causing the crash.

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

79613820

Date: 2025-05-09 09:20:38
Score: 3
Natty:
Report link

I have faced the same problem and it was an encoding issue- changing from UTF-8-BOM (e.g. in Notepad++) to UTF-8 solved it and columns were imported without the col_ prefix.

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

79613816

Date: 2025-05-09 09:13:35
Score: 6 🚩
Natty: 4.5
Report link

How about applying custom colors to the COG using a color ramp?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Risper Mutuku

79613810

Date: 2025-05-09 09:11:34
Score: 1
Natty:
Report link
plugins {
    alias(libs.plugins.kotlin.serialization) //add this also
    id("kotlin-parcelize")
}
// add this parcelize in your code
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Raghuram R

79613804

Date: 2025-05-09 09:08:34
Score: 3
Natty:
Report link

I'm not sure how stable this is - because it's experimental - but this link seems to answer your need : Expo Router static export fails to respect publicPath and basePath when deployed under subpath

in app.json, putting experiments.baseUrl to "/subpath" should be working

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Madar

79613803

Date: 2025-05-09 09:07:33
Score: 2
Natty:
Report link

2025 answer

xcrun devicectl device process launch --device 0123-YOUR-DEVICE-IDENTIFIER com.apple.Preferences --verbose

Your device identifier can be obtained using the following command:

xcrun devicectl list devices

sources:

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Felix Yeung

79613796

Date: 2025-05-09 09:03:32
Score: 4
Natty:
Report link

Below is the updated list of top free image sharing sites with their Domain Authority (DA) and Page Authority (PA):

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

79613792

Date: 2025-05-09 09:00:31
Score: 5.5
Natty:
Report link

when remove double quotes from children as follows "TransportationOptions" : [{ children : { "type" : "tube", "details" : "Tower Hill Station (District and Circle lines)", "distance" : "0.3" }, children : { "type" : "river", "details" : "Tower Pier (Thames Clipper)", "distance" : "0.1" }}]says Uncaught TypeError: parsedJSONObject.location.TransportationOptions.children is not iterable.
what do i do now???

Reasons:
  • Blacklisted phrase (1): ???
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Starts with a question (0.5): when
  • Low reputation (1):
Posted by: Jeevan Manik Reddy

79613791

Date: 2025-05-09 09:00:31
Score: 0.5
Natty:
Report link

My case is that the .csproj declaration generated by Unity is always UTF-16, while the encoding is UTF-8, which leads to the problem in the question.

The solution is to go to VSCode and uncheck preferCSharpExtension.

In VSCode, Ctrl + Shift + P — "Open User Settings" — Search for "preferCSharpExtension" — Uncheck both User and Workspace settings.

VSCode Settings Screeeshot

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

79613785

Date: 2025-05-09 08:57:30
Score: 1
Natty:
Report link

The best answer I found is WebDebugX

You can now use Web Debug X for remote debugging. But it support all ios version and android version .What is amazing is it support chrome and safari on windows and mac.

Here is a quick start article how to debug web page on ios from pc with web debug x

  1. Connect your iDevice via USB with your Mac or windows

  2. Open web debug x on your Mac or PC

  3. On your iOS device: go to settings > safari > advanced and activate the web inspector

  4. Go to any website with your iOS Device

  5. All Web Page is on the left of webdebugx, select a page to debug just like debug that on your local machine.

    enter image description here

This tool also support chrome ,webkit content,webview content and browser on android.

Settings > Safari > Private Browsing > OFF

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

79613779

Date: 2025-05-09 08:53:29
Score: 2.5
Natty:
Report link

There is an "Optional" helper:

https://laravel.com/docs/8.x/helpers#method-optional

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

79613776

Date: 2025-05-09 08:51:28
Score: 1.5
Natty:
Report link

It's called transportationOptions not TransportationOptions

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

79613768

Date: 2025-05-09 08:44:25
Score: 1
Natty:
Report link

For me it worked by Going to PyCharm Settings-> Project: "the name of your prj" -> Python Interpreter -> AddLocalInterpreter-> adding the existing python base interpreter from your PC and create another base folder called "venv1"

So in my case, basically I replaced the previous **"virtual base interpreter"**with the new one: "venv1". The old one I think it was corrupted because i previously installed another pip version and some conflict issues might have been triggered.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ioana

79613752

Date: 2025-05-09 08:34:23
Score: 5
Natty: 6.5
Report link

maybe this article will help you to find out mail id using GAIAid
https://x.com/DarkWebInformer/status/1920512508546175354

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Preeti Shetty

79613751

Date: 2025-05-09 08:32:22
Score: 3
Natty:
Report link

Try removing the --global option.

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

79613750

Date: 2025-05-09 08:32:22
Score: 2
Natty:
Report link

Personally I struggled with this for about 2 months, the solution was to open XCode and run it once from there. This will start your iOS emulator back up, then you can launch the app onto it via other means.

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

79613747

Date: 2025-05-09 08:31:22
Score: 0.5
Natty:
Report link

I'm using Portable edition v23.6. My MobaXterm.ini already has PasswordsInRegistry=0. After commenting out the whole [Passwords] section, I can now open MobaXterm without a master password.

; [Passwords]
; mobauser@mobaserver=...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: li ki

79613741

Date: 2025-05-09 08:24:21
Score: 0.5
Natty:
Report link

In the end, I added the example YAML as a comment in the source so that it was readily available to copy and paste.

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

79613721

Date: 2025-05-09 08:12:17
Score: 3
Natty:
Report link

@Idle_Mind That's a very nice example. Do you mind explaining where this comes from:

SystemConfig.iRectWidth, SystemConfig.iRectHeight

I have never seen the SystemConfig before. I tried your example, but Visual Studio complains about not knowing about SystemConfig.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Idle_Mind
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Bård Baadstø Ildgruben

79613719

Date: 2025-05-09 08:12:17
Score: 2.5
Natty:
Report link

Use https://github.com/sindresorhus/electron-timber to send logs from Browser to Terminal. Extremely useful.

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

79613715

Date: 2025-05-09 08:08:16
Score: 0.5
Natty:
Report link

According to typescript enter link description here:

Running tsc locally will compile the closest project defined by a tsconfig.json, or you can compile a set of TypeScript files by passing in a glob of files you want. When input files are specified on the command line, tsconfig.json files are ignored.

Making that your change to esModuleInterop so, change your script from: "electron:watch": "tsc main.ts --outDir dist && nodemon --watch main.ts --exec \"electron .\"",

to something like: "electron:watch": "npx tsc && nodemon --watch ./server --exec \"electron .\"",

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JoaoFCarvalho

79613713

Date: 2025-05-09 08:08:16
Score: 2
Natty:
Report link

after set ,we can connect page on android or ios with Web Debug X

wkWebView.inspectable=true
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jim

79613704

Date: 2025-05-09 08:04:15
Score: 1
Natty:
Report link

I just navigate to the folder/dir holding my php files ...

docker run --rm -it -v .:/usr/src/myapp -w /usr/src/myapp -p 8080:8080 php php -S 0.0.0.0:8080

in a browser :

http://127.0.0.1:8080/yourfilegoeshere.php
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user847855

79613698

Date: 2025-05-09 07:59:13
Score: 1
Natty:
Report link

I found a solution that seems to work correctly:

1. In power query I created a Supplier Table with distinct supplier column.
2. an index column
3. a custom column "anonymisedSupplier" - " Supplier " & [INDEX] to create "Supplier X" for each Supplier (where X is an index no)
4. for each Supplier name (160 suppliers) I created a separate column where Supplier name remains the same and all other suppliers are changed to their equivalent from anonymisedSupplier.
5. Added my 160 new columns as a field parameter.
6. Last step: Added the parameter into Rows section in the matrix visual + the parameter field into a slicer.

If anyone has a similar project to complete, I'm happy to share more details if needed.

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

79613685

Date: 2025-05-09 07:50:11
Score: 0.5
Natty:
Report link

i solved.

Looking for again and again in internet i found:

https://github.com/NLog/NLog.Web/issues/323

then at [snakefoot] contrib i read:

in layout put:

${gdc:item=logFolder}

and in code when you need it:

GlobalDiagnosticsContext.Set("logFolder","someValue");

Reasons:
  • Whitelisted phrase (-2): i solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bozzetti Giovanni

79613680

Date: 2025-05-09 07:47:10
Score: 6 🚩
Natty:
Report link

I am unable to reproduce the issue in my browser. Might be a local configuration issue?

enter image description here

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

79613675

Date: 2025-05-09 07:43:08
Score: 4
Natty:
Report link

Browser console

Test directly with browser console I give same problem, is this related to any setting of computer

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

79613673

Date: 2025-05-09 07:42:08
Score: 3
Natty:
Report link

Sometimes postgresql nodes start randomly before creating pacemaker resources stop both databases . after creating resources refresh and cleanup postgresql resource

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

79613672

Date: 2025-05-09 07:42:07
Score: 7.5 🚩
Natty:
Report link
Thanks for sharing your issue. That does sound unusual, since the .trim() function in JavaScript is only supposed to remove leading and trailing whitespace — it shouldn’t affect characters like á, à, é, etc.

To better understand what’s happening and help you troubleshoot, could you please provide a few more details?

    What environment are you running this code in? (Browser? Node.js? React Native? VS Code console?)

    What encoding are you using? (Is your file set to UTF-8? If it’s in HTML, are you using <meta charset="UTF-8">?)

    Are you copying text from external sources like Word, Excel, or Google Docs? These sometimes include invisible or special whitespace characters.

    Can you share the exact code snippet you’re using and the output you’re getting? That would really help.

My guess is it might be due to hidden Unicode whitespace characters (like \u00A0 or \u200B) or improper encoding settings. With a bit more context, I’m happy to help you narrow it down!
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): Thanks for sharing
  • RegEx Blacklisted phrase (2.5): could you please provide
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hoàng Kiệt Võ

79613670

Date: 2025-05-09 07:42:07
Score: 0.5
Natty:
Report link

Your rules when value takes precedence of the when value in the job.

From the documentation:

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

79613665

Date: 2025-05-09 07:36:05
Score: 2
Natty:
Report link

Or, you can make shiny app write that update to a separate file server like google drive, or external table like google sheet, or an SQL server. ...

well.. something like that depends on the resources accessible to you.

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

79613664

Date: 2025-05-09 07:36:05
Score: 1
Natty:
Report link

Earlier, you used $session.params.DrinkFrequency and $session.params.DrinkChoice, but the correct parameter names are $session.params.Frequency and $session.params.Preference.

Please update them accordingly — it should work correctly now.

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

79613663

Date: 2025-05-09 07:35:05
Score: 1.5
Natty:
Report link

It turns out that this is a limitation in pinia setup stores.

My currentlyAnOptionsStore has an action theMotherAction calling functionA and functionB in a setup store $onAction is not triggered if a store calls its own action :(

export const useMyStore = defineStore('myStore', () => {
  const functionA = (data) => {
    // do stuff
  }
  const theMotherAction = (msg) => {  
    const data = msg.data;  
    functionA(data);
  }
  return {functionA, theMotherAction}
})

One can solve it rather ugly by calling useMyStore in the mother action like this

const theMotherAction = (msg) => {  
  const data = msg.data;  
  useMyStore().functionA(data);
}

I'm considering reverting back to use an options store

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

79613655

Date: 2025-05-09 07:29:03
Score: 2
Natty:
Report link

Your just need this.

interface Foo extends IController {}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Not one can help me

79613649

Date: 2025-05-09 07:25:02
Score: 4.5
Natty:
Report link

removing <p class=MsoNormal><o:p> </o:p></p>" worked.

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

79613648

Date: 2025-05-09 07:24:01
Score: 3
Natty:
Report link

There is no alternative API like Spotify but you can analyze audio by yourself, using Essentia models or this one (https://reccobeats.com/docs/apis/extract-audio-features)

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

79613644

Date: 2025-05-09 07:20:00
Score: 1.5
Natty:
Report link

The background of Stack Screen is not transparent, it has a default white background. There is one thing you might miss that if you navigate to a new screen, the navigator will have a default animation that stack the new screen above the previous one like stacking cards, so screens need to be non-transparent to cover the previous ones.

If you want to apply same background on all screens, you can create a screenLayout and use it within each of your screen component.

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

79613638

Date: 2025-05-09 07:15:59
Score: 4.5
Natty:
Report link

Try to replace !!showWarning && by !!showWarning ?

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

79613637

Date: 2025-05-09 07:14:58
Score: 0.5
Natty:
Report link

It appears that the 9 cycles taken by the register value data passing through the load unit, mul unit, and add unit constitute the actual CPE (cycles per element) or critical path, rather than the xpwr path on the left.

However, these 9 cycles are only incurred during the first iteration of the loop. Each subsequent iteration requires just 5 cycles, as shown in the diagram: enter image description here Paths marked with the same color in the diagram indicate parallel execution. We can observe that since the mul operation takes 5 cycles, the data's add+load operations and res's add operation can complete within this mul cycle. Specifically:

Thus, the slowest operation (and therefore the critical path) in each iteration remains the 5-cycle mul operation for xpwr.

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

79613633

Date: 2025-05-09 07:11:56
Score: 5.5
Natty: 4.5
Report link

I also want to convert rvt file into ifc. I have uploaded rvt file on autodesk but not able to convert into ifc.

Can you suggest How can we convert like which autodesk forge API should be use

Reasons:
  • Blacklisted phrase (1): How can we
  • RegEx Blacklisted phrase (2.5): Can you suggest How
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rahi

79613623

Date: 2025-05-09 07:06:55
Score: 1
Natty:
Report link

I know it's super late, but I had this same issue and I manage to copy those .graphql files with these scripts

"build": "rm -rf dist && tsc && copyfiles -u 1 'src/**/*.graphql' dist/",
"start": "npm run build && node ./dist/index.js"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mario

79613622

Date: 2025-05-09 07:05:54
Score: 2
Natty:
Report link

Query by GQL:

SELECT Count(*) FROM `kind`
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saddam Hussain

79613619

Date: 2025-05-09 07:03:53
Score: 6 🚩
Natty: 4
Report link

Do you have found the answer? I am have the same Problem.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am have the same Problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chape Hans

79613617

Date: 2025-05-09 07:01:52
Score: 0.5
Natty:
Report link

Cloud computing refers to the delivery of computing services over the internet, including storage, servers, databases, networking, software, and analytics. It allows organizations to access and manage data and applications without the need for physical infrastructure, leading to cost savings and operational efficiency.

When it comes to comparing different types of clouds, there are three main models:

  1. Public Cloud: Hosted by third-party providers, public clouds like AWS, Azure, and Google Cloud offer shared infrastructure accessible over the internet. They are cost-effective and scalable, making them suitable for businesses looking to minimize infrastructure costs.

  2. Private Cloud: A private cloud is dedicated to a single organization, providing enhanced control, security, and customization. It is ideal for companies with stringent data security and regulatory requirements.

  3. Hybrid Cloud: Hybrid clouds combine public and private clouds, allowing data and applications to move seamlessly between the two. This model offers flexibility, enabling businesses to optimize costs while maintaining data security.

For businesses seeking robust and reliable cloud solutions, sify technologies cloud services provide comprehensive offerings across public, private, and hybrid clouds. With a focus on security, scalability, and seamless integration, Sify ensures that businesses can harness the power of cloud computing effectively.

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

79613606

Date: 2025-05-09 06:51:50
Score: 1
Natty:
Report link

To modify the script for a 128-bit nonce and 136-bit private key:

The exact values of b1 and c1 require the specific challenge context (e.g., AMOSSYS CTF). Without it, the heuristic values may need testing. The attack is curve-agnostic as long as n>2136 n > 2^{136} n>2136. For ECDSA or nonce bits set to 1, additional modifications are needed, but the latter may invalidate the signature.

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

79613604

Date: 2025-05-09 06:50:50
Score: 4
Natty:
Report link

Alternative for Spotify API, No authentication required

https://reccobeats.com/docs/apis/get-recommendation

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

79613586

Date: 2025-05-09 06:34:46
Score: 1
Natty:
Report link

I'D found how to resolve the problem which is How to add a DSN from Database in Transport with Symfony Mailer...

I'd created a service like that:

namespace App\Services;

use Doctrine\ORM\EntityManagerInterface;
use App\Entity\IdentifiantMailing;
use Symfony\Component\Mailer\Mailer;
use Symfony\Component\Mailer\Transport;
use Symfony\Component\Mime\Email;
use Symfony\Component\Mime\Part\DataPart;
use Twig\Environment;

class EmailSender
{
    private $em;
    private $adresse;
    private $mdp;
    private $serveur;
    private $port;
    private $from;
    private $twig;

    public function __construct(EntityManagerInterface $em, Environment $twig)
    {
        $this->em = $em;
        $IdentifiantRepos = $this->em->getRepository(IdentifiantMailing::class);
        $identifiant = $IdentifiantRepos->findAll();

        $this->adresse = $identifiant[0]->getAdresse();
        //$this->adresse = rawurlencode($this->adresse);
        $this->mdp = $identifiant[0]->getMotDePasse();
        //$this->mdp = rawurlencode($this->mdp);
        $this->serveur = $identifiant[0]->getServeur();
        $this->port = $identifiant[0]->getPort();
        $this->from = $identifiant[0]->getDepuis();
        $this->twig = $twig;
    }

    public function sendEmail($sender, $destinataire, $subject, $pathTwigTemplate, $PJ, $context)
    {
        $dsn = sprintf('smtp://%s:%s@%s:%d', $this->adresse, $this->mdp, $this->serveur, $this->port);

        $transport = Transport::fromDsn($dsn);
        $mailer = new Mailer($transport);
        
        if(null===$context){ 
            if(null===$PJ){ //$context est nul et $PJ est nul

                $email = (new Email())
            ->from($sender)
            ->to($destinataire)
            ->subject($subject)
            ->html($this->twig->render($pathTwigTemplate));
            $headers= $email->getHeaders();
            $headers->addTextHeader('X-Auto-Response-Suppress', 'OOF', 'DR', 'RN', 'NRN', 'AutoReply');

            } else {//$context est nul et $PJ existant

                $email = (new Email())
            ->from($sender)
            ->to($destinataire)
            ->subject($subject)
            ->html($this->twig->render($pathTwigTemplate))
            ->attachFromPath($PJ);
            $headers= $email->getHeaders();
            $headers->addTextHeader('X-Auto-Response-Suppress', 'OOF', 'DR', 'RN', 'NRN', 'AutoReply');
            }
        } else {
            if(null===$PJ){ //si $context est existant et $PJ est null

                $email = (new Email())
            ->from($sender)
            ->to($destinataire)
            ->subject($subject)
            ->html($this->twig->render($pathTwigTemplate, $context));
            $headers= $email->getHeaders();
            $headers->addTextHeader('X-Auto-Response-Suppress', 'OOF', 'DR', 'RN', 'NRN', 'AutoReply');

            } else {//si $context est existant et $PJ est existant

                $email = (new Email())
                ->from($sender)
                ->to($destinataire)
                ->subject($subject)
                ->html($this->twig->render($pathTwigTemplate, $context))
                ->attachFromPath($PJ);
                $headers= $email->getHeaders();
                $headers->addTextHeader('X-Auto-Response-Suppress', 'OOF', 'DR', 'RN', 'NRN', 'AutoReply');
            }
        }

        $mailer->send($email);
    }
}

An I use this like That:

namespace App\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use App\Services\EmailSender;

final class TestSymf7Controller extends AbstractController
{
    #[Route('/test', name: 'test')]
    public function index(): Response
    {
        return $this->render('test/index.html.twig', [
            'controller_name' => 'TestSymf7Controller',
        ]);
    }

    #[Route('/testmessage', name: 'testmessage')]
    public function sendEmail(EmailSender $emailSender): Response
    {
        /*******************************Preparation de l'email***************************
        ******************to consume messenger in dev run 
        *******************php bin/console messenger:consume async -vv**************************************/
        //must be not real sender for wouldn't answering or may be real for no spams emails client routing ???
        $sender = '[email protected]';
        $destinataire = '[email protected]';
        $subject = 'Exemple d\'e-mailtest1';
        //must be in /templates/emails/..
        $pathTwigTemplate = '/emails/inscriptionok.html.twig';
        //must be in /public/piecesemails/..
        //$PJ = '/public/piecesemails/pj.pdf';$PJ = $this->getParameter('kernel.project_dir') . $PJ;
        // ou de type $PJ = null 
        $PJ = null;
        //$context de type array ou = null
        $context = ['email' => '[email protected]'];
        //$context = null;
        $emailSender->sendEmail($sender, $destinataire, $subject, $pathTwigTemplate, $PJ, $context);
        /************************************email envoyé********************************/
        return new Response(
            '<html><body>OK Done !</body></html>'
        );
    }
}

It Run...

For more the Entity is like that :  

namespace App\Entity;

use App\Repository\IdentifiantMailingRepository;
use Doctrine\ORM\Mapping as ORM;


#[ORM\Entity(repositoryClass: IdentifiantMailingRepository::class)]
class IdentifiantMailing
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column(type:"integer")]
    private $id;

    #[ORM\Column(type:"string", length:255)]
    private $adresse;

    #[ORM\Column(type:"string", length:255)]
    private $motDePasse;

    #[ORM\Column(type:"string", length:255)]
    private $serveur;

    #[ORM\Column(type:"string", length:6)]
    private $port;

    #[ORM\Column(type:"string", length:255)]
    private $depuis;

    #[ORM\Column(type:"text")]
    private $message;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getAdresse(): ?string
    {
        return $this->adresse;
    }

    public function setAdresse(string $adresse): self
    {
        $this->adresse = $adresse;

        return $this;
    }

    public function getMotDePasse(): ?string
    {
        return $this->motDePasse;
    }

    public function setMotDePasse(string $motDePasse): self
    {
        $this->motDePasse = $motDePasse;

        return $this;
    }

    public function getServeur(): ?string
    {
        return $this->serveur;
    }

    public function setServeur(string $serveur): self
    {
        $this->serveur = $serveur;

        return $this;
    }

    public function getPort(): ?string
    {
        return $this->port;
    }

    public function setPort(string $port): self
    {
        $this->port = $port;

        return $this;
    }

    public function getDepuis(): ?string
    {
        return $this->depuis;
    }

    public function setDepuis(string $depuis): self
    {
        $this->depuis = $depuis;

        return $this;
    }

    public function getMessage(): ?string
    {
        return $this->message;
    }

    public function setMessage(string $message): self
    {
        $this->message = $message;

        return $this;
    }
}


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

79613567

Date: 2025-05-09 06:13:40
Score: 4.5
Natty:
Report link

Problem solved. Answer: deactivate ZHA

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Радик

79613556

Date: 2025-05-09 06:00:37
Score: 3.5
Natty:
Report link

This didn't work for me, i'm still searching an answer for this.

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

79613554

Date: 2025-05-09 05:59:37
Score: 3
Natty:
Report link

sudo npm install -g nodemon then check its installed using nodemon -v

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

79613546

Date: 2025-05-09 05:51:34
Score: 6 🚩
Natty:
Report link

Are we posting AI answers now? sumon mia

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dennis Fransén

79613530

Date: 2025-05-09 05:37:31
Score: 0.5
Natty:
Report link

Is @angular/flex-layout deprecated or no longer compatible with Angular 18?

Ans: Yes, you can check the deprecation on @angular/flex-layout - npm.js. The last version published is 15.0.0-beta.42 so it will work only up to Angular 15.


What are the recommended alternatives for responsive layout in Angular 18? Is there any migration guide from fxLayout to CSS/Tailwind/CDK?

These are the details provided in their GitHub repo:

NOTE: The Angular team no longer publishes new releases of this project. Please review this blog post for alternatives, and this article for the explanation and next steps.

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (1): Is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Naren Murali

79613528

Date: 2025-05-09 05:35:30
Score: 0.5
Natty:
Report link

Here's an idea. Not sure if it is optimal but it should be correct.

  1. sort each set.
  2. pop the smallest item from each set into a minheap
  3. track the max - min of elements in the heap
  4. repeat:
    1. pop min from heap
    2. replace it the next smallest item from the same set (pop min from set again)
    3. (if said set is empty, stop. you've reached the optimal answer)

of course, you'd insert tuples of (value, parent_set) into the heap so you know which value came from which set once they're popped from the heap and needs to be replaced

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

79613518

Date: 2025-05-09 05:20:26
Score: 3.5
Natty:
Report link

So apparently, I had to spm_encode my input text first, then run the above commands.

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

79613507

Date: 2025-05-09 05:05:22
Score: 4
Natty:
Report link

I am getting this error "No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.)." when i do blob trigger, the code is running fine in local after azure deployment, throwing this error.

Reasons:
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (1): I am getting this error
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kiruba Babu

79613506

Date: 2025-05-09 05:03:21
Score: 0.5
Natty:
Report link

Be aware, # is not a special character, you do not need to escape it with %

The correct answer for your first question is lehtmi's, Using frontier pattern is the way to go, and yes it does work on latest 5.1 and luajit to make a match using string.match

string.match(str, "%f[^\n\r\0]###?[^#\r\n\0]+")

Should yield ##First line

How could I go about matching a pattern that starts with "line start" in Lua?

The simplest is to split the string into lines

for line in str:gmatch"[^\r\n]*[^\n]?" do
 if line:find"^###?.+" then -- stuff here
 end
end

Should be enough.

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

79613505

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

When you run below query, your are asking mysql to display the result of database() function. (Reference).

mysql> select database();

But in the below case, mysql throws an error as no database is selected till this point.

mysql> select databese();
ERROR 1046 (3D000): No database selected

When you have selected a database, mysql looks for a function named databese() within your DB but since it is not defined it throws the given error.

mysql> select databese();
ERROR 1305 (42000): FUNCTION hoge.databese does not exist
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Nitin Rawat

79613501

Date: 2025-05-09 04:59:20
Score: 1
Natty:
Report link

Do this to sort your selection in the Visual Studio code editor

Tools->Option->Environment->Keyboard

enter image description here


I reassigned the shortcut for Edit.SortLines from (Shift-Alt-S) to (Ctrl-S Ctrl-S)

(Shift-Alt-S) activates the File menu which can be frustrating and in my case the cause for reassignment

Anything in the selection will be sorted. If you keep invoking the shortcut on the same selection it will sort backwards and forwards until your heart desires.

That's any selection not just Enumerators.

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

79613500

Date: 2025-05-09 04:58:20
Score: 1.5
Natty:
Report link

My code is too much fragment to be posted as it is for a solution here, but what i essentially do is recursively go into each $result and then see where is the 'english' appearing & handle it accordingly, all dynamically. Code is work in progress and we are testing it now, but it works!!

foreach ( recursiveFind($tempF, 'english') as $result) {

For the long term, we shall refactor and find a much better & scalable solution. Thank you all once again!

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

79613499

Date: 2025-05-09 04:55:19
Score: 0.5
Natty:
Report link

Can you make controller class mocked instead of other? Unit testing on a real DB isn't a good idea. Just use controller public methods like if you are using API. I had a unit test like that:

@ExtendWith(MockitoExtension.class)
class TestLaunch {

    @Mock
    private ReposMineserver mineservers; 

    @Mock
    private ReposTariff tariffs; 
    
    @Mock
    private ServiceMinecraftServerObserver observers; 

    @Mock
    private ServiceHandlers handlers; 

    @InjectMocks
    private RootController controller;
    
    
    @Test
    void launch_serverExists_shouldReturnOk() {
        
        Config.PATH_TO_SERVERS = "test/";
        Integer id = 2;
        Mineserver mineserver = new Mineserver(); 
        mineserver.setId(id);
        mineserver.setIdTariff(id);
        
        Tariff tariff = new Tariff();
        tariff.setCpuThreads((short)2);
        tariff.setHoursWorkMax(9999);
        tariff.setMemoryLimit((long)9999);
        tariff.setRam((short)4);
        
        lenient().when(handlers.get(2)).thenReturn(new MinecraftHandler(mineserver, tariff));
        lenient().when(mineservers.findById(id)).thenReturn(Optional.of(mineserver));
        lenient().when(tariffs.findById(id)).thenReturn(Optional.of(tariff));

        // Test data files (emit minecraft)
        File file = new File("test/server_2");
        file.mkdirs();
        file = new File("test/server_2/run.sh");
        System.out.println(file.getAbsolutePath());
        if (!file.exists()) {
            try {         
                file.createNewFile();
                FileWriter f = new FileWriter(file);        
                f.append("while true; do echo 123; done");
                f.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        file = new File("test/server_2/server.properties");
        System.out.println(file.getAbsolutePath());
        if (!file.exists()) {
            try {         
                file.createNewFile();
                FileWriter f = new FileWriter(file);        
                f.append("max-players=2\nserver-port=25565\nquery.port=25565");
                f.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        
        ResponseEntity<Void> response = controller.launch(id);

        assertEquals(HttpStatus.OK, response.getStatusCode());
        try {
            Thread.sleep(200);
        } catch (InterruptedException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        
        String errOutput = errContent.toString();
        System.out.println("Captured error output: " + errOutput);
        
        assertEquals(true, controller.is_alive(id).getBody());
    }    
    
    
    private final ByteArrayOutputStream errContent = new ByteArrayOutputStream();
    private final PrintStream originalErr = System.err;

    @BeforeEach
    public void setUp() {
        System.setErr(new PrintStream(errContent));
    }

    @AfterEach
    public void restoreStreams() {
        System.setErr(originalErr);
    }
}

Integration testing may be including http requests to a real server with database, but unit testing with a real db makes errors while "maven clean install". All your data in test must be independent from the enviroment

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: tankoman 228

79613491

Date: 2025-05-09 04:41:17
Score: 1.5
Natty:
Report link

The following reference link will certainly assist in implementing the Swagger Aggregator using Spring Cloud Gateway

https://www.baeldung.com/spring-cloud-gateway-integrate-openapi

Hope that helps. I am happy to assist you further.

Thanks,

Mahendra

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): Hope that helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: bs.mahi

79613484

Date: 2025-05-09 04:31:14
Score: 1
Natty:
Report link

I figured out what was going on. It turns out that MySQL tries to look for a user-defined function when no built-in function matches, and if no database is selected, it throws the "No database selected" error.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: arubaito

79613482

Date: 2025-05-09 04:29:13
Score: 1
Natty:
Report link

on the application overview page of your app in Partner Center, you'll find a section called manage package flights. Upload your package there and assign a group to this flight. If you don't have groups so far, you'll find a button to create one.
Wenn certification is done and app is published, it will only be delivered to those users in the group. They need to be signed in to the Microsoft store, of course.

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

79613480

Date: 2025-05-09 04:27:13
Score: 0.5
Natty:
Report link

With Serenity framework, config in "serenity.conf":

chrome.preferences {
    credentials_enable_service = false
    profile.password_manager_enabled = false
    profile.password_manager_leak_detection = false
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Long Nguyễn Văn

79613467

Date: 2025-05-09 04:07:08
Score: 2.5
Natty:
Report link

You need to go in the project folder directly, not in xcode, then click on info.plist. This will now make the file visible in xcode. And you can right click and select edit as source code now.

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

79613463

Date: 2025-05-09 04:02:07
Score: 0.5
Natty:
Report link

build file location refrence is in memory, in task manager clean all node.exe.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79613452

Date: 2025-05-09 03:40:02
Score: 3
Natty:
Report link

It is recommended to use SmartCodable. None of this is a problem. Support type conversion and fault-tolerant processing. Even support inheritance

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

79613450

Date: 2025-05-09 03:34:01
Score: 1
Natty:
Report link

Change the "android:name="com.google.android.gms.wearable.MESSAGE_RECEIVED" action from your manifest to "android:name="com.google.android.gms.wearable.DATA_CHANGED"...

I don't know whether in fluter is the same, but usually you have to set a data tag to the intent, e.g.:

<data android:scheme="wear" android:host="*"

android:path="/start-activity"

Doc

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

79613445

Date: 2025-05-09 03:22:59
Score: 1.5
Natty:
Report link

You can force the Firestore client to use the REST transport instead of gRPC. Follow below steps

Install the required packages

Set the transport to REST when creating the Firestore client

Authenticate as usual (using service account credentials)

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

79613427

Date: 2025-05-09 02:55:53
Score: 1
Natty:
Report link

In your HTML, inside of your <head> (after <title></title>) you will need to use

<link rel= "icon" href="./Images/image name.png" type= "image/png" />

replace "image name" with your actual image name

here is the code that I have tested it with

<title>Dark Mode Toggle</title>
    <link rel="icon" href="./Images/yorha crewpic.png" type="image/png" />

This works fine with me.

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

79613423

Date: 2025-05-09 02:51:52
Score: 0.5
Natty:
Report link

Well, it seems that you have to either pass a second type parameter or pass no type parameters at all:

searchBar = viewChild<SearchBarComponent, ElementRef>('searchBar', { read: ElementRef });

Or

searchBar = viewChild('searchBar', { read: ElementRef });

This is TypeScript behavior. Since the read option relies on the second type, it either has to be specified or no types should be specified - at which TypeScript will infer the type from whatever you pass in.

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

79613419

Date: 2025-05-09 02:46:51
Score: 1
Natty:
Report link

I'm not very familiar with how discord bots work but there seems plenty of good documentation on their API
https://discord.com/developers/docs/intro

If you really want to stick with using Python it is worth checking out webhooks for discord. Python seems to have a library for that as well:
https://pypi.org/project/discord-webhook/

Python is a interpreted language that runs on a virtual environment, pip is an excellent tool for handling all the necessary packages needed to run a python script.
More information on how to set up a virtual environment:
https://docs.python.org/3/library/venv.html

It is best you try and figure out what you want your bot to do first as there are probably lots of different way to accomplish your goal. In the future it helps to ask more specific questions about what you want your bot to do, which language/libraries you want to use, exactly what the problem you are encountering as well as providing code that you've written. Best of luck!

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

79613417

Date: 2025-05-09 02:43:50
Score: 2.5
Natty:
Report link

I met this problem too. You should check your fastapi version and then find it's Starlette version, now you could find python-multipart package version at Starlette's requirements. Install the correct version of python-multipart and problem solved.

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

79613415

Date: 2025-05-09 02:38:49
Score: 2
Natty:
Report link

Had some trouble understanding the "why?" of these answers and their differences and wanted to give an explainer/re-summation based on my additional 1 hour rabbit hole for anyone else based on when each is needed. First,

TLDR:

PLBIFLR (Pretty Long But I Felt Like Reading)

My main question was why were all 3 still actively maintained, if the shade-plugin is just better, why bother with the others existing? And the answer seems to lie in the three different audiences that these libraries assist.

JAR: Traditional Maven Libraries

Any traditional library being uploaded to a maven repo is going to aim for an emphasis on the slimmest possible jar ONLY containing their requirements, instead leaning on the pom.xml to define what people should download from elsewhere. (avoiding the nightmare of shipping every package)

Fat-Jar: Packaged Executable Tools and Additional Resources

When I personally wanted to ship a quick executable jar for a script I was using along with a runtime I leaned on the assembly jar. It can effectively package up a fat-jar with all the dependent classes from other jars copied into your main jar, but also can do additional steps after, like taking the jar, and a jre, and some helpdocs into a zip file, that's the assembly plugin's strength.

The assembly plugin is also much more straightforward, it does basic dependency management and packaging and that's it, it was published earlier (version 2.0 was published to mvnrepository in 2006 2 years before shade v1.0) and shade came later with a much more complicated problem to solve.

Uber/shaded Jar: plugins, special dependencies, etcetera

Ok now, the final use case, the so called uber or shaded jar (have seen it referenced as both). this is for situations where you REALLY need an EXACT version of a library packaged with your library and know that other people may have a different version of the same library getting called.

In my case, I made it here from looking into using kotlin (and the kotlin std lib) with a minecraft server plugin and was curious why I needed to use shade for building. In that scenario, there will be a buuuuunch of other plugins all running similar versions of the kotlin std lib, but every one a diff version AND there is no dependency management like maven, my jar needs to ship pre-packed to drop and go.

This is where a so called uber-jar is needed that both needs to have all the dependencies packed in but also needs to not conflict with other versions, even the assembly plugin says it cannot effectively manage this requirement:

If your project wants to package your artifact in an uber-jar, the assembly plugin provides only basic support. For more control, use the Maven Shade Plugin.

- Maven Assembly Page

This is the entire purpose of the shade plugin, it creates a jar with all the dependency classes copied in BUT it also renames all those classes and refactors your code to match so that your classes will not conflict with any other classes in other libraries being imported elsewhere by the code. This is the only purpose of the shade plugin and is incredibly important, you could still use the assembly plugin after even to pack it all up in a zip or other things, but refactoring like that is not assembly's purpose.

References

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): why?
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Matthew Fallon

79613414

Date: 2025-05-09 02:37:49
Score: 2.5
Natty:
Report link

Have you tried this?

import myImage from './assets/myImage.png';
<img src={myImage} alt="description" />
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: rsmukesh.pro

79613412

Date: 2025-05-09 02:36:48
Score: 1
Natty:
Report link

You can try the src folder as well

Your best options would be placing the image in the components folder!

as mentioned in a previous answer

here's a quick summary of the previous answer:

Adding images in the public folder and the src folder both are acceptable methods, however, importing images into your component has the benefit that your assets will be handled by the build system, and will receive hashes which improves caching/performance. You'll also have the added benefit that it will throw an error if the file is moved/renamed/deleted.

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

79613400

Date: 2025-05-09 02:18:40
Score: 10 🚩
Natty: 4
Report link

I had the same issue on 2025/05/09 when I changed from short token to long token. It shows me this error, and I have no idea how to resolve it. Does anyone have a solution?

Reasons:
  • Blacklisted phrase (3): have a solution?
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (3): Does anyone have a solution
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Duy Nam Nguyễn

79613396

Date: 2025-05-09 02:14:39
Score: 0.5
Natty:
Report link

button[aria-label^="Follow"]

You can also use $= for the ending instead or *= for substring matches

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: osirisgothra

79613390

Date: 2025-05-09 02:04:37
Score: 1.5
Natty:
Report link

All of it boils down to as much as I hate to swear pure shit because now it shows in the code that you can change the timeframe of when things were posted to everything in the Micro stacks . You guys have one ahead and literally reformat a time on how things are posted that’s cheating I don’t care about what means or what you try to write into the code if you’re doing things at a later tense, and then dating to. To not have happened yet so that It can work out for you when that time does come you’re cheating…AND YOU TELL THAT WHICH FROM WITCH TO WITCH TYPE OF PIKE DESERVING …THAT I don’t care WHICH FUTURE PASSED NOSTALGIA THROUGHOUT THE WHOLE META VERSE COMES FROM. Once it gets boiled down, you’re all cheating. Now trust me. I very well know how this sounds to the average person so yeah you can make it like some crazy person wrote this, but I’ll take you back through and show you where I got this information from not that it matters probably because you’ll just reformat that also, but that in itself will prove..

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

79613387

Date: 2025-05-09 01:58:35
Score: 2
Natty:
Report link

Check for the image size of your image, firefox allows the size of 1-2MB. Secondly, it can occur due to security problem. Firefox may block base64 encoded images...so you can check console for csp errors or disable extensions to test Csp error may look like: Content-Security-Policy: img-src 'self'; If it is so then you can fix it by adding- data: ie, Content-Security-Policy: img-src 'self' data:;

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

79613378

Date: 2025-05-09 01:42:32
Score: 3.5
Natty:
Report link

Not 100% sure, but personally I like the Prettier extension which just has great support for all languages.

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

79613367

Date: 2025-05-09 01:24:28
Score: 1
Natty:
Report link

it will work using below tx

iif(isNull($df_var_last_update_dt),fromUTC(currentUTC(),'UTC-4'),toTimestamp($df_var_last_update_dt,'yyyy-MM-dd\'T\'HH:mm:ss.SSS'))

    "df_var_last_update_dt": "2025-02-10T23:22:08.657Z"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PySparkLearner

79613365

Date: 2025-05-09 01:17:26
Score: 4.5
Natty: 4
Report link

just don't unless your making minecraft

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

79613363

Date: 2025-05-09 01:15:25
Score: 0.5
Natty:
Report link

Okay, so I found a solution that works. Apparently I can't use Open to open excel in excel. I have to use workbooks.open. This solution simply opens the source file, copies the relevant sheet into the current document and closes the sourcefile. problem solved. (The help document that it is based on is here, but it is a bit incorrect and needed playing with: https://learn.microsoft.com/en-us/office/vba/api/excel.workbooks.open)

Sub ImportWorksheet()
    Dim sourcefile, sourceloc, sourcetab As String
    sourcefile = "space flight.xlsx"
    sourceloc = "C:\Users\moish\OneDrive\Documents\space flight.xlsx"
    sourcetab = "Bodies"
    
    Destination = ActiveWorkbook.Name
    
    Workbooks.Open sourceloc
    
    
    ActiveSheet.Name = tabname
    Sheets(sourcetab).Copy Before:=Workbooks(Destination).Sheets(1)
    
    Windows(sourcefile).Activate
    ActiveWorkbook.Close SaveChanges:=False
    Windows(Destination).Activate
End Sub

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

79613346

Date: 2025-05-09 00:47:19
Score: 1.5
Natty:
Report link

On top of your android app having RECORD_AUDIO permission, check if your Google / Google Speech Recognition & Synthesis app in the settings of your android device have both microphone and notification permissions enabled. I was missing notification permissions for Google Speech Recognition & Synthesis app that was providing SpeechRecognizer and kept getting ERROR_INSUFFICIENT_PERMISSIONS

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30487223

79613343

Date: 2025-05-09 00:44:19
Score: 2
Natty:
Report link

There could be several cases that end up seeing ERR_EMPTY_RESPONSE . In my case, it was due to using http instead of https. Please check this link for some other cases like:

Reasons:
  • Blacklisted phrase (1): Please check this
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Iman Mahmoudinasab

79613337

Date: 2025-05-09 00:33:16
Score: 1
Natty:
Report link

Since you have no logic or outputs, your design is being optimized down to nothing. You can run the get_ports command by itself to see a list of all the ports that remain.

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

79613330

Date: 2025-05-09 00:18:12
Score: 1
Natty:
Report link

The question, and all of the answers so far, are repeating the error message's mistake to not say which service account they are talking about. There are typically three service accounts:

  1. There is the account which the Cloud Run Service will use at run time (when invoked). This error is not about it.

  2. The error is for the Cloud build account which needs roles/run.builder. That's probably the Compute Engine default service account.

  3. The deployment, eg. the gcloud command, has to be logged in as someone. That may also be a service account. Whoever runs the command needs roles/run.developer or roles/run.sourceDeveloper

The problem here is that too much of the documentation and some of the error messages don't say which account. Granting the correct permission to the wrong account doesn't help, which is probably the source of the comments saying "it doesn't work for me"

Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Steven Ensslen

79613329

Date: 2025-05-09 00:15:11
Score: 3.5
Natty:
Report link

solution found, I had to move the line setting the window visible after initiating gamePanel

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

79613326

Date: 2025-05-09 00:12:10
Score: 5.5
Natty:
Report link

You might find this video helpful.

https://youtu.be/Ngsz9pfgBUo

The associated GitHub project is - https://github.com/mamonaco1973/container-intro/tree/main/.github/workflows

We walk through configuring GitHub actions for AWS, Azure and GCP.

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Michael Monaco

79613322

Date: 2025-05-09 00:08:09
Score: 3.5
Natty:
Report link

Samething here, I'd like to disable the SQL validation as I used to...

enter image description here

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

79613317

Date: 2025-05-08 23:59:07
Score: 3.5
Natty:
Report link

I was able to resolve the 401 error, turned out to be a basic mistake from my side of providing the incorrect credentials. Closing issue

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

79613316

Date: 2025-05-08 23:59:07
Score: 1.5
Natty:
Report link

pbpaste with double quotes or `pbpaste | sed 's/ /\\\ /g'z` used to work perfectly on my old MBP2012 with paths copied with Cmd+Shift+C, but the same approach doesn't work anymore on a new M4 Mac mini. So, say open `pbpaste` for a path like /Users/yyy/Documents/My File 1.pdf throughs an error "The files /Users/yyy/'/Users/yyy/Documents/My, /Users/yyy/Documents/File, /Users/yyy/Documents/1.pdf' do not exist." Adding quotes open "`pbpaste`" yields "The files /Users/yyy/'/Users/yyy/Documents/My File 1.pdf' do not exist." Using sed doesn't change the situation at all. I tried in Mac's native Terminal, iTerm and Kitty. All same. Clueless. Lost. Need your help.

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