79305116

Date: 2024-12-24 08:31:59
Score: 1
Natty:
Report link

In recent version of chrome :

Navigate to : chrome://flags/#unsafely-treat-insecure-origin-as-secure

Add in textbox : https://localhost

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

79305114

Date: 2024-12-24 08:29:53
Score: 12.5 🚩
Natty: 5.5
Report link

I have the same error, have you solved it?

Reasons:
  • Blacklisted phrase (2): have you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: xiaowang Zhou

79305113

Date: 2024-12-24 08:29:51
Score: 6 🚩
Natty:
Report link

Have the same problem every time. Solved with File-SetPath, and move my path to the top of the list.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Šteta

79305110

Date: 2024-12-24 08:28:50
Score: 2.5
Natty:
Report link

Today is better refering to the official documentation, which will be updated: https://github.com/cmderdev/cmder/wiki/Seamless-VS-Code-Integration

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

79305108

Date: 2024-12-24 08:27:50
Score: 1.5
Natty:
Report link

You can use tg://user?id={telegramUserId} but work this link only Telegram...

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Дмитрий Чистик

79305104

Date: 2024-12-24 08:26:49
Score: 0.5
Natty:
Report link

The $..[?(@.isFolder == false)].id expression is correct

enter image description here

Make sure that the response you're getting is valid JSON

More information: JMeter's JSON Path Extractor Plugin - Advanced Usage Scenarios

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

79305098

Date: 2024-12-24 08:21:49
Score: 2
Natty:
Report link

How to run TypeScript files from command line?

I think a quick Google search will lead you to this. The TL;DR is that Node.js can understand JavaScript, but not TypeScript.

Use npx ts-node src/foo.ts to convert and run the TypeScript file in one step, or do it in two steps with tsc (the first option is simpler).

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

79305092

Date: 2024-12-24 08:18:48
Score: 2.5
Natty:
Report link

As @PaulMcKenzie said, this error is easily avoided by running VsCode as an administrator

To run it as an administrator, you can double click VsCode and scroll down on the options until you find Run as administrator

Or to run it as an administrator all the time you can

From it will run as an administrator everytime you open the application

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @PaulMcKenzie
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gustavo Da Costa Pereira

79305081

Date: 2024-12-24 08:12:46
Score: 2
Natty:
Report link

Try 'deno' instead of node, it has build in native typescript support, created by Ryan Dahl, the man who also created Node.js. However, it is not widely adapted even after 5 years on the run. Node still rules.

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

79305072

Date: 2024-12-24 08:08:45
Score: 3.5
Natty:
Report link

try '@shared/*' for path key and make sure your path is pointing to the correct dir

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

79305071

Date: 2024-12-24 08:08:45
Score: 1.5
Natty:
Report link

In my case, the solution was to not override the original decrypted file and create an encrypted new file flagged with ".locked" suffix.

Because to avoid this common error java.io.IOException: No matching key found for the ciphertext in the stream. the encrypted file should not be corrupted with a copy or rename.

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

79305068

Date: 2024-12-24 08:07:45
Score: 2.5
Natty:
Report link

The best solution to avoid multiple join operations seems to be:

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

79305062

Date: 2024-12-24 08:04:45
Score: 0.5
Natty:
Report link

Steps I Followed and which worked like a Charm were :

Setup your Firebase:

Setup Unity:

use this code to init Firebase

private void Start()
{
    Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>
    {
        var dependencyStatus = task.Result;
        if (dependencyStatus == Firebase.DependencyStatus.Available)
        {
            Debug.Log("Firebase Init");
            Firebase.Messaging.FirebaseMessaging.TokenReceived += OnTokenReceived;
            Firebase.Messaging.FirebaseMessaging.MessageReceived += OnMessageReceived;
        }
        else
        {
            UnityEngine.Debug.LogError(System.String.Format(
              "Could not resolve all Firebase dependencies: {0}", dependencyStatus));
        }
    });
    
}

#region FIREBASE MESSAGING

public void OnTokenReceived(object sender, Firebase.Messaging.TokenReceivedEventArgs token)
{
    UnityEngine.Debug.Log("Received Registration Token: " + token.Token);
}

public void OnMessageReceived(object sender, Firebase.Messaging.MessageReceivedEventArgs e)
{
    UnityEngine.Debug.Log("Received a new message from: " + e.Message.From);
}

#endregion

Make build after this

Setup Xcode :

Reasons:
  • Blacklisted phrase (1): worked like a Charm
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shah Rukh

79305049

Date: 2024-12-24 07:59:44
Score: 3
Natty:
Report link

if that don't prevent you to generarate what you want just don't waste your time trying to remove a warning without any impact on your work. This can turn to the worst in you mess with those packages. My 2 cents

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 3-and-D

79305044

Date: 2024-12-24 07:56:43
Score: 1
Natty:
Report link

Remove the fixed background color from NavHost to avoid issues with background layering during transitions. Use smooth transition animations to ensure screens fade in and out without leaving artifacts. Ensure proper state restoration when navigating back using navigateUp(). Check for navigation stack integrity to avoid UI inconsistencies.

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

79305031

Date: 2024-12-24 07:51:41
Score: 1
Natty:
Report link

To solve this you can run your Python script with the PYTHONPATH set to the foo directory, allowing Python to find bar.pyro from within foo:

$ PYTHONPATH=foo python3 bar/burp/cache.py

This tells Python to treat the foo directory as part of the module search path.

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

79305030

Date: 2024-12-24 07:50:41
Score: 1
Natty:
Report link

You could use relative imports. In your cache.py file:

from ..bar.pyro import explosion
def setup():
    print('setting things up')

setup()
explosion()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mario Mateaș

79305028

Date: 2024-12-24 07:49:40
Score: 10.5 🚩
Natty: 5
Report link

Did you find the answer? Have the same problem :)

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the answer
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Have the same problem
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the answer
  • Low reputation (1):
Posted by: Roman

79305021

Date: 2024-12-24 07:47:39
Score: 1
Natty:
Report link

Tried this and worked for me flutter build apk --release --no-tree-shake-icons

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nandhini Ravichandran

79305009

Date: 2024-12-24 07:40:37
Score: 1.5
Natty:
Report link

tk aisnah v bukittinggi,tk cerdas ceria bukittinggi,tk aisyiyah 1 bukittingi,tk i.c.e islamic school bukittingi,tk ibnu sina bukitinggi,sd negeri 01 bukittinggi,sd negeri 02 bukittinggi,sd negeri 03 bukittinggi,sd negeri 04 bukittinggi,sd negeri 05 bukittinggi,smp negeri 1 bukittinggi,smp negeri 2 bukittinggi,smp negeri 3 bukittinggi,smp negeri 4 bukittinggi,smp negeri 5 bukittinggi,MAN 1 bukittinggi,Smk negeri 1 bukittinggi,sma negeri 3 bukittingi,sma IT alkatsar islamic school,sma negeri 5 bukittinggi

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

79304991

Date: 2024-12-24 07:31:35
Score: 2.5
Natty:
Report link

I really confused on this while im using the below

   FROM python:3.12-slim
WORKDIR /Fdep

RUN mkdir ~/.ssh/
COPY /Fdep/id_rsa /root/.ssh/id_rsa
RUN chmod 400 /root/.ssh/id_rsa
RUN ssh-keyscan -H "bitbucket.org" >> ~/.ssh/known_hosts

it shows ssh-keyscan: not found when using python:3.12 it works fine is while installing that version also install SSH ?

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

79304985

Date: 2024-12-24 07:29:34
Score: 1
Natty:
Report link

The solution was to use the sample rate like the current microphone. The sample rate of my MacBook Pro mic is 48000 so I had to change it in the Python script:

fs = 48000
model = vosk.Model(lang="en-us")
recognizer = vosk.KaldiRecognizer(model, fs)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zeeshan Ahmad Khalil

79304981

Date: 2024-12-24 07:27:34
Score: 2
Natty:
Report link

As mentioned in the top answer, if you want to share state between different components, you should lift the state up to their common parent. https://github.com/houpjs/houp can help you implement this quickly.

see the example in CodeSandbox

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

79304970

Date: 2024-12-24 07:19:32
Score: 0.5
Natty:
Report link

I met the same issue and found this https://medium.com/front-end-weekly/solve-breakpoint-ignored-with-visual-studio-code-vscode-1-19-chrome-debugger-6d484c88b829 it worked

I added this to launch.json. "sourceMapPathOverrides": {"*": "${workspaceFolder}/src/*"}

my file launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      // "command": "npm run start:dev",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "start:debug"],
      "name": "Run npm start",
      "request": "launch",
      "type": "node",
      "sourceMaps": true,
      "console": "integratedTerminal",
      "sourceMapPathOverrides": {
        "*": "${workspaceFolder}/src/*"
      }
    }
  ]
}
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anh Lan

79304968

Date: 2024-12-24 07:16:31
Score: 6.5 🚩
Natty: 4.5
Report link

it doesn't work when the character is not English. I tried for persian and it didn't work. what should I do?

Reasons:
  • Blacklisted phrase (2): what should I do
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mehdi Esmaeili

79304962

Date: 2024-12-24 07:14:30
Score: 3
Natty:
Report link

i also have the problem when i install kats module, after try install a older packaging, such as "pip install packaging==21.0", i sovled my problem. hope helpfull.

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

79304951

Date: 2024-12-24 07:09:28
Score: 3.5
Natty:
Report link

enter image description here the sequence of args should be same with constructor. for me i swith the entranceFee and coordiantorAddress then it works!

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: williams aton

79304950

Date: 2024-12-24 07:09:28
Score: 3
Natty:
Report link

My g tag was being overlapped by another g tag (checked in developer tools) ,so when i put style pointer-events: none; in the g tag that was overlapping the issue is resolved

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

79304947

Date: 2024-12-24 07:07:27
Score: 6 🚩
Natty: 4.5
Report link

This link will answer your question

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Google Account

79304946

Date: 2024-12-24 07:06:26
Score: 3
Natty:
Report link

​Please check that the email address of the user registered at the IDP is the same one registered in Snowflake. They must be the same. And it is email address not username.

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

79304944

Date: 2024-12-24 07:04:26
Score: 0.5
Natty:
Report link

Normally, you can use the windows key + number key to switch between instances same app. It works on Windows 10 perfectly, in Windows 11 sometime the OS cannot response well, I think MS need to fixed this bug next time.

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: bigcat3997

79304934

Date: 2024-12-24 06:59:25
Score: 4
Natty: 4
Report link

Case (IIf(ActiveCell.Value Like "*string*", ActiveCell.Value, ""))

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

79304933

Date: 2024-12-24 06:59:24
Score: 2
Natty:
Report link

Unconventional, but when I want to quickly compile a qt c++ file I high jack with pkg-config --list-all | grep qt5 then use , for example, eval gcc file.cpp $(pkg-config --cflags --libs avahi-qt5)

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dennis M

79304931

Date: 2024-12-24 06:57:24
Score: 0.5
Natty:
Report link

As of my knowledge using DropdownButtonFormField we can't achieve it. we can make it by our own using overlay widget and some extra codes but it's a lot of work.

I found a package Drop Down 2 in pub.dev, you can use it to achieve the same much easier.

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

79304915

Date: 2024-12-24 06:46:22
Score: 0.5
Natty:
Report link

Try this,

select name from v$services;

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (2):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Md Shahriar

79304906

Date: 2024-12-24 06:41:20
Score: 1
Natty:
Report link

After upgrading flutter version its want to sdk also update pubsec yaml sdk: ^3.6.0

take backup your android,ios folder then delete that

flutter create . (it will generate your android ,ios ,web and others as well)

check your manifest file it will comes as its then run if its shows error midsdk 34 like change as per your project need it will solve issues

sometimes the app size will big.

ANOTHER WAY: If your working local projects create new project copy paste your lib folder to new project same as well add your pubspecyaml also. It is simple way to solve issues.

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

79304904

Date: 2024-12-24 06:41:19
Score: 14 🚩
Natty: 6
Report link

i have the same issue , did u solve it ?

Reasons:
  • Blacklisted phrase (1): i have the same issue
  • RegEx Blacklisted phrase (3): did u solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: guest

79304900

Date: 2024-12-24 06:39:18
Score: 0.5
Natty:
Report link

It seems like the issue you are encountering is related to the timing of service registration during the restart of your consumer service. When you restart the consumer service, the service might not have successfully registered or discovered the provider service at the time the request is made. This can result in the error No provider available for the service XXXX.

A possible cause could be that Spring Cloud or Nacos is still in the process of discovering and registering the services, which leads to the temporary unavailability of the provider when the consumer service tries to make a call. This is especially common if there’s a delay in the consumer service attempting to connect immediately after a restart.

Here are some steps you can try to mitigate the issue:

Service Dependency Delay: Introduce a delay or retry mechanism in the consumer service startup, allowing enough time for the provider services to register with Nacos before the consumer attempts to make any RPC calls.

Service Registration Check: Ensure that the Nacos registry has completely registered the provider services before the consumer starts invoking them. This can be checked by looking into the Nacos dashboard or logs.

Graceful Restart Handling: Consider using a graceful restart approach for your consumer service. This would ensure that the consumer waits until the provider services are up and available before making any requests.

Check Nacos Configuration: Ensure that your Nacos service discovery configuration is optimal and that the registration and deregistration are happening in the correct sequence.

Logging and Monitoring: Implement more detailed logging to monitor the service registration status in both the consumer and provider services during the restart process, helping you identify the root cause more effectively.

By refining these aspects, you should be able to reduce or eliminate the occurrence of these exceptions during the consumer service restart.

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

79304895

Date: 2024-12-24 06:36:18
Score: 0.5
Natty:
Report link

Create a global function

void hideKeyboard(PointerDownEvent event) {
  FocusManager.instance.primaryFocus?.unfocus();
}

Then use it in any textFields

CupertinoTextField(
            onTapOutside: hideKeyboard,
          ),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: S.M.Moinuddin

79304889

Date: 2024-12-24 06:34:17
Score: 1.5
Natty:
Report link

Our OPC UA Cient SDK discovers custom types at runtime, and can decode them. So you can access individual fields from code, or convert it to JSON formatted text. But it is in C++, not Go. https://onewayautomation.com/opcua-sdk

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

79304883

Date: 2024-12-24 06:30:16
Score: 3
Natty:
Report link

Remove RCT-Folly.common manually from pods within xcode and then try to make build.

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

79304871

Date: 2024-12-24 06:20:14
Score: 1
Natty:
Report link

It turns out I needed to first install Java. Here is the final snippet that worked:

- name: gcr.io/cloud-builders/npm
  entrypoint: bash
  dir: edcloud/cloud-function/${_PROJECT_NAME}
  args:
    - -c
    - |
      apt-get update && apt-get install -y openjdk-11-jdk
      npm install -g firebase-tools
      npm install
      firebase emulators:exec --project $PROJECT_ID 'npm test'
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shamil Jamion

79304867

Date: 2024-12-24 06:17:14
Score: 0.5
Natty:
Report link

A better solution is that you can use the boost-udp library instead of QUdpsocket. Try it out.

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

79304861

Date: 2024-12-24 06:13:13
Score: 0.5
Natty:
Report link

The issue seems to be with the segment you are passing. In the MUI documentation, segment paths are typically written without a leading forward slash (/).

Try using:

segment: 'dashboard/review-files'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vinayak Vohra

79304857

Date: 2024-12-24 06:09:12
Score: 1
Natty:
Report link

Similar to @Cataurus !! bind handler with picker !!

private async void Button_Click_Choose_Left_Folder(object sender, RoutedEventArgs e)
{
var folderPicker = new FolderPicker();

// 获取当前窗口的句柄(在 WinUI 或桌面应用中)
IntPtr hwnd = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle;

// 将文件夹选择器与窗口句柄关联
WinRT.Interop.InitializeWithWindow.Initialize(folderPicker, hwnd);

folderPicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
...

var folder = await folderPicker.PickSingleFolderAsync();
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Cataurus
  • Low reputation (1):
Posted by: Shengjie Lu

79304855

Date: 2024-12-24 06:08:12
Score: 0.5
Natty:
Report link

Using a timer to run an executable file at a specific time

Lee, Cheul Woo

Usually, you use the Windows Task Scheduler to run an executable file at a specific time or when a specific event occurs. This article introduces a code that uses a timer in a program to run an executable file at a specific time.

The static function below is called when a timer event occurs. The parameter settingTime is a specific time, the parameter now is the current time, the parameter period is the timer cycle, and the parameter processPath is an executable file.

private static void CheckTime(TimeOnly settingTime, TimeOnly now, TimeSpan period, string processPath)
{
    if (now < settingTime)
    {
        var diff = settingTime - now;

        if (diff > period)
        {
        }
        else
        {
            // To-Do.
            System.Diagnostics.Process.Start(processPath!);
        }
    }
}

The To-Do section of the code above makes a specific executable file run. You can put the tasks you want to do in this section.

Reasons:
  • Blacklisted phrase (1): This article
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ch. W. Lee

79304853

Date: 2024-12-24 06:06:11
Score: 1.5
Natty:
Report link

VS Code's integrated terminal populates environment variables on startup by sourcing the shell configuration files relevant to the terminal's shell type (e.g., Bash, Zsh, PowerShell). When you open the terminal, it executes the startup files like .bashrc or .zshrc (on Unix-based systems) or $PROFILE (on Windows for PowerShell). These files define environment variables, including custom paths, user-specific variables, or system-wide configurations. VS Code also provides the ability to customize environment variables specifically for the integrated terminal through settings in settings.json or by using the terminal.integrated.env.* settings to ensure a tailored environment that can differ from the system's global environment.

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

79304852

Date: 2024-12-24 06:06:11
Score: 1.5
Natty:
Report link

I have tried with: "vite": "^6.0.5" and vite@latest.

but even setting base:'' sets always a slash(/) before the folder/filename like so:

<link rel="stylesheet" crossorigin="" href="/assets/main-DKYW8OEW.css">

what i want is:

<link rel="stylesheet" crossorigin="" href="assets/main-DKYW8OEW.css">
Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lukas Hillebrand

79304843

Date: 2024-12-24 06:03:11
Score: 2.5
Natty:
Report link

Requirement to know data types before compilation is too restrictive in my opinion. Our C++ SDK discovers custom data types at runtime: https://onewayautomation.com/opcua-sdk

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

79304830

Date: 2024-12-24 05:44:03
Score: 4
Natty:
Report link

So this fix is to make the class injectable by annotating it with @Injectable(), put it at the top of the class

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Injectable
  • Single line (0.5):
  • Low reputation (1):
Posted by: kratosgado

79304826

Date: 2024-12-24 05:41:02
Score: 1.5
Natty:
Report link

I had the same issue. There were multiple "libiomp5md.dll" files inside the environment, one in the root of the environment folder and another in lib\site-packages\torch\lib. I deleted the libiomp5md.dll in the root folder, and it started working fine.

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

79304824

Date: 2024-12-24 05:40:02
Score: 3
Natty:
Report link

if you hover over the hot reload icon with your mouse it's gonna show you the active shortcut for it and to change it you can go to setting > keymap > main menu > Run/Debug

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

79304818

Date: 2024-12-24 05:35:01
Score: 3.5
Natty:
Report link

In my case, I have some breakpoints in DOM Breakpoints, you need to remove them to void enter debug mode, you can see below image

enter image description here

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

79304808

Date: 2024-12-24 05:30:00
Score: 1
Natty:
Report link

@APB Reports provides a good answer. I also come across this issue, you have to adjust the padding of your view and the width of your marks (more so than normal).

Here is my example: Bullet Chart - Vega-Lite

Bullet Chart - Deneb

You can also achieve responsive behaviours in PowerBI's Deneb by multiplying marks or other elements by the container height and width:

Config:

{
"padding": {
    "left": 20,
    "right": 20,
    "top": 20,
    "bottom": 20
  }
}
"dx": {"expr": "width * - 0.01"},
"dy": {"expr": "height * 0.01"}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @APB
  • Low reputation (0.5):
Posted by: PBI Queryous

79304797

Date: 2024-12-24 05:25:59
Score: 1.5
Natty:
Report link

Via next.config.js

Set the header no-cache on the path that you want.

module.exports = {
  headers: () => [
    {
      source: '/:path*',
      headers: [
        {
          key: 'cache-control',
          value: 'no-cache',
        },
      ],
    },
  ],
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rahul M Navneeth

79304791

Date: 2024-12-24 05:22:59
Score: 0.5
Natty:
Report link

Further to @SeaSky what worked for me:

sudo dnf install python3.11 -y
sudo dnf install python3.11-pip -y

sudo dnf groupinstall "Development Tools"
sudo dnf install mysql-community-devel gcc python3.11-devel

pip install mysqlclient
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SeaSky
  • Low reputation (0.5):
Posted by: CodeMonk

79304761

Date: 2024-12-24 05:05:56
Score: 1
Natty:
Report link

The answer given by @fuyushimoya is very poor quality and does not work the way you intended. If you actually wanted to sync them, you would have to ensure the value gets updated on input in either textarea.

<html>

<head>
  <title>Live Text Sync</title>
  <meta charset="utf-8" />
</head>

<body>
  <textarea id="a"></textarea>
  <textarea id="b"></textarea>
  <script>
    var a = document.getElementById("a");
    var b = document.getElementById("b");
    a.oninput = function(e) {
      b.value = a.value;
    }
    b.oninput = function(e) {
      a.value = b.value;
    }
  </script>
</body>

</html>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @fuyushimoya
  • Low reputation (1):
Posted by: April Hall

79304759

Date: 2024-12-24 05:03:55
Score: 1
Natty:
Report link

Use -exclude-secrets flag: aztfexport has an option to exclude secrets from the exported Terraform configuration. By default, it includes all the data in the exported files. To automatically exclude secrets, use the -exclude-secrets flag when running the tool.

Example command:

aztfexport -subscriptionId -exclude-secrets -outputDirectory ./output

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

79304758

Date: 2024-12-24 05:02:55
Score: 2.5
Natty:
Report link

But if we have to update the key value secret from library variable group to Key vault is that possible ? As we did this without masking value in library variable group. As we some requirement which required those value present to run data factory first

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

79304757

Date: 2024-12-24 05:01:54
Score: 5
Natty:
Report link

If you are connecting via an office network. It is possible the DNS resolution is being blocked. Try using the standard uri connection string without srv from mongodb atlas website.

How to get standard URI connection string (without srv) on mongodb website with current update?

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

79304755

Date: 2024-12-24 04:58:53
Score: 1.5
Natty:
Report link

How to Make RocketChat Talk to Your Ticket System: A Practical Guide Good news - you can connect these systems using webhooks, and while it requires some setup, it's quite manageable. Here's how:

Set Up RocketChat Webhook: Configure RocketChat to notify your ticket system when something important happens - think of it as setting up a digital messenger between the two systems. Choose Your Integration Method: You need something to translate between RocketChat and your ticket system. You've got options:

n8n: An open-source tool that connects different systems like digital building blocks Node-RED: Similar, but with a more user-friendly interface Custom Script: For those who prefer total control over their integration

Security Setup:

Add authentication tokens to your webhook Secure your API connections Because keeping your system secure is just common sense!

Implementation Steps:

Deploy your chosen solution on your local network Configure the webhook to send relevant chat data Set up the connection to your ticket system's API Test thoroughly before going live

Why This Approach Works:

Keeps your data within your network Gives you complete control over the process Saves money (since you're using open-source tools)

The end result? Two systems working together smoothly and efficiently. No external services required, just a straightforward, secure integration that gets the job done. Remember to test everything thoroughly before rolling it out - better safe than sorry when it comes to system integrations!

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Yaaqov Baidani

79304753

Date: 2024-12-24 04:54:52
Score: 3.5
Natty:
Report link

There is an example of CRUD operations using NextJS and Couchbase in this repository, it should help you get started.

https://github.com/couchbase-examples/nextjs-capella-quickstart

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

79304752

Date: 2024-12-24 04:54:52
Score: 1.5
Natty:
Report link

IM-COOL-BOOY-FM 📻✨

🔰 SL Android Official ™

👨‍💻 Developed by IM COOL BOOY

Welcome to IM-COOL-BOOY-FM a powerful Python-based radio station player.This tool is designed to allow users to easily search for, play, switch, and stop radio stations from around the world.Powered by the Radio Browser API and VLC Media Player, it provides a seamless and enjoyable listening experience with a modern,colorful CLI interface.👨‍💻

📦 Installation Instructions:⬇️⬇️⬇️

⬇️⬇️To get started with IM-COOL-BOOY-FM, follow these steps:⬇️⬇️

1️⃣ pkg install vlc

📦 Install the package via pip:⬇️⬇️

2️⃣ pip install IM-COOL-BOOY-FM

🚀 Quick Start:⬇️⬇️⬇️

Explore and enjoy worldwide radio stations with simple commands ⬇️

⬇️⬇️ Run the program to get started

1️⃣ IM-COOL-BOOY-FM

Once installed, you can access the tool's help and start using it with the following command:⬇️⬇️⬇️

3️⃣ IM-COOL-BOOY-FM -h

🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): 🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰🔰
  • Low reputation (1):
Posted by: සෆ්ඝ්හ් හ්හ්හ්ජ්හ්හ්

79304743

Date: 2024-12-24 04:49:51
Score: 1.5
Natty:
Report link

We chaged the IP tables at Host machine which effected the docker networking so simply restart the docker service resolved my problem.

Reasons:
  • Whitelisted phrase (-1.5): resolved my problem
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: novice_coder99

79304733

Date: 2024-12-24 04:37:49
Score: 1
Natty:
Report link

Just use the contentShape(_:_:eoFill:) initializer, making sure to specify a ContentShapeKinds of .contextMenuPreview:

.contentShape(.contextMenuPreview, RoundedRectangle(cornerRadius: 10))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei G.

79304722

Date: 2024-12-24 04:28:47
Score: 2
Natty:
Report link

Create new ssh key using ssh keygen and Personal access token. This will solve the error and give you access.

Ssh key authentication in Azure Devops -

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jayanth Kumar T

79304711

Date: 2024-12-24 04:22:46
Score: 1.5
Natty:
Report link

As the project manager for SCons I don't recommend this. It's not supported usage.

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

79304709

Date: 2024-12-24 04:18:45
Score: 1
Natty:
Report link

Your app has been rejected by the Google team for two reasons:

Login Credentials: You must provide active and working credentials for the Google team to log into your app. If you've already provided credentials, ensure they are correct.

App Crashing: The application crashes upon launch. This crash might be due to a version mismatch between the submitted app and the previous one. Check Firebase Crashlytics for crash details if Firebase is implemented. Otherwise, review the Google Pre-launch report in the Play Console.

Additionally, keep in mind that both app bundles are being reviewed. If you want only one bundle reviewed, roll out the desired bundle to 100% of users across all selected countries for Internal, Beta, and Production testing.

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

79304705

Date: 2024-12-24 04:13:44
Score: 2.5
Natty:
Report link

Lets assume for a minute that the URL is correct (because that is a ridiculous blame) and that the https: address is correct (because, are you imagining that I am an idiot?) The problem is the SSH key and how do I check and correct whatever is wrong.

  1. The machine I am working FROM (maybe Windows, maybe Ubuntu) have different user names and different ssh key locations and different ssh keys.
  2. The issue is with Forge trying to redeploy a site hosted by Digital Ocean and it gives 3 possible solutions to the failure.
  3. None of the 'possible failures' means diddly squat to me since it doesn't saw WHAT is wrong with the keys. "[email protected]: Permission denied (public key). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." 4.I can read the repo, I can access it on github. I have a valid login. WHAT THE h IS THE PROBLEM!!!!!!!
Reasons:
  • Blacklisted phrase (1): how do I
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alan Wilson

79304694

Date: 2024-12-24 04:03:42
Score: 1.5
Natty:
Report link

Port 8080 needs to be opened on the tomcat host machine.

In this instance the host machine was a macbook.

echo "pass in proto tcp from any to any port 8080" | sudo pfctl -ef -

This line was ran in the terminal to open the port on the machine and connection was then allowed.

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

79304691

Date: 2024-12-24 04:01:42
Score: 2
Natty:
Report link

Use <scope>system</scope> in jar <dependecy></dependency>,

please reference (https://stackoverflow.com/a/28958317/4573839).

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79304690

Date: 2024-12-24 04:00:42
Score: 0.5
Natty:
Report link
2025/Python/FlaskIntro 
[09:20]❯ python3 -m venv .venv

2025/Python/FlaskIntro 
[09:20]❯ . .venv/bin/activate.fish 

2025/Python/FlaskIntro [🐍 v3.13.1(.venv)]
[09:21]❯ pip install Flask
Collecting Flask
  Downloading flask-3.1.0-py3-none-any.whl.metadata (2.7 kB)

I tried all the files in venv/bin folder and the above command worked.

Cause of the problem: I was using fish shell.

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

79304687

Date: 2024-12-24 03:56:41
Score: 2.5
Natty:
Report link

If you are using dokesh's lightbox then the anchor link needs to have data-title="My caption". That data-title in the anchor link triggers the elimination of display:none or display:hidden in the code and the caption will then show.

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

79304686

Date: 2024-12-24 03:55:41
Score: 0.5
Natty:
Report link
=> in design view remove any crystal report viewer control if placed and put below code

                <div id="divPDFView" runat="server" >
                </div>

=> Dont forget to create folder "PDFExports" in root 

=> Just call below function to show report. (Replace values with your values where '?' is placed and report should be in folder named "Reports" )

   private void ShowReport()
   {
            ReportDocument rd = new ReportDocument();

            rd.Load(Path.Combine(Server.MapPath("~/Reports"), "?ReportName.rpt"));

            //@@: Record Selection formula
            //rd.RecordSelectionFormula = "???";

            rd.SetDatabaseLogon(?UserId, ?Password, ?DbServer, "");

            //@@: Parameters
            //rd.SetParameterValue("cpf_1", "");  //String
            //rd.SetParameterValue("cpf_2", Convert.toInt32("1"));  //Int

            //@@: Parameters to Subreport
            //rd.SetParameterValue("cpf_????", "", rd.Subreports[0].Name);

            //@@: Set Title
            //rd.SummaryInfo.ReportTitle = "Report as on " + DateTime.Today.Day + "-" + DateTime.Today.Month + "-" + DateTime.Today.Year;

            //I use it for unique file names.. you can avoid it..
            Guid g = Guid.NewGuid();
            string strFileName = "?zReportName_" + DateTime.Now.ToString("yyyyMMdd-HHmmss") + "_" + Session["userId"].ToString() + "_" + g.ToString() + ".pdf";
            rd.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Path.Combine(Server.MapPath("~/PDFExports"), strFileName));

            divPDFView.InnerHtml = "<object data=\"PDFExports/" + strFileName + "\" type=\"application/pdf\" width=\"1230\" height=\"880\">  alt : <a href=\"PDFExports\\a.pdf\">PDF File</a> </object>";

            rd.Dispose();
            rd.Close();
      }
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ashif Pathan

79304685

Date: 2024-12-24 03:55:41
Score: 3
Natty:
Report link

I think Elysiajs doesn't have a plugin that serves folders, but you can see an example of making a bun file server in this repository or use the http-server from nodejs

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

79304684

Date: 2024-12-24 03:53:41
Score: 2
Natty:
Report link

Extracting data from low-resolution or scanned graphs can be tricky, but there are tools to help. For example, free plot digitizer (SplineCloud.com) is an excellent option for extracting data points, including those from graphs with logarithmic scales. It's easy to use and supports various graph types, making the process much simpler.

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

79304679

Date: 2024-12-24 03:43:39
Score: 1
Natty:
Report link

To add custom toolbar on SALV, you need to do these following steps:

  1. SE41, Program name: SALV_DEMO_TABLE_FUNCTIONS, status name: SALV_STANDARD.
  2. Copy that Toolbar into your own custom toolbar.
  3. Define a method to Implement added_function event from class cl_Salv_events.
  4. The added_function has an import parameter to check your sy-ucomm value.

You can check the steps more detail here: adding custom toolbar on SALV.

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

79304676

Date: 2024-12-24 03:42:39
Score: 0.5
Natty:
Report link

I encountered the same issue and managed to proceed by using a thread pool.

For example:

celery -A app worker --loglevel=info --pool threads

This approach is suitable for debugging purposes. You might need to dig deeper on the tasks being executed by the workers

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

79304663

Date: 2024-12-24 03:24:36
Score: 1.5
Natty:
Report link

This is a UI bug which may occur if you:

  1. overrided high DPI scaling behavior by selecting the system(Enhanced) option in eclipse.exe high DPI setting and
  2. selected eclipse light or dark theme

solutions:

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

79304656

Date: 2024-12-24 03:21:35
Score: 1
Natty:
Report link

If you have a fix, here's information about contributing to pandas. If you don't want to contribute, the best way would be to validate input in application code to avoid breaking functionality and maintaining the patch long-term.

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

79304653

Date: 2024-12-24 03:20:35
Score: 3
Natty:
Report link

Thanks to M.Deinum, I learned that: In case of an error, it redirects to /error. I made a few modifications and it worked.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Frank

79304650

Date: 2024-12-24 03:19:34
Score: 2.5
Natty:
Report link

We recommend avoiding _catalog endpoint if possible for AR or GCR. Usually you can get better much results querying the specific info you need using the AR api (https://cloud.google.com/artifact-registry/docs/reference/rest)

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

79304628

Date: 2024-12-24 02:57:31
Score: 1.5
Natty:
Report link

In my environment, the deployment is in Kubernetes and this issue happens when there are multiple replicas and the error is repeatable with more than one replicas. So, for admin console I created a separate deployment with one replica and there is no such error. I had to resort to this fix as this is disruptive in production environment. For token request, I have multiple replicas as there are more traffic.

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

79304624

Date: 2024-12-24 02:55:30
Score: 3
Natty:
Report link

You must review and agree with the new agreement from Apple by the role Account Holder of the Organization.

Link: https://developer.apple.com/account

Review Agreement

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

79304618

Date: 2024-12-24 02:50:29
Score: 10
Natty: 8.5
Report link

Thank you for this post I am thinking about the same however mainly notifications need to be posted to Admin or Dashboard whatever you call it. Did you manage to solve it ?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gekko

79304614

Date: 2024-12-24 02:41:27
Score: 2
Natty:
Report link

There are also other simple ways to confirm usb2.0 or usb3.0 port:

  1. Check usb port logo of computer. usb2.0 & 3.0 have differ usb logo.
  2. Download or upload a fixed size file. After transaction completed, statistical information would be showed including data size, speed and time. usb2.0 and 3.0 have different speed limit.

For example:

C:\Users\jason95>adb root & adb remount

adbd is already running as root remount succeeded

C:\Users\jason95>adb pull /data/test.img

/data/test.img: 1 file pulled, 0 skipped. 323.9 MB/s (1073741824 bytes in 3.161s)

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

79304612

Date: 2024-12-24 02:38:27
Score: 0.5
Natty:
Report link

In my case, I downgraded clang from version 16 to 14.

Here's the steps for my environment (adapt as necessary):

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

79304607

Date: 2024-12-24 02:27:25
Score: 5.5
Natty: 5
Report link

Is the googleIdTokenCredential.id fixed for the same account, or can it alternate between numbers and email addresses?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: hewei chen

79304583

Date: 2024-12-24 02:03:18
Score: 8 🚩
Natty: 4
Report link

Did you find a solution at last?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: user28912446

79304580

Date: 2024-12-24 01:56:16
Score: 10 🚩
Natty: 5.5
Report link

I have the same issue. May I ask, do you run a web server application?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (1): May I ask
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rovic Dimacali

79304574

Date: 2024-12-24 01:49:14
Score: 4
Natty:
Report link

'image' => 'required_if:old_image,!=,null'

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

79304566

Date: 2024-12-24 01:43:12
Score: 2.5
Natty:
Report link

If clicking on an edit icon is not suppose to open the edit page, what should it do instead?

If the problem is that it does not send you to the correct edit page, you should use the pk argument in the edit_category in the views.py to select the right one. You may need to modify the edit_category.html before rendering it for each request.

P.S. I know I not suppose to ask for clarification here, but I CAN NOT WRITE COMMENTS UNTIL 50 REPUTATION!

Reasons:
  • RegEx Blacklisted phrase (1.5): 50 REPUTATION
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lubomyr Pryt

79304561

Date: 2024-12-24 01:37:12
Score: 3
Natty:
Report link

Thanks @zer00ne and @Alohci for your comments, both overflow-y: scroll and scrollbar-gutter: stable work for my use case.

Obligatory caniuse for the latter.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @zer00ne
  • User mentioned (0): @Alohci
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: maxcutlyp

79304552

Date: 2024-12-24 01:22:09
Score: 3.5
Natty:
Report link

I was told if I use Google services or Google Play store apps in Vancouver, BC I'd be beaten to death or have my head smashed in

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

79304545

Date: 2024-12-24 01:13:07
Score: 0.5
Natty:
Report link

The original poster might not see this, but hopefully anyone with the same question does.

I directly referenced the alias and it worked. My query was:

SELECT SUM(amt) AS to_assets FROM ... WERE ...;

My string that I input into the control source for the text box was 'to_assets', not '=to_assets', not '=[query_name]![to_assets]'

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: John McVickar

79304542

Date: 2024-12-24 01:08:06
Score: 1.5
Natty:
Report link

you just need to add a condition inside your forEach loop that checks if the row is hidden before processing it. The sheet.isRowHiddenByUser(rowIndex) method returns true if the row is hidden by the user. Modify your loop like this:

Add a check for sheet.isRowHiddenByUser(index + 2) (since your data starts at row 2) before updating the event. If the row is hidden, skip the update for that row.

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

79304539

Date: 2024-12-24 01:05:05
Score: 0.5
Natty:
Report link

As mentioned above, in order for my service under test to be correctly wired up to be Proxied, it needs to be annotated in the test as @Autowired.

And, in order to make my service @Autowired while still being able to mock a failure, I needed to change my dependencies from being @Autowired to using @SpyBean.

In addition, @MybatisTest is itself @Transactional, so that masks whether the rollback in my application code is actually working. So, I have fallen back to using @SpringBootTest.

@SpringBootTest
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
public class ThingServiceIntegrationTest extends AbstractPostgresJupiterTest {
    // NOTE: AbstractPostgresJupiterTest sets up a PostgreSQLContainer and initializes datasource properties

    @SpyBean
    private ThingMapper mapper;

    @SpyBean
    private ThingDao dao;

    @Autowired
    private ThingService service;


    @Test
    @Description("Should rollback on error")
    public void rollbackOnError() {
        final List<ThingRequest> createRequests = Stream.of(1, 3)
                .map(i -> generateThingRequest())
                .toList();
        final ThingRequest badRequest = createRequests.getLast().withName("Bad Request");
        final List<ThingRequest> all =
                Stream.concat(createRequests.stream(), Stream.of(badRequest)).toList();

        doThrow(new MyBadRequestException("bad")).when(dao)
                .createThing(argThat(thing -> thing.id().equals(badCreate.id())));

        assertThrows(MyBadRequestException.class, () -> thingService.createUpdateThings(all));

        // should rollback all inserts
        createRequests.forEach(req -> {
            assertTrue(dao.getByName(req.name()).isEmpty()); 
        });
    }
}

Finally, one other tweak I had to do was due to MyService having an @Autowired constructor (vs autowired fields). This seemed to cause problems for the @SpyBeans. The fix for this was to mark the constructor parameters as @Lazy.

With all these changes, I was able to use @Transactional instead of the transaction manager approach.

@Service
public class ThingService {
    private final ThingDao thingDao;

    @Autowired
    public ThingService(@Lazy final ThingDao dao) {
        this.thingDao = dao;
        this.txManager = txManager;
    }

    @Transactional(rollbackFor = Throwable.class)
    public void createOrUpdate(final List<ThingRequest> requests) {
        requests.forEach(c -> thingDao.createThing(ThingModel.fromCreateRequest(c)));
    }

    public void createUpdateThings(final List<ThingRequest> requests) throws ControllerBadRequestException {
        try {
            createOrUpdate(requests);
        } catch (final Throwable t) {
            logger.error("A database exception occurred during createUpdateThings", t);
            throw new MyBadRequestException(t);
        }
    }
}

Hope this is helpful for someone else.

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

79304534

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

For now my TLDR is to use Platform.io instead of the Arduino plugin.

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

79304528

Date: 2024-12-24 00:52:03
Score: 1
Natty:
Report link

You can define the mask with your 2 conditions and then use .loc:

x, y = 1, 5
mask = df["col1"].isin(["val2", "val3"]) & df.index.isin(range(x, y+1))
df.loc[mask, "col1"] = "val4"
display(df)

res

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

79304505

Date: 2024-12-24 00:14:56
Score: 0.5
Natty:
Report link

Is there a way to somehow configure twilio account, or use some parameters/verbs in twiML to use specific edge location for websocket connection?

No, the Media Stream feature of Twilio’s Programmable Voice does not support Edge Locations.

As of this writing, the only features listed within Programmable Voice that do support Edge Locations are the REST API, Sending SIP & Receiving SIP.

Reasons:
  • Blacklisted phrase (1): Is there a way
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • High reputation (-2):
Posted by: esqew